Fieldeas Dashboard Comunication API
* funciones
* checkVCA(timeout) ⏏
* getter(value, data, timeout) ⏏
* dispatch(value, data, timeout) ⏏
* goHome(timeout) ⏏
* changeApp(value, data, timeout) ⏏
* storeInCache(value, data, timeout) ⏏
* getFromCache(value, timeout) ⏏
* getCache(timeout) ⏏
* storeInFSCache(value, data, timeout) ⏏
* getFromFSCache(value, timeout) ⏏
* getFSCache(timeout) ⏏
* isFSCacheLoaded(timeout) ⏏
* getTheme(timeout) ⏏
* getAssets(timeout) ⏏
* setSpinner(value, data, timeout) ⏏
* setSnackbar(value, data, timeout) ⏏
* msgToDialog1() ⏏
* msgToVFS() ⏏
* openLogin() ⏏
* closeLogin() ⏏
* textLogin() ⏏
* checkSession() ⏏
* confirm(data) ⏏
* ~~sendMessage(key, value, data, timeout) ⏏~~
Kind: Exported function
| Param | Type | Description |
| --- | --- | --- |
| timeout | Number | Tiempo de espera de la solicitud. |
Kind: Exported function
| Param | Type | Description |
| --- | --- | --- |
| value | String | Valor de la store que queremos. |
| data | \* | Si el getter se obtiene en base a otro valor, se debe completar este campo. |
| timeout | Number | Tiempo de espera de la solicitud. |
Kind: Exported function
| Param | Type | Description |
| --- | --- | --- |
| value | String | Valor del dispatch al que vamos a llamar. |
| data | \* | Si el dispatch tiene parámetros, se debe completar este campo. |
| timeout | Number | Tiempo de espera de la solicitud. |
Kind: Exported function
| Param | Type | Description |
| --- | --- | --- |
| timeout | Number | Tiempo de espera de la solicitud. |
Kind: Exported function
| Param | Type | Description |
| --- | --- | --- |
| value | String | Alias de la aplicación a la que queremos ir. |
| data | String | Ruta específica de la app a la que vamos (sin '/' inicial). |
| timeout | Number | Tiempo de espera de la solicitud. |
Kind: Exported function
| Param | Type | Description |
| --- | --- | --- |
| value | String | Nombre del dato a guardar. |
| data | \* | Dato a guardar. |
| timeout | Number | Tiempo de espera de la solicitud. |
Kind: Exported function
| Param | Type | Description |
| --- | --- | --- |
| value | String | Clave a obtener de la cache del VCA. |
| timeout | Number | Tiempo de espera de la solicitud. |
Kind: Exported function
| Param | Type | Description |
| --- | --- | --- |
| timeout | Number | Tiempo de espera de la solicitud. |
Kind: Exported function
| Param | Type | Description |
| --- | --- | --- |
| value | String | Nombre del dato a guardar. |
| data | \* | Dato a guardar. |
| timeout | Number | Tiempo de espera de la solicitud. |
Kind: Exported function
| Param | Type | Description |
| --- | --- | --- |
| value | String | Clave a obtener de la cache de FS del VCA. |
| timeout | Number | Tiempo de espera de la solicitud. |
Kind: Exported function
| Param | Type | Description |
| --- | --- | --- |
| timeout | Number | Tiempo de espera de la solicitud. |
Kind: Exported function
| Param | Type | Description |
| --- | --- | --- |
| timeout | Number | Tiempo de espera de la solicitud. |
Kind: Exported function
| Param | Type | Description |
| --- | --- | --- |
| timeout | Number | Tiempo de espera de la solicitud. |
Kind: Exported function
| Param | Type | Description |
| --- | --- | --- |
| timeout | Number | Tiempo de espera de la solicitud. |
Kind: Exported function
| Param | Type | Description |
| --- | --- | --- |
| value | Boolean | Activar o desactivar el spinner (si solo cambiamos el texto mandar null). |
| data | String | Texto para el spinner. |
| timeout | Number | Tiempo de espera de la solicitud. |
Kind: Exported function
| Param | Type | Description |
| --- | --- | --- |
| value | String | Texto del snackbar. |
| data | Object | Objeto con las propiedades opcionales de la snackbar. |
| data.color | String | Color hexadecimal o definido en las variables de vuetify. |
| data.close | Boolean | Mostrar o no el botón para cerrar. |
| data.timeout | Number | Tiempo para el cierre automático de la snackbar. |
| timeout | Number | Tiempo de espera de la solicitud. |
Kind: Exported function
| Param | Type | Description |
| --- | --- | --- |
| data | Object | Dato a guardar. se permite la introducción de los siguientes campos (todos opcionales) data: { title: "título", text: "mensaje", color: "primary", width: 290, zIndex: 200, okText: null, cancelText: null, cancelButton: true extraButtons: [], } |
Kind: Exported function
| Param | Type | Description |
| --- | --- | --- |
| key | \* | Clave del metodo a ejecutar. |
| value | \* | Valor del metodo. |
| data | \* | Datos adicionales. |
| timeout | \* | Tiempo de espera de la solicitud. |
* callbacks
* setOnThemeChange(fn) ⏏
* setOnMsgFromDialog1(fn) ⏏
* setOnMsgFromVFS(fn) ⏏
Kind: Exported function
| Param | Type | Description |
| --- | --- | --- |
| fn | function | Función para ejecutar con un parametro de entrada |
Kind: Exported function
| Param | Type | Description |
| --- | --- | --- |
| fn | function | Función para ejecutar con un parametro de entrada |
Kind: Exported function
| Param | Type | Description |
| --- | --- | --- |
| fn | function | Función para ejecutar con un parametro de entrada |
*
© 2019 Fieldeas.