UNPKG

qm-bus

Version:

千米公有云业务组件库

52 lines (32 loc) 2.37 kB
'use strict'; Object.defineProperty(exports, "__esModule", { value: true }); exports.default = undefined; var _class, _class2, _temp; /** * @author gcy[of1518] * @date 16/10/11 * * @description QMSearchForm 通过store与其他组件(table,grid)耦合 */ var _react = require('react'); var _react2 = _interopRequireDefault(_react); var _CompoentViewDataCore = require('./CompoentViewDataCore'); var _CompoentViewDataCore2 = _interopRequireDefault(_CompoentViewDataCore); var _iflux = require('iflux2'); var _objectAssign = require('object-assign'); var _objectAssign2 = _interopRequireDefault(_objectAssign); var _ql = require('../ql'); function _interopRequireDefault(obj) { return obj && obj.__esModule ? obj : { default: obj }; } function _classCallCheck(instance, Constructor) { if (!(instance instanceof Constructor)) { throw new TypeError("Cannot call a class as a function"); } } function _possibleConstructorReturn(self, call) { if (!self) { throw new ReferenceError("this hasn't been initialised - super() hasn't been called"); } return call && (typeof call === "object" || typeof call === "function") ? call : self; } function _inherits(subClass, superClass) { if (typeof superClass !== "function" && superClass !== null) { throw new TypeError("Super expression must either be null or a function, not " + typeof superClass); } subClass.prototype = Object.create(superClass && superClass.prototype, { constructor: { value: subClass, enumerable: false, writable: true, configurable: true } }); if (superClass) Object.setPrototypeOf ? Object.setPrototypeOf(subClass, superClass) : subClass.__proto__ = superClass; } var GalleryTable = (0, _iflux.Relax)(_class = (_temp = _class2 = function (_QMDataViewCore) { _inherits(GalleryTable, _QMDataViewCore); function GalleryTable(props) { _classCallCheck(this, GalleryTable); return _possibleConstructorReturn(this, (GalleryTable.__proto__ || Object.getPrototypeOf(GalleryTable)).call(this, props)); } return GalleryTable; }(_CompoentViewDataCore2.default), _class2.defaultProps = (0, _objectAssign2.default)(_CompoentViewDataCore2.default.defaultProps, { selects: _ql.cellSelectQL }), _temp)) || _class; exports.default = GalleryTable;