@ag-grid-enterprise/clipboard
Advanced tools
Comparing version 23.1.1 to 23.2.0
@@ -1,3 +0,3 @@ | ||
import { CellPositionUtils, Column, GridCore, IClipboardService, RowPositionUtils } from "@ag-grid-community/core"; | ||
export declare class ClipboardService implements IClipboardService { | ||
import { BeanStub, CellPositionUtils, Column, GridCore, IClipboardService, RowPositionUtils } from "@ag-grid-community/core"; | ||
export declare class ClipboardService extends BeanStub implements IClipboardService { | ||
private csvCreator; | ||
@@ -12,3 +12,2 @@ private loggerFactory; | ||
private columnController; | ||
private eventService; | ||
private cellNavigationService; | ||
@@ -15,0 +14,0 @@ private gridOptionsWrapper; |
"use strict"; | ||
var __extends = (this && this.__extends) || (function () { | ||
var extendStatics = function (d, b) { | ||
extendStatics = Object.setPrototypeOf || | ||
({ __proto__: [] } instanceof Array && function (d, b) { d.__proto__ = b; }) || | ||
function (d, b) { for (var p in b) if (b.hasOwnProperty(p)) d[p] = b[p]; }; | ||
return extendStatics(d, b); | ||
}; | ||
return function (d, b) { | ||
extendStatics(d, b); | ||
function __() { this.constructor = d; } | ||
d.prototype = b === null ? Object.create(b) : (__.prototype = b.prototype, new __()); | ||
}; | ||
})(); | ||
var __decorate = (this && this.__decorate) || function (decorators, target, key, desc) { | ||
@@ -10,4 +23,6 @@ var c = arguments.length, r = c < 3 ? target : desc === null ? desc = Object.getOwnPropertyDescriptor(target, key) : desc, d; | ||
var core_1 = require("@ag-grid-community/core"); | ||
var ClipboardService = /** @class */ (function () { | ||
var ClipboardService = /** @class */ (function (_super) { | ||
__extends(ClipboardService, _super); | ||
function ClipboardService() { | ||
return _super !== null && _super.apply(this, arguments) || this; | ||
} | ||
@@ -169,3 +184,3 @@ ClipboardService.prototype.registerGridCore = function (gridCore) { | ||
columns.forEach(function (column, index) { | ||
if (!column.isCellEditable(rowNode)) { | ||
if (!column.isCellEditable(rowNode) || column.isSuppressPaste(rowNode)) { | ||
return; | ||
@@ -533,5 +548,2 @@ } | ||
__decorate([ | ||
core_1.Autowired('eventService') | ||
], ClipboardService.prototype, "eventService", void 0); | ||
__decorate([ | ||
core_1.Autowired('cellNavigationService') | ||
@@ -561,4 +573,4 @@ ], ClipboardService.prototype, "cellNavigationService", void 0); | ||
return ClipboardService; | ||
}()); | ||
}(core_1.BeanStub)); | ||
exports.ClipboardService = ClipboardService; | ||
//# sourceMappingURL=clipboardService.js.map |
@@ -1,3 +0,3 @@ | ||
import { CellPositionUtils, Column, GridCore, IClipboardService, RowPositionUtils } from "@ag-grid-community/core"; | ||
export declare class ClipboardService implements IClipboardService { | ||
import { BeanStub, CellPositionUtils, Column, GridCore, IClipboardService, RowPositionUtils } from "@ag-grid-community/core"; | ||
export declare class ClipboardService extends BeanStub implements IClipboardService { | ||
private csvCreator; | ||
@@ -12,3 +12,2 @@ private loggerFactory; | ||
private columnController; | ||
private eventService; | ||
private cellNavigationService; | ||
@@ -15,0 +14,0 @@ private gridOptionsWrapper; |
@@ -0,1 +1,14 @@ | ||
var __extends = (this && this.__extends) || (function () { | ||
var extendStatics = function (d, b) { | ||
extendStatics = Object.setPrototypeOf || | ||
({ __proto__: [] } instanceof Array && function (d, b) { d.__proto__ = b; }) || | ||
function (d, b) { for (var p in b) if (b.hasOwnProperty(p)) d[p] = b[p]; }; | ||
return extendStatics(d, b); | ||
}; | ||
return function (d, b) { | ||
extendStatics(d, b); | ||
function __() { this.constructor = d; } | ||
d.prototype = b === null ? Object.create(b) : (__.prototype = b.prototype, new __()); | ||
}; | ||
})(); | ||
var __decorate = (this && this.__decorate) || function (decorators, target, key, desc) { | ||
@@ -7,5 +20,7 @@ var c = arguments.length, r = c < 3 ? target : desc === null ? desc = Object.getOwnPropertyDescriptor(target, key) : desc, d; | ||
}; | ||
import { _, Autowired, Bean, ChangedPath, Constants, Events, PostConstruct, Optional } from "@ag-grid-community/core"; | ||
var ClipboardService = /** @class */ (function () { | ||
import { _, Autowired, Bean, BeanStub, ChangedPath, Constants, Events, PostConstruct, Optional } from "@ag-grid-community/core"; | ||
var ClipboardService = /** @class */ (function (_super) { | ||
__extends(ClipboardService, _super); | ||
function ClipboardService() { | ||
return _super !== null && _super.apply(this, arguments) || this; | ||
} | ||
@@ -167,3 +182,3 @@ ClipboardService.prototype.registerGridCore = function (gridCore) { | ||
columns.forEach(function (column, index) { | ||
if (!column.isCellEditable(rowNode)) { | ||
if (!column.isCellEditable(rowNode) || column.isSuppressPaste(rowNode)) { | ||
return; | ||
@@ -531,5 +546,2 @@ } | ||
__decorate([ | ||
Autowired('eventService') | ||
], ClipboardService.prototype, "eventService", void 0); | ||
__decorate([ | ||
Autowired('cellNavigationService') | ||
@@ -559,3 +571,3 @@ ], ClipboardService.prototype, "cellNavigationService", void 0); | ||
return ClipboardService; | ||
}()); | ||
}(BeanStub)); | ||
export { ClipboardService }; |
{ | ||
"name": "@ag-grid-enterprise/clipboard", | ||
"version": "23.1.1", | ||
"version": "23.2.0", | ||
"description": "Advanced Data Grid / Data Table supporting Javascript / React / AngularJS / Web Components", | ||
@@ -12,3 +12,4 @@ "main": "./dist/cjs/main.js", | ||
"package": "node ../../module-build/rollup/build.js", | ||
"build": "npm run build-cjs && npm run build-es6", | ||
"build": "npm run build-cjs && npm run build-es6 && npm run hash", | ||
"hash": "sh ../../scripts/hashDirectory.sh > .hash", | ||
"test": "jest --passWithNoTests" | ||
@@ -46,5 +47,5 @@ }, | ||
"dependencies": { | ||
"@ag-grid-community/core": "~23.1.0", | ||
"@ag-grid-community/csv-export": "~23.1.0", | ||
"@ag-grid-enterprise/core": "~23.1.0" | ||
"@ag-grid-community/core": "~23.2.0", | ||
"@ag-grid-community/csv-export": "~23.2.0", | ||
"@ag-grid-enterprise/core": "~23.2.0" | ||
}, | ||
@@ -51,0 +52,0 @@ "devDependencies": { |
Sorry, the diff of this file is not supported yet
Sorry, the diff of this file is not supported yet
Sorry, the diff of this file is not supported yet
Sorry, the diff of this file is too big to display
Sorry, the diff of this file is too big to display
Sorry, the diff of this file is too big to display
Sorry, the diff of this file is too big to display
License Policy Violation
LicenseThis package is not allowed per your license policy. Review the package's license to ensure compliance.
Found 1 instance in 1 package
License Policy Violation
LicenseThis package is not allowed per your license policy. Review the package's license to ensure compliance.
Found 1 instance in 1 package
5693761
26
90130
+ Added@ag-grid-community/core@23.2.1(transitive)
+ Added@ag-grid-community/csv-export@23.2.1(transitive)
+ Added@ag-grid-enterprise/core@23.2.1(transitive)
- Removed@ag-grid-community/core@23.1.1(transitive)
- Removed@ag-grid-community/csv-export@23.1.1(transitive)
- Removed@ag-grid-enterprise/core@23.1.1(transitive)