@fluxhub/fluxhub-lib 1.0.388 → 1.0.390

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.
@@ -738,18 +738,15 @@ var UtilityService = /** @class */ (function () {
738
738
  //console.log(dt);/
739
739
  //console.log(dt.length);
740
740
  if (f == 2) {
741
- if (dt.length >= 19) {
742
- dt = dt.substring(0, 19);
743
- /** @type {?} */
744
- var ab = dt.split('T');
745
- /** @type {?} */
746
- var a = ab[0].split('-');
747
- /** @type {?} */
748
- var b = ab[1].split(':');
749
- return new Date(dt);
750
- // console.log(new Date(parseInt(a[0]),parseInt(a[1])-1,parseInt(a[2]),parseInt(b[0]),parseInt(b[1]),parseInt(b[2])));
751
- // return new Date(parseInt(a[0]), parseInt(a[1]) - 1, parseInt(a[2]), parseInt(b[0]), parseInt(b[1]), parseInt(b[2]));
752
- }
741
+ // if (dt.length >= 19) {
742
+ // dt = dt.substring(0, 19);
743
+ // var ab: Array<string> = dt.split('T');
744
+ // var a: Array<string> = ab[0].split('-');
745
+ ///var b: Array<string> = ab[1].split(':');
746
+ return new Date(dt);
747
+ // console.log(new Date(parseInt(a[0]),parseInt(a[1])-1,parseInt(a[2]),parseInt(b[0]),parseInt(b[1]),parseInt(b[2])));
748
+ // return new Date(parseInt(a[0]), parseInt(a[1]) - 1, parseInt(a[2]), parseInt(b[0]), parseInt(b[1]), parseInt(b[2]));
749
+ // }
753
750
  }
754
751
  if (f == 3) {
755
752
  if (dt.length >= 16) {
@@ -8909,7 +8906,7 @@ var FHAutoCompleteComponent = /** @class */ (function (_super) {
8909
8906
  FHAutoCompleteComponent.decorators = [
8910
8907
  { type: Component, args: [{
8911
8908
  selector: 'FHAutoComplete',
8912
- template: "\n <mat-form-field class=\"field_style\" [hidden]=\"!enabled || hidden\" appearance=\"outline\" floatLabel=\"always\"><mat-label>{{label}}</mat-label>\n <input matInput\n class=\"field_style\" [disabled]=\"!enabled || hidden\" [matAutocomplete]=\"auto\" [required]=\"required\"\n (keyup)=\"onChange($event)\" [(ngModel)]=\"sItem\" (focus)=\"fi_search()\" (focusout)=\"fo_search($event)\"\n #searchp>\n </mat-form-field>\n <mat-autocomplete #auto=\"matAutocomplete\" (optionSelected)=\"selectedSearchItem($event)\" autoActiveFirstOption >\n <mat-option *ngFor=\"let objx of searchItemsFiltered\" class=\"search_home\" [value]=\"objx.descrizione_valore\">\n {{ objx.descrizione_valore }}\n </mat-option>\n </mat-autocomplete>\n\n\n <div class=\"ui negative message\" *ngIf=\"errorMsg != ''\">\n <i class=\"close icon\"></i>\n <div class=\"header\">\n {{errorMsg}}\n </div>\n </div>\n <mat-form-field [hidden]=\"enabled || hidden\" appearance=\"outline\" floatLabel=\"always\"><mat-label>{{label}}</mat-label>\n <input type=\"text\" #el1 matInput [disabled]=\"true\" [(ngModel)]=\"sItem\"\n >\n </mat-form-field>\n ",
8909
+ template: "\n <mat-form-field [hidden]=\"!enabled || hidden\" appearance=\"outline\" floatLabel=\"always\"><mat-label>{{label}}</mat-label>\n <input matInput\n [disabled]=\"!enabled || hidden\" [matAutocomplete]=\"auto\" [required]=\"required\"\n (keyup)=\"onChange($event)\" [(ngModel)]=\"sItem\" (focus)=\"fi_search()\" (focusout)=\"fo_search($event)\"\n #searchp>\n </mat-form-field>\n <mat-autocomplete #auto=\"matAutocomplete\" (optionSelected)=\"selectedSearchItem($event)\" autoActiveFirstOption >\n <mat-option *ngFor=\"let objx of searchItemsFiltered\" [value]=\"objx.descrizione_valore\">\n {{ objx.descrizione_valore }}\n </mat-option>\n </mat-autocomplete>\n\n\n <div class=\"ui negative message\" *ngIf=\"errorMsg != ''\">\n <i class=\"close icon\"></i>\n <div class=\"header\">\n {{errorMsg}}\n </div>\n </div>\n <mat-form-field [hidden]=\"enabled || hidden\" appearance=\"outline\" floatLabel=\"always\"><mat-label>{{label}}</mat-label>\n <input type=\"text\" #el1 matInput [disabled]=\"true\" [(ngModel)]=\"sItem\"\n >\n </mat-form-field>\n ",
8913
8910
  providers: [
8914
8911
  { provide: NG_VALUE_ACCESSOR, useExisting: FHAutoCompleteComponent, multi: true },
8915
8912
  ],