@fluxhub/fluxhub-lib 19.0.113 → 19.0.114
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.
|
@@ -78,6 +78,7 @@ import * as i6$5 from '@angular/cdk/drag-drop';
|
|
|
78
78
|
import { moveItemInArray, DragDropModule } from '@angular/cdk/drag-drop';
|
|
79
79
|
import * as i11 from '@angular/material/radio';
|
|
80
80
|
import { MatRadioModule } from '@angular/material/radio';
|
|
81
|
+
import NavigatedViewer from 'bpmn-js/lib/NavigatedViewer';
|
|
81
82
|
import * as i6$6 from '@angular/material/badge';
|
|
82
83
|
import { MatBadgeModule } from '@angular/material/badge';
|
|
83
84
|
|
|
@@ -32078,6 +32079,204 @@ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "19.2.17", ngImpo
|
|
|
32078
32079
|
args: [MAT_DIALOG_DATA]
|
|
32079
32080
|
}] }] });
|
|
32080
32081
|
|
|
32082
|
+
class BpmnEditorComponent {
|
|
32083
|
+
canvasRef;
|
|
32084
|
+
initialXml;
|
|
32085
|
+
completedSteps = []; // Step completati (es. [10, 20])
|
|
32086
|
+
currentStep; // Step corrente (es. 30)
|
|
32087
|
+
diagramChanged = new EventEmitter();
|
|
32088
|
+
elementSelected = new EventEmitter();
|
|
32089
|
+
modeler;
|
|
32090
|
+
ngAfterViewInit() {
|
|
32091
|
+
// Small delay to ensure DOM is ready
|
|
32092
|
+
setTimeout(() => {
|
|
32093
|
+
this.initializeBpmnEditor();
|
|
32094
|
+
}, 100);
|
|
32095
|
+
}
|
|
32096
|
+
ngOnDestroy() {
|
|
32097
|
+
if (this.modeler) {
|
|
32098
|
+
this.modeler.destroy();
|
|
32099
|
+
}
|
|
32100
|
+
}
|
|
32101
|
+
initializeBpmnEditor() {
|
|
32102
|
+
try {
|
|
32103
|
+
this.modeler = new NavigatedViewer({
|
|
32104
|
+
container: this.canvasRef.nativeElement,
|
|
32105
|
+
keyboard: { bindTo: document }
|
|
32106
|
+
});
|
|
32107
|
+
// Listen for element selection
|
|
32108
|
+
this.modeler.on('selection.changed', (event) => {
|
|
32109
|
+
this.elementSelected.emit(event.newSelection);
|
|
32110
|
+
});
|
|
32111
|
+
// Load initial diagram or create new one
|
|
32112
|
+
if (this.initialXml && this.initialXml.trim() !== '') {
|
|
32113
|
+
this.loadDiagram(this.initialXml);
|
|
32114
|
+
}
|
|
32115
|
+
else {
|
|
32116
|
+
this.createNewDiagram();
|
|
32117
|
+
}
|
|
32118
|
+
}
|
|
32119
|
+
catch (error) {
|
|
32120
|
+
console.error('Error initializing BPMN viewer:', error);
|
|
32121
|
+
this.createNewDiagram();
|
|
32122
|
+
}
|
|
32123
|
+
}
|
|
32124
|
+
createNewDiagram() {
|
|
32125
|
+
const newDiagramXML = `<?xml version="1.0" encoding="UTF-8"?>
|
|
32126
|
+
<bpmn:definitions xmlns:bpmn="http://www.omg.org/spec/BPMN/20100524/MODEL"
|
|
32127
|
+
xmlns:bpmndi="http://www.omg.org/spec/BPMN/20100524/DI"
|
|
32128
|
+
xmlns:dc="http://www.omg.org/spec/DD/20100524/DC"
|
|
32129
|
+
xmlns:di="http://www.omg.org/spec/DD/20100524/DI"
|
|
32130
|
+
id="Definitions_1"
|
|
32131
|
+
targetNamespace="http://bpmn.io/schema/bpmn">
|
|
32132
|
+
<bpmn:process id="Process_1" isExecutable="true">
|
|
32133
|
+
<bpmn:startEvent id="StartEvent_1"/>
|
|
32134
|
+
</bpmn:process>
|
|
32135
|
+
<bpmndi:BPMNDiagram id="BPMNDiagram_1">
|
|
32136
|
+
<bpmndi:BPMNPlane id="BPMNPlane_1" bpmnElement="Process_1">
|
|
32137
|
+
<bpmndi:BPMNShape id="_BPMNShape_StartEvent_2" bpmnElement="StartEvent_1">
|
|
32138
|
+
<dc:Bounds x="179" y="79" width="36" height="36"/>
|
|
32139
|
+
</bpmndi:BPMNShape>
|
|
32140
|
+
</bpmndi:BPMNPlane>
|
|
32141
|
+
</bpmndi:BPMNDiagram>
|
|
32142
|
+
</bpmn:definitions>`;
|
|
32143
|
+
this.loadDiagram(newDiagramXML);
|
|
32144
|
+
}
|
|
32145
|
+
loadDiagram(xml) {
|
|
32146
|
+
this.modeler.importXML(xml).then(() => {
|
|
32147
|
+
const canvas = this.modeler.get('canvas');
|
|
32148
|
+
// Use setTimeout to ensure canvas is fully initialized
|
|
32149
|
+
setTimeout(() => {
|
|
32150
|
+
canvas.zoom('fit-viewport');
|
|
32151
|
+
// Apply colors to steps
|
|
32152
|
+
this.applyStepColors();
|
|
32153
|
+
}, 200);
|
|
32154
|
+
}).catch((err) => {
|
|
32155
|
+
console.error('Error loading BPMN diagram:', err);
|
|
32156
|
+
// Fallback to create new diagram if loading fails
|
|
32157
|
+
this.createNewDiagram();
|
|
32158
|
+
});
|
|
32159
|
+
}
|
|
32160
|
+
// Read-only mode - no save functionality needed
|
|
32161
|
+
// private saveDiagram(): void {
|
|
32162
|
+
// this.modeler.saveXML({ format: true }).then((result: any) => {
|
|
32163
|
+
// this.diagramChanged.emit(result.xml);
|
|
32164
|
+
// }).catch((err: any) => {
|
|
32165
|
+
// console.error('Error saving BPMN diagram:', err);
|
|
32166
|
+
// });
|
|
32167
|
+
// }
|
|
32168
|
+
exportSVG() {
|
|
32169
|
+
return this.modeler.saveSVG({ format: true }).then((result) => {
|
|
32170
|
+
return result.svg;
|
|
32171
|
+
});
|
|
32172
|
+
}
|
|
32173
|
+
exportXML() {
|
|
32174
|
+
return this.modeler.saveXML({ format: true }).then((result) => {
|
|
32175
|
+
return result.xml;
|
|
32176
|
+
});
|
|
32177
|
+
}
|
|
32178
|
+
zoomIn() {
|
|
32179
|
+
const canvas = this.modeler.get('canvas');
|
|
32180
|
+
canvas.zoom(canvas.zoom() + 0.1);
|
|
32181
|
+
}
|
|
32182
|
+
zoomOut() {
|
|
32183
|
+
const canvas = this.modeler.get('canvas');
|
|
32184
|
+
canvas.zoom(canvas.zoom() - 0.1);
|
|
32185
|
+
}
|
|
32186
|
+
zoomFit() {
|
|
32187
|
+
const canvas = this.modeler.get('canvas');
|
|
32188
|
+
canvas.zoom('fit-viewport');
|
|
32189
|
+
}
|
|
32190
|
+
zoomReset() {
|
|
32191
|
+
const canvas = this.modeler.get('canvas');
|
|
32192
|
+
canvas.zoom(1);
|
|
32193
|
+
}
|
|
32194
|
+
/**
|
|
32195
|
+
* Apply colors to BPMN elements based on workflow step status
|
|
32196
|
+
* - Green: completed steps
|
|
32197
|
+
* - Orange: current step
|
|
32198
|
+
*/
|
|
32199
|
+
applyStepColors() {
|
|
32200
|
+
if (!this.modeler)
|
|
32201
|
+
return;
|
|
32202
|
+
const canvas = this.modeler.get('canvas');
|
|
32203
|
+
const elementRegistry = this.modeler.get('elementRegistry');
|
|
32204
|
+
// Get all elements from the diagram
|
|
32205
|
+
const allElements = elementRegistry.getAll();
|
|
32206
|
+
// Apply colors to each element based on step status
|
|
32207
|
+
allElements.forEach((element) => {
|
|
32208
|
+
if (!element.businessObject)
|
|
32209
|
+
return;
|
|
32210
|
+
const elementId = element.id;
|
|
32211
|
+
const elementName = element.businessObject.name || '';
|
|
32212
|
+
// Try to extract step number from element ID or name
|
|
32213
|
+
const stepNumber = this.extractStepNumber(elementId, elementName);
|
|
32214
|
+
if (stepNumber !== null) {
|
|
32215
|
+
// Check if this step is completed
|
|
32216
|
+
if (this.completedSteps.includes(stepNumber)) {
|
|
32217
|
+
canvas.addMarker(elementId, 'highlight-completed');
|
|
32218
|
+
}
|
|
32219
|
+
// Check if this is the current step
|
|
32220
|
+
else if (this.currentStep === stepNumber) {
|
|
32221
|
+
canvas.addMarker(elementId, 'highlight-current');
|
|
32222
|
+
}
|
|
32223
|
+
}
|
|
32224
|
+
});
|
|
32225
|
+
}
|
|
32226
|
+
/**
|
|
32227
|
+
* Extract step number from element ID or name
|
|
32228
|
+
* Supports formats like: "Activity_10", "Task_20", "Step_30", "10", "Step 10", etc.
|
|
32229
|
+
*/
|
|
32230
|
+
extractStepNumber(elementId, elementName) {
|
|
32231
|
+
// Try to extract from ID first (e.g., "Activity_10", "Task_20")
|
|
32232
|
+
const idMatch = elementId.match(/(\d+)$/);
|
|
32233
|
+
if (idMatch) {
|
|
32234
|
+
return parseInt(idMatch[1], 10);
|
|
32235
|
+
}
|
|
32236
|
+
// Try to extract from name (e.g., "Step 10", "10 - Description", "Agenti (10)")
|
|
32237
|
+
const nameMatch = elementName.match(/\b(\d+)\b/);
|
|
32238
|
+
if (nameMatch) {
|
|
32239
|
+
return parseInt(nameMatch[1], 10);
|
|
32240
|
+
}
|
|
32241
|
+
return null;
|
|
32242
|
+
}
|
|
32243
|
+
/**
|
|
32244
|
+
* Update step colors dynamically (call this when step status changes)
|
|
32245
|
+
*/
|
|
32246
|
+
updateStepColors(completedSteps, currentStep) {
|
|
32247
|
+
this.completedSteps = completedSteps;
|
|
32248
|
+
this.currentStep = currentStep;
|
|
32249
|
+
this.applyStepColors();
|
|
32250
|
+
}
|
|
32251
|
+
static ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "19.2.17", ngImport: i0, type: BpmnEditorComponent, deps: [], target: i0.ɵɵFactoryTarget.Component });
|
|
32252
|
+
static ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "14.0.0", version: "19.2.17", type: BpmnEditorComponent, isStandalone: true, selector: "fh-bpmn-editor", inputs: { initialXml: "initialXml", completedSteps: "completedSteps", currentStep: "currentStep" }, outputs: { diagramChanged: "diagramChanged", elementSelected: "elementSelected" }, viewQueries: [{ propertyName: "canvasRef", first: true, predicate: ["canvas"], descendants: true, static: true }], ngImport: i0, template: `
|
|
32253
|
+
<div class="bpmn-container">
|
|
32254
|
+
<div class="bpmn-canvas" #canvas></div>
|
|
32255
|
+
</div>
|
|
32256
|
+
`, isInline: true, styles: [".bpmn-container{height:100%;width:100%;position:relative;background:#f8f9fa}.bpmn-canvas{height:100%;width:100%;background:#fff;border:1px solid #e0e0e0}:host ::ng-deep .highlight-completed .djs-visual>:nth-child(1){fill:#4caf50!important;stroke:#2e7d32!important;fill-opacity:.3!important}:host ::ng-deep .highlight-current .djs-visual>:nth-child(1){fill:#ff9800!important;stroke:#e65100!important;fill-opacity:.4!important}\n"], dependencies: [{ kind: "ngmodule", type: CommonModule }] });
|
|
32257
|
+
}
|
|
32258
|
+
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "19.2.17", ngImport: i0, type: BpmnEditorComponent, decorators: [{
|
|
32259
|
+
type: Component,
|
|
32260
|
+
args: [{ selector: 'fh-bpmn-editor', standalone: true, imports: [CommonModule], template: `
|
|
32261
|
+
<div class="bpmn-container">
|
|
32262
|
+
<div class="bpmn-canvas" #canvas></div>
|
|
32263
|
+
</div>
|
|
32264
|
+
`, styles: [".bpmn-container{height:100%;width:100%;position:relative;background:#f8f9fa}.bpmn-canvas{height:100%;width:100%;background:#fff;border:1px solid #e0e0e0}:host ::ng-deep .highlight-completed .djs-visual>:nth-child(1){fill:#4caf50!important;stroke:#2e7d32!important;fill-opacity:.3!important}:host ::ng-deep .highlight-current .djs-visual>:nth-child(1){fill:#ff9800!important;stroke:#e65100!important;fill-opacity:.4!important}\n"] }]
|
|
32265
|
+
}], propDecorators: { canvasRef: [{
|
|
32266
|
+
type: ViewChild,
|
|
32267
|
+
args: ['canvas', { static: true }]
|
|
32268
|
+
}], initialXml: [{
|
|
32269
|
+
type: Input
|
|
32270
|
+
}], completedSteps: [{
|
|
32271
|
+
type: Input
|
|
32272
|
+
}], currentStep: [{
|
|
32273
|
+
type: Input
|
|
32274
|
+
}], diagramChanged: [{
|
|
32275
|
+
type: Output
|
|
32276
|
+
}], elementSelected: [{
|
|
32277
|
+
type: Output
|
|
32278
|
+
}] } });
|
|
32279
|
+
|
|
32081
32280
|
class win_log_v2 {
|
|
32082
32281
|
dialogRef;
|
|
32083
32282
|
m_dialogRef;
|
|
@@ -32093,7 +32292,9 @@ class win_log_v2 {
|
|
|
32093
32292
|
not_comm = false;
|
|
32094
32293
|
not_comm_disabled = false;
|
|
32095
32294
|
op = '';
|
|
32096
|
-
|
|
32295
|
+
diagramma_flusso = '';
|
|
32296
|
+
completedSteps = [];
|
|
32297
|
+
currentStep = 0;
|
|
32097
32298
|
ric_all() {
|
|
32098
32299
|
this.refresh_list();
|
|
32099
32300
|
}
|
|
@@ -32109,16 +32310,79 @@ class win_log_v2 {
|
|
|
32109
32310
|
zz;
|
|
32110
32311
|
b_flussook = true;
|
|
32111
32312
|
load_graph() {
|
|
32112
|
-
|
|
32113
|
-
|
|
32114
|
-
|
|
32115
|
-
|
|
32116
|
-
|
|
32117
|
-
|
|
32118
|
-
|
|
32119
|
-
|
|
32120
|
-
|
|
32121
|
-
|
|
32313
|
+
// Load BPMN diagram from database
|
|
32314
|
+
const p = new QParam();
|
|
32315
|
+
p.sql = 'SELECT_WKF_BY_ID';
|
|
32316
|
+
p.types = ['string'];
|
|
32317
|
+
p.values = [this.m_appService.getState().wkf_doc_info.uiid_app];
|
|
32318
|
+
this._dataService.doQuery(p).subscribe({
|
|
32319
|
+
next: (response) => {
|
|
32320
|
+
if (response && response.result_msg === 'OK' && response.result_data) {
|
|
32321
|
+
if (response.result_data.length > 0) {
|
|
32322
|
+
const diagram = response.result_data[0].diagramma_flusso;
|
|
32323
|
+
if (diagram && diagram.trim() !== '') {
|
|
32324
|
+
this.diagramma_flusso = diagram;
|
|
32325
|
+
}
|
|
32326
|
+
}
|
|
32327
|
+
}
|
|
32328
|
+
// Load workflow step status
|
|
32329
|
+
this.loadWorkflowStepStatus();
|
|
32330
|
+
},
|
|
32331
|
+
error: (error) => {
|
|
32332
|
+
console.error('Error loading workflow diagram:', error);
|
|
32333
|
+
}
|
|
32334
|
+
});
|
|
32335
|
+
}
|
|
32336
|
+
loadWorkflowStepStatus() {
|
|
32337
|
+
// Get current workflow document info
|
|
32338
|
+
const p = new QParam();
|
|
32339
|
+
p.sql = 'SELECT_DOCUMENTS_BY_UIID';
|
|
32340
|
+
p.types = ['string', 'string'];
|
|
32341
|
+
p.values = [
|
|
32342
|
+
this.m_appService.getState().wkf_doc_info.uiid_app,
|
|
32343
|
+
this.m_appService.getState().wkf_doc_info.uiid_doc,
|
|
32344
|
+
];
|
|
32345
|
+
this._dataService.doQuery(p).subscribe({
|
|
32346
|
+
next: (response) => {
|
|
32347
|
+
if (response && response.result_msg === 'OK' && response.result_data) {
|
|
32348
|
+
if (response.result_data.length > 0) {
|
|
32349
|
+
const doc = response.result_data[0];
|
|
32350
|
+
this.currentStep = doc.stato;
|
|
32351
|
+
// Calculate completed steps from logs
|
|
32352
|
+
this.calculateCompletedStepsFromLogs();
|
|
32353
|
+
}
|
|
32354
|
+
}
|
|
32355
|
+
},
|
|
32356
|
+
error: (error) => {
|
|
32357
|
+
console.error('Error loading workflow status:', error);
|
|
32358
|
+
}
|
|
32359
|
+
});
|
|
32360
|
+
}
|
|
32361
|
+
calculateCompletedStepsFromLogs() {
|
|
32362
|
+
// Extract unique step numbers from logs (operazione field may contain step info)
|
|
32363
|
+
// Common step numbers: 10, 20, 30, 40, 50, etc. (900+ are final states)
|
|
32364
|
+
const stepNumbers = new Set();
|
|
32365
|
+
// Parse logs to find step transitions
|
|
32366
|
+
this.logs.forEach((log) => {
|
|
32367
|
+
// Try to extract step number from operation text
|
|
32368
|
+
// Example: "Step 10 → 20" or "Passaggio a step 30"
|
|
32369
|
+
const matches = log.operazione?.match(/\b(\d+)\b/g);
|
|
32370
|
+
if (matches) {
|
|
32371
|
+
matches.forEach((match) => {
|
|
32372
|
+
const stepNum = parseInt(match, 10);
|
|
32373
|
+
// Only consider valid workflow steps (10-890, excluding 900+)
|
|
32374
|
+
if (stepNum >= 10 && stepNum < 900) {
|
|
32375
|
+
stepNumbers.add(stepNum);
|
|
32376
|
+
}
|
|
32377
|
+
});
|
|
32378
|
+
}
|
|
32379
|
+
});
|
|
32380
|
+
// Add all steps less than current step (assumption: sequential workflow)
|
|
32381
|
+
// Common step increments: 10, 20, 30, 40, 50...
|
|
32382
|
+
for (let step = 10; step < this.currentStep && step < 900; step += 10) {
|
|
32383
|
+
stepNumbers.add(step);
|
|
32384
|
+
}
|
|
32385
|
+
this.completedSteps = Array.from(stepNumbers).sort((a, b) => a - b);
|
|
32122
32386
|
}
|
|
32123
32387
|
logs = new Array();
|
|
32124
32388
|
notifica_commenti = 1;
|
|
@@ -32413,13 +32677,16 @@ class win_log_v2 {
|
|
|
32413
32677
|
<div [style.height]="m_appService.getState().body_h - 130 + 'px'">
|
|
32414
32678
|
<mat-tab-group #zz style="width:100%">
|
|
32415
32679
|
<mat-tab label="WORKFLOW" *ngIf="b_flussook">
|
|
32416
|
-
<div [style.height]="m_appService.getState().body_h - 170 + 'px'">
|
|
32417
|
-
<
|
|
32418
|
-
|
|
32419
|
-
|
|
32420
|
-
[
|
|
32421
|
-
|
|
32422
|
-
></
|
|
32680
|
+
<div [style.height]="m_appService.getState().body_h - 170 + 'px'" style="width:100%">
|
|
32681
|
+
<fh-bpmn-editor
|
|
32682
|
+
*ngIf="diagramma_flusso"
|
|
32683
|
+
[initialXml]="diagramma_flusso"
|
|
32684
|
+
[completedSteps]="completedSteps"
|
|
32685
|
+
[currentStep]="currentStep"
|
|
32686
|
+
></fh-bpmn-editor>
|
|
32687
|
+
<div *ngIf="!diagramma_flusso" style="display:flex;align-items:center;justify-content:center;height:100%">
|
|
32688
|
+
<p>Nessun diagramma disponibile</p>
|
|
32689
|
+
</div>
|
|
32423
32690
|
</div>
|
|
32424
32691
|
</mat-tab>
|
|
32425
32692
|
|
|
@@ -32526,7 +32793,7 @@ class win_log_v2 {
|
|
|
32526
32793
|
</mat-tab-group>
|
|
32527
32794
|
</div>
|
|
32528
32795
|
</div>
|
|
32529
|
-
`, isInline: true, styles: [""], dependencies: [{ kind: "ngmodule", type: MatTooltipModule }, { kind: "directive", type: i8.MatTooltip, selector: "[matTooltip]", inputs: ["matTooltipPosition", "matTooltipPositionAtOrigin", "matTooltipDisabled", "matTooltipShowDelay", "matTooltipHideDelay", "matTooltipTouchGestures", "matTooltip", "matTooltipClass"], exportAs: ["matTooltip"] }, { kind: "ngmodule", type: FormsModule }, { kind: "directive", type: i6$2.NgControlStatus, selector: "[formControlName],[ngModel],[formControl]" }, { kind: "directive", type: i6$2.NgModel, selector: "[ngModel]:not([formControlName]):not([formControl])", inputs: ["name", "disabled", "ngModel", "ngModelOptions"], outputs: ["ngModelChange"], exportAs: ["ngModel"] }, { kind: "ngmodule", type: MatCheckboxModule }, { kind: "component", type: i2.MatCheckbox, selector: "mat-checkbox", inputs: ["aria-label", "aria-labelledby", "aria-describedby", "aria-expanded", "aria-controls", "aria-owns", "id", "required", "labelPosition", "name", "value", "disableRipple", "tabIndex", "color", "disabledInteractive", "checked", "disabled", "indeterminate"], outputs: ["change", "indeterminateChange"], exportAs: ["matCheckbox"] }, { kind: "ngmodule", type: MatIconModule }, { kind: "component", type: i4.MatIcon, selector: "mat-icon", inputs: ["color", "inline", "svgIcon", "fontSet", "fontIcon"], exportAs: ["matIcon"] }, { kind: "ngmodule", type: TranslateModule }, { kind: "pipe", type: i3$2.TranslatePipe, name: "translate" }, { kind: "ngmodule", type: MatButtonModule }, { kind: "component", type: i8$2.MatButton, selector: " button[mat-button], button[mat-raised-button], button[mat-flat-button], button[mat-stroked-button] ", exportAs: ["matButton"] }, { kind: "ngmodule", type: CommonModule }, { kind: "directive", type: i5.NgClass, selector: "[ngClass]", inputs: ["class", "ngClass"] }, { kind: "directive", type: i5.NgForOf, selector: "[ngFor][ngForOf]", inputs: ["ngForOf", "ngForTrackBy", "ngForTemplate"] }, { kind: "directive", type: i5.NgIf, selector: "[ngIf]", inputs: ["ngIf", "ngIfThen", "ngIfElse"] }, { kind: "pipe", type: i5.DatePipe, name: "date" }, { kind: "ngmodule", type: MatDialogModule }, { kind: "ngmodule", type: MatTabsModule }, { kind: "component", type: i5$2.MatTab, selector: "mat-tab", inputs: ["disabled", "label", "aria-label", "aria-labelledby", "labelClass", "bodyClass", "id"], exportAs: ["matTab"] }, { kind: "component", type: i5$2.MatTabGroup, selector: "mat-tab-group", inputs: ["color", "fitInkBarToContent", "mat-stretch-tabs", "mat-align-tabs", "dynamicHeight", "selectedIndex", "headerPosition", "animationDuration", "contentTabIndex", "disablePagination", "disableRipple", "preserveContent", "backgroundColor", "aria-label", "aria-labelledby"], outputs: ["selectedIndexChange", "focusChange", "animationDone", "selectedTabChange"], exportAs: ["matTabGroup"] }, { kind: "
|
|
32796
|
+
`, isInline: true, styles: [""], dependencies: [{ kind: "ngmodule", type: MatTooltipModule }, { kind: "directive", type: i8.MatTooltip, selector: "[matTooltip]", inputs: ["matTooltipPosition", "matTooltipPositionAtOrigin", "matTooltipDisabled", "matTooltipShowDelay", "matTooltipHideDelay", "matTooltipTouchGestures", "matTooltip", "matTooltipClass"], exportAs: ["matTooltip"] }, { kind: "ngmodule", type: FormsModule }, { kind: "directive", type: i6$2.NgControlStatus, selector: "[formControlName],[ngModel],[formControl]" }, { kind: "directive", type: i6$2.NgModel, selector: "[ngModel]:not([formControlName]):not([formControl])", inputs: ["name", "disabled", "ngModel", "ngModelOptions"], outputs: ["ngModelChange"], exportAs: ["ngModel"] }, { kind: "ngmodule", type: MatCheckboxModule }, { kind: "component", type: i2.MatCheckbox, selector: "mat-checkbox", inputs: ["aria-label", "aria-labelledby", "aria-describedby", "aria-expanded", "aria-controls", "aria-owns", "id", "required", "labelPosition", "name", "value", "disableRipple", "tabIndex", "color", "disabledInteractive", "checked", "disabled", "indeterminate"], outputs: ["change", "indeterminateChange"], exportAs: ["matCheckbox"] }, { kind: "ngmodule", type: MatIconModule }, { kind: "component", type: i4.MatIcon, selector: "mat-icon", inputs: ["color", "inline", "svgIcon", "fontSet", "fontIcon"], exportAs: ["matIcon"] }, { kind: "ngmodule", type: TranslateModule }, { kind: "pipe", type: i3$2.TranslatePipe, name: "translate" }, { kind: "ngmodule", type: MatButtonModule }, { kind: "component", type: i8$2.MatButton, selector: " button[mat-button], button[mat-raised-button], button[mat-flat-button], button[mat-stroked-button] ", exportAs: ["matButton"] }, { kind: "ngmodule", type: CommonModule }, { kind: "directive", type: i5.NgClass, selector: "[ngClass]", inputs: ["class", "ngClass"] }, { kind: "directive", type: i5.NgForOf, selector: "[ngFor][ngForOf]", inputs: ["ngForOf", "ngForTrackBy", "ngForTemplate"] }, { kind: "directive", type: i5.NgIf, selector: "[ngIf]", inputs: ["ngIf", "ngIfThen", "ngIfElse"] }, { kind: "pipe", type: i5.DatePipe, name: "date" }, { kind: "ngmodule", type: MatDialogModule }, { kind: "ngmodule", type: MatTabsModule }, { kind: "component", type: i5$2.MatTab, selector: "mat-tab", inputs: ["disabled", "label", "aria-label", "aria-labelledby", "labelClass", "bodyClass", "id"], exportAs: ["matTab"] }, { kind: "component", type: i5$2.MatTabGroup, selector: "mat-tab-group", inputs: ["color", "fitInkBarToContent", "mat-stretch-tabs", "mat-align-tabs", "dynamicHeight", "selectedIndex", "headerPosition", "animationDuration", "contentTabIndex", "disablePagination", "disableRipple", "preserveContent", "backgroundColor", "aria-label", "aria-labelledby"], outputs: ["selectedIndexChange", "focusChange", "animationDone", "selectedTabChange"], exportAs: ["matTabGroup"] }, { kind: "component", type: FHTextAreaComponent, selector: "FHTextArea", inputs: ["hidden", "label", "enabled", "required", "rows", "error"], outputs: ["change", "focusout", "focusin"] }, { kind: "ngmodule", type: MatFormFieldModule }, { kind: "component", type: BpmnEditorComponent, selector: "fh-bpmn-editor", inputs: ["initialXml", "completedSteps", "currentStep"], outputs: ["diagramChanged", "elementSelected"] }] });
|
|
32530
32797
|
}
|
|
32531
32798
|
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "19.2.17", ngImport: i0, type: win_log_v2, decorators: [{
|
|
32532
32799
|
type: Component,
|
|
@@ -32540,10 +32807,9 @@ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "19.2.17", ngImpo
|
|
|
32540
32807
|
CommonModule,
|
|
32541
32808
|
MatDialogModule,
|
|
32542
32809
|
MatTabsModule,
|
|
32543
|
-
SafePipe,
|
|
32544
|
-
MatIconModule,
|
|
32545
32810
|
FHTextAreaComponent,
|
|
32546
|
-
MatFormFieldModule
|
|
32811
|
+
MatFormFieldModule,
|
|
32812
|
+
BpmnEditorComponent
|
|
32547
32813
|
], template: `
|
|
32548
32814
|
<div fxLayout="column">
|
|
32549
32815
|
<div fxLayout="row" class="dialog_header">
|
|
@@ -32562,13 +32828,16 @@ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "19.2.17", ngImpo
|
|
|
32562
32828
|
<div [style.height]="m_appService.getState().body_h - 130 + 'px'">
|
|
32563
32829
|
<mat-tab-group #zz style="width:100%">
|
|
32564
32830
|
<mat-tab label="WORKFLOW" *ngIf="b_flussook">
|
|
32565
|
-
<div [style.height]="m_appService.getState().body_h - 170 + 'px'">
|
|
32566
|
-
<
|
|
32567
|
-
|
|
32568
|
-
|
|
32569
|
-
[
|
|
32570
|
-
|
|
32571
|
-
></
|
|
32831
|
+
<div [style.height]="m_appService.getState().body_h - 170 + 'px'" style="width:100%">
|
|
32832
|
+
<fh-bpmn-editor
|
|
32833
|
+
*ngIf="diagramma_flusso"
|
|
32834
|
+
[initialXml]="diagramma_flusso"
|
|
32835
|
+
[completedSteps]="completedSteps"
|
|
32836
|
+
[currentStep]="currentStep"
|
|
32837
|
+
></fh-bpmn-editor>
|
|
32838
|
+
<div *ngIf="!diagramma_flusso" style="display:flex;align-items:center;justify-content:center;height:100%">
|
|
32839
|
+
<p>Nessun diagramma disponibile</p>
|
|
32840
|
+
</div>
|
|
32572
32841
|
</div>
|
|
32573
32842
|
</mat-tab>
|
|
32574
32843
|
|
|
@@ -36423,5 +36692,5 @@ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "19.2.17", ngImpo
|
|
|
36423
36692
|
* Generated bundle index. Do not edit.
|
|
36424
36693
|
*/
|
|
36425
36694
|
|
|
36426
|
-
export { AppMakerService, AppService, ApprovaGridComponent, AuthHttpRequestInterceptor, AuthenticationService, CheckboxEditorComponent, ComboBoxEditorComponent, CurrencyComponent, FHAutoCompleteComponent, FHCheckBoxComponent, FHColorPickerComponent, FHComboboxComponent, FHConfirmValues, FHCurrencyFormatterDirective, FHCurrencyPipe, FHDatePickerComponent, FHDateRangePickerComponent, FHFieldPickListComponent, FHFilterComboboxComponent, FHFormBuilderComponent, FHFormExecuterComponent, FHFormToolBarComponent, FHGridComponent, FHGridJSONComponent, FHGridToolBarComponent, FHGuard, FHHelpButtonComponent, FHImageViewerComponent, FHListComponent, FHLogPanelComponent, FHMultiComboboxComponent, FHNotesPanelComponent, FHNumericFieldComponent, FHPickFieldComponent, FHPickUsersComponent, FHRichTextComponent, FHRoleManagerComponent, FHTableManagerComponent, FHTextAreaComponent, FHTextInputComponent, FHTimePickerComponent, FHToolbarCommandType, FHUploadComponent, FHUploadPanelComponent, FHUploadPanelS3Component, FHUploadS3Component, FHUserFieldComponent, FHWinAppLogsComponent, FHWinAskBigTextComponent, FHWinAskButtonsComponent, FHWinAskNumberComponent, FHWinAskRichTextComponent, FHWinAskTextComponent, FHWinAutoComplete, FHWinComboComponent, FHWinConfirmComponent, FHWinErrorComponent, FHWinGridSelection, FHWinInfoComponent, FHWinListComponent, FHWinMappaComponent, FHWinOutputComponent, FHWinPicklistComponent, FHWinSalvaAnnulla, FHWinSelectByGridComponent, FHWinShowEmail, FHWinShowEmailS3, FHWinShowImage, FHWinShowLog, FHWinShowLogDett, FHWinTimeSlider, FHWinUploadComponent, FHWinUserInfo, FHWinUserPickerComponent, FHWinWaitComponent, FHWorkflowForm, FHWorkflowHeaderBar, FHWorkflowView, FSInput, FSResult, FileService, GridService, LocalDBService, MonthYearPickerComponent, NumericEditorComponent, OdbcService, OfficeAutomatorService, OfficeOperation, OfficeResult, QGParam, QGResult, QParam, QResult, QueryOpenService, QueryService, RegistrationService, ReplaceLineBreaks, SafePipe, TextAreaEditorComponent, UtilityService, WkfService, YearPickerComponent, createButtonCommand, createCheckboxCommand, createSpacerCommand, createTableManagerCommand };
|
|
36695
|
+
export { AppMakerService, AppService, ApprovaGridComponent, AuthHttpRequestInterceptor, AuthenticationService, BpmnEditorComponent, CheckboxEditorComponent, ComboBoxEditorComponent, CurrencyComponent, FHAutoCompleteComponent, FHCheckBoxComponent, FHColorPickerComponent, FHComboboxComponent, FHConfirmValues, FHCurrencyFormatterDirective, FHCurrencyPipe, FHDatePickerComponent, FHDateRangePickerComponent, FHFieldPickListComponent, FHFilterComboboxComponent, FHFormBuilderComponent, FHFormExecuterComponent, FHFormToolBarComponent, FHGridComponent, FHGridJSONComponent, FHGridToolBarComponent, FHGuard, FHHelpButtonComponent, FHImageViewerComponent, FHListComponent, FHLogPanelComponent, FHMultiComboboxComponent, FHNotesPanelComponent, FHNumericFieldComponent, FHPickFieldComponent, FHPickUsersComponent, FHRichTextComponent, FHRoleManagerComponent, FHTableManagerComponent, FHTextAreaComponent, FHTextInputComponent, FHTimePickerComponent, FHToolbarCommandType, FHUploadComponent, FHUploadPanelComponent, FHUploadPanelS3Component, FHUploadS3Component, FHUserFieldComponent, FHWinAppLogsComponent, FHWinAskBigTextComponent, FHWinAskButtonsComponent, FHWinAskNumberComponent, FHWinAskRichTextComponent, FHWinAskTextComponent, FHWinAutoComplete, FHWinComboComponent, FHWinConfirmComponent, FHWinErrorComponent, FHWinGridSelection, FHWinInfoComponent, FHWinListComponent, FHWinMappaComponent, FHWinOutputComponent, FHWinPicklistComponent, FHWinSalvaAnnulla, FHWinSelectByGridComponent, FHWinShowEmail, FHWinShowEmailS3, FHWinShowImage, FHWinShowLog, FHWinShowLogDett, FHWinTimeSlider, FHWinUploadComponent, FHWinUserInfo, FHWinUserPickerComponent, FHWinWaitComponent, FHWorkflowForm, FHWorkflowHeaderBar, FHWorkflowView, FSInput, FSResult, FileService, GridService, LocalDBService, MonthYearPickerComponent, NumericEditorComponent, OdbcService, OfficeAutomatorService, OfficeOperation, OfficeResult, QGParam, QGResult, QParam, QResult, QueryOpenService, QueryService, RegistrationService, ReplaceLineBreaks, SafePipe, TextAreaEditorComponent, UtilityService, WkfService, YearPickerComponent, createButtonCommand, createCheckboxCommand, createSpacerCommand, createTableManagerCommand };
|
|
36427
36696
|
//# sourceMappingURL=fluxhub-fluxhub-lib.mjs.map
|