@progress/kendo-react-scheduler 6.0.3-dev.202310161841 → 6.0.3-dev.202310241135

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.
@@ -292,5 +292,74 @@ export interface SchedulerViewChangeEvent {
292
292
  }
293
293
  /**
294
294
  * Represents the [KendoReact Scheduler component]({% slug overview_scheduler %})
295
+ *
296
+ * @example
297
+ * ```jsx
298
+ * const currentYear = new Date().getFullYear();
299
+ * const parseAdjust = (eventDate) => {
300
+ * const date = new Date(eventDate);
301
+ * date.setFullYear(currentYear);
302
+ * return date;
303
+ * };
304
+ *
305
+ * const baseData = [
306
+ * {
307
+ * TaskID: 4,
308
+ * OwnerID: 2,
309
+ * Title: 'Bowling tournament',
310
+ * Description: '',
311
+ * StartTimezone: null,
312
+ * Start: '2013-06-09T21:00:00.000Z',
313
+ * End: '2013-06-10T00:00:00.000Z',
314
+ * EndTimezone: null,
315
+ * RecurrenceRule: null,
316
+ * RecurrenceID: null,
317
+ * RecurrenceException: null,
318
+ * isAllDay: false,
319
+ * },
320
+ * {
321
+ * TaskID: 5,
322
+ * OwnerID: 2,
323
+ * Title: 'Take the dog to the vet',
324
+ * Description: '',
325
+ * StartTimezone: null,
326
+ * Start: '2013-06-10T07:00:00.000Z',
327
+ * End: '2013-06-10T08:00:00.000Z',
328
+ * EndTimezone: null,
329
+ * RecurrenceRule: null,
330
+ * RecurrenceID: null,
331
+ * RecurrenceException: null,
332
+ * isAllDay: false,
333
+ * },
334
+ * ];
335
+ *
336
+ * const sampleData = baseData.map((dataItem) => ({
337
+ * id: dataItem.TaskID,
338
+ * start: parseAdjust(dataItem.Start),
339
+ * startTimezone: dataItem.startTimezone,
340
+ * end: parseAdjust(dataItem.End),
341
+ * endTimezone: dataItem.endTimezone,
342
+ * isAllDay: dataItem.isAllDay,
343
+ * title: dataItem.Title,
344
+ * description: dataItem.Description,
345
+ * recurrenceRule: dataItem.RecurrenceRule,
346
+ * recurrenceExceptions: dataItem.RecurrenceException,
347
+ * roomId: dataItem.RoomID,
348
+ * ownerID: dataItem.OwnerID,
349
+ * personId: dataItem.OwnerID,
350
+ * }));
351
+ *
352
+ * const App = () => {
353
+ * return (
354
+ * <Scheduler data={sampleData}>
355
+ * <AgendaView />
356
+ * <DayView />
357
+ * <WeekView />
358
+ * <MonthView />
359
+ * </Scheduler>
360
+ * );
361
+ * };
362
+ * ReactDOM.render(<App />, document.querySelector('my-app'));
363
+ * ```
295
364
  */
296
365
  export declare const Scheduler: React.ForwardRefExoticComponent<SchedulerProps & React.RefAttributes<SchedulerHandle | null>>;
@@ -54,6 +54,75 @@ export var DATA_ACTION;
54
54
  // tslint:enable:max-line-length
55
55
  /**
56
56
  * Represents the [KendoReact Scheduler component]({% slug overview_scheduler %})
57
+ *
58
+ * @example
59
+ * ```jsx
60
+ * const currentYear = new Date().getFullYear();
61
+ * const parseAdjust = (eventDate) => {
62
+ * const date = new Date(eventDate);
63
+ * date.setFullYear(currentYear);
64
+ * return date;
65
+ * };
66
+ *
67
+ * const baseData = [
68
+ * {
69
+ * TaskID: 4,
70
+ * OwnerID: 2,
71
+ * Title: 'Bowling tournament',
72
+ * Description: '',
73
+ * StartTimezone: null,
74
+ * Start: '2013-06-09T21:00:00.000Z',
75
+ * End: '2013-06-10T00:00:00.000Z',
76
+ * EndTimezone: null,
77
+ * RecurrenceRule: null,
78
+ * RecurrenceID: null,
79
+ * RecurrenceException: null,
80
+ * isAllDay: false,
81
+ * },
82
+ * {
83
+ * TaskID: 5,
84
+ * OwnerID: 2,
85
+ * Title: 'Take the dog to the vet',
86
+ * Description: '',
87
+ * StartTimezone: null,
88
+ * Start: '2013-06-10T07:00:00.000Z',
89
+ * End: '2013-06-10T08:00:00.000Z',
90
+ * EndTimezone: null,
91
+ * RecurrenceRule: null,
92
+ * RecurrenceID: null,
93
+ * RecurrenceException: null,
94
+ * isAllDay: false,
95
+ * },
96
+ * ];
97
+ *
98
+ * const sampleData = baseData.map((dataItem) => ({
99
+ * id: dataItem.TaskID,
100
+ * start: parseAdjust(dataItem.Start),
101
+ * startTimezone: dataItem.startTimezone,
102
+ * end: parseAdjust(dataItem.End),
103
+ * endTimezone: dataItem.endTimezone,
104
+ * isAllDay: dataItem.isAllDay,
105
+ * title: dataItem.Title,
106
+ * description: dataItem.Description,
107
+ * recurrenceRule: dataItem.RecurrenceRule,
108
+ * recurrenceExceptions: dataItem.RecurrenceException,
109
+ * roomId: dataItem.RoomID,
110
+ * ownerID: dataItem.OwnerID,
111
+ * personId: dataItem.OwnerID,
112
+ * }));
113
+ *
114
+ * const App = () => {
115
+ * return (
116
+ * <Scheduler data={sampleData}>
117
+ * <AgendaView />
118
+ * <DayView />
119
+ * <WeekView />
120
+ * <MonthView />
121
+ * </Scheduler>
122
+ * );
123
+ * };
124
+ * ReactDOM.render(<App />, document.querySelector('my-app'));
125
+ * ```
57
126
  */
58
127
  export var Scheduler = React.forwardRef(function (props, ref) {
59
128
  validatePackage(packageMetadata);
@@ -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: 1697480259,
8
+ publishDate: 1698145662,
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
  };
@@ -292,5 +292,74 @@ export interface SchedulerViewChangeEvent {
292
292
  }
293
293
  /**
294
294
  * Represents the [KendoReact Scheduler component]({% slug overview_scheduler %})
295
+ *
296
+ * @example
297
+ * ```jsx
298
+ * const currentYear = new Date().getFullYear();
299
+ * const parseAdjust = (eventDate) => {
300
+ * const date = new Date(eventDate);
301
+ * date.setFullYear(currentYear);
302
+ * return date;
303
+ * };
304
+ *
305
+ * const baseData = [
306
+ * {
307
+ * TaskID: 4,
308
+ * OwnerID: 2,
309
+ * Title: 'Bowling tournament',
310
+ * Description: '',
311
+ * StartTimezone: null,
312
+ * Start: '2013-06-09T21:00:00.000Z',
313
+ * End: '2013-06-10T00:00:00.000Z',
314
+ * EndTimezone: null,
315
+ * RecurrenceRule: null,
316
+ * RecurrenceID: null,
317
+ * RecurrenceException: null,
318
+ * isAllDay: false,
319
+ * },
320
+ * {
321
+ * TaskID: 5,
322
+ * OwnerID: 2,
323
+ * Title: 'Take the dog to the vet',
324
+ * Description: '',
325
+ * StartTimezone: null,
326
+ * Start: '2013-06-10T07:00:00.000Z',
327
+ * End: '2013-06-10T08:00:00.000Z',
328
+ * EndTimezone: null,
329
+ * RecurrenceRule: null,
330
+ * RecurrenceID: null,
331
+ * RecurrenceException: null,
332
+ * isAllDay: false,
333
+ * },
334
+ * ];
335
+ *
336
+ * const sampleData = baseData.map((dataItem) => ({
337
+ * id: dataItem.TaskID,
338
+ * start: parseAdjust(dataItem.Start),
339
+ * startTimezone: dataItem.startTimezone,
340
+ * end: parseAdjust(dataItem.End),
341
+ * endTimezone: dataItem.endTimezone,
342
+ * isAllDay: dataItem.isAllDay,
343
+ * title: dataItem.Title,
344
+ * description: dataItem.Description,
345
+ * recurrenceRule: dataItem.RecurrenceRule,
346
+ * recurrenceExceptions: dataItem.RecurrenceException,
347
+ * roomId: dataItem.RoomID,
348
+ * ownerID: dataItem.OwnerID,
349
+ * personId: dataItem.OwnerID,
350
+ * }));
351
+ *
352
+ * const App = () => {
353
+ * return (
354
+ * <Scheduler data={sampleData}>
355
+ * <AgendaView />
356
+ * <DayView />
357
+ * <WeekView />
358
+ * <MonthView />
359
+ * </Scheduler>
360
+ * );
361
+ * };
362
+ * ReactDOM.render(<App />, document.querySelector('my-app'));
363
+ * ```
295
364
  */
296
365
  export declare const Scheduler: React.ForwardRefExoticComponent<SchedulerProps & React.RefAttributes<SchedulerHandle | null>>;
@@ -57,6 +57,75 @@ var DATA_ACTION;
57
57
  // tslint:enable:max-line-length
58
58
  /**
59
59
  * Represents the [KendoReact Scheduler component]({% slug overview_scheduler %})
60
+ *
61
+ * @example
62
+ * ```jsx
63
+ * const currentYear = new Date().getFullYear();
64
+ * const parseAdjust = (eventDate) => {
65
+ * const date = new Date(eventDate);
66
+ * date.setFullYear(currentYear);
67
+ * return date;
68
+ * };
69
+ *
70
+ * const baseData = [
71
+ * {
72
+ * TaskID: 4,
73
+ * OwnerID: 2,
74
+ * Title: 'Bowling tournament',
75
+ * Description: '',
76
+ * StartTimezone: null,
77
+ * Start: '2013-06-09T21:00:00.000Z',
78
+ * End: '2013-06-10T00:00:00.000Z',
79
+ * EndTimezone: null,
80
+ * RecurrenceRule: null,
81
+ * RecurrenceID: null,
82
+ * RecurrenceException: null,
83
+ * isAllDay: false,
84
+ * },
85
+ * {
86
+ * TaskID: 5,
87
+ * OwnerID: 2,
88
+ * Title: 'Take the dog to the vet',
89
+ * Description: '',
90
+ * StartTimezone: null,
91
+ * Start: '2013-06-10T07:00:00.000Z',
92
+ * End: '2013-06-10T08:00:00.000Z',
93
+ * EndTimezone: null,
94
+ * RecurrenceRule: null,
95
+ * RecurrenceID: null,
96
+ * RecurrenceException: null,
97
+ * isAllDay: false,
98
+ * },
99
+ * ];
100
+ *
101
+ * const sampleData = baseData.map((dataItem) => ({
102
+ * id: dataItem.TaskID,
103
+ * start: parseAdjust(dataItem.Start),
104
+ * startTimezone: dataItem.startTimezone,
105
+ * end: parseAdjust(dataItem.End),
106
+ * endTimezone: dataItem.endTimezone,
107
+ * isAllDay: dataItem.isAllDay,
108
+ * title: dataItem.Title,
109
+ * description: dataItem.Description,
110
+ * recurrenceRule: dataItem.RecurrenceRule,
111
+ * recurrenceExceptions: dataItem.RecurrenceException,
112
+ * roomId: dataItem.RoomID,
113
+ * ownerID: dataItem.OwnerID,
114
+ * personId: dataItem.OwnerID,
115
+ * }));
116
+ *
117
+ * const App = () => {
118
+ * return (
119
+ * <Scheduler data={sampleData}>
120
+ * <AgendaView />
121
+ * <DayView />
122
+ * <WeekView />
123
+ * <MonthView />
124
+ * </Scheduler>
125
+ * );
126
+ * };
127
+ * ReactDOM.render(<App />, document.querySelector('my-app'));
128
+ * ```
60
129
  */
61
130
  exports.Scheduler = React.forwardRef(function (props, ref) {
62
131
  (0, kendo_react_common_2.validatePackage)(package_metadata_1.packageMetadata);
@@ -8,7 +8,7 @@ exports.packageMetadata = {
8
8
  name: '@progress/kendo-react-scheduler',
9
9
  productName: 'KendoReact',
10
10
  productCodes: ['KENDOUIREACT', 'KENDOUICOMPLETE'],
11
- publishDate: 1697480259,
11
+ publishDate: 1698145662,
12
12
  version: '',
13
13
  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'
14
14
  };