@fluxhub/fluxhub-lib 1.0.268 → 1.0.270
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 +3 -5
- 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/FHFieldPickListComponent.html +4 -4
- package/docs/components/FHListPick.html +3 -6
- package/docs/js/search/search_index.js +2 -2
- package/esm2015/lib/controls/fhfieldpicklist.js +4 -4
- package/esm2015/lib/controls/fhuserfield.js +2 -4
- package/esm2015/lib/controls/win_list_pick.js +2 -5
- package/esm5/lib/controls/fhfieldpicklist.js +2 -2
- package/esm5/lib/controls/fhuserfield.js +2 -4
- package/esm5/lib/controls/win_list_pick.js +2 -2
- package/fesm2015/fluxhub-fluxhub-lib.js +6 -11
- package/fesm2015/fluxhub-fluxhub-lib.js.map +1 -1
- package/fesm5/fluxhub-fluxhub-lib.js +4 -6
- package/fesm5/fluxhub-fluxhub-lib.js.map +1 -1
- package/fluxhub-fluxhub-lib.metadata.json +1 -1
- package/package.json +1 -1
|
@@ -34,7 +34,7 @@ import { DomSanitizer } from '@angular/platform-browser';
|
|
|
34
34
|
import { NgControl, NG_VALUE_ACCESSOR, FormsModule } from '@angular/forms';
|
|
35
35
|
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';
|
|
36
36
|
import { ActivatedRoute, Router } from '@angular/router';
|
|
37
|
-
import { Injectable, Component,
|
|
37
|
+
import { Injectable, Component, Directive, Pipe, Inject, PLATFORM_ID, Input, Output, EventEmitter, forwardRef, ViewChild, ViewContainerRef, ElementRef, Optional, HostListener, defineInjectable, inject, NgModule } from '@angular/core';
|
|
38
38
|
import { Http } from '@angular/http';
|
|
39
39
|
import { SlimLoadingBarService } from 'ng2-slim-loading-bar';
|
|
40
40
|
import { ToastrService } from 'ngx-toastr';
|
|
@@ -10769,7 +10769,7 @@ var FHListPick = /** @class */ (function () {
|
|
|
10769
10769
|
FHListPick.decorators = [
|
|
10770
10770
|
{ type: Component, args: [{
|
|
10771
10771
|
selector: 'fhwincomboselect',
|
|
10772
|
-
template: "\n <
|
|
10772
|
+
template: "\n <mat-dialog-content style=\"min-width:700px\">\n <FHList #cmb_sel [label]=\"label\" [single_sel]=\"single_sel\" [label]=\"\" style=\"width:100%;min-height:90px\" init_fill=\"false\" (selchange)=\"ok_single()\"></FHList>\n\n </mat-dialog-content>\n\n\n <mat-dialog-actions>\n<div fxLayout=\"row\" fxLayoutAlign=\"center center\" style=\"width: 100%\">\n \n <button mat-raised-button color=\"primary\" *ngIf=\"!single_sel\" (click)=\"ok()\">OK</button> \n <button mat-raised-button color=\"warn\" (click)=\"dialogRef.close('')\">ANNULLA</button>\n</div>\n </mat-dialog-actions>\n "
|
|
10773
10773
|
}] }
|
|
10774
10774
|
];
|
|
10775
10775
|
/** @nocollapse */
|
|
@@ -11063,7 +11063,7 @@ var FHUserFieldComponent = /** @class */ (function () {
|
|
|
11063
11063
|
disableClose: true, width: "700px", height: "550px"
|
|
11064
11064
|
});
|
|
11065
11065
|
dialogRef.componentInstance.user_sel = this.selectedUser;
|
|
11066
|
-
dialogRef.componentInstance.users_list = this.all_user;
|
|
11066
|
+
dialogRef.componentInstance.users_list = Object.assign([], this.all_user);
|
|
11067
11067
|
dialogRef.componentInstance.single_sel = !this.multi;
|
|
11068
11068
|
dialogRef.componentInstance.filtra();
|
|
11069
11069
|
dialogRef.afterClosed().subscribe((/**
|
|
@@ -11077,9 +11077,7 @@ var FHUserFieldComponent = /** @class */ (function () {
|
|
|
11077
11077
|
_this.selectedUser = result;
|
|
11078
11078
|
_this.writeValue('noop');
|
|
11079
11079
|
_this.select.emit(_this.selectedUser);
|
|
11080
|
-
console.log(_this.selectedUser);
|
|
11081
11080
|
_this.userName = _this.getUsersNc();
|
|
11082
|
-
console.log(_this.userName);
|
|
11083
11081
|
}
|
|
11084
11082
|
_this.change.emit(_this.selectedUser);
|
|
11085
11083
|
_this.select.emit(_this.selectedUser);
|
|
@@ -17869,7 +17867,7 @@ var FHFieldPickListComponent = /** @class */ (function () {
|
|
|
17869
17867
|
FHFieldPickListComponent.decorators = [
|
|
17870
17868
|
{ type: Component, args: [{
|
|
17871
17869
|
providers: [CUSTOM_INPUT_CONTROL_VALUE_ACCESSOR$2],
|
|
17872
|
-
selector: 'FHFieldPickList', template: "\n<div fxLayout=\"row\" style=\"width: 100%\" fxLayoutAlign=\"start center\" [hidden]=\"hidden\">\n <mat-form-field
|
|
17870
|
+
selector: 'FHFieldPickList', template: "\n<div fxLayout=\"row\" style=\"width: 100%\" fxLayoutAlign=\"start center\" [hidden]=\"hidden\">\n <mat-form-field>\n <input type=\"text\" #el1 matInput [disabled]=\"!enabled || only_in_list\" placeholder=\"{{label}}\" [(ngModel)]=\"value\">\n </mat-form-field> \n <button mat-raised-button color=\"primary\" (click)=\"open_pick_list()\" [disabled]=\"!enabled\">SELEZIONA</button>\n</div>\n ",
|
|
17873
17871
|
styles: ["\n\n "]
|
|
17874
17872
|
}] }
|
|
17875
17873
|
];
|