import wn from '../../../../../node_modules/preact/compat/dist/compat.module.mjs';
import { FlexBox } from '../shared/components/FlexBox.mjs';
import { SettingsContainer } from '../components/SettingsContainer.mjs';
import { Typography } from '../components/Typography.mjs';
import { DangerZoneSection } from './SCIMConnectionDangerZoneSection.mjs';
import { DetailsSection } from './SCIMConnectionDetailsSection.mjs';
import { RoleAssignmentsSection } from './SCIMConnectionRoleAssignmentsSection.mjs';
import { TokenRotationSection } from './SCIMConnectionTokenRotationSection.mjs';
import { useScimRouterController } from './SCIMRouter.mjs';

const SCIMConnectionDetailsScreen = ({ connection })=>{
    const { useBlockNavigation } = useScimRouterController();
    return /*#__PURE__*/ wn.createElement(FlexBox, {
        gap: 3,
        flexDirection: "column"
    }, /*#__PURE__*/ wn.createElement(Typography, {
        variant: "h1"
    }, "SCIM"), /*#__PURE__*/ wn.createElement(SettingsContainer, {
        title: "Details",
        hasCTA: false,
        useBlockNavigation: useBlockNavigation
    }, /*#__PURE__*/ wn.createElement(DetailsSection, {
        connection: connection
    })), /*#__PURE__*/ wn.createElement(RoleAssignmentsSection, {
        connection: connection,
        useBlockNavigation: useBlockNavigation
    }), /*#__PURE__*/ wn.createElement(SettingsContainer, {
        title: "Token Rotation",
        hasCTA: false,
        useBlockNavigation: useBlockNavigation
    }, /*#__PURE__*/ wn.createElement(TokenRotationSection, {
        connection: connection
    })), /*#__PURE__*/ wn.createElement(DangerZoneSection, {
        connection: connection
    }));
};

export { SCIMConnectionDetailsScreen };
//# sourceMappingURL=SCIMConnectionDetailsScreen.mjs.map
