open-index/open-npm huggingface dataset:
npm package: @leapcloud/taro-ui
Description: UI KIT for Taro
Author: O2Team
Latest version: 1.5.1-leap.4

# Taro UI

[![NPM][npm-version-image]][npm-version-url] [![david-dm][david-dm-image]][david-dm-url]

一款基于 `Taro` 框架开发的多端 UI 组件库

## 特性

- 基于 `Taro` 开发 UI 组件
- 一套组件可以在 `微信小程序`，`H5`，`ReactNative` 等多端适配运行
- 提供友好的 API，可灵活的使用组件

## 关于 Taro

Taro 是由 [凹凸实验室](https://aotu.io) 倾力打造的多端开发解决方案。现如今市面上端的形态多种多样，Web、ReactNative、微信小程序等各种端大行其道，当业务要求同时在不同的端都要求有所表现的时候，针对不同的端去编写多套代码的成本显然非常高，这时候只编写一套代码就能够适配到多端的能力就显得极为需要。

使用 Taro，我们可以只书写一套代码，再通过 Taro 的编译工具，将源代码分别编译出可以在不同端（微信小程序、H5、RN等）运行的代码。

## 体验

请使用微信扫一扫以下体验码

![QRCode](https://user-images.githubusercontent.com/1240899/46650700-25a4e600-cbd0-11e8-90ff-905edb39c340.jpg)

## 相关链接

- [Taro UI 使用文档](https://taro-ui.aotu.io)
- [Taro UI 官方示例](https://github.com/NervJS/taro-ui-demo)
- [Taro](https://taro.aotu.io/)

## 安装

需要安装 `Taro` 开发工具 `@tarojs/cli`，`Taro` 版本需要在 `1.0.0-beta.18` 以上

```bash
npm install -g @tarojs/cli
```

然后在项目中安装 Taro UI

```bash
npm install taro-ui
```

## 使用

在代码中 `import` 需要的组件并按照文档说明使用

```js
import { AtButton } from 'taro-ui'
```

## 开发交流

[官方微信交流群](https://github.com/NervJS/taro-ui/issues/16)

## 开发计划

[开发计划](./PLANS.md)

## 贡献

如果你在使用 `Taro UI` 时遇到问题，或者有好的建议，欢迎给我们提 `Issue` 或 `Pull Request`。在开始之前，请阅读 [贡献指南](https://github.com/NervJS/taro-ui/blob/master/.github/CONTRIBUTING.md)

## License

MIT


[npm-version-image]: https://img.shields.io/npm/v/taro-ui.svg?style=flat-square
[npm-version-url]: https://www.npmjs.com/package/taro-ui
[david-dm-image]: https://david-dm.org/NervJS/taro-ui.svg?style=flat-square
[david-dm-url]: https://david-dm.org/NervJS/taro-ui
npm package: @leapcloud_mapp/mapp-shared
Description: mapp shared
Latest version: 0.10.0-uat.46

# mapp-shared

mapp-shared

### 编译

```
npm run build
```

### 发布

```bash
# uat
git checkout ci_uat
npm run pub:uat

# prod
git checkout ci_prod
npm run pub:prod
```
npm package: @leapdao/split-tx
Description: Lightweight (1.2Kb zipped) CLI to encode/decode `splitERC20` call of [PaymentSplitter contract](https://github.com/leapdao/leap-contracts/blob/master/contracts/misc/PaymentSplitter.sol).
Author: Kosta Korenkov
Latest version: 1.0.1

# Splitter contract message data encoder/decoder

Lightweight (1.2Kb zipped) CLI to encode/decode `splitERC20` call of [PaymentSplitter contract](https://github.com/leapdao/leap-contracts/blob/master/contracts/misc/PaymentSplitter.sol).

## Usage

### Decode

```sh
npx @leapdao/split-tx decode <message data>
```

### Encode

```sh
npx @leapdao/split-tx encode <address 1> <value 1> [<address 2> <value 2> ...] [<token address>]
```

#### DAI split (default)

Example:

```sh

 $ npx @leapdao/split-tx encode 0x0b03dd1c2D88c9Af8caF287c3063776B7d07D441 100 0x33f9Cd1cCC15211B3468ff52b2052b5f7D6C5D86 200 0x0e9cc8982a24472364F74E9290D337d1C62D9E63 125.5
```

Output:

```
Token to split: 0x6b175474e89094c44da98b954eedeac495271d0f
split:
	100.0 → 0x0b03dd1c2D88c9Af8caF287c3063776B7d07D441
	200.0 → 0x33f9Cd1cCC15211B3468ff52b2052b5f7D6C5D86
	125.5 → 0x0e9cc8982a24472364F74E9290D337d1C62D9E63

Total: 425.5

Message data for splitERC20 call:
0x5669312a000000000000000000000000000000000000000000000000000000000000006000000000000000000000000000000000000000000000000000000000000000e00000000000000000000000006b175474e89094c44da98b954eedeac495271d0f00000000000000000000000000000000000000000000000000000000000000030000000000000000000000000b03dd1c2d88c9af8caf287c3063776b7d07d44100000000000000000000000033f9cd1ccc15211b3468ff52b2052b5f7d6c5d860000000000000000000000000e9cc8982a24472364f74e9290d337d1c62d9e6300000000000000000000000000000000000000000000000000000000000000030000000000000000000000000000000000000000000000056bc75e2d6310000000000000000000000000000000000000000000000000000ad78ebc5ac6200000000000000000000000000000000000000000000000000006cda991128f860000
```

#### Custom token split

```sh
$ npx @leapdao/split-tx encode 0x0b03dd1c2D88c9Af8caF287c3063776B7d07D441 100 0x33f9Cd1cCC15211B3468ff52b2052b5f7D6C5D86 200 0x0e9cc8982a24472364F74E9290D337d1C62D9E63 125.5 0x78230e69d6e6449db1e11904e0bd81c018454d7a
```

Output:

```
Token to split: 0x78230e69d6e6449db1e11904e0bd81c018454d7a
split:
	100.0 → 0x0b03dd1c2D88c9Af8caF287c3063776B7d07D441
	200.0 → 0x33f9Cd1cCC15211B3468ff52b2052b5f7D6C5D86
	125.5 → 0x0e9cc8982a24472364F74E9290D337d1C62D9E63

Total: 425.5

Message data for splitERC20 call:
0x5669312a000000000000000000000000000000000000000000000000000000000000006000000000000000000000000000000000000000000000000000000000000000e000000000000000000000000078230e69d6e6449db1e11904e0bd81c018454d7a00000000000000000000000000000000000000000000000000000000000000030000000000000000000000000b03dd1c2d88c9af8caf287c3063776b7d07d44100000000000000000000000033f9cd1ccc15211b3468ff52b2052b5f7d6c5d860000000000000000000000000e9cc8982a24472364f74e9290d337d1c62d9e6300000000000000000000000000000000000000000000000000000000000000030000000000000000000000000000000000000000000000056bc75e2d6310000000000000000000000000000000000000000000000000000ad78ebc5ac6200000000000000000000000000000000000000000000000000006cda991128f860000
```