@teselagen/ui 0.7.33-beta.3 → 0.7.33-beta.4
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/package.json +1 -1
- package/src/AdvancedOptions.spec.js +26 -0
- package/src/AsyncValidateFieldSpinner/index.js +12 -0
- package/src/BlueprintError/index.js +14 -0
- package/src/BounceLoader/index.js +16 -0
- package/src/BounceLoader/style.css +45 -0
- package/src/CollapsibleCard/index.js +68 -0
- package/src/CollapsibleCard/style.css +23 -0
- package/src/DNALoader/index.js +20 -0
- package/src/DNALoader/style.css +251 -0
- package/src/DataTable/index.js +3209 -0
- package/src/DataTable/style.css +608 -0
- package/src/DataTable/utils/filterLocalEntitiesToHasura.test.js +515 -0
- package/src/DataTable/utils/index.js +55 -0
- package/src/DataTable/utils/simplifyHasuraWhere.test.js +73 -0
- package/src/DataTable/utils/tableQueryParamsToHasuraClauses.test.js +219 -0
- package/src/DialogFooter/index.js +86 -0
- package/src/DialogFooter/style.css +9 -0
- package/src/FormComponents/index.js +1266 -0
- package/src/FormComponents/style.css +275 -0
- package/src/FormComponents/utils.js +6 -0
- package/src/HotkeysDialog/index.js +79 -0
- package/src/HotkeysDialog/style.css +54 -0
- package/src/InfoHelper/index.js +78 -0
- package/src/InfoHelper/style.css +7 -0
- package/src/IntentText/index.js +18 -0
- package/src/Loading/index.js +70 -0
- package/src/Loading/style.css +4 -0
- package/src/MenuBar/index.js +423 -0
- package/src/MenuBar/style.css +45 -0
- package/src/PromptUnsavedChanges/index.js +38 -0
- package/src/ResizableDraggableDialog/index.js +141 -0
- package/src/ResizableDraggableDialog/style.css +42 -0
- package/src/ScrollToTop/index.js +72 -0
- package/src/TagSelect/index.js +69 -0
- package/src/TagSelect/style.css +13 -0
- package/src/TgHtmlSelect/index.js +20 -0
- package/src/TgSelect/index.js +537 -0
- package/src/TgSelect/style.css +61 -0
- package/src/TgSuggest/index.js +124 -0
- package/src/Timeline/index.js +15 -0
- package/src/Timeline/style.css +29 -0
- package/src/enhancers/withDialog/index.js +196 -0
- package/src/index.js +88 -1
- package/src/showConfirmationDialog/index.js +148 -0
- package/src/style.css +261 -9
- package/src/utils/hooks/index.js +1 -0
- /package/src/{CellDragHandle.js → DataTable/CellDragHandle.js} +0 -0
- /package/src/{ColumnFilterMenu.js → DataTable/ColumnFilterMenu.js} +0 -0
- /package/src/{Columns.js → DataTable/Columns.js} +0 -0
- /package/src/{DisabledLoadingComponent.js → DataTable/DisabledLoadingComponent.js} +0 -0
- /package/src/{DisplayOptions.js → DataTable/DisplayOptions.js} +0 -0
- /package/src/{DropdownCell.js → DataTable/DropdownCell.js} +0 -0
- /package/src/{EditableCell.js → DataTable/EditableCell.js} +0 -0
- /package/src/{FilterAndSortMenu.js → DataTable/FilterAndSortMenu.js} +0 -0
- /package/src/{PagingTool.js → DataTable/PagingTool.js} +0 -0
- /package/src/{RenderCell.js → DataTable/RenderCell.js} +0 -0
- /package/src/{SearchBar.js → DataTable/SearchBar.js} +0 -0
- /package/src/{SortableColumns.js → DataTable/SortableColumns.js} +0 -0
- /package/src/{TableFormTrackerContext.js → DataTable/TableFormTrackerContext.js} +0 -0
- /package/src/{ThComponent.js → DataTable/ThComponent.js} +0 -0
- /package/src/{dataTableEnhancer.js → DataTable/dataTableEnhancer.js} +0 -0
- /package/src/{defaultFormatters.js → DataTable/defaultFormatters.js} +0 -0
- /package/src/{defaultValidators.js → DataTable/defaultValidators.js} +0 -0
- /package/src/{editCellHelper.js → DataTable/editCellHelper.js} +0 -0
- /package/src/{getCellVal.js → DataTable/getCellVal.js} +0 -0
- /package/src/{getVals.js → DataTable/getVals.js} +0 -0
- /package/src/{isTruthy.js → DataTable/isTruthy.js} +0 -0
- /package/src/{isValueEmpty.js → DataTable/isValueEmpty.js} +0 -0
- /package/src/{convertSchema.js → DataTable/utils/convertSchema.js} +0 -0
- /package/src/{filterLocalEntitiesToHasura.js → DataTable/utils/filterLocalEntitiesToHasura.js} +0 -0
- /package/src/{formatPasteData.js → DataTable/utils/formatPasteData.js} +0 -0
- /package/src/{getAllRows.js → DataTable/utils/getAllRows.js} +0 -0
- /package/src/{getCellCopyText.js → DataTable/utils/getCellCopyText.js} +0 -0
- /package/src/{getCellInfo.js → DataTable/utils/getCellInfo.js} +0 -0
- /package/src/{getFieldPathToField.js → DataTable/utils/getFieldPathToField.js} +0 -0
- /package/src/{getIdOrCodeOrIndex.js → DataTable/utils/getIdOrCodeOrIndex.js} +0 -0
- /package/src/{getLastSelectedEntity.js → DataTable/utils/getLastSelectedEntity.js} +0 -0
- /package/src/{getNewEntToSelect.js → DataTable/utils/getNewEntToSelect.js} +0 -0
- /package/src/{getRowCopyText.js → DataTable/utils/getRowCopyText.js} +0 -0
- /package/src/{getTableConfigFromStorage.js → DataTable/utils/getTableConfigFromStorage.js} +0 -0
- /package/src/{handleCopyColumn.js → DataTable/utils/handleCopyColumn.js} +0 -0
- /package/src/{handleCopyHelper.js → DataTable/utils/handleCopyHelper.js} +0 -0
- /package/src/{handleCopyRows.js → DataTable/utils/handleCopyRows.js} +0 -0
- /package/src/{handleCopyTable.js → DataTable/utils/handleCopyTable.js} +0 -0
- /package/src/{initializeHasuraWhereAndFilter.js → DataTable/utils/initializeHasuraWhereAndFilter.js} +0 -0
- /package/src/{isBottomRightCornerOfRectangle.js → DataTable/utils/isBottomRightCornerOfRectangle.js} +0 -0
- /package/src/{isEntityClean.js → DataTable/utils/isEntityClean.js} +0 -0
- /package/src/{primarySelectedValue.js → DataTable/utils/primarySelectedValue.js} +0 -0
- /package/src/{queryParams.js → DataTable/utils/queryParams.js} +0 -0
- /package/src/{removeCleanRows.js → DataTable/utils/removeCleanRows.js} +0 -0
- /package/src/{rowClick.js → DataTable/utils/rowClick.js} +0 -0
- /package/src/{selection.js → DataTable/utils/selection.js} +0 -0
- /package/src/{simplifyHasuraWhere.js → DataTable/utils/simplifyHasuraWhere.js} +0 -0
- /package/src/{tableQueryParamsToHasuraClauses.js → DataTable/utils/tableQueryParamsToHasuraClauses.js} +0 -0
- /package/src/{useTableEntities.js → DataTable/utils/useTableEntities.js} +0 -0
- /package/src/{utils.js → DataTable/utils/utils.js} +0 -0
- /package/src/{withSelectedEntities.js → DataTable/utils/withSelectedEntities.js} +0 -0
- /package/src/{withTableParams.js → DataTable/utils/withTableParams.js} +0 -0
- /package/src/{validateTableWideErrors.js → DataTable/validateTableWideErrors.js} +0 -0
- /package/src/{viewColumn.js → DataTable/viewColumn.js} +0 -0
- /package/src/{FormSeparator.js → FormComponents/FormSeparator.js} +0 -0
- /package/src/{LoadingDots.js → FormComponents/LoadingDots.js} +0 -0
- /package/src/{Uploader.js → FormComponents/Uploader.js} +0 -0
- /package/src/{getNewName.js → FormComponents/getNewName.js} +0 -0
- /package/src/{itemUpload.js → FormComponents/itemUpload.js} +0 -0
- /package/src/{sortify.js → FormComponents/sortify.js} +0 -0
- /package/src/{tryToMatchSchemas.js → FormComponents/tryToMatchSchemas.js} +0 -0
- /package/src/{TimelineEvent.js → Timeline/TimelineEvent.js} +0 -0
- /package/src/{tg_modalState.js → enhancers/withDialog/tg_modalState.js} +0 -0
- /package/src/{withField.js → enhancers/withField.js} +0 -0
- /package/src/{withFields.js → enhancers/withFields.js} +0 -0
- /package/src/{withLocalStorage.js → enhancers/withLocalStorage.js} +0 -0
- /package/src/{adHoc.js → utils/adHoc.js} +0 -0
- /package/src/{basicHandleActionsWithFullState.js → utils/basicHandleActionsWithFullState.js} +0 -0
- /package/src/{browserUtils.js → utils/browserUtils.js} +0 -0
- /package/src/{combineReducersWithFullState.js → utils/combineReducersWithFullState.js} +0 -0
- /package/src/{commandControls.js → utils/commandControls.js} +0 -0
- /package/src/{commandUtils.js → utils/commandUtils.js} +0 -0
- /package/src/{determineBlackOrWhiteTextColor.js → utils/determineBlackOrWhiteTextColor.js} +0 -0
- /package/src/{getDayjsFormatter.js → utils/getDayjsFormatter.js} +0 -0
- /package/src/{getTextFromEl.js → utils/getTextFromEl.js} +0 -0
- /package/src/{handlerHelpers.js → utils/handlerHelpers.js} +0 -0
- /package/src/{useDeepEqualMemo.js → utils/hooks/useDeepEqualMemo.js} +0 -0
- /package/src/{useStableReference.js → utils/hooks/useStableReference.js} +0 -0
- /package/src/{hotkeyUtils.js → utils/hotkeyUtils.js} +0 -0
- /package/src/{isBeingCalledExcessively.js → utils/isBeingCalledExcessively.js} +0 -0
- /package/src/{menuUtils.js → utils/menuUtils.js} +0 -0
- /package/src/{popoverOverflowModifiers.js → utils/popoverOverflowModifiers.js} +0 -0
- /package/src/{pureNoFunc.js → utils/pureNoFunc.js} +0 -0
- /package/src/{renderOnDoc.js → utils/renderOnDoc.js} +0 -0
- /package/src/{showProgressToast.js → utils/showProgressToast.js} +0 -0
- /package/src/{tagUtils.js → utils/tagUtils.js} +0 -0
- /package/src/{tgFormValues.js → utils/tgFormValues.js} +0 -0
- /package/src/{useTraceUpdate.js → utils/useTraceUpdate.js} +0 -0
- /package/src/{withSelectTableRecords.js → utils/withSelectTableRecords.js} +0 -0
- /package/src/{withStore.js → utils/withStore.js} +0 -0
|
@@ -0,0 +1,608 @@
|
|
|
1
|
+
/* DataTable style.css */
|
|
2
|
+
.custom-menu-item {
|
|
3
|
+
text-overflow: ellipsis;
|
|
4
|
+
white-space: nowrap;
|
|
5
|
+
word-wrap: normal;
|
|
6
|
+
display: block;
|
|
7
|
+
border-radius: 2px;
|
|
8
|
+
padding: 7px;
|
|
9
|
+
line-height: 16px;
|
|
10
|
+
color: inherit;
|
|
11
|
+
user-select: none;
|
|
12
|
+
}
|
|
13
|
+
|
|
14
|
+
.menu-buttons {
|
|
15
|
+
display: flex;
|
|
16
|
+
justify-content: space-between;
|
|
17
|
+
}
|
|
18
|
+
|
|
19
|
+
.data-table-header-menu {
|
|
20
|
+
min-width: 210px;
|
|
21
|
+
}
|
|
22
|
+
|
|
23
|
+
.data-table-search-and-filter {
|
|
24
|
+
display: flex;
|
|
25
|
+
}
|
|
26
|
+
|
|
27
|
+
.datatable-search-input.bp3-form-group {
|
|
28
|
+
margin-bottom: 0;
|
|
29
|
+
}
|
|
30
|
+
|
|
31
|
+
.data-table-header {
|
|
32
|
+
display: flex;
|
|
33
|
+
flex-wrap: wrap;
|
|
34
|
+
margin-bottom: 10px;
|
|
35
|
+
justify-content: space-between;
|
|
36
|
+
align-items: center;
|
|
37
|
+
}
|
|
38
|
+
|
|
39
|
+
.data-table-header-and-buttons .bp3-button-group {
|
|
40
|
+
overflow: auto;
|
|
41
|
+
}
|
|
42
|
+
|
|
43
|
+
.data-table-title {
|
|
44
|
+
font-size: 1.8em;
|
|
45
|
+
font-weight: 300;
|
|
46
|
+
margin-right: 10px;
|
|
47
|
+
}
|
|
48
|
+
.data-table-header {
|
|
49
|
+
min-height: 30px;
|
|
50
|
+
flex-shrink: 0;
|
|
51
|
+
}
|
|
52
|
+
.data-table-footer {
|
|
53
|
+
min-height: 18px;
|
|
54
|
+
}
|
|
55
|
+
|
|
56
|
+
.data-table-container {
|
|
57
|
+
padding: 20px;
|
|
58
|
+
position: relative;
|
|
59
|
+
height: 100%;
|
|
60
|
+
width: 100%;
|
|
61
|
+
display: flex;
|
|
62
|
+
flex-direction: column;
|
|
63
|
+
}
|
|
64
|
+
@media only screen and (max-width: 600px) {
|
|
65
|
+
.data-table-container {
|
|
66
|
+
padding: 0px;
|
|
67
|
+
}
|
|
68
|
+
}
|
|
69
|
+
|
|
70
|
+
.data-table-container.fullscreen {
|
|
71
|
+
background: white;
|
|
72
|
+
position: fixed;
|
|
73
|
+
z-index: 5000;
|
|
74
|
+
padding: 20px !important;
|
|
75
|
+
left: 0;
|
|
76
|
+
top: 0;
|
|
77
|
+
width: 100vw;
|
|
78
|
+
height: 100vh;
|
|
79
|
+
}
|
|
80
|
+
|
|
81
|
+
.data-table-container.fullscreen .ReactTable {
|
|
82
|
+
max-height: 100% !important;
|
|
83
|
+
}
|
|
84
|
+
|
|
85
|
+
.data-table-container.no-padding {
|
|
86
|
+
padding: 0;
|
|
87
|
+
}
|
|
88
|
+
|
|
89
|
+
.data-table-container.hide-column-header .rt-thead.-header {
|
|
90
|
+
display: none;
|
|
91
|
+
}
|
|
92
|
+
|
|
93
|
+
.data-table-title-and-buttons {
|
|
94
|
+
display: flex;
|
|
95
|
+
align-items: center;
|
|
96
|
+
}
|
|
97
|
+
|
|
98
|
+
.datatable-search-input {
|
|
99
|
+
width: 200px;
|
|
100
|
+
}
|
|
101
|
+
|
|
102
|
+
.clickable-cell {
|
|
103
|
+
height: 100%;
|
|
104
|
+
width: 100%;
|
|
105
|
+
display: flex;
|
|
106
|
+
align-items: center;
|
|
107
|
+
}
|
|
108
|
+
|
|
109
|
+
.paging-toolbar-container {
|
|
110
|
+
margin-left: 5px;
|
|
111
|
+
display: flex;
|
|
112
|
+
justify-content: flex-end;
|
|
113
|
+
align-items: center;
|
|
114
|
+
}
|
|
115
|
+
|
|
116
|
+
.paging-page-size {
|
|
117
|
+
width: 62px;
|
|
118
|
+
}
|
|
119
|
+
|
|
120
|
+
.ReactTable.ReactTable .rt-tbody .rt-tr-group {
|
|
121
|
+
border-bottom: 1px solid rgb(233, 233, 233);
|
|
122
|
+
}
|
|
123
|
+
.ReactTable.ReactTable.isCellEditable .rt-tbody .rt-tr-group {
|
|
124
|
+
border-right: 4px solid #d4d4d433;
|
|
125
|
+
border-bottom: none;
|
|
126
|
+
}
|
|
127
|
+
.ReactTable.ReactTable.isCellEditable .rt-thead .rt-tr {
|
|
128
|
+
border-right: 4px solid #d4d4d433;
|
|
129
|
+
}
|
|
130
|
+
.ReactTable.ReactTable.isCellEditable .rt-thead .rt-th {
|
|
131
|
+
border: var(--cell-border-width) solid rgba(212, 212, 212, 0);
|
|
132
|
+
}
|
|
133
|
+
|
|
134
|
+
/* tgreen: we don't want the border for rows that don't have any data */
|
|
135
|
+
.ReactTable.ReactTable .rt-tbody .rt-tr-group.no-row-data {
|
|
136
|
+
min-height: 0px;
|
|
137
|
+
border-bottom: none;
|
|
138
|
+
}
|
|
139
|
+
|
|
140
|
+
.ReactTable.ReactTable .rt-tbody .rt-tr {
|
|
141
|
+
border: none;
|
|
142
|
+
}
|
|
143
|
+
|
|
144
|
+
.bp3-dark .ReactTable.ReactTable .rt-tbody .rt-tr-group {
|
|
145
|
+
border-bottom-color: rgba(16, 22, 26, 0.15);
|
|
146
|
+
}
|
|
147
|
+
|
|
148
|
+
.ReactTable.ReactTable .rt-tbody .rt-tr-group .-padRow {
|
|
149
|
+
display: none;
|
|
150
|
+
}
|
|
151
|
+
|
|
152
|
+
/* Prevent rows from expanding vertically to fill available space */
|
|
153
|
+
.ReactTable.ReactTable .rt-tbody .rt-tr-group,
|
|
154
|
+
.ReactTable.ReactTable .rt-tbody .rt-tr-group .rt-tr {
|
|
155
|
+
min-height: 28px;
|
|
156
|
+
flex: 0 0 auto;
|
|
157
|
+
}
|
|
158
|
+
|
|
159
|
+
/* add margin bottom to last row so it does not get covered by scrollbar */
|
|
160
|
+
/* .ReactTable .rt-tr-group:last-child {
|
|
161
|
+
margin-bottom: 20px;
|
|
162
|
+
} */
|
|
163
|
+
|
|
164
|
+
.bp3-icon-standard.bp3-disabled {
|
|
165
|
+
cursor: not-allowed;
|
|
166
|
+
opacity: 0.7;
|
|
167
|
+
}
|
|
168
|
+
|
|
169
|
+
.data-table-search-and-clear-filter-container {
|
|
170
|
+
display: flex;
|
|
171
|
+
align-items: center;
|
|
172
|
+
}
|
|
173
|
+
|
|
174
|
+
.data-table-clear-filters {
|
|
175
|
+
margin-right: 10px;
|
|
176
|
+
}
|
|
177
|
+
|
|
178
|
+
.tg-react-table-column-header {
|
|
179
|
+
display: flex;
|
|
180
|
+
align-items: center;
|
|
181
|
+
justify-content: flex-start;
|
|
182
|
+
}
|
|
183
|
+
|
|
184
|
+
.tg-react-table-name {
|
|
185
|
+
white-space: nowrap;
|
|
186
|
+
overflow: hidden;
|
|
187
|
+
min-width: 0px;
|
|
188
|
+
padding: 6px;
|
|
189
|
+
text-overflow: ellipsis;
|
|
190
|
+
font-size: 13px;
|
|
191
|
+
font-weight: 400;
|
|
192
|
+
color: rgba(0, 0, 0, 0.65);
|
|
193
|
+
}
|
|
194
|
+
|
|
195
|
+
.tg-sort-arrow-container {
|
|
196
|
+
margin-left: 4px;
|
|
197
|
+
display: flex;
|
|
198
|
+
flex-direction: column;
|
|
199
|
+
}
|
|
200
|
+
|
|
201
|
+
.tg-sort-arrow-container .bp3-icon {
|
|
202
|
+
display: none;
|
|
203
|
+
}
|
|
204
|
+
|
|
205
|
+
.tg-sort-arrow-container > *:hover {
|
|
206
|
+
background: rgba(167, 182, 194, 0.3);
|
|
207
|
+
}
|
|
208
|
+
|
|
209
|
+
.tg-filter-menu-button {
|
|
210
|
+
cursor: pointer;
|
|
211
|
+
display: none;
|
|
212
|
+
color: darkgrey;
|
|
213
|
+
margin-right: 4px;
|
|
214
|
+
}
|
|
215
|
+
|
|
216
|
+
.tg-filter-menu-button:hover {
|
|
217
|
+
color: #5c7080;
|
|
218
|
+
}
|
|
219
|
+
|
|
220
|
+
.tg-filter-menu-button.tg-active-filter {
|
|
221
|
+
color: #106ba3;
|
|
222
|
+
}
|
|
223
|
+
|
|
224
|
+
/* this keeps the buttons from jumping around on hover */
|
|
225
|
+
.tg-react-table-column-header.sort-active .tg-filter-menu-button {
|
|
226
|
+
display: block !important;
|
|
227
|
+
opacity: 0;
|
|
228
|
+
}
|
|
229
|
+
|
|
230
|
+
.tg-filter-menu-button.tg-active-filter,
|
|
231
|
+
.tg-sort-arrow-container .bp3-icon.active,
|
|
232
|
+
body:not(.drag-active)
|
|
233
|
+
.tg-react-table-column-header:hover
|
|
234
|
+
.tg-sort-arrow-container
|
|
235
|
+
.bp3-icon,
|
|
236
|
+
body:not(.drag-active)
|
|
237
|
+
.tg-react-table-column-header:hover
|
|
238
|
+
.tg-filter-menu-button,
|
|
239
|
+
.tg-filter-menu-button.tg-active-filter,
|
|
240
|
+
.tg-react-table-column-header .bp3-popover-open .tg-filter-menu-button {
|
|
241
|
+
display: block !important;
|
|
242
|
+
opacity: 1 !important;
|
|
243
|
+
}
|
|
244
|
+
|
|
245
|
+
.data-table-footer {
|
|
246
|
+
display: flex;
|
|
247
|
+
flex-wrap: wrap;
|
|
248
|
+
align-items: center;
|
|
249
|
+
margin-top: 20px;
|
|
250
|
+
}
|
|
251
|
+
|
|
252
|
+
.ReactTable {
|
|
253
|
+
user-select: none;
|
|
254
|
+
background: #f7f7f7;
|
|
255
|
+
}
|
|
256
|
+
|
|
257
|
+
.ReactTable .rt-thead {
|
|
258
|
+
box-shadow: none;
|
|
259
|
+
border-bottom: 1px solid rgba(0, 0, 0, 0.05);
|
|
260
|
+
position: sticky;
|
|
261
|
+
top: 0px;
|
|
262
|
+
background: #ebf1f5;
|
|
263
|
+
z-index: 2;
|
|
264
|
+
}
|
|
265
|
+
/* tnr: this is a hack to make cypress be able to correctly click the table without the sticky header getting in the way. remove me once https://github.com/cypress-io/cypress/issues/871 is fixed */
|
|
266
|
+
.in_cypress_test .ReactTable .rt-thead {
|
|
267
|
+
position: unset;
|
|
268
|
+
}
|
|
269
|
+
|
|
270
|
+
.bp3-dark .ReactTable .rt-thead {
|
|
271
|
+
background: #202b33;
|
|
272
|
+
}
|
|
273
|
+
|
|
274
|
+
.ReactTable .rt-tbody {
|
|
275
|
+
background: white;
|
|
276
|
+
overflow: visible !important;
|
|
277
|
+
}
|
|
278
|
+
|
|
279
|
+
.ReactTable .rt-tbody .rt-td {
|
|
280
|
+
cursor: pointer;
|
|
281
|
+
border-right: none;
|
|
282
|
+
color: rgba(0, 0, 0, 0.65);
|
|
283
|
+
font-size: 12px;
|
|
284
|
+
display: flex;
|
|
285
|
+
align-items: center;
|
|
286
|
+
padding: 12px 12px;
|
|
287
|
+
}
|
|
288
|
+
/* .ReactTable .rt-tbody .rt-td.isCleanRow {
|
|
289
|
+
opacity: 0.5;
|
|
290
|
+
} */
|
|
291
|
+
|
|
292
|
+
/* fix padding in custom row expander cell */
|
|
293
|
+
.ReactTable .rt-tbody .rt-expandable {
|
|
294
|
+
padding: 3px 5px;
|
|
295
|
+
}
|
|
296
|
+
|
|
297
|
+
.ReactTable .rt-tbody .rt-tr-group {
|
|
298
|
+
border-bottom-color: rgb(233, 233, 233);
|
|
299
|
+
}
|
|
300
|
+
|
|
301
|
+
.ReactTable .rt-tr-group.selected {
|
|
302
|
+
background: #e4f3f8 !important;
|
|
303
|
+
}
|
|
304
|
+
|
|
305
|
+
.ReactTable .rt-tr-group.disabled {
|
|
306
|
+
opacity: 0.6;
|
|
307
|
+
}
|
|
308
|
+
|
|
309
|
+
.ReactTable .rt-tr-group.disabled .rt-td {
|
|
310
|
+
cursor: not-allowed;
|
|
311
|
+
}
|
|
312
|
+
|
|
313
|
+
.dt-isViewable .ReactTable .rt-tr-group.selected .dt-eyeIcon {
|
|
314
|
+
color: #137cbd;
|
|
315
|
+
transform: scale(1.2);
|
|
316
|
+
}
|
|
317
|
+
|
|
318
|
+
.ReactTable .rt-tbody .rt-td {
|
|
319
|
+
padding: 8px 8px;
|
|
320
|
+
}
|
|
321
|
+
:root {
|
|
322
|
+
--cell-border-width: 1px;
|
|
323
|
+
--cell-no-border: var(--cell-border-width) solid rgba(212, 212, 212, 0.07);
|
|
324
|
+
--cell-border-color: rgb(75, 137, 255);
|
|
325
|
+
}
|
|
326
|
+
|
|
327
|
+
.ReactTable.isCellEditable .rt-td {
|
|
328
|
+
border: var(--cell-border-width) solid rgba(212, 212, 212, 0.2);
|
|
329
|
+
}
|
|
330
|
+
|
|
331
|
+
.ReactTable .rt-tbody .rt-td.isSelectedCell {
|
|
332
|
+
overflow: visible;
|
|
333
|
+
z-index: 1;
|
|
334
|
+
background: #005eff1e;
|
|
335
|
+
}
|
|
336
|
+
|
|
337
|
+
.ReactTable .rt-tbody .rt-td.isSelectedCell.isPrimarySelected {
|
|
338
|
+
border: var(--cell-border-width) solid var(--cell-border-color);
|
|
339
|
+
box-shadow: 0 0 0 1px rgb(75 137 255);
|
|
340
|
+
}
|
|
341
|
+
|
|
342
|
+
.ReactTable .rt-tbody .rt-td.isSelectedCell.isSecondarySelected {
|
|
343
|
+
border: var(--cell-border-width) solid var(--cell-border-color);
|
|
344
|
+
}
|
|
345
|
+
|
|
346
|
+
.ReactTable
|
|
347
|
+
.rt-tbody
|
|
348
|
+
.rt-td.isSelectedCell.isSecondarySelected.noSelectedTopBorder {
|
|
349
|
+
border-top: var(--cell-no-border);
|
|
350
|
+
}
|
|
351
|
+
.ReactTable
|
|
352
|
+
.rt-tbody
|
|
353
|
+
.rt-td.isSelectedCell.isSecondarySelected.noSelectedRightBorder {
|
|
354
|
+
border-right: var(--cell-no-border);
|
|
355
|
+
}
|
|
356
|
+
.ReactTable
|
|
357
|
+
.rt-tbody
|
|
358
|
+
.rt-td.isSelectedCell.isSecondarySelected.noSelectedBottomBorder {
|
|
359
|
+
border-bottom: var(--cell-no-border);
|
|
360
|
+
}
|
|
361
|
+
.ReactTable
|
|
362
|
+
.rt-tbody
|
|
363
|
+
.rt-td.isSelectedCell.isSecondarySelected.noSelectedLeftBorder {
|
|
364
|
+
border-left: var(--cell-no-border);
|
|
365
|
+
}
|
|
366
|
+
|
|
367
|
+
.ReactTable .rt-tbody .rt-td.isSelectedCell.isDropdownCell {
|
|
368
|
+
padding-top: 0px;
|
|
369
|
+
padding-bottom: 0px;
|
|
370
|
+
}
|
|
371
|
+
.ReactTable .rt-tbody .rt-td.hasCellError {
|
|
372
|
+
background-color: rgba(226, 50, 50, 0.61);
|
|
373
|
+
}
|
|
374
|
+
.ReactTable .rt-tbody .rt-td.isBooleanCell {
|
|
375
|
+
overflow: visible;
|
|
376
|
+
}
|
|
377
|
+
.ReactTable .rt-tbody .rt-td.selectedForUpdate {
|
|
378
|
+
border: var(--cell-border-width) dashed var(--cell-border-color);
|
|
379
|
+
}
|
|
380
|
+
|
|
381
|
+
.tg-compact-table .rt-tbody .rt-td {
|
|
382
|
+
padding: 4px 4px;
|
|
383
|
+
display: flex;
|
|
384
|
+
align-items: center;
|
|
385
|
+
}
|
|
386
|
+
|
|
387
|
+
.tg-extra-compact-table .rt-tbody .rt-td {
|
|
388
|
+
padding: 0px 0px;
|
|
389
|
+
display: flex;
|
|
390
|
+
align-items: center;
|
|
391
|
+
}
|
|
392
|
+
|
|
393
|
+
.ReactTable .rt-thead .rt-th.tg-react-table-checkbox-header-container,
|
|
394
|
+
.ReactTable .rt-tbody .rt-td.tg-react-table-checkbox-cell-container {
|
|
395
|
+
display: flex;
|
|
396
|
+
align-items: center;
|
|
397
|
+
justify-content: center;
|
|
398
|
+
padding: 0;
|
|
399
|
+
}
|
|
400
|
+
|
|
401
|
+
.tg-react-table-checkbox-header-container .bp3-control,
|
|
402
|
+
.tg-react-table-checkbox-cell-container .bp3-control {
|
|
403
|
+
margin-bottom: 0;
|
|
404
|
+
margin-top: 0;
|
|
405
|
+
/* there is a weird padding on the blueprint checkbox, so this centers it some */
|
|
406
|
+
padding-left: 18px;
|
|
407
|
+
}
|
|
408
|
+
|
|
409
|
+
.tg-react-table-checkbox-header-container .bp3-control-indicator,
|
|
410
|
+
.tg-react-table-checkbox-cell-container .bp3-control-indicator {
|
|
411
|
+
margin-left: -10px !important;
|
|
412
|
+
}
|
|
413
|
+
|
|
414
|
+
.tg-compact-table .tg-react-table-name {
|
|
415
|
+
padding: 6px;
|
|
416
|
+
padding-left: 4px;
|
|
417
|
+
}
|
|
418
|
+
|
|
419
|
+
.tg-extra-compact-table .tg-react-table-name {
|
|
420
|
+
padding: 4px;
|
|
421
|
+
padding-left: 2px;
|
|
422
|
+
}
|
|
423
|
+
|
|
424
|
+
.ReactTable .-loading.disabled {
|
|
425
|
+
cursor: not-allowed;
|
|
426
|
+
}
|
|
427
|
+
|
|
428
|
+
/* to get the height to resize based on its container: */
|
|
429
|
+
.ReactTable {
|
|
430
|
+
height: 100%;
|
|
431
|
+
display: flex;
|
|
432
|
+
flex-direction: column;
|
|
433
|
+
}
|
|
434
|
+
|
|
435
|
+
.ReactTable .rt-table {
|
|
436
|
+
/* flex: 100000 0 auto; */
|
|
437
|
+
overflow: auto !important;
|
|
438
|
+
}
|
|
439
|
+
|
|
440
|
+
.-pagination,
|
|
441
|
+
.rt-body {
|
|
442
|
+
flex: 1 0 auto;
|
|
443
|
+
}
|
|
444
|
+
|
|
445
|
+
.tg-dropdown-cell-edit-container {
|
|
446
|
+
width: 100%;
|
|
447
|
+
}
|
|
448
|
+
|
|
449
|
+
.rt-td.isDropdownCell {
|
|
450
|
+
transition: 0s;
|
|
451
|
+
}
|
|
452
|
+
.rt-td.isEditingCell.isDropdownCell {
|
|
453
|
+
padding: 0;
|
|
454
|
+
/* max-height: 24px; */
|
|
455
|
+
}
|
|
456
|
+
|
|
457
|
+
.tg-dropdown-cell-edit-container .bp3-tag-input .bp3-button {
|
|
458
|
+
margin: 0;
|
|
459
|
+
}
|
|
460
|
+
/* .tg-dropdown-cell-edit-container .bp3-tag-input .bp3-tag-input-values > * {
|
|
461
|
+
margin-bottom: 0;
|
|
462
|
+
} */
|
|
463
|
+
.tg-dropdown-cell-edit-container:not(.tg-dropdown-cell-edit-container-multi)
|
|
464
|
+
.bp3-tag-input {
|
|
465
|
+
min-height: 0;
|
|
466
|
+
max-height: 22px;
|
|
467
|
+
}
|
|
468
|
+
|
|
469
|
+
.tg-dropdown-cell-edit-container .bp3-tag-input-values {
|
|
470
|
+
margin-top: 0;
|
|
471
|
+
margin-right: 0;
|
|
472
|
+
}
|
|
473
|
+
|
|
474
|
+
.tg-dropdown-cell-edit-container .bp3-input {
|
|
475
|
+
background: #f7f7f7 !important;
|
|
476
|
+
box-shadow: none !important;
|
|
477
|
+
}
|
|
478
|
+
|
|
479
|
+
.ReactTable .rt-thead .rt-th {
|
|
480
|
+
transition-property: unset;
|
|
481
|
+
padding: 0;
|
|
482
|
+
}
|
|
483
|
+
|
|
484
|
+
.ReactTable .rt-thead .rt-th,
|
|
485
|
+
.ReactTable .rt-thead .rt-td {
|
|
486
|
+
border-right: none;
|
|
487
|
+
}
|
|
488
|
+
|
|
489
|
+
.ReactTable .rt-thead .rt-resizable-header {
|
|
490
|
+
border-right: 1px solid #e1e8ed;
|
|
491
|
+
}
|
|
492
|
+
|
|
493
|
+
.bp3-dark .ReactTable .rt-thead .rt-resizable-header {
|
|
494
|
+
border-right: 1px solid #202b33;
|
|
495
|
+
}
|
|
496
|
+
|
|
497
|
+
.ReactTable .rt-thead .rt-resizable-header:hover {
|
|
498
|
+
border-right: 1px solid #ced9e0;
|
|
499
|
+
}
|
|
500
|
+
|
|
501
|
+
.show-on-hover {
|
|
502
|
+
color: #fff;
|
|
503
|
+
font-size: 13px !important;
|
|
504
|
+
}
|
|
505
|
+
|
|
506
|
+
.hoverable:hover .show-on-hover {
|
|
507
|
+
display: inline !important;
|
|
508
|
+
color: #ccc;
|
|
509
|
+
}
|
|
510
|
+
|
|
511
|
+
.ReactTable .rt-noData {
|
|
512
|
+
z-index: unset;
|
|
513
|
+
margin-top: 5px;
|
|
514
|
+
}
|
|
515
|
+
|
|
516
|
+
/* dark styles */
|
|
517
|
+
.bp3-dark .ReactTable {
|
|
518
|
+
background: #182026 !important;
|
|
519
|
+
color: #f5f8fa !important;
|
|
520
|
+
border-color: #293742;
|
|
521
|
+
}
|
|
522
|
+
/* dark styles */
|
|
523
|
+
.bp3-dark .ReactTable .rt-tbody {
|
|
524
|
+
background: #30404d !important;
|
|
525
|
+
}
|
|
526
|
+
.ReactTable .rt-thead.-header {
|
|
527
|
+
box-shadow: none;
|
|
528
|
+
}
|
|
529
|
+
.bp3-dark .ReactTable .rt-thead.-header {
|
|
530
|
+
color: #f5f8fa !important;
|
|
531
|
+
}
|
|
532
|
+
|
|
533
|
+
.bp3-dark .ReactTable .rt-tbody .rt-td,
|
|
534
|
+
.bp3-dark .tg-react-table-name {
|
|
535
|
+
color: #f5f8fa !important;
|
|
536
|
+
}
|
|
537
|
+
|
|
538
|
+
.bp3-dark .ReactTable .rt-noData {
|
|
539
|
+
background: #202b33 !important;
|
|
540
|
+
color: inherit !important;
|
|
541
|
+
}
|
|
542
|
+
|
|
543
|
+
.bp3-dark .ReactTable .-loading {
|
|
544
|
+
background: #30404d !important;
|
|
545
|
+
}
|
|
546
|
+
|
|
547
|
+
.bp3-dark .ReactTable .-loading > div {
|
|
548
|
+
color: #f5f8fa !important;
|
|
549
|
+
}
|
|
550
|
+
|
|
551
|
+
.bp3-dark .ReactTable .rt-tr-group.selected {
|
|
552
|
+
background: #26738cb0 !important;
|
|
553
|
+
}
|
|
554
|
+
|
|
555
|
+
.dt-isViewable .ReactTable .rt-tr-group.selected {
|
|
556
|
+
background: inherit !important;
|
|
557
|
+
}
|
|
558
|
+
|
|
559
|
+
.bp3-dark .ReactTable .rt-thead .rt-resizable-header:hover {
|
|
560
|
+
border-right-color: #738694;
|
|
561
|
+
}
|
|
562
|
+
|
|
563
|
+
.bp3-dark .data-table-container.fullscreen {
|
|
564
|
+
background: #293742;
|
|
565
|
+
}
|
|
566
|
+
|
|
567
|
+
.data-table-container .ReactTable .rt-resizer {
|
|
568
|
+
width: 10px;
|
|
569
|
+
right: -5px;
|
|
570
|
+
}
|
|
571
|
+
|
|
572
|
+
.bp3-dark .dt-minimalStyle .ReactTable {
|
|
573
|
+
background: transparent !important;
|
|
574
|
+
}
|
|
575
|
+
.bp3-dark .dt-minimalStyle .ReactTable {
|
|
576
|
+
border-color: transparent !important;
|
|
577
|
+
}
|
|
578
|
+
.bp3-dark .dt-minimalStyle .ReactTable * {
|
|
579
|
+
border-color: transparent !important ;
|
|
580
|
+
}
|
|
581
|
+
.dt-minimalStyle .ReactTable {
|
|
582
|
+
background: transparent !important;
|
|
583
|
+
}
|
|
584
|
+
.dt-minimalStyle .ReactTable {
|
|
585
|
+
border-color: transparent !important;
|
|
586
|
+
}
|
|
587
|
+
.dt-minimalStyle .ReactTable * {
|
|
588
|
+
border-color: transparent !important ;
|
|
589
|
+
}
|
|
590
|
+
|
|
591
|
+
.bp3-dark .tg-dropdown-cell-edit-container .bp3-input {
|
|
592
|
+
background: rgb(48, 64, 77) !important;
|
|
593
|
+
}
|
|
594
|
+
|
|
595
|
+
.cell-edit-dropdown:hover {
|
|
596
|
+
color: var(--cell-border-color);
|
|
597
|
+
}
|
|
598
|
+
.tgBorderBlue {
|
|
599
|
+
outline: 1px solid rgb(75, 149, 210);
|
|
600
|
+
}
|
|
601
|
+
.data-table-container-inner {
|
|
602
|
+
min-height: 150px;
|
|
603
|
+
position: relative;
|
|
604
|
+
height: 100%;
|
|
605
|
+
width: 100%;
|
|
606
|
+
display: flex;
|
|
607
|
+
flex-direction: column;
|
|
608
|
+
}
|