@svar-ui/gantt-store 2.4.1 → 2.4.2
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.js +1 -1
- package/dist/index.js.map +1 -1
- package/dist/types/DataStore.d.ts +2 -2
- package/dist/types/GanttDataTree.d.ts +1 -1
- package/dist/types/helpers/actionHandlers.d.ts +1 -1
- package/dist/types/helpers/getCircularLinks.d.ts +1 -1
- package/dist/types/helpers/menuOptions.d.ts +1 -1
- package/dist/types/helpers/toolbarButtons.d.ts +1 -1
- package/dist/types/index.d.ts +1 -1
- package/dist/types/links.d.ts +3 -3
- package/dist/types/modules/EventTracker.pro.d.ts +1 -1
- package/dist/types/types.d.ts +2 -2
- package/package.json +24 -25
|
@@ -1,5 +1,5 @@
|
|
|
1
|
-
import { Store, EventBus } from "@
|
|
2
|
-
import type { TDataConfig, TWritableCreator, TID } from "@
|
|
1
|
+
import { Store, EventBus } from "@svar-ui/lib-state";
|
|
2
|
+
import type { TDataConfig, TWritableCreator, TID } from "@svar-ui/lib-state";
|
|
3
3
|
import { HistoryManager } from "./modules/HistoryManager.pro";
|
|
4
4
|
import type { IData, IDataConfig, ITask, TMethodsConfig, ILink, IVisibleArea, IParsedTask, TScrollTask } from "./types";
|
|
5
5
|
export default class DataStore extends Store<IData> {
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import type { TID } from "@
|
|
1
|
+
import type { TID } from "@svar-ui/lib-state";
|
|
2
2
|
import type { IParsedTask, IHistory, IData, IDataConfig, IDataHash } from "../types";
|
|
3
3
|
export declare function getMenuOptions(config: IDataConfig): IOptionConfig[];
|
|
4
4
|
export interface IOptionConfig {
|
|
@@ -1,5 +1,5 @@
|
|
|
1
1
|
import type { IData, IDataHash, IParsedTask, IHistory, IDataConfig } from "../types";
|
|
2
|
-
import type { TID } from "@
|
|
2
|
+
import type { TID } from "@svar-ui/lib-state";
|
|
3
3
|
export declare function getToolbarButtons(config: IDataConfig): IButtonConfig[];
|
|
4
4
|
export interface IButtonConfig {
|
|
5
5
|
id?: string;
|
package/dist/types/index.d.ts
CHANGED
|
@@ -11,5 +11,5 @@ export { defaultTaskTypes } from "./taskTypes";
|
|
|
11
11
|
export { prepareEditTask, parseTaskDates } from "./normalizeDates";
|
|
12
12
|
export { normalizeZoom } from "./scales";
|
|
13
13
|
export { isSegmentMoveAllowed, extendDragOptions } from "./tasks";
|
|
14
|
-
export
|
|
14
|
+
export declare const Calendar: any;
|
|
15
15
|
export type { TID, IApi, ITask, ILink, IConfig, IZoomConfig, IGanttColumn, TMethodsConfig, IGanttTask, IMarker, IScheduleConfig, ICriticalPathConfig, IScaleConfig, } from "./types";
|
package/dist/types/links.d.ts
CHANGED
|
@@ -17,9 +17,9 @@ export declare function placeLink(box: {
|
|
|
17
17
|
p: string;
|
|
18
18
|
};
|
|
19
19
|
export declare function normalizeLinks(links: ILink[]): {
|
|
20
|
-
id: import("@
|
|
20
|
+
id: import("@svar-ui/lib-state").TID;
|
|
21
21
|
type: import("./types").TLinkType;
|
|
22
|
-
source: import("@
|
|
23
|
-
target: import("@
|
|
22
|
+
source: import("@svar-ui/lib-state").TID;
|
|
23
|
+
target: import("@svar-ui/lib-state").TID;
|
|
24
24
|
lag?: number;
|
|
25
25
|
}[];
|
package/dist/types/types.d.ts
CHANGED
|
@@ -1,9 +1,9 @@
|
|
|
1
1
|
import type { IDataMethodsConfig } from "./DataStore";
|
|
2
|
-
import type { DataArray, TID, IEventBus, IPublicWritable, IEventConfig } from "@
|
|
2
|
+
import type { DataArray, TID, IEventBus, IPublicWritable, IEventConfig } from "@svar-ui/lib-state";
|
|
3
3
|
import type GanttDataTree from "./GanttDataTree";
|
|
4
4
|
import { Day } from "date-fns";
|
|
5
5
|
import type DataStore from "./DataStore";
|
|
6
|
-
import type { IApi as ITableApi, IColumn } from "@
|
|
6
|
+
import type { IApi as ITableApi, IColumn } from "@svar-ui/grid-store";
|
|
7
7
|
export type TMethodsConfig = IDataMethodsConfig;
|
|
8
8
|
export type { GanttDataTree, TID };
|
|
9
9
|
export interface IActionConfig<T = any> {
|
package/package.json
CHANGED
|
@@ -1,27 +1,26 @@
|
|
|
1
1
|
{
|
|
2
|
-
|
|
3
|
-
|
|
4
|
-
|
|
5
|
-
|
|
6
|
-
|
|
7
|
-
|
|
8
|
-
|
|
9
|
-
|
|
10
|
-
|
|
11
|
-
|
|
12
|
-
|
|
13
|
-
|
|
14
|
-
|
|
15
|
-
|
|
16
|
-
|
|
17
|
-
|
|
18
|
-
|
|
19
|
-
|
|
20
|
-
|
|
21
|
-
|
|
22
|
-
|
|
23
|
-
|
|
24
|
-
|
|
25
|
-
|
|
26
|
-
}
|
|
2
|
+
"name": "@svar-ui/gantt-store",
|
|
3
|
+
"version": "2.4.2",
|
|
4
|
+
"description": "Internal state management used by SVAR Gantt component",
|
|
5
|
+
"type": "module",
|
|
6
|
+
"main": "dist/index.js",
|
|
7
|
+
"module": "dist/index.js",
|
|
8
|
+
"types": "dist/types/index.d.ts",
|
|
9
|
+
"license": "MIT",
|
|
10
|
+
"scripts": {
|
|
11
|
+
"build": "vite build",
|
|
12
|
+
"watch": "vite build --mode development -w",
|
|
13
|
+
"lint": "yarn eslint ./src",
|
|
14
|
+
"test": "vitest --run",
|
|
15
|
+
"coverage": "vitest --run --coverage"
|
|
16
|
+
},
|
|
17
|
+
"files": [
|
|
18
|
+
"dist",
|
|
19
|
+
"licenses",
|
|
20
|
+
"license.txt"
|
|
21
|
+
],
|
|
22
|
+
"dependencies": {
|
|
23
|
+
"date-fns": "3.6.0",
|
|
24
|
+
"@svar-ui/lib-state": "1.9.6"
|
|
25
|
+
}
|
|
27
26
|
}
|