mirror of
https://github.com/idanoo/GoScrobble.git
synced 2024-11-25 09:55:15 +00:00
1 line
3.7 KiB
JSON
1 line
3.7 KiB
JSON
|
{"ast":null,"code":"import _extends from \"@babel/runtime/helpers/esm/extends\";\nimport _objectWithoutPropertiesLoose from \"@babel/runtime/helpers/esm/objectWithoutPropertiesLoose\";\nimport React from 'react';\nimport PropTypes from 'prop-types';\nimport classNames from 'classnames';\nimport { mapToCssModules, tagPropType } from './utils';\nvar propTypes = {\n tag: tagPropType,\n size: PropTypes.string,\n className: PropTypes.string,\n cssModule: PropTypes.object\n};\nvar defaultProps = {\n tag: 'div'\n};\n\nvar InputGroup = function InputGroup(props) {\n var className = props.className,\n cssModule = props.cssModule,\n Tag = props.tag,\n size = props.size,\n attributes = _objectWithoutPropertiesLoose(props, [\"className\", \"cssModule\", \"tag\", \"size\"]);\n\n var classes = mapToCssModules(classNames(className, 'input-group', size ? \"input-group-\" + size : null), cssModule);\n return /*#__PURE__*/React.createElement(Tag, _extends({}, attributes, {\n className: classes\n }));\n};\n\nInputGroup.propTypes = propTypes;\nInputGroup.defaultProps = defaultProps;\nexport default InputGroup;","map":{"version":3,"sources":["/app/node_modules/reactstrap/es/InputGroup.js"],"names":["_extends","_objectWithoutPropertiesLoose","React","PropTypes","classNames","mapToCssModules","tagPropType","propTypes","tag","size","string","className","cssModule","object","defaultProps","InputGroup","props","Tag","attributes","classes","createElement"],"mappings":"AAAA,OAAOA,QAAP,MAAqB,oCAArB;AACA,OAAOC,6BAAP,MAA0C,yDAA1C;AACA,OAAOC,KAAP,MAAkB,OAAlB;AACA,OAAOC,SAAP,MAAsB,YAAtB;AACA,OAAOC,UAAP,MAAuB,YAAvB;AACA,SAASC,eAAT,EAA0BC,WAA1B,QAA6C,SAA7C;AACA,IAAIC,SAAS,GAAG;AACdC,EAAAA,GAAG,EAAEF,WADS;AAEdG,EAAAA,IAAI,EAAEN,SAAS,CAACO,MAFF;AAGdC,EAAAA,SAAS,EAAER,SAAS,CAACO,MAHP;AAIdE,EAAAA,SAAS,EAAET,SAAS,CAACU;AAJP,CAAhB;AAMA,IAAIC,YAAY,GAAG;AACjBN,EAAAA,GAAG,EAAE;AADY,CAAnB;;AAIA,IAAIO,UAAU,GAAG,SAASA,UAAT,CAAoBC,KAApB,EAA2B;AAC1C,MAAIL,SAAS,GAAGK,KAAK,CAACL,SAAtB;AAAA,MACIC,SAAS,GAAGI,KAAK,CAACJ,SADtB;AAAA,MAEIK,GAAG,GAAGD,KAAK,CAACR,GAFhB;AAAA,MAGIC,IAAI,GAAGO,KAAK,CAACP,IAHjB;AAAA,MAIIS,UAAU,GAAGjB,6BAA6B,CAACe,KAAD,EAAQ,CAAC,WAAD,EAAc,WAAd,EAA2B,KAA3B,EAAkC,MAAlC,CAAR,CAJ9C;;AAMA,MAAIG,OAAO,GAAGd,eAAe,CAACD,UAAU,CAACO,SAAD,EAAY,aAAZ,EAA2BF,IAAI,GAAG,iBAAiBA,IAApB,GAA2B,IAA1D,CAAX,EAA4EG,SAA5E,CAA7B;AACA,SAAO,aAAaV,KAAK,CAACkB,aAAN,CAAoBH,GAApB,EAAyBjB,QAAQ,CAAC,EAAD,EAAKkB,UAAL,EAAiB;AACpEP,IAAAA,SAAS,EAAEQ;AADyD,GAAjB,CAAjC,CAApB;AAGD,CAXD;;AAaAJ,UAAU,CAACR,SAAX,GAAuBA,SAAvB;AACAQ,UAAU,CAACD,YAAX,GAA0BA,YAA1B;AACA,eAAeC,UAAf","sourcesContent":["import _extends from \"@babel/runtime/helpers/esm/extends\";\nimport _objectWithoutPropertiesLoose from \"@babel/runtime/helpers/esm/objectWithoutPropertiesLoose\";\nimport React from 'react';\nimport PropTypes from 'prop-types';\nimport classNames from 'classnames';\nimport { mapToCssModules, tagPropType } from './utils';\nvar propTypes = {\n tag: tagPropType,\n size: PropTypes.string,\n className: PropTypes.string,\n cssModule: PropTypes.object\n};\nvar defaultProps = {\n tag: 'div'\n};\n\nvar InputGroup = function InputGroup(props) {\n var className = props.className,\n cssModule = props.cssModule,\n Tag = props.tag,\n size = props.size,\n attributes = _objectWithoutPropertiesLoose(props, [\"className\", \"cssModule\", \"tag\", \"size\"]);\n\n var classes = mapToCssModules(classNames(className, 'input-group', size ? \"input-group-\" + size : null), cssModule);\n return /*#__PURE__*/React.createElement(Tag, _extends({}, attributes, {\n className: classes\n }));\n};\n\nInputGroup.propTypes = propTypes;\nInputGroup.defaultProps = defaultProps;\nexport default InputGroup;"]},"metadata":{},"sourceType":"module"}
|