@fluxhub/fluxhub-lib 10.0.10 → 10.0.11
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 +10 -1
- 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 +11 -2
- package/fesm2015/fluxhub-fluxhub-lib.js +10 -1
- 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
|
@@ -4901,6 +4901,7 @@
|
|
|
4901
4901
|
this.dclicked = new i0.EventEmitter();
|
|
4902
4902
|
this.columndclicked = new i0.EventEmitter();
|
|
4903
4903
|
this.cell_clicked = new i0.EventEmitter();
|
|
4904
|
+
this.custom_export = false;
|
|
4904
4905
|
this.toolbar_type = "NONE";
|
|
4905
4906
|
this.toolbar_wkfapp = null;
|
|
4906
4907
|
this.toolbar_custom_commands = [];
|
|
@@ -5656,6 +5657,10 @@
|
|
|
5656
5657
|
};
|
|
5657
5658
|
FHGridComponent.prototype.onBtExport = function () {
|
|
5658
5659
|
this.export_excel();
|
|
5660
|
+
if (this.custom_export) {
|
|
5661
|
+
this.command.emit({ cmd: "export_excel" });
|
|
5662
|
+
return;
|
|
5663
|
+
}
|
|
5659
5664
|
/*
|
|
5660
5665
|
var params = {
|
|
5661
5666
|
skipHeader: false,
|
|
@@ -5933,7 +5938,10 @@
|
|
|
5933
5938
|
});
|
|
5934
5939
|
};
|
|
5935
5940
|
FHGridComponent.prototype.print = function () {
|
|
5936
|
-
this.
|
|
5941
|
+
if (this.custom_export)
|
|
5942
|
+
this.command.emit({ cmd: "print_pdf" });
|
|
5943
|
+
else
|
|
5944
|
+
this.export_excel("pdf");
|
|
5937
5945
|
};
|
|
5938
5946
|
FHGridComponent.prototype.init_conf = function () {
|
|
5939
5947
|
// console.log(" init_conf()");
|
|
@@ -6411,6 +6419,7 @@
|
|
|
6411
6419
|
dclicked: [{ type: i0.Output }],
|
|
6412
6420
|
columndclicked: [{ type: i0.Output }],
|
|
6413
6421
|
cell_clicked: [{ type: i0.Output }],
|
|
6422
|
+
custom_export: [{ type: i0.Input }],
|
|
6414
6423
|
toolbar_type: [{ type: i0.Input }],
|
|
6415
6424
|
toolbar_wkfapp: [{ type: i0.Input }],
|
|
6416
6425
|
toolbar_custom_commands: [{ type: i0.Input }],
|