@fluxhub/fluxhub-lib 10.0.341 → 10.0.342
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 +21 -16
- 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/wkf_engine_v2/wkf_header_bar.js +5 -5
- package/esm2015/lib/wkf_engine_v2/wkfdatiaggiuntivi.js +22 -16
- package/fesm2015/fluxhub-fluxhub-lib.js +24 -19
- package/fesm2015/fluxhub-fluxhub-lib.js.map +1 -1
- package/fluxhub-fluxhub-lib.metadata.json +1 -1
- package/package.json +1 -1
|
@@ -15654,7 +15654,7 @@
|
|
|
15654
15654
|
wkf_header_bar_v2.decorators = [
|
|
15655
15655
|
{ type: i0.Component, args: [{
|
|
15656
15656
|
selector: "wkf_header_bar_v2",
|
|
15657
|
-
template: "\n <div fxLayout=\"row\" fxLayoutGap.lt-md=\"8px\" fxLayoutGap=\"15px\" fxLayout.lt-md=\"column\">\n <div\n fxLayout=\"row\"\n fxLayoutGap=\"16px\"\n fxLayoutGap.lt-md=\"8px\"\n *ngIf=\"\n !m_appService.getState().pageFullscreen ||\n edit_button ||\n respingi_button\n \"\n >\n <div>\n <button\n mat-flat-button\n (click)=\"back()\"\n *ngIf=\"!m_appService.getState().pageFullscreen\"\n >\n Indietro</button\n ></div><div>\n <button\n mat-flat-button\n (click)=\"evt_salv()\"\n *ngIf=\"edit_button || force_save\"\n color=\"primary\"\n >\n Salva</button\n ></div><div>\n <button\n mat-flat-button\n (click)=\"procedi()\"\n *ngIf=\"edit_button && procedi_button\"\n color=\"accent\"\n >\n Procedi</button\n ></div><div>\n <button\n mat-flat-button\n (click)=\"respingi()\"\n
|
|
15657
|
+
template: "\n <div fxLayout=\"row\" fxLayoutGap.lt-md=\"8px\" fxLayoutGap=\"15px\" fxLayout.lt-md=\"column\">\n <div\n fxLayout=\"row\"\n fxLayoutGap=\"16px\"\n fxLayoutGap.lt-md=\"8px\"\n *ngIf=\"\n !m_appService.getState().pageFullscreen ||\n edit_button ||\n respingi_button\n \"\n >\n <div>\n <button\n mat-flat-button\n (click)=\"back()\"\n *ngIf=\"!m_appService.getState().pageFullscreen\"\n >\n Indietro</button\n ></div><div>\n <button\n mat-flat-button\n (click)=\"evt_salv()\"\n *ngIf=\"edit_button || force_save\"\n color=\"primary\"\n >\n Salva</button\n ></div><div>\n <button\n mat-flat-button\n (click)=\"procedi()\"\n *ngIf=\"edit_button && procedi_button\"\n color=\"accent\"\n >\n Procedi</button\n ></div><div *ngIf=\"respingi_button\">\n <button\n mat-flat-button\n (click)=\"respingi()\"\n\n color=\"warn\"\n >\n Respingi\n </button>\n </div>\n <div *ngIf=\"b_revisione\">\n <button\n mat-flat-button\n (click)=\"revisione()\"\n\n color=\"accent\"\n >\n Revisione\n </button>\n </div>\n <!-- <button mat-flat-button (click)=\"doEnd(900)\" color=\"warn\" >test</button> \n-->\n </div>\n \n <div\n fxLayout=\"row\"\n fxLayout.xs=\"column\"\n fxLayoutGap=\"16px\"\n fxLayoutGap.xs=\"8px\"\n >\n <div fxLayout=\"row\" fxLayoutGap=\"16px\">\n <div>\n <button\n mat-flat-button\n (click)=\"open_info()\"\n *ngIf=\"!m_appService.getState().pageFullscreen && utility_button\"\n >\n <mat-icon>info_outline</mat-icon> Info Doc</button\n ></div>\n <div>\n <button\n mat-flat-button *ngIf=\"utility_button\"\n [color]=\"(dt_agg?.comm_c ? dt_agg?.comm_c : 0 > 0) ? 'accent' : ''\"\n [matBadge]=\"dt_agg?.comm_c ? dt_agg?.comm_c : 0\"\n matBadgePosition=\"before\"\n matBadgeColor=\"primary\"\n (click)=\"open_commenti()\"\n >\n <mat-icon>insert_comment</mat-icon>Commenti</button\n ></div>\n\n </div>\n <div fxLayout=\"row\" fxLayoutGap=\"16px\">\n <div>\n <button\n mat-flat-button *ngIf=\"utility_button\"\n [color]=\"(dt_agg?.all_c ? dt_agg?.all_c : 0 > 0) ? 'accent' : ''\"\n [matBadge]=\"dt_agg?.all_c ? dt_agg?.all_c : 0\"\n matBadgePosition=\"before\"\n matBadgeColor=\"primary\"\n (click)=\"open_upload()\"\n >\n <mat-icon>attach_file</mat-icon>Allegati</button\n ></div>\n\n <div>\n <button\n mat-flat-button\n (click)=\"open_wkf()\"\n *ngIf=\"!m_appService.getState().pageFullscreen && utility_button\"\n >\n <mat-icon>transfer_within_a_station</mat-icon>Workflow\n </button>\n </div>\n\n\n\n </div>\n </div>\n </div>\n "
|
|
15658
15658
|
},] }
|
|
15659
15659
|
];
|
|
15660
15660
|
wkf_header_bar_v2.ctorParameters = function () { return [
|
|
@@ -20995,21 +20995,26 @@
|
|
|
20995
20995
|
};
|
|
20996
20996
|
dati_aggiuntivi_v2.prototype.revisione = function () {
|
|
20997
20997
|
var _this = this;
|
|
20998
|
-
var
|
|
20999
|
-
|
|
21000
|
-
|
|
21001
|
-
|
|
21002
|
-
|
|
21003
|
-
|
|
21004
|
-
|
|
21005
|
-
|
|
21006
|
-
|
|
21007
|
-
|
|
21008
|
-
|
|
21009
|
-
|
|
21010
|
-
|
|
21011
|
-
|
|
21012
|
-
|
|
20998
|
+
var dialogRef = this.m_dialog.open(fh_win_confirm, {
|
|
20999
|
+
disableClose: true, data: {
|
|
21000
|
+
title_dialog: "Conferma Operazione",
|
|
21001
|
+
msg_dialog: "Confermi di voler revisionare il documento?"
|
|
21002
|
+
}
|
|
21003
|
+
});
|
|
21004
|
+
dialogRef.afterClosed().subscribe(function (result) {
|
|
21005
|
+
if (result) {
|
|
21006
|
+
var p = new QParam();
|
|
21007
|
+
p.sql = "UPDATE_DOCUMENTO_REV";
|
|
21008
|
+
p.values = [_this.id_applicativo, _this.id_documento];
|
|
21009
|
+
p.types = ['string', 'string'];
|
|
21010
|
+
_this.m_dataService.doQuery(p).subscribe(function (data) {
|
|
21011
|
+
if (data != null)
|
|
21012
|
+
if (data.result_msg == "OK") {
|
|
21013
|
+
_this.alert('Revisione generata', 0);
|
|
21014
|
+
window.location.reload();
|
|
21015
|
+
}
|
|
21016
|
+
});
|
|
21017
|
+
}
|
|
21013
21018
|
});
|
|
21014
21019
|
};
|
|
21015
21020
|
dati_aggiuntivi_v2.prototype.onResize = function (event) { };
|