@fluxhub/fluxhub-lib 1.0.198 → 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 +8 -3
- 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 +9 -13
- package/esm2015/lib/wkf_engine/win_log.js +2 -2
- package/esm5/lib/controls/fhautocomplete.js +9 -4
- package/esm5/lib/wkf_engine/win_log.js +1 -1
- package/fesm2015/fluxhub-fluxhub-lib.js +10 -14
- package/fesm2015/fluxhub-fluxhub-lib.js.map +1 -1
- package/fesm5/fluxhub-fluxhub-lib.js +9 -4
- 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, Directive, forwardRef, Inject, PLATFORM_ID,
|
|
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,6 +7458,7 @@ var FHAutoCompleteComponent = /** @class */ (function (_super) {
|
|
|
7455
7458
|
* @return {?}
|
|
7456
7459
|
*/
|
|
7457
7460
|
function (event) {
|
|
7461
|
+
// console.log('selectedSearchItem ',event);
|
|
7458
7462
|
this.setByDescri(event.option.value);
|
|
7459
7463
|
this.sItem = event.option.value;
|
|
7460
7464
|
this.ch(event);
|
|
@@ -7468,6 +7472,7 @@ var FHAutoCompleteComponent = /** @class */ (function (_super) {
|
|
|
7468
7472
|
* @return {?}
|
|
7469
7473
|
*/
|
|
7470
7474
|
function ($event) {
|
|
7475
|
+
console.log('ch ', $event);
|
|
7471
7476
|
/** @type {?} */
|
|
7472
7477
|
var value = this.getValue();
|
|
7473
7478
|
this
|
|
@@ -7838,11 +7843,11 @@ var FHAutoCompleteComponent = /** @class */ (function (_super) {
|
|
|
7838
7843
|
FHAutoCompleteComponent.decorators = [
|
|
7839
7844
|
{ type: Component, args: [{
|
|
7840
7845
|
selector: 'FHAutoComplete',
|
|
7841
|
-
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 ",
|
|
7842
7847
|
providers: [
|
|
7843
7848
|
{ provide: NG_VALUE_ACCESSOR, useExisting: FHAutoCompleteComponent, multi: true },
|
|
7844
7849
|
],
|
|
7845
|
-
styles: ["\n
|
|
7850
|
+
styles: ["\n \n "]
|
|
7846
7851
|
}] }
|
|
7847
7852
|
];
|
|
7848
7853
|
/** @nocollapse */
|