Skip to content

Commit

Permalink
Remove the usage of custom decorators and generate the options for al…
Browse files Browse the repository at this point in the history
…l components
  • Loading branch information
dkamburov committed Apr 27, 2017
1 parent 9f6af30 commit 243fc39
Show file tree
Hide file tree
Showing 6 changed files with 435 additions and 279 deletions.
16 changes: 8 additions & 8 deletions README.md
Original file line number Diff line number Diff line change
@@ -1,19 +1,19 @@
#Ignite UI components for Angular 2
# Ignite UI components for Angular

[![NPM version](https://img.shields.io/npm/v/igniteui-angular2.svg?style=flat)](https://www.npmjs.com/package/igniteui-angular2)
[![Build Status](https://travis-ci.org/IgniteUI/igniteui-angular2.svg?branch=master)](https://travis-ci.org/IgniteUI/igniteui-angular2)
[![Coverage Status](https://coveralls.io/repos/github/IgniteUI/igniteui-angular2/badge.svg?branch=master)](https://coveralls.io/github/IgniteUI/igniteui-angular2?branch=master)

Use the components found in `src\igniteui.angular2.ts` to use [Ignite UI](http://igniteui.com) controls in [Angular 2](https://angular.io/) applications. [Work with the running samples here](http://igniteui.github.io/igniteui-angular2).
Use the components found in `src\igniteui.angular2.ts` to use [Ignite UI](http://igniteui.com) controls in [Angular](https://angular.io/) applications. [Work with the running samples here](http://igniteui.github.io/igniteui-angular2).

#Requirements
# Requirements

- [jQuery](http://www.jquery.com) v1.9.1 and later
- [jQuery UI](http://www.jqueryui.com) v1.9.0 and later
- [AngularJS 2](https://angular.io/) v2.0 beta and later
- [Angular](https://angular.io/) v2.0 beta and later
- [Ignite UI](http://www.igniteui.com) 15.2 and later

#Running the samples
# Running the samples
To run the samples, you need [Node.js](http://nodejs.org/) installed on your machine.
Afterwards, from your terminal run the following commands:

Expand All @@ -22,10 +22,10 @@ Afterwards, from your terminal run the following commands:
3. `npm install`
4. `npm start`

#Getting Started
# Getting Started

## Initializing controls
In an Angular 2 application, Ignite UI controls support markup initialization which is done by using custom tags.
In an Angular application, Ignite UI controls support markup initialization which is done by using custom tags.

### Custom tags
Each control implements a custom tag component where the tag name is formed by splitting each capital letter in the control name with the `-` symbol.
Expand Down Expand Up @@ -303,7 +303,7 @@ Since we need the code coverage of the `igniteui.angular2.js` file itself, we us

---------------------------------------

##What is Ignite UI?
## What is Ignite UI?
[![Ignite UI Logo](http://infragistics-blogs.github.io/github-assets/logos/igniteui.png)](http://www.igniteui.com)

[Ignite UI](http://igniteui.com/) is an advanced HTML5+ toolset that helps you create stunning, modern Web apps. Building on jQuery and jQuery UI, it primarily consists of feature rich, high-performing UI controls/widgets such as all kinds of charts, data visualization maps, (hierarchical, editable) data grids, pivot grids, enhanced editors (combo box, masked editors, HTML editor, date picker, to name a few), flexible data source connectors, and a whole lot more. Too many to list here - check out [the site](http://igniteui.com/) for more info and to [download](https://igniteui.com/download) a trial.
Expand Down
7 changes: 2 additions & 5 deletions dist/npm/package.json
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
{
"name": "igniteui-angular2",
"version": "1.0.9",
"description" : "A packaged version of Ignite UI components for Angular2",
"description" : "A packaged version of Ignite UI components for Angular",
"license": "MIT",
"typings": "igniteui.angular2.d.ts",
"repository": {
Expand All @@ -16,16 +16,13 @@
"ignite ui",
"igniteui",
"angular2",
"angular",
"infragistics",
"jquery widgets",
"jquery controls",
"data visualization",
"data grids"
],
"peerDependencies": {
"@angular/common": "2.0.0",
"@angular/core": "2.0.0"
},
"dependencies": {
"@types/reflect-metadata": "^0.0.5"
}
Expand Down
26 changes: 14 additions & 12 deletions package.json
Original file line number Diff line number Diff line change
Expand Up @@ -7,15 +7,15 @@
"url": "https://github.com/IgniteUI/igniteui-angular2.git"
},
"dependencies": {
"@angular/common": "~4.0.0",
"@angular/compiler": "~4.0.0",
"@angular/core": "~4.0.0",
"@angular/http": "~4.0.0",
"@angular/forms": "~4.0.0",
"@angular/platform-browser": "~4.0.0",
"@angular/platform-browser-dynamic": "~4.0.0",
"@angular/router": "~4.0.0",
"@angular/upgrade": "~4.0.0",
"@angular/common": "~4.0.0",
"@angular/compiler": "~4.0.0",
"@angular/core": "~4.0.0",
"@angular/http": "~4.0.0",
"@angular/forms": "~4.0.0",
"@angular/platform-browser": "~4.0.0",
"@angular/platform-browser-dynamic": "~4.0.0",
"@angular/router": "~4.0.0",
"@angular/upgrade": "~4.0.0",
"angular-in-memory-web-api": "~0.3.0",

"core-js": "^2.4.1",
Expand All @@ -28,6 +28,7 @@
"bootstrap": "^3.3.6"
},
"devDependencies": {
"@angular/compiler-cli": "~4.0.0",
"concurrently": "^3.2.0",
"gulp-watch": "^4.3.5",
"jasmine-core": "^2.4.1",
Expand All @@ -53,10 +54,11 @@

"watch": "node node_modules/typescript/bin/tsc -w",
"build": "node node_modules/typescript/bin/tsc",
"bundle": "node node_modules/typescript/bin/tsc -d && npm run prepare-dist",
"prepare-dist": "cp src/igniteui.angular2.js dist/npm/index.js && cp src/igniteui.angular2.d.ts dist/npm/index.d.ts && cp src/igniteui.angular2.ts dist/npm/igniteui.angular2.ts && cp src/igniteui.ts dist/npm/ && cp src/igniteui.js dist/npm/ && cp src/igniteui.js.map dist/npm/ && cp src/jquery.d.ts dist/npm/",
"build-aot": "ngc -p tsconfig-aot.json",
"bundle": "npm run build-aot && npm run prepare-dist",
"prepare-dist": "cp src/igniteui.angular2.js dist/npm/index.js && cp src/igniteui.angular2.d.ts dist/npm/index.d.ts && cp src/igniteui.angular2.metadata.json dist/npm/index.metadata.json && cp src/igniteui.angular2.ts dist/npm/igniteui.angular2.ts && cp src/igniteui.ts dist/npm/ && cp src/igniteui.js dist/npm/ && cp src/igniteui.js.map dist/npm/ && cp src/jquery.d.ts dist/npm/",

"pretest": "npm run build",
"pretest": "npm run build-aot",
"test": "karma start tests/karma.conf.js && npm run remap-istanbul",

"remap-istanbul": "npm run copy-coverage-report && npm run remap-istanbul-html && npm run remap-istanbul-lcov",
Expand Down
Loading

0 comments on commit 243fc39

Please sign in to comment.