ag-grid-polymer
Advanced tools
Comparing version 0.0.9 to 12.0.0
@@ -24,4 +24,4 @@ { | ||
"dependencies": { | ||
"ag-grid": "^11.0.0" | ||
"ag-grid": "^12.0.0" | ||
} | ||
} |
{ | ||
"name": "ag-grid-polymer", | ||
"version": "0.0.9", | ||
"version": "12.0.0", | ||
"description": "ag-Grid Polymer Web Component", | ||
"main": "index.js", | ||
"dependencies": { | ||
"ag-grid": "^11.0.0" | ||
"dependencies": {}, | ||
"devDependencies": { | ||
"bower": "1.8.0" | ||
}, | ||
"devDependencies": {}, | ||
"scripts": { | ||
"test": "echo \"Error: no test specified\" && exit 1" | ||
"postinstall": "bower install" | ||
}, | ||
@@ -13,0 +13,0 @@ "repository": { |
class BaseGuiComponent { | ||
constructor(element) { | ||
this.element = element; | ||
} | ||
init(params) { | ||
@@ -24,4 +28,7 @@ this._params = params; | ||
createComponent() { | ||
throw Error ("Method not implemented - abstract method") | ||
if(!customElements.get(this.element)) { | ||
console.error(`${this.element} not found in the registry - has it been registered?`) | ||
} | ||
return document.createElement(this.element); | ||
} | ||
} |
@@ -17,2 +17,6 @@ class PolymerComponentFactory { | ||
class CellRenderer extends BaseGuiComponent { | ||
constructor() { | ||
super(componentType); | ||
} | ||
init(params) { | ||
@@ -32,6 +36,2 @@ super.init(params); | ||
} | ||
createComponent() { | ||
return that.createComponent(componentType); | ||
} | ||
} | ||
@@ -43,5 +43,7 @@ | ||
adaptComponentToEditor(componentType) { | ||
let that = this; | ||
class CellEditor extends BaseGuiComponent { | ||
constructor() { | ||
super(componentType); | ||
} | ||
@@ -82,7 +84,2 @@ init(params) { | ||
} | ||
createComponent() { | ||
return that.createComponent(componentType); | ||
} | ||
} | ||
@@ -96,5 +93,8 @@ | ||
class Filter extends BaseGuiComponent { | ||
constructor() { | ||
super(componentType); | ||
} | ||
init(params) { | ||
super.init(params); | ||
this._componentRef.changeDetectorRef.detectChanges(); | ||
} | ||
@@ -139,8 +139,4 @@ | ||
getFrameworkComponentInstance() { | ||
return this._frameworkComponentInstance; | ||
return this._agAwareComponent; | ||
} | ||
createComponent() { | ||
return that.createComponent(componentType); | ||
} | ||
} | ||
@@ -150,6 +146,2 @@ | ||
} | ||
createComponent(componentType) { | ||
return document.createElement(componentType); | ||
} | ||
} |
@@ -20,3 +20,3 @@ class PolymerFrameworkComponentWrapper { | ||
let wrapper = new BaseGuiComponent(); | ||
let wrapper = new BaseGuiComponent(element); | ||
mandatoryMethodList.forEach((methodName => { | ||
@@ -23,0 +23,0 @@ addMethod(wrapper, methodName, true); |
Sorry, the diff of this file is not supported yet
Install scripts
Supply chain riskInstall scripts are run when the package is installed. The majority of malware in npm is hidden in install scripts.
Found 1 instance in 1 package
Major refactor
Supply chain riskPackage has recently undergone a major refactor. It may be unstable or indicate significant internal changes. Use caution when updating to versions that include significant changes.
Found 1 instance in 1 package
New author
Supply chain riskA new npm collaborator published a version of the package for the first time. New collaborators are usually benign additions to a project, but do indicate a change to the security surface area of a package.
Found 1 instance in 1 package
No tests
QualityPackage does not have any tests. This is a strong signal of a poorly maintained or low quality package.
Found 1 instance in 1 package
No v1
QualityPackage is not semver >=1. This means it is not stable and does not support ^ ranges.
Found 1 instance in 1 package
35265
0
278
0
0
1
1
- Removedag-grid@^11.0.0
- Removedag-grid@11.0.0(transitive)