@fluxhub/fluxhub-lib 10.0.492 → 10.0.494
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 +20 -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/controls/win_ask_buttons.js +20 -8
- package/esm2015/lib/wkf_engine/wkfdatiaggiuntivi.js +3 -2
- package/esm2015/lib/wkf_engine_v2/wkfdatiaggiuntivi.js +3 -2
- package/fesm2015/fluxhub-fluxhub-lib.js +21 -7
- package/fesm2015/fluxhub-fluxhub-lib.js.map +1 -1
- package/fluxhub-fluxhub-lib.metadata.json +1 -1
- package/lib/controls/win_ask_buttons.d.ts +3 -1
- package/package.json +1 -1
|
@@ -17830,7 +17830,6 @@ class dati_aggiuntivi {
|
|
|
17830
17830
|
}
|
|
17831
17831
|
ok_load_document(o) {
|
|
17832
17832
|
this.m_obj = (JSON.parse(JSON.stringify(o)));
|
|
17833
|
-
this.old_doc = (JSON.parse(JSON.stringify(this.getfieldvalues())));
|
|
17834
17833
|
this.edit_b(false, false);
|
|
17835
17834
|
this.save_to_app_state();
|
|
17836
17835
|
let p = new QParam();
|
|
@@ -18277,6 +18276,7 @@ class dati_aggiuntivi {
|
|
|
18277
18276
|
this.btnRespingi_label = "RESPINGI";
|
|
18278
18277
|
this.uti_s.set_home_title(this.app_info.descrizione_breve + " - Nuova Richiesta");
|
|
18279
18278
|
this.reset_form(this.app_info.descrizione_breve + " - Nuova Richiesta");
|
|
18279
|
+
this.old_doc = (JSON.parse(JSON.stringify(this.getfieldvalues())));
|
|
18280
18280
|
this.reset_counters_int(0, 0);
|
|
18281
18281
|
/*
|
|
18282
18282
|
dati_aggiuntivi.id_doc=id_documento;
|
|
@@ -18378,6 +18378,7 @@ class dati_aggiuntivi {
|
|
|
18378
18378
|
this.m_obj.codice +
|
|
18379
18379
|
" - " +
|
|
18380
18380
|
this.m_obj.stat_stato); //+' ('+s_uto+')');
|
|
18381
|
+
this.old_doc = (JSON.parse(JSON.stringify(this.getfieldvalues())));
|
|
18381
18382
|
}
|
|
18382
18383
|
onResize(event) { }
|
|
18383
18384
|
init_engine() {
|
|
@@ -19260,10 +19261,20 @@ FormExecuterComponent.propDecorators = {
|
|
|
19260
19261
|
};
|
|
19261
19262
|
|
|
19262
19263
|
class fh_win_ask_buttons {
|
|
19263
|
-
constructor(dialogRef) {
|
|
19264
|
+
constructor(dialogRef, data) {
|
|
19264
19265
|
this.dialogRef = dialogRef;
|
|
19266
|
+
this.data = data;
|
|
19265
19267
|
this.title = "";
|
|
19266
19268
|
this.button_config = [];
|
|
19269
|
+
this.show_close = true;
|
|
19270
|
+
if (data != null) {
|
|
19271
|
+
if (data.button_config != null)
|
|
19272
|
+
this.button_config = data.button_config;
|
|
19273
|
+
if (data.title != null)
|
|
19274
|
+
this.title = data.title;
|
|
19275
|
+
if (data.show_close != null)
|
|
19276
|
+
this.show_close = data.show_close;
|
|
19277
|
+
}
|
|
19267
19278
|
}
|
|
19268
19279
|
ngAfterViewInit() { }
|
|
19269
19280
|
open(o) {
|
|
@@ -19298,8 +19309,8 @@ fh_win_ask_buttons.decorators = [
|
|
|
19298
19309
|
>
|
|
19299
19310
|
</div>
|
|
19300
19311
|
</mat-dialog-content>
|
|
19301
|
-
<br /><br />
|
|
19302
|
-
<div style="width:100%;text-align:center;">
|
|
19312
|
+
<br *ngIf="show_close" /><br *ngIf="show_close" />
|
|
19313
|
+
<div style="width:100%;text-align:center;" *ngIf="show_close">
|
|
19303
19314
|
<button mat-flat-button color="accent" (click)="close()">CHIUDI</button>
|
|
19304
19315
|
</div>
|
|
19305
19316
|
</div>
|
|
@@ -19307,11 +19318,13 @@ fh_win_ask_buttons.decorators = [
|
|
|
19307
19318
|
},] }
|
|
19308
19319
|
];
|
|
19309
19320
|
fh_win_ask_buttons.ctorParameters = () => [
|
|
19310
|
-
{ type: MatDialogRef }
|
|
19321
|
+
{ type: MatDialogRef },
|
|
19322
|
+
{ type: undefined, decorators: [{ type: Inject, args: [MAT_DIALOG_DATA,] }] }
|
|
19311
19323
|
];
|
|
19312
19324
|
fh_win_ask_buttons.propDecorators = {
|
|
19313
19325
|
title: [{ type: Input }],
|
|
19314
|
-
button_config: [{ type: Input }]
|
|
19326
|
+
button_config: [{ type: Input }],
|
|
19327
|
+
show_close: [{ type: Input }]
|
|
19315
19328
|
};
|
|
19316
19329
|
/*
|
|
19317
19330
|
esempio utilizzo
|
|
@@ -24567,7 +24580,6 @@ class dati_aggiuntivi_v2 {
|
|
|
24567
24580
|
}
|
|
24568
24581
|
ok_load_document(o) {
|
|
24569
24582
|
this.m_obj = (JSON.parse(JSON.stringify(o)));
|
|
24570
|
-
this.old_doc = (JSON.parse(JSON.stringify(this.getfieldvalues())));
|
|
24571
24583
|
this.edit_b(false);
|
|
24572
24584
|
this.save_to_app_state();
|
|
24573
24585
|
let p = new QParam();
|
|
@@ -25119,6 +25131,7 @@ class dati_aggiuntivi_v2 {
|
|
|
25119
25131
|
this.m_obj.codice +
|
|
25120
25132
|
" - " +
|
|
25121
25133
|
this.m_obj.stat_stato);
|
|
25134
|
+
this.old_doc = (JSON.parse(JSON.stringify(this.getfieldvalues())));
|
|
25122
25135
|
//+' ('+s_uto+')');
|
|
25123
25136
|
}
|
|
25124
25137
|
reset_form_v(t) {
|
|
@@ -25128,6 +25141,7 @@ class dati_aggiuntivi_v2 {
|
|
|
25128
25141
|
return;
|
|
25129
25142
|
}
|
|
25130
25143
|
this.reset_form(t);
|
|
25144
|
+
this.old_doc = (JSON.parse(JSON.stringify(this.getfieldvalues())));
|
|
25131
25145
|
}
|
|
25132
25146
|
revisione() {
|
|
25133
25147
|
let dialogRef = this.m_dialog.open(fh_win_confirm, {
|