@syncfusion/ej2-vue-gantt 20.2.49 → 20.3.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 +26 -0
- package/dist/ej2-vue-gantt.umd.min.js +1 -1
- package/dist/es6/ej2-vue-gantt.es2015.js +47 -54
- package/dist/es6/ej2-vue-gantt.es2015.js.map +1 -1
- package/dist/es6/ej2-vue-gantt.es5.js +47 -54
- 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 +0 -1
- package/src/gantt/adddialogfields.directive.js +5 -6
- package/src/gantt/columns.directive.d.ts +0 -1
- package/src/gantt/columns.directive.js +5 -6
- package/src/gantt/dayworkingtime.directive.d.ts +0 -1
- package/src/gantt/dayworkingtime.directive.js +5 -6
- package/src/gantt/editdialogfields.directive.d.ts +0 -1
- package/src/gantt/editdialogfields.directive.js +5 -6
- package/src/gantt/eventmarkers.directive.d.ts +0 -1
- package/src/gantt/eventmarkers.directive.js +5 -6
- package/src/gantt/gantt.component.d.ts +6 -7
- package/src/gantt/gantt.component.js +3 -4
- package/src/gantt/holidays.directive.d.ts +0 -1
- package/src/gantt/holidays.directive.js +5 -6
- package/styles/bootstrap-dark.css +115 -62
- package/styles/bootstrap.css +115 -62
- package/styles/bootstrap4.css +115 -62
- package/styles/bootstrap5-dark.css +119 -63
- package/styles/bootstrap5.css +119 -63
- package/styles/fabric-dark.css +115 -62
- package/styles/fabric.css +115 -62
- package/styles/fluent-dark.css +126 -66
- package/styles/fluent.css +124 -64
- package/styles/gantt/bootstrap-dark.css +115 -62
- package/styles/gantt/bootstrap.css +115 -62
- package/styles/gantt/bootstrap4.css +115 -62
- package/styles/gantt/bootstrap5-dark.css +119 -63
- package/styles/gantt/bootstrap5.css +119 -63
- package/styles/gantt/fabric-dark.css +115 -62
- package/styles/gantt/fabric.css +115 -62
- package/styles/gantt/fluent-dark.css +126 -66
- package/styles/gantt/fluent.css +124 -64
- package/styles/gantt/highcontrast-light.css +120 -62
- package/styles/gantt/highcontrast.css +120 -62
- package/styles/gantt/material-dark.css +120 -65
- package/styles/gantt/material.css +118 -65
- package/styles/gantt/tailwind-dark.css +117 -64
- package/styles/gantt/tailwind.css +117 -64
- package/styles/highcontrast-light.css +120 -62
- package/styles/highcontrast.css +120 -62
- package/styles/material-dark.css +120 -65
- package/styles/material.css +118 -65
- package/styles/tailwind-dark.css +117 -64
- package/styles/tailwind.css +117 -64
package/package.json
CHANGED
|
@@ -1,8 +1,8 @@
|
|
|
1
1
|
{
|
|
2
2
|
"_from": "@syncfusion/ej2-vue-gantt@*",
|
|
3
|
-
"_id": "@syncfusion/ej2-vue-gantt@20.
|
|
3
|
+
"_id": "@syncfusion/ej2-vue-gantt@20.6.13",
|
|
4
4
|
"_inBundle": false,
|
|
5
|
-
"_integrity": "sha512-
|
|
5
|
+
"_integrity": "sha512-C8QAN057xbBTDXfwTpUHgRthMVOml+UxBPQGeaXineROzvpQCSOlCHu6+tqEE1u+Y1iT3GJ0LYGTjOgA0T9LzQ==",
|
|
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-20.6.13.tgz",
|
|
23
|
+
"_shasum": "5d4d061216f10635796326847cd4ebbc41f583d8",
|
|
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": "~20.
|
|
35
|
-
"@syncfusion/ej2-gantt": "20.
|
|
36
|
-
"@syncfusion/ej2-vue-base": "~20.
|
|
34
|
+
"@syncfusion/ej2-base": "~20.3.47",
|
|
35
|
+
"@syncfusion/ej2-gantt": "20.3.47",
|
|
36
|
+
"@syncfusion/ej2-vue-base": "~20.3.47"
|
|
37
37
|
},
|
|
38
38
|
"deprecated": false,
|
|
39
39
|
"description": "Essential JS 2 Gantt Component for Vue",
|
|
@@ -66,6 +66,6 @@
|
|
|
66
66
|
"scripts": {
|
|
67
67
|
"postinstall": "node ../ej2-vue-base/postinstall.js"
|
|
68
68
|
},
|
|
69
|
-
"version": "20.
|
|
69
|
+
"version": "20.3.47",
|
|
70
70
|
"sideEffects": false
|
|
71
71
|
}
|
|
@@ -17,12 +17,11 @@ var __decorate = (this && this.__decorate) || function (decorators, target, key,
|
|
|
17
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
18
|
return c > 3 && r && Object.defineProperty(target, key, r), r;
|
|
19
19
|
};
|
|
20
|
-
import { EJComponentDecorator, allVue, gh } from '@syncfusion/ej2-vue-base';
|
|
20
|
+
import { EJComponentDecorator, allVue, gh, isExecute } from '@syncfusion/ej2-vue-base';
|
|
21
21
|
import * as Vue3 from 'vue-class-component';
|
|
22
22
|
import { isNullOrUndefined } from '@syncfusion/ej2-base';
|
|
23
23
|
import Vue from 'vue';
|
|
24
24
|
import { Options } from 'vue-class-component';
|
|
25
|
-
export var isExecute = gh ? false : true;
|
|
26
25
|
var vueImport;
|
|
27
26
|
if (!isExecute || parseInt(allVue.version) < 3) {
|
|
28
27
|
vueImport = Vue3.Vue;
|
|
@@ -36,18 +35,18 @@ var AddDialogFieldsDirective = /** @class */ (function (_super) {
|
|
|
36
35
|
return _super.call(this, arguments) || this;
|
|
37
36
|
}
|
|
38
37
|
AddDialogFieldsDirective.prototype.render = function (createElement) {
|
|
39
|
-
if (
|
|
40
|
-
var h = gh
|
|
38
|
+
if (!isExecute) {
|
|
39
|
+
var h = !isExecute ? gh : createElement;
|
|
41
40
|
var slots = null;
|
|
42
41
|
if (!isNullOrUndefined(this.$slots.default)) {
|
|
43
|
-
slots =
|
|
42
|
+
slots = !isExecute ? this.$slots.default() : this.$slots.default;
|
|
44
43
|
}
|
|
45
44
|
return h('div', { class: 'e-directive' }, slots);
|
|
46
45
|
}
|
|
47
46
|
return;
|
|
48
47
|
};
|
|
49
48
|
AddDialogFieldsDirective.prototype.updated = function () {
|
|
50
|
-
if (
|
|
49
|
+
if (!isExecute && this.custom) {
|
|
51
50
|
this.custom();
|
|
52
51
|
}
|
|
53
52
|
};
|
|
@@ -17,12 +17,11 @@ var __decorate = (this && this.__decorate) || function (decorators, target, key,
|
|
|
17
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
18
|
return c > 3 && r && Object.defineProperty(target, key, r), r;
|
|
19
19
|
};
|
|
20
|
-
import { EJComponentDecorator, allVue, gh } from '@syncfusion/ej2-vue-base';
|
|
20
|
+
import { EJComponentDecorator, allVue, gh, isExecute } from '@syncfusion/ej2-vue-base';
|
|
21
21
|
import * as Vue3 from 'vue-class-component';
|
|
22
22
|
import { isNullOrUndefined } from '@syncfusion/ej2-base';
|
|
23
23
|
import Vue from 'vue';
|
|
24
24
|
import { Options } from 'vue-class-component';
|
|
25
|
-
export var isExecute = gh ? false : true;
|
|
26
25
|
var vueImport;
|
|
27
26
|
if (!isExecute || parseInt(allVue.version) < 3) {
|
|
28
27
|
vueImport = Vue3.Vue;
|
|
@@ -36,18 +35,18 @@ var ColumnsDirective = /** @class */ (function (_super) {
|
|
|
36
35
|
return _super.call(this, arguments) || this;
|
|
37
36
|
}
|
|
38
37
|
ColumnsDirective.prototype.render = function (createElement) {
|
|
39
|
-
if (
|
|
40
|
-
var h = gh
|
|
38
|
+
if (!isExecute) {
|
|
39
|
+
var h = !isExecute ? gh : createElement;
|
|
41
40
|
var slots = null;
|
|
42
41
|
if (!isNullOrUndefined(this.$slots.default)) {
|
|
43
|
-
slots =
|
|
42
|
+
slots = !isExecute ? this.$slots.default() : this.$slots.default;
|
|
44
43
|
}
|
|
45
44
|
return h('div', { class: 'e-directive' }, slots);
|
|
46
45
|
}
|
|
47
46
|
return;
|
|
48
47
|
};
|
|
49
48
|
ColumnsDirective.prototype.updated = function () {
|
|
50
|
-
if (
|
|
49
|
+
if (!isExecute && this.custom) {
|
|
51
50
|
this.custom();
|
|
52
51
|
}
|
|
53
52
|
};
|
|
@@ -17,12 +17,11 @@ var __decorate = (this && this.__decorate) || function (decorators, target, key,
|
|
|
17
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
18
|
return c > 3 && r && Object.defineProperty(target, key, r), r;
|
|
19
19
|
};
|
|
20
|
-
import { EJComponentDecorator, allVue, gh } from '@syncfusion/ej2-vue-base';
|
|
20
|
+
import { EJComponentDecorator, allVue, gh, isExecute } from '@syncfusion/ej2-vue-base';
|
|
21
21
|
import * as Vue3 from 'vue-class-component';
|
|
22
22
|
import { isNullOrUndefined } from '@syncfusion/ej2-base';
|
|
23
23
|
import Vue from 'vue';
|
|
24
24
|
import { Options } from 'vue-class-component';
|
|
25
|
-
export var isExecute = gh ? false : true;
|
|
26
25
|
var vueImport;
|
|
27
26
|
if (!isExecute || parseInt(allVue.version) < 3) {
|
|
28
27
|
vueImport = Vue3.Vue;
|
|
@@ -36,18 +35,18 @@ var DayWorkingTimeCollectionDirective = /** @class */ (function (_super) {
|
|
|
36
35
|
return _super.call(this, arguments) || this;
|
|
37
36
|
}
|
|
38
37
|
DayWorkingTimeCollectionDirective.prototype.render = function (createElement) {
|
|
39
|
-
if (
|
|
40
|
-
var h = gh
|
|
38
|
+
if (!isExecute) {
|
|
39
|
+
var h = !isExecute ? gh : createElement;
|
|
41
40
|
var slots = null;
|
|
42
41
|
if (!isNullOrUndefined(this.$slots.default)) {
|
|
43
|
-
slots =
|
|
42
|
+
slots = !isExecute ? this.$slots.default() : this.$slots.default;
|
|
44
43
|
}
|
|
45
44
|
return h('div', { class: 'e-directive' }, slots);
|
|
46
45
|
}
|
|
47
46
|
return;
|
|
48
47
|
};
|
|
49
48
|
DayWorkingTimeCollectionDirective.prototype.updated = function () {
|
|
50
|
-
if (
|
|
49
|
+
if (!isExecute && this.custom) {
|
|
51
50
|
this.custom();
|
|
52
51
|
}
|
|
53
52
|
};
|
|
@@ -17,12 +17,11 @@ var __decorate = (this && this.__decorate) || function (decorators, target, key,
|
|
|
17
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
18
|
return c > 3 && r && Object.defineProperty(target, key, r), r;
|
|
19
19
|
};
|
|
20
|
-
import { EJComponentDecorator, allVue, gh } from '@syncfusion/ej2-vue-base';
|
|
20
|
+
import { EJComponentDecorator, allVue, gh, isExecute } from '@syncfusion/ej2-vue-base';
|
|
21
21
|
import * as Vue3 from 'vue-class-component';
|
|
22
22
|
import { isNullOrUndefined } from '@syncfusion/ej2-base';
|
|
23
23
|
import Vue from 'vue';
|
|
24
24
|
import { Options } from 'vue-class-component';
|
|
25
|
-
export var isExecute = gh ? false : true;
|
|
26
25
|
var vueImport;
|
|
27
26
|
if (!isExecute || parseInt(allVue.version) < 3) {
|
|
28
27
|
vueImport = Vue3.Vue;
|
|
@@ -36,18 +35,18 @@ var EditDialogFieldsDirective = /** @class */ (function (_super) {
|
|
|
36
35
|
return _super.call(this, arguments) || this;
|
|
37
36
|
}
|
|
38
37
|
EditDialogFieldsDirective.prototype.render = function (createElement) {
|
|
39
|
-
if (
|
|
40
|
-
var h = gh
|
|
38
|
+
if (!isExecute) {
|
|
39
|
+
var h = !isExecute ? gh : createElement;
|
|
41
40
|
var slots = null;
|
|
42
41
|
if (!isNullOrUndefined(this.$slots.default)) {
|
|
43
|
-
slots =
|
|
42
|
+
slots = !isExecute ? this.$slots.default() : this.$slots.default;
|
|
44
43
|
}
|
|
45
44
|
return h('div', { class: 'e-directive' }, slots);
|
|
46
45
|
}
|
|
47
46
|
return;
|
|
48
47
|
};
|
|
49
48
|
EditDialogFieldsDirective.prototype.updated = function () {
|
|
50
|
-
if (
|
|
49
|
+
if (!isExecute && this.custom) {
|
|
51
50
|
this.custom();
|
|
52
51
|
}
|
|
53
52
|
};
|
|
@@ -17,12 +17,11 @@ var __decorate = (this && this.__decorate) || function (decorators, target, key,
|
|
|
17
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
18
|
return c > 3 && r && Object.defineProperty(target, key, r), r;
|
|
19
19
|
};
|
|
20
|
-
import { EJComponentDecorator, allVue, gh } from '@syncfusion/ej2-vue-base';
|
|
20
|
+
import { EJComponentDecorator, allVue, gh, isExecute } from '@syncfusion/ej2-vue-base';
|
|
21
21
|
import * as Vue3 from 'vue-class-component';
|
|
22
22
|
import { isNullOrUndefined } from '@syncfusion/ej2-base';
|
|
23
23
|
import Vue from 'vue';
|
|
24
24
|
import { Options } from 'vue-class-component';
|
|
25
|
-
export var isExecute = gh ? false : true;
|
|
26
25
|
var vueImport;
|
|
27
26
|
if (!isExecute || parseInt(allVue.version) < 3) {
|
|
28
27
|
vueImport = Vue3.Vue;
|
|
@@ -36,18 +35,18 @@ var EventMarkersDirective = /** @class */ (function (_super) {
|
|
|
36
35
|
return _super.call(this, arguments) || this;
|
|
37
36
|
}
|
|
38
37
|
EventMarkersDirective.prototype.render = function (createElement) {
|
|
39
|
-
if (
|
|
40
|
-
var h = gh
|
|
38
|
+
if (!isExecute) {
|
|
39
|
+
var h = !isExecute ? gh : createElement;
|
|
41
40
|
var slots = null;
|
|
42
41
|
if (!isNullOrUndefined(this.$slots.default)) {
|
|
43
|
-
slots =
|
|
42
|
+
slots = !isExecute ? this.$slots.default() : this.$slots.default;
|
|
44
43
|
}
|
|
45
44
|
return h('div', { class: 'e-directive' }, slots);
|
|
46
45
|
}
|
|
47
46
|
return;
|
|
48
47
|
};
|
|
49
48
|
EventMarkersDirective.prototype.updated = function () {
|
|
50
|
-
if (
|
|
49
|
+
if (!isExecute && this.custom) {
|
|
51
50
|
this.custom();
|
|
52
51
|
}
|
|
53
52
|
};
|
|
@@ -5,7 +5,6 @@ export declare const testProp: any;
|
|
|
5
5
|
export declare const props: any;
|
|
6
6
|
export declare const watch: any;
|
|
7
7
|
export declare const emitProbs: any;
|
|
8
|
-
export declare const isExecute: any;
|
|
9
8
|
/**
|
|
10
9
|
* `ejs-gantt` represents the VueJS Gantt Component.
|
|
11
10
|
* ```vue
|
|
@@ -32,7 +31,7 @@ export declare class GanttComponent extends ComponentBase {
|
|
|
32
31
|
}, successHandler?: Function): void;
|
|
33
32
|
render(createElement: any): any;
|
|
34
33
|
custom(): void;
|
|
35
|
-
addPredecessor(id: number, predecessorString: string): void;
|
|
34
|
+
addPredecessor(id: number | string, predecessorString: string): void;
|
|
36
35
|
addRecord(data?: Object[] | Object | Object, rowPosition?: Object, rowIndex?: number): void;
|
|
37
36
|
cancelEdit(): void;
|
|
38
37
|
changeTaskMode(data: Object): void;
|
|
@@ -40,7 +39,7 @@ export declare class GanttComponent extends ComponentBase {
|
|
|
40
39
|
clearSelection(): void;
|
|
41
40
|
clearSorting(): void;
|
|
42
41
|
collapseAll(): void;
|
|
43
|
-
collapseByID(id: number): void;
|
|
42
|
+
collapseByID(id: number | string): void;
|
|
44
43
|
collapseByIndex(index: number): void;
|
|
45
44
|
convertToMilestone(id: string): void;
|
|
46
45
|
csvExport(excelExportProperties?: Object, isMultipleExport?: boolean, workbook?: any, isBlob?: boolean): Object;
|
|
@@ -48,7 +47,7 @@ export declare class GanttComponent extends ComponentBase {
|
|
|
48
47
|
enableItems(items: string[], isEnable: boolean): void;
|
|
49
48
|
excelExport(excelExportProperties?: Object, isMultipleExport?: boolean, workbook?: any, isBlob?: boolean): Object;
|
|
50
49
|
expandAll(): void;
|
|
51
|
-
expandByID(id: number): void;
|
|
50
|
+
expandByID(id: number | string): void;
|
|
52
51
|
expandByIndex(index: number[] | number): void;
|
|
53
52
|
filterByColumn(fieldName: string, filterOperator: string, filterValue: string | number | Object | boolean | number[] | string[] | Object[] | boolean[], predicate?: string, matchCase?: boolean, ignoreAccent?: boolean): void;
|
|
54
53
|
fitToProject(): void;
|
|
@@ -71,12 +70,12 @@ export declare class GanttComponent extends ComponentBase {
|
|
|
71
70
|
mergeTask(taskId: number | string, segmentIndexes: undefined[]): void;
|
|
72
71
|
nextTimeSpan(mode?: string): void;
|
|
73
72
|
openAddDialog(): void;
|
|
74
|
-
openEditDialog(taskId?: number): void;
|
|
73
|
+
openEditDialog(taskId?: number | string): void;
|
|
75
74
|
outdent(): void;
|
|
76
75
|
pdfExport(pdfExportProperties?: Object, isMultipleExport?: boolean, pdfDoc?: Object): Object;
|
|
77
76
|
previousTimeSpan(mode?: string): void;
|
|
78
77
|
removeCriticalPathStyles(): void;
|
|
79
|
-
removePredecessor(id: number): void;
|
|
78
|
+
removePredecessor(id: number | string): void;
|
|
80
79
|
removeSortColumn(columnName: string): void;
|
|
81
80
|
renderTemplates(): void;
|
|
82
81
|
reorderColumns(fromFName: string | string[], toFName: string): void;
|
|
@@ -98,7 +97,7 @@ export declare class GanttComponent extends ComponentBase {
|
|
|
98
97
|
splitTask(taskId: number | string, splitDate: Object | Object[]): void;
|
|
99
98
|
updateChartScrollOffset(left: number, top: number): void;
|
|
100
99
|
updateDataSource(dataSource: Object[], args: object): void;
|
|
101
|
-
updatePredecessor(id: number, predecessorString: string): void;
|
|
100
|
+
updatePredecessor(id: number | string, predecessorString: string): void;
|
|
102
101
|
updateProjectDates(startDate: Object, endDate: Object, isTimelineRoundOff: boolean, isFrom?: string): void;
|
|
103
102
|
updateRecordByID(data: Object): void;
|
|
104
103
|
updateRecordByIndex(index: number, data: Object): void;
|
|
@@ -18,7 +18,7 @@ var __decorate = (this && this.__decorate) || function (decorators, target, key,
|
|
|
18
18
|
return c > 3 && r && Object.defineProperty(target, key, r), r;
|
|
19
19
|
};
|
|
20
20
|
import { isUndefined } from '@syncfusion/ej2-base';
|
|
21
|
-
import { ComponentBase, EJComponentDecorator, getProps, gh } from '@syncfusion/ej2-vue-base';
|
|
21
|
+
import { ComponentBase, EJComponentDecorator, getProps, gh, isExecute } from '@syncfusion/ej2-vue-base';
|
|
22
22
|
import { isNullOrUndefined, getValue } from '@syncfusion/ej2-base';
|
|
23
23
|
import { Gantt } from '@syncfusion/ej2-gantt';
|
|
24
24
|
import { ColumnsDirective, ColumnDirective, ColumnsPlugin, ColumnPlugin } from './columns.directive';
|
|
@@ -39,7 +39,6 @@ for (var _i = 0, modelProps_1 = modelProps; _i < modelProps_1.length; _i++) {
|
|
|
39
39
|
var props_1 = modelProps_1[_i];
|
|
40
40
|
emitProbs.push('update:' + props_1);
|
|
41
41
|
}
|
|
42
|
-
export var isExecute = gh ? false : true;
|
|
43
42
|
/**
|
|
44
43
|
* `ejs-gantt` represents the VueJS Gantt Component.
|
|
45
44
|
* ```vue
|
|
@@ -155,10 +154,10 @@ var GanttComponent = /** @class */ (function (_super) {
|
|
|
155
154
|
}
|
|
156
155
|
};
|
|
157
156
|
GanttComponent.prototype.render = function (createElement) {
|
|
158
|
-
var h = gh
|
|
157
|
+
var h = !isExecute ? gh : createElement;
|
|
159
158
|
var slots = null;
|
|
160
159
|
if (!isNullOrUndefined(this.$slots.default)) {
|
|
161
|
-
slots =
|
|
160
|
+
slots = !isExecute ? this.$slots.default() : this.$slots.default;
|
|
162
161
|
}
|
|
163
162
|
return h('div', slots);
|
|
164
163
|
};
|
|
@@ -17,12 +17,11 @@ var __decorate = (this && this.__decorate) || function (decorators, target, key,
|
|
|
17
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
18
|
return c > 3 && r && Object.defineProperty(target, key, r), r;
|
|
19
19
|
};
|
|
20
|
-
import { EJComponentDecorator, allVue, gh } from '@syncfusion/ej2-vue-base';
|
|
20
|
+
import { EJComponentDecorator, allVue, gh, isExecute } from '@syncfusion/ej2-vue-base';
|
|
21
21
|
import * as Vue3 from 'vue-class-component';
|
|
22
22
|
import { isNullOrUndefined } from '@syncfusion/ej2-base';
|
|
23
23
|
import Vue from 'vue';
|
|
24
24
|
import { Options } from 'vue-class-component';
|
|
25
|
-
export var isExecute = gh ? false : true;
|
|
26
25
|
var vueImport;
|
|
27
26
|
if (!isExecute || parseInt(allVue.version) < 3) {
|
|
28
27
|
vueImport = Vue3.Vue;
|
|
@@ -36,18 +35,18 @@ var HolidaysDirective = /** @class */ (function (_super) {
|
|
|
36
35
|
return _super.call(this, arguments) || this;
|
|
37
36
|
}
|
|
38
37
|
HolidaysDirective.prototype.render = function (createElement) {
|
|
39
|
-
if (
|
|
40
|
-
var h = gh
|
|
38
|
+
if (!isExecute) {
|
|
39
|
+
var h = !isExecute ? gh : createElement;
|
|
41
40
|
var slots = null;
|
|
42
41
|
if (!isNullOrUndefined(this.$slots.default)) {
|
|
43
|
-
slots =
|
|
42
|
+
slots = !isExecute ? this.$slots.default() : this.$slots.default;
|
|
44
43
|
}
|
|
45
44
|
return h('div', { class: 'e-directive' }, slots);
|
|
46
45
|
}
|
|
47
46
|
return;
|
|
48
47
|
};
|
|
49
48
|
HolidaysDirective.prototype.updated = function () {
|
|
50
|
-
if (
|
|
49
|
+
if (!isExecute && this.custom) {
|
|
51
50
|
this.custom();
|
|
52
51
|
}
|
|
53
52
|
};
|