@progress/kendo-angular-scheduler 14.1.0-develop.1 → 14.1.0-develop.2
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/fesm2015/progress-kendo-angular-scheduler.mjs +9 -7
- package/fesm2020/progress-kendo-angular-scheduler.mjs +9 -7
- 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
|
@@ -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: 1698869808,
|
|
13
|
+
version: '14.1.0-develop.2',
|
|
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;
|
|
@@ -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: 1698869808,
|
|
52
|
+
version: '14.1.0-develop.2',
|
|
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();
|
|
@@ -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: 1698869808,
|
|
52
|
+
version: '14.1.0-develop.2',
|
|
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();
|
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.2",
|
|
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.2",
|
|
30
|
+
"@progress/kendo-angular-common": "14.1.0-develop.2",
|
|
31
|
+
"@progress/kendo-angular-dateinputs": "14.1.0-develop.2",
|
|
32
|
+
"@progress/kendo-angular-dialog": "14.1.0-develop.2",
|
|
33
|
+
"@progress/kendo-angular-dropdowns": "14.1.0-develop.2",
|
|
34
|
+
"@progress/kendo-angular-icons": "14.1.0-develop.2",
|
|
35
|
+
"@progress/kendo-angular-inputs": "14.1.0-develop.2",
|
|
36
|
+
"@progress/kendo-angular-intl": "14.1.0-develop.2",
|
|
37
|
+
"@progress/kendo-angular-l10n": "14.1.0-develop.2",
|
|
38
|
+
"@progress/kendo-angular-popup": "14.1.0-develop.2",
|
|
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.2",
|
|
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.2',
|
|
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.2',
|
|
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 */
|