@syncfusion/ej2-angular-maps 29.2.11-ngcc → 30.1.37-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.
@@ -3,806 +3,806 @@ import { ArrayBase, ComplexBase, ComponentBase, ComponentMixins, Template, setVa
3
3
  import { Annotations, Bubble, DataLabel, Highlight, ImageExport, Legend, Maps, MapsTooltip, Marker, NavigationLine, PdfExport, Polygon, Print, Selection, Zoom } from '@syncfusion/ej2-maps';
4
4
  import { CommonModule } from '@angular/common';
5
5
 
6
- let input = ['shapePath', 'shapeValue'];
7
- let outputs = [];
8
- /**
9
- * Represents the directive to configure the selection of the shapes when the maps is initially rendered.
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
- */
6
+ let input = ['shapePath', 'shapeValue'];
7
+ let outputs = [];
8
+ /**
9
+ * Represents the directive to configure the selection of the shapes when the maps is initially rendered.
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
66
  InitialShapeSelectionsDirective.ctorParameters = () => [];
67
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', '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'];
78
- let outputs$1 = [];
79
- /**
80
- * Represents the directive to define the markers in the maps.
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
- */
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', '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'];
78
+ let outputs$1 = [];
79
+ /**
80
+ * Represents the directive to define the markers in the maps.
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
149
  MarkersDirective.ctorParameters = () => [];
150
150
 
151
- let input$2 = ['color', 'from', 'label', 'maxOpacity', 'minOpacity', 'showLegend', 'to', 'value'];
152
- let outputs$2 = [];
153
- /**
154
- * Represents the directive to define the bubble color mapping in the maps.
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
- */
151
+ let input$2 = ['color', 'from', 'label', 'maxOpacity', 'minOpacity', 'showLegend', 'to', 'value'];
152
+ let outputs$2 = [];
153
+ /**
154
+ * Represents the directive to define the bubble color mapping in the maps.
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
213
  ColorMappingsDirective.ctorParameters = () => [];
214
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
- * Represents the directive to define the bubbles in the maps.
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
- */
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
+ * Represents the directive to define the bubbles in the maps.
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
294
  BubblesDirective.ctorParameters = () => [];
295
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
- * Represents the directive to define the navigation lines in the maps.
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
- */
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
+ * Represents the directive to define the navigation lines in the maps.
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
372
  NavigationLinesDirective.ctorParameters = () => [];
373
373
 
374
- let input$5 = ['animationDuration', 'bubbleSettings', 'dataLabelSettings', 'dataSource', 'geometryType', 'highlightSettings', 'initialShapeSelection', 'markerClusterSettings', 'markerSettings', 'navigationLineSettings', 'polygonSettings', 'query', 'selectionSettings', 'shapeData', 'shapeDataPath', 'shapePropertyPath', 'shapeSettings', 'toggleLegendSettings', 'tooltipSettings', 'type', 'urlTemplate', 'visible'];
375
- let outputs$5 = [];
376
- /**
377
- * Represents the directive to define the layer of the maps.
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
- */
374
+ let input$5 = ['animationDuration', 'bubbleSettings', 'dataLabelSettings', 'dataSource', 'geometryType', 'highlightSettings', 'initialShapeSelection', 'markerClusterSettings', 'markerSettings', 'navigationLineSettings', 'polygonSettings', 'query', 'selectionSettings', 'shapeData', 'shapeDataPath', 'shapePropertyPath', 'shapeSettings', 'toggleLegendSettings', 'tooltipSettings', 'type', 'urlTemplate', 'visible'];
375
+ let outputs$5 = [];
376
+ /**
377
+ * Represents the directive to define the layer of the maps.
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
435
  LayersDirective.ctorParameters = () => [];
436
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
- * Represents the directive to define the annotations in the maps.
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
- */
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
+ * Represents the directive to define the annotations in the maps.
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
508
  AnnotationsDirective.ctorParameters = () => [];
509
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', 'markerDragEnd', 'markerDragStart', 'markerMouseMove', 'markerRendering', 'mouseMove', 'onclick', 'pan', 'panComplete', 'resize', 'rightClick', 'shapeHighlight', 'shapeRendering', 'shapeSelected', 'tooltipRender', 'tooltipRenderComplete', 'zoom', 'zoomComplete', 'dataSourceChange'];
521
- const twoWays = ['dataSource'];
522
- /**
523
- * Represents the Angular Maps component.
524
- * 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.
525
- * ```html
526
- * <ej-maps></ej-maps>
527
- * ```
528
- */
529
- let MapsComponent = class MapsComponent extends Maps {
530
- /**
531
- * @param {?} ngEle
532
- * @param {?} srenderer
533
- * @param {?} viewContainerRef
534
- * @param {?} injector
535
- */
536
- constructor(ngEle, srenderer, viewContainerRef, injector) {
537
- super();
538
- this.ngEle = ngEle;
539
- this.srenderer = srenderer;
540
- this.viewContainerRef = viewContainerRef;
541
- this.injector = injector;
542
- this.tags = ['layers', 'annotations'];
543
- this.element = this.ngEle.nativeElement;
544
- this.injectedModules = this.injectedModules || [];
545
- try {
546
- let mod = this.injector.get('MapsBubble');
547
- if (this.injectedModules.indexOf(mod) === -1) {
548
- this.injectedModules.push(mod);
549
- }
550
- }
551
- catch (_a) { }
552
- try {
553
- let mod = this.injector.get('MapsLegend');
554
- if (this.injectedModules.indexOf(mod) === -1) {
555
- this.injectedModules.push(mod);
556
- }
557
- }
558
- catch (_b) { }
559
- try {
560
- let mod = this.injector.get('MapsMarker');
561
- if (this.injectedModules.indexOf(mod) === -1) {
562
- this.injectedModules.push(mod);
563
- }
564
- }
565
- catch (_c) { }
566
- try {
567
- let mod = this.injector.get('MapsHighlight');
568
- if (this.injectedModules.indexOf(mod) === -1) {
569
- this.injectedModules.push(mod);
570
- }
571
- }
572
- catch (_d) { }
573
- try {
574
- let mod = this.injector.get('MapsSelection');
575
- if (this.injectedModules.indexOf(mod) === -1) {
576
- this.injectedModules.push(mod);
577
- }
578
- }
579
- catch (_e) { }
580
- try {
581
- let mod = this.injector.get('MapsMapsTooltip');
582
- if (this.injectedModules.indexOf(mod) === -1) {
583
- this.injectedModules.push(mod);
584
- }
585
- }
586
- catch (_f) { }
587
- try {
588
- let mod = this.injector.get('MapsZoom');
589
- if (this.injectedModules.indexOf(mod) === -1) {
590
- this.injectedModules.push(mod);
591
- }
592
- }
593
- catch (_g) { }
594
- try {
595
- let mod = this.injector.get('MapsDataLabel');
596
- if (this.injectedModules.indexOf(mod) === -1) {
597
- this.injectedModules.push(mod);
598
- }
599
- }
600
- catch (_h) { }
601
- try {
602
- let mod = this.injector.get('MapsNavigationLine');
603
- if (this.injectedModules.indexOf(mod) === -1) {
604
- this.injectedModules.push(mod);
605
- }
606
- }
607
- catch (_j) { }
608
- try {
609
- let mod = this.injector.get('MapsAnnotations');
610
- if (this.injectedModules.indexOf(mod) === -1) {
611
- this.injectedModules.push(mod);
612
- }
613
- }
614
- catch (_k) { }
615
- try {
616
- let mod = this.injector.get('MapsPrint');
617
- if (this.injectedModules.indexOf(mod) === -1) {
618
- this.injectedModules.push(mod);
619
- }
620
- }
621
- catch (_l) { }
622
- try {
623
- let mod = this.injector.get('MapsPdfExport');
624
- if (this.injectedModules.indexOf(mod) === -1) {
625
- this.injectedModules.push(mod);
626
- }
627
- }
628
- catch (_m) { }
629
- try {
630
- let mod = this.injector.get('MapsImageExport');
631
- if (this.injectedModules.indexOf(mod) === -1) {
632
- this.injectedModules.push(mod);
633
- }
634
- }
635
- catch (_o) { }
636
- try {
637
- let mod = this.injector.get('MapsPolygon');
638
- if (this.injectedModules.indexOf(mod) === -1) {
639
- this.injectedModules.push(mod);
640
- }
641
- }
642
- catch (_p) { }
643
- this.registerEvents(outputs$7);
644
- this.addTwoWay.call(this, twoWays);
645
- setValue('currentInstance', this, this.viewContainerRef);
646
- this.context = new ComponentBase();
647
- }
648
- /**
649
- * @return {?}
650
- */
651
- ngOnInit() {
652
- this.context.ngOnInit(this);
653
- }
654
- /**
655
- * @return {?}
656
- */
657
- ngAfterViewInit() {
658
- this.context.ngAfterViewInit(this);
659
- }
660
- /**
661
- * @return {?}
662
- */
663
- ngOnDestroy() {
664
- this.context.ngOnDestroy(this);
665
- }
666
- /**
667
- * @return {?}
668
- */
669
- ngAfterContentChecked() {
670
- this.tagObjects[0].instance = this.childLayers;
671
- if (this.childAnnotations) {
672
- this.tagObjects[1].instance = /** @type {?} */ (this.childAnnotations);
673
- }
674
- this.context.ngAfterContentChecked(this);
675
- }
676
- };
677
- MapsComponent.decorators = [
678
- { type: Component, args: [{
679
- selector: 'ejs-maps',
680
- inputs: inputs,
681
- outputs: outputs$7,
682
- template: '',
683
- changeDetection: ChangeDetectionStrategy.OnPush,
684
- queries: {
685
- childLayers: new ContentChild(LayersDirective),
686
- childAnnotations: new ContentChild(AnnotationsDirective)
687
- }
688
- },] },
689
- ];
690
- /**
691
- * @nocollapse
692
- */
693
- MapsComponent.ctorParameters = () => [
694
- { type: ElementRef, },
695
- { type: Renderer2, },
696
- { type: ViewContainerRef, },
697
- { type: Injector, },
698
- ];
699
- MapsComponent = __decorate$4([
700
- ComponentMixins([ComponentBase]),
701
- __metadata$4("design:paramtypes", [ElementRef,
702
- Renderer2,
703
- ViewContainerRef,
704
- Injector])
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', 'markerDragEnd', 'markerDragStart', 'markerMouseMove', 'markerRendering', 'mouseMove', 'onclick', 'pan', 'panComplete', 'resize', 'rightClick', 'shapeHighlight', 'shapeRendering', 'shapeSelected', 'tooltipRender', 'tooltipRenderComplete', 'zoom', 'zoomComplete', 'dataSourceChange'];
521
+ const twoWays = ['dataSource'];
522
+ /**
523
+ * Represents the Angular Maps component.
524
+ * 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.
525
+ * ```html
526
+ * <ej-maps></ej-maps>
527
+ * ```
528
+ */
529
+ let MapsComponent = class MapsComponent extends Maps {
530
+ /**
531
+ * @param {?} ngEle
532
+ * @param {?} srenderer
533
+ * @param {?} viewContainerRef
534
+ * @param {?} injector
535
+ */
536
+ constructor(ngEle, srenderer, viewContainerRef, injector) {
537
+ super();
538
+ this.ngEle = ngEle;
539
+ this.srenderer = srenderer;
540
+ this.viewContainerRef = viewContainerRef;
541
+ this.injector = injector;
542
+ this.tags = ['layers', 'annotations'];
543
+ this.element = this.ngEle.nativeElement;
544
+ this.injectedModules = this.injectedModules || [];
545
+ try {
546
+ let mod = this.injector.get('MapsBubble');
547
+ if (this.injectedModules.indexOf(mod) === -1) {
548
+ this.injectedModules.push(mod);
549
+ }
550
+ }
551
+ catch (_a) { }
552
+ try {
553
+ let mod = this.injector.get('MapsLegend');
554
+ if (this.injectedModules.indexOf(mod) === -1) {
555
+ this.injectedModules.push(mod);
556
+ }
557
+ }
558
+ catch (_b) { }
559
+ try {
560
+ let mod = this.injector.get('MapsMarker');
561
+ if (this.injectedModules.indexOf(mod) === -1) {
562
+ this.injectedModules.push(mod);
563
+ }
564
+ }
565
+ catch (_c) { }
566
+ try {
567
+ let mod = this.injector.get('MapsHighlight');
568
+ if (this.injectedModules.indexOf(mod) === -1) {
569
+ this.injectedModules.push(mod);
570
+ }
571
+ }
572
+ catch (_d) { }
573
+ try {
574
+ let mod = this.injector.get('MapsSelection');
575
+ if (this.injectedModules.indexOf(mod) === -1) {
576
+ this.injectedModules.push(mod);
577
+ }
578
+ }
579
+ catch (_e) { }
580
+ try {
581
+ let mod = this.injector.get('MapsMapsTooltip');
582
+ if (this.injectedModules.indexOf(mod) === -1) {
583
+ this.injectedModules.push(mod);
584
+ }
585
+ }
586
+ catch (_f) { }
587
+ try {
588
+ let mod = this.injector.get('MapsZoom');
589
+ if (this.injectedModules.indexOf(mod) === -1) {
590
+ this.injectedModules.push(mod);
591
+ }
592
+ }
593
+ catch (_g) { }
594
+ try {
595
+ let mod = this.injector.get('MapsDataLabel');
596
+ if (this.injectedModules.indexOf(mod) === -1) {
597
+ this.injectedModules.push(mod);
598
+ }
599
+ }
600
+ catch (_h) { }
601
+ try {
602
+ let mod = this.injector.get('MapsNavigationLine');
603
+ if (this.injectedModules.indexOf(mod) === -1) {
604
+ this.injectedModules.push(mod);
605
+ }
606
+ }
607
+ catch (_j) { }
608
+ try {
609
+ let mod = this.injector.get('MapsAnnotations');
610
+ if (this.injectedModules.indexOf(mod) === -1) {
611
+ this.injectedModules.push(mod);
612
+ }
613
+ }
614
+ catch (_k) { }
615
+ try {
616
+ let mod = this.injector.get('MapsPrint');
617
+ if (this.injectedModules.indexOf(mod) === -1) {
618
+ this.injectedModules.push(mod);
619
+ }
620
+ }
621
+ catch (_l) { }
622
+ try {
623
+ let mod = this.injector.get('MapsPdfExport');
624
+ if (this.injectedModules.indexOf(mod) === -1) {
625
+ this.injectedModules.push(mod);
626
+ }
627
+ }
628
+ catch (_m) { }
629
+ try {
630
+ let mod = this.injector.get('MapsImageExport');
631
+ if (this.injectedModules.indexOf(mod) === -1) {
632
+ this.injectedModules.push(mod);
633
+ }
634
+ }
635
+ catch (_o) { }
636
+ try {
637
+ let mod = this.injector.get('MapsPolygon');
638
+ if (this.injectedModules.indexOf(mod) === -1) {
639
+ this.injectedModules.push(mod);
640
+ }
641
+ }
642
+ catch (_p) { }
643
+ this.registerEvents(outputs$7);
644
+ this.addTwoWay.call(this, twoWays);
645
+ setValue('currentInstance', this, this.viewContainerRef);
646
+ this.context = new ComponentBase();
647
+ }
648
+ /**
649
+ * @return {?}
650
+ */
651
+ ngOnInit() {
652
+ this.context.ngOnInit(this);
653
+ }
654
+ /**
655
+ * @return {?}
656
+ */
657
+ ngAfterViewInit() {
658
+ this.context.ngAfterViewInit(this);
659
+ }
660
+ /**
661
+ * @return {?}
662
+ */
663
+ ngOnDestroy() {
664
+ this.context.ngOnDestroy(this);
665
+ }
666
+ /**
667
+ * @return {?}
668
+ */
669
+ ngAfterContentChecked() {
670
+ this.tagObjects[0].instance = this.childLayers;
671
+ if (this.childAnnotations) {
672
+ this.tagObjects[1].instance = /** @type {?} */ (this.childAnnotations);
673
+ }
674
+ this.context.ngAfterContentChecked(this);
675
+ }
676
+ };
677
+ MapsComponent.decorators = [
678
+ { type: Component, args: [{
679
+ selector: 'ejs-maps',
680
+ inputs: inputs,
681
+ outputs: outputs$7,
682
+ template: '',
683
+ changeDetection: ChangeDetectionStrategy.OnPush,
684
+ queries: {
685
+ childLayers: new ContentChild(LayersDirective),
686
+ childAnnotations: new ContentChild(AnnotationsDirective)
687
+ }
688
+ },] },
689
+ ];
690
+ /**
691
+ * @nocollapse
692
+ */
693
+ MapsComponent.ctorParameters = () => [
694
+ { type: ElementRef, },
695
+ { type: Renderer2, },
696
+ { type: ViewContainerRef, },
697
+ { type: Injector, },
698
+ ];
699
+ MapsComponent = __decorate$4([
700
+ ComponentMixins([ComponentBase]),
701
+ __metadata$4("design:paramtypes", [ElementRef,
702
+ Renderer2,
703
+ ViewContainerRef,
704
+ Injector])
705
705
  ], MapsComponent);
706
706
 
707
- /**
708
- * NgModule definition for the Maps component.
709
- */
710
- class MapsModule {
711
- }
712
- MapsModule.decorators = [
713
- { type: NgModule, args: [{
714
- imports: [CommonModule],
715
- declarations: [
716
- MapsComponent,
717
- InitialShapeSelectionDirective,
718
- InitialShapeSelectionsDirective,
719
- MarkerDirective,
720
- MarkersDirective,
721
- ColorMappingDirective,
722
- ColorMappingsDirective,
723
- BubbleDirective,
724
- BubblesDirective,
725
- NavigationLineDirective,
726
- NavigationLinesDirective,
727
- LayerDirective,
728
- LayersDirective,
729
- AnnotationDirective,
730
- AnnotationsDirective
731
- ],
732
- exports: [
733
- MapsComponent,
734
- InitialShapeSelectionDirective,
735
- InitialShapeSelectionsDirective,
736
- MarkerDirective,
737
- MarkersDirective,
738
- ColorMappingDirective,
739
- ColorMappingsDirective,
740
- BubbleDirective,
741
- BubblesDirective,
742
- NavigationLineDirective,
743
- NavigationLinesDirective,
744
- LayerDirective,
745
- LayersDirective,
746
- AnnotationDirective,
747
- AnnotationsDirective
748
- ]
749
- },] },
750
- ];
751
- /**
752
- * @nocollapse
753
- */
707
+ /**
708
+ * NgModule definition for the Maps component.
709
+ */
710
+ class MapsModule {
711
+ }
712
+ MapsModule.decorators = [
713
+ { type: NgModule, args: [{
714
+ imports: [CommonModule],
715
+ declarations: [
716
+ MapsComponent,
717
+ InitialShapeSelectionDirective,
718
+ InitialShapeSelectionsDirective,
719
+ MarkerDirective,
720
+ MarkersDirective,
721
+ ColorMappingDirective,
722
+ ColorMappingsDirective,
723
+ BubbleDirective,
724
+ BubblesDirective,
725
+ NavigationLineDirective,
726
+ NavigationLinesDirective,
727
+ LayerDirective,
728
+ LayersDirective,
729
+ AnnotationDirective,
730
+ AnnotationsDirective
731
+ ],
732
+ exports: [
733
+ MapsComponent,
734
+ InitialShapeSelectionDirective,
735
+ InitialShapeSelectionsDirective,
736
+ MarkerDirective,
737
+ MarkersDirective,
738
+ ColorMappingDirective,
739
+ ColorMappingsDirective,
740
+ BubbleDirective,
741
+ BubblesDirective,
742
+ NavigationLineDirective,
743
+ NavigationLinesDirective,
744
+ LayerDirective,
745
+ LayersDirective,
746
+ AnnotationDirective,
747
+ AnnotationsDirective
748
+ ]
749
+ },] },
750
+ ];
751
+ /**
752
+ * @nocollapse
753
+ */
754
754
  MapsModule.ctorParameters = () => [];
755
755
 
756
- const BubbleService = { provide: 'MapsBubble', useValue: Bubble };
757
- const LegendService = { provide: 'MapsLegend', useValue: Legend };
758
- const MarkerService = { provide: 'MapsMarker', useValue: Marker };
759
- const HighlightService = { provide: 'MapsHighlight', useValue: Highlight };
760
- const SelectionService = { provide: 'MapsSelection', useValue: Selection };
761
- const MapsTooltipService = { provide: 'MapsMapsTooltip', useValue: MapsTooltip };
762
- const ZoomService = { provide: 'MapsZoom', useValue: Zoom };
763
- const DataLabelService = { provide: 'MapsDataLabel', useValue: DataLabel };
764
- const NavigationLineService = { provide: 'MapsNavigationLine', useValue: NavigationLine };
765
- const AnnotationsService = { provide: 'MapsAnnotations', useValue: Annotations };
766
- const PrintService = { provide: 'MapsPrint', useValue: Print };
767
- const PdfExportService = { provide: 'MapsPdfExport', useValue: PdfExport };
768
- const ImageExportService = { provide: 'MapsImageExport', useValue: ImageExport };
769
- const PolygonService = { provide: 'MapsPolygon', useValue: Polygon };
770
- /**
771
- * NgModule definition for the Maps component with providers.
772
- */
773
- class MapsAllModule {
774
- }
775
- MapsAllModule.decorators = [
776
- { type: NgModule, args: [{
777
- imports: [CommonModule, MapsModule],
778
- exports: [
779
- MapsModule
780
- ],
781
- providers: [
782
- BubbleService,
783
- LegendService,
784
- MarkerService,
785
- HighlightService,
786
- SelectionService,
787
- MapsTooltipService,
788
- ZoomService,
789
- DataLabelService,
790
- NavigationLineService,
791
- AnnotationsService,
792
- PrintService,
793
- PdfExportService,
794
- ImageExportService,
795
- PolygonService
796
- ]
797
- },] },
798
- ];
799
- /**
800
- * @nocollapse
801
- */
756
+ const BubbleService = { provide: 'MapsBubble', useValue: Bubble };
757
+ const LegendService = { provide: 'MapsLegend', useValue: Legend };
758
+ const MarkerService = { provide: 'MapsMarker', useValue: Marker };
759
+ const HighlightService = { provide: 'MapsHighlight', useValue: Highlight };
760
+ const SelectionService = { provide: 'MapsSelection', useValue: Selection };
761
+ const MapsTooltipService = { provide: 'MapsMapsTooltip', useValue: MapsTooltip };
762
+ const ZoomService = { provide: 'MapsZoom', useValue: Zoom };
763
+ const DataLabelService = { provide: 'MapsDataLabel', useValue: DataLabel };
764
+ const NavigationLineService = { provide: 'MapsNavigationLine', useValue: NavigationLine };
765
+ const AnnotationsService = { provide: 'MapsAnnotations', useValue: Annotations };
766
+ const PrintService = { provide: 'MapsPrint', useValue: Print };
767
+ const PdfExportService = { provide: 'MapsPdfExport', useValue: PdfExport };
768
+ const ImageExportService = { provide: 'MapsImageExport', useValue: ImageExport };
769
+ const PolygonService = { provide: 'MapsPolygon', useValue: Polygon };
770
+ /**
771
+ * NgModule definition for the Maps component with providers.
772
+ */
773
+ class MapsAllModule {
774
+ }
775
+ MapsAllModule.decorators = [
776
+ { type: NgModule, args: [{
777
+ imports: [CommonModule, MapsModule],
778
+ exports: [
779
+ MapsModule
780
+ ],
781
+ providers: [
782
+ BubbleService,
783
+ LegendService,
784
+ MarkerService,
785
+ HighlightService,
786
+ SelectionService,
787
+ MapsTooltipService,
788
+ ZoomService,
789
+ DataLabelService,
790
+ NavigationLineService,
791
+ AnnotationsService,
792
+ PrintService,
793
+ PdfExportService,
794
+ ImageExportService,
795
+ PolygonService
796
+ ]
797
+ },] },
798
+ ];
799
+ /**
800
+ * @nocollapse
801
+ */
802
802
  MapsAllModule.ctorParameters = () => [];
803
803
 
804
- /**
805
- * Generated bundle index. Do not edit.
804
+ /**
805
+ * Generated bundle index. Do not edit.
806
806
  */
807
807
 
808
808
  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 };