una-nuxt-module 3.0.43 → 3.0.44

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/dist/module.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "una-nuxt-module",
3
- "version": "3.0.43",
3
+ "version": "3.0.44",
4
4
  "configKey": "unaxt",
5
5
  "compatibility": {
6
6
  "nuxt": ">=4.0.0"
package/dist/module.mjs CHANGED
@@ -167,7 +167,7 @@ function addTemplates() {
167
167
  }
168
168
 
169
169
  const name = "una-nuxt-module";
170
- const version = "3.0.43";
170
+ const version = "3.0.44";
171
171
  const description = "Módulo Nuxt para desarrollo.";
172
172
  const repository = {
173
173
  type: "git",
@@ -233,6 +233,7 @@ const scripts = {
233
233
  };
234
234
  const dependencies = {
235
235
  "@asgardeo/auth-spa": "3.5.2",
236
+ "@iconify-json/lucide": "1.2.151",
236
237
  "@internationalized/date": "3.12.4",
237
238
  "@lucide/vue": "1.68.0",
238
239
  "@nuxt/a11y": "1.0.0-alpha.1",
@@ -390,6 +391,15 @@ const module$1 = defineNuxtModule({
390
391
  defaults: {
391
392
  devtools: true
392
393
  }
394
+ },
395
+ "@nuxt/icon": {
396
+ version: ">=2.0.0",
397
+ optional: true,
398
+ defaults: {
399
+ clientBundle: {
400
+ icons: ["lucide:sun", "lucide:moon", "lucide:star"]
401
+ }
402
+ }
393
403
  }
394
404
  },
395
405
  async setup(options, nuxt) {
@@ -6,5 +6,5 @@
6
6
  *
7
7
  * Nota: solo se ejecuta una vez, debido a que posteriormente los datos de la sesion estaran sincronizados en Pinia.
8
8
  */
9
- declare const _default: any;
9
+ declare const _default: import("#app").RouteMiddleware;
10
10
  export default _default;
@@ -3,5 +3,5 @@
3
3
  *
4
4
  * Nota: se ejecuta con cada cambio de ruta.
5
5
  */
6
- declare const _default: any;
6
+ declare const _default: import("#app").RouteMiddleware;
7
7
  export default _default;
@@ -3,5 +3,71 @@
3
3
  *
4
4
  * Se expone la información de la sesión proporcionando helpers en la instancia NuxtApp.
5
5
  */
6
- declare const _default: any;
6
+ declare const _default: import("#app").Plugin<{
7
+ /**
8
+ * Método para iniciar la sesión del usuario en WSO2.
9
+ */
10
+ signIn: () => Promise<import("@asgardeo/auth-spa").BasicUserInfo | undefined>;
11
+ /**
12
+ * Método para cerrar la sesión del usuario en WSO2.
13
+ */
14
+ signOut: () => Promise<boolean | undefined>;
15
+ /**
16
+ * Método que retorna si el usuario esta autenticado en WSO2.
17
+ */
18
+ isAuthenticated: () => Promise<boolean | undefined>;
19
+ /**
20
+ * Método que retorna la informacion de la sesión del usuario.
21
+ */
22
+ authData: () => Promise<import("@asgardeo/auth-spa").BasicUserInfo | undefined>;
23
+ /**
24
+ * Método que retorna el ID Token decodificado.
25
+ */
26
+ decodedIDToken: () => Promise<import("@asgardeo/auth-spa").DecodedIDTokenPayload | undefined>;
27
+ /**
28
+ * Método que retorna el Access Token del usuario.
29
+ */
30
+ accessToken: () => Promise<string | undefined>;
31
+ /**
32
+ * Método que retorna el ID Token.
33
+ */
34
+ getIDToken: () => Promise<string | undefined>;
35
+ /**
36
+ * Método que retorna los endpoints de OpenId Connect.
37
+ */
38
+ OIDCServiceEndpoints: () => Promise<import("@asgardeo/auth-spa").OIDCEndpoints | undefined>;
39
+ }> & import("#app").ObjectPlugin<{
40
+ /**
41
+ * Método para iniciar la sesión del usuario en WSO2.
42
+ */
43
+ signIn: () => Promise<import("@asgardeo/auth-spa").BasicUserInfo | undefined>;
44
+ /**
45
+ * Método para cerrar la sesión del usuario en WSO2.
46
+ */
47
+ signOut: () => Promise<boolean | undefined>;
48
+ /**
49
+ * Método que retorna si el usuario esta autenticado en WSO2.
50
+ */
51
+ isAuthenticated: () => Promise<boolean | undefined>;
52
+ /**
53
+ * Método que retorna la informacion de la sesión del usuario.
54
+ */
55
+ authData: () => Promise<import("@asgardeo/auth-spa").BasicUserInfo | undefined>;
56
+ /**
57
+ * Método que retorna el ID Token decodificado.
58
+ */
59
+ decodedIDToken: () => Promise<import("@asgardeo/auth-spa").DecodedIDTokenPayload | undefined>;
60
+ /**
61
+ * Método que retorna el Access Token del usuario.
62
+ */
63
+ accessToken: () => Promise<string | undefined>;
64
+ /**
65
+ * Método que retorna el ID Token.
66
+ */
67
+ getIDToken: () => Promise<string | undefined>;
68
+ /**
69
+ * Método que retorna los endpoints de OpenId Connect.
70
+ */
71
+ OIDCServiceEndpoints: () => Promise<import("@asgardeo/auth-spa").OIDCEndpoints | undefined>;
72
+ }>;
7
73
  export default _default;
@@ -1,5 +1,5 @@
1
1
  import type { IBreadcrumb } from '../types/index.js';
2
2
  export declare function useBreadcumbs(): {
3
- breadcrumbs: any;
3
+ breadcrumbs: import("vue").Ref<IBreadcrumb[], IBreadcrumb[]>;
4
4
  setBreadcrumbs: (newBreadcrumbs: IBreadcrumb[]) => void;
5
5
  };
@@ -1,10 +0,0 @@
1
- import type { I18nOptions } from 'vue-i18n';
2
- /**
3
- * Configuración de la internalización.
4
- */
5
- export declare const i18nConfig: I18nOptions;
6
- /**
7
- * Se define la configuración de internalización para el plugin de vue-i18n.
8
- */
9
- declare const _default: any;
10
- export default _default;
@@ -1,2 +1,13 @@
1
- declare const _default: any;
1
+ import { type $Fetch } from '#app';
2
+ declare const _default: import("#app").Plugin<{
3
+ api: {
4
+ fetch: $Fetch<unknown, "">;
5
+ publicFetch: $Fetch<unknown, "">;
6
+ };
7
+ }> & import("#app").ObjectPlugin<{
8
+ api: {
9
+ fetch: $Fetch<unknown, "">;
10
+ publicFetch: $Fetch<unknown, "">;
11
+ };
12
+ }>;
2
13
  export default _default;
@@ -1,2 +1,11 @@
1
- declare const _default: any;
1
+ import { type $Fetch } from '#app';
2
+ declare const _default: import("#app").Plugin<{
3
+ api: {
4
+ fetch: $Fetch<unknown, "">;
5
+ };
6
+ }> & import("#app").ObjectPlugin<{
7
+ api: {
8
+ fetch: $Fetch<unknown, "">;
9
+ };
10
+ }>;
2
11
  export default _default;
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "una-nuxt-module",
3
- "version": "3.0.43",
3
+ "version": "3.0.44",
4
4
  "description": "Módulo Nuxt para desarrollo.",
5
5
  "repository": {
6
6
  "type": "git",
@@ -66,6 +66,7 @@
66
66
  },
67
67
  "dependencies": {
68
68
  "@asgardeo/auth-spa": "3.5.2",
69
+ "@iconify-json/lucide": "1.2.151",
69
70
  "@internationalized/date": "3.12.4",
70
71
  "@lucide/vue": "1.68.0",
71
72
  "@nuxt/a11y": "1.0.0-alpha.1",