gantt-task-react-v 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 (144) hide show
  1. package/LICENSE +21 -0
  2. package/README.md +155 -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 +18 -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 +13 -0
  9. package/dist/components/context-menu/index.d.ts +13 -0
  10. package/dist/components/context-menu/menu-option.d.ts +10 -0
  11. package/dist/components/context-menu-options/copy.d.ts +3 -0
  12. package/dist/components/context-menu-options/cut.d.ts +2 -0
  13. package/dist/components/context-menu-options/delete.d.ts +2 -0
  14. package/dist/components/context-menu-options/edit.d.ts +2 -0
  15. package/dist/components/context-menu-options/index.d.ts +5 -0
  16. package/dist/components/context-menu-options/paste.d.ts +2 -0
  17. package/dist/components/gantt/default-check-is-holiday.d.ts +2 -0
  18. package/dist/components/gantt/default-get-copied-task-id.d.ts +2 -0
  19. package/dist/components/gantt/default-round-end-date.d.ts +2 -0
  20. package/dist/components/gantt/default-round-start-date.d.ts +2 -0
  21. package/dist/components/gantt/gantt.d.ts +4 -0
  22. package/dist/components/gantt/task-gantt-content.d.ts +45 -0
  23. package/dist/components/gantt/task-gantt.d.ts +21 -0
  24. package/dist/components/gantt/use-context-menu.d.ts +7 -0
  25. package/dist/components/gantt/use-create-relation.d.ts +18 -0
  26. package/dist/components/gantt/use-get-task-current-state.d.ts +15 -0
  27. package/dist/components/gantt/use-handle-action.d.ts +21 -0
  28. package/dist/components/gantt/use-holidays.d.ts +12 -0
  29. package/dist/components/gantt/use-horizontal-scrollbars.d.ts +9 -0
  30. package/dist/components/gantt/use-selection.d.ts +18 -0
  31. package/dist/components/gantt/use-tablelist-resize.d.ts +9 -0
  32. package/dist/components/gantt/use-task-drag.d.ts +28 -0
  33. package/dist/components/gantt/use-vertical-scrollbars.d.ts +11 -0
  34. package/dist/components/gantt-loader/index.d.ts +6 -0
  35. package/dist/components/gantt-locale/index.d.ts +8 -0
  36. package/dist/components/gantt-theme/default-theme.d.ts +2 -0
  37. package/dist/components/gantt-theme/gantt-theme-builder.d.ts +2 -0
  38. package/dist/components/gantt-theme/index.d.ts +9 -0
  39. package/dist/components/gantt-today/index.d.ts +12 -0
  40. package/dist/components/icons/add-icon.d.ts +2 -0
  41. package/dist/components/icons/copy-icon.d.ts +2 -0
  42. package/dist/components/icons/cut-icon.d.ts +2 -0
  43. package/dist/components/icons/delete-icon.d.ts +2 -0
  44. package/dist/components/icons/drag-indicator-icon.d.ts +2 -0
  45. package/dist/components/icons/edit-icon.d.ts +2 -0
  46. package/dist/components/icons/expand-less-icon.d.ts +2 -0
  47. package/dist/components/icons/expand-more-icon.d.ts +2 -0
  48. package/dist/components/icons/paste-icon.d.ts +2 -0
  49. package/dist/components/other/arrow.d.ts +22 -0
  50. package/dist/components/other/relation-line.d.ts +9 -0
  51. package/dist/components/other/tooltip.d.ts +18 -0
  52. package/dist/components/other/vertical-scroll.d.ts +11 -0
  53. package/dist/components/task-item/bar/bar-content-small.d.ts +6 -0
  54. package/dist/components/task-item/bar/bar-date-handle/index.d.ts +13 -0
  55. package/dist/components/task-item/bar/bar-default.d.ts +1 -0
  56. package/dist/components/task-item/bar/bar-display.d.ts +19 -0
  57. package/dist/components/task-item/bar/bar-progress-handle/index.d.ts +10 -0
  58. package/dist/components/task-item/bar/index.d.ts +3 -0
  59. package/dist/components/task-item/bar/types.d.ts +8 -0
  60. package/dist/components/task-item/bar-comparison/index.d.ts +13 -0
  61. package/dist/components/task-item/bar-relation/bar-relation-handle.d.ts +11 -0
  62. package/dist/components/task-item/bar-relation/index.d.ts +6 -0
  63. package/dist/components/task-item/milestone/index.d.ts +8 -0
  64. package/dist/components/task-item/project/project-display.d.ts +20 -0
  65. package/dist/components/task-item/task-item.d.ts +36 -0
  66. package/dist/components/task-item/task-label/index.d.ts +3 -0
  67. package/dist/components/task-item/task-label/task-center-label.d.ts +7 -0
  68. package/dist/components/task-item/task-label/task-outline-label.d.ts +3 -0
  69. package/dist/components/task-item/task-label/task-responsive-label.d.ts +7 -0
  70. package/dist/components/task-item/task-label/types.d.ts +11 -0
  71. package/dist/components/task-list/index.d.ts +42 -0
  72. package/dist/components/task-list/task-list-sortable-table/index.d.ts +3 -0
  73. package/dist/components/task-list/task-list-sortable-table/keyboardCoordinates.d.ts +3 -0
  74. package/dist/components/task-list/task-list-sortable-table/types.d.ts +6 -0
  75. package/dist/components/task-list/task-list-sortable-table/utilities.d.ts +8 -0
  76. package/dist/components/task-list/task-list-sortable-table-row/index.d.ts +3 -0
  77. package/dist/components/task-list/task-list-table/index.d.ts +3 -0
  78. package/dist/components/task-list/task-list-table-columns/add-column.d.ts +3 -0
  79. package/dist/components/task-list/task-list-table-columns/date-end-column.d.ts +3 -0
  80. package/dist/components/task-list/task-list-table-columns/date-start-column.d.ts +3 -0
  81. package/dist/components/task-list/task-list-table-columns/delete-column.d.ts +3 -0
  82. package/dist/components/task-list/task-list-table-columns/dependencies-column.d.ts +3 -0
  83. package/dist/components/task-list/task-list-table-columns/edit-column.d.ts +3 -0
  84. package/dist/components/task-list/task-list-table-columns/title-column.d.ts +3 -0
  85. package/dist/components/task-list/task-list-table-columns/use-task-list-columns-builder.d.ts +45 -0
  86. package/dist/components/task-list/task-list-table-headers/index.d.ts +3 -0
  87. package/dist/components/task-list/task-list-table-row/index.d.ts +3 -0
  88. package/dist/constants.d.ts +1 -0
  89. package/dist/gantt-task-react.es.js +19900 -0
  90. package/dist/gantt-task-react.umd.js +19917 -0
  91. package/dist/helpers/adjust-task-to-working-dates.d.ts +12 -0
  92. package/dist/helpers/bar-helper.d.ts +12 -0
  93. package/dist/helpers/check-has-children.d.ts +2 -0
  94. package/dist/helpers/check-is-descendant.d.ts +2 -0
  95. package/dist/helpers/collect-parents.d.ts +2 -0
  96. package/dist/helpers/collect-visible-tasks.d.ts +2 -0
  97. package/dist/helpers/compare-dates.d.ts +1 -0
  98. package/dist/helpers/copy-tasks.d.ts +2 -0
  99. package/dist/helpers/count-holidays.d.ts +2 -0
  100. package/dist/helpers/date-helper.d.ts +4 -0
  101. package/dist/helpers/generate-triangle-points.d.ts +1 -0
  102. package/dist/helpers/get-all-descendants.d.ts +2 -0
  103. package/dist/helpers/get-change-task-metadata.d.ts +13 -0
  104. package/dist/helpers/get-childs-and-roots.d.ts +2 -0
  105. package/dist/helpers/get-critical-path.d.ts +2 -0
  106. package/dist/helpers/get-date-by-offset.d.ts +2 -0
  107. package/dist/helpers/get-dates-diff.d.ts +2 -0
  108. package/dist/helpers/get-dependency-map.d.ts +2 -0
  109. package/dist/helpers/get-map-task-to-coordinates.d.ts +3 -0
  110. package/dist/helpers/get-map-task-to-global-index.d.ts +5 -0
  111. package/dist/helpers/get-map-task-to-nested-index.d.ts +2 -0
  112. package/dist/helpers/get-map-task-to-row-index.d.ts +6 -0
  113. package/dist/helpers/get-min-and-max-childs-map.d.ts +2 -0
  114. package/dist/helpers/get-next-working-date.d.ts +2 -0
  115. package/dist/helpers/get-previous-working-date.d.ts +2 -0
  116. package/dist/helpers/get-relation-circle-by-coordinates.d.ts +2 -0
  117. package/dist/helpers/get-task-coordinates.d.ts +4 -0
  118. package/dist/helpers/get-task-row-index.d.ts +2 -0
  119. package/dist/helpers/get-tasks-map.d.ts +5 -0
  120. package/dist/helpers/move-helper.d.ts +4 -0
  121. package/dist/helpers/obj-helper.d.ts +1 -0
  122. package/dist/helpers/round-task-dates.d.ts +2 -0
  123. package/dist/helpers/sort-tasks.d.ts +2 -0
  124. package/dist/helpers/use-optimized-list.d.ts +24 -0
  125. package/dist/helpers/use-task-tooltip.d.ts +12 -0
  126. package/dist/i18n.d.ts +2 -0
  127. package/dist/index.d.ts +14 -0
  128. package/dist/locales/en.d.ts +2 -0
  129. package/dist/locales/index.d.ts +1 -0
  130. package/dist/selected-tasks/get-parent-tasks.d.ts +2 -0
  131. package/dist/selected-tasks/get-selected-tasks.d.ts +2 -0
  132. package/dist/selected-tasks/get-tasks-with-descendants.d.ts +2 -0
  133. package/dist/style.css +686 -0
  134. package/dist/suggestions/change-start-and-end-descendants.d.ts +10 -0
  135. package/dist/test/date-helper.test.d.ts +1 -0
  136. package/dist/test/gant.test.d.ts +1 -0
  137. package/dist/types/common-types.d.ts +114 -0
  138. package/dist/types/gantt-task-actions.d.ts +9 -0
  139. package/dist/types/index.d.ts +6 -0
  140. package/dist/types/internal-types.d.ts +222 -0
  141. package/dist/types/public-types.d.ts +538 -0
  142. package/dist/types/theme-locale.d.ts +30 -0
  143. package/dist/types/theme-types.d.ts +84 -0
  144. package/package.json +113 -0
package/dist/style.css ADDED
@@ -0,0 +1,686 @@
1
+ /*noinspection CssUnresolvedCustomProperty*/
2
+ ._tooltipDefaultContainer_16o9s_3 {
3
+ background: #fff;
4
+ padding: 12px;
5
+ box-shadow: var(--gant--tooltip-box-shadow);
6
+ border-radius: var(--gantt-shape-border-radius);
7
+ }
8
+
9
+ ._tooltipDefaultContainerTexts_16o9s_17 {
10
+ display: flex;
11
+ flex-direction: column;
12
+ gap: 8px;
13
+ margin-top: 12px;
14
+ }
15
+
16
+ ._tooltipDefaultContainerParagraph_16o9s_31 {
17
+ font-size: 12px;
18
+ /*noinspection CssUnresolvedCustomProperty*/
19
+ color: var(--gantt-secondary-text-color);
20
+ padding: 0;
21
+ margin: 0;
22
+ }
23
+
24
+ ._tooltipDetailsContainer_16o9s_47 {
25
+ position: absolute;
26
+ display: flex;
27
+ flex-shrink: 0;
28
+ pointer-events: none;
29
+ -webkit-touch-callout: none;
30
+ -webkit-user-select: none;
31
+ -moz-user-select: none;
32
+ -ms-user-select: none;
33
+ user-select: none;
34
+ }
35
+
36
+ ._tooltipDetailsContainerHidden_16o9s_71 {
37
+ visibility: hidden;
38
+ position: absolute;
39
+ display: flex;
40
+ pointer-events: none;
41
+ }
42
+ ._scroll_hp3qb_1 {
43
+ overflow: hidden auto;
44
+ width: 1rem;
45
+ flex-shrink: 0;
46
+ /*firefox*/
47
+ /*scrollbar-width: auto;*/
48
+ }
49
+
50
+ ._scroll_hp3qb_1::-webkit-scrollbar {
51
+ width: 1rem;
52
+ height: 1rem;
53
+ }
54
+
55
+ ._scroll_hp3qb_1::-webkit-scrollbar-corner {
56
+ background: transparent;
57
+ }
58
+
59
+ ._scroll_hp3qb_1::-webkit-scrollbar-thumb {
60
+ border: 4px solid transparent;
61
+ min-height: 2rem;
62
+ /*noinspection CssUnresolvedCustomProperty*/
63
+ background: var(--gantt-scrollbar-thumb-color, rgba(0, 0, 0, 0.2));
64
+ border-radius: 12px;
65
+ background-clip: padding-box;
66
+ }
67
+
68
+ ._scroll_hp3qb_1::-webkit-scrollbar-thumb:hover {
69
+ border: 2px solid transparent;
70
+ /*noinspection CssUnresolvedCustomProperty*/
71
+ background: var(--gantt-scrollbar-thumb-color, rgba(0, 0, 0, 0.3));
72
+ background-clip: padding-box;
73
+ }
74
+ ._taskListNameWrapper_16z6n_1 {
75
+ display: flex;
76
+ align-items: center;
77
+ gap: 4px;
78
+ position: relative;
79
+ }
80
+
81
+ ._dragging_16z6n_15 {
82
+ opacity: 0.5;
83
+ }
84
+
85
+ ._taskListExpander_16z6n_23 {
86
+ position: absolute;
87
+ left: 0;
88
+ vertical-align: middle;
89
+ text-align: center;
90
+ user-select: none;
91
+ cursor: pointer;
92
+ /*noinspection CssUnresolvedCustomProperty*/
93
+ fill: var(--gantt-table-action-color);
94
+ }
95
+
96
+ ._taskListEmptyExpander_16z6n_45 {
97
+ user-select: none;
98
+ cursor: default;
99
+ }
100
+
101
+ ._taskName_16z6n_55 {
102
+ overflow: hidden;
103
+ white-space: nowrap;
104
+ text-overflow: ellipsis;
105
+ margin-left: 24px;
106
+ }
107
+ ._button_l55x0_1 {
108
+ margin: 0;
109
+ padding: 5px;
110
+ border: none;
111
+ outline: none;
112
+ background: transparent;
113
+ cursor: pointer;
114
+ font-size: 20px;
115
+ font-weight: bold;
116
+ z-index: 2;
117
+ /*noinspection CssUnresolvedCustomProperty*/
118
+ fill: var(--gantt-table-action-color);
119
+ }
120
+
121
+ ._button_l55x0_1 svg {
122
+ width: 20px;
123
+ height: 20px;
124
+ }
125
+ /*noinspection CssUnresolvedCustomProperty*/
126
+ ._ganttTable_5goa0_3 {
127
+ display: table;
128
+ border-bottom: 1px solid var(--gantt-table-divider-color, var(--gantt-divider-color));
129
+ border-top: 1px solid var(--gantt-table-divider-color, var(--gantt-divider-color));
130
+ }
131
+
132
+ ._ganttTable_Header_5goa0_15 {
133
+ display: table-row;
134
+ list-style: none;
135
+ }
136
+
137
+ /*noinspection CssUnresolvedCustomProperty*/
138
+ ._ganttTable_HeaderMoveTask_5goa0_27 {
139
+ display: table-cell;
140
+ min-width: var(--gantt-table-drag-column-width);
141
+ width: var(--gantt-table-drag-column-width);
142
+ }
143
+
144
+ ._ganttTable_HeaderSeparator_5goa0_39 {
145
+ /*noinspection CssUnresolvedCustomProperty*/
146
+ border-right: 1px solid var(--gantt-table-divider-color, var(--gantt-divider-color));
147
+ opacity: 1;
148
+ margin-left: -2px;
149
+ }
150
+
151
+ ._ganttTable_HeaderItem_5goa0_53 {
152
+ position: relative;
153
+ box-sizing: border-box;
154
+ overflow: hidden;
155
+ padding-left: 5px;
156
+ padding-right: 5px;
157
+ display: table-cell;
158
+ /*noinspection CssInvalidPropertyValue*/
159
+ vertical-align: -webkit-baseline-middle;
160
+ vertical-align: middle;
161
+ }
162
+
163
+ ._resizer_5goa0_77 {
164
+ position: absolute;
165
+ top: 0;
166
+ right: -3px;
167
+ height: 100%;
168
+ width: 6px;
169
+ cursor: ew-resize;
170
+ user-select: none;
171
+ }
172
+
173
+ ._ganttTable_HeaderItem_5goa0_53:last-child ._resizer_5goa0_77 {
174
+ width: 5px;
175
+ right: 5px;
176
+ }
177
+
178
+ /*noinspection CssUnresolvedCustomProperty*/
179
+ ._resizer_5goa0_77:hover {
180
+ background-color: var(--gantt-table-hover-action-color);
181
+ }
182
+
183
+ /*noinspection CssUnresolvedCustomProperty*/
184
+ ._taskListWrapper_196te_3 {
185
+ display: table;
186
+ border-bottom: 1px solid var(--gantt-divider-color);
187
+ table-layout: fixed;
188
+ }
189
+ ._taskListTableRow_1yqtr_1 {
190
+ position: relative;
191
+ display: table-row;
192
+ text-overflow: ellipsis;
193
+ }
194
+
195
+ ._isAfter_1yqtr_13 {
196
+ /*noinspection CssUnresolvedCustomProperty*/
197
+
198
+ &:after {
199
+ content: '';
200
+ position: absolute;
201
+ background-color: var(--gantt-table-hover-action-color);
202
+ width: 100%;
203
+ height: 2px;
204
+ bottom: 0;
205
+ left: 0;
206
+ }
207
+ }
208
+
209
+ ._isBefore_1yqtr_41 {
210
+ /*noinspection CssUnresolvedCustomProperty*/
211
+
212
+ &:after {
213
+ content: '';
214
+ position: absolute;
215
+ background-color: var(--gantt-table-hover-action-color);
216
+ width: 100%;
217
+ height: 2px;
218
+ top: 0;
219
+ left: 0;
220
+ }
221
+ }
222
+
223
+ ._isOverlay_1yqtr_69 {
224
+ /*noinspection CssUnresolvedCustomProperty*/
225
+
226
+ &:after {
227
+ content: '';
228
+ position: absolute;
229
+ width: 100%;
230
+ height: 100%;
231
+ top: 0;
232
+ left: 0;
233
+ border: 1px solid var(--gantt-divider-color);
234
+ }
235
+ }
236
+
237
+ /*noinspection CssUnresolvedCustomProperty*/
238
+ ._dragIndicator_1yqtr_99 {
239
+ cursor: grab;
240
+ color: var(--gantt-table-drag-indicator-color, var(--gantt-table-action-color));
241
+ fill: var(--gantt-table-drag-indicator-color, var(--gantt-table-action-color));
242
+ display: table-cell;
243
+ vertical-align: middle;
244
+ text-align: center;
245
+ min-width: var(--gantt-table-drag-column-width);
246
+ }
247
+
248
+ ._dragIndicatorIcon_1yqtr_119 {
249
+ width: 18px;
250
+ height: 18px;
251
+ color: inherit;
252
+ fill: currentColor;
253
+ vertical-align: middle;
254
+ }
255
+
256
+ ._isCut_1yqtr_135 {
257
+ /*noinspection CssUnresolvedCustomProperty*/
258
+
259
+ &:after {
260
+ content: '';
261
+ position: absolute;
262
+ width: 100%;
263
+ height: 100%;
264
+ top: 0;
265
+ left: 0;
266
+ background-color: rgba(255, 255, 255, 0.7);
267
+ border: 1px dashed var(--gantt-table-hover-action-color);
268
+ z-index: 2;
269
+ }
270
+ }
271
+
272
+ ._taskListCell_1yqtr_167 {
273
+ display: table-cell;
274
+ vertical-align: middle;
275
+ white-space: nowrap;
276
+ overflow: hidden;
277
+ text-overflow: ellipsis;
278
+ }
279
+ /*noinspection CssUnresolvedCustomProperty*/
280
+ ._taskListWrapper_196te_3 {
281
+ display: table;
282
+ border-bottom: 1px solid var(--gantt-divider-color);
283
+ table-layout: fixed;
284
+ }
285
+ ._taskListRoot_3y2l5_1 {
286
+ position: relative;
287
+ /*noinspection CssUnresolvedCustomProperty*/
288
+ border-left: 1px solid var(--gantt-table-divider-color, var(--gantt-divider-color));
289
+ }
290
+
291
+ ._taskListHorizontalScroll_3y2l5_13 {
292
+ overflow-x: scroll;
293
+ }
294
+
295
+ ._taskListHorizontalScroll_3y2l5_13::-webkit-scrollbar {
296
+ width: 1rem;
297
+ height: 1rem;
298
+ }
299
+
300
+ ._taskListHorizontalScroll_3y2l5_13::-webkit-scrollbar-corner {
301
+ background: transparent;
302
+ }
303
+
304
+ ._taskListHorizontalScroll_3y2l5_13::-webkit-scrollbar-thumb {
305
+ border: 4px solid transparent;
306
+ /*noinspection CssUnresolvedCustomProperty*/
307
+ background: var(--gantt-scrollbar-thumb-color);
308
+ border-radius: 12px;
309
+ background-clip: padding-box;
310
+ }
311
+
312
+ ._taskListHorizontalScroll_3y2l5_13::-webkit-scrollbar-thumb:hover {
313
+ border: 2px solid transparent;
314
+ /*noinspection CssUnresolvedCustomProperty*/
315
+ background: var(--gantt-scrollbar-thumb-color);
316
+ background-clip: padding-box;
317
+ }
318
+
319
+ ._taskListResizer_3y2l5_69 {
320
+ position: absolute;
321
+ top: 0;
322
+ right: -3px;
323
+ height: 100%;
324
+ width: 6px;
325
+ cursor: ew-resize;
326
+ user-select: none;
327
+ z-index: 3;
328
+ }
329
+
330
+ /*noinspection CssUnresolvedCustomProperty*/
331
+ ._taskListResizer_3y2l5_69:hover {
332
+ background-color: var(--gantt-table-hover-action-color);
333
+ filter: var(--gantt-hover-filter);
334
+ }
335
+
336
+ ._taskListResizer_3y2l5_69:hover::before {
337
+ display: none;
338
+ }
339
+
340
+ ._taskListResizer_3y2l5_69::before {
341
+ content: "";
342
+ position: absolute;
343
+ top: 0;
344
+ left: 3px;
345
+ height: 100%;
346
+ width: 1px;
347
+ /*noinspection CssUnresolvedCustomProperty*/
348
+ background-color: var(--gantt-table-resize-color, var(--gantt-divider-color));
349
+ }
350
+
351
+ ._horizontalContainer_3y2l5_133 {
352
+ margin: 0;
353
+ padding: 0;
354
+ overflow: hidden;
355
+ }
356
+
357
+ ._tableWrapper_3y2l5_145 {
358
+ position: relative;
359
+ }
360
+
361
+ ._scrollToTop_3y2l5_153 {
362
+ position: absolute;
363
+ top: 0;
364
+ left: 0;
365
+ width: 100%;
366
+ height: 20px;
367
+ }
368
+
369
+ ._scrollToBottom_3y2l5_169 {
370
+ position: absolute;
371
+ bottom: 0;
372
+ left: 0;
373
+ width: 100%;
374
+ height: 20px;
375
+ }
376
+
377
+ ._hidden_3y2l5_185 {
378
+ display: none;
379
+ }
380
+ ._ganttToday_1oyhk_1 {
381
+ z-index: 1;
382
+ }
383
+
384
+ ._ganttTodayCircle_1oyhk_9 {
385
+
386
+ }
387
+ ._calendarBottomText_15t8b_1 {
388
+ text-anchor: middle;
389
+ /*noinspection CssUnresolvedCustomProperty*/
390
+ fill: var(--gantt-calendar-bottom-text-color, var(--gantt-secondary-text-color));
391
+ -webkit-touch-callout: none;
392
+ -webkit-user-select: none;
393
+ -moz-user-select: none;
394
+ -ms-user-select: none;
395
+ user-select: none;
396
+ pointer-events: none;
397
+ }
398
+
399
+ ._calendarTopTick_15t8b_25 {
400
+ /*noinspection CssUnresolvedCustomProperty*/
401
+ stroke: var(--gantt-calendar-top-divider-color, var(--gantt-divider-color));
402
+ }
403
+
404
+ ._calendarTopText_15t8b_35 {
405
+ text-anchor: middle;
406
+ /*noinspection CssUnresolvedCustomProperty*/
407
+ fill: var(--gantt-calendar-top-text-color, var(--gantt-primary-text-color));
408
+ -webkit-touch-callout: none;
409
+ -webkit-user-select: none;
410
+ -moz-user-select: none;
411
+ -ms-user-select: none;
412
+ user-select: none;
413
+ pointer-events: none;
414
+ font-weight: bold;
415
+ }
416
+
417
+ ._calendarHeader_15t8b_61 {
418
+ fill: transparent;
419
+ /*noinspection CssUnresolvedCustomProperty*/
420
+ stroke: var(--gantt-calendar-stroke-color);
421
+ stroke-width: 1.4;
422
+ }
423
+
424
+ ._calendar_15t8b_1 {
425
+ cursor: auto;
426
+ user-select: none;
427
+ }
428
+
429
+ ._calendarDragging_15t8b_85 {
430
+ cursor: ew-resize;
431
+ }
432
+ ._arrow_clickable_3bsl2_1 {
433
+ cursor: pointer;
434
+ }
435
+
436
+ /*noinspection CssUnresolvedCustomProperty*/
437
+ ._arrow_clickable_3bsl2_1:hover ._mainPath_3bsl2_11 {
438
+ filter: var(--gantt-hover-filter);
439
+ stroke: var(--gantt-arrow-hover-color, red);
440
+ stroke-width: 3px;
441
+ }
442
+
443
+ /*noinspection CssUnresolvedCustomProperty*/
444
+ ._arrow_clickable_3bsl2_1:hover polygon {
445
+ fill: var(--gantt-arrow-hover-color, red);
446
+ }
447
+
448
+ ._mainPath_3bsl2_11 {
449
+ fill: none;
450
+ stroke-width: 2px;
451
+ }
452
+
453
+ ._clickZone_3bsl2_43 {
454
+ fill: none;
455
+ stroke: transparent;
456
+ stroke-width: 8px;
457
+ }
458
+ ._relationLine_wh2qy_1 {
459
+ /*noinspection CssUnresolvedCustomProperty*/
460
+ stroke: var(--gantt-arrow-relation-color);
461
+ stroke-width: 2;
462
+ stroke-dasharray: 4;
463
+ z-index: 2;
464
+ }
465
+ ._barWrapper_5jhkr_1 {
466
+ cursor: pointer;
467
+ outline: none;
468
+ }
469
+
470
+ ._barWrapper_5jhkr_1:hover ._barHandle_5jhkr_11 {
471
+ visibility: visible;
472
+ opacity: 1;
473
+ }
474
+
475
+ /*noinspection CssUnresolvedCustomProperty*/
476
+ ._barHandle_5jhkr_11 {
477
+ fill: var(--gantt-bar-handle-color);
478
+ cursor: ew-resize;
479
+ opacity: 0;
480
+ visibility: hidden;
481
+ }
482
+
483
+ ._barHandleImportantVisible_5jhkr_37 {
484
+ visibility: visible !important;
485
+ opacity: 1 !important;
486
+ }
487
+
488
+ ._barHandleImportantHidden_5jhkr_47 {
489
+ visibility: hidden !important;
490
+ opacity: 0 !important;
491
+ }
492
+
493
+ ._barBackground_5jhkr_57 {
494
+ user-select: none;
495
+ stroke-width: 0;
496
+ }
497
+ ._projectWrapper_1maxt_1 {
498
+ cursor: pointer;
499
+ outline: none;
500
+ }
501
+
502
+ ._projectBackground_1maxt_11 {
503
+ user-select: none;
504
+ opacity: 0.6;
505
+ }
506
+
507
+ ._projectTop_1maxt_21 {
508
+ user-select: none;
509
+ }
510
+ ._barRelationHandleWrapper_eluno_1 {
511
+ outline: none;
512
+ }
513
+
514
+ ._barRelationHandleWrapper_eluno_1:hover ._barRelationHandle_eluno_1, ._barRelationHandle_eluno_1._barRelationHandle_drawMode_eluno_9 {
515
+ opacity: 1;
516
+ }
517
+
518
+ /*noinspection CssUnresolvedCustomProperty*/
519
+ ._barRelationHandle_eluno_1 {
520
+ fill: var(--gantt-bar-handle-color);
521
+ stroke: var(--gantt-primary-text-color);
522
+ cursor: pointer;
523
+ opacity: 0;
524
+ z-index: 1;
525
+ }
526
+ ._milestoneWrapper_vcirf_1 {
527
+ cursor: pointer;
528
+ outline: none;
529
+ }
530
+
531
+ ._milestoneBackground_vcirf_11 {
532
+ user-select: none;
533
+ }
534
+ ._barLabel_1ca31_1 {
535
+ fill: #fff;
536
+ text-anchor: middle;
537
+ font-weight: lighter;
538
+ dominant-baseline: central;
539
+ -webkit-touch-callout: none;
540
+ -webkit-user-select: none;
541
+ -moz-user-select: none;
542
+ -ms-user-select: none;
543
+ user-select: none;
544
+ pointer-events: none;
545
+ }
546
+
547
+ ._barLabelHidden_1ca31_27 {
548
+ display: none;
549
+ }
550
+
551
+ /*noinspection CssUnresolvedCustomProperty*/
552
+ ._barLabelOutside_1ca31_37 {
553
+ fill: var(--gantt-secondary-text-color);
554
+ text-anchor: start;
555
+ -webkit-touch-callout: none;
556
+ -webkit-user-select: none;
557
+ -moz-user-select: none;
558
+ -ms-user-select: none;
559
+ user-select: none;
560
+ pointer-events: none;
561
+ }
562
+ ._TaskItemWrapper_8x02m_1 {
563
+ outline: none;
564
+ z-index: 2;
565
+ overflow: visible !important;
566
+ }
567
+ ._barComparison_14078_1 {
568
+ user-select: none;
569
+ stroke-width: 0;
570
+ }
571
+ ._ganttVerticalContainer_1unzl_1 {
572
+ overflow-x: scroll;
573
+ overflow-y: hidden;
574
+ font-size: 0;
575
+ margin: 0;
576
+ padding: 0;
577
+ /*noinspection CssUnresolvedCustomProperty*/
578
+ border-right: 1px solid var(--gantt-calendar-divider-color, var(--gantt-divider-color));
579
+ flex-grow: 1;
580
+ }
581
+
582
+ ._ganttVerticalContainer_1unzl_1::-webkit-scrollbar {
583
+ width: 1rem;
584
+ height: 1rem;
585
+ }
586
+
587
+ ._ganttVerticalContainer_1unzl_1::-webkit-scrollbar-corner {
588
+ background: transparent;
589
+ }
590
+
591
+ ._ganttVerticalContainer_1unzl_1::-webkit-scrollbar-thumb {
592
+ border: 4px solid transparent;
593
+ /*noinspection CssUnresolvedCustomProperty*/
594
+ background: var(--gantt-scrollbar-thumb-color);
595
+ border-radius: 12px;
596
+ background-clip: padding-box;
597
+ }
598
+
599
+ ._ganttVerticalContainer_1unzl_1::-webkit-scrollbar-thumb:hover {
600
+ border: 2px solid transparent;
601
+ /*noinspection CssUnresolvedCustomProperty*/
602
+ background: var(--gantt-scrollbar-thumb-color);
603
+ background-clip: padding-box;
604
+ }
605
+
606
+ ._horizontalContainer_1unzl_71 {
607
+ margin: 0;
608
+ padding: 0;
609
+ overflow: hidden;
610
+ }
611
+
612
+ ._wrapper_1unzl_83 {
613
+ display: flex;
614
+ padding: 0;
615
+ margin: 0;
616
+ list-style: none;
617
+ outline: none;
618
+ position: relative;
619
+ /*noinspection CssUnresolvedCustomProperty*/
620
+ border-bottom: 1px solid var(--gantt-divider-color);
621
+ }
622
+
623
+ ._calendarDragging_1unzl_105 {
624
+ cursor: grabbing;
625
+ }
626
+ /*noinspection CssUnresolvedCustomProperty*/
627
+ ._menuOption_1ulvi_3 {
628
+ display: flex;
629
+ align-items: center;
630
+ text-align: left;
631
+ gap: 12px;
632
+ background-color: #fff;
633
+ cursor: pointer;
634
+ font-size: 16px;
635
+ min-width: 120px;
636
+ border: none;
637
+ padding-block: unset;
638
+ padding-inline: unset;
639
+ min-height: 36px;
640
+ z-index: 1;
641
+ fill: var(--gantt-table-action-color);
642
+ }
643
+
644
+ ._menuOption_1ulvi_3 svg {
645
+ width: 20px;
646
+ height: 20px;
647
+ }
648
+
649
+ ._menuOption_1ulvi_3:hover {
650
+ background-color: #eeeeee;
651
+ }
652
+
653
+ ._icon_1ulvi_55 {
654
+ font-size: inherit;
655
+ }
656
+
657
+ ._label_1ulvi_63 {
658
+ flex: 1;
659
+ }
660
+ /* HTML: <div class="loader"></div> */
661
+ /*noinspection CssInvalidFunction,CssUnresolvedCustomProperty*/
662
+ ._loader_covn4_5 {
663
+ position: absolute;
664
+ height: 4px;
665
+ width: 100%;
666
+ --c: no-repeat linear-gradient(var(--gantt-loading-primary-color) 0 0);
667
+ background: var(--c), var(--c), var(--gantt-loading-secondary-color);
668
+ background-size: 60% 100%;
669
+ animation: _l16_covn4_1 3s infinite;
670
+ }
671
+
672
+ @keyframes _l16_covn4_1 {
673
+ 0% {
674
+ background-position: -150% 0, -150% 0
675
+ }
676
+ 66% {
677
+ background-position: 250% 0, -150% 0
678
+ }
679
+ 100% {
680
+ background-position: 250% 0, 250% 0
681
+ }
682
+ }
683
+
684
+ ._loaderHidden_covn4_49 {
685
+ display: none;
686
+ }
@@ -0,0 +1,10 @@
1
+ import type { AdjustTaskToWorkingDatesParams, OnDateChangeSuggestionType, Task, RenderTask, TaskToGlobalIndexMap } from "../types";
2
+ type ChangeStartAndEndDescendantsParams = {
3
+ adjustTaskToWorkingDates: (params: AdjustTaskToWorkingDatesParams) => Task;
4
+ changedTask: Task;
5
+ descendants: readonly RenderTask[];
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 {};