open-index/open-npm huggingface dataset:
npm package: @rgbk/v3-contracts
Description: Ethereum asset management
Author: gab@rigoblock.com
Latest version: 2.4.0

# v3-contracts
Smart contracts of RigoBlock v3
=====================

[![npm version](https://badge.fury.io/js/@rgbk%2Fv3-contracts.svg)](https://badge.fury.io/js/@rgbk%2Fv3-contracts)
[![Build Status](https://github.com/rigoblock/v3-contracts/workflows/v3-contracts/badge.svg?branch=development)](https://github.com/rigoblock/v3-contracts/actions)
[![Codecov Status](https://codecov.io/gh/RigoBlock/v3-contracts/graph/badge.svg?token=6W6HWC1DZP)](https://codecov.io/gh/RigoBlock/v3-contracts)


Usage
-----
### Install requirements with yarn:

```bash
yarn
```

### Run all tests:

```bash
yarn build
yarn test
```

### storage upgrades
New storage variables in the implementation must be added to a dedicated storage to prevent storage collision.

### Commit format:
PR must follow "Conventional Commits spec". PR title is checked upon opening. Examples for valid PR titles:

- ```fix:``` Correct typo. (patch)
- ```feat:``` Add support for ... (minor)
- ```feat!:``` Drop support for ... (major)

 Other PR titles are also valid:

- ```build:```,```chore:```,```ci:```,```docs:```,```style:```,```refactor:```,```perf:```,```test:```

### License
All smart contracts are released under Apache-2.0
npm package: @rgbvision/nativescript-indexed-repeater
Description: Adds the ability to get the index of an item for a Repeater UI component
Author: RGBvision
Latest version: 1.0.1

# @rgbvision/nativescript-indexed-repeater

Adds the ability to get the index of an item for a Repeater UI component.

Can be used in `itemTemplateSelector` or in item's event handler.

## Installation
```javascript
ns plugin add @rgbvision/nativescript-indexed-repeater
```

## Usage

XML:
```xml
<ir:IndexedRepeater items="{{ items }}">
  <ir:IndexedRepeater.itemsLayout>
    <StackLayout orientation="vertical"/>
  </ir:IndexedRepeater.itemsLayout>
  <ir:IndexedRepeater.itemTemplate>
    <Label text="{{ title }}" margin="10" tap="onItemTap"/>
  </ir:IndexedRepeater.itemTemplate>
</ir:IndexedRepeater>
```

Make sure you include `xmlns:ir="@rgbvision/nativescript-indexed-repeater"` on the Page element

TypeScript:
```typescript
export function onItemTap(event: ItemEventData) {
  const itemData = event.view.bindingContext;
  console.log(`Item index: ${itemData.index}`);
}
```

## Warning

Plugin overrides `bindingContext.index` value.