@worktile/gantt 18.0.0 → 18.0.2
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/components/scrollbar/scrollbar.component.d.ts +12 -0
- package/esm2022/components/scrollbar/scrollbar.component.mjs +27 -0
- package/esm2022/gantt.component.mjs +5 -3
- package/esm2022/gantt.module.mjs +8 -3
- package/esm2022/public-api.mjs +2 -1
- package/fesm2022/worktile-gantt.mjs +32 -5
- package/fesm2022/worktile-gantt.mjs.map +1 -1
- package/gantt.component.scss +27 -2
- package/gantt.module.d.ts +3 -2
- package/package.json +1 -1
- package/public-api.d.ts +1 -0
- package/styles/variables.scss +4 -0
package/gantt.component.scss
CHANGED
|
@@ -54,6 +54,19 @@
|
|
|
54
54
|
right: 0;
|
|
55
55
|
z-index: 3;
|
|
56
56
|
display: flex;
|
|
57
|
+
|
|
58
|
+
&.gantt-scrollbar-bg {
|
|
59
|
+
background-color: variables.$gantt-container-background-color;
|
|
60
|
+
|
|
61
|
+
.gantt-table-scrollbar {
|
|
62
|
+
&.with-scrollbar {
|
|
63
|
+
border-right: 1px solid variables.$gantt-border-color;
|
|
64
|
+
z-index: 3;
|
|
65
|
+
box-shadow: variables.$gantt-scrollbar-shadow;
|
|
66
|
+
}
|
|
67
|
+
}
|
|
68
|
+
}
|
|
69
|
+
|
|
57
70
|
.gantt-table-scrollbar {
|
|
58
71
|
&.with-scrollbar {
|
|
59
72
|
overflow-x: scroll;
|
|
@@ -134,6 +147,16 @@
|
|
|
134
147
|
}
|
|
135
148
|
}
|
|
136
149
|
|
|
150
|
+
&.gantt-scroll-container {
|
|
151
|
+
.gantt-container {
|
|
152
|
+
.gantt-main-container {
|
|
153
|
+
&::-webkit-scrollbar {
|
|
154
|
+
position: static;
|
|
155
|
+
}
|
|
156
|
+
}
|
|
157
|
+
}
|
|
158
|
+
}
|
|
159
|
+
|
|
137
160
|
&.gantt-normal-viewport {
|
|
138
161
|
.cdk-virtual-scroll-content-wrapper {
|
|
139
162
|
height: 100%;
|
|
@@ -167,15 +190,17 @@
|
|
|
167
190
|
left: 0;
|
|
168
191
|
right: 0;
|
|
169
192
|
bottom: 0;
|
|
170
|
-
z-index:
|
|
193
|
+
z-index: 3;
|
|
171
194
|
background-color: white;
|
|
172
195
|
border-top: 1px solid variables.$gantt-border-color;
|
|
196
|
+
border-bottom: 1px solid variables.$gantt-border-color;
|
|
173
197
|
|
|
174
198
|
.gantt-table-footer {
|
|
175
199
|
height: variables.$gantt-footer-height;
|
|
176
200
|
border-right: 1px solid variables.$gantt-border-color;
|
|
177
|
-
box-shadow: variables.$gantt-
|
|
201
|
+
box-shadow: variables.$gantt-footer-shadow;
|
|
178
202
|
}
|
|
203
|
+
|
|
179
204
|
.gantt-container-footer {
|
|
180
205
|
height: variables.$gantt-footer-height;
|
|
181
206
|
overflow-x: auto;
|
package/gantt.module.d.ts
CHANGED
|
@@ -20,10 +20,11 @@ import * as i17 from "./components/range/range.component";
|
|
|
20
20
|
import * as i18 from "./root.component";
|
|
21
21
|
import * as i19 from "./components/baseline/baseline.component";
|
|
22
22
|
import * as i20 from "./components/toolbar/toolbar.component";
|
|
23
|
-
import * as i21 from "./
|
|
23
|
+
import * as i21 from "./components/scrollbar/scrollbar.component";
|
|
24
|
+
import * as i22 from "./gantt.pipe";
|
|
24
25
|
export declare class NgxGanttModule {
|
|
25
26
|
constructor(ganttGlobalConfig: GanttGlobalConfig);
|
|
26
27
|
static ɵfac: i0.ɵɵFactoryDeclaration<NgxGanttModule, [{ optional: true; }]>;
|
|
27
|
-
static ɵmod: i0.ɵɵNgModuleDeclaration<NgxGanttModule, never, [typeof i1.CommonModule, typeof i2.DragDropModule, typeof i3.ScrollingModule, typeof i4.NgxGanttComponent, typeof i5.NgxGanttTableComponent, typeof i6.NgxGanttTableColumnComponent, typeof i7.GanttTableHeaderComponent, typeof i8.GanttTableBodyComponent, typeof i9.GanttMainComponent, typeof i10.GanttCalendarHeaderComponent, typeof i11.GanttCalendarGridComponent, typeof i12.GanttLinksComponent, typeof i13.GanttLoaderComponent, typeof i14.NgxGanttBarComponent, typeof i15.GanttIconComponent, typeof i16.GanttDragBackdropComponent, typeof i17.NgxGanttRangeComponent, typeof i18.NgxGanttRootComponent, typeof i19.NgxGanttBaselineComponent, typeof i20.NgxGanttToolbarComponent, typeof i21.IsGanttRangeItemPipe, typeof
|
|
28
|
+
static ɵmod: i0.ɵɵNgModuleDeclaration<NgxGanttModule, never, [typeof i1.CommonModule, typeof i2.DragDropModule, typeof i3.ScrollingModule, typeof i4.NgxGanttComponent, typeof i5.NgxGanttTableComponent, typeof i6.NgxGanttTableColumnComponent, typeof i7.GanttTableHeaderComponent, typeof i8.GanttTableBodyComponent, typeof i9.GanttMainComponent, typeof i10.GanttCalendarHeaderComponent, typeof i11.GanttCalendarGridComponent, typeof i12.GanttLinksComponent, typeof i13.GanttLoaderComponent, typeof i14.NgxGanttBarComponent, typeof i15.GanttIconComponent, typeof i16.GanttDragBackdropComponent, typeof i17.NgxGanttRangeComponent, typeof i18.NgxGanttRootComponent, typeof i19.NgxGanttBaselineComponent, typeof i20.NgxGanttToolbarComponent, typeof i21.GanttScrollbarComponent, typeof i22.IsGanttRangeItemPipe, typeof i22.IsGanttBarItemPipe, typeof i22.IsGanttCustomItemPipe], [typeof i4.NgxGanttComponent, typeof i5.NgxGanttTableComponent, typeof i6.NgxGanttTableColumnComponent, typeof i18.NgxGanttRootComponent, typeof i14.NgxGanttBarComponent, typeof i17.NgxGanttRangeComponent, typeof i19.NgxGanttBaselineComponent, typeof i20.NgxGanttToolbarComponent, typeof i10.GanttCalendarHeaderComponent, typeof i11.GanttCalendarGridComponent, typeof i16.GanttDragBackdropComponent, typeof i21.GanttScrollbarComponent]>;
|
|
28
29
|
static ɵinj: i0.ɵɵInjectorDeclaration<NgxGanttModule>;
|
|
29
30
|
}
|
package/package.json
CHANGED
package/public-api.d.ts
CHANGED
|
@@ -20,3 +20,4 @@ export * from './gantt.config';
|
|
|
20
20
|
export * from './components/calendar/header/calendar-header.component';
|
|
21
21
|
export * from './components/calendar/grid/calendar-grid.component';
|
|
22
22
|
export * from './components/drag-backdrop/drag-backdrop.component';
|
|
23
|
+
export * from './components/scrollbar/scrollbar.component';
|
package/styles/variables.scss
CHANGED
|
@@ -57,7 +57,11 @@ $gantt-loader-loading-color: $gantt-primary-color !default;
|
|
|
57
57
|
|
|
58
58
|
// footer
|
|
59
59
|
$gantt-footer-height: 44px !default;
|
|
60
|
+
$gantt-footer-shadow: 16px 0 14px -10px rgba(0, 0, 0, 0.15) !default;
|
|
60
61
|
|
|
61
62
|
// @deprecated, please use global config `GANTT_GLOBAL_CONFIG` set custom height
|
|
62
63
|
$gantt-item-height: none;
|
|
63
64
|
$gantt-group-height: none;
|
|
65
|
+
|
|
66
|
+
// scrollbar
|
|
67
|
+
$gantt-scrollbar-shadow: 10px 0px 10px -3px rgba(0, 0, 0, 0.15) !default;
|