@gitkraken/gitkraken-components 6.0.3 → 7.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.
- package/LICENSE +1 -1
- package/ThirdPartyNotices.txt +227 -0
- package/dist/components/graph/GraphColumn.d.ts +38 -0
- package/dist/components/graph/GraphContainer.d.ts +294 -329
- package/dist/components/graph/GraphHeaderRow.d.ts +36 -0
- package/dist/components/graph/GraphScrollMarker.d.ts +21 -0
- package/dist/components/graph/changeszone/ChangesBar.d.ts +11 -0
- package/dist/components/graph/commitzone/BackgroundStreak.d.ts +12 -0
- package/dist/components/graph/commitzone/CommitNode.d.ts +24 -0
- package/dist/components/graph/commitzone/CommitZone.d.ts +48 -0
- package/dist/components/graph/commitzone/GraphAvatar.d.ts +39 -0
- package/dist/components/graph/commitzone/Gutter.d.ts +22 -0
- package/dist/components/graph/commitzone/edges/Arc.d.ts +4 -0
- package/dist/components/graph/commitzone/edges/EdgeNodes.d.ts +3 -0
- package/dist/components/graph/commitzone/edges/Edges.d.ts +13 -0
- package/dist/components/graph/commitzone/edges/EndingEdge.d.ts +4 -0
- package/dist/components/graph/commitzone/edges/PassThroughEdge.d.ts +4 -0
- package/dist/components/graph/commitzone/edges/StartingEdge.d.ts +4 -0
- package/dist/components/graph/common/DraggableGraphHeader.d.ts +42 -0
- package/dist/components/graph/common/EntireRowSpan.d.ts +15 -0
- package/dist/components/graph/common/GenericGraphZone.d.ts +46 -0
- package/dist/components/graph/common/LoadingSpinner.d.ts +11 -0
- package/dist/components/graph/common/RefLine.d.ts +17 -0
- package/dist/components/graph/common/Timeline.d.ts +6 -0
- package/dist/components/graph/dnd/DndContainer.d.ts +44 -0
- package/dist/components/graph/refzone/Icon.d.ts +39 -0
- package/dist/components/graph/refzone/OverflowCount.d.ts +7 -0
- package/dist/components/graph/refzone/RefName.d.ts +6 -0
- package/dist/components/graph/refzone/RefNode.d.ts +36 -0
- package/dist/components/graph/refzone/RefNodes.d.ts +31 -0
- package/dist/components/graph/refzone/RefPopover.d.ts +15 -0
- package/dist/components/graph/refzone/RefZone.d.ts +54 -0
- package/dist/components/graph/rowRenderers/ChangesZoneRow.d.ts +8 -0
- package/dist/components/graph/rowRenderers/CommitAuthorZoneRow.d.ts +7 -0
- package/dist/components/graph/rowRenderers/CommitDateTimeZoneRow.d.ts +10 -0
- package/dist/components/graph/rowRenderers/CommitMessageZoneRow.d.ts +20 -0
- package/dist/components/graph/rowRenderers/CommitShaZoneRow.d.ts +10 -0
- package/dist/components/graph/rowRenderers/CommitZoneRow.d.ts +19 -0
- package/dist/components/graph/rowRenderers/CommitsInfoRow.d.ts +25 -0
- package/dist/components/graph/rowRenderers/RefZoneRow.d.ts +29 -0
- package/dist/components/graph/rowRenderers/TimelineMsgRow.d.ts +7 -0
- package/dist/components/graph/shared/Avatar.d.ts +13 -0
- package/dist/components/graph/shared/FileDiffTypeIcon.d.ts +13 -0
- package/dist/components/graph/shared/InlineWorkDirSummary.d.ts +12 -0
- package/dist/components/graph/shared/TinyFilesReadout.d.ts +13 -0
- package/dist/components/resizable/Resizable.d.ts +78 -0
- package/dist/domain/color/ColorHelpers.d.ts +22 -0
- package/dist/domain/commit/CommitConstants.d.ts +10 -0
- package/dist/domain/commit/CommitHelpers.d.ts +5 -0
- package/dist/domain/commit/CommitTypes.d.ts +9 -0
- package/dist/domain/cssvariable/CssVariableConstants.d.ts +259 -0
- package/dist/domain/cssvariable/CssVariableHelpers.d.ts +4 -0
- package/dist/domain/date/DateHelper.d.ts +7 -0
- package/dist/domain/diff/DiffConstants.d.ts +5 -0
- package/dist/domain/diff/DiffTypes.d.ts +9 -0
- package/dist/domain/edge/EdgeHelpers.d.ts +9 -0
- package/dist/domain/generic/GenericTypes.d.ts +34 -0
- package/dist/domain/graph/GraphConstants.d.ts +146 -0
- package/dist/domain/graph/GraphHelpers.d.ts +71 -0
- package/dist/domain/graph/GraphTypes.d.ts +367 -0
- package/dist/domain/hostingservice/HostingServiceTypes.d.ts +9 -0
- package/dist/domain/language/LanguageConstants.d.ts +3 -0
- package/dist/domain/language/LanguageHelpers.d.ts +1 -0
- package/dist/domain/language/LanguageTypes.d.ts +1 -0
- package/dist/domain/reactvirtualized/ReactVirtualizedHelpers.d.ts +11 -0
- package/dist/domain/ref/RefConstants.d.ts +5 -0
- package/dist/domain/ref/RefTypes.d.ts +2 -0
- package/dist/domain/ui/UiTypes.d.ts +28 -0
- package/dist/domain/workdir/WorkDirTypes.d.ts +7 -0
- package/dist/index.d.ts +8 -2
- package/dist/index.js +1 -1
- package/dist/styles.css +2 -1
- package/dist/utils/MathUtils.d.ts +1 -0
- package/dist/utils/TextFormatting.d.ts +2 -0
- package/package.json +86 -82
package/LICENSE
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
GitKraken Components License
|
|
2
2
|
|
|
3
|
-
Copyright (c) 2014-
|
|
3
|
+
Copyright (c) 2014-2023 Axosoft, LLC dba GitKraken ("GitKraken")
|
|
4
4
|
|
|
5
5
|
This software and associated documentation files (the "Software") may be compiled as part of the gitkraken/vscode-gitlens open source project (the "GitLens") to the extent the Software is a required component of the GitLens; provided, however, that the Software and its functionality may only be used if you (and any entity that you represent) have agreed to, and are in compliance with, the GitKraken End User License Agreement, available at https://gitkraken.com/eula (the "EULA"), or other agreement governing the use of the Software, as agreed by you and GitKraken, and otherwise have a valid subscription for the correct number of user seats for the applicable version of the Software (e.g., GitLens Free+, GitLens Pro, GitLens Teams, and GitLens Enterprise) (the “GitKraken Products”).
|
|
6
6
|
|
|
@@ -0,0 +1,227 @@
|
|
|
1
|
+
GitKraken Components
|
|
2
|
+
|
|
3
|
+
THIRD-PARTY SOFTWARE NOTICES AND INFORMATION
|
|
4
|
+
This project incorporates components from the projects listed below.
|
|
5
|
+
|
|
6
|
+
1. @axosoft/react-virtualized version 9.22.3-gitkraken.3 (https://github.com/bvaughn/react-virtualized)
|
|
7
|
+
2. classnames version 2.3.2 (https://github.com/JedWatson/classnames)
|
|
8
|
+
3. re-resizable version 6.9.1 (https://github.com/bokuweb/react-resizable-box)
|
|
9
|
+
4. react-bootstrap version 0.32.4 (https://github.com/react-bootstrap/react-bootstrap)
|
|
10
|
+
5. react-dom version 16.8.4 (https://github.com/facebook/react)
|
|
11
|
+
6. react-dragula version 1.1.17 (https://github.com/bevacqua/react-dragula)
|
|
12
|
+
7. react-helmet version 6.1.0 (https://github.com/nfl/react-helmet)
|
|
13
|
+
8. react version 16.8.4 (https://github.com/facebook/react)
|
|
14
|
+
|
|
15
|
+
%% @axosoft/react-virtualized NOTICES AND INFORMATION BEGIN HERE
|
|
16
|
+
=========================================
|
|
17
|
+
The MIT License (MIT)
|
|
18
|
+
|
|
19
|
+
Copyright (c) 2015 Brian Vaughn
|
|
20
|
+
|
|
21
|
+
Permission is hereby granted, free of charge, to any person obtaining a copy
|
|
22
|
+
of this software and associated documentation files (the "Software"), to deal
|
|
23
|
+
in the Software without restriction, including without limitation the rights
|
|
24
|
+
to use, copy, modify, merge, publish, distribute, sublicense, and/or sell
|
|
25
|
+
copies of the Software, and to permit persons to whom the Software is
|
|
26
|
+
furnished to do so, subject to the following conditions:
|
|
27
|
+
|
|
28
|
+
The above copyright notice and this permission notice shall be included in all
|
|
29
|
+
copies or substantial portions of the Software.
|
|
30
|
+
|
|
31
|
+
THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR
|
|
32
|
+
IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY,
|
|
33
|
+
FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE
|
|
34
|
+
AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER
|
|
35
|
+
LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM,
|
|
36
|
+
OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE
|
|
37
|
+
SOFTWARE.
|
|
38
|
+
|
|
39
|
+
|
|
40
|
+
=========================================
|
|
41
|
+
END OF @axosoft/react-virtualized NOTICES AND INFORMATION
|
|
42
|
+
|
|
43
|
+
%% classnames NOTICES AND INFORMATION BEGIN HERE
|
|
44
|
+
=========================================
|
|
45
|
+
The MIT License (MIT)
|
|
46
|
+
|
|
47
|
+
Copyright (c) 2018 Jed Watson
|
|
48
|
+
|
|
49
|
+
Permission is hereby granted, free of charge, to any person obtaining a copy
|
|
50
|
+
of this software and associated documentation files (the "Software"), to deal
|
|
51
|
+
in the Software without restriction, including without limitation the rights
|
|
52
|
+
to use, copy, modify, merge, publish, distribute, sublicense, and/or sell
|
|
53
|
+
copies of the Software, and to permit persons to whom the Software is
|
|
54
|
+
furnished to do so, subject to the following conditions:
|
|
55
|
+
|
|
56
|
+
The above copyright notice and this permission notice shall be included in all
|
|
57
|
+
copies or substantial portions of the Software.
|
|
58
|
+
|
|
59
|
+
THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR
|
|
60
|
+
IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY,
|
|
61
|
+
FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE
|
|
62
|
+
AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER
|
|
63
|
+
LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM,
|
|
64
|
+
OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE
|
|
65
|
+
SOFTWARE.
|
|
66
|
+
|
|
67
|
+
=========================================
|
|
68
|
+
END OF classnames NOTICES AND INFORMATION
|
|
69
|
+
|
|
70
|
+
%% re-resizable NOTICES AND INFORMATION BEGIN HERE
|
|
71
|
+
=========================================
|
|
72
|
+
The MIT License (MIT)
|
|
73
|
+
|
|
74
|
+
Copyright (c) 2018 @bokuweb
|
|
75
|
+
|
|
76
|
+
Permission is hereby granted, free of charge, to any person obtaining a copy
|
|
77
|
+
of this software and associated documentation files (the "Software"), to deal
|
|
78
|
+
in the Software without restriction, including without limitation the rights
|
|
79
|
+
to use, copy, modify, merge, publish, distribute, sublicense, and/or sell
|
|
80
|
+
copies of the Software, and to permit persons to whom the Software is
|
|
81
|
+
furnished to do so, subject to the following conditions:
|
|
82
|
+
|
|
83
|
+
The above copyright notice and this permission notice shall be included in all
|
|
84
|
+
copies or substantial portions of the Software.
|
|
85
|
+
|
|
86
|
+
THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR
|
|
87
|
+
IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY,
|
|
88
|
+
FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE
|
|
89
|
+
AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER
|
|
90
|
+
LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM,
|
|
91
|
+
OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE
|
|
92
|
+
SOFTWARE.
|
|
93
|
+
|
|
94
|
+
=========================================
|
|
95
|
+
END OF re-resizable NOTICES AND INFORMATION
|
|
96
|
+
|
|
97
|
+
%% react-bootstrap NOTICES AND INFORMATION BEGIN HERE
|
|
98
|
+
=========================================
|
|
99
|
+
The MIT License (MIT)
|
|
100
|
+
|
|
101
|
+
Copyright (c) 2014-present Stephen J. Collings, Matthew Honnibal, Pieter Vanderwerff
|
|
102
|
+
|
|
103
|
+
Permission is hereby granted, free of charge, to any person obtaining a copy
|
|
104
|
+
of this software and associated documentation files (the "Software"), to deal
|
|
105
|
+
in the Software without restriction, including without limitation the rights
|
|
106
|
+
to use, copy, modify, merge, publish, distribute, sublicense, and/or sell
|
|
107
|
+
copies of the Software, and to permit persons to whom the Software is
|
|
108
|
+
furnished to do so, subject to the following conditions:
|
|
109
|
+
|
|
110
|
+
The above copyright notice and this permission notice shall be included in
|
|
111
|
+
all copies or substantial portions of the Software.
|
|
112
|
+
|
|
113
|
+
THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR
|
|
114
|
+
IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY,
|
|
115
|
+
FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE
|
|
116
|
+
AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER
|
|
117
|
+
LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM,
|
|
118
|
+
OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN
|
|
119
|
+
THE SOFTWARE.
|
|
120
|
+
|
|
121
|
+
=========================================
|
|
122
|
+
END OF react-bootstrap NOTICES AND INFORMATION
|
|
123
|
+
|
|
124
|
+
%% react-dom NOTICES AND INFORMATION BEGIN HERE
|
|
125
|
+
=========================================
|
|
126
|
+
MIT License
|
|
127
|
+
|
|
128
|
+
Copyright (c) Facebook, Inc. and its affiliates.
|
|
129
|
+
|
|
130
|
+
Permission is hereby granted, free of charge, to any person obtaining a copy
|
|
131
|
+
of this software and associated documentation files (the "Software"), to deal
|
|
132
|
+
in the Software without restriction, including without limitation the rights
|
|
133
|
+
to use, copy, modify, merge, publish, distribute, sublicense, and/or sell
|
|
134
|
+
copies of the Software, and to permit persons to whom the Software is
|
|
135
|
+
furnished to do so, subject to the following conditions:
|
|
136
|
+
|
|
137
|
+
The above copyright notice and this permission notice shall be included in all
|
|
138
|
+
copies or substantial portions of the Software.
|
|
139
|
+
|
|
140
|
+
THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR
|
|
141
|
+
IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY,
|
|
142
|
+
FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE
|
|
143
|
+
AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER
|
|
144
|
+
LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM,
|
|
145
|
+
OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE
|
|
146
|
+
SOFTWARE.
|
|
147
|
+
|
|
148
|
+
=========================================
|
|
149
|
+
END OF react-dom NOTICES AND INFORMATION
|
|
150
|
+
|
|
151
|
+
%% react-dragula NOTICES AND INFORMATION BEGIN HERE
|
|
152
|
+
=========================================
|
|
153
|
+
The MIT License (MIT)
|
|
154
|
+
|
|
155
|
+
Copyright © 2015 Nicolas Bevacqua
|
|
156
|
+
|
|
157
|
+
Permission is hereby granted, free of charge, to any person obtaining a copy of
|
|
158
|
+
this software and associated documentation files (the "Software"), to deal in
|
|
159
|
+
the Software without restriction, including without limitation the rights to
|
|
160
|
+
use, copy, modify, merge, publish, distribute, sublicense, and/or sell copies of
|
|
161
|
+
the Software, and to permit persons to whom the Software is furnished to do so,
|
|
162
|
+
subject to the following conditions:
|
|
163
|
+
|
|
164
|
+
The above copyright notice and this permission notice shall be included in all
|
|
165
|
+
copies or substantial portions of the Software.
|
|
166
|
+
|
|
167
|
+
THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR
|
|
168
|
+
IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY, FITNESS
|
|
169
|
+
FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE AUTHORS OR
|
|
170
|
+
COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER LIABILITY, WHETHER
|
|
171
|
+
IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, OUT OF OR IN
|
|
172
|
+
CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE SOFTWARE.
|
|
173
|
+
|
|
174
|
+
=========================================
|
|
175
|
+
END OF react-dragula NOTICES AND INFORMATION
|
|
176
|
+
|
|
177
|
+
%% react-helmet NOTICES AND INFORMATION BEGIN HERE
|
|
178
|
+
=========================================
|
|
179
|
+
Copyright (c) 2015 NFL
|
|
180
|
+
|
|
181
|
+
Permission is hereby granted, free of charge, to any person obtaining a copy
|
|
182
|
+
of this software and associated documentation files (the "Software"), to deal
|
|
183
|
+
in the Software without restriction, including without limitation the rights
|
|
184
|
+
to use, copy, modify, merge, publish, distribute, sublicense, and/or sell
|
|
185
|
+
copies of the Software, and to permit persons to whom the Software is
|
|
186
|
+
furnished to do so, subject to the following conditions:
|
|
187
|
+
|
|
188
|
+
The above copyright notice and this permission notice shall be included in all
|
|
189
|
+
copies or substantial portions of the Software.
|
|
190
|
+
|
|
191
|
+
THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR
|
|
192
|
+
IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY,
|
|
193
|
+
FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE
|
|
194
|
+
AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER
|
|
195
|
+
LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM,
|
|
196
|
+
OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE
|
|
197
|
+
SOFTWARE.
|
|
198
|
+
|
|
199
|
+
=========================================
|
|
200
|
+
END OF react-helmet NOTICES AND INFORMATION
|
|
201
|
+
|
|
202
|
+
%% react NOTICES AND INFORMATION BEGIN HERE
|
|
203
|
+
=========================================
|
|
204
|
+
MIT License
|
|
205
|
+
|
|
206
|
+
Copyright (c) Facebook, Inc. and its affiliates.
|
|
207
|
+
|
|
208
|
+
Permission is hereby granted, free of charge, to any person obtaining a copy
|
|
209
|
+
of this software and associated documentation files (the "Software"), to deal
|
|
210
|
+
in the Software without restriction, including without limitation the rights
|
|
211
|
+
to use, copy, modify, merge, publish, distribute, sublicense, and/or sell
|
|
212
|
+
copies of the Software, and to permit persons to whom the Software is
|
|
213
|
+
furnished to do so, subject to the following conditions:
|
|
214
|
+
|
|
215
|
+
The above copyright notice and this permission notice shall be included in all
|
|
216
|
+
copies or substantial portions of the Software.
|
|
217
|
+
|
|
218
|
+
THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR
|
|
219
|
+
IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY,
|
|
220
|
+
FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE
|
|
221
|
+
AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER
|
|
222
|
+
LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM,
|
|
223
|
+
OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE
|
|
224
|
+
SOFTWARE.
|
|
225
|
+
|
|
226
|
+
=========================================
|
|
227
|
+
END OF react NOTICES AND INFORMATION
|
|
@@ -0,0 +1,38 @@
|
|
|
1
|
+
import type { Alignment, GridCellRangeRenderer } from 'react-virtualized';
|
|
2
|
+
import type { ReactElement } from 'react';
|
|
3
|
+
import type { CssVariables } from '../../domain/generic/GenericTypes';
|
|
4
|
+
import type { GraphZone, GraphZoneType } from '../../domain/graph/GraphConstants';
|
|
5
|
+
import type { ColumnContentGenerator, GetExternalIcon, OnGraphZoneResize, OnGraphZoneResizeEnd, OnGraphZoneResizeFromPropChange, OnScrollForZone, RowRenderersByIds } from '../../domain/graph/GraphTypes';
|
|
6
|
+
import type { TranslationFn } from '../../domain/language/LanguageTypes';
|
|
7
|
+
import type { GetRealKeyForCellFunc } from '../../domain/reactvirtualized/ReactVirtualizedHelpers';
|
|
8
|
+
import type { OnMouseEnter } from '../../domain/ui/UiTypes';
|
|
9
|
+
type GraphColumnProps = {
|
|
10
|
+
rowCount: number;
|
|
11
|
+
cssVariables: CssVariables;
|
|
12
|
+
columnIndex: number;
|
|
13
|
+
enableResizer?: boolean;
|
|
14
|
+
getExternalIcon: GetExternalIcon;
|
|
15
|
+
getKeyForCell: GetRealKeyForCellFunc;
|
|
16
|
+
graphHeight: number;
|
|
17
|
+
graphWidth: number;
|
|
18
|
+
graphZoneType: GraphZoneType;
|
|
19
|
+
graphZones: GraphZone[];
|
|
20
|
+
hasMoreCommits: boolean;
|
|
21
|
+
isLoadingRows: boolean;
|
|
22
|
+
makeColumnContents?: ColumnContentGenerator;
|
|
23
|
+
onResize?: OnGraphZoneResize;
|
|
24
|
+
onResizeEnd?: OnGraphZoneResizeEnd;
|
|
25
|
+
onResizeFromPropChange?: OnGraphZoneResizeFromPropChange;
|
|
26
|
+
onScroll: OnScrollForZone;
|
|
27
|
+
onScrollToRowCausedUpdate?: OnScrollForZone;
|
|
28
|
+
onZoneEnter: OnMouseEnter;
|
|
29
|
+
cellRenderersByIds: RowRenderersByIds;
|
|
30
|
+
scrollToAlignment?: Alignment;
|
|
31
|
+
scrollToIndex?: number;
|
|
32
|
+
scrollLeft: number;
|
|
33
|
+
scrollTop: number;
|
|
34
|
+
smartCellRangeRenderer: GridCellRangeRenderer;
|
|
35
|
+
translate: TranslationFn;
|
|
36
|
+
};
|
|
37
|
+
export declare function GraphColumn({ rowCount, cellRenderersByIds, columnIndex, cssVariables, enableResizer, getExternalIcon, getKeyForCell, graphHeight, graphWidth, graphZoneType, graphZones, hasMoreCommits, isLoadingRows, onResize, onResizeEnd, onResizeFromPropChange, onScroll, onScrollToRowCausedUpdate, onZoneEnter, scrollLeft, scrollToAlignment, scrollToIndex, scrollTop, smartCellRangeRenderer, translate, }: GraphColumnProps): ReactElement<any> | null;
|
|
38
|
+
export {};
|