gantt-task-react-powern 0.4.16 → 0.4.17
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.css +1 -1
- package/dist/index.js +10 -10
- package/dist/index.js.map +1 -1
- package/dist/index.modern.js +10 -10
- package/dist/index.modern.js.map +1 -1
- package/package.json +1 -1
package/dist/index.modern.js
CHANGED
|
@@ -285,8 +285,8 @@ var TaskListHeaderDefault = function TaskListHeaderDefault(_ref) {
|
|
|
285
285
|
}, React.createElement("div", {
|
|
286
286
|
className: styles.ganttTable_HeaderItem,
|
|
287
287
|
style: {
|
|
288
|
-
minWidth: parseInt(rowWidth),
|
|
289
|
-
maxWidth: parseInt(rowWidth)
|
|
288
|
+
minWidth: parseInt(rowWidth) * 0.8,
|
|
289
|
+
maxWidth: parseInt(rowWidth) * 0.8
|
|
290
290
|
}
|
|
291
291
|
}, "\xA0WBS"), React.createElement("div", {
|
|
292
292
|
className: styles.ganttTable_HeaderSeparator,
|
|
@@ -297,8 +297,8 @@ var TaskListHeaderDefault = function TaskListHeaderDefault(_ref) {
|
|
|
297
297
|
}), React.createElement("div", {
|
|
298
298
|
className: styles.ganttTable_HeaderItem,
|
|
299
299
|
style: {
|
|
300
|
-
minWidth: parseInt(rowWidth) *
|
|
301
|
-
maxWidth: parseInt(rowWidth) *
|
|
300
|
+
minWidth: parseInt(rowWidth) * 2,
|
|
301
|
+
maxWidth: parseInt(rowWidth) * 2
|
|
302
302
|
}
|
|
303
303
|
}, "\xA0Task"), React.createElement("div", {
|
|
304
304
|
className: styles.ganttTable_HeaderSeparator,
|
|
@@ -387,8 +387,8 @@ var TaskListTableDefault = function TaskListTableDefault(_ref) {
|
|
|
387
387
|
}, React.createElement("div", {
|
|
388
388
|
className: styles$1.taskListCell,
|
|
389
389
|
style: {
|
|
390
|
-
minWidth: parseInt(rowWidth),
|
|
391
|
-
maxWidth: parseInt(rowWidth)
|
|
390
|
+
minWidth: parseInt(rowWidth) * 0.8,
|
|
391
|
+
maxWidth: parseInt(rowWidth) * 0.8
|
|
392
392
|
},
|
|
393
393
|
title: t.id
|
|
394
394
|
}, React.createElement("div", {
|
|
@@ -406,8 +406,8 @@ var TaskListTableDefault = function TaskListTableDefault(_ref) {
|
|
|
406
406
|
}, t.id))), React.createElement("div", {
|
|
407
407
|
className: styles$1.taskListCell,
|
|
408
408
|
style: {
|
|
409
|
-
minWidth: parseInt(rowWidth) *
|
|
410
|
-
maxWidth: parseInt(rowWidth) *
|
|
409
|
+
minWidth: parseInt(rowWidth) * 2,
|
|
410
|
+
maxWidth: parseInt(rowWidth) * 2
|
|
411
411
|
}
|
|
412
412
|
}, React.createElement("div", {
|
|
413
413
|
className: styles$1.taskListText
|
|
@@ -535,7 +535,7 @@ var StandardTooltipContent = function StandardTooltipContent(_ref2) {
|
|
|
535
535
|
style: {
|
|
536
536
|
fontSize: fontSize + 6
|
|
537
537
|
}
|
|
538
|
-
}, task.name + ": Planned dates: "), React.createElement("b", null, task.start.getMonth() + 1 + "
|
|
538
|
+
}, task.name + ": Planned dates: "), React.createElement("b", null, task.start.getMonth() + 1 + "/" + task.start.getDate() + "/" + task.start.getFullYear() + " - " + (task.end.getMonth() + 1) + "/" + task.end.getDate() + "/" + task.end.getFullYear()), task.end.getTime() - task.start.getTime() !== 0 && React.createElement("p", {
|
|
539
539
|
className: styles$2.tooltipDefaultContainerParagraph
|
|
540
540
|
}, "Duration: " + ~~((task.end.getTime() - task.start.getTime()) / (1000 * 60 * 60 * 24)) + " day(s)"), React.createElement("p", {
|
|
541
541
|
className: styles$2.tooltipDefaultContainerParagraph
|
|
@@ -546,7 +546,7 @@ var StandardTooltipContent = function StandardTooltipContent(_ref2) {
|
|
|
546
546
|
style: {
|
|
547
547
|
fontSize: fontSize + 6
|
|
548
548
|
}
|
|
549
|
-
}, task.name + ": Actual dates: "), React.createElement("b", null, task.actualStart.getMonth() + 1 + "
|
|
549
|
+
}, task.name + ": Actual dates: "), React.createElement("b", null, task.actualStart.getMonth() + 1 + "/" + task.actualStart.getDate() + "/" + task.actualStart.getFullYear() + " - " + (task.actualEnd.getMonth() + 1) + "/" + task.actualEnd.getDate() + "/" + task.actualEnd.getFullYear()), task.actualEnd.getTime() - task.actualStart.getTime() !== 0 && React.createElement("p", {
|
|
550
550
|
className: styles$2.tooltipDefaultContainerParagraph
|
|
551
551
|
}, "Duration: " + ~~((task.actualEnd.getTime() - task.actualStart.getTime()) / (1000 * 60 * 60 * 24)) + " day(s)"), React.createElement("p", {
|
|
552
552
|
className: styles$2.tooltipDefaultContainerParagraph
|