open-index/open-npm huggingface dataset:
npm package: @global66/card-texts
Description: This is a repository for maintaining the texts used in Card modules. Text content changes according to the country.
Author: Global66
Latest version: 1.0.9

# Global66 - Card Texts

This is a repository for maintaining the texts used in Card modules.
Text content changes according to the country.

Actually countries supported are:

```text
- PE (Peru)
- CL (Chile)
- CO (Colombia)
- AR (Argentina)
```

## Installation

```bash
yarn add @global66/card-texts
```

or

```bash
npm install @global66/card-texts
```

## Usage

### Type Card texts 

Options: ```Prepago``` or ```Débito```

```js
    import {transformTypeCardText} from '@global66/card-texts'

    const text = transformTypeCardText({
      alphaCode: 'PE' | 'CL' | 'CO',
      startUpperCase: true | false,
    })
```

### PinPass Card texts

Options: 
```text
- PinPass (Chile)
- Clave de Tarjeta (Peru)
- Clave de Tarjeta (Colombia)
```
and variants

```js
    import {transformPinpassText} from '@global66/card-texts'

    const text = transformPinpassText({
      alphaCode: 'PE' | 'CL' | 'CO',
      type: 'article' | 'enterAgain' | 'general' | 'newCode' | 'startUpperCase',
    })
```

### Lock Card texts

Options: 
```text
- Bloquear | Desbloquear Tarjeta (Chile)
- Bloquear | Desbloquear Tarjeta (Peru)
- Congelar | Descongelar Tarjeta (Colombia)
```
and variants

```js
    import {transformLockText} from '@global66/card-texts'

    const text = transformLockText({
      alphaCode: 'PE' | 'CL' | 'CO',
      type: 'positive' | 'negative' | 'positiveLoading' | 'negativeLoading' | 'positiveSuccess' | 'negativeSuccess' | 'positiveAction' | 'negativeAction',
      startUpperCase: true | false,
    })
```

### Delete Card texts

Options
```text
- Eliminar Tarjeta (Chile)
- Eliminar Tarjeta (Peru)
- Cancelar Tarjeta (Colombia)
```
and variants

```js
    import {transformDeleteText} from '@global66/card-texts'

    const text = transformDeleteText({
      alphaCode: 'PE' | 'CL' | 'CO',
      type: 'general' | 'processing' | 'future' | 'loading' | 'success' | 'actionButtonLabel',
      startUpperCase: true | false,
    })
```