@syncfusion/ej2-gantt 19.4.55 → 20.1.47-1460716
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 +1072 -1047
- package/README.md +75 -75
- package/dist/ej2-gantt.umd.min.js +1 -10
- package/dist/ej2-gantt.umd.min.js.map +1 -1
- package/dist/es6/ej2-gantt.es2015.js +341 -240
- package/dist/es6/ej2-gantt.es2015.js.map +1 -1
- package/dist/es6/ej2-gantt.es5.js +713 -598
- package/dist/es6/ej2-gantt.es5.js.map +1 -1
- package/dist/global/ej2-gantt.min.js +1 -10
- package/dist/global/ej2-gantt.min.js.map +1 -1
- package/dist/global/index.d.ts +0 -9
- package/dist/ts/components.ts +4 -0
- package/dist/ts/gantt/actions/actions.ts +18 -0
- package/dist/ts/gantt/actions/cell-edit.ts +606 -0
- package/dist/ts/gantt/actions/chart-scroll.ts +167 -0
- package/dist/ts/gantt/actions/column-menu.ts +35 -0
- package/dist/ts/gantt/actions/column-reorder.ts +52 -0
- package/dist/ts/gantt/actions/column-resize.ts +52 -0
- package/dist/ts/gantt/actions/connector-line-edit.ts +829 -0
- package/dist/ts/gantt/actions/context-menu.ts +754 -0
- package/dist/ts/gantt/actions/day-markers.ts +80 -0
- package/dist/ts/gantt/actions/dependency.ts +692 -0
- package/dist/ts/gantt/actions/dialog-edit.ts +2208 -0
- package/dist/ts/gantt/actions/edit.ts +3499 -0
- package/dist/ts/gantt/actions/excel-export.ts +61 -0
- package/dist/ts/gantt/actions/filter.ts +302 -0
- package/dist/ts/gantt/actions/keyboard.ts +306 -0
- package/dist/ts/gantt/actions/pdf-export.ts +214 -0
- package/dist/ts/gantt/actions/rowdragdrop.ts +839 -0
- package/dist/ts/gantt/actions/selection.ts +536 -0
- package/dist/ts/gantt/actions/sort.ts +98 -0
- package/dist/ts/gantt/actions/taskbar-edit.ts +1940 -0
- package/dist/ts/gantt/actions/toolbar.ts +489 -0
- package/dist/ts/gantt/actions/virtual-scroll.ts +60 -0
- package/dist/ts/gantt/base/common.ts +9 -0
- package/dist/ts/gantt/base/constant.ts +13 -0
- package/dist/ts/gantt/base/css-constants.ts +148 -0
- package/dist/ts/gantt/base/date-processor.ts +1257 -0
- package/dist/ts/gantt/base/enum.ts +372 -0
- package/dist/ts/gantt/base/gantt-chart.ts +1248 -0
- package/dist/ts/gantt/base/gantt.ts +4069 -0
- package/dist/ts/gantt/base/interface.ts +955 -0
- package/dist/ts/gantt/base/splitter.ts +174 -0
- package/dist/ts/gantt/base/task-processor.ts +2217 -0
- package/dist/ts/gantt/base/tree-grid.ts +694 -0
- package/dist/ts/gantt/base/utils.ts +208 -0
- package/dist/ts/gantt/export/export-helper.ts +552 -0
- package/dist/ts/gantt/export/pdf-base/dictionary.ts +152 -0
- package/dist/ts/gantt/export/pdf-base/pdf-borders.ts +277 -0
- package/dist/ts/gantt/export/pdf-base/pdf-grid-table.ts +901 -0
- package/dist/ts/gantt/export/pdf-base/pdf-style/gantt-theme.ts +131 -0
- package/dist/ts/gantt/export/pdf-base/pdf-style/style.ts +91 -0
- package/dist/ts/gantt/export/pdf-base/treegrid-layouter.ts +414 -0
- package/dist/ts/gantt/export/pdf-connector-line.ts +422 -0
- package/dist/ts/gantt/export/pdf-gantt.ts +282 -0
- package/dist/ts/gantt/export/pdf-taskbar.ts +395 -0
- package/dist/ts/gantt/export/pdf-timeline.ts +202 -0
- package/dist/ts/gantt/export/pdf-treegrid.ts +406 -0
- package/dist/ts/gantt/models/add-dialog-field-settings.ts +33 -0
- package/dist/ts/gantt/models/column.ts +464 -0
- package/dist/ts/gantt/models/day-working-time.ts +22 -0
- package/dist/ts/gantt/models/edit-dialog-field-settings.ts +33 -0
- package/dist/ts/gantt/models/edit-settings.ts +79 -0
- package/dist/ts/gantt/models/event-marker.ts +27 -0
- package/dist/ts/gantt/models/filter-settings.ts +53 -0
- package/dist/ts/gantt/models/holiday.ts +34 -0
- package/dist/ts/gantt/models/label-settings.ts +30 -0
- package/dist/ts/gantt/models/models.ts +36 -0
- package/dist/ts/gantt/models/resource-fields.ts +38 -0
- package/dist/ts/gantt/models/search-settings.ts +77 -0
- package/dist/ts/gantt/models/selection-settings.ts +56 -0
- package/dist/ts/gantt/models/sort-settings.ts +50 -0
- package/dist/ts/gantt/models/splitter-settings.ts +47 -0
- package/dist/ts/gantt/models/task-fields.ts +171 -0
- package/dist/ts/gantt/models/timeline-settings.ts +112 -0
- package/dist/ts/gantt/models/tooltip-settings.ts +46 -0
- package/dist/ts/gantt/renderer/chart-rows.ts +1838 -0
- package/dist/ts/gantt/renderer/connector-line.ts +1025 -0
- package/dist/ts/gantt/renderer/edit-tooltip.ts +228 -0
- package/dist/ts/gantt/renderer/event-marker.ts +96 -0
- package/dist/ts/gantt/renderer/nonworking-day.ts +205 -0
- package/dist/ts/gantt/renderer/render.ts +5 -0
- package/dist/ts/gantt/renderer/timeline.ts +1397 -0
- package/dist/ts/gantt/renderer/tooltip.ts +450 -0
- package/dist/ts/gantt/renderer/virtual-content-render.ts +50 -0
- package/license +9 -9
- package/package.json +80 -80
- package/src/gantt/actions/cell-edit.js +2 -1
- package/src/gantt/actions/dialog-edit.js +2 -1
- package/src/gantt/actions/edit.js +36 -9
- package/src/gantt/actions/rowdragdrop.js +37 -15
- package/src/gantt/actions/selection.js +3 -2
- package/src/gantt/actions/taskbar-edit.js +24 -24
- package/src/gantt/base/date-processor.js +0 -1
- package/src/gantt/base/gantt-chart.js +36 -5
- package/src/gantt/base/gantt-model.d.ts +779 -779
- package/src/gantt/base/gantt.d.ts +27 -27
- package/src/gantt/base/gantt.js +35 -76
- package/src/gantt/base/splitter.js +1 -0
- package/src/gantt/base/task-processor.js +13 -13
- package/src/gantt/base/tree-grid.js +3 -1
- package/src/gantt/export/pdf-base/treegrid-layouter.js +13 -13
- package/src/gantt/export/pdf-connector-line.js +11 -11
- package/src/gantt/export/pdf-gantt.js +24 -24
- package/src/gantt/export/pdf-taskbar.js +11 -11
- package/src/gantt/export/pdf-treegrid.js +13 -13
- package/src/gantt/models/add-dialog-field-settings-model.d.ts +21 -21
- package/src/gantt/models/add-dialog-field-settings.js +19 -19
- package/src/gantt/models/day-working-time-model.d.ts +11 -11
- package/src/gantt/models/day-working-time.js +19 -19
- package/src/gantt/models/edit-dialog-field-settings-model.d.ts +21 -21
- package/src/gantt/models/edit-dialog-field-settings.js +19 -19
- package/src/gantt/models/edit-settings-model.d.ts +50 -50
- package/src/gantt/models/edit-settings.js +19 -19
- package/src/gantt/models/event-marker-model.d.ts +16 -16
- package/src/gantt/models/event-marker.js +19 -19
- package/src/gantt/models/filter-settings-model.d.ts +34 -34
- package/src/gantt/models/filter-settings.js +19 -19
- package/src/gantt/models/holiday-model.d.ts +21 -21
- package/src/gantt/models/holiday.js +19 -19
- package/src/gantt/models/label-settings-model.d.ts +16 -16
- package/src/gantt/models/label-settings.js +19 -19
- package/src/gantt/models/resource-fields-model.d.ts +21 -21
- package/src/gantt/models/resource-fields.js +19 -19
- package/src/gantt/models/search-settings-model.d.ts +56 -56
- package/src/gantt/models/search-settings.js +19 -19
- package/src/gantt/models/selection-settings-model.d.ts +35 -35
- package/src/gantt/models/selection-settings.js +19 -19
- package/src/gantt/models/sort-settings-model.d.ts +24 -24
- package/src/gantt/models/sort-settings.js +19 -19
- package/src/gantt/models/splitter-settings-model.d.ts +30 -30
- package/src/gantt/models/splitter-settings.js +19 -19
- package/src/gantt/models/task-fields-model.d.ts +110 -110
- package/src/gantt/models/task-fields.js +19 -19
- package/src/gantt/models/timeline-settings-model.d.ts +71 -71
- package/src/gantt/models/timeline-settings.js +19 -19
- package/src/gantt/models/tooltip-settings-model.d.ts +26 -26
- package/src/gantt/models/tooltip-settings.js +19 -19
- package/src/gantt/renderer/chart-rows.js +49 -37
- package/src/gantt/renderer/connector-line.js +22 -18
- package/src/gantt/renderer/event-marker.js +1 -0
- package/src/gantt/renderer/nonworking-day.js +13 -6
- package/src/gantt/renderer/timeline.d.ts +1 -0
- package/src/gantt/renderer/timeline.js +51 -12
- package/src/gantt/renderer/tooltip.js +11 -3
- package/styles/bootstrap-dark.css +442 -427
- package/styles/bootstrap.css +442 -433
- package/styles/bootstrap4.css +454 -479
- package/styles/bootstrap5-dark.css +457 -433
- package/styles/bootstrap5.css +457 -433
- package/styles/fabric-dark.css +438 -421
- package/styles/fabric.css +445 -428
- package/styles/fluent-dark.css +1938 -0
- package/styles/fluent-dark.scss +1 -0
- package/styles/fluent.css +1938 -0
- package/styles/fluent.scss +1 -0
- package/styles/gantt/_all.scss +2 -2
- package/styles/gantt/_bootstrap-dark-definition.scss +210 -156
- package/styles/gantt/_bootstrap-definition.scss +211 -157
- package/styles/gantt/_bootstrap4-definition.scss +213 -158
- package/styles/gantt/_bootstrap5-definition.scss +215 -162
- package/styles/gantt/_fabric-dark-definition.scss +211 -157
- package/styles/gantt/_fabric-definition.scss +211 -157
- package/styles/gantt/_fluent-dark-definition.scss +1 -0
- package/styles/gantt/_fluent-definition.scss +215 -162
- package/styles/gantt/_fusionnew-definition.scss +214 -0
- package/styles/gantt/_highcontrast-definition.scss +211 -157
- package/styles/gantt/_highcontrast-light-definition.scss +211 -157
- package/styles/gantt/_layout.scss +1446 -1027
- package/styles/gantt/_material-dark-definition.scss +212 -157
- package/styles/gantt/_material-definition.scss +212 -157
- package/styles/gantt/_material3-definition.scss +215 -0
- package/styles/gantt/_tailwind-definition.scss +215 -161
- package/styles/gantt/_theme.scss +702 -668
- package/styles/gantt/bootstrap-dark.css +442 -427
- package/styles/gantt/bootstrap.css +442 -433
- package/styles/gantt/bootstrap4.css +454 -479
- package/styles/gantt/bootstrap5-dark.css +457 -433
- package/styles/gantt/bootstrap5.css +457 -433
- package/styles/gantt/fabric-dark.css +438 -421
- package/styles/gantt/fabric.css +445 -428
- package/styles/gantt/fluent-dark.css +1938 -0
- package/styles/gantt/fluent-dark.scss +22 -0
- package/styles/gantt/fluent.css +1938 -0
- package/styles/gantt/fluent.scss +22 -0
- package/styles/gantt/highcontrast-light.css +405 -405
- package/styles/gantt/highcontrast.css +444 -456
- package/styles/gantt/icons/_bootstrap-dark.scss +124 -113
- package/styles/gantt/icons/_bootstrap.scss +124 -113
- package/styles/gantt/icons/_bootstrap4.scss +124 -113
- package/styles/gantt/icons/_bootstrap5.scss +124 -112
- package/styles/gantt/icons/_fabric-dark.scss +124 -112
- package/styles/gantt/icons/_fabric.scss +124 -112
- package/styles/gantt/icons/_fluent-dark.scss +1 -0
- package/styles/gantt/icons/_fluent.scss +124 -112
- package/styles/gantt/icons/_fusionnew.scss +120 -0
- package/styles/gantt/icons/_highcontrast.scss +124 -112
- package/styles/gantt/icons/_material-dark.scss +124 -112
- package/styles/gantt/icons/_material.scss +124 -112
- package/styles/gantt/icons/_material3.scss +124 -0
- package/styles/gantt/icons/_tailwind-dark.scss +124 -113
- package/styles/gantt/icons/_tailwind.scss +124 -113
- package/styles/gantt/material-dark.css +446 -417
- package/styles/gantt/material.css +445 -419
- package/styles/gantt/tailwind-dark.css +452 -482
- package/styles/gantt/tailwind.css +449 -479
- package/styles/highcontrast-light.css +405 -405
- package/styles/highcontrast.css +444 -456
- package/styles/material-dark.css +446 -417
- package/styles/material.css +445 -419
- package/styles/tailwind-dark.css +452 -482
- package/styles/tailwind.css +449 -479
|
@@ -484,7 +484,6 @@ var DateProcessor = /** @__PURE__ @class */ (function () {
|
|
|
484
484
|
tDuration = this.parent.editModule.taskbarEditModule.sumOfDuration(ganttProperties.segments);
|
|
485
485
|
}
|
|
486
486
|
else {
|
|
487
|
-
// eslint-disable-next-line
|
|
488
487
|
if (!isNullOrUndefined(ganttProperties.startDate) && !isNullOrUndefined(ganttProperties.endDate) &&
|
|
489
488
|
(ganttProperties.startDate).getTime() === (ganttProperties.endDate).getTime() && !isNullOrUndefined(ganttData.taskData[this.parent.taskFields.milestone])) {
|
|
490
489
|
tDuration = 1;
|
|
@@ -1506,19 +1505,19 @@ var DateProcessor = /** @__PURE__ @class */ (function () {
|
|
|
1506
1505
|
return DateProcessor;
|
|
1507
1506
|
}());
|
|
1508
1507
|
|
|
1509
|
-
var __extends$1 = (undefined && undefined.__extends) || (function () {
|
|
1510
|
-
var extendStatics = function (d, b) {
|
|
1511
|
-
extendStatics = Object.setPrototypeOf ||
|
|
1512
|
-
({ __proto__: [] } instanceof Array && function (d, b) { d.__proto__ = b; }) ||
|
|
1513
|
-
function (d, b) { for (var p in b) if (b.hasOwnProperty(p)) d[p] = b[p]; };
|
|
1514
|
-
return extendStatics(d, b);
|
|
1515
|
-
};
|
|
1516
|
-
return function (d, b) {
|
|
1517
|
-
extendStatics(d, b);
|
|
1518
|
-
function __() { this.constructor = d; }
|
|
1519
|
-
d.prototype = b === null ? Object.create(b) : (__.prototype = b.prototype, new __());
|
|
1520
|
-
};
|
|
1521
|
-
})();
|
|
1508
|
+
var __extends$1 = (undefined && undefined.__extends) || (function () {
|
|
1509
|
+
var extendStatics = function (d, b) {
|
|
1510
|
+
extendStatics = Object.setPrototypeOf ||
|
|
1511
|
+
({ __proto__: [] } instanceof Array && function (d, b) { d.__proto__ = b; }) ||
|
|
1512
|
+
function (d, b) { for (var p in b) if (b.hasOwnProperty(p)) d[p] = b[p]; };
|
|
1513
|
+
return extendStatics(d, b);
|
|
1514
|
+
};
|
|
1515
|
+
return function (d, b) {
|
|
1516
|
+
extendStatics(d, b);
|
|
1517
|
+
function __() { this.constructor = d; }
|
|
1518
|
+
d.prototype = b === null ? Object.create(b) : (__.prototype = b.prototype, new __());
|
|
1519
|
+
};
|
|
1520
|
+
})();
|
|
1522
1521
|
/**
|
|
1523
1522
|
* To calculate and update task related values
|
|
1524
1523
|
*/
|
|
@@ -4130,6 +4129,7 @@ var GanttChart = /** @__PURE__ @class */ (function () {
|
|
|
4130
4129
|
this.chartTimelineContainer = null;
|
|
4131
4130
|
this.rangeViewContainer =
|
|
4132
4131
|
createElement('div', { className: rangeContainer });
|
|
4132
|
+
this.rangeViewContainer.setAttribute("role", "RangeContainer");
|
|
4133
4133
|
this.virtualRender = new VirtualContentRenderer(this.parent);
|
|
4134
4134
|
this.addEventListener();
|
|
4135
4135
|
}
|
|
@@ -4284,6 +4284,7 @@ var GanttChart = /** @__PURE__ @class */ (function () {
|
|
|
4284
4284
|
GanttChart.prototype.renderTimelineContainer = function () {
|
|
4285
4285
|
this.chartTimelineContainer =
|
|
4286
4286
|
createElement('div', { className: timelineHeaderContainer });
|
|
4287
|
+
this.chartTimelineContainer.setAttribute("role", "TimelineHeader");
|
|
4287
4288
|
this.chartElement.appendChild(this.chartTimelineContainer);
|
|
4288
4289
|
};
|
|
4289
4290
|
/**
|
|
@@ -4323,8 +4324,19 @@ var GanttChart = /** @__PURE__ @class */ (function () {
|
|
|
4323
4324
|
//empty row height
|
|
4324
4325
|
var emptydivHeight = 36;
|
|
4325
4326
|
var emptyHeight = this.parent.contentHeight === 0 ? this.parent.flatData.length > 1 ? emptydivHeight : 0 : this.parent.contentHeight;
|
|
4326
|
-
this.
|
|
4327
|
-
|
|
4327
|
+
var contentElement = this.parent.element.getElementsByClassName('e-chart-scroll-container e-content')[0];
|
|
4328
|
+
if (emptyHeight >= contentElement['offsetHeight']) {
|
|
4329
|
+
this.chartBodyContent.style.height = formatUnit(emptyHeight);
|
|
4330
|
+
}
|
|
4331
|
+
else {
|
|
4332
|
+
var scrollHeight = this.parent.element.getElementsByClassName('e-chart-rows-container')[0]['offsetHeight'];
|
|
4333
|
+
if (contentElement['offsetHeight'] >= scrollHeight) {
|
|
4334
|
+
this.chartBodyContent.style.height = contentElement['offsetHeight'] - 17 + 'px';
|
|
4335
|
+
}
|
|
4336
|
+
else {
|
|
4337
|
+
this.chartBodyContent.style.height = contentElement['offsetHeight'] + 'px';
|
|
4338
|
+
}
|
|
4339
|
+
} //let element: HTMLElement = this.chartTimelineContainer.querySelector('.' + cls.timelineHeaderTableContainer);
|
|
4328
4340
|
this.chartBodyContent.style.width = formatUnit(this.parent.timelineModule.totalTimelineWidth);
|
|
4329
4341
|
this.setVirtualHeight();
|
|
4330
4342
|
this.parent.notify('updateHeight', {});
|
|
@@ -4356,7 +4368,21 @@ var GanttChart = /** @__PURE__ @class */ (function () {
|
|
|
4356
4368
|
if (this.chartBodyContent.clientHeight < this.chartBodyContainer.clientHeight) {
|
|
4357
4369
|
if (lastRow) {
|
|
4358
4370
|
addClass(lastRow.querySelectorAll('td'), 'e-lastrow');
|
|
4359
|
-
|
|
4371
|
+
var emptydivHeight = 36;
|
|
4372
|
+
var emptyHeight = this.parent.contentHeight === 0 ? this.parent.flatData.length > 1 ? emptydivHeight : 0 : this.parent.contentHeight;
|
|
4373
|
+
var contentElement = this.parent.element.getElementsByClassName('e-chart-scroll-container e-content')[0];
|
|
4374
|
+
if (emptyHeight >= contentElement['offsetHeight']) {
|
|
4375
|
+
this.chartBodyContent.style.height = formatUnit(emptyHeight);
|
|
4376
|
+
}
|
|
4377
|
+
else {
|
|
4378
|
+
var scrollHeight = this.parent.element.getElementsByClassName('e-chart-rows-container')[0]['offsetHeight'];
|
|
4379
|
+
if (contentElement['offsetHeight'] >= scrollHeight) {
|
|
4380
|
+
this.chartBodyContent.style.height = contentElement['offsetHeight'] - 17 + 'px';
|
|
4381
|
+
}
|
|
4382
|
+
else {
|
|
4383
|
+
this.chartBodyContent.style.height = contentElement['offsetHeight'] + 'px';
|
|
4384
|
+
}
|
|
4385
|
+
}
|
|
4360
4386
|
}
|
|
4361
4387
|
}
|
|
4362
4388
|
}
|
|
@@ -4488,7 +4514,7 @@ var GanttChart = /** @__PURE__ @class */ (function () {
|
|
|
4488
4514
|
var target = e.target;
|
|
4489
4515
|
var isOnTaskbarElement = e.target.classList.contains(taskBarMainContainer)
|
|
4490
4516
|
|| closest(e.target, '.' + taskBarMainContainer);
|
|
4491
|
-
if (closest(target, '.e-gantt-parent-taskbar')) {
|
|
4517
|
+
if (closest(target, '.e-gantt-parent-taskbar') && !this.parent.editSettings.allowEditing) {
|
|
4492
4518
|
this.chartExpandCollapseRequest(e);
|
|
4493
4519
|
}
|
|
4494
4520
|
else if (!isOnTaskbarElement && this.parent.autoFocusTasks) {
|
|
@@ -5012,6 +5038,10 @@ var GanttChart = /** @__PURE__ @class */ (function () {
|
|
|
5012
5038
|
$target.classList.contains('e-headercell') || $target.closest('.e-segmented-taskbar')) {
|
|
5013
5039
|
e.preventDefault();
|
|
5014
5040
|
}
|
|
5041
|
+
if (isTab && $target.classList.contains('e-rowdragdrop')) {
|
|
5042
|
+
this.parent.treeGrid.grid.notify('key-pressed', e);
|
|
5043
|
+
return;
|
|
5044
|
+
}
|
|
5015
5045
|
if ($target.classList.contains('e-rowcell') && (nextElement && nextElement.classList.contains('e-rowcell')) ||
|
|
5016
5046
|
$target.classList.contains('e-headercell')) { // eslint-disable-line
|
|
5017
5047
|
if (isTab) {
|
|
@@ -5054,7 +5084,7 @@ var GanttChart = /** @__PURE__ @class */ (function () {
|
|
|
5054
5084
|
else {
|
|
5055
5085
|
this.manageFocus($target, 'remove', true);
|
|
5056
5086
|
}
|
|
5057
|
-
if (nextElement.classList.contains('e-rowcell')) {
|
|
5087
|
+
if (nextElement.classList.contains('e-rowcell') && $target.nextElementSibling) {
|
|
5058
5088
|
if (!$target.classList.contains('e-rowcell')) {
|
|
5059
5089
|
this.parent.treeGrid.grid.notify('key-pressed', e);
|
|
5060
5090
|
var fmodule = getValue('focusModule', this.parent.treeGrid.grid);
|
|
@@ -5311,17 +5341,17 @@ var GanttChart = /** @__PURE__ @class */ (function () {
|
|
|
5311
5341
|
return GanttChart;
|
|
5312
5342
|
}());
|
|
5313
5343
|
|
|
5314
|
-
var __assign = (undefined && undefined.__assign) || function () {
|
|
5315
|
-
__assign = Object.assign || function(t) {
|
|
5316
|
-
for (var s, i = 1, n = arguments.length; i < n; i++) {
|
|
5317
|
-
s = arguments[i];
|
|
5318
|
-
for (var p in s) if (Object.prototype.hasOwnProperty.call(s, p))
|
|
5319
|
-
t[p] = s[p];
|
|
5320
|
-
}
|
|
5321
|
-
return t;
|
|
5322
|
-
};
|
|
5323
|
-
return __assign.apply(this, arguments);
|
|
5324
|
-
};
|
|
5344
|
+
var __assign = (undefined && undefined.__assign) || function () {
|
|
5345
|
+
__assign = Object.assign || function(t) {
|
|
5346
|
+
for (var s, i = 1, n = arguments.length; i < n; i++) {
|
|
5347
|
+
s = arguments[i];
|
|
5348
|
+
for (var p in s) if (Object.prototype.hasOwnProperty.call(s, p))
|
|
5349
|
+
t[p] = s[p];
|
|
5350
|
+
}
|
|
5351
|
+
return t;
|
|
5352
|
+
};
|
|
5353
|
+
return __assign.apply(this, arguments);
|
|
5354
|
+
};
|
|
5325
5355
|
/**
|
|
5326
5356
|
* Configures the `Timeline` of the gantt.
|
|
5327
5357
|
*/
|
|
@@ -5433,6 +5463,9 @@ var Timeline = /** @__PURE__ @class */ (function () {
|
|
|
5433
5463
|
}
|
|
5434
5464
|
}
|
|
5435
5465
|
}
|
|
5466
|
+
currentLevel = this.parent.zoomingLevels.findIndex(function (tempLevel) {
|
|
5467
|
+
return tempLevel.level === currentLevel;
|
|
5468
|
+
});
|
|
5436
5469
|
var newTimeline = this.parent.zoomingLevels[currentLevel];
|
|
5437
5470
|
var args = {
|
|
5438
5471
|
requestType: isZoomIn ? 'beforeZoomIn' : 'beforeZoomOut',
|
|
@@ -6150,6 +6183,40 @@ var Timeline = /** @__PURE__ @class */ (function () {
|
|
|
6150
6183
|
} while ((startDate < endDate));
|
|
6151
6184
|
return parentTh;
|
|
6152
6185
|
};
|
|
6186
|
+
Timeline.prototype.updateTimelineAfterZooming = function (endDate, resized) {
|
|
6187
|
+
var timeDiff;
|
|
6188
|
+
var perDayWidth;
|
|
6189
|
+
var totWidth;
|
|
6190
|
+
var contentElement = document.getElementsByClassName('e-chart-scroll-container e-content')[0];
|
|
6191
|
+
if (!isNullOrUndefined(contentElement)) {
|
|
6192
|
+
var contentWidth = contentElement['offsetWidth'];
|
|
6193
|
+
var contentHeight = contentElement['offsetHeight'];
|
|
6194
|
+
var scrollHeight = document.getElementsByClassName('e-chart-rows-container')[0]['offsetHeight'];
|
|
6195
|
+
timeDiff = Math.abs(this.timelineStartDate.getTime() - endDate.getTime());
|
|
6196
|
+
timeDiff = timeDiff / (1000 * 3600 * 24);
|
|
6197
|
+
if (this.bottomTier === 'None') {
|
|
6198
|
+
perDayWidth = this.getPerDayWidth(this.customTimelineSettings.timelineUnitSize, this.customTimelineSettings.topTier.count, this.topTier);
|
|
6199
|
+
}
|
|
6200
|
+
else {
|
|
6201
|
+
perDayWidth = this.getPerDayWidth(this.customTimelineSettings.timelineUnitSize, this.customTimelineSettings.bottomTier.count, this.bottomTier);
|
|
6202
|
+
}
|
|
6203
|
+
if (contentHeight < scrollHeight) {
|
|
6204
|
+
totWidth = (perDayWidth * timeDiff) + 17;
|
|
6205
|
+
}
|
|
6206
|
+
else {
|
|
6207
|
+
totWidth = (perDayWidth * timeDiff);
|
|
6208
|
+
}
|
|
6209
|
+
if (contentWidth >= totWidth) {
|
|
6210
|
+
var widthDiff = contentWidth - totWidth;
|
|
6211
|
+
widthDiff = Math.round(widthDiff / perDayWidth);
|
|
6212
|
+
endDate.setDate(endDate.getDate() + widthDiff);
|
|
6213
|
+
this.parent.timelineModule.timelineEndDate = endDate;
|
|
6214
|
+
if (resized) {
|
|
6215
|
+
this.parent.updateProjectDates(this.timelineStartDate, this.timelineEndDate, this.parent.isTimelineRoundOff);
|
|
6216
|
+
}
|
|
6217
|
+
}
|
|
6218
|
+
}
|
|
6219
|
+
};
|
|
6153
6220
|
Timeline.prototype.getTimelineRoundOffEndDate = function (date) {
|
|
6154
6221
|
var tierMode = this.topTier === 'None' ? this.bottomTier : this.topTier;
|
|
6155
6222
|
var endDate = new Date(date.toString());
|
|
@@ -6164,6 +6231,9 @@ var Timeline = /** @__PURE__ @class */ (function () {
|
|
|
6164
6231
|
endDate.setHours(24, 0, 0, 0);
|
|
6165
6232
|
}
|
|
6166
6233
|
}
|
|
6234
|
+
if (this.isZooming || this.parent.isLoad) {
|
|
6235
|
+
this.updateTimelineAfterZooming(endDate, false);
|
|
6236
|
+
}
|
|
6167
6237
|
return endDate;
|
|
6168
6238
|
};
|
|
6169
6239
|
/**
|
|
@@ -6233,7 +6303,6 @@ var Timeline = /** @__PURE__ @class */ (function () {
|
|
|
6233
6303
|
}
|
|
6234
6304
|
return increment;
|
|
6235
6305
|
};
|
|
6236
|
-
|
|
6237
6306
|
/**
|
|
6238
6307
|
* Method to find header cell was weekend or not
|
|
6239
6308
|
*
|
|
@@ -6815,6 +6884,8 @@ var GanttTreeGrid = /** @__PURE__ @class */ (function () {
|
|
|
6815
6884
|
GanttTreeGrid.prototype.renderTreeGrid = function () {
|
|
6816
6885
|
this.composeProperties();
|
|
6817
6886
|
this.bindEvents();
|
|
6887
|
+
var root = 'root';
|
|
6888
|
+
this.parent.treeGrid[root] = this.parent[root] ? this.parent[root] : this.parent;
|
|
6818
6889
|
this.parent.treeGrid.appendTo(this.treeGridElement);
|
|
6819
6890
|
this.wireEvents();
|
|
6820
6891
|
};
|
|
@@ -6878,7 +6949,7 @@ var GanttTreeGrid = /** @__PURE__ @class */ (function () {
|
|
|
6878
6949
|
var scrollWidth = this.getScrollbarWidth();
|
|
6879
6950
|
var isMobile = /Android|Mac|webOS|iPhone|iPad|iPod|BlackBerry|IEMobile|Opera Mini/i.test(navigator.userAgent);
|
|
6880
6951
|
if (scrollWidth !== 0) {
|
|
6881
|
-
content.style.cssText += 'width: calc(100% + ' + scrollWidth + 'px);';
|
|
6952
|
+
content.style.cssText += 'width: calc(100% + ' + (scrollWidth + 1) + 'px);';
|
|
6882
6953
|
}
|
|
6883
6954
|
else {
|
|
6884
6955
|
content.classList.add('e-gantt-scroll-padding');
|
|
@@ -7412,25 +7483,25 @@ var GanttTreeGrid = /** @__PURE__ @class */ (function () {
|
|
|
7412
7483
|
return GanttTreeGrid;
|
|
7413
7484
|
}());
|
|
7414
7485
|
|
|
7415
|
-
var __extends$2 = (undefined && undefined.__extends) || (function () {
|
|
7416
|
-
var extendStatics = function (d, b) {
|
|
7417
|
-
extendStatics = Object.setPrototypeOf ||
|
|
7418
|
-
({ __proto__: [] } instanceof Array && function (d, b) { d.__proto__ = b; }) ||
|
|
7419
|
-
function (d, b) { for (var p in b) if (b.hasOwnProperty(p)) d[p] = b[p]; };
|
|
7420
|
-
return extendStatics(d, b);
|
|
7421
|
-
};
|
|
7422
|
-
return function (d, b) {
|
|
7423
|
-
extendStatics(d, b);
|
|
7424
|
-
function __() { this.constructor = d; }
|
|
7425
|
-
d.prototype = b === null ? Object.create(b) : (__.prototype = b.prototype, new __());
|
|
7426
|
-
};
|
|
7427
|
-
})();
|
|
7428
|
-
var __decorate$1 = (undefined && undefined.__decorate) || function (decorators, target, key, desc) {
|
|
7429
|
-
var c = arguments.length, r = c < 3 ? target : desc === null ? desc = Object.getOwnPropertyDescriptor(target, key) : desc, d;
|
|
7430
|
-
if (typeof Reflect === "object" && typeof Reflect.decorate === "function") r = Reflect.decorate(decorators, target, key, desc);
|
|
7431
|
-
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;
|
|
7432
|
-
return c > 3 && r && Object.defineProperty(target, key, r), r;
|
|
7433
|
-
};
|
|
7486
|
+
var __extends$2 = (undefined && undefined.__extends) || (function () {
|
|
7487
|
+
var extendStatics = function (d, b) {
|
|
7488
|
+
extendStatics = Object.setPrototypeOf ||
|
|
7489
|
+
({ __proto__: [] } instanceof Array && function (d, b) { d.__proto__ = b; }) ||
|
|
7490
|
+
function (d, b) { for (var p in b) if (b.hasOwnProperty(p)) d[p] = b[p]; };
|
|
7491
|
+
return extendStatics(d, b);
|
|
7492
|
+
};
|
|
7493
|
+
return function (d, b) {
|
|
7494
|
+
extendStatics(d, b);
|
|
7495
|
+
function __() { this.constructor = d; }
|
|
7496
|
+
d.prototype = b === null ? Object.create(b) : (__.prototype = b.prototype, new __());
|
|
7497
|
+
};
|
|
7498
|
+
})();
|
|
7499
|
+
var __decorate$1 = (undefined && undefined.__decorate) || function (decorators, target, key, desc) {
|
|
7500
|
+
var c = arguments.length, r = c < 3 ? target : desc === null ? desc = Object.getOwnPropertyDescriptor(target, key) : desc, d;
|
|
7501
|
+
if (typeof Reflect === "object" && typeof Reflect.decorate === "function") r = Reflect.decorate(decorators, target, key, desc);
|
|
7502
|
+
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;
|
|
7503
|
+
return c > 3 && r && Object.defineProperty(target, key, r), r;
|
|
7504
|
+
};
|
|
7434
7505
|
/**
|
|
7435
7506
|
* Defines working time of day in project.
|
|
7436
7507
|
*/
|
|
@@ -7448,25 +7519,25 @@ var DayWorkingTime = /** @__PURE__ @class */ (function (_super) {
|
|
|
7448
7519
|
return DayWorkingTime;
|
|
7449
7520
|
}(ChildProperty));
|
|
7450
7521
|
|
|
7451
|
-
var __extends$3 = (undefined && undefined.__extends) || (function () {
|
|
7452
|
-
var extendStatics = function (d, b) {
|
|
7453
|
-
extendStatics = Object.setPrototypeOf ||
|
|
7454
|
-
({ __proto__: [] } instanceof Array && function (d, b) { d.__proto__ = b; }) ||
|
|
7455
|
-
function (d, b) { for (var p in b) if (b.hasOwnProperty(p)) d[p] = b[p]; };
|
|
7456
|
-
return extendStatics(d, b);
|
|
7457
|
-
};
|
|
7458
|
-
return function (d, b) {
|
|
7459
|
-
extendStatics(d, b);
|
|
7460
|
-
function __() { this.constructor = d; }
|
|
7461
|
-
d.prototype = b === null ? Object.create(b) : (__.prototype = b.prototype, new __());
|
|
7462
|
-
};
|
|
7463
|
-
})();
|
|
7464
|
-
var __decorate$2 = (undefined && undefined.__decorate) || function (decorators, target, key, desc) {
|
|
7465
|
-
var c = arguments.length, r = c < 3 ? target : desc === null ? desc = Object.getOwnPropertyDescriptor(target, key) : desc, d;
|
|
7466
|
-
if (typeof Reflect === "object" && typeof Reflect.decorate === "function") r = Reflect.decorate(decorators, target, key, desc);
|
|
7467
|
-
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;
|
|
7468
|
-
return c > 3 && r && Object.defineProperty(target, key, r), r;
|
|
7469
|
-
};
|
|
7522
|
+
var __extends$3 = (undefined && undefined.__extends) || (function () {
|
|
7523
|
+
var extendStatics = function (d, b) {
|
|
7524
|
+
extendStatics = Object.setPrototypeOf ||
|
|
7525
|
+
({ __proto__: [] } instanceof Array && function (d, b) { d.__proto__ = b; }) ||
|
|
7526
|
+
function (d, b) { for (var p in b) if (b.hasOwnProperty(p)) d[p] = b[p]; };
|
|
7527
|
+
return extendStatics(d, b);
|
|
7528
|
+
};
|
|
7529
|
+
return function (d, b) {
|
|
7530
|
+
extendStatics(d, b);
|
|
7531
|
+
function __() { this.constructor = d; }
|
|
7532
|
+
d.prototype = b === null ? Object.create(b) : (__.prototype = b.prototype, new __());
|
|
7533
|
+
};
|
|
7534
|
+
})();
|
|
7535
|
+
var __decorate$2 = (undefined && undefined.__decorate) || function (decorators, target, key, desc) {
|
|
7536
|
+
var c = arguments.length, r = c < 3 ? target : desc === null ? desc = Object.getOwnPropertyDescriptor(target, key) : desc, d;
|
|
7537
|
+
if (typeof Reflect === "object" && typeof Reflect.decorate === "function") r = Reflect.decorate(decorators, target, key, desc);
|
|
7538
|
+
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;
|
|
7539
|
+
return c > 3 && r && Object.defineProperty(target, key, r), r;
|
|
7540
|
+
};
|
|
7470
7541
|
/**
|
|
7471
7542
|
* Defines dialog fields of add dialog.
|
|
7472
7543
|
*/
|
|
@@ -7487,25 +7558,25 @@ var AddDialogFieldSettings = /** @__PURE__ @class */ (function (_super) {
|
|
|
7487
7558
|
return AddDialogFieldSettings;
|
|
7488
7559
|
}(ChildProperty));
|
|
7489
7560
|
|
|
7490
|
-
var __extends$4 = (undefined && undefined.__extends) || (function () {
|
|
7491
|
-
var extendStatics = function (d, b) {
|
|
7492
|
-
extendStatics = Object.setPrototypeOf ||
|
|
7493
|
-
({ __proto__: [] } instanceof Array && function (d, b) { d.__proto__ = b; }) ||
|
|
7494
|
-
function (d, b) { for (var p in b) if (b.hasOwnProperty(p)) d[p] = b[p]; };
|
|
7495
|
-
return extendStatics(d, b);
|
|
7496
|
-
};
|
|
7497
|
-
return function (d, b) {
|
|
7498
|
-
extendStatics(d, b);
|
|
7499
|
-
function __() { this.constructor = d; }
|
|
7500
|
-
d.prototype = b === null ? Object.create(b) : (__.prototype = b.prototype, new __());
|
|
7501
|
-
};
|
|
7502
|
-
})();
|
|
7503
|
-
var __decorate$3 = (undefined && undefined.__decorate) || function (decorators, target, key, desc) {
|
|
7504
|
-
var c = arguments.length, r = c < 3 ? target : desc === null ? desc = Object.getOwnPropertyDescriptor(target, key) : desc, d;
|
|
7505
|
-
if (typeof Reflect === "object" && typeof Reflect.decorate === "function") r = Reflect.decorate(decorators, target, key, desc);
|
|
7506
|
-
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;
|
|
7507
|
-
return c > 3 && r && Object.defineProperty(target, key, r), r;
|
|
7508
|
-
};
|
|
7561
|
+
var __extends$4 = (undefined && undefined.__extends) || (function () {
|
|
7562
|
+
var extendStatics = function (d, b) {
|
|
7563
|
+
extendStatics = Object.setPrototypeOf ||
|
|
7564
|
+
({ __proto__: [] } instanceof Array && function (d, b) { d.__proto__ = b; }) ||
|
|
7565
|
+
function (d, b) { for (var p in b) if (b.hasOwnProperty(p)) d[p] = b[p]; };
|
|
7566
|
+
return extendStatics(d, b);
|
|
7567
|
+
};
|
|
7568
|
+
return function (d, b) {
|
|
7569
|
+
extendStatics(d, b);
|
|
7570
|
+
function __() { this.constructor = d; }
|
|
7571
|
+
d.prototype = b === null ? Object.create(b) : (__.prototype = b.prototype, new __());
|
|
7572
|
+
};
|
|
7573
|
+
})();
|
|
7574
|
+
var __decorate$3 = (undefined && undefined.__decorate) || function (decorators, target, key, desc) {
|
|
7575
|
+
var c = arguments.length, r = c < 3 ? target : desc === null ? desc = Object.getOwnPropertyDescriptor(target, key) : desc, d;
|
|
7576
|
+
if (typeof Reflect === "object" && typeof Reflect.decorate === "function") r = Reflect.decorate(decorators, target, key, desc);
|
|
7577
|
+
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;
|
|
7578
|
+
return c > 3 && r && Object.defineProperty(target, key, r), r;
|
|
7579
|
+
};
|
|
7509
7580
|
/**
|
|
7510
7581
|
* Defines dialog fields of edit dialog.
|
|
7511
7582
|
*/
|
|
@@ -7526,25 +7597,25 @@ var EditDialogFieldSettings = /** @__PURE__ @class */ (function (_super) {
|
|
|
7526
7597
|
return EditDialogFieldSettings;
|
|
7527
7598
|
}(ChildProperty));
|
|
7528
7599
|
|
|
7529
|
-
var __extends$5 = (undefined && undefined.__extends) || (function () {
|
|
7530
|
-
var extendStatics = function (d, b) {
|
|
7531
|
-
extendStatics = Object.setPrototypeOf ||
|
|
7532
|
-
({ __proto__: [] } instanceof Array && function (d, b) { d.__proto__ = b; }) ||
|
|
7533
|
-
function (d, b) { for (var p in b) if (b.hasOwnProperty(p)) d[p] = b[p]; };
|
|
7534
|
-
return extendStatics(d, b);
|
|
7535
|
-
};
|
|
7536
|
-
return function (d, b) {
|
|
7537
|
-
extendStatics(d, b);
|
|
7538
|
-
function __() { this.constructor = d; }
|
|
7539
|
-
d.prototype = b === null ? Object.create(b) : (__.prototype = b.prototype, new __());
|
|
7540
|
-
};
|
|
7541
|
-
})();
|
|
7542
|
-
var __decorate$4 = (undefined && undefined.__decorate) || function (decorators, target, key, desc) {
|
|
7543
|
-
var c = arguments.length, r = c < 3 ? target : desc === null ? desc = Object.getOwnPropertyDescriptor(target, key) : desc, d;
|
|
7544
|
-
if (typeof Reflect === "object" && typeof Reflect.decorate === "function") r = Reflect.decorate(decorators, target, key, desc);
|
|
7545
|
-
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;
|
|
7546
|
-
return c > 3 && r && Object.defineProperty(target, key, r), r;
|
|
7547
|
-
};
|
|
7600
|
+
var __extends$5 = (undefined && undefined.__extends) || (function () {
|
|
7601
|
+
var extendStatics = function (d, b) {
|
|
7602
|
+
extendStatics = Object.setPrototypeOf ||
|
|
7603
|
+
({ __proto__: [] } instanceof Array && function (d, b) { d.__proto__ = b; }) ||
|
|
7604
|
+
function (d, b) { for (var p in b) if (b.hasOwnProperty(p)) d[p] = b[p]; };
|
|
7605
|
+
return extendStatics(d, b);
|
|
7606
|
+
};
|
|
7607
|
+
return function (d, b) {
|
|
7608
|
+
extendStatics(d, b);
|
|
7609
|
+
function __() { this.constructor = d; }
|
|
7610
|
+
d.prototype = b === null ? Object.create(b) : (__.prototype = b.prototype, new __());
|
|
7611
|
+
};
|
|
7612
|
+
})();
|
|
7613
|
+
var __decorate$4 = (undefined && undefined.__decorate) || function (decorators, target, key, desc) {
|
|
7614
|
+
var c = arguments.length, r = c < 3 ? target : desc === null ? desc = Object.getOwnPropertyDescriptor(target, key) : desc, d;
|
|
7615
|
+
if (typeof Reflect === "object" && typeof Reflect.decorate === "function") r = Reflect.decorate(decorators, target, key, desc);
|
|
7616
|
+
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;
|
|
7617
|
+
return c > 3 && r && Object.defineProperty(target, key, r), r;
|
|
7618
|
+
};
|
|
7548
7619
|
/**
|
|
7549
7620
|
* Configures edit settings of Gantt.
|
|
7550
7621
|
*/
|
|
@@ -7580,25 +7651,25 @@ var EditSettings = /** @__PURE__ @class */ (function (_super) {
|
|
|
7580
7651
|
return EditSettings;
|
|
7581
7652
|
}(ChildProperty));
|
|
7582
7653
|
|
|
7583
|
-
var __extends$6 = (undefined && undefined.__extends) || (function () {
|
|
7584
|
-
var extendStatics = function (d, b) {
|
|
7585
|
-
extendStatics = Object.setPrototypeOf ||
|
|
7586
|
-
({ __proto__: [] } instanceof Array && function (d, b) { d.__proto__ = b; }) ||
|
|
7587
|
-
function (d, b) { for (var p in b) if (b.hasOwnProperty(p)) d[p] = b[p]; };
|
|
7588
|
-
return extendStatics(d, b);
|
|
7589
|
-
};
|
|
7590
|
-
return function (d, b) {
|
|
7591
|
-
extendStatics(d, b);
|
|
7592
|
-
function __() { this.constructor = d; }
|
|
7593
|
-
d.prototype = b === null ? Object.create(b) : (__.prototype = b.prototype, new __());
|
|
7594
|
-
};
|
|
7595
|
-
})();
|
|
7596
|
-
var __decorate$5 = (undefined && undefined.__decorate) || function (decorators, target, key, desc) {
|
|
7597
|
-
var c = arguments.length, r = c < 3 ? target : desc === null ? desc = Object.getOwnPropertyDescriptor(target, key) : desc, d;
|
|
7598
|
-
if (typeof Reflect === "object" && typeof Reflect.decorate === "function") r = Reflect.decorate(decorators, target, key, desc);
|
|
7599
|
-
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;
|
|
7600
|
-
return c > 3 && r && Object.defineProperty(target, key, r), r;
|
|
7601
|
-
};
|
|
7654
|
+
var __extends$6 = (undefined && undefined.__extends) || (function () {
|
|
7655
|
+
var extendStatics = function (d, b) {
|
|
7656
|
+
extendStatics = Object.setPrototypeOf ||
|
|
7657
|
+
({ __proto__: [] } instanceof Array && function (d, b) { d.__proto__ = b; }) ||
|
|
7658
|
+
function (d, b) { for (var p in b) if (b.hasOwnProperty(p)) d[p] = b[p]; };
|
|
7659
|
+
return extendStatics(d, b);
|
|
7660
|
+
};
|
|
7661
|
+
return function (d, b) {
|
|
7662
|
+
extendStatics(d, b);
|
|
7663
|
+
function __() { this.constructor = d; }
|
|
7664
|
+
d.prototype = b === null ? Object.create(b) : (__.prototype = b.prototype, new __());
|
|
7665
|
+
};
|
|
7666
|
+
})();
|
|
7667
|
+
var __decorate$5 = (undefined && undefined.__decorate) || function (decorators, target, key, desc) {
|
|
7668
|
+
var c = arguments.length, r = c < 3 ? target : desc === null ? desc = Object.getOwnPropertyDescriptor(target, key) : desc, d;
|
|
7669
|
+
if (typeof Reflect === "object" && typeof Reflect.decorate === "function") r = Reflect.decorate(decorators, target, key, desc);
|
|
7670
|
+
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;
|
|
7671
|
+
return c > 3 && r && Object.defineProperty(target, key, r), r;
|
|
7672
|
+
};
|
|
7602
7673
|
/**
|
|
7603
7674
|
* Defines event marker collection in Gantt.
|
|
7604
7675
|
*/
|
|
@@ -7619,25 +7690,25 @@ var EventMarker = /** @__PURE__ @class */ (function (_super) {
|
|
|
7619
7690
|
return EventMarker;
|
|
7620
7691
|
}(ChildProperty));
|
|
7621
7692
|
|
|
7622
|
-
var __extends$7 = (undefined && undefined.__extends) || (function () {
|
|
7623
|
-
var extendStatics = function (d, b) {
|
|
7624
|
-
extendStatics = Object.setPrototypeOf ||
|
|
7625
|
-
({ __proto__: [] } instanceof Array && function (d, b) { d.__proto__ = b; }) ||
|
|
7626
|
-
function (d, b) { for (var p in b) if (b.hasOwnProperty(p)) d[p] = b[p]; };
|
|
7627
|
-
return extendStatics(d, b);
|
|
7628
|
-
};
|
|
7629
|
-
return function (d, b) {
|
|
7630
|
-
extendStatics(d, b);
|
|
7631
|
-
function __() { this.constructor = d; }
|
|
7632
|
-
d.prototype = b === null ? Object.create(b) : (__.prototype = b.prototype, new __());
|
|
7633
|
-
};
|
|
7634
|
-
})();
|
|
7635
|
-
var __decorate$6 = (undefined && undefined.__decorate) || function (decorators, target, key, desc) {
|
|
7636
|
-
var c = arguments.length, r = c < 3 ? target : desc === null ? desc = Object.getOwnPropertyDescriptor(target, key) : desc, d;
|
|
7637
|
-
if (typeof Reflect === "object" && typeof Reflect.decorate === "function") r = Reflect.decorate(decorators, target, key, desc);
|
|
7638
|
-
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;
|
|
7639
|
-
return c > 3 && r && Object.defineProperty(target, key, r), r;
|
|
7640
|
-
};
|
|
7693
|
+
var __extends$7 = (undefined && undefined.__extends) || (function () {
|
|
7694
|
+
var extendStatics = function (d, b) {
|
|
7695
|
+
extendStatics = Object.setPrototypeOf ||
|
|
7696
|
+
({ __proto__: [] } instanceof Array && function (d, b) { d.__proto__ = b; }) ||
|
|
7697
|
+
function (d, b) { for (var p in b) if (b.hasOwnProperty(p)) d[p] = b[p]; };
|
|
7698
|
+
return extendStatics(d, b);
|
|
7699
|
+
};
|
|
7700
|
+
return function (d, b) {
|
|
7701
|
+
extendStatics(d, b);
|
|
7702
|
+
function __() { this.constructor = d; }
|
|
7703
|
+
d.prototype = b === null ? Object.create(b) : (__.prototype = b.prototype, new __());
|
|
7704
|
+
};
|
|
7705
|
+
})();
|
|
7706
|
+
var __decorate$6 = (undefined && undefined.__decorate) || function (decorators, target, key, desc) {
|
|
7707
|
+
var c = arguments.length, r = c < 3 ? target : desc === null ? desc = Object.getOwnPropertyDescriptor(target, key) : desc, d;
|
|
7708
|
+
if (typeof Reflect === "object" && typeof Reflect.decorate === "function") r = Reflect.decorate(decorators, target, key, desc);
|
|
7709
|
+
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;
|
|
7710
|
+
return c > 3 && r && Object.defineProperty(target, key, r), r;
|
|
7711
|
+
};
|
|
7641
7712
|
/**
|
|
7642
7713
|
* Configures the filtering behavior of the Gantt.
|
|
7643
7714
|
*/
|
|
@@ -7664,25 +7735,25 @@ var FilterSettings = /** @__PURE__ @class */ (function (_super) {
|
|
|
7664
7735
|
return FilterSettings;
|
|
7665
7736
|
}(ChildProperty));
|
|
7666
7737
|
|
|
7667
|
-
var __extends$8 = (undefined && undefined.__extends) || (function () {
|
|
7668
|
-
var extendStatics = function (d, b) {
|
|
7669
|
-
extendStatics = Object.setPrototypeOf ||
|
|
7670
|
-
({ __proto__: [] } instanceof Array && function (d, b) { d.__proto__ = b; }) ||
|
|
7671
|
-
function (d, b) { for (var p in b) if (b.hasOwnProperty(p)) d[p] = b[p]; };
|
|
7672
|
-
return extendStatics(d, b);
|
|
7673
|
-
};
|
|
7674
|
-
return function (d, b) {
|
|
7675
|
-
extendStatics(d, b);
|
|
7676
|
-
function __() { this.constructor = d; }
|
|
7677
|
-
d.prototype = b === null ? Object.create(b) : (__.prototype = b.prototype, new __());
|
|
7678
|
-
};
|
|
7679
|
-
})();
|
|
7680
|
-
var __decorate$7 = (undefined && undefined.__decorate) || function (decorators, target, key, desc) {
|
|
7681
|
-
var c = arguments.length, r = c < 3 ? target : desc === null ? desc = Object.getOwnPropertyDescriptor(target, key) : desc, d;
|
|
7682
|
-
if (typeof Reflect === "object" && typeof Reflect.decorate === "function") r = Reflect.decorate(decorators, target, key, desc);
|
|
7683
|
-
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;
|
|
7684
|
-
return c > 3 && r && Object.defineProperty(target, key, r), r;
|
|
7685
|
-
};
|
|
7738
|
+
var __extends$8 = (undefined && undefined.__extends) || (function () {
|
|
7739
|
+
var extendStatics = function (d, b) {
|
|
7740
|
+
extendStatics = Object.setPrototypeOf ||
|
|
7741
|
+
({ __proto__: [] } instanceof Array && function (d, b) { d.__proto__ = b; }) ||
|
|
7742
|
+
function (d, b) { for (var p in b) if (b.hasOwnProperty(p)) d[p] = b[p]; };
|
|
7743
|
+
return extendStatics(d, b);
|
|
7744
|
+
};
|
|
7745
|
+
return function (d, b) {
|
|
7746
|
+
extendStatics(d, b);
|
|
7747
|
+
function __() { this.constructor = d; }
|
|
7748
|
+
d.prototype = b === null ? Object.create(b) : (__.prototype = b.prototype, new __());
|
|
7749
|
+
};
|
|
7750
|
+
})();
|
|
7751
|
+
var __decorate$7 = (undefined && undefined.__decorate) || function (decorators, target, key, desc) {
|
|
7752
|
+
var c = arguments.length, r = c < 3 ? target : desc === null ? desc = Object.getOwnPropertyDescriptor(target, key) : desc, d;
|
|
7753
|
+
if (typeof Reflect === "object" && typeof Reflect.decorate === "function") r = Reflect.decorate(decorators, target, key, desc);
|
|
7754
|
+
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;
|
|
7755
|
+
return c > 3 && r && Object.defineProperty(target, key, r), r;
|
|
7756
|
+
};
|
|
7686
7757
|
/**
|
|
7687
7758
|
* Configures the searching behavior of the Gantt.
|
|
7688
7759
|
*/
|
|
@@ -7709,25 +7780,25 @@ var SearchSettings = /** @__PURE__ @class */ (function (_super) {
|
|
|
7709
7780
|
return SearchSettings;
|
|
7710
7781
|
}(ChildProperty));
|
|
7711
7782
|
|
|
7712
|
-
var __extends$9 = (undefined && undefined.__extends) || (function () {
|
|
7713
|
-
var extendStatics = function (d, b) {
|
|
7714
|
-
extendStatics = Object.setPrototypeOf ||
|
|
7715
|
-
({ __proto__: [] } instanceof Array && function (d, b) { d.__proto__ = b; }) ||
|
|
7716
|
-
function (d, b) { for (var p in b) if (b.hasOwnProperty(p)) d[p] = b[p]; };
|
|
7717
|
-
return extendStatics(d, b);
|
|
7718
|
-
};
|
|
7719
|
-
return function (d, b) {
|
|
7720
|
-
extendStatics(d, b);
|
|
7721
|
-
function __() { this.constructor = d; }
|
|
7722
|
-
d.prototype = b === null ? Object.create(b) : (__.prototype = b.prototype, new __());
|
|
7723
|
-
};
|
|
7724
|
-
})();
|
|
7725
|
-
var __decorate$8 = (undefined && undefined.__decorate) || function (decorators, target, key, desc) {
|
|
7726
|
-
var c = arguments.length, r = c < 3 ? target : desc === null ? desc = Object.getOwnPropertyDescriptor(target, key) : desc, d;
|
|
7727
|
-
if (typeof Reflect === "object" && typeof Reflect.decorate === "function") r = Reflect.decorate(decorators, target, key, desc);
|
|
7728
|
-
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;
|
|
7729
|
-
return c > 3 && r && Object.defineProperty(target, key, r), r;
|
|
7730
|
-
};
|
|
7783
|
+
var __extends$9 = (undefined && undefined.__extends) || (function () {
|
|
7784
|
+
var extendStatics = function (d, b) {
|
|
7785
|
+
extendStatics = Object.setPrototypeOf ||
|
|
7786
|
+
({ __proto__: [] } instanceof Array && function (d, b) { d.__proto__ = b; }) ||
|
|
7787
|
+
function (d, b) { for (var p in b) if (b.hasOwnProperty(p)) d[p] = b[p]; };
|
|
7788
|
+
return extendStatics(d, b);
|
|
7789
|
+
};
|
|
7790
|
+
return function (d, b) {
|
|
7791
|
+
extendStatics(d, b);
|
|
7792
|
+
function __() { this.constructor = d; }
|
|
7793
|
+
d.prototype = b === null ? Object.create(b) : (__.prototype = b.prototype, new __());
|
|
7794
|
+
};
|
|
7795
|
+
})();
|
|
7796
|
+
var __decorate$8 = (undefined && undefined.__decorate) || function (decorators, target, key, desc) {
|
|
7797
|
+
var c = arguments.length, r = c < 3 ? target : desc === null ? desc = Object.getOwnPropertyDescriptor(target, key) : desc, d;
|
|
7798
|
+
if (typeof Reflect === "object" && typeof Reflect.decorate === "function") r = Reflect.decorate(decorators, target, key, desc);
|
|
7799
|
+
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;
|
|
7800
|
+
return c > 3 && r && Object.defineProperty(target, key, r), r;
|
|
7801
|
+
};
|
|
7731
7802
|
/**
|
|
7732
7803
|
* Defines holidays of project.
|
|
7733
7804
|
*/
|
|
@@ -7751,25 +7822,25 @@ var Holiday = /** @__PURE__ @class */ (function (_super) {
|
|
|
7751
7822
|
return Holiday;
|
|
7752
7823
|
}(ChildProperty));
|
|
7753
7824
|
|
|
7754
|
-
var __extends$10 = (undefined && undefined.__extends) || (function () {
|
|
7755
|
-
var extendStatics = function (d, b) {
|
|
7756
|
-
extendStatics = Object.setPrototypeOf ||
|
|
7757
|
-
({ __proto__: [] } instanceof Array && function (d, b) { d.__proto__ = b; }) ||
|
|
7758
|
-
function (d, b) { for (var p in b) if (b.hasOwnProperty(p)) d[p] = b[p]; };
|
|
7759
|
-
return extendStatics(d, b);
|
|
7760
|
-
};
|
|
7761
|
-
return function (d, b) {
|
|
7762
|
-
extendStatics(d, b);
|
|
7763
|
-
function __() { this.constructor = d; }
|
|
7764
|
-
d.prototype = b === null ? Object.create(b) : (__.prototype = b.prototype, new __());
|
|
7765
|
-
};
|
|
7766
|
-
})();
|
|
7767
|
-
var __decorate$9 = (undefined && undefined.__decorate) || function (decorators, target, key, desc) {
|
|
7768
|
-
var c = arguments.length, r = c < 3 ? target : desc === null ? desc = Object.getOwnPropertyDescriptor(target, key) : desc, d;
|
|
7769
|
-
if (typeof Reflect === "object" && typeof Reflect.decorate === "function") r = Reflect.decorate(decorators, target, key, desc);
|
|
7770
|
-
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;
|
|
7771
|
-
return c > 3 && r && Object.defineProperty(target, key, r), r;
|
|
7772
|
-
};
|
|
7825
|
+
var __extends$10 = (undefined && undefined.__extends) || (function () {
|
|
7826
|
+
var extendStatics = function (d, b) {
|
|
7827
|
+
extendStatics = Object.setPrototypeOf ||
|
|
7828
|
+
({ __proto__: [] } instanceof Array && function (d, b) { d.__proto__ = b; }) ||
|
|
7829
|
+
function (d, b) { for (var p in b) if (b.hasOwnProperty(p)) d[p] = b[p]; };
|
|
7830
|
+
return extendStatics(d, b);
|
|
7831
|
+
};
|
|
7832
|
+
return function (d, b) {
|
|
7833
|
+
extendStatics(d, b);
|
|
7834
|
+
function __() { this.constructor = d; }
|
|
7835
|
+
d.prototype = b === null ? Object.create(b) : (__.prototype = b.prototype, new __());
|
|
7836
|
+
};
|
|
7837
|
+
})();
|
|
7838
|
+
var __decorate$9 = (undefined && undefined.__decorate) || function (decorators, target, key, desc) {
|
|
7839
|
+
var c = arguments.length, r = c < 3 ? target : desc === null ? desc = Object.getOwnPropertyDescriptor(target, key) : desc, d;
|
|
7840
|
+
if (typeof Reflect === "object" && typeof Reflect.decorate === "function") r = Reflect.decorate(decorators, target, key, desc);
|
|
7841
|
+
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;
|
|
7842
|
+
return c > 3 && r && Object.defineProperty(target, key, r), r;
|
|
7843
|
+
};
|
|
7773
7844
|
/**
|
|
7774
7845
|
* Defines labels for task, this will be placed right, left and inner side of taskbar.
|
|
7775
7846
|
*/
|
|
@@ -7790,25 +7861,25 @@ var LabelSettings = /** @__PURE__ @class */ (function (_super) {
|
|
|
7790
7861
|
return LabelSettings;
|
|
7791
7862
|
}(ChildProperty));
|
|
7792
7863
|
|
|
7793
|
-
var __extends$11 = (undefined && undefined.__extends) || (function () {
|
|
7794
|
-
var extendStatics = function (d, b) {
|
|
7795
|
-
extendStatics = Object.setPrototypeOf ||
|
|
7796
|
-
({ __proto__: [] } instanceof Array && function (d, b) { d.__proto__ = b; }) ||
|
|
7797
|
-
function (d, b) { for (var p in b) if (b.hasOwnProperty(p)) d[p] = b[p]; };
|
|
7798
|
-
return extendStatics(d, b);
|
|
7799
|
-
};
|
|
7800
|
-
return function (d, b) {
|
|
7801
|
-
extendStatics(d, b);
|
|
7802
|
-
function __() { this.constructor = d; }
|
|
7803
|
-
d.prototype = b === null ? Object.create(b) : (__.prototype = b.prototype, new __());
|
|
7804
|
-
};
|
|
7805
|
-
})();
|
|
7806
|
-
var __decorate$10 = (undefined && undefined.__decorate) || function (decorators, target, key, desc) {
|
|
7807
|
-
var c = arguments.length, r = c < 3 ? target : desc === null ? desc = Object.getOwnPropertyDescriptor(target, key) : desc, d;
|
|
7808
|
-
if (typeof Reflect === "object" && typeof Reflect.decorate === "function") r = Reflect.decorate(decorators, target, key, desc);
|
|
7809
|
-
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;
|
|
7810
|
-
return c > 3 && r && Object.defineProperty(target, key, r), r;
|
|
7811
|
-
};
|
|
7864
|
+
var __extends$11 = (undefined && undefined.__extends) || (function () {
|
|
7865
|
+
var extendStatics = function (d, b) {
|
|
7866
|
+
extendStatics = Object.setPrototypeOf ||
|
|
7867
|
+
({ __proto__: [] } instanceof Array && function (d, b) { d.__proto__ = b; }) ||
|
|
7868
|
+
function (d, b) { for (var p in b) if (b.hasOwnProperty(p)) d[p] = b[p]; };
|
|
7869
|
+
return extendStatics(d, b);
|
|
7870
|
+
};
|
|
7871
|
+
return function (d, b) {
|
|
7872
|
+
extendStatics(d, b);
|
|
7873
|
+
function __() { this.constructor = d; }
|
|
7874
|
+
d.prototype = b === null ? Object.create(b) : (__.prototype = b.prototype, new __());
|
|
7875
|
+
};
|
|
7876
|
+
})();
|
|
7877
|
+
var __decorate$10 = (undefined && undefined.__decorate) || function (decorators, target, key, desc) {
|
|
7878
|
+
var c = arguments.length, r = c < 3 ? target : desc === null ? desc = Object.getOwnPropertyDescriptor(target, key) : desc, d;
|
|
7879
|
+
if (typeof Reflect === "object" && typeof Reflect.decorate === "function") r = Reflect.decorate(decorators, target, key, desc);
|
|
7880
|
+
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;
|
|
7881
|
+
return c > 3 && r && Object.defineProperty(target, key, r), r;
|
|
7882
|
+
};
|
|
7812
7883
|
/**
|
|
7813
7884
|
* Configures the selection behavior of the Gantt.
|
|
7814
7885
|
*/
|
|
@@ -7835,25 +7906,25 @@ var SelectionSettings = /** @__PURE__ @class */ (function (_super) {
|
|
|
7835
7906
|
return SelectionSettings;
|
|
7836
7907
|
}(ChildProperty));
|
|
7837
7908
|
|
|
7838
|
-
var __extends$12 = (undefined && undefined.__extends) || (function () {
|
|
7839
|
-
var extendStatics = function (d, b) {
|
|
7840
|
-
extendStatics = Object.setPrototypeOf ||
|
|
7841
|
-
({ __proto__: [] } instanceof Array && function (d, b) { d.__proto__ = b; }) ||
|
|
7842
|
-
function (d, b) { for (var p in b) if (b.hasOwnProperty(p)) d[p] = b[p]; };
|
|
7843
|
-
return extendStatics(d, b);
|
|
7844
|
-
};
|
|
7845
|
-
return function (d, b) {
|
|
7846
|
-
extendStatics(d, b);
|
|
7847
|
-
function __() { this.constructor = d; }
|
|
7848
|
-
d.prototype = b === null ? Object.create(b) : (__.prototype = b.prototype, new __());
|
|
7849
|
-
};
|
|
7850
|
-
})();
|
|
7851
|
-
var __decorate$11 = (undefined && undefined.__decorate) || function (decorators, target, key, desc) {
|
|
7852
|
-
var c = arguments.length, r = c < 3 ? target : desc === null ? desc = Object.getOwnPropertyDescriptor(target, key) : desc, d;
|
|
7853
|
-
if (typeof Reflect === "object" && typeof Reflect.decorate === "function") r = Reflect.decorate(decorators, target, key, desc);
|
|
7854
|
-
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;
|
|
7855
|
-
return c > 3 && r && Object.defineProperty(target, key, r), r;
|
|
7856
|
-
};
|
|
7909
|
+
var __extends$12 = (undefined && undefined.__extends) || (function () {
|
|
7910
|
+
var extendStatics = function (d, b) {
|
|
7911
|
+
extendStatics = Object.setPrototypeOf ||
|
|
7912
|
+
({ __proto__: [] } instanceof Array && function (d, b) { d.__proto__ = b; }) ||
|
|
7913
|
+
function (d, b) { for (var p in b) if (b.hasOwnProperty(p)) d[p] = b[p]; };
|
|
7914
|
+
return extendStatics(d, b);
|
|
7915
|
+
};
|
|
7916
|
+
return function (d, b) {
|
|
7917
|
+
extendStatics(d, b);
|
|
7918
|
+
function __() { this.constructor = d; }
|
|
7919
|
+
d.prototype = b === null ? Object.create(b) : (__.prototype = b.prototype, new __());
|
|
7920
|
+
};
|
|
7921
|
+
})();
|
|
7922
|
+
var __decorate$11 = (undefined && undefined.__decorate) || function (decorators, target, key, desc) {
|
|
7923
|
+
var c = arguments.length, r = c < 3 ? target : desc === null ? desc = Object.getOwnPropertyDescriptor(target, key) : desc, d;
|
|
7924
|
+
if (typeof Reflect === "object" && typeof Reflect.decorate === "function") r = Reflect.decorate(decorators, target, key, desc);
|
|
7925
|
+
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;
|
|
7926
|
+
return c > 3 && r && Object.defineProperty(target, key, r), r;
|
|
7927
|
+
};
|
|
7857
7928
|
/**
|
|
7858
7929
|
* Configures splitter position and splitter bar.
|
|
7859
7930
|
*/
|
|
@@ -7880,25 +7951,25 @@ var SplitterSettings = /** @__PURE__ @class */ (function (_super) {
|
|
|
7880
7951
|
return SplitterSettings;
|
|
7881
7952
|
}(ChildProperty));
|
|
7882
7953
|
|
|
7883
|
-
var __extends$13 = (undefined && undefined.__extends) || (function () {
|
|
7884
|
-
var extendStatics = function (d, b) {
|
|
7885
|
-
extendStatics = Object.setPrototypeOf ||
|
|
7886
|
-
({ __proto__: [] } instanceof Array && function (d, b) { d.__proto__ = b; }) ||
|
|
7887
|
-
function (d, b) { for (var p in b) if (b.hasOwnProperty(p)) d[p] = b[p]; };
|
|
7888
|
-
return extendStatics(d, b);
|
|
7889
|
-
};
|
|
7890
|
-
return function (d, b) {
|
|
7891
|
-
extendStatics(d, b);
|
|
7892
|
-
function __() { this.constructor = d; }
|
|
7893
|
-
d.prototype = b === null ? Object.create(b) : (__.prototype = b.prototype, new __());
|
|
7894
|
-
};
|
|
7895
|
-
})();
|
|
7896
|
-
var __decorate$12 = (undefined && undefined.__decorate) || function (decorators, target, key, desc) {
|
|
7897
|
-
var c = arguments.length, r = c < 3 ? target : desc === null ? desc = Object.getOwnPropertyDescriptor(target, key) : desc, d;
|
|
7898
|
-
if (typeof Reflect === "object" && typeof Reflect.decorate === "function") r = Reflect.decorate(decorators, target, key, desc);
|
|
7899
|
-
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;
|
|
7900
|
-
return c > 3 && r && Object.defineProperty(target, key, r), r;
|
|
7901
|
-
};
|
|
7954
|
+
var __extends$13 = (undefined && undefined.__extends) || (function () {
|
|
7955
|
+
var extendStatics = function (d, b) {
|
|
7956
|
+
extendStatics = Object.setPrototypeOf ||
|
|
7957
|
+
({ __proto__: [] } instanceof Array && function (d, b) { d.__proto__ = b; }) ||
|
|
7958
|
+
function (d, b) { for (var p in b) if (b.hasOwnProperty(p)) d[p] = b[p]; };
|
|
7959
|
+
return extendStatics(d, b);
|
|
7960
|
+
};
|
|
7961
|
+
return function (d, b) {
|
|
7962
|
+
extendStatics(d, b);
|
|
7963
|
+
function __() { this.constructor = d; }
|
|
7964
|
+
d.prototype = b === null ? Object.create(b) : (__.prototype = b.prototype, new __());
|
|
7965
|
+
};
|
|
7966
|
+
})();
|
|
7967
|
+
var __decorate$12 = (undefined && undefined.__decorate) || function (decorators, target, key, desc) {
|
|
7968
|
+
var c = arguments.length, r = c < 3 ? target : desc === null ? desc = Object.getOwnPropertyDescriptor(target, key) : desc, d;
|
|
7969
|
+
if (typeof Reflect === "object" && typeof Reflect.decorate === "function") r = Reflect.decorate(decorators, target, key, desc);
|
|
7970
|
+
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;
|
|
7971
|
+
return c > 3 && r && Object.defineProperty(target, key, r), r;
|
|
7972
|
+
};
|
|
7902
7973
|
/**
|
|
7903
7974
|
* Defines mapping property to get task details from data source.
|
|
7904
7975
|
*/
|
|
@@ -7979,25 +8050,25 @@ var TaskFields = /** @__PURE__ @class */ (function (_super) {
|
|
|
7979
8050
|
return TaskFields;
|
|
7980
8051
|
}(ChildProperty));
|
|
7981
8052
|
|
|
7982
|
-
var __extends$14 = (undefined && undefined.__extends) || (function () {
|
|
7983
|
-
var extendStatics = function (d, b) {
|
|
7984
|
-
extendStatics = Object.setPrototypeOf ||
|
|
7985
|
-
({ __proto__: [] } instanceof Array && function (d, b) { d.__proto__ = b; }) ||
|
|
7986
|
-
function (d, b) { for (var p in b) if (b.hasOwnProperty(p)) d[p] = b[p]; };
|
|
7987
|
-
return extendStatics(d, b);
|
|
7988
|
-
};
|
|
7989
|
-
return function (d, b) {
|
|
7990
|
-
extendStatics(d, b);
|
|
7991
|
-
function __() { this.constructor = d; }
|
|
7992
|
-
d.prototype = b === null ? Object.create(b) : (__.prototype = b.prototype, new __());
|
|
7993
|
-
};
|
|
7994
|
-
})();
|
|
7995
|
-
var __decorate$13 = (undefined && undefined.__decorate) || function (decorators, target, key, desc) {
|
|
7996
|
-
var c = arguments.length, r = c < 3 ? target : desc === null ? desc = Object.getOwnPropertyDescriptor(target, key) : desc, d;
|
|
7997
|
-
if (typeof Reflect === "object" && typeof Reflect.decorate === "function") r = Reflect.decorate(decorators, target, key, desc);
|
|
7998
|
-
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;
|
|
7999
|
-
return c > 3 && r && Object.defineProperty(target, key, r), r;
|
|
8000
|
-
};
|
|
8053
|
+
var __extends$14 = (undefined && undefined.__extends) || (function () {
|
|
8054
|
+
var extendStatics = function (d, b) {
|
|
8055
|
+
extendStatics = Object.setPrototypeOf ||
|
|
8056
|
+
({ __proto__: [] } instanceof Array && function (d, b) { d.__proto__ = b; }) ||
|
|
8057
|
+
function (d, b) { for (var p in b) if (b.hasOwnProperty(p)) d[p] = b[p]; };
|
|
8058
|
+
return extendStatics(d, b);
|
|
8059
|
+
};
|
|
8060
|
+
return function (d, b) {
|
|
8061
|
+
extendStatics(d, b);
|
|
8062
|
+
function __() { this.constructor = d; }
|
|
8063
|
+
d.prototype = b === null ? Object.create(b) : (__.prototype = b.prototype, new __());
|
|
8064
|
+
};
|
|
8065
|
+
})();
|
|
8066
|
+
var __decorate$13 = (undefined && undefined.__decorate) || function (decorators, target, key, desc) {
|
|
8067
|
+
var c = arguments.length, r = c < 3 ? target : desc === null ? desc = Object.getOwnPropertyDescriptor(target, key) : desc, d;
|
|
8068
|
+
if (typeof Reflect === "object" && typeof Reflect.decorate === "function") r = Reflect.decorate(decorators, target, key, desc);
|
|
8069
|
+
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;
|
|
8070
|
+
return c > 3 && r && Object.defineProperty(target, key, r), r;
|
|
8071
|
+
};
|
|
8001
8072
|
/**
|
|
8002
8073
|
* Configures timeline settings of Gantt.
|
|
8003
8074
|
*/
|
|
@@ -8055,25 +8126,25 @@ var TimelineSettings = /** @__PURE__ @class */ (function (_super) {
|
|
|
8055
8126
|
return TimelineSettings;
|
|
8056
8127
|
}(ChildProperty));
|
|
8057
8128
|
|
|
8058
|
-
var __extends$15 = (undefined && undefined.__extends) || (function () {
|
|
8059
|
-
var extendStatics = function (d, b) {
|
|
8060
|
-
extendStatics = Object.setPrototypeOf ||
|
|
8061
|
-
({ __proto__: [] } instanceof Array && function (d, b) { d.__proto__ = b; }) ||
|
|
8062
|
-
function (d, b) { for (var p in b) if (b.hasOwnProperty(p)) d[p] = b[p]; };
|
|
8063
|
-
return extendStatics(d, b);
|
|
8064
|
-
};
|
|
8065
|
-
return function (d, b) {
|
|
8066
|
-
extendStatics(d, b);
|
|
8067
|
-
function __() { this.constructor = d; }
|
|
8068
|
-
d.prototype = b === null ? Object.create(b) : (__.prototype = b.prototype, new __());
|
|
8069
|
-
};
|
|
8070
|
-
})();
|
|
8071
|
-
var __decorate$14 = (undefined && undefined.__decorate) || function (decorators, target, key, desc) {
|
|
8072
|
-
var c = arguments.length, r = c < 3 ? target : desc === null ? desc = Object.getOwnPropertyDescriptor(target, key) : desc, d;
|
|
8073
|
-
if (typeof Reflect === "object" && typeof Reflect.decorate === "function") r = Reflect.decorate(decorators, target, key, desc);
|
|
8074
|
-
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;
|
|
8075
|
-
return c > 3 && r && Object.defineProperty(target, key, r), r;
|
|
8076
|
-
};
|
|
8129
|
+
var __extends$15 = (undefined && undefined.__extends) || (function () {
|
|
8130
|
+
var extendStatics = function (d, b) {
|
|
8131
|
+
extendStatics = Object.setPrototypeOf ||
|
|
8132
|
+
({ __proto__: [] } instanceof Array && function (d, b) { d.__proto__ = b; }) ||
|
|
8133
|
+
function (d, b) { for (var p in b) if (b.hasOwnProperty(p)) d[p] = b[p]; };
|
|
8134
|
+
return extendStatics(d, b);
|
|
8135
|
+
};
|
|
8136
|
+
return function (d, b) {
|
|
8137
|
+
extendStatics(d, b);
|
|
8138
|
+
function __() { this.constructor = d; }
|
|
8139
|
+
d.prototype = b === null ? Object.create(b) : (__.prototype = b.prototype, new __());
|
|
8140
|
+
};
|
|
8141
|
+
})();
|
|
8142
|
+
var __decorate$14 = (undefined && undefined.__decorate) || function (decorators, target, key, desc) {
|
|
8143
|
+
var c = arguments.length, r = c < 3 ? target : desc === null ? desc = Object.getOwnPropertyDescriptor(target, key) : desc, d;
|
|
8144
|
+
if (typeof Reflect === "object" && typeof Reflect.decorate === "function") r = Reflect.decorate(decorators, target, key, desc);
|
|
8145
|
+
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;
|
|
8146
|
+
return c > 3 && r && Object.defineProperty(target, key, r), r;
|
|
8147
|
+
};
|
|
8077
8148
|
/**
|
|
8078
8149
|
* Configures tooltip settings for Gantt.
|
|
8079
8150
|
*/
|
|
@@ -8100,25 +8171,25 @@ var TooltipSettings = /** @__PURE__ @class */ (function (_super) {
|
|
|
8100
8171
|
return TooltipSettings;
|
|
8101
8172
|
}(ChildProperty));
|
|
8102
8173
|
|
|
8103
|
-
var __extends$16 = (undefined && undefined.__extends) || (function () {
|
|
8104
|
-
var extendStatics = function (d, b) {
|
|
8105
|
-
extendStatics = Object.setPrototypeOf ||
|
|
8106
|
-
({ __proto__: [] } instanceof Array && function (d, b) { d.__proto__ = b; }) ||
|
|
8107
|
-
function (d, b) { for (var p in b) if (b.hasOwnProperty(p)) d[p] = b[p]; };
|
|
8108
|
-
return extendStatics(d, b);
|
|
8109
|
-
};
|
|
8110
|
-
return function (d, b) {
|
|
8111
|
-
extendStatics(d, b);
|
|
8112
|
-
function __() { this.constructor = d; }
|
|
8113
|
-
d.prototype = b === null ? Object.create(b) : (__.prototype = b.prototype, new __());
|
|
8114
|
-
};
|
|
8115
|
-
})();
|
|
8116
|
-
var __decorate$15 = (undefined && undefined.__decorate) || function (decorators, target, key, desc) {
|
|
8117
|
-
var c = arguments.length, r = c < 3 ? target : desc === null ? desc = Object.getOwnPropertyDescriptor(target, key) : desc, d;
|
|
8118
|
-
if (typeof Reflect === "object" && typeof Reflect.decorate === "function") r = Reflect.decorate(decorators, target, key, desc);
|
|
8119
|
-
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;
|
|
8120
|
-
return c > 3 && r && Object.defineProperty(target, key, r), r;
|
|
8121
|
-
};
|
|
8174
|
+
var __extends$16 = (undefined && undefined.__extends) || (function () {
|
|
8175
|
+
var extendStatics = function (d, b) {
|
|
8176
|
+
extendStatics = Object.setPrototypeOf ||
|
|
8177
|
+
({ __proto__: [] } instanceof Array && function (d, b) { d.__proto__ = b; }) ||
|
|
8178
|
+
function (d, b) { for (var p in b) if (b.hasOwnProperty(p)) d[p] = b[p]; };
|
|
8179
|
+
return extendStatics(d, b);
|
|
8180
|
+
};
|
|
8181
|
+
return function (d, b) {
|
|
8182
|
+
extendStatics(d, b);
|
|
8183
|
+
function __() { this.constructor = d; }
|
|
8184
|
+
d.prototype = b === null ? Object.create(b) : (__.prototype = b.prototype, new __());
|
|
8185
|
+
};
|
|
8186
|
+
})();
|
|
8187
|
+
var __decorate$15 = (undefined && undefined.__decorate) || function (decorators, target, key, desc) {
|
|
8188
|
+
var c = arguments.length, r = c < 3 ? target : desc === null ? desc = Object.getOwnPropertyDescriptor(target, key) : desc, d;
|
|
8189
|
+
if (typeof Reflect === "object" && typeof Reflect.decorate === "function") r = Reflect.decorate(decorators, target, key, desc);
|
|
8190
|
+
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;
|
|
8191
|
+
return c > 3 && r && Object.defineProperty(target, key, r), r;
|
|
8192
|
+
};
|
|
8122
8193
|
/**
|
|
8123
8194
|
* Represents the field name and direction of sort column.
|
|
8124
8195
|
*/
|
|
@@ -8152,25 +8223,25 @@ var SortSettings = /** @__PURE__ @class */ (function (_super) {
|
|
|
8152
8223
|
return SortSettings;
|
|
8153
8224
|
}(ChildProperty));
|
|
8154
8225
|
|
|
8155
|
-
var __extends$17 = (undefined && undefined.__extends) || (function () {
|
|
8156
|
-
var extendStatics = function (d, b) {
|
|
8157
|
-
extendStatics = Object.setPrototypeOf ||
|
|
8158
|
-
({ __proto__: [] } instanceof Array && function (d, b) { d.__proto__ = b; }) ||
|
|
8159
|
-
function (d, b) { for (var p in b) if (b.hasOwnProperty(p)) d[p] = b[p]; };
|
|
8160
|
-
return extendStatics(d, b);
|
|
8161
|
-
};
|
|
8162
|
-
return function (d, b) {
|
|
8163
|
-
extendStatics(d, b);
|
|
8164
|
-
function __() { this.constructor = d; }
|
|
8165
|
-
d.prototype = b === null ? Object.create(b) : (__.prototype = b.prototype, new __());
|
|
8166
|
-
};
|
|
8167
|
-
})();
|
|
8168
|
-
var __decorate$16 = (undefined && undefined.__decorate) || function (decorators, target, key, desc) {
|
|
8169
|
-
var c = arguments.length, r = c < 3 ? target : desc === null ? desc = Object.getOwnPropertyDescriptor(target, key) : desc, d;
|
|
8170
|
-
if (typeof Reflect === "object" && typeof Reflect.decorate === "function") r = Reflect.decorate(decorators, target, key, desc);
|
|
8171
|
-
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;
|
|
8172
|
-
return c > 3 && r && Object.defineProperty(target, key, r), r;
|
|
8173
|
-
};
|
|
8226
|
+
var __extends$17 = (undefined && undefined.__extends) || (function () {
|
|
8227
|
+
var extendStatics = function (d, b) {
|
|
8228
|
+
extendStatics = Object.setPrototypeOf ||
|
|
8229
|
+
({ __proto__: [] } instanceof Array && function (d, b) { d.__proto__ = b; }) ||
|
|
8230
|
+
function (d, b) { for (var p in b) if (b.hasOwnProperty(p)) d[p] = b[p]; };
|
|
8231
|
+
return extendStatics(d, b);
|
|
8232
|
+
};
|
|
8233
|
+
return function (d, b) {
|
|
8234
|
+
extendStatics(d, b);
|
|
8235
|
+
function __() { this.constructor = d; }
|
|
8236
|
+
d.prototype = b === null ? Object.create(b) : (__.prototype = b.prototype, new __());
|
|
8237
|
+
};
|
|
8238
|
+
})();
|
|
8239
|
+
var __decorate$16 = (undefined && undefined.__decorate) || function (decorators, target, key, desc) {
|
|
8240
|
+
var c = arguments.length, r = c < 3 ? target : desc === null ? desc = Object.getOwnPropertyDescriptor(target, key) : desc, d;
|
|
8241
|
+
if (typeof Reflect === "object" && typeof Reflect.decorate === "function") r = Reflect.decorate(decorators, target, key, desc);
|
|
8242
|
+
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;
|
|
8243
|
+
return c > 3 && r && Object.defineProperty(target, key, r), r;
|
|
8244
|
+
};
|
|
8174
8245
|
/**
|
|
8175
8246
|
* Defines mapping property to get resource details from resource collection.
|
|
8176
8247
|
*/
|
|
@@ -8198,19 +8269,19 @@ var ResourceFields = /** @__PURE__ @class */ (function (_super) {
|
|
|
8198
8269
|
* Export all generated models for complex settings
|
|
8199
8270
|
*/
|
|
8200
8271
|
|
|
8201
|
-
var __extends$18 = (undefined && undefined.__extends) || (function () {
|
|
8202
|
-
var extendStatics = function (d, b) {
|
|
8203
|
-
extendStatics = Object.setPrototypeOf ||
|
|
8204
|
-
({ __proto__: [] } instanceof Array && function (d, b) { d.__proto__ = b; }) ||
|
|
8205
|
-
function (d, b) { for (var p in b) if (b.hasOwnProperty(p)) d[p] = b[p]; };
|
|
8206
|
-
return extendStatics(d, b);
|
|
8207
|
-
};
|
|
8208
|
-
return function (d, b) {
|
|
8209
|
-
extendStatics(d, b);
|
|
8210
|
-
function __() { this.constructor = d; }
|
|
8211
|
-
d.prototype = b === null ? Object.create(b) : (__.prototype = b.prototype, new __());
|
|
8212
|
-
};
|
|
8213
|
-
})();
|
|
8272
|
+
var __extends$18 = (undefined && undefined.__extends) || (function () {
|
|
8273
|
+
var extendStatics = function (d, b) {
|
|
8274
|
+
extendStatics = Object.setPrototypeOf ||
|
|
8275
|
+
({ __proto__: [] } instanceof Array && function (d, b) { d.__proto__ = b; }) ||
|
|
8276
|
+
function (d, b) { for (var p in b) if (b.hasOwnProperty(p)) d[p] = b[p]; };
|
|
8277
|
+
return extendStatics(d, b);
|
|
8278
|
+
};
|
|
8279
|
+
return function (d, b) {
|
|
8280
|
+
extendStatics(d, b);
|
|
8281
|
+
function __() { this.constructor = d; }
|
|
8282
|
+
d.prototype = b === null ? Object.create(b) : (__.prototype = b.prototype, new __());
|
|
8283
|
+
};
|
|
8284
|
+
})();
|
|
8214
8285
|
/**
|
|
8215
8286
|
* To render the chart rows in Gantt
|
|
8216
8287
|
*/
|
|
@@ -8222,7 +8293,7 @@ var ChartRows = /** @__PURE__ @class */ (function (_super) {
|
|
|
8222
8293
|
_this.milestoneHeight = 0;
|
|
8223
8294
|
_this.milesStoneRadius = 0;
|
|
8224
8295
|
_this.baselineTop = 0;
|
|
8225
|
-
_this.baselineHeight =
|
|
8296
|
+
_this.baselineHeight = 8;
|
|
8226
8297
|
_this.touchLeftConnectorpoint = '';
|
|
8227
8298
|
_this.touchRightConnectorpoint = '';
|
|
8228
8299
|
_this.dropSplit = false;
|
|
@@ -8305,7 +8376,7 @@ var ChartRows = /** @__PURE__ @class */ (function (_super) {
|
|
|
8305
8376
|
* @private
|
|
8306
8377
|
*/
|
|
8307
8378
|
ChartRows.prototype.getIndicatorNode = function (indicator) {
|
|
8308
|
-
var templateString = '<label class="' + label + ' ' + taskIndicatorDiv + '"
|
|
8379
|
+
var templateString = '<label class="' + label + ' ' + taskIndicatorDiv + '" role="LabelIndicator" style="line-height:'
|
|
8309
8380
|
+ (this.parent.rowHeight) + 'px;' +
|
|
8310
8381
|
'left:' + this.getIndicatorleft(indicator.date) + 'px;"><i class="' + indicator.iconClass + '"></i> </label>';
|
|
8311
8382
|
return this.createDivElement(templateString);
|
|
@@ -8378,9 +8449,9 @@ var ChartRows = /** @__PURE__ @class */ (function (_super) {
|
|
|
8378
8449
|
}
|
|
8379
8450
|
else {
|
|
8380
8451
|
taskLabel$$1 = '<span class="' + taskLabel + '" style="line-height:' +
|
|
8381
|
-
(this.taskBarHeight - 1) + 'px;
|
|
8382
|
-
|
|
8383
|
-
|
|
8452
|
+
(this.taskBarHeight - 1) + 'px;' + (this.parent.viewType === 'ResourceView' ? 'text-align: left;' : '') +
|
|
8453
|
+
+(this.parent.viewType === 'ResourceView' ? 'display:inline-flex;' : '') +
|
|
8454
|
+
+(this.parent.viewType === 'ResourceView' ? (data.ganttProperties.width - 10) : '') + 'px; height:' +
|
|
8384
8455
|
this.taskBarHeight + 'px;">' + labelString + '</span>';
|
|
8385
8456
|
}
|
|
8386
8457
|
}
|
|
@@ -8797,7 +8868,7 @@ var ChartRows = /** @__PURE__ @class */ (function (_super) {
|
|
|
8797
8868
|
*/
|
|
8798
8869
|
ChartRows.prototype.getTaskBaselineNode = function () {
|
|
8799
8870
|
var data = this.templateData;
|
|
8800
|
-
var template = '<div class="' + baselineBar + ' ' + '" style="margin-top:' + this.baselineTop +
|
|
8871
|
+
var template = '<div class="' + baselineBar + ' ' + '" role="BaselineBar" style="margin-top:' + this.baselineTop +
|
|
8801
8872
|
'px;left:' + data.ganttProperties.baselineLeft + 'px;' +
|
|
8802
8873
|
'width:' + data.ganttProperties.baselineWidth + 'px;height:' +
|
|
8803
8874
|
this.baselineHeight + 'px;' + (this.baselineColor ? 'background-color: ' + this.baselineColor + ';' : '') + '"></div>';
|
|
@@ -8811,9 +8882,10 @@ var ChartRows = /** @__PURE__ @class */ (function (_super) {
|
|
|
8811
8882
|
*/
|
|
8812
8883
|
ChartRows.prototype.getMilestoneBaselineNode = function () {
|
|
8813
8884
|
var data = this.templateData;
|
|
8885
|
+
var baselineMilestoneHeight = this.parent.renderBaseline ? 5 : 2;
|
|
8814
8886
|
var template = '<div class="' + baselineMilestoneContainer + ' ' + '" style="' +
|
|
8815
8887
|
'left:' + (data.ganttProperties.baselineLeft - this.milesStoneRadius) + 'px;' +
|
|
8816
|
-
'margin-top:' + (-Math.floor(this.parent.rowHeight - this.milestoneMarginTop) +
|
|
8888
|
+
'margin-top:' + (-Math.floor(this.parent.rowHeight - this.milestoneMarginTop) + baselineMilestoneHeight) +
|
|
8817
8889
|
'px">' + '<div class="' + baselineMilestoneDiv + '">' + '<div class="' + baselineMilestoneDiv +
|
|
8818
8890
|
' ' + baselineMilestoneTop + '" ' +
|
|
8819
8891
|
'style="top:' + (-this.milestoneHeight) + 'px;border-right:' + this.milesStoneRadius +
|
|
@@ -8841,7 +8913,9 @@ var ChartRows = /** @__PURE__ @class */ (function (_super) {
|
|
|
8841
8913
|
*/
|
|
8842
8914
|
ChartRows.prototype.getLeftLabelNode = function (i) {
|
|
8843
8915
|
var leftLabelNode = this.leftLabelContainer();
|
|
8844
|
-
|
|
8916
|
+
if (this.generateTaskLabelAriaLabel('left') !== "") {
|
|
8917
|
+
leftLabelNode[0].setAttribute('aria-label', this.generateTaskLabelAriaLabel('left'));
|
|
8918
|
+
}
|
|
8845
8919
|
var leftLabelTemplateNode = null;
|
|
8846
8920
|
if (this.leftTaskLabelTemplateFunction) {
|
|
8847
8921
|
leftLabelTemplateNode = this.leftTaskLabelTemplateFunction(extend({ index: i }, this.templateData), this.parent, 'LeftLabelTemplate', this.getTemplateID('LeftLabelTemplate'), false, undefined, leftLabelNode[0], this.parent.treeGrid['root']);
|
|
@@ -8863,9 +8937,10 @@ var ChartRows = /** @__PURE__ @class */ (function (_super) {
|
|
|
8863
8937
|
return leftLabelNode;
|
|
8864
8938
|
};
|
|
8865
8939
|
ChartRows.prototype.getLableText = function (labelString, labelDiv) {
|
|
8940
|
+
var leftLabelHeight = this.parent.renderBaseline ? ((this.parent.rowHeight - this.taskBarHeight) / 2) : this.taskBarMarginTop;
|
|
8866
8941
|
var templateString = createElement('div', {
|
|
8867
8942
|
className: labelDiv, styles: 'height:' + (this.taskBarHeight) + 'px;' +
|
|
8868
|
-
'margin-top:' +
|
|
8943
|
+
'margin-top:' + leftLabelHeight + 'px;'
|
|
8869
8944
|
});
|
|
8870
8945
|
var spanElem = createElement('span', { className: label });
|
|
8871
8946
|
var property = this.parent.disableHtmlEncode ? 'textContent' : 'innerHTML';
|
|
@@ -8884,7 +8959,9 @@ var ChartRows = /** @__PURE__ @class */ (function (_super) {
|
|
|
8884
8959
|
*/
|
|
8885
8960
|
ChartRows.prototype.getRightLabelNode = function (i) {
|
|
8886
8961
|
var rightLabelNode = this.rightLabelContainer();
|
|
8887
|
-
|
|
8962
|
+
if (this.generateTaskLabelAriaLabel('right') !== "") {
|
|
8963
|
+
rightLabelNode[0].setAttribute('aria-label', this.generateTaskLabelAriaLabel('right'));
|
|
8964
|
+
}
|
|
8888
8965
|
var rightLabelTemplateNode = null;
|
|
8889
8966
|
if (this.rightTaskLabelTemplateFunction) {
|
|
8890
8967
|
rightLabelTemplateNode = this.rightTaskLabelTemplateFunction(extend({ index: i }, this.templateData), this.parent, 'RightLabelTemplate', this.getTemplateID('RightLabelTemplate'), false, undefined, rightLabelNode[0], this.parent.treeGrid['root']);
|
|
@@ -8997,8 +9074,10 @@ var ChartRows = /** @__PURE__ @class */ (function (_super) {
|
|
|
8997
9074
|
else {
|
|
8998
9075
|
labelDiv = this.createDivElement('<span class="' +
|
|
8999
9076
|
taskLabel + '" style="line-height:' +
|
|
9000
|
-
(this.taskBarHeight - 1) + 'px;
|
|
9001
|
-
(this.parent.viewType === 'ResourceView' ? (data.ganttProperties.width - 10) : '
|
|
9077
|
+
(this.taskBarHeight - 1) + 'px;' + (this.parent.viewType === 'ResourceView' ? 'display:inline-flex;' : '') +
|
|
9078
|
+
(this.parent.viewType === 'ResourceView' ? 'width:' + (data.ganttProperties.width - 10) : '') + 'px; height:' +
|
|
9079
|
+
(this.taskBarHeight - 1) + 'px;' + (this.parent.viewType === 'ResourceView' ? 'display: inline-flex;' : '') +
|
|
9080
|
+
(this.parent.viewType === 'ResourceView' ? 'width:' + (data.ganttProperties.width - 10) : '') + 'px; height:' +
|
|
9002
9081
|
this.taskBarHeight + 'px;">' + labelString + '</span>');
|
|
9003
9082
|
}
|
|
9004
9083
|
progressBarInnerDiv[0].appendChild([].slice.call(labelDiv)[0]);
|
|
@@ -9027,10 +9106,10 @@ var ChartRows = /** @__PURE__ @class */ (function (_super) {
|
|
|
9027
9106
|
var className = (this.parent.gridLines === 'Horizontal' || this.parent.gridLines === 'Both') ?
|
|
9028
9107
|
'e-chart-row-border' : '';
|
|
9029
9108
|
table.innerHTML = '<tr class="' + this.getRowClassName(this.templateData) + ' ' + chartRow + '"' +
|
|
9030
|
-
'style="display:' + this.getExpandDisplayProp(this.templateData) + ';height:' +
|
|
9109
|
+
'role="ChartRow" style="display:' + this.getExpandDisplayProp(this.templateData) + ';height:' +
|
|
9031
9110
|
this.parent.rowHeight + 'px;">' +
|
|
9032
9111
|
'<td class="' + chartRowCell + ' ' + className
|
|
9033
|
-
+ '" style="width:' + this.parent.timelineModule.totalTimelineWidth + 'px;"></td></tr>';
|
|
9112
|
+
+ '" role="ChartCell" style="width:' + this.parent.timelineModule.totalTimelineWidth + 'px;"></td></tr>';
|
|
9034
9113
|
return table.childNodes;
|
|
9035
9114
|
};
|
|
9036
9115
|
/**
|
|
@@ -9095,7 +9174,7 @@ var ChartRows = /** @__PURE__ @class */ (function (_super) {
|
|
|
9095
9174
|
};
|
|
9096
9175
|
ChartRows.prototype.leftLabelContainer = function () {
|
|
9097
9176
|
var template = '<div class="' + ((this.leftTaskLabelTemplateFunction) ? leftLabelTempContainer :
|
|
9098
|
-
leftLabelContainer) + ' ' + '" tabindex="-1" style="height:' +
|
|
9177
|
+
leftLabelContainer) + ' ' + '" tabindex="-1" role="LeftLabel" style="height:' +
|
|
9099
9178
|
(this.parent.rowHeight - 2) + 'px;width:' + this.taskNameWidth(this.templateData) + '"></div>';
|
|
9100
9179
|
return this.createDivElement(template);
|
|
9101
9180
|
};
|
|
@@ -9107,7 +9186,7 @@ var ChartRows = /** @__PURE__ @class */ (function (_super) {
|
|
|
9107
9186
|
var template = '<div class="' + taskBarMainContainer + ' ' +
|
|
9108
9187
|
this.parent.getUnscheduledTaskClass(data.ganttProperties) + ' ' +
|
|
9109
9188
|
((data.ganttProperties.cssClass) ? data.ganttProperties.cssClass : '') + '" ' +
|
|
9110
|
-
' tabindex="-1" style="' + ((data.ganttProperties.isMilestone && !manualParent) ?
|
|
9189
|
+
' tabindex="-1" role="TaskBar" style="' + ((data.ganttProperties.isMilestone && !manualParent) ?
|
|
9111
9190
|
('width:' + this.milestoneHeight + 'px;height:' +
|
|
9112
9191
|
this.milestoneHeight + 'px;margin-top:' + this.milestoneMarginTop + 'px;left:' + (data.ganttProperties.left -
|
|
9113
9192
|
(this.milestoneHeight / 2)) + 'px;') : ('width:' + data.ganttProperties.width +
|
|
@@ -9118,26 +9197,26 @@ var ChartRows = /** @__PURE__ @class */ (function (_super) {
|
|
|
9118
9197
|
};
|
|
9119
9198
|
ChartRows.prototype.rightLabelContainer = function () {
|
|
9120
9199
|
var template = '<div class="' + ((this.rightTaskLabelTemplateFunction) ? rightLabelTempContainer :
|
|
9121
|
-
rightLabelContainer) + '" ' + ' tabindex="-1" style="left:' + this.getRightLabelLeft(this.templateData) + 'px;height:'
|
|
9200
|
+
rightLabelContainer) + '" ' + ' tabindex="-1" role="RightLabel" style="left:' + this.getRightLabelLeft(this.templateData) + 'px; height:'
|
|
9122
9201
|
+ (this.parent.rowHeight - 2) + 'px;"></div>';
|
|
9123
9202
|
return this.createDivElement(template);
|
|
9124
9203
|
};
|
|
9125
9204
|
ChartRows.prototype.childTaskbarLeftResizer = function () {
|
|
9126
9205
|
var lResizerLeft = -(this.parent.isAdaptive ? 12 : 2);
|
|
9127
9206
|
var template = '<div class="' + taskBarLeftResizer + ' ' + icon + '"' +
|
|
9128
|
-
' style="left:' + lResizerLeft + 'px;height:' + (this.taskBarHeight) + 'px;"></div>';
|
|
9207
|
+
' role="LeftResizer" style="left:' + lResizerLeft + 'px;height:' + (this.taskBarHeight) + 'px;"></div>';
|
|
9129
9208
|
return this.createDivElement(template);
|
|
9130
9209
|
};
|
|
9131
9210
|
ChartRows.prototype.childTaskbarRightResizer = function () {
|
|
9132
9211
|
var rResizerLeft = this.parent.isAdaptive ? -2 : -10;
|
|
9133
9212
|
var template = '<div class="' + taskBarRightResizer + ' ' + icon + '"' +
|
|
9134
|
-
' style="left:' + (this.templateData.ganttProperties.width + rResizerLeft) + 'px;' +
|
|
9213
|
+
' role="RightResizer" style="left:' + (this.templateData.ganttProperties.width + rResizerLeft) + 'px;' +
|
|
9135
9214
|
'height:' + (this.taskBarHeight) + 'px;"></div>';
|
|
9136
9215
|
return this.createDivElement(template);
|
|
9137
9216
|
};
|
|
9138
9217
|
ChartRows.prototype.childTaskbarProgressResizer = function () {
|
|
9139
9218
|
var template = '<div class="' + childProgressResizer + '"' +
|
|
9140
|
-
' style="left:' + (this.templateData.ganttProperties.progressWidth - 6) + 'px;margin-top:' +
|
|
9219
|
+
' role="ProgressResizer" style="left:' + (this.templateData.ganttProperties.progressWidth - 6) + 'px;margin-top:' +
|
|
9141
9220
|
(this.taskBarHeight - 4) + 'px;"><div class="' + progressBarHandler + '"' +
|
|
9142
9221
|
'><div class="' + progressHandlerElement + '"></div>' +
|
|
9143
9222
|
'<div class="' + progressBarHandlerAfter + '"></div></div>';
|
|
@@ -9335,10 +9414,13 @@ var ChartRows = /** @__PURE__ @class */ (function (_super) {
|
|
|
9335
9414
|
* @private
|
|
9336
9415
|
*/
|
|
9337
9416
|
ChartRows.prototype.initChartHelperPrivateVariable = function () {
|
|
9417
|
+
var taskbarHeightValue = this.parent.renderBaseline ? 0.45 : 0.62;
|
|
9418
|
+
var taskBarMarginTopValue = this.parent.renderBaseline ? 4 : 2;
|
|
9419
|
+
var milestoneHeightValue = this.parent.renderBaseline ? 1.13 : 0.82;
|
|
9338
9420
|
this.baselineColor = !isNullOrUndefined(this.parent.baselineColor) &&
|
|
9339
9421
|
this.parent.baselineColor !== '' ? this.parent.baselineColor : null;
|
|
9340
9422
|
this.taskBarHeight = isNullOrUndefined(this.parent.taskbarHeight) || this.parent.taskbarHeight >= this.parent.rowHeight ?
|
|
9341
|
-
Math.floor(this.parent.rowHeight *
|
|
9423
|
+
Math.floor(this.parent.rowHeight * taskbarHeightValue) : this.parent.taskbarHeight; // 0.62 -- Standard Ratio.
|
|
9342
9424
|
if (this.parent.renderBaseline) {
|
|
9343
9425
|
var height = void 0;
|
|
9344
9426
|
if ((this.taskBarHeight + this.baselineHeight) <= this.parent.rowHeight) {
|
|
@@ -9349,11 +9431,11 @@ var ChartRows = /** @__PURE__ @class */ (function (_super) {
|
|
|
9349
9431
|
}
|
|
9350
9432
|
this.taskBarHeight = height;
|
|
9351
9433
|
}
|
|
9352
|
-
this.milestoneHeight = Math.floor(this.taskBarHeight *
|
|
9353
|
-
this.taskBarMarginTop = Math.floor((this.parent.rowHeight - this.taskBarHeight) /
|
|
9434
|
+
this.milestoneHeight = Math.floor(this.taskBarHeight * milestoneHeightValue); // 0.82 -- Standard Ratio.
|
|
9435
|
+
this.taskBarMarginTop = Math.floor((this.parent.rowHeight - this.taskBarHeight) / taskBarMarginTopValue);
|
|
9354
9436
|
this.milestoneMarginTop = Math.floor((this.parent.rowHeight - this.milestoneHeight) / 2);
|
|
9355
9437
|
this.milesStoneRadius = Math.floor((this.milestoneHeight) / 2);
|
|
9356
|
-
this.baselineTop = -(Math.floor((this.parent.rowHeight - (this.taskBarHeight + this.taskBarMarginTop))) -
|
|
9438
|
+
this.baselineTop = -(Math.floor((this.parent.rowHeight - (this.taskBarHeight + this.taskBarMarginTop))) - 4);
|
|
9357
9439
|
this.connectorPointWidth = this.parent.isAdaptive ? Math.round(this.taskBarHeight / 2) : 8;
|
|
9358
9440
|
this.connectorPointMargin = Math.floor((this.taskBarHeight / 2) - (this.connectorPointWidth / 2));
|
|
9359
9441
|
};
|
|
@@ -9547,6 +9629,7 @@ var ChartRows = /** @__PURE__ @class */ (function (_super) {
|
|
|
9547
9629
|
var indicators = this.templateData.ganttProperties.indicators;
|
|
9548
9630
|
for (var indicatorIndex = 0; indicatorIndex < indicators.length; indicatorIndex++) {
|
|
9549
9631
|
taskIndicatorNode = this.getIndicatorNode(indicators[indicatorIndex]);
|
|
9632
|
+
taskIndicatorNode[0].setAttribute('aria-label', indicators[indicatorIndex].name);
|
|
9550
9633
|
if (indicators[indicatorIndex].name.indexOf('$') > -1 || indicators[indicatorIndex].name.indexOf('#') > -1) {
|
|
9551
9634
|
taskIndicatorTextFunction = this.templateCompiler(indicators[indicatorIndex].name);
|
|
9552
9635
|
taskIndicatorTextNode = taskIndicatorTextFunction(extend({ index: i }, this.templateData), this.parent, 'indicatorLabelText');
|
|
@@ -10771,7 +10854,7 @@ var ConnectorLine = /** @__PURE__ @class */ (function () {
|
|
|
10771
10854
|
for (var i = 0; i < childNodes.length; i++) {
|
|
10772
10855
|
var innerChild = childNodes[i].childNodes;
|
|
10773
10856
|
for (var j = 0; j < innerChild.length; j++) {
|
|
10774
|
-
var ariaString = this.parent.connectorLineModule.generateAriaLabel(ariaConnector[i]);
|
|
10857
|
+
var ariaString = 'Connector Line ' + this.parent.connectorLineModule.generateAriaLabel(ariaConnector[i]);
|
|
10775
10858
|
innerChild[j].setAttribute('aria-label', ariaString);
|
|
10776
10859
|
}
|
|
10777
10860
|
}
|
|
@@ -11028,7 +11111,11 @@ var ConnectorLine = /** @__PURE__ @class */ (function () {
|
|
|
11028
11111
|
var connectorContainer = '';
|
|
11029
11112
|
var isVirtual = this.parent.virtualScrollModule && this.parent.enableVirtualization;
|
|
11030
11113
|
var connectorLine$$1 = this.getPosition(data, this.getParentPosition(data), height);
|
|
11031
|
-
var
|
|
11114
|
+
var isMilestoneValue = 0;
|
|
11115
|
+
if (this.parent.renderBaseline) {
|
|
11116
|
+
isMilestoneValue = (data.milestoneParent && data.milestoneChild) ? 0 : data.milestoneParent ? -5 : data.milestoneChild ? 5 : 0;
|
|
11117
|
+
}
|
|
11118
|
+
var heightValue = isVirtual ? connectorLine$$1.height : (height + isMilestoneValue);
|
|
11032
11119
|
if (this.getParentPosition(data)) {
|
|
11033
11120
|
connectorContainer = '<div id="ConnectorLine' + data.connectorLineId + '" style="background-color:black">';
|
|
11034
11121
|
var div = '<div class="' + connectorLineContainer +
|
|
@@ -11056,7 +11143,7 @@ var ConnectorLine = /** @__PURE__ @class */ (function () {
|
|
|
11056
11143
|
this.getBorderStyles('top', this.lineStroke) + 'position:relative;"></div>';
|
|
11057
11144
|
if (this.getParentPosition(data) === 'FSType1') {
|
|
11058
11145
|
div = div + 'left:' + (data.parentLeft + data.parentWidth) + 'px;top:' + (isVirtual ? connectorLine$$1.top :
|
|
11059
|
-
((data.parentIndex * data.rowHeight) + this.getTaskbarMidpoint(isMilestone) - (this.lineStroke - 1))) + 'px;' +
|
|
11146
|
+
((data.parentIndex * data.rowHeight) + this.getTaskbarMidpoint(isMilestone) - (this.lineStroke - 1) - isMilestoneValue)) + 'px;' +
|
|
11060
11147
|
'width:1px;height:' + heightValue + 'px;position:absolute" data-connectortype="FSType1">';
|
|
11061
11148
|
div = div + eLine;
|
|
11062
11149
|
div = div + 'left:' + (isMilestoneParent ? -1 : 0) + 'px;width:' + (isMilestoneParent ?
|
|
@@ -11077,7 +11164,7 @@ var ConnectorLine = /** @__PURE__ @class */ (function () {
|
|
|
11077
11164
|
}
|
|
11078
11165
|
if (this.getParentPosition(data) === 'FSType2') {
|
|
11079
11166
|
div = div + 'left:' + data.parentLeft + 'px;top:' + (isVirtual ? connectorLine$$1.top : ((data.parentIndex * data.rowHeight) +
|
|
11080
|
-
this.getTaskbarMidpoint(isMilestone) - (this.lineStroke - 1))) + 'px;' +
|
|
11167
|
+
this.getTaskbarMidpoint(isMilestone) - (this.lineStroke - 1) - isMilestoneValue)) + 'px;' +
|
|
11081
11168
|
'width:1px;height:' + heightValue + 'px;position:absolute" data-connectortype="FSType2">';
|
|
11082
11169
|
div = div + eLine;
|
|
11083
11170
|
div = div + 'left:' + (isMilestoneParent ? data.parentWidth - 1 : data.parentWidth) + 'px;width:' +
|
|
@@ -11108,7 +11195,7 @@ var ConnectorLine = /** @__PURE__ @class */ (function () {
|
|
|
11108
11195
|
}
|
|
11109
11196
|
if (this.getParentPosition(data) === 'FSType3') {
|
|
11110
11197
|
div = div + 'left:' + (data.childLeft - 20) + 'px;top:' + (isVirtual ? connectorLine$$1.top :
|
|
11111
|
-
((data.childIndex * data.rowHeight) + this.getTaskbarMidpoint(isMilestoneParent) - (this.lineStroke - 1))) + 'px;' +
|
|
11198
|
+
((data.childIndex * data.rowHeight) + this.getTaskbarMidpoint(isMilestoneParent) - (this.lineStroke - 1) - isMilestoneValue)) + 'px;' +
|
|
11112
11199
|
'width:1px;height:' + heightValue + 'px;position:absolute" data-connectortype="FSType3">';
|
|
11113
11200
|
div = div + rightArrow;
|
|
11114
11201
|
div = div + 'left:10px;' + this.getBorderStyles('left', 10) +
|
|
@@ -11138,7 +11225,7 @@ var ConnectorLine = /** @__PURE__ @class */ (function () {
|
|
|
11138
11225
|
}
|
|
11139
11226
|
if (this.getParentPosition(data) === 'FSType4') {
|
|
11140
11227
|
div = div + 'left:' + (data.parentLeft + data.parentWidth) + 'px;top:' + (isVirtual ? connectorLine$$1.top :
|
|
11141
|
-
((data.childIndex * data.rowHeight) + this.getTaskbarMidpoint(isMilestone) - (this.lineStroke - 1))) + 'px;' +
|
|
11228
|
+
((data.childIndex * data.rowHeight) + this.getTaskbarMidpoint(isMilestone) - (this.lineStroke - 1) - isMilestoneValue)) + 'px;' +
|
|
11142
11229
|
'width:1px;height:' + heightValue + 'px;position:absolute" data-connectortype="FSType4">';
|
|
11143
11230
|
div = div + rightArrow;
|
|
11144
11231
|
div = div + 'left:' + (data.childLeft - (data.parentLeft + data.parentWidth + 10)) + 'px;' +
|
|
@@ -11164,7 +11251,7 @@ var ConnectorLine = /** @__PURE__ @class */ (function () {
|
|
|
11164
11251
|
}
|
|
11165
11252
|
if (this.getParentPosition(data) === 'SSType4') {
|
|
11166
11253
|
div = div + 'left:' + (data.parentLeft - 10) + 'px;top:' + (isVirtual ? connectorLine$$1.top :
|
|
11167
|
-
((data.childIndex * data.rowHeight) + this.getTaskbarMidpoint(isMilestone) - (this.lineStroke - 1))) + 'px;' +
|
|
11254
|
+
((data.childIndex * data.rowHeight) + this.getTaskbarMidpoint(isMilestone) - (this.lineStroke - 1) - isMilestoneValue)) + 'px;' +
|
|
11168
11255
|
'width:1px;height:' + heightValue + 'px;position:absolute" data-connectortype="SSType4">';
|
|
11169
11256
|
div = div + rightArrow;
|
|
11170
11257
|
div = div + 'left:' + (data.childLeft - data.parentLeft) + 'px;' + duplicateStingTwo;
|
|
@@ -11177,7 +11264,7 @@ var ConnectorLine = /** @__PURE__ @class */ (function () {
|
|
|
11177
11264
|
}
|
|
11178
11265
|
if (this.getParentPosition(data) === 'SSType3') {
|
|
11179
11266
|
div = div + 'left:' + (data.childLeft - 20) + 'px;top:' + (isVirtual ? connectorLine$$1.top :
|
|
11180
|
-
((data.childIndex * data.rowHeight) + this.getTaskbarMidpoint(isMilestone) - (this.lineStroke - 1))) + 'px;' +
|
|
11267
|
+
((data.childIndex * data.rowHeight) + this.getTaskbarMidpoint(isMilestone) - (this.lineStroke - 1) - isMilestoneValue)) + 'px;' +
|
|
11181
11268
|
'width:1px;height:' + heightValue + 'px;position:absolute" data-connectortype="SSType3">';
|
|
11182
11269
|
div = div + rightArrow;
|
|
11183
11270
|
div = div + 'left:10px;' + duplicateStingTwo;
|
|
@@ -11190,7 +11277,7 @@ var ConnectorLine = /** @__PURE__ @class */ (function () {
|
|
|
11190
11277
|
}
|
|
11191
11278
|
if (this.getParentPosition(data) === 'SSType2') {
|
|
11192
11279
|
div = div + 'left:' + setInnerElementLeftSSType2 + 'px;top:' + (isVirtual ? connectorLine$$1.top :
|
|
11193
|
-
((data.parentIndex * data.rowHeight) + this.getTaskbarMidpoint(isMilestoneParent) - (this.lineStroke - 1))) + 'px;' +
|
|
11280
|
+
((data.parentIndex * data.rowHeight) + this.getTaskbarMidpoint(isMilestoneParent) - (this.lineStroke - 1) - isMilestoneValue)) + 'px;' +
|
|
11194
11281
|
'width:1px;height:' + heightValue + 'px;position:absolute" data-connectortype="SSType2">';
|
|
11195
11282
|
div = div + eLine;
|
|
11196
11283
|
div = div + 'width:' + (setInnerChildWidthSSType2 + 1) + 'px;' +
|
|
@@ -11211,7 +11298,7 @@ var ConnectorLine = /** @__PURE__ @class */ (function () {
|
|
|
11211
11298
|
if (this.getParentPosition(data) === 'SSType1') {
|
|
11212
11299
|
div = div + 'left:' + (data.childLeft - 20) + 'px;top:' + (isVirtual ? connectorLine$$1.top :
|
|
11213
11300
|
((data.parentIndex * data.rowHeight) +
|
|
11214
|
-
this.getTaskbarMidpoint(isMilestoneParent) - (this.lineStroke - 1))) + 'px;' +
|
|
11301
|
+
this.getTaskbarMidpoint(isMilestoneParent) - (this.lineStroke - 1) - isMilestoneValue)) + 'px;' +
|
|
11215
11302
|
'width:1px;height:' + heightValue + 'px;position:absolute" data-connectortype="SSType1">';
|
|
11216
11303
|
div = div + eLine;
|
|
11217
11304
|
div = div + 'width:' + (data.parentLeft - data.childLeft + 21) + 'px;' +
|
|
@@ -11228,7 +11315,7 @@ var ConnectorLine = /** @__PURE__ @class */ (function () {
|
|
|
11228
11315
|
}
|
|
11229
11316
|
if (this.getParentPosition(data) === 'FFType1') {
|
|
11230
11317
|
div = div + 'left:' + (data.childLeft + data.childWidth) + 'px;top:' + (isVirtual ? connectorLine$$1.top :
|
|
11231
|
-
((data.parentIndex * data.rowHeight) + this.getTaskbarMidpoint(isMilestoneParent) - (this.lineStroke - 1))) + 'px;' +
|
|
11318
|
+
((data.parentIndex * data.rowHeight) + this.getTaskbarMidpoint(isMilestoneParent) - (this.lineStroke - 1) - isMilestoneValue)) + 'px;' +
|
|
11232
11319
|
'width:1px;height:' + heightValue + 'px;position:absolute" data-connectortype="FFType1">';
|
|
11233
11320
|
div = div + eLine;
|
|
11234
11321
|
div = div + 'left:' + (isMilestoneParent ? (((data.parentLeft + data.parentWidth) -
|
|
@@ -11252,7 +11339,7 @@ var ConnectorLine = /** @__PURE__ @class */ (function () {
|
|
|
11252
11339
|
}
|
|
11253
11340
|
if (this.getParentPosition(data) === 'FFType2') {
|
|
11254
11341
|
div = div + 'left:' + (data.parentLeft + data.parentWidth) + 'px;top:' + (isVirtual ? connectorLine$$1.top :
|
|
11255
|
-
((data.parentIndex * data.rowHeight) + this.getTaskbarMidpoint(isMilestoneParent) - (this.lineStroke - 1))) + 'px;' +
|
|
11342
|
+
((data.parentIndex * data.rowHeight) + this.getTaskbarMidpoint(isMilestoneParent) - (this.lineStroke - 1) - isMilestoneValue)) + 'px;' +
|
|
11256
11343
|
'width:1px;height:' + heightValue + 'px;position:absolute" data-connectortype="FFType2">';
|
|
11257
11344
|
div = div + eLine;
|
|
11258
11345
|
div = div + (isMilestoneParent ? 'left:-1px;' : '') + 'width:' +
|
|
@@ -11278,7 +11365,7 @@ var ConnectorLine = /** @__PURE__ @class */ (function () {
|
|
|
11278
11365
|
}
|
|
11279
11366
|
if (this.getParentPosition(data) === 'FFType3') {
|
|
11280
11367
|
div = div + 'left:' + (data.childLeft + data.childWidth) + 'px;top:' + (isVirtual ? connectorLine$$1.top :
|
|
11281
|
-
((data.childIndex * data.rowHeight) + this.getTaskbarMidpoint(isMilestone) - (this.lineStroke - 1))) + 'px;' +
|
|
11368
|
+
((data.childIndex * data.rowHeight) + this.getTaskbarMidpoint(isMilestone) - (this.lineStroke - 1) - isMilestoneValue)) + 'px;' +
|
|
11282
11369
|
'width:1px;height:' + heightValue + 'px;position:absolute" data-connectortype="FFType3">';
|
|
11283
11370
|
div = div + duplicateStingOne;
|
|
11284
11371
|
div = div + eLine;
|
|
@@ -11301,7 +11388,7 @@ var ConnectorLine = /** @__PURE__ @class */ (function () {
|
|
|
11301
11388
|
}
|
|
11302
11389
|
if (this.getParentPosition(data) === 'FFType4') {
|
|
11303
11390
|
div = div + 'left:' + (data.parentLeft + data.parentWidth) + 'px;top:' + (isVirtual ? connectorLine$$1.top :
|
|
11304
|
-
((data.childIndex * data.rowHeight) + this.getTaskbarMidpoint(isMilestone) - (this.lineStroke - 1))) + 'px;' +
|
|
11391
|
+
((data.childIndex * data.rowHeight) + this.getTaskbarMidpoint(isMilestone) - (this.lineStroke - 1) - isMilestoneValue)) + 'px;' +
|
|
11305
11392
|
'width:1px;height:' + heightValue + 'px;position:absolute" data-connectortype="FFType4">';
|
|
11306
11393
|
div = div + leftArrow;
|
|
11307
11394
|
div = div + ('left:' + ((data.childLeft + data.childWidth) -
|
|
@@ -11330,7 +11417,7 @@ var ConnectorLine = /** @__PURE__ @class */ (function () {
|
|
|
11330
11417
|
}
|
|
11331
11418
|
if (this.getParentPosition(data) === 'SFType4') {
|
|
11332
11419
|
div = div + 'left:' + (data.parentLeft - 10) + 'px;top:' + (isVirtual ? connectorLine$$1.top :
|
|
11333
|
-
((data.childIndex * data.rowHeight) + this.getTaskbarMidpoint(isMilestone) - (this.lineStroke - 1))) + 'px;width:1px;' +
|
|
11420
|
+
((data.childIndex * data.rowHeight) + this.getTaskbarMidpoint(isMilestone) - (this.lineStroke - 1) - isMilestoneValue)) + 'px;width:1px;' +
|
|
11334
11421
|
'height:' + heightValue + 'px;position:absolute" data-connectortype="SFType4">';
|
|
11335
11422
|
div = div + duplicateStingFour + 'top:' + (-5 - this.lineStroke + (this.lineStroke - 1)) + 'px;' +
|
|
11336
11423
|
'border-bottom-width:' + (5 + this.lineStroke) +
|
|
@@ -11358,7 +11445,7 @@ var ConnectorLine = /** @__PURE__ @class */ (function () {
|
|
|
11358
11445
|
}
|
|
11359
11446
|
if (this.getParentPosition(data) === 'SFType3') {
|
|
11360
11447
|
div = div + 'left:' + (data.childLeft + data.childWidth) + 'px;top:' + (isVirtual ? connectorLine$$1.top :
|
|
11361
|
-
((data.childIndex * data.rowHeight) + this.getTaskbarMidpoint(isMilestone) - (this.lineStroke - 1))) + 'px;' +
|
|
11448
|
+
((data.childIndex * data.rowHeight) + this.getTaskbarMidpoint(isMilestone) - (this.lineStroke - 1) - isMilestoneValue)) + 'px;' +
|
|
11362
11449
|
'width:1px;height:' + heightValue + 'px;position:absolute" data-connectortype="SFType3">';
|
|
11363
11450
|
div = div + duplicateStingOne;
|
|
11364
11451
|
div = div + eLine;
|
|
@@ -11376,7 +11463,7 @@ var ConnectorLine = /** @__PURE__ @class */ (function () {
|
|
|
11376
11463
|
}
|
|
11377
11464
|
if (this.getParentPosition(data) === 'SFType1') {
|
|
11378
11465
|
div = div + 'left:' + (data.parentLeft - 10) + 'px;top:' + (isVirtual ? connectorLine$$1.top :
|
|
11379
|
-
((data.parentIndex * data.rowHeight) + this.getTaskbarMidpoint(isMilestone) - (this.lineStroke - 1))) + 'px;' +
|
|
11466
|
+
((data.parentIndex * data.rowHeight) + this.getTaskbarMidpoint(isMilestone) - (this.lineStroke - 1) - isMilestoneValue)) + 'px;' +
|
|
11380
11467
|
'width:1px;height:' + heightValue + 'px;position:absolute" data-connectortype="SFType1">';
|
|
11381
11468
|
div = div + eLine;
|
|
11382
11469
|
div = div + 'width:11px;' + this.getBorderStyles('top', this.lineStroke) + 'position:relative;"></div>';
|
|
@@ -11401,7 +11488,7 @@ var ConnectorLine = /** @__PURE__ @class */ (function () {
|
|
|
11401
11488
|
}
|
|
11402
11489
|
if (this.getParentPosition(data) === 'SFType2') {
|
|
11403
11490
|
div = div + 'left:' + (data.childLeft + data.childWidth) + 'px;top:' + (isVirtual ? connectorLine$$1.top :
|
|
11404
|
-
((data.parentIndex * data.rowHeight) + this.getTaskbarMidpoint(isMilestoneParent) - (this.lineStroke - 1))) + 'px;' +
|
|
11491
|
+
((data.parentIndex * data.rowHeight) + this.getTaskbarMidpoint(isMilestoneParent) - (this.lineStroke - 1) - isMilestoneValue)) + 'px;' +
|
|
11405
11492
|
'width:1px;height:' + heightValue + 'px;position:absolute" data-connectortype="SFType2">';
|
|
11406
11493
|
div = div + eLine;
|
|
11407
11494
|
div = div + 'left:' + (((data.parentLeft) - (data.childLeft + data.childWidth)) - 10) +
|
|
@@ -11645,6 +11732,7 @@ var Splitter$1 = /** @__PURE__ @class */ (function () {
|
|
|
11645
11732
|
_this.splitterObject.paneSettings[1].size = null;
|
|
11646
11733
|
_this.splitterObject.paneSettings[1].size = _this.getSpliterPositionInPercentage(_this.splitterPreviousPositionChart);
|
|
11647
11734
|
}
|
|
11735
|
+
_this.parent.timelineModule.updateTimelineAfterZooming(_this.parent.timelineModule.timelineEndDate, true);
|
|
11648
11736
|
callBackPromise.resolve(splitterResizedArgs);
|
|
11649
11737
|
});
|
|
11650
11738
|
return callBackPromise;
|
|
@@ -11901,6 +11989,7 @@ var Tooltip$1 = /** @__PURE__ @class */ (function () {
|
|
|
11901
11989
|
args.cancel = true;
|
|
11902
11990
|
}
|
|
11903
11991
|
});
|
|
11992
|
+
this.toolTipObj.content = argsData.content;
|
|
11904
11993
|
if (!this.parent.isAdaptive && args.event.type === 'mouseover') {
|
|
11905
11994
|
this.currentTarget = args.target;
|
|
11906
11995
|
EventHandler.add(this.currentTarget, 'mousemove', this.mouseMoveHandler.bind(this));
|
|
@@ -11927,6 +12016,7 @@ var Tooltip$1 = /** @__PURE__ @class */ (function () {
|
|
|
11927
12016
|
* @returns {void} .
|
|
11928
12017
|
*/
|
|
11929
12018
|
Tooltip$$1.prototype.updateTooltipPosition = function (args) {
|
|
12019
|
+
args.element.style.visibility = 'visible';
|
|
11930
12020
|
if (isNullOrUndefined(this.tooltipMouseEvent) || args.target.classList.contains('e-notes-info')) {
|
|
11931
12021
|
return;
|
|
11932
12022
|
}
|
|
@@ -11956,7 +12046,6 @@ var Tooltip$1 = /** @__PURE__ @class */ (function () {
|
|
|
11956
12046
|
tooltipPositionY = tooltipPositionY + 10;
|
|
11957
12047
|
}
|
|
11958
12048
|
args.element.style.top = tooltipPositionY + 'px';
|
|
11959
|
-
args.element.style.visibility = 'visible';
|
|
11960
12049
|
};
|
|
11961
12050
|
/**
|
|
11962
12051
|
* Method to get mouse pointor position
|
|
@@ -11998,9 +12087,16 @@ var Tooltip$1 = /** @__PURE__ @class */ (function () {
|
|
|
11998
12087
|
switch (elementType) {
|
|
11999
12088
|
case 'milestone':
|
|
12000
12089
|
{
|
|
12001
|
-
var
|
|
12090
|
+
var milestoneStartDate = void 0;
|
|
12091
|
+
if (args.target.className.includes('e-baseline-gantt-milestone') && !isNullOrUndefined(data.baselineStartDate)) {
|
|
12092
|
+
milestoneStartDate = data.baselineStartDate;
|
|
12093
|
+
}
|
|
12094
|
+
else if (!isNullOrUndefined(data.startDate)) {
|
|
12095
|
+
milestoneStartDate = data.startDate;
|
|
12096
|
+
}
|
|
12097
|
+
var sDate = !isNullOrUndefined(milestoneStartDate) ? '<tr><td class = "e-gantt-tooltip-label"> Date</td><td>:</td>' +
|
|
12002
12098
|
'<td class = "e-gantt-tooltip-value">' +
|
|
12003
|
-
this.parent.getFormatedDate(
|
|
12099
|
+
this.parent.getFormatedDate(milestoneStartDate, this.parent.getDateFormat()) + '</td></tr>' : '';
|
|
12004
12100
|
content$$1 = '<table class = "e-gantt-tooltiptable"><tbody>' +
|
|
12005
12101
|
taskName + sDate + '</tbody></table>';
|
|
12006
12102
|
break;
|
|
@@ -12473,25 +12569,25 @@ var FocusModule = /** @__PURE__ @class */ (function () {
|
|
|
12473
12569
|
return FocusModule;
|
|
12474
12570
|
}());
|
|
12475
12571
|
|
|
12476
|
-
var __extends = (undefined && undefined.__extends) || (function () {
|
|
12477
|
-
var extendStatics = function (d, b) {
|
|
12478
|
-
extendStatics = Object.setPrototypeOf ||
|
|
12479
|
-
({ __proto__: [] } instanceof Array && function (d, b) { d.__proto__ = b; }) ||
|
|
12480
|
-
function (d, b) { for (var p in b) if (b.hasOwnProperty(p)) d[p] = b[p]; };
|
|
12481
|
-
return extendStatics(d, b);
|
|
12482
|
-
};
|
|
12483
|
-
return function (d, b) {
|
|
12484
|
-
extendStatics(d, b);
|
|
12485
|
-
function __() { this.constructor = d; }
|
|
12486
|
-
d.prototype = b === null ? Object.create(b) : (__.prototype = b.prototype, new __());
|
|
12487
|
-
};
|
|
12488
|
-
})();
|
|
12489
|
-
var __decorate = (undefined && undefined.__decorate) || function (decorators, target, key, desc) {
|
|
12490
|
-
var c = arguments.length, r = c < 3 ? target : desc === null ? desc = Object.getOwnPropertyDescriptor(target, key) : desc, d;
|
|
12491
|
-
if (typeof Reflect === "object" && typeof Reflect.decorate === "function") r = Reflect.decorate(decorators, target, key, desc);
|
|
12492
|
-
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;
|
|
12493
|
-
return c > 3 && r && Object.defineProperty(target, key, r), r;
|
|
12494
|
-
};
|
|
12572
|
+
var __extends = (undefined && undefined.__extends) || (function () {
|
|
12573
|
+
var extendStatics = function (d, b) {
|
|
12574
|
+
extendStatics = Object.setPrototypeOf ||
|
|
12575
|
+
({ __proto__: [] } instanceof Array && function (d, b) { d.__proto__ = b; }) ||
|
|
12576
|
+
function (d, b) { for (var p in b) if (b.hasOwnProperty(p)) d[p] = b[p]; };
|
|
12577
|
+
return extendStatics(d, b);
|
|
12578
|
+
};
|
|
12579
|
+
return function (d, b) {
|
|
12580
|
+
extendStatics(d, b);
|
|
12581
|
+
function __() { this.constructor = d; }
|
|
12582
|
+
d.prototype = b === null ? Object.create(b) : (__.prototype = b.prototype, new __());
|
|
12583
|
+
};
|
|
12584
|
+
})();
|
|
12585
|
+
var __decorate = (undefined && undefined.__decorate) || function (decorators, target, key, desc) {
|
|
12586
|
+
var c = arguments.length, r = c < 3 ? target : desc === null ? desc = Object.getOwnPropertyDescriptor(target, key) : desc, d;
|
|
12587
|
+
if (typeof Reflect === "object" && typeof Reflect.decorate === "function") r = Reflect.decorate(decorators, target, key, desc);
|
|
12588
|
+
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;
|
|
12589
|
+
return c > 3 && r && Object.defineProperty(target, key, r), r;
|
|
12590
|
+
};
|
|
12495
12591
|
/**
|
|
12496
12592
|
*
|
|
12497
12593
|
* Represents the Gantt chart component.
|
|
@@ -12742,25 +12838,7 @@ var Gantt = /** @__PURE__ @class */ (function (_super) {
|
|
|
12742
12838
|
* @returns {void} .
|
|
12743
12839
|
*/
|
|
12744
12840
|
Gantt.prototype.calculateDimensions = function () {
|
|
12745
|
-
var settingsHeight;
|
|
12746
|
-
if (typeof (this.height) !== 'number' && this.height.indexOf('%') !== -1 && (this.element.parentElement &&
|
|
12747
|
-
!this.element.parentElement.style.height || this.element.parentElement.style.height.indexOf('%') !== -1)) {
|
|
12748
|
-
var ganttHeight = void 0;
|
|
12749
|
-
if (this.element.parentElement.style.height.indexOf('%') == -1) {
|
|
12750
|
-
ganttHeight = Number(this.height.split("%")[0]);
|
|
12751
|
-
}
|
|
12752
|
-
else {
|
|
12753
|
-
ganttHeight = Number(this.element.parentElement.style.height.split("%")[0]);
|
|
12754
|
-
}
|
|
12755
|
-
ganttHeight = (ganttHeight * window.innerHeight) / 100;
|
|
12756
|
-
if (this.height === '100%') {
|
|
12757
|
-
ganttHeight = ganttHeight - 16;
|
|
12758
|
-
}
|
|
12759
|
-
settingsHeight = this.validateDimentionValue(ganttHeight);
|
|
12760
|
-
}
|
|
12761
|
-
else {
|
|
12762
|
-
settingsHeight = this.validateDimentionValue(this.height);
|
|
12763
|
-
}
|
|
12841
|
+
var settingsHeight = this.validateDimentionValue(this.height);
|
|
12764
12842
|
var settingsWidth = this.validateDimentionValue(this.width);
|
|
12765
12843
|
if (!isNullOrUndefined(this.width) && typeof (this.width) === 'string' && this.width.indexOf('%') !== -1) {
|
|
12766
12844
|
settingsWidth = this.width;
|
|
@@ -12903,40 +12981,6 @@ var Gantt = /** @__PURE__ @class */ (function (_super) {
|
|
|
12903
12981
|
*/
|
|
12904
12982
|
Gantt.prototype.windowResize = function () {
|
|
12905
12983
|
if (!isNullOrUndefined(this.element)) {
|
|
12906
|
-
var settingsHeight = void 0;
|
|
12907
|
-
if (this.height.indexOf('%') !== -1) {
|
|
12908
|
-
var ganttHeight = Number(this.height.split("%")[0]);
|
|
12909
|
-
if (this.element.parentElement && (this.element.parentElement.style.height)) {
|
|
12910
|
-
var containerHeight = void 0;
|
|
12911
|
-
if (this.element.parentElement.style.height.indexOf('%') == -1) {
|
|
12912
|
-
containerHeight = Number(this.element.parentElement.style.height.split("px")[0]);
|
|
12913
|
-
ganttHeight = (ganttHeight * containerHeight) / 100;
|
|
12914
|
-
}
|
|
12915
|
-
else {
|
|
12916
|
-
containerHeight = Number(this.element.parentElement.style.height.split("%")[0]);
|
|
12917
|
-
ganttHeight = (window.innerHeight * containerHeight) / 100;
|
|
12918
|
-
}
|
|
12919
|
-
}
|
|
12920
|
-
else {
|
|
12921
|
-
ganttHeight = Number(this.height.split("%")[0]);
|
|
12922
|
-
ganttHeight = (ganttHeight * window.innerHeight) / 100;
|
|
12923
|
-
}
|
|
12924
|
-
if (this.height === '100%') {
|
|
12925
|
-
ganttHeight = ganttHeight - 16;
|
|
12926
|
-
}
|
|
12927
|
-
var toolbarHeight = 0;
|
|
12928
|
-
if (!isNullOrUndefined(this.toolbarModule) && !isNullOrUndefined(this.toolbarModule.element)) {
|
|
12929
|
-
toolbarHeight = this.toolbarModule.element.offsetHeight;
|
|
12930
|
-
}
|
|
12931
|
-
var contentHeight = ganttHeight - this.ganttChartModule.chartTimelineContainer.offsetHeight - toolbarHeight;
|
|
12932
|
-
settingsHeight = this.validateDimentionValue(ganttHeight);
|
|
12933
|
-
this.element.style.height = settingsHeight;
|
|
12934
|
-
this.element.querySelectorAll('.e-content')[0]['style'].height = contentHeight + 'px';
|
|
12935
|
-
this.element.querySelectorAll('.e-content')[2]['style'].height = contentHeight + 'px';
|
|
12936
|
-
}
|
|
12937
|
-
else {
|
|
12938
|
-
settingsHeight = this.validateDimentionValue(this.height);
|
|
12939
|
-
}
|
|
12940
12984
|
this.updateContentHeight();
|
|
12941
12985
|
this.ganttChartModule.updateWidthAndHeight(); // Updating chart scroll conatiner height for row mismatch
|
|
12942
12986
|
this.treeGridModule.ensureScrollBar();
|
|
@@ -13282,6 +13326,18 @@ var Gantt = /** @__PURE__ @class */ (function (_super) {
|
|
|
13282
13326
|
* @private
|
|
13283
13327
|
*/
|
|
13284
13328
|
Gantt.prototype.treeDataBound = function (args) {
|
|
13329
|
+
this.element.getElementsByClassName('e-chart-root-container')[0]['style'].height = '100%';
|
|
13330
|
+
var gridHeight = this.element.getElementsByClassName('e-gridcontent')[0]['style'].height;
|
|
13331
|
+
var timelineContainer = this.element.getElementsByClassName('e-timeline-header-container')[0]['offsetHeight'];
|
|
13332
|
+
gridHeight = 'calc(100% - ' + timelineContainer + 'px)';
|
|
13333
|
+
// eslint-disable-next-line
|
|
13334
|
+
this.element.getElementsByClassName('e-chart-scroll-container e-content')[0]['style'].height = 'calc(100% - ' + timelineContainer + 'px)';
|
|
13335
|
+
if (!isNullOrUndefined(this.toolbarModule) && !isNullOrUndefined(this.toolbarModule.element)) {
|
|
13336
|
+
this.splitterElement.style.height = 'calc(100% - ' + this.toolbarModule.element.offsetHeight + 'px)';
|
|
13337
|
+
}
|
|
13338
|
+
else {
|
|
13339
|
+
this.splitterElement.style.height = '100%';
|
|
13340
|
+
}
|
|
13285
13341
|
if (this.isLoad) {
|
|
13286
13342
|
this.updateCurrentViewData();
|
|
13287
13343
|
if (!this.enableVirtualization) {
|
|
@@ -13301,8 +13357,7 @@ var Gantt = /** @__PURE__ @class */ (function (_super) {
|
|
|
13301
13357
|
removeClass(this.treeGrid.element.querySelectorAll('.e-headercell'), timelineSingleHeaderOuterDiv);
|
|
13302
13358
|
removeClass(this.treeGrid.element.querySelectorAll('.e-columnheader'), timelineSingleHeaderOuterDiv);
|
|
13303
13359
|
}
|
|
13304
|
-
this.treeGrid.height =
|
|
13305
|
-
this.treeGrid.grid.getHeaderContent().offsetHeight;
|
|
13360
|
+
this.treeGrid.height = '100%';
|
|
13306
13361
|
this.notify('tree-grid-created', {});
|
|
13307
13362
|
this.createGanttPopUpElement();
|
|
13308
13363
|
this.hideSpinner();
|
|
@@ -13813,7 +13868,7 @@ var Gantt = /** @__PURE__ @class */ (function (_super) {
|
|
|
13813
13868
|
*/
|
|
13814
13869
|
Gantt.prototype.updateGridLineContainerHeight = function () {
|
|
13815
13870
|
if (this.chartVerticalLineContainer) {
|
|
13816
|
-
this.chartVerticalLineContainer.style.height = formatUnit(this.
|
|
13871
|
+
this.chartVerticalLineContainer.style.height = formatUnit(this.contentHeight);
|
|
13817
13872
|
}
|
|
13818
13873
|
};
|
|
13819
13874
|
/**
|
|
@@ -15724,7 +15779,8 @@ var CellEdit = /** @__PURE__ @class */ (function () {
|
|
|
15724
15779
|
args.cancel = true;
|
|
15725
15780
|
return;
|
|
15726
15781
|
}
|
|
15727
|
-
if (data.hasChildRecords && (field === taskSettings.endDate
|
|
15782
|
+
if (data.hasChildRecords && ((field === taskSettings.endDate && ((!isNullOrUndefined(data['isManual']) &&
|
|
15783
|
+
data['isManual'] == false) || this.parent.taskMode == 'Auto')) || field === taskSettings.duration
|
|
15728
15784
|
|| field === taskSettings.dependency || field === taskSettings.progress
|
|
15729
15785
|
|| field === taskSettings.work || field === 'taskType')) {
|
|
15730
15786
|
args.cancel = true;
|
|
@@ -16452,30 +16508,30 @@ var EditTooltip = /** @__PURE__ @class */ (function () {
|
|
|
16452
16508
|
return EditTooltip;
|
|
16453
16509
|
}());
|
|
16454
16510
|
|
|
16455
|
-
var __extends$19 = (undefined && undefined.__extends) || (function () {
|
|
16456
|
-
var extendStatics = function (d, b) {
|
|
16457
|
-
extendStatics = Object.setPrototypeOf ||
|
|
16458
|
-
({ __proto__: [] } instanceof Array && function (d, b) { d.__proto__ = b; }) ||
|
|
16459
|
-
function (d, b) { for (var p in b) if (b.hasOwnProperty(p)) d[p] = b[p]; };
|
|
16460
|
-
return extendStatics(d, b);
|
|
16461
|
-
};
|
|
16462
|
-
return function (d, b) {
|
|
16463
|
-
extendStatics(d, b);
|
|
16464
|
-
function __() { this.constructor = d; }
|
|
16465
|
-
d.prototype = b === null ? Object.create(b) : (__.prototype = b.prototype, new __());
|
|
16466
|
-
};
|
|
16467
|
-
})();
|
|
16468
|
-
var __assign$1 = (undefined && undefined.__assign) || function () {
|
|
16469
|
-
__assign$1 = Object.assign || function(t) {
|
|
16470
|
-
for (var s, i = 1, n = arguments.length; i < n; i++) {
|
|
16471
|
-
s = arguments[i];
|
|
16472
|
-
for (var p in s) if (Object.prototype.hasOwnProperty.call(s, p))
|
|
16473
|
-
t[p] = s[p];
|
|
16474
|
-
}
|
|
16475
|
-
return t;
|
|
16476
|
-
};
|
|
16477
|
-
return __assign$1.apply(this, arguments);
|
|
16478
|
-
};
|
|
16511
|
+
var __extends$19 = (undefined && undefined.__extends) || (function () {
|
|
16512
|
+
var extendStatics = function (d, b) {
|
|
16513
|
+
extendStatics = Object.setPrototypeOf ||
|
|
16514
|
+
({ __proto__: [] } instanceof Array && function (d, b) { d.__proto__ = b; }) ||
|
|
16515
|
+
function (d, b) { for (var p in b) if (b.hasOwnProperty(p)) d[p] = b[p]; };
|
|
16516
|
+
return extendStatics(d, b);
|
|
16517
|
+
};
|
|
16518
|
+
return function (d, b) {
|
|
16519
|
+
extendStatics(d, b);
|
|
16520
|
+
function __() { this.constructor = d; }
|
|
16521
|
+
d.prototype = b === null ? Object.create(b) : (__.prototype = b.prototype, new __());
|
|
16522
|
+
};
|
|
16523
|
+
})();
|
|
16524
|
+
var __assign$1 = (undefined && undefined.__assign) || function () {
|
|
16525
|
+
__assign$1 = Object.assign || function(t) {
|
|
16526
|
+
for (var s, i = 1, n = arguments.length; i < n; i++) {
|
|
16527
|
+
s = arguments[i];
|
|
16528
|
+
for (var p in s) if (Object.prototype.hasOwnProperty.call(s, p))
|
|
16529
|
+
t[p] = s[p];
|
|
16530
|
+
}
|
|
16531
|
+
return t;
|
|
16532
|
+
};
|
|
16533
|
+
return __assign$1.apply(this, arguments);
|
|
16534
|
+
};
|
|
16479
16535
|
/**
|
|
16480
16536
|
* File for handling taskbar editing operation in Gantt.
|
|
16481
16537
|
*/
|
|
@@ -19866,7 +19922,8 @@ var DialogEdit = /** @__PURE__ @class */ (function () {
|
|
|
19866
19922
|
disabled = true;
|
|
19867
19923
|
}
|
|
19868
19924
|
if (this.editedRecord.hasChildRecords) {
|
|
19869
|
-
if (column.field === this.parent.taskFields.endDate
|
|
19925
|
+
if ((column.field === this.parent.taskFields.endDate && ((!isNullOrUndefined(this.editedRecord['isManual']) &&
|
|
19926
|
+
this.editedRecord['isManual'] == false) || this.parent.taskMode == 'Auto')) || column.field === this.parent.taskFields.duration ||
|
|
19870
19927
|
column.field === this.parent.taskFields.progress || column.field === this.parent.taskFields.work ||
|
|
19871
19928
|
column.field === 'taskType') {
|
|
19872
19929
|
disabled = true;
|
|
@@ -23701,7 +23758,15 @@ var Edit$2 = /** @__PURE__ @class */ (function () {
|
|
|
23701
23758
|
}
|
|
23702
23759
|
/* data Source update */
|
|
23703
23760
|
if (!isNullOrUndefined(parentItem)) {
|
|
23704
|
-
|
|
23761
|
+
if (rowPosition == 'Above') {
|
|
23762
|
+
childIndex = parentItem.childRecords.indexOf(this.addRowSelectedItem);
|
|
23763
|
+
}
|
|
23764
|
+
else if (rowPosition == 'Below') {
|
|
23765
|
+
childIndex = parentItem.childRecords.indexOf(this.addRowSelectedItem) + 1;
|
|
23766
|
+
}
|
|
23767
|
+
else {
|
|
23768
|
+
childIndex = parentItem.childRecords.length;
|
|
23769
|
+
}
|
|
23705
23770
|
/*Child collection update*/
|
|
23706
23771
|
parentItem.childRecords.splice(childIndex, 0, record);
|
|
23707
23772
|
if ((this.parent.dataSource instanceof DataManager &&
|
|
@@ -23709,12 +23774,9 @@ var Edit$2 = /** @__PURE__ @class */ (function () {
|
|
|
23709
23774
|
!isNullOrUndefined(this.parent.dataSource)) {
|
|
23710
23775
|
var child = this.parent.taskFields.child;
|
|
23711
23776
|
if (parentItem.taskData[child] && parentItem.taskData[child].length > 0) {
|
|
23712
|
-
if (rowPosition === 'Above') {
|
|
23777
|
+
if (rowPosition === 'Above' || rowPosition === 'Below') {
|
|
23713
23778
|
parentItem.taskData[child].splice(childIndex, 0, record.taskData);
|
|
23714
23779
|
}
|
|
23715
|
-
else if (rowPosition === 'Below') {
|
|
23716
|
-
parentItem.taskData[child].splice(childIndex + 1, 0, record.taskData);
|
|
23717
|
-
}
|
|
23718
23780
|
else {
|
|
23719
23781
|
parentItem.taskData[child].push(record.taskData);
|
|
23720
23782
|
}
|
|
@@ -23780,11 +23842,27 @@ var Edit$2 = /** @__PURE__ @class */ (function () {
|
|
|
23780
23842
|
}
|
|
23781
23843
|
};
|
|
23782
23844
|
Edit$$1.prototype.refreshRecordInImmutableMode = function () {
|
|
23845
|
+
var _loop_1 = function (i) {
|
|
23846
|
+
var originalData = this_1.parent.modifiedRecords[i];
|
|
23847
|
+
var treeIndex = this_1.parent.allowRowDragAndDrop ? 1 : 0;
|
|
23848
|
+
var uniqueTaskID = this_1.parent.taskFields.id;
|
|
23849
|
+
originalIndex = this_1.parent.currentViewData.findIndex(function (data) {
|
|
23850
|
+
return (data[uniqueTaskID] == originalData[uniqueTaskID]);
|
|
23851
|
+
});
|
|
23852
|
+
if (this_1.parent.treeGrid.getRows()[originalIndex]) {
|
|
23853
|
+
this_1.parent.treeGrid.renderModule.cellRender({
|
|
23854
|
+
data: originalData, cell: this_1.parent.treeGrid.getRows()[originalIndex].cells[this_1.parent.treeColumnIndex + treeIndex],
|
|
23855
|
+
column: this_1.parent.treeGrid.grid.getColumns()[this_1.parent.treeColumnIndex],
|
|
23856
|
+
requestType: 'rowDragAndDrop'
|
|
23857
|
+
});
|
|
23858
|
+
this_1.parent.treeGrid.renderModule.RowModifier({
|
|
23859
|
+
data: originalData, row: this_1.parent.treeGrid.getRows()[originalIndex], rowHeight: this_1.parent.rowHeight
|
|
23860
|
+
});
|
|
23861
|
+
}
|
|
23862
|
+
};
|
|
23863
|
+
var this_1 = this, originalIndex;
|
|
23783
23864
|
for (var i = 0; i < this.parent.modifiedRecords.length; i++) {
|
|
23784
|
-
|
|
23785
|
-
var dataId = this.parent.viewType === 'ProjectView' ?
|
|
23786
|
-
originalData.ganttProperties.taskId : originalData.ganttProperties.rowUniqueID;
|
|
23787
|
-
this.parent.treeGrid.grid.setRowData(dataId, originalData);
|
|
23865
|
+
_loop_1(i);
|
|
23788
23866
|
}
|
|
23789
23867
|
};
|
|
23790
23868
|
/**
|
|
@@ -24162,6 +24240,9 @@ var Edit$2 = /** @__PURE__ @class */ (function () {
|
|
|
24162
24240
|
}
|
|
24163
24241
|
this.addSuccess(args);
|
|
24164
24242
|
args = this.constructTaskAddedEventArgs(cAddedRecord, args.modifiedRecords, 'add');
|
|
24243
|
+
if (this.dialogModule.isAddNewResource && !this.parent.isEdit && this.parent.taskFields.work) {
|
|
24244
|
+
this.parent.dataOperation.updateWorkWithDuration(cAddedRecord[0]);
|
|
24245
|
+
}
|
|
24165
24246
|
this.parent.trigger('actionComplete', args);
|
|
24166
24247
|
if (this.dialogModule.dialog && !this.dialogModule.dialogObj.isDestroyed) {
|
|
24167
24248
|
this.dialogModule.dialogObj.hide();
|
|
@@ -24538,15 +24619,18 @@ var Edit$2 = /** @__PURE__ @class */ (function () {
|
|
|
24538
24619
|
if (this.dropPosition === 'topSegment' || this.dropPosition === 'bottomSegment') {
|
|
24539
24620
|
draggedRec[this.parent.taskFields.parentID] = droppedRec[this.parent.taskFields.parentID];
|
|
24540
24621
|
draggedRec.taskData[this.parent.taskFields.parentID] = droppedRec[this.parent.taskFields.parentID];
|
|
24622
|
+
draggedRec.ganttProperties['parentId'] = droppedRec[this.parent.taskFields.parentID];
|
|
24541
24623
|
}
|
|
24542
24624
|
else {
|
|
24543
24625
|
draggedRec[this.parent.taskFields.parentID] = droppedRec[this.parent.taskFields.id];
|
|
24544
24626
|
draggedRec.taskData[this.parent.taskFields.parentID] = droppedRec[this.parent.taskFields.id];
|
|
24627
|
+
draggedRec.ganttProperties['parentId'] = droppedRec[this.parent.taskFields.id];
|
|
24545
24628
|
}
|
|
24546
24629
|
}
|
|
24547
24630
|
else {
|
|
24548
24631
|
draggedRec[this.parent.taskFields.parentID] = null;
|
|
24549
24632
|
draggedRec.taskData[this.parent.taskFields.parentID] = null;
|
|
24633
|
+
draggedRec.ganttProperties['parentId'] = null;
|
|
24550
24634
|
}
|
|
24551
24635
|
}
|
|
24552
24636
|
};
|
|
@@ -25408,8 +25492,9 @@ var Selection$1 = /** @__PURE__ @class */ (function () {
|
|
|
25408
25492
|
}
|
|
25409
25493
|
this.addRemoveClass(index);
|
|
25410
25494
|
this.selectedRowIndexes = extend([], this.getSelectedRowIndexes(), [], true);
|
|
25411
|
-
|
|
25412
|
-
|
|
25495
|
+
this.parent.setProperties({ selectedRowIndex: -1 }, true);
|
|
25496
|
+
if (this.selectedRowIndexes.length === 1) {
|
|
25497
|
+
this.parent.setProperties({ selectedRowIndex: this.selectedRowIndexes[0] }, true);
|
|
25413
25498
|
}
|
|
25414
25499
|
if (!isNullOrUndefined(this.parent.toolbarModule)) {
|
|
25415
25500
|
this.parent.toolbarModule.refreshToolbarItems();
|
|
@@ -26291,6 +26376,7 @@ var NonWorkingDay = /** @__PURE__ @class */ (function () {
|
|
|
26291
26376
|
this.nonworkingContainer = createElement('div', {
|
|
26292
26377
|
className: nonworkingContainer
|
|
26293
26378
|
});
|
|
26379
|
+
this.nonworkingContainer.setAttribute("role", "NonWorkingDays");
|
|
26294
26380
|
this.parent.ganttChartModule.chartBodyContent.appendChild(this.nonworkingContainer);
|
|
26295
26381
|
}
|
|
26296
26382
|
};
|
|
@@ -26328,8 +26414,11 @@ var NonWorkingDay = /** @__PURE__ @class */ (function () {
|
|
|
26328
26414
|
var toDate;
|
|
26329
26415
|
var container = createElement('div');
|
|
26330
26416
|
var height = this.parent.contentHeight;
|
|
26331
|
-
var
|
|
26332
|
-
|
|
26417
|
+
var toolbarHeight = 0;
|
|
26418
|
+
if (!isNullOrUndefined(this.parent.toolbarModule)) {
|
|
26419
|
+
toolbarHeight = this.parent.toolbarModule.element.offsetHeight;
|
|
26420
|
+
}
|
|
26421
|
+
var viewportHeight = this.parent.ganttHeight - toolbarHeight - this.parent.ganttChartModule.chartTimelineContainer.offsetHeight;
|
|
26333
26422
|
for (var i = 0; i < this.parent.holidays.length; i++) {
|
|
26334
26423
|
if (this.parent.holidays[i].from && this.parent.holidays[i].to) {
|
|
26335
26424
|
fromDate = this.parent.dateValidationModule.getDateFromFormat(this.parent.holidays[i].from);
|
|
@@ -26422,9 +26511,12 @@ var NonWorkingDay = /** @__PURE__ @class */ (function () {
|
|
|
26422
26511
|
return container;
|
|
26423
26512
|
};
|
|
26424
26513
|
NonWorkingDay.prototype.updateHolidayLabelHeight = function () {
|
|
26425
|
-
var height = this.parent.
|
|
26426
|
-
var
|
|
26427
|
-
|
|
26514
|
+
var height = this.parent.getContentHeight();
|
|
26515
|
+
var toolbarHeight = 0;
|
|
26516
|
+
if (!isNullOrUndefined(this.parent.toolbarModule) && !isNullOrUndefined(this.parent.toolbarModule.element)) {
|
|
26517
|
+
toolbarHeight = this.parent.toolbarModule.element.offsetHeight;
|
|
26518
|
+
}
|
|
26519
|
+
var viewportHeight = this.parent.ganttHeight - toolbarHeight - this.parent.ganttChartModule.chartTimelineContainer.offsetHeight;
|
|
26428
26520
|
var top = (viewportHeight < height) ? viewportHeight / 2 : height / 2;
|
|
26429
26521
|
var labels = this.holidayContainer.querySelectorAll('.' + holidayLabel);
|
|
26430
26522
|
for (var i = 0; i < labels.length; i++) {
|
|
@@ -26481,6 +26573,7 @@ var EventMarker$1 = /** @__PURE__ @class */ (function () {
|
|
|
26481
26573
|
this.eventMarkersContainer = createElement('div', {
|
|
26482
26574
|
className: eventMarkersContainer
|
|
26483
26575
|
});
|
|
26576
|
+
this.eventMarkersContainer.setAttribute("role", "EventMarker");
|
|
26484
26577
|
this.parent.ganttChartModule.chartBodyContent.appendChild(this.eventMarkersContainer);
|
|
26485
26578
|
}
|
|
26486
26579
|
this.eventMarkersContainer.innerHTML = '';
|
|
@@ -27664,33 +27757,55 @@ var RowDD$1 = /** @__PURE__ @class */ (function () {
|
|
|
27664
27757
|
var data_1 = gObj.flatData;
|
|
27665
27758
|
var startIndex = void 0;
|
|
27666
27759
|
var endIndex = void 0;
|
|
27760
|
+
var ganttData_1 = this_1.parent.dataSource;
|
|
27761
|
+
var uniqueTaskID_1 = this_1.parent.taskFields.id;
|
|
27667
27762
|
if (draggedRecord.index < droppedRecord.index) {
|
|
27668
27763
|
startIndex = draggedRecord.index;
|
|
27669
|
-
|
|
27764
|
+
var _loop_2 = function (i_1) {
|
|
27765
|
+
var currentData = this_1.parent.currentViewData.filter(function (e) {
|
|
27766
|
+
return e[uniqueTaskID_1] === ganttData_1[i_1][uniqueTaskID_1];
|
|
27767
|
+
})[0];
|
|
27768
|
+
if (currentData.index > droppedRecord.index) {
|
|
27769
|
+
endIndex = currentData.index;
|
|
27770
|
+
return "break";
|
|
27771
|
+
}
|
|
27772
|
+
};
|
|
27773
|
+
for (var i_1 = 0; i_1 < ganttData_1.length; i_1++) {
|
|
27774
|
+
var state_2 = _loop_2(i_1);
|
|
27775
|
+
if (state_2 === "break")
|
|
27776
|
+
break;
|
|
27777
|
+
}
|
|
27670
27778
|
}
|
|
27671
27779
|
else {
|
|
27672
27780
|
startIndex = droppedRecord.index;
|
|
27673
|
-
var
|
|
27674
|
-
|
|
27675
|
-
|
|
27676
|
-
|
|
27677
|
-
|
|
27781
|
+
var _loop_3 = function (i_2) {
|
|
27782
|
+
var currentData = this_1.parent.currentViewData.filter(function (e) {
|
|
27783
|
+
return e[uniqueTaskID_1] === ganttData_1[i_2][uniqueTaskID_1];
|
|
27784
|
+
})[0];
|
|
27785
|
+
if (currentData.index > draggedRecord.index) {
|
|
27786
|
+
endIndex = currentData.index;
|
|
27787
|
+
return "break";
|
|
27788
|
+
}
|
|
27789
|
+
};
|
|
27790
|
+
for (var i_2 = 0; i_2 < ganttData_1.length; i_2++) {
|
|
27791
|
+
var state_3 = _loop_3(i_2);
|
|
27792
|
+
if (state_3 === "break")
|
|
27793
|
+
break;
|
|
27678
27794
|
}
|
|
27679
|
-
endIndex = rootChildRecord.index;
|
|
27680
27795
|
}
|
|
27681
|
-
var
|
|
27682
|
-
if (!isNullOrUndefined(data_1[
|
|
27683
|
-
data_1[
|
|
27684
|
-
if (!isNullOrUndefined(data_1[
|
|
27796
|
+
var _loop_4 = function (i_3) {
|
|
27797
|
+
if (!isNullOrUndefined(data_1[i_3])) {
|
|
27798
|
+
data_1[i_3].index = i_3;
|
|
27799
|
+
if (!isNullOrUndefined(data_1[i_3].parentItem)) {
|
|
27685
27800
|
var updatedParent = data_1.filter(function (e) {
|
|
27686
|
-
return e.uniqueID === data_1[
|
|
27801
|
+
return e.uniqueID === data_1[i_3].parentUniqueID;
|
|
27687
27802
|
})[0];
|
|
27688
|
-
data_1[
|
|
27803
|
+
data_1[i_3].parentItem.index = updatedParent.index;
|
|
27689
27804
|
}
|
|
27690
27805
|
}
|
|
27691
27806
|
};
|
|
27692
|
-
for (var
|
|
27693
|
-
|
|
27807
|
+
for (var i_3 = startIndex; i_3 <= endIndex; i_3++) {
|
|
27808
|
+
_loop_4(i_3);
|
|
27694
27809
|
}
|
|
27695
27810
|
}
|
|
27696
27811
|
gObj.rowDragAndDropModule.refreshDataSource();
|
|
@@ -28828,19 +28943,19 @@ var PdfTreeGridStyle = /** @__PURE__ @class */ (function () {
|
|
|
28828
28943
|
return PdfTreeGridStyle;
|
|
28829
28944
|
}());
|
|
28830
28945
|
|
|
28831
|
-
var __extends$20 = (undefined && undefined.__extends) || (function () {
|
|
28832
|
-
var extendStatics = function (d, b) {
|
|
28833
|
-
extendStatics = Object.setPrototypeOf ||
|
|
28834
|
-
({ __proto__: [] } instanceof Array && function (d, b) { d.__proto__ = b; }) ||
|
|
28835
|
-
function (d, b) { for (var p in b) if (b.hasOwnProperty(p)) d[p] = b[p]; };
|
|
28836
|
-
return extendStatics(d, b);
|
|
28837
|
-
};
|
|
28838
|
-
return function (d, b) {
|
|
28839
|
-
extendStatics(d, b);
|
|
28840
|
-
function __() { this.constructor = d; }
|
|
28841
|
-
d.prototype = b === null ? Object.create(b) : (__.prototype = b.prototype, new __());
|
|
28842
|
-
};
|
|
28843
|
-
})();
|
|
28946
|
+
var __extends$20 = (undefined && undefined.__extends) || (function () {
|
|
28947
|
+
var extendStatics = function (d, b) {
|
|
28948
|
+
extendStatics = Object.setPrototypeOf ||
|
|
28949
|
+
({ __proto__: [] } instanceof Array && function (d, b) { d.__proto__ = b; }) ||
|
|
28950
|
+
function (d, b) { for (var p in b) if (b.hasOwnProperty(p)) d[p] = b[p]; };
|
|
28951
|
+
return extendStatics(d, b);
|
|
28952
|
+
};
|
|
28953
|
+
return function (d, b) {
|
|
28954
|
+
extendStatics(d, b);
|
|
28955
|
+
function __() { this.constructor = d; }
|
|
28956
|
+
d.prototype = b === null ? Object.create(b) : (__.prototype = b.prototype, new __());
|
|
28957
|
+
};
|
|
28958
|
+
})();
|
|
28844
28959
|
/**
|
|
28845
28960
|
*
|
|
28846
28961
|
*/
|
|
@@ -29255,19 +29370,19 @@ var PdfTreeGridLayoutFormat = /** @__PURE__ @class */ (function (_super) {
|
|
|
29255
29370
|
return PdfTreeGridLayoutFormat;
|
|
29256
29371
|
}(PdfLayoutFormat));
|
|
29257
29372
|
|
|
29258
|
-
var __extends$21 = (undefined && undefined.__extends) || (function () {
|
|
29259
|
-
var extendStatics = function (d, b) {
|
|
29260
|
-
extendStatics = Object.setPrototypeOf ||
|
|
29261
|
-
({ __proto__: [] } instanceof Array && function (d, b) { d.__proto__ = b; }) ||
|
|
29262
|
-
function (d, b) { for (var p in b) if (b.hasOwnProperty(p)) d[p] = b[p]; };
|
|
29263
|
-
return extendStatics(d, b);
|
|
29264
|
-
};
|
|
29265
|
-
return function (d, b) {
|
|
29266
|
-
extendStatics(d, b);
|
|
29267
|
-
function __() { this.constructor = d; }
|
|
29268
|
-
d.prototype = b === null ? Object.create(b) : (__.prototype = b.prototype, new __());
|
|
29269
|
-
};
|
|
29270
|
-
})();
|
|
29373
|
+
var __extends$21 = (undefined && undefined.__extends) || (function () {
|
|
29374
|
+
var extendStatics = function (d, b) {
|
|
29375
|
+
extendStatics = Object.setPrototypeOf ||
|
|
29376
|
+
({ __proto__: [] } instanceof Array && function (d, b) { d.__proto__ = b; }) ||
|
|
29377
|
+
function (d, b) { for (var p in b) if (b.hasOwnProperty(p)) d[p] = b[p]; };
|
|
29378
|
+
return extendStatics(d, b);
|
|
29379
|
+
};
|
|
29380
|
+
return function (d, b) {
|
|
29381
|
+
extendStatics(d, b);
|
|
29382
|
+
function __() { this.constructor = d; }
|
|
29383
|
+
d.prototype = b === null ? Object.create(b) : (__.prototype = b.prototype, new __());
|
|
29384
|
+
};
|
|
29385
|
+
})();
|
|
29271
29386
|
/**
|
|
29272
29387
|
* PdfTreeGrid Class for EJ2-PDF
|
|
29273
29388
|
*/
|
|
@@ -31057,17 +31172,17 @@ var ExportValueFormatter = /** @__PURE__ @class */ (function () {
|
|
|
31057
31172
|
return ExportValueFormatter;
|
|
31058
31173
|
}());
|
|
31059
31174
|
|
|
31060
|
-
var __assign$3 = (undefined && undefined.__assign) || function () {
|
|
31061
|
-
__assign$3 = Object.assign || function(t) {
|
|
31062
|
-
for (var s, i = 1, n = arguments.length; i < n; i++) {
|
|
31063
|
-
s = arguments[i];
|
|
31064
|
-
for (var p in s) if (Object.prototype.hasOwnProperty.call(s, p))
|
|
31065
|
-
t[p] = s[p];
|
|
31066
|
-
}
|
|
31067
|
-
return t;
|
|
31068
|
-
};
|
|
31069
|
-
return __assign$3.apply(this, arguments);
|
|
31070
|
-
};
|
|
31175
|
+
var __assign$3 = (undefined && undefined.__assign) || function () {
|
|
31176
|
+
__assign$3 = Object.assign || function(t) {
|
|
31177
|
+
for (var s, i = 1, n = arguments.length; i < n; i++) {
|
|
31178
|
+
s = arguments[i];
|
|
31179
|
+
for (var p in s) if (Object.prototype.hasOwnProperty.call(s, p))
|
|
31180
|
+
t[p] = s[p];
|
|
31181
|
+
}
|
|
31182
|
+
return t;
|
|
31183
|
+
};
|
|
31184
|
+
return __assign$3.apply(this, arguments);
|
|
31185
|
+
};
|
|
31071
31186
|
/**
|
|
31072
31187
|
* @hidden
|
|
31073
31188
|
*/
|
|
@@ -31583,17 +31698,17 @@ var PdfTimeline = /** @__PURE__ @class */ (function () {
|
|
|
31583
31698
|
return PdfTimeline;
|
|
31584
31699
|
}());
|
|
31585
31700
|
|
|
31586
|
-
var __assign$4 = (undefined && undefined.__assign) || function () {
|
|
31587
|
-
__assign$4 = Object.assign || function(t) {
|
|
31588
|
-
for (var s, i = 1, n = arguments.length; i < n; i++) {
|
|
31589
|
-
s = arguments[i];
|
|
31590
|
-
for (var p in s) if (Object.prototype.hasOwnProperty.call(s, p))
|
|
31591
|
-
t[p] = s[p];
|
|
31592
|
-
}
|
|
31593
|
-
return t;
|
|
31594
|
-
};
|
|
31595
|
-
return __assign$4.apply(this, arguments);
|
|
31596
|
-
};
|
|
31701
|
+
var __assign$4 = (undefined && undefined.__assign) || function () {
|
|
31702
|
+
__assign$4 = Object.assign || function(t) {
|
|
31703
|
+
for (var s, i = 1, n = arguments.length; i < n; i++) {
|
|
31704
|
+
s = arguments[i];
|
|
31705
|
+
for (var p in s) if (Object.prototype.hasOwnProperty.call(s, p))
|
|
31706
|
+
t[p] = s[p];
|
|
31707
|
+
}
|
|
31708
|
+
return t;
|
|
31709
|
+
};
|
|
31710
|
+
return __assign$4.apply(this, arguments);
|
|
31711
|
+
};
|
|
31597
31712
|
/**
|
|
31598
31713
|
* @hidden
|
|
31599
31714
|
*/
|
|
@@ -32018,30 +32133,30 @@ var PdfGanttPredecessor = /** @__PURE__ @class */ (function () {
|
|
|
32018
32133
|
return PdfGanttPredecessor;
|
|
32019
32134
|
}());
|
|
32020
32135
|
|
|
32021
|
-
var __extends$22 = (undefined && undefined.__extends) || (function () {
|
|
32022
|
-
var extendStatics = function (d, b) {
|
|
32023
|
-
extendStatics = Object.setPrototypeOf ||
|
|
32024
|
-
({ __proto__: [] } instanceof Array && function (d, b) { d.__proto__ = b; }) ||
|
|
32025
|
-
function (d, b) { for (var p in b) if (b.hasOwnProperty(p)) d[p] = b[p]; };
|
|
32026
|
-
return extendStatics(d, b);
|
|
32027
|
-
};
|
|
32028
|
-
return function (d, b) {
|
|
32029
|
-
extendStatics(d, b);
|
|
32030
|
-
function __() { this.constructor = d; }
|
|
32031
|
-
d.prototype = b === null ? Object.create(b) : (__.prototype = b.prototype, new __());
|
|
32032
|
-
};
|
|
32033
|
-
})();
|
|
32034
|
-
var __assign$2 = (undefined && undefined.__assign) || function () {
|
|
32035
|
-
__assign$2 = Object.assign || function(t) {
|
|
32036
|
-
for (var s, i = 1, n = arguments.length; i < n; i++) {
|
|
32037
|
-
s = arguments[i];
|
|
32038
|
-
for (var p in s) if (Object.prototype.hasOwnProperty.call(s, p))
|
|
32039
|
-
t[p] = s[p];
|
|
32040
|
-
}
|
|
32041
|
-
return t;
|
|
32042
|
-
};
|
|
32043
|
-
return __assign$2.apply(this, arguments);
|
|
32044
|
-
};
|
|
32136
|
+
var __extends$22 = (undefined && undefined.__extends) || (function () {
|
|
32137
|
+
var extendStatics = function (d, b) {
|
|
32138
|
+
extendStatics = Object.setPrototypeOf ||
|
|
32139
|
+
({ __proto__: [] } instanceof Array && function (d, b) { d.__proto__ = b; }) ||
|
|
32140
|
+
function (d, b) { for (var p in b) if (b.hasOwnProperty(p)) d[p] = b[p]; };
|
|
32141
|
+
return extendStatics(d, b);
|
|
32142
|
+
};
|
|
32143
|
+
return function (d, b) {
|
|
32144
|
+
extendStatics(d, b);
|
|
32145
|
+
function __() { this.constructor = d; }
|
|
32146
|
+
d.prototype = b === null ? Object.create(b) : (__.prototype = b.prototype, new __());
|
|
32147
|
+
};
|
|
32148
|
+
})();
|
|
32149
|
+
var __assign$2 = (undefined && undefined.__assign) || function () {
|
|
32150
|
+
__assign$2 = Object.assign || function(t) {
|
|
32151
|
+
for (var s, i = 1, n = arguments.length; i < n; i++) {
|
|
32152
|
+
s = arguments[i];
|
|
32153
|
+
for (var p in s) if (Object.prototype.hasOwnProperty.call(s, p))
|
|
32154
|
+
t[p] = s[p];
|
|
32155
|
+
}
|
|
32156
|
+
return t;
|
|
32157
|
+
};
|
|
32158
|
+
return __assign$2.apply(this, arguments);
|
|
32159
|
+
};
|
|
32045
32160
|
/**
|
|
32046
32161
|
*
|
|
32047
32162
|
*/
|