@byuhbll/components 6.0.0-rc.1 → 6.0.0-rc.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/index.d.ts
CHANGED
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
import * as rxjs from 'rxjs';
|
|
2
2
|
import { Subject } from 'rxjs';
|
|
3
3
|
import * as i0 from '@angular/core';
|
|
4
|
-
import { AfterViewInit, ElementRef, EventEmitter, PipeTransform,
|
|
4
|
+
import { AfterViewInit, ElementRef, EventEmitter, PipeTransform, OnInit, OnDestroy, Signal, OnChanges, SimpleChanges, ApplicationRef, EnvironmentInjector } from '@angular/core';
|
|
5
5
|
import * as _angular_forms from '@angular/forms';
|
|
6
6
|
import { JwtPayload } from 'jwt-decode';
|
|
7
7
|
|
|
@@ -104,7 +104,7 @@ declare class HbllFooterComponent {
|
|
|
104
104
|
protected userStatuses: readonly ["", "Undergraduate", "Graduate", "Faculty", "Staff", "Library Employee", "Other"];
|
|
105
105
|
protected sendEmail: () => void;
|
|
106
106
|
protected handleClose: () => void;
|
|
107
|
-
openEmailForm: (formValues?:
|
|
107
|
+
openEmailForm: (formValues?: Partial<ContactPayload>) => void;
|
|
108
108
|
skipFooter(): void;
|
|
109
109
|
static ɵfac: i0.ɵɵFactoryDeclaration<HbllFooterComponent, never>;
|
|
110
110
|
static ɵcmp: i0.ɵɵComponentDeclaration<HbllFooterComponent, "lib-hbll-footer", never, { "mainsitebaseurl": { "alias": "mainsitebaseurl"; "required": false; }; "myaccountapibaseuri": { "alias": "myaccountapibaseuri"; "required": false; }; "byuid": { "alias": "byuid"; "required": false; }; "emailname": { "alias": "emailname"; "required": false; }; "emailemail": { "alias": "emailemail"; "required": false; }; "emailmessage": { "alias": "emailmessage"; "required": false; }; "emailstatus": { "alias": "emailstatus"; "required": false; }; }, {}, never, never, true, never>;
|
|
@@ -114,7 +114,7 @@ interface TokenPayload {
|
|
|
114
114
|
token: string;
|
|
115
115
|
}
|
|
116
116
|
|
|
117
|
-
declare class HeaderWithImpersonationComponent {
|
|
117
|
+
declare class HeaderWithImpersonationComponent implements OnInit, OnDestroy {
|
|
118
118
|
accessTokenPayload: i0.InputSignal<TokenPayload>;
|
|
119
119
|
oidcBaseUri: i0.InputSignal<string>;
|
|
120
120
|
oidcDefaultIdp: i0.InputSignal<string>;
|
|
@@ -129,6 +129,23 @@ declare class HeaderWithImpersonationComponent {
|
|
|
129
129
|
protected showImpersonateButton: Signal<boolean>;
|
|
130
130
|
protected showImpersonationModal: boolean;
|
|
131
131
|
private isImpersonating;
|
|
132
|
+
private activityEvents;
|
|
133
|
+
private inactivityTimerId;
|
|
134
|
+
private inactivityTimeoutMs;
|
|
135
|
+
private debounceTimerId;
|
|
136
|
+
private debounceDelayMs;
|
|
137
|
+
private trackingActive;
|
|
138
|
+
private injector;
|
|
139
|
+
ngOnInit(): void;
|
|
140
|
+
ngOnDestroy(): void;
|
|
141
|
+
/** Begin listening and start countdown */
|
|
142
|
+
private startInactivityTracking;
|
|
143
|
+
/** Remove listeners and clear timers */
|
|
144
|
+
private stopInactivityTracking;
|
|
145
|
+
/** Reset the inactivity countdown (no-op if not impersonating) */
|
|
146
|
+
private resetInactivityTimer;
|
|
147
|
+
/** Debounce activity to avoid hammering resets during event storms */
|
|
148
|
+
private debouncedResetTimer;
|
|
132
149
|
static ɵfac: i0.ɵɵFactoryDeclaration<HeaderWithImpersonationComponent, never>;
|
|
133
150
|
static ɵcmp: i0.ɵɵComponentDeclaration<HeaderWithImpersonationComponent, "lib-header-with-impersonation", never, { "accessTokenPayload": { "alias": "accessTokenPayload"; "required": true; "isSignal": true; }; "oidcBaseUri": { "alias": "oidcBaseUri"; "required": false; "isSignal": true; }; "oidcDefaultIdp": { "alias": "oidcDefaultIdp"; "required": false; "isSignal": true; }; "mainSiteBaseUrl": { "alias": "mainSiteBaseUrl"; "required": false; "isSignal": true; }; "personBaseUri": { "alias": "personBaseUri"; "required": false; "isSignal": true; }; "myAccountApiBaseUri": { "alias": "myAccountApiBaseUri"; "required": false; "isSignal": true; }; }, { "login": "login"; "logout": "logout"; "endImpersonation": "endImpersonation"; }, never, never, true, never>;
|
|
134
151
|
}
|