1 |
- {"version":3,"sources":["../node_modules/_antd@3.19.0@antd/es/grid/style/css.js","../node_modules/_antd@3.19.0@antd/es/grid/RowContext.js","../node_modules/_enquire.js@2.1.6@enquire.js/src/Util.js","../node_modules/_enquire.js@2.1.6@enquire.js/src/index.js","../node_modules/_enquire.js@2.1.6@enquire.js/src/MediaQueryDispatch.js","../node_modules/_enquire.js@2.1.6@enquire.js/src/MediaQuery.js","../node_modules/_enquire.js@2.1.6@enquire.js/src/QueryHandler.js","../node_modules/_antd@3.19.0@antd/es/row/style/css.js","../node_modules/_antd@3.19.0@antd/es/_util/responsiveObserve.js","../node_modules/_antd@3.19.0@antd/es/grid/row.js","../node_modules/_antd@3.19.0@antd/es/row/index.js","../node_modules/_antd@3.19.0@antd/es/col/style/css.js","../node_modules/_antd@3.19.0@antd/es/grid/col.js","../node_modules/_antd@3.19.0@antd/es/col/index.js"],"names":["__webpack_require__","_ant_design_create_react_context__WEBPACK_IMPORTED_MODULE_0__","RowContext","n","_ant_design_create_react_context__WEBPACK_IMPORTED_MODULE_0___default","__webpack_exports__","module","exports","isFunction","target","isArray","Object","prototype","toString","apply","each","collection","fn","i","length","MediaQueryDispatch","MediaQuery","Util","window","matchMedia","Error","this","queries","browserIsIncapable","matches","constructor","register","q","options","shouldDegrade","isUnconditional","match","handler","addHandler","unregister","query","removeHandler","clear","QueryHandler","handlers","mql","self","listener","currentTarget","assess","addListener","constuctor","qh","push","on","h","equals","destroy","splice","removeListener","action","deferSetup","setup","initialised","off","unmatch","enquire","_defineProperty","obj","key","value","defineProperty","enumerable","configurable","writable","_extends","assign","arguments","source","hasOwnProperty","call","mediaQuery","media","responsiveArray","responsiveMap","xs","sm","md","lg","xl","xxl","subscribers","subUid","screens","_util_responsiveObserve","dispatch","pointMap","forEach","item","func","subscribe","token","unsubscribe","filter","keys","map","screen","_this","_typeof","Symbol","iterator","row_extends","row_defineProperty","_defineProperties","props","descriptor","_possibleConstructorReturn","ReferenceError","_assertThisInitialized","_getPrototypeOf","o","setPrototypeOf","getPrototypeOf","__proto__","_setPrototypeOf","p","__rest","s","e","t","indexOf","getOwnPropertySymbols","RowAligns","_util_type","RowJustify","row_Row","_React$Component","Row","instance","Constructor","TypeError","_classCallCheck","state","renderRow","_ref","_classNames","getPrefixCls","_a","customizePrefixCls","prefixCls","type","justify","align","className","style","children","others","gutter","getGutter","classes","_classnames_2_2_6_classnames_default","concat","rowStyle","marginLeft","marginRight","otherProps","_react_16_8_6_react","Provider","protoProps","staticProps","subClass","superClass","create","_inherits","_this2","setState","breakpoint","undefined","config_provider","defaultProps","propTypes","_prop_types_15_7_2_prop_types","objectOrNumber","col_Col","Col","renderCol","span","order","offset","pull","sizeClassObj","size","_extends2","sizeProps","Consumer","_ref2","paddingLeft","paddingRight"],"mappings":"0FAAAA,EAAA,IAAAA,EAAA,uCCAA,IAAAC,EAAAD,EAAA,KACAE,EADAF,EAAAG,EAAAF,EACiBG,GAAa,IACfC,EAAA,uBCwCfC,EAAAC,QAAA,CACAC,WALA,SAAAC,GACA,0BAAAA,GAKAC,QAjBA,SAAAD,GACA,yBAAAE,OAAAC,UAAAC,SAAAC,MAAAL,IAiBAM,KAvCA,SAAAC,EAAAC,GAKA,IAJA,IAAAC,EAAA,EACAC,EAAAH,EAAAG,OAGSD,EAAAC,IAGT,IAFAF,EAAAD,EAAAE,MADqBA,mDCXrB,IAAAE,EAAyBpB,EAAQ,KAEjCM,EAAAC,QAAA,IAAAa,uBCFA,IAAAC,EAAiBrB,EAAQ,KAEzBsB,EAAWtB,EAAQ,KAEnBe,EAAAO,EAAAP,KACAP,EAAAc,EAAAd,WACAE,EAAAY,EAAAZ,QAQA,SAAAU,IACA,IAAAG,OAAAC,WACA,UAAAC,MAAA,8DAGAC,KAAAC,QAAA,GACAD,KAAAE,oBAAAL,OAAAC,WAAA,YAAAK,QAGAT,EAAAR,UAAA,CACAkB,YAAAV,EAaAW,SAAA,SAAAC,EAAAC,EAAAC,GACA,IAAAP,EAAAD,KAAAC,QACAQ,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0B,EAAA,KACZhG,GAAAiG,EACAhG,GAAAgG,EACA/F,GAAA+F,EACA9F,GAAA8F,EACA7F,GAAA6F,EACA5F,IAAA4F,GCjOejL,EAAA","file":"static/js/2.fbb908e3.chunk.js","sourcesContent":["import '../../style/index.css';\nimport './index.css';","import createContext from '@ant-design/create-react-context';\nvar RowContext = createContext({});\nexport default RowContext;","/**\n * Helper function for iterating over a collection\n *\n * @param collection\n * @param fn\n */\nfunction each(collection, fn) {\n var i = 0,\n length = collection.length,\n cont;\n\n for (i; i < length; i++) {\n cont = fn(collection[i], i);\n\n if (cont === false) {\n break; //allow early exit\n }\n }\n}\n/**\n * Helper function for determining whether target object is an array\n *\n * @param target the object under test\n * @return {Boolean} true if array, false otherwise\n */\n\n\nfunction isArray(target) {\n return Object.prototype.toString.apply(target) === '[object Array]';\n}\n/**\n * Helper function for determining whether target object is a function\n *\n * @param target the object under test\n * @return {Boolean} true if function, false otherwise\n */\n\n\nfunction isFunction(target) {\n return typeof target === 'function';\n}\n\nmodule.exports = {\n isFunction: isFunction,\n isArray: isArray,\n each: each\n};","var MediaQueryDispatch = require('./MediaQueryDispatch');\n\nmodule.exports = new MediaQueryDispatch();","var MediaQuery = require('./MediaQuery');\n\nvar Util = require('./Util');\n\nvar each = Util.each;\nvar isFunction = Util.isFunction;\nvar isArray = Util.isArray;\n/**\n * Allows for registration of query handlers.\n * Manages the query handler's state and is responsible for wiring up browser events\n *\n * @constructor\n */\n\nfunction MediaQueryDispatch() {\n if (!window.matchMedia) {\n throw new Error('matchMedia not present, legacy browsers require a polyfill');\n }\n\n this.queries = {};\n this.browserIsIncapable = !window.matchMedia('only all').matches;\n}\n\nMediaQueryDispatch.prototype = {\n constructor: MediaQueryDispatch,\n\n /**\n * Registers a handler for the given media query\n *\n * @param {string} q the media query\n * @param {object || Array || Function} options either a single query handler object, a function, or an array of query handlers\n * @param {function} options.match fired when query matched\n * @param {function} [options.unmatch] fired when a query is no longer matched\n * @param {function} [options.setup] fired when handler first triggered\n * @param {boolean} [options.deferSetup=false] whether setup should be run immediately or deferred until query is first matched\n * @param {boolean} [shouldDegrade=false] whether this particular media query should always run on incapable browsers\n */\n register: function register(q, options, shouldDegrade) {\n var queries = this.queries,\n isUnconditional = shouldDegrade && this.browserIsIncapable;\n\n if (!queries[q]) {\n queries[q] = new MediaQuery(q, isUnconditional);\n } //normalise to object in an array\n\n\n if (isFunction(options)) {\n options = {\n match: options\n };\n }\n\n if (!isArray(options)) {\n options = [options];\n }\n\n each(options, function (handler) {\n if (isFunction(handler)) {\n handler = {\n match: handler\n };\n }\n\n queries[q].addHandler(handler);\n });\n return this;\n },\n\n /**\n * unregisters a query and all it's handlers, or a specific handler for a query\n *\n * @param {string} q the media query to target\n * @param {object || function} [handler] specific handler to unregister\n */\n unregister: function unregister(q, handler) {\n var query = this.queries[q];\n\n if (query) {\n if (handler) {\n query.removeHandler(handler);\n } else {\n query.clear();\n delete this.queries[q];\n }\n }\n\n return this;\n }\n};\nmodule.exports = MediaQueryDispatch;","var QueryHandler = require('./QueryHandler');\n\nvar each = require('./Util').each;\n/**\n * Represents a single media query, manages it's state and registered handlers for this query\n *\n * @constructor\n * @param {string} query the media query string\n * @param {boolean} [isUnconditional=false] whether the media query should run regardless of whether the conditions are met. Primarily for helping older browsers deal with mobile-first design\n */\n\n\nfunction MediaQuery(query, isUnconditional) {\n this.query = query;\n this.isUnconditional = isUnconditional;\n this.handlers = [];\n this.mql = window.matchMedia(query);\n var self = this;\n\n this.listener = function (mql) {\n // Chrome passes an MediaQueryListEvent object, while other browsers pass MediaQueryList directly\n self.mql = mql.currentTarget || mql;\n self.assess();\n };\n\n this.mql.addListener(this.listener);\n}\n\nMediaQuery.prototype = {\n constuctor: MediaQuery,\n\n /**\n * add a handler for this query, triggering if already active\n *\n * @param {object} handler\n * @param {function} handler.match callback for when query is activated\n * @param {function} [handler.unmatch] callback for when query is deactivated\n * @param {function} [handler.setup] callback for immediate execution when a query handler is registered\n * @param {boolean} [handler.deferSetup=false] should the setup callback be deferred until the first time the handler is matched?\n */\n addHandler: function addHandler(handler) {\n var qh = new QueryHandler(handler);\n this.handlers.push(qh);\n this.matches() && qh.on();\n },\n\n /**\n * removes the given handler from the collection, and calls it's destroy methods\n *\n * @param {object || function} handler the handler to remove\n */\n removeHandler: function removeHandler(handler) {\n var handlers = this.handlers;\n each(handlers, function (h, i) {\n if (h.equals(handler)) {\n h.destroy();\n return !handlers.splice(i, 1); //remove from array and exit each early\n }\n });\n },\n\n /**\n * Determine whether the media query should be considered a match\n *\n * @return {Boolean} true if media query can be considered a match, false otherwise\n */\n matches: function matches() {\n return this.mql.matches || this.isUnconditional;\n },\n\n /**\n * Clears all handlers and unbinds events\n */\n clear: function clear() {\n each(this.handlers, function (handler) {\n handler.destroy();\n });\n this.mql.removeListener(this.listener);\n this.handlers.length = 0; //clear array\n },\n\n /*\n * Assesses the query, turning on all handlers if it matches, turning them off if it doesn't match\n */\n assess: function assess() {\n var action = this.matches() ? 'on' : 'off';\n each(this.handlers, function (handler) {\n handler[action]();\n });\n }\n};\nmodule.exports = MediaQuery;","/**\n * Delegate to handle a media query being matched and unmatched.\n *\n * @param {object} options\n * @param {function} options.match callback for when the media query is matched\n * @param {function} [options.unmatch] callback for when the media query is unmatched\n * @param {function} [options.setup] one-time callback triggered the first time a query is matched\n * @param {boolean} [options.deferSetup=false] should the setup callback be run immediately, rather than first time query is matched?\n * @constructor\n */\nfunction QueryHandler(options) {\n this.options = options;\n !options.deferSetup && this.setup();\n}\n\nQueryHandler.prototype = {\n constructor: QueryHandler,\n\n /**\n * coordinates setup of the handler\n *\n * @function\n */\n setup: function setup() {\n if (this.options.setup) {\n this.options.setup();\n }\n\n this.initialised = true;\n },\n\n /**\n * coordinates setup and triggering of the handler\n *\n * @function\n */\n on: function on() {\n !this.initialised && this.setup();\n this.options.match && this.options.match();\n },\n\n /**\n * coordinates the unmatch event for the handler\n *\n * @function\n */\n off: function off() {\n this.options.unmatch && this.options.unmatch();\n },\n\n /**\n * called when a handler is to be destroyed.\n * delegates to the destroy or unmatch callbacks, depending on availability.\n *\n * @function\n */\n destroy: function destroy() {\n this.options.destroy ? this.options.destroy() : this.off();\n },\n\n /**\n * determines equality by reference.\n * if object is supplied compare options, if function, compare match callback\n *\n * @function\n * @param {object || function} [target] the target for comparison\n */\n equals: function equals(target) {\n return this.options === target || this.options.match === target;\n }\n};\nmodule.exports = QueryHandler;","import '../../style/index.css'; // style dependencies\n// deps-lint-skip: grid\n\nimport '../../grid/style/css';","function _defineProperty(obj, key, value) {\n if (key in obj) {\n Object.defineProperty(obj, key, {\n value: value,\n enumerable: true,\n configurable: true,\n writable: true\n });\n } else {\n obj[key] = value;\n }\n\n return obj;\n}\n\nfunction _extends() {\n _extends = Object.assign || function (target) {\n for (var i = 1; i < arguments.length; i++) {\n var source = arguments[i];\n\n for (var key in source) {\n if (Object.prototype.hasOwnProperty.call(source, key)) {\n target[key] = source[key];\n }\n }\n }\n\n return target;\n };\n\n return _extends.apply(this, arguments);\n} // matchMedia polyfill for\n// https://github.com/WickyNilliams/enquire.js/issues/82\n\n\nvar enquire;\n\nif (typeof window !== 'undefined') {\n var matchMediaPolyfill = function matchMediaPolyfill(mediaQuery) {\n return {\n media: mediaQuery,\n matches: false,\n addListener: function addListener() {},\n removeListener: function removeListener() {}\n };\n };\n\n window.matchMedia = window.matchMedia || matchMediaPolyfill;\n enquire = require('enquire.js');\n}\n\nexport var responsiveArray = ['xxl', 'xl', 'lg', 'md', 'sm', 'xs'];\nexport var responsiveMap = {\n xs: '(max-width: 575px)',\n sm: '(min-width: 576px)',\n md: '(min-width: 768px)',\n lg: '(min-width: 992px)',\n xl: '(min-width: 1200px)',\n xxl: '(min-width: 1600px)'\n};\nvar subscribers = [];\nvar subUid = -1;\nvar screens = {};\nvar responsiveObserve = {\n dispatch: function dispatch(pointMap) {\n screens = pointMap;\n\n if (subscribers.length < 1) {\n return false;\n }\n\n subscribers.forEach(function (item) {\n item.func(screens);\n });\n return true;\n },\n subscribe: function subscribe(func) {\n if (subscribers.length === 0) {\n this.register();\n }\n\n var token = (++subUid).toString();\n subscribers.push({\n token: token,\n func: func\n });\n func(screens);\n return token;\n },\n unsubscribe: function unsubscribe(token) {\n subscribers = subscribers.filter(function (item) {\n return item.token !== token;\n });\n\n if (subscribers.length === 0) {\n this.unregister();\n }\n },\n unregister: function unregister() {\n Object.keys(responsiveMap).map(function (screen) {\n return enquire.unregister(responsiveMap[screen]);\n });\n },\n register: function register() {\n var _this = this;\n\n Object.keys(responsiveMap).map(function (screen) {\n return enquire.register(responsiveMap[screen], {\n match: function match() {\n var pointMap = _extends({}, screens, _defineProperty({}, screen, true));\n\n _this.dispatch(pointMap);\n },\n unmatch: function unmatch() {\n var pointMap = _extends({}, screens, _defineProperty({}, screen, false));\n\n _this.dispatch(pointMap);\n },\n // Keep a empty destory to avoid triggering unmatch when unregister\n destroy: function destroy() {}\n });\n });\n }\n};\nexport default responsiveObserve;","function _typeof(obj) {\n if (typeof Symbol === \"function\" && typeof Symbol.iterator === \"symbol\") {\n _typeof = function _typeof(obj) {\n return typeof obj;\n };\n } else {\n _typeof = function _typeof(obj) {\n return obj && typeof Symbol === \"function\" && obj.constructor === Symbol && obj !== Symbol.prototype ? \"symbol\" : typeof obj;\n };\n }\n\n return _typeof(obj);\n}\n\nfunction _extends() {\n _extends = Object.assign || function (target) {\n for (var i = 1; i < arguments.length; i++) {\n var source = arguments[i];\n\n for (var key in source) {\n if (Object.prototype.hasOwnProperty.call(source, key)) {\n target[key] = source[key];\n }\n }\n }\n\n return target;\n };\n\n return _extends.apply(this, arguments);\n}\n\nfunction _defineProperty(obj, key, value) {\n if (key in obj) {\n Object.defineProperty(obj, key, {\n value: value,\n enumerable: true,\n configurable: true,\n writable: true\n });\n } else {\n obj[key] = value;\n }\n\n return obj;\n}\n\nfunction _classCallCheck(instance, Constructor) {\n if (!(instance instanceof Constructor)) {\n throw new TypeError(\"Cannot call a class as a function\");\n }\n}\n\nfunction _defineProperties(target, props) {\n for (var i = 0; i < props.length; i++) {\n var descriptor = props[i];\n descriptor.enumerable = descriptor.enumerable || false;\n descriptor.configurable = true;\n if (\"value\" in descriptor) descriptor.writable = true;\n Object.defineProperty(target, descriptor.key, descriptor);\n }\n}\n\nfunction _createClass(Constructor, protoProps, staticProps) {\n if (protoProps) _defineProperties(Constructor.prototype, protoProps);\n if (staticProps) _defineProperties(Constructor, staticProps);\n return Constructor;\n}\n\nfunction _possibleConstructorReturn(self, call) {\n if (call && (_typeof(call) === \"object\" || typeof call === \"function\")) {\n return call;\n }\n\n return _assertThisInitialized(self);\n}\n\nfunction _assertThisInitialized(self) {\n if (self === void 0) {\n throw new ReferenceError(\"this hasn't been initialised - super() hasn't been called\");\n }\n\n return self;\n}\n\nfunction _getPrototypeOf(o) {\n _getPrototypeOf = Object.setPrototypeOf ? Object.getPrototypeOf : function _getPrototypeOf(o) {\n return o.__proto__ || Object.getPrototypeOf(o);\n };\n return _getPrototypeOf(o);\n}\n\nfunction _inherits(subClass, superClass) {\n if (typeof superClass !== \"function\" && superClass !== null) {\n throw new TypeError(\"Super expression must either be null or a function\");\n }\n\n subClass.prototype = Object.create(superClass && superClass.prototype, {\n constructor: {\n value: subClass,\n writable: true,\n configurable: true\n }\n });\n if (superClass) _setPrototypeOf(subClass, superClass);\n}\n\nfunction _setPrototypeOf(o, p) {\n _setPrototypeOf = Object.setPrototypeOf || function _setPrototypeOf(o, p) {\n o.__proto__ = p;\n return o;\n };\n\n return _setPrototypeOf(o, p);\n}\n\nvar __rest = this && this.__rest || function (s, e) {\n var t = {};\n\n for (var p in s) {\n if (Object.prototype.hasOwnProperty.call(s, p) && e.indexOf(p) < 0) t[p] = s[p];\n }\n\n if (s != null && typeof Object.getOwnPropertySymbols === \"function\") for (var i = 0, p = Object.getOwnPropertySymbols(s); i < p.length; i++) {\n if (e.indexOf(p[i]) < 0) t[p[i]] = s[p[i]];\n }\n return t;\n};\n\nimport { ConfigConsumer } from '../config-provider';\nimport * as React from 'react';\nimport classNames from 'classnames';\nimport * as PropTypes from 'prop-types';\nimport RowContext from './RowContext';\nimport { tuple } from '../_util/type';\nimport ResponsiveObserve, { responsiveArray } from '../_util/responsiveObserve';\nvar RowAligns = tuple('top', 'middle', 'bottom');\nvar RowJustify = tuple('start', 'end', 'center', 'space-around', 'space-between');\n\nvar Row =\n/*#__PURE__*/\nfunction (_React$Component) {\n _inherits(Row, _React$Component);\n\n function Row() {\n var _this;\n\n _classCallCheck(this, Row);\n\n _this = _possibleConstructorReturn(this, _getPrototypeOf(Row).apply(this, arguments));\n _this.state = {\n screens: {}\n };\n\n _this.renderRow = function (_ref) {\n var _classNames;\n\n var getPrefixCls = _ref.getPrefixCls;\n\n var _a = _this.props,\n customizePrefixCls = _a.prefixCls,\n type = _a.type,\n justify = _a.justify,\n align = _a.align,\n className = _a.className,\n style = _a.style,\n children = _a.children,\n others = __rest(_a, [\"prefixCls\", \"type\", \"justify\", \"align\", \"className\", \"style\", \"children\"]);\n\n var prefixCls = getPrefixCls('row', customizePrefixCls);\n\n var gutter = _this.getGutter();\n\n var classes = classNames((_classNames = {}, _defineProperty(_classNames, prefixCls, !type), _defineProperty(_classNames, \"\".concat(prefixCls, \"-\").concat(type), type), _defineProperty(_classNames, \"\".concat(prefixCls, \"-\").concat(type, \"-\").concat(justify), type && justify), _defineProperty(_classNames, \"\".concat(prefixCls, \"-\").concat(type, \"-\").concat(align), type && align), _classNames), className);\n var rowStyle = gutter > 0 ? _extends({\n marginLeft: gutter / -2,\n marginRight: gutter / -2\n }, style) : style;\n\n var otherProps = _extends({}, others);\n\n delete otherProps.gutter;\n return React.createElement(RowContext.Provider, {\n value: {\n gutter: gutter\n }\n }, React.createElement(\"div\", _extends({}, otherProps, {\n className: classes,\n style: rowStyle\n }), children));\n };\n\n return _this;\n }\n\n _createClass(Row, [{\n key: \"componentDidMount\",\n value: function componentDidMount() {\n var _this2 = this;\n\n this.token = ResponsiveObserve.subscribe(function (screens) {\n if (_typeof(_this2.props.gutter) === 'object') {\n _this2.setState({\n screens: screens\n });\n }\n });\n }\n }, {\n key: \"componentWillUnmount\",\n value: function componentWillUnmount() {\n ResponsiveObserve.unsubscribe(this.token);\n }\n }, {\n key: \"getGutter\",\n value: function getGutter() {\n var gutter = this.props.gutter;\n\n if (_typeof(gutter) === 'object') {\n for (var i = 0; i < responsiveArray.length; i++) {\n var breakpoint = responsiveArray[i];\n\n if (this.state.screens[breakpoint] && gutter[breakpoint] !== undefined) {\n return gutter[breakpoint];\n }\n }\n }\n\n return gutter;\n }\n }, {\n key: \"render\",\n value: function render() {\n return React.createElement(ConfigConsumer, null, this.renderRow);\n }\n }]);\n\n return Row;\n}(React.Component);\n\nexport { Row as default };\nRow.defaultProps = {\n gutter: 0\n};\nRow.propTypes = {\n type: PropTypes.oneOf(['flex']),\n align: PropTypes.oneOf(RowAligns),\n justify: PropTypes.oneOf(RowJustify),\n className: PropTypes.string,\n children: PropTypes.node,\n gutter: PropTypes.oneOfType([PropTypes.object, PropTypes.number]),\n prefixCls: PropTypes.string\n};","import { Row } from '../grid';\nexport default Row;","import '../../style/index.css'; // style dependencies\n// deps-lint-skip: grid\n\nimport '../../grid/style/css';","function _defineProperty(obj, key, value) {\n if (key in obj) {\n Object.defineProperty(obj, key, {\n value: value,\n enumerable: true,\n configurable: true,\n writable: true\n });\n } else {\n obj[key] = value;\n }\n\n return obj;\n}\n\nfunction _extends() {\n _extends = Object.assign || function (target) {\n for (var i = 1; i < arguments.length; i++) {\n var source = arguments[i];\n\n for (var key in source) {\n if (Object.prototype.hasOwnProperty.call(source, key)) {\n target[key] = source[key];\n }\n }\n }\n\n return target;\n };\n\n return _extends.apply(this, arguments);\n}\n\nfunction _typeof(obj) {\n if (typeof Symbol === \"function\" && typeof Symbol.iterator === \"symbol\") {\n _typeof = function _typeof(obj) {\n return typeof obj;\n };\n } else {\n _typeof = function _typeof(obj) {\n return obj && typeof Symbol === \"function\" && obj.constructor === Symbol && obj !== Symbol.prototype ? \"symbol\" : typeof obj;\n };\n }\n\n return _typeof(obj);\n}\n\nfunction _classCallCheck(instance, Constructor) {\n if (!(instance instanceof Constructor)) {\n throw new TypeError(\"Cannot call a class as a function\");\n }\n}\n\nfunction _defineProperties(target, props) {\n for (var i = 0; i < props.length; i++) {\n var descriptor = props[i];\n descriptor.enumerable = descriptor.enumerable || false;\n descriptor.configurable = true;\n if (\"value\" in descriptor) descriptor.writable = true;\n Object.defineProperty(target, descriptor.key, descriptor);\n }\n}\n\nfunction _createClass(Constructor, protoProps, staticProps) {\n if (protoProps) _defineProperties(Constructor.prototype, protoProps);\n if (staticProps) _defineProperties(Constructor, staticProps);\n return Constructor;\n}\n\nfunction _possibleConstructorReturn(self, call) {\n if (call && (_typeof(call) === \"object\" || typeof call === \"function\")) {\n return call;\n }\n\n return _assertThisInitialized(self);\n}\n\nfunction _assertThisInitialized(self) {\n if (self === void 0) {\n throw new ReferenceError(\"this hasn't been initialised - super() hasn't been called\");\n }\n\n return self;\n}\n\nfunction _getPrototypeOf(o) {\n _getPrototypeOf = Object.setPrototypeOf ? Object.getPrototypeOf : function _getPrototypeOf(o) {\n return o.__proto__ || Object.getPrototypeOf(o);\n };\n return _getPrototypeOf(o);\n}\n\nfunction _inherits(subClass, superClass) {\n if (typeof superClass !== \"function\" && superClass !== null) {\n throw new TypeError(\"Super expression must either be null or a function\");\n }\n\n subClass.prototype = Object.create(superClass && superClass.prototype, {\n constructor: {\n value: subClass,\n writable: true,\n configurable: true\n }\n });\n if (superClass) _setPrototypeOf(subClass, superClass);\n}\n\nfunction _setPrototypeOf(o, p) {\n _setPrototypeOf = Object.setPrototypeOf || function _setPrototypeOf(o, p) {\n o.__proto__ = p;\n return o;\n };\n\n return _setPrototypeOf(o, p);\n}\n\nvar __rest = this && this.__rest || function (s, e) {\n var t = {};\n\n for (var p in s) {\n if (Object.prototype.hasOwnProperty.call(s, p) && e.indexOf(p) < 0) t[p] = s[p];\n }\n\n if (s != null && typeof Object.getOwnPropertySymbols === \"function\") for (var i = 0, p = Object.getOwnPropertySymbols(s); i < p.length; i++) {\n if (e.indexOf(p[i]) < 0) t[p[i]] = s[p[i]];\n }\n return t;\n};\n\nimport * as React from 'react';\nimport * as PropTypes from 'prop-types';\nimport classNames from 'classnames';\nimport RowContext from './RowContext';\nimport { ConfigConsumer } from '../config-provider';\nvar objectOrNumber = PropTypes.oneOfType([PropTypes.object, PropTypes.number]);\n\nvar Col =\n/*#__PURE__*/\nfunction (_React$Component) {\n _inherits(Col, _React$Component);\n\n function Col() {\n var _this;\n\n _classCallCheck(this, Col);\n\n _this = _possibleConstructorReturn(this, _getPrototypeOf(Col).apply(this, arguments));\n\n _this.renderCol = function (_ref) {\n var _classNames;\n\n var getPrefixCls = _ref.getPrefixCls;\n var props = _this.props;\n\n var customizePrefixCls = props.prefixCls,\n span = props.span,\n order = props.order,\n offset = props.offset,\n push = props.push,\n pull = props.pull,\n className = props.className,\n children = props.children,\n others = __rest(props, [\"prefixCls\", \"span\", \"order\", \"offset\", \"push\", \"pull\", \"className\", \"children\"]);\n\n var prefixCls = getPrefixCls('col', customizePrefixCls);\n var sizeClassObj = {};\n ['xs', 'sm', 'md', 'lg', 'xl', 'xxl'].forEach(function (size) {\n var _extends2;\n\n var sizeProps = {};\n\n if (typeof props[size] === 'number') {\n sizeProps.span = props[size];\n } else if (_typeof(props[size]) === 'object') {\n sizeProps = props[size] || {};\n }\n\n delete others[size];\n sizeClassObj = _extends({}, sizeClassObj, (_extends2 = {}, _defineProperty(_extends2, \"\".concat(prefixCls, \"-\").concat(size, \"-\").concat(sizeProps.span), sizeProps.span !== undefined), _defineProperty(_extends2, \"\".concat(prefixCls, \"-\").concat(size, \"-order-\").concat(sizeProps.order), sizeProps.order || sizeProps.order === 0), _defineProperty(_extends2, \"\".concat(prefixCls, \"-\").concat(size, \"-offset-\").concat(sizeProps.offset), sizeProps.offset || sizeProps.offset === 0), _defineProperty(_extends2, \"\".concat(prefixCls, \"-\").concat(size, \"-push-\").concat(sizeProps.push), sizeProps.push || sizeProps.push === 0), _defineProperty(_extends2, \"\".concat(prefixCls, \"-\").concat(size, \"-pull-\").concat(sizeProps.pull), sizeProps.pull || sizeProps.pull === 0), _extends2));\n });\n var classes = classNames(prefixCls, (_classNames = {}, _defineProperty(_classNames, \"\".concat(prefixCls, \"-\").concat(span), span !== undefined), _defineProperty(_classNames, \"\".concat(prefixCls, \"-order-\").concat(order), order), _defineProperty(_classNames, \"\".concat(prefixCls, \"-offset-\").concat(offset), offset), _defineProperty(_classNames, \"\".concat(prefixCls, \"-push-\").concat(push), push), _defineProperty(_classNames, \"\".concat(prefixCls, \"-pull-\").concat(pull), pull), _classNames), className, sizeClassObj);\n return React.createElement(RowContext.Consumer, null, function (_ref2) {\n var gutter = _ref2.gutter;\n var style = others.style;\n\n if (gutter > 0) {\n style = _extends({\n paddingLeft: gutter / 2,\n paddingRight: gutter / 2\n }, style);\n }\n\n return React.createElement(\"div\", _extends({}, others, {\n style: style,\n className: classes\n }), children);\n });\n };\n\n return _this;\n }\n\n _createClass(Col, [{\n key: \"render\",\n value: function render() {\n return React.createElement(ConfigConsumer, null, this.renderCol);\n }\n }]);\n\n return Col;\n}(React.Component);\n\nexport { Col as default };\nCol.propTypes = {\n span: PropTypes.number,\n order: PropTypes.number,\n offset: PropTypes.number,\n push: PropTypes.number,\n pull: PropTypes.number,\n className: PropTypes.string,\n children: PropTypes.node,\n xs: objectOrNumber,\n sm: objectOrNumber,\n md: objectOrNumber,\n lg: objectOrNumber,\n xl: objectOrNumber,\n xxl: objectOrNumber\n};","import { Col } from '../grid';\nexport default Col;"],"sourceRoot":""}
|