@syncfusion/ej2-angular-schedule 20.2.36 → 20.2.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.
Files changed (190) hide show
  1. package/@syncfusion/ej2-angular-schedule.es5.js +840 -0
  2. package/@syncfusion/ej2-angular-schedule.es5.js.map +1 -0
  3. package/@syncfusion/ej2-angular-schedule.js +788 -0
  4. package/@syncfusion/ej2-angular-schedule.js.map +1 -0
  5. package/CHANGELOG.md +1482 -0
  6. package/dist/ej2-angular-schedule.umd.js +978 -0
  7. package/dist/ej2-angular-schedule.umd.js.map +1 -0
  8. package/dist/ej2-angular-schedule.umd.min.js +11 -0
  9. package/dist/ej2-angular-schedule.umd.min.js.map +1 -0
  10. package/ej2-angular-schedule.d.ts +6 -0
  11. package/ej2-angular-schedule.metadata.json +1 -0
  12. package/package.json +20 -34
  13. package/postinstall/tagchange.js +18 -0
  14. package/schematics/collection.json +40 -0
  15. package/schematics/generators/schedule-agenda-views/index.d.ts +3 -0
  16. package/schematics/generators/schedule-agenda-views/index.js +8 -0
  17. package/schematics/generators/schedule-agenda-views/sample-details.d.ts +5 -0
  18. package/schematics/generators/schedule-agenda-views/sample-details.js +7 -0
  19. package/schematics/generators/schedule-agenda-views/samples/__path__/__name@dasherize@if-flat__/__name@dasherize__.component.css +0 -0
  20. package/schematics/generators/schedule-agenda-views/samples/__path__/__name@dasherize@if-flat__/__name@dasherize__.component.html +13 -0
  21. package/schematics/generators/schedule-agenda-views/schema.d.ts +3 -0
  22. package/schematics/generators/schedule-agenda-views/schema.js +2 -0
  23. package/schematics/generators/schedule-agenda-views/schema.json +125 -0
  24. package/schematics/generators/schedule-calendar-views/index.d.ts +3 -0
  25. package/schematics/generators/schedule-calendar-views/index.js +8 -0
  26. package/schematics/generators/schedule-calendar-views/sample-details.d.ts +5 -0
  27. package/schematics/generators/schedule-calendar-views/sample-details.js +7 -0
  28. package/schematics/generators/schedule-calendar-views/samples/__path__/__name@dasherize@if-flat__/__name@dasherize__.component.css +0 -0
  29. package/schematics/generators/schedule-calendar-views/samples/__path__/__name@dasherize@if-flat__/__name@dasherize__.component.html +11 -0
  30. package/schematics/generators/schedule-calendar-views/schema.d.ts +3 -0
  31. package/schematics/generators/schedule-calendar-views/schema.js +2 -0
  32. package/schematics/generators/schedule-calendar-views/schema.json +125 -0
  33. package/schematics/generators/schedule-horizontal-grouping/index.d.ts +3 -0
  34. package/schematics/generators/schedule-horizontal-grouping/index.js +8 -0
  35. package/schematics/generators/schedule-horizontal-grouping/sample-details.d.ts +5 -0
  36. package/schematics/generators/schedule-horizontal-grouping/sample-details.js +7 -0
  37. package/schematics/generators/schedule-horizontal-grouping/samples/__path__/__name@dasherize@if-flat__/__name@dasherize__.component.css +92 -0
  38. package/schematics/generators/schedule-horizontal-grouping/samples/__path__/__name@dasherize@if-flat__/__name@dasherize__.component.html +29 -0
  39. package/schematics/generators/schedule-horizontal-grouping/schema.d.ts +3 -0
  40. package/schematics/generators/schedule-horizontal-grouping/schema.js +2 -0
  41. package/schematics/generators/schedule-horizontal-grouping/schema.json +125 -0
  42. package/schematics/generators/schedule-time-scale/index.d.ts +3 -0
  43. package/schematics/generators/schedule-time-scale/index.js +8 -0
  44. package/schematics/generators/schedule-time-scale/sample-details.d.ts +5 -0
  45. package/schematics/generators/schedule-time-scale/sample-details.js +7 -0
  46. package/schematics/generators/schedule-time-scale/samples/__path__/__name@dasherize@if-flat__/__name@dasherize__.component.css +0 -0
  47. package/schematics/generators/schedule-time-scale/samples/__path__/__name@dasherize@if-flat__/__name@dasherize__.component.html +13 -0
  48. package/schematics/generators/schedule-time-scale/schema.d.ts +3 -0
  49. package/schematics/generators/schedule-time-scale/schema.js +2 -0
  50. package/schematics/generators/schedule-time-scale/schema.json +125 -0
  51. package/schematics/generators/schedule-timeline-grouping/index.d.ts +3 -0
  52. package/schematics/generators/schedule-timeline-grouping/index.js +8 -0
  53. package/schematics/generators/schedule-timeline-grouping/sample-details.d.ts +5 -0
  54. package/schematics/generators/schedule-timeline-grouping/sample-details.js +7 -0
  55. package/schematics/generators/schedule-timeline-grouping/samples/__path__/__name@dasherize@if-flat__/__name@dasherize__.component.css +6 -0
  56. package/schematics/generators/schedule-timeline-grouping/samples/__path__/__name@dasherize@if-flat__/__name@dasherize__.component.html +23 -0
  57. package/schematics/generators/schedule-timeline-grouping/schema.d.ts +3 -0
  58. package/schematics/generators/schedule-timeline-grouping/schema.js +2 -0
  59. package/schematics/generators/schedule-timeline-grouping/schema.json +125 -0
  60. package/schematics/generators/schedule-timeline-views/index.d.ts +3 -0
  61. package/schematics/generators/schedule-timeline-views/index.js +8 -0
  62. package/schematics/generators/schedule-timeline-views/sample-details.d.ts +5 -0
  63. package/schematics/generators/schedule-timeline-views/sample-details.js +7 -0
  64. package/schematics/generators/schedule-timeline-views/samples/__path__/__name@dasherize@if-flat__/__name@dasherize__.component.css +0 -0
  65. package/schematics/generators/schedule-timeline-views/samples/__path__/__name@dasherize@if-flat__/__name@dasherize__.component.html +14 -0
  66. package/schematics/generators/schedule-timeline-views/schema.d.ts +3 -0
  67. package/schematics/generators/schedule-timeline-views/schema.js +2 -0
  68. package/schematics/generators/schedule-timeline-views/schema.json +125 -0
  69. package/schematics/ng-add/index.d.ts +3 -0
  70. package/schematics/ng-add/index.js +9 -0
  71. package/schematics/ng-add/schema.d.ts +13 -0
  72. package/schematics/ng-add/schema.js +2 -0
  73. package/schematics/ng-add/schema.json +34 -0
  74. package/schematics/tsconfig.json +25 -0
  75. package/schematics/utils/lib-details.d.ts +4 -0
  76. package/schematics/utils/lib-details.js +6 -0
  77. package/schematics/utils/lib-details.ts +2 -2
  78. package/src/recurrence-editor/recurrenceeditor-all.module.d.ts +0 -6
  79. package/src/recurrence-editor/recurrenceeditor.component.d.ts +0 -3
  80. package/src/recurrence-editor/recurrenceeditor.module.d.ts +0 -6
  81. package/src/schedule/headerrows.directive.d.ts +0 -5
  82. package/src/schedule/resources.directive.d.ts +0 -5
  83. package/src/schedule/schedule-all.module.d.ts +0 -6
  84. package/src/schedule/schedule.component.d.ts +0 -3
  85. package/src/schedule/schedule.module.d.ts +0 -9
  86. package/src/schedule/views.directive.d.ts +0 -5
  87. package/styles/recurrence-editor/bootstrap-dark.scss +1 -3
  88. package/styles/recurrence-editor/bootstrap.scss +1 -3
  89. package/styles/recurrence-editor/bootstrap4.scss +1 -3
  90. package/styles/recurrence-editor/bootstrap5-dark.scss +1 -3
  91. package/styles/recurrence-editor/bootstrap5.scss +1 -3
  92. package/styles/recurrence-editor/fabric-dark.scss +1 -3
  93. package/styles/recurrence-editor/fabric.scss +1 -3
  94. package/styles/recurrence-editor/fluent-dark.scss +1 -3
  95. package/styles/recurrence-editor/fluent.scss +1 -3
  96. package/styles/recurrence-editor/highcontrast-light.scss +1 -3
  97. package/styles/recurrence-editor/highcontrast.scss +1 -3
  98. package/styles/recurrence-editor/material-dark.scss +1 -3
  99. package/styles/recurrence-editor/material.scss +1 -3
  100. package/styles/recurrence-editor/tailwind-dark.scss +1 -3
  101. package/styles/recurrence-editor/tailwind.scss +1 -3
  102. package/styles/schedule/bootstrap-dark.scss +1 -5
  103. package/styles/schedule/bootstrap.scss +1 -5
  104. package/styles/schedule/bootstrap4.scss +1 -5
  105. package/styles/schedule/bootstrap5-dark.scss +1 -4
  106. package/styles/schedule/bootstrap5.scss +1 -5
  107. package/styles/schedule/fabric-dark.scss +1 -5
  108. package/styles/schedule/fabric.scss +1 -5
  109. package/styles/schedule/fluent-dark.scss +1 -4
  110. package/styles/schedule/fluent.scss +1 -5
  111. package/styles/schedule/highcontrast-light.scss +1 -5
  112. package/styles/schedule/highcontrast.scss +1 -5
  113. package/styles/schedule/material-dark.scss +1 -5
  114. package/styles/schedule/material.scss +1 -5
  115. package/styles/schedule/tailwind-dark.scss +1 -4
  116. package/styles/schedule/tailwind.scss +1 -5
  117. package/esm2020/public_api.mjs +0 -3
  118. package/esm2020/src/index.mjs +0 -11
  119. package/esm2020/src/recurrence-editor/recurrenceeditor-all.module.mjs +0 -23
  120. package/esm2020/src/recurrence-editor/recurrenceeditor.component.mjs +0 -59
  121. package/esm2020/src/recurrence-editor/recurrenceeditor.module.mjs +0 -25
  122. package/esm2020/src/schedule/headerrows.directive.mjs +0 -66
  123. package/esm2020/src/schedule/resources.directive.mjs +0 -58
  124. package/esm2020/src/schedule/schedule-all.module.mjs +0 -74
  125. package/esm2020/src/schedule/schedule.component.mjs +0 -283
  126. package/esm2020/src/schedule/schedule.module.mjs +0 -52
  127. package/esm2020/src/schedule/views.directive.mjs +0 -126
  128. package/esm2020/syncfusion-ej2-angular-schedule.mjs +0 -5
  129. package/fesm2015/syncfusion-ej2-angular-schedule.mjs +0 -733
  130. package/fesm2015/syncfusion-ej2-angular-schedule.mjs.map +0 -1
  131. package/fesm2020/syncfusion-ej2-angular-schedule.mjs +0 -733
  132. package/fesm2020/syncfusion-ej2-angular-schedule.mjs.map +0 -1
  133. package/styles/recurrence-editor/_all.scss +0 -2
  134. package/styles/recurrence-editor/_bootstrap-dark-definition.scss +0 -15
  135. package/styles/recurrence-editor/_bootstrap-definition.scss +0 -15
  136. package/styles/recurrence-editor/_bootstrap4-definition.scss +0 -15
  137. package/styles/recurrence-editor/_bootstrap5-dark-definition.scss +0 -1
  138. package/styles/recurrence-editor/_bootstrap5-definition.scss +0 -15
  139. package/styles/recurrence-editor/_fabric-dark-definition.scss +0 -16
  140. package/styles/recurrence-editor/_fabric-definition.scss +0 -15
  141. package/styles/recurrence-editor/_fluent-dark-definition.scss +0 -1
  142. package/styles/recurrence-editor/_fluent-definition.scss +0 -15
  143. package/styles/recurrence-editor/_fusionnew-definition.scss +0 -15
  144. package/styles/recurrence-editor/_highcontrast-definition.scss +0 -15
  145. package/styles/recurrence-editor/_highcontrast-light-definition.scss +0 -15
  146. package/styles/recurrence-editor/_layout.scss +0 -544
  147. package/styles/recurrence-editor/_material-dark-definition.scss +0 -15
  148. package/styles/recurrence-editor/_material-definition.scss +0 -15
  149. package/styles/recurrence-editor/_material3-definition.scss +0 -15
  150. package/styles/recurrence-editor/_tailwind-dark-definition.scss +0 -1
  151. package/styles/recurrence-editor/_tailwind-definition.scss +0 -15
  152. package/styles/recurrence-editor/_theme.scss +0 -1
  153. package/styles/schedule/_all.scss +0 -2
  154. package/styles/schedule/_bootstrap-dark-definition.scss +0 -213
  155. package/styles/schedule/_bootstrap-definition.scss +0 -213
  156. package/styles/schedule/_bootstrap4-definition.scss +0 -216
  157. package/styles/schedule/_bootstrap5-dark-definition.scss +0 -1
  158. package/styles/schedule/_bootstrap5-definition.scss +0 -224
  159. package/styles/schedule/_fabric-dark-definition.scss +0 -213
  160. package/styles/schedule/_fabric-definition.scss +0 -213
  161. package/styles/schedule/_fluent-dark-definition.scss +0 -1
  162. package/styles/schedule/_fluent-definition.scss +0 -220
  163. package/styles/schedule/_fusionnew-definition.scss +0 -224
  164. package/styles/schedule/_highcontrast-definition.scss +0 -214
  165. package/styles/schedule/_highcontrast-light-definition.scss +0 -214
  166. package/styles/schedule/_layout.scss +0 -4464
  167. package/styles/schedule/_material-dark-definition.scss +0 -213
  168. package/styles/schedule/_material-definition.scss +0 -213
  169. package/styles/schedule/_material3-definition.scss +0 -224
  170. package/styles/schedule/_tailwind-dark-definition.scss +0 -1
  171. package/styles/schedule/_tailwind-definition.scss +0 -217
  172. package/styles/schedule/_theme.scss +0 -508
  173. package/styles/schedule/icons/_bootstrap-dark.scss +0 -231
  174. package/styles/schedule/icons/_bootstrap.scss +0 -231
  175. package/styles/schedule/icons/_bootstrap4.scss +0 -231
  176. package/styles/schedule/icons/_bootstrap5-dark.scss +0 -1
  177. package/styles/schedule/icons/_bootstrap5.scss +0 -232
  178. package/styles/schedule/icons/_fabric-dark.scss +0 -231
  179. package/styles/schedule/icons/_fabric.scss +0 -231
  180. package/styles/schedule/icons/_fluent-dark.scss +0 -1
  181. package/styles/schedule/icons/_fluent.scss +0 -232
  182. package/styles/schedule/icons/_fusionnew.scss +0 -232
  183. package/styles/schedule/icons/_highcontrast-light.scss +0 -231
  184. package/styles/schedule/icons/_highcontrast.scss +0 -231
  185. package/styles/schedule/icons/_material-dark.scss +0 -231
  186. package/styles/schedule/icons/_material.scss +0 -231
  187. package/styles/schedule/icons/_material3.scss +0 -232
  188. package/styles/schedule/icons/_tailwind-dark.scss +0 -1
  189. package/styles/schedule/icons/_tailwind.scss +0 -232
  190. package/syncfusion-ej2-angular-schedule.d.ts +0 -5
@@ -0,0 +1,7 @@
1
+ "use strict";
2
+ Object.defineProperty(exports, "__esModule", { value: true });
3
+ exports.componentName = 'schedule';
4
+ exports.sampleName = 'horizontal-grouping';
5
+ exports.diModules = 'WeekService,MonthService,AgendaService,ResizeService,DragAndDropService';
6
+ exports.packageName = '@syncfusion/ej2-angular-schedule';
7
+ exports.libModules = 'ScheduleModule';
@@ -0,0 +1,92 @@
1
+ .schedule-group.e-schedule .template-wrap {
2
+ display: flex;
3
+ text-align: left;
4
+ }
5
+
6
+ .schedule-group.schedule-demo-heading {
7
+ font-size: 16px;
8
+ padding-bottom: 15px;
9
+ text-align: center;
10
+ font-weight: 500
11
+ }
12
+
13
+ .schedule-group.e-schedule .e-agenda-view .template-wrap {
14
+ display: table;
15
+ width: inherit;
16
+ text-align: center;
17
+ padding-top: 10px;
18
+ }
19
+
20
+ .schedule-group.e-schedule:not(.e-device) .e-agenda-view .e-content-wrap table td:first-child {
21
+ width: 110px;
22
+ }
23
+
24
+ .schedule-group.e-schedule .template-wrap .airline-image {
25
+ width: 30px;
26
+ margin-top: 15px;
27
+ background-repeat: no-repeat;
28
+ }
29
+
30
+ .schedule-group.e-schedule.e-device .template-wrap .airline-image {
31
+ margin-top: 5px;
32
+ }
33
+
34
+ .schedule-group.e-schedule .e-agenda-view .template-wrap .airline-image {
35
+ height: 30px;
36
+ margin-top: 0;
37
+ margin-left: 35%;
38
+ }
39
+
40
+ .schedule-group.e-schedule .e-vertical-view .e-resource-cells {
41
+ height: 76px;
42
+ }
43
+
44
+ .e-bigger .schedule-group.e-schedule .e-vertical-view .e-resource-cells {
45
+ height: 80px;
46
+ }
47
+
48
+ .schedule-group.e-schedule .template-wrap .airline-details {
49
+ padding-left: 15px;
50
+ }
51
+
52
+ .schedule-group.e-schedule .e-agenda-view .template-wrap .airline-details {
53
+ padding: 0;
54
+ }
55
+
56
+ .schedule-group.e-schedule .template-wrap .airline-details .airline-name {
57
+ font-size: 16px;
58
+ font-weight: 500;
59
+ }
60
+
61
+ .schedule-group.e-schedule.e-device .template-wrap .airline-model,
62
+ .schedule-group.e-schedule.e-device .template-wrap .airline-seats {
63
+ display: none;
64
+ }
65
+
66
+ .schedule-group.e-schedule.e-device .template-wrap .airline-details .airline-name {
67
+ font-size: inherit;
68
+ font-weight: inherit;
69
+ }
70
+
71
+ .schedule-group.e-schedule .template-wrap .airline-image.airways-1 {
72
+ background-image: url('https://ej2.syncfusion.com/angular/demos/src/schedule/images/airways-1.svg');
73
+ }
74
+
75
+ .schedule-group.e-schedule .template-wrap .airline-image.airways-2 {
76
+ background-image: url('https://ej2.syncfusion.com/angular/demos/src/schedule/images/airways-2.svg');
77
+ }
78
+
79
+ .schedule-group.e-schedule .template-wrap .airline-image.airways-3 {
80
+ background-image: url('https://ej2.syncfusion.com/angular/demos/src/schedule/images/airways-3.svg');
81
+ }
82
+
83
+ .schedule-group.e-schedule .e-agenda-view .template-wrap .airline-model,
84
+ .schedule-group.e-schedule .e-agenda-view .template-wrap .airline-seats {
85
+ display: none;
86
+ }
87
+
88
+ @media (max-width: 550px) {
89
+ .schedule-demo-heading {
90
+ font-size: 14px;
91
+ }
92
+ }
@@ -0,0 +1,29 @@
1
+ <div class="control-section">
2
+ <div class='schedule-demo-heading'>
3
+ Flight timings between Barcelona and Los Angeles
4
+ </div>
5
+ <ejs-schedule #scheduleObj cssClass='schedule-group' width='100%' height='550px'
6
+ [group]="group" [selectedDate]="selectedDate" [eventSettings]="eventSettings">
7
+ <ng-template #resourceHeaderTemplate let-data>
8
+ <div class='template-wrap'>
9
+ <div class="airline-image {{getAirlineImage(data)}}"></div>
10
+ <div class="airline-details">
11
+ <div class="airline-name">{{getAirlineName(data)}}</div>
12
+ <div class="airline-model">Model no: {{getAirlineModel(data)}}</div>
13
+ <div class="airline-seats">No.of seats: {{getAirlineSeats(data)}}</div>
14
+ </div>
15
+ </div>
16
+ </ng-template>
17
+ <e-views>
18
+ <e-view option="Week"></e-view>
19
+ <e-view option="Month"></e-view>
20
+ <e-view option="Agenda"></e-view>
21
+ </e-views>
22
+ <e-resources>
23
+ <e-resource field='AirlineId' title='Airline Name' name='Airlines' [allowMultiple]='allowMultiple' [dataSource]='resourceDataSource'
24
+ textField='AirlineName' idField='AirlineId' colorField='AirlineColor'>
25
+ </e-resource>
26
+ </e-resources>
27
+ </ejs-schedule>
28
+ </div>
29
+
@@ -0,0 +1,3 @@
1
+ import { Schema as ComponentSchema } from '@schematics/angular/component/schema';
2
+ export interface Schema extends ComponentSchema {
3
+ }
@@ -0,0 +1,2 @@
1
+ "use strict";
2
+ Object.defineProperty(exports, "__esModule", { value: true });
@@ -0,0 +1,125 @@
1
+ {
2
+ "$schema": "http://json-schema.org/schema",
3
+ "$id": "EJ2SchemaTemplateID",
4
+ "title": "schedule-horizontal-grouping",
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-horizontal-grouping"
125
+ }
@@ -0,0 +1,3 @@
1
+ import { Rule } from '@angular-devkit/schematics';
2
+ import { Schema } from './schema';
3
+ export default function (options: Schema): Rule;
@@ -0,0 +1,8 @@
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;
@@ -0,0 +1,5 @@
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;
@@ -0,0 +1,7 @@
1
+ "use strict";
2
+ Object.defineProperty(exports, "__esModule", { value: true });
3
+ exports.componentName = 'schedule';
4
+ exports.sampleName = 'time-scale';
5
+ exports.diModules = 'DayService,WeekService,TimelineViewsService,ResizeService,DragAndDropService';
6
+ exports.packageName = '@syncfusion/ej2-angular-schedule';
7
+ exports.libModules = 'ScheduleModule';
@@ -0,0 +1,13 @@
1
+ <div class="control-section">
2
+ <div class="col-lg-9 content-wrapper">
3
+ <ejs-schedule #schedule width='100%' height='650px' [timeScale]="timeScale" [selectedDate]="selectedDate" [eventSettings]="eventSettings"
4
+ [currentView]="currentView">
5
+ <e-views>
6
+ <e-view option="Day"></e-view>
7
+ <e-view option="Week"></e-view>
8
+ <e-view option="TimelineDay"></e-view>
9
+ <e-view option="TimelineWeek"></e-view>
10
+ </e-views>
11
+ </ejs-schedule>
12
+ </div>
13
+ </div>
@@ -0,0 +1,3 @@
1
+ import { Schema as ComponentSchema } from '@schematics/angular/component/schema';
2
+ export interface Schema extends ComponentSchema {
3
+ }
@@ -0,0 +1,2 @@
1
+ "use strict";
2
+ Object.defineProperty(exports, "__esModule", { value: true });
@@ -0,0 +1,125 @@
1
+ {
2
+ "$schema": "http://json-schema.org/schema",
3
+ "$id": "EJ2SchemaTemplateID",
4
+ "title": "schedule-time-scale",
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-time-scale"
125
+ }
@@ -0,0 +1,3 @@
1
+ import { Rule } from '@angular-devkit/schematics';
2
+ import { Schema } from './schema';
3
+ export default function (options: Schema): Rule;
@@ -0,0 +1,8 @@
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;
@@ -0,0 +1,5 @@
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;
@@ -0,0 +1,7 @@
1
+ "use strict";
2
+ Object.defineProperty(exports, "__esModule", { value: true });
3
+ exports.componentName = 'schedule';
4
+ exports.sampleName = 'timeline-grouping';
5
+ exports.diModules = 'TimelineViewsService,TimelineMonthService,ResizeService,DragAndDropService';
6
+ exports.packageName = '@syncfusion/ej2-angular-schedule';
7
+ exports.libModules = 'ScheduleModule';
@@ -0,0 +1,6 @@
1
+ .timeline-resource-grouping.e-schedule:not(.e-device) .e-agenda-view .e-content-wrap table td:first-child {
2
+ width: 90px;
3
+ }
4
+ .timeline-resource-grouping.e-schedule .e-agenda-view .e-resource-column {
5
+ width: 100px;
6
+ }
@@ -0,0 +1,23 @@
1
+ <div class="control-section">
2
+ <div class="col-lg-12 content-wrapper">
3
+ <ejs-schedule #scheduleObj width='100%' cssClass='timeline-resource-grouping' height='650px' [selectedDate]="selectedDate"
4
+ [group]="group" [eventSettings]="eventSettings">
5
+ <e-resources>
6
+ <e-resource field='RoomId' title='Choose Project' [dataSource]='roomDataSource' [allowMultiple]='allowMultiple' name='Room'
7
+ textField='text' idField='id' colorField='color'>
8
+ </e-resource>
9
+ <e-resource field='OwnerId' title='Category' [dataSource]='ownerDataSource' [allowMultiple]='allowMultiple' name='Owner'
10
+ textField='text' idField='id' groupIDField="groupId" colorField='color'>
11
+ </e-resource>
12
+ </e-resources>
13
+ <e-views>
14
+ <e-view option="TimelineDay"></e-view>
15
+ <e-view option="TimelineWeek"></e-view>
16
+ <e-view option="TimelineWorkWeek"></e-view>
17
+ <e-view option="TimelineMonth"></e-view>
18
+ </e-views>
19
+ </ejs-schedule>
20
+ </div>
21
+ </div>
22
+
23
+
@@ -0,0 +1,3 @@
1
+ import { Schema as ComponentSchema } from '@schematics/angular/component/schema';
2
+ export interface Schema extends ComponentSchema {
3
+ }
@@ -0,0 +1,2 @@
1
+ "use strict";
2
+ Object.defineProperty(exports, "__esModule", { value: true });
@@ -0,0 +1,125 @@
1
+ {
2
+ "$schema": "http://json-schema.org/schema",
3
+ "$id": "EJ2SchemaTemplateID",
4
+ "title": "schedule-timeline-grouping",
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-grouping"
125
+ }
@@ -0,0 +1,3 @@
1
+ import { Rule } from '@angular-devkit/schematics';
2
+ import { Schema } from './schema';
3
+ export default function (options: Schema): Rule;
@@ -0,0 +1,8 @@
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;
@@ -0,0 +1,5 @@
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;