@konfuzio/document-validation-ui 0.1.5 → 0.1.6-multi-ann-set-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.
Files changed (73) 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 +38 -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 +9 -3
  25. package/src/components/DocumentAnnotations/AnnotationActionButtons.vue +171 -0
  26. package/src/components/DocumentAnnotations/AnnotationContent.vue +5 -3
  27. package/src/components/DocumentAnnotations/AnnotationDetails.vue +28 -7
  28. package/src/components/DocumentAnnotations/AnnotationRow.vue +133 -41
  29. package/src/components/DocumentAnnotations/AnnotationSetActionButtons.vue +86 -0
  30. package/src/components/DocumentAnnotations/CategorizeModal.vue +28 -2
  31. package/src/components/DocumentAnnotations/DocumentAnnotations.vue +121 -97
  32. package/src/components/DocumentAnnotations/EmptyAnnotation.vue +21 -5
  33. package/src/components/DocumentAnnotations/ExtractingData.vue +3 -3
  34. package/src/components/DocumentAnnotations/index.js +0 -1
  35. package/src/components/DocumentCategory.vue +13 -5
  36. package/src/components/DocumentDashboard.vue +17 -6
  37. package/src/components/DocumentEdit/DocumentEdit.vue +208 -68
  38. package/src/components/DocumentEdit/EditConfirmationModal.vue +54 -0
  39. package/src/components/DocumentEdit/EditPages.vue +29 -18
  40. package/src/components/DocumentEdit/EditSidebar.vue +92 -45
  41. package/src/components/DocumentEdit/SidebarButtons.vue +53 -0
  42. package/src/components/DocumentEdit/SplitInfoBar.vue +19 -0
  43. package/src/components/DocumentEdit/SplitOverview.vue +4 -5
  44. package/src/components/{DocumentError.vue → DocumentModals/DocumentErrorModal.vue} +3 -4
  45. package/src/components/{NotOptimizedViewportModal.vue → DocumentModals/NotOptimizedViewportModal.vue} +2 -2
  46. package/src/components/DocumentModals/SplittingSuggestionsModal.vue +120 -0
  47. package/src/components/DocumentPage/ActionBar.vue +3 -3
  48. package/src/components/DocumentPage/AnnSetTableOptions.vue +107 -0
  49. package/src/components/DocumentPage/DocumentPage.vue +39 -10
  50. package/src/components/DocumentPage/DocumentToolbar.vue +6 -2
  51. package/src/components/DocumentPage/MultiAnnSelection.vue +90 -2
  52. package/src/components/DocumentPage/MultiAnnotationTableOverlay.vue +274 -0
  53. package/src/components/DocumentPage/MultiAnnotationTablePopup.vue +19 -46
  54. package/src/components/DocumentPage/NewAnnotation.vue +1 -1
  55. package/src/components/DocumentPage/ScrollingDocument.vue +43 -4
  56. package/src/components/DocumentPage/ScrollingPage.vue +4 -5
  57. package/src/components/DocumentThumbnails/DocumentThumbnails.vue +14 -11
  58. package/src/components/DocumentTopBar/DocumentName.vue +6 -1
  59. package/src/components/DocumentTopBar/DocumentTopBar.vue +9 -9
  60. package/src/components/DocumentTopBar/DocumentTopBarButtons.vue +38 -32
  61. package/src/components/DocumentTopBar/KeyboardActionsDescription.vue +9 -3
  62. package/src/components/DocumentsList/DocumentsList.vue +11 -2
  63. package/src/locales/de.json +23 -6
  64. package/src/locales/en.json +24 -6
  65. package/src/locales/es.json +23 -6
  66. package/src/store/category.js +1 -1
  67. package/src/store/display.js +51 -0
  68. package/src/store/document.js +181 -24
  69. package/src/store/edit.js +71 -48
  70. package/src/store/project.js +14 -14
  71. package/src/utils/utils.js +13 -0
  72. package/src/components/DocumentAnnotations/ActionButtons.vue +0 -257
  73. package/src/components/DocumentAnnotations/RejectedLabels.vue +0 -96
@@ -11,8 +11,9 @@
11
11
  "
12
12
  >
13
13
  <ScrollingPage
14
- v-for="page in editMode ? documentPagesListForEditMode : pages"
14
+ v-for="page in editMode ? pagesForPostprocess : pages"
15
15
  :key="page.number"
16
+ ref="scrollingPage"
16
17
  :page="page"
17
18
  :client-height="clientHeight"
18
19
  :scroll-top="scrollTop"
@@ -26,20 +27,23 @@
26
27
  </div>
27
28
  <Toolbar v-if="showToolbar" />
28
29
  <ActionBar v-if="showActionBar" />
30
+ <MultiAnnotationTableOverlay v-if="showAnnSetTable" />
29
31
  </div>
30
32
  </template>
31
33
  <script>
32
- import { mapState } from "vuex";
34
+ import { mapState, mapGetters } from "vuex";
33
35
  import scroll from "../../directives/scroll";
34
36
  import ScrollingPage from "./ScrollingPage";
35
37
  import Toolbar from "./DocumentToolbar";
36
38
  import ActionBar from "./ActionBar";
39
+ import MultiAnnotationTableOverlay from "./MultiAnnotationTableOverlay";
37
40
 
38
41
  export default {
39
42
  components: {
40
43
  ScrollingPage,
41
44
  Toolbar,
42
45
  ActionBar,
46
+ MultiAnnotationTableOverlay,
43
47
  },
44
48
  directives: {
45
49
  scroll,
@@ -49,6 +53,8 @@ export default {
49
53
  return {
50
54
  scrollTop: 0,
51
55
  clientHeight: 0,
56
+ isScolling: false,
57
+ scrollTimeout: null,
52
58
  };
53
59
  },
54
60
 
@@ -57,9 +63,21 @@ export default {
57
63
  "recalculatingAnnotations",
58
64
  "selectedDocument",
59
65
  "loading",
66
+ "annotationSets",
60
67
  ]),
61
- ...mapState("edit", ["editMode", "documentPagesListForEditMode"]),
62
- ...mapState("display", ["scale", "documentActionBar"]),
68
+ ...mapState("edit", [
69
+ "editMode",
70
+ "documentPagesListForEditMode",
71
+ "pagesForPostprocess",
72
+ ]),
73
+ ...mapState("display", [
74
+ "scale",
75
+ "documentActionBar",
76
+ "pageChangedFromThumbnail",
77
+ "currentPage",
78
+ "showAnnSetTable",
79
+ ]),
80
+ ...mapGetters("display", ["visiblePageRange"]),
63
81
 
64
82
  pages() {
65
83
  if (this.selectedDocument) {
@@ -85,6 +103,9 @@ export default {
85
103
  this.scrollTop = 0;
86
104
  },
87
105
  },
106
+ mounted() {
107
+ this.$refs.scrollingDocument.addEventListener("scroll", this.handleScroll);
108
+ },
88
109
 
89
110
  methods: {
90
111
  updateScrollBounds() {
@@ -102,6 +123,24 @@ export default {
102
123
 
103
124
  this.$refs.scrollingDocument.scroll(scrollX, scrollY);
104
125
  },
126
+ handleScroll() {
127
+ if (this.pages.length === 1) return;
128
+
129
+ this.isScrolling = true;
130
+
131
+ clearTimeout(this.scrollTimeout);
132
+
133
+ this.scrollTimeout = setTimeout(() => {
134
+ this.isScrolling = false;
135
+
136
+ if (
137
+ this.pageChangedFromThumbnail &&
138
+ this.visiblePageRange[1] === this.currentPage
139
+ ) {
140
+ this.$store.dispatch("display/setPageChangedFromThumbnail", false);
141
+ }
142
+ }, 300);
143
+ },
105
144
  },
106
145
  };
107
146
  </script>
@@ -44,10 +44,12 @@ export default {
44
44
  previousFocusedAnnotation: null,
45
45
  previousY: null,
46
46
  pageBeingLoaded: false,
47
+ isScrolling: false,
47
48
  };
48
49
  },
49
50
 
50
51
  computed: {
52
+ ...mapState("display", ["pageChangedFromThumbnail"]),
51
53
  ...mapGetters("display", ["visiblePageRange", "bboxToRect"]),
52
54
  ...mapGetters("document", ["scrollDocumentToAnnotation"]),
53
55
 
@@ -117,15 +119,12 @@ export default {
117
119
  }
118
120
  },
119
121
  isElementFocused(focused) {
120
- if (!this.loading && focused) {
122
+ if (!this.loading && focused && !this.pageChangedFromThumbnail) {
121
123
  this.$store.dispatch("display/updateCurrentPage", this.page.number);
122
124
  }
123
125
  },
124
126
  currentPage(number) {
125
- if (
126
- (this.page.number === number || this.page.number === number) &&
127
- !this.isElementFocused
128
- ) {
127
+ if (this.page.number === number && !this.isElementFocused) {
129
128
  this.$emit("page-jump", this.elementTop, 0);
130
129
  }
131
130
  },
@@ -62,7 +62,7 @@ export default {
62
62
  },
63
63
  data() {
64
64
  return {
65
- thumbnailClicked: false,
65
+ thumbnailClicked: null,
66
66
  previousScrollPosition: 0,
67
67
  };
68
68
  },
@@ -76,9 +76,10 @@ export default {
76
76
  },
77
77
  watch: {
78
78
  currentPage(newPage) {
79
- if (newPage && !this.thumbnailClicked) {
80
- this.scrollToThumbnail();
81
- }
79
+ if (!newPage) return;
80
+
81
+ // handle thumbnail selection when scrolling the document
82
+ this.scrollToThumbnail(newPage);
82
83
  },
83
84
  },
84
85
  mounted() {
@@ -94,27 +95,29 @@ export default {
94
95
  methods: {
95
96
  /* Change page if not the currently open and not in modal */
96
97
  changePage(pageNumber) {
97
- this.thumbnailClicked = true;
98
+ this.thumbnailClicked = pageNumber;
98
99
 
99
100
  if (
100
101
  !this.loading &&
101
102
  !this.recalculatingAnnotations &&
102
103
  pageNumber != this.currentPage
103
104
  ) {
104
- this.$store.dispatch(
105
- "display/updateCurrentPage",
106
- parseInt(pageNumber, 10)
107
- );
105
+ this.$store.dispatch("display/setPageChangedFromThumbnail", true);
106
+ this.$store.dispatch("display/updateCurrentPage", pageNumber);
108
107
  }
109
108
  },
110
109
 
111
- scrollToThumbnail() {
110
+ scrollToThumbnail(page) {
112
111
  // select only the active thumbnail
113
112
  const selectedPage = this.$refs.docPage.filter((image) =>
114
113
  image.className.includes("selected")
115
114
  );
116
115
 
117
- if (selectedPage && selectedPage[0]) {
116
+ if (page == this.thumbnailClicked) {
117
+ this.thumbnailClicked = null;
118
+ }
119
+
120
+ if (!this.thumbnailClicked && selectedPage && selectedPage[0]) {
118
121
  selectedPage[0].scrollIntoView();
119
122
  }
120
123
  },
@@ -21,7 +21,11 @@
21
21
  </span>
22
22
  <div
23
23
  v-if="
24
- !publicView && showEditBtn && !editMode && !recalculatingAnnotations
24
+ !publicView &&
25
+ !documentIsReviewed &&
26
+ showEditBtn &&
27
+ !editMode &&
28
+ !recalculatingAnnotations
25
29
  "
26
30
  class="edit-btn btn"
27
31
  @click="handleEdit"
@@ -91,6 +95,7 @@ export default {
91
95
  "selectedDocument",
92
96
  "publicView",
93
97
  "recalculatingAnnotations",
98
+ "documentIsReviewed",
94
99
  ]),
95
100
  ...mapState("display", ["optimalResolution"]),
96
101
  ...mapState("edit", ["editMode"]),
@@ -5,21 +5,23 @@
5
5
  class="document-top-bar"
6
6
  >
7
7
  <div v-if="!recalculatingAnnotations" class="left-bar-components">
8
- <DocumentCategory v-if="categories && !editMode && !publicView" />
8
+ <DocumentCategory
9
+ v-if="categories && !editMode && !publicView && !documentIsReviewed"
10
+ />
9
11
  </div>
10
12
 
11
13
  <DocumentName :data-file-name="selectedDocument.data_file_name" />
12
14
 
13
15
  <div v-if="!recalculatingAnnotations" class="right-bar-components">
14
16
  <div
15
- v-if="!editMode && (!publicView || !selectedDocument.is_reviewed)"
17
+ v-if="!editMode && (!publicView || !documentIsReviewed)"
16
18
  class="keyboard-actions-info"
17
19
  >
18
20
  <KeyboardActionsDescription />
19
21
  </div>
20
22
 
21
23
  <div
22
- v-if="!editMode && (publicView || selectedDocument.is_reviewed)"
24
+ v-if="!editMode && (publicView || documentIsReviewed)"
23
25
  class="read-only-info"
24
26
  >
25
27
  <b-tooltip
@@ -27,7 +29,7 @@
27
29
  position="is-bottom"
28
30
  class="right-aligned width-184"
29
31
  >
30
- <span v-if="publicView && !selectedDocument.is_reviewed">
32
+ <span v-if="publicView && !documentIsReviewed">
31
33
  {{ $t("lite_mode") }}
32
34
  </span>
33
35
  <span v-else class="doc-reviewed">
@@ -36,15 +38,12 @@
36
38
  <b-icon
37
39
  :class="[
38
40
  'info-icon is-small',
39
- selectedDocument.is_reviewed && 'info-reviewed',
41
+ documentIsReviewed && 'info-reviewed',
40
42
  ]"
41
43
  icon="circle-info"
42
44
  />
43
45
  <template #content>
44
- <div
45
- v-if="!selectedDocument.is_reviewed"
46
- class="read-only-details"
47
- >
46
+ <div v-if="!documentIsReviewed" class="read-only-details">
48
47
  {{ $t("limited_functionalities") }}
49
48
  </div>
50
49
  <div v-else class="read-only-details">
@@ -96,6 +95,7 @@ export default {
96
95
  "publicView",
97
96
  "loading",
98
97
  "recalculatingAnnotations",
98
+ "documentIsReviewed",
99
99
  ]),
100
100
  ...mapState("category", ["categories"]),
101
101
  ...mapState("edit", ["editMode"]),
@@ -24,31 +24,50 @@
24
24
  </div>
25
25
 
26
26
  <div
27
- v-if="!editMode && !selectedDocument.is_reviewed && !publicView"
27
+ v-if="!editMode && !documentIsReviewed && !publicView"
28
28
  class="finish-review-button-container"
29
29
  >
30
- <ActionButtons
31
- :finish-review-btn="annotationSets && annotationSets.length > 0"
32
- :finish-disabled="finishDisabled"
33
- :is-loading="isLoading"
34
- @finish-review="handleFinishReview"
35
- />
30
+ <b-tooltip
31
+ :active="finishDisabled"
32
+ position="is-bottom"
33
+ multilined
34
+ class="right-aligned finish-review"
35
+ >
36
+ <b-button
37
+ :class="['finish-review-btn', 'text-btn', 'primary-button']"
38
+ type="is-primary"
39
+ :disabled="finishDisabled"
40
+ @click.stop="handleFinishReview"
41
+ >
42
+ <span v-if="!isLoading">
43
+ {{ $t("finish_review") }}
44
+ </span>
45
+
46
+ <div v-else>
47
+ <b-notification :closable="false" :class="['loading-background']">
48
+ <b-loading :active="isLoading" :is-full-page="false">
49
+ <b-icon
50
+ icon="spinner"
51
+ class="fa-spin loading-icon-size spinner"
52
+ />
53
+ </b-loading>
54
+ </b-notification>
55
+ </div>
56
+ </b-button>
57
+
58
+ <template #content> {{ $t("disabled_finish_review") }} </template>
59
+ </b-tooltip>
36
60
  </div>
37
61
  </div>
38
62
  </template>
39
63
 
40
64
  <script>
41
65
  import { mapState } from "vuex";
42
- import ActionButtons from "../DocumentAnnotations/ActionButtons";
43
66
 
44
67
  export default {
45
68
  name: "DocumentTopBarButtons",
46
- components: {
47
- ActionButtons,
48
- },
49
69
  data() {
50
70
  return {
51
- finishReviewBtn: true,
52
71
  finishDisabled: true,
53
72
  emptyLabels: null,
54
73
  isLoading: false,
@@ -61,6 +80,7 @@ export default {
61
80
  "publicView",
62
81
  "finishedReview",
63
82
  "annotationSets",
83
+ "documentIsReviewed",
64
84
  ]),
65
85
  ...mapState("edit", ["editMode", "splitOverview", "updatedDocument"]),
66
86
  },
@@ -73,7 +93,7 @@ export default {
73
93
  this.finishDisabled = true;
74
94
  }
75
95
  },
76
- publicView(newValue) {
96
+ documentIsReviewed(newValue) {
77
97
  if (newValue) {
78
98
  this.finishDisabled = true;
79
99
  }
@@ -83,7 +103,6 @@ export default {
83
103
  this.finishDisabled = !this.finishedReview;
84
104
  },
85
105
  methods: {
86
- /** EDIT MODE */
87
106
  closeEditMode() {
88
107
  this.$store.dispatch("edit/disableEditMode");
89
108
  this.$store.dispatch("edit/setSplitOverview", false);
@@ -105,24 +124,11 @@ export default {
105
124
  // Enable the "next" button to go to the overview
106
125
  this.$store.dispatch("edit/setSplitOverview", true);
107
126
  this.$store.dispatch("edit/setSelectedPages", null);
108
- }
109
-
110
- // If we are in the overview (so more than 1 doc)
111
- // or in the edit mode (only 1 doc)
112
- else if (this.updatedDocument) {
113
- // Send update request to the backend
114
- this.$store
115
- .dispatch("edit/editDocument", this.updatedDocument)
116
- .catch((error) => {
117
- this.$store.dispatch("document/createErrorMessage", {
118
- error,
119
- serverErrorMessage: this.$t("server_error"),
120
- defaultErrorMessage: this.$t("edit_error"),
121
- });
122
- });
123
-
124
- // Close edit mode
125
- this.closeEditMode();
127
+ } else {
128
+ // If we are in the overview (so more than 1 doc)
129
+ // or in the edit mode (only 1 doc)
130
+ // Show confirmation modal to user
131
+ this.$store.dispatch("edit/setShowEditConfirmationModal", true);
126
132
  }
127
133
  },
128
134
  handleFinishReview() {
@@ -1,6 +1,6 @@
1
1
  <template>
2
2
  <div
3
- v-if="!publicView && !selectedDocument.is_reviewed && !editMode"
3
+ v-if="!publicView && !documentIsReviewed && !editMode"
4
4
  class="keyboard-actions-description"
5
5
  >
6
6
  <section class="b-tooltips">
@@ -38,7 +38,9 @@
38
38
 
39
39
  <div class="action-item">
40
40
  <div class="key">{{ "DELETE" }}</div>
41
- <div class="keyboard-action-text">{{ $t("delete_key") }}</div>
41
+ <div class="keyboard-action-text">
42
+ {{ $t("missing_annotation") }}
43
+ </div>
42
44
  </div>
43
45
  </div>
44
46
  </div>
@@ -63,7 +65,11 @@ export default {
63
65
  },
64
66
  computed: {
65
67
  ...mapState("edit", ["editMode"]),
66
- ...mapState("document", ["selectedDocument", "publicView"]),
68
+ ...mapState("document", [
69
+ "selectedDocument",
70
+ "publicView",
71
+ "documentIsReviewed",
72
+ ]),
67
73
  },
68
74
  };
69
75
  </script>
@@ -71,6 +71,11 @@
71
71
  import { mapGetters, mapState } from "vuex";
72
72
  import ServerImage from "../../assets/images/ServerImage";
73
73
  import ErrorIcon from "../../assets/images/ErrorIcon";
74
+ import {
75
+ getURLQueryParam,
76
+ navigateToNewDocumentURL,
77
+ getURLPath,
78
+ } from "../../utils/utils";
74
79
 
75
80
  /**
76
81
  * This component creates a horizontal list of documents
@@ -105,8 +110,12 @@ export default {
105
110
  },
106
111
  methods: {
107
112
  changeDocument(documentId) {
108
- this.$store.dispatch("document/setDocId", documentId);
109
- this.$store.dispatch("document/fetchDocument");
113
+ if (getURLQueryParam("document") || getURLPath("docs")) {
114
+ navigateToNewDocumentURL(this.selectedDocument.id, documentId);
115
+ } else {
116
+ this.$store.dispatch("document/setDocId", documentId);
117
+ this.$store.dispatch("document/fetchDocument");
118
+ }
110
119
  },
111
120
  requestTrialAccess() {
112
121
  window.open("https://konfuzio.com", "_blank");
@@ -49,8 +49,7 @@
49
49
  "data_being_extracted": "Neue Daten werden extrahiert",
50
50
  "analysing_document": "Wir analysieren Ihr Dokument.",
51
51
  "few_minutes": "Dies könnte ein paar Minuten dauern.",
52
- "reject_label": "Ablehnen",
53
- "rejected": "Abgelehnt",
52
+ "missing_annotation": "Als fehlend markieren",
54
53
  "ann_exists": "Eine Annotation für dieses Label und Label-Set existiert bereits.",
55
54
  "lite_mode": "Schreibgeschützt",
56
55
  "limited_functionalities": "Sie verwenden die schreibgeschützte Version mit begrenzten Funktionalitäten.",
@@ -88,14 +87,13 @@
88
87
  "categorize_document_no_category_description": "Bitten Sie den Projektmanager, eine Beschreibung dieser Kategorie hinzuzufügen, um mehr über diese Kategorie zu erfahren.",
89
88
  "annotations_pending": "Ausstehende Annotationen",
90
89
  "annotations_accepted": "Akzeptierte Annotationen",
91
- "reject_all_empty": "Alle fehlenden Annotationen ablehnen",
90
+ "mark_all_missing": "Alle leeren als fehlend markieren",
92
91
  "no_labels_to_choose": "Keine Labels",
93
92
  "accept_group": "Alle akzeptieren",
94
93
  "use_your_keyboard": "Benutze deine Tastatur",
95
94
  "arrow_keys": "Navigieren",
96
95
  "esc_key": "Exit",
97
96
  "enter_key": "Akzeptieren oder Speichern",
98
- "delete_key": "Ablehnen",
99
97
  "decline": "Decline",
100
98
  "server_error": "Wir haben derzeit ein Serverproblem. Bitte versuchen Sie es später noch einmal oder",
101
99
  "get_support": "Hole dir Unterstützung",
@@ -110,8 +108,27 @@
110
108
  "new_multi_ann_description": "Wählen Sie ein Datenmodell aus den vorhandenen aus und deaktivieren Sie dann die Labels, die in diesem Dokument nicht vorhanden sind.",
111
109
  "drag_drop_columns_multi_ann": "Drag and Drop, um die Reihenfolge der Labels zu ändern",
112
110
  "error_creating_multi_ann": "Nicht alle Annotationen wurden erfolgreich erstellt.",
113
- "disabled_finish_review": "Der Abschluss der Dokumentenprüfung ist erst möglich, nachdem alle Annotationen überarbeitet wurden, unabhängig davon, ob sie akzeptiert oder abgelehnt wurden.",
114
111
  "no_multi_ann_labelset_model": "Es gibt keine verfügbaren Label Sets, die mehrfach in diesem Dokument zu finden sind. Weitere Informationen finden Sie unter <a href='https://help.konfuzio.com/tutorials/advanced-document-extraction/index.html#multiple-annotation-sets' target='_blank'>diesem Link</a>.",
115
112
  "single_category_in_project": "Das aktuelle Projekt hat nur eine Kategorie. Um sie ändern zu können, sollte die neue zuerst dem Projekt hinzugefügt werden. Einzelheiten dazu finden Sie unter <a href='https://help.konfuzio.com/modules/categories/index.html#add-a-category' target='_blank'>diesem Link</a>.",
116
- "approved_annotations": "Die Kategorie kann nicht geändert werden, da bereits akzeptierte Annotationen oder manuell erstellte Annotationen zu diesem Dokument vorhanden sind."
113
+ "approved_annotations": "Die Kategorie kann nicht geändert werden, da bereits akzeptierte Annotationen oder manuell erstellte Annotationen zu diesem Dokument vorhanden sind.",
114
+ "restore": "Restore",
115
+ "disabled_finish_review": "Das Beenden der Dokumentenprüfung ist erst möglich, nachdem alle Annotationen überarbeitet wurden, unabhängig davon, ob sie akzeptiert oder als fehlend markiert wurden.",
116
+ "split_modal_title": "Dokument aufteilen",
117
+ "split_modal_body": "Wir haben Ihre Datei gescannt und <strong>{number_of_split_documents}</strong> verschiedene Dokumente gefunde. <strong>Wir empfehlen dringend,</strong> sie zu diesem Zeitpunkt aufzuteilen, da sonst alle Fortschritte, die Sie gemacht haben, aufgrund der erneuten Extraktion der Dokumentdaten verloren gehen.",
118
+ "do_it_later": "Ich werde es später machen",
119
+ "review_now": "Jetzt reviewen",
120
+ "recommended": "Empfohlen",
121
+ "smart_split": "Smart Split",
122
+ "smart_split_suggestions": "Unsere Smart Split-Vorschläge sind grün hervorgehoben",
123
+ "no_splitting_suggestions": "Dieses Dokument enthält keine Split-Vorschläge",
124
+ "confirm_splitting": "Sind Sie sicher, dass Sie die Änderungen bestätigen möchten?",
125
+ "splitting_warning": "Beachten Sie bitte, dass alle Annotationen, die Sie in diesem Dokument gemacht haben, nicht gespeichert werden, wenn Sie fortfahren.",
126
+ "no": "Nein",
127
+ "yes": "Ja",
128
+ "split_modal_no_suggestions": "Do you need to split the document? <strong>We strongly recommend</strong> splitting it at this stage, otherwise all the progress you’ve made will be lost in the future.",
129
+ "missing_from_document": "Fehlt im Dokument",
130
+ "edit_label": "Edit label",
131
+ "delete_label": "Delete label",
132
+ "table": "Table",
133
+ "delete_table": "Delete table"
117
134
  }
@@ -51,8 +51,7 @@
51
51
  "data_being_extracted": "New data is being extracted",
52
52
  "analysing_document": "We are analysing your document.",
53
53
  "few_minutes": "This might take a few minutes.",
54
- "reject_label": "Reject",
55
- "rejected": "Rejected",
54
+ "missing_annotation": "Mark as Missing",
56
55
  "ann_exists": "An annotation for this label and label set already exists.",
57
56
  "lite_mode": "Read Only",
58
57
  "limited_functionalities": "You are using the Read Only version with limited functionalities.",
@@ -89,7 +88,7 @@
89
88
  "categorize_document_no_category_description": "Ask the Project Manager to add a description of this Category to know more about this category.",
90
89
  "annotations_pending": "pending",
91
90
  "annotations_accepted": "accepted",
92
- "reject_all_empty": "Reject all empty",
91
+ "mark_all_missing": "Mark all empty as Missing",
93
92
  "no_labels_to_choose": "No Labels",
94
93
  "accept_group": "Accept all",
95
94
  "new_ann_set_title": "New annotation set",
@@ -102,7 +101,6 @@
102
101
  "arrow_keys": "to Navigate",
103
102
  "esc_key": "Exit",
104
103
  "enter_key": "Accept or Save",
105
- "delete_key": "Reject",
106
104
  "decline": "Decline",
107
105
  "server_error": "We are currently experiencing a server issue. Please try again later or",
108
106
  "get_support": "Get Support",
@@ -111,8 +109,28 @@
111
109
  "new_multi_ann_description": "Select a data model from the existing ones, then deselect the labels that don't exist in this document.",
112
110
  "drag_drop_columns_multi_ann": "Drag and drop to change the order of the labels",
113
111
  "error_creating_multi_ann": "Not all annotation sets were created successfully.",
114
- "disabled_finish_review": "Finishing the document review is only possible after all annotations have been revised, whether they are accepted or rejected.",
112
+ "disabled_finish_review": "Finishing the document review is only possible after all annotations have been revised, whether they are accepted or marked as missing.",
115
113
  "no_multi_ann_labelset_model": "There are no available label sets that can be found multiple times in this document. For more details, you can visit <a href='https://help.konfuzio.com/tutorials/advanced-document-extraction/index.html#multiple-annotation-sets' target='_blank'>this link</a>.",
116
114
  "single_category_in_project": "The current project has only one category. To be able to change it, the new one should be first added to the project. For details on how to do this, visit <a href='https://help.konfuzio.com/modules/categories/index.html#add-a-category' target='_blank'>this link</a>.",
117
- "approved_annotations": "It is not possible to change the current category since the document has approved or manually created annotations."
115
+ "approved_annotations": "It is not possible to change the current category since the document has approved or manually created annotations.",
116
+ "restore": "Restore",
117
+ "split_modal_title": "Split the document",
118
+ "split_modal_body": "We've scanned your file and found <strong>{number_of_split_documents}</strong> different documents. <strong>We strongly recommend</strong> splitting it at this stage, otherwise all the progress you’ve made will be lost due to document data re-extraction.",
119
+ "do_it_later": "I'll do it later",
120
+ "review_now": "Review now",
121
+ "recommended": "Recommended",
122
+ "smart_split": "Smart Split",
123
+ "smart_split_suggestions": "Our Smart Split suggestions are highlighted in green",
124
+ "no_splitting_suggestions": "This document does not have splitting suggestions",
125
+ "confirm_splitting": "Are you sure you want to confirm the changes?",
126
+ "splitting_warning": "Be aware that any annotations you have made in this document will not be saved if you proceed.",
127
+ "no": "No",
128
+ "yes": "Yes",
129
+ "prepare_document": "Prepare the document",
130
+ "split_modal_no_suggestions": "Do you need to split the document? <strong>We strongly recommend</strong> splitting it at this stage, otherwise all the progress you’ve made will be lost in the future.",
131
+ "missing_from_document": "Missing from the document",
132
+ "edit_label": "Edit label",
133
+ "delete_label": "Delete label",
134
+ "table": "Table",
135
+ "delete_table": "Delete table"
118
136
  }
@@ -51,8 +51,7 @@
51
51
  "data_being_extracted": "Se están extrayendo nuevos datos",
52
52
  "analysing_document": "Estamos analizando el documento.",
53
53
  "few_minutes": "Esto puede tardar unos minutos.",
54
- "reject_label": "Rechazar",
55
- "rejected": "Rechazadas",
54
+ "missing_annotation": "Marcar como Faltante",
56
55
  "ann_exists": "Ya existe una anotación para esta etiqueta y grupo de etiquetas.",
57
56
  "lite_mode": "Sólo lectura",
58
57
  "limited_functionalities": "Está utilizando la versión de sólo lectura con funcionalidad limitada.",
@@ -89,14 +88,13 @@
89
88
  "categorize_document_no_category_description": "Solicite a su Gestor de Proyecto que agregue una descripción a esta Categoría para saber más sobre ella.",
90
89
  "annotations_pending": "pendientes",
91
90
  "annotations_accepted": "aceptadas",
92
- "reject_all_empty": "Rechazar todas las anotaciones vacías",
91
+ "mark_all_missing": "Marcas todas las anotaciones vacías como Faltantes",
93
92
  "no_labels_to_choose": "Sin etiquetas",
94
93
  "accept_group": "Aceptar todas",
95
94
  "use_your_keyboard": "Use su teclado",
96
95
  "arrow_keys": "para Navegar",
97
96
  "esc_key": "Salir del modo de edición",
98
97
  "enter_key": "Aceptar o Guardar",
99
- "delete_key": "Rechazar",
100
98
  "decline": "Declinar",
101
99
  "server_error": "Estamos experimentando problemas con el servidor. Por favor, repita la operación o ",
102
100
  "get_support": "Contacte al Soporte",
@@ -109,8 +107,27 @@
109
107
  "continue": "Continuar",
110
108
  "drag_drop_columns_multi_ann": "Arrastre y suelte las columnas para ordenar las etiquetas",
111
109
  "error_creating_multi_ann": "No todos los grupos de anotaciones fueron creados de manera exitosa.",
112
- "disabled_finish_review": "Solo es posible finalizar la revisión del documento si todas las anotaciones han sido revisadas, ya sea aceptadas o rechazadas.",
110
+ "disabled_finish_review": "Solo es posible finalizar la revisión del documento si todas las anotaciones han sido revisadas, ya sea aceptadas o marcadas como faltantes.",
113
111
  "no_multi_ann_labelset_model": "En este documento no hay grupos de etiquetas múltiples disponibles. Para más información, haz clic en <a href='https://help.konfuzio.com/tutorials/advanced-document-extraction/index.html#multiple-annotation-sets' target='_blank'>este enlace</a>.",
114
112
  "single_category_in_project": "Este proyecto solo tiene una categoría. Para poder modificarla, es necesario agregar esta nueva categoría al proyecto. Para más información, visita <a href='https://help.konfuzio.com/modules/categories/index.html#add-a-category' target='_blank'>este enlace</a>.",
115
- "approved_annotations": "No es posible cambiar la categoría, ya que existen anotaciones aceptadas o creadas manualmente en este documento."
113
+ "approved_annotations": "No es posible cambiar la categoría, ya que existen anotaciones aceptadas o creadas manualmente en este documento.",
114
+ "restore": "Restore",
115
+ "split_modal_title": "Dividir el documento",
116
+ "split_modal_body": "Hemos escaneado tu documento y hemos encontrado <strong>{number_of_split_documents}</strong> documentos diferentes. <strong>Te recomendamos</strong> dividir el documento en esta etapa, ya que de lo contrario se perderá el progreso logrado debido a una nueva extracción de los datos del documento.",
117
+ "do_it_later": "Lo haré luego",
118
+ "review_now": "Revisar ahora",
119
+ "recommended": "Recomendado",
120
+ "smart_split": "División Inteligente",
121
+ "smart_split_suggestions": "Nuestras sugerencias de División Inteligente están marcadas en color verde",
122
+ "no_splitting_suggestions": "Este documento no tiene sugerencias de división",
123
+ "confirm_splitting": "¿Seguro que quieres confirmar los cambios?",
124
+ "splitting_warning": "Ten en cuenta que se perderán las anotaciones que hayas confirmado en el documento.",
125
+ "no": "No",
126
+ "yes": "Sí",
127
+ "split_modal_no_suggestions": "Do you need to split the document? <strong>We strongly recommend</strong> splitting it at this stage, otherwise all the progress you’ve made will be lost in the future.",
128
+ "missing_from_document": "Falta en el documento",
129
+ "edit_label": "Edit label",
130
+ "delete_label": "Delete label",
131
+ "table": "Table",
132
+ "delete_table": "Delete table"
116
133
  }
@@ -54,7 +54,7 @@ const actions = {
54
54
  */
55
55
  fetchDocumentList: ({ commit, rootState }, categoryId) => {
56
56
  return HTTP.get(
57
- `documents/?category=${categoryId}&assignee=${rootState.project.currentUser}`
57
+ `documents/?category=${categoryId}&assignee=${rootState.project.currentUser}&limit=100`
58
58
  )
59
59
  .then((response) => {
60
60
  if (response.data.results) {