@valtimo/analyse 4.22.0 → 5.1.0

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.
Files changed (44) hide show
  1. package/esm2020/lib/analyse-process-diagram/analyse-process-diagram.component.mjs +257 -0
  2. package/esm2020/lib/analyse-routing.module.mjs +45 -0
  3. package/esm2020/lib/analyse.component.mjs +29 -0
  4. package/esm2020/lib/analyse.module.mjs +37 -0
  5. package/esm2020/lib/models/heatpoint.model.mjs +17 -0
  6. package/esm2020/lib/models/index.mjs +19 -0
  7. package/esm2020/public_api.mjs +22 -0
  8. package/esm2020/valtimo-analyse.mjs +5 -0
  9. package/fesm2015/valtimo-analyse.mjs +397 -0
  10. package/fesm2015/valtimo-analyse.mjs.map +1 -0
  11. package/fesm2020/valtimo-analyse.mjs +413 -0
  12. package/fesm2020/valtimo-analyse.mjs.map +1 -0
  13. package/lib/analyse-process-diagram/analyse-process-diagram.component.d.ts +4 -0
  14. package/lib/analyse-process-diagram/analyse-process-diagram.component.d.ts.map +1 -0
  15. package/lib/analyse-routing.module.d.ts +7 -0
  16. package/lib/analyse-routing.module.d.ts.map +1 -0
  17. package/lib/analyse.component.d.ts +4 -0
  18. package/lib/analyse.component.d.ts.map +1 -0
  19. package/lib/analyse.module.d.ts +11 -0
  20. package/lib/analyse.module.d.ts.map +1 -0
  21. package/lib/models/heatpoint.model.d.ts +1 -0
  22. package/lib/models/heatpoint.model.d.ts.map +1 -0
  23. package/lib/models/index.d.ts +1 -0
  24. package/lib/models/index.d.ts.map +1 -0
  25. package/package.json +22 -10
  26. package/public_api.d.ts +1 -0
  27. package/public_api.d.ts.map +1 -0
  28. package/valtimo-analyse.d.ts +2 -2
  29. package/valtimo-analyse.d.ts.map +1 -0
  30. package/bundles/valtimo-analyse.umd.js +0 -425
  31. package/bundles/valtimo-analyse.umd.js.map +0 -1
  32. package/bundles/valtimo-analyse.umd.min.js +0 -2
  33. package/bundles/valtimo-analyse.umd.min.js.map +0 -1
  34. package/esm2015/lib/analyse-process-diagram/analyse-process-diagram.component.js +0 -255
  35. package/esm2015/lib/analyse-routing.module.js +0 -41
  36. package/esm2015/lib/analyse.component.js +0 -29
  37. package/esm2015/lib/analyse.module.js +0 -32
  38. package/esm2015/lib/models/heatpoint.model.js +0 -16
  39. package/esm2015/lib/models/index.js +0 -19
  40. package/esm2015/public_api.js +0 -22
  41. package/esm2015/valtimo-analyse.js +0 -7
  42. package/fesm2015/valtimo-analyse.js +0 -404
  43. package/fesm2015/valtimo-analyse.js.map +0 -1
  44. package/valtimo-analyse.metadata.json +0 -1
@@ -0,0 +1,397 @@
1
+ import * as i0 from '@angular/core';
2
+ import { EventEmitter, Component, ViewChild, Output, NgModule } from '@angular/core';
3
+ import BpmnJS from 'bpmn-js/dist/bpmn-navigated-viewer.production.min.js';
4
+ import heatmap from 'heatmap.js-fixed/build/heatmap.js';
5
+ import * as i1 from '@valtimo/process';
6
+ import { ProcessModule } from '@valtimo/process';
7
+ import * as i2 from '@angular/common';
8
+ import { CommonModule } from '@angular/common';
9
+ import * as i1$1 from '@angular/router';
10
+ import { RouterModule } from '@angular/router';
11
+ import { AuthGuardService } from '@valtimo/security';
12
+ import { ROLE_USER } from '@valtimo/config';
13
+ import { WidgetModule } from '@valtimo/components';
14
+
15
+ /*
16
+ * Copyright 2015-2020 Ritense BV, the Netherlands.
17
+ *
18
+ * Licensed under EUPL, Version 1.2 (the "License");
19
+ * you may not use this file except in compliance with the License.
20
+ * You may obtain a copy of the License at
21
+ *
22
+ * https://joinup.ec.europa.eu/collection/eupl/eupl-text-eupl-12
23
+ *
24
+ * Unless required by applicable law or agreed to in writing, software
25
+ * distributed under the License is distributed on an "AS IS" basis,
26
+ * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
27
+ * See the License for the specific language governing permissions and
28
+ * limitations under the License.
29
+ */
30
+ class AnalyseProcessDiagramComponent {
31
+ constructor(processService) {
32
+ this.processService = processService;
33
+ this.importDone = new EventEmitter();
34
+ this.enumHeatmapOptions = ['count', 'duration'];
35
+ this.initialized = false;
36
+ }
37
+ ngOnInit() {
38
+ this.processService
39
+ .getProcessDefinitions()
40
+ .subscribe((processDefinitions) => {
41
+ this.processDefinitions = processDefinitions;
42
+ if (!this.processDefinitionKey && processDefinitions.length !== 0) {
43
+ this.processDefinitionKey = processDefinitions[0].key;
44
+ this.loadProcessDefinitionFromKey(this.processDefinitionKey);
45
+ }
46
+ });
47
+ this.createBpmnViewerInstance();
48
+ }
49
+ createBpmnViewerInstance() {
50
+ this.bpmnJS = new BpmnJS();
51
+ this.bpmnJS.on('import.done', ({ error }) => {
52
+ if (!error && !this.initialized) {
53
+ const canvas = this.bpmnJS.get('canvas');
54
+ const eventBus = this.bpmnJS.get('eventBus');
55
+ if (this.processDiagram.historicActivityInstances) {
56
+ this.processDiagram.historicActivityInstances.forEach((instance) => {
57
+ if (instance.activityType !== 'multiInstanceBody') {
58
+ canvas.addMarker(instance.activityId, instance.endTime ? 'highlight-overlay-past' : 'highlight-overlay-current');
59
+ }
60
+ });
61
+ }
62
+ canvas.zoom('fit-viewport', 'auto');
63
+ if (this.processDefinitionVersions) {
64
+ eventBus.on('canvas.init', () => {
65
+ if (this.showHeatmap) {
66
+ this.clearHeatmap();
67
+ }
68
+ this.loadHeatmapData();
69
+ });
70
+ eventBus.on('canvas.viewbox.changing', () => {
71
+ if (this.showHeatmap) {
72
+ this.clearHeatmap();
73
+ }
74
+ });
75
+ eventBus.on('canvas.viewbox.changed', () => {
76
+ this.loadHeatmapData();
77
+ });
78
+ }
79
+ this.initialized = true;
80
+ }
81
+ this.clearHeatmap();
82
+ if (this.showHeatmap) {
83
+ this.loadHeatmapData();
84
+ }
85
+ });
86
+ }
87
+ ngOnDestroy() {
88
+ if (this.bpmnJS) {
89
+ this.bpmnJS.destroy();
90
+ }
91
+ }
92
+ loadProcessDefinition(processDefinitionKey) {
93
+ this.processService
94
+ .getProcessDefinition(processDefinitionKey)
95
+ .subscribe((processDefinition) => {
96
+ this.heatmapOption = this.enumHeatmapOptions[0];
97
+ this.version = processDefinition.version;
98
+ this.loadProcessDefinitionXml(processDefinition.id);
99
+ });
100
+ }
101
+ loadProcessDefinitionVersions(processDefinitionKey) {
102
+ this.processService
103
+ .getProcessDefinitionVersions(processDefinitionKey)
104
+ .subscribe((processDefinitionVersions) => {
105
+ this.processDefinitionVersions = processDefinitionVersions;
106
+ });
107
+ }
108
+ loadProcessDefinitionFromKey(processDefinitionKey) {
109
+ this.loadProcessDefinitionVersions(processDefinitionKey);
110
+ this.loadProcessDefinition(processDefinitionKey);
111
+ }
112
+ loadProcessDefinitionXml(processDefinitionId) {
113
+ this.processService.getProcessDefinitionXml(processDefinitionId).subscribe(response => {
114
+ this.processDiagram = response;
115
+ this.bpmnJS.importXML(this.processDiagram.bpmn20Xml);
116
+ this.bpmnJS.attachTo(this.el.nativeElement);
117
+ });
118
+ }
119
+ loadProcessDefinitionHeatmapCount(processDefinition) {
120
+ this.processService.getProcessHeatmapCount(processDefinition).subscribe(response => {
121
+ this.inputData = response;
122
+ this.valueKey = 'totalCount';
123
+ this.heatPoints = { data: [] };
124
+ this.min = 0;
125
+ this.max = 0;
126
+ Object.keys(this.inputData).forEach(key => {
127
+ const diagramContainer = this.el.nativeElement.querySelector('svg').getBoundingClientRect();
128
+ const diagramElm = this.el.nativeElement
129
+ .querySelector(`g[data-element-id=${key}]`)
130
+ .getBoundingClientRect();
131
+ this.setMax(key);
132
+ this.heatPoints.data.push({
133
+ x: Math.round(diagramElm.x - diagramContainer.x + diagramElm.width / 2),
134
+ y: Math.round(diagramElm.y - diagramContainer.y + diagramElm.height / 2),
135
+ value: this.inputData[key][this.valueKey],
136
+ radius: diagramElm.width / 2,
137
+ });
138
+ this.addCounterActiveOverlays(key, this.inputData);
139
+ });
140
+ this.clearHeatmap();
141
+ if (this.showHeatmap) {
142
+ this.loadHeatmap();
143
+ }
144
+ });
145
+ }
146
+ onWindowResize() {
147
+ const oldCanvas = this.el.nativeElement.querySelector('canvas[class=heatmap-canvas]');
148
+ if (oldCanvas) {
149
+ oldCanvas.remove();
150
+ this.heatMapInstance = null;
151
+ }
152
+ if (this.showHeatmap) {
153
+ this.loadHeatmap();
154
+ }
155
+ }
156
+ loadProcessDefinitionHeatmapDuration(processDefinition) {
157
+ this.processService.getProcessHeatmapDuration(processDefinition).subscribe(response => {
158
+ this.inputData = response;
159
+ this.valueKey = 'averageDurationInMilliseconds';
160
+ this.heatPoints = { data: [] };
161
+ this.min = 0;
162
+ this.max = 0;
163
+ Object.keys(this.inputData).forEach(key => {
164
+ const diagramContainer = this.el.nativeElement.querySelector('svg').getBoundingClientRect();
165
+ const diagramElm = this.el.nativeElement
166
+ .querySelector(`g[data-element-id=${key}]`)
167
+ .getBoundingClientRect();
168
+ this.setMax(key);
169
+ this.heatPoints.data.push({
170
+ x: Math.round(diagramElm.x - diagramContainer.x + diagramElm.width / 2),
171
+ y: Math.round(diagramElm.y - diagramContainer.y + diagramElm.height / 2),
172
+ value: this.inputData[key][this.valueKey],
173
+ radius: diagramElm.width / 2,
174
+ });
175
+ this.addCounterActiveOverlays(key, this.inputData);
176
+ });
177
+ this.clearHeatmap();
178
+ if (this.showHeatmap) {
179
+ this.loadHeatmap();
180
+ }
181
+ });
182
+ }
183
+ setProcessDefinitionKey(processDefinitionKey) {
184
+ this.processDefinitionKey = processDefinitionKey;
185
+ this.loadProcessDefinitionFromKey(this.processDefinitionKey);
186
+ }
187
+ setProcessDefinitionVersion(version) {
188
+ this.version = +version;
189
+ this.loadHeatmapData();
190
+ }
191
+ setHeatmapOption(heatmapOption) {
192
+ this.heatmapOption = heatmapOption;
193
+ this.loadHeatmapData();
194
+ }
195
+ toggleShowHeatmap() {
196
+ this.showHeatmap = !this.showHeatmap;
197
+ this.loadHeatmapData();
198
+ }
199
+ loadHeatmap() {
200
+ if (!this.heatMapInstance) {
201
+ this.heatMapInstance = heatmap.create({
202
+ radius: 54,
203
+ blur: 0.7,
204
+ maxOpacity: 0.4,
205
+ minOpacity: 0,
206
+ container: this.el.nativeElement,
207
+ });
208
+ const heatmapCanvas = this.el.nativeElement.querySelector('canvas[class=heatmap-canvas]');
209
+ heatmapCanvas.style.zIndex = 1;
210
+ }
211
+ this.heatMapInstance.setData({
212
+ min: this.min,
213
+ max: this.max,
214
+ data: this.heatPoints.data,
215
+ });
216
+ }
217
+ clearHeatmap() {
218
+ if (this.heatMapInstance) {
219
+ this.heatMapInstance.setData({ data: [] });
220
+ }
221
+ }
222
+ loadHeatmapData() {
223
+ this.processDefinition = this.processDefinitionVersions.find(definition => definition.version === this.version);
224
+ if (this.heatmapOption === 'count') {
225
+ this.loadProcessDefinitionHeatmapCount(this.processDefinition);
226
+ }
227
+ if (this.heatmapOption === 'duration') {
228
+ this.loadProcessDefinitionHeatmapDuration(this.processDefinition);
229
+ }
230
+ }
231
+ setMax(key) {
232
+ if (this.valueKey === 'averageDurationInMilliseconds') {
233
+ this.max = Math.max(this.inputData[key].averageDurationInMilliseconds, this.max);
234
+ }
235
+ else if (this.valueKey === 'totalCount') {
236
+ this.max = Math.max(this.inputData[key].totalCount + this.inputData[key].count, this.max);
237
+ }
238
+ }
239
+ addCounterActiveOverlays(key, inputData) {
240
+ const overlays = this.bpmnJS.get('overlays');
241
+ overlays.add(key, {
242
+ position: {
243
+ bottom: 13,
244
+ left: -12,
245
+ },
246
+ show: {
247
+ minZoom: 0,
248
+ maxZoom: 5.0,
249
+ },
250
+ html: `<span class="badge badge-pill badge-primary">${inputData[key].count}</span>`,
251
+ });
252
+ }
253
+ }
254
+ AnalyseProcessDiagramComponent.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "13.3.9", ngImport: i0, type: AnalyseProcessDiagramComponent, deps: [{ token: i1.ProcessService }], target: i0.ɵɵFactoryTarget.Component });
255
+ AnalyseProcessDiagramComponent.ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "12.0.0", version: "13.3.9", type: AnalyseProcessDiagramComponent, selector: "valtimo-analyse-process-diagram", outputs: { importDone: "importDone" }, viewQueries: [{ propertyName: "el", first: true, predicate: ["ref"], descendants: true }], ngImport: i0, template: "<!--\n ~ Copyright 2015-2020 Ritense BV, the Netherlands.\n ~\n ~ Licensed under EUPL, Version 1.2 (the \"License\");\n ~ you may not use this file except in compliance with the License.\n ~ You may obtain a copy of the License at\n ~\n ~ https://joinup.ec.europa.eu/collection/eupl/eupl-text-eupl-12\n ~\n ~ Unless required by applicable law or agreed to in writing, software\n ~ distributed under the License is distributed on an \"AS IS\" basis,\n ~ WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.\n ~ See the License for the specific language governing permissions and\n ~ limitations under the License.\n -->\n\n<div class=\"container-fluid\">\n <div class=\"row p-4 bg-light options\">\n <div class=\"col-sm-3\">\n <label><strong>Process</strong></label\n ><br />\n <select class=\"form-control\" (change)=\"setProcessDefinitionKey($event.target.value)\">\n <option\n *ngFor=\"let processDefinition of processDefinitions\"\n [value]=\"processDefinition.key\"\n [selected]=\"processDefinitionKey === processDefinition.key\"\n >\n {{ processDefinition.name }}\n </option>\n </select>\n </div>\n <div class=\"col-sm-1\">\n <label><strong>Version</strong></label\n ><br />\n <select class=\"form-control\" (change)=\"setProcessDefinitionVersion($event.target.value)\">\n <option\n *ngFor=\"let processDefinitionVersion of processDefinitionVersions\"\n [value]=\"processDefinitionVersion.version\"\n [selected]=\"processDefinitionVersion.version === version\"\n >\n {{ processDefinitionVersion.version }}\n </option>\n </select>\n </div>\n <div class=\"col-sm-3\" *ngIf=\"showHeatmap\">\n <label><strong>Heatmap type</strong></label\n ><br />\n <select class=\"form-control w-sm-50\" (change)=\"setHeatmapOption($event.target.value)\">\n <option\n *ngFor=\"let option of enumHeatmapOptions\"\n [value]=\"option\"\n [selected]=\"option === heatmapOption\"\n >\n {{ option | titlecase }}\n </option>\n </select>\n </div>\n <div\n class=\"text-sm-right col-sm-3\"\n [ngClass]=\"{'offset-sm-2': showHeatmap, 'offset-sm-5': !showHeatmap}\"\n >\n <label><strong>Show heatmap</strong></label\n ><br />\n <div class=\"text-left switch-button switch-button-sm switch-button-success\">\n <input\n type=\"checkbox\"\n id=\"toggleHeatmap\"\n [checked]=\"showHeatmap\"\n (click)=\"toggleShowHeatmap()\"\n /><span> <label for=\"toggleHeatmap\"></label></span>\n </div>\n </div>\n </div>\n <div class=\"row p-4 bg-white\">\n <div class=\"col\">\n <div #ref (window:resize)=\"onWindowResize()\" class=\"diagram-container\"></div>\n </div>\n </div>\n</div>\n\n<div class=\"p-4 text-center legenda-holder\">\n <span\n ><span class=\"badge badge-pill badge-primary\">N</span>&nbsp;&nbsp;Amount of currently active\n instances of this task.</span\n >\n <span\n >&nbsp;&nbsp;|&nbsp;&nbsp;Red/yellow/green orbs: The amount of times the task is executed in\n comparison to the other tasks.</span\n >\n</div>\n", styles: ["/*!\n * Copyright 2015-2020 Ritense BV, the Netherlands.\n *\n * Licensed under EUPL, Version 1.2 (the \"License\");\n * you may not use this file except in compliance with the License.\n * You may obtain a copy of the License at\n *\n * https://joinup.ec.europa.eu/collection/eupl/eupl-text-eupl-12\n *\n * Unless required by applicable law or agreed to in writing, software\n * distributed under the License is distributed on an \"AS IS\" basis,\n * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.\n * See the License for the specific language governing permissions and\n * limitations under the License.\n */.diagram-container-switch-holder{width:100%;z-index:1000}.diagram-container{height:58vh}.container-fluid{border:1px solid #dee2e6}.options{border-bottom:1px solid #dee2e6}\n"], directives: [{ type: i2.NgForOf, selector: "[ngFor][ngForOf]", inputs: ["ngForOf", "ngForTrackBy", "ngForTemplate"] }, { type: i2.NgIf, selector: "[ngIf]", inputs: ["ngIf", "ngIfThen", "ngIfElse"] }, { type: i2.NgClass, selector: "[ngClass]", inputs: ["class", "ngClass"] }], pipes: { "titlecase": i2.TitleCasePipe } });
256
+ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "13.3.9", ngImport: i0, type: AnalyseProcessDiagramComponent, decorators: [{
257
+ type: Component,
258
+ args: [{ selector: 'valtimo-analyse-process-diagram', template: "<!--\n ~ Copyright 2015-2020 Ritense BV, the Netherlands.\n ~\n ~ Licensed under EUPL, Version 1.2 (the \"License\");\n ~ you may not use this file except in compliance with the License.\n ~ You may obtain a copy of the License at\n ~\n ~ https://joinup.ec.europa.eu/collection/eupl/eupl-text-eupl-12\n ~\n ~ Unless required by applicable law or agreed to in writing, software\n ~ distributed under the License is distributed on an \"AS IS\" basis,\n ~ WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.\n ~ See the License for the specific language governing permissions and\n ~ limitations under the License.\n -->\n\n<div class=\"container-fluid\">\n <div class=\"row p-4 bg-light options\">\n <div class=\"col-sm-3\">\n <label><strong>Process</strong></label\n ><br />\n <select class=\"form-control\" (change)=\"setProcessDefinitionKey($event.target.value)\">\n <option\n *ngFor=\"let processDefinition of processDefinitions\"\n [value]=\"processDefinition.key\"\n [selected]=\"processDefinitionKey === processDefinition.key\"\n >\n {{ processDefinition.name }}\n </option>\n </select>\n </div>\n <div class=\"col-sm-1\">\n <label><strong>Version</strong></label\n ><br />\n <select class=\"form-control\" (change)=\"setProcessDefinitionVersion($event.target.value)\">\n <option\n *ngFor=\"let processDefinitionVersion of processDefinitionVersions\"\n [value]=\"processDefinitionVersion.version\"\n [selected]=\"processDefinitionVersion.version === version\"\n >\n {{ processDefinitionVersion.version }}\n </option>\n </select>\n </div>\n <div class=\"col-sm-3\" *ngIf=\"showHeatmap\">\n <label><strong>Heatmap type</strong></label\n ><br />\n <select class=\"form-control w-sm-50\" (change)=\"setHeatmapOption($event.target.value)\">\n <option\n *ngFor=\"let option of enumHeatmapOptions\"\n [value]=\"option\"\n [selected]=\"option === heatmapOption\"\n >\n {{ option | titlecase }}\n </option>\n </select>\n </div>\n <div\n class=\"text-sm-right col-sm-3\"\n [ngClass]=\"{'offset-sm-2': showHeatmap, 'offset-sm-5': !showHeatmap}\"\n >\n <label><strong>Show heatmap</strong></label\n ><br />\n <div class=\"text-left switch-button switch-button-sm switch-button-success\">\n <input\n type=\"checkbox\"\n id=\"toggleHeatmap\"\n [checked]=\"showHeatmap\"\n (click)=\"toggleShowHeatmap()\"\n /><span> <label for=\"toggleHeatmap\"></label></span>\n </div>\n </div>\n </div>\n <div class=\"row p-4 bg-white\">\n <div class=\"col\">\n <div #ref (window:resize)=\"onWindowResize()\" class=\"diagram-container\"></div>\n </div>\n </div>\n</div>\n\n<div class=\"p-4 text-center legenda-holder\">\n <span\n ><span class=\"badge badge-pill badge-primary\">N</span>&nbsp;&nbsp;Amount of currently active\n instances of this task.</span\n >\n <span\n >&nbsp;&nbsp;|&nbsp;&nbsp;Red/yellow/green orbs: The amount of times the task is executed in\n comparison to the other tasks.</span\n >\n</div>\n", styles: ["/*!\n * Copyright 2015-2020 Ritense BV, the Netherlands.\n *\n * Licensed under EUPL, Version 1.2 (the \"License\");\n * you may not use this file except in compliance with the License.\n * You may obtain a copy of the License at\n *\n * https://joinup.ec.europa.eu/collection/eupl/eupl-text-eupl-12\n *\n * Unless required by applicable law or agreed to in writing, software\n * distributed under the License is distributed on an \"AS IS\" basis,\n * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.\n * See the License for the specific language governing permissions and\n * limitations under the License.\n */.diagram-container-switch-holder{width:100%;z-index:1000}.diagram-container{height:58vh}.container-fluid{border:1px solid #dee2e6}.options{border-bottom:1px solid #dee2e6}\n"] }]
259
+ }], ctorParameters: function () { return [{ type: i1.ProcessService }]; }, propDecorators: { el: [{
260
+ type: ViewChild,
261
+ args: ['ref']
262
+ }], importDone: [{
263
+ type: Output
264
+ }] } });
265
+
266
+ /*
267
+ * Copyright 2015-2020 Ritense BV, the Netherlands.
268
+ *
269
+ * Licensed under EUPL, Version 1.2 (the "License");
270
+ * you may not use this file except in compliance with the License.
271
+ * You may obtain a copy of the License at
272
+ *
273
+ * https://joinup.ec.europa.eu/collection/eupl/eupl-text-eupl-12
274
+ *
275
+ * Unless required by applicable law or agreed to in writing, software
276
+ * distributed under the License is distributed on an "AS IS" basis,
277
+ * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
278
+ * See the License for the specific language governing permissions and
279
+ * limitations under the License.
280
+ */
281
+ class AnalyseComponent {
282
+ constructor() { }
283
+ ngOnInit() { }
284
+ }
285
+ AnalyseComponent.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "13.3.9", ngImport: i0, type: AnalyseComponent, deps: [], target: i0.ɵɵFactoryTarget.Component });
286
+ AnalyseComponent.ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "12.0.0", version: "13.3.9", type: AnalyseComponent, selector: "valtimo-analyse", ngImport: i0, template: "<!--\n ~ Copyright 2015-2020 Ritense BV, the Netherlands.\n ~\n ~ Licensed under EUPL, Version 1.2 (the \"License\");\n ~ you may not use this file except in compliance with the License.\n ~ You may obtain a copy of the License at\n ~\n ~ https://joinup.ec.europa.eu/collection/eupl/eupl-text-eupl-12\n ~\n ~ Unless required by applicable law or agreed to in writing, software\n ~ distributed under the License is distributed on an \"AS IS\" basis,\n ~ WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.\n ~ See the License for the specific language governing permissions and\n ~ limitations under the License.\n -->\n\n<div class=\"main-content\">\n <div class=\"container-fluid\">\n <valtimo-analyse-process-diagram></valtimo-analyse-process-diagram>\n </div>\n</div>\n", styles: ["/*!\n * Copyright 2015-2020 Ritense BV, the Netherlands.\n *\n * Licensed under EUPL, Version 1.2 (the \"License\");\n * you may not use this file except in compliance with the License.\n * You may obtain a copy of the License at\n *\n * https://joinup.ec.europa.eu/collection/eupl/eupl-text-eupl-12\n *\n * Unless required by applicable law or agreed to in writing, software\n * distributed under the License is distributed on an \"AS IS\" basis,\n * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.\n * See the License for the specific language governing permissions and\n * limitations under the License.\n */\n"], components: [{ type: AnalyseProcessDiagramComponent, selector: "valtimo-analyse-process-diagram", outputs: ["importDone"] }] });
287
+ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "13.3.9", ngImport: i0, type: AnalyseComponent, decorators: [{
288
+ type: Component,
289
+ args: [{ selector: 'valtimo-analyse', template: "<!--\n ~ Copyright 2015-2020 Ritense BV, the Netherlands.\n ~\n ~ Licensed under EUPL, Version 1.2 (the \"License\");\n ~ you may not use this file except in compliance with the License.\n ~ You may obtain a copy of the License at\n ~\n ~ https://joinup.ec.europa.eu/collection/eupl/eupl-text-eupl-12\n ~\n ~ Unless required by applicable law or agreed to in writing, software\n ~ distributed under the License is distributed on an \"AS IS\" basis,\n ~ WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.\n ~ See the License for the specific language governing permissions and\n ~ limitations under the License.\n -->\n\n<div class=\"main-content\">\n <div class=\"container-fluid\">\n <valtimo-analyse-process-diagram></valtimo-analyse-process-diagram>\n </div>\n</div>\n", styles: ["/*!\n * Copyright 2015-2020 Ritense BV, the Netherlands.\n *\n * Licensed under EUPL, Version 1.2 (the \"License\");\n * you may not use this file except in compliance with the License.\n * You may obtain a copy of the License at\n *\n * https://joinup.ec.europa.eu/collection/eupl/eupl-text-eupl-12\n *\n * Unless required by applicable law or agreed to in writing, software\n * distributed under the License is distributed on an \"AS IS\" basis,\n * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.\n * See the License for the specific language governing permissions and\n * limitations under the License.\n */\n"] }]
290
+ }], ctorParameters: function () { return []; } });
291
+
292
+ /*
293
+ * Copyright 2015-2020 Ritense BV, the Netherlands.
294
+ *
295
+ * Licensed under EUPL, Version 1.2 (the "License");
296
+ * you may not use this file except in compliance with the License.
297
+ * You may obtain a copy of the License at
298
+ *
299
+ * https://joinup.ec.europa.eu/collection/eupl/eupl-text-eupl-12
300
+ *
301
+ * Unless required by applicable law or agreed to in writing, software
302
+ * distributed under the License is distributed on an "AS IS" basis,
303
+ * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
304
+ * See the License for the specific language governing permissions and
305
+ * limitations under the License.
306
+ */
307
+ const routes = [
308
+ {
309
+ path: 'analysis',
310
+ component: AnalyseComponent,
311
+ canActivate: [AuthGuardService],
312
+ data: { title: 'Analysis', roles: [ROLE_USER] },
313
+ },
314
+ ];
315
+ class AnalyseRoutingModule {
316
+ }
317
+ AnalyseRoutingModule.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "13.3.9", ngImport: i0, type: AnalyseRoutingModule, deps: [], target: i0.ɵɵFactoryTarget.NgModule });
318
+ AnalyseRoutingModule.ɵmod = i0.ɵɵngDeclareNgModule({ minVersion: "12.0.0", version: "13.3.9", ngImport: i0, type: AnalyseRoutingModule, imports: [CommonModule, i1$1.RouterModule], exports: [RouterModule] });
319
+ AnalyseRoutingModule.ɵinj = i0.ɵɵngDeclareInjector({ minVersion: "12.0.0", version: "13.3.9", ngImport: i0, type: AnalyseRoutingModule, imports: [[CommonModule, RouterModule.forChild(routes)], RouterModule] });
320
+ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "13.3.9", ngImport: i0, type: AnalyseRoutingModule, decorators: [{
321
+ type: NgModule,
322
+ args: [{
323
+ declarations: [],
324
+ imports: [CommonModule, RouterModule.forChild(routes)],
325
+ exports: [RouterModule],
326
+ }]
327
+ }] });
328
+
329
+ /*
330
+ * Copyright 2015-2020 Ritense BV, the Netherlands.
331
+ *
332
+ * Licensed under EUPL, Version 1.2 (the "License");
333
+ * you may not use this file except in compliance with the License.
334
+ * You may obtain a copy of the License at
335
+ *
336
+ * https://joinup.ec.europa.eu/collection/eupl/eupl-text-eupl-12
337
+ *
338
+ * Unless required by applicable law or agreed to in writing, software
339
+ * distributed under the License is distributed on an "AS IS" basis,
340
+ * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
341
+ * See the License for the specific language governing permissions and
342
+ * limitations under the License.
343
+ */
344
+ class AnalyseModule {
345
+ }
346
+ AnalyseModule.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "13.3.9", ngImport: i0, type: AnalyseModule, deps: [], target: i0.ɵɵFactoryTarget.NgModule });
347
+ AnalyseModule.ɵmod = i0.ɵɵngDeclareNgModule({ minVersion: "12.0.0", version: "13.3.9", ngImport: i0, type: AnalyseModule, declarations: [AnalyseComponent, AnalyseProcessDiagramComponent], imports: [CommonModule, AnalyseRoutingModule, ProcessModule, WidgetModule], exports: [AnalyseComponent] });
348
+ AnalyseModule.ɵinj = i0.ɵɵngDeclareInjector({ minVersion: "12.0.0", version: "13.3.9", ngImport: i0, type: AnalyseModule, imports: [[CommonModule, AnalyseRoutingModule, ProcessModule, WidgetModule]] });
349
+ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "13.3.9", ngImport: i0, type: AnalyseModule, decorators: [{
350
+ type: NgModule,
351
+ args: [{
352
+ declarations: [AnalyseComponent, AnalyseProcessDiagramComponent],
353
+ imports: [CommonModule, AnalyseRoutingModule, ProcessModule, WidgetModule],
354
+ exports: [AnalyseComponent],
355
+ }]
356
+ }] });
357
+
358
+ /*
359
+ *
360
+ * * Copyright 2015-2020 Ritense BV, the Netherlands.
361
+ * *
362
+ * * Licensed under EUPL, Version 1.2 (the "License");
363
+ * * you may not use this file except in compliance with the License.
364
+ * * You may obtain a copy of the License at
365
+ * *
366
+ * * https://joinup.ec.europa.eu/collection/eupl/eupl-text-eupl-12
367
+ * *
368
+ * * Unless required by applicable law or agreed to in writing, software
369
+ * * distributed under the License is distributed on an "AS IS" basis,
370
+ * * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
371
+ * * See the License for the specific language governing permissions and
372
+ * * limitations under the License.
373
+ *
374
+ */
375
+
376
+ /*
377
+ * Copyright 2015-2020 Ritense BV, the Netherlands.
378
+ *
379
+ * Licensed under EUPL, Version 1.2 (the "License");
380
+ * you may not use this file except in compliance with the License.
381
+ * You may obtain a copy of the License at
382
+ *
383
+ * https://joinup.ec.europa.eu/collection/eupl/eupl-text-eupl-12
384
+ *
385
+ * Unless required by applicable law or agreed to in writing, software
386
+ * distributed under the License is distributed on an "AS IS" basis,
387
+ * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
388
+ * See the License for the specific language governing permissions and
389
+ * limitations under the License.
390
+ */
391
+
392
+ /**
393
+ * Generated bundle index. Do not edit.
394
+ */
395
+
396
+ export { AnalyseComponent, AnalyseModule };
397
+ //# sourceMappingURL=valtimo-analyse.mjs.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"valtimo-analyse.mjs","sources":["../../../../projects/valtimo/analyse/src/lib/analyse-process-diagram/analyse-process-diagram.component.ts","../../../../projects/valtimo/analyse/src/lib/analyse-process-diagram/analyse-process-diagram.component.html","../../../../projects/valtimo/analyse/src/lib/analyse.component.ts","../../../../projects/valtimo/analyse/src/lib/analyse.component.html","../../../../projects/valtimo/analyse/src/lib/analyse-routing.module.ts","../../../../projects/valtimo/analyse/src/lib/analyse.module.ts","../../../../projects/valtimo/analyse/src/lib/models/index.ts","../../../../projects/valtimo/analyse/src/public_api.ts","../../../../projects/valtimo/analyse/src/valtimo-analyse.ts"],"sourcesContent":["/*\n * Copyright 2015-2020 Ritense BV, the Netherlands.\n *\n * Licensed under EUPL, Version 1.2 (the \"License\");\n * you may not use this file except in compliance with the License.\n * You may obtain a copy of the License at\n *\n * https://joinup.ec.europa.eu/collection/eupl/eupl-text-eupl-12\n *\n * Unless required by applicable law or agreed to in writing, software\n * distributed under the License is distributed on an \"AS IS\" basis,\n * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.\n * See the License for the specific language governing permissions and\n * limitations under the License.\n */\n\nimport {\n Component,\n ElementRef,\n EventEmitter,\n OnDestroy,\n OnInit,\n Output,\n ViewChild,\n} from '@angular/core';\nimport {ProcessService, ProcessDefinition} from '@valtimo/process';\nimport {Heatpoint} from '../models';\nimport BpmnJS from 'bpmn-js/dist/bpmn-navigated-viewer.production.min.js';\nimport heatmap from 'heatmap.js-fixed/build/heatmap.js';\n\n@Component({\n selector: 'valtimo-analyse-process-diagram',\n templateUrl: './analyse-process-diagram.component.html',\n styleUrls: ['./analyse-process-diagram.component.scss'],\n})\nexport class AnalyseProcessDiagramComponent implements OnInit, OnDestroy {\n private bpmnJS: BpmnJS;\n private heatMapInstance: any;\n\n @ViewChild('ref') public el: ElementRef;\n @Output() public importDone: EventEmitter<any> = new EventEmitter();\n\n public processDefinitionKey: string;\n public processDefinitions: ProcessDefinition[];\n public processDiagram: any;\n public processDefinition: ProcessDefinition;\n public processDefinitionVersions: ProcessDefinition[];\n public showHeatmap: boolean;\n public enumHeatmapOptions: string[] = ['count', 'duration'];\n public heatmapOption: string;\n public version: number;\n public heatPoints: {data: Heatpoint[]};\n public min: number;\n public max: number;\n public inputData: any[];\n public valueKey: string;\n private initialized = false;\n\n constructor(private processService: ProcessService) {}\n\n ngOnInit() {\n this.processService\n .getProcessDefinitions()\n .subscribe((processDefinitions: ProcessDefinition[]) => {\n this.processDefinitions = processDefinitions;\n if (!this.processDefinitionKey && processDefinitions.length !== 0) {\n this.processDefinitionKey = processDefinitions[0].key;\n this.loadProcessDefinitionFromKey(this.processDefinitionKey);\n }\n });\n this.createBpmnViewerInstance();\n }\n\n private createBpmnViewerInstance() {\n this.bpmnJS = new BpmnJS();\n this.bpmnJS.on('import.done', ({error}: any) => {\n if (!error && !this.initialized) {\n const canvas = this.bpmnJS.get('canvas');\n const eventBus = this.bpmnJS.get('eventBus');\n if (this.processDiagram.historicActivityInstances) {\n this.processDiagram.historicActivityInstances.forEach((instance: any) => {\n if (instance.activityType !== 'multiInstanceBody') {\n canvas.addMarker(\n instance.activityId,\n instance.endTime ? 'highlight-overlay-past' : 'highlight-overlay-current'\n );\n }\n });\n }\n\n canvas.zoom('fit-viewport', 'auto');\n if (this.processDefinitionVersions) {\n eventBus.on('canvas.init', () => {\n if (this.showHeatmap) {\n this.clearHeatmap();\n }\n this.loadHeatmapData();\n });\n eventBus.on('canvas.viewbox.changing', () => {\n if (this.showHeatmap) {\n this.clearHeatmap();\n }\n });\n eventBus.on('canvas.viewbox.changed', () => {\n this.loadHeatmapData();\n });\n }\n this.initialized = true;\n }\n this.clearHeatmap();\n if (this.showHeatmap) {\n this.loadHeatmapData();\n }\n });\n }\n\n ngOnDestroy() {\n if (this.bpmnJS) {\n this.bpmnJS.destroy();\n }\n }\n\n public loadProcessDefinition(processDefinitionKey: string): void {\n this.processService\n .getProcessDefinition(processDefinitionKey)\n .subscribe((processDefinition: ProcessDefinition) => {\n this.heatmapOption = this.enumHeatmapOptions[0];\n this.version = processDefinition.version;\n this.loadProcessDefinitionXml(processDefinition.id);\n });\n }\n\n public loadProcessDefinitionVersions(processDefinitionKey: string): void {\n this.processService\n .getProcessDefinitionVersions(processDefinitionKey)\n .subscribe((processDefinitionVersions: ProcessDefinition[]) => {\n this.processDefinitionVersions = processDefinitionVersions;\n });\n }\n\n public loadProcessDefinitionFromKey(processDefinitionKey: string): void {\n this.loadProcessDefinitionVersions(processDefinitionKey);\n this.loadProcessDefinition(processDefinitionKey);\n }\n\n public loadProcessDefinitionXml(processDefinitionId: string): void {\n this.processService.getProcessDefinitionXml(processDefinitionId).subscribe(response => {\n this.processDiagram = response;\n this.bpmnJS.importXML(this.processDiagram.bpmn20Xml);\n this.bpmnJS.attachTo(this.el.nativeElement);\n });\n }\n\n public loadProcessDefinitionHeatmapCount(processDefinition: ProcessDefinition): void {\n this.processService.getProcessHeatmapCount(processDefinition).subscribe(response => {\n this.inputData = response;\n this.valueKey = 'totalCount';\n this.heatPoints = {data: []};\n this.min = 0;\n this.max = 0;\n\n Object.keys(this.inputData).forEach(key => {\n const diagramContainer = this.el.nativeElement.querySelector('svg').getBoundingClientRect();\n const diagramElm = this.el.nativeElement\n .querySelector(`g[data-element-id=${key}]`)\n .getBoundingClientRect();\n this.setMax(key);\n this.heatPoints.data.push({\n x: Math.round(diagramElm.x - diagramContainer.x + diagramElm.width / 2),\n y: Math.round(diagramElm.y - diagramContainer.y + diagramElm.height / 2),\n value: this.inputData[key][this.valueKey],\n radius: diagramElm.width / 2,\n });\n this.addCounterActiveOverlays(key, this.inputData);\n });\n this.clearHeatmap();\n if (this.showHeatmap) {\n this.loadHeatmap();\n }\n });\n }\n\n public onWindowResize(): void {\n const oldCanvas = this.el.nativeElement.querySelector('canvas[class=heatmap-canvas]');\n if (oldCanvas) {\n oldCanvas.remove();\n this.heatMapInstance = null;\n }\n if (this.showHeatmap) {\n this.loadHeatmap();\n }\n }\n\n public loadProcessDefinitionHeatmapDuration(processDefinition: ProcessDefinition): void {\n this.processService.getProcessHeatmapDuration(processDefinition).subscribe(response => {\n this.inputData = response;\n this.valueKey = 'averageDurationInMilliseconds';\n this.heatPoints = {data: []};\n this.min = 0;\n this.max = 0;\n\n Object.keys(this.inputData).forEach(key => {\n const diagramContainer = this.el.nativeElement.querySelector('svg').getBoundingClientRect();\n const diagramElm = this.el.nativeElement\n .querySelector(`g[data-element-id=${key}]`)\n .getBoundingClientRect();\n this.setMax(key);\n this.heatPoints.data.push({\n x: Math.round(diagramElm.x - diagramContainer.x + diagramElm.width / 2),\n y: Math.round(diagramElm.y - diagramContainer.y + diagramElm.height / 2),\n value: this.inputData[key][this.valueKey],\n radius: diagramElm.width / 2,\n });\n this.addCounterActiveOverlays(key, this.inputData);\n });\n this.clearHeatmap();\n if (this.showHeatmap) {\n this.loadHeatmap();\n }\n });\n }\n\n public setProcessDefinitionKey(processDefinitionKey: string): void {\n this.processDefinitionKey = processDefinitionKey;\n this.loadProcessDefinitionFromKey(this.processDefinitionKey);\n }\n\n public setProcessDefinitionVersion(version: string): void {\n this.version = +version;\n this.loadHeatmapData();\n }\n\n public setHeatmapOption(heatmapOption: string): void {\n this.heatmapOption = heatmapOption;\n this.loadHeatmapData();\n }\n\n public toggleShowHeatmap(): void {\n this.showHeatmap = !this.showHeatmap;\n this.loadHeatmapData();\n }\n\n public loadHeatmap(): void {\n if (!this.heatMapInstance) {\n this.heatMapInstance = heatmap.create({\n radius: 54,\n blur: 0.7,\n maxOpacity: 0.4,\n minOpacity: 0,\n container: this.el.nativeElement,\n });\n const heatmapCanvas = this.el.nativeElement.querySelector('canvas[class=heatmap-canvas]');\n heatmapCanvas.style.zIndex = 1;\n }\n this.heatMapInstance.setData({\n min: this.min,\n max: this.max,\n data: this.heatPoints.data,\n });\n }\n\n public clearHeatmap(): void {\n if (this.heatMapInstance) {\n this.heatMapInstance.setData({data: []});\n }\n }\n\n public loadHeatmapData(): void {\n this.processDefinition = this.processDefinitionVersions.find(\n definition => definition.version === this.version\n );\n\n if (this.heatmapOption === 'count') {\n this.loadProcessDefinitionHeatmapCount(this.processDefinition);\n }\n if (this.heatmapOption === 'duration') {\n this.loadProcessDefinitionHeatmapDuration(this.processDefinition);\n }\n }\n\n public setMax(key: any) {\n if (this.valueKey === 'averageDurationInMilliseconds') {\n this.max = Math.max(this.inputData[key].averageDurationInMilliseconds, this.max);\n } else if (this.valueKey === 'totalCount') {\n this.max = Math.max(this.inputData[key].totalCount + this.inputData[key].count, this.max);\n }\n }\n\n public addCounterActiveOverlays(key: string, inputData: any[]): void {\n const overlays = this.bpmnJS.get('overlays');\n overlays.add(key, {\n position: {\n bottom: 13,\n left: -12,\n },\n show: {\n minZoom: 0,\n maxZoom: 5.0,\n },\n html: `<span class=\"badge badge-pill badge-primary\">${inputData[key].count}</span>`,\n });\n }\n}\n","<!--\n ~ Copyright 2015-2020 Ritense BV, the Netherlands.\n ~\n ~ Licensed under EUPL, Version 1.2 (the \"License\");\n ~ you may not use this file except in compliance with the License.\n ~ You may obtain a copy of the License at\n ~\n ~ https://joinup.ec.europa.eu/collection/eupl/eupl-text-eupl-12\n ~\n ~ Unless required by applicable law or agreed to in writing, software\n ~ distributed under the License is distributed on an \"AS IS\" basis,\n ~ WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.\n ~ See the License for the specific language governing permissions and\n ~ limitations under the License.\n -->\n\n<div class=\"container-fluid\">\n <div class=\"row p-4 bg-light options\">\n <div class=\"col-sm-3\">\n <label><strong>Process</strong></label\n ><br />\n <select class=\"form-control\" (change)=\"setProcessDefinitionKey($event.target.value)\">\n <option\n *ngFor=\"let processDefinition of processDefinitions\"\n [value]=\"processDefinition.key\"\n [selected]=\"processDefinitionKey === processDefinition.key\"\n >\n {{ processDefinition.name }}\n </option>\n </select>\n </div>\n <div class=\"col-sm-1\">\n <label><strong>Version</strong></label\n ><br />\n <select class=\"form-control\" (change)=\"setProcessDefinitionVersion($event.target.value)\">\n <option\n *ngFor=\"let processDefinitionVersion of processDefinitionVersions\"\n [value]=\"processDefinitionVersion.version\"\n [selected]=\"processDefinitionVersion.version === version\"\n >\n {{ processDefinitionVersion.version }}\n </option>\n </select>\n </div>\n <div class=\"col-sm-3\" *ngIf=\"showHeatmap\">\n <label><strong>Heatmap type</strong></label\n ><br />\n <select class=\"form-control w-sm-50\" (change)=\"setHeatmapOption($event.target.value)\">\n <option\n *ngFor=\"let option of enumHeatmapOptions\"\n [value]=\"option\"\n [selected]=\"option === heatmapOption\"\n >\n {{ option | titlecase }}\n </option>\n </select>\n </div>\n <div\n class=\"text-sm-right col-sm-3\"\n [ngClass]=\"{'offset-sm-2': showHeatmap, 'offset-sm-5': !showHeatmap}\"\n >\n <label><strong>Show heatmap</strong></label\n ><br />\n <div class=\"text-left switch-button switch-button-sm switch-button-success\">\n <input\n type=\"checkbox\"\n id=\"toggleHeatmap\"\n [checked]=\"showHeatmap\"\n (click)=\"toggleShowHeatmap()\"\n /><span> <label for=\"toggleHeatmap\"></label></span>\n </div>\n </div>\n </div>\n <div class=\"row p-4 bg-white\">\n <div class=\"col\">\n <div #ref (window:resize)=\"onWindowResize()\" class=\"diagram-container\"></div>\n </div>\n </div>\n</div>\n\n<div class=\"p-4 text-center legenda-holder\">\n <span\n ><span class=\"badge badge-pill badge-primary\">N</span>&nbsp;&nbsp;Amount of currently active\n instances of this task.</span\n >\n <span\n >&nbsp;&nbsp;|&nbsp;&nbsp;Red/yellow/green orbs: The amount of times the task is executed in\n comparison to the other tasks.</span\n >\n</div>\n","/*\n * Copyright 2015-2020 Ritense BV, the Netherlands.\n *\n * Licensed under EUPL, Version 1.2 (the \"License\");\n * you may not use this file except in compliance with the License.\n * You may obtain a copy of the License at\n *\n * https://joinup.ec.europa.eu/collection/eupl/eupl-text-eupl-12\n *\n * Unless required by applicable law or agreed to in writing, software\n * distributed under the License is distributed on an \"AS IS\" basis,\n * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.\n * See the License for the specific language governing permissions and\n * limitations under the License.\n */\n\nimport {Component, OnInit} from '@angular/core';\n\n@Component({\n selector: 'valtimo-analyse',\n templateUrl: './analyse.component.html',\n styleUrls: ['./analyse.component.scss'],\n})\nexport class AnalyseComponent implements OnInit {\n constructor() {}\n\n ngOnInit() {}\n}\n","<!--\n ~ Copyright 2015-2020 Ritense BV, the Netherlands.\n ~\n ~ Licensed under EUPL, Version 1.2 (the \"License\");\n ~ you may not use this file except in compliance with the License.\n ~ You may obtain a copy of the License at\n ~\n ~ https://joinup.ec.europa.eu/collection/eupl/eupl-text-eupl-12\n ~\n ~ Unless required by applicable law or agreed to in writing, software\n ~ distributed under the License is distributed on an \"AS IS\" basis,\n ~ WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.\n ~ See the License for the specific language governing permissions and\n ~ limitations under the License.\n -->\n\n<div class=\"main-content\">\n <div class=\"container-fluid\">\n <valtimo-analyse-process-diagram></valtimo-analyse-process-diagram>\n </div>\n</div>\n","/*\n * Copyright 2015-2020 Ritense BV, the Netherlands.\n *\n * Licensed under EUPL, Version 1.2 (the \"License\");\n * you may not use this file except in compliance with the License.\n * You may obtain a copy of the License at\n *\n * https://joinup.ec.europa.eu/collection/eupl/eupl-text-eupl-12\n *\n * Unless required by applicable law or agreed to in writing, software\n * distributed under the License is distributed on an \"AS IS\" basis,\n * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.\n * See the License for the specific language governing permissions and\n * limitations under the License.\n */\n\nimport {NgModule} from '@angular/core';\nimport {RouterModule, Routes} from '@angular/router';\nimport {CommonModule} from '@angular/common';\nimport {AuthGuardService} from '@valtimo/security';\nimport {AnalyseComponent} from './analyse.component';\nimport {ROLE_USER} from '@valtimo/config';\n\nconst routes: Routes = [\n {\n path: 'analysis',\n component: AnalyseComponent,\n canActivate: [AuthGuardService],\n data: {title: 'Analysis', roles: [ROLE_USER]},\n },\n];\n\n@NgModule({\n declarations: [],\n imports: [CommonModule, RouterModule.forChild(routes)],\n exports: [RouterModule],\n})\nexport class AnalyseRoutingModule {}\n","/*\n * Copyright 2015-2020 Ritense BV, the Netherlands.\n *\n * Licensed under EUPL, Version 1.2 (the \"License\");\n * you may not use this file except in compliance with the License.\n * You may obtain a copy of the License at\n *\n * https://joinup.ec.europa.eu/collection/eupl/eupl-text-eupl-12\n *\n * Unless required by applicable law or agreed to in writing, software\n * distributed under the License is distributed on an \"AS IS\" basis,\n * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.\n * See the License for the specific language governing permissions and\n * limitations under the License.\n */\n\nimport {NgModule} from '@angular/core';\nimport {AnalyseComponent} from './analyse.component';\nimport {CommonModule} from '@angular/common';\nimport {AnalyseRoutingModule} from './analyse-routing.module';\nimport {ProcessModule} from '@valtimo/process';\nimport {WidgetModule} from '@valtimo/components';\nimport {AnalyseProcessDiagramComponent} from './analyse-process-diagram/analyse-process-diagram.component';\n\n@NgModule({\n declarations: [AnalyseComponent, AnalyseProcessDiagramComponent],\n imports: [CommonModule, AnalyseRoutingModule, ProcessModule, WidgetModule],\n exports: [AnalyseComponent],\n})\nexport class AnalyseModule {}\n","/*\n *\n * * Copyright 2015-2020 Ritense BV, the Netherlands.\n * *\n * * Licensed under EUPL, Version 1.2 (the \"License\");\n * * you may not use this file except in compliance with the License.\n * * You may obtain a copy of the License at\n * *\n * * https://joinup.ec.europa.eu/collection/eupl/eupl-text-eupl-12\n * *\n * * Unless required by applicable law or agreed to in writing, software\n * * distributed under the License is distributed on an \"AS IS\" basis,\n * * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.\n * * See the License for the specific language governing permissions and\n * * limitations under the License.\n *\n */\n\nexport * from './heatpoint.model';\n","/*\n * Copyright 2015-2020 Ritense BV, the Netherlands.\n *\n * Licensed under EUPL, Version 1.2 (the \"License\");\n * you may not use this file except in compliance with the License.\n * You may obtain a copy of the License at\n *\n * https://joinup.ec.europa.eu/collection/eupl/eupl-text-eupl-12\n *\n * Unless required by applicable law or agreed to in writing, software\n * distributed under the License is distributed on an \"AS IS\" basis,\n * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.\n * See the License for the specific language governing permissions and\n * limitations under the License.\n */\n\n/*\n * Public API Surface of analyse\n */\n\nexport * from './lib/analyse.module';\nexport * from './lib/analyse.component';\nexport * from './lib/models';\n","/**\n * Generated bundle index. Do not edit.\n */\n\nexport * from './public_api';\n"],"names":["i1.AnalyseProcessDiagramComponent","i1"],"mappings":";;;;;;;;;;;;;;AAAA;;;;;;;;;;;;;;AAcG;MAqBU,8BAA8B,CAAA;AAuBzC,IAAA,WAAA,CAAoB,cAA8B,EAAA;AAA9B,QAAA,IAAc,CAAA,cAAA,GAAd,cAAc,CAAgB;AAlBjC,QAAA,IAAA,CAAA,UAAU,GAAsB,IAAI,YAAY,EAAE,CAAC;QAQ7D,IAAA,CAAA,kBAAkB,GAAa,CAAC,OAAO,EAAE,UAAU,CAAC,CAAC;AAQpD,QAAA,IAAW,CAAA,WAAA,GAAG,KAAK,CAAC;KAE0B;IAEtD,QAAQ,GAAA;AACN,QAAA,IAAI,CAAC,cAAc;AAChB,aAAA,qBAAqB,EAAE;AACvB,aAAA,SAAS,CAAC,CAAC,kBAAuC,KAAI;AACrD,YAAA,IAAI,CAAC,kBAAkB,GAAG,kBAAkB,CAAC;YAC7C,IAAI,CAAC,IAAI,CAAC,oBAAoB,IAAI,kBAAkB,CAAC,MAAM,KAAK,CAAC,EAAE;gBACjE,IA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