@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
|
@@ -5134,7 +5134,7 @@ var FHUserPickerComponent = /** @class */ (function () {
|
|
|
5134
5134
|
/** @type {?} */
|
|
5135
5135
|
var b_found = false;
|
|
5136
5136
|
for (var y = 0; y < this.user_sel.length; y++)
|
|
5137
|
-
if (this.user_sel[y].username == this.users_list[i].username
|
|
5137
|
+
if (this.user_sel[y].username == this.users_list[i].username) {
|
|
5138
5138
|
b_found = true;
|
|
5139
5139
|
break;
|
|
5140
5140
|
}
|
|
@@ -10425,7 +10425,7 @@ var FHWinComboSelect = /** @class */ (function () {
|
|
|
10425
10425
|
FHWinComboSelect.decorators = [
|
|
10426
10426
|
{ type: Component, args: [{
|
|
10427
10427
|
selector: 'fhwincomboselect',
|
|
10428
|
-
template: " \n\n <div
|
|
10428
|
+
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 "
|
|
10429
10429
|
}] }
|
|
10430
10430
|
];
|
|
10431
10431
|
/** @nocollapse */
|
|
@@ -15831,7 +15831,7 @@ var FHGridToolBarComponent = /** @class */ (function () {
|
|
|
15831
15831
|
};
|
|
15832
15832
|
FHGridToolBarComponent.decorators = [
|
|
15833
15833
|
{ type: Component, args: [{
|
|
15834
|
-
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\"
|
|
15834
|
+
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 ",
|
|
15835
15835
|
styles: ["\n\n "]
|
|
15836
15836
|
}] }
|
|
15837
15837
|
];
|
|
@@ -17809,7 +17809,6 @@ var wkf_header_bar = /** @class */ (function () {
|
|
|
17809
17809
|
this.edit_button = false;
|
|
17810
17810
|
this.respingi_button = false;
|
|
17811
17811
|
this.procedi_button = true;
|
|
17812
|
-
this.icon_mode = false;
|
|
17813
17812
|
}
|
|
17814
17813
|
/**
|
|
17815
17814
|
* @return {?}
|
|
@@ -17886,7 +17885,7 @@ var wkf_header_bar = /** @class */ (function () {
|
|
|
17886
17885
|
wkf_header_bar.decorators = [
|
|
17887
17886
|
{ type: Component, args: [{
|
|
17888
17887
|
selector: 'wkf_header_bar',
|
|
17889
|
-
template: "\n\n<div fxLayout=\"row\" fxLayoutGap=\"3px\" style=\"background-color: #F5F5F5\"
|
|
17888
|
+
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 "
|
|
17890
17889
|
}] }
|
|
17891
17890
|
];
|
|
17892
17891
|
/** @nocollapse */
|
|
@@ -17897,8 +17896,7 @@ var wkf_header_bar = /** @class */ (function () {
|
|
|
17897
17896
|
dt_agg: [{ type: Input }],
|
|
17898
17897
|
edit_button: [{ type: Input }],
|
|
17899
17898
|
respingi_button: [{ type: Input }],
|
|
17900
|
-
procedi_button: [{ type: Input }]
|
|
17901
|
-
icon_mode: [{ type: Input }]
|
|
17899
|
+
procedi_button: [{ type: Input }]
|
|
17902
17900
|
};
|
|
17903
17901
|
return wkf_header_bar;
|
|
17904
17902
|
}());
|