tycho-components 0.19.17 → 0.21.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/{AppConsent → common/AppConsent}/AppConsent.d.ts +1 -1
- package/dist/{AppDropzone → common/AppDropzone}/AppDropzoneBody.js +3 -3
- package/dist/{AppForm → common/AppForm}/AppFormInfo.js +1 -1
- package/dist/{AppKeyboard → common/AppKeyboard}/AppKeyboard.js +2 -2
- package/dist/{AppPicture → common/AppPicture}/AppPicture.js +1 -1
- package/dist/{AppToast → common/AppToast}/AppToast.js +2 -2
- package/dist/common/index.d.ts +34 -0
- package/dist/common/index.js +27 -0
- package/dist/configs/Localization.d.ts +20 -961
- package/dist/configs/Localization.js +42 -47
- package/dist/configs/index.d.ts +27 -0
- package/dist/configs/index.js +16 -0
- package/dist/configs/mock/MockStructs.d.ts +1 -1
- package/dist/configs/store/actions.d.ts +1 -1
- package/dist/configs/store/store.js +1 -1
- package/dist/configs/store/types.d.ts +1 -1
- package/dist/configs/types/Document.d.ts +1 -1
- package/dist/configs/types/Sentence.d.ts +1 -1
- package/dist/cytoscape-context-menus.d.ts +1 -1
- package/dist/cytoscape-context-menus.js +1 -1
- package/dist/{Comments → features/Comments}/CommentAdd.d.ts +1 -1
- package/dist/{Comments → features/Comments}/CommentAdd.js +3 -3
- package/dist/{Comments → features/Comments}/CommentInfo.js +3 -3
- package/dist/{Comments/types → features/Comments}/CommentService.d.ts +1 -1
- package/dist/{Comments → features/Comments}/Comments.js +5 -5
- package/dist/{Comments → features/Comments}/HeaderNotifications/HeaderNotifications.js +2 -2
- package/dist/{Parameters → features/Parameters}/Parameters.js +1 -1
- package/dist/{Participants → features/Participants}/ParticipantCreate/ParticipantCreate.js +4 -4
- package/dist/{Participants → features/Participants}/ParticipantRemove/ParticipantRemove.js +4 -4
- package/dist/{Participants/types → features/Participants}/ParticipantService.d.ts +2 -2
- package/dist/{Participants → features/Participants}/Participants.js +3 -3
- package/dist/{Participants → features/Participants}/types/Participant.d.ts +1 -1
- package/dist/features/SentenceSplit/SentenceSplit.d.ts +28 -0
- package/dist/features/SentenceSplit/SentenceSplit.js +180 -0
- package/dist/features/SentenceSplit/SentenceSplitAudio/SentenceSplitAudioStep.d.ts +9 -0
- package/dist/features/SentenceSplit/SentenceSplitAudio/SentenceSplitAudioStep.js +38 -0
- package/dist/features/SentenceSplit/SentenceSplitAudio/index.d.ts +2 -0
- package/dist/features/SentenceSplit/SentenceSplitAudio/index.js +2 -0
- package/dist/features/SentenceSplit/SentenceSplitAudio/style.scss +29 -0
- package/dist/features/SentenceSplit/SentenceSplitChoose/SentenceSplitChoose.d.ts +10 -0
- package/dist/features/SentenceSplit/SentenceSplitChoose/SentenceSplitChoose.js +23 -0
- package/dist/features/SentenceSplit/SentenceSplitChoose/index.d.ts +2 -0
- package/dist/features/SentenceSplit/SentenceSplitChoose/index.js +2 -0
- package/dist/features/SentenceSplit/SentenceSplitChoose/style.scss +25 -0
- package/dist/features/SentenceSplit/SentenceSplitCommentUtils.d.ts +21 -0
- package/dist/features/SentenceSplit/SentenceSplitCommentUtils.js +77 -0
- package/dist/features/SentenceSplit/SentenceSplitComments/SentenceSplitCommentBlock.d.ts +7 -0
- package/dist/features/SentenceSplit/SentenceSplitComments/SentenceSplitCommentBlock.js +6 -0
- package/dist/features/SentenceSplit/SentenceSplitComments/SentenceSplitComments.d.ts +8 -0
- package/dist/features/SentenceSplit/SentenceSplitComments/SentenceSplitComments.js +37 -0
- package/dist/features/SentenceSplit/SentenceSplitComments/SentenceSplitCommentsStep.d.ts +11 -0
- package/dist/features/SentenceSplit/SentenceSplitComments/SentenceSplitCommentsStep.js +72 -0
- package/dist/features/SentenceSplit/SentenceSplitComments/SentenceSplitCommentsWords.d.ts +9 -0
- package/dist/features/SentenceSplit/SentenceSplitComments/SentenceSplitCommentsWords.js +15 -0
- package/dist/features/SentenceSplit/SentenceSplitComments/index.d.ts +2 -0
- package/dist/features/SentenceSplit/SentenceSplitComments/index.js +2 -0
- package/dist/features/SentenceSplit/SentenceSplitComments/style.scss +126 -0
- package/dist/features/SentenceSplit/SentenceSplitPreview/SentenceSplitPreview.d.ts +10 -0
- package/dist/features/SentenceSplit/SentenceSplitPreview/SentenceSplitPreview.js +10 -0
- package/dist/features/SentenceSplit/SentenceSplitPreview/SentenceSplitPreviewStep.d.ts +11 -0
- package/dist/features/SentenceSplit/SentenceSplitPreview/SentenceSplitPreviewStep.js +24 -0
- package/dist/features/SentenceSplit/SentenceSplitPreview/index.d.ts +2 -0
- package/dist/features/SentenceSplit/SentenceSplitPreview/index.js +2 -0
- package/dist/features/SentenceSplit/SentenceSplitPreview/style.scss +24 -0
- package/dist/features/SentenceSplit/SentenceSplitService.d.ts +13 -0
- package/dist/features/SentenceSplit/SentenceSplitService.js +13 -0
- package/dist/features/SentenceSplit/SentenceSplitTranslations/SentenceSplitTranslations.d.ts +12 -0
- package/dist/features/SentenceSplit/SentenceSplitTranslations/SentenceSplitTranslations.js +15 -0
- package/dist/features/SentenceSplit/SentenceSplitTranslations/SentenceSplitTranslationsStep.d.ts +10 -0
- package/dist/features/SentenceSplit/SentenceSplitTranslations/SentenceSplitTranslationsStep.js +8 -0
- package/dist/features/SentenceSplit/SentenceSplitTranslations/index.d.ts +2 -0
- package/dist/features/SentenceSplit/SentenceSplitTranslations/index.js +2 -0
- package/dist/features/SentenceSplit/SentenceSplitTranslations/style.scss +23 -0
- package/dist/features/SentenceSplit/SentenceSplitUtils.d.ts +6 -0
- package/dist/features/SentenceSplit/SentenceSplitUtils.js +17 -0
- package/dist/features/SentenceSplit/index.d.ts +2 -0
- package/dist/features/SentenceSplit/index.js +2 -0
- package/dist/features/SentenceSplit/localization/SentenceSplitTexts.d.ts +107 -0
- package/dist/features/SentenceSplit/localization/SentenceSplitTexts.js +107 -0
- package/dist/features/SentenceSplit/style.scss +173 -0
- package/dist/features/SentenceSplit/types/Language.d.ts +6 -0
- package/dist/features/SentenceSplit/types/SentenceSplitRequest.d.ts +20 -0
- package/dist/features/SentenceSplit/types/SentenceSplitRequest.js +16 -0
- package/dist/{SentenceView → features/SentenceView}/SentenceEditionTiers.d.ts +1 -1
- package/dist/{SentenceView → features/SentenceView}/SentenceEditionTiers.js +2 -2
- package/dist/{SentenceView → features/SentenceView}/SentenceMorphemeTags.d.ts +1 -1
- package/dist/{SentenceView → features/SentenceView}/SentenceMorphemeTags.js +1 -1
- package/dist/{SentenceView → features/SentenceView}/SentenceMorphemeTiers.d.ts +2 -2
- package/dist/{SentenceView → features/SentenceView}/SentenceMorphemeTiers.js +1 -1
- package/dist/{SentenceView → features/SentenceView}/SentenceTags.d.ts +1 -1
- package/dist/{SentenceView → features/SentenceView}/SentenceTags.js +1 -1
- package/dist/{SentenceView → features/SentenceView}/SentenceValues.d.ts +1 -1
- package/dist/{SentenceView → features/SentenceView}/SentenceValues.js +1 -1
- package/dist/{SentenceView → features/SentenceView}/SentenceView.d.ts +2 -2
- package/dist/{SentenceView → features/SentenceView}/SentenceView.js +1 -1
- package/dist/{SentenceView → features/SentenceView}/SentenceWordTiers.d.ts +2 -2
- package/dist/{SentenceView → features/SentenceView}/SentenceWordTiers.js +1 -1
- package/dist/{TreeView → features/TreeView}/TreeView.d.ts +1 -1
- package/dist/{TreeView → features/TreeView}/TreeView.js +3 -3
- package/dist/{TreeView → features/TreeView}/TreeViewSearch/TreeViewSearch.d.ts +1 -1
- package/dist/{TreeView → features/TreeView}/TreeViewSearch/TreeViewSearch.js +1 -1
- package/dist/{TreeView → features/TreeView}/cytoscape/CytoscapeTreeConverter.d.ts +1 -1
- package/dist/features/TreeView/cytoscape/NodeCalculation.js +1 -0
- package/dist/{TreeView → features/TreeView}/cytoscape/SyntreesCytoscape.d.ts +1 -1
- package/dist/features/index.d.ts +24 -0
- package/dist/features/index.js +17 -0
- package/dist/functions/FormUtils.d.ts +1 -1
- package/dist/functions/index.d.ts +10 -0
- package/dist/functions/index.js +9 -0
- package/dist/index.d.ts +5 -103
- package/dist/index.js +5 -77
- package/dist/{Base → shell/Base}/ErrorFound.js +1 -1
- package/dist/{Base → shell/Base}/Logout.js +2 -2
- package/dist/{Base → shell/Base}/Unauthorized.js +2 -2
- package/dist/{Header → shell/Header}/HeaderApps/HeaderApps.d.ts +3 -3
- package/dist/{Header → shell/Header}/HeaderApps/HeaderApps.js +24 -24
- package/dist/{Header → shell/Header}/HeaderButtons/HeaderButtons.js +5 -5
- package/dist/{Header → shell/Header}/HeaderCorpora/HeaderCorpora.js +3 -3
- package/dist/{Header → shell/Header}/HeaderCorpora/HeaderCorpus.js +2 -2
- package/dist/{Header → shell/Header}/HeaderUser/HeaderUser.js +1 -1
- package/dist/{Header → shell/Header}/HelpButton/HelpModal.js +3 -3
- package/dist/{Header → shell/Header}/types/App.js +1 -1
- package/dist/{Header → shell/Header}/types/CorpusService.d.ts +1 -1
- package/dist/{Header → shell/Header}/types/CorpusService.js +2 -2
- package/dist/shell/index.d.ts +16 -0
- package/dist/shell/index.js +13 -0
- package/package.json +31 -2
- /package/dist/{AppAnalytics → common/AppAnalytics}/AppAnalytics.d.ts +0 -0
- /package/dist/{AppAnalytics → common/AppAnalytics}/AppAnalytics.js +0 -0
- /package/dist/{AppAnalytics → common/AppAnalytics}/index.d.ts +0 -0
- /package/dist/{AppAnalytics → common/AppAnalytics}/index.js +0 -0
- /package/dist/{AppCard → common/AppCard}/AppCard.d.ts +0 -0
- /package/dist/{AppCard → common/AppCard}/AppCard.js +0 -0
- /package/dist/{AppCard → common/AppCard}/index.d.ts +0 -0
- /package/dist/{AppCard → common/AppCard}/index.js +0 -0
- /package/dist/{AppCard → common/AppCard}/style.scss +0 -0
- /package/dist/{AppClipboard → common/AppClipboard}/AppClipboard.d.ts +0 -0
- /package/dist/{AppClipboard → common/AppClipboard}/AppClipboard.js +0 -0
- /package/dist/{AppClipboard → common/AppClipboard}/index.d.ts +0 -0
- /package/dist/{AppClipboard → common/AppClipboard}/index.js +0 -0
- /package/dist/{AppColorpicker → common/AppColorpicker}/AppColorpicker.d.ts +0 -0
- /package/dist/{AppColorpicker → common/AppColorpicker}/AppColorpicker.js +0 -0
- /package/dist/{AppColorpicker → common/AppColorpicker}/index.d.ts +0 -0
- /package/dist/{AppColorpicker → common/AppColorpicker}/index.js +0 -0
- /package/dist/{AppColorpicker → common/AppColorpicker}/style.scss +0 -0
- /package/dist/{AppConsent → common/AppConsent}/AppConsent.js +0 -0
- /package/dist/{AppConsent → common/AppConsent}/index.d.ts +0 -0
- /package/dist/{AppConsent → common/AppConsent}/index.js +0 -0
- /package/dist/{AppCopyText → common/AppCopyText}/AppCopyText.d.ts +0 -0
- /package/dist/{AppCopyText → common/AppCopyText}/AppCopyText.js +0 -0
- /package/dist/{AppCopyText → common/AppCopyText}/index.d.ts +0 -0
- /package/dist/{AppCopyText → common/AppCopyText}/index.js +0 -0
- /package/dist/{AppCopyText → common/AppCopyText}/styles.scss +0 -0
- /package/dist/{AppDropzone → common/AppDropzone}/AppDropzone.d.ts +0 -0
- /package/dist/{AppDropzone → common/AppDropzone}/AppDropzone.js +0 -0
- /package/dist/{AppDropzone → common/AppDropzone}/AppDropzoneBody.d.ts +0 -0
- /package/dist/{AppDropzone → common/AppDropzone}/UploadService.d.ts +0 -0
- /package/dist/{AppDropzone → common/AppDropzone}/UploadService.js +0 -0
- /package/dist/{AppDropzone → common/AppDropzone}/UploadedFile.d.ts +0 -0
- /package/dist/{AppDropzone → common/AppDropzone}/UploadedFile.js +0 -0
- /package/dist/{AppDropzone → common/AppDropzone}/index.d.ts +0 -0
- /package/dist/{AppDropzone → common/AppDropzone}/index.js +0 -0
- /package/dist/{AppDropzone → common/AppDropzone}/style.scss +0 -0
- /package/dist/{AppDropzoneLocal → common/AppDropzoneLocal}/AppDropzoneBodyLocal.d.ts +0 -0
- /package/dist/{AppDropzoneLocal → common/AppDropzoneLocal}/AppDropzoneBodyLocal.js +0 -0
- /package/dist/{AppDropzoneLocal → common/AppDropzoneLocal}/AppDropzoneLocal.d.ts +0 -0
- /package/dist/{AppDropzoneLocal → common/AppDropzoneLocal}/AppDropzoneLocal.js +0 -0
- /package/dist/{AppDropzoneLocal → common/AppDropzoneLocal}/UploadedFileLocal.d.ts +0 -0
- /package/dist/{AppDropzoneLocal → common/AppDropzoneLocal}/UploadedFileLocal.js +0 -0
- /package/dist/{AppDropzoneLocal → common/AppDropzoneLocal}/index.d.ts +0 -0
- /package/dist/{AppDropzoneLocal → common/AppDropzoneLocal}/index.js +0 -0
- /package/dist/{AppDropzoneLocal → common/AppDropzoneLocal}/style.scss +0 -0
- /package/dist/{AppEditable → common/AppEditable}/AppEditable.d.ts +0 -0
- /package/dist/{AppEditable → common/AppEditable}/AppEditable.js +0 -0
- /package/dist/{AppEditable → common/AppEditable}/AppEditableField.d.ts +0 -0
- /package/dist/{AppEditable → common/AppEditable}/AppEditableField.js +0 -0
- /package/dist/{AppEditable → common/AppEditable}/FormField.d.ts +0 -0
- /package/dist/{AppEditable → common/AppEditable}/FormField.js +0 -0
- /package/dist/{AppEditable → common/AppEditable}/FormFieldOption.d.ts +0 -0
- /package/dist/{AppEditable → common/AppEditable}/FormFieldOption.js +0 -0
- /package/dist/{AppEditable → common/AppEditable}/index.d.ts +0 -0
- /package/dist/{AppEditable → common/AppEditable}/index.js +0 -0
- /package/dist/{AppEditable → common/AppEditable}/style.scss +0 -0
- /package/dist/{AppForm → common/AppForm}/AppForm.d.ts +0 -0
- /package/dist/{AppForm → common/AppForm}/AppForm.js +0 -0
- /package/dist/{AppForm → common/AppForm}/AppFormField.d.ts +0 -0
- /package/dist/{AppForm → common/AppForm}/AppFormField.js +0 -0
- /package/dist/{AppForm → common/AppForm}/AppFormInfo.d.ts +0 -0
- /package/dist/{AppForm → common/AppForm}/index.d.ts +0 -0
- /package/dist/{AppForm → common/AppForm}/index.js +0 -0
- /package/dist/{AppForm → common/AppForm}/style.scss +0 -0
- /package/dist/{AppKeyboard → common/AppKeyboard}/AppKeyboard.d.ts +0 -0
- /package/dist/{AppKeyboard → common/AppKeyboard}/index.d.ts +0 -0
- /package/dist/{AppKeyboard → common/AppKeyboard}/index.js +0 -0
- /package/dist/{AppLoading → common/AppLoading}/AppLoading.d.ts +0 -0
- /package/dist/{AppLoading → common/AppLoading}/AppLoading.js +0 -0
- /package/dist/{AppLoading → common/AppLoading}/index.d.ts +0 -0
- /package/dist/{AppLoading → common/AppLoading}/index.js +0 -0
- /package/dist/{AppLoading → common/AppLoading}/style.scss +0 -0
- /package/dist/{AppModal → common/AppModal}/AppModal.d.ts +0 -0
- /package/dist/{AppModal → common/AppModal}/AppModal.js +0 -0
- /package/dist/{AppModal → common/AppModal}/AppModalConfirm.d.ts +0 -0
- /package/dist/{AppModal → common/AppModal}/AppModalConfirm.js +0 -0
- /package/dist/{AppModal → common/AppModal}/AppModalRemove.d.ts +0 -0
- /package/dist/{AppModal → common/AppModal}/AppModalRemove.js +0 -0
- /package/dist/{AppModal → common/AppModal}/AppModalUtils.d.ts +0 -0
- /package/dist/{AppModal → common/AppModal}/AppModalUtils.js +0 -0
- /package/dist/{AppModal → common/AppModal}/index.d.ts +0 -0
- /package/dist/{AppModal → common/AppModal}/index.js +0 -0
- /package/dist/{AppModal → common/AppModal}/style.scss +0 -0
- /package/dist/{AppPagination → common/AppPagination}/AppPagination.d.ts +0 -0
- /package/dist/{AppPagination → common/AppPagination}/AppPagination.js +0 -0
- /package/dist/{AppPagination → common/AppPagination}/index.d.ts +0 -0
- /package/dist/{AppPagination → common/AppPagination}/index.js +0 -0
- /package/dist/{AppPagination → common/AppPagination}/styles.scss +0 -0
- /package/dist/{AppPicture → common/AppPicture}/AppPicture.d.ts +0 -0
- /package/dist/{AppPicture → common/AppPicture}/index.d.ts +0 -0
- /package/dist/{AppPicture → common/AppPicture}/index.js +0 -0
- /package/dist/{AppPicture → common/AppPicture}/style.scss +0 -0
- /package/dist/{AppPlaceholder → common/AppPlaceholder}/AppPlaceholder.d.ts +0 -0
- /package/dist/{AppPlaceholder → common/AppPlaceholder}/AppPlaceholder.js +0 -0
- /package/dist/{AppPlaceholder → common/AppPlaceholder}/index.d.ts +0 -0
- /package/dist/{AppPlaceholder → common/AppPlaceholder}/index.js +0 -0
- /package/dist/{AppPlaceholder → common/AppPlaceholder}/style.scss +0 -0
- /package/dist/{AppReplaceAll → common/AppReplaceAll}/AppReplaceAll.d.ts +0 -0
- /package/dist/{AppReplaceAll → common/AppReplaceAll}/AppReplaceAll.js +0 -0
- /package/dist/{AppReplaceAll → common/AppReplaceAll}/index.d.ts +0 -0
- /package/dist/{AppReplaceAll → common/AppReplaceAll}/index.js +0 -0
- /package/dist/{AppReplaceAll → common/AppReplaceAll}/style.scss +0 -0
- /package/dist/{AppTable → common/AppTable}/AppTable.d.ts +0 -0
- /package/dist/{AppTable → common/AppTable}/AppTable.js +0 -0
- /package/dist/{AppTable → common/AppTable}/AppTableList.d.ts +0 -0
- /package/dist/{AppTable → common/AppTable}/AppTableList.js +0 -0
- /package/dist/{AppTable → common/AppTable}/AppTableTheme.d.ts +0 -0
- /package/dist/{AppTable → common/AppTable}/AppTableTheme.js +0 -0
- /package/dist/{AppTable → common/AppTable}/AppTableUtils.d.ts +0 -0
- /package/dist/{AppTable → common/AppTable}/AppTableUtils.js +0 -0
- /package/dist/{AppTable → common/AppTable}/index.d.ts +0 -0
- /package/dist/{AppTable → common/AppTable}/index.js +0 -0
- /package/dist/{AppTable → common/AppTable}/styles.scss +0 -0
- /package/dist/{AppTable → common/AppTable}/types/AppPage.d.ts +0 -0
- /package/dist/{AppTable → common/AppTable}/types/AppPage.js +0 -0
- /package/dist/{AppTable → common/AppTable}/types/AppPageable.d.ts +0 -0
- /package/dist/{AppTable → common/AppTable}/types/AppPageable.js +0 -0
- /package/dist/{AppToast → common/AppToast}/AppToast.d.ts +0 -0
- /package/dist/{AppToast → common/AppToast}/ToastMessage.d.ts +0 -0
- /package/dist/{AppToast → common/AppToast}/ToastMessage.js +0 -0
- /package/dist/{AppToast → common/AppToast}/index.d.ts +0 -0
- /package/dist/{AppToast → common/AppToast}/index.js +0 -0
- /package/dist/{AppToast → common/AppToast}/style.scss +0 -0
- /package/dist/{Comments → features/Comments}/CommentInfo.d.ts +0 -0
- /package/dist/{Comments/types → features/Comments}/CommentService.js +0 -0
- /package/dist/{Comments → features/Comments}/Comments.d.ts +0 -0
- /package/dist/{Comments → features/Comments}/HeaderNotifications/HeaderNotifications.d.ts +0 -0
- /package/dist/{Comments → features/Comments}/HeaderNotifications/index.d.ts +0 -0
- /package/dist/{Comments → features/Comments}/HeaderNotifications/index.js +0 -0
- /package/dist/{Comments → features/Comments}/HeaderNotifications/style.scss +0 -0
- /package/dist/{Comments → features/Comments}/index.d.ts +0 -0
- /package/dist/{Comments → features/Comments}/index.js +0 -0
- /package/dist/{Comments → features/Comments}/style.scss +0 -0
- /package/dist/{Comments → features/Comments}/types/Comment.d.ts +0 -0
- /package/dist/{Comments → features/Comments}/types/Comment.js +0 -0
- /package/dist/{CytoscapeMenu → features/CytoscapeMenu}/CytoscapeMenuCanvas.d.ts +0 -0
- /package/dist/{CytoscapeMenu → features/CytoscapeMenu}/CytoscapeMenuCanvas.js +0 -0
- /package/dist/{CytoscapeMenu → features/CytoscapeMenu}/constants.d.ts +0 -0
- /package/dist/{CytoscapeMenu → features/CytoscapeMenu}/constants.js +0 -0
- /package/dist/{CytoscapeMenu → features/CytoscapeMenu}/context-menu.d.ts +0 -0
- /package/dist/{CytoscapeMenu → features/CytoscapeMenu}/context-menu.js +0 -0
- /package/dist/{CytoscapeMenu → features/CytoscapeMenu}/cytoscape-context-menus.d.ts +0 -0
- /package/dist/{CytoscapeMenu → features/CytoscapeMenu}/cytoscape-context-menus.js +0 -0
- /package/dist/{CytoscapeMenu → features/CytoscapeMenu}/index.d.ts +0 -0
- /package/dist/{CytoscapeMenu → features/CytoscapeMenu}/index.js +0 -0
- /package/dist/{CytoscapeMenu → features/CytoscapeMenu}/style.scss +0 -0
- /package/dist/{CytoscapeMenu → features/CytoscapeMenu}/utils.d.ts +0 -0
- /package/dist/{CytoscapeMenu → features/CytoscapeMenu}/utils.js +0 -0
- /package/dist/{Parameters → features/Parameters}/Parameters.d.ts +0 -0
- /package/dist/{Parameters → features/Parameters}/index.d.ts +0 -0
- /package/dist/{Parameters → features/Parameters}/index.js +0 -0
- /package/dist/{Parameters → features/Parameters}/style.scss +0 -0
- /package/dist/{Participants → features/Participants}/ParticipantCreate/ParticipantCreate.d.ts +0 -0
- /package/dist/{Participants → features/Participants}/ParticipantCreate/index.d.ts +0 -0
- /package/dist/{Participants → features/Participants}/ParticipantCreate/index.js +0 -0
- /package/dist/{Participants → features/Participants}/ParticipantRemove/ParticipantRemove.d.ts +0 -0
- /package/dist/{Participants → features/Participants}/ParticipantRemove/index.d.ts +0 -0
- /package/dist/{Participants → features/Participants}/ParticipantRemove/index.js +0 -0
- /package/dist/{Participants → features/Participants}/ParticipantRemove/style.scss +0 -0
- /package/dist/{Participants/types → features/Participants}/ParticipantService.js +0 -0
- /package/dist/{Participants → features/Participants}/Participants.d.ts +0 -0
- /package/dist/{Participants → features/Participants}/index.d.ts +0 -0
- /package/dist/{Participants → features/Participants}/index.js +0 -0
- /package/dist/{Participants → features/Participants}/style.scss +0 -0
- /package/dist/{Participants → features/Participants}/types/Participant.js +0 -0
- /package/dist/{TreeView/cytoscape/NodeBounds.js → features/SentenceSplit/types/Language.js} +0 -0
- /package/dist/{SentenceView → features/SentenceView}/index.d.ts +0 -0
- /package/dist/{SentenceView → features/SentenceView}/index.js +0 -0
- /package/dist/{SentenceView → features/SentenceView}/style.scss +0 -0
- /package/dist/{TreeView → features/TreeView}/TreeViewSearch/TreeViewSearchField.d.ts +0 -0
- /package/dist/{TreeView → features/TreeView}/TreeViewSearch/TreeViewSearchField.js +0 -0
- /package/dist/{TreeView → features/TreeView}/TreeViewSearch/style.scss +0 -0
- /package/dist/{TreeView → features/TreeView}/cytoscape/Configuration.d.ts +0 -0
- /package/dist/{TreeView → features/TreeView}/cytoscape/Configuration.js +0 -0
- /package/dist/{TreeView → features/TreeView}/cytoscape/CytoscapePositionCalculator.d.ts +0 -0
- /package/dist/{TreeView → features/TreeView}/cytoscape/CytoscapePositionCalculator.js +0 -0
- /package/dist/{TreeView → features/TreeView}/cytoscape/CytoscapeStylesheet.d.ts +0 -0
- /package/dist/{TreeView → features/TreeView}/cytoscape/CytoscapeStylesheet.js +0 -0
- /package/dist/{TreeView → features/TreeView}/cytoscape/CytoscapeTreeConverter.js +0 -0
- /package/dist/{TreeView → features/TreeView}/cytoscape/NodeBounds.d.ts +0 -0
- /package/dist/{TreeView/cytoscape/NodeCalculation.js → features/TreeView/cytoscape/NodeBounds.js} +0 -0
- /package/dist/{TreeView → features/TreeView}/cytoscape/NodeCalculation.d.ts +0 -0
- /package/dist/{TreeView → features/TreeView}/cytoscape/NormalizedPosition.d.ts +0 -0
- /package/dist/{TreeView → features/TreeView}/cytoscape/NormalizedPosition.js +0 -0
- /package/dist/{TreeView → features/TreeView}/cytoscape/SyntreesCytoscape.js +0 -0
- /package/dist/{TreeView → features/TreeView}/cytoscape/TreeLayout.d.ts +0 -0
- /package/dist/{TreeView → features/TreeView}/cytoscape/TreeLayout.js +0 -0
- /package/dist/{TreeView → features/TreeView}/index.d.ts +0 -0
- /package/dist/{TreeView → features/TreeView}/index.js +0 -0
- /package/dist/{TreeView → features/TreeView}/style.scss +0 -0
- /package/dist/{Base → shell/Base}/ErrorBoundary.d.ts +0 -0
- /package/dist/{Base → shell/Base}/ErrorBoundary.js +0 -0
- /package/dist/{Base → shell/Base}/ErrorFound.d.ts +0 -0
- /package/dist/{Base → shell/Base}/Login.d.ts +0 -0
- /package/dist/{Base → shell/Base}/Login.js +0 -0
- /package/dist/{Base → shell/Base}/Logout.d.ts +0 -0
- /package/dist/{Base → shell/Base}/NotFound.d.ts +0 -0
- /package/dist/{Base → shell/Base}/NotFound.js +0 -0
- /package/dist/{Base → shell/Base}/Unauthorized.d.ts +0 -0
- /package/dist/{Base → shell/Base}/logo.png +0 -0
- /package/dist/{Base → shell/Base}/style.scss +0 -0
- /package/dist/{Header → shell/Header}/Header.d.ts +0 -0
- /package/dist/{Header → shell/Header}/Header.js +0 -0
- /package/dist/{Header → shell/Header}/HeaderApps/index.d.ts +0 -0
- /package/dist/{Header → shell/Header}/HeaderApps/index.js +0 -0
- /package/dist/{Header → shell/Header}/HeaderApps/logo.png +0 -0
- /package/dist/{Header → shell/Header}/HeaderApps/style.scss +0 -0
- /package/dist/{Header → shell/Header}/HeaderApps/youtube.png +0 -0
- /package/dist/{Header → shell/Header}/HeaderButtons/HeaderButtons.d.ts +0 -0
- /package/dist/{Header → shell/Header}/HeaderButtons/index.d.ts +0 -0
- /package/dist/{Header → shell/Header}/HeaderButtons/index.js +0 -0
- /package/dist/{Header → shell/Header}/HeaderButtons/styles.scss +0 -0
- /package/dist/{Header → shell/Header}/HeaderCorpora/HeaderCorpora.d.ts +0 -0
- /package/dist/{Header → shell/Header}/HeaderCorpora/HeaderCorpus.d.ts +0 -0
- /package/dist/{Header → shell/Header}/HeaderCorpora/index.d.ts +0 -0
- /package/dist/{Header → shell/Header}/HeaderCorpora/index.js +0 -0
- /package/dist/{Header → shell/Header}/HeaderCorpora/style.scss +0 -0
- /package/dist/{Header → shell/Header}/HeaderUser/HeaderUser.d.ts +0 -0
- /package/dist/{Header → shell/Header}/HeaderUser/index.d.ts +0 -0
- /package/dist/{Header → shell/Header}/HeaderUser/index.js +0 -0
- /package/dist/{Header → shell/Header}/HeaderUser/style.scss +0 -0
- /package/dist/{Header → shell/Header}/HelpButton/HelpButton.d.ts +0 -0
- /package/dist/{Header → shell/Header}/HelpButton/HelpButton.js +0 -0
- /package/dist/{Header → shell/Header}/HelpButton/HelpModal.d.ts +0 -0
- /package/dist/{Header → shell/Header}/HelpButton/index.d.ts +0 -0
- /package/dist/{Header → shell/Header}/HelpButton/index.js +0 -0
- /package/dist/{Header → shell/Header}/HelpButton/style.scss +0 -0
- /package/dist/{Header → shell/Header}/index.d.ts +0 -0
- /package/dist/{Header → shell/Header}/index.js +0 -0
- /package/dist/{Header → shell/Header}/styles.scss +0 -0
- /package/dist/{Header → shell/Header}/types/App.d.ts +0 -0
- /package/dist/{LanguageSelector → shell/LanguageSelector}/LanguageSelector.d.ts +0 -0
- /package/dist/{LanguageSelector → shell/LanguageSelector}/LanguageSelector.js +0 -0
- /package/dist/{LanguageSelector → shell/LanguageSelector}/index.d.ts +0 -0
- /package/dist/{LanguageSelector → shell/LanguageSelector}/index.js +0 -0
- /package/dist/{LanguageSelector → shell/LanguageSelector}/styles.scss +0 -0
- /package/dist/{VirtualKeyboard → shell/VirtualKeyboard}/KeyboardCustomLayout.d.ts +0 -0
- /package/dist/{VirtualKeyboard → shell/VirtualKeyboard}/KeyboardCustomLayout.js +0 -0
- /package/dist/{VirtualKeyboard → shell/VirtualKeyboard}/VirtualKeyboard.d.ts +0 -0
- /package/dist/{VirtualKeyboard → shell/VirtualKeyboard}/VirtualKeyboard.js +0 -0
- /package/dist/{VirtualKeyboard → shell/VirtualKeyboard}/index.d.ts +0 -0
- /package/dist/{VirtualKeyboard → shell/VirtualKeyboard}/index.js +0 -0
- /package/dist/{VirtualKeyboard → shell/VirtualKeyboard}/style.scss +0 -0
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
import { jsx as _jsx, jsxs as _jsxs, Fragment as _Fragment } from "react/jsx-runtime";
|
|
2
2
|
import { useTranslation } from 'react-i18next';
|
|
3
|
-
import SentenceUtils from '
|
|
3
|
+
import SentenceUtils from '../../functions/SentenceUtils';
|
|
4
4
|
import SentenceMorphemeTags from './SentenceMorphemeTags';
|
|
5
5
|
import './style.scss';
|
|
6
6
|
export default function SentenceMorphemeTiers({ struct, morphemeTiers, }) {
|
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
import { jsx as _jsx, jsxs as _jsxs } from "react/jsx-runtime";
|
|
2
2
|
import { useTranslation } from 'react-i18next';
|
|
3
|
-
import SentenceUtils from '
|
|
3
|
+
import SentenceUtils from '../../functions/SentenceUtils';
|
|
4
4
|
export default function SentenceTags({ tokens }) {
|
|
5
5
|
const { t } = useTranslation('sentence');
|
|
6
6
|
const { skipToken, getColspan, getTag } = SentenceUtils;
|
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
import { jsx as _jsx, jsxs as _jsxs } from "react/jsx-runtime";
|
|
2
2
|
import { useTranslation } from 'react-i18next';
|
|
3
|
-
import SentenceUtils from '
|
|
3
|
+
import SentenceUtils from '../../functions/SentenceUtils';
|
|
4
4
|
export default function SentenceView({ tokens }) {
|
|
5
5
|
const { t } = useTranslation('sentence');
|
|
6
6
|
const { skipToken, getColspan } = SentenceUtils;
|
|
@@ -1,5 +1,5 @@
|
|
|
1
|
-
import { Parameter } from '
|
|
2
|
-
import { Struct } from '
|
|
1
|
+
import { Parameter } from '../../configs/types/Parameter';
|
|
2
|
+
import { Struct } from '../../configs/types/Struct';
|
|
3
3
|
import './style.scss';
|
|
4
4
|
type Props = {
|
|
5
5
|
wordTiers: Parameter[];
|
|
@@ -1,5 +1,5 @@
|
|
|
1
1
|
import { jsx as _jsx, jsxs as _jsxs } from "react/jsx-runtime";
|
|
2
|
-
import SentenceUtils from '
|
|
2
|
+
import SentenceUtils from '../../functions/SentenceUtils';
|
|
3
3
|
import SentenceEditionTiers from './SentenceEditionTiers';
|
|
4
4
|
import SentenceMorphemeTiers from './SentenceMorphemeTiers';
|
|
5
5
|
import SentenceTags from './SentenceTags';
|
|
@@ -1,5 +1,5 @@
|
|
|
1
|
-
import { Parameter } from '
|
|
2
|
-
import { Token } from '
|
|
1
|
+
import { Parameter } from '../../configs/types/Parameter';
|
|
2
|
+
import { Token } from '../../configs/types/Struct';
|
|
3
3
|
type Props = {
|
|
4
4
|
tokens: Token[];
|
|
5
5
|
wordTiers: Parameter[];
|
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
import { jsx as _jsx, jsxs as _jsxs, Fragment as _Fragment } from "react/jsx-runtime";
|
|
2
2
|
import { useTranslation } from 'react-i18next';
|
|
3
|
-
import SentenceUtils from '
|
|
3
|
+
import SentenceUtils from '../../functions/SentenceUtils';
|
|
4
4
|
export default function SentenceWordTiers({ tokens, wordTiers }) {
|
|
5
5
|
const { t } = useTranslation('sentence');
|
|
6
6
|
const { skipToken } = SentenceUtils;
|
|
@@ -4,9 +4,9 @@ import html2canvas from "html2canvas";
|
|
|
4
4
|
import { useEffect, useState } from "react";
|
|
5
5
|
import { useTranslation } from "react-i18next";
|
|
6
6
|
import { IconButton } from "tycho-storybook";
|
|
7
|
-
import AppPlaceholder from "
|
|
8
|
-
import DateUtils from "
|
|
9
|
-
import SentenceUtils from "
|
|
7
|
+
import AppPlaceholder from "../../common/AppPlaceholder";
|
|
8
|
+
import DateUtils from "../../functions/DateUtils";
|
|
9
|
+
import SentenceUtils from "../../functions/SentenceUtils";
|
|
10
10
|
import TreeViewSearch from "./TreeViewSearch/TreeViewSearch";
|
|
11
11
|
import CytoscapeTreeConverter from "./cytoscape/CytoscapeTreeConverter";
|
|
12
12
|
import SyntreesCytoscape from "./cytoscape/SyntreesCytoscape";
|
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
import { jsx as _jsx } from "react/jsx-runtime";
|
|
2
2
|
import { useState } from 'react';
|
|
3
3
|
import { useTranslation } from 'react-i18next';
|
|
4
|
-
import AppModal from '
|
|
4
|
+
import AppModal from '../../../common/AppModal';
|
|
5
5
|
import TreeViewSearchField from './TreeViewSearchField';
|
|
6
6
|
import './style.scss';
|
|
7
7
|
export default function TreeViewSearch({ struct, cy, onClose, searchCriteria, setSearchCriteria, }) {
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
export {};
|
|
@@ -0,0 +1,24 @@
|
|
|
1
|
+
export { default as CommentComponent } from './Comments';
|
|
2
|
+
export { default as HeaderNotifications } from './Comments/HeaderNotifications';
|
|
3
|
+
export type { Comment } from './Comments/types/Comment';
|
|
4
|
+
export { default as CommentService } from './Comments/CommentService';
|
|
5
|
+
export { default as Parameters } from './Parameters';
|
|
6
|
+
export { default as Participants } from './Participants';
|
|
7
|
+
export type { default as Participant, ParticipantCreateRequest, } from './Participants/types/Participant';
|
|
8
|
+
export { EMPTY_PARTICIPANT, PARTICIPANT_FIELDS, CHAT_FIELDS, } from './Participants/types/Participant';
|
|
9
|
+
export { default as SentenceView } from './SentenceView';
|
|
10
|
+
export { default as TreeView } from './TreeView';
|
|
11
|
+
export { default as CytoscapeTreeConverter } from './TreeView/cytoscape/CytoscapeTreeConverter';
|
|
12
|
+
export { default as SyntreesCytoscape } from './TreeView/cytoscape/SyntreesCytoscape';
|
|
13
|
+
export { default as TreeViewSearch } from './TreeView/TreeViewSearch/TreeViewSearch';
|
|
14
|
+
export type { SearchCriteria } from './TreeView/TreeViewSearch/TreeViewSearch';
|
|
15
|
+
export { default as CytoscapeMenuCanvas } from './CytoscapeMenu/CytoscapeMenuCanvas';
|
|
16
|
+
export { registerCytoscapeContextMenus, contextMenus, } from './CytoscapeMenu';
|
|
17
|
+
export type { CytoscapeContextMenuOptions, MenuItemOption, ContextMenusInstance, } from './CytoscapeMenu';
|
|
18
|
+
export { default as SentenceSplit } from './SentenceSplit';
|
|
19
|
+
export { default as SentenceSplitService } from './SentenceSplit/SentenceSplitService';
|
|
20
|
+
export type { SentenceSplitRequest, SentenceSplitCommentAction, SplitComment, } from './SentenceSplit/types/SentenceSplitRequest';
|
|
21
|
+
export { emptySentenceSplitRequest, isSentenceSplitCommentAction, SENTENCE_SPLIT_COMMENT_ACTIONS, } from './SentenceSplit/types/SentenceSplitRequest';
|
|
22
|
+
export type { default as SentenceSplitLanguage } from './SentenceSplit/types/Language';
|
|
23
|
+
export type { SentenceSplitTranslationsInput, SentenceSplitIconButtonProps, } from './SentenceSplit/SentenceSplit';
|
|
24
|
+
export { SentenceSplitTexts } from './SentenceSplit/localization/SentenceSplitTexts';
|
|
@@ -0,0 +1,17 @@
|
|
|
1
|
+
export { default as CommentComponent } from './Comments';
|
|
2
|
+
export { default as HeaderNotifications } from './Comments/HeaderNotifications';
|
|
3
|
+
export { default as CommentService } from './Comments/CommentService';
|
|
4
|
+
export { default as Parameters } from './Parameters';
|
|
5
|
+
export { default as Participants } from './Participants';
|
|
6
|
+
export { EMPTY_PARTICIPANT, PARTICIPANT_FIELDS, CHAT_FIELDS, } from './Participants/types/Participant';
|
|
7
|
+
export { default as SentenceView } from './SentenceView';
|
|
8
|
+
export { default as TreeView } from './TreeView';
|
|
9
|
+
export { default as CytoscapeTreeConverter } from './TreeView/cytoscape/CytoscapeTreeConverter';
|
|
10
|
+
export { default as SyntreesCytoscape } from './TreeView/cytoscape/SyntreesCytoscape';
|
|
11
|
+
export { default as TreeViewSearch } from './TreeView/TreeViewSearch/TreeViewSearch';
|
|
12
|
+
export { default as CytoscapeMenuCanvas } from './CytoscapeMenu/CytoscapeMenuCanvas';
|
|
13
|
+
export { registerCytoscapeContextMenus, contextMenus, } from './CytoscapeMenu';
|
|
14
|
+
export { default as SentenceSplit } from './SentenceSplit';
|
|
15
|
+
export { default as SentenceSplitService } from './SentenceSplit/SentenceSplitService';
|
|
16
|
+
export { emptySentenceSplitRequest, isSentenceSplitCommentAction, SENTENCE_SPLIT_COMMENT_ACTIONS, } from './SentenceSplit/types/SentenceSplitRequest';
|
|
17
|
+
export { SentenceSplitTexts } from './SentenceSplit/localization/SentenceSplitTexts';
|
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
import { TFunction } from 'i18next';
|
|
2
2
|
import { SelectItem } from 'tycho-storybook/dist/SelectField/SelectField';
|
|
3
|
-
import { AppFormField } from '../AppForm/AppFormField';
|
|
3
|
+
import { AppFormField } from '../common/AppForm/AppFormField';
|
|
4
4
|
declare const FormUtils: {
|
|
5
5
|
convertEnum: (values: Record<string, string>, t?: TFunction, prefix?: string) => SelectItem[];
|
|
6
6
|
convertList: (values: any, labelAttr: string, valueAttr: string) => SelectItem[];
|
|
@@ -0,0 +1,10 @@
|
|
|
1
|
+
export { default as DateUtils } from './DateUtils';
|
|
2
|
+
export { default as EditionTierUtils } from './EditionTierUtils';
|
|
3
|
+
export { default as FilterUtils } from './FilterUtils';
|
|
4
|
+
export { default as FormUtils } from './FormUtils';
|
|
5
|
+
export { default as ImageUtils } from './ImageUtils';
|
|
6
|
+
export { default as SecurityUtils } from './SecurityUtils';
|
|
7
|
+
export { default as SentenceUtils } from './SentenceUtils';
|
|
8
|
+
export { default as UsabilityUtils } from './UsabilityUtils';
|
|
9
|
+
export { default as ToolsUtils, EDITION_TOOLS, type PlatformTools, } from './ToolsUtils';
|
|
10
|
+
export type { OpenDocumentParams, RedirectPageParams } from './ToolsUtils';
|
|
@@ -0,0 +1,9 @@
|
|
|
1
|
+
export { default as DateUtils } from './DateUtils';
|
|
2
|
+
export { default as EditionTierUtils } from './EditionTierUtils';
|
|
3
|
+
export { default as FilterUtils } from './FilterUtils';
|
|
4
|
+
export { default as FormUtils } from './FormUtils';
|
|
5
|
+
export { default as ImageUtils } from './ImageUtils';
|
|
6
|
+
export { default as SecurityUtils } from './SecurityUtils';
|
|
7
|
+
export { default as SentenceUtils } from './SentenceUtils';
|
|
8
|
+
export { default as UsabilityUtils } from './UsabilityUtils';
|
|
9
|
+
export { default as ToolsUtils, EDITION_TOOLS, } from './ToolsUtils';
|
package/dist/index.d.ts
CHANGED
|
@@ -1,103 +1,5 @@
|
|
|
1
|
-
export
|
|
2
|
-
export
|
|
3
|
-
export
|
|
4
|
-
export
|
|
5
|
-
export
|
|
6
|
-
export type { UploadedFile } from './AppDropzone/UploadedFile';
|
|
7
|
-
export { default as AppDropzoneLocal, AppDropzoneBodyLocal, type AppDropzoneBodyLocalProps, type AppDropzoneBodyLocalRef, type UploadedFileLocal, } from './AppDropzoneLocal';
|
|
8
|
-
export { default as AppEditable } from './AppEditable';
|
|
9
|
-
export type { AppEditableField } from './AppEditable/AppEditableField';
|
|
10
|
-
export { validateFormField } from './AppEditable/FormField';
|
|
11
|
-
export type { FieldOperations, FormField } from './AppEditable/FormField';
|
|
12
|
-
export { default as AppForm } from './AppForm/AppForm';
|
|
13
|
-
export { default as AppFormInfo } from './AppForm/AppFormInfo';
|
|
14
|
-
export type { AppFormField } from './AppForm/AppFormField';
|
|
15
|
-
export { convertEnum, convertList } from './AppEditable/FormFieldOption';
|
|
16
|
-
export type { FormFieldOption } from './AppEditable/FormFieldOption';
|
|
17
|
-
export { default as AppKeyboard } from './AppKeyboard';
|
|
18
|
-
export { default as AppLoading } from './AppLoading';
|
|
19
|
-
export { default as AppModal } from './AppModal';
|
|
20
|
-
export { default as AppModalConfirm } from './AppModal/AppModalConfirm';
|
|
21
|
-
export { default as AppModalRemove } from './AppModal/AppModalRemove';
|
|
22
|
-
export { default as AppPagination } from './AppPagination';
|
|
23
|
-
export { default as AppPicture } from './AppPicture';
|
|
24
|
-
export { default as AppPlaceholder } from './AppPlaceholder';
|
|
25
|
-
export { default as AppReplaceAll } from './AppReplaceAll/AppReplaceAll';
|
|
26
|
-
export { default as AppTable } from './AppTable';
|
|
27
|
-
export { default as AppTableList } from './AppTable/AppTableList';
|
|
28
|
-
export { EMPTY_GRID_PAGE, EMPTY_PAGE, isPageEmpty, } from './AppTable/types/AppPage';
|
|
29
|
-
export type { AppPage } from './AppTable/types/AppPage';
|
|
30
|
-
export { convertPageable, EMPTY_GRID_PAGEABLE, EMPTY_PAGEABLE, } from './AppTable/types/AppPageable';
|
|
31
|
-
export type { AppPageable } from './AppTable/types/AppPageable';
|
|
32
|
-
export { default as AppToast } from './AppToast';
|
|
33
|
-
export { default as ErrorBoundary } from './Base/ErrorBoundary';
|
|
34
|
-
export { default as ErrorFound } from './Base/ErrorFound';
|
|
35
|
-
export { default as Login } from './Base/Login';
|
|
36
|
-
export { default as Logout } from './Base/Logout';
|
|
37
|
-
export { default as NotFound } from './Base/NotFound';
|
|
38
|
-
export { default as Unauthorized } from './Base/Unauthorized';
|
|
39
|
-
export { default as CommentComponent } from './Comments';
|
|
40
|
-
export { default as HeaderNotifications } from './Comments/HeaderNotifications';
|
|
41
|
-
export type { Comment } from './Comments/types/Comment';
|
|
42
|
-
export { default as CommentService } from './Comments/types/CommentService';
|
|
43
|
-
export { CommonProvider } from './configs/CommonContext';
|
|
44
|
-
export { default as CookieStorage } from './configs/CookieStorage';
|
|
45
|
-
export { commonResources } from './configs/Localization';
|
|
46
|
-
export { default as LexiconListService } from './configs/services/LexiconListService';
|
|
47
|
-
export { default as ParserListService } from './configs/services/ParserListService';
|
|
48
|
-
export type { Corpus, CorpusRequest, Github } from './configs/types/Corpus';
|
|
49
|
-
export { CorpusStatusNames } from './configs/types/CorpusStatus';
|
|
50
|
-
export type { CorpusStatus } from './configs/types/CorpusStatus';
|
|
51
|
-
export { DocumentStatusNames } from './configs/types/Document';
|
|
52
|
-
export type { DocumentStatus, default as Document } from './configs/types/Document';
|
|
53
|
-
export { CorpusImageTypeNames } from './configs/types/CorpusImage';
|
|
54
|
-
export type { CorpusImage, CorpusImageType } from './configs/types/CorpusImage';
|
|
55
|
-
export { EditionTiers } from './configs/types/EditionTiers';
|
|
56
|
-
export type { Parameter, ParameterType } from './configs/types/Parameter';
|
|
57
|
-
export { SentenceStatusNames } from './configs/types/SentenceStatus';
|
|
58
|
-
export type { SentenceStatus } from './configs/types/SentenceStatus';
|
|
59
|
-
export type { Mark, Break, Format as SentenceFormat, SentenceTier, Translation, } from './configs/types/Sentence';
|
|
60
|
-
export type { default as Sentence } from './configs/types/Sentence';
|
|
61
|
-
export type { Chunk, Edition, Format, Morpheme, Split, Struct, Token, ConlluToken, } from './configs/types/Struct';
|
|
62
|
-
export type { CytoscapeTree, Tree } from './configs/types/Tree';
|
|
63
|
-
export { UserStatusNames } from './configs/types/User';
|
|
64
|
-
export type { User, UserStatus } from './configs/types/User';
|
|
65
|
-
export { useCorpusUtils } from './configs/useCorpusUtils';
|
|
66
|
-
export { useLoggedUtils } from './configs/useLoggedUtils';
|
|
67
|
-
export { useMessageUtils } from './configs/useMessageUtils';
|
|
68
|
-
export { useTourUtils } from './configs/useTourUtils';
|
|
69
|
-
export { default as DateUtils } from './functions/DateUtils';
|
|
70
|
-
export { default as EditionTierUtils } from './functions/EditionTierUtils';
|
|
71
|
-
export { default as FilterUtils } from './functions/FilterUtils';
|
|
72
|
-
export { default as FormUtils } from './functions/FormUtils';
|
|
73
|
-
export { default as ImageUtils } from './functions/ImageUtils';
|
|
74
|
-
export { default as SecurityUtils } from './functions/SecurityUtils';
|
|
75
|
-
export { default as SentenceUtils } from './functions/SentenceUtils';
|
|
76
|
-
export { default as UsabilityUtils } from './functions/UsabilityUtils';
|
|
77
|
-
export { default as ToolsUtils, EDITION_TOOLS, type PlatformTools, } from './functions/ToolsUtils';
|
|
78
|
-
export type { OpenDocumentParams, RedirectPageParams } from './functions/ToolsUtils';
|
|
79
|
-
export { default as Header } from './Header';
|
|
80
|
-
export { default as HeaderCorpus } from './Header/HeaderCorpora/HeaderCorpus';
|
|
81
|
-
export { default as HelpButton } from './Header/HelpButton';
|
|
82
|
-
export type { HelpAction } from './Header/HelpButton/HelpButton';
|
|
83
|
-
export { default as LanguageSelector } from './LanguageSelector';
|
|
84
|
-
export { AvailableLanguages } from './LanguageSelector';
|
|
85
|
-
export type { AvailableLanguage } from './LanguageSelector';
|
|
86
|
-
export { default as Parameters } from './Parameters';
|
|
87
|
-
export { default as Participants } from './Participants';
|
|
88
|
-
export type { default as Participant, ParticipantCreateRequest } from './Participants/types/Participant';
|
|
89
|
-
export { EMPTY_PARTICIPANT, PARTICIPANT_FIELDS, CHAT_FIELDS, } from './Participants/types/Participant';
|
|
90
|
-
export { default as SentenceView } from './SentenceView';
|
|
91
|
-
export { default as TreeView } from './TreeView';
|
|
92
|
-
export { default as CytoscapeTreeConverter } from './TreeView/cytoscape/CytoscapeTreeConverter';
|
|
93
|
-
export { default as SyntreesCytoscape } from './TreeView/cytoscape/SyntreesCytoscape';
|
|
94
|
-
export { default as TreeViewSearch } from './TreeView/TreeViewSearch/TreeViewSearch';
|
|
95
|
-
export type { SearchCriteria } from './TreeView/TreeViewSearch/TreeViewSearch';
|
|
96
|
-
export { default as VirtualKeyboard } from './VirtualKeyboard';
|
|
97
|
-
export { KeyboardCustomLayouts } from './VirtualKeyboard/KeyboardCustomLayout';
|
|
98
|
-
export type { KeyboardLayout } from './VirtualKeyboard/KeyboardCustomLayout';
|
|
99
|
-
export { default as AppCopyText } from './AppCopyText';
|
|
100
|
-
export { default as AppConsent } from './AppConsent';
|
|
101
|
-
export { default as CytoscapeMenuCanvas } from './CytoscapeMenu/CytoscapeMenuCanvas';
|
|
102
|
-
export { registerCytoscapeContextMenus, contextMenus, } from './CytoscapeMenu';
|
|
103
|
-
export type { CytoscapeContextMenuOptions, MenuItemOption, ContextMenusInstance, } from './CytoscapeMenu';
|
|
1
|
+
export * from './common';
|
|
2
|
+
export * from './shell';
|
|
3
|
+
export * from './configs';
|
|
4
|
+
export * from './functions';
|
|
5
|
+
export * from './features';
|
package/dist/index.js
CHANGED
|
@@ -1,77 +1,5 @@
|
|
|
1
|
-
export
|
|
2
|
-
export
|
|
3
|
-
export
|
|
4
|
-
export
|
|
5
|
-
export
|
|
6
|
-
export { default as AppDropzoneLocal, AppDropzoneBodyLocal, } from './AppDropzoneLocal';
|
|
7
|
-
export { default as AppEditable } from './AppEditable';
|
|
8
|
-
export { validateFormField } from './AppEditable/FormField';
|
|
9
|
-
export { default as AppForm } from './AppForm/AppForm';
|
|
10
|
-
export { default as AppFormInfo } from './AppForm/AppFormInfo';
|
|
11
|
-
export { convertEnum, convertList } from './AppEditable/FormFieldOption';
|
|
12
|
-
export { default as AppKeyboard } from './AppKeyboard';
|
|
13
|
-
export { default as AppLoading } from './AppLoading';
|
|
14
|
-
export { default as AppModal } from './AppModal';
|
|
15
|
-
export { default as AppModalConfirm } from './AppModal/AppModalConfirm';
|
|
16
|
-
export { default as AppModalRemove } from './AppModal/AppModalRemove';
|
|
17
|
-
export { default as AppPagination } from './AppPagination';
|
|
18
|
-
export { default as AppPicture } from './AppPicture';
|
|
19
|
-
export { default as AppPlaceholder } from './AppPlaceholder';
|
|
20
|
-
export { default as AppReplaceAll } from './AppReplaceAll/AppReplaceAll';
|
|
21
|
-
export { default as AppTable } from './AppTable';
|
|
22
|
-
export { default as AppTableList } from './AppTable/AppTableList';
|
|
23
|
-
export { EMPTY_GRID_PAGE, EMPTY_PAGE, isPageEmpty, } from './AppTable/types/AppPage';
|
|
24
|
-
export { convertPageable, EMPTY_GRID_PAGEABLE, EMPTY_PAGEABLE, } from './AppTable/types/AppPageable';
|
|
25
|
-
export { default as AppToast } from './AppToast';
|
|
26
|
-
export { default as ErrorBoundary } from './Base/ErrorBoundary';
|
|
27
|
-
export { default as ErrorFound } from './Base/ErrorFound';
|
|
28
|
-
export { default as Login } from './Base/Login';
|
|
29
|
-
export { default as Logout } from './Base/Logout';
|
|
30
|
-
export { default as NotFound } from './Base/NotFound';
|
|
31
|
-
export { default as Unauthorized } from './Base/Unauthorized';
|
|
32
|
-
export { default as CommentComponent } from './Comments';
|
|
33
|
-
export { default as HeaderNotifications } from './Comments/HeaderNotifications';
|
|
34
|
-
export { default as CommentService } from './Comments/types/CommentService';
|
|
35
|
-
export { CommonProvider } from './configs/CommonContext';
|
|
36
|
-
export { default as CookieStorage } from './configs/CookieStorage';
|
|
37
|
-
export { commonResources } from './configs/Localization';
|
|
38
|
-
export { default as LexiconListService } from './configs/services/LexiconListService';
|
|
39
|
-
export { default as ParserListService } from './configs/services/ParserListService';
|
|
40
|
-
export { CorpusStatusNames } from './configs/types/CorpusStatus';
|
|
41
|
-
export { DocumentStatusNames } from './configs/types/Document';
|
|
42
|
-
export { CorpusImageTypeNames } from './configs/types/CorpusImage';
|
|
43
|
-
export { EditionTiers } from './configs/types/EditionTiers';
|
|
44
|
-
export { SentenceStatusNames } from './configs/types/SentenceStatus';
|
|
45
|
-
export { UserStatusNames } from './configs/types/User';
|
|
46
|
-
export { useCorpusUtils } from './configs/useCorpusUtils';
|
|
47
|
-
export { useLoggedUtils } from './configs/useLoggedUtils';
|
|
48
|
-
export { useMessageUtils } from './configs/useMessageUtils';
|
|
49
|
-
export { useTourUtils } from './configs/useTourUtils';
|
|
50
|
-
export { default as DateUtils } from './functions/DateUtils';
|
|
51
|
-
export { default as EditionTierUtils } from './functions/EditionTierUtils';
|
|
52
|
-
export { default as FilterUtils } from './functions/FilterUtils';
|
|
53
|
-
export { default as FormUtils } from './functions/FormUtils';
|
|
54
|
-
export { default as ImageUtils } from './functions/ImageUtils';
|
|
55
|
-
export { default as SecurityUtils } from './functions/SecurityUtils';
|
|
56
|
-
export { default as SentenceUtils } from './functions/SentenceUtils';
|
|
57
|
-
export { default as UsabilityUtils } from './functions/UsabilityUtils';
|
|
58
|
-
export { default as ToolsUtils, EDITION_TOOLS, } from './functions/ToolsUtils';
|
|
59
|
-
export { default as Header } from './Header';
|
|
60
|
-
export { default as HeaderCorpus } from './Header/HeaderCorpora/HeaderCorpus';
|
|
61
|
-
export { default as HelpButton } from './Header/HelpButton';
|
|
62
|
-
export { default as LanguageSelector } from './LanguageSelector';
|
|
63
|
-
export { AvailableLanguages } from './LanguageSelector';
|
|
64
|
-
export { default as Parameters } from './Parameters';
|
|
65
|
-
export { default as Participants } from './Participants';
|
|
66
|
-
export { EMPTY_PARTICIPANT, PARTICIPANT_FIELDS, CHAT_FIELDS, } from './Participants/types/Participant';
|
|
67
|
-
export { default as SentenceView } from './SentenceView';
|
|
68
|
-
export { default as TreeView } from './TreeView';
|
|
69
|
-
export { default as CytoscapeTreeConverter } from './TreeView/cytoscape/CytoscapeTreeConverter';
|
|
70
|
-
export { default as SyntreesCytoscape } from './TreeView/cytoscape/SyntreesCytoscape';
|
|
71
|
-
export { default as TreeViewSearch } from './TreeView/TreeViewSearch/TreeViewSearch';
|
|
72
|
-
export { default as VirtualKeyboard } from './VirtualKeyboard';
|
|
73
|
-
export { KeyboardCustomLayouts } from './VirtualKeyboard/KeyboardCustomLayout';
|
|
74
|
-
export { default as AppCopyText } from './AppCopyText';
|
|
75
|
-
export { default as AppConsent } from './AppConsent';
|
|
76
|
-
export { default as CytoscapeMenuCanvas } from './CytoscapeMenu/CytoscapeMenuCanvas';
|
|
77
|
-
export { registerCytoscapeContextMenus, contextMenus, } from './CytoscapeMenu';
|
|
1
|
+
export * from './common';
|
|
2
|
+
export * from './shell';
|
|
3
|
+
export * from './configs';
|
|
4
|
+
export * from './functions';
|
|
5
|
+
export * from './features';
|
|
@@ -3,7 +3,7 @@ import { useState } from 'react';
|
|
|
3
3
|
import { useTranslation } from 'react-i18next';
|
|
4
4
|
import { useNavigate, useRouteError } from 'react-router-dom';
|
|
5
5
|
import { Button } from 'tycho-storybook';
|
|
6
|
-
import CookieStorage from '
|
|
6
|
+
import CookieStorage from '../../configs/CookieStorage';
|
|
7
7
|
import logo from './logo.png';
|
|
8
8
|
import './style.scss';
|
|
9
9
|
export default function ErrorFound() {
|
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
import { useEffect } from 'react';
|
|
2
|
-
import CookieStorage from '
|
|
3
|
-
import { useLoggedUtils } from '
|
|
2
|
+
import CookieStorage from '../../configs/CookieStorage';
|
|
3
|
+
import { useLoggedUtils } from '../../configs/useLoggedUtils';
|
|
4
4
|
export default function Logout() {
|
|
5
5
|
const { setLogged } = useLoggedUtils();
|
|
6
6
|
useEffect(() => {
|
|
@@ -2,8 +2,8 @@ import { jsx as _jsx, jsxs as _jsxs } from "react/jsx-runtime";
|
|
|
2
2
|
import logo from './logo.png';
|
|
3
3
|
import { useTranslation } from 'react-i18next';
|
|
4
4
|
import './style.scss';
|
|
5
|
-
import CookieStorage from '
|
|
6
|
-
import { useLoggedUtils } from '
|
|
5
|
+
import CookieStorage from '../../configs/CookieStorage';
|
|
6
|
+
import { useLoggedUtils } from '../../configs/useLoggedUtils';
|
|
7
7
|
export default function Unauthorized() {
|
|
8
8
|
const { setLogged } = useLoggedUtils();
|
|
9
9
|
const { t } = useTranslation('base');
|
|
@@ -1,11 +1,11 @@
|
|
|
1
|
-
import { HelpAction } from
|
|
2
|
-
import
|
|
1
|
+
import { HelpAction } from "../HelpButton/HelpButton";
|
|
2
|
+
import "./style.scss";
|
|
3
3
|
type Props = {
|
|
4
4
|
navigateLogout?: () => void;
|
|
5
5
|
navigateNotLogged: () => void;
|
|
6
6
|
hideKeyboard?: boolean;
|
|
7
7
|
notifications?: {
|
|
8
|
-
mode:
|
|
8
|
+
mode: "corpus" | "parser" | "lexicon";
|
|
9
9
|
ref: string;
|
|
10
10
|
};
|
|
11
11
|
keyboardLayout?: string;
|
|
@@ -1,20 +1,20 @@
|
|
|
1
1
|
import { jsx as _jsx, jsxs as _jsxs } from "react/jsx-runtime";
|
|
2
|
-
import { Drawer } from
|
|
3
|
-
import { useState } from
|
|
4
|
-
import { useTranslation } from
|
|
5
|
-
import { Icon, IconButton, Tag } from
|
|
6
|
-
import { useCorpusUtils } from
|
|
7
|
-
import { useLoggedUtils } from
|
|
8
|
-
import HeaderButtons from
|
|
9
|
-
import HeaderUser from
|
|
10
|
-
import { AvailableApps } from
|
|
11
|
-
import logo from
|
|
12
|
-
import youtube from
|
|
13
|
-
import
|
|
2
|
+
import { Drawer } from "@mui/material";
|
|
3
|
+
import { useState } from "react";
|
|
4
|
+
import { useTranslation } from "react-i18next";
|
|
5
|
+
import { Icon, IconButton, Tag } from "tycho-storybook";
|
|
6
|
+
import { useCorpusUtils } from "../../../configs/useCorpusUtils";
|
|
7
|
+
import { useLoggedUtils } from "../../../configs/useLoggedUtils";
|
|
8
|
+
import HeaderButtons from "../HeaderButtons";
|
|
9
|
+
import HeaderUser from "../HeaderUser";
|
|
10
|
+
import { AvailableApps } from "../types/App";
|
|
11
|
+
import logo from "./logo.png";
|
|
12
|
+
import youtube from "./youtube.png";
|
|
13
|
+
import "./style.scss";
|
|
14
14
|
export default function HeaderApps({ navigateLogout, navigateNotLogged, hideKeyboard, notifications, keyboardLayout, helpActions, }) {
|
|
15
|
-
const { t } = useTranslation(
|
|
15
|
+
const { t } = useTranslation("header-app");
|
|
16
16
|
const { getCorpus, hasCorpus } = useCorpusUtils();
|
|
17
|
-
const {
|
|
17
|
+
const { isAdminOfAnyCorpus, isLogged } = useLoggedUtils();
|
|
18
18
|
const [open, setOpen] = useState(false);
|
|
19
19
|
const goto = (app, blank) => {
|
|
20
20
|
const shouldAppendCorpusUid = app.appendCorpusUid !== false;
|
|
@@ -22,35 +22,35 @@ export default function HeaderApps({ navigateLogout, navigateNotLogged, hideKeyb
|
|
|
22
22
|
? `/${app.code}/${getCorpus().uid}`
|
|
23
23
|
: `/${app.code}`;
|
|
24
24
|
if (blank) {
|
|
25
|
-
window.open(url,
|
|
25
|
+
window.open(url, "_blank");
|
|
26
26
|
}
|
|
27
27
|
else {
|
|
28
28
|
location.href = url;
|
|
29
29
|
}
|
|
30
30
|
};
|
|
31
31
|
const renderItem = (item, idx) => {
|
|
32
|
-
if (item.visibility ===
|
|
32
|
+
if (item.visibility === "private" && !isLogged())
|
|
33
33
|
return null;
|
|
34
34
|
if (item.admin && !isAdminOfAnyCorpus())
|
|
35
35
|
return null;
|
|
36
36
|
return (_jsxs("div", { className: "item", title: t(`${item.code}.desc`), onClick: () => goto(item, item.external ? true : false), children: [item.icon && _jsx(Icon, { name: item.icon, size: "medium" }), item.image && _jsx("img", { src: item.image }), _jsx("span", { className: "title-app", children: t(`${item.code}.name`) }), _jsxs("div", { className: "options", children: [item.visibility && (_jsx(Tag, { text: t(`common:label.${item.visibility}`), size: "small", color: "green", className: "d-none" })), _jsx(IconButton, { name: "open_in_new", size: "x-small", className: "icon-open", mode: "ghost", onClick: (e) => {
|
|
37
37
|
e.stopPropagation();
|
|
38
38
|
goto(item, true);
|
|
39
|
-
}, title: t(
|
|
39
|
+
}, title: t("label.open.tab") })] })] }, idx.valueOf()));
|
|
40
40
|
};
|
|
41
|
-
return (_jsxs("div", { className: "header-apps-container", children: [_jsx(IconButton, { name: "apps", className: "icon-apps", size: "large", onClick: () => setOpen(!open), filledIcon: true }), open && (_jsxs(Drawer, { anchor: "left", open: true, onClose: () => setOpen(false), className: "offcanvas-apps", children: [_jsxs("div", { className: "header", children: [_jsx(IconButton, { name: "close", size: "medium", mode: "ghost", iconSize: "medium", onClick: () => setOpen(false) }), _jsx("span", { className: "header-apps-title", children: t(
|
|
41
|
+
return (_jsxs("div", { className: "header-apps-container", children: [_jsx(IconButton, { name: "apps", className: "icon-apps", size: "large", onClick: () => setOpen(!open), filledIcon: true }), open && (_jsxs(Drawer, { anchor: "left", open: true, onClose: () => setOpen(false), className: "offcanvas-apps", children: [_jsxs("div", { className: "header", children: [_jsx(IconButton, { name: "close", size: "medium", mode: "ghost", iconSize: "medium", onClick: () => setOpen(false) }), _jsx("span", { className: "header-apps-title", children: t("header:label.platform.complete") }), _jsx("div", { className: "header-profile-apps", children: _jsx(HeaderUser, { navigateLogout: navigateLogout, navigateNotLogged: navigateNotLogged }) })] }), _jsxs("div", { className: "body", children: [_jsx("div", { className: "title", children: t("label.tools") }), AvailableApps.map((item, idx) => renderItem(item, idx)), _jsx("div", { className: "title", children: t("label.quick") }), resources.map((item, idx) => renderItem(item, idx))] }), _jsx("div", { className: "footer", children: _jsx("div", { className: "header-apps-buttons", children: _jsx(HeaderButtons, { hideKeyboard: hideKeyboard, notifications: notifications, keyboardLayout: keyboardLayout, helpActions: helpActions, mobile: true }) }) })] }))] }));
|
|
42
42
|
}
|
|
43
43
|
const resources = [
|
|
44
44
|
{
|
|
45
|
-
code:
|
|
45
|
+
code: "platform",
|
|
46
46
|
image: logo,
|
|
47
|
-
visibility:
|
|
48
|
-
external:
|
|
47
|
+
visibility: "public",
|
|
48
|
+
external: "https://www.tycho.iel.unicamp.br",
|
|
49
49
|
},
|
|
50
50
|
{
|
|
51
|
-
code:
|
|
51
|
+
code: "youtube",
|
|
52
52
|
image: youtube,
|
|
53
|
-
visibility:
|
|
54
|
-
external:
|
|
53
|
+
visibility: "public",
|
|
54
|
+
external: "https://www.youtube.com/@tychoplatform",
|
|
55
55
|
},
|
|
56
56
|
];
|
|
@@ -1,18 +1,18 @@
|
|
|
1
1
|
import { jsx as _jsx, jsxs as _jsxs } from "react/jsx-runtime";
|
|
2
|
-
import { useState } from 'react';
|
|
2
|
+
import { lazy, Suspense, useState } from 'react';
|
|
3
3
|
import { useTranslation } from 'react-i18next';
|
|
4
4
|
import { IconButton } from 'tycho-storybook';
|
|
5
|
-
import HeaderNotifications from '../../Comments/HeaderNotifications';
|
|
6
5
|
import LanguageSelector from '../../LanguageSelector';
|
|
7
6
|
import VirtualKeyboard from '../../VirtualKeyboard';
|
|
8
|
-
import { useCorpusUtils } from '
|
|
9
|
-
import { useLoggedUtils } from '
|
|
7
|
+
import { useCorpusUtils } from '../../../configs/useCorpusUtils';
|
|
8
|
+
import { useLoggedUtils } from '../../../configs/useLoggedUtils';
|
|
10
9
|
import HelpButton from '../HelpButton';
|
|
11
10
|
import './styles.scss';
|
|
11
|
+
const HeaderNotifications = lazy(() => import('../../../features/Comments/HeaderNotifications'));
|
|
12
12
|
export default function HeaderButtons({ hideKeyboard, notifications, keyboardLayout, helpActions, mobile, }) {
|
|
13
13
|
const { t } = useTranslation('header');
|
|
14
14
|
const { getCorpus } = useCorpusUtils();
|
|
15
15
|
const { isLogged } = useLoggedUtils();
|
|
16
16
|
const [openKeyboard, setOpenKeyboard] = useState(false);
|
|
17
|
-
return (_jsxs("div", { className: "header-buttons", children: [!hideKeyboard && (_jsx(IconButton, { onClick: () => setOpenKeyboard(!openKeyboard), name: "keyboard", size: "medium", title: t('tooltip.keyboard'), mode: mobile ? 'outlined' : 'filled' })), _jsx(HelpButton, { helpActions: helpActions, mobile: mobile }), notifications && isLogged() && (_jsx(HeaderNotifications, { uid: notifications.ref, mode: notifications.mode, mobile: mobile })), _jsx(LanguageSelector, { openToTop: mobile ? true : false, mobile: mobile }), openKeyboard && (_jsx(VirtualKeyboard, { onClose: () => setOpenKeyboard(false), closeLabel: t('button.close'), defaultLayout: keyboardLayout || getCorpus().keyboardLayout || 'english' }))] }));
|
|
17
|
+
return (_jsxs("div", { className: "header-buttons", children: [!hideKeyboard && (_jsx(IconButton, { onClick: () => setOpenKeyboard(!openKeyboard), name: "keyboard", size: "medium", title: t('tooltip.keyboard'), mode: mobile ? 'outlined' : 'filled' })), _jsx(HelpButton, { helpActions: helpActions, mobile: mobile }), notifications && isLogged() && (_jsx(Suspense, { fallback: null, children: _jsx(HeaderNotifications, { uid: notifications.ref, mode: notifications.mode, mobile: mobile }) })), _jsx(LanguageSelector, { openToTop: mobile ? true : false, mobile: mobile }), openKeyboard && (_jsx(VirtualKeyboard, { onClose: () => setOpenKeyboard(false), closeLabel: t('button.close'), defaultLayout: keyboardLayout || getCorpus().keyboardLayout || 'english' }))] }));
|
|
18
18
|
}
|
|
@@ -2,9 +2,9 @@ import { jsx as _jsx, jsxs as _jsxs, Fragment as _Fragment } from "react/jsx-run
|
|
|
2
2
|
import { useEffect, useState } from 'react';
|
|
3
3
|
import { useTranslation } from 'react-i18next';
|
|
4
4
|
import { useParams } from 'react-router-dom';
|
|
5
|
-
import AppModal from '
|
|
6
|
-
import AppPicture from '
|
|
7
|
-
import { useCorpusUtils } from '
|
|
5
|
+
import AppModal from '../../../common/AppModal';
|
|
6
|
+
import AppPicture from '../../../common/AppPicture';
|
|
7
|
+
import { useCorpusUtils } from '../../../configs/useCorpusUtils';
|
|
8
8
|
import CorpusService from '../types/CorpusService';
|
|
9
9
|
import HeaderCorpus from './HeaderCorpus';
|
|
10
10
|
import './style.scss';
|
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
import { jsx as _jsx, jsxs as _jsxs, Fragment as _Fragment } from "react/jsx-runtime";
|
|
2
|
-
import AppPicture from '
|
|
3
|
-
import { useCorpusUtils } from '
|
|
2
|
+
import AppPicture from '../../../common/AppPicture';
|
|
3
|
+
import { useCorpusUtils } from '../../../configs/useCorpusUtils';
|
|
4
4
|
import './style.scss';
|
|
5
5
|
export default function HeaderCorpus({ onClick }) {
|
|
6
6
|
const { getCorpus, hasCorpus } = useCorpusUtils();
|
|
@@ -2,7 +2,7 @@ import { jsx as _jsx, jsxs as _jsxs } from "react/jsx-runtime";
|
|
|
2
2
|
import { useState } from 'react';
|
|
3
3
|
import { useTranslation } from 'react-i18next';
|
|
4
4
|
import { Avatar, Button, Icon } from 'tycho-storybook';
|
|
5
|
-
import { useLoggedUtils } from '
|
|
5
|
+
import { useLoggedUtils } from '../../../configs/useLoggedUtils';
|
|
6
6
|
import './style.scss';
|
|
7
7
|
export default function HeaderUser({ navigateLogout, navigateNotLogged, }) {
|
|
8
8
|
const { t } = useTranslation('header');
|