@fluxhub/fluxhub-lib 19.0.169 → 19.0.171
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.
|
@@ -28432,6 +28432,7 @@ class win_commenti_v2 {
|
|
|
28432
28432
|
notifica_commenti_obbl = 0;
|
|
28433
28433
|
not_comm = false;
|
|
28434
28434
|
not_comm_disabled = false;
|
|
28435
|
+
nota_privata = false;
|
|
28435
28436
|
commenti_list = [];
|
|
28436
28437
|
nota = '';
|
|
28437
28438
|
title = 'COMMENTI';
|
|
@@ -28477,7 +28478,7 @@ class win_commenti_v2 {
|
|
|
28477
28478
|
}
|
|
28478
28479
|
refresh_list() {
|
|
28479
28480
|
let p = new QParam();
|
|
28480
|
-
p.sql = '
|
|
28481
|
+
p.sql = 'SELECT_COMMENTI_DOCUMENTO_NOTA';
|
|
28481
28482
|
p.types = ['string', 'string'];
|
|
28482
28483
|
p.values = [
|
|
28483
28484
|
this.m_appService.getState().wkf_doc_info.uiid_app,
|
|
@@ -28486,7 +28487,8 @@ class win_commenti_v2 {
|
|
|
28486
28487
|
this._dataService.doQuery(p).subscribe((data) => {
|
|
28487
28488
|
if (data != null)
|
|
28488
28489
|
if (data.result_msg == 'OK') {
|
|
28489
|
-
|
|
28490
|
+
const curr_user = this.m_appService.getState().wkf_doc_info.curr_user;
|
|
28491
|
+
this.commenti_list = data.result_data.filter((c) => c.tipo !== 'N' || c.creatore === curr_user);
|
|
28490
28492
|
for (let i = 0; i < this.commenti_list.length; i++) {
|
|
28491
28493
|
this.commenti_list[i].v_commento =
|
|
28492
28494
|
'<b>' +
|
|
@@ -28604,14 +28606,15 @@ class win_commenti_v2 {
|
|
|
28604
28606
|
ok_op(sdest = '') {
|
|
28605
28607
|
if (this.b_ins) {
|
|
28606
28608
|
let p = new QParam();
|
|
28607
|
-
p.sql = '
|
|
28608
|
-
p.types = ['string', 'string', 'string', 'string', 'string'];
|
|
28609
|
+
p.sql = 'INSERT_WKF_COMMENTO_NOTA';
|
|
28610
|
+
p.types = ['string', 'string', 'string', 'string', 'string', 'string'];
|
|
28609
28611
|
p.values = [
|
|
28610
28612
|
this.m_appService.getState().wkf_doc_info.uiid_app,
|
|
28611
28613
|
this.m_appService.getState().wkf_doc_info.uiid_doc,
|
|
28612
28614
|
this.nota,
|
|
28613
28615
|
this.m_appService.getState().wkf_doc_info.curr_user,
|
|
28614
28616
|
sdest,
|
|
28617
|
+
this.nota_privata ? 'N' : 'C',
|
|
28615
28618
|
];
|
|
28616
28619
|
let ok_op = false;
|
|
28617
28620
|
this._dataService.doQuery(p).subscribe((data) => {
|
|
@@ -28752,6 +28755,9 @@ class win_commenti_v2 {
|
|
|
28752
28755
|
"
|
|
28753
28756
|
>{{ 'Notifica Interessati' | translate }}
|
|
28754
28757
|
</mat-checkbox>
|
|
28758
|
+
<mat-checkbox [(ngModel)]="nota_privata">
|
|
28759
|
+
{{ 'Nota privata' | translate }}
|
|
28760
|
+
</mat-checkbox>
|
|
28755
28761
|
</div>
|
|
28756
28762
|
</div>
|
|
28757
28763
|
|
|
@@ -28774,16 +28780,21 @@ class win_commenti_v2 {
|
|
|
28774
28780
|
let even = even;
|
|
28775
28781
|
index as i
|
|
28776
28782
|
"
|
|
28777
|
-
[ngClass]="{ odd: odd, even: even }"
|
|
28783
|
+
[ngClass]="{ odd: odd, even: even, 'nota-privata': app.tipo === 'N' }"
|
|
28778
28784
|
>
|
|
28779
28785
|
<td style="text-align:center">{{ app.v }}</td>
|
|
28780
28786
|
<td [innerHTML]="app.v_commento"></td>
|
|
28781
28787
|
<td>{{ app.COGNOME + ' ' + app.NOME }}</td>
|
|
28782
28788
|
<td>{{ app.data_creazione | date : 'dd/MM/yyyy HH:mm:ss' }}</td>
|
|
28783
28789
|
<td style="text-align:center">
|
|
28790
|
+
<mat-icon
|
|
28791
|
+
*ngIf="app.tipo === 'N'"
|
|
28792
|
+
[matTooltip]="'Nota privata' | translate"
|
|
28793
|
+
style="color:#b8860b;"
|
|
28794
|
+
>lock</mat-icon>
|
|
28784
28795
|
<mat-icon
|
|
28785
28796
|
[matTooltip]="app.dest_notif"
|
|
28786
|
-
*ngIf="app.dest_notif != null && app.dest_notif != ''"
|
|
28797
|
+
*ngIf="app.tipo !== 'N' && app.dest_notif != null && app.dest_notif != ''"
|
|
28787
28798
|
>mail</mat-icon>
|
|
28788
28799
|
</td>
|
|
28789
28800
|
<td style="text-align:center">
|
|
@@ -28803,7 +28814,7 @@ class win_commenti_v2 {
|
|
|
28803
28814
|
</div>
|
|
28804
28815
|
</div>
|
|
28805
28816
|
</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"] }] });
|
|
28817
|
+
`, 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
28818
|
}
|
|
28808
28819
|
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "19.2.17", ngImport: i0, type: win_commenti_v2, decorators: [{
|
|
28809
28820
|
type: Component,
|
|
@@ -28861,6 +28872,9 @@ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "19.2.17", ngImpo
|
|
|
28861
28872
|
"
|
|
28862
28873
|
>{{ 'Notifica Interessati' | translate }}
|
|
28863
28874
|
</mat-checkbox>
|
|
28875
|
+
<mat-checkbox [(ngModel)]="nota_privata">
|
|
28876
|
+
{{ 'Nota privata' | translate }}
|
|
28877
|
+
</mat-checkbox>
|
|
28864
28878
|
</div>
|
|
28865
28879
|
</div>
|
|
28866
28880
|
|
|
@@ -28883,16 +28897,21 @@ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "19.2.17", ngImpo
|
|
|
28883
28897
|
let even = even;
|
|
28884
28898
|
index as i
|
|
28885
28899
|
"
|
|
28886
|
-
[ngClass]="{ odd: odd, even: even }"
|
|
28900
|
+
[ngClass]="{ odd: odd, even: even, 'nota-privata': app.tipo === 'N' }"
|
|
28887
28901
|
>
|
|
28888
28902
|
<td style="text-align:center">{{ app.v }}</td>
|
|
28889
28903
|
<td [innerHTML]="app.v_commento"></td>
|
|
28890
28904
|
<td>{{ app.COGNOME + ' ' + app.NOME }}</td>
|
|
28891
28905
|
<td>{{ app.data_creazione | date : 'dd/MM/yyyy HH:mm:ss' }}</td>
|
|
28892
28906
|
<td style="text-align:center">
|
|
28907
|
+
<mat-icon
|
|
28908
|
+
*ngIf="app.tipo === 'N'"
|
|
28909
|
+
[matTooltip]="'Nota privata' | translate"
|
|
28910
|
+
style="color:#b8860b;"
|
|
28911
|
+
>lock</mat-icon>
|
|
28893
28912
|
<mat-icon
|
|
28894
28913
|
[matTooltip]="app.dest_notif"
|
|
28895
|
-
*ngIf="app.dest_notif != null && app.dest_notif != ''"
|
|
28914
|
+
*ngIf="app.tipo !== 'N' && app.dest_notif != null && app.dest_notif != ''"
|
|
28896
28915
|
>mail</mat-icon>
|
|
28897
28916
|
</td>
|
|
28898
28917
|
<td style="text-align:center">
|
|
@@ -28912,7 +28931,7 @@ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "19.2.17", ngImpo
|
|
|
28912
28931
|
</div>
|
|
28913
28932
|
</div>
|
|
28914
28933
|
</fh-dialog-base>
|
|
28915
|
-
|
|
28934
|
+
`, styles: [".fh_table tr.nota-privata td{background-color:#fff8dc!important;border-left:3px solid #b8860b;font-style:italic}\n"] }]
|
|
28916
28935
|
}], 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
28936
|
|
|
28918
28937
|
class win_conferma_v2 {
|