ecinc-cloud-wappaio 9.7.11 → 9.7.13

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.
@@ -33204,7 +33204,7 @@ var TextRecognition_PDFInjector = PDFInjector;
33204
33204
 
33205
33205
  /***/ }),
33206
33206
 
33207
- /***/ 42826:
33207
+ /***/ 53598:
33208
33208
  /***/ (function(__unused_webpack_module, __webpack_exports__, __webpack_require__) {
33209
33209
 
33210
33210
  "use strict";
@@ -39262,8 +39262,8 @@ var HandleIdea_component = (0,componentNormalizer/* default */.A)(
39262
39262
  )
39263
39263
 
39264
39264
  /* harmony default export */ var HandleIdea = (HandleIdea_component.exports);
39265
- ;// 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/IdeaInputBox.vue?vue&type=template&id=3f654826&scoped=true
39266
- var IdeaInputBoxvue_type_template_id_3f654826_scoped_true_render = function render() {
39265
+ ;// 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/IdeaInputBox.vue?vue&type=template&id=2509c9c6&scoped=true
39266
+ var IdeaInputBoxvue_type_template_id_2509c9c6_scoped_true_render = function render() {
39267
39267
  var _vm = this,
39268
39268
  _c = _vm._self._c;
39269
39269
  return _vm.submitHandle ? _c('div', {
@@ -39659,7 +39659,8 @@ var IdeaInputBoxvue_type_template_id_3f654826_scoped_true_render = function rend
39659
39659
  "append-to-body": true,
39660
39660
  "toolbar-btns": _vm.busiformBtns,
39661
39661
  "on-basic-form-before-open": _vm.onBasicFormBeforeOpen,
39662
- "on-basic-form-submited": _vm.onBasicFormSubmited
39662
+ "on-basic-form-submited": _vm.onBasicFormSubmited,
39663
+ "on-basic-form-closed": _vm.onBasicFormClosed
39663
39664
  },
39664
39665
  scopedSlots: _vm._u([{
39665
39666
  key: "default",
@@ -40035,7 +40036,7 @@ var IdeaInputBoxvue_type_template_id_3f654826_scoped_true_render = function rend
40035
40036
  }
40036
40037
  }, [_vm._v("确 定")])], 1)], 2)], 2) : _vm._e();
40037
40038
  };
40038
- var IdeaInputBoxvue_type_template_id_3f654826_scoped_true_staticRenderFns = [];
40039
+ var IdeaInputBoxvue_type_template_id_2509c9c6_scoped_true_staticRenderFns = [];
40039
40040
 
40040
40041
  ;// CONCATENATED MODULE: ./node_modules/babel-loader/lib/index.js??clonedRuleSet-40.use[0]!./node_modules/@vue/vue-loader-v15/lib/index.js??vue-loader-options!./packages/ecwapp/Wflowform/src/IdeaInputBox.vue?vue&type=script&lang=js
40041
40042
  function IdeaInputBoxvue_type_script_lang_js_typeof(o) { "@babel/helpers - typeof"; return IdeaInputBoxvue_type_script_lang_js_typeof = "function" == typeof Symbol && "symbol" == typeof Symbol.iterator ? function (o) { return typeof o; } : function (o) { return o && "function" == typeof Symbol && o.constructor === Symbol && o !== Symbol.prototype ? "symbol" : typeof o; }, IdeaInputBoxvue_type_script_lang_js_typeof(o); }
@@ -40370,6 +40371,10 @@ var IdeaInputBoxvue_type_script_lang_js_moment = __webpack_require__(95093);
40370
40371
  this.formVo = null;
40371
40372
  this.commonIdeaList.unshift($scope.vo.commonIdea);
40372
40373
  },
40374
+ onBasicFormClosed: function onBasicFormClosed($scope, vo, action) {
40375
+ this.formTitle = '';
40376
+ this.formVo = null;
40377
+ },
40373
40378
  onIdeaInputboxClick: function onIdeaInputboxClick(ideaLabel) {
40374
40379
  var _this7 = this;
40375
40380
  if (this.inputboxStyle !== 1 && this.tnIdeaPosition !== 2) return;
@@ -40558,9 +40563,9 @@ var IdeaInputBoxvue_type_script_lang_js_moment = __webpack_require__(95093);
40558
40563
  });
40559
40564
  ;// CONCATENATED MODULE: ./packages/ecwapp/Wflowform/src/IdeaInputBox.vue?vue&type=script&lang=js
40560
40565
  /* harmony default export */ var src_IdeaInputBoxvue_type_script_lang_js = (IdeaInputBoxvue_type_script_lang_js);
40561
- // 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/IdeaInputBox.vue?vue&type=style&index=0&id=3f654826&prod&scoped=true&lang=scss
40562
- var IdeaInputBoxvue_type_style_index_0_id_3f654826_prod_scoped_true_lang_scss = __webpack_require__(3064);
40563
- ;// CONCATENATED MODULE: ./packages/ecwapp/Wflowform/src/IdeaInputBox.vue?vue&type=style&index=0&id=3f654826&prod&scoped=true&lang=scss
40566
+ // 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/IdeaInputBox.vue?vue&type=style&index=0&id=2509c9c6&prod&scoped=true&lang=scss
40567
+ var IdeaInputBoxvue_type_style_index_0_id_2509c9c6_prod_scoped_true_lang_scss = __webpack_require__(95295);
40568
+ ;// CONCATENATED MODULE: ./packages/ecwapp/Wflowform/src/IdeaInputBox.vue?vue&type=style&index=0&id=2509c9c6&prod&scoped=true&lang=scss
40564
40569
 
40565
40570
  ;// CONCATENATED MODULE: ./packages/ecwapp/Wflowform/src/IdeaInputBox.vue
40566
40571
 
@@ -40573,11 +40578,11 @@ var IdeaInputBoxvue_type_style_index_0_id_3f654826_prod_scoped_true_lang_scss =
40573
40578
 
40574
40579
  var IdeaInputBox_component = (0,componentNormalizer/* default */.A)(
40575
40580
  src_IdeaInputBoxvue_type_script_lang_js,
40576
- IdeaInputBoxvue_type_template_id_3f654826_scoped_true_render,
40577
- IdeaInputBoxvue_type_template_id_3f654826_scoped_true_staticRenderFns,
40581
+ IdeaInputBoxvue_type_template_id_2509c9c6_scoped_true_render,
40582
+ IdeaInputBoxvue_type_template_id_2509c9c6_scoped_true_staticRenderFns,
40578
40583
  false,
40579
40584
  null,
40580
- "3f654826",
40585
+ "2509c9c6",
40581
40586
  null
40582
40587
 
40583
40588
  )
@@ -116367,7 +116372,7 @@ var UdmGenerator_UserModuleForm = UserModuleForm;
116367
116372
 
116368
116373
  /***/ }),
116369
116374
 
116370
- /***/ 26173:
116375
+ /***/ 34660:
116371
116376
  /***/ (function(__unused_webpack_module, __webpack_exports__, __webpack_require__) {
116372
116377
 
116373
116378
  "use strict";
@@ -117034,8 +117039,8 @@ var SideBar_component = (0,componentNormalizer/* default */.A)(
117034
117039
  )
117035
117040
 
117036
117041
  /* harmony default export */ var SideBar = (SideBar_component.exports);
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=46bbfc1a&scoped=true
117038
- var Centervue_type_template_id_46bbfc1a_scoped_true_render = function render() {
117042
+ ;// 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
117043
+ var Centervue_type_template_id_0ebbd5f8_scoped_true_render = function render() {
117039
117044
  var _vm = this,
117040
117045
  _c = _vm._self._c;
117041
117046
  return _c('el-scrollbar', {
@@ -117154,7 +117159,7 @@ var Centervue_type_template_id_46bbfc1a_scoped_true_render = function render() {
117154
117159
  }
117155
117160
  })], 1)], 1)]);
117156
117161
  };
117157
- var Centervue_type_template_id_46bbfc1a_scoped_true_staticRenderFns = [];
117162
+ var Centervue_type_template_id_0ebbd5f8_scoped_true_staticRenderFns = [];
117158
117163
 
117159
117164
  // EXTERNAL MODULE: ./node_modules/jquery/dist/jquery.js
117160
117165
  var jquery = __webpack_require__(74692);
@@ -119280,8 +119285,16 @@ var _require22 = __webpack_require__(53978),
119280
119285
  wflow.process.description = desc;
119281
119286
  wflow.process.chartData.descDiv = {};
119282
119287
  wflow.process.chartData.descDiv.height = descDiv.clientHeight;
119283
- wflow.process.chartData.descDiv.left = descDiv.offsetLeft;
119284
- wflow.process.chartData.descDiv.top = descDiv.offsetTop;
119288
+ if (descDiv.style.display !== 'none') {
119289
+ wflow.process.chartData.descDiv.left = descDiv.offsetLeft;
119290
+ wflow.process.chartData.descDiv.top = descDiv.offsetTop;
119291
+ } else {
119292
+ // 元素隐藏时offsetLeft/offsetTop为0,从关闭时存储的data属性中读取位置
119293
+ var savedLeft = descDiv.dataset.left;
119294
+ var savedTop = descDiv.dataset.top;
119295
+ if (savedLeft !== undefined) wflow.process.chartData.descDiv.left = parseInt(savedLeft);
119296
+ if (savedTop !== undefined) wflow.process.chartData.descDiv.top = parseInt(savedTop);
119297
+ }
119285
119298
  } else {
119286
119299
  wflow.process.description = '';
119287
119300
  delete wflow.process.chartData.descDiv;
@@ -119784,13 +119797,13 @@ var _require22 = __webpack_require__(53978),
119784
119797
  });
119785
119798
  ;// CONCATENATED MODULE: ./packages/ecwplus/WorkflowDesigner/src/components/Center/index.vue?vue&type=script&lang=js
119786
119799
  /* harmony default export */ var components_Centervue_type_script_lang_js = (Centervue_type_script_lang_js);
119787
- // 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=46bbfc1a&prod&scoped=true&lang=scss
119788
- var Centervue_type_style_index_0_id_46bbfc1a_prod_scoped_true_lang_scss = __webpack_require__(28652);
119789
- ;// CONCATENATED MODULE: ./packages/ecwplus/WorkflowDesigner/src/components/Center/index.vue?vue&type=style&index=0&id=46bbfc1a&prod&scoped=true&lang=scss
119800
+ // 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
119801
+ var Centervue_type_style_index_0_id_0ebbd5f8_prod_scoped_true_lang_scss = __webpack_require__(73537);
119802
+ ;// CONCATENATED MODULE: ./packages/ecwplus/WorkflowDesigner/src/components/Center/index.vue?vue&type=style&index=0&id=0ebbd5f8&prod&scoped=true&lang=scss
119790
119803
 
119791
- // 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=46bbfc1a&prod&lang=scss
119792
- var Centervue_type_style_index_1_id_46bbfc1a_prod_lang_scss = __webpack_require__(28996);
119793
- ;// CONCATENATED MODULE: ./packages/ecwplus/WorkflowDesigner/src/components/Center/index.vue?vue&type=style&index=1&id=46bbfc1a&prod&lang=scss
119804
+ // 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
119805
+ var Centervue_type_style_index_1_id_0ebbd5f8_prod_lang_scss = __webpack_require__(65089);
119806
+ ;// CONCATENATED MODULE: ./packages/ecwplus/WorkflowDesigner/src/components/Center/index.vue?vue&type=style&index=1&id=0ebbd5f8&prod&lang=scss
119794
119807
 
119795
119808
  ;// CONCATENATED MODULE: ./packages/ecwplus/WorkflowDesigner/src/components/Center/index.vue
119796
119809
 
@@ -119804,11 +119817,11 @@ var Centervue_type_style_index_1_id_46bbfc1a_prod_lang_scss = __webpack_require_
119804
119817
 
119805
119818
  var Center_component = (0,componentNormalizer/* default */.A)(
119806
119819
  components_Centervue_type_script_lang_js,
119807
- Centervue_type_template_id_46bbfc1a_scoped_true_render,
119808
- Centervue_type_template_id_46bbfc1a_scoped_true_staticRenderFns,
119820
+ Centervue_type_template_id_0ebbd5f8_scoped_true_render,
119821
+ Centervue_type_template_id_0ebbd5f8_scoped_true_staticRenderFns,
119809
119822
  false,
119810
119823
  null,
119811
- "46bbfc1a",
119824
+ "0ebbd5f8",
119812
119825
  null
119813
119826
 
119814
119827
  )
@@ -138420,24 +138433,36 @@ function getPathXyData(connection, thisConnect) {
138420
138433
  // 从svg path中获取同轴异向的两端stub,4种情况全处理
138421
138434
  if (firstEndpoints[3] === 1 && secondEndpoints[3] === -1) {
138422
138435
  // 下出上入
138423
- var lineData = paths[0].split(' ');
138424
- pathMaxY = parseInt(lineData[5]) - parseInt(lineData[2]);
138425
- pathMinY = -pathMaxY; // 同轴异向,两端 stub 相等
138436
+ if (!thisConnect || !thisConnect.pathMaxY) {
138437
+ var lineData = paths[0].split(' ');
138438
+ pathMaxY = parseInt(lineData[5]) - parseInt(lineData[2]);
138439
+ pathMinY = -pathMaxY; // 同轴异向,两端 stub 相等
138440
+ }
138426
138441
  } else if (firstEndpoints[3] === -1 && secondEndpoints[3] === 1) {
138427
138442
  // 上出下入
138428
- var _lineData = paths[0].split(' ');
138429
- pathMinY = parseInt(_lineData[2]) - parseInt(_lineData[5]);
138430
- pathMaxY = -pathMinY; // 同轴异向,两端 stub 相等
138443
+ if (!thisConnect || !thisConnect.pathMinY) {
138444
+ var _lineData = paths[0].split(' ');
138445
+ pathMinY = parseInt(_lineData[2]) - parseInt(_lineData[5]);
138446
+ pathMaxY = -pathMinY; // 同轴异向,两端 stub 相等
138447
+ }
138431
138448
  } else if (firstEndpoints[2] === 1 && secondEndpoints[2] === -1) {
138432
138449
  // 右出左入
138433
- var _lineData2 = paths[0].split(' ');
138434
- pathMaxX = parseInt(_lineData2[4]) - parseInt(_lineData2[1]);
138435
- pathMinX = -pathMaxX; // 同轴异向,两端 stub 相等
138450
+ if (!thisConnect || !thisConnect.pathMaxX) {
138451
+ var _lineData2 = paths[0].split(' ');
138452
+ var arcIdx = _lineData2.indexOf('A');
138453
+ var lastPtX = arcIdx > 0 ? parseInt(_lineData2[arcIdx - 2]) : parseInt(_lineData2[4]);
138454
+ pathMaxX = Math.abs(lastPtX - parseInt(_lineData2[1]));
138455
+ pathMinX = -pathMaxX;
138456
+ }
138436
138457
  } else if (firstEndpoints[2] === -1 && secondEndpoints[2] === 1) {
138437
138458
  // 左出右入
138438
- var _lineData3 = paths[0].split(' ');
138439
- pathMinX = parseInt(_lineData3[1]) - parseInt(_lineData3[4]);
138440
- pathMaxX = -pathMinX; // 同轴异向,两端 stub 相等
138459
+ if (!thisConnect || !thisConnect.pathMinX) {
138460
+ var _lineData3 = paths[0].split(' ');
138461
+ var arcIdx = _lineData3.indexOf('A');
138462
+ var lastPtX = arcIdx > 0 ? parseInt(_lineData3[arcIdx - 2]) : parseInt(_lineData3[4]);
138463
+ pathMinX = -Math.abs(lastPtX - parseInt(_lineData3[1]));
138464
+ pathMaxX = -pathMinX;
138465
+ }
138441
138466
  }
138442
138467
  } else if (linesCount >= 4) {
138443
138468
  if (firstEndpoints[2] === 1) {
@@ -138503,6 +138528,29 @@ function getPathXyData(connection, thisConnect) {
138503
138528
  }
138504
138529
  }
138505
138530
  }
138531
+ // 自环线已有thisConnect存储值时优先使用,避免SVG提取的+5偏移在session间累积
138532
+ var isSelfLoop = thisConnect && thisConnect.PageSourceId === thisConnect.PageTargetId;
138533
+ if (isSelfLoop) {
138534
+ // 同轴自环配对的path值相等,cross-axis则各自独立
138535
+ var crossAxis = firstEndpoints[2] !== 0 && secondEndpoints[3] !== 0 || firstEndpoints[3] !== 0 && secondEndpoints[2] !== 0;
138536
+ if (!crossAxis) {
138537
+ if (thisConnect.pathMinX || thisConnect.pathMaxX) {
138538
+ var storedX = thisConnect.pathMinX || thisConnect.pathMaxX;
138539
+ pathMinX = storedX;
138540
+ pathMaxX = storedX;
138541
+ }
138542
+ if (thisConnect.pathMinY || thisConnect.pathMaxY) {
138543
+ var storedY = thisConnect.pathMinY || thisConnect.pathMaxY;
138544
+ pathMinY = storedY;
138545
+ pathMaxY = storedY;
138546
+ }
138547
+ } else {
138548
+ if (thisConnect.pathMinX) pathMinX = thisConnect.pathMinX;
138549
+ if (thisConnect.pathMaxX) pathMaxX = thisConnect.pathMaxX;
138550
+ if (thisConnect.pathMinY) pathMinY = thisConnect.pathMinY;
138551
+ if (thisConnect.pathMaxY) pathMaxY = thisConnect.pathMaxY;
138552
+ }
138553
+ }
138506
138554
  return {
138507
138555
  linesCount: linesCount,
138508
138556
  pathMinX: pathMinX,
@@ -138513,6 +138561,38 @@ function getPathXyData(connection, thisConnect) {
138513
138561
  secondEndpoints: secondEndpoints
138514
138562
  };
138515
138563
  }
138564
+
138565
+ // ========== 三段线拖拽统一处理器 ==========
138566
+ // 处理同轴同向/同轴异向/自环三种子分支的stub和midpoint计算
138567
+ function handle3SegDrag(isNeg, absDist, minStub, isSameNode, isSameSide, totalDist, thisConnect, perpMin, perpMax) {
138568
+ var stub,
138569
+ dragMidpoint = 0.5,
138570
+ isOpposite = false,
138571
+ distance = isNeg ? -absDist : absDist;
138572
+ if (isSameNode) {
138573
+ var os = Math.abs(thisConnect.pathMinY) || Math.abs(thisConnect.pathMaxY);
138574
+ if (!os) os = Math.max(Math.max(Math.abs(perpMin), Math.abs(perpMax)) - 5, minStub);
138575
+ stub = [absDist, Math.max(os, minStub)];
138576
+ } else if (!isSameSide) {
138577
+ // 同轴异向:alwaysRespectStubs=false + 小stub + 动态midpoint控制折线位置
138578
+ var actMin = 30;
138579
+ var td = totalDist || 21;
138580
+ absDist = Math.min(Math.max(absDist, actMin), td - actMin);
138581
+ distance = isNeg ? -absDist : absDist;
138582
+ isOpposite = true;
138583
+ stub = [10, 10];
138584
+ var effDist = td - 20;
138585
+ dragMidpoint = effDist > 0 ? (absDist - 10) / effDist : 0.5;
138586
+ } else {
138587
+ stub = [absDist, minStub];
138588
+ }
138589
+ return {
138590
+ stub: stub,
138591
+ dragMidpoint: dragMidpoint,
138592
+ isOpposite: isOpposite,
138593
+ distance: distance
138594
+ };
138595
+ }
138516
138596
  function dragLine(_this, connection, thisConnect) {
138517
138597
  var distance = 0;
138518
138598
 
@@ -138520,12 +138600,19 @@ function dragLine(_this, connection, thisConnect) {
138520
138600
  jquery__WEBPACK_IMPORTED_MODULE_0___default()(document).bind('mousedown', function (ev) {
138521
138601
  var paths = connection.connector.getPathData().split(',');
138522
138602
  var lineCount = paths.length;
138523
- if (lineCount < 2) {
138603
+ // 同轴异向检测(提前到lineCount检查之前,以便重定向lineCount=1的路径)
138604
+ var firstEndpoints = connection.endpoints[0].anchor.orientation;
138605
+ var secondEndpoints = connection.endpoints[1].anchor.orientation;
138606
+ var isSameNode = thisConnect.PageSourceId === thisConnect.PageTargetId;
138607
+ var isSameAxisDiffDir = !isSameNode && (firstEndpoints[0] !== 0 && secondEndpoints[0] !== 0 && firstEndpoints[0] !== secondEndpoints[0] || firstEndpoints[1] !== 0 && secondEndpoints[1] !== 0 && firstEndpoints[1] !== secondEndpoints[1]);
138608
+ if (lineCount < 2 && !isSameAxisDiffDir) {
138524
138609
  jquery__WEBPACK_IMPORTED_MODULE_0___default()(document).unbind('mousedown');
138525
138610
  return;
138526
138611
  }
138527
138612
  _this.dragLineObj.disX = ev.pageX;
138528
138613
  _this.dragLineObj.disY = ev.pageY;
138614
+ _this.dragLineObj.initCW = undefined;
138615
+ _this.dragLineObj.initCH = undefined;
138529
138616
  var xyData = getPathXyData(connection, thisConnect);
138530
138617
  var initialMaxX = xyData.pathMaxX; // 获取路径的初始stub值
138531
138618
  var initialMaxY = xyData.pathMaxY; // 获取路径的初始stub值
@@ -138535,9 +138622,10 @@ function dragLine(_this, connection, thisConnect) {
138535
138622
  var canvasMarginLeft = 210; // 绘图区左边距
138536
138623
  var canvasMarginTop = 112; // 绘图区右边距
138537
138624
 
138538
- var firstEndpoints = connection.endpoints[0].anchor.orientation;
138539
- var secondEndpoints = connection.endpoints[1].anchor.orientation;
138540
- var isSameNode = thisConnect.PageSourceId === thisConnect.PageTargetId;
138625
+ // 同轴异向3段线强制使用3段拖拽逻辑(不论逗号分隔后的段数)
138626
+ if (isSameAxisDiffDir) {
138627
+ lineCount = 3;
138628
+ }
138541
138629
 
138542
138630
  // 检测是否可拖拉,仅位于路径canvas四边的路径可拖拉,射出、射入路径不可拖拉
138543
138631
  if (firstEndpoints[0] !== 0) {
@@ -138598,98 +138686,148 @@ function dragLine(_this, connection, thisConnect) {
138598
138686
  var x = ev.pageX;
138599
138687
  var y = ev.pageY;
138600
138688
  var stub = [0, 0];
138601
- if (lineCount <= 3) {
138689
+ var _dragMidpoint = 0.5;
138690
+ var handledIn4, hSameSide, vSameSide; // 显式声明,避免var提升的隐式行为
138691
+
138692
+ // 跨轴自环线独立拖拽处理器(完全绕过lineCount逻辑)
138693
+ var isCrossAxisSL = isSameNode && (firstEndpoints[0] !== 0 && secondEndpoints[1] !== 0 || firstEndpoints[1] !== 0 && secondEndpoints[0] !== 0);
138694
+ if (isCrossAxisSL) {
138695
+ var incDx = x - (_this.dragLineObj.prevX || _this.dragLineObj.disX);
138696
+ var incDy = y - (_this.dragLineObj.prevY || _this.dragLineObj.disY);
138697
+ _this.dragLineObj.prevX = x;
138698
+ _this.dragLineObj.prevY = y;
138699
+ var hDirSL = firstEndpoints[0] || secondEndpoints[0];
138700
+ var vDirSL = firstEndpoints[1] || secondEndpoints[1];
138701
+ var minSL = 30;
138702
+ var curHSL = Math.abs(thisConnect.pathMinX) || Math.abs(thisConnect.pathMaxX);
138703
+ var curVSL = Math.abs(thisConnect.pathMinY) || Math.abs(thisConnect.pathMaxY);
138704
+ if (!curHSL) {
138705
+ 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;
138706
+ }
138707
+ if (!curVSL) {
138708
+ 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;
138709
+ }
138710
+ var newHSL = curHSL,
138711
+ newVSL = curVSL;
138712
+ var hOutSL = hDirSL === 1 ? incDx > 0 : incDx < 0;
138713
+ var vOutSL = vDirSL === 1 ? incDy > 0 : incDy < 0;
138714
+ if (Math.abs(incDx) >= Math.abs(incDy)) {
138715
+ if (hOutSL) newHSL = curHSL + Math.abs(incDx);else newHSL = Math.max(curHSL - Math.abs(incDx), minSL);
138716
+ } else {
138717
+ if (vOutSL) newVSL = curVSL + Math.abs(incDy);else newVSL = Math.max(curVSL - Math.abs(incDy), minSL);
138718
+ }
138719
+ var srcVSL = firstEndpoints[0] === 0;
138720
+ stub = srcVSL ? [Math.max(newVSL, minSL), Math.max(newHSL, minSL)] : [Math.max(newHSL, minSL), Math.max(newVSL, minSL)];
138721
+ if (hDirSL === -1) {
138722
+ thisConnect.pathMinX = -Math.max(newHSL, minSL);
138723
+ thisConnect.pathMaxX = -Math.max(newHSL, minSL);
138724
+ } else if (hDirSL === 1) {
138725
+ thisConnect.pathMinX = Math.max(newHSL, minSL);
138726
+ thisConnect.pathMaxX = Math.max(newHSL, minSL);
138727
+ }
138728
+ if (vDirSL === -1) {
138729
+ thisConnect.pathMinY = -Math.max(newVSL, minSL);
138730
+ thisConnect.pathMaxY = -Math.max(newVSL, minSL);
138731
+ } else if (vDirSL === 1) {
138732
+ thisConnect.pathMinY = Math.max(newVSL, minSL);
138733
+ thisConnect.pathMaxY = Math.max(newVSL, minSL);
138734
+ }
138735
+ } else if (lineCount <= 3) {
138602
138736
  var isSameSide = firstEndpoints[0] !== 0 && firstEndpoints[0] === secondEndpoints[0] || firstEndpoints[1] !== 0 && firstEndpoints[1] === secondEndpoints[1];
138603
138737
  var minStub = isSameSide || isSameNode ? 50 : 10;
138738
+ // 同轴异向时,从节点CSS位置计算真实锚点间距(避免存储的等值stub导致totalDist锁死)
138739
+ if (isSameAxisDiffDir) {
138740
+ var srcEl = jquery__WEBPACK_IMPORTED_MODULE_0___default()('#' + thisConnect.PageSourceId);
138741
+ var tgtEl = jquery__WEBPACK_IMPORTED_MODULE_0___default()('#' + thisConnect.PageTargetId);
138742
+ if (firstEndpoints[0] !== 0) {
138743
+ // 水平方向:totalDist = 目标锚点X - 源锚点X
138744
+ 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)));
138745
+ }
138746
+ if (firstEndpoints[1] !== 0) {
138747
+ // 垂直方向:totalDist = 目标锚点Y - 源锚点Y
138748
+ 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)));
138749
+ }
138750
+ }
138604
138751
  if (firstEndpoints[0] === -1) {
138605
138752
  // 水平射线,左出
138606
138753
  distance = -(Math.abs(initialMinX) - (x - _this.dragLineObj.disX));
138607
- if (distance > -minStub) {
138608
- distance = -minStub;
138609
- }
138754
+ if (distance > -minStub) distance = -minStub;
138610
138755
  thisConnect.pathMinX = distance;
138611
- if (isSameNode) {
138612
- stub = [-distance, 50];
138613
- } else if (!isSameSide) {
138614
- // 同轴异向:两端stub同步更新
138756
+ var r = handle3SegDrag(true, -distance, minStub, isSameNode, isSameSide, totalDistH, thisConnect, initialMinY, initialMaxY);
138757
+ stub = r.stub;
138758
+ _dragMidpoint = r.dragMidpoint;
138759
+ if (r.isOpposite) {
138760
+ distance = r.distance;
138761
+ thisConnect.pathMinX = distance;
138615
138762
  thisConnect.pathMaxX = -distance;
138616
- stub = [-distance, -distance];
138617
- } else {
138618
- stub = [-distance, minStub];
138619
138763
  }
138620
138764
  } else if (firstEndpoints[0] === 1) {
138621
138765
  // 水平射线,右出
138622
138766
  distance = Math.abs(initialMaxX) + (x - _this.dragLineObj.disX);
138623
- if (distance < minStub) {
138624
- distance = minStub;
138625
- }
138767
+ if (distance < minStub) distance = minStub;
138626
138768
  thisConnect.pathMaxX = distance;
138627
- if (isSameNode) {
138628
- stub = [distance, 50];
138629
- } else if (!isSameSide) {
138630
- // 同轴异向:两端stub同步更新
138769
+ var r = handle3SegDrag(false, distance, minStub, isSameNode, isSameSide, totalDistH, thisConnect, initialMinY, initialMaxY);
138770
+ stub = r.stub;
138771
+ _dragMidpoint = r.dragMidpoint;
138772
+ if (r.isOpposite) {
138773
+ distance = r.distance;
138774
+ thisConnect.pathMaxX = distance;
138631
138775
  thisConnect.pathMinX = -distance;
138632
- stub = [distance, distance];
138633
- } else {
138634
- stub = [distance, minStub];
138635
138776
  }
138636
138777
  } else if (firstEndpoints[1] === -1) {
138637
138778
  // 垂直射线,上出
138638
138779
  distance = -(Math.abs(initialMinY) - (y - _this.dragLineObj.disY));
138639
- if (distance > -minStub) {
138640
- distance = -minStub;
138641
- }
138780
+ if (distance > -minStub) distance = -minStub;
138642
138781
  thisConnect.pathMinY = distance;
138643
- if (isSameNode) {
138644
- stub = [-distance, 50];
138645
- } else if (!isSameSide) {
138646
- // 同轴异向:两端stub同步更新
138782
+ var r = handle3SegDrag(true, -distance, minStub, isSameNode, isSameSide, totalDistV, thisConnect, initialMinX, initialMaxX);
138783
+ stub = r.stub;
138784
+ _dragMidpoint = r.dragMidpoint;
138785
+ if (r.isOpposite) {
138786
+ distance = r.distance;
138787
+ thisConnect.pathMinY = distance;
138647
138788
  thisConnect.pathMaxY = -distance;
138648
- stub = [-distance, -distance];
138649
- } else {
138650
- stub = [-distance, minStub];
138651
138789
  }
138652
138790
  } else if (firstEndpoints[1] === 1) {
138653
138791
  // 垂直射线,下出
138654
138792
  distance = Math.abs(initialMaxY) + (y - _this.dragLineObj.disY);
138655
- if (distance < minStub) {
138656
- distance = minStub;
138657
- }
138793
+ if (distance < minStub) distance = minStub;
138658
138794
  thisConnect.pathMaxY = distance;
138659
- if (isSameNode) {
138660
- stub = [distance, 50];
138661
- } else if (!isSameSide) {
138662
- // 同轴异向:两端stub同步更新
138795
+ var r = handle3SegDrag(false, distance, minStub, isSameNode, isSameSide, totalDistV, thisConnect, initialMinX, initialMaxX);
138796
+ stub = r.stub;
138797
+ _dragMidpoint = r.dragMidpoint;
138798
+ if (r.isOpposite) {
138799
+ distance = r.distance;
138800
+ thisConnect.pathMaxY = distance;
138663
138801
  thisConnect.pathMinY = -distance;
138664
- stub = [distance, distance];
138665
- } else {
138666
- stub = [distance, minStub];
138667
138802
  }
138668
138803
  }
138669
138804
  } else if (lineCount === 4) {
138805
+ var minStub4 = isSameNode ? 30 : 10;
138806
+ var handledIn4 = false;
138670
138807
  if (firstEndpoints[0] === -1) {
138671
138808
  // 左出
138672
138809
  if (Math.abs(canvasMarginTop + canvasTop - _this.dragLineObj.disY) <= 10) {
138673
138810
  // 顶部射入,靠近终点上下拖拉
138674
138811
  distance = -(Math.abs(initialMinY) - (y - _this.dragLineObj.disY - scrollTop));
138675
- if (distance > -10) {
138676
- distance = -10;
138812
+ if (distance > -minStub4) {
138813
+ distance = -minStub4;
138677
138814
  }
138678
138815
  thisConnect.pathMinY = distance;
138816
+ handledIn4 = true;
138679
138817
  stub = [Math.abs(initialMinX), -distance];
138680
138818
  } else if (Math.abs(canvasMarginTop + canvasTop + canvasHeight - _this.dragLineObj.disY - scrollTop) <= 10) {
138681
138819
  // 底部射入,靠近终点上下拖拉
138682
138820
  distance = Math.abs(initialMaxY) + (y - _this.dragLineObj.disY - scrollTop);
138683
- if (distance < 10) {
138684
- distance = 10;
138821
+ if (distance < minStub4) {
138822
+ distance = minStub4;
138685
138823
  }
138686
138824
  thisConnect.pathMaxY = distance;
138687
138825
  stub = [Math.abs(initialMinX), distance];
138688
138826
  } else if (Math.abs(canvasMarginLeft + canvasLeft - _this.dragLineObj.disX) <= 10) {
138689
138827
  // 顶部射入或底部射入,靠近起点左侧左右拖拉
138690
138828
  distance = -(Math.abs(initialMinX) - (x - _this.dragLineObj.disX));
138691
- if (distance > -10) {
138692
- distance = -10;
138829
+ if (distance > -minStub4) {
138830
+ distance = -minStub4;
138693
138831
  }
138694
138832
  thisConnect.pathMinX = distance;
138695
138833
  stub = [-distance, Math.abs(secondEndpoints[1] === -1 ? initialMinY : initialMaxY)];
@@ -138699,26 +138837,29 @@ function dragLine(_this, connection, thisConnect) {
138699
138837
  if (Math.abs(canvasMarginTop + canvasTop - _this.dragLineObj.disY) <= 10) {
138700
138838
  // 顶部射入,靠近终点上下拖拉
138701
138839
  distance = -(Math.abs(initialMinY) - (y - _this.dragLineObj.disY - scrollTop));
138702
- if (distance > -10) {
138703
- distance = -10;
138840
+ if (distance > -minStub4) {
138841
+ distance = -minStub4;
138704
138842
  }
138705
138843
  thisConnect.pathMinY = distance;
138844
+ handledIn4 = true;
138706
138845
  stub = [Math.abs(initialMaxX), -distance];
138707
138846
  } else if (Math.abs(canvasMarginTop + canvasTop + canvasHeight - _this.dragLineObj.disY - scrollTop) <= 10) {
138708
138847
  // 底部射入,靠近终点上下拖拉
138709
138848
  distance = Math.abs(initialMaxY) + (y - _this.dragLineObj.disY - scrollTop);
138710
- if (distance < 10) {
138711
- distance = 10;
138849
+ if (distance < minStub4) {
138850
+ distance = minStub4;
138712
138851
  }
138713
138852
  thisConnect.pathMaxY = distance;
138853
+ handledIn4 = true;
138714
138854
  stub = [Math.abs(initialMaxX), distance];
138715
138855
  } else if (Math.abs(canvasMarginLeft + canvasLeft + canvasWidth - _this.dragLineObj.disX) <= 10) {
138716
138856
  // 顶部射入或底部射入,靠近起点右侧左右拖拉
138717
138857
  distance = Math.abs(initialMaxX) + (x - _this.dragLineObj.disX);
138718
- if (distance < 10) {
138719
- distance = 10;
138858
+ if (distance < minStub4) {
138859
+ distance = minStub4;
138720
138860
  }
138721
138861
  thisConnect.pathMaxX = distance;
138862
+ handledIn4 = true;
138722
138863
  stub = [distance, Math.abs(secondEndpoints[1] === -1 ? initialMinY : initialMaxY)];
138723
138864
  }
138724
138865
  } else if (firstEndpoints[1] === 1) {
@@ -138726,26 +138867,29 @@ function dragLine(_this, connection, thisConnect) {
138726
138867
  if (Math.abs(canvasMarginTop + canvasTop + canvasHeight - _this.dragLineObj.disY - scrollTop) <= 10) {
138727
138868
  // 左侧射入或右侧射入,靠起点底部上下拖拉
138728
138869
  distance = Math.abs(initialMaxY) + (y - _this.dragLineObj.disY);
138729
- if (distance < 10) {
138730
- distance = 10;
138870
+ if (distance < minStub4) {
138871
+ distance = minStub4;
138731
138872
  }
138732
138873
  thisConnect.pathMaxY = distance;
138874
+ handledIn4 = true;
138733
138875
  stub = [distance, Math.abs(secondEndpoints[0] === -1 ? initialMinX : initialMaxX)];
138734
138876
  } else if (Math.abs(canvasMarginLeft + canvasLeft - _this.dragLineObj.disX) <= 10) {
138735
138877
  // 左侧射入,靠近终点左侧拖左右拉
138736
138878
  distance = -(Math.abs(initialMinX) - (x - _this.dragLineObj.disX));
138737
- if (distance > -10) {
138738
- distance = -10;
138879
+ if (distance > -minStub4) {
138880
+ distance = -minStub4;
138739
138881
  }
138740
138882
  thisConnect.pathMinX = distance;
138883
+ handledIn4 = true;
138741
138884
  stub = [Math.abs(initialMaxY), -distance];
138742
138885
  } else if (Math.abs(canvasMarginLeft + canvasLeft + canvasWidth - _this.dragLineObj.disX) <= 10) {
138743
138886
  // 右侧射入,靠近终点右侧拖左右拉
138744
138887
  distance = Math.abs(initialMaxX) + (x - _this.dragLineObj.disX);
138745
- if (distance < 10) {
138746
- distance = 10;
138888
+ if (distance < minStub4) {
138889
+ distance = minStub4;
138747
138890
  }
138748
138891
  thisConnect.pathMaxX = distance;
138892
+ handledIn4 = true;
138749
138893
  stub = [Math.abs(initialMaxY), distance];
138750
138894
  }
138751
138895
  } else if (firstEndpoints[1] === -1) {
@@ -138753,30 +138897,65 @@ function dragLine(_this, connection, thisConnect) {
138753
138897
  if (Math.abs(canvasMarginTop + canvasTop - _this.dragLineObj.disY) <= 10) {
138754
138898
  // 左侧射入或右侧射入,靠起点顶部上下拖拉
138755
138899
  distance = -(Math.abs(initialMinY) - (y - _this.dragLineObj.disY));
138756
- if (distance > -10) {
138757
- distance = -10;
138900
+ if (distance > -minStub4) {
138901
+ distance = -minStub4;
138758
138902
  }
138759
138903
  thisConnect.pathMinY = distance;
138760
138904
  stub = [-distance, Math.abs(secondEndpoints[0] === -1 ? initialMinX : initialMaxX)];
138761
138905
  } else if (Math.abs(canvasMarginLeft + canvasLeft - _this.dragLineObj.disX) <= 10) {
138762
138906
  // 左侧射入,靠近终点左侧拖左右拉
138763
138907
  distance = -(Math.abs(initialMinX) - (x - _this.dragLineObj.disX));
138764
- if (distance > -10) {
138765
- distance = -10;
138908
+ if (distance > -minStub4) {
138909
+ distance = -minStub4;
138766
138910
  }
138767
138911
  thisConnect.pathMinX = distance;
138912
+ handledIn4 = true;
138768
138913
  stub = [Math.abs(initialMinY), -distance];
138769
138914
  } else if (Math.abs(canvasMarginLeft + canvasLeft + canvasWidth - _this.dragLineObj.disX) <= 10) {
138770
138915
  // 右侧射入,靠近终点右侧拖左右拉
138771
138916
  distance = Math.abs(initialMaxX) + (x - _this.dragLineObj.disX);
138772
- if (distance < 10) {
138773
- distance = 10;
138917
+ if (distance < minStub4) {
138918
+ distance = minStub4;
138774
138919
  }
138775
138920
  thisConnect.pathMaxX = distance;
138921
+ handledIn4 = true;
138776
138922
  stub = [Math.abs(initialMinY), distance];
138777
138923
  }
138778
138924
  }
138925
+ // 跨轴自环线边检测不匹配时,直接用鼠标delta计算两轴stub
138926
+ // 注:firstEndpoints为2元素orientation数组[dx,dy],仅索引[0]/[1]有效
138927
+ if (isSameNode && !handledIn4) {
138928
+ var dx2 = x - _this.dragLineObj.disX;
138929
+ var dy2 = y - _this.dragLineObj.disY;
138930
+ var curH = firstEndpoints[0] !== 0 ? Math.max(Math.abs(firstEndpoints[0] === -1 ? initialMinX : initialMaxX) - 5, minStub4) : minStub4;
138931
+ var curV = firstEndpoints[1] !== 0 ? Math.max(Math.abs(firstEndpoints[1] === -1 ? initialMinY : initialMaxY) - 5, minStub4) : minStub4;
138932
+ var newH = curH,
138933
+ newV = curV;
138934
+ if (Math.abs(dx2) >= Math.abs(dy2)) {
138935
+ newH = dx2 < 0 ? curH + Math.abs(dx2) : Math.max(curH - dx2, minStub4);
138936
+ } else {
138937
+ newV = dy2 < 0 ? curV + Math.abs(dy2) : Math.max(curV - dy2, minStub4);
138938
+ }
138939
+ var srcV = firstEndpoints[0] === 0;
138940
+ stub = srcV ? [Math.max(newV, minStub4), Math.max(newH, minStub4)] : [Math.max(newH, minStub4), Math.max(newV, minStub4)];
138941
+ // path存储使用有效索引[0]/[1]判断锚点方向
138942
+ if (firstEndpoints[0] === -1 || secondEndpoints[0] === -1) {
138943
+ thisConnect.pathMinX = -Math.max(newH, minStub4);
138944
+ thisConnect.pathMaxX = -Math.max(newH, minStub4);
138945
+ } else if (firstEndpoints[0] === 1 || secondEndpoints[0] === 1) {
138946
+ thisConnect.pathMinX = Math.max(newH, minStub4);
138947
+ thisConnect.pathMaxX = Math.max(newH, minStub4);
138948
+ }
138949
+ if (firstEndpoints[1] === -1 || secondEndpoints[1] === -1) {
138950
+ thisConnect.pathMinY = -Math.max(newV, minStub4);
138951
+ thisConnect.pathMaxY = -Math.max(newV, minStub4);
138952
+ } else if (firstEndpoints[1] === 1 || secondEndpoints[1] === 1) {
138953
+ thisConnect.pathMinY = Math.max(newV, minStub4);
138954
+ thisConnect.pathMaxY = Math.max(newV, minStub4);
138955
+ }
138956
+ }
138779
138957
  } else if (lineCount === 5) {
138958
+ var minStub5 = isSameNode ? 30 : 10;
138780
138959
  if (firstEndpoints[0] !== 0) {
138781
138960
  // 水平射线,左右拖拉
138782
138961
  var hSameSide = firstEndpoints[0] === secondEndpoints[0];
@@ -138786,27 +138965,29 @@ function dragLine(_this, connection, thisConnect) {
138786
138965
  if (firstEndpoints[0] === -1) {
138787
138966
  // 水平射线,左出右入,靠近起点左侧拖拉
138788
138967
  distance = -(Math.abs(initialMinX) - (x - _this.dragLineObj.disX));
138789
- if (distance > -10) {
138790
- distance = -10;
138968
+ if (distance > -minStub5) {
138969
+ distance = -minStub5;
138791
138970
  }
138792
138971
  thisConnect.pathMinX = distance;
138793
138972
  if (!hSameSide) {
138794
138973
  thisConnect.pathMaxX = -distance;
138795
138974
  stub = [-distance, -distance];
138796
138975
  } else {
138976
+ handledIn4 = true;
138797
138977
  stub = [-distance, Math.abs(initialMaxX)];
138798
138978
  }
138799
138979
  } else if (firstEndpoints[0] === 1) {
138800
138980
  // 水平射线,右出左入,靠近终点左侧拖拉
138801
138981
  distance = -(Math.abs(initialMinX) - (x - _this.dragLineObj.disX));
138802
- if (distance > -10) {
138803
- distance = -10;
138982
+ if (distance > -minStub5) {
138983
+ distance = -minStub5;
138804
138984
  }
138805
138985
  thisConnect.pathMinX = distance;
138806
138986
  if (!hSameSide) {
138807
138987
  thisConnect.pathMaxX = -distance;
138808
138988
  stub = [-distance, -distance];
138809
138989
  } else {
138990
+ handledIn4 = true;
138810
138991
  stub = [Math.abs(initialMaxX), -distance];
138811
138992
  }
138812
138993
  }
@@ -138816,8 +138997,8 @@ function dragLine(_this, connection, thisConnect) {
138816
138997
  if (firstEndpoints[0] === -1) {
138817
138998
  // 水平射线,左出右入,靠近终点右侧拖拉
138818
138999
  distance = Math.abs(initialMaxX) + (x - _this.dragLineObj.disX);
138819
- if (distance < 10) {
138820
- distance = 10;
139000
+ if (distance < minStub5) {
139001
+ distance = minStub5;
138821
139002
  }
138822
139003
  thisConnect.pathMaxX = distance;
138823
139004
  if (!hSameSide) {
@@ -138829,8 +139010,8 @@ function dragLine(_this, connection, thisConnect) {
138829
139010
  } else if (firstEndpoints[0] === 1) {
138830
139011
  // 水平射线,右出左入,靠近起点右侧拖拉
138831
139012
  distance = Math.abs(initialMaxX) + (x - _this.dragLineObj.disX);
138832
- if (distance < 10) {
138833
- distance = 10;
139013
+ if (distance < minStub5) {
139014
+ distance = minStub5;
138834
139015
  }
138835
139016
  thisConnect.pathMaxX = distance;
138836
139017
  if (!hSameSide) {
@@ -138850,27 +139031,29 @@ function dragLine(_this, connection, thisConnect) {
138850
139031
  if (firstEndpoints[1] === -1) {
138851
139032
  // 垂直射线,上出下入,靠近起点上下拖拉
138852
139033
  distance = -(Math.abs(initialMinY) - (y - _this.dragLineObj.disY));
138853
- if (distance > -10) {
138854
- distance = -10;
139034
+ if (distance > -minStub5) {
139035
+ distance = -minStub5;
138855
139036
  }
138856
139037
  thisConnect.pathMinY = distance;
138857
139038
  if (!vSameSide) {
138858
139039
  thisConnect.pathMaxY = -distance;
138859
139040
  stub = [-distance, -distance];
138860
139041
  } else {
139042
+ handledIn4 = true;
138861
139043
  stub = [-distance, Math.abs(initialMaxY)];
138862
139044
  }
138863
139045
  } else if (firstEndpoints[1] === 1) {
138864
139046
  // 垂直射线,下出上入,靠近终点上下拖拉
138865
139047
  distance = -(Math.abs(initialMaxY) - (y - _this.dragLineObj.disY));
138866
- if (distance > -10) {
138867
- distance = -10;
139048
+ if (distance > -minStub5) {
139049
+ distance = -minStub5;
138868
139050
  }
138869
139051
  thisConnect.pathMinY = distance;
138870
139052
  if (!vSameSide) {
138871
139053
  thisConnect.pathMaxY = -distance;
138872
139054
  stub = [-distance, -distance];
138873
139055
  } else {
139056
+ handledIn4 = true;
138874
139057
  stub = [Math.abs(initialMaxY), -distance];
138875
139058
  }
138876
139059
  }
@@ -138880,21 +139063,22 @@ function dragLine(_this, connection, thisConnect) {
138880
139063
  if (firstEndpoints[1] === -1) {
138881
139064
  // 垂直射线,上出下入,靠近终点上下拖拉
138882
139065
  distance = Math.abs(initialMaxY) + (y - _this.dragLineObj.disY);
138883
- if (distance < 10) {
138884
- distance = 10;
139066
+ if (distance < minStub5) {
139067
+ distance = minStub5;
138885
139068
  }
138886
139069
  thisConnect.pathMaxY = distance;
138887
139070
  if (!vSameSide) {
138888
139071
  thisConnect.pathMinY = -distance;
138889
139072
  stub = [distance, distance];
138890
139073
  } else {
139074
+ handledIn4 = true;
138891
139075
  stub = [Math.abs(initialMinY), distance];
138892
139076
  }
138893
139077
  } else if (firstEndpoints[1] === 1) {
138894
139078
  // 垂直射线,下出下入,靠起点上下拖拉
138895
139079
  distance = Math.abs(initialMaxY) + (y - _this.dragLineObj.disY);
138896
- if (distance < 10) {
138897
- distance = 10;
139080
+ if (distance < minStub5) {
139081
+ distance = minStub5;
138898
139082
  }
138899
139083
  thisConnect.pathMaxY = distance;
138900
139084
  if (!vSameSide) {
@@ -138906,37 +139090,215 @@ function dragLine(_this, connection, thisConnect) {
138906
139090
  }
138907
139091
  }
138908
139092
  }
139093
+ } else {
139094
+ // lineCount >= 6(跨轴自环线等4段线以上),按轴独立拖拽,水平/垂直互不影响
139095
+ // 注:firstEndpoints为2元素orientation数组[dx,dy],仅索引[0]/[1]有效
139096
+ if (isSameNode) {
139097
+ var minStub6 = 30;
139098
+ var dx1 = x - _this.dragLineObj.disX;
139099
+ var dy1 = y - _this.dragLineObj.disY;
139100
+ // 从thisConnect取已存储的stub(无+5偏移);首次拖拽则按锚点方向选正确initial值扣除gap偏移
139101
+ var curHs = Math.abs(thisConnect.pathMinX) || Math.abs(thisConnect.pathMaxX);
139102
+ var curVs = Math.abs(thisConnect.pathMinY) || Math.abs(thisConnect.pathMaxY);
139103
+ if (!curHs) {
139104
+ curHs = firstEndpoints[0] !== 0 ? Math.max(Math.abs(firstEndpoints[0] === -1 ? initialMinX : initialMaxX) - 5, minStub6) : minStub6;
139105
+ }
139106
+ if (!curVs) {
139107
+ curVs = firstEndpoints[1] !== 0 ? Math.max(Math.abs(firstEndpoints[1] === -1 ? initialMinY : initialMaxY) - 5, minStub6) : minStub6;
139108
+ }
139109
+ if (Math.abs(dx1) >= Math.abs(dy1)) {
139110
+ // 水平拖拽:只更新水平stub,垂直保持curVs不变
139111
+ var s = curHs;
139112
+ if (dx1 < 0) {
139113
+ s = curHs + Math.abs(dx1);
139114
+ } else {
139115
+ s = Math.max(curHs - dx1, minStub6);
139116
+ }
139117
+ if (firstEndpoints[0] === -1) {
139118
+ thisConnect.pathMinX = -s;
139119
+ thisConnect.pathMaxX = -s;
139120
+ } else if (firstEndpoints[0] === 1) {
139121
+ thisConnect.pathMinX = s;
139122
+ thisConnect.pathMaxX = s;
139123
+ }
139124
+ // 首次拖拽时初始化垂直方向存储
139125
+ if (!thisConnect.pathMinY && !thisConnect.pathMaxY) {
139126
+ var vdir = secondEndpoints[1] || firstEndpoints[1];
139127
+ if (vdir === -1) {
139128
+ thisConnect.pathMinY = -curVs;
139129
+ thisConnect.pathMaxY = -curVs;
139130
+ } else {
139131
+ thisConnect.pathMinY = curVs;
139132
+ thisConnect.pathMaxY = curVs;
139133
+ }
139134
+ }
139135
+ stub = [Math.max(s, minStub6), Math.max(curVs, minStub6)];
139136
+ } else {
139137
+ // 垂直拖拽:只更新垂直stub,水平保持curHs不变
139138
+ var s = curVs;
139139
+ if (dy1 < 0) {
139140
+ s = curVs + Math.abs(dy1);
139141
+ } else {
139142
+ s = Math.max(curVs - dy1, minStub6);
139143
+ }
139144
+ if (firstEndpoints[1] === -1) {
139145
+ thisConnect.pathMinY = -s;
139146
+ thisConnect.pathMaxY = -s;
139147
+ } else if (firstEndpoints[1] === 1) {
139148
+ thisConnect.pathMinY = s;
139149
+ thisConnect.pathMaxY = s;
139150
+ }
139151
+ // 首次拖拽时初始化水平方向存储
139152
+ if (!thisConnect.pathMinX && !thisConnect.pathMaxX) {
139153
+ var hdir = secondEndpoints[0] || firstEndpoints[0];
139154
+ if (hdir === -1) {
139155
+ thisConnect.pathMinX = -curHs;
139156
+ thisConnect.pathMaxX = -curHs;
139157
+ } else {
139158
+ thisConnect.pathMinX = curHs;
139159
+ thisConnect.pathMaxX = curHs;
139160
+ }
139161
+ }
139162
+ stub = [Math.max(curHs, minStub6), Math.max(s, minStub6)];
139163
+ }
139164
+ }
139165
+ }
139166
+ // 跨轴自环线(lineCount === 4 或 >= 6):用thisConnect存储值修正非拖拽轴stub
139167
+ // 避免lineCount === 4块中Math.abs(initialMaxX)取到画布边界而非真实stub
139168
+ // 注:firstEndpoints为2元素orientation数组,仅索引[0]/[1]有效
139169
+ if (isSameNode && !(hSameSide || vSameSide)) {
139170
+ var hasHAnchor = firstEndpoints[0] !== 0 || secondEndpoints[0] !== 0;
139171
+ var hasVAnchor = firstEndpoints[1] !== 0 || secondEndpoints[1] !== 0;
139172
+ if (hasHAnchor && hasVAnchor) {
139173
+ // Determine which axis was dragged by checking which path value was updated
139174
+ var srcDragged = thisConnect.pathMinX !== undefined && thisConnect.pathMinX !== 0 || thisConnect.pathMaxX !== undefined && thisConnect.pathMaxX !== 0;
139175
+ var srcWasV = firstEndpoints[0] === 0;
139176
+ if (srcDragged) {
139177
+ // Horizontal was dragged → fix vertical stub
139178
+ var vs = Math.abs(thisConnect.pathMinY) || Math.abs(thisConnect.pathMaxY);
139179
+ if (!vs) {
139180
+ if (firstEndpoints[1] === -1 || secondEndpoints[1] === -1) {
139181
+ vs = Math.max(Math.abs(initialMinY) - 5, minStub4 || minStub5 || 30);
139182
+ } else if (firstEndpoints[1] === 1 || secondEndpoints[1] === 1) {
139183
+ vs = Math.max(Math.abs(initialMaxY) - 5, minStub4 || minStub5 || 30);
139184
+ } else {
139185
+ vs = minStub4 || minStub5 || 30;
139186
+ }
139187
+ }
139188
+ stub[srcWasV ? 0 : 1] = Math.max(vs, minStub4 || minStub5 || 30);
139189
+ // 存储修正后的值到thisConnect,防止下个session re-extract画布值
139190
+ var fixedVs = Math.max(vs, minStub4 || minStub5 || 30);
139191
+ if (firstEndpoints[1] === -1 || secondEndpoints[1] === -1) {
139192
+ thisConnect.pathMinY = -fixedVs;
139193
+ thisConnect.pathMaxY = -fixedVs;
139194
+ } else if (firstEndpoints[1] === 1 || secondEndpoints[1] === 1) {
139195
+ thisConnect.pathMinY = fixedVs;
139196
+ thisConnect.pathMaxY = fixedVs;
139197
+ }
139198
+ } else {
139199
+ // Vertical was dragged → fix horizontal stub
139200
+ var hs = Math.abs(thisConnect.pathMinX) || Math.abs(thisConnect.pathMaxX);
139201
+ if (!hs) {
139202
+ if (firstEndpoints[0] === -1 || secondEndpoints[0] === -1) {
139203
+ hs = Math.max(Math.abs(initialMinX) - 5, minStub4 || minStub5 || 30);
139204
+ } else if (firstEndpoints[0] === 1 || secondEndpoints[0] === 1) {
139205
+ hs = Math.max(Math.abs(initialMaxX) - 5, minStub4 || minStub5 || 30);
139206
+ } else {
139207
+ hs = minStub4 || minStub5 || 30;
139208
+ }
139209
+ }
139210
+ stub[srcWasV ? 1 : 0] = Math.max(hs, minStub4 || minStub5 || 30);
139211
+ // 存储修正后的值到thisConnect
139212
+ var fixedHs = Math.max(hs, minStub4 || minStub5 || 30);
139213
+ if (firstEndpoints[0] === -1 || secondEndpoints[0] === -1) {
139214
+ thisConnect.pathMinX = -fixedHs;
139215
+ thisConnect.pathMaxX = -fixedHs;
139216
+ } else if (firstEndpoints[0] === 1 || secondEndpoints[0] === 1) {
139217
+ thisConnect.pathMinX = fixedHs;
139218
+ thisConnect.pathMaxX = fixedHs;
139219
+ }
139220
+ }
139221
+ }
138909
139222
  }
138910
- // 垂直锚点组合2段线:源端延伸全距离,目标端不延伸(自环连接除外)
138911
- var respectStubs = false;
138912
- if (!isSameNode) {
138913
- if (firstEndpoints[0] !== 0 && secondEndpoints[1] !== 0) {
138914
- // 水平出 + 垂直入(如左出上入、右出下入)
138915
- stub = [Math.abs(initialMaxX), 0];
138916
- respectStubs = true;
138917
- } else if (firstEndpoints[1] !== 0 && secondEndpoints[0] !== 0) {
138918
- // 垂直出 + 水平入(如上出左入、下出右入)
138919
- stub = [Math.abs(initialMaxY), 0];
138920
- respectStubs = true;
139223
+ // 自环线同侧连接:用拖拽端的值同时赋给两端,保持stub对称
139224
+ if (isSameNode && (hSameSide || vSameSide)) {
139225
+ var activeStub;
139226
+ if (firstEndpoints[0] !== 0) {
139227
+ // 水平锚点
139228
+ if (Math.abs(canvasMarginLeft + canvasLeft - _this.dragLineObj.disX) <= 10) {
139229
+ activeStub = Math.abs(stub[0]); // 拖拽左侧边
139230
+ } else {
139231
+ activeStub = Math.abs(stub[1]); // 拖拽右侧边
139232
+ }
139233
+ stub = [activeStub, activeStub];
139234
+ if (firstEndpoints[0] === -1) {
139235
+ thisConnect.pathMinX = -activeStub;
139236
+ thisConnect.pathMaxX = -activeStub;
139237
+ } else {
139238
+ thisConnect.pathMinX = activeStub;
139239
+ thisConnect.pathMaxX = activeStub;
139240
+ }
139241
+ } else {
139242
+ // 垂直锚点
139243
+ if (Math.abs(canvasMarginTop + canvasTop - _this.dragLineObj.disY - scrollTop) <= 10) {
139244
+ activeStub = Math.abs(stub[0]); // 拖拽顶部边
139245
+ } else {
139246
+ activeStub = Math.abs(stub[1]); // 拖拽底部边
139247
+ }
139248
+ stub = [activeStub, activeStub];
139249
+ if (firstEndpoints[1] === -1) {
139250
+ thisConnect.pathMinY = -activeStub;
139251
+ thisConnect.pathMaxY = -activeStub;
139252
+ } else {
139253
+ thisConnect.pathMinY = activeStub;
139254
+ thisConnect.pathMaxY = activeStub;
139255
+ }
138921
139256
  }
138922
139257
  }
139258
+ // 垂直锚点组合2段线:源端延伸全距离,目标端不延伸(自环连接除外)
139259
+ var respectStubs = false;
139260
+ if (isSameNode) {
139261
+ // 自环连接始终严格保持stub值,与createPathLine创建行为一致
139262
+ // 跨轴自环线(lineCount不匹配3/4/5分支时stub为[0,0]),使用初始路径值兜底
139263
+ if (stub[0] === 0 && stub[1] === 0) {
139264
+ var s0 = Math.abs(initialMinX) || Math.abs(initialMaxX) || 50;
139265
+ var s1 = Math.abs(initialMinY) || Math.abs(initialMaxY) || 50;
139266
+ stub = [Math.max(s0, 30), Math.max(s1, 30)];
139267
+ }
139268
+ respectStubs = true;
139269
+ } else if (firstEndpoints[0] !== 0 && secondEndpoints[1] !== 0) {
139270
+ // 水平出 + 垂直入(如左出上入、右出下入)
139271
+ stub = [Math.abs(initialMaxX), 0];
139272
+ respectStubs = true;
139273
+ } else if (firstEndpoints[1] !== 0 && secondEndpoints[0] !== 0) {
139274
+ // 垂直出 + 水平入(如上出左入、下出右入)
139275
+ stub = [Math.abs(initialMaxY), 0];
139276
+ respectStubs = true;
139277
+ } else if (firstEndpoints[0] !== 0 && secondEndpoints[0] !== 0) {
139278
+ // 水平出 + 水平入(同轴异向,如右出左入):使用midpoint控制折线,不用alwaysRespectStubs
139279
+ respectStubs = false;
139280
+ } else if (firstEndpoints[1] !== 0 && secondEndpoints[1] !== 0) {
139281
+ // 垂直出 + 垂直入(同轴异向,如下出上入):使用midpoint控制折线,不用alwaysRespectStubs
139282
+ respectStubs = false;
139283
+ }
139284
+ var mp = isSameAxisDiffDir ? _dragMidpoint : respectStubs ? isSameNode ? 0.5 : 0 : 0.5;
138923
139285
  connection.setConnector(['Flowchart', {
138924
139286
  stub: stub,
138925
139287
  gap: 5,
138926
139288
  cornerRadius: 5,
138927
139289
  alwaysRespectStubs: respectStubs,
138928
- midpoint: respectStubs ? 0 : 0.5
138929
- }]);
138930
- connection.addOverlay(['Arrow', {
138931
- width: 10,
138932
- length: 10,
138933
- location: 1
139290
+ midpoint: mp
138934
139291
  }]);
138935
139292
  });
138936
139293
 
138937
139294
  // 鼠标释放
138938
139295
  jquery__WEBPACK_IMPORTED_MODULE_0___default()(document).bind('mouseup', function (ev) {
138939
139296
  setMoveCursor(false);
139297
+ connection.addOverlay(['Arrow', {
139298
+ width: 10,
139299
+ length: 10,
139300
+ location: 1
139301
+ }]);
138940
139302
  jquery__WEBPACK_IMPORTED_MODULE_0___default()(document).unbind('mousedown');
138941
139303
  jquery__WEBPACK_IMPORTED_MODULE_0___default()(document).unbind('mousemove');
138942
139304
  jquery__WEBPACK_IMPORTED_MODULE_0___default()(document).unbind('mouseup');
@@ -139317,6 +139679,30 @@ function createConnect(conn, connector, anchors) {
139317
139679
  }
139318
139680
  return a;
139319
139681
  }
139682
+
139683
+ // ========== 辅助函数:同侧stub提取 ==========
139684
+ // 处理4种同轴同向组合(左左、右右、上上、下下),返回stub数组或null
139685
+ function computeSameSideStub(anchors, pathMinX, pathMaxX, pathMinY, pathMaxY) {
139686
+ if (anchors[0][2] === -1 && anchors[1][2] === -1) {
139687
+ var s0 = Math.abs(pathMinX) || 50;
139688
+ var s1 = Math.abs(pathMaxX) || 50;
139689
+ return [Math.max(s0, 30), Math.max(s1, 30)];
139690
+ } else if (anchors[0][2] === 1 && anchors[1][2] === 1) {
139691
+ var s0 = Math.abs(pathMaxX) || 50;
139692
+ var s1 = Math.abs(pathMinX) || 50;
139693
+ return [Math.max(s0, 30), Math.max(s1, 30)];
139694
+ } else if (anchors[0][3] === -1 && anchors[1][3] === -1) {
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
+ } else if (anchors[0][3] === 1 && anchors[1][3] === 1) {
139699
+ // 下出上入:pathMinY=源端stub,pathMaxY=目标端stub
139700
+ var s0 = Math.abs(pathMinY) || 50;
139701
+ var s1 = Math.abs(pathMaxY) || 50;
139702
+ return [Math.max(s0, 30), Math.max(s1, 30)];
139703
+ }
139704
+ return null;
139705
+ }
139320
139706
  function createPathLine(connectsArr) {
139321
139707
  for (var j = 0; j < connectsArr.length; j++) {
139322
139708
  // console.log(connectsArr[j].label, JSON.stringify(connectsArr[j]), connectsArr[j])
@@ -139340,22 +139726,18 @@ function createPathLine(connectsArr) {
139340
139726
  // 自环连接:minStub=50,必须在isDiffAxis之前判断(自环可能跨轴)
139341
139727
  stub = [50, 50];
139342
139728
  if (connectsArr[j].linesCount && connectsArr[j].linesCount >= 3) {
139343
- if (anchors[0][2] === -1 && anchors[1][2] === -1) {
139344
- var s0 = Math.abs(connectsArr[j].pathMinX) || 50;
139345
- var s1 = Math.abs(connectsArr[j].pathMaxX) || 50;
139346
- stub = [Math.max(s0, 50), Math.max(s1, 50)];
139347
- } else if (anchors[0][2] === 1 && anchors[1][2] === 1) {
139348
- var s0 = Math.abs(connectsArr[j].pathMaxX) || 50;
139349
- var s1 = Math.abs(connectsArr[j].pathMinX) || 50;
139350
- stub = [Math.max(s0, 50), Math.max(s1, 50)];
139351
- } else if (anchors[0][3] === -1 && anchors[1][3] === -1) {
139352
- var s0 = Math.abs(connectsArr[j].pathMinY) || 50;
139353
- var s1 = Math.abs(connectsArr[j].pathMaxY) || 50;
139354
- stub = [Math.max(s0, 50), Math.max(s1, 50)];
139355
- } else if (anchors[0][3] === 1 && anchors[1][3] === 1) {
139356
- var s0 = Math.abs(connectsArr[j].pathMaxY) || 50;
139357
- var s1 = Math.abs(connectsArr[j].pathMinY) || 50;
139358
- stub = [Math.max(s0, 50), Math.max(s1, 50)];
139729
+ var sameStub = computeSameSideStub(anchors, connectsArr[j].pathMinX, connectsArr[j].pathMaxX, connectsArr[j].pathMinY, connectsArr[j].pathMaxY);
139730
+ if (sameStub) {
139731
+ stub = sameStub;
139732
+ } else {
139733
+ // 跨轴自环线(如左出上入):取各轴有效path值,minStub=50
139734
+ var absMinX = Math.abs(connectsArr[j].pathMinX) || 0;
139735
+ var absMaxX = Math.abs(connectsArr[j].pathMaxX) || 0;
139736
+ var absMinY = Math.abs(connectsArr[j].pathMinY) || 0;
139737
+ var absMaxY = Math.abs(connectsArr[j].pathMaxY) || 0;
139738
+ var hs = Math.max(absMinX, absMaxX, 30);
139739
+ var vs = Math.max(absMinY, absMaxY, 30);
139740
+ stub = [Math.max(hs, 30), Math.max(vs, 30)];
139359
139741
  }
139360
139742
  }
139361
139743
  alwaysRespectStubs = true;
@@ -139370,67 +139752,46 @@ function createPathLine(connectsArr) {
139370
139752
  // 同侧锚点(不含自环):使用保存的path值,minStub=50保证U型结构
139371
139753
  stub = [50, 50];
139372
139754
  if (connectsArr[j].linesCount && connectsArr[j].linesCount >= 3) {
139373
- if (anchors[0][2] === -1 && anchors[1][2] === -1) {
139374
- var s0 = Math.abs(connectsArr[j].pathMinX) || 50;
139375
- var s1 = Math.abs(connectsArr[j].pathMaxX) || 50;
139376
- stub = [Math.max(s0, 50), Math.max(s1, 50)];
139377
- } else if (anchors[0][2] === 1 && anchors[1][2] === 1) {
139378
- var s0 = Math.abs(connectsArr[j].pathMaxX) || 50;
139379
- var s1 = Math.abs(connectsArr[j].pathMinX) || 50;
139380
- stub = [Math.max(s0, 50), Math.max(s1, 50)];
139381
- } else if (anchors[0][3] === -1 && anchors[1][3] === -1) {
139382
- var s0 = Math.abs(connectsArr[j].pathMinY) || 50;
139383
- var s1 = Math.abs(connectsArr[j].pathMaxY) || 50;
139384
- stub = [Math.max(s0, 50), Math.max(s1, 50)];
139385
- } else if (anchors[0][3] === 1 && anchors[1][3] === 1) {
139386
- var s0 = Math.abs(connectsArr[j].pathMaxY) || 50;
139387
- var s1 = Math.abs(connectsArr[j].pathMinY) || 50;
139388
- stub = [Math.max(s0, 50), Math.max(s1, 50)];
139389
- }
139755
+ var sameStub = computeSameSideStub(anchors, connectsArr[j].pathMinX, connectsArr[j].pathMaxX, connectsArr[j].pathMinY, connectsArr[j].pathMaxY);
139756
+ if (sameStub) stub = sameStub;
139390
139757
  }
139391
139758
  } else if (isSameAxisDiffDir) {
139392
- // 同轴异向:minStub=10,任意一端stub为0或NaN时触发CSS精确计算
139393
- if (anchors[0][2] === -1) {
139394
- stub = [Math.abs(connectsArr[j].pathMinX), Math.abs(connectsArr[j].pathMaxX)];
139395
- } else if (anchors[0][2] === 1) {
139396
- stub = [Math.abs(connectsArr[j].pathMaxX), Math.abs(connectsArr[j].pathMinX)];
139397
- } else if (anchors[0][3] === -1) {
139398
- stub = [Math.abs(connectsArr[j].pathMinY), Math.abs(connectsArr[j].pathMaxY)];
139399
- } else if (anchors[0][3] === 1) {
139400
- stub = [Math.abs(connectsArr[j].pathMaxY), Math.abs(connectsArr[j].pathMinY)];
139401
- }
139402
-
139403
- // 任意一端stub为0或NaN(旧数据):使用CSS坐标精确计算,确保水平段在两节点中间
139404
- if (isNaN(stub[0]) || stub[0] === 0 || isNaN(stub[1]) || stub[1] === 0) {
139405
- var _sourceNode = jquery__WEBPACK_IMPORTED_MODULE_0___default()('#' + connectsArr[j].PageSourceId);
139406
- var targetNode = jquery__WEBPACK_IMPORTED_MODULE_0___default()('#' + connectsArr[j].PageTargetId);
139407
- var srcTop = parseInt(_sourceNode.css('top')) || 0;
139408
- var srcLeft = parseInt(_sourceNode.css('left')) || 0;
139409
- var srcW = _sourceNode.outerWidth() || 0;
139410
- var srcH = _sourceNode.outerHeight() || 0;
139411
- var tgtTop = parseInt(targetNode.css('top')) || 0;
139412
- var tgtLeft = parseInt(targetNode.css('left')) || 0;
139413
- var tgtW = targetNode.outerWidth() || 0;
139414
- var tgtH = targetNode.outerHeight() || 0;
139415
- if (anchors[0][2] !== 0) {
139416
- // 水平方向(左出右入、右出左入)
139417
- var srcAnchorX = srcLeft + srcW * anchors[0][0];
139418
- var tgtAnchorX = tgtLeft + tgtW * anchors[1][0];
139419
- var midX = (srcAnchorX + tgtAnchorX) / 2;
139420
- stub[0] = Math.abs(midX - srcAnchorX);
139421
- stub[1] = Math.abs(tgtAnchorX - midX);
139422
- } else if (anchors[0][3] !== 0) {
139423
- // 垂直方向(上出下入、下出上入)
139424
- var srcAnchorY = srcTop + srcH * anchors[0][1];
139425
- var tgtAnchorY = tgtTop + tgtH * anchors[1][1];
139426
- var midY = (srcAnchorY + tgtAnchorY) / 2;
139427
- stub[0] = Math.abs(midY - srcAnchorY);
139428
- stub[1] = Math.abs(tgtAnchorY - midY);
139429
- }
139430
- }
139431
- if (isNaN(stub[0]) || stub[0] === 0) stub[0] = 10;
139432
- if (isNaN(stub[1]) || stub[1] === 0) stub[1] = stub[0];
139433
- alwaysRespectStubs = true;
139759
+ // 同轴异向:小stub + alwaysRespectStubs=false + 动态midpoint控制折线位置
139760
+ stub = [10, 10];
139761
+ var _sourceNode = jquery__WEBPACK_IMPORTED_MODULE_0___default()('#' + connectsArr[j].PageSourceId);
139762
+ var targetNode = jquery__WEBPACK_IMPORTED_MODULE_0___default()('#' + connectsArr[j].PageTargetId);
139763
+ var srcTop = parseInt(_sourceNode.css('top')) || 0;
139764
+ var srcLeft = parseInt(_sourceNode.css('left')) || 0;
139765
+ var srcW = _sourceNode.outerWidth() || 0;
139766
+ var srcH = _sourceNode.outerHeight() || 0;
139767
+ var tgtTop = parseInt(targetNode.css('top')) || 0;
139768
+ var tgtLeft = parseInt(targetNode.css('left')) || 0;
139769
+ var tgtW = targetNode.outerWidth() || 0;
139770
+ var tgtH = targetNode.outerHeight() || 0;
139771
+ if (anchors[0][2] !== 0) {
139772
+ // 水平方向(左出右入、右出左入)
139773
+ var srcAnchorX = srcLeft + srcW * anchors[0][0];
139774
+ var tgtAnchorX = tgtLeft + tgtW * anchors[1][0];
139775
+ var totalDistX = Math.abs(tgtAnchorX - srcAnchorX);
139776
+ // 从存储的pathMaxX获取折线距离,无有效值时取中点
139777
+ var foldDist = Math.abs(connectsArr[j].pathMaxX) || Math.abs(connectsArr[j].pathMinX);
139778
+ if (!foldDist || isNaN(foldDist)) foldDist = totalDistX / 2;
139779
+ // stub=10时需扣除stub偏移:midpoint = (foldDist - stub) / (totalDist - 2*stub)
139780
+ var effDist = totalDistX - 20;
139781
+ midpoint = effDist > 0 ? (foldDist - 10) / effDist : 0.5;
139782
+ } else if (anchors[0][3] !== 0) {
139783
+ // 垂直方向(上出下入、下出上入)
139784
+ var srcAnchorY = srcTop + srcH * anchors[0][1];
139785
+ var tgtAnchorY = tgtTop + tgtH * anchors[1][1];
139786
+ var totalDistY = Math.abs(tgtAnchorY - srcAnchorY);
139787
+ var foldDist = Math.abs(connectsArr[j].pathMaxY) || Math.abs(connectsArr[j].pathMinY);
139788
+ if (!foldDist || isNaN(foldDist)) foldDist = totalDistY / 2;
139789
+ // stub=10时需扣除stub偏移:midpoint = (foldDist - stub) / (totalDist - 2*stub)
139790
+ var effDist = totalDistY - 20;
139791
+ midpoint = effDist > 0 ? (foldDist - 10) / effDist : 0.5;
139792
+ }
139793
+ midpoint = Math.max(0, Math.min(1, midpoint));
139794
+ // alwaysRespectStubs保持false(默认值),使opposite分支使用midpoint参数控制折线
139434
139795
  } else if (connectsArr[j].linesCount >= 4) {
139435
139796
  // 其他4段线:使用保存的path值
139436
139797
  stub = [10, 10];
@@ -141281,7 +141642,11 @@ var showProcessDesc = function showProcessDesc(desc, containerHeight, containerL
141281
141642
  scope: 'desc'
141282
141643
  });
141283
141644
  jquery__WEBPACK_IMPORTED_MODULE_0___default()('.process-desc-close').click(function () {
141284
- document.querySelector('.process-desc-container').style.display = 'none';
141645
+ var descContainer = document.querySelector('.process-desc-container');
141646
+ // 隐藏前将当前位置存入data属性,以便保存时能读取到
141647
+ descContainer.dataset.left = descContainer.offsetLeft;
141648
+ descContainer.dataset.top = descContainer.offsetTop;
141649
+ descContainer.style.display = 'none';
141285
141650
  });
141286
141651
  };
141287
141652
  var Transform = {
@@ -165832,7 +166197,7 @@ ___CSS_LOADER_EXPORT___.push([module.id, ".udm-ideaLable{vertical-align:top!impo
165832
166197
 
165833
166198
  /***/ }),
165834
166199
 
165835
- /***/ 56850:
166200
+ /***/ 11141:
165836
166201
  /***/ (function(module, __webpack_exports__, __webpack_require__) {
165837
166202
 
165838
166203
  "use strict";
@@ -165846,7 +166211,7 @@ __webpack_require__.r(__webpack_exports__);
165846
166211
 
165847
166212
  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()));
165848
166213
  // Module
165849
- ___CSS_LOADER_EXPORT___.push([module.id, ".idea-show-scope[data-v-3f654826]{padding-top:10px}.idea-inputbox[data-v-3f654826],.idea-show-scope .el-select[data-v-3f654826]{width:100%}[data-v-3f654826] .idea-inputbox-attach{width:100%;padding-top:10px}[data-v-3f654826] .idea-inputbox-attach .el-upload--text{width:100%;text-align:right}[data-v-3f654826] .idea-inputbox-attach .el-button{border:0;padding-left:6px;padding-right:6px}[data-v-3f654826] .idea-inputbox-attach .el-button .svg-icon{font-size:12px}[data-v-3f654826] .idea-inputbox-attach .el-link{margin-top:-3px}[data-v-3f654826] .idea-inputbox-attach .el-col-4{font-size:13px;font-weight:600;line-height:32px}[data-v-3f654826] .idea-inputbox-attach .el-col-20>div{height:24px;line-height:24px}[data-v-3f654826] .idea-inputbox-attach .attach-row{padding-top:5px}[data-v-3f654826] .idea-inputbox-attach .attach-row .attach-info{width:100%;line-height:30px}[data-v-3f654826] .idea-inputbox-attach .attach-row .attach-info .attach-name{margin-top:0;max-width:calc(100% - 90px);float:left;overflow:hidden;text-overflow:ellipsis;display:-webkit-box;-webkit-box-orient:vertical;-webkit-line-clamp:2}[data-v-3f654826] .idea-inputbox-attach .sidebar-area-title{float:left;font-weight:600;line-height:24px;margin-left:-10px;padding:4px 10px}[data-v-3f654826] .idea-inputbox-attach .sidebar-area-title+div{float:right}[data-v-3f654826] .idea-attach-one .el-upload--text,[data-v-3f654826] .idea-inputbox-attach .sidebar-area-attach .attach-info{width:100%!important}", ""]);
166214
+ ___CSS_LOADER_EXPORT___.push([module.id, ".idea-show-scope[data-v-2509c9c6]{padding-top:10px}.idea-inputbox[data-v-2509c9c6],.idea-show-scope .el-select[data-v-2509c9c6]{width:100%}[data-v-2509c9c6] .idea-inputbox-attach{width:100%;padding-top:10px}[data-v-2509c9c6] .idea-inputbox-attach .el-upload--text{width:100%;text-align:right}[data-v-2509c9c6] .idea-inputbox-attach .el-button{border:0;padding-left:6px;padding-right:6px}[data-v-2509c9c6] .idea-inputbox-attach .el-button .svg-icon{font-size:12px}[data-v-2509c9c6] .idea-inputbox-attach .el-link{margin-top:-3px}[data-v-2509c9c6] .idea-inputbox-attach .el-col-4{font-size:13px;font-weight:600;line-height:32px}[data-v-2509c9c6] .idea-inputbox-attach .el-col-20>div{height:24px;line-height:24px}[data-v-2509c9c6] .idea-inputbox-attach .attach-row{padding-top:5px}[data-v-2509c9c6] .idea-inputbox-attach .attach-row .attach-info{width:100%;line-height:30px}[data-v-2509c9c6] .idea-inputbox-attach .attach-row .attach-info .attach-name{margin-top:0;max-width:calc(100% - 90px);float:left;overflow:hidden;text-overflow:ellipsis;display:-webkit-box;-webkit-box-orient:vertical;-webkit-line-clamp:2}[data-v-2509c9c6] .idea-inputbox-attach .sidebar-area-title{float:left;font-weight:600;line-height:24px;margin-left:-10px;padding:4px 10px}[data-v-2509c9c6] .idea-inputbox-attach .sidebar-area-title+div{float:right}[data-v-2509c9c6] .idea-attach-one .el-upload--text,[data-v-2509c9c6] .idea-inputbox-attach .sidebar-area-attach .attach-info{width:100%!important}", ""]);
165850
166215
  // Exports
165851
166216
  /* harmony default export */ __webpack_exports__["default"] = (___CSS_LOADER_EXPORT___);
165852
166217
 
@@ -167911,7 +168276,7 @@ ___CSS_LOADER_EXPORT___.push([module.id, ".setting .header[data-v-8cadfe0a]{widt
167911
168276
 
167912
168277
  /***/ }),
167913
168278
 
167914
- /***/ 10138:
168279
+ /***/ 43879:
167915
168280
  /***/ (function(module, __webpack_exports__, __webpack_require__) {
167916
168281
 
167917
168282
  "use strict";
@@ -167925,14 +168290,14 @@ __webpack_require__.r(__webpack_exports__);
167925
168290
 
167926
168291
  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()));
167927
168292
  // Module
167928
- ___CSS_LOADER_EXPORT___.push([module.id, "[data-v-46bbfc1a] .el-scrollbar__wrap{overflow-x:auto}#center[data-v-46bbfc1a]{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-46bbfc1a]{position:relative;margin:-15px -10px;z-index:4000;display:none}#center .insert-node-btn[data-v-46bbfc1a]{position:fixed;margin:-15px -10px;z-index:4000;display:none}li[data-v-46bbfc1a],ul[data-v-46bbfc1a]{list-style:none}", ""]);
168293
+ ___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}", ""]);
167929
168294
  // Exports
167930
168295
  /* harmony default export */ __webpack_exports__["default"] = (___CSS_LOADER_EXPORT___);
167931
168296
 
167932
168297
 
167933
168298
  /***/ }),
167934
168299
 
167935
- /***/ 78094:
168300
+ /***/ 80803:
167936
168301
  /***/ (function(module, __webpack_exports__, __webpack_require__) {
167937
168302
 
167938
168303
  "use strict";
@@ -262113,19 +262478,19 @@ var update = add("7f239c60", content, true, {"sourceMap":false,"shadowMode":fals
262113
262478
 
262114
262479
  /***/ }),
262115
262480
 
262116
- /***/ 3064:
262481
+ /***/ 95295:
262117
262482
  /***/ (function(module, __unused_webpack_exports, __webpack_require__) {
262118
262483
 
262119
262484
  // style-loader: Adds some css to the DOM by adding a <style> tag
262120
262485
 
262121
262486
  // load the styles
262122
- var content = __webpack_require__(56850);
262487
+ var content = __webpack_require__(11141);
262123
262488
  if(content.__esModule) content = content.default;
262124
262489
  if(typeof content === 'string') content = [[module.id, content, '']];
262125
262490
  if(content.locals) module.exports = content.locals;
262126
262491
  // add the styles to the DOM
262127
262492
  var add = (__webpack_require__(99548)/* ["default"] */ .A)
262128
- var update = add("75ff2247", content, true, {"sourceMap":false,"shadowMode":false});
262493
+ var update = add("0df13d3c", content, true, {"sourceMap":false,"shadowMode":false});
262129
262494
 
262130
262495
  /***/ }),
262131
262496
 
@@ -263697,35 +264062,35 @@ var update = add("0ef0df88", content, true, {"sourceMap":false,"shadowMode":fals
263697
264062
 
263698
264063
  /***/ }),
263699
264064
 
263700
- /***/ 28652:
264065
+ /***/ 73537:
263701
264066
  /***/ (function(module, __unused_webpack_exports, __webpack_require__) {
263702
264067
 
263703
264068
  // style-loader: Adds some css to the DOM by adding a <style> tag
263704
264069
 
263705
264070
  // load the styles
263706
- var content = __webpack_require__(10138);
264071
+ var content = __webpack_require__(43879);
263707
264072
  if(content.__esModule) content = content.default;
263708
264073
  if(typeof content === 'string') content = [[module.id, content, '']];
263709
264074
  if(content.locals) module.exports = content.locals;
263710
264075
  // add the styles to the DOM
263711
264076
  var add = (__webpack_require__(99548)/* ["default"] */ .A)
263712
- var update = add("3a6d492a", content, true, {"sourceMap":false,"shadowMode":false});
264077
+ var update = add("5228d882", content, true, {"sourceMap":false,"shadowMode":false});
263713
264078
 
263714
264079
  /***/ }),
263715
264080
 
263716
- /***/ 28996:
264081
+ /***/ 65089:
263717
264082
  /***/ (function(module, __unused_webpack_exports, __webpack_require__) {
263718
264083
 
263719
264084
  // style-loader: Adds some css to the DOM by adding a <style> tag
263720
264085
 
263721
264086
  // load the styles
263722
- var content = __webpack_require__(78094);
264087
+ var content = __webpack_require__(80803);
263723
264088
  if(content.__esModule) content = content.default;
263724
264089
  if(typeof content === 'string') content = [[module.id, content, '']];
263725
264090
  if(content.locals) module.exports = content.locals;
263726
264091
  // add the styles to the DOM
263727
264092
  var add = (__webpack_require__(99548)/* ["default"] */ .A)
263728
- var update = add("2c53a235", content, true, {"sourceMap":false,"shadowMode":false});
264093
+ var update = add("d8266c68", content, true, {"sourceMap":false,"shadowMode":false});
263729
264094
 
263730
264095
  /***/ }),
263731
264096
 
@@ -285987,87 +286352,87 @@ var asyncComponents = [
285987
286352
  }],
285988
286353
  // ========== ecwapp/Wflowform 工作流表单子组件 → chunk: wflow-form ==========
285989
286354
  ['Attachment', function () {
285990
- return Promise.resolve(/* import() eager */).then(__webpack_require__.bind(__webpack_require__, 42826)).then(function (m) {
286355
+ return Promise.resolve(/* import() eager */).then(__webpack_require__.bind(__webpack_require__, 53598)).then(function (m) {
285991
286356
  return m.Attachment;
285992
286357
  });
285993
286358
  }], ['BodyFile', function () {
285994
- return Promise.resolve(/* import() eager */).then(__webpack_require__.bind(__webpack_require__, 42826)).then(function (m) {
286359
+ return Promise.resolve(/* import() eager */).then(__webpack_require__.bind(__webpack_require__, 53598)).then(function (m) {
285995
286360
  return m.BodyFile;
285996
286361
  });
285997
286362
  }], ['CommandBar', function () {
285998
- return Promise.resolve(/* import() eager */).then(__webpack_require__.bind(__webpack_require__, 42826)).then(function (m) {
286363
+ return Promise.resolve(/* import() eager */).then(__webpack_require__.bind(__webpack_require__, 53598)).then(function (m) {
285999
286364
  return m.CommandBar;
286000
286365
  });
286001
286366
  }], ['HandleIdea', function () {
286002
- return Promise.resolve(/* import() eager */).then(__webpack_require__.bind(__webpack_require__, 42826)).then(function (m) {
286367
+ return Promise.resolve(/* import() eager */).then(__webpack_require__.bind(__webpack_require__, 53598)).then(function (m) {
286003
286368
  return m.HandleIdea;
286004
286369
  });
286005
286370
  }], ['IdeaInputBox', function () {
286006
- return Promise.resolve(/* import() eager */).then(__webpack_require__.bind(__webpack_require__, 42826)).then(function (m) {
286371
+ return Promise.resolve(/* import() eager */).then(__webpack_require__.bind(__webpack_require__, 53598)).then(function (m) {
286007
286372
  return m.IdeaInputBox;
286008
286373
  });
286009
286374
  }], ['ModifyWflogAddUser', function () {
286010
- return Promise.resolve(/* import() eager */).then(__webpack_require__.bind(__webpack_require__, 42826)).then(function (m) {
286375
+ return Promise.resolve(/* import() eager */).then(__webpack_require__.bind(__webpack_require__, 53598)).then(function (m) {
286011
286376
  return m.ModifyWflogAddUser;
286012
286377
  });
286013
286378
  }], ['ModifyWflogIdea', function () {
286014
- return Promise.resolve(/* import() eager */).then(__webpack_require__.bind(__webpack_require__, 42826)).then(function (m) {
286379
+ return Promise.resolve(/* import() eager */).then(__webpack_require__.bind(__webpack_require__, 53598)).then(function (m) {
286015
286380
  return m.ModifyWflogIdea;
286016
286381
  });
286017
286382
  }], ['WriteToReadIdea', function () {
286018
- return Promise.resolve(/* import() eager */).then(__webpack_require__.bind(__webpack_require__, 42826)).then(function (m) {
286383
+ return Promise.resolve(/* import() eager */).then(__webpack_require__.bind(__webpack_require__, 53598)).then(function (m) {
286019
286384
  return m.WriteToReadIdea;
286020
286385
  });
286021
286386
  }], ['ModifyWflogSubmitFile', function () {
286022
- return Promise.resolve(/* import() eager */).then(__webpack_require__.bind(__webpack_require__, 42826)).then(function (m) {
286387
+ return Promise.resolve(/* import() eager */).then(__webpack_require__.bind(__webpack_require__, 53598)).then(function (m) {
286023
286388
  return m.ModifyWflogSubmitFile;
286024
286389
  });
286025
286390
  }], ['ModifyWfNodelog', function () {
286026
- return Promise.resolve(/* import() eager */).then(__webpack_require__.bind(__webpack_require__, 42826)).then(function (m) {
286391
+ return Promise.resolve(/* import() eager */).then(__webpack_require__.bind(__webpack_require__, 53598)).then(function (m) {
286027
286392
  return m.ModifyWfNodelog;
286028
286393
  });
286029
286394
  }], ['SelectOuterDeputy', function () {
286030
- return Promise.resolve(/* import() eager */).then(__webpack_require__.bind(__webpack_require__, 42826)).then(function (m) {
286395
+ return Promise.resolve(/* import() eager */).then(__webpack_require__.bind(__webpack_require__, 53598)).then(function (m) {
286031
286396
  return m.SelectOuterDeputy;
286032
286397
  });
286033
286398
  }], ['SubmitHandle', function () {
286034
- return Promise.resolve(/* import() eager */).then(__webpack_require__.bind(__webpack_require__, 42826)).then(function (m) {
286399
+ return Promise.resolve(/* import() eager */).then(__webpack_require__.bind(__webpack_require__, 53598)).then(function (m) {
286035
286400
  return m.SubmitHandle;
286036
286401
  });
286037
286402
  }], ['SubmitDialog', function () {
286038
- return Promise.resolve(/* import() eager */).then(__webpack_require__.bind(__webpack_require__, 42826)).then(function (m) {
286403
+ return Promise.resolve(/* import() eager */).then(__webpack_require__.bind(__webpack_require__, 53598)).then(function (m) {
286039
286404
  return m.SubmitDialog;
286040
286405
  });
286041
286406
  }], ['WfNodelogList', function () {
286042
- return Promise.resolve(/* import() eager */).then(__webpack_require__.bind(__webpack_require__, 42826)).then(function (m) {
286407
+ return Promise.resolve(/* import() eager */).then(__webpack_require__.bind(__webpack_require__, 53598)).then(function (m) {
286043
286408
  return m.WfNodelogList;
286044
286409
  });
286045
286410
  }], ['WflogAddReader', function () {
286046
- return Promise.resolve(/* import() eager */).then(__webpack_require__.bind(__webpack_require__, 42826)).then(function (m) {
286411
+ return Promise.resolve(/* import() eager */).then(__webpack_require__.bind(__webpack_require__, 53598)).then(function (m) {
286047
286412
  return m.WflogAddReader;
286048
286413
  });
286049
286414
  }], ['WflowView', function () {
286050
- return Promise.resolve(/* import() eager */).then(__webpack_require__.bind(__webpack_require__, 42826)).then(function (m) {
286415
+ return Promise.resolve(/* import() eager */).then(__webpack_require__.bind(__webpack_require__, 53598)).then(function (m) {
286051
286416
  return m.WflowView;
286052
286417
  });
286053
286418
  }], ['ImgView', function () {
286054
- return Promise.resolve(/* import() eager */).then(__webpack_require__.bind(__webpack_require__, 42826)).then(function (m) {
286419
+ return Promise.resolve(/* import() eager */).then(__webpack_require__.bind(__webpack_require__, 53598)).then(function (m) {
286055
286420
  return m.ImgView;
286056
286421
  });
286057
286422
  }], ['IdeaSignature', function () {
286058
- return Promise.resolve(/* import() eager */).then(__webpack_require__.bind(__webpack_require__, 42826)).then(function (m) {
286423
+ return Promise.resolve(/* import() eager */).then(__webpack_require__.bind(__webpack_require__, 53598)).then(function (m) {
286059
286424
  return m.IdeaSignature;
286060
286425
  });
286061
286426
  }], ['ReplaceFile', function () {
286062
- return Promise.resolve(/* import() eager */).then(__webpack_require__.bind(__webpack_require__, 42826)).then(function (m) {
286427
+ return Promise.resolve(/* import() eager */).then(__webpack_require__.bind(__webpack_require__, 53598)).then(function (m) {
286063
286428
  return m.ReplaceFile;
286064
286429
  });
286065
286430
  }], ['ViewBodyFile', function () {
286066
- return Promise.resolve(/* import() eager */).then(__webpack_require__.bind(__webpack_require__, 42826)).then(function (m) {
286431
+ return Promise.resolve(/* import() eager */).then(__webpack_require__.bind(__webpack_require__, 53598)).then(function (m) {
286067
286432
  return m.ViewBodyFile;
286068
286433
  });
286069
286434
  }], ['WformLayout', function () {
286070
- return Promise.resolve(/* import() eager */).then(__webpack_require__.bind(__webpack_require__, 42826)).then(function (m) {
286435
+ return Promise.resolve(/* import() eager */).then(__webpack_require__.bind(__webpack_require__, 53598)).then(function (m) {
286071
286436
  return m.WformLayout;
286072
286437
  });
286073
286438
  }],
@@ -286279,7 +286644,7 @@ var asyncComponents = [
286279
286644
  }],
286280
286645
  // ========== 工作流设计器 + 系统设计器 ==========
286281
286646
  ['WflowDesigner', function () {
286282
- return Promise.resolve(/* import() eager */).then(__webpack_require__.bind(__webpack_require__, 26173));
286647
+ return Promise.resolve(/* import() eager */).then(__webpack_require__.bind(__webpack_require__, 34660));
286283
286648
  }], ['ImportWf', function () {
286284
286649
  return Promise.resolve(/* import() eager */).then(__webpack_require__.bind(__webpack_require__, 39934));
286285
286650
  }], ['WflowTrace', function () {
@@ -286352,10 +286717,10 @@ var WfengineModule = function WfengineModule() {
286352
286717
  return Promise.resolve(/* import() eager */).then(__webpack_require__.bind(__webpack_require__, 55543));
286353
286718
  };
286354
286719
  var WflowformModule = function WflowformModule() {
286355
- return Promise.resolve(/* import() eager */).then(__webpack_require__.bind(__webpack_require__, 42826));
286720
+ return Promise.resolve(/* import() eager */).then(__webpack_require__.bind(__webpack_require__, 53598));
286356
286721
  };
286357
286722
  var WflowDesignerModule = function WflowDesignerModule() {
286358
- return Promise.resolve(/* import() eager */).then(__webpack_require__.bind(__webpack_require__, 26173));
286723
+ return Promise.resolve(/* import() eager */).then(__webpack_require__.bind(__webpack_require__, 34660));
286359
286724
  };
286360
286725
  var WflowTraceModule = function WflowTraceModule() {
286361
286726
  return Promise.resolve(/* import() eager */).then(__webpack_require__.bind(__webpack_require__, 85197));