schedulant 2.0.7-fixed.5 → 2.0.7-fixed.5.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.
@@ -1,8 +1,8 @@
1
1
  import { Dayjs } from 'dayjs';
2
2
  import { SchedulantApi } from '../../types/schedulant.ts';
3
- export declare const TimelineBodySlot: (props: {
3
+ export declare const TimelineBodySlot: import('react').MemoExoticComponent<(props: {
4
4
  date: Dayjs;
5
5
  dataDate: string;
6
6
  classNames: string[];
7
7
  schedulantApi: SchedulantApi;
8
- }) => import("react/jsx-runtime").JSX.Element;
8
+ }) => 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>;
@@ -0,0 +1,19 @@
1
+ /** Height multiplier for lanes containing milestones */
2
+ export declare const MILESTONE_LANE_HEIGHT_MULTIPLIER = 1.5;
3
+ /** Ratio of event bar height relative to lane height */
4
+ export declare const EVENT_HEIGHT_RATIO = 0.7;
5
+ /** Width in pixels for resize handles on events */
6
+ export declare const RESIZE_HANDLE_WIDTH = 10;
7
+ /** Throttle interval in ms for drag mousemove handlers (~60fps) */
8
+ export declare const DRAG_THROTTLE_MS = 16;
9
+ /** Pixel offset for schedulant layout height calculation (border + padding compensation) */
10
+ export declare const SCHEDULANT_HEIGHT_OFFSET = 13;
11
+ /** Top offset ratio for milestone harness positioning */
12
+ export declare const MILESTONE_TOP_OFFSET_RATIO = 0.1;
13
+ /** Size ratio for milestone flag icon relative to lane height */
14
+ export declare const MILESTONE_ICON_SIZE_RATIO = 0.5;
15
+ /** Drop position threshold ratios for drag-and-drop resource reordering */
16
+ export declare const DROP_POSITION_BEFORE_THRESHOLD = 0.25;
17
+ export declare const DROP_POSITION_AFTER_THRESHOLD = 0.75;
18
+ /** Minimum width in pixels for datagrid columns */
19
+ export declare const DATAGRID_COLUMN_MIN_WIDTH = 100;