@syncfusion/ej2-angular-maps 26.1.35 → 26.1.41

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 (136) hide show
  1. package/CHANGELOG.md +2 -0
  2. package/package.json +7 -7
  3. package/schematics/collection.json +0 -45
  4. package/schematics/generators/maps-annotation/images/__path__/__name@dasherize__/compass.svg +0 -197
  5. package/schematics/generators/maps-annotation/index.d.ts +0 -3
  6. package/schematics/generators/maps-annotation/index.js +0 -8
  7. package/schematics/generators/maps-annotation/index.ts +0 -8
  8. package/schematics/generators/maps-annotation/sample-details.d.ts +0 -5
  9. package/schematics/generators/maps-annotation/sample-details.js +0 -7
  10. package/schematics/generators/maps-annotation/sample-details.ts +0 -5
  11. package/schematics/generators/maps-annotation/samples/__path__/__name@dasherize@if-flat__/__name@dasherize__.component.css +0 -21
  12. package/schematics/generators/maps-annotation/samples/__path__/__name@dasherize@if-flat__/__name@dasherize__.component.html +0 -15
  13. package/schematics/generators/maps-annotation/samples/__path__/__name@dasherize@if-flat__/__name@dasherize__.component.ts +0 -58
  14. package/schematics/generators/maps-annotation/schema.d.ts +0 -3
  15. package/schematics/generators/maps-annotation/schema.js +0 -2
  16. package/schematics/generators/maps-annotation/schema.json +0 -125
  17. package/schematics/generators/maps-annotation/schema.ts +0 -3
  18. package/schematics/generators/maps-bubble/index.d.ts +0 -3
  19. package/schematics/generators/maps-bubble/index.js +0 -8
  20. package/schematics/generators/maps-bubble/index.ts +0 -8
  21. package/schematics/generators/maps-bubble/sample-details.d.ts +0 -5
  22. package/schematics/generators/maps-bubble/sample-details.js +0 -7
  23. package/schematics/generators/maps-bubble/sample-details.ts +0 -5
  24. package/schematics/generators/maps-bubble/samples/__path__/__name@dasherize@if-flat__/__name@dasherize__.component.css +0 -3
  25. package/schematics/generators/maps-bubble/samples/__path__/__name@dasherize@if-flat__/__name@dasherize__.component.html +0 -10
  26. package/schematics/generators/maps-bubble/samples/__path__/__name@dasherize@if-flat__/__name@dasherize__.component.ts +0 -72
  27. package/schematics/generators/maps-bubble/samples/__path__/__name@dasherize@if-flat__/assets/population-data.ts +0 -46
  28. package/schematics/generators/maps-bubble/samples/__path__/__name@dasherize@if-flat__/assets/world-map.ts +0 -184
  29. package/schematics/generators/maps-bubble/schema.d.ts +0 -3
  30. package/schematics/generators/maps-bubble/schema.js +0 -2
  31. package/schematics/generators/maps-bubble/schema.json +0 -125
  32. package/schematics/generators/maps-bubble/schema.ts +0 -3
  33. package/schematics/generators/maps-color-mapping/images/__path__/__name@dasherize__/ballon.png +0 -0
  34. package/schematics/generators/maps-color-mapping/index.d.ts +0 -3
  35. package/schematics/generators/maps-color-mapping/index.js +0 -8
  36. package/schematics/generators/maps-color-mapping/index.ts +0 -8
  37. package/schematics/generators/maps-color-mapping/sample-details.d.ts +0 -5
  38. package/schematics/generators/maps-color-mapping/sample-details.js +0 -7
  39. package/schematics/generators/maps-color-mapping/sample-details.ts +0 -5
  40. package/schematics/generators/maps-color-mapping/samples/__path__/__name@dasherize@if-flat__/__name@dasherize__.component.css +0 -3
  41. package/schematics/generators/maps-color-mapping/samples/__path__/__name@dasherize@if-flat__/__name@dasherize__.component.html +0 -8
  42. package/schematics/generators/maps-color-mapping/samples/__path__/__name@dasherize@if-flat__/__name@dasherize__.component.ts +0 -77
  43. package/schematics/generators/maps-color-mapping/schema.d.ts +0 -3
  44. package/schematics/generators/maps-color-mapping/schema.js +0 -2
  45. package/schematics/generators/maps-color-mapping/schema.json +0 -125
  46. package/schematics/generators/maps-color-mapping/schema.ts +0 -3
  47. package/schematics/generators/maps-default/images/__path__/__name@dasherize__/ballon.png +0 -0
  48. package/schematics/generators/maps-default/index.d.ts +0 -3
  49. package/schematics/generators/maps-default/index.js +0 -8
  50. package/schematics/generators/maps-default/index.ts +0 -8
  51. package/schematics/generators/maps-default/sample-details.d.ts +0 -5
  52. package/schematics/generators/maps-default/sample-details.js +0 -7
  53. package/schematics/generators/maps-default/sample-details.ts +0 -5
  54. package/schematics/generators/maps-default/samples/__path__/__name@dasherize@if-flat__/__name@dasherize__.component.css +0 -3
  55. package/schematics/generators/maps-default/samples/__path__/__name@dasherize@if-flat__/__name@dasherize__.component.html +0 -10
  56. package/schematics/generators/maps-default/samples/__path__/__name@dasherize@if-flat__/__name@dasherize__.component.ts +0 -33
  57. package/schematics/generators/maps-default/schema.d.ts +0 -3
  58. package/schematics/generators/maps-default/schema.js +0 -2
  59. package/schematics/generators/maps-default/schema.json +0 -125
  60. package/schematics/generators/maps-default/schema.ts +0 -3
  61. package/schematics/generators/maps-label/index.d.ts +0 -3
  62. package/schematics/generators/maps-label/index.js +0 -8
  63. package/schematics/generators/maps-label/index.ts +0 -8
  64. package/schematics/generators/maps-label/sample-details.d.ts +0 -5
  65. package/schematics/generators/maps-label/sample-details.js +0 -7
  66. package/schematics/generators/maps-label/sample-details.ts +0 -5
  67. package/schematics/generators/maps-label/samples/__path__/__name@dasherize@if-flat__/__name@dasherize__.component.css +0 -3
  68. package/schematics/generators/maps-label/samples/__path__/__name@dasherize@if-flat__/__name@dasherize__.component.html +0 -8
  69. package/schematics/generators/maps-label/samples/__path__/__name@dasherize@if-flat__/__name@dasherize__.component.ts +0 -38
  70. package/schematics/generators/maps-label/samples/__path__/__name@dasherize@if-flat__/assets/world-map.ts +0 -184
  71. package/schematics/generators/maps-label/schema.d.ts +0 -3
  72. package/schematics/generators/maps-label/schema.js +0 -2
  73. package/schematics/generators/maps-label/schema.json +0 -125
  74. package/schematics/generators/maps-label/schema.ts +0 -3
  75. package/schematics/generators/maps-legend/images/__path__/__name@dasherize__/ballon.png +0 -0
  76. package/schematics/generators/maps-legend/index.d.ts +0 -3
  77. package/schematics/generators/maps-legend/index.js +0 -8
  78. package/schematics/generators/maps-legend/index.ts +0 -8
  79. package/schematics/generators/maps-legend/sample-details.d.ts +0 -5
  80. package/schematics/generators/maps-legend/sample-details.js +0 -7
  81. package/schematics/generators/maps-legend/sample-details.ts +0 -5
  82. package/schematics/generators/maps-legend/samples/__path__/__name@dasherize@if-flat__/__name@dasherize__.component.css +0 -3
  83. package/schematics/generators/maps-legend/samples/__path__/__name@dasherize@if-flat__/__name@dasherize__.component.html +0 -8
  84. package/schematics/generators/maps-legend/samples/__path__/__name@dasherize@if-flat__/__name@dasherize__.component.ts +0 -102
  85. package/schematics/generators/maps-legend/schema.d.ts +0 -3
  86. package/schematics/generators/maps-legend/schema.js +0 -2
  87. package/schematics/generators/maps-legend/schema.json +0 -125
  88. package/schematics/generators/maps-legend/schema.ts +0 -3
  89. package/schematics/generators/maps-marker/images/__path__/__name@dasherize__/ballon.png +0 -0
  90. package/schematics/generators/maps-marker/index.d.ts +0 -3
  91. package/schematics/generators/maps-marker/index.js +0 -8
  92. package/schematics/generators/maps-marker/index.ts +0 -8
  93. package/schematics/generators/maps-marker/sample-details.d.ts +0 -5
  94. package/schematics/generators/maps-marker/sample-details.js +0 -7
  95. package/schematics/generators/maps-marker/sample-details.ts +0 -5
  96. package/schematics/generators/maps-marker/samples/__path__/__name@dasherize@if-flat__/__name@dasherize__.component.css +0 -3
  97. package/schematics/generators/maps-marker/samples/__path__/__name@dasherize@if-flat__/__name@dasherize__.component.html +0 -10
  98. package/schematics/generators/maps-marker/samples/__path__/__name@dasherize@if-flat__/__name@dasherize__.component.ts +0 -101
  99. package/schematics/generators/maps-marker/schema.d.ts +0 -3
  100. package/schematics/generators/maps-marker/schema.js +0 -2
  101. package/schematics/generators/maps-marker/schema.json +0 -125
  102. package/schematics/generators/maps-marker/schema.ts +0 -3
  103. package/schematics/generators/maps-navigation-line/index.d.ts +0 -3
  104. package/schematics/generators/maps-navigation-line/index.js +0 -8
  105. package/schematics/generators/maps-navigation-line/index.ts +0 -8
  106. package/schematics/generators/maps-navigation-line/sample-details.d.ts +0 -5
  107. package/schematics/generators/maps-navigation-line/sample-details.js +0 -7
  108. package/schematics/generators/maps-navigation-line/sample-details.ts +0 -5
  109. package/schematics/generators/maps-navigation-line/samples/__path__/__name@dasherize@if-flat__/__name@dasherize__.component.css +0 -19
  110. package/schematics/generators/maps-navigation-line/samples/__path__/__name@dasherize@if-flat__/__name@dasherize__.component.html +0 -6
  111. package/schematics/generators/maps-navigation-line/samples/__path__/__name@dasherize@if-flat__/__name@dasherize__.component.ts +0 -121
  112. package/schematics/generators/maps-navigation-line/samples/__path__/__name@dasherize@if-flat__/assets/map-location.ts +0 -128
  113. package/schematics/generators/maps-navigation-line/samples/__path__/__name@dasherize@if-flat__/assets/world-map.ts +0 -184
  114. package/schematics/generators/maps-navigation-line/schema.d.ts +0 -3
  115. package/schematics/generators/maps-navigation-line/schema.js +0 -2
  116. package/schematics/generators/maps-navigation-line/schema.json +0 -125
  117. package/schematics/generators/maps-navigation-line/schema.ts +0 -3
  118. package/schematics/generators/maps-osm/index.d.ts +0 -3
  119. package/schematics/generators/maps-osm/index.js +0 -8
  120. package/schematics/generators/maps-osm/index.ts +0 -8
  121. package/schematics/generators/maps-osm/sample-details.d.ts +0 -5
  122. package/schematics/generators/maps-osm/sample-details.js +0 -7
  123. package/schematics/generators/maps-osm/sample-details.ts +0 -5
  124. package/schematics/generators/maps-osm/samples/__path__/__name@dasherize@if-flat__/__name@dasherize__.component.css +0 -3
  125. package/schematics/generators/maps-osm/samples/__path__/__name@dasherize@if-flat__/__name@dasherize__.component.html +0 -10
  126. package/schematics/generators/maps-osm/samples/__path__/__name@dasherize@if-flat__/__name@dasherize__.component.ts +0 -33
  127. package/schematics/generators/maps-osm/schema.d.ts +0 -3
  128. package/schematics/generators/maps-osm/schema.js +0 -2
  129. package/schematics/generators/maps-osm/schema.json +0 -125
  130. package/schematics/generators/maps-osm/schema.ts +0 -3
  131. package/schematics/ng-add/index.d.ts +0 -3
  132. package/schematics/ng-add/index.js +0 -9
  133. package/schematics/ng-add/schema.d.ts +0 -13
  134. package/schematics/ng-add/schema.js +0 -2
  135. package/schematics/utils/lib-details.d.ts +0 -4
  136. 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;