-
Notifications
You must be signed in to change notification settings - Fork 0
/
66a7b8a29a19a9840eb654c23e0765c7bb9bcdd7-778f73f76505afc04ab5.js.map
1 lines (1 loc) · 36.5 KB
/
66a7b8a29a19a9840eb654c23e0765c7bb9bcdd7-778f73f76505afc04ab5.js.map
1
{"version":3,"sources":["webpack:///./node_modules/@material-ui/core/FormControl/FormControl.js","webpack:///./node_modules/@material-ui/core/FormControl/withFormControlContext.js","webpack:///./node_modules/@material-ui/core/FormControl/index.js","webpack:///./node_modules/@material-ui/core/InputBase/utils.js","webpack:///./node_modules/@material-ui/core/FormControl/FormControlContext.js","webpack:///./node_modules/@material-ui/core/FormLabel/index.js","webpack:///./node_modules/@material-ui/core/InputLabel/index.js","webpack:///./node_modules/@material-ui/core/FormControl/formControlState.js","webpack:///./node_modules/@material-ui/core/FormLabel/FormLabel.js","webpack:///./node_modules/@material-ui/core/InputLabel/InputLabel.js"],"names":["_interopRequireDefault","Object","defineProperty","exports","value","default","styles","_extends2","_defineProperty2","_objectWithoutProperties2","_classCallCheck2","_possibleConstructorReturn2","_getPrototypeOf2","_createClass2","_inherits2","_react","_classnames","_utils2","_withStyles","_helpers","_reactHelpers","_FormControlContext","root","display","flexDirection","position","minWidth","padding","margin","border","verticalAlign","marginNormal","marginTop","marginBottom","marginDense","fullWidth","width","FormControl","_React$Component","props","_this","this","call","handleFocus","setState","state","focused","handleBlur","handleDirty","filled","handleClean","adornedStart","children","Children","forEach","child","isMuiElement","isFilled","input","isAdornedStart","key","disabled","_classNames","_this$props","classes","className","Component","component","error","required","variant","other","_this$state","childContext","onBlur","onEmpty","onFilled","onFocus","createElement","Provider","concat","capitalize","defaultProps","_default","name","EnhancedComponent","Consumer","context","muiFormControl","_hoistNonReactStatics","enumerable","get","_FormControl","hasValue","Array","isArray","length","obj","SSR","arguments","undefined","defaultValue","startAdornment","createContext","_FormLabel","_InputLabel","_ref","states","reduce","acc","_formControlState","_withFormControlContext","theme","fontFamily","typography","color","palette","text","secondary","fontSize","pxToRem","lineHeight","primary","type","main","asterisk","FormLabel","classNameProp","fcs","transformOrigin","formControl","left","top","transform","shrink","animated","transition","transitions","create","duration","shorter","easing","easeOut","zIndex","pointerEvents","outlined","InputLabel","disableAnimation","FormLabelClasses","shrinkProp"],"mappings":"6FAEA,IAAIA,EAAyB,EAAQ,QAErCC,OAAOC,eAAeC,EAAS,aAAc,CAC3CC,OAAO,IAETD,EAAQE,QAAUF,EAAQG,YAAS,EAEnC,IAAIC,EAAYP,EAAuB,EAAQ,SAE3CQ,EAAmBR,EAAuB,EAAQ,SAElDS,EAA4BT,EAAuB,EAAQ,SAE3DU,EAAmBV,EAAuB,EAAQ,SAElDW,EAA8BX,EAAuB,EAAQ,SAE7DY,EAAmBZ,EAAuB,EAAQ,SAElDa,EAAgBb,EAAuB,EAAQ,SAE/Cc,EAAad,EAAuB,EAAQ,SAE5Ce,EAASf,EAAuB,EAAQ,SAIxCgB,GAFahB,EAAuB,EAAQ,SAE9BA,EAAuB,EAAQ,UAI7CiB,GAFS,EAAQ,QAEP,EAAQ,SAElBC,EAAclB,EAAuB,EAAQ,SAE7CmB,EAAW,EAAQ,QAEnBC,EAAgB,EAAQ,QAExBC,EAAsBrB,EAAuB,EAAQ,SAErDM,EAAS,CAEXgB,KAAM,CACJC,QAAS,cACTC,cAAe,SACfC,SAAU,WAEVC,SAAU,EACVC,QAAS,EACTC,OAAQ,EACRC,OAAQ,EACRC,cAAe,OAKjBC,aAAc,CACZC,UAAW,GACXC,aAAc,GAIhBC,YAAa,CACXF,UAAW,EACXC,aAAc,GAIhBE,UAAW,CACTC,MAAO,SAgBXjC,EAAQG,OAASA,EAEjB,IAAI+B,EAA2B,SAAUC,GAevC,SAASD,EAAYE,GACnB,IAAIC,GAEJ,EAAI9B,EAAiBL,SAASoC,KAAMJ,IACpCG,GAAQ,EAAI7B,EAA4BN,SAASoC,MAAM,EAAI7B,EAAiBP,SAASgC,GAAaK,KAAKD,QAEjGE,YAAc,WAClBH,EAAMI,UAAS,S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AAS,EAAIE,EAAUF,SAAS,CAC7E,cAAeiI,EACfrE,UAAWA,EACXD,SAAS,EAAIzD,EAAUF,SAAS,CAC9ByC,QAASkB,EAAQlB,QACjBe,SAAUG,EAAQH,SAClBO,MAAOJ,EAAQI,MACfC,SAAUL,EAAQK,UACjB+E,IACF7E,GAAQnB,GApCbjD,EAAQG,OAASA,EA2GjB4I,EAAWhE,aAAe,CACxBiE,kBAAkB,GAGpB,IAAIhE,GAAW,EAAIjE,EAAYb,SAASC,EAAQ,CAC9C8E,KAAM,iBADO,EAEZ,EAAI2B,EAAwB1G,SAAS6I,IAExC/I,EAAQE,QAAU8E","file":"66a7b8a29a19a9840eb654c23e0765c7bb9bcdd7-778f73f76505afc04ab5.js","sourcesContent":["\"use strict\";\n\nvar _interopRequireDefault = require(\"@babel/runtime/helpers/interopRequireDefault\");\n\nObject.defineProperty(exports, \"__esModule\", {\n value: true\n});\nexports.default = exports.styles = void 0;\n\nvar _extends2 = _interopRequireDefault(require(\"@babel/runtime/helpers/extends\"));\n\nvar _defineProperty2 = _interopRequireDefault(require(\"@babel/runtime/helpers/defineProperty\"));\n\nvar _objectWithoutProperties2 = _interopRequireDefault(require(\"@babel/runtime/helpers/objectWithoutProperties\"));\n\nvar _classCallCheck2 = _interopRequireDefault(require(\"@babel/runtime/helpers/classCallCheck\"));\n\nvar _possibleConstructorReturn2 = _interopRequireDefault(require(\"@babel/runtime/helpers/possibleConstructorReturn\"));\n\nvar _getPrototypeOf2 = _interopRequireDefault(require(\"@babel/runtime/helpers/getPrototypeOf\"));\n\nvar _createClass2 = _interopRequireDefault(require(\"@babel/runtime/helpers/createClass\"));\n\nvar _inherits2 = _interopRequireDefault(require(\"@babel/runtime/helpers/inherits\"));\n\nvar _react = _interopRequireDefault(require(\"react\"));\n\nvar _propTypes = _interopRequireDefault(require(\"prop-types\"));\n\nvar _classnames = _interopRequireDefault(require(\"classnames\"));\n\nvar _utils = require(\"@material-ui/utils\");\n\nvar _utils2 = require(\"../InputBase/utils\");\n\nvar _withStyles = _interopRequireDefault(require(\"../styles/withStyles\"));\n\nvar _helpers = require(\"../utils/helpers\");\n\nvar _reactHelpers = require(\"../utils/reactHelpers\");\n\nvar _FormControlContext = _interopRequireDefault(require(\"./FormControlContext\"));\n\nvar styles = {\n /* Styles applied to the root element. */\n root: {\n display: 'inline-flex',\n flexDirection: 'column',\n position: 'relative',\n // Reset fieldset default style.\n minWidth: 0,\n padding: 0,\n margin: 0,\n border: 0,\n verticalAlign: 'top' // Fix alignment issue on Safari.\n\n },\n\n /* Styles applied to the root element if `margin=\"normal\"`. */\n marginNormal: {\n marginTop: 16,\n marginBottom: 8\n },\n\n /* Styles applied to the root element if `margin=\"dense\"`. */\n marginDense: {\n marginTop: 8,\n marginBottom: 4\n },\n\n /* Styles applied to the root element if `fullWidth={true}`. */\n fullWidth: {\n width: '100%'\n }\n};\n/**\n * Provides context such as filled/focused/error/required for form inputs.\n * Relying on the context provides high flexibility and ensures that the state always stays\n * consistent across the children of the `FormControl`.\n * This context is used by the following components:\n * - FormLabel\n * - FormHelperText\n * - Input\n * - InputLabel\n *\n * ⚠️ Only one input can be used within a FormControl.\n */\n\nexports.styles = styles;\n\nvar FormControl = /*#__PURE__*/function (_React$Component) {\n (0, _inherits2.default)(FormControl, _React$Component);\n (0, _createClass2.default)(FormControl, null, [{\n key: \"getDerivedStateFromProps\",\n value: function getDerivedStateFromProps(props, state) {\n if (props.disabled && state.focused) {\n return {\n focused: false\n };\n }\n\n return null;\n }\n }]);\n\n function FormControl(props) {\n var _this;\n\n (0, _classCallCheck2.default)(this, FormControl);\n _this = (0, _possibleConstructorReturn2.default)(this, (0, _getPrototypeOf2.default)(FormControl).call(this));\n\n _this.handleFocus = function () {\n _this.setState(function (state) {\n return !state.focused ? {\n focused: true\n } : null;\n });\n };\n\n _this.handleBlur = function () {\n _this.setState(function (state) {\n return state.focused ? {\n focused: false\n } : null;\n });\n };\n\n _this.handleDirty = function () {\n if (!_this.state.filled) {\n _this.setState({\n filled: true\n });\n }\n };\n\n _this.handleClean = function () {\n if (_this.state.filled) {\n _this.setState({\n filled: false\n });\n }\n };\n\n _this.state = {\n adornedStart: false,\n filled: false,\n focused: false\n }; // We need to iterate through the children and find the Input in order\n // to fully support server-side rendering.\n\n var children = props.children;\n\n if (children) {\n _react.default.Children.forEach(children, function (child) {\n if (!(0, _reactHelpers.isMuiElement)(child, ['Input', 'Select'])) {\n return;\n }\n\n if ((0, _utils2.isFilled)(child.props, true)) {\n _this.state.filled = true;\n }\n\n var input = (0, _reactHelpers.isMuiElement)(child, ['Select']) ? child.props.input : child;\n\n if (input && (0, _utils2.isAdornedStart)(input.props)) {\n _this.state.adornedStart = true;\n }\n });\n }\n\n return _this;\n }\n\n (0, _createClass2.default)(FormControl, [{\n key: \"render\",\n value: function render() {\n var _classNames;\n\n var _this$props = this.props,\n classes = _this$props.classes,\n className = _this$props.className,\n Component = _this$props.component,\n disabled = _this$props.disabled,\n error = _this$props.error,\n fullWidth = _this$props.fullWidth,\n margin = _this$props.margin,\n required = _this$props.required,\n variant = _this$props.variant,\n other = (0, _objectWithoutProperties2.default)(_this$props, [\"classes\", \"className\", \"component\", \"disabled\", \"error\", \"fullWidth\", \"margin\", \"required\", \"variant\"]);\n var _this$state = this.state,\n adornedStart = _this$state.adornedStart,\n filled = _this$state.filled,\n focused = _this$state.focused;\n var childContext = {\n adornedStart: adornedStart,\n disabled: disabled,\n error: error,\n filled: filled,\n focused: focused,\n margin: margin,\n onBlur: this.handleBlur,\n onEmpty: this.handleClean,\n onFilled: this.handleDirty,\n onFocus: this.handleFocus,\n required: required,\n variant: variant\n };\n return _react.default.createElement(_FormControlContext.default.Provider, {\n value: childContext\n }, _react.default.createElement(Component, (0, _extends2.default)({\n className: (0, _classnames.default)(classes.root, (_classNames = {}, (0, _defineProperty2.default)(_classNames, classes[\"margin\".concat((0, _helpers.capitalize)(margin))], margin !== 'none'), (0, _defineProperty2.default)(_classNames, classes.fullWidth, fullWidth), _classNames), className)\n }, other)));\n }\n }]);\n return FormControl;\n}(_react.default.Component);\n\nprocess.env.NODE_ENV !== \"production\" ? FormControl.propTypes = {\n /**\n * The contents of the form control.\n */\n children: _propTypes.default.node,\n\n /**\n * Override or extend the styles applied to the component.\n * See [CSS API](#css-api) below for more details.\n */\n classes: _propTypes.default.object.isRequired,\n\n /**\n * @ignore\n */\n className: _propTypes.default.string,\n\n /**\n * The component used for the root node.\n * Either a string to use a DOM element or a component.\n */\n component: _utils.componentPropType,\n\n /**\n * If `true`, the label, input and helper text should be displayed in a disabled state.\n */\n disabled: _propTypes.default.bool,\n\n /**\n * If `true`, the label should be displayed in an error state.\n */\n error: _propTypes.default.bool,\n\n /**\n * If `true`, the component will take up the full width of its container.\n */\n fullWidth: _propTypes.default.bool,\n\n /**\n * If `dense` or `normal`, will adjust vertical spacing of this and contained components.\n */\n margin: _propTypes.default.oneOf(['none', 'dense', 'normal']),\n\n /**\n * If `true`, the label will indicate that the input is required.\n */\n required: _propTypes.default.bool,\n\n /**\n * The variant to use.\n */\n variant: _propTypes.default.oneOf(['standard', 'outlined', 'filled'])\n} : void 0;\nFormControl.defaultProps = {\n component: 'div',\n disabled: false,\n error: false,\n fullWidth: false,\n margin: 'none',\n required: false,\n variant: 'standard'\n};\n\nvar _default = (0, _withStyles.default)(styles, {\n name: 'MuiFormControl'\n})(FormControl);\n\nexports.default = _default;","\"use strict\";\n\nvar _interopRequireDefault = require(\"@babel/runtime/helpers/interopRequireDefault\");\n\nObject.defineProperty(exports, \"__esModule\", {\n value: true\n});\nexports.default = withFormControlContext;\n\nvar _extends2 = _interopRequireDefault(require(\"@babel/runtime/helpers/extends\"));\n\nvar _react = _interopRequireDefault(require(\"react\"));\n\nvar _hoistNonReactStatics = _interopRequireDefault(require(\"hoist-non-react-statics\"));\n\nvar _FormControlContext = _interopRequireDefault(require(\"./FormControlContext\"));\n\nvar _utils = require(\"@material-ui/utils\");\n\nfunction withFormControlContext(Component) {\n var EnhancedComponent = function EnhancedComponent(props) {\n return _react.default.createElement(_FormControlContext.default.Consumer, null, function (context) {\n return _react.default.createElement(Component, (0, _extends2.default)({\n muiFormControl: context\n }, props));\n });\n };\n\n if (process.env.NODE_ENV !== 'production') {\n EnhancedComponent.displayName = \"WithFormControlContext(\".concat((0, _utils.getDisplayName)(Component), \")\");\n }\n\n (0, _hoistNonReactStatics.default)(EnhancedComponent, Component);\n return EnhancedComponent;\n}","\"use strict\";\n\nvar _interopRequireDefault = require(\"@babel/runtime/helpers/interopRequireDefault\");\n\nObject.defineProperty(exports, \"__esModule\", {\n value: true\n});\nObject.defineProperty(exports, \"default\", {\n enumerable: true,\n get: function get() {\n return _FormControl.default;\n }\n});\n\nvar _FormControl = _interopRequireDefault(require(\"./FormControl\"));","\"use strict\";\n\nObject.defineProperty(exports, \"__esModule\", {\n value: true\n});\nexports.hasValue = hasValue;\nexports.isFilled = isFilled;\nexports.isAdornedStart = isAdornedStart; // Supports determination of isControlled().\n// Controlled input accepts its current value as a prop.\n//\n// @see https://facebook.github.io/react/docs/forms.html#controlled-components\n// @param value\n// @returns {boolean} true if string (including '') or number (including zero)\n\nfunction hasValue(value) {\n return value != null && !(Array.isArray(value) && value.length === 0);\n} // Determine if field is empty or filled.\n// Response determines if label is presented above field or as placeholder.\n//\n// @param obj\n// @param SSR\n// @returns {boolean} False when not present or empty string.\n// True when any number or string with length.\n\n\nfunction isFilled(obj) {\n var SSR = arguments.length > 1 && arguments[1] !== undefined ? arguments[1] : false;\n return obj && (hasValue(obj.value) && obj.value !== '' || SSR && hasValue(obj.defaultValue) && obj.defaultValue !== '');\n} // Determine if an Input is adorned on start.\n// It's corresponding to the left with LTR.\n//\n// @param obj\n// @returns {boolean} False when no adornments.\n// True when adorned at the start.\n\n\nfunction isAdornedStart(obj) {\n return obj.startAdornment;\n}","\"use strict\";\n\nvar _interopRequireDefault = require(\"@babel/runtime/helpers/interopRequireDefault\");\n\nObject.defineProperty(exports, \"__esModule\", {\n value: true\n});\nexports.default = void 0;\n\nvar _react = _interopRequireDefault(require(\"react\"));\n/**\n * @ignore - internal component.\n */\n\n\nvar FormControlContext = _react.default.createContext();\n\nvar _default = FormControlContext;\nexports.default = _default;","\"use strict\";\n\nvar _interopRequireDefault = require(\"@babel/runtime/helpers/interopRequireDefault\");\n\nObject.defineProperty(exports, \"__esModule\", {\n value: true\n});\nObject.defineProperty(exports, \"default\", {\n enumerable: true,\n get: function get() {\n return _FormLabel.default;\n }\n});\n\nvar _FormLabel = _interopRequireDefault(require(\"./FormLabel\"));","\"use strict\";\n\nvar _interopRequireDefault = require(\"@babel/runtime/helpers/interopRequireDefault\");\n\nObject.defineProperty(exports, \"__esModule\", {\n value: true\n});\nObject.defineProperty(exports, \"default\", {\n enumerable: true,\n get: function get() {\n return _InputLabel.default;\n }\n});\n\nvar _InputLabel = _interopRequireDefault(require(\"./InputLabel\"));","\"use strict\";\n\nObject.defineProperty(exports, \"__esModule\", {\n value: true\n});\nexports.default = formControlState;\n\nfunction formControlState(_ref) {\n var props = _ref.props,\n states = _ref.states,\n muiFormControl = _ref.muiFormControl;\n return states.reduce(function (acc, state) {\n acc[state] = props[state];\n\n if (muiFormControl) {\n if (typeof props[state] === 'undefined') {\n acc[state] = muiFormControl[state];\n }\n }\n\n return acc;\n }, {});\n}","\"use strict\";\n\nvar _interopRequireDefault = require(\"@babel/runtime/helpers/interopRequireDefault\");\n\nObject.defineProperty(exports, \"__esModule\", {\n value: true\n});\nexports.default = exports.styles = void 0;\n\nvar _extends2 = _interopRequireDefault(require(\"@babel/runtime/helpers/extends\"));\n\nvar _defineProperty2 = _interopRequireDefault(require(\"@babel/runtime/helpers/defineProperty\"));\n\nvar _objectWithoutProperties2 = _interopRequireDefault(require(\"@babel/runtime/helpers/objectWithoutProperties\"));\n\nvar _react = _interopRequireDefault(require(\"react\"));\n\nvar _propTypes = _interopRequireDefault(require(\"prop-types\"));\n\nvar _classnames = _interopRequireDefault(require(\"classnames\"));\n\nvar _utils = require(\"@material-ui/utils\");\n\nvar _formControlState = _interopRequireDefault(require(\"../FormControl/formControlState\"));\n\nvar _withFormControlContext = _interopRequireDefault(require(\"../FormControl/withFormControlContext\"));\n\nvar _withStyles = _interopRequireDefault(require(\"../styles/withStyles\"));\n\nvar styles = function styles(theme) {\n return {\n /* Styles applied to the root element. */\n root: {\n fontFamily: theme.typography.fontFamily,\n color: theme.palette.text.secondary,\n fontSize: theme.typography.pxToRem(16),\n lineHeight: 1,\n padding: 0,\n '&$focused': {\n color: theme.palette.primary[theme.palette.type === 'light' ? 'dark' : 'light']\n },\n '&$disabled': {\n color: theme.palette.text.disabled\n },\n '&$error': {\n color: theme.palette.error.main\n }\n },\n\n /* Styles applied to the root element if `focused={true}`. */\n focused: {},\n\n /* Styles applied to the root element if `disabled={true}`. */\n disabled: {},\n\n /* Styles applied to the root element if `error={true}`. */\n error: {},\n\n /* Styles applied to the root element if `filled={true}`. */\n filled: {},\n\n /* Styles applied to the root element if `required={true}`. */\n required: {},\n asterisk: {\n '&$error': {\n color: theme.palette.error.main\n }\n }\n };\n};\n\nexports.styles = styles;\n\nfunction FormLabel(props) {\n var _classNames;\n\n var children = props.children,\n classes = props.classes,\n classNameProp = props.className,\n Component = props.component,\n disabled = props.disabled,\n error = props.error,\n filled = props.filled,\n focused = props.focused,\n muiFormControl = props.muiFormControl,\n required = props.required,\n other = (0, _objectWithoutProperties2.default)(props, [\"children\", \"classes\", \"className\", \"component\", \"disabled\", \"error\", \"filled\", \"focused\", \"muiFormControl\", \"required\"]);\n var fcs = (0, _formControlState.default)({\n props: props,\n muiFormControl: muiFormControl,\n states: ['required', 'focused', 'disabled', 'error', 'filled']\n });\n return _react.default.createElement(Component, (0, _extends2.default)({\n className: (0, _classnames.default)(classes.root, (_classNames = {}, (0, _defineProperty2.default)(_classNames, classes.disabled, fcs.disabled), (0, _defineProperty2.default)(_classNames, classes.error, fcs.error), (0, _defineProperty2.default)(_classNames, classes.filled, fcs.filled), (0, _defineProperty2.default)(_classNames, classes.focused, fcs.focused), (0, _defineProperty2.default)(_classNames, classes.required, fcs.required), _classNames), classNameProp)\n }, other), children, fcs.required && _react.default.createElement(\"span\", {\n className: (0, _classnames.default)(classes.asterisk, (0, _defineProperty2.default)({}, classes.error, fcs.error))\n }, \"\\u2009*\"));\n}\n\nprocess.env.NODE_ENV !== \"production\" ? FormLabel.propTypes = {\n /**\n * The content of the component.\n */\n children: _propTypes.default.node,\n\n /**\n * Override or extend the styles applied to the component.\n * See [CSS API](#css-api) below for more details.\n */\n classes: _propTypes.default.object.isRequired,\n\n /**\n * @ignore\n */\n className: _propTypes.default.string,\n\n /**\n * The component used for the root node.\n * Either a string to use a DOM element or a component.\n */\n component: _utils.componentPropType,\n\n /**\n * If `true`, the label should be displayed in a disabled state.\n */\n disabled: _propTypes.default.bool,\n\n /**\n * If `true`, the label should be displayed in an error state.\n */\n error: _propTypes.default.bool,\n\n /**\n * If `true`, the label should use filled classes key.\n */\n filled: _propTypes.default.bool,\n\n /**\n * If `true`, the input of this label is focused (used by `FormGroup` components).\n */\n focused: _propTypes.default.bool,\n\n /**\n * @ignore\n */\n muiFormControl: _propTypes.default.object,\n\n /**\n * If `true`, the label will indicate that the input is required.\n */\n required: _propTypes.default.bool\n} : void 0;\nFormLabel.defaultProps = {\n component: 'label'\n};\n\nvar _default = (0, _withStyles.default)(styles, {\n name: 'MuiFormLabel'\n})((0, _withFormControlContext.default)(FormLabel));\n\nexports.default = _default;","\"use strict\";\n\nvar _interopRequireDefault = require(\"@babel/runtime/helpers/interopRequireDefault\");\n\nObject.defineProperty(exports, \"__esModule\", {\n value: true\n});\nexports.default = exports.styles = void 0;\n\nvar _extends2 = _interopRequireDefault(require(\"@babel/runtime/helpers/extends\"));\n\nvar _defineProperty2 = _interopRequireDefault(require(\"@babel/runtime/helpers/defineProperty\"));\n\nvar _objectWithoutProperties2 = _interopRequireDefault(require(\"@babel/runtime/helpers/objectWithoutProperties\"));\n\nvar _react = _interopRequireDefault(require(\"react\"));\n\nvar _propTypes = _interopRequireDefault(require(\"prop-types\"));\n\nvar _classnames = _interopRequireDefault(require(\"classnames\"));\n\nvar _formControlState = _interopRequireDefault(require(\"../FormControl/formControlState\"));\n\nvar _withFormControlContext = _interopRequireDefault(require(\"../FormControl/withFormControlContext\"));\n\nvar _withStyles = _interopRequireDefault(require(\"../styles/withStyles\"));\n\nvar _FormLabel = _interopRequireDefault(require(\"../FormLabel\")); // @inheritedComponent FormLabel\n\n\nvar styles = function styles(theme) {\n return {\n /* Styles applied to the root element. */\n root: {\n transformOrigin: 'top left'\n },\n\n /* Styles applied to the root element if `focused={true}`. */\n focused: {},\n\n /* Styles applied to the root element if `disabled={true}`. */\n disabled: {},\n\n /* Styles applied to the root element if `error={true}`. */\n error: {},\n\n /* Styles applied to the root element if `required={true}`. */\n required: {},\n\n /* Styles applied to the root element if the component is a descendant of `FormControl`. */\n formControl: {\n position: 'absolute',\n left: 0,\n top: 0,\n // slight alteration to spec spacing to match visual spec result\n transform: 'translate(0, 24px) scale(1)'\n },\n\n /* Styles applied to the root element if `margin=\"dense\"`. */\n marginDense: {\n // Compensation for the `Input.inputDense` style.\n transform: 'translate(0, 21px) scale(1)'\n },\n\n /* Styles applied to the `input` element if `shrink={true}`. */\n shrink: {\n transform: 'translate(0, 1.5px) scale(0.75)',\n transformOrigin: 'top left'\n },\n\n /* Styles applied to the `input` element if `disableAnimation={false}`. */\n animated: {\n transition: theme.transitions.create(['color', 'transform'], {\n duration: theme.transitions.duration.shorter,\n easing: theme.transitions.easing.easeOut\n })\n },\n\n /* Styles applied to the root element if `variant=\"filled\"`. */\n filled: {\n // Chrome's autofill feature gives the input field a yellow background.\n // Since the input field is behind the label in the HTML tree,\n // the input field is drawn last and hides the label with an opaque background color.\n // zIndex: 1 will raise the label above opaque background-colors of input.\n zIndex: 1,\n pointerEvents: 'none',\n transform: 'translate(12px, 20px) scale(1)',\n '&$marginDense': {\n transform: 'translate(12px, 17px) scale(1)'\n },\n '&$shrink': {\n transform: 'translate(12px, 10px) scale(0.75)',\n '&$marginDense': {\n transform: 'translate(12px, 7px) scale(0.75)'\n }\n }\n },\n\n /* Styles applied to the root element if `variant=\"outlined\"`. */\n outlined: {\n // see comment above on filled.zIndex\n zIndex: 1,\n pointerEvents: 'none',\n transform: 'translate(14px, 20px) scale(1)',\n '&$marginDense': {\n transform: 'translate(14px, 17px) scale(1)'\n },\n '&$shrink': {\n transform: 'translate(14px, -6px) scale(0.75)'\n }\n }\n };\n};\n\nexports.styles = styles;\n\nfunction InputLabel(props) {\n var _classNames;\n\n var children = props.children,\n classes = props.classes,\n classNameProp = props.className,\n disableAnimation = props.disableAnimation,\n FormLabelClasses = props.FormLabelClasses,\n margin = props.margin,\n muiFormControl = props.muiFormControl,\n shrinkProp = props.shrink,\n variant = props.variant,\n other = (0, _objectWithoutProperties2.default)(props, [\"children\", \"classes\", \"className\", \"disableAnimation\", \"FormLabelClasses\", \"margin\", \"muiFormControl\", \"shrink\", \"variant\"]);\n var shrink = shrinkProp;\n\n if (typeof shrink === 'undefined' && muiFormControl) {\n shrink = muiFormControl.filled || muiFormControl.focused || muiFormControl.adornedStart;\n }\n\n var fcs = (0, _formControlState.default)({\n props: props,\n muiFormControl: muiFormControl,\n states: ['margin', 'variant']\n });\n var className = (0, _classnames.default)(classes.root, (_classNames = {}, (0, _defineProperty2.default)(_classNames, classes.formControl, muiFormControl), (0, _defineProperty2.default)(_classNames, classes.animated, !disableAnimation), (0, _defineProperty2.default)(_classNames, classes.shrink, shrink), (0, _defineProperty2.default)(_classNames, classes.marginDense, fcs.margin === 'dense'), (0, _defineProperty2.default)(_classNames, classes.filled, fcs.variant === 'filled'), (0, _defineProperty2.default)(_classNames, classes.outlined, fcs.variant === 'outlined'), _classNames), classNameProp);\n return _react.default.createElement(_FormLabel.default, (0, _extends2.default)({\n \"data-shrink\": shrink,\n className: className,\n classes: (0, _extends2.default)({\n focused: classes.focused,\n disabled: classes.disabled,\n error: classes.error,\n required: classes.required\n }, FormLabelClasses)\n }, other), children);\n}\n\nprocess.env.NODE_ENV !== \"production\" ? InputLabel.propTypes = {\n /**\n * The contents of the `InputLabel`.\n */\n children: _propTypes.default.node,\n\n /**\n * Override or extend the styles applied to the component.\n * See [CSS API](#css-api) below for more details.\n */\n classes: _propTypes.default.object.isRequired,\n\n /**\n * @ignore\n */\n className: _propTypes.default.string,\n\n /**\n * If `true`, the transition animation is disabled.\n */\n disableAnimation: _propTypes.default.bool,\n\n /**\n * If `true`, apply disabled class.\n */\n disabled: _propTypes.default.bool,\n\n /**\n * If `true`, the label will be displayed in an error state.\n */\n error: _propTypes.default.bool,\n\n /**\n * If `true`, the input of this label is focused.\n */\n focused: _propTypes.default.bool,\n\n /**\n * `classes` property applied to the [`FormLabel`](/api/form-label/) element.\n */\n FormLabelClasses: _propTypes.default.object,\n\n /**\n * If `dense`, will adjust vertical spacing. This is normally obtained via context from\n * FormControl.\n */\n margin: _propTypes.default.oneOf(['dense']),\n\n /**\n * @ignore\n */\n muiFormControl: _propTypes.default.object,\n\n /**\n * if `true`, the label will indicate that the input is required.\n */\n required: _propTypes.default.bool,\n\n /**\n * If `true`, the label is shrunk.\n */\n shrink: _propTypes.default.bool,\n\n /**\n * The variant to use.\n */\n variant: _propTypes.default.oneOf(['standard', 'outlined', 'filled'])\n} : void 0;\nInputLabel.defaultProps = {\n disableAnimation: false\n};\n\nvar _default = (0, _withStyles.default)(styles, {\n name: 'MuiInputLabel'\n})((0, _withFormControlContext.default)(InputLabel));\n\nexports.default = _default;"],"sourceRoot":""}