@fluxhub/fluxhub-lib 19.0.103 → 19.0.105
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.
|
@@ -32903,32 +32903,29 @@ class win_select_level_v2 {
|
|
|
32903
32903
|
<hr />
|
|
32904
32904
|
|
|
32905
32905
|
<mat-dialog-content style="padding: 20px;">
|
|
32906
|
-
<div style="display: flex; flex-direction: column; gap:
|
|
32907
|
-
<
|
|
32908
|
-
mat-flat-button
|
|
32906
|
+
<div style="display: flex; flex-direction: column; gap: 10px;">
|
|
32907
|
+
<div
|
|
32909
32908
|
*ngFor="let app of trans"
|
|
32910
|
-
|
|
32911
|
-
[style.color]="app.
|
|
32912
|
-
|
|
32913
|
-
style="
|
|
32914
|
-
|
|
32909
|
+
class="custom-level-button"
|
|
32910
|
+
[style.border-left-color]="app.color"
|
|
32911
|
+
[style.background-color]="app.background_color || '#fafafa'"
|
|
32912
|
+
[style.color]="app.color_font || '#1e2755'"
|
|
32913
|
+
(click)="sel(app)">
|
|
32914
|
+
<i *ngIf="app.icon && app.icon!=''" [ngClass]="'fa ' + app.icon" aria-hidden="true"></i>
|
|
32915
32915
|
<span>{{ app.description | translate }}</span>
|
|
32916
|
-
</
|
|
32916
|
+
</div>
|
|
32917
32917
|
</div>
|
|
32918
32918
|
</mat-dialog-content>
|
|
32919
32919
|
</div>
|
|
32920
|
-
`, isInline: true, dependencies: [{ kind: "ngmodule", type: TranslateModule }, { kind: "pipe", type: i3$2.TranslatePipe, name: "translate" }, { 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: "ngmodule", type: MatDialogModule }, { kind: "directive", type: i1$2.MatDialogContent, selector: "[mat-dialog-content], mat-dialog-content, [matDialogContent]" }
|
|
32920
|
+
`, isInline: true, styles: [".custom-level-button{position:relative;display:flex;align-items:center;gap:12px;padding:16px 20px;border-left:4px solid #ccc;cursor:pointer;transition:all .3s ease;font-size:16px;font-weight:500;-webkit-user-select:none;user-select:none}.custom-level-button:hover{padding-left:24px;box-shadow:0 2px 8px #0000001a;filter:brightness(.95)}.custom-level-button:active{filter:brightness(.9)}.custom-level-button i{font-size:18px}.custom-level-button span{flex:1}\n"], dependencies: [{ kind: "ngmodule", type: TranslateModule }, { kind: "pipe", type: i3$2.TranslatePipe, name: "translate" }, { 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: "ngmodule", type: MatDialogModule }, { kind: "directive", type: i1$2.MatDialogContent, selector: "[mat-dialog-content], mat-dialog-content, [matDialogContent]" }] });
|
|
32921
32921
|
}
|
|
32922
32922
|
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "19.2.17", ngImport: i0, type: win_select_level_v2, decorators: [{
|
|
32923
32923
|
type: Component,
|
|
32924
|
-
args: [{
|
|
32925
|
-
imports: [
|
|
32924
|
+
args: [{ imports: [
|
|
32926
32925
|
TranslateModule,
|
|
32927
32926
|
CommonModule,
|
|
32928
|
-
MatDialogModule
|
|
32929
|
-
|
|
32930
|
-
],
|
|
32931
|
-
template: `
|
|
32927
|
+
MatDialogModule
|
|
32928
|
+
], template: `
|
|
32932
32929
|
<div style="display: flex; flex-direction: column;">
|
|
32933
32930
|
<div class="dialog_header" style="display: flex; flex-direction: row;">
|
|
32934
32931
|
<div style="width: 90%; display: flex; align-items: center; padding-left: 20px;">
|
|
@@ -32945,22 +32942,21 @@ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "19.2.17", ngImpo
|
|
|
32945
32942
|
<hr />
|
|
32946
32943
|
|
|
32947
32944
|
<mat-dialog-content style="padding: 20px;">
|
|
32948
|
-
<div style="display: flex; flex-direction: column; gap:
|
|
32949
|
-
<
|
|
32950
|
-
mat-flat-button
|
|
32945
|
+
<div style="display: flex; flex-direction: column; gap: 10px;">
|
|
32946
|
+
<div
|
|
32951
32947
|
*ngFor="let app of trans"
|
|
32952
|
-
|
|
32953
|
-
[style.color]="app.
|
|
32954
|
-
|
|
32955
|
-
style="
|
|
32956
|
-
|
|
32948
|
+
class="custom-level-button"
|
|
32949
|
+
[style.border-left-color]="app.color"
|
|
32950
|
+
[style.background-color]="app.background_color || '#fafafa'"
|
|
32951
|
+
[style.color]="app.color_font || '#1e2755'"
|
|
32952
|
+
(click)="sel(app)">
|
|
32953
|
+
<i *ngIf="app.icon && app.icon!=''" [ngClass]="'fa ' + app.icon" aria-hidden="true"></i>
|
|
32957
32954
|
<span>{{ app.description | translate }}</span>
|
|
32958
|
-
</
|
|
32955
|
+
</div>
|
|
32959
32956
|
</div>
|
|
32960
32957
|
</mat-dialog-content>
|
|
32961
32958
|
</div>
|
|
32962
|
-
`,
|
|
32963
|
-
}]
|
|
32959
|
+
`, styles: [".custom-level-button{position:relative;display:flex;align-items:center;gap:12px;padding:16px 20px;border-left:4px solid #ccc;cursor:pointer;transition:all .3s ease;font-size:16px;font-weight:500;-webkit-user-select:none;user-select:none}.custom-level-button:hover{padding-left:24px;box-shadow:0 2px 8px #0000001a;filter:brightness(.95)}.custom-level-button:active{filter:brightness(.9)}.custom-level-button i{font-size:18px}.custom-level-button span{flex:1}\n"] }]
|
|
32964
32960
|
}], ctorParameters: () => [{ type: i1$2.MatDialogRef }, { type: i3.ToastrService }, { type: i3$2.TranslateService }, { type: undefined, decorators: [{
|
|
32965
32961
|
type: Inject,
|
|
32966
32962
|
args: [MAT_DIALOG_DATA]
|
|
@@ -33514,11 +33510,10 @@ class FHWorkflowForm {
|
|
|
33514
33510
|
' non presenta utenti partecipanti validi', 1);
|
|
33515
33511
|
return;
|
|
33516
33512
|
}
|
|
33517
|
-
|
|
33518
|
-
|
|
33519
|
-
|
|
33513
|
+
if (this.nlevel.step <= 10 && this.m_obj.creatore != null) {
|
|
33514
|
+
if (arrAutori.filter((item) => item.username == this.m_obj.creatore).length > 0)
|
|
33515
|
+
arrAutori = arrAutori.filter((item) => item.username == this.m_obj.creatore);
|
|
33520
33516
|
}
|
|
33521
|
-
console.log("🚀 ~ FHWorkflowForm ~ calcola_destinari ~ arrAutori:", this.nlevel, this.m_obj.creatore, arrAutori);
|
|
33522
33517
|
if (o.pre_assegna_req == null)
|
|
33523
33518
|
o.pre_assegna_req = 0;
|
|
33524
33519
|
if (o.pre_assegna_man == null)
|
|
@@ -34431,6 +34426,11 @@ class FHWorkflowForm {
|
|
|
34431
34426
|
old_doc;
|
|
34432
34427
|
ok_load_document(o) {
|
|
34433
34428
|
this.m_obj = JSON.parse(JSON.stringify(o));
|
|
34429
|
+
this.reset_form(this.tsr.instant(this.app_info.descrizione_breve) +
|
|
34430
|
+
' ' +
|
|
34431
|
+
this.m_obj.codice +
|
|
34432
|
+
' - ' +
|
|
34433
|
+
this.tsr.instant(this.m_obj.stat_stato));
|
|
34434
34434
|
if (this.m_obj.assegnati_paralleli != null)
|
|
34435
34435
|
if (this.m_obj.assegnati_paralleli.split(',').length != 1)
|
|
34436
34436
|
if (this.m_obj.assegnati_paralleli.indexOf(this.app_s.user) > -1)
|