@noatgnu/cupcake-core 1.3.15 → 1.3.16
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/noatgnu-cupcake-core.mjs +147 -105
- package/fesm2022/noatgnu-cupcake-core.mjs.map +1 -1
- package/index.d.ts +8 -2
- package/package.json +1 -1
package/index.d.ts
CHANGED
|
@@ -165,6 +165,7 @@ interface User {
|
|
|
165
165
|
lastLogin?: string;
|
|
166
166
|
hasOrcid: boolean;
|
|
167
167
|
orcidId?: string;
|
|
168
|
+
orcidName?: string;
|
|
168
169
|
}
|
|
169
170
|
interface UserCreateRequest {
|
|
170
171
|
username: string;
|
|
@@ -851,7 +852,7 @@ declare class ApiService {
|
|
|
851
852
|
*/
|
|
852
853
|
delete<T>(url: string, options?: any): Observable<T>;
|
|
853
854
|
getUserProfile(): Observable<{
|
|
854
|
-
user:
|
|
855
|
+
user: User;
|
|
855
856
|
}>;
|
|
856
857
|
getSiteConfig(): Observable<SiteConfig[]>;
|
|
857
858
|
updateSiteConfig(id: number, config: Partial<SiteConfig>): Observable<SiteConfig>;
|
|
@@ -1680,6 +1681,7 @@ declare class LabGroupsComponent implements OnInit {
|
|
|
1680
1681
|
selectedGroup: _angular_core.WritableSignal<LabGroup | null>;
|
|
1681
1682
|
groupMembers: _angular_core.WritableSignal<LabGroupMember[]>;
|
|
1682
1683
|
pendingInvitations: _angular_core.WritableSignal<LabGroupInvitation[]>;
|
|
1684
|
+
myPendingInvitations: _angular_core.WritableSignal<LabGroupInvitation[]>;
|
|
1683
1685
|
showCreateForm: _angular_core.WritableSignal<boolean>;
|
|
1684
1686
|
showInviteForm: _angular_core.WritableSignal<boolean>;
|
|
1685
1687
|
selectedGroupForMembers: _angular_core.WritableSignal<LabGroup | null>;
|
|
@@ -1688,6 +1690,7 @@ declare class LabGroupsComponent implements OnInit {
|
|
|
1688
1690
|
memberPageSize: _angular_core.WritableSignal<number>;
|
|
1689
1691
|
directMembersOnly: _angular_core.WritableSignal<boolean>;
|
|
1690
1692
|
hasLabGroups: _angular_core.Signal<boolean>;
|
|
1693
|
+
hasMyPendingInvitations: _angular_core.Signal<boolean>;
|
|
1691
1694
|
showPagination: _angular_core.Signal<boolean>;
|
|
1692
1695
|
totalPages: _angular_core.Signal<number>;
|
|
1693
1696
|
hasSearchValue: _angular_core.Signal<boolean>;
|
|
@@ -1704,6 +1707,9 @@ declare class LabGroupsComponent implements OnInit {
|
|
|
1704
1707
|
constructor();
|
|
1705
1708
|
ngOnInit(): void;
|
|
1706
1709
|
private loadInitialData;
|
|
1710
|
+
private loadMyPendingInvitations;
|
|
1711
|
+
acceptMyInvitation(invitationId: number): void;
|
|
1712
|
+
rejectMyInvitation(invitationId: number): void;
|
|
1707
1713
|
private setupSearch;
|
|
1708
1714
|
private loadLabGroupsWithParams;
|
|
1709
1715
|
onPageChange(page: number): void;
|
|
@@ -1735,7 +1741,7 @@ declare class UserProfileComponent implements OnInit {
|
|
|
1735
1741
|
profileForm: FormGroup;
|
|
1736
1742
|
passwordForm: FormGroup;
|
|
1737
1743
|
emailChangeForm: FormGroup;
|
|
1738
|
-
activeTab: _angular_core.WritableSignal<"
|
|
1744
|
+
activeTab: _angular_core.WritableSignal<"profile" | "password" | "email" | "account">;
|
|
1739
1745
|
isUpdatingProfile: _angular_core.WritableSignal<boolean>;
|
|
1740
1746
|
isChangingPassword: _angular_core.WritableSignal<boolean>;
|
|
1741
1747
|
isChangingEmail: _angular_core.WritableSignal<boolean>;
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@noatgnu/cupcake-core",
|
|
3
|
-
"version": "1.3.
|
|
3
|
+
"version": "1.3.16",
|
|
4
4
|
"description": "A reusable Angular library that provides user management, authentication, and site configuration functionality for cupcake applications.",
|
|
5
5
|
"keywords": [
|
|
6
6
|
"angular",
|