@progress/kendo-angular-scheduler 25.1.0-develop.5 → 25.1.0-develop.6
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/fesm2022/progress-kendo-angular-scheduler.mjs +363 -296
- package/index.d.ts +6 -3
- package/package-metadata.mjs +2 -2
- package/package.json +15 -15
- package/schematics/ngAdd/index.js +3 -3
|
@@ -20,7 +20,7 @@ import * as i4 from '@progress/kendo-angular-intl';
|
|
|
20
20
|
import { formatDate, CldrIntlService, DatePipe, parseDate } from '@progress/kendo-angular-intl';
|
|
21
21
|
import { MultiSelectComponent, ItemTemplateDirective, TagTemplateDirective, DropDownListComponent } from '@progress/kendo-angular-dropdowns';
|
|
22
22
|
import { NgStyle, NgTemplateOutlet, AsyncPipe, NgClass } from '@angular/common';
|
|
23
|
-
import { rightDoubleQuotesIcon, clockIcon, commentIcon, globeIcon, arrowRotateCwIcon, trashIcon, calendarIcon, chevronRightIcon, chevronLeftIcon, plusIcon, filePdfIcon, arrowsNoRepeatIcon, xIcon,
|
|
23
|
+
import { rightDoubleQuotesIcon, clockIcon, commentIcon, globeIcon, arrowRotateCwIcon, trashIcon, calendarIcon, chevronRightIcon, chevronLeftIcon, plusIcon, filePdfIcon, arrowsNoRepeatIcon, xIcon, chevronUpIcon, chevronDownIcon } from '@progress/kendo-svg-icons';
|
|
24
24
|
import { ButtonComponent, SegmentedControlComponent, DropDownButtonComponent, Button } from '@progress/kendo-angular-buttons';
|
|
25
25
|
import { NumericTextBoxComponent, NumericTextBoxCustomMessagesComponent, FormFieldComponent, TextBoxDirective, TextAreaComponent, SwitchComponent } from '@progress/kendo-angular-inputs';
|
|
26
26
|
import { parseRule, serializeRule, expand } from '@progress/kendo-recurrence';
|
|
@@ -33,7 +33,7 @@ import { drawDOM, exportPDF } from '@progress/kendo-drawing';
|
|
|
33
33
|
import { saveAs } from '@progress/kendo-file-saver';
|
|
34
34
|
import { orderBy, groupBy } from '@progress/kendo-data-query';
|
|
35
35
|
import { Draggable } from '@progress/kendo-draggable';
|
|
36
|
-
import { PopoverComponent, PopoverTitleTemplateDirective, PopoverBodyTemplateDirective,
|
|
36
|
+
import { PopoverComponent, PopoverTitleTemplateDirective, PopoverBodyTemplateDirective, PopoverContainerDirective } from '@progress/kendo-angular-tooltip';
|
|
37
37
|
|
|
38
38
|
/**
|
|
39
39
|
* @hidden
|
|
@@ -43,8 +43,8 @@ const packageMetadata = {
|
|
|
43
43
|
productName: 'Kendo UI for Angular',
|
|
44
44
|
productCode: 'KENDOUIANGULAR',
|
|
45
45
|
productCodes: ['KENDOUIANGULAR'],
|
|
46
|
-
publishDate:
|
|
47
|
-
version: '25.1.0-develop.
|
|
46
|
+
publishDate: 1787223963,
|
|
47
|
+
version: '25.1.0-develop.6',
|
|
48
48
|
licensingDocsUrl: 'https://www.telerik.com/kendo-angular-ui/my-license/'
|
|
49
49
|
};
|
|
50
50
|
|
|
@@ -5324,16 +5324,16 @@ class RecurrenceEditorComponent {
|
|
|
5324
5324
|
dailyInterval='day(s)'
|
|
5325
5325
|
|
|
5326
5326
|
i18n-dailyRepeatEvery="kendo.recurrenceeditor.dailyRepeatEvery|The text similar to 'Repeat every' displayed in the recurrence editor."
|
|
5327
|
-
dailyRepeatEvery='
|
|
5327
|
+
dailyRepeatEvery='Repeats every'
|
|
5328
5328
|
|
|
5329
5329
|
i18n-weeklyInterval="kendo.recurrenceeditor.weeklyInterval|The text similar to 'week(s)' displayed in the recurrence editor."
|
|
5330
5330
|
weeklyInterval='week(s)'
|
|
5331
5331
|
|
|
5332
5332
|
i18n-weeklyRepeatEvery="kendo.recurrenceeditor.weeklyRepeatEvery|The text similar to 'Repeat every' displayed in the recurrence editor."
|
|
5333
|
-
weeklyRepeatEvery='
|
|
5333
|
+
weeklyRepeatEvery='Repeats every'
|
|
5334
5334
|
|
|
5335
5335
|
i18n-weeklyRepeatOn="kendo.recurrenceeditor.weeklyRepeatOn|The text similar to 'Repeat on' displayed in the recurrence editor."
|
|
5336
|
-
weeklyRepeatOn='
|
|
5336
|
+
weeklyRepeatOn='On'
|
|
5337
5337
|
|
|
5338
5338
|
i18n-monthlyDay="kendo.recurrenceeditor.monthlyDay|The text similar to 'Day' displayed in the recurrence editor."
|
|
5339
5339
|
monthlyDay='Day'
|
|
@@ -5342,37 +5342,37 @@ class RecurrenceEditorComponent {
|
|
|
5342
5342
|
monthlyInterval='month(s)'
|
|
5343
5343
|
|
|
5344
5344
|
i18n-monthlyRepeatEvery="kendo.recurrenceeditor.monthlyRepeatEvery|The text similar to 'Repeat every' displayed in the recurrence editor."
|
|
5345
|
-
monthlyRepeatEvery='
|
|
5345
|
+
monthlyRepeatEvery='Repeats every'
|
|
5346
5346
|
|
|
5347
5347
|
i18n-monthlyRepeatOn="kendo.recurrenceeditor.monthlyRepeatOn|The text similar to 'Repeat on' displayed in the recurrence editor."
|
|
5348
|
-
monthlyRepeatOn='
|
|
5348
|
+
monthlyRepeatOn='On'
|
|
5349
5349
|
|
|
5350
5350
|
i18n-yearlyOf="kendo.recurrenceeditor.yearlyOf|The text similar to 'of' displayed in the recurrence editor."
|
|
5351
5351
|
yearlyOf='of'
|
|
5352
5352
|
|
|
5353
5353
|
i18n-yearlyRepeatEvery="kendo.recurrenceeditor.yearlyRepeatEvery|The text similar to 'Repeat every' displayed in the recurrence editor."
|
|
5354
|
-
yearlyRepeatEvery='
|
|
5354
|
+
yearlyRepeatEvery='Repeats every'
|
|
5355
5355
|
|
|
5356
5356
|
i18n-yearlyRepeatOn="kendo.recurrenceeditor.yearlyRepeatOn|The text similar to 'Repeat on' displayed in the recurrence editor."
|
|
5357
|
-
yearlyRepeatOn='
|
|
5357
|
+
yearlyRepeatOn='On'
|
|
5358
5358
|
|
|
5359
5359
|
i18n-yearlyInterval="kendo.recurrenceeditor.yearlyInterval|The text similar to 'year(s)' displayed in the recurrence editor."
|
|
5360
5360
|
yearlyInterval='year(s)'
|
|
5361
5361
|
|
|
5362
5362
|
i18n-frequenciesDaily="kendo.recurrenceeditor.frequenciesDaily|The text similar to 'Daily' displayed in the recurrence editor."
|
|
5363
|
-
frequenciesDaily='
|
|
5363
|
+
frequenciesDaily='Day'
|
|
5364
5364
|
|
|
5365
5365
|
i18n-frequenciesMonthly="kendo.recurrenceeditor.frequenciesMonthly|The text similar to 'Monthly' displayed in the recurrence editor."
|
|
5366
|
-
frequenciesMonthly='
|
|
5366
|
+
frequenciesMonthly='Month'
|
|
5367
5367
|
|
|
5368
5368
|
i18n-frequenciesNever="kendo.recurrenceeditor.frequenciesNever|The text similar to 'Never' displayed in the recurrence editor."
|
|
5369
5369
|
frequenciesNever='Never'
|
|
5370
5370
|
|
|
5371
5371
|
i18n-frequenciesWeekly="kendo.recurrenceeditor.frequenciesWeekly|The text similar to 'Weekly' displayed in the recurrence editor."
|
|
5372
|
-
frequenciesWeekly='
|
|
5372
|
+
frequenciesWeekly='Week'
|
|
5373
5373
|
|
|
5374
5374
|
i18n-frequenciesYearly="kendo.recurrenceeditor.frequenciesYearly|The text similar to 'Yearly' displayed in the recurrence editor."
|
|
5375
|
-
frequenciesYearly='
|
|
5375
|
+
frequenciesYearly='Year'
|
|
5376
5376
|
|
|
5377
5377
|
i18n-offsetPositionsFirst="kendo.recurrenceeditor.offsetPositionsFirst|The text similar to 'First' displayed in the recurrence editor."
|
|
5378
5378
|
offsetPositionsFirst='First'
|
|
@@ -5499,16 +5499,16 @@ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "20.3.27", ngImpo
|
|
|
5499
5499
|
dailyInterval='day(s)'
|
|
5500
5500
|
|
|
5501
5501
|
i18n-dailyRepeatEvery="kendo.recurrenceeditor.dailyRepeatEvery|The text similar to 'Repeat every' displayed in the recurrence editor."
|
|
5502
|
-
dailyRepeatEvery='
|
|
5502
|
+
dailyRepeatEvery='Repeats every'
|
|
5503
5503
|
|
|
5504
5504
|
i18n-weeklyInterval="kendo.recurrenceeditor.weeklyInterval|The text similar to 'week(s)' displayed in the recurrence editor."
|
|
5505
5505
|
weeklyInterval='week(s)'
|
|
5506
5506
|
|
|
5507
5507
|
i18n-weeklyRepeatEvery="kendo.recurrenceeditor.weeklyRepeatEvery|The text similar to 'Repeat every' displayed in the recurrence editor."
|
|
5508
|
-
weeklyRepeatEvery='
|
|
5508
|
+
weeklyRepeatEvery='Repeats every'
|
|
5509
5509
|
|
|
5510
5510
|
i18n-weeklyRepeatOn="kendo.recurrenceeditor.weeklyRepeatOn|The text similar to 'Repeat on' displayed in the recurrence editor."
|
|
5511
|
-
weeklyRepeatOn='
|
|
5511
|
+
weeklyRepeatOn='On'
|
|
5512
5512
|
|
|
5513
5513
|
i18n-monthlyDay="kendo.recurrenceeditor.monthlyDay|The text similar to 'Day' displayed in the recurrence editor."
|
|
5514
5514
|
monthlyDay='Day'
|
|
@@ -5517,37 +5517,37 @@ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "20.3.27", ngImpo
|
|
|
5517
5517
|
monthlyInterval='month(s)'
|
|
5518
5518
|
|
|
5519
5519
|
i18n-monthlyRepeatEvery="kendo.recurrenceeditor.monthlyRepeatEvery|The text similar to 'Repeat every' displayed in the recurrence editor."
|
|
5520
|
-
monthlyRepeatEvery='
|
|
5520
|
+
monthlyRepeatEvery='Repeats every'
|
|
5521
5521
|
|
|
5522
5522
|
i18n-monthlyRepeatOn="kendo.recurrenceeditor.monthlyRepeatOn|The text similar to 'Repeat on' displayed in the recurrence editor."
|
|
5523
|
-
monthlyRepeatOn='
|
|
5523
|
+
monthlyRepeatOn='On'
|
|
5524
5524
|
|
|
5525
5525
|
i18n-yearlyOf="kendo.recurrenceeditor.yearlyOf|The text similar to 'of' displayed in the recurrence editor."
|
|
5526
5526
|
yearlyOf='of'
|
|
5527
5527
|
|
|
5528
5528
|
i18n-yearlyRepeatEvery="kendo.recurrenceeditor.yearlyRepeatEvery|The text similar to 'Repeat every' displayed in the recurrence editor."
|
|
5529
|
-
yearlyRepeatEvery='
|
|
5529
|
+
yearlyRepeatEvery='Repeats every'
|
|
5530
5530
|
|
|
5531
5531
|
i18n-yearlyRepeatOn="kendo.recurrenceeditor.yearlyRepeatOn|The text similar to 'Repeat on' displayed in the recurrence editor."
|
|
5532
|
-
yearlyRepeatOn='
|
|
5532
|
+
yearlyRepeatOn='On'
|
|
5533
5533
|
|
|
5534
5534
|
i18n-yearlyInterval="kendo.recurrenceeditor.yearlyInterval|The text similar to 'year(s)' displayed in the recurrence editor."
|
|
5535
5535
|
yearlyInterval='year(s)'
|
|
5536
5536
|
|
|
5537
5537
|
i18n-frequenciesDaily="kendo.recurrenceeditor.frequenciesDaily|The text similar to 'Daily' displayed in the recurrence editor."
|
|
5538
|
-
frequenciesDaily='
|
|
5538
|
+
frequenciesDaily='Day'
|
|
5539
5539
|
|
|
5540
5540
|
i18n-frequenciesMonthly="kendo.recurrenceeditor.frequenciesMonthly|The text similar to 'Monthly' displayed in the recurrence editor."
|
|
5541
|
-
frequenciesMonthly='
|
|
5541
|
+
frequenciesMonthly='Month'
|
|
5542
5542
|
|
|
5543
5543
|
i18n-frequenciesNever="kendo.recurrenceeditor.frequenciesNever|The text similar to 'Never' displayed in the recurrence editor."
|
|
5544
5544
|
frequenciesNever='Never'
|
|
5545
5545
|
|
|
5546
5546
|
i18n-frequenciesWeekly="kendo.recurrenceeditor.frequenciesWeekly|The text similar to 'Weekly' displayed in the recurrence editor."
|
|
5547
|
-
frequenciesWeekly='
|
|
5547
|
+
frequenciesWeekly='Week'
|
|
5548
5548
|
|
|
5549
5549
|
i18n-frequenciesYearly="kendo.recurrenceeditor.frequenciesYearly|The text similar to 'Yearly' displayed in the recurrence editor."
|
|
5550
|
-
frequenciesYearly='
|
|
5550
|
+
frequenciesYearly='Year'
|
|
5551
5551
|
|
|
5552
5552
|
i18n-offsetPositionsFirst="kendo.recurrenceeditor.offsetPositionsFirst|The text similar to 'First' displayed in the recurrence editor."
|
|
5553
5553
|
offsetPositionsFirst='First'
|
|
@@ -7679,6 +7679,11 @@ class Messages extends ComponentMessages {
|
|
|
7679
7679
|
* The `{count}` placeholder is replaced with the number of additional events.
|
|
7680
7680
|
*/
|
|
7681
7681
|
moreEvents;
|
|
7682
|
+
/**
|
|
7683
|
+
* Sets the `aria-label` for the **more events** button in the Month view.
|
|
7684
|
+
* The `{count}` placeholder is replaced with the number of additional events.
|
|
7685
|
+
*/
|
|
7686
|
+
moreEventsLabel;
|
|
7682
7687
|
/**
|
|
7683
7688
|
* Sets the date-header text in the **Agenda** view.
|
|
7684
7689
|
*/
|
|
@@ -8133,7 +8138,7 @@ class Messages extends ComponentMessages {
|
|
|
8133
8138
|
*/
|
|
8134
8139
|
newEventLabel;
|
|
8135
8140
|
static ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "20.3.27", ngImport: i0, type: Messages, deps: null, target: i0.ɵɵFactoryTarget.Directive });
|
|
8136
|
-
static ɵdir = i0.ɵɵngDeclareDirective({ minVersion: "14.0.0", version: "20.3.27", type: Messages, isStandalone: true, inputs: { allEvents: "allEvents", allDay: "allDay", moreEvents: "moreEvents", dateHeader: "dateHeader", timeHeader: "timeHeader", eventHeader: "eventHeader", resourceColumnHeaderLabel: "resourceColumnHeaderLabel", deleteTitle: "deleteTitle", nextTitle: "nextTitle", previousTitle: "previousTitle", toolbar: "toolbar", today: "today", calendarToday: "calendarToday", showFullDay: "showFullDay", showWorkDay: "showWorkDay", dayViewTitle: "dayViewTitle", multiDayViewTitle: "multiDayViewTitle", weekViewTitle: "weekViewTitle", workWeekViewTitle: "workWeekViewTitle", monthViewTitle: "monthViewTitle", multiWeekViewTitle: "multiWeekViewTitle", timelineViewTitle: "timelineViewTitle", timelineWeekViewTitle: "timelineWeekViewTitle", timelineMonthViewTitle: "timelineMonthViewTitle", agendaViewTitle: "agendaViewTitle", yearViewTitle: "yearViewTitle", yearViewNoEvents: "yearViewNoEvents", cancel: "cancel", save: "save", editorEventTitle: "editorEventTitle", editorEventStart: "editorEventStart", editorEventStartTime: "editorEventStartTime", editorEventStartTimeZone: "editorEventStartTimeZone", editorEventEnd: "editorEventEnd", editorEventEndTime: "editorEventEndTime", editorEventEndTimeZone: "editorEventEndTimeZone", editorEventAllDay: "editorEventAllDay", editorEventDescription: "editorEventDescription", editorEventTimeZone: "editorEventTimeZone", editorEventTimeZoneReset: "editorEventTimeZoneReset", editorEventDescriptionPlaceholder: "editorEventDescriptionPlaceholder", editorEventDateRangeSeparator: "editorEventDateRangeSeparator", editorEventDateRangeStart: "editorEventDateRangeStart", editorRecurrenceMakeRecurring: "editorRecurrenceMakeRecurring", editorRecurrenceEdit: "editorRecurrenceEdit", editorRecurrenceDialogTitle: "editorRecurrenceDialogTitle", editorRecurrenceRemove: "editorRecurrenceRemove", editorRecurrenceRemoveConfirmationTitle: "editorRecurrenceRemoveConfirmationTitle", editorRecurrenceRemoveConfirmation: "editorRecurrenceRemoveConfirmation", editorRecurrenceRemoveConfirmationNo: "editorRecurrenceRemoveConfirmationNo", editorRecurrenceRemoveConfirmationYes: "editorRecurrenceRemoveConfirmationYes", editorDateInputsToday: "editorDateInputsToday", editorDatePickersToggle: "editorDatePickersToggle", editorDateInputsParentViewButton: "editorDateInputsParentViewButton", editorDateInputsNow: "editorDateInputsNow", editorDateInputsNowLabel: "editorDateInputsNowLabel", editorDateInputsAccept: "editorDateInputsAccept", editorDateInputsAcceptLabel: "editorDateInputsAcceptLabel", editorDateInputsCancel: "editorDateInputsCancel", editorDateInputsCancelLabel: "editorDateInputsCancelLabel", editorTimePickersToggle: "editorTimePickersToggle", recurrenceEditorDateInputsToday: "recurrenceEditorDateInputsToday", recurrenceEditorDateInputsToggle: "recurrenceEditorDateInputsToggle", recurrenceEditorDateInputsParentViewButton: "recurrenceEditorDateInputsParentViewButton", recurrenceEditorNumericIncrement: "recurrenceEditorNumericIncrement", recurrenceEditorNumericDecrement: "recurrenceEditorNumericDecrement", recurrenceEditorRepeat: "recurrenceEditorRepeat", recurrenceEditorDailyInterval: "recurrenceEditorDailyInterval", recurrenceEditorDailyRepeatEvery: "recurrenceEditorDailyRepeatEvery", recurrenceEditorWeeklyInterval: "recurrenceEditorWeeklyInterval", recurrenceEditorWeeklyRepeatEvery: "recurrenceEditorWeeklyRepeatEvery", recurrenceEditorWeeklyRepeatOn: "recurrenceEditorWeeklyRepeatOn", recurrenceEditorMonthlyDay: "recurrenceEditorMonthlyDay", recurrenceEditorMonthlyInterval: "recurrenceEditorMonthlyInterval", recurrenceEditorMonthlyRepeatEvery: "recurrenceEditorMonthlyRepeatEvery", recurrenceEditorMonthlyRepeatOn: "recurrenceEditorMonthlyRepeatOn", recurrenceEditorYearlyOf: "recurrenceEditorYearlyOf", recurrenceEditorYearlyRepeatEvery: "recurrenceEditorYearlyRepeatEvery", recurrenceEditorYearlyRepeatOn: "recurrenceEditorYearlyRepeatOn", recurrenceEditorYearlyInterval: "recurrenceEditorYearlyInterval", recurrenceEditorFrequenciesDaily: "recurrenceEditorFrequenciesDaily", recurrenceEditorFrequenciesMonthly: "recurrenceEditorFrequenciesMonthly", recurrenceEditorFrequenciesNever: "recurrenceEditorFrequenciesNever", recurrenceEditorFrequenciesWeekly: "recurrenceEditorFrequenciesWeekly", recurrenceEditorFrequenciesYearly: "recurrenceEditorFrequenciesYearly", recurrenceEditorOffsetPositionsFirst: "recurrenceEditorOffsetPositionsFirst", recurrenceEditorOffsetPositionsSecond: "recurrenceEditorOffsetPositionsSecond", recurrenceEditorOffsetPositionsThird: "recurrenceEditorOffsetPositionsThird", recurrenceEditorOffsetPositionsFourth: "recurrenceEditorOffsetPositionsFourth", recurrenceEditorOffsetPositionsLast: "recurrenceEditorOffsetPositionsLast", recurrenceEditorWeekdaysDay: "recurrenceEditorWeekdaysDay", recurrenceEditorWeekdaysWeekday: "recurrenceEditorWeekdaysWeekday", recurrenceEditorWeekdaysWeekendday: "recurrenceEditorWeekdaysWeekendday", recurrenceEditorEndAfter: "recurrenceEditorEndAfter", recurrenceEditorEndOccurrence: "recurrenceEditorEndOccurrence", recurrenceEditorEndLabel: "recurrenceEditorEndLabel", recurrenceEditorEndNever: "recurrenceEditorEndNever", recurrenceEditorEndOn: "recurrenceEditorEndOn", editorTitle: "editorTitle", editorTitleNew: "editorTitleNew", destroy: "destroy", deleteConfirmation: "deleteConfirmation", editRecurringConfirmation: "editRecurringConfirmation", editOccurrence: "editOccurrence", editSeries: "editSeries", deleteRecurringConfirmation: "deleteRecurringConfirmation", deleteOccurrence: "deleteOccurrence", deleteSeries: "deleteSeries", deleteDialogTitle: "deleteDialogTitle", deleteRecurringDialogTitle: "deleteRecurringDialogTitle", editRecurringDialogTitle: "editRecurringDialogTitle", selectView: "selectView", newEvent: "newEvent", newEventLabel: "newEventLabel" }, usesInheritance: true, ngImport: i0 });
|
|
8141
|
+
static ɵdir = i0.ɵɵngDeclareDirective({ minVersion: "14.0.0", version: "20.3.27", type: Messages, isStandalone: true, inputs: { allEvents: "allEvents", allDay: "allDay", moreEvents: "moreEvents", moreEventsLabel: "moreEventsLabel", dateHeader: "dateHeader", timeHeader: "timeHeader", eventHeader: "eventHeader", resourceColumnHeaderLabel: "resourceColumnHeaderLabel", deleteTitle: "deleteTitle", nextTitle: "nextTitle", previousTitle: "previousTitle", toolbar: "toolbar", today: "today", calendarToday: "calendarToday", showFullDay: "showFullDay", showWorkDay: "showWorkDay", dayViewTitle: "dayViewTitle", multiDayViewTitle: "multiDayViewTitle", weekViewTitle: "weekViewTitle", workWeekViewTitle: "workWeekViewTitle", monthViewTitle: "monthViewTitle", multiWeekViewTitle: "multiWeekViewTitle", timelineViewTitle: "timelineViewTitle", timelineWeekViewTitle: "timelineWeekViewTitle", timelineMonthViewTitle: "timelineMonthViewTitle", agendaViewTitle: "agendaViewTitle", yearViewTitle: "yearViewTitle", yearViewNoEvents: "yearViewNoEvents", cancel: "cancel", save: "save", editorEventTitle: "editorEventTitle", editorEventStart: "editorEventStart", editorEventStartTime: "editorEventStartTime", editorEventStartTimeZone: "editorEventStartTimeZone", editorEventEnd: "editorEventEnd", editorEventEndTime: "editorEventEndTime", editorEventEndTimeZone: "editorEventEndTimeZone", editorEventAllDay: "editorEventAllDay", editorEventDescription: "editorEventDescription", editorEventTimeZone: "editorEventTimeZone", editorEventTimeZoneReset: "editorEventTimeZoneReset", editorEventDescriptionPlaceholder: "editorEventDescriptionPlaceholder", editorEventDateRangeSeparator: "editorEventDateRangeSeparator", editorEventDateRangeStart: "editorEventDateRangeStart", editorRecurrenceMakeRecurring: "editorRecurrenceMakeRecurring", editorRecurrenceEdit: "editorRecurrenceEdit", editorRecurrenceDialogTitle: "editorRecurrenceDialogTitle", editorRecurrenceRemove: "editorRecurrenceRemove", editorRecurrenceRemoveConfirmationTitle: "editorRecurrenceRemoveConfirmationTitle", editorRecurrenceRemoveConfirmation: "editorRecurrenceRemoveConfirmation", editorRecurrenceRemoveConfirmationNo: "editorRecurrenceRemoveConfirmationNo", editorRecurrenceRemoveConfirmationYes: "editorRecurrenceRemoveConfirmationYes", editorDateInputsToday: "editorDateInputsToday", editorDatePickersToggle: "editorDatePickersToggle", editorDateInputsParentViewButton: "editorDateInputsParentViewButton", editorDateInputsNow: "editorDateInputsNow", editorDateInputsNowLabel: "editorDateInputsNowLabel", editorDateInputsAccept: "editorDateInputsAccept", editorDateInputsAcceptLabel: "editorDateInputsAcceptLabel", editorDateInputsCancel: "editorDateInputsCancel", editorDateInputsCancelLabel: "editorDateInputsCancelLabel", editorTimePickersToggle: "editorTimePickersToggle", recurrenceEditorDateInputsToday: "recurrenceEditorDateInputsToday", recurrenceEditorDateInputsToggle: "recurrenceEditorDateInputsToggle", recurrenceEditorDateInputsParentViewButton: "recurrenceEditorDateInputsParentViewButton", recurrenceEditorNumericIncrement: "recurrenceEditorNumericIncrement", recurrenceEditorNumericDecrement: "recurrenceEditorNumericDecrement", recurrenceEditorRepeat: "recurrenceEditorRepeat", recurrenceEditorDailyInterval: "recurrenceEditorDailyInterval", recurrenceEditorDailyRepeatEvery: "recurrenceEditorDailyRepeatEvery", recurrenceEditorWeeklyInterval: "recurrenceEditorWeeklyInterval", recurrenceEditorWeeklyRepeatEvery: "recurrenceEditorWeeklyRepeatEvery", recurrenceEditorWeeklyRepeatOn: "recurrenceEditorWeeklyRepeatOn", recurrenceEditorMonthlyDay: "recurrenceEditorMonthlyDay", recurrenceEditorMonthlyInterval: "recurrenceEditorMonthlyInterval", recurrenceEditorMonthlyRepeatEvery: "recurrenceEditorMonthlyRepeatEvery", recurrenceEditorMonthlyRepeatOn: "recurrenceEditorMonthlyRepeatOn", recurrenceEditorYearlyOf: "recurrenceEditorYearlyOf", recurrenceEditorYearlyRepeatEvery: "recurrenceEditorYearlyRepeatEvery", recurrenceEditorYearlyRepeatOn: "recurrenceEditorYearlyRepeatOn", recurrenceEditorYearlyInterval: "recurrenceEditorYearlyInterval", recurrenceEditorFrequenciesDaily: "recurrenceEditorFrequenciesDaily", recurrenceEditorFrequenciesMonthly: "recurrenceEditorFrequenciesMonthly", recurrenceEditorFrequenciesNever: "recurrenceEditorFrequenciesNever", recurrenceEditorFrequenciesWeekly: "recurrenceEditorFrequenciesWeekly", recurrenceEditorFrequenciesYearly: "recurrenceEditorFrequenciesYearly", recurrenceEditorOffsetPositionsFirst: "recurrenceEditorOffsetPositionsFirst", recurrenceEditorOffsetPositionsSecond: "recurrenceEditorOffsetPositionsSecond", recurrenceEditorOffsetPositionsThird: "recurrenceEditorOffsetPositionsThird", recurrenceEditorOffsetPositionsFourth: "recurrenceEditorOffsetPositionsFourth", recurrenceEditorOffsetPositionsLast: "recurrenceEditorOffsetPositionsLast", recurrenceEditorWeekdaysDay: "recurrenceEditorWeekdaysDay", recurrenceEditorWeekdaysWeekday: "recurrenceEditorWeekdaysWeekday", recurrenceEditorWeekdaysWeekendday: "recurrenceEditorWeekdaysWeekendday", recurrenceEditorEndAfter: "recurrenceEditorEndAfter", recurrenceEditorEndOccurrence: "recurrenceEditorEndOccurrence", recurrenceEditorEndLabel: "recurrenceEditorEndLabel", recurrenceEditorEndNever: "recurrenceEditorEndNever", recurrenceEditorEndOn: "recurrenceEditorEndOn", editorTitle: "editorTitle", editorTitleNew: "editorTitleNew", destroy: "destroy", deleteConfirmation: "deleteConfirmation", editRecurringConfirmation: "editRecurringConfirmation", editOccurrence: "editOccurrence", editSeries: "editSeries", deleteRecurringConfirmation: "deleteRecurringConfirmation", deleteOccurrence: "deleteOccurrence", deleteSeries: "deleteSeries", deleteDialogTitle: "deleteDialogTitle", deleteRecurringDialogTitle: "deleteRecurringDialogTitle", editRecurringDialogTitle: "editRecurringDialogTitle", selectView: "selectView", newEvent: "newEvent", newEventLabel: "newEventLabel" }, usesInheritance: true, ngImport: i0 });
|
|
8137
8142
|
}
|
|
8138
8143
|
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "20.3.27", ngImport: i0, type: Messages, decorators: [{
|
|
8139
8144
|
type: Directive
|
|
@@ -8143,6 +8148,8 @@ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "20.3.27", ngImpo
|
|
|
8143
8148
|
type: Input
|
|
8144
8149
|
}], moreEvents: [{
|
|
8145
8150
|
type: Input
|
|
8151
|
+
}], moreEventsLabel: [{
|
|
8152
|
+
type: Input
|
|
8146
8153
|
}], dateHeader: [{
|
|
8147
8154
|
type: Input
|
|
8148
8155
|
}], timeHeader: [{
|
|
@@ -9495,6 +9502,9 @@ class SchedulerComponent {
|
|
|
9495
9502
|
i18n-moreEvents="kendo.scheduler.moreEvents|The text of the more events button in the month view. The {count} placeholder is replaced with the number of hidden events."
|
|
9496
9503
|
moreEvents="{count} more"
|
|
9497
9504
|
|
|
9505
|
+
i18n-moreEventsLabel="kendo.scheduler.moreEventsLabel|The aria-label of the more events button in the month view. The {count} placeholder is replaced with the number of hidden events."
|
|
9506
|
+
moreEventsLabel="{count} more events"
|
|
9507
|
+
|
|
9498
9508
|
i18n-dateHeader="kendo.scheduler.dateHeader|The date header text displayed in the agenda view."
|
|
9499
9509
|
dateHeader="Date"
|
|
9500
9510
|
|
|
@@ -9917,6 +9927,9 @@ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "20.3.27", ngImpo
|
|
|
9917
9927
|
i18n-moreEvents="kendo.scheduler.moreEvents|The text of the more events button in the month view. The {count} placeholder is replaced with the number of hidden events."
|
|
9918
9928
|
moreEvents="{count} more"
|
|
9919
9929
|
|
|
9930
|
+
i18n-moreEventsLabel="kendo.scheduler.moreEventsLabel|The aria-label of the more events button in the month view. The {count} placeholder is replaced with the number of hidden events."
|
|
9931
|
+
moreEventsLabel="{count} more events"
|
|
9932
|
+
|
|
9920
9933
|
i18n-dateHeader="kendo.scheduler.dateHeader|The date header text displayed in the agenda view."
|
|
9921
9934
|
dateHeader="Date"
|
|
9922
9935
|
|
|
@@ -11620,7 +11633,7 @@ function groupEvents(items, { taskResources, resourceGroups, spans, allResources
|
|
|
11620
11633
|
class AgendaTaskItemComponent {
|
|
11621
11634
|
localization;
|
|
11622
11635
|
intl;
|
|
11623
|
-
|
|
11636
|
+
arrowRotateCwIcon = arrowRotateCwIcon;
|
|
11624
11637
|
arrowsNoRepeatIcon = arrowsNoRepeatIcon;
|
|
11625
11638
|
xIcon = xIcon;
|
|
11626
11639
|
item;
|
|
@@ -11659,7 +11672,7 @@ class AgendaTaskItemComponent {
|
|
|
11659
11672
|
<span class="k-scheduler-mark" [style.background-color]="eventColor"></span>
|
|
11660
11673
|
}
|
|
11661
11674
|
@if (isRecurrence) {
|
|
11662
|
-
<kendo-icon-wrapper name="arrow-rotate-cw" [svgIcon]="
|
|
11675
|
+
<kendo-icon-wrapper name="arrow-rotate-cw" [svgIcon]="arrowRotateCwIcon"></kendo-icon-wrapper>
|
|
11663
11676
|
}
|
|
11664
11677
|
|
|
11665
11678
|
@if (isRecurrenceException) {
|
|
@@ -11693,7 +11706,7 @@ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "20.3.27", ngImpo
|
|
|
11693
11706
|
<span class="k-scheduler-mark" [style.background-color]="eventColor"></span>
|
|
11694
11707
|
}
|
|
11695
11708
|
@if (isRecurrence) {
|
|
11696
|
-
<kendo-icon-wrapper name="arrow-rotate-cw" [svgIcon]="
|
|
11709
|
+
<kendo-icon-wrapper name="arrow-rotate-cw" [svgIcon]="arrowRotateCwIcon"></kendo-icon-wrapper>
|
|
11697
11710
|
}
|
|
11698
11711
|
|
|
11699
11712
|
@if (isRecurrenceException) {
|
|
@@ -13071,7 +13084,6 @@ class MonthResourceGroup {
|
|
|
13071
13084
|
* @hidden
|
|
13072
13085
|
*/
|
|
13073
13086
|
class MonthSlotService extends BaseSlotService {
|
|
13074
|
-
currentPopover;
|
|
13075
13087
|
layout(eventHeight, eventsPerDay, adaptiveSlotHeight) {
|
|
13076
13088
|
this.groups.forEach((group) => group.forEachRange(range => range.layout(eventHeight, eventsPerDay, adaptiveSlotHeight)));
|
|
13077
13089
|
}
|
|
@@ -14657,9 +14669,11 @@ class MonthViewItemComponent extends BaseViewItem {
|
|
|
14657
14669
|
<div [attr.title]="eventTitle">
|
|
14658
14670
|
<div class="k-event-template k-event-title">{{ item.event.title }}</div>
|
|
14659
14671
|
<div class="k-event-template k-event-time">
|
|
14672
|
+
@if (isRecurrence) {
|
|
14660
14673
|
<span class="k-event-recurrence-icon">
|
|
14661
14674
|
<kendo-icon-wrapper name="arrow-rotate-cw" [svgIcon]="arrowRotateCwIcon" size="small"></kendo-icon-wrapper>
|
|
14662
14675
|
</span>
|
|
14676
|
+
}
|
|
14663
14677
|
{{ eventTime }}
|
|
14664
14678
|
</div>
|
|
14665
14679
|
</div>
|
|
@@ -14682,7 +14696,7 @@ class MonthViewItemComponent extends BaseViewItem {
|
|
|
14682
14696
|
</span>
|
|
14683
14697
|
}
|
|
14684
14698
|
|
|
14685
|
-
@if (resizable) {
|
|
14699
|
+
@if (resizable && !isReadonly) {
|
|
14686
14700
|
<span class="k-resize-handle k-resize-w"></span>
|
|
14687
14701
|
<span class="k-resize-handle k-resize-e"></span>
|
|
14688
14702
|
}
|
|
@@ -14708,9 +14722,11 @@ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "20.3.27", ngImpo
|
|
|
14708
14722
|
<div [attr.title]="eventTitle">
|
|
14709
14723
|
<div class="k-event-template k-event-title">{{ item.event.title }}</div>
|
|
14710
14724
|
<div class="k-event-template k-event-time">
|
|
14725
|
+
@if (isRecurrence) {
|
|
14711
14726
|
<span class="k-event-recurrence-icon">
|
|
14712
14727
|
<kendo-icon-wrapper name="arrow-rotate-cw" [svgIcon]="arrowRotateCwIcon" size="small"></kendo-icon-wrapper>
|
|
14713
14728
|
</span>
|
|
14729
|
+
}
|
|
14714
14730
|
{{ eventTime }}
|
|
14715
14731
|
</div>
|
|
14716
14732
|
</div>
|
|
@@ -14733,7 +14749,7 @@ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "20.3.27", ngImpo
|
|
|
14733
14749
|
</span>
|
|
14734
14750
|
}
|
|
14735
14751
|
|
|
14736
|
-
@if (resizable) {
|
|
14752
|
+
@if (resizable && !isReadonly) {
|
|
14737
14753
|
<span class="k-resize-handle k-resize-w"></span>
|
|
14738
14754
|
<span class="k-resize-handle k-resize-e"></span>
|
|
14739
14755
|
}
|
|
@@ -14997,6 +15013,143 @@ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "20.3.27", ngImpo
|
|
|
14997
15013
|
args: ['attr.data-slot-index']
|
|
14998
15014
|
}] } });
|
|
14999
15015
|
|
|
15016
|
+
/**
|
|
15017
|
+
* @hidden
|
|
15018
|
+
*/
|
|
15019
|
+
class MonthSlotComponent extends BaseSlotDirective {
|
|
15020
|
+
cdr;
|
|
15021
|
+
moreEventsWidth;
|
|
15022
|
+
moreEventsLeft;
|
|
15023
|
+
moreEventsTop;
|
|
15024
|
+
showMoreButton;
|
|
15025
|
+
hiddenCount = 0;
|
|
15026
|
+
moreEvents = [];
|
|
15027
|
+
resourcesByIndex;
|
|
15028
|
+
monthDaySlotTemplateRef;
|
|
15029
|
+
eventsPerDay;
|
|
15030
|
+
eventHeight;
|
|
15031
|
+
adaptiveSlotHeight;
|
|
15032
|
+
set day(value) {
|
|
15033
|
+
this._day = value;
|
|
15034
|
+
this.start = value;
|
|
15035
|
+
}
|
|
15036
|
+
/**
|
|
15037
|
+
* For the slot template we need the day value without the UTC conversion
|
|
15038
|
+
* - timezone does not matter for the day part in this case as the calendar month view is the same for every timezone
|
|
15039
|
+
* otherwise the date is incorrect for some timezones (e.g. LA timezone) -
|
|
15040
|
+
* For example, it displays Feb. 8, 2023 to be Thursday, wherease it is Wednesday
|
|
15041
|
+
*/
|
|
15042
|
+
get day() {
|
|
15043
|
+
return this._day;
|
|
15044
|
+
}
|
|
15045
|
+
set start(value) {
|
|
15046
|
+
this.startDate = toUTCDate(value);
|
|
15047
|
+
}
|
|
15048
|
+
get start() {
|
|
15049
|
+
return this.startDate;
|
|
15050
|
+
}
|
|
15051
|
+
isDaySlot = true;
|
|
15052
|
+
get end() {
|
|
15053
|
+
return addUTCDays(this.start, 1);
|
|
15054
|
+
}
|
|
15055
|
+
isFirstDayOfMonth(day) {
|
|
15056
|
+
return isEqualDate(day, firstDayOfMonth(day));
|
|
15057
|
+
}
|
|
15058
|
+
get linkHeight() {
|
|
15059
|
+
if (this._linkHeight === null) {
|
|
15060
|
+
const element = firstElementChild(this.nativeElement);
|
|
15061
|
+
this._linkHeight = element ? element.offsetHeight + element.offsetTop : 0;
|
|
15062
|
+
}
|
|
15063
|
+
return this._linkHeight;
|
|
15064
|
+
}
|
|
15065
|
+
startDate;
|
|
15066
|
+
_day;
|
|
15067
|
+
_linkHeight = null;
|
|
15068
|
+
constructor(element, slotService, localization, cdr) {
|
|
15069
|
+
super(element, slotService, localization);
|
|
15070
|
+
this.cdr = cdr;
|
|
15071
|
+
}
|
|
15072
|
+
ngOnDestroy() {
|
|
15073
|
+
super.ngOnDestroy();
|
|
15074
|
+
this.removeShowMore();
|
|
15075
|
+
}
|
|
15076
|
+
showMore(rect) {
|
|
15077
|
+
this.showMoreButton = true;
|
|
15078
|
+
this.moreEventsWidth = rect.width;
|
|
15079
|
+
this.moreEventsLeft = rect.left;
|
|
15080
|
+
this.moreEventsTop = rect.top;
|
|
15081
|
+
this.cdr.detectChanges();
|
|
15082
|
+
}
|
|
15083
|
+
hideMore() {
|
|
15084
|
+
this.hiddenCount = 0;
|
|
15085
|
+
this.showMoreButton = false;
|
|
15086
|
+
this.removeShowMore();
|
|
15087
|
+
}
|
|
15088
|
+
invalidate() {
|
|
15089
|
+
super.invalidate();
|
|
15090
|
+
this._linkHeight = null;
|
|
15091
|
+
this.hiddenCount = 0;
|
|
15092
|
+
this.showMoreButton = false;
|
|
15093
|
+
this.removeShowMore();
|
|
15094
|
+
}
|
|
15095
|
+
removeShowMore() {
|
|
15096
|
+
this.showMoreButton = false;
|
|
15097
|
+
this.cdr.detectChanges();
|
|
15098
|
+
}
|
|
15099
|
+
static ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "20.3.27", ngImport: i0, type: MonthSlotComponent, deps: [{ token: i0.ElementRef }, { token: MonthSlotService }, { token: i2.LocalizationService }, { token: i0.ChangeDetectorRef }], target: i0.ɵɵFactoryTarget.Component });
|
|
15100
|
+
static ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "17.0.0", version: "20.3.27", type: MonthSlotComponent, isStandalone: true, selector: "[monthSlot]", inputs: { moreEvents: "moreEvents", resourcesByIndex: "resourcesByIndex", monthDaySlotTemplateRef: "monthDaySlotTemplateRef", eventsPerDay: "eventsPerDay", eventHeight: "eventHeight", adaptiveSlotHeight: "adaptiveSlotHeight", day: ["monthSlot", "day"] }, usesInheritance: true, ngImport: i0, template: `
|
|
15101
|
+
@if (!monthDaySlotTemplateRef) {
|
|
15102
|
+
<span class="k-link k-nav-day">
|
|
15103
|
+
{{ day | kendoDate: isFirstDayOfMonth(day) ? 'MMM dd' : 'dd' }}
|
|
15104
|
+
</span>
|
|
15105
|
+
}
|
|
15106
|
+
@if (monthDaySlotTemplateRef) {
|
|
15107
|
+
<ng-container
|
|
15108
|
+
[ngTemplateOutlet]="monthDaySlotTemplateRef"
|
|
15109
|
+
[ngTemplateOutletContext]="{ date: day, resources: resourcesByIndex }"
|
|
15110
|
+
>
|
|
15111
|
+
</ng-container>
|
|
15112
|
+
}
|
|
15113
|
+
`, isInline: true, dependencies: [{ kind: "directive", type: NgTemplateOutlet, selector: "[ngTemplateOutlet]", inputs: ["ngTemplateOutletContext", "ngTemplateOutlet", "ngTemplateOutletInjector"] }, { kind: "pipe", type: DatePipe, name: "kendoDate" }] });
|
|
15114
|
+
}
|
|
15115
|
+
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "20.3.27", ngImport: i0, type: MonthSlotComponent, decorators: [{
|
|
15116
|
+
type: Component,
|
|
15117
|
+
args: [{
|
|
15118
|
+
selector: '[monthSlot]',
|
|
15119
|
+
template: `
|
|
15120
|
+
@if (!monthDaySlotTemplateRef) {
|
|
15121
|
+
<span class="k-link k-nav-day">
|
|
15122
|
+
{{ day | kendoDate: isFirstDayOfMonth(day) ? 'MMM dd' : 'dd' }}
|
|
15123
|
+
</span>
|
|
15124
|
+
}
|
|
15125
|
+
@if (monthDaySlotTemplateRef) {
|
|
15126
|
+
<ng-container
|
|
15127
|
+
[ngTemplateOutlet]="monthDaySlotTemplateRef"
|
|
15128
|
+
[ngTemplateOutletContext]="{ date: day, resources: resourcesByIndex }"
|
|
15129
|
+
>
|
|
15130
|
+
</ng-container>
|
|
15131
|
+
}
|
|
15132
|
+
`,
|
|
15133
|
+
standalone: true,
|
|
15134
|
+
imports: [NgTemplateOutlet, DatePipe]
|
|
15135
|
+
}]
|
|
15136
|
+
}], ctorParameters: () => [{ type: i0.ElementRef }, { type: MonthSlotService }, { type: i2.LocalizationService }, { type: i0.ChangeDetectorRef }], propDecorators: { moreEvents: [{
|
|
15137
|
+
type: Input
|
|
15138
|
+
}], resourcesByIndex: [{
|
|
15139
|
+
type: Input
|
|
15140
|
+
}], monthDaySlotTemplateRef: [{
|
|
15141
|
+
type: Input
|
|
15142
|
+
}], eventsPerDay: [{
|
|
15143
|
+
type: Input
|
|
15144
|
+
}], eventHeight: [{
|
|
15145
|
+
type: Input
|
|
15146
|
+
}], adaptiveSlotHeight: [{
|
|
15147
|
+
type: Input
|
|
15148
|
+
}], day: [{
|
|
15149
|
+
type: Input,
|
|
15150
|
+
args: ['monthSlot']
|
|
15151
|
+
}] } });
|
|
15152
|
+
|
|
15000
15153
|
/**
|
|
15001
15154
|
* @hidden
|
|
15002
15155
|
*/
|
|
@@ -15189,249 +15342,11 @@ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "20.3.27", ngImpo
|
|
|
15189
15342
|
args: ['popover', { static: true }]
|
|
15190
15343
|
}] } });
|
|
15191
15344
|
|
|
15192
|
-
/**
|
|
15193
|
-
* @hidden
|
|
15194
|
-
*/
|
|
15195
|
-
class MonthSlotComponent extends BaseSlotDirective {
|
|
15196
|
-
cdr;
|
|
15197
|
-
focusService;
|
|
15198
|
-
viewState;
|
|
15199
|
-
showMoreFocusable;
|
|
15200
|
-
popoverAnchor;
|
|
15201
|
-
moreEventsWidth;
|
|
15202
|
-
moreEventsLeft;
|
|
15203
|
-
moreEventsTop;
|
|
15204
|
-
showMoreButton;
|
|
15205
|
-
moreHorizontalIcon = moreHorizontalIcon;
|
|
15206
|
-
hiddenCount = 0;
|
|
15207
|
-
moreEvents = [];
|
|
15208
|
-
eventClass;
|
|
15209
|
-
eventStyles;
|
|
15210
|
-
resourcesByIndex;
|
|
15211
|
-
monthDaySlotTemplateRef;
|
|
15212
|
-
eventsPerDay;
|
|
15213
|
-
eventHeight;
|
|
15214
|
-
adaptiveSlotHeight;
|
|
15215
|
-
set day(value) {
|
|
15216
|
-
this._day = value;
|
|
15217
|
-
this.start = value;
|
|
15218
|
-
}
|
|
15219
|
-
/**
|
|
15220
|
-
* For the slot template we need the day value without the UTC conversion
|
|
15221
|
-
* - timezone does not matter for the day part in this case as the calendar month view is the same for every timezone
|
|
15222
|
-
* otherwise the date is incorrect for some timezones (e.g. LA timezone) -
|
|
15223
|
-
* For example, it displays Feb. 8, 2023 to be Thursday, wherease it is Wednesday
|
|
15224
|
-
*/
|
|
15225
|
-
get day() {
|
|
15226
|
-
return this._day;
|
|
15227
|
-
}
|
|
15228
|
-
set start(value) {
|
|
15229
|
-
this.startDate = toUTCDate(value);
|
|
15230
|
-
}
|
|
15231
|
-
get start() {
|
|
15232
|
-
return this.startDate;
|
|
15233
|
-
}
|
|
15234
|
-
isDaySlot = true;
|
|
15235
|
-
get end() {
|
|
15236
|
-
return addUTCDays(this.start, 1);
|
|
15237
|
-
}
|
|
15238
|
-
isFirstDayOfMonth(day) {
|
|
15239
|
-
return isEqualDate(day, firstDayOfMonth(day));
|
|
15240
|
-
}
|
|
15241
|
-
get linkHeight() {
|
|
15242
|
-
if (this._linkHeight === null) {
|
|
15243
|
-
const element = firstElementChild(this.nativeElement);
|
|
15244
|
-
this._linkHeight = element ? element.offsetHeight + element.offsetTop : 0;
|
|
15245
|
-
}
|
|
15246
|
-
return this._linkHeight;
|
|
15247
|
-
}
|
|
15248
|
-
get moreEventsText() {
|
|
15249
|
-
const message = this.localization.get('moreEvents') || '{count} more';
|
|
15250
|
-
return message.replace('{count}', String(this.hiddenCount));
|
|
15251
|
-
}
|
|
15252
|
-
startDate;
|
|
15253
|
-
_day;
|
|
15254
|
-
_linkHeight = null;
|
|
15255
|
-
constructor(element, slotService, localization, cdr, focusService, viewState) {
|
|
15256
|
-
super(element, slotService, localization);
|
|
15257
|
-
this.cdr = cdr;
|
|
15258
|
-
this.focusService = focusService;
|
|
15259
|
-
this.viewState = viewState;
|
|
15260
|
-
}
|
|
15261
|
-
ngOnDestroy() {
|
|
15262
|
-
super.ngOnDestroy();
|
|
15263
|
-
this.removeShowMore();
|
|
15264
|
-
}
|
|
15265
|
-
onNavigateToDay(date) {
|
|
15266
|
-
this.hidePopover();
|
|
15267
|
-
this.viewState.navigateTo({ viewName: 'day', date: new Date(date) });
|
|
15268
|
-
}
|
|
15269
|
-
showPopover() {
|
|
15270
|
-
this.hidePopover();
|
|
15271
|
-
this.popoverAnchor?.show();
|
|
15272
|
-
this.slotService.currentPopover = this.popoverAnchor;
|
|
15273
|
-
}
|
|
15274
|
-
hidePopover() {
|
|
15275
|
-
this.slotService.currentPopover?.hide();
|
|
15276
|
-
}
|
|
15277
|
-
showMore(rect) {
|
|
15278
|
-
this.showMoreButton = true;
|
|
15279
|
-
this.moreEventsWidth = rect.width;
|
|
15280
|
-
this.moreEventsLeft = rect.left;
|
|
15281
|
-
this.moreEventsTop = rect.top;
|
|
15282
|
-
this.cdr.detectChanges();
|
|
15283
|
-
this.repositionShowMoreInFocus();
|
|
15284
|
-
}
|
|
15285
|
-
repositionShowMoreInFocus() {
|
|
15286
|
-
if (!this.showMoreFocusable) {
|
|
15287
|
-
return;
|
|
15288
|
-
}
|
|
15289
|
-
let lastVisibleItem = null;
|
|
15290
|
-
let maxRowIndex = -1;
|
|
15291
|
-
const slotResourceIndex = this.id.resourceIndex;
|
|
15292
|
-
this.slotService.forEachItem((viewItem) => {
|
|
15293
|
-
if (viewItem.resourceIndex !== slotResourceIndex) {
|
|
15294
|
-
return;
|
|
15295
|
-
}
|
|
15296
|
-
const data = viewItem.item.data[viewItem.resourceIndex];
|
|
15297
|
-
if (data.hidden) {
|
|
15298
|
-
return;
|
|
15299
|
-
}
|
|
15300
|
-
if (!intersects(viewItem.item.startTime, viewItem.item.endTime, this.start, this.end)) {
|
|
15301
|
-
return;
|
|
15302
|
-
}
|
|
15303
|
-
if (data.rowIndex > maxRowIndex) {
|
|
15304
|
-
maxRowIndex = data.rowIndex;
|
|
15305
|
-
lastVisibleItem = viewItem;
|
|
15306
|
-
}
|
|
15307
|
-
});
|
|
15308
|
-
if (!lastVisibleItem) {
|
|
15309
|
-
return;
|
|
15310
|
-
}
|
|
15311
|
-
const anchor = this.focusService.getFocusableByElement(lastVisibleItem.nativeElement);
|
|
15312
|
-
if (!anchor) {
|
|
15313
|
-
return;
|
|
15314
|
-
}
|
|
15315
|
-
this.focusService.moveAfter(this.showMoreFocusable, anchor);
|
|
15316
|
-
}
|
|
15317
|
-
hideMore() {
|
|
15318
|
-
this.hiddenCount = 0;
|
|
15319
|
-
this.showMoreButton = false;
|
|
15320
|
-
this.removeShowMore();
|
|
15321
|
-
}
|
|
15322
|
-
invalidate() {
|
|
15323
|
-
super.invalidate();
|
|
15324
|
-
this._linkHeight = null;
|
|
15325
|
-
this.hiddenCount = 0;
|
|
15326
|
-
this.showMoreButton = false;
|
|
15327
|
-
this.removeShowMore();
|
|
15328
|
-
}
|
|
15329
|
-
removeShowMore() {
|
|
15330
|
-
this.showMoreButton = false;
|
|
15331
|
-
this.cdr.detectChanges();
|
|
15332
|
-
}
|
|
15333
|
-
static ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "20.3.27", ngImport: i0, type: MonthSlotComponent, deps: [{ token: i0.ElementRef }, { token: MonthSlotService }, { token: i2.LocalizationService }, { token: i0.ChangeDetectorRef }, { token: FocusService }, { token: ViewStateService }], target: i0.ɵɵFactoryTarget.Component });
|
|
15334
|
-
static ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "17.0.0", version: "20.3.27", type: MonthSlotComponent, isStandalone: true, selector: "[monthSlot]", inputs: { moreEvents: "moreEvents", eventClass: "eventClass", eventStyles: "eventStyles", resourcesByIndex: "resourcesByIndex", monthDaySlotTemplateRef: "monthDaySlotTemplateRef", eventsPerDay: "eventsPerDay", eventHeight: "eventHeight", adaptiveSlotHeight: "adaptiveSlotHeight", day: ["monthSlot", "day"] }, viewQueries: [{ propertyName: "showMoreFocusable", first: true, predicate: FocusableDirective, descendants: true }, { propertyName: "popoverAnchor", first: true, predicate: PopoverAnchorDirective, descendants: true }], usesInheritance: true, ngImport: i0, template: `
|
|
15335
|
-
@if (!monthDaySlotTemplateRef) {
|
|
15336
|
-
<span class="k-link k-nav-day">
|
|
15337
|
-
{{ day | kendoDate: isFirstDayOfMonth(day) ? 'MMM dd' : 'dd' }}
|
|
15338
|
-
</span>
|
|
15339
|
-
}
|
|
15340
|
-
@if (monthDaySlotTemplateRef) {
|
|
15341
|
-
<ng-container
|
|
15342
|
-
[ngTemplateOutlet]="monthDaySlotTemplateRef"
|
|
15343
|
-
[ngTemplateOutletContext]="{ date: day, resources: resourcesByIndex }"
|
|
15344
|
-
>
|
|
15345
|
-
</ng-container>
|
|
15346
|
-
}
|
|
15347
|
-
|
|
15348
|
-
@if (showMoreButton) {
|
|
15349
|
-
<button kendoButton kendoPopoverAnchor [popover]="eventsPopoverComp.popover" showOn="none" [kendoSchedulerFocusIndex]="id?.resourceIndex ?? 0" class="k-more-events" size="xsmall" themeColor="primary" fillMode="flat" [style.width.px]="moreEventsWidth" [style.left.px]="moreEventsLeft" [style.top.px]="moreEventsTop">
|
|
15350
|
-
{{ moreEventsText }}
|
|
15351
|
-
</button>
|
|
15352
|
-
|
|
15353
|
-
<kendo-scheduler-events-popover
|
|
15354
|
-
#eventsPopoverComp
|
|
15355
|
-
[date]="day"
|
|
15356
|
-
[events]="moreEvents"
|
|
15357
|
-
[eventClass]="eventClass"
|
|
15358
|
-
[eventStyles]="eventStyles"
|
|
15359
|
-
[noEventsMessage]="localization.get('yearViewNoEvents')"
|
|
15360
|
-
(navigateToDay)="onNavigateToDay($event)"
|
|
15361
|
-
(blur)="hidePopover()">
|
|
15362
|
-
</kendo-scheduler-events-popover>
|
|
15363
|
-
}
|
|
15364
|
-
`, isInline: true, dependencies: [{ kind: "directive", type: NgTemplateOutlet, selector: "[ngTemplateOutlet]", inputs: ["ngTemplateOutletContext", "ngTemplateOutlet", "ngTemplateOutletInjector"] }, { kind: "directive", type: PopoverAnchorDirective, selector: "[kendoPopoverAnchor]", exportAs: ["kendoPopoverAnchor"] }, { kind: "component", type: EventsPopoverComponent, selector: "kendo-scheduler-events-popover", inputs: ["date", "events", "eventClass", "eventStyles", "noEventsMessage"], outputs: ["navigateToDay"] }, { kind: "component", type: ButtonComponent, selector: "button[kendoButton]", inputs: ["arrowIcon", "toggleable", "togglable", "selected", "tabIndex", "imageUrl", "iconPosition", "iconClass", "icon", "disabled", "size", "rounded", "fillMode", "themeColor", "svgIcon"], outputs: ["selectedChange", "click"], exportAs: ["kendoButton"] }, { kind: "directive", type: FocusableDirective, selector: "[kendoSchedulerFocusIndex]", inputs: ["kendoSchedulerFocusIndex", "containerType"] }, { kind: "pipe", type: DatePipe, name: "kendoDate" }] });
|
|
15365
|
-
}
|
|
15366
|
-
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "20.3.27", ngImport: i0, type: MonthSlotComponent, decorators: [{
|
|
15367
|
-
type: Component,
|
|
15368
|
-
args: [{
|
|
15369
|
-
selector: '[monthSlot]',
|
|
15370
|
-
template: `
|
|
15371
|
-
@if (!monthDaySlotTemplateRef) {
|
|
15372
|
-
<span class="k-link k-nav-day">
|
|
15373
|
-
{{ day | kendoDate: isFirstDayOfMonth(day) ? 'MMM dd' : 'dd' }}
|
|
15374
|
-
</span>
|
|
15375
|
-
}
|
|
15376
|
-
@if (monthDaySlotTemplateRef) {
|
|
15377
|
-
<ng-container
|
|
15378
|
-
[ngTemplateOutlet]="monthDaySlotTemplateRef"
|
|
15379
|
-
[ngTemplateOutletContext]="{ date: day, resources: resourcesByIndex }"
|
|
15380
|
-
>
|
|
15381
|
-
</ng-container>
|
|
15382
|
-
}
|
|
15383
|
-
|
|
15384
|
-
@if (showMoreButton) {
|
|
15385
|
-
<button kendoButton kendoPopoverAnchor [popover]="eventsPopoverComp.popover" showOn="none" [kendoSchedulerFocusIndex]="id?.resourceIndex ?? 0" class="k-more-events" size="xsmall" themeColor="primary" fillMode="flat" [style.width.px]="moreEventsWidth" [style.left.px]="moreEventsLeft" [style.top.px]="moreEventsTop">
|
|
15386
|
-
{{ moreEventsText }}
|
|
15387
|
-
</button>
|
|
15388
|
-
|
|
15389
|
-
<kendo-scheduler-events-popover
|
|
15390
|
-
#eventsPopoverComp
|
|
15391
|
-
[date]="day"
|
|
15392
|
-
[events]="moreEvents"
|
|
15393
|
-
[eventClass]="eventClass"
|
|
15394
|
-
[eventStyles]="eventStyles"
|
|
15395
|
-
[noEventsMessage]="localization.get('yearViewNoEvents')"
|
|
15396
|
-
(navigateToDay)="onNavigateToDay($event)"
|
|
15397
|
-
(blur)="hidePopover()">
|
|
15398
|
-
</kendo-scheduler-events-popover>
|
|
15399
|
-
}
|
|
15400
|
-
`,
|
|
15401
|
-
standalone: true,
|
|
15402
|
-
imports: [NgTemplateOutlet, PopoverAnchorDirective, EventsPopoverComponent, DatePipe, ButtonComponent, FocusableDirective]
|
|
15403
|
-
}]
|
|
15404
|
-
}], ctorParameters: () => [{ type: i0.ElementRef }, { type: MonthSlotService }, { type: i2.LocalizationService }, { type: i0.ChangeDetectorRef }, { type: FocusService }, { type: ViewStateService }], propDecorators: { showMoreFocusable: [{
|
|
15405
|
-
type: ViewChild,
|
|
15406
|
-
args: [FocusableDirective]
|
|
15407
|
-
}], popoverAnchor: [{
|
|
15408
|
-
type: ViewChild,
|
|
15409
|
-
args: [PopoverAnchorDirective]
|
|
15410
|
-
}], moreEvents: [{
|
|
15411
|
-
type: Input
|
|
15412
|
-
}], eventClass: [{
|
|
15413
|
-
type: Input
|
|
15414
|
-
}], eventStyles: [{
|
|
15415
|
-
type: Input
|
|
15416
|
-
}], resourcesByIndex: [{
|
|
15417
|
-
type: Input
|
|
15418
|
-
}], monthDaySlotTemplateRef: [{
|
|
15419
|
-
type: Input
|
|
15420
|
-
}], eventsPerDay: [{
|
|
15421
|
-
type: Input
|
|
15422
|
-
}], eventHeight: [{
|
|
15423
|
-
type: Input
|
|
15424
|
-
}], adaptiveSlotHeight: [{
|
|
15425
|
-
type: Input
|
|
15426
|
-
}], day: [{
|
|
15427
|
-
type: Input,
|
|
15428
|
-
args: ['monthSlot']
|
|
15429
|
-
}] } });
|
|
15430
|
-
|
|
15431
15345
|
/**
|
|
15432
15346
|
* @hidden
|
|
15433
15347
|
*/
|
|
15434
15348
|
class MonthViewRendererComponent extends BaseView {
|
|
15349
|
+
focusService;
|
|
15435
15350
|
hiddenDays;
|
|
15436
15351
|
monthDaySlotTemplate;
|
|
15437
15352
|
highlightOngoingEvents;
|
|
@@ -15453,7 +15368,11 @@ class MonthViewRendererComponent extends BaseView {
|
|
|
15453
15368
|
moreEventsClick = new EventEmitter();
|
|
15454
15369
|
resizeHintFormat = { skeleton: 'Md' };
|
|
15455
15370
|
weeks = [];
|
|
15371
|
+
popoverDate;
|
|
15372
|
+
popoverEvents = [];
|
|
15373
|
+
moreButtons = [];
|
|
15456
15374
|
eventElements;
|
|
15375
|
+
popoverContainer;
|
|
15457
15376
|
get monthDaySlotTemplateRef() {
|
|
15458
15377
|
return this.monthDaySlotTemplate || (this.schedulerMonthDaySlotTemplate || {}).templateRef;
|
|
15459
15378
|
}
|
|
@@ -15465,10 +15384,20 @@ class MonthViewRendererComponent extends BaseView {
|
|
|
15465
15384
|
return task.startTime < dayEnd && task.endTime > dayStart;
|
|
15466
15385
|
});
|
|
15467
15386
|
}
|
|
15387
|
+
onPopoverNavigateToDay(date) {
|
|
15388
|
+
this.popoverContainer?.hide();
|
|
15389
|
+
this.viewState.navigateTo({ viewName: 'day', date: new Date(date) });
|
|
15390
|
+
}
|
|
15391
|
+
setPopoverData(slot) {
|
|
15392
|
+
this.popoverDate = slot.day;
|
|
15393
|
+
this.popoverEvents = slot.moreEvents;
|
|
15394
|
+
}
|
|
15468
15395
|
ongoingEventsTimeout;
|
|
15469
15396
|
schedulerMonthDaySlotTemplate;
|
|
15470
|
-
|
|
15397
|
+
disposeDocumentClick;
|
|
15398
|
+
constructor(viewContext, viewState, intl, slotService, zone, element, renderer, pdfService, localization, changeDetector, scrollbarService, focusService) {
|
|
15471
15399
|
super(viewContext, viewState, intl, slotService, zone, renderer, element, pdfService, localization, changeDetector, scrollbarService);
|
|
15400
|
+
this.focusService = focusService;
|
|
15472
15401
|
this.updateOngoingEvents = this.updateOngoingEvents.bind(this);
|
|
15473
15402
|
}
|
|
15474
15403
|
ngOnChanges(changes) {
|
|
@@ -15492,8 +15421,21 @@ class MonthViewRendererComponent extends BaseView {
|
|
|
15492
15421
|
ngAfterViewInit() {
|
|
15493
15422
|
this.updateOngoingEvents();
|
|
15494
15423
|
super.ngAfterViewInit();
|
|
15424
|
+
this.zone.runOutsideAngular(() => {
|
|
15425
|
+
this.disposeDocumentClick = this.renderer.listen('document', 'click', (e) => {
|
|
15426
|
+
if (!this.popoverContainer?.popupRef) {
|
|
15427
|
+
return;
|
|
15428
|
+
}
|
|
15429
|
+
const target = e.target;
|
|
15430
|
+
if (target.closest('.k-more-events') || target.closest('.k-popup')) {
|
|
15431
|
+
return;
|
|
15432
|
+
}
|
|
15433
|
+
this.popoverContainer.hide();
|
|
15434
|
+
});
|
|
15435
|
+
});
|
|
15495
15436
|
}
|
|
15496
15437
|
ngOnDestroy() {
|
|
15438
|
+
this.disposeDocumentClick?.();
|
|
15497
15439
|
clearTimeout(this.ongoingEventsTimeout);
|
|
15498
15440
|
super.ngOnDestroy();
|
|
15499
15441
|
}
|
|
@@ -15572,6 +15514,7 @@ class MonthViewRendererComponent extends BaseView {
|
|
|
15572
15514
|
if (isAutoHeight) {
|
|
15573
15515
|
content.style.overflow = 'auto';
|
|
15574
15516
|
}
|
|
15517
|
+
this.collectMoreButtons();
|
|
15575
15518
|
this.syncTables();
|
|
15576
15519
|
}
|
|
15577
15520
|
syncTables() {
|
|
@@ -15594,20 +15537,16 @@ class MonthViewRendererComponent extends BaseView {
|
|
|
15594
15537
|
}
|
|
15595
15538
|
onClick(e, eventType = e.type) {
|
|
15596
15539
|
if (eventType === 'click') {
|
|
15597
|
-
this.
|
|
15598
|
-
|
|
15599
|
-
|
|
15600
|
-
|
|
15601
|
-
|
|
15540
|
+
const moreBtn = closestInScope(e.target, node => hasClasses(node, 'k-more-events'), this.element.nativeElement);
|
|
15541
|
+
if (moreBtn) {
|
|
15542
|
+
const index = moreBtn.getAttribute('data-slot-index');
|
|
15543
|
+
if (!index) {
|
|
15544
|
+
return;
|
|
15545
|
+
}
|
|
15602
15546
|
const slot = this.slotService.slotByIndex(index);
|
|
15603
15547
|
const [resourceIndex, rangeIndex] = index.split(':').map(part => parseInt(part, 10));
|
|
15604
15548
|
const group = this.slotService['groups'][resourceIndex];
|
|
15605
15549
|
const range = group.dayRanges[rangeIndex];
|
|
15606
|
-
const slotDateClicked = closestInScope(e.target, node => hasClasses(node, 'k-nav-day'), eventSlot);
|
|
15607
|
-
if (slotDateClicked) {
|
|
15608
|
-
this.viewState.navigateTo({ viewName: 'day', date: toLocalDate(slot.start) });
|
|
15609
|
-
return;
|
|
15610
|
-
}
|
|
15611
15550
|
this.zone.run(() => {
|
|
15612
15551
|
const moreEventsEvent = new MoreEventsClickEvent();
|
|
15613
15552
|
const filterSlotEvents = (isHidden) => range.items
|
|
@@ -15623,11 +15562,22 @@ class MonthViewRendererComponent extends BaseView {
|
|
|
15623
15562
|
moreEventsEvent.date = toLocalDate(slot.start);
|
|
15624
15563
|
this.moreEventsClick.emit(moreEventsEvent);
|
|
15625
15564
|
if (!moreEventsEvent.isDefaultPrevented()) {
|
|
15626
|
-
|
|
15565
|
+
this.popoverContainer.hide();
|
|
15566
|
+
this.setPopoverData(slot);
|
|
15567
|
+
this.popoverContainer.show(moreBtn);
|
|
15627
15568
|
}
|
|
15628
15569
|
});
|
|
15629
15570
|
return;
|
|
15630
15571
|
}
|
|
15572
|
+
const navDay = closestInScope(e.target, node => hasClasses(node, 'k-nav-day'), this.element.nativeElement);
|
|
15573
|
+
if (navDay) {
|
|
15574
|
+
const eventSlot = closestInScope(navDay, node => node.hasAttribute('data-slot-index'), this.element.nativeElement);
|
|
15575
|
+
if (eventSlot) {
|
|
15576
|
+
const slot = this.slotService.slotByIndex(eventSlot.getAttribute('data-slot-index'));
|
|
15577
|
+
this.viewState.navigateTo({ viewName: 'day', date: toLocalDate(slot.start) });
|
|
15578
|
+
return;
|
|
15579
|
+
}
|
|
15580
|
+
}
|
|
15631
15581
|
}
|
|
15632
15582
|
super.onClick(e, eventType);
|
|
15633
15583
|
}
|
|
@@ -15707,10 +15657,70 @@ class MonthViewRendererComponent extends BaseView {
|
|
|
15707
15657
|
}
|
|
15708
15658
|
return weeks;
|
|
15709
15659
|
}
|
|
15710
|
-
|
|
15660
|
+
collectMoreButtons() {
|
|
15661
|
+
const buttons = [];
|
|
15662
|
+
const message = this.localization.get('moreEvents');
|
|
15663
|
+
this.slotService.forEachSlot((slot) => {
|
|
15664
|
+
if (slot.showMoreButton) {
|
|
15665
|
+
const count = String(slot.hiddenCount);
|
|
15666
|
+
buttons.push({
|
|
15667
|
+
width: slot.moreEventsWidth,
|
|
15668
|
+
left: slot.moreEventsLeft,
|
|
15669
|
+
top: slot.moreEventsTop,
|
|
15670
|
+
text: message.replace('{count}', count),
|
|
15671
|
+
ariaLabel: (this.localization.get('moreEventsLabel')).replace('{count}', count),
|
|
15672
|
+
resourceIndex: slot.id?.resourceIndex ?? 0,
|
|
15673
|
+
slotIndex: slot.slotIndex
|
|
15674
|
+
});
|
|
15675
|
+
}
|
|
15676
|
+
});
|
|
15677
|
+
this.moreButtons = buttons;
|
|
15678
|
+
this.cdr.detectChanges();
|
|
15679
|
+
this.reorderButtonsFocus();
|
|
15680
|
+
}
|
|
15681
|
+
reorderButtonsFocus() {
|
|
15682
|
+
const contentEl = this.element.nativeElement.querySelector('.k-scheduler-content');
|
|
15683
|
+
if (!contentEl) {
|
|
15684
|
+
return;
|
|
15685
|
+
}
|
|
15686
|
+
const buttonEls = contentEl.querySelectorAll('.k-more-events');
|
|
15687
|
+
buttonEls.forEach((btnEl) => {
|
|
15688
|
+
const slotIndex = btnEl.getAttribute('data-slot-index');
|
|
15689
|
+
if (!slotIndex) {
|
|
15690
|
+
return;
|
|
15691
|
+
}
|
|
15692
|
+
const slot = this.slotService.slotByIndex(slotIndex);
|
|
15693
|
+
if (!slot) {
|
|
15694
|
+
return;
|
|
15695
|
+
}
|
|
15696
|
+
// Find the last visible event that intersects this slot
|
|
15697
|
+
let lastEvent;
|
|
15698
|
+
const events = this.eventElements?.toArray() || [];
|
|
15699
|
+
for (const event of events) {
|
|
15700
|
+
if (event.item.data[event.resourceIndex]?.hidden) {
|
|
15701
|
+
continue;
|
|
15702
|
+
}
|
|
15703
|
+
if (event.resourceIndex !== slot.id.resourceIndex) {
|
|
15704
|
+
continue;
|
|
15705
|
+
}
|
|
15706
|
+
if (intersects(event.item.startTime, event.item.endTime, slot.start, slot.end)) {
|
|
15707
|
+
lastEvent = event;
|
|
15708
|
+
}
|
|
15709
|
+
}
|
|
15710
|
+
if (!lastEvent) {
|
|
15711
|
+
return;
|
|
15712
|
+
}
|
|
15713
|
+
const btnFocusable = this.focusService.getFocusableByElement(btnEl);
|
|
15714
|
+
const eventFocusable = this.focusService.getFocusableByElement(lastEvent.nativeElement);
|
|
15715
|
+
if (btnFocusable && eventFocusable) {
|
|
15716
|
+
this.focusService.moveAfter(btnFocusable, eventFocusable);
|
|
15717
|
+
}
|
|
15718
|
+
});
|
|
15719
|
+
}
|
|
15720
|
+
static ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "20.3.27", ngImport: i0, type: MonthViewRendererComponent, deps: [{ token: ViewContextService }, { token: ViewStateService }, { token: i4.IntlService }, { token: MonthSlotService }, { token: i0.NgZone }, { token: i0.ElementRef }, { token: i0.Renderer2 }, { token: PDFService }, { token: i2.LocalizationService }, { token: i0.ChangeDetectorRef }, { token: i7.ScrollbarService }, { token: FocusService }], target: i0.ɵɵFactoryTarget.Component });
|
|
15711
15721
|
static ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "17.0.0", version: "20.3.27", type: MonthViewRendererComponent, isStandalone: true, selector: "month-view", inputs: { hiddenDays: "hiddenDays", monthDaySlotTemplate: "monthDaySlotTemplate", highlightOngoingEvents: "highlightOngoingEvents", type: "type", eventsPerDay: "eventsPerDay", adaptiveSlotHeight: "adaptiveSlotHeight", numberOfWeeks: "numberOfWeeks", newRange: "newRange", dateRangeFn: "dateRangeFn" }, outputs: { moreEventsClick: "moreEventsClick" }, providers: [
|
|
15712
15722
|
MonthSlotService
|
|
15713
|
-
], viewQueries: [{ propertyName: "eventElements", predicate: MonthViewItemComponent, descendants: true }], usesInheritance: true, usesOnChanges: true, ngImport: i0, template: `
|
|
15723
|
+
], viewQueries: [{ propertyName: "popoverContainer", first: true, predicate: PopoverContainerDirective, descendants: true }, { propertyName: "eventElements", predicate: MonthViewItemComponent, descendants: true }], usesInheritance: true, usesOnChanges: true, ngImport: i0, template: `
|
|
15714
15724
|
<table class="k-scheduler-layout k-scheduler-monthview" role="none">
|
|
15715
15725
|
<tbody>
|
|
15716
15726
|
<tr class="k-scheduler-head">
|
|
@@ -15805,6 +15815,10 @@ class MonthViewRendererComponent extends BaseView {
|
|
|
15805
15815
|
class="k-scheduler-content"
|
|
15806
15816
|
tabindex="0"
|
|
15807
15817
|
#content
|
|
15818
|
+
kendoPopoverContainer
|
|
15819
|
+
[popover]="eventsPopoverComp.popover"
|
|
15820
|
+
filter=".k-more-events"
|
|
15821
|
+
showOn="none"
|
|
15808
15822
|
[style.overflowY]="'auto'">
|
|
15809
15823
|
<!-- Main content -->
|
|
15810
15824
|
<table class="k-scheduler-table" [class.k-scheduler-table-auto]="adaptiveSlotHeight" #contentTable>
|
|
@@ -15817,8 +15831,6 @@ class MonthViewRendererComponent extends BaseView {
|
|
|
15817
15831
|
<td
|
|
15818
15832
|
[monthSlot]="day"
|
|
15819
15833
|
[moreEvents]="moreEventsByIndex(rangeIndex, index)"
|
|
15820
|
-
[eventClass]="eventClass"
|
|
15821
|
-
[eventStyles]="eventStyles"
|
|
15822
15834
|
[eventHeight]="eventHeight"
|
|
15823
15835
|
[eventsPerDay]="eventsPerDay"
|
|
15824
15836
|
[adaptiveSlotHeight]="adaptiveSlotHeight"
|
|
@@ -15864,6 +15876,22 @@ class MonthViewRendererComponent extends BaseView {
|
|
|
15864
15876
|
</div>
|
|
15865
15877
|
}
|
|
15866
15878
|
}
|
|
15879
|
+
@for (btn of moreButtons; track itemIndex($index, btn)) {
|
|
15880
|
+
<button
|
|
15881
|
+
kendoButton
|
|
15882
|
+
[kendoSchedulerFocusIndex]="btn.resourceIndex"
|
|
15883
|
+
[attr.data-slot-index]="btn.slotIndex"
|
|
15884
|
+
[attr.aria-label]="btn.ariaLabel"
|
|
15885
|
+
class="k-more-events"
|
|
15886
|
+
size="xsmall"
|
|
15887
|
+
themeColor="primary"
|
|
15888
|
+
fillMode="flat"
|
|
15889
|
+
[style.width.px]="btn.width"
|
|
15890
|
+
[style.left.px]="btn.left"
|
|
15891
|
+
[style.top.px]="btn.top">
|
|
15892
|
+
{{ btn.text }}
|
|
15893
|
+
</button>
|
|
15894
|
+
}
|
|
15867
15895
|
<kendo-hint-container #hintContainer>
|
|
15868
15896
|
<ng-template>
|
|
15869
15897
|
@for (hint of dragHints; track itemIndex($index, hint)) {
|
|
@@ -15889,12 +15917,21 @@ class MonthViewRendererComponent extends BaseView {
|
|
|
15889
15917
|
}
|
|
15890
15918
|
</ng-template>
|
|
15891
15919
|
</kendo-hint-container>
|
|
15920
|
+
<kendo-scheduler-events-popover
|
|
15921
|
+
#eventsPopoverComp
|
|
15922
|
+
[date]="popoverDate"
|
|
15923
|
+
[events]="popoverEvents"
|
|
15924
|
+
[eventClass]="eventClass"
|
|
15925
|
+
[eventStyles]="eventStyles"
|
|
15926
|
+
[noEventsMessage]="localization.get('yearViewNoEvents')"
|
|
15927
|
+
(navigateToDay)="onPopoverNavigateToDay($event)">
|
|
15928
|
+
</kendo-scheduler-events-popover>
|
|
15892
15929
|
</div>
|
|
15893
15930
|
</td>
|
|
15894
15931
|
</tr>
|
|
15895
15932
|
</tbody>
|
|
15896
15933
|
</table>
|
|
15897
|
-
`, isInline: true, dependencies: [{ kind: "directive", type: NgTemplateOutlet, selector: "[ngTemplateOutlet]", inputs: ["ngTemplateOutletContext", "ngTemplateOutlet", "ngTemplateOutletInjector"] }, { kind: "directive", type: NgClass, selector: "[ngClass]", inputs: ["class", "ngClass"] }, { kind: "component", type: MonthSlotComponent, selector: "[monthSlot]", inputs: ["moreEvents", "
|
|
15934
|
+
`, isInline: true, dependencies: [{ kind: "directive", type: NgTemplateOutlet, selector: "[ngTemplateOutlet]", inputs: ["ngTemplateOutletContext", "ngTemplateOutlet", "ngTemplateOutletInjector"] }, { kind: "directive", type: NgClass, selector: "[ngClass]", inputs: ["class", "ngClass"] }, { kind: "component", type: MonthSlotComponent, selector: "[monthSlot]", inputs: ["moreEvents", "resourcesByIndex", "monthDaySlotTemplateRef", "eventsPerDay", "eventHeight", "adaptiveSlotHeight", "monthSlot"] }, { kind: "component", type: MonthViewItemComponent, selector: "[monthViewItem]" }, { kind: "directive", type: NgStyle, selector: "[ngStyle]", inputs: ["ngStyle"] }, { kind: "directive", type: FocusableDirective, selector: "[kendoSchedulerFocusIndex]", inputs: ["kendoSchedulerFocusIndex", "containerType"] }, { kind: "component", type: HintContainerComponent, selector: "kendo-hint-container" }, { kind: "component", type: ResizeHintComponent, selector: "[kendoResizeHint]", inputs: ["hint", "format"] }, { kind: "directive", type: PopoverContainerDirective, selector: "[kendoPopoverContainer]", inputs: ["filter"], exportAs: ["kendoPopoverContainer"] }, { kind: "component", type: EventsPopoverComponent, selector: "kendo-scheduler-events-popover", inputs: ["date", "events", "eventClass", "eventStyles", "noEventsMessage"], outputs: ["navigateToDay"] }, { kind: "component", type: ButtonComponent, selector: "button[kendoButton]", inputs: ["arrowIcon", "toggleable", "togglable", "selected", "tabIndex", "imageUrl", "iconPosition", "iconClass", "icon", "disabled", "size", "rounded", "fillMode", "themeColor", "svgIcon"], outputs: ["selectedChange", "click"], exportAs: ["kendoButton"] }, { kind: "pipe", type: RepeatPipe, name: "repeat" }, { kind: "pipe", type: ResourceIteratorPipe, name: "resourceIterator" }, { kind: "pipe", type: DatePipe, name: "kendoDate" }, { kind: "pipe", type: AsyncPipe, name: "async" }] });
|
|
15898
15935
|
}
|
|
15899
15936
|
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "20.3.27", ngImport: i0, type: MonthViewRendererComponent, decorators: [{
|
|
15900
15937
|
type: Component,
|
|
@@ -15998,6 +16035,10 @@ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "20.3.27", ngImpo
|
|
|
15998
16035
|
class="k-scheduler-content"
|
|
15999
16036
|
tabindex="0"
|
|
16000
16037
|
#content
|
|
16038
|
+
kendoPopoverContainer
|
|
16039
|
+
[popover]="eventsPopoverComp.popover"
|
|
16040
|
+
filter=".k-more-events"
|
|
16041
|
+
showOn="none"
|
|
16001
16042
|
[style.overflowY]="'auto'">
|
|
16002
16043
|
<!-- Main content -->
|
|
16003
16044
|
<table class="k-scheduler-table" [class.k-scheduler-table-auto]="adaptiveSlotHeight" #contentTable>
|
|
@@ -16010,8 +16051,6 @@ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "20.3.27", ngImpo
|
|
|
16010
16051
|
<td
|
|
16011
16052
|
[monthSlot]="day"
|
|
16012
16053
|
[moreEvents]="moreEventsByIndex(rangeIndex, index)"
|
|
16013
|
-
[eventClass]="eventClass"
|
|
16014
|
-
[eventStyles]="eventStyles"
|
|
16015
16054
|
[eventHeight]="eventHeight"
|
|
16016
16055
|
[eventsPerDay]="eventsPerDay"
|
|
16017
16056
|
[adaptiveSlotHeight]="adaptiveSlotHeight"
|
|
@@ -16057,6 +16096,22 @@ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "20.3.27", ngImpo
|
|
|
16057
16096
|
</div>
|
|
16058
16097
|
}
|
|
16059
16098
|
}
|
|
16099
|
+
@for (btn of moreButtons; track itemIndex($index, btn)) {
|
|
16100
|
+
<button
|
|
16101
|
+
kendoButton
|
|
16102
|
+
[kendoSchedulerFocusIndex]="btn.resourceIndex"
|
|
16103
|
+
[attr.data-slot-index]="btn.slotIndex"
|
|
16104
|
+
[attr.aria-label]="btn.ariaLabel"
|
|
16105
|
+
class="k-more-events"
|
|
16106
|
+
size="xsmall"
|
|
16107
|
+
themeColor="primary"
|
|
16108
|
+
fillMode="flat"
|
|
16109
|
+
[style.width.px]="btn.width"
|
|
16110
|
+
[style.left.px]="btn.left"
|
|
16111
|
+
[style.top.px]="btn.top">
|
|
16112
|
+
{{ btn.text }}
|
|
16113
|
+
</button>
|
|
16114
|
+
}
|
|
16060
16115
|
<kendo-hint-container #hintContainer>
|
|
16061
16116
|
<ng-template>
|
|
16062
16117
|
@for (hint of dragHints; track itemIndex($index, hint)) {
|
|
@@ -16082,6 +16137,15 @@ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "20.3.27", ngImpo
|
|
|
16082
16137
|
}
|
|
16083
16138
|
</ng-template>
|
|
16084
16139
|
</kendo-hint-container>
|
|
16140
|
+
<kendo-scheduler-events-popover
|
|
16141
|
+
#eventsPopoverComp
|
|
16142
|
+
[date]="popoverDate"
|
|
16143
|
+
[events]="popoverEvents"
|
|
16144
|
+
[eventClass]="eventClass"
|
|
16145
|
+
[eventStyles]="eventStyles"
|
|
16146
|
+
[noEventsMessage]="localization.get('yearViewNoEvents')"
|
|
16147
|
+
(navigateToDay)="onPopoverNavigateToDay($event)">
|
|
16148
|
+
</kendo-scheduler-events-popover>
|
|
16085
16149
|
</div>
|
|
16086
16150
|
</td>
|
|
16087
16151
|
</tr>
|
|
@@ -16089,9 +16153,9 @@ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "20.3.27", ngImpo
|
|
|
16089
16153
|
</table>
|
|
16090
16154
|
`,
|
|
16091
16155
|
standalone: true,
|
|
16092
|
-
imports: [NgTemplateOutlet, NgClass, MonthSlotComponent, MonthViewItemComponent, NgStyle, FocusableDirective, HintContainerComponent, ResizeHintComponent, RepeatPipe, ResourceIteratorPipe, DatePipe, AsyncPipe]
|
|
16156
|
+
imports: [NgTemplateOutlet, NgClass, MonthSlotComponent, MonthViewItemComponent, NgStyle, FocusableDirective, HintContainerComponent, ResizeHintComponent, RepeatPipe, ResourceIteratorPipe, DatePipe, AsyncPipe, PopoverContainerDirective, EventsPopoverComponent, ButtonComponent]
|
|
16093
16157
|
}]
|
|
16094
|
-
}], ctorParameters: () => [{ type: ViewContextService }, { type: ViewStateService }, { type: i4.IntlService }, { type: MonthSlotService }, { type: i0.NgZone }, { type: i0.ElementRef }, { type: i0.Renderer2 }, { type: PDFService }, { type: i2.LocalizationService }, { type: i0.ChangeDetectorRef }, { type: i7.ScrollbarService }], propDecorators: { hiddenDays: [{
|
|
16158
|
+
}], ctorParameters: () => [{ type: ViewContextService }, { type: ViewStateService }, { type: i4.IntlService }, { type: MonthSlotService }, { type: i0.NgZone }, { type: i0.ElementRef }, { type: i0.Renderer2 }, { type: PDFService }, { type: i2.LocalizationService }, { type: i0.ChangeDetectorRef }, { type: i7.ScrollbarService }, { type: FocusService }], propDecorators: { hiddenDays: [{
|
|
16095
16159
|
type: Input
|
|
16096
16160
|
}], monthDaySlotTemplate: [{
|
|
16097
16161
|
type: Input
|
|
@@ -16114,6 +16178,9 @@ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "20.3.27", ngImpo
|
|
|
16114
16178
|
}], eventElements: [{
|
|
16115
16179
|
type: ViewChildren,
|
|
16116
16180
|
args: [MonthViewItemComponent]
|
|
16181
|
+
}], popoverContainer: [{
|
|
16182
|
+
type: ViewChild,
|
|
16183
|
+
args: [PopoverContainerDirective]
|
|
16117
16184
|
}] } });
|
|
16118
16185
|
|
|
16119
16186
|
/**
|
|
@@ -17744,7 +17811,7 @@ class DayTimeViewItemComponent extends BaseViewItem {
|
|
|
17744
17811
|
</span>
|
|
17745
17812
|
}
|
|
17746
17813
|
|
|
17747
|
-
@if (resizable && vertical) {
|
|
17814
|
+
@if (resizable && vertical && !isReadonly) {
|
|
17748
17815
|
@if (!item.tail) {
|
|
17749
17816
|
<span class="k-resize-handle k-resize-n"></span>
|
|
17750
17817
|
}
|
|
@@ -17826,7 +17893,7 @@ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "20.3.27", ngImpo
|
|
|
17826
17893
|
</span>
|
|
17827
17894
|
}
|
|
17828
17895
|
|
|
17829
|
-
@if (resizable && vertical) {
|
|
17896
|
+
@if (resizable && vertical && !isReadonly) {
|
|
17830
17897
|
@if (!item.tail) {
|
|
17831
17898
|
<span class="k-resize-handle k-resize-n"></span>
|
|
17832
17899
|
}
|
|
@@ -20185,7 +20252,7 @@ class TimelineMultiDayViewComponent extends DayTimeViewComponent {
|
|
|
20185
20252
|
viewName = 'timeline';
|
|
20186
20253
|
verticalResourceRows;
|
|
20187
20254
|
get classNames() {
|
|
20188
|
-
return `k-scheduler-${this.viewName}
|
|
20255
|
+
return `k-scheduler-${this.viewName}view`;
|
|
20189
20256
|
}
|
|
20190
20257
|
get contentWidthPercentage() {
|
|
20191
20258
|
const expectedWidth = this.columnWidth * this.slotsCount;
|
package/index.d.ts
CHANGED
|
@@ -20,7 +20,6 @@ import { CalendarView, DateInputFormatPlaceholder, PopupSettings, CalendarCompon
|
|
|
20
20
|
import { DropDownListComponent, MultiSelectComponent } from '@progress/kendo-angular-dropdowns';
|
|
21
21
|
import { PopupService } from '@progress/kendo-angular-popup';
|
|
22
22
|
import { Draggable } from '@progress/kendo-draggable';
|
|
23
|
-
import { PopoverAnchorDirective } from '@progress/kendo-angular-tooltip';
|
|
24
23
|
|
|
25
24
|
/**
|
|
26
25
|
* Contains meta information about a Scheduler view.
|
|
@@ -2879,6 +2878,11 @@ declare class Messages$1 extends ComponentMessages {
|
|
|
2879
2878
|
* The `{count}` placeholder is replaced with the number of additional events.
|
|
2880
2879
|
*/
|
|
2881
2880
|
moreEvents: string;
|
|
2881
|
+
/**
|
|
2882
|
+
* Sets the `aria-label` for the **more events** button in the Month view.
|
|
2883
|
+
* The `{count}` placeholder is replaced with the number of additional events.
|
|
2884
|
+
*/
|
|
2885
|
+
moreEventsLabel: string;
|
|
2882
2886
|
/**
|
|
2883
2887
|
* Sets the date-header text in the **Agenda** view.
|
|
2884
2888
|
*/
|
|
@@ -3324,7 +3328,7 @@ declare class Messages$1 extends ComponentMessages {
|
|
|
3324
3328
|
*/
|
|
3325
3329
|
newEventLabel: string;
|
|
3326
3330
|
static ɵfac: i0.ɵɵFactoryDeclaration<Messages$1, never>;
|
|
3327
|
-
static ɵdir: i0.ɵɵDirectiveDeclaration<Messages$1, never, never, { "allEvents": { "alias": "allEvents"; "required": false; }; "allDay": { "alias": "allDay"; "required": false; }; "moreEvents": { "alias": "moreEvents"; "required": false; }; "dateHeader": { "alias": "dateHeader"; "required": false; }; "timeHeader": { "alias": "timeHeader"; "required": false; }; "eventHeader": { "alias": "eventHeader"; "required": false; }; "resourceColumnHeaderLabel": { "alias": "resourceColumnHeaderLabel"; "required": false; }; "deleteTitle": { "alias": "deleteTitle"; "required": false; }; "nextTitle": { "alias": "nextTitle"; "required": false; }; "previousTitle": { "alias": "previousTitle"; "required": false; }; "toolbar": { "alias": "toolbar"; "required": false; }; "today": { "alias": "today"; "required": false; }; "calendarToday": { "alias": "calendarToday"; "required": false; }; "showFullDay": { "alias": "showFullDay"; "required": false; }; "showWorkDay": { "alias": "showWorkDay"; "required": false; }; "dayViewTitle": { "alias": "dayViewTitle"; "required": false; }; "multiDayViewTitle": { "alias": "multiDayViewTitle"; "required": false; }; "weekViewTitle": { "alias": "weekViewTitle"; "required": false; }; "workWeekViewTitle": { "alias": "workWeekViewTitle"; "required": false; }; "monthViewTitle": { "alias": "monthViewTitle"; "required": false; }; "multiWeekViewTitle": { "alias": "multiWeekViewTitle"; "required": false; }; "timelineViewTitle": { "alias": "timelineViewTitle"; "required": false; }; "timelineWeekViewTitle": { "alias": "timelineWeekViewTitle"; "required": false; }; "timelineMonthViewTitle": { "alias": "timelineMonthViewTitle"; "required": false; }; "agendaViewTitle": { "alias": "agendaViewTitle"; "required": false; }; "yearViewTitle": { "alias": "yearViewTitle"; "required": false; }; "yearViewNoEvents": { "alias": "yearViewNoEvents"; "required": false; }; "cancel": { "alias": "cancel"; "required": false; }; "save": { "alias": "save"; "required": false; }; "editorEventTitle": { "alias": "editorEventTitle"; "required": false; }; "editorEventStart": { "alias": "editorEventStart"; "required": false; }; "editorEventStartTime": { "alias": "editorEventStartTime"; "required": false; }; "editorEventStartTimeZone": { "alias": "editorEventStartTimeZone"; "required": false; }; "editorEventEnd": { "alias": "editorEventEnd"; "required": false; }; "editorEventEndTime": { "alias": "editorEventEndTime"; "required": false; }; "editorEventEndTimeZone": { "alias": "editorEventEndTimeZone"; "required": false; }; "editorEventAllDay": { "alias": "editorEventAllDay"; "required": false; }; "editorEventDescription": { "alias": "editorEventDescription"; "required": false; }; "editorEventTimeZone": { "alias": "editorEventTimeZone"; "required": false; }; "editorEventTimeZoneReset": { "alias": "editorEventTimeZoneReset"; "required": false; }; "editorEventDescriptionPlaceholder": { "alias": "editorEventDescriptionPlaceholder"; "required": false; }; "editorEventDateRangeSeparator": { "alias": "editorEventDateRangeSeparator"; "required": false; }; "editorEventDateRangeStart": { "alias": "editorEventDateRangeStart"; "required": false; }; "editorRecurrenceMakeRecurring": { "alias": "editorRecurrenceMakeRecurring"; "required": false; }; "editorRecurrenceEdit": { "alias": "editorRecurrenceEdit"; "required": false; }; "editorRecurrenceDialogTitle": { "alias": "editorRecurrenceDialogTitle"; "required": false; }; "editorRecurrenceRemove": { "alias": "editorRecurrenceRemove"; "required": false; }; "editorRecurrenceRemoveConfirmationTitle": { "alias": "editorRecurrenceRemoveConfirmationTitle"; "required": false; }; "editorRecurrenceRemoveConfirmation": { "alias": "editorRecurrenceRemoveConfirmation"; "required": false; }; "editorRecurrenceRemoveConfirmationNo": { "alias": "editorRecurrenceRemoveConfirmationNo"; "required": false; }; "editorRecurrenceRemoveConfirmationYes": { "alias": "editorRecurrenceRemoveConfirmationYes"; "required": false; }; "editorDateInputsToday": { "alias": "editorDateInputsToday"; "required": false; }; "editorDatePickersToggle": { "alias": "editorDatePickersToggle"; "required": false; }; "editorDateInputsParentViewButton": { "alias": "editorDateInputsParentViewButton"; "required": false; }; "editorDateInputsNow": { "alias": "editorDateInputsNow"; "required": false; }; "editorDateInputsNowLabel": { "alias": "editorDateInputsNowLabel"; "required": false; }; "editorDateInputsAccept": { "alias": "editorDateInputsAccept"; "required": false; }; "editorDateInputsAcceptLabel": { "alias": "editorDateInputsAcceptLabel"; "required": false; }; "editorDateInputsCancel": { "alias": "editorDateInputsCancel"; "required": false; }; "editorDateInputsCancelLabel": { "alias": "editorDateInputsCancelLabel"; "required": false; }; "editorTimePickersToggle": { "alias": "editorTimePickersToggle"; "required": false; }; "recurrenceEditorDateInputsToday": { "alias": "recurrenceEditorDateInputsToday"; "required": false; }; "recurrenceEditorDateInputsToggle": { "alias": "recurrenceEditorDateInputsToggle"; "required": false; }; "recurrenceEditorDateInputsParentViewButton": { "alias": "recurrenceEditorDateInputsParentViewButton"; "required": false; }; "recurrenceEditorNumericIncrement": { "alias": "recurrenceEditorNumericIncrement"; "required": false; }; "recurrenceEditorNumericDecrement": { "alias": "recurrenceEditorNumericDecrement"; "required": false; }; "recurrenceEditorRepeat": { "alias": "recurrenceEditorRepeat"; "required": false; }; "recurrenceEditorDailyInterval": { "alias": "recurrenceEditorDailyInterval"; "required": false; }; "recurrenceEditorDailyRepeatEvery": { "alias": "recurrenceEditorDailyRepeatEvery"; "required": false; }; "recurrenceEditorWeeklyInterval": { "alias": "recurrenceEditorWeeklyInterval"; "required": false; }; "recurrenceEditorWeeklyRepeatEvery": { "alias": "recurrenceEditorWeeklyRepeatEvery"; "required": false; }; "recurrenceEditorWeeklyRepeatOn": { "alias": "recurrenceEditorWeeklyRepeatOn"; "required": false; }; "recurrenceEditorMonthlyDay": { "alias": "recurrenceEditorMonthlyDay"; "required": false; }; "recurrenceEditorMonthlyInterval": { "alias": "recurrenceEditorMonthlyInterval"; "required": false; }; "recurrenceEditorMonthlyRepeatEvery": { "alias": "recurrenceEditorMonthlyRepeatEvery"; "required": false; }; "recurrenceEditorMonthlyRepeatOn": { "alias": "recurrenceEditorMonthlyRepeatOn"; "required": false; }; "recurrenceEditorYearlyOf": { "alias": "recurrenceEditorYearlyOf"; "required": false; }; "recurrenceEditorYearlyRepeatEvery": { "alias": "recurrenceEditorYearlyRepeatEvery"; "required": false; }; "recurrenceEditorYearlyRepeatOn": { "alias": "recurrenceEditorYearlyRepeatOn"; "required": false; }; "recurrenceEditorYearlyInterval": { "alias": "recurrenceEditorYearlyInterval"; "required": false; }; "recurrenceEditorFrequenciesDaily": { "alias": "recurrenceEditorFrequenciesDaily"; "required": false; }; "recurrenceEditorFrequenciesMonthly": { "alias": "recurrenceEditorFrequenciesMonthly"; "required": false; }; "recurrenceEditorFrequenciesNever": { "alias": "recurrenceEditorFrequenciesNever"; "required": false; }; "recurrenceEditorFrequenciesWeekly": { "alias": "recurrenceEditorFrequenciesWeekly"; "required": false; }; "recurrenceEditorFrequenciesYearly": { "alias": "recurrenceEditorFrequenciesYearly"; "required": false; }; "recurrenceEditorOffsetPositionsFirst": { "alias": "recurrenceEditorOffsetPositionsFirst"; "required": false; }; "recurrenceEditorOffsetPositionsSecond": { "alias": "recurrenceEditorOffsetPositionsSecond"; "required": false; }; "recurrenceEditorOffsetPositionsThird": { "alias": "recurrenceEditorOffsetPositionsThird"; "required": false; }; "recurrenceEditorOffsetPositionsFourth": { "alias": "recurrenceEditorOffsetPositionsFourth"; "required": false; }; "recurrenceEditorOffsetPositionsLast": { "alias": "recurrenceEditorOffsetPositionsLast"; "required": false; }; "recurrenceEditorWeekdaysDay": { "alias": "recurrenceEditorWeekdaysDay"; "required": false; }; "recurrenceEditorWeekdaysWeekday": { "alias": "recurrenceEditorWeekdaysWeekday"; "required": false; }; "recurrenceEditorWeekdaysWeekendday": { "alias": "recurrenceEditorWeekdaysWeekendday"; "required": false; }; "recurrenceEditorEndAfter": { "alias": "recurrenceEditorEndAfter"; "required": false; }; "recurrenceEditorEndOccurrence": { "alias": "recurrenceEditorEndOccurrence"; "required": false; }; "recurrenceEditorEndLabel": { "alias": "recurrenceEditorEndLabel"; "required": false; }; "recurrenceEditorEndNever": { "alias": "recurrenceEditorEndNever"; "required": false; }; "recurrenceEditorEndOn": { "alias": "recurrenceEditorEndOn"; "required": false; }; "editorTitle": { "alias": "editorTitle"; "required": false; }; "editorTitleNew": { "alias": "editorTitleNew"; "required": false; }; "destroy": { "alias": "destroy"; "required": false; }; "deleteConfirmation": { "alias": "deleteConfirmation"; "required": false; }; "editRecurringConfirmation": { "alias": "editRecurringConfirmation"; "required": false; }; "editOccurrence": { "alias": "editOccurrence"; "required": false; }; "editSeries": { "alias": "editSeries"; "required": false; }; "deleteRecurringConfirmation": { "alias": "deleteRecurringConfirmation"; "required": false; }; "deleteOccurrence": { "alias": "deleteOccurrence"; "required": false; }; "deleteSeries": { "alias": "deleteSeries"; "required": false; }; "deleteDialogTitle": { "alias": "deleteDialogTitle"; "required": false; }; "deleteRecurringDialogTitle": { "alias": "deleteRecurringDialogTitle"; "required": false; }; "editRecurringDialogTitle": { "alias": "editRecurringDialogTitle"; "required": false; }; "selectView": { "alias": "selectView"; "required": false; }; "newEvent": { "alias": "newEvent"; "required": false; }; "newEventLabel": { "alias": "newEventLabel"; "required": false; }; }, {}, never, never, true, never>;
|
|
3331
|
+
static ɵdir: i0.ɵɵDirectiveDeclaration<Messages$1, never, never, { "allEvents": { "alias": "allEvents"; "required": false; }; "allDay": { "alias": "allDay"; "required": false; }; "moreEvents": { "alias": "moreEvents"; "required": false; }; "moreEventsLabel": { "alias": "moreEventsLabel"; "required": false; }; "dateHeader": { "alias": "dateHeader"; "required": false; }; "timeHeader": { "alias": "timeHeader"; "required": false; }; "eventHeader": { "alias": "eventHeader"; "required": false; }; "resourceColumnHeaderLabel": { "alias": "resourceColumnHeaderLabel"; "required": false; }; "deleteTitle": { "alias": "deleteTitle"; "required": false; }; "nextTitle": { "alias": "nextTitle"; "required": false; }; "previousTitle": { "alias": "previousTitle"; "required": false; }; "toolbar": { "alias": "toolbar"; "required": false; }; "today": { "alias": "today"; "required": false; }; "calendarToday": { "alias": "calendarToday"; "required": false; }; "showFullDay": { "alias": "showFullDay"; "required": false; }; "showWorkDay": { "alias": "showWorkDay"; "required": false; }; "dayViewTitle": { "alias": "dayViewTitle"; "required": false; }; "multiDayViewTitle": { "alias": "multiDayViewTitle"; "required": false; }; "weekViewTitle": { "alias": "weekViewTitle"; "required": false; }; "workWeekViewTitle": { "alias": "workWeekViewTitle"; "required": false; }; "monthViewTitle": { "alias": "monthViewTitle"; "required": false; }; "multiWeekViewTitle": { "alias": "multiWeekViewTitle"; "required": false; }; "timelineViewTitle": { "alias": "timelineViewTitle"; "required": false; }; "timelineWeekViewTitle": { "alias": "timelineWeekViewTitle"; "required": false; }; "timelineMonthViewTitle": { "alias": "timelineMonthViewTitle"; "required": false; }; "agendaViewTitle": { "alias": "agendaViewTitle"; "required": false; }; "yearViewTitle": { "alias": "yearViewTitle"; "required": false; }; "yearViewNoEvents": { "alias": "yearViewNoEvents"; "required": false; }; "cancel": { "alias": "cancel"; "required": false; }; "save": { "alias": "save"; "required": false; }; "editorEventTitle": { "alias": "editorEventTitle"; "required": false; }; "editorEventStart": { "alias": "editorEventStart"; "required": false; }; "editorEventStartTime": { "alias": "editorEventStartTime"; "required": false; }; "editorEventStartTimeZone": { "alias": "editorEventStartTimeZone"; "required": false; }; "editorEventEnd": { "alias": "editorEventEnd"; "required": false; }; "editorEventEndTime": { "alias": "editorEventEndTime"; "required": false; }; "editorEventEndTimeZone": { "alias": "editorEventEndTimeZone"; "required": false; }; "editorEventAllDay": { "alias": "editorEventAllDay"; "required": false; }; "editorEventDescription": { "alias": "editorEventDescription"; "required": false; }; "editorEventTimeZone": { "alias": "editorEventTimeZone"; "required": false; }; "editorEventTimeZoneReset": { "alias": "editorEventTimeZoneReset"; "required": false; }; "editorEventDescriptionPlaceholder": { "alias": "editorEventDescriptionPlaceholder"; "required": false; }; "editorEventDateRangeSeparator": { "alias": "editorEventDateRangeSeparator"; "required": false; }; "editorEventDateRangeStart": { "alias": "editorEventDateRangeStart"; "required": false; }; "editorRecurrenceMakeRecurring": { "alias": "editorRecurrenceMakeRecurring"; "required": false; }; "editorRecurrenceEdit": { "alias": "editorRecurrenceEdit"; "required": false; }; "editorRecurrenceDialogTitle": { "alias": "editorRecurrenceDialogTitle"; "required": false; }; "editorRecurrenceRemove": { "alias": "editorRecurrenceRemove"; "required": false; }; "editorRecurrenceRemoveConfirmationTitle": { "alias": "editorRecurrenceRemoveConfirmationTitle"; "required": false; }; "editorRecurrenceRemoveConfirmation": { "alias": "editorRecurrenceRemoveConfirmation"; "required": false; }; "editorRecurrenceRemoveConfirmationNo": { "alias": "editorRecurrenceRemoveConfirmationNo"; "required": false; }; "editorRecurrenceRemoveConfirmationYes": { "alias": "editorRecurrenceRemoveConfirmationYes"; "required": false; }; "editorDateInputsToday": { "alias": "editorDateInputsToday"; "required": false; }; "editorDatePickersToggle": { "alias": "editorDatePickersToggle"; "required": false; }; "editorDateInputsParentViewButton": { "alias": "editorDateInputsParentViewButton"; "required": false; }; "editorDateInputsNow": { "alias": "editorDateInputsNow"; "required": false; }; "editorDateInputsNowLabel": { "alias": "editorDateInputsNowLabel"; "required": false; }; "editorDateInputsAccept": { "alias": "editorDateInputsAccept"; "required": false; }; "editorDateInputsAcceptLabel": { "alias": "editorDateInputsAcceptLabel"; "required": false; }; "editorDateInputsCancel": { "alias": "editorDateInputsCancel"; "required": false; }; "editorDateInputsCancelLabel": { "alias": "editorDateInputsCancelLabel"; "required": false; }; "editorTimePickersToggle": { "alias": "editorTimePickersToggle"; "required": false; }; "recurrenceEditorDateInputsToday": { "alias": "recurrenceEditorDateInputsToday"; "required": false; }; "recurrenceEditorDateInputsToggle": { "alias": "recurrenceEditorDateInputsToggle"; "required": false; }; "recurrenceEditorDateInputsParentViewButton": { "alias": "recurrenceEditorDateInputsParentViewButton"; "required": false; }; "recurrenceEditorNumericIncrement": { "alias": "recurrenceEditorNumericIncrement"; "required": false; }; "recurrenceEditorNumericDecrement": { "alias": "recurrenceEditorNumericDecrement"; "required": false; }; "recurrenceEditorRepeat": { "alias": "recurrenceEditorRepeat"; "required": false; }; "recurrenceEditorDailyInterval": { "alias": "recurrenceEditorDailyInterval"; "required": false; }; "recurrenceEditorDailyRepeatEvery": { "alias": "recurrenceEditorDailyRepeatEvery"; "required": false; }; "recurrenceEditorWeeklyInterval": { "alias": "recurrenceEditorWeeklyInterval"; "required": false; }; "recurrenceEditorWeeklyRepeatEvery": { "alias": "recurrenceEditorWeeklyRepeatEvery"; "required": false; }; "recurrenceEditorWeeklyRepeatOn": { "alias": "recurrenceEditorWeeklyRepeatOn"; "required": false; }; "recurrenceEditorMonthlyDay": { "alias": "recurrenceEditorMonthlyDay"; "required": false; }; "recurrenceEditorMonthlyInterval": { "alias": "recurrenceEditorMonthlyInterval"; "required": false; }; "recurrenceEditorMonthlyRepeatEvery": { "alias": "recurrenceEditorMonthlyRepeatEvery"; "required": false; }; "recurrenceEditorMonthlyRepeatOn": { "alias": "recurrenceEditorMonthlyRepeatOn"; "required": false; }; "recurrenceEditorYearlyOf": { "alias": "recurrenceEditorYearlyOf"; "required": false; }; "recurrenceEditorYearlyRepeatEvery": { "alias": "recurrenceEditorYearlyRepeatEvery"; "required": false; }; "recurrenceEditorYearlyRepeatOn": { "alias": "recurrenceEditorYearlyRepeatOn"; "required": false; }; "recurrenceEditorYearlyInterval": { "alias": "recurrenceEditorYearlyInterval"; "required": false; }; "recurrenceEditorFrequenciesDaily": { "alias": "recurrenceEditorFrequenciesDaily"; "required": false; }; "recurrenceEditorFrequenciesMonthly": { "alias": "recurrenceEditorFrequenciesMonthly"; "required": false; }; "recurrenceEditorFrequenciesNever": { "alias": "recurrenceEditorFrequenciesNever"; "required": false; }; "recurrenceEditorFrequenciesWeekly": { "alias": "recurrenceEditorFrequenciesWeekly"; "required": false; }; "recurrenceEditorFrequenciesYearly": { "alias": "recurrenceEditorFrequenciesYearly"; "required": false; }; "recurrenceEditorOffsetPositionsFirst": { "alias": "recurrenceEditorOffsetPositionsFirst"; "required": false; }; "recurrenceEditorOffsetPositionsSecond": { "alias": "recurrenceEditorOffsetPositionsSecond"; "required": false; }; "recurrenceEditorOffsetPositionsThird": { "alias": "recurrenceEditorOffsetPositionsThird"; "required": false; }; "recurrenceEditorOffsetPositionsFourth": { "alias": "recurrenceEditorOffsetPositionsFourth"; "required": false; }; "recurrenceEditorOffsetPositionsLast": { "alias": "recurrenceEditorOffsetPositionsLast"; "required": false; }; "recurrenceEditorWeekdaysDay": { "alias": "recurrenceEditorWeekdaysDay"; "required": false; }; "recurrenceEditorWeekdaysWeekday": { "alias": "recurrenceEditorWeekdaysWeekday"; "required": false; }; "recurrenceEditorWeekdaysWeekendday": { "alias": "recurrenceEditorWeekdaysWeekendday"; "required": false; }; "recurrenceEditorEndAfter": { "alias": "recurrenceEditorEndAfter"; "required": false; }; "recurrenceEditorEndOccurrence": { "alias": "recurrenceEditorEndOccurrence"; "required": false; }; "recurrenceEditorEndLabel": { "alias": "recurrenceEditorEndLabel"; "required": false; }; "recurrenceEditorEndNever": { "alias": "recurrenceEditorEndNever"; "required": false; }; "recurrenceEditorEndOn": { "alias": "recurrenceEditorEndOn"; "required": false; }; "editorTitle": { "alias": "editorTitle"; "required": false; }; "editorTitleNew": { "alias": "editorTitleNew"; "required": false; }; "destroy": { "alias": "destroy"; "required": false; }; "deleteConfirmation": { "alias": "deleteConfirmation"; "required": false; }; "editRecurringConfirmation": { "alias": "editRecurringConfirmation"; "required": false; }; "editOccurrence": { "alias": "editOccurrence"; "required": false; }; "editSeries": { "alias": "editSeries"; "required": false; }; "deleteRecurringConfirmation": { "alias": "deleteRecurringConfirmation"; "required": false; }; "deleteOccurrence": { "alias": "deleteOccurrence"; "required": false; }; "deleteSeries": { "alias": "deleteSeries"; "required": false; }; "deleteDialogTitle": { "alias": "deleteDialogTitle"; "required": false; }; "deleteRecurringDialogTitle": { "alias": "deleteRecurringDialogTitle"; "required": false; }; "editRecurringDialogTitle": { "alias": "editRecurringDialogTitle"; "required": false; }; "selectView": { "alias": "selectView"; "required": false; }; "newEvent": { "alias": "newEvent"; "required": false; }; "newEventLabel": { "alias": "newEventLabel"; "required": false; }; }, {}, never, never, true, never>;
|
|
3328
3332
|
}
|
|
3329
3333
|
|
|
3330
3334
|
/**
|
|
@@ -6779,7 +6783,6 @@ declare class MonthResourceGroup implements ResourceGroup {
|
|
|
6779
6783
|
* @hidden
|
|
6780
6784
|
*/
|
|
6781
6785
|
declare class MonthSlotService extends BaseSlotService {
|
|
6782
|
-
currentPopover: PopoverAnchorDirective;
|
|
6783
6786
|
layout(eventHeight: number | 'auto', eventsPerDay: number | 'auto', adaptiveSlotHeight: boolean): void;
|
|
6784
6787
|
slotByIndex(slotIndex: string): any;
|
|
6785
6788
|
forEachSlot(callback: any): void;
|
package/package-metadata.mjs
CHANGED
|
@@ -7,7 +7,7 @@ export const packageMetadata = {
|
|
|
7
7
|
"productCodes": [
|
|
8
8
|
"KENDOUIANGULAR"
|
|
9
9
|
],
|
|
10
|
-
"publishDate":
|
|
11
|
-
"version": "25.1.0-develop.
|
|
10
|
+
"publishDate": 1787223963,
|
|
11
|
+
"version": "25.1.0-develop.6",
|
|
12
12
|
"licensingDocsUrl": "https://www.telerik.com/kendo-angular-ui/my-license/"
|
|
13
13
|
};
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@progress/kendo-angular-scheduler",
|
|
3
|
-
"version": "25.1.0-develop.
|
|
3
|
+
"version": "25.1.0-develop.6",
|
|
4
4
|
"description": "Kendo UI Scheduler Angular - Outlook or Google-style angular scheduler calendar. Full-featured and customizable embedded scheduling from the creator developers trust for professional UI components.",
|
|
5
5
|
"license": "SEE LICENSE IN LICENSE.md",
|
|
6
6
|
"author": "Progress",
|
|
@@ -80,7 +80,7 @@
|
|
|
80
80
|
"package": {
|
|
81
81
|
"productName": "Kendo UI for Angular",
|
|
82
82
|
"productCode": "KENDOUIANGULAR",
|
|
83
|
-
"publishDate":
|
|
83
|
+
"publishDate": 1787223963,
|
|
84
84
|
"licensingDocsUrl": "https://www.telerik.com/kendo-angular-ui/my-license/"
|
|
85
85
|
}
|
|
86
86
|
},
|
|
@@ -93,23 +93,23 @@
|
|
|
93
93
|
"@progress/kendo-data-query": "^1.7.3",
|
|
94
94
|
"@progress/kendo-drawing": "^1.25.0",
|
|
95
95
|
"@progress/kendo-licensing": "^1.11.0",
|
|
96
|
-
"@progress/kendo-angular-tooltip": "25.1.0-develop.
|
|
97
|
-
"@progress/kendo-angular-buttons": "25.1.0-develop.
|
|
98
|
-
"@progress/kendo-angular-common": "25.1.0-develop.
|
|
99
|
-
"@progress/kendo-angular-dateinputs": "25.1.0-develop.
|
|
100
|
-
"@progress/kendo-angular-dialog": "25.1.0-develop.
|
|
101
|
-
"@progress/kendo-angular-dropdowns": "25.1.0-develop.
|
|
102
|
-
"@progress/kendo-angular-icons": "25.1.0-develop.
|
|
103
|
-
"@progress/kendo-angular-inputs": "25.1.0-develop.
|
|
104
|
-
"@progress/kendo-angular-intl": "25.1.0-develop.
|
|
105
|
-
"@progress/kendo-angular-l10n": "25.1.0-develop.
|
|
106
|
-
"@progress/kendo-angular-label": "25.1.0-develop.
|
|
107
|
-
"@progress/kendo-angular-popup": "25.1.0-develop.
|
|
96
|
+
"@progress/kendo-angular-tooltip": "25.1.0-develop.6",
|
|
97
|
+
"@progress/kendo-angular-buttons": "25.1.0-develop.6",
|
|
98
|
+
"@progress/kendo-angular-common": "25.1.0-develop.6",
|
|
99
|
+
"@progress/kendo-angular-dateinputs": "25.1.0-develop.6",
|
|
100
|
+
"@progress/kendo-angular-dialog": "25.1.0-develop.6",
|
|
101
|
+
"@progress/kendo-angular-dropdowns": "25.1.0-develop.6",
|
|
102
|
+
"@progress/kendo-angular-icons": "25.1.0-develop.6",
|
|
103
|
+
"@progress/kendo-angular-inputs": "25.1.0-develop.6",
|
|
104
|
+
"@progress/kendo-angular-intl": "25.1.0-develop.6",
|
|
105
|
+
"@progress/kendo-angular-l10n": "25.1.0-develop.6",
|
|
106
|
+
"@progress/kendo-angular-label": "25.1.0-develop.6",
|
|
107
|
+
"@progress/kendo-angular-popup": "25.1.0-develop.6",
|
|
108
108
|
"rxjs": "^6.5.3 || ^7.0.0"
|
|
109
109
|
},
|
|
110
110
|
"dependencies": {
|
|
111
111
|
"tslib": "^2.3.1",
|
|
112
|
-
"@progress/kendo-angular-schematics": "25.1.0-develop.
|
|
112
|
+
"@progress/kendo-angular-schematics": "25.1.0-develop.6",
|
|
113
113
|
"@progress/kendo-date-math": "^1.3.2",
|
|
114
114
|
"@progress/kendo-draggable": "^3.0.2",
|
|
115
115
|
"@progress/kendo-file-saver": "^1.0.7",
|
|
@@ -9,10 +9,10 @@ const schematics_1 = require("@angular-devkit/schematics");
|
|
|
9
9
|
function default_1(options) {
|
|
10
10
|
const finalOptions = Object.assign(Object.assign({}, options), { mainNgModule: 'SchedulerModule', package: 'scheduler', peerDependencies: {
|
|
11
11
|
// peer deps of the dropdowns
|
|
12
|
-
'@progress/kendo-angular-treeview': '25.1.0-develop.
|
|
13
|
-
'@progress/kendo-angular-navigation': '25.1.0-develop.
|
|
12
|
+
'@progress/kendo-angular-treeview': '25.1.0-develop.6',
|
|
13
|
+
'@progress/kendo-angular-navigation': '25.1.0-develop.6',
|
|
14
14
|
// peer dependency of kendo-angular-inputs
|
|
15
|
-
'@progress/kendo-angular-dialog': '25.1.0-develop.
|
|
15
|
+
'@progress/kendo-angular-dialog': '25.1.0-develop.6',
|
|
16
16
|
// peer dependency of kendo-angular-icons
|
|
17
17
|
'@progress/kendo-svg-icons': '^4.0.0'
|
|
18
18
|
} });
|