fge-auth-component 4.0.39 → 4.0.40
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/components/2Fa/Fge2FConfirm.vue.d.ts.map +1 -1
- package/dist/components/FgeDispositivos.vue.d.ts.map +1 -1
- package/dist/components/FgeHeader.vue.d.ts.map +1 -1
- package/dist/components/FgeSesiones.vue.d.ts.map +1 -1
- package/dist/components/svgIcons/LoaderIcon.vue.d.ts.map +1 -1
- package/dist/fge-auth-component.css +1 -1
- package/dist/fge-auth-component.es.js +11065 -10564
- package/dist/fge-auth-component.umd.js +21 -21
- package/dist/main.d.ts +455 -64
- package/package.json +1 -1
- package/dist/components/FgeDispositivosSidebar.vue.d.ts.map +0 -1
- package/dist/components/FgeSesionesSidebar.vue.d.ts.map +0 -1
package/dist/main.d.ts
CHANGED
|
@@ -1,11 +1,11 @@
|
|
|
1
1
|
import type { App } from 'vue';
|
|
2
2
|
import type { ComponentOptionsMixin } from 'vue';
|
|
3
|
+
import type { ComponentProvideOptions } from 'vue';
|
|
3
4
|
import type { DefineComponent } from 'vue';
|
|
4
5
|
import type { ExtractPropTypes } from 'vue';
|
|
5
6
|
import type { PublicProps } from 'vue';
|
|
6
7
|
import type { Ref } from 'vue';
|
|
7
8
|
import type { StoreDefinition } from 'pinia';
|
|
8
|
-
import type { _UnwrapAll } from 'pinia';
|
|
9
9
|
|
|
10
10
|
export declare type ConfigOptions = {
|
|
11
11
|
useYupLocale?: boolean;
|
|
@@ -32,7 +32,7 @@ declare const _default: {
|
|
|
32
32
|
};
|
|
33
33
|
export default _default;
|
|
34
34
|
|
|
35
|
-
export declare const FgeAuthMenuComponent: DefineComponent<{
|
|
35
|
+
export declare const FgeAuthMenuComponent: DefineComponent<ExtractPropTypes<{
|
|
36
36
|
showChangeMode: {
|
|
37
37
|
type: BooleanConstructor;
|
|
38
38
|
default: boolean;
|
|
@@ -41,7 +41,7 @@ export declare const FgeAuthMenuComponent: DefineComponent<{
|
|
|
41
41
|
type: BooleanConstructor;
|
|
42
42
|
default: boolean;
|
|
43
43
|
};
|
|
44
|
-
}
|
|
44
|
+
}>, {}, {}, {}, {}, ComponentOptionsMixin, ComponentOptionsMixin, ("onLogout" | "onChangeMode")[], "onLogout" | "onChangeMode", PublicProps, Readonly<ExtractPropTypes<{
|
|
45
45
|
showChangeMode: {
|
|
46
46
|
type: BooleanConstructor;
|
|
47
47
|
default: boolean;
|
|
@@ -50,36 +50,91 @@ export declare const FgeAuthMenuComponent: DefineComponent<{
|
|
|
50
50
|
type: BooleanConstructor;
|
|
51
51
|
default: boolean;
|
|
52
52
|
};
|
|
53
|
-
}>> & {
|
|
53
|
+
}>> & Readonly<{
|
|
54
54
|
onOnLogout?: ((...args: any[]) => any) | undefined;
|
|
55
55
|
onOnChangeMode?: ((...args: any[]) => any) | undefined;
|
|
56
|
-
}
|
|
56
|
+
}>, {
|
|
57
57
|
showChangeMode: boolean;
|
|
58
58
|
isDarkMode: boolean;
|
|
59
|
-
}, {}>;
|
|
59
|
+
}, {}, {}, {}, string, ComponentProvideOptions, true, {}, any>;
|
|
60
60
|
|
|
61
|
-
export declare const FgeLoginComponent: DefineComponent<{}, {}, {}, {}, {}, ComponentOptionsMixin, ComponentOptionsMixin, ("onLogin" | "onLoginError")[], "onLogin" | "onLoginError", PublicProps, Readonly<
|
|
61
|
+
export declare const FgeLoginComponent: DefineComponent<{}, {}, {}, {}, {}, ComponentOptionsMixin, ComponentOptionsMixin, ("onLogin" | "onLoginError")[], "onLogin" | "onLoginError", PublicProps, Readonly<{}> & Readonly<{
|
|
62
62
|
onOnLogin?: ((...args: any[]) => any) | undefined;
|
|
63
63
|
onOnLoginError?: ((...args: any[]) => any) | undefined;
|
|
64
|
-
}, {}, {}>;
|
|
64
|
+
}>, {}, {}, {}, {}, string, ComponentProvideOptions, true, {}, any>;
|
|
65
65
|
|
|
66
|
-
export declare const FgePerfilSidebar: DefineComponent<{}, {}, {}, {}, {}, ComponentOptionsMixin, ComponentOptionsMixin, {}, string, PublicProps, Readonly<
|
|
66
|
+
export declare const FgePerfilSidebar: DefineComponent<{}, {}, {}, {}, {}, ComponentOptionsMixin, ComponentOptionsMixin, {}, string, PublicProps, Readonly<{}> & Readonly<{}>, {}, {}, {}, {}, string, ComponentProvideOptions, true, {}, any>;
|
|
67
|
+
|
|
68
|
+
declare interface Funcionario extends PerfilFuncionario {
|
|
69
|
+
funcionarioId: number;
|
|
70
|
+
estado?: number;
|
|
71
|
+
latitud?: number;
|
|
72
|
+
longitud?: number;
|
|
73
|
+
divisiones?: number;
|
|
74
|
+
organizaciones?: number;
|
|
75
|
+
nombreCompleto: string;
|
|
76
|
+
fechaIngresoInstitucion: string;
|
|
77
|
+
aniosAntiguedad: number;
|
|
78
|
+
idFirma?: number;
|
|
79
|
+
sinControlAsistencia: number;
|
|
80
|
+
conInamovilidad: number;
|
|
81
|
+
usuarioId: number;
|
|
82
|
+
division: string;
|
|
83
|
+
cargo: string;
|
|
84
|
+
cargoId: number;
|
|
85
|
+
divisionId: number;
|
|
86
|
+
oficinaId: number;
|
|
87
|
+
municipio: string;
|
|
88
|
+
municipioId: number;
|
|
89
|
+
entidad: string;
|
|
90
|
+
entidadId: number;
|
|
91
|
+
institucionId: number;
|
|
92
|
+
institucion: string;
|
|
93
|
+
departamento: string;
|
|
94
|
+
departamentoId: number;
|
|
95
|
+
}
|
|
96
|
+
|
|
97
|
+
declare interface Oficina {
|
|
98
|
+
nombre: string;
|
|
99
|
+
direccion: string;
|
|
100
|
+
telefono: string;
|
|
101
|
+
fax: string;
|
|
102
|
+
latitud: string;
|
|
103
|
+
longitud: string;
|
|
104
|
+
id: 1;
|
|
105
|
+
}
|
|
106
|
+
|
|
107
|
+
declare interface PerfilFuncionario {
|
|
108
|
+
id: number;
|
|
109
|
+
institucionNombre: string;
|
|
110
|
+
entidadNombre: string;
|
|
111
|
+
divisionNombre: string;
|
|
112
|
+
unidadOrganizacionalNombre: string;
|
|
113
|
+
oficinaNombre: string;
|
|
114
|
+
oficina: Oficina;
|
|
115
|
+
cargoNombre: string;
|
|
116
|
+
esMaeDepartamental: number;
|
|
117
|
+
esResponsableHelpDesk: number;
|
|
118
|
+
esResponsableRrhh: number;
|
|
119
|
+
esResponsableUnai: number;
|
|
120
|
+
esResponsableUnidad: number;
|
|
121
|
+
}
|
|
67
122
|
|
|
68
123
|
declare type ShowPage = 'login' | 'registrar' | 'recuperar-password';
|
|
69
124
|
|
|
70
|
-
export declare const useFgeAuthLoginStore: StoreDefinition<"LOGIN_STORE",
|
|
71
|
-
id: Ref<string>;
|
|
72
|
-
currentPage: Ref<ShowPage>;
|
|
73
|
-
binnacleId: Ref<string | null>;
|
|
74
|
-
apiBaseURL: Ref<string>;
|
|
75
|
-
isRegister: Ref<boolean>;
|
|
76
|
-
apiBaseURLAuthNv: Ref<string>;
|
|
77
|
-
apiWebSocketURL: Ref<string>;
|
|
78
|
-
webSocketToken: Ref<string>;
|
|
79
|
-
deviceId: Ref<string>;
|
|
80
|
-
aplicacion: Ref<string>;
|
|
81
|
-
enableChangePassword: Ref<boolean>;
|
|
82
|
-
enableForceChangePwd: Ref<boolean>;
|
|
125
|
+
export declare const useFgeAuthLoginStore: StoreDefinition<"LOGIN_STORE", Pick<{
|
|
126
|
+
id: Ref<string, string>;
|
|
127
|
+
currentPage: Ref<ShowPage, ShowPage>;
|
|
128
|
+
binnacleId: Ref<string | null, string | null>;
|
|
129
|
+
apiBaseURL: Ref<string, string>;
|
|
130
|
+
isRegister: Ref<boolean, boolean>;
|
|
131
|
+
apiBaseURLAuthNv: Ref<string, string>;
|
|
132
|
+
apiWebSocketURL: Ref<string, string>;
|
|
133
|
+
webSocketToken: Ref<string, string>;
|
|
134
|
+
deviceId: Ref<string, string>;
|
|
135
|
+
aplicacion: Ref<string, string>;
|
|
136
|
+
enableChangePassword: Ref<boolean, boolean>;
|
|
137
|
+
enableForceChangePwd: Ref<boolean, boolean>;
|
|
83
138
|
userState: Ref<{
|
|
84
139
|
token?: string | undefined;
|
|
85
140
|
refreshToken?: string | undefined;
|
|
@@ -175,10 +230,105 @@ export declare const useFgeAuthLoginStore: StoreDefinition<"LOGIN_STORE", _Unwra
|
|
|
175
230
|
}[] | undefined;
|
|
176
231
|
roles?: string[] | undefined;
|
|
177
232
|
permisos?: string[] | undefined;
|
|
233
|
+
}, Partial<UserInterface> | {
|
|
234
|
+
token?: string | undefined;
|
|
235
|
+
refreshToken?: string | undefined;
|
|
236
|
+
fechaCambioPassword?: string | undefined;
|
|
237
|
+
diasVidaPassword?: number | null | undefined;
|
|
238
|
+
cambiarPassword?: boolean | undefined;
|
|
239
|
+
forzarCambioPassword?: boolean | undefined;
|
|
240
|
+
forzarActivar2FA?: boolean | undefined;
|
|
241
|
+
user?: {
|
|
242
|
+
id: number;
|
|
243
|
+
ci: string;
|
|
244
|
+
nombre: string;
|
|
245
|
+
paterno?: string | undefined;
|
|
246
|
+
materno?: string | undefined;
|
|
247
|
+
perfilPersonaId: number;
|
|
248
|
+
personaId: number;
|
|
249
|
+
msPersonaId: number;
|
|
250
|
+
nacimiento: string;
|
|
251
|
+
sexo: string;
|
|
252
|
+
direccion: string;
|
|
253
|
+
fotoUrl?: string | undefined;
|
|
254
|
+
celular: number;
|
|
255
|
+
email: string;
|
|
256
|
+
nacionalidad: string;
|
|
257
|
+
profesion: string;
|
|
258
|
+
foto: string;
|
|
259
|
+
fotoRuta: string;
|
|
260
|
+
whatsapp?: number | undefined;
|
|
261
|
+
telegram?: number | undefined;
|
|
262
|
+
emailValidado?: number | undefined;
|
|
263
|
+
dobleAutenticacion?: number | undefined;
|
|
264
|
+
notificacionDefault?: string | undefined;
|
|
265
|
+
nombreCompleto: string;
|
|
266
|
+
ciudadanoDigital: boolean;
|
|
267
|
+
} | undefined;
|
|
268
|
+
funcionario?: {
|
|
269
|
+
funcionarioId: number;
|
|
270
|
+
estado?: number | undefined;
|
|
271
|
+
latitud?: number | undefined;
|
|
272
|
+
longitud?: number | undefined;
|
|
273
|
+
divisiones?: number | undefined;
|
|
274
|
+
organizaciones?: number | undefined;
|
|
275
|
+
nombreCompleto: string;
|
|
276
|
+
fechaIngresoInstitucion: string;
|
|
277
|
+
aniosAntiguedad: number;
|
|
278
|
+
idFirma?: number | undefined;
|
|
279
|
+
sinControlAsistencia: number;
|
|
280
|
+
conInamovilidad: number;
|
|
281
|
+
usuarioId: number;
|
|
282
|
+
division: string;
|
|
283
|
+
cargo: string;
|
|
284
|
+
cargoId: number;
|
|
285
|
+
divisionId: number;
|
|
286
|
+
oficinaId: number;
|
|
287
|
+
municipio: string;
|
|
288
|
+
municipioId: number;
|
|
289
|
+
entidad: string;
|
|
290
|
+
entidadId: number;
|
|
291
|
+
institucionId: number;
|
|
292
|
+
institucion: string;
|
|
293
|
+
departamento: string;
|
|
294
|
+
departamentoId: number;
|
|
295
|
+
id: number;
|
|
296
|
+
institucionNombre: string;
|
|
297
|
+
entidadNombre: string;
|
|
298
|
+
divisionNombre: string;
|
|
299
|
+
unidadOrganizacionalNombre: string;
|
|
300
|
+
oficinaNombre: string;
|
|
301
|
+
oficina: {
|
|
302
|
+
nombre: string;
|
|
303
|
+
direccion: string;
|
|
304
|
+
telefono: string;
|
|
305
|
+
fax: string;
|
|
306
|
+
latitud: string;
|
|
307
|
+
longitud: string;
|
|
308
|
+
id: 1;
|
|
309
|
+
};
|
|
310
|
+
cargoNombre: string;
|
|
311
|
+
esMaeDepartamental: number;
|
|
312
|
+
esResponsableHelpDesk: number;
|
|
313
|
+
esResponsableRrhh: number;
|
|
314
|
+
esResponsableUnai: number;
|
|
315
|
+
esResponsableUnidad: number;
|
|
316
|
+
} | undefined;
|
|
317
|
+
isAuth?: boolean | undefined;
|
|
318
|
+
isNvAuth?: boolean | undefined;
|
|
319
|
+
binnacleId?: string | undefined;
|
|
320
|
+
apps?: {
|
|
321
|
+
nombre: string;
|
|
322
|
+
codigo: string;
|
|
323
|
+
url: string;
|
|
324
|
+
msFileIdLogo: string;
|
|
325
|
+
}[] | undefined;
|
|
326
|
+
roles?: string[] | undefined;
|
|
327
|
+
permisos?: string[] | undefined;
|
|
178
328
|
}>;
|
|
179
|
-
tgBot: Ref<string>;
|
|
180
|
-
systemVer: Ref<string>;
|
|
181
|
-
verificarFunc: Ref<boolean>;
|
|
329
|
+
tgBot: Ref<string, string>;
|
|
330
|
+
systemVer: Ref<string, string>;
|
|
331
|
+
verificarFunc: Ref<boolean, boolean>;
|
|
182
332
|
onAutorizarQrNv: (token: string, sessionId: string, usuarioId: number) => Promise<{
|
|
183
333
|
[key: string]: any;
|
|
184
334
|
} | undefined>;
|
|
@@ -219,19 +369,19 @@ export declare const useFgeAuthLoginStore: StoreDefinition<"LOGIN_STORE", _Unwra
|
|
|
219
369
|
initializeTokensFromStorage: () => void;
|
|
220
370
|
on2AuthNuevoServicioLogin: (values: any) => Promise<void>;
|
|
221
371
|
logoutStore: () => void;
|
|
222
|
-
}, "id" | "binnacleId" | "currentPage" | "apiBaseURL" | "isRegister" | "apiBaseURLAuthNv" | "apiWebSocketURL" | "webSocketToken" | "deviceId" | "aplicacion" | "enableChangePassword" | "enableForceChangePwd" | "userState" | "tgBot" | "systemVer" | "verificarFunc"
|
|
223
|
-
id: Ref<string>;
|
|
224
|
-
currentPage: Ref<ShowPage>;
|
|
225
|
-
binnacleId: Ref<string | null>;
|
|
226
|
-
apiBaseURL: Ref<string>;
|
|
227
|
-
isRegister: Ref<boolean>;
|
|
228
|
-
apiBaseURLAuthNv: Ref<string>;
|
|
229
|
-
apiWebSocketURL: Ref<string>;
|
|
230
|
-
webSocketToken: Ref<string>;
|
|
231
|
-
deviceId: Ref<string>;
|
|
232
|
-
aplicacion: Ref<string>;
|
|
233
|
-
enableChangePassword: Ref<boolean>;
|
|
234
|
-
enableForceChangePwd: Ref<boolean>;
|
|
372
|
+
}, "id" | "binnacleId" | "currentPage" | "apiBaseURL" | "isRegister" | "apiBaseURLAuthNv" | "apiWebSocketURL" | "webSocketToken" | "deviceId" | "aplicacion" | "enableChangePassword" | "enableForceChangePwd" | "userState" | "tgBot" | "systemVer" | "verificarFunc">, Pick<{
|
|
373
|
+
id: Ref<string, string>;
|
|
374
|
+
currentPage: Ref<ShowPage, ShowPage>;
|
|
375
|
+
binnacleId: Ref<string | null, string | null>;
|
|
376
|
+
apiBaseURL: Ref<string, string>;
|
|
377
|
+
isRegister: Ref<boolean, boolean>;
|
|
378
|
+
apiBaseURLAuthNv: Ref<string, string>;
|
|
379
|
+
apiWebSocketURL: Ref<string, string>;
|
|
380
|
+
webSocketToken: Ref<string, string>;
|
|
381
|
+
deviceId: Ref<string, string>;
|
|
382
|
+
aplicacion: Ref<string, string>;
|
|
383
|
+
enableChangePassword: Ref<boolean, boolean>;
|
|
384
|
+
enableForceChangePwd: Ref<boolean, boolean>;
|
|
235
385
|
userState: Ref<{
|
|
236
386
|
token?: string | undefined;
|
|
237
387
|
refreshToken?: string | undefined;
|
|
@@ -327,10 +477,105 @@ export declare const useFgeAuthLoginStore: StoreDefinition<"LOGIN_STORE", _Unwra
|
|
|
327
477
|
}[] | undefined;
|
|
328
478
|
roles?: string[] | undefined;
|
|
329
479
|
permisos?: string[] | undefined;
|
|
480
|
+
}, Partial<UserInterface> | {
|
|
481
|
+
token?: string | undefined;
|
|
482
|
+
refreshToken?: string | undefined;
|
|
483
|
+
fechaCambioPassword?: string | undefined;
|
|
484
|
+
diasVidaPassword?: number | null | undefined;
|
|
485
|
+
cambiarPassword?: boolean | undefined;
|
|
486
|
+
forzarCambioPassword?: boolean | undefined;
|
|
487
|
+
forzarActivar2FA?: boolean | undefined;
|
|
488
|
+
user?: {
|
|
489
|
+
id: number;
|
|
490
|
+
ci: string;
|
|
491
|
+
nombre: string;
|
|
492
|
+
paterno?: string | undefined;
|
|
493
|
+
materno?: string | undefined;
|
|
494
|
+
perfilPersonaId: number;
|
|
495
|
+
personaId: number;
|
|
496
|
+
msPersonaId: number;
|
|
497
|
+
nacimiento: string;
|
|
498
|
+
sexo: string;
|
|
499
|
+
direccion: string;
|
|
500
|
+
fotoUrl?: string | undefined;
|
|
501
|
+
celular: number;
|
|
502
|
+
email: string;
|
|
503
|
+
nacionalidad: string;
|
|
504
|
+
profesion: string;
|
|
505
|
+
foto: string;
|
|
506
|
+
fotoRuta: string;
|
|
507
|
+
whatsapp?: number | undefined;
|
|
508
|
+
telegram?: number | undefined;
|
|
509
|
+
emailValidado?: number | undefined;
|
|
510
|
+
dobleAutenticacion?: number | undefined;
|
|
511
|
+
notificacionDefault?: string | undefined;
|
|
512
|
+
nombreCompleto: string;
|
|
513
|
+
ciudadanoDigital: boolean;
|
|
514
|
+
} | undefined;
|
|
515
|
+
funcionario?: {
|
|
516
|
+
funcionarioId: number;
|
|
517
|
+
estado?: number | undefined;
|
|
518
|
+
latitud?: number | undefined;
|
|
519
|
+
longitud?: number | undefined;
|
|
520
|
+
divisiones?: number | undefined;
|
|
521
|
+
organizaciones?: number | undefined;
|
|
522
|
+
nombreCompleto: string;
|
|
523
|
+
fechaIngresoInstitucion: string;
|
|
524
|
+
aniosAntiguedad: number;
|
|
525
|
+
idFirma?: number | undefined;
|
|
526
|
+
sinControlAsistencia: number;
|
|
527
|
+
conInamovilidad: number;
|
|
528
|
+
usuarioId: number;
|
|
529
|
+
division: string;
|
|
530
|
+
cargo: string;
|
|
531
|
+
cargoId: number;
|
|
532
|
+
divisionId: number;
|
|
533
|
+
oficinaId: number;
|
|
534
|
+
municipio: string;
|
|
535
|
+
municipioId: number;
|
|
536
|
+
entidad: string;
|
|
537
|
+
entidadId: number;
|
|
538
|
+
institucionId: number;
|
|
539
|
+
institucion: string;
|
|
540
|
+
departamento: string;
|
|
541
|
+
departamentoId: number;
|
|
542
|
+
id: number;
|
|
543
|
+
institucionNombre: string;
|
|
544
|
+
entidadNombre: string;
|
|
545
|
+
divisionNombre: string;
|
|
546
|
+
unidadOrganizacionalNombre: string;
|
|
547
|
+
oficinaNombre: string;
|
|
548
|
+
oficina: {
|
|
549
|
+
nombre: string;
|
|
550
|
+
direccion: string;
|
|
551
|
+
telefono: string;
|
|
552
|
+
fax: string;
|
|
553
|
+
latitud: string;
|
|
554
|
+
longitud: string;
|
|
555
|
+
id: 1;
|
|
556
|
+
};
|
|
557
|
+
cargoNombre: string;
|
|
558
|
+
esMaeDepartamental: number;
|
|
559
|
+
esResponsableHelpDesk: number;
|
|
560
|
+
esResponsableRrhh: number;
|
|
561
|
+
esResponsableUnai: number;
|
|
562
|
+
esResponsableUnidad: number;
|
|
563
|
+
} | undefined;
|
|
564
|
+
isAuth?: boolean | undefined;
|
|
565
|
+
isNvAuth?: boolean | undefined;
|
|
566
|
+
binnacleId?: string | undefined;
|
|
567
|
+
apps?: {
|
|
568
|
+
nombre: string;
|
|
569
|
+
codigo: string;
|
|
570
|
+
url: string;
|
|
571
|
+
msFileIdLogo: string;
|
|
572
|
+
}[] | undefined;
|
|
573
|
+
roles?: string[] | undefined;
|
|
574
|
+
permisos?: string[] | undefined;
|
|
330
575
|
}>;
|
|
331
|
-
tgBot: Ref<string>;
|
|
332
|
-
systemVer: Ref<string>;
|
|
333
|
-
verificarFunc: Ref<boolean>;
|
|
576
|
+
tgBot: Ref<string, string>;
|
|
577
|
+
systemVer: Ref<string, string>;
|
|
578
|
+
verificarFunc: Ref<boolean, boolean>;
|
|
334
579
|
onAutorizarQrNv: (token: string, sessionId: string, usuarioId: number) => Promise<{
|
|
335
580
|
[key: string]: any;
|
|
336
581
|
} | undefined>;
|
|
@@ -372,18 +617,18 @@ export declare const useFgeAuthLoginStore: StoreDefinition<"LOGIN_STORE", _Unwra
|
|
|
372
617
|
on2AuthNuevoServicioLogin: (values: any) => Promise<void>;
|
|
373
618
|
logoutStore: () => void;
|
|
374
619
|
}, never>, Pick<{
|
|
375
|
-
id: Ref<string>;
|
|
376
|
-
currentPage: Ref<ShowPage>;
|
|
377
|
-
binnacleId: Ref<string | null>;
|
|
378
|
-
apiBaseURL: Ref<string>;
|
|
379
|
-
isRegister: Ref<boolean>;
|
|
380
|
-
apiBaseURLAuthNv: Ref<string>;
|
|
381
|
-
apiWebSocketURL: Ref<string>;
|
|
382
|
-
webSocketToken: Ref<string>;
|
|
383
|
-
deviceId: Ref<string>;
|
|
384
|
-
aplicacion: Ref<string>;
|
|
385
|
-
enableChangePassword: Ref<boolean>;
|
|
386
|
-
enableForceChangePwd: Ref<boolean>;
|
|
620
|
+
id: Ref<string, string>;
|
|
621
|
+
currentPage: Ref<ShowPage, ShowPage>;
|
|
622
|
+
binnacleId: Ref<string | null, string | null>;
|
|
623
|
+
apiBaseURL: Ref<string, string>;
|
|
624
|
+
isRegister: Ref<boolean, boolean>;
|
|
625
|
+
apiBaseURLAuthNv: Ref<string, string>;
|
|
626
|
+
apiWebSocketURL: Ref<string, string>;
|
|
627
|
+
webSocketToken: Ref<string, string>;
|
|
628
|
+
deviceId: Ref<string, string>;
|
|
629
|
+
aplicacion: Ref<string, string>;
|
|
630
|
+
enableChangePassword: Ref<boolean, boolean>;
|
|
631
|
+
enableForceChangePwd: Ref<boolean, boolean>;
|
|
387
632
|
userState: Ref<{
|
|
388
633
|
token?: string | undefined;
|
|
389
634
|
refreshToken?: string | undefined;
|
|
@@ -479,10 +724,105 @@ export declare const useFgeAuthLoginStore: StoreDefinition<"LOGIN_STORE", _Unwra
|
|
|
479
724
|
}[] | undefined;
|
|
480
725
|
roles?: string[] | undefined;
|
|
481
726
|
permisos?: string[] | undefined;
|
|
727
|
+
}, Partial<UserInterface> | {
|
|
728
|
+
token?: string | undefined;
|
|
729
|
+
refreshToken?: string | undefined;
|
|
730
|
+
fechaCambioPassword?: string | undefined;
|
|
731
|
+
diasVidaPassword?: number | null | undefined;
|
|
732
|
+
cambiarPassword?: boolean | undefined;
|
|
733
|
+
forzarCambioPassword?: boolean | undefined;
|
|
734
|
+
forzarActivar2FA?: boolean | undefined;
|
|
735
|
+
user?: {
|
|
736
|
+
id: number;
|
|
737
|
+
ci: string;
|
|
738
|
+
nombre: string;
|
|
739
|
+
paterno?: string | undefined;
|
|
740
|
+
materno?: string | undefined;
|
|
741
|
+
perfilPersonaId: number;
|
|
742
|
+
personaId: number;
|
|
743
|
+
msPersonaId: number;
|
|
744
|
+
nacimiento: string;
|
|
745
|
+
sexo: string;
|
|
746
|
+
direccion: string;
|
|
747
|
+
fotoUrl?: string | undefined;
|
|
748
|
+
celular: number;
|
|
749
|
+
email: string;
|
|
750
|
+
nacionalidad: string;
|
|
751
|
+
profesion: string;
|
|
752
|
+
foto: string;
|
|
753
|
+
fotoRuta: string;
|
|
754
|
+
whatsapp?: number | undefined;
|
|
755
|
+
telegram?: number | undefined;
|
|
756
|
+
emailValidado?: number | undefined;
|
|
757
|
+
dobleAutenticacion?: number | undefined;
|
|
758
|
+
notificacionDefault?: string | undefined;
|
|
759
|
+
nombreCompleto: string;
|
|
760
|
+
ciudadanoDigital: boolean;
|
|
761
|
+
} | undefined;
|
|
762
|
+
funcionario?: {
|
|
763
|
+
funcionarioId: number;
|
|
764
|
+
estado?: number | undefined;
|
|
765
|
+
latitud?: number | undefined;
|
|
766
|
+
longitud?: number | undefined;
|
|
767
|
+
divisiones?: number | undefined;
|
|
768
|
+
organizaciones?: number | undefined;
|
|
769
|
+
nombreCompleto: string;
|
|
770
|
+
fechaIngresoInstitucion: string;
|
|
771
|
+
aniosAntiguedad: number;
|
|
772
|
+
idFirma?: number | undefined;
|
|
773
|
+
sinControlAsistencia: number;
|
|
774
|
+
conInamovilidad: number;
|
|
775
|
+
usuarioId: number;
|
|
776
|
+
division: string;
|
|
777
|
+
cargo: string;
|
|
778
|
+
cargoId: number;
|
|
779
|
+
divisionId: number;
|
|
780
|
+
oficinaId: number;
|
|
781
|
+
municipio: string;
|
|
782
|
+
municipioId: number;
|
|
783
|
+
entidad: string;
|
|
784
|
+
entidadId: number;
|
|
785
|
+
institucionId: number;
|
|
786
|
+
institucion: string;
|
|
787
|
+
departamento: string;
|
|
788
|
+
departamentoId: number;
|
|
789
|
+
id: number;
|
|
790
|
+
institucionNombre: string;
|
|
791
|
+
entidadNombre: string;
|
|
792
|
+
divisionNombre: string;
|
|
793
|
+
unidadOrganizacionalNombre: string;
|
|
794
|
+
oficinaNombre: string;
|
|
795
|
+
oficina: {
|
|
796
|
+
nombre: string;
|
|
797
|
+
direccion: string;
|
|
798
|
+
telefono: string;
|
|
799
|
+
fax: string;
|
|
800
|
+
latitud: string;
|
|
801
|
+
longitud: string;
|
|
802
|
+
id: 1;
|
|
803
|
+
};
|
|
804
|
+
cargoNombre: string;
|
|
805
|
+
esMaeDepartamental: number;
|
|
806
|
+
esResponsableHelpDesk: number;
|
|
807
|
+
esResponsableRrhh: number;
|
|
808
|
+
esResponsableUnai: number;
|
|
809
|
+
esResponsableUnidad: number;
|
|
810
|
+
} | undefined;
|
|
811
|
+
isAuth?: boolean | undefined;
|
|
812
|
+
isNvAuth?: boolean | undefined;
|
|
813
|
+
binnacleId?: string | undefined;
|
|
814
|
+
apps?: {
|
|
815
|
+
nombre: string;
|
|
816
|
+
codigo: string;
|
|
817
|
+
url: string;
|
|
818
|
+
msFileIdLogo: string;
|
|
819
|
+
}[] | undefined;
|
|
820
|
+
roles?: string[] | undefined;
|
|
821
|
+
permisos?: string[] | undefined;
|
|
482
822
|
}>;
|
|
483
|
-
tgBot: Ref<string>;
|
|
484
|
-
systemVer: Ref<string>;
|
|
485
|
-
verificarFunc: Ref<boolean>;
|
|
823
|
+
tgBot: Ref<string, string>;
|
|
824
|
+
systemVer: Ref<string, string>;
|
|
825
|
+
verificarFunc: Ref<boolean, boolean>;
|
|
486
826
|
onAutorizarQrNv: (token: string, sessionId: string, usuarioId: number) => Promise<{
|
|
487
827
|
[key: string]: any;
|
|
488
828
|
} | undefined>;
|
|
@@ -525,18 +865,69 @@ export declare const useFgeAuthLoginStore: StoreDefinition<"LOGIN_STORE", _Unwra
|
|
|
525
865
|
logoutStore: () => void;
|
|
526
866
|
}, "onAutorizarQrNv" | "goLoginPage" | "goRegistrarPage" | "goRecuperarCont" | "onLogin" | "on2AuthLogin" | "on2AuthLoginNv" | "onLoginCiudadania" | "setConfigs" | "setDispositivoConfianzaCookie" | "clearUserData" | "updateUserData" | "disable2FAStore" | "onRefreshToken" | "initializeTokensFromStorage" | "on2AuthNuevoServicioLogin" | "logoutStore">>;
|
|
527
867
|
|
|
528
|
-
export declare const useFgeAuthStateStore: StoreDefinition<"STATE_STORE",
|
|
529
|
-
id: Ref<string>;
|
|
530
|
-
isLoading: Ref<boolean>;
|
|
868
|
+
export declare const useFgeAuthStateStore: StoreDefinition<"STATE_STORE", Pick<{
|
|
869
|
+
id: Ref<string, string>;
|
|
870
|
+
isLoading: Ref<boolean, boolean>;
|
|
531
871
|
setLoading: (value: boolean) => void;
|
|
532
|
-
}, "id" | "isLoading"
|
|
533
|
-
id: Ref<string>;
|
|
534
|
-
isLoading: Ref<boolean>;
|
|
872
|
+
}, "id" | "isLoading">, Pick<{
|
|
873
|
+
id: Ref<string, string>;
|
|
874
|
+
isLoading: Ref<boolean, boolean>;
|
|
535
875
|
setLoading: (value: boolean) => void;
|
|
536
876
|
}, never>, Pick<{
|
|
537
|
-
id: Ref<string>;
|
|
538
|
-
isLoading: Ref<boolean>;
|
|
877
|
+
id: Ref<string, string>;
|
|
878
|
+
isLoading: Ref<boolean, boolean>;
|
|
539
879
|
setLoading: (value: boolean) => void;
|
|
540
880
|
}, "setLoading">>;
|
|
541
881
|
|
|
882
|
+
declare interface UserInterface {
|
|
883
|
+
token: string | undefined;
|
|
884
|
+
refreshToken: string | undefined;
|
|
885
|
+
fechaCambioPassword?: string;
|
|
886
|
+
diasVidaPassword?: number | null;
|
|
887
|
+
cambiarPassword?: boolean;
|
|
888
|
+
forzarCambioPassword: boolean;
|
|
889
|
+
forzarActivar2FA: boolean;
|
|
890
|
+
user?: Usuario;
|
|
891
|
+
funcionario?: Funcionario;
|
|
892
|
+
isAuth: boolean;
|
|
893
|
+
isNvAuth?: boolean;
|
|
894
|
+
binnacleId?: string | undefined;
|
|
895
|
+
apps: {
|
|
896
|
+
nombre: string;
|
|
897
|
+
codigo: string;
|
|
898
|
+
url: string;
|
|
899
|
+
msFileIdLogo: string;
|
|
900
|
+
}[];
|
|
901
|
+
roles: string[];
|
|
902
|
+
permisos: string[];
|
|
903
|
+
}
|
|
904
|
+
|
|
905
|
+
declare interface Usuario {
|
|
906
|
+
id: number;
|
|
907
|
+
ci: string;
|
|
908
|
+
nombre: string;
|
|
909
|
+
paterno?: string;
|
|
910
|
+
materno?: string;
|
|
911
|
+
perfilPersonaId: number;
|
|
912
|
+
personaId: number;
|
|
913
|
+
msPersonaId: number;
|
|
914
|
+
nacimiento: string;
|
|
915
|
+
sexo: string;
|
|
916
|
+
direccion: string;
|
|
917
|
+
fotoUrl?: string;
|
|
918
|
+
celular: number;
|
|
919
|
+
email: string;
|
|
920
|
+
nacionalidad: string;
|
|
921
|
+
profesion: string;
|
|
922
|
+
foto: string;
|
|
923
|
+
fotoRuta: string;
|
|
924
|
+
whatsapp?: number;
|
|
925
|
+
telegram?: number;
|
|
926
|
+
emailValidado?: number;
|
|
927
|
+
dobleAutenticacion?: number;
|
|
928
|
+
notificacionDefault?: string;
|
|
929
|
+
nombreCompleto: string;
|
|
930
|
+
ciudadanoDigital: boolean;
|
|
931
|
+
}
|
|
932
|
+
|
|
542
933
|
export { }
|
package/package.json
CHANGED
|
@@ -1 +0,0 @@
|
|
|
1
|
-
{"version":3,"file":"FgeDispositivosSidebar.vue.d.ts","sourceRoot":"","sources":["../../src/components/FgeDispositivosSidebar.vue"],"names":[],"mappings":"AAAA,OAAO,SAAS,MAAM,kIAAkI,CAAC;AACzJ,cAAc,kIAAkI,CAAC;AACjJ,eAAe,SAAS,CAAC"}
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
{"version":3,"file":"FgeSesionesSidebar.vue.d.ts","sourceRoot":"","sources":["../../src/components/FgeSesionesSidebar.vue"],"names":[],"mappings":"AAAA,OAAO,SAAS,MAAM,8HAA8H,CAAC;AACrJ,cAAc,8HAA8H,CAAC;AAC7I,eAAe,SAAS,CAAC"}
|