UNPKG

@visactor/vrender-core

Version:

```typescript import { xxx } from '@visactor/vrender-core'; ```

18 lines (13 loc) 1.22 kB
"use strict"; Object.defineProperty(exports, "__esModule", { value: !0 }), exports.starModule = exports.bindStarRenderModule = void 0; const contribution_provider_1 = require("../../../common/contribution-provider"), module_guard_1 = require("../../../common/module-guard"), constants_1 = require("./contributions/constants"), star_render_1 = require("./star-render"), symbol_1 = require("./symbol"), loadedStarModuleContexts = new WeakSet; function bindStarRenderModule({bind: bind}) { (0, module_guard_1.isBindingContextLoaded)(loadedStarModuleContexts, bind) || (bind(star_render_1.DefaultCanvasStarRender).toDynamicValue((({container: container}) => new star_render_1.DefaultCanvasStarRender((0, contribution_provider_1.createContributionProvider)(constants_1.StarRenderContribution, container)))).inSingletonScope(), bind(symbol_1.StarRender).toService(star_render_1.DefaultCanvasStarRender), bind(symbol_1.GraphicRender).toService(symbol_1.StarRender), (0, contribution_provider_1.bindContributionProvider)(bind, constants_1.StarRenderContribution)); } exports.bindStarRenderModule = bindStarRenderModule, exports.starModule = bindStarRenderModule; //# sourceMappingURL=star-module.js.map