@fluxhub/fluxhub-lib 1.0.262 → 1.0.264
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 +7 -10
- 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/docs/components/win_assegna.html +5 -6
- package/docs/js/search/search_index.js +1 -1
- package/esm2015/lib/wkf_engine/win_assegna.js +5 -6
- package/esm2015/lib/wkf_engine/wkfapp.js +1 -9
- package/esm2015/lib/wkf_engine/wkfdatiaggiuntivi.js +7 -2
- package/esm5/lib/wkf_engine/win_assegna.js +2 -2
- package/esm5/lib/wkf_engine/wkfapp.js +1 -9
- package/esm5/lib/wkf_engine/wkfdatiaggiuntivi.js +7 -2
- package/fesm2015/fluxhub-fluxhub-lib.js +11 -15
- package/fesm2015/fluxhub-fluxhub-lib.js.map +1 -1
- package/fesm5/fluxhub-fluxhub-lib.js +8 -11
- package/fesm5/fluxhub-fluxhub-lib.js.map +1 -1
- package/fluxhub-fluxhub-lib.metadata.json +1 -1
- package/package.json +1 -1
|
@@ -33,7 +33,7 @@ import { DragulaService, DragulaModule } from 'ng2-dragula';
|
|
|
33
33
|
import { MatDialogRef, MatDialog, DateAdapter, MAT_DATE_LOCALE, MatAutocompleteModule, MatButtonModule, MatButtonToggleModule, MatPaginatorModule, MatCardModule, MatCheckboxModule, MatChipsModule, MatDatepickerModule, MatGridListModule, MatIconModule, MatInputModule, MatListModule, MatMenuModule, MatProgressBarModule, MatProgressSpinnerModule, MatRadioModule, MatSelectModule, MatSidenavModule, MatSliderModule, MatSortModule, MatSlideToggleModule, MatSnackBarModule, MatTableModule, MatTabsModule, MatToolbarModule, MatTooltipModule, MatFormFieldModule, MatExpansionModule, MatStepperModule, MatDialogModule, MatNativeDateModule } from '@angular/material';
|
|
34
34
|
import { DomSanitizer } from '@angular/platform-browser';
|
|
35
35
|
import { ActivatedRoute, Router } from '@angular/router';
|
|
36
|
-
import { Injectable, Component,
|
|
36
|
+
import { Injectable, Component, Directive, Pipe, Inject, PLATFORM_ID, Input, Output, EventEmitter, ViewChild, forwardRef, ElementRef, Optional, HostListener, ViewContainerRef, defineInjectable, inject, NgModule } from '@angular/core';
|
|
37
37
|
import { Http } from '@angular/http';
|
|
38
38
|
import { SlimLoadingBarService } from 'ng2-slim-loading-bar';
|
|
39
39
|
import { ToastrService } from 'ngx-toastr';
|
|
@@ -5059,14 +5059,6 @@ class wkfapp {
|
|
|
5059
5059
|
if (arrAutori[i].idp != null && arrAutori[i].username == null)
|
|
5060
5060
|
arrAutori[i].username = arrAutori[i].idp;
|
|
5061
5061
|
}
|
|
5062
|
-
dialogRef.componentInstance.commento_hidden = false;
|
|
5063
|
-
dialogRef.componentInstance.comm_notrequired = false;
|
|
5064
|
-
if (this.os_r.commenti_opzionali != null)
|
|
5065
|
-
if (this.os_r.commenti_opzionali != 0) {
|
|
5066
|
-
dialogRef.componentInstance.commento_hidden = true;
|
|
5067
|
-
dialogRef.componentInstance.comm_notrequired = true;
|
|
5068
|
-
}
|
|
5069
|
-
console.log('dialogRef.componentInstance ', dialogRef.componentInstance);
|
|
5070
5062
|
dialogRef.componentInstance.arrAutori = arrAutori;
|
|
5071
5063
|
dialogRef.componentInstance.title = "Riassegnazione documento: " + this.get_grid().sRow.codice + " - " + this.get_grid().sRow.oggetto;
|
|
5072
5064
|
dialogRef.afterClosed().subscribe((/**
|
|
@@ -10642,17 +10634,16 @@ win_assegna.decorators = [
|
|
|
10642
10634
|
template: `
|
|
10643
10635
|
<mat-toolbar>{{title}}
|
|
10644
10636
|
</mat-toolbar>
|
|
10645
|
-
|
|
10646
10637
|
<div mat-dialog-content style="min-width:700px">
|
|
10647
|
-
|
|
10648
10638
|
<div style="height:370px;">
|
|
10649
10639
|
<FHPickUsers #up [users_list]="arrAutori" [vis_buttons]="false"></FHPickUsers>
|
|
10650
10640
|
</div>
|
|
10651
|
-
<
|
|
10652
|
-
<
|
|
10641
|
+
<div *ngIf="!comm_notrequired">
|
|
10642
|
+
<br><br><br>
|
|
10643
|
+
<mat-form-field>
|
|
10653
10644
|
<textarea matInput placeholder="Commento {{nota_commento}}" [(ngModel)]="nota" rows="6"></textarea>
|
|
10654
10645
|
</mat-form-field>
|
|
10655
|
-
|
|
10646
|
+
</div>
|
|
10656
10647
|
|
|
10657
10648
|
</div>
|
|
10658
10649
|
<br>
|
|
@@ -14521,7 +14512,7 @@ class dati_aggiuntivi {
|
|
|
14521
14512
|
}
|
|
14522
14513
|
else {
|
|
14523
14514
|
this.app_s.getState().wkf_doc_info.title = 'Assegnazione';
|
|
14524
|
-
if (this.
|
|
14515
|
+
if (this.nlevel.commenti_opzionali == 1)
|
|
14525
14516
|
this.app_s.getState().wkf_doc_info.comm_notrequired = true;
|
|
14526
14517
|
else
|
|
14527
14518
|
this.app_s.getState().wkf_doc_info.comm_notrequired = false;
|
|
@@ -14543,6 +14534,11 @@ class dati_aggiuntivi {
|
|
|
14543
14534
|
let dialogRef = this.m_dialog.open(win_assegna, {
|
|
14544
14535
|
disableClose: true
|
|
14545
14536
|
});
|
|
14537
|
+
if (this.nlevel.commenti_opzionali == 1)
|
|
14538
|
+
dialogRef.componentInstance.comm_notrequired = true;
|
|
14539
|
+
else
|
|
14540
|
+
dialogRef.componentInstance.comm_notrequired = false;
|
|
14541
|
+
console.log('dialogRef.componentInstance.comm_notrequired ', dialogRef.componentInstance.comm_notrequired);
|
|
14546
14542
|
dialogRef.afterClosed().subscribe((/**
|
|
14547
14543
|
* @param {?} result
|
|
14548
14544
|
* @return {?}
|