open-index/open-npm huggingface dataset:
npm package: @signainfo/sconfirmationdialog
Description: ### Installation
Latest version: 0.2.0

# SConfirmationDialog component

### Installation

```sh
npm i --save @signainfo/sconfirmationdialog
```

### Usage

It can be installed globally using:

```js
import Vue from 'vue'
import SConfirmationDialog from '@signainfo/sconfirmationdialog'
import '@signainfo/sconfirmationdialog/dist/sconfirmationdialog.css'
...

Vue.use(SConfirmationDialog)

...
```

or used on demand:

```js
<script>
import SConfirmationDialog from '@signainfo/sconfirmationdialog'
export default {
  name: 'App',
  components: {
    's-confirmation-dialog': SConfirmationDialog
  },
  data() {
    ...
  }
}
</script>
```

and use inside the template tag:

```html
<template>
  ...
  <s-confirmation-dialog
    :show="confirmDialog"
    title="Titulo"
    subtitle="Subititulo"
    ok-text="confirm"
    cancel-text="cancel"
    :max-width="500"
    @confirm="confirmDialog = false"
    @cancel="confirmDialog = false"
  ></s-confirmation-dialog>
  ...
</template>
```

Props:

```js
props: {
    show: { type: Boolean, required: true, default: false },
    title: { type: String, required: false, default: 'Confirmar' },
    subtitle: { type: String, required: true, default: '' },
    okText: { type: String, required: false, default: 'Confirmar' },
    cancelText: { type: String, required: false, default: 'Cancelar' },
    maxWidth: { type: Number, required: false, default: 290 }
}
```

### Development

```sh
npm start // start the test app
npm run build // builds the component and publish to npm
```

Before building the component you need to advance the version using npm semver:

```sh
npm version patch // to patch version
npm version minor // to minor version
npm version major // to major version
```
npm package: @signainfo/sloading
Description: ### Installation
Latest version: 0.5.0

# SLoading component

### Installation

```sh
npm i --save @signainfo/sloading
```

### Usage

It can be installed globally using:

```js
import Vue from 'vue'
import SLoading from '@signainfo/sloading'
import '@signainfo/sloading/dist/sloading.css'
...

Vue.use(SLoading)

...
```

or used on demand:

```js
<script>
import SLoading from '@signainfo/sloading'
export default {
  name: 'App',
  components: {
    's-loading': SLoading
  },
  data() {
    ...
  }
}
</script>
```

and use inside the template tag:

```html
<template>
  ...
  <s-loading v-if="loading.show" :show="loading.show" :message="loading.message" />
  ...
</template>
```

Props:

```js
props: {
    show: {
      type: Boolean,
      required: true,
      default: false
    },
    message: {
      type: String,
      required: true,
      default: ''
    }
}
```

### Development

```sh
npm start // start the test app
npm run build // builds the component and publish to npm
```

Before building the component you need to advance the version using npm semver:

```sh
npm version patch // to patch version
npm version minor // to minor version
npm version major // to major version
```
npm package: @signainfo/stoast
Description: ### Installation
Latest version: 0.6.0

# SToast component

### Installation

```sh
npm i --save @signainfo/stoast
```

### Usage

It can be installed globally using:

```js
import Vue from 'vue'
import SToast from '@signainfo/stoast'
import '@signainfo/stoast/dist/stoast.css'
...

Vue.use(SToast)

...
```

or used on demand:

```js
<script>
import SToast from '@signainfo/stoast'
export default {
  name: 'App',
  components: {
    's-toast': SToast
  },
  data() {
    ...
  }
}
</script>
```

and use inside the template tag:

```html
<template>
  ...
  <s-toast v-model="toast.show" :color="toast.color" :message="toast.message" :time="toast.time" />
  ...
</template>
```

Props:

```js
props: {
    value: {
      type: Boolean,
      required: true,
      default: ''
    },
    message: {
      type: String,
      required: true,
      default: ''
    },
    color: {
      type: String,
      required: false,
      default: 'success'
    },
    time: {
      type: Number,
      required: false,
      default: 2000
    }
}
```

### Development

```sh
npm start // start the test app
npm run build // builds the component and publish to npm
```

Before building the component you need to advance the version using npm semver:

```sh
npm version patch // to patch version
npm version minor // to minor version
npm version major // to major version
```