@syncfusion/ej2-schedule 20.4.50 → 20.4.51
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/CHANGELOG.md +6 -0
- package/GitLeaksReport.json +1 -0
- package/dist/ej2-schedule.min.js +2 -2
- package/dist/ej2-schedule.umd.min.js +2 -2
- package/dist/ej2-schedule.umd.min.js.map +1 -1
- package/dist/es6/ej2-schedule.es2015.js +21 -5
- package/dist/es6/ej2-schedule.es2015.js.map +1 -1
- package/dist/es6/ej2-schedule.es5.js +21 -5
- package/dist/es6/ej2-schedule.es5.js.map +1 -1
- package/dist/global/ej2-schedule.min.js +2 -2
- package/dist/global/ej2-schedule.min.js.map +1 -1
- package/dist/global/index.d.ts +1 -1
- package/gitleaks-ci/gitleaks +0 -0
- package/gitleaks-ci.tar.gz +0 -0
- package/package.json +12 -12
- package/src/schedule/actions/keyboard.js +19 -4
- package/src/schedule/base/constant.d.ts +2 -0
- package/src/schedule/base/constant.js +2 -0
|
@@ -58,6 +58,8 @@ const resizing = 'resizing';
|
|
|
58
58
|
const resizeStop = 'resizeStop';
|
|
59
59
|
/** @private */
|
|
60
60
|
const inlineClick = 'inlineClick';
|
|
61
|
+
/** @private */
|
|
62
|
+
const cellSelect = 'cellSelect';
|
|
61
63
|
/**
|
|
62
64
|
* Specifies schedule internal events
|
|
63
65
|
*/
|
|
@@ -2050,7 +2052,7 @@ class KeyboardInteraction {
|
|
|
2050
2052
|
const selectedCells = this.parent.getSelectedElements();
|
|
2051
2053
|
const args = {
|
|
2052
2054
|
data: cellData, element: this.parent.activeCellsData.element, event: e,
|
|
2053
|
-
requestType:
|
|
2055
|
+
requestType: cellSelect, showQuickPopup: false
|
|
2054
2056
|
};
|
|
2055
2057
|
this.parent.trigger(select, args, (selectArgs) => {
|
|
2056
2058
|
const isPopupShow = selectArgs.showQuickPopup || this.parent.quickInfoOnSelectionEnd;
|
|
@@ -2268,9 +2270,23 @@ class KeyboardInteraction {
|
|
|
2268
2270
|
});
|
|
2269
2271
|
}
|
|
2270
2272
|
else {
|
|
2271
|
-
|
|
2272
|
-
|
|
2273
|
-
|
|
2273
|
+
const args = {
|
|
2274
|
+
element: target, requestType: cellSelect
|
|
2275
|
+
};
|
|
2276
|
+
const cellData = {};
|
|
2277
|
+
const cellDetails = this.parent.getCellDetails(target);
|
|
2278
|
+
if (this.parent.eventWindow && cellDetails) {
|
|
2279
|
+
if (this.parent.activeCellsData.element !== cellDetails.element) {
|
|
2280
|
+
this.parent.activeCellsData = cellDetails;
|
|
2281
|
+
}
|
|
2282
|
+
this.parent.eventWindow.convertToEventData(this.parent.activeCellsData, cellData);
|
|
2283
|
+
args.data = cellData;
|
|
2284
|
+
}
|
|
2285
|
+
this.parent.trigger(select, args, () => {
|
|
2286
|
+
this.initialTarget = target;
|
|
2287
|
+
this.selectedCells = [target];
|
|
2288
|
+
this.parent.addSelectedClass([target], target);
|
|
2289
|
+
});
|
|
2274
2290
|
}
|
|
2275
2291
|
}
|
|
2276
2292
|
selectAppointment(isReverse, target) {
|
|
@@ -26574,5 +26590,5 @@ class Print {
|
|
|
26574
26590
|
* Export Schedule components
|
|
26575
26591
|
*/
|
|
26576
26592
|
|
|
26577
|
-
export { Schedule, cellClick, cellDoubleClick, moreEventsClick, select, hover, actionBegin, actionComplete, actionFailure, navigating, renderCell, eventClick, eventRendered, dataBinding, dataBound, popupOpen, popupClose, dragStart, drag, dragStop, resizeStart, resizing, resizeStop, inlineClick, initialLoad, initialEnd, print$1 as print, dataReady, eventsLoaded, contentReady, scroll, virtualScroll, scrollUiUpdate, uiUpdate, documentClick, cellMouseDown, WEEK_LENGTH, DEFAULT_WEEKS, MS_PER_DAY, MS_PER_MINUTE, getElementHeightFromClass, getElementWidthFromClass, getTranslateY, getTranslateX, getWeekFirstDate, getWeekLastDate, firstDateOfMonth, lastDateOfMonth, getWeekNumber, getWeekMiddleDate, setTime, resetTime, getDateInMs, getDateCount, addDays, addMonths, addYears, getStartEndHours, getMaxDays, getDaysCount, getDateFromString, getScrollBarWidth, findIndexInData, getOuterHeight, removeChildren, isDaylightSavingTime, getUniversalTime, isMobile, isIPadDevice, capitalizeFirstWord, Resize, DragAndDrop, HeaderRenderer, ViewBase, Day, Week, WorkWeek, Month, Year, Agenda, MonthAgenda, TimelineViews, TimelineMonth, TimelineYear, Timezone, timezoneData, ICalendarExport, ICalendarImport, ExcelExport, Print, RecurrenceEditor, generateSummary, generate, getDateFromRecurrenceDateString, extractObjectFromRule, getCalendarUtil, getRecurrenceStringFromDate, Gregorian, Islamic };
|
|
26593
|
+
export { Schedule, cellClick, cellDoubleClick, moreEventsClick, select, hover, actionBegin, actionComplete, actionFailure, navigating, renderCell, eventClick, eventRendered, dataBinding, dataBound, popupOpen, popupClose, dragStart, drag, dragStop, resizeStart, resizing, resizeStop, inlineClick, cellSelect, initialLoad, initialEnd, print$1 as print, dataReady, eventsLoaded, contentReady, scroll, virtualScroll, scrollUiUpdate, uiUpdate, documentClick, cellMouseDown, WEEK_LENGTH, DEFAULT_WEEKS, MS_PER_DAY, MS_PER_MINUTE, getElementHeightFromClass, getElementWidthFromClass, getTranslateY, getTranslateX, getWeekFirstDate, getWeekLastDate, firstDateOfMonth, lastDateOfMonth, getWeekNumber, getWeekMiddleDate, setTime, resetTime, getDateInMs, getDateCount, addDays, addMonths, addYears, getStartEndHours, getMaxDays, getDaysCount, getDateFromString, getScrollBarWidth, findIndexInData, getOuterHeight, removeChildren, isDaylightSavingTime, getUniversalTime, isMobile, isIPadDevice, capitalizeFirstWord, Resize, DragAndDrop, HeaderRenderer, ViewBase, Day, Week, WorkWeek, Month, Year, Agenda, MonthAgenda, TimelineViews, TimelineMonth, TimelineYear, Timezone, timezoneData, ICalendarExport, ICalendarImport, ExcelExport, Print, RecurrenceEditor, generateSummary, generate, getDateFromRecurrenceDateString, extractObjectFromRule, getCalendarUtil, getRecurrenceStringFromDate, Gregorian, Islamic };
|
|
26578
26594
|
//# sourceMappingURL=ej2-schedule.es2015.js.map
|