@fluxhub/fluxhub-lib 1.0.591 → 1.0.592
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 +17 -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/esm2015/lib/controls/fhfieldpicklist.js +6 -6
- package/esm2015/lib/controls/fhlist.js +13 -10
- package/esm2015/lib/controls/win_list_pick.js +2 -2
- package/esm5/lib/controls/fhfieldpicklist.js +2 -2
- package/esm5/lib/controls/fhlist.js +16 -8
- package/esm5/lib/controls/win_list_pick.js +2 -2
- package/fesm2015/fluxhub-fluxhub-lib.js +18 -10
- package/fesm2015/fluxhub-fluxhub-lib.js.map +1 -1
- package/fesm5/fluxhub-fluxhub-lib.js +17 -4
- package/fesm5/fluxhub-fluxhub-lib.js.map +1 -1
- package/fluxhub-fluxhub-lib.metadata.json +1 -1
- package/lib/controls/fhlist.d.ts +1 -0
- package/package.json +1 -1
|
@@ -2713,6 +2713,20 @@ var FHListComponent = /** @class */ (function () {
|
|
|
2713
2713
|
this.errorMsg = "";
|
|
2714
2714
|
this.valDef = "-1";
|
|
2715
2715
|
}
|
|
2716
|
+
/**
|
|
2717
|
+
* @param {?} u
|
|
2718
|
+
* @param {?} o
|
|
2719
|
+
* @return {?}
|
|
2720
|
+
*/
|
|
2721
|
+
FHListComponent.prototype.change_v = /**
|
|
2722
|
+
* @param {?} u
|
|
2723
|
+
* @param {?} o
|
|
2724
|
+
* @return {?}
|
|
2725
|
+
*/
|
|
2726
|
+
function (u, o) {
|
|
2727
|
+
u.checked = !u.checked;
|
|
2728
|
+
this.upd_f(u, o);
|
|
2729
|
+
};
|
|
2716
2730
|
/**
|
|
2717
2731
|
* @param {?} u
|
|
2718
2732
|
* @param {?} b
|
|
@@ -2779,7 +2793,6 @@ var FHListComponent = /** @class */ (function () {
|
|
|
2779
2793
|
p.sql = this.sql;
|
|
2780
2794
|
p.types = this.types;
|
|
2781
2795
|
p.values = this.values;
|
|
2782
|
-
// console.log(p);
|
|
2783
2796
|
this
|
|
2784
2797
|
._dataService
|
|
2785
2798
|
.doQuery(p)
|
|
@@ -3038,7 +3051,7 @@ var FHListComponent = /** @class */ (function () {
|
|
|
3038
3051
|
};
|
|
3039
3052
|
FHListComponent.decorators = [
|
|
3040
3053
|
{ type: Component, args: [{
|
|
3041
|
-
selector: 'FHList', template: "\n\n\n <table class=\"fh_table\" style=\"width:100%;\">\n <thead>\n <tr>\n <th *ngIf=\"!single_sel\"></th>\n <th>\n {{label}}\n\n </th>\n <th *ngIf=\"single_sel\"></th>\n </tr>\n </thead>\n <tbody>\n\n <tr *ngFor=\"let u of myData;let odd=odd; let even=even;\" [ngClass]=\"{ odd: odd, even: even }\">\n <td style=\"width:20px;\" valign=\"middle\" *ngIf=\"!single_sel\">\n <mat-slide-toggle (change)=\"upd_f(u,$event)\" [disabled]=\"!enabled\"\n [(ngModel)]=\"u.checked\"></mat-slide-toggle>\n </td>\n <td valign=\"middle\">{{u.descrizione_valore}}</td>\n <td valign=\"middle\" style=\"width:20px;text-align:
|
|
3054
|
+
selector: 'FHList', template: "\n\n\n <table class=\"fh_table\" style=\"width:100%;\">\n <thead>\n <tr>\n <th *ngIf=\"!single_sel\"></th>\n <th>\n {{label}}\n\n </th>\n <th *ngIf=\"single_sel\"></th>\n </tr>\n </thead>\n <tbody>\n\n <tr *ngFor=\"let u of myData;let odd=odd; let even=even;\" [ngClass]=\"{ odd: odd, even: even }\">\n <td style=\"width:20px;\" valign=\"middle\" *ngIf=\"!single_sel\">\n <mat-slide-toggle (change)=\"upd_f(u,$event)\" [disabled]=\"!enabled\"\n [(ngModel)]=\"u.checked\"></mat-slide-toggle>\n </td>\n <td (click)=\"change_v(u,$event)\" valign=\"middle\">{{u.descrizione_valore}}</td>\n <td valign=\"middle\" style=\"width:20px;text-align: center\" *ngIf=\"single_sel\" >\n\n <button mat-flat-button color=\"primary\" (click)=\"upd_f(u,$event)\" [disabled]=\"!enabled\" ><mat-icon>send</mat-icon></button> \n\n\n </td>\n </tr>\n </tbody>\n </table>\n\n\n\n ",
|
|
3042
3055
|
styles: ["\n\n\n "]
|
|
3043
3056
|
}] }
|
|
3044
3057
|
];
|
|
@@ -12098,7 +12111,7 @@ var FHListPick = /** @class */ (function () {
|
|
|
12098
12111
|
FHListPick.decorators = [
|
|
12099
12112
|
{ type: Component, args: [{
|
|
12100
12113
|
selector: 'fhlistpick',
|
|
12101
|
-
template: "\n <h2 mat-dialog-title>{{title}}</h2>\n <mat-dialog-content style=\"min-width:700px;min-height:500px;font-size: 12px\">\n <FHList #cmb_sel [label]=\"label\" [single_sel]=\"single_sel\" [
|
|
12114
|
+
template: "\n <h2 mat-dialog-title>{{title}}</h2>\n <mat-dialog-content style=\"min-width:700px;min-height:500px;font-size: 12px\">\n <FHList #cmb_sel [label]=\"label\" [single_sel]=\"single_sel\" [separator]=\"separator\" style=\"width:100%;height:100%\" 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-flat-button color=\"primary\" *ngIf=\"!single_sel\" (click)=\"ok()\">OK</button> \n <button mat-flat-button style=\"background-color: #F5F5F5\" (click)=\"dialogRef.close('')\">ANNULLA</button>\n</div>\n </mat-dialog-actions>\n "
|
|
12102
12115
|
}] }
|
|
12103
12116
|
];
|
|
12104
12117
|
/** @nocollapse */
|
|
@@ -18994,7 +19007,7 @@ var FHFieldPickListComponent = /** @class */ (function () {
|
|
|
18994
19007
|
FHFieldPickListComponent.decorators = [
|
|
18995
19008
|
{ type: Component, args: [{
|
|
18996
19009
|
providers: [CUSTOM_INPUT_CONTROL_VALUE_ACCESSOR$2],
|
|
18997
|
-
selector: 'FHFieldPickList', template: "\n<div fxLayout=\"row\" style=\"width: 100%\" fxLayoutAlign=\"start
|
|
19010
|
+
selector: 'FHFieldPickList', template: "\n<div fxLayout=\"row\" style=\"width: 100%\" fxLayoutAlign=\"start start\" [hidden]=\"hidden\"><div style=\"width: 100%\">\n <mat-form-field appearance=\"outline\" floatLabel=\"always\"><mat-label>{{label}}</mat-label>\n <input type=\"text\" #el1 matInput [readonly]=\"!enabled || only_in_list\" [(ngModel)]=\"value\">\n </mat-form-field></div> \n <div style=\"min-width: 160px\"> <button mat-flat-button color=\"primary\" (click)=\"open_pick_list()\" [disabled]=\"!enabled\">SELEZIONA</button></div>\n</div>\n ",
|
|
18998
19011
|
styles: ["\n\n "]
|
|
18999
19012
|
}] }
|
|
19000
19013
|
];
|