@progress/kendo-angular-scheduler 16.2.1-develop.1 → 16.2.1-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.
@@ -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: 1717664587,
13
- version: '16.2.1-develop.1',
12
+ publishDate: 1717670180,
13
+ version: '16.2.1-develop.2',
14
14
  licensingDocsUrl: 'https://www.telerik.com/kendo-angular-ui/my-license/'
15
15
  };
@@ -45,10 +45,10 @@ export class SlotSelectableDirective {
45
45
  if (isChanged("slotSelection", changes, false)) {
46
46
  const defaults = {
47
47
  isAllDay: false,
48
- resources: this.scheduler.resources.reduce((result, resource) => {
48
+ resources: this.scheduler?.resources ? this.scheduler.resources.reduce((result, resource) => {
49
49
  result.push(...resource.data);
50
50
  return result;
51
- }, [])
51
+ }, []) : []
52
52
  };
53
53
  this.selectedRange = Object.assign(defaults, changes['slotSelection'].currentValue);
54
54
  this.cdr.markForCheck();
@@ -50,8 +50,8 @@ const packageMetadata = {
50
50
  name: '@progress/kendo-angular-scheduler',
51
51
  productName: 'Kendo UI for Angular',
52
52
  productCodes: ['KENDOUIANGULAR', 'KENDOUICOMPLETE'],
53
- publishDate: 1717664587,
54
- version: '16.2.1-develop.1',
53
+ publishDate: 1717670180,
54
+ version: '16.2.1-develop.2',
55
55
  licensingDocsUrl: 'https://www.telerik.com/kendo-angular-ui/my-license/'
56
56
  };
57
57
 
@@ -17463,13 +17463,14 @@ class SlotSelectableDirective {
17463
17463
  this.scheduler.isSlotSelected = this.isSlotSelected.bind(this);
17464
17464
  }
17465
17465
  ngOnChanges(changes) {
17466
+ var _a;
17466
17467
  if (isChanged("slotSelection", changes, false)) {
17467
17468
  const defaults = {
17468
17469
  isAllDay: false,
17469
- resources: this.scheduler.resources.reduce((result, resource) => {
17470
+ resources: ((_a = this.scheduler) === null || _a === void 0 ? void 0 : _a.resources) ? this.scheduler.resources.reduce((result, resource) => {
17470
17471
  result.push(...resource.data);
17471
17472
  return result;
17472
- }, [])
17473
+ }, []) : []
17473
17474
  };
17474
17475
  this.selectedRange = Object.assign(defaults, changes['slotSelection'].currentValue);
17475
17476
  this.cdr.markForCheck();
@@ -50,8 +50,8 @@ const packageMetadata = {
50
50
  name: '@progress/kendo-angular-scheduler',
51
51
  productName: 'Kendo UI for Angular',
52
52
  productCodes: ['KENDOUIANGULAR', 'KENDOUICOMPLETE'],
53
- publishDate: 1717664587,
54
- version: '16.2.1-develop.1',
53
+ publishDate: 1717670180,
54
+ version: '16.2.1-develop.2',
55
55
  licensingDocsUrl: 'https://www.telerik.com/kendo-angular-ui/my-license/'
56
56
  };
57
57
 
@@ -17417,10 +17417,10 @@ class SlotSelectableDirective {
17417
17417
  if (isChanged("slotSelection", changes, false)) {
17418
17418
  const defaults = {
17419
17419
  isAllDay: false,
17420
- resources: this.scheduler.resources.reduce((result, resource) => {
17420
+ resources: this.scheduler?.resources ? this.scheduler.resources.reduce((result, resource) => {
17421
17421
  result.push(...resource.data);
17422
17422
  return result;
17423
- }, [])
17423
+ }, []) : []
17424
17424
  };
17425
17425
  this.selectedRange = Object.assign(defaults, changes['slotSelection'].currentValue);
17426
17426
  this.cdr.markForCheck();
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@progress/kendo-angular-scheduler",
3
- "version": "16.2.1-develop.1",
3
+ "version": "16.2.1-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,23 +26,23 @@
26
26
  "@progress/kendo-data-query": "^1.0.0",
27
27
  "@progress/kendo-drawing": "^1.19.0",
28
28
  "@progress/kendo-licensing": "^1.0.2",
29
- "@progress/kendo-angular-tooltip": "16.2.1-develop.1",
30
- "@progress/kendo-angular-buttons": "16.2.1-develop.1",
31
- "@progress/kendo-angular-common": "16.2.1-develop.1",
32
- "@progress/kendo-angular-dateinputs": "16.2.1-develop.1",
33
- "@progress/kendo-angular-dialog": "16.2.1-develop.1",
34
- "@progress/kendo-angular-dropdowns": "16.2.1-develop.1",
35
- "@progress/kendo-angular-icons": "16.2.1-develop.1",
36
- "@progress/kendo-angular-inputs": "16.2.1-develop.1",
37
- "@progress/kendo-angular-intl": "16.2.1-develop.1",
38
- "@progress/kendo-angular-l10n": "16.2.1-develop.1",
39
- "@progress/kendo-angular-label": "16.2.1-develop.1",
40
- "@progress/kendo-angular-popup": "16.2.1-develop.1",
29
+ "@progress/kendo-angular-tooltip": "16.2.1-develop.2",
30
+ "@progress/kendo-angular-buttons": "16.2.1-develop.2",
31
+ "@progress/kendo-angular-common": "16.2.1-develop.2",
32
+ "@progress/kendo-angular-dateinputs": "16.2.1-develop.2",
33
+ "@progress/kendo-angular-dialog": "16.2.1-develop.2",
34
+ "@progress/kendo-angular-dropdowns": "16.2.1-develop.2",
35
+ "@progress/kendo-angular-icons": "16.2.1-develop.2",
36
+ "@progress/kendo-angular-inputs": "16.2.1-develop.2",
37
+ "@progress/kendo-angular-intl": "16.2.1-develop.2",
38
+ "@progress/kendo-angular-l10n": "16.2.1-develop.2",
39
+ "@progress/kendo-angular-label": "16.2.1-develop.2",
40
+ "@progress/kendo-angular-popup": "16.2.1-develop.2",
41
41
  "rxjs": "^6.5.3 || ^7.0.0"
42
42
  },
43
43
  "dependencies": {
44
44
  "tslib": "^2.3.1",
45
- "@progress/kendo-angular-schematics": "16.2.1-develop.1",
45
+ "@progress/kendo-angular-schematics": "16.2.1-develop.2",
46
46
  "@progress/kendo-date-math": "^1.3.2",
47
47
  "@progress/kendo-draggable": "^3.0.2",
48
48
  "@progress/kendo-file-saver": "^1.0.7",
@@ -4,10 +4,10 @@ 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 deps of the dropdowns
7
- '@progress/kendo-angular-treeview': '16.2.1-develop.1',
8
- '@progress/kendo-angular-navigation': '16.2.1-develop.1',
7
+ '@progress/kendo-angular-treeview': '16.2.1-develop.2',
8
+ '@progress/kendo-angular-navigation': '16.2.1-develop.2',
9
9
  // peer dependency of kendo-angular-inputs
10
- '@progress/kendo-angular-dialog': '16.2.1-develop.1',
10
+ '@progress/kendo-angular-dialog': '16.2.1-develop.2',
11
11
  // peer dependency of kendo-angular-icons
12
12
  '@progress/kendo-svg-icons': '^3.0.0'
13
13
  } });