corpushub-design-system 0.1.0 → 0.1.2
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/dist/common/AppDropzone/AppDropzoneBody.js +2 -1
- package/dist/common/AppDropzone/UploadedFile.d.ts +2 -0
- package/dist/common/AppDropzone/index.d.ts +2 -0
- package/dist/common/AppDropzone/index.js +1 -0
- package/dist/common/AppDropzone/toMediaDisplayUrl.d.ts +10 -0
- package/dist/common/AppDropzone/toMediaDisplayUrl.js +27 -0
- package/dist/common/AppPicture/AppPicture.js +1 -1
- package/dist/common/AppTable/styles.scss +6 -2
- package/dist/common/index.d.ts +1 -1
- package/dist/common/index.js +1 -1
- package/dist/configs/Localization.js +4 -0
- package/dist/configs/api/applyAuthErrorHandling.js +5 -0
- package/dist/configs/api/index.js +2 -0
- package/dist/configs/auth/authApi.js +6 -0
- package/dist/configs/auth/installAuthRefreshInterceptor.js +5 -0
- package/dist/configs/auth/isPublicAuthRequest.d.ts +6 -0
- package/dist/configs/auth/isPublicAuthRequest.js +28 -0
- package/dist/configs/auth/session.js +8 -6
- package/dist/configs/brand.d.ts +6 -0
- package/dist/configs/brand.js +10 -3
- package/dist/configs/index.d.ts +3 -2
- package/dist/configs/index.js +2 -1
- package/dist/configs/localization/BackupTexts.d.ts +74 -0
- package/dist/configs/localization/BackupTexts.js +74 -0
- package/dist/configs/localization/CommentsTexts.d.ts +145 -145
- package/dist/configs/localization/CommentsTexts.js +145 -145
- package/dist/configs/localization/CommonTexts.d.ts +15 -0
- package/dist/configs/localization/CommonTexts.js +18 -3
- package/dist/configs/localization/HeaderTexts.js +3 -3
- package/dist/configs/localization/HelpTexts.d.ts +44 -2
- package/dist/configs/localization/HelpTexts.js +53 -11
- package/dist/configs/localization/HistoryTexts.d.ts +6 -0
- package/dist/configs/localization/HistoryTexts.js +6 -0
- package/dist/configs/localization/ParserRuleGroupsTexts.d.ts +53 -0
- package/dist/configs/localization/ParserRuleGroupsTexts.js +53 -0
- package/dist/configs/localization/SentenceTexts.js +33 -33
- package/dist/configs/services/ProfileService.js +3 -3
- package/dist/configs/tour/index.d.ts +1 -1
- package/dist/configs/types/CorpusImage.d.ts +3 -0
- package/dist/features/AccessControl/AccessControlService.d.ts +9 -0
- package/dist/features/AccessControl/AccessControlService.js +22 -8
- package/dist/features/AccessControl/AccessGrant/AccessGrant.js +3 -1
- package/dist/features/AccessControl/AccessUser/AccessData.d.ts +2 -2
- package/dist/features/AccessControl/AccessUser/AccessData.js +21 -21
- package/dist/features/AccessControl/AccessUser/AccessUser.js +20 -3
- package/dist/features/AccessControl/AccessUser/AccessUserGroups.d.ts +8 -0
- package/dist/features/AccessControl/AccessUser/AccessUserGroups.js +77 -0
- package/dist/features/AccessControl/AccessUser/style.scss +41 -3
- package/dist/features/AccessControl/AccessUsers/AccessUsers.js +44 -29
- package/dist/features/AccessControl/AccessUsers/styles.scss +5 -0
- package/dist/features/AccessControl/index.d.ts +1 -0
- package/dist/features/AccessControl/types/CorpusGroup.d.ts +10 -0
- package/dist/features/AccessControl/types/CorpusGroup.js +1 -0
- package/dist/features/AccessControl/types/UserAccessResponse.d.ts +4 -0
- package/dist/features/Backup/BackupCreate/BackupCreate.d.ts +11 -0
- package/dist/features/Backup/BackupCreate/BackupCreate.js +89 -0
- package/dist/features/Backup/BackupCreate/index.d.ts +2 -0
- package/dist/features/Backup/BackupCreate/index.js +2 -0
- package/dist/features/Backup/BackupCreate/style.scss +5 -0
- package/dist/features/Backup/BackupInfo/BackupInfo.d.ts +8 -0
- package/dist/features/Backup/BackupInfo/BackupInfo.js +36 -0
- package/dist/features/Backup/BackupInfo/index.d.ts +2 -0
- package/dist/features/Backup/BackupInfo/index.js +2 -0
- package/dist/features/Backup/BackupInfo/style.scss +23 -0
- package/dist/features/Backup/BackupRestore/BackupRestore.d.ts +7 -0
- package/dist/features/Backup/BackupRestore/BackupRestore.js +52 -0
- package/dist/features/Backup/BackupRestore/index.d.ts +3 -0
- package/dist/features/Backup/BackupRestore/index.js +2 -0
- package/dist/features/Backup/BackupRestore/style.scss +17 -0
- package/dist/features/Backup/BackupService.d.ts +20 -0
- package/dist/features/Backup/BackupService.js +43 -0
- package/dist/features/Backup/BackupTable/BackupSearchFilter.d.ts +5 -0
- package/dist/features/Backup/BackupTable/BackupSearchFilter.js +4 -0
- package/dist/features/Backup/BackupTable/BackupTable.d.ts +8 -0
- package/dist/features/Backup/BackupTable/BackupTable.js +121 -0
- package/dist/features/Backup/BackupTable/index.d.ts +4 -0
- package/dist/features/Backup/BackupTable/index.js +3 -0
- package/dist/features/Backup/BackupTable/style.scss +19 -0
- package/dist/features/Backup/index.d.ts +7 -0
- package/dist/features/Backup/index.js +4 -0
- package/dist/features/Backup/types/Backup.d.ts +14 -0
- package/dist/features/Backup/types/Backup.js +1 -0
- package/dist/features/Comments/CommentService.js +2 -1
- package/dist/features/PageRender/PageRenderView.d.ts +1 -1
- package/dist/features/PageRender/PageRenderView.js +67 -9
- package/dist/features/PageRender/style.scss +27 -5
- package/dist/features/PageRender/types.d.ts +5 -1
- package/dist/features/ParserRuleGroups/ParserRuleGroupItem.d.ts +9 -0
- package/dist/features/ParserRuleGroups/ParserRuleGroupItem.js +18 -0
- package/dist/features/ParserRuleGroups/ParserRuleGroupsEditor.d.ts +17 -0
- package/dist/features/ParserRuleGroups/ParserRuleGroupsEditor.js +129 -0
- package/dist/features/ParserRuleGroups/index.d.ts +2 -0
- package/dist/features/ParserRuleGroups/index.js +2 -0
- package/dist/features/ParserRuleGroups/style.scss +81 -0
- package/dist/features/ServerErrorReport/ServerErrorReport.js +9 -48
- package/dist/features/ServerErrorReport/ServerErrorReportForm.d.ts +22 -0
- package/dist/features/ServerErrorReport/ServerErrorReportForm.js +85 -0
- package/dist/features/ServerErrorReport/captureTabScreenshot.d.ts +1 -1
- package/dist/features/ServerErrorReport/captureTabScreenshot.js +5 -20
- package/dist/features/ServerErrorReport/index.d.ts +2 -0
- package/dist/features/ServerErrorReport/index.js +1 -0
- package/dist/features/ServerErrorReport/styles.scss +22 -9
- package/dist/features/index.d.ts +5 -1
- package/dist/features/index.js +2 -0
- package/dist/functions/EditionTierUtils.js +11 -5
- package/dist/primitives/AsyncSelectField/AsyncSelectField.js +2 -2
- package/dist/primitives/AsyncSelectField/styles.scss +31 -31
- package/dist/primitives/Button/Button.d.ts +5 -4
- package/dist/primitives/Button/Button.js +19 -19
- package/dist/primitives/DropdownButton/DropdownButton.d.ts +2 -1
- package/dist/primitives/DropdownButton/DropdownButton.js +2 -2
- package/dist/primitives/DropdownMenu/DropdownMenu.js +7 -1
- package/dist/primitives/Icon/Icon.d.ts +2 -1
- package/dist/primitives/Icon/Icon.js +2 -2
- package/dist/primitives/IconButton/IconButton.d.ts +2 -1
- package/dist/primitives/IconButton/IconButton.js +2 -2
- package/dist/primitives/Tag/Tag.d.ts +2 -1
- package/dist/primitives/Tag/Tag.js +3 -3
- package/dist/primitives/index.js +1 -1
- package/dist/shell/Header/HelpButton/HelpModal.js +3 -69
- package/dist/shell/Header/HelpButton/HelpModalMainColumn.d.ts +5 -0
- package/dist/shell/Header/HelpButton/HelpModalMainColumn.js +76 -0
- package/dist/shell/Header/HelpButton/HelpModalSideColumn.d.ts +7 -0
- package/dist/shell/Header/HelpButton/HelpModalSideColumn.js +18 -0
- package/dist/shell/Header/HelpButton/live-tour.png +0 -0
- package/dist/shell/Header/HelpButton/style.scss +330 -47
- package/dist/styles/base/_typographs.scss +376 -1
- package/dist/styles/main.scss +112 -1
- package/package.json +1 -1
- package/dist/primitives/styles/base/_typographs.scss +0 -376
- package/dist/primitives/styles/font-googleapis.scss +0 -222
- package/dist/primitives/styles/main.scss +0 -112
- /package/dist/{primitives/fonts → fonts}/material-symbols-outlined.woff2 +0 -0
- /package/dist/{primitives/fonts → fonts}/work-sans-latin-ext.woff2 +0 -0
- /package/dist/{primitives/fonts → fonts}/work-sans-latin.woff2 +0 -0
- /package/dist/{primitives/fonts → fonts}/work-sans-vietnamese.woff2 +0 -0
- /package/dist/{primitives/fonts.d.ts → fonts.d.ts} +0 -0
- /package/dist/{primitives/fonts.js → fonts.js} +0 -0
- /package/dist/{primitives/styles → styles}/base/_borders.scss +0 -0
- /package/dist/{primitives/styles → styles}/base/_colors.scss +0 -0
- /package/dist/{primitives/styles → styles}/base/_displays.scss +0 -0
- /package/dist/{primitives/styles → styles}/base/_margins.css +0 -0
- /package/dist/{primitives/styles → styles}/base/_spacing.scss +0 -0
- /package/dist/{primitives/styles → styles}/base/_tokens.scss +0 -0
|
@@ -54,6 +54,11 @@ export declare const CommonTexts: {
|
|
|
54
54
|
'server.error.report.validation': string;
|
|
55
55
|
'server.error.report.send.failed': string;
|
|
56
56
|
'server.error.report.sent': string;
|
|
57
|
+
'server.error.report.feedback.placeholder': string;
|
|
58
|
+
'server.error.report.feedback.privacy': string;
|
|
59
|
+
'server.error.report.feedback.send': string;
|
|
60
|
+
'server.error.report.feedback.validation': string;
|
|
61
|
+
'server.error.report.feedback.sent': string;
|
|
57
62
|
'table.label.rows-page': string;
|
|
58
63
|
'table.label.items': string;
|
|
59
64
|
'table.pagination.scroll-strip-left': string;
|
|
@@ -147,6 +152,11 @@ export declare const CommonTexts: {
|
|
|
147
152
|
'server.error.report.validation': string;
|
|
148
153
|
'server.error.report.send.failed': string;
|
|
149
154
|
'server.error.report.sent': string;
|
|
155
|
+
'server.error.report.feedback.placeholder': string;
|
|
156
|
+
'server.error.report.feedback.privacy': string;
|
|
157
|
+
'server.error.report.feedback.send': string;
|
|
158
|
+
'server.error.report.feedback.validation': string;
|
|
159
|
+
'server.error.report.feedback.sent': string;
|
|
150
160
|
'table.label.rows-page': string;
|
|
151
161
|
'table.label.items': string;
|
|
152
162
|
'table.pagination.scroll-strip-left': string;
|
|
@@ -240,6 +250,11 @@ export declare const CommonTexts: {
|
|
|
240
250
|
'server.error.report.validation': string;
|
|
241
251
|
'server.error.report.send.failed': string;
|
|
242
252
|
'server.error.report.sent': string;
|
|
253
|
+
'server.error.report.feedback.placeholder': string;
|
|
254
|
+
'server.error.report.feedback.privacy': string;
|
|
255
|
+
'server.error.report.feedback.send': string;
|
|
256
|
+
'server.error.report.feedback.validation': string;
|
|
257
|
+
'server.error.report.feedback.sent': string;
|
|
243
258
|
'table.label.rows-page': string;
|
|
244
259
|
'table.label.items': string;
|
|
245
260
|
'table.pagination.scroll-strip-left': string;
|
|
@@ -49,11 +49,16 @@ export const CommonTexts = {
|
|
|
49
49
|
'server.error.report.prompt': 'Something went wrong on our end. Click here to tell us what happened.',
|
|
50
50
|
'server.error.report.modal.title': 'Report a problem',
|
|
51
51
|
'server.error.report.modal.subtitle': 'Describe what you were doing when the error occurred. We will also include recent console output and a screenshot of this page.',
|
|
52
|
-
'server.error.report.modal.placeholder': 'What were you trying to do? Any extra details help us reproduce the issue.',
|
|
52
|
+
'server.error.report.modal.placeholder': 'What were you trying to do? Any extra details help us reproduce the issue. (optional)',
|
|
53
53
|
'server.error.report.modal.send': 'Send report',
|
|
54
54
|
'server.error.report.validation': 'Please describe what happened before sending.',
|
|
55
55
|
'server.error.report.send.failed': 'We could not send your report. Please try again in a moment.',
|
|
56
56
|
'server.error.report.sent': 'Thank you — your report was sent.',
|
|
57
|
+
'server.error.report.feedback.placeholder': 'Share a comment, bug report, idea, or anything else on your mind… (optional)',
|
|
58
|
+
'server.error.report.feedback.privacy': "We automatically include this page's URL, recent console output, and a screenshot so we can help faster.",
|
|
59
|
+
'server.error.report.feedback.send': 'Send feedback',
|
|
60
|
+
'server.error.report.feedback.validation': 'Please write a short message before sending.',
|
|
61
|
+
'server.error.report.feedback.sent': 'Thank you — your feedback was sent.',
|
|
57
62
|
'table.label.rows-page': 'Items per page',
|
|
58
63
|
'table.label.items': '{{first}} - {{last}} of {{total}}',
|
|
59
64
|
'table.pagination.scroll-strip-left': 'Scroll page numbers left',
|
|
@@ -142,11 +147,16 @@ export const CommonTexts = {
|
|
|
142
147
|
'server.error.report.prompt': 'Algo deu errado do nosso lado. Clique aqui para nos contar o que aconteceu.',
|
|
143
148
|
'server.error.report.modal.title': 'Reportar um problema',
|
|
144
149
|
'server.error.report.modal.subtitle': 'Descreva o que você estava fazendo quando o erro ocorreu. Também incluiremos a saída recente do console e uma captura de tela desta página.',
|
|
145
|
-
'server.error.report.modal.placeholder': 'O que você estava tentando fazer? Detalhes extras nos ajudam a reproduzir o problema.',
|
|
150
|
+
'server.error.report.modal.placeholder': 'O que você estava tentando fazer? Detalhes extras nos ajudam a reproduzir o problema. (opcional)',
|
|
146
151
|
'server.error.report.modal.send': 'Enviar relatório',
|
|
147
152
|
'server.error.report.validation': 'Descreva o que aconteceu antes de enviar.',
|
|
148
153
|
'server.error.report.send.failed': 'Não foi possível enviar seu relatório. Tente novamente em instantes.',
|
|
149
154
|
'server.error.report.sent': 'Obrigado — seu relatório foi enviado.',
|
|
155
|
+
'server.error.report.feedback.placeholder': 'Compartilhe um comentário, relato de bug, ideia ou qualquer outra coisa… (opcional)',
|
|
156
|
+
'server.error.report.feedback.privacy': 'Incluímos automaticamente a URL desta página, a saída recente do console e uma captura de tela para podermos ajudar mais rápido.',
|
|
157
|
+
'server.error.report.feedback.send': 'Enviar feedback',
|
|
158
|
+
'server.error.report.feedback.validation': 'Escreva uma mensagem curta antes de enviar.',
|
|
159
|
+
'server.error.report.feedback.sent': 'Obrigado — seu feedback foi enviado.',
|
|
150
160
|
'table.label.rows-page': 'Itens por página',
|
|
151
161
|
'table.label.items': '{{first}} - {{last}} de {{total}}',
|
|
152
162
|
'table.pagination.scroll-strip-left': 'Rolar números das páginas à esquerda',
|
|
@@ -235,11 +245,16 @@ export const CommonTexts = {
|
|
|
235
245
|
'server.error.report.prompt': 'Qualcosa è andato storto da parte nostra. Clicca qui per raccontarci cosa è successo.',
|
|
236
246
|
'server.error.report.modal.title': 'Segnala un problema',
|
|
237
247
|
'server.error.report.modal.subtitle': "Descrivi cosa stavi facendo quando si è verificato l'errore. Includeremo anche l'output recente della console e uno screenshot di questa pagina.",
|
|
238
|
-
'server.error.report.modal.placeholder': 'Cosa stavi cercando di fare? Dettagli aggiuntivi ci aiutano a riprodurre il problema.',
|
|
248
|
+
'server.error.report.modal.placeholder': 'Cosa stavi cercando di fare? Dettagli aggiuntivi ci aiutano a riprodurre il problema. (facoltativo)',
|
|
239
249
|
'server.error.report.modal.send': 'Invia segnalazione',
|
|
240
250
|
'server.error.report.validation': 'Descrivi cosa è successo prima di inviare.',
|
|
241
251
|
'server.error.report.send.failed': 'Impossibile inviare la segnalazione. Riprova tra poco.',
|
|
242
252
|
'server.error.report.sent': 'Grazie — la tua segnalazione è stata inviata.',
|
|
253
|
+
'server.error.report.feedback.placeholder': "Condividi un commento, una segnalazione di bug, un'idea o qualsiasi altra cosa… (facoltativo)",
|
|
254
|
+
'server.error.report.feedback.privacy': "Includiamo automaticamente l'URL di questa pagina, l'output recente della console e uno screenshot per aiutarti più rapidamente.",
|
|
255
|
+
'server.error.report.feedback.send': 'Invia feedback',
|
|
256
|
+
'server.error.report.feedback.validation': 'Scrivi un breve messaggio prima di inviare.',
|
|
257
|
+
'server.error.report.feedback.sent': 'Grazie — il tuo feedback è stato inviato.',
|
|
243
258
|
'table.label.rows-page': 'Elementi per pagina',
|
|
244
259
|
'table.label.items': '{{first}} - {{last}} di {{total}}',
|
|
245
260
|
'table.pagination.scroll-strip-left': 'Scorri i numeri di pagina a sinistra',
|
|
@@ -6,7 +6,7 @@ export const HeaderTexts = {
|
|
|
6
6
|
'label.my.settings': 'My Settings',
|
|
7
7
|
'label.choose': 'Choose a corpus',
|
|
8
8
|
'tooltip.keyboard': 'Open Virtual Keyboard',
|
|
9
|
-
'tooltip.tutorials': '
|
|
9
|
+
'tooltip.tutorials': 'Help Center',
|
|
10
10
|
'replace.all.tooltip': 'Replace All',
|
|
11
11
|
'replace.find.placeholder': 'Find',
|
|
12
12
|
'replace.placeholder': 'Replace',
|
|
@@ -28,7 +28,7 @@ export const HeaderTexts = {
|
|
|
28
28
|
'label.my.settings': 'Minhas Configurações',
|
|
29
29
|
'label.choose': 'Escolha um corpus',
|
|
30
30
|
'tooltip.keyboard': 'Abrir Teclado Virtual',
|
|
31
|
-
'tooltip.tutorials': '
|
|
31
|
+
'tooltip.tutorials': 'Central de Ajuda',
|
|
32
32
|
'replace.all.tooltip': 'Substituir Todos',
|
|
33
33
|
'replace.find.placeholder': 'Procurar',
|
|
34
34
|
'replace.placeholder': 'Substituir',
|
|
@@ -50,7 +50,7 @@ export const HeaderTexts = {
|
|
|
50
50
|
'label.my.settings': 'Le mie impostazioni',
|
|
51
51
|
'label.choose': 'Scegli un corpus',
|
|
52
52
|
'tooltip.keyboard': 'Apri tastiera virtuale',
|
|
53
|
-
'tooltip.tutorials': '
|
|
53
|
+
'tooltip.tutorials': 'Centro assistenza',
|
|
54
54
|
'replace.all.tooltip': 'Sostituisci tutto',
|
|
55
55
|
'replace.find.placeholder': 'Trova',
|
|
56
56
|
'replace.placeholder': 'Sostituisci',
|
|
@@ -1,37 +1,79 @@
|
|
|
1
1
|
export declare const HelpTexts: {
|
|
2
2
|
en: {
|
|
3
3
|
'modal.title': string;
|
|
4
|
+
'modal.subtitle': string;
|
|
4
5
|
'title.tutorials': string;
|
|
5
6
|
'title.tour': string;
|
|
6
7
|
'title.autoOpen': string;
|
|
8
|
+
'title.resources': string;
|
|
9
|
+
'title.feedback': string;
|
|
10
|
+
'title.youtube': string;
|
|
7
11
|
'button.tour': string;
|
|
12
|
+
'button.tour.stop': string;
|
|
8
13
|
'button.updateLiveTourPreference': string;
|
|
14
|
+
'button.youtube': string;
|
|
9
15
|
'description.tutorials': string;
|
|
10
16
|
'description.tour': string;
|
|
17
|
+
'description.feedback': string;
|
|
18
|
+
'description.youtube': string;
|
|
19
|
+
'tour.step.1': string;
|
|
20
|
+
'tour.step.2': string;
|
|
21
|
+
'tour.step.3': string;
|
|
22
|
+
'tour.status.active': string;
|
|
23
|
+
'tour.status.idle': string;
|
|
24
|
+
'resources.empty': string;
|
|
11
25
|
'checkbox.autoOpen': string;
|
|
12
26
|
'button.open': string;
|
|
13
27
|
};
|
|
14
28
|
'pt-BR': {
|
|
15
29
|
'modal.title': string;
|
|
30
|
+
'modal.subtitle': string;
|
|
16
31
|
'title.tutorials': string;
|
|
17
32
|
'title.tour': string;
|
|
18
33
|
'title.autoOpen': string;
|
|
34
|
+
'title.resources': string;
|
|
35
|
+
'title.feedback': string;
|
|
36
|
+
'title.youtube': string;
|
|
19
37
|
'button.tour': string;
|
|
38
|
+
'button.tour.stop': string;
|
|
20
39
|
'button.updateLiveTourPreference': string;
|
|
40
|
+
'button.youtube': string;
|
|
21
41
|
'description.tutorials': string;
|
|
22
42
|
'description.tour': string;
|
|
43
|
+
'description.feedback': string;
|
|
44
|
+
'description.youtube': string;
|
|
45
|
+
'tour.step.1': string;
|
|
46
|
+
'tour.step.2': string;
|
|
47
|
+
'tour.step.3': string;
|
|
48
|
+
'tour.status.active': string;
|
|
49
|
+
'tour.status.idle': string;
|
|
50
|
+
'resources.empty': string;
|
|
23
51
|
'checkbox.autoOpen': string;
|
|
24
52
|
'button.open': string;
|
|
25
53
|
};
|
|
26
54
|
it: {
|
|
27
55
|
'modal.title': string;
|
|
56
|
+
'modal.subtitle': string;
|
|
28
57
|
'title.tutorials': string;
|
|
29
|
-
'button.tour': string;
|
|
30
|
-
'button.updateLiveTourPreference': string;
|
|
31
58
|
'title.tour': string;
|
|
32
59
|
'title.autoOpen': string;
|
|
60
|
+
'title.resources': string;
|
|
61
|
+
'title.feedback': string;
|
|
62
|
+
'title.youtube': string;
|
|
63
|
+
'button.tour': string;
|
|
64
|
+
'button.tour.stop': string;
|
|
65
|
+
'button.updateLiveTourPreference': string;
|
|
66
|
+
'button.youtube': string;
|
|
33
67
|
'description.tutorials': string;
|
|
34
68
|
'description.tour': string;
|
|
69
|
+
'description.feedback': string;
|
|
70
|
+
'description.youtube': string;
|
|
71
|
+
'tour.step.1': string;
|
|
72
|
+
'tour.step.2': string;
|
|
73
|
+
'tour.step.3': string;
|
|
74
|
+
'tour.status.active': string;
|
|
75
|
+
'tour.status.idle': string;
|
|
76
|
+
'resources.empty': string;
|
|
35
77
|
'checkbox.autoOpen': string;
|
|
36
78
|
'button.open': string;
|
|
37
79
|
};
|
|
@@ -1,38 +1,80 @@
|
|
|
1
1
|
export const HelpTexts = {
|
|
2
2
|
en: {
|
|
3
3
|
'modal.title': 'Help Center',
|
|
4
|
+
'modal.subtitle': 'Get oriented, dig into resources, or tell us anything on your mind.',
|
|
4
5
|
'title.tutorials': 'Tutorials',
|
|
5
6
|
'title.tour': 'Live Tour',
|
|
6
7
|
'title.autoOpen': 'Enable Auto-Open',
|
|
8
|
+
'title.resources': 'Resources',
|
|
9
|
+
'title.feedback': 'Send feedback',
|
|
10
|
+
'title.youtube': 'Watch on YouTube',
|
|
7
11
|
'button.tour': 'Start Live Tour',
|
|
12
|
+
'button.tour.stop': 'Stop Live Tour',
|
|
8
13
|
'button.updateLiveTourPreference': 'Update preference',
|
|
14
|
+
'button.youtube': 'Open channel',
|
|
9
15
|
'description.tutorials': 'Access our comprehensive tutorials and documentation',
|
|
10
|
-
'description.tour': '
|
|
11
|
-
'
|
|
12
|
-
'
|
|
16
|
+
'description.tour': 'Walk through the main areas of this page with an interactive guided tour.',
|
|
17
|
+
'description.feedback': 'Comments, bugs, ideas — we read every message and include page context automatically.',
|
|
18
|
+
'description.youtube': 'Short walkthroughs, tips, and product updates — jump into the channel.',
|
|
19
|
+
'tour.step.1': 'Highlights key controls on the current page',
|
|
20
|
+
'tour.step.2': 'Explains what each area is for',
|
|
21
|
+
'tour.step.3': 'Takes only a couple of minutes',
|
|
22
|
+
'tour.status.active': 'Tour is running — stop it anytime from here.',
|
|
23
|
+
'tour.status.idle': 'Ready when you are.',
|
|
24
|
+
'resources.empty': 'No extra resources for this page right now.',
|
|
25
|
+
'checkbox.autoOpen': 'Open the tour automatically when I visit',
|
|
26
|
+
'button.open': 'Open',
|
|
13
27
|
},
|
|
14
28
|
'pt-BR': {
|
|
15
29
|
'modal.title': 'Central de Ajuda',
|
|
30
|
+
'modal.subtitle': 'Oriente-se, explore recursos ou conte-nos o que quiser.',
|
|
16
31
|
'title.tutorials': 'Tutoriais',
|
|
17
32
|
'title.tour': 'Tour ao Vivo',
|
|
18
33
|
'title.autoOpen': 'Ativar Abertura Automática',
|
|
34
|
+
'title.resources': 'Recursos',
|
|
35
|
+
'title.feedback': 'Enviar feedback',
|
|
36
|
+
'title.youtube': 'Assista no YouTube',
|
|
19
37
|
'button.tour': 'Iniciar Tour ao Vivo',
|
|
38
|
+
'button.tour.stop': 'Parar Tour ao Vivo',
|
|
20
39
|
'button.updateLiveTourPreference': 'Atualizar preferência',
|
|
40
|
+
'button.youtube': 'Abrir canal',
|
|
21
41
|
'description.tutorials': 'Acesse nossos tutoriais abrangentes e documentação',
|
|
22
|
-
'description.tour': '
|
|
23
|
-
'
|
|
24
|
-
'
|
|
42
|
+
'description.tour': 'Percorra as áreas principais desta página com um tour guiado interativo.',
|
|
43
|
+
'description.feedback': 'Comentários, bugs, ideias — lemos cada mensagem e incluímos o contexto da página automaticamente.',
|
|
44
|
+
'description.youtube': 'Tutoriais curtos, dicas e novidades do produto — confira o canal.',
|
|
45
|
+
'tour.step.1': 'Destaca os controles principais da página atual',
|
|
46
|
+
'tour.step.2': 'Explica para que serve cada área',
|
|
47
|
+
'tour.step.3': 'Leva só alguns minutos',
|
|
48
|
+
'tour.status.active': 'O tour está ativo — você pode pará-lo a qualquer momento.',
|
|
49
|
+
'tour.status.idle': 'Pronto quando você estiver.',
|
|
50
|
+
'resources.empty': 'Não há recursos extras para esta página no momento.',
|
|
51
|
+
'checkbox.autoOpen': 'Abrir o tour automaticamente quando eu visitar',
|
|
52
|
+
'button.open': 'Abrir',
|
|
25
53
|
},
|
|
26
54
|
it: {
|
|
27
55
|
'modal.title': 'Centro Assistenza',
|
|
56
|
+
'modal.subtitle': 'Orientati, esplora le risorse o raccontaci qualsiasi cosa.',
|
|
28
57
|
'title.tutorials': 'Tutorial',
|
|
29
|
-
'button.tour': 'Avvia Tour Interattivo',
|
|
30
|
-
'button.updateLiveTourPreference': 'Aggiorna la preferenza',
|
|
31
58
|
'title.tour': 'Tour Interattivo',
|
|
32
59
|
'title.autoOpen': 'Abilita Apertura Automatica',
|
|
60
|
+
'title.resources': 'Risorse',
|
|
61
|
+
'title.feedback': 'Invia feedback',
|
|
62
|
+
'title.youtube': 'Guarda su YouTube',
|
|
63
|
+
'button.tour': 'Avvia Tour Interattivo',
|
|
64
|
+
'button.tour.stop': 'Ferma Tour Interattivo',
|
|
65
|
+
'button.updateLiveTourPreference': 'Aggiorna la preferenza',
|
|
66
|
+
'button.youtube': 'Apri il canale',
|
|
33
67
|
'description.tutorials': 'Accedi ai nostri tutorial completi e alla documentazione',
|
|
34
|
-
'description.tour': '
|
|
35
|
-
'
|
|
36
|
-
'
|
|
68
|
+
'description.tour': 'Esplora le aree principali di questa pagina con un tour guidato interattivo.',
|
|
69
|
+
'description.feedback': 'Commenti, bug, idee — leggiamo ogni messaggio e includiamo automaticamente il contesto della pagina.',
|
|
70
|
+
'description.youtube': 'Tutorial brevi, consigli e novità sul prodotto — apri il canale.',
|
|
71
|
+
'tour.step.1': 'Evidenzia i controlli chiave della pagina corrente',
|
|
72
|
+
'tour.step.2': 'Spiega a cosa serve ciascuna area',
|
|
73
|
+
'tour.step.3': 'Richiede solo un paio di minuti',
|
|
74
|
+
'tour.status.active': 'Il tour è attivo — puoi fermarlo in qualsiasi momento.',
|
|
75
|
+
'tour.status.idle': 'Pronto quando lo sei tu.',
|
|
76
|
+
'resources.empty': 'Nessuna risorsa aggiuntiva per questa pagina al momento.',
|
|
77
|
+
'checkbox.autoOpen': 'Apri il tour automaticamente quando visito',
|
|
78
|
+
'button.open': 'Apri',
|
|
37
79
|
},
|
|
38
80
|
};
|
|
@@ -47,6 +47,8 @@ export declare const HistoryTexts: {
|
|
|
47
47
|
'document.metadata.save': string;
|
|
48
48
|
'editor.apply.all': string;
|
|
49
49
|
'editor.block.add': string;
|
|
50
|
+
'editor.block.update': string;
|
|
51
|
+
'editor.block.merge': string;
|
|
50
52
|
'editor.block.delete': string;
|
|
51
53
|
'editor.box.create': string;
|
|
52
54
|
'editor.box.delete': string;
|
|
@@ -189,6 +191,8 @@ export declare const HistoryTexts: {
|
|
|
189
191
|
'document.metadata.save': string;
|
|
190
192
|
'editor.apply.all': string;
|
|
191
193
|
'editor.block.add': string;
|
|
194
|
+
'editor.block.update': string;
|
|
195
|
+
'editor.block.merge': string;
|
|
192
196
|
'editor.block.delete': string;
|
|
193
197
|
'editor.box.create': string;
|
|
194
198
|
'editor.box.delete': string;
|
|
@@ -331,6 +335,8 @@ export declare const HistoryTexts: {
|
|
|
331
335
|
'document.metadata.save': string;
|
|
332
336
|
'editor.apply.all': string;
|
|
333
337
|
'editor.block.add': string;
|
|
338
|
+
'editor.block.update': string;
|
|
339
|
+
'editor.block.merge': string;
|
|
334
340
|
'editor.block.delete': string;
|
|
335
341
|
'editor.box.create': string;
|
|
336
342
|
'editor.box.delete': string;
|
|
@@ -47,6 +47,8 @@ export const HistoryTexts = {
|
|
|
47
47
|
'document.metadata.save': 'Document metadata saved',
|
|
48
48
|
'editor.apply.all': 'All changes applied',
|
|
49
49
|
'editor.block.add': 'Block added',
|
|
50
|
+
'editor.block.update': 'Block updated',
|
|
51
|
+
'editor.block.merge': 'Block merged',
|
|
50
52
|
'editor.block.delete': 'Block deleted',
|
|
51
53
|
'editor.box.create': 'Box created',
|
|
52
54
|
'editor.box.delete': 'Box deleted',
|
|
@@ -189,6 +191,8 @@ export const HistoryTexts = {
|
|
|
189
191
|
'document.metadata.save': 'Metadado do documento salvo',
|
|
190
192
|
'editor.apply.all': 'Todas as alterações aplicadas',
|
|
191
193
|
'editor.block.add': 'Bloco adicionado',
|
|
194
|
+
'editor.block.update': 'Bloco atualizado',
|
|
195
|
+
'editor.block.merge': 'Bloco mesclado',
|
|
192
196
|
'editor.block.delete': 'Bloco excluído',
|
|
193
197
|
'editor.box.create': 'Caixa criada',
|
|
194
198
|
'editor.box.delete': 'Caixa excluída',
|
|
@@ -331,6 +335,8 @@ export const HistoryTexts = {
|
|
|
331
335
|
'document.metadata.save': 'Metadato del documento salvato',
|
|
332
336
|
'editor.apply.all': 'Tutte le modifiche applicate',
|
|
333
337
|
'editor.block.add': 'Blocco aggiunto',
|
|
338
|
+
'editor.block.update': 'Blocco aggiornato',
|
|
339
|
+
'editor.block.merge': 'Blocco unito',
|
|
334
340
|
'editor.block.delete': 'Blocco eliminato',
|
|
335
341
|
'editor.box.create': 'Riquadro creato',
|
|
336
342
|
'editor.box.delete': 'Riquadro eliminato',
|
|
@@ -0,0 +1,53 @@
|
|
|
1
|
+
export declare const ParserRuleGroupsTexts: {
|
|
2
|
+
en: {
|
|
3
|
+
'label.title': string;
|
|
4
|
+
'table.column.rule': string;
|
|
5
|
+
'table.column.group': string;
|
|
6
|
+
'menu.import': string;
|
|
7
|
+
'menu.export': string;
|
|
8
|
+
'menu.load.defaults': string;
|
|
9
|
+
'menu.close': string;
|
|
10
|
+
'modal.import.title': string;
|
|
11
|
+
'placeholder.input': string;
|
|
12
|
+
'button.save.row': string;
|
|
13
|
+
'button.cancel.row': string;
|
|
14
|
+
'button.edit.row': string;
|
|
15
|
+
'button.delete.row': string;
|
|
16
|
+
'button.add.row': string;
|
|
17
|
+
'default.group.name': string;
|
|
18
|
+
};
|
|
19
|
+
'pt-BR': {
|
|
20
|
+
'label.title': string;
|
|
21
|
+
'table.column.rule': string;
|
|
22
|
+
'table.column.group': string;
|
|
23
|
+
'menu.import': string;
|
|
24
|
+
'menu.export': string;
|
|
25
|
+
'menu.load.defaults': string;
|
|
26
|
+
'menu.close': string;
|
|
27
|
+
'modal.import.title': string;
|
|
28
|
+
'placeholder.input': string;
|
|
29
|
+
'button.save.row': string;
|
|
30
|
+
'button.cancel.row': string;
|
|
31
|
+
'button.edit.row': string;
|
|
32
|
+
'button.delete.row': string;
|
|
33
|
+
'button.add.row': string;
|
|
34
|
+
'default.group.name': string;
|
|
35
|
+
};
|
|
36
|
+
it: {
|
|
37
|
+
'label.title': string;
|
|
38
|
+
'table.column.rule': string;
|
|
39
|
+
'table.column.group': string;
|
|
40
|
+
'menu.import': string;
|
|
41
|
+
'menu.export': string;
|
|
42
|
+
'menu.load.defaults': string;
|
|
43
|
+
'menu.close': string;
|
|
44
|
+
'modal.import.title': string;
|
|
45
|
+
'placeholder.input': string;
|
|
46
|
+
'button.save.row': string;
|
|
47
|
+
'button.cancel.row': string;
|
|
48
|
+
'button.edit.row': string;
|
|
49
|
+
'button.delete.row': string;
|
|
50
|
+
'button.add.row': string;
|
|
51
|
+
'default.group.name': string;
|
|
52
|
+
};
|
|
53
|
+
};
|
|
@@ -0,0 +1,53 @@
|
|
|
1
|
+
export const ParserRuleGroupsTexts = {
|
|
2
|
+
en: {
|
|
3
|
+
'label.title': 'Parser rule groups',
|
|
4
|
+
'table.column.rule': 'Rule',
|
|
5
|
+
'table.column.group': 'Group',
|
|
6
|
+
'menu.import': 'Import groups',
|
|
7
|
+
'menu.export': 'Export groups',
|
|
8
|
+
'menu.load.defaults': 'Load parser defaults',
|
|
9
|
+
'menu.close': 'Close',
|
|
10
|
+
'modal.import.title': 'Import groups',
|
|
11
|
+
'placeholder.input': 'Group name',
|
|
12
|
+
'button.save.row': 'Save',
|
|
13
|
+
'button.cancel.row': 'Cancel',
|
|
14
|
+
'button.edit.row': 'Edit',
|
|
15
|
+
'button.delete.row': 'Delete',
|
|
16
|
+
'button.add.row': 'Add',
|
|
17
|
+
'default.group.name': 'new group',
|
|
18
|
+
},
|
|
19
|
+
'pt-BR': {
|
|
20
|
+
'label.title': 'Grupos de regras do parser',
|
|
21
|
+
'table.column.rule': 'Regra',
|
|
22
|
+
'table.column.group': 'Grupo',
|
|
23
|
+
'menu.import': 'Importar grupos',
|
|
24
|
+
'menu.export': 'Exportar grupos',
|
|
25
|
+
'menu.load.defaults': 'Carregar padrões do parser',
|
|
26
|
+
'menu.close': 'Fechar',
|
|
27
|
+
'modal.import.title': 'Importar grupos',
|
|
28
|
+
'placeholder.input': 'Nome do grupo',
|
|
29
|
+
'button.save.row': 'Salvar',
|
|
30
|
+
'button.cancel.row': 'Cancelar',
|
|
31
|
+
'button.edit.row': 'Editar',
|
|
32
|
+
'button.delete.row': 'Excluir',
|
|
33
|
+
'button.add.row': 'Adicionar',
|
|
34
|
+
'default.group.name': 'novo grupo',
|
|
35
|
+
},
|
|
36
|
+
it: {
|
|
37
|
+
'label.title': 'Gruppi di regole del parser',
|
|
38
|
+
'table.column.rule': 'Regola',
|
|
39
|
+
'table.column.group': 'Gruppo',
|
|
40
|
+
'menu.import': 'Importa gruppi',
|
|
41
|
+
'menu.export': 'Esporta gruppi',
|
|
42
|
+
'menu.load.defaults': 'Carica predefiniti del parser',
|
|
43
|
+
'menu.close': 'Chiudi',
|
|
44
|
+
'modal.import.title': 'Importa gruppi',
|
|
45
|
+
'placeholder.input': 'Nome del gruppo',
|
|
46
|
+
'button.save.row': 'Salva',
|
|
47
|
+
'button.cancel.row': 'Annulla',
|
|
48
|
+
'button.edit.row': 'Modifica',
|
|
49
|
+
'button.delete.row': 'Elimina',
|
|
50
|
+
'button.add.row': 'Aggiungi',
|
|
51
|
+
'default.group.name': 'nuovo gruppo',
|
|
52
|
+
},
|
|
53
|
+
};
|
|
@@ -5,17 +5,17 @@ export const SentenceTexts = {
|
|
|
5
5
|
"label.tag": "Tag",
|
|
6
6
|
"label.morphemes": "Morphemes",
|
|
7
7
|
"label.empty": "-",
|
|
8
|
-
"label.tier.original": "
|
|
9
|
-
"label.tier.junction": "
|
|
10
|
-
"label.tier.segmentation": "
|
|
11
|
-
"label.tier.spelling": "
|
|
12
|
-
"label.tier.expansion": "
|
|
13
|
-
"label.tier.correction": "
|
|
14
|
-
"label.tier.punctuation": "
|
|
15
|
-
"label.tier.illegible": "
|
|
16
|
-
"label.tier.modernization": "
|
|
17
|
-
"label.tier.padronization": "
|
|
18
|
-
"label.tier.inflection": "
|
|
8
|
+
"label.tier.original": "Original",
|
|
9
|
+
"label.tier.junction": "Junction",
|
|
10
|
+
"label.tier.segmentation": "Segmentation",
|
|
11
|
+
"label.tier.spelling": "Spelling",
|
|
12
|
+
"label.tier.expansion": "Expansion",
|
|
13
|
+
"label.tier.correction": "Correction",
|
|
14
|
+
"label.tier.punctuation": "Punctuation",
|
|
15
|
+
"label.tier.illegible": "Illegible",
|
|
16
|
+
"label.tier.modernization": "Modernization",
|
|
17
|
+
"label.tier.padronization": "Standardization",
|
|
18
|
+
"label.tier.inflection": "Inflection",
|
|
19
19
|
},
|
|
20
20
|
"pt-BR": {
|
|
21
21
|
"label.word": "Palavra",
|
|
@@ -23,17 +23,17 @@ export const SentenceTexts = {
|
|
|
23
23
|
"label.tag": "Etiqueta",
|
|
24
24
|
"label.morphemes": "Morfemas",
|
|
25
25
|
"label.empty": "-",
|
|
26
|
-
"label.tier.original": "
|
|
27
|
-
"label.tier.junction": "
|
|
28
|
-
"label.tier.segmentation": "
|
|
29
|
-
"label.tier.spelling": "
|
|
30
|
-
"label.tier.expansion": "
|
|
31
|
-
"label.tier.correction": "
|
|
32
|
-
"label.tier.punctuation": "
|
|
33
|
-
"label.tier.illegible": "
|
|
34
|
-
"label.tier.modernization": "
|
|
35
|
-
"label.tier.padronization": "
|
|
36
|
-
"label.tier.inflection": "
|
|
26
|
+
"label.tier.original": "Original",
|
|
27
|
+
"label.tier.junction": "Junção",
|
|
28
|
+
"label.tier.segmentation": "Segmentação",
|
|
29
|
+
"label.tier.spelling": "Grafia",
|
|
30
|
+
"label.tier.expansion": "Expansão",
|
|
31
|
+
"label.tier.correction": "Correção",
|
|
32
|
+
"label.tier.punctuation": "Pontuação",
|
|
33
|
+
"label.tier.illegible": "Ilegível",
|
|
34
|
+
"label.tier.modernization": "Modernização",
|
|
35
|
+
"label.tier.padronization": "Padronização",
|
|
36
|
+
"label.tier.inflection": "Flexão",
|
|
37
37
|
},
|
|
38
38
|
it: {
|
|
39
39
|
"label.word": "Parola",
|
|
@@ -41,16 +41,16 @@ export const SentenceTexts = {
|
|
|
41
41
|
"label.tag": "Etichetta",
|
|
42
42
|
"label.morphemes": "Morfemi",
|
|
43
43
|
"label.empty": "-",
|
|
44
|
-
"label.tier.original": "
|
|
45
|
-
"label.tier.junction": "
|
|
46
|
-
"label.tier.segmentation": "
|
|
47
|
-
"label.tier.spelling": "
|
|
48
|
-
"label.tier.expansion": "
|
|
49
|
-
"label.tier.correction": "
|
|
50
|
-
"label.tier.punctuation": "
|
|
51
|
-
"label.tier.illegible": "
|
|
52
|
-
"label.tier.modernization": "
|
|
53
|
-
"label.tier.padronization": "
|
|
54
|
-
"label.tier.inflection": "
|
|
44
|
+
"label.tier.original": "Originale",
|
|
45
|
+
"label.tier.junction": "Giunzione",
|
|
46
|
+
"label.tier.segmentation": "Segmentazione",
|
|
47
|
+
"label.tier.spelling": "Ortografia",
|
|
48
|
+
"label.tier.expansion": "Espansione",
|
|
49
|
+
"label.tier.correction": "Correzione",
|
|
50
|
+
"label.tier.punctuation": "Punteggiatura",
|
|
51
|
+
"label.tier.illegible": "Illeggibile",
|
|
52
|
+
"label.tier.modernization": "Modernizzazione",
|
|
53
|
+
"label.tier.padronization": "Standardizzazione",
|
|
54
|
+
"label.tier.inflection": "Flessione",
|
|
55
55
|
},
|
|
56
56
|
};
|
|
@@ -1,9 +1,9 @@
|
|
|
1
|
-
import
|
|
1
|
+
import authApi from '../auth/authApi';
|
|
2
2
|
function updateLiveTour(liveTour) {
|
|
3
|
-
return
|
|
3
|
+
return authApi.patch('/profile/live-tour', { liveTour });
|
|
4
4
|
}
|
|
5
5
|
function updateSettings(settings) {
|
|
6
|
-
return
|
|
6
|
+
return authApi.patch('/profile/settings', { settings });
|
|
7
7
|
}
|
|
8
8
|
const ProfileService = {
|
|
9
9
|
updateLiveTour,
|
|
@@ -4,4 +4,4 @@ export { buildDriveSteps, createTourDriver, hasMatchingWorkflow, } from './drive
|
|
|
4
4
|
export { localizeKnowledgeBase, pickLocalizedString, resolveTourLocale, TOUR_FALLBACK_LOCALE, TOUR_LOCALES, } from './localizeKnowledgeBase';
|
|
5
5
|
export { resolveAnchor, resolveAnchorById, waitForSelector, } from './anchorResolver';
|
|
6
6
|
export type { AnchorSelector, KnowledgeBase, KnowledgeBaseRaw, LocalizedString, PopoverSide, ResolveKnowledgeBaseUrl, TourAnchor, TourButtonLabels, TourStep, TourStepCopy, TourStepStructural, TourWorkflow, TourWorkflowRaw, UseDriverTourOptions, } from './types';
|
|
7
|
-
export type { Driver } from 'driver.js';
|
|
7
|
+
export type { DriveStep, Driver } from 'driver.js';
|
|
@@ -1,6 +1,9 @@
|
|
|
1
1
|
export type CorpusImage = {
|
|
2
2
|
type?: CorpusImageType;
|
|
3
|
+
/** Relative storage key (or legacy absolute). Prefer url for browser src. */
|
|
3
4
|
path: string;
|
|
5
|
+
/** Absolute HTTP URL when returned from API serializers. */
|
|
6
|
+
url?: string;
|
|
4
7
|
};
|
|
5
8
|
export type CorpusImageType = 'COVER' | 'SLIDESHOW';
|
|
6
9
|
export declare const CorpusImageTypeNames: {
|
|
@@ -2,6 +2,7 @@ import Access, { AccessMode } from '../../configs/types/Access';
|
|
|
2
2
|
import { Corpus } from '../../configs/types/Corpus';
|
|
3
3
|
import { AppPage } from '../../common';
|
|
4
4
|
import { AccessUsersFilter } from './AccessUsers/AccessUsersFilter';
|
|
5
|
+
import { CorpusGroup } from './types/CorpusGroup';
|
|
5
6
|
import { AccessResponse, UserAccessRequest, UserAccessResponse } from './types/UserAccessResponse';
|
|
6
7
|
import { PortalInformationRequest } from './types/PortalInformation';
|
|
7
8
|
declare function updatePortal(user: string, corpus: string, request: PortalInformationRequest): Promise<import("axios").AxiosResponse<any, {
|
|
@@ -38,6 +39,11 @@ declare function searchAll(text: string): Promise<import("axios").AxiosResponse<
|
|
|
38
39
|
declare function findCorporaByUser(uid: string): Promise<import("axios").AxiosResponse<Corpus[], any, {}, any>>;
|
|
39
40
|
declare function findParsersByUser(uid: string): Promise<import("axios").AxiosResponse<AccessResponse[], any, {}, any>>;
|
|
40
41
|
declare function findLexiconsByUser(uid: string): Promise<import("axios").AxiosResponse<AccessResponse[], any, {}, any>>;
|
|
42
|
+
declare function listGroups(corpus: string): Promise<import("axios").AxiosResponse<CorpusGroup[], any, {}, any>>;
|
|
43
|
+
declare function addGroupMember(corpus: string, groupUid: string, userUid: string): Promise<import("axios").AxiosResponse<any, {
|
|
44
|
+
user: string;
|
|
45
|
+
}, {}, any>>;
|
|
46
|
+
declare function removeGroupMember(corpus: string, groupUid: string, userUid: string): Promise<import("axios").AxiosResponse<any, any, {}, any>>;
|
|
41
47
|
declare const AccessControlService: {
|
|
42
48
|
page: typeof page;
|
|
43
49
|
revoke: typeof revoke;
|
|
@@ -49,5 +55,8 @@ declare const AccessControlService: {
|
|
|
49
55
|
findCorporaByUser: typeof findCorporaByUser;
|
|
50
56
|
findParsersByUser: typeof findParsersByUser;
|
|
51
57
|
findLexiconsByUser: typeof findLexiconsByUser;
|
|
58
|
+
listGroups: typeof listGroups;
|
|
59
|
+
addGroupMember: typeof addGroupMember;
|
|
60
|
+
removeGroupMember: typeof removeGroupMember;
|
|
52
61
|
};
|
|
53
62
|
export default AccessControlService;
|