fge-auth-component 0.3.7 → 0.4.0
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 +21 -22
- package/dist/fge-auth-component.css +1 -1
- package/dist/fge-auth-component.es.js +861 -848
- package/dist/fge-auth-component.umd.js +18 -18
- package/package.json +1 -1
package/README.md
CHANGED
|
@@ -35,47 +35,46 @@ import '../node_modules/fge-auth-component/dist/fge-auth-component.css';
|
|
|
35
35
|
...
|
|
36
36
|
|
|
37
37
|
app.use(FgeAuthPlugin, {
|
|
38
|
-
usePrimeDirectives?: boolean;
|
|
39
|
-
usePrimeServices?: boolean;
|
|
40
|
-
usePrimeVueLocale?: boolean;
|
|
41
|
-
useYupLocale?: boolean;
|
|
38
|
+
usePrimeDirectives?: boolean; //true
|
|
39
|
+
usePrimeServices?: boolean; //false
|
|
40
|
+
usePrimeVueLocale?: boolean; //false
|
|
41
|
+
useYupLocale?: boolean; //false
|
|
42
42
|
baseUrl: string; -> URL BASE DE LOS SERVICIOS DE SEGURIDAD - https://url
|
|
43
43
|
aplicacion: string; -> Identificador de la aplicacion
|
|
44
44
|
rrhhUrl: string; -> url de rrhh de donde salen las fotos https://url/api
|
|
45
45
|
redirectLoginFunction: Function; -> Funcion que redirecciona al hacer login
|
|
46
46
|
redirectLogoutFunction: Function; -> Funcion que redirecciona al hacer logout
|
|
47
|
+
API_SERVER_REDIRECT: string, -> URL DE REDIRECCION DE CIUDADANIA DIGITAL
|
|
47
48
|
}
|
|
48
49
|
);
|
|
49
50
|
|
|
50
51
|
```
|
|
51
52
|
|
|
52
|
-
## Publicar en npm
|
|
53
|
-
|
|
54
|
-
- Cambiar version
|
|
55
|
-
|
|
56
|
-
- npm run build
|
|
57
|
-
|
|
58
|
-
- npm login
|
|
59
|
-
|
|
60
|
-
- npm publish
|
|
61
|
-
|
|
62
53
|
## Componentes
|
|
63
54
|
|
|
64
55
|
FgeLoginComponent
|
|
65
56
|
FgeAuthMenuComponent
|
|
66
|
-
FgePerfilSidebar
|
|
67
57
|
|
|
68
58
|
- FgeLoginComponent
|
|
59
|
+
Añadir el componente dentro de una página en blanco.
|
|
69
60
|
|
|
70
61
|
```
|
|
71
|
-
<FgeLoginComponent
|
|
72
|
-
</FgeLoginComponent>
|
|
62
|
+
<FgeLoginComponent />
|
|
73
63
|
```
|
|
74
64
|
|
|
75
|
-
|
|
76
|
-
|
|
77
|
-
|
|
78
|
-
|
|
79
|
-
</FgePerfilSidebar>
|
|
65
|
+
- FgeAuthMenuComponent
|
|
66
|
+
Menu que contiene la información del usuario logeado y los botones de ver perfil y cerrar sesión.
|
|
67
|
+
<FgeAuthMenuComponent />
|
|
68
|
+
|
|
80
69
|
```
|
|
70
|
+
|
|
71
|
+
## Publicar en npm
|
|
72
|
+
|
|
73
|
+
- Cambiar version
|
|
74
|
+
|
|
75
|
+
- npm run build
|
|
76
|
+
|
|
77
|
+
- npm login
|
|
78
|
+
|
|
79
|
+
- npm publish
|
|
81
80
|
```
|