@konfuzio/document-validation-ui 0.1.5 → 0.1.6-multi-ann-set

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 (65) 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/package.json +1 -1
  6. package/src/.DS_Store +0 -0
  7. package/src/assets/images/DraggableIcon.vue +14 -0
  8. package/src/assets/images/GridIcon.vue +16 -0
  9. package/src/assets/images/MagicWandIcon.vue +16 -0
  10. package/src/assets/images/NotFoundIcon.vue +16 -0
  11. package/src/assets/images/SettingsIcon.vue +14 -0
  12. package/src/assets/images/SplitZigZag.vue +47 -14
  13. package/src/assets/images/StarIcon.vue +16 -0
  14. package/src/assets/scss/ann_set_table_options.scss +26 -0
  15. package/src/assets/scss/annotation_details.scss +85 -73
  16. package/src/assets/scss/document_annotations.scss +54 -57
  17. package/src/assets/scss/document_category.scss +0 -1
  18. package/src/assets/scss/document_dashboard.scss +7 -2
  19. package/src/assets/scss/document_edit.scss +90 -46
  20. package/src/assets/scss/main.scss +725 -7
  21. package/src/assets/scss/multi_ann_table_overlay.scss +44 -0
  22. package/src/assets/scss/splitting_confirmation_modal.scss +41 -0
  23. package/src/assets/scss/variables.scss +2 -657
  24. package/src/components/App.vue +3 -2
  25. package/src/components/DocumentAnnotations/AnnotationActionButtons.vue +153 -0
  26. package/src/components/DocumentAnnotations/AnnotationDetails.vue +28 -7
  27. package/src/components/DocumentAnnotations/AnnotationRow.vue +131 -40
  28. package/src/components/DocumentAnnotations/AnnotationSetActionButtons.vue +86 -0
  29. package/src/components/DocumentAnnotations/CategorizeModal.vue +24 -2
  30. package/src/components/DocumentAnnotations/DocumentAnnotations.vue +114 -82
  31. package/src/components/DocumentAnnotations/EmptyAnnotation.vue +16 -3
  32. package/src/components/DocumentAnnotations/ExtractingData.vue +3 -3
  33. package/src/components/DocumentAnnotations/index.js +0 -1
  34. package/src/components/DocumentCategory.vue +13 -5
  35. package/src/components/DocumentDashboard.vue +17 -6
  36. package/src/components/DocumentEdit/DocumentEdit.vue +208 -68
  37. package/src/components/DocumentEdit/EditConfirmationModal.vue +54 -0
  38. package/src/components/DocumentEdit/EditPages.vue +29 -18
  39. package/src/components/DocumentEdit/EditSidebar.vue +92 -45
  40. package/src/components/DocumentEdit/SidebarButtons.vue +53 -0
  41. package/src/components/DocumentEdit/SplitInfoBar.vue +19 -0
  42. package/src/components/DocumentEdit/SplitOverview.vue +4 -5
  43. package/src/components/{DocumentError.vue → DocumentModals/DocumentErrorModal.vue} +3 -4
  44. package/src/components/{NotOptimizedViewportModal.vue → DocumentModals/NotOptimizedViewportModal.vue} +2 -2
  45. package/src/components/DocumentModals/SplittingSuggestionsModal.vue +120 -0
  46. package/src/components/DocumentPage/ActionBar.vue +3 -3
  47. package/src/components/DocumentPage/AnnSetTableOptions.vue +107 -0
  48. package/src/components/DocumentPage/DocumentPage.vue +12 -2
  49. package/src/components/DocumentPage/MultiAnnSelection.vue +89 -1
  50. package/src/components/DocumentPage/MultiAnnotationTableOverlay.vue +274 -0
  51. package/src/components/DocumentPage/MultiAnnotationTablePopup.vue +19 -46
  52. package/src/components/DocumentPage/ScrollingDocument.vue +43 -4
  53. package/src/components/DocumentPage/ScrollingPage.vue +4 -5
  54. package/src/components/DocumentThumbnails/DocumentThumbnails.vue +14 -11
  55. package/src/components/DocumentTopBar/DocumentTopBarButtons.vue +35 -30
  56. package/src/components/DocumentTopBar/KeyboardActionsDescription.vue +3 -1
  57. package/src/locales/de.json +23 -6
  58. package/src/locales/en.json +24 -6
  59. package/src/locales/es.json +23 -6
  60. package/src/store/display.js +51 -0
  61. package/src/store/document.js +171 -23
  62. package/src/store/edit.js +67 -48
  63. package/src/store/project.js +14 -14
  64. package/src/components/DocumentAnnotations/ActionButtons.vue +0 -257
  65. package/src/components/DocumentAnnotations/RejectedLabels.vue +0 -96
@@ -0,0 +1,44 @@
1
+ @import "./imports.scss";
2
+
3
+ .multi-ann-table-overlay {
4
+ position: absolute;
5
+ bottom: 0;
6
+ height: fit-content;
7
+ z-index: 40;
8
+ width: 100%;
9
+ background-color: $background;
10
+
11
+ .multi-ann-set-table {
12
+ padding-bottom: 6px;
13
+
14
+ .table-wrapper {
15
+ overflow: visible;
16
+ .header-dropdown {
17
+ cursor: pointer;
18
+ overflow: visible;
19
+ white-space: nowrap;
20
+ text-overflow: ellipsis;
21
+
22
+ .icon.arrow {
23
+ margin-left: 4px;
24
+ }
25
+ .draggable {
26
+ margin-right: 4px;
27
+ cursor: move;
28
+ }
29
+
30
+ .delete-action {
31
+ color: $red;
32
+ }
33
+ }
34
+
35
+ .annotations-table {
36
+ height: 22px;
37
+ display: flex;
38
+ white-space: nowrap;
39
+ text-overflow: ellipsis;
40
+ overflow: visible;
41
+ }
42
+ }
43
+ }
44
+ }
@@ -0,0 +1,41 @@
1
+ @import "./imports.scss";
2
+
3
+ .splitting-confirmation-modal {
4
+ .header {
5
+ display: flex;
6
+ align-items: center;
7
+ gap: 8px;
8
+ padding-bottom: 15px;
9
+ font-weight: 500;
10
+ font-size: 18px;
11
+ }
12
+
13
+ .content {
14
+ text-align: left;
15
+ font-weight: 400;
16
+ font-size: 14px;
17
+ color: $text-color;
18
+ }
19
+
20
+ .modal-card-foot {
21
+ display: flex;
22
+ flex-direction: column;
23
+ gap: 10px;
24
+
25
+ .recommended {
26
+ font-weight: 600;
27
+ font-size: 11px;
28
+ background-color: rgba(255, 255, 255, 0.2);
29
+ padding: 2px 5px;
30
+ border-radius: 36px;
31
+ }
32
+
33
+ .button {
34
+ width: 100%;
35
+
36
+ &.is-primary {
37
+ font-weight: 500;
38
+ }
39
+ }
40
+ }
41
+ }