@syncfusion/ej2-vue-gantt 19.4.54 → 20.1.47
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 +35 -0
- package/dist/ej2-vue-gantt.umd.min.js +2 -2
- package/dist/es6/ej2-vue-gantt.es2015.js +221 -15
- package/dist/es6/ej2-vue-gantt.es2015.js.map +1 -1
- package/dist/es6/ej2-vue-gantt.es5.js +150 -15
- package/dist/es6/ej2-vue-gantt.es5.js.map +1 -1
- package/dist/global/ej2-vue-gantt.min.js +2 -2
- package/package.json +8 -8
- package/src/gantt/adddialogfields.directive.d.ts +3 -1
- package/src/gantt/adddialogfields.directive.js +24 -2
- package/src/gantt/columns.directive.d.ts +3 -1
- package/src/gantt/columns.directive.js +24 -2
- package/src/gantt/dayworkingtime.directive.d.ts +3 -1
- package/src/gantt/dayworkingtime.directive.js +24 -2
- package/src/gantt/editdialogfields.directive.d.ts +3 -1
- package/src/gantt/editdialogfields.directive.js +24 -2
- package/src/gantt/eventmarkers.directive.d.ts +3 -1
- package/src/gantt/eventmarkers.directive.js +24 -2
- package/src/gantt/gantt.component.d.ts +1 -0
- package/src/gantt/gantt.component.js +10 -1
- package/src/gantt/holidays.directive.d.ts +3 -1
- package/src/gantt/holidays.directive.js +24 -2
- package/styles/bootstrap-dark.css +37 -10
- package/styles/bootstrap.css +37 -10
- package/styles/bootstrap4.css +37 -10
- package/styles/bootstrap5-dark.css +53 -19
- package/styles/bootstrap5.css +53 -19
- package/styles/fabric-dark.css +34 -7
- package/styles/fabric.css +37 -10
- package/styles/fluent-dark.css +1942 -0
- package/styles/fluent-dark.scss +1 -0
- package/styles/fluent.css +1942 -0
- package/styles/fluent.scss +1 -0
- package/styles/gantt/bootstrap-dark.css +37 -10
- package/styles/gantt/bootstrap.css +37 -10
- package/styles/gantt/bootstrap4.css +37 -10
- package/styles/gantt/bootstrap5-dark.css +53 -19
- package/styles/gantt/bootstrap5.css +53 -19
- package/styles/gantt/fabric-dark.css +34 -7
- package/styles/gantt/fabric.css +37 -10
- package/styles/gantt/fluent-dark.css +1942 -0
- package/styles/gantt/fluent-dark.scss +1 -0
- package/styles/gantt/fluent.css +1942 -0
- package/styles/gantt/fluent.scss +1 -0
- package/styles/gantt/highcontrast-light.css +34 -7
- package/styles/gantt/highcontrast.css +34 -7
- package/styles/gantt/material-dark.css +37 -10
- package/styles/gantt/material.css +37 -10
- package/styles/gantt/tailwind-dark.css +70 -99
- package/styles/gantt/tailwind.css +70 -99
- package/styles/highcontrast-light.css +34 -7
- package/styles/highcontrast.css +34 -7
- package/styles/material-dark.css +37 -10
- package/styles/material.css +37 -10
- package/styles/tailwind-dark.css +70 -99
- package/styles/tailwind.css +70 -99
package/package.json
CHANGED
|
@@ -1,8 +1,8 @@
|
|
|
1
1
|
{
|
|
2
2
|
"_from": "@syncfusion/ej2-vue-gantt@*",
|
|
3
|
-
"_id": "@syncfusion/ej2-vue-gantt@19.
|
|
3
|
+
"_id": "@syncfusion/ej2-vue-gantt@19.10.10",
|
|
4
4
|
"_inBundle": false,
|
|
5
|
-
"_integrity": "sha512-
|
|
5
|
+
"_integrity": "sha512-plLh+3iDAkg2VYW9N+SPJbzl/qa7veYOeaZ0jCzUgJjEaK2vXCcAPk+VxypHJfvzM9KQiKZV9QxgXgQl24R1kw==",
|
|
6
6
|
"_location": "/@syncfusion/ej2-vue-gantt",
|
|
7
7
|
"_phantomChildren": {},
|
|
8
8
|
"_requested": {
|
|
@@ -19,8 +19,8 @@
|
|
|
19
19
|
"_requiredBy": [
|
|
20
20
|
"/"
|
|
21
21
|
],
|
|
22
|
-
"_resolved": "http://nexus.syncfusion.com/repository/ej2-
|
|
23
|
-
"_shasum": "
|
|
22
|
+
"_resolved": "http://nexus.syncfusion.com/repository/ej2-release/@syncfusion/ej2-vue-gantt/-/ej2-vue-gantt-19.10.10.tgz",
|
|
23
|
+
"_shasum": "e44b8e24354eb875204285b323ddf988870d7c14",
|
|
24
24
|
"_spec": "@syncfusion/ej2-vue-gantt@*",
|
|
25
25
|
"_where": "/jenkins/workspace/automation_release_19.1.0.1-ZPMUBNQ6AUYH6YGEFBPVYMEQLRRW2SLD4XCZ6GATNZJFYJ3RIAOA/packages/included",
|
|
26
26
|
"author": {
|
|
@@ -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": "~20.1.47",
|
|
35
|
+
"@syncfusion/ej2-gantt": "20.1.47",
|
|
36
|
+
"@syncfusion/ej2-vue-base": "~20.1.47"
|
|
37
37
|
},
|
|
38
38
|
"deprecated": false,
|
|
39
39
|
"description": "Essential JS 2 Gantt Component for Vue",
|
|
@@ -63,6 +63,6 @@
|
|
|
63
63
|
"type": "git",
|
|
64
64
|
"url": "git+https://github.com/syncfusion/ej2-vue-ui-components.git"
|
|
65
65
|
},
|
|
66
|
-
"version": "
|
|
66
|
+
"version": "20.1.47",
|
|
67
67
|
"sideEffects": false
|
|
68
68
|
}
|
|
@@ -1,7 +1,9 @@
|
|
|
1
1
|
export declare const isExecute: any;
|
|
2
2
|
declare let vueImport: any;
|
|
3
3
|
export declare class AddDialogFieldsDirective extends vueImport {
|
|
4
|
-
|
|
4
|
+
constructor();
|
|
5
|
+
render(createElement: any): void;
|
|
6
|
+
updated(): void;
|
|
5
7
|
getTag(): string;
|
|
6
8
|
}
|
|
7
9
|
export declare const AddDialogFieldsPlugin: {
|
|
@@ -19,7 +19,9 @@ var __decorate = (this && this.__decorate) || function (decorators, target, key,
|
|
|
19
19
|
};
|
|
20
20
|
import { EJComponentDecorator, allVue, gh } from '@syncfusion/ej2-vue-base';
|
|
21
21
|
import * as Vue3 from 'vue-class-component';
|
|
22
|
+
import { isNullOrUndefined } from '@syncfusion/ej2-base';
|
|
22
23
|
import Vue from 'vue';
|
|
24
|
+
import { Options } from 'vue-class-component';
|
|
23
25
|
export var isExecute = gh ? false : true;
|
|
24
26
|
var vueImport;
|
|
25
27
|
if (!isExecute || parseInt(allVue.version) < 3) {
|
|
@@ -31,16 +33,36 @@ else {
|
|
|
31
33
|
var AddDialogFieldsDirective = /** @class */ (function (_super) {
|
|
32
34
|
__extends(AddDialogFieldsDirective, _super);
|
|
33
35
|
function AddDialogFieldsDirective() {
|
|
34
|
-
return _super
|
|
36
|
+
return _super.call(this, arguments) || this;
|
|
35
37
|
}
|
|
36
|
-
AddDialogFieldsDirective.prototype.render = function () {
|
|
38
|
+
AddDialogFieldsDirective.prototype.render = function (createElement) {
|
|
39
|
+
if (gh) {
|
|
40
|
+
var h = gh || createElement;
|
|
41
|
+
var slots = null;
|
|
42
|
+
if (!isNullOrUndefined(this.$slots.default)) {
|
|
43
|
+
slots = gh ? this.$slots.default() : this.$slots.default;
|
|
44
|
+
}
|
|
45
|
+
return h('div', { class: 'e-directive' }, slots);
|
|
46
|
+
}
|
|
37
47
|
return;
|
|
38
48
|
};
|
|
49
|
+
AddDialogFieldsDirective.prototype.updated = function () {
|
|
50
|
+
if (gh && this.custom) {
|
|
51
|
+
this.custom();
|
|
52
|
+
}
|
|
53
|
+
};
|
|
39
54
|
AddDialogFieldsDirective.prototype.getTag = function () {
|
|
40
55
|
return 'e-add-dialog-fields';
|
|
41
56
|
};
|
|
42
57
|
AddDialogFieldsDirective = __decorate([
|
|
43
58
|
EJComponentDecorator({}, isExecute)
|
|
59
|
+
,Options({
|
|
60
|
+
inject: {
|
|
61
|
+
custom: {
|
|
62
|
+
default: null
|
|
63
|
+
}
|
|
64
|
+
}
|
|
65
|
+
})
|
|
44
66
|
], AddDialogFieldsDirective);
|
|
45
67
|
return AddDialogFieldsDirective;
|
|
46
68
|
}(vueImport));
|
|
@@ -1,7 +1,9 @@
|
|
|
1
1
|
export declare const isExecute: any;
|
|
2
2
|
declare let vueImport: any;
|
|
3
3
|
export declare class ColumnsDirective extends vueImport {
|
|
4
|
-
|
|
4
|
+
constructor();
|
|
5
|
+
render(createElement: any): void;
|
|
6
|
+
updated(): void;
|
|
5
7
|
getTag(): string;
|
|
6
8
|
}
|
|
7
9
|
export declare const ColumnsPlugin: {
|
|
@@ -19,7 +19,9 @@ var __decorate = (this && this.__decorate) || function (decorators, target, key,
|
|
|
19
19
|
};
|
|
20
20
|
import { EJComponentDecorator, allVue, gh } from '@syncfusion/ej2-vue-base';
|
|
21
21
|
import * as Vue3 from 'vue-class-component';
|
|
22
|
+
import { isNullOrUndefined } from '@syncfusion/ej2-base';
|
|
22
23
|
import Vue from 'vue';
|
|
24
|
+
import { Options } from 'vue-class-component';
|
|
23
25
|
export var isExecute = gh ? false : true;
|
|
24
26
|
var vueImport;
|
|
25
27
|
if (!isExecute || parseInt(allVue.version) < 3) {
|
|
@@ -31,16 +33,36 @@ else {
|
|
|
31
33
|
var ColumnsDirective = /** @class */ (function (_super) {
|
|
32
34
|
__extends(ColumnsDirective, _super);
|
|
33
35
|
function ColumnsDirective() {
|
|
34
|
-
return _super
|
|
36
|
+
return _super.call(this, arguments) || this;
|
|
35
37
|
}
|
|
36
|
-
ColumnsDirective.prototype.render = function () {
|
|
38
|
+
ColumnsDirective.prototype.render = function (createElement) {
|
|
39
|
+
if (gh) {
|
|
40
|
+
var h = gh || createElement;
|
|
41
|
+
var slots = null;
|
|
42
|
+
if (!isNullOrUndefined(this.$slots.default)) {
|
|
43
|
+
slots = gh ? this.$slots.default() : this.$slots.default;
|
|
44
|
+
}
|
|
45
|
+
return h('div', { class: 'e-directive' }, slots);
|
|
46
|
+
}
|
|
37
47
|
return;
|
|
38
48
|
};
|
|
49
|
+
ColumnsDirective.prototype.updated = function () {
|
|
50
|
+
if (gh && this.custom) {
|
|
51
|
+
this.custom();
|
|
52
|
+
}
|
|
53
|
+
};
|
|
39
54
|
ColumnsDirective.prototype.getTag = function () {
|
|
40
55
|
return 'e-columns';
|
|
41
56
|
};
|
|
42
57
|
ColumnsDirective = __decorate([
|
|
43
58
|
EJComponentDecorator({}, isExecute)
|
|
59
|
+
,Options({
|
|
60
|
+
inject: {
|
|
61
|
+
custom: {
|
|
62
|
+
default: null
|
|
63
|
+
}
|
|
64
|
+
}
|
|
65
|
+
})
|
|
44
66
|
], ColumnsDirective);
|
|
45
67
|
return ColumnsDirective;
|
|
46
68
|
}(vueImport));
|
|
@@ -1,7 +1,9 @@
|
|
|
1
1
|
export declare const isExecute: any;
|
|
2
2
|
declare let vueImport: any;
|
|
3
3
|
export declare class DayWorkingTimeCollectionDirective extends vueImport {
|
|
4
|
-
|
|
4
|
+
constructor();
|
|
5
|
+
render(createElement: any): void;
|
|
6
|
+
updated(): void;
|
|
5
7
|
getTag(): string;
|
|
6
8
|
}
|
|
7
9
|
export declare const DayWorkingTimeCollectionPlugin: {
|
|
@@ -19,7 +19,9 @@ var __decorate = (this && this.__decorate) || function (decorators, target, key,
|
|
|
19
19
|
};
|
|
20
20
|
import { EJComponentDecorator, allVue, gh } from '@syncfusion/ej2-vue-base';
|
|
21
21
|
import * as Vue3 from 'vue-class-component';
|
|
22
|
+
import { isNullOrUndefined } from '@syncfusion/ej2-base';
|
|
22
23
|
import Vue from 'vue';
|
|
24
|
+
import { Options } from 'vue-class-component';
|
|
23
25
|
export var isExecute = gh ? false : true;
|
|
24
26
|
var vueImport;
|
|
25
27
|
if (!isExecute || parseInt(allVue.version) < 3) {
|
|
@@ -31,16 +33,36 @@ else {
|
|
|
31
33
|
var DayWorkingTimeCollectionDirective = /** @class */ (function (_super) {
|
|
32
34
|
__extends(DayWorkingTimeCollectionDirective, _super);
|
|
33
35
|
function DayWorkingTimeCollectionDirective() {
|
|
34
|
-
return _super
|
|
36
|
+
return _super.call(this, arguments) || this;
|
|
35
37
|
}
|
|
36
|
-
DayWorkingTimeCollectionDirective.prototype.render = function () {
|
|
38
|
+
DayWorkingTimeCollectionDirective.prototype.render = function (createElement) {
|
|
39
|
+
if (gh) {
|
|
40
|
+
var h = gh || createElement;
|
|
41
|
+
var slots = null;
|
|
42
|
+
if (!isNullOrUndefined(this.$slots.default)) {
|
|
43
|
+
slots = gh ? this.$slots.default() : this.$slots.default;
|
|
44
|
+
}
|
|
45
|
+
return h('div', { class: 'e-directive' }, slots);
|
|
46
|
+
}
|
|
37
47
|
return;
|
|
38
48
|
};
|
|
49
|
+
DayWorkingTimeCollectionDirective.prototype.updated = function () {
|
|
50
|
+
if (gh && this.custom) {
|
|
51
|
+
this.custom();
|
|
52
|
+
}
|
|
53
|
+
};
|
|
39
54
|
DayWorkingTimeCollectionDirective.prototype.getTag = function () {
|
|
40
55
|
return 'e-day-working-time-collection';
|
|
41
56
|
};
|
|
42
57
|
DayWorkingTimeCollectionDirective = __decorate([
|
|
43
58
|
EJComponentDecorator({}, isExecute)
|
|
59
|
+
,Options({
|
|
60
|
+
inject: {
|
|
61
|
+
custom: {
|
|
62
|
+
default: null
|
|
63
|
+
}
|
|
64
|
+
}
|
|
65
|
+
})
|
|
44
66
|
], DayWorkingTimeCollectionDirective);
|
|
45
67
|
return DayWorkingTimeCollectionDirective;
|
|
46
68
|
}(vueImport));
|
|
@@ -1,7 +1,9 @@
|
|
|
1
1
|
export declare const isExecute: any;
|
|
2
2
|
declare let vueImport: any;
|
|
3
3
|
export declare class EditDialogFieldsDirective extends vueImport {
|
|
4
|
-
|
|
4
|
+
constructor();
|
|
5
|
+
render(createElement: any): void;
|
|
6
|
+
updated(): void;
|
|
5
7
|
getTag(): string;
|
|
6
8
|
}
|
|
7
9
|
export declare const EditDialogFieldsPlugin: {
|
|
@@ -19,7 +19,9 @@ var __decorate = (this && this.__decorate) || function (decorators, target, key,
|
|
|
19
19
|
};
|
|
20
20
|
import { EJComponentDecorator, allVue, gh } from '@syncfusion/ej2-vue-base';
|
|
21
21
|
import * as Vue3 from 'vue-class-component';
|
|
22
|
+
import { isNullOrUndefined } from '@syncfusion/ej2-base';
|
|
22
23
|
import Vue from 'vue';
|
|
24
|
+
import { Options } from 'vue-class-component';
|
|
23
25
|
export var isExecute = gh ? false : true;
|
|
24
26
|
var vueImport;
|
|
25
27
|
if (!isExecute || parseInt(allVue.version) < 3) {
|
|
@@ -31,16 +33,36 @@ else {
|
|
|
31
33
|
var EditDialogFieldsDirective = /** @class */ (function (_super) {
|
|
32
34
|
__extends(EditDialogFieldsDirective, _super);
|
|
33
35
|
function EditDialogFieldsDirective() {
|
|
34
|
-
return _super
|
|
36
|
+
return _super.call(this, arguments) || this;
|
|
35
37
|
}
|
|
36
|
-
EditDialogFieldsDirective.prototype.render = function () {
|
|
38
|
+
EditDialogFieldsDirective.prototype.render = function (createElement) {
|
|
39
|
+
if (gh) {
|
|
40
|
+
var h = gh || createElement;
|
|
41
|
+
var slots = null;
|
|
42
|
+
if (!isNullOrUndefined(this.$slots.default)) {
|
|
43
|
+
slots = gh ? this.$slots.default() : this.$slots.default;
|
|
44
|
+
}
|
|
45
|
+
return h('div', { class: 'e-directive' }, slots);
|
|
46
|
+
}
|
|
37
47
|
return;
|
|
38
48
|
};
|
|
49
|
+
EditDialogFieldsDirective.prototype.updated = function () {
|
|
50
|
+
if (gh && this.custom) {
|
|
51
|
+
this.custom();
|
|
52
|
+
}
|
|
53
|
+
};
|
|
39
54
|
EditDialogFieldsDirective.prototype.getTag = function () {
|
|
40
55
|
return 'e-edit-dialog-fields';
|
|
41
56
|
};
|
|
42
57
|
EditDialogFieldsDirective = __decorate([
|
|
43
58
|
EJComponentDecorator({}, isExecute)
|
|
59
|
+
,Options({
|
|
60
|
+
inject: {
|
|
61
|
+
custom: {
|
|
62
|
+
default: null
|
|
63
|
+
}
|
|
64
|
+
}
|
|
65
|
+
})
|
|
44
66
|
], EditDialogFieldsDirective);
|
|
45
67
|
return EditDialogFieldsDirective;
|
|
46
68
|
}(vueImport));
|
|
@@ -1,7 +1,9 @@
|
|
|
1
1
|
export declare const isExecute: any;
|
|
2
2
|
declare let vueImport: any;
|
|
3
3
|
export declare class EventMarkersDirective extends vueImport {
|
|
4
|
-
|
|
4
|
+
constructor();
|
|
5
|
+
render(createElement: any): void;
|
|
6
|
+
updated(): void;
|
|
5
7
|
getTag(): string;
|
|
6
8
|
}
|
|
7
9
|
export declare const EventMarkersPlugin: {
|
|
@@ -19,7 +19,9 @@ var __decorate = (this && this.__decorate) || function (decorators, target, key,
|
|
|
19
19
|
};
|
|
20
20
|
import { EJComponentDecorator, allVue, gh } from '@syncfusion/ej2-vue-base';
|
|
21
21
|
import * as Vue3 from 'vue-class-component';
|
|
22
|
+
import { isNullOrUndefined } from '@syncfusion/ej2-base';
|
|
22
23
|
import Vue from 'vue';
|
|
24
|
+
import { Options } from 'vue-class-component';
|
|
23
25
|
export var isExecute = gh ? false : true;
|
|
24
26
|
var vueImport;
|
|
25
27
|
if (!isExecute || parseInt(allVue.version) < 3) {
|
|
@@ -31,16 +33,36 @@ else {
|
|
|
31
33
|
var EventMarkersDirective = /** @class */ (function (_super) {
|
|
32
34
|
__extends(EventMarkersDirective, _super);
|
|
33
35
|
function EventMarkersDirective() {
|
|
34
|
-
return _super
|
|
36
|
+
return _super.call(this, arguments) || this;
|
|
35
37
|
}
|
|
36
|
-
EventMarkersDirective.prototype.render = function () {
|
|
38
|
+
EventMarkersDirective.prototype.render = function (createElement) {
|
|
39
|
+
if (gh) {
|
|
40
|
+
var h = gh || createElement;
|
|
41
|
+
var slots = null;
|
|
42
|
+
if (!isNullOrUndefined(this.$slots.default)) {
|
|
43
|
+
slots = gh ? this.$slots.default() : this.$slots.default;
|
|
44
|
+
}
|
|
45
|
+
return h('div', { class: 'e-directive' }, slots);
|
|
46
|
+
}
|
|
37
47
|
return;
|
|
38
48
|
};
|
|
49
|
+
EventMarkersDirective.prototype.updated = function () {
|
|
50
|
+
if (gh && this.custom) {
|
|
51
|
+
this.custom();
|
|
52
|
+
}
|
|
53
|
+
};
|
|
39
54
|
EventMarkersDirective.prototype.getTag = function () {
|
|
40
55
|
return 'e-event-markers';
|
|
41
56
|
};
|
|
42
57
|
EventMarkersDirective = __decorate([
|
|
43
58
|
EJComponentDecorator({}, isExecute)
|
|
59
|
+
,Options({
|
|
60
|
+
inject: {
|
|
61
|
+
custom: {
|
|
62
|
+
default: null
|
|
63
|
+
}
|
|
64
|
+
}
|
|
65
|
+
})
|
|
44
66
|
], EventMarkersDirective);
|
|
45
67
|
return EventMarkersDirective;
|
|
46
68
|
}(vueImport));
|
|
@@ -31,6 +31,7 @@ export declare class GanttComponent extends ComponentBase {
|
|
|
31
31
|
[key: string]: Object;
|
|
32
32
|
}, successHandler?: Function): void;
|
|
33
33
|
render(createElement: any): any;
|
|
34
|
+
custom(): void;
|
|
34
35
|
addPredecessor(id: number, predecessorString: string): void;
|
|
35
36
|
addRecord(data?: Object[] | Object | Object, rowPosition?: Object, rowIndex?: number): void;
|
|
36
37
|
cancelEdit(): void;
|
|
@@ -64,6 +64,7 @@ var GanttComponent = /** @class */ (function (_super) {
|
|
|
64
64
|
_this.ej2Instances._setProperties = _this.ej2Instances.setProperties;
|
|
65
65
|
_this.ej2Instances.setProperties = _this.setProperties;
|
|
66
66
|
_this.ej2Instances.clearTemplate = _this.clearTemplate;
|
|
67
|
+
_this.updated = _this.updated;
|
|
67
68
|
return _this;
|
|
68
69
|
}
|
|
69
70
|
GanttComponent.prototype.clearTemplate = function (templateNames) {
|
|
@@ -160,6 +161,9 @@ var GanttComponent = /** @class */ (function (_super) {
|
|
|
160
161
|
}
|
|
161
162
|
return h('div', slots);
|
|
162
163
|
};
|
|
164
|
+
GanttComponent.prototype.custom = function () {
|
|
165
|
+
this.updated();
|
|
166
|
+
};
|
|
163
167
|
GanttComponent.prototype.addPredecessor = function (id, predecessorString) {
|
|
164
168
|
return this.ej2Instances.addPredecessor(id, predecessorString);
|
|
165
169
|
};
|
|
@@ -380,7 +384,12 @@ var GanttComponent = /** @class */ (function (_super) {
|
|
|
380
384
|
,Options({
|
|
381
385
|
props: props,
|
|
382
386
|
watch: watch,
|
|
383
|
-
emits: emitProbs
|
|
387
|
+
emits: emitProbs,
|
|
388
|
+
provide: function provide() {
|
|
389
|
+
return {
|
|
390
|
+
custom: this.custom
|
|
391
|
+
};
|
|
392
|
+
}
|
|
384
393
|
})
|
|
385
394
|
], GanttComponent);
|
|
386
395
|
return GanttComponent;
|
|
@@ -1,7 +1,9 @@
|
|
|
1
1
|
export declare const isExecute: any;
|
|
2
2
|
declare let vueImport: any;
|
|
3
3
|
export declare class HolidaysDirective extends vueImport {
|
|
4
|
-
|
|
4
|
+
constructor();
|
|
5
|
+
render(createElement: any): void;
|
|
6
|
+
updated(): void;
|
|
5
7
|
getTag(): string;
|
|
6
8
|
}
|
|
7
9
|
export declare const HolidaysPlugin: {
|
|
@@ -19,7 +19,9 @@ var __decorate = (this && this.__decorate) || function (decorators, target, key,
|
|
|
19
19
|
};
|
|
20
20
|
import { EJComponentDecorator, allVue, gh } from '@syncfusion/ej2-vue-base';
|
|
21
21
|
import * as Vue3 from 'vue-class-component';
|
|
22
|
+
import { isNullOrUndefined } from '@syncfusion/ej2-base';
|
|
22
23
|
import Vue from 'vue';
|
|
24
|
+
import { Options } from 'vue-class-component';
|
|
23
25
|
export var isExecute = gh ? false : true;
|
|
24
26
|
var vueImport;
|
|
25
27
|
if (!isExecute || parseInt(allVue.version) < 3) {
|
|
@@ -31,16 +33,36 @@ else {
|
|
|
31
33
|
var HolidaysDirective = /** @class */ (function (_super) {
|
|
32
34
|
__extends(HolidaysDirective, _super);
|
|
33
35
|
function HolidaysDirective() {
|
|
34
|
-
return _super
|
|
36
|
+
return _super.call(this, arguments) || this;
|
|
35
37
|
}
|
|
36
|
-
HolidaysDirective.prototype.render = function () {
|
|
38
|
+
HolidaysDirective.prototype.render = function (createElement) {
|
|
39
|
+
if (gh) {
|
|
40
|
+
var h = gh || createElement;
|
|
41
|
+
var slots = null;
|
|
42
|
+
if (!isNullOrUndefined(this.$slots.default)) {
|
|
43
|
+
slots = gh ? this.$slots.default() : this.$slots.default;
|
|
44
|
+
}
|
|
45
|
+
return h('div', { class: 'e-directive' }, slots);
|
|
46
|
+
}
|
|
37
47
|
return;
|
|
38
48
|
};
|
|
49
|
+
HolidaysDirective.prototype.updated = function () {
|
|
50
|
+
if (gh && this.custom) {
|
|
51
|
+
this.custom();
|
|
52
|
+
}
|
|
53
|
+
};
|
|
39
54
|
HolidaysDirective.prototype.getTag = function () {
|
|
40
55
|
return 'e-holidays';
|
|
41
56
|
};
|
|
42
57
|
HolidaysDirective = __decorate([
|
|
43
58
|
EJComponentDecorator({}, isExecute)
|
|
59
|
+
,Options({
|
|
60
|
+
inject: {
|
|
61
|
+
custom: {
|
|
62
|
+
default: null
|
|
63
|
+
}
|
|
64
|
+
}
|
|
65
|
+
})
|
|
44
66
|
], HolidaysDirective);
|
|
45
67
|
return HolidaysDirective;
|
|
46
68
|
}(vueImport));
|
|
@@ -276,6 +276,34 @@
|
|
|
276
276
|
content: '\e903';
|
|
277
277
|
}
|
|
278
278
|
|
|
279
|
+
.e-bigger .e-gantt .e-gantt-chart .e-timeline-header-container {
|
|
280
|
+
height: 64px;
|
|
281
|
+
}
|
|
282
|
+
|
|
283
|
+
.e-bigger .e-gantt .e-gantt-chart .e-timeline-top-header-cell {
|
|
284
|
+
height: 32px;
|
|
285
|
+
}
|
|
286
|
+
|
|
287
|
+
.e-bigger .e-gantt .e-gantt-tree-grid-pane .e-columnheader .e-headercell {
|
|
288
|
+
height: 63px !important;
|
|
289
|
+
}
|
|
290
|
+
|
|
291
|
+
.e-bigger .e-columnmenu {
|
|
292
|
+
top: 40px;
|
|
293
|
+
}
|
|
294
|
+
|
|
295
|
+
.e-bigger .e-gantt-dialog .e-edit-form-column:nth-child(odd) {
|
|
296
|
+
padding: 16px 18px 0 18px;
|
|
297
|
+
}
|
|
298
|
+
|
|
299
|
+
.e-bigger .e-gantt-dialog .e-edit-form-column:nth-child(even) {
|
|
300
|
+
padding: 16px 18px 0 0;
|
|
301
|
+
}
|
|
302
|
+
|
|
303
|
+
.e-bigger .e-gantt-dialog .e-edit-form-row.e-scroll .e-edit-form-column:nth-child(even) {
|
|
304
|
+
padding: 16px 18px 0 0;
|
|
305
|
+
}
|
|
306
|
+
|
|
279
307
|
.e-gantt {
|
|
280
308
|
display: block;
|
|
281
309
|
width: 100%;
|
|
@@ -790,9 +818,10 @@
|
|
|
790
818
|
}
|
|
791
819
|
|
|
792
820
|
.e-gantt .e-gantt-chart .e-baseline-bar {
|
|
821
|
+
border-radius: 2px;
|
|
793
822
|
box-sizing: border-box;
|
|
794
823
|
position: absolute;
|
|
795
|
-
z-index:
|
|
824
|
+
z-index: 2;
|
|
796
825
|
}
|
|
797
826
|
|
|
798
827
|
.e-gantt .e-gantt-chart .e-milestone-top,
|
|
@@ -854,7 +883,6 @@
|
|
|
854
883
|
}
|
|
855
884
|
|
|
856
885
|
.e-gantt .e-gantt-chart .e-holiday .e-span {
|
|
857
|
-
font-size: 13px;
|
|
858
886
|
position: absolute;
|
|
859
887
|
transform: rotate(-90deg);
|
|
860
888
|
white-space: nowrap;
|
|
@@ -1137,6 +1165,8 @@
|
|
|
1137
1165
|
|
|
1138
1166
|
.e-gantt-dialog .e-dlg-header-content .e-btn.e-dlg-closeicon-btn {
|
|
1139
1167
|
border-radius: 50%;
|
|
1168
|
+
height: auto !important;
|
|
1169
|
+
width: auto !important;
|
|
1140
1170
|
}
|
|
1141
1171
|
|
|
1142
1172
|
.e-icon-rowselect::before {
|
|
@@ -1445,11 +1475,13 @@
|
|
|
1445
1475
|
.e-gantt .e-gantt-chart .e-gantt-parent-progressbar-inner-div {
|
|
1446
1476
|
background-color: #4cc7ba;
|
|
1447
1477
|
border: 1px solid #4cc7ba;
|
|
1478
|
+
border-radius: 4px;
|
|
1448
1479
|
}
|
|
1449
1480
|
|
|
1450
1481
|
.e-gantt .e-gantt-chart .e-gantt-child-progressbar-inner-div {
|
|
1451
1482
|
background-color: #0070f0;
|
|
1452
1483
|
border: 1px solid #0070f0;
|
|
1484
|
+
border-radius: 4px;
|
|
1453
1485
|
}
|
|
1454
1486
|
|
|
1455
1487
|
.e-gantt .e-gantt-chart .e-gantt-child-manualtaskbar {
|
|
@@ -1520,11 +1552,6 @@
|
|
|
1520
1552
|
|
|
1521
1553
|
.e-gantt .e-gantt-chart .e-progress-resize-gripper .e-progressbar-handler {
|
|
1522
1554
|
background: #222;
|
|
1523
|
-
border-color: #fff;
|
|
1524
|
-
}
|
|
1525
|
-
|
|
1526
|
-
.e-gantt .e-gantt-chart .e-progress-resize-gripper .e-progressbar-handler-element {
|
|
1527
|
-
border-bottom-color: #fff;
|
|
1528
1555
|
}
|
|
1529
1556
|
|
|
1530
1557
|
.e-gantt .e-gantt-chart .e-progress-resize-gripper .e-progressbar-handler-after {
|
|
@@ -1688,15 +1715,15 @@
|
|
|
1688
1715
|
}
|
|
1689
1716
|
|
|
1690
1717
|
.e-gantt .e-gantt-chart .e-baseline-bar {
|
|
1691
|
-
background-color: #
|
|
1718
|
+
background-color: #fac168;
|
|
1692
1719
|
}
|
|
1693
1720
|
|
|
1694
1721
|
.e-gantt .e-gantt-chart .e-baseline-milestone-top {
|
|
1695
|
-
border-bottom-color: #
|
|
1722
|
+
border-bottom-color: #fac168;
|
|
1696
1723
|
}
|
|
1697
1724
|
|
|
1698
1725
|
.e-gantt .e-gantt-chart .e-baseline-milestone-bottom {
|
|
1699
|
-
border-top-color: #
|
|
1726
|
+
border-top-color: #fac168;
|
|
1700
1727
|
}
|
|
1701
1728
|
|
|
1702
1729
|
.e-gantt .e-gantt-chart .e-uptail::before {
|
package/styles/bootstrap.css
CHANGED
|
@@ -426,6 +426,34 @@
|
|
|
426
426
|
content: '\e903';
|
|
427
427
|
}
|
|
428
428
|
|
|
429
|
+
.e-bigger .e-gantt .e-gantt-chart .e-timeline-header-container {
|
|
430
|
+
height: 64px;
|
|
431
|
+
}
|
|
432
|
+
|
|
433
|
+
.e-bigger .e-gantt .e-gantt-chart .e-timeline-top-header-cell {
|
|
434
|
+
height: 32px;
|
|
435
|
+
}
|
|
436
|
+
|
|
437
|
+
.e-bigger .e-gantt .e-gantt-tree-grid-pane .e-columnheader .e-headercell {
|
|
438
|
+
height: 63px !important;
|
|
439
|
+
}
|
|
440
|
+
|
|
441
|
+
.e-bigger .e-columnmenu {
|
|
442
|
+
top: 40px;
|
|
443
|
+
}
|
|
444
|
+
|
|
445
|
+
.e-bigger .e-gantt-dialog .e-edit-form-column:nth-child(odd) {
|
|
446
|
+
padding: 16px 18px 0 18px;
|
|
447
|
+
}
|
|
448
|
+
|
|
449
|
+
.e-bigger .e-gantt-dialog .e-edit-form-column:nth-child(even) {
|
|
450
|
+
padding: 16px 18px 0 0;
|
|
451
|
+
}
|
|
452
|
+
|
|
453
|
+
.e-bigger .e-gantt-dialog .e-edit-form-row.e-scroll .e-edit-form-column:nth-child(even) {
|
|
454
|
+
padding: 16px 18px 0 0;
|
|
455
|
+
}
|
|
456
|
+
|
|
429
457
|
.e-gantt {
|
|
430
458
|
display: block;
|
|
431
459
|
width: 100%;
|
|
@@ -940,9 +968,10 @@
|
|
|
940
968
|
}
|
|
941
969
|
|
|
942
970
|
.e-gantt .e-gantt-chart .e-baseline-bar {
|
|
971
|
+
border-radius: 2px;
|
|
943
972
|
box-sizing: border-box;
|
|
944
973
|
position: absolute;
|
|
945
|
-
z-index:
|
|
974
|
+
z-index: 2;
|
|
946
975
|
}
|
|
947
976
|
|
|
948
977
|
.e-gantt .e-gantt-chart .e-milestone-top,
|
|
@@ -1004,7 +1033,6 @@
|
|
|
1004
1033
|
}
|
|
1005
1034
|
|
|
1006
1035
|
.e-gantt .e-gantt-chart .e-holiday .e-span {
|
|
1007
|
-
font-size: 13px;
|
|
1008
1036
|
position: absolute;
|
|
1009
1037
|
transform: rotate(-90deg);
|
|
1010
1038
|
white-space: nowrap;
|
|
@@ -1287,6 +1315,8 @@
|
|
|
1287
1315
|
|
|
1288
1316
|
.e-gantt-dialog .e-dlg-header-content .e-btn.e-dlg-closeicon-btn {
|
|
1289
1317
|
border-radius: 50%;
|
|
1318
|
+
height: auto !important;
|
|
1319
|
+
width: auto !important;
|
|
1290
1320
|
}
|
|
1291
1321
|
|
|
1292
1322
|
.e-icon-rowselect::before {
|
|
@@ -1595,11 +1625,13 @@
|
|
|
1595
1625
|
.e-gantt .e-gantt-chart .e-gantt-parent-progressbar-inner-div {
|
|
1596
1626
|
background-color: #555;
|
|
1597
1627
|
border: 1px solid #555;
|
|
1628
|
+
border-radius: 4px;
|
|
1598
1629
|
}
|
|
1599
1630
|
|
|
1600
1631
|
.e-gantt .e-gantt-chart .e-gantt-child-progressbar-inner-div {
|
|
1601
1632
|
background-color: #21527d;
|
|
1602
1633
|
border: 1px solid #21527d;
|
|
1634
|
+
border-radius: 4px;
|
|
1603
1635
|
}
|
|
1604
1636
|
|
|
1605
1637
|
.e-gantt .e-gantt-chart .e-gantt-child-manualtaskbar {
|
|
@@ -1670,11 +1702,6 @@
|
|
|
1670
1702
|
|
|
1671
1703
|
.e-gantt .e-gantt-chart .e-progress-resize-gripper .e-progressbar-handler {
|
|
1672
1704
|
background: #222;
|
|
1673
|
-
border-color: #fff;
|
|
1674
|
-
}
|
|
1675
|
-
|
|
1676
|
-
.e-gantt .e-gantt-chart .e-progress-resize-gripper .e-progressbar-handler-element {
|
|
1677
|
-
border-bottom-color: #fff;
|
|
1678
1705
|
}
|
|
1679
1706
|
|
|
1680
1707
|
.e-gantt .e-gantt-chart .e-progress-resize-gripper .e-progressbar-handler-after {
|
|
@@ -1838,15 +1865,15 @@
|
|
|
1838
1865
|
}
|
|
1839
1866
|
|
|
1840
1867
|
.e-gantt .e-gantt-chart .e-baseline-bar {
|
|
1841
|
-
background-color: #
|
|
1868
|
+
background-color: #f0ad4e;
|
|
1842
1869
|
}
|
|
1843
1870
|
|
|
1844
1871
|
.e-gantt .e-gantt-chart .e-baseline-milestone-top {
|
|
1845
|
-
border-bottom-color: #
|
|
1872
|
+
border-bottom-color: #f0ad4e;
|
|
1846
1873
|
}
|
|
1847
1874
|
|
|
1848
1875
|
.e-gantt .e-gantt-chart .e-baseline-milestone-bottom {
|
|
1849
|
-
border-top-color: #
|
|
1876
|
+
border-top-color: #f0ad4e;
|
|
1850
1877
|
}
|
|
1851
1878
|
|
|
1852
1879
|
.e-gantt .e-gantt-chart .e-uptail::before {
|