@fluxhub/fluxhub-lib 10.0.738 → 10.0.739
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 +22 -6
- 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_commenti.js +4 -2
- package/esm2015/lib/wkf_engine_v2/win_log.js +4 -2
- package/esm2015/lib/wkf_engine_v2/wkf_header_bar.js +5 -3
- package/esm2015/lib/wkf_engine_v2/wkfdatiaggiuntivi.js +13 -3
- package/fesm2015/fluxhub-fluxhub-lib.js +22 -6
- package/fesm2015/fluxhub-fluxhub-lib.js.map +1 -1
- package/fluxhub-fluxhub-lib.metadata.json +1 -1
- package/lib/wkf_engine_v2/win_commenti.d.ts +1 -0
- package/lib/wkf_engine_v2/win_log.d.ts +1 -0
- package/lib/wkf_engine_v2/wkf_header_bar.d.ts +1 -0
- package/lib/wkf_engine_v2/wkfdatiaggiuntivi.d.ts +3 -2
- package/package.json +1 -1
|
@@ -15060,10 +15060,11 @@
|
|
|
15060
15060
|
this.subject = "";
|
|
15061
15061
|
this.link = "";
|
|
15062
15062
|
this.codice_doc = "";
|
|
15063
|
+
this.op = "";
|
|
15063
15064
|
this.refresh_list();
|
|
15064
15065
|
}
|
|
15065
15066
|
win_commenti_v2.prototype.close = function () {
|
|
15066
|
-
this.dialogRef.close(
|
|
15067
|
+
this.dialogRef.close(this.op);
|
|
15067
15068
|
};
|
|
15068
15069
|
win_commenti_v2.prototype.init_v = function () {
|
|
15069
15070
|
if (this.notifica_commenti > 0 && this.notifica_commenti_obbl == 1) {
|
|
@@ -15222,6 +15223,7 @@
|
|
|
15222
15223
|
];
|
|
15223
15224
|
var ok_op = false;
|
|
15224
15225
|
this._dataService.doQuery(p).subscribe(function (data) {
|
|
15226
|
+
_this.op = 'i';
|
|
15225
15227
|
var ok_op = false;
|
|
15226
15228
|
if (data != null)
|
|
15227
15229
|
if (data.result_msg == "OK") {
|
|
@@ -15602,6 +15604,7 @@
|
|
|
15602
15604
|
this.ossv = false;
|
|
15603
15605
|
this.not_comm = false;
|
|
15604
15606
|
this.not_comm_disabled = false;
|
|
15607
|
+
this.op = '';
|
|
15605
15608
|
this.b_flussook = true;
|
|
15606
15609
|
this.logs = new Array();
|
|
15607
15610
|
this.notifica_commenti = 1;
|
|
@@ -15624,7 +15627,7 @@
|
|
|
15624
15627
|
this.refresh_list();
|
|
15625
15628
|
};
|
|
15626
15629
|
win_log_v2.prototype.close = function () {
|
|
15627
|
-
this.dialogRef.close(
|
|
15630
|
+
this.dialogRef.close(this.op);
|
|
15628
15631
|
};
|
|
15629
15632
|
win_log_v2.prototype.init_v = function () {
|
|
15630
15633
|
if (this.notifica_commenti > 0 && this.notifica_commenti_obbl == 1) {
|
|
@@ -15888,6 +15891,7 @@
|
|
|
15888
15891
|
var ok_op = false;
|
|
15889
15892
|
if (data != null)
|
|
15890
15893
|
if (data.result_msg == "OK") {
|
|
15894
|
+
_this.op = 'i';
|
|
15891
15895
|
_this.toastr.info(_this._tsr.instant("INFO"), _this._tsr.instant("COMMENTO INSERITO"), {
|
|
15892
15896
|
timeOut: 1000,
|
|
15893
15897
|
progressBar: true,
|
|
@@ -16525,6 +16529,7 @@
|
|
|
16525
16529
|
this.admin_role = '[ZZZ_DIS_CC]';
|
|
16526
16530
|
this.sovra_path = '';
|
|
16527
16531
|
this.command = new i0.EventEmitter();
|
|
16532
|
+
this.comment_inserted = new i0.EventEmitter();
|
|
16528
16533
|
this.button_clicked = new i0.EventEmitter();
|
|
16529
16534
|
}
|
|
16530
16535
|
wkf_header_bar_v2.prototype.exec_command = function (command) {
|
|
@@ -16573,7 +16578,7 @@
|
|
|
16573
16578
|
wkf_header_bar_v2.prototype.open_commenti = function () {
|
|
16574
16579
|
this.button_clicked.emit('open_commenti');
|
|
16575
16580
|
if (this.dt_agg != null)
|
|
16576
|
-
this.dt_agg.open_commenti();
|
|
16581
|
+
this.dt_agg.open_commenti(this.comment_inserted);
|
|
16577
16582
|
};
|
|
16578
16583
|
wkf_header_bar_v2.prototype.open_upload = function () {
|
|
16579
16584
|
this.button_clicked.emit('open_upload');
|
|
@@ -16584,7 +16589,7 @@
|
|
|
16584
16589
|
console.log('this.edit_comments_in_logs ', this.edit_comments_in_logs);
|
|
16585
16590
|
this.button_clicked.emit('open_wkf');
|
|
16586
16591
|
if (this.dt_agg != null)
|
|
16587
|
-
this.dt_agg.open_wkf(false, this.edit_comments_in_logs);
|
|
16592
|
+
this.dt_agg.open_wkf(this.comment_inserted, false, this.edit_comments_in_logs);
|
|
16588
16593
|
};
|
|
16589
16594
|
wkf_header_bar_v2.prototype.ngAfterViewInit = function () {
|
|
16590
16595
|
var _this = this;
|
|
@@ -16629,6 +16634,7 @@
|
|
|
16629
16634
|
admin_role: [{ type: i0.Input }],
|
|
16630
16635
|
sovra_path: [{ type: i0.Input }],
|
|
16631
16636
|
command: [{ type: i0.Output }],
|
|
16637
|
+
comment_inserted: [{ type: i0.Output }],
|
|
16632
16638
|
button_clicked: [{ type: i0.Output }]
|
|
16633
16639
|
};
|
|
16634
16640
|
|
|
@@ -24105,7 +24111,7 @@
|
|
|
24105
24111
|
}
|
|
24106
24112
|
this.salva();
|
|
24107
24113
|
};
|
|
24108
|
-
dati_aggiuntivi_v2.prototype.open_wkf = function (inser_c, edit_c) {
|
|
24114
|
+
dati_aggiuntivi_v2.prototype.open_wkf = function (em, inser_c, edit_c) {
|
|
24109
24115
|
var _this = this;
|
|
24110
24116
|
if (inser_c === void 0) { inser_c = false; }
|
|
24111
24117
|
if (edit_c === void 0) { edit_c = true; }
|
|
@@ -24144,10 +24150,15 @@
|
|
|
24144
24150
|
dialogRef.componentInstance.init_v();
|
|
24145
24151
|
});
|
|
24146
24152
|
dialogRef.afterClosed().subscribe(function (result) {
|
|
24153
|
+
if (result == null)
|
|
24154
|
+
if (result == 'i') {
|
|
24155
|
+
console.log('inserito commento');
|
|
24156
|
+
em.emit();
|
|
24157
|
+
}
|
|
24147
24158
|
_this.r_count();
|
|
24148
24159
|
});
|
|
24149
24160
|
};
|
|
24150
|
-
dati_aggiuntivi_v2.prototype.open_commenti = function () {
|
|
24161
|
+
dati_aggiuntivi_v2.prototype.open_commenti = function (em) {
|
|
24151
24162
|
var _this = this;
|
|
24152
24163
|
var dialogRef = this.m_dialog.open(win_commenti_v2, {
|
|
24153
24164
|
disableClose: true,
|
|
@@ -24179,6 +24190,11 @@
|
|
|
24179
24190
|
dialogRef.componentInstance.init_v();
|
|
24180
24191
|
});
|
|
24181
24192
|
dialogRef.afterClosed().subscribe(function (result) {
|
|
24193
|
+
if (result != null)
|
|
24194
|
+
if (result == 'i') {
|
|
24195
|
+
em.emit();
|
|
24196
|
+
console.log('emetto insert');
|
|
24197
|
+
}
|
|
24182
24198
|
_this.r_count();
|
|
24183
24199
|
});
|
|
24184
24200
|
};
|