@thunderid/vue 1.12.0 → 1.14.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.
- package/dist/ThunderIDVueClient.d.ts.map +1 -1
- package/dist/api/account/getAccessibleOrganizationUnits.d.ts +24 -0
- package/dist/api/account/getAccessibleOrganizationUnits.d.ts.map +1 -0
- package/dist/api/auth/executeEmbeddedSelfFlow.d.ts +22 -0
- package/dist/api/auth/executeEmbeddedSelfFlow.d.ts.map +1 -0
- package/dist/cjs/index.cjs +9299 -4910
- package/dist/components/account/organization-unit-switcher/BaseOrganizationUnitSwitcher.d.ts +50 -0
- package/dist/components/account/organization-unit-switcher/BaseOrganizationUnitSwitcher.d.ts.map +1 -0
- package/dist/components/account/organization-unit-switcher/OrganizationUnitSwitcher.css.d.ts +6 -0
- package/dist/components/account/organization-unit-switcher/OrganizationUnitSwitcher.css.d.ts.map +1 -0
- package/dist/components/account/organization-unit-switcher/OrganizationUnitSwitcher.d.ts +13 -0
- package/dist/components/account/organization-unit-switcher/OrganizationUnitSwitcher.d.ts.map +1 -0
- package/dist/components/account/user-profile/BaseUserProfile.d.ts +42 -2
- package/dist/components/account/user-profile/BaseUserProfile.d.ts.map +1 -1
- package/dist/components/account/user-profile/UserProfile.css.d.ts +1 -1
- package/dist/components/account/user-profile/UserProfile.css.d.ts.map +1 -1
- package/dist/components/account/user-profile/UserProfile.d.ts.map +1 -1
- package/dist/components/account/verify-attribute/BaseVerifyAttribute.d.ts +83 -0
- package/dist/components/account/verify-attribute/BaseVerifyAttribute.d.ts.map +1 -0
- package/dist/components/account/verify-attribute/VerifyAttribute.css.d.ts +7 -0
- package/dist/components/account/verify-attribute/VerifyAttribute.css.d.ts.map +1 -0
- package/dist/components/account/verify-attribute/VerifyAttribute.d.ts +23 -0
- package/dist/components/account/verify-attribute/VerifyAttribute.d.ts.map +1 -0
- package/dist/components/auth/flow/AuthOptionFactory.d.ts +1 -1
- package/dist/components/auth/flow/AuthOptionFactory.d.ts.map +1 -1
- package/dist/components/auth/flow/AuthOptionFactoryCore.d.ts +5 -0
- package/dist/components/auth/flow/AuthOptionFactoryCore.d.ts.map +1 -1
- package/dist/components/auth/sign-in/BaseSignIn.d.ts.map +1 -1
- package/dist/components/auth/sign-in/SignIn.d.ts.map +1 -1
- package/dist/components/auth/sign-up/BaseSignUp.d.ts.map +1 -1
- package/dist/components/management/AgentCreate/AgentCreate.d.ts.map +1 -0
- package/dist/components/management/AgentCreate/BaseAgentCreate.d.ts.map +1 -0
- package/dist/components/management/AgentDetails/AgentDetails.d.ts.map +1 -0
- package/dist/components/management/AgentDetails/BaseAgentDetails.d.ts.map +1 -0
- package/dist/components/{admin → management}/AgentList/AgentList.d.ts +1 -1
- package/dist/components/management/AgentList/AgentList.d.ts.map +1 -0
- package/dist/components/management/AgentList/BaseAgentList.d.ts.map +1 -0
- package/dist/components/management/ApplicationCreate/ApplicationCreate.d.ts.map +1 -0
- package/dist/components/management/ApplicationCreate/BaseApplicationCreate.d.ts.map +1 -0
- package/dist/components/management/ApplicationDetails/ApplicationDetails.d.ts.map +1 -0
- package/dist/components/management/ApplicationDetails/BaseApplicationDetails.d.ts.map +1 -0
- package/dist/components/{admin → management}/ApplicationList/ApplicationList.d.ts +1 -1
- package/dist/components/management/ApplicationList/ApplicationList.d.ts.map +1 -0
- package/dist/components/management/ApplicationList/BaseApplicationList.d.ts.map +1 -0
- package/dist/components/management/GroupCreate/BaseGroupCreate.d.ts.map +1 -0
- package/dist/components/management/GroupCreate/GroupCreate.d.ts.map +1 -0
- package/dist/components/management/GroupDetails/BaseGroupDetails.d.ts +24 -0
- package/dist/components/management/GroupDetails/BaseGroupDetails.d.ts.map +1 -0
- package/dist/components/management/GroupDetails/GroupDetails.d.ts +16 -0
- package/dist/components/management/GroupDetails/GroupDetails.d.ts.map +1 -0
- package/dist/components/management/GroupList/BaseGroupList.d.ts.map +1 -0
- package/dist/components/management/GroupList/GroupList.d.ts.map +1 -0
- package/dist/components/management/GroupMembers/BaseGroupMembers.d.ts.map +1 -0
- package/dist/components/management/GroupMembers/GroupMembers.d.ts.map +1 -0
- package/dist/components/management/OrganizationUnitCreate/BaseOrganizationUnitCreate.d.ts +40 -0
- package/dist/components/management/OrganizationUnitCreate/BaseOrganizationUnitCreate.d.ts.map +1 -0
- package/dist/components/management/OrganizationUnitCreate/OrganizationUnitCreate.d.ts +13 -0
- package/dist/components/management/OrganizationUnitCreate/OrganizationUnitCreate.d.ts.map +1 -0
- package/dist/components/management/OrganizationUnitDetails/BaseOrganizationUnitDetails.d.ts +56 -0
- package/dist/components/management/OrganizationUnitDetails/BaseOrganizationUnitDetails.d.ts.map +1 -0
- package/dist/components/management/OrganizationUnitDetails/OrganizationUnitDetails.d.ts +16 -0
- package/dist/components/management/OrganizationUnitDetails/OrganizationUnitDetails.d.ts.map +1 -0
- package/dist/components/management/OrganizationUnitList/BaseOrganizationUnitList.d.ts +13 -0
- package/dist/components/management/OrganizationUnitList/BaseOrganizationUnitList.d.ts.map +1 -0
- package/dist/components/management/OrganizationUnitList/OrganizationUnitList.d.ts +16 -0
- package/dist/components/management/OrganizationUnitList/OrganizationUnitList.d.ts.map +1 -0
- package/dist/components/management/ProjectCreate/BaseProjectCreate.d.ts +31 -0
- package/dist/components/management/ProjectCreate/BaseProjectCreate.d.ts.map +1 -0
- package/dist/components/management/ProjectCreate/ProjectCreate.d.ts +12 -0
- package/dist/components/management/ProjectCreate/ProjectCreate.d.ts.map +1 -0
- package/dist/components/management/ProjectDetails/BaseProjectDetails.d.ts +33 -0
- package/dist/components/management/ProjectDetails/BaseProjectDetails.d.ts.map +1 -0
- package/dist/components/management/ProjectDetails/ProjectDetails.d.ts +17 -0
- package/dist/components/management/ProjectDetails/ProjectDetails.d.ts.map +1 -0
- package/dist/components/management/ProjectList/BaseProjectList.d.ts +13 -0
- package/dist/components/management/ProjectList/BaseProjectList.d.ts.map +1 -0
- package/dist/components/management/ProjectList/ProjectList.d.ts +16 -0
- package/dist/components/management/ProjectList/ProjectList.d.ts.map +1 -0
- package/dist/components/management/ProjectSwitcher/BaseProjectSwitcher.d.ts +31 -0
- package/dist/components/management/ProjectSwitcher/BaseProjectSwitcher.d.ts.map +1 -0
- package/dist/components/management/ProjectSwitcher/ProjectSwitcher.d.ts +19 -0
- package/dist/components/management/ProjectSwitcher/ProjectSwitcher.d.ts.map +1 -0
- package/dist/components/management/RoleAssignments/BaseRoleAssignments.d.ts.map +1 -0
- package/dist/components/management/RoleAssignments/RoleAssignments.d.ts.map +1 -0
- package/dist/components/management/RoleCreate/BaseRoleCreate.d.ts.map +1 -0
- package/dist/components/management/RoleCreate/RoleCreate.d.ts.map +1 -0
- package/dist/components/management/RoleDetails/BaseRoleDetails.d.ts +24 -0
- package/dist/components/management/RoleDetails/BaseRoleDetails.d.ts.map +1 -0
- package/dist/components/management/RoleDetails/RoleDetails.d.ts +15 -0
- package/dist/components/management/RoleDetails/RoleDetails.d.ts.map +1 -0
- package/dist/components/management/RoleList/BaseRoleList.d.ts.map +1 -0
- package/dist/components/management/RoleList/RoleList.d.ts.map +1 -0
- package/dist/components/management/RolePermissions/BaseRolePermissions.d.ts +54 -0
- package/dist/components/management/RolePermissions/BaseRolePermissions.d.ts.map +1 -0
- package/dist/components/management/RolePermissions/RolePermissions.d.ts +14 -0
- package/dist/components/management/RolePermissions/RolePermissions.d.ts.map +1 -0
- package/dist/components/management/SharingPolicies/BaseSharingPolicies.d.ts +144 -0
- package/dist/components/management/SharingPolicies/BaseSharingPolicies.d.ts.map +1 -0
- package/dist/components/management/SharingPolicies/SharingPolicies.d.ts +18 -0
- package/dist/components/management/SharingPolicies/SharingPolicies.d.ts.map +1 -0
- package/dist/components/management/UserCreate/BaseUserCreate.d.ts.map +1 -0
- package/dist/components/management/UserCreate/UserCreate.d.ts.map +1 -0
- package/dist/components/management/UserCreate/userCreateFields.d.ts.map +1 -0
- package/dist/components/management/UserDetails/BaseUserDetails.d.ts.map +1 -0
- package/dist/components/management/UserDetails/UserDetails.d.ts.map +1 -0
- package/dist/components/management/UserList/BaseUserList.d.ts.map +1 -0
- package/dist/components/management/UserList/UserList.d.ts.map +1 -0
- package/dist/components/management/shared/AccessStatusBadge.d.ts.map +1 -0
- package/dist/components/management/shared/AccountLifecycleButtons.d.ts.map +1 -0
- package/dist/components/management/shared/Admin.css.d.ts.map +1 -0
- package/dist/components/management/shared/AdminAvatar.d.ts.map +1 -0
- package/dist/components/management/shared/AdminSearch.d.ts.map +1 -0
- package/dist/components/management/shared/AdminSection.d.ts.map +1 -0
- package/dist/components/management/shared/ChipList.d.ts.map +1 -0
- package/dist/components/management/shared/ClientSecretNotice.d.ts.map +1 -0
- package/dist/components/management/shared/ConfirmButton.d.ts.map +1 -0
- package/dist/components/management/shared/DetailList.d.ts.map +1 -0
- package/dist/components/management/shared/IdentityPicker.d.ts.map +1 -0
- package/dist/components/management/shared/Panel.d.ts.map +1 -0
- package/dist/components/management/shared/adminFormProps.d.ts.map +1 -0
- package/dist/components/management/shared/createAdminList.d.ts.map +1 -0
- package/dist/components/{admin → management}/shared/createConnectedAdminList.d.ts +5 -0
- package/dist/components/management/shared/createConnectedAdminList.d.ts.map +1 -0
- package/dist/components/management/shared/formatTimestamp.d.ts +9 -0
- package/dist/components/management/shared/formatTimestamp.d.ts.map +1 -0
- package/dist/components/management/shared/renderAdminForm.d.ts.map +1 -0
- package/dist/components/management/shared/renderApplicationFields.d.ts.map +1 -0
- package/dist/components/management/shared/renderEditPanel.d.ts +21 -0
- package/dist/components/management/shared/renderEditPanel.d.ts.map +1 -0
- package/dist/components/management/shared/useAdminTranslation.d.ts.map +1 -0
- package/dist/components/management/shared/useCurrentProjectId.d.ts +10 -0
- package/dist/components/management/shared/useCurrentProjectId.d.ts.map +1 -0
- package/dist/components/management/shared/useDefaultOuId.d.ts.map +1 -0
- package/dist/components/management/shared/useProjectPlacement.d.ts +25 -0
- package/dist/components/management/shared/useProjectPlacement.d.ts.map +1 -0
- package/dist/composables/management/useManagementEndpoint.d.ts +1 -1
- package/dist/composables/management/useManagementEndpoint.d.ts.map +1 -1
- package/dist/composables/useCurrentProjectState.d.ts +31 -0
- package/dist/composables/useCurrentProjectState.d.ts.map +1 -0
- package/dist/index.d.ts +95 -53
- package/dist/index.d.ts.map +1 -1
- package/dist/index.js +8941 -4885
- package/dist/models/contexts.d.ts +27 -1
- package/dist/models/contexts.d.ts.map +1 -1
- package/dist/providers/ThunderIDProvider.d.ts.map +1 -1
- package/dist/styles/injectStyles.d.ts.map +1 -1
- package/dist/utils/flowTransformer.d.ts +7 -0
- package/dist/utils/flowTransformer.d.ts.map +1 -1
- package/package.json +2 -2
- package/dist/components/admin/AgentCreate/AgentCreate.d.ts.map +0 -1
- package/dist/components/admin/AgentCreate/BaseAgentCreate.d.ts.map +0 -1
- package/dist/components/admin/AgentDetails/AgentDetails.d.ts.map +0 -1
- package/dist/components/admin/AgentDetails/BaseAgentDetails.d.ts.map +0 -1
- package/dist/components/admin/AgentList/AgentList.d.ts.map +0 -1
- package/dist/components/admin/AgentList/BaseAgentList.d.ts.map +0 -1
- package/dist/components/admin/ApplicationCreate/ApplicationCreate.d.ts.map +0 -1
- package/dist/components/admin/ApplicationCreate/BaseApplicationCreate.d.ts.map +0 -1
- package/dist/components/admin/ApplicationDetails/ApplicationDetails.d.ts.map +0 -1
- package/dist/components/admin/ApplicationDetails/BaseApplicationDetails.d.ts.map +0 -1
- package/dist/components/admin/ApplicationList/ApplicationList.d.ts.map +0 -1
- package/dist/components/admin/ApplicationList/BaseApplicationList.d.ts.map +0 -1
- package/dist/components/admin/GroupCreate/BaseGroupCreate.d.ts.map +0 -1
- package/dist/components/admin/GroupCreate/GroupCreate.d.ts.map +0 -1
- package/dist/components/admin/GroupList/BaseGroupList.d.ts.map +0 -1
- package/dist/components/admin/GroupList/GroupList.d.ts.map +0 -1
- package/dist/components/admin/GroupMembers/BaseGroupMembers.d.ts.map +0 -1
- package/dist/components/admin/GroupMembers/GroupMembers.d.ts.map +0 -1
- package/dist/components/admin/RoleAssignments/BaseRoleAssignments.d.ts.map +0 -1
- package/dist/components/admin/RoleAssignments/RoleAssignments.d.ts.map +0 -1
- package/dist/components/admin/RoleCreate/BaseRoleCreate.d.ts.map +0 -1
- package/dist/components/admin/RoleCreate/RoleCreate.d.ts.map +0 -1
- package/dist/components/admin/RoleList/BaseRoleList.d.ts.map +0 -1
- package/dist/components/admin/RoleList/RoleList.d.ts.map +0 -1
- package/dist/components/admin/RolePermissions/BaseRolePermissions.d.ts +0 -23
- package/dist/components/admin/RolePermissions/BaseRolePermissions.d.ts.map +0 -1
- package/dist/components/admin/RolePermissions/RolePermissions.d.ts +0 -12
- package/dist/components/admin/RolePermissions/RolePermissions.d.ts.map +0 -1
- package/dist/components/admin/UserCreate/BaseUserCreate.d.ts.map +0 -1
- package/dist/components/admin/UserCreate/UserCreate.d.ts.map +0 -1
- package/dist/components/admin/UserCreate/userCreateFields.d.ts.map +0 -1
- package/dist/components/admin/UserDetails/BaseUserDetails.d.ts.map +0 -1
- package/dist/components/admin/UserDetails/UserDetails.d.ts.map +0 -1
- package/dist/components/admin/UserList/BaseUserList.d.ts.map +0 -1
- package/dist/components/admin/UserList/UserList.d.ts.map +0 -1
- package/dist/components/admin/shared/AccessStatusBadge.d.ts.map +0 -1
- package/dist/components/admin/shared/AccountLifecycleButtons.d.ts.map +0 -1
- package/dist/components/admin/shared/Admin.css.d.ts.map +0 -1
- package/dist/components/admin/shared/AdminAvatar.d.ts.map +0 -1
- package/dist/components/admin/shared/AdminSearch.d.ts.map +0 -1
- package/dist/components/admin/shared/AdminSection.d.ts.map +0 -1
- package/dist/components/admin/shared/ChipList.d.ts.map +0 -1
- package/dist/components/admin/shared/ClientSecretNotice.d.ts.map +0 -1
- package/dist/components/admin/shared/ConfirmButton.d.ts.map +0 -1
- package/dist/components/admin/shared/DetailList.d.ts.map +0 -1
- package/dist/components/admin/shared/IdentityPicker.d.ts.map +0 -1
- package/dist/components/admin/shared/Panel.d.ts.map +0 -1
- package/dist/components/admin/shared/adminFormProps.d.ts.map +0 -1
- package/dist/components/admin/shared/createAdminList.d.ts.map +0 -1
- package/dist/components/admin/shared/createConnectedAdminList.d.ts.map +0 -1
- package/dist/components/admin/shared/renderAdminForm.d.ts.map +0 -1
- package/dist/components/admin/shared/renderApplicationFields.d.ts.map +0 -1
- package/dist/components/admin/shared/useAdminTranslation.d.ts.map +0 -1
- package/dist/components/admin/shared/useDefaultOuId.d.ts.map +0 -1
- /package/dist/components/{admin → management}/AgentCreate/AgentCreate.d.ts +0 -0
- /package/dist/components/{admin → management}/AgentCreate/BaseAgentCreate.d.ts +0 -0
- /package/dist/components/{admin → management}/AgentDetails/AgentDetails.d.ts +0 -0
- /package/dist/components/{admin → management}/AgentDetails/BaseAgentDetails.d.ts +0 -0
- /package/dist/components/{admin → management}/AgentList/BaseAgentList.d.ts +0 -0
- /package/dist/components/{admin → management}/ApplicationCreate/ApplicationCreate.d.ts +0 -0
- /package/dist/components/{admin → management}/ApplicationCreate/BaseApplicationCreate.d.ts +0 -0
- /package/dist/components/{admin → management}/ApplicationDetails/ApplicationDetails.d.ts +0 -0
- /package/dist/components/{admin → management}/ApplicationDetails/BaseApplicationDetails.d.ts +0 -0
- /package/dist/components/{admin → management}/ApplicationList/BaseApplicationList.d.ts +0 -0
- /package/dist/components/{admin → management}/GroupCreate/BaseGroupCreate.d.ts +0 -0
- /package/dist/components/{admin → management}/GroupCreate/GroupCreate.d.ts +0 -0
- /package/dist/components/{admin → management}/GroupList/BaseGroupList.d.ts +0 -0
- /package/dist/components/{admin → management}/GroupList/GroupList.d.ts +0 -0
- /package/dist/components/{admin → management}/GroupMembers/BaseGroupMembers.d.ts +0 -0
- /package/dist/components/{admin → management}/GroupMembers/GroupMembers.d.ts +0 -0
- /package/dist/components/{admin → management}/RoleAssignments/BaseRoleAssignments.d.ts +0 -0
- /package/dist/components/{admin → management}/RoleAssignments/RoleAssignments.d.ts +0 -0
- /package/dist/components/{admin → management}/RoleCreate/BaseRoleCreate.d.ts +0 -0
- /package/dist/components/{admin → management}/RoleCreate/RoleCreate.d.ts +0 -0
- /package/dist/components/{admin → management}/RoleList/BaseRoleList.d.ts +0 -0
- /package/dist/components/{admin → management}/RoleList/RoleList.d.ts +0 -0
- /package/dist/components/{admin → management}/UserCreate/BaseUserCreate.d.ts +0 -0
- /package/dist/components/{admin → management}/UserCreate/UserCreate.d.ts +0 -0
- /package/dist/components/{admin → management}/UserCreate/userCreateFields.d.ts +0 -0
- /package/dist/components/{admin → management}/UserDetails/BaseUserDetails.d.ts +0 -0
- /package/dist/components/{admin → management}/UserDetails/UserDetails.d.ts +0 -0
- /package/dist/components/{admin → management}/UserList/BaseUserList.d.ts +0 -0
- /package/dist/components/{admin → management}/UserList/UserList.d.ts +0 -0
- /package/dist/components/{admin → management}/shared/AccessStatusBadge.d.ts +0 -0
- /package/dist/components/{admin → management}/shared/AccountLifecycleButtons.d.ts +0 -0
- /package/dist/components/{admin → management}/shared/Admin.css.d.ts +0 -0
- /package/dist/components/{admin → management}/shared/AdminAvatar.d.ts +0 -0
- /package/dist/components/{admin → management}/shared/AdminSearch.d.ts +0 -0
- /package/dist/components/{admin → management}/shared/AdminSection.d.ts +0 -0
- /package/dist/components/{admin → management}/shared/ChipList.d.ts +0 -0
- /package/dist/components/{admin → management}/shared/ClientSecretNotice.d.ts +0 -0
- /package/dist/components/{admin → management}/shared/ConfirmButton.d.ts +0 -0
- /package/dist/components/{admin → management}/shared/DetailList.d.ts +0 -0
- /package/dist/components/{admin → management}/shared/IdentityPicker.d.ts +0 -0
- /package/dist/components/{admin → management}/shared/Panel.d.ts +0 -0
- /package/dist/components/{admin → management}/shared/adminFormProps.d.ts +0 -0
- /package/dist/components/{admin → management}/shared/createAdminList.d.ts +0 -0
- /package/dist/components/{admin → management}/shared/renderAdminForm.d.ts +0 -0
- /package/dist/components/{admin → management}/shared/renderApplicationFields.d.ts +0 -0
- /package/dist/components/{admin → management}/shared/useAdminTranslation.d.ts +0 -0
- /package/dist/components/{admin → management}/shared/useDefaultOuId.d.ts +0 -0
|
@@ -0,0 +1,50 @@
|
|
|
1
|
+
import { type AccessibleOrganizationUnit, type Preferences } from '@thunderid/browser';
|
|
2
|
+
import { type Component } from 'vue';
|
|
3
|
+
type BaseOrganizationUnitSwitcherProps = Readonly<{
|
|
4
|
+
className: string;
|
|
5
|
+
current: string | null;
|
|
6
|
+
currentName: string | null;
|
|
7
|
+
error: string | null;
|
|
8
|
+
isLoading: boolean;
|
|
9
|
+
limit: number;
|
|
10
|
+
offset: number;
|
|
11
|
+
onPageChange: ((offset: number) => void) | undefined;
|
|
12
|
+
onSwitch: ((unit: AccessibleOrganizationUnit) => void) | undefined;
|
|
13
|
+
organizationUnits: AccessibleOrganizationUnit[];
|
|
14
|
+
preferences: Preferences | undefined;
|
|
15
|
+
switchingId: string | null;
|
|
16
|
+
title: string | undefined;
|
|
17
|
+
totalResults: number;
|
|
18
|
+
}>;
|
|
19
|
+
export type { BaseOrganizationUnitSwitcherProps };
|
|
20
|
+
/**
|
|
21
|
+
* What the switcher hands its default scoped slot, so the units can be drawn with any UI while the
|
|
22
|
+
* component keeps the loading, paging and switching.
|
|
23
|
+
*/
|
|
24
|
+
export interface OrganizationUnitSwitcherRenderProps {
|
|
25
|
+
/** Identifier of the current organization unit, or `null` when unknown. */
|
|
26
|
+
current: string | null;
|
|
27
|
+
/** Name of the current organization unit, from the page or the session, or `null` when unknown. */
|
|
28
|
+
currentName: string | null;
|
|
29
|
+
/** An error message, already translated. */
|
|
30
|
+
error: string | null;
|
|
31
|
+
isLoading: boolean;
|
|
32
|
+
limit: number;
|
|
33
|
+
offset: number;
|
|
34
|
+
/** Loads the page starting at `offset`. */
|
|
35
|
+
onPageChange: (offset: number) => void;
|
|
36
|
+
/** Switches to the unit (or hands it to `onSelect`, when the app takes over). */
|
|
37
|
+
onSwitch: (unit: AccessibleOrganizationUnit) => void;
|
|
38
|
+
organizationUnits: AccessibleOrganizationUnit[];
|
|
39
|
+
/** Identifier of the unit a switch is in progress to, or `null`. */
|
|
40
|
+
switchingId: string | null;
|
|
41
|
+
totalResults: number;
|
|
42
|
+
}
|
|
43
|
+
/**
|
|
44
|
+
* Organization unit picker: a field showing the current unit under a small label, which opens a menu of
|
|
45
|
+
* the units to switch to. Holds no data of its own: pass the units and handle `switch` and `page-change`.
|
|
46
|
+
* The default scoped slot replaces the built-in UI and receives {@link OrganizationUnitSwitcherRenderProps}.
|
|
47
|
+
*/
|
|
48
|
+
declare const BaseOrganizationUnitSwitcher: Component;
|
|
49
|
+
export default BaseOrganizationUnitSwitcher;
|
|
50
|
+
//# sourceMappingURL=BaseOrganizationUnitSwitcher.d.ts.map
|
package/dist/components/account/organization-unit-switcher/BaseOrganizationUnitSwitcher.d.ts.map
ADDED
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"BaseOrganizationUnitSwitcher.d.ts","sourceRoot":"","sources":["../../../../src/components/account/organization-unit-switcher/BaseOrganizationUnitSwitcher.ts"],"names":[],"mappings":"AAGA,OAAO,EAAC,KAAK,0BAA0B,EAAE,KAAK,WAAW,EAA2B,MAAM,oBAAoB,CAAC;AAC/G,OAAO,EACL,KAAK,SAAS,EAYf,MAAM,KAAK,CAAC;AAMb,KAAK,iCAAiC,GAAG,QAAQ,CAAC;IAChD,SAAS,EAAE,MAAM,CAAC;IAClB,OAAO,EAAE,MAAM,GAAG,IAAI,CAAC;IACvB,WAAW,EAAE,MAAM,GAAG,IAAI,CAAC;IAC3B,KAAK,EAAE,MAAM,GAAG,IAAI,CAAC;IACrB,SAAS,EAAE,OAAO,CAAC;IACnB,KAAK,EAAE,MAAM,CAAC;IACd,MAAM,EAAE,MAAM,CAAC;IACf,YAAY,EAAE,CAAC,CAAC,MAAM,EAAE,MAAM,KAAK,IAAI,CAAC,GAAG,SAAS,CAAC;IACrD,QAAQ,EAAE,CAAC,CAAC,IAAI,EAAE,0BAA0B,KAAK,IAAI,CAAC,GAAG,SAAS,CAAC;IACnE,iBAAiB,EAAE,0BAA0B,EAAE,CAAC;IAChD,WAAW,EAAE,WAAW,GAAG,SAAS,CAAC;IACrC,WAAW,EAAE,MAAM,GAAG,IAAI,CAAC;IAC3B,KAAK,EAAE,MAAM,GAAG,SAAS,CAAC;IAC1B,YAAY,EAAE,MAAM,CAAC;CACtB,CAAC,CAAC;AAEH,YAAY,EAAC,iCAAiC,EAAC,CAAC;AAEhD;;;GAGG;AACH,MAAM,WAAW,mCAAmC;IAClD,2EAA2E;IAC3E,OAAO,EAAE,MAAM,GAAG,IAAI,CAAC;IACvB,mGAAmG;IACnG,WAAW,EAAE,MAAM,GAAG,IAAI,CAAC;IAC3B,4CAA4C;IAC5C,KAAK,EAAE,MAAM,GAAG,IAAI,CAAC;IACrB,SAAS,EAAE,OAAO,CAAC;IACnB,KAAK,EAAE,MAAM,CAAC;IACd,MAAM,EAAE,MAAM,CAAC;IACf,2CAA2C;IAC3C,YAAY,EAAE,CAAC,MAAM,EAAE,MAAM,KAAK,IAAI,CAAC;IACvC,iFAAiF;IACjF,QAAQ,EAAE,CAAC,IAAI,EAAE,0BAA0B,KAAK,IAAI,CAAC;IACrD,iBAAiB,EAAE,0BAA0B,EAAE,CAAC;IAChD,oEAAoE;IACpE,WAAW,EAAE,MAAM,GAAG,IAAI,CAAC;IAC3B,YAAY,EAAE,MAAM,CAAC;CACtB;AAID;;;;GAIG;AACH,QAAA,MAAM,4BAA4B,EAAE,SAkUlC,CAAC;AAEH,eAAe,4BAA4B,CAAC"}
|
|
@@ -0,0 +1,6 @@
|
|
|
1
|
+
/**
|
|
2
|
+
* Styles for the OrganizationUnitSwitcher presentation component.
|
|
3
|
+
*/
|
|
4
|
+
declare const ORGANIZATION_UNIT_SWITCHER_CSS = "\n.thunderid-organization-unit-switcher {\n position: relative;\n display: inline-flex;\n flex-direction: column;\n gap: calc(var(--thunderid-spacing-unit) * 0.5);\n min-width: 240px;\n max-width: 100%;\n font-family: var(--thunderid-typography-fontFamily);\n}\n\n.thunderid-organization-unit-switcher__field {\n display: flex;\n align-items: center;\n justify-content: space-between;\n gap: calc(var(--thunderid-spacing-unit) * 1.5);\n width: 100%;\n box-sizing: border-box;\n padding: calc(var(--thunderid-spacing-unit) * 0.75) calc(var(--thunderid-spacing-unit) * 1.5);\n border: 1px solid var(--thunderid-color-border);\n border-radius: var(--thunderid-border-radius-medium, 8px);\n background: var(--thunderid-color-background-surface);\n color: var(--thunderid-color-text-primary);\n font: inherit;\n text-align: start;\n cursor: pointer;\n}\n\n.thunderid-organization-unit-switcher__field:hover:not(:disabled) {\n background-color: var(--thunderid-color-action-hover, rgba(0, 0, 0, 0.04));\n}\n\n.thunderid-organization-unit-switcher__field:focus-visible {\n outline: 2px solid var(--thunderid-color-primary-main);\n outline-offset: 1px;\n}\n\n.thunderid-organization-unit-switcher__field:disabled {\n cursor: default;\n opacity: 0.7;\n}\n\n.thunderid-organization-unit-switcher__field-text {\n display: flex;\n flex-direction: column;\n min-width: 0;\n}\n\n.thunderid-organization-unit-switcher__label {\n display: block;\n font-size: 0.75rem;\n line-height: 1rem;\n color: var(--thunderid-color-text-secondary);\n}\n\n.thunderid-organization-unit-switcher__value {\n display: block;\n overflow: hidden;\n font-size: 1rem;\n line-height: 1.375rem;\n text-overflow: ellipsis;\n white-space: nowrap;\n}\n\n.thunderid-organization-unit-switcher__chevron {\n display: flex;\n flex-shrink: 0;\n color: var(--thunderid-color-text-secondary);\n transition: transform 0.12s ease-in-out;\n}\n\n.thunderid-organization-unit-switcher__chevron--open {\n transform: rotate(180deg);\n}\n\n.thunderid-organization-unit-switcher__error {\n font-size: 0.75rem;\n color: var(--thunderid-color-error-main);\n}\n\n.thunderid-organization-unit-switcher__menu {\n position: absolute;\n top: calc(100% + 4px);\n left: 0;\n z-index: 1000;\n box-sizing: border-box;\n min-width: 100%;\n max-height: 320px;\n overflow-y: auto;\n padding: calc(var(--thunderid-spacing-unit) * 0.5);\n border: 1px solid var(--thunderid-color-border);\n border-radius: var(--thunderid-border-radius-medium, 8px);\n background-color: var(--thunderid-color-background-surface);\n box-shadow: var(--thunderid-shadow-medium);\n}\n\n.thunderid-organization-unit-switcher__list {\n display: flex;\n flex-direction: column;\n}\n\n.thunderid-organization-unit-switcher__option {\n display: flex;\n align-items: center;\n justify-content: space-between;\n gap: var(--thunderid-spacing-unit);\n width: 100%;\n padding: var(--thunderid-spacing-unit) calc(var(--thunderid-spacing-unit) * 1.25);\n border: none;\n border-radius: var(--thunderid-border-radius-small, 4px);\n background-color: transparent;\n color: var(--thunderid-color-text-primary);\n font: inherit;\n text-align: start;\n cursor: pointer;\n outline: none;\n}\n\n.thunderid-organization-unit-switcher__option:hover,\n.thunderid-organization-unit-switcher__option:focus-visible {\n background-color: var(--thunderid-color-action-hover, rgba(0, 0, 0, 0.04));\n}\n\n.thunderid-organization-unit-switcher__option--current {\n font-weight: 600;\n}\n\n.thunderid-organization-unit-switcher__option-text {\n display: flex;\n flex-direction: column;\n min-width: 0;\n}\n\n.thunderid-organization-unit-switcher__option-name {\n font-size: 0.875rem;\n}\n\n.thunderid-organization-unit-switcher__option-handle {\n font-size: 0.75rem;\n font-weight: 400;\n color: var(--thunderid-color-text-secondary);\n}\n\n.thunderid-organization-unit-switcher__check {\n display: flex;\n flex-shrink: 0;\n color: var(--thunderid-color-primary-main);\n}\n\n.thunderid-organization-unit-switcher__status {\n display: flex;\n align-items: center;\n gap: var(--thunderid-spacing-unit);\n margin: 0;\n padding: var(--thunderid-spacing-unit) calc(var(--thunderid-spacing-unit) * 1.25);\n font-size: 0.875rem;\n color: var(--thunderid-color-text-secondary);\n}\n\n.thunderid-organization-unit-switcher__pagination {\n display: flex;\n justify-content: flex-end;\n gap: var(--thunderid-spacing-unit);\n margin-top: calc(var(--thunderid-spacing-unit) * 0.5);\n padding-top: calc(var(--thunderid-spacing-unit) * 0.5);\n border-top: 1px solid var(--thunderid-color-border);\n}\n";
|
|
5
|
+
export default ORGANIZATION_UNIT_SWITCHER_CSS;
|
|
6
|
+
//# sourceMappingURL=OrganizationUnitSwitcher.css.d.ts.map
|
package/dist/components/account/organization-unit-switcher/OrganizationUnitSwitcher.css.d.ts.map
ADDED
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"OrganizationUnitSwitcher.css.d.ts","sourceRoot":"","sources":["../../../../src/components/account/organization-unit-switcher/OrganizationUnitSwitcher.css.ts"],"names":[],"mappings":"AAGA;;GAEG;AACH,QAAA,MAAM,8BAA8B,wjJAuKnC,CAAC;AAEF,eAAe,8BAA8B,CAAC"}
|
|
@@ -0,0 +1,13 @@
|
|
|
1
|
+
import { type Component } from 'vue';
|
|
2
|
+
/**
|
|
3
|
+
* Shows the current organization unit in a field that opens a menu of the units the signed-in user can
|
|
4
|
+
* access (`/users/me/ous`), and switches to the one picked through `switchOrganizationUnit`: the server reuses the SSO session, so
|
|
5
|
+
* normally no credentials are asked. A failed switch leaves the session as it was and shows a translated
|
|
6
|
+
* message. Pass `onSelect` (or `@select`) to take over the switch yourself.
|
|
7
|
+
*
|
|
8
|
+
* The default scoped slot replaces the built-in UI and receives `OrganizationUnitSwitcherRenderProps`.
|
|
9
|
+
* Emits `switch` with the unit after a successful switch.
|
|
10
|
+
*/
|
|
11
|
+
declare const OrganizationUnitSwitcher: Component;
|
|
12
|
+
export default OrganizationUnitSwitcher;
|
|
13
|
+
//# sourceMappingURL=OrganizationUnitSwitcher.d.ts.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"OrganizationUnitSwitcher.d.ts","sourceRoot":"","sources":["../../../../src/components/account/organization-unit-switcher/OrganizationUnitSwitcher.ts"],"names":[],"mappings":"AAYA,OAAO,EACL,KAAK,SAAS,EAUf,MAAM,KAAK,CAAC;AAgCb;;;;;;;;GAQG;AACH,QAAA,MAAM,wBAAwB,EAAE,SAkI9B,CAAC;AAEH,eAAe,wBAAwB,CAAC"}
|
|
@@ -1,5 +1,5 @@
|
|
|
1
|
-
import { AttributeSchema, Preferences, type User } from '@thunderid/browser';
|
|
2
|
-
import { type Component } from 'vue';
|
|
1
|
+
import { AttributeSchema, Preferences, type User, type VerifiedAttribute } from '@thunderid/browser';
|
|
2
|
+
import { type Component, type VNode } from 'vue';
|
|
3
3
|
export interface BaseUserProfileProps {
|
|
4
4
|
avatarSize?: 'sm' | 'md' | 'lg';
|
|
5
5
|
cardLayout?: boolean;
|
|
@@ -21,6 +21,46 @@ export interface BaseUserProfileProps {
|
|
|
21
21
|
title?: string;
|
|
22
22
|
userSchema?: Record<string, AttributeSchema> | null;
|
|
23
23
|
}
|
|
24
|
+
/**
|
|
25
|
+
* Slot props of the `verification` slot, which renders the verification panel for an attribute.
|
|
26
|
+
* Without the slot, or when the profile is not editable, statuses are shown without a Verify action.
|
|
27
|
+
*/
|
|
28
|
+
export interface BaseUserProfileVerificationSlotProps {
|
|
29
|
+
/** Name of the attribute to verify. */
|
|
30
|
+
attribute: string;
|
|
31
|
+
/** Label of the attribute. */
|
|
32
|
+
attributeDisplayName: string;
|
|
33
|
+
/** Closes the panel. */
|
|
34
|
+
onCancel: () => void;
|
|
35
|
+
/** Closes the panel and confirms the recorded verification. */
|
|
36
|
+
onComplete: () => void;
|
|
37
|
+
}
|
|
38
|
+
/**
|
|
39
|
+
* Verification state and actions added to the default slot's props, so a custom profile can show
|
|
40
|
+
* each attribute's status and start a verification.
|
|
41
|
+
*/
|
|
42
|
+
export interface BaseUserProfileVerificationState {
|
|
43
|
+
/**
|
|
44
|
+
* Whether the user can verify the attribute now: the profile is editable, the server reports
|
|
45
|
+
* verification, and the attribute is an unverified `email` or `mobile` property with a stored value.
|
|
46
|
+
*/
|
|
47
|
+
canVerify: (attribute: string) => boolean;
|
|
48
|
+
/** Closes the open verification. */
|
|
49
|
+
cancelVerification: () => void;
|
|
50
|
+
/** Renders the `verification` slot for the open attribute, or nothing when none is open. */
|
|
51
|
+
renderVerification: () => VNode | null;
|
|
52
|
+
/** Opens the verification of an attribute that `canVerify` allows. */
|
|
53
|
+
verify: (attribute: string) => void;
|
|
54
|
+
/**
|
|
55
|
+
* The attribute's status: `verified` or `unverified` for an `email` or `mobile` property with a stored
|
|
56
|
+
* value, else `null`, also when the server does not report verification.
|
|
57
|
+
*/
|
|
58
|
+
verificationStatus: (attribute: string) => 'verified' | 'unverified' | null;
|
|
59
|
+
/** Verified attributes as the server reports them, with `verifiedAt`; `undefined` when it does not. */
|
|
60
|
+
verifiedAttributes: Record<string, VerifiedAttribute> | undefined;
|
|
61
|
+
/** The attribute whose verification is open. */
|
|
62
|
+
verifyingAttribute: string | null;
|
|
63
|
+
}
|
|
24
64
|
declare const BaseUserProfile: Component;
|
|
25
65
|
export default BaseUserProfile;
|
|
26
66
|
//# sourceMappingURL=BaseUserProfile.d.ts.map
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"BaseUserProfile.d.ts","sourceRoot":"","sources":["../../../../src/components/account/user-profile/BaseUserProfile.ts"],"names":[],"mappings":"AAGA,OAAO,
|
|
1
|
+
{"version":3,"file":"BaseUserProfile.d.ts","sourceRoot":"","sources":["../../../../src/components/account/user-profile/BaseUserProfile.ts"],"names":[],"mappings":"AAGA,OAAO,EACL,eAAe,EAEf,WAAW,EACX,KAAK,IAAI,EACT,KAAK,iBAAiB,EAOvB,MAAM,oBAAoB,CAAC;AAC5B,OAAO,EACL,KAAK,SAAS,EAMd,KAAK,KAAK,EAOX,MAAM,KAAK,CAAC;AAiCb,MAAM,WAAW,oBAAoB;IACnC,UAAU,CAAC,EAAE,IAAI,GAAG,IAAI,GAAG,IAAI,CAAC;IAChC,UAAU,CAAC,EAAE,OAAO,CAAC;IACrB,WAAW,CAAC,EAAE,UAAU,GAAG,UAAU,GAAG,MAAM,CAAC;IAC/C,SAAS,CAAC,EAAE,MAAM,CAAC;IACnB,OAAO,CAAC,EAAE,OAAO,CAAC;IAClB,QAAQ,CAAC,EAAE,OAAO,CAAC;IACnB,KAAK,CAAC,EAAE,MAAM,GAAG,IAAI,CAAC;IACtB,gBAAgB,CAAC,EAAE,IAAI,GAAG,IAAI,CAAC;IAC/B,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,IAAI,CAAC;IAC5E,uGAAuG;IACvG,kBAAkB,EAAE,MAAM,CAAC,MAAM,EAAE,iBAAiB,CAAC,GAAG,SAAS,CAAC;IAClE,gDAAgD;IAChD,kBAAkB,EAAE,MAAM,GAAG,IAAI,CAAC;CACnC;AA8GD,QAAA,MAAM,eAAe,EAAE,SA0tBrB,CAAC;AAEH,eAAe,eAAe,CAAC"}
|
|
@@ -2,6 +2,6 @@
|
|
|
2
2
|
* Styles for the UserProfile presentation component.
|
|
3
3
|
* Parity target: `@thunderid/react` BaseUserProfile.styles.ts
|
|
4
4
|
*/
|
|
5
|
-
declare const USER_PROFILE_CSS = "\n/* ============================================================\n UserProfile (React Parity)\n ============================================================ */\n\n.thunderid-user-profile {\n display: flex;\n flex-direction: column;\n padding: calc(var(--thunderid-spacing-unit) * 4);\n min-width: 600px;\n font-family: var(--thunderid-typography-fontFamily);\n background: var(--thunderid-color-background-surface);\n border-radius: var(--thunderid-border-radius-large, 8px);\n box-sizing: border-box;\n}\n\n/* \u2500\u2500 Hero (avatar + name + subtitle) \u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500 */\n\n.thunderid-user-profile__hero {\n display: flex;\n flex-direction: column;\n align-items: flex-start;\n gap: calc(var(--thunderid-spacing-unit) * 1);\n padding-bottom: calc(var(--thunderid-spacing-unit) * 2);\n margin-bottom: calc(var(--thunderid-spacing-unit) * 2);\n border-bottom: 1px solid var(--thunderid-color-border);\n}\n\n.thunderid-user-profile__avatar-wrapper {\n position: relative;\n border-radius: 50%;\n}\n\n.thunderid-user-profile__avatar {\n border-radius: 50%;\n object-fit: cover;\n display: flex;\n align-items: center;\n justify-content: center;\n flex-shrink: 0;\n}\n\nimg.thunderid-user-profile__avatar {\n border-radius: 50%;\n object-fit: cover;\n width: 70px;\n height: 70px;\n}\n\n.thunderid-user-profile__avatar--sm {\n width: 48px;\n height: 48px;\n}\n\n.thunderid-user-profile__avatar--sm .thunderid-user-profile__avatar-initials {\n font-size: 1rem;\n}\n\n.thunderid-user-profile__avatar--md {\n width: 64px;\n height: 64px;\n}\n\n.thunderid-user-profile__avatar--md .thunderid-user-profile__avatar-initials {\n font-size: 1.25rem;\n}\n\n.thunderid-user-profile__avatar--lg {\n width: 70px;\n height: 70px;\n}\n\n.thunderid-user-profile__avatar--lg .thunderid-user-profile__avatar-initials {\n font-size: 1.5rem;\n}\n\n.thunderid-user-profile__avatar-initials {\n color: #ffffff;\n font-weight: var(--thunderid-typography-fontWeight-semibold, 600);\n line-height: 1;\n letter-spacing: 0.02em;\n pointer-events: none;\n user-select: none;\n}\n\n.thunderid-user-profile__hero-info {\n display: flex;\n flex-direction: column;\n align-items: flex-start;\n margin-top: calc(var(--thunderid-spacing-unit) * 0.5);\n}\n\n.thunderid-user-profile__hero-name {\n font-size: var(--thunderid-typography-fontSize-xl, 1.5rem);\n font-weight: var(--thunderid-typography-fontWeight-semibold, 600);\n color: var(--thunderid-color-text-primary);\n margin: 0;\n line-height: var(--thunderid-typography-lineHeight-tight, 1.2);\n}\n\n.thunderid-user-profile__hero-subtitle {\n font-size: var(--thunderid-typography-fontSize-sm, 0.875rem);\n color: var(--thunderid-color-text-secondary);\n margin-top: calc(var(--thunderid-spacing-unit) * 0.5);\n line-height: var(--thunderid-typography-lineHeight-normal, 1.4);\n}\n\n/* \u2500\u2500 Alerts & loading \u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500 */\n\n.thunderid-user-profile__error {\n margin-bottom: calc(var(--thunderid-spacing-unit) * 3);\n}\n\n.thunderid-user-profile__loading {\n display: flex;\n align-items: center;\n justify-content: center;\n padding: calc(var(--thunderid-spacing-unit) * 4) 0;\n}\n\n/* \u2500\u2500 Fields \u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500 */\n\n.thunderid-user-profile__fields {\n display: flex;\n flex-direction: column;\n}\n\n.thunderid-user-profile__field {\n display: flex;\n align-items: center;\n justify-content: space-between;\n padding: calc(var(--thunderid-spacing-unit) * 1.5) 0;\n border-bottom: 1px solid var(--thunderid-color-border);\n min-height: 28px;\n box-sizing: border-box;\n}\n\n.thunderid-user-profile__field:last-child {\n border-bottom: none;\n}\n\n.thunderid-user-profile__field-inner {\n flex: 1;\n display: flex;\n align-items: center;\n gap: var(--thunderid-spacing-unit);\n min-width: 0;\n}\n\n.thunderid-user-profile__field-label {\n font-size: var(--thunderid-typography-fontSize-sm, 0.875rem);\n font-weight: var(--thunderid-typography-fontWeight-medium, 500);\n color: var(--thunderid-color-text-secondary);\n width: 120px;\n flex-shrink: 0;\n line-height: 28px;\n text-align: start;\n}\n\n.thunderid-user-profile__field-value {\n color: var(--thunderid-color-text-primary);\n flex: 1;\n display: inline-block;\n align-items: center;\n font-size: var(--thunderid-typography-fontSize-sm, 0.875rem);\n line-height: 28px;\n word-break: break-word;\n text-overflow: ellipsis;\n white-space: nowrap;\n max-width: 350px;\n min-width: 0;\n text-align: start;\n overflow: hidden;\n}\n\n.thunderid-user-profile__field-placeholder {\n font-size: var(--thunderid-typography-fontSize-sm, 0.875rem);\n font-style: italic;\n color: var(--thunderid-color-text-secondary);\n opacity: 0.7;\n cursor: pointer;\n text-decoration: underline;\n white-space: nowrap;\n line-height: 28px;\n}\n\n.thunderid-user-profile__field-placeholder:hover {\n opacity: 1;\n}\n\n.thunderid-user-profile__field-actions {\n display: flex;\n gap: calc(var(--thunderid-spacing-unit) * 0.5);\n align-items: center;\n margin-inline-start: calc(var(--thunderid-spacing-unit) * 4);\n}\n\n.thunderid-user-profile__field-edit-btn {\n display: inline-flex;\n align-items: center;\n justify-content: center;\n background: transparent;\n border: none;\n cursor: pointer;\n color: var(--thunderid-color-text-secondary);\n padding: 0;\n min-height: auto;\n opacity: 0.7;\n line-height: 0;\n transition: opacity var(--thunderid-transition-fast, 0.15s ease);\n}\n\n.thunderid-user-profile__field-edit-btn:hover {\n opacity: 1;\n background: transparent;\n}\n\n.thunderid-user-profile__field-edit {\n flex: 1;\n display: flex;\n flex-direction: column;\n gap: calc(var(--thunderid-spacing-unit) * 0.5);\n}\n\n.thunderid-user-profile__field-error {\n color: var(--thunderid-color-error, #d32f2f);\n font-size: var(--thunderid-typography-fontSize-xs, 0.8rem);\n font-weight: var(--thunderid-typography-fontWeight-medium, 500);\n margin-top: calc(var(--thunderid-spacing-unit) * 0.5);\n}\n\n/* \u2500\u2500 Footer \u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500 */\n\n.thunderid-user-profile__footer {\n padding-top: calc(var(--thunderid-spacing-unit) * 2);\n border-top: 1px solid var(--thunderid-color-border);\n}\n\n/* \u2500\u2500 Compact modifier \u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500 */\n\n.thunderid-user-profile--compact {\n padding: calc(var(--thunderid-spacing-unit) * 2);\n width: 100%;\n}\n";
|
|
5
|
+
declare const USER_PROFILE_CSS = "\n/* ============================================================\n UserProfile (React Parity)\n ============================================================ */\n\n.thunderid-user-profile {\n display: flex;\n flex-direction: column;\n padding: calc(var(--thunderid-spacing-unit) * 4);\n min-width: 600px;\n font-family: var(--thunderid-typography-fontFamily);\n background: var(--thunderid-color-background-surface);\n border-radius: var(--thunderid-border-radius-large, 8px);\n box-sizing: border-box;\n}\n\n/* \u2500\u2500 Hero (avatar + name + subtitle) \u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500 */\n\n.thunderid-user-profile__hero {\n display: flex;\n flex-direction: column;\n align-items: flex-start;\n gap: calc(var(--thunderid-spacing-unit) * 1);\n padding-bottom: calc(var(--thunderid-spacing-unit) * 2);\n margin-bottom: calc(var(--thunderid-spacing-unit) * 2);\n border-bottom: 1px solid var(--thunderid-color-border);\n}\n\n.thunderid-user-profile__avatar-wrapper {\n position: relative;\n border-radius: 50%;\n}\n\n.thunderid-user-profile__avatar {\n border-radius: 50%;\n object-fit: cover;\n display: flex;\n align-items: center;\n justify-content: center;\n flex-shrink: 0;\n}\n\nimg.thunderid-user-profile__avatar {\n border-radius: 50%;\n object-fit: cover;\n width: 70px;\n height: 70px;\n}\n\n.thunderid-user-profile__avatar--sm {\n width: 48px;\n height: 48px;\n}\n\n.thunderid-user-profile__avatar--sm .thunderid-user-profile__avatar-initials {\n font-size: 1rem;\n}\n\n.thunderid-user-profile__avatar--md {\n width: 64px;\n height: 64px;\n}\n\n.thunderid-user-profile__avatar--md .thunderid-user-profile__avatar-initials {\n font-size: 1.25rem;\n}\n\n.thunderid-user-profile__avatar--lg {\n width: 70px;\n height: 70px;\n}\n\n.thunderid-user-profile__avatar--lg .thunderid-user-profile__avatar-initials {\n font-size: 1.5rem;\n}\n\n.thunderid-user-profile__avatar-initials {\n color: #ffffff;\n font-weight: var(--thunderid-typography-fontWeight-semibold, 600);\n line-height: 1;\n letter-spacing: 0.02em;\n pointer-events: none;\n user-select: none;\n}\n\n.thunderid-user-profile__hero-info {\n display: flex;\n flex-direction: column;\n align-items: flex-start;\n margin-top: calc(var(--thunderid-spacing-unit) * 0.5);\n}\n\n.thunderid-user-profile__hero-name {\n font-size: var(--thunderid-typography-fontSize-xl, 1.5rem);\n font-weight: var(--thunderid-typography-fontWeight-semibold, 600);\n color: var(--thunderid-color-text-primary);\n margin: 0;\n line-height: var(--thunderid-typography-lineHeight-tight, 1.2);\n}\n\n.thunderid-user-profile__hero-subtitle {\n font-size: var(--thunderid-typography-fontSize-sm, 0.875rem);\n color: var(--thunderid-color-text-secondary);\n margin-top: calc(var(--thunderid-spacing-unit) * 0.5);\n line-height: var(--thunderid-typography-lineHeight-normal, 1.4);\n}\n\n/* \u2500\u2500 Alerts & loading \u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500 */\n\n.thunderid-user-profile__error {\n margin-bottom: calc(var(--thunderid-spacing-unit) * 3);\n}\n\n.thunderid-user-profile__loading {\n display: flex;\n align-items: center;\n justify-content: center;\n padding: calc(var(--thunderid-spacing-unit) * 4) 0;\n}\n\n/* \u2500\u2500 Fields \u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500 */\n\n.thunderid-user-profile__fields {\n display: flex;\n flex-direction: column;\n}\n\n.thunderid-user-profile__field {\n display: flex;\n align-items: center;\n justify-content: space-between;\n padding: calc(var(--thunderid-spacing-unit) * 1.5) 0;\n border-bottom: 1px solid var(--thunderid-color-border);\n min-height: 28px;\n box-sizing: border-box;\n}\n\n.thunderid-user-profile__field:last-child {\n border-bottom: none;\n}\n\n.thunderid-user-profile__field-inner {\n flex: 1;\n display: flex;\n align-items: center;\n gap: var(--thunderid-spacing-unit);\n min-width: 0;\n}\n\n.thunderid-user-profile__field-label {\n font-size: var(--thunderid-typography-fontSize-sm, 0.875rem);\n font-weight: var(--thunderid-typography-fontWeight-medium, 500);\n color: var(--thunderid-color-text-secondary);\n width: 120px;\n flex-shrink: 0;\n line-height: 28px;\n text-align: start;\n}\n\n.thunderid-user-profile__field-value {\n color: var(--thunderid-color-text-primary);\n flex: 1;\n display: inline-block;\n align-items: center;\n font-size: var(--thunderid-typography-fontSize-sm, 0.875rem);\n line-height: 28px;\n word-break: break-word;\n text-overflow: ellipsis;\n white-space: nowrap;\n max-width: 350px;\n min-width: 0;\n text-align: start;\n overflow: hidden;\n}\n\n.thunderid-user-profile__field-placeholder {\n font-size: var(--thunderid-typography-fontSize-sm, 0.875rem);\n font-style: italic;\n color: var(--thunderid-color-text-secondary);\n opacity: 0.7;\n cursor: pointer;\n text-decoration: underline;\n white-space: nowrap;\n line-height: 28px;\n}\n\n.thunderid-user-profile__field-placeholder:hover {\n opacity: 1;\n}\n\n.thunderid-user-profile__field-actions {\n display: flex;\n gap: calc(var(--thunderid-spacing-unit) * 0.5);\n align-items: center;\n margin-inline-start: calc(var(--thunderid-spacing-unit) * 4);\n}\n\n.thunderid-user-profile__field-edit-btn {\n display: inline-flex;\n align-items: center;\n justify-content: center;\n background: transparent;\n border: none;\n cursor: pointer;\n color: var(--thunderid-color-text-secondary);\n padding: 0;\n min-height: auto;\n opacity: 0.7;\n line-height: 0;\n transition: opacity var(--thunderid-transition-fast, 0.15s ease);\n}\n\n.thunderid-user-profile__field-edit-btn:hover {\n opacity: 1;\n background: transparent;\n}\n\n.thunderid-user-profile__field-edit {\n flex: 1;\n display: flex;\n flex-direction: column;\n gap: calc(var(--thunderid-spacing-unit) * 0.5);\n}\n\n.thunderid-user-profile__verification-status {\n display: inline-flex;\n flex-shrink: 0;\n gap: calc(var(--thunderid-spacing-unit) * 0.5);\n align-items: center;\n padding: 0 var(--thunderid-spacing-unit);\n border-radius: 999px;\n font-size: 0.75rem;\n font-weight: 500;\n line-height: 22px;\n white-space: nowrap;\n}\n\n.thunderid-user-profile__verification-status svg {\n width: 12px;\n height: 12px;\n}\n\n.thunderid-user-profile__verification-status--verified {\n color: var(--thunderid-color-success-dark, var(--thunderid-color-success-main));\n background: color-mix(in srgb, var(--thunderid-color-success-main) 12%, transparent);\n}\n\n/* Amber marks an action the user can take. */\n.thunderid-user-profile__verification-status--unverified {\n color: var(--thunderid-color-warning-contrastText);\n background: color-mix(in srgb, var(--thunderid-color-warning-main) 14%, transparent);\n}\n\n.thunderid-user-profile__verification {\n padding: var(--thunderid-spacing-unit) 0;\n}\n\n/* Starts where the value column starts: the label's width plus the row gap. */\n.thunderid-user-profile__verification--inline {\n margin-inline-start: calc(120px + var(--thunderid-spacing-unit));\n}\n\n.thunderid-user-profile__verification-overlay {\n position: fixed;\n inset: 0;\n z-index: 9999;\n display: flex;\n align-items: center;\n justify-content: center;\n background-color: rgba(0, 0, 0, 0.45);\n}\n\n.thunderid-user-profile__verification-dialog {\n box-sizing: border-box;\n width: min(448px, calc(100vw - calc(var(--thunderid-spacing-unit) * 4)));\n max-height: 90vh;\n overflow-y: auto;\n padding: calc(var(--thunderid-spacing-unit) * 2);\n background: var(--thunderid-color-background-surface);\n border-radius: var(--thunderid-border-radius-large);\n box-shadow: var(--thunderid-shadow-large);\n font-family: var(--thunderid-typography-fontFamily);\n outline: none;\n}\n\n.thunderid-user-profile__verification-dialog > .thunderid-user-profile__verification {\n padding: 0;\n}\n\n.thunderid-user-profile__verification-notice {\n margin-bottom: calc(var(--thunderid-spacing-unit) * 2);\n}\n\n.thunderid-user-profile__visually-hidden {\n position: absolute;\n width: 1px;\n height: 1px;\n padding: 0;\n margin: -1px;\n overflow: hidden;\n clip: rect(0, 0, 0, 0);\n white-space: nowrap;\n border: 0;\n}\n\n.thunderid-user-profile__field-error {\n color: var(--thunderid-color-error, #d32f2f);\n font-size: var(--thunderid-typography-fontSize-xs, 0.8rem);\n font-weight: var(--thunderid-typography-fontWeight-medium, 500);\n margin-top: calc(var(--thunderid-spacing-unit) * 0.5);\n}\n\n/* \u2500\u2500 Footer \u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500 */\n\n.thunderid-user-profile__footer {\n padding-top: calc(var(--thunderid-spacing-unit) * 2);\n border-top: 1px solid var(--thunderid-color-border);\n}\n\n/* \u2500\u2500 Compact modifier \u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500 */\n\n.thunderid-user-profile--compact {\n padding: calc(var(--thunderid-spacing-unit) * 2);\n width: 100%;\n}\n";
|
|
6
6
|
export default USER_PROFILE_CSS;
|
|
7
7
|
//# sourceMappingURL=UserProfile.css.d.ts.map
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"UserProfile.css.d.ts","sourceRoot":"","sources":["../../../../src/components/account/user-profile/UserProfile.css.ts"],"names":[],"mappings":"AAGA;;;GAGG;AACH,QAAA,MAAM,gBAAgB,
|
|
1
|
+
{"version":3,"file":"UserProfile.css.d.ts","sourceRoot":"","sources":["../../../../src/components/account/user-profile/UserProfile.css.ts"],"names":[],"mappings":"AAGA;;;GAGG;AACH,QAAA,MAAM,gBAAgB,+tTAqUrB,CAAC;AAEF,eAAe,gBAAgB,CAAC"}
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"UserProfile.d.ts","sourceRoot":"","sources":["../../../../src/components/account/user-profile/UserProfile.ts"],"names":[],"mappings":"
|
|
1
|
+
{"version":3,"file":"UserProfile.d.ts","sourceRoot":"","sources":["../../../../src/components/account/user-profile/UserProfile.ts"],"names":[],"mappings":"AAYA,OAAO,EACL,KAAK,SAAS,EASf,MAAM,KAAK,CAAC;AAuBb,QAAA,MAAM,WAAW,EAAE,SAkJjB,CAAC;AAEH,eAAe,WAAW,CAAC"}
|
|
@@ -0,0 +1,83 @@
|
|
|
1
|
+
import { EmbeddedFlowComponent, EmbeddedSelfFlowRequest, EmbeddedSelfFlowResponse, Preferences } from '@thunderid/browser';
|
|
2
|
+
import { type Component } from 'vue';
|
|
3
|
+
/**
|
|
4
|
+
* Slot props of the default scoped slot, so the steps can be drawn with any UI.
|
|
5
|
+
*/
|
|
6
|
+
export interface BaseVerifyAttributeRenderProps {
|
|
7
|
+
additionalData: Record<string, unknown>;
|
|
8
|
+
/** The step's components, without its headings. */
|
|
9
|
+
components: EmbeddedFlowComponent[];
|
|
10
|
+
/**
|
|
11
|
+
* Masked destination the code or link was sent to, when the flow reports it.
|
|
12
|
+
*/
|
|
13
|
+
destination: string | null;
|
|
14
|
+
/** Translated "Sent to …" line, set when the flow has its own prompt in `subtitle`. */
|
|
15
|
+
destinationText: string | null;
|
|
16
|
+
/** Translated error of the last request, or the refusal. */
|
|
17
|
+
error: string | null;
|
|
18
|
+
fieldErrors: Record<string, string>;
|
|
19
|
+
handleInputChange: (name: string, value: string) => void;
|
|
20
|
+
/** Sends a new code. Set only while the step has a resend action. */
|
|
21
|
+
handleResend?: () => Promise<void>;
|
|
22
|
+
/**
|
|
23
|
+
* Submits a step. Pass `skipValidation` for an action, such as a resend, that sends no inputs.
|
|
24
|
+
*/
|
|
25
|
+
handleSubmit: (component: EmbeddedFlowComponent, data?: Record<string, string>, skipValidation?: boolean) => Promise<void>;
|
|
26
|
+
isAwaitingLink: boolean;
|
|
27
|
+
isComplete: boolean;
|
|
28
|
+
/** Whether the server refused the verification or the request failed; the flow cannot continue. */
|
|
29
|
+
isFailed: boolean;
|
|
30
|
+
isLoading: boolean;
|
|
31
|
+
isValid: boolean;
|
|
32
|
+
/** Closes the panel. Set only when the app passes `onCancel`. */
|
|
33
|
+
onCancel?: () => void;
|
|
34
|
+
/**
|
|
35
|
+
* Confirms a link the user opened outside the app. Set only while the step waits for a link and the
|
|
36
|
+
* app passes `onDone`.
|
|
37
|
+
*/
|
|
38
|
+
onDone?: () => void;
|
|
39
|
+
subtitle: string;
|
|
40
|
+
/** Translated message for a recorded verification. */
|
|
41
|
+
successMessage: string;
|
|
42
|
+
title: string;
|
|
43
|
+
touched: Record<string, boolean>;
|
|
44
|
+
values: Record<string, string>;
|
|
45
|
+
}
|
|
46
|
+
export interface BaseVerifyAttributeProps {
|
|
47
|
+
/** Label of the attribute being verified, used in the default heading and success message. */
|
|
48
|
+
attributeDisplayName?: string;
|
|
49
|
+
buttonClassName?: string;
|
|
50
|
+
className?: string;
|
|
51
|
+
inputClassName?: string;
|
|
52
|
+
isInitialized?: boolean;
|
|
53
|
+
/** Called when the user closes the panel. The close action is shown only when this is set. */
|
|
54
|
+
onCancel?: () => void;
|
|
55
|
+
/** Called once the server has recorded the verification. */
|
|
56
|
+
onComplete?: (response: EmbeddedSelfFlowResponse) => void;
|
|
57
|
+
/**
|
|
58
|
+
* Called when the user selects Done after the flow sent a link, which they confirm outside the app.
|
|
59
|
+
* The Done action is shown only when this is set.
|
|
60
|
+
*/
|
|
61
|
+
onDone?: () => void;
|
|
62
|
+
/** Called when the server refuses the verification or the request fails. */
|
|
63
|
+
onError?: (error: Error) => void;
|
|
64
|
+
onFlowChange?: (response: EmbeddedSelfFlowResponse) => void;
|
|
65
|
+
onInitialize?: () => Promise<EmbeddedSelfFlowResponse>;
|
|
66
|
+
onSubmit?: (payload: EmbeddedSelfFlowRequest) => Promise<EmbeddedSelfFlowResponse>;
|
|
67
|
+
/** Component-level preferences to override global i18n and theme settings. */
|
|
68
|
+
preferences?: Preferences;
|
|
69
|
+
showSubtitle?: boolean;
|
|
70
|
+
showTitle?: boolean;
|
|
71
|
+
size?: 'small' | 'medium' | 'large';
|
|
72
|
+
variant?: 'outlined' | 'flat';
|
|
73
|
+
}
|
|
74
|
+
/**
|
|
75
|
+
* BaseVerifyAttribute renders the server-described steps of a self attribute verification flow.
|
|
76
|
+
* It takes the flow calls as props, so it stays independent of how the request reaches the server.
|
|
77
|
+
*
|
|
78
|
+
* It starts the flow once per mount, since starting one sends a message, and never retries a start
|
|
79
|
+
* that failed.
|
|
80
|
+
*/
|
|
81
|
+
declare const BaseVerifyAttribute: Component;
|
|
82
|
+
export default BaseVerifyAttribute;
|
|
83
|
+
//# sourceMappingURL=BaseVerifyAttribute.d.ts.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"BaseVerifyAttribute.d.ts","sourceRoot":"","sources":["../../../../src/components/account/verify-attribute/BaseVerifyAttribute.ts"],"names":[],"mappings":"AAGA,OAAO,EAEL,qBAAqB,EACrB,uBAAuB,EACvB,wBAAwB,EAKxB,WAAW,EAKZ,MAAM,oBAAoB,CAAC;AAC5B,OAAO,EACL,KAAK,SAAS,EAYf,MAAM,KAAK,CAAC;AA0Cb;;GAEG;AACH,MAAM,WAAW,8BAA8B;IAC7C,cAAc,EAAE,MAAM,CAAC,MAAM,EAAE,OAAO,CAAC,CAAC;IACxC,mDAAmD;IACnD,UAAU,EAAE,qBAAqB,EAAE,CAAC;IACpC;;OAEG;IACH,WAAW,EAAE,MAAM,GAAG,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;IACxB,aAAa,CAAC,EAAE,OAAO,CAAC;IACxB,8FAA8F;IAC9F,QAAQ,CAAC,EAAE,MAAM,IAAI,CAAC;IACtB,4DAA4D;IAC5D,UAAU,CAAC,EAAE,CAAC,QAAQ,EAAE,wBAAwB,KAAK,IAAI,CAAC;IAC1D;;;OAGG;IACH,MAAM,CAAC,EAAE,MAAM,IAAI,CAAC;IACpB,4EAA4E;IAC5E,OAAO,CAAC,EAAE,CAAC,KAAK,EAAE,KAAK,KAAK,IAAI,CAAC;IACjC,YAAY,CAAC,EAAE,CAAC,QAAQ,EAAE,wBAAwB,KAAK,IAAI,CAAC;IAC5D,YAAY,CAAC,EAAE,MAAM,OAAO,CAAC,wBAAwB,CAAC,CAAC;IACvD,QAAQ,CAAC,EAAE,CAAC,OAAO,EAAE,uBAAuB,KAAK,OAAO,CAAC,wBAAwB,CAAC,CAAC;IACnF,8EAA8E;IAC9E,WAAW,CAAC,EAAE,WAAW,CAAC;IAC1B,YAAY,CAAC,EAAE,OAAO,CAAC;IACvB,SAAS,CAAC,EAAE,OAAO,CAAC;IACpB,IAAI,CAAC,EAAE,OAAO,GAAG,QAAQ,GAAG,OAAO,CAAC;IACpC,OAAO,CAAC,EAAE,UAAU,GAAG,MAAM,CAAC;CAC/B;AAED;;;;;;GAMG;AACH,QAAA,MAAM,mBAAmB,EAAE,SAqXzB,CAAC;AAEH,eAAe,mBAAmB,CAAC"}
|
|
@@ -0,0 +1,7 @@
|
|
|
1
|
+
/**
|
|
2
|
+
* Styles for the VerifyAttribute presentation component.
|
|
3
|
+
* Parity target: `@thunderid/react` BaseVerifyAttribute.styles.ts
|
|
4
|
+
*/
|
|
5
|
+
declare const VERIFY_ATTRIBUTE_CSS = "\n/* ============================================================\n VerifyAttribute (React Parity)\n ============================================================ */\n\n.thunderid-verify-attribute {\n display: flex;\n flex-direction: column;\n gap: calc(var(--thunderid-spacing-unit) * 2);\n width: 100%;\n box-sizing: border-box;\n font-family: var(--thunderid-typography-fontFamily);\n}\n\n.thunderid-verify-attribute--outlined {\n padding: calc(var(--thunderid-spacing-unit) * 2);\n border: 1px solid var(--thunderid-color-border);\n border-radius: var(--thunderid-border-radius-medium, 6px);\n}\n\n.thunderid-verify-attribute__header {\n display: flex;\n flex-direction: column;\n gap: calc(var(--thunderid-spacing-unit) / 2);\n}\n\n.thunderid-verify-attribute__heading {\n margin: 0;\n}\n\n.thunderid-verify-attribute__subheading,\n.thunderid-verify-attribute__destination {\n margin: 0;\n color: var(--thunderid-color-text-secondary);\n}\n\n.thunderid-verify-attribute__content {\n display: flex;\n flex-direction: column;\n gap: calc(var(--thunderid-spacing-unit) * 1.5);\n}\n\n.thunderid-verify-attribute__content .thunderid-otp-field__inputs {\n justify-content: flex-start;\n}\n\n.thunderid-verify-attribute__content .thunderid-otp-field__digit {\n flex: 1 1 calc(var(--thunderid-spacing-unit) * 4);\n max-width: calc(var(--thunderid-spacing-unit) * 6);\n min-width: 0;\n}\n\n.thunderid-verify-attribute__alert {\n width: 100%;\n}\n\n.thunderid-verify-attribute__loading {\n display: flex;\n justify-content: center;\n padding: calc(var(--thunderid-spacing-unit) * 2);\n}\n\n.thunderid-verify-attribute__actions {\n display: flex;\n align-items: center;\n justify-content: flex-end;\n gap: var(--thunderid-spacing-unit);\n}\n";
|
|
6
|
+
export default VERIFY_ATTRIBUTE_CSS;
|
|
7
|
+
//# sourceMappingURL=VerifyAttribute.css.d.ts.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"VerifyAttribute.css.d.ts","sourceRoot":"","sources":["../../../../src/components/account/verify-attribute/VerifyAttribute.css.ts"],"names":[],"mappings":"AAGA;;;GAGG;AACH,QAAA,MAAM,oBAAoB,6uDAoEzB,CAAC;AAEF,eAAe,oBAAoB,CAAC"}
|
|
@@ -0,0 +1,23 @@
|
|
|
1
|
+
import { type Component } from 'vue';
|
|
2
|
+
/**
|
|
3
|
+
* VerifyAttribute verifies one of the signed-in user's attributes, such as their email address, by
|
|
4
|
+
* running a self attribute verification flow named by `flowHandle`. The flow picks the email or mobile
|
|
5
|
+
* path from the attribute's type, sends a code or a link to the attribute's current value, and the
|
|
6
|
+
* component renders the steps it describes; for a link it shows a Done action. Every request carries
|
|
7
|
+
* the user's access token. Once the server records the verification, and when the user selects Done,
|
|
8
|
+
* it re-reads the user's profile so `useUser()` shows the new status.
|
|
9
|
+
*
|
|
10
|
+
* It waits for the user schema to load, and refuses an attribute the schema does not declare as an
|
|
11
|
+
* `email` or `mobile` property, since starting a verification sends a message.
|
|
12
|
+
*
|
|
13
|
+
* Mount it with a `key` per attribute: each mount starts a new verification and sends a new code or
|
|
14
|
+
* link.
|
|
15
|
+
*
|
|
16
|
+
* @example
|
|
17
|
+
* ```vue
|
|
18
|
+
* <VerifyAttribute attribute="email" @complete="open = false" @cancel="open = false" />
|
|
19
|
+
* ```
|
|
20
|
+
*/
|
|
21
|
+
declare const VerifyAttribute: Component;
|
|
22
|
+
export default VerifyAttribute;
|
|
23
|
+
//# sourceMappingURL=VerifyAttribute.d.ts.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"VerifyAttribute.d.ts","sourceRoot":"","sources":["../../../../src/components/account/verify-attribute/VerifyAttribute.ts"],"names":[],"mappings":"AAeA,OAAO,EAAC,KAAK,SAAS,EAAmE,MAAM,KAAK,CAAC;AAyBrG;;;;;;;;;;;;;;;;;;GAkBG;AACH,QAAA,MAAM,eAAe,EAAE,SAqGrB,CAAC;AAEH,eAAe,eAAe,CAAC"}
|
|
@@ -1,2 +1,2 @@
|
|
|
1
|
-
export { renderInviteUserComponents, renderSignInComponents, renderSignUpComponents } from './AuthOptionFactoryCore';
|
|
1
|
+
export { renderInviteUserComponents, renderSignInComponents, renderSignUpComponents, renderVerificationComponents, } from './AuthOptionFactoryCore';
|
|
2
2
|
//# sourceMappingURL=AuthOptionFactory.d.ts.map
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"AuthOptionFactory.d.ts","sourceRoot":"","sources":["../../../../src/components/auth/flow/AuthOptionFactory.ts"],"names":[],"mappings":"AAGA,OAAO,
|
|
1
|
+
{"version":3,"file":"AuthOptionFactory.d.ts","sourceRoot":"","sources":["../../../../src/components/auth/flow/AuthOptionFactory.ts"],"names":[],"mappings":"AAGA,OAAO,EACL,0BAA0B,EAC1B,sBAAsB,EACtB,sBAAsB,EACtB,4BAA4B,GAC7B,MAAM,yBAAyB,CAAC"}
|
|
@@ -34,6 +34,11 @@ export declare const renderSignUpComponents: (components: EmbeddedFlowComponent[
|
|
|
34
34
|
t?: TranslationFn;
|
|
35
35
|
variant?: any;
|
|
36
36
|
}) => VNode[];
|
|
37
|
+
/**
|
|
38
|
+
* Processes an array of components and renders them as VNodes for self attribute verification.
|
|
39
|
+
* Identical to renderSignUpComponents, except that it renders RESEND actions.
|
|
40
|
+
*/
|
|
41
|
+
export declare const renderVerificationComponents: (components: EmbeddedFlowComponent[], formValues: Record<string, string>, touchedFields: Record<string, boolean>, formErrors: Record<string, string>, isLoading: boolean, isFormValid: boolean, resetForm: () => void, onInputChange: (name: string, value: string) => void, options?: Parameters<typeof renderSignUpComponents>[8]) => VNode[];
|
|
37
42
|
/**
|
|
38
43
|
* Processes an array of components and renders them as VNodes for invite-user flows.
|
|
39
44
|
* Identical to renderSignInComponents — separated for semantic clarity.
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"AuthOptionFactoryCore.d.ts","sourceRoot":"","sources":["../../../../src/components/auth/flow/AuthOptionFactoryCore.ts"],"names":[],"mappings":"AAGA,OAAO,EAGL,oBAAoB,EACpB,qBAAqB,EAiBtB,MAAM,oBAAoB,CAAC;AAC5B,OAAO,KAAK,EAAC,cAAc,EAAE,UAAU,EAAE,cAAc,EAAC,MAAM,oBAAoB,CAAC;AAEnF,OAAO,EAAI,KAAK,KAAK,EAAC,MAAM,KAAK,CAAC;AAgDlC,KAAK,aAAa,GAAG,CAAC,GAAG,EAAE,MAAM,EAAE,MAAM,CAAC,EAAE,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,EAKL,qBAAqB,EAErB,yBAAyB,EAIzB,oBAAoB,EACrB,MAAM,oBAAoB,CAAC;AAC5B,OAAO,EACL,KAAK,SAAS,
|
|
1
|
+
{"version":3,"file":"SignIn.d.ts","sourceRoot":"","sources":["../../../../src/components/auth/sign-in/SignIn.ts"],"names":[],"mappings":"AAGA,OAAO,EAKL,qBAAqB,EAErB,yBAAyB,EAIzB,oBAAoB,EACrB,MAAM,oBAAoB,CAAC;AAC5B,OAAO,EACL,KAAK,SAAS,EAcf,MAAM,KAAK,CAAC;AAmBb;;GAEG;AACH,MAAM,WAAW,iBAAiB;IAChC,cAAc,CAAC,EAAE,MAAM,CAAC,MAAM,EAAE,GAAG,CAAC,CAAC;IACrC,UAAU,EAAE,qBAAqB,EAAE,CAAC;IACpC,KAAK,EAAE,KAAK,GAAG,IAAI,CAAC;IACpB,UAAU,EAAE,MAAM,OAAO,CAAC,IAAI,CAAC,CAAC;IAChC,aAAa,EAAE,OAAO,CAAC;IACvB,SAAS,EAAE,OAAO,CAAC;IACnB,iBAAiB,CAAC,EAAE,OAAO,CAAC;IAC5B,IAAI,EAAE,oBAAoB,GAAG,IAAI,CAAC;IAClC,QAAQ,EAAE,CAAC,OAAO,EAAE,yBAAyB,KAAK,OAAO,CAAC,IAAI,CAAC,CAAC;CACjE;AAED;;;;;;;;;;;;;;;;;;;GAmBG;AACH,QAAA,MAAM,MAAM,EAAE,SA4lBZ,CAAC;AAEH,eAAe,MAAM,CAAC"}
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"BaseSignUp.d.ts","sourceRoot":"","sources":["../../../../src/components/auth/sign-up/BaseSignUp.ts"],"names":[],"mappings":"AAUA,OAAO,EACL,KAAK,SAAS,
|
|
1
|
+
{"version":3,"file":"BaseSignUp.d.ts","sourceRoot":"","sources":["../../../../src/components/auth/sign-up/BaseSignUp.ts"],"names":[],"mappings":"AAUA,OAAO,EACL,KAAK,SAAS,EAaf,MAAM,KAAK,CAAC;AA0Bb;;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AAgB,CAAC,EAAE,MAAM,CAAC;IAC1B,UAAU,CAAC,EAAE,CAAC,QAAQ,EAAE,GAAG,KAAK,IAAI,CAAC;IACrC,OAAO,CAAC,EAAE,CAAC,KAAK,EAAE,KAAK,KAAK,IAAI,CAAC;IACjC,YAAY,CAAC,EAAE,CAAC,QAAQ,EAAE,GAAG,KAAK,IAAI,CAAC;IACvC,YAAY,CAAC,EAAE,CAAC,OAAO,CAAC,EAAE,GAAG,KAAK,OAAO,CAAC,GAAG,CAAC,CAAC;IAC/C,QAAQ,CAAC,EAAE,CAAC,OAAO,EAAE,GAAG,KAAK,OAAO,CAAC,GAAG,CAAC,CAAC;IAC1C,yBAAyB,CAAC,EAAE,OAAO,CAAC;IACpC,QAAQ,CAAC,EAAE,OAAO,CAAC;IACnB,YAAY,CAAC,EAAE,OAAO,CAAC;IACvB,SAAS,CAAC,EAAE,OAAO,CAAC;IACpB,IAAI,CAAC,EAAE,OAAO,GAAG,QAAQ,GAAG,OAAO,CAAC;IACpC,OAAO,CAAC,EAAE,UAAU,GAAG,UAAU,GAAG,MAAM,CAAC;CAC5C;AA8BD;;;;;GAKG;AACH,QAAA,MAAM,UAAU,EAAE,SA+nBhB,CAAC;AAEH,eAAe,UAAU,CAAC"}
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"AgentCreate.d.ts","sourceRoot":"","sources":["../../../../src/components/management/AgentCreate/AgentCreate.ts"],"names":[],"mappings":"AAKA,OAAO,EAAC,KAAK,SAAS,EAAgF,MAAM,KAAK,CAAC;AAelH;;;;;;;;GAQG;AACH,QAAA,MAAM,WAAW,EAAE,SAgEjB,CAAC;AAEH,eAAe,WAAW,CAAC"}
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"BaseAgentCreate.d.ts","sourceRoot":"","sources":["../../../../src/components/management/AgentCreate/BaseAgentCreate.ts"],"names":[],"mappings":"AAGA,OAAO,KAAK,EAAC,YAAY,EAAC,MAAM,oBAAoB,CAAC;AACrD,OAAO,EACL,KAAK,SAAS,EASf,MAAM,KAAK,CAAC;AAGb,OAAO,EAAsB,KAAK,oBAAoB,EAAiB,MAAM,0BAA0B,CAAC;AAIxG;;GAEG;AACH,MAAM,WAAW,qBAAqB;IACpC,WAAW,CAAC,EAAE,MAAM,CAAC;IACrB,IAAI,EAAE,MAAM,CAAC;IACb,IAAI,EAAE,MAAM,CAAC;CACd;AAID;;GAEG;AACH,MAAM,WAAW,0BAA2B,SAAQ,oBAAoB;IACtE,UAAU,EAAE,YAAY,EAAE,CAAC;IAC3B,kCAAkC;IAClC,iBAAiB,EAAE,CAAC,KAAK,EAAE,aAAa,GAAG,MAAM,GAAG,MAAM,EAAE,KAAK,EAAE,MAAM,KAAK,IAAI,CAAC;IACnF,MAAM,EAAE;QAAC,WAAW,EAAE,MAAM,CAAC;QAAC,IAAI,EAAE,MAAM,CAAC;QAAC,IAAI,EAAE,MAAM,CAAA;KAAC,CAAC;CAC3D;AAED;;;;GAIG;AACH,QAAA,MAAM,eAAe,EAAE,SAwErB,CAAC;AAEH,eAAe,eAAe,CAAC"}
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"AgentDetails.d.ts","sourceRoot":"","sources":["../../../../src/components/management/AgentDetails/AgentDetails.ts"],"names":[],"mappings":"AAcA,OAAO,EAAC,KAAK,SAAS,EAAmE,MAAM,KAAK,CAAC;AAgBrG;;;;;;;;;;GAUG;AACH,QAAA,MAAM,YAAY,EAAE,SA2ElB,CAAC;AAEH,eAAe,YAAY,CAAC"}
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"BaseAgentDetails.d.ts","sourceRoot":"","sources":["../../../../src/components/management/AgentDetails/BaseAgentDetails.ts"],"names":[],"mappings":"AAGA,OAAO,EACL,KAAK,sBAAsB,EAC3B,KAAK,KAAK,EACV,KAAK,eAAe,EAIrB,MAAM,oBAAoB,CAAC;AAC5B,OAAO,EAAC,KAAK,SAAS,EAAmE,MAAM,KAAK,CAAC;AA4BrG;;GAEG;AACH,MAAM,WAAW,2BAA2B;IAC1C,KAAK,CAAC,EAAE,KAAK,CAAC;IACd,KAAK,EAAE,MAAM,GAAG,IAAI,CAAC;IACrB,MAAM,EAAE,eAAe,EAAE,CAAC;IAC1B,UAAU,EAAE,OAAO,CAAC;IACpB,SAAS,EAAE,OAAO,CAAC;IACnB,wBAAwB,EAAE,OAAO,CAAC;IAClC,uFAAuF;IACvF,gBAAgB,EAAE,sBAAsB,EAAE,CAAC;IAC3C,iGAAiG;IACjG,QAAQ,CAAC,EAAE,MAAM,IAAI,CAAC;IACtB,kHAAkH;IAClH,iBAAiB,CAAC,EAAE,CAAC,MAAM,EAAE,sBAAsB,EAAE,YAAY,CAAC,EAAE,MAAM,KAAK,IAAI,CAAC;IACpF,KAAK,EAAE,MAAM,EAAE,CAAC;CACjB;AAID;;;;;;GAMG;AACH,QAAA,MAAM,gBAAgB,EAAE,SAgLtB,CAAC;AAEH,eAAe,gBAAgB,CAAC"}
|
|
@@ -2,7 +2,7 @@ import type { Component } from 'vue';
|
|
|
2
2
|
/**
|
|
3
3
|
* Lists the agents the signed-in user is allowed to see, a page at a time.
|
|
4
4
|
*
|
|
5
|
-
* Props: `searchable` (default `true`; shows a search form the server matches exactly), `searchAttributes`, `limit`, `selectedAgentId`, `onSelect` (`@select`), `title`, `description`, `className`,
|
|
5
|
+
* Props: `projectId` (defaults to the current project), `searchable` (default `true`; shows a search form the server matches exactly, hidden while a project scopes the list, since the server cannot combine the two), `searchAttributes`, `limit`, `selectedAgentId`, `onSelect` (`@select`), `title`, `description`, `className`,
|
|
6
6
|
* `preferences`. Slots: `actions`; `default`, a scoped slot that replaces the table with custom UI and
|
|
7
7
|
* receives `AdminListRenderProps` (rows, default columns, loading and error state, pagination and selection).
|
|
8
8
|
*
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"AgentList.d.ts","sourceRoot":"","sources":["../../../../src/components/management/AgentList/AgentList.ts"],"names":[],"mappings":"AAKA,OAAO,KAAK,EAAC,SAAS,EAAC,MAAM,KAAK,CAAC;AAQnC;;;;;;;;;;;GAWG;AACH,QAAA,MAAM,SAAS,EAAE,SAoCf,CAAC;AAEH,eAAe,SAAS,CAAC"}
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"BaseAgentList.d.ts","sourceRoot":"","sources":["../../../../src/components/management/AgentList/BaseAgentList.ts"],"names":[],"mappings":"AAIA,OAAO,EAAC,KAAK,SAAS,EAAqB,MAAM,KAAK,CAAC;AAIvD;;;;;;;;GAQG;AACH,QAAA,MAAM,aAAa,EAAE,SA0BnB,CAAC;AAEH,eAAe,aAAa,CAAC"}
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"ApplicationCreate.d.ts","sourceRoot":"","sources":["../../../../src/components/management/ApplicationCreate/ApplicationCreate.ts"],"names":[],"mappings":"AAWA,OAAO,EACL,KAAK,SAAS,EASf,MAAM,KAAK,CAAC;AAUb;;;;;;;;;;;;;;;;GAgBG;AACH,QAAA,MAAM,iBAAiB,EAAE,SA+EvB,CAAC;AAEH,eAAe,iBAAiB,CAAC"}
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"BaseApplicationCreate.d.ts","sourceRoot":"","sources":["../../../../src/components/management/ApplicationCreate/BaseApplicationCreate.ts"],"names":[],"mappings":"AAGA,OAAO,EAEL,KAAK,qBAAqB,EAI1B,KAAK,YAAY,EAClB,MAAM,oBAAoB,CAAC;AAC5B,OAAO,EACL,KAAK,SAAS,EASf,MAAM,KAAK,CAAC;AACb,OAAO,EAAsB,KAAK,oBAAoB,EAAiB,MAAM,0BAA0B,CAAC;AAIxG,OAAgC,EAC9B,KAAK,qBAAqB,EAC1B,KAAK,oBAAoB,EAC1B,MAAM,mCAAmC,CAAC;AAG3C;;GAEG;AACH,MAAM,MAAM,2BAA2B,GAAG,qBAAqB,CAAC;AAKhE;;GAEG;AACH,MAAM,WAAW,gCAAiC,SAAQ,oBAAoB;IAC5E,mGAAmG;IACnG,YAAY,EAAE,MAAM,GAAG,IAAI,CAAC;IAC5B,8DAA8D;IAC9D,gBAAgB,EAAE,YAAY,EAAE,CAAC;IACjC,mCAAmC;IACnC,sBAAsB,EAAE,CAAC,UAAU,EAAE,MAAM,EAAE,KAAK,IAAI,CAAC;IACvD,sFAAsF;IACtF,iBAAiB,EAAE,CAAC,KAAK,EAAE,oBAAoB,EAAE,KAAK,EAAE,MAAM,KAAK,IAAI,CAAC;IACxE,yCAAyC;IACzC,wBAAwB,EAAE,CAAC,YAAY,EAAE,OAAO,KAAK,IAAI,CAAC;IAC1D,2FAA2F;IAC3F,eAAe,CAAC,EAAE,MAAM,IAAI,CAAC;IAC7B,MAAM,EAAE,qBAAqB,CAAC;CAC/B;AAED;;;;;;GAMG;AACH,QAAA,MAAM,qBAAqB,EAAE,SAkG3B,CAAC;AAEH,eAAe,qBAAqB,CAAC"}
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"ApplicationDetails.d.ts","sourceRoot":"","sources":["../../../../src/components/management/ApplicationDetails/ApplicationDetails.ts"],"names":[],"mappings":"AAaA,OAAO,EAAC,KAAK,SAAS,EAAmE,MAAM,KAAK,CAAC;AAwBrG;;;;;;;;;;;;;;;;;;;;;;GAsBG;AACH,QAAA,MAAM,kBAAkB,EAAE,SAiHxB,CAAC;AAEH,eAAe,kBAAkB,CAAC"}
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"BaseApplicationDetails.d.ts","sourceRoot":"","sources":["../../../../src/components/management/ApplicationDetails/BaseApplicationDetails.ts"],"names":[],"mappings":"AAGA,OAAO,EACL,KAAK,sBAAsB,EAC3B,KAAK,WAAW,EAEhB,KAAK,qBAAqB,EAG1B,KAAK,YAAY,EAIlB,MAAM,oBAAoB,CAAC;AAC5B,OAAO,EACL,KAAK,SAAS,EASf,MAAM,KAAK,CAAC;AAmBb;;GAEG;AACH,MAAM,MAAM,2BAA2B,GAAG,IAAI,CAAC,qBAAqB,EAAE,cAAc,CAAC,CAAC;AAqBtF;;GAEG;AACH,MAAM,WAAW,iCAAiC;IAChD,WAAW,CAAC,EAAE,WAAW,CAAC;IAC1B,uEAAuE;IACvE,YAAY,EAAE,MAAM,GAAG,IAAI,CAAC;IAC5B,KAAK,EAAE,MAAM,GAAG,IAAI,CAAC;IACrB,UAAU,EAAE,OAAO,CAAC;IACpB,SAAS,EAAE,OAAO,CAAC;IACnB,oBAAoB,EAAE,OAAO,CAAC;IAC9B,wBAAwB,EAAE,OAAO,CAAC;IAClC,UAAU,EAAE,OAAO,CAAC;IACpB,6FAA6F;IAC7F,gBAAgB,EAAE,sBAAsB,EAAE,CAAC;IAC3C,+GAA+G;IAC/G,KAAK,CAAC,EAAE,IAAI,CAAC,YAAY,EAAE,cAAc,CAAC,CAAC;IAC3C,6GAA6G;IAC7G,QAAQ,CAAC,EAAE,MAAM,IAAI,CAAC;IACtB,wEAAwE;IACxE,iBAAiB,CAAC,EAAE,CAAC,MAAM,EAAE,sBAAsB,EAAE,YAAY,CAAC,EAAE,MAAM,KAAK,IAAI,CAAC;IACpF;;;OAGG;IACH,kBAAkB,CAAC,EAAE,MAAM,IAAI,CAAC;IAChC,+FAA+F;IAC/F,eAAe,CAAC,EAAE,MAAM,IAAI,CAAC;IAC7B,wGAAwG;IACxG,QAAQ,CAAC,EAAE,CAAC,WAAW,EAAE,2BAA2B,KAAK,IAAI,CAAC;CAC/D;AAwBD;;;;;;;GAOG;AACH,QAAA,MAAM,sBAAsB,EAAE,SA8T5B,CAAC;AAEH,eAAe,sBAAsB,CAAC"}
|
|
@@ -6,7 +6,7 @@ import type { Component } from 'vue';
|
|
|
6
6
|
* it defines no application-specific permission. Gate the view and its actions on it with
|
|
7
7
|
* `useGrantedPermissions().can('system')`.
|
|
8
8
|
*
|
|
9
|
-
* Props: `limit`, `selectedApplicationId`, `onSelect` (`@select`), `title`, `description`, `className`,
|
|
9
|
+
* Props: `projectId` (defaults to the current project), `limit`, `selectedApplicationId`, `onSelect` (`@select`), `title`, `description`, `className`,
|
|
10
10
|
* `preferences`. Slots: `actions`; `default`, a scoped slot that replaces the table with custom UI and
|
|
11
11
|
* receives `AdminListRenderProps` (rows, default columns, loading and error state, pagination and selection).
|
|
12
12
|
*
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"ApplicationList.d.ts","sourceRoot":"","sources":["../../../../src/components/management/ApplicationList/ApplicationList.ts"],"names":[],"mappings":"AAKA,OAAO,KAAK,EAAC,SAAS,EAAC,MAAM,KAAK,CAAC;AAOnC;;;;;;;;;;;;;;;GAeG;AACH,QAAA,MAAM,eAAe,EAAE,SA6BrB,CAAC;AAEH,eAAe,eAAe,CAAC"}
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"BaseApplicationList.d.ts","sourceRoot":"","sources":["../../../../src/components/management/ApplicationList/BaseApplicationList.ts"],"names":[],"mappings":"AAIA,OAAO,EAAC,KAAK,SAAS,EAAqB,MAAM,KAAK,CAAC;AAqBvD;;;;;;;;GAQG;AACH,QAAA,MAAM,mBAAmB,EAAE,SAoCzB,CAAC;AAEH,eAAe,mBAAmB,CAAC"}
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"BaseGroupCreate.d.ts","sourceRoot":"","sources":["../../../../src/components/management/GroupCreate/BaseGroupCreate.ts"],"names":[],"mappings":"AAGA,OAAO,EAAC,KAAK,SAAS,EAA0E,MAAM,KAAK,CAAC;AAE5G,OAAO,EAAsB,KAAK,oBAAoB,EAAiB,MAAM,0BAA0B,CAAC;AAIxG;;GAEG;AACH,MAAM,WAAW,qBAAqB;IACpC,WAAW,CAAC,EAAE,MAAM,CAAC;IACrB,IAAI,EAAE,MAAM,CAAC;CACd;AAED;;GAEG;AACH,MAAM,WAAW,0BAA2B,SAAQ,oBAAoB;IACtE,kCAAkC;IAClC,iBAAiB,EAAE,CAAC,KAAK,EAAE,aAAa,GAAG,MAAM,EAAE,KAAK,EAAE,MAAM,KAAK,IAAI,CAAC;IAC1E,MAAM,EAAE;QAAC,WAAW,EAAE,MAAM,CAAC;QAAC,IAAI,EAAE,MAAM,CAAA;KAAC,CAAC;CAC7C;AAED;;;;GAIG;AACH,QAAA,MAAM,eAAe,EAAE,SAuDrB,CAAC;AAEH,eAAe,eAAe,CAAC"}
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"GroupCreate.d.ts","sourceRoot":"","sources":["../../../../src/components/management/GroupCreate/GroupCreate.ts"],"names":[],"mappings":"AAKA,OAAO,EAAC,KAAK,SAAS,EAAsE,MAAM,KAAK,CAAC;AAaxG;;;;;;;;GAQG;AACH,QAAA,MAAM,WAAW,EAAE,SA8CjB,CAAC;AAEH,eAAe,WAAW,CAAC"}
|
|
@@ -0,0 +1,24 @@
|
|
|
1
|
+
import { type Group } from '@thunderid/browser';
|
|
2
|
+
import { type Component } from 'vue';
|
|
3
|
+
/**
|
|
4
|
+
* What `BaseGroupDetails` hands its default scoped slot, so the group can be shown with any UI.
|
|
5
|
+
*/
|
|
6
|
+
export interface BaseGroupDetailsRenderProps {
|
|
7
|
+
error: string | null;
|
|
8
|
+
group?: Group;
|
|
9
|
+
isDeleting: boolean;
|
|
10
|
+
isLoading: boolean;
|
|
11
|
+
/** Deletes the group. Undefined when deletion is not allowed. */
|
|
12
|
+
onDelete?: () => void;
|
|
13
|
+
}
|
|
14
|
+
/**
|
|
15
|
+
* Shows a group's name, description and organization unit, with its members under them. Holds no data of its own:
|
|
16
|
+
* pass the group and handle deletion.
|
|
17
|
+
*
|
|
18
|
+
* Slots: `actions`, rendered next to the group's name; `members`, rendered under the overview, such as a
|
|
19
|
+
* `GroupMembers`; `default`, a scoped slot that replaces the view with custom UI and receives
|
|
20
|
+
* {@link BaseGroupDetailsRenderProps}.
|
|
21
|
+
*/
|
|
22
|
+
declare const BaseGroupDetails: Component;
|
|
23
|
+
export default BaseGroupDetails;
|
|
24
|
+
//# sourceMappingURL=BaseGroupDetails.d.ts.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"BaseGroupDetails.d.ts","sourceRoot":"","sources":["../../../../src/components/management/GroupDetails/BaseGroupDetails.ts"],"names":[],"mappings":"AAGA,OAAO,EAAC,KAAK,KAAK,EAA6C,MAAM,oBAAoB,CAAC;AAC1F,OAAO,EAAC,KAAK,SAAS,EAAmE,MAAM,KAAK,CAAC;AAmBrG;;GAEG;AACH,MAAM,WAAW,2BAA2B;IAC1C,KAAK,EAAE,MAAM,GAAG,IAAI,CAAC;IACrB,KAAK,CAAC,EAAE,KAAK,CAAC;IACd,UAAU,EAAE,OAAO,CAAC;IACpB,SAAS,EAAE,OAAO,CAAC;IACnB,iEAAiE;IACjE,QAAQ,CAAC,EAAE,MAAM,IAAI,CAAC;CACvB;AAID;;;;;;;GAOG;AACH,QAAA,MAAM,gBAAgB,EAAE,SAyGtB,CAAC;AAEH,eAAe,gBAAgB,CAAC"}
|
|
@@ -0,0 +1,16 @@
|
|
|
1
|
+
import { type Component } from 'vue';
|
|
2
|
+
/**
|
|
3
|
+
* Shows a group with its members, and lets the signed-in user manage the members and delete the group. Emits
|
|
4
|
+
* `deleted` after the group has been deleted.
|
|
5
|
+
*
|
|
6
|
+
* Slots: `actions`, rendered next to the group's name; `default`, a scoped slot that replaces the view with custom
|
|
7
|
+
* UI.
|
|
8
|
+
*
|
|
9
|
+
* @example
|
|
10
|
+
* ```vue
|
|
11
|
+
* <GroupDetails :group-id="groupId" editable deletable @deleted="router.push('/groups')" />
|
|
12
|
+
* ```
|
|
13
|
+
*/
|
|
14
|
+
declare const GroupDetails: Component;
|
|
15
|
+
export default GroupDetails;
|
|
16
|
+
//# sourceMappingURL=GroupDetails.d.ts.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"GroupDetails.d.ts","sourceRoot":"","sources":["../../../../src/components/management/GroupDetails/GroupDetails.ts"],"names":[],"mappings":"AAKA,OAAO,EAAC,KAAK,SAAS,EAAmE,MAAM,KAAK,CAAC;AAiBrG;;;;;;;;;;;GAWG;AACH,QAAA,MAAM,YAAY,EAAE,SAiElB,CAAC;AAEH,eAAe,YAAY,CAAC"}
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"BaseGroupList.d.ts","sourceRoot":"","sources":["../../../../src/components/management/GroupList/BaseGroupList.ts"],"names":[],"mappings":"AAIA,OAAO,EAAC,KAAK,SAAS,EAAkB,MAAM,KAAK,CAAC;AAIpD;;;;;;;;GAQG;AACH,QAAA,MAAM,aAAa,EAAE,SAqBnB,CAAC;AAEH,eAAe,aAAa,CAAC"}
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"GroupList.d.ts","sourceRoot":"","sources":["../../../../src/components/management/GroupList/GroupList.ts"],"names":[],"mappings":"AAKA,OAAO,KAAK,EAAC,SAAS,EAAC,MAAM,KAAK,CAAC;AAMnC;;;;;;;;;;;GAWG;AACH,QAAA,MAAM,SAAS,EAAE,SAwBf,CAAC;AAEH,eAAe,SAAS,CAAC"}
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"BaseGroupMembers.d.ts","sourceRoot":"","sources":["../../../../src/components/management/GroupMembers/BaseGroupMembers.ts"],"names":[],"mappings":"AAGA,OAAO,KAAK,EAAC,WAAW,EAAE,eAAe,EAAc,MAAM,oBAAoB,CAAC;AAClF,OAAO,EAAC,KAAK,SAAS,EAAoF,MAAM,KAAK,CAAC;AAEtH,OAAkB,EAAC,KAAK,eAAe,EAAC,MAAM,sCAAsC,CAAC;AAErF,OAAuB,EAAC,KAAK,iBAAiB,EAAC,MAAM,0BAA0B,CAAC;AAmBhF;;;GAGG;AACH,MAAM,WAAW,2BAA2B;IAC1C,oGAAoG;IACpG,UAAU,CAAC,EAAE,OAAO,CAAC,MAAM,CAAC,eAAe,EAAE,iBAAiB,EAAE,CAAC,CAAC,CAAC;IACnE,iGAAiG;IACjG,OAAO,EAAE,eAAe,CAAC,WAAW,CAAC,EAAE,CAAC;IACxC,KAAK,EAAE,MAAM,GAAG,IAAI,CAAC;IACrB,SAAS,EAAE,OAAO,CAAC;IACnB,UAAU,EAAE,OAAO,CAAC;IACpB,OAAO,EAAE,WAAW,EAAE,CAAC;IACvB,2DAA2D;IAC3D,KAAK,CAAC,EAAE,CAAC,MAAM,EAAE,IAAI,CAAC,WAAW,EAAE,IAAI,GAAG,MAAM,CAAC,KAAK,IAAI,CAAC;IAC3D,gEAAgE;IAChE,QAAQ,CAAC,EAAE,CAAC,MAAM,EAAE,WAAW,KAAK,IAAI,CAAC;CAC1C;AAED;;;;;;GAMG;AACH,QAAA,MAAM,gBAAgB,EAAE,SAwHtB,CAAC;AAEH,eAAe,gBAAgB,CAAC"}
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"GroupMembers.d.ts","sourceRoot":"","sources":["../../../../src/components/management/GroupMembers/GroupMembers.ts"],"names":[],"mappings":"AA8BA,OAAO,EAAC,KAAK,SAAS,EAAmE,MAAM,KAAK,CAAC;AAgCrG;;;;;;;;GAQG;AACH,QAAA,MAAM,YAAY,EAAE,SA0HlB,CAAC;AAEH,eAAe,YAAY,CAAC"}
|