@konfuzio/document-validation-ui 0.1.2-pre-release-4 → 0.1.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 (39) hide show
  1. package/dist/css/app.7dd6bb8c.css +1 -0
  2. package/dist/index.html +1 -1
  3. package/dist/js/app.cc0b0c26.js +2 -0
  4. package/dist/js/app.cc0b0c26.js.map +1 -0
  5. package/dist/js/{chunk-vendors.dbed2bf7.js → chunk-vendors.a48fca3f.js} +2 -2
  6. package/dist/js/chunk-vendors.a48fca3f.js.map +1 -0
  7. package/package.json +1 -1
  8. package/src/assets/images/CategoryIconImg.vue +1 -1
  9. package/src/assets/images/CheckMark.vue +1 -1
  10. package/src/assets/images/KeyboardIcon.vue +1 -1
  11. package/src/assets/images/QuestionMark.vue +1 -1
  12. package/src/assets/images/SplitZigZag.vue +1 -1
  13. package/src/assets/images/StatusImg.vue +1 -1
  14. package/src/assets/images/UserIcon.vue +1 -1
  15. package/src/assets/scss/choose_label_set_modal.scss +1 -1
  16. package/src/assets/scss/document_action_bar.scss +1 -1
  17. package/src/assets/scss/document_annotations.scss +17 -22
  18. package/src/assets/scss/document_edit.scss +5 -5
  19. package/src/assets/scss/document_error.scss +1 -1
  20. package/src/assets/scss/document_top_bar.scss +1 -1
  21. package/src/assets/scss/document_viewport_modal.scss +2 -2
  22. package/src/assets/scss/documents_list.scss +12 -1
  23. package/src/assets/scss/extracting_data.scss +1 -1
  24. package/src/assets/scss/new_annotation.scss +3 -3
  25. package/src/assets/scss/variables.scss +40 -35
  26. package/src/components/DocumentAnnotations/ActionButtons.vue +3 -2
  27. package/src/components/DocumentAnnotations/CategorizeModal.vue +1 -1
  28. package/src/components/DocumentAnnotations/ChooseLabelSetModal.vue +1 -1
  29. package/src/components/DocumentEdit/EditSidebar.vue +13 -31
  30. package/src/components/DocumentError.vue +5 -1
  31. package/src/components/DocumentPage/DocumentPage.vue +1 -1
  32. package/src/components/DocumentPage/NewAnnotation.vue +2 -2
  33. package/src/components/DocumentTopBar/DocumentTopBarButtons.vue +2 -2
  34. package/src/components/DocumentsList/DocumentsList.vue +13 -22
  35. package/src/components/NotOptimizedViewportModal.vue +6 -9
  36. package/dist/css/app.27e4fab5.css +0 -1
  37. package/dist/js/app.6832ed01.js +0 -2
  38. package/dist/js/app.6832ed01.js.map +0 -1
  39. package/dist/js/chunk-vendors.dbed2bf7.js.map +0 -1
@@ -16,7 +16,11 @@
16
16
  </div>
17
17
  </section>
18
18
  <footer class="modal-card-foot">
19
- <b-button type="is-primary" @click="handleContactSupport">
19
+ <b-button
20
+ type="is-primary"
21
+ class="primary-button"
22
+ @click="handleContactSupport"
23
+ >
20
24
  {{ $t("contact_support") }}
21
25
  </b-button>
22
26
  </footer>
@@ -79,7 +79,7 @@
79
79
  >
80
80
  <v-tag
81
81
  :config="{
82
- fill: '#2B3545',
82
+ fill: '#1A1A1A',
83
83
  lineJoin: 'round',
84
84
  hitStrokeWidth: 0,
85
85
  listening: false,
@@ -101,14 +101,14 @@
101
101
  <div class="annotation-buttons">
102
102
  <b-button
103
103
  type="is-text"
104
- class="cancel-button popup-button"
104
+ class="cancel-button popup-button primary-button"
105
105
  :label="$t('cancel')"
106
106
  :disabled="loading"
107
107
  @click.prevent="close"
108
108
  />
109
109
  <b-button
110
110
  type="is-primary"
111
- class="popup-button"
111
+ class="popup-button primary-button"
112
112
  :label="$t('save')"
113
113
  :disabled="loading || !getTextFromEntities || !selectedLabel"
114
114
  @click.prevent="save"
@@ -3,7 +3,7 @@
3
3
  <div v-if="editMode" class="edit-mode-buttons">
4
4
  <b-button
5
5
  :label="$t('cancel')"
6
- class="button-cancel"
6
+ class="button-cancel primary-button"
7
7
  type="is-default"
8
8
  @click="closeEditMode"
9
9
  />
@@ -18,7 +18,7 @@
18
18
  "
19
19
  type="is-primary"
20
20
  :disabled="false"
21
- class="button-next"
21
+ class="button-next primary-button"
22
22
  @click="handleButton"
23
23
  />
24
24
  </div>
@@ -3,10 +3,7 @@
3
3
  v-if="documentsAvailableToReview && documentsAvailableToReview.length > 0"
4
4
  class="documents-list"
5
5
  >
6
- <div
7
- v-if="showCategoryInfo && selectedCategory"
8
- class="documents-list-top"
9
- >
6
+ <div v-if="showCategoryInfo && selectedCategory" class="documents-list-top">
10
7
  <div class="documents-list-top-left">
11
8
  <h2>{{ selectedCategory.name }}</h2>
12
9
  <p>
@@ -17,7 +14,7 @@
17
14
  <div class="action-box">
18
15
  <span>{{ $t("upload_documents") }}</span>
19
16
  <b-button
20
- class="action-button"
17
+ class="action-button primary-button"
21
18
  type="is-primary"
22
19
  @click="requestTrialAccess"
23
20
  >
@@ -27,34 +24,28 @@
27
24
  </div>
28
25
  </div>
29
26
  <div class="documents-list-bottom">
30
- <b-carousel-list
31
- :data="documentsAvailableToReview"
32
- :items-to-show="5"
33
- >
27
+ <b-carousel-list :data="documentsAvailableToReview" :items-to-show="5">
34
28
  <template #item="document">
35
29
  <div
36
30
  :class="[
37
31
  'documents-list-thumbnail',
38
- selectedDocument.id == document.id && 'selected'
32
+ selectedDocument.id == document.id && 'selected',
39
33
  ]"
40
34
  @click="changeDocument(document.id)"
41
35
  >
42
36
  <ServerImage
43
37
  :class="[
44
38
  'img-thumbnail',
45
- selectedDocument.id == document.id && 'selected'
39
+ selectedDocument.id == document.id && 'selected',
46
40
  ]"
47
41
  :image-url="`${document.thumbnail_url}?${document.updated_at}`"
48
42
  >
49
- <b-skeleton
50
- width="20px"
51
- height="100%"
52
- />
43
+ <b-skeleton width="20px" height="100%" />
53
44
  </ServerImage>
54
45
  <div
55
46
  :class="[
56
47
  'document-name',
57
- selectedDocument.id == document.id && 'selected'
48
+ selectedDocument.id == document.id && 'selected',
58
49
  ]"
59
50
  >
60
51
  <!-- if is the current document, then we use the store variable to get the file name edits in real time -->
@@ -90,27 +81,27 @@ export default {
90
81
  name: "DocumentsList",
91
82
  components: {
92
83
  ServerImage,
93
- ErrorIcon
84
+ ErrorIcon,
94
85
  },
95
86
  data() {
96
87
  return {
97
88
  showCategoryInfo: false,
98
89
  selectedCategory: null,
99
- documentsList: null
90
+ documentsList: null,
100
91
  };
101
92
  },
102
93
  computed: {
103
94
  ...mapState("document", ["selectedDocument"]),
104
95
  ...mapState("category", ["documentsAvailableToReview"]),
105
96
  ...mapGetters("category", ["category"]),
106
- ...mapGetters("document", ["documentHadErrorDuringExtraction"])
97
+ ...mapGetters("document", ["documentHadErrorDuringExtraction"]),
107
98
  },
108
99
  watch: {
109
100
  showCategoryInfo(newValue) {
110
101
  if (newValue) {
111
102
  this.selectedCategory = this.category(this.selectedDocument.category);
112
103
  }
113
- }
104
+ },
114
105
  },
115
106
  methods: {
116
107
  changeDocument(documentId) {
@@ -119,8 +110,8 @@ export default {
119
110
  },
120
111
  requestTrialAccess() {
121
112
  window.open("https://konfuzio.com", "_blank");
122
- }
123
- }
113
+ },
114
+ },
124
115
  };
125
116
  </script>
126
117
  <style scoped lang="scss" src="../../assets/scss/documents_list.scss"></style>
@@ -1,10 +1,6 @@
1
1
  <template>
2
2
  <section class="viewport-modal">
3
- <b-modal
4
- v-model="isModalActive"
5
- class="modal-text-center"
6
- :width="500"
7
- >
3
+ <b-modal v-model="isModalActive" class="modal-text-center" :width="500">
8
4
  <section class="modal-card-body">
9
5
  <div class="image">
10
6
  <Illustration />
@@ -17,6 +13,7 @@
17
13
  <footer class="modal-card-foot">
18
14
  <b-button
19
15
  type="is-primary"
16
+ class="primary-button"
20
17
  @click="handleNotOptimizedModal"
21
18
  >
22
19
  {{ $t("ok") }}
@@ -32,18 +29,18 @@ import Illustration from "../assets/images/NotOptimizedIllustration";
32
29
  export default {
33
30
  name: "NotOptimizedViewportModal",
34
31
  components: {
35
- Illustration
32
+ Illustration,
36
33
  },
37
34
  data() {
38
35
  return {
39
- isModalActive: true
36
+ isModalActive: true,
40
37
  };
41
38
  },
42
39
  methods: {
43
40
  handleNotOptimizedModal() {
44
41
  this.isModalActive = false;
45
- }
46
- }
42
+ },
43
+ },
47
44
  };
48
45
  </script>
49
46