1+ "use strict" ;
12var __decorate = ( this && this . __decorate ) || function ( decorators , target , key , desc ) {
23 var c = arguments . length , r = c < 3 ? target : desc === null ? desc = Object . getOwnPropertyDescriptor ( target , key ) : desc , d ;
34 if ( typeof Reflect === "object" && typeof Reflect . decorate === "function" ) r = Reflect . decorate ( decorators , target , key , desc ) ;
@@ -7,9 +8,10 @@ var __decorate = (this && this.__decorate) || function (decorators, target, key,
78var __metadata = ( this && this . __metadata ) || function ( k , v ) {
89 if ( typeof Reflect === "object" && typeof Reflect . metadata === "function" ) return Reflect . metadata ( k , v ) ;
910} ;
10- import { Component , Input , ElementRef , KeyValueDiffers } from '@angular/core' ;
11- import { FusionChartsService } from './fusioncharts.service' ;
12- import { FusionChartsConstructor } from './fusioncharts.constructor' ;
11+ Object . defineProperty ( exports , "__esModule" , { value : true } ) ;
12+ var core_1 = require ( "@angular/core" ) ;
13+ var fusioncharts_service_1 = require ( "./fusioncharts.service" ) ;
14+ var fusioncharts_constructor_1 = require ( "./fusioncharts.constructor" ) ;
1315var FusionChartsComponent = ( function ( ) {
1416 function FusionChartsComponent ( element , fusionchartsService , differs ) {
1517 this . differs = differs ;
@@ -138,7 +140,7 @@ var FusionChartsComponent = (function () {
138140 }
139141 }
140142 if ( configObj [ 'type' ] ) {
141- _this . chartObj = FusionChartsConstructor ( _this . fusionchartsService , configObj ) ;
143+ _this . chartObj = fusioncharts_constructor_1 . FusionChartsConstructor ( _this . fusionchartsService , configObj ) ;
142144 configObj [ 'renderAt' ] = 'container-' + _this . chartObj . id ;
143145 _this . containerId = _this . chartObj . id ;
144146 setTimeout ( function ( ) {
@@ -152,239 +154,239 @@ var FusionChartsComponent = (function () {
152154 return FusionChartsComponent ;
153155} ( ) ) ;
154156__decorate ( [
155- Input ( ) ,
157+ core_1 . Input ( ) ,
156158 __metadata ( "design:type" , Object )
157159] , FusionChartsComponent . prototype , "dataSource" , void 0 ) ;
158160__decorate ( [
159- Input ( ) ,
161+ core_1 . Input ( ) ,
160162 __metadata ( "design:type" , String )
161163] , FusionChartsComponent . prototype , "type" , void 0 ) ;
162164__decorate ( [
163- Input ( ) ,
165+ core_1 . Input ( ) ,
164166 __metadata ( "design:type" , String )
165167] , FusionChartsComponent . prototype , "id" , void 0 ) ;
166168__decorate ( [
167- Input ( ) ,
169+ core_1 . Input ( ) ,
168170 __metadata ( "design:type" , String )
169171] , FusionChartsComponent . prototype , "width" , void 0 ) ;
170172__decorate ( [
171- Input ( ) ,
173+ core_1 . Input ( ) ,
172174 __metadata ( "design:type" , String )
173175] , FusionChartsComponent . prototype , "height" , void 0 ) ;
174176__decorate ( [
175- Input ( ) ,
177+ core_1 . Input ( ) ,
176178 __metadata ( "design:type" , String )
177179] , FusionChartsComponent . prototype , "renderAt" , void 0 ) ;
178180__decorate ( [
179- Input ( ) ,
181+ core_1 . Input ( ) ,
180182 __metadata ( "design:type" , String )
181183] , FusionChartsComponent . prototype , "dataFormat" , void 0 ) ;
182184__decorate ( [
183- Input ( ) ,
185+ core_1 . Input ( ) ,
184186 __metadata ( "design:type" , String )
185187] , FusionChartsComponent . prototype , "events" , void 0 ) ;
186188__decorate ( [
187- Input ( ) ,
189+ core_1 . Input ( ) ,
188190 __metadata ( "design:type" , String )
189191] , FusionChartsComponent . prototype , "link" , void 0 ) ;
190192__decorate ( [
191- Input ( ) ,
193+ core_1 . Input ( ) ,
192194 __metadata ( "design:type" , Boolean )
193195] , FusionChartsComponent . prototype , "showDataLoadingMessage" , void 0 ) ;
194196__decorate ( [
195- Input ( ) ,
197+ core_1 . Input ( ) ,
196198 __metadata ( "design:type" , Boolean )
197199] , FusionChartsComponent . prototype , "showChartLoadingMessage" , void 0 ) ;
198200__decorate ( [
199- Input ( ) ,
201+ core_1 . Input ( ) ,
200202 __metadata ( "design:type" , String )
201203] , FusionChartsComponent . prototype , "baseChartMessageFont" , void 0 ) ;
202204__decorate ( [
203- Input ( ) ,
205+ core_1 . Input ( ) ,
204206 __metadata ( "design:type" , String )
205207] , FusionChartsComponent . prototype , "baseChartMessageFontSize" , void 0 ) ;
206208__decorate ( [
207- Input ( ) ,
209+ core_1 . Input ( ) ,
208210 __metadata ( "design:type" , String )
209211] , FusionChartsComponent . prototype , "baseChartMessageColor" , void 0 ) ;
210212__decorate ( [
211- Input ( ) ,
213+ core_1 . Input ( ) ,
212214 __metadata ( "design:type" , String )
213215] , FusionChartsComponent . prototype , "dataLoadStartMessage" , void 0 ) ;
214216__decorate ( [
215- Input ( ) ,
217+ core_1 . Input ( ) ,
216218 __metadata ( "design:type" , String )
217219] , FusionChartsComponent . prototype , "dataLoadErrorMessage" , void 0 ) ;
218220__decorate ( [
219- Input ( ) ,
221+ core_1 . Input ( ) ,
220222 __metadata ( "design:type" , String )
221223] , FusionChartsComponent . prototype , "dataInvalidMessage" , void 0 ) ;
222224__decorate ( [
223- Input ( ) ,
225+ core_1 . Input ( ) ,
224226 __metadata ( "design:type" , String )
225227] , FusionChartsComponent . prototype , "dataEmptyMessage" , void 0 ) ;
226228__decorate ( [
227- Input ( ) ,
229+ core_1 . Input ( ) ,
228230 __metadata ( "design:type" , String )
229231] , FusionChartsComponent . prototype , "typeNotSupportedMessage" , void 0 ) ;
230232__decorate ( [
231- Input ( ) ,
233+ core_1 . Input ( ) ,
232234 __metadata ( "design:type" , String )
233235] , FusionChartsComponent . prototype , "loadMessage" , void 0 ) ;
234236__decorate ( [
235- Input ( ) ,
237+ core_1 . Input ( ) ,
236238 __metadata ( "design:type" , String )
237239] , FusionChartsComponent . prototype , "renderErrorMessage" , void 0 ) ;
238240__decorate ( [
239- Input ( ) ,
241+ core_1 . Input ( ) ,
240242 __metadata ( "design:type" , String )
241243] , FusionChartsComponent . prototype , "containerBackgroundColor" , void 0 ) ;
242244__decorate ( [
243- Input ( ) ,
245+ core_1 . Input ( ) ,
244246 __metadata ( "design:type" , String )
245247] , FusionChartsComponent . prototype , "containerBackgroundOpacity" , void 0 ) ;
246248__decorate ( [
247- Input ( ) ,
249+ core_1 . Input ( ) ,
248250 __metadata ( "design:type" , String )
249251] , FusionChartsComponent . prototype , "containerClassName" , void 0 ) ;
250252__decorate ( [
251- Input ( ) ,
253+ core_1 . Input ( ) ,
252254 __metadata ( "design:type" , String )
253255] , FusionChartsComponent . prototype , "baseChartMessageImageHAlign" , void 0 ) ;
254256__decorate ( [
255- Input ( ) ,
257+ core_1 . Input ( ) ,
256258 __metadata ( "design:type" , String )
257259] , FusionChartsComponent . prototype , "baseChartMessageImageVAlign" , void 0 ) ;
258260__decorate ( [
259- Input ( ) ,
261+ core_1 . Input ( ) ,
260262 __metadata ( "design:type" , Number )
261263] , FusionChartsComponent . prototype , "baseChartMessageImageAlpha" , void 0 ) ;
262264__decorate ( [
263- Input ( ) ,
265+ core_1 . Input ( ) ,
264266 __metadata ( "design:type" , Number )
265267] , FusionChartsComponent . prototype , "baseChartMessageImageScale" , void 0 ) ;
266268__decorate ( [
267- Input ( ) ,
269+ core_1 . Input ( ) ,
268270 __metadata ( "design:type" , String )
269271] , FusionChartsComponent . prototype , "typeNotSupportedMessageImageHAlign" , void 0 ) ;
270272__decorate ( [
271- Input ( ) ,
273+ core_1 . Input ( ) ,
272274 __metadata ( "design:type" , String )
273275] , FusionChartsComponent . prototype , "typeNotSupportedMessageImageVAlign" , void 0 ) ;
274276__decorate ( [
275- Input ( ) ,
277+ core_1 . Input ( ) ,
276278 __metadata ( "design:type" , Number )
277279] , FusionChartsComponent . prototype , "typeNotSupportedMessageImageAlpha" , void 0 ) ;
278280__decorate ( [
279- Input ( ) ,
281+ core_1 . Input ( ) ,
280282 __metadata ( "design:type" , Number )
281283] , FusionChartsComponent . prototype , "typeNotSupportedMessageImageScale" , void 0 ) ;
282284__decorate ( [
283- Input ( ) ,
285+ core_1 . Input ( ) ,
284286 __metadata ( "design:type" , String )
285287] , FusionChartsComponent . prototype , "dataLoadErrorMessageImageHAlign" , void 0 ) ;
286288__decorate ( [
287- Input ( ) ,
289+ core_1 . Input ( ) ,
288290 __metadata ( "design:type" , String )
289291] , FusionChartsComponent . prototype , "dataLoadErrorMessageImageVAlign" , void 0 ) ;
290292__decorate ( [
291- Input ( ) ,
293+ core_1 . Input ( ) ,
292294 __metadata ( "design:type" , Number )
293295] , FusionChartsComponent . prototype , "dataLoadErrorMessageImageAlpha" , void 0 ) ;
294296__decorate ( [
295- Input ( ) ,
297+ core_1 . Input ( ) ,
296298 __metadata ( "design:type" , Number )
297299] , FusionChartsComponent . prototype , "dataLoadErrorMessageImageScale" , void 0 ) ;
298300__decorate ( [
299- Input ( ) ,
301+ core_1 . Input ( ) ,
300302 __metadata ( "design:type" , String )
301303] , FusionChartsComponent . prototype , "dataLoadStartMessageImageHAlign" , void 0 ) ;
302304__decorate ( [
303- Input ( ) ,
305+ core_1 . Input ( ) ,
304306 __metadata ( "design:type" , String )
305307] , FusionChartsComponent . prototype , "dataLoadStartMessageImageVAlign" , void 0 ) ;
306308__decorate ( [
307- Input ( ) ,
309+ core_1 . Input ( ) ,
308310 __metadata ( "design:type" , Number )
309311] , FusionChartsComponent . prototype , "dataLoadStartMessageImageAlpha" , void 0 ) ;
310312__decorate ( [
311- Input ( ) ,
313+ core_1 . Input ( ) ,
312314 __metadata ( "design:type" , Number )
313315] , FusionChartsComponent . prototype , "dataLoadStartMessageImageScale" , void 0 ) ;
314316__decorate ( [
315- Input ( ) ,
317+ core_1 . Input ( ) ,
316318 __metadata ( "design:type" , String )
317319] , FusionChartsComponent . prototype , "dataInvalidMessageImageHAlign" , void 0 ) ;
318320__decorate ( [
319- Input ( ) ,
321+ core_1 . Input ( ) ,
320322 __metadata ( "design:type" , String )
321323] , FusionChartsComponent . prototype , "dataInvalidMessageImageVAlign" , void 0 ) ;
322324__decorate ( [
323- Input ( ) ,
325+ core_1 . Input ( ) ,
324326 __metadata ( "design:type" , Number )
325327] , FusionChartsComponent . prototype , "dataInvalidMessageImageAlpha" , void 0 ) ;
326328__decorate ( [
327- Input ( ) ,
329+ core_1 . Input ( ) ,
328330 __metadata ( "design:type" , Number )
329331] , FusionChartsComponent . prototype , "dataInvalidMessageImageScale" , void 0 ) ;
330332__decorate ( [
331- Input ( ) ,
333+ core_1 . Input ( ) ,
332334 __metadata ( "design:type" , String )
333335] , FusionChartsComponent . prototype , "dataEmptyMessageImageHAlign" , void 0 ) ;
334336__decorate ( [
335- Input ( ) ,
337+ core_1 . Input ( ) ,
336338 __metadata ( "design:type" , String )
337339] , FusionChartsComponent . prototype , "dataEmptyMessageImageVAlign" , void 0 ) ;
338340__decorate ( [
339- Input ( ) ,
341+ core_1 . Input ( ) ,
340342 __metadata ( "design:type" , Number )
341343] , FusionChartsComponent . prototype , "dataEmptyMessageImageAlpha" , void 0 ) ;
342344__decorate ( [
343- Input ( ) ,
345+ core_1 . Input ( ) ,
344346 __metadata ( "design:type" , Number )
345347] , FusionChartsComponent . prototype , "dataEmptyMessageImageScale" , void 0 ) ;
346348__decorate ( [
347- Input ( ) ,
349+ core_1 . Input ( ) ,
348350 __metadata ( "design:type" , String )
349351] , FusionChartsComponent . prototype , "renderErrorMessageImageHAlign" , void 0 ) ;
350352__decorate ( [
351- Input ( ) ,
353+ core_1 . Input ( ) ,
352354 __metadata ( "design:type" , String )
353355] , FusionChartsComponent . prototype , "renderErrorMessageImageVAlign" , void 0 ) ;
354356__decorate ( [
355- Input ( ) ,
357+ core_1 . Input ( ) ,
356358 __metadata ( "design:type" , Number )
357359] , FusionChartsComponent . prototype , "renderErrorMessageImageAlpha" , void 0 ) ;
358360__decorate ( [
359- Input ( ) ,
361+ core_1 . Input ( ) ,
360362 __metadata ( "design:type" , Number )
361363] , FusionChartsComponent . prototype , "renderErrorMessageImageScale" , void 0 ) ;
362364__decorate ( [
363- Input ( ) ,
365+ core_1 . Input ( ) ,
364366 __metadata ( "design:type" , String )
365367] , FusionChartsComponent . prototype , "loadMessageImageHAlign" , void 0 ) ;
366368__decorate ( [
367- Input ( ) ,
369+ core_1 . Input ( ) ,
368370 __metadata ( "design:type" , String )
369371] , FusionChartsComponent . prototype , "loadMessageImageVAlign" , void 0 ) ;
370372__decorate ( [
371- Input ( ) ,
373+ core_1 . Input ( ) ,
372374 __metadata ( "design:type" , Number )
373375] , FusionChartsComponent . prototype , "loadMessageImageAlpha" , void 0 ) ;
374376__decorate ( [
375- Input ( ) ,
377+ core_1 . Input ( ) ,
376378 __metadata ( "design:type" , Number )
377379] , FusionChartsComponent . prototype , "loadMessageImageScale" , void 0 ) ;
378380__decorate ( [
379- Input ( ) ,
381+ core_1 . Input ( ) ,
380382 __metadata ( "design:type" , String )
381383] , FusionChartsComponent . prototype , "chartConfig" , void 0 ) ;
382384FusionChartsComponent = __decorate ( [
383- Component ( {
385+ core_1 . Component ( {
384386 selector : 'fusioncharts' ,
385387 template : "<div attr.id=\"container-{{containerId}}\" >FusionCharts will render here</div>\n " ,
386- providers : [ FusionChartsService ] ,
388+ providers : [ fusioncharts_service_1 . FusionChartsService ] ,
387389 } ) ,
388- __metadata ( "design:paramtypes" , [ ElementRef , FusionChartsService , KeyValueDiffers ] )
390+ __metadata ( "design:paramtypes" , [ core_1 . ElementRef , fusioncharts_service_1 . FusionChartsService , core_1 . KeyValueDiffers ] )
389391] , FusionChartsComponent ) ;
390- export { FusionChartsComponent } ;
392+ exports . FusionChartsComponent = FusionChartsComponent ;
0 commit comments