gantt-task-react-v 1.0.23 → 1.0.25
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/gantt-task-react.es.js +19 -16
- package/dist/gantt-task-react.umd.js +19 -16
- package/dist/style.css +36 -27
- package/package.json +1 -1
|
@@ -10657,14 +10657,14 @@ const TaskListTableDefaultInner = ({
|
|
|
10657
10657
|
);
|
|
10658
10658
|
};
|
|
10659
10659
|
const TaskListTable = memo(TaskListTableDefaultInner);
|
|
10660
|
-
const taskListRoot = "
|
|
10661
|
-
const taskListHorizontalScroll = "
|
|
10662
|
-
const taskListResizer = "
|
|
10663
|
-
const horizontalContainer$1 = "
|
|
10664
|
-
const tableWrapper = "
|
|
10665
|
-
const scrollToTop = "
|
|
10666
|
-
const scrollToBottom = "
|
|
10667
|
-
const hidden = "
|
|
10660
|
+
const taskListRoot = "_taskListRoot_4jj9x_1";
|
|
10661
|
+
const taskListHorizontalScroll = "_taskListHorizontalScroll_4jj9x_29";
|
|
10662
|
+
const taskListResizer = "_taskListResizer_4jj9x_93";
|
|
10663
|
+
const horizontalContainer$1 = "_horizontalContainer_4jj9x_157";
|
|
10664
|
+
const tableWrapper = "_tableWrapper_4jj9x_175";
|
|
10665
|
+
const scrollToTop = "_scrollToTop_4jj9x_187";
|
|
10666
|
+
const scrollToBottom = "_scrollToBottom_4jj9x_203";
|
|
10667
|
+
const hidden = "_hidden_4jj9x_219";
|
|
10668
10668
|
const styles$d = {
|
|
10669
10669
|
taskListRoot,
|
|
10670
10670
|
taskListHorizontalScroll,
|
|
@@ -13147,12 +13147,12 @@ const TaskGanttContentInner = (props) => {
|
|
|
13147
13147
|
] });
|
|
13148
13148
|
};
|
|
13149
13149
|
const TaskGanttContent = memo(TaskGanttContentInner);
|
|
13150
|
-
const ganttVerticalContainer = "
|
|
13151
|
-
const horizontalContainer = "
|
|
13152
|
-
const ganttHeader = "
|
|
13153
|
-
const ganttBodyScroll = "
|
|
13154
|
-
const wrapper = "
|
|
13155
|
-
const calendarDragging = "
|
|
13150
|
+
const ganttVerticalContainer = "_ganttVerticalContainer_7oj2l_1";
|
|
13151
|
+
const horizontalContainer = "_horizontalContainer_7oj2l_87";
|
|
13152
|
+
const ganttHeader = "_ganttHeader_7oj2l_103";
|
|
13153
|
+
const ganttBodyScroll = "_ganttBodyScroll_7oj2l_113";
|
|
13154
|
+
const wrapper = "_wrapper_7oj2l_131";
|
|
13155
|
+
const calendarDragging = "_calendarDragging_7oj2l_165";
|
|
13156
13156
|
const styles$2 = {
|
|
13157
13157
|
ganttVerticalContainer,
|
|
13158
13158
|
horizontalContainer,
|
|
@@ -13186,14 +13186,17 @@ const TaskGanttInner = (props) => {
|
|
|
13186
13186
|
const containerStyle = useMemo(
|
|
13187
13187
|
() => ({
|
|
13188
13188
|
height: "100%",
|
|
13189
|
-
width:
|
|
13189
|
+
width: "100%",
|
|
13190
|
+
maxWidth: "100%",
|
|
13191
|
+
minWidth: 0
|
|
13190
13192
|
}),
|
|
13191
|
-
[
|
|
13193
|
+
[]
|
|
13192
13194
|
);
|
|
13193
13195
|
const gridStyle = useMemo(
|
|
13194
13196
|
() => ({
|
|
13195
13197
|
height: Math.max(ganttFullHeight, minimumRowDisplayed * rowHeight),
|
|
13196
13198
|
width: fullSvgWidth,
|
|
13199
|
+
minWidth: "100%",
|
|
13197
13200
|
backgroundSize: `${columnWidth}px ${fullRowHeight * 2}px`,
|
|
13198
13201
|
backgroundPositionX: additionalLeftSpace || void 0,
|
|
13199
13202
|
backgroundImage: [
|
|
@@ -10674,14 +10674,14 @@
|
|
|
10674
10674
|
);
|
|
10675
10675
|
};
|
|
10676
10676
|
const TaskListTable = React.memo(TaskListTableDefaultInner);
|
|
10677
|
-
const taskListRoot = "
|
|
10678
|
-
const taskListHorizontalScroll = "
|
|
10679
|
-
const taskListResizer = "
|
|
10680
|
-
const horizontalContainer$1 = "
|
|
10681
|
-
const tableWrapper = "
|
|
10682
|
-
const scrollToTop = "
|
|
10683
|
-
const scrollToBottom = "
|
|
10684
|
-
const hidden = "
|
|
10677
|
+
const taskListRoot = "_taskListRoot_4jj9x_1";
|
|
10678
|
+
const taskListHorizontalScroll = "_taskListHorizontalScroll_4jj9x_29";
|
|
10679
|
+
const taskListResizer = "_taskListResizer_4jj9x_93";
|
|
10680
|
+
const horizontalContainer$1 = "_horizontalContainer_4jj9x_157";
|
|
10681
|
+
const tableWrapper = "_tableWrapper_4jj9x_175";
|
|
10682
|
+
const scrollToTop = "_scrollToTop_4jj9x_187";
|
|
10683
|
+
const scrollToBottom = "_scrollToBottom_4jj9x_203";
|
|
10684
|
+
const hidden = "_hidden_4jj9x_219";
|
|
10685
10685
|
const styles$d = {
|
|
10686
10686
|
taskListRoot,
|
|
10687
10687
|
taskListHorizontalScroll,
|
|
@@ -13164,12 +13164,12 @@
|
|
|
13164
13164
|
] });
|
|
13165
13165
|
};
|
|
13166
13166
|
const TaskGanttContent = React.memo(TaskGanttContentInner);
|
|
13167
|
-
const ganttVerticalContainer = "
|
|
13168
|
-
const horizontalContainer = "
|
|
13169
|
-
const ganttHeader = "
|
|
13170
|
-
const ganttBodyScroll = "
|
|
13171
|
-
const wrapper = "
|
|
13172
|
-
const calendarDragging = "
|
|
13167
|
+
const ganttVerticalContainer = "_ganttVerticalContainer_7oj2l_1";
|
|
13168
|
+
const horizontalContainer = "_horizontalContainer_7oj2l_87";
|
|
13169
|
+
const ganttHeader = "_ganttHeader_7oj2l_103";
|
|
13170
|
+
const ganttBodyScroll = "_ganttBodyScroll_7oj2l_113";
|
|
13171
|
+
const wrapper = "_wrapper_7oj2l_131";
|
|
13172
|
+
const calendarDragging = "_calendarDragging_7oj2l_165";
|
|
13173
13173
|
const styles$2 = {
|
|
13174
13174
|
ganttVerticalContainer,
|
|
13175
13175
|
horizontalContainer,
|
|
@@ -13203,14 +13203,17 @@
|
|
|
13203
13203
|
const containerStyle = React.useMemo(
|
|
13204
13204
|
() => ({
|
|
13205
13205
|
height: "100%",
|
|
13206
|
-
width:
|
|
13206
|
+
width: "100%",
|
|
13207
|
+
maxWidth: "100%",
|
|
13208
|
+
minWidth: 0
|
|
13207
13209
|
}),
|
|
13208
|
-
[
|
|
13210
|
+
[]
|
|
13209
13211
|
);
|
|
13210
13212
|
const gridStyle = React.useMemo(
|
|
13211
13213
|
() => ({
|
|
13212
13214
|
height: Math.max(ganttFullHeight, minimumRowDisplayed * rowHeight),
|
|
13213
13215
|
width: fullSvgWidth,
|
|
13216
|
+
minWidth: "100%",
|
|
13214
13217
|
backgroundSize: `${columnWidth}px ${fullRowHeight * 2}px`,
|
|
13215
13218
|
backgroundPositionX: additionalLeftSpace || void 0,
|
|
13216
13219
|
backgroundImage: [
|
package/dist/style.css
CHANGED
|
@@ -282,7 +282,7 @@
|
|
|
282
282
|
border-bottom: 1px solid var(--gantt-divider-color);
|
|
283
283
|
table-layout: fixed;
|
|
284
284
|
}
|
|
285
|
-
.
|
|
285
|
+
._taskListRoot_4jj9x_1 {
|
|
286
286
|
position: relative;
|
|
287
287
|
/*noinspection CssUnresolvedCustomProperty*/
|
|
288
288
|
border-left: 1px solid var(--gantt-table-divider-color, var(--gantt-divider-color));
|
|
@@ -290,9 +290,13 @@
|
|
|
290
290
|
display: flex;
|
|
291
291
|
flex-direction: column;
|
|
292
292
|
overflow: hidden;
|
|
293
|
+
width: 50%;
|
|
294
|
+
flex-shrink: 0;
|
|
295
|
+
min-width: 200px;
|
|
296
|
+
max-width: 80%;
|
|
293
297
|
}
|
|
294
298
|
|
|
295
|
-
.
|
|
299
|
+
._taskListHorizontalScroll_4jj9x_29 {
|
|
296
300
|
overflow-x: auto;
|
|
297
301
|
overflow-y: hidden;
|
|
298
302
|
flex: 1;
|
|
@@ -300,16 +304,16 @@
|
|
|
300
304
|
flex-direction: column;
|
|
301
305
|
}
|
|
302
306
|
|
|
303
|
-
.
|
|
307
|
+
._taskListHorizontalScroll_4jj9x_29::-webkit-scrollbar {
|
|
304
308
|
width: 1rem;
|
|
305
309
|
height: 1rem;
|
|
306
310
|
}
|
|
307
311
|
|
|
308
|
-
.
|
|
312
|
+
._taskListHorizontalScroll_4jj9x_29::-webkit-scrollbar-corner {
|
|
309
313
|
background: transparent;
|
|
310
314
|
}
|
|
311
315
|
|
|
312
|
-
.
|
|
316
|
+
._taskListHorizontalScroll_4jj9x_29::-webkit-scrollbar-thumb {
|
|
313
317
|
border: 4px solid transparent;
|
|
314
318
|
/*noinspection CssUnresolvedCustomProperty*/
|
|
315
319
|
background: var(--gantt-scrollbar-thumb-color);
|
|
@@ -317,14 +321,14 @@
|
|
|
317
321
|
background-clip: padding-box;
|
|
318
322
|
}
|
|
319
323
|
|
|
320
|
-
.
|
|
324
|
+
._taskListHorizontalScroll_4jj9x_29::-webkit-scrollbar-thumb:hover {
|
|
321
325
|
border: 2px solid transparent;
|
|
322
326
|
/*noinspection CssUnresolvedCustomProperty*/
|
|
323
327
|
background: var(--gantt-scrollbar-thumb-color);
|
|
324
328
|
background-clip: padding-box;
|
|
325
329
|
}
|
|
326
330
|
|
|
327
|
-
.
|
|
331
|
+
._taskListResizer_4jj9x_93 {
|
|
328
332
|
position: absolute;
|
|
329
333
|
top: 0;
|
|
330
334
|
right: -3px;
|
|
@@ -336,16 +340,16 @@
|
|
|
336
340
|
}
|
|
337
341
|
|
|
338
342
|
/*noinspection CssUnresolvedCustomProperty*/
|
|
339
|
-
.
|
|
343
|
+
._taskListResizer_4jj9x_93:hover {
|
|
340
344
|
background-color: var(--gantt-table-hover-action-color);
|
|
341
345
|
filter: var(--gantt-hover-filter);
|
|
342
346
|
}
|
|
343
347
|
|
|
344
|
-
.
|
|
348
|
+
._taskListResizer_4jj9x_93:hover::before {
|
|
345
349
|
display: none;
|
|
346
350
|
}
|
|
347
351
|
|
|
348
|
-
.
|
|
352
|
+
._taskListResizer_4jj9x_93::before {
|
|
349
353
|
content: "";
|
|
350
354
|
position: absolute;
|
|
351
355
|
top: 0;
|
|
@@ -356,7 +360,7 @@
|
|
|
356
360
|
background-color: var(--gantt-table-resize-color, var(--gantt-divider-color));
|
|
357
361
|
}
|
|
358
362
|
|
|
359
|
-
.
|
|
363
|
+
._horizontalContainer_4jj9x_157 {
|
|
360
364
|
margin: 0;
|
|
361
365
|
padding: 0;
|
|
362
366
|
overflow-y: auto;
|
|
@@ -365,13 +369,13 @@
|
|
|
365
369
|
min-height: 0;
|
|
366
370
|
}
|
|
367
371
|
|
|
368
|
-
.
|
|
372
|
+
._tableWrapper_4jj9x_175 {
|
|
369
373
|
position: relative;
|
|
370
374
|
flex: 1;
|
|
371
375
|
min-height: 0;
|
|
372
376
|
}
|
|
373
377
|
|
|
374
|
-
.
|
|
378
|
+
._scrollToTop_4jj9x_187 {
|
|
375
379
|
position: absolute;
|
|
376
380
|
top: 0;
|
|
377
381
|
left: 0;
|
|
@@ -379,7 +383,7 @@
|
|
|
379
383
|
height: 20px;
|
|
380
384
|
}
|
|
381
385
|
|
|
382
|
-
.
|
|
386
|
+
._scrollToBottom_4jj9x_203 {
|
|
383
387
|
position: absolute;
|
|
384
388
|
bottom: 0;
|
|
385
389
|
left: 0;
|
|
@@ -387,7 +391,7 @@
|
|
|
387
391
|
height: 20px;
|
|
388
392
|
}
|
|
389
393
|
|
|
390
|
-
.
|
|
394
|
+
._hidden_4jj9x_219 {
|
|
391
395
|
display: none;
|
|
392
396
|
}
|
|
393
397
|
._ganttToday_1oyhk_1 {
|
|
@@ -581,7 +585,7 @@
|
|
|
581
585
|
user-select: none;
|
|
582
586
|
stroke-width: 0;
|
|
583
587
|
}
|
|
584
|
-
.
|
|
588
|
+
._ganttVerticalContainer_7oj2l_1 {
|
|
585
589
|
display: flex;
|
|
586
590
|
flex-direction: column;
|
|
587
591
|
overflow-x: auto;
|
|
@@ -592,21 +596,24 @@
|
|
|
592
596
|
/*noinspection CssUnresolvedCustomProperty*/
|
|
593
597
|
border-right: 1px solid var(--gantt-calendar-divider-color, var(--gantt-divider-color));
|
|
594
598
|
flex-grow: 1;
|
|
599
|
+
flex-shrink: 1;
|
|
600
|
+
flex-basis: 0;
|
|
595
601
|
height: 100%;
|
|
596
602
|
min-height: 0;
|
|
597
|
-
|
|
603
|
+
min-width: 0;
|
|
604
|
+
width: 50%;
|
|
598
605
|
}
|
|
599
606
|
|
|
600
|
-
.
|
|
607
|
+
._ganttVerticalContainer_7oj2l_1::-webkit-scrollbar {
|
|
601
608
|
width: 1rem;
|
|
602
609
|
height: 1rem;
|
|
603
610
|
}
|
|
604
611
|
|
|
605
|
-
.
|
|
612
|
+
._ganttVerticalContainer_7oj2l_1::-webkit-scrollbar-corner {
|
|
606
613
|
background: transparent;
|
|
607
614
|
}
|
|
608
615
|
|
|
609
|
-
.
|
|
616
|
+
._ganttVerticalContainer_7oj2l_1::-webkit-scrollbar-thumb {
|
|
610
617
|
border: 4px solid transparent;
|
|
611
618
|
/*noinspection CssUnresolvedCustomProperty*/
|
|
612
619
|
background: var(--gantt-scrollbar-thumb-color);
|
|
@@ -614,36 +621,36 @@
|
|
|
614
621
|
background-clip: padding-box;
|
|
615
622
|
}
|
|
616
623
|
|
|
617
|
-
.
|
|
624
|
+
._ganttVerticalContainer_7oj2l_1::-webkit-scrollbar-thumb:hover {
|
|
618
625
|
border: 2px solid transparent;
|
|
619
626
|
/*noinspection CssUnresolvedCustomProperty*/
|
|
620
627
|
background: var(--gantt-scrollbar-thumb-color);
|
|
621
628
|
background-clip: padding-box;
|
|
622
629
|
}
|
|
623
630
|
|
|
624
|
-
.
|
|
631
|
+
._horizontalContainer_7oj2l_87 {
|
|
625
632
|
margin: 0;
|
|
626
633
|
padding: 0;
|
|
627
634
|
overflow: hidden;
|
|
628
635
|
height: 100%;
|
|
629
636
|
min-height: 0;
|
|
630
|
-
min-width: 0;
|
|
631
637
|
}
|
|
632
638
|
|
|
633
|
-
.
|
|
639
|
+
._ganttHeader_7oj2l_103 {
|
|
634
640
|
flex: 0 0 auto;
|
|
635
641
|
z-index: 3;
|
|
636
642
|
}
|
|
637
643
|
|
|
638
|
-
.
|
|
644
|
+
._ganttBodyScroll_7oj2l_113 {
|
|
639
645
|
flex: 1 1 auto;
|
|
640
646
|
overflow-y: auto;
|
|
641
647
|
overflow-x: hidden;
|
|
642
648
|
min-height: 0;
|
|
643
649
|
height: 100%;
|
|
650
|
+
max-height: 100%;
|
|
644
651
|
}
|
|
645
652
|
|
|
646
|
-
.
|
|
653
|
+
._wrapper_7oj2l_131 {
|
|
647
654
|
display: flex;
|
|
648
655
|
padding: 0;
|
|
649
656
|
margin: 0;
|
|
@@ -654,11 +661,13 @@
|
|
|
654
661
|
border-bottom: 1px solid var(--gantt-divider-color);
|
|
655
662
|
height: 100%;
|
|
656
663
|
min-height: 0;
|
|
664
|
+
width: 100%;
|
|
657
665
|
max-width: 100%;
|
|
658
666
|
overflow: hidden;
|
|
667
|
+
contain: layout;
|
|
659
668
|
}
|
|
660
669
|
|
|
661
|
-
.
|
|
670
|
+
._calendarDragging_7oj2l_165 {
|
|
662
671
|
cursor: grabbing;
|
|
663
672
|
}
|
|
664
673
|
/*noinspection CssUnresolvedCustomProperty*/
|
package/package.json
CHANGED