@konfuzio/document-validation-ui 0.1.51-dev.0 → 0.1.51-dev.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/LICENSE +661 -21
- package/README.md +9 -0
- 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 +8 -6
- package/dist/js/chunk-vendors.js.map +1 -1
- package/package.json +2 -1
- package/src/assets/scss/annotation_action_buttons.scss +82 -0
- package/src/assets/scss/document_annotations.scss +331 -419
- package/src/assets/scss/document_dashboard.scss +0 -7
- package/src/assets/scss/document_edit.scss +3 -1
- package/src/assets/scss/document_top_bar.scss +72 -68
- package/src/assets/scss/theme.scss +89 -70
- package/src/components/DocumentAnnotations/AnnotationActionButtons.vue +153 -106
- package/src/components/DocumentAnnotations/AnnotationRow.vue +72 -19
- package/src/components/DocumentAnnotations/AnnotationSetActionButtons.vue +4 -4
- package/src/components/DocumentAnnotations/DocumentAnnotations.vue +7 -3
- package/src/components/DocumentAnnotations/DocumentLabel.vue +42 -59
- package/src/components/DocumentAnnotations/ExtractingData.vue +1 -7
- package/src/components/DocumentCategory.vue +0 -5
- package/src/components/DocumentDashboard.vue +12 -3
- package/src/components/DocumentEdit/EditSidebar.vue +1 -1
- package/src/components/DocumentPage/DocumentPage.vue +2 -1
- package/src/components/DocumentPage/EditAnnotation.vue +21 -15
- package/src/components/DocumentPage/ScrollingDocument.vue +1 -13
- package/src/components/DocumentTopBar/DocumentTopBar.vue +42 -40
- package/src/icons.js +6 -0
- package/src/locales/de.json +3 -2
- package/src/locales/en.json +3 -2
- package/src/locales/es.json +3 -2
- package/src/main.js +2 -0
- package/src/store/display.js +12 -10
- package/src/store/document.js +3 -0
- package/src/components/DocumentPage/ActionBar.vue +0 -48
|
@@ -19,17 +19,10 @@
|
|
|
19
19
|
height: 100%;
|
|
20
20
|
overflow: auto;
|
|
21
21
|
position: relative;
|
|
22
|
-
flex: 1;
|
|
23
22
|
background-image: radial-gradient(#bfc1c9 0.8px, #ededed 0.1px);
|
|
24
23
|
background-size: 9px 9px;
|
|
25
24
|
}
|
|
26
25
|
|
|
27
|
-
&.edit-mode {
|
|
28
|
-
.dashboard-document {
|
|
29
|
-
flex: 1.5;
|
|
30
|
-
}
|
|
31
|
-
}
|
|
32
|
-
|
|
33
26
|
@media print {
|
|
34
27
|
.dashboard-document {
|
|
35
28
|
position: static;
|
|
@@ -50,95 +50,99 @@
|
|
|
50
50
|
}
|
|
51
51
|
|
|
52
52
|
.right-bar-components {
|
|
53
|
-
align-items: center;
|
|
54
|
-
justify-content: flex-end;
|
|
55
|
-
display: flex;
|
|
56
53
|
flex: 1;
|
|
57
54
|
|
|
58
|
-
.
|
|
59
|
-
|
|
55
|
+
.right-components {
|
|
56
|
+
height: 100%;
|
|
60
57
|
align-items: center;
|
|
61
58
|
justify-content: flex-end;
|
|
62
|
-
|
|
63
|
-
color: $text-lighter;
|
|
64
|
-
font-size: 14px;
|
|
65
|
-
line-height: 20px;
|
|
66
|
-
font-weight: 400;
|
|
67
|
-
height: 100%;
|
|
59
|
+
display: flex;
|
|
68
60
|
|
|
69
|
-
.info
|
|
70
|
-
|
|
71
|
-
|
|
61
|
+
.read-only-info {
|
|
62
|
+
display: flex;
|
|
63
|
+
align-items: center;
|
|
64
|
+
justify-content: flex-end;
|
|
65
|
+
padding-right: 24px;
|
|
66
|
+
color: $text-lighter;
|
|
67
|
+
font-size: 14px;
|
|
68
|
+
line-height: 20px;
|
|
69
|
+
font-weight: 400;
|
|
70
|
+
height: 100%;
|
|
71
|
+
|
|
72
|
+
.info-icon {
|
|
73
|
+
margin-left: 14px;
|
|
74
|
+
vertical-align: text-top;
|
|
75
|
+
|
|
76
|
+
&.info-reviewed {
|
|
77
|
+
color: $primary;
|
|
78
|
+
}
|
|
79
|
+
}
|
|
72
80
|
|
|
73
|
-
|
|
81
|
+
.doc-reviewed {
|
|
74
82
|
color: $primary;
|
|
75
83
|
}
|
|
76
|
-
}
|
|
77
84
|
|
|
78
|
-
|
|
79
|
-
|
|
80
|
-
|
|
81
|
-
|
|
82
|
-
.read-only-details {
|
|
83
|
-
white-space: normal;
|
|
84
|
-
font-size: 12px;
|
|
85
|
+
.read-only-details {
|
|
86
|
+
white-space: normal;
|
|
87
|
+
font-size: 12px;
|
|
88
|
+
}
|
|
85
89
|
}
|
|
86
|
-
}
|
|
87
90
|
|
|
88
|
-
|
|
89
|
-
|
|
90
|
-
|
|
91
|
-
.tooltip-title {
|
|
92
|
-
font-weight: 600;
|
|
93
|
-
padding-bottom: 10px;
|
|
94
|
-
}
|
|
91
|
+
.keyboard-actions-info {
|
|
92
|
+
margin-right: 16px;
|
|
95
93
|
|
|
96
|
-
|
|
97
|
-
|
|
98
|
-
|
|
99
|
-
|
|
94
|
+
.tooltip-title {
|
|
95
|
+
font-weight: 600;
|
|
96
|
+
padding-bottom: 10px;
|
|
97
|
+
}
|
|
100
98
|
|
|
101
|
-
.
|
|
102
|
-
.action-item {
|
|
99
|
+
.tooltip-description {
|
|
103
100
|
display: flex;
|
|
104
|
-
flex-
|
|
105
|
-
|
|
106
|
-
gap: 6px;
|
|
107
|
-
|
|
108
|
-
.tooltip-divider {
|
|
109
|
-
width: 1px;
|
|
110
|
-
background-color: $grey-detail;
|
|
111
|
-
height: 15px;
|
|
112
|
-
margin-top: 3px;
|
|
113
|
-
opacity: 30%;
|
|
114
|
-
}
|
|
101
|
+
flex-direction: column;
|
|
102
|
+
row-gap: 8px;
|
|
115
103
|
|
|
116
|
-
.
|
|
117
|
-
|
|
118
|
-
font-weight: 500;
|
|
104
|
+
.content-line,
|
|
105
|
+
.action-item {
|
|
119
106
|
display: flex;
|
|
120
|
-
|
|
121
|
-
|
|
122
|
-
|
|
123
|
-
|
|
124
|
-
|
|
125
|
-
|
|
126
|
-
|
|
127
|
-
|
|
128
|
-
|
|
107
|
+
flex-wrap: nowrap;
|
|
108
|
+
justify-content: flex-start;
|
|
109
|
+
gap: 6px;
|
|
110
|
+
|
|
111
|
+
.tooltip-divider {
|
|
112
|
+
width: 1px;
|
|
113
|
+
background-color: $grey-detail;
|
|
114
|
+
height: 15px;
|
|
115
|
+
margin-top: 3px;
|
|
116
|
+
opacity: 30%;
|
|
117
|
+
}
|
|
118
|
+
|
|
119
|
+
.key {
|
|
120
|
+
font-size: 12px;
|
|
121
|
+
font-weight: 500;
|
|
122
|
+
display: flex;
|
|
123
|
+
align-items: center;
|
|
124
|
+
background-color: $low-opacity-white;
|
|
125
|
+
border-radius: 4px;
|
|
126
|
+
padding: 0 5px 0 5px;
|
|
127
|
+
}
|
|
128
|
+
|
|
129
|
+
.keyboard-action-text {
|
|
130
|
+
font-weight: 400;
|
|
131
|
+
line-height: 20px;
|
|
132
|
+
}
|
|
129
133
|
}
|
|
130
134
|
}
|
|
131
135
|
}
|
|
132
|
-
}
|
|
133
136
|
|
|
134
|
-
|
|
135
|
-
|
|
136
|
-
|
|
137
|
-
|
|
138
|
-
|
|
137
|
+
.top-bar-buttons {
|
|
138
|
+
.buttons {
|
|
139
|
+
display: flex;
|
|
140
|
+
align-items: center;
|
|
141
|
+
margin-right: 16px;
|
|
139
142
|
|
|
140
|
-
|
|
141
|
-
|
|
143
|
+
.edit-mode-btn {
|
|
144
|
+
font-size: 14px;
|
|
145
|
+
}
|
|
142
146
|
}
|
|
143
147
|
}
|
|
144
148
|
}
|
|
@@ -68,68 +68,6 @@
|
|
|
68
68
|
}
|
|
69
69
|
}
|
|
70
70
|
|
|
71
|
-
// TODO: custom classes should have the styles under the component file
|
|
72
|
-
&.missing-decline-btn {
|
|
73
|
-
font-size: 14px;
|
|
74
|
-
color: $grey-blue !important;
|
|
75
|
-
font-weight: 500;
|
|
76
|
-
background-color: transparent;
|
|
77
|
-
width: auto;
|
|
78
|
-
|
|
79
|
-
&:not([disabled]) {
|
|
80
|
-
&:hover {
|
|
81
|
-
text-decoration: none;
|
|
82
|
-
color: $text-color !important;
|
|
83
|
-
}
|
|
84
|
-
}
|
|
85
|
-
|
|
86
|
-
&:focus {
|
|
87
|
-
box-shadow: none;
|
|
88
|
-
}
|
|
89
|
-
}
|
|
90
|
-
|
|
91
|
-
&.is-text {
|
|
92
|
-
text-decoration: none;
|
|
93
|
-
|
|
94
|
-
&.has-right-icon {
|
|
95
|
-
> span {
|
|
96
|
-
padding-right: 16px;
|
|
97
|
-
white-space: nowrap;
|
|
98
|
-
overflow: hidden;
|
|
99
|
-
text-overflow: ellipsis;
|
|
100
|
-
}
|
|
101
|
-
}
|
|
102
|
-
|
|
103
|
-
&:hover {
|
|
104
|
-
background-color: transparent;
|
|
105
|
-
}
|
|
106
|
-
}
|
|
107
|
-
|
|
108
|
-
&.annotation-cancel-btn {
|
|
109
|
-
.icon {
|
|
110
|
-
svg {
|
|
111
|
-
width: 15px !important;
|
|
112
|
-
height: 15px !important;
|
|
113
|
-
}
|
|
114
|
-
}
|
|
115
|
-
}
|
|
116
|
-
|
|
117
|
-
&.accept-all-btn {
|
|
118
|
-
padding-left: 4px;
|
|
119
|
-
padding-right: 4px;
|
|
120
|
-
}
|
|
121
|
-
|
|
122
|
-
&.all-missing-btn {
|
|
123
|
-
padding-right: 4px;
|
|
124
|
-
}
|
|
125
|
-
|
|
126
|
-
&.action-bar-save-btn {
|
|
127
|
-
height: 32px;
|
|
128
|
-
padding: 6px 12px 6px 12px !important;
|
|
129
|
-
font-size: 14px;
|
|
130
|
-
font-weight: 500;
|
|
131
|
-
}
|
|
132
|
-
|
|
133
71
|
&.finish-review-btn {
|
|
134
72
|
margin-right: 2px;
|
|
135
73
|
|
|
@@ -166,6 +104,85 @@
|
|
|
166
104
|
}
|
|
167
105
|
}
|
|
168
106
|
|
|
107
|
+
.b-slider {
|
|
108
|
+
&.is-full-height {
|
|
109
|
+
height: 100%;
|
|
110
|
+
|
|
111
|
+
.b-slider-track {
|
|
112
|
+
height: 100%;
|
|
113
|
+
|
|
114
|
+
.b-slider-thumb-wrapper {
|
|
115
|
+
height: 100%;
|
|
116
|
+
.tooltip-trigger {
|
|
117
|
+
height: 100%;
|
|
118
|
+
.b-slider-thumb {
|
|
119
|
+
height: 100%;
|
|
120
|
+
width: 1px;
|
|
121
|
+
}
|
|
122
|
+
}
|
|
123
|
+
}
|
|
124
|
+
}
|
|
125
|
+
}
|
|
126
|
+
&.show-hover {
|
|
127
|
+
.b-slider-track:hover {
|
|
128
|
+
.b-slider-thumb-wrapper {
|
|
129
|
+
.tooltip-trigger {
|
|
130
|
+
.b-slider-thumb {
|
|
131
|
+
width: 4px;
|
|
132
|
+
transform: none;
|
|
133
|
+
background-image: url("data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAAAUAAAAeCAYAAADkftS9AAAAIklEQVQoU2M4c+bMfxAGAgYYmwGrIIiDjrELjpo5aiZeMwF+yNnOs5KSvgAAAABJRU5ErkJggg==");
|
|
134
|
+
opacity: 0.8;
|
|
135
|
+
}
|
|
136
|
+
}
|
|
137
|
+
}
|
|
138
|
+
}
|
|
139
|
+
}
|
|
140
|
+
&.show-line {
|
|
141
|
+
.b-slider-track {
|
|
142
|
+
.b-slider-thumb-wrapper {
|
|
143
|
+
.tooltip-trigger {
|
|
144
|
+
.b-slider-thumb {
|
|
145
|
+
background-color: $grey-lightest;
|
|
146
|
+
background-image: none;
|
|
147
|
+
}
|
|
148
|
+
}
|
|
149
|
+
}
|
|
150
|
+
}
|
|
151
|
+
}
|
|
152
|
+
&.is-move {
|
|
153
|
+
margin: 0px;
|
|
154
|
+
&.is-disabled {
|
|
155
|
+
.b-slider-track {
|
|
156
|
+
cursor: not-allowed !important;
|
|
157
|
+
}
|
|
158
|
+
.b-slider-thumb-wrapper {
|
|
159
|
+
cursor: not-allowed !important;
|
|
160
|
+
}
|
|
161
|
+
}
|
|
162
|
+
.b-slider-track {
|
|
163
|
+
cursor: col-resize;
|
|
164
|
+
color: $white;
|
|
165
|
+
background: transparent !important;
|
|
166
|
+
}
|
|
167
|
+
.b-slider-fill {
|
|
168
|
+
background: transparent !important;
|
|
169
|
+
}
|
|
170
|
+
.b-slider-thumb-wrapper {
|
|
171
|
+
cursor: col-resize;
|
|
172
|
+
.b-slider-thumb {
|
|
173
|
+
background: none;
|
|
174
|
+
background-image: url("data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAAAUAAAAeCAYAAADkftS9AAAAIklEQVQoU2M4c+bMfxAGAgYYmwGrIIiDjrELjpo5aiZeMwF+yNnOs5KSvgAAAABJRU5ErkJggg==");
|
|
175
|
+
|
|
176
|
+
width: 5px;
|
|
177
|
+
border: none;
|
|
178
|
+
}
|
|
179
|
+
.tooltip-content {
|
|
180
|
+
user-select: none;
|
|
181
|
+
}
|
|
182
|
+
}
|
|
183
|
+
}
|
|
184
|
+
}
|
|
185
|
+
|
|
169
186
|
.carousel-list {
|
|
170
187
|
&.has-shadow {
|
|
171
188
|
box-shadow: none !important;
|
|
@@ -540,14 +557,6 @@
|
|
|
540
557
|
}
|
|
541
558
|
}
|
|
542
559
|
|
|
543
|
-
.label-action-btn {
|
|
544
|
-
.dropdown-trigger {
|
|
545
|
-
width: 100%;
|
|
546
|
-
display: flex;
|
|
547
|
-
justify-content: center;
|
|
548
|
-
}
|
|
549
|
-
}
|
|
550
|
-
|
|
551
560
|
.slide-fade-enter-active {
|
|
552
561
|
transition: all 0.3s ease;
|
|
553
562
|
}
|
|
@@ -677,6 +686,10 @@
|
|
|
677
686
|
margin: 0 !important;
|
|
678
687
|
}
|
|
679
688
|
|
|
689
|
+
.center-icon {
|
|
690
|
+
vertical-align: middle;
|
|
691
|
+
}
|
|
692
|
+
|
|
680
693
|
.icon.is-48 {
|
|
681
694
|
svg {
|
|
682
695
|
height: 48px;
|
|
@@ -703,6 +716,12 @@
|
|
|
703
716
|
width: 12px;
|
|
704
717
|
}
|
|
705
718
|
}
|
|
719
|
+
.icon.is-16 {
|
|
720
|
+
svg {
|
|
721
|
+
height: 16px;
|
|
722
|
+
width: 16px;
|
|
723
|
+
}
|
|
724
|
+
}
|
|
706
725
|
|
|
707
726
|
.icon.is-small,
|
|
708
727
|
.button .icon.is-small {
|