@syncfusion/ej2-angular-maps 32.1.21-ngcc → 32.1.21

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