@thepocman/gantt-task-react 1.0.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.
Files changed (114) 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 +23 -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 +84 -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 +13077 -0
  65. package/dist/gantt-task-react.umd.js +13090 -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-is-real-task.d.ts +2 -0
  71. package/dist/helpers/check-task-has-dependency-warning.d.ts +2 -0
  72. package/dist/helpers/collect-parents.d.ts +2 -0
  73. package/dist/helpers/collect-visible-tasks.d.ts +2 -0
  74. package/dist/helpers/compare-dates.d.ts +1 -0
  75. package/dist/helpers/copy-tasks.d.ts +2 -0
  76. package/dist/helpers/count-holidays.d.ts +2 -0
  77. package/dist/helpers/date-helper.d.ts +4 -0
  78. package/dist/helpers/generate-triangle-points.d.ts +1 -0
  79. package/dist/helpers/get-all-descendants.d.ts +2 -0
  80. package/dist/helpers/get-change-task-metadata.d.ts +13 -0
  81. package/dist/helpers/get-child-out-of-parent-warnings.d.ts +2 -0
  82. package/dist/helpers/get-childs-and-roots.d.ts +5 -0
  83. package/dist/helpers/get-critical-path.d.ts +2 -0
  84. package/dist/helpers/get-date-by-offset.d.ts +2 -0
  85. package/dist/helpers/get-dates-diff.d.ts +2 -0
  86. package/dist/helpers/get-dependency-map-and-warnings.d.ts +2 -0
  87. package/dist/helpers/get-initial-closed-tasks.d.ts +2 -0
  88. package/dist/helpers/get-map-task-to-coordinates.d.ts +7 -0
  89. package/dist/helpers/get-map-task-to-global-index.d.ts +5 -0
  90. package/dist/helpers/get-map-task-to-nested-index.d.ts +2 -0
  91. package/dist/helpers/get-map-task-to-row-index-with-grouping.d.ts +7 -0
  92. package/dist/helpers/get-map-task-to-row-index.d.ts +10 -0
  93. package/dist/helpers/get-previous-next-working-date.d.ts +3 -0
  94. package/dist/helpers/get-relation-circle-by-coordinates.d.ts +2 -0
  95. package/dist/helpers/get-task-coordinates.d.ts +4 -0
  96. package/dist/helpers/get-task-row-index.d.ts +2 -0
  97. package/dist/helpers/get-task-to-has-dependency-warning-map.d.ts +2 -0
  98. package/dist/helpers/get-tasks-map.d.ts +5 -0
  99. package/dist/helpers/round-task-dates.d.ts +7 -0
  100. package/dist/helpers/sort-tasks.d.ts +2 -0
  101. package/dist/helpers/sort-visible-tasks.d.ts +2 -0
  102. package/dist/helpers/use-optimized-list.d.ts +24 -0
  103. package/dist/helpers/use-task-tooltip.d.ts +12 -0
  104. package/dist/index.d.ts +13 -0
  105. package/dist/selected-tasks/get-parent-tasks.d.ts +2 -0
  106. package/dist/selected-tasks/get-selected-tasks.d.ts +2 -0
  107. package/dist/selected-tasks/get-tasks-with-descendants.d.ts +2 -0
  108. package/dist/style.css +563 -0
  109. package/dist/suggestions/change-start-and-end-descendants.d.ts +10 -0
  110. package/dist/test/date-helper.test.d.ts +1 -0
  111. package/dist/test/gant.test.d.ts +1 -0
  112. package/dist/types/gantt-task-actions.d.ts +9 -0
  113. package/dist/types/public-types.d.ts +860 -0
  114. package/package.json +133 -0
package/dist/style.css ADDED
@@ -0,0 +1,563 @@
1
+ ._tooltipDefaultContainer_qip67_1 {
2
+ background: #fff;
3
+ padding: 12px;
4
+ box-shadow: 0 3px 6px rgba(0, 0, 0, 0.16), 0 3px 6px rgba(0, 0, 0, 0.23);
5
+ }
6
+
7
+ ._tooltipDefaultContainerParagraph_qip67_13 {
8
+ font-size: 12px;
9
+ margin-bottom: 6px;
10
+ color: #666;
11
+ }
12
+
13
+ ._tooltipDetailsContainer_qip67_25 {
14
+ position: absolute;
15
+ display: flex;
16
+ flex-shrink: 0;
17
+ pointer-events: none;
18
+ -webkit-touch-callout: none;
19
+ -webkit-user-select: none;
20
+ -moz-user-select: none;
21
+ -ms-user-select: none;
22
+ user-select: none;
23
+ }
24
+
25
+ ._tooltipDetailsContainerHidden_qip67_49 {
26
+ visibility: hidden;
27
+ position: absolute;
28
+ display: flex;
29
+ pointer-events: none;
30
+ }
31
+ ._button_1eue5_1 {
32
+ margin: 0;
33
+ padding: 5px;
34
+ border: none;
35
+ outline: none;
36
+ background: transparent;
37
+ cursor: pointer;
38
+ font-size: 20px;
39
+ font-weight: bold;
40
+ }
41
+ ._taskListNameWrapper_1un0e_1 {
42
+ display: flex;
43
+ align-items: center;
44
+ }
45
+
46
+ ._dragging_1un0e_11 {
47
+ opacity: 0.5;
48
+ }
49
+
50
+ ._taskListExpander_1un0e_19 {
51
+ opacity: 0.9;
52
+ font-size: 18px;
53
+ user-select: none;
54
+ cursor: pointer;
55
+ display: flex;
56
+ }
57
+
58
+ ._taskListEmptyExpander_1un0e_35 {
59
+ user-select: none;
60
+ cursor: default;
61
+ }
62
+
63
+ ._taskName_1un0e_45 {
64
+ overflow: hidden;
65
+ white-space: nowrap;
66
+ text-overflow: ellipsis;
67
+ }
68
+ ._button_1eue5_1 {
69
+ margin: 0;
70
+ padding: 5px;
71
+ border: none;
72
+ outline: none;
73
+ background: transparent;
74
+ cursor: pointer;
75
+ font-size: 20px;
76
+ font-weight: bold;
77
+ }
78
+ ._button_ys66g_1 {
79
+ margin: 0;
80
+ padding: 5px;
81
+ border: none;
82
+ outline: none;
83
+ background: transparent;
84
+ cursor: pointer;
85
+ font-size: 20px;
86
+ }
87
+ ._ganttTableRoot_1ogga_1 {
88
+ display:flex;
89
+ position: relative;
90
+ border-left: #e6e4e4 1px solid;
91
+ overflow: hidden;
92
+ }
93
+
94
+ ._ganttTableWrapper_1ogga_15 {
95
+ display: grid;
96
+ overflow: hidden;
97
+ grid-template-rows: min-content;
98
+ overflow-x: auto;
99
+ scrollbar-width: thin;
100
+ }
101
+
102
+ ._ganttTableWrapper_1ogga_15::-webkit-scrollbar {
103
+ width: 1.1rem;
104
+ height: 1.1rem;
105
+ }
106
+
107
+ ._ganttTableWrapper_1ogga_15::-webkit-scrollbar-corner {
108
+ background: transparent;
109
+ }
110
+
111
+ ._ganttTableWrapper_1ogga_15::-webkit-scrollbar-thumb {
112
+ border: 6px solid transparent;
113
+ background: rgba(0, 0, 0, 0.2);
114
+ background: var(--palette-black-alpha-20, rgba(0, 0, 0, 0.2));
115
+ border-radius: 10px;
116
+ background-clip: padding-box;
117
+ }
118
+
119
+ ._ganttTableWrapper_1ogga_15::-webkit-scrollbar-thumb:hover {
120
+ border: 4px solid transparent;
121
+ background: rgba(0, 0, 0, 0.3);
122
+ background: var(--palette-black-alpha-30, rgba(0, 0, 0, 0.3));
123
+ background-clip: padding-box;
124
+ }
125
+
126
+ ._taskListResizer_1ogga_79 {
127
+ position: absolute;
128
+ top: 0;
129
+ right: -5px;
130
+ height: 100%;
131
+ width: 10px;
132
+ cursor: ew-resize;
133
+ user-select: none;
134
+ }
135
+
136
+ ._taskListResizer_1ogga_79:hover {
137
+ background-color: grey;
138
+ }
139
+
140
+ ._taskListResizer_1ogga_79::before {
141
+ content: "";
142
+ position: absolute;
143
+ top: 0;
144
+ left: 4px;
145
+ height: 100%;
146
+ width: 2px;
147
+ background-color: #e5e5e5;
148
+ }
149
+
150
+ ._taskListContent_1ogga_127 {
151
+ overflow-x: hidden;
152
+ overflow-y: auto;
153
+ position: relative;
154
+ /* scrollbar-width: thin; */
155
+ }
156
+ ._taskListContent_1ogga_127::-webkit-scrollbar {
157
+ display: none;
158
+ }
159
+
160
+ ._hidden_1ogga_147 {
161
+ display: none;
162
+ }
163
+ ._ganttTable_Header_1ndeo_1 {
164
+ display: table;
165
+ border-bottom: #e6e4e4 3px solid;
166
+ border-top: #e6e4e4 3px solid;
167
+ box-sizing: content-box;
168
+ }
169
+
170
+ ._ganttTable_HeaderSeparator_1ndeo_15 {
171
+ border-right: 1px solid rgb(196, 196, 196);
172
+ opacity: 1;
173
+ margin-left: -2px;
174
+ }
175
+
176
+
177
+ ._ganttTable_HeaderContent_1ndeo_29 {
178
+ display: flex;
179
+ justify-content: space-between;
180
+ align-items: center;
181
+ }
182
+
183
+ ._ganttTable_HeaderTitle_1ndeo_41 {
184
+
185
+ }
186
+
187
+ ._ganttTable_HeaderItem_1ndeo_49 {
188
+ position: relative;
189
+ box-sizing: border-box;
190
+ overflow: hidden;
191
+ padding-left: 5px;
192
+ padding-right: 5px;
193
+ display: table-cell;
194
+ vertical-align: -webkit-baseline-middle;
195
+ vertical-align: middle;
196
+ }
197
+
198
+
199
+
200
+ ._resizer_1ndeo_75 {
201
+ position: absolute;
202
+ top: 0;
203
+ right: -5px;
204
+ height: 100%;
205
+ width: 10px;
206
+ cursor: ew-resize;
207
+ user-select: none;
208
+ }
209
+ ._ganttTable_HeaderItem_1ndeo_49:last-child ._resizer_1ndeo_75 {
210
+ width: 5px;
211
+ right: 5px;
212
+ }
213
+
214
+ ._resizer_1ndeo_75:hover {
215
+ background-color: grey;
216
+ }
217
+
218
+ ._taskListHeaderAction_wxi5f_1 {
219
+
220
+ }
221
+ ._taskListTableRow_1e35i_1 {
222
+ position: relative;
223
+ display: table-row;
224
+ text-overflow: ellipsis;
225
+ cursor:grab
226
+ }
227
+ ._taskListTableRowGrabbing_1e35i_13 {
228
+ cursor:grabbing
229
+ }
230
+
231
+ ._cut_1e35i_21 {
232
+ opacity: 0.3;
233
+ }
234
+
235
+ ._taskListCell_1e35i_29 {
236
+ box-sizing: border-box;
237
+ display: table-cell;
238
+ vertical-align: middle;
239
+ white-space: nowrap;
240
+ overflow: hidden;
241
+ text-overflow: ellipsis;
242
+ padding-left: 5px;
243
+ }
244
+ ._taskListCellInner_1e35i_47 {
245
+ display: flex;
246
+ align-items: center;
247
+ }
248
+
249
+ ._dropAfter_1e35i_57 {
250
+ position: absolute;
251
+ z-index: 1;
252
+ display: flex;
253
+ align-items: center;
254
+ bottom: 0px;
255
+ left: 0;
256
+ width: 100%;
257
+ height: 8px;
258
+ color: transparent;
259
+ }
260
+
261
+ ._dropAfterLighten_1e35i_81 {
262
+ border-radius: 6px;
263
+ }
264
+
265
+ ._dropAfter_1e35i_57::before {
266
+ content: "";
267
+ width: 12px;
268
+ height: 12px;
269
+ border-radius: 6px;
270
+ background-color: currentColor;
271
+ }
272
+
273
+ ._dropBefore_1e35i_105 {
274
+ position: absolute;
275
+ z-index: 1;
276
+ display: flex;
277
+ align-items: center;
278
+ top:0px;
279
+ width: 100%;
280
+ height: 8px;
281
+ color: transparent;
282
+ }
283
+
284
+ ._dropBeforeLighten_1e35i_127 {
285
+ border-radius: 6px;
286
+ }
287
+
288
+ ._dropBefore_1e35i_105::before {
289
+ content: "";
290
+ width: 12px;
291
+ height: 12px;
292
+ border-radius: 6px;
293
+ background-color: currentColor;
294
+ }
295
+ ._taskListWrapper_5941j_1 {
296
+ display: table;
297
+ }
298
+ ._calendarMain_lemhx_1{
299
+ border-top: #e6e4e4 3px solid;
300
+ border-bottom: #e6e4e4 3px solid;
301
+ box-sizing: content-box;
302
+ }
303
+
304
+ ._calendarBottomText_lemhx_13 {
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_lemhx_35 {
316
+ stroke: #e6e4e4;
317
+ }
318
+
319
+ ._calendarTopText_lemhx_43 {
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_lemhx_65 {
331
+ fill: #ffffff;
332
+ stroke: #e0e0e0;
333
+ stroke-width: 1.4;
334
+ }
335
+ ._ganttTaskRoot_1g0yd_1 {
336
+ display:flex;
337
+ flex-direction: column;
338
+ overflow-x: scroll;
339
+ overflow-y: hidden;
340
+ font-size: 0;
341
+ margin: 0;
342
+ padding: 0;
343
+ }
344
+ /* Only chrome otherwise the firefox scrollbar has no edge*/
345
+ @media screen and (-webkit-min-device-pixel-ratio:0) and (min-resolution:.001dpcm) {
346
+ ._ganttTaskRoot_1g0yd_1 {
347
+ scrollbar-width: thin;
348
+ }
349
+ }
350
+
351
+ /* .ganttTaskRoot::-webkit-scrollbar {
352
+ width: 1.1rem;
353
+ height: 1.1rem;
354
+ }
355
+
356
+ .ganttTaskRoot::-webkit-scrollbar-corner {
357
+ background: transparent;
358
+ }
359
+
360
+ .ganttTaskRoot::-webkit-scrollbar-thumb {
361
+ border: 6px solid transparent;
362
+ background: rgba(0, 0, 0, 0.2);
363
+ background: var(--palette-black-alpha-20, rgba(0, 0, 0, 0.2));
364
+ border-radius: 10px;
365
+ background-clip: padding-box;
366
+ }
367
+
368
+ .ganttTaskRoot::-webkit-scrollbar-thumb:hover {
369
+ border: 4px solid transparent;
370
+ background: rgba(0, 0, 0, 0.3);
371
+ background: var(--palette-black-alpha-30, rgba(0, 0, 0, 0.3));
372
+ background-clip: padding-box;
373
+ } */
374
+
375
+ ._ganttTaskContent_1g0yd_81 {
376
+ margin: 0;
377
+ padding: 0;
378
+ overflow-x: hidden;
379
+ overflow-y: auto;
380
+ }
381
+ /* Only chrome otherwise the firefox scrollbar has no edges*/
382
+ @media screen and (-webkit-min-device-pixel-ratio:0) and (min-resolution:.001dpcm) {
383
+ ._ganttTaskContent_1g0yd_81 {
384
+ scrollbar-width: thin;
385
+ }
386
+ }
387
+
388
+ ._wrapper_1g0yd_107 {
389
+ display:grid;
390
+ overflow-x: hidden;
391
+ overflow-y: hidden;
392
+ padding: 0;
393
+ margin: 0;
394
+ list-style: none;
395
+ outline: none;
396
+ position: relative;
397
+ }
398
+ ._hoverVisibleWrapper_11ld1_1:hover ._wrapper_11ld1_1 {
399
+ display: initial;
400
+ }
401
+
402
+ ._wrapper_11ld1_1 {
403
+ cursor: pointer;
404
+ }
405
+
406
+ ._wrapper_11ld1_1:hover ._mainPath_11ld1_17 {
407
+ filter: drop-shadow(0px 0px 2px rgba(0, 0, 0, .7));
408
+ }
409
+
410
+ ._mainPath_11ld1_17 {
411
+ fill: none;
412
+ stroke-width: 1.5px;
413
+ }
414
+
415
+ ._clickZone_11ld1_35 {
416
+ fill: transparent;
417
+ stroke: transparent;
418
+ }
419
+ ._arrow_clickable_1k55i_1 {
420
+ cursor: pointer;
421
+ }
422
+
423
+ ._arrow_clickable_1k55i_1:hover ._mainPath_1k55i_9 {
424
+ filter: drop-shadow(0px 0px 2px rgba(0, 0, 0, .7));
425
+ }
426
+
427
+ ._mainPath_1k55i_9 {
428
+ fill: none;
429
+ stroke-width: 1.5px;
430
+ }
431
+
432
+ ._clickZone_1k55i_27 {
433
+ fill: none;
434
+ stroke: transparent;
435
+ stroke-width: 8px;
436
+ }
437
+ ._relationLine_ftzm9_1 {
438
+ stroke: grey;
439
+ stroke-width: 2;
440
+ stroke-dasharray: 4;
441
+ }
442
+ ._barWrapper_1kg71_1 {
443
+ cursor: pointer;
444
+ outline: none;
445
+ }
446
+
447
+ ._barWrapper_1kg71_1:hover ._barHandle_1kg71_11 {
448
+ visibility: visible;
449
+ opacity: 1;
450
+ }
451
+
452
+ ._barHandle_1kg71_11 {
453
+ fill: #ddd;
454
+ cursor: ew-resize;
455
+ opacity: 0;
456
+ visibility: hidden;
457
+ }
458
+
459
+ ._barHandle_1kg71_11:hover {
460
+ fill: #a2a2a2;
461
+ }
462
+
463
+ ._barBackground_1kg71_43 {
464
+ user-select: none;
465
+ stroke-width: 0;
466
+ }
467
+ ._barRelationHandleWrapper_1744h_1:hover ._barRelationHandle_1744h_1, ._barRelationHandle_1744h_1._barRelationHandle_drawMode_1744h_1 {
468
+ opacity: 1;
469
+ }
470
+
471
+ ._barRelationHandle_1744h_1 {
472
+ fill: #ddd;
473
+ stroke: #333;
474
+ cursor: pointer;
475
+ opacity: 0;
476
+ }
477
+
478
+ ._barRelationHandle_1744h_1:hover {
479
+ fill: #a2a2a2;
480
+ }
481
+ ._projectWrapper_1maxt_1 {
482
+ cursor: pointer;
483
+ outline: none;
484
+ }
485
+
486
+ ._projectBackground_1maxt_11 {
487
+ user-select: none;
488
+ opacity: 0.6;
489
+ }
490
+
491
+ ._projectTop_1maxt_21 {
492
+ user-select: none;
493
+ }
494
+ ._milestoneWrapper_vcirf_1 {
495
+ cursor: pointer;
496
+ outline: none;
497
+ }
498
+
499
+ ._milestoneBackground_vcirf_11 {
500
+ user-select: none;
501
+ }
502
+ ._barLabel_y0tyg_1 {
503
+ text-anchor: middle;
504
+ font-weight: lighter;
505
+ dominant-baseline: central;
506
+ -webkit-touch-callout: none;
507
+ -webkit-user-select: none;
508
+ -moz-user-select: none;
509
+ -ms-user-select: none;
510
+ user-select: none;
511
+ pointer-events: none;
512
+ }
513
+
514
+ ._barLabelOutside_y0tyg_25 {
515
+ text-anchor: start;
516
+ -webkit-touch-callout: none;
517
+ -webkit-user-select: none;
518
+ -moz-user-select: none;
519
+ -ms-user-select: none;
520
+ user-select: none;
521
+ pointer-events: none;
522
+ }
523
+ ._hoverVisibleWrapper_11ld1_1:hover ._wrapper_11ld1_1 {
524
+ display: initial;
525
+ }
526
+
527
+ ._wrapper_11ld1_1 {
528
+ cursor: pointer;
529
+ }
530
+
531
+ ._wrapper_11ld1_1:hover ._mainPath_11ld1_17 {
532
+ filter: drop-shadow(0px 0px 2px rgba(0, 0, 0, .7));
533
+ }
534
+
535
+ ._mainPath_11ld1_17 {
536
+ fill: none;
537
+ stroke-width: 1.5px;
538
+ }
539
+
540
+ ._clickZone_11ld1_35 {
541
+ fill: transparent;
542
+ stroke: transparent;
543
+ }
544
+ ._menuOption_z7pb4_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_z7pb4_1:hover {
554
+ background-color: #eeeeee;
555
+ }
556
+
557
+ ._icon_z7pb4_27 {
558
+ width: 30px;
559
+ }
560
+
561
+ ._label_z7pb4_35 {
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
+ };