fge-auth-component 3.2.4 → 4.0.2
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/FgeButtonCounter.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/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 +11323 -8840
- package/dist/fge-auth-component.umd.js +20 -20
- package/dist/main.d.ts +41 -5
- package/package.json +2 -1
package/dist/main.d.ts
CHANGED
|
@@ -11,14 +11,17 @@ export declare type ConfigOptions = {
|
|
|
11
11
|
useYupLocale?: boolean;
|
|
12
12
|
baseUrl: string;
|
|
13
13
|
aplicacion: string;
|
|
14
|
+
baseUrlAuthNv?: string;
|
|
14
15
|
rrhhUrl: string;
|
|
15
16
|
telegramBot: string;
|
|
16
17
|
systemVersion?: string;
|
|
18
|
+
TOKEN_WEBSOCKET?: string;
|
|
17
19
|
API_SERVER_REDIRECT: string;
|
|
18
20
|
verificarSiFuncionario?: boolean;
|
|
19
21
|
TOKEN_AGETIC: string;
|
|
20
22
|
ENVIRONMENT: 'PROD' | 'TEST' | 'DEV' | 'STAGE';
|
|
21
23
|
MS_AGETIC_URL: string;
|
|
24
|
+
MS_WEBSOCKET_URL: string;
|
|
22
25
|
ENABLE_CHANGE_PASSWORD?: boolean;
|
|
23
26
|
ENABLE_FORCE_CHANGE_PASSWORD?: boolean;
|
|
24
27
|
};
|
|
@@ -68,6 +71,10 @@ export declare const useFgeAuthLoginStore: StoreDefinition<"LOGIN_STORE", _Unwra
|
|
|
68
71
|
currentPage: Ref<ShowPage>;
|
|
69
72
|
binnacleId: Ref<string | null>;
|
|
70
73
|
apiBaseURL: Ref<string>;
|
|
74
|
+
apiBaseURLAuthNv: Ref<string>;
|
|
75
|
+
apiWebSocketURL: Ref<string>;
|
|
76
|
+
webSocketToken: Ref<string>;
|
|
77
|
+
deviceId: Ref<string>;
|
|
71
78
|
aplicacion: Ref<string>;
|
|
72
79
|
enableChangePassword: Ref<boolean>;
|
|
73
80
|
enableForceChangePwd: Ref<boolean>;
|
|
@@ -136,6 +143,7 @@ export declare const useFgeAuthLoginStore: StoreDefinition<"LOGIN_STORE", _Unwra
|
|
|
136
143
|
departamentoId: number;
|
|
137
144
|
} | undefined;
|
|
138
145
|
isAuth?: boolean | undefined;
|
|
146
|
+
isNvAuth?: boolean | undefined;
|
|
139
147
|
binnacleId?: string | undefined;
|
|
140
148
|
apps?: {
|
|
141
149
|
nombre: string;
|
|
@@ -149,6 +157,9 @@ export declare const useFgeAuthLoginStore: StoreDefinition<"LOGIN_STORE", _Unwra
|
|
|
149
157
|
tgBot: Ref<string>;
|
|
150
158
|
systemVer: Ref<string>;
|
|
151
159
|
verificarFunc: Ref<boolean>;
|
|
160
|
+
onAutorizarQrNv: (token: string, sessionId: string, usuarioId: number) => Promise<{
|
|
161
|
+
[key: string]: any;
|
|
162
|
+
} | undefined>;
|
|
152
163
|
goLoginPage: () => void;
|
|
153
164
|
goRegistrarPage: () => void;
|
|
154
165
|
goRecuperarCont: () => void;
|
|
@@ -157,9 +168,12 @@ export declare const useFgeAuthLoginStore: StoreDefinition<"LOGIN_STORE", _Unwra
|
|
|
157
168
|
} | undefined>;
|
|
158
169
|
on2AuthLogin: (values: any) => Promise<void>;
|
|
159
170
|
onLoginCiudadania: (values: any) => Promise<void>;
|
|
160
|
-
setConfigs: ({ newBaseURL, newAplicacion, newRrhhUrl, verificarSiFuncionario, telegramBot, systemVersion, enableChangePasswordMsg, enableForceChangePassword, }: {
|
|
171
|
+
setConfigs: ({ newBaseURL, newBaseURLAuthNv, newWebSocketUrl, newWebSocketToken, newAplicacion, newRrhhUrl, verificarSiFuncionario, telegramBot, systemVersion, enableChangePasswordMsg, enableForceChangePassword, }: {
|
|
161
172
|
newBaseURL: string;
|
|
162
173
|
newAplicacion: string;
|
|
174
|
+
newBaseURLAuthNv?: string | undefined;
|
|
175
|
+
newWebSocketUrl?: string | undefined;
|
|
176
|
+
newWebSocketToken?: string | undefined;
|
|
163
177
|
newRrhhUrl: string;
|
|
164
178
|
verificarSiFuncionario?: boolean | undefined;
|
|
165
179
|
telegramBot: string;
|
|
@@ -178,11 +192,15 @@ export declare const useFgeAuthLoginStore: StoreDefinition<"LOGIN_STORE", _Unwra
|
|
|
178
192
|
}) => void;
|
|
179
193
|
disable2FAStore: () => void;
|
|
180
194
|
onRefreshToken: () => Promise<void>;
|
|
181
|
-
}, "id" | "binnacleId" | "currentPage" | "apiBaseURL" | "aplicacion" | "enableChangePassword" | "enableForceChangePwd" | "userState" | "tgBot" | "systemVer" | "verificarFunc">>, Pick<{
|
|
195
|
+
}, "id" | "binnacleId" | "currentPage" | "apiBaseURL" | "apiBaseURLAuthNv" | "apiWebSocketURL" | "webSocketToken" | "deviceId" | "aplicacion" | "enableChangePassword" | "enableForceChangePwd" | "userState" | "tgBot" | "systemVer" | "verificarFunc">>, Pick<{
|
|
182
196
|
id: Ref<string>;
|
|
183
197
|
currentPage: Ref<ShowPage>;
|
|
184
198
|
binnacleId: Ref<string | null>;
|
|
185
199
|
apiBaseURL: Ref<string>;
|
|
200
|
+
apiBaseURLAuthNv: Ref<string>;
|
|
201
|
+
apiWebSocketURL: Ref<string>;
|
|
202
|
+
webSocketToken: Ref<string>;
|
|
203
|
+
deviceId: Ref<string>;
|
|
186
204
|
aplicacion: Ref<string>;
|
|
187
205
|
enableChangePassword: Ref<boolean>;
|
|
188
206
|
enableForceChangePwd: Ref<boolean>;
|
|
@@ -251,6 +269,7 @@ export declare const useFgeAuthLoginStore: StoreDefinition<"LOGIN_STORE", _Unwra
|
|
|
251
269
|
departamentoId: number;
|
|
252
270
|
} | undefined;
|
|
253
271
|
isAuth?: boolean | undefined;
|
|
272
|
+
isNvAuth?: boolean | undefined;
|
|
254
273
|
binnacleId?: string | undefined;
|
|
255
274
|
apps?: {
|
|
256
275
|
nombre: string;
|
|
@@ -264,6 +283,9 @@ export declare const useFgeAuthLoginStore: StoreDefinition<"LOGIN_STORE", _Unwra
|
|
|
264
283
|
tgBot: Ref<string>;
|
|
265
284
|
systemVer: Ref<string>;
|
|
266
285
|
verificarFunc: Ref<boolean>;
|
|
286
|
+
onAutorizarQrNv: (token: string, sessionId: string, usuarioId: number) => Promise<{
|
|
287
|
+
[key: string]: any;
|
|
288
|
+
} | undefined>;
|
|
267
289
|
goLoginPage: () => void;
|
|
268
290
|
goRegistrarPage: () => void;
|
|
269
291
|
goRecuperarCont: () => void;
|
|
@@ -272,9 +294,12 @@ export declare const useFgeAuthLoginStore: StoreDefinition<"LOGIN_STORE", _Unwra
|
|
|
272
294
|
} | undefined>;
|
|
273
295
|
on2AuthLogin: (values: any) => Promise<void>;
|
|
274
296
|
onLoginCiudadania: (values: any) => Promise<void>;
|
|
275
|
-
setConfigs: ({ newBaseURL, newAplicacion, newRrhhUrl, verificarSiFuncionario, telegramBot, systemVersion, enableChangePasswordMsg, enableForceChangePassword, }: {
|
|
297
|
+
setConfigs: ({ newBaseURL, newBaseURLAuthNv, newWebSocketUrl, newWebSocketToken, newAplicacion, newRrhhUrl, verificarSiFuncionario, telegramBot, systemVersion, enableChangePasswordMsg, enableForceChangePassword, }: {
|
|
276
298
|
newBaseURL: string;
|
|
277
299
|
newAplicacion: string;
|
|
300
|
+
newBaseURLAuthNv?: string | undefined;
|
|
301
|
+
newWebSocketUrl?: string | undefined;
|
|
302
|
+
newWebSocketToken?: string | undefined;
|
|
278
303
|
newRrhhUrl: string;
|
|
279
304
|
verificarSiFuncionario?: boolean | undefined;
|
|
280
305
|
telegramBot: string;
|
|
@@ -298,6 +323,10 @@ export declare const useFgeAuthLoginStore: StoreDefinition<"LOGIN_STORE", _Unwra
|
|
|
298
323
|
currentPage: Ref<ShowPage>;
|
|
299
324
|
binnacleId: Ref<string | null>;
|
|
300
325
|
apiBaseURL: Ref<string>;
|
|
326
|
+
apiBaseURLAuthNv: Ref<string>;
|
|
327
|
+
apiWebSocketURL: Ref<string>;
|
|
328
|
+
webSocketToken: Ref<string>;
|
|
329
|
+
deviceId: Ref<string>;
|
|
301
330
|
aplicacion: Ref<string>;
|
|
302
331
|
enableChangePassword: Ref<boolean>;
|
|
303
332
|
enableForceChangePwd: Ref<boolean>;
|
|
@@ -366,6 +395,7 @@ export declare const useFgeAuthLoginStore: StoreDefinition<"LOGIN_STORE", _Unwra
|
|
|
366
395
|
departamentoId: number;
|
|
367
396
|
} | undefined;
|
|
368
397
|
isAuth?: boolean | undefined;
|
|
398
|
+
isNvAuth?: boolean | undefined;
|
|
369
399
|
binnacleId?: string | undefined;
|
|
370
400
|
apps?: {
|
|
371
401
|
nombre: string;
|
|
@@ -379,6 +409,9 @@ export declare const useFgeAuthLoginStore: StoreDefinition<"LOGIN_STORE", _Unwra
|
|
|
379
409
|
tgBot: Ref<string>;
|
|
380
410
|
systemVer: Ref<string>;
|
|
381
411
|
verificarFunc: Ref<boolean>;
|
|
412
|
+
onAutorizarQrNv: (token: string, sessionId: string, usuarioId: number) => Promise<{
|
|
413
|
+
[key: string]: any;
|
|
414
|
+
} | undefined>;
|
|
382
415
|
goLoginPage: () => void;
|
|
383
416
|
goRegistrarPage: () => void;
|
|
384
417
|
goRecuperarCont: () => void;
|
|
@@ -387,9 +420,12 @@ export declare const useFgeAuthLoginStore: StoreDefinition<"LOGIN_STORE", _Unwra
|
|
|
387
420
|
} | undefined>;
|
|
388
421
|
on2AuthLogin: (values: any) => Promise<void>;
|
|
389
422
|
onLoginCiudadania: (values: any) => Promise<void>;
|
|
390
|
-
setConfigs: ({ newBaseURL, newAplicacion, newRrhhUrl, verificarSiFuncionario, telegramBot, systemVersion, enableChangePasswordMsg, enableForceChangePassword, }: {
|
|
423
|
+
setConfigs: ({ newBaseURL, newBaseURLAuthNv, newWebSocketUrl, newWebSocketToken, newAplicacion, newRrhhUrl, verificarSiFuncionario, telegramBot, systemVersion, enableChangePasswordMsg, enableForceChangePassword, }: {
|
|
391
424
|
newBaseURL: string;
|
|
392
425
|
newAplicacion: string;
|
|
426
|
+
newBaseURLAuthNv?: string | undefined;
|
|
427
|
+
newWebSocketUrl?: string | undefined;
|
|
428
|
+
newWebSocketToken?: string | undefined;
|
|
393
429
|
newRrhhUrl: string;
|
|
394
430
|
verificarSiFuncionario?: boolean | undefined;
|
|
395
431
|
telegramBot: string;
|
|
@@ -408,7 +444,7 @@ export declare const useFgeAuthLoginStore: StoreDefinition<"LOGIN_STORE", _Unwra
|
|
|
408
444
|
}) => void;
|
|
409
445
|
disable2FAStore: () => void;
|
|
410
446
|
onRefreshToken: () => Promise<void>;
|
|
411
|
-
}, "goLoginPage" | "goRegistrarPage" | "goRecuperarCont" | "onLogin" | "on2AuthLogin" | "onLoginCiudadania" | "setConfigs" | "setDispositivoConfianzaCookie" | "clearUserData" | "updateUserData" | "disable2FAStore" | "onRefreshToken">>;
|
|
447
|
+
}, "onAutorizarQrNv" | "goLoginPage" | "goRegistrarPage" | "goRecuperarCont" | "onLogin" | "on2AuthLogin" | "onLoginCiudadania" | "setConfigs" | "setDispositivoConfianzaCookie" | "clearUserData" | "updateUserData" | "disable2FAStore" | "onRefreshToken">>;
|
|
412
448
|
|
|
413
449
|
export declare const useFgeAuthStateStore: StoreDefinition<"STATE_STORE", _UnwrapAll<Pick<{
|
|
414
450
|
id: Ref<string>;
|
package/package.json
CHANGED
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "fge-auth-component",
|
|
3
3
|
"private": false,
|
|
4
|
-
"version": "
|
|
4
|
+
"version": "4.0.2",
|
|
5
5
|
"type": "module",
|
|
6
6
|
"files": [
|
|
7
7
|
"dist"
|
|
@@ -41,6 +41,7 @@
|
|
|
41
41
|
"dependencies": {
|
|
42
42
|
"radix-vue": "^1.9.4",
|
|
43
43
|
"serve": "^14.2.4",
|
|
44
|
+
"socket.io-client": "^4.8.1",
|
|
44
45
|
"vue-login-adds": "^3.0.4",
|
|
45
46
|
"vue3-toastify": "^0.2.2"
|
|
46
47
|
},
|