@konfuzio/document-validation-ui 0.1.13-dev.4 → 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.
@@ -135,5 +135,10 @@
135
135
  "delete_table": "Eliminar tabla",
136
136
  "error_downloading_file": "El documento no pudo ser descargado.",
137
137
  "original_file": "Documento original",
138
- "pdf_file": "Documento PDF"
138
+ "pdf_file": "Documento PDF",
139
+ "no_labels_in_set": "Este grupo de anotaciones no tiene etiquetas.",
140
+ "link_to_add_labels": "Para ver cómo agregarlas haga clic <a href='https://help.konfuzio.com/modules/labels/index.html#add-a-label' target='_blank'>aquí</a>.",
141
+ "no_annotations_in_annotation_set": "Este grupo de anotaciones no tiene anotaciones encontradas para sus respectivas etiquetas.",
142
+ "wait_title": "Por favor espere...",
143
+ "redirecting_to_documents_list": "Lo estamos redirigiendo a la lista de documentos, para que pueda continuar la revisión de sus documentos mientras procesamos los cambios realizados."
139
144
  }
package/src/store/edit.js CHANGED
@@ -16,6 +16,7 @@ const state = {
16
16
  updatedDocument: [],
17
17
  showEditConfirmationModal: false,
18
18
  submitEditChanges: false,
19
+ redirectingUser: false,
19
20
  };
20
21
 
21
22
  const getters = {
@@ -260,6 +261,10 @@ const actions = {
260
261
  setShowEditConfirmationModal: ({ commit }, value) => {
261
262
  commit("SET_SHOW_EDIT_CONFIRMATION_MODAL", value);
262
263
  },
264
+
265
+ setRedirectingUser: ({ commit }, value) => {
266
+ commit("SET_REDIRECTING_USER", value);
267
+ },
263
268
  };
264
269
 
265
270
  const mutations = {
@@ -290,6 +295,9 @@ const mutations = {
290
295
  SET_SUBMIT_EDIT_CHANGES: (state, value) => {
291
296
  state.submitEditChanges = value;
292
297
  },
298
+ SET_REDIRECTING_USER: (state, value) => {
299
+ state.redirectingUser = value;
300
+ },
293
301
  };
294
302
 
295
303
  export default {
@@ -45,6 +45,8 @@ export function navigateToDocumentsList(path, projectId, userId) {
45
45
  const newPath = `${path}${slash}${parameters}`;
46
46
 
47
47
  window.location.href = newPath;
48
+
49
+ return true;
48
50
  }
49
51
 
50
52
  export function isElementArray(element) {