@fluxhub/fluxhub-lib 10.0.336 → 10.0.338

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.
@@ -4273,7 +4273,8 @@ FHUploadComponent.decorators = [
4273
4273
  /></svg><span style="font-size: 12px">&nbsp;&nbsp;&nbsp;Upload</span></label>
4274
4274
  </div>
4275
4275
  -->
4276
- <div class="my-drop-zone" style="width:130px" fxLayout="row" [matTooltip]="hasBaseDropZoneOver ? lascia_il_file : trascina_il_file" fxLayoutAlign="center start">
4276
+ <div [hidden]="!(this.descri_obb && this.descrizione == '')"><b>Compilare la descrizione</b></div>
4277
+ <div class="my-drop-zone" [hidden]="this.descri_obb && this.descrizione == ''" style="width:130px" fxLayout="row" [matTooltip]="hasBaseDropZoneOver ? lascia_il_file : trascina_il_file" fxLayoutAlign="center start">
4277
4278
  <label for="uploader-input" ng2FileDrop style="font-weight:bold"
4278
4279
  [ngClass]="{'over-drop-zone': hasBaseDropZoneOver}" for="file-fh{{ id_component }}"
4279
4280
  (onFileDrop)="onFileDrop($event)" (click)="call_up()"
@@ -19075,6 +19076,11 @@ class FHFieldPickListComponent {
19075
19076
  this.onChange = (_) => { };
19076
19077
  this.onTouched = () => { };
19077
19078
  }
19079
+ setv() {
19080
+ setTimeout(() => {
19081
+ this.writeValue(this.value);
19082
+ }, 70);
19083
+ }
19078
19084
  resetValue() {
19079
19085
  this.value = "";
19080
19086
  this.writeValue(this.value);
@@ -19140,7 +19146,7 @@ FHFieldPickListComponent.decorators = [
19140
19146
  matInput
19141
19147
  [readonly]="only_in_list"
19142
19148
  [(ngModel)]="value"
19143
- [required]="required"
19149
+ [required]="required" (ngModelChange)="setv()"
19144
19150
  />
19145
19151
  </mat-form-field>
19146
19152
  </div>
@@ -23702,7 +23708,6 @@ class dati_aggiuntivi_v2 {
23702
23708
  this.m_dataService.doQuery(p).subscribe(data => {
23703
23709
  if (data != null)
23704
23710
  if (data.result_msg == "OK") {
23705
- console.log('data.result_data ', data.result_data);
23706
23711
  if (this.override_livs != null)
23707
23712
  if (data.result_data != null)
23708
23713
  for (var y = 0; y < this.override_livs.length; y++)
@@ -24241,7 +24246,6 @@ class dati_aggiuntivi_v2 {
24241
24246
  }
24242
24247
  onResize(event) { }
24243
24248
  init_engine() {
24244
- console.log('init_engine ', this.m_route);
24245
24249
  if (this.user_idp == null || this.m_route.params == null) {
24246
24250
  setTimeout(() => {
24247
24251
  this.init_user_i();
@@ -24249,7 +24253,6 @@ class dati_aggiuntivi_v2 {
24249
24253
  }, 500);
24250
24254
  return;
24251
24255
  }
24252
- console.log('this.m_route ', this.m_route.params);
24253
24256
  this.m_route.params.subscribe((params) => {
24254
24257
  this.onResize();
24255
24258
  var id = params["op"];