@manuscripts/article-editor 1.9.5 → 1.9.6
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/package.json +2 -2
- package/dist/cjs/src/components/SelectField.js +0 -24
- package/dist/cjs/src/components/SelectField.js.map +0 -1
- package/dist/cjs/src/components/Support.js +0 -129
- package/dist/cjs/src/components/Support.js.map +0 -1
- package/dist/cjs/src/components/inspector/ElementStyleInspector.js +0 -14
- package/dist/cjs/src/components/inspector/ElementStyleInspector.js.map +0 -1
- package/dist/cjs/src/components/inspector/StatisticsInspector.js +0 -39
- package/dist/cjs/src/components/inspector/StatisticsInspector.js.map +0 -1
- package/dist/cjs/src/components/library/BibliographyImportButton.js +0 -149
- package/dist/cjs/src/components/library/BibliographyImportButton.js.map +0 -1
- package/dist/cjs/src/components/library/CitationEditor.js +0 -227
- package/dist/cjs/src/components/library/CitationEditor.js.map +0 -1
- package/dist/cjs/src/components/library/CitationModal.js +0 -262
- package/dist/cjs/src/components/library/CitationModal.js.map +0 -1
- package/dist/cjs/src/components/library/CitationModel.js +0 -210
- package/dist/cjs/src/components/library/CitationModel.js.map +0 -1
- package/dist/cjs/src/components/library/CitationProperties.js +0 -67
- package/dist/cjs/src/components/library/CitationProperties.js.map +0 -1
- package/dist/cjs/src/components/library/CitationSearch.js +0 -214
- package/dist/cjs/src/components/library/CitationSearch.js.map +0 -1
- package/dist/cjs/src/components/library/CitationSearchSection.js +0 -133
- package/dist/cjs/src/components/library/CitationSearchSection.js.map +0 -1
- package/dist/cjs/src/components/library/CitationViewer.js +0 -53
- package/dist/cjs/src/components/library/CitationViewer.js.map +0 -1
- package/dist/cjs/src/components/library/ExternalSearch.js +0 -156
- package/dist/cjs/src/components/library/ExternalSearch.js.map +0 -1
- package/dist/cjs/src/components/library/GlobalLibrary.js +0 -133
- package/dist/cjs/src/components/library/GlobalLibrary.js.map +0 -1
- package/dist/cjs/src/components/library/LibraryCollectionCategories.js +0 -53
- package/dist/cjs/src/components/library/LibraryCollectionCategories.js.map +0 -1
- package/dist/cjs/src/components/library/LibraryForm.js +0 -437
- package/dist/cjs/src/components/library/LibraryForm.js.map +0 -1
- package/dist/cjs/src/components/library/LibraryItems.js +0 -116
- package/dist/cjs/src/components/library/LibraryItems.js.map +0 -1
- package/dist/cjs/src/components/library/LibraryPageContainer.js +0 -107
- package/dist/cjs/src/components/library/LibraryPageContainer.js.map +0 -1
- package/dist/cjs/src/components/library/LibrarySidebar.js +0 -172
- package/dist/cjs/src/components/library/LibrarySidebar.js.map +0 -1
- package/dist/cjs/src/components/library/Messages.js +0 -25
- package/dist/cjs/src/components/library/Messages.js.map +0 -1
- package/dist/cjs/src/components/library/ProjectLibrary.js +0 -96
- package/dist/cjs/src/components/library/ProjectLibrary.js.map +0 -1
- package/dist/cjs/src/components/library/ReferenceForm.js +0 -419
- package/dist/cjs/src/components/library/ReferenceForm.js.map +0 -1
- package/dist/cjs/src/components/library/ReferencesEditor.js +0 -70
- package/dist/cjs/src/components/library/ReferencesEditor.js.map +0 -1
- package/dist/cjs/src/components/library/ReferencesViewer.js +0 -33
- package/dist/cjs/src/components/library/ReferencesViewer.js.map +0 -1
- package/dist/cjs/src/components/library/SearchResults.js +0 -126
- package/dist/cjs/src/components/library/SearchResults.js.map +0 -1
- package/dist/cjs/src/components/menu/ApplicationMenus.js +0 -79
- package/dist/cjs/src/components/menu/ApplicationMenus.js.map +0 -1
- package/dist/cjs/src/components/metadata/HeaderFigure.js +0 -147
- package/dist/cjs/src/components/metadata/HeaderFigure.js.map +0 -1
- package/dist/cjs/src/components/metadata/Metadata.js +0 -103
- package/dist/cjs/src/components/metadata/Metadata.js.map +0 -1
- package/dist/cjs/src/components/metadata/MetadataContainer.js +0 -203
- package/dist/cjs/src/components/metadata/MetadataContainer.js.map +0 -1
- package/dist/cjs/src/components/metadata/TitleFieldContainer.js +0 -56
- package/dist/cjs/src/components/metadata/TitleFieldContainer.js.map +0 -1
- package/dist/cjs/src/components/projects/ApplicationMenus.js +0 -97
- package/dist/cjs/src/components/projects/ApplicationMenus.js.map +0 -1
- package/dist/cjs/src/components/projects/CategorisedKeywordsInput.js +0 -439
- package/dist/cjs/src/components/projects/CategorisedKeywordsInput.js.map +0 -1
- package/dist/cjs/src/components/projects/KeywordsInput.js +0 -80
- package/dist/cjs/src/components/projects/KeywordsInput.js.map +0 -1
- package/dist/cjs/src/components/projects/SortableManuscript.js +0 -102
- package/dist/cjs/src/components/projects/SortableManuscript.js.map +0 -1
- package/dist/cjs/src/components/projects/icons/DeleteIcon.js +0 -27
- package/dist/cjs/src/components/projects/icons/DeleteIcon.js.map +0 -1
- package/dist/cjs/src/components/projects/icons/GroupIcon.js +0 -29
- package/dist/cjs/src/components/projects/icons/GroupIcon.js.map +0 -1
- package/dist/cjs/src/components/projects/icons/LinkIcon.js +0 -23
- package/dist/cjs/src/components/projects/icons/LinkIcon.js.map +0 -1
- package/dist/cjs/src/components/projects/icons/TemplateIcon.js +0 -23
- package/dist/cjs/src/components/projects/icons/TemplateIcon.js.map +0 -1
- package/dist/cjs/src/components/projects/lean-workflow/ApplicationMenusLW.js +0 -102
- package/dist/cjs/src/components/projects/lean-workflow/ApplicationMenusLW.js.map +0 -1
- package/dist/cjs/src/components/projects/lean-workflow/CommentList.js +0 -289
- package/dist/cjs/src/components/projects/lean-workflow/CommentList.js.map +0 -1
- package/dist/cjs/src/components/projects/lean-workflow/CommentsTab.js +0 -41
- package/dist/cjs/src/components/projects/lean-workflow/CommentsTab.js.map +0 -1
- package/dist/cjs/src/components/projects/lean-workflow/ContentTab.js +0 -66
- package/dist/cjs/src/components/projects/lean-workflow/ContentTab.js.map +0 -1
- package/dist/cjs/src/components/projects/lean-workflow/EditorElement.js +0 -252
- package/dist/cjs/src/components/projects/lean-workflow/EditorElement.js.map +0 -1
- package/dist/cjs/src/components/projects/lean-workflow/ExceptionDialog.js +0 -150
- package/dist/cjs/src/components/projects/lean-workflow/ExceptionDialog.js.map +0 -1
- package/dist/cjs/src/components/projects/lean-workflow/ManuscriptPageContainerLW.js +0 -187
- package/dist/cjs/src/components/projects/lean-workflow/ManuscriptPageContainerLW.js.map +0 -1
- package/dist/cjs/src/components/projects/lean-workflow/SaveStatusController.js +0 -53
- package/dist/cjs/src/components/projects/lean-workflow/SaveStatusController.js.map +0 -1
- package/dist/cjs/src/components/projects/lean-workflow/TrackChangesStyles.js +0 -106
- package/dist/cjs/src/components/projects/lean-workflow/TrackChangesStyles.js.map +0 -1
- package/dist/cjs/src/components/projects/lean-workflow/icons/DeleteIcon.js +0 -27
- package/dist/cjs/src/components/projects/lean-workflow/icons/DeleteIcon.js.map +0 -1
- package/dist/cjs/src/components/projects/lean-workflow/icons/GroupIcon.js +0 -29
- package/dist/cjs/src/components/projects/lean-workflow/icons/GroupIcon.js.map +0 -1
- package/dist/cjs/src/components/projects/lean-workflow/icons/LinkIcon.js +0 -23
- package/dist/cjs/src/components/projects/lean-workflow/icons/LinkIcon.js.map +0 -1
- package/dist/cjs/src/components/projects/lean-workflow/icons/TemplateIcon.js +0 -23
- package/dist/cjs/src/components/projects/lean-workflow/icons/TemplateIcon.js.map +0 -1
- package/dist/cjs/src/components/projects/lean-workflow/provider/UserProvider.js +0 -38
- package/dist/cjs/src/components/projects/lean-workflow/provider/UserProvider.js.map +0 -1
- package/dist/cjs/src/components/requirements/RequirementContainer.js +0 -58
- package/dist/cjs/src/components/requirements/RequirementContainer.js.map +0 -1
- package/dist/cjs/src/components/requirements/RequirementsData.js +0 -129
- package/dist/cjs/src/components/requirements/RequirementsData.js.map +0 -1
- package/dist/cjs/src/components/requirements/RequirementsIcons.js +0 -34
- package/dist/cjs/src/components/requirements/RequirementsIcons.js.map +0 -1
- package/dist/cjs/src/components/requirements/RequirementsInspector.js +0 -150
- package/dist/cjs/src/components/requirements/RequirementsInspector.js.map +0 -1
- package/dist/cjs/src/components/requirements/RequirementsList.js +0 -84
- package/dist/cjs/src/components/requirements/RequirementsList.js.map +0 -1
- package/dist/cjs/src/components/requirements/SectionValidations.js +0 -47
- package/dist/cjs/src/components/requirements/SectionValidations.js.map +0 -1
- package/dist/cjs/src/components/toolbar/ListToolbarItemStyles.js +0 -85
- package/dist/cjs/src/components/toolbar/ListToolbarItemStyles.js.map +0 -1
- package/dist/cjs/src/components/toolbar/ManuscriptToolbar.js +0 -111
- package/dist/cjs/src/components/toolbar/ManuscriptToolbar.js.map +0 -1
- package/dist/cjs/src/components/toolbar/OrderdListToolbarItem.js +0 -190
- package/dist/cjs/src/components/toolbar/OrderdListToolbarItem.js.map +0 -1
- package/dist/cjs/src/components/track-changes/useEditorStore.js +0 -60
- package/dist/cjs/src/components/track-changes/useEditorStore.js.map +0 -1
- package/dist/cjs/src/hooks/use-requirements-validation.js +0 -87
- package/dist/cjs/src/hooks/use-requirements-validation.js.map +0 -1
- package/dist/cjs/src/lib/apollo.js +0 -41
- package/dist/cjs/src/lib/apollo.js.map +0 -1
- package/dist/cjs/src/lib/lean-workflow-gql.js +0 -40
- package/dist/cjs/src/lib/lean-workflow-gql.js.map +0 -1
- package/dist/cjs/src/lib/replace-attachments-ids.js +0 -49
- package/dist/cjs/src/lib/replace-attachments-ids.js.map +0 -1
- package/dist/cjs/src/lib/select-styles.js +0 -40
- package/dist/cjs/src/lib/select-styles.js.map +0 -1
- package/dist/cjs/src/lib/sources.js +0 -36
- package/dist/cjs/src/lib/sources.js.map +0 -1
- package/dist/cjs/src/postgres-data/Bibilo.js +0 -33
- package/dist/cjs/src/postgres-data/Bibilo.js.map +0 -1
- package/dist/cjs/src/quarterback/api/auth.js +0 -7
- package/dist/cjs/src/quarterback/api/auth.js.map +0 -1
- package/dist/cjs/src/quarterback/api/comment.js +0 -13
- package/dist/cjs/src/quarterback/api/comment.js.map +0 -1
- package/dist/cjs/src/quarterback/api/methodsV2.js +0 -124
- package/dist/cjs/src/quarterback/api/methodsV2.js.map +0 -1
- package/dist/cjs/src/quarterback/api/snapshot.js +0 -16
- package/dist/cjs/src/quarterback/api/snapshot.js.map +0 -1
- package/dist/cjs/src/quarterback/useAuthStore.js +0 -80
- package/dist/cjs/src/quarterback/useAuthStore.js.map +0 -1
- package/dist/cjs/src/quarterback/useCommentStore.js +0 -178
- package/dist/cjs/src/quarterback/useCommentStore.js.map +0 -1
- package/dist/cjs/src/quarterback/useDocStore.js +0 -121
- package/dist/cjs/src/quarterback/useDocStore.js.map +0 -1
- package/dist/cjs/src/quarterback/usePouchStore.js +0 -75
- package/dist/cjs/src/quarterback/usePouchStore.js.map +0 -1
- package/dist/cjs/src/quarterback/useSnapshotStore.js +0 -140
- package/dist/cjs/src/quarterback/useSnapshotStore.js.map +0 -1
- package/dist/cjs/src/store/BiblioTools.js +0 -3
- package/dist/cjs/src/store/BiblioTools.js.map +0 -1
- package/dist/cjs/stories/Citation.stories.js +0 -43
- package/dist/cjs/stories/Citation.stories.js.map +0 -1
- package/dist/cjs/stories/LibrarySidebar.stories.js +0 -188
- package/dist/cjs/stories/LibrarySidebar.stories.js.map +0 -1
- package/dist/cjs/stories/Metadata.stories.js +0 -53
- package/dist/cjs/stories/Metadata.stories.js.map +0 -1
- package/dist/cjs/stories/Notification.stories.js +0 -62
- package/dist/cjs/stories/Notification.stories.js.map +0 -1
- package/dist/cjs/stories/Page.stories.js +0 -50
- package/dist/cjs/stories/Page.stories.js.map +0 -1
- package/dist/cjs/stories/Panel.stories.js +0 -62
- package/dist/cjs/stories/Panel.stories.js.map +0 -1
- package/dist/cjs/stories/Placeholders.stories.js +0 -23
- package/dist/cjs/stories/Placeholders.stories.js.map +0 -1
- package/dist/cjs/stories/PopperButtons.stories.js +0 -27
- package/dist/cjs/stories/PopperButtons.stories.js.map +0 -1
- package/dist/cjs/stories/Progress.stories.js +0 -25
- package/dist/cjs/stories/Progress.stories.js.map +0 -1
- package/dist/cjs/stories/ProgressIndicator.stories.js +0 -33
- package/dist/cjs/stories/ProgressIndicator.stories.js.map +0 -1
- package/dist/cjs/stories/ReloadDialog.stories.js +0 -21
- package/dist/cjs/stories/ReloadDialog.stories.js.map +0 -1
- package/dist/cjs/stories/RequirementsInspector.stories.js +0 -159
- package/dist/cjs/stories/RequirementsInspector.stories.js.map +0 -1
- package/dist/cjs/stories/RequirmentsList.stories.js +0 -36
- package/dist/cjs/stories/RequirmentsList.stories.js.map +0 -1
- package/dist/cjs/stories/SelectField.stories.js +0 -34
- package/dist/cjs/stories/SelectField.stories.js.map +0 -1
- package/dist/cjs/stories/Support.stories.js +0 -32
- package/dist/cjs/stories/Support.stories.js.map +0 -1
- package/dist/cjs/stories/data/doc.js +0 -27
- package/dist/cjs/stories/data/doc.js.map +0 -1
- package/dist/cjs/stories/data/validationData.js +0 -44
- package/dist/cjs/stories/data/validationData.js.map +0 -1
- package/dist/es/src/components/SelectField.js +0 -17
- package/dist/es/src/components/SelectField.js.map +0 -1
- package/dist/es/src/components/Support.js +0 -100
- package/dist/es/src/components/Support.js.map +0 -1
- package/dist/es/src/components/inspector/ElementStyleInspector.js +0 -13
- package/dist/es/src/components/inspector/ElementStyleInspector.js.map +0 -1
- package/dist/es/src/components/inspector/StatisticsInspector.js +0 -32
- package/dist/es/src/components/inspector/StatisticsInspector.js.map +0 -1
- package/dist/es/src/components/library/BibliographyImportButton.js +0 -120
- package/dist/es/src/components/library/BibliographyImportButton.js.map +0 -1
- package/dist/es/src/components/library/CitationEditor.js +0 -198
- package/dist/es/src/components/library/CitationEditor.js.map +0 -1
- package/dist/es/src/components/library/CitationModal.js +0 -232
- package/dist/es/src/components/library/CitationModal.js.map +0 -1
- package/dist/es/src/components/library/CitationModel.js +0 -180
- package/dist/es/src/components/library/CitationModel.js.map +0 -1
- package/dist/es/src/components/library/CitationProperties.js +0 -60
- package/dist/es/src/components/library/CitationProperties.js.map +0 -1
- package/dist/es/src/components/library/CitationSearch.js +0 -184
- package/dist/es/src/components/library/CitationSearch.js.map +0 -1
- package/dist/es/src/components/library/CitationSearchSection.js +0 -103
- package/dist/es/src/components/library/CitationSearchSection.js.map +0 -1
- package/dist/es/src/components/library/CitationViewer.js +0 -46
- package/dist/es/src/components/library/CitationViewer.js.map +0 -1
- package/dist/es/src/components/library/ExternalSearch.js +0 -127
- package/dist/es/src/components/library/ExternalSearch.js.map +0 -1
- package/dist/es/src/components/library/GlobalLibrary.js +0 -104
- package/dist/es/src/components/library/GlobalLibrary.js.map +0 -1
- package/dist/es/src/components/library/LibraryCollectionCategories.js +0 -45
- package/dist/es/src/components/library/LibraryCollectionCategories.js.map +0 -1
- package/dist/es/src/components/library/LibraryForm.js +0 -409
- package/dist/es/src/components/library/LibraryForm.js.map +0 -1
- package/dist/es/src/components/library/LibraryItems.js +0 -86
- package/dist/es/src/components/library/LibraryItems.js.map +0 -1
- package/dist/es/src/components/library/LibraryPageContainer.js +0 -80
- package/dist/es/src/components/library/LibraryPageContainer.js.map +0 -1
- package/dist/es/src/components/library/LibrarySidebar.js +0 -165
- package/dist/es/src/components/library/LibrarySidebar.js.map +0 -1
- package/dist/es/src/components/library/Messages.js +0 -18
- package/dist/es/src/components/library/Messages.js.map +0 -1
- package/dist/es/src/components/library/ProjectLibrary.js +0 -67
- package/dist/es/src/components/library/ProjectLibrary.js.map +0 -1
- package/dist/es/src/components/library/ReferenceForm.js +0 -389
- package/dist/es/src/components/library/ReferenceForm.js.map +0 -1
- package/dist/es/src/components/library/ReferencesEditor.js +0 -43
- package/dist/es/src/components/library/ReferencesEditor.js.map +0 -1
- package/dist/es/src/components/library/ReferencesViewer.js +0 -26
- package/dist/es/src/components/library/ReferencesViewer.js.map +0 -1
- package/dist/es/src/components/library/SearchResults.js +0 -119
- package/dist/es/src/components/library/SearchResults.js.map +0 -1
- package/dist/es/src/components/menu/ApplicationMenus.js +0 -72
- package/dist/es/src/components/menu/ApplicationMenus.js.map +0 -1
- package/dist/es/src/components/metadata/HeaderFigure.js +0 -117
- package/dist/es/src/components/metadata/HeaderFigure.js.map +0 -1
- package/dist/es/src/components/metadata/Metadata.js +0 -73
- package/dist/es/src/components/metadata/Metadata.js.map +0 -1
- package/dist/es/src/components/metadata/MetadataContainer.js +0 -178
- package/dist/es/src/components/metadata/MetadataContainer.js.map +0 -1
- package/dist/es/src/components/metadata/TitleFieldContainer.js +0 -49
- package/dist/es/src/components/metadata/TitleFieldContainer.js.map +0 -1
- package/dist/es/src/components/projects/ApplicationMenus.js +0 -67
- package/dist/es/src/components/projects/ApplicationMenus.js.map +0 -1
- package/dist/es/src/components/projects/CategorisedKeywordsInput.js +0 -409
- package/dist/es/src/components/projects/CategorisedKeywordsInput.js.map +0 -1
- package/dist/es/src/components/projects/KeywordsInput.js +0 -73
- package/dist/es/src/components/projects/KeywordsInput.js.map +0 -1
- package/dist/es/src/components/projects/SortableManuscript.js +0 -72
- package/dist/es/src/components/projects/SortableManuscript.js.map +0 -1
- package/dist/es/src/components/projects/icons/DeleteIcon.js +0 -20
- package/dist/es/src/components/projects/icons/DeleteIcon.js.map +0 -1
- package/dist/es/src/components/projects/icons/GroupIcon.js +0 -22
- package/dist/es/src/components/projects/icons/GroupIcon.js.map +0 -1
- package/dist/es/src/components/projects/icons/LinkIcon.js +0 -16
- package/dist/es/src/components/projects/icons/LinkIcon.js.map +0 -1
- package/dist/es/src/components/projects/icons/TemplateIcon.js +0 -16
- package/dist/es/src/components/projects/icons/TemplateIcon.js.map +0 -1
- package/dist/es/src/components/projects/lean-workflow/ApplicationMenusLW.js +0 -72
- package/dist/es/src/components/projects/lean-workflow/ApplicationMenusLW.js.map +0 -1
- package/dist/es/src/components/projects/lean-workflow/CommentList.js +0 -259
- package/dist/es/src/components/projects/lean-workflow/CommentList.js.map +0 -1
- package/dist/es/src/components/projects/lean-workflow/CommentsTab.js +0 -34
- package/dist/es/src/components/projects/lean-workflow/CommentsTab.js.map +0 -1
- package/dist/es/src/components/projects/lean-workflow/ContentTab.js +0 -59
- package/dist/es/src/components/projects/lean-workflow/ContentTab.js.map +0 -1
- package/dist/es/src/components/projects/lean-workflow/EditorElement.js +0 -227
- package/dist/es/src/components/projects/lean-workflow/EditorElement.js.map +0 -1
- package/dist/es/src/components/projects/lean-workflow/ExceptionDialog.js +0 -120
- package/dist/es/src/components/projects/lean-workflow/ExceptionDialog.js.map +0 -1
- package/dist/es/src/components/projects/lean-workflow/ManuscriptPageContainerLW.js +0 -159
- package/dist/es/src/components/projects/lean-workflow/ManuscriptPageContainerLW.js.map +0 -1
- package/dist/es/src/components/projects/lean-workflow/SaveStatusController.js +0 -23
- package/dist/es/src/components/projects/lean-workflow/SaveStatusController.js.map +0 -1
- package/dist/es/src/components/projects/lean-workflow/TrackChangesStyles.js +0 -99
- package/dist/es/src/components/projects/lean-workflow/TrackChangesStyles.js.map +0 -1
- package/dist/es/src/components/projects/lean-workflow/icons/DeleteIcon.js +0 -20
- package/dist/es/src/components/projects/lean-workflow/icons/DeleteIcon.js.map +0 -1
- package/dist/es/src/components/projects/lean-workflow/icons/GroupIcon.js +0 -22
- package/dist/es/src/components/projects/lean-workflow/icons/GroupIcon.js.map +0 -1
- package/dist/es/src/components/projects/lean-workflow/icons/LinkIcon.js +0 -16
- package/dist/es/src/components/projects/lean-workflow/icons/LinkIcon.js.map +0 -1
- package/dist/es/src/components/projects/lean-workflow/icons/TemplateIcon.js +0 -16
- package/dist/es/src/components/projects/lean-workflow/icons/TemplateIcon.js.map +0 -1
- package/dist/es/src/components/projects/lean-workflow/provider/UserProvider.js +0 -11
- package/dist/es/src/components/projects/lean-workflow/provider/UserProvider.js.map +0 -1
- package/dist/es/src/components/requirements/RequirementContainer.js +0 -51
- package/dist/es/src/components/requirements/RequirementContainer.js.map +0 -1
- package/dist/es/src/components/requirements/RequirementsData.js +0 -99
- package/dist/es/src/components/requirements/RequirementsData.js.map +0 -1
- package/dist/es/src/components/requirements/RequirementsIcons.js +0 -24
- package/dist/es/src/components/requirements/RequirementsIcons.js.map +0 -1
- package/dist/es/src/components/requirements/RequirementsInspector.js +0 -118
- package/dist/es/src/components/requirements/RequirementsInspector.js.map +0 -1
- package/dist/es/src/components/requirements/RequirementsList.js +0 -54
- package/dist/es/src/components/requirements/RequirementsList.js.map +0 -1
- package/dist/es/src/components/requirements/SectionValidations.js +0 -40
- package/dist/es/src/components/requirements/SectionValidations.js.map +0 -1
- package/dist/es/src/components/toolbar/ListToolbarItemStyles.js +0 -59
- package/dist/es/src/components/toolbar/ListToolbarItemStyles.js.map +0 -1
- package/dist/es/src/components/toolbar/ManuscriptToolbar.js +0 -104
- package/dist/es/src/components/toolbar/ManuscriptToolbar.js.map +0 -1
- package/dist/es/src/components/toolbar/OrderdListToolbarItem.js +0 -158
- package/dist/es/src/components/toolbar/OrderdListToolbarItem.js.map +0 -1
- package/dist/es/src/components/track-changes/useEditorStore.js +0 -57
- package/dist/es/src/components/track-changes/useEditorStore.js.map +0 -1
- package/dist/es/src/hooks/use-requirements-validation.js +0 -83
- package/dist/es/src/hooks/use-requirements-validation.js.map +0 -1
- package/dist/es/src/lib/apollo.js +0 -35
- package/dist/es/src/lib/apollo.js.map +0 -1
- package/dist/es/src/lib/lean-workflow-gql.js +0 -33
- package/dist/es/src/lib/lean-workflow-gql.js.map +0 -1
- package/dist/es/src/lib/replace-attachments-ids.js +0 -44
- package/dist/es/src/lib/replace-attachments-ids.js.map +0 -1
- package/dist/es/src/lib/select-styles.js +0 -37
- package/dist/es/src/lib/select-styles.js.map +0 -1
- package/dist/es/src/lib/sources.js +0 -33
- package/dist/es/src/lib/sources.js.map +0 -1
- package/dist/es/src/postgres-data/Bibilo.js +0 -29
- package/dist/es/src/postgres-data/Bibilo.js.map +0 -1
- package/dist/es/src/quarterback/api/auth.js +0 -3
- package/dist/es/src/quarterback/api/auth.js.map +0 -1
- package/dist/es/src/quarterback/api/comment.js +0 -6
- package/dist/es/src/quarterback/api/comment.js.map +0 -1
- package/dist/es/src/quarterback/api/methodsV2.js +0 -111
- package/dist/es/src/quarterback/api/methodsV2.js.map +0 -1
- package/dist/es/src/quarterback/api/snapshot.js +0 -8
- package/dist/es/src/quarterback/api/snapshot.js.map +0 -1
- package/dist/es/src/quarterback/useAuthStore.js +0 -51
- package/dist/es/src/quarterback/useAuthStore.js.map +0 -1
- package/dist/es/src/quarterback/useCommentStore.js +0 -149
- package/dist/es/src/quarterback/useCommentStore.js.map +0 -1
- package/dist/es/src/quarterback/useDocStore.js +0 -92
- package/dist/es/src/quarterback/useDocStore.js.map +0 -1
- package/dist/es/src/quarterback/usePouchStore.js +0 -69
- package/dist/es/src/quarterback/usePouchStore.js.map +0 -1
- package/dist/es/src/quarterback/useSnapshotStore.js +0 -114
- package/dist/es/src/quarterback/useSnapshotStore.js.map +0 -1
- package/dist/es/src/store/BiblioTools.js +0 -2
- package/dist/es/src/store/BiblioTools.js.map +0 -1
- package/dist/es/stories/Citation.stories.js +0 -38
- package/dist/es/stories/Citation.stories.js.map +0 -1
- package/dist/es/stories/LibrarySidebar.stories.js +0 -183
- package/dist/es/stories/LibrarySidebar.stories.js.map +0 -1
- package/dist/es/stories/Metadata.stories.js +0 -48
- package/dist/es/stories/Metadata.stories.js.map +0 -1
- package/dist/es/stories/Notification.stories.js +0 -57
- package/dist/es/stories/Notification.stories.js.map +0 -1
- package/dist/es/stories/Page.stories.js +0 -45
- package/dist/es/stories/Page.stories.js.map +0 -1
- package/dist/es/stories/Panel.stories.js +0 -57
- package/dist/es/stories/Panel.stories.js.map +0 -1
- package/dist/es/stories/Placeholders.stories.js +0 -18
- package/dist/es/stories/Placeholders.stories.js.map +0 -1
- package/dist/es/stories/PopperButtons.stories.js +0 -22
- package/dist/es/stories/PopperButtons.stories.js.map +0 -1
- package/dist/es/stories/Progress.stories.js +0 -20
- package/dist/es/stories/Progress.stories.js.map +0 -1
- package/dist/es/stories/ProgressIndicator.stories.js +0 -28
- package/dist/es/stories/ProgressIndicator.stories.js.map +0 -1
- package/dist/es/stories/ReloadDialog.stories.js +0 -16
- package/dist/es/stories/ReloadDialog.stories.js.map +0 -1
- package/dist/es/stories/RequirementsInspector.stories.js +0 -154
- package/dist/es/stories/RequirementsInspector.stories.js.map +0 -1
- package/dist/es/stories/RequirmentsList.stories.js +0 -31
- package/dist/es/stories/RequirmentsList.stories.js.map +0 -1
- package/dist/es/stories/SelectField.stories.js +0 -29
- package/dist/es/stories/SelectField.stories.js.map +0 -1
- package/dist/es/stories/Support.stories.js +0 -27
- package/dist/es/stories/Support.stories.js.map +0 -1
- package/dist/es/stories/data/doc.js +0 -21
- package/dist/es/stories/data/doc.js.map +0 -1
- package/dist/es/stories/data/validationData.js +0 -41
- package/dist/es/stories/data/validationData.js.map +0 -1
- package/dist/types/src/components/SelectField.d.ts +0 -23
- package/dist/types/src/components/Support.d.ts +0 -13
- package/dist/types/src/components/inspector/ElementStyleInspector.d.ts +0 -13
- package/dist/types/src/components/inspector/StatisticsInspector.d.ts +0 -17
- package/dist/types/src/components/library/BibliographyImportButton.d.ts +0 -23
- package/dist/types/src/components/library/CitationEditor.d.ts +0 -30
- package/dist/types/src/components/library/CitationModal.d.ts +0 -17
- package/dist/types/src/components/library/CitationModel.d.ts +0 -18
- package/dist/types/src/components/library/CitationProperties.d.ts +0 -17
- package/dist/types/src/components/library/CitationSearch.d.ts +0 -22
- package/dist/types/src/components/library/CitationSearchSection.d.ts +0 -34
- package/dist/types/src/components/library/CitationViewer.d.ts +0 -18
- package/dist/types/src/components/library/ExternalSearch.d.ts +0 -19
- package/dist/types/src/components/library/GlobalLibrary.d.ts +0 -20
- package/dist/types/src/components/library/LibraryCollectionCategories.d.ts +0 -15
- package/dist/types/src/components/library/LibraryForm.d.ts +0 -20
- package/dist/types/src/components/library/LibraryItems.d.ts +0 -12
- package/dist/types/src/components/library/LibraryPageContainer.d.ts +0 -14
- package/dist/types/src/components/library/LibrarySidebar.d.ts +0 -21
- package/dist/types/src/components/library/Messages.d.ts +0 -15
- package/dist/types/src/components/library/ProjectLibrary.d.ts +0 -23
- package/dist/types/src/components/library/ReferenceForm.d.ts +0 -51
- package/dist/types/src/components/library/ReferencesEditor.d.ts +0 -22
- package/dist/types/src/components/library/ReferencesViewer.d.ts +0 -9
- package/dist/types/src/components/library/SearchResults.d.ts +0 -26
- package/dist/types/src/components/menu/ApplicationMenus.d.ts +0 -19
- package/dist/types/src/components/metadata/HeaderFigure.d.ts +0 -13
- package/dist/types/src/components/metadata/Metadata.d.ts +0 -60
- package/dist/types/src/components/metadata/MetadataContainer.d.ts +0 -21
- package/dist/types/src/components/metadata/TitleFieldContainer.d.ts +0 -19
- package/dist/types/src/components/projects/ApplicationMenus.d.ts +0 -20
- package/dist/types/src/components/projects/CategorisedKeywordsInput.d.ts +0 -6
- package/dist/types/src/components/projects/KeywordsInput.d.ts +0 -17
- package/dist/types/src/components/projects/SortableManuscript.d.ts +0 -18
- package/dist/types/src/components/projects/icons/DeleteIcon.d.ts +0 -13
- package/dist/types/src/components/projects/icons/GroupIcon.d.ts +0 -15
- package/dist/types/src/components/projects/icons/LinkIcon.d.ts +0 -13
- package/dist/types/src/components/projects/icons/TemplateIcon.d.ts +0 -13
- package/dist/types/src/components/projects/lean-workflow/ApplicationMenusLW.d.ts +0 -20
- package/dist/types/src/components/projects/lean-workflow/CommentList.d.ts +0 -18
- package/dist/types/src/components/projects/lean-workflow/CommentsTab.d.ts +0 -7
- package/dist/types/src/components/projects/lean-workflow/ContentTab.d.ts +0 -6
- package/dist/types/src/components/projects/lean-workflow/EditorElement.d.ts +0 -18
- package/dist/types/src/components/projects/lean-workflow/ExceptionDialog.d.ts +0 -4
- package/dist/types/src/components/projects/lean-workflow/ManuscriptPageContainerLW.d.ts +0 -18
- package/dist/types/src/components/projects/lean-workflow/SaveStatusController.d.ts +0 -17
- package/dist/types/src/components/projects/lean-workflow/TrackChangesStyles.d.ts +0 -13
- package/dist/types/src/components/projects/lean-workflow/icons/DeleteIcon.d.ts +0 -13
- package/dist/types/src/components/projects/lean-workflow/icons/GroupIcon.d.ts +0 -15
- package/dist/types/src/components/projects/lean-workflow/icons/LinkIcon.d.ts +0 -13
- package/dist/types/src/components/projects/lean-workflow/icons/TemplateIcon.d.ts +0 -13
- package/dist/types/src/components/projects/lean-workflow/provider/UserProvider.d.ts +0 -22
- package/dist/types/src/components/requirements/RequirementContainer.d.ts +0 -19
- package/dist/types/src/components/requirements/RequirementsData.d.ts +0 -21
- package/dist/types/src/components/requirements/RequirementsIcons.d.ts +0 -16
- package/dist/types/src/components/requirements/RequirementsInspector.d.ts +0 -23
- package/dist/types/src/components/requirements/RequirementsList.d.ts +0 -16
- package/dist/types/src/components/requirements/SectionValidations.d.ts +0 -21
- package/dist/types/src/components/toolbar/ListToolbarItemStyles.d.ts +0 -25
- package/dist/types/src/components/toolbar/ManuscriptToolbar.d.ts +0 -22
- package/dist/types/src/components/toolbar/OrderdListToolbarItem.d.ts +0 -24
- package/dist/types/src/components/track-changes/useEditorStore.d.ts +0 -36
- package/dist/types/src/hooks/use-requirements-validation.d.ts +0 -22
- package/dist/types/src/lib/apollo.d.ts +0 -13
- package/dist/types/src/lib/lean-workflow-gql.d.ts +0 -66
- package/dist/types/src/lib/replace-attachments-ids.d.ts +0 -15
- package/dist/types/src/lib/select-styles.d.ts +0 -13
- package/dist/types/src/lib/sources.d.ts +0 -25
- package/dist/types/src/postgres-data/Bibilo.d.ts +0 -33
- package/dist/types/src/quarterback/api/auth.d.ts +0 -13
- package/dist/types/src/quarterback/api/comment.d.ts +0 -16
- package/dist/types/src/quarterback/api/methodsV2.d.ts +0 -32
- package/dist/types/src/quarterback/api/snapshot.d.ts +0 -17
- package/dist/types/src/quarterback/useAuthStore.d.ts +0 -61
- package/dist/types/src/quarterback/useCommentStore.d.ts +0 -30
- package/dist/types/src/quarterback/useDocStore.d.ts +0 -19
- package/dist/types/src/quarterback/usePouchStore.d.ts +0 -30
- package/dist/types/src/quarterback/useSnapshotStore.d.ts +0 -29
- package/dist/types/src/store/BiblioTools.d.ts +0 -21
- package/dist/types/stories/Citation.stories.d.ts +0 -12
- package/dist/types/stories/LibrarySidebar.stories.d.ts +0 -12
- package/dist/types/stories/Metadata.stories.d.ts +0 -12
- package/dist/types/stories/Notification.stories.d.ts +0 -12
- package/dist/types/stories/Page.stories.d.ts +0 -12
- package/dist/types/stories/Panel.stories.d.ts +0 -12
- package/dist/types/stories/Placeholders.stories.d.ts +0 -12
- package/dist/types/stories/PopperButtons.stories.d.ts +0 -12
- package/dist/types/stories/Progress.stories.d.ts +0 -12
- package/dist/types/stories/ProgressIndicator.stories.d.ts +0 -12
- package/dist/types/stories/ReloadDialog.stories.d.ts +0 -12
- package/dist/types/stories/RequirementsInspector.stories.d.ts +0 -12
- package/dist/types/stories/RequirmentsList.stories.d.ts +0 -12
- package/dist/types/stories/SelectField.stories.d.ts +0 -12
- package/dist/types/stories/Support.stories.d.ts +0 -12
- package/dist/types/stories/data/doc.d.ts +0 -14
- package/dist/types/stories/data/validationData.d.ts +0 -13
|
@@ -1,53 +0,0 @@
|
|
|
1
|
-
"use strict";
|
|
2
|
-
/*!
|
|
3
|
-
* The contents of this file are subject to the Common Public Attribution License Version 1.0 (the “License”); you may not use this file except in compliance with the License. You may obtain a copy of the License at https://mpapp-public.gitlab.io/manuscripts-frontend/LICENSE. The License is based on the Mozilla Public License Version 1.1 but Sections 14 and 15 have been added to cover use of software over a computer network and provide for limited attribution for the Original Developer. In addition, Exhibit A has been modified to be consistent with Exhibit B.
|
|
4
|
-
*
|
|
5
|
-
* Software distributed under the License is distributed on an “AS IS” basis, WITHOUT WARRANTY OF ANY KIND, either express or implied. See the License for the specific language governing rights and limitations under the License.
|
|
6
|
-
*
|
|
7
|
-
* The Original Code is manuscripts-frontend.
|
|
8
|
-
*
|
|
9
|
-
* The Original Developer is the Initial Developer. The Initial Developer of the Original Code is Atypon Systems LLC.
|
|
10
|
-
*
|
|
11
|
-
* All portions of the code written by Atypon Systems LLC are Copyright (c) 2019 Atypon Systems LLC. All Rights Reserved.
|
|
12
|
-
*/
|
|
13
|
-
var __importDefault = (this && this.__importDefault) || function (mod) {
|
|
14
|
-
return (mod && mod.__esModule) ? mod : { "default": mod };
|
|
15
|
-
};
|
|
16
|
-
Object.defineProperty(exports, "__esModule", { value: true });
|
|
17
|
-
const title_editor_1 = require("@manuscripts/title-editor");
|
|
18
|
-
const addon_actions_1 = require("@storybook/addon-actions");
|
|
19
|
-
const react_1 = require("@storybook/react");
|
|
20
|
-
const react_2 = __importDefault(require("react"));
|
|
21
|
-
const AddAuthorButton_1 = __importDefault(require("../src/components/metadata/AddAuthorButton"));
|
|
22
|
-
const AddAuthorsSidebar_1 = __importDefault(require("../src/components/metadata/AddAuthorsSidebar"));
|
|
23
|
-
const AuthorFormContainer_1 = require("../src/components/metadata/AuthorFormContainer");
|
|
24
|
-
const AuthorsModals_1 = require("../src/components/metadata/AuthorsModals");
|
|
25
|
-
const AuthorsSidebar_1 = __importDefault(require("../src/components/metadata/AuthorsSidebar"));
|
|
26
|
-
const SearchAuthorsSidebar_1 = __importDefault(require("../src/components/metadata/SearchAuthorsSidebar"));
|
|
27
|
-
const authors_1 = require("../src/lib/authors");
|
|
28
|
-
const contributors_1 = require("./data/contributors");
|
|
29
|
-
const projects_1 = require("./data/projects");
|
|
30
|
-
const affiliationIds = (0, authors_1.buildSortedAffiliationIDs)(contributors_1.authors);
|
|
31
|
-
const authorAffiliations = (0, authors_1.buildAuthorAffiliations)(contributors_1.authors, contributors_1.affiliations, affiliationIds);
|
|
32
|
-
(0, react_1.storiesOf)('Metadata', module)
|
|
33
|
-
.add('Title: read-only', () => (react_2.default.createElement(title_editor_1.Title, { value: 'Landscape genomic prediction for restoration of a <em>Eucalyptus</em> foundation species under climate change' })))
|
|
34
|
-
.add('Title: write', () => (react_2.default.createElement(title_editor_1.TitleField, { value: 'Landscape genomic prediction for restoration of a <em>Eucalyptus</em> foundation species under climate change' })))
|
|
35
|
-
.add('Authors Modal', () => (react_2.default.createElement(AuthorsModals_1.AuthorsModal, { affiliations: contributors_1.affiliations, authorAffiliations: authorAffiliations, handleSaveAuthor: (0, addon_actions_1.action)('save author'), addAuthorAffiliation: (0, addon_actions_1.action)('add affiliation to select author (if string: create it)'), removeAuthorAffiliation: (0, addon_actions_1.action)('remove affiliation from selected author'), updateAffiliation: (0, addon_actions_1.action)('upate the affiliation'), isRemoveAuthorOpen: false, removeAuthor: (0, addon_actions_1.action)('remove author'), handleRemoveAuthor: (0, addon_actions_1.action)('handle open the remove author confirmation dialog'), isRejected: (0, addon_actions_1.action)('check invitation existence'), project: projects_1.project, updateAuthor: (0, addon_actions_1.action)('update author after inviting him to collaborate on project'), getAuthorName: (0, addon_actions_1.action)('get the author name'), authors: contributors_1.authors, selectAuthor: (0, addon_actions_1.action)('select author'), selectedAuthor: null, handleDrop: (0, addon_actions_1.action)('dropped the user'), openAddAuthors: (0, addon_actions_1.action)('start adding'), tokenActions: {
|
|
36
|
-
delete: (0, addon_actions_1.action)('delete token'),
|
|
37
|
-
update: (0, addon_actions_1.action)('update token'),
|
|
38
|
-
}, invitationSent: false, handleDismiss: (0, addon_actions_1.action)('dismiss message'), contributorRoles: [], createContributorRole: (0, addon_actions_1.action)('create contributor role'), allowInvitingAuthors: true })))
|
|
39
|
-
.add('Authors Sidebar', () => (react_2.default.createElement(AuthorsSidebar_1.default, { authors: contributors_1.authors, authorAffiliations: authorAffiliations, selectAuthor: (0, addon_actions_1.action)('select author'), selectedAuthor: null, openAddAuthors: (0, addon_actions_1.action)('start adding'), handleDrop: (0, addon_actions_1.action)('dropped the user'), invitationSent: false, handleDismiss: (0, addon_actions_1.action)('dismiss message') })))
|
|
40
|
-
.add('Authors Sidebar with decorations', () => (react_2.default.createElement(AuthorsSidebar_1.default, { authors: contributors_1.authors, authorAffiliations: authorAffiliations, selectAuthor: (0, addon_actions_1.action)('select author'), selectedAuthor: null, getSidebarItemDecorator: () => react_2.default.createElement("span", null, "Ain't Afraid"), openAddAuthors: (0, addon_actions_1.action)('start adding'), handleDrop: (0, addon_actions_1.action)('dropped the user'), invitationSent: false, handleDismiss: (0, addon_actions_1.action)('dismiss message') })))
|
|
41
|
-
.add('Author Form', () => (react_2.default.createElement(AuthorFormContainer_1.AuthorFormContainer, { author: contributors_1.authors[0], affiliations: contributors_1.affiliations, authorAffiliations: authorAffiliations.get(contributors_1.authors[0]._id), handleSave: (0, addon_actions_1.action)('save author'), addAuthorAffiliation: (0, addon_actions_1.action)('add affiliation to select author (if string: create it)'), removeAuthorAffiliation: (0, addon_actions_1.action)('remove affiliation from selected author'), updateAffiliation: (0, addon_actions_1.action)('upate the affiliation'), isRemoveAuthorOpen: false, removeAuthor: (0, addon_actions_1.action)('remove author'), handleRemoveAuthor: (0, addon_actions_1.action)('handle open the remove author confirmation dialog'), isRejected: (0, addon_actions_1.action)('check invitation existence'), project: projects_1.project, updateAuthor: (0, addon_actions_1.action)('update author after inviting him to collaborate on project'), getAuthorName: (0, addon_actions_1.action)('get the author name'), tokenActions: {
|
|
42
|
-
delete: (0, addon_actions_1.action)('delete token'),
|
|
43
|
-
update: (0, addon_actions_1.action)('update token'),
|
|
44
|
-
}, contributorRoles: [], createContributorRole: (0, addon_actions_1.action)('create contributor role'), allowInvitingAuthors: true })))
|
|
45
|
-
.add('Add Authors Sidebar', () => (react_2.default.createElement(AddAuthorsSidebar_1.default, { nonAuthors: [], numberOfAddedAuthors: 0, isSearching: false, searchText: '', addedAuthors: [], handleDoneCancel: (0, addon_actions_1.action)('stop adding'), createAuthor: (0, addon_actions_1.action)('create author'), handleSearchChange: (0, addon_actions_1.action)('update search text'), handleSearchFocus: (0, addon_actions_1.action)('start searching'), searchResults: [], handleInvite: (0, addon_actions_1.action)('start invite'), authors: contributors_1.authors, isAuthorExist: (0, addon_actions_1.action)('check author existence'), isCreateAuthorOpen: false, handleCreateAuthor: (0, addon_actions_1.action)('handle open the create author confirmation dialog') })))
|
|
46
|
-
.add('Add Authors Sidebar with suggested users', () => (react_2.default.createElement(AddAuthorsSidebar_1.default, { nonAuthors: [contributors_1.user], numberOfAddedAuthors: 0, isSearching: false, searchText: '', addedAuthors: [], handleDoneCancel: (0, addon_actions_1.action)('stop adding'), createAuthor: (0, addon_actions_1.action)('create author'), handleSearchChange: (0, addon_actions_1.action)('update search text'), handleSearchFocus: (0, addon_actions_1.action)('start searching'), searchResults: [], handleInvite: (0, addon_actions_1.action)('start invite'), authors: contributors_1.authors, isAuthorExist: (0, addon_actions_1.action)('check author existence'), isCreateAuthorOpen: false, handleCreateAuthor: (0, addon_actions_1.action)('handle open the create author confirmation dialog') })))
|
|
47
|
-
.add('Add Authors Sidebar - Searching', () => (react_2.default.createElement(AddAuthorsSidebar_1.default, { nonAuthors: [], numberOfAddedAuthors: 1, isSearching: true, searchText: 'notFound', addedAuthors: [], handleDoneCancel: (0, addon_actions_1.action)('stop adding'), createAuthor: (0, addon_actions_1.action)('create author'), handleSearchChange: (0, addon_actions_1.action)('update search text'), handleSearchFocus: (0, addon_actions_1.action)('start searching'), searchResults: [], handleInvite: (0, addon_actions_1.action)('start invite'), authors: contributors_1.authors, isAuthorExist: (0, addon_actions_1.action)('check author existence'), isCreateAuthorOpen: false, handleCreateAuthor: (0, addon_actions_1.action)('handle open the create author confirmation dialog') })))
|
|
48
|
-
.add('Add Authors Sidebar - Create author', () => (react_2.default.createElement(AddAuthorsSidebar_1.default, { nonAuthors: [], numberOfAddedAuthors: 1, isSearching: true, searchText: 'notFound', addedAuthors: [], handleDoneCancel: (0, addon_actions_1.action)('stop adding'), createAuthor: (0, addon_actions_1.action)('create author'), handleSearchChange: (0, addon_actions_1.action)('update search text'), handleSearchFocus: (0, addon_actions_1.action)('start searching'), searchResults: [], handleInvite: (0, addon_actions_1.action)('start invite'), authors: contributors_1.authors, isAuthorExist: (0, addon_actions_1.action)('check author existence'), isCreateAuthorOpen: true, handleCreateAuthor: (0, addon_actions_1.action)('handle open the create author confirmation dialog') })))
|
|
49
|
-
.add('Search Authors Sidebar', () => (react_2.default.createElement(SearchAuthorsSidebar_1.default, { searchText: 'notFound', addedAuthors: [], createAuthor: (0, addon_actions_1.action)('create author'), searchResults: [], handleInvite: (0, addon_actions_1.action)('start invite'), authors: contributors_1.authors, isAuthorExist: (0, addon_actions_1.action)('check author existence'), handleCreateAuthor: (0, addon_actions_1.action)('handle open the create author confirmation dialog') })))
|
|
50
|
-
.add('Search Authors Sidebar - search email', () => (react_2.default.createElement(SearchAuthorsSidebar_1.default, { searchText: 'notFound@atypon.com', addedAuthors: [], createAuthor: (0, addon_actions_1.action)('create author'), searchResults: [], handleInvite: (0, addon_actions_1.action)('start invite'), authors: contributors_1.authors, isAuthorExist: (0, addon_actions_1.action)('check author existence'), handleCreateAuthor: (0, addon_actions_1.action)('handle open the create author confirmation dialog') })))
|
|
51
|
-
.add('Search Authors Sidebar - Search with results', () => (react_2.default.createElement(SearchAuthorsSidebar_1.default, { searchText: contributors_1.user.bibliographicName.given, addedAuthors: [], createAuthor: (0, addon_actions_1.action)('create author'), searchResults: [contributors_1.user], handleInvite: (0, addon_actions_1.action)('start invite'), authors: contributors_1.authors, isAuthorExist: (0, addon_actions_1.action)('check author existence'), handleCreateAuthor: (0, addon_actions_1.action)('handle open the create author confirmation dialog') })))
|
|
52
|
-
.add('Add Author Button', () => (react_2.default.createElement(AddAuthorButton_1.default, { person: contributors_1.user, authors: contributors_1.authors, createAuthor: (0, addon_actions_1.action)('create author') })));
|
|
53
|
-
//# sourceMappingURL=Metadata.stories.js.map
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
{"version":3,"file":"Metadata.stories.js","sourceRoot":"","sources":["../../../stories/Metadata.stories.tsx"],"names":[],"mappings":";AAAA;;;;;;;;;;GAUG;;;;;AAGH,4DAA6D;AAC7D,4DAAiD;AACjD,4CAA4C;AAC5C,kDAAyB;AAEzB,iGAAwE;AACxE,qGAA4E;AAC5E,wFAAoF;AACpF,4EAAuE;AACvE,+FAAsE;AACtE,2GAAkF;AAClF,gDAG2B;AAC3B,sDAAiE;AACjE,8CAAyC;AAEzC,MAAM,cAAc,GAAG,IAAA,mCAAyB,EAAC,sBAAO,CAAC,CAAA;AAEzD,MAAM,kBAAkB,GAAG,IAAA,iCAAuB,EAChD,sBAAO,EACP,2BAAY,EACZ,cAAc,CACf,CAAA;AAED,IAAA,iBAAS,EAAC,UAAU,EAAE,MAAM,CA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wBAAwB,CAAC,EAC/C,kBAAkB,EAAE,IAAA,sBAAM,EACxB,mDAAmD,CACpD,GACD,CACH,CAAC;KACD,GAAG,CAAC,uCAAuC,EAAE,GAAG,EAAE,CAAC,CAClD,8BAAC,8BAAoB,IACnB,UAAU,EAAE,qBAAqB,EACjC,YAAY,EAAE,EAAE,EAChB,YAAY,EAAE,IAAA,sBAAM,EAAC,eAAe,CAAC,EACrC,aAAa,EAAE,EAAE,EACjB,YAAY,EAAE,IAAA,sBAAM,EAAC,cAAc,CAAC,EACpC,OAAO,EAAE,sBAAO,EAChB,aAAa,EAAE,IAAA,sBAAM,EAAC,wBAAwB,CAAC,EAC/C,kBAAkB,EAAE,IAAA,sBAAM,EACxB,mDAAmD,CACpD,GACD,CACH,CAAC;KACD,GAAG,CAAC,8CAA8C,EAAE,GAAG,EAAE,CAAC,CACzD,8BAAC,8BAAoB,IACnB,UAAU,EAAE,mBAAI,CAAC,iBAAiB,CAAC,KAAM,EACzC,YAAY,EAAE,EAAE,EAChB,YAAY,EAAE,IAAA,sBAAM,EAAC,eAAe,CAAC,EACrC,aAAa,EAAE,CAAC,mBAAI,CAAC,EACrB,YAAY,EAAE,IAAA,sBAAM,EAAC,cAAc,CAAC,EACpC,OAAO,EAAE,sBAAO,EAChB,aAAa,EAAE,IAAA,sBAAM,EAAC,wBAAwB,CAAC,EAC/C,kBAAkB,EAAE,IAAA,sBAAM,EACxB,mDAAmD,CACpD,GACD,CACH,CAAC;KACD,GAAG,CAAC,mBAAmB,EAAE,GAAG,EAAE,CAAC,CAC9B,8BAAC,yBAAe,IACd,MAAM,EAAE,mBAAI,EACZ,OAAO,EAAE,sBAAO,EAChB,YAAY,EAAE,IAAA,sBAAM,EAAC,eAAe,CAAC,GACrC,CACH,CAAC,CAAA"}
|
|
@@ -1,62 +0,0 @@
|
|
|
1
|
-
"use strict";
|
|
2
|
-
/*!
|
|
3
|
-
* The contents of this file are subject to the Common Public Attribution License Version 1.0 (the “License”); you may not use this file except in compliance with the License. You may obtain a copy of the License at https://mpapp-public.gitlab.io/manuscripts-frontend/LICENSE. The License is based on the Mozilla Public License Version 1.1 but Sections 14 and 15 have been added to cover use of software over a computer network and provide for limited attribution for the Original Developer. In addition, Exhibit A has been modified to be consistent with Exhibit B.
|
|
4
|
-
*
|
|
5
|
-
* Software distributed under the License is distributed on an “AS IS” basis, WITHOUT WARRANTY OF ANY KIND, either express or implied. See the License for the specific language governing rights and limitations under the License.
|
|
6
|
-
*
|
|
7
|
-
* The Original Code is manuscripts-frontend.
|
|
8
|
-
*
|
|
9
|
-
* The Original Developer is the Initial Developer. The Initial Developer of the Original Code is Atypon Systems LLC.
|
|
10
|
-
*
|
|
11
|
-
* All portions of the code written by Atypon Systems LLC are Copyright (c) 2019 Atypon Systems LLC. All Rights Reserved.
|
|
12
|
-
*/
|
|
13
|
-
var __importDefault = (this && this.__importDefault) || function (mod) {
|
|
14
|
-
return (mod && mod.__esModule) ? mod : { "default": mod };
|
|
15
|
-
};
|
|
16
|
-
Object.defineProperty(exports, "__esModule", { value: true });
|
|
17
|
-
const addon_actions_1 = require("@storybook/addon-actions");
|
|
18
|
-
const react_1 = require("@storybook/react");
|
|
19
|
-
const history_1 = require("history");
|
|
20
|
-
const react_2 = __importDefault(require("react"));
|
|
21
|
-
const Notifications_1 = require("../src/components/Notifications");
|
|
22
|
-
const ServiceWorker_1 = require("../src/components/ServiceWorker");
|
|
23
|
-
const routeProps = {
|
|
24
|
-
history: (0, history_1.createBrowserHistory)(),
|
|
25
|
-
match: {
|
|
26
|
-
isExact: true,
|
|
27
|
-
params: {},
|
|
28
|
-
path: '',
|
|
29
|
-
url: '',
|
|
30
|
-
},
|
|
31
|
-
location: {
|
|
32
|
-
key: 'test',
|
|
33
|
-
hash: '',
|
|
34
|
-
pathname: '/projects',
|
|
35
|
-
search: '',
|
|
36
|
-
state: {},
|
|
37
|
-
},
|
|
38
|
-
};
|
|
39
|
-
(0, react_1.storiesOf)('Notification', module).add('ServiceWorker', () => (react_2.default.createElement(Notifications_1.Notifications, { items: [
|
|
40
|
-
{
|
|
41
|
-
id: 'update-ready-1',
|
|
42
|
-
notification: (0, ServiceWorker_1.createUpdateReadyNotification)({
|
|
43
|
-
handleAccept: (0, addon_actions_1.action)('accept'),
|
|
44
|
-
id: 'story',
|
|
45
|
-
}),
|
|
46
|
-
},
|
|
47
|
-
{
|
|
48
|
-
id: 'update-ready-2',
|
|
49
|
-
notification: (0, ServiceWorker_1.createUpdateReadyNotification)({
|
|
50
|
-
handleAccept: (0, addon_actions_1.action)('accept'),
|
|
51
|
-
id: 'story',
|
|
52
|
-
}),
|
|
53
|
-
},
|
|
54
|
-
{
|
|
55
|
-
id: 'update-ready-3',
|
|
56
|
-
notification: (0, ServiceWorker_1.createUpdateReadyNotification)({
|
|
57
|
-
handleAccept: (0, addon_actions_1.action)('accept'),
|
|
58
|
-
id: 'story',
|
|
59
|
-
}),
|
|
60
|
-
},
|
|
61
|
-
], removeNotification: (0, addon_actions_1.action)('dismiss'), ...routeProps })));
|
|
62
|
-
//# sourceMappingURL=Notification.stories.js.map
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
{"version":3,"file":"Notification.stories.js","sourceRoot":"","sources":["../../../stories/Notification.stories.tsx"],"names":[],"mappings":";AAAA;;;;;;;;;;GAUG;;;;;AAEH,4DAAiD;AACjD,4CAA4C;AAC5C,qCAA8C;AAC9C,kDAAyB;AAGzB,mEAA+D;AAC/D,mEAA+E;AAE/E,MAAM,UAAU,GAAwB;IACtC,OAAO,EAAE,IAAA,8BAAoB,GAAE;IAC/B,KAAK,EAAE;QACL,OAAO,EAAE,IAAI;QACb,MAAM,EAAE,EAAE;QACV,IAAI,EAAE,EAAE;QACR,GAAG,EAAE,EAAE;KACR;IACD,QAAQ,EAAE;QACR,GAAG,EAAE,MAAM;QACX,IAAI,EAAE,EAAE;QACR,QAAQ,EAAE,WAAW;QACrB,MAAM,EAAE,EAAE;QACV,KAAK,EAAE,EAAE;KACV;CACF,CAAA;AAED,IAAA,iBAAS,EAAC,cAAc,EAAE,MAAM,CAAC,CAAC,GAAG,CAAC,eAAe,EAAE,GAAG,EAAE,CAAC,CAC3D,8BAAC,6BAAa,IACZ,KAAK,EAAE;QACL;YACE,EAAE,EAAE,gBAAgB;YACpB,YAAY,EAAE,IAAA,6CAA6B,EAAC;gBAC1C,YAAY,EAAE,IAAA,sBAAM,EAAC,QAAQ,CAAC;gBAC9B,EAAE,EAAE,OAAO;aACZ,CAAC;SACH;QACD;YACE,EAAE,EAAE,gBAAgB;YACpB,YAAY,EAAE,IAAA,6CAA6B,EAAC;gBAC1C,YAAY,EAAE,IAAA,sBAAM,EAAC,QAAQ,CAAC;gBAC9B,EAAE,EAAE,OAAO;aACZ,CAAC;SACH;QACD;YACE,EAAE,EAAE,gBAAgB;YACpB,YAAY,EAAE,IAAA,6CAA6B,EAAC;gBAC1C,YAAY,EAAE,IAAA,sBAAM,EAAC,QAAQ,CAAC;gBAC9B,EAAE,EAAE,OAAO;aACZ,CAAC;SACH;KACF,EACD,kBAAkB,EAAE,IAAA,sBAAM,EAAC,SAAS,CAAC,KACjC,UAAU,GACd,CACH,CAAC,CAAA"}
|
|
@@ -1,50 +0,0 @@
|
|
|
1
|
-
"use strict";
|
|
2
|
-
/*!
|
|
3
|
-
* The contents of this file are subject to the Common Public Attribution License Version 1.0 (the “License”); you may not use this file except in compliance with the License. You may obtain a copy of the License at https://mpapp-public.gitlab.io/manuscripts-frontend/LICENSE. The License is based on the Mozilla Public License Version 1.1 but Sections 14 and 15 have been added to cover use of software over a computer network and provide for limited attribution for the Original Developer. In addition, Exhibit A has been modified to be consistent with Exhibit B.
|
|
4
|
-
*
|
|
5
|
-
* Software distributed under the License is distributed on an “AS IS” basis, WITHOUT WARRANTY OF ANY KIND, either express or implied. See the License for the specific language governing rights and limitations under the License.
|
|
6
|
-
*
|
|
7
|
-
* The Original Code is manuscripts-frontend.
|
|
8
|
-
*
|
|
9
|
-
* The Original Developer is the Initial Developer. The Initial Developer of the Original Code is Atypon Systems LLC.
|
|
10
|
-
*
|
|
11
|
-
* All portions of the code written by Atypon Systems LLC are Copyright (c) 2019 Atypon Systems LLC. All Rights Reserved.
|
|
12
|
-
*/
|
|
13
|
-
var __importDefault = (this && this.__importDefault) || function (mod) {
|
|
14
|
-
return (mod && mod.__esModule) ? mod : { "default": mod };
|
|
15
|
-
};
|
|
16
|
-
Object.defineProperty(exports, "__esModule", { value: true });
|
|
17
|
-
const react_1 = require("@storybook/react");
|
|
18
|
-
const react_2 = __importDefault(require("react"));
|
|
19
|
-
const Page_1 = require("../src/components/Page");
|
|
20
|
-
const store_1 = require("../src/store");
|
|
21
|
-
const projects_1 = require("./data/projects");
|
|
22
|
-
const storeState = {
|
|
23
|
-
project: projects_1.project,
|
|
24
|
-
tokenData: {
|
|
25
|
-
getTokenActions: () => {
|
|
26
|
-
return {
|
|
27
|
-
delete: () => {
|
|
28
|
-
return;
|
|
29
|
-
},
|
|
30
|
-
update: (token) => {
|
|
31
|
-
return;
|
|
32
|
-
},
|
|
33
|
-
};
|
|
34
|
-
},
|
|
35
|
-
},
|
|
36
|
-
};
|
|
37
|
-
(0, react_1.storiesOf)('Page', module)
|
|
38
|
-
.add('A page', () => {
|
|
39
|
-
const store = new store_1.GenericStore(undefined, undefined, { ...storeState });
|
|
40
|
-
return (react_2.default.createElement(store_1.GenericStoreProvider, { store: store },
|
|
41
|
-
react_2.default.createElement(Page_1.Page, null,
|
|
42
|
-
react_2.default.createElement(Page_1.Main, { style: { padding: '10px 20px' } }, "This is the main content"))));
|
|
43
|
-
})
|
|
44
|
-
.add('A page with a project', () => {
|
|
45
|
-
const store = new store_1.GenericStore(undefined, undefined, { ...storeState });
|
|
46
|
-
return (react_2.default.createElement(store_1.GenericStoreProvider, { store: store },
|
|
47
|
-
react_2.default.createElement(Page_1.Page, null,
|
|
48
|
-
react_2.default.createElement(Page_1.Main, { style: { padding: '10px 20px' } }, "This is the main content"))));
|
|
49
|
-
});
|
|
50
|
-
//# sourceMappingURL=Page.stories.js.map
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
{"version":3,"file":"Page.stories.js","sourceRoot":"","sources":["../../../stories/Page.stories.tsx"],"names":[],"mappings":";AAAA;;;;;;;;;;GAUG;;;;;AAEH,4CAA4C;AAC5C,kDAAyB;AAEzB,iDAAmD;AACnD,wCAAiE;AACjE,8CAAyC;AAEzC,MAAM,UAAU,GAAG;IACjB,OAAO,EAAE,kBAAO;IAChB,SAAS,EAAE;QACT,eAAe,EAAE,GAAG,EAAE;YACpB,OAAO;gBACL,MAAM,EAAE,GAAG,EAAE;oBACX,OAAM;gBACR,CAAC;gBACD,MAAM,EAAE,CAAC,KAAa,EAAE,EAAE;oBACxB,OAAM;gBACR,CAAC;aACF,CAAA;QACH,CAAC;KACF;CACF,CAAA;AAED,IAAA,iBAAS,EAAC,MAAM,EAAE,MAAM,CAAC;KACtB,GAAG,CAAC,QAAQ,EAAE,GAAG,EAAE;IAClB,MAAM,KAAK,GAAG,IAAI,oBAAY,CAAC,SAAS,EAAE,SAAS,EAAE,EAAE,GAAG,UAAU,EAAE,CAAC,CAAA;IACvE,OAAO,CACL,8BAAC,4BAAoB,IAAC,KAAK,EAAE,KAAK;QAChC,8BAAC,WAAI;YACH,8BAAC,WAAI,IAAC,KAAK,EAAE,EAAE,OAAO,EAAE,WAAW,EAAE,+BAAiC,CACjE,CACc,CACxB,CAAA;AACH,CAAC,CAAC;KACD,GAAG,CAAC,uBAAuB,EAAE,GAAG,EAAE;IACjC,MAAM,KAAK,GAAG,IAAI,oBAAY,CAAC,SAAS,EAAE,SAAS,EAAE,EAAE,GAAG,UAAU,EAAE,CAAC,CAAA;IACvE,OAAO,CACL,8BAAC,4BAAoB,IAAC,KAAK,EAAE,KAAK;QAChC,8BAAC,WAAI;YACH,8BAAC,WAAI,IAAC,KAAK,EAAE,EAAE,OAAO,EAAE,WAAW,EAAE,+BAAiC,CACjE,CACc,CACxB,CAAA;AACH,CAAC,CAAC,CAAA"}
|
|
@@ -1,62 +0,0 @@
|
|
|
1
|
-
"use strict";
|
|
2
|
-
/*!
|
|
3
|
-
* The contents of this file are subject to the Common Public Attribution License Version 1.0 (the “License”); you may not use this file except in compliance with the License. You may obtain a copy of the License at https://mpapp-public.gitlab.io/manuscripts-frontend/LICENSE. The License is based on the Mozilla Public License Version 1.1 but Sections 14 and 15 have been added to cover use of software over a computer network and provide for limited attribution for the Original Developer. In addition, Exhibit A has been modified to be consistent with Exhibit B.
|
|
4
|
-
*
|
|
5
|
-
* Software distributed under the License is distributed on an “AS IS” basis, WITHOUT WARRANTY OF ANY KIND, either express or implied. See the License for the specific language governing rights and limitations under the License.
|
|
6
|
-
*
|
|
7
|
-
* The Original Code is manuscripts-frontend.
|
|
8
|
-
*
|
|
9
|
-
* The Original Developer is the Initial Developer. The Initial Developer of the Original Code is Atypon Systems LLC.
|
|
10
|
-
*
|
|
11
|
-
* All portions of the code written by Atypon Systems LLC are Copyright (c) 2019 Atypon Systems LLC. All Rights Reserved.
|
|
12
|
-
*/
|
|
13
|
-
var __importDefault = (this && this.__importDefault) || function (mod) {
|
|
14
|
-
return (mod && mod.__esModule) ? mod : { "default": mod };
|
|
15
|
-
};
|
|
16
|
-
Object.defineProperty(exports, "__esModule", { value: true });
|
|
17
|
-
const react_1 = require("@storybook/react");
|
|
18
|
-
const react_2 = __importDefault(require("react"));
|
|
19
|
-
const Page_1 = require("../src/components/Page");
|
|
20
|
-
const Panel_1 = __importDefault(require("../src/components/Panel"));
|
|
21
|
-
const store_1 = require("../src/store");
|
|
22
|
-
const projects_1 = require("./data/projects");
|
|
23
|
-
const storeState = {
|
|
24
|
-
project: projects_1.project,
|
|
25
|
-
tokenData: {
|
|
26
|
-
getTokenActions: () => {
|
|
27
|
-
return {
|
|
28
|
-
delete: () => {
|
|
29
|
-
return;
|
|
30
|
-
},
|
|
31
|
-
update: (token) => {
|
|
32
|
-
return;
|
|
33
|
-
},
|
|
34
|
-
};
|
|
35
|
-
},
|
|
36
|
-
},
|
|
37
|
-
};
|
|
38
|
-
(0, react_1.storiesOf)('Panel', module)
|
|
39
|
-
.add('row', () => {
|
|
40
|
-
const store = new store_1.GenericStore(undefined, undefined, { ...storeState });
|
|
41
|
-
return (react_2.default.createElement(store_1.GenericStoreProvider, { store: store },
|
|
42
|
-
react_2.default.createElement(Page_1.Page, null,
|
|
43
|
-
react_2.default.createElement(Panel_1.default, { name: 'testStart', minSize: 200, direction: 'row', side: 'end' },
|
|
44
|
-
react_2.default.createElement("p", { style: { paddingRight: 20 } }, "This is a panel at the start")),
|
|
45
|
-
react_2.default.createElement(Page_1.Main, null,
|
|
46
|
-
react_2.default.createElement("p", { style: { paddingLeft: 20 } }, "This is the main content.")),
|
|
47
|
-
react_2.default.createElement(Panel_1.default, { name: 'testEnd', minSize: 200, direction: 'row', side: 'start' },
|
|
48
|
-
react_2.default.createElement("p", { style: { paddingLeft: 20 } }, "This is a panel at the end")))));
|
|
49
|
-
})
|
|
50
|
-
.add('combined', () => {
|
|
51
|
-
const store = new store_1.GenericStore(undefined, undefined, { ...storeState });
|
|
52
|
-
return (react_2.default.createElement(store_1.GenericStoreProvider, { store: store },
|
|
53
|
-
react_2.default.createElement(Page_1.Page, null,
|
|
54
|
-
react_2.default.createElement(Panel_1.default, { name: 'testStart', minSize: 200, direction: 'row', side: 'end' },
|
|
55
|
-
react_2.default.createElement("div", { style: { display: 'flex', flexDirection: 'column' } },
|
|
56
|
-
react_2.default.createElement(Panel_1.default, { name: 'testColumn', minSize: 200, direction: 'column', side: 'end' },
|
|
57
|
-
react_2.default.createElement("p", null, "This is a panel")),
|
|
58
|
-
react_2.default.createElement("div", { style: { paddingTop: 20 } }, "This is another section"))),
|
|
59
|
-
react_2.default.createElement(Page_1.Main, null,
|
|
60
|
-
react_2.default.createElement("p", { style: { paddingLeft: 20 } }, "This is the main content.")))));
|
|
61
|
-
});
|
|
62
|
-
//# sourceMappingURL=Panel.stories.js.map
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
{"version":3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AC,UAAU,EAAE,GAAG,EAAE;IACpB,MAAM,KAAK,GAAG,IAAI,oBAAY,CAAC,SAAS,EAAE,SAAS,EAAE,EAAE,GAAG,UAAU,EAAE,CAAC,CAAA;IACvE,OAAO,CACL,8BAAC,4BAAoB,IAAC,KAAK,EAAE,KAAK;QAChC,8BAAC,WAAI;YACH,8BAAC,eAAK,IACJ,IAAI,EAAE,WAAW,EACjB,OAAO,EAAE,GAAG,EACZ,SAAS,EAAE,KAAK,EAChB,IAAI,EAAE,KAAK;gBAEX,uCAAK,KAAK,EAAE,EAAE,OAAO,EAAE,MAAM,EAAE,aAAa,EAAE,QAAQ,EAAE;oBACtD,8BAAC,eAAK,IACJ,IAAI,EAAE,YAAY,EAClB,OAAO,EAAE,GAAG,EACZ,SAAS,EAAE,QAAQ,EACnB,IAAI,EAAE,KAAK;wBAEX,2DAAsB,CAChB;oBACR,uCAAK,KAAK,EAAE,EAAE,UAAU,EAAE,EAAE,EAAE,8BAA+B,CACzD,CACA;YAER,8BAAC,WAAI;gBACH,qCAAG,KAAK,EAAE,EAAE,WAAW,EAAE,EAAE,EAAE,gCAA+B,CACvD,CACF,CACc,CACxB,CAAA;AACH,CAAC,CAAC,CAAA"}
|
|
@@ -1,23 +0,0 @@
|
|
|
1
|
-
"use strict";
|
|
2
|
-
/*!
|
|
3
|
-
* The contents of this file are subject to the Common Public Attribution License Version 1.0 (the “License”); you may not use this file except in compliance with the License. You may obtain a copy of the License at https://mpapp-public.gitlab.io/manuscripts-frontend/LICENSE. The License is based on the Mozilla Public License Version 1.1 but Sections 14 and 15 have been added to cover use of software over a computer network and provide for limited attribution for the Original Developer. In addition, Exhibit A has been modified to be consistent with Exhibit B.
|
|
4
|
-
*
|
|
5
|
-
* Software distributed under the License is distributed on an “AS IS” basis, WITHOUT WARRANTY OF ANY KIND, either express or implied. See the License for the specific language governing rights and limitations under the License.
|
|
6
|
-
*
|
|
7
|
-
* The Original Code is manuscripts-frontend.
|
|
8
|
-
*
|
|
9
|
-
* The Original Developer is the Initial Developer. The Initial Developer of the Original Code is Atypon Systems LLC.
|
|
10
|
-
*
|
|
11
|
-
* All portions of the code written by Atypon Systems LLC are Copyright (c) 2019 Atypon Systems LLC. All Rights Reserved.
|
|
12
|
-
*/
|
|
13
|
-
var __importDefault = (this && this.__importDefault) || function (mod) {
|
|
14
|
-
return (mod && mod.__esModule) ? mod : { "default": mod };
|
|
15
|
-
};
|
|
16
|
-
Object.defineProperty(exports, "__esModule", { value: true });
|
|
17
|
-
const react_1 = require("@storybook/react");
|
|
18
|
-
const react_2 = __importDefault(require("react"));
|
|
19
|
-
const Placeholders_1 = require("../src/components/Placeholders");
|
|
20
|
-
(0, react_1.storiesOf)('Placeholders', module)
|
|
21
|
-
.add('Manuscript', () => react_2.default.createElement(Placeholders_1.ManuscriptPlaceholder, null))
|
|
22
|
-
.add('Project', () => react_2.default.createElement(Placeholders_1.ProjectPlaceholder, null));
|
|
23
|
-
//# sourceMappingURL=Placeholders.stories.js.map
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
{"version":3,"file":"Placeholders.stories.js","sourceRoot":"","sources":["../../../stories/Placeholders.stories.tsx"],"names":[],"mappings":";AAAA;;;;;;;;;;GAUG;;;;;AAEH,4CAA4C;AAC5C,kDAAyB;AAEzB,iEAGuC;AAEvC,IAAA,iBAAS,EAAC,cAAc,EAAE,MAAM,CAAC;KAC9B,GAAG,CAAC,YAAY,EAAE,GAAG,EAAE,CAAC,8BAAC,oCAAqB,OAAG,CAAC;KAClD,GAAG,CAAC,SAAS,EAAE,GAAG,EAAE,CAAC,8BAAC,iCAAkB,OAAG,CAAC,CAAA"}
|
|
@@ -1,27 +0,0 @@
|
|
|
1
|
-
"use strict";
|
|
2
|
-
/*!
|
|
3
|
-
* The contents of this file are subject to the Common Public Attribution License Version 1.0 (the “License”); you may not use this file except in compliance with the License. You may obtain a copy of the License at https://mpapp-public.gitlab.io/manuscripts-frontend/LICENSE. The License is based on the Mozilla Public License Version 1.1 but Sections 14 and 15 have been added to cover use of software over a computer network and provide for limited attribution for the Original Developer. In addition, Exhibit A has been modified to be consistent with Exhibit B.
|
|
4
|
-
*
|
|
5
|
-
* Software distributed under the License is distributed on an “AS IS” basis, WITHOUT WARRANTY OF ANY KIND, either express or implied. See the License for the specific language governing rights and limitations under the License.
|
|
6
|
-
*
|
|
7
|
-
* The Original Code is manuscripts-frontend.
|
|
8
|
-
*
|
|
9
|
-
* The Original Developer is the Initial Developer. The Initial Developer of the Original Code is Atypon Systems LLC.
|
|
10
|
-
*
|
|
11
|
-
* All portions of the code written by Atypon Systems LLC are Copyright (c) 2019 Atypon Systems LLC. All Rights Reserved.
|
|
12
|
-
*/
|
|
13
|
-
var __importDefault = (this && this.__importDefault) || function (mod) {
|
|
14
|
-
return (mod && mod.__esModule) ? mod : { "default": mod };
|
|
15
|
-
};
|
|
16
|
-
Object.defineProperty(exports, "__esModule", { value: true });
|
|
17
|
-
const addon_actions_1 = require("@storybook/addon-actions");
|
|
18
|
-
const react_1 = require("@storybook/react");
|
|
19
|
-
const react_2 = __importDefault(require("react"));
|
|
20
|
-
const InviteAuthorButton_1 = __importDefault(require("../src/components/metadata/InviteAuthorButton"));
|
|
21
|
-
const contributors_1 = require("./data/contributors");
|
|
22
|
-
const projects_1 = require("./data/projects");
|
|
23
|
-
(0, react_1.storiesOf)('Metadata/Popper Buttons', module).add('InviteAuthorButton', () => (react_2.default.createElement(InviteAuthorButton_1.default, { author: contributors_1.authors[0], project: projects_1.project, updateAuthor: (0, addon_actions_1.action)('update author'), tokenActions: {
|
|
24
|
-
delete: (0, addon_actions_1.action)('delete token'),
|
|
25
|
-
update: (0, addon_actions_1.action)('update token'),
|
|
26
|
-
} })));
|
|
27
|
-
//# sourceMappingURL=PopperButtons.stories.js.map
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
{"version":3,"file":"PopperButtons.stories.js","sourceRoot":"","sources":["../../../stories/PopperButtons.stories.tsx"],"names":[],"mappings":";AAAA;;;;;;;;;;GAUG;;;;;AAEH,4DAAiD;AACjD,4CAA4C;AAC5C,kDAAyB;AAEzB,uGAA8E;AAC9E,sDAA6C;AAC7C,8CAAyC;AAEzC,IAAA,iBAAS,EAAC,yBAAyB,EAAE,MAAM,CAAC,CAAC,GAAG,CAAC,oBAAoB,EAAE,GAAG,EAAE,CAAC,CAC3E,8BAAC,4BAAkB,IACjB,MAAM,EAAE,sBAAO,CAAC,CAAC,CAAC,EAClB,OAAO,EAAE,kBAAO,EAChB,YAAY,EAAE,IAAA,sBAAM,EAAC,eAAe,CAAC,EACrC,YAAY,EAAE;QACZ,MAAM,EAAE,IAAA,sBAAM,EAAC,cAAc,CAAC;QAC9B,MAAM,EAAE,IAAA,sBAAM,EAAC,cAAc,CAAC;KAC/B,GACD,CACH,CAAC,CAAA"}
|
|
@@ -1,25 +0,0 @@
|
|
|
1
|
-
"use strict";
|
|
2
|
-
/*!
|
|
3
|
-
* The contents of this file are subject to the Common Public Attribution License Version 1.0 (the “License”); you may not use this file except in compliance with the License. You may obtain a copy of the License at https://mpapp-public.gitlab.io/manuscripts-frontend/LICENSE. The License is based on the Mozilla Public License Version 1.1 but Sections 14 and 15 have been added to cover use of software over a computer network and provide for limited attribution for the Original Developer. In addition, Exhibit A has been modified to be consistent with Exhibit B.
|
|
4
|
-
*
|
|
5
|
-
* Software distributed under the License is distributed on an “AS IS” basis, WITHOUT WARRANTY OF ANY KIND, either express or implied. See the License for the specific language governing rights and limitations under the License.
|
|
6
|
-
*
|
|
7
|
-
* The Original Code is manuscripts-frontend.
|
|
8
|
-
*
|
|
9
|
-
* The Original Developer is the Initial Developer. The Initial Developer of the Original Code is Atypon Systems LLC.
|
|
10
|
-
*
|
|
11
|
-
* All portions of the code written by Atypon Systems LLC are Copyright (c) 2019 Atypon Systems LLC. All Rights Reserved.
|
|
12
|
-
*/
|
|
13
|
-
var __importDefault = (this && this.__importDefault) || function (mod) {
|
|
14
|
-
return (mod && mod.__esModule) ? mod : { "default": mod };
|
|
15
|
-
};
|
|
16
|
-
Object.defineProperty(exports, "__esModule", { value: true });
|
|
17
|
-
const addon_actions_1 = require("@storybook/addon-actions");
|
|
18
|
-
const react_1 = require("@storybook/react");
|
|
19
|
-
const react_2 = __importDefault(require("react"));
|
|
20
|
-
const ProgressModal_1 = require("../src/components/projects/ProgressModal");
|
|
21
|
-
(0, react_1.storiesOf)('Progress', module)
|
|
22
|
-
.add('converting', () => (react_2.default.createElement(ProgressModal_1.ProgressModal, { canCancel: true, handleCancel: (0, addon_actions_1.action)('cancel'), status: 'Converting manuscript…' })))
|
|
23
|
-
.add('importing', () => (react_2.default.createElement(ProgressModal_1.ProgressModal, { canCancel: false, handleCancel: (0, addon_actions_1.action)('cancel'), status: 'Importing manuscript…' })))
|
|
24
|
-
.add('exporting', () => (react_2.default.createElement(ProgressModal_1.ProgressModal, { canCancel: true, handleCancel: (0, addon_actions_1.action)('cancel'), status: 'Exporting manuscript…' })));
|
|
25
|
-
//# sourceMappingURL=Progress.stories.js.map
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
{"version":3,"file":"Progress.stories.js","sourceRoot":"","sources":["../../../stories/Progress.stories.tsx"],"names":[],"mappings":";AAAA;;;;;;;;;;GAUG;;;;;AAEH,4DAAiD;AACjD,4CAA4C;AAC5C,kDAAyB;AAEzB,4EAAwE;AAExE,IAAA,iBAAS,EAAC,UAAU,EAAE,MAAM,CAAC;KAC1B,GAAG,CAAC,YAAY,EAAE,GAAG,EAAE,CAAC,CACvB,8BAAC,6BAAa,IACZ,SAAS,EAAE,IAAI,EACf,YAAY,EAAE,IAAA,sBAAM,EAAC,QAAQ,CAAC,EAC9B,MAAM,EAAE,wBAAwB,GAChC,CACH,CAAC;KACD,GAAG,CAAC,WAAW,EAAE,GAAG,EAAE,CAAC,CACtB,8BAAC,6BAAa,IACZ,SAAS,EAAE,KAAK,EAChB,YAAY,EAAE,IAAA,sBAAM,EAAC,QAAQ,CAAC,EAC9B,MAAM,EAAE,uBAAuB,GAC/B,CACH,CAAC;KACD,GAAG,CAAC,WAAW,EAAE,GAAG,EAAE,CAAC,CACtB,8BAAC,6BAAa,IACZ,SAAS,EAAE,IAAI,EACf,YAAY,EAAE,IAAA,sBAAM,EAAC,QAAQ,CAAC,EAC9B,MAAM,EAAE,uBAAuB,GAC/B,CACH,CAAC,CAAA"}
|
|
@@ -1,33 +0,0 @@
|
|
|
1
|
-
"use strict";
|
|
2
|
-
/*!
|
|
3
|
-
* The contents of this file are subject to the Common Public Attribution License Version 1.0 (the “License”); you may not use this file except in compliance with the License. You may obtain a copy of the License at https://mpapp-public.gitlab.io/manuscripts-frontend/LICENSE. The License is based on the Mozilla Public License Version 1.1 but Sections 14 and 15 have been added to cover use of software over a computer network and provide for limited attribution for the Original Developer. In addition, Exhibit A has been modified to be consistent with Exhibit B.
|
|
4
|
-
*
|
|
5
|
-
* Software distributed under the License is distributed on an “AS IS” basis, WITHOUT WARRANTY OF ANY KIND, either express or implied. See the License for the specific language governing rights and limitations under the License.
|
|
6
|
-
*
|
|
7
|
-
* The Original Code is manuscripts-frontend.
|
|
8
|
-
*
|
|
9
|
-
* The Original Developer is the Initial Developer. The Initial Developer of the Original Code is Atypon Systems LLC.
|
|
10
|
-
*
|
|
11
|
-
* All portions of the code written by Atypon Systems LLC are Copyright (c) 2019 Atypon Systems LLC. All Rights Reserved.
|
|
12
|
-
*/
|
|
13
|
-
var __importDefault = (this && this.__importDefault) || function (mod) {
|
|
14
|
-
return (mod && mod.__esModule) ? mod : { "default": mod };
|
|
15
|
-
};
|
|
16
|
-
Object.defineProperty(exports, "__esModule", { value: true });
|
|
17
|
-
const react_1 = require("@storybook/react");
|
|
18
|
-
const react_2 = __importDefault(require("react"));
|
|
19
|
-
const ProgressIndicator_1 = require("../src/components/ProgressIndicator");
|
|
20
|
-
(0, react_1.storiesOf)('Progress Indicator', module)
|
|
21
|
-
.add('Determinate', () => (react_2.default.createElement("div", null,
|
|
22
|
-
react_2.default.createElement(ProgressIndicator_1.ProgressIndicator, { isDeterminate: true, progress: 0.1, size: ProgressIndicator_1.IndicatorSize.Large, symbols: ProgressIndicator_1.IndicatorKind.Author }),
|
|
23
|
-
react_2.default.createElement(ProgressIndicator_1.ProgressIndicator, { isDeterminate: true, progress: 0.3, size: ProgressIndicator_1.IndicatorSize.Large, symbols: ProgressIndicator_1.IndicatorKind.ContributorDetail }),
|
|
24
|
-
react_2.default.createElement(ProgressIndicator_1.ProgressIndicator, { isDeterminate: true, progress: 0.5, size: ProgressIndicator_1.IndicatorSize.Large, symbols: ProgressIndicator_1.IndicatorKind.Contributors }),
|
|
25
|
-
react_2.default.createElement(ProgressIndicator_1.ProgressIndicator, { isDeterminate: true, progress: 0.7, size: ProgressIndicator_1.IndicatorSize.Large, symbols: ProgressIndicator_1.IndicatorKind.Project }),
|
|
26
|
-
react_2.default.createElement(ProgressIndicator_1.ProgressIndicator, { isDeterminate: true, progress: 0.9, size: ProgressIndicator_1.IndicatorSize.Large, symbols: ProgressIndicator_1.IndicatorKind.ReferenceLibrary }))))
|
|
27
|
-
.add('Indeterminate', () => (react_2.default.createElement("div", null,
|
|
28
|
-
react_2.default.createElement(ProgressIndicator_1.ProgressIndicator, { isDeterminate: false, size: ProgressIndicator_1.IndicatorSize.Large, symbols: ProgressIndicator_1.IndicatorKind.Author }),
|
|
29
|
-
react_2.default.createElement(ProgressIndicator_1.ProgressIndicator, { isDeterminate: false, size: ProgressIndicator_1.IndicatorSize.Large, symbols: ProgressIndicator_1.IndicatorKind.ContributorDetail }),
|
|
30
|
-
react_2.default.createElement(ProgressIndicator_1.ProgressIndicator, { isDeterminate: false, size: ProgressIndicator_1.IndicatorSize.Large, symbols: ProgressIndicator_1.IndicatorKind.Contributors }),
|
|
31
|
-
react_2.default.createElement(ProgressIndicator_1.ProgressIndicator, { isDeterminate: false, size: ProgressIndicator_1.IndicatorSize.Large, symbols: ProgressIndicator_1.IndicatorKind.Project }),
|
|
32
|
-
react_2.default.createElement(ProgressIndicator_1.ProgressIndicator, { isDeterminate: false, size: ProgressIndicator_1.IndicatorSize.Large, symbols: ProgressIndicator_1.IndicatorKind.ReferenceLibrary }))));
|
|
33
|
-
//# sourceMappingURL=ProgressIndicator.stories.js.map
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
{"version":3,"file":"ProgressIndicator.stories.js","sourceRoot":"","sources":["../../../stories/ProgressIndicator.stories.tsx"],"names":[],"mappings":";AAAA;;;;;;;;;;GAUG;;;;;AAEH,4CAA4C;AAC5C,kDAAyB;AAEzB,2EAI4C;AAE5C,IAAA,iBAAS,EAAC,oBAAoB,EAAE,MAAM,CAAC;KACpC,GAAG,CAAC,aAAa,EAAE,GAAG,EAAE,CAAC,CACxB;IACE,8BAAC,qCAAiB,IAChB,aAAa,EAAE,IAAI,EACnB,QAAQ,EAAE,GAAG,EACb,IAAI,EAAE,iCAAa,CAAC,KAAK,EACzB,OAAO,EAAE,iCAAa,CAAC,MAAM,GAC7B;IACF,8BAAC,qCAAiB,IAChB,aAAa,EAAE,IAAI,EACnB,QAAQ,EAAE,GAAG,EACb,IAAI,EAAE,iCAAa,CAAC,KAAK,EACzB,OAAO,EAAE,iCAAa,CAAC,iBAAiB,GACxC;IACF,8BAAC,qCAAiB,IAChB,aAAa,EAAE,IAAI,EACnB,QAAQ,EAAE,GAAG,EACb,IAAI,EAAE,iCAAa,CAAC,KAAK,EACzB,OAAO,EAAE,iCAAa,CAAC,YAAY,GACnC;IACF,8BAAC,qCAAiB,IAChB,aAAa,EAAE,IAAI,EACnB,QAAQ,EAAE,GAAG,EACb,IAAI,EAAE,iCAAa,CAAC,KAAK,EACzB,OAAO,EAAE,iCAAa,CAAC,OAAO,GAC9B;IACF,8BAAC,qCAAiB,IAChB,aAAa,EAAE,IAAI,EACnB,QAAQ,EAAE,GAAG,EACb,IAAI,EAAE,iCAAa,CAAC,KAAK,EACzB,OAAO,EAAE,iCAAa,CAAC,gBAAgB,GACvC,CACE,CACP,CAAC;KACD,GAAG,CAAC,eAAe,EAAE,GAAG,EAAE,CAAC,CAC1B;IACE,8BAAC,qCAAiB,IAChB,aAAa,EAAE,KAAK,EACpB,IAAI,EAAE,iCAAa,CAAC,KAAK,EACzB,OAAO,EAAE,iCAAa,CAAC,MAAM,GAC7B;IACF,8BAAC,qCAAiB,IAChB,aAAa,EAAE,KAAK,EACpB,IAAI,EAAE,iCAAa,CAAC,KAAK,EACzB,OAAO,EAAE,iCAAa,CAAC,iBAAiB,GACxC;IACF,8BAAC,qCAAiB,IAChB,aAAa,EAAE,KAAK,EACpB,IAAI,EAAE,iCAAa,CAAC,KAAK,EACzB,OAAO,EAAE,iCAAa,CAAC,YAAY,GACnC;IACF,8BAAC,qCAAiB,IAChB,aAAa,EAAE,KAAK,EACpB,IAAI,EAAE,iCAAa,CAAC,KAAK,EACzB,OAAO,EAAE,iCAAa,CAAC,OAAO,GAC9B;IACF,8BAAC,qCAAiB,IAChB,aAAa,EAAE,KAAK,EACpB,IAAI,EAAE,iCAAa,CAAC,KAAK,EACzB,OAAO,EAAE,iCAAa,CAAC,gBAAgB,GACvC,CACE,CACP,CAAC,CAAA"}
|
|
@@ -1,21 +0,0 @@
|
|
|
1
|
-
"use strict";
|
|
2
|
-
/*!
|
|
3
|
-
* The contents of this file are subject to the Common Public Attribution License Version 1.0 (the “License”); you may not use this file except in compliance with the License. You may obtain a copy of the License at https://mpapp-public.gitlab.io/manuscripts-frontend/LICENSE. The License is based on the Mozilla Public License Version 1.1 but Sections 14 and 15 have been added to cover use of software over a computer network and provide for limited attribution for the Original Developer. In addition, Exhibit A has been modified to be consistent with Exhibit B.
|
|
4
|
-
*
|
|
5
|
-
* Software distributed under the License is distributed on an “AS IS” basis, WITHOUT WARRANTY OF ANY KIND, either express or implied. See the License for the specific language governing rights and limitations under the License.
|
|
6
|
-
*
|
|
7
|
-
* The Original Code is manuscripts-frontend.
|
|
8
|
-
*
|
|
9
|
-
* The Original Developer is the Initial Developer. The Initial Developer of the Original Code is Atypon Systems LLC.
|
|
10
|
-
*
|
|
11
|
-
* All portions of the code written by Atypon Systems LLC are Copyright (c) 2019 Atypon Systems LLC. All Rights Reserved.
|
|
12
|
-
*/
|
|
13
|
-
var __importDefault = (this && this.__importDefault) || function (mod) {
|
|
14
|
-
return (mod && mod.__esModule) ? mod : { "default": mod };
|
|
15
|
-
};
|
|
16
|
-
Object.defineProperty(exports, "__esModule", { value: true });
|
|
17
|
-
const react_1 = require("@storybook/react");
|
|
18
|
-
const react_2 = __importDefault(require("react"));
|
|
19
|
-
const ReloadDialog_1 = require("../src/components/projects/ReloadDialog");
|
|
20
|
-
(0, react_1.storiesOf)('Reload Dialog', module).add('with message', () => (react_2.default.createElement(ReloadDialog_1.ReloadDialog, { message: 'There was an error during data preparation.' })));
|
|
21
|
-
//# sourceMappingURL=ReloadDialog.stories.js.map
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
{"version":3,"file":"ReloadDialog.stories.js","sourceRoot":"","sources":["../../../stories/ReloadDialog.stories.tsx"],"names":[],"mappings":";AAAA;;;;;;;;;;GAUG;;;;;AAEH,4CAA4C;AAC5C,kDAAyB;AAEzB,0EAAsE;AAEtE,IAAA,iBAAS,EAAC,eAAe,EAAE,MAAM,CAAC,CAAC,GAAG,CAAC,cAAc,EAAE,GAAG,EAAE,CAAC,CAC3D,8BAAC,2BAAY,IAAC,OAAO,EAAE,6CAA6C,GAAI,CACzE,CAAC,CAAA"}
|
|
@@ -1,159 +0,0 @@
|
|
|
1
|
-
"use strict";
|
|
2
|
-
/*!
|
|
3
|
-
* The contents of this file are subject to the Common Public Attribution License Version 1.0 (the “License”); you may not use this file except in compliance with the License. You may obtain a copy of the License at https://mpapp-public.gitlab.io/manuscripts-frontend/LICENSE. The License is based on the Mozilla Public License Version 1.1 but Sections 14 and 15 have been added to cover use of software over a computer network and provide for limited attribution for the Original Developer. In addition, Exhibit A has been modified to be consistent with Exhibit B.
|
|
4
|
-
*
|
|
5
|
-
* Software distributed under the License is distributed on an “AS IS” basis, WITHOUT WARRANTY OF ANY KIND, either express or implied. See the License for the specific language governing rights and limitations under the License.
|
|
6
|
-
*
|
|
7
|
-
* The Original Code is manuscripts-frontend.
|
|
8
|
-
*
|
|
9
|
-
* The Original Developer is the Initial Developer. The Initial Developer of the Original Code is Atypon Systems LLC.
|
|
10
|
-
*
|
|
11
|
-
* All portions of the code written by Atypon Systems LLC are Copyright (c) 2019 Atypon Systems LLC. All Rights Reserved.
|
|
12
|
-
*/
|
|
13
|
-
var __importDefault = (this && this.__importDefault) || function (mod) {
|
|
14
|
-
return (mod && mod.__esModule) ? mod : { "default": mod };
|
|
15
|
-
};
|
|
16
|
-
Object.defineProperty(exports, "__esModule", { value: true });
|
|
17
|
-
const body_editor_1 = require("@manuscripts/body-editor");
|
|
18
|
-
const json_schema_1 = require("@manuscripts/json-schema");
|
|
19
|
-
const transform_1 = require("@manuscripts/transform");
|
|
20
|
-
const react_1 = require("@storybook/react");
|
|
21
|
-
const react_2 = __importDefault(require("react"));
|
|
22
|
-
const RequirementsInspector_1 = require("../src/components/requirements/RequirementsInspector");
|
|
23
|
-
const store_1 = require("../src/store");
|
|
24
|
-
const doc_1 = require("./data/doc");
|
|
25
|
-
const maximumManuscriptWordCountRequirement = {
|
|
26
|
-
_id: 'MaximumManuscriptWordCountRequirement:1',
|
|
27
|
-
containerID: 'MPProject:1',
|
|
28
|
-
manuscriptID: 'MPManuscript:1',
|
|
29
|
-
objectType: 'MPMaximumManuscriptWordCountRequirement',
|
|
30
|
-
createdAt: 0,
|
|
31
|
-
updatedAt: 0,
|
|
32
|
-
sessionID: 'foo',
|
|
33
|
-
severity: 0,
|
|
34
|
-
count: 1000,
|
|
35
|
-
};
|
|
36
|
-
doc_1.modelMap.set(maximumManuscriptWordCountRequirement._id, maximumManuscriptWordCountRequirement);
|
|
37
|
-
const minimumManuscriptWordCountRequirement = {
|
|
38
|
-
_id: 'MinimumManuscriptWordCountRequirement:1',
|
|
39
|
-
containerID: 'MPProject:1',
|
|
40
|
-
manuscriptID: 'MPManuscript:1',
|
|
41
|
-
objectType: 'MPMinimumManuscriptWordCountRequirement',
|
|
42
|
-
createdAt: 0,
|
|
43
|
-
updatedAt: 0,
|
|
44
|
-
sessionID: 'foo',
|
|
45
|
-
severity: 0,
|
|
46
|
-
count: 100,
|
|
47
|
-
};
|
|
48
|
-
doc_1.modelMap.set(minimumManuscriptWordCountRequirement._id, minimumManuscriptWordCountRequirement);
|
|
49
|
-
const maximumManuscriptCharacterCountRequirement = {
|
|
50
|
-
_id: 'MaximumManuscriptCharacterCountRequirement:1',
|
|
51
|
-
containerID: 'MPProject:1',
|
|
52
|
-
manuscriptID: 'MPManuscript:1',
|
|
53
|
-
objectType: 'MPMaximumManuscriptCharacterCountRequirement',
|
|
54
|
-
createdAt: 0,
|
|
55
|
-
updatedAt: 0,
|
|
56
|
-
sessionID: 'foo',
|
|
57
|
-
severity: 0,
|
|
58
|
-
count: 10000,
|
|
59
|
-
};
|
|
60
|
-
doc_1.modelMap.set(maximumManuscriptCharacterCountRequirement._id, maximumManuscriptCharacterCountRequirement);
|
|
61
|
-
const minimumManuscriptCharacterCountRequirement = {
|
|
62
|
-
_id: 'MinimumManuscriptCharacterCountRequirement:1',
|
|
63
|
-
containerID: 'MPProject:1',
|
|
64
|
-
manuscriptID: 'MPManuscript:1',
|
|
65
|
-
objectType: 'MPMinimumManuscriptCharacterCountRequirement',
|
|
66
|
-
createdAt: 0,
|
|
67
|
-
updatedAt: 0,
|
|
68
|
-
sessionID: 'foo',
|
|
69
|
-
severity: 0,
|
|
70
|
-
count: 1000,
|
|
71
|
-
};
|
|
72
|
-
doc_1.modelMap.set(minimumManuscriptCharacterCountRequirement._id, minimumManuscriptCharacterCountRequirement);
|
|
73
|
-
const maximumSectionWordCountRequirement = {
|
|
74
|
-
_id: 'MaximumSectionWordCountRequirement:1',
|
|
75
|
-
containerID: 'MPProject:1',
|
|
76
|
-
manuscriptID: 'MPManuscript:1',
|
|
77
|
-
objectType: 'MPMaximumSectionWordCountRequirement',
|
|
78
|
-
createdAt: 0,
|
|
79
|
-
updatedAt: 0,
|
|
80
|
-
sessionID: 'foo',
|
|
81
|
-
severity: 0,
|
|
82
|
-
count: 1000,
|
|
83
|
-
};
|
|
84
|
-
doc_1.modelMap.set(maximumSectionWordCountRequirement._id, maximumSectionWordCountRequirement);
|
|
85
|
-
const minimumSectionWordCountRequirement = {
|
|
86
|
-
_id: 'MinimumSectionWordCountRequirement:1',
|
|
87
|
-
containerID: 'MPProject:1',
|
|
88
|
-
manuscriptID: 'MPManuscript:1',
|
|
89
|
-
objectType: 'MPMinimumSectionWordCountRequirement',
|
|
90
|
-
createdAt: 0,
|
|
91
|
-
updatedAt: 0,
|
|
92
|
-
sessionID: 'foo',
|
|
93
|
-
severity: 0,
|
|
94
|
-
count: 100,
|
|
95
|
-
};
|
|
96
|
-
doc_1.modelMap.set(minimumSectionWordCountRequirement._id, minimumSectionWordCountRequirement);
|
|
97
|
-
const maximumSectionCharacterCountRequirement = {
|
|
98
|
-
_id: 'MaximumSectionCharacterCountRequirement:1',
|
|
99
|
-
containerID: 'MPProject:1',
|
|
100
|
-
manuscriptID: 'MPManuscript:1',
|
|
101
|
-
objectType: 'MPMaximumSectionCharacterCountRequirement',
|
|
102
|
-
createdAt: 0,
|
|
103
|
-
updatedAt: 0,
|
|
104
|
-
sessionID: 'foo',
|
|
105
|
-
severity: 0,
|
|
106
|
-
count: 10000,
|
|
107
|
-
};
|
|
108
|
-
doc_1.modelMap.set(maximumSectionCharacterCountRequirement._id, maximumSectionCharacterCountRequirement);
|
|
109
|
-
const minimumSectionCharacterCountRequirement = {
|
|
110
|
-
_id: 'MinimumSectionCharacterCountRequirement:1',
|
|
111
|
-
containerID: 'MPProject:1',
|
|
112
|
-
manuscriptID: 'MPManuscript:1',
|
|
113
|
-
objectType: 'MPMinimumSectionCharacterCountRequirement',
|
|
114
|
-
createdAt: 0,
|
|
115
|
-
updatedAt: 0,
|
|
116
|
-
sessionID: 'foo',
|
|
117
|
-
severity: 0,
|
|
118
|
-
count: 1000,
|
|
119
|
-
};
|
|
120
|
-
doc_1.modelMap.set(minimumSectionCharacterCountRequirement._id, minimumSectionCharacterCountRequirement);
|
|
121
|
-
const isSection = (model) => model.objectType === json_schema_1.ObjectTypes.Section;
|
|
122
|
-
for (const model of doc_1.modelMap.values()) {
|
|
123
|
-
if (isSection(model)) {
|
|
124
|
-
// model.maxWordCountRequirement = maximumSectionWordCountRequirement._id
|
|
125
|
-
model.minWordCountRequirement = minimumSectionWordCountRequirement._id;
|
|
126
|
-
model.maxCharacterCountRequirement =
|
|
127
|
-
maximumSectionCharacterCountRequirement._id;
|
|
128
|
-
// model.minCharacterCountRequirement =
|
|
129
|
-
// minimumSectionCharacterCountRequirement._id
|
|
130
|
-
}
|
|
131
|
-
}
|
|
132
|
-
const isManuscript = (0, transform_1.hasObjectType)(json_schema_1.ObjectTypes.Manuscript);
|
|
133
|
-
const manuscript = [...doc_1.modelMap.values()].find(isManuscript);
|
|
134
|
-
manuscript.maxWordCountRequirement = maximumManuscriptWordCountRequirement._id;
|
|
135
|
-
// manuscript.minWordCountRequirement = minimumManuscriptWordCountRequirement._id
|
|
136
|
-
// manuscript.maxCharacterCountRequirement =
|
|
137
|
-
// maximumManuscriptCharacterCountRequirement._id
|
|
138
|
-
// manuscript.minCharacterCountRequirement =
|
|
139
|
-
// minimumManuscriptCharacterCountRequirement._id
|
|
140
|
-
// const prototypeId =
|
|
141
|
-
// 'MPManuscriptTemplate:www-zotero-org-styles-bmc-cell-biology-BMC-Cell-Biology-Journal-Publication'
|
|
142
|
-
doc_1.modelMap.set(manuscript._id, manuscript);
|
|
143
|
-
const bulkUpdate = async (items) => {
|
|
144
|
-
return await new Promise((resolve, reject) => {
|
|
145
|
-
resolve();
|
|
146
|
-
});
|
|
147
|
-
};
|
|
148
|
-
const storeState = {
|
|
149
|
-
manuscript,
|
|
150
|
-
modelMap: doc_1.modelMap,
|
|
151
|
-
bulkUpdate,
|
|
152
|
-
};
|
|
153
|
-
const store = new store_1.GenericStore(undefined, undefined, storeState);
|
|
154
|
-
(0, react_1.storiesOf)('Inspector/Requirements', module).add('validations', () => {
|
|
155
|
-
return (react_2.default.createElement(store_1.GenericStoreProvider, { store: store },
|
|
156
|
-
react_2.default.createElement(body_editor_1.RequirementsProvider, { modelMap: doc_1.modelMap },
|
|
157
|
-
react_2.default.createElement(RequirementsInspector_1.RequirementsInspector, null))));
|
|
158
|
-
});
|
|
159
|
-
//# sourceMappingURL=RequirementsInspector.stories.js.map
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
{"version":3,"file":"RequirementsInspector.stories.js","sourceRoot":"","sources":["../../../stories/RequirementsInspector.stories.tsx"],"names":[],"mappings":";AAAA;;;;;;;;;;GAUG;;;;;AAEH,0DAA+D;AAC/D,0DAaiC;AACjC,sDAAsE;AACtE,4CAA4C;AAC5C,kDAAyB;AAEzB,gGAA4F;AAC5F,wCAAiE;AACjE,oCAAqC;AAErC,MAAM,qCAAqC,GACzC;IACE,GAAG,EAAE,yCAAyC;IAC9C,WAAW,EAAE,aAAa;IAC1B,YAAY,EAAE,gBAAgB;IAC9B,UAAU,EAAE,yCAAyC;IACrD,SAAS,EAAE,CAAC;IACZ,SAAS,EAAE,CAAC;IACZ,SAAS,EAAE,KAAK;IAChB,QAAQ,EAAE,CAAC;IACX,KAAK,EAAE,IAAI;CACZ,CAAA;AACH,cAAQ,CAAC,GAAG,CACV,qCAAqC,CAAC,GAAG,EACzC,qCAAqC,CACtC,CAAA;AAED,MAAM,qCAAqC,GACzC;IACE,GAAG,EAAE,yCAAyC;IAC9C,WAAW,EAAE,aAAa;IAC1B,YAAY,EAAE,gBAAgB;IAC9B,UAAU,EAAE,yCAAyC;IACrD,SAAS,EAAE,CAAC;IACZ,SAAS,EAAE,CAAC;IACZ,SAAS,EAAE,KAAK;IAChB,QAAQ,EAAE,CAAC;IACX,KAAK,EAAE,GAAG;CACX,CAAA;AACH,cAAQ,CAAC,GAAG,CACV,qCAAqC,CAAC,GAAG,EACzC,qCAAqC,CACtC,CAAA;AA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