qms-angular 1.1.89 → 1.1.90

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.
@@ -20395,7 +20395,8 @@ FlowChartConst.KS_RESET_TEMPLATE = 'KS_RESET_TEMPLATE';
20395
20395
  FlowChartConst.KS_ORG_JSONCONTENT = 'KS_ORG_JSONCONTENT';
20396
20396
  FlowChartConst.KS_SELECTED_FLOWCHART_ID = 'KS_SELECTED_FLOWCHART_ID';
20397
20397
  FlowChartConst.KS_SELECTED_JSONCONTENT = 'KS_SELECTED_JSONCONTENT';
20398
- FlowChartConst.KS_IS_SELECTED_TEMPLATE = 'KS_IS_SELECTED_TEMPLATE';
20398
+ FlowChartConst.KS_IS_SELECTED_TEMPLATE = 'KS_IS_SELECTED_TEMPLATE';
20399
+ FlowChartConst.ADD_SHAPE_CONNECTION_IN_PROGRESS = 'ADD_SHAPE_CONNECTION_IN_PROGRESS';
20399
20400
 
20400
20401
  var FlowchartViewMode;
20401
20402
  (function (FlowchartViewMode) {
@@ -22533,6 +22534,14 @@ class BpmnService {
22533
22534
  window[FlowChartConst.SELECTED_SHAPE_ID] = cellView.model.attributes.id;
22534
22535
  window[FlowChartConst.SHAPE_TYPE] = cellView.model.attributes.type;
22535
22536
  window[FlowChartConst.SHAPE_FLOWCHART_LOADING] = true;
22537
+ if (window[FlowChartConst.ADD_SHAPE_CONNECTION_IN_PROGRESS] == true) {
22538
+ window[FlowChartConst.SELECTED_SHAPE_ID] = '';
22539
+ window[FlowChartConst.SHAPE_TYPE] = '';
22540
+ window[FlowChartConst.MY_CELL_VIEW] = null;
22541
+ window[FlowChartConst.ADD_SHAPE_CONNECTION_IN_PROGRESS] = false;
22542
+ closeTools();
22543
+ selection.cancelSelection();
22544
+ }
22536
22545
  }
22537
22546
  /* QMS-1404: Customization */
22538
22547
  window[FlowChartConst.PAPER] = paper;
@@ -22575,6 +22584,7 @@ class BpmnService {
22575
22584
  link.remove({ replaceLink: true });
22576
22585
  link2.set('z', -1);
22577
22586
  link2.addTo(graph);
22587
+ window[FlowChartConst.ADD_SHAPE_CONNECTION_IN_PROGRESS] = true;
22578
22588
  }
22579
22589
  graph.on('change', (cell, opt) => {
22580
22590
  this.onChangeTextInside(cell);