@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
|
@@ -1,95 +1,4 @@
|
|
|
1
|
-
/** @hidden */
|
|
2
|
-
// export const SchedulerViewPropsContext = React.createContext<SchedulerViewPropsContextType>({});
|
|
3
|
-
// /** @hidden */
|
|
4
|
-
// export const useSchedulerViewPropsContext = () => React.useContext(SchedulerViewPropsContext);
|
|
5
|
-
// SchedulerViewPropsContext.displayName = 'SchedulerViewPropsContext';
|
|
6
|
-
// /** @hidden */
|
|
7
|
-
// export type SchedulerViewRangesContextType = Range[];
|
|
8
|
-
// /** @hidden */
|
|
9
|
-
// export const SchedulerViewRangesContext = React.createContext<SchedulerViewRangesContextType>([]);
|
|
10
|
-
// /** @hidden */
|
|
11
|
-
// export const useSchedulerViewRangesContext = () => React.useContext(SchedulerViewRangesContext);
|
|
12
|
-
// SchedulerViewRangesContext.displayName = 'SchedulerViewRangesContext';
|
|
13
|
-
// // Ref
|
|
14
|
-
// /** @hidden */
|
|
15
|
-
// export type SchedulerViewSlotsContextType
|
|
16
|
-
// = [React.RefObject<SchedulerSlotHandle>[], (
|
|
17
|
-
// action: CollectionAction<React.RefObject<SchedulerSlotHandle>>) => void];
|
|
18
|
-
// /** @hidden */
|
|
19
|
-
// export const SchedulerViewSlotsContext = React.createContext<SchedulerViewSlotsContextType>([[], noop]);
|
|
20
|
-
// /** @hidden */
|
|
21
|
-
// export const useSchedulerViewSlotsContext = () => React.useContext(SchedulerViewSlotsContext);
|
|
22
|
-
// SchedulerViewSlotsContext.displayName = 'SchedulerViewSlotsContext';
|
|
23
|
-
// /** @hidden */
|
|
24
|
-
// export type SchedulerViewItemsContextType
|
|
25
|
-
// = [React.RefObject<SchedulerItemHandle>[], (
|
|
26
|
-
// action: CollectionAction<React.RefObject<SchedulerItemHandle>>) => void];
|
|
27
|
-
// /** @hidden */
|
|
28
|
-
// export const SchedulerViewItemsContext = React.createContext<SchedulerViewItemsContextType>([[], noop]);
|
|
29
|
-
// /** @hidden */
|
|
30
|
-
// export const useSchedulerViewItemsContext = () => React.useContext(SchedulerViewItemsContext);
|
|
31
|
-
// SchedulerViewItemsContext.displayName = 'SchedulerViewItemsContext';
|
|
32
|
-
// // State
|
|
33
|
-
// /** @hidden */
|
|
34
|
-
// export type SchedulerViewSelectedSlotsContextType
|
|
35
|
-
// = [React.RefObject<SchedulerSlotHandle>[], (
|
|
36
|
-
// action: SchedulerSlotsSelectAction, event: React.SyntheticEvent) => void];
|
|
37
|
-
// /** @hidden */
|
|
38
|
-
// export const SchedulerViewSelectedSlotsContext =
|
|
39
|
-
// React.createContext<SchedulerViewSelectedSlotsContextType>([[], noop]);
|
|
40
|
-
// /** @hidden */
|
|
41
|
-
// export const useSchedulerViewSelectedSlotsContext = () => React.useContext(SchedulerViewSelectedSlotsContext);
|
|
42
|
-
// SchedulerViewSelectedSlotsContext.displayName = 'SchedulerViewSelectedSlotsContext';
|
|
43
|
-
// /** @hidden */
|
|
44
|
-
// export type SchedulerViewSelectedItemsContextType
|
|
45
|
-
// = [React.RefObject<SchedulerItemHandle>[], (
|
|
46
|
-
// action: SchedulerItemsSelectAction, event: React.SyntheticEvent) => void];
|
|
47
|
-
// /** @hidden */
|
|
48
|
-
// export const SchedulerViewSelectedItemsContext =
|
|
49
|
-
// React.createContext<SchedulerViewSelectedItemsContextType>([[], noop]);
|
|
50
|
-
// /** @hidden */
|
|
51
|
-
// export const useSchedulerViewSelectedItemsContext = () => React.useContext(SchedulerViewSelectedItemsContext);
|
|
52
|
-
// SchedulerViewSelectedItemsContext.displayName = 'SchedulerViewSelectedItemsContext';
|
|
53
|
-
// /** @hidden */
|
|
54
|
-
// export type SchedulerViewFocusedItemsContextType
|
|
55
|
-
// = [React.RefObject<SchedulerItemHandle>[], (
|
|
56
|
-
// action: SchedulerItemsFocusAction, event:
|
|
57
|
-
// React.SyntheticEvent) => void];
|
|
58
|
-
// /** @hidden */
|
|
59
|
-
// export const SchedulerViewFocusedItemsContext =
|
|
60
|
-
// React.createContext<SchedulerViewFocusedItemsContextType>([[], noop]);
|
|
61
|
-
// /** @hidden */
|
|
62
|
-
// export const useSchedulerViewFocusedItemsContext = () => React.useContext(SchedulerViewFocusedItemsContext);
|
|
63
|
-
// SchedulerViewFocusedItemsContext.displayName = 'SchedulerViewFocusedItemsContext';
|
|
64
|
-
// /** @hidden */
|
|
65
|
-
// export type SchedulerViewFocusedSlotsContextType
|
|
66
|
-
// = [React.RefObject<SchedulerSlotHandle>[], (
|
|
67
|
-
// action: SchedulerSlotsFocusAction, event: React.SyntheticEvent) => void];
|
|
68
|
-
// /** @hidden */
|
|
69
|
-
// export const SchedulerViewFocusedSlotsContext =
|
|
70
|
-
// React.createContext<SchedulerViewFocusedSlotsContextType>([[], noop]);
|
|
71
|
-
// /** @hidden */
|
|
72
|
-
// export const useSchedulerViewFocusedSlotsContext = () => React.useContext(SchedulerViewFocusedSlotsContext);
|
|
73
|
-
// SchedulerViewFocusedSlotsContext.displayName = 'SchedulerViewFocusedSlotsContext';
|
|
74
|
-
|
|
75
1
|
/** @hidden */
|
|
76
2
|
export var SchedulerViewContext = function SchedulerViewContext(_a) {
|
|
77
|
-
return []
|
|
78
|
-
// <SchedulerViewRangesContext.Provider value={ranges}>
|
|
79
|
-
// <SchedulerViewSlotsContext.Provider value={slots}>
|
|
80
|
-
// <SchedulerViewItemsContext.Provider value={items}>
|
|
81
|
-
// <SchedulerViewSelectedSlotsContext.Provider value={selectedSlots}>
|
|
82
|
-
// <SchedulerViewSelectedItemsContext.Provider value={selectedItems}>
|
|
83
|
-
// <SchedulerViewFocusedItemsContext.Provider value={focusedItems}>
|
|
84
|
-
// <SchedulerViewFocusedSlotsContext.Provider value={focusedSlots}>
|
|
85
|
-
// {children}
|
|
86
|
-
// </SchedulerViewFocusedSlotsContext.Provider>
|
|
87
|
-
// </SchedulerViewFocusedItemsContext.Provider>
|
|
88
|
-
// </SchedulerViewSelectedItemsContext.Provider>
|
|
89
|
-
// </SchedulerViewSelectedSlotsContext.Provider>
|
|
90
|
-
// </SchedulerViewItemsContext.Provider>
|
|
91
|
-
// </SchedulerViewSlotsContext.Provider>
|
|
92
|
-
// </SchedulerViewRangesContext.Provider>
|
|
93
|
-
// </SchedulerViewPropsContext.Provider>
|
|
94
|
-
;
|
|
3
|
+
return [];
|
|
95
4
|
};
|