@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.
- package/dist/cdn/js/kendo-vue-scheduler.js +2 -2
- package/dist/es/components/BaseView.js +0 -10
- package/dist/es/components/SchedulerForm.js +1 -1
- package/dist/es/components/footer/SchedulerFooter.d.ts +0 -1
- package/dist/es/components/header/SchedulerHeader.d.ts +0 -1
- package/dist/es/context/SchedulerContext.d.ts +0 -8
- package/dist/es/context/SchedulerContext.js +1 -202
- package/dist/es/context/SchedulerEditItemContext.d.ts +0 -5
- package/dist/es/context/SchedulerEditItemContext.js +1 -177
- package/dist/es/context/SchedulerEditSlotContext.js +1 -44
- package/dist/es/context/SchedulerEditTaskContext.d.ts +0 -1
- package/dist/es/context/SchedulerEditTaskContext.js +1 -33
- package/dist/es/context/SchedulerViewContext.d.ts +0 -1
- package/dist/es/context/SchedulerViewContext.js +1 -92
- package/dist/es/editors/SchedulerFormEditor.js +119 -118
- package/dist/es/hooks/index.d.ts +0 -1
- package/dist/es/hooks/index.js +0 -1
- package/dist/es/hooks/useAsyncMouseEnterLeave.js +1 -1
- package/dist/es/hooks/useEditable.js +1 -4
- package/dist/es/hooks/useRowSync.js +1 -2
- package/dist/es/hooks/useSchedulerSlot.d.ts +1 -1
- package/dist/es/hooks/useSchedulerSlot.js +1 -26
- package/dist/es/hooks/useSlotExpand.js +3 -35
- package/dist/es/hooks/useWorkHours.js +0 -7
- package/dist/es/items/SchedulerEditItem.d.ts +0 -2
- package/dist/es/items/SchedulerItem.d.ts +0 -2
- package/dist/es/items/SchedulerItem.js +1 -0
- package/dist/es/items/SchedulerViewItem.d.ts +0 -2
- package/dist/es/items/SchedulerViewItem.js +5 -6
- package/dist/es/models/SchedulerHandle.d.ts +1 -1
- package/dist/es/package-metadata.js +1 -1
- package/dist/es/slots/SchedulerEditSlot.d.ts +0 -2
- package/dist/es/slots/SchedulerSlot.d.ts +0 -2
- package/dist/es/slots/SchedulerSlot.js +1 -0
- package/dist/es/slots/SchedulerViewSlot.d.ts +0 -2
- package/dist/es/slots/SchedulerViewSlot.js +26 -0
- package/dist/es/tasks/SchedulerEditTask.d.ts +0 -2
- package/dist/es/tasks/SchedulerViewTask.d.ts +0 -2
- package/dist/es/utils/index.js +0 -2
- package/dist/es/views/month/MonthView.js +19 -3
- package/dist/npm/components/BaseView.js +0 -10
- package/dist/npm/components/SchedulerForm.js +1 -1
- package/dist/npm/components/footer/SchedulerFooter.d.ts +0 -1
- package/dist/npm/components/header/SchedulerHeader.d.ts +0 -1
- package/dist/npm/context/SchedulerContext.d.ts +0 -8
- package/dist/npm/context/SchedulerContext.js +2 -202
- package/dist/npm/context/SchedulerEditItemContext.d.ts +0 -5
- package/dist/npm/context/SchedulerEditItemContext.js +1 -177
- package/dist/npm/context/SchedulerEditSlotContext.js +2 -44
- package/dist/npm/context/SchedulerEditTaskContext.d.ts +0 -1
- package/dist/npm/context/SchedulerEditTaskContext.js +1 -33
- package/dist/npm/context/SchedulerViewContext.d.ts +0 -1
- package/dist/npm/context/SchedulerViewContext.js +1 -92
- package/dist/npm/editors/SchedulerFormEditor.js +122 -120
- package/dist/npm/hooks/index.d.ts +0 -1
- package/dist/npm/hooks/index.js +0 -1
- package/dist/npm/hooks/useAsyncMouseEnterLeave.js +1 -1
- package/dist/npm/hooks/useEditable.js +2 -4
- package/dist/npm/hooks/useRowSync.js +1 -2
- package/dist/npm/hooks/useSchedulerSlot.d.ts +1 -1
- package/dist/npm/hooks/useSchedulerSlot.js +1 -26
- package/dist/npm/hooks/useSlotExpand.js +3 -35
- package/dist/npm/hooks/useWorkHours.js +0 -7
- package/dist/npm/items/SchedulerEditItem.d.ts +0 -2
- package/dist/npm/items/SchedulerItem.d.ts +0 -2
- package/dist/npm/items/SchedulerItem.js +1 -0
- package/dist/npm/items/SchedulerViewItem.d.ts +0 -2
- package/dist/npm/items/SchedulerViewItem.js +5 -6
- package/dist/npm/models/SchedulerHandle.d.ts +1 -1
- package/dist/npm/package-metadata.js +1 -1
- package/dist/npm/slots/SchedulerEditSlot.d.ts +0 -2
- package/dist/npm/slots/SchedulerSlot.d.ts +0 -2
- package/dist/npm/slots/SchedulerSlot.js +1 -0
- package/dist/npm/slots/SchedulerViewSlot.d.ts +0 -2
- package/dist/npm/slots/SchedulerViewSlot.js +26 -0
- package/dist/npm/tasks/SchedulerEditTask.d.ts +0 -2
- package/dist/npm/tasks/SchedulerViewTask.d.ts +0 -2
- package/dist/npm/utils/index.js +0 -2
- package/dist/npm/views/month/MonthView.js +18 -2
- package/package.json +12 -12
- package/dist/es/hooks/useSchedulerItem.d.ts +0 -6
- package/dist/es/hooks/useSchedulerItem.js +0 -33
- package/dist/npm/hooks/useSchedulerItem.d.ts +0 -6
- package/dist/npm/hooks/useSchedulerItem.js +0 -39
|
@@ -36,16 +36,6 @@ var BaseViewVue2 = {
|
|
|
36
36
|
|
|
37
37
|
};
|
|
38
38
|
},
|
|
39
|
-
// provide: {
|
|
40
|
-
// props={props.props}
|
|
41
|
-
// ranges={props.ranges}
|
|
42
|
-
// items={[items, dispatchItems]}
|
|
43
|
-
// slots={[slots, dispatchSlots]}
|
|
44
|
-
// selectedItems={[selectedItems, handleSchedulerItemsSelectAction]}
|
|
45
|
-
// selectedSlots={[selectedSlots, handleSchedulerSlotsSelectAction]}
|
|
46
|
-
// focusedItems={[focusedItems, dispatchFocusedItems]}
|
|
47
|
-
// focusedSlots={[focusedSlots, dispatchFocusedSlots]}
|
|
48
|
-
// },
|
|
49
39
|
data: function data() {
|
|
50
40
|
return {
|
|
51
41
|
bv: {
|
|
@@ -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[];
|
|
@@ -1,205 +1,4 @@
|
|
|
1
|
-
// /**
|
|
2
|
-
// * A [React Context](https://reactjs.org/docs/context.html) providing access to the available Scheduler [views]({% slug views_scheduler %}).
|
|
3
|
-
// *
|
|
4
|
-
// * For more information, refer to the [Scheduler Context]({% slug context_scheduler %}) article.
|
|
5
|
-
// */
|
|
6
|
-
// export const SchedulerViewsContext = React.createContext<SchedulerViewsContextType>([]);
|
|
7
|
-
// /**
|
|
8
|
-
// * A custom [React Hook](https://reactjs.org/docs/hooks-intro.html) providing access to the available Scheduler [views]({% slug views_scheduler %}).
|
|
9
|
-
// *
|
|
10
|
-
// * For more information, refer to the [Scheduler Context]({% slug context_scheduler %}) article.
|
|
11
|
-
// *
|
|
12
|
-
// * @returns
|
|
13
|
-
// */
|
|
14
|
-
// export const useSchedulerViewsContext = (): SchedulerViewsContextType => React.useContext(SchedulerViewsContext);
|
|
15
|
-
// SchedulerViewsContext.displayName = 'SchedulerViewsContext';
|
|
16
|
-
|
|
17
|
-
/**
|
|
18
|
-
* Specifies the result of the [useSchedulerFieldsContext]({% slug api_scheduler_useschedulerfieldscontext %}) and [SchedulerFieldsContext]({% slug api_scheduler_schedulerfieldscontext %}).
|
|
19
|
-
*/
|
|
20
|
-
// export type SchedulerFieldsContextType = Fields;
|
|
21
|
-
// /**
|
|
22
|
-
// * A [React Context](https://reactjs.org/docs/context.html) providing access to the combined default and custom [modelFields]({% slug api_scheduler_schedulerprops %}#toc-modelfields) of the Scheduler.
|
|
23
|
-
// *
|
|
24
|
-
// * For more information, refer to the [Scheduler Context]({% slug context_scheduler %}) article.
|
|
25
|
-
// */
|
|
26
|
-
// export const SchedulerFieldsContext = React.createContext<SchedulerFieldsContextType>(defaultModelFields);
|
|
27
|
-
// /**
|
|
28
|
-
// * A custom [React Hook](https://reactjs.org/docs/hooks-intro.html) providing access to the combined default and custom [modelFields]({% slug api_scheduler_schedulerprops %}#toc-modelfields) of the Scheduler.
|
|
29
|
-
// *
|
|
30
|
-
// * For more information, refer to the [Scheduler Context]({% slug context_scheduler %}) article.
|
|
31
|
-
// *
|
|
32
|
-
// * @returns
|
|
33
|
-
// */
|
|
34
|
-
// export const useSchedulerFieldsContext = (): SchedulerFieldsContextType => React.useContext(SchedulerFieldsContext);
|
|
35
|
-
// SchedulerFieldsContext.displayName = 'SchedulerFieldsContext';
|
|
36
|
-
// /**
|
|
37
|
-
// * Specifies the result of the [useSchedulerFieldsContext]({% slug api_scheduler_useschedulerfieldscontext %}) and [SchedulerFieldsContext]({% slug api_scheduler_schedulerfieldscontext %}).
|
|
38
|
-
// */
|
|
39
|
-
// export type SchedulerDateFormatContextType = { dateFormat: string; shortDateFormat: string };
|
|
40
|
-
// /**
|
|
41
|
-
// * A [React Context](https://reactjs.org/docs/context.html) providing access to the combined default and custom [modelFields]({% slug api_scheduler_schedulerprops %}#toc-modelfields) of the Scheduler.
|
|
42
|
-
// *
|
|
43
|
-
// * For more information, refer to the [Scheduler Context]({% slug context_scheduler %}) article.
|
|
44
|
-
// */
|
|
45
|
-
// export const SchedulerDateFormatContext = React.createContext<SchedulerDateFormatContextType>
|
|
46
|
-
// ({ dateFormat: '{0:D}', shortDateFormat: '{0:d}' });
|
|
47
|
-
// /**
|
|
48
|
-
// * A custom [React Hook](https://reactjs.org/docs/hooks-intro.html) providing access to the combined default and custom [modelFields]({% slug api_scheduler_schedulerprops %}#toc-modelfields) of the Scheduler.
|
|
49
|
-
// *
|
|
50
|
-
// * For more information, refer to the [Scheduler Context]({% slug context_scheduler %}) article.
|
|
51
|
-
// *
|
|
52
|
-
// * @returns
|
|
53
|
-
// */
|
|
54
|
-
// export const useSchedulerDateFormatContext = ():
|
|
55
|
-
// SchedulerDateFormatContextType => React.useContext(SchedulerDateFormatContext);
|
|
56
|
-
// SchedulerDateFormatContext.displayName = 'SchedulerDateFormatContext';
|
|
57
|
-
// /**
|
|
58
|
-
// * Specifies the result of the [useSchedulerGroupsContext]({% slug api_scheduler_useschedulergroupscontext %}) and [SchedulerGroupsContext]({% slug api_scheduler_schedulergroupscontext %}).
|
|
59
|
-
// */
|
|
60
|
-
// export type SchedulerGroupsContextType = Group[];
|
|
61
|
-
// /**
|
|
62
|
-
// * A [React Context](https://reactjs.org/docs/context.html) providing access to the Scheduler `Group` object, calculated based on the [group]({% slug api_scheduler_schedulerprops %}#toc-group) and [resources]({% slug api_scheduler_schedulerprops %}#toc-resources).
|
|
63
|
-
// *
|
|
64
|
-
// * For more information, refer to the [Scheduler Context]({% slug context_scheduler %}) article.
|
|
65
|
-
// */
|
|
66
|
-
// export const SchedulerGroupsContext = React.createContext<SchedulerGroupsContextType>([DEFAULT_GROUP]);
|
|
67
|
-
// /**
|
|
68
|
-
// * A custom [React Hook](https://reactjs.org/docs/hooks-intro.html) providing access to the Scheduler `Group` object, calculated based on the [group]({% slug api_scheduler_schedulerprops %}#toc-group) and [resources]({% slug api_scheduler_schedulerprops %}#toc-resources).
|
|
69
|
-
// *
|
|
70
|
-
// * For more information, refer to the [Scheduler Context]({% slug context_scheduler %}) article.
|
|
71
|
-
// *
|
|
72
|
-
// * @returns
|
|
73
|
-
// */
|
|
74
|
-
// export const useSchedulerGroupsContext = (): SchedulerGroupsContextType => React.useContext(SchedulerGroupsContext);
|
|
75
|
-
// SchedulerGroupsContext.displayName = 'SchedulerGroupsContext';
|
|
76
|
-
// /**
|
|
77
|
-
// * Specifies the result of the [useSchedulerDateRangeContext]({% slug api_scheduler_useschedulerdaterangecontext %}) and [SchedulerDateRangeContext]({% slug api_scheduler_schedulerdaterangecontext %}).
|
|
78
|
-
// */
|
|
79
|
-
// export type SchedulerDateRangeContextType = DateRange;
|
|
80
|
-
// /**
|
|
81
|
-
// * A [React Context](https://reactjs.org/docs/context.html) providing access to the `dateRange` of the current view.
|
|
82
|
-
// *
|
|
83
|
-
// * For more information, refer to the [Scheduler Context]({% slug context_scheduler %}) article.
|
|
84
|
-
// */
|
|
85
|
-
// export const SchedulerDateRangeContext = React.createContext<SchedulerDateRangeContextType>(
|
|
86
|
-
// { start: new Date(), end: new Date(), zonedStart: ZonedDate.fromLocalDate(new Date()),
|
|
87
|
-
// zonedEnd: ZonedDate.fromLocalDate(new Date()) });
|
|
88
|
-
// /**
|
|
89
|
-
// * A custom [React Hook](https://reactjs.org/docs/hooks-intro.html) providing access to the `dateRange` of the current view.
|
|
90
|
-
// *
|
|
91
|
-
// * For more information, refer to the [Scheduler Context]({% slug context_scheduler %}) article.
|
|
92
|
-
// *
|
|
93
|
-
// * @returns
|
|
94
|
-
// */
|
|
95
|
-
// export const useSchedulerDateRangeContext = ():
|
|
96
|
-
// SchedulerDateRangeContextType => React.useContext(SchedulerDateRangeContext);
|
|
97
|
-
// SchedulerDateRangeContext.displayName = 'SchedulerDateRangeContext';
|
|
98
|
-
// /**
|
|
99
|
-
// * Specifies the result of the [useSchedulerOrientationContext]({% slug api_scheduler_useschedulerorientationcontext %}) and [SchedulerOrientationContext]({% slug api_scheduler_schedulerorientationcontext %}).
|
|
100
|
-
// */
|
|
101
|
-
// export type SchedulerOrientationContextType = Orientation;
|
|
102
|
-
// /**
|
|
103
|
-
// * A [React Context](https://reactjs.org/docs/context.html) providing access to the grouping orientation of the Scheduler.
|
|
104
|
-
// *
|
|
105
|
-
// * For more information, refer to the [Scheduler Context]({% slug context_scheduler %}) article.
|
|
106
|
-
// */
|
|
107
|
-
// export const SchedulerOrientationContext =
|
|
108
|
-
// React.createContext<SchedulerOrientationContextType>(null);
|
|
109
|
-
// /**
|
|
110
|
-
// * A custom [React Hook](https://reactjs.org/docs/hooks-intro.html) providing access to the grouping orientation of the Scheduler.
|
|
111
|
-
// *
|
|
112
|
-
// * For more information, refer to the [Scheduler Context]({% slug context_scheduler %}) article.
|
|
113
|
-
// *
|
|
114
|
-
// * @returns
|
|
115
|
-
// */
|
|
116
|
-
// export const useSchedulerOrientationContext = (): SchedulerOrientationContextType
|
|
117
|
-
// => React.useContext(SchedulerOrientationContext);
|
|
118
|
-
// SchedulerOrientationContext.displayName = 'SchedulerOrientationContext';
|
|
119
|
-
// // State
|
|
120
|
-
// /**
|
|
121
|
-
// * Specifies the result of the [useSchedulerDateContext]({% slug api_scheduler_useschedulerdatecontext %}) and [SchedulerDateContext]({% slug api_scheduler_schedulerdatecontext %}).
|
|
122
|
-
// */
|
|
123
|
-
// export type SchedulerDateContextType = [Date, (date: Date, event?: any) => void];
|
|
124
|
-
// /**
|
|
125
|
-
// * A [React Context](https://reactjs.org/docs/context.html) providing access to the Scheduler internal `date` state.
|
|
126
|
-
// *
|
|
127
|
-
// * For more information, refer to the [Scheduler Context]({% slug context_scheduler %}) article.
|
|
128
|
-
// */
|
|
129
|
-
// export const SchedulerDateContext = React.createContext<SchedulerDateContextType>([new Date(), noop]);
|
|
130
|
-
// /**
|
|
131
|
-
// * A custom [React Hook](https://reactjs.org/docs/hooks-intro.html) providing access to the Scheduler internal `date` state.
|
|
132
|
-
// *
|
|
133
|
-
// * For more information, refer to the [Scheduler Context]({% slug context_scheduler %}) article.
|
|
134
|
-
// *
|
|
135
|
-
// * @returns
|
|
136
|
-
// */
|
|
137
|
-
// export const useSchedulerDateContext = (): SchedulerDateContextType => React.useContext(SchedulerDateContext);
|
|
138
|
-
// SchedulerDateContext.displayName = 'SchedulerDateContext';
|
|
139
|
-
// /**
|
|
140
|
-
// * Specifies the result of the [useSchedulerDataContext]({% slug api_scheduler_useschedulerdatacontext %}) and [SchedulerDataContext]({% slug api_scheduler_schedulerdatacontext %}).
|
|
141
|
-
// */
|
|
142
|
-
// export type SchedulerDataContextType = [DataItem[], (action: DataAction, event?: any) => void];
|
|
143
|
-
// /**
|
|
144
|
-
// * A [React Context](https://reactjs.org/docs/context.html) providing access to the Scheduler internal `data` reducer.
|
|
145
|
-
// *
|
|
146
|
-
// * For more information, refer to the [Scheduler Context]({% slug context_scheduler %}) article.
|
|
147
|
-
// */
|
|
148
|
-
// export const SchedulerDataContext = React.createContext<SchedulerDataContextType>([[], noop]);
|
|
149
|
-
// /**
|
|
150
|
-
// * A custom [React Hook](https://reactjs.org/docs/hooks-intro.html) providing access to the Scheduler internal `data` reducer.
|
|
151
|
-
// *
|
|
152
|
-
// * For more information, refer to the [Scheduler Context]({% slug context_scheduler %}) article.
|
|
153
|
-
// *
|
|
154
|
-
// * @returns
|
|
155
|
-
// */
|
|
156
|
-
// export const useSchedulerDataContext = (): SchedulerDataContextType => React.useContext(SchedulerDataContext);
|
|
157
|
-
// SchedulerDataContext.displayName = 'SchedulerDataContext';
|
|
158
|
-
// /**
|
|
159
|
-
// * Specifies the result of the [useSchedulerActiveViewContext]({% slug api_scheduler_usescheduleractiveviewcontext %}) and [SchedulerActiveViewContext]({% slug api_scheduler_scheduleractiveviewcontext %}).
|
|
160
|
-
// */
|
|
161
|
-
// export type SchedulerActiveViewContextType = [string, (activeView: string, event?: any) => void];
|
|
162
|
-
// /**
|
|
163
|
-
// * A [React Context](https://reactjs.org/docs/context.html) providing access to the Scheduler internal `activeView` state.
|
|
164
|
-
// *
|
|
165
|
-
// * For more information, refer to the [Scheduler Context]({% slug context_scheduler %}) article.
|
|
166
|
-
// */
|
|
167
|
-
// export const SchedulerActiveViewContext = React.createContext<SchedulerActiveViewContextType>(['day', noop]);
|
|
168
|
-
// /**
|
|
169
|
-
// * A custom [React Hook](https://reactjs.org/docs/hooks-intro.html) providing access to the Scheduler internal `activeView` state.
|
|
170
|
-
// *
|
|
171
|
-
// * For more information, refer to the [Scheduler Context]({% slug context_scheduler %}) article.
|
|
172
|
-
// *
|
|
173
|
-
// * @returns
|
|
174
|
-
// */
|
|
175
|
-
// export const useSchedulerActiveViewContext = ():
|
|
176
|
-
// SchedulerActiveViewContextType => React.useContext(SchedulerActiveViewContext);
|
|
177
|
-
// SchedulerActiveViewContext.displayName = 'SchedulerActiveViewContext';
|
|
178
|
-
|
|
179
1
|
/** @hidden */
|
|
180
2
|
export var SchedulerContext = function SchedulerContext(_a) {
|
|
181
|
-
return []
|
|
182
|
-
// <SchedulerPropsContext.Provider value={props}>
|
|
183
|
-
// <SchedulerViewsContext.Provider value={views}>
|
|
184
|
-
// <SchedulerFieldsContext.Provider value={fields}>
|
|
185
|
-
// <SchedulerDateFormatContext.Provider value={dateFormat}>
|
|
186
|
-
// <SchedulerGroupsContext.Provider value={groups}>
|
|
187
|
-
// <SchedulerDateRangeContext.Provider value={dateRange}>
|
|
188
|
-
// <SchedulerOrientationContext.Provider value={orientation}>
|
|
189
|
-
// <SchedulerDateContext.Provider value={date}>
|
|
190
|
-
// <SchedulerDataContext.Provider value={data}>
|
|
191
|
-
// <SchedulerActiveViewContext.Provider value={activeView}>
|
|
192
|
-
// {children}
|
|
193
|
-
// </SchedulerActiveViewContext.Provider>
|
|
194
|
-
// </SchedulerDataContext.Provider>
|
|
195
|
-
// </SchedulerDateContext.Provider>
|
|
196
|
-
// </SchedulerOrientationContext.Provider>
|
|
197
|
-
// </SchedulerDateRangeContext.Provider>
|
|
198
|
-
// </SchedulerGroupsContext.Provider>
|
|
199
|
-
// </SchedulerDateFormatContext.Provider>
|
|
200
|
-
// </SchedulerFieldsContext.Provider>
|
|
201
|
-
// </SchedulerViewsContext.Provider>
|
|
202
|
-
// </SchedulerPropsContext.Provider>
|
|
203
|
-
// </SchedulerElementContext.Provider>
|
|
204
|
-
;
|
|
3
|
+
return [];
|
|
205
4
|
};
|
|
@@ -14,10 +14,5 @@ export interface SchedulerEditItemContextProps {
|
|
|
14
14
|
* Specifies the result of the [useSchedulerEditItemPropsContext]({% slug api_scheduler_usescheduleredititempropscontext %}) and [SchedulerEditItemPropsContext]({% slug api_scheduler_scheduleredititempropscontext %}).
|
|
15
15
|
*/
|
|
16
16
|
export declare type SchedulerEditItemPropsContextType = SchedulerEditItemProps;
|
|
17
|
-
/**
|
|
18
|
-
* A [React Context](https://reactjs.org/docs/context.html) providing access to the [SchedulerEditItem]({% slug edit-item_items_scheduler %}) `props`.
|
|
19
|
-
*
|
|
20
|
-
* For more information, refer to the [Items Context]({% slug state-update_items_scheduler %}) article.
|
|
21
|
-
*/
|
|
22
17
|
/** @hidden */
|
|
23
18
|
export declare const SchedulerEditItemContext: ({}: SchedulerEditItemContextProps) => any[];
|
|
@@ -1,180 +1,4 @@
|
|
|
1
|
-
/**
|
|
2
|
-
* A [React Context](https://reactjs.org/docs/context.html) providing access to the [SchedulerEditItem]({% slug edit-item_items_scheduler %}) `props`.
|
|
3
|
-
*
|
|
4
|
-
* For more information, refer to the [Items Context]({% slug state-update_items_scheduler %}) article.
|
|
5
|
-
*/
|
|
6
|
-
// export const SchedulerEditItemPropsContext = React.createContext<SchedulerEditItemPropsContextType>([null] as any);
|
|
7
|
-
// /**
|
|
8
|
-
// * A custom [React Hook](https://reactjs.org/docs/hooks-intro.html) providing access to the [SchedulerEditItem]({% slug edit-item_items_scheduler %}) `props`.
|
|
9
|
-
// *
|
|
10
|
-
// * For more information, refer to the [Items Context]({% slug state-update_items_scheduler %}) article.
|
|
11
|
-
// *
|
|
12
|
-
// * @returns
|
|
13
|
-
// */
|
|
14
|
-
// export const useSchedulerEditItemPropsContext = ():
|
|
15
|
-
// SchedulerEditItemPropsContextType => React.useContext(SchedulerEditItemPropsContext);
|
|
16
|
-
// SchedulerEditItemPropsContext.displayName = 'SchedulerEditItemPropsContext';
|
|
17
|
-
// /**
|
|
18
|
-
// * Specifies the result of the [useSchedulerEditItemFormItemContext]({% slug api_scheduler_usescheduleredititemformitemcontext %}) and [SchedulerEditItemFormItemContext]({% slug api_scheduler_scheduleredititemformitemcontext %}).
|
|
19
|
-
// */
|
|
20
|
-
// export type SchedulerEditItemFormItemContextType =
|
|
21
|
-
// [DataItem | null, (newValue: DataItem | null, event?: React.SyntheticEvent | BaseEvent<any>
|
|
22
|
-
// | { preventDefault: any }) => void, (action: SchedulerItemFormItemAction, event?:
|
|
23
|
-
// React.SyntheticEvent | BaseEvent<any> | { preventDefault: any } ) => void];
|
|
24
|
-
// /**
|
|
25
|
-
// * A [React Context](https://reactjs.org/docs/context.html) providing access to the [SchedulerEditItem]({% slug edit-item_items_scheduler %}) internal `formItem` state.
|
|
26
|
-
// *
|
|
27
|
-
// * For more information, refer to the [Items Context]({% slug state-update_items_scheduler %}) article.
|
|
28
|
-
// */
|
|
29
|
-
// export const SchedulerEditItemFormItemContext =
|
|
30
|
-
// React.createContext<SchedulerEditItemFormItemContextType>([null, noop, noop]);
|
|
31
|
-
// /**
|
|
32
|
-
// * A custom [React Hook](https://reactjs.org/docs/hooks-intro.html) providing access to the [SchedulerEditItem]({% slug edit-item_items_scheduler %}) internal `formItem` state.
|
|
33
|
-
// *
|
|
34
|
-
// * For more information, refer to the [Items Context]({% slug state-update_items_scheduler %}) article.
|
|
35
|
-
// *
|
|
36
|
-
// * @returns
|
|
37
|
-
// */
|
|
38
|
-
// export const useSchedulerEditItemFormItemContext = ():
|
|
39
|
-
// SchedulerEditItemFormItemContextType => React.useContext(SchedulerEditItemFormItemContext);
|
|
40
|
-
// SchedulerEditItemFormItemContext.displayName = 'SchedulerEditItemFormItemContext';
|
|
41
|
-
// /**
|
|
42
|
-
// * Specifies the result of the [useSchedulerEditItemDragItemContext]({% slug api_scheduler_usescheduleredititemdragitemcontext %}) and [SchedulerEditItemDragItemContext]({% slug api_scheduler_scheduleredititemdragitemcontext %}).
|
|
43
|
-
// */
|
|
44
|
-
// export type SchedulerEditItemDragItemContextType = [DataItem | null, (newValue?: DataItem | null,
|
|
45
|
-
// event?: React.SyntheticEvent | BaseEvent<any> | { preventDefault: any }) => void,
|
|
46
|
-
// (action: SchedulerItemFormItemAction, event?:
|
|
47
|
-
// React.SyntheticEvent | BaseEvent<any> | { preventDefault: any } ) => void];
|
|
48
|
-
// /**
|
|
49
|
-
// * A [React Context](https://reactjs.org/docs/context.html) providing access to the [SchedulerEditItem]({% slug edit-item_items_scheduler %}) internal `dragItem` state.
|
|
50
|
-
// *
|
|
51
|
-
// * For more information, refer to the [Items Context]({% slug state-update_items_scheduler %}) article.
|
|
52
|
-
// */
|
|
53
|
-
// export const SchedulerEditItemDragItemContext =
|
|
54
|
-
// React.createContext<SchedulerEditItemDragItemContextType>([null, noop, noop]);
|
|
55
|
-
// /**
|
|
56
|
-
// * A custom [React Hook](https://reactjs.org/docs/hooks-intro.html) providing access to the [SchedulerEditItem]({% slug edit-item_items_scheduler %}) internal `dragItem` state.
|
|
57
|
-
// *
|
|
58
|
-
// * For more information, refer to the [Items Context]({% slug state-update_items_scheduler %}) article.
|
|
59
|
-
// *
|
|
60
|
-
// * @returns
|
|
61
|
-
// */
|
|
62
|
-
// export const useSchedulerEditItemDragItemContext = ():
|
|
63
|
-
// SchedulerEditItemDragItemContextType => React.useContext(SchedulerEditItemDragItemContext);
|
|
64
|
-
// SchedulerEditItemDragItemContext.displayName = 'SchedulerEditItemDragItemContext';
|
|
65
|
-
// /**
|
|
66
|
-
// * Specifies the result of the [useSchedulerEditItemResizeItemContext]({% slug api_scheduler_usescheduleredititemresizeitemcontext %}) and [SchedulerEditItemResizeItemContext]({% slug api_scheduler_scheduleredititemresizeitemcontext %}).
|
|
67
|
-
// */
|
|
68
|
-
// export type SchedulerEditItemResizeItemContextType = [DataItem | null, (newValue?: DataItem |
|
|
69
|
-
// null, event?: React.SyntheticEvent | BaseEvent<any> | { preventDefault: any }) => void,
|
|
70
|
-
// (action: SchedulerItemFormItemAction, event?:
|
|
71
|
-
// React.SyntheticEvent | BaseEvent<any> | { preventDefault: any } ) => void];
|
|
72
|
-
// /**
|
|
73
|
-
// * A [React Context](https://reactjs.org/docs/context.html) providing access to the [SchedulerEditItem]({% slug edit-item_items_scheduler %}) internal `resizeItem` state.
|
|
74
|
-
// *
|
|
75
|
-
// * For more information, refer to the [Items Context]({% slug state-update_items_scheduler %}) article.
|
|
76
|
-
// */
|
|
77
|
-
// export const SchedulerEditItemResizeItemContext =
|
|
78
|
-
// React.createContext<SchedulerEditItemResizeItemContextType>([null, noop, noop]);
|
|
79
|
-
// /**
|
|
80
|
-
// * A custom [React Hook](https://reactjs.org/docs/hooks-intro.html) providing access to the [SchedulerEditItem]({% slug edit-item_items_scheduler %}) internal `resizeItem` state.
|
|
81
|
-
// *
|
|
82
|
-
// * For more information, refer to the [Items Context]({% slug state-update_items_scheduler %}) article.
|
|
83
|
-
// *
|
|
84
|
-
// * @returns
|
|
85
|
-
// */
|
|
86
|
-
// export const useSchedulerEditItemResizeItemContext = ():
|
|
87
|
-
// SchedulerEditItemResizeItemContextType => React.useContext(SchedulerEditItemResizeItemContext);
|
|
88
|
-
// SchedulerEditItemResizeItemContext.displayName = 'SchedulerEditItemResizeItemContext';
|
|
89
|
-
// /**
|
|
90
|
-
// * Specifies the result of the [useSchedulerEditItemRemoveItemContext]({% slug api_scheduler_usescheduleredititemremoveitemcontext %}) and [SchedulerEditItemRemoveItemContext]({% slug api_scheduler_scheduleredititemremoveitemcontext %}).
|
|
91
|
-
// */
|
|
92
|
-
// export type SchedulerEditItemRemoveItemContextType = [DataItem | null, (newValue?: any,
|
|
93
|
-
// event?: React.SyntheticEvent | BaseEvent<any> | { preventDefault: any }) => void,
|
|
94
|
-
// (action: SchedulerItemFormItemAction, event?:
|
|
95
|
-
// React.SyntheticEvent | BaseEvent<any> | { preventDefault: any } ) => void];
|
|
96
|
-
// /**
|
|
97
|
-
// * A [React Context](https://reactjs.org/docs/context.html) providing access to the [SchedulerEditItem]({% slug edit-item_items_scheduler %}) internal `removeItem` state.
|
|
98
|
-
// *
|
|
99
|
-
// * For more information, refer to the [Items Context]({% slug state-update_items_scheduler %}) article.
|
|
100
|
-
// */
|
|
101
|
-
// export const SchedulerEditItemRemoveItemContext =
|
|
102
|
-
// React.createContext<SchedulerEditItemRemoveItemContextType>([null, noop, noop]);
|
|
103
|
-
// /**
|
|
104
|
-
// * A custom [React Hook](https://reactjs.org/docs/hooks-intro.html) providing access to the [SchedulerEditItem]({% slug edit-item_items_scheduler %}) internal `removeItem` state.
|
|
105
|
-
// *
|
|
106
|
-
// * For more information, refer to the [Items Context]({% slug state-update_items_scheduler %}) article.
|
|
107
|
-
// *
|
|
108
|
-
// * @returns
|
|
109
|
-
// */
|
|
110
|
-
// export const useSchedulerEditItemRemoveItemContext = ():
|
|
111
|
-
// SchedulerEditItemRemoveItemContextType => React.useContext(SchedulerEditItemRemoveItemContext);
|
|
112
|
-
// SchedulerEditItemRemoveItemContext.displayName = 'SchedulerEditItemRemoveItemContext';
|
|
113
|
-
// /**
|
|
114
|
-
// * Specifies the result of the [useSchedulerEditItemShowRemoveDialogContext]({% slug api_scheduler_usescheduleredititemshowremovedialogcontext %}) and [SchedulerEditItemShowRemoveDialogContext]({% slug api_scheduler_scheduleredititemshowremovedialogcontext %}).
|
|
115
|
-
// */
|
|
116
|
-
// export type SchedulerEditItemShowRemoveDialogContextType = [boolean, (newValue?: boolean,
|
|
117
|
-
// event?: React.SyntheticEvent | BaseEvent<any> | { preventDefault: any }) => void, (
|
|
118
|
-
// action: SchedulerItemFormItemAction, event?:
|
|
119
|
-
// React.SyntheticEvent | BaseEvent<any> | { preventDefault: any } ) => void];
|
|
120
|
-
// /**
|
|
121
|
-
// * A [React Context](https://reactjs.org/docs/context.html) providing access to the [SchedulerEditItem]({% slug edit-item_items_scheduler %}) internal `showRemoveDialog` state.
|
|
122
|
-
// *
|
|
123
|
-
// * For more information, refer to the [Items Context]({% slug state-update_items_scheduler %}) article.
|
|
124
|
-
// */
|
|
125
|
-
// export const SchedulerEditItemShowRemoveDialogContext =
|
|
126
|
-
// React.createContext<SchedulerEditItemShowRemoveDialogContextType>([false, noop, noop]);
|
|
127
|
-
// /**
|
|
128
|
-
// * A custom [React Hook](https://reactjs.org/docs/hooks-intro.html) providing access to the [SchedulerEditItem]({% slug edit-item_items_scheduler %}) internal `showRemoveDialog` state.
|
|
129
|
-
// *
|
|
130
|
-
// * For more information, refer to the [Items Context]({% slug state-update_items_scheduler %}) article.
|
|
131
|
-
// *
|
|
132
|
-
// * @returns
|
|
133
|
-
// */
|
|
134
|
-
// export const useSchedulerEditItemShowRemoveDialogContext = ():
|
|
135
|
-
// SchedulerEditItemShowRemoveDialogContextType => React.useContext(SchedulerEditItemShowRemoveDialogContext);
|
|
136
|
-
// SchedulerEditItemShowRemoveDialogContext.displayName = 'SchedulerEditItemShowRemoveDialogContext';
|
|
137
|
-
// /**
|
|
138
|
-
// * Specifies the result of the [useSchedulerEditItemShowOccurrenceDialogContext]({% slug api_scheduler_usescheduleredititemshowoccurrencedialogcontext %}) and [SchedulerEditItemShowOccurrenceDialogContext]({% slug api_scheduler_scheduleredititemshowoccurrencedialogcontext %}).
|
|
139
|
-
// */
|
|
140
|
-
// export type SchedulerEditItemShowOccurrenceDialogContextType = [boolean, (newValue?: boolean,
|
|
141
|
-
// event?: React.SyntheticEvent | BaseEvent<any> | { preventDefault: any }) => void,
|
|
142
|
-
// (action: SchedulerItemFormItemAction, event?:
|
|
143
|
-
// React.SyntheticEvent | BaseEvent<any> | { preventDefault: any } ) => void];
|
|
144
|
-
// /**
|
|
145
|
-
// * A [React Context](https://reactjs.org/docs/context.html) providing access to the [SchedulerEditItem]({% slug edit-item_items_scheduler %}) internal `showOccurrenceDialog` state.
|
|
146
|
-
// *
|
|
147
|
-
// * For more information, refer to the [Items Context]({% slug state-update_items_scheduler %}) article.
|
|
148
|
-
// */
|
|
149
|
-
// export const SchedulerEditItemShowOccurrenceDialogContext =
|
|
150
|
-
// React.createContext<SchedulerEditItemShowOccurrenceDialogContextType>([false, noop, noop]);
|
|
151
|
-
// /**
|
|
152
|
-
// * A custom [React Hook](https://reactjs.org/docs/hooks-intro.html) providing access to the [SchedulerEditItem]({% slug edit-item_items_scheduler %}) internal `showOccurrenceDialog` state.
|
|
153
|
-
// *
|
|
154
|
-
// * For more information, refer to the [Items Context]({% slug state-update_items_scheduler %}) article.
|
|
155
|
-
// *
|
|
156
|
-
// * @returns
|
|
157
|
-
// */
|
|
158
|
-
// export const useSchedulerEditItemShowOccurrenceDialogContext = (): SchedulerEditItemShowOccurrenceDialogContextType
|
|
159
|
-
// => React.useContext(SchedulerEditItemShowOccurrenceDialogContext);
|
|
160
|
-
// SchedulerEditItemShowOccurrenceDialogContext.displayName = 'SchedulerEditItemShowOccurrenceDialogContext';
|
|
161
|
-
|
|
162
1
|
/** @hidden */
|
|
163
2
|
export var SchedulerEditItemContext = function SchedulerEditItemContext(_a) {
|
|
164
|
-
return []
|
|
165
|
-
// <SchedulerEditItemFormItemContext.Provider value={form}>
|
|
166
|
-
// <SchedulerEditItemDragItemContext.Provider value={drag}>
|
|
167
|
-
// <SchedulerEditItemResizeItemContext.Provider value={resize}>
|
|
168
|
-
// <SchedulerEditItemRemoveItemContext.Provider value={remove}>
|
|
169
|
-
// <SchedulerEditItemShowRemoveDialogContext.Provider value={showRemoveDialog}>
|
|
170
|
-
// <SchedulerEditItemShowOccurrenceDialogContext.Provider value={showOccurrenceDialog}>
|
|
171
|
-
// {children}
|
|
172
|
-
// </SchedulerEditItemShowOccurrenceDialogContext.Provider>
|
|
173
|
-
// </SchedulerEditItemShowRemoveDialogContext.Provider>
|
|
174
|
-
// </SchedulerEditItemRemoveItemContext.Provider>
|
|
175
|
-
// </SchedulerEditItemResizeItemContext.Provider>
|
|
176
|
-
// </SchedulerEditItemDragItemContext.Provider>
|
|
177
|
-
// </SchedulerEditItemFormItemContext.Provider>
|
|
178
|
-
// </SchedulerEditItemPropsContext.Provider>
|
|
179
|
-
;
|
|
3
|
+
return [];
|
|
180
4
|
};
|
|
@@ -1,47 +1,4 @@
|
|
|
1
|
-
// /**
|
|
2
|
-
// * A [React Context](https://reactjs.org/docs/context.html) providing access to the [SchedulerEditSlot]({% slug api_scheduler_schedulereditslot %}) `props`.
|
|
3
|
-
// *
|
|
4
|
-
// * For more information, refer to the [Items Context]({% slug state-update_items_scheduler %}) article.
|
|
5
|
-
// */
|
|
6
|
-
// export const SchedulerEditSlotPropsContext = React.createContext<SchedulerEditSlotPropsContextType>([null] as any);
|
|
7
|
-
// /**
|
|
8
|
-
// * A custom [React Hook](https://reactjs.org/docs/hooks-intro.html) providing access to the [SchedulerEditSlot]({% slug api_scheduler_schedulereditslot %}) `props`.
|
|
9
|
-
// *
|
|
10
|
-
// * For more information, refer to the [Items Context]({% slug state-update_items_scheduler %}) article.
|
|
11
|
-
// *
|
|
12
|
-
// * @returns
|
|
13
|
-
// */
|
|
14
|
-
// export const useSchedulerEditSlotPropsContext = (): SchedulerEditSlotPropsContextType =>
|
|
15
|
-
// React.useContext(SchedulerEditSlotPropsContext);
|
|
16
|
-
// SchedulerEditSlotPropsContext.displayName = 'SchedulerEditSlotPropsContext';
|
|
17
|
-
// /**
|
|
18
|
-
// * Specifies the result of the [useSchedulerEditSlotFormItemContext]({% slug api_scheduler_useschedulereditslotformitemcontext %}) and [SchedulerEditSlotFormItemContext]({% slug api_scheduler_schedulereditslotformitemcontext %}).
|
|
19
|
-
// */
|
|
20
|
-
// export type SchedulerEditSlotFormItemContextType
|
|
21
|
-
// = [DataItem | null, (event?: any) => void];
|
|
22
|
-
// /**
|
|
23
|
-
// * A [React Context](https://reactjs.org/docs/context.html) providing access to the [SchedulerEditSlot]({% slug api_scheduler_schedulereditslot %}) internal `formItem` state.
|
|
24
|
-
// *
|
|
25
|
-
// * For more information, refer to the [Slots Context]({% slug state-update_slots_scheduler %}) article.
|
|
26
|
-
// */
|
|
27
|
-
// export const SchedulerEditSlotFormItemContext =
|
|
28
|
-
// React.createContext<SchedulerEditSlotFormItemContextType>([null] as any);
|
|
29
|
-
// /**
|
|
30
|
-
// * A custom [React Hook](https://reactjs.org/docs/hooks-intro.html) providing access to the [SchedulerEditSlot]({% slug api_scheduler_schedulereditslot %}) internal `formItem` state.
|
|
31
|
-
// *
|
|
32
|
-
// * For more information, refer to the [Slots Context]({% slug state-update_slots_scheduler %}) article.
|
|
33
|
-
// *
|
|
34
|
-
// * @returns
|
|
35
|
-
// */
|
|
36
|
-
// export const useSchedulerEditSlotFormItemContext = () => React.useContext(SchedulerEditSlotFormItemContext);
|
|
37
|
-
// SchedulerEditSlotFormItemContext.displayName = 'SchedulerEditSlotFormItemContext';
|
|
38
|
-
|
|
39
1
|
/** @hidden */
|
|
40
2
|
export var SchedulerEditSlotContext = function SchedulerEditSlotContext(_a) {
|
|
41
|
-
return []
|
|
42
|
-
// <SchedulerEditSlotFormItemContext.Provider value={form}>
|
|
43
|
-
// {children}
|
|
44
|
-
// </SchedulerEditSlotFormItemContext.Provider>
|
|
45
|
-
// </SchedulerEditSlotPropsContext.Provider>
|
|
46
|
-
;
|
|
3
|
+
return [];
|
|
47
4
|
};
|
|
@@ -9,5 +9,4 @@ export interface SchedulerEditTaskContextProps {
|
|
|
9
9
|
/** @hidden */
|
|
10
10
|
export declare type SchedulerEditTaskRemoveItemContextType = [DataItem | null, (event?: any) => void];
|
|
11
11
|
/** @hidden */
|
|
12
|
-
/** @hidden */
|
|
13
12
|
export declare const SchedulerEditTaskContext: (_props: SchedulerEditTaskContextProps) => any[];
|
|
@@ -1,36 +1,4 @@
|
|
|
1
|
-
/** @hidden */
|
|
2
|
-
// export const SchedulerEditTaskRemoveItemContext
|
|
3
|
-
// = React.createContext<SchedulerEditTaskRemoveItemContextType>([null] as any);
|
|
4
|
-
// /** @hidden */
|
|
5
|
-
// export const useSchedulerEditTaskRemoveItemContext
|
|
6
|
-
// = () => React.useContext(SchedulerEditTaskRemoveItemContext);
|
|
7
|
-
// /** @hidden */
|
|
8
|
-
// export type SchedulerEditTaskShowRemoveDialogContextType
|
|
9
|
-
// = [boolean, (event?: any) => void];
|
|
10
|
-
// /** @hidden */
|
|
11
|
-
// export const SchedulerEditTaskShowRemoveDialogContext
|
|
12
|
-
// = React.createContext<SchedulerEditTaskShowRemoveDialogContextType>([false] as any);
|
|
13
|
-
// /** @hidden */
|
|
14
|
-
// export const useSchedulerEditTaskShowRemoveDialogContext
|
|
15
|
-
// = () => React.useContext(SchedulerEditTaskShowRemoveDialogContext);
|
|
16
|
-
// /** @hidden */
|
|
17
|
-
// export type SchedulerEditTaskShowOccurrenceDialogContextType
|
|
18
|
-
// = [boolean, (event?: any) => void];
|
|
19
|
-
// /** @hidden */
|
|
20
|
-
// export const SchedulerEditTaskShowOccurrenceDialogContext
|
|
21
|
-
// = React.createContext<SchedulerEditTaskShowOccurrenceDialogContextType>([false] as any);
|
|
22
|
-
// /** @hidden */
|
|
23
|
-
// export const useSchedulerEditTaskShowOccurrenceDialogContext
|
|
24
|
-
// = () => React.useContext(SchedulerEditTaskShowOccurrenceDialogContext);
|
|
25
|
-
|
|
26
1
|
/** @hidden */
|
|
27
2
|
export var SchedulerEditTaskContext = function SchedulerEditTaskContext(_props) {
|
|
28
|
-
return []
|
|
29
|
-
// <SchedulerEditTaskShowRemoveDialogContext.Provider value={props.showRemoveDialog}>
|
|
30
|
-
// <SchedulerEditTaskShowOccurrenceDialogContext.Provider value={props.showOccurrenceDialog}>
|
|
31
|
-
// {props.children}
|
|
32
|
-
// </SchedulerEditTaskShowOccurrenceDialogContext.Provider>
|
|
33
|
-
// </SchedulerEditTaskShowRemoveDialogContext.Provider>
|
|
34
|
-
// </SchedulerEditTaskRemoveItemContext.Provider>
|
|
35
|
-
;
|
|
3
|
+
return [];
|
|
36
4
|
};
|