fge-auth-component 4.0.25 → 4.0.27
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/main.d.ts
CHANGED
|
@@ -10,6 +10,7 @@ import type { _UnwrapAll } from 'pinia';
|
|
|
10
10
|
export declare type ConfigOptions = {
|
|
11
11
|
useYupLocale?: boolean;
|
|
12
12
|
baseUrl: string;
|
|
13
|
+
isRegister?: boolean;
|
|
13
14
|
aplicacion: string;
|
|
14
15
|
baseUrlAuthNv?: string;
|
|
15
16
|
rrhhUrl: string;
|
|
@@ -71,6 +72,7 @@ export declare const useFgeAuthLoginStore: StoreDefinition<"LOGIN_STORE", _Unwra
|
|
|
71
72
|
currentPage: Ref<ShowPage>;
|
|
72
73
|
binnacleId: Ref<string | null>;
|
|
73
74
|
apiBaseURL: Ref<string>;
|
|
75
|
+
isRegister: Ref<boolean>;
|
|
74
76
|
apiBaseURLAuthNv: Ref<string>;
|
|
75
77
|
apiWebSocketURL: Ref<string>;
|
|
76
78
|
webSocketToken: Ref<string>;
|
|
@@ -189,9 +191,10 @@ export declare const useFgeAuthLoginStore: StoreDefinition<"LOGIN_STORE", _Unwra
|
|
|
189
191
|
on2AuthLogin: (values: any) => Promise<void>;
|
|
190
192
|
on2AuthLoginNv: (values: any) => Promise<void>;
|
|
191
193
|
onLoginCiudadania: (values: any) => Promise<void>;
|
|
192
|
-
setConfigs: ({ newBaseURL, newBaseURLAuthNv, newWebSocketUrl, newWebSocketToken, newAplicacion, newRrhhUrl, verificarSiFuncionario, telegramBot, systemVersion, enableChangePasswordMsg, enableForceChangePassword, }: {
|
|
194
|
+
setConfigs: ({ newBaseURL, newBaseURLAuthNv, newIsRegister, newWebSocketUrl, newWebSocketToken, newAplicacion, newRrhhUrl, verificarSiFuncionario, telegramBot, systemVersion, enableChangePasswordMsg, enableForceChangePassword, }: {
|
|
193
195
|
newBaseURL: string;
|
|
194
196
|
newAplicacion: string;
|
|
197
|
+
newIsRegister?: boolean | undefined;
|
|
195
198
|
newBaseURLAuthNv?: string | undefined;
|
|
196
199
|
newWebSocketUrl?: string | undefined;
|
|
197
200
|
newWebSocketToken?: string | undefined;
|
|
@@ -215,11 +218,13 @@ export declare const useFgeAuthLoginStore: StoreDefinition<"LOGIN_STORE", _Unwra
|
|
|
215
218
|
onRefreshToken: () => Promise<void>;
|
|
216
219
|
initializeTokensFromStorage: () => void;
|
|
217
220
|
on2AuthNuevoServicioLogin: (values: any) => Promise<void>;
|
|
218
|
-
|
|
221
|
+
logoutStore: () => void;
|
|
222
|
+
}, "id" | "binnacleId" | "currentPage" | "apiBaseURL" | "isRegister" | "apiBaseURLAuthNv" | "apiWebSocketURL" | "webSocketToken" | "deviceId" | "aplicacion" | "enableChangePassword" | "enableForceChangePwd" | "userState" | "tgBot" | "systemVer" | "verificarFunc">>, Pick<{
|
|
219
223
|
id: Ref<string>;
|
|
220
224
|
currentPage: Ref<ShowPage>;
|
|
221
225
|
binnacleId: Ref<string | null>;
|
|
222
226
|
apiBaseURL: Ref<string>;
|
|
227
|
+
isRegister: Ref<boolean>;
|
|
223
228
|
apiBaseURLAuthNv: Ref<string>;
|
|
224
229
|
apiWebSocketURL: Ref<string>;
|
|
225
230
|
webSocketToken: Ref<string>;
|
|
@@ -338,9 +343,10 @@ export declare const useFgeAuthLoginStore: StoreDefinition<"LOGIN_STORE", _Unwra
|
|
|
338
343
|
on2AuthLogin: (values: any) => Promise<void>;
|
|
339
344
|
on2AuthLoginNv: (values: any) => Promise<void>;
|
|
340
345
|
onLoginCiudadania: (values: any) => Promise<void>;
|
|
341
|
-
setConfigs: ({ newBaseURL, newBaseURLAuthNv, newWebSocketUrl, newWebSocketToken, newAplicacion, newRrhhUrl, verificarSiFuncionario, telegramBot, systemVersion, enableChangePasswordMsg, enableForceChangePassword, }: {
|
|
346
|
+
setConfigs: ({ newBaseURL, newBaseURLAuthNv, newIsRegister, newWebSocketUrl, newWebSocketToken, newAplicacion, newRrhhUrl, verificarSiFuncionario, telegramBot, systemVersion, enableChangePasswordMsg, enableForceChangePassword, }: {
|
|
342
347
|
newBaseURL: string;
|
|
343
348
|
newAplicacion: string;
|
|
349
|
+
newIsRegister?: boolean | undefined;
|
|
344
350
|
newBaseURLAuthNv?: string | undefined;
|
|
345
351
|
newWebSocketUrl?: string | undefined;
|
|
346
352
|
newWebSocketToken?: string | undefined;
|
|
@@ -364,11 +370,13 @@ export declare const useFgeAuthLoginStore: StoreDefinition<"LOGIN_STORE", _Unwra
|
|
|
364
370
|
onRefreshToken: () => Promise<void>;
|
|
365
371
|
initializeTokensFromStorage: () => void;
|
|
366
372
|
on2AuthNuevoServicioLogin: (values: any) => Promise<void>;
|
|
373
|
+
logoutStore: () => void;
|
|
367
374
|
}, never>, Pick<{
|
|
368
375
|
id: Ref<string>;
|
|
369
376
|
currentPage: Ref<ShowPage>;
|
|
370
377
|
binnacleId: Ref<string | null>;
|
|
371
378
|
apiBaseURL: Ref<string>;
|
|
379
|
+
isRegister: Ref<boolean>;
|
|
372
380
|
apiBaseURLAuthNv: Ref<string>;
|
|
373
381
|
apiWebSocketURL: Ref<string>;
|
|
374
382
|
webSocketToken: Ref<string>;
|
|
@@ -487,9 +495,10 @@ export declare const useFgeAuthLoginStore: StoreDefinition<"LOGIN_STORE", _Unwra
|
|
|
487
495
|
on2AuthLogin: (values: any) => Promise<void>;
|
|
488
496
|
on2AuthLoginNv: (values: any) => Promise<void>;
|
|
489
497
|
onLoginCiudadania: (values: any) => Promise<void>;
|
|
490
|
-
setConfigs: ({ newBaseURL, newBaseURLAuthNv, newWebSocketUrl, newWebSocketToken, newAplicacion, newRrhhUrl, verificarSiFuncionario, telegramBot, systemVersion, enableChangePasswordMsg, enableForceChangePassword, }: {
|
|
498
|
+
setConfigs: ({ newBaseURL, newBaseURLAuthNv, newIsRegister, newWebSocketUrl, newWebSocketToken, newAplicacion, newRrhhUrl, verificarSiFuncionario, telegramBot, systemVersion, enableChangePasswordMsg, enableForceChangePassword, }: {
|
|
491
499
|
newBaseURL: string;
|
|
492
500
|
newAplicacion: string;
|
|
501
|
+
newIsRegister?: boolean | undefined;
|
|
493
502
|
newBaseURLAuthNv?: string | undefined;
|
|
494
503
|
newWebSocketUrl?: string | undefined;
|
|
495
504
|
newWebSocketToken?: string | undefined;
|
|
@@ -513,7 +522,8 @@ export declare const useFgeAuthLoginStore: StoreDefinition<"LOGIN_STORE", _Unwra
|
|
|
513
522
|
onRefreshToken: () => Promise<void>;
|
|
514
523
|
initializeTokensFromStorage: () => void;
|
|
515
524
|
on2AuthNuevoServicioLogin: (values: any) => Promise<void>;
|
|
516
|
-
|
|
525
|
+
logoutStore: () => void;
|
|
526
|
+
}, "onAutorizarQrNv" | "goLoginPage" | "goRegistrarPage" | "goRecuperarCont" | "onLogin" | "on2AuthLogin" | "on2AuthLoginNv" | "onLoginCiudadania" | "setConfigs" | "setDispositivoConfianzaCookie" | "clearUserData" | "updateUserData" | "disable2FAStore" | "onRefreshToken" | "initializeTokensFromStorage" | "on2AuthNuevoServicioLogin" | "logoutStore">>;
|
|
517
527
|
|
|
518
528
|
export declare const useFgeAuthStateStore: StoreDefinition<"STATE_STORE", _UnwrapAll<Pick<{
|
|
519
529
|
id: Ref<string>;
|