qms-angular 1.1.89 → 1.1.91
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/bundles/qms-angular.umd.js +14 -1
- package/bundles/qms-angular.umd.js.map +1 -1
- package/esm2015/lib/qms-ckeditor-components/common/constants/ckeditorFlowchart.const.js +2 -1
- package/esm2015/lib/services/qms-bpmn.service.js +13 -1
- package/fesm2015/qms-angular.js +14 -1
- package/fesm2015/qms-angular.js.map +1 -1
- package/lib/qms-ckeditor-components/common/constants/ckeditorFlowchart.const.d.ts +1 -0
- package/package.json +1 -1
- package/qms-angular.metadata.json +1 -1
- package/src/assets/qms-ckeditor-plugin/src/plugins/ckeditor5-special-characters/src/index.js +61 -61
@@ -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) {
|
@@ -23575,6 +23576,9 @@
|
|
23575
23576
|
if (linkType !== 'bpmn2.Flow') {
|
23576
23577
|
replaceLink(graph, link, bpmn2.Flow);
|
23577
23578
|
}
|
23579
|
+
else {
|
23580
|
+
window[FlowChartConst.ADD_SHAPE_CONNECTION_IN_PROGRESS] = true;
|
23581
|
+
}
|
23578
23582
|
},
|
23579
23583
|
'element:mouseover': function (cellView) {
|
23580
23584
|
if (editMode !== exports.FlowchartViewMode.View)
|
@@ -24117,6 +24121,14 @@
|
|
24117
24121
|
window[FlowChartConst.SELECTED_SHAPE_ID] = cellView.model.attributes.id;
|
24118
24122
|
window[FlowChartConst.SHAPE_TYPE] = cellView.model.attributes.type;
|
24119
24123
|
window[FlowChartConst.SHAPE_FLOWCHART_LOADING] = true;
|
24124
|
+
if (window[FlowChartConst.ADD_SHAPE_CONNECTION_IN_PROGRESS] == true) {
|
24125
|
+
window[FlowChartConst.SELECTED_SHAPE_ID] = '';
|
24126
|
+
window[FlowChartConst.SHAPE_TYPE] = '';
|
24127
|
+
window[FlowChartConst.MY_CELL_VIEW] = null;
|
24128
|
+
window[FlowChartConst.ADD_SHAPE_CONNECTION_IN_PROGRESS] = false;
|
24129
|
+
closeTools();
|
24130
|
+
selection.cancelSelection();
|
24131
|
+
}
|
24120
24132
|
}
|
24121
24133
|
/* QMS-1404: Customization */
|
24122
24134
|
window[FlowChartConst.PAPER] = paper;
|
@@ -24160,6 +24172,7 @@
|
|
24160
24172
|
link.remove({ replaceLink: true });
|
24161
24173
|
link2.set('z', -1);
|
24162
24174
|
link2.addTo(graph);
|
24175
|
+
window[FlowChartConst.ADD_SHAPE_CONNECTION_IN_PROGRESS] = true;
|
24163
24176
|
}
|
24164
24177
|
graph.on('change', function (cell, opt) {
|
24165
24178
|
_this.onChangeTextInside(cell);
|