Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
42 changes: 21 additions & 21 deletions dist/dist/index.js
Original file line number Diff line number Diff line change
Expand Up @@ -38,16 +38,16 @@ var FusionChartsService = /** @class */ (function () {
return !!FusionChartsService._fcRoot;
};
FusionChartsService.prototype.resolveFusionCharts = function (core, modules) {
if (core && core.id &&
core.id === 'FusionCharts') {
if (core && core.id && core.id === 'FusionCharts') {
this._fusionchartsStatice = core;
}
else {
this._fusionchartsStatice = core();
}
if (modules) {
modules.forEach(function (FusionChartsModules) {
if (FusionChartsModules.getName || FusionChartsModules.name) {
if ((FusionChartsModules.getName && FusionChartsModules.getType) ||
(FusionChartsModules.name && FusionChartsModules.type)) {
core.addDep(FusionChartsModules);
}
else {
Expand Down Expand Up @@ -472,22 +472,22 @@ var FusionChartsComponent = /** @class */ (function () {
}
};
/*
// Removed as some events will be fired
attachChartEventListener(chartObj: any, eventName: string){
chartObj.addEventListener(eventName, (eventObj:any, dataObj:any) => {
let fEventObj:FusionChartsEvent = { eventObj:{}, dataObj:{} };
if(eventObj) fEventObj.eventObj = eventObj;
if(dataObj) fEventObj.dataObj = dataObj;
this[eventName].emit(fEventObj);
});
}

attachAllChartEvents(chartObj:any, eventList:Array<string>){
eventList.forEach(eventName => {
this.attachChartEventListener(chartObj, eventName);
});
}
*/
// Removed as some events will be fired
attachChartEventListener(chartObj: any, eventName: string){
chartObj.addEventListener(eventName, (eventObj:any, dataObj:any) => {
let fEventObj:FusionChartsEvent = { eventObj:{}, dataObj:{} };
if(eventObj) fEventObj.eventObj = eventObj;
if(dataObj) fEventObj.dataObj = dataObj;
this[eventName].emit(fEventObj);
});
}
attachAllChartEvents(chartObj:any, eventList:Array<string>){
eventList.forEach(eventName => {
this.attachChartEventListener(chartObj, eventName);
});
}
*/
FusionChartsComponent.prototype.generateEventsCallback = function (eventList$$1) {
var _this_1 = this;
var events = {};
Expand Down Expand Up @@ -542,8 +542,8 @@ var FusionChartsComponent = /** @class */ (function () {
FusionChartsComponent.decorators = [
{ type: _angular_core.Component, args: [{
selector: 'fusioncharts',
template: "<div attr.id=\"container-{{containerId}}\" style='width:100%;height:100%'>{{placeholder}}</div>\n ",
providers: [FusionChartsService],
template: "\n <div attr.id=\"container-{{containerId}}\" style=\"width:100%;height:100%\">\n {{ placeholder }}\n </div>\n ",
providers: [FusionChartsService]
},] },
];
/** @nocollapse */
Expand Down
2 changes: 1 addition & 1 deletion dist/dist/index.min.js

Large diffs are not rendered by default.

36 changes: 18 additions & 18 deletions dist/src/fusioncharts.component.js

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

2 changes: 1 addition & 1 deletion dist/src/fusioncharts.component.js.map

Large diffs are not rendered by default.

2 changes: 1 addition & 1 deletion dist/src/fusioncharts.component.metadata.json

Large diffs are not rendered by default.

6 changes: 3 additions & 3 deletions dist/src/fusioncharts.service.js

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

2 changes: 1 addition & 1 deletion dist/src/fusioncharts.service.js.map

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

18 changes: 11 additions & 7 deletions package-lock.json

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

2 changes: 1 addition & 1 deletion package.json
Original file line number Diff line number Diff line change
Expand Up @@ -62,7 +62,6 @@
"bootstrap": "^3.3.7",
"core-js": "^2.4.1",
"prismjs": "^1.6.0",
"fusioncharts": "^3.13.1-sr.1",
"rxjs": "^5.4.1",
"zone.js": "^0.8.14"
},
Expand All @@ -76,6 +75,7 @@
"@types/node": "~6.0.60",
"codelyzer": "~3.0.1",
"codemirror": "^5.39.2",
"fusioncharts": "^3.13.2-sr.1",
"jasmine-core": "~2.6.2",
"jasmine-spec-reporter": "~4.1.0",
"karma": "^3.0.0",
Expand Down
Loading