UNPKG

@visactor/vrender-core

Version:

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

22 lines (17 loc) 1.73 kB
"use strict"; Object.defineProperty(exports, "__esModule", { value: !0 }), exports.rectModule = exports.bindRectRenderModule = void 0; const contribution_provider_1 = require("../../../common/contribution-provider"), module_guard_1 = require("../../../common/module-guard"), contributions_1 = require("./contributions"), constants_1 = require("./contributions/constants"), rect_render_1 = require("./rect-render"), symbol_1 = require("./symbol"), loadedRectModuleContexts = new WeakSet; function bindRectRenderModule({bind: bind}) { (0, module_guard_1.isBindingContextLoaded)(loadedRectModuleContexts, bind) || (bind(rect_render_1.DefaultCanvasRectRender).toDynamicValue((({container: container}) => new rect_render_1.DefaultCanvasRectRender((0, contribution_provider_1.createContributionProvider)(constants_1.RectRenderContribution, container)))).inSingletonScope(), bind(symbol_1.RectRender).toService(rect_render_1.DefaultCanvasRectRender), bind(symbol_1.GraphicRender).toService(symbol_1.RectRender), bind(contributions_1.SplitRectAfterRenderContribution).toSelf(), bind(contributions_1.SplitRectBeforeRenderContribution).toSelf(), bind(constants_1.RectRenderContribution).toService(contributions_1.SplitRectAfterRenderContribution), bind(constants_1.RectRenderContribution).toService(contributions_1.SplitRectBeforeRenderContribution), bind(constants_1.RectRenderContribution).toService(contributions_1.DefaultBaseInteractiveRenderContribution), (0, contribution_provider_1.bindContributionProvider)(bind, constants_1.RectRenderContribution)); } exports.bindRectRenderModule = bindRectRenderModule, exports.rectModule = bindRectRenderModule; //# sourceMappingURL=rect-module.js.map