@fluxhub/fluxhub-lib 10.0.98 → 10.0.100

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.
@@ -3899,6 +3899,7 @@ class FHUploadComponent {
3899
3899
  this.uti = uti;
3900
3900
  this.lascia_il_file = 'Lascia il file per confermarmare upload';
3901
3901
  this.trascina_il_file = 'Trascina un file qui o Clicca per avviare upload';
3902
+ this.show_download_button = true;
3902
3903
  this.show_descri = true;
3903
3904
  this.enabled = true;
3904
3905
  this.single = true;
@@ -4265,7 +4266,7 @@ FHUploadComponent.decorators = [
4265
4266
      
4266
4267
  <button
4267
4268
  mat-flat-button
4268
- *ngIf="b_edit_loaded"
4269
+ *ngIf="b_edit_loaded && show_download_button"
4269
4270
  (click)="download_all()"
4270
4271
  style="font-size: 12px;font-weight:bold" color="accent"
4271
4272
 
@@ -4274,7 +4275,7 @@ FHUploadComponent.decorators = [
4274
4275
  >&nbsp;&nbsp;&nbsp;
4275
4276
  <button
4276
4277
  mat-flat-button
4277
- *ngIf="id != null && allow_delete"
4278
+ *ngIf="id != null && allow_delete && show_download_button"
4278
4279
  (click)="del_doc()"
4279
4280
  color="warn"
4280
4281
  >
@@ -4287,7 +4288,7 @@ FHUploadComponent.decorators = [
4287
4288
  <div *ngIf="label != descrizione">{{ descrizione }}</div>
4288
4289
  <button
4289
4290
  mat-flat-button
4290
- *ngIf="b_edit_loaded"
4291
+ *ngIf="b_edit_loaded && show_download_button"
4291
4292
  (click)="download_all()"
4292
4293
  style="font-size: 12px;background-color: #F5F5F5"
4293
4294
  >
@@ -4326,6 +4327,7 @@ FHUploadComponent.ctorParameters = () => [
4326
4327
  FHUploadComponent.propDecorators = {
4327
4328
  lascia_il_file: [{ type: Input }],
4328
4329
  trascina_il_file: [{ type: Input }],
4330
+ show_download_button: [{ type: Input }],
4329
4331
  show_descri: [{ type: Input }],
4330
4332
  enabled: [{ type: Input }],
4331
4333
  single: [{ type: Input }],
@@ -10136,7 +10138,6 @@ class FHTimePickerComponent {
10136
10138
  return typeof event.which == "undefined" ? event.keyCode : event.which;
10137
10139
  }
10138
10140
  isKeyPressedNumeric(event) {
10139
- console.log(event);
10140
10141
  if ("0123456789".indexOf(event.key) !== -1 ||
10141
10142
  event.key == "ArrowRight" ||
10142
10143
  event.key == "ArrowLeft" ||
@@ -12808,7 +12809,7 @@ win_assegna.decorators = [
12808
12809
  <br />
12809
12810
  <mat-form-field appearance="outline" floatLabel="always"
12810
12811
  ><mat-label>Commento {{ nota_commento }}</mat-label>
12811
- <textarea matInput [(ngModel)]="nota" rows="6"></textarea>
12812
+ <textarea matInput [(ngModel)]="nota" rows="4"></textarea>
12812
12813
  </mat-form-field>
12813
12814
  </div>
12814
12815
  </div>
@@ -17502,10 +17503,10 @@ wkf_header_bar.decorators = [
17502
17503
  { type: Component, args: [{
17503
17504
  selector: "wkf_header_bar",
17504
17505
  template: `
17505
- <div fxLayout="row" fxLayout.lt-md="column">
17506
+ <div fxLayout="row" fxLayoutGap.lt-md="8px" fxLayout.lt-md="column">
17506
17507
  <div
17507
17508
  fxLayout="row"
17508
- fxLayoutGap="5px"
17509
+ fxLayoutGap="16px" fxLayoutGap.lt-md="8px"
17509
17510
  *ngIf="
17510
17511
  !m_appService.getState().pageFullscreen ||
17511
17512
  edit_button ||
@@ -17555,7 +17556,7 @@ wkf_header_bar.decorators = [
17555
17556
  fxLayoutGap="16px"
17556
17557
  fxLayoutGap.xs="3px"
17557
17558
  >
17558
- <div fxLayout="row">
17559
+ <div fxLayout="row" fxLayoutGap="16px">
17559
17560
  <div>
17560
17561
  <button
17561
17562
  mat-flat-button
@@ -17575,7 +17576,7 @@ wkf_header_bar.decorators = [
17575
17576
  <mat-icon>insert_comment</mat-icon>Commenti</button
17576
17577
  ></div>
17577
17578
  </div>
17578
- <div fxLayout="row">
17579
+ <div fxLayout="row" fxLayoutGap="16px">
17579
17580
  <div>
17580
17581
  <button
17581
17582
  mat-flat-button *ngIf="utility_button"
@@ -18827,11 +18828,11 @@ FHFieldPickListComponent.decorators = [
18827
18828
  template: `
18828
18829
  <div
18829
18830
  fxLayout="row"
18830
- style="width: 100%"
18831
+ fxFlex="100"
18831
18832
  fxLayoutAlign="start center"
18832
- [hidden]="hidden"
18833
+ [hidden]="hidden" fxLayoutGap="10px"
18833
18834
  >
18834
- <div style="width: 100%">
18835
+ <div fxFlex fxLayout="row">
18835
18836
  <mat-form-field appearance="outline" floatLabel="always"
18836
18837
  ><mat-label>{{ label }}</mat-label>
18837
18838
  <input
@@ -18843,13 +18844,13 @@ FHFieldPickListComponent.decorators = [
18843
18844
  />
18844
18845
  </mat-form-field>
18845
18846
  </div>
18846
- &nbsp;&nbsp;
18847
- <div style="min-width: 160px">
18847
+
18848
+ <div fxLayout="row">
18848
18849
  <button
18849
18850
  mat-flat-button
18850
18851
  color="primary"
18851
18852
  (click)="open_pick_list()"
18852
- [disabled]="!enabled"
18853
+ [hidden]="!enabled"
18853
18854
  >
18854
18855
  SELEZIONA
18855
18856
  </button>