@ssfm/gantt-task-react 0.6.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.
Files changed (111) hide show
  1. package/LICENSE +21 -0
  2. package/README.md +197 -0
  3. package/dist/change-metadata/get-dependent-tasks.d.ts +3 -0
  4. package/dist/change-metadata/get-task-indexes.d.ts +9 -0
  5. package/dist/components/calendar/calendar.d.ts +19 -0
  6. package/dist/components/calendar/default-render-bottom-header.d.ts +3 -0
  7. package/dist/components/calendar/default-render-top-header.d.ts +2 -0
  8. package/dist/components/calendar/top-part-of-calendar.d.ts +14 -0
  9. package/dist/components/context-menu/index.d.ts +14 -0
  10. package/dist/components/context-menu/menu-option.d.ts +10 -0
  11. package/dist/components/gantt/default-check-is-holiday.d.ts +2 -0
  12. package/dist/components/gantt/default-get-copied-task-id.d.ts +2 -0
  13. package/dist/components/gantt/default-round-date.d.ts +2 -0
  14. package/dist/components/gantt/default-round-end-date.d.ts +2 -0
  15. package/dist/components/gantt/default-round-start-date.d.ts +2 -0
  16. package/dist/components/gantt/gantt.d.ts +3 -0
  17. package/dist/components/gantt/task-gantt-content.d.ts +49 -0
  18. package/dist/components/gantt/task-gantt.d.ts +22 -0
  19. package/dist/components/gantt/use-context-menu.d.ts +7 -0
  20. package/dist/components/gantt/use-create-relation.d.ts +16 -0
  21. package/dist/components/gantt/use-get-task-current-state.d.ts +14 -0
  22. package/dist/components/gantt/use-handle-action.d.ts +20 -0
  23. package/dist/components/gantt/use-holidays.d.ts +14 -0
  24. package/dist/components/gantt/use-horizontal-scrollbars.d.ts +2 -0
  25. package/dist/components/gantt/use-selection.d.ts +18 -0
  26. package/dist/components/gantt/use-tablelist-resize.d.ts +2 -0
  27. package/dist/components/gantt/use-task-drag.d.ts +25 -0
  28. package/dist/components/gantt/use-vertical-scrollbars.d.ts +2 -0
  29. package/dist/components/grid/grid-body.d.ts +19 -0
  30. package/dist/components/grid/grid.d.ts +4 -0
  31. package/dist/components/other/arrow.d.ts +27 -0
  32. package/dist/components/other/bar-fix-width.d.ts +13 -0
  33. package/dist/components/other/fix-dependency-position.d.ts +14 -0
  34. package/dist/components/other/relation-line.d.ts +9 -0
  35. package/dist/components/other/tooltip.d.ts +24 -0
  36. package/dist/components/task-item/bar/bar-date-handle.d.ts +12 -0
  37. package/dist/components/task-item/bar/bar-display.d.ts +19 -0
  38. package/dist/components/task-item/bar/bar-progress-handle.d.ts +8 -0
  39. package/dist/components/task-item/bar/bar-relation-handle.d.ts +11 -0
  40. package/dist/components/task-item/bar/bar-small.d.ts +6 -0
  41. package/dist/components/task-item/bar/bar.d.ts +6 -0
  42. package/dist/components/task-item/milestone/milestone.d.ts +6 -0
  43. package/dist/components/task-item/project/project-display.d.ts +21 -0
  44. package/dist/components/task-item/task-item.d.ts +41 -0
  45. package/dist/components/task-item/task-warning.d.ts +14 -0
  46. package/dist/components/task-list/TaskListHeaderActions.d.ts +9 -0
  47. package/dist/components/task-list/columns/add-column.d.ts +3 -0
  48. package/dist/components/task-list/columns/date-end-column.d.ts +3 -0
  49. package/dist/components/task-list/columns/date-start-column.d.ts +3 -0
  50. package/dist/components/task-list/columns/delete-column.d.ts +3 -0
  51. package/dist/components/task-list/columns/dependencies-column.d.ts +3 -0
  52. package/dist/components/task-list/columns/edit-column.d.ts +3 -0
  53. package/dist/components/task-list/columns/title-column.d.ts +3 -0
  54. package/dist/components/task-list/task-list-header.d.ts +4 -0
  55. package/dist/components/task-list/task-list-table-row.d.ts +40 -0
  56. package/dist/components/task-list/task-list-table.d.ts +3 -0
  57. package/dist/components/task-list/task-list.d.ts +80 -0
  58. package/dist/constants.d.ts +2 -0
  59. package/dist/context-menu-options/copy.d.ts +2 -0
  60. package/dist/context-menu-options/cut.d.ts +2 -0
  61. package/dist/context-menu-options/delete.d.ts +2 -0
  62. package/dist/context-menu-options/index.d.ts +4 -0
  63. package/dist/context-menu-options/paste.d.ts +2 -0
  64. package/dist/gantt-task-react.es.js +12936 -0
  65. package/dist/gantt-task-react.umd.js +12949 -0
  66. package/dist/helpers/adjust-task-to-working-dates.d.ts +12 -0
  67. package/dist/helpers/bar-helper.d.ts +11 -0
  68. package/dist/helpers/check-has-children.d.ts +2 -0
  69. package/dist/helpers/check-is-descendant.d.ts +2 -0
  70. package/dist/helpers/check-task-has-dependency-warning.d.ts +2 -0
  71. package/dist/helpers/collect-parents.d.ts +2 -0
  72. package/dist/helpers/collect-visible-tasks.d.ts +2 -0
  73. package/dist/helpers/compare-dates.d.ts +1 -0
  74. package/dist/helpers/copy-tasks.d.ts +2 -0
  75. package/dist/helpers/count-holidays.d.ts +2 -0
  76. package/dist/helpers/date-helper.d.ts +4 -0
  77. package/dist/helpers/generate-triangle-points.d.ts +1 -0
  78. package/dist/helpers/get-all-descendants.d.ts +2 -0
  79. package/dist/helpers/get-change-task-metadata.d.ts +13 -0
  80. package/dist/helpers/get-child-out-of-parent-warnings.d.ts +2 -0
  81. package/dist/helpers/get-childs-and-roots.d.ts +5 -0
  82. package/dist/helpers/get-critical-path.d.ts +2 -0
  83. package/dist/helpers/get-date-by-offset.d.ts +2 -0
  84. package/dist/helpers/get-dates-diff.d.ts +2 -0
  85. package/dist/helpers/get-dependency-map-and-warnings.d.ts +2 -0
  86. package/dist/helpers/get-initial-closed-tasks.d.ts +2 -0
  87. package/dist/helpers/get-map-task-to-coordinates.d.ts +6 -0
  88. package/dist/helpers/get-map-task-to-global-index.d.ts +5 -0
  89. package/dist/helpers/get-map-task-to-nested-index.d.ts +2 -0
  90. package/dist/helpers/get-map-task-to-row-index.d.ts +10 -0
  91. package/dist/helpers/get-previous-next-working-date.d.ts +3 -0
  92. package/dist/helpers/get-relation-circle-by-coordinates.d.ts +2 -0
  93. package/dist/helpers/get-task-coordinates.d.ts +4 -0
  94. package/dist/helpers/get-task-row-index.d.ts +2 -0
  95. package/dist/helpers/get-task-to-has-dependency-warning-map.d.ts +2 -0
  96. package/dist/helpers/get-tasks-map.d.ts +5 -0
  97. package/dist/helpers/round-task-dates.d.ts +7 -0
  98. package/dist/helpers/sort-tasks.d.ts +2 -0
  99. package/dist/helpers/use-optimized-list.d.ts +24 -0
  100. package/dist/helpers/use-task-tooltip.d.ts +12 -0
  101. package/dist/index.d.ts +13 -0
  102. package/dist/selected-tasks/get-parent-tasks.d.ts +2 -0
  103. package/dist/selected-tasks/get-selected-tasks.d.ts +2 -0
  104. package/dist/selected-tasks/get-tasks-with-descendants.d.ts +2 -0
  105. package/dist/style.css +563 -0
  106. package/dist/suggestions/change-start-and-end-descendants.d.ts +10 -0
  107. package/dist/test/date-helper.test.d.ts +1 -0
  108. package/dist/test/gant.test.d.ts +1 -0
  109. package/dist/types/gantt-task-actions.d.ts +9 -0
  110. package/dist/types/public-types.d.ts +845 -0
  111. package/package.json +133 -0
package/dist/style.css ADDED
@@ -0,0 +1,563 @@
1
+ ._ganttTable_Header_7mmcq_1 {
2
+ display: table;
3
+ border-bottom: #e6e4e4 3px solid;
4
+ border-top: #e6e4e4 3px solid;
5
+ box-sizing: content-box;
6
+ }
7
+
8
+ ._ganttTable_HeaderSeparator_7mmcq_8 {
9
+ border-right: 1px solid rgb(196, 196, 196);
10
+ opacity: 1;
11
+ margin-left: -2px;
12
+ }
13
+
14
+
15
+ ._ganttTable_HeaderContent_7mmcq_15 {
16
+ display: flex;
17
+ justify-content: space-between;
18
+ align-items: center;
19
+ }
20
+
21
+ ._ganttTable_HeaderTitle_7mmcq_21 {
22
+
23
+ }
24
+
25
+ ._ganttTable_HeaderItem_7mmcq_25 {
26
+ position: relative;
27
+ box-sizing: border-box;
28
+ overflow: hidden;
29
+ padding-left: 5px;
30
+ padding-right: 5px;
31
+ display: table-cell;
32
+ vertical-align: -webkit-baseline-middle;
33
+ vertical-align: middle;
34
+ }
35
+
36
+
37
+
38
+ ._resizer_7mmcq_38 {
39
+ position: absolute;
40
+ top: 0;
41
+ right: -5px;
42
+ height: 100%;
43
+ width: 10px;
44
+ cursor: ew-resize;
45
+ user-select: none;
46
+ }
47
+ ._ganttTable_HeaderItem_7mmcq_25:last-child ._resizer_7mmcq_38 {
48
+ width: 5px;
49
+ right: 5px;
50
+ }
51
+
52
+ ._resizer_7mmcq_38:hover {
53
+ background-color: grey;
54
+ }
55
+
56
+ ._taskListHeaderAction_j1iwy_1 {
57
+
58
+ }
59
+ ._taskListTableRow_w35p0_1 {
60
+ position: relative;
61
+ display: table-row;
62
+ text-overflow: ellipsis;
63
+ cursor:grab
64
+ }
65
+ ._taskListTableRowGrabbing_w35p0_7 {
66
+ cursor:grabbing
67
+ }
68
+
69
+ ._cut_w35p0_11 {
70
+ opacity: 0.3;
71
+ }
72
+
73
+ ._taskListCell_w35p0_15 {
74
+ box-sizing: border-box;
75
+ display: table-cell;
76
+ vertical-align: middle;
77
+ white-space: nowrap;
78
+ overflow: hidden;
79
+ text-overflow: ellipsis;
80
+ padding-left: 5px;
81
+ }
82
+ ._taskListCellInner_w35p0_24 {
83
+ display: flex;
84
+ align-items: center;
85
+ }
86
+
87
+ ._dropAfter_w35p0_29 {
88
+ position: absolute;
89
+ z-index: 1;
90
+ display: flex;
91
+ align-items: center;
92
+ bottom: 0px;
93
+ left: 0;
94
+ width: 100%;
95
+ height: 8px;
96
+ color: transparent;
97
+ }
98
+
99
+ ._dropAfterLighten_w35p0_41 {
100
+ border-radius: 6px;
101
+ }
102
+
103
+ ._dropAfter_w35p0_29::before {
104
+ content: "";
105
+ width: 12px;
106
+ height: 12px;
107
+ border-radius: 6px;
108
+ background-color: currentColor;
109
+ }
110
+
111
+ ._dropBefore_w35p0_53 {
112
+ position: absolute;
113
+ z-index: 1;
114
+ display: flex;
115
+ align-items: center;
116
+ top:0px;
117
+ width: 100%;
118
+ height: 8px;
119
+ color: transparent;
120
+ }
121
+
122
+ ._dropBeforeLighten_w35p0_64 {
123
+ border-radius: 6px;
124
+ }
125
+
126
+ ._dropBefore_w35p0_53::before {
127
+ content: "";
128
+ width: 12px;
129
+ height: 12px;
130
+ border-radius: 6px;
131
+ background-color: currentColor;
132
+ }
133
+ ._taskListWrapper_yx1w7_1 {
134
+ display: table;
135
+ }
136
+ ._tooltipDefaultContainer_juje4_1 {
137
+ background: #fff;
138
+ padding: 12px;
139
+ box-shadow: 0 3px 6px rgba(0, 0, 0, 0.16), 0 3px 6px rgba(0, 0, 0, 0.23);
140
+ }
141
+
142
+ ._tooltipDefaultContainerParagraph_juje4_7 {
143
+ font-size: 12px;
144
+ margin-bottom: 6px;
145
+ color: #666;
146
+ }
147
+
148
+ ._tooltipDetailsContainer_juje4_13 {
149
+ position: absolute;
150
+ display: flex;
151
+ flex-shrink: 0;
152
+ pointer-events: none;
153
+ -webkit-touch-callout: none;
154
+ -webkit-user-select: none;
155
+ -moz-user-select: none;
156
+ -ms-user-select: none;
157
+ user-select: none;
158
+ }
159
+
160
+ ._tooltipDetailsContainerHidden_juje4_25 {
161
+ visibility: hidden;
162
+ position: absolute;
163
+ display: flex;
164
+ pointer-events: none;
165
+ }
166
+ ._ganttTableRoot_v4xjz_1 {
167
+ display:flex;
168
+ position: relative;
169
+ border-left: #e6e4e4 1px solid;
170
+ overflow: hidden;
171
+ }
172
+
173
+ ._ganttTableWrapper_v4xjz_8 {
174
+ display: grid;
175
+ overflow: hidden;
176
+ grid-template-rows: min-content;
177
+ overflow-x: auto;
178
+ scrollbar-width: thin;
179
+ }
180
+
181
+ ._ganttTableWrapper_v4xjz_8::-webkit-scrollbar {
182
+ width: 1.1rem;
183
+ height: 1.1rem;
184
+ }
185
+
186
+ ._ganttTableWrapper_v4xjz_8::-webkit-scrollbar-corner {
187
+ background: transparent;
188
+ }
189
+
190
+ ._ganttTableWrapper_v4xjz_8::-webkit-scrollbar-thumb {
191
+ border: 6px solid transparent;
192
+ background: rgba(0, 0, 0, 0.2);
193
+ background: var(--palette-black-alpha-20, rgba(0, 0, 0, 0.2));
194
+ border-radius: 10px;
195
+ background-clip: padding-box;
196
+ }
197
+
198
+ ._ganttTableWrapper_v4xjz_8::-webkit-scrollbar-thumb:hover {
199
+ border: 4px solid transparent;
200
+ background: rgba(0, 0, 0, 0.3);
201
+ background: var(--palette-black-alpha-30, rgba(0, 0, 0, 0.3));
202
+ background-clip: padding-box;
203
+ }
204
+
205
+ ._taskListResizer_v4xjz_40 {
206
+ position: absolute;
207
+ top: 0;
208
+ right: -5px;
209
+ height: 100%;
210
+ width: 10px;
211
+ cursor: ew-resize;
212
+ user-select: none;
213
+ }
214
+
215
+ ._taskListResizer_v4xjz_40:hover {
216
+ background-color: grey;
217
+ }
218
+
219
+ ._taskListResizer_v4xjz_40::before {
220
+ content: "";
221
+ position: absolute;
222
+ top: 0;
223
+ left: 4px;
224
+ height: 100%;
225
+ width: 2px;
226
+ background-color: #e5e5e5;
227
+ }
228
+
229
+ ._taskListContent_v4xjz_64 {
230
+ overflow-x: hidden;
231
+ overflow-y: auto;
232
+ position: relative;
233
+ /* scrollbar-width: thin; */
234
+ }
235
+ ._taskListContent_v4xjz_64::-webkit-scrollbar {
236
+ display: none;
237
+ }
238
+
239
+ ._hidden_v4xjz_74 {
240
+ display: none;
241
+ }
242
+ ._button_ts3e8_1 {
243
+ margin: 0;
244
+ padding: 5px;
245
+ border: none;
246
+ outline: none;
247
+ background: transparent;
248
+ cursor: pointer;
249
+ font-size: 20px;
250
+ font-weight: bold;
251
+ }
252
+ ._taskListNameWrapper_x4oe5_1 {
253
+ display: flex;
254
+ align-items: center;
255
+ }
256
+
257
+ ._dragging_x4oe5_6 {
258
+ opacity: 0.5;
259
+ }
260
+
261
+ ._taskListExpander_x4oe5_10 {
262
+ opacity: 0.9;
263
+ font-size: 18px;
264
+ user-select: none;
265
+ cursor: pointer;
266
+ display: flex;
267
+ }
268
+
269
+ ._taskListEmptyExpander_x4oe5_18 {
270
+ user-select: none;
271
+ cursor: default;
272
+ }
273
+
274
+ ._taskName_x4oe5_23 {
275
+ overflow: hidden;
276
+ white-space: nowrap;
277
+ text-overflow: ellipsis;
278
+ }
279
+ ._button_ts3e8_1 {
280
+ margin: 0;
281
+ padding: 5px;
282
+ border: none;
283
+ outline: none;
284
+ background: transparent;
285
+ cursor: pointer;
286
+ font-size: 20px;
287
+ font-weight: bold;
288
+ }
289
+ ._button_5sg45_1 {
290
+ margin: 0;
291
+ padding: 5px;
292
+ border: none;
293
+ outline: none;
294
+ background: transparent;
295
+ cursor: pointer;
296
+ font-size: 20px;
297
+ }
298
+ ._calendarMain_14og3_1{
299
+ border-top: #e6e4e4 3px solid;
300
+ border-bottom: #e6e4e4 3px solid;
301
+ box-sizing: content-box;
302
+ }
303
+
304
+ ._calendarBottomText_14og3_7 {
305
+ text-anchor: middle;
306
+ fill: #333;
307
+ -webkit-touch-callout: none;
308
+ -webkit-user-select: none;
309
+ -moz-user-select: none;
310
+ -ms-user-select: none;
311
+ user-select: none;
312
+ pointer-events: none;
313
+ }
314
+
315
+ ._calendarTopTick_14og3_18 {
316
+ stroke: #e6e4e4;
317
+ }
318
+
319
+ ._calendarTopText_14og3_22 {
320
+ text-anchor: middle;
321
+ fill: #555;
322
+ -webkit-touch-callout: none;
323
+ -webkit-user-select: none;
324
+ -moz-user-select: none;
325
+ -ms-user-select: none;
326
+ user-select: none;
327
+ pointer-events: none;
328
+ }
329
+
330
+ ._calendarHeader_14og3_33 {
331
+ fill: #ffffff;
332
+ stroke: #e0e0e0;
333
+ stroke-width: 1.4;
334
+ }
335
+ ._hoverVisibleWrapper_19ebs_1:hover ._wrapper_19ebs_1 {
336
+ display: initial;
337
+ }
338
+
339
+ ._wrapper_19ebs_1 {
340
+ cursor: pointer;
341
+ }
342
+
343
+ ._wrapper_19ebs_1:hover ._mainPath_19ebs_9 {
344
+ filter: drop-shadow(0px 0px 2px rgba(0, 0, 0, .7));
345
+ }
346
+
347
+ ._mainPath_19ebs_9 {
348
+ fill: none;
349
+ stroke-width: 1.5px;
350
+ }
351
+
352
+ ._clickZone_19ebs_18 {
353
+ fill: transparent;
354
+ stroke: transparent;
355
+ }
356
+ ._arrow_clickable_16evi_1 {
357
+ cursor: pointer;
358
+ }
359
+
360
+ ._arrow_clickable_16evi_1:hover ._mainPath_16evi_5 {
361
+ filter: drop-shadow(0px 0px 2px rgba(0, 0, 0, .7));
362
+ }
363
+
364
+ ._mainPath_16evi_5 {
365
+ fill: none;
366
+ stroke-width: 1.5px;
367
+ }
368
+
369
+ ._clickZone_16evi_14 {
370
+ fill: none;
371
+ stroke: transparent;
372
+ stroke-width: 8px;
373
+ }
374
+ ._relationLine_1nqzz_1 {
375
+ stroke: grey;
376
+ stroke-width: 2;
377
+ stroke-dasharray: 4;
378
+ }
379
+ ._barWrapper_hr87b_1 {
380
+ cursor: pointer;
381
+ outline: none;
382
+ }
383
+
384
+ ._barWrapper_hr87b_1:hover ._barHandle_hr87b_6 {
385
+ visibility: visible;
386
+ opacity: 1;
387
+ }
388
+
389
+ ._barHandle_hr87b_6 {
390
+ fill: #ddd;
391
+ cursor: ew-resize;
392
+ opacity: 0;
393
+ visibility: hidden;
394
+ }
395
+
396
+ ._barHandle_hr87b_6:hover {
397
+ fill: #a2a2a2;
398
+ }
399
+
400
+ ._barBackground_hr87b_22 {
401
+ user-select: none;
402
+ stroke-width: 0;
403
+ }
404
+ ._barRelationHandleWrapper_tmzzo_1:hover ._barRelationHandle_tmzzo_1, ._barRelationHandle_tmzzo_1._barRelationHandle_drawMode_tmzzo_1 {
405
+ opacity: 1;
406
+ }
407
+
408
+ ._barRelationHandle_tmzzo_1 {
409
+ fill: #ddd;
410
+ stroke: #333;
411
+ cursor: pointer;
412
+ opacity: 0;
413
+ }
414
+
415
+ ._barRelationHandle_tmzzo_1:hover {
416
+ fill: #a2a2a2;
417
+ }
418
+ ._projectWrapper_19i2s_1 {
419
+ cursor: pointer;
420
+ outline: none;
421
+ }
422
+
423
+ ._projectBackground_19i2s_6 {
424
+ user-select: none;
425
+ opacity: 0.6;
426
+ }
427
+
428
+ ._projectTop_19i2s_11 {
429
+ user-select: none;
430
+ }
431
+ ._milestoneWrapper_xr9to_1 {
432
+ cursor: pointer;
433
+ outline: none;
434
+ }
435
+
436
+ ._milestoneBackground_xr9to_6 {
437
+ user-select: none;
438
+ }
439
+ ._barLabel_pu5db_1 {
440
+ text-anchor: middle;
441
+ font-weight: lighter;
442
+ dominant-baseline: central;
443
+ -webkit-touch-callout: none;
444
+ -webkit-user-select: none;
445
+ -moz-user-select: none;
446
+ -ms-user-select: none;
447
+ user-select: none;
448
+ pointer-events: none;
449
+ }
450
+
451
+ ._barLabelOutside_pu5db_13 {
452
+ text-anchor: start;
453
+ -webkit-touch-callout: none;
454
+ -webkit-user-select: none;
455
+ -moz-user-select: none;
456
+ -ms-user-select: none;
457
+ user-select: none;
458
+ pointer-events: none;
459
+ }
460
+ ._hoverVisibleWrapper_19ebs_1:hover ._wrapper_19ebs_1 {
461
+ display: initial;
462
+ }
463
+
464
+ ._wrapper_19ebs_1 {
465
+ cursor: pointer;
466
+ }
467
+
468
+ ._wrapper_19ebs_1:hover ._mainPath_19ebs_9 {
469
+ filter: drop-shadow(0px 0px 2px rgba(0, 0, 0, .7));
470
+ }
471
+
472
+ ._mainPath_19ebs_9 {
473
+ fill: none;
474
+ stroke-width: 1.5px;
475
+ }
476
+
477
+ ._clickZone_19ebs_18 {
478
+ fill: transparent;
479
+ stroke: transparent;
480
+ }
481
+ ._ganttTaskRoot_1sr1d_1 {
482
+ display:flex;
483
+ flex-direction: column;
484
+ overflow-x: scroll;
485
+ overflow-y: hidden;
486
+ font-size: 0;
487
+ margin: 0;
488
+ padding: 0;
489
+ }
490
+ /* Only chrome otherwise the firefox scrollbar has no edge*/
491
+ @media screen and (-webkit-min-device-pixel-ratio:0) and (min-resolution:.001dpcm) {
492
+ ._ganttTaskRoot_1sr1d_1 {
493
+ scrollbar-width: thin;
494
+ }
495
+ }
496
+
497
+ /* .ganttTaskRoot::-webkit-scrollbar {
498
+ width: 1.1rem;
499
+ height: 1.1rem;
500
+ }
501
+
502
+ .ganttTaskRoot::-webkit-scrollbar-corner {
503
+ background: transparent;
504
+ }
505
+
506
+ .ganttTaskRoot::-webkit-scrollbar-thumb {
507
+ border: 6px solid transparent;
508
+ background: rgba(0, 0, 0, 0.2);
509
+ background: var(--palette-black-alpha-20, rgba(0, 0, 0, 0.2));
510
+ border-radius: 10px;
511
+ background-clip: padding-box;
512
+ }
513
+
514
+ .ganttTaskRoot::-webkit-scrollbar-thumb:hover {
515
+ border: 4px solid transparent;
516
+ background: rgba(0, 0, 0, 0.3);
517
+ background: var(--palette-black-alpha-30, rgba(0, 0, 0, 0.3));
518
+ background-clip: padding-box;
519
+ } */
520
+
521
+ ._ganttTaskContent_1sr1d_41 {
522
+ margin: 0;
523
+ padding: 0;
524
+ overflow-x: hidden;
525
+ overflow-y: auto;
526
+ }
527
+ /* Only chrome otherwise the firefox scrollbar has no edges*/
528
+ @media screen and (-webkit-min-device-pixel-ratio:0) and (min-resolution:.001dpcm) {
529
+ ._ganttTaskContent_1sr1d_41 {
530
+ scrollbar-width: thin;
531
+ }
532
+ }
533
+
534
+ ._wrapper_1sr1d_54 {
535
+ display:grid;
536
+ overflow-x: hidden;
537
+ overflow-y: hidden;
538
+ padding: 0;
539
+ margin: 0;
540
+ list-style: none;
541
+ outline: none;
542
+ position: relative;
543
+ }
544
+ ._menuOption_1uedq_1 {
545
+ display: flex;
546
+ align-items: center;
547
+ gap: 5px;
548
+ background-color: #fff;
549
+ cursor: pointer;
550
+ padding: 5px;
551
+ }
552
+
553
+ ._menuOption_1uedq_1:hover {
554
+ background-color: #eeeeee;
555
+ }
556
+
557
+ ._icon_1uedq_14 {
558
+ width: 30px;
559
+ }
560
+
561
+ ._label_1uedq_18 {
562
+ flex: 1;
563
+ }
@@ -0,0 +1,10 @@
1
+ import type { AdjustTaskToWorkingDatesParams, OnDateChangeSuggestionType, Task, TaskOrEmpty, TaskToGlobalIndexMap } from "../types/public-types";
2
+ type ChangeStartAndEndDescendantsParams = {
3
+ adjustTaskToWorkingDates: (params: AdjustTaskToWorkingDatesParams) => Task;
4
+ changedTask: Task;
5
+ descendants: readonly TaskOrEmpty[];
6
+ mapTaskToGlobalIndex: TaskToGlobalIndexMap;
7
+ originalTask: Task;
8
+ };
9
+ export declare const changeStartAndEndDescendants: ({ adjustTaskToWorkingDates, changedTask, descendants, mapTaskToGlobalIndex, originalTask, }: ChangeStartAndEndDescendantsParams) => readonly OnDateChangeSuggestionType[];
10
+ export {};
@@ -0,0 +1 @@
1
+ export {};
@@ -0,0 +1 @@
1
+ export {};
@@ -0,0 +1,9 @@
1
+ import { Task, DateExtremity } from "./public-types";
2
+ export type GanttRelationEvent = {
3
+ extremity: DateExtremity;
4
+ task: Task;
5
+ startX: number;
6
+ startY: number;
7
+ endX: number;
8
+ endY: number;
9
+ };