@fluxhub/fluxhub-lib 10.0.116 → 10.0.118
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 +8 -2
- 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 +5 -3
- package/fesm2015/fluxhub-fluxhub-lib.js +4 -2
- package/fesm2015/fluxhub-fluxhub-lib.js.map +1 -1
- package/fluxhub-fluxhub-lib.metadata.json +1 -1
- package/lib/controls/fhgrid.d.ts +2 -1
- package/package.json +1 -1
|
@@ -5316,6 +5316,7 @@
|
|
|
5316
5316
|
return item.ord;
|
|
5317
5317
|
},
|
|
5318
5318
|
};
|
|
5319
|
+
this.last_copy = '';
|
|
5319
5320
|
this.b_init = false;
|
|
5320
5321
|
this.b_init1 = false;
|
|
5321
5322
|
this.errorMsg = "";
|
|
@@ -5805,7 +5806,7 @@
|
|
|
5805
5806
|
|
|
5806
5807
|
this.gridOptions.api.exportDataAsExcel(params);*/
|
|
5807
5808
|
};
|
|
5808
|
-
FHGridComponent.prototype.sendToClipboard = function (params, a) {
|
|
5809
|
+
FHGridComponent.prototype.sendToClipboard = function (params, a, lc) {
|
|
5809
5810
|
console.log('send to clipboard called with data:');
|
|
5810
5811
|
console.log(params.data);
|
|
5811
5812
|
a.copySelectedRowsToClipboard(true);
|
|
@@ -5815,7 +5816,12 @@
|
|
|
5815
5816
|
this.header_h = n;
|
|
5816
5817
|
this.gridOptions.api.setHeaderHeight(this.header_h);
|
|
5817
5818
|
if (!this.enable_paste) {
|
|
5818
|
-
this.gridOptions.sendToClipboard = function (v) {
|
|
5819
|
+
this.gridOptions.sendToClipboard = function (v) {
|
|
5820
|
+
if (_this.last_copy == v.data)
|
|
5821
|
+
return;
|
|
5822
|
+
_this.sendToClipboard(v, _this.gridOptions.api, _this.last_copy);
|
|
5823
|
+
_this.last_copy = v.data;
|
|
5824
|
+
};
|
|
5819
5825
|
}
|
|
5820
5826
|
};
|
|
5821
5827
|
FHGridComponent.prototype.getRowNodeId = function (item) {
|