@fluxhub/fluxhub-lib 1.0.548 → 1.0.550
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 +5 -7
- 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/esm2015/lib/controls/fhgrid_toolbar.js +6 -5
- package/esm2015/lib/controls/fhuserpicker.js +2 -2
- package/esm2015/lib/controls/win_combo_select.js +8 -10
- package/esm2015/lib/wkf_engine/wkf_header_bar.js +8 -26
- package/esm5/lib/controls/fhgrid_toolbar.js +2 -2
- package/esm5/lib/controls/fhuserpicker.js +2 -2
- package/esm5/lib/controls/win_combo_select.js +2 -2
- package/esm5/lib/wkf_engine/wkf_header_bar.js +3 -7
- package/fesm2015/fluxhub-fluxhub-lib.js +20 -37
- package/fesm2015/fluxhub-fluxhub-lib.js.map +1 -1
- package/fesm5/fluxhub-fluxhub-lib.js +5 -7
- package/fesm5/fluxhub-fluxhub-lib.js.map +1 -1
- package/fluxhub-fluxhub-lib.metadata.json +1 -1
- package/lib/wkf_engine/wkf_header_bar.d.ts +0 -1
- package/package.json +1 -1
|
@@ -5156,7 +5156,7 @@
|
|
|
5156
5156
|
/** @type {?} */
|
|
5157
5157
|
var b_found = false;
|
|
5158
5158
|
for (var y = 0; y < this.user_sel.length; y++)
|
|
5159
|
-
if (this.user_sel[y].username == this.users_list[i].username
|
|
5159
|
+
if (this.user_sel[y].username == this.users_list[i].username) {
|
|
5160
5160
|
b_found = true;
|
|
5161
5161
|
break;
|
|
5162
5162
|
}
|
|
@@ -10447,7 +10447,7 @@
|
|
|
10447
10447
|
FHWinComboSelect.decorators = [
|
|
10448
10448
|
{ type: core.Component, args: [{
|
|
10449
10449
|
selector: 'fhwincomboselect',
|
|
10450
|
-
template: " \n\n <div
|
|
10450
|
+
template: " \n\n <div fxFlex=\"100\" fxLayout=\"column\">\n <h2 mat-dialog-title>\n {{label | uppercase}}\n </h2>\n <mat-dialog-content style=\"font-size: 12px;\" fxFlex=\"100\" fxLayout=\"row\">\n <FHComboBox #cmb_sel [init_fill]=\"false\"></FHComboBox>\n <mat-form-field *ngIf=\"nota\" appearance=\"outline\" floatLabel=\"always\"><mat-label>Nota</mat-label>\n <textarea matInput [(ngModel)]=\"nota_val\" rows=\"12\"></textarea>\n </mat-form-field>\n </mat-dialog-content>\n\n\n <mat-dialog-actions fxFlex=\"100\" fxLayout=\"row\" fxLayoutAlign=\"center center\">\n <button mat-flat-button color=\"primary\" (click)=\"ok()\">OK</button> \n <button mat-flat-button color=\"warn\" (click)=\"dialogRef.close('')\">ANNULLA</button>\n </mat-dialog-actions>\n </div>\n "
|
|
10451
10451
|
}] }
|
|
10452
10452
|
];
|
|
10453
10453
|
/** @nocollapse */
|
|
@@ -15853,7 +15853,7 @@
|
|
|
15853
15853
|
};
|
|
15854
15854
|
FHGridToolBarComponent.decorators = [
|
|
15855
15855
|
{ type: core.Component, args: [{
|
|
15856
|
-
selector: 'FHGridToolBar', template: "\n <div *ngIf=\"type=='WKF_NO_EDIT'\" fxLayoutGap=\"3px\" fxLayout=\"row\" fxFlex=\"100\" fxLayoutAlign=\"end center\" style=\"background-color: #CC0000\">\n\n <mat-toolbar>\n <div fxLayout=\"row\" fxLayoutGap=\"3px\"
|
|
15856
|
+
selector: 'FHGridToolBar', template: "\n <div *ngIf=\"type=='WKF_NO_EDIT'\" fxLayoutGap=\"3px\" fxLayout=\"row\" fxFlex=\"100\" fxLayoutAlign=\"end center\" style=\"background-color: #CC0000\">\n\n <mat-toolbar>\n <div fxLayout=\"row\" fxLayoutGap=\"3px\">\n\n \n <button mat-flat-button color=\"warn\" mat-button fxHide fxShow.gt-sm [matMenuTriggerFor]=\"gest_menu\" *ngIf=\"toolbar_wkfapp?.is_Supervisor || toolbar_wkfapp?.is_Admin || toolbar_wkfapp?.is_PowerUser\"><mat-icon>label_important</mat-icon> {{'Gestione' | translate}}</button>\n <mat-menu #gest_menu=\"matMenu\" >\n <button mat-menu-item style=\"background-color: #F5F5F5\" (click)=\"annulla_richiesta()\"> {{'ANNULLA DOCUMENTO' | translate}} </button>\n <button mat-menu-item style=\"background-color: #F5F5F5\" (click)=\"recupera_richiesta()\"> {{'RECUPERA DOCUMENTO' | translate}} </button>\n <button mat-menu-item style=\"background-color: #F5F5F5\" (click)=\"riassegna_richiesta()\" *ngIf=\"toolbar_wkfapp?.is_Supervisor || toolbar_wkfapp?.is_Admin\"> {{'RIASSEGNA DOCUMENTO' | translate}} </button>\n <button mat-menu-item style=\"background-color: #F5F5F5\" (click)=\"test_utente()\" *ngIf=\"toolbar_wkfapp?.is_Admin\"> {{'TEST UTENTE' | translate}} </button>\n\n </mat-menu>\n <button mat-flat-button (click)=\"annulla_imp()\" *ngIf=\"toolbar_wkfapp?.imp!=''\"> {{toolbar_wkfapp?.imp}} </button>\n <div *ngFor=\"let app of custom_commands\" > <button mat-flat-button [color]=\"app.color\" (click)=\"exec_command(app.command)\"><mat-icon *ngIf=\"app.icon!=null\">{{app.icon}}</mat-icon> {{app.label | translate}}</button>\n </div>\n </div>\n </mat-toolbar>\n </div>\n <div *ngIf=\"type=='WKF'\" fxLayoutGap=\"3px\" fxLayout=\"row\" fxLayoutAlign=\"end center\" style=\"width: 100%;background-color: maroon\">\n \n <mat-toolbar>\n <div fxLayout=\"row\" fxLayoutGap=\"3px\">\n\n <button mat-flat-button (click)=\"insert_doc()\" *ngIf=\"toolbar_wkfapp?.is_Ins\" color=\"accent\"><mat-icon>note_add</mat-icon> {{'INSERISCI' | translate}}</button> \n\n <button mat-flat-button color=\"warn\" mat-button fxHide fxShow.gt-sm [matMenuTriggerFor]=\"gest_menu\" *ngIf=\"toolbar_wkfapp?.is_Supervisor\">{{'Gestione' | translate}}</button>\n <mat-menu #gest_menu=\"matMenu\" >\n <button mat-menu-item (click)=\"annulla_richiesta()\"> {{'ANNULLA DOCUMENTO' | translate}} </button>\n <button mat-menu-item (click)=\"recupera_richiesta()\"> {{'RECUPERA DOCUMENTO' | translate}} </button>\n <button mat-menu-item (click)=\"riassegna_richiesta()\"> {{'RIASSEGNA DOCUMENTO' | translate}} </button>\n <button mat-menu-item (click)=\"test_utente()\" *ngIf=\"toolbar_wkfapp?.is_Admin\"> {{'TEST UTENTE' | translate}} </button>\n\n </mat-menu>\n <button mat-flat-button (click)=\"annulla_imp()\" *ngIf=\"toolbar_wkfapp?.imp!=null && toolbar_wkfapp?.imp!=''\"> {{toolbar_wkfapp?.imp}} </button>\n <div *ngFor=\"let app of custom_commands\" >\n <button mat-flat-button [color]=\"app.color\" (click)=\"exec_command(app.command)\"><mat-icon *ngIf=\"app.icon!=null\">{{app.icon}}</mat-icon> {{app.label | translate}}</button>\n \n </div>\n </div>\n </mat-toolbar>\n </div>\n <div *ngIf=\"type=='INSERT_DELETE'\" fxLayoutGap=\"3px\" fxLayout=\"row\">\n <mat-toolbar>\n <div fxLayout=\"row\" fxLayoutGap=\"3px\">\n\n <button mat-flat-button (click)=\"new_doc()\" color=\"primary\">\n <mat-icon>note_add</mat-icon> {{'INSERISCI' | translate}}\n </button>\n\n <button mat-flat-button (click)=\"del_doc()\" color=\"warn\">\n <mat-icon>delete</mat-icon> {{'ELIMINA' | translate}}\n </button>\n <div *ngFor=\"let app of custom_commands\" ><button mat-flat-button [color]=\"app.color\" (click)=\"exec_command(app.command)\">{{app.label | translate}}</button>\n </div>\n </div>\n </mat-toolbar>\n </div>\n <div *ngIf=\"type=='CUSTOM'\" fxLayoutGap=\"3px\" fxLayout=\"row\">\n \n <div *ngFor=\"let app of custom_commands\" ><button mat-flat-button [color]=\"app.color\" (click)=\"exec_command(app.command)\">{{app.label | translate}}</button>\n </div>\n </div>\n \n ",
|
|
15857
15857
|
styles: ["\n\n "]
|
|
15858
15858
|
}] }
|
|
15859
15859
|
];
|
|
@@ -17831,7 +17831,6 @@
|
|
|
17831
17831
|
this.edit_button = false;
|
|
17832
17832
|
this.respingi_button = false;
|
|
17833
17833
|
this.procedi_button = true;
|
|
17834
|
-
this.icon_mode = false;
|
|
17835
17834
|
}
|
|
17836
17835
|
/**
|
|
17837
17836
|
* @return {?}
|
|
@@ -17908,7 +17907,7 @@
|
|
|
17908
17907
|
wkf_header_bar.decorators = [
|
|
17909
17908
|
{ type: core.Component, args: [{
|
|
17910
17909
|
selector: 'wkf_header_bar',
|
|
17911
|
-
template: "\n\n<div fxLayout=\"row\" fxLayoutGap=\"3px\" style=\"background-color: #F5F5F5\"
|
|
17910
|
+
template: "\n\n<div fxLayout=\"row\" fxLayoutGap=\"3px\" style=\"background-color: #F5F5F5\">\n<div fxLayout=\"row\" fxLayout.xs=\"column\" fxLayoutGap=\"3px\" *ngIf=\"!m_appService.getState().pageFullscreen || edit_button || respingi_button\">\n\n<button mat-flat-button (click)=\"back()\" *ngIf=\"!m_appService.getState().pageFullscreen\">Indietro</button> \n <button mat-flat-button (click)=\"evt_salv()\" *ngIf=\"edit_button && !m_appService.getState().pageFullscreen\" color=\"primary\" >Salva</button> \n <button mat-flat-button (click)=\"procedi()\" *ngIf=\"edit_button && procedi_button\" color=\"accent\" >Procedi</button> \n <button mat-flat-button (click)=\"respingi()\" *ngIf=\"respingi_button\" color=\"warn\" >Respingi</button>\n<!-- <button mat-flat-button (click)=\"doEnd(900)\" color=\"warn\" >test</button> \n-->\n\n</div>\n \n<div fxLayout=\"row\" fxLayout.xs=\"column\" fxLayoutGap=\"3px\" >\n\n\n<button mat-flat-button (click)=\"open_info()\" *ngIf=\"!m_appService.getState().pageFullscreen\"> <mat-icon>info_outline</mat-icon> Info Doc</button> \n<button mat-flat-button (click)=\"open_commenti()\"> <mat-icon>insert_comment</mat-icon> Commenti {{dt_agg?.comm_c}}</button> \n<button mat-flat-button (click)=\"open_upload()\"> <mat-icon>attach_file</mat-icon> Allegati {{dt_agg?.all_c}}</button> \n<button mat-flat-button (click)=\"open_wkf()\" *ngIf=\"!m_appService.getState().pageFullscreen\"> <mat-icon>transfer_within_a_station</mat-icon> Workflow</button>\n\n</div>\n</div>\n\n "
|
|
17912
17911
|
}] }
|
|
17913
17912
|
];
|
|
17914
17913
|
/** @nocollapse */
|
|
@@ -17919,8 +17918,7 @@
|
|
|
17919
17918
|
dt_agg: [{ type: core.Input }],
|
|
17920
17919
|
edit_button: [{ type: core.Input }],
|
|
17921
17920
|
respingi_button: [{ type: core.Input }],
|
|
17922
|
-
procedi_button: [{ type: core.Input }]
|
|
17923
|
-
icon_mode: [{ type: core.Input }]
|
|
17921
|
+
procedi_button: [{ type: core.Input }]
|
|
17924
17922
|
};
|
|
17925
17923
|
return wkf_header_bar;
|
|
17926
17924
|
}());
|