@fluxhub/fluxhub-lib 10.0.324 → 10.0.326
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 +32 -34
- 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/win_info_doc.js +22 -29
- package/esm2015/lib/wkf_engine/win_log.js +7 -3
- package/esm2015/lib/wkf_engine/wkfdatiaggiuntivi.js +2 -4
- package/esm2015/lib/wkf_engine_v2/win_log.js +7 -3
- package/esm2015/lib/wkf_engine_v2/win_uploads.js +6 -3
- package/fesm2015/fluxhub-fluxhub-lib.js +36 -34
- package/fesm2015/fluxhub-fluxhub-lib.js.map +1 -1
- package/fluxhub-fluxhub-lib.metadata.json +1 -1
- package/lib/wkf_engine/win_info_doc.d.ts +6 -3
- package/package.json +1 -1
|
@@ -10354,52 +10354,44 @@
|
|
|
10354
10354
|
]; };
|
|
10355
10355
|
|
|
10356
10356
|
var win_info_doc = /** @class */ (function () {
|
|
10357
|
-
function win_info_doc(dialogRef, m_appService, toast) {
|
|
10357
|
+
function win_info_doc(dialogRef, m_appService, toast, data) {
|
|
10358
10358
|
this.dialogRef = dialogRef;
|
|
10359
10359
|
this.m_appService = m_appService;
|
|
10360
10360
|
this.toast = toast;
|
|
10361
|
+
this.data = data;
|
|
10361
10362
|
this.title = 'INFO DOCUMENTO';
|
|
10362
10363
|
this.hide_richiedente = false;
|
|
10363
|
-
this.load_info();
|
|
10364
|
+
this.load_info(data);
|
|
10364
10365
|
}
|
|
10365
10366
|
win_info_doc.prototype.close = function () {
|
|
10366
10367
|
this.dialogRef.close(null);
|
|
10367
10368
|
};
|
|
10368
|
-
win_info_doc.prototype.load_info = function () {
|
|
10369
|
-
|
|
10370
|
-
|
|
10371
|
-
|
|
10372
|
-
|
|
10373
|
-
|
|
10374
|
-
|
|
10375
|
-
|
|
10376
|
-
|
|
10377
|
-
|
|
10378
|
-
|
|
10379
|
-
|
|
10380
|
-
return;
|
|
10381
|
-
}
|
|
10382
|
-
this.codice = this.m_appService.getState().wkf_doc_info.codice;
|
|
10383
|
-
this.data_richiesta = this.m_appService.getState().wkf_doc_info.data_richiesta;
|
|
10384
|
-
this.richiedente = this.m_appService.getState().wkf_doc_info.richiedente;
|
|
10385
|
-
this.stato = this.m_appService.getState().wkf_doc_info.stato;
|
|
10386
|
-
this.in_carico_a = this.m_appService.getState().wkf_doc_info.in_carico_a;
|
|
10387
|
-
this.uiid_app = this.m_appService.getState().wkf_doc_info.uiid_app;
|
|
10388
|
-
this.uiid_doc = this.m_appService.getState().wkf_doc_info.uiid_doc;
|
|
10389
|
-
this.canale = this.m_appService.getState().wkf_doc_info.canale;
|
|
10369
|
+
win_info_doc.prototype.load_info = function (data) {
|
|
10370
|
+
console.log('data ', data);
|
|
10371
|
+
this.codice = data.codice;
|
|
10372
|
+
this.data_richiesta = data.data_richiesta;
|
|
10373
|
+
this.richiedente = data.richiedente;
|
|
10374
|
+
this.stato = data.stato;
|
|
10375
|
+
this.stat_stato = data.stat_stato;
|
|
10376
|
+
this.in_carico_a = data.s_uto;
|
|
10377
|
+
this.uiid_app = data.id_applicativo;
|
|
10378
|
+
this.uiid_doc = data.id_documento;
|
|
10379
|
+
this.canale = data.canale;
|
|
10380
|
+
this.nc = data.nc;
|
|
10390
10381
|
};
|
|
10391
10382
|
win_info_doc.prototype.ngAfterViewInit = function () { };
|
|
10392
10383
|
return win_info_doc;
|
|
10393
10384
|
}());
|
|
10394
10385
|
win_info_doc.decorators = [
|
|
10395
10386
|
{ type: i0.Component, args: [{
|
|
10396
|
-
template: "\n
|
|
10387
|
+
template: "\n <div\u00A0 \u00A0fxLayout=\"column\" fxLayoutGap=\"5px\">\n\u00A0\u00A0\u00A0\u00A0<div\u00A0 fxFlex=\"100\"\u00A0fxLayout=\"row\"\u00A0 \u00A0class=\"dialog_header\">\n\t<div fxLayout=\"row\"\u00A0fxLayoutAlign=\"start\u00A0center\" style=\"width:50%\">{{title|translate}}</div>\n <div style=\"width:50%\" fxLayout=\"row\" fxLayoutAlign=\"end start\">\n <img\u00A0\u00A0\u00A0\u00A0src=\"assets/icons/x.png\"\u00A0\u00A0\u00A0\u00A0\u00A0\u00A0\u00A0\u00A0style=\"cursor:\u00A0pointer;\"\u00A0\u00A0\u00A0\u00A0\u00A0\u00A0\u00A0\u00A0(click)=\"close()\"\u00A0/>\n</div>\n</div>\n\t\t<hr width=\"100%\" size=\"0.5\" color=\"#DDDDDD\">\n <div mat-dialog-content style=\"font-size: 15px;\">\n <table class=\"fh_table\">\n <tbody>\n <tr class=\"odd\">\n <td>{{'Codice'|translate}}:</td>\n <td>\n <b>{{ codice }}</b>\n </td>\n </tr>\n <tr class=\"even\">\n <td>{{'Data'|translate}}:</td>\n <td>\n <b>{{ data_richiesta | date: \"dd/MM/yyyy hh:mm:ss\" }}</b>\n </td>\n </tr>\n <tr *ngIf=\"!hide_richiedente\" class=\"odd\">\n <td>{{'Richiedente'|translate}}:</td>\n <td>\n <b>{{ richiedente }}</b>\n </td>\n </tr>\n <tr class=\"even\">\n <td>{{'Stato'|translate}}:</td>\n <td>\n <b>{{ stato }}</b>\n </td>\n </tr>\n <tr class=\"odd\">\n <td>{{'In Carico a'|translate}}:</td>\n <td>\n <b>{{ in_carico_a }}</b>\n </td>\n </tr>\n\n <tr class=\"even\" *ngIf=\"m_appService.dev_mode\">\n <td>Uiid App:</td>\n <td>\n <b>{{ uiid_app }}</b>\n </td>\n </tr>\n <tr class=\"odd\" *ngIf=\"m_appService.dev_mode\">\n <td>Uiid Doc:</td>\n <td>\n <b>{{ uiid_doc }}</b>\n </td>\n </tr>\n <tr class=\"odd\" *ngIf=\"m_appService.dev_mode\">\n <td>Grp:</td>\n <td>\n <b>{{ canale }}</b>\n </td>\n </tr>\n </tbody>\n </table>\n </div>\n <br />\n\n <div style=\"width:100%;text-align:center;\">\n <button\n mat-flat-button\n style=\"background-color: #F5F5F5\"\n (click)=\"dialogRef.close('')\"\n >\n CHIUDI\n </button>\n </div>\n</div>\n "
|
|
10397
10388
|
},] }
|
|
10398
10389
|
];
|
|
10399
10390
|
win_info_doc.ctorParameters = function () { return [
|
|
10400
10391
|
{ type: dialog.MatDialogRef },
|
|
10401
10392
|
{ type: AppService },
|
|
10402
|
-
{ type: i3.ToastrService }
|
|
10393
|
+
{ type: i3.ToastrService },
|
|
10394
|
+
{ type: undefined, decorators: [{ type: i0.Inject, args: [dialog.MAT_DIALOG_DATA,] }] }
|
|
10403
10395
|
]; };
|
|
10404
10396
|
|
|
10405
10397
|
var win_log = /** @class */ (function () {
|
|
@@ -10537,8 +10529,12 @@
|
|
|
10537
10529
|
if (data.result_msg == "OK") {
|
|
10538
10530
|
_this.logs = data.result_data;
|
|
10539
10531
|
for (var i = 0; i < _this.logs.length; i++)
|
|
10540
|
-
_this.logs[i].
|
|
10541
|
-
|
|
10532
|
+
if (_this.logs[i].stato_attuale != null)
|
|
10533
|
+
_this.logs[i].v_commento =
|
|
10534
|
+
"<b>" + _this.logs[i].operazione.replace(/\n/g, "<br/>") + " (" + _this.logs[i].stato_attuale.replace(/\n/g, "<br/>") + ")</b>";
|
|
10535
|
+
else
|
|
10536
|
+
_this.logs[i].v_commento =
|
|
10537
|
+
"<b>" + _this.logs[i].operazione.replace(/\n/g, "<br/>") + "</b>";
|
|
10542
10538
|
if (!_this.ossv)
|
|
10543
10539
|
_this.modeler = new NavigatedViewer({
|
|
10544
10540
|
container: "#canvas",
|
|
@@ -14842,8 +14838,12 @@
|
|
|
14842
14838
|
if (data.result_msg == "OK") {
|
|
14843
14839
|
_this.logs = data.result_data;
|
|
14844
14840
|
for (var i = 0; i < _this.logs.length; i++)
|
|
14845
|
-
_this.logs[i].
|
|
14846
|
-
|
|
14841
|
+
if (_this.logs[i].stato_attuale != null)
|
|
14842
|
+
_this.logs[i].v_commento =
|
|
14843
|
+
"<b>" + _this.logs[i].operazione.replace(/\n/g, "<br/>") + " (" + _this.logs[i].stato_attuale.replace(/\n/g, "<br/>") + ")</b>";
|
|
14844
|
+
else
|
|
14845
|
+
_this.logs[i].v_commento =
|
|
14846
|
+
"<b>" + _this.logs[i].operazione.replace(/\n/g, "<br/>") + "</b>";
|
|
14847
14847
|
if (!_this.ossv)
|
|
14848
14848
|
_this.modeler = new NavigatedViewer({
|
|
14849
14849
|
container: "#canvas",
|
|
@@ -15554,7 +15554,7 @@
|
|
|
15554
15554
|
win_uploads_v2.decorators = [
|
|
15555
15555
|
{ type: i0.Component, args: [{
|
|
15556
15556
|
selector: "wkf_win_upload",
|
|
15557
|
-
template: "\n \u00A0\u00A0\u00A0\u00A0<div\u00A0 fxFlex=\"100\"\u00A0fxLayout=\"row\"\u00A0 \u00A0class=\"dialog_header\">\n\t<div fxLayout=\"row\"\u00A0fxLayoutAlign=\"start\u00A0center\" style=\"width:50%\">{{title}}</div>\n <div style=\"width:50%\" fxLayout=\"row\" fxLayoutAlign=\"end start\">\n <img\u00A0\u00A0\u00A0\u00A0src=\"assets/icons/x.png\"\u00A0\u00A0\u00A0\u00A0\u00A0\u00A0\u00A0\u00A0style=\"cursor:\u00A0pointer;\"\u00A0\u00A0\u00A0\u00A0\u00A0\u00A0\u00A0\u00A0(click)=\"close()\"\u00A0/>\n</div>\n</div>\n\n <mat-dialog-content style=\"font-size:12px\">\n
|
|
15557
|
+
template: "\n <div\u00A0 \u00A0fxLayout=\"column\" fxLayoutGap=\"5px\">\n \u00A0\u00A0\u00A0\u00A0<div\u00A0 fxFlex=\"100\"\u00A0fxLayout=\"row\"\u00A0 \u00A0class=\"dialog_header\">\n\t<div fxLayout=\"row\"\u00A0fxLayoutAlign=\"start\u00A0center\" style=\"width:50%\">{{title}}</div>\n <div style=\"width:50%\" fxLayout=\"row\" fxLayoutAlign=\"end start\">\n <img\u00A0\u00A0\u00A0\u00A0src=\"assets/icons/x.png\"\u00A0\u00A0\u00A0\u00A0\u00A0\u00A0\u00A0\u00A0style=\"cursor:\u00A0pointer;\"\u00A0\u00A0\u00A0\u00A0\u00A0\u00A0\u00A0\u00A0(click)=\"close()\"\u00A0/>\n</div>\n</div>\n\t\t<hr width=\"100%\" size=\"0.5\" color=\"#DDDDDD\">\n\n <mat-dialog-content style=\"font-size:12px\">\n<br><br>\n <FHUploadPanel\n [enabled]=\"enabled\"\n #upc\n [access_control]=\"access_control\"\n [sovrascrivi_path]=\"sovrascrivi_path\"\n [ruolo_supervisore]=\"admin_role\"\n ></FHUploadPanel>\n </mat-dialog-content>\n <br /><br />\n <div style=\"width:100%;text-align:center;\">\n <button\n mat-flat-button\n style=\"background-color: #F5F5F5\"\n (click)=\"close()\"\n >\n {{'CHIUDI' | translate}}\n </button>\n </div>\n </div>\n ",
|
|
15558
15558
|
styles: [""]
|
|
15559
15559
|
},] }
|
|
15560
15560
|
];
|
|
@@ -16914,7 +16914,6 @@
|
|
|
16914
16914
|
break;
|
|
16915
16915
|
}
|
|
16916
16916
|
}
|
|
16917
|
-
console.log('this.clevel ', this.clevel);
|
|
16918
16917
|
if (this.clevel == null)
|
|
16919
16918
|
for (var i = 0; i < this.livs.length; i++) {
|
|
16920
16919
|
if (this.livs[i].livello == liv) {
|
|
@@ -17132,7 +17131,6 @@
|
|
|
17132
17131
|
}
|
|
17133
17132
|
}
|
|
17134
17133
|
}
|
|
17135
|
-
console.log('arrAutori ', arrAutori);
|
|
17136
17134
|
if (arrAutori.length == 0) {
|
|
17137
17135
|
this.alert("problema di configurazione il livello " +
|
|
17138
17136
|
this.nlevel.descri_livello +
|
|
@@ -18164,7 +18162,7 @@
|
|
|
18164
18162
|
dati_aggiuntivi.prototype.open_info = function () {
|
|
18165
18163
|
var _this = this;
|
|
18166
18164
|
var dialogRef = this.m_dialog.open(win_info_doc, {
|
|
18167
|
-
disableClose: true,
|
|
18165
|
+
disableClose: true, data: this.m_obj
|
|
18168
18166
|
});
|
|
18169
18167
|
setTimeout(function () {
|
|
18170
18168
|
dialogRef.componentInstance.hide_richiedente = _this.hide_richiedente;
|