tycho-components 0.28.10 → 0.29.0
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/dist/configs/Localization.d.ts +2 -2
- package/dist/configs/Localization.js +21 -39
- package/dist/configs/index.d.ts +2 -0
- package/dist/configs/index.js +1 -0
- package/dist/configs/types/Document.d.ts +3 -3
- package/dist/configs/types/Document.js +4 -4
- package/dist/features/index.d.ts +15 -32
- package/dist/features/index.js +11 -21
- package/package.json +3 -3
- package/dist/features/DocumentDrawer/Actions/Actions.d.ts +0 -17
- package/dist/features/DocumentDrawer/Actions/Actions.js +0 -121
- package/dist/features/DocumentDrawer/Actions/PageRemoveSentences.d.ts +0 -7
- package/dist/features/DocumentDrawer/Actions/PageRemoveSentences.js +0 -23
- package/dist/features/DocumentDrawer/Actions/index.d.ts +0 -2
- package/dist/features/DocumentDrawer/Actions/index.js +0 -2
- package/dist/features/DocumentDrawer/Actions/style.scss +0 -0
- package/dist/features/DocumentDrawer/AutomaticParser/AutomaticParser.d.ts +0 -8
- package/dist/features/DocumentDrawer/AutomaticParser/AutomaticParser.js +0 -96
- package/dist/features/DocumentDrawer/AutomaticParser/index.d.ts +0 -2
- package/dist/features/DocumentDrawer/AutomaticParser/index.js +0 -2
- package/dist/features/DocumentDrawer/AutomaticParser/style.scss +0 -10
- package/dist/features/DocumentDrawer/DocumentDrawer.d.ts +0 -19
- package/dist/features/DocumentDrawer/DocumentDrawer.js +0 -102
- package/dist/features/DocumentDrawer/DocumentEdit/DocumentEdit.d.ts +0 -35
- package/dist/features/DocumentDrawer/DocumentEdit/DocumentEdit.js +0 -207
- package/dist/features/DocumentDrawer/DocumentEdit/index.d.ts +0 -2
- package/dist/features/DocumentDrawer/DocumentEdit/index.js +0 -1
- package/dist/features/DocumentDrawer/DocumentExport/DocumentExport.d.ts +0 -7
- package/dist/features/DocumentDrawer/DocumentExport/DocumentExport.js +0 -83
- package/dist/features/DocumentDrawer/DocumentExport/ExportInvalidSentences.d.ts +0 -7
- package/dist/features/DocumentDrawer/DocumentExport/ExportInvalidSentences.js +0 -12
- package/dist/features/DocumentDrawer/DocumentExport/ExportTxtTierModal.d.ts +0 -8
- package/dist/features/DocumentDrawer/DocumentExport/ExportTxtTierModal.js +0 -14
- package/dist/features/DocumentDrawer/DocumentExport/index.d.ts +0 -2
- package/dist/features/DocumentDrawer/DocumentExport/index.js +0 -2
- package/dist/features/DocumentDrawer/DocumentExport/style.scss +0 -49
- package/dist/features/DocumentDrawer/DocumentLexicon/DocumentLexicon.d.ts +0 -7
- package/dist/features/DocumentDrawer/DocumentLexicon/DocumentLexicon.js +0 -22
- package/dist/features/DocumentDrawer/DocumentLexicon/index.d.ts +0 -2
- package/dist/features/DocumentDrawer/DocumentLexicon/index.js +0 -2
- package/dist/features/DocumentDrawer/DocumentLexicon/style.scss +0 -38
- package/dist/features/DocumentDrawer/DocumentRemove/DocumentRemove.d.ts +0 -12
- package/dist/features/DocumentDrawer/DocumentRemove/DocumentRemove.js +0 -28
- package/dist/features/DocumentDrawer/DocumentRemove/index.d.ts +0 -2
- package/dist/features/DocumentDrawer/DocumentRemove/index.js +0 -2
- package/dist/features/DocumentDrawer/DocumentRemove/style.scss +0 -0
- package/dist/features/DocumentDrawer/Github/Github.d.ts +0 -8
- package/dist/features/DocumentDrawer/Github/Github.js +0 -11
- package/dist/features/DocumentDrawer/Github/GithubCommit.d.ts +0 -8
- package/dist/features/DocumentDrawer/Github/GithubCommit.js +0 -86
- package/dist/features/DocumentDrawer/Github/index.d.ts +0 -2
- package/dist/features/DocumentDrawer/Github/index.js +0 -2
- package/dist/features/DocumentDrawer/Github/style.scss +0 -31
- package/dist/features/DocumentDrawer/ImageGallery/GalleryImage.d.ts +0 -8
- package/dist/features/DocumentDrawer/ImageGallery/GalleryImage.js +0 -5
- package/dist/features/DocumentDrawer/ImageGallery/GalleryRemoval.d.ts +0 -9
- package/dist/features/DocumentDrawer/ImageGallery/GalleryRemoval.js +0 -14
- package/dist/features/DocumentDrawer/ImageGallery/ImageGallery.d.ts +0 -9
- package/dist/features/DocumentDrawer/ImageGallery/ImageGallery.js +0 -45
- package/dist/features/DocumentDrawer/ImageGallery/index.d.ts +0 -2
- package/dist/features/DocumentDrawer/ImageGallery/index.js +0 -2
- package/dist/features/DocumentDrawer/ImageGallery/style.scss +0 -41
- package/dist/features/DocumentDrawer/Inconsistency/Inconsistency.d.ts +0 -8
- package/dist/features/DocumentDrawer/Inconsistency/Inconsistency.js +0 -18
- package/dist/features/DocumentDrawer/Inconsistency/InconsistencyActions.d.ts +0 -7
- package/dist/features/DocumentDrawer/Inconsistency/InconsistencyActions.js +0 -77
- package/dist/features/DocumentDrawer/Inconsistency/InconsistencyResponse.d.ts +0 -31
- package/dist/features/DocumentDrawer/Inconsistency/InconsistencyResponse.js +0 -39
- package/dist/features/DocumentDrawer/Inconsistency/InconsistencyService.d.ts +0 -6
- package/dist/features/DocumentDrawer/Inconsistency/InconsistencyService.js +0 -8
- package/dist/features/DocumentDrawer/Inconsistency/style.scss +0 -64
- package/dist/features/DocumentDrawer/Info/Info.d.ts +0 -10
- package/dist/features/DocumentDrawer/Info/Info.js +0 -16
- package/dist/features/DocumentDrawer/Info/index.d.ts +0 -2
- package/dist/features/DocumentDrawer/Info/index.js +0 -2
- package/dist/features/DocumentDrawer/Info/style.scss +0 -24
- package/dist/features/DocumentDrawer/Metadata/DocumentMetadata/DocumentMetadata.d.ts +0 -8
- package/dist/features/DocumentDrawer/Metadata/DocumentMetadata/DocumentMetadata.js +0 -60
- package/dist/features/DocumentDrawer/Metadata/DocumentMetadata/index.d.ts +0 -2
- package/dist/features/DocumentDrawer/Metadata/DocumentMetadata/index.js +0 -2
- package/dist/features/DocumentDrawer/Metadata/DocumentMetadata/style.scss +0 -7
- package/dist/features/DocumentDrawer/Metadata/DocumentMetadataEdit/DocumentMetadataEdit.d.ts +0 -11
- package/dist/features/DocumentDrawer/Metadata/DocumentMetadataEdit/DocumentMetadataEdit.js +0 -195
- package/dist/features/DocumentDrawer/Metadata/DocumentMetadataEdit/index.d.ts +0 -2
- package/dist/features/DocumentDrawer/Metadata/DocumentMetadataEdit/index.js +0 -2
- package/dist/features/DocumentDrawer/Metadata/DocumentMetadataEdit/style.scss +0 -58
- package/dist/features/DocumentDrawer/PageStatusComponent/PageStatusComponent.d.ts +0 -9
- package/dist/features/DocumentDrawer/PageStatusComponent/PageStatusComponent.js +0 -30
- package/dist/features/DocumentDrawer/PageStatusComponent/index.d.ts +0 -2
- package/dist/features/DocumentDrawer/PageStatusComponent/index.js +0 -2
- package/dist/features/DocumentDrawer/PageStatusComponent/style.scss +0 -19
- package/dist/features/DocumentDrawer/Pages/BoxRemoval.d.ts +0 -10
- package/dist/features/DocumentDrawer/Pages/BoxRemoval.js +0 -14
- package/dist/features/DocumentDrawer/Pages/Boxes.d.ts +0 -10
- package/dist/features/DocumentDrawer/Pages/Boxes.js +0 -65
- package/dist/features/DocumentDrawer/Pages/PageRemoval.d.ts +0 -10
- package/dist/features/DocumentDrawer/Pages/PageRemoval.js +0 -15
- package/dist/features/DocumentDrawer/Pages/Pages.d.ts +0 -10
- package/dist/features/DocumentDrawer/Pages/Pages.js +0 -67
- package/dist/features/DocumentDrawer/Pages/style.scss +0 -48
- package/dist/features/DocumentDrawer/deps.d.ts +0 -28
- package/dist/features/DocumentDrawer/deps.js +0 -20
- package/dist/features/DocumentDrawer/functions/FileUtils.d.ts +0 -4
- package/dist/features/DocumentDrawer/functions/FileUtils.js +0 -8
- package/dist/features/DocumentDrawer/functions/MetadataUtils.d.ts +0 -41
- package/dist/features/DocumentDrawer/functions/MetadataUtils.js +0 -192
- package/dist/features/DocumentDrawer/index.d.ts +0 -7
- package/dist/features/DocumentDrawer/index.js +0 -4
- package/dist/features/DocumentDrawer/localization/ActionsTexts.d.ts +0 -119
- package/dist/features/DocumentDrawer/localization/ActionsTexts.js +0 -119
- package/dist/features/DocumentDrawer/localization/DocumentTexts.d.ts +0 -137
- package/dist/features/DocumentDrawer/localization/DocumentTexts.js +0 -137
- package/dist/features/DocumentDrawer/localization/ExportTexts.d.ts +0 -74
- package/dist/features/DocumentDrawer/localization/ExportTexts.js +0 -74
- package/dist/features/DocumentDrawer/localization/GithubTexts.d.ts +0 -35
- package/dist/features/DocumentDrawer/localization/GithubTexts.js +0 -35
- package/dist/features/DocumentDrawer/localization/InconsistencyTexts.d.ts +0 -101
- package/dist/features/DocumentDrawer/localization/InconsistencyTexts.js +0 -101
- package/dist/features/DocumentDrawer/localization/PageTexts.d.ts +0 -45
- package/dist/features/DocumentDrawer/localization/PageTexts.js +0 -45
- package/dist/features/DocumentDrawer/localization/ParserTexts.d.ts +0 -30
- package/dist/features/DocumentDrawer/localization/ParserTexts.js +0 -30
- package/dist/features/DocumentDrawer/services/AutomaticParserService.d.ts +0 -8
- package/dist/features/DocumentDrawer/services/AutomaticParserService.js +0 -9
- package/dist/features/DocumentDrawer/services/BoundingBoxService.d.ts +0 -11
- package/dist/features/DocumentDrawer/services/BoundingBoxService.js +0 -20
- package/dist/features/DocumentDrawer/services/DocumentService.d.ts +0 -13
- package/dist/features/DocumentDrawer/services/DocumentService.js +0 -20
- package/dist/features/DocumentDrawer/services/ExportService.d.ts +0 -11
- package/dist/features/DocumentDrawer/services/ExportService.js +0 -22
- package/dist/features/DocumentDrawer/services/GithubService.d.ts +0 -8
- package/dist/features/DocumentDrawer/services/GithubService.js +0 -12
- package/dist/features/DocumentDrawer/services/ImageService.d.ts +0 -8
- package/dist/features/DocumentDrawer/services/ImageService.js +0 -12
- package/dist/features/DocumentDrawer/services/LexiconService.d.ts +0 -7
- package/dist/features/DocumentDrawer/services/LexiconService.js +0 -6
- package/dist/features/DocumentDrawer/services/MetadataService.d.ts +0 -11
- package/dist/features/DocumentDrawer/services/MetadataService.js +0 -18
- package/dist/features/DocumentDrawer/services/PageService.d.ts +0 -13
- package/dist/features/DocumentDrawer/services/PageService.js +0 -19
- package/dist/features/DocumentDrawer/services/SentenceService.d.ts +0 -6
- package/dist/features/DocumentDrawer/services/SentenceService.js +0 -6
- package/dist/features/DocumentDrawer/style.scss +0 -192
- package/dist/features/DocumentDrawer/types/BoundingBox.d.ts +0 -8
- package/dist/features/DocumentDrawer/types/BoundingBox.js +0 -1
- package/dist/features/DocumentDrawer/types/CatalogSearchFilter.d.ts +0 -15
- package/dist/features/DocumentDrawer/types/CatalogSearchFilter.js +0 -16
- package/dist/features/DocumentDrawer/types/Category.d.ts +0 -16
- package/dist/features/DocumentDrawer/types/Category.js +0 -5
- package/dist/features/DocumentDrawer/types/DocumentDrawerActionId.d.ts +0 -3
- package/dist/features/DocumentDrawer/types/DocumentDrawerActionId.js +0 -14
- package/dist/features/DocumentDrawer/types/DocumentStatus.d.ts +0 -7
- package/dist/features/DocumentDrawer/types/DocumentStatus.js +0 -6
- package/dist/features/DocumentDrawer/types/DocumentUpdateRequest.d.ts +0 -13
- package/dist/features/DocumentDrawer/types/DocumentUpdateRequest.js +0 -1
- package/dist/features/DocumentDrawer/types/Export.d.ts +0 -30
- package/dist/features/DocumentDrawer/types/Export.js +0 -46
- package/dist/features/DocumentDrawer/types/Lexicon.d.ts +0 -6
- package/dist/features/DocumentDrawer/types/Lexicon.js +0 -1
- package/dist/features/DocumentDrawer/types/LexiconResponse.d.ts +0 -6
- package/dist/features/DocumentDrawer/types/LexiconResponse.js +0 -1
- package/dist/features/DocumentDrawer/types/Metadata.d.ts +0 -22
- package/dist/features/DocumentDrawer/types/Metadata.js +0 -8
- package/dist/features/DocumentDrawer/types/Page.d.ts +0 -10
- package/dist/features/DocumentDrawer/types/Page.js +0 -1
- package/dist/features/DocumentDrawer/types/PageStatus.d.ts +0 -9
- package/dist/features/DocumentDrawer/types/PageStatus.js +0 -8
- package/dist/features/DocumentDrawer/types/Parser.d.ts +0 -18
- package/dist/features/DocumentDrawer/types/Parser.js +0 -21
- package/dist/features/DocumentDrawer/types/Query.d.ts +0 -6
- package/dist/features/DocumentDrawer/types/Query.js +0 -1
- package/dist/features/DocumentDrawer/types/Sentence.d.ts +0 -4
- package/dist/features/DocumentDrawer/types/Sentence.js +0 -1
- package/dist/features/Participants/ParticipantCreate/ParticipantCreate.d.ts +0 -8
- package/dist/features/Participants/ParticipantCreate/ParticipantCreate.js +0 -44
- package/dist/features/Participants/ParticipantCreate/index.d.ts +0 -2
- package/dist/features/Participants/ParticipantCreate/index.js +0 -2
- package/dist/features/Participants/ParticipantRemove/ParticipantRemove.d.ts +0 -11
- package/dist/features/Participants/ParticipantRemove/ParticipantRemove.js +0 -39
- package/dist/features/Participants/ParticipantRemove/index.d.ts +0 -2
- package/dist/features/Participants/ParticipantRemove/index.js +0 -2
- package/dist/features/Participants/ParticipantRemove/style.scss +0 -15
- package/dist/features/Participants/ParticipantService.d.ts +0 -10
- package/dist/features/Participants/ParticipantService.js +0 -19
- package/dist/features/Participants/Participants.d.ts +0 -10
- package/dist/features/Participants/Participants.js +0 -134
- package/dist/features/Participants/index.d.ts +0 -2
- package/dist/features/Participants/index.js +0 -2
- package/dist/features/Participants/style.scss +0 -51
- package/dist/features/SentenceSplit/SentenceSplit.d.ts +0 -33
- package/dist/features/SentenceSplit/SentenceSplit.js +0 -191
- package/dist/features/SentenceSplit/SentenceSplitAudio/SentenceSplitAudioStep.d.ts +0 -9
- package/dist/features/SentenceSplit/SentenceSplitAudio/SentenceSplitAudioStep.js +0 -38
- package/dist/features/SentenceSplit/SentenceSplitAudio/index.d.ts +0 -2
- package/dist/features/SentenceSplit/SentenceSplitAudio/index.js +0 -2
- package/dist/features/SentenceSplit/SentenceSplitAudio/style.scss +0 -29
- package/dist/features/SentenceSplit/SentenceSplitChoose/SentenceSplitChoose.d.ts +0 -10
- package/dist/features/SentenceSplit/SentenceSplitChoose/SentenceSplitChoose.js +0 -23
- package/dist/features/SentenceSplit/SentenceSplitChoose/index.d.ts +0 -2
- package/dist/features/SentenceSplit/SentenceSplitChoose/index.js +0 -2
- package/dist/features/SentenceSplit/SentenceSplitChoose/style.scss +0 -25
- package/dist/features/SentenceSplit/SentenceSplitCommentUtils.d.ts +0 -21
- package/dist/features/SentenceSplit/SentenceSplitCommentUtils.js +0 -77
- package/dist/features/SentenceSplit/SentenceSplitComments/SentenceSplitCommentBlock.d.ts +0 -7
- package/dist/features/SentenceSplit/SentenceSplitComments/SentenceSplitCommentBlock.js +0 -6
- package/dist/features/SentenceSplit/SentenceSplitComments/SentenceSplitComments.d.ts +0 -8
- package/dist/features/SentenceSplit/SentenceSplitComments/SentenceSplitComments.js +0 -37
- package/dist/features/SentenceSplit/SentenceSplitComments/SentenceSplitCommentsStep.d.ts +0 -11
- package/dist/features/SentenceSplit/SentenceSplitComments/SentenceSplitCommentsStep.js +0 -72
- package/dist/features/SentenceSplit/SentenceSplitComments/SentenceSplitCommentsWords.d.ts +0 -9
- package/dist/features/SentenceSplit/SentenceSplitComments/SentenceSplitCommentsWords.js +0 -15
- package/dist/features/SentenceSplit/SentenceSplitComments/index.d.ts +0 -2
- package/dist/features/SentenceSplit/SentenceSplitComments/index.js +0 -2
- package/dist/features/SentenceSplit/SentenceSplitComments/style.scss +0 -126
- package/dist/features/SentenceSplit/SentenceSplitPreview/SentenceSplitPreview.d.ts +0 -10
- package/dist/features/SentenceSplit/SentenceSplitPreview/SentenceSplitPreview.js +0 -10
- package/dist/features/SentenceSplit/SentenceSplitPreview/SentenceSplitPreviewStep.d.ts +0 -11
- package/dist/features/SentenceSplit/SentenceSplitPreview/SentenceSplitPreviewStep.js +0 -24
- package/dist/features/SentenceSplit/SentenceSplitPreview/index.d.ts +0 -2
- package/dist/features/SentenceSplit/SentenceSplitPreview/index.js +0 -2
- package/dist/features/SentenceSplit/SentenceSplitPreview/style.scss +0 -24
- package/dist/features/SentenceSplit/SentenceSplitService.d.ts +0 -13
- package/dist/features/SentenceSplit/SentenceSplitService.js +0 -13
- package/dist/features/SentenceSplit/SentenceSplitTranslations/SentenceSplitTranslations.d.ts +0 -12
- package/dist/features/SentenceSplit/SentenceSplitTranslations/SentenceSplitTranslations.js +0 -15
- package/dist/features/SentenceSplit/SentenceSplitTranslations/SentenceSplitTranslationsStep.d.ts +0 -10
- package/dist/features/SentenceSplit/SentenceSplitTranslations/SentenceSplitTranslationsStep.js +0 -8
- package/dist/features/SentenceSplit/SentenceSplitTranslations/index.d.ts +0 -2
- package/dist/features/SentenceSplit/SentenceSplitTranslations/index.js +0 -2
- package/dist/features/SentenceSplit/SentenceSplitTranslations/style.scss +0 -23
- package/dist/features/SentenceSplit/SentenceSplitUtils.d.ts +0 -6
- package/dist/features/SentenceSplit/SentenceSplitUtils.js +0 -17
- package/dist/features/SentenceSplit/index.d.ts +0 -2
- package/dist/features/SentenceSplit/index.js +0 -2
- package/dist/features/SentenceSplit/localization/SentenceSplitTexts.d.ts +0 -107
- package/dist/features/SentenceSplit/localization/SentenceSplitTexts.js +0 -107
- package/dist/features/SentenceSplit/style.scss +0 -173
- package/dist/features/SentenceSplit/types/Language.d.ts +0 -6
- package/dist/features/SentenceSplit/types/Language.js +0 -1
- package/dist/features/SentenceSplit/types/SentenceSplitRequest.d.ts +0 -20
- package/dist/features/SentenceSplit/types/SentenceSplitRequest.js +0 -16
- /package/dist/{features/Participants → configs}/types/Participant.d.ts +0 -0
- /package/dist/{features/Participants → configs}/types/Participant.js +0 -0
|
@@ -1,101 +0,0 @@
|
|
|
1
|
-
export declare const InconsistencyTexts: {
|
|
2
|
-
en: {
|
|
3
|
-
'modal.inconsistency.title': string;
|
|
4
|
-
'modal.inconsistency.description': string;
|
|
5
|
-
'modal.inconsistency.warning': string;
|
|
6
|
-
'type.label.attributes': string;
|
|
7
|
-
'type.label.junction': string;
|
|
8
|
-
'type.label.segmentation': string;
|
|
9
|
-
'type.label.legacySegmented': string;
|
|
10
|
-
'type.label.duplicateEditions': string;
|
|
11
|
-
'type.label.splitters': string;
|
|
12
|
-
'type.label.editions': string;
|
|
13
|
-
'action.label.automatic': string;
|
|
14
|
-
'action.label.auto': string;
|
|
15
|
-
'action.label.manual': string;
|
|
16
|
-
'severity.label.high': string;
|
|
17
|
-
'severity.label.medium': string;
|
|
18
|
-
'severity.label.low': string;
|
|
19
|
-
'inconsistency.label.details': string;
|
|
20
|
-
'inconsistency.label.sentence': string;
|
|
21
|
-
'inconsistency.label.words': string;
|
|
22
|
-
'table.header.type': string;
|
|
23
|
-
'table.header.words': string;
|
|
24
|
-
'table.header.severity': string;
|
|
25
|
-
'table.header.action': string;
|
|
26
|
-
'actions.label.inconsistency': string;
|
|
27
|
-
'actions.label.inconsistency.description': string;
|
|
28
|
-
'label.checking': string;
|
|
29
|
-
'label.consistent': string;
|
|
30
|
-
'action.label.true': string;
|
|
31
|
-
'action.label.false': string;
|
|
32
|
-
'action.label.page': string;
|
|
33
|
-
'modal.button.automatic': string;
|
|
34
|
-
};
|
|
35
|
-
'pt-BR': {
|
|
36
|
-
'modal.inconsistency.title': string;
|
|
37
|
-
'modal.inconsistency.description': string;
|
|
38
|
-
'modal.inconsistency.warning': string;
|
|
39
|
-
'type.label.attributes': string;
|
|
40
|
-
'type.label.junction': string;
|
|
41
|
-
'type.label.segmentation': string;
|
|
42
|
-
'type.label.legacySegmented': string;
|
|
43
|
-
'type.label.duplicateEditions': string;
|
|
44
|
-
'type.label.splitters': string;
|
|
45
|
-
'type.label.editions': string;
|
|
46
|
-
'action.label.automatic': string;
|
|
47
|
-
'action.label.auto': string;
|
|
48
|
-
'action.label.manual': string;
|
|
49
|
-
'severity.label.high': string;
|
|
50
|
-
'severity.label.medium': string;
|
|
51
|
-
'severity.label.low': string;
|
|
52
|
-
'inconsistency.label.details': string;
|
|
53
|
-
'inconsistency.label.sentence': string;
|
|
54
|
-
'inconsistency.label.words': string;
|
|
55
|
-
'table.header.type': string;
|
|
56
|
-
'table.header.words': string;
|
|
57
|
-
'table.header.severity': string;
|
|
58
|
-
'table.header.action': string;
|
|
59
|
-
'actions.label.inconsistency': string;
|
|
60
|
-
'actions.label.inconsistency.description': string;
|
|
61
|
-
'label.checking': string;
|
|
62
|
-
'label.consistent': string;
|
|
63
|
-
'action.label.true': string;
|
|
64
|
-
'action.label.false': string;
|
|
65
|
-
'action.label.page': string;
|
|
66
|
-
'modal.button.automatic': string;
|
|
67
|
-
};
|
|
68
|
-
it: {
|
|
69
|
-
'modal.inconsistency.title': string;
|
|
70
|
-
'modal.inconsistency.description': string;
|
|
71
|
-
'modal.inconsistency.warning': string;
|
|
72
|
-
'type.label.attributes': string;
|
|
73
|
-
'type.label.junction': string;
|
|
74
|
-
'type.label.segmentation': string;
|
|
75
|
-
'type.label.legacySegmented': string;
|
|
76
|
-
'type.label.duplicateEditions': string;
|
|
77
|
-
'type.label.splitters': string;
|
|
78
|
-
'type.label.editions': string;
|
|
79
|
-
'action.label.automatic': string;
|
|
80
|
-
'action.label.auto': string;
|
|
81
|
-
'action.label.manual': string;
|
|
82
|
-
'severity.label.high': string;
|
|
83
|
-
'severity.label.medium': string;
|
|
84
|
-
'severity.label.low': string;
|
|
85
|
-
'inconsistency.label.details': string;
|
|
86
|
-
'inconsistency.label.sentence': string;
|
|
87
|
-
'inconsistency.label.words': string;
|
|
88
|
-
'table.header.type': string;
|
|
89
|
-
'table.header.words': string;
|
|
90
|
-
'table.header.severity': string;
|
|
91
|
-
'table.header.action': string;
|
|
92
|
-
'actions.label.inconsistency': string;
|
|
93
|
-
'actions.label.inconsistency.description': string;
|
|
94
|
-
'label.checking': string;
|
|
95
|
-
'label.consistent': string;
|
|
96
|
-
'action.label.true': string;
|
|
97
|
-
'action.label.false': string;
|
|
98
|
-
'action.label.page': string;
|
|
99
|
-
'modal.button.automatic': string;
|
|
100
|
-
};
|
|
101
|
-
};
|
|
@@ -1,101 +0,0 @@
|
|
|
1
|
-
export const InconsistencyTexts = {
|
|
2
|
-
en: {
|
|
3
|
-
'modal.inconsistency.title': 'Inconsistency check',
|
|
4
|
-
'modal.inconsistency.description': 'Inconsistencies have been detected in this page, and it is highly recommended that you address them before continuing to work on it. Some inconsistencies may be automatically corrected, including legacy segmentation data and duplicate editions. Sentences containing junctions and segmentations must be checked individually.',
|
|
5
|
-
'modal.inconsistency.warning': 'To fix the inconsistencies, you need to check the information available at each page in the editor.',
|
|
6
|
-
'type.label.attributes': 'Word attributes',
|
|
7
|
-
'type.label.junction': 'Junctions',
|
|
8
|
-
'type.label.segmentation': 'Segmentations',
|
|
9
|
-
'type.label.legacySegmented': 'Legacy segmentation data',
|
|
10
|
-
'type.label.duplicateEditions': 'Duplicate editions',
|
|
11
|
-
'type.label.splitters': 'Word splitters',
|
|
12
|
-
'type.label.editions': 'Invalid editions',
|
|
13
|
-
'action.label.automatic': 'automatic',
|
|
14
|
-
'action.label.auto': 'automatic',
|
|
15
|
-
'action.label.manual': 'manual',
|
|
16
|
-
'severity.label.high': 'high',
|
|
17
|
-
'severity.label.medium': 'medium',
|
|
18
|
-
'severity.label.low': 'low',
|
|
19
|
-
'inconsistency.label.details': 'Inconsistency details',
|
|
20
|
-
'inconsistency.label.sentence': 'Sentence: ',
|
|
21
|
-
'inconsistency.label.words': 'Words: ',
|
|
22
|
-
'table.header.type': 'Type of inconsistency',
|
|
23
|
-
'table.header.words': 'Words',
|
|
24
|
-
'table.header.severity': 'Severity',
|
|
25
|
-
'table.header.action': 'Action',
|
|
26
|
-
'actions.label.inconsistency': 'Document is inconsistent',
|
|
27
|
-
'actions.label.inconsistency.description': 'Click here to check.',
|
|
28
|
-
'label.checking': 'Checking for inconsistencies',
|
|
29
|
-
'label.consistent': 'Your document has no inconsistencies',
|
|
30
|
-
'action.label.true': 'automatic',
|
|
31
|
-
'action.label.false': 'manual',
|
|
32
|
-
'action.label.page': 'Page: ',
|
|
33
|
-
'modal.button.automatic': 'Execute automatic fixes',
|
|
34
|
-
},
|
|
35
|
-
'pt-BR': {
|
|
36
|
-
'modal.inconsistency.title': 'Verificação de Inconsistência',
|
|
37
|
-
'modal.inconsistency.description': 'Foram detectadas inconsistências nesta página e é altamente recomendável que você as corrija antes de continuar trabalhando nela. Algumas inconsistências podem ser corrigidas automaticamente, incluindo dados legados de segmentação e edições duplicadas. Sentenças contendo junções e segmentações devem ser verificadas individualmente.',
|
|
38
|
-
'modal.inconsistency.warning': 'Para corrigir as inconsistências, você precisa verificar as informações disponíveis em cada página no editor.',
|
|
39
|
-
'type.label.attributes': 'Atributos da Palavra',
|
|
40
|
-
'type.label.junction': 'Junções',
|
|
41
|
-
'type.label.segmentation': 'Segmentações',
|
|
42
|
-
'type.label.legacySegmented': 'Dados legados de segmentação',
|
|
43
|
-
'type.label.duplicateEditions': 'Edições duplicadas',
|
|
44
|
-
'type.label.splitters': 'Splitters',
|
|
45
|
-
'type.label.editions': 'Edições inválidas',
|
|
46
|
-
'action.label.automatic': 'automático',
|
|
47
|
-
'action.label.auto': 'automático',
|
|
48
|
-
'action.label.manual': 'manual',
|
|
49
|
-
'severity.label.high': 'alta',
|
|
50
|
-
'severity.label.medium': 'média',
|
|
51
|
-
'severity.label.low': 'baixa',
|
|
52
|
-
'inconsistency.label.details': 'Detalhes da Inconsistência',
|
|
53
|
-
'inconsistency.label.sentence': 'Sentença: ',
|
|
54
|
-
'inconsistency.label.words': 'Palavras: ',
|
|
55
|
-
'table.header.type': 'Tipo de Inconsistência',
|
|
56
|
-
'table.header.words': 'Palavras',
|
|
57
|
-
'table.header.severity': 'Gravidade',
|
|
58
|
-
'table.header.action': 'Ação',
|
|
59
|
-
'actions.label.inconsistency': 'Este documento possui inconsistências',
|
|
60
|
-
'actions.label.inconsistency.description': 'Clique aqui para verificar.',
|
|
61
|
-
'label.checking': 'Verificando por inconsistências',
|
|
62
|
-
'label.consistent': 'O documento não possui inconsistências',
|
|
63
|
-
'action.label.true': 'automático',
|
|
64
|
-
'action.label.false': 'manual',
|
|
65
|
-
'action.label.page': 'Página: ',
|
|
66
|
-
'modal.button.automatic': 'Executar correções automáticas',
|
|
67
|
-
},
|
|
68
|
-
it: {
|
|
69
|
-
'modal.inconsistency.title': 'Controllo incoerenze',
|
|
70
|
-
'modal.inconsistency.description': 'Sono state rilevate incoerenze in questo documento. Si consiglia di risolverle prima di continuare. Alcune incoerenze possono essere corrette automaticamente, inclusi dati di segmentazione legacy ed edizioni duplicate. Le frasi con giunzioni e segmentazioni devono essere verificate singolarmente.',
|
|
71
|
-
'modal.inconsistency.warning': 'Per correggere le incoerenze, verificare le informazioni disponibili in ogni pagina nell\'editor.',
|
|
72
|
-
'type.label.attributes': 'Attributi delle parole',
|
|
73
|
-
'type.label.junction': 'Giunzioni',
|
|
74
|
-
'type.label.segmentation': 'Segmentazioni',
|
|
75
|
-
'type.label.legacySegmented': 'Dati di segmentazione legacy',
|
|
76
|
-
'type.label.duplicateEditions': 'Edizioni duplicate',
|
|
77
|
-
'type.label.splitters': 'Splitter di parole',
|
|
78
|
-
'type.label.editions': 'Edizioni non valide',
|
|
79
|
-
'action.label.automatic': 'automatico',
|
|
80
|
-
'action.label.auto': 'automatico',
|
|
81
|
-
'action.label.manual': 'manuale',
|
|
82
|
-
'severity.label.high': 'alta',
|
|
83
|
-
'severity.label.medium': 'media',
|
|
84
|
-
'severity.label.low': 'bassa',
|
|
85
|
-
'inconsistency.label.details': 'Dettagli incoerenze',
|
|
86
|
-
'inconsistency.label.sentence': 'Frase: ',
|
|
87
|
-
'inconsistency.label.words': 'Parole: ',
|
|
88
|
-
'table.header.type': 'Tipo di incoerenza',
|
|
89
|
-
'table.header.words': 'Parole',
|
|
90
|
-
'table.header.severity': 'Gravità',
|
|
91
|
-
'table.header.action': 'Azione',
|
|
92
|
-
'actions.label.inconsistency': 'Il documento presenta incoerenze',
|
|
93
|
-
'actions.label.inconsistency.description': 'Clicca qui per verificare.',
|
|
94
|
-
'label.checking': 'Verifica incoerenze in corso',
|
|
95
|
-
'label.consistent': 'Il documento non presenta incoerenze',
|
|
96
|
-
'action.label.true': 'automatico',
|
|
97
|
-
'action.label.false': 'manuale',
|
|
98
|
-
'action.label.page': 'Pagina: ',
|
|
99
|
-
'modal.button.automatic': 'Esegui correzioni automatiche',
|
|
100
|
-
},
|
|
101
|
-
};
|
|
@@ -1,45 +0,0 @@
|
|
|
1
|
-
declare const PageTexts: {
|
|
2
|
-
en: {
|
|
3
|
-
'pages.label.title': string;
|
|
4
|
-
'pages.tooltip.add': string;
|
|
5
|
-
'pages.label.card': string;
|
|
6
|
-
'pages.tooltip.remove': string;
|
|
7
|
-
'modal.title.page.remove': string;
|
|
8
|
-
'modal.description.page.remove': string;
|
|
9
|
-
'page.status.transcription': string;
|
|
10
|
-
'page.status.edition': string;
|
|
11
|
-
'page.status.review': string;
|
|
12
|
-
'page.status.completed': string;
|
|
13
|
-
'page.status.processing': string;
|
|
14
|
-
'page.status.error': string;
|
|
15
|
-
};
|
|
16
|
-
'pt-BR': {
|
|
17
|
-
'pages.label.title': string;
|
|
18
|
-
'pages.tooltip.add': string;
|
|
19
|
-
'pages.label.card': string;
|
|
20
|
-
'pages.tooltip.remove': string;
|
|
21
|
-
'modal.title.page.remove': string;
|
|
22
|
-
'modal.description.page.remove': string;
|
|
23
|
-
'page.status.transcription': string;
|
|
24
|
-
'page.status.edition': string;
|
|
25
|
-
'page.status.review': string;
|
|
26
|
-
'page.status.completed': string;
|
|
27
|
-
'page.status.processing': string;
|
|
28
|
-
'page.status.error': string;
|
|
29
|
-
};
|
|
30
|
-
it: {
|
|
31
|
-
'pages.label.title': string;
|
|
32
|
-
'pages.tooltip.add': string;
|
|
33
|
-
'pages.label.card': string;
|
|
34
|
-
'pages.tooltip.remove': string;
|
|
35
|
-
'modal.title.page.remove': string;
|
|
36
|
-
'modal.description.page.remove': string;
|
|
37
|
-
'page.status.transcription': string;
|
|
38
|
-
'page.status.edition': string;
|
|
39
|
-
'page.status.review': string;
|
|
40
|
-
'page.status.completed': string;
|
|
41
|
-
'page.status.processing': string;
|
|
42
|
-
'page.status.error': string;
|
|
43
|
-
};
|
|
44
|
-
};
|
|
45
|
-
export default PageTexts;
|
|
@@ -1,45 +0,0 @@
|
|
|
1
|
-
const PageTexts = {
|
|
2
|
-
en: {
|
|
3
|
-
'pages.label.title': 'Pages',
|
|
4
|
-
'pages.tooltip.add': 'Add page',
|
|
5
|
-
'pages.label.card': 'Page',
|
|
6
|
-
'pages.tooltip.remove': 'Remove page',
|
|
7
|
-
'modal.title.page.remove': 'Confirm removal',
|
|
8
|
-
'modal.description.page.remove': 'Are you sure you want to delete this page?',
|
|
9
|
-
'page.status.transcription': 'Transcription',
|
|
10
|
-
'page.status.edition': 'Edition',
|
|
11
|
-
'page.status.review': 'Review',
|
|
12
|
-
'page.status.completed': 'Completed',
|
|
13
|
-
'page.status.processing': 'Processing',
|
|
14
|
-
'page.status.error': 'Error',
|
|
15
|
-
},
|
|
16
|
-
'pt-BR': {
|
|
17
|
-
'pages.label.title': 'Páginas',
|
|
18
|
-
'pages.tooltip.add': 'Adicionar página',
|
|
19
|
-
'pages.label.card': 'Página',
|
|
20
|
-
'pages.tooltip.remove': 'Remover página',
|
|
21
|
-
'modal.title.page.remove': 'Confirmar exclusão',
|
|
22
|
-
'modal.description.page.remove': 'Você tem certeza que deseja remover esta página?',
|
|
23
|
-
'page.status.transcription': 'Transcrição',
|
|
24
|
-
'page.status.edition': 'Edição',
|
|
25
|
-
'page.status.review': 'Revisão',
|
|
26
|
-
'page.status.completed': 'Concluído',
|
|
27
|
-
'page.status.processing': 'Processando',
|
|
28
|
-
'page.status.error': 'Erro',
|
|
29
|
-
},
|
|
30
|
-
it: {
|
|
31
|
-
'pages.label.title': 'Pagine',
|
|
32
|
-
'pages.tooltip.add': 'Aggiungi pagina',
|
|
33
|
-
'pages.label.card': 'Pagina',
|
|
34
|
-
'pages.tooltip.remove': 'Rimuovi pagina',
|
|
35
|
-
'modal.title.page.remove': 'Conferma rimozione',
|
|
36
|
-
'modal.description.page.remove': 'Sei sicuro di voler eliminare questa pagina?',
|
|
37
|
-
'page.status.transcription': 'Trascrizione',
|
|
38
|
-
'page.status.edition': 'Edizione',
|
|
39
|
-
'page.status.review': 'Revisione',
|
|
40
|
-
'page.status.completed': 'Completato',
|
|
41
|
-
'page.status.processing': 'Elaborazione',
|
|
42
|
-
'page.status.error': 'Errore',
|
|
43
|
-
},
|
|
44
|
-
};
|
|
45
|
-
export default PageTexts;
|
|
@@ -1,30 +0,0 @@
|
|
|
1
|
-
declare const ParserTexts: {
|
|
2
|
-
en: {
|
|
3
|
-
'modal.automatic.title': string;
|
|
4
|
-
'modal.automatic.desc': string;
|
|
5
|
-
'modal.automatic.reprocess': string;
|
|
6
|
-
'modal.automatic.reset': string;
|
|
7
|
-
'modal.automatic.finish': string;
|
|
8
|
-
'msg.parser.completed': string;
|
|
9
|
-
'error.start': string;
|
|
10
|
-
};
|
|
11
|
-
'pt-BR': {
|
|
12
|
-
'modal.automatic.title': string;
|
|
13
|
-
'modal.automatic.desc': string;
|
|
14
|
-
'modal.automatic.reprocess': string;
|
|
15
|
-
'modal.automatic.reset': string;
|
|
16
|
-
'modal.automatic.finish': string;
|
|
17
|
-
'msg.parser.completed': string;
|
|
18
|
-
'error.start': string;
|
|
19
|
-
};
|
|
20
|
-
it: {
|
|
21
|
-
'modal.automatic.title': string;
|
|
22
|
-
'modal.automatic.desc': string;
|
|
23
|
-
'modal.automatic.reprocess': string;
|
|
24
|
-
'modal.automatic.reset': string;
|
|
25
|
-
'modal.automatic.finish': string;
|
|
26
|
-
'msg.parser.completed': string;
|
|
27
|
-
'error.start': string;
|
|
28
|
-
};
|
|
29
|
-
};
|
|
30
|
-
export default ParserTexts;
|
|
@@ -1,30 +0,0 @@
|
|
|
1
|
-
const ParserTexts = {
|
|
2
|
-
en: {
|
|
3
|
-
'modal.automatic.title': 'Automatic Parsing',
|
|
4
|
-
'modal.automatic.desc': '<bold>Attention!</bold> All sentences in this document marked as "to do" or previously processed automatically will be redone. This operation may take some time and cannot be undone.',
|
|
5
|
-
'modal.automatic.reprocess': 'Select this option to reprocess all sentences, including those already reviewed.',
|
|
6
|
-
'modal.automatic.reset': 'Select this option to reset the POS tags of the sentences.',
|
|
7
|
-
'modal.automatic.finish': 'Finish',
|
|
8
|
-
'msg.parser.completed': 'Automatic parsing completed.',
|
|
9
|
-
'error.start': 'An error occurred while starting automatic parsing.',
|
|
10
|
-
},
|
|
11
|
-
'pt-BR': {
|
|
12
|
-
'modal.automatic.title': 'Parser Automático',
|
|
13
|
-
'modal.automatic.desc': '<bold>Atenção!</bold> Todas as sentenças deste documento marcadas como "a fazer" ou processadas automaticamente anteriormente serão refeitas. Esta operação pode levar algum tempo e não pode ser desfeita.',
|
|
14
|
-
'modal.automatic.reprocess': 'Selecione esta opção para reprocessar todas as sentenças, inclusive aquelas já revisadas.',
|
|
15
|
-
'modal.automatic.reset': 'Selecione esta opção para redefinir as etiquetas POS das sentenças.',
|
|
16
|
-
'modal.automatic.finish': 'Finalizar',
|
|
17
|
-
'msg.parser.completed': 'Parser automático finalizado.',
|
|
18
|
-
'error.start': 'Ocorreu um erro ao iniciar o parser automático.',
|
|
19
|
-
},
|
|
20
|
-
it: {
|
|
21
|
-
'modal.automatic.title': 'Analisi automatica',
|
|
22
|
-
'modal.automatic.desc': '<bold>Attenzione!</bold> Tutte le frasi di questo documento contrassegnate come "da fare" o elaborate automaticamente in precedenza verranno rifatte. Questa operazione può richiedere tempo e non può essere annullata.',
|
|
23
|
-
'modal.automatic.reprocess': 'Seleziona questa opzione per rielaborare tutte le frasi, incluse quelle già revisionate.',
|
|
24
|
-
'modal.automatic.reset': 'Seleziona questa opzione per reimpostare le etichette POS delle frasi.',
|
|
25
|
-
'modal.automatic.finish': 'Fine',
|
|
26
|
-
'msg.parser.completed': 'Analisi automatica completata.',
|
|
27
|
-
'error.start': 'Si è verificato un errore durante l\'avvio dell\'analisi automatica.',
|
|
28
|
-
},
|
|
29
|
-
};
|
|
30
|
-
export default ParserTexts;
|
|
@@ -1,8 +0,0 @@
|
|
|
1
|
-
import { ParserAutoRequest, ParserAutoResponse } from '../types/Parser';
|
|
2
|
-
declare function executeAutomaticParsing(uid: string, request: ParserAutoRequest): Promise<import("axios").AxiosResponse<ParserAutoResponse, any, {}>>;
|
|
3
|
-
declare function checkParsingStatus(uid: string): Promise<import("axios").AxiosResponse<ParserAutoResponse, any, {}>>;
|
|
4
|
-
declare const AutomaticParserService: {
|
|
5
|
-
executeAutomaticParsing: typeof executeAutomaticParsing;
|
|
6
|
-
checkParsingStatus: typeof checkParsingStatus;
|
|
7
|
-
};
|
|
8
|
-
export default AutomaticParserService;
|
|
@@ -1,9 +0,0 @@
|
|
|
1
|
-
import api, { parserApiBase } from '../../../configs/api';
|
|
2
|
-
function executeAutomaticParsing(uid, request) {
|
|
3
|
-
return api.post(`${parserApiBase}/auto/execute/${uid}`, request);
|
|
4
|
-
}
|
|
5
|
-
function checkParsingStatus(uid) {
|
|
6
|
-
return api.get(`${parserApiBase}/auto/status/${uid}`);
|
|
7
|
-
}
|
|
8
|
-
const AutomaticParserService = { executeAutomaticParsing, checkParsingStatus };
|
|
9
|
-
export default AutomaticParserService;
|
|
@@ -1,11 +0,0 @@
|
|
|
1
|
-
import BoundingBox from '../types/BoundingBox';
|
|
2
|
-
import { AppPage, Corpus, Document } from '../deps';
|
|
3
|
-
declare function remove(box: BoundingBox): Promise<import("axios").AxiosResponse<Document, any, {}>>;
|
|
4
|
-
declare function create(uid: string, corpus: Corpus): Promise<import("axios").AxiosResponse<any, any, {}>>;
|
|
5
|
-
declare function page(document: Document, index: number, size: number): Promise<import("axios").AxiosResponse<AppPage<BoundingBox>, any, {}>>;
|
|
6
|
-
declare const BoundingBoxService: {
|
|
7
|
-
page: typeof page;
|
|
8
|
-
create: typeof create;
|
|
9
|
-
remove: typeof remove;
|
|
10
|
-
};
|
|
11
|
-
export default BoundingBoxService;
|
|
@@ -1,20 +0,0 @@
|
|
|
1
|
-
import api, { platformApi } from '../../../configs/api';
|
|
2
|
-
function remove(box) {
|
|
3
|
-
return api.delete(`${platformApi.editor}/box/${box.uid}`);
|
|
4
|
-
}
|
|
5
|
-
function create(uid, corpus) {
|
|
6
|
-
return api.post(`${platformApi.editor}/box/${uid}/${corpus.uid}`);
|
|
7
|
-
}
|
|
8
|
-
function page(document, index, size) {
|
|
9
|
-
const data = {
|
|
10
|
-
page: index,
|
|
11
|
-
size,
|
|
12
|
-
};
|
|
13
|
-
return api.post(`${platformApi.editor}/box/document/${document.uid}`, data);
|
|
14
|
-
}
|
|
15
|
-
const BoundingBoxService = {
|
|
16
|
-
page,
|
|
17
|
-
create,
|
|
18
|
-
remove,
|
|
19
|
-
};
|
|
20
|
-
export default BoundingBoxService;
|
|
@@ -1,13 +0,0 @@
|
|
|
1
|
-
import Document from '../../../configs/types/Document';
|
|
2
|
-
import { DocumentUpdateRequest } from '../types/DocumentUpdateRequest';
|
|
3
|
-
declare function get(uid: string): Promise<import("axios").AxiosResponse<Document, any, {}>>;
|
|
4
|
-
declare function update(uid: string, payload: DocumentUpdateRequest): Promise<import("axios").AxiosResponse<void, any, {}>>;
|
|
5
|
-
declare function remove(uid: string): Promise<import("axios").AxiosResponse<any, any, {}>>;
|
|
6
|
-
declare function syncSearch(uid: string): Promise<import("axios").AxiosResponse<void, any, {}>>;
|
|
7
|
-
declare const DocumentService: {
|
|
8
|
-
get: typeof get;
|
|
9
|
-
update: typeof update;
|
|
10
|
-
remove: typeof remove;
|
|
11
|
-
syncSearch: typeof syncSearch;
|
|
12
|
-
};
|
|
13
|
-
export default DocumentService;
|
|
@@ -1,20 +0,0 @@
|
|
|
1
|
-
import api, { platformApi } from '../../../configs/api';
|
|
2
|
-
function get(uid) {
|
|
3
|
-
return api.get(`${platformApi.catalog}/document/${uid}`);
|
|
4
|
-
}
|
|
5
|
-
function update(uid, payload) {
|
|
6
|
-
return api.put(`${platformApi.catalog}/document/${uid}`, payload);
|
|
7
|
-
}
|
|
8
|
-
function remove(uid) {
|
|
9
|
-
return api.delete(`${platformApi.catalog}/document/${uid}`);
|
|
10
|
-
}
|
|
11
|
-
function syncSearch(uid) {
|
|
12
|
-
return api.get(`${platformApi.catalog}/document/sync-search/${uid}`);
|
|
13
|
-
}
|
|
14
|
-
const DocumentService = {
|
|
15
|
-
get,
|
|
16
|
-
update,
|
|
17
|
-
remove,
|
|
18
|
-
syncSearch,
|
|
19
|
-
};
|
|
20
|
-
export default DocumentService;
|
|
@@ -1,11 +0,0 @@
|
|
|
1
|
-
import { ExportType } from '../types/Export';
|
|
2
|
-
import Export from '../types/Export';
|
|
3
|
-
declare function executeForGithub(uid: string, type: ExportType, tier?: string): Promise<import("axios").AxiosResponse<string, any, {}>>;
|
|
4
|
-
declare function execute(uid: string, type: ExportType, tier?: string): Promise<import("axios").AxiosResponse<string, any, {}>>;
|
|
5
|
-
declare function check(uid: string): Promise<import("axios").AxiosResponse<Export, any, {}>>;
|
|
6
|
-
declare const ExportService: {
|
|
7
|
-
executeForGithub: typeof executeForGithub;
|
|
8
|
-
execute: typeof execute;
|
|
9
|
-
check: typeof check;
|
|
10
|
-
};
|
|
11
|
-
export default ExportService;
|
|
@@ -1,22 +0,0 @@
|
|
|
1
|
-
import api from '../../../configs/api';
|
|
2
|
-
function buildExportUrl(base, uid, type, tier) {
|
|
3
|
-
const url = `${base}/${uid}/${type}`;
|
|
4
|
-
if (!tier)
|
|
5
|
-
return url;
|
|
6
|
-
return `${url}?tier=${encodeURIComponent(tier)}`;
|
|
7
|
-
}
|
|
8
|
-
function executeForGithub(uid, type, tier) {
|
|
9
|
-
return api.get(buildExportUrl(`${import.meta.env.VITE_APP_IO_API}/export/github`, uid, type, tier));
|
|
10
|
-
}
|
|
11
|
-
function execute(uid, type, tier) {
|
|
12
|
-
return api.get(buildExportUrl(`${import.meta.env.VITE_APP_IO_API}/export`, uid, type, tier));
|
|
13
|
-
}
|
|
14
|
-
function check(uid) {
|
|
15
|
-
return api.get(`${import.meta.env.VITE_APP_IO_API}/export/check/${uid}`);
|
|
16
|
-
}
|
|
17
|
-
const ExportService = {
|
|
18
|
-
executeForGithub,
|
|
19
|
-
execute,
|
|
20
|
-
check,
|
|
21
|
-
};
|
|
22
|
-
export default ExportService;
|
|
@@ -1,8 +0,0 @@
|
|
|
1
|
-
import { Corpus } from '../deps';
|
|
2
|
-
declare function push(corpus: Corpus): Promise<import("axios").AxiosResponse<any, any, {}>>;
|
|
3
|
-
declare function commit(corpus: Corpus): Promise<import("axios").AxiosResponse<any, any, {}>>;
|
|
4
|
-
declare const GithubService: {
|
|
5
|
-
commit: typeof commit;
|
|
6
|
-
push: typeof push;
|
|
7
|
-
};
|
|
8
|
-
export default GithubService;
|
|
@@ -1,12 +0,0 @@
|
|
|
1
|
-
import api from '../../../configs/api';
|
|
2
|
-
function push(corpus) {
|
|
3
|
-
return api.get(`${import.meta.env.VITE_APP_FUNCTIONS_API}/github/push/${corpus.uid}`);
|
|
4
|
-
}
|
|
5
|
-
function commit(corpus) {
|
|
6
|
-
return api.get(`${import.meta.env.VITE_APP_FUNCTIONS_API}/github/commit/${corpus.uid}`);
|
|
7
|
-
}
|
|
8
|
-
const GithubService = {
|
|
9
|
-
commit,
|
|
10
|
-
push,
|
|
11
|
-
};
|
|
12
|
-
export default GithubService;
|
|
@@ -1,8 +0,0 @@
|
|
|
1
|
-
import { UploadedFile } from '../deps';
|
|
2
|
-
declare function updateDocument(uid: string, image: UploadedFile): Promise<import("axios").AxiosResponse<any, any, {}>>;
|
|
3
|
-
declare function removeDocument(uid: string): Promise<import("axios").AxiosResponse<any, any, {}>>;
|
|
4
|
-
declare const ImageService: {
|
|
5
|
-
updateDocument: typeof updateDocument;
|
|
6
|
-
removeDocument: typeof removeDocument;
|
|
7
|
-
};
|
|
8
|
-
export default ImageService;
|
|
@@ -1,12 +0,0 @@
|
|
|
1
|
-
import api, { platformApi } from '../../../configs/api';
|
|
2
|
-
function updateDocument(uid, image) {
|
|
3
|
-
return api.patch(`${platformApi.catalog}/image/${uid}`, image);
|
|
4
|
-
}
|
|
5
|
-
function removeDocument(uid) {
|
|
6
|
-
return api.delete(`${platformApi.catalog}/image/${uid}`);
|
|
7
|
-
}
|
|
8
|
-
const ImageService = {
|
|
9
|
-
updateDocument,
|
|
10
|
-
removeDocument,
|
|
11
|
-
};
|
|
12
|
-
export default ImageService;
|
|
@@ -1,7 +0,0 @@
|
|
|
1
|
-
import LexiconResponse from '../types/LexiconResponse';
|
|
2
|
-
import { Document } from '../deps';
|
|
3
|
-
declare function list(document: Document): Promise<import("axios").AxiosResponse<LexiconResponse[], any, {}>>;
|
|
4
|
-
declare const LexiconService: {
|
|
5
|
-
list: typeof list;
|
|
6
|
-
};
|
|
7
|
-
export default LexiconService;
|
|
@@ -1,11 +0,0 @@
|
|
|
1
|
-
import Metadata from '../types/Metadata';
|
|
2
|
-
import { Document } from '../deps';
|
|
3
|
-
declare function list(document: Document): Promise<import("axios").AxiosResponse<Metadata[], any, {}>>;
|
|
4
|
-
declare function update(uid: string, request: Record<string, string>): Promise<import("axios").AxiosResponse<any, any, {}>>;
|
|
5
|
-
declare function suggestValues(corpus: string, metadataUid: string, q: string): Promise<import("axios").AxiosResponse<string[], any, {}>>;
|
|
6
|
-
declare const MetadataService: {
|
|
7
|
-
list: typeof list;
|
|
8
|
-
update: typeof update;
|
|
9
|
-
suggestValues: typeof suggestValues;
|
|
10
|
-
};
|
|
11
|
-
export default MetadataService;
|
|
@@ -1,18 +0,0 @@
|
|
|
1
|
-
import api, { platformApi } from '../../../configs/api';
|
|
2
|
-
function list(document) {
|
|
3
|
-
return api.get(`${platformApi.catalog}/metadata/document/${document.uid}`);
|
|
4
|
-
}
|
|
5
|
-
function update(uid, request) {
|
|
6
|
-
return api.patch(`${platformApi.catalog}/metadata/${uid}`, request);
|
|
7
|
-
}
|
|
8
|
-
function suggestValues(corpus, metadataUid, q) {
|
|
9
|
-
return api.get(`${platformApi.catalog}/metadata/values/${corpus}/${metadataUid}`, {
|
|
10
|
-
params: { q },
|
|
11
|
-
});
|
|
12
|
-
}
|
|
13
|
-
const MetadataService = {
|
|
14
|
-
list,
|
|
15
|
-
update,
|
|
16
|
-
suggestValues,
|
|
17
|
-
};
|
|
18
|
-
export default MetadataService;
|
|
@@ -1,13 +0,0 @@
|
|
|
1
|
-
import Page from '../types/Page';
|
|
2
|
-
import { AppPage, Document } from '../deps';
|
|
3
|
-
declare function page(document: Document, index: number, size: number): Promise<import("axios").AxiosResponse<AppPage<Page>, any, {}>>;
|
|
4
|
-
declare function create(uid: string): Promise<import("axios").AxiosResponse<any, any, {}>>;
|
|
5
|
-
declare function remove(thisPage: Page): Promise<import("axios").AxiosResponse<Document, any, {}>>;
|
|
6
|
-
declare function removeSentences(uid: string): Promise<import("axios").AxiosResponse<any, any, {}>>;
|
|
7
|
-
declare const PageService: {
|
|
8
|
-
page: typeof page;
|
|
9
|
-
create: typeof create;
|
|
10
|
-
remove: typeof remove;
|
|
11
|
-
removeSentences: typeof removeSentences;
|
|
12
|
-
};
|
|
13
|
-
export default PageService;
|
|
@@ -1,19 +0,0 @@
|
|
|
1
|
-
import api, { platformApi } from '../../../configs/api';
|
|
2
|
-
function page(document, index, size) {
|
|
3
|
-
const data = {
|
|
4
|
-
page: index,
|
|
5
|
-
size,
|
|
6
|
-
};
|
|
7
|
-
return api.post(`${platformApi.catalog}/page/document/${document.uid}`, data);
|
|
8
|
-
}
|
|
9
|
-
function create(uid) {
|
|
10
|
-
return api.post(`${platformApi.catalog}/page/${uid}`);
|
|
11
|
-
}
|
|
12
|
-
function remove(thisPage) {
|
|
13
|
-
return api.delete(`${platformApi.catalog}/page/${thisPage.uid}`);
|
|
14
|
-
}
|
|
15
|
-
function removeSentences(uid) {
|
|
16
|
-
return api.delete(`${platformApi.editor}/page/sentences/${uid}`);
|
|
17
|
-
}
|
|
18
|
-
const PageService = { page, create, remove, removeSentences };
|
|
19
|
-
export default PageService;
|