@idp.global/catalog 2.2.0 → 3.1.0

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.
@@ -3,7 +3,7 @@
3
3
  */
4
4
  export const commitinfo = {
5
5
  name: '@idp.global/catalog',
6
- version: '2.2.0',
6
+ version: '3.1.0',
7
7
  description: 'Web component catalog for idp.global, based on the v5 Apple-system design language.'
8
8
  };
9
9
  //# sourceMappingURL=data:application/json;base64,eyJ2ZXJzaW9uIjozLCJmaWxlIjoiMDBfY29tbWl0aW5mb19kYXRhLmpzIiwic291cmNlUm9vdCI6IiIsInNvdXJjZXMiOlsiLi4vdHNfd2ViLzAwX2NvbW1pdGluZm9fZGF0YS50cyJdLCJuYW1lcyI6W10sIm1hcHBpbmdzIjoiQUFBQTs7R0FFRztBQUNILE1BQU0sQ0FBQyxNQUFNLFVBQVUsR0FBRztJQUN4QixJQUFJLEVBQUUscUJBQXFCO0lBQzNCLE9BQU8sRUFBRSxPQUFPO0lBQ2hCLFdBQVcsRUFBRSxxRkFBcUY7Q0FDbkcsQ0FBQSJ9
@@ -7,13 +7,17 @@ import './idp-toggle.js';
7
7
  import './idp-delegation-section.js';
8
8
  import './idp-admin-sidebar.js';
9
9
  import './idp-admin-overview.js';
10
+ import './idp-sso-connection-form.js';
11
+ import './idp-scim-token-panel.js';
10
12
  import type { IIdpDelegation, IIdpDelegationApp } from './idp-delegation-section.js';
13
+ import type { IIdpSsoConnectionItem, IIdpSsoSpDetails } from './idp-sso-connection-form.js';
14
+ import type { IIdpScimTokenItem } from './idp-scim-token-panel.js';
11
15
  declare global {
12
16
  interface HTMLElementTagNameMap {
13
17
  'idp-admin-shell': IdpAdminShell;
14
18
  }
15
19
  }
16
- export type TIdpAdminPage = 'overview' | 'profile' | 'security' | 'sessions' | 'apps' | 'org-general' | 'org-settings' | 'org-members' | 'org-apps' | 'support' | 'ga-users' | 'ga-orgs' | 'ga-apps';
20
+ export type TIdpAdminPage = 'overview' | 'profile' | 'security' | 'sessions' | 'apps' | 'org-general' | 'org-settings' | 'org-members' | 'org-apps' | 'org-sso' | 'support' | 'ga-users' | 'ga-orgs' | 'ga-apps';
17
21
  export interface IIdpAdminUser {
18
22
  name: string;
19
23
  email: string;
@@ -62,6 +66,11 @@ export interface IIdpAdminGaUserActionEventDetail {
62
66
  userId: string;
63
67
  action: 'suspend' | 'unsuspend';
64
68
  }
69
+ export interface IIdpAdminProfileUpdateEventDetail {
70
+ name: string;
71
+ username: string;
72
+ mobileNumber: string;
73
+ }
65
74
  export interface IIdpAdminGaOrgActionEventDetail {
66
75
  orgId: string;
67
76
  action: 'suspend' | 'unsuspend';
@@ -305,9 +314,22 @@ export declare class IdpAdminShell extends DeesElement {
305
314
  accessor credentialMessage: string;
306
315
  accessor accounts: IIdpAdminUser[];
307
316
  accessor gaUsers: IIdpAdminGaUser[];
317
+ accessor ssoConnections: IIdpSsoConnectionItem[];
318
+ accessor ssoSpDetails: IIdpSsoSpDetails | null;
319
+ accessor scimTokens: IIdpScimTokenItem[];
320
+ accessor scimCreatedToken: {
321
+ label: string;
322
+ plaintextToken: string;
323
+ } | null;
308
324
  accessor overviewData: IIdpAdminOverviewData | null;
309
325
  accessor delegationApps: IIdpDelegationApp[];
310
326
  accessor delegations: IIdpDelegation[];
327
+ /** enables editing of name/username/mobile on the profile page */
328
+ accessor profileEditable: boolean;
329
+ /** host sets this while a profile update request is in flight */
330
+ accessor profileSaving: boolean;
331
+ private accessor profileDraft;
332
+ private accessor mobileNavOpen;
311
333
  private accessor logoutEverywhere;
312
334
  private accessor createOrgName;
313
335
  private accessor createOrgSlug;
@@ -364,6 +386,8 @@ export declare class IdpAdminShell extends DeesElement {
364
386
  private confirmLogout;
365
387
  showToast(messageArg: string, toneArg?: 'ok' | 'warn' | 'error'): void;
366
388
  disconnectedCallback(): Promise<void>;
389
+ protected willUpdate(changedProperties: Map<PropertyKey, unknown>): void;
390
+ protected updated(changedProperties: Map<PropertyKey, unknown>): void;
367
391
  private dispatchShellEvent;
368
392
  private formatTimeAgo;
369
393
  private renderStateCard;
@@ -398,6 +422,9 @@ export declare class IdpAdminShell extends DeesElement {
398
422
  private renderFormRow;
399
423
  private renderCodeBlock;
400
424
  private renderOverview;
425
+ private getProfileDraft;
426
+ private setProfileDraftField;
427
+ private handleProfileSave;
401
428
  private renderProfile;
402
429
  private renderSecurity;
403
430
  private renderSessions;
@@ -406,10 +433,12 @@ export declare class IdpAdminShell extends DeesElement {
406
433
  private renderOrgSettings;
407
434
  private renderOrgMembers;
408
435
  private renderOrgApps;
436
+ private renderOrgSso;
409
437
  private renderSupport;
410
438
  private renderGAUsers;
411
439
  private renderGAOrgs;
412
440
  private renderGAApps;
413
441
  private renderMainContent;
442
+ private handleMobileNavKeydown;
414
443
  render(): TemplateResult;
415
444
  }