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.1.9 to 1.2.0

layouts/display/TableModal/index.d.ts

2

layouts/admin/BaseModal/index.d.ts
/// <reference types="react" />
import * as React from 'react';
import { BaseModalProps } from './interface';
export default class BaseModal extends React.Component<BaseModalProps, any> {
export default class BaseModal extends React.PureComponent<BaseModalProps, any> {
}

@@ -20,3 +20,3 @@ "use strict";

return BaseModal;
}(React.Component));
}(React.PureComponent));
exports.default = BaseModal;

@@ -261,3 +261,3 @@ "use strict";

var rules = RuleTip_1.ruleMessage(column);
return column.showed === false ? React.createElement(React.Fragment, null) : React.createElement(antd_1.Form.Item, __assign({}, formItemLayout, { label: column.title }), getFieldDecorator(column.field, {
return (_.has(column, 'showed') && (column.showed === undefined || column.showed === false)) ? React.createElement(React.Fragment, null) : React.createElement(antd_1.Form.Item, __assign({}, formItemLayout, { label: column.title }), getFieldDecorator(column.field, {
initialValue: this.initValue(column),

@@ -277,3 +277,3 @@ rules: rules,

return FromContent;
}(React.Component));
}(React.PureComponent));
var FromModal = /** @class */ (function (_super) {

@@ -280,0 +280,0 @@ __extends(FromModal, _super);

/// <reference types="react" />
import * as React from 'react';
import { InfoModalProps } from './interface';
export default class InfoModal extends React.Component<InfoModalProps> {
export default class InfoModal extends React.PureComponent<InfoModalProps> {
buildForm(): JSX.Element[];
render(): JSX.Element;
}

@@ -42,3 +42,3 @@ "use strict";

return InfoModal;
}(React.Component));
}(React.PureComponent));
exports.default = InfoModal;
/// <reference types="react" />
import * as React from 'react';
import { ListModalProps, MODE, Column } from './interface';
export default class ListModal<T> extends React.Component<ListModalProps<T>> {
export default class ListModal<T> extends React.PureComponent<ListModalProps<T>> {
rowKey: string;

@@ -6,0 +6,0 @@ mode: MODE;

@@ -299,3 +299,3 @@ "use strict";

return ListModal;
}(React.Component));
}(React.PureComponent));
exports.default = ListModal;
/// <reference types="react" />
import { DataTableProps } from './interface';
import * as React from 'react';
export default class TableLayout<T> extends React.Component<DataTableProps<T>, any> {
export default class TableLayout<T> extends React.PureComponent<DataTableProps<T>, any> {
rowKey: string;

@@ -6,0 +6,0 @@ sorter: {};

@@ -153,3 +153,3 @@ "use strict";

return TableLayout;
}(React.Component));
}(React.PureComponent));
exports.default = TableLayout;

@@ -80,2 +80,3 @@ /**

export { default as Row } from './Page/Row';
export { default as TableModal } from './TableModal';
export declare function HEIGHT(...height: number[]): string;

@@ -142,2 +142,4 @@ "use strict";

exports.Row = Row_1.default;
var TableModal_1 = require("./TableModal");
exports.TableModal = TableModal_1.default;
function HEIGHT() {

@@ -144,0 +146,0 @@ var height = [];

/// <reference types="react" />
import * as React from 'react';
export default class extends React.Component {
export default class extends React.PureComponent {
render(): JSX.Element;
}

@@ -26,3 +26,3 @@ "use strict";

return default_1;
}(React.Component));
}(React.PureComponent));
exports.default = default_1;

@@ -104,3 +104,3 @@ "use strict";

var param = {};
var className = ["vap-row"];
var className = ["vap-row", "vap-row-block"];
if (_.has(this.props, 'title')) {

@@ -107,0 +107,0 @@ className.push("vap-panel-header");

@@ -60,3 +60,4 @@ "use strict";

var state = {};
state.list = json.list;
state.current = _this.param.start === 0 ? 1 : state.current,
state.list = json.list;
state.total = json.total;

@@ -63,0 +64,0 @@ state.loading = false;

{
"name": "vap",
"version": "1.1.9",
"version": "1.2.0",
"description": "vap",

@@ -5,0 +5,0 @@ "main": "index.js",

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