Huge News!Announcing our $40M Series B led by Abstract Ventures.Learn More
Socket
Sign inDemoInstall
Socket

cqsmart

Package Overview
Dependencies
Maintainers
1
Versions
40
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

cqsmart - npm Package Compare versions

Comparing version 0.0.67 to 0.0.68

13

lib/table/filter/index.js

@@ -7,2 +7,6 @@ 'use strict';

var _react = require('react');
var _react2 = _interopRequireDefault(_react);
var _antd = require('antd');

@@ -22,2 +26,5 @@

/* form搜索过滤器组件*/
/**
* Created by Tears on 2017/8/26.
*/
var FilterItem = function FilterItem(_ref) {

@@ -148,3 +155,3 @@ var componentProps = _ref.componentProps,

return React.createElement(
return _react2.default.createElement(
'div',

@@ -155,6 +162,4 @@ null,

);
}; /**
* Created by Tears on 2017/8/26.
*/
};
exports.default = _antd.Form.create()(FilterItem);
//# sourceMappingURL=index.js.map

@@ -11,2 +11,8 @@ 'use strict';

var _react = require('react');
var _react2 = _interopRequireDefault(_react);
function _interopRequireDefault(obj) { return obj && obj.__esModule ? obj : { default: obj }; }
function _objectWithoutProperties(obj, keys) { var target = {}; for (var i in obj) { if (keys.indexOf(i) >= 0) continue; if (!Object.prototype.hasOwnProperty.call(obj, i)) continue; target[i] = obj[i]; } return target; } /**

@@ -27,6 +33,6 @@ * Created by Tears on 2017/8/26.

return React.createElement(
return _react2.default.createElement(
'div',
null,
React.createElement(_antd.Table, _extends({}, tableProps, {
_react2.default.createElement(_antd.Table, _extends({}, tableProps, {
rowKey: function rowKey(record) {

@@ -38,6 +44,6 @@ return record.id;

})),
React.createElement(
_react2.default.createElement(
'div',
{ style: { marginTop: '10px' } },
!hidePagination ? React.createElement(_antd.Pagination, { style: { textAlign: 'right' }, defaultCurrent: 1, onChange: function onChange(page) {
!hidePagination ? _react2.default.createElement(_antd.Pagination, { style: { textAlign: 'right' }, defaultCurrent: 1, onChange: function onChange(page) {
onPaginationChange(page);

@@ -44,0 +50,0 @@ }, pageSize: pageSize || 10, current: current, total: total }) : ''

{
"name": "cqsmart",
"version": "0.0.67",
"version": "0.0.68",
"description": "Smart Building Components",

@@ -5,0 +5,0 @@ "authors": [

/**
* Created by Tears on 2017/8/26.
*/
import React from 'react'
import {Form,Col} from 'antd'

@@ -5,0 +6,0 @@ import FilterComponents from './FilterComponent'

@@ -5,3 +5,3 @@ /**

import {Table,Pagination} from 'antd'
import React from 'react'
const List=({...tableProps})=>{

@@ -8,0 +8,0 @@ const {onPaginationChange,current,total,hidePagination,pageSize}=tableProps

Sorry, the diff of this file is not supported yet

Sorry, the diff of this file is not supported yet

SocketSocket SOC 2 Logo

Product

  • Package Alerts
  • Integrations
  • Docs
  • Pricing
  • FAQ
  • Roadmap
  • Changelog

Packages

npm

Stay in touch

Get open source security insights delivered straight into your inbox.


  • Terms
  • Privacy
  • Security

Made with ⚡️ by Socket Inc