-
Notifications
You must be signed in to change notification settings - Fork 256
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Add index.js files to src directories
- Loading branch information
Showing
12 changed files
with
290 additions
and
1 deletion.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,9 @@ | ||
import * as imports from '../../src'; | ||
|
||
describe('index', () => { | ||
it('does not have default exports (suggesting we are treating a default export as a named export)', () => { | ||
Object.keys(imports).forEach((key) => { | ||
expect(imports[key]).not.toHaveProperty('default'); | ||
}); | ||
}); | ||
}); |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,27 @@ | ||
import BookViewIcon from './BookViewIcon'; | ||
import CanvasIndexIcon from './CanvasIndexIcon'; | ||
import GalleryViewIcon from './GalleryViewIcon'; | ||
import MiradorIcon from './MiradorIcon'; | ||
import RestoreZoomIcon from './RestoreZoomIcon'; | ||
import ThumbnailNavigationBottomIcon from './ThumbnailNavigationBottomIcon'; | ||
import ThumbnailNavigationRightIcon from './ThumbnailNavigationRightIcon'; | ||
import WindowMaxIcon from './WindowMaxIcon'; | ||
import WindowMinIcon from './WindowMinIcon'; | ||
import WindowOptionsIcon from './WindowOptionsIcon'; | ||
import WorkspaceTypeElasticIcon from './WorkspaceTypeElasticIcon'; | ||
import WorkspaceTypeMosaicIcon from './WorkspaceTypeMosaicIcon'; | ||
|
||
export { | ||
BookViewIcon, | ||
CanvasIndexIcon, | ||
GalleryViewIcon, | ||
MiradorIcon, | ||
RestoreZoomIcon, | ||
ThumbnailNavigationBottomIcon, | ||
ThumbnailNavigationRightIcon, | ||
WindowMaxIcon, | ||
WindowMinIcon, | ||
WindowOptionsIcon, | ||
WorkspaceTypeElasticIcon, | ||
WorkspaceTypeMosaicIcon, | ||
}; |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,106 @@ | ||
import WorkspaceElastic from './WorkspaceElastic'; | ||
import WorkspaceElasticWindow from './WorkspaceElasticWindow'; | ||
|
||
export * from './AccessTokenSender'; | ||
export * from './AnnotationSettings'; | ||
export * from './AnnotationsOverlay'; | ||
export * from './App'; | ||
export * from './AppProviders'; | ||
export * from './AttributionPanel'; | ||
export * from './AudioViewer'; | ||
export * from './BackgroundPluginArea'; | ||
export * from './Branding'; | ||
export * from './CanvasAnnotations'; | ||
export * from './CanvasInfo'; | ||
export * from './CanvasLayers'; | ||
export * from './ChangeThemeDialog'; | ||
export * from './CollapsibleSection'; | ||
export * from './CollectionDialog'; | ||
export * from './CollectionInfo'; | ||
export * from './CompanionArea'; | ||
export * from './CompanionWindow'; | ||
export * from './CompanionWindowFactory'; | ||
export * from './CompanionWindowSection'; | ||
export * from './CustomPanel'; | ||
export * from './ErrorContent'; | ||
export * from './ErrorDialog'; | ||
export * from './FullScreenButton'; | ||
export * from './GalleryView'; | ||
export * from './GalleryViewThumbnail'; | ||
export * from './IIIFAuthentication'; | ||
export * from './IIIFDropTarget'; | ||
export * from './IIIFIFrameCommunication'; | ||
export * from './IIIFThumbnail'; | ||
export * from './LabelValueMetadata'; | ||
export * from './LanguageSettings'; | ||
export * from './LayersPanel'; | ||
export * from './LocalePicker'; | ||
export * from './ManifestForm'; | ||
export * from './ManifestInfo'; | ||
export * from './ManifestListItem'; | ||
export * from './ManifestListItemError'; | ||
export * from './ManifestRelatedLinks'; | ||
export * from './MinimalWindow'; | ||
export * from './MiradorMenuButton'; | ||
export * from './MosaicRenderPreview'; | ||
export * from './NestedMenu'; | ||
export * from './NewBrowserWindow'; | ||
export * from './OpenSeadragonViewer'; | ||
export * from './PluginHook'; | ||
export * from './PrimaryWindow'; | ||
export * from './SanitizedHtml'; | ||
export * from './ScrollIndicatedDialogContent'; | ||
export * from './ScrollTo'; | ||
export * from './SearchHit'; | ||
export * from './SearchPanel'; | ||
export * from './SearchPanelControls'; | ||
export * from './SearchPanelNavigation'; | ||
export * from './SearchResults'; | ||
export * from './SelectCollection'; | ||
export * from './SidebarIndexItem'; | ||
export * from './SidebarIndexList'; | ||
export * from './SidebarIndexTableOfContents'; | ||
export * from './SidebarIndexThumbnail'; | ||
export * from './ThumbnailCanvasGrouping'; | ||
export * from './ThumbnailNavigation'; | ||
export * from './VideoViewer'; | ||
export * from './ViewerInfo'; | ||
export * from './ViewerNavigation'; | ||
export * from './Window'; | ||
export * from './WindowAuthenticationBar'; | ||
export * from './WindowCanvasNavigationControls'; | ||
export * from './WindowList'; | ||
export * from './WindowListButton'; | ||
export * from './WindowSideBar'; | ||
export * from './WindowSideBarAnnotationsPanel'; | ||
export * from './WindowSideBarButtons'; | ||
export * from './WindowSideBarCanvasPanel'; | ||
export * from './WindowSideBarCollectionPanel'; | ||
export * from './WindowSideBarInfoPanel'; | ||
export * from './WindowThumbnailSettings'; | ||
export * from './WindowTopBar'; | ||
export * from './WindowTopBarPluginArea'; | ||
export * from './WindowTopBarPluginMenu'; | ||
export * from './WindowTopBarTitle'; | ||
export * from './WindowTopMenu'; | ||
export * from './WindowTopMenuButton'; | ||
export * from './WindowViewSettings'; | ||
export * from './WindowViewer'; | ||
export * from './Workspace'; | ||
export * from './WorkspaceAdd'; | ||
export * from './WorkspaceAddButton'; | ||
export * from './WorkspaceArea'; | ||
export * from './WorkspaceControlPanel'; | ||
export * from './WorkspaceControlPanelButtons'; | ||
export * from './WorkspaceDialog'; | ||
export { WorkspaceElastic, WorkspaceElasticWindow }; | ||
export * from './WorkspaceExport'; | ||
export * from './WorkspaceImport'; | ||
export * from './WorkspaceMenu'; | ||
export * from './WorkspaceMenuButton'; | ||
export * from './WorkspaceMosaic'; | ||
export * from './WorkspaceOptionsButton'; | ||
export * from './WorkspaceOptionsMenu'; | ||
export * from './WorkspaceSelectionDialog'; | ||
export * from './ZoomControls'; | ||
export * from './icons'; |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,92 @@ | ||
export { default as ConnectedAnnotationSettings } from './AnnotationSettings'; | ||
export { default as ConnectedAnnotationsOverlay } from './AnnotationsOverlay'; | ||
export { default as ConnectedAppProviders } from './AppProviders'; | ||
export { default as ConnectedAttributionPanel } from './AttributionPanel'; | ||
export { default as ConnectedAudioViewer } from './AudioViewer'; | ||
export { default as ConnectedBackgroundPluginArea } from './BackgroundPluginArea'; | ||
export { default as ConnectedBranding } from './Branding'; | ||
export { default as ConnectedCanvasAnnotations } from './CanvasAnnotations'; | ||
export { default as ConnectedCanvasInfo } from './CanvasInfo'; | ||
export { default as ConnectedCanvasLayers } from './CanvasLayers'; | ||
export { default as ConnectedChangeThemeDialog } from './ChangeThemeDialog'; | ||
export { default as ConnectedCollapsibleSection } from './CollapsibleSection'; | ||
export { default as ConnectedCollectionDialog } from './CollectionDialog'; | ||
export { default as ConnectedCollectionInfo } from './CollectionInfo'; | ||
export { default as ConnectedCompanionArea } from './CompanionArea'; | ||
export { default as ConnectedCompanionWindow } from './CompanionWindow'; | ||
export { default as ConnectedCompanionWindowFactory } from './CompanionWindowFactory'; | ||
export { default as ConnectedCustomPanel } from './CustomPanel'; | ||
export { default as ConnectedErrorContent } from './ErrorContent'; | ||
export { default as ConnectedErrorDialog } from './ErrorDialog'; | ||
export { default as ConnectedFullScreenButton } from './FullScreenButton'; | ||
export { default as ConnectedGalleryView } from './GalleryView'; | ||
export { default as ConnectedGalleryViewThumbnail } from './GalleryViewThumbnail'; | ||
export { default as ConnectedIIIFAuthentication } from './IIIFAuthentication'; | ||
export { default as ConnectedIIIFThumbnail } from './IIIFThumbnail'; | ||
export { default as ConnectedLanguageSettings } from './LanguageSettings'; | ||
export { default as ConnectedLayersPanel } from './LayersPanel'; | ||
export { default as ConnectedLocalePicker } from './LocalePicker'; | ||
export { default as ConnectedManifestForm } from './ManifestForm'; | ||
export { default as ConnectedManifestInfo } from './ManifestInfo'; | ||
export { default as ConnectedManifestListItem } from './ManifestListItem'; | ||
export { default as ConnectedManifestListItemError } from './ManifestListItemError'; | ||
export { default as ConnectedManifestRelatedLinks } from './ManifestRelatedLinks'; | ||
export { default as ConnectedMinimalWindow } from './MinimalWindow'; | ||
export { default as ConnectedMiradorMenuButton } from './MiradorMenuButton'; | ||
export { default as ConnectedMosaicRenderPreview } from './MosaicRenderPreview'; | ||
export { default as ConnectedOpenSeadragonViewer } from './OpenSeadragonViewer'; | ||
export { default as ConnectedPrimaryWindow } from './PrimaryWindow'; | ||
export { default as ConnectedSanitizedHtml } from './SanitizedHtml'; | ||
export { default as ConnectedScrollIndicatedDialogContent } from './ScrollIndicatedDialogContent'; | ||
export { default as ConnectedSearchHit } from './SearchHit'; | ||
export { default as ConnectedSearchPanel } from './SearchPanel'; | ||
export { default as ConnectedSearchPanelControls } from './SearchPanelControls'; | ||
export { default as ConnectedSearchPanelNavigation } from './SearchPanelNavigation'; | ||
export { default as ConnectedSearchResults } from './SearchResults'; | ||
export { default as ConnectedSelectCollection } from './SelectCollection'; | ||
export { default as ConnectedSidebarIndexItem } from './SidebarIndexItem'; | ||
export { default as ConnectedSidebarIndexList } from './SidebarIndexList'; | ||
export { default as ConnectedSidebarIndexTableOfContents } from './SidebarIndexTableOfContents'; | ||
export { default as ConnectedSidebarIndexThumbnail } from './SidebarIndexThumbnail'; | ||
export { default as ConnectedThumbnailCanvasGrouping } from './ThumbnailCanvasGrouping'; | ||
export { default as ConnectedThumbnailNavigation } from './ThumbnailNavigation'; | ||
export { default as ConnectedVideoViewer } from './VideoViewer'; | ||
export { default as ConnectedViewerInfo } from './ViewerInfo'; | ||
export { default as ConnectedViewerNavigation } from './ViewerNavigation'; | ||
export { default as ConnectedWindow } from './Window'; | ||
export { default as ConnectedWindowAuthenticationBar } from './WindowAuthenticationBar'; | ||
export { default as ConnectedWindowCanvasNavigationControls } from './WindowCanvasNavigationControls'; | ||
export { default as ConnectedWindowList } from './WindowList'; | ||
export { default as ConnectedWindowListButton } from './WindowListButton'; | ||
export { default as ConnectedWindowSideBar } from './WindowSideBar'; | ||
export { default as ConnectedWindowSideBarAnnotationsPanel } from './WindowSideBarAnnotationsPanel'; | ||
export { default as ConnectedWindowSideBarButtons } from './WindowSideBarButtons'; | ||
export { default as ConnectedWindowSideBarCanvasPanel } from './WindowSideBarCanvasPanel'; | ||
export { default as ConnectedWindowSideBarCollectionPanel } from './WindowSideBarCollectionPanel'; | ||
export { default as ConnectedWindowSideBarInfoPanel } from './WindowSideBarInfoPanel'; | ||
export { default as ConnectedWindowThumbnailSettings } from './WindowThumbnailSettings'; | ||
export { default as ConnectedWindowTopBar } from './WindowTopBar'; | ||
export { default as ConnectedWindowTopBarPluginArea } from './WindowTopBarPluginArea'; | ||
export { default as ConnectedWindowTopBarPluginMenu } from './WindowTopBarPluginMenu'; | ||
export { default as ConnectedWindowTopBarTitle } from './WindowTopBarTitle'; | ||
export { default as ConnectedWindowTopMenu } from './WindowTopMenu'; | ||
export { default as ConnectedWindowTopMenuButton } from './WindowTopMenuButton'; | ||
export { default as ConnectedWindowViewSettings } from './WindowViewSettings'; | ||
export { default as ConnectedWindowViewer } from './WindowViewer'; | ||
export { default as ConnectedWorkspace } from './Workspace'; | ||
export { default as ConnectedWorkspaceAdd } from './WorkspaceAdd'; | ||
export { default as ConnectedWorkspaceAddButton } from './WorkspaceAddButton'; | ||
export { default as ConnectedWorkspaceArea } from './WorkspaceArea'; | ||
export { default as ConnectedWorkspaceControlPanel } from './WorkspaceControlPanel'; | ||
export { default as ConnectedWorkspaceControlPanelButtons } from './WorkspaceControlPanelButtons'; | ||
export { default as ConnectedWorkspaceElastic } from './WorkspaceElastic'; | ||
export { default as ConnectedWorkspaceElasticWindow } from './WorkspaceElasticWindow'; | ||
export { default as ConnectedWorkspaceExport } from './WorkspaceExport'; | ||
export { default as ConnectedWorkspaceImport } from './WorkspaceImport'; | ||
export { default as ConnectedWorkspaceMenu } from './WorkspaceMenu'; | ||
export { default as ConnectedWorkspaceMenuButton } from './WorkspaceMenuButton'; | ||
export { default as ConnectedWorkspaceMosaic } from './WorkspaceMosaic'; | ||
export { default as ConnectedWorkspaceOptionsButton } from './WorkspaceOptionsButton'; | ||
export { default as ConnectedWorkspaceOptionsMenu } from './WorkspaceOptionsMenu'; | ||
export { default as ConnectedWorkspaceSelectionDialog } from './WorkspaceSelectionDialog'; | ||
export { default as ConnectedZoomControls } from './ZoomControls'; |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,4 @@ | ||
import FullScreenContext from './FullScreenContext'; | ||
import WorkspaceContext from './WorkspaceContext'; | ||
|
||
export { FullScreenContext, WorkspaceContext }; |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,9 @@ | ||
import PluginContext from './PluginContext'; | ||
import PluginProvider from './PluginProvider'; | ||
|
||
export * from './pluginMapping'; | ||
export * from './pluginPreprocessing'; | ||
export * from './pluginValidation'; | ||
|
||
export { PluginContext, PluginProvider }; | ||
export * from './withPlugins'; |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,23 @@ | ||
import getBestThumbnail, { ThumbnailFactory } from './ThumbnailFactory'; | ||
|
||
export { getBestThumbnail, ThumbnailFactory }; | ||
|
||
export { default as AnnotationFactory } from './AnnotationFactory'; | ||
export { default as AnnotationItem } from './AnnotationItem'; | ||
export { default as AnnotationList } from './AnnotationList'; | ||
export { default as AnnotationPage } from './AnnotationPage'; | ||
export { default as AnnotationResource } from './AnnotationResource'; | ||
export { default as CanvasAnnotationDisplay } from './CanvasAnnotationDisplay'; | ||
export { default as CanvasGroupings } from './CanvasGroupings'; | ||
export { default as CanvasWorld } from './CanvasWorld'; | ||
export { default as CompanionWindowRegistry } from './CompanionWindowRegistry'; | ||
export { default as MiradorCanvas } from './MiradorCanvas'; | ||
export { default as MiradorManifest } from './MiradorManifest'; | ||
export { default as MiradorViewer } from './MiradorViewer'; | ||
export { default as MosaicLayout } from './MosaicLayout'; | ||
export { default as OpenSeadragonCanvasOverlay } from './OpenSeadragonCanvasOverlay'; | ||
|
||
export { default as TruncatedHit } from './TruncatedHit'; | ||
export { default as asArray } from './asArray'; | ||
export { default as htmlRules } from './htmlRules'; | ||
export * from './readImageMetadata'; |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1 @@ | ||
export * from './OSDReferences'; |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters