@fluxhub/fluxhub-lib 9.0.9 → 9.0.11
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 +10 -6
- package/bundles/fluxhub-fluxhub-lib.umd.js.map +1 -1
- package/bundles/fluxhub-fluxhub-lib.umd.min.js +2 -2
- package/bundles/fluxhub-fluxhub-lib.umd.min.js.map +1 -1
- package/esm2015/lib/controls/fhgrid.js +2 -2
- package/esm2015/lib/services/utility.service.js +4 -1
- package/esm2015/lib/wkf_engine/wkf_header_bar.js +3 -3
- package/esm2015/lib/wkf_engine/wkfapp.js +3 -3
- package/esm2015/lib/wkf_engine/wkfdatiaggiuntivi.js +3 -3
- package/esm5/lib/controls/fhgrid.js +2 -2
- package/esm5/lib/services/utility.service.js +5 -1
- package/esm5/lib/wkf_engine/wkf_header_bar.js +2 -2
- package/esm5/lib/wkf_engine/wkfapp.js +3 -3
- package/esm5/lib/wkf_engine/wkfdatiaggiuntivi.js +3 -3
- package/fesm2015/fluxhub-fluxhub-lib.js +10 -7
- package/fesm2015/fluxhub-fluxhub-lib.js.map +1 -1
- package/fesm5/fluxhub-fluxhub-lib.js +10 -6
- package/fesm5/fluxhub-fluxhub-lib.js.map +1 -1
- package/fluxhub-fluxhub-lib.metadata.json +1 -1
- package/lib/services/utility.service.d.ts +1 -0
- package/package.json +1 -1
|
@@ -402,6 +402,10 @@ var UtilityService = /** @class */ (function () {
|
|
|
402
402
|
this.simpleCrypt = new SimpleCrypt();
|
|
403
403
|
}
|
|
404
404
|
UtilityService_1 = UtilityService;
|
|
405
|
+
UtilityService.prototype.set_home_title = function (s) {
|
|
406
|
+
var _this = this;
|
|
407
|
+
setTimeout(function () { _this.app_s.getState().topnavTitle = s; }, 10);
|
|
408
|
+
};
|
|
405
409
|
UtilityService.prototype.check_value_combo = function (obj_value, combo_value) {
|
|
406
410
|
if (combo_value != null)
|
|
407
411
|
if (combo_value != '-1')
|
|
@@ -4671,7 +4675,7 @@ var wkfapp = /** @class */ (function () {
|
|
|
4671
4675
|
.getState()
|
|
4672
4676
|
.wkf_obj
|
|
4673
4677
|
.title;
|
|
4674
|
-
this.
|
|
4678
|
+
this.m_uti.set_home_title(this.att_panelcat);
|
|
4675
4679
|
};
|
|
4676
4680
|
wkfapp.prototype.init_Panel = function (cod_documento, id_Doc) {
|
|
4677
4681
|
this.m_id_Doc = id_Doc;
|
|
@@ -4740,7 +4744,7 @@ var wkfapp = /** @class */ (function () {
|
|
|
4740
4744
|
_this.user_nome = _this.app_s.user_name;
|
|
4741
4745
|
_this.user_cognome = _this.app_s.user_surname;
|
|
4742
4746
|
_this.user_email = _this.app_s.user_email;
|
|
4743
|
-
_this.
|
|
4747
|
+
_this.m_uti.set_home_title(_this.att_panelcat);
|
|
4744
4748
|
var p_3 = new QParam();
|
|
4745
4749
|
p_3.sql = "SELECT_UTENTE_WKF_ADMIN";
|
|
4746
4750
|
p_3.types = ['string', 'string'];
|
|
@@ -5027,7 +5031,7 @@ var FHGridComponent = /** @class */ (function () {
|
|
|
5027
5031
|
this.system_dest = 1;
|
|
5028
5032
|
this.header_h = 35;
|
|
5029
5033
|
this.init_fill = true;
|
|
5030
|
-
this.no_pref =
|
|
5034
|
+
this.no_pref = true;
|
|
5031
5035
|
this.autosize_at_ini = true;
|
|
5032
5036
|
this.label_elementi = " Elementi";
|
|
5033
5037
|
this.trova_label = "TROVA";
|
|
@@ -11961,7 +11965,7 @@ var dati_aggiuntivi = /** @class */ (function () {
|
|
|
11961
11965
|
this.btnApprova_label = 'APPROVA';
|
|
11962
11966
|
this.btnAssegna_label = "Assegna";
|
|
11963
11967
|
this.btnRespingi_label = 'RESPINGI';
|
|
11964
|
-
this.
|
|
11968
|
+
this.uti_s.set_home_title(this.app_info.descrizione_breve + ' - Nuova Richiesta');
|
|
11965
11969
|
this.reset_form(this.app_info.descrizione_breve + ' - Nuova Richiesta');
|
|
11966
11970
|
this.reset_counters_int(0, 0);
|
|
11967
11971
|
/*
|
|
@@ -12046,7 +12050,7 @@ var dati_aggiuntivi = /** @class */ (function () {
|
|
|
12046
12050
|
break;
|
|
12047
12051
|
}
|
|
12048
12052
|
this.app_s.getState().wkf_doc_info.in_carico_a = this.s_uto;
|
|
12049
|
-
this.
|
|
12053
|
+
this.uti_s.set_home_title(this.app_info.descrizione_breve + ' ' + this.m_obj.codice + ' - ' + this.m_obj.stat_stato);
|
|
12050
12054
|
this.reset_form(this.app_info.descrizione_breve + ' ' + this.m_obj.codice + ' - ' + this.m_obj.stat_stato); //+' ('+s_uto+')');
|
|
12051
12055
|
};
|
|
12052
12056
|
dati_aggiuntivi.prototype.onResize = function (event) {
|
|
@@ -12207,7 +12211,7 @@ var wkf_header_bar = /** @class */ (function () {
|
|
|
12207
12211
|
wkf_header_bar = __decorate([
|
|
12208
12212
|
Component({
|
|
12209
12213
|
selector: 'wkf_header_bar',
|
|
12210
|
-
template: "\n\n <div fxLayout=\"row\" fxLayout.lt-md=\"column\">\n<div fxLayout=\"row\" fxLayoutGap=\"3px\" *ngIf=\"!m_appService.getState().pageFullscreen || edit_button || respingi_button\">\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</div>\n \n<div fxLayout=\"row\" fxLayout.xs=\"column\"
|
|
12214
|
+
template: "\n\n <div fxLayout=\"row\" fxLayout.lt-md=\"column\">\n<div fxLayout=\"row\" fxLayoutGap=\"3px\" *ngIf=\"!m_appService.getState().pageFullscreen || edit_button || respingi_button\">\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</div>\n \n<div fxLayout=\"row\" fxLayout.xs=\"column\" fxLayoutGap=\"16px\" fxLayoutGap.xs=\"3px\">\n <div fxLayout=\"row\" >\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 [color]=\"(dt_agg?.comm_c?dt_agg?.comm_c:0>0)?'accent':''\" [matBadge]=\"dt_agg?.comm_c?dt_agg?.comm_c:0\" matBadgePosition=\"before\" matBadgeColor=\"primary\" (click)=\"open_commenti()\"> <mat-icon>insert_comment</mat-icon>Commenti</button> </div> <div fxLayout=\"row\">\n<button mat-flat-button [color]=\"(dt_agg?.all_c?dt_agg?.all_c:0>0)?'accent':''\" [matBadge]=\"dt_agg?.all_c?dt_agg?.all_c:0\" matBadgePosition=\"before\" matBadgeColor=\"primary\" (click)=\"open_upload()\"> <mat-icon>attach_file</mat-icon>Allegati</button> \n <button mat-flat-button (click)=\"open_wkf()\" *ngIf=\"!m_appService.getState().pageFullscreen\"> <mat-icon>transfer_within_a_station</mat-icon>Workflow</button></div>\n</div>\n </div>\n "
|
|
12211
12215
|
}),
|
|
12212
12216
|
__metadata("design:paramtypes", [AppService])
|
|
12213
12217
|
], wkf_header_bar);
|