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

vap

Package Overview
Dependencies
Maintainers
1
Versions
568
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

vap - npm Package Compare versions

Comparing version 1.0.2 to 1.0.3

build.bat

6

index.d.ts

@@ -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

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