@hpcc-js/timeline 2.52.0 → 2.53.0
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/dist/index.es6.js +20 -2
- package/dist/index.es6.js.map +1 -1
- package/dist/index.js +20 -2
- package/dist/index.js.map +1 -1
- package/dist/index.min.js +1 -1
- package/dist/index.min.js.map +1 -1
- package/package.json +4 -4
- package/src/ReactAxisGantt.ts +26 -18
- package/src/ReactAxisGanttSeries.ts +8 -0
- package/src/ReactGantt.ts +91 -83
- package/src/__package__.ts +2 -2
- package/types/ReactAxisGantt.d.ts +2 -0
- package/types/ReactAxisGantt.d.ts.map +1 -1
- package/types/ReactAxisGanttSeries.d.ts +2 -0
- package/types/ReactAxisGanttSeries.d.ts.map +1 -1
- package/types/ReactGantt.d.ts +2 -0
- package/types/ReactGantt.d.ts.map +1 -1
- package/types/__package__.d.ts +2 -2
- package/types-3.4/ReactAxisGantt.d.ts +2 -0
- package/types-3.4/ReactAxisGanttSeries.d.ts +2 -0
- package/types-3.4/ReactGantt.d.ts +2 -0
- package/types-3.4/__package__.d.ts +2 -2
package/dist/index.es6.js
CHANGED
|
@@ -6,8 +6,8 @@ import { LabelledRect, render } from '@hpcc-js/react';
|
|
|
6
6
|
import { Border2 } from '@hpcc-js/layout';
|
|
7
7
|
|
|
8
8
|
var PKG_NAME = "@hpcc-js/timeline";
|
|
9
|
-
var PKG_VERSION = "2.
|
|
10
|
-
var BUILD_VERSION = "2.106.
|
|
9
|
+
var PKG_VERSION = "2.53.0";
|
|
10
|
+
var BUILD_VERSION = "2.106.3";
|
|
11
11
|
|
|
12
12
|
/******************************************************************************
|
|
13
13
|
Copyright (c) Microsoft Corporation.
|
|
@@ -607,6 +607,12 @@ var ReactGantt = /** @class */ (function (_super) {
|
|
|
607
607
|
.followCursor(true);
|
|
608
608
|
return _this;
|
|
609
609
|
}
|
|
610
|
+
ReactGantt.prototype.selection = function (_) {
|
|
611
|
+
if (!arguments.length)
|
|
612
|
+
return this._selection.get();
|
|
613
|
+
this._selection.set(_);
|
|
614
|
+
return this;
|
|
615
|
+
};
|
|
610
616
|
ReactGantt.prototype.rangeRenderer = function (_) {
|
|
611
617
|
if (!arguments.length)
|
|
612
618
|
return this._rangeRenderer;
|
|
@@ -1121,6 +1127,12 @@ var ReactAxisGantt = /** @class */ (function (_super) {
|
|
|
1121
1127
|
};
|
|
1122
1128
|
return _this;
|
|
1123
1129
|
}
|
|
1130
|
+
ReactAxisGantt.prototype.selection = function (_) {
|
|
1131
|
+
if (!arguments.length)
|
|
1132
|
+
return this._gantt.selection();
|
|
1133
|
+
this._gantt.selection(_);
|
|
1134
|
+
return this;
|
|
1135
|
+
};
|
|
1124
1136
|
ReactAxisGantt.prototype.resizeWrappers = function () {
|
|
1125
1137
|
var w = this.width();
|
|
1126
1138
|
var h = this.height();
|
|
@@ -1292,6 +1304,12 @@ var ReactAxisGanttSeries = /** @class */ (function (_super) {
|
|
|
1292
1304
|
_this.centerOverflowY_default("auto");
|
|
1293
1305
|
return _this;
|
|
1294
1306
|
}
|
|
1307
|
+
ReactAxisGanttSeries.prototype.selection = function (_) {
|
|
1308
|
+
if (!arguments.length)
|
|
1309
|
+
return this._gantt.selection();
|
|
1310
|
+
this._gantt.selection(_);
|
|
1311
|
+
return this;
|
|
1312
|
+
};
|
|
1295
1313
|
ReactAxisGanttSeries.prototype.rangeRenderer = function (_) {
|
|
1296
1314
|
var ret = this._gantt.rangeRenderer.apply(this._gantt, arguments);
|
|
1297
1315
|
if (!arguments.length)
|