2019-01-01 04:13:51 +00:00
|
|
|
// Project: https://github.com/vueComponent/ant-design-vue
|
|
|
|
// Definitions by: akki-jat <https://github.com/akki-jat>
|
|
|
|
// Definitions: https://github.com/vueComponent/ant-design-vue/types
|
|
|
|
|
2019-01-12 03:33:27 +00:00
|
|
|
import { AntdComponent } from '../component';
|
2019-09-10 13:54:22 +00:00
|
|
|
type ColSpanType = number | string;
|
2019-01-01 04:13:51 +00:00
|
|
|
export declare class Col extends AntdComponent {
|
|
|
|
/**
|
|
|
|
* raster number of cells to occupy, 0 corresponds to display: none
|
|
|
|
* @default none (0)
|
2019-09-10 13:54:22 +00:00
|
|
|
* @type ColSpanType
|
2019-01-01 04:13:51 +00:00
|
|
|
*/
|
2019-09-10 13:54:22 +00:00
|
|
|
span: ColSpanType;
|
2019-01-01 04:13:51 +00:00
|
|
|
|
|
|
|
/**
|
|
|
|
* raster order, used in flex layout mode
|
|
|
|
* @default 0
|
2019-09-10 13:54:22 +00:00
|
|
|
* @type ColSpanType
|
2019-01-01 04:13:51 +00:00
|
|
|
*/
|
2019-09-10 13:54:22 +00:00
|
|
|
order: ColSpanType;
|
2019-01-01 04:13:51 +00:00
|
|
|
|
|
|
|
/**
|
|
|
|
* the number of cells to offset Col from the left
|
|
|
|
* @default 0
|
2019-09-10 13:54:22 +00:00
|
|
|
* @type ColSpanType
|
2019-01-01 04:13:51 +00:00
|
|
|
*/
|
2019-09-10 13:54:22 +00:00
|
|
|
offset: ColSpanType;
|
2019-01-01 04:13:51 +00:00
|
|
|
|
|
|
|
/**
|
|
|
|
* the number of cells that raster is moved to the right
|
|
|
|
* @default 0
|
2019-09-10 13:54:22 +00:00
|
|
|
* @type ColSpanType
|
2019-01-01 04:13:51 +00:00
|
|
|
*/
|
2019-09-10 13:54:22 +00:00
|
|
|
push: ColSpanType;
|
2019-01-01 04:13:51 +00:00
|
|
|
|
|
|
|
/**
|
|
|
|
* the number of cells that raster is moved to the left
|
|
|
|
* @default 0
|
2019-09-10 13:54:22 +00:00
|
|
|
* @type ColSpanType
|
2019-01-01 04:13:51 +00:00
|
|
|
*/
|
2019-09-10 13:54:22 +00:00
|
|
|
pull: ColSpanType;
|
2019-01-01 04:13:51 +00:00
|
|
|
|
|
|
|
/**
|
|
|
|
* <576px and also default setting, could be a span value or an object containing above props
|
2019-09-10 13:54:22 +00:00
|
|
|
* @type { span: ColSpanType, offset: ColSpanType } | ColSpanType
|
2019-01-01 04:13:51 +00:00
|
|
|
*/
|
2019-09-10 13:54:22 +00:00
|
|
|
xs: { span: ColSpanType; offset: ColSpanType } | ColSpanType;
|
2019-01-01 04:13:51 +00:00
|
|
|
|
|
|
|
/**
|
|
|
|
* ≥576px, could be a span value or an object containing above props
|
2019-09-10 13:54:22 +00:00
|
|
|
* @type { span: ColSpanType, offset: ColSpanType } | ColSpanType
|
2019-01-01 04:13:51 +00:00
|
|
|
*/
|
2019-09-10 13:54:22 +00:00
|
|
|
sm: { span: ColSpanType; offset: ColSpanType } | ColSpanType;
|
2019-01-01 04:13:51 +00:00
|
|
|
|
|
|
|
/**
|
|
|
|
* ≥768px, could be a span value or an object containing above props
|
2019-09-10 13:54:22 +00:00
|
|
|
* @type { span: ColSpanType, offset: ColSpanType } | ColSpanType
|
2019-01-01 04:13:51 +00:00
|
|
|
*/
|
2019-09-10 13:54:22 +00:00
|
|
|
md: { span: ColSpanType; offset: ColSpanType } | ColSpanType;
|
2019-01-01 04:13:51 +00:00
|
|
|
|
|
|
|
/**
|
|
|
|
* ≥992px, could be a span value or an object containing above props
|
2019-09-10 13:54:22 +00:00
|
|
|
* @type { span: ColSpanType, offset: ColSpanType } | ColSpanType
|
2019-01-01 04:13:51 +00:00
|
|
|
*/
|
2019-09-10 13:54:22 +00:00
|
|
|
lg: { span: ColSpanType; offset: ColSpanType } | ColSpanType;
|
2019-01-01 04:13:51 +00:00
|
|
|
|
|
|
|
/**
|
|
|
|
* ≥1200px, could be a span value or an object containing above props
|
2019-09-10 13:54:22 +00:00
|
|
|
* @type { span: ColSpanType, offset: ColSpanType } | ColSpanType
|
2019-01-01 04:13:51 +00:00
|
|
|
*/
|
2019-09-10 13:54:22 +00:00
|
|
|
xl: { span: ColSpanType; offset: ColSpanType } | ColSpanType;
|
2019-01-01 04:13:51 +00:00
|
|
|
|
|
|
|
/**
|
|
|
|
* ≥1600px, could be a span value or an object containing above props
|
2019-09-10 13:54:22 +00:00
|
|
|
* @type { span: ColSpanType, offset: ColSpanType } | ColSpanType
|
2019-01-01 04:13:51 +00:00
|
|
|
*/
|
2019-09-10 13:54:22 +00:00
|
|
|
xxl: { span: ColSpanType; offset: ColSpanType } | ColSpanType;
|
2019-01-01 04:13:51 +00:00
|
|
|
}
|