@thunderid/vue 1.19.1 → 1.20.1
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 +180 -56
- 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 +176 -58
- package/dist/providers/ThunderIDProvider.d.ts.map +1 -1
- 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
|
|
|
@@ -1246,8 +1246,15 @@ const ThunderIDProvider = defineComponent({
|
|
|
1246
1246
|
userProfile.value = null;
|
|
1247
1247
|
isSignedIn.value = false;
|
|
1248
1248
|
});
|
|
1249
|
-
if (await client.isSignedIn())
|
|
1250
|
-
|
|
1249
|
+
if (await client.isSignedIn()) {
|
|
1250
|
+
const signedInUrl = new URL(window.location.href);
|
|
1251
|
+
if (hasAuthParams(signedInUrl, initializedConfig?.afterSignInUrl) && hasCalledForThisInstanceInUrl(props.instanceId ?? 0, signedInUrl.search)) try {
|
|
1252
|
+
await signIn();
|
|
1253
|
+
} catch (error) {
|
|
1254
|
+
logger$6.warn("Could not complete the organization unit switch, so the current session is kept.", error);
|
|
1255
|
+
}
|
|
1256
|
+
await updateSession();
|
|
1257
|
+
} else {
|
|
1251
1258
|
const currentUrl = new URL(window.location.href);
|
|
1252
1259
|
if (hasAuthParams(currentUrl, initializedConfig?.afterSignInUrl) && hasCalledForThisInstanceInUrl(props.instanceId ?? 0, currentUrl.search)) try {
|
|
1253
1260
|
const urlParams = currentUrl.searchParams;
|
|
@@ -2589,16 +2596,6 @@ const VERIFY_ATTRIBUTE_CSS = `
|
|
|
2589
2596
|
gap: calc(var(--thunderid-spacing-unit) * 1.5);
|
|
2590
2597
|
}
|
|
2591
2598
|
|
|
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
2599
|
.thunderid-verify-attribute__alert {
|
|
2603
2600
|
width: 100%;
|
|
2604
2601
|
}
|
|
@@ -2629,7 +2626,7 @@ var VerifyAttribute_css_default = VERIFY_ATTRIBUTE_CSS;
|
|
|
2629
2626
|
* Section: __header | __heading | __title | __description | __actions
|
|
2630
2627
|
* Forms: __form | __form-actions
|
|
2631
2628
|
* Parts: __panel | __panel-header | __panel-title | __detail | __detail-label | __detail-value
|
|
2632
|
-
* __chip-list | __chip | __confirm | __muted | __row | __avatar | __picker
|
|
2629
|
+
* __chip-list | __chip | __status-chip | __confirm | __muted | __row | __avatar | __picker
|
|
2633
2630
|
*
|
|
2634
2631
|
* Each component root also carries its own block class (for example `.thunderid-user-list`), so an
|
|
2635
2632
|
* application can target a single component.
|
|
@@ -2750,6 +2747,35 @@ const ADMIN_CSS = `
|
|
|
2750
2747
|
color: var(--thunderid-color-text-primary);
|
|
2751
2748
|
}
|
|
2752
2749
|
|
|
2750
|
+
.thunderid-admin__status-chip {
|
|
2751
|
+
display: inline-flex;
|
|
2752
|
+
flex-shrink: 0;
|
|
2753
|
+
gap: calc(var(--thunderid-spacing-unit) * 0.5);
|
|
2754
|
+
align-items: center;
|
|
2755
|
+
padding: 0 var(--thunderid-spacing-unit);
|
|
2756
|
+
border-radius: 999px;
|
|
2757
|
+
font-size: 0.75rem;
|
|
2758
|
+
font-weight: 500;
|
|
2759
|
+
line-height: 22px;
|
|
2760
|
+
white-space: nowrap;
|
|
2761
|
+
}
|
|
2762
|
+
|
|
2763
|
+
.thunderid-admin__status-chip svg {
|
|
2764
|
+
width: 12px;
|
|
2765
|
+
height: 12px;
|
|
2766
|
+
}
|
|
2767
|
+
|
|
2768
|
+
.thunderid-admin__status-chip--success {
|
|
2769
|
+
color: var(--thunderid-color-success-dark, var(--thunderid-color-success-main));
|
|
2770
|
+
background: color-mix(in srgb, var(--thunderid-color-success-main) 12%, transparent);
|
|
2771
|
+
}
|
|
2772
|
+
|
|
2773
|
+
/* Amber marks an action the administrator can take. */
|
|
2774
|
+
.thunderid-admin__status-chip--warning {
|
|
2775
|
+
color: var(--thunderid-color-warning-contrastText);
|
|
2776
|
+
background: color-mix(in srgb, var(--thunderid-color-warning-main) 14%, transparent);
|
|
2777
|
+
}
|
|
2778
|
+
|
|
2753
2779
|
.thunderid-admin__confirm {
|
|
2754
2780
|
display: inline-flex;
|
|
2755
2781
|
flex-wrap: wrap;
|
|
@@ -2773,6 +2799,32 @@ const ADMIN_CSS = `
|
|
|
2773
2799
|
gap: calc(var(--thunderid-spacing-unit) * 1.5);
|
|
2774
2800
|
}
|
|
2775
2801
|
|
|
2802
|
+
/* The value and its status on the left, the send action at the row's end. */
|
|
2803
|
+
.thunderid-admin__verification-row {
|
|
2804
|
+
display: flex;
|
|
2805
|
+
align-items: center;
|
|
2806
|
+
justify-content: space-between;
|
|
2807
|
+
gap: calc(var(--thunderid-spacing-unit) * 1.5);
|
|
2808
|
+
}
|
|
2809
|
+
|
|
2810
|
+
/* The action's padding must not make the row taller than its label. */
|
|
2811
|
+
.thunderid-admin__verification-row > button {
|
|
2812
|
+
margin-block: calc(var(--thunderid-spacing-unit) * -0.75);
|
|
2813
|
+
}
|
|
2814
|
+
|
|
2815
|
+
.thunderid-admin__verification-value {
|
|
2816
|
+
display: inline-flex;
|
|
2817
|
+
flex-wrap: wrap;
|
|
2818
|
+
align-items: center;
|
|
2819
|
+
gap: var(--thunderid-spacing-unit);
|
|
2820
|
+
min-width: 0;
|
|
2821
|
+
}
|
|
2822
|
+
|
|
2823
|
+
.thunderid-admin__verification-row svg {
|
|
2824
|
+
width: 14px;
|
|
2825
|
+
height: 14px;
|
|
2826
|
+
}
|
|
2827
|
+
|
|
2776
2828
|
.thunderid-admin__name {
|
|
2777
2829
|
display: inline-flex;
|
|
2778
2830
|
align-items: center;
|
|
@@ -5983,6 +6035,7 @@ const TriangleAlertIcon = () => icon([
|
|
|
5983
6035
|
y2: "17"
|
|
5984
6036
|
})
|
|
5985
6037
|
]);
|
|
6038
|
+
const SendIcon = () => icon([h("path", { d: "m22 2-7 20-4-9-9-4Z" }), h("path", { d: "M22 2 11 13" })]);
|
|
5986
6039
|
const PlusIcon = () => icon([h("line", {
|
|
5987
6040
|
x1: "12",
|
|
5988
6041
|
x2: "12",
|
|
@@ -11658,7 +11711,6 @@ const AVATAR_GRADIENTS$1 = [
|
|
|
11658
11711
|
"linear-gradient(135deg, #f97316 0%, #ec4899 100%)"
|
|
11659
11712
|
];
|
|
11660
11713
|
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
11714
|
const storedValueOf = (user, name) => {
|
|
11663
11715
|
return (user?.["attributes"])?.[name] ?? user?.[name];
|
|
11664
11716
|
};
|
|
@@ -11802,26 +11854,8 @@ const BaseUserProfile = defineComponent({
|
|
|
11802
11854
|
focusBeforeDialog = null;
|
|
11803
11855
|
}
|
|
11804
11856
|
});
|
|
11805
|
-
const pendingVerification = ref(null);
|
|
11806
11857
|
const storedUser = () => props.flattenedProfile ?? props.profile ?? null;
|
|
11807
11858
|
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
11859
|
function shouldShowField(fieldName, isSchemaBased = false) {
|
|
11826
11860
|
if (!isSchemaBased && FIELDS_TO_SKIP.includes(fieldName)) return false;
|
|
11827
11861
|
if (props.hideFields && props.hideFields.length > 0 && props.hideFields.includes(fieldName)) return false;
|
|
@@ -11899,13 +11933,7 @@ const BaseUserProfile = defineComponent({
|
|
|
11899
11933
|
...fieldErrors.value,
|
|
11900
11934
|
[fieldName]: ""
|
|
11901
11935
|
};
|
|
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;
|
|
11936
|
+
const payload = buildPatchValue(fieldName, typeof value === "string" ? strVal : value, schema.schemaId, schema.multiValued);
|
|
11909
11937
|
try {
|
|
11910
11938
|
await props.onUpdate(payload);
|
|
11911
11939
|
editingFields.value = {
|
|
@@ -11913,9 +11941,7 @@ const BaseUserProfile = defineComponent({
|
|
|
11913
11941
|
[fieldName]: false
|
|
11914
11942
|
};
|
|
11915
11943
|
clearEditedValue(fieldName);
|
|
11916
|
-
} catch {
|
|
11917
|
-
pendingVerification.value = null;
|
|
11918
|
-
}
|
|
11944
|
+
} catch {}
|
|
11919
11945
|
}
|
|
11920
11946
|
function renderVerificationStatus(name) {
|
|
11921
11947
|
const verification = reportedVerifiedAttributes()?.[name];
|
|
@@ -12613,20 +12639,21 @@ const BaseVerifyAttribute = defineComponent({
|
|
|
12613
12639
|
t,
|
|
12614
12640
|
variant: props.variant
|
|
12615
12641
|
}).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, {
|
|
12642
|
+
props.onCancel || showDone ? h("div", { class: px("verify-attribute__actions") }, [props.onCancel ? h(Button_default, {
|
|
12623
12643
|
color: "secondary",
|
|
12624
12644
|
"data-testid": "thunderid-action-verificationCancel",
|
|
12625
12645
|
disabled: isSubmitting.value,
|
|
12626
12646
|
onClick: () => props.onCancel?.(),
|
|
12627
12647
|
size: "small",
|
|
12628
|
-
|
|
12629
|
-
|
|
12648
|
+
type: "button",
|
|
12649
|
+
variant: "text"
|
|
12650
|
+
}, () => state.value === "active" || state.value === "loading" ? t("user.verification.buttons.cancel.text") : t("user.verification.buttons.close.text")) : null, showDone ? h(Button_default, {
|
|
12651
|
+
color: "primary",
|
|
12652
|
+
"data-testid": "thunderid-action-verificationDone",
|
|
12653
|
+
onClick: () => props.onDone?.(),
|
|
12654
|
+
size: "small",
|
|
12655
|
+
variant: "solid"
|
|
12656
|
+
}, () => t("user.verification.buttons.done.text")) : null]) : null
|
|
12630
12657
|
]);
|
|
12631
12658
|
};
|
|
12632
12659
|
}
|
|
@@ -16519,6 +16546,10 @@ const BaseUserDetails = defineComponent({
|
|
|
16519
16546
|
default: false,
|
|
16520
16547
|
type: Boolean
|
|
16521
16548
|
},
|
|
16549
|
+
isSendingVerification: {
|
|
16550
|
+
default: false,
|
|
16551
|
+
type: Boolean
|
|
16552
|
+
},
|
|
16522
16553
|
isUpdating: {
|
|
16523
16554
|
default: false,
|
|
16524
16555
|
type: Boolean
|
|
@@ -16535,6 +16566,10 @@ const BaseUserDetails = defineComponent({
|
|
|
16535
16566
|
default: void 0,
|
|
16536
16567
|
type: Function
|
|
16537
16568
|
},
|
|
16569
|
+
onSendVerification: {
|
|
16570
|
+
default: void 0,
|
|
16571
|
+
type: Function
|
|
16572
|
+
},
|
|
16538
16573
|
onUpdate: {
|
|
16539
16574
|
default: void 0,
|
|
16540
16575
|
type: Function
|
|
@@ -16543,17 +16578,29 @@ const BaseUserDetails = defineComponent({
|
|
|
16543
16578
|
default: void 0,
|
|
16544
16579
|
type: Object
|
|
16545
16580
|
},
|
|
16581
|
+
sentVerification: {
|
|
16582
|
+
default: null,
|
|
16583
|
+
type: Object
|
|
16584
|
+
},
|
|
16546
16585
|
user: {
|
|
16547
16586
|
default: void 0,
|
|
16548
16587
|
type: Object
|
|
16588
|
+
},
|
|
16589
|
+
userSchema: {
|
|
16590
|
+
default: void 0,
|
|
16591
|
+
type: Object
|
|
16549
16592
|
}
|
|
16550
16593
|
},
|
|
16551
16594
|
setup(props, { slots }) {
|
|
16552
16595
|
const t = useAdminTranslation_default(() => props.preferences);
|
|
16553
16596
|
const uid = useId();
|
|
16554
16597
|
const draft = ref(null);
|
|
16598
|
+
const sendingAttribute = ref(null);
|
|
16555
16599
|
return () => {
|
|
16556
16600
|
const { user } = props;
|
|
16601
|
+
const visibleAttributeNames = Object.keys(user?.attributes ?? {}).filter((name) => !props.hiddenAttributes.includes(name));
|
|
16602
|
+
const verifiableAttributes = visibleAttributeNames.filter((name) => isAdminVerifiableAttribute(user, name, props.userSchema));
|
|
16603
|
+
const verificationStatusAttributes = visibleAttributeNames.filter((name) => hasAdminVerificationStatus(user, name, props.userSchema));
|
|
16557
16604
|
if (slots["default"]) {
|
|
16558
16605
|
const isWritable = Boolean(user) && !user?.isReadOnly;
|
|
16559
16606
|
const renderProps = {
|
|
@@ -16564,12 +16611,20 @@ const BaseUserDetails = defineComponent({
|
|
|
16564
16611
|
isDeleting: props.isDeleting,
|
|
16565
16612
|
isLoading: props.isLoading,
|
|
16566
16613
|
isRunningLifecycleAction: props.isRunningLifecycleAction,
|
|
16614
|
+
isSendingVerification: props.isSendingVerification,
|
|
16567
16615
|
isUpdating: props.isUpdating,
|
|
16568
16616
|
lifecycleActions: props.onLifecycleAction && user ? props.lifecycleActions : [],
|
|
16569
16617
|
onDelete: isWritable ? props.onDelete : void 0,
|
|
16570
16618
|
onLifecycleAction: user ? props.onLifecycleAction : void 0,
|
|
16619
|
+
onSendVerification: isWritable && !props.isUpdating && props.onSendVerification ? (name) => {
|
|
16620
|
+
if (verifiableAttributes.includes(name) && !user?.verifiedAttributes?.[name]) props.onSendVerification?.(name);
|
|
16621
|
+
} : void 0,
|
|
16571
16622
|
onUpdate: isWritable ? props.onUpdate : void 0,
|
|
16572
|
-
|
|
16623
|
+
sentVerification: props.sentVerification,
|
|
16624
|
+
user,
|
|
16625
|
+
verifiableAttributes,
|
|
16626
|
+
verificationStatusAttributes,
|
|
16627
|
+
verifiedAttributes: user?.verifiedAttributes
|
|
16573
16628
|
};
|
|
16574
16629
|
return h("div", { class: props.className }, slots["default"](renderProps));
|
|
16575
16630
|
}
|
|
@@ -16591,6 +16646,26 @@ const BaseUserDetails = defineComponent({
|
|
|
16591
16646
|
const attributes = Object.entries(user.attributes ?? {}).filter(([name]) => !props.hiddenAttributes.includes(name));
|
|
16592
16647
|
const editableAttributes = attributes.filter((entry) => typeof entry[1] === "string");
|
|
16593
16648
|
const canEdit = Boolean(props.onUpdate) && !user.isReadOnly && editableAttributes.length > 0;
|
|
16649
|
+
const renderVerificationStatus = (name) => {
|
|
16650
|
+
const isVerified = user.verifiedAttributes?.[name] !== void 0;
|
|
16651
|
+
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")]);
|
|
16652
|
+
};
|
|
16653
|
+
const renderAttributeValue = (name, value) => {
|
|
16654
|
+
if (!verificationStatusAttributes.includes(name)) return stringify(value);
|
|
16655
|
+
const canSend = props.onSendVerification && !user.isReadOnly && verifiableAttributes.includes(name) && user.verifiedAttributes?.[name] === void 0;
|
|
16656
|
+
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, {
|
|
16657
|
+
"aria-label": `${t("admin.users.details.verification.verify")} ${name}`,
|
|
16658
|
+
disabled: props.isSendingVerification || props.isUpdating,
|
|
16659
|
+
loading: props.isSendingVerification && sendingAttribute.value === name,
|
|
16660
|
+
onClick: () => {
|
|
16661
|
+
sendingAttribute.value = name;
|
|
16662
|
+
props.onSendVerification?.(name);
|
|
16663
|
+
},
|
|
16664
|
+
size: "small",
|
|
16665
|
+
startIcon: h(SendIcon, { "aria-hidden": "true" }),
|
|
16666
|
+
variant: "text"
|
|
16667
|
+
}, { default: () => t("admin.users.details.verification.verify") }) : null]);
|
|
16668
|
+
};
|
|
16594
16669
|
const renderAttributes = () => {
|
|
16595
16670
|
if (draft.value) {
|
|
16596
16671
|
const current = draft.value;
|
|
@@ -16630,7 +16705,7 @@ const BaseUserDetails = defineComponent({
|
|
|
16630
16705
|
}
|
|
16631
16706
|
if (attributes.length > 0) return h(DetailList_default, { items: attributes.map(([name, value]) => ({
|
|
16632
16707
|
label: name,
|
|
16633
|
-
value:
|
|
16708
|
+
value: renderAttributeValue(name, value)
|
|
16634
16709
|
})) });
|
|
16635
16710
|
return h("span", { class: cls$10("muted") }, t("admin.users.details.no_attributes"));
|
|
16636
16711
|
};
|
|
@@ -16659,6 +16734,7 @@ const BaseUserDetails = defineComponent({
|
|
|
16659
16734
|
],
|
|
16660
16735
|
default: () => [
|
|
16661
16736
|
props.error ? h(Alert_default, { severity: "error" }, { default: () => [props.error] }) : null,
|
|
16737
|
+
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
16738
|
h("div", { class: cls$10("row") }, [
|
|
16663
16739
|
h(AdminAvatar_default, {
|
|
16664
16740
|
name: displayName,
|
|
@@ -16748,7 +16824,8 @@ var useAccountLifecycle_default = useAccountLifecycle;
|
|
|
16748
16824
|
//#region src/components/management/UserDetails/UserDetails.ts
|
|
16749
16825
|
/**
|
|
16750
16826
|
* Shows a user and the groups they belong to, and optionally lets the signed-in user edit or delete
|
|
16751
|
-
* them. Emits `deleted` after
|
|
16827
|
+
* them, run account lifecycle actions or send them a link to verify their email. Emits `deleted` after
|
|
16828
|
+
* the user has been deleted.
|
|
16752
16829
|
*
|
|
16753
16830
|
* Slots: `actions`, rendered next to the user's name.
|
|
16754
16831
|
*
|
|
@@ -16764,6 +16841,10 @@ const UserDetails = defineComponent({
|
|
|
16764
16841
|
default: void 0,
|
|
16765
16842
|
type: String
|
|
16766
16843
|
},
|
|
16844
|
+
attributeVerification: {
|
|
16845
|
+
default: false,
|
|
16846
|
+
type: Boolean
|
|
16847
|
+
},
|
|
16767
16848
|
className: {
|
|
16768
16849
|
default: "",
|
|
16769
16850
|
type: String
|
|
@@ -16803,6 +16884,13 @@ const UserDetails = defineComponent({
|
|
|
16803
16884
|
fetcher,
|
|
16804
16885
|
userId: props.userId
|
|
16805
16886
|
}), { enabled: hasUserId });
|
|
16887
|
+
const userTypesEndpoint = useManagementEndpoint_default("userTypes");
|
|
16888
|
+
const typeHandle = () => user.data.value?.id === props.userId ? user.data.value.type : void 0;
|
|
16889
|
+
const userType = useResourceQuery_default(() => [UserQueryKeys$1.USER_TYPES, { handle: typeHandle() }], (fetcher) => getUserTypeByHandle({
|
|
16890
|
+
...userTypesEndpoint,
|
|
16891
|
+
fetcher,
|
|
16892
|
+
handle: typeHandle()
|
|
16893
|
+
}), { enabled: () => props.attributeVerification && Boolean(typeHandle() && user.data.value?.verifiedAttributes) });
|
|
16806
16894
|
const groups = useResourceQuery_default(() => [
|
|
16807
16895
|
GroupQueryKeys$1.MEMBERSHIPS,
|
|
16808
16896
|
"user",
|
|
@@ -16826,6 +16914,20 @@ const UserDetails = defineComponent({
|
|
|
16826
16914
|
payload: data,
|
|
16827
16915
|
userId
|
|
16828
16916
|
}), ({ userId }) => [[UserQueryKeys$1.USER, userId], [UserQueryKeys$1.USERS]]);
|
|
16917
|
+
const { baseUrl } = useThunderID_default();
|
|
16918
|
+
const verificationFlow = useResourceQuery_default(() => ["administration-flows", "attribute-verification"], (fetcher) => resolveAdministrationFlowHandles$1({
|
|
16919
|
+
baseUrl,
|
|
16920
|
+
fetcher
|
|
16921
|
+
}, [AdministrationFlowConfigKey$1.ADMIN_ATTRIBUTE_VERIFICATION]), { enabled: () => props.attributeVerification });
|
|
16922
|
+
const verificationHandle = () => verificationFlow.data.value?.[AdministrationFlowConfigKey$1.ADMIN_ATTRIBUTE_VERIFICATION];
|
|
16923
|
+
const verificationTarget = shallowRef(null);
|
|
16924
|
+
const verification = useResourceMutation_default(({ attribute, userId }, fetcher) => sendUserAttributeVerification$1({
|
|
16925
|
+
...endpoint,
|
|
16926
|
+
attribute,
|
|
16927
|
+
fetcher,
|
|
16928
|
+
handle: verificationHandle(),
|
|
16929
|
+
userId
|
|
16930
|
+
}), ({ userId }) => [[UserQueryKeys$1.USER, userId]]);
|
|
16829
16931
|
const lifecycle = useAccountLifecycle_default({
|
|
16830
16932
|
enabled: () => props.lifecycleActions,
|
|
16831
16933
|
invalidatedKeys: () => [[UserQueryKeys$1.USER, props.userId], [UserQueryKeys$1.USERS]],
|
|
@@ -16835,18 +16937,32 @@ const UserDetails = defineComponent({
|
|
|
16835
16937
|
});
|
|
16836
16938
|
return () => {
|
|
16837
16939
|
const current = user.data.value;
|
|
16940
|
+
const userSchema = userType.data.value?.handle === typeHandle() ? userType.data.value?.schema : void 0;
|
|
16941
|
+
const target = verificationTarget.value;
|
|
16942
|
+
const showVerificationResult = props.attributeVerification && target?.userId === props.userId && current?.attributes?.[target.attribute] === target.value;
|
|
16838
16943
|
return h(BaseUserDetails_default, {
|
|
16839
16944
|
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"),
|
|
16945
|
+
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
16946
|
groups: groups.data.value?.groups ?? [],
|
|
16842
16947
|
hiddenAttributes: props.hiddenAttributes,
|
|
16843
16948
|
isDeleting: deletion.isLoading.value,
|
|
16844
16949
|
isLoading: user.isLoading.value,
|
|
16845
16950
|
isRunningLifecycleAction: lifecycle.isRunning.value,
|
|
16951
|
+
isSendingVerification: verification.isLoading.value,
|
|
16846
16952
|
isUpdating: update.isLoading.value,
|
|
16847
16953
|
lifecycleActions: lifecycle.actions.value,
|
|
16848
16954
|
onDelete: props.deletable ? () => void deletion.mutate(props.userId) : void 0,
|
|
16849
16955
|
onLifecycleAction: props.lifecycleActions ? lifecycle.run : void 0,
|
|
16956
|
+
onSendVerification: props.attributeVerification && verificationHandle() && userSchema && current?.id === props.userId ? (attribute) => {
|
|
16957
|
+
const target$1 = {
|
|
16958
|
+
attribute,
|
|
16959
|
+
userId: props.userId,
|
|
16960
|
+
value: current?.attributes?.[attribute]
|
|
16961
|
+
};
|
|
16962
|
+
verificationTarget.value = target$1;
|
|
16963
|
+
verification.reset();
|
|
16964
|
+
verification.mutate(target$1);
|
|
16965
|
+
} : void 0,
|
|
16850
16966
|
onUpdate: props.editable && current ? (attributes) => void update.mutate({
|
|
16851
16967
|
data: {
|
|
16852
16968
|
attributes,
|
|
@@ -16856,7 +16972,9 @@ const UserDetails = defineComponent({
|
|
|
16856
16972
|
userId: props.userId
|
|
16857
16973
|
}) : void 0,
|
|
16858
16974
|
preferences: props.preferences,
|
|
16859
|
-
|
|
16975
|
+
sentVerification: showVerificationResult ? verification.data.value ?? null : null,
|
|
16976
|
+
user: current,
|
|
16977
|
+
userSchema
|
|
16860
16978
|
}, { ...slots });
|
|
16861
16979
|
};
|
|
16862
16980
|
}
|
|
@@ -22109,4 +22227,4 @@ const createCallbackRoute = (options = {}) => {
|
|
|
22109
22227
|
};
|
|
22110
22228
|
|
|
22111
22229
|
//#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 };
|
|
22230
|
+
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 };
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"ThunderIDProvider.d.ts","sourceRoot":"","sources":["../../src/providers/ThunderIDProvider.ts"],"names":[],"mappings":"AA4BA,OAAO,EAEL,KAAK,SAAS,EAcf,MAAM,KAAK,CAAC;AAkDb;;;;;;;;;;;;;;GAcG;AACH,QAAA,MAAM,iBAAiB,EAAE,
|
|
1
|
+
{"version":3,"file":"ThunderIDProvider.d.ts","sourceRoot":"","sources":["../../src/providers/ThunderIDProvider.ts"],"names":[],"mappings":"AA4BA,OAAO,EAEL,KAAK,SAAS,EAcf,MAAM,KAAK,CAAC;AAkDb;;;;;;;;;;;;;;GAcG;AACH,QAAA,MAAM,iBAAiB,EAAE,SAshBvB,CAAC;AAEH,eAAe,iBAAiB,CAAC"}
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@thunderid/vue",
|
|
3
|
-
"version": "1.
|
|
3
|
+
"version": "1.20.1",
|
|
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
|
},
|