@fluxhub/fluxhub-lib 1.0.199 → 1.0.200
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.
- package/bundles/fluxhub-fluxhub-lib.umd.js +7 -4
- package/bundles/fluxhub-fluxhub-lib.umd.js.map +1 -1
- package/bundles/fluxhub-fluxhub-lib.umd.min.js +1 -1
- package/bundles/fluxhub-fluxhub-lib.umd.min.js.map +1 -1
- package/docs/components/FHAutoCompleteComponent.html +33 -22
- package/esm2015/lib/controls/fhautocomplete.js +8 -14
- package/esm5/lib/controls/fhautocomplete.js +8 -5
- package/fesm2015/fluxhub-fluxhub-lib.js +8 -14
- package/fesm2015/fluxhub-fluxhub-lib.js.map +1 -1
- package/fesm5/fluxhub-fluxhub-lib.js +8 -5
- package/fesm5/fluxhub-fluxhub-lib.js.map +1 -1
- package/fluxhub-fluxhub-lib.metadata.json +1 -1
- package/lib/controls/fhautocomplete.d.ts +1 -1
- package/package.json +1 -1
|
@@ -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,
|
|
36
|
+
import { Injectable, Component, Input, Output, EventEmitter, ViewChild, Directive, forwardRef, 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';
|
|
@@ -7398,15 +7398,18 @@ var FHAutoCompleteComponent = /** @class */ (function (_super) {
|
|
|
7398
7398
|
}
|
|
7399
7399
|
};
|
|
7400
7400
|
/**
|
|
7401
|
+
* @param {?} o
|
|
7401
7402
|
* @return {?}
|
|
7402
7403
|
*/
|
|
7403
7404
|
FHAutoCompleteComponent.prototype.fo_search = /**
|
|
7405
|
+
* @param {?} o
|
|
7404
7406
|
* @return {?}
|
|
7405
7407
|
*/
|
|
7406
|
-
function () {
|
|
7408
|
+
function (o) {
|
|
7407
7409
|
this
|
|
7408
7410
|
.focusout
|
|
7409
7411
|
.emit();
|
|
7412
|
+
this.ch(o);
|
|
7410
7413
|
};
|
|
7411
7414
|
/**
|
|
7412
7415
|
* @param {?} e
|
|
@@ -7455,7 +7458,7 @@ var FHAutoCompleteComponent = /** @class */ (function (_super) {
|
|
|
7455
7458
|
* @return {?}
|
|
7456
7459
|
*/
|
|
7457
7460
|
function (event) {
|
|
7458
|
-
console.log('selectedSearchItem ',
|
|
7461
|
+
// console.log('selectedSearchItem ',event);
|
|
7459
7462
|
this.setByDescri(event.option.value);
|
|
7460
7463
|
this.sItem = event.option.value;
|
|
7461
7464
|
this.ch(event);
|
|
@@ -7840,11 +7843,11 @@ var FHAutoCompleteComponent = /** @class */ (function (_super) {
|
|
|
7840
7843
|
FHAutoCompleteComponent.decorators = [
|
|
7841
7844
|
{ type: Component, args: [{
|
|
7842
7845
|
selector: 'FHAutoComplete',
|
|
7843
|
-
template: "\n <mat-form-field class=\"field_style\" [hidden]=\"!enabled || hidden\">\n <input matInput\n class=\"field_style\" [disabled]=\"!enabled || hidden\" [matAutocomplete]=\"auto\" [placeholder]=\"label\" [required]=\"required\"\n (keyup)=\"onChange($event)\" [(ngModel)]=\"sItem\" (focus)=\"fi_search()\" (focusout)=\"fo_search()\"\n
|
|
7846
|
+
template: "\n <mat-form-field class=\"field_style\" [hidden]=\"!enabled || hidden\">\n <input matInput\n class=\"field_style\" [disabled]=\"!enabled || hidden\" [matAutocomplete]=\"auto\" [placeholder]=\"label\" [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)\">\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\">\n <input type=\"text\" #el1 matInput [disabled]=\"true\" placeholder=\"{{label}}\" [(ngModel)]=\"sItem\"\n >\n </mat-form-field>\n ",
|
|
7844
7847
|
providers: [
|
|
7845
7848
|
{ provide: NG_VALUE_ACCESSOR, useExisting: FHAutoCompleteComponent, multi: true },
|
|
7846
7849
|
],
|
|
7847
|
-
styles: ["\n
|
|
7850
|
+
styles: ["\n \n "]
|
|
7848
7851
|
}] }
|
|
7849
7852
|
];
|
|
7850
7853
|
/** @nocollapse */
|