tycho-components 0.1.0-SNAPSHOT-7 → 0.2.0-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.js +4 -3
- package/dist/Comments/CommentAdd.d.ts +1 -1
- package/dist/Comments/types/CommentService.d.ts +1 -1
- package/dist/Header/types/CorpusService.d.ts +1 -1
- package/dist/TreeView/TreeView.d.ts +11 -0
- package/dist/TreeView/TreeView.js +104 -0
- package/dist/TreeView/cytoscape/Configuration.d.ts +18 -0
- package/dist/TreeView/cytoscape/Configuration.js +22 -0
- package/dist/TreeView/cytoscape/CytoscapePositionCalculator.d.ts +10 -0
- package/dist/TreeView/cytoscape/CytoscapePositionCalculator.js +63 -0
- package/dist/TreeView/cytoscape/CytoscapeStylesheet.d.ts +2 -0
- package/dist/TreeView/cytoscape/CytoscapeStylesheet.js +104 -0
- package/dist/TreeView/cytoscape/CytoscapeTreeConverter.d.ts +29 -0
- package/dist/TreeView/cytoscape/CytoscapeTreeConverter.js +331 -0
- package/dist/TreeView/cytoscape/NodeBounds.d.ts +7 -0
- package/dist/TreeView/cytoscape/NodeBounds.js +1 -0
- package/dist/TreeView/cytoscape/NodeCalculation.d.ts +14 -0
- package/dist/TreeView/cytoscape/NodeCalculation.js +1 -0
- package/dist/TreeView/cytoscape/NormalizedPosition.d.ts +8 -0
- package/dist/TreeView/cytoscape/NormalizedPosition.js +13 -0
- package/dist/TreeView/cytoscape/SyntreesCytoscape.d.ts +6 -0
- package/dist/TreeView/cytoscape/SyntreesCytoscape.js +49 -0
- package/dist/TreeView/cytoscape/TreeLayout.d.ts +64 -0
- package/dist/TreeView/cytoscape/TreeLayout.js +353 -0
- package/dist/TreeView/index.d.ts +2 -0
- package/dist/TreeView/index.js +2 -0
- package/dist/TreeView/style.scss +36 -0
- package/dist/TreeView/types/TreeViewExample.d.ts +2 -0
- package/dist/TreeView/types/TreeViewExample.js +261 -0
- package/dist/configs/Localization.d.ts +195 -86
- package/dist/configs/Localization.js +12 -4
- package/dist/configs/localization/CommentsTexts.d.ts +31 -0
- package/dist/configs/localization/CommentsTexts.js +31 -0
- package/dist/configs/localization/ParticipantsTexts.d.ts +26 -0
- package/dist/configs/localization/ParticipantsTexts.js +26 -0
- package/dist/configs/localization/TreeTexts.d.ts +21 -0
- package/dist/configs/localization/TreeTexts.js +21 -0
- package/dist/configs/store/actions.d.ts +2 -2
- package/dist/configs/store/types.d.ts +2 -2
- package/dist/configs/types/Struct.d.ts +44 -0
- package/dist/configs/types/Struct.js +1 -0
- package/dist/configs/types/Tree.d.ts +12 -0
- package/dist/configs/types/Tree.js +1 -0
- package/dist/configs/useCorpusUtils.d.ts +1 -1
- package/dist/configs/useCorpusUtils.js +1 -1
- package/dist/configs/useLoggedUtils.d.ts +1 -1
- package/dist/configs/useLoggedUtils.js +1 -1
- package/dist/functions/SecurityUtils.d.ts +1 -1
- package/dist/functions/SecurityUtils.js +1 -1
- package/dist/functions/SentenceUtils.d.ts +6 -0
- package/dist/functions/SentenceUtils.js +32 -0
- package/dist/index.d.ts +9 -5
- package/dist/index.js +4 -2
- package/package.json +5 -1
- /package/dist/configs/{Corpus.d.ts → types/Corpus.d.ts} +0 -0
- /package/dist/configs/{Corpus.js → types/Corpus.js} +0 -0
- /package/dist/configs/{CorpusImage.d.ts → types/CorpusImage.d.ts} +0 -0
- /package/dist/configs/{CorpusImage.js → types/CorpusImage.js} +0 -0
- /package/dist/configs/{User.d.ts → types/User.d.ts} +0 -0
- /package/dist/configs/{User.js → types/User.js} +0 -0
|
@@ -1,5 +1,36 @@
|
|
|
1
1
|
export declare const commonResources: {
|
|
2
2
|
en: {
|
|
3
|
+
comments: {
|
|
4
|
+
'label.title.comments': string;
|
|
5
|
+
'placeholder.comment.text': string;
|
|
6
|
+
'placeholder.comment.title': string;
|
|
7
|
+
'placeholder.comment.person': string;
|
|
8
|
+
'label.button.add': string;
|
|
9
|
+
'label.button.update': string;
|
|
10
|
+
'label.requested.to': string;
|
|
11
|
+
'label.posted.on': string;
|
|
12
|
+
'placeholder.comments.empty': string;
|
|
13
|
+
'tooltip.edit': string;
|
|
14
|
+
'tooltip.delete': string;
|
|
15
|
+
'tooltip.read': string;
|
|
16
|
+
'tooltip.reply': string;
|
|
17
|
+
'modal.title.footnote': string;
|
|
18
|
+
'placeholder.footnote.text': string;
|
|
19
|
+
'modal.title.footnote.remove': string;
|
|
20
|
+
'modal.text.footnote.remove': string;
|
|
21
|
+
'button.add': string;
|
|
22
|
+
'input.value': string;
|
|
23
|
+
'input.title': string;
|
|
24
|
+
'input.user': string;
|
|
25
|
+
'input.user.reply': string;
|
|
26
|
+
'button.discard': string;
|
|
27
|
+
'notification.title': string;
|
|
28
|
+
'notification.unread': string;
|
|
29
|
+
'notification.all': string;
|
|
30
|
+
'notification.empty': string;
|
|
31
|
+
'notification.text': string;
|
|
32
|
+
'label.edited': string;
|
|
33
|
+
};
|
|
3
34
|
common: {
|
|
4
35
|
'button.confirm': string;
|
|
5
36
|
'button.cancel': string;
|
|
@@ -26,6 +57,54 @@ export declare const commonResources: {
|
|
|
26
57
|
'table.label.pages': string;
|
|
27
58
|
'table.label.items': string;
|
|
28
59
|
};
|
|
60
|
+
header: {
|
|
61
|
+
'label.platform': string;
|
|
62
|
+
'label.signout': string;
|
|
63
|
+
'label.my.settings': string;
|
|
64
|
+
'label.tools': string;
|
|
65
|
+
'label.quick': string;
|
|
66
|
+
'label.choose': string;
|
|
67
|
+
'button.open': string;
|
|
68
|
+
'button.close': string;
|
|
69
|
+
'tooltip.keyboard': string;
|
|
70
|
+
'tooltip.tutorials': string;
|
|
71
|
+
'replace.all.tooltip': string;
|
|
72
|
+
'replace.find.placeholder': string;
|
|
73
|
+
'replace.placeholder': string;
|
|
74
|
+
'tag.public': string;
|
|
75
|
+
'tag.private': string;
|
|
76
|
+
'profile.label.hello': string;
|
|
77
|
+
'profile.label.theme': string;
|
|
78
|
+
'profile.label.help': string;
|
|
79
|
+
'profile.label.logout': string;
|
|
80
|
+
'profile.label.home': string;
|
|
81
|
+
'viewer.name': string;
|
|
82
|
+
'viewer.desc': string;
|
|
83
|
+
'search.name': string;
|
|
84
|
+
'search.desc': string;
|
|
85
|
+
'synviewer.name': string;
|
|
86
|
+
'synviewer.desc': string;
|
|
87
|
+
'psd-reindexer.name': string;
|
|
88
|
+
'psd-reindexer.desc': string;
|
|
89
|
+
'catalog.name': string;
|
|
90
|
+
'catalog.desc': string;
|
|
91
|
+
'admin.name': string;
|
|
92
|
+
'admin.desc': string;
|
|
93
|
+
'edictor.name': string;
|
|
94
|
+
'edictor.desc': string;
|
|
95
|
+
'lexicon.name': string;
|
|
96
|
+
'lexicon.desc': string;
|
|
97
|
+
'io.name': string;
|
|
98
|
+
'io.desc': string;
|
|
99
|
+
'parser.name': string;
|
|
100
|
+
'parser.desc': string;
|
|
101
|
+
'syntrees.name': string;
|
|
102
|
+
'syntrees.desc': string;
|
|
103
|
+
'reserved.name': string;
|
|
104
|
+
'reserved.desc': string;
|
|
105
|
+
'platform.name': string;
|
|
106
|
+
'platform.desc': string;
|
|
107
|
+
};
|
|
29
108
|
participants: {
|
|
30
109
|
'label.title': string;
|
|
31
110
|
'button.label.add': string;
|
|
@@ -52,6 +131,22 @@ export declare const commonResources: {
|
|
|
52
131
|
'modal.select.transfer': string;
|
|
53
132
|
'participant.code.exists': string;
|
|
54
133
|
};
|
|
134
|
+
tree: {
|
|
135
|
+
'button.expand.tree': string;
|
|
136
|
+
'button.recenter.tree': string;
|
|
137
|
+
'button.download.tree': string;
|
|
138
|
+
'button.download.penn': string;
|
|
139
|
+
'button.info': string;
|
|
140
|
+
};
|
|
141
|
+
upload: {
|
|
142
|
+
'label.dropzone': string;
|
|
143
|
+
'label.uploaded.file': string;
|
|
144
|
+
'label.confirm': string;
|
|
145
|
+
'modal.title': string;
|
|
146
|
+
'error.uploading.image': string;
|
|
147
|
+
};
|
|
148
|
+
};
|
|
149
|
+
'pt-BR': {
|
|
55
150
|
comments: {
|
|
56
151
|
'label.title.comments': string;
|
|
57
152
|
'placeholder.comment.text': string;
|
|
@@ -83,12 +178,37 @@ export declare const commonResources: {
|
|
|
83
178
|
'notification.text': string;
|
|
84
179
|
'label.edited': string;
|
|
85
180
|
};
|
|
181
|
+
common: {
|
|
182
|
+
'button.confirm': string;
|
|
183
|
+
'button.cancel': string;
|
|
184
|
+
'button.remove': string;
|
|
185
|
+
'button.save': string;
|
|
186
|
+
'button.clone': string;
|
|
187
|
+
'button.apply': string;
|
|
188
|
+
'select.empty': string;
|
|
189
|
+
'pagination.label.showing': string;
|
|
190
|
+
'pagination.label.results': string;
|
|
191
|
+
'pagination.label.total': string;
|
|
192
|
+
'generic.placeholder': string;
|
|
193
|
+
'generic.placeholder.select': string;
|
|
194
|
+
'validation.required': string;
|
|
195
|
+
'placeholder.check': string;
|
|
196
|
+
'placeholder.input': string;
|
|
197
|
+
'user.status.active': string;
|
|
198
|
+
'user.status.inactive': string;
|
|
199
|
+
'user.status.super': string;
|
|
200
|
+
'user.status.visitor': string;
|
|
201
|
+
'update.success': string;
|
|
202
|
+
'internal.server.error': string;
|
|
203
|
+
'table.label.rows-page': string;
|
|
204
|
+
'table.label.pages': string;
|
|
205
|
+
'table.label.items': string;
|
|
206
|
+
};
|
|
86
207
|
header: {
|
|
87
208
|
'label.platform': string;
|
|
88
209
|
'label.signout': string;
|
|
89
210
|
'label.my.settings': string;
|
|
90
211
|
'label.tools': string;
|
|
91
|
-
'label.quick': string;
|
|
92
212
|
'label.choose': string;
|
|
93
213
|
'button.open': string;
|
|
94
214
|
'button.close': string;
|
|
@@ -131,41 +251,6 @@ export declare const commonResources: {
|
|
|
131
251
|
'platform.name': string;
|
|
132
252
|
'platform.desc': string;
|
|
133
253
|
};
|
|
134
|
-
upload: {
|
|
135
|
-
'label.dropzone': string;
|
|
136
|
-
'label.uploaded.file': string;
|
|
137
|
-
'label.confirm': string;
|
|
138
|
-
'modal.title': string;
|
|
139
|
-
'error.uploading.image': string;
|
|
140
|
-
};
|
|
141
|
-
};
|
|
142
|
-
'pt-BR': {
|
|
143
|
-
common: {
|
|
144
|
-
'button.confirm': string;
|
|
145
|
-
'button.cancel': string;
|
|
146
|
-
'button.remove': string;
|
|
147
|
-
'button.save': string;
|
|
148
|
-
'button.clone': string;
|
|
149
|
-
'button.apply': string;
|
|
150
|
-
'select.empty': string;
|
|
151
|
-
'pagination.label.showing': string;
|
|
152
|
-
'pagination.label.results': string;
|
|
153
|
-
'pagination.label.total': string;
|
|
154
|
-
'generic.placeholder': string;
|
|
155
|
-
'generic.placeholder.select': string;
|
|
156
|
-
'validation.required': string;
|
|
157
|
-
'placeholder.check': string;
|
|
158
|
-
'placeholder.input': string;
|
|
159
|
-
'user.status.active': string;
|
|
160
|
-
'user.status.inactive': string;
|
|
161
|
-
'user.status.super': string;
|
|
162
|
-
'user.status.visitor': string;
|
|
163
|
-
'update.success': string;
|
|
164
|
-
'internal.server.error': string;
|
|
165
|
-
'table.label.rows-page': string;
|
|
166
|
-
'table.label.pages': string;
|
|
167
|
-
'table.label.items': string;
|
|
168
|
-
};
|
|
169
254
|
participants: {
|
|
170
255
|
'label.title': string;
|
|
171
256
|
'button.label.add': string;
|
|
@@ -191,6 +276,21 @@ export declare const commonResources: {
|
|
|
191
276
|
'modal.input.name': string;
|
|
192
277
|
'participant.code.exists': string;
|
|
193
278
|
};
|
|
279
|
+
tree: {
|
|
280
|
+
'button.expand.tree': string;
|
|
281
|
+
'button.recenter.tree': string;
|
|
282
|
+
'button.download.tree': string;
|
|
283
|
+
'button.download.penn': string;
|
|
284
|
+
};
|
|
285
|
+
upload: {
|
|
286
|
+
'label.dropzone': string;
|
|
287
|
+
'label.uploaded.file': string;
|
|
288
|
+
'label.confirm': string;
|
|
289
|
+
'modal.title': string;
|
|
290
|
+
'error.uploading.image': string;
|
|
291
|
+
};
|
|
292
|
+
};
|
|
293
|
+
it: {
|
|
194
294
|
comments: {
|
|
195
295
|
'label.title.comments': string;
|
|
196
296
|
'placeholder.comment.text': string;
|
|
@@ -222,11 +322,38 @@ export declare const commonResources: {
|
|
|
222
322
|
'notification.text': string;
|
|
223
323
|
'label.edited': string;
|
|
224
324
|
};
|
|
325
|
+
common: {
|
|
326
|
+
'button.confirm': string;
|
|
327
|
+
'button.cancel': string;
|
|
328
|
+
'button.remove': string;
|
|
329
|
+
'button.save': string;
|
|
330
|
+
'button.clone': string;
|
|
331
|
+
'select.empty': string;
|
|
332
|
+
'button.apply': string;
|
|
333
|
+
'pagination.label.showing': string;
|
|
334
|
+
'pagination.label.results': string;
|
|
335
|
+
'pagination.label.total': string;
|
|
336
|
+
'generic.placeholder': string;
|
|
337
|
+
'generic.placeholder.select': string;
|
|
338
|
+
'validation.required': string;
|
|
339
|
+
'placeholder.check': string;
|
|
340
|
+
'placeholder.input': string;
|
|
341
|
+
'user.status.active': string;
|
|
342
|
+
'user.status.inactive': string;
|
|
343
|
+
'user.status.super': string;
|
|
344
|
+
'user.status.visitor': string;
|
|
345
|
+
'update.success': string;
|
|
346
|
+
'internal.server.error': string;
|
|
347
|
+
'table.label.rows-page': string;
|
|
348
|
+
'table.label.pages': string;
|
|
349
|
+
'table.label.items': string;
|
|
350
|
+
};
|
|
225
351
|
header: {
|
|
226
352
|
'label.platform': string;
|
|
227
353
|
'label.signout': string;
|
|
228
354
|
'label.my.settings': string;
|
|
229
355
|
'label.tools': string;
|
|
356
|
+
'label.quick': string;
|
|
230
357
|
'label.choose': string;
|
|
231
358
|
'button.open': string;
|
|
232
359
|
'button.close': string;
|
|
@@ -269,6 +396,38 @@ export declare const commonResources: {
|
|
|
269
396
|
'platform.name': string;
|
|
270
397
|
'platform.desc': string;
|
|
271
398
|
};
|
|
399
|
+
participants: {
|
|
400
|
+
'label.title': string;
|
|
401
|
+
'button.label.add': string;
|
|
402
|
+
'participant.field.order': string;
|
|
403
|
+
'participant.field.code': string;
|
|
404
|
+
'participant.field.name': string;
|
|
405
|
+
'participant.field.color': string;
|
|
406
|
+
'participant.field.separator': string;
|
|
407
|
+
'participant.field.color.tooltip': string;
|
|
408
|
+
'participant.field.language': string;
|
|
409
|
+
'participant.field.age': string;
|
|
410
|
+
'participant.field.sex': string;
|
|
411
|
+
'participant.field.group': string;
|
|
412
|
+
'participant.field.ses': string;
|
|
413
|
+
'participant.field.role': string;
|
|
414
|
+
'participant.field.education': string;
|
|
415
|
+
'participant.field.custom': string;
|
|
416
|
+
'modal.remove.title': string;
|
|
417
|
+
'modal.remove.description': string;
|
|
418
|
+
'modal.remove.participant': string;
|
|
419
|
+
'modal.add.title': string;
|
|
420
|
+
'modal.input.code': string;
|
|
421
|
+
'modal.input.name': string;
|
|
422
|
+
'modal.select.transfer': string;
|
|
423
|
+
'participant.code.exists': string;
|
|
424
|
+
};
|
|
425
|
+
tree: {
|
|
426
|
+
'button.expand.tree': string;
|
|
427
|
+
'button.recenter.tree': string;
|
|
428
|
+
'button.download.tree': string;
|
|
429
|
+
'button.download.penn': string;
|
|
430
|
+
};
|
|
272
431
|
upload: {
|
|
273
432
|
'label.dropzone': string;
|
|
274
433
|
'label.uploaded.file': string;
|
|
@@ -277,55 +436,5 @@ export declare const commonResources: {
|
|
|
277
436
|
'error.uploading.image': string;
|
|
278
437
|
};
|
|
279
438
|
};
|
|
280
|
-
it: {
|
|
281
|
-
header: {
|
|
282
|
-
'label.platform': string;
|
|
283
|
-
'label.signout': string;
|
|
284
|
-
'label.my.settings': string;
|
|
285
|
-
'label.tools': string;
|
|
286
|
-
'label.quick': string;
|
|
287
|
-
'label.choose': string;
|
|
288
|
-
'button.open': string;
|
|
289
|
-
'button.close': string;
|
|
290
|
-
'tooltip.keyboard': string;
|
|
291
|
-
'tooltip.tutorials': string;
|
|
292
|
-
'replace.all.tooltip': string;
|
|
293
|
-
'replace.find.placeholder': string;
|
|
294
|
-
'replace.placeholder': string;
|
|
295
|
-
'tag.public': string;
|
|
296
|
-
'tag.private': string;
|
|
297
|
-
'profile.label.hello': string;
|
|
298
|
-
'profile.label.theme': string;
|
|
299
|
-
'profile.label.help': string;
|
|
300
|
-
'profile.label.logout': string;
|
|
301
|
-
'profile.label.home': string;
|
|
302
|
-
'viewer.name': string;
|
|
303
|
-
'viewer.desc': string;
|
|
304
|
-
'search.name': string;
|
|
305
|
-
'search.desc': string;
|
|
306
|
-
'synviewer.name': string;
|
|
307
|
-
'synviewer.desc': string;
|
|
308
|
-
'psd-reindexer.name': string;
|
|
309
|
-
'psd-reindexer.desc': string;
|
|
310
|
-
'catalog.name': string;
|
|
311
|
-
'catalog.desc': string;
|
|
312
|
-
'admin.name': string;
|
|
313
|
-
'admin.desc': string;
|
|
314
|
-
'edictor.name': string;
|
|
315
|
-
'edictor.desc': string;
|
|
316
|
-
'lexicon.name': string;
|
|
317
|
-
'lexicon.desc': string;
|
|
318
|
-
'io.name': string;
|
|
319
|
-
'io.desc': string;
|
|
320
|
-
'parser.name': string;
|
|
321
|
-
'parser.desc': string;
|
|
322
|
-
'syntrees.name': string;
|
|
323
|
-
'syntrees.desc': string;
|
|
324
|
-
'reserved.name': string;
|
|
325
|
-
'reserved.desc': string;
|
|
326
|
-
'platform.name': string;
|
|
327
|
-
'platform.desc': string;
|
|
328
|
-
};
|
|
329
|
-
};
|
|
330
439
|
};
|
|
331
440
|
export default function commonLocalization(): void;
|
|
@@ -6,23 +6,31 @@ import { CommonTexts } from './localization/CommonTexts';
|
|
|
6
6
|
import { HeaderTexts } from './localization/HeaderTexts';
|
|
7
7
|
import { ParticipantsTexts } from './localization/ParticipantsTexts';
|
|
8
8
|
import { UploadTexts } from './localization/UploadTexts';
|
|
9
|
+
import { TreeTexts } from './localization/TreeTexts';
|
|
9
10
|
export const commonResources = {
|
|
10
11
|
en: {
|
|
11
|
-
common: CommonTexts.en,
|
|
12
|
-
participants: ParticipantsTexts.en,
|
|
13
12
|
comments: CommentsTexts.en,
|
|
13
|
+
common: CommonTexts.en,
|
|
14
14
|
header: HeaderTexts.en,
|
|
15
|
+
participants: ParticipantsTexts.en,
|
|
16
|
+
tree: TreeTexts.en,
|
|
15
17
|
upload: UploadTexts.en,
|
|
16
18
|
},
|
|
17
19
|
'pt-BR': {
|
|
18
|
-
common: CommonTexts['pt-BR'],
|
|
19
|
-
participants: ParticipantsTexts['pt-BR'],
|
|
20
20
|
comments: CommentsTexts['pt-BR'],
|
|
21
|
+
common: CommonTexts['pt-BR'],
|
|
21
22
|
header: HeaderTexts['pt-BR'],
|
|
23
|
+
participants: ParticipantsTexts['pt-BR'],
|
|
24
|
+
tree: TreeTexts['pt-BR'],
|
|
22
25
|
upload: UploadTexts['pt-BR'],
|
|
23
26
|
},
|
|
24
27
|
it: {
|
|
28
|
+
comments: CommentsTexts.it,
|
|
29
|
+
common: CommonTexts.it,
|
|
25
30
|
header: HeaderTexts.it,
|
|
31
|
+
participants: ParticipantsTexts.it,
|
|
32
|
+
tree: TreeTexts.it,
|
|
33
|
+
upload: UploadTexts.it,
|
|
26
34
|
},
|
|
27
35
|
};
|
|
28
36
|
export default function commonLocalization() {
|
|
@@ -61,4 +61,35 @@ export declare const CommentsTexts: {
|
|
|
61
61
|
'notification.text': string;
|
|
62
62
|
'label.edited': string;
|
|
63
63
|
};
|
|
64
|
+
it: {
|
|
65
|
+
'label.title.comments': string;
|
|
66
|
+
'placeholder.comment.text': string;
|
|
67
|
+
'placeholder.comment.title': string;
|
|
68
|
+
'placeholder.comment.person': string;
|
|
69
|
+
'label.button.add': string;
|
|
70
|
+
'label.button.update': string;
|
|
71
|
+
'label.requested.to': string;
|
|
72
|
+
'label.posted.on': string;
|
|
73
|
+
'placeholder.comments.empty': string;
|
|
74
|
+
'tooltip.edit': string;
|
|
75
|
+
'tooltip.delete': string;
|
|
76
|
+
'tooltip.read': string;
|
|
77
|
+
'tooltip.reply': string;
|
|
78
|
+
'modal.title.footnote': string;
|
|
79
|
+
'placeholder.footnote.text': string;
|
|
80
|
+
'modal.title.footnote.remove': string;
|
|
81
|
+
'modal.text.footnote.remove': string;
|
|
82
|
+
'button.add': string;
|
|
83
|
+
'input.value': string;
|
|
84
|
+
'input.title': string;
|
|
85
|
+
'input.user': string;
|
|
86
|
+
'input.user.reply': string;
|
|
87
|
+
'button.discard': string;
|
|
88
|
+
'notification.title': string;
|
|
89
|
+
'notification.unread': string;
|
|
90
|
+
'notification.all': string;
|
|
91
|
+
'notification.empty': string;
|
|
92
|
+
'notification.text': string;
|
|
93
|
+
'label.edited': string;
|
|
94
|
+
};
|
|
64
95
|
};
|
|
@@ -61,4 +61,35 @@ export const CommentsTexts = {
|
|
|
61
61
|
'notification.text': '{{user}} adicionou um comentário na entrada {{entry}}.',
|
|
62
62
|
'label.edited': 'editado',
|
|
63
63
|
},
|
|
64
|
+
it: {
|
|
65
|
+
'label.title.comments': 'Commenti',
|
|
66
|
+
'placeholder.comment.text': 'Il tuo commento',
|
|
67
|
+
'placeholder.comment.title': 'Titolo (facoltativo)',
|
|
68
|
+
'placeholder.comment.person': 'Seleziona persona',
|
|
69
|
+
'label.button.add': 'Aggiungi commento',
|
|
70
|
+
'label.button.update': 'Aggiorna commento',
|
|
71
|
+
'label.requested.to': 'Inviato a:',
|
|
72
|
+
'label.posted.on': 'Pubblicato il:',
|
|
73
|
+
'placeholder.comments.empty': 'Nessun commento disponibile.',
|
|
74
|
+
'tooltip.edit': 'Modifica commento',
|
|
75
|
+
'tooltip.delete': 'Rimuovi commento',
|
|
76
|
+
'tooltip.read': 'Segnala come letto',
|
|
77
|
+
'tooltip.reply': 'Rispondi',
|
|
78
|
+
'modal.title.footnote': 'Modifica nota a piè di pagina',
|
|
79
|
+
'placeholder.footnote.text': 'Inserisci nota a piè di pagina',
|
|
80
|
+
'modal.title.footnote.remove': 'Conferma rimozione nota a piè di pagina',
|
|
81
|
+
'modal.text.footnote.remove': 'Sei sicuro di voler rimuovere questa nota a piè di pagina? Questa azione è irreversibile.',
|
|
82
|
+
'button.add': 'Aggiungi commento',
|
|
83
|
+
'input.value': 'Commento',
|
|
84
|
+
'input.title': 'Titolo',
|
|
85
|
+
'input.user': 'Invia agli utenti',
|
|
86
|
+
'input.user.reply': 'Rispondi agli utenti',
|
|
87
|
+
'button.discard': 'Scarta',
|
|
88
|
+
'notification.title': 'Notifiche',
|
|
89
|
+
'notification.unread': 'Non letto',
|
|
90
|
+
'notification.all': 'Letti',
|
|
91
|
+
'notification.empty': "Nessun'altra notifica",
|
|
92
|
+
'notification.text': "{{user}} ha aggiunto un commento all'inserimento {{entry}}.",
|
|
93
|
+
'label.edited': 'modificato',
|
|
94
|
+
},
|
|
64
95
|
};
|
|
@@ -50,4 +50,30 @@ export declare const ParticipantsTexts: {
|
|
|
50
50
|
'modal.input.name': string;
|
|
51
51
|
'participant.code.exists': string;
|
|
52
52
|
};
|
|
53
|
+
it: {
|
|
54
|
+
'label.title': string;
|
|
55
|
+
'button.label.add': string;
|
|
56
|
+
'participant.field.order': string;
|
|
57
|
+
'participant.field.code': string;
|
|
58
|
+
'participant.field.name': string;
|
|
59
|
+
'participant.field.color': string;
|
|
60
|
+
'participant.field.separator': string;
|
|
61
|
+
'participant.field.color.tooltip': string;
|
|
62
|
+
'participant.field.language': string;
|
|
63
|
+
'participant.field.age': string;
|
|
64
|
+
'participant.field.sex': string;
|
|
65
|
+
'participant.field.group': string;
|
|
66
|
+
'participant.field.ses': string;
|
|
67
|
+
'participant.field.role': string;
|
|
68
|
+
'participant.field.education': string;
|
|
69
|
+
'participant.field.custom': string;
|
|
70
|
+
'modal.remove.title': string;
|
|
71
|
+
'modal.remove.description': string;
|
|
72
|
+
'modal.remove.participant': string;
|
|
73
|
+
'modal.add.title': string;
|
|
74
|
+
'modal.input.code': string;
|
|
75
|
+
'modal.input.name': string;
|
|
76
|
+
'modal.select.transfer': string;
|
|
77
|
+
'participant.code.exists': string;
|
|
78
|
+
};
|
|
53
79
|
};
|
|
@@ -50,4 +50,30 @@ export const ParticipantsTexts = {
|
|
|
50
50
|
'modal.input.name': 'Nome',
|
|
51
51
|
'participant.code.exists': 'O código de participante fornecido já está em uso.',
|
|
52
52
|
},
|
|
53
|
+
it: {
|
|
54
|
+
'label.title': 'Partecipanti',
|
|
55
|
+
'button.label.add': 'aggiungi nuovo partecipante',
|
|
56
|
+
'participant.field.order': 'Ordine',
|
|
57
|
+
'participant.field.code': 'Codice',
|
|
58
|
+
'participant.field.name': 'Nome',
|
|
59
|
+
'participant.field.color': 'Colore',
|
|
60
|
+
'participant.field.separator': 'Separatore',
|
|
61
|
+
'participant.field.color.tooltip': "Un colore per l'identificatore visivo della trascrizione",
|
|
62
|
+
'participant.field.language': 'Lingua',
|
|
63
|
+
'participant.field.age': 'Età',
|
|
64
|
+
'participant.field.sex': 'Sesso',
|
|
65
|
+
'participant.field.group': 'Gruppo',
|
|
66
|
+
'participant.field.ses': 'SES',
|
|
67
|
+
'participant.field.role': 'Ruolo',
|
|
68
|
+
'participant.field.education': 'Educazione',
|
|
69
|
+
'participant.field.custom': 'Personalizzato',
|
|
70
|
+
'modal.remove.title': 'Rimuovere partecipante',
|
|
71
|
+
'modal.remove.description': 'Sei sicuro di voler eliminare questo partecipante? Questa azione è irreversibile, ma le frasi non vengono eliminate.',
|
|
72
|
+
'modal.remove.participant': 'Puoi scegliere un partecipante a cui trasferire le frasi relative a ',
|
|
73
|
+
'modal.add.title': 'Aggiungi nuovo partecipante',
|
|
74
|
+
'modal.input.code': 'ID',
|
|
75
|
+
'modal.input.name': 'Nome',
|
|
76
|
+
'modal.select.transfer': 'Partecipante',
|
|
77
|
+
'participant.code.exists': 'Il codice partecipante fornito è già in uso.',
|
|
78
|
+
},
|
|
53
79
|
};
|
|
@@ -0,0 +1,21 @@
|
|
|
1
|
+
export declare const TreeTexts: {
|
|
2
|
+
en: {
|
|
3
|
+
'button.expand.tree': string;
|
|
4
|
+
'button.recenter.tree': string;
|
|
5
|
+
'button.download.tree': string;
|
|
6
|
+
'button.download.penn': string;
|
|
7
|
+
'button.info': string;
|
|
8
|
+
};
|
|
9
|
+
'pt-BR': {
|
|
10
|
+
'button.expand.tree': string;
|
|
11
|
+
'button.recenter.tree': string;
|
|
12
|
+
'button.download.tree': string;
|
|
13
|
+
'button.download.penn': string;
|
|
14
|
+
};
|
|
15
|
+
it: {
|
|
16
|
+
'button.expand.tree': string;
|
|
17
|
+
'button.recenter.tree': string;
|
|
18
|
+
'button.download.tree': string;
|
|
19
|
+
'button.download.penn': string;
|
|
20
|
+
};
|
|
21
|
+
};
|
|
@@ -0,0 +1,21 @@
|
|
|
1
|
+
export const TreeTexts = {
|
|
2
|
+
en: {
|
|
3
|
+
'button.expand.tree': 'Expand tree',
|
|
4
|
+
'button.recenter.tree': 'Recenter tree',
|
|
5
|
+
'button.download.tree': 'Download tree as image',
|
|
6
|
+
'button.download.penn': 'Download in Penn Tree format',
|
|
7
|
+
'button.info': 'Display translations and glosses',
|
|
8
|
+
},
|
|
9
|
+
'pt-BR': {
|
|
10
|
+
'button.expand.tree': 'Expandir árvore',
|
|
11
|
+
'button.recenter.tree': 'Recentralizar árvore',
|
|
12
|
+
'button.download.tree': 'Baixar árvore como imagem',
|
|
13
|
+
'button.download.penn': 'Baixar no formato Penn Tree',
|
|
14
|
+
},
|
|
15
|
+
it: {
|
|
16
|
+
'button.expand.tree': 'Espandi albero',
|
|
17
|
+
'button.recenter.tree': 'Ricentra albero',
|
|
18
|
+
'button.download.tree': 'Scarica albero come immagine',
|
|
19
|
+
'button.download.penn': 'Scarica in formato Penn Tree',
|
|
20
|
+
},
|
|
21
|
+
};
|
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
import ToastMessage from '../../AppToast/ToastMessage';
|
|
2
|
-
import { Corpus } from '../Corpus';
|
|
3
|
-
import { User } from '../User';
|
|
2
|
+
import { Corpus } from '../types/Corpus';
|
|
3
|
+
import { User } from '../types/User';
|
|
4
4
|
import { StoreAction } from './types';
|
|
5
5
|
export declare const corpus: (data: Corpus | undefined) => StoreAction;
|
|
6
6
|
export declare const logged: (data: User | undefined) => StoreAction;
|
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
import ToastMessage from '../../AppToast/ToastMessage';
|
|
2
|
-
import { Corpus } from '../Corpus';
|
|
3
|
-
import { User } from '../User';
|
|
2
|
+
import { Corpus } from '../types/Corpus';
|
|
3
|
+
import { User } from '../types/User';
|
|
4
4
|
export type UserStore = {
|
|
5
5
|
corpus: Corpus | undefined;
|
|
6
6
|
logged: User | undefined;
|
|
@@ -0,0 +1,44 @@
|
|
|
1
|
+
export type Split = {
|
|
2
|
+
v: string;
|
|
3
|
+
t: string;
|
|
4
|
+
idx: number;
|
|
5
|
+
};
|
|
6
|
+
export type Chunk = {
|
|
7
|
+
i: number;
|
|
8
|
+
f: number;
|
|
9
|
+
l: number;
|
|
10
|
+
t: string;
|
|
11
|
+
coidx?: number[];
|
|
12
|
+
};
|
|
13
|
+
export type Token = {
|
|
14
|
+
p: number;
|
|
15
|
+
l: number;
|
|
16
|
+
v: string;
|
|
17
|
+
t?: string;
|
|
18
|
+
idx?: number;
|
|
19
|
+
ec?: boolean;
|
|
20
|
+
bid?: string;
|
|
21
|
+
mid?: string;
|
|
22
|
+
cid?: string;
|
|
23
|
+
eid?: string;
|
|
24
|
+
split?: Split;
|
|
25
|
+
splits?: Morpheme[];
|
|
26
|
+
coidx?: number[];
|
|
27
|
+
attributes?: Record<string, string>;
|
|
28
|
+
tags?: string[];
|
|
29
|
+
review?: boolean;
|
|
30
|
+
};
|
|
31
|
+
export type Morpheme = {
|
|
32
|
+
v: string;
|
|
33
|
+
t?: string;
|
|
34
|
+
attributes?: Record<string, string>;
|
|
35
|
+
fn?: boolean;
|
|
36
|
+
};
|
|
37
|
+
export type Struct = {
|
|
38
|
+
uid: string;
|
|
39
|
+
tokens: Token[];
|
|
40
|
+
chunks: Chunk[];
|
|
41
|
+
page: string;
|
|
42
|
+
document: string;
|
|
43
|
+
corpus: string;
|
|
44
|
+
};
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
export {};
|
|
@@ -0,0 +1,12 @@
|
|
|
1
|
+
import { EdgeDefinition, NodeDefinition, Position } from 'cytoscape';
|
|
2
|
+
export type CytoscapeTree = {
|
|
3
|
+
nodes: NodeDefinition[];
|
|
4
|
+
edges: EdgeDefinition[];
|
|
5
|
+
pan?: Position;
|
|
6
|
+
};
|
|
7
|
+
export type Tree = {
|
|
8
|
+
uid?: string;
|
|
9
|
+
sentence: string;
|
|
10
|
+
expression?: string;
|
|
11
|
+
cytoscape: any;
|
|
12
|
+
};
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
export {};
|
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
import { useContext } from 'react';
|
|
2
2
|
import CommonContext from './CommonContext';
|
|
3
|
-
import { EMPTY_CORPUS } from './Corpus';
|
|
4
3
|
import { corpus } from './store/actions';
|
|
4
|
+
import { EMPTY_CORPUS } from './types/Corpus';
|
|
5
5
|
export const useCorpusUtils = () => {
|
|
6
6
|
const { state, dispatch } = useContext(CommonContext);
|
|
7
7
|
const getCorpus = () => {
|