WIP: Lazy Load Service, Details Page Dispatcher, Theater Organization
This does a few things:
- Adds a
LazyLoadService
to allow us to load ES Modules and use them when ready. This is based on the vaadin-router implementation - Add a
site-navigation
component - Create an
ia-theater
component that is responsible for choosing the proper player to use. Uses theLazyLoadService
to load the theater - Create a
DetailsPageDispatcher
webcomponent that is responsible for displaying the proper details page, either the collection or the details page. Uses theLazyLoadService
to lazy load one of the two. - Move the metadata logic out of the router and into the
DetailsPageDispatcher
- Organize the structure into "Scenes", ie "Search Page" scene, "Details Page" scene, etc
- Update
play8.js
andplayset.js
to accept HTMLElements instead of selectors. This allows us to tunnel down into the shadow root so we don't need to useslots
to expose JWPlayer.