@progress/kendo-react-scheduler 4.14.0-dev.202112200653 → 4.14.0-dev.202201121250

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.
@@ -158,6 +158,13 @@ export interface SchedulerProps {
158
158
  * Sets the initially selected view.
159
159
  *
160
160
  * For more information refer to the [Scheduler Views]({% slug views_scheduler %}) article.
161
+ *
162
+ * Sets the initially selected view. The available values are:
163
+ * * `day`
164
+ * * `week`
165
+ * * `month`
166
+ * * `agenda`
167
+ * * `timeline`
161
168
  */
162
169
  defaultView?: string;
163
170
  /**
@@ -5,7 +5,7 @@ export var packageMetadata = {
5
5
  name: '@progress/kendo-react-scheduler',
6
6
  productName: 'KendoReact',
7
7
  productCodes: ['KENDOUIREACT', 'KENDOUICOMPLETE'],
8
- publishDate: 1639982797,
8
+ publishDate: 1641991327,
9
9
  version: '',
10
10
  licensingDocsUrl: 'https://www.telerik.com/kendo-react-ui/my-license/?utm_medium=product&utm_source=kendoreact&utm_campaign=kendo-ui-react-purchase-license-keys-warning'
11
11
  };
@@ -1,7 +1,7 @@
1
1
  import { getter, clone } from '@progress/kendo-react-common';
2
2
  import { parseRule, expand } from '@progress/kendo-recurrence';
3
3
  import { ZonedDate } from '@progress/kendo-date-math';
4
- import { toUTCDateTime, setField, isMaster } from '../utils';
4
+ import { setField, isMaster } from '../utils';
5
5
  /** @hidden */
6
6
  export var toOccurrences = function (data, _a) {
7
7
  var dateRange = _a.dateRange, fields = _a.fields, timezone = _a.timezone;
@@ -54,8 +54,8 @@ var occurrences = function (item, _a) {
54
54
  return ZonedDate.fromLocalDate(exDate, timezone);
55
55
  });
56
56
  }
57
- var utcRangeStart = toUTCDateTime(dateRange.start);
58
- var utcRangeEnd = toUTCDateTime(dateRange.end);
57
+ var utcRangeStart = dateRange.zonedStart;
58
+ var utcRangeEnd = dateRange.zonedEnd;
59
59
  var series = expand(rule, {
60
60
  rangeStart: ZonedDate.fromUTCDate(utcRangeStart, timezone),
61
61
  rangeEnd: ZonedDate.fromUTCDate(utcRangeEnd, timezone)
@@ -158,6 +158,13 @@ export interface SchedulerProps {
158
158
  * Sets the initially selected view.
159
159
  *
160
160
  * For more information refer to the [Scheduler Views]({% slug views_scheduler %}) article.
161
+ *
162
+ * Sets the initially selected view. The available values are:
163
+ * * `day`
164
+ * * `week`
165
+ * * `month`
166
+ * * `agenda`
167
+ * * `timeline`
161
168
  */
162
169
  defaultView?: string;
163
170
  /**
@@ -7,7 +7,7 @@ exports.packageMetadata = {
7
7
  name: '@progress/kendo-react-scheduler',
8
8
  productName: 'KendoReact',
9
9
  productCodes: ['KENDOUIREACT', 'KENDOUICOMPLETE'],
10
- publishDate: 1639982797,
10
+ publishDate: 1641991327,
11
11
  version: '',
12
12
  licensingDocsUrl: 'https://www.telerik.com/kendo-react-ui/my-license/?utm_medium=product&utm_source=kendoreact&utm_campaign=kendo-ui-react-purchase-license-keys-warning'
13
13
  };
@@ -56,8 +56,8 @@ var occurrences = function (item, _a) {
56
56
  return kendo_date_math_1.ZonedDate.fromLocalDate(exDate, timezone);
57
57
  });
58
58
  }
59
- var utcRangeStart = utils_1.toUTCDateTime(dateRange.start);
60
- var utcRangeEnd = utils_1.toUTCDateTime(dateRange.end);
59
+ var utcRangeStart = dateRange.zonedStart;
60
+ var utcRangeEnd = dateRange.zonedEnd;
61
61
  var series = kendo_recurrence_1.expand(rule, {
62
62
  rangeStart: kendo_date_math_1.ZonedDate.fromUTCDate(utcRangeStart, timezone),
63
63
  rangeEnd: kendo_date_math_1.ZonedDate.fromUTCDate(utcRangeEnd, timezone)