@thunderid/vue 1.7.0 → 1.8.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 +459 -66
- package/dist/components/admin/AgentDetails/AgentDetails.d.ts.map +1 -1
- package/dist/components/admin/AgentDetails/BaseAgentDetails.d.ts +6 -1
- package/dist/components/admin/AgentDetails/BaseAgentDetails.d.ts.map +1 -1
- package/dist/components/admin/ApplicationDetails/ApplicationDetails.d.ts.map +1 -1
- package/dist/components/admin/ApplicationDetails/BaseApplicationDetails.d.ts +6 -1
- package/dist/components/admin/ApplicationDetails/BaseApplicationDetails.d.ts.map +1 -1
- package/dist/components/admin/GroupMembers/GroupMembers.d.ts.map +1 -1
- package/dist/components/admin/RoleAssignments/RoleAssignments.d.ts.map +1 -1
- package/dist/components/admin/UserDetails/BaseUserDetails.d.ts +9 -1
- package/dist/components/admin/UserDetails/BaseUserDetails.d.ts.map +1 -1
- package/dist/components/admin/UserDetails/UserDetails.d.ts.map +1 -1
- package/dist/components/admin/shared/AccessStatusBadge.d.ts +8 -0
- package/dist/components/admin/shared/AccessStatusBadge.d.ts.map +1 -0
- package/dist/components/admin/shared/AccountLifecycleButtons.d.ts +9 -0
- package/dist/components/admin/shared/AccountLifecycleButtons.d.ts.map +1 -0
- package/dist/components/auth/flow/AuthOptionFactoryCore.d.ts.map +1 -1
- package/dist/components/auth/sign-in/SignIn.d.ts.map +1 -1
- package/dist/components/primitives/TextField/TextField.d.ts.map +1 -1
- package/dist/composables/management/useAccountLifecycle.d.ts +56 -0
- package/dist/composables/management/useAccountLifecycle.d.ts.map +1 -0
- package/dist/index.d.ts +3 -3
- package/dist/index.d.ts.map +1 -1
- package/dist/index.js +443 -68
- package/dist/keys.d.ts +5 -1
- package/dist/keys.d.ts.map +1 -1
- package/dist/models/contexts.d.ts +10 -0
- package/dist/models/contexts.d.ts.map +1 -1
- package/dist/providers/ThemeProvider.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, AdministrationFlowConfigKey, AdministrationFlowData, AdministrationFlowError, AdministrationFlowInput, AdministrationModes, AgentQueryKeys, AgentQueryKeys as AgentQueryKeys$1, ApplicationQueryKeys, ApplicationQueryKeys as ApplicationQueryKeys$1, AuthFlowSelectConstants, ConsentConstants, CredentialConstants, DEFAULT_APPLICATION_GRANT_TYPES, DEFAULT_THEME, EmbeddedFlowActionVariant, EmbeddedFlowComponentType, EmbeddedFlowComponentType as EmbeddedFlowComponentType$1, EmbeddedFlowEventType, EmbeddedFlowEventType as EmbeddedFlowEventType$1, EmbeddedFlowResponseType, EmbeddedFlowTextVariant, EmbeddedFlowType, 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, RoleQueryKeys, RoleQueryKeys as RoleQueryKeys$1, SPAUtils, SelectConstants, 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, copyTextToClipboard, createAction, createAgent, createAgent as createAgent$1, createAgentType, createApplication, createApplication as createApplication$1, createApplicationSharingPolicy, createClassObserver, createClassObserver as createClassObserver$1, createConfigurationVersion, createConnection, createDesignTheme, createFlow, createGateway, createGatewaySecret, createGatewayVariable, createGroup, createGroup as createGroup$1, createHttpClientFetcher, createLayout, createMediaQueryListener, createMediaQueryListener as createMediaQueryListener$1, createNotificationTemplate, createOrganizationUnit, createPackageComponentLogger, createPackageLogger, createResource, createResourceInvalidator, createResourceInvalidator as createResourceInvalidator$1, createResourceOptionsLoader, createResourceServer, createRole, createRole as createRole$1, 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, deleteConnection, deleteDesignTheme, deleteFlow, deleteGateway, deleteGatewaySecret, deleteGatewayVariable, deleteGroup, deleteImportedConfiguration, deleteLayout, deleteNotificationTemplate, deleteOrganizationUnit, deleteOrganizationUnitByPath, deleteResource, deleteResourceServer, deleteRole, deleteSecret, deleteTranslation, deleteTranslations, deleteUser, deleteUser as deleteUser$1, deleteUserSharingPolicy, deleteUserType, deleteVariable, detectThemeMode, detectThemeMode as detectThemeMode$1, evaluateChangePasswordForm, executeAdministrationFlow, executeEmbeddedSignInFlow, executeEmbeddedSignUpFlow, exportConfiguration, extractEmojiFromUri, extractUserClaimsFromIdToken, fallbackResourceInvalidator, findAdministrationFlows, generateFlattenedUserProfile, get, getAction, getActions, getActiveTheme, getAgent, getAgent as getAgent$1, getAgentGroups, getAgentGroups as getAgentGroups$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, getConfigurationVersion, getConfigurationVersions, getConnection, getConnectionUsages, getConnections, getConnectionsMeta, getDefaultI18nBundles, getDesignTheme, getDesignThemeUsages, getDesignThemes, getFlow, getFlowMeta, getFlowUsages, getFlowVersion, getFlowVersions, getFlows, getFlows as getFlows$1, getGateway, getGatewayAppliedConfiguration, getGatewayAppliedVersion, getGatewayConfigurationDiff, getGatewaySecret, getGatewaySecrets, getGatewayVariable, getGatewayVariables, getGateways, getGroup, getGroupMembers, getGroupMembers as getGroupMembers$1, getGroups, getGroups as getGroups$1, getLanguages, getLayout, getLayoutUsages, getLayouts, getNotificationTemplate, getNotificationTemplates, getOrganizationUnit, getOrganizationUnitByPath, getOrganizationUnitChildren, getOrganizationUnitGroups, getOrganizationUnitRoles, getOrganizationUnitUsers, getOrganizationUnits, getResource, getResourceServer, getResourceServers, getResources, getRole, getRole as getRole$1, getRoleAssignments, getRoleAssignments as getRoleAssignments$1, getRoles, getRoles as getRoles$1, getSecret, getSecrets, getSelectMessages, getServerConfig, getServerConfigs, getTokenPermissions, getTokenPermissions as getTokenPermissions$1, 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, handleWebAuthnAuthentication, hasAuthParamsInUrl, hasAuthParamsInUrl as hasAuthParamsInUrl$1, hasCalledForThisInstanceInUrl, hasPermission, hasPermission as hasPermission$1, hasUnresolvedTranslationParams, http, importConfiguration, isApplicationSubmissionValid, isEmojiUri, isEmpty, loadUntilOptionsGrow, mapCredentialUpdateError, mergeOptionsBatch, navigate, navigate as navigate$1, normalizeBorderRadius, normalizeSelectOptions, normalizeTranslations, parseKeyValuePairs, parseKeyValuePairs as parseKeyValuePairs$1, parseRedirectUris, previewCimdDocument, regenerateAgentSecret, regenerateClientSecret, regenerateClientSecret as regenerateClientSecret$1, regenerateFlowSecret, removeGroupMembers, removeGroupMembers as removeGroupMembers$1, removeRoleAssignments, removeRoleAssignments as removeRoleAssignments$1, resolveAdministrationFlowHandles, resolveAdministrationFlowId, resolveAdministrationFlows, resolveChangeCredentialPolicy, resolveDesign, resolveFlowTemplateLiterals, resolveLogoUri, resolveManagedIdentityName, resolvePageSize, resolveResourceEndpoint, resolveTranslation, resolveTranslations, restoreFlowVersion, revertGatewayConfiguration, runAdministrationFlow, setTranslation, setTranslations, startCase, substituteTranslationParams, supportsCredential, suspendAgent, suspendApplication, suspendUser, toAuthFlowSelectPage, toCreateApplicationRequest, toEqualityFilter, toError, toManagementErrorMessage, toUpdateApplicationRequest, toUserSelectPage, toUserTypeSelectPage, unlockAgent, unlockUser, unsuspendAgent, unsuspendApplication, unsuspendUser, updateAction, updateAgent, updateAgentType, updateApplication, updateApplication as updateApplication$1, updateApplicationSharingPolicy, updateConnection, updateDesignTheme, updateFlow, updateGateway, updateGatewaySecret, updateGatewayVariable, updateGroup, updateLayout, updateMeCredentials, updateMeProfile, updateNotificationTemplate, updateOrganizationUnit, updateOrganizationUnitByPath, updateResource, updateResourceServer, updateRole, updateSecret, updateServerConfig, updateUser, updateUser as updateUser$1, updateUserCredentials, updateUserSharingPolicy, updateUserType, updateVariable, withVendorCSSClassPrefix } from "@thunderid/browser";
|
|
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, AuthFlowSelectConstants, CONSENT_INVALID_KEY_PREFIX, CONSENT_MODIFIED_KEY_PREFIX, ConsentConstants, CredentialConstants, DEFAULT_APPLICATION_GRANT_TYPES, DEFAULT_THEME, EmbeddedFlowActionVariant, EmbeddedFlowComponentType, EmbeddedFlowComponentType as EmbeddedFlowComponentType$1, EmbeddedFlowEventType, EmbeddedFlowEventType as EmbeddedFlowEventType$1, EmbeddedFlowResponseType, EmbeddedFlowTextVariant, EmbeddedFlowType, 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, RoleQueryKeys, RoleQueryKeys as RoleQueryKeys$1, SPAUtils, SelectConstants, 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, copyTextToClipboard, createAction, createAgent, createAgent as createAgent$1, createAgentType, createApplication, createApplication as createApplication$1, createApplicationSharingPolicy, createClassObserver, createClassObserver as createClassObserver$1, createConfigurationVersion, createConnection, createDesignTheme, createFlow, createGateway, createGatewaySecret, createGatewayVariable, createGroup, createGroup as createGroup$1, createHttpClientFetcher, createLayout, createMediaQueryListener, createMediaQueryListener as createMediaQueryListener$1, createNotificationTemplate, createOrganizationUnit, createPackageComponentLogger, createPackageLogger, createResource, createResourceInvalidator, createResourceInvalidator as createResourceInvalidator$1, createResourceOptionsLoader, createResourceServer, createRole, createRole as createRole$1, 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, deleteConnection, deleteDesignTheme, deleteFlow, deleteGateway, deleteGatewaySecret, deleteGatewayVariable, deleteGroup, deleteImportedConfiguration, deleteLayout, deleteNotificationTemplate, deleteOrganizationUnit, deleteOrganizationUnitByPath, deleteResource, deleteResourceServer, deleteRole, deleteSecret, deleteTranslation, deleteTranslations, deleteUser, deleteUser as deleteUser$1, deleteUserSharingPolicy, deleteUserType, deleteVariable, detectThemeMode, detectThemeMode as detectThemeMode$1, evaluateChangePasswordForm, executeAdministrationFlow, executeEmbeddedSignInFlow, executeEmbeddedSignUpFlow, exportConfiguration, extractEmojiFromUri, extractUserClaimsFromIdToken, fallbackResourceInvalidator, findAdministrationFlows, generateFlattenedUserProfile, get, getAccountLifecycleActions, getAccountLifecycleActions as getAccountLifecycleActions$1, getAction, getActions, getActiveTheme, getAgent, getAgent as getAgent$1, getAgentGroups, getAgentGroups as getAgentGroups$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, getConfigurationVersion, getConfigurationVersions, getConnection, getConnectionUsages, getConnections, getConnectionsMeta, getConsentElementDecision, getDefaultI18nBundles, getDesignTheme, getDesignThemeUsages, getDesignThemes, getFlow, getFlowMeta, getFlowUsages, getFlowVersion, getFlowVersions, getFlows, getFlows as getFlows$1, getGateway, getGatewayAppliedConfiguration, getGatewayAppliedVersion, getGatewayConfigurationDiff, getGatewaySecret, getGatewaySecrets, getGatewayVariable, getGatewayVariables, getGateways, getGroup, getGroupMembers, getGroupMembers as getGroupMembers$1, getGroups, getGroups as getGroups$1, getLanguages, getLayout, getLayoutUsages, getLayouts, getNotificationTemplate, getNotificationTemplates, getOrganizationUnit, getOrganizationUnitByPath, getOrganizationUnitChildren, getOrganizationUnitGroups, getOrganizationUnitRoles, getOrganizationUnitUsers, getOrganizationUnits, getResource, getResourceServer, getResourceServers, getResources, getRole, getRole as getRole$1, getRoleAssignments, getRoleAssignments as getRoleAssignments$1, getRoles, getRoles as getRoles$1, getSecret, getSecrets, getSelectMessages, getServerConfig, getServerConfigs, getTokenPermissions, getTokenPermissions as getTokenPermissions$1, 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, handleWebAuthnAuthentication, hasAuthParamsInUrl, hasAuthParamsInUrl as hasAuthParamsInUrl$1, hasCalledForThisInstanceInUrl, hasPermission, hasPermission as hasPermission$1, hasUnresolvedTranslationParams, http, importConfiguration, isApplicationSubmissionValid, isEmojiUri, isEmpty, loadUntilOptionsGrow, mapCredentialUpdateError, mergeOptionsBatch, navigate, navigate as navigate$1, normalizeBorderRadius, normalizeSelectOptions, normalizeTranslations, parseKeyValuePairs, parseKeyValuePairs as parseKeyValuePairs$1, parseRedirectUris, previewCimdDocument, regenerateAgentSecret, regenerateClientSecret, regenerateClientSecret as regenerateClientSecret$1, regenerateFlowSecret, removeGroupMembers, removeGroupMembers as removeGroupMembers$1, removeRoleAssignments, removeRoleAssignments as removeRoleAssignments$1, resolveAdministrationFlowHandles, resolveAdministrationFlowId, resolveAdministrationFlows, resolveAdministrationFlows as resolveAdministrationFlows$1, resolveChangeCredentialPolicy, resolveDesign, resolveFlowTemplateLiterals, resolveLogoUri, resolveManagedIdentityName, resolvePageSize, resolveResourceEndpoint, resolveTranslation, resolveTranslations, restoreFlowVersion, revertGatewayConfiguration, runAccountLifecycleAction, runAccountLifecycleAction as runAccountLifecycleAction$1, runAdministrationFlow, setTranslation, setTranslations, startCase, substituteTranslationParams, supportsCredential, suspendAgent, suspendApplication, suspendUser, toAuthFlowSelectPage, toCreateApplicationRequest, toEqualityFilter, toError, toManagementErrorMessage, toUpdateApplicationRequest, toUserSelectPage, toUserTypeSelectPage, unlockAgent, unlockUser, unsuspendAgent, unsuspendApplication, unsuspendUser, updateAction, updateAgent, updateAgentType, updateApplication, updateApplication as updateApplication$1, updateApplicationSharingPolicy, updateConnection, updateDesignTheme, updateFlow, updateGateway, updateGatewaySecret, updateGatewayVariable, updateGroup, updateLayout, updateMeCredentials, updateMeProfile, updateNotificationTemplate, updateOrganizationUnit, updateOrganizationUnitByPath, updateResource, updateResourceServer, updateRole, updateSecret, updateServerConfig, updateUser, updateUser as updateUser$1, updateUserCredentials, updateUserSharingPolicy, updateUserType, updateVariable, withVendorCSSClassPrefix } from "@thunderid/browser";
|
|
2
2
|
import { Comment, Fragment, Teleport, computed, defineComponent, getCurrentInstance, getCurrentScope, h, inject, nextTick, onBeforeUnmount, onMounted, onScopeDispose, onUnmounted, provide, readonly, ref, shallowReadonly, shallowRef, toValue, useId, watch } from "vue";
|
|
3
3
|
import DOMPurify from "dompurify";
|
|
4
4
|
|
|
@@ -24,6 +24,10 @@ const FLOW_META_KEY = Symbol("thunderid-flow-meta");
|
|
|
24
24
|
*/
|
|
25
25
|
const THEME_KEY = Symbol("thunderid-theme");
|
|
26
26
|
/**
|
|
27
|
+
* Injection key a nested ThemeProvider uses to take the document root from the one above it.
|
|
28
|
+
*/
|
|
29
|
+
const THEME_ROOT_KEY = Symbol("thunderid-theme-root");
|
|
30
|
+
/**
|
|
27
31
|
* Injection key for the I18n context (translation function, language switching).
|
|
28
32
|
*/
|
|
29
33
|
const I18N_KEY = Symbol("thunderid-i18n");
|
|
@@ -564,32 +568,53 @@ const ThemeProvider = defineComponent({
|
|
|
564
568
|
const toggleTheme = () => {
|
|
565
569
|
colorScheme.value = colorScheme.value === "light" ? "dark" : "light";
|
|
566
570
|
};
|
|
567
|
-
const
|
|
571
|
+
const applyToRoot = () => {
|
|
568
572
|
if (typeof document === "undefined") return;
|
|
569
573
|
const root = document.documentElement;
|
|
570
|
-
Object.entries(
|
|
574
|
+
Object.entries(resolvedTheme.value.cssVariables).forEach(([key, value]) => {
|
|
571
575
|
root.style.setProperty(key, value);
|
|
572
576
|
});
|
|
577
|
+
root.dir = direction.value;
|
|
573
578
|
};
|
|
574
|
-
|
|
575
|
-
|
|
576
|
-
|
|
579
|
+
let claims = 0;
|
|
580
|
+
const themeRoot = { claim: () => {
|
|
581
|
+
claims += 1;
|
|
582
|
+
return () => {
|
|
583
|
+
claims -= 1;
|
|
584
|
+
if (claims === 0) applyToRoot();
|
|
585
|
+
};
|
|
586
|
+
} };
|
|
587
|
+
const release = inject(THEME_ROOT_KEY, null)?.claim();
|
|
588
|
+
watch([resolvedTheme, direction], () => {
|
|
589
|
+
if (claims === 0) applyToRoot();
|
|
577
590
|
}, { immediate: true });
|
|
578
591
|
let classObserver = null;
|
|
579
592
|
let mediaQuery = null;
|
|
580
593
|
const handleThemeChange = (isDark) => {
|
|
581
594
|
colorScheme.value = isDark ? "dark" : "light";
|
|
582
595
|
};
|
|
583
|
-
|
|
596
|
+
const stopDetection = () => {
|
|
597
|
+
classObserver?.disconnect();
|
|
598
|
+
classObserver = null;
|
|
599
|
+
mediaQuery?.disconnect();
|
|
600
|
+
mediaQuery = null;
|
|
601
|
+
};
|
|
602
|
+
const startDetection = () => {
|
|
603
|
+
stopDetection();
|
|
584
604
|
if (props.mode === "branding") return;
|
|
585
605
|
if (props.mode === "class") {
|
|
586
606
|
const targetElement = props.detection.targetElement || document.documentElement;
|
|
587
607
|
if (targetElement) classObserver = createClassObserver$1(targetElement, handleThemeChange, props.detection);
|
|
588
608
|
} else if (props.mode === "system") mediaQuery = createMediaQueryListener$1(handleThemeChange);
|
|
609
|
+
};
|
|
610
|
+
onMounted(startDetection);
|
|
611
|
+
watch(() => props.mode, () => {
|
|
612
|
+
colorScheme.value = initColorScheme();
|
|
613
|
+
startDetection();
|
|
589
614
|
});
|
|
590
615
|
onBeforeUnmount(() => {
|
|
591
|
-
|
|
592
|
-
|
|
616
|
+
stopDetection();
|
|
617
|
+
release?.();
|
|
593
618
|
});
|
|
594
619
|
provide(THEME_KEY, {
|
|
595
620
|
colorScheme: readonly(colorScheme),
|
|
@@ -597,6 +622,7 @@ const ThemeProvider = defineComponent({
|
|
|
597
622
|
theme: shallowReadonly(resolvedTheme),
|
|
598
623
|
toggleTheme
|
|
599
624
|
});
|
|
625
|
+
provide(THEME_ROOT_KEY, themeRoot);
|
|
600
626
|
return () => h("div", { style: "display:contents" }, slots["default"]?.());
|
|
601
627
|
}
|
|
602
628
|
});
|
|
@@ -4978,6 +5004,10 @@ const TextField = defineComponent({
|
|
|
4978
5004
|
default: void 0,
|
|
4979
5005
|
type: String
|
|
4980
5006
|
},
|
|
5007
|
+
maxLength: {
|
|
5008
|
+
default: void 0,
|
|
5009
|
+
type: Number
|
|
5010
|
+
},
|
|
4981
5011
|
modelValue: {
|
|
4982
5012
|
default: "",
|
|
4983
5013
|
type: String
|
|
@@ -5026,6 +5056,7 @@ const TextField = defineComponent({
|
|
|
5026
5056
|
"data-testid": attrs["data-testid"],
|
|
5027
5057
|
disabled: props.disabled,
|
|
5028
5058
|
id: props.id ?? props.name,
|
|
5059
|
+
maxlength: props.maxLength,
|
|
5029
5060
|
name: props.name,
|
|
5030
5061
|
onBlur: () => emit("blur"),
|
|
5031
5062
|
onInput: (e) => emit("update:modelValue", e.target.value),
|
|
@@ -7902,10 +7933,7 @@ const createAuthComponentFromFlow = (component, formValues, touchedFields, formE
|
|
|
7902
7933
|
elements: [...(p.essential ?? []).map((e) => ({
|
|
7903
7934
|
approved: !isDeny,
|
|
7904
7935
|
name: e.name
|
|
7905
|
-
})), ...(p.optional ?? []).map((e) => (
|
|
7906
|
-
approved: !isDeny && formValues[getConsentOptionalKey(p.purposeId, e.name)] === "true",
|
|
7907
|
-
name: e.name
|
|
7908
|
-
}))],
|
|
7936
|
+
})), ...(p.optional ?? []).map((e) => getConsentElementDecision(p.purposeId, e, !isDeny && formValues[getConsentOptionalKey(p.purposeId, e.name)] === "true", formValues))],
|
|
7909
7937
|
purposeName: p.purposeName ?? ""
|
|
7910
7938
|
}))
|
|
7911
7939
|
};
|
|
@@ -8752,17 +8780,14 @@ const SignIn = defineComponent({
|
|
|
8752
8780
|
name: e.name
|
|
8753
8781
|
})), ...(p.optional ?? []).map((e) => {
|
|
8754
8782
|
const key = `__consent_opt__${p.purposeId}__${e.name}`;
|
|
8755
|
-
return
|
|
8756
|
-
approved: !isDeny && processedInputs[key] === "true",
|
|
8757
|
-
name: e.name
|
|
8758
|
-
};
|
|
8783
|
+
return getConsentElementDecision(p.purposeId, e, !isDeny && processedInputs[key] === "true", processedInputs);
|
|
8759
8784
|
})],
|
|
8760
8785
|
purposeName: p.purposeName
|
|
8761
8786
|
}))
|
|
8762
8787
|
};
|
|
8763
8788
|
processedInputs["consent_decisions"] = JSON.stringify(decisions);
|
|
8764
8789
|
Object.keys(processedInputs).forEach((key) => {
|
|
8765
|
-
if (key.startsWith("__consent_opt__")) delete processedInputs[key];
|
|
8790
|
+
if (key.startsWith("__consent_opt__") || key.startsWith(CONSENT_MODIFIED_KEY_PREFIX) || key.startsWith(CONSENT_INVALID_KEY_PREFIX)) delete processedInputs[key];
|
|
8766
8791
|
});
|
|
8767
8792
|
} catch {}
|
|
8768
8793
|
try {
|
|
@@ -10451,7 +10476,7 @@ var useAdminTranslation_default = useAdminTranslation;
|
|
|
10451
10476
|
|
|
10452
10477
|
//#endregion
|
|
10453
10478
|
//#region src/components/common/attribution/Attribution.ts
|
|
10454
|
-
const cls$
|
|
10479
|
+
const cls$13 = (suffix) => withVendorCSSClassPrefix(`attribution${suffix}`);
|
|
10455
10480
|
const wordmark = (className) => h("svg", {
|
|
10456
10481
|
"aria-label": "ThunderID",
|
|
10457
10482
|
class: className,
|
|
@@ -10499,8 +10524,8 @@ const Attribution = defineComponent({
|
|
|
10499
10524
|
return () => {
|
|
10500
10525
|
const isRibbon = props.appearance === "ribbon";
|
|
10501
10526
|
const label = t(props.variant === "powered" ? "attribution.powered_by" : "attribution.secured_by");
|
|
10502
|
-
const className = [cls$
|
|
10503
|
-
const content = isRibbon ? h("span", { class: cls$
|
|
10527
|
+
const className = [cls$13(""), ...isRibbon ? [cls$13("--ribbon")] : []];
|
|
10528
|
+
const content = isRibbon ? h("span", { class: cls$13("__ribbon-content") }, [h("span", { class: cls$13("__ribbon-label") }, label), wordmark(cls$13("__ribbon-wordmark"))]) : [h("span", { class: cls$13("__label") }, label), wordmark(cls$13("__wordmark"))];
|
|
10504
10529
|
if (props.href) return h("a", {
|
|
10505
10530
|
class: className,
|
|
10506
10531
|
href: props.href,
|
|
@@ -12169,7 +12194,7 @@ var InviteUser_default = InviteUser;
|
|
|
12169
12194
|
|
|
12170
12195
|
//#endregion
|
|
12171
12196
|
//#region src/components/common/language-switcher/BaseLanguageSwitcher.ts
|
|
12172
|
-
const cls$
|
|
12197
|
+
const cls$12 = (name) => withVendorCSSClassPrefix(`language-switcher${name}`);
|
|
12173
12198
|
/**
|
|
12174
12199
|
* BaseLanguageSwitcher — unstyled language selection component.
|
|
12175
12200
|
*
|
|
@@ -12219,13 +12244,13 @@ const BaseLanguageSwitcher = defineComponent({
|
|
|
12219
12244
|
const triggerButton = h("button", {
|
|
12220
12245
|
"aria-expanded": isOpen.value,
|
|
12221
12246
|
"aria-haspopup": "listbox",
|
|
12222
|
-
class: cls$
|
|
12247
|
+
class: cls$12("__trigger"),
|
|
12223
12248
|
onClick: toggle,
|
|
12224
12249
|
type: "button"
|
|
12225
12250
|
}, [
|
|
12226
12251
|
h(GlobeIcon, { size: 16 }),
|
|
12227
12252
|
h(Typography_default, {
|
|
12228
|
-
class: cls$
|
|
12253
|
+
class: cls$12("__trigger-label"),
|
|
12229
12254
|
variant: "body2"
|
|
12230
12255
|
}, () => currentLabel),
|
|
12231
12256
|
h(ChevronDownIcon, { size: 12 })
|
|
@@ -12234,17 +12259,17 @@ const BaseLanguageSwitcher = defineComponent({
|
|
|
12234
12259
|
const isActive = lang.value === props.currentLanguage;
|
|
12235
12260
|
return h("button", {
|
|
12236
12261
|
"aria-selected": isActive,
|
|
12237
|
-
class: [cls$
|
|
12262
|
+
class: [cls$12("__item"), isActive ? cls$12("__item--active") : ""],
|
|
12238
12263
|
onClick: () => handleSelect(lang.value),
|
|
12239
12264
|
role: "option",
|
|
12240
12265
|
type: "button"
|
|
12241
12266
|
}, [h(Typography_default, { variant: "body2" }, () => lang.label)]);
|
|
12242
12267
|
});
|
|
12243
12268
|
const dropdown = isOpen.value ? h("div", {
|
|
12244
|
-
class: cls$
|
|
12269
|
+
class: cls$12("__dropdown"),
|
|
12245
12270
|
role: "listbox"
|
|
12246
12271
|
}, dropdownItems) : null;
|
|
12247
|
-
return h(Card_default, { class: [cls$
|
|
12272
|
+
return h(Card_default, { class: [cls$12(""), props.className].filter(Boolean).join(" ") }, () => [triggerButton, dropdown]);
|
|
12248
12273
|
};
|
|
12249
12274
|
}
|
|
12250
12275
|
});
|
|
@@ -12361,38 +12386,38 @@ const DataTable = defineComponent({
|
|
|
12361
12386
|
setup(props) {
|
|
12362
12387
|
const { t: fallbackT } = useI18n_default();
|
|
12363
12388
|
const translate = (key, params) => (props.t ?? fallbackT)(key, params);
|
|
12364
|
-
const cls$
|
|
12389
|
+
const cls$14 = (element) => withVendorCSSClassPrefix(element ? `data-table__${element}` : "data-table");
|
|
12365
12390
|
const renderBody = () => {
|
|
12366
12391
|
const colSpan = props.columns.length;
|
|
12367
12392
|
if (props.isLoading) return h("tr", {}, [h("td", {
|
|
12368
|
-
class: cls$
|
|
12393
|
+
class: cls$14("empty"),
|
|
12369
12394
|
colspan: colSpan
|
|
12370
12395
|
}, [h("span", {
|
|
12371
|
-
class: cls$
|
|
12396
|
+
class: cls$14("loading"),
|
|
12372
12397
|
role: "status"
|
|
12373
12398
|
}, [h(Spinner_default, {
|
|
12374
12399
|
"aria-hidden": "true",
|
|
12375
12400
|
size: "small"
|
|
12376
12401
|
}), translate("admin.common.loading")])])]);
|
|
12377
12402
|
if (props.rows.length === 0) return h("tr", {}, [h("td", {
|
|
12378
|
-
class: cls$
|
|
12403
|
+
class: cls$14("empty"),
|
|
12379
12404
|
colspan: colSpan
|
|
12380
12405
|
}, props.emptyText)]);
|
|
12381
12406
|
return props.rows.map((row) => {
|
|
12382
12407
|
const rowId = props.getRowId(row);
|
|
12383
12408
|
const onRowClick = props.onRowClick;
|
|
12384
12409
|
return h("tr", {
|
|
12385
|
-
class: cls$
|
|
12410
|
+
class: cls$14("row"),
|
|
12386
12411
|
"data-clickable": onRowClick ? "true" : void 0,
|
|
12387
12412
|
"data-selected": props.selectedRowId === rowId ? "true" : void 0,
|
|
12388
12413
|
key: rowId,
|
|
12389
12414
|
onClick: onRowClick ? () => onRowClick(row) : void 0
|
|
12390
12415
|
}, props.columns.map((column, index) => h("td", {
|
|
12391
|
-
class: cls$
|
|
12416
|
+
class: cls$14("cell"),
|
|
12392
12417
|
key: column.id
|
|
12393
12418
|
}, index === 0 && onRowClick ? [h("button", {
|
|
12394
12419
|
"aria-pressed": props.selectedRowId === void 0 ? void 0 : String(props.selectedRowId === rowId),
|
|
12395
|
-
class: cls$
|
|
12420
|
+
class: cls$14("row-button"),
|
|
12396
12421
|
onClick: (event) => {
|
|
12397
12422
|
event.stopPropagation();
|
|
12398
12423
|
onRowClick(row);
|
|
@@ -12405,12 +12430,12 @@ const DataTable = defineComponent({
|
|
|
12405
12430
|
const { pagination } = props;
|
|
12406
12431
|
const start = pagination ? Math.min(pagination.offset + 1, pagination.total) : 0;
|
|
12407
12432
|
const end = pagination ? Math.min(pagination.offset + props.rows.length, pagination.total) : 0;
|
|
12408
|
-
return h("div", { class: [cls$
|
|
12433
|
+
return h("div", { class: [cls$14(), props.className].filter(Boolean).join(" ") }, [
|
|
12409
12434
|
props.error ? h(Alert_default, { severity: "error" }, { default: () => [props.error] }) : null,
|
|
12410
|
-
h("div", { class: cls$
|
|
12411
|
-
h("caption", { class: cls$
|
|
12435
|
+
h("div", { class: cls$14("scroller") }, [h("table", { class: cls$14("table") }, [
|
|
12436
|
+
h("caption", { class: cls$14("caption") }, props.caption),
|
|
12412
12437
|
h("thead", {}, [h("tr", {}, props.columns.map((column) => h("th", {
|
|
12413
|
-
class: cls$
|
|
12438
|
+
class: cls$14("header-cell"),
|
|
12414
12439
|
key: column.id,
|
|
12415
12440
|
scope: "col"
|
|
12416
12441
|
}, column.header)))]),
|
|
@@ -12418,12 +12443,12 @@ const DataTable = defineComponent({
|
|
|
12418
12443
|
])]),
|
|
12419
12444
|
pagination && pagination.total > pagination.limit ? h("nav", {
|
|
12420
12445
|
"aria-label": translate("admin.common.pagination.label"),
|
|
12421
|
-
class: cls$
|
|
12446
|
+
class: cls$14("footer")
|
|
12422
12447
|
}, [h("span", { "aria-live": "polite" }, translate("admin.common.pagination.range", {
|
|
12423
12448
|
end,
|
|
12424
12449
|
start,
|
|
12425
12450
|
total: pagination.total
|
|
12426
|
-
})), h("div", { class: cls$
|
|
12451
|
+
})), h("div", { class: cls$14("footer-actions") }, [h(Button_default, {
|
|
12427
12452
|
disabled: pagination.offset === 0 || props.isLoading,
|
|
12428
12453
|
onClick: () => pagination.onChange(Math.max(0, pagination.offset - pagination.limit)),
|
|
12429
12454
|
size: "small",
|
|
@@ -12442,7 +12467,7 @@ var DataTable_default = DataTable;
|
|
|
12442
12467
|
|
|
12443
12468
|
//#endregion
|
|
12444
12469
|
//#region src/components/admin/shared/AdminAvatar.ts
|
|
12445
|
-
const cls$
|
|
12470
|
+
const cls$11 = (element) => withVendorCSSClassPrefix(`admin__${element}`);
|
|
12446
12471
|
/**
|
|
12447
12472
|
* A decorative circle with a name's initials. Hidden from assistive technology, since the name is
|
|
12448
12473
|
* always rendered next to it.
|
|
@@ -12464,7 +12489,7 @@ const AdminAvatar = defineComponent({
|
|
|
12464
12489
|
const initials = props.name.split(/\s+/).filter(Boolean).slice(0, 2).map((part) => part.charAt(0).toUpperCase()).join("");
|
|
12465
12490
|
return h("span", {
|
|
12466
12491
|
"aria-hidden": "true",
|
|
12467
|
-
class: cls$
|
|
12492
|
+
class: cls$11("avatar"),
|
|
12468
12493
|
style: {
|
|
12469
12494
|
fontSize: `${Math.round(props.size * .4)}px`,
|
|
12470
12495
|
height: `${props.size}px`,
|
|
@@ -13325,6 +13350,146 @@ const UserCreate = defineComponent({
|
|
|
13325
13350
|
});
|
|
13326
13351
|
var UserCreate_default = UserCreate;
|
|
13327
13352
|
|
|
13353
|
+
//#endregion
|
|
13354
|
+
//#region src/components/admin/shared/AccessStatusBadge.ts
|
|
13355
|
+
const cls$10 = (element) => withVendorCSSClassPrefix(`admin__${element}`);
|
|
13356
|
+
/**
|
|
13357
|
+
* The translated access status of an identity, or its raw value when the status is one this SDK does
|
|
13358
|
+
* not know. Renders nothing when the server reports no status.
|
|
13359
|
+
*/
|
|
13360
|
+
const AccessStatusBadge = defineComponent({
|
|
13361
|
+
name: "AdminAccessStatusBadge",
|
|
13362
|
+
props: {
|
|
13363
|
+
status: {
|
|
13364
|
+
default: void 0,
|
|
13365
|
+
type: String
|
|
13366
|
+
},
|
|
13367
|
+
t: {
|
|
13368
|
+
required: true,
|
|
13369
|
+
type: Function
|
|
13370
|
+
}
|
|
13371
|
+
},
|
|
13372
|
+
setup(props) {
|
|
13373
|
+
return () => {
|
|
13374
|
+
if (!props.status) return null;
|
|
13375
|
+
const labels = {
|
|
13376
|
+
ACTIVE: props.t("admin.common.status.active"),
|
|
13377
|
+
LOCKED: props.t("admin.common.status.locked"),
|
|
13378
|
+
SUSPENDED: props.t("admin.common.status.suspended")
|
|
13379
|
+
};
|
|
13380
|
+
return h("span", { class: cls$10("chip") }, labels[props.status] ?? props.status);
|
|
13381
|
+
};
|
|
13382
|
+
}
|
|
13383
|
+
});
|
|
13384
|
+
var AccessStatusBadge_default = AccessStatusBadge;
|
|
13385
|
+
|
|
13386
|
+
//#endregion
|
|
13387
|
+
//#region src/components/admin/shared/AccountLifecycleButtons.ts
|
|
13388
|
+
const cls$9 = (element) => withVendorCSSClassPrefix(`admin__${element}`);
|
|
13389
|
+
/**
|
|
13390
|
+
* Matches the server's limit on an operator note.
|
|
13391
|
+
*/
|
|
13392
|
+
const OPERATOR_NOTE_MAX_LENGTH = 100;
|
|
13393
|
+
/**
|
|
13394
|
+
* One button per account lifecycle action. Suspending and unsuspending ask for confirmation inline;
|
|
13395
|
+
* unlocking is remedial and runs straight away. Emits `action` with the action and, on a suspension
|
|
13396
|
+
* that collects one, the operator's note.
|
|
13397
|
+
*/
|
|
13398
|
+
const AccountLifecycleButtons = defineComponent({
|
|
13399
|
+
name: "AdminAccountLifecycleButtons",
|
|
13400
|
+
props: {
|
|
13401
|
+
actions: {
|
|
13402
|
+
required: true,
|
|
13403
|
+
type: Array
|
|
13404
|
+
},
|
|
13405
|
+
collectsOperatorNote: {
|
|
13406
|
+
default: false,
|
|
13407
|
+
type: Boolean
|
|
13408
|
+
},
|
|
13409
|
+
isRunning: {
|
|
13410
|
+
default: false,
|
|
13411
|
+
type: Boolean
|
|
13412
|
+
},
|
|
13413
|
+
name: {
|
|
13414
|
+
required: true,
|
|
13415
|
+
type: String
|
|
13416
|
+
},
|
|
13417
|
+
t: {
|
|
13418
|
+
required: true,
|
|
13419
|
+
type: Function
|
|
13420
|
+
}
|
|
13421
|
+
},
|
|
13422
|
+
emits: ["action"],
|
|
13423
|
+
setup(props, { emit }) {
|
|
13424
|
+
const uid = useId();
|
|
13425
|
+
const confirming = ref(null);
|
|
13426
|
+
const operatorNote = ref("");
|
|
13427
|
+
const close = () => {
|
|
13428
|
+
confirming.value = null;
|
|
13429
|
+
operatorNote.value = "";
|
|
13430
|
+
};
|
|
13431
|
+
return () => {
|
|
13432
|
+
const { t } = props;
|
|
13433
|
+
if (props.actions.length === 0) return null;
|
|
13434
|
+
const labels = {
|
|
13435
|
+
suspend: t("admin.common.lifecycle.suspend"),
|
|
13436
|
+
unlock: t("admin.common.lifecycle.unlock"),
|
|
13437
|
+
unsuspend: t("admin.common.lifecycle.unsuspend")
|
|
13438
|
+
};
|
|
13439
|
+
const action = confirming.value;
|
|
13440
|
+
if (action && props.actions.includes(action)) {
|
|
13441
|
+
const question = action === "suspend" ? t("admin.common.lifecycle.suspend_confirm", { name: props.name }) : t("admin.common.lifecycle.unsuspend_confirm", { name: props.name });
|
|
13442
|
+
const withNote = props.collectsOperatorNote && action === "suspend";
|
|
13443
|
+
return h("span", {
|
|
13444
|
+
"aria-label": question,
|
|
13445
|
+
class: cls$9("confirm"),
|
|
13446
|
+
role: "group"
|
|
13447
|
+
}, [
|
|
13448
|
+
h("span", {}, question),
|
|
13449
|
+
withNote ? h(TextField_default, {
|
|
13450
|
+
disabled: props.isRunning,
|
|
13451
|
+
label: t("admin.common.lifecycle.operator_note"),
|
|
13452
|
+
maxLength: OPERATOR_NOTE_MAX_LENGTH,
|
|
13453
|
+
modelValue: operatorNote.value,
|
|
13454
|
+
name: `${uid}-operator-note`,
|
|
13455
|
+
"onUpdate:modelValue": (value) => {
|
|
13456
|
+
operatorNote.value = value;
|
|
13457
|
+
}
|
|
13458
|
+
}) : null,
|
|
13459
|
+
h(Button_default, {
|
|
13460
|
+
disabled: props.isRunning,
|
|
13461
|
+
onClick: close,
|
|
13462
|
+
size: "small",
|
|
13463
|
+
variant: "text"
|
|
13464
|
+
}, { default: () => t("admin.common.actions.cancel") }),
|
|
13465
|
+
h(Button_default, {
|
|
13466
|
+
color: action === "suspend" ? "danger" : "primary",
|
|
13467
|
+
disabled: props.isRunning,
|
|
13468
|
+
loading: props.isRunning,
|
|
13469
|
+
onClick: () => {
|
|
13470
|
+
emit("action", action, withNote ? operatorNote.value.trim() || void 0 : void 0);
|
|
13471
|
+
close();
|
|
13472
|
+
},
|
|
13473
|
+
size: "small"
|
|
13474
|
+
}, { default: () => labels[action] })
|
|
13475
|
+
]);
|
|
13476
|
+
}
|
|
13477
|
+
return props.actions.map((offered) => h(Button_default, {
|
|
13478
|
+
color: offered === "suspend" ? "danger" : "primary",
|
|
13479
|
+
disabled: props.isRunning,
|
|
13480
|
+
key: offered,
|
|
13481
|
+
loading: props.isRunning && offered === "unlock",
|
|
13482
|
+
onClick: () => {
|
|
13483
|
+
if (offered === "unlock") emit("action", offered);
|
|
13484
|
+
else confirming.value = offered;
|
|
13485
|
+
},
|
|
13486
|
+
variant: "outline"
|
|
13487
|
+
}, { default: () => labels[offered] }));
|
|
13488
|
+
};
|
|
13489
|
+
}
|
|
13490
|
+
});
|
|
13491
|
+
var AccountLifecycleButtons_default = AccountLifecycleButtons;
|
|
13492
|
+
|
|
13328
13493
|
//#endregion
|
|
13329
13494
|
//#region src/components/admin/shared/ChipList.ts
|
|
13330
13495
|
const cls$8 = (element) => withVendorCSSClassPrefix(`admin__${element}`);
|
|
@@ -13514,14 +13679,26 @@ const BaseUserDetails = defineComponent({
|
|
|
13514
13679
|
default: false,
|
|
13515
13680
|
type: Boolean
|
|
13516
13681
|
},
|
|
13682
|
+
isRunningLifecycleAction: {
|
|
13683
|
+
default: false,
|
|
13684
|
+
type: Boolean
|
|
13685
|
+
},
|
|
13517
13686
|
isUpdating: {
|
|
13518
13687
|
default: false,
|
|
13519
13688
|
type: Boolean
|
|
13520
13689
|
},
|
|
13690
|
+
lifecycleActions: {
|
|
13691
|
+
default: () => [],
|
|
13692
|
+
type: Array
|
|
13693
|
+
},
|
|
13521
13694
|
onDelete: {
|
|
13522
13695
|
default: void 0,
|
|
13523
13696
|
type: Function
|
|
13524
13697
|
},
|
|
13698
|
+
onLifecycleAction: {
|
|
13699
|
+
default: void 0,
|
|
13700
|
+
type: Function
|
|
13701
|
+
},
|
|
13525
13702
|
onUpdate: {
|
|
13526
13703
|
default: void 0,
|
|
13527
13704
|
type: Function
|
|
@@ -13550,8 +13727,11 @@ const BaseUserDetails = defineComponent({
|
|
|
13550
13727
|
groups: props.groups,
|
|
13551
13728
|
isDeleting: props.isDeleting,
|
|
13552
13729
|
isLoading: props.isLoading,
|
|
13730
|
+
isRunningLifecycleAction: props.isRunningLifecycleAction,
|
|
13553
13731
|
isUpdating: props.isUpdating,
|
|
13732
|
+
lifecycleActions: props.onLifecycleAction && user ? props.lifecycleActions : [],
|
|
13554
13733
|
onDelete: isWritable ? props.onDelete : void 0,
|
|
13734
|
+
onLifecycleAction: user ? props.onLifecycleAction : void 0,
|
|
13555
13735
|
onUpdate: isWritable ? props.onUpdate : void 0,
|
|
13556
13736
|
user
|
|
13557
13737
|
};
|
|
@@ -13624,18 +13804,36 @@ const BaseUserDetails = defineComponent({
|
|
|
13624
13804
|
description: t("admin.users.details.subtitle", { type: user.type }),
|
|
13625
13805
|
title: displayName
|
|
13626
13806
|
}, {
|
|
13627
|
-
actions: () => [
|
|
13628
|
-
|
|
13629
|
-
|
|
13630
|
-
|
|
13631
|
-
|
|
13632
|
-
|
|
13807
|
+
actions: () => [
|
|
13808
|
+
slots["actions"]?.(),
|
|
13809
|
+
props.onLifecycleAction ? h(AccountLifecycleButtons_default, {
|
|
13810
|
+
actions: props.lifecycleActions,
|
|
13811
|
+
collectsOperatorNote: true,
|
|
13812
|
+
isRunning: props.isRunningLifecycleAction,
|
|
13813
|
+
name: displayName,
|
|
13814
|
+
onAction: props.onLifecycleAction,
|
|
13815
|
+
t
|
|
13816
|
+
}) : null,
|
|
13817
|
+
props.onDelete && !user.isReadOnly ? h(ConfirmButton_default, {
|
|
13818
|
+
confirmText: t("admin.users.details.delete.confirm", { name: displayName }),
|
|
13819
|
+
isLoading: props.isDeleting,
|
|
13820
|
+
onConfirm: props.onDelete,
|
|
13821
|
+
t
|
|
13822
|
+
}, { default: () => t("admin.users.details.delete.action") }) : null
|
|
13823
|
+
],
|
|
13633
13824
|
default: () => [
|
|
13634
13825
|
props.error ? h(Alert_default, { severity: "error" }, { default: () => [props.error] }) : null,
|
|
13635
|
-
h("div", { class: cls$4("row") }, [
|
|
13636
|
-
|
|
13637
|
-
|
|
13638
|
-
|
|
13826
|
+
h("div", { class: cls$4("row") }, [
|
|
13827
|
+
h(AdminAvatar_default, {
|
|
13828
|
+
name: displayName,
|
|
13829
|
+
size: 48
|
|
13830
|
+
}),
|
|
13831
|
+
h("span", { class: cls$4("muted") }, user.ouHandle ?? user.ouId),
|
|
13832
|
+
h(AccessStatusBadge_default, {
|
|
13833
|
+
status: user.status?.value,
|
|
13834
|
+
t
|
|
13835
|
+
})
|
|
13836
|
+
]),
|
|
13639
13837
|
h(Panel_default, { title: t("admin.users.details.attributes") }, {
|
|
13640
13838
|
actions: () => canEdit && !draft.value ? h(Button_default, {
|
|
13641
13839
|
onClick: () => {
|
|
@@ -13661,6 +13859,55 @@ const BaseUserDetails = defineComponent({
|
|
|
13661
13859
|
});
|
|
13662
13860
|
var BaseUserDetails_default = BaseUserDetails;
|
|
13663
13861
|
|
|
13862
|
+
//#endregion
|
|
13863
|
+
//#region src/composables/management/useAccountLifecycle.ts
|
|
13864
|
+
/**
|
|
13865
|
+
* Offers the account lifecycle actions (suspend, unsuspend, unlock) of a user, agent or application and
|
|
13866
|
+
* runs them. These actions have no management API endpoint: they run only through the administration
|
|
13867
|
+
* flows the server configures, so an action is offered only when its flow is configured.
|
|
13868
|
+
*
|
|
13869
|
+
* @example
|
|
13870
|
+
* ```typescript
|
|
13871
|
+
* const lifecycle = useAccountLifecycle({
|
|
13872
|
+
* enabled: () => props.lifecycleActions,
|
|
13873
|
+
* invalidatedKeys: () => [[UserQueryKeys.USER, props.userId]],
|
|
13874
|
+
* kind: 'user',
|
|
13875
|
+
* status: () => user.data.value?.status?.value,
|
|
13876
|
+
* subject: () => props.userId,
|
|
13877
|
+
* });
|
|
13878
|
+
* ```
|
|
13879
|
+
*/
|
|
13880
|
+
const useAccountLifecycle = ({ enabled, invalidatedKeys, kind, status, subject }) => {
|
|
13881
|
+
const { baseUrl } = useThunderID_default();
|
|
13882
|
+
const flows = useResourceQuery_default(() => [
|
|
13883
|
+
"administration-flows",
|
|
13884
|
+
"account-lifecycle",
|
|
13885
|
+
kind
|
|
13886
|
+
], (fetcher) => resolveAdministrationFlows$1({
|
|
13887
|
+
baseUrl,
|
|
13888
|
+
fetcher
|
|
13889
|
+
}, Object.values(AccountLifecycleFlowConfigKey$1[kind])), { enabled });
|
|
13890
|
+
const execution = useResourceMutation_default(({ action, operatorNote }, fetcher) => runAccountLifecycleAction$1({
|
|
13891
|
+
action,
|
|
13892
|
+
baseUrl,
|
|
13893
|
+
fetcher,
|
|
13894
|
+
kind,
|
|
13895
|
+
operatorNote,
|
|
13896
|
+
subject: subject()
|
|
13897
|
+
}), () => invalidatedKeys());
|
|
13898
|
+
return {
|
|
13899
|
+
actions: computed(() => enabled() && flows.data.value ? getAccountLifecycleActions$1(kind, status(), flows.data.value) : []),
|
|
13900
|
+
error: computed(() => execution.error.value),
|
|
13901
|
+
isRunning: computed(() => execution.isLoading.value),
|
|
13902
|
+
loadError: computed(() => flows.error.value),
|
|
13903
|
+
run: (action, operatorNote) => void execution.mutate({
|
|
13904
|
+
action,
|
|
13905
|
+
operatorNote
|
|
13906
|
+
})
|
|
13907
|
+
};
|
|
13908
|
+
};
|
|
13909
|
+
var useAccountLifecycle_default = useAccountLifecycle;
|
|
13910
|
+
|
|
13664
13911
|
//#endregion
|
|
13665
13912
|
//#region src/components/admin/UserDetails/UserDetails.ts
|
|
13666
13913
|
/**
|
|
@@ -13677,6 +13924,10 @@ var BaseUserDetails_default = BaseUserDetails;
|
|
|
13677
13924
|
const UserDetails = defineComponent({
|
|
13678
13925
|
name: "UserDetails",
|
|
13679
13926
|
props: {
|
|
13927
|
+
administrationMode: {
|
|
13928
|
+
default: void 0,
|
|
13929
|
+
type: String
|
|
13930
|
+
},
|
|
13680
13931
|
className: {
|
|
13681
13932
|
default: "",
|
|
13682
13933
|
type: String
|
|
@@ -13693,6 +13944,10 @@ const UserDetails = defineComponent({
|
|
|
13693
13944
|
default: () => ["password"],
|
|
13694
13945
|
type: Array
|
|
13695
13946
|
},
|
|
13947
|
+
lifecycleActions: {
|
|
13948
|
+
default: false,
|
|
13949
|
+
type: Boolean
|
|
13950
|
+
},
|
|
13696
13951
|
preferences: {
|
|
13697
13952
|
default: void 0,
|
|
13698
13953
|
type: Object
|
|
@@ -13725,6 +13980,7 @@ const UserDetails = defineComponent({
|
|
|
13725
13980
|
}), { enabled: hasUserId });
|
|
13726
13981
|
const deletion = useResourceMutation_default((userId, fetcher) => deleteUser$1({
|
|
13727
13982
|
...endpoint,
|
|
13983
|
+
administrationMode: props.administrationMode,
|
|
13728
13984
|
fetcher,
|
|
13729
13985
|
userId
|
|
13730
13986
|
}), () => [[UserQueryKeys$1.USERS]], { onSuccess: () => emit("deleted") });
|
|
@@ -13734,17 +13990,27 @@ const UserDetails = defineComponent({
|
|
|
13734
13990
|
payload: data,
|
|
13735
13991
|
userId
|
|
13736
13992
|
}), ({ userId }) => [[UserQueryKeys$1.USER, userId], [UserQueryKeys$1.USERS]]);
|
|
13993
|
+
const lifecycle = useAccountLifecycle_default({
|
|
13994
|
+
enabled: () => props.lifecycleActions,
|
|
13995
|
+
invalidatedKeys: () => [[UserQueryKeys$1.USER, props.userId], [UserQueryKeys$1.USERS]],
|
|
13996
|
+
kind: "user",
|
|
13997
|
+
status: () => user.data.value?.status?.value,
|
|
13998
|
+
subject: () => props.userId
|
|
13999
|
+
});
|
|
13737
14000
|
return () => {
|
|
13738
14001
|
const current = user.data.value;
|
|
13739
14002
|
return h(BaseUserDetails_default, {
|
|
13740
14003
|
className: props.className,
|
|
13741
|
-
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"),
|
|
14004
|
+
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"),
|
|
13742
14005
|
groups: groups.data.value?.groups ?? [],
|
|
13743
14006
|
hiddenAttributes: props.hiddenAttributes,
|
|
13744
14007
|
isDeleting: deletion.isLoading.value,
|
|
13745
14008
|
isLoading: user.isLoading.value,
|
|
14009
|
+
isRunningLifecycleAction: lifecycle.isRunning.value,
|
|
13746
14010
|
isUpdating: update.isLoading.value,
|
|
14011
|
+
lifecycleActions: lifecycle.actions.value,
|
|
13747
14012
|
onDelete: props.deletable ? () => void deletion.mutate(props.userId) : void 0,
|
|
14013
|
+
onLifecycleAction: props.lifecycleActions ? lifecycle.run : void 0,
|
|
13748
14014
|
onUpdate: props.editable && current ? (attributes) => void update.mutate({
|
|
13749
14015
|
data: {
|
|
13750
14016
|
attributes,
|
|
@@ -14197,6 +14463,10 @@ var BaseGroupMembers_default = BaseGroupMembers;
|
|
|
14197
14463
|
const GroupMembers = defineComponent({
|
|
14198
14464
|
name: "GroupMembers",
|
|
14199
14465
|
props: {
|
|
14466
|
+
administrationMode: {
|
|
14467
|
+
default: void 0,
|
|
14468
|
+
type: String
|
|
14469
|
+
},
|
|
14200
14470
|
className: {
|
|
14201
14471
|
default: "",
|
|
14202
14472
|
type: String
|
|
@@ -14262,6 +14532,7 @@ const GroupMembers = defineComponent({
|
|
|
14262
14532
|
}), invalidatedByMembership);
|
|
14263
14533
|
const remove = useResourceMutation_default(({ groupId, members: removed }, fetcher) => removeGroupMembers$1({
|
|
14264
14534
|
...groupsEndpoint,
|
|
14535
|
+
administrationMode: props.administrationMode,
|
|
14265
14536
|
fetcher,
|
|
14266
14537
|
groupId,
|
|
14267
14538
|
members: removed
|
|
@@ -14682,6 +14953,10 @@ var BaseRoleAssignments_default = BaseRoleAssignments;
|
|
|
14682
14953
|
const RoleAssignments = defineComponent({
|
|
14683
14954
|
name: "RoleAssignments",
|
|
14684
14955
|
props: {
|
|
14956
|
+
administrationMode: {
|
|
14957
|
+
default: void 0,
|
|
14958
|
+
type: String
|
|
14959
|
+
},
|
|
14685
14960
|
className: {
|
|
14686
14961
|
default: "",
|
|
14687
14962
|
type: String
|
|
@@ -14756,6 +15031,7 @@ const RoleAssignments = defineComponent({
|
|
|
14756
15031
|
}), () => [[RoleQueryKeys$1.ROLE_ASSIGNMENTS]]);
|
|
14757
15032
|
const unassign = useResourceMutation_default(({ roleId, assignments: removed }, fetcher) => removeRoleAssignments$1({
|
|
14758
15033
|
...rolesEndpoint,
|
|
15034
|
+
administrationMode: props.administrationMode,
|
|
14759
15035
|
assignments: removed,
|
|
14760
15036
|
fetcher,
|
|
14761
15037
|
roleId
|
|
@@ -15254,10 +15530,22 @@ const BaseAgentDetails = defineComponent({
|
|
|
15254
15530
|
default: false,
|
|
15255
15531
|
type: Boolean
|
|
15256
15532
|
},
|
|
15533
|
+
isRunningLifecycleAction: {
|
|
15534
|
+
default: false,
|
|
15535
|
+
type: Boolean
|
|
15536
|
+
},
|
|
15537
|
+
lifecycleActions: {
|
|
15538
|
+
default: () => [],
|
|
15539
|
+
type: Array
|
|
15540
|
+
},
|
|
15257
15541
|
onDelete: {
|
|
15258
15542
|
default: void 0,
|
|
15259
15543
|
type: Function
|
|
15260
15544
|
},
|
|
15545
|
+
onLifecycleAction: {
|
|
15546
|
+
default: void 0,
|
|
15547
|
+
type: Function
|
|
15548
|
+
},
|
|
15261
15549
|
preferences: {
|
|
15262
15550
|
default: void 0,
|
|
15263
15551
|
type: Object
|
|
@@ -15278,7 +15566,10 @@ const BaseAgentDetails = defineComponent({
|
|
|
15278
15566
|
groups: props.groups,
|
|
15279
15567
|
isDeleting: props.isDeleting,
|
|
15280
15568
|
isLoading: props.isLoading,
|
|
15569
|
+
isRunningLifecycleAction: props.isRunningLifecycleAction,
|
|
15570
|
+
lifecycleActions: props.onLifecycleAction && agent ? props.lifecycleActions : [],
|
|
15281
15571
|
onDelete: agent && !agent.isReadOnly ? props.onDelete : void 0,
|
|
15572
|
+
onLifecycleAction: agent ? props.onLifecycleAction : void 0,
|
|
15282
15573
|
roles: props.roles
|
|
15283
15574
|
};
|
|
15284
15575
|
return h("div", { class: props.className }, slots["default"](renderProps));
|
|
@@ -15311,6 +15602,13 @@ const BaseAgentDetails = defineComponent({
|
|
|
15311
15602
|
value: agent.ouHandle ?? agent.ouId
|
|
15312
15603
|
}
|
|
15313
15604
|
];
|
|
15605
|
+
if (agent.status) details.push({
|
|
15606
|
+
label: t("admin.common.columns.status"),
|
|
15607
|
+
value: h(AccessStatusBadge_default, {
|
|
15608
|
+
status: agent.status.value,
|
|
15609
|
+
t
|
|
15610
|
+
})
|
|
15611
|
+
});
|
|
15314
15612
|
if (agent.clientId) details.push({
|
|
15315
15613
|
label: t("admin.agents.list.columns.client_id"),
|
|
15316
15614
|
value: h(CopyableText_default, { value: agent.clientId })
|
|
@@ -15321,12 +15619,23 @@ const BaseAgentDetails = defineComponent({
|
|
|
15321
15619
|
description: agent.description,
|
|
15322
15620
|
title: agent.name
|
|
15323
15621
|
}, {
|
|
15324
|
-
actions: () => [
|
|
15325
|
-
|
|
15326
|
-
|
|
15327
|
-
|
|
15328
|
-
|
|
15329
|
-
|
|
15622
|
+
actions: () => [
|
|
15623
|
+
slots["actions"]?.(),
|
|
15624
|
+
props.onLifecycleAction ? h(AccountLifecycleButtons_default, {
|
|
15625
|
+
actions: props.lifecycleActions,
|
|
15626
|
+
collectsOperatorNote: true,
|
|
15627
|
+
isRunning: props.isRunningLifecycleAction,
|
|
15628
|
+
name: agent.name,
|
|
15629
|
+
onAction: props.onLifecycleAction,
|
|
15630
|
+
t
|
|
15631
|
+
}) : null,
|
|
15632
|
+
props.onDelete && !agent.isReadOnly ? h(ConfirmButton_default, {
|
|
15633
|
+
confirmText: t("admin.agents.details.delete.confirm", { name: agent.name }),
|
|
15634
|
+
isLoading: props.isDeleting,
|
|
15635
|
+
onConfirm: props.onDelete,
|
|
15636
|
+
t
|
|
15637
|
+
}, { default: () => t("admin.agents.details.delete.action") }) : null
|
|
15638
|
+
],
|
|
15330
15639
|
default: () => [
|
|
15331
15640
|
props.error ? h(Alert_default, { severity: "error" }, { default: () => [props.error] }) : null,
|
|
15332
15641
|
h(Panel_default, { title: t("admin.agents.details.overview") }, { default: () => h(DetailList_default, { items: details }) }),
|
|
@@ -15381,6 +15690,10 @@ const AgentDetails = defineComponent({
|
|
|
15381
15690
|
default: false,
|
|
15382
15691
|
type: Boolean
|
|
15383
15692
|
},
|
|
15693
|
+
lifecycleActions: {
|
|
15694
|
+
default: false,
|
|
15695
|
+
type: Boolean
|
|
15696
|
+
},
|
|
15384
15697
|
preferences: {
|
|
15385
15698
|
default: void 0,
|
|
15386
15699
|
type: Object
|
|
@@ -15423,14 +15736,24 @@ const AgentDetails = defineComponent({
|
|
|
15423
15736
|
agentId,
|
|
15424
15737
|
fetcher
|
|
15425
15738
|
}), () => [[AgentQueryKeys$1.AGENTS]], { onSuccess: () => emit("deleted") });
|
|
15739
|
+
const lifecycle = useAccountLifecycle_default({
|
|
15740
|
+
enabled: () => props.lifecycleActions,
|
|
15741
|
+
invalidatedKeys: () => [[AgentQueryKeys$1.AGENT, props.agentId], [AgentQueryKeys$1.AGENTS]],
|
|
15742
|
+
kind: "agent",
|
|
15743
|
+
status: () => agent.data.value?.status?.value,
|
|
15744
|
+
subject: () => props.agentId
|
|
15745
|
+
});
|
|
15426
15746
|
return () => h(BaseAgentDetails_default, {
|
|
15427
15747
|
agent: agent.data.value,
|
|
15428
15748
|
className: props.className,
|
|
15429
|
-
error: toManagementErrorMessage(t, agent.error.value, "admin.agents.details.error") ?? toManagementErrorMessage(t, deletion.error.value, "admin.agents.details.delete.error"),
|
|
15749
|
+
error: toManagementErrorMessage(t, agent.error.value, "admin.agents.details.error") ?? toManagementErrorMessage(t, deletion.error.value, "admin.agents.details.delete.error") ?? toManagementErrorMessage(t, lifecycle.error.value, "admin.common.lifecycle.error") ?? toManagementErrorMessage(t, lifecycle.loadError.value, "admin.common.lifecycle.load_error"),
|
|
15430
15750
|
groups: groups.data.value?.groups ?? [],
|
|
15431
15751
|
isDeleting: deletion.isLoading.value,
|
|
15432
15752
|
isLoading: agent.isLoading.value,
|
|
15753
|
+
isRunningLifecycleAction: lifecycle.isRunning.value,
|
|
15754
|
+
lifecycleActions: lifecycle.actions.value,
|
|
15433
15755
|
onDelete: props.deletable ? () => void deletion.mutate(props.agentId) : void 0,
|
|
15756
|
+
onLifecycleAction: props.lifecycleActions ? lifecycle.run : void 0,
|
|
15434
15757
|
preferences: props.preferences,
|
|
15435
15758
|
roles: roles.data.value?.roles ?? []
|
|
15436
15759
|
}, { ...slots });
|
|
@@ -15877,14 +16200,26 @@ const BaseApplicationDetails = defineComponent({
|
|
|
15877
16200
|
default: false,
|
|
15878
16201
|
type: Boolean
|
|
15879
16202
|
},
|
|
16203
|
+
isRunningLifecycleAction: {
|
|
16204
|
+
default: false,
|
|
16205
|
+
type: Boolean
|
|
16206
|
+
},
|
|
15880
16207
|
isUpdating: {
|
|
15881
16208
|
default: false,
|
|
15882
16209
|
type: Boolean
|
|
15883
16210
|
},
|
|
16211
|
+
lifecycleActions: {
|
|
16212
|
+
default: () => [],
|
|
16213
|
+
type: Array
|
|
16214
|
+
},
|
|
15884
16215
|
onDelete: {
|
|
15885
16216
|
default: void 0,
|
|
15886
16217
|
type: Function
|
|
15887
16218
|
},
|
|
16219
|
+
onLifecycleAction: {
|
|
16220
|
+
default: void 0,
|
|
16221
|
+
type: Function
|
|
16222
|
+
},
|
|
15888
16223
|
onRegenerateSecret: {
|
|
15889
16224
|
default: void 0,
|
|
15890
16225
|
type: Function
|
|
@@ -15924,9 +16259,12 @@ const BaseApplicationDetails = defineComponent({
|
|
|
15924
16259
|
isDeleting: props.isDeleting,
|
|
15925
16260
|
isLoading: props.isLoading,
|
|
15926
16261
|
isRegeneratingSecret: props.isRegeneratingSecret,
|
|
16262
|
+
isRunningLifecycleAction: props.isRunningLifecycleAction,
|
|
15927
16263
|
isUpdating: props.isUpdating,
|
|
16264
|
+
lifecycleActions: props.onLifecycleAction && application ? props.lifecycleActions : [],
|
|
15928
16265
|
oauth,
|
|
15929
16266
|
onDelete: isWritable ? props.onDelete : void 0,
|
|
16267
|
+
onLifecycleAction: application ? props.onLifecycleAction : void 0,
|
|
15930
16268
|
onRegenerateSecret: canRegenerate ? props.onRegenerateSecret : void 0,
|
|
15931
16269
|
onSecretDismiss: props.clientSecret ? props.onSecretDismiss : void 0,
|
|
15932
16270
|
onUpdate: isWritable ? props.onUpdate : void 0
|
|
@@ -15970,6 +16308,13 @@ const BaseApplicationDetails = defineComponent({
|
|
|
15970
16308
|
value: application.logoUrl ?? notSet
|
|
15971
16309
|
}
|
|
15972
16310
|
];
|
|
16311
|
+
if (application.status?.value) overview.push({
|
|
16312
|
+
label: t("admin.common.columns.status"),
|
|
16313
|
+
value: h(AccessStatusBadge_default, {
|
|
16314
|
+
status: application.status.value,
|
|
16315
|
+
t
|
|
16316
|
+
})
|
|
16317
|
+
});
|
|
15973
16318
|
const renderEditForm = (current) => h(Panel_default, { title: t("admin.applications.details.edit.action") }, { default: () => h("form", {
|
|
15974
16319
|
class: cls("edit-form"),
|
|
15975
16320
|
novalidate: true,
|
|
@@ -16053,12 +16398,22 @@ const BaseApplicationDetails = defineComponent({
|
|
|
16053
16398
|
description: application.description,
|
|
16054
16399
|
title: application.name
|
|
16055
16400
|
}, {
|
|
16056
|
-
actions: () => [
|
|
16057
|
-
|
|
16058
|
-
|
|
16059
|
-
|
|
16060
|
-
|
|
16061
|
-
|
|
16401
|
+
actions: () => [
|
|
16402
|
+
slots["actions"]?.(),
|
|
16403
|
+
props.onLifecycleAction ? h(AccountLifecycleButtons_default, {
|
|
16404
|
+
actions: props.lifecycleActions,
|
|
16405
|
+
isRunning: props.isRunningLifecycleAction,
|
|
16406
|
+
name: application.name,
|
|
16407
|
+
onAction: props.onLifecycleAction,
|
|
16408
|
+
t
|
|
16409
|
+
}) : null,
|
|
16410
|
+
props.onDelete && isWritable ? h(ConfirmButton_default, {
|
|
16411
|
+
confirmText: t("admin.applications.details.delete.confirm", { name: application.name }),
|
|
16412
|
+
isLoading: props.isDeleting,
|
|
16413
|
+
onConfirm: props.onDelete,
|
|
16414
|
+
t
|
|
16415
|
+
}, { default: () => t("admin.applications.details.delete.action") }) : null
|
|
16416
|
+
],
|
|
16062
16417
|
default: () => [props.error ? h(Alert_default, { severity: "error" }, { default: () => [props.error] }) : null, ...draft.value ? [renderEditForm(draft.value)] : [h(Panel_default, { title: t("admin.applications.details.overview") }, {
|
|
16063
16418
|
actions: () => props.onUpdate && isWritable ? h(Button_default, {
|
|
16064
16419
|
onClick: () => {
|
|
@@ -16103,6 +16458,10 @@ var BaseApplicationDetails_default = BaseApplicationDetails;
|
|
|
16103
16458
|
const ApplicationDetails = defineComponent({
|
|
16104
16459
|
name: "ApplicationDetails",
|
|
16105
16460
|
props: {
|
|
16461
|
+
administrationMode: {
|
|
16462
|
+
default: void 0,
|
|
16463
|
+
type: String
|
|
16464
|
+
},
|
|
16106
16465
|
applicationId: {
|
|
16107
16466
|
required: true,
|
|
16108
16467
|
type: String
|
|
@@ -16119,6 +16478,10 @@ const ApplicationDetails = defineComponent({
|
|
|
16119
16478
|
default: false,
|
|
16120
16479
|
type: Boolean
|
|
16121
16480
|
},
|
|
16481
|
+
lifecycleActions: {
|
|
16482
|
+
default: false,
|
|
16483
|
+
type: Boolean
|
|
16484
|
+
},
|
|
16122
16485
|
preferences: {
|
|
16123
16486
|
default: void 0,
|
|
16124
16487
|
type: Object
|
|
@@ -16139,6 +16502,7 @@ const ApplicationDetails = defineComponent({
|
|
|
16139
16502
|
}), { enabled: () => Boolean(props.applicationId) });
|
|
16140
16503
|
const deletion = useResourceMutation_default((applicationId, fetcher) => deleteApplication$1({
|
|
16141
16504
|
...endpoint,
|
|
16505
|
+
administrationMode: props.administrationMode,
|
|
16142
16506
|
applicationId,
|
|
16143
16507
|
fetcher
|
|
16144
16508
|
}), () => [[ApplicationQueryKeys$1.APPLICATIONS]], { onSuccess: () => emit("deleted") });
|
|
@@ -16150,21 +16514,32 @@ const ApplicationDetails = defineComponent({
|
|
|
16150
16514
|
}), ({ application: current }) => [[ApplicationQueryKeys$1.APPLICATION, current.id], [ApplicationQueryKeys$1.APPLICATIONS]]);
|
|
16151
16515
|
const regeneration = useResourceMutation_default((applicationId, fetcher) => regenerateClientSecret$1({
|
|
16152
16516
|
...endpoint,
|
|
16517
|
+
administrationMode: props.administrationMode,
|
|
16153
16518
|
applicationId,
|
|
16154
16519
|
fetcher
|
|
16155
16520
|
}), (applicationId) => [[ApplicationQueryKeys$1.APPLICATION, applicationId], [ApplicationQueryKeys$1.APPLICATIONS]]);
|
|
16521
|
+
const lifecycle = useAccountLifecycle_default({
|
|
16522
|
+
enabled: () => props.lifecycleActions,
|
|
16523
|
+
invalidatedKeys: () => [[ApplicationQueryKeys$1.APPLICATION, props.applicationId], [ApplicationQueryKeys$1.APPLICATIONS]],
|
|
16524
|
+
kind: "application",
|
|
16525
|
+
status: () => application.data.value?.status?.value,
|
|
16526
|
+
subject: () => props.applicationId
|
|
16527
|
+
});
|
|
16156
16528
|
return () => {
|
|
16157
16529
|
const current = application.data.value;
|
|
16158
16530
|
return h(BaseApplicationDetails_default, {
|
|
16159
16531
|
application: current,
|
|
16160
16532
|
className: props.className,
|
|
16161
16533
|
clientSecret: regeneration.data.value?.clientSecret ?? null,
|
|
16162
|
-
error: toManagementErrorMessage(t, application.error.value, "admin.applications.details.error") ?? toManagementErrorMessage(t, deletion.error.value, "admin.applications.details.delete.error") ?? toManagementErrorMessage(t, update.error.value, "admin.applications.details.edit.error") ?? toManagementErrorMessage(t, regeneration.error.value, "admin.applications.details.secret.error"),
|
|
16534
|
+
error: toManagementErrorMessage(t, application.error.value, "admin.applications.details.error") ?? toManagementErrorMessage(t, deletion.error.value, "admin.applications.details.delete.error") ?? toManagementErrorMessage(t, update.error.value, "admin.applications.details.edit.error") ?? toManagementErrorMessage(t, regeneration.error.value, "admin.applications.details.secret.error") ?? toManagementErrorMessage(t, lifecycle.error.value, "admin.common.lifecycle.error") ?? toManagementErrorMessage(t, lifecycle.loadError.value, "admin.common.lifecycle.load_error"),
|
|
16163
16535
|
isDeleting: deletion.isLoading.value,
|
|
16164
16536
|
isLoading: application.isLoading.value,
|
|
16165
16537
|
isRegeneratingSecret: regeneration.isLoading.value,
|
|
16538
|
+
isRunningLifecycleAction: lifecycle.isRunning.value,
|
|
16166
16539
|
isUpdating: update.isLoading.value,
|
|
16540
|
+
lifecycleActions: lifecycle.actions.value,
|
|
16167
16541
|
onDelete: props.deletable ? () => void deletion.mutate(props.applicationId) : void 0,
|
|
16542
|
+
onLifecycleAction: props.lifecycleActions ? lifecycle.run : void 0,
|
|
16168
16543
|
onRegenerateSecret: props.secretRegenerable ? () => void regeneration.mutate(props.applicationId) : void 0,
|
|
16169
16544
|
onSecretDismiss: regeneration.reset,
|
|
16170
16545
|
onUpdate: props.editable && current ? (changes) => void update.mutate({
|
|
@@ -16314,4 +16689,4 @@ const createCallbackRoute = (options = {}) => {
|
|
|
16314
16689
|
};
|
|
16315
16690
|
|
|
16316
16691
|
//#endregion
|
|
16317
|
-
export { ADMINISTRATION_FLOW_TYPE, AcceptInvite_default as AcceptInvite, 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, 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, BaseGroupCreate_default as BaseGroupCreate, BaseGroupList_default as BaseGroupList, BaseGroupMembers_default as BaseGroupMembers, BaseInviteUser_default as BaseInviteUser, BaseLanguageSwitcher_default as BaseLanguageSwitcher, BaseRoleAssignments_default as BaseRoleAssignments, BaseRoleCreate_default as BaseRoleCreate, BaseRoleList_default as BaseRoleList, BaseRolePermissions_default as BaseRolePermissions, 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, 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, CopyableText_default as CopyableText, DEFAULT_USER_CREATE_FIELDS, DataTable_default as DataTable, DatePicker_default as DatePicker, Divider_default as Divider, EmbeddedFlowActionVariant, EmbeddedFlowComponentType, EmbeddedFlowEventType, EmbeddedFlowTextVariant, EmbeddedSignInFlowStatus, EmbeddedSignInFlowType, EmbeddedSignUpFlowStatus, EmbeddedSignUpFlowType, EyeIcon, EyeOffIcon, FLOW_KEY, FLOW_META_KEY, FacebookButton_default as FacebookButton, FieldFactory_default as FieldFactory, FieldType, FlowMetaProvider_default as FlowMetaProvider, FlowProvider_default as FlowProvider, GitHubButton_default as GitHubButton, GlobeIcon, GoogleButton_default as GoogleButton, GroupCreate_default as GroupCreate, 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, OtpField_default as OtpField, PasswordField_default as PasswordField, PencilIcon, PlusIcon, RoleAssignments_default as RoleAssignments, RoleCreate_default as RoleCreate, RoleList_default as RoleList, RolePermissions_default as RolePermissions, RoleQueryKeys, Select_default as Select, 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, XIcon, addGroupMembers, addRoleAssignments, applyGatewayConfiguration, buildThemeConfigFromFlowMeta_default as buildThemeConfigFromFlowMeta, createAction, createAgent, createAgentType, createApplication, createApplicationSharingPolicy, createCallbackRoute, createClassObserver, createConfigurationVersion, createConnection, createDesignTheme, createField, createFlow, createGateway, createGatewaySecret, createGatewayVariable, createGroup, createLayout, createMediaQueryListener, createNotificationTemplate, createOrganizationUnit, createResource, createResourceInvalidator, createResourceServer, createRole, createSecret, createThunderIDGuard, createUser, createUserByPath, createUserSharingPolicy, createUserType, createVariable, deleteAction, deleteAgent, deleteAgentType, deleteApplication, deleteApplicationSharingPolicy, deleteConnection, deleteDesignTheme, deleteFlow, deleteGateway, deleteGatewaySecret, deleteGatewayVariable, deleteGroup, deleteImportedConfiguration, deleteLayout, deleteNotificationTemplate, deleteOrganizationUnit, deleteOrganizationUnitByPath, deleteResource, deleteResourceServer, deleteRole, deleteSecret, deleteTranslation, deleteTranslations, deleteUser, deleteUserSharingPolicy, deleteUserType, deleteVariable, detectThemeMode, executeAdministrationFlow, exportConfiguration, extractErrorMessage, findAdministrationFlows, getAction, getActions, getActiveTheme, getAgent, getAgentGroups, getAgentRoles, getAgentType, getAgentTypes, getAgents, getApplication, getApplicationOverlayRules, getApplicationSharingPolicies, getApplicationSharingPolicy, getApplications, getAuthComponentHeadings_default as getAuthComponentHeadings, getConfigurationVersion, getConfigurationVersions, getConnection, getConnectionUsages, getConnections, getConnectionsMeta, getDesignTheme, getDesignThemeUsages, getDesignThemes, getFlow, getFlowUsages, getFlowVersion, getFlowVersions, getFlows, getGateway, getGatewayAppliedConfiguration, getGatewayAppliedVersion, getGatewayConfigurationDiff, getGatewaySecret, getGatewaySecrets, getGatewayVariable, getGatewayVariables, getGateways, getGroup, getGroupMembers, getGroups, getLanguages, getLayout, getLayoutUsages, getLayouts, getNotificationTemplate, getNotificationTemplates, getOrganizationUnit, getOrganizationUnitByPath, getOrganizationUnitChildren, getOrganizationUnitGroups, getOrganizationUnitRoles, getOrganizationUnitUsers, getOrganizationUnits, getResource, getResourceServer, getResourceServers, getResources, getRole, getRoleAssignments, getRoles, getSecret, getSecrets, getServerConfig, getServerConfigs, getTokenPermissions, getUser, getUserGroups, getUserOverlayRules, getUserSharingPolicies, getUserSharingPolicy, getUserType, getUserTypes, getUserUsages, getUsers, getUsersByPath, getUsersMeMeta_default as getUsersMeMeta, getVariable, getVariables, handlePasskeyAuthentication, handlePasskeyRegistration, handleWebAuthnAuthentication, hasAuthParamsInUrl, hasPermission, http, importConfiguration, initiateOAuthRedirect, navigate, normalizeFlowResponse, parseKeyValuePairs, previewCimdDocument, regenerateAgentSecret, regenerateClientSecret, regenerateFlowSecret, removeGroupMembers, removeRoleAssignments, resolveAdministrationFlowHandles, resolveAdministrationFlowId, resolveAdministrationFlows, resolveDesign, resolveTranslation, resolveTranslations, restoreFlowVersion, revertGatewayConfiguration, runAdministrationFlow, setTranslation, setTranslations, suspendAgent, suspendApplication, suspendUser, unlockAgent, unlockUser, unsuspendAgent, unsuspendApplication, unsuspendUser, updateAction, updateAgent, updateAgentType, updateApplication, updateApplicationSharingPolicy, updateConnection, updateDesignTheme, updateFlow, updateGateway, updateGatewaySecret, updateGatewayVariable, updateGroup, updateLayout, updateNotificationTemplate, updateOrganizationUnit, updateOrganizationUnitByPath, updateResource, updateResourceServer, updateRole, updateSecret, updateServerConfig, updateUser, updateUserCredentials, updateUserSharingPolicy, updateUserType, updateVariable, useFetchAuthFlows_default as useFetchAuthFlows, useFetchUserTypes_default as useFetchUserTypes, useFetchUsers_default as useFetchUsers, useFlow_default as useFlow, 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 };
|
|
16692
|
+
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, 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, BaseGroupCreate_default as BaseGroupCreate, BaseGroupList_default as BaseGroupList, BaseGroupMembers_default as BaseGroupMembers, BaseInviteUser_default as BaseInviteUser, BaseLanguageSwitcher_default as BaseLanguageSwitcher, BaseRoleAssignments_default as BaseRoleAssignments, BaseRoleCreate_default as BaseRoleCreate, BaseRoleList_default as BaseRoleList, BaseRolePermissions_default as BaseRolePermissions, 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, 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, CopyableText_default as CopyableText, DEFAULT_USER_CREATE_FIELDS, DataTable_default as DataTable, DatePicker_default as DatePicker, Divider_default as Divider, EmbeddedFlowActionVariant, EmbeddedFlowComponentType, EmbeddedFlowEventType, EmbeddedFlowTextVariant, EmbeddedSignInFlowStatus, EmbeddedSignInFlowType, EmbeddedSignUpFlowStatus, EmbeddedSignUpFlowType, EyeIcon, EyeOffIcon, FLOW_KEY, FLOW_META_KEY, FacebookButton_default as FacebookButton, FieldFactory_default as FieldFactory, FieldType, FlowMetaProvider_default as FlowMetaProvider, FlowProvider_default as FlowProvider, GitHubButton_default as GitHubButton, GlobeIcon, GoogleButton_default as GoogleButton, GroupCreate_default as GroupCreate, 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, OtpField_default as OtpField, PasswordField_default as PasswordField, PencilIcon, PlusIcon, RoleAssignments_default as RoleAssignments, RoleCreate_default as RoleCreate, RoleList_default as RoleList, RolePermissions_default as RolePermissions, RoleQueryKeys, Select_default as Select, 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, XIcon, addGroupMembers, addRoleAssignments, applyGatewayConfiguration, buildThemeConfigFromFlowMeta_default as buildThemeConfigFromFlowMeta, createAction, createAgent, createAgentType, createApplication, createApplicationSharingPolicy, createCallbackRoute, createClassObserver, createConfigurationVersion, createConnection, createDesignTheme, createField, createFlow, createGateway, createGatewaySecret, createGatewayVariable, createGroup, createLayout, createMediaQueryListener, createNotificationTemplate, createOrganizationUnit, createResource, createResourceInvalidator, createResourceServer, createRole, createSecret, createThunderIDGuard, createUser, createUserByPath, createUserSharingPolicy, createUserType, createVariable, deleteAction, deleteAgent, deleteAgentType, deleteApplication, deleteApplicationSharingPolicy, deleteConnection, deleteDesignTheme, deleteFlow, deleteGateway, deleteGatewaySecret, deleteGatewayVariable, deleteGroup, deleteImportedConfiguration, deleteLayout, deleteNotificationTemplate, deleteOrganizationUnit, deleteOrganizationUnitByPath, deleteResource, deleteResourceServer, deleteRole, deleteSecret, deleteTranslation, deleteTranslations, deleteUser, deleteUserSharingPolicy, deleteUserType, deleteVariable, detectThemeMode, executeAdministrationFlow, exportConfiguration, extractErrorMessage, findAdministrationFlows, getAccountLifecycleActions, getAction, getActions, getActiveTheme, getAgent, getAgentGroups, getAgentRoles, getAgentType, getAgentTypes, getAgents, getApplication, getApplicationOverlayRules, getApplicationSharingPolicies, getApplicationSharingPolicy, getApplications, getAuthComponentHeadings_default as getAuthComponentHeadings, getConfigurationVersion, getConfigurationVersions, getConnection, getConnectionUsages, getConnections, getConnectionsMeta, getDesignTheme, getDesignThemeUsages, getDesignThemes, getFlow, getFlowUsages, getFlowVersion, getFlowVersions, getFlows, getGateway, getGatewayAppliedConfiguration, getGatewayAppliedVersion, getGatewayConfigurationDiff, getGatewaySecret, getGatewaySecrets, getGatewayVariable, getGatewayVariables, getGateways, getGroup, getGroupMembers, getGroups, getLanguages, getLayout, getLayoutUsages, getLayouts, getNotificationTemplate, getNotificationTemplates, getOrganizationUnit, getOrganizationUnitByPath, getOrganizationUnitChildren, getOrganizationUnitGroups, getOrganizationUnitRoles, getOrganizationUnitUsers, getOrganizationUnits, getResource, getResourceServer, getResourceServers, getResources, getRole, getRoleAssignments, getRoles, getSecret, getSecrets, getServerConfig, getServerConfigs, getTokenPermissions, getUser, getUserGroups, getUserOverlayRules, getUserSharingPolicies, getUserSharingPolicy, getUserType, getUserTypes, getUserUsages, getUsers, getUsersByPath, getUsersMeMeta_default as getUsersMeMeta, getVariable, getVariables, handlePasskeyAuthentication, handlePasskeyRegistration, handleWebAuthnAuthentication, hasAuthParamsInUrl, hasPermission, http, importConfiguration, initiateOAuthRedirect, navigate, normalizeFlowResponse, parseKeyValuePairs, previewCimdDocument, regenerateAgentSecret, regenerateClientSecret, regenerateFlowSecret, 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, updateConnection, updateDesignTheme, updateFlow, updateGateway, updateGatewaySecret, updateGatewayVariable, updateGroup, updateLayout, updateNotificationTemplate, updateOrganizationUnit, updateOrganizationUnitByPath, updateResource, updateResourceServer, updateRole, updateSecret, updateServerConfig, updateUser, updateUserCredentials, updateUserSharingPolicy, updateUserType, updateVariable, useFetchAuthFlows_default as useFetchAuthFlows, useFetchUserTypes_default as useFetchUserTypes, useFetchUsers_default as useFetchUsers, useFlow_default as useFlow, 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 };
|