@syncfusion/ej2-schedule 19.3.53 → 19.4.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 (122) hide show
  1. package/.github/PULL_REQUEST_TEMPLATE/Bug.md +63 -0
  2. package/.github/PULL_REQUEST_TEMPLATE/Feature.md +39 -0
  3. package/CHANGELOG.md +51 -9
  4. package/dist/ej2-schedule.umd.min.js +2 -2
  5. package/dist/ej2-schedule.umd.min.js.map +1 -1
  6. package/dist/es6/ej2-schedule.es2015.js +492 -148
  7. package/dist/es6/ej2-schedule.es2015.js.map +1 -1
  8. package/dist/es6/ej2-schedule.es5.js +495 -154
  9. package/dist/es6/ej2-schedule.es5.js.map +1 -1
  10. package/dist/global/ej2-schedule.min.js +2 -2
  11. package/dist/global/ej2-schedule.min.js.map +1 -1
  12. package/dist/global/index.d.ts +1 -1
  13. package/package.json +15 -15
  14. package/src/recurrence-editor/date-generator.js +3 -3
  15. package/src/recurrence-editor/recurrence-editor.js +2 -2
  16. package/src/schedule/actions/drag.js +12 -4
  17. package/src/schedule/actions/keyboard.d.ts +7 -0
  18. package/src/schedule/actions/keyboard.js +197 -28
  19. package/src/schedule/actions/resize.js +44 -37
  20. package/src/schedule/base/css-constant.d.ts +6 -0
  21. package/src/schedule/base/css-constant.js +6 -0
  22. package/src/schedule/base/interface.d.ts +12 -0
  23. package/src/schedule/base/resource.js +1 -0
  24. package/src/schedule/base/schedule-model.d.ts +89 -20
  25. package/src/schedule/base/schedule.d.ts +88 -19
  26. package/src/schedule/base/schedule.js +15 -4
  27. package/src/schedule/base/util.d.ts +1 -0
  28. package/src/schedule/base/util.js +1 -0
  29. package/src/schedule/event-renderer/event-base.d.ts +2 -1
  30. package/src/schedule/event-renderer/event-base.js +19 -4
  31. package/src/schedule/event-renderer/inline-edit.js +8 -5
  32. package/src/schedule/event-renderer/month.js +3 -2
  33. package/src/schedule/event-renderer/timeline-view.js +4 -0
  34. package/src/schedule/event-renderer/vertical-view.js +9 -6
  35. package/src/schedule/event-renderer/year.js +1 -1
  36. package/src/schedule/exports/excel-export.d.ts +2 -1
  37. package/src/schedule/exports/excel-export.js +21 -18
  38. package/src/schedule/models/event-settings-model.d.ts +17 -9
  39. package/src/schedule/models/event-settings.d.ts +15 -8
  40. package/src/schedule/models/event-settings.js +6 -3
  41. package/src/schedule/models/views-model.d.ts +19 -0
  42. package/src/schedule/models/views.d.ts +17 -0
  43. package/src/schedule/models/views.js +6 -0
  44. package/src/schedule/popups/quick-popups.js +3 -0
  45. package/src/schedule/renderer/agenda.js +2 -1
  46. package/src/schedule/renderer/header-renderer.d.ts +1 -0
  47. package/src/schedule/renderer/header-renderer.js +23 -8
  48. package/src/schedule/renderer/month.d.ts +4 -0
  49. package/src/schedule/renderer/month.js +69 -19
  50. package/src/schedule/renderer/renderer.js +6 -1
  51. package/src/schedule/renderer/timeline-year.js +4 -1
  52. package/src/schedule/renderer/view-base.js +11 -0
  53. package/src/schedule/renderer/year.d.ts +2 -2
  54. package/src/schedule/renderer/year.js +24 -6
  55. package/styles/bootstrap-dark.css +108 -27
  56. package/styles/bootstrap.css +105 -27
  57. package/styles/bootstrap4.css +117 -62
  58. package/styles/bootstrap5-dark.css +118 -67
  59. package/styles/bootstrap5.css +118 -67
  60. package/styles/fabric-dark.css +108 -26
  61. package/styles/fabric.css +109 -26
  62. package/styles/highcontrast-light.css +104 -26
  63. package/styles/highcontrast.css +109 -28
  64. package/styles/material-dark.css +110 -32
  65. package/styles/material.css +103 -25
  66. package/styles/recurrence-editor/_bootstrap-dark-definition.scss +7 -0
  67. package/styles/recurrence-editor/_bootstrap-definition.scss +7 -0
  68. package/styles/recurrence-editor/_bootstrap4-definition.scss +7 -0
  69. package/styles/recurrence-editor/_bootstrap5-definition.scss +7 -0
  70. package/styles/recurrence-editor/_fabric-dark-definition.scss +8 -0
  71. package/styles/recurrence-editor/_fabric-definition.scss +7 -0
  72. package/styles/recurrence-editor/_fluent-definition.scss +15 -0
  73. package/styles/recurrence-editor/_highcontrast-definition.scss +7 -0
  74. package/styles/recurrence-editor/_highcontrast-light-definition.scss +7 -0
  75. package/styles/recurrence-editor/_layout.scss +20 -4
  76. package/styles/recurrence-editor/_material-dark-definition.scss +7 -0
  77. package/styles/recurrence-editor/_material-definition.scss +7 -0
  78. package/styles/recurrence-editor/_tailwind-definition.scss +15 -8
  79. package/styles/recurrence-editor/bootstrap-dark.css +20 -4
  80. package/styles/recurrence-editor/bootstrap.css +20 -4
  81. package/styles/recurrence-editor/bootstrap4.css +20 -4
  82. package/styles/recurrence-editor/bootstrap5-dark.css +20 -4
  83. package/styles/recurrence-editor/bootstrap5.css +20 -4
  84. package/styles/recurrence-editor/fabric-dark.css +20 -4
  85. package/styles/recurrence-editor/fabric.css +20 -4
  86. package/styles/recurrence-editor/highcontrast-light.css +20 -4
  87. package/styles/recurrence-editor/highcontrast.css +20 -4
  88. package/styles/recurrence-editor/material-dark.css +20 -4
  89. package/styles/recurrence-editor/material.css +20 -4
  90. package/styles/recurrence-editor/tailwind-dark.css +20 -4
  91. package/styles/recurrence-editor/tailwind.css +20 -4
  92. package/styles/schedule/_bootstrap-dark-definition.scss +22 -1
  93. package/styles/schedule/_bootstrap-definition.scss +22 -1
  94. package/styles/schedule/_bootstrap4-definition.scss +23 -1
  95. package/styles/schedule/_bootstrap5-definition.scss +145 -119
  96. package/styles/schedule/_fabric-dark-definition.scss +22 -1
  97. package/styles/schedule/_fabric-definition.scss +22 -1
  98. package/styles/schedule/_fluent-definition.scss +218 -0
  99. package/styles/schedule/_highcontrast-definition.scss +22 -1
  100. package/styles/schedule/_highcontrast-light-definition.scss +22 -1
  101. package/styles/schedule/_layout.scss +95 -158
  102. package/styles/schedule/_material-dark-definition.scss +22 -1
  103. package/styles/schedule/_material-definition.scss +21 -0
  104. package/styles/schedule/_tailwind-definition.scss +216 -195
  105. package/styles/schedule/_theme.scss +1 -1
  106. package/styles/schedule/bootstrap-dark.css +88 -23
  107. package/styles/schedule/bootstrap.css +85 -23
  108. package/styles/schedule/bootstrap4.css +97 -58
  109. package/styles/schedule/bootstrap5-dark.css +98 -63
  110. package/styles/schedule/bootstrap5.css +98 -63
  111. package/styles/schedule/fabric-dark.css +88 -22
  112. package/styles/schedule/fabric.css +89 -22
  113. package/styles/schedule/highcontrast-light.css +84 -22
  114. package/styles/schedule/highcontrast.css +89 -24
  115. package/styles/schedule/icons/_fluent.scss +231 -0
  116. package/styles/schedule/icons/_tailwind.scss +231 -231
  117. package/styles/schedule/material-dark.css +90 -28
  118. package/styles/schedule/material.css +83 -21
  119. package/styles/schedule/tailwind-dark.css +94 -52
  120. package/styles/schedule/tailwind.css +94 -52
  121. package/styles/tailwind-dark.css +114 -56
  122. package/styles/tailwind.css +114 -56
@@ -0,0 +1,63 @@
1
+ ### Bug description
2
+
3
+ Clearly and concisely describe the problem or feature (this cannot be empty).
4
+
5
+ ### Root cause
6
+
7
+ Briefly describe the root cause and analysis of the problem.
8
+ If there is an internal discussion on the forum, provide the link.
9
+
10
+ ### Reason for not identifying earlier
11
+
12
+ Find how it was missed in our earlier testing and development by analysing the below checklist. This will help prevent similar mistakes in the future.
13
+
14
+ - [ ] Guidelines/documents are not followed
15
+
16
+ - Common guidelines / Core team guideline
17
+ - Specification document
18
+ - Requirement document
19
+
20
+ - [ ] Guidelines/documents are not given
21
+
22
+
23
+ - Common guidelines / Core team guideline
24
+ - Specification document
25
+ - Requirement document
26
+
27
+
28
+ ### Reason:
29
+ Mention any one or more reasons from the above points.
30
+
31
+ ### Action taken:
32
+
33
+ What action did you take to avoid this in future?
34
+
35
+ ### Related areas:
36
+
37
+ Is there any other related areas also to be addressed?
38
+
39
+
40
+ ### Is it a breaking issue?
41
+
42
+ If it is a breaking issue, provide the commit detail which caused this break.
43
+
44
+ ### Solution description
45
+
46
+ Describe your code changes in detail for reviewers.
47
+
48
+ ### Output screenshots
49
+
50
+ Post the output screenshots if an UI is affected or added due to this bug.
51
+
52
+ ### Areas affected and ensured
53
+
54
+ List the areas affected by your code changes.
55
+
56
+ ### Additional checklist
57
+
58
+ - Did you run the automation against your fix?
59
+ - Is there any API name change?
60
+ - Is there any existing behavior change of other features due to this code change?
61
+ - Does your new code introduce new warnings or binding errors?
62
+ - Does your code pass all FxCop and StyleCop rules?
63
+ - Did you record this case in the unit test or UI test?
@@ -0,0 +1,39 @@
1
+ ### Feature description
2
+
3
+ Clearly and concisely describe the problem or feature (this cannot be empty).
4
+
5
+ ### Analysis and design
6
+
7
+ If there is an external design, link to its project documentation area.
8
+ If there is an internal discussion on the forum, provide the link.
9
+
10
+ ### Solution description
11
+
12
+ Describe your code changes in detail for reviewers.
13
+
14
+ ### Output screenshots
15
+
16
+ Post the output screenshots if an UI is affected or added due to this feature.
17
+
18
+ ### Areas affected and ensured
19
+
20
+ List the areas are affected by your code changes.
21
+
22
+ ### Test cases
23
+
24
+ Provide the unit testing written file details to understand the use cases considered in this implementation.
25
+ If there is no TDD (if it’s not possible to follow), provide the UI automation script location and the Excel file that contains the use cases considered in this implementation.
26
+ Provide the test cases Excel file alone if the feature cannot be automated in any case.
27
+
28
+ ### Test bed sample location
29
+
30
+ Provide the test bed sample location where code reviewers can review the new feature’s behaviors. This depends on the CI process that your team follows. It can be from NPMCI, HockeyApp, staging site, local server, etc.
31
+
32
+ ### Additional checklist
33
+
34
+ - Did you run the automation against your fix?
35
+ - Is there any API name change?
36
+ - Is there any existing behavior change of other features due to this code change?
37
+ - Does your new code introduce new warnings or binding errors?
38
+ - Does your code pass all FxCop and StyleCop rules?
39
+ - Did you record this case in the unit test or UI test?
package/CHANGELOG.md CHANGED
@@ -4,6 +4,48 @@
4
4
 
5
5
  ### Schedule
6
6
 
7
+ #### Bug Fixes
8
+
9
+ - `#SF-357890` - An issue with work cells misalignment in the timeline month view has been fixed.
10
+ - `#FB31401` - An issue with today button navigating issue only in the `MonthAgenda` view issue has been fixed.
11
+ - `#FB30967` - An issue while drag and drop an event with `eventDragArea` has been fixed.
12
+ - `#SF-360126` - Timeline views appointment misalignment issue while work cells width reduced has been fixed.
13
+
14
+ ## 19.4.40 (2021-12-28)
15
+
16
+ ### Schedule
17
+
18
+ #### Bug Fixes
19
+
20
+ - `#SF-353817` - An issue with all-day region scrolling issue only in the Mac device has been fixed.
21
+
22
+ ## 19.4.38 (2021-12-17)
23
+
24
+ ### Schedule
25
+
26
+ #### New Features
27
+
28
+ - `#I256450`, `#I256493`, `#I341525` - Provides support for flexible month view that starts from the beginning of the week the displayed date falls in. Also, users can set the number of weeks to be displayed in the Month view.
29
+ - `#FB9963`, `#I331086` - Provided an option to customize the header names when the Scheduler is exported to Excel.
30
+ - `#I276542`, `#F169844` - Provided support to set the minimum event duration for appointments to make the event subject easier to read.
31
+ - `#I335888`, `#F167194`, `#F167235`, `#F169012`, `#F169593`, `#F169647` - Provides accessibility support for timeline year views to select multiple cells for actions.
32
+
33
+ #### Bug Fixes
34
+
35
+ - `#SF-357194` - An issue while slower the performance of the schedule, while drag and drop the event with `eventTemplate` has been fixed.
36
+
37
+ ## 19.3.55 (2021-11-23)
38
+
39
+ ### Schedule
40
+
41
+ #### Bug Fixes
42
+
43
+ - `#I347217` - An issue while using `getRecurrenceDates` method in the weekly rule option has been fixed.
44
+
45
+ ## 19.3.53 (2021-11-12)
46
+
47
+ ### Schedule
48
+
7
49
  #### New Features
8
50
 
9
51
  - `#I224286`, `#I224730`, `#I316683`, `#I321325`, `#I331265`, `#I331820`, `#I338907`, `#I342102`, `#F169564`, `#F169824`, `#F169024` - Provided option to render the spanned events greater than 24 hours in either `AllDayRow` region or `TimeSlot` region.
@@ -37,14 +79,6 @@
37
79
 
38
80
  #### Bug Fixes
39
81
 
40
- - `#I344571` - An alignment issue between the resource cells and work cells in timeline year has been fixed.
41
-
42
- ## 19.3.44 (2021-10-05)
43
-
44
- ### Schedule
45
-
46
- #### Bug Fixes
47
-
48
82
  - `#FB29036` - An issue with the `renderCell` event arguments as `resourceGroupCells` has been fixed in the timeline year view with resources.
49
83
  - `#I339839` - An issue with the scheduler resize action is not working properly in timeline month has been fixed.
50
84
  - `#F168909` - The scheduler agenda view throws script error on multilevel resources grouping has been fixed.
@@ -73,10 +107,18 @@
73
107
 
74
108
  ### Schedule
75
109
 
110
+ #### New Features
111
+
112
+ - `#I242605`, `#F160122`, `#F165334` - Provided public method for Scheduler to refresh the Scheduler layout without re-render.
113
+ - `#I314842`, `#I320731` - Provided public method for Scheduler to refresh the given templates.
114
+
76
115
  #### Bug Fixes
77
116
 
78
117
  - `#I339839` - An issue with the scheduler resize action is not working properly in timeline views has been fixed.
79
118
  - `#I338473` - An issue with the scheduler `showWeekend` property set to false appointments missing has been fixed.
119
+ - `#I340348` - An issue with opening the editor window in RTL mode has been fixed.
120
+ - `#I342117` - An issue with today button navigation in Agenda view has been fixed.
121
+ - `#I340332` - An issue with the scheduler performance in Vertical views has been fixed.
80
122
 
81
123
  ## 19.2.56 (2021-08-17)
82
124
 
@@ -1287,4 +1329,4 @@ Schedule is an event calendar which facilitates user with the common Outlook-cal
1287
1329
  - **Adaptive rendering** - Adapts with optimal user interfaces for mobile and desktop form-factors, thus helping the user’s application to scale elegantly across all the form-factors without any additional effort.
1288
1330
  - **Keyboard interaction** - All the common actions such as traversing through the appointments, multiple cell selection, add/edit/delete the appointments, navigate to other views, dates and much more can be performed through keyboard inputs.
1289
1331
  - **Localization** - All the static text and date content can be localized to any desired language. Also, it can be displayed with appropriate time mode and date-format as per the localized language.
1290
- - **RTL** - Supports displaying the component to display in the direction from right to left.
1332
+ - **RTL** - Supports displaying the component to display in the direction from right to left.