New Case Study:See how Anthropic automated 95% of dependency reviews with Socket.Learn More
Socket
Sign inDemoInstall
Socket

angular2-generic-table

Package Overview
Dependencies
Maintainers
3
Versions
14
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

angular2-generic-table - npm Package Compare versions

Comparing version

to
1.0.0-rc.5

dist/out-tsc/generic-table/components/gt-expanding-row/gt-expanding-row.component.d.ts

5

CHANGELOG.md

@@ -5,2 +5,7 @@ Release History

# [1.0.0-rc.5] - 2016-11-18
### Breaking changes
- Changed `component` to `gtRowComponent` and added typing for expanded row i.e. you must add type to your custom row component
- Changed path for type declarations import using `import {GenericTableModule} from 'angular2-generic-table';`
# [1.0.0-rc.4] - 2016-11-14

@@ -7,0 +12,0 @@ ### Added

66

package.json
{
"name": "angular2-generic-table",
"version": "1.0.0-rc.4",
"version": "1.0.0-rc.5",
"license": "MIT",
"repository": {
"type": "git",
"url": "https://github.com/hjalmers/angular2-generic-table.git"
},
"angular-cli": {},
"scripts": {
"start": "ng serve",
"build": "rm -rf lib && tsc -p src",
"lint": "tslint \"src/**/*.ts\"",
"test": "ng test",
"copy:lib":"copyfiles -u 2 dist/out-tsc/**/* ./",
"remove:lib":"rmdir /s /q generic-table && del index.d.ts && del index.js && del index.js.map && rmdir /s /q dist",
"prepublish": "cd src && tsc && npm run copy:lib",
"postpublish":"npm run remove:lib",
"pree2e": "webdriver-manager update",
"prepublish": "tsc",
"e2e": "protractor"
},
"typings": "./index.d.ts",
"private": false,
"main": "angular2-generic-table.js",
"typings": "./index.d.ts",
"publishConfig":{
"registry":"https://registry.npmjs.org/"
"publishConfig": {
"registry": "https://registry.npmjs.org/"
},
"dependencies": {},
"devDependencies": {
"@angular/common": "2.1.2",
"@angular/compiler": "2.1.2",
"@angular/core": "2.1.2",
"@angular/forms": "2.1.2",
"@angular/http": "2.1.2",
"@angular/platform-browser": "2.1.2",
"@angular/platform-browser-dynamic": "2.1.2",
"@angular/router": "3.1.2",
"@angular/common": "^2.1.0",
"@angular/compiler": "^2.1.0",
"@angular/compiler-cli": "^2.1.0",
"@angular/core": "^2.1.0",
"@angular/forms": "^2.1.0",
"@angular/http": "^2.1.0",
"@angular/platform-browser": "^2.1.0",
"@angular/platform-browser-dynamic": "^2.1.0",
"@angular/router": "^3.1.0",
"@types/jasmine": "^2.2.30",
"angular-cli": "1.0.0-beta.19-3",
"codelyzer": "1.0.0-beta.3",
"commitizen": "2.8.6",
"@types/node": "^6.0.42",
"angular-cli": "1.0.0-beta.20-4",
"codelyzer": "~1.0.0-beta.3",
"copyfiles": "^1.0.0",
"core-js": "^2.4.1",
"cz-conventional-changelog": "1.2.0",
"jasmine-core": "2.5.2",
"jasmine-spec-reporter": "2.7.0",
"karma": "1.3.0",
"jasmine-core": "2.4.1",
"jasmine-spec-reporter": "2.5.0",
"karma": "1.2.0",
"karma-chrome-launcher": "^2.0.0",

@@ -44,17 +50,11 @@ "karma-cli": "^1.0.1",

"karma-remap-istanbul": "^0.2.1",
"prismjs": "^1.5.1",
"process-nextick-args": "^1.0.7",
"protractor": "4.0.10",
"protractor": "4.0.9",
"rxjs": "5.0.0-beta.12",
"ts-helpers": "^1.1.1",
"ts-node": "1.6.1",
"tslint": "3.15.1",
"typescript": "2.0.6",
"ts-node": "1.2.1",
"tslint": "3.13.0",
"typescript": "~2.0.3",
"webdriver-manager": "10.2.5",
"zone.js": "^0.6.23"
},
"config": {
"commitizen": {
"path": "./node_modules/cz-conventional-changelog"
}
}
}

@@ -45,3 +45,3 @@ # angular2-generic-table

import { Component } from '@angular/core';
import { GtConfig } from 'angular2-generic-table/lib';
import { GtConfig } from 'angular2-generic-table';

@@ -180,9 +180,9 @@ @Component({

- **classNames**: string // custom class names appended to the column (OPTIONAL)
- **render**: function // function(row,column){ return '<span>'+row[column]+'</span>';} // custom function for column presentation (OPTIONAL),
- **value**: function // function(row,column){ return row[column]/2;} // custom function for column value if no data exists for column in data array (OPTIONAL),
- **render**: function // function(row){ return '<span>'+row.objectKey+'</span>';} // custom function for column presentation (OPTIONAL),
- **value**: function // function(row){ return row.objectKey/2;} // custom function for column value if no data exists for column in data array (OPTIONAL),
- **click**: function // function(){ return console.log('column clicked);} // click function for column (OPTIONAL),
- **expand**: boolean // expand (open/close) row when clicked (OPTIONAL),
- ~~**export**: function // function(row,column){ return parseFloat(row[column]);} // custom function for export presentation (OPTIONAL),~~ (not implemented)
- **sort**: function // function(row,column){ return parseFloat(row[column]);} // custom function for sorting (OPTIONAL),
- ~~**search**: boolean // should field be searchable, true or false, true by default (OPTIONAL)~~ (not implemented)
- ~~**export**: function // function(row){ return parseFloat(row.objectKey);} // custom function for export presentation (OPTIONAL),~~ (not implemented)
- **sort**: function // function(row){ return parseFloat(row.objectKey);} // custom function for sorting (OPTIONAL),
- **search**: function // function(row){ return row.objectKey;} // custom function for searching (OPTIONAL)

@@ -189,0 +189,0 @@ Basic example:

Sorry, the diff of this file is not supported yet