@fluxhub/fluxhub-lib 10.0.522 → 10.0.524
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 +20 -3
- 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/fhautocomplete.js +7 -1
- package/esm2015/lib/controls/fhcombobox.js +7 -1
- package/esm2015/lib/controls/fhconfirm.js +9 -4
- package/fesm2015/fluxhub-fluxhub-lib.js +20 -3
- package/fesm2015/fluxhub-fluxhub-lib.js.map +1 -1
- package/fluxhub-fluxhub-lib.metadata.json +1 -1
- package/lib/controls/fhautocomplete.d.ts +1 -0
- package/lib/controls/fhcombobox.d.ts +1 -0
- package/lib/controls/fhconfirm.d.ts +2 -1
- package/package.json +1 -1
|
@@ -309,12 +309,14 @@
|
|
|
309
309
|
fh_win_confirm.prototype.setMsg = function (texto) {
|
|
310
310
|
this.msg = texto;
|
|
311
311
|
};
|
|
312
|
-
fh_win_confirm.prototype.ngAfterViewInit = function () {
|
|
312
|
+
fh_win_confirm.prototype.ngAfterViewInit = function () {
|
|
313
|
+
this.btn_annulla.nativeElement.focus();
|
|
314
|
+
};
|
|
313
315
|
return fh_win_confirm;
|
|
314
316
|
}());
|
|
315
317
|
fh_win_confirm.decorators = [
|
|
316
318
|
{ type: i0.Component, args: [{
|
|
317
|
-
template: "\n <h1 mat-dialog-title>{{ title }}</h1>\n <div mat-dialog-content>\n <div fxLayout=\"column\" fxLayoutGap=\"15px\">\n {{ msg }}\n <div style=\"width:400px\" [hidden]=\"!b_commento\"><br /></div>\n <div style=\"width:400px\" [hidden]=\"!b_commento\">\n <FHTextArea\n label=\"{{ commento_mgs }}\"\n required\n [(ngModel)]=\"commento\"\n ></FHTextArea>\n </div>\n </div>\n </div>\n\n <div mat-dialog-actions>\n <button mat-flat-button (click)=\"ok()\" color=\"primary\">\n {{ confirm_mgs }}\n </button>\n <button mat-flat-button (click)=\"dialogRef.close(false)\"
|
|
319
|
+
template: "\n <h1 mat-dialog-title>{{ title }}</h1>\n <div mat-dialog-content>\n <div fxLayout=\"column\" fxLayoutGap=\"15px\">\n {{ msg }}\n <div style=\"width:400px\" [hidden]=\"!b_commento\"><br /></div>\n <div style=\"width:400px\" [hidden]=\"!b_commento\">\n <FHTextArea\n label=\"{{ commento_mgs }}\"\n required\n [(ngModel)]=\"commento\"\n ></FHTextArea>\n </div>\n </div>\n </div>\n\n <div mat-dialog-actions>\n <button mat-flat-button (click)=\"ok()\" color=\"primary\">\n {{ confirm_mgs }}\n </button>\n <button mat-flat-button #btn_annulla (click)=\"dialogRef.close(false)\" color=\"warn\">\n {{ annulla_mgs }}\n </button>\n </div>\n ",
|
|
318
320
|
styles: [""]
|
|
319
321
|
},] }
|
|
320
322
|
];
|
|
@@ -323,7 +325,10 @@
|
|
|
323
325
|
{ type: AppService },
|
|
324
326
|
{ type: FHConfirmValues, decorators: [{ type: i0.Inject, args: [dialog.MAT_DIALOG_DATA,] }] },
|
|
325
327
|
{ type: i3.ToastrService }
|
|
326
|
-
]; };
|
|
328
|
+
]; };
|
|
329
|
+
fh_win_confirm.propDecorators = {
|
|
330
|
+
btn_annulla: [{ type: i0.ViewChild, args: ['btn_annulla',] }]
|
|
331
|
+
};
|
|
327
332
|
|
|
328
333
|
/*! *****************************************************************************
|
|
329
334
|
Copyright (c) Microsoft Corporation.
|
|
@@ -7254,6 +7259,7 @@
|
|
|
7254
7259
|
this.show_empty = true;
|
|
7255
7260
|
this.sel_label = "";
|
|
7256
7261
|
this.tooltip = '';
|
|
7262
|
+
this.option_values = '';
|
|
7257
7263
|
this.fillend = new i0.EventEmitter();
|
|
7258
7264
|
this.selchange = new i0.EventEmitter();
|
|
7259
7265
|
this.initend = new i0.EventEmitter();
|
|
@@ -7314,6 +7320,10 @@
|
|
|
7314
7320
|
this.set_options(this.sql);
|
|
7315
7321
|
return;
|
|
7316
7322
|
}
|
|
7323
|
+
if (this.option_values != null && this.option_values != '') {
|
|
7324
|
+
this.set_options(this.option_values);
|
|
7325
|
+
return;
|
|
7326
|
+
}
|
|
7317
7327
|
var p = new QParam();
|
|
7318
7328
|
p.sql = this.sql;
|
|
7319
7329
|
p.types = this.types;
|
|
@@ -7617,6 +7627,7 @@
|
|
|
7617
7627
|
show_empty: [{ type: i0.Input }],
|
|
7618
7628
|
sel_label: [{ type: i0.Input }],
|
|
7619
7629
|
tooltip: [{ type: i0.Input }],
|
|
7630
|
+
option_values: [{ type: i0.Input }],
|
|
7620
7631
|
smtr: [{ type: i0.ViewChild, args: ["cmb",] }],
|
|
7621
7632
|
fillend: [{ type: i0.Output }],
|
|
7622
7633
|
selchange: [{ type: i0.Output }],
|
|
@@ -7646,6 +7657,7 @@
|
|
|
7646
7657
|
this.db_type = "1";
|
|
7647
7658
|
this.enabled = true;
|
|
7648
7659
|
this.open_on_load = true;
|
|
7660
|
+
this.option_values = '';
|
|
7649
7661
|
this.required = false;
|
|
7650
7662
|
this.only_from_list = false;
|
|
7651
7663
|
this.fillend = new i0.EventEmitter();
|
|
@@ -7786,6 +7798,10 @@
|
|
|
7786
7798
|
this.set_options(this.sql);
|
|
7787
7799
|
return;
|
|
7788
7800
|
}
|
|
7801
|
+
if (this.option_values != null && this.option_values != '') {
|
|
7802
|
+
this.set_options(this.option_values);
|
|
7803
|
+
return;
|
|
7804
|
+
}
|
|
7789
7805
|
var p = new QParam();
|
|
7790
7806
|
p.sql = this.sql;
|
|
7791
7807
|
p.types = this.types;
|
|
@@ -8012,6 +8028,7 @@
|
|
|
8012
8028
|
db_type: [{ type: i0.Input }],
|
|
8013
8029
|
enabled: [{ type: i0.Input }],
|
|
8014
8030
|
open_on_load: [{ type: i0.Input }],
|
|
8031
|
+
option_values: [{ type: i0.Input }],
|
|
8015
8032
|
required: [{ type: i0.Input }],
|
|
8016
8033
|
only_from_list: [{ type: i0.Input }],
|
|
8017
8034
|
fillend: [{ type: i0.Output }],
|