@fluxhub/fluxhub-lib 10.0.600 → 10.0.602
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 +46 -23
- 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_select_level.js +4 -4
- package/esm2015/lib/wkf_engine/wkfapp.js +20 -11
- package/esm2015/lib/wkf_engine/wkfdatiaggiuntivi.js +2 -2
- package/esm2015/lib/wkf_engine_v2/win_select_level.js +2 -1
- package/esm2015/lib/wkf_engine_v2/wkfapp.js +20 -11
- package/esm2015/lib/wkf_engine_v2/wkfdatiaggiuntivi.js +4 -2
- package/fesm2015/fluxhub-fluxhub-lib.js +46 -25
- package/fesm2015/fluxhub-fluxhub-lib.js.map +1 -1
- package/fluxhub-fluxhub-lib.metadata.json +1 -1
- package/package.json +1 -1
|
@@ -10588,7 +10588,7 @@
|
|
|
10588
10588
|
}());
|
|
10589
10589
|
win_select_level.decorators = [
|
|
10590
10590
|
{ type: i0.Component, args: [{
|
|
10591
|
-
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:
|
|
10591
|
+
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:80%\">{{title}}</div>\n <div style=\"width:20%\" 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 <div mat-dialog-content style=\"font-size: 15px;\">\n\n <mat-dialog-content style=\"max-width:500px;font-size:12px\"\n ><br /><br />\n <mat-form-field\n appearance=\"outline\"\n floatLabel=\"always\"\n style=\"width:100%\"\n ><mat-label>{{'Seleziona Prossimo Step' | translate}}:</mat-label>\n <mat-select #cmb [(ngModel)]=\"selval\" (change)=\"sc()\">\n <mat-option value=\"-1\">{{'Seleziona' | translate}}</mat-option>\n <mat-option value=\"{{ app.livello }}\" *ngFor=\"let app of myData\">{{\n app.descri_livello | translate\n }}</mat-option>\n </mat-select>\n </mat-form-field>\n\n <br /><br /><br /><br />\n <div style=\"width:100%;text-align:center;\">\n <button mat-flat-button color=\"primary\" (click)=\"ok()\">\n {{ OK_BUTTON }}</button\n > \n <button mat-flat-button color=\"warn\" (click)=\"close()\">\n {{'ANNULLA' | translate}}\n </button>\n </div>\n <br /><br />\n </mat-dialog-content>\n <p style=\"color:#CC0000;font-size:9px;\" *ngIf=\"errorMsg != ''\">\n {{ errorMsg }}\n </p>\n </div>\n </div>\n "
|
|
10592
10592
|
},] }
|
|
10593
10593
|
];
|
|
10594
10594
|
win_select_level.ctorParameters = function () { return [
|
|
@@ -16146,6 +16146,7 @@
|
|
|
16146
16146
|
this.OK_BUTTON = "OK";
|
|
16147
16147
|
this.trans = [];
|
|
16148
16148
|
this.trans = data;
|
|
16149
|
+
this.title = this._tsr.instant(this.title);
|
|
16149
16150
|
/*
|
|
16150
16151
|
this.setStepCombo(
|
|
16151
16152
|
this.m_appService.getState().wkf_doc_info.livs,
|
|
@@ -19072,7 +19073,7 @@
|
|
|
19072
19073
|
setTimeout(function () {
|
|
19073
19074
|
dialogRef_2.componentInstance.setStepCombo(s_i_1);
|
|
19074
19075
|
dialogRef_2.componentInstance.title =
|
|
19075
|
-
"Riassegnazione documento: " +
|
|
19076
|
+
_this.tsr.instant("Riassegnazione documento") + ": " +
|
|
19076
19077
|
_this.get_grid().sRow.codice +
|
|
19077
19078
|
" - " +
|
|
19078
19079
|
_this.get_grid().sRow.oggetto;
|
|
@@ -19111,7 +19112,7 @@
|
|
|
19111
19112
|
setTimeout(function () {
|
|
19112
19113
|
dialogRef.componentInstance.arrAutori = arrAutori;
|
|
19113
19114
|
dialogRef.componentInstance.title =
|
|
19114
|
-
"Riassegnazione documento: " +
|
|
19115
|
+
_this.tsr.instant("Riassegnazione documento") + ": " +
|
|
19115
19116
|
_this.get_grid().sRow.codice +
|
|
19116
19117
|
" - " +
|
|
19117
19118
|
_this.get_grid().sRow.oggetto;
|
|
@@ -19320,14 +19321,24 @@
|
|
|
19320
19321
|
this.m_wkf.doQuery(p).subscribe(function (data) { });
|
|
19321
19322
|
};
|
|
19322
19323
|
wkfapp.prototype.annulla_imp = function () {
|
|
19323
|
-
|
|
19324
|
-
|
|
19325
|
-
|
|
19326
|
-
|
|
19327
|
-
|
|
19328
|
-
this.
|
|
19329
|
-
|
|
19330
|
-
|
|
19324
|
+
var _this = this;
|
|
19325
|
+
var p = new QParam();
|
|
19326
|
+
p.sql = "SELECT_CURRENT_USER_INFOS";
|
|
19327
|
+
p.types = [];
|
|
19328
|
+
p.values = [];
|
|
19329
|
+
this.m_dataService.doQuery(p).subscribe(function (data) {
|
|
19330
|
+
if (data != null)
|
|
19331
|
+
if (data.result_msg == "OK") {
|
|
19332
|
+
_this.app_s.user_name = data.result_data[0].nome;
|
|
19333
|
+
_this.app_s.user = data.result_data[0].username;
|
|
19334
|
+
_this.app_s.user_surname = data.result_data[0].cognome;
|
|
19335
|
+
_this.app_s.user_email = data.result_data[0].email;
|
|
19336
|
+
_this.user_idp = data.result_data[0].username;
|
|
19337
|
+
_this.user_nome = data.result_data[0].nome;
|
|
19338
|
+
_this.user_cognome = data.result_data[0].cognome;
|
|
19339
|
+
_this.user_email = data.result_data[0].email;
|
|
19340
|
+
}
|
|
19341
|
+
});
|
|
19331
19342
|
this.app_s.user_name_ori = null;
|
|
19332
19343
|
this.app_s.user_ori = null;
|
|
19333
19344
|
this.app_s.user_surname_ori = null;
|
|
@@ -19902,7 +19913,7 @@
|
|
|
19902
19913
|
this.app_s.getState().wkf_doc_info.st = lij;
|
|
19903
19914
|
this.app_s.getState().wkf_doc_info.cl = this.clevel;
|
|
19904
19915
|
var dialogRef = this.m_dialog.open(win_select_level, {
|
|
19905
|
-
disableClose: true,
|
|
19916
|
+
disableClose: true, width: '800px'
|
|
19906
19917
|
});
|
|
19907
19918
|
dialogRef.afterClosed().subscribe(function (result) {
|
|
19908
19919
|
if (result == null) {
|
|
@@ -21891,7 +21902,7 @@
|
|
|
21891
21902
|
setTimeout(function () {
|
|
21892
21903
|
dialogRef_2.componentInstance.setStepCombo(s_i_1);
|
|
21893
21904
|
dialogRef_2.componentInstance.title =
|
|
21894
|
-
_this.tsr.instant("Riassegnazione documento" + ': '
|
|
21905
|
+
_this.tsr.instant("Riassegnazione documento") + ': ' +
|
|
21895
21906
|
_this.get_grid().sRow.codice +
|
|
21896
21907
|
" - " +
|
|
21897
21908
|
_this.get_grid().sRow.oggetto;
|
|
@@ -21968,7 +21979,7 @@
|
|
|
21968
21979
|
setTimeout(function () {
|
|
21969
21980
|
dialogRef_3.componentInstance.arrAutori = arrAutori;
|
|
21970
21981
|
dialogRef_3.componentInstance.title =
|
|
21971
|
-
_this.tsr.instant("Riassegnazione documento" + ": "
|
|
21982
|
+
_this.tsr.instant("Riassegnazione documento") + ": " +
|
|
21972
21983
|
_this.get_grid().sRow.codice +
|
|
21973
21984
|
" - " +
|
|
21974
21985
|
_this.get_grid().sRow.oggetto;
|
|
@@ -22179,14 +22190,24 @@
|
|
|
22179
22190
|
this.m_wkf.doQuery(p).subscribe(function (data) { });
|
|
22180
22191
|
};
|
|
22181
22192
|
wkfapp_v2.prototype.annulla_imp = function () {
|
|
22182
|
-
|
|
22183
|
-
|
|
22184
|
-
|
|
22185
|
-
|
|
22186
|
-
|
|
22187
|
-
this.
|
|
22188
|
-
|
|
22189
|
-
|
|
22193
|
+
var _this = this;
|
|
22194
|
+
var p = new QParam();
|
|
22195
|
+
p.sql = "SELECT_CURRENT_USER_INFOS";
|
|
22196
|
+
p.types = [];
|
|
22197
|
+
p.values = [];
|
|
22198
|
+
this.m_dataService.doQuery(p).subscribe(function (data) {
|
|
22199
|
+
if (data != null)
|
|
22200
|
+
if (data.result_msg == "OK") {
|
|
22201
|
+
_this.app_s.user_name = data.result_data[0].nome;
|
|
22202
|
+
_this.app_s.user = data.result_data[0].username;
|
|
22203
|
+
_this.app_s.user_surname = data.result_data[0].cognome;
|
|
22204
|
+
_this.app_s.user_email = data.result_data[0].email;
|
|
22205
|
+
_this.user_idp = data.result_data[0].username;
|
|
22206
|
+
_this.user_nome = data.result_data[0].nome;
|
|
22207
|
+
_this.user_cognome = data.result_data[0].cognome;
|
|
22208
|
+
_this.user_email = data.result_data[0].email;
|
|
22209
|
+
}
|
|
22210
|
+
});
|
|
22190
22211
|
this.app_s.user_name_ori = null;
|
|
22191
22212
|
this.app_s.user_ori = null;
|
|
22192
22213
|
this.app_s.user_surname_ori = null;
|
|
@@ -22924,9 +22945,10 @@
|
|
|
22924
22945
|
}
|
|
22925
22946
|
else {
|
|
22926
22947
|
var dialogRef = _this.m_dialog.open(win_select_level_v2, {
|
|
22927
|
-
disableClose: true, data: transazioni
|
|
22948
|
+
disableClose: true, data: transazioni, width: '800px'
|
|
22928
22949
|
});
|
|
22929
22950
|
dialogRef.afterClosed().subscribe(function (result) {
|
|
22951
|
+
console.log('ris select level', result);
|
|
22930
22952
|
if (result == null) {
|
|
22931
22953
|
_this.update_status(true, null, null);
|
|
22932
22954
|
return;
|
|
@@ -22938,6 +22960,7 @@
|
|
|
22938
22960
|
});
|
|
22939
22961
|
};
|
|
22940
22962
|
dati_aggiuntivi_v2.prototype.calcolanextandjump2 = function (o) {
|
|
22963
|
+
console.log('calcolanextandjump2', o);
|
|
22941
22964
|
this.transizione_info = o;
|
|
22942
22965
|
var cliv = 0;
|
|
22943
22966
|
var liv = 0;
|