@fluxhub/fluxhub-lib 1.0.310 → 1.0.312

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.
@@ -36,7 +36,7 @@ import { DomSanitizer } from '@angular/platform-browser';
36
36
  import { NgControl, NG_VALUE_ACCESSOR, FormsModule } from '@angular/forms';
37
37
  import { MatDialogRef, MatDialog, DateAdapter, MAT_DATE_FORMATS, MatAutocompleteModule, MatButtonModule, MatButtonToggleModule, MatPaginatorModule, MatCardModule, MatCheckboxModule, MatChipsModule, MatDatepickerModule, MatGridListModule, MatIconModule, MatInputModule, MatListModule, MatMenuModule, MatProgressBarModule, MatProgressSpinnerModule, MatRadioModule, MatSelectModule, MatSidenavModule, MatSliderModule, MatSortModule, MatSlideToggleModule, MatSnackBarModule, MatTableModule, MatTabsModule, MatToolbarModule, MatTooltipModule, MatFormFieldModule, MatExpansionModule, MatStepperModule, MatDialogModule, MatNativeDateModule } from '@angular/material';
38
38
  import { ActivatedRoute, Router } from '@angular/router';
39
- import { Injectable, Component, Directive, Pipe, Inject, PLATFORM_ID, Input, Output, EventEmitter, forwardRef, ViewChild, ElementRef, Optional, HostListener, ViewContainerRef, defineInjectable, inject, NgModule } from '@angular/core';
39
+ import { Injectable, Component, Directive, Pipe, Inject, PLATFORM_ID, Input, forwardRef, Output, EventEmitter, ViewChild, ElementRef, Optional, HostListener, ViewContainerRef, defineInjectable, inject, NgModule } from '@angular/core';
40
40
  import { Http } from '@angular/http';
41
41
  import { SlimLoadingBarService } from 'ng2-slim-loading-bar';
42
42
  import { ToastrService } from 'ngx-toastr';
@@ -7321,7 +7321,7 @@ class FHAutoCompleteComponent extends FHValueAccessor {
7321
7321
  this.searchItemsFiltered.push(this.myData[i]);
7322
7322
  }
7323
7323
  }
7324
- if (this.searchItemsFiltered.length == 20) {
7324
+ if (ps.length < 4 && this.searchItemsFiltered.length == 20) {
7325
7325
  break;
7326
7326
  }
7327
7327
  }
@@ -9298,6 +9298,28 @@ class FHPickListComponent {
9298
9298
  this.errorMsg = "ERRORE DI CONNESSIONE CON IL SERVER.RITENTARE PIU' TARDI";
9299
9299
  }));
9300
9300
  }
9301
+ /**
9302
+ * @param {?} k
9303
+ * @param {?} arrs
9304
+ * @return {?}
9305
+ */
9306
+ fill_list_arr(k, arrs) {
9307
+ this.value_sel = new Array();
9308
+ for (var i = 0; i < arrs.length; i++) {
9309
+ /** @type {?} */
9310
+ let o = new Object();
9311
+ o.descrizione_valore = arrs[i];
9312
+ this.value_sel.push(o);
9313
+ }
9314
+ this.value_list_all = k;
9315
+ for (let y = 0; y < this.value_sel.length; y++)
9316
+ for (let i = this.value_list_all.length - 1; i >= 0; i--)
9317
+ if (this.value_list_all[i].descrizione_valore == this.value_sel[y].descrizione_valore) {
9318
+ this.value_list_all.splice(i, 1);
9319
+ break;
9320
+ }
9321
+ this.filtra();
9322
+ }
9301
9323
  /**
9302
9324
  * @return {?}
9303
9325
  */
@@ -15387,7 +15409,7 @@ class dati_aggiuntivi {
15387
15409
  */
15388
15410
  open_wkf() {
15389
15411
  /** @type {?} */
15390
- let dialogRef = this.m_dialog.open(win_log, { 'disableClose': true, width: "90%" });
15412
+ let dialogRef = this.m_dialog.open(win_log, { 'disableClose': true, width: "95%", height: "95%" });
15391
15413
  dialogRef.componentInstance.subject = this.app_info.descrizione_breve + ", <OP>: " + this.m_obj.codice + " " + this.getTitle();
15392
15414
  dialogRef.componentInstance.lettori = this.m_obj.lettori;
15393
15415
  dialogRef.componentInstance.link = this.app_s.COMPANY_SITE_ROOT + '#/' + this.app_info.modulo_swf + '/' + this.id_applicativo + "/" + this.id_documento + "/edit";