@brggroup/share-lib 0.2.25 → 0.2.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/README.md +77 -77
- package/fesm2022/brggroup-share-lib.mjs +7181 -1627
- package/fesm2022/brggroup-share-lib.mjs.map +1 -1
- package/lib/WF/wf-editor/workflow-editor.component.d.ts +1 -1
- package/lib/WF/wf-editor/workflow-editor.component.d.ts.map +1 -1
- package/lib/admin/component/dic-domain/dic-domain-list/dic-domain-list.d.ts.map +1 -1
- package/lib/admin/component/entity-change-log/entity-change-log.component.d.ts +13 -0
- package/lib/admin/component/entity-change-log/entity-change-log.component.d.ts.map +1 -0
- package/lib/admin/component/permission/role-permission/role-permission.component.d.ts +1 -1
- package/lib/admin/component/permission/role-permission/role-permission.component.d.ts.map +1 -1
- package/lib/admin/component/setting/list/setting-list.d.ts.map +1 -1
- package/lib/admin/component/sso-config/sso-config.component.d.ts +200 -0
- package/lib/admin/component/sso-config/sso-config.component.d.ts.map +1 -0
- package/lib/admin/component/user/list/user-list.d.ts.map +1 -1
- package/lib/admin/component/user/profile/user_profile.d.ts +17 -0
- package/lib/admin/component/user/profile/user_profile.d.ts.map +1 -1
- package/lib/admin/model/entity-change-log.model.d.ts +117 -0
- package/lib/admin/model/entity-change-log.model.d.ts.map +1 -0
- package/lib/admin/service/entity-change-log.service.d.ts +25 -0
- package/lib/admin/service/entity-change-log.service.d.ts.map +1 -0
- package/lib/admin/service/org.service.d.ts +1 -1
- package/lib/admin/service/org.service.d.ts.map +1 -1
- package/lib/admin/service/sso-admin.service.d.ts +46 -0
- package/lib/admin/service/sso-admin.service.d.ts.map +1 -0
- package/lib/auth/auth.guard.d.ts.map +1 -1
- package/lib/auth/auth.interceptor.d.ts.map +1 -1
- package/lib/auth/auth.service.d.ts +34 -1
- package/lib/auth/auth.service.d.ts.map +1 -1
- package/lib/auth/session-manager.service.d.ts +5 -1
- package/lib/auth/session-manager.service.d.ts.map +1 -1
- package/lib/auth/sso.model.d.ts +640 -0
- package/lib/auth/sso.model.d.ts.map +1 -0
- package/lib/auth/token.storage.d.ts +6 -0
- package/lib/auth/token.storage.d.ts.map +1 -1
- package/lib/components/base.component.d.ts +1 -0
- package/lib/components/base.component.d.ts.map +1 -1
- package/lib/components/entity-change-history/entity-change-history.component.d.ts +114 -0
- package/lib/components/entity-change-history/entity-change-history.component.d.ts.map +1 -0
- package/lib/components/login/login.component.d.ts +11 -1
- package/lib/components/login/login.component.d.ts.map +1 -1
- package/lib/components/login-1/login.component.d.ts +11 -1
- package/lib/components/login-1/login.component.d.ts.map +1 -1
- package/lib/components/login-2/login.component.d.ts +11 -1
- package/lib/components/login-2/login.component.d.ts.map +1 -1
- package/lib/components/sso-callback/sso-callback.component.d.ts +19 -0
- package/lib/components/sso-callback/sso-callback.component.d.ts.map +1 -0
- package/lib/drive/components/drive-explorer/controllers/drive-explorer-drawers.base.d.ts +14 -0
- package/lib/drive/components/drive-explorer/controllers/drive-explorer-drawers.base.d.ts.map +1 -1
- package/lib/drive/components/drive-explorer/controllers/drive-explorer-state.base.d.ts +12 -0
- package/lib/drive/components/drive-explorer/controllers/drive-explorer-state.base.d.ts.map +1 -1
- package/lib/drive/components/drive-explorer/controllers/drive-explorer-templates.base.d.ts +2 -0
- package/lib/drive/components/drive-explorer/controllers/drive-explorer-templates.base.d.ts.map +1 -1
- package/lib/drive/components/drive-explorer/drive-explorer.d.ts.map +1 -1
- package/lib/drive/components/drive-permission-matrix/drive-permission-matrix.base.d.ts +43 -40
- package/lib/drive/components/drive-permission-matrix/drive-permission-matrix.base.d.ts.map +1 -1
- package/lib/drive/components/drive-permission-matrix/drive-permission-matrix.d.ts +11 -9
- package/lib/drive/components/drive-permission-matrix/drive-permission-matrix.d.ts.map +1 -1
- package/lib/drive/components/drive-project-permission/drive-project-permission.d.ts +199 -0
- package/lib/drive/components/drive-project-permission/drive-project-permission.d.ts.map +1 -0
- package/lib/drive/components/drive-share-modal/drive-share-modal.d.ts +6 -0
- package/lib/drive/components/drive-share-modal/drive-share-modal.d.ts.map +1 -1
- package/lib/drive/components/index.d.ts +1 -0
- package/lib/drive/components/index.d.ts.map +1 -1
- package/lib/drive/models/enums.model.d.ts +4 -2
- package/lib/drive/models/enums.model.d.ts.map +1 -1
- package/lib/drive/models/explorer.model.d.ts +1 -0
- package/lib/drive/models/explorer.model.d.ts.map +1 -1
- package/lib/drive/models/index.d.ts +2 -0
- package/lib/drive/models/index.d.ts.map +1 -1
- package/lib/drive/models/permission-matrix.model.d.ts +2 -1
- package/lib/drive/models/permission-matrix.model.d.ts.map +1 -1
- package/lib/drive/models/project-permission.model.d.ts +163 -0
- package/lib/drive/models/project-permission.model.d.ts.map +1 -0
- package/lib/drive/models/sharing.model.d.ts +4 -0
- package/lib/drive/models/sharing.model.d.ts.map +1 -1
- package/lib/drive/models/workflow-drive-permission.model.d.ts +69 -0
- package/lib/drive/models/workflow-drive-permission.model.d.ts.map +1 -0
- package/lib/drive/services/drive-explorer.base.d.ts.map +1 -1
- package/lib/drive/services/drive-sharing-quota.base.d.ts +15 -1
- package/lib/drive/services/drive-sharing-quota.base.d.ts.map +1 -1
- package/lib/drive/services/drive-state.base.d.ts +14 -1
- package/lib/drive/services/drive-state.base.d.ts.map +1 -1
- package/lib/drive/services/drive-upload.base.d.ts +13 -3
- package/lib/drive/services/drive-upload.base.d.ts.map +1 -1
- package/lib/drive/utils/drive-format.util.d.ts.map +1 -1
- package/lib/model.d.ts +1 -1
- package/lib/model.d.ts.map +1 -1
- package/lib/services/noti.service.d.ts +3 -0
- package/lib/services/noti.service.d.ts.map +1 -1
- package/lib/services/router-monitor.service.d.ts.map +1 -1
- package/package.json +1 -1
- package/public-api.d.ts +8 -0
- package/public-api.d.ts.map +1 -1
- package/styles/button.scss +51 -51
- package/styles/color.scss +36 -36
- package/styles/dropdown.scss +18 -18
- package/styles/layout.scss +238 -238
- package/styles/mobile.scss +39 -39
- package/styles/select.scss +93 -93
- package/styles/single-class.scss +163 -163
- package/styles/tab.scss +71 -71
- package/styles/table.scss +528 -528
- package/styles.scss +615 -592
- package/theme.less +9 -9
|
@@ -0,0 +1,46 @@
|
|
|
1
|
+
import { HTTPService } from '../../services/api-service/http.service';
|
|
2
|
+
import { PagingResult, RespondData } from '../../model';
|
|
3
|
+
import { AdminLinkExternalIdentityRequestDto, MfaSetupResultDto, SsoUserSessionsAndLinksDto, MfaVerifyRequestDto, SaveSsoClientModel, SaveSsoClientResultDto, SaveSsoProviderModel, SaveSsoServerJobTitleModel, SaveSsoServerOrgModel, SaveSsoServerRoleModel, SaveSsoServerUserModel, SsoAuditLogDto, SsoAuditLogFilter, SsoClientAdminDto, SsoClientFilter, SsoDashboardStatsDto, SsoIdpServerMetadataDto, SsoProviderAdminDto, SsoProviderFilter, SsoServerJobTitleDto, SsoServerJobTitleFilter, SsoServerOrgDto, SsoServerRoleDto, SsoServerRoleFilter, SsoServerUserDto, SsoServerUserFilter, SsoSigningKeyDto, SsoTestConnectionResultDto } from '../../auth/sso.model';
|
|
4
|
+
import * as i0 from "@angular/core";
|
|
5
|
+
export declare class SsoAdminService extends HTTPService {
|
|
6
|
+
private readonly baseUrl;
|
|
7
|
+
getDashboard(): Promise<RespondData<SsoDashboardStatsDto>>;
|
|
8
|
+
getProvidersPaging(filter: SsoProviderFilter): Promise<RespondData<PagingResult<SsoProviderAdminDto>>>;
|
|
9
|
+
getProviderById(id: string): Promise<RespondData<SsoProviderAdminDto>>;
|
|
10
|
+
saveProvider(model: SaveSsoProviderModel): Promise<RespondData<string>>;
|
|
11
|
+
toggleProvider(id: string, isEnabled: boolean): Promise<RespondData>;
|
|
12
|
+
deleteProvider(id: string): Promise<RespondData>;
|
|
13
|
+
testConnection(id: string): Promise<RespondData<SsoTestConnectionResultDto>>;
|
|
14
|
+
getAuditLogsPaging(filter: SsoAuditLogFilter): Promise<RespondData<PagingResult<SsoAuditLogDto>>>;
|
|
15
|
+
getIdpServerMetadata(): Promise<RespondData<SsoIdpServerMetadataDto>>;
|
|
16
|
+
getClientsPaging(filter: SsoClientFilter): Promise<RespondData<PagingResult<SsoClientAdminDto>>>;
|
|
17
|
+
saveClient(model: SaveSsoClientModel): Promise<RespondData<SaveSsoClientResultDto>>;
|
|
18
|
+
rotateClientSecret(id: string): Promise<RespondData<SaveSsoClientResultDto>>;
|
|
19
|
+
toggleClient(id: string, isEnabled: boolean): Promise<RespondData>;
|
|
20
|
+
deleteClient(id: string): Promise<RespondData>;
|
|
21
|
+
getSigningKeys(): Promise<RespondData<SsoSigningKeyDto[]>>;
|
|
22
|
+
rotateSigningKey(): Promise<RespondData>;
|
|
23
|
+
getSsoServerOrgs(): Promise<RespondData<SsoServerOrgDto[]>>;
|
|
24
|
+
saveSsoServerOrg(model: SaveSsoServerOrgModel): Promise<RespondData<string>>;
|
|
25
|
+
deleteSsoServerOrg(id: string): Promise<RespondData>;
|
|
26
|
+
getSsoServerUsersPaging(filter: SsoServerUserFilter): Promise<RespondData<PagingResult<SsoServerUserDto>>>;
|
|
27
|
+
saveSsoServerUser(model: SaveSsoServerUserModel): Promise<RespondData<string>>;
|
|
28
|
+
toggleSsoServerUserLock(id: string, isLocked: boolean): Promise<RespondData>;
|
|
29
|
+
revokeSsoServerUserSessions(id: string): Promise<RespondData>;
|
|
30
|
+
getSsoServerRolesPaging(filter: SsoServerRoleFilter): Promise<RespondData<PagingResult<SsoServerRoleDto>>>;
|
|
31
|
+
saveSsoServerRole(model: SaveSsoServerRoleModel): Promise<RespondData<string>>;
|
|
32
|
+
deleteSsoServerRole(id: string): Promise<RespondData>;
|
|
33
|
+
getSsoServerJobTitles(filter: SsoServerJobTitleFilter): Promise<RespondData<SsoServerJobTitleDto[]>>;
|
|
34
|
+
saveSsoServerJobTitle(model: SaveSsoServerJobTitleModel): Promise<RespondData<string>>;
|
|
35
|
+
deleteSsoServerJobTitle(id: string): Promise<RespondData>;
|
|
36
|
+
setupAdminUserMfa(userId: string): Promise<RespondData<MfaSetupResultDto>>;
|
|
37
|
+
enableAdminUserMfa(payload: MfaVerifyRequestDto): Promise<RespondData>;
|
|
38
|
+
disableAdminUserMfa(userId: string): Promise<RespondData>;
|
|
39
|
+
getUserSessionsAndLinks(userId: string): Promise<RespondData<SsoUserSessionsAndLinksDto>>;
|
|
40
|
+
revokeUserSingleSession(userId: string, sessionId: string, sessionSource: string): Promise<RespondData>;
|
|
41
|
+
adminUnlinkUserIdentity(userId: string, externalIdentityId: string): Promise<RespondData>;
|
|
42
|
+
adminLinkUserIdentity(payload: AdminLinkExternalIdentityRequestDto): Promise<RespondData>;
|
|
43
|
+
static ɵfac: i0.ɵɵFactoryDeclaration<SsoAdminService, never>;
|
|
44
|
+
static ɵprov: i0.ɵɵInjectableDeclaration<SsoAdminService>;
|
|
45
|
+
}
|
|
46
|
+
//# sourceMappingURL=sso-admin.service.d.ts.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"sso-admin.service.d.ts","sourceRoot":"","sources":["../../../../../projects/share/src/lib/admin/service/sso-admin.service.ts"],"names":[],"mappings":"AAEA,OAAO,EAAE,WAAW,EAAE,MAAM,yCAAyC,CAAC;AAEtE,OAAO,EAAE,YAAY,EAAE,WAAW,EAAE,MAAM,aAAa,CAAC;AACxD,OAAO,EACL,mCAAmC,EACnC,iBAAiB,EACjB,0BAA0B,EAC1B,mBAAmB,EACnB,kBAAkB,EAClB,sBAAsB,EACtB,oBAAoB,EACpB,0BAA0B,EAC1B,qBAAqB,EACrB,sBAAsB,EACtB,sBAAsB,EACtB,cAAc,EACd,iBAAiB,EACjB,iBAAiB,EACjB,eAAe,EACf,oBAAoB,EACpB,uBAAuB,EACvB,mBAAmB,EACnB,iBAAiB,EACjB,oBAAoB,EACpB,uBAAuB,EACvB,eAAe,EACf,gBAAgB,EAChB,mBAAmB,EACnB,gBAAgB,EAChB,mBAAmB,EACnB,gBAAgB,EAChB,0BAA0B,EAC3B,MAAM,sBAAsB,CAAC;;AAE9B,qBAGa,eAAgB,SAAQ,WAAW;IAC9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AT,SAAS;
|
|
1
|
+
{"version":3,"file":"auth.guard.d.ts","sourceRoot":"","sources":["../../../../projects/share/src/lib/auth/auth.guard.ts"],"names":[],"mappings":"AACA,OAAO,EAAE,sBAAsB,EAAE,WAAW,EAAE,MAAM,EAAE,mBAAmB,EAAE,OAAO,EAAE,MAAM,iBAAiB,CAAC;AAC5G,OAAO,EAAE,WAAW,EAAE,MAAM,gBAAgB,CAAC;AAE7C,OAAO,EAAE,iBAAiB,EAAE,MAAM,sBAAsB,CAAC;;AAEzD,qBAGa,SAAU,YAAW,WAAW;IAC3C,MAAM,SAAkB;IACxB,WAAW,cAAuB;IAClC,iBAAiB,oBAA6B;IAExC,WAAW,CAAC,KAAK,EAAE,sBAAsB,EAAE,KAAK,EAAE,mBAAmB,GAAG,OAAO,CAAC,OAAO,GAAG,OAAO,CAAC;yCAL7F,SAAS;6CAAT,SAAS;CA4CrB"}
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"auth.interceptor.d.ts","sourceRoot":"","sources":["../../../../projects/share/src/lib/auth/auth.interceptor.ts"],"names":[],"mappings":"AAAA,OAAO,EAAqB,aAAa,EAAc,WAAW,EAAE,MAAM,sBAAsB,CAAC;
|
|
1
|
+
{"version":3,"file":"auth.interceptor.d.ts","sourceRoot":"","sources":["../../../../projects/share/src/lib/auth/auth.interceptor.ts"],"names":[],"mappings":"AAAA,OAAO,EAAqB,aAAa,EAAc,WAAW,EAAE,MAAM,sBAAsB,CAAC;AA2DjG,wBAAgB,eAAe,CAAC,GAAG,EAAE,WAAW,CAAC,OAAO,CAAC,EAAE,IAAI,EAAE,aAAa,gFAmD7E"}
|
|
@@ -6,6 +6,7 @@ import { CommonService } from '../services/api-service/common.service';
|
|
|
6
6
|
import { RespondData } from '../model';
|
|
7
7
|
import { App_Org } from '../admin/model/org.model';
|
|
8
8
|
import { CurrentUser } from './auth-abac';
|
|
9
|
+
import { MfaSetupResultDto, MfaVerifyRequestDto, PendingMfaChallengeState, SsoCallbackRequestDto, SsoCallbackResultDto, SsoDomainDiscoveryResultDto, SsoExchangeTicketRequestDto, SsoInitiateRequestDto, SsoInitiateResponseDto, SsoPublicProviderDto, UserIdentityAliasDto, UserSsoProfileOverviewDto } from './sso.model';
|
|
9
10
|
import * as i0 from "@angular/core";
|
|
10
11
|
export declare const URLs: {
|
|
11
12
|
login: string;
|
|
@@ -16,6 +17,21 @@ export declare const URLs: {
|
|
|
16
17
|
setPass: string;
|
|
17
18
|
changeOrgLogin: string;
|
|
18
19
|
getUserPermission: string;
|
|
20
|
+
ssoProviders: string;
|
|
21
|
+
ssoDiscover: string;
|
|
22
|
+
ssoInitiate: string;
|
|
23
|
+
ssoCallback: string;
|
|
24
|
+
ssoExchangeTicket: string;
|
|
25
|
+
ssoMyIdentities: string;
|
|
26
|
+
ssoMyAliasesSave: string;
|
|
27
|
+
ssoMyAliasesDelete: string;
|
|
28
|
+
ssoMfaSetup: string;
|
|
29
|
+
ssoMfaEnable: string;
|
|
30
|
+
ssoMfaDisable: string;
|
|
31
|
+
ssoMfaVerifyLogin: string;
|
|
32
|
+
ssoLinkInitiate: string;
|
|
33
|
+
ssoUnlink: string;
|
|
34
|
+
ssoSloUrl: string;
|
|
19
35
|
};
|
|
20
36
|
export interface MenuPermissionResult {
|
|
21
37
|
URL: string;
|
|
@@ -32,11 +48,28 @@ export declare class AuthService extends HTTPService {
|
|
|
32
48
|
translate: TranslateService;
|
|
33
49
|
private ngZone;
|
|
34
50
|
static pingInterVal: ReturnType<typeof setInterval> | null;
|
|
51
|
+
pendingMfaChallenge: PendingMfaChallengeState | null;
|
|
35
52
|
refreshToken(): Promise<RespondData | null>;
|
|
36
53
|
sendRftToken(body: any): Promise<RespondData>;
|
|
37
|
-
_signIn(username: string, password: string, orgid: string
|
|
54
|
+
_signIn(username: string, password: string, orgid: string, returnUrl: string, MODULE_IN_USE: boolean): Promise<boolean>;
|
|
38
55
|
sendSignIn(body: any): Promise<RespondData>;
|
|
39
56
|
GetCsrfToken(): Promise<RespondData>;
|
|
57
|
+
getPublicSsoProviders(): Promise<SsoPublicProviderDto[]>;
|
|
58
|
+
discoverSsoByEmail(emailOrUsername: string): Promise<SsoDomainDiscoveryResultDto | null>;
|
|
59
|
+
cancelMfaStep(): void;
|
|
60
|
+
verifyMfaStep(otpCode: string): Promise<boolean>;
|
|
61
|
+
initiateSsoLogin(req: SsoInitiateRequestDto): Promise<RespondData<SsoInitiateResponseDto>>;
|
|
62
|
+
redirectToSsoProvider(providerCode: string, orgId?: string | null, returnUrl?: string | null, loginHint?: string | null): Promise<boolean>;
|
|
63
|
+
completeSsoCallback(payload: SsoCallbackRequestDto): Promise<RespondData<SsoCallbackResultDto>>;
|
|
64
|
+
exchangeSsoTicket(payload: SsoExchangeTicketRequestDto): Promise<RespondData<SsoCallbackResultDto>>;
|
|
65
|
+
getMySsoIdentities(): Promise<RespondData<UserSsoProfileOverviewDto>>;
|
|
66
|
+
saveMyAlias(model: UserIdentityAliasDto): Promise<RespondData<UserIdentityAliasDto>>;
|
|
67
|
+
deleteMyAlias(aliasId: string): Promise<RespondData>;
|
|
68
|
+
setupMyMfa(): Promise<RespondData<MfaSetupResultDto>>;
|
|
69
|
+
enableMyMfa(payload: MfaVerifyRequestDto): Promise<RespondData>;
|
|
70
|
+
disableMyMfa(): Promise<RespondData>;
|
|
71
|
+
initiateSsoAccountLink(providerCode: string): Promise<boolean>;
|
|
72
|
+
unlinkSsoIdentity(externalIdentityId: string): Promise<RespondData>;
|
|
40
73
|
_signOut(): Promise<void>;
|
|
41
74
|
pingAuth(): Promise<boolean>;
|
|
42
75
|
getUserPermission(): Promise<CurrentUser | null>;
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"auth.service.d.ts","sourceRoot":"","sources":["../../../../projects/share/src/lib/auth/auth.service.ts"],"names":[],"mappings":"AAEA,OAAO,EAAE,MAAM,EAAE,MAAM,iBAAiB,CAAC;AACzC,OAAO,EAAE,gBAAgB,EAAE,MAAM,qBAAqB,CA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AAc,CAAC,IAAI,EAAE,GAAG,GAAG,OAAO,CAAC,WAAW,CAAC;IAI/C,OAAO,CAAC,IAAI,EAAE,GAAG,GAAG,OAAO,CAAC,WAAW,CAAC;IAQlC,MAAM,CAAC,CAAC,EAAE,GAAG,GAAG,OAAO,CAAC,IAAI,CAAC;IAiB7B,UAAU,CAAC,CAAC,EAAE,GAAG,GAAG,OAAO,CAAC,WAAW,CAAC;IAQxC,SAAS,CAAC,GAAG,EAAE,OAAO,GAAG,OAAO,CAAC,OAAO,CAAC;IAoBzC,aAAa,CAAC,UAAU,EAAE,GAAG,GAAG,OAAO,CAAC,WAAW,CAAC;IAK1D,aAAa,CAAC,YAAY,CAAC,EAAE,MAAM,GAAG,IAAI;IAe1C,YAAY,IAAI,IAAI;yCA7fT,WAAW;6CAAX,WAAW;CAmgBvB"}
|
|
@@ -1,5 +1,6 @@
|
|
|
1
1
|
import { NgZone, OnDestroy } from '@angular/core';
|
|
2
2
|
import { AuthService } from './auth.service';
|
|
3
|
+
import { StoredUserInfo } from './token.storage';
|
|
3
4
|
import * as i0 from "@angular/core";
|
|
4
5
|
export declare class SessionManagerService implements OnDestroy {
|
|
5
6
|
zone: NgZone;
|
|
@@ -30,7 +31,10 @@ export declare class SessionManagerService implements OnDestroy {
|
|
|
30
31
|
start(): void;
|
|
31
32
|
stop(): void;
|
|
32
33
|
ngOnDestroy(): void;
|
|
33
|
-
login(username: string, password: string, orgid: string
|
|
34
|
+
login(username: string, password: string, orgid: string, returnUrl: string, MODULE_IN_USE: boolean): Promise<boolean>;
|
|
35
|
+
verifyMfaStep(otpCode: string): Promise<boolean>;
|
|
36
|
+
loginWithSso(providerCode: string, orgId?: string | null, returnUrl?: string | null, loginHint?: string | null): Promise<boolean>;
|
|
37
|
+
completeSsoSession(userInfo: StoredUserInfo | null | undefined): void;
|
|
34
38
|
logout(): void;
|
|
35
39
|
private listenActivity;
|
|
36
40
|
private handleUserActivity;
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"session-manager.service.d.ts","sourceRoot":"","sources":["../../../../projects/share/src/lib/auth/session-manager.service.ts"],"names":[],"mappings":"AAAA,OAAO,EAAsB,MAAM,EAAE,SAAS,EAAE,MAAM,eAAe,CAAC;AACtE,OAAO,EAAE,WAAW,EAAE,MAAM,gBAAgB,CAAC;;
|
|
1
|
+
{"version":3,"file":"session-manager.service.d.ts","sourceRoot":"","sources":["../../../../projects/share/src/lib/auth/session-manager.service.ts"],"names":[],"mappings":"AAAA,OAAO,EAAsB,MAAM,EAAE,SAAS,EAAE,MAAM,eAAe,CAAC;AACtE,OAAO,EAAE,WAAW,EAAE,MAAM,gBAAgB,CAAC;AAC7C,OAAO,EAAE,cAAc,EAAgB,MAAM,iBAAiB,CAAC;;AAG/D,qBAGa,qBAAsB,YAAW,SAAS;IAC9C,IAAI,SAAkB;IACtB,WAAW,cAAuB;IACzC,OAAO,CAAC,iBAAiB,CAA6B;IAEtD,OAAO,CAAC,SAAS,CAA8C;IAC/D,OAAO,CAAC,cAAc,CAA+C;IACrE,OAAO,CAAC,kBAAkB,CAA+C;IAEzE,OAAc,QAAQ,SAAM;IAE5B,OAAO,KAAK,SAAS,GAEpB;IAED,OAAO,CAAC,QAAQ,CAAC,UAAU,CAAwB;IACnD,OAAO,CAAC,QAAQ,CAAC,aAAa,CAA2B;IACzD,OAAO,CAAC,QAAQ,CAAC,YAAY,CAAuB;IAEpD,OAAO,CAAC,QAAQ,CAAC,aAAa,CAAuB;IACrD,OAAO,CAAC,QAAQ,CAAC,WAAW,CAAqB;IACjD,OAAO,CAAC,QAAQ,CAAC,YAAY,CAAsB;IACnD,OAAO,CAAC,QAAQ,CAAC,cAAc,CAAwB;IAEvD,OAAO,CAAC,QAAQ,CAAC,eAAe,CAAsE;IACtG,OAAO,CAAC,QAAQ,CAAC,oBAAoB,CAAQ;IAE7C,OAAO,CAAC,QAAQ,CAAC,KAAK,CAA6D;IACnF,OAAO,CAAC,QAAQ,CAAS;IACzB,OAAO,CAA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