schedulant 2.0.7-fixed.4 → 2.0.7-fixed.4.1
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/components/datagrid/body-cell.d.ts +2 -2
- package/dist/components/timeline/timeline-checkpoint-harness.d.ts +2 -2
- package/dist/components/timeline/timeline-event-harness.d.ts +2 -2
- package/dist/components/timeline/timeline-milestone-harness.d.ts +2 -2
- package/dist/context/schedulant-context.d.ts +2 -6
- package/dist/hooks/use-schedulant-context.d.ts +2 -0
- package/dist/schedulant.js +3749 -3733
- package/package.json +1 -1
|
@@ -3,7 +3,7 @@ import { ResourceApi, ResourceAreaColumn } from '../../types/resource.ts';
|
|
|
3
3
|
import { ResizerMouseDownFunc, ResizerMouseUp } from '../../hooks/use-resource-area-resizer.ts';
|
|
4
4
|
import { DropPosition } from '../../hooks/use-move-resource.tsx';
|
|
5
5
|
import { UniqueIdentifier } from '@dnd-kit/core';
|
|
6
|
-
export declare const BodyCell: (props: {
|
|
6
|
+
export declare const BodyCell: import('react').MemoExoticComponent<(props: {
|
|
7
7
|
schedulantApi: SchedulantApi;
|
|
8
8
|
resourceApi: ResourceApi;
|
|
9
9
|
collapseIds: Array<string>;
|
|
@@ -17,4 +17,4 @@ export declare const BodyCell: (props: {
|
|
|
17
17
|
activeId?: UniqueIdentifier | null;
|
|
18
18
|
overId?: UniqueIdentifier | null;
|
|
19
19
|
dropPosition?: DropPosition | null;
|
|
20
|
-
}) => import("react/jsx-runtime").JSX.Element
|
|
20
|
+
}) => import("react/jsx-runtime").JSX.Element>;
|
|
@@ -1,9 +1,9 @@
|
|
|
1
1
|
import { CheckpointApi } from '../../types/checkpoint.ts';
|
|
2
2
|
import { SchedulantApi } from '../../types/schedulant.ts';
|
|
3
3
|
import { Position } from '../../types/base.ts';
|
|
4
|
-
export declare const TimelineCheckpointHarness: (props: {
|
|
4
|
+
export declare const TimelineCheckpointHarness: import('react').MemoExoticComponent<(props: {
|
|
5
5
|
schedulantApi: SchedulantApi;
|
|
6
6
|
checkpointApi: CheckpointApi;
|
|
7
7
|
timelineWidth: number;
|
|
8
8
|
position: Position;
|
|
9
|
-
}) => import("react/jsx-runtime").JSX.Element
|
|
9
|
+
}) => import("react/jsx-runtime").JSX.Element>;
|
|
@@ -2,10 +2,10 @@ import { EventApi } from '../../types/event.ts';
|
|
|
2
2
|
import { ResourceApi } from '../../types/resource.ts';
|
|
3
3
|
import { SchedulantApi } from '../../types/schedulant.ts';
|
|
4
4
|
import { Position } from '../../types/base.ts';
|
|
5
|
-
export declare const TimelineEventHarness: (props: {
|
|
5
|
+
export declare const TimelineEventHarness: import('react').MemoExoticComponent<(props: {
|
|
6
6
|
schedulantApi: SchedulantApi;
|
|
7
7
|
resourceApi: ResourceApi;
|
|
8
8
|
eventApi: EventApi;
|
|
9
9
|
timelineWidth: number;
|
|
10
10
|
position: Position;
|
|
11
|
-
}) => import("react/jsx-runtime").JSX.Element
|
|
11
|
+
}) => import("react/jsx-runtime").JSX.Element>;
|
|
@@ -1,9 +1,9 @@
|
|
|
1
1
|
import { Position } from '../../types/base';
|
|
2
2
|
import { MilestoneApi } from '../../types/milestone.ts';
|
|
3
3
|
import { SchedulantApi } from '../../types/schedulant.ts';
|
|
4
|
-
export declare const TimelineMilestoneHarness: (props: {
|
|
4
|
+
export declare const TimelineMilestoneHarness: import('react').MemoExoticComponent<(props: {
|
|
5
5
|
schedulantApi: SchedulantApi;
|
|
6
6
|
milestoneApi: MilestoneApi;
|
|
7
7
|
timelineWidth: number;
|
|
8
8
|
position: Position;
|
|
9
|
-
}) => import("react/jsx-runtime").JSX.Element
|
|
9
|
+
}) => import("react/jsx-runtime").JSX.Element>;
|
|
@@ -1,8 +1,4 @@
|
|
|
1
1
|
import { Dispatch } from 'react';
|
|
2
2
|
import { Action, SchedulantState } from './schedulant-state.tsx';
|
|
3
|
-
|
|
4
|
-
|
|
5
|
-
dispatch: Dispatch<Action>;
|
|
6
|
-
};
|
|
7
|
-
export declare const SchedulantContext: import('react').Context<SchedulantContextType | undefined>;
|
|
8
|
-
export {};
|
|
3
|
+
export declare const SchedulantStateContext: import('react').Context<SchedulantState | undefined>;
|
|
4
|
+
export declare const SchedulantDispatchContext: import('react').Context<Dispatch<Action> | undefined>;
|
|
@@ -1,3 +1,5 @@
|
|
|
1
|
+
export declare const useSchedulantState: () => import('../context/schedulant-state').SchedulantState;
|
|
2
|
+
export declare const useSchedulantDispatch: () => import('react').Dispatch<import('../context/schedulant-state').Action>;
|
|
1
3
|
export declare const useSchedulantContext: () => {
|
|
2
4
|
state: import('../context/schedulant-state').SchedulantState;
|
|
3
5
|
dispatch: import('react').Dispatch<import('../context/schedulant-state').Action>;
|