@fluxhub/fluxhub-lib 1.0.204 → 1.0.206

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.
@@ -33,7 +33,7 @@ import { TranslateModule } from '@ngx-translate/core';
33
33
  import { DragulaService, DragulaModule } from 'ng2-dragula';
34
34
  import { MatDialogRef, MatDialog, DateAdapter, MAT_DATE_LOCALE, 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';
35
35
  import { ActivatedRoute, Router } from '@angular/router';
36
- import { Injectable, Component, Input, Output, EventEmitter, Directive, ViewChild, forwardRef, Inject, PLATFORM_ID, ElementRef, Pipe, ViewContainerRef, defineInjectable, inject, NgModule, HostListener } from '@angular/core';
36
+ import { Injectable, Component, Input, Output, EventEmitter, forwardRef, Directive, ViewChild, Inject, PLATFORM_ID, ElementRef, Pipe, ViewContainerRef, NgModule, defineInjectable, inject, HostListener } from '@angular/core';
37
37
  import { Http } from '@angular/http';
38
38
  import { SlimLoadingBarService } from 'ng2-slim-loading-bar';
39
39
  import { ToastrService } from 'ngx-toastr';
@@ -82,6 +82,7 @@ var AppService = /** @class */ (function () {
82
82
  this.user_lang = null;
83
83
  this.token = null;
84
84
  this.dev_mode = null;
85
+ this.ambiente_forzato = "";
85
86
  // Set your states default value.
86
87
  this.state = {
87
88
  appName: 'FLUXHUB V2',
@@ -9603,9 +9604,9 @@ var FHCurrencyFieldComponent = /** @class */ (function () {
9603
9604
  * @return {?}
9604
9605
  */
9605
9606
  function (event) {
9606
- if (event.keyCode == 13) {
9607
+ console.log('event.code ', event.code);
9608
+ if (event.code == "Enter") {
9607
9609
  this.enter_pressed.emit();
9608
- // rest of your code
9609
9610
  }
9610
9611
  };
9611
9612
  /**