How to use the esp-js-ui.LiteralResolver.resolverName function in esp-js-ui

To help you get started, we’ve selected a few esp-js-ui examples, based on popular ways it is used in public projects.

Secure your code as it's written. Use Snyk Code to scan source code in minutes - no build needed - and fix issues immediately.

github esp / esp-js / packages / esp-js-ui / examples / module-based-app / src / shell / shellBootstrapper.tsx View on Github external
_configureContainer() {
        this._container
            .register(ShellModuleContainerConst.workspace_region, MultiItemRegionModel)
            .inject(
                {resolver:LiteralResolver.resolverName, value: RegionNames.workspaceRegion},
                SystemContainerConst.router,
                SystemContainerConst.region_manager
            )
            .singleton();
        this._container
            .register(ShellModuleContainerConst.blotter_region, SingleItemRegionModel)
            .inject(
                {resolver:LiteralResolver.resolverName, value: RegionNames.blotterRegion},
                SystemContainerConst.router,
                SystemContainerConst.region_manager
            )
            .singleton();
        this._container
            .register(ShellModuleContainerConst.shell_model, ShellModel)
            .inject(
                SystemContainerConst.router,
                SystemContainerConst.module_loader,
                ShellModuleContainerConst.workspace_region,
                ShellModuleContainerConst.blotter_region
            );
    }
github esp / esp-js / examples / esp-js-ui-module-based-app / src / shell / shellBootstrapper.tsx View on Github external
_configureContainer() {
        this._container
            .register(ShellModuleContainerConst.workspace_region, MultiItemRegionModel)
            .inject(
                {resolver: LiteralResolver.resolverName, value: RegionNames.workspaceRegion},
                SystemContainerConst.router,
                SystemContainerConst.region_manager
            )
            .singleton();
        this._container
            .register(ShellModuleContainerConst.blotter_region, SingleItemRegionModel)
            .inject(
                {resolver: LiteralResolver.resolverName, value: RegionNames.blotterRegion},
                SystemContainerConst.router,
                SystemContainerConst.region_manager
            )
            .singleton();
        this._container
            .register(ShellModuleContainerConst.shell_model, ShellModel)
            .inject(
                SystemContainerConst.router,
                SystemContainerConst.module_loader,
                ShellModuleContainerConst.workspace_region,
                ShellModuleContainerConst.blotter_region
            );
    }
github esp / esp-js / examples / esp-js-ui-module-based-app / src / shell / shellBootstrapper.tsx View on Github external
_configureContainer() {
        this._container
            .register(ShellModuleContainerConst.workspace_region, MultiItemRegionModel)
            .inject(
                {resolver: LiteralResolver.resolverName, value: RegionNames.workspaceRegion},
                SystemContainerConst.router,
                SystemContainerConst.region_manager
            )
            .singleton();
        this._container
            .register(ShellModuleContainerConst.blotter_region, SingleItemRegionModel)
            .inject(
                {resolver: LiteralResolver.resolverName, value: RegionNames.blotterRegion},
                SystemContainerConst.router,
                SystemContainerConst.region_manager
            )
            .singleton();
        this._container
            .register(ShellModuleContainerConst.shell_model, ShellModel)
            .inject(
                SystemContainerConst.router,
github esp / esp-js / packages / esp-js-ui / examples / module-based-app / src / shell / shellBootstrapper.tsx View on Github external
_configureContainer() {
        this._container
            .register(ShellModuleContainerConst.workspace_region, MultiItemRegionModel)
            .inject(
                {resolver:LiteralResolver.resolverName, value: RegionNames.workspaceRegion},
                SystemContainerConst.router,
                SystemContainerConst.region_manager
            )
            .singleton();
        this._container
            .register(ShellModuleContainerConst.blotter_region, SingleItemRegionModel)
            .inject(
                {resolver:LiteralResolver.resolverName, value: RegionNames.blotterRegion},
                SystemContainerConst.router,
                SystemContainerConst.region_manager
            )
            .singleton();
        this._container
            .register(ShellModuleContainerConst.shell_model, ShellModel)
            .inject(
                SystemContainerConst.router,