fge-auth-component 4.0.40 → 4.0.41
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/Fge2FActivator.vue.d.ts.map +1 -1
- package/dist/components/2Fa/Fge2FConfirm.vue.d.ts.map +1 -1
- package/dist/components/ConfirmationDialog.vue.d.ts.map +1 -1
- package/dist/components/FgeButtonCounter.vue.d.ts.map +1 -1
- package/dist/components/FgeDispositivos.vue.d.ts.map +1 -1
- package/dist/components/FgeEnviarCodigo.vue.d.ts.map +1 -1
- package/dist/components/FgeErrorMessage.vue.d.ts.map +1 -1
- package/dist/components/FgeFooter.vue.d.ts.map +1 -1
- package/dist/components/FgeHeader.vue.d.ts.map +1 -1
- package/dist/components/FgeLoadingComponent.vue.d.ts.map +1 -1
- package/dist/components/FgeLogin.vue.d.ts.map +1 -1
- package/dist/components/FgeMenuItems.vue.d.ts.map +1 -1
- package/dist/components/FgePassword.vue.d.ts.map +1 -1
- package/dist/components/FgePerfil.vue.d.ts.map +1 -1
- package/dist/components/FgePerfilHeader.vue.d.ts.map +1 -1
- package/dist/components/FgePerfilSidebar.vue.d.ts.map +1 -1
- package/dist/components/FgeRecuperarPassword.vue.d.ts.map +1 -1
- package/dist/components/FgeRegistrarPage.vue.d.ts.map +1 -1
- package/dist/components/FgeSesiones.vue.d.ts.map +1 -1
- package/dist/components/FgeStepComponent.vue.d.ts.map +1 -1
- package/dist/components/PasswordDialog.vue.d.ts.map +1 -1
- package/dist/components/PrincipalLoginComp.vue.d.ts.map +1 -1
- package/dist/components/Sidebar.vue.d.ts.map +1 -1
- package/dist/components/TelegramDialog.vue.d.ts.map +1 -1
- package/dist/components/UpdateImageDialog.vue.d.ts.map +1 -1
- package/dist/components/dialogs/Message2faDialog.vue.d.ts.map +1 -1
- package/dist/components/svgIcons/CheckMarkIcon.vue.d.ts.map +1 -1
- package/dist/components/svgIcons/DefaultUserIcon.vue.d.ts.map +1 -1
- package/dist/components/svgIcons/ErrorIcon.vue.d.ts.map +1 -1
- package/dist/components/svgIcons/ExclamationIcon.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 +10642 -11161
- package/dist/fge-auth-component.umd.js +21 -21
- package/dist/main.d.ts +64 -455
- package/package.json +1 -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';
|
|
4
3
|
import type { DefineComponent } from 'vue';
|
|
5
4
|
import type { ExtractPropTypes } from 'vue';
|
|
6
5
|
import type { PublicProps } from 'vue';
|
|
7
6
|
import type { Ref } from 'vue';
|
|
8
7
|
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<{
|
|
36
36
|
showChangeMode: {
|
|
37
37
|
type: BooleanConstructor;
|
|
38
38
|
default: boolean;
|
|
@@ -41,7 +41,7 @@ export declare const FgeAuthMenuComponent: DefineComponent<ExtractPropTypes<{
|
|
|
41
41
|
type: BooleanConstructor;
|
|
42
42
|
default: boolean;
|
|
43
43
|
};
|
|
44
|
-
}
|
|
44
|
+
}, {}, unknown, {}, {}, ComponentOptionsMixin, ComponentOptionsMixin, ("onLogout" | "onChangeMode")[], "onLogout" | "onChangeMode", PublicProps, Readonly<ExtractPropTypes<{
|
|
45
45
|
showChangeMode: {
|
|
46
46
|
type: BooleanConstructor;
|
|
47
47
|
default: boolean;
|
|
@@ -50,91 +50,36 @@ export declare const FgeAuthMenuComponent: DefineComponent<ExtractPropTypes<{
|
|
|
50
50
|
type: BooleanConstructor;
|
|
51
51
|
default: boolean;
|
|
52
52
|
};
|
|
53
|
-
}>> &
|
|
53
|
+
}>> & {
|
|
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
|
+
}, {}>;
|
|
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<ExtractPropTypes<{}>> & {
|
|
62
62
|
onOnLogin?: ((...args: any[]) => any) | undefined;
|
|
63
63
|
onOnLoginError?: ((...args: any[]) => any) | undefined;
|
|
64
|
-
}
|
|
64
|
+
}, {}, {}>;
|
|
65
65
|
|
|
66
|
-
export declare const FgePerfilSidebar: DefineComponent<{}, {}, {}, {}, {}, ComponentOptionsMixin, ComponentOptionsMixin, {}, string, PublicProps, Readonly<
|
|
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
|
-
}
|
|
66
|
+
export declare const FgePerfilSidebar: DefineComponent<{}, {}, {}, {}, {}, ComponentOptionsMixin, ComponentOptionsMixin, {}, string, PublicProps, Readonly<ExtractPropTypes<{}>>, {}, {}>;
|
|
122
67
|
|
|
123
68
|
declare type ShowPage = 'login' | 'registrar' | 'recuperar-password';
|
|
124
69
|
|
|
125
|
-
export declare const useFgeAuthLoginStore: StoreDefinition<"LOGIN_STORE", Pick<{
|
|
126
|
-
id: Ref<string
|
|
127
|
-
currentPage: Ref<ShowPage
|
|
128
|
-
binnacleId: Ref<string | null
|
|
129
|
-
apiBaseURL: Ref<string
|
|
130
|
-
isRegister: Ref<boolean
|
|
131
|
-
apiBaseURLAuthNv: Ref<string
|
|
132
|
-
apiWebSocketURL: Ref<string
|
|
133
|
-
webSocketToken: Ref<string
|
|
134
|
-
deviceId: Ref<string
|
|
135
|
-
aplicacion: Ref<string
|
|
136
|
-
enableChangePassword: Ref<boolean
|
|
137
|
-
enableForceChangePwd: Ref<boolean
|
|
70
|
+
export declare const useFgeAuthLoginStore: StoreDefinition<"LOGIN_STORE", _UnwrapAll<Pick<{
|
|
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>;
|
|
138
83
|
userState: Ref<{
|
|
139
84
|
token?: string | undefined;
|
|
140
85
|
refreshToken?: string | undefined;
|
|
@@ -230,105 +175,10 @@ export declare const useFgeAuthLoginStore: StoreDefinition<"LOGIN_STORE", Pick<{
|
|
|
230
175
|
}[] | undefined;
|
|
231
176
|
roles?: string[] | undefined;
|
|
232
177
|
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;
|
|
328
178
|
}>;
|
|
329
|
-
tgBot: Ref<string
|
|
330
|
-
systemVer: Ref<string
|
|
331
|
-
verificarFunc: Ref<boolean
|
|
179
|
+
tgBot: Ref<string>;
|
|
180
|
+
systemVer: Ref<string>;
|
|
181
|
+
verificarFunc: Ref<boolean>;
|
|
332
182
|
onAutorizarQrNv: (token: string, sessionId: string, usuarioId: number) => Promise<{
|
|
333
183
|
[key: string]: any;
|
|
334
184
|
} | undefined>;
|
|
@@ -369,19 +219,19 @@ export declare const useFgeAuthLoginStore: StoreDefinition<"LOGIN_STORE", Pick<{
|
|
|
369
219
|
initializeTokensFromStorage: () => void;
|
|
370
220
|
on2AuthNuevoServicioLogin: (values: any) => Promise<void>;
|
|
371
221
|
logoutStore: () => void;
|
|
372
|
-
}, "id" | "binnacleId" | "currentPage" | "apiBaseURL" | "isRegister" | "apiBaseURLAuthNv" | "apiWebSocketURL" | "webSocketToken" | "deviceId" | "aplicacion" | "enableChangePassword" | "enableForceChangePwd" | "userState" | "tgBot" | "systemVer" | "verificarFunc"
|
|
373
|
-
id: Ref<string
|
|
374
|
-
currentPage: Ref<ShowPage
|
|
375
|
-
binnacleId: Ref<string | null
|
|
376
|
-
apiBaseURL: Ref<string
|
|
377
|
-
isRegister: Ref<boolean
|
|
378
|
-
apiBaseURLAuthNv: Ref<string
|
|
379
|
-
apiWebSocketURL: Ref<string
|
|
380
|
-
webSocketToken: Ref<string
|
|
381
|
-
deviceId: Ref<string
|
|
382
|
-
aplicacion: Ref<string
|
|
383
|
-
enableChangePassword: Ref<boolean
|
|
384
|
-
enableForceChangePwd: Ref<boolean
|
|
222
|
+
}, "id" | "binnacleId" | "currentPage" | "apiBaseURL" | "isRegister" | "apiBaseURLAuthNv" | "apiWebSocketURL" | "webSocketToken" | "deviceId" | "aplicacion" | "enableChangePassword" | "enableForceChangePwd" | "userState" | "tgBot" | "systemVer" | "verificarFunc">>, Pick<{
|
|
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>;
|
|
385
235
|
userState: Ref<{
|
|
386
236
|
token?: string | undefined;
|
|
387
237
|
refreshToken?: string | undefined;
|
|
@@ -477,105 +327,10 @@ export declare const useFgeAuthLoginStore: StoreDefinition<"LOGIN_STORE", Pick<{
|
|
|
477
327
|
}[] | undefined;
|
|
478
328
|
roles?: string[] | undefined;
|
|
479
329
|
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;
|
|
575
330
|
}>;
|
|
576
|
-
tgBot: Ref<string
|
|
577
|
-
systemVer: Ref<string
|
|
578
|
-
verificarFunc: Ref<boolean
|
|
331
|
+
tgBot: Ref<string>;
|
|
332
|
+
systemVer: Ref<string>;
|
|
333
|
+
verificarFunc: Ref<boolean>;
|
|
579
334
|
onAutorizarQrNv: (token: string, sessionId: string, usuarioId: number) => Promise<{
|
|
580
335
|
[key: string]: any;
|
|
581
336
|
} | undefined>;
|
|
@@ -617,18 +372,18 @@ export declare const useFgeAuthLoginStore: StoreDefinition<"LOGIN_STORE", Pick<{
|
|
|
617
372
|
on2AuthNuevoServicioLogin: (values: any) => Promise<void>;
|
|
618
373
|
logoutStore: () => void;
|
|
619
374
|
}, never>, Pick<{
|
|
620
|
-
id: Ref<string
|
|
621
|
-
currentPage: Ref<ShowPage
|
|
622
|
-
binnacleId: Ref<string | null
|
|
623
|
-
apiBaseURL: Ref<string
|
|
624
|
-
isRegister: Ref<boolean
|
|
625
|
-
apiBaseURLAuthNv: Ref<string
|
|
626
|
-
apiWebSocketURL: Ref<string
|
|
627
|
-
webSocketToken: Ref<string
|
|
628
|
-
deviceId: Ref<string
|
|
629
|
-
aplicacion: Ref<string
|
|
630
|
-
enableChangePassword: Ref<boolean
|
|
631
|
-
enableForceChangePwd: Ref<boolean
|
|
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>;
|
|
632
387
|
userState: Ref<{
|
|
633
388
|
token?: string | undefined;
|
|
634
389
|
refreshToken?: string | undefined;
|
|
@@ -724,105 +479,10 @@ export declare const useFgeAuthLoginStore: StoreDefinition<"LOGIN_STORE", Pick<{
|
|
|
724
479
|
}[] | undefined;
|
|
725
480
|
roles?: string[] | undefined;
|
|
726
481
|
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;
|
|
822
482
|
}>;
|
|
823
|
-
tgBot: Ref<string
|
|
824
|
-
systemVer: Ref<string
|
|
825
|
-
verificarFunc: Ref<boolean
|
|
483
|
+
tgBot: Ref<string>;
|
|
484
|
+
systemVer: Ref<string>;
|
|
485
|
+
verificarFunc: Ref<boolean>;
|
|
826
486
|
onAutorizarQrNv: (token: string, sessionId: string, usuarioId: number) => Promise<{
|
|
827
487
|
[key: string]: any;
|
|
828
488
|
} | undefined>;
|
|
@@ -865,69 +525,18 @@ export declare const useFgeAuthLoginStore: StoreDefinition<"LOGIN_STORE", Pick<{
|
|
|
865
525
|
logoutStore: () => void;
|
|
866
526
|
}, "onAutorizarQrNv" | "goLoginPage" | "goRegistrarPage" | "goRecuperarCont" | "onLogin" | "on2AuthLogin" | "on2AuthLoginNv" | "onLoginCiudadania" | "setConfigs" | "setDispositivoConfianzaCookie" | "clearUserData" | "updateUserData" | "disable2FAStore" | "onRefreshToken" | "initializeTokensFromStorage" | "on2AuthNuevoServicioLogin" | "logoutStore">>;
|
|
867
527
|
|
|
868
|
-
export declare const useFgeAuthStateStore: StoreDefinition<"STATE_STORE", Pick<{
|
|
869
|
-
id: Ref<string
|
|
870
|
-
isLoading: Ref<boolean
|
|
528
|
+
export declare const useFgeAuthStateStore: StoreDefinition<"STATE_STORE", _UnwrapAll<Pick<{
|
|
529
|
+
id: Ref<string>;
|
|
530
|
+
isLoading: Ref<boolean>;
|
|
871
531
|
setLoading: (value: boolean) => void;
|
|
872
|
-
}, "id" | "isLoading"
|
|
873
|
-
id: Ref<string
|
|
874
|
-
isLoading: Ref<boolean
|
|
532
|
+
}, "id" | "isLoading">>, Pick<{
|
|
533
|
+
id: Ref<string>;
|
|
534
|
+
isLoading: Ref<boolean>;
|
|
875
535
|
setLoading: (value: boolean) => void;
|
|
876
536
|
}, never>, Pick<{
|
|
877
|
-
id: Ref<string
|
|
878
|
-
isLoading: Ref<boolean
|
|
537
|
+
id: Ref<string>;
|
|
538
|
+
isLoading: Ref<boolean>;
|
|
879
539
|
setLoading: (value: boolean) => void;
|
|
880
540
|
}, "setLoading">>;
|
|
881
541
|
|
|
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
|
-
|
|
933
542
|
export { }
|