@progress/kendo-vue-scheduler 3.3.0-dev.202205100750 → 3.3.0

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.
Files changed (84) hide show
  1. package/dist/cdn/js/kendo-vue-scheduler.js +2 -2
  2. package/dist/es/components/BaseView.js +0 -10
  3. package/dist/es/components/SchedulerForm.js +1 -1
  4. package/dist/es/components/footer/SchedulerFooter.d.ts +0 -1
  5. package/dist/es/components/header/SchedulerHeader.d.ts +0 -1
  6. package/dist/es/context/SchedulerContext.d.ts +0 -8
  7. package/dist/es/context/SchedulerContext.js +1 -202
  8. package/dist/es/context/SchedulerEditItemContext.d.ts +0 -5
  9. package/dist/es/context/SchedulerEditItemContext.js +1 -177
  10. package/dist/es/context/SchedulerEditSlotContext.js +1 -44
  11. package/dist/es/context/SchedulerEditTaskContext.d.ts +0 -1
  12. package/dist/es/context/SchedulerEditTaskContext.js +1 -33
  13. package/dist/es/context/SchedulerViewContext.d.ts +0 -1
  14. package/dist/es/context/SchedulerViewContext.js +1 -92
  15. package/dist/es/editors/SchedulerFormEditor.js +119 -118
  16. package/dist/es/hooks/index.d.ts +0 -1
  17. package/dist/es/hooks/index.js +0 -1
  18. package/dist/es/hooks/useAsyncMouseEnterLeave.js +1 -1
  19. package/dist/es/hooks/useEditable.js +1 -4
  20. package/dist/es/hooks/useRowSync.js +1 -2
  21. package/dist/es/hooks/useSchedulerSlot.d.ts +1 -1
  22. package/dist/es/hooks/useSchedulerSlot.js +1 -26
  23. package/dist/es/hooks/useSlotExpand.js +3 -35
  24. package/dist/es/hooks/useWorkHours.js +0 -7
  25. package/dist/es/items/SchedulerEditItem.d.ts +0 -2
  26. package/dist/es/items/SchedulerItem.d.ts +0 -2
  27. package/dist/es/items/SchedulerItem.js +1 -0
  28. package/dist/es/items/SchedulerViewItem.d.ts +0 -2
  29. package/dist/es/items/SchedulerViewItem.js +5 -6
  30. package/dist/es/models/SchedulerHandle.d.ts +1 -1
  31. package/dist/es/package-metadata.js +1 -1
  32. package/dist/es/slots/SchedulerEditSlot.d.ts +0 -2
  33. package/dist/es/slots/SchedulerSlot.d.ts +0 -2
  34. package/dist/es/slots/SchedulerSlot.js +1 -0
  35. package/dist/es/slots/SchedulerViewSlot.d.ts +0 -2
  36. package/dist/es/slots/SchedulerViewSlot.js +26 -0
  37. package/dist/es/tasks/SchedulerEditTask.d.ts +0 -2
  38. package/dist/es/tasks/SchedulerViewTask.d.ts +0 -2
  39. package/dist/es/utils/index.js +0 -2
  40. package/dist/es/views/month/MonthView.js +19 -3
  41. package/dist/npm/components/BaseView.js +0 -10
  42. package/dist/npm/components/SchedulerForm.js +1 -1
  43. package/dist/npm/components/footer/SchedulerFooter.d.ts +0 -1
  44. package/dist/npm/components/header/SchedulerHeader.d.ts +0 -1
  45. package/dist/npm/context/SchedulerContext.d.ts +0 -8
  46. package/dist/npm/context/SchedulerContext.js +2 -202
  47. package/dist/npm/context/SchedulerEditItemContext.d.ts +0 -5
  48. package/dist/npm/context/SchedulerEditItemContext.js +1 -177
  49. package/dist/npm/context/SchedulerEditSlotContext.js +2 -44
  50. package/dist/npm/context/SchedulerEditTaskContext.d.ts +0 -1
  51. package/dist/npm/context/SchedulerEditTaskContext.js +1 -33
  52. package/dist/npm/context/SchedulerViewContext.d.ts +0 -1
  53. package/dist/npm/context/SchedulerViewContext.js +1 -92
  54. package/dist/npm/editors/SchedulerFormEditor.js +122 -120
  55. package/dist/npm/hooks/index.d.ts +0 -1
  56. package/dist/npm/hooks/index.js +0 -1
  57. package/dist/npm/hooks/useAsyncMouseEnterLeave.js +1 -1
  58. package/dist/npm/hooks/useEditable.js +2 -4
  59. package/dist/npm/hooks/useRowSync.js +1 -2
  60. package/dist/npm/hooks/useSchedulerSlot.d.ts +1 -1
  61. package/dist/npm/hooks/useSchedulerSlot.js +1 -26
  62. package/dist/npm/hooks/useSlotExpand.js +3 -35
  63. package/dist/npm/hooks/useWorkHours.js +0 -7
  64. package/dist/npm/items/SchedulerEditItem.d.ts +0 -2
  65. package/dist/npm/items/SchedulerItem.d.ts +0 -2
  66. package/dist/npm/items/SchedulerItem.js +1 -0
  67. package/dist/npm/items/SchedulerViewItem.d.ts +0 -2
  68. package/dist/npm/items/SchedulerViewItem.js +5 -6
  69. package/dist/npm/models/SchedulerHandle.d.ts +1 -1
  70. package/dist/npm/package-metadata.js +1 -1
  71. package/dist/npm/slots/SchedulerEditSlot.d.ts +0 -2
  72. package/dist/npm/slots/SchedulerSlot.d.ts +0 -2
  73. package/dist/npm/slots/SchedulerSlot.js +1 -0
  74. package/dist/npm/slots/SchedulerViewSlot.d.ts +0 -2
  75. package/dist/npm/slots/SchedulerViewSlot.js +26 -0
  76. package/dist/npm/tasks/SchedulerEditTask.d.ts +0 -2
  77. package/dist/npm/tasks/SchedulerViewTask.d.ts +0 -2
  78. package/dist/npm/utils/index.js +0 -2
  79. package/dist/npm/views/month/MonthView.js +18 -2
  80. package/package.json +12 -12
  81. package/dist/es/hooks/useSchedulerItem.d.ts +0 -6
  82. package/dist/es/hooks/useSchedulerItem.js +0 -33
  83. package/dist/npm/hooks/useSchedulerItem.d.ts +0 -6
  84. package/dist/npm/hooks/useSchedulerItem.js +0 -39
@@ -2,7 +2,7 @@
2
2
  export var useAsyncMouseEnterLeave = function useAsyncMouseEnterLeave(_a) {
3
3
  var handleMouseEnter = _a.handleMouseEnter,
4
4
  handleMouseLeave = _a.handleMouseLeave;
5
- var tick = {}.current; // React.useRef(0);
5
+ var tick = {}.current;
6
6
 
7
7
  var nextTick = function nextTick(f) {
8
8
  clearTimeout(tick);
@@ -1,9 +1,6 @@
1
- // import { SchedulerPropsContext } from '../context/SchedulerContext';
2
-
3
1
  /** @hidden */
4
2
  export var useEditable = function useEditable(editable) {
5
- var context = {}; // React.useContext(SchedulerPropsContext);
6
-
3
+ var context = {};
7
4
  var settings = editable !== undefined ? editable : context.editable || false;
8
5
  var edit = settings === true || settings !== undefined && settings !== false && settings.edit === true;
9
6
  var resize = settings === true || settings !== undefined && settings !== false && settings.resize === true;
@@ -51,6 +51,5 @@ export var useRowSync = function useRowSync(args, _inputs) {
51
51
  height: height
52
52
  }, true);
53
53
  });
54
- }; // React.useEffect(syncHeight, inputs);
55
-
54
+ };
56
55
  };
@@ -1,6 +1,6 @@
1
1
  import { SchedulerSlotProps } from '../main';
2
2
  /** @hidden */
3
- export declare const useSchedulerSlot: (_props: SchedulerSlotProps, _refTo: any) => {
3
+ export declare const useSchedulerSlot: (_props: SchedulerSlotProps) => {
4
4
  slot: any;
5
5
  element: any;
6
6
  };
@@ -2,31 +2,6 @@
2
2
  // import { COLLECTION_ACTION } from '@progress/kendo-vue-common';
3
3
 
4
4
  /** @hidden */
5
- export var useSchedulerSlot = function useSchedulerSlot(_props, _refTo) {
6
- // const { refTo } = props;
7
- // const slot = React.useRef<SchedulerSlotHandle>(null);
8
- // const element = React.useRef<HTMLDivElement>(null);
9
- // const [, dispatchSlots] = useSchedulerViewSlotsContext();
10
- // React.useImperativeHandle(slot, () => ({ element: element.current, props }));
11
- // React.useImperativeHandle(ref, () => slot.current);
12
- // React.useImperativeHandle(refTo, () => slot.current);
13
- // React.useEffect(
14
- // () => {
15
- // dispatchSlots({
16
- // type: COLLECTION_ACTION.add,
17
- // item: slot
18
- // });
19
- // return () => {
20
- // dispatchSlots({
21
- // type: COLLECTION_ACTION.remove,
22
- // item: slot
23
- // });
24
- // };
25
- // }
26
- // );
27
- // return {
28
- // slot,
29
- // element
30
- // };
5
+ export var useSchedulerSlot = function useSchedulerSlot(_props) {
31
6
  return [];
32
7
  };
@@ -20,6 +20,7 @@ export var useSlotExpand = function useSlotExpand(slot, _scheduler, config) {
20
20
  return;
21
21
  }
22
22
 
23
+ element.style.minHeight = null;
23
24
  initialHeight = element.clientHeight;
24
25
  };
25
26
 
@@ -63,41 +64,8 @@ export var useSlotExpand = function useSlotExpand(slot, _scheduler, config) {
63
64
  } else if (element) {
64
65
  element.style.minHeight = null;
65
66
  }
66
- }; // , [config, slot]);
67
- // const handleResize = React.useCallback(() => {
68
- // if(timeout.current !== undefined) {
69
- // window.cancelAnimationFrame(timeout.current);
70
- // }
71
- // timeout.current = window.requestAnimationFrame(() => {
72
- // expand();
73
- // });
74
- // },[expand]);
75
-
67
+ };
76
68
 
77
69
  getInitialHeight();
78
- expand(); // // eslint-disable-next-line react-hooks/exhaustive-deps
79
- // React.useLayoutEffect(getInitialHeight, []);
80
- // // eslint-disable-next-line react-hooks/exhaustive-deps
81
- // React.useEffect(expand, [slot, slot.current && slot.current.props, config]);
82
- // React.useEffect(
83
- // () => {
84
- // if(!slot.current) {return;}
85
- // const props = slot.current.props;
86
- // const existing = props.items.filter((i) => {
87
- // return i.refTo.current;
88
- // });
89
- // const callbacks = existing.map((item: Item) => {
90
- // if(!item.refTo.current || !item.refTo.current.element) {return;}
91
- // if(!scheduler.current) {return;}
92
- // const observer = new (window as any).ResizeObserver(handleResize);
93
- // observer.observe(item.refTo.current.element);
94
- // return () => {
95
- // observer.disconnect();
96
- // };
97
- // });
98
- // return () => {
99
- // callbacks.forEach(cb => cb && cb());
100
- // };
101
- // },
102
- // [handleResize, scheduler, slot]);
70
+ expand();
103
71
  };
@@ -1,11 +1,4 @@
1
1
  /** @hidden */
2
2
  export var useWorkHours = function useWorkHours(_showWorkHours, _defaultShowWorkHours) {
3
- // const [show, setShow] = usePropOrState(showWorkHours, defaultShowWorkHours);
4
- // const handleShowWorkHoursChange = React.useCallback(
5
- // () => {
6
- // setShow(!show);
7
- // },
8
- // [show, setShow]);
9
- // return [show, handleShowWorkHoursChange];
10
3
  return [];
11
4
  };
@@ -313,8 +313,6 @@ export interface SchedulerEditItemState {
313
313
  }
314
314
  /**
315
315
  * Represents the object which is returned from the `ref` callback of the [SchedulerEditItem]({% slug api_scheduler_scheduleredititem %}).
316
- *
317
- * For more information about Refs, refer to the [React Refs & Dom](https://reactjs.org/docs/refs-and-the-dom.html) article.
318
316
  */
319
317
  export interface SchedulerEditItemHandle {
320
318
  element: HTMLDivElement | null;
@@ -194,8 +194,6 @@ export interface SchedulerItemProps extends Item {
194
194
  }
195
195
  /**
196
196
  * Represents the object which is returned from the `ref` callback of the [SchedulerItem]({% slug api_scheduler_scheduleritem %}).
197
- *
198
- * For more information about Refs, refer to the [React Refs & Dom](https://reactjs.org/docs/refs-and-the-dom.html) article.
199
197
  */
200
198
  export interface SchedulerItemHandle {
201
199
  element: HTMLDivElement | null;
@@ -31,6 +31,7 @@ import { SchedulerForm } from '../components/SchedulerForm'; // tslint:enable:ma
31
31
 
32
32
  var SchedulerItemVue2 = {
33
33
  name: 'KendoSchedulerItem',
34
+ inheritAttrs: false,
34
35
  // @ts-ignore
35
36
  emits: {
36
37
  'focus': null,
@@ -19,8 +19,6 @@ export interface SchedulerViewItemProps extends SchedulerItemProps {
19
19
  }
20
20
  /**
21
21
  * Represents the object which is returned from the `ref` callback of the [SchedulerViewItem]({% slug api_scheduler_schedulerviewitem %}).
22
- *
23
- * For more information about Refs, refer to the [React Refs & Dom](https://reactjs.org/docs/refs-and-the-dom.html) article.
24
22
  */
25
23
  export interface SchedulerViewItemHandle {
26
24
  element: HTMLDivElement | null;
@@ -110,12 +110,7 @@ var SchedulerViewItemVue2 = {
110
110
  };
111
111
  },
112
112
  mounted: function mounted() {
113
- var that = this;
114
113
  this.element = this.getElement();
115
- this.$nextTick(function () {
116
- that.align();
117
- that.position();
118
- });
119
114
 
120
115
  if (!this.ks.scheduler || !this.ks.scheduler.$el) {
121
116
  return;
@@ -129,6 +124,10 @@ var SchedulerViewItemVue2 = {
129
124
  this.$nextTick(function () {
130
125
  that.align();
131
126
  that.position();
127
+ that.$nextTick(function () {
128
+ that.align();
129
+ that.position();
130
+ });
132
131
  });
133
132
 
134
133
  if (!this.ks.scheduler || !this.ks.scheduler.$el || this.observer) {
@@ -358,7 +357,7 @@ var SchedulerViewItemVue2 = {
358
357
  // Mouse
359
358
  // mouseup: this.handleMouseUp,
360
359
  // mousedown: this.handleMouseDown,
361
- // click: this.handleClick,
360
+ // click: this.handleClick,
362
361
  doubleclick: this.handleDoubleClick,
363
362
  removeclick: this.handleRemoveClick,
364
363
  // Drag
@@ -1,6 +1,6 @@
1
1
  import { SchedulerProps } from '../Scheduler';
2
2
  /**
3
- * Represents the Object which is passed to the [`ref`](https://reactjs.org/docs/refs-and-the-dom.html) callback of the Scheduler component.
3
+ * Represents the Object which is passed to the callback of the Scheduler component.
4
4
  */
5
5
  export interface SchedulerHandle {
6
6
  props: SchedulerProps;
@@ -5,7 +5,7 @@ export var packageMetadata = {
5
5
  name: '@progress/kendo-vue-scheduler',
6
6
  productName: 'Kendo UI for Vue',
7
7
  productCodes: ['KENDOUIVUE', 'KENDOUICOMPLETE'],
8
- publishDate: 1652168737,
8
+ publishDate: 1652240966,
9
9
  version: '',
10
10
  licensingDocsUrl: 'https://www.telerik.com/kendo-vue-ui/my-license/?utm_medium=product&utm_source=kendovue&utm_campaign=kendo-ui-vue-purchase-license-keys-warning'
11
11
  };
@@ -38,8 +38,6 @@ export interface SchedulerEditSlotProps extends SchedulerViewSlotProps {
38
38
  }
39
39
  /**
40
40
  * Represents the object which is returned from the `ref` callback of the [SchedulerEditSlot]({% slug api_scheduler_schedulereditslot %}).
41
- *
42
- * For more information about Refs, refer to the [React Refs & Dom](https://reactjs.org/docs/refs-and-the-dom.html) article.
43
41
  */
44
42
  export interface SchedulerEditSlotHandle {
45
43
  props: SchedulerEditSlotProps;
@@ -113,8 +113,6 @@ export interface SchedulerSlotProps extends Slot {
113
113
  }
114
114
  /**
115
115
  * Represents the object which is returned from the `ref` callback of the [SchedulerSlot]({% slug api_scheduler_schedulerslot %}).
116
- *
117
- * For more information about Refs, refer to the [React Refs & Dom](https://reactjs.org/docs/refs-and-the-dom.html) article.
118
116
  */
119
117
  export interface SchedulerSlotHandle {
120
118
  element: HTMLDivElement | null;
@@ -30,6 +30,7 @@ var DAY_FORMAT = {
30
30
 
31
31
  var SchedulerSlotVue2 = {
32
32
  name: 'KendoSchedulerSlot',
33
+ inheritAttrs: false,
33
34
  // @ts-ignore
34
35
  emits: {
35
36
  focus: null,
@@ -32,8 +32,6 @@ export interface SchedulerViewSlotProps extends SchedulerSlotProps {
32
32
  }
33
33
  /**
34
34
  * Represents the object which is returned from the `ref` callback of the [SchedulerViewItem]({% slug api_scheduler_schedulerviewitem %}).
35
- *
36
- * For more information about Refs, refer to the [React Refs & Dom](https://reactjs.org/docs/refs-and-the-dom.html) article.
37
35
  */
38
36
  export interface SchedulerViewSlotHandle {
39
37
  props: SchedulerViewSlotProps;
@@ -62,10 +62,18 @@ var SchedulerViewSlotVue2 = {
62
62
  default: null
63
63
  }
64
64
  },
65
+ data: function data() {
66
+ return {
67
+ timeout: undefined
68
+ };
69
+ },
65
70
  updated: function updated() {
66
71
  var that = this;
67
72
  this.$nextTick(function () {
68
73
  useSlotExpand(that, that.ks.scheduler.$el, that.$props.expandable);
74
+ that.$nextTick(function () {
75
+ useSlotExpand(that, that.ks.scheduler.$el, that.$props.expandable);
76
+ });
69
77
  });
70
78
  },
71
79
  mounted: function mounted() {
@@ -73,6 +81,13 @@ var SchedulerViewSlotVue2 = {
73
81
  this.$nextTick(function () {
74
82
  useSlotExpand(that, that.ks.scheduler.$el, that.$props.expandable);
75
83
  });
84
+
85
+ if (!this.ks.scheduler || !this.ks.scheduler.$el) {
86
+ return;
87
+ }
88
+
89
+ this.observer = new window.ResizeObserver(this.handleResize);
90
+ this.observer.observe(this.ks.scheduler.$el);
76
91
  },
77
92
  // @ts-ignore
78
93
  setup: !gh ? undefined : function () {
@@ -182,6 +197,17 @@ var SchedulerViewSlotVue2 = {
182
197
  },
183
198
  handleFocus: function handleFocus(args) {
184
199
  this.$emit('focus', args);
200
+ },
201
+ handleResize: function handleResize() {
202
+ var that = this;
203
+
204
+ if (this.timeout !== undefined) {
205
+ window.cancelAnimationFrame(this.timeout);
206
+ }
207
+
208
+ this.timeout = window.requestAnimationFrame(function () {
209
+ useSlotExpand(that, that.ks.scheduler.$el, that.$props.expandable);
210
+ });
185
211
  }
186
212
  }
187
213
  };
@@ -71,8 +71,6 @@ export interface SchedulerEditTaskProps extends SchedulerViewTaskProps {
71
71
  }
72
72
  /**
73
73
  * Represents the object which is returned from the `ref` callback of the [SchedulerEditTask]({% slug api_scheduler_scheduleredittask %}).
74
- *
75
- * For more information about Refs, refer to the [React Refs & Dom](https://reactjs.org/docs/refs-and-the-dom.html) article.
76
74
  */
77
75
  export interface SchedulerEditTaskHandle {
78
76
  element: HTMLDivElement | null;
@@ -17,8 +17,6 @@ export interface SchedulerViewTaskProps extends SchedulerTaskProps {
17
17
  }
18
18
  /**
19
19
  * Represents the object which is returned from the `ref` callback of the [SchedulerViewTask]({% slug api_scheduler_schedulerviewtask %}).
20
- *
21
- * For more information about Refs, refer to the [React Refs & Dom](https://reactjs.org/docs/refs-and-the-dom.html) article.
22
20
  */
23
21
  export interface SchedulerViewTaskHandle {
24
22
  element: HTMLDivElement | null;
@@ -74,8 +74,6 @@ export function dateWithTime(target, time) {
74
74
  * @hidden
75
75
  */
76
76
  export var getToday = function () { return getDate(new Date()); };
77
- // Introduce max depth doe to Maximum call stack size exceeded when react <body />
78
- // The element.closest() approach is not available due to browser support issues.
79
77
  /** @hidden */
80
78
  export var slotDive = function (x, y, maxDepth, level) {
81
79
  if (level === void 0) { level = 0; }
@@ -1,4 +1,20 @@
1
- // @ts-ignore
1
+ var __assign = this && this.__assign || function () {
2
+ __assign = Object.assign || function (t) {
3
+ for (var s, i = 1, n = arguments.length; i < n; i++) {
4
+ s = arguments[i];
5
+
6
+ for (var p in s) {
7
+ if (Object.prototype.hasOwnProperty.call(s, p)) t[p] = s[p];
8
+ }
9
+ }
10
+
11
+ return t;
12
+ };
13
+
14
+ return __assign.apply(this, arguments);
15
+ }; // @ts-ignore
16
+
17
+
2
18
  import * as Vue from 'vue';
3
19
  var allVue = Vue;
4
20
  var gh = allVue.h;
@@ -230,9 +246,9 @@ var MonthViewVue2 = {
230
246
  });
231
247
  return (// @ts-ignore function children
232
248
  h(BaseView, {
233
- props: this.$props,
249
+ props: __assign({}, this.$props),
234
250
  attrs: this.v3 ? undefined : {
235
- props: this.$props,
251
+ props: __assign({}, this.$props),
236
252
  baseSlots: monthSlots,
237
253
  ranges: this.ranges
238
254
  },
@@ -49,16 +49,6 @@ var BaseViewVue2 = {
49
49
 
50
50
  };
51
51
  },
52
- // provide: {
53
- // props={props.props}
54
- // ranges={props.ranges}
55
- // items={[items, dispatchItems]}
56
- // slots={[slots, dispatchSlots]}
57
- // selectedItems={[selectedItems, handleSchedulerItemsSelectAction]}
58
- // selectedSlots={[selectedSlots, handleSchedulerSlotsSelectAction]}
59
- // focusedItems={[focusedItems, dispatchFocusedItems]}
60
- // focusedSlots={[focusedSlots, dispatchFocusedSlots]}
61
- // },
62
52
  data: function data() {
63
53
  return {
64
54
  bv: {
@@ -146,7 +146,7 @@ var SchedulerFormVue2 = {
146
146
  editCancelMessage: editCancelMessage
147
147
  },
148
148
  additionalListeners: {
149
- onCancel: this.handleCancel
149
+ cancel: this.handleCancel
150
150
  }
151
151
  });
152
152
 
@@ -12,7 +12,6 @@ export interface SchedulerFooterProps extends ToolbarProps {
12
12
  /**
13
13
  * Represents the object which is returned from the `ref` callback of the [SchedulerFooter]({% slug api_scheduler_schedulerfooter %}).
14
14
  *
15
- * For more information about Refs, refer to the [React Refs & Dom](https://reactjs.org/docs/refs-and-the-dom.html) article.
16
15
  */
17
16
  export interface SchedulerFooterHandle {
18
17
  element: HTMLDivElement | null;
@@ -12,7 +12,6 @@ export interface SchedulerHeaderProps extends ToolbarProps {
12
12
  /**
13
13
  * Represents the object which is returned from the `ref` callback of the [SchedulerHeader]({% slug api_scheduler_schedulerfooter %}).
14
14
  *
15
- * For more information about Refs, refer to the [React Refs & Dom](https://reactjs.org/docs/refs-and-the-dom.html) article.
16
15
  */
17
16
  export interface SchedulerHeaderHandle {
18
17
  element: HTMLDivElement | null;
@@ -18,17 +18,9 @@ export interface SchedulerContextProps {
18
18
  * Specifies the result of the [useSchedulerPropsContext]({% slug api_scheduler_useschedulerpropscontext %}) and [SchedulerPropsContext]({% slug api_scheduler_schedulerpropscontext %}).
19
19
  */
20
20
  export declare type SchedulerPropsContextType = SchedulerProps;
21
- /**
22
- * A [React Context](https://reactjs.org/docs/context.html) providing access to the [Scheduler]({% slug api_scheduler_scheduler %}) props.
23
- *
24
- * For more information, refer to the [Scheduler Context]({% slug context_scheduler %}) article.
25
- */
26
21
  /**
27
22
  * Specifies the result of the [useSchedulerViewsContext]({% slug api_scheduler_useschedulerviewscontext %}) and [SchedulerViewsContext]({% slug api_scheduler_schedulerviewscontext %}).
28
23
  */
29
24
  export declare type SchedulerViewsContextType = SchedulerView[];
30
- /**
31
- * Specifies the result of the [useSchedulerFieldsContext]({% slug api_scheduler_useschedulerfieldscontext %}) and [SchedulerFieldsContext]({% slug api_scheduler_schedulerfieldscontext %}).
32
- */
33
25
  /** @hidden */
34
26
  export declare const SchedulerContext: ({}: SchedulerContextProps) => any[];