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
1
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.3-beta.7 to 0.0.3-beta.8

2

es/_util/fmtUnit.js

@@ -1,2 +0,2 @@

var jsUnitRpx = 'true';
var jsUnitRpx = 'false';
/* eslint-disable no-continue, prefer-spread */

@@ -3,0 +3,0 @@

@@ -13,2 +13,3 @@ /* eslint-disable @typescript-eslint/no-explicit-any */

var isMoreThan275 = compareVersion(my.SDKVersion, '2.7.5') >= 0;
var isBaseSwiper = compareVersion(my.SDKVersion, '2.0.0') >= 0;
Component({

@@ -29,2 +30,3 @@ // eslint-disable-next-line @typescript-eslint/no-unused-vars

component2: component2,
isBaseSwiper: isBaseSwiper,
_forceRefreshSwiper: 0,

@@ -185,12 +187,2 @@ _isForceUpdate: isForceUpdate

},
onSiperTransition: function onSiperTransition(e) {
if (typeof this.props.onTransition === "function") {
this.props.onTransition(e);
}
},
onSwiperTouchStart: function onSwiperTouchStart(e) {
if (typeof this.props.onTouchStart === "function") {
this.props.onTouchStart(e);
}
},
_useSwipeable: function _useSwipeable(b) {

@@ -247,2 +239,16 @@ var swipeable = this.props.swipeable;

},
handleSwiperTouchStart: function handleSwiperTouchStart(e) {
var onTouchStart = this.props.onTouchStart;
if (typeof onTouchStart === "function") {
onTouchStart(e);
}
},
handleSwiperTransition: function handleSwiperTransition(e) {
var onTransition = this.props.onTransition;
if (typeof onTransition === "function") {
onTransition(e);
}
},
appearLeft: function appearLeft() {

@@ -249,0 +255,0 @@ this.setData({

@@ -17,2 +17,3 @@

*/
index?: number;

@@ -22,15 +23,9 @@ /**

*/
onChange?: (index: number) => void;
/**
* @description swiperable 为 true 时,swiper 中 swiper-item 的位置发生改变时会触发 transition 事件。
* @description 是否有过渡动画
* @default false
*/
onTransition?: (e:any) => void;
/**
* @description swiperable 为 true 时,滑动 TabItem 会触发 onTouchStart 事件。
*/
onTouchStart?: (e:any) => void;
/**
* @description 是否有过渡动画
* @default false
*/
animation?: boolean;

@@ -42,2 +37,3 @@ /**

swipeable?: boolean;
/**

@@ -44,0 +40,0 @@ * @description 是否支持吸顶

@@ -7,3 +7,5 @@ export const TabsDefaultProps = {

sticky: false,
stickyTop: 0,
fallback:false,
onGetRef: () => {},
};
{
"name": "antd-mini-rpx",
"version": "0.0.3-beta.7",
"version": "0.0.3-beta.8",
"scripts": {

@@ -15,3 +15,3 @@ "dev": "minidev dev --less --typescript --no-source-map",

"changelog": "conventional-changelog -p angular -i CHANGELOG.md -s",
"prepublishOnly": "npm run build:component:rpx",
"prepublishOnly": "npm run build:component",
"test:less": "jest __tests__/less.spec.ts",

@@ -18,0 +18,0 @@ "test:markdown": "jest __tests__/markdowns.spec.ts",

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

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

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

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

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

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

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

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

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

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

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

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

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

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