New Case Study:See how Anthropic automated 95% of dependency reviews with Socket.Learn More
Socket
Sign inDemoInstall
Socket

vue-wiguet-chatweb

Package Overview
Dependencies
Maintainers
0
Versions
76
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

vue-wiguet-chatweb

Paquete para el uso de CHAT CENTRAL mediante un widget chat,

0.1.40
npm
Version published
Weekly downloads
31
-73.28%
Maintainers
0
Weekly downloads
 
Created
Source

Descripcion

Paquete para el uso de CHAT CENTRAL mediante un widget chat,

Instalacion

Instalacion del paquete

npm i vue-wiguet-chatweb

Variables de Entorno

VITE_BACKEND_URL=https://...
VITE_SOCKET_URI=http://...
VITE_CELLPHONE_NUMBERS=591...

configuracion de variables de Entorno


import widgetChatCentral from 'vue-wiguet-chatweb'

const app = createApp(App);

app.use(widgetChatCentral, {
  VITE_BACKEND_URL: import.meta.env.VITE_BACKEND_URL,
  VITE_SOCKET_URI: import.meta.env.VITE_SOCKET_URI,
  VITE_CELLPHONE_NUMBERS: import.meta.env.VITE_CELLPHONE_NUMBERS,
});

app.mount('#app');

phoneUser: Registrado en RRHH

tokenAuth: Auth MS-Seguridad V2

Instalacion y Uso del Widget

Configuracion de Paquete en el componente


<template>
  <div>
    <Widget
      titlePrincipal="titlePrincipal"
      :tokenAuth="token"
      :phoneUser="phone"
      @show-confirm="(e:any) => {
        e()
      }"
      :user="{
        nombreCompleto: '',
        ci: '',
        msPersonaId: 12345,
      }"            
    />
  </div>
</template>


<script setup lang="ts">
  import Widget from './components/Widget.vue';
  const token = 'ciOi.....'
  const phone = '76177719'
</script>

<style scoped>
  @import url(/node_modules/vue-wiguet-chatweb/dist/style.css);
</style>

Keywords

vue

FAQs

Package last updated on 05 Mar 2025

Did you know?

Socket

Socket for GitHub automatically highlights issues in each pull request and monitors the health of all your open source dependencies. Discover the contents of your packages and block harmful activity before you install or update your dependencies.

Install

Related posts