@fluxhub/fluxhub-lib 10.0.740 → 10.0.741
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 +2 -79
- 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/win_select_level.js +8 -8
- package/esm2015/lib/wkf_engine_v2/wkfdatiaggiuntivi.js +2 -79
- package/fesm2015/fluxhub-fluxhub-lib.js +8 -85
- package/fesm2015/fluxhub-fluxhub-lib.js.map +1 -1
- package/fluxhub-fluxhub-lib.metadata.json +1 -1
- package/package.json +1 -1
|
@@ -16365,7 +16365,7 @@
|
|
|
16365
16365
|
}());
|
|
16366
16366
|
win_select_level_v2.decorators = [
|
|
16367
16367
|
{ type: i0.Component, args: [{
|
|
16368
|
-
template: "\n<div
|
|
16368
|
+
template: "\n<div fxLayout=\"column\">\n<div fxFlex=\"100\" fxLayout=\"row\" fxLayoutAlign=\"start center\" class=\"dialog_header\">\n\n<div fxLayout=\"row\" fxLayoutAlign=\"start center\" fxFlex=\"90\"><div>{{title|translate}}</div></div>\n\n<div fxFlex=\"10\" fxLayout=\"row\" fxLayoutAlign=\"end center\">\n <div><img src=\"assets/icons/x.png\" style=\"cursor: pointer;\" (click)=\"dialogRef.close(null)\" /> </div>\n</div>\n\n</div>\n\n\n<mat-dialog-content>\n<hr width=\"100%\" size=\"0.5\" color=\"#DDDDDD\">\n\n <br />\n <div fxLayout=\"column\" fxLayoutGap=\"5px\">\n <div *ngFor=\"let app of trans\">\n <button mat-raised-button [style.background-color]=\"app.color\" (click)=\"sel(app)\"\n [style.color]=\"app.color_font\" style=\"font-weight:bold;font-size:18px;min-width:300px\">\n <i *ngIf=\"app.icon!=null && app.icon!=''\" class=\"fa {{app.icon}}\" aria-hidden=\"true\"></i>\n\n{{ app.description|translate}}</button>\n<br><br>\n\n\n</div>\n </div>\n</mat-dialog-content>\n\n\n "
|
|
16369
16369
|
},] }
|
|
16370
16370
|
];
|
|
16371
16371
|
win_select_level_v2.ctorParameters = function () { return [
|
|
@@ -23318,83 +23318,6 @@
|
|
|
23318
23318
|
this.clevel = this.check_n_levels(this.clevel);
|
|
23319
23319
|
this.calcolanextandjump();
|
|
23320
23320
|
};
|
|
23321
|
-
/*
|
|
23322
|
-
selectLevel() {
|
|
23323
|
-
let p: QParam = new QParam();
|
|
23324
|
-
p.sql = "SELECT_TRANSAZIONI_FROM_LVL";
|
|
23325
|
-
p.values = [this.id_applicativo, this.clevel.step];
|
|
23326
|
-
p.types = ["string", "int"];
|
|
23327
|
-
this.m_dataService.doQuery(p).subscribe((data) => {
|
|
23328
|
-
if(data.result_data.length==0){
|
|
23329
|
-
this.alert('Nessuna transizione definita',1);
|
|
23330
|
-
return;
|
|
23331
|
-
}
|
|
23332
|
-
|
|
23333
|
-
|
|
23334
|
-
|
|
23335
|
-
});
|
|
23336
|
-
|
|
23337
|
-
this.app_s.getState().wkf_doc_info.livs = this.livs;
|
|
23338
|
-
this.app_s.getState().wkf_doc_info.cl = this.clevel;
|
|
23339
|
-
|
|
23340
|
-
let dialogRef = this.m_dialog.open(win_select_level_v2, {
|
|
23341
|
-
disableClose: true,
|
|
23342
|
-
});
|
|
23343
|
-
|
|
23344
|
-
dialogRef.afterClosed().subscribe((result) => {
|
|
23345
|
-
if (result == null) {
|
|
23346
|
-
this.edit_b(true);
|
|
23347
|
-
return;
|
|
23348
|
-
}
|
|
23349
|
-
let liv: number = result;
|
|
23350
|
-
if (result.descri_livello == "Prosegui a step successivo") {
|
|
23351
|
-
this.calcolanextandjump();
|
|
23352
|
-
return;
|
|
23353
|
-
}
|
|
23354
|
-
|
|
23355
|
-
if (result.descri_livello == "Prosegui a chiusura") {
|
|
23356
|
-
liv = 0;
|
|
23357
|
-
for (var i: number = 0; i < this.livs.length; i++)
|
|
23358
|
-
if (
|
|
23359
|
-
this.livs[i].step < 900 &&
|
|
23360
|
-
this.livs[i].step > liv &&
|
|
23361
|
-
this.livs[i].notifica == 0
|
|
23362
|
-
) {
|
|
23363
|
-
this.clevel = this.livs[i];
|
|
23364
|
-
liv = this.livs[i].step;
|
|
23365
|
-
}
|
|
23366
|
-
this.calcolanextandjump();
|
|
23367
|
-
return;
|
|
23368
|
-
}
|
|
23369
|
-
|
|
23370
|
-
liv = this.wkf_rule(liv);
|
|
23371
|
-
var bfound: Boolean = false;
|
|
23372
|
-
for (var i: number = 0; i < this.livs.length; i++)
|
|
23373
|
-
if (
|
|
23374
|
-
this.user_idp.toUpperCase() == this.livs[i].username.toUpperCase() &&
|
|
23375
|
-
this.livs[i].notifica == 0
|
|
23376
|
-
)
|
|
23377
|
-
if (this.livs[i].step == liv) {
|
|
23378
|
-
this.nlevel = this.livs[i];
|
|
23379
|
-
liv = this.livs[i].step;
|
|
23380
|
-
|
|
23381
|
-
bfound = true;
|
|
23382
|
-
}
|
|
23383
|
-
|
|
23384
|
-
if (!bfound) {
|
|
23385
|
-
for (var i: number = 0; i < this.livs.length; i++)
|
|
23386
|
-
if (this.livs[i].step == liv && this.livs[i].notifica == 0) {
|
|
23387
|
-
this.nlevel = this.livs[i];
|
|
23388
|
-
liv = this.livs[i].step;
|
|
23389
|
-
|
|
23390
|
-
break;
|
|
23391
|
-
}
|
|
23392
|
-
}
|
|
23393
|
-
|
|
23394
|
-
// this.doJump();
|
|
23395
|
-
});
|
|
23396
|
-
}
|
|
23397
|
-
*/
|
|
23398
23321
|
dati_aggiuntivi_v2.prototype.wkf_rule_before = function (transazioni, step, context) {
|
|
23399
23322
|
return transazioni;
|
|
23400
23323
|
};
|
|
@@ -23419,7 +23342,7 @@
|
|
|
23419
23342
|
}
|
|
23420
23343
|
else {
|
|
23421
23344
|
var dialogRef = _this.m_dialog.open(win_select_level_v2, {
|
|
23422
|
-
disableClose: true, data: transazioni
|
|
23345
|
+
disableClose: true, data: transazioni
|
|
23423
23346
|
});
|
|
23424
23347
|
dialogRef.afterClosed().subscribe(function (result) {
|
|
23425
23348
|
console.log('ris select level', result);
|