@fluxhub/fluxhub-lib 10.0.611 → 10.0.613
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 +6 -9
- package/bundles/fluxhub-fluxhub-lib.umd.js.map +1 -1
- package/bundles/fluxhub-fluxhub-lib.umd.min.js +2 -2
- package/bundles/fluxhub-fluxhub-lib.umd.min.js.map +1 -1
- package/esm2015/lib/controls/win_pick_list.js +41 -33
- package/fesm2015/fluxhub-fluxhub-lib.js +40 -31
- package/fesm2015/fluxhub-fluxhub-lib.js.map +1 -1
- package/fluxhub-fluxhub-lib.metadata.json +1 -1
- package/lib/controls/win_pick_list.d.ts +3 -4
- package/package.json +1 -1
|
@@ -2320,12 +2320,11 @@
|
|
|
2320
2320
|
};
|
|
2321
2321
|
|
|
2322
2322
|
var fh_win_picklist = /** @class */ (function () {
|
|
2323
|
-
function fh_win_picklist(dialogRef, _dataService, toastr, data
|
|
2323
|
+
function fh_win_picklist(dialogRef, _dataService, toastr, data) {
|
|
2324
2324
|
this.dialogRef = dialogRef;
|
|
2325
2325
|
this._dataService = _dataService;
|
|
2326
2326
|
this.toastr = toastr;
|
|
2327
2327
|
this.data = data;
|
|
2328
|
-
this.m_appService = m_appService;
|
|
2329
2328
|
this.width = "100%";
|
|
2330
2329
|
this.selectedAdd = null;
|
|
2331
2330
|
this.selectedRemove = null;
|
|
@@ -2340,13 +2339,10 @@
|
|
|
2340
2339
|
this.value_list_sel = new Array();
|
|
2341
2340
|
this.types = [];
|
|
2342
2341
|
this.values = [];
|
|
2343
|
-
this.title = '';
|
|
2344
2342
|
this.value_sel = [];
|
|
2345
2343
|
if (data != null) {
|
|
2346
2344
|
if (data.value_list != null)
|
|
2347
2345
|
this.value_list = data.value_list;
|
|
2348
|
-
if (data.title != null)
|
|
2349
|
-
this.title = data.title;
|
|
2350
2346
|
if (data.single_sel != null)
|
|
2351
2347
|
this.single_sel = data.single_sel;
|
|
2352
2348
|
if (data.vis_buttons != null)
|
|
@@ -2359,6 +2355,8 @@
|
|
|
2359
2355
|
}
|
|
2360
2356
|
}
|
|
2361
2357
|
fh_win_picklist.prototype.ngAfterViewInit = function () { };
|
|
2358
|
+
fh_win_picklist.prototype.add_all = function () { };
|
|
2359
|
+
fh_win_picklist.prototype.rem_all = function () { };
|
|
2362
2360
|
fh_win_picklist.prototype.filtra = function () {
|
|
2363
2361
|
this.value_list_sel = new Array();
|
|
2364
2362
|
// console.log('filtra() '+this.fltr_user.toUpperCase());
|
|
@@ -2542,16 +2540,15 @@
|
|
|
2542
2540
|
fh_win_picklist.decorators = [
|
|
2543
2541
|
{ type: i0.Component, args: [{
|
|
2544
2542
|
selector: "FHPickList",
|
|
2545
|
-
template: "\n<div
|
|
2546
|
-
styles: ["\n
|
|
2543
|
+
template: "\n <div fxLayout=\"column\" fxLayoutGap=\"15px\" style=\"min-width:1000px\" fxFlex>\n <div fxLayout=\"row\">\n <div fxLayout=\"column\" fxFlex=\"48\">\n <div style=\"width:100%;height:420px;overflow:auto;\">\n <table style=\"width: 100%\" class=\"fh_table sel_r\">\n <thead>\n <tr>\n <th>{{'VALORI SELEZIONABILI' | translate}}</th>\n </tr>\n </thead>\n\n <tbody>\n <tr style=\"background-color:#FFF !important\">\n <td>\n <input\n [(ngModel)]=\"fltr_user\"\n (ngModelChange)=\"filtra()\"\n style=\"padding:8px;margin:15px auto;width:100%;\"\n placeholder=\"Ricerca...\"\n />\n </td>\n </tr>\n <tr\n *ngFor=\"\n let u of value_list_sel;\n let odd = odd;\n let even = even\n \"\n\n (click)=\"addTo(u)\"\n (dblclick)=\"do_add()\"\n class=\"selector\"\n\n [ngClass]=\"{ active: selectedAdd == u }\"\n >\n <td [ngClass]=\"{ odd: odd, even: even }\" style=\"cursor:pointer\">{{ u.descrizione_valore | translate }}</td>\n </tr>\n </tbody>\n </table>\n </div>\n </div>\n <div\n fxLayout=\"column\"\n fxFlex=\"4\"\n style=\"height: 280px; position: relative; margin:0 .5em; padding-left: .5em; padding-right: .5em; border-left: 1px solid rgba(191, 191, 191, 0.5); border-right: 1px solid rgba(191, 191, 191, 0.5);\"\n >\n <div\n style=\"position: absolute; top: 50%; left: 50%; transform: translate(-50%, -50%);\"\n >\n <button\n mat-flat-button\n color=\"primary\"\n (click)=\"do_add()\"\n [disabled]=\"!option\"\n >\n <mat-icon>arrow_forward</mat-icon>\n </button>\n <br /><br />\n <button\n mat-flat-button\n color=\"primary\"\n (click)=\"do_rem()\"\n [disabled]=\"option\"\n >\n <mat-icon>delete</mat-icon>\n </button> <br /><br /> <br /><br />\n <button\n mat-flat-button\n color=\"primary\"\n (click)=\"add_all()\"\n [disabled]=\"option\"\n >\n <mat-icon>double_arrow</mat-icon>\n </button> <br /><br />\n <button\n mat-flat-button\n color=\"primary\"\n (click)=\"rem_all()\"\n [disabled]=\"option\"\n >\n <mat-icon>keyboard_double_arrow_left</mat-icon>\n </button>\n </div>\n </div>\n <div fxLayout=\"column\" fxFlex=\"48\">\n <div style=\"width:100%;height:420px;overflow:auto;\">\n <table style=\"width: 100%\" class=\"fh_table sel_r\">\n <thead>\n <tr>\n <th>{{'VALORI SELEZIONATI'}}</th>\n </tr>\n </thead>\n <tbody>\n <tr\n *ngFor=\"let u of value_sel; let odd = odd; let even = even\"\n (mouseover)=\"selectedRemove = u\"\n [ngClass]=\"{ odd: odd, even: even }\"\n (click)=\"removeTo(u)\"\n (dblclick)=\"do_rem()\"\n class=\"selector\"\n [ngClass]=\"{ active: selectedRemove == u }\"\n >\n <td [ngClass]=\"{ odd: odd, even: even }\" style=\"cursor:pointer\">{{ u.descrizione_valore | translate }}</td>\n </tr>\n </tbody>\n </table>\n </div>\n </div>\n </div>\n <br /><br />\n <div fxLayout=\"row\" fxLayoutAlign=\"center center\" fxLayoutGap=\"5px\">\n <button mat-flat-button color=\"primary\" (click)=\"ok()\">Ok</button\n > \n <button\n mat-flat-button\n style=\"background-color: #F5F5F5\"\n (click)=\"dialogRef.close()\"\n >\n {{'Annulla' | translate}}\n </button>\n </div>\n </div>\n ",
|
|
2544
|
+
styles: ["\n .mat-dialog-content\u00A0{\u00A0\u00A0max-height:\u00A0unset\u00A0!important;\u00A0}\n .selector {\n cursor: hand;\n }\n "]
|
|
2547
2545
|
},] }
|
|
2548
2546
|
];
|
|
2549
2547
|
fh_win_picklist.ctorParameters = function () { return [
|
|
2550
2548
|
{ type: dialog.MatDialogRef },
|
|
2551
2549
|
{ type: QueryService },
|
|
2552
2550
|
{ type: i3.ToastrService },
|
|
2553
|
-
{ type: undefined, decorators: [{ type: i0.Inject, args: [dialog.MAT_DIALOG_DATA,] }] }
|
|
2554
|
-
{ type: AppService }
|
|
2551
|
+
{ type: undefined, decorators: [{ type: i0.Inject, args: [dialog.MAT_DIALOG_DATA,] }] }
|
|
2555
2552
|
]; };
|
|
2556
2553
|
fh_win_picklist.propDecorators = {
|
|
2557
2554
|
value_list: [{ type: i0.Input }],
|