@valtimo/analyse 0.0.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.
- package/fesm2022/valtimo-analyse.mjs +437 -0
- package/fesm2022/valtimo-analyse.mjs.map +1 -0
- package/index.d.ts +6 -0
- package/lib/analyse-process-diagram/analyse-process-diagram.component.d.ts +53 -0
- package/lib/analyse-process-diagram/analyse-process-diagram.component.d.ts.map +1 -0
- package/lib/analyse-routing.module.d.ts +9 -0
- package/lib/analyse-routing.module.d.ts.map +1 -0
- package/lib/analyse.component.d.ts +6 -0
- package/lib/analyse.component.d.ts.map +1 -0
- package/lib/analyse.module.d.ts +14 -0
- package/lib/analyse.module.d.ts.map +1 -0
- package/lib/models/heatpoint.model.d.ts +7 -0
- package/lib/models/heatpoint.model.d.ts.map +1 -0
- package/lib/models/index.d.ts +2 -0
- package/lib/models/index.d.ts.map +1 -0
- package/package.json +24 -0
- package/public_api.d.ts +4 -0
- package/public_api.d.ts.map +1 -0
- package/valtimo-analyse.d.ts.map +1 -0
|
@@ -0,0 +1,437 @@
|
|
|
1
|
+
import * as i0 from '@angular/core';
|
|
2
|
+
import { EventEmitter, Output, ViewChild, Component, NgModule } from '@angular/core';
|
|
3
|
+
import BpmnViewer from 'bpmn-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 '@valtimo/components';
|
|
8
|
+
import { WidgetModule, RenderInPageHeaderDirective } from '@valtimo/components';
|
|
9
|
+
import * as i3 from '@angular/common';
|
|
10
|
+
import { CommonModule } from '@angular/common';
|
|
11
|
+
import * as i4 from 'carbon-components-angular';
|
|
12
|
+
import { SelectModule, ToggleModule } from 'carbon-components-angular';
|
|
13
|
+
import * as i1$1 from '@angular/router';
|
|
14
|
+
import { RouterModule } from '@angular/router';
|
|
15
|
+
import { AuthGuardService } from '@valtimo/security';
|
|
16
|
+
import { ROLE_USER } from '@valtimo/shared';
|
|
17
|
+
|
|
18
|
+
/*
|
|
19
|
+
* Copyright 2015-2025 Ritense BV, the Netherlands.
|
|
20
|
+
*
|
|
21
|
+
* Licensed under EUPL, Version 1.2 (the "License");
|
|
22
|
+
* you may not use this file except in compliance with the License.
|
|
23
|
+
* You may obtain a copy of the License at
|
|
24
|
+
*
|
|
25
|
+
* https://joinup.ec.europa.eu/collection/eupl/eupl-text-eupl-12
|
|
26
|
+
*
|
|
27
|
+
* Unless required by applicable law or agreed to in writing, software
|
|
28
|
+
* distributed under the License is distributed on an "AS IS" basis,
|
|
29
|
+
* WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
|
|
30
|
+
* See the License for the specific language governing permissions and
|
|
31
|
+
* limitations under the License.
|
|
32
|
+
*/
|
|
33
|
+
class AnalyseProcessDiagramComponent {
|
|
34
|
+
constructor(processService, pageTitleService) {
|
|
35
|
+
this.processService = processService;
|
|
36
|
+
this.pageTitleService = pageTitleService;
|
|
37
|
+
this.importDone = new EventEmitter();
|
|
38
|
+
this.enumHeatmapOptions = ['count', 'duration'];
|
|
39
|
+
this.initialized = false;
|
|
40
|
+
}
|
|
41
|
+
ngOnInit() {
|
|
42
|
+
this.pageTitleService.disableReset();
|
|
43
|
+
this.processService
|
|
44
|
+
.getProcessDefinitions()
|
|
45
|
+
.subscribe((processDefinitions) => {
|
|
46
|
+
this.processDefinitions = processDefinitions;
|
|
47
|
+
if (!this.processDefinitionKey && processDefinitions.length !== 0) {
|
|
48
|
+
this.processDefinitionKey = processDefinitions[0].key;
|
|
49
|
+
this.loadProcessDefinitionFromKey(this.processDefinitionKey);
|
|
50
|
+
}
|
|
51
|
+
});
|
|
52
|
+
this.createBpmnViewerInstance();
|
|
53
|
+
}
|
|
54
|
+
createBpmnViewerInstance() {
|
|
55
|
+
this.bpmnViewer = new BpmnViewer();
|
|
56
|
+
this.bpmnViewer.on('import.done', ({ error }) => {
|
|
57
|
+
if (!error && !this.initialized) {
|
|
58
|
+
const canvas = this.bpmnViewer.get('canvas');
|
|
59
|
+
const eventBus = this.bpmnViewer.get('eventBus');
|
|
60
|
+
if (this.processDiagram.historicActivityInstances) {
|
|
61
|
+
this.processDiagram.historicActivityInstances.forEach((instance) => {
|
|
62
|
+
if (instance.activityType !== 'multiInstanceBody') {
|
|
63
|
+
canvas.addMarker(instance.activityId, instance.endTime ? 'highlight-overlay-past' : 'highlight-overlay-current');
|
|
64
|
+
}
|
|
65
|
+
});
|
|
66
|
+
}
|
|
67
|
+
canvas.zoom('fit-viewport', 'auto');
|
|
68
|
+
if (this.processDefinitionVersions) {
|
|
69
|
+
eventBus.on('canvas.init', () => {
|
|
70
|
+
if (this.showHeatmap) {
|
|
71
|
+
this.clearHeatmap();
|
|
72
|
+
}
|
|
73
|
+
this.loadHeatmapData();
|
|
74
|
+
});
|
|
75
|
+
eventBus.on('canvas.viewbox.changing', () => {
|
|
76
|
+
if (this.showHeatmap) {
|
|
77
|
+
this.clearHeatmap();
|
|
78
|
+
}
|
|
79
|
+
});
|
|
80
|
+
eventBus.on('canvas.viewbox.changed', () => {
|
|
81
|
+
this.loadHeatmapData();
|
|
82
|
+
});
|
|
83
|
+
}
|
|
84
|
+
this.initialized = true;
|
|
85
|
+
}
|
|
86
|
+
this.clearHeatmap();
|
|
87
|
+
if (this.showHeatmap) {
|
|
88
|
+
this.loadHeatmapData();
|
|
89
|
+
}
|
|
90
|
+
});
|
|
91
|
+
}
|
|
92
|
+
ngOnDestroy() {
|
|
93
|
+
if (this.bpmnViewer) {
|
|
94
|
+
this.bpmnViewer.destroy();
|
|
95
|
+
}
|
|
96
|
+
this.pageTitleService.enableReset();
|
|
97
|
+
}
|
|
98
|
+
loadProcessDefinition(processDefinitionKey) {
|
|
99
|
+
this.processService
|
|
100
|
+
.getProcessDefinition(processDefinitionKey)
|
|
101
|
+
.subscribe((processDefinition) => {
|
|
102
|
+
this.heatmapOption = this.enumHeatmapOptions[0];
|
|
103
|
+
this.version = processDefinition.version;
|
|
104
|
+
this.loadProcessDefinitionXml(processDefinition.id);
|
|
105
|
+
});
|
|
106
|
+
}
|
|
107
|
+
loadProcessDefinitionVersions(processDefinitionKey) {
|
|
108
|
+
this.processService
|
|
109
|
+
.getProcessDefinitionVersions(processDefinitionKey)
|
|
110
|
+
.subscribe((processDefinitionVersions) => {
|
|
111
|
+
this.processDefinitionVersions = processDefinitionVersions;
|
|
112
|
+
});
|
|
113
|
+
}
|
|
114
|
+
loadProcessDefinitionFromKey(processDefinitionKey) {
|
|
115
|
+
this.loadProcessDefinitionVersions(processDefinitionKey);
|
|
116
|
+
this.loadProcessDefinition(processDefinitionKey);
|
|
117
|
+
}
|
|
118
|
+
loadProcessDefinitionXml(processDefinitionId) {
|
|
119
|
+
this.processService.getProcessDefinitionXml(processDefinitionId).subscribe(response => {
|
|
120
|
+
this.processDiagram = response;
|
|
121
|
+
this.bpmnViewer.importXML(this.processDiagram.bpmn20Xml);
|
|
122
|
+
this.bpmnViewer.attachTo(this.el.nativeElement);
|
|
123
|
+
});
|
|
124
|
+
}
|
|
125
|
+
loadProcessDefinitionHeatmapCount(processDefinition) {
|
|
126
|
+
this.processService.getProcessHeatmapCount(processDefinition).subscribe(response => {
|
|
127
|
+
this.inputData = response;
|
|
128
|
+
this.valueKey = 'totalCount';
|
|
129
|
+
this.heatPoints = { data: [] };
|
|
130
|
+
this.min = 0;
|
|
131
|
+
this.max = 0;
|
|
132
|
+
Object.keys(this.inputData).forEach(key => {
|
|
133
|
+
const diagramContainer = this.el.nativeElement.querySelector('svg').getBoundingClientRect();
|
|
134
|
+
const diagramElm = this.el.nativeElement
|
|
135
|
+
.querySelector(`g[data-element-id=${key}]`)
|
|
136
|
+
.getBoundingClientRect();
|
|
137
|
+
this.setMax(key);
|
|
138
|
+
this.heatPoints.data.push({
|
|
139
|
+
x: Math.round(diagramElm.x - diagramContainer.x + diagramElm.width / 2),
|
|
140
|
+
y: Math.round(diagramElm.y - diagramContainer.y + diagramElm.height / 2),
|
|
141
|
+
value: this.inputData[key][this.valueKey],
|
|
142
|
+
radius: diagramElm.width / 2,
|
|
143
|
+
});
|
|
144
|
+
this.addCounterActiveOverlays(key, this.inputData);
|
|
145
|
+
});
|
|
146
|
+
this.clearHeatmap();
|
|
147
|
+
if (this.showHeatmap) {
|
|
148
|
+
this.loadHeatmap();
|
|
149
|
+
}
|
|
150
|
+
});
|
|
151
|
+
}
|
|
152
|
+
onWindowResize() {
|
|
153
|
+
const oldCanvas = this.el.nativeElement.querySelector('canvas[class=heatmap-canvas]');
|
|
154
|
+
if (oldCanvas) {
|
|
155
|
+
oldCanvas.remove();
|
|
156
|
+
this.heatMapInstance = null;
|
|
157
|
+
}
|
|
158
|
+
if (this.showHeatmap) {
|
|
159
|
+
this.loadHeatmap();
|
|
160
|
+
}
|
|
161
|
+
}
|
|
162
|
+
loadProcessDefinitionHeatmapDuration(processDefinition) {
|
|
163
|
+
this.processService.getProcessHeatmapDuration(processDefinition).subscribe(response => {
|
|
164
|
+
this.inputData = response;
|
|
165
|
+
this.valueKey = 'averageDurationInMilliseconds';
|
|
166
|
+
this.heatPoints = { data: [] };
|
|
167
|
+
this.min = 0;
|
|
168
|
+
this.max = 0;
|
|
169
|
+
Object.keys(this.inputData).forEach(key => {
|
|
170
|
+
const diagramContainer = this.el.nativeElement.querySelector('svg').getBoundingClientRect();
|
|
171
|
+
const diagramElm = this.el.nativeElement
|
|
172
|
+
.querySelector(`g[data-element-id=${key}]`)
|
|
173
|
+
.getBoundingClientRect();
|
|
174
|
+
this.setMax(key);
|
|
175
|
+
this.heatPoints.data.push({
|
|
176
|
+
x: Math.round(diagramElm.x - diagramContainer.x + diagramElm.width / 2),
|
|
177
|
+
y: Math.round(diagramElm.y - diagramContainer.y + diagramElm.height / 2),
|
|
178
|
+
value: this.inputData[key][this.valueKey],
|
|
179
|
+
radius: diagramElm.width / 2,
|
|
180
|
+
});
|
|
181
|
+
this.addCounterActiveOverlays(key, this.inputData);
|
|
182
|
+
});
|
|
183
|
+
this.clearHeatmap();
|
|
184
|
+
if (this.showHeatmap) {
|
|
185
|
+
this.loadHeatmap();
|
|
186
|
+
}
|
|
187
|
+
});
|
|
188
|
+
}
|
|
189
|
+
setProcessDefinitionKey(processDefinitionKey) {
|
|
190
|
+
this.processDefinitionKey = processDefinitionKey;
|
|
191
|
+
this.loadProcessDefinitionFromKey(this.processDefinitionKey);
|
|
192
|
+
}
|
|
193
|
+
setProcessDefinitionVersion(version) {
|
|
194
|
+
this.version = +version;
|
|
195
|
+
this.loadHeatmapData();
|
|
196
|
+
}
|
|
197
|
+
setHeatmapOption(heatmapOption) {
|
|
198
|
+
this.heatmapOption = heatmapOption;
|
|
199
|
+
this.loadHeatmapData();
|
|
200
|
+
}
|
|
201
|
+
toggleShowHeatmap() {
|
|
202
|
+
this.showHeatmap = !this.showHeatmap;
|
|
203
|
+
this.loadHeatmapData();
|
|
204
|
+
}
|
|
205
|
+
loadHeatmap() {
|
|
206
|
+
if (!this.heatMapInstance) {
|
|
207
|
+
this.heatMapInstance = heatmap.create({
|
|
208
|
+
radius: 54,
|
|
209
|
+
blur: 0.7,
|
|
210
|
+
maxOpacity: 0.4,
|
|
211
|
+
minOpacity: 0,
|
|
212
|
+
container: this.el.nativeElement,
|
|
213
|
+
});
|
|
214
|
+
const heatmapCanvas = this.el.nativeElement.querySelector('canvas[class=heatmap-canvas]');
|
|
215
|
+
heatmapCanvas.style.zIndex = 1;
|
|
216
|
+
}
|
|
217
|
+
this.heatMapInstance.setData({
|
|
218
|
+
min: this.min,
|
|
219
|
+
max: this.max,
|
|
220
|
+
data: this.heatPoints.data,
|
|
221
|
+
});
|
|
222
|
+
}
|
|
223
|
+
clearHeatmap() {
|
|
224
|
+
if (this.heatMapInstance) {
|
|
225
|
+
this.heatMapInstance.setData({ data: [] });
|
|
226
|
+
}
|
|
227
|
+
}
|
|
228
|
+
loadHeatmapData() {
|
|
229
|
+
this.processDefinition = this.processDefinitionVersions.find(definition => definition.version === this.version);
|
|
230
|
+
if (this.heatmapOption === 'count') {
|
|
231
|
+
this.loadProcessDefinitionHeatmapCount(this.processDefinition);
|
|
232
|
+
}
|
|
233
|
+
if (this.heatmapOption === 'duration') {
|
|
234
|
+
this.loadProcessDefinitionHeatmapDuration(this.processDefinition);
|
|
235
|
+
}
|
|
236
|
+
}
|
|
237
|
+
setMax(key) {
|
|
238
|
+
if (this.valueKey === 'averageDurationInMilliseconds') {
|
|
239
|
+
this.max = Math.max(this.inputData[key].averageDurationInMilliseconds, this.max);
|
|
240
|
+
}
|
|
241
|
+
else if (this.valueKey === 'totalCount') {
|
|
242
|
+
this.max = Math.max(this.inputData[key].totalCount + this.inputData[key].count, this.max);
|
|
243
|
+
}
|
|
244
|
+
}
|
|
245
|
+
addCounterActiveOverlays(key, inputData) {
|
|
246
|
+
const overlays = this.bpmnViewer.get('overlays');
|
|
247
|
+
overlays.add(key, {
|
|
248
|
+
position: {
|
|
249
|
+
bottom: 13,
|
|
250
|
+
left: -12,
|
|
251
|
+
},
|
|
252
|
+
show: {
|
|
253
|
+
minZoom: 0,
|
|
254
|
+
maxZoom: 5.0,
|
|
255
|
+
},
|
|
256
|
+
html: `<span class="badge badge-pill badge-primary">${inputData[key].count}</span>`,
|
|
257
|
+
});
|
|
258
|
+
}
|
|
259
|
+
static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "19.2.17", ngImport: i0, type: AnalyseProcessDiagramComponent, deps: [{ token: i1.ProcessService }, { token: i2.PageTitleService }], target: i0.ɵɵFactoryTarget.Component }); }
|
|
260
|
+
static { this.ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "14.0.0", version: "19.2.17", type: AnalyseProcessDiagramComponent, isStandalone: false, selector: "valtimo-analyse-process-diagram", outputs: { importDone: "importDone" }, viewQueries: [{ propertyName: "el", first: true, predicate: ["ref"], descendants: true }], ngImport: i0, template: "<!--\n ~ Copyright 2015-2025 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-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> Amount of currently active\n instances of this task.</span\n >\n <span\n > | Red/yellow/green orbs: The amount of times the task is executed in\n comparison to the other tasks.</span\n >\n</div>\n<ng-container renderInPageHeader [fullWidth]=\"true\" class=\"analyse\">\n <ng-template>\n <div class=\"analyse-actions\">\n <div class=\"select\">\n <cds-select [label]=\"'Process'\" (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 </cds-select>\n <cds-select [label]=\"'Version'\" (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 </cds-select>\n <cds-select\n [disabled]=\"!showHeatmap\"\n [label]=\"'Heatmap type'\"\n (change)=\"setHeatmapOption($event.target.value)\"\n >\n <option\n *ngFor=\"let option of enumHeatmapOptions\"\n [value]=\"option\"\n [selected]=\"option === heatmapOption\"\n >\n {{ option | titlecase }}\n </option>\n </cds-select>\n </div>\n <div class=\"heatmap\">\n <cds-toggle\n class=\"heatmap-toggle\"\n [label]=\"'Show heatmap'\"\n (checkedChange)=\"toggleShowHeatmap()\"\n ></cds-toggle>\n </div>\n </div>\n </ng-template>\n</ng-container>\n", styles: [".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}.analyse-actions{display:flex;flex-direction:row;gap:8px;justify-content:space-between}.analyse-actions .heatmap-toggle{flex-grow:0!important}.select{display:flex;flex-direction:row;gap:8px}\n/*!\n * Copyright 2015-2025 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"], dependencies: [{ kind: "directive", type: i3.NgForOf, selector: "[ngFor][ngForOf]", inputs: ["ngForOf", "ngForTrackBy", "ngForTemplate"] }, { kind: "component", type: i4.Select, selector: "cds-select, ibm-select", inputs: ["value", "display", "label", "helperText", "invalidText", "warn", "warnText", "id", "size", "disabled", "skeleton", "invalid", "readonly", "theme", "ariaLabel", "fluid"], outputs: ["valueChange"] }, { kind: "directive", type: i4.Option, selector: "option" }, { kind: "directive", type: i2.RenderInPageHeaderDirective, selector: "[renderInPageHeader]", inputs: ["fullWidth"] }, { kind: "component", type: i4.Toggle, selector: "cds-toggle, ibm-toggle", inputs: ["offText", "onText", "label", "size", "hideLabel", "ariaLabel", "skeleton"] }, { kind: "pipe", type: i3.TitleCasePipe, name: "titlecase" }] }); }
|
|
261
|
+
}
|
|
262
|
+
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "19.2.17", ngImport: i0, type: AnalyseProcessDiagramComponent, decorators: [{
|
|
263
|
+
type: Component,
|
|
264
|
+
args: [{ standalone: false, selector: 'valtimo-analyse-process-diagram', template: "<!--\n ~ Copyright 2015-2025 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-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> Amount of currently active\n instances of this task.</span\n >\n <span\n > | Red/yellow/green orbs: The amount of times the task is executed in\n comparison to the other tasks.</span\n >\n</div>\n<ng-container renderInPageHeader [fullWidth]=\"true\" class=\"analyse\">\n <ng-template>\n <div class=\"analyse-actions\">\n <div class=\"select\">\n <cds-select [label]=\"'Process'\" (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 </cds-select>\n <cds-select [label]=\"'Version'\" (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 </cds-select>\n <cds-select\n [disabled]=\"!showHeatmap\"\n [label]=\"'Heatmap type'\"\n (change)=\"setHeatmapOption($event.target.value)\"\n >\n <option\n *ngFor=\"let option of enumHeatmapOptions\"\n [value]=\"option\"\n [selected]=\"option === heatmapOption\"\n >\n {{ option | titlecase }}\n </option>\n </cds-select>\n </div>\n <div class=\"heatmap\">\n <cds-toggle\n class=\"heatmap-toggle\"\n [label]=\"'Show heatmap'\"\n (checkedChange)=\"toggleShowHeatmap()\"\n ></cds-toggle>\n </div>\n </div>\n </ng-template>\n</ng-container>\n", styles: [".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}.analyse-actions{display:flex;flex-direction:row;gap:8px;justify-content:space-between}.analyse-actions .heatmap-toggle{flex-grow:0!important}.select{display:flex;flex-direction:row;gap:8px}\n/*!\n * Copyright 2015-2025 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"] }]
|
|
265
|
+
}], ctorParameters: () => [{ type: i1.ProcessService }, { type: i2.PageTitleService }], propDecorators: { el: [{
|
|
266
|
+
type: ViewChild,
|
|
267
|
+
args: ['ref']
|
|
268
|
+
}], importDone: [{
|
|
269
|
+
type: Output
|
|
270
|
+
}] } });
|
|
271
|
+
|
|
272
|
+
/*
|
|
273
|
+
* Copyright 2015-2025 Ritense BV, the Netherlands.
|
|
274
|
+
*
|
|
275
|
+
* Licensed under EUPL, Version 1.2 (the "License");
|
|
276
|
+
* you may not use this file except in compliance with the License.
|
|
277
|
+
* You may obtain a copy of the License at
|
|
278
|
+
*
|
|
279
|
+
* https://joinup.ec.europa.eu/collection/eupl/eupl-text-eupl-12
|
|
280
|
+
*
|
|
281
|
+
* Unless required by applicable law or agreed to in writing, software
|
|
282
|
+
* distributed under the License is distributed on an "AS IS" basis,
|
|
283
|
+
* WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
|
|
284
|
+
* See the License for the specific language governing permissions and
|
|
285
|
+
* limitations under the License.
|
|
286
|
+
*/
|
|
287
|
+
class AnalyseComponent {
|
|
288
|
+
static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "19.2.17", ngImport: i0, type: AnalyseComponent, deps: [], target: i0.ɵɵFactoryTarget.Component }); }
|
|
289
|
+
static { this.ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "14.0.0", version: "19.2.17", type: AnalyseComponent, isStandalone: false, selector: "valtimo-analyse", ngImport: i0, template: "<!--\n ~ Copyright 2015-2025 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-2025 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"], dependencies: [{ kind: "component", type: AnalyseProcessDiagramComponent, selector: "valtimo-analyse-process-diagram", outputs: ["importDone"] }] }); }
|
|
290
|
+
}
|
|
291
|
+
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "19.2.17", ngImport: i0, type: AnalyseComponent, decorators: [{
|
|
292
|
+
type: Component,
|
|
293
|
+
args: [{ standalone: false, selector: 'valtimo-analyse', template: "<!--\n ~ Copyright 2015-2025 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-2025 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"] }]
|
|
294
|
+
}] });
|
|
295
|
+
|
|
296
|
+
/*
|
|
297
|
+
* Copyright 2015-2025 Ritense BV, the Netherlands.
|
|
298
|
+
*
|
|
299
|
+
* Licensed under EUPL, Version 1.2 (the "License");
|
|
300
|
+
* you may not use this file except in compliance with the License.
|
|
301
|
+
* You may obtain a copy of the License at
|
|
302
|
+
*
|
|
303
|
+
* https://joinup.ec.europa.eu/collection/eupl/eupl-text-eupl-12
|
|
304
|
+
*
|
|
305
|
+
* Unless required by applicable law or agreed to in writing, software
|
|
306
|
+
* distributed under the License is distributed on an "AS IS" basis,
|
|
307
|
+
* WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
|
|
308
|
+
* See the License for the specific language governing permissions and
|
|
309
|
+
* limitations under the License.
|
|
310
|
+
*/
|
|
311
|
+
const routes = [
|
|
312
|
+
{
|
|
313
|
+
path: 'analysis',
|
|
314
|
+
component: AnalyseComponent,
|
|
315
|
+
canActivate: [AuthGuardService],
|
|
316
|
+
data: { title: 'Analysis', roles: [ROLE_USER] },
|
|
317
|
+
},
|
|
318
|
+
];
|
|
319
|
+
class AnalyseRoutingModule {
|
|
320
|
+
static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "19.2.17", ngImport: i0, type: AnalyseRoutingModule, deps: [], target: i0.ɵɵFactoryTarget.NgModule }); }
|
|
321
|
+
static { this.ɵmod = i0.ɵɵngDeclareNgModule({ minVersion: "14.0.0", version: "19.2.17", ngImport: i0, type: AnalyseRoutingModule, imports: [CommonModule, i1$1.RouterModule], exports: [RouterModule] }); }
|
|
322
|
+
static { this.ɵinj = i0.ɵɵngDeclareInjector({ minVersion: "12.0.0", version: "19.2.17", ngImport: i0, type: AnalyseRoutingModule, imports: [CommonModule, RouterModule.forChild(routes), RouterModule] }); }
|
|
323
|
+
}
|
|
324
|
+
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "19.2.17", ngImport: i0, type: AnalyseRoutingModule, decorators: [{
|
|
325
|
+
type: NgModule,
|
|
326
|
+
args: [{
|
|
327
|
+
declarations: [],
|
|
328
|
+
imports: [CommonModule, RouterModule.forChild(routes)],
|
|
329
|
+
exports: [RouterModule],
|
|
330
|
+
}]
|
|
331
|
+
}] });
|
|
332
|
+
|
|
333
|
+
/*
|
|
334
|
+
* Copyright 2015-2025 Ritense BV, the Netherlands.
|
|
335
|
+
*
|
|
336
|
+
* Licensed under EUPL, Version 1.2 (the "License");
|
|
337
|
+
* you may not use this file except in compliance with the License.
|
|
338
|
+
* You may obtain a copy of the License at
|
|
339
|
+
*
|
|
340
|
+
* https://joinup.ec.europa.eu/collection/eupl/eupl-text-eupl-12
|
|
341
|
+
*
|
|
342
|
+
* Unless required by applicable law or agreed to in writing, software
|
|
343
|
+
* distributed under the License is distributed on an "AS IS" basis,
|
|
344
|
+
* WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
|
|
345
|
+
* See the License for the specific language governing permissions and
|
|
346
|
+
* limitations under the License.
|
|
347
|
+
*/
|
|
348
|
+
class AnalyseModule {
|
|
349
|
+
static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "19.2.17", ngImport: i0, type: AnalyseModule, deps: [], target: i0.ɵɵFactoryTarget.NgModule }); }
|
|
350
|
+
static { this.ɵmod = i0.ɵɵngDeclareNgModule({ minVersion: "14.0.0", version: "19.2.17", ngImport: i0, type: AnalyseModule, declarations: [AnalyseComponent, AnalyseProcessDiagramComponent], imports: [CommonModule,
|
|
351
|
+
AnalyseRoutingModule,
|
|
352
|
+
ProcessModule,
|
|
353
|
+
WidgetModule,
|
|
354
|
+
SelectModule,
|
|
355
|
+
RenderInPageHeaderDirective,
|
|
356
|
+
ToggleModule], exports: [AnalyseComponent] }); }
|
|
357
|
+
static { this.ɵinj = i0.ɵɵngDeclareInjector({ minVersion: "12.0.0", version: "19.2.17", ngImport: i0, type: AnalyseModule, imports: [CommonModule,
|
|
358
|
+
AnalyseRoutingModule,
|
|
359
|
+
ProcessModule,
|
|
360
|
+
WidgetModule,
|
|
361
|
+
SelectModule,
|
|
362
|
+
ToggleModule] }); }
|
|
363
|
+
}
|
|
364
|
+
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "19.2.17", ngImport: i0, type: AnalyseModule, decorators: [{
|
|
365
|
+
type: NgModule,
|
|
366
|
+
args: [{
|
|
367
|
+
declarations: [AnalyseComponent, AnalyseProcessDiagramComponent],
|
|
368
|
+
imports: [
|
|
369
|
+
CommonModule,
|
|
370
|
+
AnalyseRoutingModule,
|
|
371
|
+
ProcessModule,
|
|
372
|
+
WidgetModule,
|
|
373
|
+
SelectModule,
|
|
374
|
+
RenderInPageHeaderDirective,
|
|
375
|
+
ToggleModule,
|
|
376
|
+
],
|
|
377
|
+
exports: [AnalyseComponent],
|
|
378
|
+
}]
|
|
379
|
+
}] });
|
|
380
|
+
|
|
381
|
+
/*
|
|
382
|
+
* Copyright 2015-2025 Ritense BV, the Netherlands.
|
|
383
|
+
*
|
|
384
|
+
* Licensed under EUPL, Version 1.2 (the "License");
|
|
385
|
+
* you may not use this file except in compliance with the License.
|
|
386
|
+
* You may obtain a copy of the License at
|
|
387
|
+
*
|
|
388
|
+
* https://joinup.ec.europa.eu/collection/eupl/eupl-text-eupl-12
|
|
389
|
+
*
|
|
390
|
+
* Unless required by applicable law or agreed to in writing, software
|
|
391
|
+
* distributed under the License is distributed on an "AS IS" basis,
|
|
392
|
+
* WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
|
|
393
|
+
* See the License for the specific language governing permissions and
|
|
394
|
+
* limitations under the License.
|
|
395
|
+
*/
|
|
396
|
+
|
|
397
|
+
/*
|
|
398
|
+
* Copyright 2015-2025 Ritense BV, the Netherlands.
|
|
399
|
+
*
|
|
400
|
+
* Licensed under EUPL, Version 1.2 (the "License");
|
|
401
|
+
* you may not use this file except in compliance with the License.
|
|
402
|
+
* You may obtain a copy of the License at
|
|
403
|
+
*
|
|
404
|
+
* https://joinup.ec.europa.eu/collection/eupl/eupl-text-eupl-12
|
|
405
|
+
*
|
|
406
|
+
* Unless required by applicable law or agreed to in writing, software
|
|
407
|
+
* distributed under the License is distributed on an "AS IS" basis,
|
|
408
|
+
* WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
|
|
409
|
+
* See the License for the specific language governing permissions and
|
|
410
|
+
* limitations under the License.
|
|
411
|
+
*/
|
|
412
|
+
|
|
413
|
+
/*
|
|
414
|
+
* Copyright 2015-2025 Ritense BV, the Netherlands.
|
|
415
|
+
*
|
|
416
|
+
* Licensed under EUPL, Version 1.2 (the "License");
|
|
417
|
+
* you may not use this file except in compliance with the License.
|
|
418
|
+
* You may obtain a copy of the License at
|
|
419
|
+
*
|
|
420
|
+
* https://joinup.ec.europa.eu/collection/eupl/eupl-text-eupl-12
|
|
421
|
+
*
|
|
422
|
+
* Unless required by applicable law or agreed to in writing, software
|
|
423
|
+
* distributed under the License is distributed on an "AS IS" basis,
|
|
424
|
+
* WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
|
|
425
|
+
* See the License for the specific language governing permissions and
|
|
426
|
+
* limitations under the License.
|
|
427
|
+
*/
|
|
428
|
+
/*
|
|
429
|
+
* Public API Surface of analyse
|
|
430
|
+
*/
|
|
431
|
+
|
|
432
|
+
/**
|
|
433
|
+
* Generated bundle index. Do not edit.
|
|
434
|
+
*/
|
|
435
|
+
|
|
436
|
+
export { AnalyseComponent, AnalyseModule };
|
|
437
|
+
//# 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/heatpoint.model.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-2025 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 {ProcessDefinition, ProcessService} from '@valtimo/process';\nimport {Heatpoint} from '../models';\nimport BpmnViewer from 'bpmn-js';\nimport heatmap from 'heatmap.js-fixed/build/heatmap.js';\nimport {PageTitleService} from '@valtimo/components';\n\n@Component({\n standalone: false,\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 bpmnViewer: BpmnViewer;\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(\n private readonly processService: ProcessService,\n private readonly pageTitleService: PageTitleService\n ) {}\n\n ngOnInit() {\n this.pageTitleService.disableReset();\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.bpmnViewer = new BpmnViewer();\n this.bpmnViewer.on('import.done', ({error}: any) => {\n if (!error && !this.initialized) {\n const canvas = this.bpmnViewer.get('canvas') as any;\n const eventBus = this.bpmnViewer.get('eventBus') as any;\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.bpmnViewer) {\n this.bpmnViewer.destroy();\n }\n this.pageTitleService.enableReset();\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.bpmnViewer.importXML(this.processDiagram.bpmn20Xml);\n this.bpmnViewer.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.bpmnViewer.get('overlays') as any;\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-2025 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-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> Amount of currently active\n instances of this task.</span\n >\n <span\n > | Red/yellow/green orbs: The amount of times the task is executed in\n comparison to the other tasks.</span\n >\n</div>\n<ng-container renderInPageHeader [fullWidth]=\"true\" class=\"analyse\">\n <ng-template>\n <div class=\"analyse-actions\">\n <div class=\"select\">\n <cds-select [label]=\"'Process'\" (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 </cds-select>\n <cds-select [label]=\"'Version'\" (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 </cds-select>\n <cds-select\n [disabled]=\"!showHeatmap\"\n [label]=\"'Heatmap type'\"\n (change)=\"setHeatmapOption($event.target.value)\"\n >\n <option\n *ngFor=\"let option of enumHeatmapOptions\"\n [value]=\"option\"\n [selected]=\"option === heatmapOption\"\n >\n {{ option | titlecase }}\n </option>\n </cds-select>\n </div>\n <div class=\"heatmap\">\n <cds-toggle\n class=\"heatmap-toggle\"\n [label]=\"'Show heatmap'\"\n (checkedChange)=\"toggleShowHeatmap()\"\n ></cds-toggle>\n </div>\n </div>\n </ng-template>\n</ng-container>\n","/*\n * Copyright 2015-2025 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} from '@angular/core';\n\n@Component({\n standalone: false,\n selector: 'valtimo-analyse',\n templateUrl: './analyse.component.html',\n styleUrls: ['./analyse.component.scss'],\n})\nexport class AnalyseComponent {}\n","<!--\n ~ Copyright 2015-2025 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-2025 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/shared';\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-2025 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 {RenderInPageHeaderDirective, WidgetModule} from '@valtimo/components';\nimport {AnalyseProcessDiagramComponent} from './analyse-process-diagram/analyse-process-diagram.component';\nimport {SelectModule, ToggleModule} from 'carbon-components-angular';\n\n@NgModule({\n declarations: [AnalyseComponent, AnalyseProcessDiagramComponent],\n imports: [\n CommonModule,\n AnalyseRoutingModule,\n ProcessModule,\n WidgetModule,\n SelectModule,\n RenderInPageHeaderDirective,\n ToggleModule,\n ],\n exports: [AnalyseComponent],\n})\nexport class AnalyseModule {}\n","/*\n * Copyright 2015-2025 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\nexport interface Heatpoint {\n x: number;\n y: number;\n value: number;\n radius: number;\n}\n","/*\n * Copyright 2015-2025 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\nexport * from './heatpoint.model';\n","/*\n * Copyright 2015-2025 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;MAuBU,8BAA8B,CAAA;IAuBzC,WACmB,CAAA,cAA8B,EAC9B,gBAAkC,EAAA;QADlC,IAAc,CAAA,cAAA,GAAd,cAAc;QACd,IAAgB,CAAA,gBAAA,GAAhB,gBAAgB;AApBlB,QAAA,IAAA,CAAA,UAAU,GAAsB,IAAI,YAAY,EAAE;AAQ5D,QAAA,IAAA,CAAA,kBAAkB,GAAa,CAAC,OAAO,EAAE,UAAU,CAAC;QAQnD,IAAW,CAAA,WAAA,GAAG,KAAK;;IAO3B,QAAQ,GAAA;AACN,QAAA,IAAI,CAAC,gBAAgB,CAAC,YAAY,EAAE;AACpC,QAAA,IAAI,CAAC;AACF,aAAA,qBAAqB;AACrB,aAAA,SAAS,CAAC,CAAC,kBAAuC,KAAI;AACrD,YAAA,IAAI,CAAC,kBAAkB,GAAG,kBAAkB;YAC5C,IAAI,CAAC,IAAI,CAAC,oBAAoB,IAAI,kBAAkB,CAAC,MAAM,KAAK,CAAC,EAAE;gBACjE,IAAI,CAAC,oBAAoB,GAAG,kBAAkB,CAAC,CAAC,CAAC,CAAC,GAAG;AACrD,gBAAA,IAAI,CAAC,4BAA4B,CAAC,IAAI,CAAC,oBAAoB,CAAC;;AAEhE,SAAC,CAAC;QACJ,IAAI,CAAC,wBAAwB,EAAE;;IAGzB,wBAAwB,GAAA;AAC9B,QAAA,IAAI,CAAC,UAAU,GAAG,IAAI,UAAU,EAAE;AAClC,QAAA,IAAI,CAAC,UAAU,CAAC,EAAE,CAAC,aAAa,EAAE,CAAC,EAAC,KAAK,EAAM,KAAI;YACjD,IAAI,CAAC,KAAK,IAAI,CAAC,IAAI,CAAC,WAAW,EA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AAA,QAAA,EAAA,OAAA,EAAA,SAAA,EAAA,QAAA,EAAA,EAAA,EAAA,IAAA,EAAA,aAAa,YAVtB,YAAY;YACZ,oBAAoB;YACpB,aAAa;YACb,YAAY;YACZ,YAAY;YAEZ,YAAY,CAAA,EAAA,CAAA,CAAA;;4FAIH,aAAa,EAAA,UAAA,EAAA,CAAA;kBAbzB,QAAQ;AAAC,YAAA,IAAA,EAAA,CAAA;AACR,oBAAA,YAAY,EAAE,CAAC,gBAAgB,EAAE,8BAA8B,CAAC;AAChE,oBAAA,OAAO,EAAE;wBACP,YAAY;wBACZ,oBAAoB;wBACpB,aAAa;wBACb,YAAY;wBACZ,YAAY;wBACZ,2BAA2B;wBAC3B,YAAY;AACb,qBAAA;oBACD,OAAO,EAAE,CAAC,gBAAgB,CAAC;AAC5B,iBAAA;;;ACrCD;;;;;;;;;;;;;;AAcG;;ACdH;;;;;;;;;;;;;;AAcG;;ACdH;;;;;;;;;;;;;;AAcG;AAEH;;AAEG;;AClBH;;AAEG;;;;"}
|
package/index.d.ts
ADDED
|
@@ -0,0 +1,53 @@
|
|
|
1
|
+
import { ElementRef, EventEmitter, OnDestroy, OnInit } from '@angular/core';
|
|
2
|
+
import { ProcessDefinition, ProcessService } from '@valtimo/process';
|
|
3
|
+
import { Heatpoint } from '../models';
|
|
4
|
+
import { PageTitleService } from '@valtimo/components';
|
|
5
|
+
import * as i0 from "@angular/core";
|
|
6
|
+
export declare class AnalyseProcessDiagramComponent implements OnInit, OnDestroy {
|
|
7
|
+
private readonly processService;
|
|
8
|
+
private readonly pageTitleService;
|
|
9
|
+
private bpmnViewer;
|
|
10
|
+
private heatMapInstance;
|
|
11
|
+
el: ElementRef;
|
|
12
|
+
importDone: EventEmitter<any>;
|
|
13
|
+
processDefinitionKey: string;
|
|
14
|
+
processDefinitions: ProcessDefinition[];
|
|
15
|
+
processDiagram: any;
|
|
16
|
+
processDefinition: ProcessDefinition;
|
|
17
|
+
processDefinitionVersions: ProcessDefinition[];
|
|
18
|
+
showHeatmap: boolean;
|
|
19
|
+
enumHeatmapOptions: string[];
|
|
20
|
+
heatmapOption: string;
|
|
21
|
+
version: number;
|
|
22
|
+
heatPoints: {
|
|
23
|
+
data: Heatpoint[];
|
|
24
|
+
};
|
|
25
|
+
min: number;
|
|
26
|
+
max: number;
|
|
27
|
+
inputData: any[];
|
|
28
|
+
valueKey: string;
|
|
29
|
+
private initialized;
|
|
30
|
+
constructor(processService: ProcessService, pageTitleService: PageTitleService);
|
|
31
|
+
ngOnInit(): void;
|
|
32
|
+
private createBpmnViewerInstance;
|
|
33
|
+
ngOnDestroy(): void;
|
|
34
|
+
loadProcessDefinition(processDefinitionKey: string): void;
|
|
35
|
+
loadProcessDefinitionVersions(processDefinitionKey: string): void;
|
|
36
|
+
loadProcessDefinitionFromKey(processDefinitionKey: string): void;
|
|
37
|
+
loadProcessDefinitionXml(processDefinitionId: string): void;
|
|
38
|
+
loadProcessDefinitionHeatmapCount(processDefinition: ProcessDefinition): void;
|
|
39
|
+
onWindowResize(): void;
|
|
40
|
+
loadProcessDefinitionHeatmapDuration(processDefinition: ProcessDefinition): void;
|
|
41
|
+
setProcessDefinitionKey(processDefinitionKey: string): void;
|
|
42
|
+
setProcessDefinitionVersion(version: string): void;
|
|
43
|
+
setHeatmapOption(heatmapOption: string): void;
|
|
44
|
+
toggleShowHeatmap(): void;
|
|
45
|
+
loadHeatmap(): void;
|
|
46
|
+
clearHeatmap(): void;
|
|
47
|
+
loadHeatmapData(): void;
|
|
48
|
+
setMax(key: any): void;
|
|
49
|
+
addCounterActiveOverlays(key: string, inputData: any[]): void;
|
|
50
|
+
static ɵfac: i0.ɵɵFactoryDeclaration<AnalyseProcessDiagramComponent, never>;
|
|
51
|
+
static ɵcmp: i0.ɵɵComponentDeclaration<AnalyseProcessDiagramComponent, "valtimo-analyse-process-diagram", never, {}, { "importDone": "importDone"; }, never, never, false, never>;
|
|
52
|
+
}
|
|
53
|
+
//# sourceMappingURL=analyse-process-diagram.component.d.ts.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"analyse-process-diagram.component.d.ts","sourceRoot":"","sources":["../../../../../projects/valtimo/analyse/src/lib/analyse-process-diagram/analyse-process-diagram.component.ts"],"names":[],"mappings":"AAgBA,OAAO,EAEL,UAAU,EACV,YAAY,EACZ,SAAS,EACT,MAAM,EAGP,MAAM,eAAe,CAAC;AACvB,OAAO,EAAC,iBAAiB,EAAE,cAAc,EAAC,MAAM,kBAAkB,CAAC;AACnE,OAAO,EAAC,SAAS,EAAC,MAAM,WAAW,CAAC;AAGpC,OAAO,EAAC,gBAAgB,EAAC,MAAM,qBAAqB,CAAC;;AAErD,qBAMa,8BAA+B,YAAW,MAAM,EAAE,SAAS;IAwBpE,OAAO,CAAC,QAAQ,CAAC,cAAc;IAC/B,OAAO,CAAC,QAAQ,CAAC,gBAAgB;IAxBnC,OAAO,CAAC,UAAU,CAAa;IAC/B,OAAO,CAAC,eAAe,CAAM;IAEJ,EAAE,EAAE,UAAU,CAAC;IACvB,UAAU,EAAE,YAAY,CAAC,GAAG,CAAC,CAAsB;IAE7D,oBAAoB,EAAE,MAAM,CAAC;IAC7B,kBAAkB,EAAE,iBAAiB,EAAE,CAAC;IACxC,cAAc,EAAE,GAAG,CAAC;IACpB,iBAAiB,EAAE,iBAAiB,CAAC;IACrC,yBAAyB,EAAE,iBAAiB,EAAE,CAAC;IAC/C,WAAW,EAAE,OAAO,CAAC;IACrB,kBAAkB,EAAE,MAAM,EAAE,CAAyB;IACrD,aAAa,EAAE,MAAM,CAAC;IACtB,OAAO,EAAE,MAAM,CAAC;IAChB,UAAU,EAAE;QAAC,IAAI,EAAE,SAAS,EAAE,CAAA;KAAC,CAAC;IAChC,GAAG,EAAE,MAAM,CAAC;IACZ,GAAG,EAAE,MAAM,CAAC;IACZ,SAAS,EAAE,GAAG,EAAE,CAAC;IACjB,QAAQ,EAAE,MAAM,CAAC;IACxB,OAAO,CAAC,WAAW,CAAS;gBAGT,cAAc,EAAE,cAAc,EAC9B,gBAAgB,EAAE,gBAAgB;IAGrD,QAAQ;IAcR,OAAO,CAAC,wBAAwB;IA2ChC,WAAW;IAOJ,qBAAqB,CAAC,oBAAoB,EAAE,MAAM,GAAG,IAAI;IAUzD,6BAA6B,CAAC,oBAAoB,EAAE,MAAM,GAAG,IAAI;IAQjE,4BAA4B,CAAC,oBAAoB,EAAE,MAAM,GAAG,IAAI;IAKhE,wBAAwB,CAAC,mBAAmB,EAAE,MAAM,GAAG,IAAI;IAQ3D,iCAAiC,CAAC,iBAAiB,EAAE,iBAAiB,GAAG,IAAI;IA6B7E,cAAc,IAAI,IAAI;IAWtB,oCAAoC,CAAC,iBAAiB,EAAE,iBAAiB,GAAG,IAAI;IA6BhF,uBAAuB,CAAC,oBAAoB,EAAE,MAAM,GAAG,IAAI;IAK3D,2BAA2B,CAAC,OAAO,EAAE,MAAM,GAAG,IAAI;IAKlD,gBAAgB,CAAC,aAAa,EAAE,MAAM,GAAG,IAAI;IAK7C,iBAAiB,IAAI,IAAI;IAKzB,WAAW,IAAI,IAAI;IAmBnB,YAAY,IAAI,IAAI;IAMpB,eAAe,IAAI,IAAI;IAavB,MAAM,CAAC,GAAG,EAAE,GAAG;IAQf,wBAAwB,CAAC,GAAG,EAAE,MAAM,EAAE,SAAS,EAAE,GAAG,EAAE,GAAG,IAAI;yCAlQzD,8BAA8B;2CAA9B,8BAA8B;CAgR1C"}
|
|
@@ -0,0 +1,9 @@
|
|
|
1
|
+
import * as i0 from "@angular/core";
|
|
2
|
+
import * as i1 from "@angular/common";
|
|
3
|
+
import * as i2 from "@angular/router";
|
|
4
|
+
export declare class AnalyseRoutingModule {
|
|
5
|
+
static ɵfac: i0.ɵɵFactoryDeclaration<AnalyseRoutingModule, never>;
|
|
6
|
+
static ɵmod: i0.ɵɵNgModuleDeclaration<AnalyseRoutingModule, never, [typeof i1.CommonModule, typeof i2.RouterModule], [typeof i2.RouterModule]>;
|
|
7
|
+
static ɵinj: i0.ɵɵInjectorDeclaration<AnalyseRoutingModule>;
|
|
8
|
+
}
|
|
9
|
+
//# sourceMappingURL=analyse-routing.module.d.ts.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"analyse-routing.module.d.ts","sourceRoot":"","sources":["../../../../projects/valtimo/analyse/src/lib/analyse-routing.module.ts"],"names":[],"mappings":";;;AAgCA,qBAKa,oBAAoB;yCAApB,oBAAoB;0CAApB,oBAAoB;0CAApB,oBAAoB;CAAG"}
|
|
@@ -0,0 +1,6 @@
|
|
|
1
|
+
import * as i0 from "@angular/core";
|
|
2
|
+
export declare class AnalyseComponent {
|
|
3
|
+
static ɵfac: i0.ɵɵFactoryDeclaration<AnalyseComponent, never>;
|
|
4
|
+
static ɵcmp: i0.ɵɵComponentDeclaration<AnalyseComponent, "valtimo-analyse", never, {}, {}, never, never, false, never>;
|
|
5
|
+
}
|
|
6
|
+
//# sourceMappingURL=analyse.component.d.ts.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"analyse.component.d.ts","sourceRoot":"","sources":["../../../../projects/valtimo/analyse/src/lib/analyse.component.ts"],"names":[],"mappings":";AAkBA,qBAMa,gBAAgB;yCAAhB,gBAAgB;2CAAhB,gBAAgB;CAAG"}
|
|
@@ -0,0 +1,14 @@
|
|
|
1
|
+
import * as i0 from "@angular/core";
|
|
2
|
+
import * as i1 from "./analyse.component";
|
|
3
|
+
import * as i2 from "./analyse-process-diagram/analyse-process-diagram.component";
|
|
4
|
+
import * as i3 from "@angular/common";
|
|
5
|
+
import * as i4 from "./analyse-routing.module";
|
|
6
|
+
import * as i5 from "@valtimo/process";
|
|
7
|
+
import * as i6 from "@valtimo/components";
|
|
8
|
+
import * as i7 from "carbon-components-angular";
|
|
9
|
+
export declare class AnalyseModule {
|
|
10
|
+
static ɵfac: i0.ɵɵFactoryDeclaration<AnalyseModule, never>;
|
|
11
|
+
static ɵmod: i0.ɵɵNgModuleDeclaration<AnalyseModule, [typeof i1.AnalyseComponent, typeof i2.AnalyseProcessDiagramComponent], [typeof i3.CommonModule, typeof i4.AnalyseRoutingModule, typeof i5.ProcessModule, typeof i6.WidgetModule, typeof i7.SelectModule, typeof i6.RenderInPageHeaderDirective, typeof i7.ToggleModule], [typeof i1.AnalyseComponent]>;
|
|
12
|
+
static ɵinj: i0.ɵɵInjectorDeclaration<AnalyseModule>;
|
|
13
|
+
}
|
|
14
|
+
//# sourceMappingURL=analyse.module.d.ts.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"analyse.module.d.ts","sourceRoot":"","sources":["../../../../projects/valtimo/analyse/src/lib/analyse.module.ts"],"names":[],"mappings":";;;;;;;;AAyBA,qBAaa,aAAa;yCAAb,aAAa;0CAAb,aAAa;0CAAb,aAAa;CAAG"}
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"heatpoint.model.d.ts","sourceRoot":"","sources":["../../../../../projects/valtimo/analyse/src/lib/models/heatpoint.model.ts"],"names":[],"mappings":"AAgBA,MAAM,WAAW,SAAS;IACxB,CAAC,EAAE,MAAM,CAAC;IACV,CAAC,EAAE,MAAM,CAAC;IACV,KAAK,EAAE,MAAM,CAAC;IACd,MAAM,EAAE,MAAM,CAAC;CAChB"}
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../../../../../projects/valtimo/analyse/src/lib/models/index.ts"],"names":[],"mappings":"AAgBA,cAAc,mBAAmB,CAAC"}
|
package/package.json
ADDED
|
@@ -0,0 +1,24 @@
|
|
|
1
|
+
{
|
|
2
|
+
"name": "@valtimo/analyse",
|
|
3
|
+
"license": "EUPL-1.2",
|
|
4
|
+
"version": "0.0.0",
|
|
5
|
+
"peerDependencies": {
|
|
6
|
+
"@angular/common": "^19.2.8",
|
|
7
|
+
"@angular/core": "^19.2.8"
|
|
8
|
+
},
|
|
9
|
+
"dependencies": {
|
|
10
|
+
"tslib": "2.8.1"
|
|
11
|
+
},
|
|
12
|
+
"module": "fesm2022/valtimo-analyse.mjs",
|
|
13
|
+
"typings": "index.d.ts",
|
|
14
|
+
"exports": {
|
|
15
|
+
"./package.json": {
|
|
16
|
+
"default": "./package.json"
|
|
17
|
+
},
|
|
18
|
+
".": {
|
|
19
|
+
"types": "./index.d.ts",
|
|
20
|
+
"default": "./fesm2022/valtimo-analyse.mjs"
|
|
21
|
+
}
|
|
22
|
+
},
|
|
23
|
+
"sideEffects": false
|
|
24
|
+
}
|
package/public_api.d.ts
ADDED
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"public_api.d.ts","sourceRoot":"","sources":["../../../projects/valtimo/analyse/src/public_api.ts"],"names":[],"mappings":"AAoBA,cAAc,sBAAsB,CAAC;AACrC,cAAc,yBAAyB,CAAC;AACxC,cAAc,cAAc,CAAC"}
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"valtimo-analyse.d.ts","sourceRoot":"","sources":["../../../projects/valtimo/analyse/src/valtimo-analyse.ts"],"names":[],"mappings":"AAAA;;GAEG;;AAEH,cAAc,cAAc,CAAC"}
|