rio-assist-widget 0.1.2 → 0.1.4
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/README.md +4 -4
- package/dist/rio-assist.js +1213 -1087
- package/index.html +5 -4
- package/package.json +3 -3
- package/src/components/conversations-panel/conversations-panel.styles.ts +52 -1
- package/src/components/conversations-panel/conversations-panel.template.ts +34 -0
- package/src/components/fullscreen/fullscreen.styles.ts +32 -1
- package/src/components/fullscreen/fullscreen.template.ts +25 -1
- package/src/components/mini-panel/mini-panel.styles.ts +8 -4
- package/src/components/mini-panel/mini-panel.template.ts +2 -2
- package/src/components/rio-assist/rio-assist.ts +502 -381
- package/src/main.ts +72 -70
- package/src/playground.ts +22 -21
- package/src/services/rioWebsocket.ts +167 -167
package/README.md
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
|
-
#
|
|
1
|
+
# Rio Insight Widget
|
|
2
2
|
|
|
3
|
-
Widget lateral do
|
|
3
|
+
Widget lateral do Rio Insight embalado como Web Component. Ao receber o token de login do RIO ele abre um websocket direto para `wss://ws.volkswagen.latam-sandbox.rio.cloud?token={TOKEN}` e envia o payload
|
|
4
4
|
|
|
5
5
|
```json
|
|
6
6
|
{
|
|
@@ -21,8 +21,8 @@ Widget lateral do RIO Assist embalado como Web Component. Ao receber o token de
|
|
|
21
21
|
<script>
|
|
22
22
|
window.RioAssist.init({
|
|
23
23
|
rioToken: '<TOKEN_RIO>',
|
|
24
|
-
title: '
|
|
25
|
-
buttonLabel: '
|
|
24
|
+
title: 'Rio Insight',
|
|
25
|
+
buttonLabel: 'Rio Insight',
|
|
26
26
|
suggestions: [
|
|
27
27
|
'Veiculos com problemas',
|
|
28
28
|
'Valor das pecas',
|