@fluxhub/fluxhub-lib 19.0.59 → 19.0.61
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.
|
@@ -1729,9 +1729,6 @@ class FHGuard {
|
|
|
1729
1729
|
else if (data.result_msg == "OK" && data.result_data.length > 0) {
|
|
1730
1730
|
//console.log('canActivate 6');
|
|
1731
1731
|
this.app_s.user_roles = data.result_data[0].roles;
|
|
1732
|
-
if (this.app_s.user_roles != null)
|
|
1733
|
-
if (this.app_s.user_roles.length > 0)
|
|
1734
|
-
this.app_s.user_roles = this.app_s.user_roles.substr(1);
|
|
1735
1732
|
if (this.app_s.user_roles == null)
|
|
1736
1733
|
this.app_s.user_roles = "[NO_RUOLI_CONFIGURATI]";
|
|
1737
1734
|
this.app_s.user_isadmin = data.result_data[0].isadmin;
|
|
@@ -4133,7 +4130,12 @@ class FHWinConfirmComponent {
|
|
|
4133
4130
|
this.toast.error(this.insert_comment_msg);
|
|
4134
4131
|
return;
|
|
4135
4132
|
}
|
|
4136
|
-
this.
|
|
4133
|
+
if (!this.b_commento) {
|
|
4134
|
+
this.dialogRef.close(true);
|
|
4135
|
+
}
|
|
4136
|
+
else {
|
|
4137
|
+
this.dialogRef.close({ result: true, comment: this.commento });
|
|
4138
|
+
}
|
|
4137
4139
|
}
|
|
4138
4140
|
constructor(dialogRef, app_s, conf, toast) {
|
|
4139
4141
|
this.dialogRef = dialogRef;
|
|
@@ -4213,6 +4215,7 @@ class FHWinConfirmComponent {
|
|
|
4213
4215
|
label="{{ commento_mgs | translate }}"
|
|
4214
4216
|
[required]="true"
|
|
4215
4217
|
[(ngModel)]="commento"
|
|
4218
|
+
[rows]="8"
|
|
4216
4219
|
></FHTextArea>
|
|
4217
4220
|
</div>
|
|
4218
4221
|
<br><br>
|
|
@@ -4227,7 +4230,7 @@ class FHWinConfirmComponent {
|
|
|
4227
4230
|
<button *ngIf="!noCancel"
|
|
4228
4231
|
mat-flat-button
|
|
4229
4232
|
#btn_annulla
|
|
4230
|
-
(click)="dialogRef.close(
|
|
4233
|
+
(click)="dialogRef.close(null)"
|
|
4231
4234
|
color="warn"
|
|
4232
4235
|
>
|
|
4233
4236
|
{{ annulla_mgs | translate }}
|
|
@@ -4282,6 +4285,7 @@ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "19.2.14", ngImpo
|
|
|
4282
4285
|
label="{{ commento_mgs | translate }}"
|
|
4283
4286
|
[required]="true"
|
|
4284
4287
|
[(ngModel)]="commento"
|
|
4288
|
+
[rows]="8"
|
|
4285
4289
|
></FHTextArea>
|
|
4286
4290
|
</div>
|
|
4287
4291
|
<br><br>
|
|
@@ -4296,7 +4300,7 @@ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "19.2.14", ngImpo
|
|
|
4296
4300
|
<button *ngIf="!noCancel"
|
|
4297
4301
|
mat-flat-button
|
|
4298
4302
|
#btn_annulla
|
|
4299
|
-
(click)="dialogRef.close(
|
|
4303
|
+
(click)="dialogRef.close(null)"
|
|
4300
4304
|
color="warn"
|
|
4301
4305
|
>
|
|
4302
4306
|
{{ annulla_mgs | translate }}
|
|
@@ -7524,18 +7528,19 @@ class FHGridToolBarComponent {
|
|
|
7524
7528
|
</button>
|
|
7525
7529
|
</div>
|
|
7526
7530
|
<mat-menu #gest_menu_custom="matMenu">
|
|
7527
|
-
|
|
7528
|
-
<div fxLayout="column"
|
|
7531
|
+
<div style="padding-top: 10px;">
|
|
7532
|
+
<div fxLayout="column" fxFlex="100" fxLayoutGap="6px" fxLayoutAlign="center center">
|
|
7533
|
+
|
|
7529
7534
|
<ng-container *ngFor="let app of custom_commands">
|
|
7530
7535
|
|
|
7531
|
-
<div style="width:100
|
|
7536
|
+
<div style="width:100%;text-align:center"><button *ngIf="app.type == 'button'" [hidden]="app.hidden"
|
|
7532
7537
|
mat-flat-button style="width:90%"
|
|
7533
7538
|
[color]="app.color"
|
|
7534
7539
|
(click)="exec_command(app.command)"
|
|
7535
7540
|
>
|
|
7536
7541
|
<mat-icon *ngIf="app.icon != null">{{ app.icon }}</mat-icon> {{ app.label | translate }}
|
|
7537
7542
|
</button></div>
|
|
7538
|
-
<div style="width:100
|
|
7543
|
+
<div style="width:100%;text-align:center">
|
|
7539
7544
|
<FHCheckBox
|
|
7540
7545
|
*ngIf="app.type == 'checkbox'"
|
|
7541
7546
|
(change)="selx(app.command, $event)"
|
|
@@ -7547,8 +7552,8 @@ class FHGridToolBarComponent {
|
|
|
7547
7552
|
<FHTableManager *ngIf="app.type == 'table_manager'" style="width:180px" [application]="app.default_value"></FHTableManager>
|
|
7548
7553
|
</div>
|
|
7549
7554
|
</ng-container>
|
|
7550
|
-
</div>
|
|
7551
7555
|
</div>
|
|
7556
|
+
</div>
|
|
7552
7557
|
</mat-menu>
|
|
7553
7558
|
</div>
|
|
7554
7559
|
|
|
@@ -7947,18 +7952,19 @@ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "19.2.14", ngImpo
|
|
|
7947
7952
|
</button>
|
|
7948
7953
|
</div>
|
|
7949
7954
|
<mat-menu #gest_menu_custom="matMenu">
|
|
7950
|
-
|
|
7951
|
-
<div fxLayout="column"
|
|
7955
|
+
<div style="padding-top: 10px;">
|
|
7956
|
+
<div fxLayout="column" fxFlex="100" fxLayoutGap="6px" fxLayoutAlign="center center">
|
|
7957
|
+
|
|
7952
7958
|
<ng-container *ngFor="let app of custom_commands">
|
|
7953
7959
|
|
|
7954
|
-
<div style="width:100
|
|
7960
|
+
<div style="width:100%;text-align:center"><button *ngIf="app.type == 'button'" [hidden]="app.hidden"
|
|
7955
7961
|
mat-flat-button style="width:90%"
|
|
7956
7962
|
[color]="app.color"
|
|
7957
7963
|
(click)="exec_command(app.command)"
|
|
7958
7964
|
>
|
|
7959
7965
|
<mat-icon *ngIf="app.icon != null">{{ app.icon }}</mat-icon> {{ app.label | translate }}
|
|
7960
7966
|
</button></div>
|
|
7961
|
-
<div style="width:100
|
|
7967
|
+
<div style="width:100%;text-align:center">
|
|
7962
7968
|
<FHCheckBox
|
|
7963
7969
|
*ngIf="app.type == 'checkbox'"
|
|
7964
7970
|
(change)="selx(app.command, $event)"
|
|
@@ -7970,8 +7976,8 @@ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "19.2.14", ngImpo
|
|
|
7970
7976
|
<FHTableManager *ngIf="app.type == 'table_manager'" style="width:180px" [application]="app.default_value"></FHTableManager>
|
|
7971
7977
|
</div>
|
|
7972
7978
|
</ng-container>
|
|
7973
|
-
</div>
|
|
7974
7979
|
</div>
|
|
7980
|
+
</div>
|
|
7975
7981
|
</mat-menu>
|
|
7976
7982
|
</div>
|
|
7977
7983
|
|