@fluxhub/fluxhub-lib 11.0.110 → 11.0.112
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 +7 -3
- 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/fhautocomplete.js +5 -3
- package/esm2015/lib/controls/fhlogpanel.js +5 -2
- package/fesm2015/fluxhub-fluxhub-lib.js +7 -2
- 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/fhlogpanel.d.ts +2 -1
- package/package.json +1 -1
|
@@ -8293,6 +8293,7 @@
|
|
|
8293
8293
|
this.hidden = false;
|
|
8294
8294
|
this.id_loading = false;
|
|
8295
8295
|
this.db_type = "1";
|
|
8296
|
+
this.max_item_show = 20;
|
|
8296
8297
|
this.enabled = true;
|
|
8297
8298
|
this.open_on_load = true;
|
|
8298
8299
|
this.option_values = '';
|
|
@@ -8354,7 +8355,7 @@
|
|
|
8354
8355
|
this.searchItemsFiltered.push(this.myData[i]);
|
|
8355
8356
|
}
|
|
8356
8357
|
}
|
|
8357
|
-
if (ps.length < 4 && this.searchItemsFiltered.length ==
|
|
8358
|
+
if (ps.length < 4 && this.searchItemsFiltered.length == this.max_item_show) {
|
|
8358
8359
|
break;
|
|
8359
8360
|
}
|
|
8360
8361
|
}
|
|
@@ -8364,7 +8365,7 @@
|
|
|
8364
8365
|
if (this.myData != null)
|
|
8365
8366
|
for (var i = 0; i < this.myData.length; i++) {
|
|
8366
8367
|
this.searchItemsFiltered.push(this.myData[i]);
|
|
8367
|
-
if (i ==
|
|
8368
|
+
if (i == this.max_item_show) {
|
|
8368
8369
|
break;
|
|
8369
8370
|
}
|
|
8370
8371
|
}
|
|
@@ -8672,6 +8673,7 @@
|
|
|
8672
8673
|
values: [{ type: i0.Input }],
|
|
8673
8674
|
hidden: [{ type: i0.Input }],
|
|
8674
8675
|
db_type: [{ type: i0.Input }],
|
|
8676
|
+
max_item_show: [{ type: i0.Input }],
|
|
8675
8677
|
enabled: [{ type: i0.Input }],
|
|
8676
8678
|
open_on_load: [{ type: i0.Input }],
|
|
8677
8679
|
option_values: [{ type: i0.Input }],
|
|
@@ -10154,6 +10156,7 @@
|
|
|
10154
10156
|
var _this = this;
|
|
10155
10157
|
this.uti = uti;
|
|
10156
10158
|
this.g_height = "300px";
|
|
10159
|
+
this.dclicked = new i0.EventEmitter();
|
|
10157
10160
|
this.columnDefs = [
|
|
10158
10161
|
{
|
|
10159
10162
|
headerName: "Utente",
|
|
@@ -10211,7 +10214,7 @@
|
|
|
10211
10214
|
FHLogPanelComponent.decorators = [
|
|
10212
10215
|
{ type: i0.Component, args: [{
|
|
10213
10216
|
selector: "FHLogPanel",
|
|
10214
|
-
template: "\n <div style=\"width:100%;\">\n <section class=\"bs\">\n <div style=\"width:100%;height:450px\">\n <div style=\"width:100%;height:100%\">\n <FHGrid\n [init_fill]=\"false\"\n #dtm\n [show_buttons]=\"false\"\n [columnDefs]=\"columnDefs\"\n tbl_name=\"logs\"\n grid_key=\"logs\"\n sort_field=\"data desc\"\n ></FHGrid>\n </div>\n </div>\n </section>\n </div>\n ",
|
|
10217
|
+
template: "\n <div style=\"width:100%;\">\n <section class=\"bs\">\n <div style=\"width:100%;height:450px\">\n <div style=\"width:100%;height:100%\">\n <FHGrid\n [init_fill]=\"false\"\n #dtm\n [show_buttons]=\"false\"\n [columnDefs]=\"columnDefs\"\n tbl_name=\"logs\"\n grid_key=\"logs\"\n sort_field=\"data desc\"\n (dclicked)=\"this.dclicked.emit($event)\"\n ></FHGrid>\n </div>\n </div>\n </section>\n </div>\n ",
|
|
10215
10218
|
styles: [""]
|
|
10216
10219
|
},] }
|
|
10217
10220
|
];
|
|
@@ -10220,6 +10223,7 @@
|
|
|
10220
10223
|
]; };
|
|
10221
10224
|
FHLogPanelComponent.propDecorators = {
|
|
10222
10225
|
g_height: [{ type: i0.Input }],
|
|
10226
|
+
dclicked: [{ type: i0.Output }],
|
|
10223
10227
|
datagrid: [{ type: i0.ViewChild, args: ["dtm",] }]
|
|
10224
10228
|
};
|
|
10225
10229
|
|