gantt-lib 0.142.2 → 0.143.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/index.css.map +1 -1
- package/dist/index.d.mts +8 -0
- package/dist/index.d.ts +8 -0
- package/dist/index.js +389 -177
- package/dist/index.js.map +1 -1
- package/dist/index.mjs +617 -405
- package/dist/index.mjs.map +1 -1
- package/dist/styles.css +36 -8
- package/package.json +1 -1
package/dist/index.d.mts
CHANGED
|
@@ -843,6 +843,14 @@ interface TaskPreviewPositionStore {
|
|
|
843
843
|
interface ActivityPreviewStore {
|
|
844
844
|
subscribeTask: (taskId: string, listener: () => void) => () => void;
|
|
845
845
|
getTaskOverrides: (taskId: string) => Map<string, number> | undefined;
|
|
846
|
+
getActivityRange?: (taskId: string, activityId: string) => {
|
|
847
|
+
startDate: Date;
|
|
848
|
+
endDate: Date;
|
|
849
|
+
} | undefined;
|
|
850
|
+
setActivityRange?: (taskId: string, activityId: string, range: {
|
|
851
|
+
startDate: Date;
|
|
852
|
+
endDate: Date;
|
|
853
|
+
}) => void;
|
|
846
854
|
setOverrides: (overrides: Map<string, Map<string, number>>) => void;
|
|
847
855
|
clear: () => void;
|
|
848
856
|
}
|
package/dist/index.d.ts
CHANGED
|
@@ -843,6 +843,14 @@ interface TaskPreviewPositionStore {
|
|
|
843
843
|
interface ActivityPreviewStore {
|
|
844
844
|
subscribeTask: (taskId: string, listener: () => void) => () => void;
|
|
845
845
|
getTaskOverrides: (taskId: string) => Map<string, number> | undefined;
|
|
846
|
+
getActivityRange?: (taskId: string, activityId: string) => {
|
|
847
|
+
startDate: Date;
|
|
848
|
+
endDate: Date;
|
|
849
|
+
} | undefined;
|
|
850
|
+
setActivityRange?: (taskId: string, activityId: string, range: {
|
|
851
|
+
startDate: Date;
|
|
852
|
+
endDate: Date;
|
|
853
|
+
}) => void;
|
|
846
854
|
setOverrides: (overrides: Map<string, Map<string, number>>) => void;
|
|
847
855
|
clear: () => void;
|
|
848
856
|
}
|