@syncfusion/ej2-vue-gantt 24.2.9 → 25.1.35
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/CHANGELOG.md +194 -181
- package/dist/ej2-vue-gantt.umd.min.js +2 -2
- package/dist/ej2-vue-gantt.umd.min.js.map +1 -1
- package/dist/es6/ej2-vue-gantt.es2015.js +19 -1
- package/dist/es6/ej2-vue-gantt.es2015.js.map +1 -1
- package/dist/es6/ej2-vue-gantt.es5.js +19 -1
- package/dist/es6/ej2-vue-gantt.es5.js.map +1 -1
- package/dist/global/ej2-vue-gantt.min.js +2 -2
- package/package.json +9 -9
- package/src/gantt/gantt.component.d.ts +100 -3
- package/src/gantt/gantt.component.js +19 -1
package/package.json
CHANGED
|
@@ -1,8 +1,8 @@
|
|
|
1
1
|
{
|
|
2
2
|
"_from": "@syncfusion/ej2-vue-gantt@*",
|
|
3
|
-
"_id": "@syncfusion/ej2-vue-gantt@24.2.
|
|
3
|
+
"_id": "@syncfusion/ej2-vue-gantt@24.2.7",
|
|
4
4
|
"_inBundle": false,
|
|
5
|
-
"_integrity": "sha512-
|
|
5
|
+
"_integrity": "sha512-bGpiXTSyADAo+F/oALQj7DStKjDGFVsX5aGh5yMsykKNGL9Gw71v1Ccr18PunC28XHBTZ25I+C42j9PxDOlRSQ==",
|
|
6
6
|
"_location": "/@syncfusion/ej2-vue-gantt",
|
|
7
7
|
"_phantomChildren": {},
|
|
8
8
|
"_requested": {
|
|
@@ -19,10 +19,10 @@
|
|
|
19
19
|
"_requiredBy": [
|
|
20
20
|
"/"
|
|
21
21
|
],
|
|
22
|
-
"_resolved": "https://nexus.syncfusioninternal.com/repository/ej2-
|
|
23
|
-
"_shasum": "
|
|
22
|
+
"_resolved": "https://nexus.syncfusioninternal.com/repository/ej2-release/@syncfusion/ej2-vue-gantt/-/ej2-vue-gantt-24.2.7.tgz",
|
|
23
|
+
"_shasum": "f07e928741f77f87c17ef0fa7a42f4487fda5516",
|
|
24
24
|
"_spec": "@syncfusion/ej2-vue-gantt@*",
|
|
25
|
-
"_where": "/jenkins/workspace/elease-
|
|
25
|
+
"_where": "/jenkins/workspace/elease-automation_release_25.1.1/packages/included",
|
|
26
26
|
"author": {
|
|
27
27
|
"name": "Syncfusion Inc."
|
|
28
28
|
},
|
|
@@ -31,9 +31,9 @@
|
|
|
31
31
|
},
|
|
32
32
|
"bundleDependencies": false,
|
|
33
33
|
"dependencies": {
|
|
34
|
-
"@syncfusion/ej2-base": "~
|
|
35
|
-
"@syncfusion/ej2-gantt": "
|
|
36
|
-
"@syncfusion/ej2-vue-base": "~
|
|
34
|
+
"@syncfusion/ej2-base": "~25.1.35",
|
|
35
|
+
"@syncfusion/ej2-gantt": "25.1.35",
|
|
36
|
+
"@syncfusion/ej2-vue-base": "~25.1.35"
|
|
37
37
|
},
|
|
38
38
|
"deprecated": false,
|
|
39
39
|
"description": "Essential JS 2 Gantt Component for Vue",
|
|
@@ -58,6 +58,6 @@
|
|
|
58
58
|
"ci-publish": "gulp ci-publish",
|
|
59
59
|
"compile": "gulp ci-compile && gulp vue-global-script"
|
|
60
60
|
},
|
|
61
|
-
"version": "
|
|
61
|
+
"version": "25.1.35",
|
|
62
62
|
"sideEffects": false
|
|
63
63
|
}
|
|
@@ -1,5 +1,5 @@
|
|
|
1
|
-
import { DefineVueComponent } from '@syncfusion/ej2-vue-base';
|
|
2
|
-
import { GanttModel } from '@syncfusion/ej2-gantt';
|
|
1
|
+
import { ComponentBase, DefineVueComponent } from '@syncfusion/ej2-vue-base';
|
|
2
|
+
import { Gantt, GanttModel } from '@syncfusion/ej2-gantt';
|
|
3
3
|
export declare const properties: string[];
|
|
4
4
|
export declare const modelProps: string[];
|
|
5
5
|
export declare const testProp: any;
|
|
@@ -11,7 +11,104 @@ export declare const props: any, watch: any, emitProbs: any;
|
|
|
11
11
|
* ```
|
|
12
12
|
*/
|
|
13
13
|
export declare let GanttComponent: DefineVueComponent<GanttModel>;
|
|
14
|
-
export declare type GanttComponent =
|
|
14
|
+
export declare type GanttComponent = typeof ComponentBase & {
|
|
15
|
+
ej2Instances: Gantt;
|
|
16
|
+
isVue3: boolean;
|
|
17
|
+
isLazyUpdate: Boolean;
|
|
18
|
+
plugins: any[];
|
|
19
|
+
propKeys: string[];
|
|
20
|
+
models: string[];
|
|
21
|
+
hasChildDirective: boolean;
|
|
22
|
+
tagMapper: {
|
|
23
|
+
[key: string]: Object;
|
|
24
|
+
};
|
|
25
|
+
tagNameMapper: Object;
|
|
26
|
+
setProperties(prop: any, muteOnChange: boolean): void;
|
|
27
|
+
trigger(eventName: string, eventProp: {
|
|
28
|
+
[key: string]: Object;
|
|
29
|
+
}, successHandler?: Function): void;
|
|
30
|
+
addPredecessor(id: number | string, predecessorString: string): void;
|
|
31
|
+
addRecord(data?: Object[] | Object | Object, rowPosition?: Object, rowIndex?: number): void;
|
|
32
|
+
cancelEdit(): void;
|
|
33
|
+
changeTaskMode(data: Object): void;
|
|
34
|
+
clearFiltering(fields?: string[]): void;
|
|
35
|
+
clearRedoCollection(): void;
|
|
36
|
+
clearSelection(): void;
|
|
37
|
+
clearSorting(): void;
|
|
38
|
+
clearUndoCollection(): void;
|
|
39
|
+
collapseAll(): void;
|
|
40
|
+
collapseByID(id: number | string): void;
|
|
41
|
+
collapseByIndex(index: number): void;
|
|
42
|
+
convertToMilestone(id: string): void;
|
|
43
|
+
csvExport(excelExportProperties?: Object, isMultipleExport?: boolean, workbook?: any, isBlob?: boolean): Object;
|
|
44
|
+
deleteRecord(taskDetail: number | string | number[] | string[] | Object | Object[]): void;
|
|
45
|
+
enableItems(items: string[], isEnable: boolean): void;
|
|
46
|
+
excelExport(excelExportProperties?: Object, isMultipleExport?: boolean, workbook?: any, isBlob?: boolean): Object;
|
|
47
|
+
expandAll(): void;
|
|
48
|
+
expandByID(id: number | string): void;
|
|
49
|
+
expandByIndex(index: number[] | number): void;
|
|
50
|
+
filterByColumn(fieldName: string, filterOperator: string, filterValue: string | number | Object | boolean | number[] | string[] | Object[] | boolean[], predicate?: string, matchCase?: boolean, ignoreAccent?: boolean): void;
|
|
51
|
+
fitToProject(): void;
|
|
52
|
+
getCriticalTasks(): Object[];
|
|
53
|
+
getDurationString(duration: number, durationUnit: string): string;
|
|
54
|
+
getExpandedRecords(records: Object[]): Object[];
|
|
55
|
+
getFormatedDate(date: Object, format?: string): string;
|
|
56
|
+
getGanttColumns(): Object[];
|
|
57
|
+
getGridColumns(): Object[];
|
|
58
|
+
getRecordByID(id: string): Object;
|
|
59
|
+
getRedoActions(): Object[];
|
|
60
|
+
getRowByID(id: string | number): Object;
|
|
61
|
+
getRowByIndex(index: number): Object;
|
|
62
|
+
getTaskByUniqueID(id: string): Object;
|
|
63
|
+
getTaskbarHeight(): number;
|
|
64
|
+
getUndoActions(): Object[];
|
|
65
|
+
getWorkString(work: number, workUnit: string): string;
|
|
66
|
+
hideColumn(keys: string | string[], hideBy?: string): void;
|
|
67
|
+
hideMaskRow(): void;
|
|
68
|
+
hideSpinner(): void;
|
|
69
|
+
indent(): void;
|
|
70
|
+
keyActionHandler(e: Object): void;
|
|
71
|
+
mergeTask(taskId: number | string, segmentIndexes: undefined[]): void;
|
|
72
|
+
nextTimeSpan(mode?: string): void;
|
|
73
|
+
openAddDialog(): void;
|
|
74
|
+
openEditDialog(taskId?: number | string): void;
|
|
75
|
+
outdent(): void;
|
|
76
|
+
pdfExport(pdfExportProperties?: Object, isMultipleExport?: boolean, pdfDoc?: Object, isBlob?: boolean): Object;
|
|
77
|
+
previousTimeSpan(mode?: string): void;
|
|
78
|
+
redo(): void;
|
|
79
|
+
removeCriticalPathStyles(): void;
|
|
80
|
+
removePredecessor(id: number | string): void;
|
|
81
|
+
removeSortColumn(columnName: string): void;
|
|
82
|
+
renderTemplates(): void;
|
|
83
|
+
reorderColumns(fromFName: string | string[], toFName: string): void;
|
|
84
|
+
reorderRows(fromIndexes: number[], toIndex: number, position: string): void;
|
|
85
|
+
resetTemplates(): void;
|
|
86
|
+
scrollToDate(date: string): void;
|
|
87
|
+
scrollToTask(taskId: string): void;
|
|
88
|
+
search(keyVal: string): void;
|
|
89
|
+
selectCell(cellIndex: Object, isToggle?: boolean): void;
|
|
90
|
+
selectCells(rowCellIndexes: Object[]): void;
|
|
91
|
+
selectRow(index: number, isToggle?: boolean): void;
|
|
92
|
+
selectRows(records: number[]): void;
|
|
93
|
+
setScrollTop(scrollTop: number): void;
|
|
94
|
+
setSplitterPosition(value: string | number, type: string): void;
|
|
95
|
+
showColumn(keys: string | string[], showBy?: string): void;
|
|
96
|
+
showCriticalPath(isCritical: boolean): void;
|
|
97
|
+
showMaskRow(): void;
|
|
98
|
+
showSpinner(): void;
|
|
99
|
+
sortColumn(columnName: string, direction: Object, isMultiSort?: boolean): void;
|
|
100
|
+
splitTask(taskId: number | string, splitDate: Object | Object[]): void;
|
|
101
|
+
undo(): void;
|
|
102
|
+
updateChartScrollOffset(left: number, top: number): void;
|
|
103
|
+
updateDataSource(dataSource: Object[], args: object): void;
|
|
104
|
+
updatePredecessor(id: number | string, predecessorString: string): void;
|
|
105
|
+
updateProjectDates(startDate: Object, endDate: Object, isTimelineRoundOff: boolean, isFrom?: string): void;
|
|
106
|
+
updateRecordByID(data: Object): void;
|
|
107
|
+
updateRecordByIndex(index: number, data: Object): void;
|
|
108
|
+
updateTaskId(currentId: number | string, newId: number | string): void;
|
|
109
|
+
zoomIn(): void;
|
|
110
|
+
zoomOut(): void;
|
|
111
|
+
};
|
|
15
112
|
export declare const GanttPlugin: {
|
|
16
113
|
name: string;
|
|
17
114
|
install(Vue: any): void;
|
|
@@ -8,7 +8,7 @@ import { EditDialogFieldsDirective, EditDialogFieldDirective, EditDialogFieldsPl
|
|
|
8
8
|
import { DayWorkingTimeCollectionDirective, DayWorkingTimeDirective, DayWorkingTimeCollectionPlugin, DayWorkingTimePlugin } from './dayworkingtime.directive';
|
|
9
9
|
import { HolidaysDirective, HolidayDirective, HolidaysPlugin, HolidayPlugin } from './holidays.directive';
|
|
10
10
|
import { EventMarkersDirective, EventMarkerDirective, EventMarkersPlugin, EventMarkerPlugin } from './eventmarkers.directive';
|
|
11
|
-
export var properties = ['isLazyUpdate', 'plugins', 'UpdateOffsetOnTaskbarEdit', 'addDialogFields', 'allowExcelExport', 'allowFiltering', 'allowKeyboard', 'allowParentDependency', 'allowPdfExport', 'allowReordering', 'allowResizing', 'allowRowDragAndDrop', 'allowSelection', 'allowSorting', 'allowTaskbarDragAndDrop', 'allowTaskbarOverlap', 'allowUnscheduledTasks', 'autoCalculateDateScheduling', 'autoFocusTasks', 'baselineColor', 'collapseAllParentTasks', 'columnMenuItems', 'columns', 'connectorLineBackground', 'connectorLineWidth', 'contextMenuItems', 'dataSource', 'dateFormat', 'dayWorkingTime', 'disableHtmlEncode', 'durationUnit', 'editDialogFields', 'editSettings', 'enableContextMenu', 'enableCriticalPath', 'enableHtmlSanitizer', 'enableImmutableMode', 'enableMultiTaskbar', 'enablePersistence', 'enablePredecessorValidation', 'enableRtl', 'enableTimelineVirtualization', 'enableVirtualMaskRow', 'enableVirtualization', 'eventMarkers', 'filterSettings', 'gridLines', 'height', 'highlightWeekends', 'holidays', 'includeWeekend', 'labelSettings', 'loadChildOnDemand', 'loadingIndicator', 'locale', 'milestoneTemplate', 'parentTaskbarTemplate', 'projectEndDate', 'projectStartDate', 'query', 'readOnly', 'renderBaseline', 'resourceFields', 'resourceIDMapping', 'resourceNameMapping', 'resources', 'rowHeight', 'searchSettings', 'segmentData', 'selectedRowIndex', 'selectionSettings', 'showColumnMenu', 'showInlineNotes', 'showOverAllocation', 'sortSettings', 'splitterSettings', 'taskFields', 'taskMode', 'taskType', 'taskbarHeight', 'taskbarTemplate', 'timelineSettings', 'timezone', 'toolbar', 'tooltipSettings', 'treeColumnIndex', 'validateManualTasksOnLinking', 'viewType', 'width', 'workUnit', 'workWeek', 'zoomingLevels', 'actionBegin', 'actionComplete', 'actionFailure', 'beforeExcelExport', 'beforePdfExport', 'beforeTooltipRender', 'cellDeselected', 'cellDeselecting', 'cellEdit', 'cellSelected', 'cellSelecting', 'collapsed', 'collapsing', 'columnDrag', 'columnDragStart', 'columnDrop', 'columnMenuClick', 'columnMenuOpen', 'contextMenuClick', 'contextMenuOpen', 'created', 'dataBound', 'dataStateChange', 'destroyed', 'endEdit', 'excelExportComplete', 'excelHeaderQueryCellInfo', 'excelQueryCellInfo', 'expanded', 'expanding', 'headerCellInfo', 'load', 'onMouseMove', 'onTaskbarClick', 'pdfColumnHeaderQueryCellInfo', 'pdfExportComplete', 'pdfQueryCellInfo', 'pdfQueryTaskbarInfo', 'pdfQueryTimelineCellInfo', 'queryCellInfo', 'queryTaskbarInfo', 'recordDoubleClick', 'resizeStart', 'resizeStop', 'resizing', 'rowDataBound', 'rowDeselected', 'rowDeselecting', 'rowDrag', 'rowDragStart', 'rowDragStartHelper', 'rowDrop', 'rowSelected', 'rowSelecting', 'splitterResizeStart', 'splitterResized', 'splitterResizing', 'taskbarEdited', 'taskbarEditing', 'toolbarClick'];
|
|
11
|
+
export var properties = ['isLazyUpdate', 'plugins', 'UpdateOffsetOnTaskbarEdit', 'addDialogFields', 'allowExcelExport', 'allowFiltering', 'allowKeyboard', 'allowParentDependency', 'allowPdfExport', 'allowReordering', 'allowResizing', 'allowRowDragAndDrop', 'allowSelection', 'allowSorting', 'allowTaskbarDragAndDrop', 'allowTaskbarOverlap', 'allowUnscheduledTasks', 'autoCalculateDateScheduling', 'autoFocusTasks', 'baselineColor', 'collapseAllParentTasks', 'columnMenuItems', 'columns', 'connectorLineBackground', 'connectorLineWidth', 'contextMenuItems', 'dataSource', 'dateFormat', 'dayWorkingTime', 'disableHtmlEncode', 'durationUnit', 'editDialogFields', 'editSettings', 'enableContextMenu', 'enableCriticalPath', 'enableHtmlSanitizer', 'enableImmutableMode', 'enableMultiTaskbar', 'enablePersistence', 'enablePredecessorValidation', 'enableRtl', 'enableTimelineVirtualization', 'enableUndoRedo', 'enableVirtualMaskRow', 'enableVirtualization', 'eventMarkers', 'filterSettings', 'gridLines', 'height', 'highlightWeekends', 'holidays', 'includeWeekend', 'labelSettings', 'loadChildOnDemand', 'loadingIndicator', 'locale', 'milestoneTemplate', 'parentTaskbarTemplate', 'projectEndDate', 'projectStartDate', 'query', 'readOnly', 'renderBaseline', 'resourceFields', 'resourceIDMapping', 'resourceNameMapping', 'resources', 'rowHeight', 'searchSettings', 'segmentData', 'selectedRowIndex', 'selectionSettings', 'showColumnMenu', 'showInlineNotes', 'showOverAllocation', 'sortSettings', 'splitterSettings', 'taskFields', 'taskMode', 'taskType', 'taskbarHeight', 'taskbarTemplate', 'timelineSettings', 'timezone', 'toolbar', 'tooltipSettings', 'treeColumnIndex', 'undoRedoActions', 'undoRedoStepsCount', 'validateManualTasksOnLinking', 'viewType', 'width', 'workUnit', 'workWeek', 'zoomingLevels', 'actionBegin', 'actionComplete', 'actionFailure', 'beforeExcelExport', 'beforePdfExport', 'beforeTooltipRender', 'cellDeselected', 'cellDeselecting', 'cellEdit', 'cellSelected', 'cellSelecting', 'collapsed', 'collapsing', 'columnDrag', 'columnDragStart', 'columnDrop', 'columnMenuClick', 'columnMenuOpen', 'contextMenuClick', 'contextMenuOpen', 'created', 'dataBound', 'dataStateChange', 'destroyed', 'endEdit', 'excelExportComplete', 'excelHeaderQueryCellInfo', 'excelQueryCellInfo', 'expanded', 'expanding', 'headerCellInfo', 'load', 'onMouseMove', 'onTaskbarClick', 'pdfColumnHeaderQueryCellInfo', 'pdfExportComplete', 'pdfQueryCellInfo', 'pdfQueryTaskbarInfo', 'pdfQueryTimelineCellInfo', 'queryCellInfo', 'queryTaskbarInfo', 'recordDoubleClick', 'resizeStart', 'resizeStop', 'resizing', 'rowDataBound', 'rowDeselected', 'rowDeselecting', 'rowDrag', 'rowDragStart', 'rowDragStartHelper', 'rowDrop', 'rowSelected', 'rowSelecting', 'splitterResizeStart', 'splitterResized', 'splitterResizing', 'taskbarEdited', 'taskbarEditing', 'toolbarClick'];
|
|
12
12
|
export var modelProps = ['dataSource'];
|
|
13
13
|
export var testProp = getProps({ props: properties });
|
|
14
14
|
export var props = testProp[0], watch = testProp[1], emitProbs = Object.keys(watch);
|
|
@@ -167,12 +167,18 @@ export var GanttComponent = vueDefineComponent({
|
|
|
167
167
|
clearFiltering: function (fields) {
|
|
168
168
|
return this.ej2Instances.clearFiltering(fields);
|
|
169
169
|
},
|
|
170
|
+
clearRedoCollection: function () {
|
|
171
|
+
return this.ej2Instances.clearRedoCollection();
|
|
172
|
+
},
|
|
170
173
|
clearSelection: function () {
|
|
171
174
|
return this.ej2Instances.clearSelection();
|
|
172
175
|
},
|
|
173
176
|
clearSorting: function () {
|
|
174
177
|
return this.ej2Instances.clearSorting();
|
|
175
178
|
},
|
|
179
|
+
clearUndoCollection: function () {
|
|
180
|
+
return this.ej2Instances.clearUndoCollection();
|
|
181
|
+
},
|
|
176
182
|
collapseAll: function () {
|
|
177
183
|
return this.ej2Instances.collapseAll();
|
|
178
184
|
},
|
|
@@ -233,6 +239,9 @@ export var GanttComponent = vueDefineComponent({
|
|
|
233
239
|
getRecordByID: function (id) {
|
|
234
240
|
return this.ej2Instances.getRecordByID(id);
|
|
235
241
|
},
|
|
242
|
+
getRedoActions: function () {
|
|
243
|
+
return this.ej2Instances.getRedoActions();
|
|
244
|
+
},
|
|
236
245
|
getRowByID: function (id) {
|
|
237
246
|
return this.ej2Instances.getRowByID(id);
|
|
238
247
|
},
|
|
@@ -245,6 +254,9 @@ export var GanttComponent = vueDefineComponent({
|
|
|
245
254
|
getTaskbarHeight: function () {
|
|
246
255
|
return this.ej2Instances.getTaskbarHeight();
|
|
247
256
|
},
|
|
257
|
+
getUndoActions: function () {
|
|
258
|
+
return this.ej2Instances.getUndoActions();
|
|
259
|
+
},
|
|
248
260
|
getWorkString: function (work, workUnit) {
|
|
249
261
|
return this.ej2Instances.getWorkString(work, workUnit);
|
|
250
262
|
},
|
|
@@ -284,6 +296,9 @@ export var GanttComponent = vueDefineComponent({
|
|
|
284
296
|
previousTimeSpan: function (mode) {
|
|
285
297
|
return this.ej2Instances.previousTimeSpan(mode);
|
|
286
298
|
},
|
|
299
|
+
redo: function () {
|
|
300
|
+
return this.ej2Instances.redo();
|
|
301
|
+
},
|
|
287
302
|
removeCriticalPathStyles: function () {
|
|
288
303
|
return this.ej2Instances.removeCriticalPathStyles();
|
|
289
304
|
},
|
|
@@ -350,6 +365,9 @@ export var GanttComponent = vueDefineComponent({
|
|
|
350
365
|
splitTask: function (taskId, splitDate) {
|
|
351
366
|
return this.ej2Instances.splitTask(taskId, splitDate);
|
|
352
367
|
},
|
|
368
|
+
undo: function () {
|
|
369
|
+
return this.ej2Instances.undo();
|
|
370
|
+
},
|
|
353
371
|
updateChartScrollOffset: function (left, top) {
|
|
354
372
|
return this.ej2Instances.updateChartScrollOffset(left, top);
|
|
355
373
|
},
|