New Case Study:See how Anthropic automated 95% of dependency reviews with Socket.Learn More
Socket
Sign inDemoInstall
Socket

antd-mini-rpx

Package Overview
Dependencies
Maintainers
4
Versions
87
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

antd-mini-rpx - npm Package Compare versions

Comparing version 0.0.17 to 0.0.18

es/_util/promisify.js

2

es/Filter/FilterItem/index.js

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

var placeHolderArray = group.getGroupDataVal();
placeHolderArray[this.$id] = label;
placeHolderArray[this.$id] = (label === null || label === void 0 ? void 0 : label.text) || this.props.placeholder;
group.setGroupDataVal({ key: 'placeHolderArray', val: placeHolderArray });

@@ -83,0 +83,0 @@ }

"use strict";
Object.defineProperty(exports, "__esModule", { value: true });
var tslib_1 = require("tslib");
var fast_deep_equal_1 = tslib_1.__importDefault(require("fast-deep-equal"));
var props_1 = require("./props");

@@ -13,8 +14,17 @@ var computed_1 = tslib_1.__importDefault(require("../mixins/computed"));

data: {
formatValue: '',
columns: [],
visible: false,
formatValue: '',
columns: []
},
tempSelectedIndex: null,
single: false,
didUpdate: function (prevProps, prevData) {
var _a = this.data, visible = _a.visible, columns = _a.columns, cValue = _a.cValue;
var prevColumns = prevData.columns, prevCValue = prevData.cValue;
if (visible) {
if (!(0, fast_deep_equal_1.default)(prevColumns, columns) || !(0, fast_deep_equal_1.default)(prevCValue, cValue)) {
this.tempSelectedIndex = this.getterSelectedIndex();
}
}
},
methods: {

@@ -28,3 +38,3 @@ computed: function () {

selectedIndex: selectedIndex,
columns: columns
columns: columns,
};

@@ -31,0 +41,0 @@ },

@@ -33,2 +33,3 @@ import { IBaseFormItemPropsWithOutFocus } from '../_base';

* @description 提示文案
* @default '请选择'
*/

@@ -35,0 +36,0 @@ placeholder?: string;

@@ -17,2 +17,3 @@ "use strict";

data: [],
placeholder: '请选择',
onFormat: function onFormat(value, column) {

@@ -19,0 +20,0 @@ if (column instanceof Array) {

{
"name": "antd-mini-rpx",
"version": "0.0.17",
"version": "0.0.18",
"scripts": {

@@ -38,2 +38,3 @@ "dev": "minidev dev --no-source-map",

"async-validator": "^4.0.7",
"dayjs": "^1.11.3",
"fast-deep-equal": "3.1.3",

@@ -40,0 +41,0 @@ "tslib": "^2.3.1"

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