UNPKG

@taiga-ui/cdk

Version:

Base library for creating Angular components and applications using Taiga UI principles regarding of actual visual appearance

19 lines 813 B
"use strict"; Object.defineProperty(exports, "__esModule", { value: true }); exports.replaceAttrsByDirective = void 0; const ng_component_input_manipulations_1 = require("../../../utils/templates/ng-component-input-manipulations"); function replaceAttrsByDirective({ resource, fileSystem, data, }) { data.forEach(({ componentSelector, directiveModule, directive, inputProperty, filterFn }) => { (0, ng_component_input_manipulations_1.replaceInputPropertyByDirective)({ componentSelector, directiveModule, directive, inputProperty, fileSystem, templateResource: resource, filterFn, }); }); } exports.replaceAttrsByDirective = replaceAttrsByDirective; //# sourceMappingURL=replace-attrs-by-directives.js.map