@amcharts/amcharts3-angular
Advanced tools
Comparing version 2.2.1 to 2.2.2
{ | ||
"extends": "../tsconfig.json", | ||
"compilerOptions": { | ||
"outDir": "../out-tsc/e2e", | ||
"baseUrl": "./", | ||
"outDir": "../out-tsc/app", | ||
"module": "commonjs", | ||
@@ -14,2 +13,2 @@ "target": "es5", | ||
} | ||
} | ||
} |
{ | ||
"name": "angular-cli", | ||
"version": "0.0.0", | ||
"license": "MIT", | ||
"scripts": { | ||
@@ -15,37 +14,37 @@ "ng": "ng", | ||
"dependencies": { | ||
"@amcharts/amcharts3-angular": "^2.0.1", | ||
"@angular/animations": "^5.0.0", | ||
"@angular/common": "^5.0.0", | ||
"@angular/compiler": "^5.0.0", | ||
"@angular/core": "^5.0.0", | ||
"@angular/forms": "^5.0.0", | ||
"@angular/http": "^5.0.0", | ||
"@angular/platform-browser": "^5.0.0", | ||
"@angular/platform-browser-dynamic": "^5.0.0", | ||
"@angular/router": "^5.0.0", | ||
"core-js": "^2.4.1", | ||
"rxjs": "^5.5.2", | ||
"zone.js": "^0.8.14" | ||
"@amcharts/amcharts3-angular": "^2.2.1", | ||
"@angular/animations": "^6.1.0", | ||
"@angular/common": "^6.1.0", | ||
"@angular/compiler": "^6.1.0", | ||
"@angular/core": "^6.1.0", | ||
"@angular/forms": "^6.1.0", | ||
"@angular/http": "^6.1.0", | ||
"@angular/platform-browser": "^6.1.0", | ||
"@angular/platform-browser-dynamic": "^6.1.0", | ||
"@angular/router": "^6.1.0", | ||
"core-js": "^2.5.4", | ||
"rxjs": "~6.2.0", | ||
"zone.js": "~0.8.26" | ||
}, | ||
"devDependencies": { | ||
"@angular/cli": "1.5.3", | ||
"@angular/compiler-cli": "^5.0.0", | ||
"@angular/language-service": "^5.0.0", | ||
"@types/jasmine": "~2.5.53", | ||
"@types/jasminewd2": "~2.0.2", | ||
"@types/node": "~6.0.60", | ||
"codelyzer": "~3.2.0", | ||
"jasmine-core": "~2.6.2", | ||
"jasmine-spec-reporter": "~4.1.0", | ||
"karma": "~1.7.0", | ||
"karma-chrome-launcher": "~2.1.1", | ||
"karma-cli": "~1.0.1", | ||
"karma-coverage-istanbul-reporter": "^1.2.1", | ||
"karma-jasmine": "~1.1.0", | ||
"@angular-devkit/build-angular": "~0.8.0", | ||
"@angular/cli": "~6.2.5", | ||
"@angular/compiler-cli": "^6.1.0", | ||
"@angular/language-service": "^6.1.0", | ||
"@types/jasmine": "~2.8.8", | ||
"@types/jasminewd2": "~2.0.3", | ||
"@types/node": "~8.9.4", | ||
"codelyzer": "~4.3.0", | ||
"jasmine-core": "~2.99.1", | ||
"jasmine-spec-reporter": "~4.2.1", | ||
"karma": "~3.0.0", | ||
"karma-chrome-launcher": "~2.2.0", | ||
"karma-coverage-istanbul-reporter": "~2.0.1", | ||
"karma-jasmine": "~1.1.2", | ||
"karma-jasmine-html-reporter": "^0.2.2", | ||
"protractor": "~5.1.2", | ||
"ts-node": "~3.2.0", | ||
"tslint": "~5.7.0", | ||
"typescript": "~2.4.2" | ||
"protractor": "~5.4.0", | ||
"ts-node": "~7.0.0", | ||
"tslint": "~5.11.0", | ||
"typescript": "~2.9.2" | ||
} | ||
} |
# AngularCli | ||
This project was generated with [Angular CLI](https://github.com/angular/angular-cli) version 1.5.3. | ||
This project was generated with [Angular CLI](https://github.com/angular/angular-cli) version 6.2.5. | ||
@@ -15,3 +15,3 @@ ## Development server | ||
Run `ng build` to build the project. The build artifacts will be stored in the `dist/` directory. Use the `-prod` flag for a production build. | ||
Run `ng build` to build the project. The build artifacts will be stored in the `dist/` directory. Use the `--prod` flag for a production build. | ||
@@ -18,0 +18,0 @@ ## Running unit tests |
import { TestBed, async } from '@angular/core/testing'; | ||
import { AppComponent } from './app.component'; | ||
describe('AppComponent', () => { | ||
@@ -11,7 +12,21 @@ beforeEach(async(() => { | ||
})); | ||
it('should create the app', async(() => { | ||
it('should create the app', () => { | ||
const fixture = TestBed.createComponent(AppComponent); | ||
const app = fixture.debugElement.componentInstance; | ||
expect(app).toBeTruthy(); | ||
})); | ||
}); | ||
it(`should have as title 'angular-cli'`, () => { | ||
const fixture = TestBed.createComponent(AppComponent); | ||
const app = fixture.debugElement.componentInstance; | ||
expect(app.title).toEqual('angular-cli'); | ||
}); | ||
it('should render title in a h1 tag', () => { | ||
const fixture = TestBed.createComponent(AppComponent); | ||
fixture.detectChanges(); | ||
const compiled = fixture.debugElement.nativeElement; | ||
expect(compiled.querySelector('h1').textContent).toContain('Welcome to angular-cli!'); | ||
}); | ||
}); |
@@ -0,0 +0,0 @@ import { Component, OnInit, OnDestroy } from '@angular/core'; |
import { BrowserModule } from '@angular/platform-browser'; | ||
import { NgModule } from '@angular/core'; | ||
import { AmChartsModule } from '@amcharts/amcharts3-angular'; | ||
import { AmChartsModule } from "@amcharts/amcharts3-angular"; | ||
@@ -12,4 +12,4 @@ import { AppComponent } from './app.component'; | ||
imports: [ | ||
BrowserModule, | ||
AmChartsModule | ||
AmChartsModule, | ||
BrowserModule | ||
], | ||
@@ -16,0 +16,0 @@ providers: [], |
export const environment = { | ||
production: true | ||
}; |
@@ -1,5 +0,4 @@ | ||
// The file contents for the current environment will overwrite these during build. | ||
// The build system defaults to the dev environment which uses `environment.ts`, but if you do | ||
// `ng build --env=prod` then `environment.prod.ts` will be used instead. | ||
// The list of which env maps to which file can be found in `.angular-cli.json`. | ||
// This file can be replaced during build by using the `fileReplacements` array. | ||
// `ng build --prod` replaces `environment.ts` with `environment.prod.ts`. | ||
// The list of file replacements can be found in `angular.json`. | ||
@@ -9,1 +8,10 @@ export const environment = { | ||
}; | ||
/* | ||
* For easier debugging in development mode, you can import the following file | ||
* to ignore zone related error stack frames such as `zone.run`, `zoneDelegate.invokeTask`. | ||
* | ||
* This import should be commented out in production mode because it will have a negative impact | ||
* on performance if an error is thrown. | ||
*/ | ||
// import 'zone.js/dist/zone-error'; // Included with Angular CLI. |
@@ -12,2 +12,3 @@ import { enableProdMode } from '@angular/core'; | ||
platformBrowserDynamic().bootstrapModule(AppModule) | ||
.catch(err => console.log(err)); | ||
.catch(err => console.error(err)); | ||
@@ -50,11 +50,25 @@ /** | ||
/** | ||
* Required to support Web Animations `@angular/platform-browser/animations`. | ||
* Needed for: All but Chrome, Firefox and Opera. http://caniuse.com/#feat=web-animation | ||
* Web Animations `@angular/platform-browser/animations` | ||
* Only required if AnimationBuilder is used within the application and using IE/Edge or Safari. | ||
* Standard animation support in Angular DOES NOT require any polyfills (as of Angular 6.0). | ||
**/ | ||
// import 'web-animations-js'; // Run `npm install --save web-animations-js`. | ||
/** | ||
* By default, zone.js will patch all possible macroTask and DomEvents | ||
* user can disable parts of macroTask/DomEvents patch by setting following flags | ||
*/ | ||
// (window as any).__Zone_disable_requestAnimationFrame = true; // disable patch requestAnimationFrame | ||
// (window as any).__Zone_disable_on_property = true; // disable patch onProperty such as onclick | ||
// (window as any).__zone_symbol__BLACK_LISTED_EVENTS = ['scroll', 'mousemove']; // disable patch specified eventNames | ||
/* | ||
* in IE/Edge developer tools, the addEventListener will also be wrapped by zone.js | ||
* with the following flag, it will bypass `zone.js` patch for IE/Edge | ||
*/ | ||
// (window as any).__Zone_enable_cross_context_check = true; | ||
/*************************************************************************************************** | ||
* Zone JS is required by Angular itself. | ||
* Zone JS is required by default for Angular itself. | ||
*/ | ||
@@ -68,11 +82,1 @@ import 'zone.js/dist/zone'; // Included with Angular CLI. | ||
*/ | ||
/** | ||
* Date, currency, decimal and percent pipes. | ||
* Needed for: All but Chrome, Firefox, Edge, IE11 and Safari 10 | ||
*/ | ||
// import 'intl'; // Run `npm install --save intl`. | ||
/** | ||
* Need to import at least one locale-data with intl. | ||
*/ | ||
// import 'intl/locale-data/jsonp/en'; |
// This file is required by karma.conf.js and loads recursively all the .spec and framework files | ||
import 'zone.js/dist/long-stack-trace-zone'; | ||
import 'zone.js/dist/proxy.js'; | ||
import 'zone.js/dist/sync-test'; | ||
import 'zone.js/dist/jasmine-patch'; | ||
import 'zone.js/dist/async-test'; | ||
import 'zone.js/dist/fake-async-test'; | ||
import 'zone.js/dist/zone-testing'; | ||
import { getTestBed } from '@angular/core/testing'; | ||
@@ -15,9 +10,4 @@ import { | ||
// Unfortunately there's no typing for the `__karma__` variable. Just declare it as any. | ||
declare const __karma__: any; | ||
declare const require: any; | ||
// Prevent Karma from running prematurely. | ||
__karma__.loaded = function () {}; | ||
// First, initialize the Angular testing environment. | ||
@@ -32,3 +22,1 @@ getTestBed().initTestEnvironment( | ||
context.keys().map(context); | ||
// Finally, start Karma to run the tests. | ||
__karma__.start(); |
@@ -5,4 +5,2 @@ { | ||
"outDir": "../out-tsc/app", | ||
"baseUrl": "./", | ||
"module": "es2015", | ||
"types": [] | ||
@@ -9,0 +7,0 @@ }, |
@@ -5,5 +5,2 @@ { | ||
"outDir": "../out-tsc/spec", | ||
"baseUrl": "./", | ||
"module": "commonjs", | ||
"target": "es5", | ||
"types": [ | ||
@@ -15,3 +12,4 @@ "jasmine", | ||
"files": [ | ||
"test.ts" | ||
"test.ts", | ||
"polyfills.ts" | ||
], | ||
@@ -18,0 +16,0 @@ "include": [ |
{ | ||
"compileOnSave": false, | ||
"compilerOptions": { | ||
"baseUrl": "./", | ||
"outDir": "./dist/out-tsc", | ||
"sourceMap": true, | ||
"declaration": false, | ||
"module": "es2015", | ||
"moduleResolution": "node", | ||
@@ -8,0 +10,0 @@ "emitDecoratorMetadata": true, |
@@ -14,2 +14,5 @@ { | ||
"curly": true, | ||
"deprecation": { | ||
"severity": "warn" | ||
}, | ||
"eofline": true, | ||
@@ -19,3 +22,2 @@ "forin": true, | ||
true, | ||
"rxjs", | ||
"rxjs/Rx" | ||
@@ -68,2 +70,3 @@ ], | ||
"no-non-null-assertion": true, | ||
"no-redundant-jsdoc": true, | ||
"no-shadowed-variable": true, | ||
@@ -110,3 +113,2 @@ "no-string-literal": false, | ||
], | ||
"typeof-compare": true, | ||
"unified-signatures": true, | ||
@@ -122,14 +124,3 @@ "variable-name": false, | ||
], | ||
"directive-selector": [ | ||
true, | ||
"attribute", | ||
"app", | ||
"camelCase" | ||
], | ||
"component-selector": [ | ||
true, | ||
"element", | ||
"app", | ||
"kebab-case" | ||
], | ||
"no-output-on-prefix": true, | ||
"use-input-property-decorator": true, | ||
@@ -143,5 +134,4 @@ "use-output-property-decorator": true, | ||
"component-class-suffix": true, | ||
"directive-class-suffix": true, | ||
"invoke-injectable": true | ||
"directive-class-suffix": true | ||
} | ||
} |
{ | ||
"name": "@amcharts/amcharts3-angular", | ||
"version": "2.2.1", | ||
"version": "2.2.2", | ||
"description": "Official Angular 2 plugin for amCharts V3", | ||
@@ -5,0 +5,0 @@ "main": "umd/index.js", |
@@ -6,3 +6,3 @@ Official Angular plugin for amCharts V3 | ||
* If you are using Angular 5: | ||
* If you are using Angular 5 or higher: | ||
@@ -30,7 +30,8 @@ ``` | ||
If you are using other chart types, you should change `serial.js` to the chart type that you are using: | ||
If you are using stock charts, you should use these `<script>` tags instead: | ||
```html | ||
<script src="https://www.amcharts.com/lib/3/amcharts.js"></script> | ||
<script src="https://www.amcharts.com/lib/3/pie.js"></script> | ||
<script src="https://www.amcharts.com/lib/3/serial.js"></script> | ||
<script src="https://www.amcharts.com/lib/3/amstock.js"></script> | ||
<script src="https://www.amcharts.com/lib/3/themes/light.js"></script> | ||
@@ -47,2 +48,10 @@ ``` | ||
If you are using other chart types, you should change `serial.js` to the chart type that you are using: | ||
```html | ||
<script src="https://www.amcharts.com/lib/3/amcharts.js"></script> | ||
<script src="https://www.amcharts.com/lib/3/pie.js"></script> | ||
<script src="https://www.amcharts.com/lib/3/themes/light.js"></script> | ||
``` | ||
---- | ||
@@ -49,0 +58,0 @@ |
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 not supported yet
Sorry, the diff of this file is not supported yet
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
Mixed license
License(Experimental) Package contains multiple licenses.
Found 1 instance in 1 package
394148
51
0
2550
200