schedulant 1.0.0-alpha.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.
Files changed (64) hide show
  1. package/LICENSE +21 -0
  2. package/README.md +46 -0
  3. package/dist/components/datagrid/body-cell.d.ts +10 -0
  4. package/dist/components/datagrid/datagrid-body.d.ts +4 -0
  5. package/dist/components/datagrid/datagrid-colgroup.d.ts +4 -0
  6. package/dist/components/datagrid/datagrid-head.d.ts +4 -0
  7. package/dist/components/datagrid/head-cell.d.ts +7 -0
  8. package/dist/components/schedulant.d.ts +2 -0
  9. package/dist/components/timeline/timeline-body-slot.d.ts +6 -0
  10. package/dist/components/timeline/timeline-body.d.ts +4 -0
  11. package/dist/components/timeline/timeline-checkpoint-harness.d.ts +9 -0
  12. package/dist/components/timeline/timeline-colgroup.d.ts +5 -0
  13. package/dist/components/timeline/timeline-drawing-board.d.ts +4 -0
  14. package/dist/components/timeline/timeline-event-harness.d.ts +11 -0
  15. package/dist/components/timeline/timeline-header-slot.d.ts +9 -0
  16. package/dist/components/timeline/timeline-header.d.ts +4 -0
  17. package/dist/components/timeline/timeline-lane.d.ts +7 -0
  18. package/dist/components/timeline/timeline-milestone-harness.d.ts +9 -0
  19. package/dist/context/schedulant-context.d.ts +8 -0
  20. package/dist/context/schedulant-provider.d.ts +4 -0
  21. package/dist/context/schedulant-reducer.d.ts +2 -0
  22. package/dist/context/schedulant-state.d.ts +21 -0
  23. package/dist/hooks/mounts/use-checkpoint-mount.d.ts +8 -0
  24. package/dist/hooks/mounts/use-event-mount.d.ts +8 -0
  25. package/dist/hooks/mounts/use-milestone-mount.d.ts +8 -0
  26. package/dist/hooks/mounts/use-resource-label-mount.d.ts +4 -0
  27. package/dist/hooks/mounts/use-resource-lane-mount.d.ts +4 -0
  28. package/dist/hooks/mounts/use-schedulant-mount.d.ts +3 -0
  29. package/dist/hooks/use-move-timeline-event.d.ts +15 -0
  30. package/dist/hooks/use-move-timeline-marker.d.ts +14 -0
  31. package/dist/hooks/use-resource-area-width.d.ts +2 -0
  32. package/dist/hooks/use-schedulant-context.d.ts +4 -0
  33. package/dist/hooks/use-schedulant-height.d.ts +1 -0
  34. package/dist/hooks/use-sync-scroll.d.ts +2 -0
  35. package/dist/hooks/use-timeline-width.d.ts +1 -0
  36. package/dist/icons/drag-icon.d.ts +5 -0
  37. package/dist/icons/droplet-icon.d.ts +5 -0
  38. package/dist/icons/flag-icon.d.ts +5 -0
  39. package/dist/icons/triangle-left-icon.d.ts +5 -0
  40. package/dist/icons/triangle-right-icon.d.ts +5 -0
  41. package/dist/schedulant.css +1 -0
  42. package/dist/schedulant.d.ts +8 -0
  43. package/dist/schedulant.js +19898 -0
  44. package/dist/types/base.d.ts +41 -0
  45. package/dist/types/checkpoint.d.ts +47 -0
  46. package/dist/types/day-timeline-view.d.ts +12 -0
  47. package/dist/types/event.d.ts +66 -0
  48. package/dist/types/index.d.ts +7 -0
  49. package/dist/types/milestone.d.ts +51 -0
  50. package/dist/types/misc.d.ts +8 -0
  51. package/dist/types/month-timeline-view.d.ts +12 -0
  52. package/dist/types/option.d.ts +10 -0
  53. package/dist/types/quarter-timeline-view.d.ts +12 -0
  54. package/dist/types/resource.d.ts +85 -0
  55. package/dist/types/schedulant-view.d.ts +20 -0
  56. package/dist/types/schedulant.d.ts +143 -0
  57. package/dist/types/timeline-view.d.ts +24 -0
  58. package/dist/types/timeline.d.ts +75 -0
  59. package/dist/types/week-timeline-view.d.ts +12 -0
  60. package/dist/types/year-timeline-view.d.ts +12 -0
  61. package/dist/utils/array.d.ts +1 -0
  62. package/dist/utils/dom.d.ts +3 -0
  63. package/dist/utils/if.d.ts +6 -0
  64. package/package.json +58 -0
package/LICENSE ADDED
@@ -0,0 +1,21 @@
1
+ MIT License
2
+
3
+ Copyright (c) 2024 mengen.dai
4
+
5
+ Permission is hereby granted, free of charge, to any person obtaining a copy
6
+ of this software and associated documentation files (the "Software"), to deal
7
+ in the Software without restriction, including without limitation the rights
8
+ to use, copy, modify, merge, publish, distribute, sublicense, and/or sell
9
+ copies of the Software, and to permit persons to whom the Software is
10
+ furnished to do so, subject to the following conditions:
11
+
12
+ The above copyright notice and this permission notice shall be included in all
13
+ copies or substantial portions of the Software.
14
+
15
+ THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR
16
+ IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY,
17
+ FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE
18
+ AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER
19
+ LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM,
20
+ OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE
21
+ SOFTWARE.
package/README.md ADDED
@@ -0,0 +1,46 @@
1
+ # Schedulant
2
+ Author: Mengen.dai
3
+
4
+ WeChart: DME_000000
5
+
6
+ Email: mengen.dai@outlook.com
7
+
8
+ Note: Schedulant is a project based on Typescript React, it is designed specifically for React projects, so it cannot work properly in non-React projects.
9
+
10
+ ## What is Schedulant
11
+ * Schedulant is a fully responsive Gantt Chart React Component, designed specifically for project management and scheduling. It includes two sections: the left side outlines a list of tasks, while the right side has a timeline with schedule bars that visualize work.
12
+ * Schedulant can assist you in planning for the success of each project. The flexible Gantt Chart in Full Schedule allows you easily collaborate with your team on the timeline, track the progress of projects, and keep the team's workflow running smoothly and efficiently.
13
+
14
+ ## Version
15
+ * Alpha:
16
+ * Stage: Early development phase.
17
+ * Description: The software may not yet have complete functionality and might contain many unresolved bugs. Typically used for internal testing only.
18
+ * Naming Example: 1.0.0-alpha1, 1.0.0-alpha2
19
+ * Stage: Feature-complete phase.
20
+ * Description: The main focus is on bug fixes and performance optimization. Usually offered to a small group of users for testing.
21
+ * Naming Example: 1.0.0-beta1, 1.0.0-beta2
22
+ * Release Candidate (RC):
23
+ * Stage: Pre-release phase.
24
+ * Description: The software is close to the final version, and if no major issues are found, this version could become the official release.
25
+ * Naming Example: 1.0.0-rc1, 1.0.0-rc2
26
+ * Release:
27
+ * Stage: Official release.
28
+ * Description: The version is fully tested and ready for production, available to all users.
29
+ * Naming Example: 1.0.0, 1.1.0
30
+ * Hotfix:
31
+ * Stage: Emergency bug fix.
32
+ * Description: Used to quickly address critical bugs or security issues in a released version, with minimal changes to other parts of the code.
33
+ * Naming Example: 1.0.1, 1.0.2
34
+ * Patch:
35
+ * Stage: Minor update.
36
+ * Description: Involves small bug fixes or minor feature enhancements, ensuring stability and continuous improvement of the software.
37
+ * Naming Example: 1.1.1, 1.1.2
38
+
39
+ ## Key Features
40
+ * Schedulant supports simple configuration. This means that developers can quickly start using Full Schedule without the need for complex setup or installation processes.
41
+ * Schedulant supports custom **holiday** configuration for the timeline. This means that developers can add specifically holiday information to the timeline according to their needs, making schedule management more flexible and personalized.
42
+ * Schedulant supports visualizing important dates, checkpoints, and milestones to ensure tasks are completed on time.
43
+ * Schedulant supports users in modifying the position of **events**, **milestones**, and **checkpoints** on the timeline by **dragging** with the mouse.
44
+ * Schedulant supports **day**, **month**, **quarter**, and **year** views. This means that users can choose the view that best suits their needs and preferences to view and manage their schedule.
45
+ * Schedulant supports **exporting images**. This means that users can export their schedule or project timeline in the form of images, which is convenient for sharing and archiving.
46
+ * Schedulant supports **customizing row height and column width**. This means that users can adjust the row height and column width of the schedule according to their needs and preferences, making the display of the schedule more in line with their visual habits.
@@ -0,0 +1,10 @@
1
+ import { SchedulantApi } from '../../types/schedulant.ts';
2
+ import { ResourceApi, ResourceAreaColumn } from '../../types/resource.ts';
3
+ export declare const BodyCell: (props: {
4
+ schedulantApi: SchedulantApi;
5
+ resourceApi: ResourceApi;
6
+ collapseIds: Array<string>;
7
+ showPlusSquare: boolean;
8
+ showIndentation: boolean;
9
+ resourceAreaColumn: ResourceAreaColumn;
10
+ }) => import("react/jsx-runtime").JSX.Element;
@@ -0,0 +1,4 @@
1
+ import { SchedulantView } from '../../types/schedulant-view.tsx';
2
+ export declare const DatagridBody: (props: {
3
+ schedulantView: SchedulantView;
4
+ }) => import("react/jsx-runtime").JSX.Element;
@@ -0,0 +1,4 @@
1
+ import { ResourceAreaColumn } from '../../types/resource.ts';
2
+ export declare const DatagridColgroup: (props: {
3
+ resourceAreaColumns: ResourceAreaColumn[];
4
+ }) => import("react/jsx-runtime").JSX.Element;
@@ -0,0 +1,4 @@
1
+ import { SchedulantView } from '../../types/schedulant-view.tsx';
2
+ export declare const DatagridHead: (props: {
3
+ schedulantView: SchedulantView;
4
+ }) => import("react/jsx-runtime").JSX.Element;
@@ -0,0 +1,7 @@
1
+ import { ResourceAreaColumn } from '../../types/resource.ts';
2
+ import { SchedulantApi } from '../../types/schedulant.ts';
3
+ export declare const HeadCell: (props: {
4
+ schedulantApi: SchedulantApi;
5
+ resourceAreaColumn: ResourceAreaColumn;
6
+ isResizable: boolean;
7
+ }) => import("react/jsx-runtime").JSX.Element;
@@ -0,0 +1,2 @@
1
+ import { SchedulantProps } from '../types';
2
+ export declare const Schedulant: (props: SchedulantProps) => import("react/jsx-runtime").JSX.Element;
@@ -0,0 +1,6 @@
1
+ import { Dayjs } from 'dayjs';
2
+ export declare const TimelineBodySlot: (props: {
3
+ date: Dayjs;
4
+ dataDate: string;
5
+ classNames: string[];
6
+ }) => import("react/jsx-runtime").JSX.Element;
@@ -0,0 +1,4 @@
1
+ import { SchedulantView } from '../../types/schedulant-view.tsx';
2
+ export declare const TimelineBody: (props: {
3
+ schedulantView: SchedulantView;
4
+ }) => import("react/jsx-runtime").JSX.Element;
@@ -0,0 +1,9 @@
1
+ import { CheckpointApi } from '../../types/checkpoint.ts';
2
+ import { SchedulantApi } from '../../types/schedulant.ts';
3
+ import { Position } from '../../types/base.ts';
4
+ export declare const TimelineCheckpointHarness: (props: {
5
+ schedulantApi: SchedulantApi;
6
+ checkpointApi: CheckpointApi;
7
+ timelineWidth: number;
8
+ position: Position;
9
+ }) => import("react/jsx-runtime").JSX.Element;
@@ -0,0 +1,5 @@
1
+ import { Dayjs } from 'dayjs';
2
+ export declare const TimelineColgroup: (props: {
3
+ dates: Dayjs[];
4
+ minWidth: number;
5
+ }) => import("react/jsx-runtime").JSX.Element;
@@ -0,0 +1,4 @@
1
+ import { SchedulantView } from '../../types/schedulant-view.tsx';
2
+ export declare const TimelineDrawingBoard: (props: {
3
+ schedulantView: SchedulantView;
4
+ }) => import("react/jsx-runtime").JSX.Element;
@@ -0,0 +1,11 @@
1
+ import { EventApi } from '../../types/event.ts';
2
+ import { ResourceApi } from '../../types/resource.ts';
3
+ import { SchedulantApi } from '../../types/schedulant.ts';
4
+ import { Position } from '../../types/base.ts';
5
+ export declare const TimelineEventHarness: (props: {
6
+ schedulantApi: SchedulantApi;
7
+ resourceApi: ResourceApi;
8
+ eventApi: EventApi;
9
+ timelineWidth: number;
10
+ position: Position;
11
+ }) => import("react/jsx-runtime").JSX.Element;
@@ -0,0 +1,9 @@
1
+ import { Dayjs } from 'dayjs';
2
+ export declare const TimelineHeaderSlot: (props: {
3
+ date: Dayjs;
4
+ level: number;
5
+ colSpan: number;
6
+ timeText: string;
7
+ dataDate: string;
8
+ classNames: string[];
9
+ }) => import("react/jsx-runtime").JSX.Element;
@@ -0,0 +1,4 @@
1
+ import { SchedulantView } from '../../types/schedulant-view.tsx';
2
+ export declare const TimelineHeader: (props: {
3
+ schedulantView: SchedulantView;
4
+ }) => import("react/jsx-runtime").JSX.Element;
@@ -0,0 +1,7 @@
1
+ import { ResourceApi } from '../../types/resource.ts';
2
+ import { SchedulantApi } from '../../types/schedulant.ts';
3
+ export declare const TimelineLane: (props: {
4
+ schedulantApi: SchedulantApi;
5
+ resourceApi: ResourceApi;
6
+ timelineWidth: number;
7
+ }) => import("react/jsx-runtime").JSX.Element;
@@ -0,0 +1,9 @@
1
+ import { Position } from '../../types/base';
2
+ import { MilestoneApi } from '../../types/milestone.ts';
3
+ import { SchedulantApi } from '../../types/schedulant.ts';
4
+ export declare const TimelineMilestoneHarness: (props: {
5
+ schedulantApi: SchedulantApi;
6
+ milestoneApi: MilestoneApi;
7
+ timelineWidth: number;
8
+ position: Position;
9
+ }) => import("react/jsx-runtime").JSX.Element;
@@ -0,0 +1,8 @@
1
+ import { Dispatch } from 'react';
2
+ import { Action, SchedulantState } from './schedulant-state.tsx';
3
+ type SchedulantContextType = {
4
+ state: SchedulantState;
5
+ dispatch: Dispatch<Action>;
6
+ };
7
+ export declare const SchedulantContext: import('react').Context<SchedulantContextType | undefined>;
8
+ export {};
@@ -0,0 +1,4 @@
1
+ import { ReactNode } from 'react';
2
+ export declare const SchedulantProvider: ({ children }: {
3
+ children: ReactNode;
4
+ }) => import("react/jsx-runtime").JSX.Element;
@@ -0,0 +1,2 @@
1
+ import { Action, SchedulantState } from './schedulant-state.tsx';
2
+ export declare const SchedulantReducer: (state: SchedulantState, action: Action) => SchedulantState;
@@ -0,0 +1,21 @@
1
+ export type SchedulantState = {
2
+ collapseIds: string[];
3
+ resourceAreaWidth: string;
4
+ };
5
+ export type Action = {
6
+ type: typeof ActionTypes.EXPAND_RESOURCE;
7
+ id: string;
8
+ } | {
9
+ type: typeof ActionTypes.COLLAPSE_RESOURCE;
10
+ id: string;
11
+ } | {
12
+ type: typeof ActionTypes.SET_RESOURCE_AREA_WIDTH;
13
+ width: string;
14
+ };
15
+ export declare const ActionTypes: {
16
+ readonly EXPAND_RESOURCE: "EXPAND_RESOURCE";
17
+ readonly COLLAPSE_RESOURCE: "COLLAPSE_RESOURCE";
18
+ readonly SET_RESOURCE_AREA_WIDTH: "SET_RESOURCE_AREA_WIDTH";
19
+ };
20
+ export declare const SCHEDULANT_LOCAL_STORAGE_KEY = "schedulant.state";
21
+ export declare const InitialState: () => SchedulantState;
@@ -0,0 +1,8 @@
1
+ import { default as React } from 'react';
2
+ import { SchedulantApi } from '../../types/schedulant.ts';
3
+ import { CheckpointApi } from '../../types/checkpoint.ts';
4
+ export declare const useCheckpointMount: (timelineCheckpointRef: React.MutableRefObject<HTMLDivElement | null>, schedulantApi: SchedulantApi, checkpointApi: CheckpointApi) => {
5
+ isPast: boolean;
6
+ isFuture: boolean;
7
+ isProcess: boolean;
8
+ };
@@ -0,0 +1,8 @@
1
+ import { default as React } from 'react';
2
+ import { SchedulantApi } from '../../types/schedulant.ts';
3
+ import { EventApi } from '../../types/event.ts';
4
+ export declare const useEventMount: (timelineEventRef: React.MutableRefObject<HTMLDivElement | null>, schedulantApi: SchedulantApi, eventApi: EventApi) => {
5
+ isPast: boolean;
6
+ isFuture: boolean;
7
+ isProcess: boolean;
8
+ };
@@ -0,0 +1,8 @@
1
+ import { default as React } from 'react';
2
+ import { SchedulantApi } from '../../types/schedulant.ts';
3
+ import { MilestoneApi } from '../../types/milestone.ts';
4
+ export declare const useMilestoneMount: (timelineMilestoneRef: React.MutableRefObject<HTMLDivElement | null>, schedulantApi: SchedulantApi, milestoneApi: MilestoneApi) => {
5
+ isPast: boolean;
6
+ isFuture: boolean;
7
+ isProcess: boolean;
8
+ };
@@ -0,0 +1,4 @@
1
+ import { default as React } from 'react';
2
+ import { ResourceAreaColumn } from '../../types/resource.ts';
3
+ import { SchedulantApi } from '../../types/schedulant.ts';
4
+ export declare const useResourceLabelMount: (resourceLabelCellRef: React.MutableRefObject<HTMLDivElement | null>, resourceAreaColumn: ResourceAreaColumn, schedulantApi: SchedulantApi) => void;
@@ -0,0 +1,4 @@
1
+ import { default as React } from 'react';
2
+ import { SchedulantApi } from '../../types/schedulant.ts';
3
+ import { ResourceApi, ResourceAreaColumn } from '../../types/resource.ts';
4
+ export declare const useResourceLaneMount: (resourceLaneCellRef: React.MutableRefObject<HTMLDivElement | null>, resourceAreaColumn: ResourceAreaColumn, schedulantApi: SchedulantApi, resourceApi: ResourceApi) => void;
@@ -0,0 +1,3 @@
1
+ import { MutableRefObject } from 'react';
2
+ import { SchedulantView } from '../../types/schedulant-view.tsx';
3
+ export declare const useSchedulantMount: (schedulantElRef: MutableRefObject<HTMLDivElement | null>, scheduleView: SchedulantView) => void;
@@ -0,0 +1,15 @@
1
+ import { default as React } from 'react';
2
+ import { SchedulantApi } from '../types/schedulant.ts';
3
+ import { EventApi } from '../types/event.ts';
4
+ import { ResourceApi } from '../types/resource.ts';
5
+ export declare const useMoveTimelineEvent: (props: {
6
+ timelineEventHarnessRef: React.MutableRefObject<HTMLDivElement | null>;
7
+ timelineWidth: number;
8
+ eventApi: EventApi;
9
+ resourceApi: ResourceApi;
10
+ schedulantApi: SchedulantApi;
11
+ }) => {
12
+ handleMouseDown: React.MouseEventHandler<HTMLDivElement>;
13
+ leftHandleMouseDown: React.MouseEventHandler<HTMLDivElement>;
14
+ rightHandleMouseDown: React.MouseEventHandler<HTMLDivElement>;
15
+ };
@@ -0,0 +1,14 @@
1
+ import { default as React } from 'react';
2
+ import { SchedulantApi } from '../types/schedulant.ts';
3
+ import { MilestoneApi } from '../types/milestone.ts';
4
+ import { CheckpointApi } from '../types/checkpoint.ts';
5
+ export declare const useMoveTimelineMarker: (props: {
6
+ markerRef: React.MutableRefObject<HTMLDivElement | null>;
7
+ timelineWidth: number;
8
+ schedulantApi: SchedulantApi;
9
+ milestoneApi?: MilestoneApi;
10
+ checkpointApi?: CheckpointApi;
11
+ }) => {
12
+ handleMouseUp: React.MouseEventHandler<HTMLDivElement>;
13
+ handleMouseDown: React.MouseEventHandler<HTMLDivElement>;
14
+ };
@@ -0,0 +1,2 @@
1
+ import { MutableRefObject } from 'react';
2
+ export declare const useResourceAreaWidth: (resourceAreaColRef: MutableRefObject<HTMLTableColElement | null>, resourceAreaWidth?: string) => void;
@@ -0,0 +1,4 @@
1
+ export declare const useSchedulantContext: () => {
2
+ state: import('../context/schedulant-state').SchedulantState;
3
+ dispatch: import('react').Dispatch<import('../context/schedulant-state').Action>;
4
+ };
@@ -0,0 +1 @@
1
+ export declare const useSchedulantHeight: (schedulantMaxHeight: number) => void;
@@ -0,0 +1,2 @@
1
+ import { RefObject } from 'react';
2
+ export declare const useSyncScroll: (mainContainer: RefObject<HTMLDivElement>, otherContainers: Array<RefObject<HTMLDivElement>>, type: string) => void;
@@ -0,0 +1 @@
1
+ export declare const useTimelineWidth: () => number;
@@ -0,0 +1,5 @@
1
+ export declare const DragIcon: (props: {
2
+ width: number;
3
+ height: number;
4
+ color: string;
5
+ }) => import("react/jsx-runtime").JSX.Element;
@@ -0,0 +1,5 @@
1
+ export declare const DropletIcon: (props: {
2
+ width: number;
3
+ height: number;
4
+ color: string;
5
+ }) => import("react/jsx-runtime").JSX.Element;
@@ -0,0 +1,5 @@
1
+ export declare const FlagIcon: (props: {
2
+ width: number;
3
+ height: number;
4
+ color: string;
5
+ }) => import("react/jsx-runtime").JSX.Element;
@@ -0,0 +1,5 @@
1
+ export declare const TriangleLeftIcon: (props: {
2
+ width: number;
3
+ height: number;
4
+ color: string;
5
+ }) => import("react/jsx-runtime").JSX.Element;
@@ -0,0 +1,5 @@
1
+ export declare const TriangleRightIcon: (props: {
2
+ width: number;
3
+ height: number;
4
+ color: string;
5
+ }) => import("react/jsx-runtime").JSX.Element;
@@ -0,0 +1 @@
1
+ ::-webkit-scrollbar{width:10px;height:10px}::-webkit-scrollbar-track{background-color:#f5f5f5}::-webkit-scrollbar-thumb{background:#848484;border-radius:5px;border:2px solid #fff;box-shadow:inset 0 0 5px #0003}::-webkit-scrollbar-thumb:hover{background-color:#91003c}::-webkit-scrollbar-button{display:none}::-webkit-scrollbar-corner{background-color:#f5f5f5}.schedulant,.schedulant *{box-sizing:border-box}.schedulant{direction:ltr;text-align:left;display:flex;flex-direction:column;font-size:1em;position:relative}.schedulant table{border-collapse:collapse;border-spacing:0;font-size:1em;table-layout:fixed;width:100%}.schedulant table td,.schedulant table th{padding:0;border:1px solid #CED4DA}.schedulant table th{text-align:center}.schedulant .schedulant-view-harness{flex-grow:1;position:relative}.schedulant .schedulant-view-harness .schedulant-view{top:0;right:0;bottom:0;left:0;position:absolute}.schedulant .schedulant-view-harness .schedulant-view .schedulant-scrollgrid{height:100%}.schedulant .schedulant-view-harness .schedulant-view .schedulant-scrollgrid .schedulant-scrollgrid-section .schedulant-scroller-harness{height:100%;direction:ltr;overflow:hidden;position:relative}.schedulant .schedulant-view-harness .schedulant-view .schedulant-scrollgrid .schedulant-scrollgrid-section .schedulant-resource-timeline-divider{cursor:col-resize;width:3px;background-color:#e9ecef}.schedulant .schedulant-view-harness .schedulant-view .schedulant-scrollgrid .schedulant-scrollgrid-section .schedulant-datagrid-cell-frame{height:100%;display:flex;justify-content:flex-start;align-items:center;position:relative;cursor:pointer}.schedulant .schedulant-view-harness .schedulant-view .schedulant-scrollgrid .schedulant-scrollgrid-section .schedulant-datagrid-cell-frame .schedulant-datagrid-cell-cushion{overflow:hidden;padding-left:8px;white-space:nowrap}.schedulant .schedulant-view-harness .schedulant-view .schedulant-scrollgrid .schedulant-scrollgrid-section-header>td{border-bottom-style:hidden}.schedulant .schedulant-view-harness .schedulant-view .schedulant-scrollgrid .schedulant-scrollgrid-section-header .schedulant-scroller-harness .schedulant-scroller-header-left{height:100%;overflow:hidden}.schedulant .schedulant-view-harness .schedulant-view .schedulant-scrollgrid .schedulant-scrollgrid-section-header .schedulant-scroller-harness .schedulant-scroller-header-left .schedulant-datagrid-header{height:100%}.schedulant .schedulant-view-harness .schedulant-view .schedulant-scrollgrid .schedulant-scrollgrid-section-header .schedulant-scroller-harness .schedulant-scroller-header-left .schedulant-datagrid-header td,.schedulant .schedulant-view-harness .schedulant-view .schedulant-scrollgrid .schedulant-scrollgrid-section-header .schedulant-scroller-harness .schedulant-scroller-header-left .schedulant-datagrid-header th{border-bottom-style:hidden}.schedulant .schedulant-view-harness .schedulant-view .schedulant-scrollgrid .schedulant-scrollgrid-section-header .schedulant-scroller-harness .schedulant-scroller-header-left .schedulant-datagrid-header .schedulant-datagrid-cell-resizer{position:absolute;top:0;bottom:0;cursor:col-resize;width:10px;z-index:1;right:-5px}.schedulant .schedulant-view-harness .schedulant-view .schedulant-scrollgrid .schedulant-scrollgrid-section-header .schedulant-scroller-harness .schedulant-scroller-header-right{overflow:hidden scroll}.schedulant .schedulant-view-harness .schedulant-view .schedulant-scrollgrid .schedulant-scrollgrid-section-header .schedulant-scroller-harness .schedulant-scroller-header-right .schedulant-timeline-header table tr:last-child td,.schedulant .schedulant-view-harness .schedulant-view .schedulant-scrollgrid .schedulant-scrollgrid-section-header .schedulant-scroller-harness .schedulant-scroller-header-right .schedulant-timeline-header table tr:last-child th{border-bottom-style:hidden}.schedulant .schedulant-view-harness .schedulant-view .schedulant-scrollgrid .schedulant-scrollgrid-section-body .schedulant-scroller-harness .schedulant-scroller-body-left{top:0;right:0;bottom:0;left:0;position:absolute;overflow:scroll}.schedulant .schedulant-view-harness .schedulant-view .schedulant-scrollgrid .schedulant-scrollgrid-section-body .schedulant-scroller-harness .schedulant-scroller-body-left::-webkit-scrollbar{width:0}.schedulant .schedulant-view-harness .schedulant-view .schedulant-scrollgrid .schedulant-scrollgrid-section-body .schedulant-scroller-harness .schedulant-scroller-body-right{top:0;right:0;bottom:0;left:0;position:absolute;overflow:scroll}.schedulant .schedulant-view-harness .schedulant-view .schedulant-scrollgrid .schedulant-scrollgrid-section-body .schedulant-timeline-body{min-height:100%;position:relative;z-index:1}.schedulant .schedulant-view-harness .schedulant-view .schedulant-scrollgrid .schedulant-scrollgrid-section-body .schedulant-timeline-body .schedulant-timeline-slots{position:absolute;top:0;bottom:0;z-index:1}.schedulant .schedulant-view-harness .schedulant-view .schedulant-scrollgrid .schedulant-scrollgrid-section-body .schedulant-timeline-body .schedulant-timeline-slots .schedulant-timeline-slot-frame{height:100%}.schedulant .schedulant-view-harness .schedulant-view .schedulant-scrollgrid .schedulant-scrollgrid-section-body .schedulant-timeline-body .schedulant-timeline-slots>table{height:100%}.schedulant .schedulant-view-harness .schedulant-view .schedulant-scrollgrid .schedulant-scrollgrid-section-body .schedulant-timeline-body .schedulant-timeline-drawing-board .schedulant-timeline-lane-frame{position:relative}.schedulant .schedulant-view-harness .schedulant-view .schedulant-scrollgrid .schedulant-scrollgrid-section-body .schedulant-timeline-body .schedulant-timeline-drawing-board .schedulant-timeline-lane-frame .schedulant-timeline-lane{position:absolute;top:0;right:0;bottom:0;left:0;z-index:1}.schedulant .schedulant-view-harness .schedulant-view .schedulant-scrollgrid .schedulant-scrollgrid-section-body .schedulant-timeline-body .schedulant-timeline-drawing-board .schedulant-timeline-lane-frame .schedulant-timeline-events{position:relative;width:0;z-index:3}.schedulant .schedulant-view-harness .schedulant-view .schedulant-scrollgrid .schedulant-scrollgrid-section-body .schedulant-timeline-body .schedulant-timeline-drawing-board .schedulant-timeline-lane-frame .schedulant-timeline-events .schedulant-timeline-event-harness{position:absolute;z-index:2}.schedulant .schedulant-view-harness .schedulant-view .schedulant-scrollgrid .schedulant-scrollgrid-section-body .schedulant-timeline-body .schedulant-timeline-drawing-board .schedulant-timeline-lane-frame .schedulant-timeline-events .schedulant-timeline-event-harness .schedulant-timeline-event{border-radius:5px;display:flex;justify-content:space-between}.schedulant .schedulant-view-harness .schedulant-view .schedulant-scrollgrid .schedulant-scrollgrid-section-body .schedulant-timeline-body .schedulant-timeline-drawing-board .schedulant-timeline-lane-frame .schedulant-timeline-events .schedulant-timeline-event-harness .schedulant-timeline-event .schedulant-event-main{padding-left:5px;font-size:14px;white-space:nowrap;overflow:hidden;text-overflow:ellipsis}.schedulant .schedulant-view-harness .schedulant-view .schedulant-scrollgrid .schedulant-scrollgrid-section-body .schedulant-timeline-body .schedulant-timeline-drawing-board .schedulant-timeline-lane-frame .schedulant-timeline-milestones{position:relative;width:0;z-index:4}.schedulant .schedulant-view-harness .schedulant-view .schedulant-scrollgrid .schedulant-scrollgrid-section-body .schedulant-timeline-body .schedulant-timeline-drawing-board .schedulant-timeline-lane-frame .schedulant-timeline-milestones .schedulant-timeline-milestone-harness{position:absolute;z-index:2}.schedulant .schedulant-view-harness .schedulant-view .schedulant-scrollgrid .schedulant-scrollgrid-section-body .schedulant-timeline-body .schedulant-timeline-drawing-board .schedulant-timeline-lane-frame .schedulant-timeline-milestones .schedulant-timeline-milestone-harness .schedulant-timeline-milestone{width:100%;text-align:center}.schedulant .schedulant-view-harness .schedulant-view .schedulant-scrollgrid .schedulant-scrollgrid-section-body .schedulant-timeline-body .schedulant-timeline-drawing-board .schedulant-timeline-lane-frame .schedulant-timeline-milestones .schedulant-timeline-milestone-harness .schedulant-timeline-milestone .schedulant-milestone-main svg{transition:transform .3s ease}.schedulant .schedulant-view-harness .schedulant-view .schedulant-scrollgrid .schedulant-scrollgrid-section-body .schedulant-timeline-body .schedulant-timeline-drawing-board .schedulant-timeline-lane-frame .schedulant-timeline-milestones .schedulant-timeline-milestone-harness .schedulant-timeline-milestone .schedulant-milestone-main svg:hover{transform:scale(1.2);cursor:pointer}.schedulant .schedulant-view-harness .schedulant-view .schedulant-scrollgrid .schedulant-scrollgrid-section-body .schedulant-timeline-body .schedulant-timeline-drawing-board .schedulant-timeline-lane-frame .schedulant-timeline-checkpoints{position:relative;width:0;z-index:4}.schedulant .schedulant-view-harness .schedulant-view .schedulant-scrollgrid .schedulant-scrollgrid-section-body .schedulant-timeline-body .schedulant-timeline-drawing-board .schedulant-timeline-lane-frame .schedulant-timeline-checkpoints .schedulant-timeline-checkpoint-harness{position:absolute;z-index:2}.schedulant .schedulant-view-harness .schedulant-view .schedulant-scrollgrid .schedulant-scrollgrid-section-body .schedulant-timeline-body .schedulant-timeline-drawing-board .schedulant-timeline-lane-frame .schedulant-timeline-checkpoints .schedulant-timeline-checkpoint-harness .schedulant-timeline-checkpoint{width:100%;text-align:center}.schedulant .schedulant-view-harness .schedulant-view .schedulant-scrollgrid .schedulant-scrollgrid-section-body .schedulant-timeline-body .schedulant-timeline-drawing-board .schedulant-timeline-lane-frame .schedulant-timeline-checkpoints .schedulant-timeline-checkpoint-harness .schedulant-timeline-checkpoint .schedulant-checkpoint-main svg{transition:transform .3s ease}.schedulant .schedulant-view-harness .schedulant-view .schedulant-scrollgrid .schedulant-scrollgrid-section-body .schedulant-timeline-body .schedulant-timeline-drawing-board .schedulant-timeline-lane-frame .schedulant-timeline-checkpoints .schedulant-timeline-checkpoint-harness .schedulant-timeline-checkpoint .schedulant-checkpoint-main svg:hover{transform:scale(1.2);cursor:pointer}.schedulant .schedulant-view-harness .schedulant-view .schedulant-scrollgrid table{border-left-style:hidden;border-right-style:hidden;border-top-style:hidden}.schedulant .schedulant-icon{display:inline-block;height:12px;width:12px;margin-right:1px}.schedulant .schedulant-holiday{background-color:#e9ecef}
@@ -0,0 +1,8 @@
1
+ export { Schedulant } from './components/schedulant.tsx';
2
+ export type { SchedulantProps, SchedulantMountArg, PublicSchedulantApi } from './types';
3
+ export type { Event, EventArg, EventMountArg, PublicEventApi, EventMoveMountArg, EventContextMenuArg, EventResizeMountArg, EventContextMenuItems } from './types';
4
+ export type { Milestone, MilestoneArg, MilestoneStatus, MilestoneMountArg, PublicMilestoneApi, MilestoneMoveMountArg, MilestoneContextMenuArg, MilestoneContextMenuItems } from './types';
5
+ export type { Checkpoint, CheckpointArg, CheckpointMountArg, PublicCheckpointApi, CheckpointMoveMountArg, CheckpointContextMenuArg, CheckpointContextMenuItems } from './types';
6
+ export type { Resource, ResourceLaneArg, ResourceLabelArg, PublicResourceApi, ResourceAreaColumn, ResourceLaneMountArg, ResourceLabelMountArg, ResourceContextMenuItems, ResourceLaneContextMenuArg, ResourceLabelContextMenuArg } from './types';
7
+ export type { TimelineSlotArg, TimelineSlotLaneMountArg, TimelineSlotLabelMountArg } from './types';
8
+ export type { SelectInfoArg } from './types';