@thunderid/vue 1.19.1 → 1.20.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/cjs/index.cjs +171 -54
- package/dist/components/account/user-profile/BaseUserProfile.d.ts.map +1 -1
- package/dist/components/account/verify-attribute/BaseVerifyAttribute.d.ts.map +1 -1
- package/dist/components/account/verify-attribute/VerifyAttribute.css.d.ts +1 -1
- package/dist/components/account/verify-attribute/VerifyAttribute.css.d.ts.map +1 -1
- package/dist/components/management/UserDetails/BaseUserDetails.d.ts +15 -1
- package/dist/components/management/UserDetails/BaseUserDetails.d.ts.map +1 -1
- package/dist/components/management/UserDetails/UserDetails.d.ts +2 -1
- package/dist/components/management/UserDetails/UserDetails.d.ts.map +1 -1
- package/dist/components/management/shared/Admin.css.d.ts +2 -2
- package/dist/components/management/shared/Admin.css.d.ts.map +1 -1
- package/dist/components/primitives/Icons.d.ts +1 -0
- package/dist/components/primitives/Icons.d.ts.map +1 -1
- package/dist/index.d.ts +2 -2
- package/dist/index.d.ts.map +1 -1
- package/dist/index.js +167 -56
- package/package.json +2 -2
package/dist/index.js
CHANGED
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import { ADMINISTRATION_FLOW_TYPE, APPLICATION_GRANT_TYPES, AccountLifecycleFlowConfigKey, AccountLifecycleFlowConfigKey as AccountLifecycleFlowConfigKey$1, AdministrationFlowConfigKey, AdministrationFlowData, AdministrationFlowError, AdministrationFlowInput, AdministrationModes, AgentQueryKeys, AgentQueryKeys as AgentQueryKeys$1, ApplicationQueryKeys, ApplicationQueryKeys as ApplicationQueryKeys$1, AttributeVerificationConstants, AttributeVerificationConstants as AttributeVerificationConstants$1, AuthFlowSelectConstants, ConsentConstants, CredentialConstants, DEFAULT_APPLICATION_GRANT_TYPES, DEFAULT_THEME, EmbeddedFlowActionVariant, EmbeddedFlowComponentType, EmbeddedFlowComponentType as EmbeddedFlowComponentType$1, EmbeddedFlowEventType, EmbeddedFlowEventType as EmbeddedFlowEventType$1, EmbeddedFlowResponseType, EmbeddedFlowTextVariant, EmbeddedFlowType, EmbeddedSelfFlowStatus, EmbeddedSelfFlowStatus as EmbeddedSelfFlowStatus$1, EmbeddedSignInFlowStatus, EmbeddedSignInFlowStatus as EmbeddedSignInFlowStatus$1, EmbeddedSignInFlowType, EmbeddedSignInFlowType as EmbeddedSignInFlowType$1, EmbeddedSignUpFlowStatus, EmbeddedSignUpFlowStatus as EmbeddedSignUpFlowStatus$1, EmbeddedSignUpFlowType, FetchHttpClient, FieldType, FieldType as FieldType$1, FlowMetaType, GroupQueryKeys, GroupQueryKeys as GroupQueryKeys$1, ORGANIZATION_UNIT_ERROR_KEYS, OrganizationUnitQueryKeys, OrganizationUnitSwitchErrorCodes, OrganizationUnitSwitchErrorCodes as OrganizationUnitSwitchErrorCodes$1, PROJECT_ERROR_KEYS, ProjectQueryKeys, RoleQueryKeys, RoleQueryKeys as RoleQueryKeys$1, SHARING_POLICY_ERROR_KEYS, SHARING_RESOURCE_COLLECTIONS, SPAUtils, SelectConstants, SharingPolicyQueryKeys, ThunderIDAPIError, ThunderIDAPIError as ThunderIDAPIError$1, ThunderIDBrowserClient, ThunderIDError, ThunderIDRuntimeError, ThunderIDRuntimeError as ThunderIDRuntimeError$1, ThunderIDWordmark, TranslationBundleConstants, UserQueryKeys, UserQueryKeys as UserQueryKeys$1, UserSelectConstants, UserTypeSelectConstants, addGroupMembers, addGroupMembers as addGroupMembers$1, addRoleAssignments, addRoleAssignments as addRoleAssignments$1, applyGatewayConfiguration, arrayBufferToBase64url, base64urlToArrayBuffer, bem, buildValidatorFromRules, compileConsentDecisions, copyTextToClipboard, createAction, createAgent, createAgent as createAgent$1, createAgentType, createApplication, createApplication as createApplication$1, createApplicationSharingPolicy, createAuthorizationDetailType, createClassObserver, createClassObserver as createClassObserver$1, createConfigurationVersion, createConnection, createCredentialConfiguration, createDesignTheme, createFlow, createFlowSharingPolicy, createGateway, createGatewaySecret, createGatewayVariable, createGroup, createGroup as createGroup$1, createGroupByPath, createHttpClientFetcher, createLayout, createMediaQueryListener, createMediaQueryListener as createMediaQueryListener$1, createNotificationTemplate, createOrganizationUnit, createOrganizationUnit as createOrganizationUnit$1, createPackageComponentLogger, createPackageLogger, createPresentationDefinition, createProject, createProject as createProject$1, createResource, createResourceInvalidator, createResourceInvalidator as createResourceInvalidator$1, createResourceOptionsLoader, createResourceServer, createRole, createRole as createRole$1, createRoleSharingPolicy, createSecret, createTheme, createUser, createUser as createUser$1, createUserByPath, createUserSharingPolicy, createUserType, createVariable, deepMerge, deleteAction, deleteAgent, deleteAgent as deleteAgent$1, deleteAgentType, deleteApplication, deleteApplication as deleteApplication$1, deleteApplicationSharingPolicy, deleteAuthorizationDetailType, deleteClientRegistration, deleteConnection, deleteCredentialConfiguration, deleteDesignTheme, deleteFlow, deleteFlowSharingPolicy, deleteGateway, deleteGatewaySecret, deleteGatewayVariable, deleteGroup, deleteGroup as deleteGroup$1, deleteImportedConfiguration, deleteLayout, deleteNotificationTemplate, deleteOrganizationUnit, deleteOrganizationUnit as deleteOrganizationUnit$1, deleteOrganizationUnitByPath, deletePresentationDefinition, deleteProject, deleteProject as deleteProject$1, deleteResource, deleteResourceServer, deleteRole, deleteRole as deleteRole$1, deleteRoleSharingPolicy, deleteSecret, deleteTranslation, deleteTranslations, deleteUser, deleteUser as deleteUser$1, deleteUserSharingPolicy, deleteUserType, deleteVariable, describeSharingPolicyScope, detectThemeMode, detectThemeMode as detectThemeMode$1, evaluateChangePasswordForm, executeAdministrationFlow, executeEmbeddedDeviceGrantFlow, executeEmbeddedSelfFlow, executeEmbeddedSignInFlow, executeEmbeddedSignUpFlow, exportConfiguration, extractEmojiFromUri, extractUserClaimsFromIdToken, fallbackResourceInvalidator, findAdministrationFlows, generateFlattenedUserProfile, get, getAccessibleOrganizationUnits, getAccountLifecycleActions, getAccountLifecycleActions as getAccountLifecycleActions$1, getAction, getActions, getActiveTheme, getAgent, getAgent as getAgent$1, getAgentGroups, getAgentGroups as getAgentGroups$1, getAgentName, getAgentName as getAgentName$1, getAgentRoles, getAgentRoles as getAgentRoles$1, getAgentType, getAgentTypes, getAgentTypes as getAgentTypes$1, getAgents, getAgents as getAgents$1, getApplication, getApplication as getApplication$1, getApplicationClientSecret, getApplicationOAuthConfig, getApplicationOverlayRules, getApplicationSharingPolicies, getApplicationSharingPolicy, getApplications, getApplications as getApplications$1, getAuthorizationDetailType, getAuthorizationDetailTypes, getClientRegistration, getConfigurationVersion, getConfigurationVersions, getConnection, getConnectionUsages, getConnections, getConnectionsMeta, getConsentElementDecision, getCredentialConfiguration, getCredentialConfigurations, getDefaultI18nBundles, getDesignTheme, getDesignThemeUsages, getDesignThemes, getFlow, getFlowMeta, getFlowOverlayRules, getFlowSharingPolicies, getFlowSharingPolicy, getFlowStepComponents, getFlowUsages, getFlowVariables, getFlowVersion, getFlowVersions, getFlows, getFlows as getFlows$1, getGateway, getGatewayAppliedConfiguration, getGatewayAppliedVersion, getGatewayConfigurationDiff, getGatewayMaster, getGatewayMasterHistory, getGatewayMasterResource, getGatewaySecret, getGatewaySecrets, getGatewayVariable, getGatewayVariables, getGateways, getGroup, getGroup as getGroup$1, getGroupMembers, getGroupMembers as getGroupMembers$1, getGroups, getGroups as getGroups$1, getGroupsByPath, getLanguages, getLayout, getLayoutUsages, getLayouts, getNotificationTemplate, getNotificationTemplates, getOrganizationUnit, getOrganizationUnit as getOrganizationUnit$1, getOrganizationUnitByPath, getOrganizationUnitChildren, getOrganizationUnitChildren as getOrganizationUnitChildren$1, getOrganizationUnitGroups, getOrganizationUnitGroups as getOrganizationUnitGroups$1, getOrganizationUnitRoles, getOrganizationUnitRoles as getOrganizationUnitRoles$1, getOrganizationUnitUsers, getOrganizationUnitUsers as getOrganizationUnitUsers$1, getOrganizationUnits, getOrganizationUnits as getOrganizationUnits$1, getPresentationDefinition, getPresentationDefinitions, getProject, getProject as getProject$1, getProjects, getProjects as getProjects$1, getResource, getResourceServer, getResourceServerPermissions, getResourceServerPermissions as getResourceServerPermissions$1, getResourceServers, getResourceServers as getResourceServers$1, getResources, getRole, getRole as getRole$1, getRoleAssignments, getRoleAssignments as getRoleAssignments$1, getRoleOverlayRules, getRoleSharingPolicies, getRoleSharingPolicy, getRoles, getRoles as getRoles$1, getSecret, getSecrets, getSelectMessages, getServerConfig, getServerConfigs, getSharingPolicyOperations, getSupportedAuthorizationDetailsType, getSupportedAuthorizationDetailsTypes, getTokenPermissions, getUser, getUser as getUser$1, getUserGroups, getUserGroups as getUserGroups$1, getUserOverlayRules, getUserSharingPolicies, getUserSharingPolicy, getUserType, getUserTypes, getUserTypes as getUserTypes$1, getUserUsages, getUsers, getUsers as getUsers$1, getUsersByPath, getUsersMe, getUsersMeMeta, getVariable, getVariables, getVendorPrefix, getVerifiedAttributes, getVerifiedAttributes as getVerifiedAttributes$1, handleWebAuthnAuthentication, hasAuthParamsInUrl, hasAuthParamsInUrl as hasAuthParamsInUrl$1, hasCalledForThisInstanceInUrl, hasPermission, hasPermission as hasPermission$1, hasUnresolvedTranslationParams, http, importConfiguration, isApplicationSubmissionValid, isEmojiUri, isEmpty, isFlowExpiredError, isFlowMetaUnavailableError, isSharingPolicyFormValid, isVerifiableAttribute, isVerifiableAttribute as isVerifiableAttribute$1, loadUntilOptionsGrow, mapCredentialUpdateError, mergeOptionsBatch, navigate, navigate as navigate$1, normalizeBorderRadius, normalizeSelectOptions, normalizeTranslations, parseKeyValuePairs, parseKeyValuePairs as parseKeyValuePairs$1, parseRedirectUris, previewCimdDocument, readCurrentProject, regenerateAgentSecret, regenerateClientSecret, regenerateClientSecret as regenerateClientSecret$1, regenerateFlowSecret, registerClient, removeGroupMembers, removeGroupMembers as removeGroupMembers$1, removeRoleAssignments, removeRoleAssignments as removeRoleAssignments$1, resolveAdministrationFlowHandles, resolveAdministrationFlowId, resolveAdministrationFlows, resolveAdministrationFlows as resolveAdministrationFlows$1, resolveChangeCredentialPolicy, resolveDesign, resolveFlowTemplateLiterals, resolveLogoUri, resolveManagedIdentityName, resolvePageSize, resolveRequestBaseUrl, resolveResourceEndpoint, resolveTranslation, resolveTranslations, restoreFlowVersion, revertGatewayConfiguration, runAccountLifecycleAction, runAccountLifecycleAction as runAccountLifecycleAction$1, runAdministrationFlow, setTranslation, setTranslations, startCase, substituteTranslationParams, supportsCredential, suspendAgent, suspendApplication, suspendUser, toAuthFlowSelectPage, toCreateApplicationRequest, toEqualityFilter, toError, toManagementErrorMessage, toSharingPolicyFormValues, toSharingPolicyRequest, toSharingPolicyUpdateRequest, toUpdateApplicationRequest, toUserSelectPage, toUserTypeSelectPage, unlockAgent, unlockUser, unsuspendAgent, unsuspendApplication, unsuspendUser, updateAction, updateAgent, updateAgentType, updateApplication, updateApplication as updateApplication$1, updateApplicationSharingPolicy, updateAuthorizationDetailType, updateClientRegistration, updateConnection, updateCredentialConfiguration, updateDesignTheme, updateFlow, updateFlowSharingPolicy, updateFlowVariables, updateGateway, updateGatewaySecret, updateGatewayVariable, updateGroup, updateLayout, updateMeCredentials, updateMeProfile, updateNotificationTemplate, updateOrganizationUnit, updateOrganizationUnit as updateOrganizationUnit$1, updateOrganizationUnitByPath, updatePresentationDefinition, updateProject, updateProject as updateProject$1, updateResource, updateResourceServer, updateRole, updateRole as updateRole$1, updateRoleSharingPolicy, updateSecret, updateServerConfig, updateUser, updateUser as updateUser$1, updateUserCredentials, updateUserSharingPolicy, updateUserType, updateVariable, withVendorCSSClassPrefix, writeCurrentProject } from "@thunderid/browser";
|
|
1
|
+
import { ADMINISTRATION_FLOW_TYPE, APPLICATION_GRANT_TYPES, AccountLifecycleFlowConfigKey, AccountLifecycleFlowConfigKey as AccountLifecycleFlowConfigKey$1, AdministrationFlowConfigKey, AdministrationFlowConfigKey as AdministrationFlowConfigKey$1, AdministrationFlowData, AdministrationFlowError, AdministrationFlowInput, AdministrationModes, AgentQueryKeys, AgentQueryKeys as AgentQueryKeys$1, ApplicationQueryKeys, ApplicationQueryKeys as ApplicationQueryKeys$1, AttributeVerificationConstants, AttributeVerificationConstants as AttributeVerificationConstants$1, AuthFlowSelectConstants, ConsentConstants, CredentialConstants, DEFAULT_APPLICATION_GRANT_TYPES, DEFAULT_THEME, EmbeddedFlowActionVariant, EmbeddedFlowComponentType, EmbeddedFlowComponentType as EmbeddedFlowComponentType$1, EmbeddedFlowEventType, EmbeddedFlowEventType as EmbeddedFlowEventType$1, EmbeddedFlowResponseType, EmbeddedFlowTextVariant, EmbeddedFlowType, EmbeddedSelfFlowStatus, EmbeddedSelfFlowStatus as EmbeddedSelfFlowStatus$1, EmbeddedSignInFlowStatus, EmbeddedSignInFlowStatus as EmbeddedSignInFlowStatus$1, EmbeddedSignInFlowType, EmbeddedSignInFlowType as EmbeddedSignInFlowType$1, EmbeddedSignUpFlowStatus, EmbeddedSignUpFlowStatus as EmbeddedSignUpFlowStatus$1, EmbeddedSignUpFlowType, FetchHttpClient, FieldType, FieldType as FieldType$1, FlowMetaType, GroupQueryKeys, GroupQueryKeys as GroupQueryKeys$1, ORGANIZATION_UNIT_ERROR_KEYS, OrganizationUnitQueryKeys, OrganizationUnitSwitchErrorCodes, OrganizationUnitSwitchErrorCodes as OrganizationUnitSwitchErrorCodes$1, PROJECT_ERROR_KEYS, ProjectQueryKeys, RoleQueryKeys, RoleQueryKeys as RoleQueryKeys$1, SHARING_POLICY_ERROR_KEYS, SHARING_RESOURCE_COLLECTIONS, SPAUtils, SelectConstants, SharingPolicyQueryKeys, ThunderIDAPIError, ThunderIDAPIError as ThunderIDAPIError$1, ThunderIDBrowserClient, ThunderIDError, ThunderIDRuntimeError, ThunderIDRuntimeError as ThunderIDRuntimeError$1, ThunderIDWordmark, TranslationBundleConstants, UserQueryKeys, UserQueryKeys as UserQueryKeys$1, UserSelectConstants, UserTypeSelectConstants, addGroupMembers, addGroupMembers as addGroupMembers$1, addRoleAssignments, addRoleAssignments as addRoleAssignments$1, applyGatewayConfiguration, arrayBufferToBase64url, base64urlToArrayBuffer, bem, buildValidatorFromRules, compileConsentDecisions, copyTextToClipboard, createAction, createAgent, createAgent as createAgent$1, createAgentType, createApplication, createApplication as createApplication$1, createApplicationSharingPolicy, createAuthorizationDetailType, createClassObserver, createClassObserver as createClassObserver$1, createConfigurationVersion, createConnection, createCredentialConfiguration, createDesignTheme, createFlow, createFlowSharingPolicy, createGateway, createGatewaySecret, createGatewayVariable, createGroup, createGroup as createGroup$1, createGroupByPath, createHttpClientFetcher, createLayout, createMediaQueryListener, createMediaQueryListener as createMediaQueryListener$1, createNotificationTemplate, createOrganizationUnit, createOrganizationUnit as createOrganizationUnit$1, createPackageComponentLogger, createPackageLogger, createPresentationDefinition, createProject, createProject as createProject$1, createResource, createResourceInvalidator, createResourceInvalidator as createResourceInvalidator$1, createResourceOptionsLoader, createResourceServer, createRole, createRole as createRole$1, createRoleSharingPolicy, createSecret, createTheme, createUser, createUser as createUser$1, createUserByPath, createUserSharingPolicy, createUserType, createVariable, deepMerge, deleteAction, deleteAgent, deleteAgent as deleteAgent$1, deleteAgentType, deleteApplication, deleteApplication as deleteApplication$1, deleteApplicationSharingPolicy, deleteAuthorizationDetailType, deleteClientRegistration, deleteConnection, deleteCredentialConfiguration, deleteDesignTheme, deleteFlow, deleteFlowSharingPolicy, deleteGateway, deleteGatewaySecret, deleteGatewayVariable, deleteGroup, deleteGroup as deleteGroup$1, deleteImportedConfiguration, deleteLayout, deleteNotificationTemplate, deleteOrganizationUnit, deleteOrganizationUnit as deleteOrganizationUnit$1, deleteOrganizationUnitByPath, deletePresentationDefinition, deleteProject, deleteProject as deleteProject$1, deleteResource, deleteResourceServer, deleteRole, deleteRole as deleteRole$1, deleteRoleSharingPolicy, deleteSecret, deleteTranslation, deleteTranslations, deleteUser, deleteUser as deleteUser$1, deleteUserSharingPolicy, deleteUserType, deleteVariable, describeSharingPolicyScope, detectThemeMode, detectThemeMode as detectThemeMode$1, evaluateChangePasswordForm, executeAdministrationFlow, executeEmbeddedDeviceGrantFlow, executeEmbeddedSelfFlow, executeEmbeddedSignInFlow, executeEmbeddedSignUpFlow, exportConfiguration, extractEmojiFromUri, extractUserClaimsFromIdToken, fallbackResourceInvalidator, findAdministrationFlows, generateFlattenedUserProfile, get, getAccessibleOrganizationUnits, getAccountLifecycleActions, getAccountLifecycleActions as getAccountLifecycleActions$1, getAction, getActions, getActiveTheme, getAgent, getAgent as getAgent$1, getAgentGroups, getAgentGroups as getAgentGroups$1, getAgentName, getAgentName as getAgentName$1, getAgentRoles, getAgentRoles as getAgentRoles$1, getAgentType, getAgentTypes, getAgentTypes as getAgentTypes$1, getAgents, getAgents as getAgents$1, getApplication, getApplication as getApplication$1, getApplicationClientSecret, getApplicationOAuthConfig, getApplicationOverlayRules, getApplicationSharingPolicies, getApplicationSharingPolicy, getApplications, getApplications as getApplications$1, getAuthorizationDetailType, getAuthorizationDetailTypes, getClientRegistration, getConfigurationVersion, getConfigurationVersions, getConnection, getConnectionUsages, getConnections, getConnectionsMeta, getConsentElementDecision, getCredentialConfiguration, getCredentialConfigurations, getDefaultI18nBundles, getDesignTheme, getDesignThemeUsages, getDesignThemes, getFlow, getFlowMeta, getFlowOverlayRules, getFlowSharingPolicies, getFlowSharingPolicy, getFlowStepComponents, getFlowUsages, getFlowVariables, getFlowVersion, getFlowVersions, getFlows, getFlows as getFlows$1, getGateway, getGatewayAppliedConfiguration, getGatewayAppliedVersion, getGatewayConfigurationDiff, getGatewayMaster, getGatewayMasterHistory, getGatewayMasterResource, getGatewaySecret, getGatewaySecrets, getGatewayVariable, getGatewayVariables, getGateways, getGroup, getGroup as getGroup$1, getGroupMembers, getGroupMembers as getGroupMembers$1, getGroups, getGroups as getGroups$1, getGroupsByPath, getLanguages, getLayout, getLayoutUsages, getLayouts, getNotificationTemplate, getNotificationTemplates, getOrganizationUnit, getOrganizationUnit as getOrganizationUnit$1, getOrganizationUnitByPath, getOrganizationUnitChildren, getOrganizationUnitChildren as getOrganizationUnitChildren$1, getOrganizationUnitGroups, getOrganizationUnitGroups as getOrganizationUnitGroups$1, getOrganizationUnitRoles, getOrganizationUnitRoles as getOrganizationUnitRoles$1, getOrganizationUnitUsers, getOrganizationUnitUsers as getOrganizationUnitUsers$1, getOrganizationUnits, getOrganizationUnits as getOrganizationUnits$1, getPresentationDefinition, getPresentationDefinitions, getProject, getProject as getProject$1, getProjects, getProjects as getProjects$1, getResource, getResourceServer, getResourceServerPermissions, getResourceServerPermissions as getResourceServerPermissions$1, getResourceServers, getResourceServers as getResourceServers$1, getResources, getRole, getRole as getRole$1, getRoleAssignments, getRoleAssignments as getRoleAssignments$1, getRoleOverlayRules, getRoleSharingPolicies, getRoleSharingPolicy, getRoles, getRoles as getRoles$1, getSecret, getSecrets, getSelectMessages, getServerConfig, getServerConfigs, getSharingPolicyOperations, getSupportedAuthorizationDetailsType, getSupportedAuthorizationDetailsTypes, getTokenPermissions, getUser, getUser as getUser$1, getUserGroups, getUserGroups as getUserGroups$1, getUserOverlayRules, getUserSharingPolicies, getUserSharingPolicy, getUserType, getUserTypeByHandle, getUserTypes, getUserTypes as getUserTypes$1, getUserUsages, getUsers, getUsers as getUsers$1, getUsersByPath, getUsersMe, getUsersMeMeta, getVariable, getVariables, getVendorPrefix, getVerifiedAttributes, getVerifiedAttributes as getVerifiedAttributes$1, handleWebAuthnAuthentication, hasAdminVerificationStatus, hasAuthParamsInUrl, hasAuthParamsInUrl as hasAuthParamsInUrl$1, hasCalledForThisInstanceInUrl, hasPermission, hasPermission as hasPermission$1, hasUnresolvedTranslationParams, http, importConfiguration, isAdminVerifiableAttribute, isApplicationSubmissionValid, isEmojiUri, isEmpty, isFlowExpiredError, isFlowMetaUnavailableError, isSharingPolicyFormValid, isVerifiableAttribute, isVerifiableAttribute as isVerifiableAttribute$1, loadUntilOptionsGrow, mapCredentialUpdateError, mergeOptionsBatch, navigate, navigate as navigate$1, normalizeBorderRadius, normalizeSelectOptions, normalizeTranslations, parseKeyValuePairs, parseKeyValuePairs as parseKeyValuePairs$1, parseRedirectUris, previewCimdDocument, readCurrentProject, regenerateAgentSecret, regenerateClientSecret, regenerateClientSecret as regenerateClientSecret$1, regenerateFlowSecret, registerClient, removeGroupMembers, removeGroupMembers as removeGroupMembers$1, removeRoleAssignments, removeRoleAssignments as removeRoleAssignments$1, resolveAdministrationFlowHandles, resolveAdministrationFlowHandles as resolveAdministrationFlowHandles$1, resolveAdministrationFlowId, resolveAdministrationFlows, resolveAdministrationFlows as resolveAdministrationFlows$1, resolveChangeCredentialPolicy, resolveDesign, resolveFlowTemplateLiterals, resolveLogoUri, resolveManagedIdentityName, resolvePageSize, resolveRequestBaseUrl, resolveResourceEndpoint, resolveTranslation, resolveTranslations, restoreFlowVersion, revertGatewayConfiguration, runAccountLifecycleAction, runAccountLifecycleAction as runAccountLifecycleAction$1, runAdministrationFlow, sendUserAttributeVerification, sendUserAttributeVerification as sendUserAttributeVerification$1, setTranslation, setTranslations, startCase, substituteTranslationParams, supportsCredential, suspendAgent, suspendApplication, suspendUser, toAuthFlowSelectPage, toCreateApplicationRequest, toEqualityFilter, toError, toManagementErrorMessage, toSharingPolicyFormValues, toSharingPolicyRequest, toSharingPolicyUpdateRequest, toUpdateApplicationRequest, toUserSelectPage, toUserTypeSelectPage, unlockAgent, unlockUser, unsuspendAgent, unsuspendApplication, unsuspendUser, updateAction, updateAgent, updateAgentType, updateApplication, updateApplication as updateApplication$1, updateApplicationSharingPolicy, updateAuthorizationDetailType, updateClientRegistration, updateConnection, updateCredentialConfiguration, updateDesignTheme, updateFlow, updateFlowSharingPolicy, updateFlowVariables, updateGateway, updateGatewaySecret, updateGatewayVariable, updateGroup, updateLayout, updateMeCredentials, updateMeProfile, updateNotificationTemplate, updateOrganizationUnit, updateOrganizationUnit as updateOrganizationUnit$1, updateOrganizationUnitByPath, updatePresentationDefinition, updateProject, updateProject as updateProject$1, updateResource, updateResourceServer, updateRole, updateRole as updateRole$1, updateRoleSharingPolicy, updateSecret, updateServerConfig, updateUser, updateUser as updateUser$1, updateUserCredentials, updateUserSharingPolicy, updateUserType, updateVariable, withVendorCSSClassPrefix, writeCurrentProject } from "@thunderid/browser";
|
|
2
2
|
import { Comment, Fragment, Teleport, cloneVNode, computed, defineComponent, getCurrentInstance, getCurrentScope, h, inject, isVNode, nextTick, onBeforeUnmount, onMounted, onScopeDispose, onUnmounted, provide, readonly, ref, shallowReadonly, shallowRef, toValue, useId, watch } from "vue";
|
|
3
3
|
import DOMPurify from "dompurify";
|
|
4
4
|
|
|
@@ -2589,16 +2589,6 @@ const VERIFY_ATTRIBUTE_CSS = `
|
|
|
2589
2589
|
gap: calc(var(--thunderid-spacing-unit) * 1.5);
|
|
2590
2590
|
}
|
|
2591
2591
|
|
|
2592
|
-
.thunderid-verify-attribute__content .thunderid-otp-field__inputs {
|
|
2593
|
-
justify-content: flex-start;
|
|
2594
|
-
}
|
|
2595
|
-
|
|
2596
|
-
.thunderid-verify-attribute__content .thunderid-otp-field__digit {
|
|
2597
|
-
flex: 1 1 calc(var(--thunderid-spacing-unit) * 4);
|
|
2598
|
-
max-width: calc(var(--thunderid-spacing-unit) * 6);
|
|
2599
|
-
min-width: 0;
|
|
2600
|
-
}
|
|
2601
|
-
|
|
2602
2592
|
.thunderid-verify-attribute__alert {
|
|
2603
2593
|
width: 100%;
|
|
2604
2594
|
}
|
|
@@ -2629,7 +2619,7 @@ var VerifyAttribute_css_default = VERIFY_ATTRIBUTE_CSS;
|
|
|
2629
2619
|
* Section: __header | __heading | __title | __description | __actions
|
|
2630
2620
|
* Forms: __form | __form-actions
|
|
2631
2621
|
* Parts: __panel | __panel-header | __panel-title | __detail | __detail-label | __detail-value
|
|
2632
|
-
* __chip-list | __chip | __confirm | __muted | __row | __avatar | __picker
|
|
2622
|
+
* __chip-list | __chip | __status-chip | __confirm | __muted | __row | __avatar | __picker
|
|
2633
2623
|
*
|
|
2634
2624
|
* Each component root also carries its own block class (for example `.thunderid-user-list`), so an
|
|
2635
2625
|
* application can target a single component.
|
|
@@ -2750,6 +2740,35 @@ const ADMIN_CSS = `
|
|
|
2750
2740
|
color: var(--thunderid-color-text-primary);
|
|
2751
2741
|
}
|
|
2752
2742
|
|
|
2743
|
+
.thunderid-admin__status-chip {
|
|
2744
|
+
display: inline-flex;
|
|
2745
|
+
flex-shrink: 0;
|
|
2746
|
+
gap: calc(var(--thunderid-spacing-unit) * 0.5);
|
|
2747
|
+
align-items: center;
|
|
2748
|
+
padding: 0 var(--thunderid-spacing-unit);
|
|
2749
|
+
border-radius: 999px;
|
|
2750
|
+
font-size: 0.75rem;
|
|
2751
|
+
font-weight: 500;
|
|
2752
|
+
line-height: 22px;
|
|
2753
|
+
white-space: nowrap;
|
|
2754
|
+
}
|
|
2755
|
+
|
|
2756
|
+
.thunderid-admin__status-chip svg {
|
|
2757
|
+
width: 12px;
|
|
2758
|
+
height: 12px;
|
|
2759
|
+
}
|
|
2760
|
+
|
|
2761
|
+
.thunderid-admin__status-chip--success {
|
|
2762
|
+
color: var(--thunderid-color-success-dark, var(--thunderid-color-success-main));
|
|
2763
|
+
background: color-mix(in srgb, var(--thunderid-color-success-main) 12%, transparent);
|
|
2764
|
+
}
|
|
2765
|
+
|
|
2766
|
+
/* Amber marks an action the administrator can take. */
|
|
2767
|
+
.thunderid-admin__status-chip--warning {
|
|
2768
|
+
color: var(--thunderid-color-warning-contrastText);
|
|
2769
|
+
background: color-mix(in srgb, var(--thunderid-color-warning-main) 14%, transparent);
|
|
2770
|
+
}
|
|
2771
|
+
|
|
2753
2772
|
.thunderid-admin__confirm {
|
|
2754
2773
|
display: inline-flex;
|
|
2755
2774
|
flex-wrap: wrap;
|
|
@@ -2773,6 +2792,32 @@ const ADMIN_CSS = `
|
|
|
2773
2792
|
gap: calc(var(--thunderid-spacing-unit) * 1.5);
|
|
2774
2793
|
}
|
|
2775
2794
|
|
|
2795
|
+
/* The value and its status on the left, the send action at the row's end. */
|
|
2796
|
+
.thunderid-admin__verification-row {
|
|
2797
|
+
display: flex;
|
|
2798
|
+
align-items: center;
|
|
2799
|
+
justify-content: space-between;
|
|
2800
|
+
gap: calc(var(--thunderid-spacing-unit) * 1.5);
|
|
2801
|
+
}
|
|
2802
|
+
|
|
2803
|
+
/* The action's padding must not make the row taller than its label. */
|
|
2804
|
+
.thunderid-admin__verification-row > button {
|
|
2805
|
+
margin-block: calc(var(--thunderid-spacing-unit) * -0.75);
|
|
2806
|
+
}
|
|
2807
|
+
|
|
2808
|
+
.thunderid-admin__verification-value {
|
|
2809
|
+
display: inline-flex;
|
|
2810
|
+
flex-wrap: wrap;
|
|
2811
|
+
align-items: center;
|
|
2812
|
+
gap: var(--thunderid-spacing-unit);
|
|
2813
|
+
min-width: 0;
|
|
2814
|
+
}
|
|
2815
|
+
|
|
2816
|
+
.thunderid-admin__verification-row svg {
|
|
2817
|
+
width: 14px;
|
|
2818
|
+
height: 14px;
|
|
2819
|
+
}
|
|
2820
|
+
|
|
2776
2821
|
.thunderid-admin__name {
|
|
2777
2822
|
display: inline-flex;
|
|
2778
2823
|
align-items: center;
|
|
@@ -5983,6 +6028,7 @@ const TriangleAlertIcon = () => icon([
|
|
|
5983
6028
|
y2: "17"
|
|
5984
6029
|
})
|
|
5985
6030
|
]);
|
|
6031
|
+
const SendIcon = () => icon([h("path", { d: "m22 2-7 20-4-9-9-4Z" }), h("path", { d: "M22 2 11 13" })]);
|
|
5986
6032
|
const PlusIcon = () => icon([h("line", {
|
|
5987
6033
|
x1: "12",
|
|
5988
6034
|
x2: "12",
|
|
@@ -11658,7 +11704,6 @@ const AVATAR_GRADIENTS$1 = [
|
|
|
11658
11704
|
"linear-gradient(135deg, #f97316 0%, #ec4899 100%)"
|
|
11659
11705
|
];
|
|
11660
11706
|
const isVerificationType = (type) => !!type && AttributeVerificationConstants$1.VERIFIABLE_ATTRIBUTE_TYPES.includes(type.toLowerCase());
|
|
11661
|
-
const isVerifiedAfterSave = (type) => !!type && AttributeVerificationConstants$1.VERIFY_AFTER_SAVE_ATTRIBUTE_TYPES.includes(type.toLowerCase());
|
|
11662
11707
|
const storedValueOf = (user, name) => {
|
|
11663
11708
|
return (user?.["attributes"])?.[name] ?? user?.[name];
|
|
11664
11709
|
};
|
|
@@ -11802,26 +11847,8 @@ const BaseUserProfile = defineComponent({
|
|
|
11802
11847
|
focusBeforeDialog = null;
|
|
11803
11848
|
}
|
|
11804
11849
|
});
|
|
11805
|
-
const pendingVerification = ref(null);
|
|
11806
11850
|
const storedUser = () => props.flattenedProfile ?? props.profile ?? null;
|
|
11807
11851
|
const reportedVerifiedAttributes = () => getVerifiedAttributes$1(props.profile ?? props.flattenedProfile);
|
|
11808
|
-
watch(() => [
|
|
11809
|
-
props.profile,
|
|
11810
|
-
props.flattenedProfile,
|
|
11811
|
-
props.error
|
|
11812
|
-
], () => {
|
|
11813
|
-
const pending = pendingVerification.value;
|
|
11814
|
-
if (!pending) return;
|
|
11815
|
-
if (props.error) {
|
|
11816
|
-
pendingVerification.value = null;
|
|
11817
|
-
return;
|
|
11818
|
-
}
|
|
11819
|
-
const storedValue = storedValueOf(storedUser(), pending.name);
|
|
11820
|
-
if (storedValue === pending.previousValue) return;
|
|
11821
|
-
const verified = reportedVerifiedAttributes();
|
|
11822
|
-
if (verified && typeof storedValue === "string" && storedValue.trim() !== "" && !verified[pending.name]) openVerification(pending.name);
|
|
11823
|
-
pendingVerification.value = null;
|
|
11824
|
-
});
|
|
11825
11852
|
function shouldShowField(fieldName, isSchemaBased = false) {
|
|
11826
11853
|
if (!isSchemaBased && FIELDS_TO_SKIP.includes(fieldName)) return false;
|
|
11827
11854
|
if (props.hideFields && props.hideFields.length > 0 && props.hideFields.includes(fieldName)) return false;
|
|
@@ -11899,13 +11926,7 @@ const BaseUserProfile = defineComponent({
|
|
|
11899
11926
|
...fieldErrors.value,
|
|
11900
11927
|
[fieldName]: ""
|
|
11901
11928
|
};
|
|
11902
|
-
const
|
|
11903
|
-
const payload = buildPatchValue(fieldName, submitVal, schema.schemaId, schema.multiValued);
|
|
11904
|
-
const previousValue = storedValueOf(storedUser(), fieldName);
|
|
11905
|
-
pendingVerification.value = slots["verification"] && isVerifiedAfterSave(schema.type) && isVerifiableAttribute$1(props.userSchema, fieldName) && typeof submitVal === "string" && submitVal !== "" && submitVal !== previousValue ? {
|
|
11906
|
-
name: fieldName,
|
|
11907
|
-
previousValue
|
|
11908
|
-
} : null;
|
|
11929
|
+
const payload = buildPatchValue(fieldName, typeof value === "string" ? strVal : value, schema.schemaId, schema.multiValued);
|
|
11909
11930
|
try {
|
|
11910
11931
|
await props.onUpdate(payload);
|
|
11911
11932
|
editingFields.value = {
|
|
@@ -11913,9 +11934,7 @@ const BaseUserProfile = defineComponent({
|
|
|
11913
11934
|
[fieldName]: false
|
|
11914
11935
|
};
|
|
11915
11936
|
clearEditedValue(fieldName);
|
|
11916
|
-
} catch {
|
|
11917
|
-
pendingVerification.value = null;
|
|
11918
|
-
}
|
|
11937
|
+
} catch {}
|
|
11919
11938
|
}
|
|
11920
11939
|
function renderVerificationStatus(name) {
|
|
11921
11940
|
const verification = reportedVerifiedAttributes()?.[name];
|
|
@@ -12613,20 +12632,21 @@ const BaseVerifyAttribute = defineComponent({
|
|
|
12613
12632
|
t,
|
|
12614
12633
|
variant: props.variant
|
|
12615
12634
|
}).map((node) => withFlowTestIds(node, flowIds))) : null,
|
|
12616
|
-
props.onCancel || showDone ? h("div", { class: px("verify-attribute__actions") }, [
|
|
12617
|
-
color: "primary",
|
|
12618
|
-
"data-testid": "thunderid-action-verificationDone",
|
|
12619
|
-
onClick: () => props.onDone?.(),
|
|
12620
|
-
size: "small",
|
|
12621
|
-
variant: "solid"
|
|
12622
|
-
}, () => t("user.verification.buttons.done.text")) : null, props.onCancel ? h(Button_default, {
|
|
12635
|
+
props.onCancel || showDone ? h("div", { class: px("verify-attribute__actions") }, [props.onCancel ? h(Button_default, {
|
|
12623
12636
|
color: "secondary",
|
|
12624
12637
|
"data-testid": "thunderid-action-verificationCancel",
|
|
12625
12638
|
disabled: isSubmitting.value,
|
|
12626
12639
|
onClick: () => props.onCancel?.(),
|
|
12627
12640
|
size: "small",
|
|
12628
|
-
|
|
12629
|
-
|
|
12641
|
+
type: "button",
|
|
12642
|
+
variant: "text"
|
|
12643
|
+
}, () => state.value === "active" || state.value === "loading" ? t("user.verification.buttons.cancel.text") : t("user.verification.buttons.close.text")) : null, showDone ? h(Button_default, {
|
|
12644
|
+
color: "primary",
|
|
12645
|
+
"data-testid": "thunderid-action-verificationDone",
|
|
12646
|
+
onClick: () => props.onDone?.(),
|
|
12647
|
+
size: "small",
|
|
12648
|
+
variant: "solid"
|
|
12649
|
+
}, () => t("user.verification.buttons.done.text")) : null]) : null
|
|
12630
12650
|
]);
|
|
12631
12651
|
};
|
|
12632
12652
|
}
|
|
@@ -16519,6 +16539,10 @@ const BaseUserDetails = defineComponent({
|
|
|
16519
16539
|
default: false,
|
|
16520
16540
|
type: Boolean
|
|
16521
16541
|
},
|
|
16542
|
+
isSendingVerification: {
|
|
16543
|
+
default: false,
|
|
16544
|
+
type: Boolean
|
|
16545
|
+
},
|
|
16522
16546
|
isUpdating: {
|
|
16523
16547
|
default: false,
|
|
16524
16548
|
type: Boolean
|
|
@@ -16535,6 +16559,10 @@ const BaseUserDetails = defineComponent({
|
|
|
16535
16559
|
default: void 0,
|
|
16536
16560
|
type: Function
|
|
16537
16561
|
},
|
|
16562
|
+
onSendVerification: {
|
|
16563
|
+
default: void 0,
|
|
16564
|
+
type: Function
|
|
16565
|
+
},
|
|
16538
16566
|
onUpdate: {
|
|
16539
16567
|
default: void 0,
|
|
16540
16568
|
type: Function
|
|
@@ -16543,17 +16571,29 @@ const BaseUserDetails = defineComponent({
|
|
|
16543
16571
|
default: void 0,
|
|
16544
16572
|
type: Object
|
|
16545
16573
|
},
|
|
16574
|
+
sentVerification: {
|
|
16575
|
+
default: null,
|
|
16576
|
+
type: Object
|
|
16577
|
+
},
|
|
16546
16578
|
user: {
|
|
16547
16579
|
default: void 0,
|
|
16548
16580
|
type: Object
|
|
16581
|
+
},
|
|
16582
|
+
userSchema: {
|
|
16583
|
+
default: void 0,
|
|
16584
|
+
type: Object
|
|
16549
16585
|
}
|
|
16550
16586
|
},
|
|
16551
16587
|
setup(props, { slots }) {
|
|
16552
16588
|
const t = useAdminTranslation_default(() => props.preferences);
|
|
16553
16589
|
const uid = useId();
|
|
16554
16590
|
const draft = ref(null);
|
|
16591
|
+
const sendingAttribute = ref(null);
|
|
16555
16592
|
return () => {
|
|
16556
16593
|
const { user } = props;
|
|
16594
|
+
const visibleAttributeNames = Object.keys(user?.attributes ?? {}).filter((name) => !props.hiddenAttributes.includes(name));
|
|
16595
|
+
const verifiableAttributes = visibleAttributeNames.filter((name) => isAdminVerifiableAttribute(user, name, props.userSchema));
|
|
16596
|
+
const verificationStatusAttributes = visibleAttributeNames.filter((name) => hasAdminVerificationStatus(user, name, props.userSchema));
|
|
16557
16597
|
if (slots["default"]) {
|
|
16558
16598
|
const isWritable = Boolean(user) && !user?.isReadOnly;
|
|
16559
16599
|
const renderProps = {
|
|
@@ -16564,12 +16604,20 @@ const BaseUserDetails = defineComponent({
|
|
|
16564
16604
|
isDeleting: props.isDeleting,
|
|
16565
16605
|
isLoading: props.isLoading,
|
|
16566
16606
|
isRunningLifecycleAction: props.isRunningLifecycleAction,
|
|
16607
|
+
isSendingVerification: props.isSendingVerification,
|
|
16567
16608
|
isUpdating: props.isUpdating,
|
|
16568
16609
|
lifecycleActions: props.onLifecycleAction && user ? props.lifecycleActions : [],
|
|
16569
16610
|
onDelete: isWritable ? props.onDelete : void 0,
|
|
16570
16611
|
onLifecycleAction: user ? props.onLifecycleAction : void 0,
|
|
16612
|
+
onSendVerification: isWritable && !props.isUpdating && props.onSendVerification ? (name) => {
|
|
16613
|
+
if (verifiableAttributes.includes(name) && !user?.verifiedAttributes?.[name]) props.onSendVerification?.(name);
|
|
16614
|
+
} : void 0,
|
|
16571
16615
|
onUpdate: isWritable ? props.onUpdate : void 0,
|
|
16572
|
-
|
|
16616
|
+
sentVerification: props.sentVerification,
|
|
16617
|
+
user,
|
|
16618
|
+
verifiableAttributes,
|
|
16619
|
+
verificationStatusAttributes,
|
|
16620
|
+
verifiedAttributes: user?.verifiedAttributes
|
|
16573
16621
|
};
|
|
16574
16622
|
return h("div", { class: props.className }, slots["default"](renderProps));
|
|
16575
16623
|
}
|
|
@@ -16591,6 +16639,26 @@ const BaseUserDetails = defineComponent({
|
|
|
16591
16639
|
const attributes = Object.entries(user.attributes ?? {}).filter(([name]) => !props.hiddenAttributes.includes(name));
|
|
16592
16640
|
const editableAttributes = attributes.filter((entry) => typeof entry[1] === "string");
|
|
16593
16641
|
const canEdit = Boolean(props.onUpdate) && !user.isReadOnly && editableAttributes.length > 0;
|
|
16642
|
+
const renderVerificationStatus = (name) => {
|
|
16643
|
+
const isVerified = user.verifiedAttributes?.[name] !== void 0;
|
|
16644
|
+
return h("span", { class: [cls$10("status-chip"), isVerified ? cls$10("status-chip--success") : cls$10("status-chip--warning")] }, [h(isVerified ? CircleCheckIcon : CircleAlertIcon, { "aria-hidden": "true" }), isVerified ? t("admin.users.details.verification.status.verified") : t("admin.users.details.verification.status.unverified")]);
|
|
16645
|
+
};
|
|
16646
|
+
const renderAttributeValue = (name, value) => {
|
|
16647
|
+
if (!verificationStatusAttributes.includes(name)) return stringify(value);
|
|
16648
|
+
const canSend = props.onSendVerification && !user.isReadOnly && verifiableAttributes.includes(name) && user.verifiedAttributes?.[name] === void 0;
|
|
16649
|
+
return h("span", { class: cls$10("verification-row") }, [h("span", { class: cls$10("verification-value") }, [h("span", stringify(value)), renderVerificationStatus(name)]), canSend ? h(Button_default, {
|
|
16650
|
+
"aria-label": `${t("admin.users.details.verification.verify")} ${name}`,
|
|
16651
|
+
disabled: props.isSendingVerification || props.isUpdating,
|
|
16652
|
+
loading: props.isSendingVerification && sendingAttribute.value === name,
|
|
16653
|
+
onClick: () => {
|
|
16654
|
+
sendingAttribute.value = name;
|
|
16655
|
+
props.onSendVerification?.(name);
|
|
16656
|
+
},
|
|
16657
|
+
size: "small",
|
|
16658
|
+
startIcon: h(SendIcon, { "aria-hidden": "true" }),
|
|
16659
|
+
variant: "text"
|
|
16660
|
+
}, { default: () => t("admin.users.details.verification.verify") }) : null]);
|
|
16661
|
+
};
|
|
16594
16662
|
const renderAttributes = () => {
|
|
16595
16663
|
if (draft.value) {
|
|
16596
16664
|
const current = draft.value;
|
|
@@ -16630,7 +16698,7 @@ const BaseUserDetails = defineComponent({
|
|
|
16630
16698
|
}
|
|
16631
16699
|
if (attributes.length > 0) return h(DetailList_default, { items: attributes.map(([name, value]) => ({
|
|
16632
16700
|
label: name,
|
|
16633
|
-
value:
|
|
16701
|
+
value: renderAttributeValue(name, value)
|
|
16634
16702
|
})) });
|
|
16635
16703
|
return h("span", { class: cls$10("muted") }, t("admin.users.details.no_attributes"));
|
|
16636
16704
|
};
|
|
@@ -16659,6 +16727,7 @@ const BaseUserDetails = defineComponent({
|
|
|
16659
16727
|
],
|
|
16660
16728
|
default: () => [
|
|
16661
16729
|
props.error ? h(Alert_default, { severity: "error" }, { default: () => [props.error] }) : null,
|
|
16730
|
+
props.sentVerification && !props.error ? h(Alert_default, { severity: props.sentVerification.emailSent === false ? "error" : "success" }, { default: () => [props.sentVerification?.emailSent === false ? t("admin.users.details.verification.error") : props.sentVerification?.maskedDestination ? t("admin.users.details.verification.sent", { destination: props.sentVerification.maskedDestination }) : t("admin.users.details.verification.sent_generic")] }) : null,
|
|
16662
16731
|
h("div", { class: cls$10("row") }, [
|
|
16663
16732
|
h(AdminAvatar_default, {
|
|
16664
16733
|
name: displayName,
|
|
@@ -16748,7 +16817,8 @@ var useAccountLifecycle_default = useAccountLifecycle;
|
|
|
16748
16817
|
//#region src/components/management/UserDetails/UserDetails.ts
|
|
16749
16818
|
/**
|
|
16750
16819
|
* Shows a user and the groups they belong to, and optionally lets the signed-in user edit or delete
|
|
16751
|
-
* them. Emits `deleted` after
|
|
16820
|
+
* them, run account lifecycle actions or send them a link to verify their email. Emits `deleted` after
|
|
16821
|
+
* the user has been deleted.
|
|
16752
16822
|
*
|
|
16753
16823
|
* Slots: `actions`, rendered next to the user's name.
|
|
16754
16824
|
*
|
|
@@ -16764,6 +16834,10 @@ const UserDetails = defineComponent({
|
|
|
16764
16834
|
default: void 0,
|
|
16765
16835
|
type: String
|
|
16766
16836
|
},
|
|
16837
|
+
attributeVerification: {
|
|
16838
|
+
default: false,
|
|
16839
|
+
type: Boolean
|
|
16840
|
+
},
|
|
16767
16841
|
className: {
|
|
16768
16842
|
default: "",
|
|
16769
16843
|
type: String
|
|
@@ -16803,6 +16877,13 @@ const UserDetails = defineComponent({
|
|
|
16803
16877
|
fetcher,
|
|
16804
16878
|
userId: props.userId
|
|
16805
16879
|
}), { enabled: hasUserId });
|
|
16880
|
+
const userTypesEndpoint = useManagementEndpoint_default("userTypes");
|
|
16881
|
+
const typeHandle = () => user.data.value?.id === props.userId ? user.data.value.type : void 0;
|
|
16882
|
+
const userType = useResourceQuery_default(() => [UserQueryKeys$1.USER_TYPES, { handle: typeHandle() }], (fetcher) => getUserTypeByHandle({
|
|
16883
|
+
...userTypesEndpoint,
|
|
16884
|
+
fetcher,
|
|
16885
|
+
handle: typeHandle()
|
|
16886
|
+
}), { enabled: () => props.attributeVerification && Boolean(typeHandle() && user.data.value?.verifiedAttributes) });
|
|
16806
16887
|
const groups = useResourceQuery_default(() => [
|
|
16807
16888
|
GroupQueryKeys$1.MEMBERSHIPS,
|
|
16808
16889
|
"user",
|
|
@@ -16826,6 +16907,20 @@ const UserDetails = defineComponent({
|
|
|
16826
16907
|
payload: data,
|
|
16827
16908
|
userId
|
|
16828
16909
|
}), ({ userId }) => [[UserQueryKeys$1.USER, userId], [UserQueryKeys$1.USERS]]);
|
|
16910
|
+
const { baseUrl } = useThunderID_default();
|
|
16911
|
+
const verificationFlow = useResourceQuery_default(() => ["administration-flows", "attribute-verification"], (fetcher) => resolveAdministrationFlowHandles$1({
|
|
16912
|
+
baseUrl,
|
|
16913
|
+
fetcher
|
|
16914
|
+
}, [AdministrationFlowConfigKey$1.ADMIN_ATTRIBUTE_VERIFICATION]), { enabled: () => props.attributeVerification });
|
|
16915
|
+
const verificationHandle = () => verificationFlow.data.value?.[AdministrationFlowConfigKey$1.ADMIN_ATTRIBUTE_VERIFICATION];
|
|
16916
|
+
const verificationTarget = shallowRef(null);
|
|
16917
|
+
const verification = useResourceMutation_default(({ attribute, userId }, fetcher) => sendUserAttributeVerification$1({
|
|
16918
|
+
...endpoint,
|
|
16919
|
+
attribute,
|
|
16920
|
+
fetcher,
|
|
16921
|
+
handle: verificationHandle(),
|
|
16922
|
+
userId
|
|
16923
|
+
}), ({ userId }) => [[UserQueryKeys$1.USER, userId]]);
|
|
16829
16924
|
const lifecycle = useAccountLifecycle_default({
|
|
16830
16925
|
enabled: () => props.lifecycleActions,
|
|
16831
16926
|
invalidatedKeys: () => [[UserQueryKeys$1.USER, props.userId], [UserQueryKeys$1.USERS]],
|
|
@@ -16835,18 +16930,32 @@ const UserDetails = defineComponent({
|
|
|
16835
16930
|
});
|
|
16836
16931
|
return () => {
|
|
16837
16932
|
const current = user.data.value;
|
|
16933
|
+
const userSchema = userType.data.value?.handle === typeHandle() ? userType.data.value?.schema : void 0;
|
|
16934
|
+
const target = verificationTarget.value;
|
|
16935
|
+
const showVerificationResult = props.attributeVerification && target?.userId === props.userId && current?.attributes?.[target.attribute] === target.value;
|
|
16838
16936
|
return h(BaseUserDetails_default, {
|
|
16839
16937
|
className: props.className,
|
|
16840
|
-
error: toManagementErrorMessage(t, user.error.value, "admin.users.details.error") ?? toManagementErrorMessage(t, deletion.error.value, "admin.users.details.delete.error") ?? toManagementErrorMessage(t, update.error.value, "admin.users.details.edit.error") ?? toManagementErrorMessage(t, lifecycle.error.value, "admin.common.lifecycle.error") ?? toManagementErrorMessage(t, lifecycle.loadError.value, "admin.common.lifecycle.load_error"),
|
|
16938
|
+
error: toManagementErrorMessage(t, user.error.value, "admin.users.details.error") ?? toManagementErrorMessage(t, deletion.error.value, "admin.users.details.delete.error") ?? toManagementErrorMessage(t, update.error.value, "admin.users.details.edit.error") ?? toManagementErrorMessage(t, showVerificationResult ? verification.error.value : null, "admin.users.details.verification.error") ?? toManagementErrorMessage(t, lifecycle.error.value, "admin.common.lifecycle.error") ?? toManagementErrorMessage(t, lifecycle.loadError.value, "admin.common.lifecycle.load_error") ?? toManagementErrorMessage(t, verificationFlow.error.value ?? userType.error.value, "admin.users.details.verification.load_error"),
|
|
16841
16939
|
groups: groups.data.value?.groups ?? [],
|
|
16842
16940
|
hiddenAttributes: props.hiddenAttributes,
|
|
16843
16941
|
isDeleting: deletion.isLoading.value,
|
|
16844
16942
|
isLoading: user.isLoading.value,
|
|
16845
16943
|
isRunningLifecycleAction: lifecycle.isRunning.value,
|
|
16944
|
+
isSendingVerification: verification.isLoading.value,
|
|
16846
16945
|
isUpdating: update.isLoading.value,
|
|
16847
16946
|
lifecycleActions: lifecycle.actions.value,
|
|
16848
16947
|
onDelete: props.deletable ? () => void deletion.mutate(props.userId) : void 0,
|
|
16849
16948
|
onLifecycleAction: props.lifecycleActions ? lifecycle.run : void 0,
|
|
16949
|
+
onSendVerification: props.attributeVerification && verificationHandle() && userSchema && current?.id === props.userId ? (attribute) => {
|
|
16950
|
+
const target$1 = {
|
|
16951
|
+
attribute,
|
|
16952
|
+
userId: props.userId,
|
|
16953
|
+
value: current?.attributes?.[attribute]
|
|
16954
|
+
};
|
|
16955
|
+
verificationTarget.value = target$1;
|
|
16956
|
+
verification.reset();
|
|
16957
|
+
verification.mutate(target$1);
|
|
16958
|
+
} : void 0,
|
|
16850
16959
|
onUpdate: props.editable && current ? (attributes) => void update.mutate({
|
|
16851
16960
|
data: {
|
|
16852
16961
|
attributes,
|
|
@@ -16856,7 +16965,9 @@ const UserDetails = defineComponent({
|
|
|
16856
16965
|
userId: props.userId
|
|
16857
16966
|
}) : void 0,
|
|
16858
16967
|
preferences: props.preferences,
|
|
16859
|
-
|
|
16968
|
+
sentVerification: showVerificationResult ? verification.data.value ?? null : null,
|
|
16969
|
+
user: current,
|
|
16970
|
+
userSchema
|
|
16860
16971
|
}, { ...slots });
|
|
16861
16972
|
};
|
|
16862
16973
|
}
|
|
@@ -22109,4 +22220,4 @@ const createCallbackRoute = (options = {}) => {
|
|
|
22109
22220
|
};
|
|
22110
22221
|
|
|
22111
22222
|
//#endregion
|
|
22112
|
-
export { ADMINISTRATION_FLOW_TYPE, AcceptInvite_default as AcceptInvite, AccountLifecycleFlowConfigKey, AdministrationFlowConfigKey, AdministrationFlowData, AdministrationFlowError, AdministrationFlowInput, AdministrationModes, AgentCreate_default as AgentCreate, AgentDetails_default as AgentDetails, AgentList_default as AgentList, AgentQueryKeys, Alert_default as Alert, ApplicationCreate_default as ApplicationCreate, ApplicationDetails_default as ApplicationDetails, ApplicationList_default as ApplicationList, ApplicationQueryKeys, ArrowLeftRightIcon, AttributeVerificationConstants, Attribution_default as Attribution, AuthFlowSelect_default as AuthFlowSelect, BaseAcceptInvite_default as BaseAcceptInvite, BaseAgentCreate_default as BaseAgentCreate, BaseAgentDetails_default as BaseAgentDetails, BaseAgentList_default as BaseAgentList, BaseApplicationCreate_default as BaseApplicationCreate, BaseApplicationDetails_default as BaseApplicationDetails, BaseApplicationList_default as BaseApplicationList, BaseAuthFlowSelect_default as BaseAuthFlowSelect, BaseChangeCredential_default as BaseChangeCredential, BaseDeviceGrant_default as BaseDeviceGrant, BaseGroupCreate_default as BaseGroupCreate, BaseGroupDetails_default as BaseGroupDetails, BaseGroupList_default as BaseGroupList, BaseGroupMembers_default as BaseGroupMembers, BaseInviteUser_default as BaseInviteUser, BaseLanguageSwitcher_default as BaseLanguageSwitcher, BaseOrganizationUnitCreate_default as BaseOrganizationUnitCreate, BaseOrganizationUnitDetails_default as BaseOrganizationUnitDetails, BaseOrganizationUnitList_default as BaseOrganizationUnitList, BaseOrganizationUnitSwitcher_default as BaseOrganizationUnitSwitcher, BaseProjectCreate_default as BaseProjectCreate, BaseProjectDetails_default as BaseProjectDetails, BaseProjectList_default as BaseProjectList, BaseProjectSwitcher_default as BaseProjectSwitcher, BaseRoleAssignments_default as BaseRoleAssignments, BaseRoleCreate_default as BaseRoleCreate, BaseRoleDetails_default as BaseRoleDetails, BaseRoleList_default as BaseRoleList, BaseRolePermissions_default as BaseRolePermissions, BaseSharingPolicies_default as BaseSharingPolicies, BaseSignIn_default as BaseSignIn, BaseSignInButton_default as BaseSignInButton, BaseSignOutButton_default as BaseSignOutButton, BaseSignUp_default as BaseSignUp, BaseSignUpButton_default as BaseSignUpButton, BaseUserCreate_default as BaseUserCreate, BaseUserDetails_default as BaseUserDetails, BaseUserDropdown_default as BaseUserDropdown, BaseUserList_default as BaseUserList, BaseUserProfile_default as BaseUserProfile, BaseUserSelect_default as BaseUserSelect, BaseUserTypeSelect_default as BaseUserTypeSelect, BaseVerifyAttribute_default as BaseVerifyAttribute, BuildingIcon, Button_default as Button, Callback_default as Callback, Card_default as Card, ChangeCredential_default as ChangeCredential, CheckIcon, Checkbox_default as Checkbox, ChevronDownIcon, CircleAlertIcon, CircleCheckIcon, Consent_default as Consent, CopyableText_default as CopyableText, DEFAULT_USER_CREATE_FIELDS, DataTable_default as DataTable, DatePicker_default as DatePicker, DeviceGrant_default as DeviceGrant, Divider_default as Divider, EmbeddedFlowActionVariant, EmbeddedFlowComponentType, EmbeddedFlowEventType, EmbeddedFlowTextVariant, EmbeddedSelfFlowStatus, EmbeddedSignInFlowStatus, EmbeddedSignInFlowType, EmbeddedSignUpFlowStatus, EmbeddedSignUpFlowType, EyeIcon, EyeOffIcon, FLOW_KEY, FLOW_META_KEY, FacebookButton_default as FacebookButton, FieldFactory_default as FieldFactory, FieldType, FlowExpired_default as FlowExpired, FlowMetaProvider_default as FlowMetaProvider, FlowProvider_default as FlowProvider, GitHubButton_default as GitHubButton, GlobeIcon, GoogleButton_default as GoogleButton, GroupCreate_default as GroupCreate, GroupDetails_default as GroupDetails, GroupList_default as GroupList, GroupMembers_default as GroupMembers, GroupQueryKeys, I18N_KEY, I18nProvider_default as I18nProvider, InfoIcon, InviteUser_default as InviteUser, KeyValueList_default as KeyValueList, LanguageSwitcher_default as LanguageSwitcher, Loading_default as Loading, LogOutIcon, Logo_default as Logo, MicrosoftButton_default as MicrosoftButton, OrganizationUnitCreate_default as OrganizationUnitCreate, OrganizationUnitDetails_default as OrganizationUnitDetails, OrganizationUnitList_default as OrganizationUnitList, OrganizationUnitSwitchErrorCodes, OrganizationUnitSwitcher_default as OrganizationUnitSwitcher, OtpField_default as OtpField, PasswordField_default as PasswordField, PencilIcon, PlusIcon, ProjectCreate_default as ProjectCreate, ProjectDetails_default as ProjectDetails, ProjectList_default as ProjectList, ProjectSwitcher_default as ProjectSwitcher, RoleAssignments_default as RoleAssignments, RoleCreate_default as RoleCreate, RoleDetails_default as RoleDetails, RoleList_default as RoleList, RolePermissions_default as RolePermissions, RoleQueryKeys, Select_default as Select, SharingPolicies_default as SharingPolicies, SignIn_default as SignIn, SignInButton_default as SignInButton, SignOutButton_default as SignOutButton, SignUp_default as SignUp, SignUpButton_default as SignUpButton, SignedIn_default as SignedIn, SignedOut_default as SignedOut, Spinner_default as Spinner, THEME_KEY, THUNDERID_KEY, TextField_default as TextField, ThemeProvider_default as ThemeProvider, ThunderIDAPIError, ThunderIDPlugin_default as ThunderIDPlugin, ThunderIDProvider_default as ThunderIDProvider, ThunderIDRuntimeError, ThunderIDVueClient_default as ThunderIDVueClient, TriangleAlertIcon, Typography_default as Typography, USER_KEY, User_default as User, UserCreate_default as UserCreate, UserDetails_default as UserDetails, UserDropdown_default as UserDropdown, UserIcon, UserList_default as UserList, UserProfile_default as UserProfile, UserProvider_default as UserProvider, UserQueryKeys, UserSelect_default as UserSelect, UserTypeSelect_default as UserTypeSelect, VerifyAttribute_default as VerifyAttribute, XIcon, addGroupMembers, addRoleAssignments, applyGatewayConfiguration, buildThemeConfigFromFlowMeta_default as buildThemeConfigFromFlowMeta, createAction, createAgent, createAgentType, createApplication, createApplicationSharingPolicy, createAuthorizationDetailType, createCallbackRoute, createClassObserver, createConfigurationVersion, createConnection, createCredentialConfiguration, createDesignTheme, createField, createFlow, createFlowSharingPolicy, createGateway, createGatewaySecret, createGatewayVariable, createGroup, createGroupByPath, createLayout, createMediaQueryListener, createNotificationTemplate, createOrganizationUnit, createPresentationDefinition, createProject, createResource, createResourceInvalidator, createResourceServer, createRole, createRoleSharingPolicy, createSecret, createThunderIDGuard, createUser, createUserByPath, createUserSharingPolicy, createUserType, createVariable, deleteAction, deleteAgent, deleteAgentType, deleteApplication, deleteApplicationSharingPolicy, deleteAuthorizationDetailType, deleteClientRegistration, deleteConnection, deleteCredentialConfiguration, deleteDesignTheme, deleteFlow, deleteFlowSharingPolicy, deleteGateway, deleteGatewaySecret, deleteGatewayVariable, deleteGroup, deleteImportedConfiguration, deleteLayout, deleteNotificationTemplate, deleteOrganizationUnit, deleteOrganizationUnitByPath, deletePresentationDefinition, deleteProject, deleteResource, deleteResourceServer, deleteRole, deleteRoleSharingPolicy, deleteSecret, deleteTranslation, deleteTranslations, deleteUser, deleteUserSharingPolicy, deleteUserType, deleteVariable, detectThemeMode, executeAdministrationFlow, executeEmbeddedSelfFlow_default as executeEmbeddedSelfFlow, exportConfiguration, extractErrorMessage, findAdministrationFlows, getAccessibleOrganizationUnits_default as getAccessibleOrganizationUnits, getAccountLifecycleActions, getAction, getActions, getActiveTheme, getAgent, getAgentGroups, getAgentName, getAgentRoles, getAgentType, getAgentTypes, getAgents, getApplication, getApplicationOverlayRules, getApplicationSharingPolicies, getApplicationSharingPolicy, getApplications, getAuthComponentHeadings_default as getAuthComponentHeadings, getAuthorizationDetailType, getAuthorizationDetailTypes, getClientRegistration, getConfigurationVersion, getConfigurationVersions, getConnection, getConnectionUsages, getConnections, getConnectionsMeta, getCredentialConfiguration, getCredentialConfigurations, getDesignTheme, getDesignThemeUsages, getDesignThemes, getFlow, getFlowOverlayRules, getFlowSharingPolicies, getFlowSharingPolicy, getFlowUsages, getFlowVariables, getFlowVersion, getFlowVersions, getFlows, getGateway, getGatewayAppliedConfiguration, getGatewayAppliedVersion, getGatewayConfigurationDiff, getGatewayMaster, getGatewayMasterHistory, getGatewayMasterResource, getGatewaySecret, getGatewaySecrets, getGatewayVariable, getGatewayVariables, getGateways, getGroup, getGroupMembers, getGroups, getGroupsByPath, getLanguages, getLayout, getLayoutUsages, getLayouts, getNotificationTemplate, getNotificationTemplates, getOrganizationUnit, getOrganizationUnitByPath, getOrganizationUnitChildren, getOrganizationUnitGroups, getOrganizationUnitRoles, getOrganizationUnitUsers, getOrganizationUnits, getPresentationDefinition, getPresentationDefinitions, getProject, getProjects, getResource, getResourceServer, getResourceServerPermissions, getResourceServers, getResources, getRole, getRoleAssignments, getRoleOverlayRules, getRoleSharingPolicies, getRoleSharingPolicy, getRoles, getSecret, getSecrets, getServerConfig, getServerConfigs, getSupportedAuthorizationDetailsType, getSupportedAuthorizationDetailsTypes, getTokenPermissions, getUser, getUserGroups, getUserOverlayRules, getUserSharingPolicies, getUserSharingPolicy, getUserType, getUserTypes, getUserUsages, getUsers, getUsersByPath, getUsersMeMeta_default as getUsersMeMeta, getVariable, getVariables, getVerifiedAttributes, handlePasskeyAuthentication, handlePasskeyRegistration, handleWebAuthnAuthentication, hasAuthParamsInUrl, hasPermission, http, importConfiguration, initiateOAuthRedirect, isVerifiableAttribute, navigate, normalizeFlowResponse, parseKeyValuePairs, previewCimdDocument, regenerateAgentSecret, regenerateClientSecret, regenerateFlowSecret, registerClient, removeGroupMembers, removeRoleAssignments, resolveAdministrationFlowHandles, resolveAdministrationFlowId, resolveAdministrationFlows, resolveDesign, resolveTranslation, resolveTranslations, restoreFlowVersion, revertGatewayConfiguration, runAccountLifecycleAction, runAdministrationFlow, setTranslation, setTranslations, suspendAgent, suspendApplication, suspendUser, unlockAgent, unlockUser, unsuspendAgent, unsuspendApplication, unsuspendUser, updateAction, updateAgent, updateAgentType, updateApplication, updateApplicationSharingPolicy, updateAuthorizationDetailType, updateClientRegistration, updateConnection, updateCredentialConfiguration, updateDesignTheme, updateFlow, updateFlowSharingPolicy, updateFlowVariables, updateGateway, updateGatewaySecret, updateGatewayVariable, updateGroup, updateLayout, updateNotificationTemplate, updateOrganizationUnit, updateOrganizationUnitByPath, updatePresentationDefinition, updateProject, updateResource, updateResourceServer, updateRole, updateRoleSharingPolicy, updateSecret, updateServerConfig, updateUser, updateUserCredentials, updateUserSharingPolicy, updateUserType, updateVariable, useCurrentProjectState_default as useCurrentProjectState, useFetchAuthFlows_default as useFetchAuthFlows, useFetchUserTypes_default as useFetchUserTypes, useFetchUsers_default as useFetchUsers, useFlow_default as useFlow, useFlowExpiryHandling_default as useFlowExpiryHandling, useFlowMeta_default as useFlowMeta, useGrantedPermissions_default as useGrantedPermissions, useI18n_default as useI18n, useInfiniteOptions_default as useInfiniteOptions, useManagementEndpoint_default as useManagementEndpoint, useManagementRequestConfig_default as useManagementRequestConfig, useOAuthCallback, useTheme_default as useTheme, useThunderID_default as useThunderID, useUser_default as useUser, validateFieldValue };
|
|
22223
|
+
export { ADMINISTRATION_FLOW_TYPE, AcceptInvite_default as AcceptInvite, AccountLifecycleFlowConfigKey, AdministrationFlowConfigKey, AdministrationFlowData, AdministrationFlowError, AdministrationFlowInput, AdministrationModes, AgentCreate_default as AgentCreate, AgentDetails_default as AgentDetails, AgentList_default as AgentList, AgentQueryKeys, Alert_default as Alert, ApplicationCreate_default as ApplicationCreate, ApplicationDetails_default as ApplicationDetails, ApplicationList_default as ApplicationList, ApplicationQueryKeys, ArrowLeftRightIcon, AttributeVerificationConstants, Attribution_default as Attribution, AuthFlowSelect_default as AuthFlowSelect, BaseAcceptInvite_default as BaseAcceptInvite, BaseAgentCreate_default as BaseAgentCreate, BaseAgentDetails_default as BaseAgentDetails, BaseAgentList_default as BaseAgentList, BaseApplicationCreate_default as BaseApplicationCreate, BaseApplicationDetails_default as BaseApplicationDetails, BaseApplicationList_default as BaseApplicationList, BaseAuthFlowSelect_default as BaseAuthFlowSelect, BaseChangeCredential_default as BaseChangeCredential, BaseDeviceGrant_default as BaseDeviceGrant, BaseGroupCreate_default as BaseGroupCreate, BaseGroupDetails_default as BaseGroupDetails, BaseGroupList_default as BaseGroupList, BaseGroupMembers_default as BaseGroupMembers, BaseInviteUser_default as BaseInviteUser, BaseLanguageSwitcher_default as BaseLanguageSwitcher, BaseOrganizationUnitCreate_default as BaseOrganizationUnitCreate, BaseOrganizationUnitDetails_default as BaseOrganizationUnitDetails, BaseOrganizationUnitList_default as BaseOrganizationUnitList, BaseOrganizationUnitSwitcher_default as BaseOrganizationUnitSwitcher, BaseProjectCreate_default as BaseProjectCreate, BaseProjectDetails_default as BaseProjectDetails, BaseProjectList_default as BaseProjectList, BaseProjectSwitcher_default as BaseProjectSwitcher, BaseRoleAssignments_default as BaseRoleAssignments, BaseRoleCreate_default as BaseRoleCreate, BaseRoleDetails_default as BaseRoleDetails, BaseRoleList_default as BaseRoleList, BaseRolePermissions_default as BaseRolePermissions, BaseSharingPolicies_default as BaseSharingPolicies, BaseSignIn_default as BaseSignIn, BaseSignInButton_default as BaseSignInButton, BaseSignOutButton_default as BaseSignOutButton, BaseSignUp_default as BaseSignUp, BaseSignUpButton_default as BaseSignUpButton, BaseUserCreate_default as BaseUserCreate, BaseUserDetails_default as BaseUserDetails, BaseUserDropdown_default as BaseUserDropdown, BaseUserList_default as BaseUserList, BaseUserProfile_default as BaseUserProfile, BaseUserSelect_default as BaseUserSelect, BaseUserTypeSelect_default as BaseUserTypeSelect, BaseVerifyAttribute_default as BaseVerifyAttribute, BuildingIcon, Button_default as Button, Callback_default as Callback, Card_default as Card, ChangeCredential_default as ChangeCredential, CheckIcon, Checkbox_default as Checkbox, ChevronDownIcon, CircleAlertIcon, CircleCheckIcon, Consent_default as Consent, CopyableText_default as CopyableText, DEFAULT_USER_CREATE_FIELDS, DataTable_default as DataTable, DatePicker_default as DatePicker, DeviceGrant_default as DeviceGrant, Divider_default as Divider, EmbeddedFlowActionVariant, EmbeddedFlowComponentType, EmbeddedFlowEventType, EmbeddedFlowTextVariant, EmbeddedSelfFlowStatus, EmbeddedSignInFlowStatus, EmbeddedSignInFlowType, EmbeddedSignUpFlowStatus, EmbeddedSignUpFlowType, EyeIcon, EyeOffIcon, FLOW_KEY, FLOW_META_KEY, FacebookButton_default as FacebookButton, FieldFactory_default as FieldFactory, FieldType, FlowExpired_default as FlowExpired, FlowMetaProvider_default as FlowMetaProvider, FlowProvider_default as FlowProvider, GitHubButton_default as GitHubButton, GlobeIcon, GoogleButton_default as GoogleButton, GroupCreate_default as GroupCreate, GroupDetails_default as GroupDetails, GroupList_default as GroupList, GroupMembers_default as GroupMembers, GroupQueryKeys, I18N_KEY, I18nProvider_default as I18nProvider, InfoIcon, InviteUser_default as InviteUser, KeyValueList_default as KeyValueList, LanguageSwitcher_default as LanguageSwitcher, Loading_default as Loading, LogOutIcon, Logo_default as Logo, MicrosoftButton_default as MicrosoftButton, OrganizationUnitCreate_default as OrganizationUnitCreate, OrganizationUnitDetails_default as OrganizationUnitDetails, OrganizationUnitList_default as OrganizationUnitList, OrganizationUnitSwitchErrorCodes, OrganizationUnitSwitcher_default as OrganizationUnitSwitcher, OtpField_default as OtpField, PasswordField_default as PasswordField, PencilIcon, PlusIcon, ProjectCreate_default as ProjectCreate, ProjectDetails_default as ProjectDetails, ProjectList_default as ProjectList, ProjectSwitcher_default as ProjectSwitcher, RoleAssignments_default as RoleAssignments, RoleCreate_default as RoleCreate, RoleDetails_default as RoleDetails, RoleList_default as RoleList, RolePermissions_default as RolePermissions, RoleQueryKeys, Select_default as Select, SharingPolicies_default as SharingPolicies, SignIn_default as SignIn, SignInButton_default as SignInButton, SignOutButton_default as SignOutButton, SignUp_default as SignUp, SignUpButton_default as SignUpButton, SignedIn_default as SignedIn, SignedOut_default as SignedOut, Spinner_default as Spinner, THEME_KEY, THUNDERID_KEY, TextField_default as TextField, ThemeProvider_default as ThemeProvider, ThunderIDAPIError, ThunderIDPlugin_default as ThunderIDPlugin, ThunderIDProvider_default as ThunderIDProvider, ThunderIDRuntimeError, ThunderIDVueClient_default as ThunderIDVueClient, TriangleAlertIcon, Typography_default as Typography, USER_KEY, User_default as User, UserCreate_default as UserCreate, UserDetails_default as UserDetails, UserDropdown_default as UserDropdown, UserIcon, UserList_default as UserList, UserProfile_default as UserProfile, UserProvider_default as UserProvider, UserQueryKeys, UserSelect_default as UserSelect, UserTypeSelect_default as UserTypeSelect, VerifyAttribute_default as VerifyAttribute, XIcon, addGroupMembers, addRoleAssignments, applyGatewayConfiguration, buildThemeConfigFromFlowMeta_default as buildThemeConfigFromFlowMeta, createAction, createAgent, createAgentType, createApplication, createApplicationSharingPolicy, createAuthorizationDetailType, createCallbackRoute, createClassObserver, createConfigurationVersion, createConnection, createCredentialConfiguration, createDesignTheme, createField, createFlow, createFlowSharingPolicy, createGateway, createGatewaySecret, createGatewayVariable, createGroup, createGroupByPath, createLayout, createMediaQueryListener, createNotificationTemplate, createOrganizationUnit, createPresentationDefinition, createProject, createResource, createResourceInvalidator, createResourceServer, createRole, createRoleSharingPolicy, createSecret, createThunderIDGuard, createUser, createUserByPath, createUserSharingPolicy, createUserType, createVariable, deleteAction, deleteAgent, deleteAgentType, deleteApplication, deleteApplicationSharingPolicy, deleteAuthorizationDetailType, deleteClientRegistration, deleteConnection, deleteCredentialConfiguration, deleteDesignTheme, deleteFlow, deleteFlowSharingPolicy, deleteGateway, deleteGatewaySecret, deleteGatewayVariable, deleteGroup, deleteImportedConfiguration, deleteLayout, deleteNotificationTemplate, deleteOrganizationUnit, deleteOrganizationUnitByPath, deletePresentationDefinition, deleteProject, deleteResource, deleteResourceServer, deleteRole, deleteRoleSharingPolicy, deleteSecret, deleteTranslation, deleteTranslations, deleteUser, deleteUserSharingPolicy, deleteUserType, deleteVariable, detectThemeMode, executeAdministrationFlow, executeEmbeddedSelfFlow_default as executeEmbeddedSelfFlow, exportConfiguration, extractErrorMessage, findAdministrationFlows, getAccessibleOrganizationUnits_default as getAccessibleOrganizationUnits, getAccountLifecycleActions, getAction, getActions, getActiveTheme, getAgent, getAgentGroups, getAgentName, getAgentRoles, getAgentType, getAgentTypes, getAgents, getApplication, getApplicationOverlayRules, getApplicationSharingPolicies, getApplicationSharingPolicy, getApplications, getAuthComponentHeadings_default as getAuthComponentHeadings, getAuthorizationDetailType, getAuthorizationDetailTypes, getClientRegistration, getConfigurationVersion, getConfigurationVersions, getConnection, getConnectionUsages, getConnections, getConnectionsMeta, getCredentialConfiguration, getCredentialConfigurations, getDesignTheme, getDesignThemeUsages, getDesignThemes, getFlow, getFlowOverlayRules, getFlowSharingPolicies, getFlowSharingPolicy, getFlowUsages, getFlowVariables, getFlowVersion, getFlowVersions, getFlows, getGateway, getGatewayAppliedConfiguration, getGatewayAppliedVersion, getGatewayConfigurationDiff, getGatewayMaster, getGatewayMasterHistory, getGatewayMasterResource, getGatewaySecret, getGatewaySecrets, getGatewayVariable, getGatewayVariables, getGateways, getGroup, getGroupMembers, getGroups, getGroupsByPath, getLanguages, getLayout, getLayoutUsages, getLayouts, getNotificationTemplate, getNotificationTemplates, getOrganizationUnit, getOrganizationUnitByPath, getOrganizationUnitChildren, getOrganizationUnitGroups, getOrganizationUnitRoles, getOrganizationUnitUsers, getOrganizationUnits, getPresentationDefinition, getPresentationDefinitions, getProject, getProjects, getResource, getResourceServer, getResourceServerPermissions, getResourceServers, getResources, getRole, getRoleAssignments, getRoleOverlayRules, getRoleSharingPolicies, getRoleSharingPolicy, getRoles, getSecret, getSecrets, getServerConfig, getServerConfigs, getSupportedAuthorizationDetailsType, getSupportedAuthorizationDetailsTypes, getTokenPermissions, getUser, getUserGroups, getUserOverlayRules, getUserSharingPolicies, getUserSharingPolicy, getUserType, getUserTypes, getUserUsages, getUsers, getUsersByPath, getUsersMeMeta_default as getUsersMeMeta, getVariable, getVariables, getVerifiedAttributes, handlePasskeyAuthentication, handlePasskeyRegistration, handleWebAuthnAuthentication, hasAuthParamsInUrl, hasPermission, http, importConfiguration, initiateOAuthRedirect, isVerifiableAttribute, navigate, normalizeFlowResponse, parseKeyValuePairs, previewCimdDocument, regenerateAgentSecret, regenerateClientSecret, regenerateFlowSecret, registerClient, removeGroupMembers, removeRoleAssignments, resolveAdministrationFlowHandles, resolveAdministrationFlowId, resolveAdministrationFlows, resolveDesign, resolveTranslation, resolveTranslations, restoreFlowVersion, revertGatewayConfiguration, runAccountLifecycleAction, runAdministrationFlow, sendUserAttributeVerification, setTranslation, setTranslations, suspendAgent, suspendApplication, suspendUser, unlockAgent, unlockUser, unsuspendAgent, unsuspendApplication, unsuspendUser, updateAction, updateAgent, updateAgentType, updateApplication, updateApplicationSharingPolicy, updateAuthorizationDetailType, updateClientRegistration, updateConnection, updateCredentialConfiguration, updateDesignTheme, updateFlow, updateFlowSharingPolicy, updateFlowVariables, updateGateway, updateGatewaySecret, updateGatewayVariable, updateGroup, updateLayout, updateNotificationTemplate, updateOrganizationUnit, updateOrganizationUnitByPath, updatePresentationDefinition, updateProject, updateResource, updateResourceServer, updateRole, updateRoleSharingPolicy, updateSecret, updateServerConfig, updateUser, updateUserCredentials, updateUserSharingPolicy, updateUserType, updateVariable, useCurrentProjectState_default as useCurrentProjectState, useFetchAuthFlows_default as useFetchAuthFlows, useFetchUserTypes_default as useFetchUserTypes, useFetchUsers_default as useFetchUsers, useFlow_default as useFlow, useFlowExpiryHandling_default as useFlowExpiryHandling, useFlowMeta_default as useFlowMeta, useGrantedPermissions_default as useGrantedPermissions, useI18n_default as useI18n, useInfiniteOptions_default as useInfiniteOptions, useManagementEndpoint_default as useManagementEndpoint, useManagementRequestConfig_default as useManagementRequestConfig, useOAuthCallback, useTheme_default as useTheme, useThunderID_default as useThunderID, useUser_default as useUser, validateFieldValue };
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@thunderid/vue",
|
|
3
|
-
"version": "1.
|
|
3
|
+
"version": "1.20.0",
|
|
4
4
|
"description": "Vue SDK for ThunderID",
|
|
5
5
|
"keywords": [
|
|
6
6
|
"thunderid",
|
|
@@ -57,7 +57,7 @@
|
|
|
57
57
|
}
|
|
58
58
|
},
|
|
59
59
|
"dependencies": {
|
|
60
|
-
"@thunderid/browser": "^1.
|
|
60
|
+
"@thunderid/browser": "^1.19.0",
|
|
61
61
|
"dompurify": "3.4.17",
|
|
62
62
|
"tslib": "2.8.1"
|
|
63
63
|
},
|