mirror of
https://github.com/bilawalsidhu/gods-eye-view.git
synced 2026-11-05 10:53:59 +00:00
refactor: construct application layers from supplied sources
This commit is contained in:
1 parent
cd704d0e9b
commit
8160ac5fe4
53 files changed
+1152
-400
No files matched your search
@@ -1,2 +1,15 @@
|
||||
/** Compatibility entry for the application's UI composition. */
|
||||
export { StyleManager } from './ui/composition.js';
|
||||
import { StyleManager as ApplicationControls } from './ui/composition.js';
|
||||
import { catalogControlServices } from './app/catalog.js';
|
||||
import { getStandaloneCatalog } from './standalone/catalog.js';
|
||||
/** Compatibility entry for direct standalone control construction. */
|
||||
export class StyleManager extends ApplicationControls {
|
||||
constructor(viewer, options = {}) {
|
||||
super(viewer, {
|
||||
...options,
|
||||
services: {
|
||||
...catalogControlServices(getStandaloneCatalog()),
|
||||
...options.services,
|
||||
},
|
||||
});
|
||||
}
|
||||
}
|
||||
Reference in new issue
Block a user