@dhtmlx/trial-vue-gantt 9.1.2-beta1 → 9.1.4
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/README.md +2 -2
- package/dist/dhtmlxgantt.vue.es.d.ts +76 -13
- package/dist/dhtmlxgantt.vue.es.js +5621 -5480
- package/dist/vue-gantt.css +1 -1
- package/package.json +1 -2
- package/whatsnew.md +32 -0
- package/dist/dhtmlxgantt.vue.es.js.map +0 -1
package/README.md
CHANGED
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
# DHTMLX Vue Gantt
|
|
2
2
|
|
|
3
3
|
[](https://dhtmlx.com/)
|
|
4
|
-
[](https://www.npmjs.com/package/@dhtmlx/trial-vue-gantt)
|
|
5
5
|
[](https://dhtmlx.com/docs/products/license.shtml?eval)
|
|
6
6
|
|
|
7
7
|
|
|
@@ -114,7 +114,7 @@ import GanttChart from "./components/GanttChart.vue";
|
|
|
114
114
|
<a name="license"></a>
|
|
115
115
|
## License
|
|
116
116
|
|
|
117
|
-
DHTMLX Gantt for Vue v.9.1.
|
|
117
|
+
DHTMLX Gantt for Vue v.9.1.4 Professional Evaluation
|
|
118
118
|
|
|
119
119
|
This software is covered by DHTMLX Evaluation License. Contact sales@dhtmlx.com to get a proprietary license. Usage without proper license is prohibited.
|
|
120
120
|
|
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
import * as vue from 'vue';
|
|
2
2
|
import { VNode, Component, Ref, MaybeRef } from 'vue';
|
|
3
|
-
import { Task, Link, GanttStatic, RouterFunction, CalendarConfig, GanttConfigOptions, GanttPlugins, GanttTemplates } from '@dhx/gantt';
|
|
3
|
+
import { Task, Link, GanttStatic, RouterFunction, Baseline, CalendarConfig, GanttConfigOptions, GanttPlugins, GanttTemplates } from '@dhx/gantt';
|
|
4
4
|
export * from '@dhx/gantt';
|
|
5
5
|
|
|
6
6
|
interface VueKnownGanttEvents {
|
|
@@ -36,8 +36,8 @@ interface BatchChanges {
|
|
|
36
36
|
resourceAssignments?: DataCallbackChange[];
|
|
37
37
|
}
|
|
38
38
|
interface DataSet {
|
|
39
|
-
tasks?: Task
|
|
40
|
-
links?: Link
|
|
39
|
+
tasks?: Array<Task | SerializedTask>;
|
|
40
|
+
links?: Array<Link | SerializedLink>;
|
|
41
41
|
resources?: any[];
|
|
42
42
|
resourceAssignments?: any[];
|
|
43
43
|
baselines?: any[];
|
|
@@ -73,6 +73,69 @@ interface Marker {
|
|
|
73
73
|
text?: string | number | VNode | (() => VNode);
|
|
74
74
|
title?: string | number;
|
|
75
75
|
}
|
|
76
|
+
interface SerializedTask {
|
|
77
|
+
/** Task id, auto-generated if not set */
|
|
78
|
+
id: string | number;
|
|
79
|
+
/** Scheduled start. Accepts Date or a date string matching date_format. */
|
|
80
|
+
start_date?: Date | string;
|
|
81
|
+
/** Scheduled end. Accepts Date or a date string matching date_format. */
|
|
82
|
+
end_date?: Date | string;
|
|
83
|
+
/** Task duration (working-time units). */
|
|
84
|
+
duration?: number;
|
|
85
|
+
/** Task display name. */
|
|
86
|
+
text?: any;
|
|
87
|
+
/** "task" | "project" | "milestone" */
|
|
88
|
+
type?: string;
|
|
89
|
+
/** Parent task id. */
|
|
90
|
+
parent?: number | string;
|
|
91
|
+
/** Progress 0-1. */
|
|
92
|
+
progress?: number;
|
|
93
|
+
/** Whether the branch is initially open. */
|
|
94
|
+
open?: boolean;
|
|
95
|
+
auto_scheduling?: boolean;
|
|
96
|
+
unscheduled?: boolean;
|
|
97
|
+
constraint_date?: Date | string;
|
|
98
|
+
constraint_type?: string;
|
|
99
|
+
deadline?: Date | string;
|
|
100
|
+
color?: string;
|
|
101
|
+
textColor?: string;
|
|
102
|
+
progressColor?: string;
|
|
103
|
+
bar_height?: number;
|
|
104
|
+
row_height?: number;
|
|
105
|
+
hide_bar?: boolean;
|
|
106
|
+
baselines?: Baseline[];
|
|
107
|
+
calendar_id?: number | string;
|
|
108
|
+
editable?: boolean;
|
|
109
|
+
readonly?: boolean;
|
|
110
|
+
render?: string;
|
|
111
|
+
split_placement?: "inline" | "subrow" | "auto" | null | undefined;
|
|
112
|
+
resource?: Array<string>;
|
|
113
|
+
rollup?: boolean;
|
|
114
|
+
group_id?: string | number;
|
|
115
|
+
key?: string | number;
|
|
116
|
+
label?: string;
|
|
117
|
+
target?: string;
|
|
118
|
+
[customProperty: string]: any;
|
|
119
|
+
}
|
|
120
|
+
interface SerializedLink {
|
|
121
|
+
/** Link id. */
|
|
122
|
+
id: string | number;
|
|
123
|
+
/** Source (predecessor) task id. */
|
|
124
|
+
source: string | number;
|
|
125
|
+
/** Target (successor) task id. */
|
|
126
|
+
target: string | number;
|
|
127
|
+
/**
|
|
128
|
+
* Dependency type.
|
|
129
|
+
* "0" = finish-to-start, "1" = start-to-start,
|
|
130
|
+
* "2" = finish-to-finish, "3" = start-to-finish
|
|
131
|
+
*/
|
|
132
|
+
type: string;
|
|
133
|
+
/** Lag (in duration units). */
|
|
134
|
+
lag?: number;
|
|
135
|
+
editable?: boolean;
|
|
136
|
+
readonly?: boolean;
|
|
137
|
+
[customProperty: string]: any;
|
|
138
|
+
}
|
|
76
139
|
interface WrapperCalendar {
|
|
77
140
|
id: string;
|
|
78
141
|
hours?: string[];
|
|
@@ -125,8 +188,8 @@ interface CustomLightboxProps {
|
|
|
125
188
|
type TemplateWrapper = (node: VNode) => VNode;
|
|
126
189
|
type GroupTasks = any;
|
|
127
190
|
interface VueGanttProps {
|
|
128
|
-
tasks?: Task
|
|
129
|
-
links?: Link
|
|
191
|
+
tasks?: Array<Task | SerializedTask>;
|
|
192
|
+
links?: Array<Link | SerializedLink>;
|
|
130
193
|
resources?: any[] | null;
|
|
131
194
|
resourceAssignments?: any[] | null;
|
|
132
195
|
baselines?: any[] | null;
|
|
@@ -151,8 +214,8 @@ interface VueGanttProps {
|
|
|
151
214
|
|
|
152
215
|
declare const VueGantt: vue.DefineComponent<{
|
|
153
216
|
[x: string]: /*elided*/ any;
|
|
154
|
-
tasks?: Task
|
|
155
|
-
links?: Link
|
|
217
|
+
tasks?: Array<Task | SerializedTask>;
|
|
218
|
+
links?: Array<Link | SerializedLink>;
|
|
156
219
|
resources?: any[] | null;
|
|
157
220
|
resourceAssignments?: any[] | null;
|
|
158
221
|
baselines?: any[] | null;
|
|
@@ -178,8 +241,8 @@ declare const VueGantt: vue.DefineComponent<{
|
|
|
178
241
|
ready: (instance: GanttStatic) => boolean;
|
|
179
242
|
}, string, vue.PublicProps, Readonly<{
|
|
180
243
|
[x: string]: /*elided*/ any;
|
|
181
|
-
tasks?: Task
|
|
182
|
-
links?: Link
|
|
244
|
+
tasks?: Array<Task | SerializedTask>;
|
|
245
|
+
links?: Array<Link | SerializedLink>;
|
|
183
246
|
resources?: any[] | null;
|
|
184
247
|
resourceAssignments?: any[] | null;
|
|
185
248
|
baselines?: any[] | null;
|
|
@@ -202,11 +265,11 @@ declare const VueGantt: vue.DefineComponent<{
|
|
|
202
265
|
}> & Readonly<{
|
|
203
266
|
onReady?: (instance: GanttStatic) => any;
|
|
204
267
|
}>, {
|
|
205
|
-
|
|
206
|
-
|
|
268
|
+
baselines: any[];
|
|
269
|
+
tasks: (Task | SerializedTask)[];
|
|
270
|
+
links: (Link | SerializedLink)[];
|
|
207
271
|
resources: any[];
|
|
208
272
|
resourceAssignments: any[];
|
|
209
|
-
baselines: any[];
|
|
210
273
|
markers: Marker[];
|
|
211
274
|
calendars: any[];
|
|
212
275
|
data: VueGanttDataConfig;
|
|
@@ -286,4 +349,4 @@ declare function defineGanttEvents<T extends VueGanttEvents>(events: T): T;
|
|
|
286
349
|
declare function defineInlineEditors<T extends Record<string, Component>>(inlineEditors: T): T;
|
|
287
350
|
|
|
288
351
|
export { VueGantt, VueGantt as default, defineGanttConfig, defineGanttEvents, defineGanttTemplates, defineInlineEditors, useGanttActions, useGanttDatastore, useGanttEvent, useResourceAssignments, useWorkTime };
|
|
289
|
-
export type { ActiveInlineEditor, BatchChanges, CustomLightboxProps, DataCallbackChange, DataSet, GanttModals, GroupTasks, InlineEditorComponentProps, Marker, OnBeforeLinkDeleteConfirmArgs, OnBeforeTaskDeleteConfirmArgs, ResourceFilter, TaskFilter, TemplateWrapper, VueGanttDataConfig, VueGanttEmits, VueGanttEvents, VueGanttExpose, VueGanttProps, VueGanttRef, VueKnownGanttEvents, WrapperCalendar, WrapperInlineEditorMethods };
|
|
352
|
+
export type { ActiveInlineEditor, BatchChanges, CustomLightboxProps, DataCallbackChange, DataSet, GanttModals, GroupTasks, InlineEditorComponentProps, Marker, OnBeforeLinkDeleteConfirmArgs, OnBeforeTaskDeleteConfirmArgs, ResourceFilter, SerializedLink, SerializedTask, TaskFilter, TemplateWrapper, VueGanttDataConfig, VueGanttEmits, VueGanttEvents, VueGanttExpose, VueGanttProps, VueGanttRef, VueKnownGanttEvents, WrapperCalendar, WrapperInlineEditorMethods };
|