@syncfusion/ej2-vue-gantt 20.4.54 → 21.1.36
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 +186 -0
- 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 +462 -685
- package/dist/es6/ej2-vue-gantt.es2015.js.map +1 -1
- package/dist/es6/ej2-vue-gantt.es5.js +507 -807
- package/dist/es6/ej2-vue-gantt.es5.js.map +1 -1
- package/dist/global/ej2-vue-gantt.min.js +2 -2
- package/package.json +11 -10
- package/src/gantt/adddialogfields.directive.d.ts +2 -12
- package/src/gantt/adddialogfields.directive.js +22 -71
- package/src/gantt/columns.directive.d.ts +2 -12
- package/src/gantt/columns.directive.js +22 -71
- package/src/gantt/dayworkingtime.directive.d.ts +2 -12
- package/src/gantt/dayworkingtime.directive.js +22 -71
- package/src/gantt/editdialogfields.directive.d.ts +2 -12
- package/src/gantt/editdialogfields.directive.js +22 -71
- package/src/gantt/eventmarkers.directive.d.ts +2 -12
- package/src/gantt/eventmarkers.directive.js +22 -71
- package/src/gantt/gantt.component.d.ts +3 -100
- package/src/gantt/gantt.component.js +345 -376
- package/src/gantt/holidays.directive.d.ts +2 -12
- package/src/gantt/holidays.directive.js +22 -71
- package/styles/bootstrap-dark.css +63 -56
- package/styles/bootstrap.css +63 -58
- package/styles/bootstrap4.css +60 -55
- package/styles/bootstrap5-dark.css +60 -55
- package/styles/bootstrap5.css +60 -55
- package/styles/fabric-dark.css +58 -53
- package/styles/fabric.css +58 -53
- package/styles/fluent-dark.css +84 -76
- package/styles/fluent.css +84 -76
- package/styles/gantt/bootstrap-dark.css +63 -56
- package/styles/gantt/bootstrap.css +63 -58
- package/styles/gantt/bootstrap4.css +60 -55
- package/styles/gantt/bootstrap5-dark.css +60 -55
- package/styles/gantt/bootstrap5.css +60 -55
- package/styles/gantt/fabric-dark.css +58 -53
- package/styles/gantt/fabric.css +58 -53
- package/styles/gantt/fluent-dark.css +84 -76
- package/styles/gantt/fluent.css +84 -76
- package/styles/gantt/highcontrast-light.css +58 -55
- package/styles/gantt/highcontrast.css +58 -53
- package/styles/gantt/material-dark.css +61 -60
- package/styles/gantt/material.css +58 -53
- package/styles/gantt/material3-dark.css +2193 -0
- package/styles/gantt/material3-dark.scss +2 -0
- package/styles/gantt/material3.css +2249 -0
- package/styles/gantt/material3.scss +2 -0
- package/styles/gantt/tailwind-dark.css +58 -53
- package/styles/gantt/tailwind.css +58 -53
- package/styles/highcontrast-light.css +58 -55
- package/styles/highcontrast.css +58 -53
- package/styles/material-dark.css +61 -60
- package/styles/material.css +58 -53
- package/styles/material3-dark.css +2193 -0
- package/styles/material3-dark.scss +2 -0
- package/styles/material3.css +2249 -0
- package/styles/material3.scss +2 -0
- package/styles/tailwind-dark.css +58 -53
- package/styles/tailwind.css +58 -53
|
@@ -1,40 +1,8 @@
|
|
|
1
|
-
|
|
2
|
-
var extendStatics = function (d, b) {
|
|
3
|
-
extendStatics = Object.setPrototypeOf ||
|
|
4
|
-
({ __proto__: [] } instanceof Array && function (d, b) { d.__proto__ = b; }) ||
|
|
5
|
-
function (d, b) { for (var p in b) if (b.hasOwnProperty(p)) d[p] = b[p]; };
|
|
6
|
-
return extendStatics(d, b);
|
|
7
|
-
};
|
|
8
|
-
return function (d, b) {
|
|
9
|
-
extendStatics(d, b);
|
|
10
|
-
function __() { this.constructor = d; }
|
|
11
|
-
d.prototype = b === null ? Object.create(b) : (__.prototype = b.prototype, new __());
|
|
12
|
-
};
|
|
13
|
-
})();
|
|
14
|
-
var __decorate = (this && this.__decorate) || function (decorators, target, key, desc) {
|
|
15
|
-
var c = arguments.length, r = c < 3 ? target : desc === null ? desc = Object.getOwnPropertyDescriptor(target, key) : desc, d;
|
|
16
|
-
if (typeof Reflect === "object" && typeof Reflect.decorate === "function") r = Reflect.decorate(decorators, target, key, desc);
|
|
17
|
-
else for (var i = decorators.length - 1; i >= 0; i--) if (d = decorators[i]) r = (c < 3 ? d(r) : c > 3 ? d(target, key, r) : d(target, key)) || r;
|
|
18
|
-
return c > 3 && r && Object.defineProperty(target, key, r), r;
|
|
19
|
-
};
|
|
20
|
-
import { EJComponentDecorator, allVue, gh, isExecute } from '@syncfusion/ej2-vue-base';
|
|
21
|
-
import * as Vue3 from 'vue-class-component';
|
|
1
|
+
import { gh, isExecute, vueDefineComponent } from '@syncfusion/ej2-vue-base';
|
|
22
2
|
import { isNullOrUndefined } from '@syncfusion/ej2-base';
|
|
23
|
-
|
|
24
|
-
|
|
25
|
-
|
|
26
|
-
if (!isExecute || parseInt(allVue.version) < 3) {
|
|
27
|
-
vueImport = Vue3.Vue;
|
|
28
|
-
}
|
|
29
|
-
else {
|
|
30
|
-
vueImport = Vue;
|
|
31
|
-
}
|
|
32
|
-
var EventMarkersDirective = /** @class */ (function (_super) {
|
|
33
|
-
__extends(EventMarkersDirective, _super);
|
|
34
|
-
function EventMarkersDirective() {
|
|
35
|
-
return _super.call(this, arguments) || this;
|
|
36
|
-
}
|
|
37
|
-
EventMarkersDirective.prototype.render = function (createElement) {
|
|
3
|
+
export var EventMarkersDirective = vueDefineComponent({
|
|
4
|
+
inject: { custom: { default: null } },
|
|
5
|
+
render: function (createElement) {
|
|
38
6
|
if (!isExecute) {
|
|
39
7
|
var h = !isExecute ? gh : createElement;
|
|
40
8
|
var slots = null;
|
|
@@ -44,28 +12,18 @@ var EventMarkersDirective = /** @class */ (function (_super) {
|
|
|
44
12
|
return h('div', { class: 'e-directive' }, slots);
|
|
45
13
|
}
|
|
46
14
|
return;
|
|
47
|
-
}
|
|
48
|
-
|
|
15
|
+
},
|
|
16
|
+
updated: function () {
|
|
49
17
|
if (!isExecute && this.custom) {
|
|
50
18
|
this.custom();
|
|
51
19
|
}
|
|
52
|
-
}
|
|
53
|
-
|
|
54
|
-
|
|
55
|
-
|
|
56
|
-
|
|
57
|
-
|
|
58
|
-
|
|
59
|
-
inject: {
|
|
60
|
-
custom: {
|
|
61
|
-
default: null
|
|
62
|
-
}
|
|
63
|
-
}
|
|
64
|
-
})
|
|
65
|
-
], EventMarkersDirective);
|
|
66
|
-
return EventMarkersDirective;
|
|
67
|
-
}(vueImport));
|
|
68
|
-
export { EventMarkersDirective };
|
|
20
|
+
},
|
|
21
|
+
methods: {
|
|
22
|
+
getTag: function () {
|
|
23
|
+
return 'e-event-markers';
|
|
24
|
+
}
|
|
25
|
+
}
|
|
26
|
+
});
|
|
69
27
|
export var EventMarkersPlugin = {
|
|
70
28
|
name: 'e-event-markers',
|
|
71
29
|
install: function (Vue) {
|
|
@@ -83,23 +41,16 @@ export var EventMarkersPlugin = {
|
|
|
83
41
|
* </ejs-gantt>
|
|
84
42
|
* ```
|
|
85
43
|
*/
|
|
86
|
-
var EventMarkerDirective =
|
|
87
|
-
|
|
88
|
-
function EventMarkerDirective() {
|
|
89
|
-
return _super !== null && _super.apply(this, arguments) || this;
|
|
90
|
-
}
|
|
91
|
-
EventMarkerDirective.prototype.render = function () {
|
|
44
|
+
export var EventMarkerDirective = vueDefineComponent({
|
|
45
|
+
render: function () {
|
|
92
46
|
return;
|
|
93
|
-
}
|
|
94
|
-
|
|
95
|
-
|
|
96
|
-
|
|
97
|
-
|
|
98
|
-
|
|
99
|
-
|
|
100
|
-
return EventMarkerDirective;
|
|
101
|
-
}(vueImport));
|
|
102
|
-
export { EventMarkerDirective };
|
|
47
|
+
},
|
|
48
|
+
methods: {
|
|
49
|
+
getTag: function () {
|
|
50
|
+
return 'e-event-marker';
|
|
51
|
+
}
|
|
52
|
+
}
|
|
53
|
+
});
|
|
103
54
|
export var EventMarkerPlugin = {
|
|
104
55
|
name: 'e-event-marker',
|
|
105
56
|
install: function (Vue) {
|
|
@@ -1,112 +1,15 @@
|
|
|
1
|
-
import { ComponentBase } from '@syncfusion/ej2-vue-base';
|
|
2
1
|
export declare const properties: string[];
|
|
3
2
|
export declare const modelProps: string[];
|
|
4
3
|
export declare const testProp: any;
|
|
5
|
-
export declare const props: any;
|
|
6
|
-
export declare const watch: any;
|
|
7
|
-
export declare const emitProbs: any;
|
|
4
|
+
export declare const props: any, watch: any, emitProbs: any;
|
|
8
5
|
/**
|
|
9
6
|
* `ejs-gantt` represents the VueJS Gantt Component.
|
|
10
7
|
* ```vue
|
|
11
8
|
* <ejs-gantt :dataSource='data' allowSelection='true' allowSorting='true'></ejs-gantt>
|
|
12
9
|
* ```
|
|
13
10
|
*/
|
|
14
|
-
export declare
|
|
15
|
-
|
|
16
|
-
propKeys: string[];
|
|
17
|
-
models: string[];
|
|
18
|
-
hasChildDirective: boolean;
|
|
19
|
-
protected hasInjectedModules: boolean;
|
|
20
|
-
tagMapper: {
|
|
21
|
-
[key: string]: Object;
|
|
22
|
-
};
|
|
23
|
-
tagNameMapper: Object;
|
|
24
|
-
isVue3: boolean;
|
|
25
|
-
templateCollection: any;
|
|
26
|
-
constructor();
|
|
27
|
-
clearTemplate(templateNames?: string[]): any;
|
|
28
|
-
setProperties(prop: any, muteOnChange: boolean): void;
|
|
29
|
-
trigger(eventName: string, eventProp: {
|
|
30
|
-
[key: string]: Object;
|
|
31
|
-
}, successHandler?: Function): void;
|
|
32
|
-
render(createElement: any): any;
|
|
33
|
-
custom(): void;
|
|
34
|
-
addPredecessor(id: number | string, predecessorString: string): void;
|
|
35
|
-
addRecord(data?: Object[] | Object | Object, rowPosition?: Object, rowIndex?: number): void;
|
|
36
|
-
cancelEdit(): void;
|
|
37
|
-
changeTaskMode(data: Object): void;
|
|
38
|
-
clearFiltering(fields?: string[]): void;
|
|
39
|
-
clearSelection(): void;
|
|
40
|
-
clearSorting(): void;
|
|
41
|
-
collapseAll(): void;
|
|
42
|
-
collapseByID(id: number | string): void;
|
|
43
|
-
collapseByIndex(index: number): void;
|
|
44
|
-
convertToMilestone(id: string): void;
|
|
45
|
-
csvExport(excelExportProperties?: Object, isMultipleExport?: boolean, workbook?: any, isBlob?: boolean): Object;
|
|
46
|
-
deleteRecord(taskDetail: number | string | number[] | string[] | Object | Object[]): void;
|
|
47
|
-
enableItems(items: string[], isEnable: boolean): void;
|
|
48
|
-
excelExport(excelExportProperties?: Object, isMultipleExport?: boolean, workbook?: any, isBlob?: boolean): Object;
|
|
49
|
-
expandAll(): void;
|
|
50
|
-
expandByID(id: number | string): void;
|
|
51
|
-
expandByIndex(index: number[] | number): void;
|
|
52
|
-
filterByColumn(fieldName: string, filterOperator: string, filterValue: string | number | Object | boolean | number[] | string[] | Object[] | boolean[], predicate?: string, matchCase?: boolean, ignoreAccent?: boolean): void;
|
|
53
|
-
fitToProject(): void;
|
|
54
|
-
getCriticalTasks(): Object[];
|
|
55
|
-
getDurationString(duration: number, durationUnit: string): string;
|
|
56
|
-
getExpandedRecords(records: Object[]): Object[];
|
|
57
|
-
getFormatedDate(date: Object, format?: string): string;
|
|
58
|
-
getGanttColumns(): Object[];
|
|
59
|
-
getGridColumns(): Object[];
|
|
60
|
-
getRecordByID(id: string): Object;
|
|
61
|
-
getRowByID(id: string | number): Object;
|
|
62
|
-
getRowByIndex(index: number): Object;
|
|
63
|
-
getTaskByUniqueID(id: string): Object;
|
|
64
|
-
getTaskbarHeight(): number;
|
|
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): Object;
|
|
77
|
-
previousTimeSpan(mode?: string): void;
|
|
78
|
-
removeCriticalPathStyles(): void;
|
|
79
|
-
removePredecessor(id: number | string): void;
|
|
80
|
-
removeSortColumn(columnName: string): void;
|
|
81
|
-
renderTemplates(): void;
|
|
82
|
-
reorderColumns(fromFName: string | string[], toFName: string): void;
|
|
83
|
-
reorderRows(fromIndexes: number[], toIndex: number, position: string): void;
|
|
84
|
-
resetTemplates(): void;
|
|
85
|
-
scrollToDate(date: string): void;
|
|
86
|
-
scrollToTask(taskId: string): void;
|
|
87
|
-
search(keyVal: string): void;
|
|
88
|
-
selectCell(cellIndex: Object, isToggle?: boolean): void;
|
|
89
|
-
selectCells(rowCellIndexes: Object[]): void;
|
|
90
|
-
selectRow(index: number, isToggle?: boolean): void;
|
|
91
|
-
selectRows(records: number[]): void;
|
|
92
|
-
setScrollTop(scrollTop: number): void;
|
|
93
|
-
setSplitterPosition(value: string | number, type: string): void;
|
|
94
|
-
showColumn(keys: string | string[], showBy?: string): void;
|
|
95
|
-
showCriticalPath(isCritical: boolean): void;
|
|
96
|
-
showMaskRow(): void;
|
|
97
|
-
showSpinner(): void;
|
|
98
|
-
sortColumn(columnName: string, direction: Object, isMultiSort?: boolean): void;
|
|
99
|
-
splitTask(taskId: number | string, splitDate: Object | Object[]): void;
|
|
100
|
-
updateChartScrollOffset(left: number, top: number): void;
|
|
101
|
-
updateDataSource(dataSource: Object[], args: object): void;
|
|
102
|
-
updatePredecessor(id: number | string, predecessorString: string): void;
|
|
103
|
-
updateProjectDates(startDate: Object, endDate: Object, isTimelineRoundOff: boolean, isFrom?: string): void;
|
|
104
|
-
updateRecordByID(data: Object): void;
|
|
105
|
-
updateRecordByIndex(index: number, data: Object): void;
|
|
106
|
-
updateTaskId(currentId: number | string, newId: number | string): void;
|
|
107
|
-
zoomIn(): void;
|
|
108
|
-
zoomOut(): void;
|
|
109
|
-
}
|
|
11
|
+
export declare let GanttComponent: any;
|
|
12
|
+
export declare type GanttComponent = InstanceType<typeof GanttComponent>;
|
|
110
13
|
export declare const GanttPlugin: {
|
|
111
14
|
name: string;
|
|
112
15
|
install(Vue: any): void;
|