@pontive/pontkit-core 1.7.4 → 1.7.6
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/catalog.json +1 -1
- package/custom-elements.json +1 -1
- package/dist/components/widgets/pont-member-management/components/invitations-panel.d.ts +0 -7
- package/dist/components/widgets/pont-member-management/pont-member-management.d.ts +0 -1
- package/dist/index.js +118 -145
- package/dist/index.js.map +1 -1
- package/dist/index.mjs +496 -607
- package/dist/index.mjs.map +1 -1
- package/dist/service/http/organization/invitations.d.ts +1 -1
- package/dist/styles.css +0 -14
- package/dist/types/service/http/invitation/index.d.ts +0 -5
- package/dist/utils/post-auth-destination.d.ts +6 -0
- package/package.json +1 -1
|
@@ -1,5 +1,5 @@
|
|
|
1
1
|
import { GetInvitationsParams, InvitationsResponse, InviteMembersRequest } from '../../../types';
|
|
2
2
|
export declare function inviteMembers(organizationId: string, data: InviteMembersRequest): Promise<InvitationsResponse>;
|
|
3
3
|
export declare function resendInvitation(organizationId: string, invitationId: string): Promise<InvitationsResponse>;
|
|
4
|
-
export declare function
|
|
4
|
+
export declare function deleteInvitation(organizationId: string, invitationId: string, notifyInvitee?: boolean): Promise<void>;
|
|
5
5
|
export declare function getInvitations(organizationId: string, params?: GetInvitationsParams): Promise<InvitationsResponse>;
|
package/dist/styles.css
CHANGED
|
@@ -12881,17 +12881,6 @@ pont-member-management .pont-member-management-watermark-container {
|
|
|
12881
12881
|
padding: var(--pont-member-management-watermark-space-pt) 0 0 0;
|
|
12882
12882
|
}
|
|
12883
12883
|
|
|
12884
|
-
pont-member-management div[part="invitation-status"] div[part="pending-icon"] {
|
|
12885
|
-
color: hsl(var(--pont-sem-color-role-warning));
|
|
12886
|
-
}
|
|
12887
|
-
|
|
12888
|
-
pont-member-management div[part="invitation-status"] div[part="accepted-icon"] {
|
|
12889
|
-
color: hsl(var(--pont-sem-color-role-success));
|
|
12890
|
-
}
|
|
12891
|
-
|
|
12892
|
-
pont-member-management div[part="status-expired"] {
|
|
12893
|
-
opacity: 0.5;
|
|
12894
|
-
}
|
|
12895
12884
|
/* Group all pont-typography-p with [part] attributes */
|
|
12896
12885
|
pont-member-management pont-typography-p[part="expires_at"],
|
|
12897
12886
|
pont-member-management pont-typography-p[part="name"],
|
|
@@ -14297,9 +14286,6 @@ video {
|
|
|
14297
14286
|
.pont-w-12{
|
|
14298
14287
|
width: 3rem;
|
|
14299
14288
|
}
|
|
14300
|
-
.pont-w-14{
|
|
14301
|
-
width: 3.5rem;
|
|
14302
|
-
}
|
|
14303
14289
|
.pont-w-16{
|
|
14304
14290
|
width: 4rem;
|
|
14305
14291
|
}
|
|
@@ -11,12 +11,9 @@ export interface Invitation {
|
|
|
11
11
|
key: string;
|
|
12
12
|
name: string;
|
|
13
13
|
}[];
|
|
14
|
-
status: string;
|
|
15
14
|
invited_by: InvitedBy;
|
|
16
15
|
created_at: number;
|
|
17
16
|
updated_at: number;
|
|
18
|
-
accepted_at?: number;
|
|
19
|
-
cancelled_at?: number;
|
|
20
17
|
expires_at: number;
|
|
21
18
|
last_sent_at: number;
|
|
22
19
|
resend_count: number;
|
|
@@ -29,8 +26,6 @@ export interface InvitationsResponse {
|
|
|
29
26
|
object: string;
|
|
30
27
|
}
|
|
31
28
|
export interface GetInvitationsParams {
|
|
32
|
-
status?: string;
|
|
33
|
-
expired?: boolean;
|
|
34
29
|
invitee_emails?: string[];
|
|
35
30
|
invited_by?: string;
|
|
36
31
|
search?: string;
|
|
@@ -18,3 +18,9 @@ export interface PostAuthPage {
|
|
|
18
18
|
env: Pick<EnvConfig, "signinUrl" | "signupUrl" | "invitationUrl" | "signinRedirectUrl">;
|
|
19
19
|
}
|
|
20
20
|
export declare function postAuthDestination({ pathname, search, env }: PostAuthPage): string | null;
|
|
21
|
+
/**
|
|
22
|
+
* Whether the page was opened to answer an invitation: its query carries the
|
|
23
|
+
* token an invitation link does. Any page mounting a widget can be one — for a
|
|
24
|
+
* regular app it is the app's own sign-in page, its initiate_login_uri.
|
|
25
|
+
*/
|
|
26
|
+
export declare function answersInvitation(search: string): boolean;
|