fge-auth-component 0.0.2 → 0.0.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.
Files changed (29) hide show
  1. package/README.md +23 -19
  2. package/dist/components/FgeHeader.vue.d.ts +2 -2
  3. package/dist/components/FgeHeader.vue.d.ts.map +1 -1
  4. package/dist/components/svgIcons/CameraIcon.vue.d.ts +1 -9
  5. package/dist/components/svgIcons/DefaultUserIcon.vue.d.ts +2 -2
  6. package/dist/components/svgIcons/DefaultUserIcon.vue.d.ts.map +1 -1
  7. package/dist/components/svgIcons/EmailIcon.vue.d.ts +14 -0
  8. package/dist/components/svgIcons/EmailIcon.vue.d.ts.map +1 -0
  9. package/dist/components/svgIcons/ErrorIcon.vue.d.ts +2 -0
  10. package/dist/components/svgIcons/ErrorIcon.vue.d.ts.map +1 -0
  11. package/dist/components/svgIcons/EscudoIcon.vue.d.ts +2 -0
  12. package/dist/components/svgIcons/EscudoIcon.vue.d.ts.map +1 -0
  13. package/dist/components/svgIcons/ExclamationIcon.vue.d.ts +16 -0
  14. package/dist/components/svgIcons/ExclamationIcon.vue.d.ts.map +1 -0
  15. package/dist/components/svgIcons/TelegramIcon.vue.d.ts +14 -0
  16. package/dist/components/svgIcons/TelegramIcon.vue.d.ts.map +1 -0
  17. package/dist/components/svgIcons/WhatsappIcon.vue.d.ts +14 -0
  18. package/dist/components/svgIcons/WhatsappIcon.vue.d.ts.map +1 -0
  19. package/dist/fge-auth-component.css +1 -1
  20. package/dist/fge-auth-component.es.js +6787 -9903
  21. package/dist/fge-auth-component.umd.js +39 -46
  22. package/dist/outputs/main.d.ts +9 -4
  23. package/package.json +5 -14
  24. package/dist/fge-auth-component.cjs.js +0 -551
  25. package/dist/sweetalert2/dark.css +0 -1184
  26. package/dist/sweetalert2/dark.css.map +0 -1
  27. package/dist/sweetalert2/light.css +0 -1184
  28. package/dist/sweetalert2/light.css.map +0 -1
  29. package/dist/vite.svg +0 -1
package/README.md CHANGED
@@ -13,6 +13,17 @@ setup docs](https://v3.vuejs.org/api/sfc-script-setup.html#sfc-script-setup) to
13
13
 
14
14
  ```
15
15
  $ npm i fge-auth-component
16
+
17
+ Dependencias requeridas con sus respectivas versiones que fuuncionan en el componente:
18
+ "vee-validate": "^4.8.6",
19
+ "vue": "^3.2.47",
20
+ "yup": "^1.1.1"
21
+
22
+ El componente requiere la instalacion de primeicons para los iconos por defecto
23
+ import 'primeicons/primeicons.css';
24
+
25
+ El componente utiliza la fuente 'Acumin Pro', 'Acumin Pro Condensed' e 'Inter' que deben ser agregados en el proyecto que se utilizara para
26
+ el correcto visualizado
16
27
  ```
17
28
 
18
29
  2.- In main.ts file
@@ -22,27 +33,20 @@ import FgeAuthPlugin from 'fge-auth-component';
22
33
  import '../node_modules/fge-auth-component/dist/fge-auth-component.css';
23
34
 
24
35
  ...
25
- app.use(FgeAuthPlugin, {
26
- enablerPrimeServices: true,
27
- configYupLocale: true,
28
- });
29
36
 
30
37
  app.use(FgeAuthPlugin, {
31
- //Si su proyecto no usa los servicios de primevue true | false
32
- useServices: true,
33
- //Si su proyecto no usa las directivas de primevue true | false
34
- addDirectives: true,
35
- //Si su proyecto no usa los componentes de primevue true | false
36
- addPrimeVueComponents: true,
37
- });
38
-
39
- store.setConfigs({
40
- newBaseURL: props.apiBaseUrl,
41
- newAplicacion: props.aplicacion,
42
- newRrhhUrl: props.rrhhUrl,
43
- newRedirectLoginFunction: props.redirectLoginFunction,
44
- newRedirectLogoutFunction: props.redirectLogoutFunction
45
- });
38
+ usePrimeDirectives?: boolean;
39
+ usePrimeServices?: boolean;
40
+ usePrimeVueLocale?: boolean;
41
+ useYupLocale?: boolean;
42
+ baseUrl: string; -> URL BASE DE LOS SERVICIOS DE SEGURIDAD - https://url
43
+ aplicacion: string; -> Identificador de la aplicacion
44
+ rrhhUrl: string; -> url de rrhh de donde salen las fotos https://url/api
45
+ redirectLoginFunction: Function; -> Funcion que redirecciona al hacer login
46
+ redirectLogoutFunction: Function; -> Funcion que redirecciona al hacer logout
47
+ }
48
+ );
49
+
46
50
  ```
47
51
 
48
52
  ## Publicar en npm
@@ -1,2 +1,2 @@
1
- declare const _default: import("vue").DefineComponent<{}, {}, {}, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, {}, string, import("vue").VNodeProps & import("vue").AllowedComponentProps & import("vue").ComponentCustomProps, Readonly<import("vue").ExtractPropTypes<{}>>, {}>;
2
- export default _default;
1
+ declare const _sfc_main: import("vue").DefineComponent<{}, {}, {}, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, {}, string, import("vue").VNodeProps & import("vue").AllowedComponentProps & import("vue").ComponentCustomProps, Readonly<import("vue").ExtractPropTypes<{}>>, {}>;
2
+ export default _sfc_main;
@@ -1 +1 @@
1
- {"version":3,"file":"FgeHeader.vue.d.ts","sourceRoot":"","sources":["../../src/components/FgeHeader.vue"],"names":[],"mappings":"AAgBA,OAAO,6GAA6G,CAAA;;AAGpH,wBAA4G"}
1
+ {"version":3,"file":"FgeHeader.vue.d.ts","sourceRoot":"","sources":["../../src/components/FgeHeader.vue"],"names":[],"mappings":"AACA,cAAc,+FAA+F,CAAC;AAC9G,OAAO,6GAA6G,CAAC;;AAErH,wBAA0F"}
@@ -1,10 +1,2 @@
1
- declare const _sfc_main: import("vue").DefineComponent<{
2
- svgClass: {
3
- required: false;
4
- };
5
- }, {}, unknown, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, {}, string, import("vue").VNodeProps & import("vue").AllowedComponentProps & import("vue").ComponentCustomProps, Readonly<import("vue").ExtractPropTypes<{
6
- svgClass: {
7
- required: false;
8
- };
9
- }>>, {}>;
1
+ declare const _sfc_main: import("vue").DefineComponent<{}, {}, {}, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, {}, string, import("vue").VNodeProps & import("vue").AllowedComponentProps & import("vue").ComponentCustomProps, Readonly<import("vue").ExtractPropTypes<{}>>, {}>;
10
2
  export default _sfc_main;
@@ -1,2 +1,2 @@
1
- declare const _default: import("vue").DefineComponent<{}, {}, {}, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, {}, string, import("vue").VNodeProps & import("vue").AllowedComponentProps & import("vue").ComponentCustomProps, Readonly<import("vue").ExtractPropTypes<{}>>, {}>;
2
- export default _default;
1
+ declare const _sfc_main: import("vue").DefineComponent<{}, {}, {}, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, {}, string, import("vue").VNodeProps & import("vue").AllowedComponentProps & import("vue").ComponentCustomProps, Readonly<import("vue").ExtractPropTypes<{}>>, {}>;
2
+ export default _sfc_main;
@@ -1 +1 @@
1
- {"version":3,"file":"DefaultUserIcon.vue.d.ts","sourceRoot":"","sources":["../../../src/components/svgIcons/DefaultUserIcon.vue"],"names":[],"mappings":";AA+BA,wBAA4E"}
1
+ {"version":3,"file":"DefaultUserIcon.vue.d.ts","sourceRoot":"","sources":["../../../src/components/svgIcons/DefaultUserIcon.vue"],"names":[],"mappings":"AAAA,OAAO,SAAS,MAAM,8GAA8G,CAAC;AACrI,cAAc,8GAA8G,CAAC;AAC7H,eAAe,SAAS,CAAC"}
@@ -0,0 +1,14 @@
1
+ declare const _sfc_main: import("vue").DefineComponent<{
2
+ active: {
3
+ type: BooleanConstructor;
4
+ default: boolean;
5
+ };
6
+ }, {}, unknown, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, {}, string, import("vue").VNodeProps & import("vue").AllowedComponentProps & import("vue").ComponentCustomProps, Readonly<import("vue").ExtractPropTypes<{
7
+ active: {
8
+ type: BooleanConstructor;
9
+ default: boolean;
10
+ };
11
+ }>>, {
12
+ active: boolean;
13
+ }>;
14
+ export default _sfc_main;
@@ -0,0 +1 @@
1
+ {"version":3,"file":"EmailIcon.vue.d.ts","sourceRoot":"","sources":["../../../src/components/svgIcons/EmailIcon.vue"],"names":[],"mappings":"AAAA,OAAO,SAAS,MAAM,wGAAwG,CAAC;AAC/H,cAAc,wGAAwG,CAAC;AACvH,eAAe,SAAS,CAAC"}
@@ -0,0 +1,2 @@
1
+ declare const _sfc_main: import("vue").DefineComponent<{}, {}, {}, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, {}, string, import("vue").VNodeProps & import("vue").AllowedComponentProps & import("vue").ComponentCustomProps, Readonly<import("vue").ExtractPropTypes<{}>>, {}>;
2
+ export default _sfc_main;
@@ -0,0 +1 @@
1
+ {"version":3,"file":"ErrorIcon.vue.d.ts","sourceRoot":"","sources":["../../../src/components/svgIcons/ErrorIcon.vue"],"names":[],"mappings":"AAAA,OAAO,SAAS,MAAM,wGAAwG,CAAC;AAC/H,cAAc,wGAAwG,CAAC;AACvH,eAAe,SAAS,CAAC"}
@@ -0,0 +1,2 @@
1
+ declare const _sfc_main: import("vue").DefineComponent<{}, {}, {}, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, {}, string, import("vue").VNodeProps & import("vue").AllowedComponentProps & import("vue").ComponentCustomProps, Readonly<import("vue").ExtractPropTypes<{}>>, {}>;
2
+ export default _sfc_main;
@@ -0,0 +1 @@
1
+ {"version":3,"file":"EscudoIcon.vue.d.ts","sourceRoot":"","sources":["../../../src/components/svgIcons/EscudoIcon.vue"],"names":[],"mappings":"AAAA,OAAO,SAAS,MAAM,yGAAyG,CAAC;AAChI,cAAc,yGAAyG,CAAC;AACxH,eAAe,SAAS,CAAC"}
@@ -0,0 +1,16 @@
1
+ import { PropType } from 'vue';
2
+ type typeColor = 'gray' | 'success' | 'error' | 'info' | 'warn';
3
+ declare const _sfc_main: import("vue").DefineComponent<{
4
+ mode: {
5
+ type: PropType<typeColor>;
6
+ default: string;
7
+ };
8
+ }, {}, unknown, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, {}, string, import("vue").VNodeProps & import("vue").AllowedComponentProps & import("vue").ComponentCustomProps, Readonly<import("vue").ExtractPropTypes<{
9
+ mode: {
10
+ type: PropType<typeColor>;
11
+ default: string;
12
+ };
13
+ }>>, {
14
+ mode: typeColor;
15
+ }>;
16
+ export default _sfc_main;
@@ -0,0 +1 @@
1
+ {"version":3,"file":"ExclamationIcon.vue.d.ts","sourceRoot":"","sources":["../../../src/components/svgIcons/ExclamationIcon.vue"],"names":[],"mappings":"AAAA,OAAO,SAAS,MAAM,8GAA8G,CAAC;AACrI,cAAc,8GAA8G,CAAC;AAC7H,eAAe,SAAS,CAAC"}
@@ -0,0 +1,14 @@
1
+ declare const _sfc_main: import("vue").DefineComponent<{
2
+ active: {
3
+ type: BooleanConstructor;
4
+ default: boolean;
5
+ };
6
+ }, {}, unknown, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, {}, string, import("vue").VNodeProps & import("vue").AllowedComponentProps & import("vue").ComponentCustomProps, Readonly<import("vue").ExtractPropTypes<{
7
+ active: {
8
+ type: BooleanConstructor;
9
+ default: boolean;
10
+ };
11
+ }>>, {
12
+ active: boolean;
13
+ }>;
14
+ export default _sfc_main;
@@ -0,0 +1 @@
1
+ {"version":3,"file":"TelegramIcon.vue.d.ts","sourceRoot":"","sources":["../../../src/components/svgIcons/TelegramIcon.vue"],"names":[],"mappings":"AAAA,OAAO,SAAS,MAAM,2GAA2G,CAAC;AAClI,cAAc,2GAA2G,CAAC;AAC1H,eAAe,SAAS,CAAC"}
@@ -0,0 +1,14 @@
1
+ declare const _sfc_main: import("vue").DefineComponent<{
2
+ active: {
3
+ type: BooleanConstructor;
4
+ default: boolean;
5
+ };
6
+ }, {}, unknown, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, {}, string, import("vue").VNodeProps & import("vue").AllowedComponentProps & import("vue").ComponentCustomProps, Readonly<import("vue").ExtractPropTypes<{
7
+ active: {
8
+ type: BooleanConstructor;
9
+ default: boolean;
10
+ };
11
+ }>>, {
12
+ active: boolean;
13
+ }>;
14
+ export default _sfc_main;
@@ -0,0 +1 @@
1
+ {"version":3,"file":"WhatsappIcon.vue.d.ts","sourceRoot":"","sources":["../../../src/components/svgIcons/WhatsappIcon.vue"],"names":[],"mappings":"AAAA,OAAO,SAAS,MAAM,2GAA2G,CAAC;AAClI,cAAc,2GAA2G,CAAC;AAC1H,eAAe,SAAS,CAAC"}