@timelinekit/core 1.0.9 → 1.0.10

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.
@@ -5,6 +5,8 @@ import { TaskList } from "./task-list";
5
5
  /** Adapts a TaskList to the TreeTableDataSource interface used by the sheet component. */
6
6
  export declare class TaskListAdapter implements TreeTableDataSource<Task> {
7
7
  #private;
8
+ /** Emits when a task is added to the list. */
9
+ itemAdded$: Subject<TableItemEventArgs<Task>>;
8
10
  /** Emits when a task property changes. */
9
11
  itemChanged$: Subject<TableItemEventArgs<Task>>;
10
12
  /** Emits when a task is removed from the list. */
@@ -49,6 +49,8 @@ export declare class TaskList {
49
49
  getLink(index: number): TaskLink;
50
50
  /** Get the index of a task in the list. */
51
51
  indexOf(task: Task): number;
52
+ /** Create a new Task instance wired to this list's calendar and project timeline, without adding it to the list. */
53
+ createTask(id?: string): Task;
52
54
  /** Append an empty placeholder row at the end of the list. */
53
55
  addEmptyTask(): Task;
54
56
  /** Insert an empty placeholder row at the given index. */