@fluxhub/fluxhub-lib 10.0.538 → 10.0.540
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 +14 -1
- 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/services/utility.service.js +6 -1
- package/esm2015/lib/wkf_engine/wkfdatiaggiuntivi.js +3 -1
- package/esm2015/lib/wkf_engine_v2/win_select_level.js +22 -33
- package/esm2015/lib/wkf_engine_v2/wkfdatiaggiuntivi.js +3 -1
- package/fesm2015/fluxhub-fluxhub-lib.js +30 -32
- package/fesm2015/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/lib/wkf_engine/wkfdatiaggiuntivi.d.ts +1 -0
- package/lib/wkf_engine_v2/win_select_level.d.ts +1 -0
- package/lib/wkf_engine_v2/wkfdatiaggiuntivi.d.ts +1 -0
- package/package.json +1 -1
|
@@ -685,6 +685,11 @@ class UtilityService {
|
|
|
685
685
|
}
|
|
686
686
|
return diff1;
|
|
687
687
|
}
|
|
688
|
+
getutcdate(d) {
|
|
689
|
+
let n = d.getTimezoneOffset();
|
|
690
|
+
d.setMinutes(d.getMinutes() + n);
|
|
691
|
+
return d;
|
|
692
|
+
}
|
|
688
693
|
insert_log(dt, app, k, descri, operazione, link = null, old_doc = null, new_doc = null) {
|
|
689
694
|
let diff = null;
|
|
690
695
|
if (old_doc != null && new_doc != null) {
|
|
@@ -18017,6 +18022,7 @@ class dati_aggiuntivi {
|
|
|
18017
18022
|
ok_insert_aggiuntivi() {
|
|
18018
18023
|
if (!this.btnprocedi) {
|
|
18019
18024
|
this.alert("DOCUMENTO SALVATO", 0);
|
|
18025
|
+
this.saved_event();
|
|
18020
18026
|
this.edit_b(this.b_edit_before, true);
|
|
18021
18027
|
if (!this.b_edit && !this.btnprocedi)
|
|
18022
18028
|
this.m_router.navigate([
|
|
@@ -18560,6 +18566,7 @@ class dati_aggiuntivi {
|
|
|
18560
18566
|
}
|
|
18561
18567
|
}
|
|
18562
18568
|
}
|
|
18569
|
+
saved_event() { }
|
|
18563
18570
|
edit_doc() {
|
|
18564
18571
|
this.load_document();
|
|
18565
18572
|
}
|
|
@@ -23493,6 +23500,10 @@ class win_select_level_v2 {
|
|
|
23493
23500
|
this.m_appService.getState().wkf_doc_info.cl
|
|
23494
23501
|
);*/
|
|
23495
23502
|
}
|
|
23503
|
+
sel(o) {
|
|
23504
|
+
this.selval = o.uiid;
|
|
23505
|
+
this.ok();
|
|
23506
|
+
}
|
|
23496
23507
|
close() {
|
|
23497
23508
|
this.dialogRef.close(null);
|
|
23498
23509
|
}
|
|
@@ -23559,44 +23570,29 @@ class win_select_level_v2 {
|
|
|
23559
23570
|
win_select_level_v2.decorators = [
|
|
23560
23571
|
{ type: Component, args: [{
|
|
23561
23572
|
template: `
|
|
23562
|
-
|
|
23563
|
-
|
|
23564
|
-
|
|
23565
|
-
|
|
23566
|
-
|
|
23573
|
+
<div fxLayout="column">
|
|
23574
|
+
<div fxFlex="100" fxLayout="row" fxLayoutAlign="start center" class="dialog_header">
|
|
23575
|
+
<div fxLayout="row" fxLayoutAlign="start center" fxFlex="50"><div>{{title}}</div></div>
|
|
23576
|
+
<div fxFlex="50" fxLayout="row" fxLayoutAlign="end center">
|
|
23577
|
+
<img src="assets/icons/x.png" style="cursor: pointer;" (click)="dialogRef.close(null)" />
|
|
23567
23578
|
</div>
|
|
23568
23579
|
</div>
|
|
23569
|
-
|
|
23580
|
+
<hr width="100%" size="0.5" color="#DDDDDD">
|
|
23570
23581
|
|
|
23571
|
-
|
|
23572
|
-
|
|
23573
|
-
|
|
23574
|
-
|
|
23575
|
-
|
|
23576
|
-
|
|
23577
|
-
|
|
23582
|
+
<mat-dialog-content>
|
|
23583
|
+
<br /><br />
|
|
23584
|
+
<div fxLayout="column" fxLayoutGap="5px">
|
|
23585
|
+
<div *ngFor="let app of trans">
|
|
23586
|
+
<button mat-raised-button [style.background-color]="app.color" (click)="sel(app)"
|
|
23587
|
+
[style.color]="app.color_font" style="font-weight:bold;font-size:18px">
|
|
23588
|
+
{{ app.description}}</button>
|
|
23589
|
+
</div>
|
|
23578
23590
|
|
|
23579
|
-
<mat-select #cmb [(ngModel)]="selval" (ngModelChange)="sc()">
|
|
23580
|
-
<mat-option value="-1">Seleziona</mat-option>
|
|
23581
|
-
<mat-option value="{{ app.uiid }}" *ngFor="let app of trans">{{
|
|
23582
|
-
app.description
|
|
23583
|
-
}}</mat-option>
|
|
23584
|
-
</mat-select>
|
|
23585
|
-
</mat-form-field>
|
|
23586
23591
|
|
|
23587
|
-
|
|
23588
|
-
|
|
23589
|
-
<button mat-flat-button color="primary" (click)="ok()">
|
|
23590
|
-
{{ OK_BUTTON }}</button
|
|
23591
|
-
>
|
|
23592
|
-
</div>
|
|
23593
|
-
<br /><br />
|
|
23594
|
-
</mat-dialog-content>
|
|
23595
|
-
<p style="color:#CC0000;font-size:9px;" *ngIf="errorMsg != ''">
|
|
23596
|
-
{{ errorMsg }}
|
|
23597
|
-
</p>
|
|
23598
|
-
</div>
|
|
23592
|
+
</div>
|
|
23593
|
+
</mat-dialog-content>
|
|
23599
23594
|
</div>
|
|
23595
|
+
|
|
23600
23596
|
`
|
|
23601
23597
|
},] }
|
|
23602
23598
|
];
|
|
@@ -24785,6 +24781,7 @@ class dati_aggiuntivi_v2 {
|
|
|
24785
24781
|
ok_insert_aggiuntivi() {
|
|
24786
24782
|
if (!this.btnprocedi) {
|
|
24787
24783
|
this.alert("DOCUMENTO SALVATO", 0);
|
|
24784
|
+
this.saved_event();
|
|
24788
24785
|
this.edit_b(this.b_edit_before);
|
|
24789
24786
|
if (!this.b_edit && !this.btnprocedi)
|
|
24790
24787
|
this.m_router.navigate([
|
|
@@ -25335,6 +25332,7 @@ class dati_aggiuntivi_v2 {
|
|
|
25335
25332
|
}
|
|
25336
25333
|
}
|
|
25337
25334
|
}
|
|
25335
|
+
saved_event() { }
|
|
25338
25336
|
edit_doc() {
|
|
25339
25337
|
this.load_document();
|
|
25340
25338
|
}
|