"use strict";var__extends=(this&&this.__extends)||(function(){varextendStatics=Object.setPrototypeOf||({__proto__:[]}instanceofArray&&function(d,b){d.__proto__=b;})||function(d,b){for(varpinb)if(b.hasOwnProperty(p))d[p]=b[p];};returnfunction(d,b){extendStatics(d,b);function__(){this.constructor=d;}d.prototype=b===null?Object.create(b):(__.prototype=b.prototype,new__());};})();Object.defineProperty(exports,"__esModule",{value:true});varLint=require("tslint");varpropertyDecoratorBase_1=require("./propertyDecoratorBase");varRule=(function(_super){__extends(Rule,_super);functionRule(options){return_super.call(this,{decoratorName:'Input',propertyName:'inputs',errorMessage:'Use the @Input property decorator instead of the inputs property (https://angular.io/styleguide#style-05-12)'},options)||this;}Rule.metadata={ruleName:'use-input-property-decorator',type:'style',description:"Use `@Input` decorator rather than the `inputs` property of `@Component` and `@Directive` metadata.",descriptionDetails:"See more at https://angular.io/styleguide#style-05-12.",rationale:(_a=["\n * It is easier and more readable to identify which properties in a class are inputs.\n * If you ever need to rename the property name associated with `@Input`, you can modify it in a single place.\n * The metadata declaration attached to the directive is shorter and thus more readable.\n * Placing the decorator on the same line usually makes for shorter code and still easily identifies the property as an input."],_a.raw=["\n * It is easier and more readable to identify which properties in a class are inputs.\n * If you ever need to rename the property name associated with \\`@Input\\`, you can modify it in a single place.\n * The metadata declaration attached to the directive is shorter and thus more readable.\n * Placing the decorator on the same line usually makes for shorter code and still easily identifies the property as an input."],Lint.Utils.dedent(_a)),options:null,optionsDescription:"Not configurable.",typescriptOnly:true,};returnRule;}(propertyDecoratorBase_1.UsePropertyDecorator));exports.Rule=Rule;var_a;