tycho-components 0.21.19 → 0.22.0

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 (153) hide show
  1. package/dist/configs/Localization.js +12 -0
  2. package/dist/features/DocumentDrawer/Actions/Actions.d.ts +12 -0
  3. package/dist/features/DocumentDrawer/Actions/Actions.js +77 -0
  4. package/dist/features/DocumentDrawer/Actions/index.d.ts +2 -0
  5. package/dist/features/DocumentDrawer/Actions/index.js +2 -0
  6. package/dist/features/DocumentDrawer/Actions/style.scss +6 -0
  7. package/dist/features/DocumentDrawer/AutomaticParser/AutomaticParser.d.ts +8 -0
  8. package/dist/features/DocumentDrawer/AutomaticParser/AutomaticParser.js +96 -0
  9. package/dist/features/DocumentDrawer/AutomaticParser/index.d.ts +2 -0
  10. package/dist/features/DocumentDrawer/AutomaticParser/index.js +2 -0
  11. package/dist/features/DocumentDrawer/AutomaticParser/style.scss +10 -0
  12. package/dist/features/DocumentDrawer/DocumentDrawer.d.ts +14 -0
  13. package/dist/features/DocumentDrawer/DocumentDrawer.js +111 -0
  14. package/dist/features/DocumentDrawer/DocumentEdit/DocumentEdit.d.ts +35 -0
  15. package/dist/features/DocumentDrawer/DocumentEdit/DocumentEdit.js +207 -0
  16. package/dist/features/DocumentDrawer/DocumentEdit/index.d.ts +2 -0
  17. package/dist/features/DocumentDrawer/DocumentEdit/index.js +1 -0
  18. package/dist/features/DocumentDrawer/DocumentExport/DocumentExport.d.ts +7 -0
  19. package/dist/features/DocumentDrawer/DocumentExport/DocumentExport.js +71 -0
  20. package/dist/features/DocumentDrawer/DocumentExport/ExportInvalidSentences.d.ts +7 -0
  21. package/dist/features/DocumentDrawer/DocumentExport/ExportInvalidSentences.js +12 -0
  22. package/dist/features/DocumentDrawer/DocumentExport/index.d.ts +2 -0
  23. package/dist/features/DocumentDrawer/DocumentExport/index.js +2 -0
  24. package/dist/features/DocumentDrawer/DocumentExport/style.scss +31 -0
  25. package/dist/features/DocumentDrawer/DocumentLexicon/DocumentLexicon.d.ts +7 -0
  26. package/dist/features/DocumentDrawer/DocumentLexicon/DocumentLexicon.js +22 -0
  27. package/dist/features/DocumentDrawer/DocumentLexicon/index.d.ts +2 -0
  28. package/dist/features/DocumentDrawer/DocumentLexicon/index.js +2 -0
  29. package/dist/features/DocumentDrawer/DocumentLexicon/style.scss +38 -0
  30. package/dist/features/DocumentDrawer/DocumentRemove/DocumentRemove.d.ts +12 -0
  31. package/dist/features/DocumentDrawer/DocumentRemove/DocumentRemove.js +28 -0
  32. package/dist/features/DocumentDrawer/DocumentRemove/index.d.ts +2 -0
  33. package/dist/features/DocumentDrawer/DocumentRemove/index.js +2 -0
  34. package/dist/features/DocumentDrawer/DocumentRemove/style.scss +0 -0
  35. package/dist/features/DocumentDrawer/Github/Github.d.ts +8 -0
  36. package/dist/features/DocumentDrawer/Github/Github.js +11 -0
  37. package/dist/features/DocumentDrawer/Github/GithubCommit.d.ts +8 -0
  38. package/dist/features/DocumentDrawer/Github/GithubCommit.js +86 -0
  39. package/dist/features/DocumentDrawer/Github/index.d.ts +2 -0
  40. package/dist/features/DocumentDrawer/Github/index.js +2 -0
  41. package/dist/features/DocumentDrawer/Github/style.scss +31 -0
  42. package/dist/features/DocumentDrawer/ImageGallery/GalleryImage.d.ts +8 -0
  43. package/dist/features/DocumentDrawer/ImageGallery/GalleryImage.js +5 -0
  44. package/dist/features/DocumentDrawer/ImageGallery/GalleryRemoval.d.ts +9 -0
  45. package/dist/features/DocumentDrawer/ImageGallery/GalleryRemoval.js +14 -0
  46. package/dist/features/DocumentDrawer/ImageGallery/ImageGallery.d.ts +9 -0
  47. package/dist/features/DocumentDrawer/ImageGallery/ImageGallery.js +45 -0
  48. package/dist/features/DocumentDrawer/ImageGallery/index.d.ts +2 -0
  49. package/dist/features/DocumentDrawer/ImageGallery/index.js +2 -0
  50. package/dist/features/DocumentDrawer/ImageGallery/style.scss +41 -0
  51. package/dist/features/DocumentDrawer/Info/Info.d.ts +10 -0
  52. package/dist/features/DocumentDrawer/Info/Info.js +16 -0
  53. package/dist/features/DocumentDrawer/Info/index.d.ts +2 -0
  54. package/dist/features/DocumentDrawer/Info/index.js +2 -0
  55. package/dist/features/DocumentDrawer/Info/style.scss +24 -0
  56. package/dist/features/DocumentDrawer/Metadata/DocumentMetadata/DocumentMetadata.d.ts +8 -0
  57. package/dist/features/DocumentDrawer/Metadata/DocumentMetadata/DocumentMetadata.js +60 -0
  58. package/dist/features/DocumentDrawer/Metadata/DocumentMetadata/index.d.ts +2 -0
  59. package/dist/features/DocumentDrawer/Metadata/DocumentMetadata/index.js +2 -0
  60. package/dist/features/DocumentDrawer/Metadata/DocumentMetadata/style.scss +7 -0
  61. package/dist/features/DocumentDrawer/Metadata/DocumentMetadataEdit/DocumentMetadataEdit.d.ts +11 -0
  62. package/dist/features/DocumentDrawer/Metadata/DocumentMetadataEdit/DocumentMetadataEdit.js +195 -0
  63. package/dist/features/DocumentDrawer/Metadata/DocumentMetadataEdit/index.d.ts +2 -0
  64. package/dist/features/DocumentDrawer/Metadata/DocumentMetadataEdit/index.js +2 -0
  65. package/dist/features/DocumentDrawer/Metadata/DocumentMetadataEdit/style.scss +58 -0
  66. package/dist/features/DocumentDrawer/PageStatusComponent/PageStatusComponent.d.ts +9 -0
  67. package/dist/features/DocumentDrawer/PageStatusComponent/PageStatusComponent.js +30 -0
  68. package/dist/features/DocumentDrawer/PageStatusComponent/index.d.ts +2 -0
  69. package/dist/features/DocumentDrawer/PageStatusComponent/index.js +2 -0
  70. package/dist/features/DocumentDrawer/PageStatusComponent/style.scss +19 -0
  71. package/dist/features/DocumentDrawer/Pages/BoxRemoval.d.ts +9 -0
  72. package/dist/features/DocumentDrawer/Pages/BoxRemoval.js +14 -0
  73. package/dist/features/DocumentDrawer/Pages/Boxes.d.ts +9 -0
  74. package/dist/features/DocumentDrawer/Pages/Boxes.js +63 -0
  75. package/dist/features/DocumentDrawer/Pages/PageRemoval.d.ts +9 -0
  76. package/dist/features/DocumentDrawer/Pages/PageRemoval.js +15 -0
  77. package/dist/features/DocumentDrawer/Pages/Pages.d.ts +10 -0
  78. package/dist/features/DocumentDrawer/Pages/Pages.js +72 -0
  79. package/dist/features/DocumentDrawer/Pages/style.scss +48 -0
  80. package/dist/features/DocumentDrawer/deps.d.ts +28 -0
  81. package/dist/features/DocumentDrawer/deps.js +20 -0
  82. package/dist/features/DocumentDrawer/functions/FileUtils.d.ts +4 -0
  83. package/dist/features/DocumentDrawer/functions/FileUtils.js +8 -0
  84. package/dist/features/DocumentDrawer/functions/MetadataUtils.d.ts +41 -0
  85. package/dist/features/DocumentDrawer/functions/MetadataUtils.js +192 -0
  86. package/dist/features/DocumentDrawer/index.d.ts +5 -0
  87. package/dist/features/DocumentDrawer/index.js +3 -0
  88. package/dist/features/DocumentDrawer/localization/ActionsTexts.d.ts +77 -0
  89. package/dist/features/DocumentDrawer/localization/ActionsTexts.js +77 -0
  90. package/dist/features/DocumentDrawer/localization/DocumentTexts.d.ts +140 -0
  91. package/dist/features/DocumentDrawer/localization/DocumentTexts.js +140 -0
  92. package/dist/features/DocumentDrawer/localization/ExportTexts.d.ts +59 -0
  93. package/dist/features/DocumentDrawer/localization/ExportTexts.js +59 -0
  94. package/dist/features/DocumentDrawer/localization/GithubTexts.d.ts +35 -0
  95. package/dist/features/DocumentDrawer/localization/GithubTexts.js +35 -0
  96. package/dist/features/DocumentDrawer/localization/PageTexts.d.ts +45 -0
  97. package/dist/features/DocumentDrawer/localization/PageTexts.js +45 -0
  98. package/dist/features/DocumentDrawer/localization/ParserTexts.d.ts +30 -0
  99. package/dist/features/DocumentDrawer/localization/ParserTexts.js +30 -0
  100. package/dist/features/DocumentDrawer/services/AutomaticParserService.d.ts +8 -0
  101. package/dist/features/DocumentDrawer/services/AutomaticParserService.js +9 -0
  102. package/dist/features/DocumentDrawer/services/BoundingBoxService.d.ts +11 -0
  103. package/dist/features/DocumentDrawer/services/BoundingBoxService.js +20 -0
  104. package/dist/features/DocumentDrawer/services/DocumentService.d.ts +13 -0
  105. package/dist/features/DocumentDrawer/services/DocumentService.js +20 -0
  106. package/dist/features/DocumentDrawer/services/ExportService.d.ts +11 -0
  107. package/dist/features/DocumentDrawer/services/ExportService.js +16 -0
  108. package/dist/features/DocumentDrawer/services/GithubService.d.ts +8 -0
  109. package/dist/features/DocumentDrawer/services/GithubService.js +12 -0
  110. package/dist/features/DocumentDrawer/services/ImageService.d.ts +8 -0
  111. package/dist/features/DocumentDrawer/services/ImageService.js +12 -0
  112. package/dist/features/DocumentDrawer/services/LexiconService.d.ts +10 -0
  113. package/dist/features/DocumentDrawer/services/LexiconService.js +9 -0
  114. package/dist/features/DocumentDrawer/services/MetadataService.d.ts +15 -0
  115. package/dist/features/DocumentDrawer/services/MetadataService.js +26 -0
  116. package/dist/features/DocumentDrawer/services/PageService.d.ts +11 -0
  117. package/dist/features/DocumentDrawer/services/PageService.js +16 -0
  118. package/dist/features/DocumentDrawer/services/SentenceService.d.ts +6 -0
  119. package/dist/features/DocumentDrawer/services/SentenceService.js +6 -0
  120. package/dist/features/DocumentDrawer/style.scss +171 -0
  121. package/dist/features/DocumentDrawer/types/BoundingBox.d.ts +8 -0
  122. package/dist/features/DocumentDrawer/types/BoundingBox.js +1 -0
  123. package/dist/features/DocumentDrawer/types/CatalogSearchFilter.d.ts +15 -0
  124. package/dist/features/DocumentDrawer/types/CatalogSearchFilter.js +16 -0
  125. package/dist/features/DocumentDrawer/types/Category.d.ts +16 -0
  126. package/dist/features/DocumentDrawer/types/Category.js +5 -0
  127. package/dist/features/DocumentDrawer/types/DocumentStatus.d.ts +7 -0
  128. package/dist/features/DocumentDrawer/types/DocumentStatus.js +6 -0
  129. package/dist/features/DocumentDrawer/types/DocumentUpdateRequest.d.ts +13 -0
  130. package/dist/features/DocumentDrawer/types/DocumentUpdateRequest.js +1 -0
  131. package/dist/features/DocumentDrawer/types/Export.d.ts +25 -0
  132. package/dist/features/DocumentDrawer/types/Export.js +36 -0
  133. package/dist/features/DocumentDrawer/types/Lexicon.d.ts +6 -0
  134. package/dist/features/DocumentDrawer/types/Lexicon.js +1 -0
  135. package/dist/features/DocumentDrawer/types/LexiconResponse.d.ts +6 -0
  136. package/dist/features/DocumentDrawer/types/LexiconResponse.js +1 -0
  137. package/dist/features/DocumentDrawer/types/Metadata.d.ts +22 -0
  138. package/dist/features/DocumentDrawer/types/Metadata.js +8 -0
  139. package/dist/features/DocumentDrawer/types/Page.d.ts +10 -0
  140. package/dist/features/DocumentDrawer/types/Page.js +1 -0
  141. package/dist/features/DocumentDrawer/types/PageStatus.d.ts +9 -0
  142. package/dist/features/DocumentDrawer/types/PageStatus.js +8 -0
  143. package/dist/features/DocumentDrawer/types/Parser.d.ts +18 -0
  144. package/dist/features/DocumentDrawer/types/Parser.js +21 -0
  145. package/dist/features/DocumentDrawer/types/Query.d.ts +6 -0
  146. package/dist/features/DocumentDrawer/types/Query.js +1 -0
  147. package/dist/features/DocumentDrawer/types/Sentence.d.ts +4 -0
  148. package/dist/features/DocumentDrawer/types/Sentence.js +1 -0
  149. package/dist/features/index.d.ts +4 -0
  150. package/dist/features/index.js +2 -0
  151. package/dist/shell/Header/HeaderApps/HeaderApps.js +2 -1
  152. package/dist/shell/Header/HelpButton/HelpModal.js +2 -1
  153. package/package.json +1 -1
@@ -0,0 +1,140 @@
1
+ export const DocumentTexts = {
2
+ en: {
3
+ 'menu.label.close': 'Close',
4
+ 'menu.label.home': 'Details',
5
+ 'menu.label.pages': 'Pages',
6
+ 'menu.label.images': 'Images',
7
+ 'menu.label.actions': 'Actions',
8
+ 'menu.label.metadata': 'Metadata',
9
+ 'menu.label.lexicon': 'Lexicon',
10
+ 'menu.label.export': 'Export',
11
+ 'menu.label.participants': 'Participants',
12
+ 'menu.label.github': 'Github',
13
+ 'document.label.title': 'Information',
14
+ 'document.button.edit': 'Edit',
15
+ 'document.modal.edit.title': 'Edit document',
16
+ 'document.field.name': 'Name',
17
+ 'document.field.translated': 'Translated name',
18
+ 'document.field.reference': 'Reference',
19
+ 'document.field.author': 'Author',
20
+ 'document.field.description': 'Description',
21
+ 'document.field.category': 'Category',
22
+ 'document.field.status': 'Status',
23
+ 'document.field.visible': 'Public document',
24
+ 'document.field.inc': 'Created at',
25
+ 'document.field.defaultTool': 'Default tool',
26
+ 'images.label.title': 'Images',
27
+ 'images.label.card': 'Cover',
28
+ 'images.tooltip.add': 'Add new',
29
+ 'images.tooltip.remove': 'Remove image',
30
+ 'metadata.label.title': 'Metadata',
31
+ 'metadata.modal.edit.title': 'Edit metadata',
32
+ 'metadata.add.select.label': 'Add metadata',
33
+ 'metadata.add.select.placeholder': 'Choose a field…',
34
+ 'metadata.button.add': 'Add',
35
+ 'metadata.list.label': 'Document metadata',
36
+ 'metadata.remove.tooltip': 'Remove',
37
+ 'metadata.autocomplete.placeholder': 'Type at least 2 characters',
38
+ 'metadata.autocomplete.nooptions': 'No matching values',
39
+ 'error.metadata.invalid': 'The value "{{value}}" is not valid for "{{field}}" (expected type: {{type}}).',
40
+ 'lexicon.label.title': 'Lexicon',
41
+ 'lexicon.label.word': 'word',
42
+ 'lexicon.label.tag': 'tag',
43
+ 'lexicon.label.editions': 'editions',
44
+ 'placeholder.empty.lexicon': 'There are no editions for this document.',
45
+ 'placeholder.empty.metadata': 'There is no metadata for this document.',
46
+ 'placeholder.empty.images': 'There are no images for this document.',
47
+ },
48
+ 'pt-BR': {
49
+ 'menu.label.close': 'Fechar',
50
+ 'menu.label.home': 'Detalhes',
51
+ 'menu.label.pages': 'Páginas',
52
+ 'menu.label.images': 'Imagens',
53
+ 'menu.label.actions': 'Ações',
54
+ 'menu.label.metadata': 'Metadados',
55
+ 'menu.label.lexicon': 'Léxico',
56
+ 'menu.label.export': 'Exportar',
57
+ 'menu.label.participants': 'Participantes',
58
+ 'menu.label.github': 'Github',
59
+ 'document.label.title': 'Detalhes',
60
+ 'document.button.edit': 'Editar',
61
+ 'document.modal.edit.title': 'Editar documento',
62
+ 'document.field.name': 'Nome',
63
+ 'document.field.translated': 'Nome traduzido',
64
+ 'document.field.reference': 'Referência',
65
+ 'document.field.author': 'Autor',
66
+ 'document.field.description': 'Descrição',
67
+ 'document.field.category': 'Categoria',
68
+ 'document.field.status': 'Status',
69
+ 'document.field.visible': 'Documento público',
70
+ 'document.field.inc': 'Criado em',
71
+ 'document.field.defaultTool': 'Ferramenta padrão',
72
+ 'images.label.title': 'Imagens',
73
+ 'images.label.card': 'Capa',
74
+ 'images.tooltip.add': 'Adicionar nova',
75
+ 'images.tooltip.remove': 'Remover imagem',
76
+ 'metadata.label.title': 'Metadados',
77
+ 'metadata.modal.edit.title': 'Editar metadados',
78
+ 'metadata.add.select.label': 'Adicionar metadado',
79
+ 'metadata.add.select.placeholder': 'Escolha um campo…',
80
+ 'metadata.button.add': 'Adicionar',
81
+ 'metadata.list.label': 'Metadados do documento',
82
+ 'metadata.remove.tooltip': 'Remover',
83
+ 'metadata.autocomplete.placeholder': 'Digite pelo menos 2 caracteres',
84
+ 'metadata.autocomplete.nooptions': 'Nenhum valor correspondente',
85
+ 'error.metadata.invalid': 'O valor "{{value}}" não é válido para "{{field}}" (tipo esperado: {{type}}).',
86
+ 'lexicon.label.title': 'Léxico',
87
+ 'lexicon.label.word': 'palavra',
88
+ 'lexicon.label.tag': 'etiqueta',
89
+ 'lexicon.label.editions': 'edições',
90
+ 'placeholder.empty.lexicon': 'Não existem edições para este documento.',
91
+ 'placeholder.empty.metadata': 'Não existem metadados para este documento.',
92
+ 'placeholder.empty.images': 'Não existem imagens para este documento.',
93
+ },
94
+ it: {
95
+ 'menu.label.close': 'Chiudi',
96
+ 'menu.label.home': 'Dettagli',
97
+ 'menu.label.pages': 'Pagine',
98
+ 'menu.label.images': 'Immagini',
99
+ 'menu.label.actions': 'Azioni',
100
+ 'menu.label.metadata': 'Metadati',
101
+ 'menu.label.lexicon': 'Lessico',
102
+ 'menu.label.export': 'Esporta',
103
+ 'menu.label.participants': 'Partecipanti',
104
+ 'menu.label.github': 'Github',
105
+ 'document.label.title': 'Informazioni',
106
+ 'document.button.edit': 'Modifica',
107
+ 'document.modal.edit.title': 'Modifica documento',
108
+ 'document.field.name': 'Nome',
109
+ 'document.field.translated': 'Nome tradotto',
110
+ 'document.field.reference': 'Riferimento',
111
+ 'document.field.author': 'Autore',
112
+ 'document.field.description': 'Descrizione',
113
+ 'document.field.category': 'Categoria',
114
+ 'document.field.status': 'Stato',
115
+ 'document.field.visible': 'Documento pubblico',
116
+ 'document.field.inc': 'Creato il',
117
+ 'document.field.defaultTool': 'Strumento predefinito',
118
+ 'images.label.title': 'Immagini',
119
+ 'images.label.card': 'Copertina',
120
+ 'images.tooltip.add': 'Aggiungi nuova',
121
+ 'images.tooltip.remove': 'Rimuovi immagine',
122
+ 'metadata.label.title': 'Metadati',
123
+ 'metadata.modal.edit.title': 'Modifica metadati',
124
+ 'metadata.add.select.label': 'Aggiungi metadato',
125
+ 'metadata.add.select.placeholder': 'Scegli un campo…',
126
+ 'metadata.button.add': 'Aggiungi',
127
+ 'metadata.list.label': 'Metadati del documento',
128
+ 'metadata.remove.tooltip': 'Rimuovi',
129
+ 'metadata.autocomplete.placeholder': 'Digita almeno 2 caratteri',
130
+ 'metadata.autocomplete.nooptions': 'Nessun valore corrispondente',
131
+ 'error.metadata.invalid': 'Il valore "{{value}}" non è valido per "{{field}}" (tipo previsto: {{type}}).',
132
+ 'lexicon.label.title': 'Lessico',
133
+ 'lexicon.label.word': 'parola',
134
+ 'lexicon.label.tag': 'etichetta',
135
+ 'lexicon.label.editions': 'edizioni',
136
+ 'placeholder.empty.lexicon': 'Non ci sono edizioni per questo documento.',
137
+ 'placeholder.empty.metadata': 'Non ci sono metadati per questo documento.',
138
+ 'placeholder.empty.images': 'Non ci sono immagini per questo documento.',
139
+ },
140
+ };
@@ -0,0 +1,59 @@
1
+ export declare const ExportTexts: {
2
+ en: {
3
+ 'export.label.title': string;
4
+ 'export.label.tycho': string;
5
+ 'export.desc.tycho': string;
6
+ 'export.label.psd': string;
7
+ 'export.desc.psd': string;
8
+ 'export.label.pos': string;
9
+ 'export.desc.pos': string;
10
+ 'export.label.csv': string;
11
+ 'export.desc.csv': string;
12
+ 'export.label.text': string;
13
+ 'export.desc.text': string;
14
+ 'export.label.chat': string;
15
+ 'export.desc.chat': string;
16
+ 'export.label.conllu': string;
17
+ 'export.desc.conllu': string;
18
+ 'modal.title.invalid.sentences': string;
19
+ 'modal.desc.invalid.sentences': string;
20
+ };
21
+ 'pt-BR': {
22
+ 'export.label.title': string;
23
+ 'export.label.tycho': string;
24
+ 'export.desc.tycho': string;
25
+ 'export.label.psd': string;
26
+ 'export.desc.psd': string;
27
+ 'export.label.pos': string;
28
+ 'export.desc.pos': string;
29
+ 'export.label.csv': string;
30
+ 'export.desc.csv': string;
31
+ 'export.label.text': string;
32
+ 'export.desc.text': string;
33
+ 'export.label.chat': string;
34
+ 'export.desc.chat': string;
35
+ 'export.label.conllu': string;
36
+ 'export.desc.conllu': string;
37
+ 'modal.title.invalid.sentences': string;
38
+ 'modal.desc.invalid.sentences': string;
39
+ };
40
+ it: {
41
+ 'export.label.title': string;
42
+ 'export.label.tycho': string;
43
+ 'export.desc.tycho': string;
44
+ 'export.label.psd': string;
45
+ 'export.desc.psd': string;
46
+ 'export.label.pos': string;
47
+ 'export.desc.pos': string;
48
+ 'export.label.csv': string;
49
+ 'export.desc.csv': string;
50
+ 'export.label.text': string;
51
+ 'export.desc.text': string;
52
+ 'export.label.chat': string;
53
+ 'export.desc.chat': string;
54
+ 'export.label.conllu': string;
55
+ 'export.desc.conllu': string;
56
+ 'modal.title.invalid.sentences': string;
57
+ 'modal.desc.invalid.sentences': string;
58
+ };
59
+ };
@@ -0,0 +1,59 @@
1
+ export const ExportTexts = {
2
+ en: {
3
+ 'export.label.title': 'Export',
4
+ 'export.label.tycho': 'Tycho Platform',
5
+ 'export.desc.tycho': 'Generates a json file containing all data related to this document.',
6
+ 'export.label.psd': 'PSD',
7
+ 'export.desc.psd': 'Generates a text file with parenthesized structured syntactic sentences.',
8
+ 'export.label.pos': 'Part Of Speech (POS)',
9
+ 'export.desc.pos': 'Generates a text file with sentences with slash separated values for words and POS tags.',
10
+ 'export.label.csv': 'CSV',
11
+ 'export.desc.csv': 'Generates a text file with comma separated values (CSV), ready to be imported to Microsoft Excel.',
12
+ 'export.label.text': 'Text file',
13
+ 'export.desc.text': 'Text file',
14
+ 'export.label.chat': 'CHAT file',
15
+ 'export.desc.chat': 'CHAT file',
16
+ 'export.label.conllu': 'CoNNL-U file',
17
+ 'export.desc.conllu': 'Standardized format for annotating and representing linguistic data, particularly for dependency parsing.',
18
+ 'modal.title.invalid.sentences': 'Exporting failed',
19
+ 'modal.desc.invalid.sentences': 'Some sentences are invalid and cannot be exported. Please fix them before retrying.',
20
+ },
21
+ 'pt-BR': {
22
+ 'export.label.title': 'Exportar',
23
+ 'export.label.tycho': 'Plataforma Tycho',
24
+ 'export.desc.tycho': 'Gera um arquivo json contendo todos os dados relacionados a este documento.',
25
+ 'export.label.psd': 'PSD',
26
+ 'export.desc.psd': 'Gera um arquivo de texto com frases sintáticas estruturadas entre parênteses.',
27
+ 'export.label.pos': 'Parte do Discurso (POS)',
28
+ 'export.desc.pos': 'Gera um arquivo de texto com sentenças contendo valores de palavras e tags de POS separados por barras.',
29
+ 'export.label.csv': 'CSV',
30
+ 'export.desc.csv': 'Gera um arquivo de texto com valores separados por vírgula (CSV), pronto para ser importado para o Microsoft Excel.',
31
+ 'export.label.text': 'Arquivo de texto',
32
+ 'export.desc.text': 'Arquivo de texto',
33
+ 'export.label.chat': 'Arquivo CHAT',
34
+ 'export.desc.chat': 'Arquivo CHAT',
35
+ 'export.label.conllu': 'Arquivo CoNNL-U',
36
+ 'export.desc.conllu': 'Padrão para anotar e representar dados linguísticos, especialmente para análise de dependências.',
37
+ 'modal.title.invalid.sentences': 'Falha na exportação',
38
+ 'modal.desc.invalid.sentences': 'Algumas sentenças estão inválidas e não podem ser exportadas. Corrija-as antes de tentar novamente.',
39
+ },
40
+ it: {
41
+ 'export.label.title': 'Esporta',
42
+ 'export.label.tycho': 'Piattaforma Tycho',
43
+ 'export.desc.tycho': 'Genera un file json contenente tutti i dati relativi a questo documento.',
44
+ 'export.label.psd': 'PSD',
45
+ 'export.desc.psd': 'Genera un file di testo con frasi sintattiche strutturate tra parentesi.',
46
+ 'export.label.pos': 'Parte del discorso (POS)',
47
+ 'export.desc.pos': 'Genera un file di testo con frasi con valori di parole e tag POS separati da barre.',
48
+ 'export.label.csv': 'CSV',
49
+ 'export.desc.csv': 'Genera un file di testo con valori separati da virgola (CSV), pronto per essere importato in Microsoft Excel.',
50
+ 'export.label.text': 'File di testo',
51
+ 'export.desc.text': 'File di testo',
52
+ 'export.label.chat': 'File CHAT',
53
+ 'export.desc.chat': 'File CHAT',
54
+ 'export.label.conllu': 'File CoNLL-U',
55
+ 'export.desc.conllu': 'Formato standardizzato per annotare e rappresentare dati linguistici, in particolare per il parsing delle dipendenze.',
56
+ 'modal.title.invalid.sentences': 'Esportazione non riuscita',
57
+ 'modal.desc.invalid.sentences': 'Alcune frasi non sono valide e non possono essere esportate. Correggile prima di riprovare.',
58
+ },
59
+ };
@@ -0,0 +1,35 @@
1
+ export declare const GithubTexts: {
2
+ en: {
3
+ 'label.title': string;
4
+ 'label.commit.title': string;
5
+ 'label.commit.description': string;
6
+ 'modal.commit.title': string;
7
+ 'modal.commit.description': string;
8
+ 'modal.label.github.file': string;
9
+ 'modal.label.github.format': string;
10
+ 'modal.push.title': string;
11
+ 'modal.push.description': string;
12
+ };
13
+ 'pt-BR': {
14
+ 'label.title': string;
15
+ 'label.commit.title': string;
16
+ 'label.commit.description': string;
17
+ 'modal.commit.title': string;
18
+ 'modal.commit.description': string;
19
+ 'modal.label.github.file': string;
20
+ 'modal.label.github.format': string;
21
+ 'modal.push.title': string;
22
+ 'modal.push.description': string;
23
+ };
24
+ it: {
25
+ 'label.title': string;
26
+ 'label.commit.title': string;
27
+ 'label.commit.description': string;
28
+ 'modal.commit.title': string;
29
+ 'modal.commit.description': string;
30
+ 'modal.label.github.file': string;
31
+ 'modal.label.github.format': string;
32
+ 'modal.push.title': string;
33
+ 'modal.push.description': string;
34
+ };
35
+ };
@@ -0,0 +1,35 @@
1
+ export const GithubTexts = {
2
+ en: {
3
+ 'label.title': 'Github',
4
+ 'label.commit.title': 'Commit',
5
+ 'label.commit.description': 'Commit your changes to the GitHub repository.',
6
+ 'modal.commit.title': 'Commit',
7
+ 'modal.commit.description': 'You are about to commit your file to the GitHub repository. This action may take some time. Are you sure you want to continue?',
8
+ 'modal.label.github.file': 'Local Github file:',
9
+ 'modal.label.github.format': 'Github Format:',
10
+ 'modal.push.title': 'Push',
11
+ 'modal.push.description': 'Commit executed succesfully. Do you want to push your commit to the repository?',
12
+ },
13
+ 'pt-BR': {
14
+ 'label.title': 'Github',
15
+ 'label.commit.title': 'Commit',
16
+ 'label.commit.description': 'Faça o commit das suas alterações no repositório do GitHub.',
17
+ 'modal.commit.title': 'Commit',
18
+ 'modal.commit.description': 'Você está prestes a fazer o commit do seu arquivo no repositório do GitHub. Essa ação pode levar algum tempo. Tem certeza de que deseja continuar?',
19
+ 'modal.label.github.file': 'Arquivo local do Github:',
20
+ 'modal.label.github.format': 'Formato do Github:',
21
+ 'modal.push.title': 'Push',
22
+ 'modal.push.description': 'Commit executado com sucesso. Você gostaria de enviar suas alterações para o repositório?',
23
+ },
24
+ it: {
25
+ 'label.title': 'Github',
26
+ 'label.commit.title': 'Commit',
27
+ 'label.commit.description': 'Conferma le modifiche nel repository GitHub.',
28
+ 'modal.commit.title': 'Commit',
29
+ 'modal.commit.description': 'Stai per confermare il file nel repository GitHub. Questa azione può richiedere tempo. Vuoi continuare?',
30
+ 'modal.label.github.file': 'File Github locale:',
31
+ 'modal.label.github.format': 'Formato Github:',
32
+ 'modal.push.title': 'Push',
33
+ 'modal.push.description': 'Commit eseguito con successo. Vuoi inviare il commit al repository?',
34
+ },
35
+ };
@@ -0,0 +1,45 @@
1
+ declare const PageTexts: {
2
+ en: {
3
+ 'pages.label.title': string;
4
+ 'pages.tooltip.add': string;
5
+ 'pages.label.card': string;
6
+ 'pages.tooltip.remove': string;
7
+ 'modal.title.page.remove': string;
8
+ 'modal.description.page.remove': string;
9
+ 'page.status.transcription': string;
10
+ 'page.status.edition': string;
11
+ 'page.status.review': string;
12
+ 'page.status.completed': string;
13
+ 'page.status.processing': string;
14
+ 'page.status.error': string;
15
+ };
16
+ 'pt-BR': {
17
+ 'pages.label.title': string;
18
+ 'pages.tooltip.add': string;
19
+ 'pages.label.card': string;
20
+ 'pages.tooltip.remove': string;
21
+ 'modal.title.page.remove': string;
22
+ 'modal.description.page.remove': string;
23
+ 'page.status.transcription': string;
24
+ 'page.status.edition': string;
25
+ 'page.status.review': string;
26
+ 'page.status.completed': string;
27
+ 'page.status.processing': string;
28
+ 'page.status.error': string;
29
+ };
30
+ it: {
31
+ 'pages.label.title': string;
32
+ 'pages.tooltip.add': string;
33
+ 'pages.label.card': string;
34
+ 'pages.tooltip.remove': string;
35
+ 'modal.title.page.remove': string;
36
+ 'modal.description.page.remove': string;
37
+ 'page.status.transcription': string;
38
+ 'page.status.edition': string;
39
+ 'page.status.review': string;
40
+ 'page.status.completed': string;
41
+ 'page.status.processing': string;
42
+ 'page.status.error': string;
43
+ };
44
+ };
45
+ export default PageTexts;
@@ -0,0 +1,45 @@
1
+ const PageTexts = {
2
+ en: {
3
+ 'pages.label.title': 'Pages',
4
+ 'pages.tooltip.add': 'Add page',
5
+ 'pages.label.card': 'Page',
6
+ 'pages.tooltip.remove': 'Remove page',
7
+ 'modal.title.page.remove': 'Confirm removal',
8
+ 'modal.description.page.remove': 'Are you sure you want to delete this page?',
9
+ 'page.status.transcription': 'Transcription',
10
+ 'page.status.edition': 'Edition',
11
+ 'page.status.review': 'Review',
12
+ 'page.status.completed': 'Completed',
13
+ 'page.status.processing': 'Processing',
14
+ 'page.status.error': 'Error',
15
+ },
16
+ 'pt-BR': {
17
+ 'pages.label.title': 'Páginas',
18
+ 'pages.tooltip.add': 'Adicionar página',
19
+ 'pages.label.card': 'Página',
20
+ 'pages.tooltip.remove': 'Remover página',
21
+ 'modal.title.page.remove': 'Confirmar exclusão',
22
+ 'modal.description.page.remove': 'Você tem certeza que deseja remover esta página?',
23
+ 'page.status.transcription': 'Transcrição',
24
+ 'page.status.edition': 'Edição',
25
+ 'page.status.review': 'Revisão',
26
+ 'page.status.completed': 'Concluído',
27
+ 'page.status.processing': 'Processando',
28
+ 'page.status.error': 'Erro',
29
+ },
30
+ it: {
31
+ 'pages.label.title': 'Pagine',
32
+ 'pages.tooltip.add': 'Aggiungi pagina',
33
+ 'pages.label.card': 'Pagina',
34
+ 'pages.tooltip.remove': 'Rimuovi pagina',
35
+ 'modal.title.page.remove': 'Conferma rimozione',
36
+ 'modal.description.page.remove': 'Sei sicuro di voler eliminare questa pagina?',
37
+ 'page.status.transcription': 'Trascrizione',
38
+ 'page.status.edition': 'Edizione',
39
+ 'page.status.review': 'Revisione',
40
+ 'page.status.completed': 'Completato',
41
+ 'page.status.processing': 'Elaborazione',
42
+ 'page.status.error': 'Errore',
43
+ },
44
+ };
45
+ export default PageTexts;
@@ -0,0 +1,30 @@
1
+ declare const ParserTexts: {
2
+ en: {
3
+ 'modal.automatic.title': string;
4
+ 'modal.automatic.desc': string;
5
+ 'modal.automatic.reprocess': string;
6
+ 'modal.automatic.reset': string;
7
+ 'modal.automatic.finish': string;
8
+ 'msg.parser.completed': string;
9
+ 'error.start': string;
10
+ };
11
+ 'pt-BR': {
12
+ 'modal.automatic.title': string;
13
+ 'modal.automatic.desc': string;
14
+ 'modal.automatic.reprocess': string;
15
+ 'modal.automatic.reset': string;
16
+ 'modal.automatic.finish': string;
17
+ 'msg.parser.completed': string;
18
+ 'error.start': string;
19
+ };
20
+ it: {
21
+ 'modal.automatic.title': string;
22
+ 'modal.automatic.desc': string;
23
+ 'modal.automatic.reprocess': string;
24
+ 'modal.automatic.reset': string;
25
+ 'modal.automatic.finish': string;
26
+ 'msg.parser.completed': string;
27
+ 'error.start': string;
28
+ };
29
+ };
30
+ export default ParserTexts;
@@ -0,0 +1,30 @@
1
+ const ParserTexts = {
2
+ en: {
3
+ 'modal.automatic.title': 'Automatic Parsing',
4
+ 'modal.automatic.desc': '<bold>Attention!</bold> All sentences in this document marked as "to do" or previously processed automatically will be redone. This operation may take some time and cannot be undone.',
5
+ 'modal.automatic.reprocess': 'Select this option to reprocess all sentences, including those already reviewed.',
6
+ 'modal.automatic.reset': 'Select this option to reset the POS tags of the sentences.',
7
+ 'modal.automatic.finish': 'Finish',
8
+ 'msg.parser.completed': 'Automatic parsing completed.',
9
+ 'error.start': 'An error occurred while starting automatic parsing.',
10
+ },
11
+ 'pt-BR': {
12
+ 'modal.automatic.title': 'Parser Automático',
13
+ 'modal.automatic.desc': '<bold>Atenção!</bold> Todas as sentenças deste documento marcadas como "a fazer" ou processadas automaticamente anteriormente serão refeitas. Esta operação pode levar algum tempo e não pode ser desfeita.',
14
+ 'modal.automatic.reprocess': 'Selecione esta opção para reprocessar todas as sentenças, inclusive aquelas já revisadas.',
15
+ 'modal.automatic.reset': 'Selecione esta opção para redefinir as etiquetas POS das sentenças.',
16
+ 'modal.automatic.finish': 'Finalizar',
17
+ 'msg.parser.completed': 'Parser automático finalizado.',
18
+ 'error.start': 'Ocorreu um erro ao iniciar o parser automático.',
19
+ },
20
+ it: {
21
+ 'modal.automatic.title': 'Analisi automatica',
22
+ 'modal.automatic.desc': '<bold>Attenzione!</bold> Tutte le frasi di questo documento contrassegnate come "da fare" o elaborate automaticamente in precedenza verranno rifatte. Questa operazione può richiedere tempo e non può essere annullata.',
23
+ 'modal.automatic.reprocess': 'Seleziona questa opzione per rielaborare tutte le frasi, incluse quelle già revisionate.',
24
+ 'modal.automatic.reset': 'Seleziona questa opzione per reimpostare le etichette POS delle frasi.',
25
+ 'modal.automatic.finish': 'Fine',
26
+ 'msg.parser.completed': 'Analisi automatica completata.',
27
+ 'error.start': 'Si è verificato un errore durante l\'avvio dell\'analisi automatica.',
28
+ },
29
+ };
30
+ export default ParserTexts;
@@ -0,0 +1,8 @@
1
+ import { ParserAutoRequest, ParserAutoResponse } from '../types/Parser';
2
+ declare function executeAutomaticParsing(uid: string, request: ParserAutoRequest): Promise<import("axios").AxiosResponse<ParserAutoResponse, any, {}>>;
3
+ declare function checkParsingStatus(uid: string): Promise<import("axios").AxiosResponse<ParserAutoResponse, any, {}>>;
4
+ declare const AutomaticParserService: {
5
+ executeAutomaticParsing: typeof executeAutomaticParsing;
6
+ checkParsingStatus: typeof checkParsingStatus;
7
+ };
8
+ export default AutomaticParserService;
@@ -0,0 +1,9 @@
1
+ import api from '../../../configs/api';
2
+ function executeAutomaticParsing(uid, request) {
3
+ return api.post(`${import.meta.env.VITE_APP_PARSER_ENGINE_API}/auto/execute/${uid}`, request);
4
+ }
5
+ function checkParsingStatus(uid) {
6
+ return api.get(`${import.meta.env.VITE_APP_PARSER_ENGINE_API}/auto/status/${uid}`);
7
+ }
8
+ const AutomaticParserService = { executeAutomaticParsing, checkParsingStatus };
9
+ export default AutomaticParserService;
@@ -0,0 +1,11 @@
1
+ import BoundingBox from '../types/BoundingBox';
2
+ import { AppPage, Corpus, Document } from '../deps';
3
+ declare function remove(box: BoundingBox): Promise<import("axios").AxiosResponse<any, any, {}>>;
4
+ declare function create(uid: string, corpus: Corpus): Promise<import("axios").AxiosResponse<any, any, {}>>;
5
+ declare function page(document: Document, index: number, size: number): Promise<import("axios").AxiosResponse<AppPage<BoundingBox>, any, {}>>;
6
+ declare const BoundingBoxService: {
7
+ page: typeof page;
8
+ create: typeof create;
9
+ remove: typeof remove;
10
+ };
11
+ export default BoundingBoxService;
@@ -0,0 +1,20 @@
1
+ import api from '../../../configs/api';
2
+ function remove(box) {
3
+ return api.delete(`${import.meta.env.VITE_APP_EDICTOR_API}/box/${box.uid}`);
4
+ }
5
+ function create(uid, corpus) {
6
+ return api.post(`${import.meta.env.VITE_APP_EDICTOR_API}/box/${uid}/${corpus.uid}`);
7
+ }
8
+ function page(document, index, size) {
9
+ const data = {
10
+ page: index,
11
+ size,
12
+ };
13
+ return api.post(`${import.meta.env.VITE_APP_EDICTOR_API}/box/document/${document.uid}`, data);
14
+ }
15
+ const BoundingBoxService = {
16
+ page,
17
+ create,
18
+ remove,
19
+ };
20
+ export default BoundingBoxService;
@@ -0,0 +1,13 @@
1
+ import Document from '../../../configs/types/Document';
2
+ import { DocumentUpdateRequest } from '../types/DocumentUpdateRequest';
3
+ declare function get(uid: string): Promise<import("axios").AxiosResponse<Document, any, {}>>;
4
+ declare function update(uid: string, payload: DocumentUpdateRequest): Promise<import("axios").AxiosResponse<void, any, {}>>;
5
+ declare function remove(uid: string): Promise<import("axios").AxiosResponse<any, any, {}>>;
6
+ declare function syncSearch(uid: string): Promise<import("axios").AxiosResponse<void, any, {}>>;
7
+ declare const DocumentService: {
8
+ get: typeof get;
9
+ update: typeof update;
10
+ remove: typeof remove;
11
+ syncSearch: typeof syncSearch;
12
+ };
13
+ export default DocumentService;
@@ -0,0 +1,20 @@
1
+ import api from '../../../configs/api';
2
+ function get(uid) {
3
+ return api.get(`/document/${uid}`);
4
+ }
5
+ function update(uid, payload) {
6
+ return api.put(`/document/${uid}`, payload);
7
+ }
8
+ function remove(uid) {
9
+ return api.delete(`/document/${uid}`);
10
+ }
11
+ function syncSearch(uid) {
12
+ return api.get(`/document/sync-search/${uid}`);
13
+ }
14
+ const DocumentService = {
15
+ get,
16
+ update,
17
+ remove,
18
+ syncSearch,
19
+ };
20
+ export default DocumentService;
@@ -0,0 +1,11 @@
1
+ import { ExportType } from '../types/Export';
2
+ import Export from '../types/Export';
3
+ declare function executeForGithub(uid: string, type: ExportType): Promise<import("axios").AxiosResponse<string, any, {}>>;
4
+ declare function execute(uid: string, type: ExportType): Promise<import("axios").AxiosResponse<string, any, {}>>;
5
+ declare function check(uid: string): Promise<import("axios").AxiosResponse<Export, any, {}>>;
6
+ declare const ExportService: {
7
+ executeForGithub: typeof executeForGithub;
8
+ execute: typeof execute;
9
+ check: typeof check;
10
+ };
11
+ export default ExportService;
@@ -0,0 +1,16 @@
1
+ import api from '../../../configs/api';
2
+ function executeForGithub(uid, type) {
3
+ return api.get(`${import.meta.env.VITE_APP_IO_API}/export/github/${uid}/${type}`);
4
+ }
5
+ function execute(uid, type) {
6
+ return api.get(`${import.meta.env.VITE_APP_IO_API}/export/${uid}/${type}`);
7
+ }
8
+ function check(uid) {
9
+ return api.get(`${import.meta.env.VITE_APP_IO_API}/export/check/${uid}`);
10
+ }
11
+ const ExportService = {
12
+ executeForGithub,
13
+ execute,
14
+ check,
15
+ };
16
+ export default ExportService;
@@ -0,0 +1,8 @@
1
+ import { Corpus } from '../deps';
2
+ declare function push(corpus: Corpus): Promise<import("axios").AxiosResponse<any, any, {}>>;
3
+ declare function commit(corpus: Corpus): Promise<import("axios").AxiosResponse<any, any, {}>>;
4
+ declare const GithubService: {
5
+ commit: typeof commit;
6
+ push: typeof push;
7
+ };
8
+ export default GithubService;
@@ -0,0 +1,12 @@
1
+ import api from '../../../configs/api';
2
+ function push(corpus) {
3
+ return api.get(`${import.meta.env.VITE_APP_FUNCTIONS_API}/github/push/${corpus.uid}`);
4
+ }
5
+ function commit(corpus) {
6
+ return api.get(`${import.meta.env.VITE_APP_FUNCTIONS_API}/github/commit/${corpus.uid}`);
7
+ }
8
+ const GithubService = {
9
+ commit,
10
+ push,
11
+ };
12
+ export default GithubService;
@@ -0,0 +1,8 @@
1
+ import { UploadedFile } from '../deps';
2
+ declare function updateDocument(uid: string, image: UploadedFile): Promise<import("axios").AxiosResponse<any, any, {}>>;
3
+ declare function removeDocument(uid: string): Promise<import("axios").AxiosResponse<any, any, {}>>;
4
+ declare const ImageService: {
5
+ updateDocument: typeof updateDocument;
6
+ removeDocument: typeof removeDocument;
7
+ };
8
+ export default ImageService;