@fluxhub/fluxhub-lib 10.0.282 → 10.0.283
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 +16 -8
- 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/fhgrid.js +17 -9
- package/fesm2015/fluxhub-fluxhub-lib.js +16 -8
- package/fesm2015/fluxhub-fluxhub-lib.js.map +1 -1
- package/fluxhub-fluxhub-lib.metadata.json +1 -1
- package/lib/controls/fhgrid.d.ts +1 -0
- package/package.json +1 -1
|
@@ -7617,6 +7617,7 @@ class FHGridComponent {
|
|
|
7617
7617
|
this.clipboard = clipboard;
|
|
7618
7618
|
this.width_max = '100%';
|
|
7619
7619
|
this.browser = 'nd';
|
|
7620
|
+
this.export_field_aggiuntivi = '';
|
|
7620
7621
|
this.end_point = null;
|
|
7621
7622
|
this.tbl_name = "";
|
|
7622
7623
|
this.count_tbl_name = "";
|
|
@@ -8484,10 +8485,8 @@ class FHGridComponent {
|
|
|
8484
8485
|
setHeaderHeight(n) {
|
|
8485
8486
|
this.header_h = n;
|
|
8486
8487
|
this.gridOptions.api.setHeaderHeight(this.header_h);
|
|
8487
|
-
console.log('setHeaderHeight ', this.enable_copy);
|
|
8488
8488
|
if (!this.enable_copy) {
|
|
8489
8489
|
this.gridOptions.sendToClipboard = (v) => {
|
|
8490
|
-
console.log('sendToClipboard |!!!!!!', v);
|
|
8491
8490
|
this.clipboard.copy(v.data.split('\n')[0]);
|
|
8492
8491
|
if (this.last_copy == v.data)
|
|
8493
8492
|
return;
|
|
@@ -8680,12 +8679,20 @@ class FHGridComponent {
|
|
|
8680
8679
|
if (this.fields.indexOf("DISTINCT") != -1)
|
|
8681
8680
|
str_fields = "DISTINCT " + str_fields;
|
|
8682
8681
|
cmds.push(this.officeService.operation("GB_XLS_APRI", "tpl_report.xlsx", "" + this.uiid_stampa + ".xlsx", this.xxopx++));
|
|
8683
|
-
|
|
8684
|
-
|
|
8685
|
-
|
|
8686
|
-
|
|
8687
|
-
|
|
8688
|
-
|
|
8682
|
+
if (this.export_field_aggiuntivi == '')
|
|
8683
|
+
cmds.push(this.officeService.operation("GB_CREA_TABELLA_FROM_DB", "select " +
|
|
8684
|
+
str_fields +
|
|
8685
|
+
" from " +
|
|
8686
|
+
this.tbl_name +
|
|
8687
|
+
" " +
|
|
8688
|
+
this.str_curr_q_p, "3", this.xxopx++));
|
|
8689
|
+
else
|
|
8690
|
+
cmds.push(this.officeService.operation("GB_CREA_TABELLA_FROM_DB", "select " +
|
|
8691
|
+
str_fields + ',' + this.export_field_aggiuntivi +
|
|
8692
|
+
" from " +
|
|
8693
|
+
this.tbl_name +
|
|
8694
|
+
" " +
|
|
8695
|
+
this.str_curr_q_p, "3", this.xxopx++));
|
|
8689
8696
|
cmds.push(this.officeService.operation("GB_XLS_SAVE", this.m_appService.LOCAL_PATH +
|
|
8690
8697
|
"grid_reports\\" +
|
|
8691
8698
|
this.uiid_stampa +
|
|
@@ -9220,6 +9227,7 @@ FHGridComponent.ctorParameters = () => [
|
|
|
9220
9227
|
{ type: Clipboard }
|
|
9221
9228
|
];
|
|
9222
9229
|
FHGridComponent.propDecorators = {
|
|
9230
|
+
export_field_aggiuntivi: [{ type: Input }],
|
|
9223
9231
|
end_point: [{ type: Input }],
|
|
9224
9232
|
tbl_name: [{ type: Input }],
|
|
9225
9233
|
columnDefs: [{ type: Input }],
|