una-nuxt-module 2.1.7 → 2.1.8
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
package/dist/module.mjs
CHANGED
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import { createResolver, addTemplate, defineNuxtModule, useLogger, extendPages, addLayout,
|
|
1
|
+
import { createResolver, addTemplate, defineNuxtModule, useLogger, extendPages, addLayout, addImportsDir, addPlugin, addVitePlugin, addRouteMiddleware, hasNuxtModule, addComponentsDir } from '@nuxt/kit';
|
|
2
2
|
import { defu } from 'defu';
|
|
3
3
|
import * as fs from 'node:fs';
|
|
4
4
|
import * as path from 'node:path';
|
|
@@ -112,7 +112,7 @@ function addTemplates() {
|
|
|
112
112
|
}
|
|
113
113
|
|
|
114
114
|
const name = "una-nuxt-module";
|
|
115
|
-
const version = "2.1.
|
|
115
|
+
const version = "2.1.8";
|
|
116
116
|
|
|
117
117
|
const module = defineNuxtModule({
|
|
118
118
|
meta: {
|
|
@@ -250,7 +250,6 @@ const module = defineNuxtModule({
|
|
|
250
250
|
setupPublicAssets();
|
|
251
251
|
setupPages();
|
|
252
252
|
setupLayouts();
|
|
253
|
-
setupComponents();
|
|
254
253
|
setupAutoImports();
|
|
255
254
|
setupSSO();
|
|
256
255
|
setupPlugins();
|
|
@@ -258,6 +257,7 @@ const module = defineNuxtModule({
|
|
|
258
257
|
setupAuthMiddlewares();
|
|
259
258
|
setupI18n();
|
|
260
259
|
addTemplates();
|
|
260
|
+
setupComponents();
|
|
261
261
|
logger.success("Module setup completed successfully\n");
|
|
262
262
|
} catch (error) {
|
|
263
263
|
logger.error("Module setup failed");
|
|
@@ -1,33 +1,9 @@
|
|
|
1
1
|
<template>
|
|
2
|
-
<
|
|
3
|
-
class="
|
|
4
|
-
elevation="4"
|
|
5
|
-
height="250"
|
|
6
|
-
max-width="800"
|
|
7
|
-
width="100%"
|
|
8
|
-
rounded
|
|
9
|
-
>
|
|
10
|
-
<div>
|
|
11
|
-
<h2 class="text-h4 font-weight-black text-primary">401 Unauthorized</h2>
|
|
2
|
+
<div>
|
|
3
|
+
<h2 class="text-h4 font-weight-black text-primary">401 Unauthorized</h2>
|
|
12
4
|
|
|
13
|
-
|
|
14
|
-
|
|
15
|
-
</div>
|
|
16
|
-
|
|
17
|
-
<v-btn
|
|
18
|
-
color="primary"
|
|
19
|
-
elevation="0"
|
|
20
|
-
@click="navigateTo('/')"
|
|
21
|
-
variant="text"
|
|
22
|
-
text="Volver a la página de inicio"
|
|
23
|
-
/>
|
|
5
|
+
<div class="text-h6 font-weight-medium mt-2 mb-6">
|
|
6
|
+
Debe inicar sesión para acceder
|
|
24
7
|
</div>
|
|
25
|
-
</
|
|
8
|
+
</div>
|
|
26
9
|
</template>
|
|
27
|
-
|
|
28
|
-
<script setup>
|
|
29
|
-
import { definePageMeta, navigateTo } from "#imports";
|
|
30
|
-
definePageMeta({
|
|
31
|
-
layout: "empty"
|
|
32
|
-
});
|
|
33
|
-
</script>
|
|
@@ -1,34 +1,10 @@
|
|
|
1
1
|
<template>
|
|
2
|
-
<
|
|
3
|
-
class="
|
|
4
|
-
elevation="4"
|
|
5
|
-
height="250"
|
|
6
|
-
max-width="800"
|
|
7
|
-
width="100%"
|
|
8
|
-
rounded
|
|
9
|
-
>
|
|
10
|
-
<div>
|
|
11
|
-
<h2 class="text-h4 font-weight-black text-primary">403 Forbidden</h2>
|
|
2
|
+
<div>
|
|
3
|
+
<h2 class="text-h4 font-weight-black text-primary">403 Forbidden</h2>
|
|
12
4
|
|
|
13
|
-
|
|
14
|
-
|
|
15
|
-
|
|
16
|
-
</div>
|
|
17
|
-
|
|
18
|
-
<v-btn
|
|
19
|
-
color="primary"
|
|
20
|
-
elevation="0"
|
|
21
|
-
@click="navigateTo('/')"
|
|
22
|
-
variant="text"
|
|
23
|
-
text="Volver a la página de inicio"
|
|
24
|
-
/>
|
|
5
|
+
<div class="text-h6 font-weight-medium mt-2 mb-6">
|
|
6
|
+
Acceso Denegado<br />
|
|
7
|
+
No tiene accesso al recurso solicitado
|
|
25
8
|
</div>
|
|
26
|
-
</
|
|
9
|
+
</div>
|
|
27
10
|
</template>
|
|
28
|
-
|
|
29
|
-
<script setup>
|
|
30
|
-
import { definePageMeta, navigateTo } from "#imports";
|
|
31
|
-
definePageMeta({
|
|
32
|
-
layout: "empty"
|
|
33
|
-
});
|
|
34
|
-
</script>
|