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.
@@ -21978,7 +21978,8 @@
21978
21978
  FlowChartConst.KS_ORG_JSONCONTENT = 'KS_ORG_JSONCONTENT';
21979
21979
  FlowChartConst.KS_SELECTED_FLOWCHART_ID = 'KS_SELECTED_FLOWCHART_ID';
21980
21980
  FlowChartConst.KS_SELECTED_JSONCONTENT = 'KS_SELECTED_JSONCONTENT';
21981
- FlowChartConst.KS_IS_SELECTED_TEMPLATE = 'KS_IS_SELECTED_TEMPLATE';
21981
+ FlowChartConst.KS_IS_SELECTED_TEMPLATE = 'KS_IS_SELECTED_TEMPLATE';
21982
+ FlowChartConst.ADD_SHAPE_CONNECTION_IN_PROGRESS = 'ADD_SHAPE_CONNECTION_IN_PROGRESS';
21982
21983
 
21983
21984
  exports.FlowchartViewMode = void 0;
21984
21985
  (function (FlowchartViewMode) {
@@ -24117,6 +24118,14 @@
24117
24118
  window[FlowChartConst.SELECTED_SHAPE_ID] = cellView.model.attributes.id;
24118
24119
  window[FlowChartConst.SHAPE_TYPE] = cellView.model.attributes.type;
24119
24120
  window[FlowChartConst.SHAPE_FLOWCHART_LOADING] = true;
24121
+ if (window[FlowChartConst.ADD_SHAPE_CONNECTION_IN_PROGRESS] == true) {
24122
+ window[FlowChartConst.SELECTED_SHAPE_ID] = '';
24123
+ window[FlowChartConst.SHAPE_TYPE] = '';
24124
+ window[FlowChartConst.MY_CELL_VIEW] = null;
24125
+ window[FlowChartConst.ADD_SHAPE_CONNECTION_IN_PROGRESS] = false;
24126
+ closeTools();
24127
+ selection.cancelSelection();
24128
+ }
24120
24129
  }
24121
24130
  /* QMS-1404: Customization */
24122
24131
  window[FlowChartConst.PAPER] = paper;
@@ -24160,6 +24169,7 @@
24160
24169
  link.remove({ replaceLink: true });
24161
24170
  link2.set('z', -1);
24162
24171
  link2.addTo(graph);
24172
+ window[FlowChartConst.ADD_SHAPE_CONNECTION_IN_PROGRESS] = true;
24163
24173
  }
24164
24174
  graph.on('change', function (cell, opt) {
24165
24175
  _this.onChangeTextInside(cell);