tycho-components 0.15.11 → 0.15.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.
- package/dist/configs/Localization.d.ts +195 -192
- package/dist/configs/localization/CommonTexts.d.ts +196 -193
- package/dist/configs/localization/CommonTexts.js +196 -193
- package/dist/configs/types/Corpus.d.ts +21 -3
- package/dist/configs/types/Corpus.js +7 -7
- package/dist/index.d.ts +1 -1
- package/package.json +1 -1
|
@@ -1,200 +1,203 @@
|
|
|
1
1
|
export const CommonTexts = {
|
|
2
2
|
en: {
|
|
3
|
-
|
|
4
|
-
|
|
5
|
-
|
|
6
|
-
|
|
7
|
-
|
|
8
|
-
|
|
9
|
-
|
|
10
|
-
|
|
11
|
-
|
|
12
|
-
|
|
13
|
-
|
|
14
|
-
|
|
15
|
-
|
|
16
|
-
|
|
17
|
-
|
|
18
|
-
|
|
19
|
-
|
|
20
|
-
|
|
21
|
-
|
|
22
|
-
|
|
23
|
-
|
|
24
|
-
|
|
25
|
-
|
|
26
|
-
|
|
27
|
-
|
|
28
|
-
|
|
29
|
-
|
|
30
|
-
|
|
31
|
-
|
|
32
|
-
|
|
33
|
-
|
|
34
|
-
|
|
35
|
-
|
|
36
|
-
|
|
37
|
-
|
|
38
|
-
|
|
39
|
-
|
|
40
|
-
|
|
41
|
-
|
|
42
|
-
|
|
43
|
-
|
|
44
|
-
|
|
45
|
-
|
|
46
|
-
|
|
47
|
-
|
|
48
|
-
|
|
49
|
-
|
|
50
|
-
|
|
51
|
-
|
|
52
|
-
|
|
53
|
-
|
|
54
|
-
|
|
55
|
-
|
|
56
|
-
|
|
57
|
-
|
|
58
|
-
|
|
59
|
-
|
|
60
|
-
|
|
61
|
-
|
|
62
|
-
|
|
63
|
-
|
|
64
|
-
|
|
65
|
-
|
|
66
|
-
|
|
3
|
+
'button.confirm': 'Confirm',
|
|
4
|
+
'button.continue': 'Continue',
|
|
5
|
+
'button.cancel': 'Cancel',
|
|
6
|
+
'button.remove': 'Remove',
|
|
7
|
+
'button.save': 'Save',
|
|
8
|
+
'button.clone': 'Clone',
|
|
9
|
+
'button.apply': 'Apply',
|
|
10
|
+
'button.search': 'Search',
|
|
11
|
+
'button.edit': 'Edit',
|
|
12
|
+
'button.open': 'Open',
|
|
13
|
+
'button.close': 'Close',
|
|
14
|
+
'button.add': 'Add',
|
|
15
|
+
'button.filter': 'Filter',
|
|
16
|
+
'button.clear': 'Clear',
|
|
17
|
+
'button.play': 'Play',
|
|
18
|
+
'button.pause': 'Pause',
|
|
19
|
+
'button.view': 'View',
|
|
20
|
+
'label.public': 'Public',
|
|
21
|
+
'label.private': 'Private',
|
|
22
|
+
'label.notavailable': 'N/A',
|
|
23
|
+
'generic.boolean.true': 'Yes',
|
|
24
|
+
'generic.boolean.false': 'No',
|
|
25
|
+
'select.empty': 'Select',
|
|
26
|
+
'pagination.label.showing': '',
|
|
27
|
+
'pagination.label.results': 'results per page',
|
|
28
|
+
'pagination.label.total': 'Total',
|
|
29
|
+
'generic.loading': 'Loading...',
|
|
30
|
+
'generic.placeholder': 'Type here',
|
|
31
|
+
'generic.placeholder.comma.separated': 'Type here separated by commas',
|
|
32
|
+
'generic.placeholder.select': 'Select one here',
|
|
33
|
+
'validation.required': 'Required field.',
|
|
34
|
+
'placeholder.check': 'click to choose',
|
|
35
|
+
'placeholder.input': 'click to add',
|
|
36
|
+
'user.status.active': 'Active',
|
|
37
|
+
'user.status.inactive': 'Inactive',
|
|
38
|
+
'user.status.super': 'Super',
|
|
39
|
+
'user.status.visitor': 'Visitor',
|
|
40
|
+
'update.success': 'saved!',
|
|
41
|
+
'internal.server.error': 'An unexpected error occurred. Contact the administrator.',
|
|
42
|
+
'table.label.rows-page': 'Items per page',
|
|
43
|
+
'table.label.pages': 'of {{value}} pages',
|
|
44
|
+
'table.label.items': '{{first}} - {{last}} of {{total}} items',
|
|
45
|
+
'tooltip.copy': 'Copy',
|
|
46
|
+
'tooltip.copied': 'Copied!',
|
|
47
|
+
'document.status.deleted': 'Deleted',
|
|
48
|
+
'document.status.editing': 'Editing',
|
|
49
|
+
'document.status.edited': 'Edited',
|
|
50
|
+
'document.status.revision': 'In revision',
|
|
51
|
+
'document.status.completed': 'Completed',
|
|
52
|
+
'document.status.syntactic': 'Revision',
|
|
53
|
+
'document.status.copying': 'Copying',
|
|
54
|
+
'document.status.error': 'Error',
|
|
55
|
+
'sentence.status.todo': 'to do',
|
|
56
|
+
'sentence.status.done': 'done',
|
|
57
|
+
'sentence.status.ignore': 'ignore',
|
|
58
|
+
'sentence.status.tagged': 'tagged',
|
|
59
|
+
'sentence.status.review': 'review',
|
|
60
|
+
'sentence.status.error': 'error',
|
|
61
|
+
'sentence.status.auto': 'automatic',
|
|
62
|
+
'corpus.status.active': 'Active',
|
|
63
|
+
'corpus.status.inactive': 'Inactive',
|
|
64
|
+
'corpus.status.archived': 'Archived',
|
|
65
|
+
'corpus.status.demo': 'Demo',
|
|
66
|
+
'corpus.status.pending': 'Pending',
|
|
67
|
+
'corpus.status.rejected': 'Demo',
|
|
67
68
|
},
|
|
68
|
-
|
|
69
|
-
|
|
70
|
-
|
|
71
|
-
|
|
72
|
-
|
|
73
|
-
|
|
74
|
-
|
|
75
|
-
|
|
76
|
-
|
|
77
|
-
|
|
78
|
-
|
|
79
|
-
|
|
80
|
-
|
|
81
|
-
|
|
82
|
-
|
|
83
|
-
|
|
84
|
-
|
|
85
|
-
|
|
86
|
-
|
|
87
|
-
|
|
88
|
-
|
|
89
|
-
|
|
90
|
-
|
|
91
|
-
|
|
92
|
-
|
|
93
|
-
|
|
94
|
-
|
|
95
|
-
|
|
96
|
-
|
|
97
|
-
|
|
98
|
-
|
|
99
|
-
|
|
100
|
-
|
|
101
|
-
|
|
102
|
-
|
|
103
|
-
|
|
104
|
-
|
|
105
|
-
|
|
106
|
-
|
|
107
|
-
|
|
108
|
-
|
|
109
|
-
|
|
110
|
-
|
|
111
|
-
|
|
112
|
-
|
|
113
|
-
|
|
114
|
-
|
|
115
|
-
|
|
116
|
-
|
|
117
|
-
|
|
118
|
-
|
|
119
|
-
|
|
120
|
-
|
|
121
|
-
|
|
122
|
-
|
|
123
|
-
|
|
124
|
-
|
|
125
|
-
|
|
126
|
-
|
|
127
|
-
|
|
128
|
-
|
|
129
|
-
|
|
130
|
-
|
|
131
|
-
|
|
132
|
-
|
|
69
|
+
'pt-BR': {
|
|
70
|
+
'button.confirm': 'Confirmar',
|
|
71
|
+
'button.continue': 'Continuar',
|
|
72
|
+
'button.cancel': 'Cancelar',
|
|
73
|
+
'button.remove': 'Remover',
|
|
74
|
+
'button.save': 'Salvar',
|
|
75
|
+
'button.clone': 'Clonar',
|
|
76
|
+
'button.apply': 'Aplicar',
|
|
77
|
+
'button.search': 'Buscar',
|
|
78
|
+
'button.edit': 'Editar',
|
|
79
|
+
'button.open': 'Abrir',
|
|
80
|
+
'button.add': 'Adicionar',
|
|
81
|
+
'button.close': 'Fechar',
|
|
82
|
+
'button.filter': 'Filtrar',
|
|
83
|
+
'button.clear': 'Limpar',
|
|
84
|
+
'button.play': 'Reproduzir',
|
|
85
|
+
'button.pause': 'Pausar',
|
|
86
|
+
'button.view': 'Visualizar',
|
|
87
|
+
'label.public': 'Público',
|
|
88
|
+
'label.private': 'Privado',
|
|
89
|
+
'label.notavailable': 'N/A',
|
|
90
|
+
'generic.boolean.true': 'Sim',
|
|
91
|
+
'generic.boolean.false': 'Não',
|
|
92
|
+
'select.empty': 'Selecionar',
|
|
93
|
+
'pagination.label.showing': 'Exibindo',
|
|
94
|
+
'pagination.label.results': 'resultados por página',
|
|
95
|
+
'pagination.label.total': 'Total',
|
|
96
|
+
'generic.loading': 'Carregando...',
|
|
97
|
+
'generic.placeholder': 'Digite aqui',
|
|
98
|
+
'generic.placeholder.select': 'Selecione um aqui',
|
|
99
|
+
'generic.placeholder.comma.separated': 'Digite aqui separado por vírgulas',
|
|
100
|
+
'validation.required': 'Campo obrigatório.',
|
|
101
|
+
'placeholder.check': 'clique para selecionar',
|
|
102
|
+
'placeholder.input': 'clique para adicionar',
|
|
103
|
+
'user.status.active': 'Ativo',
|
|
104
|
+
'user.status.inactive': 'Inativo',
|
|
105
|
+
'user.status.super': 'Super',
|
|
106
|
+
'user.status.visitor': 'Visitante',
|
|
107
|
+
'update.success': 'salvo!',
|
|
108
|
+
'internal.server.error': 'Ocorreu um erro inesperado. Entre em contato com o administrador.',
|
|
109
|
+
'table.label.rows-page': 'Itens por página',
|
|
110
|
+
'table.label.pages': 'de {{value}} páginas',
|
|
111
|
+
'table.label.items': '{{first}} - {{last}} de {{total}} itens',
|
|
112
|
+
'tooltip.copy': 'Copiar',
|
|
113
|
+
'tooltip.copied': 'Copiado!',
|
|
114
|
+
'document.status.deleted': 'Excluído',
|
|
115
|
+
'document.status.editing': 'Editando',
|
|
116
|
+
'document.status.edited': 'Editado',
|
|
117
|
+
'document.status.revision': 'Em revisão',
|
|
118
|
+
'document.status.completed': 'Completo',
|
|
119
|
+
'document.status.syntactic': 'Revisão',
|
|
120
|
+
'document.status.copying': 'Copiando',
|
|
121
|
+
'document.status.error': 'Erro',
|
|
122
|
+
'sentence.status.todo': 'a fazer',
|
|
123
|
+
'sentence.status.done': 'finalizado',
|
|
124
|
+
'sentence.status.ignore': 'ignorar',
|
|
125
|
+
'sentence.status.tagged': 'etiquetado',
|
|
126
|
+
'sentence.status.review': 'revisar',
|
|
127
|
+
'sentence.status.error': 'erro',
|
|
128
|
+
'sentence.status.auto': 'automático',
|
|
129
|
+
'corpus.status.active': 'Ativo',
|
|
130
|
+
'corpus.status.inactive': 'Inativo',
|
|
131
|
+
'corpus.status.archived': 'Arquivado',
|
|
132
|
+
'corpus.status.demo': 'Demo',
|
|
133
|
+
'corpus.status.pending': 'Pendente',
|
|
134
|
+
'corpus.status.rejected': 'Rejeitado',
|
|
133
135
|
},
|
|
134
136
|
it: {
|
|
135
|
-
|
|
136
|
-
|
|
137
|
-
|
|
138
|
-
|
|
139
|
-
|
|
140
|
-
|
|
141
|
-
|
|
142
|
-
|
|
143
|
-
|
|
144
|
-
|
|
145
|
-
|
|
146
|
-
|
|
147
|
-
|
|
148
|
-
|
|
149
|
-
|
|
150
|
-
|
|
151
|
-
|
|
152
|
-
|
|
153
|
-
|
|
154
|
-
|
|
155
|
-
|
|
156
|
-
|
|
157
|
-
|
|
158
|
-
|
|
159
|
-
|
|
160
|
-
|
|
161
|
-
|
|
162
|
-
|
|
163
|
-
|
|
164
|
-
|
|
165
|
-
|
|
166
|
-
|
|
167
|
-
|
|
168
|
-
|
|
169
|
-
|
|
170
|
-
|
|
171
|
-
|
|
172
|
-
|
|
173
|
-
|
|
174
|
-
|
|
175
|
-
|
|
176
|
-
|
|
177
|
-
|
|
178
|
-
|
|
179
|
-
|
|
180
|
-
|
|
181
|
-
|
|
182
|
-
|
|
183
|
-
|
|
184
|
-
|
|
185
|
-
|
|
186
|
-
|
|
187
|
-
|
|
188
|
-
|
|
189
|
-
|
|
190
|
-
|
|
191
|
-
|
|
192
|
-
|
|
193
|
-
|
|
194
|
-
|
|
195
|
-
|
|
196
|
-
|
|
197
|
-
|
|
198
|
-
|
|
137
|
+
'button.confirm': 'Conferma',
|
|
138
|
+
'button.continue': 'Continua',
|
|
139
|
+
'button.cancel': 'Annulla',
|
|
140
|
+
'button.remove': 'Rimuovi',
|
|
141
|
+
'button.save': 'Salva',
|
|
142
|
+
'button.clone': 'Clona',
|
|
143
|
+
'button.search': 'Cerca',
|
|
144
|
+
'button.edit': 'Modifica',
|
|
145
|
+
'button.open': 'Apri',
|
|
146
|
+
'button.apply': 'Applica',
|
|
147
|
+
'button.add': 'Aggiungi',
|
|
148
|
+
'button.close': 'Chiudi',
|
|
149
|
+
'button.filter': 'Filtra',
|
|
150
|
+
'button.clear': 'Pulisci',
|
|
151
|
+
'button.play': 'Riproduci',
|
|
152
|
+
'button.pause': 'Pausa',
|
|
153
|
+
'button.view': 'Visualizza',
|
|
154
|
+
'label.public': 'Pubblico',
|
|
155
|
+
'label.private': 'Privato',
|
|
156
|
+
'label.notavailable': 'N/A',
|
|
157
|
+
'generic.boolean.true': 'Sì',
|
|
158
|
+
'generic.boolean.false': 'No',
|
|
159
|
+
'select.empty': 'Seleziona',
|
|
160
|
+
'pagination.label.showing': 'Mostrando',
|
|
161
|
+
'pagination.label.results': 'risultati per pagina',
|
|
162
|
+
'pagination.label.total': 'Totale',
|
|
163
|
+
'generic.loading': 'Caricamento...',
|
|
164
|
+
'generic.placeholder': 'Scrivi qui',
|
|
165
|
+
'generic.placeholder.select': 'Seleziona uno qui',
|
|
166
|
+
'generic.placeholder.comma.separated': 'Scrivi qui separato per virgole',
|
|
167
|
+
'validation.required': 'Campo obbligatorio.',
|
|
168
|
+
'placeholder.check': 'clicca per scegliere',
|
|
169
|
+
'placeholder.input': 'clicca per aggiungere',
|
|
170
|
+
'user.status.active': 'Attivo',
|
|
171
|
+
'user.status.inactive': 'Inattivo',
|
|
172
|
+
'user.status.super': 'Super',
|
|
173
|
+
'user.status.visitor': 'Visitatore',
|
|
174
|
+
'update.success': 'salvato!',
|
|
175
|
+
'internal.server.error': "Si è verificato un errore inaspettato. Contatta l'amministratore.",
|
|
176
|
+
'table.label.rows-page': 'Elementi per pagina',
|
|
177
|
+
'table.label.pages': 'di {{value}} pagine',
|
|
178
|
+
'table.label.items': '{{first}} - {{last}} di {{total}} elementi',
|
|
179
|
+
'tooltip.copy': 'Copia',
|
|
180
|
+
'tooltip.copied': 'Copiato!',
|
|
181
|
+
'document.status.deleted': 'Eliminato',
|
|
182
|
+
'document.status.editing': 'Modifica',
|
|
183
|
+
'document.status.edited': 'Modificato',
|
|
184
|
+
'document.status.revision': 'In revisione',
|
|
185
|
+
'document.status.completed': 'Completato',
|
|
186
|
+
'document.status.syntactic': 'Revisione',
|
|
187
|
+
'document.status.copying': 'Copiando',
|
|
188
|
+
'document.status.error': 'Errore',
|
|
189
|
+
'sentence.status.todo': 'da fare',
|
|
190
|
+
'sentence.status.done': 'fatto',
|
|
191
|
+
'sentence.status.ignore': 'ignora',
|
|
192
|
+
'sentence.status.tagged': 'etichettato',
|
|
193
|
+
'sentence.status.review': 'revisione',
|
|
194
|
+
'sentence.status.error': 'errore',
|
|
195
|
+
'sentence.status.auto': 'automatico',
|
|
196
|
+
'corpus.status.active': 'Attivo',
|
|
197
|
+
'corpus.status.inactive': 'Inattivo',
|
|
198
|
+
'corpus.status.archived': 'Archiviato',
|
|
199
|
+
'corpus.status.demo': 'Demo',
|
|
200
|
+
'corpus.status.pending': 'In attesa',
|
|
201
|
+
'corpus.status.rejected': 'Rifiutato',
|
|
199
202
|
},
|
|
200
203
|
};
|
|
@@ -1,6 +1,6 @@
|
|
|
1
|
-
import { CorpusImage } from
|
|
2
|
-
import { CorpusStatus } from
|
|
3
|
-
import { User } from
|
|
1
|
+
import { CorpusImage } from './CorpusImage';
|
|
2
|
+
import { CorpusStatus } from './CorpusStatus';
|
|
3
|
+
import { User } from './User';
|
|
4
4
|
export type Corpus = {
|
|
5
5
|
id?: number;
|
|
6
6
|
uid: string;
|
|
@@ -20,12 +20,30 @@ export type Corpus = {
|
|
|
20
20
|
parser?: string;
|
|
21
21
|
udparser?: string;
|
|
22
22
|
lexicon?: string;
|
|
23
|
+
request?: CorpusRequest;
|
|
23
24
|
};
|
|
24
25
|
type CorpusNumbers = {
|
|
25
26
|
documents: number;
|
|
26
27
|
words: number;
|
|
27
28
|
users: number;
|
|
28
29
|
};
|
|
30
|
+
export type CorpusRequest = {
|
|
31
|
+
email: string;
|
|
32
|
+
description: string;
|
|
33
|
+
reason: string;
|
|
34
|
+
/** Present on some API payloads (e.g. embedded corpus.request). */
|
|
35
|
+
type?: string;
|
|
36
|
+
/** Present when backend exposes an explicit workflow status. */
|
|
37
|
+
status?: string;
|
|
38
|
+
createNewParser: boolean;
|
|
39
|
+
createNewLexicon: boolean;
|
|
40
|
+
approved: boolean;
|
|
41
|
+
rejected: boolean;
|
|
42
|
+
emailConfirmed: boolean;
|
|
43
|
+
approvedDate: string | null;
|
|
44
|
+
rejectedDate: string | null;
|
|
45
|
+
confirmedDate: string | null;
|
|
46
|
+
};
|
|
29
47
|
export type Github = {
|
|
30
48
|
username: string;
|
|
31
49
|
token: string;
|
|
@@ -1,10 +1,10 @@
|
|
|
1
1
|
export const EMPTY_CORPUS = {
|
|
2
|
-
uid:
|
|
3
|
-
name:
|
|
4
|
-
picture:
|
|
5
|
-
uploadDir:
|
|
6
|
-
parameters: {
|
|
7
|
-
status:
|
|
2
|
+
uid: '',
|
|
3
|
+
name: '',
|
|
4
|
+
picture: '',
|
|
5
|
+
uploadDir: '',
|
|
6
|
+
parameters: { '': '' },
|
|
7
|
+
status: 'ACTIVE',
|
|
8
8
|
opened: false,
|
|
9
|
-
keyboardLayout:
|
|
9
|
+
keyboardLayout: '',
|
|
10
10
|
};
|
package/dist/index.d.ts
CHANGED
|
@@ -43,7 +43,7 @@ export { default as CookieStorage } from './configs/CookieStorage';
|
|
|
43
43
|
export { commonResources } from './configs/Localization';
|
|
44
44
|
export { default as LexiconListService } from './configs/services/LexiconListService';
|
|
45
45
|
export { default as ParserListService } from './configs/services/ParserListService';
|
|
46
|
-
export type { Corpus, Github } from './configs/types/Corpus';
|
|
46
|
+
export type { Corpus, CorpusRequest, Github } from './configs/types/Corpus';
|
|
47
47
|
export { CorpusStatusNames } from './configs/types/CorpusStatus';
|
|
48
48
|
export type { CorpusStatus } from './configs/types/CorpusStatus';
|
|
49
49
|
export { CorpusImageTypeNames } from './configs/types/CorpusImage';
|