@konfuzio/document-validation-ui 0.1.13-dev.3 → 0.1.13
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/dist/css/app.css +1 -1
- package/dist/index.html +1 -1
- package/dist/js/app.js +1 -1
- package/dist/js/app.js.map +1 -1
- package/dist/js/chunk-vendors.js +1 -1
- package/dist/js/chunk-vendors.js.map +1 -1
- package/package.json +1 -1
- package/src/.DS_Store +0 -0
- package/src/api.js +13 -9
- package/src/assets/images/ServerImage.vue +1 -1
- package/src/assets/scss/document_annotations.scss +199 -183
- package/src/assets/scss/document_thumbnails.scss +1 -1
- package/src/assets/scss/document_toolbar.scss +21 -7
- package/src/assets/scss/theme.scss +22 -0
- package/src/components/App.cy.js +1 -1
- package/src/components/App.vue +1 -1
- package/src/components/DocumentAnnotations/AnnotationDetails.vue +1 -1
- package/src/components/DocumentAnnotations/DocumentAnnotations.vue +37 -12
- package/src/components/DocumentAnnotations/DocumentLabel.vue +2 -2
- package/src/components/DocumentAnnotations/ExtractingData.vue +15 -3
- package/src/components/DocumentEdit/DocumentEdit.vue +5 -1
- package/src/components/DocumentModals/DocumentErrorModal.vue +1 -1
- package/src/components/DocumentPage/DocumentPage.vue +1 -1
- package/src/components/DocumentPage/DocumentToolbar.vue +56 -0
- package/src/components/DocumentThumbnails/DocumentThumbnails.cy.js +64 -0
- package/src/components/DocumentThumbnails/DocumentThumbnails.vue +2 -2
- package/src/icons.js +3 -1
- package/src/locales/de.json +9 -1
- package/src/locales/en.json +9 -1
- package/src/locales/es.json +9 -1
- package/src/store/document.js +4 -2
- package/src/store/edit.js +8 -0
- package/src/store/project.js +1 -1
- package/src/utils/utils.js +2 -0
package/package.json
CHANGED
package/src/.DS_Store
ADDED
|
Binary file
|
package/src/api.js
CHANGED
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
import axios from "axios";
|
|
2
2
|
import { cacheAdapterEnhancer } from "axios-extensions";
|
|
3
3
|
|
|
4
|
-
let HTTP,
|
|
4
|
+
let HTTP, FILE_REQUEST, authToken, appLocale;
|
|
5
5
|
const DEFAULT_URL = "https://app.konfuzio.com";
|
|
6
6
|
|
|
7
7
|
axios.defaults.xsrfCookieName = "csrftoken";
|
|
@@ -11,7 +11,7 @@ HTTP = axios.create({
|
|
|
11
11
|
baseURL: process.env.VUE_APP_API_URL || `${DEFAULT_URL}/api/v3/`,
|
|
12
12
|
});
|
|
13
13
|
|
|
14
|
-
|
|
14
|
+
FILE_REQUEST = axios.create({
|
|
15
15
|
baseURL: process.env.VUE_APP_DOCUMENT_IMAGES_URL || `${DEFAULT_URL}`,
|
|
16
16
|
responseType: "blob",
|
|
17
17
|
adapter: cacheAdapterEnhancer(axios.defaults.adapter),
|
|
@@ -25,8 +25,8 @@ const setApiUrl = (url) => {
|
|
|
25
25
|
HTTP.defaults.baseURL = url;
|
|
26
26
|
};
|
|
27
27
|
|
|
28
|
-
const
|
|
29
|
-
|
|
28
|
+
const setFileUrl = (url) => {
|
|
29
|
+
FILE_REQUEST.defaults.baseURL = url;
|
|
30
30
|
};
|
|
31
31
|
|
|
32
32
|
const setLocale = (locale) => {
|
|
@@ -45,22 +45,25 @@ HTTP.interceptors.request.use(getInterceptorConfig, (error) => {
|
|
|
45
45
|
return Promise.reject(error);
|
|
46
46
|
});
|
|
47
47
|
|
|
48
|
-
|
|
48
|
+
FILE_REQUEST.interceptors.request.use(getInterceptorConfig, (error) => {
|
|
49
49
|
return Promise.reject(error);
|
|
50
50
|
});
|
|
51
51
|
|
|
52
|
-
const
|
|
52
|
+
const makeFileRequest = (fileUrl) => {
|
|
53
53
|
return new Promise((resolve, reject) => {
|
|
54
54
|
if (process.env.NODE_ENV === "test") {
|
|
55
55
|
reject("Running unit tests!");
|
|
56
56
|
return;
|
|
57
57
|
}
|
|
58
|
-
|
|
58
|
+
FILE_REQUEST.get(fileUrl)
|
|
59
59
|
.then((response) => {
|
|
60
60
|
return response.data;
|
|
61
61
|
})
|
|
62
62
|
.then((myBlob) => {
|
|
63
63
|
resolve(myBlob);
|
|
64
|
+
})
|
|
65
|
+
.catch((error) => {
|
|
66
|
+
reject(error);
|
|
64
67
|
});
|
|
65
68
|
});
|
|
66
69
|
};
|
|
@@ -68,8 +71,9 @@ const makeImageRequest = (imageURL) => {
|
|
|
68
71
|
export default {
|
|
69
72
|
HTTP,
|
|
70
73
|
setApiUrl,
|
|
71
|
-
|
|
72
|
-
|
|
74
|
+
setFileUrl,
|
|
75
|
+
makeFileRequest,
|
|
73
76
|
setAuthToken,
|
|
74
77
|
setLocale,
|
|
78
|
+
FILE_REQUEST,
|
|
75
79
|
};
|
|
@@ -99,245 +99,261 @@
|
|
|
99
99
|
line-height: 20px;
|
|
100
100
|
}
|
|
101
101
|
}
|
|
102
|
-
}
|
|
103
|
-
|
|
104
|
-
.labels {
|
|
105
|
-
.label {
|
|
106
|
-
.label-group {
|
|
107
|
-
display: flex;
|
|
108
|
-
flex-direction: row;
|
|
109
|
-
justify-content: space-between;
|
|
110
|
-
align-items: center;
|
|
111
|
-
border-bottom: 1px solid $grey-lightest;
|
|
112
|
-
min-height: 44px;
|
|
113
|
-
cursor: pointer;
|
|
114
102
|
|
|
115
|
-
|
|
103
|
+
.labels {
|
|
104
|
+
.label {
|
|
105
|
+
.label-group {
|
|
116
106
|
display: flex;
|
|
117
107
|
flex-direction: row;
|
|
118
|
-
|
|
119
|
-
color: $text-lighter;
|
|
108
|
+
justify-content: space-between;
|
|
120
109
|
align-items: center;
|
|
110
|
+
border-bottom: 1px solid $grey-lightest;
|
|
111
|
+
min-height: 44px;
|
|
112
|
+
cursor: pointer;
|
|
121
113
|
|
|
122
|
-
.label-
|
|
123
|
-
|
|
124
|
-
|
|
125
|
-
|
|
126
|
-
|
|
127
|
-
.label-group-right {
|
|
128
|
-
display: flex;
|
|
129
|
-
flex-direction: row;
|
|
130
|
-
font-weight: 400;
|
|
131
|
-
font-size: 14px;
|
|
132
|
-
line-height: 20px;
|
|
133
|
-
padding-right: 16px;
|
|
134
|
-
cursor: default;
|
|
135
|
-
|
|
136
|
-
.label-annotations-pending {
|
|
137
|
-
padding: 0px 8px;
|
|
138
|
-
border-radius: 20px;
|
|
139
|
-
background: $grey-lighter-low-opacity;
|
|
114
|
+
.label-group-left {
|
|
115
|
+
display: flex;
|
|
116
|
+
flex-direction: row;
|
|
117
|
+
padding-left: 28px;
|
|
140
118
|
color: $text-lighter;
|
|
141
|
-
|
|
142
|
-
}
|
|
119
|
+
align-items: center;
|
|
143
120
|
|
|
144
|
-
|
|
145
|
-
|
|
146
|
-
|
|
147
|
-
background: $green-low-opacity;
|
|
148
|
-
color: $green;
|
|
121
|
+
.label-name {
|
|
122
|
+
padding-left: 20px;
|
|
123
|
+
}
|
|
149
124
|
}
|
|
150
|
-
}
|
|
151
|
-
}
|
|
152
125
|
|
|
153
|
-
|
|
154
|
-
|
|
126
|
+
.label-group-right {
|
|
127
|
+
display: flex;
|
|
128
|
+
flex-direction: row;
|
|
129
|
+
font-weight: 400;
|
|
130
|
+
font-size: 14px;
|
|
131
|
+
line-height: 20px;
|
|
132
|
+
padding-right: 16px;
|
|
133
|
+
cursor: default;
|
|
134
|
+
|
|
135
|
+
.label-annotations-pending {
|
|
136
|
+
padding: 0px 8px;
|
|
137
|
+
border-radius: 20px;
|
|
138
|
+
background: $grey-lighter-low-opacity;
|
|
139
|
+
color: $text-lighter;
|
|
140
|
+
margin-right: 4px;
|
|
141
|
+
}
|
|
155
142
|
|
|
156
|
-
|
|
157
|
-
|
|
143
|
+
.label-annotations-accepted {
|
|
144
|
+
padding: 0px 8px;
|
|
145
|
+
border-radius: 20px;
|
|
146
|
+
background: $green-low-opacity;
|
|
147
|
+
color: $green;
|
|
148
|
+
}
|
|
149
|
+
}
|
|
158
150
|
}
|
|
159
|
-
}
|
|
160
|
-
|
|
161
|
-
.label-name {
|
|
162
|
-
color: $text-lighter;
|
|
163
|
-
word-break: break-word;
|
|
164
|
-
font-size: 14px;
|
|
165
|
-
line-height: 20px;
|
|
166
|
-
font-weight: 400;
|
|
167
|
-
}
|
|
168
151
|
|
|
169
|
-
|
|
170
|
-
|
|
171
|
-
border-bottom: 1px solid $grey-lightest;
|
|
172
|
-
transition: background-color 0.2s ease-out;
|
|
173
|
-
display: flex;
|
|
174
|
-
align-items: center;
|
|
175
|
-
padding-right: 5px;
|
|
176
|
-
|
|
177
|
-
.annotation-row-left {
|
|
178
|
-
flex: 1;
|
|
179
|
-
padding-left: 8px;
|
|
180
|
-
display: flex;
|
|
181
|
-
align-items: center;
|
|
152
|
+
.label-group-annotation-list {
|
|
153
|
+
background-color: $grey-hover;
|
|
182
154
|
|
|
183
|
-
.annotation-
|
|
184
|
-
|
|
185
|
-
padding: 0 15px;
|
|
155
|
+
.annotation-row {
|
|
156
|
+
padding-left: 16px;
|
|
186
157
|
}
|
|
158
|
+
}
|
|
187
159
|
|
|
188
|
-
|
|
189
|
-
|
|
190
|
-
|
|
191
|
-
|
|
160
|
+
.label-name {
|
|
161
|
+
color: $text-lighter;
|
|
162
|
+
word-break: break-word;
|
|
163
|
+
font-size: 14px;
|
|
164
|
+
line-height: 20px;
|
|
165
|
+
font-weight: 400;
|
|
192
166
|
}
|
|
193
167
|
|
|
194
|
-
.annotation-row
|
|
195
|
-
width:
|
|
168
|
+
.annotation-row {
|
|
169
|
+
width: 100%;
|
|
170
|
+
border-bottom: 1px solid $grey-lightest;
|
|
171
|
+
transition: background-color 0.2s ease-out;
|
|
196
172
|
display: flex;
|
|
197
173
|
align-items: center;
|
|
174
|
+
padding-right: 5px;
|
|
198
175
|
|
|
199
|
-
.
|
|
200
|
-
|
|
201
|
-
|
|
202
|
-
|
|
203
|
-
|
|
204
|
-
width: 100%;
|
|
205
|
-
font-size: 14px;
|
|
206
|
-
line-height: 20px;
|
|
207
|
-
font-weight: 400;
|
|
208
|
-
|
|
209
|
-
.annotation,
|
|
210
|
-
.empty-annotation {
|
|
211
|
-
min-height: 36px;
|
|
212
|
-
display: flex;
|
|
213
|
-
align-items: center;
|
|
214
|
-
}
|
|
215
|
-
|
|
216
|
-
.loading-container {
|
|
217
|
-
height: 20px;
|
|
218
|
-
display: flex;
|
|
219
|
-
align-items: center;
|
|
176
|
+
.annotation-row-left {
|
|
177
|
+
flex: 1;
|
|
178
|
+
padding-left: 8px;
|
|
179
|
+
display: flex;
|
|
180
|
+
align-items: center;
|
|
220
181
|
|
|
221
|
-
|
|
222
|
-
|
|
223
|
-
|
|
224
|
-
}
|
|
182
|
+
.annotation-icon {
|
|
183
|
+
height: 40px;
|
|
184
|
+
padding: 0 15px;
|
|
225
185
|
}
|
|
226
186
|
|
|
227
|
-
.
|
|
228
|
-
|
|
187
|
+
.label-name {
|
|
188
|
+
padding: 10px 0;
|
|
189
|
+
padding-right: 4px;
|
|
229
190
|
}
|
|
230
191
|
}
|
|
231
192
|
|
|
232
|
-
.
|
|
193
|
+
.annotation-row-right {
|
|
194
|
+
width: 60%;
|
|
233
195
|
display: flex;
|
|
234
|
-
|
|
235
|
-
}
|
|
196
|
+
align-items: center;
|
|
236
197
|
|
|
237
|
-
|
|
238
|
-
|
|
239
|
-
color: $text;
|
|
240
|
-
padding: 0 8px;
|
|
241
|
-
border: none;
|
|
242
|
-
background-color: transparent;
|
|
243
|
-
inline-size: 100%;
|
|
244
|
-
overflow-wrap: break-word;
|
|
245
|
-
word-break: break-all;
|
|
246
|
-
|
|
247
|
-
&:focus {
|
|
248
|
-
outline: none;
|
|
198
|
+
.notification {
|
|
199
|
+
background-color: transparent;
|
|
249
200
|
}
|
|
250
201
|
|
|
251
|
-
|
|
252
|
-
|
|
202
|
+
.annotation-content {
|
|
203
|
+
width: 100%;
|
|
253
204
|
font-size: 14px;
|
|
254
|
-
|
|
205
|
+
line-height: 20px;
|
|
206
|
+
font-weight: 400;
|
|
207
|
+
|
|
208
|
+
.annotation,
|
|
209
|
+
.empty-annotation {
|
|
210
|
+
min-height: 36px;
|
|
211
|
+
display: flex;
|
|
212
|
+
align-items: center;
|
|
213
|
+
}
|
|
214
|
+
|
|
215
|
+
.loading-container {
|
|
216
|
+
height: 20px;
|
|
217
|
+
display: flex;
|
|
218
|
+
align-items: center;
|
|
219
|
+
|
|
220
|
+
.loading-icon-size {
|
|
221
|
+
width: 13px;
|
|
222
|
+
height: 13px;
|
|
223
|
+
}
|
|
224
|
+
}
|
|
255
225
|
|
|
256
|
-
|
|
257
|
-
|
|
258
|
-
color: $text-lighter;
|
|
226
|
+
.spinner {
|
|
227
|
+
color: $grey;
|
|
259
228
|
}
|
|
260
229
|
}
|
|
261
|
-
}
|
|
262
|
-
}
|
|
263
230
|
|
|
264
|
-
|
|
265
|
-
|
|
266
|
-
|
|
267
|
-
|
|
268
|
-
}
|
|
231
|
+
.buttons-container {
|
|
232
|
+
display: flex;
|
|
233
|
+
gap: 8px;
|
|
234
|
+
}
|
|
269
235
|
|
|
270
|
-
|
|
271
|
-
|
|
272
|
-
|
|
273
|
-
|
|
236
|
+
.annotation-value {
|
|
237
|
+
display: inline-block;
|
|
238
|
+
color: $text;
|
|
239
|
+
padding: 0 8px;
|
|
240
|
+
border: none;
|
|
241
|
+
background-color: transparent;
|
|
242
|
+
inline-size: 100%;
|
|
243
|
+
overflow-wrap: break-word;
|
|
244
|
+
word-break: break-all;
|
|
245
|
+
|
|
246
|
+
&:focus {
|
|
247
|
+
outline: none;
|
|
248
|
+
}
|
|
274
249
|
|
|
275
|
-
|
|
276
|
-
|
|
277
|
-
|
|
278
|
-
|
|
250
|
+
&.label-empty {
|
|
251
|
+
font-weight: 500;
|
|
252
|
+
font-size: 14px;
|
|
253
|
+
color: $primary;
|
|
279
254
|
|
|
280
|
-
|
|
281
|
-
|
|
282
|
-
|
|
255
|
+
&.clicked-ann {
|
|
256
|
+
font-weight: 400;
|
|
257
|
+
color: $text-lighter;
|
|
258
|
+
}
|
|
259
|
+
}
|
|
260
|
+
}
|
|
261
|
+
}
|
|
283
262
|
|
|
284
|
-
|
|
285
|
-
display:
|
|
286
|
-
content: "";
|
|
263
|
+
.empty-annotation {
|
|
264
|
+
display: flex;
|
|
287
265
|
width: 100%;
|
|
288
|
-
|
|
289
|
-
background: $primary;
|
|
290
|
-
opacity: 0.1;
|
|
291
|
-
position: absolute;
|
|
292
|
-
top: 0;
|
|
293
|
-
left: 0;
|
|
266
|
+
justify-content: space-between;
|
|
294
267
|
}
|
|
295
|
-
}
|
|
296
268
|
|
|
297
|
-
|
|
298
|
-
|
|
299
|
-
|
|
300
|
-
|
|
269
|
+
&:hover,
|
|
270
|
+
&.selected {
|
|
271
|
+
background-color: $grey-lightest;
|
|
272
|
+
}
|
|
301
273
|
|
|
302
|
-
|
|
303
|
-
|
|
304
|
-
|
|
305
|
-
|
|
274
|
+
&.hovered-empty-labels {
|
|
275
|
+
background-color: $grey-lightest;
|
|
276
|
+
border-bottom-color: $grey-detail;
|
|
277
|
+
}
|
|
306
278
|
|
|
307
|
-
|
|
308
|
-
|
|
309
|
-
|
|
279
|
+
&.hovered-pending-annotations {
|
|
280
|
+
position: relative;
|
|
281
|
+
border-bottom-color: $primary;
|
|
282
|
+
|
|
283
|
+
&:before {
|
|
284
|
+
display: block;
|
|
285
|
+
content: "";
|
|
286
|
+
width: 100%;
|
|
287
|
+
height: 100%;
|
|
288
|
+
background: $primary;
|
|
289
|
+
opacity: 0.1;
|
|
290
|
+
position: absolute;
|
|
291
|
+
top: 0;
|
|
292
|
+
left: 0;
|
|
293
|
+
}
|
|
294
|
+
}
|
|
310
295
|
|
|
311
|
-
|
|
312
|
-
|
|
313
|
-
|
|
314
|
-
|
|
315
|
-
}
|
|
296
|
+
&.editing {
|
|
297
|
+
background-color: $background;
|
|
298
|
+
border-bottom: 1px solid $primary;
|
|
299
|
+
}
|
|
316
300
|
|
|
317
|
-
|
|
318
|
-
|
|
319
|
-
|
|
320
|
-
transform: translate3d(-1px, 0, 0);
|
|
301
|
+
.not-found-text {
|
|
302
|
+
color: $grey;
|
|
303
|
+
opacity: 0.3;
|
|
321
304
|
}
|
|
322
305
|
|
|
323
|
-
|
|
324
|
-
|
|
325
|
-
transform: translate3d(2px, 0, 0);
|
|
306
|
+
.saving-changes {
|
|
307
|
+
color: $grey;
|
|
326
308
|
}
|
|
327
309
|
|
|
328
|
-
|
|
329
|
-
|
|
330
|
-
|
|
331
|
-
transform: translate3d(
|
|
310
|
+
.error-editing {
|
|
311
|
+
color: $red;
|
|
312
|
+
animation: shake 0.82s cubic-bezier(0.36, 0.07, 0.19, 0.97) both;
|
|
313
|
+
transform: translate3d(0, 0, 0);
|
|
332
314
|
}
|
|
333
315
|
|
|
334
|
-
|
|
335
|
-
|
|
336
|
-
|
|
316
|
+
@keyframes shake {
|
|
317
|
+
10%,
|
|
318
|
+
90% {
|
|
319
|
+
transform: translate3d(-1px, 0, 0);
|
|
320
|
+
}
|
|
321
|
+
|
|
322
|
+
20%,
|
|
323
|
+
80% {
|
|
324
|
+
transform: translate3d(2px, 0, 0);
|
|
325
|
+
}
|
|
326
|
+
|
|
327
|
+
30%,
|
|
328
|
+
50%,
|
|
329
|
+
70% {
|
|
330
|
+
transform: translate3d(-4px, 0, 0);
|
|
331
|
+
}
|
|
332
|
+
|
|
333
|
+
40%,
|
|
334
|
+
60% {
|
|
335
|
+
transform: translate3d(4px, 0, 0);
|
|
336
|
+
}
|
|
337
337
|
}
|
|
338
338
|
}
|
|
339
339
|
}
|
|
340
340
|
}
|
|
341
|
+
|
|
342
|
+
.no-labels {
|
|
343
|
+
display: flex;
|
|
344
|
+
gap: 5px;
|
|
345
|
+
padding-left: 28px;
|
|
346
|
+
color: $text-lighter;
|
|
347
|
+
font-size: 14px;
|
|
348
|
+
line-height: 20px;
|
|
349
|
+
min-height: 44px;
|
|
350
|
+
|
|
351
|
+
a {
|
|
352
|
+
color: $white;
|
|
353
|
+
text-decoration: underline;
|
|
354
|
+
font-weight: 500;
|
|
355
|
+
}
|
|
356
|
+
}
|
|
341
357
|
}
|
|
342
358
|
}
|
|
343
359
|
|
|
@@ -24,6 +24,16 @@
|
|
|
24
24
|
display: none;
|
|
25
25
|
}
|
|
26
26
|
|
|
27
|
+
.edit-mode-disabled,
|
|
28
|
+
.zoom-disabled {
|
|
29
|
+
opacity: 30%;
|
|
30
|
+
|
|
31
|
+
&:hover {
|
|
32
|
+
cursor: not-allowed !important;
|
|
33
|
+
background: inherit;
|
|
34
|
+
}
|
|
35
|
+
}
|
|
36
|
+
|
|
27
37
|
.toolbar-divider {
|
|
28
38
|
width: 1px;
|
|
29
39
|
background-color: $grey-detail;
|
|
@@ -72,7 +82,6 @@
|
|
|
72
82
|
padding: 7px;
|
|
73
83
|
margin-right: 20px;
|
|
74
84
|
}
|
|
75
|
-
|
|
76
85
|
.icon {
|
|
77
86
|
width: 32px;
|
|
78
87
|
height: 32px;
|
|
@@ -83,13 +92,18 @@
|
|
|
83
92
|
background: $low-opacity-white;
|
|
84
93
|
border-radius: 4px;
|
|
85
94
|
}
|
|
86
|
-
|
|
87
|
-
|
|
95
|
+
}
|
|
96
|
+
}
|
|
88
97
|
|
|
89
|
-
|
|
90
|
-
|
|
91
|
-
|
|
92
|
-
|
|
98
|
+
.download-file {
|
|
99
|
+
color: $toolbar-elements;
|
|
100
|
+
|
|
101
|
+
.is-active {
|
|
102
|
+
background: $low-opacity-white;
|
|
103
|
+
border-radius: 4px;
|
|
104
|
+
|
|
105
|
+
.icon:hover {
|
|
106
|
+
background: none;
|
|
93
107
|
}
|
|
94
108
|
}
|
|
95
109
|
}
|
|
@@ -251,6 +251,15 @@
|
|
|
251
251
|
.dropdown-trigger {
|
|
252
252
|
justify-content: space-between;
|
|
253
253
|
width: 100%;
|
|
254
|
+
|
|
255
|
+
.icon {
|
|
256
|
+
&.download-file {
|
|
257
|
+
svg {
|
|
258
|
+
height: 100% !important;
|
|
259
|
+
width: 100% !important;
|
|
260
|
+
}
|
|
261
|
+
}
|
|
262
|
+
}
|
|
254
263
|
}
|
|
255
264
|
|
|
256
265
|
.dropdown-menu {
|
|
@@ -499,6 +508,7 @@
|
|
|
499
508
|
.b-tooltip {
|
|
500
509
|
height: 100%;
|
|
501
510
|
align-items: center;
|
|
511
|
+
|
|
502
512
|
.tooltip-content {
|
|
503
513
|
background-color: $text-color !important;
|
|
504
514
|
|
|
@@ -776,4 +786,16 @@
|
|
|
776
786
|
}
|
|
777
787
|
}
|
|
778
788
|
}
|
|
789
|
+
|
|
790
|
+
.no-labels {
|
|
791
|
+
a {
|
|
792
|
+
color: (var(--primary-color));
|
|
793
|
+
text-decoration: underline;
|
|
794
|
+
font-weight: 500;
|
|
795
|
+
|
|
796
|
+
&:hover {
|
|
797
|
+
filter: brightness(0.8) contrast(160%) grayscale(0.4);
|
|
798
|
+
}
|
|
799
|
+
}
|
|
800
|
+
}
|
|
779
801
|
}
|
package/src/components/App.cy.js
CHANGED
package/src/components/App.vue
CHANGED
|
@@ -84,7 +84,7 @@
|
|
|
84
84
|
>{{ Math.floor(confidence(annotation) * 100) / 100 }}</span
|
|
85
85
|
>
|
|
86
86
|
</div>
|
|
87
|
-
<div v-if="!publicView"
|
|
87
|
+
<div class="revision" v-if="!publicView">
|
|
88
88
|
<div class="detail-icons">
|
|
89
89
|
<div v-if="created(annotation) || edited(annotation)">
|
|
90
90
|
<div
|