@konfuzio/document-validation-ui 0.1.51-dev.0 → 0.1.51-dev.1

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.
Files changed (34) hide show
  1. package/dist/css/app.css +1 -1
  2. package/dist/index.html +1 -1
  3. package/dist/js/app.js +1 -1
  4. package/dist/js/app.js.map +1 -1
  5. package/dist/js/chunk-vendors.js +8 -6
  6. package/dist/js/chunk-vendors.js.map +1 -1
  7. package/package.json +2 -1
  8. package/src/assets/scss/annotation_action_buttons.scss +82 -0
  9. package/src/assets/scss/document_annotations.scss +331 -419
  10. package/src/assets/scss/document_dashboard.scss +0 -7
  11. package/src/assets/scss/document_edit.scss +3 -1
  12. package/src/assets/scss/document_top_bar.scss +72 -68
  13. package/src/assets/scss/theme.scss +89 -70
  14. package/src/components/DocumentAnnotations/AnnotationActionButtons.vue +153 -106
  15. package/src/components/DocumentAnnotations/AnnotationRow.vue +72 -19
  16. package/src/components/DocumentAnnotations/AnnotationSetActionButtons.vue +4 -4
  17. package/src/components/DocumentAnnotations/DocumentAnnotations.vue +7 -3
  18. package/src/components/DocumentAnnotations/DocumentLabel.vue +42 -59
  19. package/src/components/DocumentAnnotations/ExtractingData.vue +1 -7
  20. package/src/components/DocumentCategory.vue +0 -5
  21. package/src/components/DocumentDashboard.vue +12 -3
  22. package/src/components/DocumentEdit/EditSidebar.vue +1 -1
  23. package/src/components/DocumentPage/DocumentPage.vue +2 -1
  24. package/src/components/DocumentPage/EditAnnotation.vue +21 -15
  25. package/src/components/DocumentPage/ScrollingDocument.vue +1 -13
  26. package/src/components/DocumentTopBar/DocumentTopBar.vue +42 -40
  27. package/src/icons.js +6 -0
  28. package/src/locales/de.json +3 -2
  29. package/src/locales/en.json +3 -2
  30. package/src/locales/es.json +3 -2
  31. package/src/main.js +2 -0
  32. package/src/store/display.js +12 -10
  33. package/src/store/document.js +3 -0
  34. package/src/components/DocumentPage/ActionBar.vue +0 -48
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@konfuzio/document-validation-ui",
3
- "version": "0.1.51-dev.0",
3
+ "version": "0.1.51-dev.1",
4
4
  "repository": "git://github.com:konfuzio-ai/document-validation-ui.git",
5
5
  "main": "dist/app.js",
6
6
  "scripts": {
@@ -41,6 +41,7 @@
41
41
  "vue-i18n-bridge": "^9.2.2",
42
42
  "vue-konva": "^2.1.7",
43
43
  "vue-observe-visibility": "^1.0.0",
44
+ "vue-split-panel": "^1.0.4",
44
45
  "vue-template-compiler": "^2.6.10",
45
46
  "vuedraggable": "^2.24.3",
46
47
  "vuex": "^3.6.2"
@@ -0,0 +1,82 @@
1
+ @import "./imports.scss";
2
+ .action-buttons {
3
+ display: flex;
4
+ align-items: center;
5
+ gap: 6px;
6
+
7
+ .button-action {
8
+ padding: 0px;
9
+ vertical-align: middle;
10
+
11
+ &.is-button-icon {
12
+ width: 20px;
13
+ height: 20px;
14
+ }
15
+
16
+ &.is-button-text {
17
+ height: 26px;
18
+ padding: 6px;
19
+ font-size: 14px;
20
+ font-weight: 500;
21
+ }
22
+
23
+ &.is-button-text-ghost {
24
+ height: 26px;
25
+ color: $grey-blue;
26
+ font-size: 14px;
27
+ font-weight: 500;
28
+
29
+ &:hover {
30
+ text-decoration: none;
31
+ color: $text-color;
32
+ }
33
+
34
+ &:focus {
35
+ box-shadow: none !important;
36
+ }
37
+ }
38
+
39
+ .button-icon {
40
+ width: 20px;
41
+ height: 20px;
42
+ vertical-align: middle;
43
+ &.cancel-icon {
44
+ width: 16px;
45
+ height: 16px;
46
+ }
47
+ }
48
+
49
+ .button-text {
50
+ display: block;
51
+ }
52
+ }
53
+
54
+ .accept-icon,
55
+ .restore-icon,
56
+ .accept-all-icon {
57
+ color: $green !important;
58
+ }
59
+ .save-icon {
60
+ color: $primary;
61
+ }
62
+ .decline-icon {
63
+ color: $red;
64
+ }
65
+ .cancel-icon,
66
+ .search-icon,
67
+ .missing-icon,
68
+ .link-icon,
69
+ .spinner-icon {
70
+ color: $grey-blue;
71
+ }
72
+
73
+ .spinner-icon {
74
+ width: 16px;
75
+ }
76
+
77
+ .missing-button-container {
78
+ background-color: transparent;
79
+ display: flex;
80
+ flex-direction: row;
81
+ }
82
+ }