@byuhbll/components 6.0.0-rc.0 → 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/fesm2022/byuhbll-components.mjs +214 -127
- package/fesm2022/byuhbll-components.mjs.map +1 -1
- package/index.d.ts +638 -3
- package/package.json +3 -3
- package/lib/animations/animations.d.ts +0 -4
- package/lib/checkbox/checkbox.component.d.ts +0 -6
- package/lib/contact-utils.d.ts +0 -19
- package/lib/copy-tooltip/copy-tooltip.component.d.ts +0 -12
- package/lib/expand-collapse/expand-collapse.component.d.ts +0 -10
- package/lib/hbll-footer/hbll-footer.component.d.ts +0 -33
- package/lib/hbll-header/hbll-header.component.d.ts +0 -38
- package/lib/hbll-header/models/library-hours.d.ts +0 -10
- package/lib/hbll-header/nav-bar/nav-bar.component.d.ts +0 -33
- package/lib/hbll-header/nav-bar-dropdown/nav-bar-dropdown.component.d.ts +0 -18
- package/lib/hbll-header/pipes/library-hours.pipe.d.ts +0 -7
- package/lib/hbll-header/pipes/truncate.pipe.d.ts +0 -7
- package/lib/header-with-impersonation/header-with-impersonation.component.d.ts +0 -22
- package/lib/impersonate-modal/impersonate-modal.component.d.ts +0 -60
- package/lib/impersonation-banner/impersonation-banner.component.d.ts +0 -52
- package/lib/impersonation-banner/models/application-access.d.ts +0 -15
- package/lib/impersonation-banner/models/person-summary.d.ts +0 -33
- package/lib/models/token-payload.d.ts +0 -3
- package/lib/multi-select/multi-select.component.d.ts +0 -52
- package/lib/pipes/hbll-item-type-icon.pipe.d.ts +0 -17
- package/lib/snackbar/snackbar.component.d.ts +0 -67
- package/lib/snackbar/snackbar.service.d.ts +0 -20
- package/lib/ss-search-bar/advanced-search/advanced-search.component.d.ts +0 -216
- package/lib/ss-search-bar/constants.d.ts +0 -153
- package/lib/ss-search-bar/date-range/date-range.component.d.ts +0 -25
- package/lib/ss-search-bar/models/advanced-search.model.d.ts +0 -18
- package/lib/ss-search-bar/models/search-config.model.d.ts +0 -32
- package/lib/ss-search-bar/models/search-scope.model.d.ts +0 -4
- package/lib/ss-search-bar/pipes/advanced-field-warning.pipe.d.ts +0 -9
- package/lib/ss-search-bar/pipes/advanced-queries.pipe.d.ts +0 -12
- package/lib/ss-search-bar/pipes/field-by-scope.pipe.d.ts +0 -12
- package/lib/ss-search-bar/simple-search/simple-search.component.d.ts +0 -28
- package/lib/ss-search-bar/ss-search-bar.component.d.ts +0 -25
- package/lib/ss-search-bar/utils.d.ts +0 -7
- package/lib/status-button/status-button.component.d.ts +0 -47
- package/lib/utils.d.ts +0 -5
- package/public-api.d.ts +0 -15
package/index.d.ts
CHANGED
|
@@ -1,5 +1,640 @@
|
|
|
1
|
+
import * as rxjs from 'rxjs';
|
|
2
|
+
import { Subject } from 'rxjs';
|
|
3
|
+
import * as i0 from '@angular/core';
|
|
4
|
+
import { AfterViewInit, ElementRef, EventEmitter, PipeTransform, OnInit, OnDestroy, Signal, OnChanges, SimpleChanges, ApplicationRef, EnvironmentInjector } from '@angular/core';
|
|
5
|
+
import * as _angular_forms from '@angular/forms';
|
|
6
|
+
import { JwtPayload } from 'jwt-decode';
|
|
7
|
+
|
|
8
|
+
interface LibraryHours {
|
|
9
|
+
date: string;
|
|
10
|
+
is_closed: boolean;
|
|
11
|
+
open_time: string;
|
|
12
|
+
close_time: string;
|
|
13
|
+
has_exception: boolean;
|
|
14
|
+
exception_title: string;
|
|
15
|
+
exception_message: string;
|
|
16
|
+
is_currently_open: boolean;
|
|
17
|
+
}
|
|
18
|
+
|
|
19
|
+
declare const LIBRARY_HOURS_API_URL = "https://apps.lib.byu.edu/libraryhours/api/hours";
|
|
20
|
+
declare class HbllHeaderComponent implements AfterViewInit {
|
|
21
|
+
private readonly r2;
|
|
22
|
+
private readonly http;
|
|
23
|
+
private readonly bo;
|
|
24
|
+
private doc;
|
|
25
|
+
header: ElementRef;
|
|
26
|
+
navWrapper: ElementRef<HTMLElement>;
|
|
27
|
+
backdrop: ElementRef<HTMLElement>;
|
|
28
|
+
name: string;
|
|
29
|
+
mainsitebaseurl: string;
|
|
30
|
+
showImpersonateButton: i0.InputSignal<boolean>;
|
|
31
|
+
openImpersonationModal: EventEmitter<void>;
|
|
32
|
+
login: EventEmitter<void>;
|
|
33
|
+
logout: EventEmitter<void>;
|
|
34
|
+
private formatDateForHours;
|
|
35
|
+
private accountInfoEl;
|
|
36
|
+
private hoursEl;
|
|
37
|
+
protected get isLoggedIn(): boolean;
|
|
38
|
+
protected libraryHours: i0.Signal<LibraryHours | undefined>;
|
|
39
|
+
protected hoursExceptions$: rxjs.Observable<LibraryHours[]>;
|
|
40
|
+
protected showAccountDropdown: boolean;
|
|
41
|
+
protected showLibraryHours: boolean;
|
|
42
|
+
protected mobileSidebarHeight: number;
|
|
43
|
+
protected showNavBar: boolean;
|
|
44
|
+
protected isScreenSmall: i0.Signal<boolean | undefined>;
|
|
45
|
+
ngAfterViewInit(): void;
|
|
46
|
+
protected openSidebarNav: () => void;
|
|
47
|
+
protected closeSidebarNav: () => void;
|
|
48
|
+
private onResize;
|
|
49
|
+
private setMobileSidebarHeight;
|
|
50
|
+
focusMainContent(): void;
|
|
51
|
+
static ɵfac: i0.ɵɵFactoryDeclaration<HbllHeaderComponent, never>;
|
|
52
|
+
static ɵcmp: i0.ɵɵComponentDeclaration<HbllHeaderComponent, "lib-hbll-header", never, { "name": { "alias": "name"; "required": false; }; "mainsitebaseurl": { "alias": "mainsitebaseurl"; "required": false; }; "showImpersonateButton": { "alias": "showImpersonateButton"; "required": false; "isSignal": true; }; }, { "openImpersonationModal": "openImpersonationModal"; "login": "login"; "logout": "logout"; }, never, never, true, never>;
|
|
53
|
+
}
|
|
54
|
+
|
|
1
55
|
/**
|
|
2
|
-
*
|
|
56
|
+
* Converts an item type to an icon type to be used with Google Material Icons
|
|
57
|
+
*
|
|
58
|
+
* Intended to be used with an imported font, such as: `<link
|
|
59
|
+
rel="stylesheet"
|
|
60
|
+
href="https://fonts.googleapis.com/css2?family=Material+Symbols+Outlined:opsz,wght,FILL,GRAD@24,400,1,0"
|
|
61
|
+
/>`
|
|
62
|
+
*
|
|
63
|
+
* Reference: https://fonts.google.com/icons?selected=Material+Symbols+Outlined:inventory_2:FILL@0;wght@400;GRAD@0;opsz@24&icon.query=invent&icon.size=24&icon.color=%235f6368
|
|
3
64
|
*/
|
|
4
|
-
|
|
5
|
-
|
|
65
|
+
declare class HbllItemTypeIconPipe implements PipeTransform {
|
|
66
|
+
transform(itemType: string): string;
|
|
67
|
+
static ɵfac: i0.ɵɵFactoryDeclaration<HbllItemTypeIconPipe, never>;
|
|
68
|
+
static ɵpipe: i0.ɵɵPipeDeclaration<HbllItemTypeIconPipe, "libByuItemTypeIcon", true>;
|
|
69
|
+
}
|
|
70
|
+
|
|
71
|
+
declare const USER_STATUSES: readonly ["", "Undergraduate", "Graduate", "Faculty", "Staff", "Library Employee", "Other"];
|
|
72
|
+
type UserStatus = (typeof USER_STATUSES)[number];
|
|
73
|
+
interface ContactPayload {
|
|
74
|
+
email?: string;
|
|
75
|
+
message: string;
|
|
76
|
+
name?: string;
|
|
77
|
+
status?: UserStatus;
|
|
78
|
+
}
|
|
79
|
+
declare const getUserStatusFromRoles: (roles: string[]) => UserStatus;
|
|
80
|
+
|
|
81
|
+
declare class HbllFooterComponent {
|
|
82
|
+
private readonly fb;
|
|
83
|
+
private readonly http;
|
|
84
|
+
private readonly footerSkipTargetId;
|
|
85
|
+
private emailDialog;
|
|
86
|
+
mainsitebaseurl: string;
|
|
87
|
+
myaccountapibaseuri: string;
|
|
88
|
+
byuid: string;
|
|
89
|
+
set emailname(name: string);
|
|
90
|
+
set emailemail(email: string);
|
|
91
|
+
set emailmessage(message: string);
|
|
92
|
+
set emailstatus(status: ContactPayload['status']);
|
|
93
|
+
protected date: Date;
|
|
94
|
+
protected isSubmitted: boolean;
|
|
95
|
+
protected isLoading: boolean;
|
|
96
|
+
protected hasConnectionError: boolean;
|
|
97
|
+
protected isEmailSent: boolean;
|
|
98
|
+
protected emailForm: _angular_forms.FormGroup<{
|
|
99
|
+
name: _angular_forms.FormControl<string>;
|
|
100
|
+
email: _angular_forms.FormControl<string>;
|
|
101
|
+
message: _angular_forms.FormControl<string>;
|
|
102
|
+
status: _angular_forms.FormControl<"" | "Other" | "Undergraduate" | "Graduate" | "Faculty" | "Staff" | "Library Employee" | undefined>;
|
|
103
|
+
}>;
|
|
104
|
+
protected userStatuses: readonly ["", "Undergraduate", "Graduate", "Faculty", "Staff", "Library Employee", "Other"];
|
|
105
|
+
protected sendEmail: () => void;
|
|
106
|
+
protected handleClose: () => void;
|
|
107
|
+
openEmailForm: (formValues?: Partial<ContactPayload>) => void;
|
|
108
|
+
skipFooter(): void;
|
|
109
|
+
static ɵfac: i0.ɵɵFactoryDeclaration<HbllFooterComponent, never>;
|
|
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>;
|
|
111
|
+
}
|
|
112
|
+
|
|
113
|
+
interface TokenPayload {
|
|
114
|
+
token: string;
|
|
115
|
+
}
|
|
116
|
+
|
|
117
|
+
declare class HeaderWithImpersonationComponent implements OnInit, OnDestroy {
|
|
118
|
+
accessTokenPayload: i0.InputSignal<TokenPayload>;
|
|
119
|
+
oidcBaseUri: i0.InputSignal<string>;
|
|
120
|
+
oidcDefaultIdp: i0.InputSignal<string>;
|
|
121
|
+
mainSiteBaseUrl: i0.InputSignal<string>;
|
|
122
|
+
personBaseUri: i0.InputSignal<string>;
|
|
123
|
+
myAccountApiBaseUri: i0.InputSignal<string>;
|
|
124
|
+
login: EventEmitter<void>;
|
|
125
|
+
logout: EventEmitter<void>;
|
|
126
|
+
endImpersonation: EventEmitter<void>;
|
|
127
|
+
protected parsedToken: Signal<(JwtPayload & Record<string, any>) | null>;
|
|
128
|
+
protected name: Signal<any>;
|
|
129
|
+
protected showImpersonateButton: Signal<boolean>;
|
|
130
|
+
protected showImpersonationModal: boolean;
|
|
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;
|
|
149
|
+
static ɵfac: i0.ɵɵFactoryDeclaration<HeaderWithImpersonationComponent, never>;
|
|
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>;
|
|
151
|
+
}
|
|
152
|
+
|
|
153
|
+
declare const defaultOidcBaseUri = "https://keycloak.lib.byu.edu/";
|
|
154
|
+
declare const defaultOidcDefaultIdp = "byu-realm";
|
|
155
|
+
declare class ImpersonateUserPipe implements PipeTransform {
|
|
156
|
+
transform(user: ImpersonateSearchResult): string;
|
|
157
|
+
static ɵfac: i0.ɵɵFactoryDeclaration<ImpersonateUserPipe, never>;
|
|
158
|
+
static ɵpipe: i0.ɵɵPipeDeclaration<ImpersonateUserPipe, "impersonateUser", true>;
|
|
159
|
+
}
|
|
160
|
+
interface ImpersonateSearchResult {
|
|
161
|
+
netId: string;
|
|
162
|
+
institution: string;
|
|
163
|
+
username: string;
|
|
164
|
+
name: string;
|
|
165
|
+
preferredName: string;
|
|
166
|
+
givenName: string;
|
|
167
|
+
surname: string;
|
|
168
|
+
restricted: boolean;
|
|
169
|
+
}
|
|
170
|
+
declare class ImpersonateModalComponent implements OnDestroy {
|
|
171
|
+
private readonly http;
|
|
172
|
+
private readonly fb;
|
|
173
|
+
private readonly eref;
|
|
174
|
+
set showModal(open: boolean);
|
|
175
|
+
oidcBaseUri: i0.InputSignal<string>;
|
|
176
|
+
oidcDefaultIdp: i0.InputSignal<string>;
|
|
177
|
+
accessTokenPayload: i0.InputSignal<TokenPayload>;
|
|
178
|
+
dismiss: EventEmitter<void>;
|
|
179
|
+
init: EventEmitter<void>;
|
|
180
|
+
protected isOpen: boolean;
|
|
181
|
+
protected hasError: boolean;
|
|
182
|
+
protected form: _angular_forms.FormGroup<{
|
|
183
|
+
search: _angular_forms.FormControl<string | null>;
|
|
184
|
+
}>;
|
|
185
|
+
protected selectedUsername?: string;
|
|
186
|
+
protected loading: boolean;
|
|
187
|
+
protected handleSearchSubject: Subject<boolean>;
|
|
188
|
+
protected results: i0.Signal<ImpersonateSearchResult[] | null | undefined>;
|
|
189
|
+
private subs;
|
|
190
|
+
outsideClick(event: MouseEvent): void;
|
|
191
|
+
handleKeyDown: (event: KeyboardEvent) => void;
|
|
192
|
+
ngOnDestroy(): void;
|
|
193
|
+
/** Redirect to Keycloak impersonate page, which will redirect back
|
|
194
|
+
* after impersonation begins.
|
|
195
|
+
*/
|
|
196
|
+
protected startImpersonation: (username?: string) => void;
|
|
197
|
+
protected handleSelectUser: (event: Event) => void;
|
|
198
|
+
protected clearSearch: () => void;
|
|
199
|
+
protected close: () => void;
|
|
200
|
+
protected handleFormSubmit: (event: SubmitEvent) => void;
|
|
201
|
+
protected handleSearchKeyPress: (event: KeyboardEvent) => void;
|
|
202
|
+
protected handleResultKeyPress: (event: KeyboardEvent) => void;
|
|
203
|
+
/** Search Keycloak users using a generic search query. */
|
|
204
|
+
private searchUsers;
|
|
205
|
+
private replaceUrl;
|
|
206
|
+
static ɵfac: i0.ɵɵFactoryDeclaration<ImpersonateModalComponent, never>;
|
|
207
|
+
static ɵcmp: i0.ɵɵComponentDeclaration<ImpersonateModalComponent, "lib-impersonate-modal", never, { "showModal": { "alias": "showModal"; "required": false; }; "oidcBaseUri": { "alias": "oidcBaseUri"; "required": false; "isSignal": true; }; "oidcDefaultIdp": { "alias": "oidcDefaultIdp"; "required": false; "isSignal": true; }; "accessTokenPayload": { "alias": "accessTokenPayload"; "required": true; "isSignal": true; }; }, { "dismiss": "dismiss"; "init": "init"; }, never, never, true, never>;
|
|
208
|
+
}
|
|
209
|
+
|
|
210
|
+
declare enum AccessStatus {
|
|
211
|
+
OK = "ok",
|
|
212
|
+
BLOCKED = "blocked",
|
|
213
|
+
NONE = "none"
|
|
214
|
+
}
|
|
215
|
+
interface ApplicationAccess {
|
|
216
|
+
label: string;
|
|
217
|
+
access: AccessStatus;
|
|
218
|
+
code?: string;
|
|
219
|
+
detail?: string;
|
|
220
|
+
}
|
|
221
|
+
|
|
222
|
+
declare enum EmployeePositionType {
|
|
223
|
+
STD = "std",
|
|
224
|
+
SNL = "snl",
|
|
225
|
+
FAC = "fac",
|
|
226
|
+
STF = "stf",
|
|
227
|
+
TMP = "tmp",
|
|
228
|
+
FTC = "ftc"
|
|
229
|
+
}
|
|
230
|
+
declare enum UndergradGraduateStatus {
|
|
231
|
+
UNDERGRAD = "undergrad",
|
|
232
|
+
GRADUATE = "graduate"
|
|
233
|
+
}
|
|
234
|
+
interface PersonSummary {
|
|
235
|
+
byu_id?: string;
|
|
236
|
+
email_address?: string;
|
|
237
|
+
first_name: string;
|
|
238
|
+
is_affiliate: boolean;
|
|
239
|
+
is_employee: boolean;
|
|
240
|
+
is_retired?: boolean;
|
|
241
|
+
primary_position_type?: EmployeePositionType;
|
|
242
|
+
primary_position_type_display?: string;
|
|
243
|
+
is_student: boolean;
|
|
244
|
+
undergrad_graduate_status?: UndergradGraduateStatus;
|
|
245
|
+
last_name: string;
|
|
246
|
+
library_id: string;
|
|
247
|
+
preferred_first_name: string;
|
|
248
|
+
restricted: boolean;
|
|
249
|
+
worker_id?: string;
|
|
250
|
+
}
|
|
251
|
+
|
|
252
|
+
/**
|
|
253
|
+
* @todo: Refactor: my recommendation would be to allow a user to be passed into this component via an input instead of the users coming from an API call based on the JWT passed in. This might look something like:
|
|
254
|
+
* ```
|
|
255
|
+
* @Input() user: {
|
|
256
|
+
* primary_position_type_display?: string
|
|
257
|
+
* undergrad_graduate_status?: string
|
|
258
|
+
* restricted?: boolean
|
|
259
|
+
* is_retired?: boolean
|
|
260
|
+
* is_employee?: boolean
|
|
261
|
+
* primary_position_type?: string
|
|
262
|
+
* }
|
|
263
|
+
* ```
|
|
264
|
+
* Accepting all properties that are used in this component without needing to bring in the user type explicitly. Or the properties on this user object could be made even more general as to not be tied at all to any specific type.
|
|
265
|
+
*
|
|
266
|
+
* Something similar could be done with `accountStatuses`. I'd recommend the consuming application prepare arrays of strings to be passed into inputs of `accountsOk`, `accountsBlocked`, and `accountsNone`, that are then passed into and displayed in the template.
|
|
267
|
+
*
|
|
268
|
+
* The idea behind these revisions is that there is less business logic baked into this component, as it's role is just one of presentation. It will also avoid multiple API calls for the same data in our big Angular apps.
|
|
269
|
+
*
|
|
270
|
+
* Best of luck,
|
|
271
|
+
* Paul
|
|
272
|
+
*/
|
|
273
|
+
declare class ImpersonationBannerComponent {
|
|
274
|
+
private http;
|
|
275
|
+
accessTokenPayload: i0.InputSignal<TokenPayload>;
|
|
276
|
+
personBaseUri: i0.InputSignal<string>;
|
|
277
|
+
myAccountApiBaseUri: i0.InputSignal<string>;
|
|
278
|
+
endImpersonation: EventEmitter<void>;
|
|
279
|
+
protected parsedToken: Signal<JwtPayload & Record<string, any>>;
|
|
280
|
+
protected isImpersonating: Signal<boolean>;
|
|
281
|
+
protected libraryId: Signal<any>;
|
|
282
|
+
protected user: Signal<PersonSummary | null | undefined>;
|
|
283
|
+
protected userFullName: Signal<string>;
|
|
284
|
+
protected isRestricted: Signal<boolean | undefined>;
|
|
285
|
+
protected userInfoTabs: Signal<Map<string, any>>;
|
|
286
|
+
protected userPhotoUrl: Signal<string>;
|
|
287
|
+
protected activityStatus: Signal<"retired" | "active" | "inactive" | null>;
|
|
288
|
+
protected employeeStatusDescription: Signal<string | null>;
|
|
289
|
+
protected independentStudyStatus: Signal<boolean | null | undefined>;
|
|
290
|
+
protected accountStatuses: Signal<{
|
|
291
|
+
ok: ApplicationAccess[];
|
|
292
|
+
blocked: ApplicationAccess[];
|
|
293
|
+
none: ApplicationAccess[];
|
|
294
|
+
} | null | undefined>;
|
|
295
|
+
static ɵfac: i0.ɵɵFactoryDeclaration<ImpersonationBannerComponent, never>;
|
|
296
|
+
static ɵcmp: i0.ɵɵComponentDeclaration<ImpersonationBannerComponent, "lib-impersonation-banner", never, { "accessTokenPayload": { "alias": "accessTokenPayload"; "required": true; "isSignal": true; }; "personBaseUri": { "alias": "personBaseUri"; "required": false; "isSignal": true; }; "myAccountApiBaseUri": { "alias": "myAccountApiBaseUri"; "required": false; "isSignal": true; }; }, { "endImpersonation": "endImpersonation"; }, never, never, true, never>;
|
|
297
|
+
}
|
|
298
|
+
|
|
299
|
+
declare const searchScopeValues: readonly ["local", "external"];
|
|
300
|
+
type SearchScope = (typeof searchScopeValues)[number];
|
|
301
|
+
declare const isSearchScope: (scope: string) => scope is SearchScope;
|
|
302
|
+
|
|
303
|
+
declare const ADVANCED_SEARCH_QUALIFIER_MAP: {
|
|
304
|
+
readonly contains: "contains";
|
|
305
|
+
readonly begins_with: "begins with";
|
|
306
|
+
readonly exact: "is (exact)";
|
|
307
|
+
readonly index: "browse value";
|
|
308
|
+
readonly subject_lc: "LC browse";
|
|
309
|
+
readonly subject_expanded: "expanded browse";
|
|
310
|
+
};
|
|
311
|
+
declare const ADVANCED_SEARCH_FIELD_MAP: {
|
|
312
|
+
readonly abstract: "Abstract";
|
|
313
|
+
readonly any: "Any Field";
|
|
314
|
+
readonly callNumber: "Call Number";
|
|
315
|
+
readonly contributor: "Contributor";
|
|
316
|
+
readonly creator: "Author/Creator";
|
|
317
|
+
readonly genre: "Genre";
|
|
318
|
+
readonly isbn: "ISBN";
|
|
319
|
+
readonly issn: "ISSN";
|
|
320
|
+
readonly series: "Series";
|
|
321
|
+
readonly source: "Source";
|
|
322
|
+
readonly subject: "Subject";
|
|
323
|
+
readonly title: "Title";
|
|
324
|
+
};
|
|
325
|
+
declare const ADVANCED_SEARCH_OPTIONS: {
|
|
326
|
+
readonly boolean: readonly ["AND", "OR", "NOT"];
|
|
327
|
+
readonly fields: readonly ["any", "title", "creator", "subject", "issn", "isbn"];
|
|
328
|
+
readonly localFields: readonly ["callNumber", "contributor", "genre", "series"];
|
|
329
|
+
readonly externalFields: readonly ["source", "abstract"];
|
|
330
|
+
readonly qualifiers: {
|
|
331
|
+
readonly any: readonly ["contains"];
|
|
332
|
+
readonly title: readonly ["contains", "exact", "begins_with", "index"];
|
|
333
|
+
readonly callNumber: readonly ["contains", "exact", "begins_with", "index"];
|
|
334
|
+
readonly creator: readonly ["contains", "exact", "begins_with", "index"];
|
|
335
|
+
readonly contributor: readonly ["contains", "exact"];
|
|
336
|
+
readonly isbn: readonly ["contains", "exact"];
|
|
337
|
+
readonly issn: readonly ["contains", "exact"];
|
|
338
|
+
readonly genre: readonly ["contains", "exact"];
|
|
339
|
+
readonly subject: readonly ["contains", "exact", "subject_lc", "subject_expanded"];
|
|
340
|
+
readonly series: readonly ["contains", "exact"];
|
|
341
|
+
};
|
|
342
|
+
readonly resultsPerPage: readonly ["10", "20", "50", "100"];
|
|
343
|
+
readonly types: {
|
|
344
|
+
readonly byu: {
|
|
345
|
+
readonly book: "Books";
|
|
346
|
+
readonly sound_recording: "Sound Recordings";
|
|
347
|
+
readonly image: "Images";
|
|
348
|
+
readonly periodical: "Periodicals";
|
|
349
|
+
readonly map: "Maps";
|
|
350
|
+
readonly score: "Music Scores";
|
|
351
|
+
readonly newspaper: "Newspapers";
|
|
352
|
+
readonly dissertation: "Theses & Dissertations";
|
|
353
|
+
readonly video: "Videos";
|
|
354
|
+
};
|
|
355
|
+
readonly law: {
|
|
356
|
+
readonly book: "Books";
|
|
357
|
+
};
|
|
358
|
+
readonly ensign: {
|
|
359
|
+
readonly book: "Books";
|
|
360
|
+
readonly sound_recording: "Sound Recordings";
|
|
361
|
+
readonly journal: "Periodicals";
|
|
362
|
+
readonly magazine: "Magazines";
|
|
363
|
+
readonly video: "Videos";
|
|
364
|
+
};
|
|
365
|
+
};
|
|
366
|
+
readonly collections: {
|
|
367
|
+
readonly byu: {
|
|
368
|
+
readonly lee: "BYU Library";
|
|
369
|
+
readonly 'lee -- asian': "Asian";
|
|
370
|
+
readonly 'lee -- general': "General Collection";
|
|
371
|
+
readonly 'lee -- govdocs': "Government Documents";
|
|
372
|
+
readonly 'lee -- humanities': "Humanities";
|
|
373
|
+
readonly 'lee -- juvenile': "Juvenile";
|
|
374
|
+
readonly 'lee -- maps': "Maps";
|
|
375
|
+
readonly 'lee -- media_center': "Media Center";
|
|
376
|
+
readonly 'lee -- music': "Music & Dance";
|
|
377
|
+
readonly 'lee -- periodicals': "Periodicals";
|
|
378
|
+
readonly 'lee -- popular': "Popular Reading";
|
|
379
|
+
readonly 'lee -- religion_famhist': "Religion & Family History";
|
|
380
|
+
readonly 'lee -- science_engineering': "Science & Engineering";
|
|
381
|
+
readonly 'lee -- social_science': "Social Science";
|
|
382
|
+
readonly 'lee -- special_collections': "Special Collections";
|
|
383
|
+
};
|
|
384
|
+
readonly law: {
|
|
385
|
+
readonly 'law -- iclrs': "Law & Religion Studies";
|
|
386
|
+
readonly 'law -- main': "Main Collection";
|
|
387
|
+
readonly 'law -- media': "Media";
|
|
388
|
+
readonly 'law -- reserve': "Reserve";
|
|
389
|
+
readonly 'law -- self_help': "Self Help";
|
|
390
|
+
readonly 'law -- study_guides': "Study Guides";
|
|
391
|
+
};
|
|
392
|
+
readonly ensign: {
|
|
393
|
+
readonly 'ldsbc -- audio_books': "Audio Books";
|
|
394
|
+
readonly 'ldsbc -- display': "Display Shelves";
|
|
395
|
+
readonly 'ldsbc -- fiction': "Fiction";
|
|
396
|
+
readonly 'ldsbc -- films': "Feature Films";
|
|
397
|
+
readonly 'ldsbc -- stacks': "General Collection";
|
|
398
|
+
readonly 'ldsbc -- news_magazines': "News Magazines";
|
|
399
|
+
readonly 'ldsbc -- non_feature_films': "Non Feature Films";
|
|
400
|
+
readonly 'ldsbc -- oversize': "Oversize";
|
|
401
|
+
readonly 'ldsbc -- paralegal': "Paralegal";
|
|
402
|
+
readonly 'ldsbc -- periodicals': "Periodicals";
|
|
403
|
+
readonly 'ldsbc -- reference': "Reference";
|
|
404
|
+
readonly 'ldsbc -- reserve': "Reserve";
|
|
405
|
+
};
|
|
406
|
+
};
|
|
407
|
+
readonly languages: {
|
|
408
|
+
readonly eng: "English";
|
|
409
|
+
readonly ara: "Arabic";
|
|
410
|
+
readonly chi: "Chinese";
|
|
411
|
+
readonly ces: "Czech";
|
|
412
|
+
readonly dan: "Danish";
|
|
413
|
+
readonly dut: "Dutch";
|
|
414
|
+
readonly fin: "Finnish";
|
|
415
|
+
readonly fre: "French";
|
|
416
|
+
readonly ger: "German";
|
|
417
|
+
readonly gre: "Greek, Modern";
|
|
418
|
+
readonly heb: "Hebrew";
|
|
419
|
+
readonly hin: "Hindi";
|
|
420
|
+
readonly hun: "Hungarian";
|
|
421
|
+
readonly ice: "Icelandic";
|
|
422
|
+
readonly ita: "Italian";
|
|
423
|
+
readonly jpn: "Japanese";
|
|
424
|
+
readonly kor: "Korean";
|
|
425
|
+
readonly lat: "Latin";
|
|
426
|
+
readonly nor: "Norwegian";
|
|
427
|
+
readonly pol: "Polish";
|
|
428
|
+
readonly por: "Portuguese";
|
|
429
|
+
readonly pan: "Punjabi";
|
|
430
|
+
readonly rum: "Romanian";
|
|
431
|
+
readonly rus: "Russian";
|
|
432
|
+
readonly spa: "Spanish";
|
|
433
|
+
readonly swe: "Swedish";
|
|
434
|
+
readonly wel: "Welsh";
|
|
435
|
+
readonly yid: "Yiddish";
|
|
436
|
+
};
|
|
437
|
+
};
|
|
438
|
+
|
|
439
|
+
type AdvancedSearchBooleanOption = (typeof ADVANCED_SEARCH_OPTIONS.boolean)[number];
|
|
440
|
+
type AdvancedSearchFieldOption = (typeof ADVANCED_SEARCH_OPTIONS.fields)[number];
|
|
441
|
+
declare const isAdvancedSearchFieldOption: (field: string) => field is AdvancedSearchLocalFieldOption;
|
|
442
|
+
type AdvancedSearchLocalFieldOption = (typeof ADVANCED_SEARCH_OPTIONS.localFields)[number];
|
|
443
|
+
declare const isAdvancedSearchLocalFieldOption: (field: string) => field is AdvancedSearchLocalFieldOption;
|
|
444
|
+
type AdvancedSearchExternalFieldOption = (typeof ADVANCED_SEARCH_OPTIONS.externalFields)[number];
|
|
445
|
+
declare const isAdvancedSearchExternalFieldOption: (field: string) => field is AdvancedSearchExternalFieldOption;
|
|
446
|
+
type AdvancedSearchQualifierOption = (typeof ADVANCED_SEARCH_OPTIONS.qualifiers)[keyof typeof ADVANCED_SEARCH_OPTIONS.qualifiers][number];
|
|
447
|
+
type AdvancedSearchResultsPerPageOption = (typeof ADVANCED_SEARCH_OPTIONS.resultsPerPage)[number];
|
|
448
|
+
type AdvancedSearchLanguageOption = (keyof typeof ADVANCED_SEARCH_OPTIONS.languages)[number];
|
|
449
|
+
type AdvancedSearchQualifier = keyof typeof ADVANCED_SEARCH_OPTIONS.qualifiers;
|
|
450
|
+
interface AdvancedSearchQueryRow {
|
|
451
|
+
boolean?: AdvancedSearchBooleanOption;
|
|
452
|
+
field?: AdvancedSearchFieldOption | AdvancedSearchLocalFieldOption | AdvancedSearchExternalFieldOption;
|
|
453
|
+
qualifier?: AdvancedSearchQualifierOption;
|
|
454
|
+
query: string;
|
|
455
|
+
}
|
|
456
|
+
|
|
457
|
+
interface SearchConfig {
|
|
458
|
+
institution: 'byu' | 'law' | 'ensign';
|
|
459
|
+
showAdvancedSearch: boolean;
|
|
460
|
+
showAdvancedSearchAsText: boolean;
|
|
461
|
+
scope: SearchScope;
|
|
462
|
+
q: string;
|
|
463
|
+
advancedSearchQueryRows: AdvancedSearchQueryRow[];
|
|
464
|
+
localAdvancedSearch: {
|
|
465
|
+
creationDate: Date$1;
|
|
466
|
+
selectedLanguages: string[];
|
|
467
|
+
selectedResourceTypes: string[];
|
|
468
|
+
selectedCollections: string[];
|
|
469
|
+
};
|
|
470
|
+
externalAdvancedSearch: {
|
|
471
|
+
datePublished: Date$1;
|
|
472
|
+
selectedLanguages: string[];
|
|
473
|
+
limitResults: {
|
|
474
|
+
peerReviewed: boolean;
|
|
475
|
+
};
|
|
476
|
+
expandResults: {
|
|
477
|
+
applyEquivalentSubjects: boolean;
|
|
478
|
+
fullText: boolean;
|
|
479
|
+
};
|
|
480
|
+
};
|
|
481
|
+
}
|
|
482
|
+
interface Date$1 {
|
|
483
|
+
from: string;
|
|
484
|
+
to: string;
|
|
485
|
+
}
|
|
486
|
+
|
|
487
|
+
declare class SsSearchBarComponent {
|
|
488
|
+
private _config;
|
|
489
|
+
set config(config: string);
|
|
490
|
+
get config(): SearchConfig;
|
|
491
|
+
simpleSearch: EventEmitter<SearchConfig>;
|
|
492
|
+
clearSimpleSearch: EventEmitter<SearchConfig>;
|
|
493
|
+
advancedSearch: EventEmitter<SearchConfig>;
|
|
494
|
+
advancedSearchClosed: EventEmitter<SearchConfig>;
|
|
495
|
+
advancedSearchOpen: EventEmitter<SearchConfig>;
|
|
496
|
+
tabChange: EventEmitter<SearchConfig>;
|
|
497
|
+
private barWrapperRef;
|
|
498
|
+
protected heightOfContainer: number;
|
|
499
|
+
protected emitClearSimpleSearch: () => void;
|
|
500
|
+
protected emitSimpleSearch: (updatedProps: Partial<SearchConfig>) => void;
|
|
501
|
+
protected emitAdvancedSearchClosed: () => void;
|
|
502
|
+
protected emitAdvancedSearch: (config: SearchConfig) => void;
|
|
503
|
+
protected emitAdvancedSearchOpen: () => void;
|
|
504
|
+
protected emitTabChange: (newScope: SearchScope) => void;
|
|
505
|
+
static ɵfac: i0.ɵɵFactoryDeclaration<SsSearchBarComponent, never>;
|
|
506
|
+
static ɵcmp: i0.ɵɵComponentDeclaration<SsSearchBarComponent, "lib-ss-search-bar", never, { "config": { "alias": "config"; "required": true; }; }, { "simpleSearch": "simpleSearch"; "clearSimpleSearch": "clearSimpleSearch"; "advancedSearch": "advancedSearch"; "advancedSearchClosed": "advancedSearchClosed"; "advancedSearchOpen": "advancedSearchOpen"; "tabChange": "tabChange"; }, never, never, true, never>;
|
|
507
|
+
}
|
|
508
|
+
|
|
509
|
+
type Status = 'success' | 'info' | 'warning' | 'error' | 'disabled';
|
|
510
|
+
interface StatusButtonInputs {
|
|
511
|
+
label: string;
|
|
512
|
+
status?: Status;
|
|
513
|
+
leftIcon?: string;
|
|
514
|
+
rightIcon?: string;
|
|
515
|
+
hideLeftIcon?: boolean;
|
|
516
|
+
hideRightIcon?: boolean;
|
|
517
|
+
clearVariant?: boolean;
|
|
518
|
+
}
|
|
519
|
+
/**
|
|
520
|
+
* A button that indicates status with color and icon.
|
|
521
|
+
* Status can be one of: 'success', 'info', 'warning', 'error', or 'disabled'.
|
|
522
|
+
* Each status has a default left icon, but a custom left icon can be provided.
|
|
523
|
+
* A right icon can also be provided, defaulting to 'chevron_right'.
|
|
524
|
+
* The left and right icons can be hidden with the `hideLeftIcon` and `hideRightIcon` boolean inputs.
|
|
525
|
+
* A label input is required.
|
|
526
|
+
*/
|
|
527
|
+
declare class StatusButtonComponent {
|
|
528
|
+
private _status;
|
|
529
|
+
private _leftIcon;
|
|
530
|
+
private _rightIcon;
|
|
531
|
+
private _hideLeftIcon;
|
|
532
|
+
private _hideRightIcon;
|
|
533
|
+
private _clearVariant;
|
|
534
|
+
label: string;
|
|
535
|
+
set status(value: 'success' | 'info' | 'warning' | 'error' | 'disabled');
|
|
536
|
+
get status(): "success" | "info" | "warning" | "error" | "disabled";
|
|
537
|
+
set leftIcon(value: string);
|
|
538
|
+
get leftIcon(): string;
|
|
539
|
+
set rightIcon(value: string);
|
|
540
|
+
get rightIcon(): string;
|
|
541
|
+
set hideLeftIcon(value: boolean);
|
|
542
|
+
get hideLeftIcon(): boolean;
|
|
543
|
+
set hideRightIcon(value: boolean);
|
|
544
|
+
get hideRightIcon(): boolean;
|
|
545
|
+
set clearVariant(value: boolean);
|
|
546
|
+
get clearVariant(): boolean;
|
|
547
|
+
/** helper for default left icons */
|
|
548
|
+
private getDefaultLeftIcon;
|
|
549
|
+
static ɵfac: i0.ɵɵFactoryDeclaration<StatusButtonComponent, never>;
|
|
550
|
+
static ɵcmp: i0.ɵɵComponentDeclaration<StatusButtonComponent, "lib-status-button", never, { "label": { "alias": "label"; "required": true; }; "status": { "alias": "status"; "required": false; }; "leftIcon": { "alias": "leftIcon"; "required": false; }; "rightIcon": { "alias": "rightIcon"; "required": false; }; "hideLeftIcon": { "alias": "hideLeftIcon"; "required": false; }; "hideRightIcon": { "alias": "hideRightIcon"; "required": false; }; "clearVariant": { "alias": "clearVariant"; "required": false; }; }, {}, never, never, true, never>;
|
|
551
|
+
static ngAcceptInputType_hideLeftIcon: unknown;
|
|
552
|
+
static ngAcceptInputType_hideRightIcon: unknown;
|
|
553
|
+
static ngAcceptInputType_clearVariant: unknown;
|
|
554
|
+
}
|
|
555
|
+
|
|
556
|
+
type SnackbarPurpose = 'default' | 'info' | 'success' | 'error' | 'warning';
|
|
557
|
+
interface SnackbarInputs {
|
|
558
|
+
purpose?: SnackbarPurpose;
|
|
559
|
+
title?: string;
|
|
560
|
+
description?: string;
|
|
561
|
+
titleIcon?: string;
|
|
562
|
+
fieldPlaceholder?: string;
|
|
563
|
+
showTitle?: boolean;
|
|
564
|
+
showTitleIcon?: boolean;
|
|
565
|
+
titleIconFilled?: boolean;
|
|
566
|
+
showClose?: boolean;
|
|
567
|
+
showProgressBar?: boolean;
|
|
568
|
+
showField?: boolean;
|
|
569
|
+
showButton?: boolean;
|
|
570
|
+
progressMs?: number;
|
|
571
|
+
autoDismiss?: boolean;
|
|
572
|
+
y?: number;
|
|
573
|
+
right?: number;
|
|
574
|
+
zIndex?: number;
|
|
575
|
+
statusButtonInputs?: StatusButtonInputs;
|
|
576
|
+
}
|
|
577
|
+
declare class SnackbarComponent implements OnInit, OnChanges, OnDestroy {
|
|
578
|
+
purpose: SnackbarPurpose;
|
|
579
|
+
title: string;
|
|
580
|
+
description: string;
|
|
581
|
+
fieldPlaceholder: string;
|
|
582
|
+
titleIcon: string;
|
|
583
|
+
showTitle: boolean;
|
|
584
|
+
showTitleIcon: boolean;
|
|
585
|
+
titleIconFilled: boolean;
|
|
586
|
+
showClose: boolean;
|
|
587
|
+
showProgressBar: boolean;
|
|
588
|
+
showField: boolean;
|
|
589
|
+
showButton: boolean;
|
|
590
|
+
autoDismiss: boolean;
|
|
591
|
+
visible: boolean;
|
|
592
|
+
progressMs: number;
|
|
593
|
+
y: number;
|
|
594
|
+
statusButtonInputs?: StatusButtonInputs;
|
|
595
|
+
closed: EventEmitter<void>;
|
|
596
|
+
visibleChange: EventEmitter<boolean>;
|
|
597
|
+
buttonClicked: EventEmitter<void>;
|
|
598
|
+
isOpen: boolean;
|
|
599
|
+
private dismissTimer?;
|
|
600
|
+
private readonly EXIT_MS;
|
|
601
|
+
ngOnInit(): void;
|
|
602
|
+
ngOnChanges(changes: SimpleChanges): void;
|
|
603
|
+
ngOnDestroy(): void;
|
|
604
|
+
close(emitButtonClicked?: boolean): void;
|
|
605
|
+
get status(): Status;
|
|
606
|
+
private startDismissTimer;
|
|
607
|
+
private clearDismissTimer;
|
|
608
|
+
static ɵfac: i0.ɵɵFactoryDeclaration<SnackbarComponent, never>;
|
|
609
|
+
static ɵcmp: i0.ɵɵComponentDeclaration<SnackbarComponent, "lib-snackbar", never, { "purpose": { "alias": "purpose"; "required": false; }; "title": { "alias": "title"; "required": false; }; "description": { "alias": "description"; "required": false; }; "fieldPlaceholder": { "alias": "fieldPlaceholder"; "required": false; }; "titleIcon": { "alias": "titleIcon"; "required": false; }; "showTitle": { "alias": "showTitle"; "required": false; }; "showTitleIcon": { "alias": "showTitleIcon"; "required": false; }; "titleIconFilled": { "alias": "titleIconFilled"; "required": false; }; "showClose": { "alias": "showClose"; "required": false; }; "showProgressBar": { "alias": "showProgressBar"; "required": false; }; "showField": { "alias": "showField"; "required": false; }; "showButton": { "alias": "showButton"; "required": false; }; "autoDismiss": { "alias": "autoDismiss"; "required": false; }; "visible": { "alias": "visible"; "required": false; }; "progressMs": { "alias": "progressMs"; "required": false; }; "y": { "alias": "y"; "required": false; }; "statusButtonInputs": { "alias": "statusButtonInputs"; "required": false; }; }, { "closed": "closed"; "visibleChange": "visibleChange"; "buttonClicked": "buttonClicked"; }, never, never, true, never>;
|
|
610
|
+
static ngAcceptInputType_showTitle: unknown;
|
|
611
|
+
static ngAcceptInputType_showTitleIcon: unknown;
|
|
612
|
+
static ngAcceptInputType_titleIconFilled: unknown;
|
|
613
|
+
static ngAcceptInputType_showClose: unknown;
|
|
614
|
+
static ngAcceptInputType_showProgressBar: unknown;
|
|
615
|
+
static ngAcceptInputType_showField: unknown;
|
|
616
|
+
static ngAcceptInputType_showButton: unknown;
|
|
617
|
+
static ngAcceptInputType_autoDismiss: unknown;
|
|
618
|
+
static ngAcceptInputType_visible: unknown;
|
|
619
|
+
}
|
|
620
|
+
|
|
621
|
+
declare class SnackbarService {
|
|
622
|
+
private appRef;
|
|
623
|
+
private env;
|
|
624
|
+
constructor(appRef: ApplicationRef, env: EnvironmentInjector);
|
|
625
|
+
/**
|
|
626
|
+
* This open method is what consuming code will use to create a snackbar
|
|
627
|
+
* @param snackbarOptions interface
|
|
628
|
+
* @param anchor HTML Element, optional. The snackbar's entrance and exit animations will happen on this element's Y axis (px)
|
|
629
|
+
* @returns void.
|
|
630
|
+
*/
|
|
631
|
+
open(snackbarOptions?: SnackbarInputs, anchor?: HTMLElement): {
|
|
632
|
+
close: () => void;
|
|
633
|
+
buttonClicked: i0.EventEmitter<void>;
|
|
634
|
+
};
|
|
635
|
+
static ɵfac: i0.ɵɵFactoryDeclaration<SnackbarService, never>;
|
|
636
|
+
static ɵprov: i0.ɵɵInjectableDeclaration<SnackbarService>;
|
|
637
|
+
}
|
|
638
|
+
|
|
639
|
+
export { ADVANCED_SEARCH_FIELD_MAP, ADVANCED_SEARCH_OPTIONS, ADVANCED_SEARCH_QUALIFIER_MAP, HbllFooterComponent, HbllHeaderComponent, HbllItemTypeIconPipe, HeaderWithImpersonationComponent, ImpersonateModalComponent, ImpersonateUserPipe, ImpersonationBannerComponent, LIBRARY_HOURS_API_URL, SnackbarComponent, SnackbarService, SsSearchBarComponent, StatusButtonComponent, defaultOidcBaseUri, defaultOidcDefaultIdp, getUserStatusFromRoles, isAdvancedSearchExternalFieldOption, isAdvancedSearchFieldOption, isAdvancedSearchLocalFieldOption, isSearchScope };
|
|
640
|
+
export type { AdvancedSearchBooleanOption, AdvancedSearchExternalFieldOption, AdvancedSearchFieldOption, AdvancedSearchLanguageOption, AdvancedSearchLocalFieldOption, AdvancedSearchQualifier, AdvancedSearchQualifierOption, AdvancedSearchQueryRow, AdvancedSearchResultsPerPageOption, ImpersonateSearchResult, SearchConfig, SearchScope, SnackbarInputs, SnackbarPurpose, Status, StatusButtonInputs };
|
package/package.json
CHANGED
|
@@ -1,9 +1,9 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@byuhbll/components",
|
|
3
|
-
"version": "6.0.0-rc.
|
|
3
|
+
"version": "6.0.0-rc.2",
|
|
4
4
|
"peerDependencies": {
|
|
5
|
-
"@angular/common": "^
|
|
6
|
-
"@angular/core": "^
|
|
5
|
+
"@angular/common": "^20.3.15",
|
|
6
|
+
"@angular/core": "^20.3.15"
|
|
7
7
|
},
|
|
8
8
|
"dependencies": {
|
|
9
9
|
"tslib": "^2.6.2"
|
|
@@ -1,4 +0,0 @@
|
|
|
1
|
-
export declare const libHbllExpandCollapse: import("@angular/animations").AnimationTriggerMetadata;
|
|
2
|
-
export declare const libHbllFadeInOut: import("@angular/animations").AnimationTriggerMetadata;
|
|
3
|
-
export declare const libHbllFadeIn: import("@angular/animations").AnimationTriggerMetadata;
|
|
4
|
-
export declare const libHbllFadeOut: import("@angular/animations").AnimationTriggerMetadata;
|
|
@@ -1,6 +0,0 @@
|
|
|
1
|
-
import * as i0 from "@angular/core";
|
|
2
|
-
export declare class HbllCheckboxComponent {
|
|
3
|
-
isChecked: import("@angular/core").InputSignal<boolean>;
|
|
4
|
-
static ɵfac: i0.ɵɵFactoryDeclaration<HbllCheckboxComponent, never>;
|
|
5
|
-
static ɵcmp: i0.ɵɵComponentDeclaration<HbllCheckboxComponent, "lib-checkbox", never, { "isChecked": { "alias": "isChecked"; "required": false; "isSignal": true; }; }, {}, never, never, true, never>;
|
|
6
|
-
}
|