@fluxhub/fluxhub-lib 19.0.168 → 19.0.170
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.
|
@@ -16738,6 +16738,7 @@ class FHWinComboComponent {
|
|
|
16738
16738
|
this.dialogRef = dialogRef;
|
|
16739
16739
|
this.toastr = toastr;
|
|
16740
16740
|
this.data = data;
|
|
16741
|
+
this.updateButtons();
|
|
16741
16742
|
if (data == null)
|
|
16742
16743
|
return;
|
|
16743
16744
|
if (data != null) {
|
|
@@ -16753,7 +16754,6 @@ class FHWinComboComponent {
|
|
|
16753
16754
|
this.title = data.title;
|
|
16754
16755
|
this.set_selection(lab, arrd, this.nota);
|
|
16755
16756
|
}
|
|
16756
|
-
this.updateButtons();
|
|
16757
16757
|
}
|
|
16758
16758
|
updateButtons() {
|
|
16759
16759
|
this.buttons = [
|
|
@@ -28477,7 +28477,7 @@ class win_commenti_v2 {
|
|
|
28477
28477
|
}
|
|
28478
28478
|
refresh_list() {
|
|
28479
28479
|
let p = new QParam();
|
|
28480
|
-
p.sql = '
|
|
28480
|
+
p.sql = 'SELECT_COMMENTI_DOCUMENTO_NOTA';
|
|
28481
28481
|
p.types = ['string', 'string'];
|
|
28482
28482
|
p.values = [
|
|
28483
28483
|
this.m_appService.getState().wkf_doc_info.uiid_app,
|
|
@@ -28486,7 +28486,8 @@ class win_commenti_v2 {
|
|
|
28486
28486
|
this._dataService.doQuery(p).subscribe((data) => {
|
|
28487
28487
|
if (data != null)
|
|
28488
28488
|
if (data.result_msg == 'OK') {
|
|
28489
|
-
|
|
28489
|
+
const curr_user = this.m_appService.getState().wkf_doc_info.curr_user;
|
|
28490
|
+
this.commenti_list = data.result_data.filter((c) => c.tipo !== 'N' || c.creatore === curr_user);
|
|
28490
28491
|
for (let i = 0; i < this.commenti_list.length; i++) {
|
|
28491
28492
|
this.commenti_list[i].v_commento =
|
|
28492
28493
|
'<b>' +
|
|
@@ -28774,16 +28775,21 @@ class win_commenti_v2 {
|
|
|
28774
28775
|
let even = even;
|
|
28775
28776
|
index as i
|
|
28776
28777
|
"
|
|
28777
|
-
[ngClass]="{ odd: odd, even: even }"
|
|
28778
|
+
[ngClass]="{ odd: odd, even: even, 'nota-privata': app.tipo === 'N' }"
|
|
28778
28779
|
>
|
|
28779
28780
|
<td style="text-align:center">{{ app.v }}</td>
|
|
28780
28781
|
<td [innerHTML]="app.v_commento"></td>
|
|
28781
28782
|
<td>{{ app.COGNOME + ' ' + app.NOME }}</td>
|
|
28782
28783
|
<td>{{ app.data_creazione | date : 'dd/MM/yyyy HH:mm:ss' }}</td>
|
|
28783
28784
|
<td style="text-align:center">
|
|
28785
|
+
<mat-icon
|
|
28786
|
+
*ngIf="app.tipo === 'N'"
|
|
28787
|
+
[matTooltip]="'Nota privata' | translate"
|
|
28788
|
+
style="color:#b8860b;"
|
|
28789
|
+
>lock</mat-icon>
|
|
28784
28790
|
<mat-icon
|
|
28785
28791
|
[matTooltip]="app.dest_notif"
|
|
28786
|
-
*ngIf="app.dest_notif != null && app.dest_notif != ''"
|
|
28792
|
+
*ngIf="app.tipo !== 'N' && app.dest_notif != null && app.dest_notif != ''"
|
|
28787
28793
|
>mail</mat-icon>
|
|
28788
28794
|
</td>
|
|
28789
28795
|
<td style="text-align:center">
|
|
@@ -28803,7 +28809,7 @@ class win_commenti_v2 {
|
|
|
28803
28809
|
</div>
|
|
28804
28810
|
</div>
|
|
28805
28811
|
</fh-dialog-base>
|
|
28806
|
-
`, isInline: true, styles: [""], dependencies: [{ kind: "ngmodule", type: TranslateModule }, { kind: "pipe", type: i3.TranslatePipe, name: "translate" }, { kind: "ngmodule", type: MatIconModule }, { kind: "component", type: i4.MatIcon, selector: "mat-icon", inputs: ["color", "inline", "svgIcon", "fontSet", "fontIcon"], exportAs: ["matIcon"] }, { kind: "ngmodule", type: FormsModule }, { kind: "directive", type: i3$3.NgControlStatus, selector: "[formControlName],[ngModel],[formControl]" }, { kind: "directive", type: i3$3.NgModel, selector: "[ngModel]:not([formControlName]):not([formControl])", inputs: ["name", "disabled", "ngModel", "ngModelOptions"], outputs: ["ngModelChange"], exportAs: ["ngModel"] }, { 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: MatTooltipModule }, { kind: "directive", type: i8.MatTooltip, selector: "[matTooltip]", inputs: ["matTooltipPosition", "matTooltipPositionAtOrigin", "matTooltipDisabled", "matTooltipShowDelay", "matTooltipHideDelay", "matTooltipTouchGestures", "matTooltip", "matTooltipClass"], exportAs: ["matTooltip"] }, { kind: "component", type: FHTextAreaComponent, selector: "FHTextArea", inputs: ["hidden", "label", "enabled", "required", "rows", "error"], outputs: ["change", "focusout", "focusin"] }, { kind: "ngmodule", type: MatButtonModule }, { kind: "component", type: i8$1.MatButton, selector: " button[mat-button], button[mat-raised-button], button[mat-flat-button], button[mat-stroked-button] ", exportAs: ["matButton"] }, { kind: "component", type: DialogBaseComponent, selector: "fh-dialog-base", inputs: ["title", "buttons", "showCloseButton", "canValidate", "buttonsAlignment"], outputs: ["buttonClick", "beforeClose"] }, { 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"] }] });
|
|
28812
|
+
`, isInline: true, styles: [".fh_table tr.nota-privata td{background-color:#fff8dc!important;border-left:3px solid #b8860b;font-style:italic}\n"], dependencies: [{ kind: "ngmodule", type: TranslateModule }, { kind: "pipe", type: i3.TranslatePipe, name: "translate" }, { kind: "ngmodule", type: MatIconModule }, { kind: "component", type: i4.MatIcon, selector: "mat-icon", inputs: ["color", "inline", "svgIcon", "fontSet", "fontIcon"], exportAs: ["matIcon"] }, { kind: "ngmodule", type: FormsModule }, { kind: "directive", type: i3$3.NgControlStatus, selector: "[formControlName],[ngModel],[formControl]" }, { kind: "directive", type: i3$3.NgModel, selector: "[ngModel]:not([formControlName]):not([formControl])", inputs: ["name", "disabled", "ngModel", "ngModelOptions"], outputs: ["ngModelChange"], exportAs: ["ngModel"] }, { 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: MatTooltipModule }, { kind: "directive", type: i8.MatTooltip, selector: "[matTooltip]", inputs: ["matTooltipPosition", "matTooltipPositionAtOrigin", "matTooltipDisabled", "matTooltipShowDelay", "matTooltipHideDelay", "matTooltipTouchGestures", "matTooltip", "matTooltipClass"], exportAs: ["matTooltip"] }, { kind: "component", type: FHTextAreaComponent, selector: "FHTextArea", inputs: ["hidden", "label", "enabled", "required", "rows", "error"], outputs: ["change", "focusout", "focusin"] }, { kind: "ngmodule", type: MatButtonModule }, { kind: "component", type: i8$1.MatButton, selector: " button[mat-button], button[mat-raised-button], button[mat-flat-button], button[mat-stroked-button] ", exportAs: ["matButton"] }, { kind: "component", type: DialogBaseComponent, selector: "fh-dialog-base", inputs: ["title", "buttons", "showCloseButton", "canValidate", "buttonsAlignment"], outputs: ["buttonClick", "beforeClose"] }, { 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"] }] });
|
|
28807
28813
|
}
|
|
28808
28814
|
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "19.2.17", ngImport: i0, type: win_commenti_v2, decorators: [{
|
|
28809
28815
|
type: Component,
|
|
@@ -28883,16 +28889,21 @@ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "19.2.17", ngImpo
|
|
|
28883
28889
|
let even = even;
|
|
28884
28890
|
index as i
|
|
28885
28891
|
"
|
|
28886
|
-
[ngClass]="{ odd: odd, even: even }"
|
|
28892
|
+
[ngClass]="{ odd: odd, even: even, 'nota-privata': app.tipo === 'N' }"
|
|
28887
28893
|
>
|
|
28888
28894
|
<td style="text-align:center">{{ app.v }}</td>
|
|
28889
28895
|
<td [innerHTML]="app.v_commento"></td>
|
|
28890
28896
|
<td>{{ app.COGNOME + ' ' + app.NOME }}</td>
|
|
28891
28897
|
<td>{{ app.data_creazione | date : 'dd/MM/yyyy HH:mm:ss' }}</td>
|
|
28892
28898
|
<td style="text-align:center">
|
|
28899
|
+
<mat-icon
|
|
28900
|
+
*ngIf="app.tipo === 'N'"
|
|
28901
|
+
[matTooltip]="'Nota privata' | translate"
|
|
28902
|
+
style="color:#b8860b;"
|
|
28903
|
+
>lock</mat-icon>
|
|
28893
28904
|
<mat-icon
|
|
28894
28905
|
[matTooltip]="app.dest_notif"
|
|
28895
|
-
*ngIf="app.dest_notif != null && app.dest_notif != ''"
|
|
28906
|
+
*ngIf="app.tipo !== 'N' && app.dest_notif != null && app.dest_notif != ''"
|
|
28896
28907
|
>mail</mat-icon>
|
|
28897
28908
|
</td>
|
|
28898
28909
|
<td style="text-align:center">
|
|
@@ -28912,7 +28923,7 @@ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "19.2.17", ngImpo
|
|
|
28912
28923
|
</div>
|
|
28913
28924
|
</div>
|
|
28914
28925
|
</fh-dialog-base>
|
|
28915
|
-
|
|
28926
|
+
`, styles: [".fh_table tr.nota-privata td{background-color:#fff8dc!important;border-left:3px solid #b8860b;font-style:italic}\n"] }]
|
|
28916
28927
|
}], ctorParameters: () => [{ type: i1$2.MatDialogRef }, { type: i1$2.MatDialog }, { type: AppService }, { type: i3$1.ToastrService }, { type: QueryService }, { type: WkfService }, { type: FileService }, { type: i3.TranslateService }] });
|
|
28917
28928
|
|
|
28918
28929
|
class win_conferma_v2 {
|