@syncfusion/ej2-angular-schedule 31.1.17 → 31.1.20
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.
- package/package.json +7 -7
- package/schematics/collection.json +39 -10
- package/schematics/generators/schedule-agenda-views/index.d.ts +3 -0
- package/schematics/generators/schedule-agenda-views/index.js +8 -0
- package/schematics/generators/schedule-agenda-views/index.ts +8 -0
- package/schematics/generators/schedule-agenda-views/sample-details.d.ts +5 -0
- package/schematics/generators/schedule-agenda-views/sample-details.js +7 -0
- package/schematics/generators/schedule-agenda-views/sample-details.ts +5 -0
- package/schematics/generators/schedule-agenda-views/samples/__path__/__name@dasherize@if-flat__/__name@dasherize__.component.css +0 -0
- package/schematics/generators/schedule-agenda-views/samples/__path__/__name@dasherize@if-flat__/__name@dasherize__.component.html +13 -0
- package/schematics/generators/schedule-agenda-views/samples/__path__/__name@dasherize@if-flat__/__name@dasherize__.component.ts +18 -0
- package/schematics/generators/schedule-agenda-views/samples/__path__/__name@dasherize@if-flat__/assets/datasource.ts +29 -0
- package/schematics/generators/schedule-agenda-views/schema.d.ts +3 -0
- package/schematics/generators/schedule-agenda-views/schema.js +2 -0
- package/schematics/generators/schedule-agenda-views/schema.json +125 -0
- package/schematics/generators/schedule-agenda-views/schema.ts +3 -0
- package/schematics/generators/schedule-calendar-views/index.d.ts +3 -0
- package/schematics/generators/schedule-calendar-views/index.js +8 -0
- package/schematics/generators/schedule-calendar-views/index.ts +8 -0
- package/schematics/generators/schedule-calendar-views/sample-details.d.ts +5 -0
- package/schematics/generators/schedule-calendar-views/sample-details.js +7 -0
- package/schematics/generators/schedule-calendar-views/sample-details.ts +5 -0
- package/schematics/generators/schedule-calendar-views/samples/__path__/__name@dasherize@if-flat__/__name@dasherize__.component.css +0 -0
- package/schematics/generators/schedule-calendar-views/samples/__path__/__name@dasherize@if-flat__/__name@dasherize__.component.html +11 -0
- package/schematics/generators/schedule-calendar-views/samples/__path__/__name@dasherize@if-flat__/__name@dasherize__.component.ts +18 -0
- package/schematics/generators/schedule-calendar-views/samples/__path__/__name@dasherize@if-flat__/assets/datasource.ts +92 -0
- package/schematics/generators/schedule-calendar-views/schema.d.ts +3 -0
- package/schematics/generators/schedule-calendar-views/schema.js +2 -0
- package/schematics/generators/schedule-calendar-views/schema.json +125 -0
- package/schematics/generators/schedule-calendar-views/schema.ts +3 -0
- package/schematics/generators/schedule-horizontal-grouping/index.d.ts +3 -0
- package/schematics/generators/schedule-horizontal-grouping/index.js +8 -0
- package/schematics/generators/schedule-horizontal-grouping/index.ts +8 -0
- package/schematics/generators/schedule-horizontal-grouping/sample-details.d.ts +5 -0
- package/schematics/generators/schedule-horizontal-grouping/sample-details.js +7 -0
- package/schematics/generators/schedule-horizontal-grouping/sample-details.ts +5 -0
- package/schematics/generators/schedule-horizontal-grouping/samples/__path__/__name@dasherize@if-flat__/__name@dasherize__.component.css +92 -0
- package/schematics/generators/schedule-horizontal-grouping/samples/__path__/__name@dasherize@if-flat__/__name@dasherize__.component.html +29 -0
- package/schematics/generators/schedule-horizontal-grouping/samples/__path__/__name@dasherize@if-flat__/__name@dasherize__.component.ts +51 -0
- package/schematics/generators/schedule-horizontal-grouping/samples/__path__/__name@dasherize@if-flat__/assets/datasource.ts +25 -0
- package/schematics/generators/schedule-horizontal-grouping/schema.d.ts +3 -0
- package/schematics/generators/schedule-horizontal-grouping/schema.js +2 -0
- package/schematics/generators/schedule-horizontal-grouping/schema.json +125 -0
- package/schematics/generators/schedule-horizontal-grouping/schema.ts +3 -0
- package/schematics/generators/schedule-time-scale/index.d.ts +3 -0
- package/schematics/generators/schedule-time-scale/index.js +8 -0
- package/schematics/generators/schedule-time-scale/index.ts +8 -0
- package/schematics/generators/schedule-time-scale/sample-details.d.ts +5 -0
- package/schematics/generators/schedule-time-scale/sample-details.js +7 -0
- package/schematics/generators/schedule-time-scale/sample-details.ts +5 -0
- package/schematics/generators/schedule-time-scale/samples/__path__/__name@dasherize@if-flat__/__name@dasherize__.component.css +0 -0
- package/schematics/generators/schedule-time-scale/samples/__path__/__name@dasherize@if-flat__/__name@dasherize__.component.html +13 -0
- package/schematics/generators/schedule-time-scale/samples/__path__/__name@dasherize@if-flat__/__name@dasherize__.component.ts +22 -0
- package/schematics/generators/schedule-time-scale/samples/__path__/__name@dasherize@if-flat__/assets/datasource.ts +62 -0
- package/schematics/generators/schedule-time-scale/schema.d.ts +3 -0
- package/schematics/generators/schedule-time-scale/schema.js +2 -0
- package/schematics/generators/schedule-time-scale/schema.json +125 -0
- package/schematics/generators/schedule-time-scale/schema.ts +3 -0
- package/schematics/generators/schedule-timeline-grouping/index.d.ts +3 -0
- package/schematics/generators/schedule-timeline-grouping/index.js +8 -0
- package/schematics/generators/schedule-timeline-grouping/index.ts +8 -0
- package/schematics/generators/schedule-timeline-grouping/sample-details.d.ts +5 -0
- package/schematics/generators/schedule-timeline-grouping/sample-details.js +7 -0
- package/schematics/generators/schedule-timeline-grouping/sample-details.ts +5 -0
- package/schematics/generators/schedule-timeline-grouping/samples/__path__/__name@dasherize@if-flat__/__name@dasherize__.component.css +6 -0
- package/schematics/generators/schedule-timeline-grouping/samples/__path__/__name@dasherize@if-flat__/__name@dasherize__.component.html +23 -0
- package/schematics/generators/schedule-timeline-grouping/samples/__path__/__name@dasherize@if-flat__/__name@dasherize__.component.ts +39 -0
- package/schematics/generators/schedule-timeline-grouping/samples/__path__/__name@dasherize@if-flat__/assets/datasource.ts +92 -0
- package/schematics/generators/schedule-timeline-grouping/schema.d.ts +3 -0
- package/schematics/generators/schedule-timeline-grouping/schema.js +2 -0
- package/schematics/generators/schedule-timeline-grouping/schema.json +125 -0
- package/schematics/generators/schedule-timeline-grouping/schema.ts +3 -0
- package/schematics/generators/schedule-timeline-views/index.d.ts +3 -0
- package/schematics/generators/schedule-timeline-views/index.js +8 -0
- package/schematics/generators/schedule-timeline-views/index.ts +8 -0
- package/schematics/generators/schedule-timeline-views/sample-details.d.ts +5 -0
- package/schematics/generators/schedule-timeline-views/sample-details.js +7 -0
- package/schematics/generators/schedule-timeline-views/sample-details.ts +5 -0
- package/schematics/generators/schedule-timeline-views/samples/__path__/__name@dasherize@if-flat__/__name@dasherize__.component.css +0 -0
- package/schematics/generators/schedule-timeline-views/samples/__path__/__name@dasherize@if-flat__/__name@dasherize__.component.html +14 -0
- package/schematics/generators/schedule-timeline-views/samples/__path__/__name@dasherize@if-flat__/__name@dasherize__.component.ts +18 -0
- package/schematics/generators/schedule-timeline-views/samples/__path__/__name@dasherize@if-flat__/assets/datasource.ts +184 -0
- package/schematics/generators/schedule-timeline-views/schema.d.ts +3 -0
- package/schematics/generators/schedule-timeline-views/schema.js +2 -0
- package/schematics/generators/schedule-timeline-views/schema.json +125 -0
- package/schematics/generators/schedule-timeline-views/schema.ts +3 -0
- package/schematics/ng-add/index.ts +10 -10
- package/schematics/ng-add/schema.json +34 -34
- package/schematics/ng-add/schema.ts +30 -30
- package/schematics/tsconfig.json +25 -25
- package/schematics/utils/lib-details.d.ts +2 -2
- package/schematics/utils/lib-details.js +2 -2
- package/schematics/utils/lib-details.ts +4 -4
|
@@ -0,0 +1,184 @@
|
|
|
1
|
+
export let scheduleData: Object[] = [
|
|
2
|
+
{
|
|
3
|
+
Id: 1,
|
|
4
|
+
Subject: 'Explosion of Betelgeuse Star',
|
|
5
|
+
StartTime: new Date(2018, 1, 11, 9, 30),
|
|
6
|
+
EndTime: new Date(2018, 1, 11, 11, 0),
|
|
7
|
+
CategoryColor: '#1aaa55'
|
|
8
|
+
}, {
|
|
9
|
+
Id: 2,
|
|
10
|
+
Subject: 'Thule Air Crash Report',
|
|
11
|
+
StartTime: new Date(2018, 1, 12, 12, 0),
|
|
12
|
+
EndTime: new Date(2018, 1, 12, 14, 0),
|
|
13
|
+
CategoryColor: '#357cd2'
|
|
14
|
+
}, {
|
|
15
|
+
Id: 3,
|
|
16
|
+
Subject: 'Blue Moon Eclipse',
|
|
17
|
+
StartTime: new Date(2018, 1, 13, 9, 30),
|
|
18
|
+
EndTime: new Date(2018, 1, 13, 11, 0),
|
|
19
|
+
CategoryColor: '#7fa900'
|
|
20
|
+
}, {
|
|
21
|
+
Id: 4,
|
|
22
|
+
Subject: 'Meteor Showers in 2018',
|
|
23
|
+
StartTime: new Date(2018, 1, 14, 13, 0),
|
|
24
|
+
EndTime: new Date(2018, 1, 14, 14, 30),
|
|
25
|
+
CategoryColor: '#ea7a57'
|
|
26
|
+
}, {
|
|
27
|
+
Id: 5,
|
|
28
|
+
Subject: 'Milky Way as Melting pot',
|
|
29
|
+
StartTime: new Date(2018, 1, 15, 12, 0),
|
|
30
|
+
EndTime: new Date(2018, 1, 15, 14, 0),
|
|
31
|
+
CategoryColor: '#00bdae'
|
|
32
|
+
}, {
|
|
33
|
+
Id: 6,
|
|
34
|
+
Subject: 'Mysteries of Bermuda Triangle',
|
|
35
|
+
StartTime: new Date(2018, 1, 15, 9, 30),
|
|
36
|
+
EndTime: new Date(2018, 1, 15, 11, 0),
|
|
37
|
+
CategoryColor: '#f57f17'
|
|
38
|
+
}, {
|
|
39
|
+
Id: 7,
|
|
40
|
+
Subject: 'Glaciers and Snowflakes',
|
|
41
|
+
StartTime: new Date(2018, 1, 16, 11, 0),
|
|
42
|
+
EndTime: new Date(2018, 1, 16, 12, 30),
|
|
43
|
+
CategoryColor: '#1aaa55'
|
|
44
|
+
}, {
|
|
45
|
+
Id: 8,
|
|
46
|
+
Subject: 'Life on Mars',
|
|
47
|
+
StartTime: new Date(2018, 1, 17, 9, 0),
|
|
48
|
+
EndTime: new Date(2018, 1, 17, 10, 0),
|
|
49
|
+
CategoryColor: '#357cd2'
|
|
50
|
+
}, {
|
|
51
|
+
Id: 9,
|
|
52
|
+
Subject: 'Alien Civilization',
|
|
53
|
+
StartTime: new Date(2018, 1, 19, 11, 0),
|
|
54
|
+
EndTime: new Date(2018, 1, 19, 13, 0),
|
|
55
|
+
CategoryColor: '#7fa900'
|
|
56
|
+
}, {
|
|
57
|
+
Id: 10,
|
|
58
|
+
Subject: 'Wildlife Galleries',
|
|
59
|
+
StartTime: new Date(2018, 1, 21, 11, 0),
|
|
60
|
+
EndTime: new Date(2018, 1, 21, 13, 0),
|
|
61
|
+
CategoryColor: '#ea7a57'
|
|
62
|
+
}, {
|
|
63
|
+
Id: 11,
|
|
64
|
+
Subject: 'Best Photography 2018',
|
|
65
|
+
StartTime: new Date(2018, 1, 22, 9, 30),
|
|
66
|
+
EndTime: new Date(2018, 1, 22, 11, 0),
|
|
67
|
+
CategoryColor: '#00bdae'
|
|
68
|
+
}, {
|
|
69
|
+
Id: 12,
|
|
70
|
+
Subject: 'Smarter Puppies',
|
|
71
|
+
StartTime: new Date(2018, 1, 9, 10, 0),
|
|
72
|
+
EndTime: new Date(2018, 1, 9, 11, 30),
|
|
73
|
+
CategoryColor: '#f57f17'
|
|
74
|
+
}, {
|
|
75
|
+
Id: 13,
|
|
76
|
+
Subject: 'Myths of Andromeda Galaxy',
|
|
77
|
+
StartTime: new Date(2018, 1, 7, 10, 30),
|
|
78
|
+
EndTime: new Date(2018, 1, 7, 12, 30),
|
|
79
|
+
CategoryColor: '#1aaa55'
|
|
80
|
+
}, {
|
|
81
|
+
Id: 14,
|
|
82
|
+
Subject: 'Aliens vs Humans',
|
|
83
|
+
StartTime: new Date(2018, 1, 5, 10, 0),
|
|
84
|
+
EndTime: new Date(2018, 1, 5, 11, 30),
|
|
85
|
+
CategoryColor: '#357cd2'
|
|
86
|
+
}, {
|
|
87
|
+
Id: 15,
|
|
88
|
+
Subject: 'Facts of Humming Birds',
|
|
89
|
+
StartTime: new Date(2018, 1, 20, 9, 30),
|
|
90
|
+
EndTime: new Date(2018, 1, 20, 11, 0),
|
|
91
|
+
CategoryColor: '#7fa900'
|
|
92
|
+
}, {
|
|
93
|
+
Id: 16,
|
|
94
|
+
Subject: 'Sky Gazers',
|
|
95
|
+
StartTime: new Date(2018, 1, 23, 11, 0),
|
|
96
|
+
EndTime: new Date(2018, 1, 23, 13, 0),
|
|
97
|
+
CategoryColor: '#ea7a57'
|
|
98
|
+
}, {
|
|
99
|
+
Id: 17,
|
|
100
|
+
Subject: 'The Cycle of Seasons',
|
|
101
|
+
StartTime: new Date(2018, 1, 12, 5, 30),
|
|
102
|
+
EndTime: new Date(2018, 1, 12, 7, 30),
|
|
103
|
+
CategoryColor: '#00bdae'
|
|
104
|
+
}, {
|
|
105
|
+
Id: 18,
|
|
106
|
+
Subject: 'Space Galaxies and Planets',
|
|
107
|
+
StartTime: new Date(2018, 1, 12, 17, 0),
|
|
108
|
+
EndTime: new Date(2018, 1, 12, 18, 30),
|
|
109
|
+
CategoryColor: '#f57f17'
|
|
110
|
+
}, {
|
|
111
|
+
Id: 19,
|
|
112
|
+
Subject: 'Lifecycle of Bumblebee',
|
|
113
|
+
StartTime: new Date(2018, 1, 15, 6, 0),
|
|
114
|
+
EndTime: new Date(2018, 1, 15, 7, 30),
|
|
115
|
+
CategoryColor: '#7fa900'
|
|
116
|
+
}, {
|
|
117
|
+
Id: 20,
|
|
118
|
+
Subject: 'Alien Civilization',
|
|
119
|
+
StartTime: new Date(2018, 1, 15, 16, 0),
|
|
120
|
+
EndTime: new Date(2018, 1, 15, 18, 0),
|
|
121
|
+
CategoryColor: '#ea7a57'
|
|
122
|
+
}, {
|
|
123
|
+
Id: 21,
|
|
124
|
+
Subject: 'Alien Civilization',
|
|
125
|
+
StartTime: new Date(2018, 1, 11, 14, 0),
|
|
126
|
+
EndTime: new Date(2018, 1, 11, 16, 0),
|
|
127
|
+
CategoryColor: '#ea7a57'
|
|
128
|
+
}, {
|
|
129
|
+
Id: 22,
|
|
130
|
+
Subject: 'The Cycle of Seasons',
|
|
131
|
+
StartTime: new Date(2018, 1, 13, 14, 30),
|
|
132
|
+
EndTime: new Date(2018, 1, 13, 16, 0),
|
|
133
|
+
CategoryColor: '#00bdae'
|
|
134
|
+
}, {
|
|
135
|
+
Id: 23,
|
|
136
|
+
Subject: 'Sky Gazers',
|
|
137
|
+
StartTime: new Date(2018, 1, 16, 14, 30),
|
|
138
|
+
EndTime: new Date(2018, 1, 16, 16, 0),
|
|
139
|
+
CategoryColor: '#ea7a57'
|
|
140
|
+
}, {
|
|
141
|
+
Id: 24,
|
|
142
|
+
Subject: 'Facts of Humming Birds',
|
|
143
|
+
StartTime: new Date(2018, 1, 17, 12, 30),
|
|
144
|
+
EndTime: new Date(2018, 1, 17, 14, 30),
|
|
145
|
+
CategoryColor: '#7fa900'
|
|
146
|
+
},
|
|
147
|
+
{
|
|
148
|
+
Id: 25,
|
|
149
|
+
Subject: 'Sky Gazers',
|
|
150
|
+
StartTime: new Date(2018, 1, 15, 10, 30),
|
|
151
|
+
EndTime: new Date(2018, 1, 15, 12, 0),
|
|
152
|
+
CategoryColor: '#1aaa55'
|
|
153
|
+
}, {
|
|
154
|
+
Id: 26,
|
|
155
|
+
Subject: 'The Cycle of Seasons',
|
|
156
|
+
StartTime: new Date(2018, 1, 15, 11, 0),
|
|
157
|
+
EndTime: new Date(2018, 1, 15, 12, 30),
|
|
158
|
+
CategoryColor: '#7fa900'
|
|
159
|
+
}, {
|
|
160
|
+
Id: 27,
|
|
161
|
+
Subject: 'Facts of Humming Birds',
|
|
162
|
+
StartTime: new Date(2018, 1, 15, 12, 30),
|
|
163
|
+
EndTime: new Date(2018, 1, 15, 14, 0),
|
|
164
|
+
CategoryColor: '#ea7a57'
|
|
165
|
+
}, {
|
|
166
|
+
Id: 28,
|
|
167
|
+
Subject: 'Myths of Andromeda Galaxy',
|
|
168
|
+
StartTime: new Date(2018, 1, 15, 10, 0),
|
|
169
|
+
EndTime: new Date(2018, 1, 15, 11, 30),
|
|
170
|
+
CategoryColor: '#00bdae'
|
|
171
|
+
}, {
|
|
172
|
+
Id: 29,
|
|
173
|
+
Subject: 'Croco World',
|
|
174
|
+
StartTime: new Date(2018, 1, 15, 19, 0),
|
|
175
|
+
EndTime: new Date(2018, 1, 15, 20, 30),
|
|
176
|
+
CategoryColor: '#f57f17'
|
|
177
|
+
}, {
|
|
178
|
+
Id: 30,
|
|
179
|
+
Subject: 'Explosion of Betelgeuse Star',
|
|
180
|
+
StartTime: new Date(2018, 1, 15, 13, 30),
|
|
181
|
+
EndTime: new Date(2018, 1, 15, 15, 0),
|
|
182
|
+
CategoryColor: '#1aaa55'
|
|
183
|
+
}
|
|
184
|
+
];
|
|
@@ -0,0 +1,125 @@
|
|
|
1
|
+
{
|
|
2
|
+
"$schema": "http://json-schema.org/schema",
|
|
3
|
+
"$id": "EJ2SchemaTemplateID",
|
|
4
|
+
"title": "schedule-timeline-views",
|
|
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": "schedule-timeline-views"
|
|
125
|
+
}
|
|
@@ -1,10 +1,10 @@
|
|
|
1
|
-
import { pkgName, pkgVer, moduleName, themeVer } from './../utils/lib-details';
|
|
2
|
-
import { install } from '@syncfusion/ej2-angular-base/schematics';
|
|
3
|
-
import { OptionsSchema, LibOptionsSchema } from './schema';
|
|
4
|
-
import { Rule } from '@angular-devkit/schematics';
|
|
5
|
-
|
|
6
|
-
export default function (options: OptionsSchema): Rule {
|
|
7
|
-
const libOptions: LibOptionsSchema = Object.assign({},
|
|
8
|
-
{ 'pkgName': pkgName, 'pkgVer': pkgVer, 'moduleName': moduleName, 'themeVer': themeVer });
|
|
9
|
-
return install(options, libOptions);
|
|
10
|
-
}
|
|
1
|
+
import { pkgName, pkgVer, moduleName, themeVer } from './../utils/lib-details';
|
|
2
|
+
import { install } from '@syncfusion/ej2-angular-base/schematics';
|
|
3
|
+
import { OptionsSchema, LibOptionsSchema } from './schema';
|
|
4
|
+
import { Rule } from '@angular-devkit/schematics';
|
|
5
|
+
|
|
6
|
+
export default function (options: OptionsSchema): Rule {
|
|
7
|
+
const libOptions: LibOptionsSchema = Object.assign({},
|
|
8
|
+
{ 'pkgName': pkgName, 'pkgVer': pkgVer, 'moduleName': moduleName, 'themeVer': themeVer });
|
|
9
|
+
return install(options, libOptions);
|
|
10
|
+
}
|
|
@@ -1,34 +1,34 @@
|
|
|
1
|
-
{
|
|
2
|
-
"$schema": "http://json-schema.org/schema",
|
|
3
|
-
"$id": "ngAdd",
|
|
4
|
-
"title": "Add Essential JS 2 Angular packages",
|
|
5
|
-
"type": "object",
|
|
6
|
-
"properties": {
|
|
7
|
-
"skipPackageJson": {
|
|
8
|
-
"type": "boolean",
|
|
9
|
-
"default": false,
|
|
10
|
-
"description": "Do not add add Essential JS 2 Angular packages dependencies to package.json (e.g., --skipPackageJson)"
|
|
11
|
-
},
|
|
12
|
-
"modules": {
|
|
13
|
-
"type": "string",
|
|
14
|
-
"default": "",
|
|
15
|
-
"description": "Add only specific Essential JS 2 modules to the app.module file (eg: --modules=slider, grid)"
|
|
16
|
-
},
|
|
17
|
-
"modulePath": {
|
|
18
|
-
"type": "string",
|
|
19
|
-
"default": "",
|
|
20
|
-
"description": "Used to specify the path of the module file where the EJ2 module needs to be imported"
|
|
21
|
-
},
|
|
22
|
-
"theme": {
|
|
23
|
-
"enum": [
|
|
24
|
-
"material",
|
|
25
|
-
"fabric",
|
|
26
|
-
"bootstrap",
|
|
27
|
-
"highcontrast"
|
|
28
|
-
],
|
|
29
|
-
"default": "material",
|
|
30
|
-
"description": "Used to change the theme that needs to be imported"
|
|
31
|
-
}
|
|
32
|
-
},
|
|
33
|
-
"required": []
|
|
34
|
-
}
|
|
1
|
+
{
|
|
2
|
+
"$schema": "http://json-schema.org/schema",
|
|
3
|
+
"$id": "ngAdd",
|
|
4
|
+
"title": "Add Essential JS 2 Angular packages",
|
|
5
|
+
"type": "object",
|
|
6
|
+
"properties": {
|
|
7
|
+
"skipPackageJson": {
|
|
8
|
+
"type": "boolean",
|
|
9
|
+
"default": false,
|
|
10
|
+
"description": "Do not add add Essential JS 2 Angular packages dependencies to package.json (e.g., --skipPackageJson)"
|
|
11
|
+
},
|
|
12
|
+
"modules": {
|
|
13
|
+
"type": "string",
|
|
14
|
+
"default": "",
|
|
15
|
+
"description": "Add only specific Essential JS 2 modules to the app.module file (eg: --modules=slider, grid)"
|
|
16
|
+
},
|
|
17
|
+
"modulePath": {
|
|
18
|
+
"type": "string",
|
|
19
|
+
"default": "",
|
|
20
|
+
"description": "Used to specify the path of the module file where the EJ2 module needs to be imported"
|
|
21
|
+
},
|
|
22
|
+
"theme": {
|
|
23
|
+
"enum": [
|
|
24
|
+
"material",
|
|
25
|
+
"fabric",
|
|
26
|
+
"bootstrap",
|
|
27
|
+
"highcontrast"
|
|
28
|
+
],
|
|
29
|
+
"default": "material",
|
|
30
|
+
"description": "Used to change the theme that needs to be imported"
|
|
31
|
+
}
|
|
32
|
+
},
|
|
33
|
+
"required": []
|
|
34
|
+
}
|
|
@@ -1,30 +1,30 @@
|
|
|
1
|
-
export interface OptionsSchema {
|
|
2
|
-
// Whether to skip package.json install.
|
|
3
|
-
skipPackageJson: boolean;
|
|
4
|
-
|
|
5
|
-
// Used to specify required module names
|
|
6
|
-
modules: string;
|
|
7
|
-
|
|
8
|
-
// Used to specify custom module path
|
|
9
|
-
modulePath: string;
|
|
10
|
-
|
|
11
|
-
// Used to specify theme name
|
|
12
|
-
theme: 'material' | 'fabric' | 'bootstrap' | 'highcontrast';
|
|
13
|
-
|
|
14
|
-
// Name of the project to target.
|
|
15
|
-
project?: string;
|
|
16
|
-
}
|
|
17
|
-
|
|
18
|
-
export interface LibOptionsSchema {
|
|
19
|
-
// Package name
|
|
20
|
-
pkgName: string;
|
|
21
|
-
|
|
22
|
-
// Package version
|
|
23
|
-
pkgVer: string;
|
|
24
|
-
|
|
25
|
-
// Library base module name
|
|
26
|
-
moduleName: string;
|
|
27
|
-
|
|
28
|
-
// Theme version
|
|
29
|
-
themeVer: string;
|
|
30
|
-
}
|
|
1
|
+
export interface OptionsSchema {
|
|
2
|
+
// Whether to skip package.json install.
|
|
3
|
+
skipPackageJson: boolean;
|
|
4
|
+
|
|
5
|
+
// Used to specify required module names
|
|
6
|
+
modules: string;
|
|
7
|
+
|
|
8
|
+
// Used to specify custom module path
|
|
9
|
+
modulePath: string;
|
|
10
|
+
|
|
11
|
+
// Used to specify theme name
|
|
12
|
+
theme: 'material' | 'fabric' | 'bootstrap' | 'highcontrast';
|
|
13
|
+
|
|
14
|
+
// Name of the project to target.
|
|
15
|
+
project?: string;
|
|
16
|
+
}
|
|
17
|
+
|
|
18
|
+
export interface LibOptionsSchema {
|
|
19
|
+
// Package name
|
|
20
|
+
pkgName: string;
|
|
21
|
+
|
|
22
|
+
// Package version
|
|
23
|
+
pkgVer: string;
|
|
24
|
+
|
|
25
|
+
// Library base module name
|
|
26
|
+
moduleName: string;
|
|
27
|
+
|
|
28
|
+
// Theme version
|
|
29
|
+
themeVer: string;
|
|
30
|
+
}
|
package/schematics/tsconfig.json
CHANGED
|
@@ -1,25 +1,25 @@
|
|
|
1
|
-
{
|
|
2
|
-
"compilerOptions": {
|
|
3
|
-
"lib": ["es2017", "dom"],
|
|
4
|
-
"module": "commonjs",
|
|
5
|
-
"moduleResolution": "node",
|
|
6
|
-
"noEmitOnError": false,
|
|
7
|
-
"skipDefaultLibCheck": true,
|
|
8
|
-
"skipLibCheck": true,
|
|
9
|
-
"sourceMap": true,
|
|
10
|
-
"target": "es6",
|
|
11
|
-
"declaration": true,
|
|
12
|
-
"types": [
|
|
13
|
-
"jasmine",
|
|
14
|
-
"node"
|
|
15
|
-
]
|
|
16
|
-
},
|
|
17
|
-
"exclude": [
|
|
18
|
-
"node_modules",
|
|
19
|
-
"src",
|
|
20
|
-
"src/**/*.ts",
|
|
21
|
-
"spec",
|
|
22
|
-
"spec/**/*.ts",
|
|
23
|
-
"@typings"
|
|
24
|
-
]
|
|
25
|
-
}
|
|
1
|
+
{
|
|
2
|
+
"compilerOptions": {
|
|
3
|
+
"lib": ["es2017", "dom"],
|
|
4
|
+
"module": "commonjs",
|
|
5
|
+
"moduleResolution": "node",
|
|
6
|
+
"noEmitOnError": false,
|
|
7
|
+
"skipDefaultLibCheck": true,
|
|
8
|
+
"skipLibCheck": true,
|
|
9
|
+
"sourceMap": true,
|
|
10
|
+
"target": "es6",
|
|
11
|
+
"declaration": true,
|
|
12
|
+
"types": [
|
|
13
|
+
"jasmine",
|
|
14
|
+
"node"
|
|
15
|
+
]
|
|
16
|
+
},
|
|
17
|
+
"exclude": [
|
|
18
|
+
"node_modules",
|
|
19
|
+
"src",
|
|
20
|
+
"src/**/*.ts",
|
|
21
|
+
"spec",
|
|
22
|
+
"spec/**/*.ts",
|
|
23
|
+
"@typings"
|
|
24
|
+
]
|
|
25
|
+
}
|
|
@@ -1,4 +1,4 @@
|
|
|
1
1
|
export declare const pkgName = "@syncfusion/ej2-angular-schedule";
|
|
2
|
-
export declare const pkgVer = "^
|
|
2
|
+
export declare const pkgVer = "^25.1.37";
|
|
3
3
|
export declare const moduleName = "ScheduleModule, RecurrenceEditorModule";
|
|
4
|
-
export declare const themeVer = "~
|
|
4
|
+
export declare const themeVer = "~25.1.37";
|
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
"use strict";
|
|
2
2
|
Object.defineProperty(exports, "__esModule", { value: true });
|
|
3
3
|
exports.pkgName = '@syncfusion/ej2-angular-schedule';
|
|
4
|
-
exports.pkgVer = '^31.1.
|
|
4
|
+
exports.pkgVer = '^31.1.20';
|
|
5
5
|
exports.moduleName = 'ScheduleModule, RecurrenceEditorModule';
|
|
6
|
-
exports.themeVer = '~31.1.
|
|
6
|
+
exports.themeVer = '~31.1.20';
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
export const pkgName = '@syncfusion/ej2-angular-schedule';
|
|
2
|
-
export const pkgVer = '^31.1.
|
|
3
|
-
export const moduleName = 'ScheduleModule, RecurrenceEditorModule';
|
|
4
|
-
export const themeVer = '~31.1.
|
|
1
|
+
export const pkgName = '@syncfusion/ej2-angular-schedule';
|
|
2
|
+
export const pkgVer = '^31.1.20';
|
|
3
|
+
export const moduleName = 'ScheduleModule, RecurrenceEditorModule';
|
|
4
|
+
export const themeVer = '~31.1.20';
|