@progress/kendo-angular-scheduler 25.2.0-develop.9 → 25.2.0
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.
|
@@ -44,8 +44,8 @@ const packageMetadata = {
|
|
|
44
44
|
productName: 'Kendo UI for Angular',
|
|
45
45
|
productCode: 'KENDOUIANGULAR',
|
|
46
46
|
productCodes: ['KENDOUIANGULAR'],
|
|
47
|
-
publishDate:
|
|
48
|
-
version: '25.2.0
|
|
47
|
+
publishDate: 1790166957,
|
|
48
|
+
version: '25.2.0',
|
|
49
49
|
licensingDocsUrl: 'https://www.telerik.com/kendo-angular-ui/my-license/'
|
|
50
50
|
};
|
|
51
51
|
|
|
@@ -15204,7 +15204,9 @@ class EventsPopoverComponent {
|
|
|
15204
15204
|
eventClass;
|
|
15205
15205
|
eventStyles;
|
|
15206
15206
|
noEventsMessage;
|
|
15207
|
+
editable;
|
|
15207
15208
|
navigateToDay = new EventEmitter();
|
|
15209
|
+
eventDblClick = new EventEmitter();
|
|
15208
15210
|
popover;
|
|
15209
15211
|
chevronLeftIcon = chevronLeftIcon;
|
|
15210
15212
|
chevronRightIcon = chevronRightIcon;
|
|
@@ -15228,6 +15230,11 @@ class EventsPopoverComponent {
|
|
|
15228
15230
|
const endTime = toLocalDate(event.endTime);
|
|
15229
15231
|
return getEventTitle(startTime, endTime, event.isAllDay, event.event.title, this.intl.localeId);
|
|
15230
15232
|
}
|
|
15233
|
+
onEventDblClick(event, originalEvent) {
|
|
15234
|
+
if (this.editable) {
|
|
15235
|
+
this.eventDblClick.emit({ event: event.event, originalEvent });
|
|
15236
|
+
}
|
|
15237
|
+
}
|
|
15231
15238
|
getEventClasses(event) {
|
|
15232
15239
|
if (this.eventClass) {
|
|
15233
15240
|
return this.eventClass({
|
|
@@ -15250,7 +15257,7 @@ class EventsPopoverComponent {
|
|
|
15250
15257
|
return result;
|
|
15251
15258
|
}
|
|
15252
15259
|
static ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "20.3.30", ngImport: i0, type: EventsPopoverComponent, deps: [{ token: i4.IntlService }, { token: i2.LocalizationService }], target: i0.ɵɵFactoryTarget.Component });
|
|
15253
|
-
static ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "17.0.0", version: "20.3.30", type: EventsPopoverComponent, isStandalone: true, selector: "kendo-scheduler-events-popover", inputs: { date: "date", events: "events", eventClass: "eventClass", eventStyles: "eventStyles", noEventsMessage: "noEventsMessage" }, outputs: { navigateToDay: "navigateToDay" }, viewQueries: [{ propertyName: "popover", first: true, predicate: ["popover"], descendants: true, static: true }], ngImport: i0, template: `
|
|
15260
|
+
static ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "17.0.0", version: "20.3.30", type: EventsPopoverComponent, isStandalone: true, selector: "kendo-scheduler-events-popover", inputs: { date: "date", events: "events", eventClass: "eventClass", eventStyles: "eventStyles", noEventsMessage: "noEventsMessage", editable: "editable" }, outputs: { navigateToDay: "navigateToDay", eventDblClick: "eventDblClick" }, viewQueries: [{ propertyName: "popover", first: true, predicate: ["popover"], descendants: true, static: true }], ngImport: i0, template: `
|
|
15254
15261
|
<kendo-popover
|
|
15255
15262
|
#popover
|
|
15256
15263
|
[popupClass]="'k-scheduler-popover'"
|
|
@@ -15268,10 +15275,12 @@ class EventsPopoverComponent {
|
|
|
15268
15275
|
@for (event of events; track event) {
|
|
15269
15276
|
<div
|
|
15270
15277
|
class="k-popover-event k-event"
|
|
15278
|
+
[class.k-readonly]="event.event.readonly"
|
|
15271
15279
|
role="listitem"
|
|
15272
15280
|
[title]="eventTitle(event)"
|
|
15273
15281
|
[ngClass]="getEventClasses(event)"
|
|
15274
15282
|
[ngStyle]="getEventStyles(event)"
|
|
15283
|
+
(dblclick)="onEventDblClick(event, $event)"
|
|
15275
15284
|
>
|
|
15276
15285
|
@if (event.tail || event.mid) {
|
|
15277
15286
|
<kendo-icon-wrapper
|
|
@@ -15334,10 +15343,12 @@ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "20.3.30", ngImpo
|
|
|
15334
15343
|
@for (event of events; track event) {
|
|
15335
15344
|
<div
|
|
15336
15345
|
class="k-popover-event k-event"
|
|
15346
|
+
[class.k-readonly]="event.event.readonly"
|
|
15337
15347
|
role="listitem"
|
|
15338
15348
|
[title]="eventTitle(event)"
|
|
15339
15349
|
[ngClass]="getEventClasses(event)"
|
|
15340
15350
|
[ngStyle]="getEventStyles(event)"
|
|
15351
|
+
(dblclick)="onEventDblClick(event, $event)"
|
|
15341
15352
|
>
|
|
15342
15353
|
@if (event.tail || event.mid) {
|
|
15343
15354
|
<kendo-icon-wrapper
|
|
@@ -15378,8 +15389,12 @@ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "20.3.30", ngImpo
|
|
|
15378
15389
|
type: Input
|
|
15379
15390
|
}], noEventsMessage: [{
|
|
15380
15391
|
type: Input
|
|
15392
|
+
}], editable: [{
|
|
15393
|
+
type: Input
|
|
15381
15394
|
}], navigateToDay: [{
|
|
15382
15395
|
type: Output
|
|
15396
|
+
}], eventDblClick: [{
|
|
15397
|
+
type: Output
|
|
15383
15398
|
}], popover: [{
|
|
15384
15399
|
type: ViewChild,
|
|
15385
15400
|
args: ['popover', { static: true }]
|
|
@@ -15431,9 +15446,16 @@ class MonthViewRendererComponent extends BaseView {
|
|
|
15431
15446
|
this.popoverContainer?.hide();
|
|
15432
15447
|
this.viewState.navigateTo({ viewName: 'day', date: new Date(date) });
|
|
15433
15448
|
}
|
|
15449
|
+
onPopoverEventDblClick(args) {
|
|
15450
|
+
if (!args.event.readonly) {
|
|
15451
|
+
this.popoverContainer?.hide();
|
|
15452
|
+
}
|
|
15453
|
+
this.viewState.emitEvent('eventDblClick', { type: 'dblclick', event: args.event, originalEvent: args.originalEvent });
|
|
15454
|
+
}
|
|
15434
15455
|
setPopoverData(slot) {
|
|
15435
15456
|
this.popoverDate = slot.day;
|
|
15436
|
-
|
|
15457
|
+
const resourceIndex = slot.id?.resourceIndex ?? 0;
|
|
15458
|
+
this.popoverEvents = (slot.moreEvents || []).filter(task => isPresent(task.data?.[resourceIndex]));
|
|
15437
15459
|
}
|
|
15438
15460
|
ongoingEventsTimeout;
|
|
15439
15461
|
schedulerMonthDaySlotTemplate;
|
|
@@ -15964,17 +15986,19 @@ class MonthViewRendererComponent extends BaseView {
|
|
|
15964
15986
|
#eventsPopoverComp
|
|
15965
15987
|
[date]="popoverDate"
|
|
15966
15988
|
[events]="popoverEvents"
|
|
15989
|
+
[editable]="editable"
|
|
15967
15990
|
[eventClass]="eventClass"
|
|
15968
15991
|
[eventStyles]="eventStyles"
|
|
15969
15992
|
[noEventsMessage]="localization.get('yearViewNoEvents')"
|
|
15970
|
-
(navigateToDay)="onPopoverNavigateToDay($event)"
|
|
15993
|
+
(navigateToDay)="onPopoverNavigateToDay($event)"
|
|
15994
|
+
(eventDblClick)="onPopoverEventDblClick($event)">
|
|
15971
15995
|
</kendo-scheduler-events-popover>
|
|
15972
15996
|
</div>
|
|
15973
15997
|
</td>
|
|
15974
15998
|
</tr>
|
|
15975
15999
|
</tbody>
|
|
15976
16000
|
</table>
|
|
15977
|
-
`, 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" }] });
|
|
16001
|
+
`, 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", "editable"], outputs: ["navigateToDay", "eventDblClick"] }, { 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" }] });
|
|
15978
16002
|
}
|
|
15979
16003
|
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "20.3.30", ngImport: i0, type: MonthViewRendererComponent, decorators: [{
|
|
15980
16004
|
type: Component,
|
|
@@ -16184,10 +16208,12 @@ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "20.3.30", ngImpo
|
|
|
16184
16208
|
#eventsPopoverComp
|
|
16185
16209
|
[date]="popoverDate"
|
|
16186
16210
|
[events]="popoverEvents"
|
|
16211
|
+
[editable]="editable"
|
|
16187
16212
|
[eventClass]="eventClass"
|
|
16188
16213
|
[eventStyles]="eventStyles"
|
|
16189
16214
|
[noEventsMessage]="localization.get('yearViewNoEvents')"
|
|
16190
|
-
(navigateToDay)="onPopoverNavigateToDay($event)"
|
|
16215
|
+
(navigateToDay)="onPopoverNavigateToDay($event)"
|
|
16216
|
+
(eventDblClick)="onPopoverEventDblClick($event)">
|
|
16191
16217
|
</kendo-scheduler-events-popover>
|
|
16192
16218
|
</div>
|
|
16193
16219
|
</td>
|
|
@@ -21768,7 +21794,7 @@ class YearViewInternalComponent extends BaseView {
|
|
|
21768
21794
|
[noEventsMessage]="localization.get('yearViewNoEvents')"
|
|
21769
21795
|
(navigateToDay)="navigateToDay($event)">
|
|
21770
21796
|
</kendo-scheduler-events-popover>
|
|
21771
|
-
`, isInline: true, dependencies: [{ kind: "component", type: MultiViewCalendarComponent, selector: "kendo-multiviewcalendar", inputs: ["showOtherMonthDays", "showCalendarHeader", "size", "id", "focusedDate", "footer", "min", "max", "rangeValidation", "disabledDatesRangeValidation", "selection", "allowReverse", "value", "disabled", "tabindex", "tabIndex", "weekDaysFormat", "isActive", "disabledDates", "activeView", "bottomView", "topView", "showViewHeader", "animateNavigation", "weekNumber", "activeRangeEnd", "selectionRange", "views", "orientation", "cellTemplate", "monthCellTemplate", "yearCellTemplate", "decadeCellTemplate", "centuryCellTemplate", "weekNumberTemplate", "footerTemplate", "headerTitleTemplate", "headerTemplate"], outputs: ["activeViewChange", "navigate", "cellEnter", "cellLeave", "valueChange", "rangeSelectionChange", "blur", "focus", "focusCalendar", "onClosePopup", "onTabPress", "onShiftTabPress"], exportAs: ["kendo-multiviewcalendar"] }, { kind: "directive", type: PopoverContainerDirective, selector: "[kendoPopoverContainer]", inputs: ["filter"], exportAs: ["kendoPopoverContainer"] }, { kind: "directive", type: MonthCellTemplateDirective, selector: "[kendoCalendarMonthCellTemplate]" }, { kind: "component", type: EventsPopoverComponent, selector: "kendo-scheduler-events-popover", inputs: ["date", "events", "eventClass", "eventStyles", "noEventsMessage"], outputs: ["navigateToDay"] }] });
|
|
21797
|
+
`, isInline: true, dependencies: [{ kind: "component", type: MultiViewCalendarComponent, selector: "kendo-multiviewcalendar", inputs: ["showOtherMonthDays", "showCalendarHeader", "size", "id", "focusedDate", "footer", "min", "max", "rangeValidation", "disabledDatesRangeValidation", "selection", "allowReverse", "value", "disabled", "tabindex", "tabIndex", "weekDaysFormat", "isActive", "disabledDates", "activeView", "bottomView", "topView", "showViewHeader", "animateNavigation", "weekNumber", "activeRangeEnd", "selectionRange", "views", "orientation", "cellTemplate", "monthCellTemplate", "yearCellTemplate", "decadeCellTemplate", "centuryCellTemplate", "weekNumberTemplate", "footerTemplate", "headerTitleTemplate", "headerTemplate"], outputs: ["activeViewChange", "navigate", "cellEnter", "cellLeave", "valueChange", "rangeSelectionChange", "blur", "focus", "focusCalendar", "onClosePopup", "onTabPress", "onShiftTabPress"], exportAs: ["kendo-multiviewcalendar"] }, { kind: "directive", type: PopoverContainerDirective, selector: "[kendoPopoverContainer]", inputs: ["filter"], exportAs: ["kendoPopoverContainer"] }, { kind: "directive", type: MonthCellTemplateDirective, selector: "[kendoCalendarMonthCellTemplate]" }, { kind: "component", type: EventsPopoverComponent, selector: "kendo-scheduler-events-popover", inputs: ["date", "events", "eventClass", "eventStyles", "noEventsMessage", "editable"], outputs: ["navigateToDay", "eventDblClick"] }] });
|
|
21772
21798
|
}
|
|
21773
21799
|
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "20.3.30", ngImport: i0, type: YearViewInternalComponent, decorators: [{
|
|
21774
21800
|
type: Component,
|
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.2.0
|
|
10
|
+
"publishDate": 1790166957,
|
|
11
|
+
"version": "25.2.0",
|
|
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.2.0
|
|
3
|
+
"version": "25.2.0",
|
|
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": 1790166957,
|
|
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.2.0
|
|
97
|
-
"@progress/kendo-angular-buttons": "25.2.0
|
|
98
|
-
"@progress/kendo-angular-common": "25.2.0
|
|
99
|
-
"@progress/kendo-angular-dateinputs": "25.2.0
|
|
100
|
-
"@progress/kendo-angular-dialog": "25.2.0
|
|
101
|
-
"@progress/kendo-angular-dropdowns": "25.2.0
|
|
102
|
-
"@progress/kendo-angular-icons": "25.2.0
|
|
103
|
-
"@progress/kendo-angular-inputs": "25.2.0
|
|
104
|
-
"@progress/kendo-angular-intl": "25.2.0
|
|
105
|
-
"@progress/kendo-angular-l10n": "25.2.0
|
|
106
|
-
"@progress/kendo-angular-label": "25.2.0
|
|
107
|
-
"@progress/kendo-angular-popup": "25.2.0
|
|
96
|
+
"@progress/kendo-angular-tooltip": "25.2.0",
|
|
97
|
+
"@progress/kendo-angular-buttons": "25.2.0",
|
|
98
|
+
"@progress/kendo-angular-common": "25.2.0",
|
|
99
|
+
"@progress/kendo-angular-dateinputs": "25.2.0",
|
|
100
|
+
"@progress/kendo-angular-dialog": "25.2.0",
|
|
101
|
+
"@progress/kendo-angular-dropdowns": "25.2.0",
|
|
102
|
+
"@progress/kendo-angular-icons": "25.2.0",
|
|
103
|
+
"@progress/kendo-angular-inputs": "25.2.0",
|
|
104
|
+
"@progress/kendo-angular-intl": "25.2.0",
|
|
105
|
+
"@progress/kendo-angular-l10n": "25.2.0",
|
|
106
|
+
"@progress/kendo-angular-label": "25.2.0",
|
|
107
|
+
"@progress/kendo-angular-popup": "25.2.0",
|
|
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.2.0
|
|
112
|
+
"@progress/kendo-angular-schematics": "25.2.0",
|
|
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.2.0
|
|
13
|
-
'@progress/kendo-angular-navigation': '25.2.0
|
|
12
|
+
'@progress/kendo-angular-treeview': '25.2.0',
|
|
13
|
+
'@progress/kendo-angular-navigation': '25.2.0',
|
|
14
14
|
// peer dependency of kendo-angular-inputs
|
|
15
|
-
'@progress/kendo-angular-dialog': '25.2.0
|
|
15
|
+
'@progress/kendo-angular-dialog': '25.2.0',
|
|
16
16
|
// peer dependency of kendo-angular-icons
|
|
17
17
|
'@progress/kendo-svg-icons': '^4.0.0'
|
|
18
18
|
} });
|