{:uriI"Çfile:///Users/joel/src/revelry_core/app/assets/javascripts/revelry/ui/forms/Input.js.cjsx?type=application/javascript&pipeline=self&id=62ac50115b41265862122d1f7d9093eb0ad7d88a1cc20a23e59252ff513bddf4:ET:load_pathI"8/Users/joel/src/revelry_core/app/assets/javascripts;F: filenameI"W/Users/joel/src/revelry_core/app/assets/javascripts/revelry/ui/forms/Input.js.cjsx;T: nameI"revelry/ui/forms/Input;T:logical_pathI"#revelry/ui/forms/Input.self.js;T:content_typeI"application/javascript;T: sourceI"ë(function() { Rev.registerComponent('Input', { getDefaultProps: function() { return { dom: "input" }; }, render: function() { var labelClassName, labelClasses; labelClasses = { 'RevInput': true, 'RevInput--label': true, 'error': this.props.error }; labelClasses["RevInput-" + (this.props.type || 'text')] = true; labelClassName = this.cx(labelClasses); return React.createElement("label", { "className": labelClassName }, (!this.shouldPutLabelAfterInput() ? this.renderLabel() : void 0), this.renderInput(), (this.shouldPutLabelAfterInput() ? this.renderLabel() : void 0), this.renderError()); }, renderInput: function() { var inputProps; inputProps = _(this.getPropsWithout('error', 'className')).extend({ className: this.cx({ 'RevInput--input': true, 'error': this.props.error }) }); return React.createElement(this.props.dom, inputProps); }, shouldPutLabelAfterInput: function() { return this.props.type === 'checkbox' || this.props.type === 'radio'; }, renderLabel: function() { return React.createElement("span", { "className": "RevInput--innerLabel" }, this.props.label); }, renderError: function() { if (this.props.error) { return React.createElement("small", { "className": "RevError error" }, this.props.error); } } }); }).call(this); ;T: metadata{ :dependencieso:Set: @hash{ I"environment-version;TTI"environment-paths;TTI"hprocessors:type=application/javascript&file_type=application/javascript&engines=.cjsx&pipeline=self;TTI"efile-digest:///Users/joel/src/revelry_core/app/assets/javascripts/revelry/ui/forms/Input.js.cjsx;TT: requiredo;;{: stubbedo;;{: linkso;;{: charsetI" utf-8;F: digest"%Ϧ“ËUQàס»ºKÞÀýÜQLUß,}Љœ!_íˆ: lengthië:integrityI"Xni:///sha-256;zwimk8tVUeDXobsIukvewAj93FFMVd8sfdCJnCFf7Yg?ct=application/javascript;T:dependencies_digest"%¸7ºY®\ZA_<À©}|Ö`l ¢ SIÚM Ð:idI"E62ac50115b41265862122d1f7d9093eb0ad7d88a1cc20a23e59252ff513bddf4;F: mtimel+ŒU