@thepocman/gantt-task-react 1.0.38 → 1.0.40
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.
|
@@ -5680,8 +5680,7 @@ const BarDisplay = ({
|
|
|
5680
5680
|
styles: styles2,
|
|
5681
5681
|
width,
|
|
5682
5682
|
x: x3,
|
|
5683
|
-
y: y3
|
|
5684
|
-
imageUrl
|
|
5683
|
+
y: y3
|
|
5685
5684
|
}) => {
|
|
5686
5685
|
const processColor = useMemo(() => {
|
|
5687
5686
|
if (isCritical) {
|
|
@@ -5769,17 +5768,6 @@ const BarDisplay = ({
|
|
|
5769
5768
|
rx: barCornerRadius,
|
|
5770
5769
|
fill: processColor
|
|
5771
5770
|
}
|
|
5772
|
-
),
|
|
5773
|
-
imageUrl && /* @__PURE__ */ jsx(
|
|
5774
|
-
"image",
|
|
5775
|
-
{
|
|
5776
|
-
style: { width: 300, position: "relative" },
|
|
5777
|
-
href: imageUrl,
|
|
5778
|
-
x: x3 + 5,
|
|
5779
|
-
y: y3 + 2,
|
|
5780
|
-
width,
|
|
5781
|
-
height
|
|
5782
|
-
}
|
|
5783
5771
|
)
|
|
5784
5772
|
]
|
|
5785
5773
|
}
|
|
@@ -6063,7 +6051,6 @@ const Bar = ({
|
|
|
6063
6051
|
barDisplay = /* @__PURE__ */ jsx(
|
|
6064
6052
|
BarDisplay,
|
|
6065
6053
|
{
|
|
6066
|
-
imageUrl: task.imageUrl,
|
|
6067
6054
|
taskName: task.name,
|
|
6068
6055
|
x: x1,
|
|
6069
6056
|
y: taskYOffset,
|
|
@@ -6183,7 +6170,6 @@ const BarSmall = ({
|
|
|
6183
6170
|
/* @__PURE__ */ jsx(
|
|
6184
6171
|
BarDisplay,
|
|
6185
6172
|
{
|
|
6186
|
-
imageUrl: task.imageUrl,
|
|
6187
6173
|
taskName: task.name,
|
|
6188
6174
|
barCornerRadius,
|
|
6189
6175
|
hasChildren,
|
|
@@ -5693,8 +5693,7 @@
|
|
|
5693
5693
|
styles: styles2,
|
|
5694
5694
|
width,
|
|
5695
5695
|
x: x2,
|
|
5696
|
-
y
|
|
5697
|
-
imageUrl
|
|
5696
|
+
y
|
|
5698
5697
|
}) => {
|
|
5699
5698
|
const processColor = React.useMemo(() => {
|
|
5700
5699
|
if (isCritical) {
|
|
@@ -5782,17 +5781,6 @@
|
|
|
5782
5781
|
rx: barCornerRadius,
|
|
5783
5782
|
fill: processColor
|
|
5784
5783
|
}
|
|
5785
|
-
),
|
|
5786
|
-
imageUrl && /* @__PURE__ */ jsxRuntime.jsx(
|
|
5787
|
-
"image",
|
|
5788
|
-
{
|
|
5789
|
-
style: { width: 300, position: "relative" },
|
|
5790
|
-
href: imageUrl,
|
|
5791
|
-
x: x2 + 5,
|
|
5792
|
-
y: y + 2,
|
|
5793
|
-
width,
|
|
5794
|
-
height
|
|
5795
|
-
}
|
|
5796
5784
|
)
|
|
5797
5785
|
]
|
|
5798
5786
|
}
|
|
@@ -6076,7 +6064,6 @@
|
|
|
6076
6064
|
barDisplay = /* @__PURE__ */ jsxRuntime.jsx(
|
|
6077
6065
|
BarDisplay,
|
|
6078
6066
|
{
|
|
6079
|
-
imageUrl: task.imageUrl,
|
|
6080
6067
|
taskName: task.name,
|
|
6081
6068
|
x: x1,
|
|
6082
6069
|
y: taskYOffset,
|
|
@@ -6196,7 +6183,6 @@
|
|
|
6196
6183
|
/* @__PURE__ */ jsxRuntime.jsx(
|
|
6197
6184
|
BarDisplay,
|
|
6198
6185
|
{
|
|
6199
|
-
imageUrl: task.imageUrl,
|
|
6200
6186
|
taskName: task.name,
|
|
6201
6187
|
barCornerRadius,
|
|
6202
6188
|
hasChildren,
|
|
@@ -164,7 +164,7 @@ export interface Task {
|
|
|
164
164
|
status?: string;
|
|
165
165
|
phase?: string;
|
|
166
166
|
taskOwner?: string;
|
|
167
|
-
|
|
167
|
+
source?: string;
|
|
168
168
|
}
|
|
169
169
|
export interface EmptyTask {
|
|
170
170
|
id: string;
|
|
@@ -176,7 +176,7 @@ export interface EmptyTask {
|
|
|
176
176
|
status?: string;
|
|
177
177
|
phase?: string;
|
|
178
178
|
taskOwner?: string;
|
|
179
|
-
|
|
179
|
+
source?: string;
|
|
180
180
|
displayOrder?: number;
|
|
181
181
|
isDisabled?: boolean;
|
|
182
182
|
styles?: Partial<ColorStyles>;
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@thepocman/gantt-task-react",
|
|
3
|
-
"version": "1.0.
|
|
3
|
+
"version": "1.0.40",
|
|
4
4
|
"description": "Fork of gantt-task-react with support for grouped tasks on a single row when collapsed",
|
|
5
5
|
"author": "Adrian Bueno <adrianlbueno@users.noreply.github.com>",
|
|
6
6
|
"homepage": "https://github.com/adrianlbueno/gantt-task-react#readme",
|