@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
|
@@ -2734,6 +2734,20 @@
|
|
|
2734
2734
|
this.errorMsg = "";
|
|
2735
2735
|
this.valDef = "-1";
|
|
2736
2736
|
}
|
|
2737
|
+
/**
|
|
2738
|
+
* @param {?} u
|
|
2739
|
+
* @param {?} o
|
|
2740
|
+
* @return {?}
|
|
2741
|
+
*/
|
|
2742
|
+
FHListComponent.prototype.change_v = /**
|
|
2743
|
+
* @param {?} u
|
|
2744
|
+
* @param {?} o
|
|
2745
|
+
* @return {?}
|
|
2746
|
+
*/
|
|
2747
|
+
function (u, o) {
|
|
2748
|
+
u.checked = !u.checked;
|
|
2749
|
+
this.upd_f(u, o);
|
|
2750
|
+
};
|
|
2737
2751
|
/**
|
|
2738
2752
|
* @param {?} u
|
|
2739
2753
|
* @param {?} b
|
|
@@ -2800,7 +2814,6 @@
|
|
|
2800
2814
|
p.sql = this.sql;
|
|
2801
2815
|
p.types = this.types;
|
|
2802
2816
|
p.values = this.values;
|
|
2803
|
-
// console.log(p);
|
|
2804
2817
|
this
|
|
2805
2818
|
._dataService
|
|
2806
2819
|
.doQuery(p)
|
|
@@ -3059,7 +3072,7 @@
|
|
|
3059
3072
|
};
|
|
3060
3073
|
FHListComponent.decorators = [
|
|
3061
3074
|
{ type: core.Component, args: [{
|
|
3062
|
-
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:
|
|
3075
|
+
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 ",
|
|
3063
3076
|
styles: ["\n\n\n "]
|
|
3064
3077
|
}] }
|
|
3065
3078
|
];
|
|
@@ -12119,7 +12132,7 @@
|
|
|
12119
12132
|
FHListPick.decorators = [
|
|
12120
12133
|
{ type: core.Component, args: [{
|
|
12121
12134
|
selector: 'fhlistpick',
|
|
12122
|
-
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\" [
|
|
12135
|
+
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 "
|
|
12123
12136
|
}] }
|
|
12124
12137
|
];
|
|
12125
12138
|
/** @nocollapse */
|
|
@@ -19015,7 +19028,7 @@
|
|
|
19015
19028
|
FHFieldPickListComponent.decorators = [
|
|
19016
19029
|
{ type: core.Component, args: [{
|
|
19017
19030
|
providers: [CUSTOM_INPUT_CONTROL_VALUE_ACCESSOR$2],
|
|
19018
|
-
selector: 'FHFieldPickList', template: "\n<div fxLayout=\"row\" style=\"width: 100%\" fxLayoutAlign=\"start
|
|
19031
|
+
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 ",
|
|
19019
19032
|
styles: ["\n\n "]
|
|
19020
19033
|
}] }
|
|
19021
19034
|
];
|