@fluxhub/fluxhub-lib 10.0.740 → 10.0.741
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/bundles/fluxhub-fluxhub-lib.umd.js +2 -79
- package/bundles/fluxhub-fluxhub-lib.umd.js.map +1 -1
- package/bundles/fluxhub-fluxhub-lib.umd.min.js +1 -1
- package/bundles/fluxhub-fluxhub-lib.umd.min.js.map +1 -1
- package/esm2015/lib/wkf_engine_v2/win_select_level.js +8 -8
- package/esm2015/lib/wkf_engine_v2/wkfdatiaggiuntivi.js +2 -79
- package/fesm2015/fluxhub-fluxhub-lib.js +8 -85
- package/fesm2015/fluxhub-fluxhub-lib.js.map +1 -1
- package/fluxhub-fluxhub-lib.metadata.json +1 -1
- package/package.json +1 -1
|
@@ -23868,23 +23868,23 @@ class win_select_level_v2 {
|
|
|
23868
23868
|
win_select_level_v2.decorators = [
|
|
23869
23869
|
{ type: Component, args: [{
|
|
23870
23870
|
template: `
|
|
23871
|
-
<div
|
|
23872
|
-
<div
|
|
23871
|
+
<div fxLayout="column">
|
|
23872
|
+
<div fxFlex="100" fxLayout="row" fxLayoutAlign="start center" class="dialog_header">
|
|
23873
23873
|
|
|
23874
|
-
<div
|
|
23874
|
+
<div fxLayout="row" fxLayoutAlign="start center" fxFlex="90"><div>{{title|translate}}</div></div>
|
|
23875
23875
|
|
|
23876
|
-
<div
|
|
23877
|
-
<div><img
|
|
23876
|
+
<div fxFlex="10" fxLayout="row" fxLayoutAlign="end center">
|
|
23877
|
+
<div><img src="assets/icons/x.png" style="cursor: pointer;" (click)="dialogRef.close(null)" /> </div>
|
|
23878
23878
|
</div>
|
|
23879
23879
|
|
|
23880
23880
|
</div>
|
|
23881
23881
|
|
|
23882
23882
|
|
|
23883
23883
|
<mat-dialog-content>
|
|
23884
|
-
<hr
|
|
23884
|
+
<hr width="100%" size="0.5" color="#DDDDDD">
|
|
23885
23885
|
|
|
23886
23886
|
<br />
|
|
23887
|
-
<div
|
|
23887
|
+
<div fxLayout="column" fxLayoutGap="5px">
|
|
23888
23888
|
<div *ngFor="let app of trans">
|
|
23889
23889
|
<button mat-raised-button [style.background-color]="app.color" (click)="sel(app)"
|
|
23890
23890
|
[style.color]="app.color_font" style="font-weight:bold;font-size:18px;min-width:300px">
|
|
@@ -24552,83 +24552,6 @@ class dati_aggiuntivi_v2 {
|
|
|
24552
24552
|
this.clevel = this.check_n_levels(this.clevel);
|
|
24553
24553
|
this.calcolanextandjump();
|
|
24554
24554
|
}
|
|
24555
|
-
/*
|
|
24556
|
-
selectLevel() {
|
|
24557
|
-
let p: QParam = new QParam();
|
|
24558
|
-
p.sql = "SELECT_TRANSAZIONI_FROM_LVL";
|
|
24559
|
-
p.values = [this.id_applicativo, this.clevel.step];
|
|
24560
|
-
p.types = ["string", "int"];
|
|
24561
|
-
this.m_dataService.doQuery(p).subscribe((data) => {
|
|
24562
|
-
if(data.result_data.length==0){
|
|
24563
|
-
this.alert('Nessuna transizione definita',1);
|
|
24564
|
-
return;
|
|
24565
|
-
}
|
|
24566
|
-
|
|
24567
|
-
|
|
24568
|
-
|
|
24569
|
-
});
|
|
24570
|
-
|
|
24571
|
-
this.app_s.getState().wkf_doc_info.livs = this.livs;
|
|
24572
|
-
this.app_s.getState().wkf_doc_info.cl = this.clevel;
|
|
24573
|
-
|
|
24574
|
-
let dialogRef = this.m_dialog.open(win_select_level_v2, {
|
|
24575
|
-
disableClose: true,
|
|
24576
|
-
});
|
|
24577
|
-
|
|
24578
|
-
dialogRef.afterClosed().subscribe((result) => {
|
|
24579
|
-
if (result == null) {
|
|
24580
|
-
this.edit_b(true);
|
|
24581
|
-
return;
|
|
24582
|
-
}
|
|
24583
|
-
let liv: number = result;
|
|
24584
|
-
if (result.descri_livello == "Prosegui a step successivo") {
|
|
24585
|
-
this.calcolanextandjump();
|
|
24586
|
-
return;
|
|
24587
|
-
}
|
|
24588
|
-
|
|
24589
|
-
if (result.descri_livello == "Prosegui a chiusura") {
|
|
24590
|
-
liv = 0;
|
|
24591
|
-
for (var i: number = 0; i < this.livs.length; i++)
|
|
24592
|
-
if (
|
|
24593
|
-
this.livs[i].step < 900 &&
|
|
24594
|
-
this.livs[i].step > liv &&
|
|
24595
|
-
this.livs[i].notifica == 0
|
|
24596
|
-
) {
|
|
24597
|
-
this.clevel = this.livs[i];
|
|
24598
|
-
liv = this.livs[i].step;
|
|
24599
|
-
}
|
|
24600
|
-
this.calcolanextandjump();
|
|
24601
|
-
return;
|
|
24602
|
-
}
|
|
24603
|
-
|
|
24604
|
-
liv = this.wkf_rule(liv);
|
|
24605
|
-
var bfound: Boolean = false;
|
|
24606
|
-
for (var i: number = 0; i < this.livs.length; i++)
|
|
24607
|
-
if (
|
|
24608
|
-
this.user_idp.toUpperCase() == this.livs[i].username.toUpperCase() &&
|
|
24609
|
-
this.livs[i].notifica == 0
|
|
24610
|
-
)
|
|
24611
|
-
if (this.livs[i].step == liv) {
|
|
24612
|
-
this.nlevel = this.livs[i];
|
|
24613
|
-
liv = this.livs[i].step;
|
|
24614
|
-
|
|
24615
|
-
bfound = true;
|
|
24616
|
-
}
|
|
24617
|
-
|
|
24618
|
-
if (!bfound) {
|
|
24619
|
-
for (var i: number = 0; i < this.livs.length; i++)
|
|
24620
|
-
if (this.livs[i].step == liv && this.livs[i].notifica == 0) {
|
|
24621
|
-
this.nlevel = this.livs[i];
|
|
24622
|
-
liv = this.livs[i].step;
|
|
24623
|
-
|
|
24624
|
-
break;
|
|
24625
|
-
}
|
|
24626
|
-
}
|
|
24627
|
-
|
|
24628
|
-
// this.doJump();
|
|
24629
|
-
});
|
|
24630
|
-
}
|
|
24631
|
-
*/
|
|
24632
24555
|
wkf_rule_before(transazioni, step, context) {
|
|
24633
24556
|
return transazioni;
|
|
24634
24557
|
}
|
|
@@ -24652,7 +24575,7 @@ class dati_aggiuntivi_v2 {
|
|
|
24652
24575
|
}
|
|
24653
24576
|
else {
|
|
24654
24577
|
let dialogRef = this.m_dialog.open(win_select_level_v2, {
|
|
24655
|
-
disableClose: true, data: transazioni
|
|
24578
|
+
disableClose: true, data: transazioni
|
|
24656
24579
|
});
|
|
24657
24580
|
dialogRef.afterClosed().subscribe((result) => {
|
|
24658
24581
|
console.log('ris select level', result);
|