@syncfusion/ej2-angular-maps 20.3.49 → 20.3.56-ngcc

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
Files changed (43) hide show
  1. package/@syncfusion/ej2-angular-maps.es5.js +867 -0
  2. package/@syncfusion/ej2-angular-maps.es5.js.map +1 -0
  3. package/@syncfusion/ej2-angular-maps.js +800 -0
  4. package/@syncfusion/ej2-angular-maps.js.map +1 -0
  5. package/CHANGELOG.md +565 -0
  6. package/dist/ej2-angular-maps.umd.js +1106 -0
  7. package/dist/ej2-angular-maps.umd.js.map +1 -0
  8. package/dist/ej2-angular-maps.umd.min.js +11 -0
  9. package/dist/ej2-angular-maps.umd.min.js.map +1 -0
  10. package/{syncfusion-ej2-angular-maps.d.ts → ej2-angular-maps.d.ts} +1 -1
  11. package/ej2-angular-maps.metadata.json +1 -0
  12. package/package.json +15 -29
  13. package/postinstall/tagchange.js +18 -0
  14. package/schematics/utils/lib-details.d.ts +2 -2
  15. package/schematics/utils/lib-details.js +2 -2
  16. package/schematics/utils/lib-details.ts +2 -2
  17. package/src/maps/annotations.directive.d.ts +0 -5
  18. package/src/maps/bubblesettings.directive.d.ts +0 -5
  19. package/src/maps/colormapping.directive.d.ts +0 -5
  20. package/src/maps/initialshapeselection.directive.d.ts +0 -5
  21. package/src/maps/layers.directive.d.ts +4 -9
  22. package/src/maps/maps-all.module.d.ts +0 -6
  23. package/src/maps/maps.component.d.ts +0 -3
  24. package/src/maps/maps.module.d.ts +0 -13
  25. package/src/maps/markersettings.directive.d.ts +0 -5
  26. package/src/maps/navigationlinesettings.directive.d.ts +0 -5
  27. package/esm2020/public_api.mjs +0 -3
  28. package/esm2020/src/index.mjs +0 -12
  29. package/esm2020/src/maps/annotations.directive.mjs +0 -62
  30. package/esm2020/src/maps/bubblesettings.directive.mjs +0 -71
  31. package/esm2020/src/maps/colormapping.directive.mjs +0 -61
  32. package/esm2020/src/maps/initialshapeselection.directive.mjs +0 -59
  33. package/esm2020/src/maps/layers.directive.mjs +0 -64
  34. package/esm2020/src/maps/maps-all.module.mjs +0 -65
  35. package/esm2020/src/maps/maps.component.mjs +0 -160
  36. package/esm2020/src/maps/maps.module.mjs +0 -88
  37. package/esm2020/src/maps/markersettings.directive.mjs +0 -73
  38. package/esm2020/src/maps/navigationlinesettings.directive.mjs +0 -67
  39. package/esm2020/syncfusion-ej2-angular-maps.mjs +0 -5
  40. package/fesm2015/syncfusion-ej2-angular-maps.mjs +0 -728
  41. package/fesm2015/syncfusion-ej2-angular-maps.mjs.map +0 -1
  42. package/fesm2020/syncfusion-ej2-angular-maps.mjs +0 -728
  43. package/fesm2020/syncfusion-ej2-angular-maps.mjs.map +0 -1
@@ -0,0 +1,800 @@
1
+ import { ChangeDetectionStrategy, Component, ContentChild, ContentChildren, Directive, ElementRef, Injector, NgModule, Renderer2, ViewContainerRef } from '@angular/core';
2
+ import { ArrayBase, ComplexBase, ComponentBase, ComponentMixins, Template, setValue } from '@syncfusion/ej2-angular-base';
3
+ import { Annotations, Bubble, DataLabel, Highlight, ImageExport, Legend, Maps, MapsTooltip, Marker, NavigationLine, PdfExport, Print, Selection, Zoom } from '@syncfusion/ej2-maps';
4
+ import { CommonModule } from '@angular/common';
5
+
6
+ let input = ['shapePath', 'shapeValue'];
7
+ let outputs = [];
8
+ /**
9
+ * Layer Directive
10
+ * ```html
11
+ * <e-layers>
12
+ * <e-layer>
13
+ * <e-initialShapeSelections>
14
+ * <e-initialShapeSelection>
15
+ * </e-initialShapeSelection>
16
+ * </e-initialShapeSelections>
17
+ * </e-layer>
18
+ * </e-layers>
19
+ * ```
20
+ */
21
+ class InitialShapeSelectionDirective extends ComplexBase {
22
+ /**
23
+ * @param {?} viewContainerRef
24
+ */
25
+ constructor(viewContainerRef) {
26
+ super();
27
+ this.viewContainerRef = viewContainerRef;
28
+ setValue('currentInstance', this, this.viewContainerRef);
29
+ this.registerEvents(outputs);
30
+ this.directivePropList = input;
31
+ }
32
+ }
33
+ InitialShapeSelectionDirective.decorators = [
34
+ { type: Directive, args: [{
35
+ selector: 'e-layer>e-initialShapeSelections>e-initialShapeSelection',
36
+ inputs: input,
37
+ outputs: outputs,
38
+ queries: {}
39
+ },] },
40
+ ];
41
+ /**
42
+ * @nocollapse
43
+ */
44
+ InitialShapeSelectionDirective.ctorParameters = () => [
45
+ { type: ViewContainerRef, },
46
+ ];
47
+ /**
48
+ * InitialShapeSelection Array Directive
49
+ */
50
+ class InitialShapeSelectionsDirective extends ArrayBase {
51
+ constructor() {
52
+ super('initialshapeselection');
53
+ }
54
+ }
55
+ InitialShapeSelectionsDirective.decorators = [
56
+ { type: Directive, args: [{
57
+ selector: 'e-layer>e-initialShapeSelections',
58
+ queries: {
59
+ children: new ContentChildren(InitialShapeSelectionDirective)
60
+ },
61
+ },] },
62
+ ];
63
+ /**
64
+ * @nocollapse
65
+ */
66
+ InitialShapeSelectionsDirective.ctorParameters = () => [];
67
+
68
+ var __decorate = (this && this.__decorate) || function (decorators, target, key, desc) {
69
+ var c = arguments.length, r = c < 3 ? target : desc === null ? desc = Object.getOwnPropertyDescriptor(target, key) : desc, d;
70
+ if (typeof Reflect === "object" && typeof Reflect.decorate === "function") r = Reflect.decorate(decorators, target, key, desc);
71
+ else for (var i = decorators.length - 1; i >= 0; i--) if (d = decorators[i]) r = (c < 3 ? d(r) : c > 3 ? d(target, key, r) : d(target, key)) || r;
72
+ return c > 3 && r && Object.defineProperty(target, key, r), r;
73
+ };
74
+ var __metadata = (this && this.__metadata) || function (k, v) {
75
+ if (typeof Reflect === "object" && typeof Reflect.metadata === "function") return Reflect.metadata(k, v);
76
+ };
77
+ let input$1 = ['animationDelay', 'animationDuration', 'border', 'colorValuePath', 'dashArray', 'dataSource', 'fill', 'height', 'highlightSettings', 'imageUrl', 'imageUrlValuePath', 'initialMarkerSelection', 'latitudeValuePath', 'legendText', 'longitudeValuePath', 'offset', 'opacity', 'query', 'selectionSettings', 'shape', 'shapeValuePath', 'template', 'tooltipSettings', 'visible', 'width'];
78
+ let outputs$1 = [];
79
+ /**
80
+ * Layer Directive
81
+ * ```html
82
+ * <e-layers>
83
+ * <e-layer>
84
+ * <e-markerSettings>
85
+ * <e-markerSetting>
86
+ * </e-markerSetting>
87
+ * </e-markerSettings>
88
+ * </e-layer>
89
+ * </e-layers>
90
+ * ```
91
+ */
92
+ class MarkerDirective extends ComplexBase {
93
+ /**
94
+ * @param {?} viewContainerRef
95
+ */
96
+ constructor(viewContainerRef) {
97
+ super();
98
+ this.viewContainerRef = viewContainerRef;
99
+ setValue('currentInstance', this, this.viewContainerRef);
100
+ this.registerEvents(outputs$1);
101
+ this.directivePropList = input$1;
102
+ }
103
+ }
104
+ MarkerDirective.decorators = [
105
+ { type: Directive, args: [{
106
+ selector: 'e-layer>e-markerSettings>e-markerSetting',
107
+ inputs: input$1,
108
+ outputs: outputs$1,
109
+ queries: {}
110
+ },] },
111
+ ];
112
+ /**
113
+ * @nocollapse
114
+ */
115
+ MarkerDirective.ctorParameters = () => [
116
+ { type: ViewContainerRef, },
117
+ ];
118
+ MarkerDirective.propDecorators = {
119
+ 'template': [{ type: ContentChild, args: ['template',] },],
120
+ 'tooltipSettings_template': [{ type: ContentChild, args: ['tooltipSettingsTemplate',] },],
121
+ };
122
+ __decorate([
123
+ Template(),
124
+ __metadata("design:type", Object)
125
+ ], MarkerDirective.prototype, "template", void 0);
126
+ __decorate([
127
+ Template(),
128
+ __metadata("design:type", Object)
129
+ ], MarkerDirective.prototype, "tooltipSettings_template", void 0);
130
+ /**
131
+ * Marker Array Directive
132
+ */
133
+ class MarkersDirective extends ArrayBase {
134
+ constructor() {
135
+ super('markersettings');
136
+ }
137
+ }
138
+ MarkersDirective.decorators = [
139
+ { type: Directive, args: [{
140
+ selector: 'e-layer>e-markerSettings',
141
+ queries: {
142
+ children: new ContentChildren(MarkerDirective)
143
+ },
144
+ },] },
145
+ ];
146
+ /**
147
+ * @nocollapse
148
+ */
149
+ MarkersDirective.ctorParameters = () => [];
150
+
151
+ let input$2 = ['color', 'from', 'label', 'maxOpacity', 'minOpacity', 'showLegend', 'to', 'value'];
152
+ let outputs$2 = [];
153
+ /**
154
+ * ColorMapping Directive
155
+ * ```html
156
+ * <e-layers>
157
+ * <e-layer>
158
+ * <e-bubbleSettings>
159
+ * <e-colorMappings>
160
+ * <e-colorMapping>
161
+ * </e-colorMapping>
162
+ * </e-colorMappings>
163
+ * </e-bubbleSettings>
164
+ * </e-layer>
165
+ * </e-layers>
166
+ * ```
167
+ */
168
+ class ColorMappingDirective extends ComplexBase {
169
+ /**
170
+ * @param {?} viewContainerRef
171
+ */
172
+ constructor(viewContainerRef) {
173
+ super();
174
+ this.viewContainerRef = viewContainerRef;
175
+ setValue('currentInstance', this, this.viewContainerRef);
176
+ this.registerEvents(outputs$2);
177
+ this.directivePropList = input$2;
178
+ }
179
+ }
180
+ ColorMappingDirective.decorators = [
181
+ { type: Directive, args: [{
182
+ selector: 'e-bubbleSettings>e-colorMappings>e-colorMapping',
183
+ inputs: input$2,
184
+ outputs: outputs$2,
185
+ queries: {}
186
+ },] },
187
+ ];
188
+ /**
189
+ * @nocollapse
190
+ */
191
+ ColorMappingDirective.ctorParameters = () => [
192
+ { type: ViewContainerRef, },
193
+ ];
194
+ /**
195
+ * ColorMapping Array Directive
196
+ */
197
+ class ColorMappingsDirective extends ArrayBase {
198
+ constructor() {
199
+ super('colormapping');
200
+ }
201
+ }
202
+ ColorMappingsDirective.decorators = [
203
+ { type: Directive, args: [{
204
+ selector: 'e-bubbleSettings>e-colorMappings',
205
+ queries: {
206
+ children: new ContentChildren(ColorMappingDirective)
207
+ },
208
+ },] },
209
+ ];
210
+ /**
211
+ * @nocollapse
212
+ */
213
+ ColorMappingsDirective.ctorParameters = () => [];
214
+
215
+ var __decorate$1 = (this && this.__decorate) || function (decorators, target, key, desc) {
216
+ var c = arguments.length, r = c < 3 ? target : desc === null ? desc = Object.getOwnPropertyDescriptor(target, key) : desc, d;
217
+ if (typeof Reflect === "object" && typeof Reflect.decorate === "function") r = Reflect.decorate(decorators, target, key, desc);
218
+ else for (var i = decorators.length - 1; i >= 0; i--) if (d = decorators[i]) r = (c < 3 ? d(r) : c > 3 ? d(target, key, r) : d(target, key)) || r;
219
+ return c > 3 && r && Object.defineProperty(target, key, r), r;
220
+ };
221
+ var __metadata$1 = (this && this.__metadata) || function (k, v) {
222
+ if (typeof Reflect === "object" && typeof Reflect.metadata === "function") return Reflect.metadata(k, v);
223
+ };
224
+ let input$3 = ['animationDelay', 'animationDuration', 'border', 'bubbleType', 'colorMapping', 'colorValuePath', 'dataSource', 'fill', 'highlightSettings', 'maxRadius', 'minRadius', 'opacity', 'query', 'selectionSettings', 'tooltipSettings', 'valuePath', 'visible'];
225
+ let outputs$3 = [];
226
+ /**
227
+ * Layer Directive
228
+ * ```html
229
+ * <e-layers>
230
+ * <e-layer>
231
+ * <e-bubbleSettings>
232
+ * <e-bubbleSetting>
233
+ * </e-bubbleSetting>
234
+ * </e-bubbleSettings>
235
+ * </e-layer>
236
+ * </e-layers>
237
+ * ```
238
+ */
239
+ class BubbleDirective extends ComplexBase {
240
+ /**
241
+ * @param {?} viewContainerRef
242
+ */
243
+ constructor(viewContainerRef) {
244
+ super();
245
+ this.viewContainerRef = viewContainerRef;
246
+ this.tags = ['colorMapping'];
247
+ setValue('currentInstance', this, this.viewContainerRef);
248
+ this.registerEvents(outputs$3);
249
+ this.directivePropList = input$3;
250
+ }
251
+ }
252
+ BubbleDirective.decorators = [
253
+ { type: Directive, args: [{
254
+ selector: 'e-layer>e-bubbleSettings>e-bubbleSetting',
255
+ inputs: input$3,
256
+ outputs: outputs$3,
257
+ queries: {
258
+ childColorMapping: new ContentChild(ColorMappingsDirective)
259
+ }
260
+ },] },
261
+ ];
262
+ /**
263
+ * @nocollapse
264
+ */
265
+ BubbleDirective.ctorParameters = () => [
266
+ { type: ViewContainerRef, },
267
+ ];
268
+ BubbleDirective.propDecorators = {
269
+ 'tooltipSettings_template': [{ type: ContentChild, args: ['tooltipSettingsTemplate',] },],
270
+ };
271
+ __decorate$1([
272
+ Template(),
273
+ __metadata$1("design:type", Object)
274
+ ], BubbleDirective.prototype, "tooltipSettings_template", void 0);
275
+ /**
276
+ * Bubble Array Directive
277
+ */
278
+ class BubblesDirective extends ArrayBase {
279
+ constructor() {
280
+ super('bubblesettings');
281
+ }
282
+ }
283
+ BubblesDirective.decorators = [
284
+ { type: Directive, args: [{
285
+ selector: 'e-layer>e-bubbleSettings',
286
+ queries: {
287
+ children: new ContentChildren(BubbleDirective)
288
+ },
289
+ },] },
290
+ ];
291
+ /**
292
+ * @nocollapse
293
+ */
294
+ BubblesDirective.ctorParameters = () => [];
295
+
296
+ var __decorate$2 = (this && this.__decorate) || function (decorators, target, key, desc) {
297
+ var c = arguments.length, r = c < 3 ? target : desc === null ? desc = Object.getOwnPropertyDescriptor(target, key) : desc, d;
298
+ if (typeof Reflect === "object" && typeof Reflect.decorate === "function") r = Reflect.decorate(decorators, target, key, desc);
299
+ else for (var i = decorators.length - 1; i >= 0; i--) if (d = decorators[i]) r = (c < 3 ? d(r) : c > 3 ? d(target, key, r) : d(target, key)) || r;
300
+ return c > 3 && r && Object.defineProperty(target, key, r), r;
301
+ };
302
+ var __metadata$2 = (this && this.__metadata) || function (k, v) {
303
+ if (typeof Reflect === "object" && typeof Reflect.metadata === "function") return Reflect.metadata(k, v);
304
+ };
305
+ let input$4 = ['angle', 'arrowSettings', 'color', 'dashArray', 'highlightSettings', 'latitude', 'longitude', 'selectionSettings', 'visible', 'width'];
306
+ let outputs$4 = [];
307
+ /**
308
+ * Layer Directive
309
+ * ```html
310
+ * <e-layers>
311
+ * <e-layer>
312
+ * <e-navigationLineSettings>
313
+ * <e-navigationLineSetting>
314
+ * </e-navigationLineSetting>
315
+ * </e-navigationLineSettings>
316
+ * </e-layer>
317
+ * </e-layers>
318
+ * ```
319
+ */
320
+ class NavigationLineDirective extends ComplexBase {
321
+ /**
322
+ * @param {?} viewContainerRef
323
+ */
324
+ constructor(viewContainerRef) {
325
+ super();
326
+ this.viewContainerRef = viewContainerRef;
327
+ setValue('currentInstance', this, this.viewContainerRef);
328
+ this.registerEvents(outputs$4);
329
+ this.directivePropList = input$4;
330
+ }
331
+ }
332
+ NavigationLineDirective.decorators = [
333
+ { type: Directive, args: [{
334
+ selector: 'e-layer>e-navigationLineSettings>e-navigationLineSetting',
335
+ inputs: input$4,
336
+ outputs: outputs$4,
337
+ queries: {}
338
+ },] },
339
+ ];
340
+ /**
341
+ * @nocollapse
342
+ */
343
+ NavigationLineDirective.ctorParameters = () => [
344
+ { type: ViewContainerRef, },
345
+ ];
346
+ NavigationLineDirective.propDecorators = {
347
+ 'tooltipSettings_template': [{ type: ContentChild, args: ['tooltipSettingsTemplate',] },],
348
+ };
349
+ __decorate$2([
350
+ Template(),
351
+ __metadata$2("design:type", Object)
352
+ ], NavigationLineDirective.prototype, "tooltipSettings_template", void 0);
353
+ /**
354
+ * NavigationLine Array Directive
355
+ */
356
+ class NavigationLinesDirective extends ArrayBase {
357
+ constructor() {
358
+ super('navigationlinesettings');
359
+ }
360
+ }
361
+ NavigationLinesDirective.decorators = [
362
+ { type: Directive, args: [{
363
+ selector: 'e-layer>e-navigationLineSettings',
364
+ queries: {
365
+ children: new ContentChildren(NavigationLineDirective)
366
+ },
367
+ },] },
368
+ ];
369
+ /**
370
+ * @nocollapse
371
+ */
372
+ NavigationLinesDirective.ctorParameters = () => [];
373
+
374
+ let input$5 = ['animationDuration', 'bingMapType', 'bubbleSettings', 'dataLabelSettings', 'dataSource', 'geometryType', 'highlightSettings', 'initialShapeSelection', 'key', 'layerType', 'markerClusterSettings', 'markerSettings', 'navigationLineSettings', 'query', 'selectionSettings', 'shapeData', 'shapeDataPath', 'shapePropertyPath', 'shapeSettings', 'staticMapType', 'toggleLegendSettings', 'tooltipSettings', 'type', 'urlTemplate', 'visible'];
375
+ let outputs$5 = [];
376
+ /**
377
+ * Layer Directive
378
+ * ```html
379
+ * <e-layers>
380
+ * <e-layer></e-layer>
381
+ * </e-layers>
382
+ * ```
383
+ */
384
+ class LayerDirective extends ComplexBase {
385
+ /**
386
+ * @param {?} viewContainerRef
387
+ */
388
+ constructor(viewContainerRef) {
389
+ super();
390
+ this.viewContainerRef = viewContainerRef;
391
+ this.tags = ['initialShapeSelection', 'markerSettings', 'bubbleSettings', 'navigationLineSettings'];
392
+ setValue('currentInstance', this, this.viewContainerRef);
393
+ this.registerEvents(outputs$5);
394
+ this.directivePropList = input$5;
395
+ }
396
+ }
397
+ LayerDirective.decorators = [
398
+ { type: Directive, args: [{
399
+ selector: 'e-layers>e-layer',
400
+ inputs: input$5,
401
+ outputs: outputs$5,
402
+ queries: {
403
+ childInitialShapeSelection: new ContentChild(InitialShapeSelectionsDirective),
404
+ childMarkerSettings: new ContentChild(MarkersDirective),
405
+ childBubbleSettings: new ContentChild(BubblesDirective),
406
+ childNavigationLineSettings: new ContentChild(NavigationLinesDirective)
407
+ }
408
+ },] },
409
+ ];
410
+ /**
411
+ * @nocollapse
412
+ */
413
+ LayerDirective.ctorParameters = () => [
414
+ { type: ViewContainerRef, },
415
+ ];
416
+ /**
417
+ * Layer Array Directive
418
+ */
419
+ class LayersDirective extends ArrayBase {
420
+ constructor() {
421
+ super('layers');
422
+ }
423
+ }
424
+ LayersDirective.decorators = [
425
+ { type: Directive, args: [{
426
+ selector: 'ej-maps>e-layers',
427
+ queries: {
428
+ children: new ContentChildren(LayerDirective)
429
+ },
430
+ },] },
431
+ ];
432
+ /**
433
+ * @nocollapse
434
+ */
435
+ LayersDirective.ctorParameters = () => [];
436
+
437
+ var __decorate$3 = (this && this.__decorate) || function (decorators, target, key, desc) {
438
+ var c = arguments.length, r = c < 3 ? target : desc === null ? desc = Object.getOwnPropertyDescriptor(target, key) : desc, d;
439
+ if (typeof Reflect === "object" && typeof Reflect.decorate === "function") r = Reflect.decorate(decorators, target, key, desc);
440
+ else for (var i = decorators.length - 1; i >= 0; i--) if (d = decorators[i]) r = (c < 3 ? d(r) : c > 3 ? d(target, key, r) : d(target, key)) || r;
441
+ return c > 3 && r && Object.defineProperty(target, key, r), r;
442
+ };
443
+ var __metadata$3 = (this && this.__metadata) || function (k, v) {
444
+ if (typeof Reflect === "object" && typeof Reflect.metadata === "function") return Reflect.metadata(k, v);
445
+ };
446
+ let input$6 = ['content', 'horizontalAlignment', 'verticalAlignment', 'x', 'y', 'zIndex'];
447
+ let outputs$6 = [];
448
+ /**
449
+ * Annotation Directive
450
+ * ```html
451
+ * <e-maps-annotations>
452
+ * <e-maps-annotation></e-maps-annotation>
453
+ * </e-maps-annotations>
454
+ * ```
455
+ */
456
+ class AnnotationDirective extends ComplexBase {
457
+ /**
458
+ * @param {?} viewContainerRef
459
+ */
460
+ constructor(viewContainerRef) {
461
+ super();
462
+ this.viewContainerRef = viewContainerRef;
463
+ setValue('currentInstance', this, this.viewContainerRef);
464
+ this.registerEvents(outputs$6);
465
+ this.directivePropList = input$6;
466
+ }
467
+ }
468
+ AnnotationDirective.decorators = [
469
+ { type: Directive, args: [{
470
+ selector: 'e-maps-annotations>e-maps-annotation',
471
+ inputs: input$6,
472
+ outputs: outputs$6,
473
+ queries: {}
474
+ },] },
475
+ ];
476
+ /**
477
+ * @nocollapse
478
+ */
479
+ AnnotationDirective.ctorParameters = () => [
480
+ { type: ViewContainerRef, },
481
+ ];
482
+ AnnotationDirective.propDecorators = {
483
+ 'content': [{ type: ContentChild, args: ['content',] },],
484
+ };
485
+ __decorate$3([
486
+ Template(),
487
+ __metadata$3("design:type", Object)
488
+ ], AnnotationDirective.prototype, "content", void 0);
489
+ /**
490
+ * Annotation Array Directive
491
+ */
492
+ class AnnotationsDirective extends ArrayBase {
493
+ constructor() {
494
+ super('annotations');
495
+ }
496
+ }
497
+ AnnotationsDirective.decorators = [
498
+ { type: Directive, args: [{
499
+ selector: 'ej-maps>e-maps-annotations',
500
+ queries: {
501
+ children: new ContentChildren(AnnotationDirective)
502
+ },
503
+ },] },
504
+ ];
505
+ /**
506
+ * @nocollapse
507
+ */
508
+ AnnotationsDirective.ctorParameters = () => [];
509
+
510
+ var __decorate$4 = (this && this.__decorate) || function (decorators, target, key, desc) {
511
+ var c = arguments.length, r = c < 3 ? target : desc === null ? desc = Object.getOwnPropertyDescriptor(target, key) : desc, d;
512
+ if (typeof Reflect === "object" && typeof Reflect.decorate === "function") r = Reflect.decorate(decorators, target, key, desc);
513
+ else for (var i = decorators.length - 1; i >= 0; i--) if (d = decorators[i]) r = (c < 3 ? d(r) : c > 3 ? d(target, key, r) : d(target, key)) || r;
514
+ return c > 3 && r && Object.defineProperty(target, key, r), r;
515
+ };
516
+ var __metadata$4 = (this && this.__metadata) || function (k, v) {
517
+ if (typeof Reflect === "object" && typeof Reflect.metadata === "function") return Reflect.metadata(k, v);
518
+ };
519
+ const inputs = ['allowImageExport', 'allowPdfExport', 'allowPrint', 'annotations', 'background', 'baseLayerIndex', 'border', 'centerPosition', 'description', 'enablePersistence', 'enableRtl', 'format', 'height', 'layers', 'legendSettings', 'locale', 'mapsArea', 'margin', 'projectionType', 'tabIndex', 'theme', 'titleSettings', 'tooltipDisplayMode', 'useGroupingSeparator', 'width', 'zoomSettings'];
520
+ const outputs$7 = ['animationComplete', 'annotationRendering', 'beforePrint', 'bubbleClick', 'bubbleMouseMove', 'bubbleRendering', 'click', 'dataLabelRendering', 'doubleClick', 'itemHighlight', 'itemSelection', 'layerRendering', 'legendRendering', 'load', 'loaded', 'markerClick', 'markerClusterClick', 'markerClusterMouseMove', 'markerClusterRendering', 'markerMouseMove', 'markerRendering', 'onclick', 'pan', 'resize', 'rightClick', 'shapeHighlight', 'shapeRendering', 'shapeSelected', 'tooltipRender', 'tooltipRenderComplete', 'zoom', 'dataSourceChange'];
521
+ const twoWays = ['dataSource'];
522
+ /**
523
+ * Represents Maps Component
524
+ * ```html
525
+ * <ej-maps></ej-maps>
526
+ * ```
527
+ */
528
+ let MapsComponent = class MapsComponent extends Maps {
529
+ /**
530
+ * @param {?} ngEle
531
+ * @param {?} srenderer
532
+ * @param {?} viewContainerRef
533
+ * @param {?} injector
534
+ */
535
+ constructor(ngEle, srenderer, viewContainerRef, injector) {
536
+ super();
537
+ this.ngEle = ngEle;
538
+ this.srenderer = srenderer;
539
+ this.viewContainerRef = viewContainerRef;
540
+ this.injector = injector;
541
+ this.tags = ['layers', 'annotations'];
542
+ this.element = this.ngEle.nativeElement;
543
+ this.injectedModules = this.injectedModules || [];
544
+ try {
545
+ let mod = this.injector.get('MapsBubble');
546
+ if (this.injectedModules.indexOf(mod) === -1) {
547
+ this.injectedModules.push(mod);
548
+ }
549
+ }
550
+ catch (_a) { }
551
+ try {
552
+ let mod = this.injector.get('MapsLegend');
553
+ if (this.injectedModules.indexOf(mod) === -1) {
554
+ this.injectedModules.push(mod);
555
+ }
556
+ }
557
+ catch (_b) { }
558
+ try {
559
+ let mod = this.injector.get('MapsMarker');
560
+ if (this.injectedModules.indexOf(mod) === -1) {
561
+ this.injectedModules.push(mod);
562
+ }
563
+ }
564
+ catch (_c) { }
565
+ try {
566
+ let mod = this.injector.get('MapsHighlight');
567
+ if (this.injectedModules.indexOf(mod) === -1) {
568
+ this.injectedModules.push(mod);
569
+ }
570
+ }
571
+ catch (_d) { }
572
+ try {
573
+ let mod = this.injector.get('MapsSelection');
574
+ if (this.injectedModules.indexOf(mod) === -1) {
575
+ this.injectedModules.push(mod);
576
+ }
577
+ }
578
+ catch (_e) { }
579
+ try {
580
+ let mod = this.injector.get('MapsMapsTooltip');
581
+ if (this.injectedModules.indexOf(mod) === -1) {
582
+ this.injectedModules.push(mod);
583
+ }
584
+ }
585
+ catch (_f) { }
586
+ try {
587
+ let mod = this.injector.get('MapsZoom');
588
+ if (this.injectedModules.indexOf(mod) === -1) {
589
+ this.injectedModules.push(mod);
590
+ }
591
+ }
592
+ catch (_g) { }
593
+ try {
594
+ let mod = this.injector.get('MapsDataLabel');
595
+ if (this.injectedModules.indexOf(mod) === -1) {
596
+ this.injectedModules.push(mod);
597
+ }
598
+ }
599
+ catch (_h) { }
600
+ try {
601
+ let mod = this.injector.get('MapsNavigationLine');
602
+ if (this.injectedModules.indexOf(mod) === -1) {
603
+ this.injectedModules.push(mod);
604
+ }
605
+ }
606
+ catch (_j) { }
607
+ try {
608
+ let mod = this.injector.get('MapsAnnotations');
609
+ if (this.injectedModules.indexOf(mod) === -1) {
610
+ this.injectedModules.push(mod);
611
+ }
612
+ }
613
+ catch (_k) { }
614
+ try {
615
+ let mod = this.injector.get('MapsPrint');
616
+ if (this.injectedModules.indexOf(mod) === -1) {
617
+ this.injectedModules.push(mod);
618
+ }
619
+ }
620
+ catch (_l) { }
621
+ try {
622
+ let mod = this.injector.get('MapsPdfExport');
623
+ if (this.injectedModules.indexOf(mod) === -1) {
624
+ this.injectedModules.push(mod);
625
+ }
626
+ }
627
+ catch (_m) { }
628
+ try {
629
+ let mod = this.injector.get('MapsImageExport');
630
+ if (this.injectedModules.indexOf(mod) === -1) {
631
+ this.injectedModules.push(mod);
632
+ }
633
+ }
634
+ catch (_o) { }
635
+ this.registerEvents(outputs$7);
636
+ this.addTwoWay.call(this, twoWays);
637
+ setValue('currentInstance', this, this.viewContainerRef);
638
+ this.context = new ComponentBase();
639
+ }
640
+ /**
641
+ * @return {?}
642
+ */
643
+ ngOnInit() {
644
+ this.context.ngOnInit(this);
645
+ }
646
+ /**
647
+ * @return {?}
648
+ */
649
+ ngAfterViewInit() {
650
+ this.context.ngAfterViewInit(this);
651
+ }
652
+ /**
653
+ * @return {?}
654
+ */
655
+ ngOnDestroy() {
656
+ this.context.ngOnDestroy(this);
657
+ }
658
+ /**
659
+ * @return {?}
660
+ */
661
+ ngAfterContentChecked() {
662
+ this.tagObjects[0].instance = this.childLayers;
663
+ if (this.childAnnotations) {
664
+ this.tagObjects[1].instance = /** @type {?} */ (this.childAnnotations);
665
+ }
666
+ this.context.ngAfterContentChecked(this);
667
+ }
668
+ };
669
+ MapsComponent.decorators = [
670
+ { type: Component, args: [{
671
+ selector: 'ejs-maps',
672
+ inputs: inputs,
673
+ outputs: outputs$7,
674
+ template: '',
675
+ changeDetection: ChangeDetectionStrategy.OnPush,
676
+ queries: {
677
+ childLayers: new ContentChild(LayersDirective),
678
+ childAnnotations: new ContentChild(AnnotationsDirective)
679
+ }
680
+ },] },
681
+ ];
682
+ /**
683
+ * @nocollapse
684
+ */
685
+ MapsComponent.ctorParameters = () => [
686
+ { type: ElementRef, },
687
+ { type: Renderer2, },
688
+ { type: ViewContainerRef, },
689
+ { type: Injector, },
690
+ ];
691
+ MapsComponent = __decorate$4([
692
+ ComponentMixins([ComponentBase]),
693
+ __metadata$4("design:paramtypes", [ElementRef,
694
+ Renderer2,
695
+ ViewContainerRef,
696
+ Injector])
697
+ ], MapsComponent);
698
+
699
+ /**
700
+ * NgModule definition for the Maps component.
701
+ */
702
+ class MapsModule {
703
+ }
704
+ MapsModule.decorators = [
705
+ { type: NgModule, args: [{
706
+ imports: [CommonModule],
707
+ declarations: [
708
+ MapsComponent,
709
+ InitialShapeSelectionDirective,
710
+ InitialShapeSelectionsDirective,
711
+ MarkerDirective,
712
+ MarkersDirective,
713
+ ColorMappingDirective,
714
+ ColorMappingsDirective,
715
+ BubbleDirective,
716
+ BubblesDirective,
717
+ NavigationLineDirective,
718
+ NavigationLinesDirective,
719
+ LayerDirective,
720
+ LayersDirective,
721
+ AnnotationDirective,
722
+ AnnotationsDirective
723
+ ],
724
+ exports: [
725
+ MapsComponent,
726
+ InitialShapeSelectionDirective,
727
+ InitialShapeSelectionsDirective,
728
+ MarkerDirective,
729
+ MarkersDirective,
730
+ ColorMappingDirective,
731
+ ColorMappingsDirective,
732
+ BubbleDirective,
733
+ BubblesDirective,
734
+ NavigationLineDirective,
735
+ NavigationLinesDirective,
736
+ LayerDirective,
737
+ LayersDirective,
738
+ AnnotationDirective,
739
+ AnnotationsDirective
740
+ ]
741
+ },] },
742
+ ];
743
+ /**
744
+ * @nocollapse
745
+ */
746
+ MapsModule.ctorParameters = () => [];
747
+
748
+ const BubbleService = { provide: 'MapsBubble', useValue: Bubble };
749
+ const LegendService = { provide: 'MapsLegend', useValue: Legend };
750
+ const MarkerService = { provide: 'MapsMarker', useValue: Marker };
751
+ const HighlightService = { provide: 'MapsHighlight', useValue: Highlight };
752
+ const SelectionService = { provide: 'MapsSelection', useValue: Selection };
753
+ const MapsTooltipService = { provide: 'MapsMapsTooltip', useValue: MapsTooltip };
754
+ const ZoomService = { provide: 'MapsZoom', useValue: Zoom };
755
+ const DataLabelService = { provide: 'MapsDataLabel', useValue: DataLabel };
756
+ const NavigationLineService = { provide: 'MapsNavigationLine', useValue: NavigationLine };
757
+ const AnnotationsService = { provide: 'MapsAnnotations', useValue: Annotations };
758
+ const PrintService = { provide: 'MapsPrint', useValue: Print };
759
+ const PdfExportService = { provide: 'MapsPdfExport', useValue: PdfExport };
760
+ const ImageExportService = { provide: 'MapsImageExport', useValue: ImageExport };
761
+ /**
762
+ * NgModule definition for the Maps component with providers.
763
+ */
764
+ class MapsAllModule {
765
+ }
766
+ MapsAllModule.decorators = [
767
+ { type: NgModule, args: [{
768
+ imports: [CommonModule, MapsModule],
769
+ exports: [
770
+ MapsModule
771
+ ],
772
+ providers: [
773
+ BubbleService,
774
+ LegendService,
775
+ MarkerService,
776
+ HighlightService,
777
+ SelectionService,
778
+ MapsTooltipService,
779
+ ZoomService,
780
+ DataLabelService,
781
+ NavigationLineService,
782
+ AnnotationsService,
783
+ PrintService,
784
+ PdfExportService,
785
+ ImageExportService
786
+ ]
787
+ },] },
788
+ ];
789
+ /**
790
+ * @nocollapse
791
+ */
792
+ MapsAllModule.ctorParameters = () => [];
793
+
794
+ /**
795
+ * Generated bundle index. Do not edit.
796
+ */
797
+
798
+ export { InitialShapeSelectionDirective, InitialShapeSelectionsDirective, MarkerDirective, MarkersDirective, ColorMappingDirective, ColorMappingsDirective, BubbleDirective, BubblesDirective, NavigationLineDirective, NavigationLinesDirective, LayerDirective, LayersDirective, AnnotationDirective, AnnotationsDirective, MapsComponent, MapsModule, MapsAllModule, BubbleService, LegendService, MarkerService, HighlightService, SelectionService, MapsTooltipService, ZoomService, DataLabelService, NavigationLineService, AnnotationsService, PrintService, PdfExportService, ImageExportService, inputs as ɵa, outputs$7 as ɵb };
799
+ export { Maps, load, loaded, click, onclick, rightClick, doubleClick, resize, tooltipRender, shapeSelected, shapeHighlight, mousemove, mouseup, mousedown, layerRendering, shapeRendering, markerRendering, markerClusterRendering, markerClick, markerClusterClick, markerMouseMove, markerClusterMouseMove, dataLabelRendering, bubbleRendering, bubbleClick, bubbleMouseMove, animationComplete, legendRendering, annotationRendering, itemSelection, itemHighlight, beforePrint, zoomIn, zoomOut, pan, Annotation, Arrow, Font, Border, CenterPosition, TooltipSettings, Margin, ConnectorLineSettings, MarkerClusterSettings, MarkerClusterData, ColorMappingSettings, InitialMarkerSelectionSettings, InitialShapeSelectionSettings, SelectionSettings, HighlightSettings, NavigationLineSettings, BubbleSettings, CommonTitleSettings, SubTitleSettings, TitleSettings, ZoomSettings, ToggleLegendSettings, LegendSettings, DataLabelSettings, ShapeSettings, MarkerBase, MarkerSettings, LayerSettings, Tile, MapsAreaSettings, Size, stringToNumber, calculateSize, createSvg, getMousePosition, degreesToRadians, radiansToDegrees, convertGeoToPoint, convertTileLatLongToPoint, xToCoordinate, yToCoordinate, aitoff, roundTo, sinci, acos, calculateBound, triggerDownload, Point, MinMax, GeoLocation, measureText, TextOption, PathOption, ColorValue, RectOption, CircleOption, PolygonOption, PolylineOption, LineOption, Line, MapLocation, Rect, PatternOptions, renderTextElement, convertElement, formatValue, convertStringToValue, convertElementFromLabel, drawSymbols, getValueFromObject, markerColorChoose, markerShapeChoose, clusterTemplate, mergeSeparateCluster, clusterSeparate, marker, markerTemplate, maintainSelection, maintainStyleClass, appendShape, drawCircle, drawRectangle, drawPath, drawPolygon, drawPolyline, drawLine, calculateShapes, drawDiamond, drawTriangle, drawCross, drawHorizontalLine, drawVerticalLine, drawStar, drawBalloon, drawPattern, getFieldData, checkShapeDataFields, checkPropertyPath, filter, getRatioOfBubble, findMidPointOfPolygon, isCustomPath, textTrim, findPosition, removeElement, calculateCenterFromPixel, getTranslate, getZoomTranslate, fixInitialScaleForTile, getElementByID, getClientElement, Internalize, getTemplateFunction, getElement, getShapeData, triggerShapeEvent, getElementsByClassName, querySelector, getTargetElement, createStyle, customizeStyle, triggerItemSelectionEvent, removeClass, elementAnimate, timeout, showTooltip, wordWrap, createTooltip, drawSymbol, renderLegendShape, getElementOffset, changeBorderWidth, changeNavaigationLineWidth, targetTouches, calculateScale, getDistance, getTouches, getTouchCenter, sum, zoomAnimate, animate, MapAjax, smoothTranslate, compareZoomFactor, calculateZoomLevel, processResult, LayerPanel, Bubble, BingMap, Marker, ColorMapping, DataLabel, NavigationLine, Legend, Highlight, Selection, MapsTooltip, Zoom, Annotations, Print, ImageExport, PdfExport } from '@syncfusion/ej2-maps';
800
+ //# sourceMappingURL=ej2-angular-maps.js.map