@svar-ui/trial-vue-gantt 2.8.0 → 2.8.3
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.cjs +1 -1
- package/dist/index.css +1 -1
- package/dist/index.es.js +1470 -1464
- package/dist-full/index.css +1 -1
- package/package.json +16 -16
- package/types/index.d.ts +21 -2
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@svar-ui/trial-vue-gantt",
|
|
3
|
-
"version": "2.8.
|
|
3
|
+
"version": "2.8.3",
|
|
4
4
|
"description": "SVAR Vue Gantt library",
|
|
5
5
|
"productTag": "gantt",
|
|
6
6
|
"productTrial": true,
|
|
@@ -36,29 +36,29 @@
|
|
|
36
36
|
"dist-full/index.css"
|
|
37
37
|
],
|
|
38
38
|
"dependencies": {
|
|
39
|
-
"@svar-ui/core-locales": "2.6.
|
|
40
|
-
"@svar-ui/gantt-data-provider": "2.8.
|
|
41
|
-
"@svar-ui/gantt-locales": "2.8.
|
|
42
|
-
"@svar-ui/trial-gantt-store": "2.8.
|
|
43
|
-
"@svar-ui/grid-store": "2.7.
|
|
44
|
-
"@svar-ui/lib-dom": "0.14.
|
|
39
|
+
"@svar-ui/core-locales": "2.6.2",
|
|
40
|
+
"@svar-ui/gantt-data-provider": "2.8.3",
|
|
41
|
+
"@svar-ui/gantt-locales": "2.8.3",
|
|
42
|
+
"@svar-ui/trial-gantt-store": "2.8.3",
|
|
43
|
+
"@svar-ui/grid-store": "2.7.6",
|
|
44
|
+
"@svar-ui/lib-dom": "0.14.2",
|
|
45
45
|
"@svar-ui/lib-state": "1.10.1",
|
|
46
46
|
"@svar-ui/lib-vue": "1.1.1",
|
|
47
|
-
"@svar-ui/vue-core": "2.6.
|
|
48
|
-
"@svar-ui/vue-editor": "2.7.
|
|
49
|
-
"@svar-ui/vue-grid": "2.7.
|
|
50
|
-
"@svar-ui/vue-menu": "2.6.
|
|
51
|
-
"@svar-ui/vue-toolbar": "2.6.
|
|
47
|
+
"@svar-ui/vue-core": "2.6.2",
|
|
48
|
+
"@svar-ui/vue-editor": "2.7.1",
|
|
49
|
+
"@svar-ui/vue-grid": "2.7.7",
|
|
50
|
+
"@svar-ui/vue-menu": "2.6.2",
|
|
51
|
+
"@svar-ui/vue-toolbar": "2.6.2"
|
|
52
52
|
},
|
|
53
53
|
"peerDependencies": {
|
|
54
54
|
"vue": "^3.0.0"
|
|
55
55
|
},
|
|
56
56
|
"devDependencies": {
|
|
57
57
|
"@vitejs/plugin-vue": "^6.0.1",
|
|
58
|
-
"@svar-ui/vue-comments": "2.6.
|
|
59
|
-
"@svar-ui/vue-excel-import": "2.
|
|
60
|
-
"@svar-ui/vue-filter": "2.6.
|
|
61
|
-
"@svar-ui/vue-tasklist": "2.6.
|
|
58
|
+
"@svar-ui/vue-comments": "2.6.2",
|
|
59
|
+
"@svar-ui/vue-excel-import": "2.7.1",
|
|
60
|
+
"@svar-ui/vue-filter": "2.6.2",
|
|
61
|
+
"@svar-ui/vue-tasklist": "2.6.2",
|
|
62
62
|
"eslint": "^9.35.0",
|
|
63
63
|
"eslint-plugin-vue": "^10.5.1",
|
|
64
64
|
"globals": "^16.5.0",
|
package/types/index.d.ts
CHANGED
|
@@ -41,6 +41,22 @@ export declare function locateTask(
|
|
|
41
41
|
api?: IApi
|
|
42
42
|
): ILocatedTask | null;
|
|
43
43
|
|
|
44
|
+
export type IInnerApi = Pick<
|
|
45
|
+
IApi,
|
|
46
|
+
| "getReactiveState"
|
|
47
|
+
| "getState"
|
|
48
|
+
| "exec"
|
|
49
|
+
| "on"
|
|
50
|
+
| "detach"
|
|
51
|
+
| "getTask"
|
|
52
|
+
| "getTaskCalendar"
|
|
53
|
+
| "getResourceCalendar"
|
|
54
|
+
| "getCalendar"
|
|
55
|
+
| "getTaskResources"
|
|
56
|
+
| "getHistory"
|
|
57
|
+
| "getLinkValidator"
|
|
58
|
+
>;
|
|
59
|
+
|
|
44
60
|
export interface IColumnConfig extends Omit<IGanttColumn, "header"> {
|
|
45
61
|
cell?: ITableColumn["cell"];
|
|
46
62
|
header?: ITableColumn["header"];
|
|
@@ -52,7 +68,7 @@ export declare const Gantt: VueComponent<
|
|
|
52
68
|
columns?: false | IColumnConfig[];
|
|
53
69
|
taskTemplate?: VueComponent<{
|
|
54
70
|
data: ITask;
|
|
55
|
-
api:
|
|
71
|
+
api: IInnerApi;
|
|
56
72
|
onaction: (ev: {
|
|
57
73
|
action: string;
|
|
58
74
|
data: { [key: string]: any };
|
|
@@ -60,7 +76,10 @@ export declare const Gantt: VueComponent<
|
|
|
60
76
|
}>;
|
|
61
77
|
readonly?: boolean;
|
|
62
78
|
cellBorders?: "column" | "full";
|
|
63
|
-
highlightTime?: (
|
|
79
|
+
highlightTime?: (
|
|
80
|
+
date: Date,
|
|
81
|
+
unit: NonNullable<IConfig["lengthUnit"]>
|
|
82
|
+
) => string;
|
|
64
83
|
init?: (api: IApi) => void;
|
|
65
84
|
} & Omit<IConfig, "columns"> &
|
|
66
85
|
GanttActions<TMethodsConfig>
|