@progress/kendo-angular-scheduler 14.1.0-develop.1 → 14.1.0-develop.11
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/esm2020/package-metadata.mjs +2 -2
- package/esm2020/scheduler.component.mjs +2 -2
- package/esm2020/views/constants.mjs +2 -4
- package/esm2020/views/multi-day/multi-day-view-renderer.component.mjs +5 -2
- package/fesm2015/progress-kendo-angular-scheduler.mjs +14 -9
- package/fesm2020/progress-kendo-angular-scheduler.mjs +14 -9
- package/package.json +12 -12
- package/scheduler.component.d.ts +2 -2
- package/schematics/ngAdd/index.js +2 -2
- package/types/scheduler-view.d.ts +2 -2
- package/views/constants.d.ts +2 -4
- package/views/multi-day/multi-day-view-renderer.component.d.ts +1 -0
|
@@ -9,7 +9,7 @@ export const packageMetadata = {
|
|
|
9
9
|
name: '@progress/kendo-angular-scheduler',
|
|
10
10
|
productName: 'Kendo UI for Angular',
|
|
11
11
|
productCodes: ['KENDOUIANGULAR', 'KENDOUICOMPLETE'],
|
|
12
|
-
publishDate:
|
|
13
|
-
version: '14.1.0-develop.
|
|
12
|
+
publishDate: 1699450713,
|
|
13
|
+
version: '14.1.0-develop.11',
|
|
14
14
|
licensingDocsUrl: 'https://www.telerik.com/kendo-angular-ui/my-license/'
|
|
15
15
|
};
|
|
@@ -603,7 +603,7 @@ export class SchedulerComponent {
|
|
|
603
603
|
*
|
|
604
604
|
* @param operation - The type of operation that will be confirmed. Has to be either **Edit** or **Remove**.
|
|
605
605
|
*
|
|
606
|
-
* @
|
|
606
|
+
* @returns the result from the confirmation dialog.
|
|
607
607
|
*/
|
|
608
608
|
openRecurringConfirmationDialog(operation) {
|
|
609
609
|
return this.dialogsService.openRecurringConfirmationDialog(operation);
|
|
@@ -611,7 +611,7 @@ export class SchedulerComponent {
|
|
|
611
611
|
/**
|
|
612
612
|
* Opens the built-in removal confirmation dialog.
|
|
613
613
|
*
|
|
614
|
-
* @return
|
|
614
|
+
* @return the result from the confirmation dialog.
|
|
615
615
|
*/
|
|
616
616
|
openRemoveConfirmationDialog() {
|
|
617
617
|
return this.dialogsService.openRemoveConfirmationDialog();
|
|
@@ -12,10 +12,8 @@ export const MS_PER_SECOND = 1000;
|
|
|
12
12
|
export const MS_PER_MINUTE = 60 * MS_PER_SECOND;
|
|
13
13
|
/** @hidden */
|
|
14
14
|
export const MS_PER_HOUR = 60 * MS_PER_MINUTE;
|
|
15
|
-
/**
|
|
16
|
-
*
|
|
17
|
-
*/
|
|
18
|
-
export { MS_PER_DAY } from '@progress/kendo-date-math';
|
|
15
|
+
/** @hidden */
|
|
16
|
+
export const MS_PER_DAY = 24 * MS_PER_HOUR;
|
|
19
17
|
//probably should calculate this
|
|
20
18
|
/** @hidden */
|
|
21
19
|
export const BORDER_WIDTH = 1;
|
|
@@ -245,6 +245,9 @@ export class MultiDayViewRendererComponent extends DayTimeViewComponent {
|
|
|
245
245
|
}
|
|
246
246
|
return 0;
|
|
247
247
|
}
|
|
248
|
+
isMiddleSlot(index) {
|
|
249
|
+
return index + 1 < this.timeSlots.length && !this.timeSlots[index + 1].isMajor;
|
|
250
|
+
}
|
|
248
251
|
}
|
|
249
252
|
MultiDayViewRendererComponent.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "13.3.12", ngImport: i0, type: MultiDayViewRendererComponent, deps: [{ token: i1.LocalizationService }, { token: i2.ViewContextService }, { token: i3.ViewStateService }, { token: i4.IntlService }, { token: i5.DayTimeSlotService }, { token: i0.NgZone }, { token: i0.Renderer2 }, { token: i0.ElementRef }, { token: i0.ChangeDetectorRef }, { token: i6.PDFService }, { token: i7.ScrollbarWidthService }], target: i0.ɵɵFactoryTarget.Component });
|
|
250
253
|
MultiDayViewRendererComponent.ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "12.0.0", version: "13.3.12", type: MultiDayViewRendererComponent, selector: "multi-day-view", inputs: { name: "name", slotFill: "slotFill", allDaySlotTemplate: "allDaySlotTemplate", allDayEventTemplate: "allDayEventTemplate", minorTimeHeaderTemplate: "minorTimeHeaderTemplate", majorTimeHeaderTemplate: "majorTimeHeaderTemplate" }, providers: [
|
|
@@ -411,7 +414,7 @@ MultiDayViewRendererComponent.ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "1
|
|
|
411
414
|
[ngTemplateOutletContext]="{ date: slot.start, resources: resourcesByIndex(verticalIndex) }"></ng-container>
|
|
412
415
|
</td>
|
|
413
416
|
</tr>
|
|
414
|
-
<tr *ngFor="let slot of timeSlots; index as index; trackBy: itemIndex" [class.k-middle-row]="
|
|
417
|
+
<tr *ngFor="let slot of timeSlots; index as index; trackBy: itemIndex" [class.k-middle-row]="isMiddleSlot(index)">
|
|
415
418
|
<ng-container *ngFor="let resource of horizontalResources | resourceIterator; let horizontalIndex = index; trackBy: itemIndex;">
|
|
416
419
|
<td *ngFor="let daySlot of daySlots; index as rangeIndex; trackBy: itemIndex"
|
|
417
420
|
[ngClass]="timeSlotClass(slot, daySlot.start, verticalResources.length ? verticalIndex : horizontalIndex)"
|
|
@@ -676,7 +679,7 @@ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "13.3.12", ngImpo
|
|
|
676
679
|
[ngTemplateOutletContext]="{ date: slot.start, resources: resourcesByIndex(verticalIndex) }"></ng-container>
|
|
677
680
|
</td>
|
|
678
681
|
</tr>
|
|
679
|
-
<tr *ngFor="let slot of timeSlots; index as index; trackBy: itemIndex" [class.k-middle-row]="
|
|
682
|
+
<tr *ngFor="let slot of timeSlots; index as index; trackBy: itemIndex" [class.k-middle-row]="isMiddleSlot(index)">
|
|
680
683
|
<ng-container *ngFor="let resource of horizontalResources | resourceIterator; let horizontalIndex = index; trackBy: itemIndex;">
|
|
681
684
|
<td *ngFor="let daySlot of daySlots; index as rangeIndex; trackBy: itemIndex"
|
|
682
685
|
[ngClass]="timeSlotClass(slot, daySlot.start, verticalResources.length ? verticalIndex : horizontalIndex)"
|
|
@@ -8,7 +8,7 @@ import * as i1$1 from '@progress/kendo-angular-l10n';
|
|
|
8
8
|
import { LocalizationService, L10N_PREFIX, RTL, ComponentMessages } from '@progress/kendo-angular-l10n';
|
|
9
9
|
import * as i7 from '@progress/kendo-angular-common';
|
|
10
10
|
import { hasObservers, isDocumentAvailable, isVisible as isVisible$1, scrollbarWidth, isChanged, Keys, shouldShowValidationUI, anyChanged, ResizeSensorComponent, EventsModule, ResizeSensorModule, guid, WatermarkModule } from '@progress/kendo-angular-common';
|
|
11
|
-
import { isEqualDate, timezoneNames, ZonedDate, toLocalDate, getDate, Day, MS_PER_DAY, addDays, firstDayOfMonth, firstDayInWeek, addMonths, addWeeks } from '@progress/kendo-date-math';
|
|
11
|
+
import { isEqualDate, timezoneNames, ZonedDate, toLocalDate, getDate, Day, MS_PER_DAY as MS_PER_DAY$1, addDays, firstDayOfMonth, firstDayInWeek, addMonths, addWeeks } from '@progress/kendo-date-math';
|
|
12
12
|
import { auditTime, buffer, filter, map, debounceTime, take, switchMap, tap, distinctUntilChanged } from 'rxjs/operators';
|
|
13
13
|
import { validatePackage } from '@progress/kendo-licensing';
|
|
14
14
|
import * as i6 from '@progress/kendo-angular-dateinputs';
|
|
@@ -48,8 +48,8 @@ const packageMetadata = {
|
|
|
48
48
|
name: '@progress/kendo-angular-scheduler',
|
|
49
49
|
productName: 'Kendo UI for Angular',
|
|
50
50
|
productCodes: ['KENDOUIANGULAR', 'KENDOUICOMPLETE'],
|
|
51
|
-
publishDate:
|
|
52
|
-
version: '14.1.0-develop.
|
|
51
|
+
publishDate: 1699450713,
|
|
52
|
+
version: '14.1.0-develop.11',
|
|
53
53
|
licensingDocsUrl: 'https://www.telerik.com/kendo-angular-ui/my-license/'
|
|
54
54
|
};
|
|
55
55
|
|
|
@@ -6596,7 +6596,7 @@ class SchedulerComponent {
|
|
|
6596
6596
|
*
|
|
6597
6597
|
* @param operation - The type of operation that will be confirmed. Has to be either **Edit** or **Remove**.
|
|
6598
6598
|
*
|
|
6599
|
-
* @
|
|
6599
|
+
* @returns the result from the confirmation dialog.
|
|
6600
6600
|
*/
|
|
6601
6601
|
openRecurringConfirmationDialog(operation) {
|
|
6602
6602
|
return this.dialogsService.openRecurringConfirmationDialog(operation);
|
|
@@ -6604,7 +6604,7 @@ class SchedulerComponent {
|
|
|
6604
6604
|
/**
|
|
6605
6605
|
* Opens the built-in removal confirmation dialog.
|
|
6606
6606
|
*
|
|
6607
|
-
* @return
|
|
6607
|
+
* @return the result from the confirmation dialog.
|
|
6608
6608
|
*/
|
|
6609
6609
|
openRemoveConfirmationDialog() {
|
|
6610
6610
|
return this.dialogsService.openRemoveConfirmationDialog();
|
|
@@ -8138,7 +8138,7 @@ function createTask(item, resourceIdx, resources, color) {
|
|
|
8138
8138
|
}
|
|
8139
8139
|
const durationInDays = ({ start, end, isAllDay = false }) => {
|
|
8140
8140
|
const eventEnd = isAllDay ? getUTCDate(end) : end;
|
|
8141
|
-
const duration = Math.ceil((eventEnd - +getUTCDate(start)) / MS_PER_DAY);
|
|
8141
|
+
const duration = Math.ceil((eventEnd - +getUTCDate(start)) / MS_PER_DAY$1);
|
|
8142
8142
|
if (isAllDay) {
|
|
8143
8143
|
return duration + 1;
|
|
8144
8144
|
}
|
|
@@ -9454,6 +9454,8 @@ const MS_PER_SECOND = 1000;
|
|
|
9454
9454
|
const MS_PER_MINUTE = 60 * MS_PER_SECOND;
|
|
9455
9455
|
/** @hidden */
|
|
9456
9456
|
const MS_PER_HOUR = 60 * MS_PER_MINUTE;
|
|
9457
|
+
/** @hidden */
|
|
9458
|
+
const MS_PER_DAY = 24 * MS_PER_HOUR;
|
|
9457
9459
|
//probably should calculate this
|
|
9458
9460
|
/** @hidden */
|
|
9459
9461
|
const BORDER_WIDTH = 1;
|
|
@@ -13000,7 +13002,7 @@ const createTasks = (periodStart, periodEnd, items, ranges) => {
|
|
|
13000
13002
|
for (let index = 0; index < items.length; index++) {
|
|
13001
13003
|
const item = items[index];
|
|
13002
13004
|
const multiDay = isMultiDay(item);
|
|
13003
|
-
const multipleRanges = multiDay && !item.event.isAllDay && (item.end.getTime() - item.start.getTime()) < MS_PER_DAY;
|
|
13005
|
+
const multipleRanges = multiDay && !item.event.isAllDay && (item.end.getTime() - item.start.getTime()) < MS_PER_DAY$1;
|
|
13004
13006
|
const isAllDay = item.event.isAllDay || (multiDay && !multipleRanges);
|
|
13005
13007
|
const endTime = (isAllDay ? roundAllDayEnd(item) : item.end).toUTCDate();
|
|
13006
13008
|
const startTime = (isAllDay ? item.start.stripTime() : item.start).toUTCDate();
|
|
@@ -13912,6 +13914,9 @@ class MultiDayViewRendererComponent extends DayTimeViewComponent {
|
|
|
13912
13914
|
}
|
|
13913
13915
|
return 0;
|
|
13914
13916
|
}
|
|
13917
|
+
isMiddleSlot(index) {
|
|
13918
|
+
return index + 1 < this.timeSlots.length && !this.timeSlots[index + 1].isMajor;
|
|
13919
|
+
}
|
|
13915
13920
|
}
|
|
13916
13921
|
MultiDayViewRendererComponent.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "13.3.12", ngImport: i0, type: MultiDayViewRendererComponent, deps: [{ token: i1$1.LocalizationService }, { token: ViewContextService }, { token: ViewStateService }, { token: i1$4.IntlService }, { token: DayTimeSlotService }, { token: i0.NgZone }, { token: i0.Renderer2 }, { token: i0.ElementRef }, { token: i0.ChangeDetectorRef }, { token: PDFService }, { token: i7.ScrollbarWidthService }], target: i0.ɵɵFactoryTarget.Component });
|
|
13917
13922
|
MultiDayViewRendererComponent.ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "12.0.0", version: "13.3.12", type: MultiDayViewRendererComponent, selector: "multi-day-view", inputs: { name: "name", slotFill: "slotFill", allDaySlotTemplate: "allDaySlotTemplate", allDayEventTemplate: "allDayEventTemplate", minorTimeHeaderTemplate: "minorTimeHeaderTemplate", majorTimeHeaderTemplate: "majorTimeHeaderTemplate" }, providers: [
|
|
@@ -14078,7 +14083,7 @@ MultiDayViewRendererComponent.ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "1
|
|
|
14078
14083
|
[ngTemplateOutletContext]="{ date: slot.start, resources: resourcesByIndex(verticalIndex) }"></ng-container>
|
|
14079
14084
|
</td>
|
|
14080
14085
|
</tr>
|
|
14081
|
-
<tr *ngFor="let slot of timeSlots; index as index; trackBy: itemIndex" [class.k-middle-row]="
|
|
14086
|
+
<tr *ngFor="let slot of timeSlots; index as index; trackBy: itemIndex" [class.k-middle-row]="isMiddleSlot(index)">
|
|
14082
14087
|
<ng-container *ngFor="let resource of horizontalResources | resourceIterator; let horizontalIndex = index; trackBy: itemIndex;">
|
|
14083
14088
|
<td *ngFor="let daySlot of daySlots; index as rangeIndex; trackBy: itemIndex"
|
|
14084
14089
|
[ngClass]="timeSlotClass(slot, daySlot.start, verticalResources.length ? verticalIndex : horizontalIndex)"
|
|
@@ -14343,7 +14348,7 @@ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "13.3.12", ngImpo
|
|
|
14343
14348
|
[ngTemplateOutletContext]="{ date: slot.start, resources: resourcesByIndex(verticalIndex) }"></ng-container>
|
|
14344
14349
|
</td>
|
|
14345
14350
|
</tr>
|
|
14346
|
-
<tr *ngFor="let slot of timeSlots; index as index; trackBy: itemIndex" [class.k-middle-row]="
|
|
14351
|
+
<tr *ngFor="let slot of timeSlots; index as index; trackBy: itemIndex" [class.k-middle-row]="isMiddleSlot(index)">
|
|
14347
14352
|
<ng-container *ngFor="let resource of horizontalResources | resourceIterator; let horizontalIndex = index; trackBy: itemIndex;">
|
|
14348
14353
|
<td *ngFor="let daySlot of daySlots; index as rangeIndex; trackBy: itemIndex"
|
|
14349
14354
|
[ngClass]="timeSlotClass(slot, daySlot.start, verticalResources.length ? verticalIndex : horizontalIndex)"
|
|
@@ -8,7 +8,7 @@ import * as i1$1 from '@progress/kendo-angular-l10n';
|
|
|
8
8
|
import { LocalizationService, L10N_PREFIX, RTL, ComponentMessages } from '@progress/kendo-angular-l10n';
|
|
9
9
|
import * as i7 from '@progress/kendo-angular-common';
|
|
10
10
|
import { hasObservers, isDocumentAvailable, isVisible as isVisible$1, scrollbarWidth, isChanged, Keys, shouldShowValidationUI, anyChanged, ResizeSensorComponent, EventsModule, ResizeSensorModule, guid, WatermarkModule } from '@progress/kendo-angular-common';
|
|
11
|
-
import { isEqualDate, timezoneNames, ZonedDate, toLocalDate, getDate, Day, MS_PER_DAY, addDays, firstDayOfMonth, firstDayInWeek, addMonths, addWeeks } from '@progress/kendo-date-math';
|
|
11
|
+
import { isEqualDate, timezoneNames, ZonedDate, toLocalDate, getDate, Day, MS_PER_DAY as MS_PER_DAY$1, addDays, firstDayOfMonth, firstDayInWeek, addMonths, addWeeks } from '@progress/kendo-date-math';
|
|
12
12
|
import { auditTime, buffer, filter, map, debounceTime, take, switchMap, tap, distinctUntilChanged } from 'rxjs/operators';
|
|
13
13
|
import { validatePackage } from '@progress/kendo-licensing';
|
|
14
14
|
import * as i6 from '@progress/kendo-angular-dateinputs';
|
|
@@ -48,8 +48,8 @@ const packageMetadata = {
|
|
|
48
48
|
name: '@progress/kendo-angular-scheduler',
|
|
49
49
|
productName: 'Kendo UI for Angular',
|
|
50
50
|
productCodes: ['KENDOUIANGULAR', 'KENDOUICOMPLETE'],
|
|
51
|
-
publishDate:
|
|
52
|
-
version: '14.1.0-develop.
|
|
51
|
+
publishDate: 1699450713,
|
|
52
|
+
version: '14.1.0-develop.11',
|
|
53
53
|
licensingDocsUrl: 'https://www.telerik.com/kendo-angular-ui/my-license/'
|
|
54
54
|
};
|
|
55
55
|
|
|
@@ -6558,7 +6558,7 @@ class SchedulerComponent {
|
|
|
6558
6558
|
*
|
|
6559
6559
|
* @param operation - The type of operation that will be confirmed. Has to be either **Edit** or **Remove**.
|
|
6560
6560
|
*
|
|
6561
|
-
* @
|
|
6561
|
+
* @returns the result from the confirmation dialog.
|
|
6562
6562
|
*/
|
|
6563
6563
|
openRecurringConfirmationDialog(operation) {
|
|
6564
6564
|
return this.dialogsService.openRecurringConfirmationDialog(operation);
|
|
@@ -6566,7 +6566,7 @@ class SchedulerComponent {
|
|
|
6566
6566
|
/**
|
|
6567
6567
|
* Opens the built-in removal confirmation dialog.
|
|
6568
6568
|
*
|
|
6569
|
-
* @return
|
|
6569
|
+
* @return the result from the confirmation dialog.
|
|
6570
6570
|
*/
|
|
6571
6571
|
openRemoveConfirmationDialog() {
|
|
6572
6572
|
return this.dialogsService.openRemoveConfirmationDialog();
|
|
@@ -8100,7 +8100,7 @@ function createTask(item, resourceIdx, resources, color) {
|
|
|
8100
8100
|
}
|
|
8101
8101
|
const durationInDays = ({ start, end, isAllDay = false }) => {
|
|
8102
8102
|
const eventEnd = isAllDay ? getUTCDate(end) : end;
|
|
8103
|
-
const duration = Math.ceil((eventEnd - +getUTCDate(start)) / MS_PER_DAY);
|
|
8103
|
+
const duration = Math.ceil((eventEnd - +getUTCDate(start)) / MS_PER_DAY$1);
|
|
8104
8104
|
if (isAllDay) {
|
|
8105
8105
|
return duration + 1;
|
|
8106
8106
|
}
|
|
@@ -9256,6 +9256,8 @@ const MS_PER_SECOND = 1000;
|
|
|
9256
9256
|
const MS_PER_MINUTE = 60 * MS_PER_SECOND;
|
|
9257
9257
|
/** @hidden */
|
|
9258
9258
|
const MS_PER_HOUR = 60 * MS_PER_MINUTE;
|
|
9259
|
+
/** @hidden */
|
|
9260
|
+
const MS_PER_DAY = 24 * MS_PER_HOUR;
|
|
9259
9261
|
//probably should calculate this
|
|
9260
9262
|
/** @hidden */
|
|
9261
9263
|
const BORDER_WIDTH = 1;
|
|
@@ -12956,7 +12958,7 @@ const createTasks = (periodStart, periodEnd, items, ranges) => {
|
|
|
12956
12958
|
for (let index = 0; index < items.length; index++) {
|
|
12957
12959
|
const item = items[index];
|
|
12958
12960
|
const multiDay = isMultiDay(item);
|
|
12959
|
-
const multipleRanges = multiDay && !item.event.isAllDay && (item.end.getTime() - item.start.getTime()) < MS_PER_DAY;
|
|
12961
|
+
const multipleRanges = multiDay && !item.event.isAllDay && (item.end.getTime() - item.start.getTime()) < MS_PER_DAY$1;
|
|
12960
12962
|
const isAllDay = item.event.isAllDay || (multiDay && !multipleRanges);
|
|
12961
12963
|
const endTime = (isAllDay ? roundAllDayEnd(item) : item.end).toUTCDate();
|
|
12962
12964
|
const startTime = (isAllDay ? item.start.stripTime() : item.start).toUTCDate();
|
|
@@ -13866,6 +13868,9 @@ class MultiDayViewRendererComponent extends DayTimeViewComponent {
|
|
|
13866
13868
|
}
|
|
13867
13869
|
return 0;
|
|
13868
13870
|
}
|
|
13871
|
+
isMiddleSlot(index) {
|
|
13872
|
+
return index + 1 < this.timeSlots.length && !this.timeSlots[index + 1].isMajor;
|
|
13873
|
+
}
|
|
13869
13874
|
}
|
|
13870
13875
|
MultiDayViewRendererComponent.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "13.3.12", ngImport: i0, type: MultiDayViewRendererComponent, deps: [{ token: i1$1.LocalizationService }, { token: ViewContextService }, { token: ViewStateService }, { token: i1$4.IntlService }, { token: DayTimeSlotService }, { token: i0.NgZone }, { token: i0.Renderer2 }, { token: i0.ElementRef }, { token: i0.ChangeDetectorRef }, { token: PDFService }, { token: i7.ScrollbarWidthService }], target: i0.ɵɵFactoryTarget.Component });
|
|
13871
13876
|
MultiDayViewRendererComponent.ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "12.0.0", version: "13.3.12", type: MultiDayViewRendererComponent, selector: "multi-day-view", inputs: { name: "name", slotFill: "slotFill", allDaySlotTemplate: "allDaySlotTemplate", allDayEventTemplate: "allDayEventTemplate", minorTimeHeaderTemplate: "minorTimeHeaderTemplate", majorTimeHeaderTemplate: "majorTimeHeaderTemplate" }, providers: [
|
|
@@ -14032,7 +14037,7 @@ MultiDayViewRendererComponent.ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "1
|
|
|
14032
14037
|
[ngTemplateOutletContext]="{ date: slot.start, resources: resourcesByIndex(verticalIndex) }"></ng-container>
|
|
14033
14038
|
</td>
|
|
14034
14039
|
</tr>
|
|
14035
|
-
<tr *ngFor="let slot of timeSlots; index as index; trackBy: itemIndex" [class.k-middle-row]="
|
|
14040
|
+
<tr *ngFor="let slot of timeSlots; index as index; trackBy: itemIndex" [class.k-middle-row]="isMiddleSlot(index)">
|
|
14036
14041
|
<ng-container *ngFor="let resource of horizontalResources | resourceIterator; let horizontalIndex = index; trackBy: itemIndex;">
|
|
14037
14042
|
<td *ngFor="let daySlot of daySlots; index as rangeIndex; trackBy: itemIndex"
|
|
14038
14043
|
[ngClass]="timeSlotClass(slot, daySlot.start, verticalResources.length ? verticalIndex : horizontalIndex)"
|
|
@@ -14297,7 +14302,7 @@ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "13.3.12", ngImpo
|
|
|
14297
14302
|
[ngTemplateOutletContext]="{ date: slot.start, resources: resourcesByIndex(verticalIndex) }"></ng-container>
|
|
14298
14303
|
</td>
|
|
14299
14304
|
</tr>
|
|
14300
|
-
<tr *ngFor="let slot of timeSlots; index as index; trackBy: itemIndex" [class.k-middle-row]="
|
|
14305
|
+
<tr *ngFor="let slot of timeSlots; index as index; trackBy: itemIndex" [class.k-middle-row]="isMiddleSlot(index)">
|
|
14301
14306
|
<ng-container *ngFor="let resource of horizontalResources | resourceIterator; let horizontalIndex = index; trackBy: itemIndex;">
|
|
14302
14307
|
<td *ngFor="let daySlot of daySlots; index as rangeIndex; trackBy: itemIndex"
|
|
14303
14308
|
[ngClass]="timeSlotClass(slot, daySlot.start, verticalResources.length ? verticalIndex : horizontalIndex)"
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@progress/kendo-angular-scheduler",
|
|
3
|
-
"version": "14.1.0-develop.
|
|
3
|
+
"version": "14.1.0-develop.11",
|
|
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",
|
|
@@ -26,21 +26,21 @@
|
|
|
26
26
|
"@progress/kendo-data-query": "^1.0.0",
|
|
27
27
|
"@progress/kendo-drawing": "^1.17.2",
|
|
28
28
|
"@progress/kendo-licensing": "^1.0.2",
|
|
29
|
-
"@progress/kendo-angular-buttons": "14.1.0-develop.
|
|
30
|
-
"@progress/kendo-angular-common": "14.1.0-develop.
|
|
31
|
-
"@progress/kendo-angular-dateinputs": "14.1.0-develop.
|
|
32
|
-
"@progress/kendo-angular-dialog": "14.1.0-develop.
|
|
33
|
-
"@progress/kendo-angular-dropdowns": "14.1.0-develop.
|
|
34
|
-
"@progress/kendo-angular-icons": "14.1.0-develop.
|
|
35
|
-
"@progress/kendo-angular-inputs": "14.1.0-develop.
|
|
36
|
-
"@progress/kendo-angular-intl": "14.1.0-develop.
|
|
37
|
-
"@progress/kendo-angular-l10n": "14.1.0-develop.
|
|
38
|
-
"@progress/kendo-angular-popup": "14.1.0-develop.
|
|
29
|
+
"@progress/kendo-angular-buttons": "14.1.0-develop.11",
|
|
30
|
+
"@progress/kendo-angular-common": "14.1.0-develop.11",
|
|
31
|
+
"@progress/kendo-angular-dateinputs": "14.1.0-develop.11",
|
|
32
|
+
"@progress/kendo-angular-dialog": "14.1.0-develop.11",
|
|
33
|
+
"@progress/kendo-angular-dropdowns": "14.1.0-develop.11",
|
|
34
|
+
"@progress/kendo-angular-icons": "14.1.0-develop.11",
|
|
35
|
+
"@progress/kendo-angular-inputs": "14.1.0-develop.11",
|
|
36
|
+
"@progress/kendo-angular-intl": "14.1.0-develop.11",
|
|
37
|
+
"@progress/kendo-angular-l10n": "14.1.0-develop.11",
|
|
38
|
+
"@progress/kendo-angular-popup": "14.1.0-develop.11",
|
|
39
39
|
"rxjs": "^6.5.3 || ^7.0.0"
|
|
40
40
|
},
|
|
41
41
|
"dependencies": {
|
|
42
42
|
"tslib": "^2.3.1",
|
|
43
|
-
"@progress/kendo-angular-schematics": "14.1.0-develop.
|
|
43
|
+
"@progress/kendo-angular-schematics": "14.1.0-develop.11",
|
|
44
44
|
"@progress/kendo-date-math": "^1.3.2",
|
|
45
45
|
"@progress/kendo-draggable": "^3.0.2",
|
|
46
46
|
"@progress/kendo-file-saver": "^1.0.7",
|
package/scheduler.component.d.ts
CHANGED
|
@@ -489,13 +489,13 @@ export declare class SchedulerComponent implements AfterContentInit, OnDestroy,
|
|
|
489
489
|
*
|
|
490
490
|
* @param operation - The type of operation that will be confirmed. Has to be either **Edit** or **Remove**.
|
|
491
491
|
*
|
|
492
|
-
* @
|
|
492
|
+
* @returns the result from the confirmation dialog.
|
|
493
493
|
*/
|
|
494
494
|
openRecurringConfirmationDialog(operation: CrudOperation): Observable<EditMode>;
|
|
495
495
|
/**
|
|
496
496
|
* Opens the built-in removal confirmation dialog.
|
|
497
497
|
*
|
|
498
|
-
* @return
|
|
498
|
+
* @return the result from the confirmation dialog.
|
|
499
499
|
*/
|
|
500
500
|
openRemoveConfirmationDialog(): Observable<boolean>;
|
|
501
501
|
/**
|
|
@@ -4,9 +4,9 @@ const schematics_1 = require("@angular-devkit/schematics");
|
|
|
4
4
|
function default_1(options) {
|
|
5
5
|
const finalOptions = Object.assign(Object.assign({}, options), { mainNgModule: 'SchedulerModule', package: 'scheduler', peerDependencies: {
|
|
6
6
|
// peer dep of the dropdowns
|
|
7
|
-
'@progress/kendo-angular-treeview': '14.1.0-develop.
|
|
7
|
+
'@progress/kendo-angular-treeview': '14.1.0-develop.11',
|
|
8
8
|
// peer dependency of kendo-angular-inputs
|
|
9
|
-
'@progress/kendo-angular-dialog': '14.1.0-develop.
|
|
9
|
+
'@progress/kendo-angular-dialog': '14.1.0-develop.11',
|
|
10
10
|
// peer dependency of kendo-angular-icons
|
|
11
11
|
'@progress/kendo-svg-icons': '^2.0.0'
|
|
12
12
|
} });
|
|
@@ -17,8 +17,8 @@ export declare abstract class SchedulerView {
|
|
|
17
17
|
*/
|
|
18
18
|
abstract title: string;
|
|
19
19
|
/**
|
|
20
|
-
* The invariant name for this view.
|
|
21
|
-
*
|
|
20
|
+
* The invariant name for this view. For example, `day`.
|
|
21
|
+
* If not set, the name will be the same as the title.
|
|
22
22
|
*/
|
|
23
23
|
abstract name: string;
|
|
24
24
|
}
|
package/views/constants.d.ts
CHANGED
|
@@ -12,10 +12,8 @@ export declare const MS_PER_SECOND = 1000;
|
|
|
12
12
|
export declare const MS_PER_MINUTE: number;
|
|
13
13
|
/** @hidden */
|
|
14
14
|
export declare const MS_PER_HOUR: number;
|
|
15
|
-
/**
|
|
16
|
-
|
|
17
|
-
*/
|
|
18
|
-
export { MS_PER_DAY } from '@progress/kendo-date-math';
|
|
15
|
+
/** @hidden */
|
|
16
|
+
export declare const MS_PER_DAY: number;
|
|
19
17
|
/** @hidden */
|
|
20
18
|
export declare const BORDER_WIDTH = 1;
|
|
21
19
|
/** @hidden */
|
|
@@ -64,6 +64,7 @@ export declare class MultiDayViewRendererComponent extends DayTimeViewComponent
|
|
|
64
64
|
protected draggedIsAllDay(task: any, slot: any): boolean;
|
|
65
65
|
protected dragHintSize(firstSlot: any, lastSlot: any): any;
|
|
66
66
|
protected currentTimeArrowOffset(): number;
|
|
67
|
+
isMiddleSlot(index: any): boolean;
|
|
67
68
|
static ɵfac: i0.ɵɵFactoryDeclaration<MultiDayViewRendererComponent, never>;
|
|
68
69
|
static ɵcmp: i0.ɵɵComponentDeclaration<MultiDayViewRendererComponent, "multi-day-view", never, { "name": "name"; "slotFill": "slotFill"; "allDaySlotTemplate": "allDaySlotTemplate"; "allDayEventTemplate": "allDayEventTemplate"; "minorTimeHeaderTemplate": "minorTimeHeaderTemplate"; "majorTimeHeaderTemplate": "majorTimeHeaderTemplate"; }, {}, never, never>;
|
|
69
70
|
}
|