# @beisen-platform/platform-textbox-range

> 平台 TextboxRange组件，绑定平台元数据

Latest version **1.1.7** (published 2019-08-07) · ISC license · 0 weekly downloads

## Install

```sh
npm install @beisen-platform/platform-textbox-range
pnpm add @beisen-platform/platform-textbox-range
yarn add @beisen-platform/platform-textbox-range
bun add @beisen-platform/platform-textbox-range
```

## Health

**Score 15/100 (F)** — status: abandoned.

Positive: no vulnerabilities.

Warnings: low downloads; no types; no esm support.

Negative: abandoned; low maintenance score.

## Facts

| | |
|---|---|
| Version | 1.1.7 |
| Published | 2019-08-07 |
| First published | 2018-12-02 |
| Weekly downloads | 0 |
| License | ISC |
| TypeScript types | none |
| Module format | CommonJS |
| Dependencies | 1 |
| Unpacked size | 101.3 KB |
| Known vulnerabilities | 0 |
| Install scripts | no |
| Author | beisen |
| Maintainers | beisencorp |
| Keywords | beisen, react-component, es6 |

## Links

- npm: https://www.npmjs.com/package/@beisen-platform/platform-textbox-range
- npm.io page: https://npm.io/package/@beisen-platform/platform-textbox-range

## Dependencies (1)

- [@beisen-platform/react-icons](https://npm.io/package/@beisen-platform/react-icons.md)

## Recent versions

- 1.1.7 (latest) — 2019-08-07
- 1.1.6 — 2019-07-11
- 1.1.5 — 2019-07-10
- 1.1.4-rc.3 — 2019-07-08
- 1.1.4-rc.2 — 2019-07-08
- 1.1.4-rc.1 — 2019-04-29
- 1.1.4 — 2019-04-17
- 1.1.3 — 2019-04-17
- 1.1.1 — 2019-04-10
- 1.1.0 — 2019-04-08
- 1.0.5 — 2019-03-25
- 1.0.2 — 2019-01-15
- 1.0.1 — 2019-01-15
- 1.0.0 — 2018-12-06
- 0.1.13 — 2018-12-02

## README

## 组件使用、扩展文档

## 提交


1. 修改package.json中的devDependencies里依赖版本， @beisen/gulp-lib -> 0.1.1; @beisen/storybook-lib -> 0.3.0
2. npm install
3. 修改代码后执行 npm run lib进行编译
4. 更新package.json中的 version版本号
5. push代码
6. 在cmp.beisen.io站点，头部导航的《服务》中查看编译是否通过

## 使用参数

```
{
  text: this.props.text || '',
  value: this.props.value || '',
  "cmp_id": "c569ca1e-e58b-4a54-8a82-274ebc654162",
  "cmp_name": "xiaoshu7",
  "cmp_type": "BC_TextBoxRange",
  "cmp_label": "小数（百分数）dev",
  "cmp_data": {
      "title": "小数（百分数）dev",
      "field_name": "BeisenCloudDemo.searchshengji.xiaoshu7",
      "required": false,
      "cmp_state": "create",
      "cmp_status": "editable",
      "editdisplaystate": "editable",
      "createdisplaystate": "editable",
      "showdisplaystate": "readonly",
      formatType: "percentageSymbol",
      "datasourcename": "BCStaffDataSource",
      "IsShowHeadPic": true,
      "dataType": "Text",
      "icon_name": ""
      "precision": 5  //多余的小位数
      "totalLength": "15"  //整个数据最大长度
  },
  "search_data": {
    metaFieldRelationIDPath: null,
    metaobjectname: "BeisenCloudDemo.searchshengji",
    opeartor: "range",
    seperator: "-"
  },
  "biz_data": { "text": "" },
  "validators": {},
  styleTitle: 'rightFlush',        // "upAndDown" , "rightFlush",  "leftFlush", label的位置上下还是左右
  onChange: (fullDate, event) => {}  //回调事件
}
```

## 组件使用

1. npm install @beisen-cmps/platform-textbox-range
2. import PlatFormTextBoxRange from '@beisen-cmps/platform-textbox-range'

```
render() {
  return <PlatFormTextBoxRange {...this.props}/>;
}
```

---
_Source: https://npm.io/package/@beisen-platform/platform-textbox-range · Machine-readable twin of the npm.io package page. Health data is recomputed on every publish._
