Comparing version 1.0.2 to 1.0.3
@@ -1,3 +0,3 @@ | ||
export { default as Ajax } from './utils/Ajax'; | ||
export { default as Model } from './utils/Model'; | ||
export { default as TableLayout } from './layouts/admin/TableLayout'; | ||
import'./utils'; | ||
import './layouts/admin'; | ||
import './Documents'; |
/// <reference types="react" /> | ||
import { ModalProps } from 'antd/lib/modal/Modal'; | ||
export interface Column { | ||
/** | ||
* 列名称 | ||
*/ | ||
title: string; | ||
/** | ||
* 列字段 | ||
*/ | ||
field: string; | ||
/** | ||
* 输入提示 | ||
*/ | ||
placeholder?: string; | ||
/** | ||
* 是否显示,默认显示,不显示可以设置为showed:false | ||
*/ | ||
showed?: boolean; | ||
/** | ||
* 是否禁用,默认不禁用,禁用可以设置为 disabled:true | ||
*/ | ||
disabled?: boolean; | ||
// 默认为 : "text" | ||
type?: "text" | "number" | 'select' | 'radio' | 'checkbox' | 'date' | 'switch' | 'daterange' | 'icon' ; | ||
options?: any[]; | ||
inline?: boolean; | ||
// rule 用法: https://github.com/yiminghe/async-validator | ||
rule?: any[]; | ||
link?: { | ||
field:string, | ||
type?: "change"|"blur", | ||
call:{Function(txt: string):any[]}, | ||
name?:string, | ||
callback:{Function(txt: string):any[]}, | ||
name:string, | ||
value:string, | ||
}; | ||
// 默认为 : "text" | ||
type?: "text" | "number" | 'select' | 'radio' | 'checkbox' | 'date' | 'switch' | 'daterange' | 'icon' | 'cascader'; | ||
options?: any[]; | ||
inline?: boolean; | ||
// rule 用法: https://github.com/yiminghe/async-validator | ||
rule?: any[]; | ||
//说明:目前onChange,onFocus,onBlur 仅在 type 为 "text" 时有效 | ||
@@ -27,0 +40,0 @@ onChange?: { Function(txt: string): void }; |
@@ -24,2 +24,5 @@ /// <reference types="react" /> | ||
} | ||
/** | ||
* @public | ||
*/ | ||
export interface Filter { | ||
@@ -33,2 +36,5 @@ name: string, | ||
} | ||
/** | ||
* @public | ||
*/ | ||
export interface Search { | ||
@@ -38,2 +44,5 @@ name: string, | ||
} | ||
/** | ||
* @public | ||
*/ | ||
interface Action{ | ||
@@ -40,0 +49,0 @@ name:string, |
{ | ||
"name": "vap", | ||
"version": "1.0.2", | ||
"version": "1.0.3", | ||
"description": "vap", | ||
"main": "index.ts", | ||
"main": "lib/index.js", | ||
"scripts": { | ||
@@ -7,0 +7,0 @@ "test": "echo \"Error: no test specified\" && exit 1" |
Sorry, the diff of this file is not supported yet
Sorry, the diff of this file is not supported yet
Sorry, the diff of this file is not supported yet
License Policy Violation
LicenseThis package is not allowed per your license policy. Review the package's license to ensure compliance.
Found 1 instance in 1 package
Network access
Supply chain riskThis module accesses the network.
Found 1 instance in 1 package
License Policy Violation
LicenseThis package is not allowed per your license policy. Review the package's license to ensure compliance.
Found 1 instance in 1 package
95963
42
2448
1