@syncfusion/ej2-angular-maps 26.1.35 → 26.1.41-ngcc

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
Files changed (174) hide show
  1. package/@syncfusion/ej2-angular-maps.es5.js +877 -0
  2. package/@syncfusion/ej2-angular-maps.es5.js.map +1 -0
  3. package/@syncfusion/ej2-angular-maps.js +810 -0
  4. package/@syncfusion/ej2-angular-maps.js.map +1 -0
  5. package/dist/ej2-angular-maps.umd.js +1135 -0
  6. package/dist/ej2-angular-maps.umd.js.map +1 -0
  7. package/dist/ej2-angular-maps.umd.min.js +11 -0
  8. package/dist/ej2-angular-maps.umd.min.js.map +1 -0
  9. package/{syncfusion-ej2-angular-maps.d.ts → ej2-angular-maps.d.ts} +1 -1
  10. package/ej2-angular-maps.metadata.json +1 -0
  11. package/license +10 -0
  12. package/package.json +14 -28
  13. package/schematics/collection.json +0 -45
  14. package/src/maps/annotations.directive.d.ts +0 -5
  15. package/src/maps/bubblesettings.directive.d.ts +0 -5
  16. package/src/maps/colormapping.directive.d.ts +0 -5
  17. package/src/maps/initialshapeselection.directive.d.ts +0 -5
  18. package/src/maps/layers.directive.d.ts +0 -5
  19. package/src/maps/maps-all.module.d.ts +0 -6
  20. package/src/maps/maps.component.d.ts +0 -3
  21. package/src/maps/maps.module.d.ts +0 -13
  22. package/src/maps/markersettings.directive.d.ts +0 -5
  23. package/src/maps/navigationlinesettings.directive.d.ts +0 -5
  24. package/CHANGELOG.md +0 -603
  25. package/esm2020/public_api.mjs +0 -2
  26. package/esm2020/src/index.mjs +0 -12
  27. package/esm2020/src/maps/annotations.directive.mjs +0 -62
  28. package/esm2020/src/maps/bubblesettings.directive.mjs +0 -71
  29. package/esm2020/src/maps/colormapping.directive.mjs +0 -61
  30. package/esm2020/src/maps/initialshapeselection.directive.mjs +0 -59
  31. package/esm2020/src/maps/layers.directive.mjs +0 -64
  32. package/esm2020/src/maps/maps-all.module.mjs +0 -68
  33. package/esm2020/src/maps/maps.component.mjs +0 -168
  34. package/esm2020/src/maps/maps.module.mjs +0 -88
  35. package/esm2020/src/maps/markersettings.directive.mjs +0 -73
  36. package/esm2020/src/maps/navigationlinesettings.directive.mjs +0 -67
  37. package/esm2020/syncfusion-ej2-angular-maps.mjs +0 -5
  38. package/fesm2015/syncfusion-ej2-angular-maps.mjs +0 -737
  39. package/fesm2015/syncfusion-ej2-angular-maps.mjs.map +0 -1
  40. package/fesm2020/syncfusion-ej2-angular-maps.mjs +0 -737
  41. package/fesm2020/syncfusion-ej2-angular-maps.mjs.map +0 -1
  42. package/schematics/generators/maps-annotation/images/__path__/__name@dasherize__/compass.svg +0 -197
  43. package/schematics/generators/maps-annotation/index.d.ts +0 -3
  44. package/schematics/generators/maps-annotation/index.js +0 -8
  45. package/schematics/generators/maps-annotation/index.ts +0 -8
  46. package/schematics/generators/maps-annotation/sample-details.d.ts +0 -5
  47. package/schematics/generators/maps-annotation/sample-details.js +0 -7
  48. package/schematics/generators/maps-annotation/sample-details.ts +0 -5
  49. package/schematics/generators/maps-annotation/samples/__path__/__name@dasherize@if-flat__/__name@dasherize__.component.css +0 -21
  50. package/schematics/generators/maps-annotation/samples/__path__/__name@dasherize@if-flat__/__name@dasherize__.component.html +0 -15
  51. package/schematics/generators/maps-annotation/samples/__path__/__name@dasherize@if-flat__/__name@dasherize__.component.ts +0 -58
  52. package/schematics/generators/maps-annotation/schema.d.ts +0 -3
  53. package/schematics/generators/maps-annotation/schema.js +0 -2
  54. package/schematics/generators/maps-annotation/schema.json +0 -125
  55. package/schematics/generators/maps-annotation/schema.ts +0 -3
  56. package/schematics/generators/maps-bubble/index.d.ts +0 -3
  57. package/schematics/generators/maps-bubble/index.js +0 -8
  58. package/schematics/generators/maps-bubble/index.ts +0 -8
  59. package/schematics/generators/maps-bubble/sample-details.d.ts +0 -5
  60. package/schematics/generators/maps-bubble/sample-details.js +0 -7
  61. package/schematics/generators/maps-bubble/sample-details.ts +0 -5
  62. package/schematics/generators/maps-bubble/samples/__path__/__name@dasherize@if-flat__/__name@dasherize__.component.css +0 -3
  63. package/schematics/generators/maps-bubble/samples/__path__/__name@dasherize@if-flat__/__name@dasherize__.component.html +0 -10
  64. package/schematics/generators/maps-bubble/samples/__path__/__name@dasherize@if-flat__/__name@dasherize__.component.ts +0 -72
  65. package/schematics/generators/maps-bubble/samples/__path__/__name@dasherize@if-flat__/assets/population-data.ts +0 -46
  66. package/schematics/generators/maps-bubble/samples/__path__/__name@dasherize@if-flat__/assets/world-map.ts +0 -184
  67. package/schematics/generators/maps-bubble/schema.d.ts +0 -3
  68. package/schematics/generators/maps-bubble/schema.js +0 -2
  69. package/schematics/generators/maps-bubble/schema.json +0 -125
  70. package/schematics/generators/maps-bubble/schema.ts +0 -3
  71. package/schematics/generators/maps-color-mapping/images/__path__/__name@dasherize__/ballon.png +0 -0
  72. package/schematics/generators/maps-color-mapping/index.d.ts +0 -3
  73. package/schematics/generators/maps-color-mapping/index.js +0 -8
  74. package/schematics/generators/maps-color-mapping/index.ts +0 -8
  75. package/schematics/generators/maps-color-mapping/sample-details.d.ts +0 -5
  76. package/schematics/generators/maps-color-mapping/sample-details.js +0 -7
  77. package/schematics/generators/maps-color-mapping/sample-details.ts +0 -5
  78. package/schematics/generators/maps-color-mapping/samples/__path__/__name@dasherize@if-flat__/__name@dasherize__.component.css +0 -3
  79. package/schematics/generators/maps-color-mapping/samples/__path__/__name@dasherize@if-flat__/__name@dasherize__.component.html +0 -8
  80. package/schematics/generators/maps-color-mapping/samples/__path__/__name@dasherize@if-flat__/__name@dasherize__.component.ts +0 -77
  81. package/schematics/generators/maps-color-mapping/schema.d.ts +0 -3
  82. package/schematics/generators/maps-color-mapping/schema.js +0 -2
  83. package/schematics/generators/maps-color-mapping/schema.json +0 -125
  84. package/schematics/generators/maps-color-mapping/schema.ts +0 -3
  85. package/schematics/generators/maps-default/images/__path__/__name@dasherize__/ballon.png +0 -0
  86. package/schematics/generators/maps-default/index.d.ts +0 -3
  87. package/schematics/generators/maps-default/index.js +0 -8
  88. package/schematics/generators/maps-default/index.ts +0 -8
  89. package/schematics/generators/maps-default/sample-details.d.ts +0 -5
  90. package/schematics/generators/maps-default/sample-details.js +0 -7
  91. package/schematics/generators/maps-default/sample-details.ts +0 -5
  92. package/schematics/generators/maps-default/samples/__path__/__name@dasherize@if-flat__/__name@dasherize__.component.css +0 -3
  93. package/schematics/generators/maps-default/samples/__path__/__name@dasherize@if-flat__/__name@dasherize__.component.html +0 -10
  94. package/schematics/generators/maps-default/samples/__path__/__name@dasherize@if-flat__/__name@dasherize__.component.ts +0 -33
  95. package/schematics/generators/maps-default/schema.d.ts +0 -3
  96. package/schematics/generators/maps-default/schema.js +0 -2
  97. package/schematics/generators/maps-default/schema.json +0 -125
  98. package/schematics/generators/maps-default/schema.ts +0 -3
  99. package/schematics/generators/maps-label/index.d.ts +0 -3
  100. package/schematics/generators/maps-label/index.js +0 -8
  101. package/schematics/generators/maps-label/index.ts +0 -8
  102. package/schematics/generators/maps-label/sample-details.d.ts +0 -5
  103. package/schematics/generators/maps-label/sample-details.js +0 -7
  104. package/schematics/generators/maps-label/sample-details.ts +0 -5
  105. package/schematics/generators/maps-label/samples/__path__/__name@dasherize@if-flat__/__name@dasherize__.component.css +0 -3
  106. package/schematics/generators/maps-label/samples/__path__/__name@dasherize@if-flat__/__name@dasherize__.component.html +0 -8
  107. package/schematics/generators/maps-label/samples/__path__/__name@dasherize@if-flat__/__name@dasherize__.component.ts +0 -38
  108. package/schematics/generators/maps-label/samples/__path__/__name@dasherize@if-flat__/assets/world-map.ts +0 -184
  109. package/schematics/generators/maps-label/schema.d.ts +0 -3
  110. package/schematics/generators/maps-label/schema.js +0 -2
  111. package/schematics/generators/maps-label/schema.json +0 -125
  112. package/schematics/generators/maps-label/schema.ts +0 -3
  113. package/schematics/generators/maps-legend/images/__path__/__name@dasherize__/ballon.png +0 -0
  114. package/schematics/generators/maps-legend/index.d.ts +0 -3
  115. package/schematics/generators/maps-legend/index.js +0 -8
  116. package/schematics/generators/maps-legend/index.ts +0 -8
  117. package/schematics/generators/maps-legend/sample-details.d.ts +0 -5
  118. package/schematics/generators/maps-legend/sample-details.js +0 -7
  119. package/schematics/generators/maps-legend/sample-details.ts +0 -5
  120. package/schematics/generators/maps-legend/samples/__path__/__name@dasherize@if-flat__/__name@dasherize__.component.css +0 -3
  121. package/schematics/generators/maps-legend/samples/__path__/__name@dasherize@if-flat__/__name@dasherize__.component.html +0 -8
  122. package/schematics/generators/maps-legend/samples/__path__/__name@dasherize@if-flat__/__name@dasherize__.component.ts +0 -102
  123. package/schematics/generators/maps-legend/schema.d.ts +0 -3
  124. package/schematics/generators/maps-legend/schema.js +0 -2
  125. package/schematics/generators/maps-legend/schema.json +0 -125
  126. package/schematics/generators/maps-legend/schema.ts +0 -3
  127. package/schematics/generators/maps-marker/images/__path__/__name@dasherize__/ballon.png +0 -0
  128. package/schematics/generators/maps-marker/index.d.ts +0 -3
  129. package/schematics/generators/maps-marker/index.js +0 -8
  130. package/schematics/generators/maps-marker/index.ts +0 -8
  131. package/schematics/generators/maps-marker/sample-details.d.ts +0 -5
  132. package/schematics/generators/maps-marker/sample-details.js +0 -7
  133. package/schematics/generators/maps-marker/sample-details.ts +0 -5
  134. package/schematics/generators/maps-marker/samples/__path__/__name@dasherize@if-flat__/__name@dasherize__.component.css +0 -3
  135. package/schematics/generators/maps-marker/samples/__path__/__name@dasherize@if-flat__/__name@dasherize__.component.html +0 -10
  136. package/schematics/generators/maps-marker/samples/__path__/__name@dasherize@if-flat__/__name@dasherize__.component.ts +0 -101
  137. package/schematics/generators/maps-marker/schema.d.ts +0 -3
  138. package/schematics/generators/maps-marker/schema.js +0 -2
  139. package/schematics/generators/maps-marker/schema.json +0 -125
  140. package/schematics/generators/maps-marker/schema.ts +0 -3
  141. package/schematics/generators/maps-navigation-line/index.d.ts +0 -3
  142. package/schematics/generators/maps-navigation-line/index.js +0 -8
  143. package/schematics/generators/maps-navigation-line/index.ts +0 -8
  144. package/schematics/generators/maps-navigation-line/sample-details.d.ts +0 -5
  145. package/schematics/generators/maps-navigation-line/sample-details.js +0 -7
  146. package/schematics/generators/maps-navigation-line/sample-details.ts +0 -5
  147. package/schematics/generators/maps-navigation-line/samples/__path__/__name@dasherize@if-flat__/__name@dasherize__.component.css +0 -19
  148. package/schematics/generators/maps-navigation-line/samples/__path__/__name@dasherize@if-flat__/__name@dasherize__.component.html +0 -6
  149. package/schematics/generators/maps-navigation-line/samples/__path__/__name@dasherize@if-flat__/__name@dasherize__.component.ts +0 -121
  150. package/schematics/generators/maps-navigation-line/samples/__path__/__name@dasherize@if-flat__/assets/map-location.ts +0 -128
  151. package/schematics/generators/maps-navigation-line/samples/__path__/__name@dasherize@if-flat__/assets/world-map.ts +0 -184
  152. package/schematics/generators/maps-navigation-line/schema.d.ts +0 -3
  153. package/schematics/generators/maps-navigation-line/schema.js +0 -2
  154. package/schematics/generators/maps-navigation-line/schema.json +0 -125
  155. package/schematics/generators/maps-navigation-line/schema.ts +0 -3
  156. package/schematics/generators/maps-osm/index.d.ts +0 -3
  157. package/schematics/generators/maps-osm/index.js +0 -8
  158. package/schematics/generators/maps-osm/index.ts +0 -8
  159. package/schematics/generators/maps-osm/sample-details.d.ts +0 -5
  160. package/schematics/generators/maps-osm/sample-details.js +0 -7
  161. package/schematics/generators/maps-osm/sample-details.ts +0 -5
  162. package/schematics/generators/maps-osm/samples/__path__/__name@dasherize@if-flat__/__name@dasherize__.component.css +0 -3
  163. package/schematics/generators/maps-osm/samples/__path__/__name@dasherize@if-flat__/__name@dasherize__.component.html +0 -10
  164. package/schematics/generators/maps-osm/samples/__path__/__name@dasherize@if-flat__/__name@dasherize__.component.ts +0 -33
  165. package/schematics/generators/maps-osm/schema.d.ts +0 -3
  166. package/schematics/generators/maps-osm/schema.js +0 -2
  167. package/schematics/generators/maps-osm/schema.json +0 -125
  168. package/schematics/generators/maps-osm/schema.ts +0 -3
  169. package/schematics/ng-add/index.d.ts +0 -3
  170. package/schematics/ng-add/index.js +0 -9
  171. package/schematics/ng-add/schema.d.ts +0 -13
  172. package/schematics/ng-add/schema.js +0 -2
  173. package/schematics/utils/lib-details.d.ts +0 -4
  174. package/schematics/utils/lib-details.js +0 -6
@@ -1,3 +0,0 @@
1
- import { Schema as ComponentSchema } from '@schematics/angular/component/schema';
2
- export interface Schema extends ComponentSchema {
3
- }
@@ -1,2 +0,0 @@
1
- "use strict";
2
- Object.defineProperty(exports, "__esModule", { value: true });
@@ -1,125 +0,0 @@
1
- {
2
- "$schema": "http://json-schema.org/schema",
3
- "$id": "EJ2SchemaTemplateID",
4
- "title": "maps-bubble",
5
- "type": "object",
6
- "properties": {
7
- "path": {
8
- "type": "string",
9
- "format": "path",
10
- "description": "The path to create the component.",
11
- "visible": false
12
- },
13
- "project": {
14
- "type": "string",
15
- "description": "The name of the project.",
16
- "$default": {
17
- "$source": "projectName"
18
- }
19
- },
20
- "name": {
21
- "type": "string",
22
- "description": "The name of the component.",
23
- "$default": {
24
- "$source": "argv",
25
- "index": 0
26
- }
27
- },
28
- "inlineStyle": {
29
- "description": "Specifies if the style will be in the ts file.",
30
- "type": "boolean",
31
- "default": false,
32
- "alias": "s"
33
- },
34
- "inlineTemplate": {
35
- "description": "Specifies if the template will be in the ts file.",
36
- "type": "boolean",
37
- "default": false,
38
- "alias": "t"
39
- },
40
- "viewEncapsulation": {
41
- "description": "Specifies the view encapsulation strategy.",
42
- "enum": [
43
- "Emulated",
44
- "Native",
45
- "None",
46
- "ShadowDom"
47
- ],
48
- "type": "string",
49
- "alias": "v"
50
- },
51
- "changeDetection": {
52
- "description": "Specifies the change detection strategy.",
53
- "enum": [
54
- "Default",
55
- "OnPush"
56
- ],
57
- "type": "string",
58
- "default": "Default",
59
- "alias": "c"
60
- },
61
- "prefix": {
62
- "type": "string",
63
- "description": "The prefix to apply to generated selectors.",
64
- "alias": "p",
65
- "oneOf": [
66
- {
67
- "maxLength": 0
68
- },
69
- {
70
- "minLength": 1,
71
- "format": "html-selector"
72
- }
73
- ]
74
- },
75
- "styleext": {
76
- "description": "The file extension to be used for style files.",
77
- "type": "string",
78
- "default": "css"
79
- },
80
- "spec": {
81
- "type": "boolean",
82
- "description": "Specifies if a spec file is generated.",
83
- "default": true
84
- },
85
- "flat": {
86
- "type": "boolean",
87
- "description": "Flag to indicate if a dir is created.",
88
- "default": false
89
- },
90
- "skipImport": {
91
- "type": "boolean",
92
- "description": "Flag to skip the module import.",
93
- "default": false
94
- },
95
- "selector": {
96
- "type": "string",
97
- "format": "html-selector",
98
- "description": "The selector to use for the component."
99
- },
100
- "module": {
101
- "type": "string",
102
- "description": "Allows specification of the declaring module.",
103
- "alias": "m"
104
- },
105
- "export": {
106
- "type": "boolean",
107
- "default": false,
108
- "description": "Specifies if declaring module exports the component."
109
- },
110
- "entryComponent": {
111
- "type": "boolean",
112
- "default": false,
113
- "description": "Specifies if the component is an entry component of declaring module."
114
- },
115
- "lintFix": {
116
- "type": "boolean",
117
- "default": false,
118
- "description": "Specifies whether to apply lint fixes after generating the component."
119
- }
120
- },
121
- "required": [
122
- "name"
123
- ],
124
- "id": "maps-bubble"
125
- }
@@ -1,3 +0,0 @@
1
- import { Schema as ComponentSchema } from '@schematics/angular/component/schema';
2
-
3
- export interface Schema extends ComponentSchema { }
@@ -1,3 +0,0 @@
1
- import { Rule } from '@angular-devkit/schematics';
2
- import { Schema } from './schema';
3
- export default function (options: Schema): Rule;
@@ -1,8 +0,0 @@
1
- "use strict";
2
- Object.defineProperty(exports, "__esModule", { value: true });
3
- const schematics_1 = require("@syncfusion/ej2-angular-base/schematics");
4
- const sampleDetails = require("./sample-details");
5
- function default_1(options) {
6
- return schematics_1.componentBuilder(options, sampleDetails);
7
- }
8
- exports.default = default_1;
@@ -1,8 +0,0 @@
1
- import { Rule } from '@angular-devkit/schematics';
2
- import { componentBuilder } from "@syncfusion/ej2-angular-base/schematics";
3
- import { Schema } from './schema';
4
- import * as sampleDetails from './sample-details';
5
-
6
- export default function (options: Schema): Rule {
7
- return componentBuilder(options, sampleDetails);
8
- }
@@ -1,5 +0,0 @@
1
- export declare const componentName: string;
2
- export declare const sampleName: string;
3
- export declare const diModules: string;
4
- export declare const packageName: string;
5
- export declare const libModules: string;
@@ -1,7 +0,0 @@
1
- "use strict";
2
- Object.defineProperty(exports, "__esModule", { value: true });
3
- exports.componentName = 'maps';
4
- exports.sampleName = 'color-mapping';
5
- exports.diModules = null;
6
- exports.packageName = '@syncfusion/ej2-angular-maps';
7
- exports.libModules = 'MapsModule';
@@ -1,5 +0,0 @@
1
- export const componentName: string = 'maps';
2
- export const sampleName: string = 'color-mapping';
3
- export const diModules: string = null;
4
- export const packageName: string = '@syncfusion/ej2-angular-maps';
5
- export const libModules: string = 'MapsModule';
@@ -1,8 +0,0 @@
1
- <div class="control-section">
2
- <div class="col-lg-9">
3
- <ejs-maps id='maps' #maps style="display:block;" [zoomSettings]='zoomSettings' [layers]='layers' [legendSettings]="legendSettings"
4
- [titleSettings]="titleSettings" (load)="load($event)">
5
- </ejs-maps>
6
- </div>
7
-
8
-
@@ -1,77 +0,0 @@
1
- /* eslint-disable */
2
- import { Component, ViewEncapsulation, ViewChild } from '@angular/core';
3
- import { MapsTheme, Maps, Zoom, Legend, MapsTooltip, ILoadEventArgs } from '@syncfusion/ej2-angular-maps';
4
- import { world_map } from './assets/world-map';
5
-
6
- Maps.Inject(Zoom, Legend, MapsTooltip);
7
- @Component({
8
- selector: '<%=dasherize(selector)%>',
9
- templateUrl: '<%=dasherize(name)%>.component.html',
10
- styleUrls: ['<%=dasherize(name)%>.component.css'],
11
- encapsulation: ViewEncapsulation.None
12
- })
13
- export class <%= classify(name) %>Component {
14
- @ViewChild('maps')
15
- public maps: Maps;
16
- public load = (args: ILoadEventArgs) => {
17
- let theme: string = location.hash.split('/')[1];
18
- theme = theme ? theme : 'Material';
19
- args.maps.theme = <MapsTheme>(theme.charAt(0).toUpperCase() + theme.slice(1));
20
- }
21
- public zoomSettings: object= {
22
- enable: false
23
- };
24
- public legendSettings: object = { visible: true };
25
-
26
- public titleSettings: object = {
27
- text: 'Members of the UN Security Council',
28
- titleStyle: { size: '16px' },
29
- subtitleSettings: {
30
- text: '- In 2017',
31
- titleStyle: { alignment: 'Far' }
32
- }
33
- };
34
-
35
- public layers: object[] = [
36
- {
37
- shapeData: world_map,
38
- shapeDataPath: 'Country',
39
- shapePropertyPath: 'name',
40
- dataSource : [
41
- { Country: 'China', Membership: 'Permanent' },
42
- { Country: 'France', Membership: 'Permanent' },
43
- { Country: 'Russia', Membership: 'Permanent' },
44
- { Country: 'United Kingdom', Membership: 'Permanent' },
45
- { Country: 'United States', Membership: 'Permanent' },
46
- { Country: 'Bolivia', Membership: 'Non-Permanent' },
47
- { Country: 'Eq. Guinea', Membership: 'Non-Permanent' },
48
- { Country: 'Ethiopia', Membership: 'Non-Permanent' },
49
- { Country: 'Côte d Ivoire', Membership: 'Permanent' },
50
- { Country: 'Kazakhstan', Membership: 'Non-Permanent' },
51
- { Country: 'Kuwait', Membership: 'Non-Permanent' },
52
- { Country: 'Netherlands', Membership: 'Non-Permanent' },
53
- { Country: 'Peru', Membership: 'Non-Permanent' },
54
- { Country: 'Poland', Membership: 'Non-Permanent' },
55
- { Country: 'Sweden', Membership: 'Non-Permanent' },
56
- ],
57
- tooltipSettings: {
58
- visible: true,
59
- valuePath: 'Country',
60
- },
61
- shapeSettings: {
62
- fill: '#E5E5E5',
63
- colorMapping: [
64
- {
65
- value: 'Permanent',
66
- color: '#EDB46F'
67
- },
68
- {
69
- color: '#F1931B',
70
- value: 'Non-Permanent'
71
- }
72
- ],
73
- colorValuePath: 'Membership'
74
- }
75
- }
76
- ];
77
- }
@@ -1,3 +0,0 @@
1
- import { Schema as ComponentSchema } from '@schematics/angular/component/schema';
2
- export interface Schema extends ComponentSchema {
3
- }
@@ -1,2 +0,0 @@
1
- "use strict";
2
- Object.defineProperty(exports, "__esModule", { value: true });
@@ -1,125 +0,0 @@
1
- {
2
- "$schema": "http://json-schema.org/schema",
3
- "$id": "EJ2SchemaTemplateID",
4
- "title": "maps-color-mapping",
5
- "type": "object",
6
- "properties": {
7
- "path": {
8
- "type": "string",
9
- "format": "path",
10
- "description": "The path to create the component.",
11
- "visible": false
12
- },
13
- "project": {
14
- "type": "string",
15
- "description": "The name of the project.",
16
- "$default": {
17
- "$source": "projectName"
18
- }
19
- },
20
- "name": {
21
- "type": "string",
22
- "description": "The name of the component.",
23
- "$default": {
24
- "$source": "argv",
25
- "index": 0
26
- }
27
- },
28
- "inlineStyle": {
29
- "description": "Specifies if the style will be in the ts file.",
30
- "type": "boolean",
31
- "default": false,
32
- "alias": "s"
33
- },
34
- "inlineTemplate": {
35
- "description": "Specifies if the template will be in the ts file.",
36
- "type": "boolean",
37
- "default": false,
38
- "alias": "t"
39
- },
40
- "viewEncapsulation": {
41
- "description": "Specifies the view encapsulation strategy.",
42
- "enum": [
43
- "Emulated",
44
- "Native",
45
- "None",
46
- "ShadowDom"
47
- ],
48
- "type": "string",
49
- "alias": "v"
50
- },
51
- "changeDetection": {
52
- "description": "Specifies the change detection strategy.",
53
- "enum": [
54
- "Default",
55
- "OnPush"
56
- ],
57
- "type": "string",
58
- "default": "Default",
59
- "alias": "c"
60
- },
61
- "prefix": {
62
- "type": "string",
63
- "description": "The prefix to apply to generated selectors.",
64
- "alias": "p",
65
- "oneOf": [
66
- {
67
- "maxLength": 0
68
- },
69
- {
70
- "minLength": 1,
71
- "format": "html-selector"
72
- }
73
- ]
74
- },
75
- "styleext": {
76
- "description": "The file extension to be used for style files.",
77
- "type": "string",
78
- "default": "css"
79
- },
80
- "spec": {
81
- "type": "boolean",
82
- "description": "Specifies if a spec file is generated.",
83
- "default": true
84
- },
85
- "flat": {
86
- "type": "boolean",
87
- "description": "Flag to indicate if a dir is created.",
88
- "default": false
89
- },
90
- "skipImport": {
91
- "type": "boolean",
92
- "description": "Flag to skip the module import.",
93
- "default": false
94
- },
95
- "selector": {
96
- "type": "string",
97
- "format": "html-selector",
98
- "description": "The selector to use for the component."
99
- },
100
- "module": {
101
- "type": "string",
102
- "description": "Allows specification of the declaring module.",
103
- "alias": "m"
104
- },
105
- "export": {
106
- "type": "boolean",
107
- "default": false,
108
- "description": "Specifies if declaring module exports the component."
109
- },
110
- "entryComponent": {
111
- "type": "boolean",
112
- "default": false,
113
- "description": "Specifies if the component is an entry component of declaring module."
114
- },
115
- "lintFix": {
116
- "type": "boolean",
117
- "default": false,
118
- "description": "Specifies whether to apply lint fixes after generating the component."
119
- }
120
- },
121
- "required": [
122
- "name"
123
- ],
124
- "id": "maps-color-mapping"
125
- }
@@ -1,3 +0,0 @@
1
- import { Schema as ComponentSchema } from '@schematics/angular/component/schema';
2
-
3
- export interface Schema extends ComponentSchema { }
@@ -1,3 +0,0 @@
1
- import { Rule } from '@angular-devkit/schematics';
2
- import { Schema } from './schema';
3
- export default function (options: Schema): Rule;
@@ -1,8 +0,0 @@
1
- "use strict";
2
- Object.defineProperty(exports, "__esModule", { value: true });
3
- const schematics_1 = require("@syncfusion/ej2-angular-base/schematics");
4
- const sampleDetails = require("./sample-details");
5
- function default_1(options) {
6
- return schematics_1.componentBuilder(options, sampleDetails);
7
- }
8
- exports.default = default_1;
@@ -1,8 +0,0 @@
1
- import { Rule } from '@angular-devkit/schematics';
2
- import { componentBuilder } from "@syncfusion/ej2-angular-base/schematics";
3
- import { Schema } from './schema';
4
- import * as sampleDetails from './sample-details';
5
-
6
- export default function (options: Schema): Rule {
7
- return componentBuilder(options, sampleDetails);
8
- }
@@ -1,5 +0,0 @@
1
- export declare const componentName: string;
2
- export declare const sampleName: string;
3
- export declare const diModules: string;
4
- export declare const packageName: string;
5
- export declare const libModules: string;
@@ -1,7 +0,0 @@
1
- "use strict";
2
- Object.defineProperty(exports, "__esModule", { value: true });
3
- exports.componentName = 'maps';
4
- exports.sampleName = 'default';
5
- exports.diModules = null;
6
- exports.packageName = '@syncfusion/ej2-angular-maps';
7
- exports.libModules = 'MapsModule';
@@ -1,5 +0,0 @@
1
- export const componentName: string = 'maps';
2
- export const sampleName: string = 'default';
3
- export const diModules: string = null;
4
- export const packageName: string = '@syncfusion/ej2-angular-maps';
5
- export const libModules: string = 'MapsModule';
@@ -1,10 +0,0 @@
1
- <div class="control-section">
2
- <div align='center'>
3
- <ejs-maps id='container' style="display:block;" [zoomSettings]='zoomSettings' [layers]='layers'
4
- [titleSettings] = "titleSettings"
5
- (load)="load($event)">
6
- </ejs-maps>
7
- </div>
8
- </div>
9
-
10
-
@@ -1,33 +0,0 @@
1
- /* eslint-disable */
2
- import { Component, ViewEncapsulation } from '@angular/core';
3
- import { MapsTheme, Maps, Legend, Marker, MapsTooltip, ILoadEventArgs } from '@syncfusion/ej2-angular-maps';
4
- import { world_map } from './assets/world-map';
5
-
6
- @Component({
7
- selector: '<%=dasherize(selector)%>',
8
- templateUrl: '<%=dasherize(name)%>.component.html',
9
- styleUrls: ['<%=dasherize(name)%>.component.css'],
10
- encapsulation: ViewEncapsulation.None
11
- })
12
- export class <%= classify(name) %>Component {
13
- titleSettings: object = {
14
- text: 'World Map',
15
- textStyle: {
16
- size: '16px'
17
- }
18
- };
19
- public zoomSettings: object = {
20
- enable: true
21
- };
22
- public layers: object[] = [{
23
- shapeData: world_map
24
- }];
25
- public load = (args: ILoadEventArgs) => {
26
- let theme: string = location.hash.split('/')[1];
27
- theme = theme ? theme : 'Material';
28
- args.maps.theme = <MapsTheme>(theme.charAt(0).toUpperCase() + theme.slice(1));
29
- }
30
- constructor() {
31
- //code
32
- };
33
- }
@@ -1,3 +0,0 @@
1
- import { Schema as ComponentSchema } from '@schematics/angular/component/schema';
2
- export interface Schema extends ComponentSchema {
3
- }
@@ -1,2 +0,0 @@
1
- "use strict";
2
- Object.defineProperty(exports, "__esModule", { value: true });
@@ -1,125 +0,0 @@
1
- {
2
- "$schema": "http://json-schema.org/schema",
3
- "$id": "EJ2SchemaTemplateID",
4
- "title": "maps-default",
5
- "type": "object",
6
- "properties": {
7
- "path": {
8
- "type": "string",
9
- "format": "path",
10
- "description": "The path to create the component.",
11
- "visible": false
12
- },
13
- "project": {
14
- "type": "string",
15
- "description": "The name of the project.",
16
- "$default": {
17
- "$source": "projectName"
18
- }
19
- },
20
- "name": {
21
- "type": "string",
22
- "description": "The name of the component.",
23
- "$default": {
24
- "$source": "argv",
25
- "index": 0
26
- }
27
- },
28
- "inlineStyle": {
29
- "description": "Specifies if the style will be in the ts file.",
30
- "type": "boolean",
31
- "default": false,
32
- "alias": "s"
33
- },
34
- "inlineTemplate": {
35
- "description": "Specifies if the template will be in the ts file.",
36
- "type": "boolean",
37
- "default": false,
38
- "alias": "t"
39
- },
40
- "viewEncapsulation": {
41
- "description": "Specifies the view encapsulation strategy.",
42
- "enum": [
43
- "Emulated",
44
- "Native",
45
- "None",
46
- "ShadowDom"
47
- ],
48
- "type": "string",
49
- "alias": "v"
50
- },
51
- "changeDetection": {
52
- "description": "Specifies the change detection strategy.",
53
- "enum": [
54
- "Default",
55
- "OnPush"
56
- ],
57
- "type": "string",
58
- "default": "Default",
59
- "alias": "c"
60
- },
61
- "prefix": {
62
- "type": "string",
63
- "description": "The prefix to apply to generated selectors.",
64
- "alias": "p",
65
- "oneOf": [
66
- {
67
- "maxLength": 0
68
- },
69
- {
70
- "minLength": 1,
71
- "format": "html-selector"
72
- }
73
- ]
74
- },
75
- "styleext": {
76
- "description": "The file extension to be used for style files.",
77
- "type": "string",
78
- "default": "css"
79
- },
80
- "spec": {
81
- "type": "boolean",
82
- "description": "Specifies if a spec file is generated.",
83
- "default": true
84
- },
85
- "flat": {
86
- "type": "boolean",
87
- "description": "Flag to indicate if a dir is created.",
88
- "default": false
89
- },
90
- "skipImport": {
91
- "type": "boolean",
92
- "description": "Flag to skip the module import.",
93
- "default": false
94
- },
95
- "selector": {
96
- "type": "string",
97
- "format": "html-selector",
98
- "description": "The selector to use for the component."
99
- },
100
- "module": {
101
- "type": "string",
102
- "description": "Allows specification of the declaring module.",
103
- "alias": "m"
104
- },
105
- "export": {
106
- "type": "boolean",
107
- "default": false,
108
- "description": "Specifies if declaring module exports the component."
109
- },
110
- "entryComponent": {
111
- "type": "boolean",
112
- "default": false,
113
- "description": "Specifies if the component is an entry component of declaring module."
114
- },
115
- "lintFix": {
116
- "type": "boolean",
117
- "default": false,
118
- "description": "Specifies whether to apply lint fixes after generating the component."
119
- }
120
- },
121
- "required": [
122
- "name"
123
- ],
124
- "id": "maps-default"
125
- }
@@ -1,3 +0,0 @@
1
- import { Schema as ComponentSchema } from '@schematics/angular/component/schema';
2
-
3
- export interface Schema extends ComponentSchema { }
@@ -1,3 +0,0 @@
1
- import { Rule } from '@angular-devkit/schematics';
2
- import { Schema } from './schema';
3
- export default function (options: Schema): Rule;