tycho-components 0.0.14-SNAPSHOT-5 → 0.0.15-SNAPSHOT
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/AppPicture/AppPicture.d.ts +9 -0
- package/dist/AppPicture/AppPicture.js +13 -0
- package/dist/AppPicture/index.d.ts +2 -0
- package/dist/AppPicture/index.js +2 -0
- package/dist/AppPicture/style.scss +0 -0
- package/dist/Header/Header.d.ts +13 -0
- package/dist/Header/Header.js +25 -0
- package/dist/Header/HeaderApps/HeaderApps.d.ts +6 -0
- package/dist/Header/HeaderApps/HeaderApps.js +46 -0
- package/dist/Header/HeaderApps/index.d.ts +2 -0
- package/dist/Header/HeaderApps/index.js +2 -0
- package/dist/Header/HeaderApps/style.scss +104 -0
- package/dist/Header/HeaderCorpora/HeaderCorpora.d.ts +9 -0
- package/dist/Header/HeaderCorpora/HeaderCorpora.js +55 -0
- package/dist/Header/HeaderCorpora/index.d.ts +2 -0
- package/dist/Header/HeaderCorpora/index.js +2 -0
- package/dist/Header/HeaderCorpora/style.scss +52 -0
- package/dist/Header/HeaderUser/HeaderUser.d.ts +6 -0
- package/dist/Header/HeaderUser/HeaderUser.js +16 -0
- package/dist/Header/HeaderUser/index.d.ts +2 -0
- package/dist/Header/HeaderUser/index.js +2 -0
- package/dist/Header/HeaderUser/style.scss +26 -0
- package/dist/Header/index.d.ts +2 -0
- package/dist/Header/index.js +2 -0
- package/dist/Header/styles.scss +36 -0
- package/dist/Header/types/App.d.ts +13 -0
- package/dist/Header/types/App.js +65 -0
- package/dist/Header/types/CorpusService.d.ts +6 -0
- package/dist/Header/types/CorpusService.js +8 -0
- package/dist/configs/Corpus.d.ts +24 -0
- package/dist/configs/Corpus.js +10 -0
- package/dist/configs/Localization.d.ts +136 -0
- package/dist/configs/Localization.js +6 -0
- package/dist/configs/localization/HeaderTexts.d.ts +136 -0
- package/dist/configs/localization/HeaderTexts.js +136 -0
- package/dist/configs/store/actions.d.ts +2 -0
- package/dist/configs/store/actions.js +6 -0
- package/dist/configs/store/reducer.js +5 -1
- package/dist/configs/store/store.js +1 -0
- package/dist/configs/store/types.d.ts +4 -1
- package/dist/configs/store/types.js +1 -0
- package/dist/configs/useCorpusUtils.d.ts +17 -0
- package/dist/configs/useCorpusUtils.js +21 -0
- package/dist/functions/ImageUtils.d.ts +5 -0
- package/dist/functions/ImageUtils.js +12 -0
- package/dist/functions/UsabilityUtils.d.ts +5 -0
- package/dist/functions/UsabilityUtils.js +14 -0
- package/dist/index.d.ts +5 -0
- package/dist/index.js +5 -0
- package/package.json +1 -1
|
@@ -73,6 +73,51 @@ export declare const commonResources: {
|
|
|
73
73
|
'notification.empty': string;
|
|
74
74
|
'notification.text': string;
|
|
75
75
|
};
|
|
76
|
+
header: {
|
|
77
|
+
'label.platform': string;
|
|
78
|
+
'label.signout': string;
|
|
79
|
+
'label.my.settings': string;
|
|
80
|
+
'label.tools': string;
|
|
81
|
+
'label.quick': string;
|
|
82
|
+
'label.choose': string;
|
|
83
|
+
'button.open': string;
|
|
84
|
+
'button.close': string;
|
|
85
|
+
'tooltip.keyboard': string;
|
|
86
|
+
'tooltip.tutorials': string;
|
|
87
|
+
'tag.public': string;
|
|
88
|
+
'tag.private': string;
|
|
89
|
+
'profile.label.hello': string;
|
|
90
|
+
'profile.label.theme': string;
|
|
91
|
+
'profile.label.help': string;
|
|
92
|
+
'profile.label.logout': string;
|
|
93
|
+
'profile.label.home': string;
|
|
94
|
+
'viewer.name': string;
|
|
95
|
+
'viewer.desc': string;
|
|
96
|
+
'search.name': string;
|
|
97
|
+
'search.desc': string;
|
|
98
|
+
'synviewer.name': string;
|
|
99
|
+
'synviewer.desc': string;
|
|
100
|
+
'reindexer.name': string;
|
|
101
|
+
'reindexer.desc': string;
|
|
102
|
+
'catalog.name': string;
|
|
103
|
+
'catalog.desc': string;
|
|
104
|
+
'admin.name': string;
|
|
105
|
+
'admin.desc': string;
|
|
106
|
+
'edictor.name': string;
|
|
107
|
+
'edictor.desc': string;
|
|
108
|
+
'lexicon.name': string;
|
|
109
|
+
'lexicon.desc': string;
|
|
110
|
+
'io.name': string;
|
|
111
|
+
'io.desc': string;
|
|
112
|
+
'parser.name': string;
|
|
113
|
+
'parser.desc': string;
|
|
114
|
+
'syntrees.name': string;
|
|
115
|
+
'syntrees.desc': string;
|
|
116
|
+
'reserved.name': string;
|
|
117
|
+
'reserved.desc': string;
|
|
118
|
+
'platform.name': string;
|
|
119
|
+
'platform.desc': string;
|
|
120
|
+
};
|
|
76
121
|
};
|
|
77
122
|
'pt-BR': {
|
|
78
123
|
common: {
|
|
@@ -146,6 +191,97 @@ export declare const commonResources: {
|
|
|
146
191
|
'notification.empty': string;
|
|
147
192
|
'notification.text': string;
|
|
148
193
|
};
|
|
194
|
+
header: {
|
|
195
|
+
'label.platform': string;
|
|
196
|
+
'label.signout': string;
|
|
197
|
+
'label.my.settings': string;
|
|
198
|
+
'label.tools': string;
|
|
199
|
+
'label.choose': string;
|
|
200
|
+
'button.open': string;
|
|
201
|
+
'button.close': string;
|
|
202
|
+
'tooltip.keyboard': string;
|
|
203
|
+
'tooltip.tutorials': string;
|
|
204
|
+
'tag.public': string;
|
|
205
|
+
'tag.private': string;
|
|
206
|
+
'profile.label.hello': string;
|
|
207
|
+
'profile.label.theme': string;
|
|
208
|
+
'profile.label.help': string;
|
|
209
|
+
'profile.label.logout': string;
|
|
210
|
+
'profile.label.home': string;
|
|
211
|
+
'viewer.name': string;
|
|
212
|
+
'viewer.desc': string;
|
|
213
|
+
'search.name': string;
|
|
214
|
+
'search.desc': string;
|
|
215
|
+
'synviewer.name': string;
|
|
216
|
+
'synviewer.desc': string;
|
|
217
|
+
'reindexer.name': string;
|
|
218
|
+
'reindexer.desc': string;
|
|
219
|
+
'catalog.name': string;
|
|
220
|
+
'catalog.desc': string;
|
|
221
|
+
'admin.name': string;
|
|
222
|
+
'admin.desc': string;
|
|
223
|
+
'edictor.name': string;
|
|
224
|
+
'edictor.desc': string;
|
|
225
|
+
'lexicon.name': string;
|
|
226
|
+
'lexicon.desc': string;
|
|
227
|
+
'io.name': string;
|
|
228
|
+
'io.desc': string;
|
|
229
|
+
'parser.name': string;
|
|
230
|
+
'parser.desc': string;
|
|
231
|
+
'syntrees.name': string;
|
|
232
|
+
'syntrees.desc': string;
|
|
233
|
+
'reserved.name': string;
|
|
234
|
+
'reserved.desc': string;
|
|
235
|
+
'platform.name': string;
|
|
236
|
+
'platform.desc': string;
|
|
237
|
+
};
|
|
238
|
+
};
|
|
239
|
+
it: {
|
|
240
|
+
header: {
|
|
241
|
+
'label.platform': string;
|
|
242
|
+
'label.signout': string;
|
|
243
|
+
'label.my.settings': string;
|
|
244
|
+
'label.tools': string;
|
|
245
|
+
'label.quick': string;
|
|
246
|
+
'label.choose': string;
|
|
247
|
+
'button.open': string;
|
|
248
|
+
'button.close': string;
|
|
249
|
+
'tooltip.keyboard': string;
|
|
250
|
+
'tooltip.tutorials': string;
|
|
251
|
+
'tag.public': string;
|
|
252
|
+
'tag.private': string;
|
|
253
|
+
'profile.label.hello': string;
|
|
254
|
+
'profile.label.theme': string;
|
|
255
|
+
'profile.label.help': string;
|
|
256
|
+
'profile.label.logout': string;
|
|
257
|
+
'profile.label.home': string;
|
|
258
|
+
'viewer.name': string;
|
|
259
|
+
'viewer.desc': string;
|
|
260
|
+
'search.name': string;
|
|
261
|
+
'search.desc': string;
|
|
262
|
+
'synviewer.name': string;
|
|
263
|
+
'synviewer.desc': string;
|
|
264
|
+
'reindexer.name': string;
|
|
265
|
+
'reindexer.desc': string;
|
|
266
|
+
'catalog.name': string;
|
|
267
|
+
'catalog.desc': string;
|
|
268
|
+
'admin.name': string;
|
|
269
|
+
'admin.desc': string;
|
|
270
|
+
'edictor.name': string;
|
|
271
|
+
'edictor.desc': string;
|
|
272
|
+
'lexicon.name': string;
|
|
273
|
+
'lexicon.desc': string;
|
|
274
|
+
'io.name': string;
|
|
275
|
+
'io.desc': string;
|
|
276
|
+
'parser.name': string;
|
|
277
|
+
'parser.desc': string;
|
|
278
|
+
'syntrees.name': string;
|
|
279
|
+
'syntrees.desc': string;
|
|
280
|
+
'reserved.name': string;
|
|
281
|
+
'reserved.desc': string;
|
|
282
|
+
'platform.name': string;
|
|
283
|
+
'platform.desc': string;
|
|
284
|
+
};
|
|
149
285
|
};
|
|
150
286
|
};
|
|
151
287
|
export default function commonLocalization(): void;
|
|
@@ -4,16 +4,22 @@ import { initReactI18next } from 'react-i18next';
|
|
|
4
4
|
import { ParticipantsTexts } from './localization/ParticipantsTexts';
|
|
5
5
|
import { CommonTexts } from './localization/CommonTexts';
|
|
6
6
|
import { CommentsTexts } from './localization/CommentsTexts';
|
|
7
|
+
import { HeaderTexts } from './localization/HeaderTexts';
|
|
7
8
|
export const commonResources = {
|
|
8
9
|
en: {
|
|
9
10
|
common: CommonTexts.en,
|
|
10
11
|
participants: ParticipantsTexts.en,
|
|
11
12
|
comments: CommentsTexts.en,
|
|
13
|
+
header: HeaderTexts.en,
|
|
12
14
|
},
|
|
13
15
|
'pt-BR': {
|
|
14
16
|
common: CommonTexts['pt-BR'],
|
|
15
17
|
participants: ParticipantsTexts['pt-BR'],
|
|
16
18
|
comments: CommentsTexts['pt-BR'],
|
|
19
|
+
header: HeaderTexts['pt-BR'],
|
|
20
|
+
},
|
|
21
|
+
it: {
|
|
22
|
+
header: HeaderTexts.it,
|
|
17
23
|
},
|
|
18
24
|
};
|
|
19
25
|
export default function commonLocalization() {
|
|
@@ -0,0 +1,136 @@
|
|
|
1
|
+
export declare const HeaderTexts: {
|
|
2
|
+
en: {
|
|
3
|
+
'label.platform': string;
|
|
4
|
+
'label.signout': string;
|
|
5
|
+
'label.my.settings': string;
|
|
6
|
+
'label.tools': string;
|
|
7
|
+
'label.quick': string;
|
|
8
|
+
'label.choose': string;
|
|
9
|
+
'button.open': string;
|
|
10
|
+
'button.close': string;
|
|
11
|
+
'tooltip.keyboard': string;
|
|
12
|
+
'tooltip.tutorials': string;
|
|
13
|
+
'tag.public': string;
|
|
14
|
+
'tag.private': string;
|
|
15
|
+
'profile.label.hello': string;
|
|
16
|
+
'profile.label.theme': string;
|
|
17
|
+
'profile.label.help': string;
|
|
18
|
+
'profile.label.logout': string;
|
|
19
|
+
'profile.label.home': string;
|
|
20
|
+
'viewer.name': string;
|
|
21
|
+
'viewer.desc': string;
|
|
22
|
+
'search.name': string;
|
|
23
|
+
'search.desc': string;
|
|
24
|
+
'synviewer.name': string;
|
|
25
|
+
'synviewer.desc': string;
|
|
26
|
+
'reindexer.name': string;
|
|
27
|
+
'reindexer.desc': string;
|
|
28
|
+
'catalog.name': string;
|
|
29
|
+
'catalog.desc': string;
|
|
30
|
+
'admin.name': string;
|
|
31
|
+
'admin.desc': string;
|
|
32
|
+
'edictor.name': string;
|
|
33
|
+
'edictor.desc': string;
|
|
34
|
+
'lexicon.name': string;
|
|
35
|
+
'lexicon.desc': string;
|
|
36
|
+
'io.name': string;
|
|
37
|
+
'io.desc': string;
|
|
38
|
+
'parser.name': string;
|
|
39
|
+
'parser.desc': string;
|
|
40
|
+
'syntrees.name': string;
|
|
41
|
+
'syntrees.desc': string;
|
|
42
|
+
'reserved.name': string;
|
|
43
|
+
'reserved.desc': string;
|
|
44
|
+
'platform.name': string;
|
|
45
|
+
'platform.desc': string;
|
|
46
|
+
};
|
|
47
|
+
'pt-BR': {
|
|
48
|
+
'label.platform': string;
|
|
49
|
+
'label.signout': string;
|
|
50
|
+
'label.my.settings': string;
|
|
51
|
+
'label.tools': string;
|
|
52
|
+
'label.choose': string;
|
|
53
|
+
'button.open': string;
|
|
54
|
+
'button.close': string;
|
|
55
|
+
'tooltip.keyboard': string;
|
|
56
|
+
'tooltip.tutorials': string;
|
|
57
|
+
'tag.public': string;
|
|
58
|
+
'tag.private': string;
|
|
59
|
+
'profile.label.hello': string;
|
|
60
|
+
'profile.label.theme': string;
|
|
61
|
+
'profile.label.help': string;
|
|
62
|
+
'profile.label.logout': string;
|
|
63
|
+
'profile.label.home': string;
|
|
64
|
+
'viewer.name': string;
|
|
65
|
+
'viewer.desc': string;
|
|
66
|
+
'search.name': string;
|
|
67
|
+
'search.desc': string;
|
|
68
|
+
'synviewer.name': string;
|
|
69
|
+
'synviewer.desc': string;
|
|
70
|
+
'reindexer.name': string;
|
|
71
|
+
'reindexer.desc': string;
|
|
72
|
+
'catalog.name': string;
|
|
73
|
+
'catalog.desc': string;
|
|
74
|
+
'admin.name': string;
|
|
75
|
+
'admin.desc': string;
|
|
76
|
+
'edictor.name': string;
|
|
77
|
+
'edictor.desc': string;
|
|
78
|
+
'lexicon.name': string;
|
|
79
|
+
'lexicon.desc': string;
|
|
80
|
+
'io.name': string;
|
|
81
|
+
'io.desc': string;
|
|
82
|
+
'parser.name': string;
|
|
83
|
+
'parser.desc': string;
|
|
84
|
+
'syntrees.name': string;
|
|
85
|
+
'syntrees.desc': string;
|
|
86
|
+
'reserved.name': string;
|
|
87
|
+
'reserved.desc': string;
|
|
88
|
+
'platform.name': string;
|
|
89
|
+
'platform.desc': string;
|
|
90
|
+
};
|
|
91
|
+
it: {
|
|
92
|
+
'label.platform': string;
|
|
93
|
+
'label.signout': string;
|
|
94
|
+
'label.my.settings': string;
|
|
95
|
+
'label.tools': string;
|
|
96
|
+
'label.quick': string;
|
|
97
|
+
'label.choose': string;
|
|
98
|
+
'button.open': string;
|
|
99
|
+
'button.close': string;
|
|
100
|
+
'tooltip.keyboard': string;
|
|
101
|
+
'tooltip.tutorials': string;
|
|
102
|
+
'tag.public': string;
|
|
103
|
+
'tag.private': string;
|
|
104
|
+
'profile.label.hello': string;
|
|
105
|
+
'profile.label.theme': string;
|
|
106
|
+
'profile.label.help': string;
|
|
107
|
+
'profile.label.logout': string;
|
|
108
|
+
'profile.label.home': string;
|
|
109
|
+
'viewer.name': string;
|
|
110
|
+
'viewer.desc': string;
|
|
111
|
+
'search.name': string;
|
|
112
|
+
'search.desc': string;
|
|
113
|
+
'synviewer.name': string;
|
|
114
|
+
'synviewer.desc': string;
|
|
115
|
+
'reindexer.name': string;
|
|
116
|
+
'reindexer.desc': string;
|
|
117
|
+
'catalog.name': string;
|
|
118
|
+
'catalog.desc': string;
|
|
119
|
+
'admin.name': string;
|
|
120
|
+
'admin.desc': string;
|
|
121
|
+
'edictor.name': string;
|
|
122
|
+
'edictor.desc': string;
|
|
123
|
+
'lexicon.name': string;
|
|
124
|
+
'lexicon.desc': string;
|
|
125
|
+
'io.name': string;
|
|
126
|
+
'io.desc': string;
|
|
127
|
+
'parser.name': string;
|
|
128
|
+
'parser.desc': string;
|
|
129
|
+
'syntrees.name': string;
|
|
130
|
+
'syntrees.desc': string;
|
|
131
|
+
'reserved.name': string;
|
|
132
|
+
'reserved.desc': string;
|
|
133
|
+
'platform.name': string;
|
|
134
|
+
'platform.desc': string;
|
|
135
|
+
};
|
|
136
|
+
};
|
|
@@ -0,0 +1,136 @@
|
|
|
1
|
+
export const HeaderTexts = {
|
|
2
|
+
en: {
|
|
3
|
+
'label.platform': 'Tycho Brahe Platform',
|
|
4
|
+
'label.signout': 'sign out',
|
|
5
|
+
'label.my.settings': 'My Settings',
|
|
6
|
+
'label.tools': 'Tools',
|
|
7
|
+
'label.quick': 'Quick Access',
|
|
8
|
+
'label.choose': 'Choose a corpus',
|
|
9
|
+
'button.open': 'Open',
|
|
10
|
+
'button.close': 'Close',
|
|
11
|
+
'tooltip.keyboard': 'Open Virtual Keyboard',
|
|
12
|
+
'tooltip.tutorials': 'Views Tutorials',
|
|
13
|
+
'tag.public': 'Public',
|
|
14
|
+
'tag.private': 'Private',
|
|
15
|
+
'profile.label.hello': 'Hello,',
|
|
16
|
+
'profile.label.theme': 'Layout Theme',
|
|
17
|
+
'profile.label.help': 'Help Center',
|
|
18
|
+
'profile.label.logout': 'Logout',
|
|
19
|
+
'profile.label.home': 'My profile',
|
|
20
|
+
'viewer.name': 'Viewer',
|
|
21
|
+
'viewer.desc': 'Provides public access for reading and navigating the corpora, focusing on data security and copyright protection.',
|
|
22
|
+
'search.name': 'Search',
|
|
23
|
+
'search.desc': 'Allows searches by words, tags, or syntactic structures. Includes filters by document and metadata, export options, and graphical views of syntactic structures.',
|
|
24
|
+
'synviewer.name': 'Synviewer',
|
|
25
|
+
'synviewer.desc': 'Displays syntactic structures and Universal Dependencies graphically. Integrates with parsers (Penn Treebank, CoNLL-U) and exports images of syntactic trees.',
|
|
26
|
+
'reindexer.name': 'PSD Reindexer',
|
|
27
|
+
'reindexer.desc': 'Reorganizes node IDs of sentences in Penn Treebank format in sequential order from an uploaded PSD file.',
|
|
28
|
+
'catalog.name': 'Catalog',
|
|
29
|
+
'catalog.desc': 'Manages access to corpora and organizes documents. Allows document creation, metadata insertion, and redirects users to other tools.',
|
|
30
|
+
'admin.name': 'Administrative Center',
|
|
31
|
+
'admin.desc': 'Manages corpus creation, user access, and system settings.',
|
|
32
|
+
'edictor.name': 'eDictor',
|
|
33
|
+
'edictor.desc': 'Used for transcription and editing of textual and oral corpora. Supports multi-layer annotation for philological editions, parallel corpora, translations, morpheme-level editing, POS taggers, parsers, lexical integration, and multimedia (images and audio).',
|
|
34
|
+
'lexicon.name': 'Lexicon',
|
|
35
|
+
'lexicon.desc': 'Manages, lists, and registers lexical entries or corpus lemmas.',
|
|
36
|
+
'io.name': 'Interoperability Module',
|
|
37
|
+
'io.desc': 'Imports and exports documents in multiple formats to build the linguistic corpus.',
|
|
38
|
+
'parser.name': 'Parser',
|
|
39
|
+
'parser.desc': 'Performs syntactic analysis of sentences using rule-based parsers, with resources for creating, testing, and managing tags, contractions, and inflection rules. Also offers integration with probabilistic parsers.',
|
|
40
|
+
'syntrees.name': 'Revision',
|
|
41
|
+
'syntrees.desc': 'Tool for reviewing syntactic structures and POS tags, offering graphical interfaces for large-scale work. Integrates with the parser and provides step-by-step syntactic analysis.',
|
|
42
|
+
'reserved.name': 'Reserved Area',
|
|
43
|
+
'reserved.desc': 'Navigate through your corpora, view histories, and much more.',
|
|
44
|
+
'platform.name': 'Tycho Brahe Platform',
|
|
45
|
+
'platform.desc': "Access the project's public website.",
|
|
46
|
+
},
|
|
47
|
+
'pt-BR': {
|
|
48
|
+
'label.platform': 'Plataforma Tycho Brahe',
|
|
49
|
+
'label.signout': 'sair',
|
|
50
|
+
'label.my.settings': 'Minhas Configurações',
|
|
51
|
+
'label.tools': 'Ferramentas',
|
|
52
|
+
'label.choose': 'Escolha um corpus',
|
|
53
|
+
'button.open': 'Abrir',
|
|
54
|
+
'button.close': 'Fechar',
|
|
55
|
+
'tooltip.keyboard': 'Abrir Teclado Virtual',
|
|
56
|
+
'tooltip.tutorials': 'Ver tutoriais',
|
|
57
|
+
'tag.public': 'Público',
|
|
58
|
+
'tag.private': 'Privado',
|
|
59
|
+
'profile.label.hello': 'Olá,',
|
|
60
|
+
'profile.label.theme': 'Tema do Layout',
|
|
61
|
+
'profile.label.help': 'Central de Ajuda',
|
|
62
|
+
'profile.label.logout': 'Sair da conta',
|
|
63
|
+
'profile.label.home': 'Meu perfil',
|
|
64
|
+
'viewer.name': 'Visualizador',
|
|
65
|
+
'viewer.desc': 'Oferece acesso ao público para leitura e navegação nos corpora, com foco em segurança dos dados e proteção de direitos autorais.',
|
|
66
|
+
'search.name': 'Buscas',
|
|
67
|
+
'search.desc': 'Permite buscas por palavras, etiquetas ou estruturas sintáticas. Inclui filtros por documento e metadados, opções de exportação e visualizações gráficas das estruturas sintáticas.',
|
|
68
|
+
'synviewer.name': 'Synviewer',
|
|
69
|
+
'synviewer.desc': 'Exibe estruturas sintáticas e dependências universais de forma gráfica. Possui integração com parsers (Penn Treebank, CoNLL-U) e exportação de imagens das árvores sintáticas.',
|
|
70
|
+
'reindexer.name': 'Reindexador PSD',
|
|
71
|
+
'reindexer.desc': 'Reorganiza os IDs dos nós de sentenças no formato Penn Treebank em ordem sequencial a partir de um arquivo PSD enviado.',
|
|
72
|
+
'catalog.name': 'Catálogo',
|
|
73
|
+
'catalog.desc': 'Gerencia o acesso aos corpora e organiza os documentos. Permite a criação de documentos, inserção de metadados e redireciona os usuários para outras ferramentas.',
|
|
74
|
+
'admin.name': 'Centro Administrativo',
|
|
75
|
+
'admin.desc': 'Gerencia a criação de corpora, o acesso de usuários e as configurações do sistema.',
|
|
76
|
+
'edictor.name': 'eDictor',
|
|
77
|
+
'edictor.desc': 'Usado para transcrição e edição de corpora textuais e orais. Suporta anotação em múltiplas camadas para edições filológicas, corpora paralelos, traduções, edição em nível de morfema, etiquetadores morfossintáticos (POS), parsers, integração lexical e multimídia (imagens e áudio).',
|
|
78
|
+
'lexicon.name': 'Léxico',
|
|
79
|
+
'lexicon.desc': 'Gerencia, lista e cadastra as entradas lexicais ou verbetes de um corpus',
|
|
80
|
+
'io.name': 'Módulo de Interoperabilidade',
|
|
81
|
+
'io.desc': 'Importa e exporta documentos em múltiplos formatos para compor o corpus linguístico.',
|
|
82
|
+
'parser.name': 'Parser',
|
|
83
|
+
'parser.desc': 'Realiza a análise sintática de sentenças por meio de parsers baseados em regras, com recursos para criação, testes e gerenciamento de etiquetas, contrações e regras de flexão. Oferece ainda integração com parsers probabilísticos.',
|
|
84
|
+
'syntrees.name': 'Revisão',
|
|
85
|
+
'syntrees.desc': 'Ferramenta para revisão de estruturas sintáticas e etiquetas POS, oferecendo interfaces gráficas para trabalho em larga escala. Integra-se ao parser e fornece análise sintática passo a passo.',
|
|
86
|
+
'reserved.name': 'Área Reservada',
|
|
87
|
+
'reserved.desc': 'Navegue entre os seus corpora, visualize históricos e muito mais.',
|
|
88
|
+
'platform.name': 'Platforma Tycho Brahe',
|
|
89
|
+
'platform.desc': 'Acesse o site público do projeto.',
|
|
90
|
+
},
|
|
91
|
+
it: {
|
|
92
|
+
'label.platform': 'Piattaforma Tycho Brahe',
|
|
93
|
+
'label.signout': 'esci',
|
|
94
|
+
'label.my.settings': 'Le mie impostazioni',
|
|
95
|
+
'label.tools': 'Strumenti',
|
|
96
|
+
'label.quick': 'Accesso rapido',
|
|
97
|
+
'label.choose': 'Scegli un corpus',
|
|
98
|
+
'button.open': 'Apri',
|
|
99
|
+
'button.close': 'Chiudi',
|
|
100
|
+
'tooltip.keyboard': 'Apri tastiera virtuale',
|
|
101
|
+
'tooltip.tutorials': 'Visualizza i tutorial',
|
|
102
|
+
'tag.public': 'Pubblico',
|
|
103
|
+
'tag.private': 'Privato',
|
|
104
|
+
'profile.label.hello': 'Ciao,',
|
|
105
|
+
'profile.label.theme': 'Tema grafico',
|
|
106
|
+
'profile.label.help': 'Centro assistenza',
|
|
107
|
+
'profile.label.logout': 'Disconnetti',
|
|
108
|
+
'profile.label.home': 'Il mio profilo',
|
|
109
|
+
'viewer.name': 'Visualizzatore',
|
|
110
|
+
'viewer.desc': 'Fornisce accesso pubblico per leggere e navigare nei corpora, concentrandosi sulla sicurezza dei dati e sulla protezione del copyright.',
|
|
111
|
+
'search.name': 'Ricerca',
|
|
112
|
+
'search.desc': 'Permette ricerche per parole, tag o strutture sintattiche. Include filtri per documenti e metadati, opzioni di esportazione e visualizzazioni grafiche delle strutture sintattiche.',
|
|
113
|
+
'synviewer.name': 'Synviewer',
|
|
114
|
+
'synviewer.desc': 'Visualizza graficamente le strutture sintattiche e le Dipendenze Universali. Si integra con i parser (Penn Treebank, CoNLL-U) ed esporta immagini di alberi sintattici.',
|
|
115
|
+
'reindexer.name': 'PSD Reindexer',
|
|
116
|
+
'reindexer.desc': 'Riorganizza gli ID dei nodi delle frasi nel formato Penn Treebank in ordine sequenziale da un file PSD caricato.',
|
|
117
|
+
'catalog.name': 'Catalogo',
|
|
118
|
+
'catalog.desc': "Gestisce l'accesso ai corpora e organizza i documenti. Permette la creazione di documenti, l'inserimento di metadati e reindirizza gli utenti ad altri strumenti.",
|
|
119
|
+
'admin.name': 'Centro Amministrativo',
|
|
120
|
+
'admin.desc': "Gestisce la creazione del corpus, l'accesso degli utenti e le impostazioni del sistema.",
|
|
121
|
+
'edictor.name': 'eDictor',
|
|
122
|
+
'edictor.desc': "Usato per la trascrizione e l'editing di corpora testuali e orali. Supporta l'annotazione multilivello per edizioni filologiche, corpora paralleli, traduzioni, editing a livello di morfema, tag POS, parser, integrazione lessicale e multimedia (immagini e audio).",
|
|
123
|
+
'lexicon.name': 'Lessico',
|
|
124
|
+
'lexicon.desc': 'Gestisce, elenca e registra voci lessicali o lemmi del corpus.',
|
|
125
|
+
'io.name': 'Modulo di Interoperabilità',
|
|
126
|
+
'io.desc': 'Importa ed esporta documenti in più formati per costruire il corpus linguistico.',
|
|
127
|
+
'parser.name': 'Parser',
|
|
128
|
+
'parser.desc': "Esegue l'analisi sintattica delle frasi utilizzando parser basati su regole, con risorse per creare, testare e gestire tag, contrazioni e regole di inflessione. Offre anche l'integrazione con parser probabilistici.",
|
|
129
|
+
'syntrees.name': 'Revisione',
|
|
130
|
+
'syntrees.desc': 'Strumento per revisionare le strutture sintattiche e i tag POS, offrendo interfacce grafiche per lavori su larga scala. Integra con il parser e fornisce analisi sintattica passo-passo.',
|
|
131
|
+
'reserved.name': 'Area Riservata',
|
|
132
|
+
'reserved.desc': 'Naviga tra i tuoi corpora, visualizza gli storici e molto altro ancora.',
|
|
133
|
+
'platform.name': 'Piattaforma Tycho Brahe',
|
|
134
|
+
'platform.desc': 'Accedi al sito pubblico del progetto.',
|
|
135
|
+
},
|
|
136
|
+
};
|
|
@@ -1,6 +1,8 @@
|
|
|
1
1
|
import ToastMessage from '../../AppToast/ToastMessage';
|
|
2
|
+
import Corpus from '../Corpus';
|
|
2
3
|
import { User } from '../User';
|
|
3
4
|
import { StoreAction } from './types';
|
|
5
|
+
export declare const corpus: (data: Corpus | undefined) => StoreAction;
|
|
4
6
|
export declare const logged: (data: User | undefined) => StoreAction;
|
|
5
7
|
export declare const message: (data: ToastMessage) => StoreAction;
|
|
6
8
|
export declare const toastLoading: (data: boolean) => StoreAction;
|
|
@@ -1,15 +1,18 @@
|
|
|
1
1
|
import ToastMessage from '../../AppToast/ToastMessage';
|
|
2
|
+
import Corpus from '../Corpus';
|
|
2
3
|
import { User } from '../User';
|
|
3
4
|
export type UserStore = {
|
|
5
|
+
corpus: Corpus | undefined;
|
|
4
6
|
logged: User | undefined;
|
|
5
7
|
message: ToastMessage;
|
|
6
8
|
toastLoading: boolean;
|
|
7
9
|
};
|
|
8
10
|
export type StoreAction = {
|
|
9
11
|
type: string;
|
|
10
|
-
payload?: ToastMessage | boolean | User;
|
|
12
|
+
payload?: Corpus | ToastMessage | boolean | User;
|
|
11
13
|
};
|
|
12
14
|
export declare const types: {
|
|
15
|
+
CORPUS: string;
|
|
13
16
|
MESSAGE: string;
|
|
14
17
|
TOAST_LOADING: string;
|
|
15
18
|
LOGGED: string;
|
|
@@ -0,0 +1,17 @@
|
|
|
1
|
+
import Corpus from './Corpus';
|
|
2
|
+
export declare const useCorpusUtils: () => {
|
|
3
|
+
getCorpus: () => Corpus | {
|
|
4
|
+
uid: string;
|
|
5
|
+
name: string;
|
|
6
|
+
picture: string;
|
|
7
|
+
uploadDir: string;
|
|
8
|
+
parameters: {
|
|
9
|
+
'': string;
|
|
10
|
+
};
|
|
11
|
+
active: boolean;
|
|
12
|
+
opened: boolean;
|
|
13
|
+
keyboardLayout: string;
|
|
14
|
+
};
|
|
15
|
+
setCorpus: (thisCorpus: Corpus | undefined) => void;
|
|
16
|
+
hasCorpus: () => boolean;
|
|
17
|
+
};
|
|
@@ -0,0 +1,21 @@
|
|
|
1
|
+
import { useContext } from 'react';
|
|
2
|
+
import CommonContext from './CommonContext';
|
|
3
|
+
import { EMPTY_CORPUS } from './Corpus';
|
|
4
|
+
import { corpus } from './store/actions';
|
|
5
|
+
export const useCorpusUtils = () => {
|
|
6
|
+
const { state, dispatch } = useContext(CommonContext);
|
|
7
|
+
const getCorpus = () => {
|
|
8
|
+
return state.corpus || EMPTY_CORPUS;
|
|
9
|
+
};
|
|
10
|
+
const setCorpus = (thisCorpus) => {
|
|
11
|
+
dispatch(corpus(thisCorpus));
|
|
12
|
+
};
|
|
13
|
+
const hasCorpus = () => {
|
|
14
|
+
return state.corpus !== undefined;
|
|
15
|
+
};
|
|
16
|
+
return {
|
|
17
|
+
getCorpus,
|
|
18
|
+
setCorpus,
|
|
19
|
+
hasCorpus,
|
|
20
|
+
};
|
|
21
|
+
};
|
|
@@ -0,0 +1,12 @@
|
|
|
1
|
+
import placeholder from '../assets/img/placeholder-image.png';
|
|
2
|
+
const display = (url) => {
|
|
3
|
+
if (url && url !== '')
|
|
4
|
+
return url;
|
|
5
|
+
return placeholder;
|
|
6
|
+
};
|
|
7
|
+
const getPlaceHolder = () => placeholder;
|
|
8
|
+
const ImageUtils = {
|
|
9
|
+
display,
|
|
10
|
+
getPlaceHolder,
|
|
11
|
+
};
|
|
12
|
+
export default ImageUtils;
|
|
@@ -0,0 +1,14 @@
|
|
|
1
|
+
const isDesktop = () => import.meta.env.VITE_APP_ENV === 'desktop';
|
|
2
|
+
const attachCloseToEscape = (handleClose) => {
|
|
3
|
+
const closeOnEscape = (e) => {
|
|
4
|
+
if (e.keyCode === 27)
|
|
5
|
+
handleClose();
|
|
6
|
+
};
|
|
7
|
+
window.addEventListener('keydown', closeOnEscape);
|
|
8
|
+
return () => window.removeEventListener('keydown', closeOnEscape);
|
|
9
|
+
};
|
|
10
|
+
const UsabilityUtils = {
|
|
11
|
+
attachCloseToEscape,
|
|
12
|
+
isDesktop,
|
|
13
|
+
};
|
|
14
|
+
export default UsabilityUtils;
|
package/dist/index.d.ts
CHANGED
|
@@ -4,14 +4,17 @@ export { default as AppLoading } from './AppLoading';
|
|
|
4
4
|
export { default as AppModal } from './AppModal';
|
|
5
5
|
export { default as AppModalConfirm } from './AppModal/AppModalConfirm';
|
|
6
6
|
export { default as AppModalRemove } from './AppModal/AppModalRemove';
|
|
7
|
+
export { default as AppPicture } from './AppPicture';
|
|
7
8
|
export { default as AppPlaceholder } from './AppPlaceholder';
|
|
8
9
|
export { default as AppToast } from './AppToast';
|
|
9
10
|
export { default as CommentComponent } from './Comments';
|
|
11
|
+
export { default as Header } from './Header';
|
|
10
12
|
export { default as HeaderNotifications } from './Comments/HeaderNotifications';
|
|
11
13
|
export { default as LanguageSelector } from './LanguageSelector';
|
|
12
14
|
export { default as Participants } from './Participants';
|
|
13
15
|
export { default as VirtualKeyboard } from './VirtualKeyboard';
|
|
14
16
|
export { CommonProvider } from './configs/CommonContext';
|
|
17
|
+
export { useCorpusUtils } from './configs/useCorpusUtils';
|
|
15
18
|
export { useMessageUtils } from './configs/useMessageUtils';
|
|
16
19
|
export { useLoggedUtils } from './configs/useLoggedUtils';
|
|
17
20
|
export { validateFormField } from './AppEditable/FormField';
|
|
@@ -21,7 +24,9 @@ export { KeyboardCustomLayouts } from './VirtualKeyboard/KeyboardCustomLayout';
|
|
|
21
24
|
export { UserStatusNames } from './configs/User';
|
|
22
25
|
export { default as DateUtils } from './functions/DateUtils';
|
|
23
26
|
export { default as FormUtils } from './functions/FormUtils';
|
|
27
|
+
export { default as ImageUtils } from './functions/ImageUtils';
|
|
24
28
|
export { default as SecurityUtils } from './functions/SecurityUtils';
|
|
29
|
+
export { default as UsabilityUtils } from './functions/UsabilityUtils';
|
|
25
30
|
export type { AppEditableField } from './AppEditable/AppEditableField';
|
|
26
31
|
export type { Comment } from './Comments/types/Comment';
|
|
27
32
|
export type { FormFieldOption } from './AppEditable/FormFieldOption';
|
package/dist/index.js
CHANGED
|
@@ -4,14 +4,17 @@ export { default as AppLoading } from './AppLoading';
|
|
|
4
4
|
export { default as AppModal } from './AppModal';
|
|
5
5
|
export { default as AppModalConfirm } from './AppModal/AppModalConfirm';
|
|
6
6
|
export { default as AppModalRemove } from './AppModal/AppModalRemove';
|
|
7
|
+
export { default as AppPicture } from './AppPicture';
|
|
7
8
|
export { default as AppPlaceholder } from './AppPlaceholder';
|
|
8
9
|
export { default as AppToast } from './AppToast';
|
|
9
10
|
export { default as CommentComponent } from './Comments';
|
|
11
|
+
export { default as Header } from './Header';
|
|
10
12
|
export { default as HeaderNotifications } from './Comments/HeaderNotifications';
|
|
11
13
|
export { default as LanguageSelector } from './LanguageSelector';
|
|
12
14
|
export { default as Participants } from './Participants';
|
|
13
15
|
export { default as VirtualKeyboard } from './VirtualKeyboard';
|
|
14
16
|
export { CommonProvider } from './configs/CommonContext';
|
|
17
|
+
export { useCorpusUtils } from './configs/useCorpusUtils';
|
|
15
18
|
export { useMessageUtils } from './configs/useMessageUtils';
|
|
16
19
|
export { useLoggedUtils } from './configs/useLoggedUtils';
|
|
17
20
|
export { validateFormField } from './AppEditable/FormField';
|
|
@@ -21,4 +24,6 @@ export { KeyboardCustomLayouts } from './VirtualKeyboard/KeyboardCustomLayout';
|
|
|
21
24
|
export { UserStatusNames } from './configs/User';
|
|
22
25
|
export { default as DateUtils } from './functions/DateUtils';
|
|
23
26
|
export { default as FormUtils } from './functions/FormUtils';
|
|
27
|
+
export { default as ImageUtils } from './functions/ImageUtils';
|
|
24
28
|
export { default as SecurityUtils } from './functions/SecurityUtils';
|
|
29
|
+
export { default as UsabilityUtils } from './functions/UsabilityUtils';
|