@fluxhub/fluxhub-lib 10.0.96 → 10.0.98

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.
@@ -1852,10 +1852,10 @@ FHConfirmComponent.decorators = [
1852
1852
  </div>
1853
1853
 
1854
1854
  <div mat-dialog-actions>
1855
- <button mat-raised-button (click)="ok()" color="primary">
1855
+ <button mat-flat-button (click)="ok()" color="primary">
1856
1856
  {{ confirm_mgs }}
1857
1857
  </button>
1858
- <button mat-raised-button (click)="dialogRef.close(false)" color="warn">
1858
+ <button mat-flat-button (click)="dialogRef.close(false)" color="warn">
1859
1859
  {{ annulla_mgs }}
1860
1860
  </button>
1861
1861
  </div>
@@ -2245,7 +2245,7 @@ FHUploadS3Component.decorators = [
2245
2245
  <div fxLayout="row" fxLayoutAlign="start start">
2246
2246
  &nbsp;&nbsp;&nbsp;&nbsp;
2247
2247
  <button
2248
- mat-raised-button
2248
+ mat-flat-button
2249
2249
  *ngIf="b_edit_loaded"
2250
2250
  (click)="download_all()"
2251
2251
  style="font-size: 12px;font-weight:bold" color="accent"
@@ -2254,7 +2254,7 @@ FHUploadS3Component.decorators = [
2254
2254
  {{ label_b }}</button
2255
2255
  >&nbsp;&nbsp;&nbsp;
2256
2256
  <button
2257
- mat-raised-button
2257
+ mat-flat-button
2258
2258
  *ngIf="id != null && allow_delete"
2259
2259
  (click)="del_doc()"
2260
2260
  color="warn"
@@ -2267,7 +2267,7 @@ FHUploadS3Component.decorators = [
2267
2267
  <label>{{ label }}:</label>
2268
2268
  <div *ngIf="label != descrizione">{{ descrizione }}</div>
2269
2269
  <button
2270
- mat-raised-button
2270
+ mat-flat-button
2271
2271
  *ngIf="b_edit_loaded"
2272
2272
  (click)="download_all()"
2273
2273
  style="font-size: 12px;background-color: #F5F5F5"
@@ -2679,7 +2679,7 @@ win_show_email_s3.decorators = [
2679
2679
  <div fxLayout="row" fxLayoutGap="10px">
2680
2680
  <div style="width:100px">Allegati:</div>
2681
2681
  <div *ngFor="let u of allegati" >
2682
- <button mat-raised-button color="primary" (click)="open_all(u)">{{u}}</button>
2682
+ <button mat-flat-button color="primary" (click)="open_all(u)">{{u}}</button>
2683
2683
  </div>
2684
2684
 
2685
2685
 
@@ -4264,7 +4264,7 @@ FHUploadComponent.decorators = [
4264
4264
  <div fxLayout="row" fxLayoutAlign="start start">
4265
4265
  &nbsp;&nbsp;&nbsp;&nbsp;
4266
4266
  <button
4267
- mat-raised-button
4267
+ mat-flat-button
4268
4268
  *ngIf="b_edit_loaded"
4269
4269
  (click)="download_all()"
4270
4270
  style="font-size: 12px;font-weight:bold" color="accent"
@@ -4273,7 +4273,7 @@ FHUploadComponent.decorators = [
4273
4273
  {{ label_b }}</button
4274
4274
  >&nbsp;&nbsp;&nbsp;
4275
4275
  <button
4276
- mat-raised-button
4276
+ mat-flat-button
4277
4277
  *ngIf="id != null && allow_delete"
4278
4278
  (click)="del_doc()"
4279
4279
  color="warn"
@@ -4286,7 +4286,7 @@ FHUploadComponent.decorators = [
4286
4286
  <label>{{ label }}:</label>
4287
4287
  <div *ngIf="label != descrizione">{{ descrizione }}</div>
4288
4288
  <button
4289
- mat-raised-button
4289
+ mat-flat-button
4290
4290
  *ngIf="b_edit_loaded"
4291
4291
  (click)="download_all()"
4292
4292
  style="font-size: 12px;background-color: #F5F5F5"
@@ -4694,7 +4694,7 @@ win_show_email.decorators = [
4694
4694
  <div fxLayout="row" fxLayoutGap="10px">
4695
4695
  <div style="width:100px">Allegati:</div>
4696
4696
  <div *ngFor="let u of allegati" >
4697
- <button mat-raised-button color="primary" (click)="open_all(u)">{{u}}</button>
4697
+ <button mat-flat-button color="primary" (click)="open_all(u)">{{u}}</button>
4698
4698
  </div>
4699
4699
 
4700
4700
 
@@ -10136,13 +10136,15 @@ class FHTimePickerComponent {
10136
10136
  return typeof event.which == "undefined" ? event.keyCode : event.which;
10137
10137
  }
10138
10138
  isKeyPressedNumeric(event) {
10139
- //console.log(event.key);
10139
+ console.log(event);
10140
10140
  if ("0123456789".indexOf(event.key) !== -1 ||
10141
10141
  event.key == "ArrowRight" ||
10142
10142
  event.key == "ArrowLeft" ||
10143
10143
  event.key == "ArrowDown" ||
10144
10144
  event.key == "ArrowUp" ||
10145
- event.key == "Backspace") {
10145
+ event.key == "Backspace" ||
10146
+ event.keyCode == 9 //TAB
10147
+ ) {
10146
10148
  return true;
10147
10149
  }
10148
10150
  else {
@@ -10237,7 +10239,7 @@ FHTimePickerComponent.decorators = [
10237
10239
  </div>
10238
10240
  &nbsp;&nbsp;&nbsp;&nbsp;
10239
10241
  <div *ngFor="let u of arr_hh" [hidden]="!enabled">
10240
- <button mat-raised-button color="primary" (click)="setta_h(u)" class="pad_b">
10242
+ <button mat-flat-button color="primary" (click)="setta_h(u)" class="pad_b">
10241
10243
  {{u}}
10242
10244
  </button>&nbsp;
10243
10245
  </div>
@@ -10273,7 +10275,7 @@ FHTimePickerComponent.decorators = [
10273
10275
  </div>
10274
10276
  &nbsp;&nbsp;&nbsp;&nbsp;
10275
10277
  <div *ngFor="let u of arr_mm" [hidden]="!enabled">
10276
- <button mat-raised-button color="primary" (click)="setta_m(u)" class="pad_b">
10278
+ <button mat-flat-button color="primary" (click)="setta_m(u)" class="pad_b">
10277
10279
  {{u}}
10278
10280
  </button>&nbsp;
10279
10281
  </div>
@@ -15744,6 +15746,7 @@ class dati_aggiuntivi {
15744
15746
  evt_salv(rip_pulsanti = true, check_on_save = false) {
15745
15747
  this.b_rip_pulsanti = rip_pulsanti;
15746
15748
  this.btnprocedi = false;
15749
+ console.log(check_on_save);
15747
15750
  if (check_on_save)
15748
15751
  if (!this.ck_field())
15749
15752
  return;
@@ -16750,7 +16753,6 @@ class dati_aggiuntivi {
16750
16753
  arr[i].values = "dbnull";
16751
16754
  }
16752
16755
  else {
16753
- console.log('NO NULL', arr[i].names, arr[i].values);
16754
16756
  if (arr[i].types == "boolean")
16755
16757
  if (arr[i].values)
16756
16758
  arr[i].values = "1";
@@ -17503,20 +17505,21 @@ wkf_header_bar.decorators = [
17503
17505
  <div fxLayout="row" fxLayout.lt-md="column">
17504
17506
  <div
17505
17507
  fxLayout="row"
17506
- fxLayoutGap="3px"
17508
+ fxLayoutGap="5px"
17507
17509
  *ngIf="
17508
17510
  !m_appService.getState().pageFullscreen ||
17509
17511
  edit_button ||
17510
17512
  respingi_button
17511
17513
  "
17512
17514
  >
17515
+ <div>
17513
17516
  <button
17514
17517
  mat-flat-button
17515
17518
  (click)="back()"
17516
17519
  *ngIf="!m_appService.getState().pageFullscreen"
17517
17520
  >
17518
17521
  Indietro</button
17519
- >&nbsp;&nbsp;
17522
+ ></div><div>
17520
17523
  <button
17521
17524
  mat-flat-button
17522
17525
  (click)="evt_salv()"
@@ -17524,7 +17527,7 @@ wkf_header_bar.decorators = [
17524
17527
  color="primary"
17525
17528
  >
17526
17529
  Salva</button
17527
- >&nbsp;&nbsp;
17530
+ ></div><div>
17528
17531
  <button
17529
17532
  mat-flat-button
17530
17533
  (click)="procedi()"
@@ -17532,7 +17535,7 @@ wkf_header_bar.decorators = [
17532
17535
  color="accent"
17533
17536
  >
17534
17537
  Procedi</button
17535
- >&nbsp;&nbsp;
17538
+ ></div><div>
17536
17539
  <button
17537
17540
  mat-flat-button
17538
17541
  (click)="respingi()"
@@ -17541,10 +17544,11 @@ wkf_header_bar.decorators = [
17541
17544
  >
17542
17545
  Respingi
17543
17546
  </button>
17547
+ </div>
17544
17548
  <!-- <button mat-flat-button (click)="doEnd(900)" color="warn" >test</button>&nbsp;&nbsp;
17545
17549
  -->
17546
17550
  </div>
17547
- &nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;
17551
+ &nbsp;&nbsp;&nbsp;&nbsp;
17548
17552
  <div
17549
17553
  fxLayout="row"
17550
17554
  fxLayout.xs="column"
@@ -17552,13 +17556,14 @@ wkf_header_bar.decorators = [
17552
17556
  fxLayoutGap.xs="3px"
17553
17557
  >
17554
17558
  <div fxLayout="row">
17559
+ <div>
17555
17560
  <button
17556
17561
  mat-flat-button
17557
17562
  (click)="open_info()"
17558
17563
  *ngIf="!m_appService.getState().pageFullscreen && utility_button"
17559
17564
  >
17560
17565
  <mat-icon>info_outline</mat-icon>&nbsp;&nbsp;Info Doc</button
17561
- >&nbsp;&nbsp;
17566
+ ></div><div>
17562
17567
  <button
17563
17568
  mat-flat-button *ngIf="utility_button"
17564
17569
  [color]="(dt_agg?.comm_c ? dt_agg?.comm_c : 0 > 0) ? 'accent' : ''"
@@ -17568,9 +17573,10 @@ wkf_header_bar.decorators = [
17568
17573
  (click)="open_commenti()"
17569
17574
  >
17570
17575
  <mat-icon>insert_comment</mat-icon>Commenti</button
17571
- >&nbsp;&nbsp;
17576
+ ></div>
17572
17577
  </div>
17573
17578
  <div fxLayout="row">
17579
+ <div>
17574
17580
  <button
17575
17581
  mat-flat-button *ngIf="utility_button"
17576
17582
  [color]="(dt_agg?.all_c ? dt_agg?.all_c : 0 > 0) ? 'accent' : ''"
@@ -17580,7 +17586,7 @@ wkf_header_bar.decorators = [
17580
17586
  (click)="open_upload()"
17581
17587
  >
17582
17588
  <mat-icon>attach_file</mat-icon>Allegati</button
17583
- >&nbsp;&nbsp;
17589
+ ></div><div>
17584
17590
  <button
17585
17591
  mat-flat-button
17586
17592
  (click)="open_wkf()"
@@ -17588,7 +17594,7 @@ wkf_header_bar.decorators = [
17588
17594
  >
17589
17595
  <mat-icon>transfer_within_a_station</mat-icon>Workflow
17590
17596
  </button>
17591
- </div>
17597
+ </div> </div>
17592
17598
  </div>
17593
17599
  </div>
17594
17600
  `