tycho-components 0.28.11 → 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 +1 -1
- 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,67 +0,0 @@
|
|
|
1
|
-
import { jsx as _jsx, jsxs as _jsxs, Fragment as _Fragment } from "react/jsx-runtime";
|
|
2
|
-
import pageService from '../services/PageService';
|
|
3
|
-
import { useEffect, useState } from 'react';
|
|
4
|
-
import { useTranslation } from 'react-i18next';
|
|
5
|
-
import { AppCard, AppPagination, AppPicture, ToolsUtils, useCorpusUtils, useMessageUtils, } from '../deps';
|
|
6
|
-
import { Button, IconButton } from 'tycho-storybook';
|
|
7
|
-
import PageRemoval from './PageRemoval';
|
|
8
|
-
import './style.scss';
|
|
9
|
-
import PageStatusComponent from '../PageStatusComponent';
|
|
10
|
-
export default function Pages({ document, setDocument, setOpenFile, handleChange, }) {
|
|
11
|
-
const { t } = useTranslation('page');
|
|
12
|
-
const { dispatchLoading, dispatchMessage } = useMessageUtils();
|
|
13
|
-
const { getCorpus, hasCorpus, hasParameter } = useCorpusUtils();
|
|
14
|
-
const [pages, setPages] = useState();
|
|
15
|
-
const [removePage, setRemovePage] = useState(null);
|
|
16
|
-
const [pagination, setPagination] = useState({
|
|
17
|
-
pageIndex: 0,
|
|
18
|
-
pageSize: 10,
|
|
19
|
-
});
|
|
20
|
-
const open = (thisPage) => {
|
|
21
|
-
setOpenFile(false);
|
|
22
|
-
hasCorpus();
|
|
23
|
-
ToolsUtils.redirectPage({
|
|
24
|
-
corpus: getCorpus(),
|
|
25
|
-
tool: document.defaultTool,
|
|
26
|
-
uid: thisPage.uid,
|
|
27
|
-
hasParameter,
|
|
28
|
-
sameWindow: true,
|
|
29
|
-
});
|
|
30
|
-
};
|
|
31
|
-
const handleAddPage = () => {
|
|
32
|
-
dispatchLoading(true);
|
|
33
|
-
pageService.create(document.uid).then((response) => {
|
|
34
|
-
loadData();
|
|
35
|
-
});
|
|
36
|
-
};
|
|
37
|
-
const handleRemoved = (updated) => {
|
|
38
|
-
setDocument((prev) => prev && { ...prev, ...updated });
|
|
39
|
-
handleChange(updated);
|
|
40
|
-
setRemovePage(null);
|
|
41
|
-
loadData();
|
|
42
|
-
};
|
|
43
|
-
const loadData = () => {
|
|
44
|
-
pageService
|
|
45
|
-
.page(document, pagination.pageIndex, pagination.pageSize)
|
|
46
|
-
.then((r) => {
|
|
47
|
-
setPages(r.data);
|
|
48
|
-
dispatchLoading(false);
|
|
49
|
-
});
|
|
50
|
-
};
|
|
51
|
-
const validateRemovePage = (thisPage) => {
|
|
52
|
-
if (pages?.totalElements === 1) {
|
|
53
|
-
dispatchMessage({ key: 'remove.one.page', t });
|
|
54
|
-
return;
|
|
55
|
-
}
|
|
56
|
-
setRemovePage(thisPage);
|
|
57
|
-
};
|
|
58
|
-
useEffect(() => {
|
|
59
|
-
loadData();
|
|
60
|
-
}, [pagination]);
|
|
61
|
-
return (_jsxs("div", { className: "pages-container", children: [_jsxs("div", { className: "header", children: [_jsx("div", { className: "title", children: t('pages.label.title') }), _jsx(Button, { size: "small", onClick: handleAddPage, text: t('pages.tooltip.add'), icon: "add", mode: "outlined" })] }), _jsx("div", { className: "body", children: pages &&
|
|
62
|
-
pages.content &&
|
|
63
|
-
pages.content.map((thisPage, idx) => (_jsxs(AppCard, { onClick: () => open(thisPage), footer: _jsxs(_Fragment, { children: [_jsxs("span", { children: [t('pages.label.card'), " ", thisPage.order] }), _jsx(IconButton, { onClick: (e) => {
|
|
64
|
-
validateRemovePage(thisPage);
|
|
65
|
-
e.stopPropagation();
|
|
66
|
-
}, title: t('pages.tooltip.remove'), name: "delete", mode: "ghost", size: "small" })] }), children: [_jsx(PageStatusComponent, { page: thisPage, onUpdate: (status) => console.log(status) }), _jsx(AppPicture, { src: thisPage.image?.url || '' })] }, idx.valueOf()))) }), _jsx("div", { className: "footer", children: pages && (_jsx(AppPagination, { totalElements: pages.totalElements, pagination: pagination, setPagination: setPagination, hideItensPage: true })) }), removePage !== null && (_jsx(PageRemoval, { page: removePage, onClose: () => setRemovePage(null), onRemove: handleRemoved }))] }));
|
|
67
|
-
}
|
|
@@ -1,48 +0,0 @@
|
|
|
1
|
-
.pages-container {
|
|
2
|
-
height: 100%;
|
|
3
|
-
display: flex;
|
|
4
|
-
flex-direction: column;
|
|
5
|
-
|
|
6
|
-
> .body {
|
|
7
|
-
display: flex;
|
|
8
|
-
flex-wrap: wrap;
|
|
9
|
-
max-height: 90vh;
|
|
10
|
-
overflow-y: auto;
|
|
11
|
-
padding: 16px;
|
|
12
|
-
gap: 16px;
|
|
13
|
-
|
|
14
|
-
> .ds-app-card {
|
|
15
|
-
cursor: pointer;
|
|
16
|
-
flex: 0 0 calc(50% - 16px);
|
|
17
|
-
|
|
18
|
-
> .body {
|
|
19
|
-
position: relative;
|
|
20
|
-
display: flex;
|
|
21
|
-
justify-content: center;
|
|
22
|
-
align-items: center;
|
|
23
|
-
height: 20vh;
|
|
24
|
-
overflow: hidden;
|
|
25
|
-
|
|
26
|
-
.page-status-tag {
|
|
27
|
-
position: absolute;
|
|
28
|
-
top: 5px;
|
|
29
|
-
right: 5px;
|
|
30
|
-
}
|
|
31
|
-
|
|
32
|
-
img {
|
|
33
|
-
max-height: 20vh;
|
|
34
|
-
max-width: 230px;
|
|
35
|
-
}
|
|
36
|
-
}
|
|
37
|
-
|
|
38
|
-
> .footer {
|
|
39
|
-
align-items: center;
|
|
40
|
-
justify-content: space-between;
|
|
41
|
-
}
|
|
42
|
-
}
|
|
43
|
-
}
|
|
44
|
-
|
|
45
|
-
> .footer {
|
|
46
|
-
margin-top: auto;
|
|
47
|
-
}
|
|
48
|
-
}
|
|
@@ -1,28 +0,0 @@
|
|
|
1
|
-
export type { default as Document } from '../../configs/types/Document';
|
|
2
|
-
export type { DocumentStatus } from '../../configs/types/Document';
|
|
3
|
-
export { DocumentStatusNames } from '../../configs/types/Document';
|
|
4
|
-
export type { Corpus } from '../../configs/types/Corpus';
|
|
5
|
-
export { useCorpusUtils } from '../../configs/useCorpusUtils';
|
|
6
|
-
export { useMessageUtils } from '../../configs/useMessageUtils';
|
|
7
|
-
export { default as AppModal } from '../../common/AppModal/AppModal';
|
|
8
|
-
export { default as AppModalConfirm } from '../../common/AppModal/AppModalConfirm';
|
|
9
|
-
export { default as AppForm } from '../../common/AppForm/AppForm';
|
|
10
|
-
export type { AppFormField } from '../../common/AppForm/AppFormField';
|
|
11
|
-
export { default as AppFormInfo } from '../../common/AppForm/AppFormInfo';
|
|
12
|
-
export { default as AppCopyText } from '../../common/AppCopyText';
|
|
13
|
-
export { default as AppLoading } from '../../common/AppLoading/AppLoading';
|
|
14
|
-
export { default as AppPlaceholder } from '../../common/AppPlaceholder/AppPlaceholder';
|
|
15
|
-
export { default as AppCard } from '../../common/AppCard/AppCard';
|
|
16
|
-
export { default as AppPagination } from '../../common/AppPagination/AppPagination';
|
|
17
|
-
export { default as AppPicture } from '../../common/AppPicture/AppPicture';
|
|
18
|
-
export { default as AppDropzone } from '../../common/AppDropzone/AppDropzone';
|
|
19
|
-
export type { UploadedFile } from '../../common/AppDropzone/UploadedFile';
|
|
20
|
-
export type { AppPage } from '../../common/AppTable/types/AppPage';
|
|
21
|
-
export { default as DateUtils } from '../../functions/DateUtils';
|
|
22
|
-
export { default as FormUtils } from '../../functions/FormUtils';
|
|
23
|
-
export { default as ToolsUtils, EDITION_TOOLS } from '../../functions/ToolsUtils';
|
|
24
|
-
export type { PlatformTools } from '../../functions/ToolsUtils';
|
|
25
|
-
export { default as UsabilityUtils } from '../../functions/UsabilityUtils';
|
|
26
|
-
export { yupResolver, yup } from '../../vendor';
|
|
27
|
-
export type { PaginationState } from '../../vendor';
|
|
28
|
-
export { default as Participants } from '../Participants';
|
|
@@ -1,20 +0,0 @@
|
|
|
1
|
-
export { DocumentStatusNames } from '../../configs/types/Document';
|
|
2
|
-
export { useCorpusUtils } from '../../configs/useCorpusUtils';
|
|
3
|
-
export { useMessageUtils } from '../../configs/useMessageUtils';
|
|
4
|
-
export { default as AppModal } from '../../common/AppModal/AppModal';
|
|
5
|
-
export { default as AppModalConfirm } from '../../common/AppModal/AppModalConfirm';
|
|
6
|
-
export { default as AppForm } from '../../common/AppForm/AppForm';
|
|
7
|
-
export { default as AppFormInfo } from '../../common/AppForm/AppFormInfo';
|
|
8
|
-
export { default as AppCopyText } from '../../common/AppCopyText';
|
|
9
|
-
export { default as AppLoading } from '../../common/AppLoading/AppLoading';
|
|
10
|
-
export { default as AppPlaceholder } from '../../common/AppPlaceholder/AppPlaceholder';
|
|
11
|
-
export { default as AppCard } from '../../common/AppCard/AppCard';
|
|
12
|
-
export { default as AppPagination } from '../../common/AppPagination/AppPagination';
|
|
13
|
-
export { default as AppPicture } from '../../common/AppPicture/AppPicture';
|
|
14
|
-
export { default as AppDropzone } from '../../common/AppDropzone/AppDropzone';
|
|
15
|
-
export { default as DateUtils } from '../../functions/DateUtils';
|
|
16
|
-
export { default as FormUtils } from '../../functions/FormUtils';
|
|
17
|
-
export { default as ToolsUtils, EDITION_TOOLS } from '../../functions/ToolsUtils';
|
|
18
|
-
export { default as UsabilityUtils } from '../../functions/UsabilityUtils';
|
|
19
|
-
export { yupResolver, yup } from '../../vendor';
|
|
20
|
-
export { default as Participants } from '../Participants';
|
|
@@ -1,41 +0,0 @@
|
|
|
1
|
-
import { AppFormField, Document } from '../deps';
|
|
2
|
-
import { SelectItem } from 'tycho-storybook';
|
|
3
|
-
import Metadata, { MetadataType } from '../types/Metadata';
|
|
4
|
-
export type MetadataEntry = {
|
|
5
|
-
attr: string;
|
|
6
|
-
meta: Metadata;
|
|
7
|
-
value: string;
|
|
8
|
-
};
|
|
9
|
-
declare function metaAttr(meta: Metadata): string;
|
|
10
|
-
declare function normalizeMetadataType(type: string | undefined): MetadataType | '';
|
|
11
|
-
declare function toAutocompleteFormValue(value: string): SelectItem | null;
|
|
12
|
-
declare function toMetadataString(raw: unknown): string;
|
|
13
|
-
/** Normalize API/storage values (ISO instant, offsets, yyyy-MM-dd) to yyyy-MM-dd for forms and PATCH. */
|
|
14
|
-
declare function normalizeMetadataDateValue(value: string): string;
|
|
15
|
-
/** Human-readable date for read-only metadata display (matches DatePicker display format). */
|
|
16
|
-
declare function formatMetadataDateForDisplay(value: string): string;
|
|
17
|
-
/** @deprecated Use normalizeMetadataDateValue */
|
|
18
|
-
declare function normalizeDateFormValue(value: string): string;
|
|
19
|
-
/** Read visible autocomplete input text when freeSolo value is not yet in form state. */
|
|
20
|
-
declare function readFieldInputText(root: ParentNode | null, attr: string): string;
|
|
21
|
-
declare function resolveRawFromForm(meta: Metadata, attr: string, formValues: Record<string, unknown>, domRoot: ParentNode | null): unknown;
|
|
22
|
-
declare function serializeMetadataValue(meta: Metadata, raw: unknown): string;
|
|
23
|
-
declare function toAppFormField(meta: Metadata, attr: string, t: (key: string) => string): AppFormField;
|
|
24
|
-
declare function compareMetadata(a: Metadata, b: Metadata): number;
|
|
25
|
-
declare function buildInitialEntries(defs: Metadata[], doc: Document): MetadataEntry[];
|
|
26
|
-
declare const MetadataUtils: {
|
|
27
|
-
metaAttr: typeof metaAttr;
|
|
28
|
-
normalizeMetadataType: typeof normalizeMetadataType;
|
|
29
|
-
toAppFormField: typeof toAppFormField;
|
|
30
|
-
toAutocompleteFormValue: typeof toAutocompleteFormValue;
|
|
31
|
-
toMetadataString: typeof toMetadataString;
|
|
32
|
-
normalizeMetadataDateValue: typeof normalizeMetadataDateValue;
|
|
33
|
-
normalizeDateFormValue: typeof normalizeDateFormValue;
|
|
34
|
-
formatMetadataDateForDisplay: typeof formatMetadataDateForDisplay;
|
|
35
|
-
readFieldInputText: typeof readFieldInputText;
|
|
36
|
-
resolveRawFromForm: typeof resolveRawFromForm;
|
|
37
|
-
serializeMetadataValue: typeof serializeMetadataValue;
|
|
38
|
-
compareMetadata: typeof compareMetadata;
|
|
39
|
-
buildInitialEntries: typeof buildInitialEntries;
|
|
40
|
-
};
|
|
41
|
-
export default MetadataUtils;
|
|
@@ -1,192 +0,0 @@
|
|
|
1
|
-
import { DateUtils } from '../deps';
|
|
2
|
-
const METADATA_DATE_STORAGE = 'yyyy-MM-dd';
|
|
3
|
-
function metaAttr(meta) {
|
|
4
|
-
return meta.symbol === 'genre' ? 'genre' : meta.uid;
|
|
5
|
-
}
|
|
6
|
-
function normalizeMetadataType(type) {
|
|
7
|
-
return (type?.toUpperCase() ?? '');
|
|
8
|
-
}
|
|
9
|
-
function metadataValueToString(raw) {
|
|
10
|
-
if (raw == null)
|
|
11
|
-
return '';
|
|
12
|
-
if (typeof raw === 'string')
|
|
13
|
-
return raw;
|
|
14
|
-
if (raw instanceof Date && DateUtils.isValidDate(raw)) {
|
|
15
|
-
return DateUtils.format(raw, METADATA_DATE_STORAGE);
|
|
16
|
-
}
|
|
17
|
-
return String(raw);
|
|
18
|
-
}
|
|
19
|
-
function listOptions(meta) {
|
|
20
|
-
if (!meta.values)
|
|
21
|
-
return [];
|
|
22
|
-
return meta.values.split(',').map((v) => {
|
|
23
|
-
const s = v.trim();
|
|
24
|
-
return { label: s, value: s };
|
|
25
|
-
});
|
|
26
|
-
}
|
|
27
|
-
function toAutocompleteFormValue(value) {
|
|
28
|
-
const s = value?.trim() ?? '';
|
|
29
|
-
if (!s)
|
|
30
|
-
return null;
|
|
31
|
-
return { label: s, value: s };
|
|
32
|
-
}
|
|
33
|
-
function toMetadataString(raw) {
|
|
34
|
-
if (raw == null)
|
|
35
|
-
return '';
|
|
36
|
-
if (typeof raw === 'string')
|
|
37
|
-
return raw.trim();
|
|
38
|
-
if (typeof raw === 'number' || typeof raw === 'boolean') {
|
|
39
|
-
return String(raw).trim();
|
|
40
|
-
}
|
|
41
|
-
const option = raw;
|
|
42
|
-
if (option.value != null && String(option.value).trim() !== '') {
|
|
43
|
-
return String(option.value).trim();
|
|
44
|
-
}
|
|
45
|
-
if (option.label != null && String(option.label).trim() !== '') {
|
|
46
|
-
return String(option.label).trim();
|
|
47
|
-
}
|
|
48
|
-
return '';
|
|
49
|
-
}
|
|
50
|
-
const METADATA_DATE_DISPLAY = 'dd/MM/yyyy';
|
|
51
|
-
/** Normalize API/storage values (ISO instant, offsets, yyyy-MM-dd) to yyyy-MM-dd for forms and PATCH. */
|
|
52
|
-
function normalizeMetadataDateValue(value) {
|
|
53
|
-
const s = value?.trim() ?? '';
|
|
54
|
-
if (!s)
|
|
55
|
-
return '';
|
|
56
|
-
const fromIso = DateUtils.parseISOString(s);
|
|
57
|
-
if (DateUtils.isValidDate(fromIso)) {
|
|
58
|
-
return DateUtils.format(fromIso, METADATA_DATE_STORAGE);
|
|
59
|
-
}
|
|
60
|
-
const storage = DateUtils.parseDate(s, METADATA_DATE_STORAGE, new Date());
|
|
61
|
-
if (DateUtils.isValidDate(storage))
|
|
62
|
-
return DateUtils.format(storage, METADATA_DATE_STORAGE);
|
|
63
|
-
const dotted = DateUtils.parseDate(s, 'dd.MM.yyyy', new Date());
|
|
64
|
-
if (DateUtils.isValidDate(dotted))
|
|
65
|
-
return DateUtils.format(dotted, METADATA_DATE_STORAGE);
|
|
66
|
-
const slashed = DateUtils.parseDate(s, METADATA_DATE_DISPLAY, new Date());
|
|
67
|
-
if (DateUtils.isValidDate(slashed))
|
|
68
|
-
return DateUtils.format(slashed, METADATA_DATE_STORAGE);
|
|
69
|
-
return '';
|
|
70
|
-
}
|
|
71
|
-
/** Human-readable date for read-only metadata display (matches DatePicker display format). */
|
|
72
|
-
function formatMetadataDateForDisplay(value) {
|
|
73
|
-
const normalized = normalizeMetadataDateValue(value);
|
|
74
|
-
if (!normalized)
|
|
75
|
-
return '';
|
|
76
|
-
const d = DateUtils.parseDate(normalized, METADATA_DATE_STORAGE, new Date());
|
|
77
|
-
return DateUtils.isValidDate(d) ? DateUtils.format(d, METADATA_DATE_DISPLAY) : normalized;
|
|
78
|
-
}
|
|
79
|
-
/** @deprecated Use normalizeMetadataDateValue */
|
|
80
|
-
function normalizeDateFormValue(value) {
|
|
81
|
-
return normalizeMetadataDateValue(value);
|
|
82
|
-
}
|
|
83
|
-
/** Read visible autocomplete input text when freeSolo value is not yet in form state. */
|
|
84
|
-
function readFieldInputText(root, attr) {
|
|
85
|
-
if (!root)
|
|
86
|
-
return '';
|
|
87
|
-
const row = root.querySelector(`[data-metadata-field="${attr}"]`);
|
|
88
|
-
if (!row)
|
|
89
|
-
return '';
|
|
90
|
-
const input = row.querySelector('.ds-select-text input') ??
|
|
91
|
-
row.querySelector('input');
|
|
92
|
-
return input?.value?.trim() ?? '';
|
|
93
|
-
}
|
|
94
|
-
function resolveRawFromForm(meta, attr, formValues, domRoot) {
|
|
95
|
-
const type = normalizeMetadataType(meta.type);
|
|
96
|
-
const formRaw = formValues[attr];
|
|
97
|
-
if (type === 'DATE') {
|
|
98
|
-
return formRaw;
|
|
99
|
-
}
|
|
100
|
-
if (type === 'TEXT') {
|
|
101
|
-
const typed = readFieldInputText(domRoot, attr);
|
|
102
|
-
if (typed)
|
|
103
|
-
return typed;
|
|
104
|
-
return formRaw;
|
|
105
|
-
}
|
|
106
|
-
return formRaw;
|
|
107
|
-
}
|
|
108
|
-
function serializeMetadataValue(meta, raw) {
|
|
109
|
-
const type = normalizeMetadataType(meta.type);
|
|
110
|
-
if (type === 'TEXT')
|
|
111
|
-
return toMetadataString(raw);
|
|
112
|
-
if (type === 'DATE') {
|
|
113
|
-
if (raw == null)
|
|
114
|
-
return '';
|
|
115
|
-
if (raw instanceof Date && DateUtils.isValidDate(raw)) {
|
|
116
|
-
return DateUtils.format(raw, METADATA_DATE_STORAGE);
|
|
117
|
-
}
|
|
118
|
-
return normalizeMetadataDateValue(String(raw));
|
|
119
|
-
}
|
|
120
|
-
if (raw == null)
|
|
121
|
-
return '';
|
|
122
|
-
return String(raw).trim();
|
|
123
|
-
}
|
|
124
|
-
function toAppFormField(meta, attr, t) {
|
|
125
|
-
const type = normalizeMetadataType(meta.type);
|
|
126
|
-
const base = {
|
|
127
|
-
attr,
|
|
128
|
-
name: meta.name,
|
|
129
|
-
type: 'text',
|
|
130
|
-
};
|
|
131
|
-
if (type === 'TEXT') {
|
|
132
|
-
return {
|
|
133
|
-
...base,
|
|
134
|
-
type: 'autocomplete',
|
|
135
|
-
multiple: false,
|
|
136
|
-
freeSolo: true,
|
|
137
|
-
title: t('metadata.autocomplete.placeholder'),
|
|
138
|
-
translation: t('metadata.autocomplete.nooptions'),
|
|
139
|
-
};
|
|
140
|
-
}
|
|
141
|
-
if (type === 'LIST') {
|
|
142
|
-
return { ...base, type: 'select', options: listOptions(meta) };
|
|
143
|
-
}
|
|
144
|
-
if (type === 'DATE') {
|
|
145
|
-
return { ...base, type: 'datepicker' };
|
|
146
|
-
}
|
|
147
|
-
return base;
|
|
148
|
-
}
|
|
149
|
-
function compareMetadata(a, b) {
|
|
150
|
-
const aOrder = Number.isFinite(a.order) ? a.order : Number.MAX_SAFE_INTEGER;
|
|
151
|
-
const bOrder = Number.isFinite(b.order) ? b.order : Number.MAX_SAFE_INTEGER;
|
|
152
|
-
const orderDiff = aOrder - bOrder;
|
|
153
|
-
if (orderDiff !== 0)
|
|
154
|
-
return orderDiff;
|
|
155
|
-
return a.name.localeCompare(b.name);
|
|
156
|
-
}
|
|
157
|
-
function buildInitialEntries(defs, doc) {
|
|
158
|
-
const rows = doc.metadata || [];
|
|
159
|
-
const result = [];
|
|
160
|
-
for (const row of rows) {
|
|
161
|
-
const def = defs.find((d) => metaAttr(d) === row.uid);
|
|
162
|
-
if (def) {
|
|
163
|
-
const rawValue = metadataValueToString(row.value);
|
|
164
|
-
const value = normalizeMetadataType(def.type) === 'DATE'
|
|
165
|
-
? normalizeMetadataDateValue(rawValue)
|
|
166
|
-
: rawValue;
|
|
167
|
-
result.push({
|
|
168
|
-
attr: row.uid,
|
|
169
|
-
meta: def,
|
|
170
|
-
value,
|
|
171
|
-
});
|
|
172
|
-
}
|
|
173
|
-
}
|
|
174
|
-
result.sort((a, b) => compareMetadata(a.meta, b.meta));
|
|
175
|
-
return result;
|
|
176
|
-
}
|
|
177
|
-
const MetadataUtils = {
|
|
178
|
-
metaAttr,
|
|
179
|
-
normalizeMetadataType,
|
|
180
|
-
toAppFormField,
|
|
181
|
-
toAutocompleteFormValue,
|
|
182
|
-
toMetadataString,
|
|
183
|
-
normalizeMetadataDateValue,
|
|
184
|
-
normalizeDateFormValue,
|
|
185
|
-
formatMetadataDateForDisplay,
|
|
186
|
-
readFieldInputText,
|
|
187
|
-
resolveRawFromForm,
|
|
188
|
-
serializeMetadataValue,
|
|
189
|
-
compareMetadata,
|
|
190
|
-
buildInitialEntries,
|
|
191
|
-
};
|
|
192
|
-
export default MetadataUtils;
|
|
@@ -1,7 +0,0 @@
|
|
|
1
|
-
import DocumentDrawer from './DocumentDrawer';
|
|
2
|
-
export default DocumentDrawer;
|
|
3
|
-
export type { DocumentDrawerProps } from './DocumentDrawer';
|
|
4
|
-
export type { DocumentDrawerActionId } from './types/DocumentDrawerActionId';
|
|
5
|
-
export { DOCUMENT_DRAWER_ACTION_IDS, isDocumentDrawerActionId, } from './types/DocumentDrawerActionId';
|
|
6
|
-
export type { default as CatalogSearchFilter } from './types/CatalogSearchFilter';
|
|
7
|
-
export { emptyCatalogSearchFilter, hasActiveCatalogFilter, } from './types/CatalogSearchFilter';
|
|
@@ -1,4 +0,0 @@
|
|
|
1
|
-
import DocumentDrawer from './DocumentDrawer';
|
|
2
|
-
export default DocumentDrawer;
|
|
3
|
-
export { DOCUMENT_DRAWER_ACTION_IDS, isDocumentDrawerActionId, } from './types/DocumentDrawerActionId';
|
|
4
|
-
export { emptyCatalogSearchFilter, hasActiveCatalogFilter, } from './types/CatalogSearchFilter';
|
|
@@ -1,119 +0,0 @@
|
|
|
1
|
-
export declare const ActionsTexts: {
|
|
2
|
-
en: {
|
|
3
|
-
'label.tool': string;
|
|
4
|
-
'button.label.add': string;
|
|
5
|
-
'button.label.filter': string;
|
|
6
|
-
'tooltip.label.list': string;
|
|
7
|
-
'tooltip.label.grid': string;
|
|
8
|
-
'label.automatic.title': string;
|
|
9
|
-
'label.automatic.description': string;
|
|
10
|
-
'label.sync.title': string;
|
|
11
|
-
'label.sync.description': string;
|
|
12
|
-
'actions.label.title': string;
|
|
13
|
-
'actions.label.open': string;
|
|
14
|
-
'actions.label.info': string;
|
|
15
|
-
'actions.label.remove': string;
|
|
16
|
-
'actions.label.remove.description': string;
|
|
17
|
-
'actions.name.edictor': string;
|
|
18
|
-
'actions.name.translations': string;
|
|
19
|
-
'actions.name.design': string;
|
|
20
|
-
'actions.name.transcriber': string;
|
|
21
|
-
'actions.label.edictor': string;
|
|
22
|
-
'actions.label.translations': string;
|
|
23
|
-
'actions.label.design': string;
|
|
24
|
-
'actions.label.transcriber': string;
|
|
25
|
-
'label.resume.title': string;
|
|
26
|
-
'label.resume.description': string;
|
|
27
|
-
'label.syntactic.title': string;
|
|
28
|
-
'label.syntactic.description': string;
|
|
29
|
-
'label.documents.title': string;
|
|
30
|
-
'label.documents.description': string;
|
|
31
|
-
'label.transcription.title': string;
|
|
32
|
-
'label.transcription.description': string;
|
|
33
|
-
'modal.description.sentences.remove': string;
|
|
34
|
-
'error.page.required': string;
|
|
35
|
-
'label.edition.title': string;
|
|
36
|
-
'label.edition.description': string;
|
|
37
|
-
'modal.remove.title': string;
|
|
38
|
-
'modal.title.design': string;
|
|
39
|
-
'modal.description.design': string;
|
|
40
|
-
};
|
|
41
|
-
'pt-BR': {
|
|
42
|
-
'label.tool': string;
|
|
43
|
-
'button.label.add': string;
|
|
44
|
-
'button.label.filter': string;
|
|
45
|
-
'tooltip.label.list': string;
|
|
46
|
-
'tooltip.label.grid': string;
|
|
47
|
-
'label.automatic.title': string;
|
|
48
|
-
'label.automatic.description': string;
|
|
49
|
-
'label.sync.title': string;
|
|
50
|
-
'label.sync.description': string;
|
|
51
|
-
'actions.label.title': string;
|
|
52
|
-
'actions.label.open': string;
|
|
53
|
-
'actions.label.info': string;
|
|
54
|
-
'actions.label.remove': string;
|
|
55
|
-
'actions.label.remove.description': string;
|
|
56
|
-
'actions.name.edictor': string;
|
|
57
|
-
'actions.name.translations': string;
|
|
58
|
-
'actions.name.design': string;
|
|
59
|
-
'actions.name.transcriber': string;
|
|
60
|
-
'actions.label.edictor': string;
|
|
61
|
-
'actions.label.translations': string;
|
|
62
|
-
'actions.label.design': string;
|
|
63
|
-
'actions.label.transcriber': string;
|
|
64
|
-
'modal.remove.title': string;
|
|
65
|
-
'label.resume.title': string;
|
|
66
|
-
'label.resume.description': string;
|
|
67
|
-
'label.syntactic.title': string;
|
|
68
|
-
'label.syntactic.description': string;
|
|
69
|
-
'label.documents.title': string;
|
|
70
|
-
'label.documents.description': string;
|
|
71
|
-
'label.transcription.title': string;
|
|
72
|
-
'label.transcription.description': string;
|
|
73
|
-
'modal.description.sentences.remove': string;
|
|
74
|
-
'error.page.required': string;
|
|
75
|
-
'label.edition.title': string;
|
|
76
|
-
'label.edition.description': string;
|
|
77
|
-
'modal.title.design': string;
|
|
78
|
-
'modal.description.design': string;
|
|
79
|
-
};
|
|
80
|
-
it: {
|
|
81
|
-
'label.tool': string;
|
|
82
|
-
'button.label.add': string;
|
|
83
|
-
'button.label.filter': string;
|
|
84
|
-
'tooltip.label.list': string;
|
|
85
|
-
'tooltip.label.grid': string;
|
|
86
|
-
'label.automatic.title': string;
|
|
87
|
-
'label.automatic.description': string;
|
|
88
|
-
'label.sync.title': string;
|
|
89
|
-
'label.sync.description': string;
|
|
90
|
-
'actions.label.title': string;
|
|
91
|
-
'actions.label.open': string;
|
|
92
|
-
'actions.label.info': string;
|
|
93
|
-
'actions.label.remove': string;
|
|
94
|
-
'actions.label.remove.description': string;
|
|
95
|
-
'actions.name.edictor': string;
|
|
96
|
-
'actions.name.translations': string;
|
|
97
|
-
'actions.name.design': string;
|
|
98
|
-
'actions.name.transcriber': string;
|
|
99
|
-
'actions.label.edictor': string;
|
|
100
|
-
'actions.label.translations': string;
|
|
101
|
-
'actions.label.design': string;
|
|
102
|
-
'actions.label.transcriber': string;
|
|
103
|
-
'label.resume.title': string;
|
|
104
|
-
'label.resume.description': string;
|
|
105
|
-
'label.syntactic.title': string;
|
|
106
|
-
'label.syntactic.description': string;
|
|
107
|
-
'label.documents.title': string;
|
|
108
|
-
'label.documents.description': string;
|
|
109
|
-
'label.transcription.title': string;
|
|
110
|
-
'label.transcription.description': string;
|
|
111
|
-
'modal.description.sentences.remove': string;
|
|
112
|
-
'error.page.required': string;
|
|
113
|
-
'label.edition.title': string;
|
|
114
|
-
'label.edition.description': string;
|
|
115
|
-
'modal.remove.title': string;
|
|
116
|
-
'modal.title.design': string;
|
|
117
|
-
'modal.description.design': string;
|
|
118
|
-
};
|
|
119
|
-
};
|