utn-cli 2.1.51 → 2.1.53

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 (38) hide show
  1. package/package.json +1 -1
  2. package/templates/backend/rutas/misc.js +240 -0
  3. package/templates/backend/servicios/Nucleo/Miscelaneas.js +111 -16
  4. package/templates/frontend/public/conozcanos1.jpg +0 -0
  5. package/templates/frontend/public/preguntasF-1.png +0 -0
  6. package/templates/frontend/public/preguntasF-2.png +0 -0
  7. package/templates/frontend/public/preguntasF-3.png +0 -0
  8. package/templates/frontend/public/preguntasF-4.png +0 -0
  9. package/templates/frontend/public/preguntasF-5.png +0 -0
  10. package/templates/frontend/public/sabias-1.png +0 -0
  11. package/templates/frontend/public/sabias-10.png +0 -0
  12. package/templates/frontend/public/sabias-11.png +0 -0
  13. package/templates/frontend/public/sabias-2.png +0 -0
  14. package/templates/frontend/public/sabias-3.png +0 -0
  15. package/templates/frontend/public/sabias-4.png +0 -0
  16. package/templates/frontend/public/sabias-5.png +0 -0
  17. package/templates/frontend/public/sabias-6.png +0 -0
  18. package/templates/frontend/public/sabias-7.png +0 -0
  19. package/templates/frontend/public/sabias-8.png +0 -0
  20. package/templates/frontend/public/sabias-9.png +0 -0
  21. package/templates/frontend/src/app/Componentes/Nucleo/tabla/tabla.component.html +5 -4
  22. package/templates/frontend/src/app/Componentes/Nucleo/tabla/tabla.component.ts +13 -2
  23. package/templates/frontend/src/app/Paginas/Nucleo/acercade/acercade.component.css +65 -0
  24. package/templates/frontend/src/app/Paginas/Nucleo/acercade/acercade.component.html +49 -0
  25. package/templates/frontend/src/app/Paginas/Nucleo/acercade/acercade.component.ts +20 -0
  26. package/templates/frontend/src/app/Paginas/Nucleo/conozcanos/conozcanos.component.css +608 -0
  27. package/templates/frontend/src/app/Paginas/Nucleo/conozcanos/conozcanos.component.html +109 -0
  28. package/templates/frontend/src/app/Paginas/Nucleo/conozcanos/conozcanos.component.ts +63 -0
  29. package/templates/frontend/src/app/Paginas/Nucleo/politicas/politicas.component.css +158 -0
  30. package/templates/frontend/src/app/Paginas/Nucleo/politicas/politicas.component.html +120 -0
  31. package/templates/frontend/src/app/Paginas/Nucleo/politicas/politicas.component.ts +33 -0
  32. package/templates/frontend/src/app/Paginas/Nucleo/preguntasFrecuentes/preguntasFrecuentes.component.css +162 -0
  33. package/templates/frontend/src/app/Paginas/Nucleo/preguntasFrecuentes/preguntasFrecuentes.component.html +97 -0
  34. package/templates/frontend/src/app/Paginas/Nucleo/preguntasFrecuentes/preguntasFrecuentes.component.ts +36 -0
  35. package/templates/frontend/src/app/Paginas/Nucleo/sabiasque/sabiasque.component.css +229 -0
  36. package/templates/frontend/src/app/Paginas/Nucleo/sabiasque/sabiasque.component.html +396 -0
  37. package/templates/frontend/src/app/Paginas/Nucleo/sabiasque/sabiasque.component.ts +51 -0
  38. package/templates/frontend/src/app/app.routes.ts +20 -0
@@ -0,0 +1,97 @@
1
+ <div class="subtitle">
2
+ <p>Preguntas frecuentes</p>
3
+ </div>
4
+ <div class="politicas-container">
5
+
6
+ <!-- Árbol-->
7
+ <div class="tree-container">
8
+
9
+ <!-- Item 1 -->
10
+ <div class="tree-item" [class.expanded-item]="expandedItems['item1']">
11
+ <div class="tree-header" (click)="toggleItem('item1')">
12
+ <span class="tree-icon">{{ expandedItems['item1'] ? '▼' : '▶' }}</span>
13
+ <span class="tree-title">1. ¿Cómo recuperar la clave acceso en SIGU?</span>
14
+ </div>
15
+ <div class="tree-content" [class.expanded]="expandedItems['item1']">
16
+ <p><strong>Para restablecer la contraseña de acceso, siga el siguiente procedimiento:</strong></p>
17
+
18
+ <p>1.1 Ingrese al portal de inicio de sesión de SIGU y digite su número de identificación. </p>
19
+
20
+ <p>1.2 Seleccione la opción <strong>¿Olvidó su clave de acceso?</strong>.</p>
21
+
22
+ <div class="conozcanos-image">
23
+ <img src="preguntasF-1.png" alt="Equipo SIGU">
24
+ </div>
25
+ <p>El sistema mostrará un mensaje de confirmación indicando: <strong>Por favor revise su correo electrónico, se
26
+ han enviado las instrucciones para continuar con el cambio de clave</strong>”. Haga clic en
27
+ <strong>continuar</strong>.
28
+ </p>
29
+ <p>1.4 Acceda a la bandeja de entrada del correo electrónico registrado en su cuenta. Allí encontrará un mensaje
30
+ automático con una clave nueva.</p>
31
+ <p>1.5 Regrese a la página de inicio de sesión de SIGU e ingrese su número de identificación junto con la clave
32
+ nueva proporcionada.</p>
33
+ <p>1.6 El sistema solicitará una verificación de identidad. Se enviará un código de verificación a su correo
34
+ electrónico registrado.</p>
35
+ <p>1.7 Copie el código recibido, péguelo en el campo indicado y haga clic en <strong>siguiente</strong>.</p>
36
+ <div class="conozcanos-image">
37
+ <img src="preguntasF-2.png" alt="Equipo SIGU">
38
+ </div>
39
+ <p>1.8 Una vez validado el código, recibirá el mensaje <strong>verificación exitosa</strong> y será redirigido
40
+ automáticamente al panel principal de su cuenta.</p>
41
+ <p><strong>Nota:</strong> Se recomienda cambiar la contraseña temporal por una nueva una vez dentro del sistema.
42
+ </p>
43
+ </div>
44
+ <div class="line"></div>
45
+ </div>
46
+
47
+ <!-- Item 2-->
48
+ <div class="tree-item" [class.expanded-item]="expandedItems['item2']">
49
+ <div class="tree-header" (click)="toggleItem('item2')">
50
+ <span class="tree-icon">{{ expandedItems['item2'] ? '▼' : '▶' }}</span>
51
+ <span class="tree-title">2. ¿Cómo cambiar mi clave en SIGU?</span>
52
+ </div>
53
+ <div class="tree-content" [class.expanded]="expandedItems['item2']">
54
+ <p><strong>Para cambiar su clave, realice los siguientes pasos:</strong></p>
55
+ <P>2.1 Inicie sesión en SIGU con sus credenciales actuales.</P>
56
+ <p>2.2 En el panel principal, diríjase al menú superior y ubique el ícono de usuario (representado por silueta
57
+ de persona) en el extremo derecho.</p>
58
+ <div class="preguntados-image">
59
+ <img src="preguntasF-3.png" alt="Equipo SIGU">
60
+ </div>
61
+ <p>2.3 Haga clic en el ícono y seleccione su cuenta (el nombre de usuario asociado).</p>
62
+ <p>2.4 Se abrirá una nueva ventana. Dentro de este, seleccione la pestaña o tarjeta denominada <strong>cambio
63
+ de contraseña</strong>.</p>
64
+ <p>2.5 El sistema mostrará un panel con las instrucciones técnicas. Ingrese la nueva contraseña en el campo
65
+ correspondiente respetando los requisitos de seguridad (longitud, caracteres especiales, etc.).</p>
66
+ <div class="conozcanos-image">
67
+ <img src="preguntasF-4.png" alt="Equipo SIGU">
68
+ </div>
69
+ <p>2.6 Confirme la nueva contraseña y haga clic en <strong>cambiar</strong>.</p>
70
+ <p><strong>La contraseña quedará actualizada de forma inmediata para futuros inicios de sesión.</strong></p>
71
+ </div>
72
+ <div class="line"></div>
73
+ </div>
74
+
75
+ <!-- Item 3-->
76
+ <div class="tree-item" [class.expanded-item]="expandedItems['item3']">
77
+ <div class="tree-header" (click)="toggleItem('item3')">
78
+ <span class="tree-icon">{{ expandedItems['item3'] ? '▼' : '▶' }}</span>
79
+ <span class="tree-title">3. ¿Cómo inicio sesión con google en SIGU?</span>
80
+ </div>
81
+ <div class="tree-content" [class.expanded]="expandedItems['item3']">
82
+ <p>3.1 Para acceder mediante <strong>login con google</strong>, el usuario debe tener una cuenta registrada
83
+ previamente como
84
+ oferente o personal administrativo bajo el dominio <strong>@utn.ac.cr</strong>. Al seleccionar la cuenta
85
+ institucional
86
+ asociada, el sistema lo redirigirá automáticamente al panel de su perfil.</p>
87
+
88
+ <div class="conozcanos-image">
89
+ <img src="preguntasF-5.png" alt="Equipo SIGU">
90
+ </div>
91
+ </div>
92
+ <div class="line"></div>
93
+ </div>
94
+
95
+ </div>
96
+
97
+ </div>
@@ -0,0 +1,36 @@
1
+ import { Component, OnInit } from '@angular/core';
2
+ import { MatIconModule } from '@angular/material/icon';
3
+ import { DatosGlobalesService } from '../../../datos-globales.service';
4
+ import { HttpClient } from '@angular/common/http';
5
+ import { takeUntil } from 'rxjs/operators';
6
+ import { Subject } from 'rxjs';
7
+ @Component({
8
+ selector: 'app-preguntasfrecuentes',
9
+ standalone: true,
10
+ imports: [MatIconModule],
11
+ templateUrl: './preguntasFrecuentes.component.html',
12
+ styleUrl: './preguntasFrecuentes.component.css'
13
+ })
14
+ export class PreguntasFrecuentesComponent implements OnInit {
15
+
16
+ private _destroy$ = new Subject<void>();
17
+ constructor(private http: HttpClient, private datosGlobalesService: DatosGlobalesService) { }
18
+ ngOnInit(): void {
19
+ this.http.get(`${this.datosGlobalesService.ObtenerURL()}misc/VistaDePreguntasFrecuentes`).pipe(takeUntil(this._destroy$)).subscribe({ error: () => { } });
20
+ }
21
+ // items expandidos
22
+ expandedItems: { [key: string]: boolean } = {
23
+ item1: false,
24
+ item2: false,
25
+ item3: false,
26
+ item4: false,
27
+ item5: false,
28
+ item6: false,
29
+ };
30
+
31
+ toggleItem(itemId: string) {
32
+ this.expandedItems[itemId] = !this.expandedItems[itemId];
33
+ }
34
+
35
+
36
+ }
@@ -0,0 +1,229 @@
1
+ .politicas-container {
2
+ max-width: 1000px;
3
+ padding-bottom: 20px;
4
+ font-family: 'Roboto', sans-serif;
5
+ background-color: white;
6
+ text-align: left;
7
+ margin: 0 auto;
8
+ }
9
+
10
+ .subtitle {
11
+ background-color: #0b4794;
12
+ font-size: 25px;
13
+ color: white;
14
+ padding: 18px;
15
+ margin: 20px 0;
16
+ text-align: center;
17
+ }
18
+ .subtitle p {
19
+ margin: 5px 0;
20
+ }
21
+
22
+
23
+ .tree-container {
24
+ width: 100%;
25
+ padding-left: 30px;
26
+ padding-right: 30px;
27
+ margin-top: 30px;
28
+ box-sizing: border-box;
29
+ max-height: none;
30
+ }
31
+
32
+ /* Estilos árboles */
33
+ .tree-item {
34
+ margin-bottom: 10px;
35
+ padding-left: 15px;
36
+ transition: background-color 0.3s ease;
37
+ }
38
+
39
+ .line {
40
+ height: 3px;
41
+ border-bottom: 1px solid #C4C4C4;
42
+ }
43
+ .tree-header {
44
+ display: flex;
45
+ align-items: center;
46
+ gap: 10px;
47
+ cursor: pointer;
48
+ padding: 12px;
49
+ background-color: white;
50
+ border-radius: 8px;
51
+ transition: all 0.3s ease;
52
+ }
53
+
54
+ .tree-icon {
55
+ font-size: 14px;
56
+ color: #0b4794;
57
+ font-weight: bold;
58
+ width: 20px;
59
+ }
60
+
61
+ .tree-title {
62
+ font-weight: 500;
63
+ color: #4D4D4D;
64
+ font-size: 16px;
65
+ }
66
+
67
+ .tree-content {
68
+ max-height: 0;
69
+ overflow: hidden;
70
+ transition: max-height 0.3s ease-out;
71
+ background-color: white;
72
+ margin-top: 5px;
73
+ }
74
+
75
+ .tree-content.expanded {
76
+ max-height: 2000px;
77
+ padding: 15px;
78
+ }
79
+ .tree-item.expanded-item {
80
+ background-color: #F6F8FA;
81
+ border-left: 4px solid #002F6B;
82
+ }
83
+
84
+ .tree-item.expanded-item .tree-header,
85
+ .tree-item.expanded-item .tree-header .tree-title {
86
+ background-color: #F6F8FA;
87
+ color: #002F6B;
88
+ }
89
+
90
+ .tree-item.expanded-item .tree-content.expanded {
91
+ background-color: #F6F8FA;
92
+ }
93
+ .tree-content p {
94
+ margin: 0;
95
+ line-height: 1.6;
96
+ color: #4D4D4D;
97
+ margin-bottom: 20px;
98
+ font-size: 16px;
99
+ }
100
+
101
+ .tree-content ul {
102
+ padding-left: 20px;
103
+ margin-top: 10px;
104
+ }
105
+
106
+ .tree-content li {
107
+ list-style-type: disc;
108
+ margin-bottom: 10px;
109
+ color: #4D4D4D;
110
+ font-size: 16px;
111
+ }
112
+
113
+ .conozcanos-image {
114
+ flex: 1;
115
+ display: flex;
116
+ justify-content: center;
117
+ align-items: center;
118
+ margin-bottom: 20px;
119
+ }
120
+
121
+ .conozcanos-image img {
122
+ width: 100%;
123
+ max-width: 290px;
124
+ height: auto;
125
+ object-fit: cover;
126
+ box-shadow: 0 10px 30px rgba(0, 0, 0, 0.1);
127
+ }
128
+ @media (max-width: 768px) {
129
+
130
+ .tree-title {
131
+ font-size: 14px;
132
+ }
133
+
134
+ .tree-content p {
135
+ font-size: 14px;
136
+ }
137
+
138
+ .tree-content li{
139
+ font-size: 14px;
140
+ }
141
+ }
142
+
143
+ /* sub items*/
144
+
145
+ .sub-tree-item {
146
+ margin: 8px 0 8px 25px;
147
+ transition: all 0.3s ease;
148
+ }
149
+
150
+ .sub-tree-header {
151
+ display: flex;
152
+ align-items: center;
153
+ gap: 10px;
154
+ cursor: pointer;
155
+ padding: 12px;
156
+ border-radius: 8px;
157
+ transition: all 0.3s ease;
158
+ }
159
+
160
+ .sub-tree-title {
161
+ font-weight: 500;
162
+ font-size: 15px;
163
+ color: #4D4D4D;
164
+ }
165
+
166
+ .sub-tree-content {
167
+ max-height: 0;
168
+ overflow: hidden;
169
+ transition: max-height 0.3s ease-out;
170
+ }
171
+
172
+ .sub-tree-content.expanded {
173
+ max-height: 2000px;
174
+ padding: 15px;
175
+ }
176
+
177
+ /* Estado expandido */
178
+
179
+ .sub-tree-item.expanded-sub-item {
180
+ background-color: #F6F8FA;
181
+ border: 1px solid #C4C4C4;
182
+ }
183
+
184
+ .sub-tree-item.expanded-sub-item .sub-tree-header,
185
+ .sub-tree-item.expanded-sub-item .sub-tree-title {
186
+ color: #002F6B;
187
+ background-color: #F6F8FA;
188
+ }
189
+
190
+ .sub-tree-item.expanded-sub-item .sub-tree-content.expanded {
191
+ background-color: #F6F8FA;
192
+ }
193
+
194
+ .imagenes-comparacion {
195
+ display: flex;
196
+ gap: 20px;
197
+ justify-content: center;
198
+ align-items: flex-start;
199
+ flex-wrap: wrap;
200
+ margin-bottom: 20px;
201
+ }
202
+
203
+ .imagen-item {
204
+ flex: 1;
205
+ min-width: 250px;
206
+ text-align: center;
207
+ }
208
+
209
+ .imagen-item img {
210
+ width: 100%;
211
+ max-width: 420px;
212
+ height: auto;
213
+ border-radius: 8px;
214
+ box-shadow: 0 10px 30px rgba(0,0,0,0.1);
215
+ }
216
+
217
+ .video-container {
218
+ display: flex;
219
+ justify-content: center;
220
+ align-items: center;
221
+ margin-bottom: 20px;
222
+ }
223
+
224
+ .video-container video {
225
+ width: 100%;
226
+ max-width: 700px;
227
+ border-radius: 8px;
228
+ box-shadow: 0 10px 30px rgba(0, 0, 0, 0.1);
229
+ }