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

@bpui/picker

Package Overview
Dependencies
Maintainers
2
Versions
76
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

@bpui/picker - npm Package Compare versions

Comparing version 1.1.0 to 1.1.2

2

dist/index.common.min.js
/*!
* bpui picker v1.1.0
* bpui picker v1.1.2
* Copyright (c) 2021 Copyright bpoint.lee@live.com All Rights Reserved.

@@ -4,0 +4,0 @@ * Released under the MIT License.

/*!
* bpui picker v1.1.0
* bpui picker v1.1.2
* Copyright (c) 2021 Copyright bpoint.lee@live.com All Rights Reserved.

@@ -4,0 +4,0 @@ * Released under the MIT License.

/*!
* bpui picker v1.1.0
* bpui picker v1.1.2
* Copyright (c) 2021 Copyright bpoint.lee@live.com All Rights Reserved.

@@ -4,0 +4,0 @@ * Released under the MIT License.

{
"description": "picker",
"dependencies": {
"@bpui/dialog": "^1.1.1"
"@bpui/dialog": "^1.1.2"
},

@@ -37,3 +37,3 @@ "directories": {},

"name": "@bpui/picker",
"version": "1.1.0"
"version": "1.1.2"
}

@@ -15,4 +15,33 @@ /// <reference types="@bpui/dialog" />

interface Picker extends Widget {
/**
* @desc 强制按手机样式显示.
*
* default: false
*/
forcePhoneStyle: boolean | 'false' | 'true';
/**
* @desc toolbar 的位置.
*/
toolbarPos: 'top' | 'bottom';
/**
* @desc: 取消按钮文本.
*/
cancelBtnText: string;
/**
* @desc: 确认按钮文本
*/
confirmBtnText: string;
/**
* @desc: 数据源.
*/
datasource: bp.PickerDataSource | Array<PickerDataSourceData2>;
/**
* @desc: 当前值.
*/
value: string | number | Array<any>;
/**
* @desc: 设置指定组界面上的当前选中值 (不等同于当前的value, 只是界面上的选择).

@@ -19,0 +48,0 @@ * @param groupIndex: 组索引.

@@ -14,2 +14,3 @@ /// <reference path="./IPicker.d.ts" />

type PickerDataSourceData = Array<{label:string, value:PickerDataSourceValue}>;
type PickerDataSourceData2 = {label:string, value:PickerDataSourceValue, children?:PickerDataSourceData2[]};

@@ -16,0 +17,0 @@ /**

Sorry, the diff of this file is too big to display

Sorry, the diff of this file is too big to display

Sorry, the diff of this file is too big to display

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