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ACA,iBAAcymZ,CAAWrzS,GACrB,OAAKA,EAIYA,EAAKlrD,QAAQ,IAAIkoB,OAAO,WAAY,KAAM,IAHhDgjC,CAKf,CACA,6BAAc0hF,CAAuBzxL,GAEjC,OADkBsI,KAAKk0uB,aAAax8uB,GACjB,OAAS,OAChC,CACA,mBAAcw8uB,CAAax8uB,GACvB,GAAqB,kBAAVA,EACP,OAAOA,EAEN,IAAKA,EACN,OAAO,EAEX,OAAQA,EAAM0xF,OAAOisO,qBACjB,IAAK,OACD,OAAO,EACX,IAAK,QACD,OAAO,EAEf,OAAO,CACX,CACA,sBAAcnsI,CAAgBxxL,GAC1B,MAAO,2BAA2B6xB,KAAK7xB,EAC3C,E,WApCcksD,c,EADGD,G,iCACQ,M,iDAAA,K,gDCA7B,Q,SAA2BA,C,gDCDpB,MAAMkd,EAAsBC,KAKxBA,QAAmBjsE,C,wECCvB,SAASwe,EAA0B8guB,GACtC,MAAMt+uB,EAAW,IAAIod,IAAJ,CAAQkhuB,GACnBzxsB,EAAW7sC,EAASugR,UACR6mJ,EAAKv6X,GAaRp/B,QAAQ,MAAQ,GAZ3Bo/B,EAASymE,MAEU,QAAnB8zT,EAAKv6X,IACLA,EAASymE,MAEb,MAAMtsF,EAAO,GAAGhnB,EAASu+uB,YAAY1xsB,EAAS8lD,KAAK,OACnD,MAAsB,MAAfy0U,EAAKpgZ,GAAgBA,EAAO,GAAGA,IAC1C,CACA,SAASogZ,EAAQxwZ,GACb,OAAOA,EAAOA,EAAOpY,OAAS,EAClC,C","sources":["webpack://@octopusdeploy/octopus-deploy-portal/./app/components/ContextualHelpLayout/PageHelpRegistry/Registrations/ sync Registration\\.(ts%7Ctsx)$","webpack://@octopusdeploy/octopus-deploy-portal/./app/components/GettingStarted/WelcomeSlides/ sync ^\\.\\/slide1\\-welcomeoctopus.*\\.svg$","webpack://@octopusdeploy/octopus-deploy-portal/./app/components/GettingStarted/WelcomeSlides/ sync ^\\.\\/slide2\\-environments.*\\.svg$","webpack://@octopusdeploy/octopus-deploy-portal/./app/components/GettingStarted/WelcomeSlides/ sync ^\\.\\/slide3\\-package.*\\.svg$","webpack://@octopusdeploy/octopus-deploy-portal/./app/components/GettingStarted/WelcomeSlides/ sync ^\\.\\/slide4\\-steps.*\\.svg$","webpack://@octopusdeploy/octopus-deploy-portal/./app/components/GettingStarted/WelcomeSlides/ sync ^\\.\\/slide5\\-release.*\\.svg$","webpack://@octopusdeploy/octopus-deploy-portal/./app/stepPackages/importFromDynamicExpression.js","webpack://@octopusdeploy/octopus-deploy-portal/./app/ sync \\.png$","webpack://@octopusdeploy/octopus-deploy-portal/./app/ sync \\.svg$","webpack://@octopusdeploy/octopus-deploy-portal/./app/areas/authentication/Register/style.module.less?f118","webpack://@octopusdeploy/octopus-deploy-portal/./app/areas/authentication/SignIn/style.module.less?42ff","webpack://@octopusdeploy/octopus-deploy-portal/./app/areas/authentication/SignOut/style.module.less?882d","webpack://@octopusdeploy/octopus-deploy-portal/./app/areas/configuration/components/AuditLayout/AuditStream/AuditStreamCategory.module.less?4684","webpack://@octopusdeploy/octopus-deploy-portal/./app/areas/configuration/components/AuditLayout/AuditStream/style.module.less?92b9","webpack://@octopusdeploy/octopus-deploy-portal/./app/areas/configuration/components/AuditLayout/style.module.less?3828","webpack://@octopusdeploy/octopus-deploy-portal/./app/areas/configuration/components/Diagnostics/Logs/style.module.less?b14a","webpack://@octopusdeploy/octopus-deploy-portal/./app/areas/configuration/components/FeaturesLayout/TriggerSyncTask.module.less?aeeb","webpack://@octopusdeploy/octopus-deploy-portal/./app/areas/configuration/components/Git/style.module.less?c08e","webpack://@octopusdeploy/octopus-deploy-portal/./app/areas/configuration/components/License/style.module.less?a384","webpack://@octopusdeploy/octopus-deploy-portal/./app/areas/configuration/components/LicenseUsage/style.module.less?b337","webpack://@octopusdeploy/octopus-deploy-portal/./app/areas/configuration/components/Nodes/style.module.less?0d51","webpack://@octopusdeploy/octopus-deploy-portal/./app/areas/configuration/components/ProjectedTeamsList/ProjectedTeamsList.module.less?28c4","webpack://@octopusdeploy/octopus-deploy-portal/./app/areas/configuration/components/Roles/style.module.less?7d26","webpack://@octopusdeploy/octopus-deploy-portal/./app/areas/configuration/components/Smtp/style.module.less","webpack://@octopusdeploy/octopus-deploy-portal/./app/areas/configuration/components/Spaces/style.module.less?3791","webpack://@octopusdeploy/octopus-deploy-portal/./app/areas/configuration/components/Subscriptions/style.module.less?daf5","webpack://@octopusdeploy/octopus-deploy-portal/./app/areas/configuration/components/Teams/EditTeamPageStyle.module.less?8512","webpack://@octopusdeploy/octopus-deploy-portal/./app/areas/configuration/components/Teams/MemberRow.module.less?1966","webpack://@octopusdeploy/octopus-deploy-portal/./app/areas/configuration/components/Teams/ScopedUserRoleGroupExpander/style.module.less?da24","webpack://@octopusdeploy/octopus-deploy-portal/./app/areas/configuration/components/Teams/ScopedUserRolesExpandersList/style.module.less?6bf7","webpack://@octopusdeploy/octopus-deploy-portal/./app/areas/configuration/components/Teams/style.module.less?b76a","webpack://@octopusdeploy/octopus-deploy-portal/./app/areas/configuration/components/Telemetry/style.module.less?d5bb","webpack://@octopusdeploy/octopus-deploy-portal/./app/areas/configuration/components/Users/style.module.less?b5fd","webpack://@octopusdeploy/octopus-deploy-portal/./app/areas/infrastructure/components/AccountEdit/style.module.less?23c5","webpack://@octopusdeploy/octopus-deploy-portal/./app/areas/infrastructure/components/AccountsLayout/style.module.less?4e38","webpack://@octopusdeploy/octopus-deploy-portal/./app/areas/infrastructure/components/BaseMachinesSummary/style.module.less?8aeb","webpack://@octopusdeploy/octopus-deploy-portal/./app/areas/infrastructure/components/EnvironmentsLayout/style.module.less?feca","webpack://@octopusdeploy/octopus-deploy-portal/./app/areas/infrastructure/components/InfrastructureDashboard/HealthStatusCard/HealthStatusContentIconContainer.module.less?e281","webpack://@octopusdeploy/octopus-deploy-portal/./app/areas/infrastructure/components/InfrastructureDashboard/style.module.less?7621","webpack://@octopusdeploy/octopus-deploy-portal/./app/areas/infrastructure/components/LoadingScreen/style.module.less?eac5","webpack://@octopusdeploy/octopus-deploy-portal/./app/areas/infrastructure/components/MachineHealthStatusIcons/styles.module.less?0f68","webpack://@octopusdeploy/octopus-deploy-portal/./app/areas/infrastructure/components/MachineHealthSummaryLink/styles.module.less?34cb","webpack://@octopusdeploy/octopus-deploy-portal/./app/areas/infrastructure/components/MachinePolicySummary/style.module.less?0c1f","webpack://@octopusdeploy/octopus-deploy-portal/./app/areas/infrastructure/components/MachineRow/style.module.less?c974","webpack://@octopusdeploy/octopus-deploy-portal/./app/areas/infrastructure/components/MachineSettings/Endpoints/EndpointCard.module.less?d44d","webpack://@octopusdeploy/octopus-deploy-portal/./app/areas/infrastructure/components/MachineSettings/Endpoints/EndpointSelector.module.less?ac3d","webpack://@octopusdeploy/octopus-deploy-portal/./app/areas/infrastructure/components/MachineSettings/Endpoints/styles.module.less?5efa","webpack://@octopusdeploy/octopus-deploy-portal/./app/areas/infrastructure/components/MachinesLayout/style.module.less?afe8","webpack://@octopusdeploy/octopus-deploy-portal/./app/areas/infrastructure/components/WorkerPools/WorkerPoolsLayout/style.module.less?7b6e","webpack://@octopusdeploy/octopus-deploy-portal/./app/areas/insights/components/ChartTooltips/InsightsTooltip/styles.module.less?4427","webpack://@octopusdeploy/octopus-deploy-portal/./app/areas/insights/components/ChartTooltips/TooltipBase/styles.module.less?9b52","webpack://@octopusdeploy/octopus-deploy-portal/./app/areas/insights/components/Charts/style.module.less?1422","webpack://@octopusdeploy/octopus-deploy-portal/./app/areas/insights/components/InsightsChartCard.module.less?703b","webpack://@octopusdeploy/octopus-deploy-portal/./app/areas/insights/components/Reports/ReportList/style.module.less?47fd","webpack://@octopusdeploy/octopus-deploy-portal/./app/areas/insights/components/Reports/ReportOverview/styles.module.less?d27d","webpack://@octopusdeploy/octopus-deploy-portal/./app/areas/insights/components/Reports/TrendIndicator/styles.module.less?f69f","webpack://@octopusdeploy/octopus-deploy-portal/./app/areas/insights/components/Reports/TrendTables/SparklineTrendPair/SparklineTrendPair.module.less?5df6","webpack://@octopusdeploy/octopus-deploy-portal/./app/areas/insights/components/Reports/TrendTables/TrendTable/styles.module.less?7348","webpack://@octopusdeploy/octopus-deploy-portal/./app/areas/insights/components/Reports/TrendTables/TrendTables.module.less?2fa4","webpack://@octopusdeploy/octopus-deploy-portal/./app/areas/library/components/ActionTemplates/style.module.less?adcf","webpack://@octopusdeploy/octopus-deploy-portal/./app/areas/library/components/BuildInformation/style.module.less?c4b1","webpack://@octopusdeploy/octopus-deploy-portal/./app/areas/library/components/BuiltInRepository/PackagingOnboarding/PackagingInstructionSelector.module.less?1296","webpack://@octopusdeploy/octopus-deploy-portal/./app/areas/library/components/BuiltInRepository/PackagingOnboarding/Registrations/Registrations.module.less?7f0b","webpack://@octopusdeploy/octopus-deploy-portal/./app/areas/library/components/BuiltInRepository/style.module.less?37ae","webpack://@octopusdeploy/octopus-deploy-portal/./app/areas/library/components/Certificates/Certificate/style.module.less?72e1","webpack://@octopusdeploy/octopus-deploy-portal/./app/areas/library/components/ExternalFeeds/feedteststyle.module.less?55b3","webpack://@octopusdeploy/octopus-deploy-portal/./app/areas/library/components/Lifecycle/ChangePhaseProgression/style.module.less?56cf","webpack://@octopusdeploy/octopus-deploy-portal/./app/areas/library/components/Lifecycle/Lifecycle/style.module.less?e768","webpack://@octopusdeploy/octopus-deploy-portal/./app/areas/library/components/Lifecycle/LifecycleMap/style.module.less?db5a","webpack://@octopusdeploy/octopus-deploy-portal/./app/areas/library/components/Lifecycle/Phase/style.module.less?5d83","webpack://@octopusdeploy/octopus-deploy-portal/./app/areas/library/components/Lifecycle/RetentionPolicy/style.module.less?9a74","webpack://@octopusdeploy/octopus-deploy-portal/./app/areas/library/components/TagSets/TagListEdit/style.module.less?b4e4","webpack://@octopusdeploy/octopus-deploy-portal/./app/areas/library/components/TagSets/style.module.less?f3b4","webpack://@octopusdeploy/octopus-deploy-portal/./app/areas/projects/components/Channels/RulesTester/style.module.less?2ce3","webpack://@octopusdeploy/octopus-deploy-portal/./app/areas/projects/components/Channels/style.module.less?94a3","webpack://@octopusdeploy/octopus-deploy-portal/./app/areas/projects/components/CloudConnection/styles.module.less?5444","webpack://@octopusdeploy/octopus-deploy-portal/./app/areas/projects/components/DashboardDataSource/style.module.less?dcc1","webpack://@octopusdeploy/octopus-deploy-portal/./app/areas/projects/components/DeploymentsOverview/releaseFilter.module.less?0427","webpack://@octopusdeploy/octopus-deploy-portal/./app/areas/projects/components/DeploymentsOverview/style.module.less?38c4","webpack://@octopusdeploy/octopus-deploy-portal/./app/areas/projects/components/FeatureToggles/style.module.less?1c54","webpack://@octopusdeploy/octopus-deploy-portal/./app/areas/projects/components/GitRefDropDown/style.module.less?8a0a","webpack://@octopusdeploy/octopus-deploy-portal/./app/areas/projects/components/ImportExport/style.module.less?8560","webpack://@octopusdeploy/octopus-deploy-portal/./app/areas/projects/components/Process/ActionTemplateSelector/InstalledActionTemplateList.module.less?1f2c","webpack://@octopusdeploy/octopus-deploy-portal/./app/areas/projects/components/Process/ActionTemplateSelector/style.module.less?56b8","webpack://@octopusdeploy/octopus-deploy-portal/./app/areas/projects/components/Process/Common/style.module.less?2611","webpack://@octopusdeploy/octopus-deploy-portal/./app/areas/projects/components/Process/Contexts/DeploymentProcessUpload/style.module.less?b06b","webpack://@octopusdeploy/octopus-deploy-portal/./app/areas/projects/components/Process/ErrorIndicators/ProcessActionErrorIndicator.module.less?5d04","webpack://@octopusdeploy/octopus-deploy-portal/./app/areas/projects/components/Process/ListItems/ProcessListItem.module.less?ee18","webpack://@octopusdeploy/octopus-deploy-portal/./app/areas/projects/components/Process/ListItems/ProcessListItemForSidebar.module.less?9a01","webpack://@octopusdeploy/octopus-deploy-portal/./app/areas/projects/components/Process/ProcessParentStepDetails.module.less?1e73","webpack://@octopusdeploy/octopus-deploy-portal/./app/areas/projects/components/Process/ProcessSidebarLayout.module.less?4f32","webpack://@octopusdeploy/octopus-deploy-portal/./app/areas/projects/components/Process/StepPackageVersioning/ChangeVersionDialog.module.less?6ef4","webpack://@octopusdeploy/octopus-deploy-portal/./app/areas/projects/components/Process/StepPackageVersioning/StepPackageInfoDialog.module.less?900d","webpack://@octopusdeploy/octopus-deploy-portal/./app/areas/projects/components/Process/StepPackageVersioning/style.module.less?b9fd","webpack://@octopusdeploy/octopus-deploy-portal/./app/areas/projects/components/Process/style.module.less?50d9","webpack://@octopusdeploy/octopus-deploy-portal/./app/areas/projects/components/ProjectDashboard/DashboardCell/style.module.less?d24d","webpack://@octopusdeploy/octopus-deploy-portal/./app/areas/projects/components/ProjectDashboard/style.module.less?2e59","webpack://@octopusdeploy/octopus-deploy-portal/./app/areas/projects/components/ProjectGroupLayout/style.module.less?6d6c","webpack://@octopusdeploy/octopus-deploy-portal/./app/areas/projects/components/ProjectInsights/ProjectInsightsDataLoader/ProjectInsightsDataLoader.module.less?d6a3","webpack://@octopusdeploy/octopus-deploy-portal/./app/areas/projects/components/ProjectInsights/ProjectInsightsDeploymentDuration/ProjectInsightsDeploymentDuration.module.less?2f46","webpack://@octopusdeploy/octopus-deploy-portal/./app/areas/projects/components/ProjectInsights/ProjectInsightsFailureRate/ProjectInsightsFailureRate.module.less?2b6e","webpack://@octopusdeploy/octopus-deploy-portal/./app/areas/projects/components/ProjectInsights/ProjectInsightsFrequency/ProjectInsightsFrequency.module.less?4a57","webpack://@octopusdeploy/octopus-deploy-portal/./app/areas/projects/components/ProjectInsights/ProjectInsightsLeadTime/ProjectInsightsLeadTime.module.less?a23b","webpack://@octopusdeploy/octopus-deploy-portal/./app/areas/projects/components/ProjectInsights/ProjectInsightsOverview/ProjectInsightsOverview.module.less?17e2","webpack://@octopusdeploy/octopus-deploy-portal/./app/areas/projects/components/ProjectInsights/ProjectInsightsTimeToRecovery/ProjectInsightsTimeToRecovery.module.less?b527","webpack://@octopusdeploy/octopus-deploy-portal/./app/areas/projects/components/ProjectLayout/style.module.less?866f","webpack://@octopusdeploy/octopus-deploy-portal/./app/areas/projects/components/ProjectSettings/VersionControl/style.module.less?630d","webpack://@octopusdeploy/octopus-deploy-portal/./app/areas/projects/components/Releases/DeployButton/DeployButton.module.less?1f6e","webpack://@octopusdeploy/octopus-deploy-portal/./app/areas/projects/components/Releases/Deployments/DeploymentResults/style.module.less?2049","webpack://@octopusdeploy/octopus-deploy-portal/./app/areas/projects/components/Releases/Deployments/EnvironmentAndTenantSelector/style.module.less?2778","webpack://@octopusdeploy/octopus-deploy-portal/./app/areas/projects/components/Releases/Deployments/NowOrLater/DatePicker/style.module.less?a023","webpack://@octopusdeploy/octopus-deploy-portal/./app/areas/projects/components/Releases/Deployments/NowOrLater/TimePicker/style.module.less?ab9f","webpack://@octopusdeploy/octopus-deploy-portal/./app/areas/projects/components/Releases/Deployments/NowOrLater/style.module.less?ea92","webpack://@octopusdeploy/octopus-deploy-portal/./app/areas/projects/components/Releases/Deployments/style.module.less?e997","webpack://@octopusdeploy/octopus-deploy-portal/./app/areas/projects/components/Releases/Edit/style.module.less?19f9","webpack://@octopusdeploy/octopus-deploy-portal/./app/areas/projects/components/Releases/GitResources/style.module.less?2843","webpack://@octopusdeploy/octopus-deploy-portal/./app/areas/projects/components/Releases/LifecycleProgression/style.module.less?50da","webpack://@octopusdeploy/octopus-deploy-portal/./app/areas/projects/components/Releases/PackageListDialog/style.module.less?000b","webpack://@octopusdeploy/octopus-deploy-portal/./app/areas/projects/components/Releases/PackagesList/style.module.less?95af","webpack://@octopusdeploy/octopus-deploy-portal/./app/areas/projects/components/Releases/UpdateVariables/style.module.less?a7c6","webpack://@octopusdeploy/octopus-deploy-portal/./app/areas/projects/components/Releases/style.module.less?3120","webpack://@octopusdeploy/octopus-deploy-portal/./app/areas/projects/components/Runbooks/LastPublishedChip.module.less?002c","webpack://@octopusdeploy/octopus-deploy-portal/./app/areas/projects/components/Runbooks/OperationsOverviewPage.module.less?840e","webpack://@octopusdeploy/octopus-deploy-portal/./app/areas/projects/components/Runbooks/PublishButton.module.less?2560","webpack://@octopusdeploy/octopus-deploy-portal/./app/areas/projects/components/Runbooks/RunbookOverviewLayout.module.less?deaf","webpack://@octopusdeploy/octopus-deploy-portal/./app/areas/projects/components/Runbooks/RunbookRunNowLayout.module.less?7ee9","webpack://@octopusdeploy/octopus-deploy-portal/./app/areas/projects/components/Runbooks/RunbookSnapshots/RunbookSnapshotEditPage.module.less?97b1","webpack://@octopusdeploy/octopus-deploy-portal/./app/areas/projects/components/Runbooks/RunbookSnapshots/RunbookSnapshotInfoPage.module.less?bff8","webpack://@octopusdeploy/octopus-deploy-portal/./app/areas/projects/components/Runbooks/RunbookTaskStatusDetails/style.module.less?8276","webpack://@octopusdeploy/octopus-deploy-portal/./app/areas/projects/components/Runbooks/migrations/style.module.less?f72c","webpack://@octopusdeploy/octopus-deploy-portal/./app/areas/projects/components/ScriptModules/ScriptModulesPreview.module.less?77c0","webpack://@octopusdeploy/octopus-deploy-portal/./app/areas/projects/components/TaskStatusIcon/style.module.less?fd53","webpack://@octopusdeploy/octopus-deploy-portal/./app/areas/projects/components/Triggers/Scheduled/style.module.less?1c0f","webpack://@octopusdeploy/octopus-deploy-portal/./app/areas/projects/components/Triggers/style.module.less?dd61","webpack://@octopusdeploy/octopus-deploy-portal/./app/areas/projects/components/Variables/LibraryVariableSets/style.module.less?1c94","webpack://@octopusdeploy/octopus-deploy-portal/./app/areas/projects/components/Variables/ProjectVariables/MigrateProjectVariablesToGit/style.module.less?5a32","webpack://@octopusdeploy/octopus-deploy-portal/./app/areas/projects/components/Variables/TenantVariables/templateName.module.less?08d0","webpack://@octopusdeploy/octopus-deploy-portal/./app/areas/projects/components/Variables/VariablePreview/style.module.less?0d5f","webpack://@octopusdeploy/octopus-deploy-portal/./app/areas/tasks/components/RawLog/style.module.less?03c6","webpack://@octopusdeploy/octopus-deploy-portal/./app/areas/tasks/components/Task/Artifacts/style.module.less?d15d","webpack://@octopusdeploy/octopus-deploy-portal/./app/areas/tasks/components/Task/Interruption/style.module.less?d6a3","webpack://@octopusdeploy/octopus-deploy-portal/./app/areas/tasks/components/Task/K8sStatus/style.module.less?f976","webpack://@octopusdeploy/octopus-deploy-portal/./app/areas/tasks/components/Task/TaskLog/style.module.less?39e4","webpack://@octopusdeploy/octopus-deploy-portal/./app/areas/tasks/components/Task/TaskSummary/style.module.less?4041","webpack://@octopusdeploy/octopus-deploy-portal/./app/areas/tasks/components/Task/history.module.less?260d","webpack://@octopusdeploy/octopus-deploy-portal/./app/areas/tasks/components/Task/taskqueue.module.less?6ea1","webpack://@octopusdeploy/octopus-deploy-portal/./app/areas/tenants/TenantOverview/style.module.less?dc38","webpack://@octopusdeploy/octopus-deploy-portal/./app/areas/tenants/TenantVariables/style.module.less?b1e1","webpack://@octopusdeploy/octopus-deploy-portal/./app/areas/tenants/components/Paging/style.module.less?4a24","webpack://@octopusdeploy/octopus-deploy-portal/./app/areas/users/UserApiKeys/style.module.less?05bb","webpack://@octopusdeploy/octopus-deploy-portal/./app/areas/variables/EditVariableDialog/style.module.less?3169","webpack://@octopusdeploy/octopus-deploy-portal/./app/areas/variables/ScopeSelector/style.module.less?6205","webpack://@octopusdeploy/octopus-deploy-portal/./app/areas/variables/SingleVariableRow/style.module.less?f3a0","webpack://@octopusdeploy/octopus-deploy-portal/./app/areas/variables/SourceLink/style.module.less?8007","webpack://@octopusdeploy/octopus-deploy-portal/./app/areas/variables/VariableAdd/style.module.less?3ee6","webpack://@octopusdeploy/octopus-deploy-portal/./app/areas/variables/VariableCell/style.module.less?562d","webpack://@octopusdeploy/octopus-deploy-portal/./app/areas/variables/VariableDisplayer/style.module.less?b66b","webpack://@octopusdeploy/octopus-deploy-portal/./app/areas/variables/VariableEditorHeadings/style.module.less?1279","webpack://@octopusdeploy/octopus-deploy-portal/./app/areas/variables/VariableHeaderRow/style.module.less?2e5c","webpack://@octopusdeploy/octopus-deploy-portal/./app/areas/variables/VariableMessageCell/style.module.less?0427","webpack://@octopusdeploy/octopus-deploy-portal/./app/areas/variables/VariableMultiValueRow/style.module.less?fcef","webpack://@octopusdeploy/octopus-deploy-portal/./app/areas/variables/VariableNameAndDescriptionCell/style.module.less?7a4c","webpack://@octopusdeploy/octopus-deploy-portal/./app/areas/variables/VariableNameCell/style.module.less?b64a","webpack://@octopusdeploy/octopus-deploy-portal/./app/areas/variables/VariableRowRenderer/style.module.less","webpack://@octopusdeploy/octopus-deploy-portal/./app/areas/variables/VariableSaveConfirmationDialog/style.module.less?7382","webpack://@octopusdeploy/octopus-deploy-portal/./app/areas/variables/VariableScope/style.module.less?4a1c","webpack://@octopusdeploy/octopus-deploy-portal/./app/areas/variables/VariableScopeCell/style.module.less?b237","webpack://@octopusdeploy/octopus-deploy-portal/./app/areas/variables/VariableSetSectionHeading/style.module.less?bffa","webpack://@octopusdeploy/octopus-deploy-portal/./app/areas/variables/VariableSetSelector/style.module.less?f6b1","webpack://@octopusdeploy/octopus-deploy-portal/./app/areas/variables/VariableStatusIcon/style.module.less?6517","webpack://@octopusdeploy/octopus-deploy-portal/./app/areas/variables/VariableValueCell/style.module.less?4347","webpack://@octopusdeploy/octopus-deploy-portal/./app/components/ActionList/style.module.less?173d","webpack://@octopusdeploy/octopus-deploy-portal/./app/components/ActionTemplateParameterInput/style.module.less?4f3d","webpack://@octopusdeploy/octopus-deploy-portal/./app/components/ActionTemplates/ActionTemplateCategory.module.less?89b0","webpack://@octopusdeploy/octopus-deploy-portal/./app/components/ActionTemplates/styles.module.less?7757","webpack://@octopusdeploy/octopus-deploy-portal/./app/components/Actions/certificateImport/style.module.less?771b","webpack://@octopusdeploy/octopus-deploy-portal/./app/components/Actions/kubernetes/style.module.less?39d7","webpack://@octopusdeploy/octopus-deploy-portal/./app/components/AddIdentityDialog/style.module.less?e0b3","webpack://@octopusdeploy/octopus-deploy-portal/./app/components/AdvancedFilterLayout/Checkbox/style.module.less?35a2","webpack://@octopusdeploy/octopus-deploy-portal/./app/components/AdvancedFilterLayout/style.module.less?8555","webpack://@octopusdeploy/octopus-deploy-portal/./app/components/AuditListRow/AuditListRow.module.less?4141","webpack://@octopusdeploy/octopus-deploy-portal/./app/components/AutoComplete/style.module.less?6bf6","webpack://@octopusdeploy/octopus-deploy-portal/./app/components/BuildInformation/styles.module.less?7687","webpack://@octopusdeploy/octopus-deploy-portal/./app/components/Button/style.module.less?46ed","webpack://@octopusdeploy/octopus-deploy-portal/./app/components/Card/style.module.less?9d98","webpack://@octopusdeploy/octopus-deploy-portal/./app/components/CardTitle/style.module.less?5d2b","webpack://@octopusdeploy/octopus-deploy-portal/./app/components/CenteredLayout/style.module.less?6573","webpack://@octopusdeploy/octopus-deploy-portal/./app/components/Chips/NavigationChip.module.less?6187","webpack://@octopusdeploy/octopus-deploy-portal/./app/components/Commits/style.module.less?c5b2","webpack://@octopusdeploy/octopus-deploy-portal/./app/components/ComponentRow/style.module.less?55e1","webpack://@octopusdeploy/octopus-deploy-portal/./app/components/ContextualHelp/styles.module.less?f11b","webpack://@octopusdeploy/octopus-deploy-portal/./app/components/ContextualHelpLayout/HelpSidebarResources.module.less?a42e","webpack://@octopusdeploy/octopus-deploy-portal/./app/components/ContextualHelpLayout/PageHelpRegistry/Registrations/CommonComponents/Registrations.module.less?5943","webpack://@octopusdeploy/octopus-deploy-portal/./app/components/CopyToClipboardButton/style.module.less?91d9","webpack://@octopusdeploy/octopus-deploy-portal/./app/components/DeploymentFreezes/EditScopeTable/style.module.less?11dc","webpack://@octopusdeploy/octopus-deploy-portal/./app/components/DeploymentFreezes/style.module.less?a2d6","webpack://@octopusdeploy/octopus-deploy-portal/./app/components/DevTools/DevBanner.module.less?5fe0","webpack://@octopusdeploy/octopus-deploy-portal/./app/components/DevTools/OverviewTab/style.module.less?e59d","webpack://@octopusdeploy/octopus-deploy-portal/./app/components/DevTools/Toggles/style.module.less?88de","webpack://@octopusdeploy/octopus-deploy-portal/./app/components/Dialog/style.module.less?3996","webpack://@octopusdeploy/octopus-deploy-portal/./app/components/DialogLayout/Custom/CustomDialogActions.module.less?9495","webpack://@octopusdeploy/octopus-deploy-portal/./app/components/DialogLayout/Custom/CustomDialogContent.module.less?f1b7","webpack://@octopusdeploy/octopus-deploy-portal/./app/components/DialogLayout/Custom/CustomDialogFrames.module.less?dd0a","webpack://@octopusdeploy/octopus-deploy-portal/./app/components/DialogLayout/Custom/CustomDialogTitleBar.module.less?263d","webpack://@octopusdeploy/octopus-deploy-portal/./app/components/DialogLayout/style.module.less?e2c6","webpack://@octopusdeploy/octopus-deploy-portal/./app/components/DisplayProperties/style.module.less?bea0","webpack://@octopusdeploy/octopus-deploy-portal/./app/components/DynamicForm/style.module.less?58e0","webpack://@octopusdeploy/octopus-deploy-portal/./app/components/EditList/style.module.less?564f","webpack://@octopusdeploy/octopus-deploy-portal/./app/components/ErrorPanel/style.module.less?8182","webpack://@octopusdeploy/octopus-deploy-portal/./app/components/EventDetails/style.module.less?9d17","webpack://@octopusdeploy/octopus-deploy-portal/./app/components/FeatureEditor/style.module.less?21df","webpack://@octopusdeploy/octopus-deploy-portal/./app/components/Features/iisWebSite/style.module.less?7d12","webpack://@octopusdeploy/octopus-deploy-portal/./app/components/FilterSearchBox/style.module.less?8889","webpack://@octopusdeploy/octopus-deploy-portal/./app/components/FocusActionsLayout/style.module.less?fab9","webpack://@octopusdeploy/octopus-deploy-portal/./app/components/FormResourceInput/style.module.less?1183","webpack://@octopusdeploy/octopus-deploy-portal/./app/components/FullWidthPageLayout/style.module.less?7ccf","webpack://@octopusdeploy/octopus-deploy-portal/./app/components/GettingStarted/FundamentalsGuide/FundamentalsGuideDialogLayout.module.less?f6b2","webpack://@octopusdeploy/octopus-deploy-portal/./app/components/GettingStarted/ImageWithPlaceholder/ImageWithPlaceholder.module.less?1a58","webpack://@octopusdeploy/octopus-deploy-portal/./app/components/IconButtonList/style.module.less?ff19","webpack://@octopusdeploy/octopus-deploy-portal/./app/components/InputWithActions/style.module.less?ff17","webpack://@octopusdeploy/octopus-deploy-portal/./app/components/LoadMoreCard/style.module.less?1c37","webpack://@octopusdeploy/octopus-deploy-portal/./app/components/LoadMoreWrapper/LoadMoreWrapper.module.less?2cfe","webpack://@octopusdeploy/octopus-deploy-portal/./app/components/Logo/style.module.less?7c6c","webpack://@octopusdeploy/octopus-deploy-portal/./app/components/MarkdownDescription/style.module.less?fe1a","webpack://@octopusdeploy/octopus-deploy-portal/./app/components/Measure/style.module.less?5c13","webpack://@octopusdeploy/octopus-deploy-portal/./app/components/MoreInfo/style.module.less?5e94","webpack://@octopusdeploy/octopus-deploy-portal/./app/components/MultiSelect/MultiSelect.module.less?bf5b","webpack://@octopusdeploy/octopus-deploy-portal/./app/components/Navbar/notifications.module.less?966d","webpack://@octopusdeploy/octopus-deploy-portal/./app/components/Navigation/ExternalLink/style.module.less?f87b","webpack://@octopusdeploy/octopus-deploy-portal/./app/components/Navigation/InternalLink/style.module.less?2bcd","webpack://@octopusdeploy/octopus-deploy-portal/./app/components/NoResults/NoResults.module.less?5c1e","webpack://@octopusdeploy/octopus-deploy-portal/./app/components/NothingToSeeHere/style.module.less?5d12","webpack://@octopusdeploy/octopus-deploy-portal/./app/components/OpenFeatureDialog/style.module.less?721d","webpack://@octopusdeploy/octopus-deploy-portal/./app/components/OverflowMenu/style.module.less?9a88","webpack://@octopusdeploy/octopus-deploy-portal/./app/components/PagingBaseComponent/style.module.less?b33a","webpack://@octopusdeploy/octopus-deploy-portal/./app/components/PagingDataTable/style.module.less?e4cb","webpack://@octopusdeploy/octopus-deploy-portal/./app/components/PhaseStatusIcon/executingStyle.module.less?ef1b","webpack://@octopusdeploy/octopus-deploy-portal/./app/components/PhaseStatusIcon/style.module.less?4dfd","webpack://@octopusdeploy/octopus-deploy-portal/./app/components/ProjectBasedActivation/styles.module.less?7ac5","webpack://@octopusdeploy/octopus-deploy-portal/./app/components/ReadonlyAccount/style.module.less?4ad0","webpack://@octopusdeploy/octopus-deploy-portal/./app/components/ReadonlyCertificate/style.module.less?8761","webpack://@octopusdeploy/octopus-deploy-portal/./app/components/ReadonlyText/style.module.less?2ee5","webpack://@octopusdeploy/octopus-deploy-portal/./app/components/RemovableExpandersList/style.module.less?ec41","webpack://@octopusdeploy/octopus-deploy-portal/./app/components/RemoveItemsList/style.module.less?3cff","webpack://@octopusdeploy/octopus-deploy-portal/./app/components/Section/style.module.less?a8ee","webpack://@octopusdeploy/octopus-deploy-portal/./app/components/ServerThumbprint/style.module.less?39df","webpack://@octopusdeploy/octopus-deploy-portal/./app/components/SidebarLayout/style.module.less?a319","webpack://@octopusdeploy/octopus-deploy-portal/./app/components/SimpleDataTable/style.module.less?f7fd","webpack://@octopusdeploy/octopus-deploy-portal/./app/components/SimpleExpander/style.module.less?b75f","webpack://@octopusdeploy/octopus-deploy-portal/./app/components/SpaceNotFound/style.module.less?0404","webpack://@octopusdeploy/octopus-deploy-portal/./app/components/StepPackageEditor/Inputs/Components/InlineList/style.module.less?2a5b","webpack://@octopusdeploy/octopus-deploy-portal/./app/components/StepPackageEditor/Inputs/Components/KubernetesObjectStatus/style.module.less?6fdd","webpack://@octopusdeploy/octopus-deploy-portal/./app/components/StepPackageEditor/Inputs/Components/List/style.module.less?60aa","webpack://@octopusdeploy/octopus-deploy-portal/./app/components/StyleGuide/style.module.less?7d05","webpack://@octopusdeploy/octopus-deploy-portal/./app/components/TaskDetails/style.module.less?8402","webpack://@octopusdeploy/octopus-deploy-portal/./app/components/TaskLogLines/style.module.less?f7f3","webpack://@octopusdeploy/octopus-deploy-portal/./app/components/TaskLogLines/taskLogBlock.module.less?f8dd","webpack://@octopusdeploy/octopus-deploy-portal/./app/components/TenantTagDesignDialog/style.module.less?73d1","webpack://@octopusdeploy/octopus-deploy-portal/./app/components/ThumbprintText/style.module.less?e955","webpack://@octopusdeploy/octopus-deploy-portal/./app/components/TimeLabels/style.module.less?cc53","webpack://@octopusdeploy/octopus-deploy-portal/./app/components/TransitionAnimation/style.module.less?6d57","webpack://@octopusdeploy/octopus-deploy-portal/./app/components/VirtualListWithKeyboard/VirtualListWithKeyboard.module.less?102a","webpack://@octopusdeploy/octopus-deploy-portal/./app/components/WarningIcon/style.module.less?5ea3","webpack://@octopusdeploy/octopus-deploy-portal/./app/components/WarningPanel/style.module.less?0edb","webpack://@octopusdeploy/octopus-deploy-portal/./app/components/form/AccountSearch/AccountSummary.module.less?f432","webpack://@octopusdeploy/octopus-deploy-portal/./app/components/form/AccountSelect/style.module.less?cc99","webpack://@octopusdeploy/octopus-deploy-portal/./app/components/form/BoundField/style.module.less?8db5","webpack://@octopusdeploy/octopus-deploy-portal/./app/components/form/CertificateSearch/style.module.less?cbe5","webpack://@octopusdeploy/octopus-deploy-portal/./app/components/form/IconEditor/style.module.less?f14e","webpack://@octopusdeploy/octopus-deploy-portal/./app/components/form/LogoEditor/style.module.less?087e","webpack://@octopusdeploy/octopus-deploy-portal/./app/components/form/Sections/style.module.less?c5f1","webpack://@octopusdeploy/octopus-deploy-portal/./app/components/form/TimeSpanSelector/style.module.less?7df4","webpack://@octopusdeploy/octopus-deploy-portal/./app/components/form/VariableLookup/style.module.less?0371","webpack://@octopusdeploy/octopus-deploy-portal/./app/components/form/WorkerPoolSearch/style.module.less?696a","webpack://@octopusdeploy/octopus-deploy-portal/./app/components/form/WorkerPoolSelect/style.module.less?97b5","webpack://@octopusdeploy/octopus-deploy-portal/./app/global.module.less?4f2c","webpack://@octopusdeploy/octopus-deploy-portal/./app/globalSearch/GlobalSearch.module.less?002d","webpack://@octopusdeploy/octopus-deploy-portal/./app/globalSearch/HighlightMatches.module.less?c20e","webpack://@octopusdeploy/octopus-deploy-portal/./app/primitiveComponents/dataDisplay/Avatar/style.module.less?9d54","webpack://@octopusdeploy/octopus-deploy-portal/./app/primitiveComponents/dataDisplay/DataTable/style.module.less?33a7","webpack://@octopusdeploy/octopus-deploy-portal/./app/primitiveComponents/dataDisplay/ListItem/style.module.less?3463","webpack://@octopusdeploy/octopus-deploy-portal/./app/primitiveComponents/dataDisplay/ListTitle/style.module.less?6a76","webpack://@octopusdeploy/octopus-deploy-portal/./app/primitiveComponents/dataDisplay/ScrollTable/AlignedScrollTableRow/style.module.less?835d","webpack://@octopusdeploy/octopus-deploy-portal/./app/primitiveComponents/dataDisplay/ScrollTable/ResizeColumnHandle/style.module.less?9b02","webpack://@octopusdeploy/octopus-deploy-portal/./app/primitiveComponents/dataDisplay/ScrollTable/style.module.less?c3c2","webpack://@octopusdeploy/octopus-deploy-portal/./app/primitiveComponents/dataDisplay/SvgImage/styles.module.less?761f","webpack://@octopusdeploy/octopus-deploy-portal/./app/primitiveComponents/dataDisplay/ToolTipMessages/style.module.less?5a3d","webpack://@octopusdeploy/octopus-deploy-portal/./app/primitiveComponents/form/ColorPicker/style.module.less?777e","webpack://@octopusdeploy/octopus-deploy-portal/./app/primitiveComponents/form/Note/style.module.less?1627","webpack://@octopusdeploy/octopus-deploy-portal/./app/primitiveComponents/form/Number/style.module.less?09b0","webpack://@octopusdeploy/octopus-deploy-portal/./app/primitiveComponents/form/Select/style.module.less?fae1","webpack://@octopusdeploy/octopus-deploy-portal/./app/primitiveComponents/form/Slugs/style.module.less?9291","webpack://@octopusdeploy/octopus-deploy-portal/./app/primitiveComponents/form/Text/style.module.less?226c","webpack://@octopusdeploy/octopus-deploy-portal/./app/analytics/Analytics.tsx","webpack://@octopusdeploy/octopus-deploy-portal/./app/areas/configuration/reducers/configurationArea.ts","webpack://@octopusdeploy/octopus-deploy-portal/./app/areas/dynamicExtensions/scriptAdapter.ts","webpack://@octopusdeploy/octopus-deploy-portal/./app/areas/dynamicExtensions/octopusDynamicExtensions.ts","webpack://@octopusdeploy/octopus-deploy-portal/./app/areas/infrastructure/reducers/accounts.ts","webpack://@octopusdeploy/octopus-deploy-portal/./app/areas/infrastructure/reducers/machines.ts","webpack://@octopusdeploy/octopus-deploy-portal/./app/areas/library/components/BuiltInRepository/PackagingOnboarding/Registry/usePackagingRegistrations.ts","webpack://@octopusdeploy/octopus-deploy-portal/./app/areas/library/components/BuiltInRepository/PackagingOnboarding/PackagingInstructionSelector.tsx","webpack://@octopusdeploy/octopus-deploy-portal/./app/utils/Reducers/combineConstantReducers.ts","webpack://@octopusdeploy/octopus-deploy-portal/./app/areas/library/components/BuiltInRepository/PackagingOnboarding/Registry/usePackagingInstructions.ts","webpack://@octopusdeploy/octopus-deploy-portal/./app/areas/library/components/BuiltInRepository/PackagingOnboarding/Registry/usePackageRegistration.ts","webpack://@octopusdeploy/octopus-deploy-portal/./app/areas/library/components/BuiltInRepository/HowToCreateYourPackageDialogLink.tsx","webpack://@octopusdeploy/octopus-deploy-portal/./app/areas/library/components/BuiltInRepository/HowToPushYourPackageDialogLink.tsx","webpack://@octopusdeploy/octopus-deploy-portal/./app/areas/library/components/BuiltInRepository/PackagingOnboarding/Registry/packagingRegistry.tsx","webpack://@octopusdeploy/octopus-deploy-portal/./app/areas/projects/components/Process/generation/index.ts","webpack://@octopusdeploy/octopus-deploy-portal/./app/areas/projects/components/ProjectLayout/SampleProjectTour/SampleProjectTourUtils.ts","webpack://@octopusdeploy/octopus-deploy-portal/./app/areas/projects/components/Triggers/useIsGitTriggersEnabled.tsx","webpack://@octopusdeploy/octopus-deploy-portal/./app/areas/tenants/tenantsArea.ts","webpack://@octopusdeploy/octopus-deploy-portal/./app/areas/dynamicExtensions/index.ts","webpack://@octopusdeploy/octopus-deploy-portal/./app/featureToggleProvider.ts","webpack://@octopusdeploy/octopus-deploy-portal/./app/openFeatureLoggerImpl.ts","webpack://@octopusdeploy/octopus-deploy-portal/./app/session.ts","webpack://@octopusdeploy/octopus-deploy-portal/./app/clientInstance.ts","webpack://@octopusdeploy/octopus-deploy-portal/./app/components/Actions/script/ScriptActionContext.ts","webpack://@octopusdeploy/octopus-deploy-portal/./app/components/BaseComponent/BaseComponent.tsx","webpack://@octopusdeploy/octopus-deploy-portal/./app/components/BaseComponent/index.ts","webpack://@octopusdeploy/octopus-deploy-portal/./app/components/BusyFromPromise/BusyFromPromise.tsx","webpack://@octopusdeploy/octopus-deploy-portal/./app/components/Button/CloseButton.tsx","webpack://@octopusdeploy/octopus-deploy-portal/./app/components/Button/OpenDeleteDialogButton.tsx","webpack://@octopusdeploy/octopus-deploy-portal/./app/components/Button/PagingControlButton.tsx","webpack://@octopusdeploy/octopus-deploy-portal/./app/components/ContextualHelpLayout/PageHelpRegistry/Registrations/CommonComponents/CommonConfigurationAuditViews.tsx","webpack://@octopusdeploy/octopus-deploy-portal/./app/components/ContextualHelpLayout/PageHelpRegistry/Registrations/Areas/Configuration/ConfigurationAuditRegistration.tsx","webpack://@octopusdeploy/octopus-deploy-portal/./app/components/ContextualHelpLayout/PageHelpRegistry/Registrations/Areas/Configuration/ConfigurationBackupRegistration.tsx","webpack://@octopusdeploy/octopus-deploy-portal/./app/components/ContextualHelpLayout/PageHelpRegistry/Registrations/Areas/Configuration/ConfigurationDeploymentFreezeNewRegistration.tsx","webpack://@octopusdeploy/octopus-deploy-portal/./app/components/ContextualHelpLayout/PageHelpRegistry/Registrations/Areas/Configuration/ConfigurationDeploymentFreezeRegistration.tsx","webpack://@octopusdeploy/octopus-deploy-portal/./app/components/ContextualHelpLayout/PageHelpRegistry/Registrations/Areas/Configuration/ConfigurationDeploymentFreezesRegistration.tsx","webpack://@octopusdeploy/octopus-deploy-portal/./app/components/ContextualHelpLayout/PageHelpRegistry/Registrations/Areas/Configuration/ConfigurationDiagnosticLogsAutoDeployRegistration.tsx","webpack://@octopusdeploy/octopus-deploy-portal/./app/components/ContextualHelpLayout/PageHelpRegistry/Registrations/Areas/Configuration/ConfigurationDiagnosticLogsMachineCleanupRegistration.tsx","webpack://@octopusdeploy/octopus-deploy-portal/./app/components/ContextualHelpLayout/PageHelpRegistry/Registrations/Areas/Configuration/ConfigurationDiagnosticLogsRegistration.tsx","webpack://@octopusdeploy/octopus-deploy-portal/./app/components/ContextualHelpLayout/PageHelpRegistry/Registrations/Areas/Configuration/ConfigurationDiagnosticLogsScheduledDeployRegistration.tsx","webpack://@octopusdeploy/octopus-deploy-portal/./app/components/ContextualHelpLayout/PageHelpRegistry/Registrations/Areas/Configuration/ConfigurationDiagnosticLogsSubscriptionRegistration.tsx","webpack://@octopusdeploy/octopus-deploy-portal/./app/components/ContextualHelpLayout/PageHelpRegistry/Registrations/Areas/Configuration/ConfigurationDiagnosticsRegistration.tsx","webpack://@octopusdeploy/octopus-deploy-portal/./app/components/ContextualHelpLayout/PageHelpRegistry/Registrations/Areas/Configuration/ConfigurationFeaturesRegistration.tsx","webpack://@octopusdeploy/octopus-deploy-portal/./app/components/ContextualHelpLayout/PageHelpRegistry/Registrations/Areas/Configuration/ConfigurationLetsEncryptConfigureRegistration.tsx","webpack://@octopusdeploy/octopus-deploy-portal/./app/components/ContextualHelpLayout/PageHelpRegistry/Registrations/Areas/Configuration/ConfigurationLetsEncryptRegistration.tsx","webpack://@octopusdeploy/octopus-deploy-portal/./app/components/ContextualHelpLayout/PageHelpRegistry/Registrations/Areas/Configuration/ConfigurationLicenseRegistration.tsx","webpack://@octopusdeploy/octopus-deploy-portal/./app/components/ContextualHelpLayout/PageHelpRegistry/Registrations/Areas/Configuration/ConfigurationMaintenanceRegistration.tsx","webpack://@octopusdeploy/octopus-deploy-portal/./app/components/ContextualHelpLayout/PageHelpRegistry/Registrations/Areas/Configuration/ConfigurationNodesConfigRegistration.tsx","webpack://@octopusdeploy/octopus-deploy-portal/./app/components/ContextualHelpLayout/PageHelpRegistry/Registrations/Areas/Configuration/ConfigurationNodesRegistration.tsx","webpack://@octopusdeploy/octopus-deploy-portal/./app/components/ContextualHelpLayout/PageHelpRegistry/Registrations/Areas/Configuration/ConfigurationNodesServerSettingsRegistration.tsx","webpack://@octopusdeploy/octopus-deploy-portal/./app/components/ContextualHelpLayout/PageHelpRegistry/Registrations/Areas/Configuration/ConfigurationPerformanceRegistration.tsx","webpack://@octopusdeploy/octopus-deploy-portal/./app/components/ContextualHelpLayout/PageHelpRegistry/Registrations/Areas/Configuration/ConfigurationRegistration.tsx","webpack://@octopusdeploy/octopus-deploy-portal/./app/components/ContextualHelpLayout/PageHelpRegistry/Registrations/Areas/Configuration/ConfigurationRoleRegistration.tsx","webpack://@octopusdeploy/octopus-deploy-portal/./app/components/ContextualHelpLayout/PageHelpRegistry/Registrations/Areas/Configuration/ConfigurationRolesNewRegistration.tsx","webpack://@octopusdeploy/octopus-deploy-portal/./app/components/ContextualHelpLayout/PageHelpRegistry/Registrations/Areas/Configuration/ConfigurationRolesRegistration.tsx","webpack://@octopusdeploy/octopus-deploy-portal/./app/components/ContextualHelpLayout/PageHelpRegistry/Registrations/Areas/Configuration/ConfigurationSettingsRegistration.tsx","webpack://@octopusdeploy/octopus-deploy-portal/./app/components/ContextualHelpLayout/PageHelpRegistry/Registrations/Areas/Configuration/ConfigurationSmtpRegistration.tsx","webpack://@octopusdeploy/octopus-deploy-portal/./app/components/ContextualHelpLayout/PageHelpRegistry/Registrations/Areas/Configuration/ConfigurationSpaceRegistration.tsx","webpack://@octopusdeploy/octopus-deploy-portal/./app/components/ContextualHelpLayout/PageHelpRegistry/Registrations/Areas/Configuration/ConfigurationSpacesNewRegistration.tsx","webpack://@octopusdeploy/octopus-deploy-portal/./app/components/ContextualHelpLayout/PageHelpRegistry/Registrations/Areas/Configuration/ConfigurationSpacesRegistration.tsx","webpack://@octopusdeploy/octopus-deploy-portal/./app/components/ContextualHelpLayout/PageHelpRegistry/Registrations/Areas/Configuration/ConfigurationSubscriptionRegistration.tsx","webpack://@octopusdeploy/octopus-deploy-portal/./app/components/ContextualHelpLayout/PageHelpRegistry/Registrations/Areas/Configuration/ConfigurationSubscriptionsNewRegistration.tsx","webpack://@octopusdeploy/octopus-deploy-portal/./app/components/ContextualHelpLayout/PageHelpRegistry/Registrations/Areas/Configuration/ConfigurationSubscriptionsRegistration.tsx","webpack://@octopusdeploy/octopus-deploy-portal/./app/components/ContextualHelpLayout/PageHelpRegistry/Registrations/Areas/Configuration/ConfigurationTeamRegistration.tsx","webpack://@octopusdeploy/octopus-deploy-portal/./app/components/ContextualHelpLayout/PageHelpRegistry/Registrations/Areas/Configuration/ConfigurationTeamsRegistration.tsx","webpack://@octopusdeploy/octopus-deploy-portal/./app/components/ContextualHelpLayout/PageHelpRegistry/Registrations/Areas/Configuration/ConfigurationTestPermissionRegistration.tsx","webpack://@octopusdeploy/octopus-deploy-portal/./app/components/ContextualHelpLayout/PageHelpRegistry/Registrations/Areas/Configuration/ConfigurationTestPermissionsRegistration.tsx","webpack://@octopusdeploy/octopus-deploy-portal/./app/components/ContextualHelpLayout/PageHelpRegistry/Registrations/Areas/Configuration/ConfigurationThumbprintRegistration.tsx","webpack://@octopusdeploy/octopus-deploy-portal/./app/components/ContextualHelpLayout/PageHelpRegistry/Registrations/Areas/Configuration/ConfigurationUserInvitesRegistration.tsx","webpack://@octopusdeploy/octopus-deploy-portal/./app/components/ContextualHelpLayout/PageHelpRegistry/Registrations/Areas/Configuration/ConfigurationUserRegistration.tsx","webpack://@octopusdeploy/octopus-deploy-portal/./app/components/ContextualHelpLayout/PageHelpRegistry/Registrations/Areas/Configuration/ConfigurationUsersNewRegistration.tsx","webpack://@octopusdeploy/octopus-deploy-portal/./app/components/ContextualHelpLayout/PageHelpRegistry/Registrations/Areas/Configuration/ConfigurationUsersRegistration.tsx","webpack://@octopusdeploy/octopus-deploy-portal/./app/components/ContextualHelpLayout/PageHelpRegistry/Registrations/Areas/Dashboard/DashboardConfigureRegistration.tsx","webpack://@octopusdeploy/octopus-deploy-portal/./app/components/ContextualHelpLayout/PageHelpRegistry/Registrations/Areas/Dashboard/DashboardRegistration.tsx","webpack://@octopusdeploy/octopus-deploy-portal/./app/components/ContextualHelpLayout/PageHelpRegistry/Registrations/Areas/Infrastructure/InfrastructureAccountRegistration.tsx","webpack://@octopusdeploy/octopus-deploy-portal/./app/components/ContextualHelpLayout/PageHelpRegistry/Registrations/Areas/Infrastructure/InfrastructureAccountsNewRegistration.tsx","webpack://@octopusdeploy/octopus-deploy-portal/./app/components/ContextualHelpLayout/PageHelpRegistry/Registrations/Areas/Infrastructure/InfrastructureAccountsRegistration.tsx","webpack://@octopusdeploy/octopus-deploy-portal/./app/components/ContextualHelpLayout/PageHelpRegistry/Registrations/Areas/Infrastructure/InfrastructureDeploymentTargetConnectivityRegistration.tsx","webpack://@octopusdeploy/octopus-deploy-portal/./app/components/ContextualHelpLayout/PageHelpRegistry/Registrations/Areas/Infrastructure/InfrastructureDeploymentTargetDeploymentsRegistration.tsx","webpack://@octopusdeploy/octopus-deploy-portal/./app/components/ContextualHelpLayout/PageHelpRegistry/Registrations/Areas/Infrastructure/InfrastructureDeploymentTargetEventsRegistration.tsx","webpack://@octopusdeploy/octopus-deploy-portal/./app/components/ContextualHelpLayout/PageHelpRegistry/Registrations/Areas/Infrastructure/InfrastructureDeploymentTargetRegistration.tsx","webpack://@octopusdeploy/octopus-deploy-portal/./app/components/ContextualHelpLayout/PageHelpRegistry/Registrations/Areas/Infrastructure/InfrastructureDeploymentTargetRunbookRunsRegistration.tsx","webpack://@octopusdeploy/octopus-deploy-portal/./app/components/ContextualHelpLayout/PageHelpRegistry/Registrations/Areas/Infrastructure/InfrastructureDeploymentTargetSettingsRegistration.tsx","webpack://@octopusdeploy/octopus-deploy-portal/./app/components/ContextualHelpLayout/PageHelpRegistry/Registrations/Areas/Infrastructure/InfrastructureDeploymentTargetsDiscoverRegistration.tsx","webpack://@octopusdeploy/octopus-deploy-portal/./app/components/ContextualHelpLayout/PageHelpRegistry/Registrations/Areas/Infrastructure/InfrastructureDeploymentTargetsFilteredRegistration.tsx","webpack://@octopusdeploy/octopus-deploy-portal/./app/components/ContextualHelpLayout/PageHelpRegistry/Registrations/Areas/Infrastructure/InfrastructureDeploymentTargetsNewRegistration.tsx","webpack://@octopusdeploy/octopus-deploy-portal/./app/components/ContextualHelpLayout/PageHelpRegistry/Registrations/Areas/Infrastructure/InfrastructureDeploymentTargetsRegistration.tsx","webpack://@octopusdeploy/octopus-deploy-portal/./app/components/ContextualHelpLayout/PageHelpRegistry/Registrations/Areas/Infrastructure/InfrastructureDeploymentTargetsSelectRegistration.tsx","webpack://@octopusdeploy/octopus-deploy-portal/./app/components/ContextualHelpLayout/PageHelpRegistry/Registrations/Areas/Infrastructure/InfrastructureEnvironmentRegistration.tsx","webpack://@octopusdeploy/octopus-deploy-portal/./app/components/ContextualHelpLayout/PageHelpRegistry/Registrations/Areas/Infrastructure/InfrastructureEnvironmentsFilteredRegistration.tsx","webpack://@octopusdeploy/octopus-deploy-portal/./app/components/ContextualHelpLayout/PageHelpRegistry/Registrations/Areas/Infrastructure/InfrastructureEnvironmentsNewRegistration.tsx","webpack://@octopusdeploy/octopus-deploy-portal/./app/components/ContextualHelpLayout/PageHelpRegistry/Registrations/Areas/Infrastructure/InfrastructureEnvironmentsRegistration.tsx","webpack://@octopusdeploy/octopus-deploy-portal/./app/components/ContextualHelpLayout/PageHelpRegistry/Registrations/Areas/Infrastructure/InfrastructureMachinePoliciesNewRegistration.tsx","webpack://@octopusdeploy/octopus-deploy-portal/./app/components/ContextualHelpLayout/PageHelpRegistry/Registrations/Areas/Infrastructure/InfrastructureMachinePoliciesRegistration.tsx","webpack://@octopusdeploy/octopus-deploy-portal/./app/components/ContextualHelpLayout/PageHelpRegistry/Registrations/Areas/Infrastructure/InfrastructureMachinePolicyRegistration.tsx","webpack://@octopusdeploy/octopus-deploy-portal/./app/components/ContextualHelpLayout/PageHelpRegistry/Registrations/Areas/Infrastructure/InfrastructureOverviewRegistration.tsx","webpack://@octopusdeploy/octopus-deploy-portal/./app/components/ContextualHelpLayout/PageHelpRegistry/Registrations/Areas/Infrastructure/InfrastructureProxiesNewRegistration.tsx","webpack://@octopusdeploy/octopus-deploy-portal/./app/components/ContextualHelpLayout/PageHelpRegistry/Registrations/Areas/Infrastructure/InfrastructureProxiesRegistration.tsx","webpack://@octopusdeploy/octopus-deploy-portal/./app/components/ContextualHelpLayout/PageHelpRegistry/Registrations/Areas/Infrastructure/InfrastructureProxyRegistration.tsx","webpack://@octopusdeploy/octopus-deploy-portal/./app/components/ContextualHelpLayout/PageHelpRegistry/Registrations/Areas/Infrastructure/InfrastructureRegistration.tsx","webpack://@octopusdeploy/octopus-deploy-portal/./app/components/ContextualHelpLayout/PageHelpRegistry/Registrations/Areas/Infrastructure/InfrastructureWorkerConnectivityRegistration.tsx","webpack://@octopusdeploy/octopus-deploy-portal/./app/components/ContextualHelpLayout/PageHelpRegistry/Registrations/Areas/Infrastructure/InfrastructureWorkerEventsRegistration.tsx","webpack://@octopusdeploy/octopus-deploy-portal/./app/components/ContextualHelpLayout/PageHelpRegistry/Registrations/Areas/Infrastructure/InfrastructureWorkerPoolNewRegistration.tsx","webpack://@octopusdeploy/octopus-deploy-portal/./app/components/ContextualHelpLayout/PageHelpRegistry/Registrations/Areas/Infrastructure/InfrastructureWorkerPoolRegistration.tsx","webpack://@octopusdeploy/octopus-deploy-portal/./app/components/ContextualHelpLayout/PageHelpRegistry/Registrations/Areas/Infrastructure/InfrastructureWorkerPoolsFilteredRegistration.tsx","webpack://@octopusdeploy/octopus-deploy-portal/./app/components/ContextualHelpLayout/PageHelpRegistry/Registrations/Areas/Infrastructure/InfrastructureWorkerPoolsRegistration.tsx","webpack://@octopusdeploy/octopus-deploy-portal/./app/components/ContextualHelpLayout/PageHelpRegistry/Registrations/Areas/Infrastructure/InfrastructureWorkerRegistration.tsx","webpack://@octopusdeploy/octopus-deploy-portal/./app/components/ContextualHelpLayout/PageHelpRegistry/Registrations/Areas/Infrastructure/InfrastructureWorkerSettingsRegistration.tsx","webpack://@octopusdeploy/octopus-deploy-portal/./app/components/ContextualHelpLayout/PageHelpRegistry/Registrations/Areas/Infrastructure/InfrastructureWorkersDiscoverRegistration.tsx","webpack://@octopusdeploy/octopus-deploy-portal/./app/components/ContextualHelpLayout/PageHelpRegistry/Registrations/Areas/Infrastructure/InfrastructureWorkersFilteredRegistration.tsx","webpack://@octopusdeploy/octopus-deploy-portal/./app/components/ContextualHelpLayout/PageHelpRegistry/Registrations/Areas/Infrastructure/InfrastructureWorkersNewRegistration.tsx","webpack://@octopusdeploy/octopus-deploy-portal/./app/components/ContextualHelpLayout/PageHelpRegistry/Registrations/Areas/Infrastructure/InfrastructureWorkersRegistration.tsx","webpack://@octopusdeploy/octopus-deploy-portal/./app/components/ContextualHelpLayout/PageHelpRegistry/Registrations/Areas/Infrastructure/InfrastructureWorkersSelectRegistration.tsx","webpack://@octopusdeploy/octopus-deploy-portal/./app/components/ContextualHelpLayout/PageHelpRegistry/Registrations/Areas/Insights/InsightsReportDeploymentDurationRegistration.tsx","webpack://@octopusdeploy/octopus-deploy-portal/./app/components/ContextualHelpLayout/PageHelpRegistry/Registrations/Areas/Insights/InsightsReportDeploymentFailureRateRegistration.tsx","webpack://@octopusdeploy/octopus-deploy-portal/./app/components/ContextualHelpLayout/PageHelpRegistry/Registrations/Areas/Insights/InsightsReportDeploymentFrequencyRegistration.tsx","webpack://@octopusdeploy/octopus-deploy-portal/./app/components/ContextualHelpLayout/PageHelpRegistry/Registrations/Areas/Insights/InsightsReportDeploymentLeadTimeRegistration.tsx","webpack://@octopusdeploy/octopus-deploy-portal/./app/components/ContextualHelpLayout/PageHelpRegistry/Registrations/Areas/Insights/InsightsReportListRegistration.tsx","webpack://@octopusdeploy/octopus-deploy-portal/./app/components/ContextualHelpLayout/PageHelpRegistry/Registrations/Areas/Insights/InsightsReportMeanTimeToRecoveryRegistration.tsx","webpack://@octopusdeploy/octopus-deploy-portal/./app/components/ContextualHelpLayout/PageHelpRegistry/Registrations/Areas/Insights/InsightsReportOverviewRegistration.tsx","webpack://@octopusdeploy/octopus-deploy-portal/./app/components/ContextualHelpLayout/PageHelpRegistry/Registrations/Areas/Insights/InsightsReportSettingsRegistration.tsx","webpack://@octopusdeploy/octopus-deploy-portal/./app/components/ContextualHelpLayout/PageHelpRegistry/Registrations/Areas/Insights/InsightsReportsRegistration.tsx","webpack://@octopusdeploy/octopus-deploy-portal/./app/components/ContextualHelpLayout/PageHelpRegistry/Registrations/Areas/Insights/InsightsUpsellRegistration.tsx","webpack://@octopusdeploy/octopus-deploy-portal/./app/components/ContextualHelpLayout/PageHelpRegistry/Registrations/Areas/Library/LibraryBuildInformationRepositoryPackageRegistration.tsx","webpack://@octopusdeploy/octopus-deploy-portal/./app/components/ContextualHelpLayout/PageHelpRegistry/Registrations/Areas/Library/LibraryBuildInformationRepositoryRegistration.tsx","webpack://@octopusdeploy/octopus-deploy-portal/./app/components/ContextualHelpLayout/PageHelpRegistry/Registrations/Areas/Library/LibraryBuildInformationRepositoryVersionsRegistration.tsx","webpack://@octopusdeploy/octopus-deploy-portal/./app/components/ContextualHelpLayout/PageHelpRegistry/Registrations/Areas/Library/LibraryBuiltInRepositoryPackageRegistration.tsx","webpack://@octopusdeploy/octopus-deploy-portal/./app/components/ContextualHelpLayout/PageHelpRegistry/Registrations/Areas/Library/LibraryBuiltInRepositoryPackageVersionsRegistration.tsx","webpack://@octopusdeploy/octopus-deploy-portal/./app/components/ContextualHelpLayout/PageHelpRegistry/Registrations/Areas/Library/LibraryBuiltInRepositoryRegistration.tsx","webpack://@octopusdeploy/octopus-deploy-portal/./app/components/ContextualHelpLayout/PageHelpRegistry/Registrations/Areas/Library/LibraryCertificateRegistration.tsx","webpack://@octopusdeploy/octopus-deploy-portal/./app/components/ContextualHelpLayout/PageHelpRegistry/Registrations/Areas/Library/LibraryCertificatesArchiveRegistration.tsx","webpack://@octopusdeploy/octopus-deploy-portal/./app/components/ContextualHelpLayout/PageHelpRegistry/Registrations/Areas/Library/LibraryCertificatesNewRegistration.tsx","webpack://@octopusdeploy/octopus-deploy-portal/./app/components/ContextualHelpLayout/PageHelpRegistry/Registrations/Areas/Library/LibraryCertificatesRegistration.tsx","webpack://@octopusdeploy/octopus-deploy-portal/./app/components/ContextualHelpLayout/PageHelpRegistry/Registrations/Areas/Library/LibraryFeedRegistration.tsx","webpack://@octopusdeploy/octopus-deploy-portal/./app/components/ContextualHelpLayout/PageHelpRegistry/Registrations/Areas/Library/LibraryFeedTestRegistration.tsx","webpack://@octopusdeploy/octopus-deploy-portal/./app/components/ContextualHelpLayout/PageHelpRegistry/Registrations/Areas/Library/LibraryFeedsNewRegistration.tsx","webpack://@octopusdeploy/octopus-deploy-portal/./app/components/ContextualHelpLayout/PageHelpRegistry/Registrations/Areas/Library/LibraryFeedsRegistration.tsx","webpack://@octopusdeploy/octopus-deploy-portal/./app/components/ContextualHelpLayout/PageHelpRegistry/Registrations/Areas/Library/LibraryGitConnectionsAddRegistration.tsx","webpack://@octopusdeploy/octopus-deploy-portal/./app/components/ContextualHelpLayout/PageHelpRegistry/Registrations/Areas/Library/LibraryGitConnectionsGetRegistration.tsx","webpack://@octopusdeploy/octopus-deploy-portal/./app/components/ContextualHelpLayout/PageHelpRegistry/Registrations/Areas/Library/LibraryGitConnectionsRegistration.tsx","webpack://@octopusdeploy/octopus-deploy-portal/./app/components/ContextualHelpLayout/PageHelpRegistry/Registrations/Areas/Library/LibraryGitCredentialRegistration.tsx","webpack://@octopusdeploy/octopus-deploy-portal/./app/components/ContextualHelpLayout/PageHelpRegistry/Registrations/Areas/Library/LibraryGitCredentialUsageRegistration.tsx","webpack://@octopusdeploy/octopus-deploy-portal/./app/components/ContextualHelpLayout/PageHelpRegistry/Registrations/Areas/Library/LibraryGitCredentialsCreateRegistration.tsx","webpack://@octopusdeploy/octopus-deploy-portal/./app/components/ContextualHelpLayout/PageHelpRegistry/Registrations/Areas/Library/LibraryGitCredentialsRegistration.tsx","webpack://@octopusdeploy/octopus-deploy-portal/./app/components/ContextualHelpLayout/PageHelpRegistry/Registrations/Areas/Library/LibraryLifecycleRegistration.tsx","webpack://@octopusdeploy/octopus-deploy-portal/./app/components/ContextualHelpLayout/PageHelpRegistry/Registrations/Areas/Library/LibraryLifecyclesNewRegistration.tsx","webpack://@octopusdeploy/octopus-deploy-portal/./app/components/ContextualHelpLayout/PageHelpRegistry/Registrations/Areas/Library/LibraryLifecyclesRegistration.tsx","webpack://@octopusdeploy/octopus-deploy-portal/./app/components/ContextualHelpLayout/PageHelpRegistry/Registrations/Areas/Library/LibraryRegistration.tsx","webpack://@octopusdeploy/octopus-deploy-portal/./app/components/ContextualHelpLayout/PageHelpRegistry/Registrations/Areas/Library/LibraryScriptModuleRegistration.tsx","webpack://@octopusdeploy/octopus-deploy-portal/./app/components/ContextualHelpLayout/PageHelpRegistry/Registrations/Areas/Library/LibraryScriptModulesNewRegistration.tsx","webpack://@octopusdeploy/octopus-deploy-portal/./app/components/ContextualHelpLayout/PageHelpRegistry/Registrations/Areas/Library/LibraryScriptModulesRegistration.tsx","webpack://@octopusdeploy/octopus-deploy-portal/./app/components/ContextualHelpLayout/PageHelpRegistry/Registrations/Areas/Library/LibraryStepTemplateNewRegistration.tsx","webpack://@octopusdeploy/octopus-deploy-portal/./app/components/ContextualHelpLayout/PageHelpRegistry/Registrations/Areas/Library/LibraryStepTemplateRegistration.tsx","webpack://@octopusdeploy/octopus-deploy-portal/./app/components/ContextualHelpLayout/PageHelpRegistry/Registrations/Areas/Library/LibraryStepTemplateRunRegistration.tsx","webpack://@octopusdeploy/octopus-deploy-portal/./app/components/ContextualHelpLayout/PageHelpRegistry/Registrations/Areas/Library/LibraryStepTemplateUsageRegistration.tsx","webpack://@octopusdeploy/octopus-deploy-portal/./app/components/ContextualHelpLayout/PageHelpRegistry/Registrations/Areas/Library/LibraryStepTemplatesBuiltInRegistration.tsx","webpack://@octopusdeploy/octopus-deploy-portal/./app/components/ContextualHelpLayout/PageHelpRegistry/Registrations/Areas/Library/LibraryStepTemplatesCommunityRegistration.tsx","webpack://@octopusdeploy/octopus-deploy-portal/./app/components/ContextualHelpLayout/PageHelpRegistry/Registrations/Areas/Library/LibraryStepTemplatesCommunityTemplateDetailsRegistration.tsx","webpack://@octopusdeploy/octopus-deploy-portal/./app/components/ContextualHelpLayout/PageHelpRegistry/Registrations/Areas/Library/LibraryStepTemplatesCommunityTemplateRegistration.tsx","webpack://@octopusdeploy/octopus-deploy-portal/./app/components/ContextualHelpLayout/PageHelpRegistry/Registrations/Areas/Library/LibraryStepTemplatesInstalledStepRegistration.tsx","webpack://@octopusdeploy/octopus-deploy-portal/./app/components/ContextualHelpLayout/PageHelpRegistry/Registrations/Areas/Library/LibraryStepTemplatesRegistration.tsx","webpack://@octopusdeploy/octopus-deploy-portal/./app/components/ContextualHelpLayout/PageHelpRegistry/Registrations/Areas/Library/LibraryTenantTagSetRegistration.tsx","webpack://@octopusdeploy/octopus-deploy-portal/./app/components/ContextualHelpLayout/PageHelpRegistry/Registrations/Areas/Library/LibraryTenantTagSetsNewRegistration.tsx","webpack://@octopusdeploy/octopus-deploy-portal/./app/components/ContextualHelpLayout/PageHelpRegistry/Registrations/Areas/Library/LibraryTenantTagSetsRegistration.tsx","webpack://@octopusdeploy/octopus-deploy-portal/./app/components/ContextualHelpLayout/PageHelpRegistry/Registrations/Areas/Library/LibraryVariableSetRegistration.tsx","webpack://@octopusdeploy/octopus-deploy-portal/./app/components/ContextualHelpLayout/PageHelpRegistry/Registrations/Areas/Library/LibraryVariableSetsNewRegistration.tsx","webpack://@octopusdeploy/octopus-deploy-portal/./app/components/ContextualHelpLayout/PageHelpRegistry/Registrations/Areas/Library/LibraryVariableSetsRegistration.tsx","webpack://@octopusdeploy/octopus-deploy-portal/./app/components/ContextualHelpLayout/PageHelpRegistry/Registrations/Areas/Projects/ProjectChannelNewRegistration.tsx","webpack://@octopusdeploy/octopus-deploy-portal/./app/components/ContextualHelpLayout/PageHelpRegistry/Registrations/Areas/Projects/ProjectChannelRegistration.tsx","webpack://@octopusdeploy/octopus-deploy-portal/./app/components/ContextualHelpLayout/PageHelpRegistry/Registrations/Areas/Projects/ProjectChannelsRegistration.tsx","webpack://@octopusdeploy/octopus-deploy-portal/./app/components/ContextualHelpLayout/PageHelpRegistry/Registrations/Areas/Projects/ProjectChildStepTemplatesRegistration.tsx","webpack://@octopusdeploy/octopus-deploy-portal/./app/components/ContextualHelpLayout/PageHelpRegistry/Registrations/Areas/Projects/ProjectDeploymentNewRegistration.tsx","webpack://@octopusdeploy/octopus-deploy-portal/./app/components/ContextualHelpLayout/PageHelpRegistry/Registrations/Areas/Projects/ProjectDeploymentRegistration.tsx","webpack://@octopusdeploy/octopus-deploy-portal/./app/components/ContextualHelpLayout/PageHelpRegistry/Registrations/Areas/Projects/ProjectDeploymentRetryRegistration.tsx","webpack://@octopusdeploy/octopus-deploy-portal/./app/components/ContextualHelpLayout/PageHelpRegistry/Registrations/Areas/Projects/ProjectDeploymentsRegistration.tsx","webpack://@octopusdeploy/octopus-deploy-portal/./app/components/ContextualHelpLayout/PageHelpRegistry/Registrations/Areas/Projects/ProjectDeploymentsSettingsRegistration.tsx","webpack://@octopusdeploy/octopus-deploy-portal/./app/components/ContextualHelpLayout/PageHelpRegistry/Registrations/Areas/Projects/ProjectExportRegistration.tsx","webpack://@octopusdeploy/octopus-deploy-portal/./app/components/ContextualHelpLayout/PageHelpRegistry/Registrations/Areas/Projects/ProjectGroupEditRegistration.tsx","webpack://@octopusdeploy/octopus-deploy-portal/./app/components/ContextualHelpLayout/PageHelpRegistry/Registrations/Areas/Projects/ProjectITSMProvidersSettingsRegistration.tsx","webpack://@octopusdeploy/octopus-deploy-portal/./app/components/ContextualHelpLayout/PageHelpRegistry/Registrations/Areas/Projects/ProjectImportExportTasksRegistration.tsx","webpack://@octopusdeploy/octopus-deploy-portal/./app/components/ContextualHelpLayout/PageHelpRegistry/Registrations/Areas/Projects/ProjectImportRegistration.tsx","webpack://@octopusdeploy/octopus-deploy-portal/./app/components/ContextualHelpLayout/PageHelpRegistry/Registrations/Areas/Projects/ProjectInsightDeploymentDurationRegistration.tsx","webpack://@octopusdeploy/octopus-deploy-portal/./app/components/ContextualHelpLayout/PageHelpRegistry/Registrations/Areas/Projects/ProjectInsightDeploymentLeadTimeRegistration.tsx","webpack://@octopusdeploy/octopus-deploy-portal/./app/components/ContextualHelpLayout/PageHelpRegistry/Registrations/Areas/Projects/ProjectInsightsDeploymentFailureRateRegistration.tsx","webpack://@octopusdeploy/octopus-deploy-portal/./app/components/ContextualHelpLayout/PageHelpRegistry/Registrations/Areas/Projects/ProjectInsightsDeploymentFrequencyRegistration.tsx","webpack://@octopusdeploy/octopus-deploy-portal/./app/components/ContextualHelpLayout/PageHelpRegistry/Registrations/Areas/Projects/ProjectInsightsMeanTimeToRecoveryRegistration.tsx","webpack://@octopusdeploy/octopus-deploy-portal/./app/components/ContextualHelpLayout/PageHelpRegistry/Registrations/Areas/Projects/ProjectInsightsOverviewRegistration.tsx","webpack://@octopusdeploy/octopus-deploy-portal/./app/components/ContextualHelpLayout/PageHelpRegistry/Registrations/Areas/Projects/ProjectOperationsRegistration.tsx","webpack://@octopusdeploy/octopus-deploy-portal/./app/components/ContextualHelpLayout/PageHelpRegistry/Registrations/CommonComponents/CommonProjectOverviewViews.tsx","webpack://@octopusdeploy/octopus-deploy-portal/./app/components/ContextualHelpLayout/PageHelpRegistry/Registrations/Areas/Projects/ProjectOverviewRegistration.tsx","webpack://@octopusdeploy/octopus-deploy-portal/./app/components/ContextualHelpLayout/PageHelpRegistry/Registrations/Areas/Projects/ProjectProcessChildStepTemplatesRegistration.tsx","webpack://@octopusdeploy/octopus-deploy-portal/./app/components/ContextualHelpLayout/PageHelpRegistry/Registrations/Areas/Projects/ProjectProcessRegistration.tsx","webpack://@octopusdeploy/octopus-deploy-portal/./app/components/ContextualHelpLayout/PageHelpRegistry/Registrations/Areas/Projects/ProjectProcessStepNewRegistration.tsx","webpack://@octopusdeploy/octopus-deploy-portal/./app/components/ContextualHelpLayout/PageHelpRegistry/Registrations/Areas/Projects/ProjectProcessStepRegistration.tsx","webpack://@octopusdeploy/octopus-deploy-portal/./app/components/ContextualHelpLayout/PageHelpRegistry/Registrations/Areas/Projects/ProjectProcessStepTemplatesRegistration.tsx","webpack://@octopusdeploy/octopus-deploy-portal/./app/components/ContextualHelpLayout/PageHelpRegistry/Registrations/CommonComponents/CommonProjectViews.tsx","webpack://@octopusdeploy/octopus-deploy-portal/./app/components/ContextualHelpLayout/PageHelpRegistry/Registrations/Areas/Projects/ProjectRegistration.tsx","webpack://@octopusdeploy/octopus-deploy-portal/./app/components/ContextualHelpLayout/PageHelpRegistry/Registrations/Areas/Projects/ProjectReleaseNewRegistration.tsx","webpack://@octopusdeploy/octopus-deploy-portal/./app/components/ContextualHelpLayout/PageHelpRegistry/Registrations/Areas/Projects/ProjectReleaseVersionEditRegistration.tsx","webpack://@octopusdeploy/octopus-deploy-portal/./app/components/ContextualHelpLayout/PageHelpRegistry/Registrations/Areas/Projects/ProjectReleaseVersionRegistration.tsx","webpack://@octopusdeploy/octopus-deploy-portal/./app/components/ContextualHelpLayout/PageHelpRegistry/Registrations/Areas/Projects/ProjectReleasesRegistration.tsx","webpack://@octopusdeploy/octopus-deploy-portal/./app/components/ContextualHelpLayout/PageHelpRegistry/Registrations/CommonComponents/CommonProjectRunbookViews.tsx","webpack://@octopusdeploy/octopus-deploy-portal/./app/components/ContextualHelpLayout/PageHelpRegistry/Registrations/Areas/Projects/ProjectRunbookOverviewRegistration.tsx","webpack://@octopusdeploy/octopus-deploy-portal/./app/components/ContextualHelpLayout/PageHelpRegistry/Registrations/Areas/Projects/ProjectRunbookProcessRegistration.tsx","webpack://@octopusdeploy/octopus-deploy-portal/./app/components/ContextualHelpLayout/PageHelpRegistry/Registrations/Areas/Projects/ProjectRunbookProcessStepNewRegistration.tsx","webpack://@octopusdeploy/octopus-deploy-portal/./app/components/ContextualHelpLayout/PageHelpRegistry/Registrations/Areas/Projects/ProjectRunbookProcessStepRegistration.tsx","webpack://@octopusdeploy/octopus-deploy-portal/./app/components/ContextualHelpLayout/PageHelpRegistry/Registrations/Areas/Projects/ProjectRunbookProcessStepTemplatesRegistration.tsx","webpack://@octopusdeploy/octopus-deploy-portal/./app/components/ContextualHelpLayout/PageHelpRegistry/Registrations/Areas/Projects/ProjectRunbookRunNowRegistration.tsx","webpack://@octopusdeploy/octopus-deploy-portal/./app/components/ContextualHelpLayout/PageHelpRegistry/Registrations/Areas/Projects/ProjectRunbookRunsListRegistration.tsx","webpack://@octopusdeploy/octopus-deploy-portal/./app/components/ContextualHelpLayout/PageHelpRegistry/Registrations/Areas/Projects/ProjectRunbookSettingsRegistration.tsx","webpack://@octopusdeploy/octopus-deploy-portal/./app/components/ContextualHelpLayout/PageHelpRegistry/Registrations/Areas/Projects/ProjectRunbookSnapshotCreateRegistration.tsx","webpack://@octopusdeploy/octopus-deploy-portal/./app/components/ContextualHelpLayout/PageHelpRegistry/Registrations/Areas/Projects/ProjectRunbookSnapshotEditRegistration.tsx","webpack://@octopusdeploy/octopus-deploy-portal/./app/components/ContextualHelpLayout/PageHelpRegistry/Registrations/Areas/Projects/ProjectRunbookSnapshotRootRegistration.tsx","webpack://@octopusdeploy/octopus-deploy-portal/./app/components/ContextualHelpLayout/PageHelpRegistry/Registrations/Areas/Projects/ProjectRunbookSnapshotRunbookRunsCreateRegistration.tsx","webpack://@octopusdeploy/octopus-deploy-portal/./app/components/ContextualHelpLayout/PageHelpRegistry/Registrations/Areas/Projects/ProjectRunbookSnapshotRunbookRunsRetryRegistration.tsx","webpack://@octopusdeploy/octopus-deploy-portal/./app/components/ContextualHelpLayout/PageHelpRegistry/Registrations/Areas/Projects/ProjectRunbookSnapshotRunbookRunsSpecificRegistration.tsx","webpack://@octopusdeploy/octopus-deploy-portal/./app/components/ContextualHelpLayout/PageHelpRegistry/Registrations/Areas/Projects/ProjectRunbookSnapshotsRegistration.tsx","webpack://@octopusdeploy/octopus-deploy-portal/./app/components/ContextualHelpLayout/PageHelpRegistry/Registrations/Areas/Projects/ProjectRunbooksRegistration.tsx","webpack://@octopusdeploy/octopus-deploy-portal/./app/components/ContextualHelpLayout/PageHelpRegistry/Registrations/CommonComponents/CommonProjectRunbookScheduledTriggersView.tsx","webpack://@octopusdeploy/octopus-deploy-portal/./app/components/ContextualHelpLayout/PageHelpRegistry/Registrations/Areas/Projects/ProjectRunbooksScheduledTriggersNewRegistration.tsx","webpack://@octopusdeploy/octopus-deploy-portal/./app/components/ContextualHelpLayout/PageHelpRegistry/Registrations/CommonComponents/CommonProjectRunbookTriggersView.tsx","webpack://@octopusdeploy/octopus-deploy-portal/./app/components/ContextualHelpLayout/PageHelpRegistry/Registrations/Areas/Projects/ProjectRunbooksTriggersRegistration.tsx","webpack://@octopusdeploy/octopus-deploy-portal/./app/components/ContextualHelpLayout/PageHelpRegistry/Registrations/Areas/Projects/ProjectSettingsRegistration.tsx","webpack://@octopusdeploy/octopus-deploy-portal/./app/components/ContextualHelpLayout/PageHelpRegistry/Registrations/Areas/Projects/ProjectStepTemplatesRegistration.tsx","webpack://@octopusdeploy/octopus-deploy-portal/./app/components/ContextualHelpLayout/PageHelpRegistry/Registrations/Areas/Projects/ProjectTasksRegistration.tsx","webpack://@octopusdeploy/octopus-deploy-portal/./app/components/ContextualHelpLayout/PageHelpRegistry/Registrations/Areas/Projects/ProjectTenantCommonTemplatesRegistration.tsx","webpack://@octopusdeploy/octopus-deploy-portal/./app/components/ContextualHelpLayout/PageHelpRegistry/Registrations/Areas/Projects/ProjectTenantProjectTemplatesRegistration.tsx","webpack://@octopusdeploy/octopus-deploy-portal/./app/components/ContextualHelpLayout/PageHelpRegistry/Registrations/CommonComponents/CommonProjectTenantsView.tsx","webpack://@octopusdeploy/octopus-deploy-portal/./app/components/ContextualHelpLayout/PageHelpRegistry/Registrations/Areas/Projects/ProjectTenantsRegistration.tsx","webpack://@octopusdeploy/octopus-deploy-portal/./app/components/ContextualHelpLayout/PageHelpRegistry/Registrations/Areas/Projects/ProjectTriggerBuiltInFeedNewRegistration.tsx","webpack://@octopusdeploy/octopus-deploy-portal/./app/components/ContextualHelpLayout/PageHelpRegistry/Registrations/Areas/Projects/ProjectTriggerBuiltInFeedRegistration.tsx","webpack://@octopusdeploy/octopus-deploy-portal/./app/components/ContextualHelpLayout/PageHelpRegistry/Registrations/Areas/Projects/ProjectTriggerDeploymentTargetNewRegistration.tsx","webpack://@octopusdeploy/octopus-deploy-portal/./app/components/ContextualHelpLayout/PageHelpRegistry/Registrations/Areas/Projects/ProjectTriggerDeploymentTargetRegistration.tsx","webpack://@octopusdeploy/octopus-deploy-portal/./app/components/ContextualHelpLayout/PageHelpRegistry/Registrations/Areas/Projects/ProjectTriggerGitRepositoryNewRegistration.tsx","webpack://@octopusdeploy/octopus-deploy-portal/./app/components/ContextualHelpLayout/PageHelpRegistry/Registrations/Areas/Projects/ProjectTriggerGitRepositoryRegistration.tsx","webpack://@octopusdeploy/octopus-deploy-portal/./app/components/ContextualHelpLayout/PageHelpRegistry/Registrations/Areas/Projects/ProjectTriggerReleaseNewRegistration.tsx","webpack://@octopusdeploy/octopus-deploy-portal/./app/components/ContextualHelpLayout/PageHelpRegistry/Registrations/Areas/Projects/ProjectTriggerReleaseRegistration.tsx","webpack://@octopusdeploy/octopus-deploy-portal/./app/components/ContextualHelpLayout/PageHelpRegistry/Registrations/Areas/Projects/ProjectTriggerScheduledNewRegistration.tsx","webpack://@octopusdeploy/octopus-deploy-portal/./app/components/ContextualHelpLayout/PageHelpRegistry/Registrations/Areas/Projects/ProjectTriggerScheduledRegistration.tsx","webpack://@octopusdeploy/octopus-deploy-portal/./app/components/ContextualHelpLayout/PageHelpRegistry/Registrations/Areas/Projects/ProjectTriggersRegistration.tsx","webpack://@octopusdeploy/octopus-deploy-portal/./app/components/ContextualHelpLayout/PageHelpRegistry/Registrations/Areas/Projects/ProjectVariableAllRegistration.tsx","webpack://@octopusdeploy/octopus-deploy-portal/./app/components/ContextualHelpLayout/PageHelpRegistry/Registrations/Areas/Projects/ProjectVariableCommonTemplatesRegistration.tsx","webpack://@octopusdeploy/octopus-deploy-portal/./app/components/ContextualHelpLayout/PageHelpRegistry/Registrations/Areas/Projects/ProjectVariableLibraryRegistration.tsx","webpack://@octopusdeploy/octopus-deploy-portal/./app/components/ContextualHelpLayout/PageHelpRegistry/Registrations/Areas/Projects/ProjectVariablePreviewRegistration.tsx","webpack://@octopusdeploy/octopus-deploy-portal/./app/components/ContextualHelpLayout/PageHelpRegistry/Registrations/Areas/Projects/ProjectVariableTemplatesRegistration.tsx","webpack://@octopusdeploy/octopus-deploy-portal/./app/components/ContextualHelpLayout/PageHelpRegistry/Registrations/Areas/Projects/ProjectVariablesRegistration.tsx","webpack://@octopusdeploy/octopus-deploy-portal/./app/components/ContextualHelpLayout/PageHelpRegistry/Registrations/CommonComponents/CommonGitViews.tsx","webpack://@octopusdeploy/octopus-deploy-portal/./app/components/ContextualHelpLayout/PageHelpRegistry/Registrations/Areas/Projects/ProjectVersionControlSettingsRegistration.tsx","webpack://@octopusdeploy/octopus-deploy-portal/./app/components/ContextualHelpLayout/PageHelpRegistry/Registrations/CommonComponents/CommonProjectsViews.tsx","webpack://@octopusdeploy/octopus-deploy-portal/./app/components/ContextualHelpLayout/PageHelpRegistry/Registrations/Areas/Projects/ProjectsRegistration.tsx","webpack://@octopusdeploy/octopus-deploy-portal/./app/components/ContextualHelpLayout/PageHelpRegistry/Registrations/Areas/Projects/components/CreateSampleProjectCallout/CreateSampleProjectCallout.tsx","webpack://@octopusdeploy/octopus-deploy-portal/./app/components/ContextualHelpLayout/PageHelpRegistry/Registrations/Areas/Projects/components/CreateSampleProjectCallout/index.ts","webpack://@octopusdeploy/octopus-deploy-portal/./app/components/ContextualHelpLayout/PageHelpRegistry/Registrations/Areas/Tasks/TaskRawRegistration.tsx","webpack://@octopusdeploy/octopus-deploy-portal/./app/components/ContextualHelpLayout/PageHelpRegistry/Registrations/Areas/Tasks/TaskRegistration.tsx","webpack://@octopusdeploy/octopus-deploy-portal/./app/components/ContextualHelpLayout/PageHelpRegistry/Registrations/Areas/Tasks/TasksRegistration.tsx","webpack://@octopusdeploy/octopus-deploy-portal/./app/components/ContextualHelpLayout/PageHelpRegistry/Registrations/Areas/Tasks/TasksScriptConsoleRegistration.tsx","webpack://@octopusdeploy/octopus-deploy-portal/./app/components/ContextualHelpLayout/PageHelpRegistry/Registrations/Areas/Tenants/TenantOverviewRegistration.tsx","webpack://@octopusdeploy/octopus-deploy-portal/./app/components/ContextualHelpLayout/PageHelpRegistry/Registrations/Areas/Tenants/TenantSettingsRegistration.tsx","webpack://@octopusdeploy/octopus-deploy-portal/./app/components/ContextualHelpLayout/PageHelpRegistry/Registrations/Areas/Tenants/TenantTasksRegistration.tsx","webpack://@octopusdeploy/octopus-deploy-portal/./app/components/ContextualHelpLayout/PageHelpRegistry/Registrations/Areas/Tenants/TenantVariablesRegistration.tsx","webpack://@octopusdeploy/octopus-deploy-portal/./app/components/ContextualHelpLayout/PageHelpRegistry/Registrations/Areas/Tenants/TenantsRegistration.tsx","webpack://@octopusdeploy/octopus-deploy-portal/./app/components/ContextualHelpLayout/PageHelpRegistry/Registrations/Areas/UserProfile/UserProfileActivityRegistration.tsx","webpack://@octopusdeploy/octopus-deploy-portal/./app/components/ContextualHelpLayout/PageHelpRegistry/Registrations/Areas/UserProfile/UserProfileApiKeysRegistration.tsx","webpack://@octopusdeploy/octopus-deploy-portal/./app/components/ContextualHelpLayout/PageHelpRegistry/Registrations/Areas/UserProfile/UserProfileDetailsRegistration.tsx","webpack://@octopusdeploy/octopus-deploy-portal/./app/components/ContextualHelpLayout/PageHelpRegistry/Registrations/Areas/UserProfile/UserProfileLoginsRegistration.tsx","webpack://@octopusdeploy/octopus-deploy-portal/./app/components/ContextualHelpLayout/PageHelpRegistry/Registrations/Areas/UserProfile/UserProfileRegistration.tsx","webpack://@octopusdeploy/octopus-deploy-portal/./app/components/ContextualHelpLayout/PageHelpRegistry/Registrations/Areas/UserProfile/UserRegisterRegistration.tsx","webpack://@octopusdeploy/octopus-deploy-portal/./app/components/ContextualHelpLayout/PageHelpRegistry/Registrations/Areas/UserProfile/UserSignInRegistration.tsx","webpack://@octopusdeploy/octopus-deploy-portal/./app/components/ContextualHelpLayout/PageHelpRegistry/Registrations/Areas/UserProfile/UserSignOutRegistration.tsx","webpack://@octopusdeploy/octopus-deploy-portal/./app/components/ContextualHelpLayout/PageHelpRegistry/Registrations/CommonComponents/CommonConfigurationDeploymentFreezesViews.tsx","webpack://@octopusdeploy/octopus-deploy-portal/./app/components/ContextualHelpLayout/PageHelpRegistry/Registrations/CommonComponents/CommonConfigurationDiagnosticsViews.tsx","webpack://@octopusdeploy/octopus-deploy-portal/./app/components/ContextualHelpLayout/PageHelpRegistry/Registrations/CommonComponents/CommonConfigurationLetsEncryptViews.tsx","webpack://@octopusdeploy/octopus-deploy-portal/./app/components/ContextualHelpLayout/PageHelpRegistry/Registrations/CommonComponents/CommonConfigurationNodesViews.tsx","webpack://@octopusdeploy/octopus-deploy-portal/./app/components/ContextualHelpLayout/PageHelpRegistry/Registrations/CommonComponents/CommonConfigurationRoleViews.tsx","webpack://@octopusdeploy/octopus-deploy-portal/./app/components/ContextualHelpLayout/PageHelpRegistry/Registrations/CommonComponents/CommonConfigurationSpaceViews.tsx","webpack://@octopusdeploy/octopus-deploy-portal/./app/components/ContextualHelpLayout/PageHelpRegistry/Registrations/CommonComponents/CommonConfigurationSubscriptionViews.tsx","webpack://@octopusdeploy/octopus-deploy-portal/./app/components/ContextualHelpLayout/PageHelpRegistry/Registrations/CommonComponents/CommonConfigurationTeamViews.tsx","webpack://@octopusdeploy/octopus-deploy-portal/./app/components/ContextualHelpLayout/PageHelpRegistry/Registrations/CommonComponents/CommonConfigurationTestPermissionViews.tsx","webpack://@octopusdeploy/octopus-deploy-portal/./app/components/ContextualHelpLayout/PageHelpRegistry/Registrations/CommonComponents/CommonConfigurationUserViews.tsx","webpack://@octopusdeploy/octopus-deploy-portal/./app/components/ContextualHelpLayout/PageHelpRegistry/Registrations/CommonComponents/CommonDashboardViews.tsx","webpack://@octopusdeploy/octopus-deploy-portal/./app/components/ContextualHelpLayout/PageHelpRegistry/Registrations/CommonComponents/CommonDeploymentTargetViews.tsx","webpack://@octopusdeploy/octopus-deploy-portal/./app/components/ContextualHelpLayout/PageHelpRegistry/Registrations/CommonComponents/CommonEnvironmentViews.tsx","webpack://@octopusdeploy/octopus-deploy-portal/./app/components/ContextualHelpLayout/PageHelpRegistry/Registrations/CommonComponents/CommonInfrastructureAccountViews.tsx","webpack://@octopusdeploy/octopus-deploy-portal/./app/components/ContextualHelpLayout/PageHelpRegistry/Registrations/CommonComponents/CommonInfrastructureMachinePolicyViews.tsx","webpack://@octopusdeploy/octopus-deploy-portal/./app/components/ContextualHelpLayout/PageHelpRegistry/Registrations/CommonComponents/CommonInfrastructureProxyViews.tsx","webpack://@octopusdeploy/octopus-deploy-portal/./app/components/ContextualHelpLayout/PageHelpRegistry/Registrations/CommonComponents/CommonInsightViews.tsx","webpack://@octopusdeploy/octopus-deploy-portal/./app/components/ContextualHelpLayout/PageHelpRegistry/Registrations/CommonComponents/CommonInsightsDeploymentDurationViews.tsx","webpack://@octopusdeploy/octopus-deploy-portal/./app/components/ContextualHelpLayout/PageHelpRegistry/Registrations/CommonComponents/CommonInsightsDeploymentFailureRateViews.tsx","webpack://@octopusdeploy/octopus-deploy-portal/./app/components/ContextualHelpLayout/PageHelpRegistry/Registrations/CommonComponents/CommonInsightsDeploymentFrequencyViews.tsx","webpack://@octopusdeploy/octopus-deploy-portal/./app/components/ContextualHelpLayout/PageHelpRegistry/Registrations/CommonComponents/CommonInsightsDeploymentLeadTimeViews.tsx","webpack://@octopusdeploy/octopus-deploy-portal/./app/components/ContextualHelpLayout/PageHelpRegistry/Registrations/CommonComponents/CommonInsightsMeanTimeToRecoveryViews.tsx","webpack://@octopusdeploy/octopus-deploy-portal/./app/components/ContextualHelpLayout/PageHelpRegistry/Registrations/CommonComponents/CommonInsightsReportsView.tsx","webpack://@octopusdeploy/octopus-deploy-portal/./app/components/ContextualHelpLayout/PageHelpRegistry/Registrations/CommonComponents/CommonLibraryBuildInformationRepositoryViews.tsx","webpack://@octopusdeploy/octopus-deploy-portal/./app/components/ContextualHelpLayout/PageHelpRegistry/Registrations/CommonComponents/CommonLibraryBuiltInRepositoryViews.tsx","webpack://@octopusdeploy/octopus-deploy-portal/./app/components/ContextualHelpLayout/PageHelpRegistry/Registrations/CommonComponents/CommonLibraryCertificateViews.tsx","webpack://@octopusdeploy/octopus-deploy-portal/./app/components/ContextualHelpLayout/PageHelpRegistry/Registrations/CommonComponents/CommonLibraryFeedViews.tsx","webpack://@octopusdeploy/octopus-deploy-portal/./app/components/ContextualHelpLayout/PageHelpRegistry/Registrations/CommonComponents/CommonLibraryGitConnectionViews.tsx","webpack://@octopusdeploy/octopus-deploy-portal/./app/components/ContextualHelpLayout/PageHelpRegistry/Registrations/CommonComponents/CommonLibraryGitCredentialsViews.tsx","webpack://@octopusdeploy/octopus-deploy-portal/./app/components/ContextualHelpLayout/PageHelpRegistry/Registrations/CommonComponents/CommonLibraryLifecycleViews.tsx","webpack://@octopusdeploy/octopus-deploy-portal/./app/components/ContextualHelpLayout/PageHelpRegistry/Registrations/CommonComponents/CommonLibraryScriptModuleViews.tsx","webpack://@octopusdeploy/octopus-deploy-portal/./app/components/ContextualHelpLayout/PageHelpRegistry/Registrations/CommonComponents/CommonLibraryStepTemplateViews.tsx","webpack://@octopusdeploy/octopus-deploy-portal/./app/components/ContextualHelpLayout/PageHelpRegistry/Registrations/CommonComponents/CommonLibraryTenantTagSetViews.tsx","webpack://@octopusdeploy/octopus-deploy-portal/./app/components/ContextualHelpLayout/PageHelpRegistry/Registrations/CommonComponents/CommonLibraryVariableSetViews.tsx","webpack://@octopusdeploy/octopus-deploy-portal/./app/components/ContextualHelpLayout/PageHelpRegistry/Registrations/CommonComponents/CommonProjectChannelViews.tsx","webpack://@octopusdeploy/octopus-deploy-portal/./app/components/ContextualHelpLayout/PageHelpRegistry/Registrations/CommonComponents/CommonProjectDeploymentViews.tsx","webpack://@octopusdeploy/octopus-deploy-portal/./app/components/ContextualHelpLayout/PageHelpRegistry/Registrations/CommonComponents/CommonProjectProcessViews.tsx","webpack://@octopusdeploy/octopus-deploy-portal/./app/components/ContextualHelpLayout/PageHelpRegistry/Registrations/CommonComponents/CommonProjectReleaseViews.tsx","webpack://@octopusdeploy/octopus-deploy-portal/./app/components/ContextualHelpLayout/PageHelpRegistry/Registrations/CommonComponents/CommonProjectRunbookSnapshotsViews.tsx","webpack://@octopusdeploy/octopus-deploy-portal/./app/components/ContextualHelpLayout/PageHelpRegistry/Registrations/CommonComponents/CommonProjectRunbooksViews.tsx","webpack://@octopusdeploy/octopus-deploy-portal/./app/components/ContextualHelpLayout/PageHelpRegistry/Registrations/CommonComponents/CommonProjectTriggerReleaseViews.tsx","webpack://@octopusdeploy/octopus-deploy-portal/./app/components/ContextualHelpLayout/PageHelpRegistry/Registrations/CommonComponents/CommonProjectTriggerViews.tsx","webpack://@octopusdeploy/octopus-deploy-portal/./app/components/ContextualHelpLayout/PageHelpRegistry/Registrations/CommonComponents/CommonProjectVariableViews.tsx","webpack://@octopusdeploy/octopus-deploy-portal/./app/components/ContextualHelpLayout/PageHelpRegistry/Registrations/CommonComponents/CommonTaskViews.tsx","webpack://@octopusdeploy/octopus-deploy-portal/./app/components/ContextualHelpLayout/PageHelpRegistry/Registrations/CommonComponents/CommonTenantOverviewViews.tsx","webpack://@octopusdeploy/octopus-deploy-portal/./app/components/ContextualHelpLayout/PageHelpRegistry/Registrations/CommonComponents/CommonTenantViews.tsx","webpack://@octopusdeploy/octopus-deploy-portal/./app/components/ContextualHelpLayout/PageHelpRegistry/Registrations/CommonComponents/CommonUserProfileViews.tsx","webpack://@octopusdeploy/octopus-deploy-portal/./app/components/ContextualHelpLayout/PageHelpRegistry/Registrations/CommonComponents/CommonViews.tsx","webpack://@octopusdeploy/octopus-deploy-portal/./app/components/ContextualHelpLayout/PageHelpRegistry/Registrations/CommonComponents/CommonWorkerPoolViews.tsx","webpack://@octopusdeploy/octopus-deploy-portal/./app/components/ContextualHelpLayout/PageHelpRegistry/Registrations/CommonComponents/CommonWorkerViews.tsx","webpack://@octopusdeploy/octopus-deploy-portal/./app/components/GettingStarted/FundamentalsGuide/FundamentalsGuideDialogLayout.tsx","webpack://@octopusdeploy/octopus-deploy-portal/./app/components/ContextualHelpLayout/PageHelpRegistry/Registrations/CommonComponents/DefaultViews.tsx","webpack://@octopusdeploy/octopus-deploy-portal/./app/components/ContextualHelpLayout/YouTubePlayer.tsx","webpack://@octopusdeploy/octopus-deploy-portal/./app/components/ContextualHelpLayout/getLastRouteSegment.ts","webpack://@octopusdeploy/octopus-deploy-portal/./app/components/ContextualHelpLayout/reducers/actions.ts","webpack://@octopusdeploy/octopus-deploy-portal/./app/components/ContextualHelpLayout/reducers/drawerArea.ts","webpack://@octopusdeploy/octopus-deploy-portal/./app/components/ContextualHelpLayout/reducers/index.ts","webpack://@octopusdeploy/octopus-deploy-portal/./app/components/ContextualHelpLayout/reducers/selectors.ts","webpack://@octopusdeploy/octopus-deploy-portal/./app/components/DataBaseComponent/DataBaseComponent.tsx","webpack://@octopusdeploy/octopus-deploy-portal/./app/components/DataBaseComponent/DataBaseComponentContext.tsx","webpack://@octopusdeploy/octopus-deploy-portal/./app/components/DataBaseComponent/Errors.tsx","webpack://@octopusdeploy/octopus-deploy-portal/./app/components/DataBaseComponent/useDoBusyTaskEffect.ts","webpack://@octopusdeploy/octopus-deploy-portal/./app/components/DataBaseComponent/index.ts","webpack://@octopusdeploy/octopus-deploy-portal/./app/components/DebounceValue/DebounceValue.tsx","webpack://@octopusdeploy/octopus-deploy-portal/./app/components/Dialog/ConfirmationDialog.tsx","webpack://@octopusdeploy/octopus-deploy-portal/./app/components/Dialog/CustomDialog.tsx","webpack://@octopusdeploy/octopus-deploy-portal/./app/components/Dialog/DeleteDialog.tsx","webpack://@octopusdeploy/octopus-deploy-portal/./app/components/Dialog/DeleteDialogLayout.tsx","webpack://@octopusdeploy/octopus-deploy-portal/./app/components/Dialog/Dialog.tsx","webpack://@octopusdeploy/octopus-deploy-portal/./app/components/Dialog/DialogLayoutConnect.tsx","webpack://@octopusdeploy/octopus-deploy-portal/./app/components/Dialog/OpenDialogConnect.tsx","webpack://@octopusdeploy/octopus-deploy-portal/./app/utils/UniqueSequenceGenerator/UniqueSequenceGenerator.ts","webpack://@octopusdeploy/octopus-deploy-portal/./app/components/Dialog/dialogIdGenerator.ts","webpack://@octopusdeploy/octopus-deploy-portal/./app/components/Dialog/store/dialog.ts","webpack://@octopusdeploy/octopus-deploy-portal/./app/components/Dialog/store/index.ts","webpack://@octopusdeploy/octopus-deploy-portal/./app/components/DialogLayout/Custom/CustomDialogActions.tsx","webpack://@octopusdeploy/octopus-deploy-portal/./app/components/DialogLayout/Custom/CustomDialogContent.tsx","webpack://@octopusdeploy/octopus-deploy-portal/./app/components/DialogLayout/Custom/CustomDialogFrames.tsx","webpack://@octopusdeploy/octopus-deploy-portal/./app/components/DialogLayout/Custom/CustomDialogTitleBar.tsx","webpack://@octopusdeploy/octopus-deploy-portal/./app/components/DialogLayout/Custom/CustomSaveDialogLayout.tsx","webpack://@octopusdeploy/octopus-deploy-portal/./app/components/DialogLayout/Custom/CustomInfoDialogLayout.tsx","webpack://@octopusdeploy/octopus-deploy-portal/./app/components/DialogLayout/Custom/CustomExternalLinkDialogLayout.tsx","webpack://@octopusdeploy/octopus-deploy-portal/./app/components/DialogLayout/Custom/CustomWizardDialogLayout.tsx","webpack://@octopusdeploy/octopus-deploy-portal/./app/components/DialogLayout/Custom/ToggleFrame.tsx","webpack://@octopusdeploy/octopus-deploy-portal/./app/components/DialogLayout/DialogLayout.tsx","webpack://@octopusdeploy/octopus-deploy-portal/./app/components/ErrorContext/ErrorContext.tsx","webpack://@octopusdeploy/octopus-deploy-portal/./app/components/ErrorPanel/ErrorPanel.tsx","webpack://@octopusdeploy/octopus-deploy-portal/./app/components/Expandable/Expandable.tsx","webpack://@octopusdeploy/octopus-deploy-portal/./app/components/Expandable/useExpandAllExpanders.ts","webpack://@octopusdeploy/octopus-deploy-portal/./app/components/Expandable/useExpandExpanders.ts","webpack://@octopusdeploy/octopus-deploy-portal/./app/components/FeatureToggle/New/FeatureToggleContext.tsx","webpack://@octopusdeploy/octopus-deploy-portal/./app/components/FilterSearchBox/FilterSearchBox.tsx","webpack://@octopusdeploy/octopus-deploy-portal/./app/components/FilterSearchBox/index.tsx","webpack://@octopusdeploy/octopus-deploy-portal/./app/components/FormComponent/FormComponent.tsx","webpack://@octopusdeploy/octopus-deploy-portal/./app/components/FormPaperLayout/reducers.ts","webpack://@octopusdeploy/octopus-deploy-portal/./app/components/GettingStarted/ImageWithPlaceholder/ImageWithPlaceholder.tsx","webpack://@octopusdeploy/octopus-deploy-portal/./app/components/IconButtonList/IconButtonList.tsx","webpack://@octopusdeploy/octopus-deploy-portal/./app/components/IconButtonWithTooltip/IconButtonWithTooltip.tsx","webpack://@octopusdeploy/octopus-deploy-portal/./app/components/Images/NoResults/NoResults.tsx","webpack://@octopusdeploy/octopus-deploy-portal/./app/components/InputWithActions/InputWithActions.tsx","webpack://@octopusdeploy/octopus-deploy-portal/./app/components/sizes.ts","webpack://@octopusdeploy/octopus-deploy-portal/./app/components/InputWithActions/index.tsx","webpack://@octopusdeploy/octopus-deploy-portal/./app/components/KeyboardHandler/KeyboardHandler.tsx","webpack://@octopusdeploy/octopus-deploy-portal/./app/components/LabelStrategy/LabelStrategy.tsx","webpack://@octopusdeploy/octopus-deploy-portal/./app/components/Navbar/NotificationPoller/notificationLocalState.ts","webpack://@octopusdeploy/octopus-deploy-portal/./app/components/Navbar/notifications.redux.ts","webpack://@octopusdeploy/octopus-deploy-portal/./app/components/Navigation/ExternalLink/ExternalLink.tsx","webpack://@octopusdeploy/octopus-deploy-portal/./app/components/Navigation/ExternalLink/index.tsx","webpack://@octopusdeploy/octopus-deploy-portal/./app/components/Navigation/InternalLink/InternalLink.tsx","webpack://@octopusdeploy/octopus-deploy-portal/./app/components/Navigation/InternalLink/index.tsx","webpack://@octopusdeploy/octopus-deploy-portal/./app/components/Navigation/InternalLink/isUrl.tsx","webpack://@octopusdeploy/octopus-deploy-portal/./app/components/Navigation/SpaceAwareNavigation/SpaceAwareNavigation.ts","webpack://@octopusdeploy/octopus-deploy-portal/./app/components/Navigation/SpaceAwareNavigation/useSpaceAwareNavigation.ts","webpack://@octopusdeploy/octopus-deploy-portal/./app/components/Navigation/useUrlResolver.ts","webpack://@octopusdeploy/octopus-deploy-portal/./app/components/NoResults/NoResults.tsx","webpack://@octopusdeploy/octopus-deploy-portal/./app/components/OverflowMenu/OpenConfirmActionDialogMenuItem.tsx","webpack://@octopusdeploy/octopus-deploy-portal/./app/components/Dialog/ConfirmUpgradeDialog.tsx","webpack://@octopusdeploy/octopus-deploy-portal/./app/components/OverflowMenu/OpenConfirmUpgradeDialogMenuItem.tsx","webpack://@octopusdeploy/octopus-deploy-portal/./app/components/OverflowMenu/OpenDeleteDialogMenuItem.tsx","webpack://@octopusdeploy/octopus-deploy-portal/./app/components/OverflowMenu/OpenDialogMenuItem.tsx","webpack://@octopusdeploy/octopus-deploy-portal/./app/components/OverflowMenu/OverflowMenu.tsx","webpack://@octopusdeploy/octopus-deploy-portal/./app/components/PagingBaseComponent/NumberedPagingBar.tsx","webpack://@octopusdeploy/octopus-deploy-portal/./app/components/PagingBaseComponent/PagingBaseComponent.tsx","webpack://@octopusdeploy/octopus-deploy-portal/./app/components/PagingList/ListInternalLink.tsx","webpack://@octopusdeploy/octopus-deploy-portal/./app/components/PagingList/SimplePagingList.tsx","webpack://@octopusdeploy/octopus-deploy-portal/./app/components/PermissionCheck/PermissionCheck.tsx","webpack://@octopusdeploy/octopus-deploy-portal/./app/utils/isRunningInAFunctionalTest.ts","webpack://@octopusdeploy/octopus-deploy-portal/./app/components/Section/Section.tsx","webpack://@octopusdeploy/octopus-deploy-portal/./app/components/Section/index.tsx","webpack://@octopusdeploy/octopus-deploy-portal/./app/components/SmoothScroll/SmoothScroll.tsx","webpack://@octopusdeploy/octopus-deploy-portal/./app/components/Theme/Themes.ts","webpack://@octopusdeploy/octopus-deploy-portal/./app/components/Theme/ThemeApplier.tsx","webpack://@octopusdeploy/octopus-deploy-portal/./app/components/Theme/Theme.tsx","webpack://@octopusdeploy/octopus-deploy-portal/./app/components/Theme/useThemePaletteType.ts","webpack://@octopusdeploy/octopus-deploy-portal/./app/components/Theme/analytics/useTrackThemeChanged.ts","webpack://@octopusdeploy/octopus-deploy-portal/./app/components/TransitionAnimation/TransitionAnimation.tsx","webpack://@octopusdeploy/octopus-deploy-portal/./app/components/UnhandledError/reducers/actions.ts","webpack://@octopusdeploy/octopus-deploy-portal/./app/components/UnhandledError/reducers/selectors.ts","webpack://@octopusdeploy/octopus-deploy-portal/./app/components/UnhandledError/reducers/index.ts","webpack://@octopusdeploy/octopus-deploy-portal/./app/components/UnhandledError/reducers/current.ts","webpack://@octopusdeploy/octopus-deploy-portal/./app/components/form/BoundField/BoundField.tsx","webpack://@octopusdeploy/octopus-deploy-portal/./app/components/form/BoundField/isBound.ts","webpack://@octopusdeploy/octopus-deploy-portal/./app/components/form/InsertVariableButton/InsertVariableButton.tsx","webpack://@octopusdeploy/octopus-deploy-portal/./app/components/form/LogoEditor/LogoEditor.tsx","webpack://@octopusdeploy/octopus-deploy-portal/./app/components/form/MarkdownEditor/MarkdownProvider.ts","webpack://@octopusdeploy/octopus-deploy-portal/./app/components/form/MarkdownEditor/MarkdownEditor.tsx","webpack://@octopusdeploy/octopus-deploy-portal/./app/components/form/Sections/CardTitle.tsx","webpack://@octopusdeploy/octopus-deploy-portal/./app/components/form/Sections/ExpandableFormSection.tsx","webpack://@octopusdeploy/octopus-deploy-portal/./app/components/form/Sections/ExpansionButtons.tsx","webpack://@octopusdeploy/octopus-deploy-portal/./app/components/form/Sections/FormSection.tsx","webpack://@octopusdeploy/octopus-deploy-portal/./app/components/form/Sections/FormSectionBase.tsx","webpack://@octopusdeploy/octopus-deploy-portal/./app/components/form/Sections/FormSectionHeading.tsx","webpack://@octopusdeploy/octopus-deploy-portal/./app/components/form/Sections/Summary.tsx","webpack://@octopusdeploy/octopus-deploy-portal/./app/components/form/Sections/UnstructuredFormSection.tsx","webpack://@octopusdeploy/octopus-deploy-portal/./app/components/form/Sections/reducers/expanders.ts","webpack://@octopusdeploy/octopus-deploy-portal/./app/components/form/BoundField/IncludeVariableSubstitutionWarning.tsx","webpack://@octopusdeploy/octopus-deploy-portal/./app/components/form/Sensitive/Sensitive.tsx","webpack://@octopusdeploy/octopus-deploy-portal/./app/components/form/SensitiveFileUpload/SensitiveFileUpload.tsx","webpack://@octopusdeploy/octopus-deploy-portal/./app/components/form/Validators.ts","webpack://@octopusdeploy/octopus-deploy-portal/./app/components/form/VariableLookup/VariableLookup.tsx","webpack://@octopusdeploy/octopus-deploy-portal/./app/components/form/VariableLookupText.tsx","webpack://@octopusdeploy/octopus-deploy-portal/./app/fontWeights.ts","webpack://@octopusdeploy/octopus-deploy-portal/./app/globalRequestContext.ts","webpack://@octopusdeploy/octopus-deploy-portal/./app/hooks/localStorageHelpers.ts","webpack://@octopusdeploy/octopus-deploy-portal/./app/hooks/useLocalStorage.ts","webpack://@octopusdeploy/octopus-deploy-portal/./app/hooks/useOctopusFeatureToggle.ts","webpack://@octopusdeploy/octopus-deploy-portal/./app/hooks/useRequiredContext.tsx","webpack://@octopusdeploy/octopus-deploy-portal/./app/utils/logging/configureSerilogIngestion.ts","webpack://@octopusdeploy/octopus-deploy-portal/./app/utils/logging/portalLoggingContext.ts","webpack://@octopusdeploy/octopus-deploy-portal/./app/utils/logging/browserLoggingContext.ts","webpack://@octopusdeploy/octopus-deploy-portal/./app/utils/logging/configureGlobalLoggerForPortal.ts","webpack://@octopusdeploy/octopus-deploy-portal/./app/openTelemetry/tracing.ts","webpack://@octopusdeploy/octopus-deploy-portal/./app/openTelemetry/OnlyWhenAuthenticatedExporter.ts","webpack://@octopusdeploy/octopus-deploy-portal/./app/authExtensionsManager.ts","webpack://@octopusdeploy/octopus-deploy-portal/./app/areas/projects/components/Process/types.ts","webpack://@octopusdeploy/octopus-deploy-portal/./app/components/Actions/jira/JiraServiceDeskChangeRequestStepUI.ts","webpack://@octopusdeploy/octopus-deploy-portal/./app/components/Actions/sample/SampleStepInputs.ts","webpack://@octopusdeploy/octopus-deploy-portal/./app/components/Actions/sample/SampleStepUI.ts","webpack://@octopusdeploy/octopus-deploy-portal/./app/components/Actions/sample/SampleStepPackage.ts","webpack://@octopusdeploy/octopus-deploy-portal/./app/components/StepPackageEditor/Inputs/getPathAsString.ts","webpack://@octopusdeploy/octopus-deploy-portal/./app/components/StepPackageEditor/StepInputDependencies.ts","webpack://@octopusdeploy/octopus-deploy-portal/./app/components/StepPackageEditor/Inputs/emptyInitialValue.ts","webpack://@octopusdeploy/octopus-deploy-portal/./app/components/StepPackageEditor/Inputs/Components/AccountSelector/AccountSelectionConverters.ts","webpack://@octopusdeploy/octopus-deploy-portal/./app/components/ContextualHelp/Video.tsx","webpack://@octopusdeploy/octopus-deploy-portal/./app/components/Navigation/ExternalLink/ExternalVideoLink.tsx","webpack://@octopusdeploy/octopus-deploy-portal/./app/components/StepPackageEditor/Inputs/Note/Note.tsx","webpack://@octopusdeploy/octopus-deploy-portal/./app/areas/infrastructure/InfrastructureDetails.tsx","webpack://@octopusdeploy/octopus-deploy-portal/./app/components/Lookup/Lookup.tsx","webpack://@octopusdeploy/octopus-deploy-portal/./app/components/Lookup/index.tsx","webpack://@octopusdeploy/octopus-deploy-portal/./app/components/DebounceValue/index.ts","webpack://@octopusdeploy/octopus-deploy-portal/./app/components/IconButtonList/index.tsx","webpack://@octopusdeploy/octopus-deploy-portal/./app/components/FocusListItem/FocusListItem.tsx","webpack://@octopusdeploy/octopus-deploy-portal/./app/components/VirtualListWithKeyboard/VirtualListWithKeyboard.tsx","webpack://@octopusdeploy/octopus-deploy-portal/./app/components/TextWithLinks/parseLinks.ts","webpack://@octopusdeploy/octopus-deploy-portal/./app/components/TextWithLinks/TextWithLinks.tsx","webpack://@octopusdeploy/octopus-deploy-portal/./app/components/Markdown/Markdown.tsx","webpack://@octopusdeploy/octopus-deploy-portal/./app/components/Markdown/index.tsx","webpack://@octopusdeploy/octopus-deploy-portal/./app/components/MultiSelect/MultiSelect.tsx","webpack://@octopusdeploy/octopus-deploy-portal/./app/areas/projects/components/Channels/GitProtectionRules/GitProtectionRules.tsx","webpack://@octopusdeploy/octopus-deploy-portal/./app/areas/projects/components/Channels/GitProtectionRules/getGitReferenceRulePatternsDescription.tsx","webpack://@octopusdeploy/octopus-deploy-portal/./app/areas/projects/components/Channels/GitProtectionRules/GitResourceRule.tsx","webpack://@octopusdeploy/octopus-deploy-portal/./app/primitiveComponents/dataDisplay/Icon/OctopusIcon/BaseIcons.tsx","webpack://@octopusdeploy/octopus-deploy-portal/./app/primitiveComponents/dataDisplay/Icon/OctopusIcon/OctopusIcon.tsx","webpack://@octopusdeploy/octopus-deploy-portal/./app/components/LookupResourceChip/LookupResourceChip.tsx","webpack://@octopusdeploy/octopus-deploy-portal/./app/components/Chips/Chip.tsx","webpack://@octopusdeploy/octopus-deploy-portal/./app/components/Chips/ChipIconWrapper.tsx","webpack://@octopusdeploy/octopus-deploy-portal/./app/components/Chips/DeletableChip.tsx","webpack://@octopusdeploy/octopus-deploy-portal/./app/stepPackages/stepPackageResolver.ts","webpack://@octopusdeploy/octopus-deploy-portal/./app/utils/MachineIconUrlFetchers/machineIconUrlFetchers.ts","webpack://@octopusdeploy/octopus-deploy-portal/./app/utils/FeatureFlags/hidePrereleaseStepPackages.ts","webpack://@octopusdeploy/octopus-deploy-portal/./app/areas/infrastructure/components/MachineIcon/MachineIcon.tsx","webpack://@octopusdeploy/octopus-deploy-portal/./app/areas/infrastructure/components/MachineSettings/Endpoints/AzureCategoryDefinition.tsx","webpack://@octopusdeploy/octopus-deploy-portal/./app/areas/infrastructure/components/MachineSettings/Endpoints/CloudRegionCategoryDefinition.tsx","webpack://@octopusdeploy/octopus-deploy-portal/./app/components/Card/Card.tsx","webpack://@octopusdeploy/octopus-deploy-portal/./app/components/Card/index.tsx","webpack://@octopusdeploy/octopus-deploy-portal/./app/components/Dialog/DialogTrigger.tsx","webpack://@octopusdeploy/octopus-deploy-portal/./app/components/Dialog/OpenDialogButton.tsx","webpack://@octopusdeploy/octopus-deploy-portal/./app/areas/infrastructure/components/MachineSettings/Endpoints/EndpointCard.tsx","webpack://@octopusdeploy/octopus-deploy-portal/./app/areas/infrastructure/components/MachineSettings/Endpoints/KubernetesCategoryDefinition.tsx","webpack://@octopusdeploy/octopus-deploy-portal/./app/areas/infrastructure/components/MachineSettings/Endpoints/LinuxCategoryDefinition.tsx","webpack://@octopusdeploy/octopus-deploy-portal/./app/areas/infrastructure/components/MachineSettings/Endpoints/MacCategoryDefinition.tsx","webpack://@octopusdeploy/octopus-deploy-portal/./app/areas/infrastructure/components/MachineSettings/Endpoints/OfflineDropCategoryDefinition.tsx","webpack://@octopusdeploy/octopus-deploy-portal/./app/areas/infrastructure/components/MachineSettings/Endpoints/WindowsCategoryDefinition.tsx","webpack://@octopusdeploy/octopus-deploy-portal/./app/areas/infrastructure/components/MachineSettings/Endpoints/sample/SampleDeploymentTargetInputs.ts","webpack://@octopusdeploy/octopus-deploy-portal/./app/areas/infrastructure/components/MachineSettings/Endpoints/sample/SampleDeploymentTargetUI.ts","webpack://@octopusdeploy/octopus-deploy-portal/./app/areas/infrastructure/components/MachineSettings/Endpoints/sample/SampleDeploymentTargetPackage.ts","webpack://@octopusdeploy/octopus-deploy-portal/./app/areas/infrastructure/components/MachineSettings/Endpoints/endpointRegistry.tsx","webpack://@octopusdeploy/octopus-deploy-portal/./app/areas/infrastructure/components/MachineSettings/Endpoints/StepPackageCategoryDefinition.tsx","webpack://@octopusdeploy/octopus-deploy-portal/./app/primitiveComponents/dataDisplay/DataTable/DataTable.tsx","webpack://@octopusdeploy/octopus-deploy-portal/./app/primitiveComponents/dataDisplay/DataTable/DataTableBody.tsx","webpack://@octopusdeploy/octopus-deploy-portal/./app/primitiveComponents/dataDisplay/DataTable/DataTableFooter.tsx","webpack://@octopusdeploy/octopus-deploy-portal/./app/primitiveComponents/dataDisplay/DataTable/DataTableFooterColumn.tsx","webpack://@octopusdeploy/octopus-deploy-portal/./app/primitiveComponents/dataDisplay/DataTable/DataTableFooterRow.tsx","webpack://@octopusdeploy/octopus-deploy-portal/./app/primitiveComponents/dataDisplay/DataTable/DataTableHeader.tsx","webpack://@octopusdeploy/octopus-deploy-portal/./app/primitiveComponents/dataDisplay/DataTable/DataTableHeaderColumn.tsx","webpack://@octopusdeploy/octopus-deploy-portal/./app/primitiveComponents/dataDisplay/DataTable/DataTableRow.tsx","webpack://@octopusdeploy/octopus-deploy-portal/./app/primitiveComponents/dataDisplay/DataTable/DataTableRowColumn.tsx","webpack://@octopusdeploy/octopus-deploy-portal/./app/primitiveComponents/dataDisplay/DataTable/DataTableRowHeaderColumn.tsx","webpack://@octopusdeploy/octopus-deploy-portal/./app/primitiveComponents/dataDisplay/DataTable/DataTableToolsRow.tsx","webpack://@octopusdeploy/octopus-deploy-portal/./app/areas/projects/components/Process/Common/DeploymentTargetsTable.tsx","webpack://@octopusdeploy/octopus-deploy-portal/./app/areas/projects/context/LastAccessedGitRef.ts","webpack://@octopusdeploy/octopus-deploy-portal/./app/utils/RecentProjects/RecentProjects.ts","webpack://@octopusdeploy/octopus-deploy-portal/./app/areas/projects/context/ProjectContext.tsx","webpack://@octopusdeploy/octopus-deploy-portal/./app/areas/projects/context/withProjectContext.tsx","webpack://@octopusdeploy/octopus-deploy-portal/./app/components/Chips/RoleChipTextWithPopover.tsx","webpack://@octopusdeploy/octopus-deploy-portal/./app/components/Chips/index.tsx","webpack://@octopusdeploy/octopus-deploy-portal/./app/components/MultiSelect/OpenIdSubjectMultiSelect.tsx","webpack://@octopusdeploy/octopus-deploy-portal/./app/components/BusyFromPromise/index.tsx","webpack://@octopusdeploy/octopus-deploy-portal/./app/primitiveComponents/dataDisplay/DrawerWithForm/DrawerWithForm.tsx","webpack://@octopusdeploy/octopus-deploy-portal/./app/primitiveComponents/dataDisplay/DrawerWithForm/amplitudeAnalytics.tsx","webpack://@octopusdeploy/octopus-deploy-portal/./app/areas/infrastructure/components/AccountEdit/amplitudeAnalytics.tsx","webpack://@octopusdeploy/octopus-deploy-portal/./app/components/DeploymentFreezes/FrozenIcon.tsx","webpack://@octopusdeploy/octopus-deploy-portal/./app/components/DeploymentFreezes/FrozenDashboardIcon.tsx","webpack://@octopusdeploy/octopus-deploy-portal/./app/components/MultiSelect/TenantMultiSelect.tsx","webpack://@octopusdeploy/octopus-deploy-portal/./app/components/tenantTagsets.ts","webpack://@octopusdeploy/octopus-deploy-portal/./app/components/Tag/Tag.tsx","webpack://@octopusdeploy/octopus-deploy-portal/./app/components/Tag/index.tsx","webpack://@octopusdeploy/octopus-deploy-portal/./app/components/MultiSelect/TenantTagMultiSelect.tsx","webpack://@octopusdeploy/octopus-deploy-portal/./app/components/DialogLayout/OkDialogLayout.tsx","webpack://@octopusdeploy/octopus-deploy-portal/./app/components/TagsList/TagsList.tsx","webpack://@octopusdeploy/octopus-deploy-portal/./app/components/TenantTagsList/TenantTagsList.tsx","webpack://@octopusdeploy/octopus-deploy-portal/./app/components/TenantTagDesignDialog/TenantTagDesignDialogLayout.tsx","webpack://@octopusdeploy/octopus-deploy-portal/./app/components/TenantTagDesignDialog/TenantFilterButton.tsx","webpack://@octopusdeploy/octopus-deploy-portal/./app/components/TenantTagDesignDialog/index.tsx","webpack://@octopusdeploy/octopus-deploy-portal/./app/components/AdvancedTenantSelector/AdvancedTenantSelector.tsx","webpack://@octopusdeploy/octopus-deploy-portal/./app/components/FeatureToggle/FeatureToggle.tsx","webpack://@octopusdeploy/octopus-deploy-portal/./app/components/FormBaseComponent/FormBaseComponent.tsx","webpack://@octopusdeploy/octopus-deploy-portal/./app/components/MultiSelect/EnvironmentMultiSelect.tsx","webpack://@octopusdeploy/octopus-deploy-portal/./app/components/OverflowMenu/OverflowMenuConverterVNext.tsx","webpack://@octopusdeploy/octopus-deploy-portal/./app/components/TenantedDeploymentParticipationSelector/TenantedDeploymentParticipationSelector.tsx","webpack://@octopusdeploy/octopus-deploy-portal/./app/components/TenantedDeploymentParticipationSelector/index.tsx","webpack://@octopusdeploy/octopus-deploy-portal/./app/primitiveComponents/form/Slugs/SlugSummary.tsx","webpack://@octopusdeploy/octopus-deploy-portal/./app/primitiveComponents/form/Slugs/NameSummaryWithSlug.tsx","webpack://@octopusdeploy/octopus-deploy-portal/./app/components/CopyToClipboardButton/CopyToClipboardButton.tsx","webpack://@octopusdeploy/octopus-deploy-portal/./app/components/CopyToClipboardButton/index.ts","webpack://@octopusdeploy/octopus-deploy-portal/./app/primitiveComponents/form/Slugs/SlugEditor.tsx","webpack://@octopusdeploy/octopus-deploy-portal/./app/utils/CommonSummaryHelper/CommonSummaryHelper.tsx","webpack://@octopusdeploy/octopus-deploy-portal/./app/utils/CommonSummaryHelper/index.tsx","webpack://@octopusdeploy/octopus-deploy-portal/./app/utils/TenantedDeploymentParticipationHelper/TenantsOrTenantTagsSelectedOnUntenantedDeploymentMode.ts","webpack://@octopusdeploy/octopus-deploy-portal/./app/components/Navigation/InternalRedirect/InternalRedirect.tsx","webpack://@octopusdeploy/octopus-deploy-portal/./app/components/Chips/NavigationChip.tsx","webpack://@octopusdeploy/octopus-deploy-portal/./app/utils/toResourceLookup.ts","webpack://@octopusdeploy/octopus-deploy-portal/./app/areas/infrastructure/components/AccountEdit/AccountUsage.tsx","webpack://@octopusdeploy/octopus-deploy-portal/./app/areas/infrastructure/components/AccountEdit/AccountEditBase.tsx","webpack://@octopusdeploy/octopus-deploy-portal/./app/areas/infrastructure/components/AccountEdit/AccountEditBaseDrawer.tsx","webpack://@octopusdeploy/octopus-deploy-portal/./app/components/DevTools/DevToolsContext.tsx","webpack://@octopusdeploy/octopus-deploy-portal/./app/components/DisplayDiff/DisplayDiff.tsx","webpack://@octopusdeploy/octopus-deploy-portal/./app/components/DisplayDiff/index.ts","webpack://@octopusdeploy/octopus-deploy-portal/./app/components/FormPaperLayout/DirtyStateTracking/DirtyStateDetail.tsx","webpack://@octopusdeploy/octopus-deploy-portal/./app/components/OctopusRouter/NavigationBlocker.tsx","webpack://@octopusdeploy/octopus-deploy-portal/./app/components/FormPaperLayout/LegacyForm.tsx","webpack://@octopusdeploy/octopus-deploy-portal/./app/components/Navigation/InternalRedirect/index.tsx","webpack://@octopusdeploy/octopus-deploy-portal/./app/routing/pageRegistrations/PageRegistrationContext.tsx","webpack://@octopusdeploy/octopus-deploy-portal/./app/components/PageContent/createErrorInfo.ts","webpack://@octopusdeploy/octopus-deploy-portal/./app/components/PageContent/PageContent.tsx","webpack://@octopusdeploy/octopus-deploy-portal/./app/areas/infrastructure/components/AccountEdit/AccountEditBasePaper.tsx","webpack://@octopusdeploy/octopus-deploy-portal/./app/areas/infrastructure/components/AccountEdit/GenericOidcAccountEdit.tsx","webpack://@octopusdeploy/octopus-deploy-portal/./app/components/DataLoader/index.ts","webpack://@octopusdeploy/octopus-deploy-portal/./app/components/DataLoader/DataLoader.tsx","webpack://@octopusdeploy/octopus-deploy-portal/./app/components/FormPage/FormPage.tsx","webpack://@octopusdeploy/octopus-deploy-portal/./app/components/PageContent/PageLoading.tsx","webpack://@octopusdeploy/octopus-deploy-portal/./app/areas/infrastructure/components/AccountEdit/SaveAndTestAccountDialog.tsx","webpack://@octopusdeploy/octopus-deploy-portal/./app/areas/infrastructure/components/AccountEdit/AmazonWebServicesAccountEdit.tsx","webpack://@octopusdeploy/octopus-deploy-portal/./app/areas/infrastructure/components/AccountEdit/AzureAccountEdit.tsx","webpack://@octopusdeploy/octopus-deploy-portal/./app/areas/infrastructure/components/AccountEdit/GoogleCloudAccountEdit.tsx","webpack://@octopusdeploy/octopus-deploy-portal/./app/areas/infrastructure/components/AccountEdit/SshKeyPairAccountEdit.tsx","webpack://@octopusdeploy/octopus-deploy-portal/./app/areas/infrastructure/components/AccountEdit/TokenAccountEdit.tsx","webpack://@octopusdeploy/octopus-deploy-portal/./app/areas/infrastructure/components/AccountEdit/UsernamePasswordAccountEdit.tsx","webpack://@octopusdeploy/octopus-deploy-portal/./app/areas/infrastructure/components/AccountEdit/AccountPage.tsx","webpack://@octopusdeploy/octopus-deploy-portal/./app/areas/infrastructure/components/AccountEdit/AccountEditDrawer.tsx","webpack://@octopusdeploy/octopus-deploy-portal/./app/components/ActionList/ActionList.tsx","webpack://@octopusdeploy/octopus-deploy-portal/./app/components/ActionList/index.tsx","webpack://@octopusdeploy/octopus-deploy-portal/./app/components/form/SelectWithActions/SelectWithActions.tsx","webpack://@octopusdeploy/octopus-deploy-portal/./app/components/form/SelectWithAddRefresh/SelectWithAddRefresh.tsx","webpack://@octopusdeploy/octopus-deploy-portal/./app/components/form/AccountSelect/AccountSelect.tsx","webpack://@octopusdeploy/octopus-deploy-portal/./app/components/form/VariableSelect/ProjectVariableSelect.tsx","webpack://@octopusdeploy/octopus-deploy-portal/./app/utils/LoadProjectVariables/loadProjectVariables.ts","webpack://@octopusdeploy/octopus-deploy-portal/./app/components/StepPackageEditor/Inputs/schemaTraversal.ts","webpack://@octopusdeploy/octopus-deploy-portal/./app/components/StepPackageEditor/Inputs/Components/AccountSelector/BindableAccountSelector.tsx","webpack://@octopusdeploy/octopus-deploy-portal/./app/components/CodeEditor/CodeEditorThemes.ts","webpack://@octopusdeploy/octopus-deploy-portal/./app/components/CodeEditor/CodeEditorExtensions.ts","webpack://@octopusdeploy/octopus-deploy-portal/./app/components/CodeEditor/Icons/ArrowDownLeftUpRightIcon.tsx","webpack://@octopusdeploy/octopus-deploy-portal/./app/components/CodeEditor/Icons/ArrowUpRightDownLeftIcon.tsx","webpack://@octopusdeploy/octopus-deploy-portal/./app/components/CodeEditor/codeEditorStyles.ts","webpack://@octopusdeploy/octopus-deploy-portal/./app/components/ScriptingLanguageSelector/ScriptingLanguageSelector.tsx","webpack://@octopusdeploy/octopus-deploy-portal/./app/components/form/InputLabel/InputLabel.tsx","webpack://@octopusdeploy/octopus-deploy-portal/./app/components/form/InputLabel/index.ts","webpack://@octopusdeploy/octopus-deploy-portal/./app/primitiveComponents/dataDisplay/Icon/GitHubIcon.tsx","webpack://@octopusdeploy/octopus-deploy-portal/./app/primitiveComponents/dataDisplay/Icon/OpenIdConnectIcon.tsx","webpack://@octopusdeploy/octopus-deploy-portal/./app/components/CodeEditor/CodeEditor.tsx","webpack://@octopusdeploy/octopus-deploy-portal/./app/components/StepPackageEditor/Inputs/Components/CodeEditor/CodeEditor.tsx","webpack://@octopusdeploy/octopus-deploy-portal/./app/areas/projects/components/Triggers/ProcessCallouts/RelatedFeedTriggerCallouts.tsx","webpack://@octopusdeploy/octopus-deploy-portal/./app/areas/projects/components/Triggers/ProcessCallouts/triggerPackageRelations.ts","webpack://@octopusdeploy/octopus-deploy-portal/./app/areas/projects/components/Triggers/ProcessCallouts/CalloutPrimaryPackageFeedTriggerConnections.tsx","webpack://@octopusdeploy/octopus-deploy-portal/./app/components/AutoComplete/AutoComplete.tsx","webpack://@octopusdeploy/octopus-deploy-portal/./app/components/AutoComplete/index.ts","webpack://@octopusdeploy/octopus-deploy-portal/./app/components/BoundAutoComplete/BoundAutoComplete.tsx","webpack://@octopusdeploy/octopus-deploy-portal/./app/areas/library/components/ExternalFeeds/amplitudeTracking.tsx","webpack://@octopusdeploy/octopus-deploy-portal/./app/areas/library/components/ExternalFeeds/AdvancedFeedCredentialsFormSection.tsx","webpack://@octopusdeploy/octopus-deploy-portal/./app/areas/library/components/ExternalFeeds/FeedTypes/feedTypeRegistry.ts","webpack://@octopusdeploy/octopus-deploy-portal/./app/areas/library/components/ExternalFeeds/FeedTypes/DockerFeed.tsx","webpack://@octopusdeploy/octopus-deploy-portal/./app/utils/ParseHelper/ParseHelper.ts","webpack://@octopusdeploy/octopus-deploy-portal/./app/areas/library/components/ExternalFeeds/RetryAttemptsFormSection.tsx","webpack://@octopusdeploy/octopus-deploy-portal/./app/areas/library/components/ExternalFeeds/FeedTypes/GitHubFeed.tsx","webpack://@octopusdeploy/octopus-deploy-portal/./app/areas/library/components/ExternalFeeds/BasicFeedCredentialsFormSection.tsx","webpack://@octopusdeploy/octopus-deploy-portal/./app/areas/library/components/ExternalFeeds/FeedTypes/MavenFeed.tsx","webpack://@octopusdeploy/octopus-deploy-portal/./app/areas/library/components/ExternalFeeds/FeedTypes/NuGetFeed.tsx","webpack://@octopusdeploy/octopus-deploy-portal/./app/areas/library/components/ExternalFeeds/FeedTypes/HelmFeed.tsx","webpack://@octopusdeploy/octopus-deploy-portal/./app/areas/library/components/ExternalFeeds/FeedTypes/OciRegistryFeed.tsx","webpack://@octopusdeploy/octopus-deploy-portal/./app/areas/library/components/ExternalFeeds/FeedTypes/AwsElasticContainerRegistry.tsx","webpack://@octopusdeploy/octopus-deploy-portal/./app/areas/library/components/ExternalFeeds/FeedTypes/AzureContainerRegistry.tsx","webpack://@octopusdeploy/octopus-deploy-portal/./app/areas/library/components/ExternalFeeds/FeedTypes/GoogleContainerRegistry.tsx","webpack://@octopusdeploy/octopus-deploy-portal/./app/areas/library/components/ExternalFeeds/FeedTypes/S3Feed.tsx","webpack://@octopusdeploy/octopus-deploy-portal/./app/areas/library/components/ExternalFeeds/FeedTypes/ArtifactoryGenericFeed.tsx","webpack://@octopusdeploy/octopus-deploy-portal/./app/areas/library/components/ExternalFeeds/FeedTypes/index.ts","webpack://@octopusdeploy/octopus-deploy-portal/./app/components/FeedTypeSelect/FeedTypeSelect.tsx","webpack://@octopusdeploy/octopus-deploy-portal/./app/components/FormBaseComponent/index.ts","webpack://@octopusdeploy/octopus-deploy-portal/./app/areas/library/components/ExternalFeeds/ExternalFeed.tsx","webpack://@octopusdeploy/octopus-deploy-portal/./app/areas/library/components/ExternalFeeds/ExternalFeedDrawer.tsx","webpack://@octopusdeploy/octopus-deploy-portal/./app/components/Selectors/FeedSelector.tsx","webpack://@octopusdeploy/octopus-deploy-portal/./app/components/PackageSelector/packageVersionOnActionEnabled.tsx","webpack://@octopusdeploy/octopus-deploy-portal/./app/components/PackageSelector/PackageSelector.tsx","webpack://@octopusdeploy/octopus-deploy-portal/./app/components/StepPackageEditor/Inputs/Components/ContainerImageSelector/ContainerImageSelector.tsx","webpack://@octopusdeploy/octopus-deploy-portal/./app/utils/getSingle.ts","webpack://@octopusdeploy/octopus-deploy-portal/./app/components/StepPackageEditor/Inputs/Components/DiscriminatorComponents/getSelectedOption.ts","webpack://@octopusdeploy/octopus-deploy-portal/./app/components/StepPackageEditor/Inputs/Components/PackageSelector/PackageSelector.tsx","webpack://@octopusdeploy/octopus-deploy-portal/./app/components/form/Sections/CardExpandable.tsx","webpack://@octopusdeploy/octopus-deploy-portal/./app/components/form/Sections/DialogFormSectionHeading.tsx","webpack://@octopusdeploy/octopus-deploy-portal/./app/components/StepPackageEditor/Inputs/Components/Input.tsx","webpack://@octopusdeploy/octopus-deploy-portal/./app/components/SimpleDataTable/SimpleDataTable.tsx","webpack://@octopusdeploy/octopus-deploy-portal/./app/components/SimpleDataTable/index.tsx","webpack://@octopusdeploy/octopus-deploy-portal/./app/areas/library/components/GitCredentials/GitCredentialPage.tsx","webpack://@octopusdeploy/octopus-deploy-portal/./app/areas/library/components/GitCredentials/GitCredentialDrawer.tsx","webpack://@octopusdeploy/octopus-deploy-portal/./app/areas/library/components/GitCredentials/amplitudeAnalytics.ts","webpack://@octopusdeploy/octopus-deploy-portal/./app/areas/projects/components/ProjectSettings/VersionControl/GitCredentialSelect.tsx","webpack://@octopusdeploy/octopus-deploy-portal/./app/areas/projects/components/Triggers/Git/RelatedGitTriggerCallout.tsx","webpack://@octopusdeploy/octopus-deploy-portal/./app/components/GitRepositorySource/useNonPrimaryGitDependencySupport.ts","webpack://@octopusdeploy/octopus-deploy-portal/./app/components/GitRepositorySource/GitRepositorySourceContextualHelp.tsx","webpack://@octopusdeploy/octopus-deploy-portal/./app/components/GitRepositorySource/GitRepositorySourceSelector.tsx","webpack://@octopusdeploy/octopus-deploy-portal/./app/components/StepPackageEditor/Inputs/mapInitialInputs.ts","webpack://@octopusdeploy/octopus-deploy-portal/./app/components/StepPackageEditor/StepPackageContext.ts","webpack://@octopusdeploy/octopus-deploy-portal/./app/components/StepPackageEditor/Inputs/Components/DiscriminatorComponents/RadioButtons/RadioButtons.tsx","webpack://@octopusdeploy/octopus-deploy-portal/./app/primitiveComponents/form/RadioButton/RadioButtonWithContextualHelp.tsx","webpack://@octopusdeploy/octopus-deploy-portal/./app/components/StepPackageEditor/Inputs/Components/GitSourceSelector/GitSourceSelector.tsx","webpack://@octopusdeploy/octopus-deploy-portal/./app/components/BorderedListItem/BorderedListItem.tsx","webpack://@octopusdeploy/octopus-deploy-portal/./app/components/BorderedListItem/index.ts","webpack://@octopusdeploy/octopus-deploy-portal/./app/components/RemoveItemsList/RemoveItemsList.tsx","webpack://@octopusdeploy/octopus-deploy-portal/./app/primitiveComponents/form/Checkbox/BoundCheckbox.tsx","webpack://@octopusdeploy/octopus-deploy-portal/./app/components/StepPackageEditor/Inputs/Components/Checkbox/Checkbox.tsx","webpack://@octopusdeploy/octopus-deploy-portal/./app/components/StepPackageEditor/Inputs/Components/DiscriminatorComponents/Select/Select.tsx","webpack://@octopusdeploy/octopus-deploy-portal/./app/components/StepPackageEditor/Inputs/Components/MultilineText/MultilineText.tsx","webpack://@octopusdeploy/octopus-deploy-portal/./app/utils/ParseHelper/index.ts","webpack://@octopusdeploy/octopus-deploy-portal/./app/primitiveComponents/form/Number/Number.tsx","webpack://@octopusdeploy/octopus-deploy-portal/./app/components/StepPackageEditor/Inputs/Components/Number/Number.tsx","webpack://@octopusdeploy/octopus-deploy-portal/./app/components/StepPackageEditor/Inputs/Components/Text/Text.tsx","webpack://@octopusdeploy/octopus-deploy-portal/./app/components/StepPackageEditor/Inputs/Components/InlineList/InlineList.tsx","webpack://@octopusdeploy/octopus-deploy-portal/./app/components/Actions/kubernetes/timeoutFormSection.tsx","webpack://@octopusdeploy/octopus-deploy-portal/./app/components/Actions/kubernetes/kubernetesStatusCheckComponent.tsx","webpack://@octopusdeploy/octopus-deploy-portal/./app/components/StepPackageEditor/Inputs/Components/KubernetesObjectStatus/KubernetesObjectStatus.tsx","webpack://@octopusdeploy/octopus-deploy-portal/./app/components/StepPackageEditor/Structure/Section/Section.tsx","webpack://@octopusdeploy/octopus-deploy-portal/./app/components/StepPackageEditor/Structure/UnnamedSection/UnnamedSection.tsx","webpack://@octopusdeploy/octopus-deploy-portal/./app/components/StepPackageEditor/Structure/groupInputComponents.ts","webpack://@octopusdeploy/octopus-deploy-portal/./app/components/StepPackageEditor/Structure/SectionGroup/SectionGroup.tsx","webpack://@octopusdeploy/octopus-deploy-portal/./app/components/StepPackageEditor/EditStepPackageInputs.tsx","webpack://@octopusdeploy/octopus-deploy-portal/./app/primitiveComponents/dataDisplay/ListTitle/ListTitle.tsx","webpack://@octopusdeploy/octopus-deploy-portal/./app/primitiveComponents/dataDisplay/ListTitle/index.tsx","webpack://@octopusdeploy/octopus-deploy-portal/./app/components/Dialog/DialogOpener.tsx","webpack://@octopusdeploy/octopus-deploy-portal/./app/components/StepPackageEditor/Inputs/Components/List/List.tsx","webpack://@octopusdeploy/octopus-deploy-portal/./app/components/StepPackageEditor/Inputs/Components/Sensitive/Sensitive.tsx","webpack://@octopusdeploy/octopus-deploy-portal/./app/components/StepPackageEditor/CreateRenderedComponentAndSummaryForStepFactory.tsx","webpack://@octopusdeploy/octopus-deploy-portal/./app/components/StepPackageEditor/TypedStepPackageEditor.tsx","webpack://@octopusdeploy/octopus-deploy-portal/./app/components/Actions/commonActionHelpers.tsx","webpack://@octopusdeploy/octopus-deploy-portal/./app/components/StepPackageEditor/Inputs/getPackagesFromInputs.ts","webpack://@octopusdeploy/octopus-deploy-portal/./app/components/StepPackageEditor/StepPackageEditor.tsx","webpack://@octopusdeploy/octopus-deploy-portal/./app/components/StepPackageEditor/StepPackagePluginAdapter/StepPackagePluginAdapter.tsx","webpack://@octopusdeploy/octopus-deploy-portal/./app/components/Actions/pluginRegistry.ts","webpack://@octopusdeploy/octopus-deploy-portal/./app/areas/projects/components/Process/Contexts/processModelSelectors.tsx","webpack://@octopusdeploy/octopus-deploy-portal/./app/areas/projects/components/Process/Contexts/updaters.ts","webpack://@octopusdeploy/octopus-deploy-portal/./app/areas/projects/components/Process/Contexts/ProcessContextState.tsx","webpack://@octopusdeploy/octopus-deploy-portal/./app/utils/Reducers/reduceConstantReducers.ts","webpack://@octopusdeploy/octopus-deploy-portal/./app/areas/projects/components/Process/Common/ArcWarningCallout.tsx","webpack://@octopusdeploy/octopus-deploy-portal/./app/areas/projects/components/Process/Common/DeleteStepsCallout.tsx","webpack://@octopusdeploy/octopus-deploy-portal/./app/areas/projects/components/Process/Common/CommonProcessHelpers.tsx","webpack://@octopusdeploy/octopus-deploy-portal/./app/primitiveComponents/form/RadioButton/BoundRadioButtonGroup.tsx","webpack://@octopusdeploy/octopus-deploy-portal/./app/components/PackageDownloadOptions/PackageDownloadOptions.tsx","webpack://@octopusdeploy/octopus-deploy-portal/./app/areas/projects/components/Process/Blueprints/BlueprintContext.tsx","webpack://@octopusdeploy/octopus-deploy-portal/./app/components/PackageSelector/DeferredPackageSelector.tsx","webpack://@octopusdeploy/octopus-deploy-portal/./app/areas/projects/components/Process/Contexts/ProcessFeedsContextProvider.tsx","webpack://@octopusdeploy/octopus-deploy-portal/./app/components/Actions/DisplayFeedName.tsx","webpack://@octopusdeploy/octopus-deploy-portal/./app/components/Actions/Targets.tsx","webpack://@octopusdeploy/octopus-deploy-portal/./app/components/Actions/TargetList.tsx","webpack://@octopusdeploy/octopus-deploy-portal/./app/components/Actions/Roles.tsx","webpack://@octopusdeploy/octopus-deploy-portal/./app/components/Actions/getChangesToPackageReference.tsx","webpack://@octopusdeploy/octopus-deploy-portal/./app/components/Actions/tentaclePackage/tentaclePackageAction.tsx","webpack://@octopusdeploy/octopus-deploy-portal/./app/components/Actions/iis/iisAction.tsx","webpack://@octopusdeploy/octopus-deploy-portal/./app/utils/Reducers/bindDispatch.ts","webpack://@octopusdeploy/octopus-deploy-portal/./app/areas/projects/components/Process/Contexts/ProcessContext.tsx","webpack://@octopusdeploy/octopus-deploy-portal/./app/areas/projects/components/Process/Contexts/ProcessGitCredentialsContextProvider.tsx","webpack://@octopusdeploy/octopus-deploy-portal/./app/areas/projects/components/Triggers/ProcessCallouts/CalloutModifiedFeedTriggerConnections.tsx","webpack://@octopusdeploy/octopus-deploy-portal/./app/areas/projects/components/Triggers/ProcessCallouts/CalloutReferencedPackageFeedTriggerConnections.tsx","webpack://@octopusdeploy/octopus-deploy-portal/./app/components/Actions/script/scriptSourceSelectorComponent.tsx","webpack://@octopusdeploy/octopus-deploy-portal/./app/components/ContextualHelp/ContextualHelpSnippets.tsx","webpack://@octopusdeploy/octopus-deploy-portal/./app/components/PackageSelector/PackageSelectorPopover.tsx","webpack://@octopusdeploy/octopus-deploy-portal/./app/components/Actions/script/ScriptPackageReferenceDialog.tsx","webpack://@octopusdeploy/octopus-deploy-portal/./app/components/Actions/script/scriptAction.tsx","webpack://@octopusdeploy/octopus-deploy-portal/./app/components/Actions/healthCheck/healthCheckAction.tsx","webpack://@octopusdeploy/octopus-deploy-portal/./app/components/Actions/windowsService/windowsServiceAction.tsx","webpack://@octopusdeploy/octopus-deploy-portal/./app/components/LookupResourceChip/index.tsx","webpack://@octopusdeploy/octopus-deploy-portal/./app/components/MultiSelect/TeamMultiSelect.tsx","webpack://@octopusdeploy/octopus-deploy-portal/./app/components/Actions/manual/manualAction.tsx","webpack://@octopusdeploy/octopus-deploy-portal/./app/areas/configuration/components/Smtp/SmtpNeedsConfigurationCallout.tsx","webpack://@octopusdeploy/octopus-deploy-portal/./app/components/MoreInfo/MoreInfo.tsx","webpack://@octopusdeploy/octopus-deploy-portal/./app/primitiveComponents/navigation/EmailLink/EmailLink.tsx","webpack://@octopusdeploy/octopus-deploy-portal/./app/primitiveComponents/navigation/EmailLink/index.tsx","webpack://@octopusdeploy/octopus-deploy-portal/./app/components/Actions/email/emailAction.tsx","webpack://@octopusdeploy/octopus-deploy-portal/./app/components/EditList/KeyValueEditList.tsx","webpack://@octopusdeploy/octopus-deploy-portal/./app/components/EditList/StringEditList.tsx","webpack://@octopusdeploy/octopus-deploy-portal/./app/components/Actions/deployRelease/deployReleaseAction.tsx","webpack://@octopusdeploy/octopus-deploy-portal/./app/components/form/AccountSelect/AccountSelectionSummary.tsx","webpack://@octopusdeploy/octopus-deploy-portal/./app/components/BundledTools/BundledToolsEditBase.tsx","webpack://@octopusdeploy/octopus-deploy-portal/./app/components/FeatureToggle/New/FeatureToggleVisibility.tsx","webpack://@octopusdeploy/octopus-deploy-portal/./app/components/Actions/azure/azureBundledTools.tsx","webpack://@octopusdeploy/octopus-deploy-portal/./app/components/Actions/azure/azureCloudServiceAction.tsx","webpack://@octopusdeploy/octopus-deploy-portal/./app/components/Actions/azure/azurePowerShellAction.tsx","webpack://@octopusdeploy/octopus-deploy-portal/./app/components/Actions/azure/AzureTemplateHelper.ts","webpack://@octopusdeploy/octopus-deploy-portal/./app/components/Actions/azure/AzureResourceGroupSourceCodeDialog.tsx","webpack://@octopusdeploy/octopus-deploy-portal/./app/components/Actions/packageReferences.tsx","webpack://@octopusdeploy/octopus-deploy-portal/./app/components/Actions/azure/AzureResourceGroupParameters.tsx","webpack://@octopusdeploy/octopus-deploy-portal/./app/components/Actions/azure/AzureResourceGroupSelector.tsx","webpack://@octopusdeploy/octopus-deploy-portal/./app/components/Actions/azure/azureResourceGroupAction.tsx","webpack://@octopusdeploy/octopus-deploy-portal/./app/components/form/AddVariableIconButton.tsx","webpack://@octopusdeploy/octopus-deploy-portal/./app/components/form/CertificateSelect/ProjectCertificateVariableSelect.tsx","webpack://@octopusdeploy/octopus-deploy-portal/./app/components/Actions/azure/AzureServiceFabricAccountSelector.tsx","webpack://@octopusdeploy/octopus-deploy-portal/./app/components/Actions/azure/AzureServiceFabricSdkRequiredInfo.tsx","webpack://@octopusdeploy/octopus-deploy-portal/./app/components/Actions/azure/azureServiceFabricAppAction.tsx","webpack://@octopusdeploy/octopus-deploy-portal/./app/components/Actions/azure/azureServiceFabricPowerShellAction.tsx","webpack://@octopusdeploy/octopus-deploy-portal/./app/components/Actions/azure/AzureWebSiteSelector.tsx","webpack://@octopusdeploy/octopus-deploy-portal/./app/components/Actions/azure/AzureWebSlotSelector.tsx","webpack://@octopusdeploy/octopus-deploy-portal/./app/components/Actions/azure/azureWebAppAction.tsx","webpack://@octopusdeploy/octopus-deploy-portal/./app/components/SourceCodeDialog/SourceCodeDialog.tsx","webpack://@octopusdeploy/octopus-deploy-portal/./app/utils/ShouldUpdate/ValueInPropertiesHasChanged.ts","webpack://@octopusdeploy/octopus-deploy-portal/./app/components/Features/dotnetConfigurationTransforms/dotnetConfigurationTransforms.tsx","webpack://@octopusdeploy/octopus-deploy-portal/./app/components/Features/structuredConfigurationVariables/structuredConfigurationVariables.tsx","webpack://@octopusdeploy/octopus-deploy-portal/./app/components/Features/substituteInFiles/substituteInFiles.tsx","webpack://@octopusdeploy/octopus-deploy-portal/./app/components/Actions/azure/azureAppServiceAction.tsx","webpack://@octopusdeploy/octopus-deploy-portal/./app/components/Actions/certificateImport/CertificateImportTypes.ts","webpack://@octopusdeploy/octopus-deploy-portal/./app/components/DialogLayout/SaveDialogLayout.tsx","webpack://@octopusdeploy/octopus-deploy-portal/./app/components/Actions/certificateImport/PrivateKeyAccessRuleDialog.tsx","webpack://@octopusdeploy/octopus-deploy-portal/./app/components/Actions/certificateImport/certificateImportAction.tsx","webpack://@octopusdeploy/octopus-deploy-portal/./app/components/Actions/dockerNetwork/dockerNetworkAction.tsx","webpack://@octopusdeploy/octopus-deploy-portal/./app/components/Actions/dockerRun/VolumeBindingDialog.tsx","webpack://@octopusdeploy/octopus-deploy-portal/./app/components/Actions/dockerRun/dockerRunAction.tsx","webpack://@octopusdeploy/octopus-deploy-portal/./app/components/MultiSelect/StepMultiSelect.tsx","webpack://@octopusdeploy/octopus-deploy-portal/./app/components/Actions/dockerStop/dockerStopAction.tsx","webpack://@octopusdeploy/octopus-deploy-portal/./app/components/Actions/helmChartUpgrade/helmPackageHelpers.ts","webpack://@octopusdeploy/octopus-deploy-portal/./app/components/Actions/helmChartUpgrade/ChartTemplateValuesSection.tsx","webpack://@octopusdeploy/octopus-deploy-portal/./app/components/GitRepositorySource/SimpleGitRepositorySourceSelector.tsx","webpack://@octopusdeploy/octopus-deploy-portal/./app/components/Actions/helmChartUpgrade/GitRepositoryTemplateValuesSection.tsx","webpack://@octopusdeploy/octopus-deploy-portal/./app/components/Actions/helmChartUpgrade/InlineYamlTemplateValuesSection.tsx","webpack://@octopusdeploy/octopus-deploy-portal/./app/components/Actions/helmChartUpgrade/KeyValuesTemplateValuesSection.tsx","webpack://@octopusdeploy/octopus-deploy-portal/./app/components/Actions/helmChartUpgrade/PackageTemplateValuesSection.tsx","webpack://@octopusdeploy/octopus-deploy-portal/./app/components/Actions/helmChartUpgrade/TemplateValuesSource.ts","webpack://@octopusdeploy/octopus-deploy-portal/./app/components/Actions/helmChartUpgrade/HelmTemplateValuesDrawer.tsx","webpack://@octopusdeploy/octopus-deploy-portal/./app/components/Actions/helmChartUpgrade/TemplateValueSourceListItem.tsx","webpack://@octopusdeploy/octopus-deploy-portal/./app/primitiveComponents/dataDisplay/SortableList/CustomSensor.ts","webpack://@octopusdeploy/octopus-deploy-portal/./app/primitiveComponents/dataDisplay/SortableList/SortableItem.tsx","webpack://@octopusdeploy/octopus-deploy-portal/./app/primitiveComponents/dataDisplay/SortableList/SortableList.tsx","webpack://@octopusdeploy/octopus-deploy-portal/./app/primitiveComponents/dataDisplay/SortableList/index.tsx","webpack://@octopusdeploy/octopus-deploy-portal/./app/components/Actions/helmChartUpgrade/HelmTemplateValuesSorterDialog.tsx","webpack://@octopusdeploy/octopus-deploy-portal/./app/components/Actions/helmChartUpgrade/artifactHelpers.ts","webpack://@octopusdeploy/octopus-deploy-portal/./app/components/Actions/helmChartUpgrade/helmTemplateValuesSectionV2.tsx","webpack://@octopusdeploy/octopus-deploy-portal/./app/components/Actions/helmChartUpgrade/helmTemplateValuesSourcesMigration.ts","webpack://@octopusdeploy/octopus-deploy-portal/./app/components/Actions/helmChartUpgrade/useKOSForHelm.ts","webpack://@octopusdeploy/octopus-deploy-portal/./app/components/Actions/kubernetes/helmStepVerificationFormSection.tsx","webpack://@octopusdeploy/octopus-deploy-portal/./app/components/Actions/kubernetes/kubernetesMixedExecutionLocationConfig.tsx","webpack://@octopusdeploy/octopus-deploy-portal/./app/components/Actions/kubernetes/getKubernetesTargetDiscoveryCloudProviders.ts","webpack://@octopusdeploy/octopus-deploy-portal/./app/components/Actions/helmChartUpgrade/helmChartUpgradeAction.tsx","webpack://@octopusdeploy/octopus-deploy-portal/./app/components/Actions/transferPackage/transferPackageAction.tsx","webpack://@octopusdeploy/octopus-deploy-portal/./app/components/Actions/wildfly/deployToWildflyAction.tsx","webpack://@octopusdeploy/octopus-deploy-portal/./app/components/Actions/wildfly/wildflyConnectionDetailsComponent.tsx","webpack://@octopusdeploy/octopus-deploy-portal/./app/components/Actions/wildfly/wildflyFeatureTemplate.tsx","webpack://@octopusdeploy/octopus-deploy-portal/./app/components/Actions/wildfly/changeStateInWildflyAction.tsx","webpack://@octopusdeploy/octopus-deploy-portal/./app/components/Actions/wildfly/deployToWildflyFeature.tsx","webpack://@octopusdeploy/octopus-deploy-portal/./app/components/Actions/javaKeystore/javaKeystoreComponent.tsx","webpack://@octopusdeploy/octopus-deploy-portal/./app/components/Actions/wildfly/wildflyRelativeLocationComponent.tsx","webpack://@octopusdeploy/octopus-deploy-portal/./app/components/Actions/wildfly/deployCertificate.tsx","webpack://@octopusdeploy/octopus-deploy-portal/./app/components/Actions/tomcat/deployToTomcatAction.tsx","webpack://@octopusdeploy/octopus-deploy-portal/./app/components/Actions/tomcat/tomcatFeatureTemplate.tsx","webpack://@octopusdeploy/octopus-deploy-portal/./app/components/Actions/tomcat/changeStateInTomcatAction.tsx","webpack://@octopusdeploy/octopus-deploy-portal/./app/components/Actions/tomcat/deployToTomcatFeature.tsx","webpack://@octopusdeploy/octopus-deploy-portal/./app/components/Actions/tomcat/deployCertificate.tsx","webpack://@octopusdeploy/octopus-deploy-portal/./app/components/Actions/javaPackage/javaPackageAction.tsx","webpack://@octopusdeploy/octopus-deploy-portal/./app/components/Actions/javaKeystore/javaKeystoreAction.tsx","webpack://@octopusdeploy/octopus-deploy-portal/./app/components/Actions/jira/jiraServiceDeskChangeRequestAction.tsx","webpack://@octopusdeploy/octopus-deploy-portal/./app/components/Actions/kubernetes/kubernetesNamespaceFormSection.tsx","webpack://@octopusdeploy/octopus-deploy-portal/./app/components/Actions/kubernetes/kubernetesRunScriptAction.tsx","webpack://@octopusdeploy/octopus-deploy-portal/./app/components/Actions/kubernetes/kubernetesValidation.ts","webpack://@octopusdeploy/octopus-deploy-portal/./app/components/form/VariableLookupAutoComplete.tsx","webpack://@octopusdeploy/octopus-deploy-portal/./app/components/EditList/ExtendedKeyValueEditList.tsx","webpack://@octopusdeploy/octopus-deploy-portal/./app/components/Actions/kubernetes/combinedVolumeDialog.tsx","webpack://@octopusdeploy/octopus-deploy-portal/./app/components/SourceCodeDialog/index.ts","webpack://@octopusdeploy/octopus-deploy-portal/./app/components/Actions/kubernetes/editResourceYaml.tsx","webpack://@octopusdeploy/octopus-deploy-portal/./app/components/Actions/kubernetes/nodeAffinityDialog.tsx","webpack://@octopusdeploy/octopus-deploy-portal/./app/components/Actions/kubernetes/podAffinityDialog.tsx","webpack://@octopusdeploy/octopus-deploy-portal/./app/components/Actions/kubernetes/tolerationDialog.tsx","webpack://@octopusdeploy/octopus-deploy-portal/./app/utils/fieldConverters.ts","webpack://@octopusdeploy/octopus-deploy-portal/./app/utils/jsonUtils.ts","webpack://@octopusdeploy/octopus-deploy-portal/./app/components/Features/kubernetes/posixCapabilitiesSuggestions.ts","webpack://@octopusdeploy/octopus-deploy-portal/./app/components/Actions/kubernetes/lifecycleHandlerFormSection.tsx","webpack://@octopusdeploy/octopus-deploy-portal/./app/components/Actions/kubernetes/containerDialog.tsx","webpack://@octopusdeploy/octopus-deploy-portal/./app/components/Actions/kubernetes/importYaml.ts","webpack://@octopusdeploy/octopus-deploy-portal/./app/components/Actions/kubernetes/persistentVolumeClaimDialog.tsx","webpack://@octopusdeploy/octopus-deploy-portal/./app/components/Actions/kubernetes/serverSideApplyFormSection.tsx","webpack://@octopusdeploy/octopus-deploy-portal/./app/components/Actions/kubernetes/kubernetesDeployContainersAction.tsx","webpack://@octopusdeploy/octopus-deploy-portal/./app/components/Actions/kubernetes/servicePortDialog.tsx","webpack://@octopusdeploy/octopus-deploy-portal/./app/components/Actions/kubernetes/kubernetesServiceComponent.tsx","webpack://@octopusdeploy/octopus-deploy-portal/./app/components/Actions/kubernetes/kubernetesServiceAction.tsx","webpack://@octopusdeploy/octopus-deploy-portal/./app/components/Actions/kubernetes/ingressRuleDialog.tsx","webpack://@octopusdeploy/octopus-deploy-portal/./app/components/Actions/kubernetes/ingressRuleSorter.tsx","webpack://@octopusdeploy/octopus-deploy-portal/./app/components/Features/kubernetes/ingressAnnotationsSuggestions.ts","webpack://@octopusdeploy/octopus-deploy-portal/./app/components/Actions/kubernetes/ingressTlsCertificateDialog.tsx","webpack://@octopusdeploy/octopus-deploy-portal/./app/components/Actions/kubernetes/kubernetesIngressComponent.tsx","webpack://@octopusdeploy/octopus-deploy-portal/./app/components/Actions/kubernetes/kubernetesIngressAction.tsx","webpack://@octopusdeploy/octopus-deploy-portal/./app/components/Actions/kubernetes/kubernetesConfigMapComponent.tsx","webpack://@octopusdeploy/octopus-deploy-portal/./app/components/Actions/kubernetes/kubernetesConfigMapAction.tsx","webpack://@octopusdeploy/octopus-deploy-portal/./app/components/Actions/kubernetes/kubernetesSecretComponent.tsx","webpack://@octopusdeploy/octopus-deploy-portal/./app/components/Actions/kubernetes/kubernetesSecretAction.tsx","webpack://@octopusdeploy/octopus-deploy-portal/./app/components/Actions/kubernetes/kubernetesKustomizeAction.tsx","webpack://@octopusdeploy/octopus-deploy-portal/./app/components/Actions/kubernetes/kubernetesRawYamlAction.tsx","webpack://@octopusdeploy/octopus-deploy-portal/./app/components/form/AccountSelect/ProjectAccountVariableSelect.tsx","webpack://@octopusdeploy/octopus-deploy-portal/./app/components/Actions/aws/awsLoginComponent.tsx","webpack://@octopusdeploy/octopus-deploy-portal/./app/components/Actions/aws/awsApplyCloudFormationAction.tsx","webpack://@octopusdeploy/octopus-deploy-portal/./app/components/Actions/aws/awsCloudFormationChangesetFeature.tsx","webpack://@octopusdeploy/octopus-deploy-portal/./app/components/Actions/aws/awsDeleteCloudFormationAction.tsx","webpack://@octopusdeploy/octopus-deploy-portal/./app/components/DynamicForm/DynamicConnectivityCheckDialog.tsx","webpack://@octopusdeploy/octopus-deploy-portal/./app/components/DynamicForm/DynamicConnectivityCheck.tsx","webpack://@octopusdeploy/octopus-deploy-portal/./app/components/DynamicForm/MetadataTypeHelpers.tsx","webpack://@octopusdeploy/octopus-deploy-portal/./app/components/DynamicForm/DynamicForm.tsx","webpack://@octopusdeploy/octopus-deploy-portal/./app/components/Features/enabledFeaturesHelpers.ts","webpack://@octopusdeploy/octopus-deploy-portal/./app/components/Features/structuredConfigurationVariables/structuredConfigurationVariablesToggle.tsx","webpack://@octopusdeploy/octopus-deploy-portal/./app/components/Actions/aws/awsDeployCloudFormationAction.tsx","webpack://@octopusdeploy/octopus-deploy-portal/./app/components/Actions/aws/awsRunScriptAction.tsx","webpack://@octopusdeploy/octopus-deploy-portal/./app/components/Actions/aws/awsUploadS3Action.tsx","webpack://@octopusdeploy/octopus-deploy-portal/./app/components/Actions/googleCloud/googleCloudAuthenticationComponent.tsx","webpack://@octopusdeploy/octopus-deploy-portal/./app/components/convertPropertyValueResourceToString.ts","webpack://@octopusdeploy/octopus-deploy-portal/./app/components/Actions/terraform/terraformAction.tsx","webpack://@octopusdeploy/octopus-deploy-portal/./app/components/Actions/terraform/terraformApplyAction.tsx","webpack://@octopusdeploy/octopus-deploy-portal/./app/components/Actions/terraform/terraformDestroyAction.tsx","webpack://@octopusdeploy/octopus-deploy-portal/./app/components/Actions/terraform/terraformJSONPlan.tsx","webpack://@octopusdeploy/octopus-deploy-portal/./app/components/Actions/terraform/terraformPlanAction.tsx","webpack://@octopusdeploy/octopus-deploy-portal/./app/components/Actions/terraform/terraformPlanDestroyAction.tsx","webpack://@octopusdeploy/octopus-deploy-portal/./app/components/Actions/vhd/vhdAction.tsx","webpack://@octopusdeploy/octopus-deploy-portal/./app/components/Actions/nginx/nginxAction.tsx","webpack://@octopusdeploy/octopus-deploy-portal/./app/components/Features/dotnetConfigurationVariables/dotnetConfigurationVariables.tsx","webpack://@octopusdeploy/octopus-deploy-portal/./app/components/Features/customDirectory/customDirectory.tsx","webpack://@octopusdeploy/octopus-deploy-portal/./app/utils/createHookHOC.tsx","webpack://@octopusdeploy/octopus-deploy-portal/./app/components/Actions/script/withScriptActionContext.tsx","webpack://@octopusdeploy/octopus-deploy-portal/./app/components/Features/customScripts/customScripts.tsx","webpack://@octopusdeploy/octopus-deploy-portal/./app/components/Features/iisHome/iisHome.tsx","webpack://@octopusdeploy/octopus-deploy-portal/./app/components/ThumbprintText/ThumbprintText.tsx","webpack://@octopusdeploy/octopus-deploy-portal/./app/components/ThumbprintText/index.tsx","webpack://@octopusdeploy/octopus-deploy-portal/./app/components/form/Sensitive/getSensitiveResetValue.ts","webpack://@octopusdeploy/octopus-deploy-portal/./app/components/Features/iisWebSite/applicationPool.tsx","webpack://@octopusdeploy/octopus-deploy-portal/./app/components/Features/iisWebSite/bindingDialog.tsx","webpack://@octopusdeploy/octopus-deploy-portal/./app/components/Features/iisWebSite/bindingHelpers.ts","webpack://@octopusdeploy/octopus-deploy-portal/./app/components/Features/iisWebSite/iisWebSite.tsx","webpack://@octopusdeploy/octopus-deploy-portal/./app/components/Features/redgateDatabase/redgateDatabase.tsx","webpack://@octopusdeploy/octopus-deploy-portal/./app/components/Features/vhd/vhd.tsx","webpack://@octopusdeploy/octopus-deploy-portal/./app/components/Features/windowsService/windowsService.tsx","webpack://@octopusdeploy/octopus-deploy-portal/./app/components/Features/kubernetes/kubernetesIngressFeature.tsx","webpack://@octopusdeploy/octopus-deploy-portal/./app/components/Features/kubernetes/kubernetesServiceFeature.tsx","webpack://@octopusdeploy/octopus-deploy-portal/./app/components/Features/kubernetes/kubernetesConfigMapFeature.tsx","webpack://@octopusdeploy/octopus-deploy-portal/./app/components/Features/kubernetes/kubernetesSecretFeature.tsx","webpack://@octopusdeploy/octopus-deploy-portal/./app/components/Actions/kubernetes/kubernetesCustomResourceComponent.tsx","webpack://@octopusdeploy/octopus-deploy-portal/./app/components/Features/kubernetes/kubernetesCustomResourceFeature.tsx","webpack://@octopusdeploy/octopus-deploy-portal/./app/components/RemoveItemsList/index.tsx","webpack://@octopusdeploy/octopus-deploy-portal/./app/components/Features/nginx/bindingHelpers.ts","webpack://@octopusdeploy/octopus-deploy-portal/./app/components/Features/nginx/bindingDialog.tsx","webpack://@octopusdeploy/octopus-deploy-portal/./app/components/Features/nginx/locationHelpers.ts","webpack://@octopusdeploy/octopus-deploy-portal/./app/components/Features/nginx/locationDialog.tsx","webpack://@octopusdeploy/octopus-deploy-portal/./app/components/Features/nginx/nginx.tsx","webpack://@octopusdeploy/octopus-deploy-portal/./app/components/Features/selectPowerShellEditionForWindows/selectPowerShellEditionForWindows.tsx","webpack://@octopusdeploy/octopus-deploy-portal/./app/components/Actions/googleCloud/googleCloudRunScriptAction.tsx","webpack://@octopusdeploy/octopus-deploy-portal/./app/areas/projects/components/Process/Blueprints/processTemplateId.ts","webpack://@octopusdeploy/octopus-deploy-portal/./app/areas/projects/components/Process/Contexts/ProcessBlueprintsContextProvider.tsx","webpack://@octopusdeploy/octopus-deploy-portal/./app/components/Actions/blueprint/blueprintReferenceActionEdit.tsx","webpack://@octopusdeploy/octopus-deploy-portal/./app/areas/infrastructure/components/MachineSettings/Endpoints/KubernetesAgent/ConfigurationMessages.tsx","webpack://@octopusdeploy/octopus-deploy-portal/./app/areas/infrastructure/components/MachineSettings/Endpoints/KubernetesAgent/HaNodeConfigurationPage.tsx","webpack://@octopusdeploy/octopus-deploy-portal/./app/areas/infrastructure/components/MachineSettings/Endpoints/KubernetesAgent/Styles.ts","webpack://@octopusdeploy/octopus-deploy-portal/./app/areas/infrastructure/components/MachineSettings/Endpoints/KubernetesAgent/NfsDriverInstallationPage.tsx","webpack://@octopusdeploy/octopus-deploy-portal/./app/areas/infrastructure/components/MachineSettings/Endpoints/KubernetesAgent/NfsDriverHelmCommand.ts","webpack://@octopusdeploy/octopus-deploy-portal/./app/components/OnboardingDialog/CustomTransparentDialogFrame.tsx","webpack://@octopusdeploy/octopus-deploy-portal/./app/components/OnboardingDialog/HelpPanel.tsx","webpack://@octopusdeploy/octopus-deploy-portal/./app/hooks/useDidUpdateEffect.ts","webpack://@octopusdeploy/octopus-deploy-portal/./app/components/OnboardingDialog/OnboardingDialog.tsx","webpack://@octopusdeploy/octopus-deploy-portal/./app/components/ErrorPanel/index.tsx","webpack://@octopusdeploy/octopus-deploy-portal/./app/components/KeyboardHandler/index.ts","webpack://@octopusdeploy/octopus-deploy-portal/./app/components/OnboardingDialog/OnboardingDialogLayout.tsx","webpack://@octopusdeploy/octopus-deploy-portal/./app/components/OnboardingDialog/PagedOnboardingDialog.tsx","webpack://@octopusdeploy/octopus-deploy-portal/./app/areas/infrastructure/components/MachineSettings/Endpoints/KubernetesAgent/ConfigurationDialog.tsx","webpack://@octopusdeploy/octopus-deploy-portal/./app/areas/infrastructure/components/MachineSettings/Endpoints/KubernetesAgent/BearerTokenGenerator.ts","webpack://@octopusdeploy/octopus-deploy-portal/./app/areas/infrastructure/components/MachineSettings/Endpoints/KubernetesAgent/ConfigurationDialogHelp.tsx","webpack://@octopusdeploy/octopus-deploy-portal/./app/areas/infrastructure/components/MachineSettings/Endpoints/KubernetesAgent/DiscoveryProgress.tsx","webpack://@octopusdeploy/octopus-deploy-portal/./app/utils/DateFormatter/DateFormatter.tsx","webpack://@octopusdeploy/octopus-deploy-portal/./app/utils/DateFormatter/index.tsx","webpack://@octopusdeploy/octopus-deploy-portal/./app/components/TimeLabels/TimeFromNowLabel.tsx","webpack://@octopusdeploy/octopus-deploy-portal/./app/areas/infrastructure/components/MachineSettings/Endpoints/KubernetesAgent/InstallationPage.tsx","webpack://@octopusdeploy/octopus-deploy-portal/./app/components/Button/DropDownIcon/DropDownIcon.tsx","webpack://@octopusdeploy/octopus-deploy-portal/./app/areas/infrastructure/components/MachineSettings/Endpoints/KubernetesAgent/LocalDevServerUrlHelper.tsx","webpack://@octopusdeploy/octopus-deploy-portal/./app/areas/infrastructure/components/MachineSettings/Endpoints/KubernetesAgent/StorageContextualHelp.tsx","webpack://@octopusdeploy/octopus-deploy-portal/./app/areas/infrastructure/components/MachineSettings/Endpoints/KubernetesAgent/ConfigurationPage.tsx","webpack://@octopusdeploy/octopus-deploy-portal/./app/components/MultiSelect/TargetTagMultiSelect.tsx","webpack://@octopusdeploy/octopus-deploy-portal/./app/components/MultiSelect/TargetTagMultiSelect.analytics.ts","webpack://@octopusdeploy/octopus-deploy-portal/./app/areas/infrastructure/components/MachineSettings/Endpoints/KubernetesAgent/TargetConfigurationPage.tsx","webpack://@octopusdeploy/octopus-deploy-portal/./app/areas/infrastructure/components/MachineSettings/Endpoints/KubernetesAgent/KubernetesAgentHelperMethods.ts","webpack://@octopusdeploy/octopus-deploy-portal/./app/areas/infrastructure/components/MachineSettings/Endpoints/KubernetesAgent/KubernetesAgentInstallationCommandBuilder.ts","webpack://@octopusdeploy/octopus-deploy-portal/./app/areas/infrastructure/components/MachineSettings/Endpoints/KubernetesAgent/createHelmCommand.ts","webpack://@octopusdeploy/octopus-deploy-portal/./app/areas/infrastructure/components/MachineSettings/Endpoints/KubernetesAgent/KubernetesAgentTargetConfigurationDialog.tsx","webpack://@octopusdeploy/octopus-deploy-portal/./app/areas/infrastructure/components/MachineSettings/Endpoints/KubernetesAgent/WorkerPoolCreationForm.tsx","webpack://@octopusdeploy/octopus-deploy-portal/./app/components/MultiSelect/WorkerPoolMultiSelect.tsx","webpack://@octopusdeploy/octopus-deploy-portal/./app/areas/infrastructure/components/MachineSettings/Endpoints/KubernetesAgent/WorkerConfigurationPage.tsx","webpack://@octopusdeploy/octopus-deploy-portal/./app/areas/infrastructure/components/MachineSettings/Endpoints/KubernetesAgent/KubernetesAgentWorkerConfigurationDialog.tsx","webpack://@octopusdeploy/octopus-deploy-portal/./app/components/Images/MachineSettings/KubernetesAgent.tsx","webpack://@octopusdeploy/octopus-deploy-portal/./app/areas/infrastructure/components/MachineSettings/Endpoints/KubernetesAgentEndpoint.tsx","webpack://@octopusdeploy/octopus-deploy-portal/./app/areas/infrastructure/components/MachineSettings/Endpoints/KubernetesAgent/useKubernetesWorkerOutOfEarlyAccess.ts","webpack://@octopusdeploy/octopus-deploy-portal/./app/components/Images/MachineSettings/AzureCloudService.tsx","webpack://@octopusdeploy/octopus-deploy-portal/./app/areas/infrastructure/components/MachineSettings/Endpoints/AzureCloudServiceEndpoint.tsx","webpack://@octopusdeploy/octopus-deploy-portal/./app/components/Images/MachineSettings/AzureServiceFabric.tsx","webpack://@octopusdeploy/octopus-deploy-portal/./app/areas/library/components/Certificates/Certificate/ArchiveCertificate.tsx","webpack://@octopusdeploy/octopus-deploy-portal/./app/areas/library/components/Certificates/Certificate/CertificateDetail.tsx","webpack://@octopusdeploy/octopus-deploy-portal/./app/areas/library/components/Certificates/Certificate/CertificateUsage.tsx","webpack://@octopusdeploy/octopus-deploy-portal/./app/areas/library/components/Certificates/Certificate/DownloadCertificate.tsx","webpack://@octopusdeploy/octopus-deploy-portal/./app/areas/library/components/Certificates/Certificate/ReplaceCertificate.tsx","webpack://@octopusdeploy/octopus-deploy-portal/./app/areas/library/components/Certificates/Certificate/CertificatePage.tsx","webpack://@octopusdeploy/octopus-deploy-portal/./app/areas/library/components/Certificates/Certificate/certificateUsageSummary.ts","webpack://@octopusdeploy/octopus-deploy-portal/./app/areas/library/components/Certificates/Certificate/amplitudeAnalytics.ts","webpack://@octopusdeploy/octopus-deploy-portal/./app/areas/library/components/Certificates/Certificate/CertificateDrawer.tsx","webpack://@octopusdeploy/octopus-deploy-portal/./app/components/Dialog/OpenDialogIconButton.tsx","webpack://@octopusdeploy/octopus-deploy-portal/./app/components/PagingBaseComponent/index.tsx","webpack://@octopusdeploy/octopus-deploy-portal/./app/components/PagingList/PagingList.tsx","webpack://@octopusdeploy/octopus-deploy-portal/./app/components/PagingList/index.tsx","webpack://@octopusdeploy/octopus-deploy-portal/./app/components/MarkdownDescription/index.tsx","webpack://@octopusdeploy/octopus-deploy-portal/./app/components/form/CertificateSearch/CertificateSummary.tsx","webpack://@octopusdeploy/octopus-deploy-portal/./app/components/form/CertificateSearch/CertificateSearch.tsx","webpack://@octopusdeploy/octopus-deploy-portal/./app/components/form/CertificateSelect/CertificateSelector.tsx","webpack://@octopusdeploy/octopus-deploy-portal/./app/components/form/CertificateSelect/CertificateSelect.tsx","webpack://@octopusdeploy/octopus-deploy-portal/./app/areas/infrastructure/components/MachineSettings/Endpoints/AzureServiceFabricClusterEndpoint.tsx","webpack://@octopusdeploy/octopus-deploy-portal/./app/components/Images/MachineSettings/AzureVm.tsx","webpack://@octopusdeploy/octopus-deploy-portal/./app/areas/infrastructure/components/MachineSettings/Endpoints/RegistrationCards.tsx","webpack://@octopusdeploy/octopus-deploy-portal/./app/areas/infrastructure/components/MachineSettings/Endpoints/AzureVmEndpointRegistration.tsx","webpack://@octopusdeploy/octopus-deploy-portal/./app/components/Images/MachineSettings/AzureWebApp.tsx","webpack://@octopusdeploy/octopus-deploy-portal/./app/areas/infrastructure/components/MachineSettings/Endpoints/AzureWebAppAndResourceGroupSelector.tsx","webpack://@octopusdeploy/octopus-deploy-portal/./app/areas/infrastructure/components/MachineSettings/Endpoints/AzureWebAppSlotSelector.tsx","webpack://@octopusdeploy/octopus-deploy-portal/./app/areas/infrastructure/components/MachineSettings/Endpoints/AzureWebAppEndpoint.tsx","webpack://@octopusdeploy/octopus-deploy-portal/./app/components/Images/MachineSettings/AzureCloudRegion.tsx","webpack://@octopusdeploy/octopus-deploy-portal/./app/areas/infrastructure/components/MachineSettings/Endpoints/CloudRegionEndpoint.tsx","webpack://@octopusdeploy/octopus-deploy-portal/./app/areas/infrastructure/components/MachineSettings/Endpoints/DefaultNamespacePicker.tsx","webpack://@octopusdeploy/octopus-deploy-portal/./app/utils/callAll.ts","webpack://@octopusdeploy/octopus-deploy-portal/./app/components/ContainerSelector/ExecutionContainerImageSelector.tsx","webpack://@octopusdeploy/octopus-deploy-portal/./app/components/Images/MachineSettings/KubernetesApi.tsx","webpack://@octopusdeploy/octopus-deploy-portal/./app/areas/infrastructure/components/MachineSettings/Endpoints/KubernetesEndpoint.tsx","webpack://@octopusdeploy/octopus-deploy-portal/./app/components/Images/MachineSettings/OfflinePackageDrop.tsx","webpack://@octopusdeploy/octopus-deploy-portal/./app/areas/infrastructure/components/MachineSettings/Endpoints/OfflineDropEndpoint.tsx","webpack://@octopusdeploy/octopus-deploy-portal/./app/components/Images/MachineSettings/SshConnection.tsx","webpack://@octopusdeploy/octopus-deploy-portal/./app/areas/infrastructure/components/MachineSettings/Endpoints/SshEndpoint.tsx","webpack://@octopusdeploy/octopus-deploy-portal/./app/areas/infrastructure/components/TentacleCallout/TentacleCalloutHeading.tsx","webpack://@octopusdeploy/octopus-deploy-portal/./app/areas/infrastructure/components/TentacleCallout/LinuxListeningTentacleCallout.tsx","webpack://@octopusdeploy/octopus-deploy-portal/./app/areas/infrastructure/components/TentacleCallout/LinuxPollingTentacleCallout.tsx","webpack://@octopusdeploy/octopus-deploy-portal/./app/areas/infrastructure/components/TentacleDownloadButton/TentacleDownloadButton.tsx","webpack://@octopusdeploy/octopus-deploy-portal/./app/components/Navigation/ExternalLink/useExternalLinksWithAnalytics.tsx","webpack://@octopusdeploy/octopus-deploy-portal/./app/areas/infrastructure/components/TentacleCallout/WindowsListeningTentacleCallout.tsx","webpack://@octopusdeploy/octopus-deploy-portal/./app/areas/infrastructure/components/TentacleCallout/WindowsPollingTentacleCallout.tsx","webpack://@octopusdeploy/octopus-deploy-portal/./app/components/Images/MachineSettings/PollingTarget.tsx","webpack://@octopusdeploy/octopus-deploy-portal/./app/components/ServerThumbprint/ServerThumbprint.tsx","webpack://@octopusdeploy/octopus-deploy-portal/./app/areas/infrastructure/components/MachineSettings/Endpoints/TentacleThumbprint.tsx","webpack://@octopusdeploy/octopus-deploy-portal/./app/areas/infrastructure/components/MachineSettings/Endpoints/TentacleActiveEndpoint.tsx","webpack://@octopusdeploy/octopus-deploy-portal/./app/components/Images/MachineSettings/ListeningTarget.tsx","webpack://@octopusdeploy/octopus-deploy-portal/./app/areas/infrastructure/components/MachineSettings/Endpoints/TentaclePassiveEndpoint.tsx","webpack://@octopusdeploy/octopus-deploy-portal/./app/areas/library/components/BuiltInRepository/PackagingOnboarding/Instructions/index.ts","webpack://@octopusdeploy/octopus-deploy-portal/./app/areas/infrastructure/components/MachineSettings/Endpoints/register.tsx","webpack://@octopusdeploy/octopus-deploy-portal/./app/areas/library/components/BuiltInRepository/PackagingOnboarding/Registrations/CommonRegistrationText.tsx","webpack://@octopusdeploy/octopus-deploy-portal/./app/areas/library/components/BuiltInRepository/PackagingOnboarding/Registrations/AspNet/BuildServerPackagingInstruction.tsx","webpack://@octopusdeploy/octopus-deploy-portal/./app/areas/library/components/BuiltInRepository/PackagingOnboarding/Registrations/AspNet/CommandLinePackagingInstruction.tsx","webpack://@octopusdeploy/octopus-deploy-portal/./app/areas/library/components/BuiltInRepository/PackagingOnboarding/Registrations/AspNet/ManualPackagingInstruction.tsx","webpack://@octopusdeploy/octopus-deploy-portal/./app/areas/library/components/BuiltInRepository/PackagingOnboarding/Registrations/AspNet/index.ts","webpack://@octopusdeploy/octopus-deploy-portal/./app/areas/library/components/BuiltInRepository/PackagingOnboarding/Registrations/AspNetCore/BuildServerPackagingInstruction.tsx","webpack://@octopusdeploy/octopus-deploy-portal/./app/areas/library/components/BuiltInRepository/PackagingOnboarding/Registrations/AspNetCore/CommandLinePackagingInstruction.tsx","webpack://@octopusdeploy/octopus-deploy-portal/./app/areas/library/components/BuiltInRepository/PackagingOnboarding/Registrations/AspNetCore/ManualPackagingInstruction.tsx","webpack://@octopusdeploy/octopus-deploy-portal/./app/areas/library/components/BuiltInRepository/PackagingOnboarding/Registrations/AspNetCore/index.ts","webpack://@octopusdeploy/octopus-deploy-portal/./app/areas/library/components/BuiltInRepository/PackagingOnboarding/Registrations/AspNetOther/index.ts","webpack://@octopusdeploy/octopus-deploy-portal/./app/areas/library/components/BuiltInRepository/PackagingOnboarding/Registrations/Java/BuildServerPackagingInstruction.tsx","webpack://@octopusdeploy/octopus-deploy-portal/./app/areas/library/components/BuiltInRepository/PackagingOnboarding/Registrations/Java/CommandLinePackagingInstruction.tsx","webpack://@octopusdeploy/octopus-deploy-portal/./app/areas/library/components/BuiltInRepository/PackagingOnboarding/Registrations/Java/ManualPackagingInstruction.tsx","webpack://@octopusdeploy/octopus-deploy-portal/./app/areas/library/components/BuiltInRepository/PackagingOnboarding/Registrations/Java/index.ts","webpack://@octopusdeploy/octopus-deploy-portal/./app/areas/library/components/BuiltInRepository/PackagingOnboarding/Registrations/NodeJs/BuildServerPackagingInstruction.tsx","webpack://@octopusdeploy/octopus-deploy-portal/./app/areas/library/components/BuiltInRepository/PackagingOnboarding/Registrations/NodeJs/CommandLinePackagingInstruction.tsx","webpack://@octopusdeploy/octopus-deploy-portal/./app/areas/library/components/BuiltInRepository/PackagingOnboarding/Registrations/NodeJs/ManualPackagingInstruction.tsx","webpack://@octopusdeploy/octopus-deploy-portal/./app/areas/library/components/BuiltInRepository/PackagingOnboarding/Registrations/NodeJs/index.ts","webpack://@octopusdeploy/octopus-deploy-portal/./app/areas/library/components/BuiltInRepository/PackagingOnboarding/Registrations/Other/BuildServerPackagingInstruction.tsx","webpack://@octopusdeploy/octopus-deploy-portal/./app/areas/library/components/BuiltInRepository/PackagingOnboarding/Registrations/Other/CommandLinePackagingInstruction.tsx","webpack://@octopusdeploy/octopus-deploy-portal/./app/areas/library/components/BuiltInRepository/PackagingOnboarding/Registrations/Other/ManualPackagingInstruction.tsx","webpack://@octopusdeploy/octopus-deploy-portal/./app/areas/library/components/BuiltInRepository/PackagingOnboarding/Registrations/Other/index.ts","webpack://@octopusdeploy/octopus-deploy-portal/./app/areas/library/components/BuiltInRepository/PackagingOnboarding/Registry/register.tsx","webpack://@octopusdeploy/octopus-deploy-portal/./app/components/ContextualHelpLayout/PageHelpRegistry/Registry/pageHelpRegistry.tsx","webpack://@octopusdeploy/octopus-deploy-portal/./app/components/ContextualHelpLayout/PageHelpRegistry/Registry/register.tsx","webpack://@octopusdeploy/octopus-deploy-portal/./app/PageChangedCallbacks.tsx","webpack://@octopusdeploy/octopus-deploy-portal/./app/areas/dynamicExtensions/dynamicExtensionsLoader.ts","webpack://@octopusdeploy/octopus-deploy-portal/./app/components/Images/LoadingCowboy/LoadingImage.tsx","webpack://@octopusdeploy/octopus-deploy-portal/./app/areas/infrastructure/components/LoadingScreen/LoadingScreen.tsx","webpack://@octopusdeploy/octopus-deploy-portal/./app/areas/infrastructure/components/ClientConnector/ClientConnector.tsx","webpack://@octopusdeploy/octopus-deploy-portal/./app/analytics/AmplitudeSession.ts","webpack://@octopusdeploy/octopus-deploy-portal/./app/analytics/anonymizeString.ts","webpack://@octopusdeploy/octopus-deploy-portal/./app/components/CenteredLayout/CenteredLayout.tsx","webpack://@octopusdeploy/octopus-deploy-portal/./app/areas/authentication/AuthenticationLayout/AuthenticationLayoutInternal.tsx","webpack://@octopusdeploy/octopus-deploy-portal/./app/areas/authentication/AuthenticationLayout/index.tsx","webpack://@octopusdeploy/octopus-deploy-portal/./app/areas/authentication/AuthenticationLayout/AuthenticationLayout.tsx","webpack://@octopusdeploy/octopus-deploy-portal/./app/components/AuthenticationRoutes/authRoutes.ts","webpack://@octopusdeploy/octopus-deploy-portal/./app/areas/authentication/Register/Register.tsx","webpack://@octopusdeploy/octopus-deploy-portal/./app/areas/authentication/Register/index.tsx","webpack://@octopusdeploy/octopus-deploy-portal/./app/utils/PageTitleHelper/index.tsx","webpack://@octopusdeploy/octopus-deploy-portal/./app/components/Images/Resources/Octopus.tsx","webpack://@octopusdeploy/octopus-deploy-portal/./app/components/Images/SignIn/StarFish.tsx","webpack://@octopusdeploy/octopus-deploy-portal/./app/areas/authentication/AuthProvider/AuthProvider.tsx","webpack://@octopusdeploy/octopus-deploy-portal/./app/areas/authentication/AuthProvider/index.tsx","webpack://@octopusdeploy/octopus-deploy-portal/./app/areas/authentication/SignIn/SignIn.tsx","webpack://@octopusdeploy/octopus-deploy-portal/./app/components/SecureRoute/localStateIncludedFrom.ts","webpack://@octopusdeploy/octopus-deploy-portal/./app/areas/authentication/SignIn/loginStateCalculator.ts","webpack://@octopusdeploy/octopus-deploy-portal/./app/areas/authentication/SignIn/index.tsx","webpack://@octopusdeploy/octopus-deploy-portal/./app/areas/authentication/SignOut/SignOut.tsx","webpack://@octopusdeploy/octopus-deploy-portal/./app/areas/authentication/SignOut/index.tsx","webpack://@octopusdeploy/octopus-deploy-portal/./app/areas/projects/components/ProjectStatus/actions.ts","webpack://@octopusdeploy/octopus-deploy-portal/./app/areas/projects/components/ProjectStatus/reducer.ts","webpack://@octopusdeploy/octopus-deploy-portal/./app/areas/configuration/hooks/useIsMultiTenancyEnabledFeatureFlag.ts","webpack://@octopusdeploy/octopus-deploy-portal/./app/areas/dashboard/Onboarding/WelcomeDialog/Analytics/WelcomeDialogAnalytics.tsx","webpack://@octopusdeploy/octopus-deploy-portal/./app/areas/dashboard/Onboarding/WelcomeDialog/WelcomeDialogPlusIcon.tsx","webpack://@octopusdeploy/octopus-deploy-portal/./app/areas/dashboard/Onboarding/WelcomeDialog/Cards/styles.tsx","webpack://@octopusdeploy/octopus-deploy-portal/./app/areas/dashboard/Onboarding/WelcomeDialog/Cards/NewProjectCard.tsx","webpack://@octopusdeploy/octopus-deploy-portal/./app/areas/dashboard/Onboarding/WelcomeDialog/WelcomeDialogSignIcon.tsx","webpack://@octopusdeploy/octopus-deploy-portal/./app/areas/dashboard/Onboarding/WelcomeDialog/Cards/SampleProjectCard.tsx","webpack://@octopusdeploy/octopus-deploy-portal/./app/areas/dashboard/Onboarding/WelcomeDialog/WelcomeDialogProjectIcon.tsx","webpack://@octopusdeploy/octopus-deploy-portal/./app/areas/dashboard/Onboarding/WelcomeDialog/Cards/ViewProjectsCard.tsx","webpack://@octopusdeploy/octopus-deploy-portal/./app/areas/dashboard/Onboarding/WelcomeDialog/WelcomeDialogInstanceIcon.tsx","webpack://@octopusdeploy/octopus-deploy-portal/./app/areas/dashboard/Onboarding/WelcomeDialog/Cards/ViewSampleInstanceCard.tsx","webpack://@octopusdeploy/octopus-deploy-portal/./app/areas/dashboard/Onboarding/WelcomeDialog/WelcomeDialogActionCards.tsx","webpack://@octopusdeploy/octopus-deploy-portal/./app/areas/dashboard/Onboarding/WelcomeDialog/WelcomeDialogHelpPanelContent.tsx","webpack://@octopusdeploy/octopus-deploy-portal/./app/areas/projects/components/ProjectStatus/CloseButton.tsx","webpack://@octopusdeploy/octopus-deploy-portal/./app/components/Navigation/useIsPortalUrlActive.ts","webpack://@octopusdeploy/octopus-deploy-portal/./app/components/ActiveStatusIcon/ActiveStatusIcon.tsx","webpack://@octopusdeploy/octopus-deploy-portal/./app/components/ActiveStatusIcon/DisabledStatusIcon.tsx","webpack://@octopusdeploy/octopus-deploy-portal/./app/areas/projects/components/ProjectStatus/GreenTickIcon.tsx","webpack://@octopusdeploy/octopus-deploy-portal/./app/areas/projects/components/ProjectStatus/ProjectStatusIcon.tsx","webpack://@octopusdeploy/octopus-deploy-portal/./app/components/Chips/CopyToClipboardChip.tsx","webpack://@octopusdeploy/octopus-deploy-portal/./app/areas/projects/components/ProjectStatus/ProjectStatusPopover.tsx","webpack://@octopusdeploy/octopus-deploy-portal/./app/areas/projects/components/ProjectStatus/ProjectStatusItem.tsx","webpack://@octopusdeploy/octopus-deploy-portal/./app/areas/projects/components/ProjectStatus/ProjectStatusUtils.ts","webpack://@octopusdeploy/octopus-deploy-portal/./app/areas/projects/components/ProjectStatus/ProjectStatusBar.tsx","webpack://@octopusdeploy/octopus-deploy-portal/./app/areas/projects/components/ProjectStatus/useProjectStatus.tsx","webpack://@octopusdeploy/octopus-deploy-portal/./app/utils/MapProgressionToStatus/MapProgressionToStatus.ts","webpack://@octopusdeploy/octopus-deploy-portal/./app/utils/PhaseHelper/phaseHelpers.ts","webpack://@octopusdeploy/octopus-deploy-portal/./app/components/PhaseStatusIcon/ExecutingIcon.tsx","webpack://@octopusdeploy/octopus-deploy-portal/./app/components/PhaseStatusIcon/PhaseStatusIcon.tsx","webpack://@octopusdeploy/octopus-deploy-portal/./app/areas/library/components/Lifecycle/LifecycleMap/envCount.ts","webpack://@octopusdeploy/octopus-deploy-portal/./app/areas/library/components/Lifecycle/LifecycleMap/LifecycleMapInternal.tsx","webpack://@octopusdeploy/octopus-deploy-portal/./app/areas/library/components/Lifecycle/LifecycleMap/LifecycleMap.tsx","webpack://@octopusdeploy/octopus-deploy-portal/./app/areas/projects/components/Lifecycle/SelectLifecycle.tsx","webpack://@octopusdeploy/octopus-deploy-portal/./app/areas/projects/components/Projects/AdvancedProjectSection.tsx","webpack://@octopusdeploy/octopus-deploy-portal/./app/components/ProjectBasedActivation/RectangularRadioButtonStyles.ts","webpack://@octopusdeploy/octopus-deploy-portal/./app/components/form/IconEditor/IconColorPaletteSelector.tsx","webpack://@octopusdeploy/octopus-deploy-portal/./app/components/form/IconEditor/IconEditorSvg.tsx","webpack://@octopusdeploy/octopus-deploy-portal/./app/components/form/IconEditor/IconSelector.tsx","webpack://@octopusdeploy/octopus-deploy-portal/./app/components/form/IconEditor/IconEditor.tsx","webpack://@octopusdeploy/octopus-deploy-portal/./app/areas/infrastructure/components/IconAndLogoEditLayout/IconAndLogoEditLayout.tsx","webpack://@octopusdeploy/octopus-deploy-portal/./app/areas/projects/components/Projects/ProjectCardIcon.tsx","webpack://@octopusdeploy/octopus-deploy-portal/./app/areas/projects/components/Projects/IconAndLogoPreview.tsx","webpack://@octopusdeploy/octopus-deploy-portal/./app/areas/projects/components/Projects/IconAndLogoSelectorPopover.tsx","webpack://@octopusdeploy/octopus-deploy-portal/./app/areas/projects/components/Projects/AddProject.tsx","webpack://@octopusdeploy/octopus-deploy-portal/./app/components/ProjectBasedActivation/CreateEnvironmentsDialogLayout.tsx","webpack://@octopusdeploy/octopus-deploy-portal/./app/components/Theme/ThemeSelector.tsx","webpack://@octopusdeploy/octopus-deploy-portal/./app/components/OnboardingDialog/GuidedSetupFrame.tsx","webpack://@octopusdeploy/octopus-deploy-portal/./app/components/ProjectBasedActivation/CreateEnvironmentsDialog.tsx","webpack://@octopusdeploy/octopus-deploy-portal/./app/hooks/useRefreshLoop.ts","webpack://@octopusdeploy/octopus-deploy-portal/./app/components/ProjectBasedActivation/KubernetesAgentCard.tsx","webpack://@octopusdeploy/octopus-deploy-portal/./app/components/ProjectBasedActivation/KubernetesDeploymentTargetsPopover.tsx","webpack://@octopusdeploy/octopus-deploy-portal/./app/components/ProjectBasedActivation/CreateNewKubernetesCluster.tsx","webpack://@octopusdeploy/octopus-deploy-portal/./app/components/ProjectBasedActivation/CreateNewProject.tsx","webpack://@octopusdeploy/octopus-deploy-portal/./app/components/ProjectBasedActivation/NewProjectWizard.tsx","webpack://@octopusdeploy/octopus-deploy-portal/./app/components/OnboardingDialog/WelcomeToOctopus.tsx","webpack://@octopusdeploy/octopus-deploy-portal/./app/components/ProjectBasedActivation/AddNewProjectDialog.tsx","webpack://@octopusdeploy/octopus-deploy-portal/./app/areas/dashboard/Onboarding/WelcomeDialog/WelcomeDialog.tsx","webpack://@octopusdeploy/octopus-deploy-portal/./app/components/GlobalLayout/hasPermissionInAnyScope.ts","webpack://@octopusdeploy/octopus-deploy-portal/./app/components/Navbar/NotificationPoller/DeprecationNotificationsPoller.tsx","webpack://@octopusdeploy/octopus-deploy-portal/./app/components/Navbar/NotificationPoller/NotificationPoller.tsx","webpack://@octopusdeploy/octopus-deploy-portal/./app/components/Navbar/NotificationPoller/LicenceNotificationPoller.tsx","webpack://@octopusdeploy/octopus-deploy-portal/./app/components/Navbar/NotificationPoller/PageLayoutUpliftNotification.tsx","webpack://@octopusdeploy/octopus-deploy-portal/./app/components/Navbar/NotificationPoller/UpdateAvailableNotificationPoller.tsx","webpack://@octopusdeploy/octopus-deploy-portal/./app/components/SpaceLoader/SpaceLoader.tsx","webpack://@octopusdeploy/octopus-deploy-portal/./app/components/SpaceLoader/spaceLoaderLinks.ts","webpack://@octopusdeploy/octopus-deploy-portal/./app/components/SystemMessagesBanner/SystemMessagesBanner.tsx","webpack://@octopusdeploy/octopus-deploy-portal/./app/components/ErrorContext/hocs/withErrorsProvider.tsx","webpack://@octopusdeploy/octopus-deploy-portal/./app/components/EventFormatter/EventFormatter.tsx","webpack://@octopusdeploy/octopus-deploy-portal/./app/areas/blueprints/BlueprintIconEditLayout.tsx","webpack://@octopusdeploy/octopus-deploy-portal/./app/areas/blueprints/AddProcessTemplateDialog.tsx","webpack://@octopusdeploy/octopus-deploy-portal/./app/areas/blueprints/DeleteProcessTemplate.tsx","webpack://@octopusdeploy/octopus-deploy-portal/./app/areas/blueprints/LastAccessedPlatformHubGitRef.ts","webpack://@octopusdeploy/octopus-deploy-portal/./app/areas/projects/components/GitRefDropDown/GitRefButton.tsx","webpack://@octopusdeploy/octopus-deploy-portal/./app/areas/projects/components/GitRefDropDown/LockIcon.tsx","webpack://@octopusdeploy/octopus-deploy-portal/./app/areas/projects/components/GitRefDropDown/GitRefDropDown.tsx","webpack://@octopusdeploy/octopus-deploy-portal/./app/areas/projects/components/GitRefSelector/GenericGitRefSelectorInternal.tsx","webpack://@octopusdeploy/octopus-deploy-portal/./app/areas/projects/components/GitRefSelector/GenericGitRefSelector.tsx","webpack://@octopusdeploy/octopus-deploy-portal/./app/analytics/TrackedPageEventDispatcher.ts","webpack://@octopusdeploy/octopus-deploy-portal/./app/analytics/fields.ts","webpack://@octopusdeploy/octopus-deploy-portal/./app/areas/projects/components/BranchSelector/Analytics/useNotifyCreateBranch.ts","webpack://@octopusdeploy/octopus-deploy-portal/./app/areas/projects/components/BranchSelector/BranchSelectorGeneric.tsx","webpack://@octopusdeploy/octopus-deploy-portal/./app/areas/blueprints/PlatformHubPageHeaderBranchSelector.tsx","webpack://@octopusdeploy/octopus-deploy-portal/./app/analytics/CommonEventFields.ts","webpack://@octopusdeploy/octopus-deploy-portal/./app/areas/blueprints/usePlatformHubGitRef.ts","webpack://@octopusdeploy/octopus-deploy-portal/./app/components/ProjectBasedActivation/OnboardingBlankPage.tsx","webpack://@octopusdeploy/octopus-deploy-portal/./app/components/GettingStarted/OnboardingPage.tsx","webpack://@octopusdeploy/octopus-deploy-portal/./app/areas/blueprints/ProcessTemplatesPage.tsx","webpack://@octopusdeploy/octopus-deploy-portal/./app/areas/blueprints/EditProcessTemplateSettingsTab.tsx","webpack://@octopusdeploy/octopus-deploy-portal/./app/components/ControlType/ControlTypeSelector.tsx","webpack://@octopusdeploy/octopus-deploy-portal/./app/areas/blueprints/ProcessTemplateParameterEditorDialog.tsx","webpack://@octopusdeploy/octopus-deploy-portal/./app/areas/blueprints/useScopeWidth.tsx","webpack://@octopusdeploy/octopus-deploy-portal/./app/areas/tenants/MissingVariablesIcon/MissingVariablesIcon.tsx","webpack://@octopusdeploy/octopus-deploy-portal/./app/areas/variables/isAccountType.ts","webpack://@octopusdeploy/octopus-deploy-portal/./app/components/ReadonlyText/ReadonlyText.tsx","webpack://@octopusdeploy/octopus-deploy-portal/./app/components/ReadonlyText/index.ts","webpack://@octopusdeploy/octopus-deploy-portal/./app/areas/projects/components/Variables/TenantVariables/ReadonlyInlineVariableValue.tsx","webpack://@octopusdeploy/octopus-deploy-portal/./app/areas/projects/components/Variables/TenantVariables/TemplateHelpText.tsx","webpack://@octopusdeploy/octopus-deploy-portal/./app/areas/projects/components/Variables/TenantVariables/TemplateName.tsx","webpack://@octopusdeploy/octopus-deploy-portal/./app/areas/projects/components/Variables/TenantVariables/getVariableTypeFromDisplaySettings.ts","webpack://@octopusdeploy/octopus-deploy-portal/./app/areas/variables/VariableCell/VariableCell.tsx","webpack://@octopusdeploy/octopus-deploy-portal/./app/areas/variables/VariableEditor/types.ts","webpack://@octopusdeploy/octopus-deploy-portal/./app/areas/library/components/TagSets/TagListEdit/SortTags.tsx","webpack://@octopusdeploy/octopus-deploy-portal/./app/areas/library/components/TagSets/TagListEdit/TagItemEdit.tsx","webpack://@octopusdeploy/octopus-deploy-portal/./app/areas/library/components/TagSets/TagListEdit/TagListEdit.tsx","webpack://@octopusdeploy/octopus-deploy-portal/./app/areas/variables/VariableSorting/sortVariables.ts","webpack://@octopusdeploy/octopus-deploy-portal/./app/components/Measure/MeasureOutOfFlow.tsx","webpack://@octopusdeploy/octopus-deploy-portal/./app/components/PopoverWhenFocused/PopoverWhenFocused.tsx","webpack://@octopusdeploy/octopus-deploy-portal/./app/components/WarningIcon/WarningIcon.tsx","webpack://@octopusdeploy/octopus-deploy-portal/./app/components/WarningIcon/index.ts","webpack://@octopusdeploy/octopus-deploy-portal/./app/areas/variables/ScopeConsistency/model.ts","webpack://@octopusdeploy/octopus-deploy-portal/./app/areas/variables/ScopeConsistency/utils.ts","webpack://@octopusdeploy/octopus-deploy-portal/./app/areas/variables/ScopeConsistency/rules.ts","webpack://@octopusdeploy/octopus-deploy-portal/./app/areas/variables/VariableScope/VariableScope.tsx","webpack://@octopusdeploy/octopus-deploy-portal/./app/areas/variables/ScopeConsistency/checkScopeConsistency.ts","webpack://@octopusdeploy/octopus-deploy-portal/./app/components/FocusActionsLayout/FocusActionsLayout.tsx","webpack://@octopusdeploy/octopus-deploy-portal/./app/components/MultiSelect/ChannelMultiSelect.tsx","webpack://@octopusdeploy/octopus-deploy-portal/./app/components/MultiSelect/MachineMultiSelect.tsx","webpack://@octopusdeploy/octopus-deploy-portal/./app/components/MultiSelect/ProcessMultiSelect.tsx","webpack://@octopusdeploy/octopus-deploy-portal/./app/components/Typeahead/Typeahead.tsx","webpack://@octopusdeploy/octopus-deploy-portal/./app/components/Typeahead/TypeaheadStepSelector.tsx","webpack://@octopusdeploy/octopus-deploy-portal/./app/areas/variables/ScopeSelector/ScopeSelector.tsx","webpack://@octopusdeploy/octopus-deploy-portal/./app/areas/variables/VariableScopeCell/VariableScopeCell.tsx","webpack://@octopusdeploy/octopus-deploy-portal/./app/areas/variables/VariableScopeCell/index.ts","webpack://@octopusdeploy/octopus-deploy-portal/./app/components/ActionTemplateParametersList/ActionTemplateParameterEditorDialog.tsx","webpack://@octopusdeploy/octopus-deploy-portal/./app/components/ActionTemplateParametersList/ActionTemplateParameterResourceSummary.tsx","webpack://@octopusdeploy/octopus-deploy-portal/./app/components/ActionTemplateParametersList/ActionTemplateParameterSorter.tsx","webpack://@octopusdeploy/octopus-deploy-portal/./app/components/ActionTemplateParametersList/ActionTemplateParametersList.tsx","webpack://@octopusdeploy/octopus-deploy-portal/./app/components/ActionTemplateParametersList/index.ts","webpack://@octopusdeploy/octopus-deploy-portal/./app/components/ControlInputs/CheckboxInput.tsx","webpack://@octopusdeploy/octopus-deploy-portal/./app/components/ControlInputs/MultiLineTextInput.tsx","webpack://@octopusdeploy/octopus-deploy-portal/./app/components/ControlInputs/SelectInput.tsx","webpack://@octopusdeploy/octopus-deploy-portal/./app/components/ControlInputs/SingleLineTextInput.tsx","webpack://@octopusdeploy/octopus-deploy-portal/./app/components/DataBaseComponent/useLegacyDoBusyTask.ts","webpack://@octopusdeploy/octopus-deploy-portal/./app/components/GroupedDataTable/GroupedDataTable.tsx","webpack://@octopusdeploy/octopus-deploy-portal/./app/components/PopoverWhenFocused/index.ts","webpack://@octopusdeploy/octopus-deploy-portal/./app/primitiveComponents/form/Select/Options.tsx","webpack://@octopusdeploy/octopus-deploy-portal/./app/areas/blueprints/ProcessTemplateParametersTab.tsx","webpack://@octopusdeploy/octopus-deploy-portal/./app/areas/projects/components/Releases/GitRefChip/GitRefChip.tsx","webpack://@octopusdeploy/octopus-deploy-portal/./app/areas/blueprints/PublishTemplateDialog.tsx","webpack://@octopusdeploy/octopus-deploy-portal/./app/areas/blueprints/UsageConstraintTable.tsx","webpack://@octopusdeploy/octopus-deploy-portal/./app/components/MultiSelect/SpaceMultiSelect.tsx","webpack://@octopusdeploy/octopus-deploy-portal/./app/areas/blueprints/ShareTemplateDialog.tsx","webpack://@octopusdeploy/octopus-deploy-portal/./app/areas/blueprints/StopSharingTemplateDialog.tsx","webpack://@octopusdeploy/octopus-deploy-portal/./app/areas/projects/components/Process/Contexts/ProcessAccountsContextProvider.tsx","webpack://@octopusdeploy/octopus-deploy-portal/./app/areas/projects/components/Process/Contexts/DeploymentProcessUpload/DeploymentProcessUpload.tsx","webpack://@octopusdeploy/octopus-deploy-portal/./app/areas/projects/components/Process/Contexts/ProcessActionTemplatesContextProvider.tsx","webpack://@octopusdeploy/octopus-deploy-portal/./app/areas/projects/components/Process/Contexts/ProcessErrors/ProcessErrorsContext.tsx","webpack://@octopusdeploy/octopus-deploy-portal/./app/areas/projects/components/Process/Contexts/ProcessSearchFilter/index.tsx","webpack://@octopusdeploy/octopus-deploy-portal/./app/areas/projects/components/Process/Contexts/ProcessSearchFilter/ProcessSearchFilterContext.tsx","webpack://@octopusdeploy/octopus-deploy-portal/./app/areas/projects/components/Process/Contexts/ProcessWarnings/ProcessWarningsContext.tsx","webpack://@octopusdeploy/octopus-deploy-portal/./app/areas/projects/components/Process/Contexts/ProcessController.tsx","webpack://@octopusdeploy/octopus-deploy-portal/./app/components/QueryStringFilters/QueryStringFilters.tsx","webpack://@octopusdeploy/octopus-deploy-portal/./app/areas/projects/components/Process/Contexts/ProcessQueryString/ProcessQueryStringContext.tsx","webpack://@octopusdeploy/octopus-deploy-portal/./app/areas/projects/context/PersistenceSettingsContext.tsx","webpack://@octopusdeploy/octopus-deploy-portal/./app/areas/projects/components/Runbooks/RunbookContext.tsx","webpack://@octopusdeploy/octopus-deploy-portal/./app/areas/projects/components/Runbooks/useNewRunbookRunsListPageFeatureToggle.ts","webpack://@octopusdeploy/octopus-deploy-portal/./app/areas/projects/components/Runbooks/RunbooksNavigationTabs.tsx","webpack://@octopusdeploy/octopus-deploy-portal/./app/areas/projects/components/Runbooks/Layouts/RunbookPageContent.tsx","webpack://@octopusdeploy/octopus-deploy-portal/./app/areas/projects/components/Steps/AddBlueprintStepButton.tsx","webpack://@octopusdeploy/octopus-deploy-portal/./app/areas/projects/components/VersionControl/CannotCommitCallout.tsx","webpack://@octopusdeploy/octopus-deploy-portal/./app/areas/projects/components/VersionControl/GitCallouts.tsx","webpack://@octopusdeploy/octopus-deploy-portal/./app/areas/projects/components/Runbooks/isRunbookConsumerOnly.ts","webpack://@octopusdeploy/octopus-deploy-portal/./app/areas/projects/components/Runbooks/LastPublishedChip.tsx","webpack://@octopusdeploy/octopus-deploy-portal/./app/areas/projects/components/Runbooks/PublishButton.tsx","webpack://@octopusdeploy/octopus-deploy-portal/./app/areas/projects/components/Runbooks/RunNowButton.tsx","webpack://@octopusdeploy/octopus-deploy-portal/./app/areas/projects/components/Steps/ContextAddStepNavigationButton.tsx","webpack://@octopusdeploy/octopus-deploy-portal/./app/areas/projects/components/Variables/GitRepositoryErrorCallout.tsx","webpack://@octopusdeploy/octopus-deploy-portal/./app/areas/projects/components/Process/CustomPaperLayouts/ProcessContextPaperLayout.tsx","webpack://@octopusdeploy/octopus-deploy-portal/./app/areas/blueprints/processEditor/ProcessTemplateOnboarding.tsx","webpack://@octopusdeploy/octopus-deploy-portal/./app/components/Images/Process/StepRolling.tsx","webpack://@octopusdeploy/octopus-deploy-portal/./app/areas/projects/components/getActionLogoUrl.ts","webpack://@octopusdeploy/octopus-deploy-portal/./app/components/Navigation/InternalNavLink/InternalNavLink.tsx","webpack://@octopusdeploy/octopus-deploy-portal/./app/components/Logo/Logo.tsx","webpack://@octopusdeploy/octopus-deploy-portal/./app/components/Logo/index.tsx","webpack://@octopusdeploy/octopus-deploy-portal/./app/areas/projects/components/Process/ErrorIndicators/ProcessActionErrorIndicator.tsx","webpack://@octopusdeploy/octopus-deploy-portal/./app/areas/projects/components/Process/ErrorIndicators/ProcessActionWarningIndicator.tsx","webpack://@octopusdeploy/octopus-deploy-portal/./app/areas/projects/components/Process/ListItems/ProcessListItemForSidebar.tsx","webpack://@octopusdeploy/octopus-deploy-portal/./app/areas/projects/components/Process/ListItems/ProcessListItem.tsx","webpack://@octopusdeploy/octopus-deploy-portal/./app/areas/projects/components/Process/ListItems/truncateActionNotes.ts","webpack://@octopusdeploy/octopus-deploy-portal/./app/areas/projects/components/Process/ListItems/ProcessListPageListItemForBlueprint.tsx","webpack://@octopusdeploy/octopus-deploy-portal/./app/areas/projects/components/ProjectLayout/SampleProjectTour/SampleProjectCompleteDialog.tsx","webpack://@octopusdeploy/octopus-deploy-portal/./app/areas/projects/components/ProjectLayout/SampleProjectTour/SampleProjectTourPopover.tsx","webpack://@octopusdeploy/octopus-deploy-portal/./app/areas/projects/components/ProjectLayout/SampleProjectTour/SampleProjectTour.tsx","webpack://@octopusdeploy/octopus-deploy-portal/./app/areas/projects/components/ProjectLayout/SampleProjectTour/SampleProjectTourStep.tsx","webpack://@octopusdeploy/octopus-deploy-portal/./app/components/SidebarLayout/SidebarLayout.tsx","webpack://@octopusdeploy/octopus-deploy-portal/./app/components/SimpleExpander/SimpleExpander.tsx","webpack://@octopusdeploy/octopus-deploy-portal/./app/components/SimpleExpander/index.ts","webpack://@octopusdeploy/octopus-deploy-portal/./app/components/AdvancedFilterLayout/AdvancedFilterLayout.tsx","webpack://@octopusdeploy/octopus-deploy-portal/./app/components/form/EnvironmentSelect/EnvironmentSelect.tsx","webpack://@octopusdeploy/octopus-deploy-portal/./app/areas/projects/components/DeploymentProcessSettings/InvalidConfigurationCallout.tsx","webpack://@octopusdeploy/octopus-deploy-portal/./app/areas/projects/components/Runbooks/RunbookOnboarding.tsx","webpack://@octopusdeploy/octopus-deploy-portal/./app/components/DialogLayout/InfoDialogLayout.tsx","webpack://@octopusdeploy/octopus-deploy-portal/./app/areas/projects/components/ScriptModules/SelectScriptModules.tsx","webpack://@octopusdeploy/octopus-deploy-portal/./app/areas/projects/components/ScriptModules/ScriptModulesPreview.tsx","webpack://@octopusdeploy/octopus-deploy-portal/./app/areas/projects/components/Runbooks/RunbookProcessOverviewSidebar.tsx","webpack://@octopusdeploy/octopus-deploy-portal/./app/components/ProjectBasedActivation/SampleProcessButton.tsx","webpack://@octopusdeploy/octopus-deploy-portal/./app/areas/projects/components/Process/Common/Onboarding.tsx","webpack://@octopusdeploy/octopus-deploy-portal/./app/areas/projects/components/Process/Common/ChangeLifecycleDialog.tsx","webpack://@octopusdeploy/octopus-deploy-portal/./app/areas/projects/components/Process/Common/SideBar.tsx","webpack://@octopusdeploy/octopus-deploy-portal/./app/areas/projects/components/Process/ListItems/ProcessListPageListItemForAction.tsx","webpack://@octopusdeploy/octopus-deploy-portal/./app/areas/projects/components/Process/ListItems/ProcessListPageListItemForParentStep.tsx","webpack://@octopusdeploy/octopus-deploy-portal/./app/areas/projects/components/Process/ProcessList.tsx","webpack://@octopusdeploy/octopus-deploy-portal/./app/areas/projects/components/Process/ProcessListLayout.tsx","webpack://@octopusdeploy/octopus-deploy-portal/./app/components/ControlInputs/AmazonWebServicesAccountInput.tsx","webpack://@octopusdeploy/octopus-deploy-portal/./app/components/ControlInputs/AzureAccountInput.tsx","webpack://@octopusdeploy/octopus-deploy-portal/./app/components/ControlInputs/CertificateInput.tsx","webpack://@octopusdeploy/octopus-deploy-portal/./app/components/ControlInputs/GenericOidcAccountInput.tsx","webpack://@octopusdeploy/octopus-deploy-portal/./app/components/ControlInputs/SensitiveInput.tsx","webpack://@octopusdeploy/octopus-deploy-portal/./app/components/ControlInputs/UsernamePasswordAccountInput.tsx","webpack://@octopusdeploy/octopus-deploy-portal/./app/components/form/WorkerPoolSearch/WorkerPoolSummary.tsx","webpack://@octopusdeploy/octopus-deploy-portal/./app/components/form/WorkerPoolSearch/WorkerPoolSearch.tsx","webpack://@octopusdeploy/octopus-deploy-portal/./app/components/form/WorkerPoolSelect/WorkerPoolSelector.tsx","webpack://@octopusdeploy/octopus-deploy-portal/./app/components/form/WorkerPoolSelect/WorkerPoolSelect.tsx","webpack://@octopusdeploy/octopus-deploy-portal/./app/components/ControlInputs/WorkerPoolInput.tsx","webpack://@octopusdeploy/octopus-deploy-portal/./app/areas/projects/components/Process/ProcessStepsLayoutTypes.tsx","webpack://@octopusdeploy/octopus-deploy-portal/./app/components/form/VariableSelect/VariableSelect.tsx","webpack://@octopusdeploy/octopus-deploy-portal/./app/components/form/VariableSelect/VariableInput.tsx","webpack://@octopusdeploy/octopus-deploy-portal/./app/components/ControlInputs/GoogleCloudAccountInput.tsx","webpack://@octopusdeploy/octopus-deploy-portal/./app/components/ActionTemplateParameterInput/ActionTemplateParameterInput.tsx","webpack://@octopusdeploy/octopus-deploy-portal/./app/components/ActionTemplateParameterInput/ActionTemplateParameterInputRenderer.tsx","webpack://@octopusdeploy/octopus-deploy-portal/./app/components/ActionTemplateParameterInput/ActionTemplateParameterInputExpandableFormElement.tsx","webpack://@octopusdeploy/octopus-deploy-portal/./app/areas/projects/components/Process/Blueprints/BlueprintActionDetails.tsx","webpack://@octopusdeploy/octopus-deploy-portal/./app/areas/projects/components/Process/Blueprints/ProcessTemplateVersionSelector.tsx","webpack://@octopusdeploy/octopus-deploy-portal/./app/areas/projects/components/Process/Common/ErrorsForAction.tsx","webpack://@octopusdeploy/octopus-deploy-portal/./app/areas/projects/components/Process/Common/StepName.tsx","webpack://@octopusdeploy/octopus-deploy-portal/./app/areas/projects/components/Process/ProcessSubPageLayout.tsx","webpack://@octopusdeploy/octopus-deploy-portal/./app/areas/projects/components/Process/Blueprints/ProcessBlueprintStepDetails.tsx","webpack://@octopusdeploy/octopus-deploy-portal/./app/areas/projects/components/Process/ConnectedDeploymentTargetsStatus/UnassignedTargetTagsWarningCallout.tsx","webpack://@octopusdeploy/octopus-deploy-portal/./app/areas/projects/components/Process/ConnectedDeploymentTargetsStatus/UnassignedTargetTagsWarningCallout.analytics.ts","webpack://@octopusdeploy/octopus-deploy-portal/./app/areas/ContainersFeedbackCallout.tsx","webpack://@octopusdeploy/octopus-deploy-portal/./app/areas/projects/components/Process/Common/ActionContainerImageSelectorFormSection.tsx","webpack://@octopusdeploy/octopus-deploy-portal/./app/areas/projects/components/Process/Common/TargetTagsExplainer.tsx","webpack://@octopusdeploy/octopus-deploy-portal/./app/areas/projects/components/Process/Common/TargetRolesFormSection.tsx","webpack://@octopusdeploy/octopus-deploy-portal/./app/areas/projects/components/Process/Common/TargetRolesFormSection.analytics.ts","webpack://@octopusdeploy/octopus-deploy-portal/./app/components/DialogLayout/LargeInfoDialogLayout.tsx","webpack://@octopusdeploy/octopus-deploy-portal/./app/areas/projects/components/Process/ExportConfigurationDialog/ExportConfigurationDialog.tsx","webpack://@octopusdeploy/octopus-deploy-portal/./app/components/StepPackageEditor/Inputs/OctopusServerEnricher.ts","webpack://@octopusdeploy/octopus-deploy-portal/./app/areas/projects/components/Process/StepPackageVersioning/ChangeStepPackageVersionCallout.tsx","webpack://@octopusdeploy/octopus-deploy-portal/./app/areas/projects/components/Process/StepPackageVersioning/StepPackageVersionBanner.tsx","webpack://@octopusdeploy/octopus-deploy-portal/./app/areas/projects/components/Process/StepPackageVersioning/ChangeVersionDialog.tsx","webpack://@octopusdeploy/octopus-deploy-portal/./app/areas/projects/components/Process/StepPackageVersioning/StepPackageInfoDialog.tsx","webpack://@octopusdeploy/octopus-deploy-portal/./app/components/ActionPropertiesEditor/ActionPropertiesEditor.tsx","webpack://@octopusdeploy/octopus-deploy-portal/./app/components/ActionPropertiesEditor/enforceNewActionFeatures.ts","webpack://@octopusdeploy/octopus-deploy-portal/./app/components/ActionPropertiesEditor/ProjectActionPropertiesEditor.tsx","webpack://@octopusdeploy/octopus-deploy-portal/./app/components/ActionTemplateEditor/ActionPropertyTable.tsx","webpack://@octopusdeploy/octopus-deploy-portal/./app/components/ActionTemplateEditor/ActionTemplateEditor.tsx","webpack://@octopusdeploy/octopus-deploy-portal/./app/components/Actions/helmChartUpgrade/HelmV2DeprecationCallout.tsx","webpack://@octopusdeploy/octopus-deploy-portal/./app/components/FeatureEditor/FeatureEditor.tsx","webpack://@octopusdeploy/octopus-deploy-portal/./app/components/OpenFeatureDialog/FeatureList.tsx","webpack://@octopusdeploy/octopus-deploy-portal/./app/components/OpenFeatureDialog/ConfigureFeaturesContent.tsx","webpack://@octopusdeploy/octopus-deploy-portal/./app/components/OpenFeatureDialog/OpenFeatureDialog.tsx","webpack://@octopusdeploy/octopus-deploy-portal/./app/primitiveComponents/form/Number/NumberPicker.tsx","webpack://@octopusdeploy/octopus-deploy-portal/./app/areas/projects/components/VersionControl/CommitDialog.tsx","webpack://@octopusdeploy/octopus-deploy-portal/./app/areas/projects/components/VersionControl/CommitButton.tsx","webpack://@octopusdeploy/octopus-deploy-portal/./app/areas/projects/components/CloudConnection/CloudConnectionDrawer.tsx","webpack://@octopusdeploy/octopus-deploy-portal/./app/areas/projects/components/CloudConnection/CloudConnectionUtilities.ts","webpack://@octopusdeploy/octopus-deploy-portal/./app/areas/projects/components/CloudConnection/CloudConnectionVariables.ts","webpack://@octopusdeploy/octopus-deploy-portal/./app/areas/projects/components/CloudConnection/AwsCloudConnectionDrawer.tsx","webpack://@octopusdeploy/octopus-deploy-portal/./app/areas/projects/components/CloudConnection/CloudConnectionConfiguredIcon.tsx","webpack://@octopusdeploy/octopus-deploy-portal/./app/areas/projects/components/CloudConnection/getIconSize.ts","webpack://@octopusdeploy/octopus-deploy-portal/./app/areas/projects/components/CloudConnection/CloudConnectionWarningIcon.tsx","webpack://@octopusdeploy/octopus-deploy-portal/./app/areas/projects/components/CloudConnection/CloudConnectionStatusIcon.tsx","webpack://@octopusdeploy/octopus-deploy-portal/./app/areas/projects/components/CloudConnection/CloudConnectionTile.tsx","webpack://@octopusdeploy/octopus-deploy-portal/./app/areas/projects/components/CloudConnection/AwsCloudConnectionTile.tsx","webpack://@octopusdeploy/octopus-deploy-portal/./app/areas/projects/components/CloudConnection/AzureCloudConnectionDrawer.tsx","webpack://@octopusdeploy/octopus-deploy-portal/./app/areas/projects/components/CloudConnection/AzureCloudConnectionTile.tsx","webpack://@octopusdeploy/octopus-deploy-portal/./app/areas/projects/context/useIsPageVersionControlled.tsx","webpack://@octopusdeploy/octopus-deploy-portal/./app/areas/projects/components/ProjectCurrentBranchDisplay/ProjectCreatePullRequestLink.tsx","webpack://@octopusdeploy/octopus-deploy-portal/./app/areas/projects/components/GitRefSelector/GitRefSelector.tsx","webpack://@octopusdeploy/octopus-deploy-portal/./app/utils/BranchHelpers/ProjectBranchHelpers.ts","webpack://@octopusdeploy/octopus-deploy-portal/./app/areas/projects/components/GitRefSelector/ProjectGitRefSelector.tsx","webpack://@octopusdeploy/octopus-deploy-portal/./app/areas/projects/components/BranchSelector/BranchSelector.tsx","webpack://@octopusdeploy/octopus-deploy-portal/./app/areas/projects/components/BranchSelector/BranchSelectorVNext.tsx","webpack://@octopusdeploy/octopus-deploy-portal/./app/areas/projects/components/BranchSelector/PageHeaderBranchSelector.tsx","webpack://@octopusdeploy/octopus-deploy-portal/./app/areas/projects/components/ProjectPageTitleAccessory.tsx","webpack://@octopusdeploy/octopus-deploy-portal/./app/areas/variables/MergeScopeValues.ts","webpack://@octopusdeploy/octopus-deploy-portal/./app/components/Images/ReactPortal/LibraryVariable.tsx","webpack://@octopusdeploy/octopus-deploy-portal/./app/components/Images/ReactPortal/LibraryVariableTemplate.tsx","webpack://@octopusdeploy/octopus-deploy-portal/./app/components/Images/ReactPortal/ProjectVariable.tsx","webpack://@octopusdeploy/octopus-deploy-portal/./app/components/Images/ReactPortal/ProjectVariableTemplate.tsx","webpack://@octopusdeploy/octopus-deploy-portal/./app/areas/variables/SourceLink/SourceLink.tsx","webpack://@octopusdeploy/octopus-deploy-portal/./app/areas/infrastructure/reducers/selectors.ts","webpack://@octopusdeploy/octopus-deploy-portal/./app/areas/infrastructure/components/AccountDisplay/AccountDisplay.tsx","webpack://@octopusdeploy/octopus-deploy-portal/./app/areas/infrastructure/components/AccountDisplay/index.ts","webpack://@octopusdeploy/octopus-deploy-portal/./app/areas/variables/CellFocus/CellFocus.ts","webpack://@octopusdeploy/octopus-deploy-portal/./app/areas/variables/TextFormatSelector/TextFormatSelector.tsx","webpack://@octopusdeploy/octopus-deploy-portal/./app/components/DisplayProperties/DisplayProperties.tsx","webpack://@octopusdeploy/octopus-deploy-portal/./app/components/form/AccountSearch/AccountSummary.tsx","webpack://@octopusdeploy/octopus-deploy-portal/./app/components/form/AccountSearch/AccountSearch.tsx","webpack://@octopusdeploy/octopus-deploy-portal/./app/components/form/AccountSearch/index.ts","webpack://@octopusdeploy/octopus-deploy-portal/./app/areas/variables/VariableDetails.ts","webpack://@octopusdeploy/octopus-deploy-portal/./app/areas/variables/isReferenceType.ts","webpack://@octopusdeploy/octopus-deploy-portal/./app/components/ReadonlySensitive/ReadonlySensitive.tsx","webpack://@octopusdeploy/octopus-deploy-portal/./app/primitiveComponents/dataDisplay/ToolTipMessages/ToolTipMessages.tsx","webpack://@octopusdeploy/octopus-deploy-portal/./app/primitiveComponents/dataDisplay/ToolTipMessages/index.tsx","webpack://@octopusdeploy/octopus-deploy-portal/./app/areas/variables/VariableNameCell/VariableNameCell.tsx","webpack://@octopusdeploy/octopus-deploy-portal/./app/areas/variables/VariableNameCell/index.ts","webpack://@octopusdeploy/octopus-deploy-portal/./app/areas/variables/ReadonlyVariableResource/ReadonlyVariableResource.ts","webpack://@octopusdeploy/octopus-deploy-portal/./app/areas/variables/VariableFilter/VariableFilter.ts","webpack://@octopusdeploy/octopus-deploy-portal/./app/utils/IdHelper/index.tsx","webpack://@octopusdeploy/octopus-deploy-portal/./app/utils/IdHelper/IdHelper.tsx","webpack://@octopusdeploy/octopus-deploy-portal/./app/utils/NameDuplicationHelper/NameDuplicationHelper.ts","webpack://@octopusdeploy/octopus-deploy-portal/./app/areas/variables/VariablesModel/VariablesModel.ts","webpack://@octopusdeploy/octopus-deploy-portal/./app/areas/variables/VariableAdd/VariableAdd.tsx","webpack://@octopusdeploy/octopus-deploy-portal/./app/areas/variables/VariableCellIcon/VariableCellIcon.tsx","webpack://@octopusdeploy/octopus-deploy-portal/./app/areas/variables/VariableCellIcon/index.ts","webpack://@octopusdeploy/octopus-deploy-portal/./app/areas/variables/VariableValueCell/MultilineValueContainer.tsx","webpack://@octopusdeploy/octopus-deploy-portal/./app/areas/variables/VariableValueCell/VariableValueCell.tsx","webpack://@octopusdeploy/octopus-deploy-portal/./app/areas/variables/VariableValueCell/index.ts","webpack://@octopusdeploy/octopus-deploy-portal/./app/areas/variables/EditVariableDialog/PromptedVariableDetails.tsx","webpack://@octopusdeploy/octopus-deploy-portal/./app/areas/variables/EditVariableDialog/convertToNewType.ts","webpack://@octopusdeploy/octopus-deploy-portal/./app/areas/variables/EditVariableDialog/EditVariableDialog.tsx","webpack://@octopusdeploy/octopus-deploy-portal/./app/areas/variables/VariableMessageCell/VariableMessageCell.tsx","webpack://@octopusdeploy/octopus-deploy-portal/./app/areas/variables/VariableNameAndDescriptionCell/VariableNameAndDescriptionCell.tsx","webpack://@octopusdeploy/octopus-deploy-portal/./app/areas/variables/VariableStatusIcon/VariableStatusIcon.tsx","webpack://@octopusdeploy/octopus-deploy-portal/./app/areas/variables/SingleVariableRow/SingleVariableRow.tsx","webpack://@octopusdeploy/octopus-deploy-portal/./app/components/Measure/Measure.tsx","webpack://@octopusdeploy/octopus-deploy-portal/./app/areas/variables/VariableEditorHeadings/VariableEditorHeadings.tsx","webpack://@octopusdeploy/octopus-deploy-portal/./app/components/certificates.ts","webpack://@octopusdeploy/octopus-deploy-portal/./app/areas/variables/collectCertificateAndWorkerPoolIndexes.ts","webpack://@octopusdeploy/octopus-deploy-portal/./app/components/workerPools.ts","webpack://@octopusdeploy/octopus-deploy-portal/./app/components/ReadonlyAccount/ReadonlyAccount.tsx","webpack://@octopusdeploy/octopus-deploy-portal/./app/components/ReadonlyAccount/index.ts","webpack://@octopusdeploy/octopus-deploy-portal/./app/components/ReadonlyCertificate/ReadonlyCertificate.tsx","webpack://@octopusdeploy/octopus-deploy-portal/./app/components/ReadonlyCertificate/index.ts","webpack://@octopusdeploy/octopus-deploy-portal/./app/primitiveComponents/dataDisplay/ScrollTable/ResizeColumnHandle/ResizeColumnHandle.tsx","webpack://@octopusdeploy/octopus-deploy-portal/./app/primitiveComponents/dataDisplay/ScrollTable/DraggableResizeColumnHandle/DraggableResizeColumnHandle.tsx","webpack://@octopusdeploy/octopus-deploy-portal/./app/primitiveComponents/dataDisplay/ScrollTable/AlignedScrollTableRow/AlignedScrollTableRow.tsx","webpack://@octopusdeploy/octopus-deploy-portal/./app/utils/BorderCss/BorderCss.ts","webpack://@octopusdeploy/octopus-deploy-portal/./app/primitiveComponents/dataDisplay/ScrollTable/ScrollTable.tsx","webpack://@octopusdeploy/octopus-deploy-portal/./app/components/ReadonlyWorkerPool/ReadonlyWorkerPool.tsx","webpack://@octopusdeploy/octopus-deploy-portal/./app/components/ReadonlyWorkerPool/index.ts","webpack://@octopusdeploy/octopus-deploy-portal/./app/areas/variables/groupVariablesByName.ts","webpack://@octopusdeploy/octopus-deploy-portal/./app/areas/variables/isAnyValueScopedToTenantTags.ts","webpack://@octopusdeploy/octopus-deploy-portal/./app/areas/variables/VariableDisplayer/VariableDisplayer.tsx","webpack://@octopusdeploy/octopus-deploy-portal/./app/components/AdvancedFilterLayout/Checkbox/AdvancedFilterCheckbox.tsx","webpack://@octopusdeploy/octopus-deploy-portal/./app/components/AdvancedFilterLayout/Text/AdvancedFilterTextInput.tsx","webpack://@octopusdeploy/octopus-deploy-portal/./app/components/AdvancedFilterLayout/index.ts","webpack://@octopusdeploy/octopus-deploy-portal/./app/areas/variables/VariableFilterLayout/VariableFilterLayout.tsx","webpack://@octopusdeploy/octopus-deploy-portal/./app/areas/variables/VariableMessages/VariableMessages.ts","webpack://@octopusdeploy/octopus-deploy-portal/./app/areas/variables/VariableDisplayer/FilterableVariableDisplayer.tsx","webpack://@octopusdeploy/octopus-deploy-portal/./app/areas/variables/convertVariableResourcesToVariablesWithSource.ts","webpack://@octopusdeploy/octopus-deploy-portal/./app/areas/projects/components/Variables/AllVariables/AllVariables.tsx","webpack://@octopusdeploy/octopus-deploy-portal/./app/components/PaperLayout/LegacyPaperLayout.tsx","webpack://@octopusdeploy/octopus-deploy-portal/./app/areas/projects/components/Runbooks/Layouts/RunbooksPaperLayout.tsx","webpack://@octopusdeploy/octopus-deploy-portal/./app/areas/projects/components/Process/CustomPaperLayouts/ProcessPaperLayout.tsx","webpack://@octopusdeploy/octopus-deploy-portal/./app/areas/projects/components/Process/Contexts/ProcessContextFormPage.tsx","webpack://@octopusdeploy/octopus-deploy-portal/./app/areas/projects/components/Process/ProcessStepsLayoutLoader.tsx","webpack://@octopusdeploy/octopus-deploy-portal/./app/areas/projects/components/VersionControl/CommitMessageWithDetails.tsx","webpack://@octopusdeploy/octopus-deploy-portal/./app/areas/projects/components/CloudConnection/CloudConnections.tsx","webpack://@octopusdeploy/octopus-deploy-portal/./app/areas/projects/components/Process/Common/Environments.tsx","webpack://@octopusdeploy/octopus-deploy-portal/./app/areas/projects/components/Process/Common/cloudWorkerPoolHelpers.ts","webpack://@octopusdeploy/octopus-deploy-portal/./app/components/Images/ExecutionLocation/ExecuteOctopusServer.tsx","webpack://@octopusdeploy/octopus-deploy-portal/./app/components/Images/ExecutionLocation/ExecuteOctopusServerRoles.tsx","webpack://@octopusdeploy/octopus-deploy-portal/./app/components/Images/ExecutionLocation/ExecuteTargets.tsx","webpack://@octopusdeploy/octopus-deploy-portal/./app/components/Images/ExecutionLocation/ExecuteWorker.tsx","webpack://@octopusdeploy/octopus-deploy-portal/./app/components/Images/ExecutionLocation/ExecuteWorkerRoles.tsx","webpack://@octopusdeploy/octopus-deploy-portal/./app/components/form/WorkerPoolSelect/WorkerPoolVariableSelect.tsx","webpack://@octopusdeploy/octopus-deploy-portal/./app/areas/projects/components/Process/Common/ExecutionPlan.tsx","webpack://@octopusdeploy/octopus-deploy-portal/./app/areas/projects/components/Process/Common/PackageRequirementExpander.tsx","webpack://@octopusdeploy/octopus-deploy-portal/./app/areas/projects/components/Process/Common/RunTriggerExpander.tsx","webpack://@octopusdeploy/octopus-deploy-portal/./app/areas/projects/components/Process/Common/RunTriggerForChildActionExpander.tsx","webpack://@octopusdeploy/octopus-deploy-portal/./app/areas/projects/components/Process/Common/StartTriggerExpander.tsx","webpack://@octopusdeploy/octopus-deploy-portal/./app/areas/projects/components/Process/Common/TenantsExpander.tsx","webpack://@octopusdeploy/octopus-deploy-portal/./app/components/Dialog/PromiseConfirmationDialog.tsx","webpack://@octopusdeploy/octopus-deploy-portal/./app/areas/projects/components/Process/Common/ConflictConfirmationDialog.tsx","webpack://@octopusdeploy/octopus-deploy-portal/./app/areas/projects/components/Process/Common/MaxParallelism.tsx","webpack://@octopusdeploy/octopus-deploy-portal/./app/areas/projects/components/Process/Common/RollingDeploymentExpander.tsx","webpack://@octopusdeploy/octopus-deploy-portal/./app/components/WarningPanel/WarningPanel.tsx","webpack://@octopusdeploy/octopus-deploy-portal/./app/areas/projects/components/Process/Common/WarningsForAction.tsx","webpack://@octopusdeploy/octopus-deploy-portal/./app/areas/projects/components/Process/ConnectedDeploymentTargetsStatus/ConnectedDeploymentTargetsPopover.tsx","webpack://@octopusdeploy/octopus-deploy-portal/./app/areas/projects/components/Process/ConnectedDeploymentTargetsStatus/ConnectedDeploymentTargetsPopover.analytics.ts","webpack://@octopusdeploy/octopus-deploy-portal/./app/areas/projects/components/Process/ConnectedDeploymentTargetsStatus/ConnectedDeploymentTargetsStatus.tsx","webpack://@octopusdeploy/octopus-deploy-portal/./app/areas/projects/components/Process/ProcessActionDetails.tsx","webpack://@octopusdeploy/octopus-deploy-portal/./app/areas/projects/components/Process/ProcessBlueprintActionDetails.tsx","webpack://@octopusdeploy/octopus-deploy-portal/./app/areas/projects/components/Process/Common/MaxParallelismOptions.tsx","webpack://@octopusdeploy/octopus-deploy-portal/./app/areas/projects/components/Process/ProcessBlueprintParentStepDetails.tsx","webpack://@octopusdeploy/octopus-deploy-portal/./app/areas/projects/components/Process/ProcessParentStepDetails.tsx","webpack://@octopusdeploy/octopus-deploy-portal/./app/components/Loading/Loading.tsx","webpack://@octopusdeploy/octopus-deploy-portal/./app/areas/library/components/GitConnections/GitHubAppAuthCheck.tsx","webpack://@octopusdeploy/octopus-deploy-portal/./app/areas/projects/components/Steps/ContextAddStepButton.tsx","webpack://@octopusdeploy/octopus-deploy-portal/./app/areas/projects/components/Process/CustomPaperLayouts/ProcessContextFormPaperLayout.tsx","webpack://@octopusdeploy/octopus-deploy-portal/./app/areas/projects/components/Process/ActionTemplateSelector/StepCard.tsx","webpack://@octopusdeploy/octopus-deploy-portal/./app/components/ActionTemplates/ActionTemplateCategoryIconHelper.tsx","webpack://@octopusdeploy/octopus-deploy-portal/./app/components/ActionTemplates/ActionTemplateCategory.tsx","webpack://@octopusdeploy/octopus-deploy-portal/./app/components/ActionTemplates/filterActionTemplates.ts","webpack://@octopusdeploy/octopus-deploy-portal/./app/components/ActionTemplates/ActionTemplateCardList.tsx","webpack://@octopusdeploy/octopus-deploy-portal/./app/components/ActionTemplates/CommunityTemplateInstallation.tsx","webpack://@octopusdeploy/octopus-deploy-portal/./app/components/ActionTemplates/CommunityActionTemplateList.tsx","webpack://@octopusdeploy/octopus-deploy-portal/./app/areas/projects/components/Process/ActionTemplateSelector/CategoryInfo.tsx","webpack://@octopusdeploy/octopus-deploy-portal/./app/areas/projects/components/Process/ActionTemplateSelector/CategorySelector.tsx","webpack://@octopusdeploy/octopus-deploy-portal/./app/areas/projects/components/Process/ActionTemplateSelector/InstalledActionTemplateList.tsx","webpack://@octopusdeploy/octopus-deploy-portal/./app/areas/projects/components/Process/ActionTemplateSelector/ActionTemplateSelector.tsx","webpack://@octopusdeploy/octopus-deploy-portal/./app/areas/projects/components/Process/ActionTemplateSelector/index.tsx","webpack://@octopusdeploy/octopus-deploy-portal/./app/areas/projects/components/Process/Pages/index.tsx","webpack://@octopusdeploy/octopus-deploy-portal/./app/areas/projects/components/Process/Blueprints/BlueprintSidebarLink.tsx","webpack://@octopusdeploy/octopus-deploy-portal/./app/areas/projects/components/Process/Blueprints/BlueprintSidebarItem.tsx","webpack://@octopusdeploy/octopus-deploy-portal/./app/components/AdvancedFilterLayout/RegardingDocuments.tsx","webpack://@octopusdeploy/octopus-deploy-portal/./app/utils/toSelectItem.ts","webpack://@octopusdeploy/octopus-deploy-portal/./app/areas/projects/components/Process/Common/CloneStep.tsx","webpack://@octopusdeploy/octopus-deploy-portal/./app/areas/projects/components/Process/Common/SelectParentStep.tsx","webpack://@octopusdeploy/octopus-deploy-portal/./app/areas/projects/components/Process/ListItems/ProcessListItemSorter.tsx","webpack://@octopusdeploy/octopus-deploy-portal/./app/areas/projects/components/Process/ListItems/ProcessListItemContextMenu.tsx","webpack://@octopusdeploy/octopus-deploy-portal/./app/areas/projects/components/Process/ProcessSidebarLayout.tsx","webpack://@octopusdeploy/octopus-deploy-portal/./app/areas/projects/components/Process/ProcessesMergedDialog.tsx","webpack://@octopusdeploy/octopus-deploy-portal/./app/areas/projects/components/Process/ProcessStepsLayout.tsx","webpack://@octopusdeploy/octopus-deploy-portal/./app/areas/projects/components/Process/ProcessStepsLayout.analytics.ts","webpack://@octopusdeploy/octopus-deploy-portal/./app/areas/blueprints/EditProcessTemplatePage.tsx","webpack://@octopusdeploy/octopus-deploy-portal/./app/components/form/Form/Form.tsx","webpack://@octopusdeploy/octopus-deploy-portal/./app/areas/blueprints/PlatformHubConnectionPage.tsx","webpack://@octopusdeploy/octopus-deploy-portal/./app/areas/blueprints/accounts/PlatformHubAccountEditBase.tsx","webpack://@octopusdeploy/octopus-deploy-portal/./app/areas/blueprints/accounts/GenericOidcPlatformHubAccountEdit.tsx","webpack://@octopusdeploy/octopus-deploy-portal/./app/areas/blueprints/accounts/GoogleCloudPlatformHubAccountEdit.tsx","webpack://@octopusdeploy/octopus-deploy-portal/./app/areas/blueprints/accounts/SshKeyPairPlatformHubAccountEdit.tsx","webpack://@octopusdeploy/octopus-deploy-portal/./app/areas/blueprints/accounts/TokenPlatformHubAccountEdit.tsx","webpack://@octopusdeploy/octopus-deploy-portal/./app/areas/blueprints/accounts/AmazonWebServicesPlatformHubAccountEdit.tsx","webpack://@octopusdeploy/octopus-deploy-portal/./app/areas/blueprints/accounts/AzurePlatformHubAccountEdit.tsx","webpack://@octopusdeploy/octopus-deploy-portal/./app/areas/blueprints/accounts/UsernamePasswordPlatformHubAccountEdit.tsx","webpack://@octopusdeploy/octopus-deploy-portal/./app/areas/blueprints/accounts/PlatformHubAccountPage.tsx","webpack://@octopusdeploy/octopus-deploy-portal/./app/components/GettingStarted/Level2EmptyStateLayout.tsx","webpack://@octopusdeploy/octopus-deploy-portal/./app/areas/blueprints/accounts/PlatformHubAccountsPage.tsx","webpack://@octopusdeploy/octopus-deploy-portal/./app/areas/blueprints/gitCredentials/PlatformHubGitCredentialPage.tsx","webpack://@octopusdeploy/octopus-deploy-portal/./app/areas/library/components/GitCredentials/Onboarding.tsx","webpack://@octopusdeploy/octopus-deploy-portal/./app/areas/blueprints/gitCredentials/PlatformHubGitCredentialsPage.tsx","webpack://@octopusdeploy/octopus-deploy-portal/./app/components/PagingDataTable/PagingDataTable.tsx","webpack://@octopusdeploy/octopus-deploy-portal/./app/components/PagingDataTable/index.tsx","webpack://@octopusdeploy/octopus-deploy-portal/./app/areas/configuration/components/AuditLayout/Empty.tsx","webpack://@octopusdeploy/octopus-deploy-portal/./app/areas/configuration/components/AuditLayout/AuditArchivePage.tsx","webpack://@octopusdeploy/octopus-deploy-portal/./app/areas/configuration/components/AuditLayout/AuditStream/GreenTickIcon.tsx","webpack://@octopusdeploy/octopus-deploy-portal/./app/areas/configuration/components/AuditLayout/AuditStream/PauseIcon.tsx","webpack://@octopusdeploy/octopus-deploy-portal/./app/areas/configuration/components/AuditLayout/AuditStream/AuditActionWithStatus.tsx","webpack://@octopusdeploy/octopus-deploy-portal/./app/areas/configuration/components/AuditLayout/AuditStream/utils.tsx","webpack://@octopusdeploy/octopus-deploy-portal/./app/areas/configuration/components/AuditLayout/AuditStream/DeleteAuditStreamDialog.tsx","webpack://@octopusdeploy/octopus-deploy-portal/./app/areas/configuration/components/AuditLayout/AuditStream/AuditStreamType.ts","webpack://@octopusdeploy/octopus-deploy-portal/./app/areas/configuration/components/AuditLayout/AuditStream/AuditStreamCategoryIconHelper.tsx","webpack://@octopusdeploy/octopus-deploy-portal/./app/areas/configuration/components/AuditLayout/AuditStream/AuditStreamCategory.tsx","webpack://@octopusdeploy/octopus-deploy-portal/./app/areas/configuration/components/AuditLayout/AuditStream/AutoFillOpenTelemetrySettingsButton.tsx","webpack://@octopusdeploy/octopus-deploy-portal/./app/areas/configuration/components/AuditLayout/AuditStream/EditAuditStreamDialogLayout.tsx","webpack://@octopusdeploy/octopus-deploy-portal/./app/areas/configuration/components/AuditLayout/AuditStream/EditAuditStreamDialog.tsx","webpack://@octopusdeploy/octopus-deploy-portal/./app/areas/configuration/components/AuditLayout/AuditStream/PauseAuditStreamDialog.tsx","webpack://@octopusdeploy/octopus-deploy-portal/./app/areas/configuration/components/AuditLayout/AuditStream/AuditStreamConfiguredButton.tsx","webpack://@octopusdeploy/octopus-deploy-portal/./app/areas/configuration/components/AuditLayout/AuditStream/AuditStreamNotConfiguredButton.tsx","webpack://@octopusdeploy/octopus-deploy-portal/./app/areas/configuration/components/AuditLayout/AuditStream/AuditStreamUpsellDialogLayout.tsx","webpack://@octopusdeploy/octopus-deploy-portal/./app/areas/configuration/components/AuditLayout/AuditStream/AuditStreamUpsellDialog.tsx","webpack://@octopusdeploy/octopus-deploy-portal/./app/areas/configuration/components/AuditLayout/AuditStream/AuditStreamUpsellButton.tsx","webpack://@octopusdeploy/octopus-deploy-portal/./app/areas/configuration/components/AuditLayout/AuditStream/AuditStreamButton.tsx","webpack://@octopusdeploy/octopus-deploy-portal/./app/components/AdvancedFilterLayout/AdvancedFilters.tsx","webpack://@octopusdeploy/octopus-deploy-portal/./app/components/EventDetails/index.tsx","webpack://@octopusdeploy/octopus-deploy-portal/./app/components/EventFormatter/index.tsx","webpack://@octopusdeploy/octopus-deploy-portal/./app/primitiveComponents/dataDisplay/Avatar/Avatar.tsx","webpack://@octopusdeploy/octopus-deploy-portal/./app/primitiveComponents/dataDisplay/Avatar/index.tsx","webpack://@octopusdeploy/octopus-deploy-portal/./app/components/AuditListRow/AuditListRow.tsx","webpack://@octopusdeploy/octopus-deploy-portal/./app/components/Dialog/DatePickerDialog.tsx","webpack://@octopusdeploy/octopus-deploy-portal/./app/components/EventFilter/buildValueList.tsx","webpack://@octopusdeploy/octopus-deploy-portal/./app/components/MultiSelect/DocumentTypeMultiSelect.tsx","webpack://@octopusdeploy/octopus-deploy-portal/./app/components/MultiSelect/EventAgentMultiSelect.tsx","webpack://@octopusdeploy/octopus-deploy-portal/./app/components/MultiSelect/EventCategoryMultiSelect.tsx","webpack://@octopusdeploy/octopus-deploy-portal/./app/components/MultiSelect/EventGroupMultiSelect.tsx","webpack://@octopusdeploy/octopus-deploy-portal/./app/components/MultiSelect/ProjectGroupMultiSelect.tsx","webpack://@octopusdeploy/octopus-deploy-portal/./app/components/MultiSelect/ProjectMultiSelect.tsx","webpack://@octopusdeploy/octopus-deploy-portal/./app/components/Chips/UserChip.tsx","webpack://@octopusdeploy/octopus-deploy-portal/./app/components/MultiSelect/UserMultiSelect.tsx","webpack://@octopusdeploy/octopus-deploy-portal/./app/components/EventFilter/EventFilter.tsx","webpack://@octopusdeploy/octopus-deploy-portal/./app/components/EventFilter/EventFilterSummary.tsx","webpack://@octopusdeploy/octopus-deploy-portal/./app/components/EventFilter/index.tsx","webpack://@octopusdeploy/octopus-deploy-portal/./app/utils/SystemUserFactory/index.tsx","webpack://@octopusdeploy/octopus-deploy-portal/./app/utils/SystemUserFactory/SystemUserFactory.tsx","webpack://@octopusdeploy/octopus-deploy-portal/./app/areas/configuration/components/AuditLayout/AuditPage.tsx","webpack://@octopusdeploy/octopus-deploy-portal/./app/components/SectionNote/SectionNote.tsx","webpack://@octopusdeploy/octopus-deploy-portal/./app/areas/configuration/components/Backup/BackupPage.tsx","webpack://@octopusdeploy/octopus-deploy-portal/./app/utils/ScheduledTriggerDescriptionHelper/DaysDescriptionHelper.tsx","webpack://@octopusdeploy/octopus-deploy-portal/./app/utils/ScheduledTriggerDescriptionHelper/DaysPerMonthDescriptionHelper.tsx","webpack://@octopusdeploy/octopus-deploy-portal/./app/utils/ScheduledTriggerDescriptionHelper/ScheduleFormatter.ts","webpack://@octopusdeploy/octopus-deploy-portal/./app/components/DeploymentFreezes/DataTable/Cells/DeploymentFreezeDataRecurrenCadenceCell.tsx","webpack://@octopusdeploy/octopus-deploy-portal/./app/areas/tenants/components/DataTable/Cells/Leftovers.tsx","webpack://@octopusdeploy/octopus-deploy-portal/./app/components/DeploymentFreezes/DataTable/Cells/DeploymentFreezeDataTableEnvironmentsCell.tsx","webpack://@octopusdeploy/octopus-deploy-portal/./app/components/DeploymentFreezes/DataTable/Cells/DeploymentFreezeDataTableNameCell.tsx","webpack://@octopusdeploy/octopus-deploy-portal/./app/components/DeploymentFreezes/DataTable/Cells/DeploymentFreezeDataTableProjectsCell.tsx","webpack://@octopusdeploy/octopus-deploy-portal/./app/components/DeploymentFreezes/DataTable/Cells/DeploymentFreezeDataTableScopesCell.tsx","webpack://@octopusdeploy/octopus-deploy-portal/./app/components/DeploymentFreezes/DataTable/Cells/DeploymentFreezeDataTableStatusCell.tsx","webpack://@octopusdeploy/octopus-deploy-portal/./app/components/DeploymentFreezes/DataTable/DeploymentFreezeTableContent.tsx","webpack://@octopusdeploy/octopus-deploy-portal/./app/components/DeploymentFreezes/DeploymentFreezeOnboardingPage.tsx","webpack://@octopusdeploy/octopus-deploy-portal/./app/components/MultiSelect/DeploymentFreezeStatusMultiSelect.tsx","webpack://@octopusdeploy/octopus-deploy-portal/./app/areas/configuration/components/DeploymentFreezes/DeploymentFreezesListPage.tsx","webpack://@octopusdeploy/octopus-deploy-portal/./app/areas/tasks/components/Task/TaskLog/TaskLogUtil.tsx","webpack://@octopusdeploy/octopus-deploy-portal/./app/components/TaskLogLines/TaskLogGapRange.tsx","webpack://@octopusdeploy/octopus-deploy-portal/./app/components/TaskLogLines/TaskLogGap.tsx","webpack://@octopusdeploy/octopus-deploy-portal/./app/components/TaskLogLines/TaskLogLine.tsx","webpack://@octopusdeploy/octopus-deploy-portal/./app/components/TaskLogLines/TaskLogLines.tsx","webpack://@octopusdeploy/octopus-deploy-portal/./app/areas/configuration/components/Diagnostics/HALogWarning.tsx","webpack://@octopusdeploy/octopus-deploy-portal/./app/areas/configuration/components/Diagnostics/DetailedServerLogsPage.tsx","webpack://@octopusdeploy/octopus-deploy-portal/./app/areas/configuration/components/Diagnostics/ServerLogs.tsx","webpack://@octopusdeploy/octopus-deploy-portal/./app/areas/configuration/components/Diagnostics/SystemDiagnosticReport.tsx","webpack://@octopusdeploy/octopus-deploy-portal/./app/components/TimeLabels/DurationLabel.tsx","webpack://@octopusdeploy/octopus-deploy-portal/./app/areas/configuration/components/Diagnostics/SystemInformation.tsx","webpack://@octopusdeploy/octopus-deploy-portal/./app/areas/configuration/components/Diagnostics/SystemIntegrityCheck.tsx","webpack://@octopusdeploy/octopus-deploy-portal/./app/primitiveComponents/dataDisplay/DataTable/DataTableSectionHeading.tsx","webpack://@octopusdeploy/octopus-deploy-portal/./app/areas/configuration/components/Diagnostics/ServerDocumentCountTable.tsx","webpack://@octopusdeploy/octopus-deploy-portal/./app/areas/configuration/components/Diagnostics/DiagnosticsPage.tsx","webpack://@octopusdeploy/octopus-deploy-portal/./app/components/TimeLabels/DurationBetweenLabel.tsx","webpack://@octopusdeploy/octopus-deploy-portal/./app/areas/tasks/components/Task/RetryCountdown.tsx","webpack://@octopusdeploy/octopus-deploy-portal/./app/components/StepEditorLink/StepEditorLink.tsx","webpack://@octopusdeploy/octopus-deploy-portal/./app/components/TaskLogLines/TaskLogBlockLoader.tsx","webpack://@octopusdeploy/octopus-deploy-portal/./app/components/TimeLabels/DurationSinceLabel.tsx","webpack://@octopusdeploy/octopus-deploy-portal/./app/components/TaskLogLines/TaskLogBlock.tsx","webpack://@octopusdeploy/octopus-deploy-portal/./app/areas/configuration/components/Diagnostics/Logs/LogsBase.tsx","webpack://@octopusdeploy/octopus-deploy-portal/./app/areas/configuration/components/Diagnostics/Logs/AutoDeployLogsPage.tsx","webpack://@octopusdeploy/octopus-deploy-portal/./app/areas/configuration/components/Diagnostics/Logs/ScheduledDeployLogsPage.tsx","webpack://@octopusdeploy/octopus-deploy-portal/./app/areas/configuration/components/Diagnostics/Logs/SubscriptionLogsPage.tsx","webpack://@octopusdeploy/octopus-deploy-portal/./app/areas/configuration/components/FeaturesLayout/ProjectsPageOptimizationFeature.tsx","webpack://@octopusdeploy/octopus-deploy-portal/./app/areas/configuration/components/FeaturesLayout/BuiltInWorkerFeature.tsx","webpack://@octopusdeploy/octopus-deploy-portal/./app/areas/configuration/components/FeaturesLayout/BulkDeployment.tsx","webpack://@octopusdeploy/octopus-deploy-portal/./app/areas/configuration/components/FeaturesLayout/TriggerSyncTask.tsx","webpack://@octopusdeploy/octopus-deploy-portal/./app/areas/configuration/components/FeaturesLayout/CommunityActionTemplatesFeature.tsx","webpack://@octopusdeploy/octopus-deploy-portal/./app/areas/configuration/components/FeaturesLayout/CompositeDockerHubClientFeature.tsx","webpack://@octopusdeploy/octopus-deploy-portal/./app/areas/configuration/components/FeaturesLayout/CreateFeedsWithLocalOrSmbPathsFeature.tsx","webpack://@octopusdeploy/octopus-deploy-portal/./app/areas/configuration/components/FeaturesLayout/DynamicExtensionsFeature.tsx","webpack://@octopusdeploy/octopus-deploy-portal/./app/areas/configuration/components/FeaturesLayout/useHiddenFeatures.ts","webpack://@octopusdeploy/octopus-deploy-portal/./app/areas/configuration/components/FeaturesLayout/useKeyCombo.ts","webpack://@octopusdeploy/octopus-deploy-portal/./app/areas/configuration/components/FeaturesLayout/ExperimentalFeaturesGroup.tsx","webpack://@octopusdeploy/octopus-deploy-portal/./app/areas/configuration/components/FeaturesLayout/ExperimentalUI.tsx","webpack://@octopusdeploy/octopus-deploy-portal/./app/areas/configuration/components/FeaturesLayout/GitHubStatusCheckPublishingFeature.tsx","webpack://@octopusdeploy/octopus-deploy-portal/./app/areas/configuration/components/FeaturesLayout/HelpSidebarFeature.tsx","webpack://@octopusdeploy/octopus-deploy-portal/./app/areas/configuration/components/FeaturesLayout/HelpSidebarSupportLink.tsx","webpack://@octopusdeploy/octopus-deploy-portal/./app/areas/configuration/components/FeaturesLayout/StepTemplateUpdates.tsx","webpack://@octopusdeploy/octopus-deploy-portal/./app/areas/configuration/components/FeaturesLayout/FeaturesPage.tsx","webpack://@octopusdeploy/octopus-deploy-portal/./app/areas/library/components/GitConnections/GitHubInstallationLogo.tsx","webpack://@octopusdeploy/octopus-deploy-portal/./app/areas/configuration/components/Git/GitHubUserSection.tsx","webpack://@octopusdeploy/octopus-deploy-portal/./app/areas/configuration/components/Git/GitPage.tsx","webpack://@octopusdeploy/octopus-deploy-portal/./app/components/Dialog/NoActionDialog.tsx","webpack://@octopusdeploy/octopus-deploy-portal/./app/areas/configuration/components/LetsEncrypt/LetsEncryptPage.tsx","webpack://@octopusdeploy/octopus-deploy-portal/./app/areas/configuration/components/LetsEncrypt/ConfigureLetsEncryptPage.tsx","webpack://@octopusdeploy/octopus-deploy-portal/./app/areas/configuration/components/License/UpdateNotifications.tsx","webpack://@octopusdeploy/octopus-deploy-portal/./app/areas/configuration/components/License/LicensePage.tsx","webpack://@octopusdeploy/octopus-deploy-portal/./app/components/Navbar/LicenseCountdownBanner.tsx","webpack://@octopusdeploy/octopus-deploy-portal/./app/areas/configuration/components/LicenseUsage/UsageDetailTable.tsx","webpack://@octopusdeploy/octopus-deploy-portal/./app/areas/configuration/components/LicenseUsage/UsageOverviewCard.tsx","webpack://@octopusdeploy/octopus-deploy-portal/./app/areas/configuration/components/LicenseUsage/LicenseUsagePage.tsx","webpack://@octopusdeploy/octopus-deploy-portal/./app/areas/configuration/components/Maintenance/MaintenancePage.tsx","webpack://@octopusdeploy/octopus-deploy-portal/./app/areas/configuration/components/Nodes/ChangeTaskCap.tsx","webpack://@octopusdeploy/octopus-deploy-portal/./app/areas/configuration/components/Nodes/EditServerConfiguration.tsx","webpack://@octopusdeploy/octopus-deploy-portal/./app/areas/configuration/components/Nodes/NodesPage.tsx","webpack://@octopusdeploy/octopus-deploy-portal/./app/areas/configuration/components/Nodes/ServerSettingsPage.tsx","webpack://@octopusdeploy/octopus-deploy-portal/./app/areas/configuration/components/Performance/PerformancePage.tsx","webpack://@octopusdeploy/octopus-deploy-portal/./app/components/ComponentRow/ComponentRow.tsx","webpack://@octopusdeploy/octopus-deploy-portal/./app/areas/configuration/components/Roles/PermissionsTable.tsx","webpack://@octopusdeploy/octopus-deploy-portal/./app/areas/configuration/components/Roles/UserRolePage.tsx","webpack://@octopusdeploy/octopus-deploy-portal/./app/components/RestrictedPermissionsCallout/RestrictedPermissionsCallout.tsx","webpack://@octopusdeploy/octopus-deploy-portal/./app/areas/configuration/components/Roles/UserRolesPage.tsx","webpack://@octopusdeploy/octopus-deploy-portal/./app/components/DynamicForm/MetadataTypeValidator.tsx","webpack://@octopusdeploy/octopus-deploy-portal/./app/areas/configuration/components/Settings/EditSettingsPage.tsx","webpack://@octopusdeploy/octopus-deploy-portal/./app/areas/configuration/components/Settings/ActiveDirectorySettingsPage.tsx","webpack://@octopusdeploy/octopus-deploy-portal/./app/areas/configuration/components/Settings/ArchiveLimitsSettingsPage.tsx","webpack://@octopusdeploy/octopus-deploy-portal/./app/areas/configuration/components/Settings/AuthenticationSettingsPage.tsx","webpack://@octopusdeploy/octopus-deploy-portal/./app/areas/configuration/components/Settings/AzureADSettingsPage.tsx","webpack://@octopusdeploy/octopus-deploy-portal/./app/areas/configuration/components/Settings/AzureDevOpsIssueTrackerSettingsPage.tsx","webpack://@octopusdeploy/octopus-deploy-portal/./app/areas/configuration/components/Settings/EventRetentionSettingsPage.tsx","webpack://@octopusdeploy/octopus-deploy-portal/./app/areas/configuration/components/Settings/GithubIssueTrackerSettingsPage.tsx","webpack://@octopusdeploy/octopus-deploy-portal/./app/areas/configuration/components/Settings/GoogleAppsSettingsPage.tsx","webpack://@octopusdeploy/octopus-deploy-portal/./app/areas/configuration/components/Settings/GuestLoginSettingsPage.tsx","webpack://@octopusdeploy/octopus-deploy-portal/./app/areas/configuration/components/Settings/JiraIntegrationSettingsPage.tsx","webpack://@octopusdeploy/octopus-deploy-portal/./app/areas/configuration/components/Settings/JiraServiceManagementIntegrationSettingsPage.tsx","webpack://@octopusdeploy/octopus-deploy-portal/./app/areas/configuration/components/Settings/LDAPSettingsPage.tsx","webpack://@octopusdeploy/octopus-deploy-portal/./app/areas/configuration/components/Settings/OctopusIdSettingsPage.tsx","webpack://@octopusdeploy/octopus-deploy-portal/./app/areas/configuration/components/Settings/OktaSettingsPage.tsx","webpack://@octopusdeploy/octopus-deploy-portal/./app/areas/configuration/components/Settings/RetentionPoliciesSettingsPage.tsx","webpack://@octopusdeploy/octopus-deploy-portal/./app/areas/configuration/components/Settings/ServerFoldersSettingsPage.tsx","webpack://@octopusdeploy/octopus-deploy-portal/./app/areas/configuration/components/Settings/ServiceNowIntegrationSettingsPage.tsx","webpack://@octopusdeploy/octopus-deploy-portal/./app/areas/configuration/components/Settings/SettingsListPage.tsx","webpack://@octopusdeploy/octopus-deploy-portal/./app/areas/configuration/components/Settings/UpdatesSettingsPage.tsx","webpack://@octopusdeploy/octopus-deploy-portal/./app/areas/configuration/components/Settings/UsernamePasswordSettingsPage.tsx","webpack://@octopusdeploy/octopus-deploy-portal/./app/areas/configuration/components/Settings/WebPortalSettingsPage.tsx","webpack://@octopusdeploy/octopus-deploy-portal/./app/areas/configuration/components/Settings/WebRequestProxySettingsPage.tsx","webpack://@octopusdeploy/octopus-deploy-portal/./app/areas/configuration/components/SigningKeys/EditSigningKeyConfiguration.tsx","webpack://@octopusdeploy/octopus-deploy-portal/./app/areas/configuration/components/SigningKeys/SigningKeysPage.tsx","webpack://@octopusdeploy/octopus-deploy-portal/./app/areas/configuration/components/Smtp/SendEmail.tsx","webpack://@octopusdeploy/octopus-deploy-portal/./app/areas/configuration/components/Smtp/SmtpPage.tsx","webpack://@octopusdeploy/octopus-deploy-portal/./app/areas/configuration/components/Spaces/DeleteSpace.tsx","webpack://@octopusdeploy/octopus-deploy-portal/./app/areas/configuration/components/Spaces/ToggleDefaultSpaceDialog.tsx","webpack://@octopusdeploy/octopus-deploy-portal/./app/areas/configuration/components/Spaces/EditSpacePage.tsx","webpack://@octopusdeploy/octopus-deploy-portal/./app/components/LicenseLimitReachedDialogLayout/LicenseLimitReachedDialogLayout.tsx","webpack://@octopusdeploy/octopus-deploy-portal/./app/areas/configuration/components/License/isWithinLicenceLimit.tsx","webpack://@octopusdeploy/octopus-deploy-portal/./app/areas/configuration/components/Spaces/AddSpaceDialogLayout.tsx","webpack://@octopusdeploy/octopus-deploy-portal/./app/areas/configuration/components/Spaces/SpacesPage.tsx","webpack://@octopusdeploy/octopus-deploy-portal/./app/utils/TimeSpanHelper/TimeSpanHelper.tsx","webpack://@octopusdeploy/octopus-deploy-portal/./app/utils/TimeSpanHelper/index.tsx","webpack://@octopusdeploy/octopus-deploy-portal/./app/components/form/TimeSpanSelector/TimeSpanSelector.tsx","webpack://@octopusdeploy/octopus-deploy-portal/./app/components/timezoneSummary.ts","webpack://@octopusdeploy/octopus-deploy-portal/./app/areas/configuration/components/Subscription/SubscriptionPage.tsx","webpack://@octopusdeploy/octopus-deploy-portal/./app/primitiveComponents/dataDisplay/ListItem/ListItem.tsx","webpack://@octopusdeploy/octopus-deploy-portal/./app/areas/configuration/components/Subscriptions/SubscriptionsPage.tsx","webpack://@octopusdeploy/octopus-deploy-portal/./app/areas/configuration/components/Teams/AddExternalGroup.tsx","webpack://@octopusdeploy/octopus-deploy-portal/./app/areas/configuration/components/Teams/AddExternalRole.tsx","webpack://@octopusdeploy/octopus-deploy-portal/./app/areas/configuration/components/Teams/AddMember.tsx","webpack://@octopusdeploy/octopus-deploy-portal/./app/areas/configuration/components/Users/UserInviteDialog.tsx","webpack://@octopusdeploy/octopus-deploy-portal/./app/areas/configuration/components/ProjectedTeamsList/ProjectedTeamsList.tsx","webpack://@octopusdeploy/octopus-deploy-portal/./app/areas/configuration/components/Teams/MemberRow.tsx","webpack://@octopusdeploy/octopus-deploy-portal/./app/areas/configuration/components/Teams/AllMembers.tsx","webpack://@octopusdeploy/octopus-deploy-portal/./app/areas/configuration/components/Teams/IncludeRoleDialog.tsx","webpack://@octopusdeploy/octopus-deploy-portal/./app/utils/WindowHelper/index.tsx","webpack://@octopusdeploy/octopus-deploy-portal/./app/utils/WindowHelper/WindowHelper.tsx","webpack://@octopusdeploy/octopus-deploy-portal/./app/areas/configuration/components/Teams/ScopedUserRoleGroupExpander/ScopedUserRoleGroupExpander.tsx","webpack://@octopusdeploy/octopus-deploy-portal/./app/areas/configuration/components/Teams/ScopedUserRolesExpandersList/ScopedUserRolesExpandersList.tsx","webpack://@octopusdeploy/octopus-deploy-portal/./app/areas/configuration/components/Teams/EditTeamPage.tsx","webpack://@octopusdeploy/octopus-deploy-portal/./app/areas/configuration/components/Teams/AddTeam.tsx","webpack://@octopusdeploy/octopus-deploy-portal/./app/areas/configuration/components/Teams/TeamList.tsx","webpack://@octopusdeploy/octopus-deploy-portal/./app/areas/configuration/components/Teams/TeamsPage.tsx","webpack://@octopusdeploy/octopus-deploy-portal/./app/hooks/useDeepCompareMemo.ts","webpack://@octopusdeploy/octopus-deploy-portal/./app/areas/projects/components/TaskStatusIcon/iconStyle.tsx","webpack://@octopusdeploy/octopus-deploy-portal/./app/areas/projects/components/TaskStatusIcon/TaskStatusIcon.tsx","webpack://@octopusdeploy/octopus-deploy-portal/./app/components/TaskDetails/TaskDetails.tsx","webpack://@octopusdeploy/octopus-deploy-portal/./app/components/TaskDetails/index.tsx","webpack://@octopusdeploy/octopus-deploy-portal/./app/areas/configuration/components/Telemetry/TelemetryPage.tsx","webpack://@octopusdeploy/octopus-deploy-portal/./app/areas/configuration/components/TestPermissions/PermissionTable.tsx","webpack://@octopusdeploy/octopus-deploy-portal/./app/areas/configuration/components/TestPermissions/TestPermissionsPage.tsx","webpack://@octopusdeploy/octopus-deploy-portal/./app/areas/configuration/components/Thumbprint/ThumbprintPage.tsx","webpack://@octopusdeploy/octopus-deploy-portal/./app/areas/configuration/components/Users/UserInvitePage.tsx","webpack://@octopusdeploy/octopus-deploy-portal/./app/areas/configuration/components/Users/ServiceAccountOidcIdentities/parseGitHubActionsSubject.tsx","webpack://@octopusdeploy/octopus-deploy-portal/./app/areas/configuration/components/Users/ServiceAccountOidcIdentities/getIssuerType.tsx","webpack://@octopusdeploy/octopus-deploy-portal/./app/areas/configuration/components/Users/ServiceAccountOidcIdentities/ConfigureGitHubActionsOidcIdentity.tsx","webpack://@octopusdeploy/octopus-deploy-portal/./app/areas/configuration/components/Users/ServiceAccountOidcIdentities/ConfigureOtherIssuerOidcIdentity.tsx","webpack://@octopusdeploy/octopus-deploy-portal/./app/areas/configuration/components/Users/ServiceAccountOidcIdentities/IssuerTypeLogo.tsx","webpack://@octopusdeploy/octopus-deploy-portal/./app/areas/configuration/components/Users/ServiceAccountOidcIdentities/ConfigureServiceAccountOidcIdentityDialogLayout.tsx","webpack://@octopusdeploy/octopus-deploy-portal/./app/areas/configuration/components/Users/ServiceAccountOidcIdentities/CreateServiceAccountOidcIdentityDialog.tsx","webpack://@octopusdeploy/octopus-deploy-portal/./app/components/DialogLayout/DeleteDialog.tsx","webpack://@octopusdeploy/octopus-deploy-portal/./app/areas/configuration/components/Users/ServiceAccountOidcIdentities/DeleteServiceAccountOidcIdentityDialog.tsx","webpack://@octopusdeploy/octopus-deploy-portal/./app/areas/configuration/components/Users/ServiceAccountOidcIdentities/EditServiceAccountOidcIdentityDialog.tsx","webpack://@octopusdeploy/octopus-deploy-portal/./app/areas/configuration/components/Users/ServiceAccountOidcIdentities/GitHubActionsLoginExample.tsx","webpack://@octopusdeploy/octopus-deploy-portal/./app/components/CopyToClipboardButton/CopyValueToClipboard.tsx","webpack://@octopusdeploy/octopus-deploy-portal/./app/areas/configuration/components/Users/ServiceAccountOidcIdentities/OtherIssuerServiceAccountDetails.tsx","webpack://@octopusdeploy/octopus-deploy-portal/./app/areas/configuration/components/Users/ServiceAccountOidcIdentities/ServiceAccountOidcIdentities.tsx","webpack://@octopusdeploy/octopus-deploy-portal/./app/components/NothingToSeeHere/NothingToSeeHere.tsx","webpack://@octopusdeploy/octopus-deploy-portal/./app/areas/users/UserApiKeys/AddApiKeyDialogLayout.tsx","webpack://@octopusdeploy/octopus-deploy-portal/./app/areas/users/UserApiKeys/DeleteApiKeyDialog.tsx","webpack://@octopusdeploy/octopus-deploy-portal/./app/areas/users/UserApiKeys/UserApiKeysList.tsx","webpack://@octopusdeploy/octopus-deploy-portal/./app/components/AddIdentityDialog/AddIdentityDialog.tsx","webpack://@octopusdeploy/octopus-deploy-portal/./app/areas/configuration/components/Users/ProviderIdentities.tsx","webpack://@octopusdeploy/octopus-deploy-portal/./app/areas/configuration/components/Users/ProviderGroups.tsx","webpack://@octopusdeploy/octopus-deploy-portal/./app/areas/configuration/components/Users/UserChangePasswordDialogLayout.tsx","webpack://@octopusdeploy/octopus-deploy-portal/./app/areas/configuration/components/Users/identityProviders.ts","webpack://@octopusdeploy/octopus-deploy-portal/./app/areas/configuration/components/Users/UserPage.tsx","webpack://@octopusdeploy/octopus-deploy-portal/./app/areas/configuration/components/Users/InviteOctoIdUserDialogLink.tsx","webpack://@octopusdeploy/octopus-deploy-portal/./app/areas/configuration/components/Users/UsersPage.tsx","webpack://@octopusdeploy/octopus-deploy-portal/./app/areas/dashboard/DashboardConfiguration/DashboardConfigurationPage.tsx","webpack://@octopusdeploy/octopus-deploy-portal/./app/components/GettingStarted/PortalEmptyStateOnboarding.tsx","webpack://@octopusdeploy/octopus-deploy-portal/./app/areas/infrastructure/components/AccountsLayout/AccountsPage.tsx","webpack://@octopusdeploy/octopus-deploy-portal/./app/areas/infrastructure/components/BaseMachineSettings/IsStepPackageEndpoint.tsx","webpack://@octopusdeploy/octopus-deploy-portal/./app/areas/infrastructure/components/BaseMachineSettings/TargetDiscoveryCallout.tsx","webpack://@octopusdeploy/octopus-deploy-portal/./app/areas/variables/SinglyScopedVariableWarnings/SinglyScopedVariableWarnings.tsx","webpack://@octopusdeploy/octopus-deploy-portal/./app/areas/infrastructure/components/MachineLayout/DeleteMachineDialogLayout.tsx","webpack://@octopusdeploy/octopus-deploy-portal/./app/utils/CronExpressions/getCronExpressionDescription.ts","webpack://@octopusdeploy/octopus-deploy-portal/./app/areas/infrastructure/components/MachinePolicySummary/MachinePolicySummary.tsx","webpack://@octopusdeploy/octopus-deploy-portal/./app/areas/infrastructure/components/MachinePolicySummary/index.tsx","webpack://@octopusdeploy/octopus-deploy-portal/./app/areas/infrastructure/components/MachineSettings/Endpoints/DeprecatedEndpoint.tsx","webpack://@octopusdeploy/octopus-deploy-portal/./app/components/StepPackageDeploymentTargetEditor/Inputs/Checkbox/Checkbox.tsx","webpack://@octopusdeploy/octopus-deploy-portal/./app/components/StepPackageDeploymentTargetEditor/Inputs/MultilineText/MultilineText.tsx","webpack://@octopusdeploy/octopus-deploy-portal/./app/components/StepPackageDeploymentTargetEditor/Inputs/Sensitive/Sensitive.tsx","webpack://@octopusdeploy/octopus-deploy-portal/./app/components/StepPackageDeploymentTargetEditor/Inputs/Text/Text.tsx","webpack://@octopusdeploy/octopus-deploy-portal/./app/components/StepPackageEditor/Inputs/Components/AccountSelector/AccountSelector.tsx","webpack://@octopusdeploy/octopus-deploy-portal/./app/components/StepPackageDeploymentTargetEditor/Inputs/Number/Number.tsx","webpack://@octopusdeploy/octopus-deploy-portal/./app/components/StepPackageDeploymentTargetEditor/TypedStepPackageDeploymentTargetEditor.tsx","webpack://@octopusdeploy/octopus-deploy-portal/./app/components/StepPackageDeploymentTargetEditor/Inputs/createGetRenderedComponentAndSummaryForDeploymentTargetFactory.tsx","webpack://@octopusdeploy/octopus-deploy-portal/./app/components/StepPackageDeploymentTargetEditor/StepPackageDeploymentTargetEditor.tsx","webpack://@octopusdeploy/octopus-deploy-portal/./app/areas/infrastructure/components/MachineSettings/Endpoints/StepPackageEndpoint.tsx","webpack://@octopusdeploy/octopus-deploy-portal/./app/areas/infrastructure/components/BaseMachineSettings/BaseMachineSettings.tsx","webpack://@octopusdeploy/octopus-deploy-portal/./app/areas/infrastructure/hooks/useOnMachineSavedDispatch.tsx","webpack://@octopusdeploy/octopus-deploy-portal/./app/areas/infrastructure/components/BaseMachineSettings/NewMachineResourceFactory.tsx","webpack://@octopusdeploy/octopus-deploy-portal/./app/areas/infrastructure/components/DeploymentTargetSettings/DeploymentTargetSettingsPage.tsx","webpack://@octopusdeploy/octopus-deploy-portal/./app/areas/infrastructure/components/EnvironmentLayout/DeleteEnvironmentDialogLayout.tsx","webpack://@octopusdeploy/octopus-deploy-portal/./app/areas/infrastructure/components/EnvironmentLayout/EnvironmentPage.tsx","webpack://@octopusdeploy/octopus-deploy-portal/./app/components/BorderedContent/BorderedContent.tsx","webpack://@octopusdeploy/octopus-deploy-portal/./app/components/MultiSelect/DeploymentTargetTypeMultiselect.tsx","webpack://@octopusdeploy/octopus-deploy-portal/./app/components/MultiSelect/MachineModelHealthStatusMultiSelect.tsx","webpack://@octopusdeploy/octopus-deploy-portal/./app/components/MultiSelect/ShellNameMultiSelect.tsx","webpack://@octopusdeploy/octopus-deploy-portal/./app/hooks/useDebouncedExternalState.ts","webpack://@octopusdeploy/octopus-deploy-portal/./app/utils/MachineHealthStatusHelper/MachineHealthStatusHelper.tsx","webpack://@octopusdeploy/octopus-deploy-portal/./app/utils/MachineHealthStatusHelper/index.tsx","webpack://@octopusdeploy/octopus-deploy-portal/./app/areas/infrastructure/components/MachinesLayout/ConfirmTentacleUpgradePanel.tsx","webpack://@octopusdeploy/octopus-deploy-portal/./app/areas/infrastructure/components/EnvironmentsLayout/AddEnvironmentsDialog.tsx","webpack://@octopusdeploy/octopus-deploy-portal/./app/areas/infrastructure/components/MachinesLayout/MachineFilter.tsx","webpack://@octopusdeploy/octopus-deploy-portal/./app/areas/infrastructure/components/EnvironmentsLayout/EnvironmentSummaryFilter.tsx","webpack://@octopusdeploy/octopus-deploy-portal/./app/areas/infrastructure/components/MachineHealthStatusIcons/getIconSize.ts","webpack://@octopusdeploy/octopus-deploy-portal/./app/areas/infrastructure/components/MachineHealthStatusIcons/DisabledMachineIcon.tsx","webpack://@octopusdeploy/octopus-deploy-portal/./app/areas/infrastructure/components/MachineHealthStatusIcons/HasWarningsMachineIcon.tsx","webpack://@octopusdeploy/octopus-deploy-portal/./app/areas/infrastructure/components/MachineHealthStatusIcons/HealthyMachineIcon.tsx","webpack://@octopusdeploy/octopus-deploy-portal/./app/areas/infrastructure/components/MachineHealthStatusIcons/UnavailableMachineIcon.tsx","webpack://@octopusdeploy/octopus-deploy-portal/./app/areas/infrastructure/components/MachineHealthStatusIcons/UnhealthyMachineIcon.tsx","webpack://@octopusdeploy/octopus-deploy-portal/./app/areas/infrastructure/components/MachineHealthStatusIcons/UnknownMachineIcon.tsx","webpack://@octopusdeploy/octopus-deploy-portal/./app/areas/infrastructure/components/MachineHealthStatusIcons/MachineHealthStatusIcon.tsx","webpack://@octopusdeploy/octopus-deploy-portal/./app/areas/infrastructure/components/MachinesLayout/BaseAllMachinesSummary.tsx","webpack://@octopusdeploy/octopus-deploy-portal/./app/areas/infrastructure/components/MachineHealthSummaryLink/MachineHealthSummaryLink.tsx","webpack://@octopusdeploy/octopus-deploy-portal/./app/areas/infrastructure/components/MachineRow/MachineRow.tsx","webpack://@octopusdeploy/octopus-deploy-portal/./app/areas/infrastructure/components/BaseMachinesSummary/BaseMachinesSummary.tsx","webpack://@octopusdeploy/octopus-deploy-portal/./app/areas/infrastructure/components/BaseMachinesSummary/BaseMachinesSummaryFilter.tsx","webpack://@octopusdeploy/octopus-deploy-portal/./app/areas/infrastructure/components/EnvironmentsLayout/EnvironmentSummarySection.tsx","webpack://@octopusdeploy/octopus-deploy-portal/./app/areas/infrastructure/components/EnvironmentsLayout/EnvironmentsSorter.tsx","webpack://@octopusdeploy/octopus-deploy-portal/./app/areas/infrastructure/components/EnvironmentsLayout/EnvironmentsPage.tsx","webpack://@octopusdeploy/octopus-deploy-portal/./app/areas/infrastructure/components/InfrastructureDashboard/MachinesCard/MachinesContentRow.tsx","webpack://@octopusdeploy/octopus-deploy-portal/./app/areas/infrastructure/components/InfrastructureDashboard/WorkersCard/WorkerContent.tsx","webpack://@octopusdeploy/octopus-deploy-portal/./app/areas/infrastructure/components/InfrastructureDashboard/ResultsLink.tsx","webpack://@octopusdeploy/octopus-deploy-portal/./app/areas/infrastructure/components/InfrastructureDashboard/EnvironmentsCard/EnvironmentsContentRows.tsx","webpack://@octopusdeploy/octopus-deploy-portal/./app/areas/infrastructure/components/InfrastructureDashboard/EnvironmentsCard/EnvironmentsContent.tsx","webpack://@octopusdeploy/octopus-deploy-portal/./app/areas/infrastructure/components/InfrastructureDashboard/HealthStatusCard/HealthStatusContentIconContainer.tsx","webpack://@octopusdeploy/octopus-deploy-portal/./app/areas/infrastructure/components/InfrastructureDashboard/HealthStatusCard/HealthStatusContentRow.tsx","webpack://@octopusdeploy/octopus-deploy-portal/./app/areas/infrastructure/components/InfrastructureDashboard/HealthStatusCard/HealthStatusContent.tsx","webpack://@octopusdeploy/octopus-deploy-portal/./app/areas/infrastructure/components/InfrastructureDashboard/CardTitle.tsx","webpack://@octopusdeploy/octopus-deploy-portal/./app/areas/infrastructure/components/InfrastructureDashboard/InfraOverviewCard.tsx","webpack://@octopusdeploy/octopus-deploy-portal/./app/areas/infrastructure/components/InfrastructureDashboard/MachinesCard/StepPackageDeploymentTargetRow.tsx","webpack://@octopusdeploy/octopus-deploy-portal/./app/areas/infrastructure/components/InfrastructureDashboard/MachinesCard/MachinesContent.tsx","webpack://@octopusdeploy/octopus-deploy-portal/./app/areas/infrastructure/components/InfrastructureDashboard/RolesCard/RolesContentChip.tsx","webpack://@octopusdeploy/octopus-deploy-portal/./app/areas/infrastructure/components/InfrastructureDashboard/RolesCard/RolesContent.tsx","webpack://@octopusdeploy/octopus-deploy-portal/./app/components/Navigation/Navigate.tsx","webpack://@octopusdeploy/octopus-deploy-portal/./app/areas/infrastructure/components/InfrastructureDashboard/TagSetsCard/TagSetContentRow.tsx","webpack://@octopusdeploy/octopus-deploy-portal/./app/areas/infrastructure/components/InfrastructureDashboard/TagSetsCard/TagSetContent.tsx","webpack://@octopusdeploy/octopus-deploy-portal/./app/areas/infrastructure/components/InfrastructureDashboard/TagSetsCard/TagSetsContent.tsx","webpack://@octopusdeploy/octopus-deploy-portal/./app/areas/infrastructure/components/InfrastructureDashboard/TenantsCard/TenantsContentRow.tsx","webpack://@octopusdeploy/octopus-deploy-portal/./app/areas/infrastructure/components/InfrastructureDashboard/TenantsCard/TenantsContent.tsx","webpack://@octopusdeploy/octopus-deploy-portal/./app/areas/infrastructure/components/InfrastructureDashboard/WorkerPoolsCard/WorkerPoolContentRow.tsx","webpack://@octopusdeploy/octopus-deploy-portal/./app/areas/infrastructure/components/InfrastructureDashboard/WorkerPoolsCard/WorkerPoolsContent.tsx","webpack://@octopusdeploy/octopus-deploy-portal/./app/areas/infrastructure/components/InfrastructureDashboard/InfrastructureDashboard.tsx","webpack://@octopusdeploy/octopus-deploy-portal/./app/areas/infrastructure/components/InfrastructureDashboard/index.tsx","webpack://@octopusdeploy/octopus-deploy-portal/./app/areas/infrastructure/components/MachineConnection/MachineConnection.tsx","webpack://@octopusdeploy/octopus-deploy-portal/./app/areas/infrastructure/components/MachineDeployments/MachineDeploymentsPage.tsx","webpack://@octopusdeploy/octopus-deploy-portal/./app/areas/infrastructure/components/MachineDiscovery/MachineDiscovery.tsx","webpack://@octopusdeploy/octopus-deploy-portal/./app/components/EventListing/EventListing.tsx","webpack://@octopusdeploy/octopus-deploy-portal/./app/areas/infrastructure/components/MachineEvents/MachineEventsPage.tsx","webpack://@octopusdeploy/octopus-deploy-portal/./app/areas/infrastructure/components/MachinePoliciesLayout/MachinePoliciesPage.tsx","webpack://@octopusdeploy/octopus-deploy-portal/./app/areas/projects/components/Triggers/Scheduled/ScheduleEditors/getCronExpressionSummary.tsx","webpack://@octopusdeploy/octopus-deploy-portal/./app/areas/infrastructure/components/MachinePolicyLayout/MachinePolicyPage.tsx","webpack://@octopusdeploy/octopus-deploy-portal/./app/areas/infrastructure/components/MachinePolicyLayout/Analytics/useNotifyRpcRetryPolicyUpdate.tsx","webpack://@octopusdeploy/octopus-deploy-portal/./app/areas/infrastructure/components/MachineRunbookRuns/MachineRunbookRunsPage.tsx","webpack://@octopusdeploy/octopus-deploy-portal/./app/components/PageDivider/PageDivider.tsx","webpack://@octopusdeploy/octopus-deploy-portal/./app/components/PageDivider/index.ts","webpack://@octopusdeploy/octopus-deploy-portal/./app/utils/orderBy.ts","webpack://@octopusdeploy/octopus-deploy-portal/./app/areas/infrastructure/components/MachineSettings/Endpoints/EndpointSelector.tsx","webpack://@octopusdeploy/octopus-deploy-portal/./app/areas/infrastructure/components/MachineSettings/MachineTargetNewPage.tsx","webpack://@octopusdeploy/octopus-deploy-portal/./app/areas/infrastructure/hooks/useOnClearMachineDispatch.tsx","webpack://@octopusdeploy/octopus-deploy-portal/./app/areas/infrastructure/components/MachinesLayout/DeploymentTargetsSummarySection.tsx","webpack://@octopusdeploy/octopus-deploy-portal/./app/areas/infrastructure/components/MachinesLayout/DeploymentTargetsPage.tsx","webpack://@octopusdeploy/octopus-deploy-portal/./app/components/MultiSelect/EndpointCommunicationStyleMultiSelect.tsx","webpack://@octopusdeploy/octopus-deploy-portal/./app/areas/infrastructure/components/WorkerPools/WorkerPoolsLayout/WorkerPoolsSummaryFilter.tsx","webpack://@octopusdeploy/octopus-deploy-portal/./app/areas/infrastructure/components/MachinesLayout/WorkerMachinesSummarySection.tsx","webpack://@octopusdeploy/octopus-deploy-portal/./app/areas/infrastructure/components/MachinesLayout/WorkerMachinesPage.tsx","webpack://@octopusdeploy/octopus-deploy-portal/./app/areas/infrastructure/components/ProxiesLayout/ProxiesPage.tsx","webpack://@octopusdeploy/octopus-deploy-portal/./app/areas/infrastructure/components/ProxyLayout/ProxyPage.tsx","webpack://@octopusdeploy/octopus-deploy-portal/./app/areas/infrastructure/components/WorkerMachineSettings/WorkerMachineNewPage.tsx","webpack://@octopusdeploy/octopus-deploy-portal/./app/areas/infrastructure/components/WorkerMachineSettings/WorkerMachineSettingsPage.tsx","webpack://@octopusdeploy/octopus-deploy-portal/./app/areas/infrastructure/components/WorkerPools/DeprecatedWorkerType.tsx","webpack://@octopusdeploy/octopus-deploy-portal/./app/areas/infrastructure/components/WorkerPools/WorkerPoolLayout/WorkerPoolEditBase.tsx","webpack://@octopusdeploy/octopus-deploy-portal/./app/areas/infrastructure/components/WorkerPools/WorkerPoolLayout/DynamicWorkerPoolEdit.tsx","webpack://@octopusdeploy/octopus-deploy-portal/./app/areas/infrastructure/components/WorkerPools/WorkerPoolLayout/StaticWorkerPoolEdit.tsx","webpack://@octopusdeploy/octopus-deploy-portal/./app/areas/infrastructure/components/WorkerPools/WorkerPoolLayout/WorkerPoolPage.tsx","webpack://@octopusdeploy/octopus-deploy-portal/./app/areas/infrastructure/components/WorkerPools/WorkerPoolsLayout/AddWorkerPoolsDialog.tsx","webpack://@octopusdeploy/octopus-deploy-portal/./app/areas/infrastructure/components/WorkerPools/WorkerPoolsLayout/WorkerPoolSummarySection.tsx","webpack://@octopusdeploy/octopus-deploy-portal/./app/areas/infrastructure/components/WorkerPools/WorkerPoolsLayout/WorkerPoolsSorter.tsx","webpack://@octopusdeploy/octopus-deploy-portal/./app/areas/infrastructure/components/WorkerPools/WorkerPoolsLayout/WorkerPoolsPage.tsx","webpack://@octopusdeploy/octopus-deploy-portal/./app/hooks/useCreatePageSideNavLink.tsx","webpack://@octopusdeploy/octopus-deploy-portal/./app/areas/insights/components/InsightsReportLayout/InsightsReportLayout.tsx","webpack://@octopusdeploy/octopus-deploy-portal/./app/areas/insights/insightsCadence.ts","webpack://@octopusdeploy/octopus-deploy-portal/./app/areas/insights/dataTransformation/stringHelpers.ts","webpack://@octopusdeploy/octopus-deploy-portal/./app/areas/insights/components/Reports/TrendIndicator/TrendIndicator.tsx","webpack://@octopusdeploy/octopus-deploy-portal/./app/areas/insights/components/Reports/ReportMetricsLayout/ReportMetricsLayout.tsx","webpack://@octopusdeploy/octopus-deploy-portal/./app/areas/insights/components/Reports/ReportMetricsLayout/useReportFilters.ts","webpack://@octopusdeploy/octopus-deploy-portal/./app/areas/insights/dataTransformation/dateHelpers.ts","webpack://@octopusdeploy/octopus-deploy-portal/./app/areas/insights/dataTransformation/parseInsightsDurationMetrics.ts","webpack://@octopusdeploy/octopus-deploy-portal/./app/areas/insights/dataTransformation/getChartReadyInsightsData.ts","webpack://@octopusdeploy/octopus-deploy-portal/./app/areas/insights/dataTransformation/getYAxisDataMax.ts","webpack://@octopusdeploy/octopus-deploy-portal/./app/areas/insights/components/ChartTooltips/TooltipBase/TooltipBase.tsx","webpack://@octopusdeploy/octopus-deploy-portal/./app/areas/insights/components/ChartTooltips/InsightsTooltip/InsightsTooltip.tsx","webpack://@octopusdeploy/octopus-deploy-portal/./app/areas/insights/components/chartColors.ts","webpack://@octopusdeploy/octopus-deploy-portal/./app/areas/insights/components/Charts/ResponsiveChartContainer.tsx","webpack://@octopusdeploy/octopus-deploy-portal/./app/areas/insights/components/Charts/LineChart.tsx","webpack://@octopusdeploy/octopus-deploy-portal/./app/areas/insights/components/DownloadReportCsvButton.tsx","webpack://@octopusdeploy/octopus-deploy-portal/./app/areas/insights/components/InsightsChartCard.tsx","webpack://@octopusdeploy/octopus-deploy-portal/./app/areas/insights/components/Reports/InsightsReportDeploymentDurationPage.tsx","webpack://@octopusdeploy/octopus-deploy-portal/./app/areas/insights/components/Charts/TrendSparklineChart.tsx","webpack://@octopusdeploy/octopus-deploy-portal/./app/areas/insights/components/Reports/TrendTables/SparklineTrendPair/SparklineTrendPair.tsx","webpack://@octopusdeploy/octopus-deploy-portal/./app/areas/insights/components/Reports/TrendTables/CommonSparklineTrends.tsx","webpack://@octopusdeploy/octopus-deploy-portal/./app/areas/insights/components/Reports/TrendTables/TrendTable/TrendTable.tsx","webpack://@octopusdeploy/octopus-deploy-portal/./app/areas/insights/components/Reports/TrendTables/FailureRateTrendTables.tsx","webpack://@octopusdeploy/octopus-deploy-portal/./app/areas/insights/components/Reports/InsightsReportDeploymentFailureRatePage.tsx","webpack://@octopusdeploy/octopus-deploy-portal/./app/areas/insights/components/Reports/TrendTables/DeploymentFrequencyTrendTables.tsx","webpack://@octopusdeploy/octopus-deploy-portal/./app/areas/insights/components/Reports/InsightsReportDeploymentFrequencyPage.tsx","webpack://@octopusdeploy/octopus-deploy-portal/./app/areas/insights/components/Reports/TrendTables/LeadTimeTrendTables.tsx","webpack://@octopusdeploy/octopus-deploy-portal/./app/areas/insights/components/Reports/InsightsReportDeploymentLeadTimePage.tsx","webpack://@octopusdeploy/octopus-deploy-portal/./app/areas/insights/components/Reports/TrendTables/TimeToRecoveryTables.tsx","webpack://@octopusdeploy/octopus-deploy-portal/./app/areas/insights/components/Reports/InsightsReportDeploymentMeanTimeToRecoveryPage.tsx","webpack://@octopusdeploy/octopus-deploy-portal/./app/components/RemovableExpandersList/RemovableExpandersList.tsx","webpack://@octopusdeploy/octopus-deploy-portal/./app/components/RemovableExpandersList/index.tsx","webpack://@octopusdeploy/octopus-deploy-portal/./app/areas/insights/components/Reports/InsightsReportSettingsPage.tsx","webpack://@octopusdeploy/octopus-deploy-portal/./app/areas/insights/components/Reports/AddInsightsReportDialog.tsx","webpack://@octopusdeploy/octopus-deploy-portal/./app/areas/insights/components/Reports/ReportCard/ReportCard.tsx","webpack://@octopusdeploy/octopus-deploy-portal/./app/components/GettingStarted/Level1EmptyStateLayout.tsx","webpack://@octopusdeploy/octopus-deploy-portal/./app/components/LoadMoreCard/LoadMoreCard.tsx","webpack://@octopusdeploy/octopus-deploy-portal/./app/components/SkeletonLoadingLayout/SkeletonLoadingLayout.tsx","webpack://@octopusdeploy/octopus-deploy-portal/./app/areas/insights/components/Reports/ReportList/InsightsReportListPage.tsx","webpack://@octopusdeploy/octopus-deploy-portal/./app/areas/insights/components/Reports/ReportOverview/InsightsReportOverviewPage.tsx","webpack://@octopusdeploy/octopus-deploy-portal/./app/areas/insights/components/Reports/ReportUpsell/ReportUpsell.tsx","webpack://@octopusdeploy/octopus-deploy-portal/./app/components/ActionPropertiesEditor/ActionTemplatePropertiesEditor.tsx","webpack://@octopusdeploy/octopus-deploy-portal/./app/areas/library/components/ActionTemplates/ExportActionTemplateDialog.tsx","webpack://@octopusdeploy/octopus-deploy-portal/./app/areas/library/components/ActionTemplates/SaveAsDialog.tsx","webpack://@octopusdeploy/octopus-deploy-portal/./app/areas/library/components/ActionTemplates/ActionTemplate/ActionTemplatePage.tsx","webpack://@octopusdeploy/octopus-deploy-portal/./app/areas/library/components/ActionTemplates/ActionTemplateUsageLinks.tsx","webpack://@octopusdeploy/octopus-deploy-portal/./app/areas/library/components/ActionTemplates/ActionTemplateUsageTable.tsx","webpack://@octopusdeploy/octopus-deploy-portal/./app/areas/library/components/ActionTemplates/MergeConflictResolutionDialog.tsx","webpack://@octopusdeploy/octopus-deploy-portal/./app/areas/library/components/ActionTemplates/ActionTemplateUsagePage.tsx","webpack://@octopusdeploy/octopus-deploy-portal/./app/areas/library/components/ActionTemplates/ImportActionTemplateDialog.tsx","webpack://@octopusdeploy/octopus-deploy-portal/./app/areas/library/components/ActionTemplates/ActionTemplatesPage.tsx","webpack://@octopusdeploy/octopus-deploy-portal/./app/areas/library/components/ActionTemplates/BuiltinActionTemplateList.tsx","webpack://@octopusdeploy/octopus-deploy-portal/./app/areas/library/components/ActionTemplates/BuiltinTemplatesPage.tsx","webpack://@octopusdeploy/octopus-deploy-portal/./app/areas/library/components/ActionTemplates/CommunityTemplatePage.tsx","webpack://@octopusdeploy/octopus-deploy-portal/./app/areas/library/components/ActionTemplates/CommunityTemplatesPage.tsx","webpack://@octopusdeploy/octopus-deploy-portal/./app/components/AdHocScript/AdHocScript.tsx","webpack://@octopusdeploy/octopus-deploy-portal/./app/areas/library/components/ActionTemplates/RunActionTemplatePage.tsx","webpack://@octopusdeploy/octopus-deploy-portal/./app/components/Commits/CommitDetails.tsx","webpack://@octopusdeploy/octopus-deploy-portal/./app/components/WorkItems/WorkItems.tsx","webpack://@octopusdeploy/octopus-deploy-portal/./app/components/BuildInformation/BuildInformationTable.tsx","webpack://@octopusdeploy/octopus-deploy-portal/./app/areas/library/components/BuildInformation/BuildInformationDetailPage.tsx","webpack://@octopusdeploy/octopus-deploy-portal/./app/areas/library/components/BuildInformation/BuildInformationOverviewPage.tsx","webpack://@octopusdeploy/octopus-deploy-portal/./app/areas/library/components/BuildInformation/BuildInformationVersionsPage.tsx","webpack://@octopusdeploy/octopus-deploy-portal/./app/areas/library/components/BuiltInRepository/BuiltInRepositoryIndexing.tsx","webpack://@octopusdeploy/octopus-deploy-portal/./app/areas/library/components/BuiltInRepository/EditBuiltInRepositoryRetention.tsx","webpack://@octopusdeploy/octopus-deploy-portal/./app/areas/library/components/BuiltInRepository/BuiltInRepositoryRetention.tsx","webpack://@octopusdeploy/octopus-deploy-portal/./app/components/Skeleton/Skeleton.tsx","webpack://@octopusdeploy/octopus-deploy-portal/./app/areas/library/components/BuiltInRepository/BuiltInRepositorySidebar.tsx","webpack://@octopusdeploy/octopus-deploy-portal/./app/areas/library/components/BuiltInRepository/UploadPackage.tsx","webpack://@octopusdeploy/octopus-deploy-portal/./app/areas/library/components/BuiltInRepository/BuiltInRepositoryPage.tsx","webpack://@octopusdeploy/octopus-deploy-portal/./app/areas/library/components/BuiltInRepository/PackageDetailPage.tsx","webpack://@octopusdeploy/octopus-deploy-portal/./app/areas/library/components/BuiltInRepository/PackageVersionsListPage.tsx","webpack://@octopusdeploy/octopus-deploy-portal/./app/areas/library/components/Certificates/CertificatesPage.tsx","webpack://@octopusdeploy/octopus-deploy-portal/./app/areas/library/components/ExternalFeeds/ExternalFeedPage.tsx","webpack://@octopusdeploy/octopus-deploy-portal/./app/areas/library/components/ExternalFeeds/ExternalFeedTestPage.tsx","webpack://@octopusdeploy/octopus-deploy-portal/./app/areas/library/components/ExternalFeeds/ExternalFeedsPage.tsx","webpack://@octopusdeploy/octopus-deploy-portal/./app/areas/library/components/GitConnections/Analytics/useNotifyGitConnectionEvent.ts","webpack://@octopusdeploy/octopus-deploy-portal/./app/areas/library/components/GitConnections/Analytics/GitConnectionAnalyticView.tsx","webpack://@octopusdeploy/octopus-deploy-portal/./app/areas/library/components/GitConnections/Analytics/useTrackedGitConnectionEvent.ts","webpack://@octopusdeploy/octopus-deploy-portal/./app/areas/library/components/GitConnections/ChipList/GitHubChips.tsx","webpack://@octopusdeploy/octopus-deploy-portal/./app/areas/library/components/GitConnections/GitHubAppRepositoryListItem.tsx","webpack://@octopusdeploy/octopus-deploy-portal/./app/areas/library/components/GitConnections/GitHubFooterMessage.tsx","webpack://@octopusdeploy/octopus-deploy-portal/./app/areas/library/components/GitConnections/GitHubAppRepositoryList.tsx","webpack://@octopusdeploy/octopus-deploy-portal/./app/areas/library/components/GitConnections/GitHubAppNewRepositorySelector.tsx","webpack://@octopusdeploy/octopus-deploy-portal/./app/areas/library/components/GitConnections/AddGitHubConnectionPage.tsx","webpack://@octopusdeploy/octopus-deploy-portal/./app/areas/library/components/GitConnections/GitHubAppInstallationDisplay.tsx","webpack://@octopusdeploy/octopus-deploy-portal/./app/areas/library/components/GitConnections/GitHubAppConnectionList.tsx","webpack://@octopusdeploy/octopus-deploy-portal/./app/areas/library/components/GitConnections/Onboarding/GitConnectionOnboarding.tsx","webpack://@octopusdeploy/octopus-deploy-portal/./app/areas/library/components/GitConnections/Onboarding/GitHubAppLinks.tsx","webpack://@octopusdeploy/octopus-deploy-portal/./app/areas/library/components/GitConnections/GitConnectionsPage.tsx","webpack://@octopusdeploy/octopus-deploy-portal/./app/areas/library/components/GitConnections/GitHubConnectionPage.tsx","webpack://@octopusdeploy/octopus-deploy-portal/./app/areas/library/components/GitCredentials/GitCredentialsPage.tsx","webpack://@octopusdeploy/octopus-deploy-portal/./app/components/ComponentRow/index.tsx","webpack://@octopusdeploy/octopus-deploy-portal/./app/areas/library/components/Lifecycle/RetentionPolicy/RetentionPolicyControl.tsx","webpack://@octopusdeploy/octopus-deploy-portal/./app/areas/library/components/Lifecycle/SortPhases/SortPhases.tsx","webpack://@octopusdeploy/octopus-deploy-portal/./app/areas/library/components/Lifecycle/LifecycleMap/index.tsx","webpack://@octopusdeploy/octopus-deploy-portal/./app/areas/library/components/Lifecycle/AddEnvironment/AddEnvironment.tsx","webpack://@octopusdeploy/octopus-deploy-portal/./app/areas/library/components/Lifecycle/ChangePhaseProgression/ChangePhaseProgression.tsx","webpack://@octopusdeploy/octopus-deploy-portal/./app/areas/library/components/Lifecycle/RetentionPolicy/SelectRetentionPolicy.tsx","webpack://@octopusdeploy/octopus-deploy-portal/./app/components/LicensedFeature/LicensedFeature.tsx","webpack://@octopusdeploy/octopus-deploy-portal/./app/areas/library/components/Lifecycle/Lifecycle/policySummary.ts","webpack://@octopusdeploy/octopus-deploy-portal/./app/areas/library/components/Lifecycle/RetentionPolicy/RetentionPolicySummary.tsx","webpack://@octopusdeploy/octopus-deploy-portal/./app/areas/library/components/Lifecycle/Phase/Phase.tsx","webpack://@octopusdeploy/octopus-deploy-portal/./app/areas/library/components/Lifecycle/Lifecycle/LifecyclePage.tsx","webpack://@octopusdeploy/octopus-deploy-portal/./app/areas/library/components/Lifecycle/Lifecycles/LifecyclesPage.tsx","webpack://@octopusdeploy/octopus-deploy-portal/./app/areas/library/components/VariableSets/VariableSetUsage.tsx","webpack://@octopusdeploy/octopus-deploy-portal/./app/areas/library/components/VariableSets/VariableSetProjectUsage.tsx","webpack://@octopusdeploy/octopus-deploy-portal/./app/areas/library/components/VariableSets/VariableSetReleaseUsage.tsx","webpack://@octopusdeploy/octopus-deploy-portal/./app/areas/library/components/Scripts/ScriptModulePage.tsx","webpack://@octopusdeploy/octopus-deploy-portal/./app/areas/library/components/Scripts/ScriptModulesPage.tsx","webpack://@octopusdeploy/octopus-deploy-portal/./app/areas/library/components/TagSets/TagSetPage.tsx","webpack://@octopusdeploy/octopus-deploy-portal/./app/areas/library/components/TagSets/TagSetsSorter.tsx","webpack://@octopusdeploy/octopus-deploy-portal/./app/areas/library/components/TagSets/TagSetsPage.tsx","webpack://@octopusdeploy/octopus-deploy-portal/./app/areas/library/components/VariableSets/VariableSetSettings.tsx","webpack://@octopusdeploy/octopus-deploy-portal/./app/areas/library/components/VariableSets/VariableSetTemplates.tsx","webpack://@octopusdeploy/octopus-deploy-portal/./app/areas/variables/VariableHeaderRow/VariableHeaderRow.tsx","webpack://@octopusdeploy/octopus-deploy-portal/./app/areas/variables/VariableMultiValueRow/VariableMultiValueRow.tsx","webpack://@octopusdeploy/octopus-deploy-portal/./app/areas/variables/VariableRowRenderer/VariableRowRenderer.tsx","webpack://@octopusdeploy/octopus-deploy-portal/./app/areas/variables/VariableSaveConfirmationDialog/VariableSaveConfirmationDialog.tsx","webpack://@octopusdeploy/octopus-deploy-portal/./app/areas/variables/VariableSaveWarnings/VariableSaveWarnings.ts","webpack://@octopusdeploy/octopus-deploy-portal/./app/areas/variables/VariableEditor/conversions.ts","webpack://@octopusdeploy/octopus-deploy-portal/./app/areas/variables/VariableEditor/VariableEditor.tsx","webpack://@octopusdeploy/octopus-deploy-portal/./app/areas/library/components/VariableSets/EditVariableSetPage.tsx","webpack://@octopusdeploy/octopus-deploy-portal/./app/areas/library/components/VariableSets/AddVariableSetDialogLayout.tsx","webpack://@octopusdeploy/octopus-deploy-portal/./app/areas/library/components/VariableSets/VariableSetsPage.tsx","webpack://@octopusdeploy/octopus-deploy-portal/./app/areas/projects/components/EphemeralEnvironments/useEphemeralEnvironmentsEnabled.ts","webpack://@octopusdeploy/octopus-deploy-portal/./app/areas/projects/components/Channels/GitProtectionRules/GitReferenceRuleDescription.tsx","webpack://@octopusdeploy/octopus-deploy-portal/./app/areas/projects/components/Channels/GitProtectionRules/getDeploymentActionGitDependenciesWithDetails.tsx","webpack://@octopusdeploy/octopus-deploy-portal/./app/areas/projects/components/Channels/GitProtectionRules/GitResourceRulesDescriptionList.tsx","webpack://@octopusdeploy/octopus-deploy-portal/./app/areas/projects/components/Channels/RulesDescriptionList.tsx","webpack://@octopusdeploy/octopus-deploy-portal/./app/areas/projects/components/Channels/Channel.tsx","webpack://@octopusdeploy/octopus-deploy-portal/./app/areas/projects/components/Channels/ChannelsPage.tsx","webpack://@octopusdeploy/octopus-deploy-portal/./app/areas/projects/components/Channels/RulesTester/rulesTesterStyles.ts","webpack://@octopusdeploy/octopus-deploy-portal/./app/areas/projects/components/Channels/RulesTester/RulesTester.tsx","webpack://@octopusdeploy/octopus-deploy-portal/./app/areas/projects/components/Channels/DesignRule.tsx","webpack://@octopusdeploy/octopus-deploy-portal/./app/components/MultiSelect/DeploymentActionPackageMultiSelect.tsx","webpack://@octopusdeploy/octopus-deploy-portal/./app/areas/projects/components/Channels/GitProtectionRules/MatchingGitRefs.tsx","webpack://@octopusdeploy/octopus-deploy-portal/./app/areas/projects/components/Channels/ChannelGitProtectionRulesEdit.tsx","webpack://@octopusdeploy/octopus-deploy-portal/./app/areas/projects/components/Channels/CreateOrEditChannelPageContent.tsx","webpack://@octopusdeploy/octopus-deploy-portal/./app/areas/projects/components/Channels/SaveChannelEvent.ts","webpack://@octopusdeploy/octopus-deploy-portal/./app/areas/projects/components/Channels/CreateChannelPage.tsx","webpack://@octopusdeploy/octopus-deploy-portal/./app/areas/projects/components/Channels/EditChannelPage.tsx","webpack://@octopusdeploy/octopus-deploy-portal/./app/areas/projects/components/Releases/Deployments/NowOrLater/rollFoward.ts","webpack://@octopusdeploy/octopus-deploy-portal/./app/components/DeploymentFreezes/EditScopeTable/DeploymentFreezeScopeCell.tsx","webpack://@octopusdeploy/octopus-deploy-portal/./app/components/DeploymentFreezes/EditScopeTable/DeploymentFreezeScopeTableRow.tsx","webpack://@octopusdeploy/octopus-deploy-portal/./app/components/DeploymentFreezes/DeploymentFreezeScopeTable.tsx","webpack://@octopusdeploy/octopus-deploy-portal/./app/components/DeploymentFreezes/ProjectFreezeEnvironmentSection.tsx","webpack://@octopusdeploy/octopus-deploy-portal/./app/areas/projects/components/ProjectTenants/ConnectionWizardDialogLayout.tsx","webpack://@octopusdeploy/octopus-deploy-portal/./app/areas/tenants/components/Paging/PagingButton.tsx","webpack://@octopusdeploy/octopus-deploy-portal/./app/areas/tenants/components/Paging/PagingSelection.tsx","webpack://@octopusdeploy/octopus-deploy-portal/./app/areas/tenants/components/Paging/NumberedPagingBar.tsx","webpack://@octopusdeploy/octopus-deploy-portal/./app/areas/projects/components/ProjectTenants/PagingSection.tsx","webpack://@octopusdeploy/octopus-deploy-portal/./app/areas/tenants/components/Filtering/FilterBuilder/filterBuilderTypes.ts","webpack://@octopusdeploy/octopus-deploy-portal/./app/areas/tenants/components/Filtering/FilterBuilder/FilterBuilder.tsx","webpack://@octopusdeploy/octopus-deploy-portal/./app/areas/tenants/components/HeaderBar/CollapsibleFilter.tsx","webpack://@octopusdeploy/octopus-deploy-portal/./app/areas/projects/components/ProjectTenants/PanelSelector.tsx","webpack://@octopusdeploy/octopus-deploy-portal/./app/areas/tenants/components/DataTable/Cells/TenantDataTableEnvironmentsCell.tsx","webpack://@octopusdeploy/octopus-deploy-portal/./app/areas/tenants/components/DataTable/Cells/TenantNameCell.tsx","webpack://@octopusdeploy/octopus-deploy-portal/./app/areas/projects/components/ProjectTenants/SelectEnvironments.tsx","webpack://@octopusdeploy/octopus-deploy-portal/./app/components/DeploymentFreezes/ScopeConnectDialog/ConnectFreezeProjectsDialog.tsx","webpack://@octopusdeploy/octopus-deploy-portal/./app/components/DeploymentFreezes/FreezeProjectScopeSection.tsx","webpack://@octopusdeploy/octopus-deploy-portal/./app/utils/DeploymentFreezeScheduleHelper/DayOfWeekOrdinalHelper.tsx","webpack://@octopusdeploy/octopus-deploy-portal/./app/areas/projects/components/Releases/Deployments/NowOrLater/DatePicker/DatePicker.tsx","webpack://@octopusdeploy/octopus-deploy-portal/./app/areas/projects/components/Releases/Deployments/NowOrLater/combineDateTime.ts","webpack://@octopusdeploy/octopus-deploy-portal/./app/components/DeploymentFreezes/DeploymentFreezeScheduleDialog.tsx","webpack://@octopusdeploy/octopus-deploy-portal/./app/areas/projects/components/Releases/Deployments/NowOrLater/TimePicker/CancelInvalidInput.tsx","webpack://@octopusdeploy/octopus-deploy-portal/./app/areas/projects/components/Releases/Deployments/NowOrLater/TimePicker/TimePicker.tsx","webpack://@octopusdeploy/octopus-deploy-portal/./app/components/DeploymentFreezes/FreezeDateTimePicker.tsx","webpack://@octopusdeploy/octopus-deploy-portal/./app/components/DeploymentFreezes/RecurringFreezePreview.tsx","webpack://@octopusdeploy/octopus-deploy-portal/./app/components/DeploymentFreezes/FreezeScheduleSection.tsx","webpack://@octopusdeploy/octopus-deploy-portal/./app/components/DeploymentFreezes/DeploymentFreezeTenantScopeTable.tsx","webpack://@octopusdeploy/octopus-deploy-portal/./app/components/DeploymentFreezes/ScopeConnectDialog/SelectProjectEnvironments.tsx","webpack://@octopusdeploy/octopus-deploy-portal/./app/components/DeploymentFreezes/ScopeConnectDialog/SelectProjects.tsx","webpack://@octopusdeploy/octopus-deploy-portal/./app/components/DeploymentFreezes/ScopeConnectDialog/ConnectFreezeTenantsDialog.tsx","webpack://@octopusdeploy/octopus-deploy-portal/./app/components/DeploymentFreezes/FreezeTenantScopeSection.tsx","webpack://@octopusdeploy/octopus-deploy-portal/./app/components/DeploymentFreezes/EditDeploymentFreeze.tsx","webpack://@octopusdeploy/octopus-deploy-portal/./app/areas/projects/components/DeploymentFreezes/CreateProjectDeploymentFreezePage.tsx","webpack://@octopusdeploy/octopus-deploy-portal/./app/areas/projects/components/DeploymentFreezes/EditProjectDeploymentFreezePage.tsx","webpack://@octopusdeploy/octopus-deploy-portal/./app/areas/projects/components/DeploymentFreezes/ProjectDeploymentFreezesListPage.tsx","webpack://@octopusdeploy/octopus-deploy-portal/./app/areas/projects/components/VersionControl/Analytics/GitEventFields.ts","webpack://@octopusdeploy/octopus-deploy-portal/./app/areas/tasks/components/Task/K8sStatus/retrieveStepsWithKubernetesActions.ts","webpack://@octopusdeploy/octopus-deploy-portal/./app/areas/projects/components/Releases/Deployments/ActionSummary.tsx","webpack://@octopusdeploy/octopus-deploy-portal/./app/areas/projects/components/Releases/Deployments/deploymentStepsWorker.ts","webpack://@octopusdeploy/octopus-deploy-portal/./app/areas/projects/components/Releases/Deployments/ActionToggle.tsx","webpack://@octopusdeploy/octopus-deploy-portal/./app/areas/projects/components/Releases/Deployments/EnvironmentAndTenantSelector/HelpText.tsx","webpack://@octopusdeploy/octopus-deploy-portal/./app/areas/projects/components/Releases/Deployments/EnvironmentAndTenantSelector/SkipTenantsPanel.tsx","webpack://@octopusdeploy/octopus-deploy-portal/./app/areas/projects/components/Releases/Deployments/EnvironmentAndTenantSelector/EnvironmentAndTenantSelectorForRunbooks.tsx","webpack://@octopusdeploy/octopus-deploy-portal/./app/areas/projects/components/Releases/Deployments/PendingInterruptions.tsx","webpack://@octopusdeploy/octopus-deploy-portal/./app/utils/BranchHelpers/ExternalBranchHelpers.ts","webpack://@octopusdeploy/octopus-deploy-portal/./app/areas/projects/components/GitRefSelector/ExternalGitRefSelector.tsx","webpack://@octopusdeploy/octopus-deploy-portal/./app/components/LoadMoreWrapper/LoadMoreWrapper.tsx","webpack://@octopusdeploy/octopus-deploy-portal/./app/areas/projects/components/Releases/GitResources/FilesList.tsx","webpack://@octopusdeploy/octopus-deploy-portal/./app/areas/projects/components/Releases/gitResourceModel.ts","webpack://@octopusdeploy/octopus-deploy-portal/./app/areas/projects/components/Releases/Edit/GitResourcesSection.tsx","webpack://@octopusdeploy/octopus-deploy-portal/./app/areas/projects/components/Releases/GitResourcesList.tsx","webpack://@octopusdeploy/octopus-deploy-portal/./app/components/ControlExpanders/useSetExpanderState.ts","webpack://@octopusdeploy/octopus-deploy-portal/./app/components/Dialog/ProgressDialog.tsx","webpack://@octopusdeploy/octopus-deploy-portal/./app/components/FormBaseComponent/matchErrorsToFieldNames.ts","webpack://@octopusdeploy/octopus-deploy-portal/./app/areas/projects/components/BranchSelector/useProjectGitRef.ts","webpack://@octopusdeploy/octopus-deploy-portal/./app/areas/projects/components/Releases/Deployments/DebugOptions.tsx","webpack://@octopusdeploy/octopus-deploy-portal/./app/areas/projects/components/Releases/Deployments/EnvironmentAndTenantSelector/EnvironmentSelection.tsx","webpack://@octopusdeploy/octopus-deploy-portal/./app/areas/projects/components/Releases/Deployments/NowOrLater/formatTimeDifference.ts","webpack://@octopusdeploy/octopus-deploy-portal/./app/areas/projects/components/Releases/Deployments/NowOrLater/NowOrLater.tsx","webpack://@octopusdeploy/octopus-deploy-portal/./app/areas/projects/components/Releases/Deployments/PackageDownloadOptions.tsx","webpack://@octopusdeploy/octopus-deploy-portal/./app/areas/projects/components/Releases/releaseNoteHelper.ts","webpack://@octopusdeploy/octopus-deploy-portal/./app/areas/projects/components/Releases/ReleaseChanges/ReleaseChangesDetail.tsx","webpack://@octopusdeploy/octopus-deploy-portal/./app/areas/projects/components/Releases/Deployments/DeploymentResults/ActionPreview.tsx","webpack://@octopusdeploy/octopus-deploy-portal/./app/areas/projects/components/Releases/Deployments/DeploymentResults/DeploymentResultItem.tsx","webpack://@octopusdeploy/octopus-deploy-portal/./app/areas/projects/components/Releases/Deployments/DeploymentResults/DeploymentResults.tsx","webpack://@octopusdeploy/octopus-deploy-portal/./app/areas/projects/components/Releases/Deployments/Preview.tsx","webpack://@octopusdeploy/octopus-deploy-portal/./app/components/FormResourceInput/FormResourceInput.tsx","webpack://@octopusdeploy/octopus-deploy-portal/./app/areas/projects/components/Releases/Deployments/PromptVariables.tsx","webpack://@octopusdeploy/octopus-deploy-portal/./app/areas/projects/components/Releases/Deployments/pendingInterruptionUtil.ts","webpack://@octopusdeploy/octopus-deploy-portal/./app/areas/projects/components/Releases/PackageListDialog/PackageListDialogContent.tsx","webpack://@octopusdeploy/octopus-deploy-portal/./app/components/Images/PackageList/ShipmentError.tsx","webpack://@octopusdeploy/octopus-deploy-portal/./app/components/Images/PackageList/ShipmentOk.tsx","webpack://@octopusdeploy/octopus-deploy-portal/./app/areas/projects/components/Releases/PackagesList/PackagesList.tsx","webpack://@octopusdeploy/octopus-deploy-portal/./app/components/EmptyPage/EmptyPage.tsx","webpack://@octopusdeploy/octopus-deploy-portal/./app/areas/projects/components/Releases/packageModel.ts","webpack://@octopusdeploy/octopus-deploy-portal/./app/areas/projects/components/Runbooks/RunbookNoPermissionsPage.tsx","webpack://@octopusdeploy/octopus-deploy-portal/./app/areas/projects/components/Runbooks/isRunbookConsumerTryingToRunAnUnpublishedSnapshot.ts","webpack://@octopusdeploy/octopus-deploy-portal/./app/areas/projects/components/Runbooks/RunbookRunNowLayout.tsx","webpack://@octopusdeploy/octopus-deploy-portal/./app/areas/projects/components/Releases/Deployments/FailureMode.tsx","webpack://@octopusdeploy/octopus-deploy-portal/./app/areas/projects/components/DeploymentProcessSettings/ReleaseVersionFromPackageSelector.tsx","webpack://@octopusdeploy/octopus-deploy-portal/./app/areas/projects/components/DeploymentProcessSettings/ReleaseVersionTemplateInput.tsx","webpack://@octopusdeploy/octopus-deploy-portal/./app/areas/projects/components/DeploymentProcessSettings/ReleaseVersioning.tsx","webpack://@octopusdeploy/octopus-deploy-portal/./app/areas/projects/components/DeploymentProcessSettings/DeploymentProcessSettings.tsx","webpack://@octopusdeploy/octopus-deploy-portal/./app/areas/projects/components/DeploymentProcessSettings/Analytics/useNotifySaveDeploymentSettings.ts","webpack://@octopusdeploy/octopus-deploy-portal/./app/areas/projects/components/DashboardDataSource/DataCube.tsx","webpack://@octopusdeploy/octopus-deploy-portal/./app/areas/projects/components/DashboardDataSource/DashboardDataCube.tsx","webpack://@octopusdeploy/octopus-deploy-portal/./app/areas/projects/components/DashboardDataSource/TenantedProjectDashboardDataSource.tsx","webpack://@octopusdeploy/octopus-deploy-portal/./app/areas/dashboard/DashboardOverview/DashboardOverviewPage.tsx","webpack://@octopusdeploy/octopus-deploy-portal/./app/areas/projects/components/DashboardDataSource/ProgressionDataCube.tsx","webpack://@octopusdeploy/octopus-deploy-portal/./app/areas/projects/components/DashboardDataSource/UntenantedProjectDashboardDataSource.tsx","webpack://@octopusdeploy/octopus-deploy-portal/./app/areas/projects/components/DeploymentsOverview/ReleaseFilter.tsx","webpack://@octopusdeploy/octopus-deploy-portal/./app/areas/projects/components/DeploymentsOverview/DeploymentsOverviewAdvancedFilters.tsx","webpack://@octopusdeploy/octopus-deploy-portal/./app/areas/projects/components/DeploymentsOverview/hooks/useDeploymentsOverviewFilters.ts","webpack://@octopusdeploy/octopus-deploy-portal/./app/areas/projects/components/ProjectLayout/SampleProjectTour/SampleProjectTourStartTourOnMount.tsx","webpack://@octopusdeploy/octopus-deploy-portal/./app/components/ProjectBasedActivation/SampleProcessButtonWithRedirect.tsx","webpack://@octopusdeploy/octopus-deploy-portal/./app/areas/projects/components/Observability/LiveStatusConnectionIcon.tsx","webpack://@octopusdeploy/octopus-deploy-portal/./app/areas/projects/components/Observability/LiveStatusDescription.tsx","webpack://@octopusdeploy/octopus-deploy-portal/./app/areas/projects/components/Observability/LiveAppStatusIcons/UnavailableIcon.tsx","webpack://@octopusdeploy/octopus-deploy-portal/./app/areas/projects/components/Observability/LiveAppIcons.tsx","webpack://@octopusdeploy/octopus-deploy-portal/./app/areas/projects/components/Observability/LiveStatusIcon.tsx","webpack://@octopusdeploy/octopus-deploy-portal/./app/areas/projects/components/Observability/LiveAppStatusIcons/OutOfSyncIcon.tsx","webpack://@octopusdeploy/octopus-deploy-portal/./app/areas/projects/components/Observability/LiveAppStatusIcons/ProgressingIcon.tsx","webpack://@octopusdeploy/octopus-deploy-portal/./app/areas/projects/components/Observability/LiveAppStatusIcons/DegradedIcon.tsx","webpack://@octopusdeploy/octopus-deploy-portal/./app/areas/projects/components/Observability/LiveAppStatusIcons/MissingIcon.tsx","webpack://@octopusdeploy/octopus-deploy-portal/./app/areas/projects/components/Observability/LiveAppStatusIcons/HealthyIcon.tsx","webpack://@octopusdeploy/octopus-deploy-portal/./app/areas/projects/components/Observability/LiveAppStatusIcons/WaitingIcon.tsx","webpack://@octopusdeploy/octopus-deploy-portal/./app/areas/projects/components/Observability/LiveAppStatusIcons/UnknownIcon.tsx","webpack://@octopusdeploy/octopus-deploy-portal/./app/areas/projects/components/TaskStatusIcon/index.tsx","webpack://@octopusdeploy/octopus-deploy-portal/./app/areas/dashboard/Deployments/DeploymentTaskStatus.tsx","webpack://@octopusdeploy/octopus-deploy-portal/./app/utils/DashboardLimiter/DashboardLimiter.tsx","webpack://@octopusdeploy/octopus-deploy-portal/./app/areas/projects/components/DashboardDataSource/TenantsMissingVariablesNotifier.tsx","webpack://@octopusdeploy/octopus-deploy-portal/./app/areas/projects/components/DashboardDataSource/DataSet.tsx","webpack://@octopusdeploy/octopus-deploy-portal/./app/areas/projects/components/ProjectDashboard/DashboardCell/DashboardCell.tsx","webpack://@octopusdeploy/octopus-deploy-portal/./app/areas/projects/components/ProjectDashboard/DashboardGrid.tsx","webpack://@octopusdeploy/octopus-deploy-portal/./app/areas/projects/components/ProjectDashboard/ProjectDashboardEnvironmentColumnHeader.tsx","webpack://@octopusdeploy/octopus-deploy-portal/./app/areas/projects/components/ProjectDashboard/ProjectDashboard.tsx","webpack://@octopusdeploy/octopus-deploy-portal/./app/areas/projects/components/ProjectDashboard/index.tsx","webpack://@octopusdeploy/octopus-deploy-portal/./app/areas/projects/components/Projects/LiveStatusSwitch.tsx","webpack://@octopusdeploy/octopus-deploy-portal/./app/areas/projects/components/Releases/Onboarding.tsx","webpack://@octopusdeploy/octopus-deploy-portal/./app/areas/projects/components/DeploymentsOverview/Onboarding.tsx","webpack://@octopusdeploy/octopus-deploy-portal/./app/areas/projects/components/DeploymentsOverview/DeploymentsOverview.tsx","webpack://@octopusdeploy/octopus-deploy-portal/./app/areas/projects/components/DeploymentsOverview/index.tsx","webpack://@octopusdeploy/octopus-deploy-portal/./app/components/NotFound/NotFound.tsx","webpack://@octopusdeploy/octopus-deploy-portal/./app/areas/projects/components/EphemeralEnvironments/ProjectEphemeralEnvironmentsEmptyStateIllustration.tsx","webpack://@octopusdeploy/octopus-deploy-portal/./app/areas/projects/components/EphemeralEnvironments/ProjectEphemeralEnvironmentsOnboarding.tsx","webpack://@octopusdeploy/octopus-deploy-portal/./app/areas/projects/components/Runbooks/NewRunbookRunsListPage/TaskStatusDetails.tsx","webpack://@octopusdeploy/octopus-deploy-portal/./app/areas/projects/components/Runbooks/NewRunbookRunsListPage/RunbookRunTaskStatusDetails.tsx","webpack://@octopusdeploy/octopus-deploy-portal/./app/areas/projects/components/EphemeralEnvironments/ProjectEphemeralEnvironmentsTable.tsx","webpack://@octopusdeploy/octopus-deploy-portal/./app/areas/projects/components/EphemeralEnvironments/ProjectEphemeralEnvironmentsPageContent.tsx","webpack://@octopusdeploy/octopus-deploy-portal/./app/areas/projects/components/EphemeralEnvironments/ProjectEphemeralEnvironmentsPage.tsx","webpack://@octopusdeploy/octopus-deploy-portal/./app/areas/projects/components/FeatureToggles/FeatureToggleEnvironment.tsx","webpack://@octopusdeploy/octopus-deploy-portal/./app/areas/projects/components/FeatureToggles/EditFeatureToggleEnvironmentDialog.tsx","webpack://@octopusdeploy/octopus-deploy-portal/./app/areas/projects/components/FeatureToggles/FeatureTogglePage.tsx","webpack://@octopusdeploy/octopus-deploy-portal/./app/areas/projects/components/FeatureToggles/EnvironmentOrMissingChip.tsx","webpack://@octopusdeploy/octopus-deploy-portal/./app/areas/projects/components/FeatureToggles/FeatureToggleTargetsButton.tsx","webpack://@octopusdeploy/octopus-deploy-portal/./app/areas/projects/components/FeatureToggles/FeatureTogglesDataTableNameCell.tsx","webpack://@octopusdeploy/octopus-deploy-portal/./app/areas/projects/components/FeatureToggles/PreviewClientIdentifierDialog.tsx","webpack://@octopusdeploy/octopus-deploy-portal/./app/areas/projects/components/FeatureToggles/RotateClientIdentifierDialog.tsx","webpack://@octopusdeploy/octopus-deploy-portal/./app/areas/projects/components/FeatureToggles/FeatureTogglesPage.tsx","webpack://@octopusdeploy/octopus-deploy-portal/./app/areas/projects/components/Runbooks/PublishSnapshotDialogLayout/PublishSnapshotDialogLayout.tsx","webpack://@octopusdeploy/octopus-deploy-portal/./app/areas/projects/components/Runbooks/RetryRunbookRunDialogLayout/RetryRunbookRunDialogLayout.tsx","webpack://@octopusdeploy/octopus-deploy-portal/./app/areas/projects/components/releaseAndRunbookHelpers.ts","webpack://@octopusdeploy/octopus-deploy-portal/./app/areas/tasks/components/Task/Artifacts/ArtifactLink.tsx","webpack://@octopusdeploy/octopus-deploy-portal/./app/areas/projects/components/Releases/VariableManifest/VariableManifest.tsx","webpack://@octopusdeploy/octopus-deploy-portal/./app/areas/projects/components/Releases/UpdateVariables/UpdateVariables.tsx","webpack://@octopusdeploy/octopus-deploy-portal/./app/areas/projects/components/Releases/VariableSnapshot/VariableSnapshot.tsx","webpack://@octopusdeploy/octopus-deploy-portal/./app/areas/projects/components/Runbooks/RunbookSnapshots/RunbookSnapshotInfo.tsx","webpack://@octopusdeploy/octopus-deploy-portal/./app/areas/tasks/components/Task/AdHocScriptTaskSummary.tsx","webpack://@octopusdeploy/octopus-deploy-portal/./app/areas/tasks/components/Task/BuildInformation/BuildInformation.tsx","webpack://@octopusdeploy/octopus-deploy-portal/./app/areas/tasks/components/Task/Changes/Changes.tsx","webpack://@octopusdeploy/octopus-deploy-portal/./app/areas/tasks/components/Task/K8sStatus/getStepActivity.ts","webpack://@octopusdeploy/octopus-deploy-portal/./app/areas/tasks/components/Task/K8sStatus/LastUpdateMessage.tsx","webpack://@octopusdeploy/octopus-deploy-portal/./app/areas/tasks/components/Task/Kubernetes/SnapshotTaken.tsx","webpack://@octopusdeploy/octopus-deploy-portal/./app/components/Code/Code.tsx","webpack://@octopusdeploy/octopus-deploy-portal/./app/areas/tasks/components/Task/Kubernetes/components/CodeViewerWithLoading/CodeViewerWithLoading.tsx","webpack://@octopusdeploy/octopus-deploy-portal/./app/areas/tasks/components/Task/Kubernetes/KubernetesObjectDrawer.tsx","webpack://@octopusdeploy/octopus-deploy-portal/./app/areas/tasks/components/Task/Kubernetes/components/InProgressIcon.tsx","webpack://@octopusdeploy/octopus-deploy-portal/./app/areas/tasks/components/Task/Kubernetes/ObjectStatusIcon.tsx","webpack://@octopusdeploy/octopus-deploy-portal/./app/areas/tasks/components/Task/Kubernetes/TaskStatusIcon.tsx","webpack://@octopusdeploy/octopus-deploy-portal/./app/areas/tasks/components/Task/Kubernetes/sortObjectStatusByObjectType.tsx","webpack://@octopusdeploy/octopus-deploy-portal/./app/areas/tasks/components/Task/Kubernetes/useKubernetesObjectManifestInspection.ts","webpack://@octopusdeploy/octopus-deploy-portal/./app/areas/tasks/components/Task/Kubernetes/Snapshot/EmptyState.tsx","webpack://@octopusdeploy/octopus-deploy-portal/./app/areas/tasks/components/Task/K8sStatus/KubernetesStepStatusExpander.tsx","webpack://@octopusdeploy/octopus-deploy-portal/./app/areas/tasks/components/Task/K8sStatus/KubernetesDeploymentStatus.tsx","webpack://@octopusdeploy/octopus-deploy-portal/./app/areas/tasks/components/Task/Kubernetes/Manifests/ManifestNavigationDetails.tsx","webpack://@octopusdeploy/octopus-deploy-portal/./app/areas/tasks/components/Task/Kubernetes/createErrorInfo.ts","webpack://@octopusdeploy/octopus-deploy-portal/./app/areas/tasks/components/Task/Kubernetes/components/ExpandableCodeViewer/ExpandableCodeViewerGroup.tsx","webpack://@octopusdeploy/octopus-deploy-portal/./app/areas/tasks/components/Task/Kubernetes/components/ExpandableCodeViewer/ExpandableCodeViewer.tsx","webpack://@octopusdeploy/octopus-deploy-portal/./app/areas/tasks/components/Task/Kubernetes/Manifests/KubernetesStepAppliedManifests.tsx","webpack://@octopusdeploy/octopus-deploy-portal/./app/areas/tasks/components/Task/Kubernetes/Snapshot/KubernetesStepSnapshotStatus.tsx","webpack://@octopusdeploy/octopus-deploy-portal/./app/areas/tasks/components/Task/Kubernetes/KubernetesStepExpander.tsx","webpack://@octopusdeploy/octopus-deploy-portal/./app/areas/tasks/components/Task/Kubernetes/KubernetesStepsLayout.tsx","webpack://@octopusdeploy/octopus-deploy-portal/./app/areas/tasks/components/Task/Kubernetes/KubernetesStepsLoadingSkeleton.tsx","webpack://@octopusdeploy/octopus-deploy-portal/./app/areas/tasks/components/Task/Kubernetes/KubernetesDetailsLayout.tsx","webpack://@octopusdeploy/octopus-deploy-portal/./app/areas/tasks/components/Task/TaskHistory/TaskHistory.tsx","webpack://@octopusdeploy/octopus-deploy-portal/./app/areas/tasks/components/Task/TaskProgress.tsx","webpack://@octopusdeploy/octopus-deploy-portal/./app/areas/tasks/components/Task/TaskLog/ExpandCollapseItemButton.tsx","webpack://@octopusdeploy/octopus-deploy-portal/./app/areas/tasks/components/Task/TaskLog/TaskLog.tsx","webpack://@octopusdeploy/octopus-deploy-portal/./app/areas/tasks/components/Task/ModifyTaskStateDialog.tsx","webpack://@octopusdeploy/octopus-deploy-portal/./app/areas/projects/components/Releases/ProcessSnapshot/ProcessSnapshot.tsx","webpack://@octopusdeploy/octopus-deploy-portal/./app/areas/tasks/components/Task/TaskQueueCallout.tsx","webpack://@octopusdeploy/octopus-deploy-portal/./app/areas/tasks/components/Task/TaskQueueRow.tsx","webpack://@octopusdeploy/octopus-deploy-portal/./app/areas/tasks/components/Task/TaskQueueStateFilter.tsx","webpack://@octopusdeploy/octopus-deploy-portal/./app/areas/tasks/components/Task/TaskQueueOrderedList.tsx","webpack://@octopusdeploy/octopus-deploy-portal/./app/areas/tasks/components/Task/TaskStatusMessagesCallout.tsx","webpack://@octopusdeploy/octopus-deploy-portal/./app/areas/tasks/components/Task/QueuedTaskDetails.tsx","webpack://@octopusdeploy/octopus-deploy-portal/./app/areas/tasks/components/Task/Interruption/Interruption.tsx","webpack://@octopusdeploy/octopus-deploy-portal/./app/areas/tasks/components/Task/TaskSummary/TaskSummaryLine.tsx","webpack://@octopusdeploy/octopus-deploy-portal/./app/areas/tasks/components/Task/TaskSummary/TaskSummary.tsx","webpack://@octopusdeploy/octopus-deploy-portal/./app/areas/tasks/components/Task/Task.tsx","webpack://@octopusdeploy/octopus-deploy-portal/./app/areas/projects/components/ImportExport/ImportExportMenu.tsx","webpack://@octopusdeploy/octopus-deploy-portal/./app/areas/projects/components/ImportExport/ExportProjectTaskPage.tsx","webpack://@octopusdeploy/octopus-deploy-portal/./app/areas/projects/components/ImportExport/ExportProjectsPage.tsx","webpack://@octopusdeploy/octopus-deploy-portal/./app/areas/tasks/components/Tasks/CancelTaskDialog.tsx","webpack://@octopusdeploy/octopus-deploy-portal/./app/areas/tasks/components/Tasks/TaskQueueUpdatedSnackbar.tsx","webpack://@octopusdeploy/octopus-deploy-portal/./app/components/TaskDetails/AssignTaskCell.tsx","webpack://@octopusdeploy/octopus-deploy-portal/./app/areas/tasks/components/Tasks/Tasks.tsx","webpack://@octopusdeploy/octopus-deploy-portal/./app/areas/projects/components/ImportExport/ImportExportProjectTasksPage.tsx","webpack://@octopusdeploy/octopus-deploy-portal/./app/areas/projects/components/ImportExport/ImportProjectTaskPage.tsx","webpack://@octopusdeploy/octopus-deploy-portal/./app/areas/projects/components/ImportExport/ImportProjectsPage.tsx","webpack://@octopusdeploy/octopus-deploy-portal/./app/areas/projects/components/Observability/Filters/KubernetesResourceTypeMultiselect.tsx","webpack://@octopusdeploy/octopus-deploy-portal/./app/areas/projects/components/Observability/LiveStatusIcons/StatusIconStyles.ts","webpack://@octopusdeploy/octopus-deploy-portal/./app/areas/projects/components/Observability/LiveStatusIcons/DegradedIcon.tsx","webpack://@octopusdeploy/octopus-deploy-portal/./app/areas/projects/components/Observability/LiveStatusIcons/HealthyIcon.tsx","webpack://@octopusdeploy/octopus-deploy-portal/./app/areas/projects/components/Observability/LiveStatusIcons/InSyncIcon.tsx","webpack://@octopusdeploy/octopus-deploy-portal/./app/areas/projects/components/Observability/LiveStatusIcons/OutOfSyncIcon.tsx","webpack://@octopusdeploy/octopus-deploy-portal/./app/areas/projects/components/Observability/LiveStatusIcons/ProgressingIcon.tsx","webpack://@octopusdeploy/octopus-deploy-portal/./app/areas/projects/components/Observability/LiveStatusIcons/UnknownIcon.tsx","webpack://@octopusdeploy/octopus-deploy-portal/./app/areas/projects/components/Observability/LiveStatusIcons.tsx","webpack://@octopusdeploy/octopus-deploy-portal/./app/areas/projects/components/Observability/Filters/KubernetesStatusMultiselect.tsx","webpack://@octopusdeploy/octopus-deploy-portal/./app/areas/projects/components/Observability/K8ResourceIcons/k8sIconStyles.ts","webpack://@octopusdeploy/octopus-deploy-portal/./app/areas/projects/components/Observability/K8ResourceIcons/CustomResourceIcon.tsx","webpack://@octopusdeploy/octopus-deploy-portal/./app/areas/projects/components/Observability/K8ResourceIcons/DeploymentIcon.tsx","webpack://@octopusdeploy/octopus-deploy-portal/./app/areas/projects/components/Observability/K8ResourceIcons/EndpointSliceIcon.tsx","webpack://@octopusdeploy/octopus-deploy-portal/./app/areas/projects/components/Observability/KubernetesResources.tsx","webpack://@octopusdeploy/octopus-deploy-portal/./app/areas/projects/components/Observability/K8ResourceIcons/ClusterRoleIcon.tsx","webpack://@octopusdeploy/octopus-deploy-portal/./app/areas/projects/components/Observability/K8ResourceIcons/ConfigMapIcon.tsx","webpack://@octopusdeploy/octopus-deploy-portal/./app/areas/projects/components/Observability/K8ResourceIcons/ClusterRoleBindingIcon.tsx","webpack://@octopusdeploy/octopus-deploy-portal/./app/areas/projects/components/Observability/K8ResourceIcons/CronJobIcon.tsx","webpack://@octopusdeploy/octopus-deploy-portal/./app/areas/projects/components/Observability/K8ResourceIcons/DemonSetIcon.tsx","webpack://@octopusdeploy/octopus-deploy-portal/./app/areas/projects/components/Observability/K8ResourceIcons/GroupIcon.tsx","webpack://@octopusdeploy/octopus-deploy-portal/./app/areas/projects/components/Observability/K8ResourceIcons/HorizontalAutoScalerIcon.tsx","webpack://@octopusdeploy/octopus-deploy-portal/./app/areas/projects/components/Observability/K8ResourceIcons/IngressIcon.tsx","webpack://@octopusdeploy/octopus-deploy-portal/./app/areas/projects/components/Observability/K8ResourceIcons/JobIcon.tsx","webpack://@octopusdeploy/octopus-deploy-portal/./app/areas/projects/components/Observability/K8ResourceIcons/LimitsIcon.tsx","webpack://@octopusdeploy/octopus-deploy-portal/./app/areas/projects/components/Observability/K8ResourceIcons/NetworkPolicyIcon.tsx","webpack://@octopusdeploy/octopus-deploy-portal/./app/areas/projects/components/Observability/K8ResourceIcons/NameSpaceIcon.tsx","webpack://@octopusdeploy/octopus-deploy-portal/./app/areas/projects/components/Observability/K8ResourceIcons/PodIcon.tsx","webpack://@octopusdeploy/octopus-deploy-portal/./app/areas/projects/components/Observability/K8ResourceIcons/PodSecurityPolicyIcon.tsx","webpack://@octopusdeploy/octopus-deploy-portal/./app/areas/projects/components/Observability/K8ResourceIcons/PersistentVolumeIcon.tsx","webpack://@octopusdeploy/octopus-deploy-portal/./app/areas/projects/components/Observability/K8ResourceIcons/PersistentVolumeClaimIcon.tsx","webpack://@octopusdeploy/octopus-deploy-portal/./app/areas/projects/components/Observability/K8ResourceIcons/QuotaIcon.tsx","webpack://@octopusdeploy/octopus-deploy-portal/./app/areas/projects/components/Observability/K8ResourceIcons/RoleBindingIcon.tsx","webpack://@octopusdeploy/octopus-deploy-portal/./app/areas/projects/components/Observability/K8ResourceIcons/RoleIcon.tsx","webpack://@octopusdeploy/octopus-deploy-portal/./app/areas/projects/components/Observability/K8ResourceIcons/ReplicaSetIcon.tsx","webpack://@octopusdeploy/octopus-deploy-portal/./app/areas/projects/components/Observability/K8ResourceIcons/ServiceAccountIcon.tsx","webpack://@octopusdeploy/octopus-deploy-portal/./app/areas/projects/components/Observability/K8ResourceIcons/StorageClassIcon.tsx","webpack://@octopusdeploy/octopus-deploy-portal/./app/areas/projects/components/Observability/K8ResourceIcons/SecretIcon.tsx","webpack://@octopusdeploy/octopus-deploy-portal/./app/areas/projects/components/Observability/K8ResourceIcons/StatefulSetIcon.tsx","webpack://@octopusdeploy/octopus-deploy-portal/./app/areas/projects/components/Observability/K8ResourceIcons/ServiceIcon.tsx","webpack://@octopusdeploy/octopus-deploy-portal/./app/areas/projects/components/Observability/K8ResourceIcons/UserIcon.tsx","webpack://@octopusdeploy/octopus-deploy-portal/./app/areas/projects/components/Observability/K8ResourceIcons/VolumeIcon.tsx","webpack://@octopusdeploy/octopus-deploy-portal/./app/areas/projects/components/Observability/LiveStatusFiltering.tsx","webpack://@octopusdeploy/octopus-deploy-portal/./app/areas/projects/components/Observability/LiveStatusTable.tsx","webpack://@octopusdeploy/octopus-deploy-portal/./app/areas/projects/components/Observability/ObjectDrawer/Tabs/createErrorInfoFromMonitorError.ts","webpack://@octopusdeploy/octopus-deploy-portal/./app/utils/delay.ts","webpack://@octopusdeploy/octopus-deploy-portal/./app/areas/projects/components/Observability/ObjectDrawer/Tabs/EventsTab.tsx","webpack://@octopusdeploy/octopus-deploy-portal/./app/areas/projects/components/Observability/ObjectDrawer/flattenResourceHierarchy.ts","webpack://@octopusdeploy/octopus-deploy-portal/./app/areas/projects/components/Observability/ObjectDrawer/Tabs/LogsTab.tsx","webpack://@octopusdeploy/octopus-deploy-portal/./app/areas/projects/components/Observability/ObjectDrawer/Tabs/ManifestTab.tsx","webpack://@octopusdeploy/octopus-deploy-portal/./app/areas/projects/components/Observability/ObjectDrawer/Tabs/SummaryTab.tsx","webpack://@octopusdeploy/octopus-deploy-portal/./app/areas/projects/components/Observability/ObjectDrawer/LiveStatusObjectDrawer.tsx","webpack://@octopusdeploy/octopus-deploy-portal/./app/areas/projects/components/Releases/Deployments/Timeline/styles.ts","webpack://@octopusdeploy/octopus-deploy-portal/./app/areas/projects/components/Releases/Deployments/Timeline/LiveStatusRow.tsx","webpack://@octopusdeploy/octopus-deploy-portal/./app/areas/projects/components/Releases/Deployments/Timeline/TimelineRow.tsx","webpack://@octopusdeploy/octopus-deploy-portal/./app/areas/projects/components/Releases/Deployments/Timeline/Timeline.tsx","webpack://@octopusdeploy/octopus-deploy-portal/./app/areas/projects/components/Releases/Deployments/DeploymentTimelineDrawer.tsx","webpack://@octopusdeploy/octopus-deploy-portal/./app/areas/projects/components/Observability/LiveStatusFeedbackCallout.tsx","webpack://@octopusdeploy/octopus-deploy-portal/./app/areas/projects/components/Observability/liveStatusCalculators.ts","webpack://@octopusdeploy/octopus-deploy-portal/./app/areas/projects/components/Observability/LiveStatusSummaryBar.tsx","webpack://@octopusdeploy/octopus-deploy-portal/./app/areas/projects/components/Observability/LiveStatusPage.tsx","webpack://@octopusdeploy/octopus-deploy-portal/./app/areas/projects/components/Process/useDeploymentProcessState.ts","webpack://@octopusdeploy/octopus-deploy-portal/./app/areas/configuration/reducers/selectors.ts","webpack://@octopusdeploy/octopus-deploy-portal/./app/areas/projects/components/Process/ProcessListLayoutLoader.tsx","webpack://@octopusdeploy/octopus-deploy-portal/./app/areas/projects/components/Process/DeploymentProcessListPage.tsx","webpack://@octopusdeploy/octopus-deploy-portal/./app/areas/projects/components/Process/DeploymentProcessStepsPage.tsx","webpack://@octopusdeploy/octopus-deploy-portal/./app/areas/projects/components/ProjectInsights/DownloadProjectInsightsCsvButton.tsx","webpack://@octopusdeploy/octopus-deploy-portal/./app/areas/projects/components/ProjectInsights/ProjectInsightsDataLoader/ProjectInsightsDataLoader.tsx","webpack://@octopusdeploy/octopus-deploy-portal/./app/areas/projects/components/ProjectInsights/ProjectInsightsDeploymentDuration/ProjectInsightsDeploymentDurationPage.tsx","webpack://@octopusdeploy/octopus-deploy-portal/./app/areas/projects/components/ProjectInsights/ProjectInsightsFailureRate/ProjectFailureRateTrendTable.tsx","webpack://@octopusdeploy/octopus-deploy-portal/./app/areas/projects/components/ProjectInsights/ProjectInsightsFailureRate/ProjectInsightsFailureRatePage.tsx","webpack://@octopusdeploy/octopus-deploy-portal/./app/areas/projects/components/ProjectInsights/ProjectInsightsFrequency/ProjectDeploymentFrequencyTrendTable.tsx","webpack://@octopusdeploy/octopus-deploy-portal/./app/areas/projects/components/ProjectInsights/ProjectInsightsFrequency/ProjectInsightsFrequencyPage.tsx","webpack://@octopusdeploy/octopus-deploy-portal/./app/areas/projects/components/ProjectInsights/ProjectInsightsLeadTime/ProjectLeadTimeTrendTable.tsx","webpack://@octopusdeploy/octopus-deploy-portal/./app/areas/projects/components/ProjectInsights/ProjectInsightsLeadTime/ProjectInsightsLeadTimePage.tsx","webpack://@octopusdeploy/octopus-deploy-portal/./app/areas/projects/components/ProjectInsights/ProjectInsightsOverview/ProjectInsightsOverviewPage.tsx","webpack://@octopusdeploy/octopus-deploy-portal/./app/areas/projects/components/ProjectInsights/ProjectInsightsTimeToRecovery/ProjectTimeToRecoveryTrendTable.tsx","webpack://@octopusdeploy/octopus-deploy-portal/./app/areas/projects/components/ProjectInsights/ProjectInsightsTimeToRecovery/ProjectInsightsTimeToRecoveryPage.tsx","webpack://@octopusdeploy/octopus-deploy-portal/./app/areas/projects/components/ProjectSettings/ITSMProvidersSettingsPage.tsx","webpack://@octopusdeploy/octopus-deploy-portal/./app/areas/projects/components/Projects/CloneProject.tsx","webpack://@octopusdeploy/octopus-deploy-portal/./app/components/Navigation/InternalNavLink/index.tsx","webpack://@octopusdeploy/octopus-deploy-portal/./app/areas/projects/components/ProjectsRoutes/ProjectToOverviewRedirect.tsx","webpack://@octopusdeploy/octopus-deploy-portal/./app/areas/projects/components/ProjectSettings/DeleteProject.tsx","webpack://@octopusdeploy/octopus-deploy-portal/./app/areas/projects/components/ProjectSettings/ProjectSettingsPage.tsx","webpack://@octopusdeploy/octopus-deploy-portal/./app/areas/projects/components/ProjectSettings/VersionControl/CommitDialog.tsx","webpack://@octopusdeploy/octopus-deploy-portal/./app/areas/projects/components/ProjectSettings/VersionControl/VersionControlSettingsTypeSelector.tsx","webpack://@octopusdeploy/octopus-deploy-portal/./app/areas/projects/components/ProjectSettings/VersionControl/Connection/GenericVersionControlSettingsDetails.tsx","webpack://@octopusdeploy/octopus-deploy-portal/./app/areas/projects/components/ProjectSettings/VersionControl/Connection/GitHubVersionControlSettingsDetails.tsx","webpack://@octopusdeploy/octopus-deploy-portal/./app/areas/projects/components/ProjectSettings/VersionControl/Connection/VersionControlSettingsConnectionDetails.tsx","webpack://@octopusdeploy/octopus-deploy-portal/./app/areas/projects/components/VersionControl/Analytics/useNotifyGitCredentialTypeSelected.ts","webpack://@octopusdeploy/octopus-deploy-portal/./app/areas/projects/components/ProjectSettings/VersionControl/Connection/VersionControlSettingsConnectionDetailsWithDataLoading.tsx","webpack://@octopusdeploy/octopus-deploy-portal/./app/areas/projects/components/ProjectSettings/VersionControl/GitChip.tsx","webpack://@octopusdeploy/octopus-deploy-portal/./app/areas/projects/components/VersionControl/VcsErrorPanel.tsx","webpack://@octopusdeploy/octopus-deploy-portal/./app/areas/projects/components/ProjectSettings/VersionControl/SettingsNoteSection.tsx","webpack://@octopusdeploy/octopus-deploy-portal/./app/areas/projects/components/ProjectSettings/VersionControl/TestConnectionButton.tsx","webpack://@octopusdeploy/octopus-deploy-portal/./app/areas/projects/components/ProjectSettings/VersionControl/UnsupportedFeaturesSection.tsx","webpack://@octopusdeploy/octopus-deploy-portal/./app/areas/projects/components/ProjectSettings/VersionControl/VersionControlSettingsPage.tsx","webpack://@octopusdeploy/octopus-deploy-portal/./app/areas/projects/components/VersionControl/Analytics/useNotifyConfigureGit.ts","webpack://@octopusdeploy/octopus-deploy-portal/./app/areas/projects/components/VersionControl/Analytics/useNotifyGitSettingsUpdate.ts","webpack://@octopusdeploy/octopus-deploy-portal/./app/areas/projects/components/ProjectSettings/VersionControl/Analytics/useNotifyCancelConfigureGit.ts","webpack://@octopusdeploy/octopus-deploy-portal/./app/areas/projects/components/ProjectTaskDetails/ProjectTasks.tsx","webpack://@octopusdeploy/octopus-deploy-portal/./app/areas/projects/components/ProjectTasks/ProjectTasks.tsx","webpack://@octopusdeploy/octopus-deploy-portal/./app/areas/projects/components/ProjectTenants/ConnectMultipleTenantsDialog.tsx","webpack://@octopusdeploy/octopus-deploy-portal/./app/areas/projects/components/ProjectTenants/ConnectTenantsButton.tsx","webpack://@octopusdeploy/octopus-deploy-portal/./app/areas/tenants/Tenants/AddOrCloneTenant.tsx","webpack://@octopusdeploy/octopus-deploy-portal/./app/areas/projects/components/ProjectTenants/Onboarding.tsx","webpack://@octopusdeploy/octopus-deploy-portal/./app/areas/tenants/TenantOverview/UpdateConnectionForTenantDialog.tsx","webpack://@octopusdeploy/octopus-deploy-portal/./app/areas/projects/components/ProjectTenants/ProjectTenantsPage.tsx","webpack://@octopusdeploy/octopus-deploy-portal/./app/areas/projects/components/ProjectTenants/hooks/useConnectionTaskLoop.ts","webpack://@octopusdeploy/octopus-deploy-portal/./app/areas/projects/components/ProjectTenants/hooks/useProjectTenantsState.ts","webpack://@octopusdeploy/octopus-deploy-portal/./app/areas/projects/components/Projects/AddProjectGroup.tsx","webpack://@octopusdeploy/octopus-deploy-portal/./app/areas/dashboard/DashboardOverview/useCollapsableColumns.ts","webpack://@octopusdeploy/octopus-deploy-portal/./app/areas/projects/components/ProjectLayout/ProjectFavouriteIconButton.tsx","webpack://@octopusdeploy/octopus-deploy-portal/./app/areas/dashboard/ProjectsDashboard/ProjectsDashboardRowHeaderContent.tsx","webpack://@octopusdeploy/octopus-deploy-portal/./app/areas/dashboard/DashboardOverview/DashboardProjectGroups.tsx","webpack://@octopusdeploy/octopus-deploy-portal/./app/areas/dashboard/DashboardConfiguration/ProjectsDashboardAdvancedFiltersDialogLayout.tsx","webpack://@octopusdeploy/octopus-deploy-portal/./app/areas/projects/components/Projects/ProjectsDashboardAdvancedFilters.tsx","webpack://@octopusdeploy/octopus-deploy-portal/./app/areas/projects/components/Projects/ProjectsDashboardSearchBox.tsx","webpack://@octopusdeploy/octopus-deploy-portal/./app/areas/projects/components/Projects/ProjectsDashboard.tsx","webpack://@octopusdeploy/octopus-deploy-portal/./app/components/ProjectBasedActivation/ProjectsGettingStartedGuides.tsx","webpack://@octopusdeploy/octopus-deploy-portal/./app/components/ProjectBasedActivation/DashboardOnboardingLayout.tsx","webpack://@octopusdeploy/octopus-deploy-portal/./app/areas/projects/components/Projects/VerticalNavigationIntroDialog.tsx","webpack://@octopusdeploy/octopus-deploy-portal/./app/areas/projects/components/Projects/ProjectsPage.tsx","webpack://@octopusdeploy/octopus-deploy-portal/./app/areas/projects/components/Releases/Deployments/PackageDeploymentOptions.tsx","webpack://@octopusdeploy/octopus-deploy-portal/./app/areas/projects/components/Releases/Deployments/DeploymentFreezes.tsx","webpack://@octopusdeploy/octopus-deploy-portal/./app/areas/projects/components/Releases/Deployments/getActiveFreezes.ts","webpack://@octopusdeploy/octopus-deploy-portal/./app/areas/projects/components/Releases/Deployments/EnvironmentAndTenantSelector/EnvironmentAndTenantSelector.tsx","webpack://@octopusdeploy/octopus-deploy-portal/./app/areas/projects/components/Releases/Deployments/Itsm/ItsmChangeRequestSettings.tsx","webpack://@octopusdeploy/octopus-deploy-portal/./app/areas/projects/components/Releases/Deployments/Itsm/getItsmChangeRequestConfiguration.tsx","webpack://@octopusdeploy/octopus-deploy-portal/./app/areas/projects/components/Releases/Deployments/OverrideDeploymentFreezeDialog.tsx","webpack://@octopusdeploy/octopus-deploy-portal/./app/areas/projects/components/Releases/Deployments/PriorityOptions.tsx","webpack://@octopusdeploy/octopus-deploy-portal/./app/areas/projects/components/Releases/Deployments/currentVersionMap.ts","webpack://@octopusdeploy/octopus-deploy-portal/./app/areas/projects/components/Releases/Deployments/CreateDeploymentPage.tsx","webpack://@octopusdeploy/octopus-deploy-portal/./app/components/LicensedFeature/LicensedFeatureContext.ts","webpack://@octopusdeploy/octopus-deploy-portal/./app/areas/projects/components/Releases/DeployButton/DeployButton.tsx","webpack://@octopusdeploy/octopus-deploy-portal/./app/components/ProjectBasedActivation/NextStepsCard.tsx","webpack://@octopusdeploy/octopus-deploy-portal/./app/components/ProjectBasedActivation/nextStepsData.ts","webpack://@octopusdeploy/octopus-deploy-portal/./app/components/ProjectBasedActivation/FirstDeploymentBanner.tsx","webpack://@octopusdeploy/octopus-deploy-portal/./app/components/ProjectBasedActivation/useFirstDeploymentStatus.tsx","webpack://@octopusdeploy/octopus-deploy-portal/./app/areas/projects/components/Releases/Deployments/DeploymentDetailsPage.tsx","webpack://@octopusdeploy/octopus-deploy-portal/./app/areas/projects/components/Releases/MissingProcessStepsMessage.tsx","webpack://@octopusdeploy/octopus-deploy-portal/./app/areas/projects/components/Releases/Edit/ChannelRulesNotSatisfiedCallout.tsx","webpack://@octopusdeploy/octopus-deploy-portal/./app/areas/projects/components/Releases/Edit/GitRefFormSection.tsx","webpack://@octopusdeploy/octopus-deploy-portal/./app/areas/projects/components/Releases/Edit/VersionNumberInfo.tsx","webpack://@octopusdeploy/octopus-deploy-portal/./app/areas/projects/components/Releases/Edit/CreateOrEditReleasePage.tsx","webpack://@octopusdeploy/octopus-deploy-portal/./app/areas/projects/components/Releases/PreventProgression/PreventProgression.tsx","webpack://@octopusdeploy/octopus-deploy-portal/./app/components/EventListing/index.tsx","webpack://@octopusdeploy/octopus-deploy-portal/./app/components/ListEventsForRelease/ListEventsForReleaseOrRunbookSnapshot.tsx","webpack://@octopusdeploy/octopus-deploy-portal/./app/areas/projects/components/Releases/LifecycleProgression/DeploymentDetailsIcon.tsx","webpack://@octopusdeploy/octopus-deploy-portal/./app/areas/projects/components/Releases/LifecycleProgression/DeploymentChildRow.tsx","webpack://@octopusdeploy/octopus-deploy-portal/./app/components/PhaseStatusIcon/FrozenPhaseStatusIcon.tsx","webpack://@octopusdeploy/octopus-deploy-portal/./app/areas/projects/components/Releases/LifecycleProgression/DeploymentRow.tsx","webpack://@octopusdeploy/octopus-deploy-portal/./app/areas/projects/components/Releases/LifecycleProgression/PhaseDeployments.tsx","webpack://@octopusdeploy/octopus-deploy-portal/./app/areas/projects/components/Releases/LifecycleProgression/PhaseHeader.tsx","webpack://@octopusdeploy/octopus-deploy-portal/./app/areas/projects/components/Releases/LifecycleProgression/LifecycleProgression.tsx","webpack://@octopusdeploy/octopus-deploy-portal/./app/areas/projects/components/Releases/ReleasePage.tsx","webpack://@octopusdeploy/octopus-deploy-portal/./app/areas/projects/components/Releases/PagingReleasesTable.tsx","webpack://@octopusdeploy/octopus-deploy-portal/./app/areas/projects/components/Releases/ReleasesTable.tsx","webpack://@octopusdeploy/octopus-deploy-portal/./app/areas/projects/components/Releases/ReleasesPage.tsx","webpack://@octopusdeploy/octopus-deploy-portal/./app/components/MultiSelect/RunbookMultiSelect.tsx","webpack://@octopusdeploy/octopus-deploy-portal/./app/areas/projects/components/Runbooks/NextScheduledRuns.tsx","webpack://@octopusdeploy/octopus-deploy-portal/./app/areas/projects/components/Runbooks/RunbookTaskStatusDetails/RunbookTaskStatusDetails.tsx","webpack://@octopusdeploy/octopus-deploy-portal/./app/areas/projects/components/Runbooks/RunbooksOnboarding.tsx","webpack://@octopusdeploy/octopus-deploy-portal/./app/utils/ScheduledTriggerDescriptionHelper/ScheduleIntervalDescriptionHelper.tsx","webpack://@octopusdeploy/octopus-deploy-portal/./app/utils/ScheduledTriggerDescriptionHelper/ScheduledTriggerDescriptionHelper.tsx","webpack://@octopusdeploy/octopus-deploy-portal/./app/utils/ScheduledTriggerDescriptionHelper/index.tsx","webpack://@octopusdeploy/octopus-deploy-portal/./app/areas/projects/components/Runbooks/Triggers/ScheduledTriggersBarInternal.tsx","webpack://@octopusdeploy/octopus-deploy-portal/./app/areas/projects/components/Runbooks/Triggers/ScheduledTriggersBar.tsx","webpack://@octopusdeploy/octopus-deploy-portal/./app/areas/projects/components/Runbooks/OperationsOverviewPage.tsx","webpack://@octopusdeploy/octopus-deploy-portal/./app/areas/projects/components/Runbooks/RunbookOverviewPage.tsx","webpack://@octopusdeploy/octopus-deploy-portal/./app/areas/projects/components/Runbooks/AddRunbook.tsx","webpack://@octopusdeploy/octopus-deploy-portal/./app/areas/projects/components/Runbooks/DeleteRunbook.tsx","webpack://@octopusdeploy/octopus-deploy-portal/./app/areas/projects/components/Runbooks/RunbookEnvironmentScopeSelector.tsx","webpack://@octopusdeploy/octopus-deploy-portal/./app/areas/projects/components/Runbooks/RunbookRetentionPolicy.tsx","webpack://@octopusdeploy/octopus-deploy-portal/./app/areas/projects/components/Runbooks/RunbookPages/RunbookSettingsPage/RunbookSettingsPage.tsx","webpack://@octopusdeploy/octopus-deploy-portal/./app/areas/projects/components/VersionControl/useCommitButton.tsx","webpack://@octopusdeploy/octopus-deploy-portal/./app/areas/projects/components/Runbooks/useRunbookProcessState.ts","webpack://@octopusdeploy/octopus-deploy-portal/./app/areas/projects/components/Runbooks/RunbookProcessListPage.tsx","webpack://@octopusdeploy/octopus-deploy-portal/./app/areas/projects/components/Runbooks/RunbookProcessStepsPage.tsx","webpack://@octopusdeploy/octopus-deploy-portal/./app/areas/projects/components/Runbooks/RunbookRunDetailsPage.tsx","webpack://@octopusdeploy/octopus-deploy-portal/./app/areas/projects/components/Runbooks/RunbookRunNowPage.tsx","webpack://@octopusdeploy/octopus-deploy-portal/./app/areas/projects/components/Runbooks/NewRunbookRunsListPage/NewRunbookRunsPageFilters.tsx","webpack://@octopusdeploy/octopus-deploy-portal/./app/areas/projects/components/Runbooks/NewRunbookRunsListPage/RunbookRunList.tsx","webpack://@octopusdeploy/octopus-deploy-portal/./app/areas/projects/components/Runbooks/NewRunbookRunsListPage/NewRunbookRunsListPage.tsx","webpack://@octopusdeploy/octopus-deploy-portal/./app/areas/projects/components/Runbooks/RunbookRunsListPage.tsx","webpack://@octopusdeploy/octopus-deploy-portal/./app/areas/projects/components/Runbooks/RunbookSnapshots/CreateRunbookRunForSnapshotPage.tsx","webpack://@octopusdeploy/octopus-deploy-portal/./app/areas/projects/components/Runbooks/RunbookSnapshots/RunbookSnapshotEditPage.tsx","webpack://@octopusdeploy/octopus-deploy-portal/./app/areas/projects/components/Runbooks/RunbookSnapshots/RunbookSnapshotInfoPage.tsx","webpack://@octopusdeploy/octopus-deploy-portal/./app/areas/projects/components/Runbooks/RunbookSnapshots/RunbookSnapshotsPage.tsx","webpack://@octopusdeploy/octopus-deploy-portal/./app/primitiveComponents/dataDisplay/ListItem/index.tsx","webpack://@octopusdeploy/octopus-deploy-portal/./app/areas/projects/components/Runbooks/LoadMoreList.tsx","webpack://@octopusdeploy/octopus-deploy-portal/./app/areas/projects/components/Runbooks/UnmigratedDraftsCallout.tsx","webpack://@octopusdeploy/octopus-deploy-portal/./app/areas/projects/components/Runbooks/migrations/EnableProjectRunbooksDialog.tsx","webpack://@octopusdeploy/octopus-deploy-portal/./app/areas/projects/components/Runbooks/migrations/MigrateProjectRunbooksDialog.tsx","webpack://@octopusdeploy/octopus-deploy-portal/./app/areas/projects/components/Runbooks/migrations/MigrateProjectRunbooksBanner.tsx","webpack://@octopusdeploy/octopus-deploy-portal/./app/areas/projects/components/Runbooks/RunbooksPage.tsx","webpack://@octopusdeploy/octopus-deploy-portal/./app/areas/projects/components/Triggers/loadAllTriggerRunbooks.tsx","webpack://@octopusdeploy/octopus-deploy-portal/./app/areas/projects/components/Triggers/Scheduled/ActionEditors/DeployLatestReleaseActionEditor.tsx","webpack://@octopusdeploy/octopus-deploy-portal/./app/areas/projects/components/Triggers/Scheduled/ActionEditors/DeployNewReleaseActionEditor.tsx","webpack://@octopusdeploy/octopus-deploy-portal/./app/areas/projects/components/Triggers/Scheduled/ActionEditors/RunRunbookActionEditor.tsx","webpack://@octopusdeploy/octopus-deploy-portal/./app/areas/projects/components/Triggers/Scheduled/ActionEditors/DeployLatestReleaseWithNoLifecycleActionEditor.tsx","webpack://@octopusdeploy/octopus-deploy-portal/./app/areas/projects/components/Triggers/Scheduled/ScheduleEditors/ScheduleTimezone.tsx","webpack://@octopusdeploy/octopus-deploy-portal/./app/areas/projects/components/Triggers/Scheduled/ScheduleEditors/CronExpressionScheduledTriggerEditor.tsx","webpack://@octopusdeploy/octopus-deploy-portal/./app/areas/projects/components/Triggers/Scheduled/ScheduleEditors/ScheduleInterval.tsx","webpack://@octopusdeploy/octopus-deploy-portal/./app/areas/projects/components/Triggers/Scheduled/ScheduleEditors/ScheduleRunAfterAndRunUntil.tsx","webpack://@octopusdeploy/octopus-deploy-portal/./app/areas/projects/components/Triggers/Scheduled/ScheduleEditors/ScheduleStart.tsx","webpack://@octopusdeploy/octopus-deploy-portal/./app/areas/projects/components/Triggers/Scheduled/ScheduleEditors/DailyScheduledTriggerEditor.tsx","webpack://@octopusdeploy/octopus-deploy-portal/./app/areas/projects/components/Triggers/Scheduled/ScheduleEditors/DaysPerMonthScheduledTriggerEditor.tsx","webpack://@octopusdeploy/octopus-deploy-portal/./app/areas/projects/components/Triggers/Scheduled/EditScheduledTriggers.tsx","webpack://@octopusdeploy/octopus-deploy-portal/./app/areas/projects/components/Runbooks/Triggers/CreateRunbookScheduledTriggersPage.tsx","webpack://@octopusdeploy/octopus-deploy-portal/./app/areas/projects/components/Runbooks/Triggers/EditRunbookScheduledTriggersPage.tsx","webpack://@octopusdeploy/octopus-deploy-portal/./app/areas/projects/components/Triggers/Feed/FeedTriggerDescriptionHelper.tsx","webpack://@octopusdeploy/octopus-deploy-portal/./app/areas/projects/components/Triggers/Scheduled/ScheduledTrigger.tsx","webpack://@octopusdeploy/octopus-deploy-portal/./app/areas/projects/components/Triggers/TriggerDescription.tsx","webpack://@octopusdeploy/octopus-deploy-portal/./app/areas/projects/components/Triggers/Icons/BuiltInFeedIcon.tsx","webpack://@octopusdeploy/octopus-deploy-portal/./app/areas/projects/components/Triggers/Icons/DeploymentIcon.tsx","webpack://@octopusdeploy/octopus-deploy-portal/./app/areas/projects/components/Triggers/Icons/ExternalFeedIcon.tsx","webpack://@octopusdeploy/octopus-deploy-portal/./app/areas/projects/components/Triggers/Icons/GitIcon.tsx","webpack://@octopusdeploy/octopus-deploy-portal/./app/areas/projects/components/Triggers/Icons/ScheduledIcon.tsx","webpack://@octopusdeploy/octopus-deploy-portal/./app/areas/projects/components/Triggers/TriggerType.tsx","webpack://@octopusdeploy/octopus-deploy-portal/./app/areas/projects/components/Triggers/Trigger.tsx","webpack://@octopusdeploy/octopus-deploy-portal/./app/areas/projects/components/Runbooks/Triggers/RunbookTriggersPage.tsx","webpack://@octopusdeploy/octopus-deploy-portal/./app/areas/projects/components/Triggers/DeploymentTriggerPage.tsx","webpack://@octopusdeploy/octopus-deploy-portal/./app/areas/projects/components/Triggers/AddDeploymentTriggerButton.tsx","webpack://@octopusdeploy/octopus-deploy-portal/./app/areas/projects/components/Triggers/AddProjectTriggerCard.tsx","webpack://@octopusdeploy/octopus-deploy-portal/./app/areas/projects/components/Triggers/AddProjectTriggerDialog.tsx","webpack://@octopusdeploy/octopus-deploy-portal/./app/areas/projects/components/Triggers/Git/GitTriggerSources.tsx","webpack://@octopusdeploy/octopus-deploy-portal/./app/areas/projects/components/Triggers/Git/GitTriggerDescription.tsx","webpack://@octopusdeploy/octopus-deploy-portal/./app/areas/projects/components/Triggers/EditAutoReleaseCreation.tsx","webpack://@octopusdeploy/octopus-deploy-portal/./app/components/FeatureNotSupported/FeatureNotSupportedForConfigAsCode.tsx","webpack://@octopusdeploy/octopus-deploy-portal/./app/areas/projects/components/Triggers/SideBar.tsx","webpack://@octopusdeploy/octopus-deploy-portal/./app/areas/projects/components/Triggers/TriggersOnboarding.tsx","webpack://@octopusdeploy/octopus-deploy-portal/./app/areas/projects/components/Triggers/DeploymentTriggersPage.tsx","webpack://@octopusdeploy/octopus-deploy-portal/./app/areas/projects/components/Triggers/Feed/EditAutomaticReleaseCreationPage.tsx","webpack://@octopusdeploy/octopus-deploy-portal/./app/areas/projects/components/Triggers/Feed/CreateBuiltInFeedTriggerPage.tsx","webpack://@octopusdeploy/octopus-deploy-portal/./app/areas/projects/components/Triggers/Feed/useAllFeedTypesForExternalFeeds.ts","webpack://@octopusdeploy/octopus-deploy-portal/./app/areas/projects/components/Triggers/Feed/FeedTriggerFeedbackCallout.tsx","webpack://@octopusdeploy/octopus-deploy-portal/./app/components/MultiSelect/DeploymentActionPackageTableMultiSelect.tsx","webpack://@octopusdeploy/octopus-deploy-portal/./app/areas/projects/components/Triggers/TriggerLifecyclePreview.tsx","webpack://@octopusdeploy/octopus-deploy-portal/./app/areas/projects/components/Triggers/Feed/LastFeedTriggerExecutionSummary.tsx","webpack://@octopusdeploy/octopus-deploy-portal/./app/areas/projects/components/Triggers/Feed/LastReleaseCreatedSummary.tsx","webpack://@octopusdeploy/octopus-deploy-portal/./app/areas/projects/components/Triggers/Feed/EditReleaseCreationFeedTrigger.tsx","webpack://@octopusdeploy/octopus-deploy-portal/./app/areas/projects/components/Triggers/Feed/CreateReleaseCreationFeedTriggersPage.tsx","webpack://@octopusdeploy/octopus-deploy-portal/./app/areas/projects/components/Triggers/Feed/EditBuiltInFeedTriggerPage.tsx","webpack://@octopusdeploy/octopus-deploy-portal/./app/areas/projects/components/Triggers/Feed/EditReleaseCreationFeedTriggersPage.tsx","webpack://@octopusdeploy/octopus-deploy-portal/./app/areas/projects/components/Triggers/Git/LastGitTriggerExecutionSummary.tsx","webpack://@octopusdeploy/octopus-deploy-portal/./app/areas/projects/components/Triggers/Git/CreateOrEditGitTriggerForm.tsx","webpack://@octopusdeploy/octopus-deploy-portal/./app/areas/projects/components/Triggers/Git/CreateOrEditGitTrigger.tsx","webpack://@octopusdeploy/octopus-deploy-portal/./app/areas/projects/components/Triggers/Git/CreateReleaseCreationGitTriggersPage.tsx","webpack://@octopusdeploy/octopus-deploy-portal/./app/areas/projects/components/Triggers/Git/EditReleaseCreationGitTriggersPage.tsx","webpack://@octopusdeploy/octopus-deploy-portal/./app/areas/projects/components/Triggers/Scheduled/CreateDeploymentScheduledTriggerPage.tsx","webpack://@octopusdeploy/octopus-deploy-portal/./app/areas/projects/components/Triggers/Scheduled/EditDeploymentScheduledTriggerPage.tsx","webpack://@octopusdeploy/octopus-deploy-portal/./app/areas/projects/components/Variables/AllVariables/index.ts","webpack://@octopusdeploy/octopus-deploy-portal/./app/components/CardTitle/CardTitle.tsx","webpack://@octopusdeploy/octopus-deploy-portal/./app/components/CardTitle/index.tsx","webpack://@octopusdeploy/octopus-deploy-portal/./app/areas/variables/VariableSetSectionHeading/VariableDisplayerSectionHeading.tsx","webpack://@octopusdeploy/octopus-deploy-portal/./app/areas/variables/VariableSetSelector/VariableSetSelector.tsx","webpack://@octopusdeploy/octopus-deploy-portal/./app/areas/projects/components/Variables/LibraryVariableSets/LibraryVariableSets.tsx","webpack://@octopusdeploy/octopus-deploy-portal/./app/components/GroupedExpandable/GroupedExpandable.tsx","webpack://@octopusdeploy/octopus-deploy-portal/./app/areas/projects/components/Variables/ProjectVariables/NoProjectVariablesOnboardingPage.tsx","webpack://@octopusdeploy/octopus-deploy-portal/./app/areas/projects/components/Variables/ProjectVariables/MigrateProjectVariablesToGit/MigrateProjectVariablesDialog.tsx","webpack://@octopusdeploy/octopus-deploy-portal/./app/areas/projects/components/Variables/ProjectVariables/MigrateProjectVariablesToGit/MigrateProjectVariablesBanner.tsx","webpack://@octopusdeploy/octopus-deploy-portal/./app/areas/projects/components/Variables/ProjectVariables/ProjectVariables.tsx","webpack://@octopusdeploy/octopus-deploy-portal/./app/areas/projects/components/Variables/TenantVariables/AffectedProjectsNotificationDialog.tsx","webpack://@octopusdeploy/octopus-deploy-portal/./app/areas/projects/components/Variables/TenantVariables/ChangedValueIndicator.tsx","webpack://@octopusdeploy/octopus-deploy-portal/./app/components/TenantVariableInput/DefaultValueIndicator.tsx","webpack://@octopusdeploy/octopus-deploy-portal/./app/components/TenantVariableInput/TenantVariableInput.tsx","webpack://@octopusdeploy/octopus-deploy-portal/./app/areas/projects/components/Variables/TenantVariables/CommonTemplateValueEdit.tsx","webpack://@octopusdeploy/octopus-deploy-portal/./app/areas/projects/components/Variables/TenantVariables/DefaultValueIndicator.tsx","webpack://@octopusdeploy/octopus-deploy-portal/./app/areas/projects/components/Variables/TenantVariables/CommonTemplateValueInlineCell.tsx","webpack://@octopusdeploy/octopus-deploy-portal/./app/areas/projects/components/Variables/TenantVariables/styles.ts","webpack://@octopusdeploy/octopus-deploy-portal/./app/areas/projects/components/Variables/TenantVariables/CommonTemplatesSidebarContent.tsx","webpack://@octopusdeploy/octopus-deploy-portal/./app/components/ShareFilterButton/ShareFilterButton.tsx","webpack://@octopusdeploy/octopus-deploy-portal/./app/areas/projects/components/Variables/TenantVariables/FilterActions.tsx","webpack://@octopusdeploy/octopus-deploy-portal/./app/areas/projects/components/Variables/TenantVariables/FiltersBar.tsx","webpack://@octopusdeploy/octopus-deploy-portal/./app/areas/projects/components/Variables/TenantVariables/MissingValuesCallout.tsx","webpack://@octopusdeploy/octopus-deploy-portal/./app/areas/projects/components/Variables/TenantVariables/NoCommonTemplateValuesOnboarding.tsx","webpack://@octopusdeploy/octopus-deploy-portal/./app/areas/projects/components/Variables/TenantVariables/useCommonTemplatesFilterState.ts","webpack://@octopusdeploy/octopus-deploy-portal/./app/areas/variables/VariableSetSelector/index.ts","webpack://@octopusdeploy/octopus-deploy-portal/./app/areas/projects/components/Variables/TenantVariables/IncludeLibraryVariableSetsButton.tsx","webpack://@octopusdeploy/octopus-deploy-portal/./app/areas/projects/components/Variables/TenantVariables/NoVariableSetsOnboarding.tsx","webpack://@octopusdeploy/octopus-deploy-portal/./app/areas/projects/components/Variables/TenantVariables/TemplateNameCell.tsx","webpack://@octopusdeploy/octopus-deploy-portal/./app/areas/projects/components/Variables/TenantVariables/useCommonTemplatesValueChangeTracker.ts","webpack://@octopusdeploy/octopus-deploy-portal/./app/components/SidebarLayout/index.ts","webpack://@octopusdeploy/octopus-deploy-portal/./app/areas/projects/components/Variables/TenantVariables/CommonTemplatesInlineTabContent.tsx","webpack://@octopusdeploy/octopus-deploy-portal/./app/areas/projects/components/Variables/TenantVariables/CommonTemplatesInlineContent.tsx","webpack://@octopusdeploy/octopus-deploy-portal/./app/areas/projects/components/Variables/TenantVariables/useProjectTemplatesFilterState.ts","webpack://@octopusdeploy/octopus-deploy-portal/./app/areas/projects/components/Variables/TenantVariables/AddProjectTemplateButton.tsx","webpack://@octopusdeploy/octopus-deploy-portal/./app/areas/projects/components/Variables/TenantVariables/ProjectTenantVariablesNavigationTabs.tsx","webpack://@octopusdeploy/octopus-deploy-portal/./app/areas/projects/components/Variables/TenantVariables/ProjectTenantVariablesPageContent.tsx","webpack://@octopusdeploy/octopus-deploy-portal/./app/areas/projects/components/Variables/TenantVariables/ScopedTenantVariables/ScopedCommonTemplateScopeEdit.tsx","webpack://@octopusdeploy/octopus-deploy-portal/./app/areas/projects/components/Variables/TenantVariables/ScopedTenantVariables/ScopedCommonTemplateScopeInlineCell.tsx","webpack://@octopusdeploy/octopus-deploy-portal/./app/areas/projects/components/Variables/TenantVariables/ScopedTenantVariables/useScopedCommonTemplatesScopeChangeTracker.tsx","webpack://@octopusdeploy/octopus-deploy-portal/./app/areas/projects/components/Variables/TenantVariables/ScopedTenantVariables/ScopedCommonTemplatesInlineTabContent.tsx","webpack://@octopusdeploy/octopus-deploy-portal/./app/areas/projects/components/Variables/TenantVariables/ScopedTenantVariables/ScopedCommonTemplatesInlineContent.tsx","webpack://@octopusdeploy/octopus-deploy-portal/./app/areas/tenants/components/Paging/usePageState.ts","webpack://@octopusdeploy/octopus-deploy-portal/./app/areas/projects/components/Variables/TenantVariables/ScopedTenantVariables/useScopedCommonTemplatesState.ts","webpack://@octopusdeploy/octopus-deploy-portal/./app/areas/projects/components/Variables/TenantVariables/useCommonTemplatesState.ts","webpack://@octopusdeploy/octopus-deploy-portal/./app/areas/projects/components/Variables/TenantVariables/useTenantVariableFiltersData.ts","webpack://@octopusdeploy/octopus-deploy-portal/./app/areas/projects/components/Variables/TenantVariables/useTenantVariableResourceOptions.ts","webpack://@octopusdeploy/octopus-deploy-portal/./app/areas/projects/components/Variables/TenantVariables/ProjectTenantCommonTemplates.tsx","webpack://@octopusdeploy/octopus-deploy-portal/./app/areas/projects/components/Variables/TenantVariables/NoTemplatesOnboarding.tsx","webpack://@octopusdeploy/octopus-deploy-portal/./app/areas/projects/components/Variables/TenantVariables/NoValuesOnboarding.tsx","webpack://@octopusdeploy/octopus-deploy-portal/./app/areas/projects/components/Variables/TenantVariables/ProjectTemplateValueEdit.tsx","webpack://@octopusdeploy/octopus-deploy-portal/./app/areas/projects/components/Variables/TenantVariables/ProjectTemplateValueInlineCell.tsx","webpack://@octopusdeploy/octopus-deploy-portal/./app/areas/projects/components/Variables/TenantVariables/ProjectTemplatesSidebarContent.tsx","webpack://@octopusdeploy/octopus-deploy-portal/./app/areas/projects/components/Variables/TenantVariables/useProjectTenantVariableValueChangeTracker.ts","webpack://@octopusdeploy/octopus-deploy-portal/./app/areas/projects/components/Variables/TenantVariables/ProjectTemplatesInlineTabContent.tsx","webpack://@octopusdeploy/octopus-deploy-portal/./app/areas/projects/components/Variables/TenantVariables/ProjectTemplatesInlineContent.tsx","webpack://@octopusdeploy/octopus-deploy-portal/./app/areas/projects/components/Variables/TenantVariables/useProjectTemplatesState.ts","webpack://@octopusdeploy/octopus-deploy-portal/./app/areas/projects/components/Variables/TenantVariables/ProjectTenantProjectTemplates.tsx","webpack://@octopusdeploy/octopus-deploy-portal/./app/areas/variables/VariableDisplayer/index.ts","webpack://@octopusdeploy/octopus-deploy-portal/./app/areas/projects/components/Variables/VariablePreview/VariablePreviewSummary.tsx","webpack://@octopusdeploy/octopus-deploy-portal/./app/areas/projects/components/Variables/VariablePreview/VariablePreview.tsx","webpack://@octopusdeploy/octopus-deploy-portal/./app/areas/tasks/components/RawLog/RawLogPage.tsx","webpack://@octopusdeploy/octopus-deploy-portal/./app/areas/tasks/components/ScriptConsole/ScriptConsolePage.tsx","webpack://@octopusdeploy/octopus-deploy-portal/./app/areas/tasks/components/Task/TaskPage.tsx","webpack://@octopusdeploy/octopus-deploy-portal/./app/areas/projects/components/ProjectTenants/ConnectMultipleProjectsDialog.tsx","webpack://@octopusdeploy/octopus-deploy-portal/./app/areas/tenants/TenantOverview/AddTagsToTenantDialog.tsx","webpack://@octopusdeploy/octopus-deploy-portal/./app/areas/tenants/TenantOverview/TenantOverviewPage.tsx","webpack://@octopusdeploy/octopus-deploy-portal/./app/areas/tenants/TenantSettings/DeleteTenantDialog.tsx","webpack://@octopusdeploy/octopus-deploy-portal/./app/areas/tenants/TenantSettings/TenantSettingsPage.tsx","webpack://@octopusdeploy/octopus-deploy-portal/./app/areas/tenants/TenantTasks/TenantTasksPage.tsx","webpack://@octopusdeploy/octopus-deploy-portal/./app/components/TenantVariableInput/TenantVariableInputRenderer.tsx","webpack://@octopusdeploy/octopus-deploy-portal/./app/areas/projects/components/Variables/TenantVariables/ScopedTenantVariables/useScopedCommonTemplatesFilterState.ts","webpack://@octopusdeploy/octopus-deploy-portal/./app/areas/tenants/TenantVariables/ScopedTenantTemplateScopeCell.tsx","webpack://@octopusdeploy/octopus-deploy-portal/./app/areas/tenants/TenantVariables/ScopedTenantTemplateValueCell.tsx","webpack://@octopusdeploy/octopus-deploy-portal/./app/areas/tenants/TenantVariables/ScopedTenantTemplateDataGrid.tsx","webpack://@octopusdeploy/octopus-deploy-portal/./app/areas/tenants/TenantVariables/ScopedLibrarySetTemplateList.tsx","webpack://@octopusdeploy/octopus-deploy-portal/./app/areas/tenants/TenantVariables/tenantVariablePageModel.ts","webpack://@octopusdeploy/octopus-deploy-portal/./app/areas/tenants/TenantVariables/TenantVariablesPage.tsx","webpack://@octopusdeploy/octopus-deploy-portal/./app/areas/tenants/Tenants/Onboarding.tsx","webpack://@octopusdeploy/octopus-deploy-portal/./app/areas/tenants/components/LogoGroup/LogoGroup.tsx","webpack://@octopusdeploy/octopus-deploy-portal/./app/areas/tenants/components/DataTable/Cells/TenantsDataTableProjectsCell.tsx","webpack://@octopusdeploy/octopus-deploy-portal/./app/areas/tenants/components/DataTable/Cells/TenantsDataTableTagsCell.tsx","webpack://@octopusdeploy/octopus-deploy-portal/./app/areas/tenants/components/DataTable/TenantsDataTable.tsx","webpack://@octopusdeploy/octopus-deploy-portal/./app/areas/tenants/components/Filtering/hooks/useTenantFiltersData.ts","webpack://@octopusdeploy/octopus-deploy-portal/./app/areas/tenants/Tenants/CurrentFilterSelection/CurrentFilterSelectionChips.tsx","webpack://@octopusdeploy/octopus-deploy-portal/./app/areas/tenants/Tenants/CurrentFilterSelection/CurrentFilterSelection.tsx","webpack://@octopusdeploy/octopus-deploy-portal/./app/areas/tenants/Tenants/TenantsPage.tsx","webpack://@octopusdeploy/octopus-deploy-portal/./app/areas/tenants/Tenants/hooks/useTenantsState.tsx","webpack://@octopusdeploy/octopus-deploy-portal/./app/areas/tenants/Tenants/hooks/useTenantsFilterState.tsx","webpack://@octopusdeploy/octopus-deploy-portal/./app/areas/users/UserApiKeys/UserApiKeysPage.tsx","webpack://@octopusdeploy/octopus-deploy-portal/./app/areas/users/UserLogins/UserLoginsPage.tsx","webpack://@octopusdeploy/octopus-deploy-portal/./app/areas/users/UserProfile/UserProfilePage.tsx","webpack://@octopusdeploy/octopus-deploy-portal/./app/areas/users/UserRecentActivity/UserRecentActivityPage.tsx","webpack://@octopusdeploy/octopus-deploy-portal/./app/components/DeploymentFreezes/CreateDeploymentFreezePage.tsx","webpack://@octopusdeploy/octopus-deploy-portal/./app/components/DeploymentFreezes/EditDeploymentFreezePage.tsx","webpack://@octopusdeploy/octopus-deploy-portal/./app/components/DisplayProperties/index.ts","webpack://@octopusdeploy/octopus-deploy-portal/./app/components/Images/GettingStarted/OnboardingCowboy.tsx","webpack://@octopusdeploy/octopus-deploy-portal/./app/components/Images/NoPermissionsPage/NoPermissionsPage.tsx","webpack://@octopusdeploy/octopus-deploy-portal/./app/components/Images/NotFound/SomethingsWrong.tsx","webpack://@octopusdeploy/octopus-deploy-portal/./app/components/Images/OnboardingSuccess/OnboardingSuccess.tsx","webpack://@octopusdeploy/octopus-deploy-portal/./app/components/StyleGuide/ExampleDialogContent.tsx","webpack://@octopusdeploy/octopus-deploy-portal/./app/components/StyleGuide/ExampleComponentThatShowsDialogs.tsx","webpack://@octopusdeploy/octopus-deploy-portal/./app/components/StyleGuide/LateStateChangesChild.tsx","webpack://@octopusdeploy/octopus-deploy-portal/./app/components/StyleGuide/LateStateChanges.tsx","webpack://@octopusdeploy/octopus-deploy-portal/./app/components/StyleGuide/StyleGuideEntry.tsx","webpack://@octopusdeploy/octopus-deploy-portal/./app/components/StyleGuide/QueryStringFiltersEntry.tsx","webpack://@octopusdeploy/octopus-deploy-portal/./app/components/StyleGuide/Data/environments.ts","webpack://@octopusdeploy/octopus-deploy-portal/./app/components/StyleGuide/SampleFormComponent.tsx","webpack://@octopusdeploy/octopus-deploy-portal/./app/components/StyleGuide/ColorGroup.tsx","webpack://@octopusdeploy/octopus-deploy-portal/./app/components/StyleGuide/ColorSwatch.tsx","webpack://@octopusdeploy/octopus-deploy-portal/./app/components/DialogLayout/WizardDialogLayout.tsx","webpack://@octopusdeploy/octopus-deploy-portal/./app/components/DialogLayout/WizardPage.tsx","webpack://@octopusdeploy/octopus-deploy-portal/./app/components/StyleGuide/DemoWizard.tsx","webpack://@octopusdeploy/octopus-deploy-portal/./app/components/StyleGuide/helpers/Lorem.tsx","webpack://@octopusdeploy/octopus-deploy-portal/./app/components/StyleGuide/helpers/sleep.ts","webpack://@octopusdeploy/octopus-deploy-portal/./app/components/StyleGuide/DialogEntries/DialogWithForm.tsx","webpack://@octopusdeploy/octopus-deploy-portal/./app/components/StyleGuide/DialogEntries/DialogContentEntry.tsx","webpack://@octopusdeploy/octopus-deploy-portal/./app/components/StyleGuide/DialogEntries/DialogInlineEntry.tsx","webpack://@octopusdeploy/octopus-deploy-portal/./app/components/StyleGuide/DialogEntries/OnboardingDialogEntry.tsx","webpack://@octopusdeploy/octopus-deploy-portal/./app/components/StyleGuide/NetworkFailure.tsx","webpack://@octopusdeploy/octopus-deploy-portal/./app/components/StyleGuide/TabsEntry.tsx","webpack://@octopusdeploy/octopus-deploy-portal/./app/components/StyleGuide/StyleGuidePage.tsx","webpack://@octopusdeploy/octopus-deploy-portal/./app/routing/pageRegistrations/BlueprintsPageRegistration.tsx","webpack://@octopusdeploy/octopus-deploy-portal/./app/routing/pageRegistrations/InfrastructurePageRegistration.tsx","webpack://@octopusdeploy/octopus-deploy-portal/./app/routing/pageRegistrations/InsightsPageRegistration.ts","webpack://@octopusdeploy/octopus-deploy-portal/./app/routing/pageRegistrations/TenantPageRegistration.tsx","webpack://@octopusdeploy/octopus-deploy-portal/./app/areas/projects/components/ProjectGroupLayout/ProjectGroupPage.tsx","webpack://@octopusdeploy/octopus-deploy-portal/./app/areas/tasks/components/Tasks/TasksPage.tsx","webpack://@octopusdeploy/octopus-deploy-portal/./app/routing/pageRegistrations/ConfigurationPageRegistration.tsx","webpack://@octopusdeploy/octopus-deploy-portal/./app/routing/pageRegistrations/CurrentUserPageRegistration.tsx","webpack://@octopusdeploy/octopus-deploy-portal/./app/routing/pageRegistrations/LibraryPageRegistration.tsx","webpack://@octopusdeploy/octopus-deploy-portal/./app/routing/pageRegistrations/ProjectPageRegistration.tsx","webpack://@octopusdeploy/octopus-deploy-portal/./app/routing/pageRegistrations/SpaceRootPageRegistration.tsx","webpack://@octopusdeploy/octopus-deploy-portal/./app/routing/pageRegistrations/TaskPageRegistration.tsx","webpack://@octopusdeploy/octopus-deploy-portal/./app/routing/pageRegistrations/allPageRegistrations.tsx","webpack://@octopusdeploy/octopus-deploy-portal/./app/routing/pageRegistrations/createPageMap.ts","webpack://@octopusdeploy/octopus-deploy-portal/./app/globalSearch/GlobalSearchRegistry.tsx","webpack://@octopusdeploy/octopus-deploy-portal/./app/globalSearch/HighlightMultipleMatches.tsx","webpack://@octopusdeploy/octopus-deploy-portal/./app/globalSearch/HighlightSingleMatches.tsx","webpack://@octopusdeploy/octopus-deploy-portal/./app/globalSearch/GlobalSearchHelpers.tsx","webpack://@octopusdeploy/octopus-deploy-portal/./app/globalSearch/GlobalSearch.tsx","webpack://@octopusdeploy/octopus-deploy-portal/./app/globalSearch/analytics/useTrackGlobalSearchItemSelected.ts","webpack://@octopusdeploy/octopus-deploy-portal/./app/globalSearch/SearchAndOpenPopover.tsx","webpack://@octopusdeploy/octopus-deploy-portal/./app/globalSearch/analytics/useTrackGlobalSearchActivated.ts","webpack://@octopusdeploy/octopus-deploy-portal/./app/components/ContextualHelpLayout/HelpSidebarHandle.tsx","webpack://@octopusdeploy/octopus-deploy-portal/./app/components/ContextualHelpLayout/ResourceLink.tsx","webpack://@octopusdeploy/octopus-deploy-portal/./app/components/ContextualHelpLayout/HelpSidebarResources.tsx","webpack://@octopusdeploy/octopus-deploy-portal/./app/components/ContextualHelpLayout/PageHelpRegistry/PageHelpSelector.tsx","webpack://@octopusdeploy/octopus-deploy-portal/./app/components/ContextualHelpLayout/ContextualHelpLayout.tsx","webpack://@octopusdeploy/octopus-deploy-portal/./app/components/Navbar/HelpNavigationActionButton.tsx","webpack://@octopusdeploy/octopus-deploy-portal/./app/components/Navbar/analytics/HelpPanelAnalyticsEvent.ts","webpack://@octopusdeploy/octopus-deploy-portal/./app/components/Navbar/NotificationPoller/TargetTagsNotifications.tsx","webpack://@octopusdeploy/octopus-deploy-portal/./app/components/Navbar/NotificationsMenu.tsx","webpack://@octopusdeploy/octopus-deploy-portal/./app/components/Navbar/analytics/NotificationsIconClickedAnalyticsEvent.ts","webpack://@octopusdeploy/octopus-deploy-portal/./app/components/Navbar/analytics/NotificationCallToActionClickedAnalyticsEvent.ts","webpack://@octopusdeploy/octopus-deploy-portal/./app/components/Navbar/SpaceSwitcherNavigationBarItem.tsx","webpack://@octopusdeploy/octopus-deploy-portal/./app/components/GlobalLayout/UnhandledErrorPanel.tsx","webpack://@octopusdeploy/octopus-deploy-portal/./app/components/Navbar/UserAccountMenu.tsx","webpack://@octopusdeploy/octopus-deploy-portal/./app/components/GlobalLayout/portalNavigationSiderBarItems.tsx","webpack://@octopusdeploy/octopus-deploy-portal/./app/components/GlobalLayout/PortalGlobalLayout.tsx","webpack://@octopusdeploy/octopus-deploy-portal/./app/components/NoPermissionsPage/NoPermissionsPage.tsx","webpack://@octopusdeploy/octopus-deploy-portal/./app/areas/blueprints/PlatformHubLayout.tsx","webpack://@octopusdeploy/octopus-deploy-portal/./app/areas/configuration/components/ConfigurationLayout/ConfigurationLayout.tsx","webpack://@octopusdeploy/octopus-deploy-portal/./app/areas/deployments/DeploymentToProjectTaskRedirect.tsx","webpack://@octopusdeploy/octopus-deploy-portal/./app/areas/infrastructure/components/MachineLayout/MachineLayout.tsx","webpack://@octopusdeploy/octopus-deploy-portal/./app/areas/insights/components/InsightsReportLayout/InsightsReportLoader.tsx","webpack://@octopusdeploy/octopus-deploy-portal/./app/components/FullWidthPageLayout/FullWidthPageLayout.tsx","webpack://@octopusdeploy/octopus-deploy-portal/./app/areas/insights/components/InsightsRoutes/LicenseChecker.tsx","webpack://@octopusdeploy/octopus-deploy-portal/./app/areas/library/components/ActionTemplates/ActionTemplateLayout/ActionTemplateLayout.tsx","webpack://@octopusdeploy/octopus-deploy-portal/./app/areas/library/components/ActionTemplates/ActionTemplateLayout/index.tsx","webpack://@octopusdeploy/octopus-deploy-portal/./app/areas/library/components/ExternalFeeds/RedirectFeedBasedOnType.tsx","webpack://@octopusdeploy/octopus-deploy-portal/./app/areas/projects/components/ProjectLayout/GitProjectLink.tsx","webpack://@octopusdeploy/octopus-deploy-portal/./app/areas/projects/components/ProjectLayout/ProjectLinks.tsx","webpack://@octopusdeploy/octopus-deploy-portal/./app/areas/projects/components/ProjectLayout/ResilientPipelineCallouts.tsx","webpack://@octopusdeploy/octopus-deploy-portal/./app/areas/projects/components/ProjectLayout/SampleProjectTour/SampleProjectTourResume.tsx","webpack://@octopusdeploy/octopus-deploy-portal/./app/areas/projects/components/Projects/OnboardingQuestionnaire/NewlyCreatedProjectWizardDialog.tsx","webpack://@octopusdeploy/octopus-deploy-portal/./app/components/GettingStarted/onboardingLoader.ts","webpack://@octopusdeploy/octopus-deploy-portal/./app/components/ProjectBasedActivation/SuccessfulDeploymentDialog.tsx","webpack://@octopusdeploy/octopus-deploy-portal/./app/components/GettingStarted/GettingStartedFooter.tsx","webpack://@octopusdeploy/octopus-deploy-portal/./app/areas/projects/components/Projects/WelcomeToProjectDialog.tsx","webpack://@octopusdeploy/octopus-deploy-portal/./app/areas/projects/components/VersionControl/VcsErrorPage.tsx","webpack://@octopusdeploy/octopus-deploy-portal/./app/areas/projects/components/ProjectLayout/ProjectLayout.tsx","webpack://@octopusdeploy/octopus-deploy-portal/./app/areas/projects/components/ProjectsRoutes/BranchAwareRedirect.tsx","webpack://@octopusdeploy/octopus-deploy-portal/./app/areas/projects/components/ProjectsRoutes/ProjectTenantVariablesRedirect.tsx","webpack://@octopusdeploy/octopus-deploy-portal/./app/areas/projects/components/ProjectsRoutes/VariablesBranchAwareRedirect.tsx","webpack://@octopusdeploy/octopus-deploy-portal/./app/areas/projects/components/Runbooks/RunbookContextLayout.tsx","webpack://@octopusdeploy/octopus-deploy-portal/./app/areas/runbookRuns/RunbookRunToRunbookTaskRedirect.tsx","webpack://@octopusdeploy/octopus-deploy-portal/./app/areas/tasks/components/TaskRoutes/InterruptionToTaskRedirect.tsx","webpack://@octopusdeploy/octopus-deploy-portal/./app/areas/tenants/TenantLayout/TenantLayout.tsx","webpack://@octopusdeploy/octopus-deploy-portal/./app/areas/users/UserProfileLayout/index.tsx","webpack://@octopusdeploy/octopus-deploy-portal/./app/areas/users/UserProfileLayout/UserProfileLayout.tsx","webpack://@octopusdeploy/octopus-deploy-portal/./app/components/RedirectToProcessEditorViaSlug/RedirectToProcessEditorViaSlug.tsx","webpack://@octopusdeploy/octopus-deploy-portal/./app/components/ErrorBoundary/ErrorBoundary.tsx","webpack://@octopusdeploy/octopus-deploy-portal/./app/components/ErrorBoundary/index.ts","webpack://@octopusdeploy/octopus-deploy-portal/./app/components/ReloadableRoute/ReloadableRouteConfiguration.tsx","webpack://@octopusdeploy/octopus-deploy-portal/./app/components/ReloadableRoute/ReloadableRoute.tsx","webpack://@octopusdeploy/octopus-deploy-portal/./app/components/RootRoutes/ProjectChildRedirect.tsx","webpack://@octopusdeploy/octopus-deploy-portal/./app/components/RootRoutes/ProjectRunbookChildRedirect.tsx","webpack://@octopusdeploy/octopus-deploy-portal/./app/components/RootRoutes/ProjectTriggerRedirect.tsx","webpack://@octopusdeploy/octopus-deploy-portal/./app/components/RootRoutes/SpaceRootRedirect.tsx","webpack://@octopusdeploy/octopus-deploy-portal/./app/components/SlugSafeRedirect/SlugSafeRedirect.tsx","webpack://@octopusdeploy/octopus-deploy-portal/./app/components/SpaceNotFound/SpaceNotFound.tsx","webpack://@octopusdeploy/octopus-deploy-portal/./app/routing/pageRegistrations/formatRoutePath.ts","webpack://@octopusdeploy/octopus-deploy-portal/./app/components/ReloadableRoute/index.tsx","webpack://@octopusdeploy/octopus-deploy-portal/./app/routing/pageRegistrations/decodeRouteParams.tsx","webpack://@octopusdeploy/octopus-deploy-portal/./app/routing/pageRegistrations/routeSegment.tsx","webpack://@octopusdeploy/octopus-deploy-portal/./app/routing/redirects/DefaultConfigurationPageRedirect.tsx","webpack://@octopusdeploy/octopus-deploy-portal/./app/routing/AsyncInternalRedirect.tsx","webpack://@octopusdeploy/octopus-deploy-portal/./app/routing/redirects/ScopedUserRoleToTeamRedirect.tsx","webpack://@octopusdeploy/octopus-deploy-portal/./app/inAppMessaging/InAppMessaging.ts","webpack://@octopusdeploy/octopus-deploy-portal/./app/routing/Page.tsx","webpack://@octopusdeploy/octopus-deploy-portal/./app/routing/pageRegistrations/RoutePage.tsx","webpack://@octopusdeploy/octopus-deploy-portal/./app/routing/redirects/DefaultInsightsPageRedirect.tsx","webpack://@octopusdeploy/octopus-deploy-portal/./app/routing/redirects/DefaultLibraryPageRedirect.tsx","webpack://@octopusdeploy/octopus-deploy-portal/./app/routing/AllPageRoutes.tsx","webpack://@octopusdeploy/octopus-deploy-portal/./app/components/RootRoutes/RootRoutes.tsx","webpack://@octopusdeploy/octopus-deploy-portal/./app/components/RootRoutes/index.tsx","webpack://@octopusdeploy/octopus-deploy-portal/./app/routing/legacyRouteRegistrations/allLegacyRouteRegistrations.tsx","webpack://@octopusdeploy/octopus-deploy-portal/./app/routing/legacyRouteRegistrations/createLegacyRouteRegistrations.ts","webpack://@octopusdeploy/octopus-deploy-portal/./app/routing/allLegacyRedirectRoutes.tsx","webpack://@octopusdeploy/octopus-deploy-portal/./app/components/AuthenticationRoutes/AuthenticatedRoutes.tsx","webpack://@octopusdeploy/octopus-deploy-portal/./app/components/DevTools/OverviewTab/OverviewTab.tsx","webpack://@octopusdeploy/octopus-deploy-portal/./app/components/DevTools/DevToolbar.tsx","webpack://@octopusdeploy/octopus-deploy-portal/./app/components/DevTools/AmplitudeEventsTab/AmplitudeEventsTab.tsx","webpack://@octopusdeploy/octopus-deploy-portal/./app/components/DevTools/Images/AllPngImageFiles.tsx","webpack://@octopusdeploy/octopus-deploy-portal/./app/components/DevTools/Images/AllSvgImageFiles.tsx","webpack://@octopusdeploy/octopus-deploy-portal/./app/areas/projects/components/ProjectStatus/RightArrowIcon.tsx","webpack://@octopusdeploy/octopus-deploy-portal/./app/components/DevTools/Images/embeddedSvgDescriptions.tsx","webpack://@octopusdeploy/octopus-deploy-portal/./app/components/DevTools/Images/embeddedSvgIconDescriptions.tsx","webpack://@octopusdeploy/octopus-deploy-portal/./app/components/DevTools/Images/embeddedSvgImageDescriptions.tsx","webpack://@octopusdeploy/octopus-deploy-portal/./app/components/DevTools/Images/EmbeddedImages.tsx","webpack://@octopusdeploy/octopus-deploy-portal/./app/components/DevTools/Images/Images.tsx","webpack://@octopusdeploy/octopus-deploy-portal/./app/components/DevTools/OverrideFontTab/OverrideFontTab.tsx","webpack://@octopusdeploy/octopus-deploy-portal/./app/components/DevTools/SiteMapTab.tsx","webpack://@octopusdeploy/octopus-deploy-portal/./app/components/DevTools/Toggles/ToggleControls.tsx","webpack://@octopusdeploy/octopus-deploy-portal/./app/components/DevTools/Permissions/PermissionsTab.tsx","webpack://@octopusdeploy/octopus-deploy-portal/./app/components/DevTools/useDevDrawerTabs.tsx","webpack://@octopusdeploy/octopus-deploy-portal/./app/components/DevTools/DevDrawerContent.tsx","webpack://@octopusdeploy/octopus-deploy-portal/./app/components/DevTools/DevBanner.tsx","webpack://@octopusdeploy/octopus-deploy-portal/./app/components/DevTools/LayoutWithDevTools.tsx","webpack://@octopusdeploy/octopus-deploy-portal/./app/components/DevTools/useDrawerResizeHandler.tsx","webpack://@octopusdeploy/octopus-deploy-portal/./app/components/SecureRoute/index.tsx","webpack://@octopusdeploy/octopus-deploy-portal/./app/components/SecureRoute/SecureRoute.tsx","webpack://@octopusdeploy/octopus-deploy-portal/./app/components/SecureRoute/createFromLocationState.ts","webpack://@octopusdeploy/octopus-deploy-portal/./app/components/Navigation/PortalDesignSystemLink.tsx","webpack://@octopusdeploy/octopus-deploy-portal/./app/components/AuthenticationRoutes/AuthenticationRoutes.tsx","webpack://@octopusdeploy/octopus-deploy-portal/./app/components/DevTools/DevOnly.tsx","webpack://@octopusdeploy/octopus-deploy-portal/./app/components/LogErrors/LogEventCapturer.tsx","webpack://@octopusdeploy/octopus-deploy-portal/./app/components/LogErrors/LogErrorDisplayer.tsx","webpack://@octopusdeploy/octopus-deploy-portal/./app/components/ConfirmNavigate/ConfirmNavigate.tsx","webpack://@octopusdeploy/octopus-deploy-portal/./app/components/OctopusRouter/OctopusRouter.tsx","webpack://@octopusdeploy/octopus-deploy-portal/./app/components/OctopusRouter/UserConfirmationState.ts","webpack://@octopusdeploy/octopus-deploy-portal/./app/hooks/useSessionStorage.ts","webpack://@octopusdeploy/octopus-deploy-portal/./app/components/Theme/ThemeFromLocalStorage.tsx","webpack://@octopusdeploy/octopus-deploy-portal/./app/App.tsx","webpack://@octopusdeploy/octopus-deploy-portal/./app/index.tsx","webpack://@octopusdeploy/octopus-deploy-portal/./app/areas/dashboard/DashboardOverview/dashboardPageIds.ts","webpack://@octopusdeploy/octopus-deploy-portal/./app/pageIds.ts","webpack://@octopusdeploy/octopus-deploy-portal/./app/areas/projects/components/ProjectsRoutes/projectPageIds.ts","webpack://@octopusdeploy/octopus-deploy-portal/./app/areas/projects/components/Releases/ReleasesRoutes/releasePageIds.ts","webpack://@octopusdeploy/octopus-deploy-portal/./app/areas/projects/components/Runbooks/RunbookSnapshots/runbookSnapshotPageIds.ts","webpack://@octopusdeploy/octopus-deploy-portal/./app/areas/tenants/TenantsRoutes/tenantPageIds.ts","webpack://@octopusdeploy/octopus-deploy-portal/./app/areas/tasks/components/TaskRoutes/taskPageIds.ts","webpack://@octopusdeploy/octopus-deploy-portal/./app/areas/projects/components/ProjectGroupLayout/projectGroupPageIds.ts","webpack://@octopusdeploy/octopus-deploy-portal/./app/areas/deployments/deploymentPageIds.ts","webpack://@octopusdeploy/octopus-deploy-portal/./app/areas/users/UserProfileRoutes/userProfilePageIds.ts","webpack://@octopusdeploy/octopus-deploy-portal/./app/areas/library/components/LibraryRoutes/libraryPageIds.ts","webpack://@octopusdeploy/octopus-deploy-portal/./app/areas/infrastructure/components/InfrastructureRoutes/infrastructurePageIds.ts","webpack://@octopusdeploy/octopus-deploy-portal/./app/areas/insights/components/InsightsRoutes/insightsPageIds.ts","webpack://@octopusdeploy/octopus-deploy-portal/./app/areas/configuration/components/ConfigurationRoutes/configurationPageIds.ts","webpack://@octopusdeploy/octopus-deploy-portal/./app/primitiveComponents/dataDisplay/Popover/Popover.tsx","webpack://@octopusdeploy/octopus-deploy-portal/./app/primitiveComponents/dataDisplay/Section/SectionHeading.tsx","webpack://@octopusdeploy/octopus-deploy-portal/./app/primitiveComponents/dataDisplay/SvgImage/SvgImage.tsx","webpack://@octopusdeploy/octopus-deploy-portal/./app/primitiveComponents/form/Checkbox/StringCheckbox.tsx","webpack://@octopusdeploy/octopus-deploy-portal/./app/primitiveComponents/form/ColorPicker/ColorPicker.tsx","webpack://@octopusdeploy/octopus-deploy-portal/./app/primitiveComponents/form/FileUploadDragDrop/CloudUpIcon.tsx","webpack://@octopusdeploy/octopus-deploy-portal/./app/primitiveComponents/form/FileUploadDragDrop/FileUploadDragDrop.tsx","webpack://@octopusdeploy/octopus-deploy-portal/./app/primitiveComponents/form/Note/Note.tsx","webpack://@octopusdeploy/octopus-deploy-portal/./app/primitiveComponents/form/Select/Select.tsx","webpack://@octopusdeploy/octopus-deploy-portal/./app/primitiveComponents/form/Select/DropDownMenu.tsx","webpack://@octopusdeploy/octopus-deploy-portal/./app/primitiveComponents/form/Select/SelectField.tsx","webpack://@octopusdeploy/octopus-deploy-portal/./app/primitiveComponents/form/Text/Text.tsx","webpack://@octopusdeploy/octopus-deploy-portal/./app/primitiveComponents/navigation/Tabs/TabItem.tsx","webpack://@octopusdeploy/octopus-deploy-portal/./app/primitiveComponents/navigation/Tabs/useTabConversion.tsx","webpack://@octopusdeploy/octopus-deploy-portal/./app/primitiveComponents/navigation/Tabs/ControlledTabsContainer.tsx","webpack://@octopusdeploy/octopus-deploy-portal/./app/primitiveComponents/navigation/Tabs/UrlNavigationTabsContainer.tsx","webpack://@octopusdeploy/octopus-deploy-portal/./app/primitiveComponents/transitions/overrideTransitions.tsx","webpack://@octopusdeploy/octopus-deploy-portal/./app/store/configureStore.ts","webpack://@octopusdeploy/octopus-deploy-portal/./app/store/persistence.ts","webpack://@octopusdeploy/octopus-deploy-portal/./app/areas/infrastructure/reducers/infrastructureArea.ts","webpack://@octopusdeploy/octopus-deploy-portal/./app/store/reducers.ts","webpack://@octopusdeploy/octopus-deploy-portal/./app/store/index.ts","webpack://@octopusdeploy/octopus-deploy-portal/./app/store.ts","webpack://@octopusdeploy/octopus-deploy-portal/./app/theme/theme.ts","webpack://@octopusdeploy/octopus-deploy-portal/./app/utils/ByteSizeFormatter/ByteSizeFormatter.tsx","webpack://@octopusdeploy/octopus-deploy-portal/./app/utils/ByteSizeFormatter/index.tsx","webpack://@octopusdeploy/octopus-deploy-portal/./app/utils/OperationTimer/timeOperation.ts","webpack://@octopusdeploy/octopus-deploy-portal/./app/utils/PromiseCancelledError.ts","webpack://@octopusdeploy/octopus-deploy-portal/./app/utils/Reducers/visibilityReducer.ts","webpack://@octopusdeploy/octopus-deploy-portal/./app/utils/RefreshLoop/refresh-loop.ts","webpack://@octopusdeploy/octopus-deploy-portal/./app/utils/RequestRaceConditioner/index.tsx","webpack://@octopusdeploy/octopus-deploy-portal/./app/utils/ScriptIntellisense/scriptIntellisense.ts","webpack://@octopusdeploy/octopus-deploy-portal/./app/utils/StringHelper/StringHelper.tsx","webpack://@octopusdeploy/octopus-deploy-portal/./app/utils/StringHelper/index.tsx","webpack://@octopusdeploy/octopus-deploy-portal/./app/utils/TooltipHelper/isTooltipHoverable.ts","webpack://@octopusdeploy/octopus-deploy-portal/./app/utils/resolveApplicationRootUri.ts"],"sourcesContent":["var map = {\n\t\"./Areas/Configuration/ConfigurationAuditRegistration.tsx\": 30598,\n\t\"./Areas/Configuration/ConfigurationBackupRegistration.tsx\": 18004,\n\t\"./Areas/Configuration/ConfigurationDeploymentFreezeNewRegistration.tsx\": 56088,\n\t\"./Areas/Configuration/ConfigurationDeploymentFreezeRegistration.tsx\": 62450,\n\t\"./Areas/Configuration/ConfigurationDeploymentFreezesRegistration.tsx\": 47513,\n\t\"./Areas/Configuration/ConfigurationDiagnosticLogsAutoDeployRegistration.tsx\": 65390,\n\t\"./Areas/Configuration/ConfigurationDiagnosticLogsMachineCleanupRegistration.tsx\": 30191,\n\t\"./Areas/Configuration/ConfigurationDiagnosticLogsRegistration.tsx\": 93818,\n\t\"./Areas/Configuration/ConfigurationDiagnosticLogsScheduledDeployRegistration.tsx\": 89842,\n\t\"./Areas/Configuration/ConfigurationDiagnosticLogsSubscriptionRegistration.tsx\": 97205,\n\t\"./Areas/Configuration/ConfigurationDiagnosticsRegistration.tsx\": 83742,\n\t\"./Areas/Configuration/ConfigurationFeaturesRegistration.tsx\": 44443,\n\t\"./Areas/Configuration/ConfigurationLetsEncryptConfigureRegistration.tsx\": 62841,\n\t\"./Areas/Configuration/ConfigurationLetsEncryptRegistration.tsx\": 79007,\n\t\"./Areas/Configuration/ConfigurationLicenseRegistration.tsx\": 59091,\n\t\"./Areas/Configuration/ConfigurationMaintenanceRegistration.tsx\": 18171,\n\t\"./Areas/Configuration/ConfigurationNodesConfigRegistration.tsx\": 70315,\n\t\"./Areas/Configuration/ConfigurationNodesRegistration.tsx\": 54481,\n\t\"./Areas/Configuration/ConfigurationNodesServerSettingsRegistration.tsx\": 13487,\n\t\"./Areas/Configuration/ConfigurationPerformanceRegistration.tsx\": 2500,\n\t\"./Areas/Configuration/ConfigurationRegistration.tsx\": 13494,\n\t\"./Areas/Configuration/ConfigurationRoleRegistration.tsx\": 36374,\n\t\"./Areas/Configuration/ConfigurationRolesNewRegistration.tsx\": 13861,\n\t\"./Areas/Configuration/ConfigurationRolesRegistration.tsx\": 69397,\n\t\"./Areas/Configuration/ConfigurationSettingsRegistration.tsx\": 91089,\n\t\"./Areas/Configuration/ConfigurationSmtpRegistration.tsx\": 79882,\n\t\"./Areas/Configuration/ConfigurationSpaceRegistration.tsx\": 24396,\n\t\"./Areas/Configuration/ConfigurationSpacesNewRegistration.tsx\": 53335,\n\t\"./Areas/Configuration/ConfigurationSpacesRegistration.tsx\": 68979,\n\t\"./Areas/Configuration/ConfigurationSubscriptionRegistration.tsx\": 6625,\n\t\"./Areas/Configuration/ConfigurationSubscriptionsNewRegistration.tsx\": 10110,\n\t\"./Areas/Configuration/ConfigurationSubscriptionsRegistration.tsx\": 50124,\n\t\"./Areas/Configuration/ConfigurationTeamRegistration.tsx\": 50085,\n\t\"./Areas/Configuration/ConfigurationTeamsRegistration.tsx\": 46856,\n\t\"./Areas/Configuration/ConfigurationTestPermissionRegistration.tsx\": 88539,\n\t\"./Areas/Configuration/ConfigurationTestPermissionsRegistration.tsx\": 41574,\n\t\"./Areas/Configuration/ConfigurationThumbprintRegistration.tsx\": 41867,\n\t\"./Areas/Configuration/ConfigurationUserInvitesRegistration.tsx\": 43991,\n\t\"./Areas/Configuration/ConfigurationUserRegistration.tsx\": 27547,\n\t\"./Areas/Configuration/ConfigurationUsersNewRegistration.tsx\": 20812,\n\t\"./Areas/Configuration/ConfigurationUsersRegistration.tsx\": 86278,\n\t\"./Areas/Dashboard/DashboardConfigureRegistration.tsx\": 29870,\n\t\"./Areas/Dashboard/DashboardRegistration.tsx\": 72086,\n\t\"./Areas/Infrastructure/InfrastructureAccountRegistration.tsx\": 74891,\n\t\"./Areas/Infrastructure/InfrastructureAccountsNewRegistration.tsx\": 67484,\n\t\"./Areas/Infrastructure/InfrastructureAccountsRegistration.tsx\": 60214,\n\t\"./Areas/Infrastructure/InfrastructureDeploymentTargetConnectivityRegistration.tsx\": 11573,\n\t\"./Areas/Infrastructure/InfrastructureDeploymentTargetDeploymentsRegistration.tsx\": 7472,\n\t\"./Areas/Infrastructure/InfrastructureDeploymentTargetEventsRegistration.tsx\": 35331,\n\t\"./Areas/Infrastructure/InfrastructureDeploymentTargetRegistration.tsx\": 13524,\n\t\"./Areas/Infrastructure/InfrastructureDeploymentTargetRunbookRunsRegistration.tsx\": 13506,\n\t\"./Areas/Infrastructure/InfrastructureDeploymentTargetSettingsRegistration.tsx\": 35927,\n\t\"./Areas/Infrastructure/InfrastructureDeploymentTargetsDiscoverRegistration.tsx\": 84506,\n\t\"./Areas/Infrastructure/InfrastructureDeploymentTargetsFilteredRegistration.tsx\": 70386,\n\t\"./Areas/Infrastructure/InfrastructureDeploymentTargetsNewRegistration.tsx\": 53935,\n\t\"./Areas/Infrastructure/InfrastructureDeploymentTargetsRegistration.tsx\": 33227,\n\t\"./Areas/Infrastructure/InfrastructureDeploymentTargetsSelectRegistration.tsx\": 80723,\n\t\"./Areas/Infrastructure/InfrastructureEnvironmentRegistration.tsx\": 5073,\n\t\"./Areas/Infrastructure/InfrastructureEnvironmentsFilteredRegistration.tsx\": 92553,\n\t\"./Areas/Infrastructure/InfrastructureEnvironmentsNewRegistration.tsx\": 25998,\n\t\"./Areas/Infrastructure/InfrastructureEnvironmentsRegistration.tsx\": 61148,\n\t\"./Areas/Infrastructure/InfrastructureMachinePoliciesNewRegistration.tsx\": 7627,\n\t\"./Areas/Infrastructure/InfrastructureMachinePoliciesRegistration.tsx\": 84391,\n\t\"./Areas/Infrastructure/InfrastructureMachinePolicyRegistration.tsx\": 79499,\n\t\"./Areas/Infrastructure/InfrastructureOverviewRegistration.tsx\": 95623,\n\t\"./Areas/Infrastructure/InfrastructureProxiesNewRegistration.tsx\": 88272,\n\t\"./Areas/Infrastructure/InfrastructureProxiesRegistration.tsx\": 12618,\n\t\"./Areas/Infrastructure/InfrastructureProxyRegistration.tsx\": 41906,\n\t\"./Areas/Infrastructure/InfrastructureRegistration.tsx\": 50990,\n\t\"./Areas/Infrastructure/InfrastructureWorkerConnectivityRegistration.tsx\": 39621,\n\t\"./Areas/Infrastructure/InfrastructureWorkerEventsRegistration.tsx\": 83699,\n\t\"./Areas/Infrastructure/InfrastructureWorkerPoolNewRegistration.tsx\": 69972,\n\t\"./Areas/Infrastructure/InfrastructureWorkerPoolRegistration.tsx\": 6062,\n\t\"./Areas/Infrastructure/InfrastructureWorkerPoolsFilteredRegistration.tsx\": 68940,\n\t\"./Areas/Infrastructure/InfrastructureWorkerPoolsRegistration.tsx\": 90429,\n\t\"./Areas/Infrastructure/InfrastructureWorkerRegistration.tsx\": 78116,\n\t\"./Areas/Infrastructure/InfrastructureWorkerSettingsRegistration.tsx\": 49415,\n\t\"./Areas/Infrastructure/InfrastructureWorkersDiscoverRegistration.tsx\": 59402,\n\t\"./Areas/Infrastructure/InfrastructureWorkersFilteredRegistration.tsx\": 41698,\n\t\"./Areas/Infrastructure/InfrastructureWorkersNewRegistration.tsx\": 57375,\n\t\"./Areas/Infrastructure/InfrastructureWorkersRegistration.tsx\": 62715,\n\t\"./Areas/Infrastructure/InfrastructureWorkersSelectRegistration.tsx\": 19619,\n\t\"./Areas/Insights/InsightsReportDeploymentDurationRegistration.tsx\": 71973,\n\t\"./Areas/Insights/InsightsReportDeploymentFailureRateRegistration.tsx\": 97419,\n\t\"./Areas/Insights/InsightsReportDeploymentFrequencyRegistration.tsx\": 28969,\n\t\"./Areas/Insights/InsightsReportDeploymentLeadTimeRegistration.tsx\": 91752,\n\t\"./Areas/Insights/InsightsReportListRegistration.tsx\": 80688,\n\t\"./Areas/Insights/InsightsReportMeanTimeToRecoveryRegistration.tsx\": 5638,\n\t\"./Areas/Insights/InsightsReportOverviewRegistration.tsx\": 81333,\n\t\"./Areas/Insights/InsightsReportSettingsRegistration.tsx\": 77539,\n\t\"./Areas/Insights/InsightsReportsRegistration.tsx\": 79367,\n\t\"./Areas/Insights/InsightsUpsellRegistration.tsx\": 20509,\n\t\"./Areas/Library/LibraryBuildInformationRepositoryPackageRegistration.tsx\": 63664,\n\t\"./Areas/Library/LibraryBuildInformationRepositoryRegistration.tsx\": 99936,\n\t\"./Areas/Library/LibraryBuildInformationRepositoryVersionsRegistration.tsx\": 67339,\n\t\"./Areas/Library/LibraryBuiltInRepositoryPackageRegistration.tsx\": 70037,\n\t\"./Areas/Library/LibraryBuiltInRepositoryPackageVersionsRegistration.tsx\": 6542,\n\t\"./Areas/Library/LibraryBuiltInRepositoryRegistration.tsx\": 80131,\n\t\"./Areas/Library/LibraryCertificateRegistration.tsx\": 60123,\n\t\"./Areas/Library/LibraryCertificatesArchiveRegistration.tsx\": 93072,\n\t\"./Areas/Library/LibraryCertificatesNewRegistration.tsx\": 23916,\n\t\"./Areas/Library/LibraryCertificatesRegistration.tsx\": 62886,\n\t\"./Areas/Library/LibraryFeedRegistration.tsx\": 90646,\n\t\"./Areas/Library/LibraryFeedTestRegistration.tsx\": 96918,\n\t\"./Areas/Library/LibraryFeedsNewRegistration.tsx\": 8293,\n\t\"./Areas/Library/LibraryFeedsRegistration.tsx\": 76405,\n\t\"./Areas/Library/LibraryGitConnectionsAddRegistration.tsx\": 37366,\n\t\"./Areas/Library/LibraryGitConnectionsGetRegistration.tsx\": 60463,\n\t\"./Areas/Library/LibraryGitConnectionsRegistration.tsx\": 49169,\n\t\"./Areas/Library/LibraryGitCredentialRegistration.tsx\": 66753,\n\t\"./Areas/Library/LibraryGitCredentialUsageRegistration.tsx\": 86706,\n\t\"./Areas/Library/LibraryGitCredentialsCreateRegistration.tsx\": 27808,\n\t\"./Areas/Library/LibraryGitCredentialsRegistration.tsx\": 18828,\n\t\"./Areas/Library/LibraryLifecycleRegistration.tsx\": 5882,\n\t\"./Areas/Library/LibraryLifecyclesNewRegistration.tsx\": 86353,\n\t\"./Areas/Library/LibraryLifecyclesRegistration.tsx\": 96337,\n\t\"./Areas/Library/LibraryRegistration.tsx\": 51518,\n\t\"./Areas/Library/LibraryScriptModuleRegistration.tsx\": 42919,\n\t\"./Areas/Library/LibraryScriptModulesNewRegistration.tsx\": 48096,\n\t\"./Areas/Library/LibraryScriptModulesRegistration.tsx\": 41018,\n\t\"./Areas/Library/LibraryStepTemplateNewRegistration.tsx\": 95356,\n\t\"./Areas/Library/LibraryStepTemplateRegistration.tsx\": 56310,\n\t\"./Areas/Library/LibraryStepTemplateRunRegistration.tsx\": 997,\n\t\"./Areas/Library/LibraryStepTemplateUsageRegistration.tsx\": 23443,\n\t\"./Areas/Library/LibraryStepTemplatesBuiltInRegistration.tsx\": 25662,\n\t\"./Areas/Library/LibraryStepTemplatesCommunityRegistration.tsx\": 86068,\n\t\"./Areas/Library/LibraryStepTemplatesCommunityTemplateDetailsRegistration.tsx\": 41844,\n\t\"./Areas/Library/LibraryStepTemplatesCommunityTemplateRegistration.tsx\": 81178,\n\t\"./Areas/Library/LibraryStepTemplatesInstalledStepRegistration.tsx\": 367,\n\t\"./Areas/Library/LibraryStepTemplatesRegistration.tsx\": 22613,\n\t\"./Areas/Library/LibraryTenantTagSetRegistration.tsx\": 40030,\n\t\"./Areas/Library/LibraryTenantTagSetsNewRegistration.tsx\": 53629,\n\t\"./Areas/Library/LibraryTenantTagSetsRegistration.tsx\": 25517,\n\t\"./Areas/Library/LibraryVariableSetRegistration.tsx\": 4386,\n\t\"./Areas/Library/LibraryVariableSetsNewRegistration.tsx\": 25833,\n\t\"./Areas/Library/LibraryVariableSetsRegistration.tsx\": 27529,\n\t\"./Areas/Projects/ProjectChannelNewRegistration.tsx\": 99368,\n\t\"./Areas/Projects/ProjectChannelRegistration.tsx\": 94786,\n\t\"./Areas/Projects/ProjectChannelsRegistration.tsx\": 54953,\n\t\"./Areas/Projects/ProjectChildStepTemplatesRegistration.tsx\": 86912,\n\t\"./Areas/Projects/ProjectDeploymentNewRegistration.tsx\": 45834,\n\t\"./Areas/Projects/ProjectDeploymentRegistration.tsx\": 88952,\n\t\"./Areas/Projects/ProjectDeploymentRetryRegistration.tsx\": 82150,\n\t\"./Areas/Projects/ProjectDeploymentsRegistration.tsx\": 26631,\n\t\"./Areas/Projects/ProjectDeploymentsSettingsRegistration.tsx\": 93492,\n\t\"./Areas/Projects/ProjectExportRegistration.tsx\": 18139,\n\t\"./Areas/Projects/ProjectGroupEditRegistration.tsx\": 29734,\n\t\"./Areas/Projects/ProjectITSMProvidersSettingsRegistration.tsx\": 17687,\n\t\"./Areas/Projects/ProjectImportExportTasksRegistration.tsx\": 57242,\n\t\"./Areas/Projects/ProjectImportRegistration.tsx\": 76114,\n\t\"./Areas/Projects/ProjectInsightDeploymentDurationRegistration.tsx\": 64366,\n\t\"./Areas/Projects/ProjectInsightDeploymentLeadTimeRegistration.tsx\": 61619,\n\t\"./Areas/Projects/ProjectInsightsDeploymentFailureRateRegistration.tsx\": 10593,\n\t\"./Areas/Projects/ProjectInsightsDeploymentFrequencyRegistration.tsx\": 96755,\n\t\"./Areas/Projects/ProjectInsightsMeanTimeToRecoveryRegistration.tsx\": 26968,\n\t\"./Areas/Projects/ProjectInsightsOverviewRegistration.tsx\": 88215,\n\t\"./Areas/Projects/ProjectOperationsRegistration.tsx\": 98987,\n\t\"./Areas/Projects/ProjectOverviewRegistration.tsx\": 2033,\n\t\"./Areas/Projects/ProjectProcessChildStepTemplatesRegistration.tsx\": 17645,\n\t\"./Areas/Projects/ProjectProcessRegistration.tsx\": 99620,\n\t\"./Areas/Projects/ProjectProcessStepNewRegistration.tsx\": 40040,\n\t\"./Areas/Projects/ProjectProcessStepRegistration.tsx\": 80610,\n\t\"./Areas/Projects/ProjectProcessStepTemplatesRegistration.tsx\": 9439,\n\t\"./Areas/Projects/ProjectRegistration.tsx\": 52000,\n\t\"./Areas/Projects/ProjectReleaseNewRegistration.tsx\": 48654,\n\t\"./Areas/Projects/ProjectReleaseVersionEditRegistration.tsx\": 48852,\n\t\"./Areas/Projects/ProjectReleaseVersionRegistration.tsx\": 90632,\n\t\"./Areas/Projects/ProjectReleasesRegistration.tsx\": 44739,\n\t\"./Areas/Projects/ProjectRunbookOverviewRegistration.tsx\": 67169,\n\t\"./Areas/Projects/ProjectRunbookProcessRegistration.tsx\": 48126,\n\t\"./Areas/Projects/ProjectRunbookProcessStepNewRegistration.tsx\": 92610,\n\t\"./Areas/Projects/ProjectRunbookProcessStepRegistration.tsx\": 53936,\n\t\"./Areas/Projects/ProjectRunbookProcessStepTemplatesRegistration.tsx\": 52245,\n\t\"./Areas/Projects/ProjectRunbookRunNowRegistration.tsx\": 98718,\n\t\"./Areas/Projects/ProjectRunbookRunsListRegistration.tsx\": 74741,\n\t\"./Areas/Projects/ProjectRunbookSettingsRegistration.tsx\": 95392,\n\t\"./Areas/Projects/ProjectRunbookSnapshotCreateRegistration.tsx\": 95243,\n\t\"./Areas/Projects/ProjectRunbookSnapshotEditRegistration.tsx\": 28007,\n\t\"./Areas/Projects/ProjectRunbookSnapshotRootRegistration.tsx\": 86883,\n\t\"./Areas/Projects/ProjectRunbookSnapshotRunbookRunsCreateRegistration.tsx\": 59031,\n\t\"./Areas/Projects/ProjectRunbookSnapshotRunbookRunsRetryRegistration.tsx\": 61387,\n\t\"./Areas/Projects/ProjectRunbookSnapshotRunbookRunsSpecificRegistration.tsx\": 69827,\n\t\"./Areas/Projects/ProjectRunbookSnapshotsRegistration.tsx\": 62782,\n\t\"./Areas/Projects/ProjectRunbooksRegistration.tsx\": 11974,\n\t\"./Areas/Projects/ProjectRunbooksScheduledTriggersNewRegistration.tsx\": 75377,\n\t\"./Areas/Projects/ProjectRunbooksTriggersRegistration.tsx\": 38648,\n\t\"./Areas/Projects/ProjectSettingsRegistration.tsx\": 87854,\n\t\"./Areas/Projects/ProjectStepTemplatesRegistration.tsx\": 99248,\n\t\"./Areas/Projects/ProjectTasksRegistration.tsx\": 28289,\n\t\"./Areas/Projects/ProjectTenantCommonTemplatesRegistration.tsx\": 10807,\n\t\"./Areas/Projects/ProjectTenantProjectTemplatesRegistration.tsx\": 19361,\n\t\"./Areas/Projects/ProjectTenantsRegistration.tsx\": 44824,\n\t\"./Areas/Projects/ProjectTriggerBuiltInFeedNewRegistration.tsx\": 40098,\n\t\"./Areas/Projects/ProjectTriggerBuiltInFeedRegistration.tsx\": 74448,\n\t\"./Areas/Projects/ProjectTriggerDeploymentTargetNewRegistration.tsx\": 83525,\n\t\"./Areas/Projects/ProjectTriggerDeploymentTargetRegistration.tsx\": 34229,\n\t\"./Areas/Projects/ProjectTriggerGitRepositoryNewRegistration.tsx\": 71853,\n\t\"./Areas/Projects/ProjectTriggerGitRepositoryRegistration.tsx\": 29117,\n\t\"./Areas/Projects/ProjectTriggerReleaseNewRegistration.tsx\": 74980,\n\t\"./Areas/Projects/ProjectTriggerReleaseRegistration.tsx\": 6238,\n\t\"./Areas/Projects/ProjectTriggerScheduledNewRegistration.tsx\": 80550,\n\t\"./Areas/Projects/ProjectTriggerScheduledRegistration.tsx\": 68372,\n\t\"./Areas/Projects/ProjectTriggersRegistration.tsx\": 23114,\n\t\"./Areas/Projects/ProjectVariableAllRegistration.tsx\": 77658,\n\t\"./Areas/Projects/ProjectVariableCommonTemplatesRegistration.tsx\": 65635,\n\t\"./Areas/Projects/ProjectVariableLibraryRegistration.tsx\": 50938,\n\t\"./Areas/Projects/ProjectVariablePreviewRegistration.tsx\": 20323,\n\t\"./Areas/Projects/ProjectVariableTemplatesRegistration.tsx\": 44330,\n\t\"./Areas/Projects/ProjectVariablesRegistration.tsx\": 49808,\n\t\"./Areas/Projects/ProjectVersionControlSettingsRegistration.tsx\": 29733,\n\t\"./Areas/Projects/ProjectsRegistration.tsx\": 7064,\n\t\"./Areas/Tasks/TaskRawRegistration.tsx\": 52031,\n\t\"./Areas/Tasks/TaskRegistration.tsx\": 63819,\n\t\"./Areas/Tasks/TasksRegistration.tsx\": 82454,\n\t\"./Areas/Tasks/TasksScriptConsoleRegistration.tsx\": 50138,\n\t\"./Areas/Tenants/TenantOverviewRegistration.tsx\": 97898,\n\t\"./Areas/Tenants/TenantSettingsRegistration.tsx\": 64756,\n\t\"./Areas/Tenants/TenantTasksRegistration.tsx\": 62639,\n\t\"./Areas/Tenants/TenantVariablesRegistration.tsx\": 67266,\n\t\"./Areas/Tenants/TenantsRegistration.tsx\": 55194,\n\t\"./Areas/UserProfile/UserProfileActivityRegistration.tsx\": 16965,\n\t\"./Areas/UserProfile/UserProfileApiKeysRegistration.tsx\": 17989,\n\t\"./Areas/UserProfile/UserProfileDetailsRegistration.tsx\": 59684,\n\t\"./Areas/UserProfile/UserProfileLoginsRegistration.tsx\": 71952,\n\t\"./Areas/UserProfile/UserProfileRegistration.tsx\": 12106,\n\t\"./Areas/UserProfile/UserRegisterRegistration.tsx\": 75768,\n\t\"./Areas/UserProfile/UserSignInRegistration.tsx\": 9357,\n\t\"./Areas/UserProfile/UserSignOutRegistration.tsx\": 91616\n};\n\n\nfunction webpackContext(req) {\n\tvar id = webpackContextResolve(req);\n\treturn __webpack_require__(id);\n}\nfunction webpackContextResolve(req) {\n\tif(!__webpack_require__.o(map, req)) {\n\t\tvar e = new Error(\"Cannot find module '\" + req + \"'\");\n\t\te.code = 'MODULE_NOT_FOUND';\n\t\tthrow e;\n\t}\n\treturn map[req];\n}\nwebpackContext.keys = function webpackContextKeys() {\n\treturn Object.keys(map);\n};\nwebpackContext.resolve = webpackContextResolve;\nmodule.exports = webpackContext;\nwebpackContext.id = 63388;","var map = {\n\t\"./slide1-welcomeoctopus-ie11.svg\": 29932,\n\t\"./slide1-welcomeoctopus.svg\": 47883\n};\n\n\nfunction webpackContext(req) {\n\tvar id = webpackContextResolve(req);\n\treturn __webpack_require__(id);\n}\nfunction webpackContextResolve(req) {\n\tif(!__webpack_require__.o(map, req)) {\n\t\tvar e = new Error(\"Cannot find module '\" + req + \"'\");\n\t\te.code = 'MODULE_NOT_FOUND';\n\t\tthrow e;\n\t}\n\treturn map[req];\n}\nwebpackContext.keys = function webpackContextKeys() {\n\treturn Object.keys(map);\n};\nwebpackContext.resolve = webpackContextResolve;\nmodule.exports = webpackContext;\nwebpackContext.id = 87865;","var map = {\n\t\"./slide2-environments-ie11.svg\": 78620,\n\t\"./slide2-environments.svg\": 18843\n};\n\n\nfunction webpackContext(req) {\n\tvar id = webpackContextResolve(req);\n\treturn __webpack_require__(id);\n}\nfunction webpackContextResolve(req) {\n\tif(!__webpack_require__.o(map, req)) {\n\t\tvar e = new Error(\"Cannot find module '\" + req + \"'\");\n\t\te.code = 'MODULE_NOT_FOUND';\n\t\tthrow e;\n\t}\n\treturn map[req];\n}\nwebpackContext.keys = function webpackContextKeys() {\n\treturn Object.keys(map);\n};\nwebpackContext.resolve = webpackContextResolve;\nmodule.exports = webpackContext;\nwebpackContext.id = 13515;","var map = {\n\t\"./slide3-package-ie11.svg\": 62239,\n\t\"./slide3-package.svg\": 3798\n};\n\n\nfunction webpackContext(req) {\n\tvar id = webpackContextResolve(req);\n\treturn __webpack_require__(id);\n}\nfunction webpackContextResolve(req) {\n\tif(!__webpack_require__.o(map, req)) {\n\t\tvar e = new Error(\"Cannot find module '\" + req + \"'\");\n\t\te.code = 'MODULE_NOT_FOUND';\n\t\tthrow e;\n\t}\n\treturn map[req];\n}\nwebpackContext.keys = function webpackContextKeys() {\n\treturn Object.keys(map);\n};\nwebpackContext.resolve = webpackContextResolve;\nmodule.exports = webpackContext;\nwebpackContext.id = 61888;","var map = {\n\t\"./slide4-steps-ie11.svg\": 92137,\n\t\"./slide4-steps.svg\": 33700\n};\n\n\nfunction webpackContext(req) {\n\tvar id = webpackContextResolve(req);\n\treturn __webpack_require__(id);\n}\nfunction webpackContextResolve(req) {\n\tif(!__webpack_require__.o(map, req)) {\n\t\tvar e = new Error(\"Cannot find module '\" + req + \"'\");\n\t\te.code = 'MODULE_NOT_FOUND';\n\t\tthrow e;\n\t}\n\treturn map[req];\n}\nwebpackContext.keys = function webpackContextKeys() {\n\treturn Object.keys(map);\n};\nwebpackContext.resolve = webpackContextResolve;\nmodule.exports = webpackContext;\nwebpackContext.id = 55272;","var map = {\n\t\"./slide5-release-ie11.svg\": 25152,\n\t\"./slide5-release.svg\": 5783\n};\n\n\nfunction webpackContext(req) {\n\tvar id = webpackContextResolve(req);\n\treturn __webpack_require__(id);\n}\nfunction webpackContextResolve(req) {\n\tif(!__webpack_require__.o(map, req)) {\n\t\tvar e = new Error(\"Cannot find module '\" + req + \"'\");\n\t\te.code = 'MODULE_NOT_FOUND';\n\t\tthrow e;\n\t}\n\treturn map[req];\n}\nwebpackContext.keys = function webpackContextKeys() {\n\treturn Object.keys(map);\n};\nwebpackContext.resolve = webpackContextResolve;\nmodule.exports = webpackContext;\nwebpackContext.id = 62951;","/* # Background\n\n## Module systems\nAt the time of writing, typescript is configured to transform files to CommonJS modules.\nThis means that `import` statements get replaced with `require`.\nThis is not a supported way of importing files natively in the browser,\nbut works for us because webpack knows how to handle CommonJS modules and processes these files\nto replaces the \"require\" calls with its own function (__webpack_require).\n\n## Webpack imports\nAt compile time, webpack parses all sources files to discover the import/require statements.\nIt then builds up a map of each import expression to its source file. In order to do this, it needs to statically\nknow the location where each import expression points to.\n\nFor this reason, webpack struggles with import expressions that are dynamic and depend on runtime values. For the docs:\n\n > It is not possible to use a fully dynamic import statement, such as import(foo).\n > Because foo could potentially be any path to any file in your system or project.\n Source: https://webpack.js.org/api/module-methods/#dynamic-expressions-in-import\n\n# The problem\nIf we try to import a module from a URL directly, webpack will fail to compile with:\n > Critical dependency: the request of a dependency is an expression.\n\nAt runtime, even if this file were to somehow use the __webpack_require function, it would fail to require the module since the\nexpression passed to this function would not exist in the collection of statically known webpack imports.\n\n# The solution\nBy moving the dynamic loading out to its own file, we can use the `noParse` option to tell webpack not to parse this file.\nThis means that webpack won't interpret the import/require statements and replace them with __webpack_require\n\nHowever, this would still fail because the file would be a plain CommonJS module using the `require` function to load\nits dependencies, which does not exist natively in the browser.\n\nTo get around this problem, we opt out of using typescript for this file by using a plain JS file. This allows us to\nuse import directly, and this won't be transformed in any way.\n\nWe also need to assign state to the `exports` object directly here instead of using the `export` keyword. This is\nbecause this file still gets included in a bundle generated by webpack, where webpack provides the exports object\nto which this file can assign values.\n*/\n/**\n * @param {string} url - The url to import from\n * @return {Promise} The import result as a promise\n */\nexports.importFromDynamicExpression = (url) => import(url);\n","var map = {\n\t\"./areas/projects/components/Process/ConnectedDeploymentTargetsStatus/assets/img-feature-unassignedtargettags-dark.png\": 19721,\n\t\"./areas/projects/components/Process/ConnectedDeploymentTargetsStatus/assets/img-feature-unassignedtargettags-light.png\": 80873,\n\t\"./resources/images/Octopus-96x96.png\": 84761,\n\t\"./resources/images/octo-surfer-200.png\": 38625\n};\n\n\nfunction webpackContext(req) {\n\tvar id = webpackContextResolve(req);\n\treturn __webpack_require__(id);\n}\nfunction webpackContextResolve(req) {\n\tif(!__webpack_require__.o(map, req)) {\n\t\tvar e = new Error(\"Cannot find module '\" + req + \"'\");\n\t\te.code = 'MODULE_NOT_FOUND';\n\t\tthrow e;\n\t}\n\treturn map[req];\n}\nwebpackContext.keys = function webpackContextKeys() {\n\treturn Object.keys(map);\n};\nwebpackContext.resolve = webpackContextResolve;\nmodule.exports = webpackContext;\nwebpackContext.id = 62577;","var map = {\n\t\"./areas/configuration/components/AuditLayout/assets/img-newstream.svg\": 27664,\n\t\"./areas/configuration/components/AuditLayout/assets/img-upsell-dark.svg\": 97214,\n\t\"./areas/configuration/components/AuditLayout/assets/img-upsell-light.svg\": 70622,\n\t\"./areas/dashboard/Onboarding/WelcomeDialog/Images/Configure-dark.svg\": 8180,\n\t\"./areas/dashboard/Onboarding/WelcomeDialog/Images/Configure-light.svg\": 14140,\n\t\"./areas/dashboard/Onboarding/WelcomeDialog/Images/Deploy-dark.svg\": 21357,\n\t\"./areas/dashboard/Onboarding/WelcomeDialog/Images/Deploy-light.svg\": 25243,\n\t\"./areas/dashboard/Onboarding/WelcomeDialog/Images/Measure-dark.svg\": 70392,\n\t\"./areas/dashboard/Onboarding/WelcomeDialog/Images/Measure-light.svg\": 34904,\n\t\"./areas/dashboard/Onboarding/WelcomeDialog/Images/Operate-dark.svg\": 95568,\n\t\"./areas/dashboard/Onboarding/WelcomeDialog/Images/Operate-light.svg\": 26464,\n\t\"./areas/dashboard/Onboarding/WelcomeDialog/Images/Releases-dark.svg\": 2536,\n\t\"./areas/dashboard/Onboarding/WelcomeDialog/Images/Releases-light.svg\": 14376,\n\t\"./areas/infrastructure/components/EnvironmentsLayout/EnvironmentsIcon.svg\": 99899,\n\t\"./areas/infrastructure/components/EnvironmentsLayout/onboarding-environments.svg\": 37340,\n\t\"./areas/infrastructure/components/EnvironmentsLayout/onboarding-targets.svg\": 27128,\n\t\"./areas/infrastructure/components/EnvironmentsLayout/onboarding-targettypes.svg\": 752,\n\t\"./areas/infrastructure/components/InfrastructureDashboard/onboarding-accounts.svg\": 75155,\n\t\"./areas/infrastructure/components/InfrastructureDashboard/onboarding-environments-2.svg\": 67884,\n\t\"./areas/infrastructure/components/InfrastructureDashboard/onboarding-infrastructure.svg\": 35038,\n\t\"./areas/infrastructure/components/InfrastructureDashboard/onboarding-machinePolicies.svg\": 52008,\n\t\"./areas/infrastructure/components/InfrastructureDashboard/onboarding-proxies.svg\": 91738,\n\t\"./areas/infrastructure/components/InfrastructureDashboard/onboarding-worker.svg\": 47897,\n\t\"./areas/infrastructure/components/MachineSettings/Endpoints/Images/k8s-agent-configure-target-help.svg\": 57159,\n\t\"./areas/infrastructure/components/MachineSettings/Endpoints/Images/k8s-agent-configure-worker-help.svg\": 49408,\n\t\"./areas/infrastructure/components/MachineSettings/Endpoints/Images/k8s-agent-install-help.svg\": 6324,\n\t\"./areas/infrastructure/components/MachineSettings/Endpoints/Images/k8s-agent-nfs-target-help.svg\": 69604,\n\t\"./areas/infrastructure/components/MachineSettings/Endpoints/Images/k8s-agent-nfs-worker-help.svg\": 81891,\n\t\"./areas/infrastructure/components/MachineStatusIcons/Server-Busy-KubernetesTentacle.svg\": 27973,\n\t\"./areas/infrastructure/components/MachineStatusIcons/Server-CalamariNeedsUpgrade-KubernetesTentacle.svg\": 69743,\n\t\"./areas/infrastructure/components/MachineStatusIcons/Server-CalamariNeedsUpgrade-Ssh.svg\": 36465,\n\t\"./areas/infrastructure/components/MachineStatusIcons/Server-CalamariNeedsUpgrade-TentacleActive.svg\": 50449,\n\t\"./areas/infrastructure/components/MachineStatusIcons/Server-CalamariNeedsUpgrade-TentaclePassive.svg\": 13294,\n\t\"./areas/infrastructure/components/MachineStatusIcons/Server-Default-AzureCloudService.svg\": 38710,\n\t\"./areas/infrastructure/components/MachineStatusIcons/Server-Default-AzureServiceFabricCluster.svg\": 49382,\n\t\"./areas/infrastructure/components/MachineStatusIcons/Server-Default-AzureWebApp.svg\": 69909,\n\t\"./areas/infrastructure/components/MachineStatusIcons/Server-Default-Kubernetes.svg\": 87877,\n\t\"./areas/infrastructure/components/MachineStatusIcons/Server-Default-KubernetesTentacle.svg\": 34079,\n\t\"./areas/infrastructure/components/MachineStatusIcons/Server-Default-None.svg\": 19023,\n\t\"./areas/infrastructure/components/MachineStatusIcons/Server-Default-OfflineDrop.svg\": 91725,\n\t\"./areas/infrastructure/components/MachineStatusIcons/Server-Default-Ssh.svg\": 67265,\n\t\"./areas/infrastructure/components/MachineStatusIcons/Server-Default-TentacleActive.svg\": 78785,\n\t\"./areas/infrastructure/components/MachineStatusIcons/Server-Default-TentaclePassive.svg\": 61086,\n\t\"./areas/infrastructure/components/MachineStatusIcons/Server-Disabled-AzureCloudService.svg\": 72220,\n\t\"./areas/infrastructure/components/MachineStatusIcons/Server-Disabled-AzureServiceFabricCluster.svg\": 69239,\n\t\"./areas/infrastructure/components/MachineStatusIcons/Server-Disabled-AzureWebApp.svg\": 784,\n\t\"./areas/infrastructure/components/MachineStatusIcons/Server-Disabled-Kubernetes.svg\": 76974,\n\t\"./areas/infrastructure/components/MachineStatusIcons/Server-Disabled-KubernetesTentacle.svg\": 70720,\n\t\"./areas/infrastructure/components/MachineStatusIcons/Server-Disabled-None.svg\": 19448,\n\t\"./areas/infrastructure/components/MachineStatusIcons/Server-Disabled-OfflineDrop.svg\": 15732,\n\t\"./areas/infrastructure/components/MachineStatusIcons/Server-Disabled-Ssh.svg\": 66312,\n\t\"./areas/infrastructure/components/MachineStatusIcons/Server-Disabled-TentacleActive.svg\": 59734,\n\t\"./areas/infrastructure/components/MachineStatusIcons/Server-Disabled-TentaclePassive.svg\": 94399,\n\t\"./areas/infrastructure/components/MachineStatusIcons/Server-HasWarnings-KubernetesTentacle.svg\": 64547,\n\t\"./areas/infrastructure/components/MachineStatusIcons/Server-HasWarnings-Ssh.svg\": 18061,\n\t\"./areas/infrastructure/components/MachineStatusIcons/Server-HasWarnings-TentacleActive.svg\": 82205,\n\t\"./areas/infrastructure/components/MachineStatusIcons/Server-HasWarnings-TentaclePassive.svg\": 69050,\n\t\"./areas/infrastructure/components/MachineStatusIcons/Server-Healthy-AzureCloudService.svg\": 58838,\n\t\"./areas/infrastructure/components/MachineStatusIcons/Server-Healthy-AzureServiceFabricCluster.svg\": 198,\n\t\"./areas/infrastructure/components/MachineStatusIcons/Server-Healthy-AzureWebApp.svg\": 64789,\n\t\"./areas/infrastructure/components/MachineStatusIcons/Server-Healthy-Kubernetes.svg\": 36613,\n\t\"./areas/infrastructure/components/MachineStatusIcons/Server-Healthy-KubernetesTentacle.svg\": 15583,\n\t\"./areas/infrastructure/components/MachineStatusIcons/Server-Healthy-None.svg\": 16431,\n\t\"./areas/infrastructure/components/MachineStatusIcons/Server-Healthy-OfflineDrop.svg\": 94381,\n\t\"./areas/infrastructure/components/MachineStatusIcons/Server-Healthy-Ssh.svg\": 36257,\n\t\"./areas/infrastructure/components/MachineStatusIcons/Server-Healthy-TentacleActive.svg\": 15201,\n\t\"./areas/infrastructure/components/MachineStatusIcons/Server-Healthy-TentaclePassive.svg\": 30238,\n\t\"./areas/infrastructure/components/MachineStatusIcons/Server-NeedsUpgrade-KubernetesTentacle.svg\": 53307,\n\t\"./areas/infrastructure/components/MachineStatusIcons/Server-NeedsUpgrade-TentacleActive.svg\": 31109,\n\t\"./areas/infrastructure/components/MachineStatusIcons/Server-NeedsUpgrade-TentaclePassive.svg\": 63506,\n\t\"./areas/infrastructure/components/MachineStatusIcons/Server-Unavailable-AzureCloudService.svg\": 96595,\n\t\"./areas/infrastructure/components/MachineStatusIcons/Server-Unavailable-AzureServiceFabricCluster.svg\": 42387,\n\t\"./areas/infrastructure/components/MachineStatusIcons/Server-Unavailable-AzureWebApp.svg\": 52492,\n\t\"./areas/infrastructure/components/MachineStatusIcons/Server-Unavailable-Kubernetes.svg\": 41218,\n\t\"./areas/infrastructure/components/MachineStatusIcons/Server-Unavailable-KubernetesTentacle.svg\": 53284,\n\t\"./areas/infrastructure/components/MachineStatusIcons/Server-Unavailable-OfflineDrop.svg\": 3568,\n\t\"./areas/infrastructure/components/MachineStatusIcons/Server-Unavailable-Ssh.svg\": 56740,\n\t\"./areas/infrastructure/components/MachineStatusIcons/Server-Unavailable-TentacleActive.svg\": 2098,\n\t\"./areas/infrastructure/components/MachineStatusIcons/Server-Unavailable-TentaclePassive.svg\": 44459,\n\t\"./areas/infrastructure/components/MachineStatusIcons/Server-Unhealthy-AzureCloudService.svg\": 14113,\n\t\"./areas/infrastructure/components/MachineStatusIcons/Server-Unhealthy-AzureServiceFabricCluster.svg\": 69437,\n\t\"./areas/infrastructure/components/MachineStatusIcons/Server-Unhealthy-AzureWebApp.svg\": 68162,\n\t\"./areas/infrastructure/components/MachineStatusIcons/Server-Unhealthy-Kubernetes.svg\": 4160,\n\t\"./areas/infrastructure/components/MachineStatusIcons/Server-Unhealthy-KubernetesTentacle.svg\": 51418,\n\t\"./areas/infrastructure/components/MachineStatusIcons/Server-Unhealthy-OfflineDrop.svg\": 98174,\n\t\"./areas/infrastructure/components/MachineStatusIcons/Server-Unhealthy-Ssh.svg\": 34498,\n\t\"./areas/infrastructure/components/MachineStatusIcons/Server-Unhealthy-TentacleActive.svg\": 4444,\n\t\"./areas/infrastructure/components/MachineStatusIcons/Server-Unhealthy-TentaclePassive.svg\": 22093,\n\t\"./areas/infrastructure/components/MachineStatusIcons/Server-Unknown-AzureCloudService.svg\": 6719,\n\t\"./areas/infrastructure/components/MachineStatusIcons/Server-Unknown-AzureServiceFabricCluster.svg\": 24743,\n\t\"./areas/infrastructure/components/MachineStatusIcons/Server-Unknown-AzureWebApp.svg\": 29856,\n\t\"./areas/infrastructure/components/MachineStatusIcons/Server-Unknown-Kubernetes.svg\": 2014,\n\t\"./areas/infrastructure/components/MachineStatusIcons/Server-Unknown-KubernetesTentacle.svg\": 99120,\n\t\"./areas/infrastructure/components/MachineStatusIcons/Server-Unknown-None.svg\": 26280,\n\t\"./areas/infrastructure/components/MachineStatusIcons/Server-Unknown-OfflineDrop.svg\": 52676,\n\t\"./areas/infrastructure/components/MachineStatusIcons/Server-Unknown-Ssh.svg\": 67992,\n\t\"./areas/infrastructure/components/MachineStatusIcons/Server-Unknown-TentacleActive.svg\": 65990,\n\t\"./areas/infrastructure/components/MachineStatusIcons/Server-Unknown-TentaclePassive.svg\": 65743,\n\t\"./areas/infrastructure/components/MachinesLayout/onboarding-workers.svg\": 46747,\n\t\"./areas/infrastructure/components/WorkerPools/WorkerPoolsLayout/WorkerPoolIcon.svg\": 16814,\n\t\"./areas/insights/components/Reports/ReportList/assets/NewReport_Insights_Dark.svg\": 41739,\n\t\"./areas/insights/components/Reports/ReportList/assets/NewReport_Insights_Light.svg\": 85313,\n\t\"./areas/library/components/BuiltInRepository/onboarding-pkg-Octopack.svg\": 72240,\n\t\"./areas/library/components/BuiltInRepository/onboarding-pkg-api.svg\": 15298,\n\t\"./areas/library/components/BuiltInRepository/onboarding-pkg-dotnetpack.svg\": 1255,\n\t\"./areas/library/components/BuiltInRepository/onboarding-pkg-extensions.svg\": 89779,\n\t\"./areas/library/components/BuiltInRepository/onboarding-pkg-gruntgulp.svg\": 37624,\n\t\"./areas/library/components/BuiltInRepository/onboarding-pkg-zip.svg\": 18707,\n\t\"./areas/library/components/BuiltInRepository/onboarding-pkg.svg\": 62137,\n\t\"./areas/library/components/BuiltInRepository/onboarding-push.svg\": 50813,\n\t\"./areas/library/components/ExternalFeeds/onboarding-feed-builtin.svg\": 92238,\n\t\"./areas/library/components/ExternalFeeds/onboarding-feed-docker.svg\": 81305,\n\t\"./areas/library/components/ExternalFeeds/onboarding-feed-http.svg\": 90473,\n\t\"./areas/library/components/ExternalFeeds/onboarding-feed-localdirectory.svg\": 51347,\n\t\"./areas/library/components/ExternalFeeds/onboarding-feed-maven.svg\": 990,\n\t\"./areas/library/components/ExternalFeeds/onboarding-feed-myget.svg\": 12801,\n\t\"./areas/library/components/ExternalFeeds/onboarding-feed-teamcity.svg\": 61807,\n\t\"./areas/library/components/ExternalFeeds/onboarding-feed-vsts.svg\": 93131,\n\t\"./areas/projects/components/DashboardDataSource/un-tenanted-deployment-logo.svg\": 83287,\n\t\"./areas/projects/components/DeploymentsOverview/onboarding-process.svg\": 41831,\n\t\"./areas/projects/components/DeploymentsOverview/onboarding-variable.svg\": 80656,\n\t\"./areas/projects/components/Process/Common/onboarding-communitysteps.svg\": 55444,\n\t\"./areas/projects/components/Process/Common/onboarding-steps.svg\": 87617,\n\t\"./areas/projects/components/Process/Common/step-rolling.svg\": 10194,\n\t\"./areas/projects/components/ProjectLayout/SampleProjectTour/Assets/TourComplete.svg\": 62607,\n\t\"./areas/projects/components/Projects/VerticalNavigationIntroIllustration.svg\": 94423,\n\t\"./areas/projects/components/Releases/onboarding-releases.svg\": 77397,\n\t\"./areas/projects/components/Runbooks/un-tenanted-deployment-logo.svg\": 75351,\n\t\"./components/Chips/excluded-environment-chip.svg\": 32793,\n\t\"./components/Chips/machine-chip.svg\": 51018,\n\t\"./components/Chips/project-chip.svg\": 17386,\n\t\"./components/ContextualHelp/assets/img-lifecycle.svg\": 99315,\n\t\"./components/ContextualHelpLayout/PageHelpRegistry/Images/Channels.svg\": 50071,\n\t\"./components/ContextualHelpLayout/PageHelpRegistry/Images/DeploymentProcess.svg\": 40008,\n\t\"./components/ContextualHelpLayout/PageHelpRegistry/Images/DeploymentTargets.svg\": 69485,\n\t\"./components/ContextualHelpLayout/PageHelpRegistry/Images/Environments.svg\": 5382,\n\t\"./components/ContextualHelpLayout/PageHelpRegistry/Images/Infrastructure.svg\": 77113,\n\t\"./components/ContextualHelpLayout/PageHelpRegistry/Images/Lifecycle.svg\": 32891,\n\t\"./components/ContextualHelpLayout/PageHelpRegistry/Images/Project.svg\": 51435,\n\t\"./components/ContextualHelpLayout/PageHelpRegistry/Images/Projects.svg\": 43906,\n\t\"./components/ContextualHelpLayout/PageHelpRegistry/Images/Release.svg\": 50443,\n\t\"./components/ContextualHelpLayout/PageHelpRegistry/Images/Spaces.svg\": 31809,\n\t\"./components/ContextualHelpLayout/PageHelpRegistry/Images/Teams.svg\": 16118,\n\t\"./components/ContextualHelpLayout/PageHelpRegistry/Images/Tenant.svg\": 77516,\n\t\"./components/ContextualHelpLayout/PageHelpRegistry/Images/Tenants.svg\": 39143,\n\t\"./components/ContextualHelpLayout/PageHelpRegistry/Images/Trigger-Deployment-Target.svg\": 32150,\n\t\"./components/ContextualHelpLayout/PageHelpRegistry/Images/Trigger-Scheduled-Deployment.svg\": 50070,\n\t\"./components/ContextualHelpLayout/PageHelpRegistry/Images/Trigger-Scheduled-Runbook.svg\": 93185,\n\t\"./components/ContextualHelpLayout/PageHelpRegistry/Images/Triggers.svg\": 31939,\n\t\"./components/ContextualHelpLayout/PageHelpRegistry/Images/Variables.svg\": 3487,\n\t\"./components/ContextualHelpLayout/PageHelpRegistry/Images/Worker.svg\": 5726,\n\t\"./components/ContextualHelpLayout/PageHelpRegistry/Images/WorkerPool.svg\": 61104,\n\t\"./components/GettingStarted/Deploy.svg\": 83023,\n\t\"./components/GettingStarted/Environments.svg\": 74688,\n\t\"./components/GettingStarted/Octopus.svg\": 55329,\n\t\"./components/GettingStarted/Package.svg\": 86226,\n\t\"./components/GettingStarted/Project.svg\": 78421,\n\t\"./components/GettingStarted/WelcomeSlides/circle-tooltip-hover.svg\": 17668,\n\t\"./components/GettingStarted/WelcomeSlides/circle-tooltip.svg\": 83673,\n\t\"./components/GettingStarted/WelcomeSlides/slide1-welcomeoctopus-ie11.svg\": 29932,\n\t\"./components/GettingStarted/WelcomeSlides/slide1-welcomeoctopus.svg\": 47883,\n\t\"./components/GettingStarted/WelcomeSlides/slide2-environments-ie11.svg\": 78620,\n\t\"./components/GettingStarted/WelcomeSlides/slide2-environments.svg\": 18843,\n\t\"./components/GettingStarted/WelcomeSlides/slide3-package-ie11.svg\": 62239,\n\t\"./components/GettingStarted/WelcomeSlides/slide3-package.svg\": 3798,\n\t\"./components/GettingStarted/WelcomeSlides/slide4-steps-ie11.svg\": 92137,\n\t\"./components/GettingStarted/WelcomeSlides/slide4-steps.svg\": 33700,\n\t\"./components/GettingStarted/WelcomeSlides/slide5-release-ie11.svg\": 25152,\n\t\"./components/GettingStarted/WelcomeSlides/slide5-release.svg\": 5783,\n\t\"./components/GettingStarted/image-placeholder.svg\": 89685,\n\t\"./components/GettingStarted/onboarding-cowboy.svg\": 78763,\n\t\"./components/GettingStarted/onboarding-success.svg\": 65415,\n\t\"./components/GettingStarted/onboardingImage.svg\": 33256,\n\t\"./components/GettingStarted/success-ani.svg\": 13882,\n\t\"./components/ProjectBasedActivation/assets/img-addproject-dark.svg\": 32274,\n\t\"./components/ProjectBasedActivation/assets/img-addproject-light.svg\": 64746,\n\t\"./components/ProjectBasedActivation/assets/img-addproject.svg\": 46593,\n\t\"./components/ProjectBasedActivation/assets/img-environments-dark.svg\": 48272,\n\t\"./components/ProjectBasedActivation/assets/img-environments-light.svg\": 71264,\n\t\"./components/ProjectBasedActivation/assets/img-environments.svg\": 51187,\n\t\"./components/ProjectBasedActivation/assets/img-k8s-dark.svg\": 54804,\n\t\"./components/ProjectBasedActivation/assets/img-k8s-light.svg\": 64604,\n\t\"./components/ProjectBasedActivation/assets/img-questionnaire.svg\": 85524,\n\t\"./components/ProjectBasedActivation/assets/img-rocket-clipped.svg\": 36403,\n\t\"./components/ProjectBasedActivation/assets/img-rocket.svg\": 76485,\n\t\"./components/ProjectBasedActivation/assets/img-successfuldeployment.svg\": 56002,\n\t\"./components/ProjectBasedActivation/assets/lightimg-project.svg\": 10490,\n\t\"./components/ProjectBasedActivation/placeholder-image.svg\": 77954,\n\t\"./primitiveComponents/dataDisplay/Avatar/img/avatar-placeholder.svg\": 12575,\n\t\"./primitiveComponents/dataDisplay/Avatar/img/octopus-service-440.svg\": 109,\n\t\"./primitiveComponents/dataDisplay/Avatar/img/user-placeholder.svg\": 48009,\n\t\"./primitiveComponents/dataDisplay/Avatar/img/work_team.svg\": 22041,\n\t\"./resources/fonts/Material/MaterialIcons-Regular.svg\": 58744,\n\t\"./resources/fonts/fontoctopus/fontoctopus.svg\": 82871,\n\t\"./resources/images/loading-image.svg\": 62288,\n\t\"./resources/images/octoclippy.svg\": 28813,\n\t\"./resources/images/octopus.svg\": 78931,\n\t\"./resources/images/waiting-for-octopus.svg\": 26067,\n\t\"./resources/onboarding-cowboy.svg\": 36648\n};\n\n\nfunction webpackContext(req) {\n\tvar id = webpackContextResolve(req);\n\treturn __webpack_require__(id);\n}\nfunction webpackContextResolve(req) {\n\tif(!__webpack_require__.o(map, req)) {\n\t\tvar e = new Error(\"Cannot find module '\" + req + \"'\");\n\t\te.code = 'MODULE_NOT_FOUND';\n\t\tthrow e;\n\t}\n\treturn map[req];\n}\nwebpackContext.keys = function webpackContextKeys() {\n\treturn Object.keys(map);\n};\nwebpackContext.resolve = webpackContextResolve;\nmodule.exports = webpackContext;\nwebpackContext.id = 51982;","// extracted by mini-css-extract-plugin\nmodule.exports = {\"container\":\"style-module_container__ml9eFfyWcH8IV_3BUKsX\",\"content\":\"style-module_content__bfqo5H3_WcPT6LgRQ4hR\",\"rememberMe\":\"style-module_rememberMe__qHScCEYXfpF53SNwOJhy\",\"logo\":\"style-module_logo__wvF9R70Aw2HhnHcxSyt3\",\"authenticationError\":\"style-module_authenticationError__d2ShRKtwHzOVyxrUn27n\",\"waitingForOctopus\":\"style-module_waitingForOctopus__PLLQXAc8xdheO6NkpS04\",\"waitingLogo\":\"style-module_waitingLogo__pKMwc6XhXBd8aKrVOsKd\",\"footerActions\":\"style-module_footerActions__fByamgYyHoQIfCRSSzcC\",\"loading\":\"style-module_loading__TmiWJElbQWySre1R0xWU\"};","// extracted by mini-css-extract-plugin\nmodule.exports = {\"hide-sm\":\"style-module_hide-sm__V05mpT_BLmwBeEJ0gE52\",\"hideSm\":\"style-module_hide-sm__V05mpT_BLmwBeEJ0gE52\",\"visible-sm\":\"style-module_visible-sm__nfe_cGrrPVcl9GLjASiN\",\"visibleSm\":\"style-module_visible-sm__nfe_cGrrPVcl9GLjASiN\",\"hide-md\":\"style-module_hide-md__la3zhQs9dt94Yjd6zNiU\",\"hideMd\":\"style-module_hide-md__la3zhQs9dt94Yjd6zNiU\",\"visible-md\":\"style-module_visible-md__R_tJlOR2IjJ5c_R0IOwK\",\"visibleMd\":\"style-module_visible-md__R_tJlOR2IjJ5c_R0IOwK\",\"container\":\"style-module_container__iMm5Q4SUYpRRqhMDYxY1\",\"content\":\"style-module_content__TI13ECUCdm4kGigH5xPH\",\"rememberMe\":\"style-module_rememberMe__SZttEDs6RmTSt7crdTGX\",\"logo\":\"style-module_logo__luJJyhxs30iYYYsKYYFg\",\"externalAuthProvider\":\"style-module_externalAuthProvider__FlG8cYXKm7JvzoTDFl5c\",\"externalNonFormsProviders\":\"style-module_externalNonFormsProviders__PPGr5HHy1u0VjVL7oJ8k\",\"guestProviderButtonContainer\":\"style-module_guestProviderButtonContainer__WtXaJ_Apx3vWOz1M3j7u\",\"authenticationError\":\"style-module_authenticationError__eNF3f3fMpsCoqHQHxxUw\",\"accountTypeSelection\":\"style-module_accountTypeSelection__ZOu4uoZ_oLzH5AEEv7GZ\",\"accountTypeIcon\":\"style-module_accountTypeIcon__gfphg6OWL4DKR1K6oHuE\",\"guestAccount\":\"style-module_guestAccount___V9MlDJUVPpCRZpY9VBc\",\"authenticatedAccount\":\"style-module_authenticatedAccount__bRVXyjgE2GaQL_3_hxPA\",\"areas\":\"style-module_areas__oiNl3Bxt6fxfcXTErc02\",\"loading\":\"style-module_loading__YY9vL5qnsyFgp6_YRqOo\"};","// extracted by mini-css-extract-plugin\nmodule.exports = {\"container\":\"style-module_container__IVkeibjtgJiPPa223Lir\",\"content\":\"style-module_content__DlOPUHq0O5F3utVQmBzw\",\"description\":\"style-module_description__VQlsQfGDTRvi1EDzhQ1d\",\"back\":\"style-module_back__MJqAnRVBjbbXAWJWUGBw\",\"logo\":\"style-module_logo__zoC1RuhnOZ4VGUfRjKIH\"};","// extracted by mini-css-extract-plugin\nmodule.exports = {\"hide-sm\":\"AuditStreamCategory-module_hide-sm__u4on8_83DJBBg4NOwHxI\",\"hideSm\":\"AuditStreamCategory-module_hide-sm__u4on8_83DJBBg4NOwHxI\",\"visible-sm\":\"AuditStreamCategory-module_visible-sm__foUVjAWQWNG20NMmF0YL\",\"visibleSm\":\"AuditStreamCategory-module_visible-sm__foUVjAWQWNG20NMmF0YL\",\"hide-md\":\"AuditStreamCategory-module_hide-md__peI9Bu08ApGxXQ5jrrXK\",\"hideMd\":\"AuditStreamCategory-module_hide-md__peI9Bu08ApGxXQ5jrrXK\",\"visible-md\":\"AuditStreamCategory-module_visible-md__j9G4_qoJaMm2u6jOCjiF\",\"visibleMd\":\"AuditStreamCategory-module_visible-md__j9G4_qoJaMm2u6jOCjiF\",\"auditStreamCategory\":\"AuditStreamCategory-module_auditStreamCategory__lHZjlA77f7jSlYht2o5U\",\"isSelectable\":\"AuditStreamCategory-module_isSelectable__iQhJDLywskKbX1QWDp2s\",\"blurred\":\"AuditStreamCategory-module_blurred__HV5AcLwH4iXP8gAwnumP\",\"categoryName\":\"AuditStreamCategory-module_categoryName__zFUILwWABLKcpws_XnbK\",\"active\":\"AuditStreamCategory-module_active__FPPyvtTL452PAJGnf4Mn\",\"inactive\":\"AuditStreamCategory-module_inactive__KtLXgAQyEa5amgGzshoQ\",\"activeIcon\":\"AuditStreamCategory-module_activeIcon__qqXG6V0ALXXPH51s2yle\",\"categories\":\"AuditStreamCategory-module_categories__oC1lXRcFcrvBHNVpfOuK\"};","// extracted by mini-css-extract-plugin\nmodule.exports = {\"hide-sm\":\"style-module_hide-sm__SXK6fGOH_E_XlSeK1CLl\",\"hideSm\":\"style-module_hide-sm__SXK6fGOH_E_XlSeK1CLl\",\"visible-sm\":\"style-module_visible-sm__AXCaTH6RyqqbiyrphgGA\",\"visibleSm\":\"style-module_visible-sm__AXCaTH6RyqqbiyrphgGA\",\"hide-md\":\"style-module_hide-md__xAtM1DpT12DjIvrhgrqd\",\"hideMd\":\"style-module_hide-md__xAtM1DpT12DjIvrhgrqd\",\"visible-md\":\"style-module_visible-md__yvipJtv91QBE9gHTvTGw\",\"visibleMd\":\"style-module_visible-md__yvipJtv91QBE9gHTvTGw\",\"list\":\"style-module_list__VmL_WJhfjls0vOt94Oyg\"};","// extracted by mini-css-extract-plugin\nmodule.exports = {\"dateRangeFilterContainer\":\"style-module_dateRangeFilterContainer__F02SMHPV821aBXkwW4yk\",\"filterHeaderContainer\":\"style-module_filterHeaderContainer__JHtXzOBPm2HYLnf2f1FQ\",\"noResultsContainer\":\"style-module_noResultsContainer__fEOyNsjQwjTi4UKB9bpe\",\"dateWrapper\":\"style-module_dateWrapper__rUqVsmct2DNGYcfebMhd\",\"noWrap\":\"style-module_noWrap__vj7Jwp1pbLlzlQruemJF\"};","// extracted by mini-css-extract-plugin\nmodule.exports = {\"fontoctopus-octopus\":\"style-module_fontoctopus-octopus__ZMt9EesgacC4pOPLdiSE\",\"fontoctopusOctopus\":\"style-module_fontoctopus-octopus__ZMt9EesgacC4pOPLdiSE\",\"monospace\":\"style-module_monospace__vzwkUTxfra8hDLFYkjdB\",\"body\":\"style-module_body__JQzuCIr_DLDMW9kWZkAt\",\"filters\":\"style-module_filters__Uh2pOPmJb7lPUeOJDqc6\"};","// extracted by mini-css-extract-plugin\nmodule.exports = {\"box\":\"TriggerSyncTask-module_box__eNJAOtJ6FesV2Lz1IVTl\",\"wrapper\":\"TriggerSyncTask-module_wrapper__KXX5Xh7r_6rDb3l6mVvz\",\"notRun\":\"TriggerSyncTask-module_notRun__VKqAXXLKCekmqxgylrdo\",\"taskSucceeded\":\"TriggerSyncTask-module_taskSucceeded__xj6gntW3NEqKDiS75gea\",\"title\":\"TriggerSyncTask-module_title__KWAjm5QS3i09P5HCTmT5\",\"taskFailed\":\"TriggerSyncTask-module_taskFailed__ywhWUFmI5HQhh2Ngatqr\",\"taskTime\":\"TriggerSyncTask-module_taskTime__uo6ZCsZ5FQ6z1V1FamJS\"};","// extracted by mini-css-extract-plugin\nmodule.exports = {\"successCallout\":\"style-module_successCallout__m8nw5RUyrJFRZGqdFRwh\"};","// extracted by mini-css-extract-plugin\nmodule.exports = {\"licenceBox\":\"style-module_licenceBox__t5pbgbtRbrWpNohe9_MY\",\"list\":\"style-module_list__dyrpJHflkUAC0yZs3_1c\"};","// extracted by mini-css-extract-plugin\nmodule.exports = {\"card-list\":\"style-module_card-list__k7bcPItxJVNmdBEOFoRk\",\"cardList\":\"style-module_card-list__k7bcPItxJVNmdBEOFoRk\",\"overview-item\":\"style-module_overview-item__Wto5BZvH7wbIhRXpT6E_\",\"overviewItem\":\"style-module_overview-item__Wto5BZvH7wbIhRXpT6E_\",\"overview-count\":\"style-module_overview-count__ScC8qBxixvzbBnczX_Z5\",\"overviewCount\":\"style-module_overview-count__ScC8qBxixvzbBnczX_Z5\",\"overview-description\":\"style-module_overview-description__hRcGv1iSQA8dQUhtfDHJ\",\"overviewDescription\":\"style-module_overview-description__hRcGv1iSQA8dQUhtfDHJ\"};","// extracted by mini-css-extract-plugin\nmodule.exports = {\"serverUri\":\"style-module_serverUri__U98IknZxgIMSpPiDgf7U\",\"filterBoxStandardWidth\":\"style-module_filterBoxStandardWidth__xsiaj8bQBQ0QqA4GH9uB\",\"sqlMaxPoolSizeWarning\":\"style-module_sqlMaxPoolSizeWarning__Bi4Gbqaf8HbElcoaMKSx\"};","// extracted by mini-css-extract-plugin\nmodule.exports = {\"root\":\"ProjectedTeamsList-module_root__BWV3HktX9o5UMiI3YaHO\",\"detail\":\"ProjectedTeamsList-module_detail__NFabXR_RRdWwd6ihUK20\",\"description\":\"ProjectedTeamsList-module_description__PjDv7DzC_C7uRKtufNrQ\",\"externalGroups\":\"ProjectedTeamsList-module_externalGroups__tlj0aU6tiBw_3Pu8yI1_\"};","// extracted by mini-css-extract-plugin\nmodule.exports = {\"hide-sm\":\"style-module_hide-sm__f77UzzxVTrB8Z0biX4Op\",\"hideSm\":\"style-module_hide-sm__f77UzzxVTrB8Z0biX4Op\",\"visible-sm\":\"style-module_visible-sm__daib9IOGLKWNha7doQPB\",\"visibleSm\":\"style-module_visible-sm__daib9IOGLKWNha7doQPB\",\"hide-md\":\"style-module_hide-md__Cpl2PXyx3zfub5FbGm2T\",\"hideMd\":\"style-module_hide-md__Cpl2PXyx3zfub5FbGm2T\",\"visible-md\":\"style-module_visible-md__uTiBMYI2u03CJW_6_H7E\",\"visibleMd\":\"style-module_visible-md__uTiBMYI2u03CJW_6_H7E\",\"permissions\":\"style-module_permissions__Bn1HKJcmBE7BIwoXwU2j\",\"roleName\":\"style-module_roleName__Z3tt7Jc8LO1BvkiE8bgA\",\"user\":\"style-module_user__pFrQIPDpfVhRVswsBE6K\",\"userName\":\"style-module_userName__xjcjGz6_srhzqEC188gK\",\"nameContainer\":\"style-module_nameContainer__IOUVjEMK_2uXEMoXax7U\",\"lockedCheck\":\"style-module_lockedCheck__oW0BRpjDiqHLYJMa5U1M\",\"permissionColumn\":\"style-module_permissionColumn__NsrKH4YQN7OUuD63cP2n\",\"descriptionColumn\":\"style-module_descriptionColumn__Lg7JVUgcBPvCI3Wf06SA\"};","// extracted by mini-css-extract-plugin\nmodule.exports = {};","// extracted by mini-css-extract-plugin\nmodule.exports = {\"filterBox\":\"style-module_filterBox__eih3YNrzVYIaVAyP6raa\",\"filter\":\"style-module_filter__P9dgORsT3D6RHgSW0lej\",\"row\":\"style-module_row__PYlpjFM2efLiW7UsdEBT\",\"logo\":\"style-module_logo__KoQAW3JiDbZJ_e2C2wxi\",\"linkWithCopy\":\"style-module_linkWithCopy__kvjAZb0rLCRzwCY1uvHu\",\"copyAction\":\"style-module_copyAction__SW6BtugRMY3C_ZTMVulA\",\"spaceName\":\"style-module_spaceName__GFUYJt2kLm8qDWiNHVSV\",\"addTeamInstructions\":\"style-module_addTeamInstructions__q3w0k0rcfv0b0WhO3lzO\",\"addTeamInstructionsList\":\"style-module_addTeamInstructionsList___60npF4GfqyibQO8bkS9\",\"spaceLimitHit\":\"style-module_spaceLimitHit__LervIgVduWQsSOqRlOqQ\",\"spaceManagersCalloutContainer\":\"style-module_spaceManagersCalloutContainer__ZCP8u7gwIA8mMVruGzJ6\"};","// extracted by mini-css-extract-plugin\nmodule.exports = {\"disabled\":\"style-module_disabled__tFPj5F5X5_V7xiKNVoIT\"};","// extracted by mini-css-extract-plugin\nmodule.exports = {\"hide-sm\":\"EditTeamPageStyle-module_hide-sm__M6tXBoYUmz7cT34sYV6Q\",\"hideSm\":\"EditTeamPageStyle-module_hide-sm__M6tXBoYUmz7cT34sYV6Q\",\"visible-sm\":\"EditTeamPageStyle-module_visible-sm__eny5VULIRnJEufTfyBF5\",\"visibleSm\":\"EditTeamPageStyle-module_visible-sm__eny5VULIRnJEufTfyBF5\",\"hide-md\":\"EditTeamPageStyle-module_hide-md__u_jCNdAyB4Mr5osPp8SL\",\"hideMd\":\"EditTeamPageStyle-module_hide-md__u_jCNdAyB4Mr5osPp8SL\",\"visible-md\":\"EditTeamPageStyle-module_visible-md__xWRZmUTZ6bKHUu9fzTsY\",\"visibleMd\":\"EditTeamPageStyle-module_visible-md__xWRZmUTZ6bKHUu9fzTsY\",\"formExpander\":\"EditTeamPageStyle-module_formExpander__nOGvAon4ejRfm1G2NNfx\",\"formNonExpander\":\"EditTeamPageStyle-module_formNonExpander__HmDkiWOs_5J32y1MLQn5\",\"cardTitleContainer\":\"EditTeamPageStyle-module_cardTitleContainer__pse4ZSin1Xir6C1sWsw0\",\"cardTitle\":\"EditTeamPageStyle-module_cardTitle__gyfThVxVFN5pU0NH2QgK\",\"cardSubTitle\":\"EditTeamPageStyle-module_cardSubTitle__RE5ftemkjksUez4SVoMB\",\"cardSubTitleWithOverflowMenu\":\"EditTeamPageStyle-module_cardSubTitleWithOverflowMenu__D3nuZM6EFavw2TyJFs5d\",\"overflowMenuActions\":\"EditTeamPageStyle-module_overflowMenuActions__IM3gsrHbFkLs82CKeIbM\",\"noScoping\":\"EditTeamPageStyle-module_noScoping__mhuBYawy0mvxSrBB404A\",\"markdownContainer\":\"EditTeamPageStyle-module_markdownContainer__vFV4ViC1zECH_y5pkbDM\"};","// extracted by mini-css-extract-plugin\nmodule.exports = {\"user\":\"MemberRow-module_user__WAtH_ryofKI6lHJtHXs2\",\"userName\":\"MemberRow-module_userName__mXeSbggWmvCKSTvA53Y0\",\"groupImage\":\"MemberRow-module_groupImage__y4Nl5lsW8gjgOGOQnKr0\"};","// extracted by mini-css-extract-plugin\nmodule.exports = {\"hide-sm\":\"style-module_hide-sm__r38GA3s5Afw5HkxcpwNt\",\"hideSm\":\"style-module_hide-sm__r38GA3s5Afw5HkxcpwNt\",\"visible-sm\":\"style-module_visible-sm__jRmXOH5diaCvKkm7cefD\",\"visibleSm\":\"style-module_visible-sm__jRmXOH5diaCvKkm7cefD\",\"hide-md\":\"style-module_hide-md__YnnMXXqWZ_cSX6KbMwGA\",\"hideMd\":\"style-module_hide-md__YnnMXXqWZ_cSX6KbMwGA\",\"visible-md\":\"style-module_visible-md__MBzeb3J0KhHa1HutbgDN\",\"visibleMd\":\"style-module_visible-md__MBzeb3J0KhHa1HutbgDN\",\"formExpander\":\"style-module_formExpander__Uh5lHzWyTLDD_01QUc5j\",\"formNonExpander\":\"style-module_formNonExpander__uplMmw1ddlMU9oVS_m66\",\"cardMedia\":\"style-module_cardMedia__z7x99BXx2CVkX4HQEcek\",\"cardTitleContainer\":\"style-module_cardTitleContainer__tpNfHIDjEt_4b4osMh4n\",\"overflowMenuActions\":\"style-module_overflowMenuActions__mz7PejbVgYugjnd3mVcm\"};","// extracted by mini-css-extract-plugin\nmodule.exports = {\"hide-sm\":\"style-module_hide-sm__tVUWpbc3v9wPsUG9pQRw\",\"hideSm\":\"style-module_hide-sm__tVUWpbc3v9wPsUG9pQRw\",\"visible-sm\":\"style-module_visible-sm__YHE8V0ztdUHRpCtfxQ_z\",\"visibleSm\":\"style-module_visible-sm__YHE8V0ztdUHRpCtfxQ_z\",\"hide-md\":\"style-module_hide-md__K5ODaeYwrZUyrTotY7Qy\",\"hideMd\":\"style-module_hide-md__K5ODaeYwrZUyrTotY7Qy\",\"visible-md\":\"style-module_visible-md__oDOEsnX5DcNhFHtq0QBr\",\"visibleMd\":\"style-module_visible-md__oDOEsnX5DcNhFHtq0QBr\",\"emptyList\":\"style-module_emptyList__Rc_Wt3NU94rD7jOS6fhI\",\"headerBar\":\"style-module_headerBar__Aj038kLO6ioje1IOh_Po\"};","// extracted by mini-css-extract-plugin\nmodule.exports = {\"hide-sm\":\"style-module_hide-sm__TdZO_JpT_gepMgaaiMFN\",\"hideSm\":\"style-module_hide-sm__TdZO_JpT_gepMgaaiMFN\",\"visible-sm\":\"style-module_visible-sm__g_Mcp6KSulZYtXJMONaK\",\"visibleSm\":\"style-module_visible-sm__g_Mcp6KSulZYtXJMONaK\",\"hide-md\":\"style-module_hide-md__d4gN3Yz7EGoRa31ETjAt\",\"hideMd\":\"style-module_hide-md__d4gN3Yz7EGoRa31ETjAt\",\"visible-md\":\"style-module_visible-md__O1X8izZ4lN_wGTmFUfIP\",\"visibleMd\":\"style-module_visible-md__O1X8izZ4lN_wGTmFUfIP\",\"permissions\":\"style-module_permissions__taZLiaxKmfV82gr1Av0W\",\"roleName\":\"style-module_roleName__L750AzniDhEHlfHIxnUZ\",\"missingRoleName\":\"style-module_missingRoleName__kLdF4IOksZvmgIlV4Ud9\",\"lists\":\"style-module_lists__wtFPCFAm7OkRQ6VqiAwd\",\"list\":\"style-module_list__u53lS5oXUkUxkivQRkQh\",\"listHeader\":\"style-module_listHeader___hkd65xtTQ9Y1_1bTs3M\",\"row\":\"style-module_row__jxNYhJokVKA7AQXtGB8P\",\"detailsHighlight\":\"style-module_detailsHighlight__im93RuXIGZh8L_4aCZHb\",\"permissionDescriptionsActionContainer\":\"style-module_permissionDescriptionsActionContainer__hajFWS6UBZRLhqmTNjw7\"};","// extracted by mini-css-extract-plugin\nmodule.exports = {\"lastTaskSection\":\"style-module_lastTaskSection__KHrkSkMOZtRm2wXQc3qH\",\"actionButtonWrap\":\"style-module_actionButtonWrap__A1FxFctyUJNHvn46mgIG\",\"taskTime\":\"style-module_taskTime__NTNDLXjFFWVkpg6m7F3d\"};","// extracted by mini-css-extract-plugin\nmodule.exports = {\"filterBox\":\"style-module_filterBox__VuMIf3rFkIudtIv6Wghq\",\"filter\":\"style-module_filter__ccPtYruA_12V9Z2OgeFm\",\"row\":\"style-module_row__gTN60wMSQmT6_eGnhP5J\",\"avatar\":\"style-module_avatar__rW5PYHxiHvrnBSho1Gad\",\"linkWithCopy\":\"style-module_linkWithCopy__fEF2W4SB3D60nB6UM5RV\",\"copyAction\":\"style-module_copyAction__Wy15trbheFJGMWMdzJgg\",\"link\":\"style-module_link__L8EK6eRDtx_E1rGAhwpA\"};","// extracted by mini-css-extract-plugin\nmodule.exports = {\"certInstructionList\":\"style-module_certInstructionList__baPPXKGDhVyaN9izQ0GL\",\"testingSuccess\":\"style-module_testingSuccess___oi5v1YD2qWYknVX8xZA\",\"failedAccountVerification\":\"style-module_failedAccountVerification__WU6znUo4cAmAQi6nbjPt\"};","// extracted by mini-css-extract-plugin\nmodule.exports = {\"typeName\":\"style-module_typeName__hjrzFjbD8AWnNVp2R1cA\",\"typeHeader\":\"style-module_typeHeader__NAGk6lQb9UUZJ6CtJdTw\",\"typeHeaderTitleContainer\":\"style-module_typeHeaderTitleContainer__R6zq1ObMowPBniROVH3b\",\"typeBody\":\"style-module_typeBody__DAw0coOF6r5R1k7WWw5_\",\"account\":\"style-module_account__LhQSlb8nZXwviUQuyBjp\"};","// extracted by mini-css-extract-plugin\nmodule.exports = {\"hide-sm\":\"style-module_hide-sm__G2xxsgVaQydqSd_qc6L7\",\"hideSm\":\"style-module_hide-sm__G2xxsgVaQydqSd_qc6L7\",\"visible-sm\":\"style-module_visible-sm__T5Y2ySJCqRrRt04p812M\",\"visibleSm\":\"style-module_visible-sm__T5Y2ySJCqRrRt04p812M\",\"hide-md\":\"style-module_hide-md__Xt_lkNldRme2WXGbbfMR\",\"hideMd\":\"style-module_hide-md__Xt_lkNldRme2WXGbbfMR\",\"visible-md\":\"style-module_visible-md__Y35lgZbwPTiSrrjSGAkr\",\"visibleMd\":\"style-module_visible-md__Y35lgZbwPTiSrrjSGAkr\",\"healthStatusCardTitleContainer\":\"style-module_healthStatusCardTitleContainer__cuAHh15Fvc2VFKGn03UF\",\"healthStatusName\":\"style-module_healthStatusName__lgwDC8hpNMmZ589yi1z4\",\"healthStatusMachinesCount\":\"style-module_healthStatusMachinesCount__TQ_o902SeVMbCmmOwRS0\",\"healthStatusIconContainer\":\"style-module_healthStatusIconContainer__mJ2Kstd9XVtf0UNeM4cU\"};","// extracted by mini-css-extract-plugin\nmodule.exports = {\"hide-sm\":\"style-module_hide-sm__ehHte8R1TEsHUK1VZaty\",\"hideSm\":\"style-module_hide-sm__ehHte8R1TEsHUK1VZaty\",\"visible-sm\":\"style-module_visible-sm__NaCyjb8oejQblT_y3v4w\",\"visibleSm\":\"style-module_visible-sm__NaCyjb8oejQblT_y3v4w\",\"hide-md\":\"style-module_hide-md__ZyRFfi0lMIyVDJPdSYDy\",\"hideMd\":\"style-module_hide-md__ZyRFfi0lMIyVDJPdSYDy\",\"visible-md\":\"style-module_visible-md__ko9OtHGxQvvPJrHwrxHq\",\"visibleMd\":\"style-module_visible-md__ko9OtHGxQvvPJrHwrxHq\",\"empty\":\"style-module_empty__BcGyEfhtSNytdBaOCoFs\",\"cardTitleContainer\":\"style-module_cardTitleContainer__mdHyCuWvEocyx4RRfI8Y\",\"environmentIcon\":\"style-module_environmentIcon__nisT6ECPvVm_toZcYH5u\",\"environmentName\":\"style-module_environmentName__dVUc4vG0fRNMAON1ielX\",\"environmentMachinesCount\":\"style-module_environmentMachinesCount__Dcey93RcupIiGCrR8eMg\",\"environmentSummaryCounts\":\"style-module_environmentSummaryCounts__JCoRhdtuzNkT0aDyd4s6\",\"summaryCount\":\"style-module_summaryCount__WT88qPmv68qowOdh6xjQ\",\"environmentOverflowActions\":\"style-module_environmentOverflowActions__mSRXfMdUmgxWjOf6Wdq9\",\"machineIcon\":\"style-module_machineIcon__qGNhTPZaXHSSbW0lowcZ\",\"healthStatusIconContainer\":\"style-module_healthStatusIconContainer__VXma343dAdsyicbgBxbA\",\"healthStatusCardTitleContainer\":\"style-module_healthStatusCardTitleContainer__n8ncr1FRfCekELlTMS0Y\",\"healthStatusName\":\"style-module_healthStatusName__APWcvHzuiGpAGA33qTtQ\",\"healthStatusMachinesCount\":\"style-module_healthStatusMachinesCount__CgNXGefkHTzgGwt2UNeJ\"};","// extracted by mini-css-extract-plugin\nmodule.exports = {\"hide-sm\":\"HealthStatusContentIconContainer-module_hide-sm__vDbSVwY4SRQ5qnZX1Uhp\",\"hideSm\":\"HealthStatusContentIconContainer-module_hide-sm__vDbSVwY4SRQ5qnZX1Uhp\",\"visible-sm\":\"HealthStatusContentIconContainer-module_visible-sm__EnzIV5yeVSfAD5yZ373O\",\"visibleSm\":\"HealthStatusContentIconContainer-module_visible-sm__EnzIV5yeVSfAD5yZ373O\",\"hide-md\":\"HealthStatusContentIconContainer-module_hide-md__G1eVeKKUc6TWK4_Bb7B_\",\"hideMd\":\"HealthStatusContentIconContainer-module_hide-md__G1eVeKKUc6TWK4_Bb7B_\",\"visible-md\":\"HealthStatusContentIconContainer-module_visible-md___kWy8ffY7tJ69uD7gUjS\",\"visibleMd\":\"HealthStatusContentIconContainer-module_visible-md___kWy8ffY7tJ69uD7gUjS\",\"healthStatusIconContainer\":\"HealthStatusContentIconContainer-module_healthStatusIconContainer__J5mClx_WJb3pf03SA8ay\"};","// extracted by mini-css-extract-plugin\nmodule.exports = {\"hide-sm\":\"style-module_hide-sm__yL5f8G4IaqEbdSwPDxsw\",\"hideSm\":\"style-module_hide-sm__yL5f8G4IaqEbdSwPDxsw\",\"visible-sm\":\"style-module_visible-sm__xwqkKOcJNMUvek42xZ6Y\",\"visibleSm\":\"style-module_visible-sm__xwqkKOcJNMUvek42xZ6Y\",\"hide-md\":\"style-module_hide-md__TvZzby113V3BAPxECDoL\",\"hideMd\":\"style-module_hide-md__TvZzby113V3BAPxECDoL\",\"visible-md\":\"style-module_visible-md__YihNgUmm5sTZdBdrrJjY\",\"visibleMd\":\"style-module_visible-md__YihNgUmm5sTZdBdrrJjY\",\"dashboardFilterInputClassName\":\"style-module_dashboardFilterInputClassName__vtRKssiwMKrt5Qq9qlU9\",\"cardContentContainerFilter\":\"style-module_cardContentContainerFilter__SrV7sn9NtVMZ0KbktXuW\",\"cardContentContainerRows\":\"style-module_cardContentContainerRows__A9BBn8tWsvAMhzEcw_Re\",\"environmentRowsContainer\":\"style-module_environmentRowsContainer__VfTjbaD3216qzcBk6rag\",\"environmentIcon\":\"style-module_environmentIcon__sd7wWvxEIkiqX0U3jPUP\",\"environmentName\":\"style-module_environmentName__x8LxPybyua6XD1dHbH2q\",\"environmentMachinesCount\":\"style-module_environmentMachinesCount__Egjz680dJgMAkE5zIW4u\",\"workerpoolRowsContainer\":\"style-module_workerpoolRowsContainer__OszHAu_fR5MOnQkeO5Hq\",\"workerpoolIcon\":\"style-module_workerpoolIcon__qLcahTt0HwULZALQIQKf\",\"workerpoolName\":\"style-module_workerpoolName__Q_0ttFvqAaMMTmskuOVj\",\"workerpoolMachinesCount\":\"style-module_workerpoolMachinesCount__zMxoxlRiHVFyrjGbxN9l\",\"endpointRowsContainer\":\"style-module_endpointRowsContainer__VQisf8mrMIAQt1wOJx4N\",\"endpointIcon\":\"style-module_endpointIcon__ZkM_SkmffP8lYn__Ykbo\",\"endpointName\":\"style-module_endpointName__CPlv6hCHfNWEZyHFU6tq\",\"endpointMachinesCount\":\"style-module_endpointMachinesCount__dvRflSYi_O3ymNB6lXwA\",\"healthStatusRowsContainer\":\"style-module_healthStatusRowsContainer__asmwlNvUcT5ls0q0cXJe\",\"healthStatusIconContainer\":\"style-module_healthStatusIconContainer__bVqL05JZEsh3gIz2Qtxo\",\"healthStatusName\":\"style-module_healthStatusName__nA7C4UAkJ95o6qOM6aPc\",\"healthStatusMachinesCount\":\"style-module_healthStatusMachinesCount__nDAawf6iisZAfWFHLhG6\",\"tenantRowsContainer\":\"style-module_tenantRowsContainer__pZ3co2SFm5Wsq6C3U_Mb\",\"tenantIcon\":\"style-module_tenantIcon__D7Vxi3isYXLaxshkeQVL\",\"tenantName\":\"style-module_tenantName__f9vQVdW6Zd0d_huAHPli\",\"tenantMachinesCount\":\"style-module_tenantMachinesCount__vnGD1hANgpqoMKb1NDG8\",\"tenantTagRowsOuterContainer\":\"style-module_tenantTagRowsOuterContainer__kyuptlMgAP5ijqFy6XWn\",\"tenantTagRowsContainer\":\"style-module_tenantTagRowsContainer__GnDHOf80savXQjxm1eDB\",\"tenantTagName\":\"style-module_tenantTagName__EsikG1itoUIK3C1kTQE0\",\"tenantTagMachinesCount\":\"style-module_tenantTagMachinesCount__N6wkImlhMutxy_Xhy1nq\"};","// extracted by mini-css-extract-plugin\nmodule.exports = {\"hide-sm\":\"style-module_hide-sm__LFLgoZtpp9XgT5NrQS8Z\",\"hideSm\":\"style-module_hide-sm__LFLgoZtpp9XgT5NrQS8Z\",\"visible-sm\":\"style-module_visible-sm__IQuZUjUcbreYfSN7t66t\",\"visibleSm\":\"style-module_visible-sm__IQuZUjUcbreYfSN7t66t\",\"hide-md\":\"style-module_hide-md__zWIY_7WT2kULz5PpovOw\",\"hideMd\":\"style-module_hide-md__zWIY_7WT2kULz5PpovOw\",\"visible-md\":\"style-module_visible-md__fmn5nj2cOqQXQewApYy6\",\"visibleMd\":\"style-module_visible-md__fmn5nj2cOqQXQewApYy6\",\"container\":\"style-module_container__XhX4KLvQV3Meu98mwiSG\",\"inProgressMessage\":\"style-module_inProgressMessage__C0piLi8irYr_rG9bIvEK\",\"loading\":\"style-module_loading__GIt0a1rrjNvkOGg2P00g\",\"errorInfoPanel\":\"style-module_errorInfoPanel__b9omyCbWGKYyPa1YkE6N\",\"errorInfoPanelDetails\":\"style-module_errorInfoPanelDetails__eSVuiOStE_1WhEbcsOAI\"};","// extracted by mini-css-extract-plugin\nmodule.exports = {\"hide-sm\":\"styles-module_hide-sm__SLcOuBlGRduqRswVEehw\",\"hideSm\":\"styles-module_hide-sm__SLcOuBlGRduqRswVEehw\",\"visible-sm\":\"styles-module_visible-sm__jPXoEOL_bne3A6XKCaI2\",\"visibleSm\":\"styles-module_visible-sm__jPXoEOL_bne3A6XKCaI2\",\"hide-md\":\"styles-module_hide-md__yFKAdR5GRmW07mc0slQF\",\"hideMd\":\"styles-module_hide-md__yFKAdR5GRmW07mc0slQF\",\"visible-md\":\"styles-module_visible-md__i61roFE7wKxF7w8uPfcK\",\"visibleMd\":\"styles-module_visible-md__i61roFE7wKxF7w8uPfcK\",\"healthStatusIcon\":\"styles-module_healthStatusIcon__vO7euPFPkprxCvwgsTSX\"};","// extracted by mini-css-extract-plugin\nmodule.exports = {\"hide-sm\":\"styles-module_hide-sm__xKSUyhfu1jJGTic7fWgr\",\"hideSm\":\"styles-module_hide-sm__xKSUyhfu1jJGTic7fWgr\",\"visible-sm\":\"styles-module_visible-sm__Lp_vysZYhrpkFLxdrtti\",\"visibleSm\":\"styles-module_visible-sm__Lp_vysZYhrpkFLxdrtti\",\"hide-md\":\"styles-module_hide-md__E5WgmW1Ki4wVY8rkT9mk\",\"hideMd\":\"styles-module_hide-md__E5WgmW1Ki4wVY8rkT9mk\",\"visible-md\":\"styles-module_visible-md__Wc82wNiidVnydiogbA18\",\"visibleMd\":\"styles-module_visible-md__Wc82wNiidVnydiogbA18\",\"summary\":\"styles-module_summary__xrM2FIPE5yal9_v9EZqD\"};","// extracted by mini-css-extract-plugin\nmodule.exports = {\"hide-sm\":\"style-module_hide-sm__QdWULS5OpjgDdL6wvram\",\"hideSm\":\"style-module_hide-sm__QdWULS5OpjgDdL6wvram\",\"visible-sm\":\"style-module_visible-sm__LkuMKXQMEC8hnHKpSknN\",\"visibleSm\":\"style-module_visible-sm__LkuMKXQMEC8hnHKpSknN\",\"hide-md\":\"style-module_hide-md__kgIyjlV9UUeh6_uKi9vb\",\"hideMd\":\"style-module_hide-md__kgIyjlV9UUeh6_uKi9vb\",\"visible-md\":\"style-module_visible-md__rKYAq0urJ8g0Y4OT6216\",\"visibleMd\":\"style-module_visible-md__rKYAq0urJ8g0Y4OT6216\",\"machinePolicySummary\":\"style-module_machinePolicySummary__eN3xrk4YyNbhTOVv8FDh\",\"machinePolicySummaryLabel\":\"style-module_machinePolicySummaryLabel__uVnT9g7yg4kc5DFFJzEA\"};","// extracted by mini-css-extract-plugin\nmodule.exports = {\"hide-sm\":\"style-module_hide-sm__Eh06snHCYo2T6eFHdJaO\",\"hideSm\":\"style-module_hide-sm__Eh06snHCYo2T6eFHdJaO\",\"visible-sm\":\"style-module_visible-sm__keksxXTkMwKyEDXQpAaK\",\"visibleSm\":\"style-module_visible-sm__keksxXTkMwKyEDXQpAaK\",\"hide-md\":\"style-module_hide-md__hstjRRKVzn3gBwevRrGI\",\"hideMd\":\"style-module_hide-md__hstjRRKVzn3gBwevRrGI\",\"visible-md\":\"style-module_visible-md__w8FF2vH9nV5SA_FQEvrw\",\"visibleMd\":\"style-module_visible-md__w8FF2vH9nV5SA_FQEvrw\",\"machineIcon\":\"style-module_machineIcon__ZlAKnhpiLsTnbAXwK473\",\"machineRow\":\"style-module_machineRow__gxF12QhOJxDtLjflMAqv\",\"machineImage\":\"style-module_machineImage__lKpjab1dSf7lRFzWEVez\",\"machineNameContainer\":\"style-module_machineNameContainer__A2zimQFwd20ox45Gc5DA\",\"machineName\":\"style-module_machineName__FdtCPxaN2PdASF0uZJND\",\"machineType\":\"style-module_machineType__bLDNVSd1TWcLc58hheTr\",\"machineSummary\":\"style-module_machineSummary__zc2FTa3c0HjLJAsVp8o6\",\"healthStatusIconContainer\":\"style-module_healthStatusIconContainer__VUSQsfMG3ZKNkZF7U0o2\",\"chipContainer\":\"style-module_chipContainer__NTqLniKAkqF_aGwRVQrA\"};","// extracted by mini-css-extract-plugin\nmodule.exports = {\"hide-sm\":\"EndpointCard-module_hide-sm__AGvoebD8MQV5XJxlBglw\",\"hideSm\":\"EndpointCard-module_hide-sm__AGvoebD8MQV5XJxlBglw\",\"visible-sm\":\"EndpointCard-module_visible-sm__zCOFqSz3txilPQUEXGl7\",\"visibleSm\":\"EndpointCard-module_visible-sm__zCOFqSz3txilPQUEXGl7\",\"hide-md\":\"EndpointCard-module_hide-md__sfvsMHflvxTaW6Edi7Yv\",\"hideMd\":\"EndpointCard-module_hide-md__sfvsMHflvxTaW6Edi7Yv\",\"visible-md\":\"EndpointCard-module_visible-md__MMSS9JmMjZdZye8B9911\",\"visibleMd\":\"EndpointCard-module_visible-md__MMSS9JmMjZdZye8B9911\",\"card\":\"EndpointCard-module_card__Z1UK8cjrlosWhSEZ5Bvr\",\"description\":\"EndpointCard-module_description__N1EkfVlZuXrc6mneDPAf\",\"chip\":\"EndpointCard-module_chip__lZ93OaO0zOAryqGgG48s\",\"onHoverActions\":\"EndpointCard-module_onHoverActions__JbFZ8ClrqCMkhY5uhYR6\",\"onHoverActionsBackdrop\":\"EndpointCard-module_onHoverActionsBackdrop__hAPWKceRivaSMCL7_Dsk\",\"variableHeightContent\":\"EndpointCard-module_variableHeightContent__ufLFuRFtkc9lofHwzq8j\"};","// extracted by mini-css-extract-plugin\nmodule.exports = {\"hide-sm\":\"EndpointSelector-module_hide-sm__yiXpDq2aHW9zNDKvJS7y\",\"hideSm\":\"EndpointSelector-module_hide-sm__yiXpDq2aHW9zNDKvJS7y\",\"visible-sm\":\"EndpointSelector-module_visible-sm__LVDa5cThGb7hHY2Zx59U\",\"visibleSm\":\"EndpointSelector-module_visible-sm__LVDa5cThGb7hHY2Zx59U\",\"hide-md\":\"EndpointSelector-module_hide-md__FsfFdSfldk4diPQsiqtw\",\"hideMd\":\"EndpointSelector-module_hide-md__FsfFdSfldk4diPQsiqtw\",\"visible-md\":\"EndpointSelector-module_visible-md__cJHQ7_eWteQSNFLoM0yo\",\"visibleMd\":\"EndpointSelector-module_visible-md__cJHQ7_eWteQSNFLoM0yo\",\"centered\":\"EndpointSelector-module_centered__fkf11R6LpNNytQjaUVYH\",\"container\":\"EndpointSelector-module_container__H82p_eFLS9J5MQUFOyVA\",\"activeCategoryButton\":\"EndpointSelector-module_activeCategoryButton__wNXpqkFP8Z71B8HsrA5E\",\"cardGroup\":\"EndpointSelector-module_cardGroup__I3nUXxCcq7KrChOeeIqd\",\"actions\":\"EndpointSelector-module_actions__YUWO8LhjrhvfpKWE4PfR\",\"paperActions\":\"EndpointSelector-module_paperActions__r4jb_ZvQ8G7L_XGZ1eTy\",\"link\":\"EndpointSelector-module_link__A8UCBeRJjdcL_JL9SDBW\",\"groupHelp\":\"EndpointSelector-module_groupHelp__IKuz78SQpzoakzTqZBy0\"};","// extracted by mini-css-extract-plugin\nmodule.exports = {\"centreThumbnail\":\"styles-module_centreThumbnail__mJRLLs1CS736mI4eKhsS\"};","// extracted by mini-css-extract-plugin\nmodule.exports = {\"hide-sm\":\"style-module_hide-sm__U0QD16ib1dbDRwft6tJS\",\"hideSm\":\"style-module_hide-sm__U0QD16ib1dbDRwft6tJS\",\"visible-sm\":\"style-module_visible-sm__DLaiasDotgWXbl2x8RCi\",\"visibleSm\":\"style-module_visible-sm__DLaiasDotgWXbl2x8RCi\",\"hide-md\":\"style-module_hide-md__eTObooj3h78CbL2ocXhG\",\"hideMd\":\"style-module_hide-md__eTObooj3h78CbL2ocXhG\",\"visible-md\":\"style-module_visible-md__jsj7mdFNtaevtURi2zWI\",\"visibleMd\":\"style-module_visible-md__jsj7mdFNtaevtURi2zWI\",\"cardTitleContainer\":\"style-module_cardTitleContainer__kNbpFa3eY4ht4INQh_4e\",\"environmentIcon\":\"style-module_environmentIcon__vtgX6ZPknFB9C2B8pNsv\",\"environmentName\":\"style-module_environmentName__A37ANDgbYP7LmYixR2k8\",\"environmentMachinesCount\":\"style-module_environmentMachinesCount__sP2q7x2Zb5vCHS_s5ZDi\",\"environmentSummaryCounts\":\"style-module_environmentSummaryCounts___gcFvEQLeVrfHJXiRSff\",\"summaryCount\":\"style-module_summaryCount__pmDYW__3wYZrpYMu1LlR\",\"environmentOverflowActions\":\"style-module_environmentOverflowActions__o1WHgZtED_qacTTO9iQ3\",\"machineIcon\":\"style-module_machineIcon__f8xpILsz5GzcL1VgZBwD\",\"healthStatusIconContainer\":\"style-module_healthStatusIconContainer__PGmWhFZwCUHT2t7yJKoP\",\"formExpander\":\"style-module_formExpander__I889aXU1wUlFfjJrQqFX\",\"formNonExpander\":\"style-module_formNonExpander__vojoaLY7ZNvmQOYKSEos\",\"cardMedia\":\"style-module_cardMedia__qd2zpaMWBEyvuu8zvIqy\",\"healthStatusCardTitleContainer\":\"style-module_healthStatusCardTitleContainer__MTWosZYSzl2eaIr3ufJQ\",\"healthStatusName\":\"style-module_healthStatusName__FZETMwA7E6FfP8LL0lld\",\"healthStatusMachinesCount\":\"style-module_healthStatusMachinesCount__oKe92pIL5g_pq7vfUwG_\"};","// extracted by mini-css-extract-plugin\nmodule.exports = {\"hide-sm\":\"style-module_hide-sm__bvl62t5HWFCLgcs4POQc\",\"hideSm\":\"style-module_hide-sm__bvl62t5HWFCLgcs4POQc\",\"visible-sm\":\"style-module_visible-sm__OWZor55QDhKRQSdBVKeq\",\"visibleSm\":\"style-module_visible-sm__OWZor55QDhKRQSdBVKeq\",\"hide-md\":\"style-module_hide-md__w7sPGyXEwrhjM1Sck3UQ\",\"hideMd\":\"style-module_hide-md__w7sPGyXEwrhjM1Sck3UQ\",\"visible-md\":\"style-module_visible-md__AbNP3LH472eeK_CziOI4\",\"visibleMd\":\"style-module_visible-md__AbNP3LH472eeK_CziOI4\",\"empty\":\"style-module_empty__pprGzUaJF7y93U1b54YK\",\"cardTitleContainer\":\"style-module_cardTitleContainer__WE32GYKw2OUp5c8SFcsQ\",\"workerPoolIcon\":\"style-module_workerPoolIcon__ODf0d2pddLEgR_Ubg6oA\",\"workerPoolName\":\"style-module_workerPoolName__gKdPDmiUFMUckOzthwDT\",\"workerPoolMachinesCount\":\"style-module_workerPoolMachinesCount__DXzPxTrZECsE9DY8uVwj\",\"workerPoolSummaryCounts\":\"style-module_workerPoolSummaryCounts__En_Ox1exNo9zH9a1xsCt\",\"summaryCount\":\"style-module_summaryCount__oGxU5BlHxGOCh_evp7SU\",\"workerPoolOverflowActions\":\"style-module_workerPoolOverflowActions__FhnLYfyK0pGcJWgcCmXh\",\"machineIcon\":\"style-module_machineIcon__MoUZxxCgTTEuPKRReWFB\",\"healthStatusIconContainer\":\"style-module_healthStatusIconContainer__CNn637AomGzIimBnZqHW\",\"healthStatusCardTitleContainer\":\"style-module_healthStatusCardTitleContainer__BOnuKTShmjp8eKLhkQFZ\",\"healthStatusName\":\"style-module_healthStatusName__dyMfsq2koAHohqRtHxcv\",\"healthStatusMachinesCount\":\"style-module_healthStatusMachinesCount__SgMBo4w1InM3aSLZZR5I\"};","// extracted by mini-css-extract-plugin\nmodule.exports = {\"textColor\":\"styles-module_textColor__xMk00qNkCsCmD9aRYR9G\",\"label\":\"styles-module_label__h2a1BS2K68P5uk_3pcnQ\",\"list\":\"styles-module_list__n3TIAC2I7NRfhW0E3dOg\",\"listItem\":\"styles-module_listItem__pDM4taKWFGVtodXOkddq\",\"colorIndicator\":\"styles-module_colorIndicator__NZrfgKKfaZg3RDxkbWHn\"};","// extracted by mini-css-extract-plugin\nmodule.exports = {\"tooltipBase\":\"styles-module_tooltipBase__z4JtBBsGtqjRYYI51KaM\"};","// extracted by mini-css-extract-plugin\nmodule.exports = {\"toggleableLegend\":\"style-module_toggleableLegend__e1yag_0wg6jL9PN7z8RU\",\"loading\":\"style-module_loading__mRLncq8hu0WMhToNX0Oj\"};","// extracted by mini-css-extract-plugin\nmodule.exports = {\"chartCard\":\"InsightsChartCard-module_chartCard__XPcnjmLNZYfvKywdms4v\",\"chartCardLight\":\"InsightsChartCard-module_chartCardLight__JVmT7TacAaMqvUwrO6ug\",\"chartCardDark\":\"InsightsChartCard-module_chartCardDark__zrKT6an_i1yRpQYG5zDm\"};","// extracted by mini-css-extract-plugin\nmodule.exports = {\"hide-sm\":\"style-module_hide-sm__UPihXtEZmQwbRZdAgfoT\",\"hideSm\":\"style-module_hide-sm__UPihXtEZmQwbRZdAgfoT\",\"visible-sm\":\"style-module_visible-sm__sLxTqsQYWtmy3Dr41GG1\",\"visibleSm\":\"style-module_visible-sm__sLxTqsQYWtmy3Dr41GG1\",\"hide-md\":\"style-module_hide-md__dAcIXzfaLtspxX8ApHzw\",\"hideMd\":\"style-module_hide-md__dAcIXzfaLtspxX8ApHzw\",\"visible-md\":\"style-module_visible-md__xOioXgtRS7binMEnWxtg\",\"visibleMd\":\"style-module_visible-md__xOioXgtRS7binMEnWxtg\",\"cardListContainer\":\"style-module_cardListContainer__UhusJImlWlV2LoJTA9Wj\",\"cardList\":\"style-module_cardList__IkI1rCpgbk0oYGQj3B3x\"};","// extracted by mini-css-extract-plugin\nmodule.exports = {\"hide-sm\":\"styles-module_hide-sm__VhtGQ9bdxJMwQf2SBUcC\",\"hideSm\":\"styles-module_hide-sm__VhtGQ9bdxJMwQf2SBUcC\",\"visible-sm\":\"styles-module_visible-sm__ICf4_0rPBGliUWM8IpiE\",\"visibleSm\":\"styles-module_visible-sm__ICf4_0rPBGliUWM8IpiE\",\"hide-md\":\"styles-module_hide-md__SYv8KZ38pIYeWsiV5SGg\",\"hideMd\":\"styles-module_hide-md__SYv8KZ38pIYeWsiV5SGg\",\"visible-md\":\"styles-module_visible-md__JvKbyJfDjFnX_HO7Fbzi\",\"visibleMd\":\"styles-module_visible-md__JvKbyJfDjFnX_HO7Fbzi\",\"content\":\"styles-module_content__tJ_r9gvly0hVqPsvtULZ\",\"twoColumnGrid\":\"styles-module_twoColumnGrid__DVnGSYbSnNEU0W7Yxu4z\",\"tempoGrid\":\"styles-module_tempoGrid__eZyhy7OP_6PDCwbIGHBA\",\"groupHeading\":\"styles-module_groupHeading__hfg3502zczlDDdufpsU0\",\"titleContainer\":\"styles-module_titleContainer__OGf6bgNvC_uBtmdet5Sr\",\"title\":\"styles-module_title__laXP6orvH9fUAsJDZ6sw\"};","// extracted by mini-css-extract-plugin\nmodule.exports = {\"container\":\"styles-module_container__yiEBqikaZ0WDyE5Xuw1J\",\"value\":\"styles-module_value__Hzs39230pcrN0YPaObZn\",\"positiveTrend\":\"styles-module_positiveTrend__XLxmeN3PCjww7ad1Iiuq\",\"negativeTrend\":\"styles-module_negativeTrend__jPncRxEsXAdfrqqZds_I\"};","// extracted by mini-css-extract-plugin\nmodule.exports = {\"hide-sm\":\"SparklineTrendPair-module_hide-sm__OSEJw8xSbgWAJTuGgUpg\",\"hideSm\":\"SparklineTrendPair-module_hide-sm__OSEJw8xSbgWAJTuGgUpg\",\"visible-sm\":\"SparklineTrendPair-module_visible-sm__e9y0SWxE4jaKfxFldxMl\",\"visibleSm\":\"SparklineTrendPair-module_visible-sm__e9y0SWxE4jaKfxFldxMl\",\"hide-md\":\"SparklineTrendPair-module_hide-md__Cdwi0DpwBwXkRX90ewjq\",\"hideMd\":\"SparklineTrendPair-module_hide-md__Cdwi0DpwBwXkRX90ewjq\",\"visible-md\":\"SparklineTrendPair-module_visible-md__ykTuMfpL6Q_fgc30WLg6\",\"visibleMd\":\"SparklineTrendPair-module_visible-md__ykTuMfpL6Q_fgc30WLg6\",\"container\":\"SparklineTrendPair-module_container__IwBG4DuAaxotWnyvZvvK\",\"title\":\"SparklineTrendPair-module_title__rJdRuxkqYwaZRxiN31pT\",\"sectionHeading\":\"SparklineTrendPair-module_sectionHeading__afLeIV8KkGBVgo1SOarB\",\"listHeading\":\"SparklineTrendPair-module_listHeading__UjcWN4WpZCrWMSUCaK_L\",\"nothingToShow\":\"SparklineTrendPair-module_nothingToShow__jUrxz1LkdL26y1x9uGo0\",\"contentContainer\":\"SparklineTrendPair-module_contentContainer__SbLCnkGXJSelNi_QNeFA\",\"listContainer\":\"SparklineTrendPair-module_listContainer__m0Cejg9Tw5YJvin0o9V5\",\"listItem\":\"SparklineTrendPair-module_listItem__P8LgvW73VBvFq8bLKQLr\",\"rowTitle\":\"SparklineTrendPair-module_rowTitle__AlidlhOoMXCmUFVIJpc_\",\"rowValue\":\"SparklineTrendPair-module_rowValue__ZVAQ_ueEC2kqMF3bas3w\",\"rowContainer\":\"SparklineTrendPair-module_rowContainer__XCTmuECwdXt2zbOwbXRc\"};","// extracted by mini-css-extract-plugin\nmodule.exports = {\"hide-sm\":\"styles-module_hide-sm__wqIdie01x1K9hkIrQcca\",\"hideSm\":\"styles-module_hide-sm__wqIdie01x1K9hkIrQcca\",\"visible-sm\":\"styles-module_visible-sm__IKY44zRE0DEkJDuUX8zm\",\"visibleSm\":\"styles-module_visible-sm__IKY44zRE0DEkJDuUX8zm\",\"hide-md\":\"styles-module_hide-md__nPFk7eBqKGI2LE6HwQhQ\",\"hideMd\":\"styles-module_hide-md__nPFk7eBqKGI2LE6HwQhQ\",\"visible-md\":\"styles-module_visible-md__oloaBfZZR1INvcH1S5zP\",\"visibleMd\":\"styles-module_visible-md__oloaBfZZR1INvcH1S5zP\",\"container\":\"styles-module_container__eY8towsuB2ONvUFKqod7\",\"sectionHeading\":\"styles-module_sectionHeading__HpR1LGdILGJvS0g3yUUE\",\"title\":\"styles-module_title__oQ3FHHwIy0bULgoaRzpF\",\"contentContainer\":\"styles-module_contentContainer__ss5bFmP4YckBXIQaDGh0\",\"nothingToShow\":\"styles-module_nothingToShow__lK28Oo8qYDyK8_jSLATf\"};","// extracted by mini-css-extract-plugin\nmodule.exports = {\"numberColumn\":\"TrendTables-module_numberColumn__ZNo2AZ8YwCzTwiNy63Fh\"};","// extracted by mini-css-extract-plugin\nmodule.exports = {\"hide-sm\":\"style-module_hide-sm__achQqlFN1drbqA5pglZ_\",\"hideSm\":\"style-module_hide-sm__achQqlFN1drbqA5pglZ_\",\"visible-sm\":\"style-module_visible-sm__JOU6DjkBNCYP2SSYmSUY\",\"visibleSm\":\"style-module_visible-sm__JOU6DjkBNCYP2SSYmSUY\",\"hide-md\":\"style-module_hide-md__J85z0tMxqsQhHEeJ4IbI\",\"hideMd\":\"style-module_hide-md__J85z0tMxqsQhHEeJ4IbI\",\"visible-md\":\"style-module_visible-md__w4R1bRBLoCbv_kn8KAD2\",\"visibleMd\":\"style-module_visible-md__w4R1bRBLoCbv_kn8KAD2\",\"importNote\":\"style-module_importNote__y8yXBwlWrlYKSWk2kMPH\",\"exportNote\":\"style-module_exportNote__h4R54Pn_q5hyuERz9g5Z\",\"warning\":\"style-module_warning__bb0cdP6exTDQfetw4MDn\",\"headerColumn\":\"style-module_headerColumn__IVoW3sStoAcAMjtaXNJO\",\"licence\":\"style-module_licence__vzQgALcivbCAD3r2qoJE\",\"summary\":\"style-module_summary__jonuISWpmqTbHxmrAM0x\",\"logo\":\"style-module_logo__PbENB6LIczbT5YIPRoYF\",\"divider\":\"style-module_divider__ZYUwjY7wSCTO6zz8tLX9\",\"icon\":\"style-module_icon__XbAfwqLC09yQgyIgxPzw\",\"mergeTabs\":\"style-module_mergeTabs__k8ZPrbgdh7RdWSp1IMSS\",\"navTabs\":\"style-module_navTabs__S2rcy8KVSsqXKaR_8NY7\",\"green\":\"style-module_green__h1tpeaFjnWjFUtBRYkRW\",\"active\":\"style-module_active__EG52OOMJaVsnhvUbOfxo\",\"showDetails\":\"style-module_showDetails__MmcD1iZjlPZMzYkaheR5\",\"reasons\":\"style-module_reasons__TGMry1xUnosPw2NK9xos\",\"filterSearchBoxContainer\":\"style-module_filterSearchBoxContainer___mJyqvsgt9YrZFJPBpJu\",\"noBuiltInSteps\":\"style-module_noBuiltInSteps__DqXuwCWmcemCPiHQIeU2\"};","// extracted by mini-css-extract-plugin\nmodule.exports = {\"hide-sm\":\"style-module_hide-sm__qc_56HzFd1VRohiG3UkB\",\"hideSm\":\"style-module_hide-sm__qc_56HzFd1VRohiG3UkB\",\"visible-sm\":\"style-module_visible-sm__cJp59qIhjySLJk4lwYuc\",\"visibleSm\":\"style-module_visible-sm__cJp59qIhjySLJk4lwYuc\",\"hide-md\":\"style-module_hide-md__clE6wYVRs8anZjU2nSN6\",\"hideMd\":\"style-module_hide-md__clE6wYVRs8anZjU2nSN6\",\"visible-md\":\"style-module_visible-md__o75a8pBRQ_ySvcT2aQqE\",\"visibleMd\":\"style-module_visible-md__o75a8pBRQ_ySvcT2aQqE\",\"secondary\":\"style-module_secondary__YAlK36TibdbO1kwSRjhW\",\"userSelect\":\"style-module_userSelect__eWkVdnXytqLTtwrhyvau\",\"noUserSelect\":\"style-module_noUserSelect__Mdkp2lbt6o9z5S0MwiRs\",\"packageVersionCell\":\"style-module_packageVersionCell__VfcXU7qggdvCrwrOv9nw\",\"row\":\"style-module_row__yx_oItzzFen2MTyyb3Yr\",\"actionButtonGroup\":\"style-module_actionButtonGroup__uTzO9l4WJumT0SCfq4uw\",\"center\":\"style-module_center__ZoESW82NRj8ymH3T3dy5\"};","// extracted by mini-css-extract-plugin\nmodule.exports = {\"hide-sm\":\"PackagingInstructionSelector-module_hide-sm__gC17KORqSRxl8S1cWQL7\",\"hideSm\":\"PackagingInstructionSelector-module_hide-sm__gC17KORqSRxl8S1cWQL7\",\"visible-sm\":\"PackagingInstructionSelector-module_visible-sm__hQruclNAs3Q7hgWo5fwU\",\"visibleSm\":\"PackagingInstructionSelector-module_visible-sm__hQruclNAs3Q7hgWo5fwU\",\"hide-md\":\"PackagingInstructionSelector-module_hide-md__xYZwSJloY3uS2CjRTNMU\",\"hideMd\":\"PackagingInstructionSelector-module_hide-md__xYZwSJloY3uS2CjRTNMU\",\"visible-md\":\"PackagingInstructionSelector-module_visible-md__skqXWJxRMGLBD2EmKyty\",\"visibleMd\":\"PackagingInstructionSelector-module_visible-md__skqXWJxRMGLBD2EmKyty\",\"centered\":\"PackagingInstructionSelector-module_centered__pEgWKTHeXbbTTZ_cRWGJ\",\"outerContainer\":\"PackagingInstructionSelector-module_outerContainer__g4UjBcHkK63ejfrymoLA\",\"container\":\"PackagingInstructionSelector-module_container__Lr8Ju8_oQ0wbiBgzBaAa\",\"active\":\"PackagingInstructionSelector-module_active__kBsL8x7JSK1xZqNRcmIP\",\"cardGroup\":\"PackagingInstructionSelector-module_cardGroup__HU2AM3ag36vY_TelKjYA\",\"actions\":\"PackagingInstructionSelector-module_actions__viCdMg9C7u8cf4qgnvyC\",\"headingContainer\":\"PackagingInstructionSelector-module_headingContainer__TQK0wzRIFcKJORS0PFkw\",\"paperActions\":\"PackagingInstructionSelector-module_paperActions__Nk3k4jM7g0lCgp0orvJX\",\"link\":\"PackagingInstructionSelector-module_link__vTuUZaXMm4mpFFZtjXH1\",\"logo\":\"PackagingInstructionSelector-module_logo__uSAQKNXJJ04nsanAA3zi\",\"groupHelp\":\"PackagingInstructionSelector-module_groupHelp__WduTMeLYrcX8ubwvD6rf\",\"groupHeading\":\"PackagingInstructionSelector-module_groupHeading__FdTOJBeDSi7Pat9IbkGy\",\"contentContainer\":\"PackagingInstructionSelector-module_contentContainer__LT55FUnR6szdJ9fyZoPg\",\"instructionsIntro\":\"PackagingInstructionSelector-module_instructionsIntro__lS_PG6dz2XtyzD8JCWKM\"};","// extracted by mini-css-extract-plugin\nmodule.exports = {\"codeContainer\":\"Registrations-module_codeContainer__oKVhskAfL_gXS2F0CqTH\"};","// extracted by mini-css-extract-plugin\nmodule.exports = {\"hide-sm\":\"style-module_hide-sm__YvqDtMNtQwqzD5P5uyiq\",\"hideSm\":\"style-module_hide-sm__YvqDtMNtQwqzD5P5uyiq\",\"visible-sm\":\"style-module_visible-sm__ConUnFlkQz94lGZJiqa3\",\"visibleSm\":\"style-module_visible-sm__ConUnFlkQz94lGZJiqa3\",\"hide-md\":\"style-module_hide-md__QxtQH1D4o98rizJ3sIFP\",\"hideMd\":\"style-module_hide-md__QxtQH1D4o98rizJ3sIFP\",\"visible-md\":\"style-module_visible-md__c10hLbx4U9n2ok7m7NK2\",\"visibleMd\":\"style-module_visible-md__c10hLbx4U9n2ok7m7NK2\",\"secondary\":\"style-module_secondary__kbxD9zQMdLmo4jTuEM0v\",\"userSelect\":\"style-module_userSelect__ltM2vLP7SeM97foTKS0S\",\"noUserSelect\":\"style-module_noUserSelect__TA6hRqZaAofEHBxZcuRt\",\"daysField\":\"style-module_daysField__o6ZIbVrSt17e1fm2YR3_\",\"packageVersionCell\":\"style-module_packageVersionCell__J07XSzgtel150wEqVpie\",\"row\":\"style-module_row__KPAyikwtA_MhiJMDQyZn\",\"cardSubTitle\":\"style-module_cardSubTitle__tfFyxlTtvf2xSTYSgwxi\",\"box\":\"style-module_box__JPAA1tRe0tfogj_B475p\",\"taskSucceeded\":\"style-module_taskSucceeded__hC3JZ5RU_OqFb1ojlVQS\",\"title\":\"style-module_title__dTyfuQ0BQqQazTDIk1t3\",\"taskFailed\":\"style-module_taskFailed__Pzn2fZ96zoCoerHJBReG\",\"descriptionColumn\":\"style-module_descriptionColumn__Wg8mE2roSa9Wk2VhOUfJ\",\"actionButtonGroup\":\"style-module_actionButtonGroup__KrEyBGUxFAxim1QaAlwU\",\"center\":\"style-module_center__GgjDpz4f76L4WRyqMU9B\",\"packagingHelp\":\"style-module_packagingHelp__luSxlHYGjGqWNNx6gIq8\",\"learnMoreLinks\":\"style-module_learnMoreLinks__KhX7gc8zdOtFcudwOrAR\",\"dropzoneArea\":\"style-module_dropzoneArea__qjn_95CzlxVK6lu3Tl6A\"};","// extracted by mini-css-extract-plugin\nmodule.exports = {\"hide-sm\":\"style-module_hide-sm__pkRy6iUITPiTGmmR1KzA\",\"hideSm\":\"style-module_hide-sm__pkRy6iUITPiTGmmR1KzA\",\"visible-sm\":\"style-module_visible-sm__CXM_dPCe2e42H2cQk3uS\",\"visibleSm\":\"style-module_visible-sm__CXM_dPCe2e42H2cQk3uS\",\"hide-md\":\"style-module_hide-md__qVecUIEHGVWtPdTbsL7h\",\"hideMd\":\"style-module_hide-md__qVecUIEHGVWtPdTbsL7h\",\"visible-md\":\"style-module_visible-md__tFV8mH3jyBxYm3Ij5nEZ\",\"visibleMd\":\"style-module_visible-md__tFV8mH3jyBxYm3Ij5nEZ\",\"row\":\"style-module_row__hJHhE4Ps5cPG8IpmzfTY\",\"propertyContainer\":\"style-module_propertyContainer__GOn1ZQkWVH1Mba4zQzJa\"};","// extracted by mini-css-extract-plugin\nmodule.exports = {\"headerColumn\":\"feedteststyle-module_headerColumn__Z71VCcEh94E3Li1AGXDq\",\"rowColumn\":\"feedteststyle-module_rowColumn__jCEH1Pd5z5j5_XMLB8DH\"};","// extracted by mini-css-extract-plugin\nmodule.exports = {\"minimumEnvText\":\"style-module_minimumEnvText__H6GcxtF2dDv_FetqWDIh\",\"minCompleteLabel\":\"style-module_minCompleteLabel__bubvjAZQEWdqiQ0hsliW\"};","// extracted by mini-css-extract-plugin\nmodule.exports = {\"narrow\":\"style-module_narrow__oHKYVK9eugWAeOXtWSHX\",\"summaryMap\":\"style-module_summaryMap__IuOhdXOOlmefa8UbuKsM\",\"project\":\"style-module_project__KqNJp06kpUU4cGfjUJP0\",\"phasesEditHeader\":\"style-module_phasesEditHeader__ILOAvi67tQUKEQHgcxki\",\"addPhaseActionContainer\":\"style-module_addPhaseActionContainer__b_N28hZfXkWefaWTbBay\"};","// extracted by mini-css-extract-plugin\nmodule.exports = {\"lifecycle-map\":\"style-module_lifecycle-map__pryx9ah2aSm56LG9eEYQ\",\"lifecycleMap\":\"style-module_lifecycle-map__pryx9ah2aSm56LG9eEYQ\",\"phase\":\"style-module_phase__DrWbts9GHE5a9T7EdwIw\",\"phase-name\":\"style-module_phase-name__M0htlTpa3glYhi3TB76c\",\"phaseName\":\"style-module_phase-name__M0htlTpa3glYhi3TB76c\",\"target\":\"style-module_target__q8JzNL4gdSTVS1h_UFDc\"};","// extracted by mini-css-extract-plugin\nmodule.exports = {\"environmentList\":\"style-module_environmentList__wNRt8Na0GtI8ox_RDxhR\",\"phaseDeleteButton\":\"style-module_phaseDeleteButton__E1LoPjHH9DESpPVR8uQU\",\"sectionControl\":\"style-module_sectionControl__d8MKinSYMD64nhmqTJVO\",\"anyEnvironment\":\"style-module_anyEnvironment__qmZVXLIykuzrzow8pM5x\",\"padUnder\":\"style-module_padUnder__etsFF6zTT2Qq2Fiv9Qye\",\"missingResource\":\"style-module_missingResource__qaIhUKiwikDh7Xz1fzoS\",\"strongText\":\"style-module_strongText__vew5Kk7DIbiOjRAcYYgX\"};","// extracted by mini-css-extract-plugin\nmodule.exports = {\"narrow\":\"style-module_narrow__UPmoC6eRq4snAXd4v2vS\"};","// extracted by mini-css-extract-plugin\nmodule.exports = {\"hide-sm\":\"style-module_hide-sm__Lai4wEKOozlhwcqzCE2a\",\"hideSm\":\"style-module_hide-sm__Lai4wEKOozlhwcqzCE2a\",\"visible-sm\":\"style-module_visible-sm__YgzVYVDJ_MKqu1dDqgnD\",\"visibleSm\":\"style-module_visible-sm__YgzVYVDJ_MKqu1dDqgnD\",\"hide-md\":\"style-module_hide-md__aeTRSDXMhdQ2wWChAI_Q\",\"hideMd\":\"style-module_hide-md__aeTRSDXMhdQ2wWChAI_Q\",\"visible-md\":\"style-module_visible-md__X79gDA4vvu_fa5mDUvvR\",\"visibleMd\":\"style-module_visible-md__X79gDA4vvu_fa5mDUvvR\",\"container\":\"style-module_container__Bk1VOROYBboSQZbifG2g\",\"newTagContainer\":\"style-module_newTagContainer__gnMjNpwY3JGra2r6ioUw\",\"existingTagcontainer\":\"style-module_existingTagcontainer__sXhoY8px1nJ9_Re1gyLA\",\"description\":\"style-module_description__TEIpREym7MDIQInFg_Gy\",\"actions\":\"style-module_actions__h6tYbzcXZ2mIQ36TcaHJ\",\"deleted\":\"style-module_deleted__BxpeCU90mwi9TqpgNQj4\",\"reorder\":\"style-module_reorder__JcuLf7SpKGPKYKZ0ecQM\"};","// extracted by mini-css-extract-plugin\nmodule.exports = {\"helpText\":\"style-module_helpText__Xd3qHngqwCbMvMiehPHi\",\"expanderContainer\":\"style-module_expanderContainer__ttCqqVFv9V9OEwLvpZaV\"};","// extracted by mini-css-extract-plugin\nmodule.exports = {\"ruleIconWrap\":\"style-module_ruleIconWrap__gO_cUt5pWaFv0ysyn6d1\",\"validRule\":\"style-module_validRule__EX0f9JEKGyXPiygBNnyY\",\"validRuleIcon\":\"style-module_validRuleIcon__T6sUc28TXH6m_PFCTUGn\",\"invalidRule\":\"style-module_invalidRule__f1aSw7gxCONsaOCDasVU\",\"invalidRuleIcon\":\"style-module_invalidRuleIcon__wL8lB9EKjwm8V90Aoi3o\",\"badRuleIcon\":\"style-module_badRuleIcon__D0_hQZk0UQbV4w8kNnv5\",\"badRule\":\"style-module_badRule__FDfKbxVpUO7fcoSdGPke\",\"codeGutter\":\"style-module_codeGutter__v76izNmxcK9bLPK1cW9y\",\"tooltip\":\"style-module_tooltip__CyH72cKUyEQFDXOPdmB2\",\"hiddenTooltip\":\"style-module_hiddenTooltip__pqxAyd9sLsubkWCsc3Jo\"};","// extracted by mini-css-extract-plugin\nmodule.exports = {\"description\":\"style-module_description__gHCWYW83lhnVFbfsu1CL\",\"empty\":\"style-module_empty__Nznz8ob2Y5puv2uCwrw5\",\"grid\":\"style-module_grid__nEotZYcLCd0i5qRWrCUQ\",\"row\":\"style-module_row__wx4MnWP7y_mCobjiINvO\",\"header\":\"style-module_header__rjnY0JYuoaSGwSYD4AMB\",\"designRuleButton\":\"style-module_designRuleButton__j8lbVrITh20mFuaMNoh3\",\"codeWrapper\":\"style-module_codeWrapper__oeL0s5siQZeF33lC5BbN\",\"rulesList\":\"style-module_rulesList__U4XUfHzjpVozuHS7qLy1\",\"rulesEditHeader\":\"style-module_rulesEditHeader__oqJV_es2ZqL9qXnLvlVI\",\"addVersionActionContainer\":\"style-module_addVersionActionContainer__ZzAnDEkA_GWI6ci1hzAq\"};","// extracted by mini-css-extract-plugin\nmodule.exports = {\"hide-sm\":\"styles-module_hide-sm___Joku4Z9qgOPudmKH7d8\",\"hideSm\":\"styles-module_hide-sm___Joku4Z9qgOPudmKH7d8\",\"visible-sm\":\"styles-module_visible-sm__cegFzcRSJcJinag9AD1_\",\"visibleSm\":\"styles-module_visible-sm__cegFzcRSJcJinag9AD1_\",\"hide-md\":\"styles-module_hide-md__fua4yPgzKXph5g80Ty8g\",\"hideMd\":\"styles-module_hide-md__fua4yPgzKXph5g80Ty8g\",\"visible-md\":\"styles-module_visible-md__yGkxtQU7cghCeaDpCN8O\",\"visibleMd\":\"styles-module_visible-md__yGkxtQU7cghCeaDpCN8O\",\"statusIcon\":\"styles-module_statusIcon__xLO0XZ5Okan2JhL1RgjB\",\"tileContainer\":\"styles-module_tileContainer__y6jWxP_MTB8OXz4XkMEm\",\"tileIcon\":\"styles-module_tileIcon__d5KBqJ4nbUR1Tp3SBLG1\",\"logoBackground\":\"styles-module_logoBackground__Mj5K273TxneYJ_jzMSOy\",\"tileStatusText\":\"styles-module_tileStatusText__dLFXGug9EemFQNiJyLIf\",\"tileHighlightText\":\"styles-module_tileHighlightText__zOrZlEfttacNCzE03GVb\",\"tileStatusIcon\":\"styles-module_tileStatusIcon__FVSAZvU4rYSbquo1pPvg\",\"tileProvider\":\"styles-module_tileProvider__HlgbZwWhBJ0M3jSXfl29\",\"tileStatus\":\"styles-module_tileStatus__ZxGmU62Vat4Oqtl_bz20\",\"tileStatusSubText\":\"styles-module_tileStatusSubText__QRxoWaf1XDcrsrWZ2LXC\"};","// extracted by mini-css-extract-plugin\nmodule.exports = {\"rowHeader\":\"style-module_rowHeader__rtDlgyBRj315ZUEqkdOT\",\"blockAlert\":\"style-module_blockAlert__Ca38Bd5Umv5QEdmYgdUQ\",\"variableAlert\":\"style-module_variableAlert__uSvcBJbgbtWULOd_u7g_\",\"blockAlertIcon\":\"style-module_blockAlertIcon__mhY7G3rcXJlFlgWvivno\",\"rowCell\":\"style-module_rowCell__tsTVumu5K1hws5rz793y\",\"disabled\":\"style-module_disabled__CuOLlRkpCSEJ7kjwKJQL\",\"busyContainer\":\"style-module_busyContainer__SBj235RHJ2LAMbswl6l1\",\"projectGroupHeader\":\"style-module_projectGroupHeader__uwa3KFDL6RUFkm3Kxdgb\"};","// extracted by mini-css-extract-plugin\nmodule.exports = {\"container\":\"releaseFilter-module_container__b94SpKMjKKg2iDHXwyDr\"};","// extracted by mini-css-extract-plugin\nmodule.exports = {\"selectFilter\":\"style-module_selectFilter__YclISAkH9Rl8hBaQP7Qa\"};","// extracted by mini-css-extract-plugin\nmodule.exports = {\"featureToggleTargetingButton\":\"style-module_featureToggleTargetingButton__nVyBDv5Nk5IMKdKa4uZ5\",\"featureToggleTargetingPopoverContainer\":\"style-module_featureToggleTargetingPopoverContainer__fGRdVJyIlsXTdsLPrw13\",\"featureToggleTargetingIcon\":\"style-module_featureToggleTargetingIcon__OBpEn12W_KCyiVxqHjKA\"};","// extracted by mini-css-extract-plugin\nmodule.exports = {\"hide-sm\":\"style-module_hide-sm__dJqWHIczrJOsOojZ4ek3\",\"hideSm\":\"style-module_hide-sm__dJqWHIczrJOsOojZ4ek3\",\"visible-sm\":\"style-module_visible-sm___v1xCTh76JIHAJ45mlEm\",\"visibleSm\":\"style-module_visible-sm___v1xCTh76JIHAJ45mlEm\",\"hide-md\":\"style-module_hide-md__h5Ggz6CVe2mJTyRwke0d\",\"hideMd\":\"style-module_hide-md__h5Ggz6CVe2mJTyRwke0d\",\"visible-md\":\"style-module_visible-md___7Juc_d0u97927cu9QcS\",\"visibleMd\":\"style-module_visible-md___7Juc_d0u97927cu9QcS\",\"dropDownMenu-white\":\"style-module_dropDownMenu-white__UFOMsmrpNlTexCdM48IH\",\"dropDownMenuWhite\":\"style-module_dropDownMenu-white__UFOMsmrpNlTexCdM48IH\",\"label\":\"style-module_label__QD5293DRaPUicw775MsW\",\"buttonDropDown\":\"style-module_buttonDropDown__RxdcNPfohqAKo_xXX7pz\",\"error-border\":\"style-module_error-border__mGh4Lmlv81JFmEnzM8ba\",\"errorBorder\":\"style-module_error-border__mGh4Lmlv81JFmEnzM8ba\",\"dropDownMenu-grey\":\"style-module_dropDownMenu-grey__NDHvB1XuI7YXPKPdzgTA\",\"dropDownMenuGrey\":\"style-module_dropDownMenu-grey__NDHvB1XuI7YXPKPdzgTA\",\"error\":\"style-module_error__vZbb7hUYQnT5qOHoLWkY\",\"gitIcon\":\"style-module_gitIcon__jm_fPDxHODWHJVRr92Fh\",\"lockIcon\":\"style-module_lockIcon__iVqPxTCt5VjjX1Ro6IGi\",\"inputContent\":\"style-module_inputContent__amjYD4RkaViO5DwR10WQ\",\"warning\":\"style-module_warning__mYuXQ3LfirCokCvRrg5E\",\"info\":\"style-module_info__i2J2Hhz9BRH2ao0AJCp1\",\"refreshButton\":\"style-module_refreshButton__YQyi5TAOj9QZcGaUX0bQ\",\"value\":\"style-module_value__C63L2nvKTpnHwRyCu8Jp\",\"selectContainer\":\"style-module_selectContainer__fo5wdCQbugKIkgfHNto2\",\"fetchButtonContainer\":\"style-module_fetchButtonContainer__DuuOnUqsMyuZxerYr2zw\",\"helperText\":\"style-module_helperText__niMd6sLmxlFNrkmShZQo\",\"menuListScrollContainer\":\"style-module_menuListScrollContainer__eBEJHkZknOz5Rs0mNt7g\",\"noResultsContainer\":\"style-module_noResultsContainer__wnFPbtdrbJFixNZXUxi2\",\"createBranchLinkDisabled\":\"style-module_createBranchLinkDisabled__iCm9rNaYnlF9oqBYXRR0\",\"menuItem\":\"style-module_menuItem__ZYlk58Fy9YjZIPqX7Wg1\"};","// extracted by mini-css-extract-plugin\nmodule.exports = {\"hide-sm\":\"style-module_hide-sm__qkttDs6XyiZBw3impD05\",\"hideSm\":\"style-module_hide-sm__qkttDs6XyiZBw3impD05\",\"visible-sm\":\"style-module_visible-sm__ciaeLh_AqZKsJ_6GFklQ\",\"visibleSm\":\"style-module_visible-sm__ciaeLh_AqZKsJ_6GFklQ\",\"hide-md\":\"style-module_hide-md__EYEVZlBrz6W76Dqs6Oxk\",\"hideMd\":\"style-module_hide-md__EYEVZlBrz6W76Dqs6Oxk\",\"visible-md\":\"style-module_visible-md__almv7FtIvhqDQdnw5yfK\",\"visibleMd\":\"style-module_visible-md__almv7FtIvhqDQdnw5yfK\",\"container\":\"style-module_container__UDYrDjIqdzI2Or654cSw\",\"paperContainer\":\"style-module_paperContainer__sH2ATKOeGTzupYM_qmyV\",\"unorderedList\":\"style-module_unorderedList__Fjp03ZVkH5zcDfVKiRHV\",\"layoutContainer\":\"style-module_layoutContainer__cL9CKGks4JUlXHPzA_ZG\"};","// extracted by mini-css-extract-plugin\nmodule.exports = {\"hide-sm\":\"InstalledActionTemplateList-module_hide-sm__YPfHZ5aSZGzSGAKbRf1j\",\"hideSm\":\"InstalledActionTemplateList-module_hide-sm__YPfHZ5aSZGzSGAKbRf1j\",\"visible-sm\":\"InstalledActionTemplateList-module_visible-sm__Fhu_Grh8f52VZ7WV073B\",\"visibleSm\":\"InstalledActionTemplateList-module_visible-sm__Fhu_Grh8f52VZ7WV073B\",\"hide-md\":\"InstalledActionTemplateList-module_hide-md__WtCnLCd7J7x0g9RBXmwj\",\"hideMd\":\"InstalledActionTemplateList-module_hide-md__WtCnLCd7J7x0g9RBXmwj\",\"visible-md\":\"InstalledActionTemplateList-module_visible-md__F1ndjkExN9bTuWyXG_xe\",\"visibleMd\":\"InstalledActionTemplateList-module_visible-md__F1ndjkExN9bTuWyXG_xe\",\"container\":\"InstalledActionTemplateList-module_container__ZC4bXyOjMNzLyLmERBpb\",\"actionContainer\":\"InstalledActionTemplateList-module_actionContainer__Gc22Cl5Z4ur7kKtr2TaM\",\"sectionDivider\":\"InstalledActionTemplateList-module_sectionDivider__azxEFFFibZBrYbV_EZ1w\",\"categoryTemplates\":\"InstalledActionTemplateList-module_categoryTemplates__lfawe98rZv_WfnML81mF\",\"categories\":\"InstalledActionTemplateList-module_categories__Gl4tgulHFV6cxnNrIhAd\",\"stepTemplatesHeader\":\"InstalledActionTemplateList-module_stepTemplatesHeader__tbY2GinkdF2IImVDxL_h\",\"stepTemplatesNoResult\":\"InstalledActionTemplateList-module_stepTemplatesNoResult__Y7EhtvGDVebxPo9SPBp1\",\"templates\":\"InstalledActionTemplateList-module_templates__riMHiYWwp1NfaeJ1BQ47\"};","// extracted by mini-css-extract-plugin\nmodule.exports = {\"hide-sm\":\"style-module_hide-sm__b6yxrvYvqw36z7N_feKC\",\"hideSm\":\"style-module_hide-sm__b6yxrvYvqw36z7N_feKC\",\"visible-sm\":\"style-module_visible-sm__ps8Zuvf2bmhkzOURVaPa\",\"visibleSm\":\"style-module_visible-sm__ps8Zuvf2bmhkzOURVaPa\",\"hide-md\":\"style-module_hide-md__Z7zbYMuYernJyqYBFi1A\",\"hideMd\":\"style-module_hide-md__Z7zbYMuYernJyqYBFi1A\",\"visible-md\":\"style-module_visible-md__G5MiSe6os_iZJp2TIZmg\",\"visibleMd\":\"style-module_visible-md__G5MiSe6os_iZJp2TIZmg\",\"container\":\"style-module_container__YVUQa1jRZth39sJ7KIhm\",\"pageTitle\":\"style-module_pageTitle__wn5a60bpkm9DzJSEEwhX\",\"filterSearchBoxContainer\":\"style-module_filterSearchBoxContainer__T9oeDHn7u9cWNxaoPnKA\",\"sectionDivider\":\"style-module_sectionDivider__JJF49FzlA1l06Ckdoshh\",\"stepSelectionContainer\":\"style-module_stepSelectionContainer__d2vUeHvfSPcU9t5itQQN\",\"categoriesContainer\":\"style-module_categoriesContainer__NstAHdmwCcizOJxNiZbF\",\"stepsContainer\":\"style-module_stepsContainer__TP19XOi4ko3rVeStY95M\",\"searchHeader\":\"style-module_searchHeader__xrSluFd0xT9DSVkaWCPK\"};","// extracted by mini-css-extract-plugin\nmodule.exports = {\"hide-sm\":\"style-module_hide-sm__PRDrm2fePdNsWfuHGPzo\",\"hideSm\":\"style-module_hide-sm__PRDrm2fePdNsWfuHGPzo\",\"visible-sm\":\"style-module_visible-sm__AqWShsw7tXaN19zXVpzL\",\"visibleSm\":\"style-module_visible-sm__AqWShsw7tXaN19zXVpzL\",\"hide-md\":\"style-module_hide-md__Zhz0zN7Y9BZaZZTVfDSo\",\"hideMd\":\"style-module_hide-md__Zhz0zN7Y9BZaZZTVfDSo\",\"visible-md\":\"style-module_visible-md__lUgt_4lNDlEw4eimcrIb\",\"visibleMd\":\"style-module_visible-md__lUgt_4lNDlEw4eimcrIb\",\"deploymentPart\":\"style-module_deploymentPart__lIyFzQWPuYOYmmrYdMYq\",\"divider\":\"style-module_divider__N_NyvLj3Or0fIGAlulBr\",\"actionSummary\":\"style-module_actionSummary__Sh3EZq6LZNvA_l3UJfcm\",\"disabled\":\"style-module_disabled__fRAnIr2QoAt2DYiB0aGr\",\"logo\":\"style-module_logo__EOgOgPT7znssofuZXToo\",\"content\":\"style-module_content__KOOE018h772q80bsWJYR\",\"contextualActions\":\"style-module_contextualActions__MnR4mpEXPZ_efjZyDXtd\",\"actions\":\"style-module_actions__TpFHLWzyvsDddljZa23m\",\"steps\":\"style-module_steps__InIwYslJcL81pHfDcTQ3\",\"index\":\"style-module_index__XEc6OAgwqjTh64GTdb5g\",\"container\":\"style-module_container__nvBYosg0ryBKEgUn9HnP\",\"contentHeader\":\"style-module_contentHeader__FobBL3OLAGhZyc4P7FUD\",\"contentBody\":\"style-module_contentBody__jkj0hVe3OfQlPVSz4Mxx\",\"environment\":\"style-module_environment__QnoLPcYcNIiYPGdxbL1B\",\"scriptModulesStatus\":\"style-module_scriptModulesStatus__YO8579SI6quJqeobcqNu\",\"includedScriptModules\":\"style-module_includedScriptModules__poI6PVOfXEYeHW408Tzn\",\"lifeCycleName\":\"style-module_lifeCycleName__P85OzBbPEffA6bYfwtW2\",\"noteList\":\"style-module_noteList__sf3P_f1vXbPSDT8054GS\",\"stepTitle\":\"style-module_stepTitle__eeMSDPOeYvbwuem9cpFr\",\"stepNumber\":\"style-module_stepNumber__R3gPk6JCupPEPdAqrcGB\",\"stepType\":\"style-module_stepType___v8jVN4GWSZiKxtBXmd7\",\"row\":\"style-module_row__b8scxqa1Z6IW7dk8qq9s\",\"images\":\"style-module_images__mT5Oaa5Sg2yhh5RtTVho\",\"col\":\"style-module_col__fDOlGNas8vMviE_iwYog\",\"parentStepIcon\":\"style-module_parentStepIcon__gYxM1vyimmlDCyZKExQ2\",\"targetRolesEmpty\":\"style-module_targetRolesEmpty__595gBOlmrAp4KsULB2Ul\",\"suggestedTargetRoles\":\"style-module_suggestedTargetRoles__NIEw6NexuzFyhPBSYHz5\",\"stepSubTitleContainer\":\"style-module_stepSubTitleContainer___nm9BbXTpo8QVYXV_BEu\",\"stepTitleDocsLink\":\"style-module_stepTitleDocsLink__hQZgy30mNlTd18KAiUNw\"};","// extracted by mini-css-extract-plugin\nmodule.exports = {\"uploadContainer\":\"style-module_uploadContainer__DPrMxfWDazWaqBGohZ7_\"};","// extracted by mini-css-extract-plugin\nmodule.exports = {\"indicatorContainer\":\"ProcessActionErrorIndicator-module_indicatorContainer__ZVfH1fKcdko2QuAH7k4g\",\"itemContainer\":\"ProcessActionErrorIndicator-module_itemContainer__qhu9BNSadzrfhAQIN5y0\"};","// extracted by mini-css-extract-plugin\nmodule.exports = {\"hide-sm\":\"ProcessListItem-module_hide-sm__OkcQpA97B4lvLHllhjuo\",\"hideSm\":\"ProcessListItem-module_hide-sm__OkcQpA97B4lvLHllhjuo\",\"visible-sm\":\"ProcessListItem-module_visible-sm__SEEA9NJzjl31YQ37COsJ\",\"visibleSm\":\"ProcessListItem-module_visible-sm__SEEA9NJzjl31YQ37COsJ\",\"hide-md\":\"ProcessListItem-module_hide-md__onSi53ENcL8Zk8Djp5xp\",\"hideMd\":\"ProcessListItem-module_hide-md__onSi53ENcL8Zk8Djp5xp\",\"visible-md\":\"ProcessListItem-module_visible-md__fHpG9T2x8sVBcXB6Btp_\",\"visibleMd\":\"ProcessListItem-module_visible-md__fHpG9T2x8sVBcXB6Btp_\",\"stepList\":\"ProcessListItem-module_stepList__UFbx9VspVVsw2vQTju4A\",\"listItemLine\":\"ProcessListItem-module_listItemLine__z9KskOqKpNTyhuaWNwLU\",\"listItem\":\"ProcessListItem-module_listItem__mJfgLkKkMDOnwxvjo0LE\",\"stepContainer\":\"ProcessListItem-module_stepContainer__PUxjxjnikGfeAClbRFEg\",\"parallelContainer\":\"ProcessListItem-module_parallelContainer__LoboTD28MQr0prsSqTdo\",\"parallelIcon\":\"ProcessListItem-module_parallelIcon__EMgwiBEBg0cUKbYLPBxo\",\"content\":\"ProcessListItem-module_content__f2UAjUYk_CxwzK2KdWYI\",\"stepContent\":\"ProcessListItem-module_stepContent__a2NS8hH4ldfzajUheA4J\",\"summary\":\"ProcessListItem-module_summary__NAF3VSuLFyuj52AW0OQR\",\"contextualActions\":\"ProcessListItem-module_contextualActions__o2eQty0h6FPyw9y2m_Dr\",\"stepLogo\":\"ProcessListItem-module_stepLogo__jwMloam264bSBMhaMWmq\",\"stepName\":\"ProcessListItem-module_stepName__Tp_BWVbijkqmlRmXHQPO\",\"stepNumber\":\"ProcessListItem-module_stepNumber__V5dC7vHOB1LKkA0XV2Cm\",\"stepNotes\":\"ProcessListItem-module_stepNotes__tGXm9MjNkbyueuAjstLr\",\"notes\":\"ProcessListItem-module_notes__ez5D51uOkIinZDw4f73w\",\"isDisabled\":\"ProcessListItem-module_isDisabled__cGbxT1QQr3GWLqJPvKWp\",\"group\":\"ProcessListItem-module_group__YLGRPyR1xPTlrcA7462m\",\"stepWrapper\":\"ProcessListItem-module_stepWrapper__wmKnhm9PVYORPPFumLfG\",\"stepIcon\":\"ProcessListItem-module_stepIcon__fgCeK8JY6CvohEM8gk0d\",\"summaryContainer\":\"ProcessListItem-module_summaryContainer__vaNblfHFiUubXalkbrx_\"};","// extracted by mini-css-extract-plugin\nmodule.exports = {\"hide-sm\":\"ProcessListItemForSidebar-module_hide-sm___DwT7iw3UYZJNOW6LFEa\",\"hideSm\":\"ProcessListItemForSidebar-module_hide-sm___DwT7iw3UYZJNOW6LFEa\",\"visible-sm\":\"ProcessListItemForSidebar-module_visible-sm___WbLx7qOhv8ohQsTdMBu\",\"visibleSm\":\"ProcessListItemForSidebar-module_visible-sm___WbLx7qOhv8ohQsTdMBu\",\"hide-md\":\"ProcessListItemForSidebar-module_hide-md__LvRJjUqG_qI4DnVGzQBo\",\"hideMd\":\"ProcessListItemForSidebar-module_hide-md__LvRJjUqG_qI4DnVGzQBo\",\"visible-md\":\"ProcessListItemForSidebar-module_visible-md__I1kpsHM85tNt5QQjm_TI\",\"visibleMd\":\"ProcessListItemForSidebar-module_visible-md__I1kpsHM85tNt5QQjm_TI\",\"stepList\":\"ProcessListItemForSidebar-module_stepList__Wc2CJPEVVKKrL5QG4HfC\",\"listItemLine\":\"ProcessListItemForSidebar-module_listItemLine__y5cM6SO_Ok6tvQgvCX5t\",\"listItem\":\"ProcessListItemForSidebar-module_listItem__g9lmELLiDLgNDiFtQJbs\",\"stepContainer\":\"ProcessListItemForSidebar-module_stepContainer__HVZ3AhPuuqzNfUB5ZIvC\",\"isDisabled\":\"ProcessListItemForSidebar-module_isDisabled__vBt3DGIUhtf7QOSTgcym\",\"stepNumber\":\"ProcessListItemForSidebar-module_stepNumber__xoqr0tC2a90H_h_y1WQ0\",\"stepName\":\"ProcessListItemForSidebar-module_stepName__WGXefck5g5hJXrD2wAMl\",\"contextualActions\":\"ProcessListItemForSidebar-module_contextualActions__t4ocEikH8tq9ll_eaIcC\",\"stepLogo\":\"ProcessListItemForSidebar-module_stepLogo__WTSZ2vuEvjkyuG89esX1\",\"parallelContainer\":\"ProcessListItemForSidebar-module_parallelContainer__zqD9Uve7rJULn0NaJAaQ\",\"parallelIcon\":\"ProcessListItemForSidebar-module_parallelIcon__VWTr7pirpGcUop6dZ5jg\",\"content\":\"ProcessListItemForSidebar-module_content__k204zI1Ttn4yfIdQzo6b\",\"isActive\":\"ProcessListItemForSidebar-module_isActive__lNe7OoX5hrAUj8NYlva0\",\"group\":\"ProcessListItemForSidebar-module_group__Kp3Ch5kcUCEq7fXhvYQ1\",\"stepWrapper\":\"ProcessListItemForSidebar-module_stepWrapper__oZqC_AT3EfrrjQv_9A31\",\"stepIcon\":\"ProcessListItemForSidebar-module_stepIcon__YOibTbOGGF0NHn4ur2Ra\",\"listItemRipple\":\"ProcessListItemForSidebar-module_listItemRipple__mvhCuU1SzTQW2idpO4r6\",\"overflowButton\":\"ProcessListItemForSidebar-module_overflowButton__dJqQWX3yuBRUQkBnhhCT\"};","// extracted by mini-css-extract-plugin\nmodule.exports = {\"hide-sm\":\"ProcessParentStepDetails-module_hide-sm__NIi8fkhLUvn7SCZw2S8O\",\"hideSm\":\"ProcessParentStepDetails-module_hide-sm__NIi8fkhLUvn7SCZw2S8O\",\"visible-sm\":\"ProcessParentStepDetails-module_visible-sm__QmQ_i50BVVJ2wUkcSg7v\",\"visibleSm\":\"ProcessParentStepDetails-module_visible-sm__QmQ_i50BVVJ2wUkcSg7v\",\"hide-md\":\"ProcessParentStepDetails-module_hide-md__SGR6mGtr2fVOgtOywh9K\",\"hideMd\":\"ProcessParentStepDetails-module_hide-md__SGR6mGtr2fVOgtOywh9K\",\"visible-md\":\"ProcessParentStepDetails-module_visible-md__v81or6ZhuCpmyapsDWar\",\"visibleMd\":\"ProcessParentStepDetails-module_visible-md__v81or6ZhuCpmyapsDWar\",\"parentStepIcon\":\"ProcessParentStepDetails-module_parentStepIcon__AaPZoOcjD1v9DdXFZWFl\",\"nameSummaryContainer\":\"ProcessParentStepDetails-module_nameSummaryContainer__Ka_lWefmHXF0pUi04Udg\",\"nameSummary\":\"ProcessParentStepDetails-module_nameSummary__koz4ZV43t4Ei9ncuhsyJ\",\"slugSummary\":\"ProcessParentStepDetails-module_slugSummary__HQpICM6IWp7FpILvfoGx\"};","// extracted by mini-css-extract-plugin\nmodule.exports = {\"hide-sm\":\"ProcessSidebarLayout-module_hide-sm__E19t1bbW0uo013w_PtTK\",\"hideSm\":\"ProcessSidebarLayout-module_hide-sm__E19t1bbW0uo013w_PtTK\",\"visible-sm\":\"ProcessSidebarLayout-module_visible-sm__IBeo_5liMXqEgbaR73Bw\",\"visibleSm\":\"ProcessSidebarLayout-module_visible-sm__IBeo_5liMXqEgbaR73Bw\",\"hide-md\":\"ProcessSidebarLayout-module_hide-md__wim22o9SUEjdLuzOmgd1\",\"hideMd\":\"ProcessSidebarLayout-module_hide-md__wim22o9SUEjdLuzOmgd1\",\"visible-md\":\"ProcessSidebarLayout-module_visible-md__DzJJZpaszmBKKC9887vJ\",\"visibleMd\":\"ProcessSidebarLayout-module_visible-md__DzJJZpaszmBKKC9887vJ\",\"container\":\"ProcessSidebarLayout-module_container__wMHG_2GGmIfxludZGXQL\",\"sidebar\":\"ProcessSidebarLayout-module_sidebar__fbfUr1uQZHT8jRZKZgth\",\"content\":\"ProcessSidebarLayout-module_content__ZDpxZ73keFsUaWclef3i\",\"headerBody\":\"ProcessSidebarLayout-module_headerBody__NoTGWXJtJgftkagFJWfJ\",\"headerBodyFilter\":\"ProcessSidebarLayout-module_headerBodyFilter__iXd9bjlwTnR4pS2n8zA6\"};","// extracted by mini-css-extract-plugin\nmodule.exports = {\"content\":\"ChangeVersionDialog-module_content__dyEitmQ4lhlQF1kp0bLr\",\"buttons\":\"ChangeVersionDialog-module_buttons__N0x0968evI6kbTro5mQl\"};","// extracted by mini-css-extract-plugin\nmodule.exports = {\"content\":\"StepPackageInfoDialog-module_content__QlgILZwUZWWU3orfbAOY\",\"title\":\"StepPackageInfoDialog-module_title__m15NHIDLBzKpth83s6CQ\",\"version\":\"StepPackageInfoDialog-module_version__Vdl0w3gf6tmkQCKmq00s\",\"description\":\"StepPackageInfoDialog-module_description__hihiwnNTbi3E3eHxGR3X\",\"buttons\":\"StepPackageInfoDialog-module_buttons__TZWQF9PdHcTJJB3fJr1x\"};","// extracted by mini-css-extract-plugin\nmodule.exports = {\"hide-sm\":\"style-module_hide-sm___qfwTRd9juUrCn09hOOQ\",\"hideSm\":\"style-module_hide-sm___qfwTRd9juUrCn09hOOQ\",\"visible-sm\":\"style-module_visible-sm__HU46RghC4_zZEHOJH3hG\",\"visibleSm\":\"style-module_visible-sm__HU46RghC4_zZEHOJH3hG\",\"hide-md\":\"style-module_hide-md__K9bbA5TaRYuG5dbVVS8l\",\"hideMd\":\"style-module_hide-md__K9bbA5TaRYuG5dbVVS8l\",\"visible-md\":\"style-module_visible-md__MxCOMIXBn6s4C44EgO34\",\"visibleMd\":\"style-module_visible-md__MxCOMIXBn6s4C44EgO34\",\"content\":\"style-module_content__LOdyaNAYtWzbnHn86MdV\",\"copy\":\"style-module_copy__L57Zaqv1Nmyby2_jz_pQ\",\"button\":\"style-module_button__Xyot49P_CXHCyjIH6EtK\"};","// extracted by mini-css-extract-plugin\nmodule.exports = {\"nameSummaryContainer\":\"style-module_nameSummaryContainer__ic69LXGfTDmSahicOapI\",\"nameSummary\":\"style-module_nameSummary__hkWQmWAgAGsu7n1CihA0\"};","// extracted by mini-css-extract-plugin\nmodule.exports = {\"taskDetailsCell\":\"style-module_taskDetailsCell__NL2D0USrozNjVLD57C2p\",\"blockIcon\":\"style-module_blockIcon__S5TolIXIwJ655i424aoI\",\"cell\":\"style-module_cell__Bw9O2MLdGTJwnFuT4HqR\"};","// extracted by mini-css-extract-plugin\nmodule.exports = {\"group\":\"style-module_group__g9ikghDeduHKbtjTVoYI\",\"deployAllCell\":\"style-module_deployAllCell__wGqEDidm1lcF4GrEpm3w\",\"deploy\":\"style-module_deploy__tjaXrMgFetTR_ihk5C_H\",\"dashboardTable\":\"style-module_dashboardTable__xQSaqFZ7qrAM_BxFVkmG\",\"spacerCell\":\"style-module_spacerCell__P4i4XFni8QZZN7DMoij1\",\"headerChip\":\"style-module_headerChip__H9bXoHeWNdwkDYdrd6i3\",\"headerCell\":\"style-module_headerCell__f8U7J8Rl5OYuY050sY6A\",\"columnHead\":\"style-module_columnHead__AIYedNYqHObHeTgHsw6a\",\"highlightColumn\":\"style-module_highlightColumn__LseSSOQwAByhaeH5NwBx\",\"centerCell\":\"style-module_centerCell__XHXH5tgoV0etNdA3cwES\",\"fullHeight\":\"style-module_fullHeight__R8cRjysHj2PcKaqqwxsS\",\"blankCell\":\"style-module_blankCell__EGxJZzq9rfBvmeW6CE5D\",\"scrollableContainer\":\"style-module_scrollableContainer__KTcldk_yVjaSFyCl5bT7\",\"emptyCell\":\"style-module_emptyCell__B02oSAlUHyp20exHXxpg\",\"headersOverflowContainer\":\"style-module_headersOverflowContainer__kUmf0q7Jveja4cCo80bU\",\"headersContainer\":\"style-module_headersContainer__yT60i5ajv3JoxRljR5XN\",\"dataContainer\":\"style-module_dataContainer__UqSCJTgHwxC_bW4e4rqt\",\"environmentContainer\":\"style-module_environmentContainer__XlWRBV9M7CIYYx1wZI7x\",\"firstColumnContainer\":\"style-module_firstColumnContainer__fyr8SdqwRU54bwXwtjOH\",\"scrollbarPadding\":\"style-module_scrollbarPadding__RlZ8yYK10k0iuxsoOTfQ\",\"hideScrollbarPanel\":\"style-module_hideScrollbarPanel__fC083M9r9KZFclK_2Jsu\",\"rightContainer\":\"style-module_rightContainer__bi9vf_tCPfR4D7Uwafkc\",\"scrollableTableContainer\":\"style-module_scrollableTableContainer__sYyM1IY3yQCpoBiQ6O7I\",\"innerGrid\":\"style-module_innerGrid__NWOnbish07jHtlHh2Qam\",\"loadMoreContainer\":\"style-module_loadMoreContainer__rw2dW6CeGSTxe8g2ezeN\",\"loadMoreActions\":\"style-module_loadMoreActions__T5WgOCyQ9E0G6OTOXona\",\"loadMoreSubText\":\"style-module_loadMoreSubText__zmIUkZhANHPJNjfnFqE6\"};","// extracted by mini-css-extract-plugin\nmodule.exports = {\"full-width\":\"style-module_full-width__Kx2G4pBdUFdx721W5jqi\",\"fullWidth\":\"style-module_full-width__Kx2G4pBdUFdx721W5jqi\",\"container\":\"style-module_container__FyN67DOfYzce7WX3Z7zt\"};","// extracted by mini-css-extract-plugin\nmodule.exports = {\"hide-sm\":\"ProjectInsightsDataLoader-module_hide-sm__wqFLH0GBJaoALqMJsIPk\",\"hideSm\":\"ProjectInsightsDataLoader-module_hide-sm__wqFLH0GBJaoALqMJsIPk\",\"visible-sm\":\"ProjectInsightsDataLoader-module_visible-sm__YsA2CfEi53P8gcWgCx1w\",\"visibleSm\":\"ProjectInsightsDataLoader-module_visible-sm__YsA2CfEi53P8gcWgCx1w\",\"hide-md\":\"ProjectInsightsDataLoader-module_hide-md__o0xie0Fv0yyMmQ330tDg\",\"hideMd\":\"ProjectInsightsDataLoader-module_hide-md__o0xie0Fv0yyMmQ330tDg\",\"visible-md\":\"ProjectInsightsDataLoader-module_visible-md__DN1easrPUrqhgSnD3Yt1\",\"visibleMd\":\"ProjectInsightsDataLoader-module_visible-md__DN1easrPUrqhgSnD3Yt1\",\"filterSection\":\"ProjectInsightsDataLoader-module_filterSection__atni9nqc8mn7jWVtSpTF\",\"scopeSelectors\":\"ProjectInsightsDataLoader-module_scopeSelectors__xqDLo_zpSZ7EDx0MLawo\",\"selectWrap\":\"ProjectInsightsDataLoader-module_selectWrap__L7vr5idq78TKJZldHmZY\"};","// extracted by mini-css-extract-plugin\nmodule.exports = {\"content\":\"ProjectInsightsDeploymentDuration-module_content__tyFPQa5YYYSj4ufcTazK\",\"chartContainer\":\"ProjectInsightsDeploymentDuration-module_chartContainer__sJxgsVjAWw385CfoTEH1\",\"csvDownloadWrap\":\"ProjectInsightsDeploymentDuration-module_csvDownloadWrap__T6XElGzdOybQS0BJvHvX\"};","// extracted by mini-css-extract-plugin\nmodule.exports = {\"content\":\"ProjectInsightsFailureRate-module_content__Mx0nKKFNstqH24S7P04_\",\"csvDownloadWrap\":\"ProjectInsightsFailureRate-module_csvDownloadWrap__gYr4b0G6YKrEyDqW_mR3\"};","// extracted by mini-css-extract-plugin\nmodule.exports = {\"content\":\"ProjectInsightsFrequency-module_content__XpwpTNrVXXanaGXcI0JC\",\"csvDownloadWrap\":\"ProjectInsightsFrequency-module_csvDownloadWrap__P3OeeKgdXv3SEG3bAoZr\"};","// extracted by mini-css-extract-plugin\nmodule.exports = {\"content\":\"ProjectInsightsLeadTime-module_content__VXpr7yjJvaoZ7lhYFNYI\",\"csvDownloadWrap\":\"ProjectInsightsLeadTime-module_csvDownloadWrap__FyDjvISoP9GlXFHdK1K7\"};","// extracted by mini-css-extract-plugin\nmodule.exports = {\"hide-sm\":\"ProjectInsightsOverview-module_hide-sm__Ut5vGCw3V80BhPdnhPwT\",\"hideSm\":\"ProjectInsightsOverview-module_hide-sm__Ut5vGCw3V80BhPdnhPwT\",\"visible-sm\":\"ProjectInsightsOverview-module_visible-sm__q26uCE7uR7kyfsC3bNvA\",\"visibleSm\":\"ProjectInsightsOverview-module_visible-sm__q26uCE7uR7kyfsC3bNvA\",\"hide-md\":\"ProjectInsightsOverview-module_hide-md__zNggYixEAWSpOIqUtl9d\",\"hideMd\":\"ProjectInsightsOverview-module_hide-md__zNggYixEAWSpOIqUtl9d\",\"visible-md\":\"ProjectInsightsOverview-module_visible-md__j5_4QVp09IMPtm2ITDh1\",\"visibleMd\":\"ProjectInsightsOverview-module_visible-md__j5_4QVp09IMPtm2ITDh1\",\"content\":\"ProjectInsightsOverview-module_content__OCxaZl_yph_Vll6EW0qh\",\"twoColumnGrid\":\"ProjectInsightsOverview-module_twoColumnGrid__dqLcOjCS8p_NMJccQkrj\",\"tempoGrid\":\"ProjectInsightsOverview-module_tempoGrid__poYHZGEGnaQ7SFpnTDwX\",\"groupHeading\":\"ProjectInsightsOverview-module_groupHeading__nfJtXFFVGNeS6tW30Opj\",\"titleContainer\":\"ProjectInsightsOverview-module_titleContainer__HvXofrxjibDoINLiorX_\",\"title\":\"ProjectInsightsOverview-module_title__xJNjKac7oYGAexhupytZ\"};","// extracted by mini-css-extract-plugin\nmodule.exports = {\"content\":\"ProjectInsightsTimeToRecovery-module_content__xoF_51F4oZLPsbCpeSgZ\",\"csvDownloadWrap\":\"ProjectInsightsTimeToRecovery-module_csvDownloadWrap__X1JOVTD4fIBJ5uc218LJ\"};","// extracted by mini-css-extract-plugin\nmodule.exports = {\"hide-sm\":\"style-module_hide-sm___8e7IXVIwF0j87iCMDmk\",\"hideSm\":\"style-module_hide-sm___8e7IXVIwF0j87iCMDmk\",\"visible-sm\":\"style-module_visible-sm__zPOBiA2muuc9kyVygrvq\",\"visibleSm\":\"style-module_visible-sm__zPOBiA2muuc9kyVygrvq\",\"hide-md\":\"style-module_hide-md__duhMu2EXCE7BTJPwIrO2\",\"hideMd\":\"style-module_hide-md__duhMu2EXCE7BTJPwIrO2\",\"visible-md\":\"style-module_visible-md__FK3x2ht16flhDzPEgTWQ\",\"visibleMd\":\"style-module_visible-md__FK3x2ht16flhDzPEgTWQ\",\"runbooksContainer\":\"style-module_runbooksContainer__R39QU8H6n_smJnA8nRdV\",\"eapContainer\":\"style-module_eapContainer__kdIlHRp3mRfhgxMvcrZ2\",\"eapBadge\":\"style-module_eapBadge__MQdprcPZkf5S5FYjWz3u\",\"branchSelector\":\"style-module_branchSelector__nszpxGSRh3qqbw41psXQ\",\"icon\":\"style-module_icon__kzrdgpLHulxmsWbCG1KG\",\"noIconIndented\":\"style-module_noIconIndented__SWctb9fcsBlzh9h1B1T9\",\"vcsErrorPanelContainer\":\"style-module_vcsErrorPanelContainer__fJApxxauAkUHWL8CGVJs\"};","// extracted by mini-css-extract-plugin\nmodule.exports = {\"branchList\":\"style-module_branchList__t3hVUnNLvVsiWlQGpatG\",\"branchListItems\":\"style-module_branchListItems__xlfhruxYw1LDODJwD_Rw\",\"calloutContainer\":\"style-module_calloutContainer__azp_qtbwPui3xGUl1b5A\"};","// extracted by mini-css-extract-plugin\nmodule.exports = {\"deployButtonFilterContainer\":\"DeployButton-module_deployButtonFilterContainer__RmYAkk7573pleadOGWxr\",\"filterFieldContainer\":\"DeployButton-module_filterFieldContainer__Ro5bKMHA9igYN69k_KnX\"};","// extracted by mini-css-extract-plugin\nmodule.exports = {\"hide-sm\":\"style-module_hide-sm__tknCk4LPHdBVNhHwz360\",\"hideSm\":\"style-module_hide-sm__tknCk4LPHdBVNhHwz360\",\"visible-sm\":\"style-module_visible-sm__h5kFfe6yFK57pqV2efyK\",\"visibleSm\":\"style-module_visible-sm__h5kFfe6yFK57pqV2efyK\",\"hide-md\":\"style-module_hide-md__KPLO0ASDuNVzxo0ei19X\",\"hideMd\":\"style-module_hide-md__KPLO0ASDuNVzxo0ei19X\",\"visible-md\":\"style-module_visible-md__zTUR_See05cXXKH62ii9\",\"visibleMd\":\"style-module_visible-md__zTUR_See05cXXKH62ii9\",\"deploymentResultItem\":\"style-module_deploymentResultItem__G66XB45zxkTzT3eEEHry\",\"deploymentsTableRow\":\"style-module_deploymentsTableRow__wXtOfMjCut9Z_6C1sr8n\",\"section\":\"style-module_section__ahE5TvaCxae2jgZ167rg\",\"healthStatusIconContainer\":\"style-module_healthStatusIconContainer__q2Z1DN8hL3TEJbZX03bO\",\"summaryCountContainer\":\"style-module_summaryCountContainer__zbaGUXgVrfdaRWHyTXTR\",\"summaryCount\":\"style-module_summaryCount__RcXSdwxvah0qcjLHG8m6\",\"environmentOrTenantIcon\":\"style-module_environmentOrTenantIcon__UKNwnWPFVm_FDvhdQpwE\",\"targetColumn\":\"style-module_targetColumn__IRSi_pDsSijaBKhkKbZF\",\"iconContainer\":\"style-module_iconContainer__NsLEcBJ5q9ImGYLG286e\",\"icon\":\"style-module_icon__Z_jnDaNBEN0aI0eC0GuQ\",\"success\":\"style-module_success__uBo6U5UiucAIdLSFY2UP\",\"error\":\"style-module_error__knO3l_M5RRYaRaYdBikX\",\"expandCollapse\":\"style-module_expandCollapse__vHm61qEokewGKiKaj9tM\"};","// extracted by mini-css-extract-plugin\nmodule.exports = {\"hide-sm\":\"style-module_hide-sm__r6LwqboqkTURZL_0tK_9\",\"hideSm\":\"style-module_hide-sm__r6LwqboqkTURZL_0tK_9\",\"visible-sm\":\"style-module_visible-sm__KLuJ_BOltKYmOuIOkhPH\",\"visibleSm\":\"style-module_visible-sm__KLuJ_BOltKYmOuIOkhPH\",\"hide-md\":\"style-module_hide-md__bSIEWEe6QgLK_9FEhdln\",\"hideMd\":\"style-module_hide-md__bSIEWEe6QgLK_9FEhdln\",\"visible-md\":\"style-module_visible-md__ElBnlS6TDjmR2KfAF0K5\",\"visibleMd\":\"style-module_visible-md__ElBnlS6TDjmR2KfAF0K5\",\"envAndTenantSelectorContainer\":\"style-module_envAndTenantSelectorContainer__n5SWadnywYiBRtfWxopu\",\"envAndTenantSummary\":\"style-module_envAndTenantSummary__Xng_pqDr8baIWwFYG3sp\",\"deployToAllTenantsButton\":\"style-module_deployToAllTenantsButton__hy5ushoLq_utVuYuB0nT\",\"tenantIntersection\":\"style-module_tenantIntersection___l3tkQ2QipZAcaT0_9Ew\",\"channelCallout\":\"style-module_channelCallout__wG35TeDYixhythrInSkv\",\"noTenantsExplanation\":\"style-module_noTenantsExplanation__lZXcsjUzgv7dS1JfAFtg\"};","// extracted by mini-css-extract-plugin\nmodule.exports = {\"datePicker\":\"style-module_datePicker__fc6k7nNZ3vmiJyOspWeA\"};","// extracted by mini-css-extract-plugin\nmodule.exports = {\"timePicker\":\"style-module_timePicker__BgN2TfPlgzeD36AmmrKy\",\"digit\":\"style-module_digit__jAyYPsBPMUefLyKY3TzA\"};","// extracted by mini-css-extract-plugin\nmodule.exports = {\"dateTimeRow\":\"style-module_dateTimeRow__hj4FFC5I1ZdcGrSM62K5\"};","// extracted by mini-css-extract-plugin\nmodule.exports = {\"hide-sm\":\"style-module_hide-sm__sGtLeOEzdKqWG_tqikGg\",\"hideSm\":\"style-module_hide-sm__sGtLeOEzdKqWG_tqikGg\",\"visible-sm\":\"style-module_visible-sm__WJuROc19vf9VscZ7NAO1\",\"visibleSm\":\"style-module_visible-sm__WJuROc19vf9VscZ7NAO1\",\"hide-md\":\"style-module_hide-md__geoVZaAqx9CwAtxA_3HT\",\"hideMd\":\"style-module_hide-md__geoVZaAqx9CwAtxA_3HT\",\"visible-md\":\"style-module_visible-md__oUxv8BZIy2sNoWNOCLHh\",\"visibleMd\":\"style-module_visible-md__oUxv8BZIy2sNoWNOCLHh\",\"section\":\"style-module_section__xSNAXw1XUTcUzll2WMFs\",\"results\":\"style-module_results__qPWJtXjVjFE0sIS2mxNF\",\"box\":\"style-module_box__vT3UnDl7uD5em2GcENnL\",\"title\":\"style-module_title__kiRmCk7zXklmBfVVKdhs\",\"success\":\"style-module_success__VtIsQBAqO4a3VIKuVivk\",\"warning\":\"style-module_warning__tAZmKFdebYFuIeE7g317\",\"none\":\"style-module_none__uhooX1DUP0Og7GS3kxg0\",\"stepPreview\":\"style-module_stepPreview__nFR53HFcqt8Y3XQuZCIA\",\"step\":\"style-module_step__w2nnAOMwubhoZzO0Pytg\",\"skipStepPreviewTitle\":\"style-module_skipStepPreviewTitle__q7JVGomL5fa3V9yaGWO7\",\"actionSummary\":\"style-module_actionSummary__LIidPCj7g5HBxFCQZBOh\",\"logo\":\"style-module_logo__mAbw1ZD9O4aDNujmOwsp\",\"machines\":\"style-module_machines__oRAtYteUQojzBLSlbgoN\",\"content\":\"style-module_content__RT7oqQoNDYgeNvUKEKHo\",\"stepToggle\":\"style-module_stepToggle__QStCpRmyaDWRMpN_RH0z\",\"note\":\"style-module_note__U6AksPGbz1tLm7C8rNwF\",\"stepCheckboxes\":\"style-module_stepCheckboxes__UZ51VkYf9Nxb24OtSS9S\",\"filter\":\"style-module_filter__eKc3h9oN3GrwTORB0r30\",\"excludedAction\":\"style-module_excludedAction__Y5aB7FOmCriISxY2dGd7\",\"excludedActionPostfixLabel\":\"style-module_excludedActionPostfixLabel__M3kM5Zja2h77PIDwi0Wp\",\"creatingDeploymentDialogContent\":\"style-module_creatingDeploymentDialogContent__VMCEN6RErZDARcC85IUu\",\"freezeList\":\"style-module_freezeList__nEY_dkIz9F1yk3dDpjpz\",\"freezeTableContainer\":\"style-module_freezeTableContainer__RY_LFt7LUgKBR9v85mUJ\",\"freezeTableHeaderRow\":\"style-module_freezeTableHeaderRow__ws_Hk5wFsnLPr60bHFAg\",\"freezeTableCell\":\"style-module_freezeTableCell__MrVvzSSL3NwmD3P1Zef0\",\"freezeTableText\":\"style-module_freezeTableText__IuFeXjEd4BI26KBC17AQ\"};","// extracted by mini-css-extract-plugin\nmodule.exports = {\"packageTableContainer\":\"style-module_packageTableContainer__OEQbjgeMXhwu0_jrXwpf\",\"packageTable\":\"style-module_packageTable__TYnI277mTIs7rRnYXMNS\",\"packageTableRowColumn\":\"style-module_packageTableRowColumn__qoYNzvzv8TP0kTFTqDdf\",\"packageTableRowColumnName\":\"style-module_packageTableRowColumnName__F9iR3OcTWDY3vNqENiU0\",\"packageColumn\":\"style-module_packageColumn__mY8_jwY09jwg0EeIRLxf\",\"latestColumn\":\"style-module_latestColumn__D5RqbVRn6Fc4puaMUrUu\",\"lastColumn\":\"style-module_lastColumn__F_ZShevJjBF2ARZPLofu\",\"specificColumn\":\"style-module_specificColumn__F8ERlpO4nxtDPjKksGHv\",\"versionTextbox\":\"style-module_versionTextbox__FEDNfzs6z53Rg3n8vikK\",\"specificVersionDiv\":\"style-module_specificVersionDiv__YWBBdoKDWe32DGaTe4pn\",\"inlineDiv\":\"style-module_inlineDiv__xsO9U6sMhL6Tlizzsrnq\",\"editVersionArea\":\"style-module_editVersionArea__v1tuX92VnaPtCCVTpWsq\",\"radioButtonContainer\":\"style-module_radioButtonContainer__ZTEsqoshPeXmCMUMIZJ2\",\"myRadioButton\":\"style-module_myRadioButton__rV1MgEJVvIF_VKeYEble\",\"gitReferenceTableContainer\":\"style-module_gitReferenceTableContainer__fgdsBeyvCbyQcRHIMCxG\",\"gitReferenceTable\":\"style-module_gitReferenceTable__m53pD5wHshOWoOaTD7HL\",\"gitReferenceTableRowColumn\":\"style-module_gitReferenceTableRowColumn__Rmw4ggCIybA6OSsRKOxG\",\"gitReferenceTableRowColumnName\":\"style-module_gitReferenceTableRowColumnName__VVcAVRUkzSmHPCrsV7m1\",\"repositoryColumn\":\"style-module_repositoryColumn__sKceMgwXMSsGJRSra_uT\",\"pathsColumn\":\"style-module_pathsColumn__AZ97VdgfKCTBA92uFpQA\",\"unorderedList\":\"style-module_unorderedList__PduvFnXREVtMd5rHeCC1\",\"specificBranchOrTag\":\"style-module_specificBranchOrTag__PM8h5oaTgQWLqLJfZHBy\",\"actionName\":\"style-module_actionName__GtifmcFV2jnU2tdseWiF\",\"repoUri\":\"style-module_repoUri__ttKjFGsFayPY8Gqh8HmW\",\"missingPackageIcon\":\"style-module_missingPackageIcon__kfBGoleQGVhPJBQqF9DS\"};","// extracted by mini-css-extract-plugin\nmodule.exports = {\"hide-sm\":\"style-module_hide-sm__O7K82ya2a4zsIi2bvyBU\",\"hideSm\":\"style-module_hide-sm__O7K82ya2a4zsIi2bvyBU\",\"visible-sm\":\"style-module_visible-sm__Xkc8yL1NC9PMYlZVTAi1\",\"visibleSm\":\"style-module_visible-sm__Xkc8yL1NC9PMYlZVTAi1\",\"hide-md\":\"style-module_hide-md__udEUZpoc8xwB0liPxLek\",\"hideMd\":\"style-module_hide-md__udEUZpoc8xwB0liPxLek\",\"visible-md\":\"style-module_visible-md__NvV_lKhcuUPMIW3ZkguI\",\"visibleMd\":\"style-module_visible-md__NvV_lKhcuUPMIW3ZkguI\",\"loadMore\":\"style-module_loadMore__gKTETbQwsFEVG_SU_8h6\",\"filesListItem\":\"style-module_filesListItem__jRCyDsKg5HQG5ulbIoOQ\",\"filesList\":\"style-module_filesList__wxiTSIdGoBnGfMGwsjRb\",\"fileListItemIcon\":\"style-module_fileListItemIcon__z5RJ_dFwQlcFxVKDZKOg\"};","// extracted by mini-css-extract-plugin\nmodule.exports = {\"hide-sm\":\"style-module_hide-sm__ZAGjf7IXJZ0g5yWMmRWq\",\"hideSm\":\"style-module_hide-sm__ZAGjf7IXJZ0g5yWMmRWq\",\"visible-sm\":\"style-module_visible-sm__CjXzusKgKr4uAUOLmrwW\",\"visibleSm\":\"style-module_visible-sm__CjXzusKgKr4uAUOLmrwW\",\"hide-md\":\"style-module_hide-md__rw_YG6nGm5vRgoRPGovq\",\"hideMd\":\"style-module_hide-md__rw_YG6nGm5vRgoRPGovq\",\"visible-md\":\"style-module_visible-md__GZpbsM1Wh43mYMwqQXQV\",\"visibleMd\":\"style-module_visible-md__GZpbsM1Wh43mYMwqQXQV\",\"deploymentsTableRow\":\"style-module_deploymentsTableRow__bvWeXac6S088jKZxXpmS\",\"phaseHeader\":\"style-module_phaseHeader__rRVKOJ7PZgPgKF5AwKfX\",\"phaseEnvironmentRow\":\"style-module_phaseEnvironmentRow__hzZVtGv5tUMTcMHm_6Rn\",\"deploymentRowButton\":\"style-module_deploymentRowButton__qHwdY47qE7vQyUcpYF0A\",\"deploymentExpander\":\"style-module_deploymentExpander__SnZeD5ltP2YHmLf0AvCQ\",\"deploymentDate\":\"style-module_deploymentDate__JB4rfQo8lx4Hw4XFaIgX\",\"deploymentDuration\":\"style-module_deploymentDuration__B_pcZCDQtxTMVXSkG62b\",\"visible\":\"style-module_visible__HPzu4ugUQDDvDRQhedfJ\",\"hidden\":\"style-module_hidden__UhxNIXcSXonfCdDUEZHg\",\"taskDetailsContainer\":\"style-module_taskDetailsContainer__oaRXMUAPj9zXxCsdNVVp\",\"details\":\"style-module_details__NfS8cLRPhB3uwiamTK6h\",\"description\":\"style-module_description__euHoD2IxBkEZUIqsWu64\",\"date\":\"style-module_date__om6wFL5RbnD8pbeLoQAo\",\"channelLifecycleDetails\":\"style-module_channelLifecycleDetails__JyY24ttYKA3VZyTdKnXC\",\"expandCollapse\":\"style-module_expandCollapse__wa5O6f1nHRjx1uDchg4j\",\"noteCenter\":\"style-module_noteCenter__fm5LpIgmfpLoRLkUXKA5\"};","// extracted by mini-css-extract-plugin\nmodule.exports = {\"checkbox\":\"style-module_checkbox__vTQ_puAoCUzyDqnrWtL1\",\"optionsBar\":\"style-module_optionsBar__qLlja0XpTPuOMf_tE3Nm\",\"tableColumn\":\"style-module_tableColumn__Hvy0j_as_gPGsl5Lu7UQ\",\"versionRadio\":\"style-module_versionRadio__aKwY811Is5dhvMr2auAC\",\"loadMore\":\"style-module_loadMore__EjrdGl32lb7tE3hqJIux\",\"infoCircle\":\"style-module_infoCircle__RFIgtGx76gmoau9RcEcK\",\"legend\":\"style-module_legend__LTkBf4_1jPpcKJHp7SgT\",\"infoIcon\":\"style-module_infoIcon__v5IOKxtOhVSSPRH7JyQA\"};","// extracted by mini-css-extract-plugin\nmodule.exports = {\"hide-sm\":\"style-module_hide-sm__nyrNpft6hszooAwZkdS2\",\"hideSm\":\"style-module_hide-sm__nyrNpft6hszooAwZkdS2\",\"visible-sm\":\"style-module_visible-sm__kT4N1z46jqc2_6fPG_ER\",\"visibleSm\":\"style-module_visible-sm__kT4N1z46jqc2_6fPG_ER\",\"hide-md\":\"style-module_hide-md__xZ1qO16F8PZWet0TwpgV\",\"hideMd\":\"style-module_hide-md__xZ1qO16F8PZWet0TwpgV\",\"visible-md\":\"style-module_visible-md__l1LdDinFfNke4dxI21Jl\",\"visibleMd\":\"style-module_visible-md__l1LdDinFfNke4dxI21Jl\",\"container\":\"style-module_container__KckAOp7SSHXKbR8DU75c\",\"ok\":\"style-module_ok__a91kxXOMR_8Dnnh6gUOH\",\"error\":\"style-module_error__sR0247Db2HMQjxDm_Imj\",\"buildInformationTitle\":\"style-module_buildInformationTitle__b3e2JKIcaZ2HLigkmpOe\",\"buildInformationSummary\":\"style-module_buildInformationSummary__RC0SKeRt9JKcdpoFeS9N\",\"buildInformationSummaryLabel\":\"style-module_buildInformationSummaryLabel__fLX71dtGUUEEdwlvqRuO\"};","// extracted by mini-css-extract-plugin\nmodule.exports = {\"warningIcon\":\"style-module_warningIcon__tYbFbni4V7hFlzklAtpB\"};","// extracted by mini-css-extract-plugin\nmodule.exports = {\"hide-sm\":\"style-module_hide-sm__STuyEA2z_eWBxpckGNz7\",\"hideSm\":\"style-module_hide-sm__STuyEA2z_eWBxpckGNz7\",\"visible-sm\":\"style-module_visible-sm__rtXlJzgtF3yo_HXEcHmK\",\"visibleSm\":\"style-module_visible-sm__rtXlJzgtF3yo_HXEcHmK\",\"hide-md\":\"style-module_hide-md__oRgIeZaewBAKSTnuNdfn\",\"hideMd\":\"style-module_hide-md__oRgIeZaewBAKSTnuNdfn\",\"visible-md\":\"style-module_visible-md__YYbXrCu29MBoIlmgz7S8\",\"visibleMd\":\"style-module_visible-md__YYbXrCu29MBoIlmgz7S8\",\"container\":\"style-module_container__uvgO8VoNCGALdA8FerPA\",\"noReleases\":\"style-module_noReleases__CmUzrqpCIMdq6Me2VPR2\",\"releaseVersionLink\":\"style-module_releaseVersionLink__oJEW5AyQQnpmY4Gc5sRu\",\"releaseDetailsLayout\":\"style-module_releaseDetailsLayout__B7YuEyBcGHBsUQwnVc94\",\"releaseDetailsLayoutContent\":\"style-module_releaseDetailsLayoutContent__f68SDi7LTkhKS3Q4cm3k\",\"releaseDetailsSidebarContent\":\"style-module_releaseDetailsSidebarContent__z3J4uHk57K1rJLwt3PaS\",\"subTitle\":\"style-module_subTitle__mj0Qc2wVNWg1IYj42bkY\",\"releaseHeader\":\"style-module_releaseHeader__euW95_Cwv1rRaXpL69ix\",\"releaseHeaderVersion\":\"style-module_releaseHeaderVersion__VE8gOy43YW2pHXbgAG1j\",\"dataTableHeaderColumn\":\"style-module_dataTableHeaderColumn__Ml2Y_d8qt0mMqwpVj3sq\",\"dataTableRowColumn\":\"style-module_dataTableRowColumn__kbLRVMse70ag3VqFqQn_\",\"marginTopBottom\":\"style-module_marginTopBottom__bbBjCK8xiPgudIX42KYY\",\"releaseNoteLayout\":\"style-module_releaseNoteLayout__JgC9SYsY7W_cVDBgOn0u\",\"releaseArtifactsLayout\":\"style-module_releaseArtifactsLayout__PBlNJKBsuH6m11bqopjL\",\"releaseBuildInformationLayout\":\"style-module_releaseBuildInformationLayout__Q1W0ub3PZeTqp4IdsSTd\",\"releasePackagesLayout\":\"style-module_releasePackagesLayout__Ut_JnKgDc1TGWBPARQ7j\",\"releasesTableContainer\":\"style-module_releasesTableContainer__ZU000ZfBVxRVsv7sgZfh\",\"filter\":\"style-module_filter__GAd90RCxQEK6bgtBaKQX\",\"filterRight\":\"style-module_filterRight__pxdxRW0Jv3Eo8WDKkaTB\",\"releaseNotesContainer\":\"style-module_releaseNotesContainer__DTVzI3CuhUXCrA3lG1p0\",\"collapseButton\":\"style-module_collapseButton__BehJRO9BIMQExt975nEZ\",\"notesColumn\":\"style-module_notesColumn__XlqoBVOxj21ofNxlGM3b\",\"artifactTime\":\"style-module_artifactTime__OGapum7YYQfcZ3LzKg7o\",\"gitRefChip\":\"style-module_gitRefChip__OE6mJD8YrGxrjKMNraDF\"};","// extracted by mini-css-extract-plugin\nmodule.exports = {\"hide-sm\":\"LastPublishedChip-module_hide-sm__ctsstbUdsislgZsmki1Z\",\"hideSm\":\"LastPublishedChip-module_hide-sm__ctsstbUdsislgZsmki1Z\",\"visible-sm\":\"LastPublishedChip-module_visible-sm__oScvu8h5tyoYlaKm2aTM\",\"visibleSm\":\"LastPublishedChip-module_visible-sm__oScvu8h5tyoYlaKm2aTM\",\"hide-md\":\"LastPublishedChip-module_hide-md__Xo4qtNi0w4o2AX6_uRnt\",\"hideMd\":\"LastPublishedChip-module_hide-md__Xo4qtNi0w4o2AX6_uRnt\",\"visible-md\":\"LastPublishedChip-module_visible-md__S7elwkMwckLjknfFPHWv\",\"visibleMd\":\"LastPublishedChip-module_visible-md__S7elwkMwckLjknfFPHWv\",\"lastPublishedTooltipContent\":\"LastPublishedChip-module_lastPublishedTooltipContent__uhn4RW5MeLL4gPPMUBoJ\"};","// extracted by mini-css-extract-plugin\nmodule.exports = {\"headerColumn\":\"OperationsOverviewPage-module_headerColumn__V4Pt0jKDwLO1BBcqty33\",\"emptyCell\":\"OperationsOverviewPage-module_emptyCell__wufmfphFA2WvoVv8ReSw\",\"filterControl\":\"OperationsOverviewPage-module_filterControl__l9cDW_t0YJon95ZXs_jJ\",\"runBy\":\"OperationsOverviewPage-module_runBy__j63RAwGKesqN08mcft_H\",\"customListItem\":\"OperationsOverviewPage-module_customListItem__mSY5iYGGmQggJQbM6PFl\",\"resultsTableRow\":\"OperationsOverviewPage-module_resultsTableRow__hDidpIw3azzT0gmhMF3_\",\"resultsTableHeaderRow\":\"OperationsOverviewPage-module_resultsTableHeaderRow__DugnGo3cvTO2ziTdT__R\",\"nextScheduledRow\":\"OperationsOverviewPage-module_nextScheduledRow__reddrbPRhhw2912giq9O\"};","// extracted by mini-css-extract-plugin\nmodule.exports = {\"container\":\"PublishButton-module_container__U2gv6WQVi6X3Yac6GcRC\",\"lastPublished\":\"PublishButton-module_lastPublished__aNKyxUqsvG9RV1P5CByD\"};","// extracted by mini-css-extract-plugin\nmodule.exports = {\"cardContainer\":\"RunbookOverviewLayout-module_cardContainer__rtICPoMusWxKEFksEtWQ\",\"cardContentContainer\":\"RunbookOverviewLayout-module_cardContentContainer__WWHrt5msT6eilxhI20PR\",\"dashboardCards\":\"RunbookOverviewLayout-module_dashboardCards__ceqGsqMZcjz2iEHwHuaf\",\"headerRow\":\"RunbookOverviewLayout-module_headerRow__zAN0EkwQ5nsIUgZPAgh4\",\"bodyRow\":\"RunbookOverviewLayout-module_bodyRow__uBma07Gh6UD55Ivxbkgm\",\"runTaskDetails\":\"RunbookOverviewLayout-module_runTaskDetails__mFwWVGBYnzSkRziVq4WP\",\"runTaskEnvironment\":\"RunbookOverviewLayout-module_runTaskEnvironment__rGtyXyDlHeQWShV4BCWg\",\"runTaskNotes\":\"RunbookOverviewLayout-module_runTaskNotes__h63t136luy0NHssT7Hu3\",\"environmentName\":\"RunbookOverviewLayout-module_environmentName__MQZKGzcKLyib15VsMZA3\",\"tenantName\":\"RunbookOverviewLayout-module_tenantName__kEuPcNB91xQZLfTZtm9T\",\"rowHeader\":\"RunbookOverviewLayout-module_rowHeader__VNGd8tAm8gD4lFMl6OZm\",\"groupHeader\":\"RunbookOverviewLayout-module_groupHeader__gwevj221kcw4SpyPWDjg\",\"tileName\":\"RunbookOverviewLayout-module_tileName___BB29_EH_Vs1pwTI_xaT\",\"runActions\":\"RunbookOverviewLayout-module_runActions__w3YGATEfXrNIOHyD7eMV\",\"emptyCell\":\"RunbookOverviewLayout-module_emptyCell__eKHiwlszvcU04bt3lYyw\",\"nextScheduledRow\":\"RunbookOverviewLayout-module_nextScheduledRow__ljlyjD0aoLY1qBorMeWG\"};","// extracted by mini-css-extract-plugin\nmodule.exports = {\"packageTableContainer\":\"RunbookRunNowLayout-module_packageTableContainer__zBQIZb49BMOLmigHAGiX\",\"packageTable\":\"RunbookRunNowLayout-module_packageTable__Aix60m2wTcUSGmQ5GSlz\",\"packageTableRowColumn\":\"RunbookRunNowLayout-module_packageTableRowColumn__YFScDvxGXeVzHGwLQWls\",\"packageTableRowColumnName\":\"RunbookRunNowLayout-module_packageTableRowColumnName__bYOEAVpdKHyYyJ1MRz1P\",\"packageColumn\":\"RunbookRunNowLayout-module_packageColumn__DjmqljKkXIvCuaqe3r7v\",\"latestColumn\":\"RunbookRunNowLayout-module_latestColumn__kLGbX4xtTqf259mdUgDK\",\"lastColumn\":\"RunbookRunNowLayout-module_lastColumn___9vqvUHsJ0ofily_xp4A\",\"specificColumn\":\"RunbookRunNowLayout-module_specificColumn__l1y1JHoZ5oMBnjET9xLg\",\"versionTextbox\":\"RunbookRunNowLayout-module_versionTextbox__hDEMH9h4KAninqHjnNRi\",\"specificVersionDiv\":\"RunbookRunNowLayout-module_specificVersionDiv__hyjO4lmsl2TjI1sHg_fZ\",\"inlineDiv\":\"RunbookRunNowLayout-module_inlineDiv__Z1nW6eA_3Ll2rdQm0X90\",\"editVersionArea\":\"RunbookRunNowLayout-module_editVersionArea__fVZYTtkKKAXCjy2YABip\",\"radioButtonContainer\":\"RunbookRunNowLayout-module_radioButtonContainer__oeandQptCllrS2QaqH3Q\",\"myRadioButton\":\"RunbookRunNowLayout-module_myRadioButton__o7g0JX3McZljFGIGogBt\",\"actionName\":\"RunbookRunNowLayout-module_actionName__o84QyCiRYSYHZ_SCe13u\"};","// extracted by mini-css-extract-plugin\nmodule.exports = {\"packageTableContainer\":\"RunbookSnapshotEditPage-module_packageTableContainer__MpNqbh7oj7uiY8ApvYFV\",\"packageTable\":\"RunbookSnapshotEditPage-module_packageTable__ogkSeV3hzzUitxiPqcF9\",\"packageTableRowColumn\":\"RunbookSnapshotEditPage-module_packageTableRowColumn__COWhlc5sdB2gb9qRvzLF\",\"packageTableRowColumnName\":\"RunbookSnapshotEditPage-module_packageTableRowColumnName__tvKdf1ACONeukSo4vZAv\",\"packageColumn\":\"RunbookSnapshotEditPage-module_packageColumn__thUdS_f3Br7doRtw5q99\",\"latestColumn\":\"RunbookSnapshotEditPage-module_latestColumn__OYvqoU97aWEt41nU48v8\",\"lastColumn\":\"RunbookSnapshotEditPage-module_lastColumn__r1_IOA1_p9vrwePdmiJT\",\"specificColumn\":\"RunbookSnapshotEditPage-module_specificColumn__hz4afue1HiIrxAu3WSKf\",\"versionTextbox\":\"RunbookSnapshotEditPage-module_versionTextbox__jQrjEksOrfMjA0F9NLO4\",\"specificVersionDiv\":\"RunbookSnapshotEditPage-module_specificVersionDiv__uoXqkxxo0ELEC2EckBfD\",\"inlineDiv\":\"RunbookSnapshotEditPage-module_inlineDiv__O586mxNSK0hBk0X3FQZT\",\"editVersionArea\":\"RunbookSnapshotEditPage-module_editVersionArea__ME5zZ3gO8mALottUQCO4\",\"radioButtonContainer\":\"RunbookSnapshotEditPage-module_radioButtonContainer__xBLfMzNEXQ8k1KvdY72w\",\"myRadioButton\":\"RunbookSnapshotEditPage-module_myRadioButton__rijsHcKnkcKOKpibbBz6\",\"actionName\":\"RunbookSnapshotEditPage-module_actionName__Vs09VRIbG2vneP_f5Qh9\"};","// extracted by mini-css-extract-plugin\nmodule.exports = {\"hide-sm\":\"RunbookSnapshotInfoPage-module_hide-sm__ViDWTuCDTZc91o2vHqBQ\",\"hideSm\":\"RunbookSnapshotInfoPage-module_hide-sm__ViDWTuCDTZc91o2vHqBQ\",\"visible-sm\":\"RunbookSnapshotInfoPage-module_visible-sm__e8Gr0i6g3bs_jg5SpVgM\",\"visibleSm\":\"RunbookSnapshotInfoPage-module_visible-sm__e8Gr0i6g3bs_jg5SpVgM\",\"hide-md\":\"RunbookSnapshotInfoPage-module_hide-md__R8zxzMEkzn4x7ho2Ebn1\",\"hideMd\":\"RunbookSnapshotInfoPage-module_hide-md__R8zxzMEkzn4x7ho2Ebn1\",\"visible-md\":\"RunbookSnapshotInfoPage-module_visible-md__No4upuvSeDJBGcogW6AC\",\"visibleMd\":\"RunbookSnapshotInfoPage-module_visible-md__No4upuvSeDJBGcogW6AC\",\"container\":\"RunbookSnapshotInfoPage-module_container__QD2Ar5KZaklvw1uhkXVL\",\"noReleases\":\"RunbookSnapshotInfoPage-module_noReleases__Vj0gvnxTADHmGouRzM3Z\",\"releaseVersionLink\":\"RunbookSnapshotInfoPage-module_releaseVersionLink__I5gLYMHMZUxjkNCbmN45\",\"releaseDetailsLayout\":\"RunbookSnapshotInfoPage-module_releaseDetailsLayout__Zg_YsoutfuiYQ3k9re5O\",\"releaseDetailsLayoutContent\":\"RunbookSnapshotInfoPage-module_releaseDetailsLayoutContent__lPIlrz_0rQIrFScpjRi6\",\"releaseDetailsSidebarContent\":\"RunbookSnapshotInfoPage-module_releaseDetailsSidebarContent__mdUZocLiKmVIy37O6iug\",\"subTitle\":\"RunbookSnapshotInfoPage-module_subTitle__nXpP3tONkBSUiB3plx2v\",\"releaseHeader\":\"RunbookSnapshotInfoPage-module_releaseHeader__G1OwFsqlD3WDAiVfOJ8o\",\"releaseHeaderVersion\":\"RunbookSnapshotInfoPage-module_releaseHeaderVersion__E64C4buNaygQKw9EWG3E\",\"dataTableHeaderColumn\":\"RunbookSnapshotInfoPage-module_dataTableHeaderColumn__Gpefp9uASDR8E_PzCU7V\",\"dataTableRowColumn\":\"RunbookSnapshotInfoPage-module_dataTableRowColumn__Im_5EMycjk27cZDJQDAp\",\"marginTopBottom\":\"RunbookSnapshotInfoPage-module_marginTopBottom__gjh2hJbu49r0jDO05tGO\",\"releaseNoteLayout\":\"RunbookSnapshotInfoPage-module_releaseNoteLayout__ctpfPJ8yRSPjP8PrYdrg\",\"releaseArtifactsLayout\":\"RunbookSnapshotInfoPage-module_releaseArtifactsLayout__PD4fHTEvu_DCfng818Mx\",\"releaseBuildInformationLayout\":\"RunbookSnapshotInfoPage-module_releaseBuildInformationLayout__duu9p5hbxjcR5XZqlJjl\",\"releasePackagesLayout\":\"RunbookSnapshotInfoPage-module_releasePackagesLayout__RmdeBj_U7XZIRITyPSHQ\",\"releasesTableContainer\":\"RunbookSnapshotInfoPage-module_releasesTableContainer__wGtX2Pi_JSMRTcf1X6fw\",\"filter\":\"RunbookSnapshotInfoPage-module_filter__ZbqLOEwsxyVzXCHSHiv2\",\"releaseNotesContainer\":\"RunbookSnapshotInfoPage-module_releaseNotesContainer__D5nvkzXE6upkosdAGvXX\",\"collapseButton\":\"RunbookSnapshotInfoPage-module_collapseButton__F8b8TvkF5trHny8O16pQ\",\"notesColumn\":\"RunbookSnapshotInfoPage-module_notesColumn__wrs2fOH246HYbDqRH9hm\",\"deployButtonFilterContainer\":\"RunbookSnapshotInfoPage-module_deployButtonFilterContainer__CJCMR1rdYkfQ9iP_rHJi\",\"filterFieldContainer\":\"RunbookSnapshotInfoPage-module_filterFieldContainer__jPDxJnkaerCBGLV5fJSP\",\"artifactTime\":\"RunbookSnapshotInfoPage-module_artifactTime__cdaOlk8Q0mFMvLPnGAYY\"};","// extracted by mini-css-extract-plugin\nmodule.exports = {\"container\":\"style-module_container__a6eE7_jdX5D736erQH_7\",\"additionalDetails\":\"style-module_additionalDetails__cSDy2b3i6BBZArqlQM9Q\",\"details\":\"style-module_details__PuVNUln9QJVVicO0WHTT\",\"snapshotName\":\"style-module_snapshotName__r45_KGXyJazIEMw9Jvur\",\"snapshotNotes\":\"style-module_snapshotNotes__iPTWIFsUvxQHCceXtbdy\",\"date\":\"style-module_date__RVW5xNIgheW09OkdYE_N\",\"taskLink\":\"style-module_taskLink__qIaPebZj1AIfIMljSz7W\"};","// extracted by mini-css-extract-plugin\nmodule.exports = {\"icon\":\"style-module_icon__vW0RYovte5UXcrwui4ZY\",\"infoNote\":\"style-module_infoNote__r57y95MRn7N3lA4DCrkr\",\"wizardStepper\":\"style-module_wizardStepper__Aa2_t_08mCj1kcNwTeYQ\",\"wizardIconStepCompleted\":\"style-module_wizardIconStepCompleted__PJLUJbxJRPUIK1rdWinw\",\"wizardContent\":\"style-module_wizardContent___tFTg3RaN2BOinJmlhm8\",\"runbookTypeColumn\":\"style-module_runbookTypeColumn__Mr2SMP_fr1haelmYzALt\",\"runbookList\":\"style-module_runbookList__RebZn33gQmQt3V24FLmD\",\"migrationReviewList\":\"style-module_migrationReviewList__YgmbUsQ2BxxsC5p7yZD_\"};","// extracted by mini-css-extract-plugin\nmodule.exports = {\"scriptModulesStatus\":\"ScriptModulesPreview-module_scriptModulesStatus__t72Ktu5AjH7L1jMPmvlx\",\"includedScriptModules\":\"ScriptModulesPreview-module_includedScriptModules__zoJRLQbdMCjPgxn_w_fy\"};","// extracted by mini-css-extract-plugin\nmodule.exports = {\"status\":\"style-module_status__QUqxE9Qy_AKVe45VlnZh\",\"Queued\":\"style-module_Queued__CA18RyAHPkqAyydtzt8g\",\"queued\":\"style-module_Queued__CA18RyAHPkqAyydtzt8g\",\"Executing\":\"style-module_Executing__FNaisITYV6rQydbO7kay\",\"executing\":\"style-module_Executing__FNaisITYV6rQydbO7kay\",\"Paused\":\"style-module_Paused__yVxV8fiuvg0e4JB9_YeA\",\"paused\":\"style-module_Paused__yVxV8fiuvg0e4JB9_YeA\",\"TimedOut\":\"style-module_TimedOut__fpuyn4RQn99oiv9Awbi2\",\"timedOut\":\"style-module_TimedOut__fpuyn4RQn99oiv9Awbi2\",\"Failed\":\"style-module_Failed__f8NjMehgNZNWoDrNa6O1\",\"failed\":\"style-module_Failed__f8NjMehgNZNWoDrNa6O1\",\"Canceled\":\"style-module_Canceled__HwAk3it_lNVCLgxyHT9Z\",\"canceled\":\"style-module_Canceled__HwAk3it_lNVCLgxyHT9Z\",\"Cancelling\":\"style-module_Cancelling__hMJuw59BqwpNPZoU8pKl\",\"cancelling\":\"style-module_Cancelling__hMJuw59BqwpNPZoU8pKl\",\"Success\":\"style-module_Success__AP13vuUGsZ3Kd5_bjPlI\",\"success\":\"style-module_Success__AP13vuUGsZ3Kd5_bjPlI\",\"SuccessWithWarnings\":\"style-module_SuccessWithWarnings__D0rWJA__DB8xbtnojvD9\",\"successWithWarnings\":\"style-module_SuccessWithWarnings__D0rWJA__DB8xbtnojvD9\"};","// extracted by mini-css-extract-plugin\nmodule.exports = {\"checkboxGroup\":\"style-module_checkboxGroup__PoO9aO7l8hu26PPtlz6i\",\"checkbox\":\"style-module_checkbox__tDgKbTcgNQSMbJOp830J\",\"horizontal\":\"style-module_horizontal__QJQmIj7n2k77cASES89R\",\"disabled\":\"style-module_disabled__Os7HemXBW1YoodBETEQr\",\"markdownContainer\":\"style-module_markdownContainer__DLm9r_wVSB0gkBeQJ2An\"};","// extracted by mini-css-extract-plugin\nmodule.exports = {\"description\":\"style-module_description__czLMhTakaIngqc2O3oDy\",\"information\":\"style-module_information___TtxaHw7dzknckZINL7b\",\"sidebar\":\"style-module_sidebar__xmJAGuE5rrhYiGYvTI7B\",\"callouts\":\"style-module_callouts__ROwZus0sFA0nALSIzTpO\",\"disabled\":\"style-module_disabled__liTlD457K7aocLToqKbN\",\"markdownContainer\":\"style-module_markdownContainer__LCjAADozHG4hmDtIW3rP\"};","// extracted by mini-css-extract-plugin\nmodule.exports = {\"tableContainer\":\"style-module_tableContainer__RtJHe9ueQWlYKMT5TGbD\",\"sectionHeader\":\"style-module_sectionHeader__I2qcF05mt6xqpwQc6cHs\"};","// extracted by mini-css-extract-plugin\nmodule.exports = {\"icon\":\"style-module_icon__aKRaiNcK61AqXFoDRCUJ\",\"infoNote\":\"style-module_infoNote__F5ZH_pohuL25xJfAebom\",\"wizardStepper\":\"style-module_wizardStepper__Zzj9IlqwwWgBsebuR8q0\",\"wizardIconStepCompleted\":\"style-module_wizardIconStepCompleted__ajyusMlacIoCdddYd5Ce\",\"wizardContent\":\"style-module_wizardContent__qs6oU1W9ogsrT7LKKS1a\",\"newChip\":\"style-module_newChip___FhO5pZpykwtKwblTRoK\",\"migrationReviewList\":\"style-module_migrationReviewList__R30bTGamG1M8scPrOHaQ\",\"lightPulse\":\"style-module_lightPulse__SclUWhD6AFczFeT4ZaWK\"};","// extracted by mini-css-extract-plugin\nmodule.exports = {\"fontoctopus-octopus\":\"templateName-module_fontoctopus-octopus__KCfzL4PEx40uA5x3u5qS\",\"fontoctopusOctopus\":\"templateName-module_fontoctopus-octopus__KCfzL4PEx40uA5x3u5qS\",\"monospace\":\"templateName-module_monospace__pfg91MxolM4V9dHdVnUK\",\"name\":\"templateName-module_name__N8BOubaN2j4i_abwv_kp\"};","// extracted by mini-css-extract-plugin\nmodule.exports = {\"scopeRow\":\"style-module_scopeRow__prdn1sIeuSbdFFLIIuHz\",\"showAll\":\"style-module_showAll__WjBt9BkOyrQKrqpwXTEN\"};","// extracted by mini-css-extract-plugin\nmodule.exports = {\"fontoctopus-octopus\":\"style-module_fontoctopus-octopus__SLgISEnMiLE_IHeHKfP6\",\"fontoctopusOctopus\":\"style-module_fontoctopus-octopus__SLgISEnMiLE_IHeHKfP6\",\"monospace\":\"style-module_monospace__l_hO8frHOTVVJk7RsOk8\",\"rawLogContent\":\"style-module_rawLogContent___Tt3ZeU8OqdKlXOFc7NL\"};","// extracted by mini-css-extract-plugin\nmodule.exports = {\"fontSizeSmall\":\"style-module_fontSizeSmall__GzxELxfhV2J0nI33lzgp\"};","// extracted by mini-css-extract-plugin\nmodule.exports = {\"hide-sm\":\"style-module_hide-sm__DQQ1ZgbpKUIzyBeN6XzB\",\"hideSm\":\"style-module_hide-sm__DQQ1ZgbpKUIzyBeN6XzB\",\"visible-sm\":\"style-module_visible-sm__GtMeLZD1YOUBiLyreAqY\",\"visibleSm\":\"style-module_visible-sm__GtMeLZD1YOUBiLyreAqY\",\"hide-md\":\"style-module_hide-md__UPdpChmMnq8b94JuoS6y\",\"hideMd\":\"style-module_hide-md__UPdpChmMnq8b94JuoS6y\",\"visible-md\":\"style-module_visible-md__cEO4_m5y0r92y73YaIAd\",\"visibleMd\":\"style-module_visible-md__cEO4_m5y0r92y73YaIAd\",\"headerLinks\":\"style-module_headerLinks__nQed0f9ET_jnmiCGBRxe\",\"assignmentAction\":\"style-module_assignmentAction__sM8dXmfWD6hdZaASc1Eg\",\"notes\":\"style-module_notes__KlYoNy4Bj4csjTPGUrIz\",\"actions\":\"style-module_actions__P1QCmnyVi9igneGe84Lt\",\"formElements\":\"style-module_formElements__xf_cU5LpedX2ehrTSq7W\"};","// extracted by mini-css-extract-plugin\nmodule.exports = {\"hide-sm\":\"style-module_hide-sm__QSbA1481F_EFwKGK6MCl\",\"hideSm\":\"style-module_hide-sm__QSbA1481F_EFwKGK6MCl\",\"visible-sm\":\"style-module_visible-sm__U7sLrFyg8WD2LLJN2sK3\",\"visibleSm\":\"style-module_visible-sm__U7sLrFyg8WD2LLJN2sK3\",\"hide-md\":\"style-module_hide-md__ue4T201TaKwtcDnQfwga\",\"hideMd\":\"style-module_hide-md__ue4T201TaKwtcDnQfwga\",\"visible-md\":\"style-module_visible-md__ZSEQEExlOux3HruwP7AU\",\"visibleMd\":\"style-module_visible-md__ZSEQEExlOux3HruwP7AU\",\"stepName\":\"style-module_stepName__iSTVlKF4hyetfNB18QE3\",\"stepNameContainer\":\"style-module_stepNameContainer__fDZx4pLHZFt4dOJDM8MY\",\"lastUpdated\":\"style-module_lastUpdated__Oq0lg1mCSEfB7Fi_gKJg\",\"expandoBodyContainer\":\"style-module_expandoBodyContainer__bTpWNIgbUUuFparL2mWM\",\"kindContainer\":\"style-module_kindContainer__vMK2JFieaKWVFwNcQOZx\",\"sectionHeadingTitle\":\"style-module_sectionHeadingTitle__Yl7MSJLToQapXGI3ItZX\",\"leftRightContainer\":\"style-module_leftRightContainer__aS6zTI8X9dpZ2KYnycdu\",\"filterContainer\":\"style-module_filterContainer__Dx5iYYq3q27stkJyVLRa\",\"selectWrap\":\"style-module_selectWrap__gYhdv50ljDVygmY3Hjyc\",\"callout\":\"style-module_callout__dlVlBrCnWiHHYvxn6111\"};","// extracted by mini-css-extract-plugin\nmodule.exports = {\"fontoctopus-octopus\":\"style-module_fontoctopus-octopus__hKOLQENyqGaaL77rTSb8\",\"fontoctopusOctopus\":\"style-module_fontoctopus-octopus__hKOLQENyqGaaL77rTSb8\",\"monospace\":\"style-module_monospace__Vk8coORynJ1FXxg3pesg\",\"hide-sm\":\"style-module_hide-sm__tdyeOCqon8QGtWPF4KFw\",\"hideSm\":\"style-module_hide-sm__tdyeOCqon8QGtWPF4KFw\",\"visible-sm\":\"style-module_visible-sm__QeBJSjMJVSJjUqGMAyQG\",\"visibleSm\":\"style-module_visible-sm__QeBJSjMJVSJjUqGMAyQG\",\"hide-md\":\"style-module_hide-md__R8HcKaU5HiV14CMvLDor\",\"hideMd\":\"style-module_hide-md__R8HcKaU5HiV14CMvLDor\",\"visible-md\":\"style-module_visible-md__E_sM4QNwedmQiuHSoSWr\",\"visibleMd\":\"style-module_visible-md__E_sM4QNwedmQiuHSoSWr\",\"cardHeaderActions\":\"style-module_cardHeaderActions__iX_1XNbu7aujpoM7dSci\",\"taskActions\":\"style-module_taskActions__blzZCYAs_KeM1zW03dOw\",\"filters\":\"style-module_filters__kUMwL6ZghD187sIzqsSl\",\"settingsPopover\":\"style-module_settingsPopover__bRPr1oGAghGMVY5Im540\",\"settingsSwitch\":\"style-module_settingsSwitch__wQN8zPw9l1mVV16g26_X\",\"taskLogHeading\":\"style-module_taskLogHeading__iesjFupLqg0hoHg05wPz\"};","// extracted by mini-css-extract-plugin\nmodule.exports = {\"fontoctopus-octopus\":\"style-module_fontoctopus-octopus__LO96lkoidHZYNPlod0PL\",\"fontoctopusOctopus\":\"style-module_fontoctopus-octopus__LO96lkoidHZYNPlod0PL\",\"monospace\":\"style-module_monospace__dS5G4GPS8DRIAW9FY85V\",\"taskSummaryTopLevel\":\"style-module_taskSummaryTopLevel__ZHVoJooParJsNvFSubac\",\"taskSummaryChildren\":\"style-module_taskSummaryChildren__SaRdhXnkYzE8u6Oe0UxF\",\"taskSummaryLineText\":\"style-module_taskSummaryLineText__r3k1Tf6e3fjzUN8XsNk0\",\"taskSummaryLine\":\"style-module_taskSummaryLine__FrGjP9Y1iIAJk7WV3rEd\",\"summaryIcon\":\"style-module_summaryIcon__pw6p2LDfDXYf3TxXdZAP\",\"artifactsBlock\":\"style-module_artifactsBlock__hxZ5DxK3x_pm9gfTiEs6\",\"highlightBlock\":\"style-module_highlightBlock__OcDebmFaf3SafN0lOqcj\",\"fatalBlock\":\"style-module_fatalBlock__dB3gYxQvWrTz9HEqQmVf\",\"retryBlock\":\"style-module_retryBlock__XF1Mfe9FOUr0ZKVxewoa\",\"primaryBackground\":\"style-module_primaryBackground__pW_RU1gKPwCGCsjZQhSw\",\"jumpToLine\":\"style-module_jumpToLine__rvABuGiyI465lvLee5wx\",\"jumpToLineLink\":\"style-module_jumpToLineLink__dMH7V_z1JpP5s4icq0Kw\",\"taskDurationLabel\":\"style-module_taskDurationLabel__FIySmYJWawQKC1Exe35B\"};","// extracted by mini-css-extract-plugin\nmodule.exports = {\"row\":\"history-module_row__gfvCecSV5dA0KPZL3rRy\",\"whoColumn\":\"history-module_whoColumn__fGPlWjTj0AE3yuunDnif\",\"container\":\"history-module_container__gNaZ99DNRNfPzTmbVA6y\"};","// extracted by mini-css-extract-plugin\nmodule.exports = {\"taskQueueRow\":\"taskqueue-module_taskQueueRow__qjcl23zX_51acFm6BjfI\",\"taskDetails\":\"taskqueue-module_taskDetails__PLjDU4XqjhYvrmNCQC5U\",\"taskPosition\":\"taskqueue-module_taskPosition__sVBKzg36WrwSgiqFO3FN\",\"taskCurrent\":\"taskqueue-module_taskCurrent__G1vl4tCEIQIhyaAJAwg4\",\"taskQueueFilter\":\"taskqueue-module_taskQueueFilter__dmVSq2Bdf_jUmlqfG_im\",\"selected\":\"taskqueue-module_selected__Urip153wL5iSHejR9mKE\",\"filterContainer\":\"taskqueue-module_filterContainer__KaYmeTNO6nsABpnSsdXS\",\"closeButton\":\"taskqueue-module_closeButton__SySQCwXS9fblXI7e6x1i\"};","// extracted by mini-css-extract-plugin\nmodule.exports = {\"hide-sm\":\"style-module_hide-sm__BWclHuGbLHL9c5ncxNeQ\",\"hideSm\":\"style-module_hide-sm__BWclHuGbLHL9c5ncxNeQ\",\"visible-sm\":\"style-module_visible-sm__KPlkthG57s_9dp2_BdcH\",\"visibleSm\":\"style-module_visible-sm__KPlkthG57s_9dp2_BdcH\",\"hide-md\":\"style-module_hide-md__fKv3N6qooc6CXkDFvNDe\",\"hideMd\":\"style-module_hide-md__fKv3N6qooc6CXkDFvNDe\",\"visible-md\":\"style-module_visible-md__OfrTq23u_05L_Ini3OnJ\",\"visibleMd\":\"style-module_visible-md__OfrTq23u_05L_Ini3OnJ\",\"tagSetContainer\":\"style-module_tagSetContainer__CfgKiVCD6S8d0lkiN6PM\",\"connectButtonContainer\":\"style-module_connectButtonContainer__Uc3gIn0R6225U_NkSdRP\",\"linkedProject\":\"style-module_linkedProject__rHEh2JLu6PfiGZc_7_16\",\"header\":\"style-module_header__frg8XpkZJM36JPCWFhI_\",\"projectName\":\"style-module_projectName__w7FOkDbztBkWvPcOYGhQ\",\"details\":\"style-module_details__E8jHWFh9LKQJjVi1Nems\",\"noEnvironmentsWarning\":\"style-module_noEnvironmentsWarning__m5yCqRA0sijtcgFxc3iO\",\"noEnvironmentsWarningIcon\":\"style-module_noEnvironmentsWarningIcon__Df6W4HJ3HYyNbcLdPDNj\",\"noProjectAccess\":\"style-module_noProjectAccess__ntki3zs7nA1KGIL2GH3S\"};","// extracted by mini-css-extract-plugin\nmodule.exports = {\"hide-sm\":\"style-module_hide-sm__Z2qARvgD1MIANjG6y_yQ\",\"hideSm\":\"style-module_hide-sm__Z2qARvgD1MIANjG6y_yQ\",\"visible-sm\":\"style-module_visible-sm__Vcx2mC1eC62zfj8B3b7O\",\"visibleSm\":\"style-module_visible-sm__Vcx2mC1eC62zfj8B3b7O\",\"hide-md\":\"style-module_hide-md__hXNFWYugBgFICLDsHpUC\",\"hideMd\":\"style-module_hide-md__hXNFWYugBgFICLDsHpUC\",\"visible-md\":\"style-module_visible-md__Y61KtpXMWcNkax0JRW2J\",\"visibleMd\":\"style-module_visible-md__Y61KtpXMWcNkax0JRW2J\",\"projectVariablesContainer\":\"style-module_projectVariablesContainer__ng1woIAhjA6tqSvfbCRm\",\"expanderTitle\":\"style-module_expanderTitle__Yt2gODoWmSF3jeNp50Mw\",\"helpText\":\"style-module_helpText__xd16jTOXOXNcfuLRiEOd\",\"variableContainer\":\"style-module_variableContainer__Hnb0DV9NNf2g_jiopGfv\",\"cardTitle\":\"style-module_cardTitle__GheXTXnJBO67v831O_bm\",\"projectLogoContainer\":\"style-module_projectLogoContainer__u_yDcndHdHS7EJuyI5vw\",\"projectEnvironmentVariableTitle\":\"style-module_projectEnvironmentVariableTitle__jCeV5kXUUfulssz_o5iA\",\"missingVariableIcon\":\"style-module_missingVariableIcon__pUWYitYGrOiwIEuNsyhU\",\"libraryVariableSetContainer\":\"style-module_libraryVariableSetContainer__PsJkySMtXQ8PYWsJuMWC\",\"libraryWarning\":\"style-module_libraryWarning__l8veODO08rRaddB3EUSU\",\"projectCardWarning\":\"style-module_projectCardWarning__iLRQ2nnsCi0m8iNuTCga\",\"projectName\":\"style-module_projectName__bEdYynzQ4sg9FXRmj1Wu\",\"projectNameAndWarningIconContainer\":\"style-module_projectNameAndWarningIconContainer__ZI6jgB7vBHOtSyAOru5t\"};","// extracted by mini-css-extract-plugin\nmodule.exports = {\"hide-sm\":\"style-module_hide-sm__yrSUqquGk2Hl2ZaXZs9A\",\"hideSm\":\"style-module_hide-sm__yrSUqquGk2Hl2ZaXZs9A\",\"visible-sm\":\"style-module_visible-sm__Il6D6bjadKROA_Pnoggz\",\"visibleSm\":\"style-module_visible-sm__Il6D6bjadKROA_Pnoggz\",\"hide-md\":\"style-module_hide-md__E13LXnNU8qXP4efiVInw\",\"hideMd\":\"style-module_hide-md__E13LXnNU8qXP4efiVInw\",\"visible-md\":\"style-module_visible-md__Tne9vdY9e88cN_H2Z4w_\",\"visibleMd\":\"style-module_visible-md__Tne9vdY9e88cN_H2Z4w_\",\"pagingEllipsis\":\"style-module_pagingEllipsis__clpVmZkSdGXWljsv2WgD\",\"pagingButton\":\"style-module_pagingButton__aWQJMuTFTkfZVYZjRCoO\",\"pagingButtonText\":\"style-module_pagingButtonText__QkV3wdxYrTr8NQftIZud\",\"pagingButtonActive\":\"style-module_pagingButtonActive__Wp9_am8Y542FspUcobaq\",\"pagingBar\":\"style-module_pagingBar__Hz4H7norvGJIakQxCfEC\",\"pagingSelectText\":\"style-module_pagingSelectText__hTVo8SgW_CfgKPXcW_EJ\",\"pagingSelectContainer\":\"style-module_pagingSelectContainer__VbtCzjehGsm2ZhkgBXYV\"};","// extracted by mini-css-extract-plugin\nmodule.exports = {\"apiKeyEntry\":\"style-module_apiKeyEntry__JSv8L3XD35rjwZ3zyYgP\",\"apiKeyExpiry\":\"style-module_apiKeyExpiry__pgynH0zWjBNJJoHkFcW1\",\"titleContainer\":\"style-module_titleContainer__AWYPqldXMCoAzvxJ_K4K\",\"apiKeyCreated\":\"style-module_apiKeyCreated__dmh7CzEkAuhpozeV5KYV\"};","// extracted by mini-css-extract-plugin\nmodule.exports = {\"hide-sm\":\"style-module_hide-sm__WSCBu3M2o0ri78XvdudB\",\"hideSm\":\"style-module_hide-sm__WSCBu3M2o0ri78XvdudB\",\"visible-sm\":\"style-module_visible-sm__bgWsGCzsdFTcTepsdXre\",\"visibleSm\":\"style-module_visible-sm__bgWsGCzsdFTcTepsdXre\",\"hide-md\":\"style-module_hide-md__CZ10t1Ib_8UUoD4hEWtY\",\"hideMd\":\"style-module_hide-md__CZ10t1Ib_8UUoD4hEWtY\",\"visible-md\":\"style-module_visible-md__aw3RXrH9MUrSIBxDvJpV\",\"visibleMd\":\"style-module_visible-md__aw3RXrH9MUrSIBxDvJpV\",\"inputRow\":\"style-module_inputRow__Ch55M7Y7rjfmanrYz48g\",\"detailsHighlight\":\"style-module_detailsHighlight__sj0G3jgol6nGqwj51U6R\",\"rightAlignedContainer\":\"style-module_rightAlignedContainer__nU07g9cD9ceLtCfi_alU\",\"textFormatSelector\":\"style-module_textFormatSelector__DU6c90ZnQZSj_VM1nRzg\",\"content\":\"style-module_content__ka9SJun1Es0qQ2WlLGFV\",\"value\":\"style-module_value__iklNgXHYetoPvocSnHUw\",\"editor\":\"style-module_editor__nJmhtaBBVG9ushkQz8DC\",\"editorContainer\":\"style-module_editorContainer__HR_uCs__U_EHiq7Ak4lA\"};","// extracted by mini-css-extract-plugin\nmodule.exports = {\"firstColumn\":\"style-module_firstColumn__Rc9i7WkUES3noHtMgbFh\",\"firstColumnFullWidth\":\"style-module_firstColumnFullWidth__v_S4ohERaC7ZWwe1z29A\",\"secondColumn\":\"style-module_secondColumn__Kj0jAC4RafTdfa2Kho_N\",\"scopeContainer\":\"style-module_scopeContainer__jvQC4_wZHjaDN3DUqvFx\"};","// extracted by mini-css-extract-plugin\nmodule.exports = {\"controlCell\":\"style-module_controlCell__hApXK3HCCUpogVdogWz_\",\"lastColumn\":\"style-module_lastColumn__MIyKQeDXO5Xx4PAFdePx\",\"scopeCell\":\"style-module_scopeCell__BfSoLuwn1EUkiK9SykDm\",\"fullSizeCell\":\"style-module_fullSizeCell__hpoUnLifzuOXkVXZpuER\"};","// extracted by mini-css-extract-plugin\nmodule.exports = {\"icon\":\"style-module_icon__eUCNWku3Dd8dF9ANVToJ\",\"link\":\"style-module_link__iEf4wEAvGBj9J_5Xkdw1\",\"tooltipWrapper\":\"style-module_tooltipWrapper__bGSvyaeBYondW0cTpKU8\",\"text\":\"style-module_text__UkC6BTi6N9lFGFZNxbzm\"};","// extracted by mini-css-extract-plugin\nmodule.exports = {\"fontoctopus-octopus\":\"style-module_fontoctopus-octopus__mLUiGEdwRHLxRS8_CNZR\",\"fontoctopusOctopus\":\"style-module_fontoctopus-octopus__mLUiGEdwRHLxRS8_CNZR\",\"monospace\":\"style-module_monospace__sE7gzeSk_DAudW2izrpI\",\"addRowsContainer\":\"style-module_addRowsContainer__y8RmwHff6qjmPM1vX7kA\",\"addRowBackground\":\"style-module_addRowBackground__LvukWgrsOCBOceIsuMMR\",\"controlCell\":\"style-module_controlCell__cPCZqNpnzhZ1k5mZwpJB\",\"scopeCell\":\"style-module_scopeCell__tSxw5YrcUkMEEh5uI7n4\",\"actions\":\"style-module_actions__Y5YIAhN0K2TRhS0WutyD\",\"scopeWrapper\":\"style-module_scopeWrapper__ekXc90Hkg1x4Cd3oOiiR\"};","// extracted by mini-css-extract-plugin\nmodule.exports = {\"cell\":\"style-module_cell__vfwP0Mxa0dtr0alGj9Yb\"};","// extracted by mini-css-extract-plugin\nmodule.exports = {\"nameCellContent\":\"style-module_nameCellContent__oBNsyrpcSPEeVg8iO1E3\",\"spacer\":\"style-module_spacer__pIgiFsrH3y9KbfY36aTA\",\"value\":\"style-module_value__Gwo8w278Jf38t26QLZDu\"};","// extracted by mini-css-extract-plugin\nmodule.exports = {\"headerRow\":\"style-module_headerRow___Vb8deJbCZRm7tK0RZSX\"};","// extracted by mini-css-extract-plugin\nmodule.exports = {\"icon\":\"style-module_icon__H1nq8fAlprq6dHcfeKEh\",\"controlCell\":\"style-module_controlCell__jo9LmwyY5ZaSyN5Yg1X2\",\"lastColumn\":\"style-module_lastColumn__DMxBTxNkGncAtcflp4ig\",\"scopeCell\":\"style-module_scopeCell__vvj5y16OH0cd4hGcz1tO\",\"editIcon\":\"style-module_editIcon__KHI5VGfFpQj2HplI9ipO\",\"newIcon\":\"style-module_newIcon__nXC8GVuQoSlEK9OQHEg4\",\"variablePlaceholderText\":\"style-module_variablePlaceholderText__sCOjsl0VOoPdFOBZ5stW\"};","// extracted by mini-css-extract-plugin\nmodule.exports = {\"container\":\"style-module_container__oIzQdIC9T3Kw9mlmgpew\",\"spacer\":\"style-module_spacer__Mjw3QpwWPhoTzLJxL5lk\"};","// extracted by mini-css-extract-plugin\nmodule.exports = {\"controlCell\":\"style-module_controlCell__ebopMyAn9WPvpVSXSk2L\",\"lastColumn\":\"style-module_lastColumn__OiRQ0fKA6F7NzBTy9FKI\",\"scopeCell\":\"style-module_scopeCell__Ckofq_UyhMRx4oFTHR1J\",\"fullSizeCell\":\"style-module_fullSizeCell__t8h1ni5ydkwVYxY3_P9e\"};","// extracted by mini-css-extract-plugin\nmodule.exports = {\"container\":\"style-module_container__P4jJm1HDaUFkbW6IVVJl\",\"name\":\"style-module_name__Nogk7fRleatb4LIZ0Jot\"};","// extracted by mini-css-extract-plugin\nmodule.exports = {\"fontoctopus-octopus\":\"style-module_fontoctopus-octopus__ZG9OUhQfYsWGJSTuEzyA\",\"fontoctopusOctopus\":\"style-module_fontoctopus-octopus__ZG9OUhQfYsWGJSTuEzyA\",\"monospace\":\"style-module_monospace__jOMt4urrXY7JCkj7kT_I\",\"deletedContent\":\"style-module_deletedContent__htN6lCzbzDIitKxDaxPS\",\"nameCell\":\"style-module_nameCell__bfEDcZsbntrCPoNq5O9w\",\"nameCellContentReadonly\":\"style-module_nameCellContentReadonly__LflIoKRFPJbf_F2LDnFE\",\"inputContainer\":\"style-module_inputContainer__g1ObB7he_v5jIj0_StZQ\"};","// extracted by mini-css-extract-plugin\nmodule.exports = {};","// extracted by mini-css-extract-plugin\nmodule.exports = {\"warningList\":\"style-module_warningList__w3XnHhUZotf422msVmiR\"};","// extracted by mini-css-extract-plugin\nmodule.exports = {\"scopesContainer\":\"style-module_scopesContainer__mXWxo16Qe60fdE8_3x0A\",\"clickable\":\"style-module_clickable__Vr4dbQLlOCyN0dcRQzAe\",\"scopeCell\":\"style-module_scopeCell__S6osPQBIpNf18IASoBN3\",\"clickContainer\":\"style-module_clickContainer__rSQVLbisSbBXtHWDHAYY\",\"chipContainer\":\"style-module_chipContainer__BRjSaJbq8smEA0tfBOPy\",\"hidden\":\"style-module_hidden__ShqxnbKaqmKAAI1ZFZGy\",\"allChipsContainer\":\"style-module_allChipsContainer__fp_n3wM4dap6UN_GDx52\",\"focusManagedWrapper\":\"style-module_focusManagedWrapper__hKcb9pFET4eyWlReP2b0\",\"defineScope\":\"style-module_defineScope__zThIGjEtQ67k4eUxm4pA\"};","// extracted by mini-css-extract-plugin\nmodule.exports = {\"scopeCell\":\"style-module_scopeCell__j1bNfqK_nBoI3FBL3aFU\",\"defineScope\":\"style-module_defineScope__NfJfCcOjG1FkabUPaqMQ\"};","// extracted by mini-css-extract-plugin\nmodule.exports = {\"variableSetLink\":\"style-module_variableSetLink__bBnrrcZWUtJ2Ww4cCTDh\",\"header\":\"style-module_header__MaVh_nau94LneP6tbA9w\",\"busy\":\"style-module_busy__wMBzHGuIPaoaz_S2Cqdr\",\"textAndButtons\":\"style-module_textAndButtons__p_G9QHoPsiDHQAb5Gnyo\",\"editIcon\":\"style-module_editIcon__yl6FZAly4c0i2Ysq8nxu\",\"expandIcon\":\"style-module_expandIcon__mmNSGVYqYaOmWyEBmbHG\",\"expandClosed\":\"style-module_expandClosed__OcvIZTWjqvmm0bA9mGF9\",\"expandOpen\":\"style-module_expandOpen__yEEkbem5IiBicNT8xzrW\"};","// extracted by mini-css-extract-plugin\nmodule.exports = {\"description\":\"style-module_description__cMsn86rnkXumjWhdzWtM\"};","// extracted by mini-css-extract-plugin\nmodule.exports = {\"icon\":\"style-module_icon__ox57tKjuyN0BeAJRxt_M\",\"editIcon\":\"style-module_editIcon__M64CQfNkyjzNOAL6AHwR\",\"deletedIcon\":\"style-module_deletedIcon__V0ISwBWboPJu6Jmpoj30\",\"newIcon\":\"style-module_newIcon__nfGIhIVgolhZDCA9p07k\"};","// extracted by mini-css-extract-plugin\nmodule.exports = {\"fontoctopus-octopus\":\"style-module_fontoctopus-octopus__JT4dxRDSaZpmClxGh7iZ\",\"fontoctopusOctopus\":\"style-module_fontoctopus-octopus__JT4dxRDSaZpmClxGh7iZ\",\"monospace\":\"style-module_monospace__Pl8MCgErZ2ZYamjfz4Kv\",\"valueCell\":\"style-module_valueCell__SH_a8fhKv6NSTXUDHwyu\",\"deletedText\":\"style-module_deletedText__rTeE4F_GC_hh4tAFyo4w\",\"deletedSensitive\":\"style-module_deletedSensitive__gYtQ_Q80rAU2HOXw1c_g\",\"valueCellContentReadonly\":\"style-module_valueCellContentReadonly__Ut3mcUDDO4GpWoB7MqxS\",\"value\":\"style-module_value__a5_5DoVYcbqKmj4ijRkK\",\"iconContainer\":\"style-module_iconContainer__jlBwazifaUlfsLWXXXhH\",\"certificate\":\"style-module_certificate__ctaA27un9Mww8sQuJ3Y3\",\"account\":\"style-module_account__c13PLdDRR7Sz54sOI5tF\",\"workerPool\":\"style-module_workerPool__YXLkFPFMjun1b7xf5OjZ\",\"certificateLink\":\"style-module_certificateLink__a69oGO_efLyqHZ0_Mf5s\",\"accountLink\":\"style-module_accountLink__alaJ21qt04F91Euhyv6o\",\"workerPoolLink\":\"style-module_workerPoolLink__FEJqxcyL5bkXh1ROjwGQ\",\"handCursor\":\"style-module_handCursor__RVjhhUVf3gNzs6Yjjj6k\",\"multilineText\":\"style-module_multilineText__gIbu3yK2EtTz5is796t2\",\"multilineTextFocused\":\"style-module_multilineTextFocused__b9rNug2YAdSghbuuVkFt\",\"multilineContainer\":\"style-module_multilineContainer__sJF0qjnOAPRj_rtbpHe7\",\"monospaced\":\"style-module_monospaced__fHJczIqRnTqgqmiTScDA\"};","// extracted by mini-css-extract-plugin\nmodule.exports = {\"hide-sm\":\"style-module_hide-sm__B_yIf0Vua58w5HShZIjs\",\"hideSm\":\"style-module_hide-sm__B_yIf0Vua58w5HShZIjs\",\"visible-sm\":\"style-module_visible-sm__SefUe1qsoukd3yXdtHic\",\"visibleSm\":\"style-module_visible-sm__SefUe1qsoukd3yXdtHic\",\"hide-md\":\"style-module_hide-md__il2KfrNP4gDS5lgrvSLP\",\"hideMd\":\"style-module_hide-md__il2KfrNP4gDS5lgrvSLP\",\"visible-md\":\"style-module_visible-md__xA5jPlirWVNnlMiZvHq0\",\"visibleMd\":\"style-module_visible-md__xA5jPlirWVNnlMiZvHq0\",\"actionList\":\"style-module_actionList__BbpPFz7m54K0tg9IjoOw\",\"alignStart\":\"style-module_alignStart__kTY67Ey_XSB3nIWt928q\",\"alignEnd\":\"style-module_alignEnd__qBWpz_itqi_qrqEEJeQg\"};","// extracted by mini-css-extract-plugin\nmodule.exports = {\"container\":\"style-module_container__v1UcLNJ7HtBqrHrFz_E5\"};","// extracted by mini-css-extract-plugin\nmodule.exports = {\"hide-sm\":\"ActionTemplateCategory-module_hide-sm__OB0gHv0rlTDtnf9B5P58\",\"hideSm\":\"ActionTemplateCategory-module_hide-sm__OB0gHv0rlTDtnf9B5P58\",\"visible-sm\":\"ActionTemplateCategory-module_visible-sm__RJyA66SyPXLx86k7EmiT\",\"visibleSm\":\"ActionTemplateCategory-module_visible-sm__RJyA66SyPXLx86k7EmiT\",\"hide-md\":\"ActionTemplateCategory-module_hide-md__GFhsaRwrVJ8CuvsWvTpQ\",\"hideMd\":\"ActionTemplateCategory-module_hide-md__GFhsaRwrVJ8CuvsWvTpQ\",\"visible-md\":\"ActionTemplateCategory-module_visible-md__mKOy8y2ktWelOCbW3m_7\",\"visibleMd\":\"ActionTemplateCategory-module_visible-md__mKOy8y2ktWelOCbW3m_7\",\"actionCategory\":\"ActionTemplateCategory-module_actionCategory__WTv9ZXM9ucch5MjFXR_Z\",\"isSelectable\":\"ActionTemplateCategory-module_isSelectable__Q6KCacgisccGm62EdhGT\",\"blurred\":\"ActionTemplateCategory-module_blurred__tFmfEsoS9Y0dM1fB06aE\",\"categoryName\":\"ActionTemplateCategory-module_categoryName__nSKCH2zEQpYxqGFWwJsd\",\"active\":\"ActionTemplateCategory-module_active__puRhHOz2rS7W_K0Yiovj\",\"inactive\":\"ActionTemplateCategory-module_inactive__psJkfoX47PzwPl2jZlvy\",\"activeIcon\":\"ActionTemplateCategory-module_activeIcon__H0flVTpkN6jHAlWP4I8K\"};","// extracted by mini-css-extract-plugin\nmodule.exports = {\"hide-sm\":\"styles-module_hide-sm__EiihZk4JdGWaNDfzPISg\",\"hideSm\":\"styles-module_hide-sm__EiihZk4JdGWaNDfzPISg\",\"visible-sm\":\"styles-module_visible-sm__kTBbAXqmEcu2dSSvjr6Q\",\"visibleSm\":\"styles-module_visible-sm__kTBbAXqmEcu2dSSvjr6Q\",\"hide-md\":\"styles-module_hide-md__vLR3v1HfALjRFLzLBhxm\",\"hideMd\":\"styles-module_hide-md__vLR3v1HfALjRFLzLBhxm\",\"visible-md\":\"styles-module_visible-md__JpsSu3HOH92QJJ942a8D\",\"visibleMd\":\"styles-module_visible-md__JpsSu3HOH92QJJ942a8D\",\"container\":\"styles-module_container__GcINxaf_57bMoU1BfzgW\",\"categoryTemplates\":\"styles-module_categoryTemplates___sKLW4OV9TIOqm8BkGWo\",\"categories\":\"styles-module_categories__i1J0SQ0h4ymHITm6wWJL\",\"categoryName\":\"styles-module_categoryName__tJC8Q6UwZNY7ng5QEimk\",\"actions\":\"styles-module_actions__VdChBCaKUupm736Mo2rB\",\"onHoverActions\":\"styles-module_onHoverActions__J468ou7atJ5VLm5tJaJS\",\"heading\":\"styles-module_heading__zGcEPeMNICh4aPNpo9qu\",\"logo\":\"styles-module_logo__AMf7PXZYOvaLp4V7ltKu\",\"content\":\"styles-module_content__DudVJi8GEAp27VCbo3iO\",\"onHoverActionsBackdrop\":\"styles-module_onHoverActionsBackdrop__QaE2GzvjioeYTsIYJAOZ\",\"onHoverPrimaryActions\":\"styles-module_onHoverPrimaryActions__LDbrlKEUzDyfuaMd3Lsg\",\"onHoverPrimaryActionsCursor\":\"styles-module_onHoverPrimaryActionsCursor__j4mmno31aMK2E2ofYZqj\",\"primaryAction\":\"styles-module_primaryAction__J1JcbW4LTB_mLxDZu3us\",\"secondaryAction\":\"styles-module_secondaryAction__Lfl6D4XnV5aghEgM5AOB\",\"empty\":\"styles-module_empty__fM8XLh9vE8CCj6A38REz\",\"templateListTitle\":\"styles-module_templateListTitle__GEX2bGbMsWbsBMTNMGFd\",\"stepTemplatesHeader\":\"styles-module_stepTemplatesHeader__IF5pnOu7qIFsQGsomke4\",\"stepTemplatesSection\":\"styles-module_stepTemplatesSection__lmnpXom3cPsh2XVnc9jL\",\"stepTemplatesNoResult\":\"styles-module_stepTemplatesNoResult__s9SondJ1zRtVYThUfCa9\"};","// extracted by mini-css-extract-plugin\nmodule.exports = {\"headerColumn\":\"style-module_headerColumn__Rd_kaXZq8OgfFcJwOX_t\",\"rowColumn\":\"style-module_rowColumn__Vh4bEHHiCoH3mFwmYduI\",\"addRule\":\"style-module_addRule__uVzD6RO5JikrTW9NtI5N\"};","// extracted by mini-css-extract-plugin\nmodule.exports = {\"hide-sm\":\"style-module_hide-sm__iex0VFRRYUxkReWVpIpq\",\"hideSm\":\"style-module_hide-sm__iex0VFRRYUxkReWVpIpq\",\"visible-sm\":\"style-module_visible-sm__wOE6Mm9fZYDoh6cueH_g\",\"visibleSm\":\"style-module_visible-sm__wOE6Mm9fZYDoh6cueH_g\",\"hide-md\":\"style-module_hide-md__nDQ09qo4xx8gZl_yhN3L\",\"hideMd\":\"style-module_hide-md__nDQ09qo4xx8gZl_yhN3L\",\"visible-md\":\"style-module_visible-md__b3B6JboejeKZw_TFkFOJ\",\"visibleMd\":\"style-module_visible-md__b3B6JboejeKZw_TFkFOJ\",\"summaryText\":\"style-module_summaryText__xRk9DMcgxTRH94XHP4Ab\",\"summarySection\":\"style-module_summarySection__YPAphXxPJw52vjbxOxAY\",\"summarySectionKey\":\"style-module_summarySectionKey__kBggNIMagREOuMSaoUNw\",\"summarySectionValue\":\"style-module_summarySectionValue__z2Yo4Cec_D10bgywfIIc\",\"summaryTable\":\"style-module_summaryTable__wsJxkETFGVJ0jWhvSxRE\",\"summaryTableKey\":\"style-module_summaryTableKey__m5jaEMYHXRCPJpojq9uB\",\"summaryTableValue\":\"style-module_summaryTableValue__PIFcYQB5uaUnrGOdvo97\",\"inputWithHelp\":\"style-module_inputWithHelp___pgShYQln7epJHtbpXYA\",\"timeoutFormSectionContainer\":\"style-module_timeoutFormSectionContainer__MLXfdLT2koAMP9MuJl4J\",\"radioButtonSection\":\"style-module_radioButtonSection__rXIaczlIS21C0s3jnvQh\"};","// extracted by mini-css-extract-plugin\nmodule.exports = {\"container\":\"style-module_container__Qaugyh42Xj7gt3Jlb5kb\",\"select\":\"style-module_select__b1BZbm7VNFavg7k9Y30B\",\"inlineSearch\":\"style-module_inlineSearch___RY_5uvDUbiEU0hYLdkB\",\"claimContent\":\"style-module_claimContent__nUZLy74c374zsrMmJl42\"};","// extracted by mini-css-extract-plugin\nmodule.exports = {\"checkboxContainer\":\"style-module_checkboxContainer__fjsJnYzc53PdDBiULxxW\",\"checkbox\":\"style-module_checkbox__MZ1vSxZ4S6rL8saWZCTI\",\"checkboxIcon\":\"style-module_checkboxIcon__ZErPMDa8_KFbAagZWek2\"};","// extracted by mini-css-extract-plugin\nmodule.exports = {\"hide-sm\":\"style-module_hide-sm__z90FHIqkt6fNxDnioE2v\",\"hideSm\":\"style-module_hide-sm__z90FHIqkt6fNxDnioE2v\",\"visible-sm\":\"style-module_visible-sm__j9E1glpHVrnQsc0F6D3x\",\"visibleSm\":\"style-module_visible-sm__j9E1glpHVrnQsc0F6D3x\",\"hide-md\":\"style-module_hide-md__hxAg9CDs7R9WT9bIUJ1e\",\"hideMd\":\"style-module_hide-md__hxAg9CDs7R9WT9bIUJ1e\",\"visible-md\":\"style-module_visible-md___McPDRGEWeqAIb2S2Jwy\",\"visibleMd\":\"style-module_visible-md___McPDRGEWeqAIb2S2Jwy\",\"heading\":\"style-module_heading__QR3cLHf4lx1DF0kZLF3w\",\"headingText\":\"style-module_headingText__YVbBQFOeF1JQWYGdPAuZ\",\"fullHeightContainer\":\"style-module_fullHeightContainer__B6Aqicy9ExY5GzZWgt6n\",\"headingSection\":\"style-module_headingSection__JDWDyZBFdlcYBt5dyHXS\",\"filterHeaderContainer\":\"style-module_filterHeaderContainer__uc0GqbtVNJtDyLZO_hVe\",\"additionalHeaderFilter\":\"style-module_additionalHeaderFilter__b9Q7A8JJKxc58rrtuslW\",\"additionalHeaderControl\":\"style-module_additionalHeaderControl__w7QjBbZtDk5ezCCo_Pa8\",\"filteringByItems\":\"style-module_filteringByItems__fSTUrhy_wNSBRNPvrSHa\",\"filteringBy\":\"style-module_filteringBy__Y4qixREaTUAeKf6qfEOe\",\"matchInfo\":\"style-module_matchInfo__U87GEqLRNsKqALHMJ14K\",\"info\":\"style-module_info__tuUxBDJ9FoQ5AIwtn9uw\",\"toggleFilters\":\"style-module_toggleFilters__kCRqaRhvk42X8Gn2xYHA\"};","// extracted by mini-css-extract-plugin\nmodule.exports = {\"hide-sm\":\"AuditListRow-module_hide-sm__zAbG28Rgi2IL3R8zxACU\",\"hideSm\":\"AuditListRow-module_hide-sm__zAbG28Rgi2IL3R8zxACU\",\"visible-sm\":\"AuditListRow-module_visible-sm__sfoENyNiXd0jBreya8oM\",\"visibleSm\":\"AuditListRow-module_visible-sm__sfoENyNiXd0jBreya8oM\",\"hide-md\":\"AuditListRow-module_hide-md__XQ9te2msq_RlObL_7YXt\",\"hideMd\":\"AuditListRow-module_hide-md__XQ9te2msq_RlObL_7YXt\",\"visible-md\":\"AuditListRow-module_visible-md__tHKlxWUjBBAfSMBNGn8t\",\"visibleMd\":\"AuditListRow-module_visible-md__tHKlxWUjBBAfSMBNGn8t\",\"rowContainer\":\"AuditListRow-module_rowContainer__tNuP7twlJIkryTcQQ_Ow\",\"whenContainer\":\"AuditListRow-module_whenContainer__TLSAAL5IoUfW3p7jhG7q\",\"whoContainer\":\"AuditListRow-module_whoContainer__p4bMEapGsxLScABN5Ybt\",\"usernameText\":\"AuditListRow-module_usernameText__hxDkdd0rN1whYYWt_EYI\",\"whatContainer\":\"AuditListRow-module_whatContainer__mJgNibzR0AQmphh9AxZ1\",\"detailsContainer\":\"AuditListRow-module_detailsContainer__sfmgRsS6Zty9TBU40RnM\",\"keyValueGrid\":\"AuditListRow-module_keyValueGrid__G_IMmnCC1OJUfpXHWFW5\",\"row\":\"AuditListRow-module_row__H_AFvKfznQCH9VzZo0sF\",\"key\":\"AuditListRow-module_key__COz4734GvKdhfAd_Ntz0\",\"tooltipContainer\":\"AuditListRow-module_tooltipContainer__r18g000RUAiAmAQMkjfQ\"};","// extracted by mini-css-extract-plugin\nmodule.exports = {\"textContainer\":\"style-module_textContainer__euVMATjqRmTlHnZ2VE2x\",\"autoCompleteContainer\":\"style-module_autoCompleteContainer__MsLqS5BgvHCFNeXr10Js\",\"popover\":\"style-module_popover__GUy3_4tjbUI0FraWAvAd\",\"popoverContent\":\"style-module_popoverContent__rpYJNsx8KqiYce3SHb07\",\"popoverInfoText\":\"style-module_popoverInfoText__MkDHnJpZEeeTV92EjIK6\",\"warning\":\"style-module_warning__T3wPb3P0DyRHnNJBBJEY\",\"buttons\":\"style-module_buttons__N9lPnu2cSJHh34lVLfqT\"};","// extracted by mini-css-extract-plugin\nmodule.exports = {\"metadataPackageTitle\":\"styles-module_metadataPackageTitle__MTgvsDfbTHP3tg6o8nm3\"};","// extracted by mini-css-extract-plugin\nmodule.exports = {\"hide-sm\":\"style-module_hide-sm__c4THd5hl4P_2tGVDbKnk\",\"hideSm\":\"style-module_hide-sm__c4THd5hl4P_2tGVDbKnk\",\"visible-sm\":\"style-module_visible-sm__YJICAqVbmIRIhOJdXRAZ\",\"visibleSm\":\"style-module_visible-sm__YJICAqVbmIRIhOJdXRAZ\",\"hide-md\":\"style-module_hide-md__AU8qV7p1mR7mqNWJD3U3\",\"hideMd\":\"style-module_hide-md__AU8qV7p1mR7mqNWJD3U3\",\"visible-md\":\"style-module_visible-md__nc2AgEIkViwKTHBHI76T\",\"visibleMd\":\"style-module_visible-md__nc2AgEIkViwKTHBHI76T\",\"popoverMenu\":\"style-module_popoverMenu__SQkVHxiqbrb8VJVjSARl\",\"pagingControlButton\":\"style-module_pagingControlButton__R6z9YUw6nLBJ3CoNwodU\",\"pagingControlButtonText\":\"style-module_pagingControlButtonText__PaDL3IsEyTmCGIgFqbQ2\",\"pagingControlButtonActive\":\"style-module_pagingControlButtonActive__swSTnL63olNtSQ0hvY3q\",\"pagingControlButtonInactive\":\"style-module_pagingControlButtonInactive__PDZqzSEurtaA2_dEa4oO\",\"buttonWrapper\":\"style-module_buttonWrapper__meTc2S3fWGdXQUKG8RFg\"};","// extracted by mini-css-extract-plugin\nmodule.exports = {\"hide-sm\":\"style-module_hide-sm__Xelpfh5ELMmKEbe0q1vN\",\"hideSm\":\"style-module_hide-sm__Xelpfh5ELMmKEbe0q1vN\",\"visible-sm\":\"style-module_visible-sm__rUf8tp4VLdkLlrkUBcTJ\",\"visibleSm\":\"style-module_visible-sm__rUf8tp4VLdkLlrkUBcTJ\",\"hide-md\":\"style-module_hide-md__167X2N7s0dZC49yeI9yQ\",\"hideMd\":\"style-module_hide-md__167X2N7s0dZC49yeI9yQ\",\"visible-md\":\"style-module_visible-md__iU7Ie3NruWDRC0ZrhYsn\",\"visibleMd\":\"style-module_visible-md__iU7Ie3NruWDRC0ZrhYsn\",\"container\":\"style-module_container__ZOWXxb_b9JvewLN7WEXV\",\"onHover\":\"style-module_onHover__wIPFlMt1D1O8MWB9aNzz\",\"containerMargin\":\"style-module_containerMargin__PrRWYDGVRRIaaHSz0N6y\",\"header\":\"style-module_header__OgDB_nOdhqTIxIFPKsMU\",\"headerNoLogo\":\"style-module_headerNoLogo__ckQsnOKSCwHfeBOQDcE2\",\"link\":\"style-module_link__Grq7oOebEYs1L2nu8wh7\",\"disabled\":\"style-module_disabled__HVoGvDQFOmqZkrfepvOC\",\"content\":\"style-module_content__Pjuxlx8bUrq90MxFbNWY\",\"footer\":\"style-module_footer__oTgiTGzuFqEreZaTlPhP\",\"footerIcon\":\"style-module_footerIcon__baVnvf0VOtczb8U2xU7e\",\"cardLeft\":\"style-module_cardLeft__RFJyKgBUVCPoGWyt9BgL\",\"logo\":\"style-module_logo__xoB_lq9pBhkc6OBnQkvB\"};","// extracted by mini-css-extract-plugin\nmodule.exports = {\"cardTitle\":\"style-module_cardTitle__sNpbXeqWn0si0sI0tTeS\"};","// extracted by mini-css-extract-plugin\nmodule.exports = {\"container\":\"style-module_container__cxhy_mGmZI0uAoI4cIHF\"};","// extracted by mini-css-extract-plugin\nmodule.exports = {\"clickable\":\"NavigationChip-module_clickable__S8PQIiUjU4MNTbLuDReg\"};","// extracted by mini-css-extract-plugin\nmodule.exports = {\"commitCommentContainer\":\"style-module_commitCommentContainer__hJdPBpAm7qck5KywY622\",\"commitLink\":\"style-module_commitLink__qPKILe_GH2Arw84ffhBC\",\"commitComment\":\"style-module_commitComment__sbFbrqEHohxB74q2A8Yg\"};","// extracted by mini-css-extract-plugin\nmodule.exports = {\"hide-sm\":\"style-module_hide-sm__P2A9H1m9GLgMNYF1w7Kg\",\"hideSm\":\"style-module_hide-sm__P2A9H1m9GLgMNYF1w7Kg\",\"visible-sm\":\"style-module_visible-sm__ka2miyGU8RECsGO2KbbA\",\"visibleSm\":\"style-module_visible-sm__ka2miyGU8RECsGO2KbbA\",\"hide-md\":\"style-module_hide-md__ZahG9cbtAX2FUNcfkiFz\",\"hideMd\":\"style-module_hide-md__ZahG9cbtAX2FUNcfkiFz\",\"visible-md\":\"style-module_visible-md__Mkio66HYw9yWBpGQfng9\",\"visibleMd\":\"style-module_visible-md__Mkio66HYw9yWBpGQfng9\",\"componentRow\":\"style-module_componentRow__mVt9jHevG2KQ5HmgxcbP\"};","// extracted by mini-css-extract-plugin\nmodule.exports = {\"video\":\"styles-module_video__ZfcGaYgRaRNlJ29u10LG\"};","// extracted by mini-css-extract-plugin\nmodule.exports = {\"resources\":\"HelpSidebarResources-module_resources__WB5WGHTRUcz_nkpP2mRW\",\"resourceLinks\":\"HelpSidebarResources-module_resourceLinks__k7QN3LfE0630K_x4qAvJ\",\"fullWidthSm\":\"HelpSidebarResources-module_fullWidthSm__cq1pHZAmjGyP75FQO8rg\",\"supportForumTop\":\"HelpSidebarResources-module_supportForumTop__idILBhujew7ZwotcFEtt\",\"customSupportLink\":\"HelpSidebarResources-module_customSupportLink__vhOHNHix4XKJfnCxabec\",\"resourcesHeader\":\"HelpSidebarResources-module_resourcesHeader__FyDP1Uetd0IOA9iTNKbq\",\"resourcesHeading\":\"HelpSidebarResources-module_resourcesHeading__Ra2_dv4gyqKrx_AR2TzK\",\"showHideButton\":\"HelpSidebarResources-module_showHideButton__IasM4NjuVo9_BfNAxeET\",\"moreResources\":\"HelpSidebarResources-module_moreResources__UIIOFIeKlAoTwW5uZAet\",\"moreResourcesInner\":\"HelpSidebarResources-module_moreResourcesInner__CRBfrRcv7FseyfjvS55g\",\"supportForumBottom\":\"HelpSidebarResources-module_supportForumBottom__sTa0w55Yg4vlJuYVHqIF\"};","// extracted by mini-css-extract-plugin\nmodule.exports = {\"material-icons\":\"Registrations-module_material-icons__bIOl1bYSwIFqgFNCuyNU\",\"materialIcons\":\"Registrations-module_material-icons__bIOl1bYSwIFqgFNCuyNU\",\"icon\":\"Registrations-module_icon__PYQSOViRWdtoolybksao\",\"overviewContainer\":\"Registrations-module_overviewContainer__fC_xjE3VfqAG9HgBGNw0\",\"topicsContainer\":\"Registrations-module_topicsContainer__ITul_UlZZRdzBhQfuxrQ\",\"overviewHighlight\":\"Registrations-module_overviewHighlight__ff9x4z7q5DlvBspXDO2F\",\"terms\":\"Registrations-module_terms__cxGLG_rrhyrOtHdLNJ08\",\"note\":\"Registrations-module_note__Jn8l84bBTIRj_lINFTVK\",\"needHelp\":\"Registrations-module_needHelp__QxFBy5eBlkRp98GPQF64\",\"newToOctopus\":\"Registrations-module_newToOctopus__We_oWACy9NhT3AtHJLYc\",\"tutorials\":\"Registrations-module_tutorials__BKA0oBLpDvmbtv8NJzMX\",\"docs\":\"Registrations-module_docs__ostCdCd_4_a1GEncR5N3\",\"support\":\"Registrations-module_support__PrxcOMREfW7Ti8iqX658\",\"webinar\":\"Registrations-module_webinar__jclbwUDOyqAYVVH4oHnt\",\"video\":\"Registrations-module_video__Vfqf8aI58gHNBuBOwLv3\",\"helpInformation\":\"Registrations-module_helpInformation__fvjnVg7InzozT153s0UQ\"};","// extracted by mini-css-extract-plugin\nmodule.exports = {\"copyValue\":\"style-module_copyValue__US4WOx896SQITTUb8IEP\"};","// extracted by mini-css-extract-plugin\nmodule.exports = {\"environmentChips\":\"style-module_environmentChips__CwPV6vhs2qEjgvuQlNNS\",\"projectNameCell\":\"style-module_projectNameCell__solfobfZSR3HY0KLXYaO\",\"environmentNameCell\":\"style-module_environmentNameCell__A6dbzxK4eKD6WPQ1oUHT\",\"overflowMenu\":\"style-module_overflowMenu__xyt2isGTtm5MX5lFYk2a\"};","// extracted by mini-css-extract-plugin\nmodule.exports = {\"frozen-icon\":\"style-module_frozen-icon__gPwuhj9O3bLxRQPfpwvt\",\"frozenIcon\":\"style-module_frozen-icon__gPwuhj9O3bLxRQPfpwvt\",\"dashboard-icon\":\"style-module_dashboard-icon__xlTowvffvK6616LoPB4B\",\"dashboardIcon\":\"style-module_dashboard-icon__xlTowvffvK6616LoPB4B\",\"narrow\":\"style-module_narrow__hID_UXEiQrPAUUzmWfRQ\",\"checkboxGroup\":\"style-module_checkboxGroup__r0eSavGPJEvNSkK3RwBc\",\"checkbox\":\"style-module_checkbox__BkX_ZP6L6b6OI_30faju\"};","// extracted by mini-css-extract-plugin\nmodule.exports = {\"hide-sm\":\"DevBanner-module_hide-sm__qWnnp0yUv_kSNUqLV1Rm\",\"hideSm\":\"DevBanner-module_hide-sm__qWnnp0yUv_kSNUqLV1Rm\",\"visible-sm\":\"DevBanner-module_visible-sm__Rvnfa7eIUbJC5wqdD8RX\",\"visibleSm\":\"DevBanner-module_visible-sm__Rvnfa7eIUbJC5wqdD8RX\",\"hide-md\":\"DevBanner-module_hide-md__UojfI8Ws7DQ0J835U2Mz\",\"hideMd\":\"DevBanner-module_hide-md__UojfI8Ws7DQ0J835U2Mz\",\"visible-md\":\"DevBanner-module_visible-md__LavQaYhsqTSposdKJmEP\",\"visibleMd\":\"DevBanner-module_visible-md__LavQaYhsqTSposdKJmEP\",\"devBanner\":\"DevBanner-module_devBanner__lJinmPZ4E3o6lYALhZPp\",\"entries\":\"DevBanner-module_entries__hDm6TSnlLQkEVUTFjKQN\",\"entry\":\"DevBanner-module_entry__kBHF_AwA58_hU_KXiDyQ\"};","// extracted by mini-css-extract-plugin\nmodule.exports = {\"versionTable\":\"style-module_versionTable__LIurt63D3GoP6va6154e\"};","// extracted by mini-css-extract-plugin\nmodule.exports = {\"toggleContainer\":\"style-module_toggleContainer__OboFUnixrFusynL2Ex_Y\"};","// extracted by mini-css-extract-plugin\nmodule.exports = {\"hide-sm\":\"style-module_hide-sm__RKWlBOUOH8SL85X6Wa_7\",\"hideSm\":\"style-module_hide-sm__RKWlBOUOH8SL85X6Wa_7\",\"visible-sm\":\"style-module_visible-sm__gubc3xYjr66xQy8XTvI5\",\"visibleSm\":\"style-module_visible-sm__gubc3xYjr66xQy8XTvI5\",\"hide-md\":\"style-module_hide-md__lYEnQPqJFuBpmWmdQAKn\",\"hideMd\":\"style-module_hide-md__lYEnQPqJFuBpmWmdQAKn\",\"visible-md\":\"style-module_visible-md__cRsc_qUSiGwcpgj1UfoB\",\"visibleMd\":\"style-module_visible-md__cRsc_qUSiGwcpgj1UfoB\",\"buttonDialogContainer\":\"style-module_buttonDialogContainer__wtcXMVfZNjbrw2OTz1qS\",\"materialDialogContent\":\"style-module_materialDialogContent__FPefMFhzio9w0XcV8tvP\",\"warningIcon\":\"style-module_warningIcon__oYK_ssdHmJuVkgW9V1px\",\"dialogHeader\":\"style-module_dialogHeader__t9QhX7hvDznbX2Axshu5\",\"confirmationDialogHeader\":\"style-module_confirmationDialogHeader__U_21oERSqlpQ9XfqVSp_\"};","// extracted by mini-css-extract-plugin\nmodule.exports = {\"actions\":\"CustomDialogActions-module_actions__CkZZFOtskKsUcEiUW0FO\",\"wizardActions\":\"CustomDialogActions-module_wizardActions__ueugEYIe5Zd6ASavolMB\",\"primaryActions\":\"CustomDialogActions-module_primaryActions__xXZboNhM6ErYbQc_4etf\",\"secondaryActions\":\"CustomDialogActions-module_secondaryActions__M5TJ8ftpEGhLNJvuJoeE\",\"step\":\"CustomDialogActions-module_step__i9CU4AGpmVG2zBfTeIRr\",\"active\":\"CustomDialogActions-module_active__o06XzxTWC1v6uyvqjPxe\",\"steps\":\"CustomDialogActions-module_steps__EdkTFUlSRLXVlgUIjY3g\"};","// extracted by mini-css-extract-plugin\nmodule.exports = {\"content\":\"CustomDialogContent-module_content__X5KakmyiSS79jDmatZWF\",\"block\":\"CustomDialogContent-module_block__CrQYzU1CgBvpVi7EYO8R\",\"flex\":\"CustomDialogContent-module_flex__k7W10iDSOhhH7hR_HsPT\",\"padded\":\"CustomDialogContent-module_padded__UEWXx86aQPSYPUFqdRP8\"};","// extracted by mini-css-extract-plugin\nmodule.exports = {\"hide-sm\":\"CustomDialogFrames-module_hide-sm__poHUKNwk0hnQ4wC4fLa6\",\"hideSm\":\"CustomDialogFrames-module_hide-sm__poHUKNwk0hnQ4wC4fLa6\",\"visible-sm\":\"CustomDialogFrames-module_visible-sm__l9vme9k_FO2OxV1qIigz\",\"visibleSm\":\"CustomDialogFrames-module_visible-sm__l9vme9k_FO2OxV1qIigz\",\"hide-md\":\"CustomDialogFrames-module_hide-md__SpZRSQ3MqxIGLzrSRdlA\",\"hideMd\":\"CustomDialogFrames-module_hide-md__SpZRSQ3MqxIGLzrSRdlA\",\"visible-md\":\"CustomDialogFrames-module_visible-md__O6yfIpnQ7Z3cvqccYX68\",\"visibleMd\":\"CustomDialogFrames-module_visible-md__O6yfIpnQ7Z3cvqccYX68\",\"frame\":\"CustomDialogFrames-module_frame__TY3HNr_Hnpv1zQDmb2It\",\"commonFrame\":\"CustomDialogFrames-module_commonFrame__I0Lt6s75xOs1Ud_Gb0Ai\",\"wrapper\":\"CustomDialogFrames-module_wrapper__kNpk89w_l4_lUwd1n2e7\",\"opaque\":\"CustomDialogFrames-module_opaque__tJX3i9Mcaua7VQO0C5mM\",\"padded\":\"CustomDialogFrames-module_padded__CRC_26vmWwq6D5iod9Aa\",\"fullscreen\":\"CustomDialogFrames-module_fullscreen__PFkJY_v1ePdbJ80R1sLk\",\"shadow\":\"CustomDialogFrames-module_shadow__D72iDpWB_RLgdtl5yzMP\",\"huge\":\"CustomDialogFrames-module_huge__kRsyoTJ7Qi7bPtzv7LLw\",\"medium\":\"CustomDialogFrames-module_medium__dhMM9afReiXhC4O5GLCM\",\"small\":\"CustomDialogFrames-module_small__GnvFyPypDH9fQIhRXKur\",\"extraSmall\":\"CustomDialogFrames-module_extraSmall__D9TlNEQLZM7T6PBUhpIB\",\"adjustable\":\"CustomDialogFrames-module_adjustable__xGT_EdMDyvub4NRgY80B\"};","// extracted by mini-css-extract-plugin\nmodule.exports = {\"titleBar\":\"CustomDialogTitleBar-module_titleBar__rlFK6c_cmOOMySPmeM9P\",\"title\":\"CustomDialogTitleBar-module_title__W6f8ryudQxNZq0jpnrYc\",\"actions\":\"CustomDialogTitleBar-module_actions__ZXuGKCkXHJK064LdbeLA\"};","// extracted by mini-css-extract-plugin\nmodule.exports = {\"hide-sm\":\"style-module_hide-sm__wmoDjFvyqXZcQ_NZIPln\",\"hideSm\":\"style-module_hide-sm__wmoDjFvyqXZcQ_NZIPln\",\"visible-sm\":\"style-module_visible-sm__o1gfIJa3vhDPZvJA_EBu\",\"visibleSm\":\"style-module_visible-sm__o1gfIJa3vhDPZvJA_EBu\",\"hide-md\":\"style-module_hide-md__wbCEEtK1d9Jr6VMOIv67\",\"hideMd\":\"style-module_hide-md__wbCEEtK1d9Jr6VMOIv67\",\"visible-md\":\"style-module_visible-md__ptklaL48IjjhoOHwwXKE\",\"visibleMd\":\"style-module_visible-md__ptklaL48IjjhoOHwwXKE\",\"layout\":\"style-module_layout__mTlBXRASynpaQSWcHu8u\",\"headerContentAlignment\":\"style-module_headerContentAlignment__HwJyAVhe1fDWlpJWglIo\",\"title\":\"style-module_title__LPQGfyOV6aAeDEHz_wj0\",\"titleIcon\":\"style-module_titleIcon__quv9CujgcB1yTgzkk_mL\",\"body\":\"style-module_body__sd0pwJsZQBmMqj87NeJe\",\"actions\":\"style-module_actions__LFwvEG2NEtbcKGI4H205\",\"materialDialogBody\":\"style-module_materialDialogBody__goZrQq9Lo2O6LoHCbEmt\",\"primaryActions\":\"style-module_primaryActions__uvtql5hoTvKbm1DQHwhK\",\"secondaryActions\":\"style-module_secondaryActions__gsyLXVGoxSdWLEI0yiUX\",\"dialogLayout\":\"style-module_dialogLayout__SQCyicEMQXYExB7msVbm\",\"dialogLayoutKeyboardHandler\":\"style-module_dialogLayoutKeyboardHandler__kHKakMvb8TikSaLAXks9\",\"dialogWrapper\":\"style-module_dialogWrapper__iL05BXV3S_Lb7TQZcNH2\",\"headerContainer\":\"style-module_headerContainer__gzAGKz_9lHgSdJSpQtVw\",\"content\":\"style-module_content__yzMVHJ05KCPdpxlPE1_f\"};","// extracted by mini-css-extract-plugin\nmodule.exports = {\"key\":\"style-module_key__P2HutgQ7hPFSQET6855G\",\"row\":\"style-module_row___uJsowlhhLagkqsPUGxy\"};","// extracted by mini-css-extract-plugin\nmodule.exports = {\"markdownNote\":\"style-module_markdownNote__BBrffNBacg_pTmyGsBdL\",\"markdownDescriptionContainer\":\"style-module_markdownDescriptionContainer__vZ7g6LYffo4pmQZT1FlL\",\"testingResult\":\"style-module_testingResult__QbvhXGAeEpgURfNpAxQm\"};","// extracted by mini-css-extract-plugin\nmodule.exports = {\"hide-sm\":\"style-module_hide-sm__bpyaNhd66Tx14tG3bS0M\",\"hideSm\":\"style-module_hide-sm__bpyaNhd66Tx14tG3bS0M\",\"visible-sm\":\"style-module_visible-sm__Yqw8kjZO_59Xq1swEMgY\",\"visibleSm\":\"style-module_visible-sm__Yqw8kjZO_59Xq1swEMgY\",\"hide-md\":\"style-module_hide-md__mWbbIAwhwNmXU7VW1OKK\",\"hideMd\":\"style-module_hide-md__mWbbIAwhwNmXU7VW1OKK\",\"visible-md\":\"style-module_visible-md__rFCw29tfNKm1N6mtQ7cB\",\"visibleMd\":\"style-module_visible-md__rFCw29tfNKm1N6mtQ7cB\",\"textControl\":\"style-module_textControl__n8MitduJryFumClj2ecc\",\"textControlKey\":\"style-module_textControlKey__avCLODTKlYpfabBfK4XN\",\"separator\":\"style-module_separator__S4EOzQfSledqmTF5eHby\",\"errorText\":\"style-module_errorText__APGw5zQTh2pmwjIRIm8H\",\"itemContainer\":\"style-module_itemContainer__VCwQkNBxljc_v9NblINw\",\"threeItemContainer\":\"style-module_threeItemContainer__B7CtBswiqG3pZ0D1b40A\"};","// extracted by mini-css-extract-plugin\nmodule.exports = {\"error\":\"style-module_error__Shk9KtN6basK0BQe822K\",\"note\":\"style-module_note__eThQziU_DVaP7ZJYmaew\",\"titleContainer\":\"style-module_titleContainer__IqvFYT0i0Oolb79oFZR9\",\"title\":\"style-module_title__GEL1VJqaFeVL5whPYz30\",\"detailLink\":\"style-module_detailLink__SxsQ5y1g_Jo41Y784UXV\"};","// extracted by mini-css-extract-plugin\nmodule.exports = {\"preWrapped\":\"style-module_preWrapped__XujrV5_FshAqRYzfYL_9\",\"changeIndicatorOverlay\":\"style-module_changeIndicatorOverlay__WfryH6aJtTqW887rLnpg\",\"changeLine\":\"style-module_changeLine__bUUd1yeZvFxoqOq82fBl\",\"changeSet\":\"style-module_changeSet__Sac15o4x9D2ZwSN7oKEA\",\"busyIndicator\":\"style-module_busyIndicator__OPZXOzifQ1vSm4kaDw7D\"};","// extracted by mini-css-extract-plugin\nmodule.exports = {\"featuresActionContainer\":\"style-module_featuresActionContainer__fI1E6IRQDpLJeWU0oGrG\"};","// extracted by mini-css-extract-plugin\nmodule.exports = {\"disabled\":\"style-module_disabled__Lhc5vUKFRpO1yXAVsRKI\"};","// extracted by mini-css-extract-plugin\nmodule.exports = {\"filterField\":\"style-module_filterField__De_iCxSUBcaVgzzPDNyt\",\"filterFieldFullWidth\":\"style-module_filterFieldFullWidth__EkmeM8ldQL2holn5MxZQ\",\"filterTextBoxStandardWidth\":\"style-module_filterTextBoxStandardWidth__gpeDK5e45FWZxfzfv6uw\",\"filterTextBoxFullWidth\":\"style-module_filterTextBoxFullWidth__NvOj1gb8HsWkxe1V57Kv\"};","// extracted by mini-css-extract-plugin\nmodule.exports = {\"actionsContainer\":\"style-module_actionsContainer__NRq2pbqzKqouLRdFHjCF\",\"alignRightContainer\":\"style-module_alignRightContainer__GW8I3o_2YB6p4A6yKFv5\",\"spacer\":\"style-module_spacer__MrG_uwsGfDwP_iReYwgv\"};","// extracted by mini-css-extract-plugin\nmodule.exports = {\"buttonContainer\":\"style-module_buttonContainer__guSbrhFjLuZGGt4xDj8H\"};","// extracted by mini-css-extract-plugin\nmodule.exports = {\"hide-sm\":\"style-module_hide-sm__snUjsPp69LEJoQbqBVlA\",\"hideSm\":\"style-module_hide-sm__snUjsPp69LEJoQbqBVlA\",\"visible-sm\":\"style-module_visible-sm__Y2A7IQAIJ3VxE90zDXmQ\",\"visibleSm\":\"style-module_visible-sm__Y2A7IQAIJ3VxE90zDXmQ\",\"hide-md\":\"style-module_hide-md__kXgTcJgB1cw4oas257xQ\",\"hideMd\":\"style-module_hide-md__kXgTcJgB1cw4oas257xQ\",\"visible-md\":\"style-module_visible-md__x1pCPrvf2kqY1kCJkbXE\",\"visibleMd\":\"style-module_visible-md__x1pCPrvf2kqY1kCJkbXE\",\"container\":\"style-module_container__JgYgpmLxGwknDRjxIMmn\",\"content\":\"style-module_content__w5RlQrC5YoTA8Cliw5la\",\"consumerContent\":\"style-module_consumerContent__XmHUfF6VgRCN9aHwB1OV\"};","// extracted by mini-css-extract-plugin\nmodule.exports = {\"hide-sm\":\"FundamentalsGuideDialogLayout-module_hide-sm__B6OY2Z4kEvvp829eOTWY\",\"hideSm\":\"FundamentalsGuideDialogLayout-module_hide-sm__B6OY2Z4kEvvp829eOTWY\",\"visible-sm\":\"FundamentalsGuideDialogLayout-module_visible-sm__qMNSD80ZcvVAbH7xoEX_\",\"visibleSm\":\"FundamentalsGuideDialogLayout-module_visible-sm__qMNSD80ZcvVAbH7xoEX_\",\"hide-md\":\"FundamentalsGuideDialogLayout-module_hide-md__sIbQHPJpmRnX1725p_lz\",\"hideMd\":\"FundamentalsGuideDialogLayout-module_hide-md__sIbQHPJpmRnX1725p_lz\",\"visible-md\":\"FundamentalsGuideDialogLayout-module_visible-md__kJtyd9O4yMDTuEltEdYB\",\"visibleMd\":\"FundamentalsGuideDialogLayout-module_visible-md__kJtyd9O4yMDTuEltEdYB\",\"centre\":\"FundamentalsGuideDialogLayout-module_centre__lNVFiPAqcGDHIMqjXR81\",\"content\":\"FundamentalsGuideDialogLayout-module_content__KQy2hMFlKjZ0eFzHxuow\",\"heading\":\"FundamentalsGuideDialogLayout-module_heading__kcZoaRD3qhem__s3u1Ra\",\"image\":\"FundamentalsGuideDialogLayout-module_image__JZJAPzpZ5fA1t_3mwDO9\",\"container\":\"FundamentalsGuideDialogLayout-module_container__Ukh4eMcDn7I7B4ErquSh\",\"closeButton\":\"FundamentalsGuideDialogLayout-module_closeButton__CShk6Mm0PMQh2910yLVl\"};","// extracted by mini-css-extract-plugin\nmodule.exports = {\"imageContainer\":\"ImageWithPlaceholder-module_imageContainer__EX8ndnK570lbs7bqyPAL\",\"image\":\"ImageWithPlaceholder-module_image__fnkpuMiDvRgmtlKsdabQ\",\"loadingPlaceholder\":\"ImageWithPlaceholder-module_loadingPlaceholder__fojugMp6JBdDs3qmbO8O\"};","// extracted by mini-css-extract-plugin\nmodule.exports = {\"buttonList\":\"style-module_buttonList__Ph9OD0RsLaPevRvasz7w\"};","// extracted by mini-css-extract-plugin\nmodule.exports = {\"hide-sm\":\"style-module_hide-sm__O0BL4MaP9aWOSnjJS5Nw\",\"hideSm\":\"style-module_hide-sm__O0BL4MaP9aWOSnjJS5Nw\",\"visible-sm\":\"style-module_visible-sm__HKxF4mgbc9njWOwSIvF3\",\"visibleSm\":\"style-module_visible-sm__HKxF4mgbc9njWOwSIvF3\",\"hide-md\":\"style-module_hide-md__AV00ZHFGIormqcjxhXal\",\"hideMd\":\"style-module_hide-md__AV00ZHFGIormqcjxhXal\",\"visible-md\":\"style-module_visible-md__n1vuWLRh0DLVWauhqIoX\",\"visibleMd\":\"style-module_visible-md__n1vuWLRh0DLVWauhqIoX\",\"container\":\"style-module_container__ohgPw9IvcM0uOPn6pel3\",\"input\":\"style-module_input__BLx7vFShr_ftlgmWv7sR\",\"actions\":\"style-module_actions__JoGI4785kqzViGUAGPRg\"};","// extracted by mini-css-extract-plugin\nmodule.exports = {\"hoverlessContainer\":\"style-module_hoverlessContainer__rZySVYLqaWeDQR9pFlpn\",\"content\":\"style-module_content__KMGiI5_iWnGBguP3drQ0\"};","// extracted by mini-css-extract-plugin\nmodule.exports = {\"loadMoreContainer\":\"LoadMoreWrapper-module_loadMoreContainer__NHw1Kc3rSEynmRlio7dH\",\"loadMoreActions\":\"LoadMoreWrapper-module_loadMoreActions__lnU1Xy1CZfRpYRSaWSYs\",\"loadMoreSubText\":\"LoadMoreWrapper-module_loadMoreSubText__zh3u4kuR7rUHrSO47esT\"};","// extracted by mini-css-extract-plugin\nmodule.exports = {\"logo\":\"style-module_logo__ykTqLNbYU_uegjxEoxK8\",\"logo-image-link\":\"style-module_logo-image-link__IqVG1R0MvpIZR7Eqap62\",\"logoImageLink\":\"style-module_logo-image-link__IqVG1R0MvpIZR7Eqap62\",\"disabled\":\"style-module_disabled__kzTCRATBAUDH75fiUZQU\"};","// extracted by mini-css-extract-plugin\nmodule.exports = {\"description\":\"style-module_description__VQK6vE3oM979umZ5caGp\"};","// extracted by mini-css-extract-plugin\nmodule.exports = {\"outOfFlowContainer\":\"style-module_outOfFlowContainer__xRbfvW5jjqw1vG_uebjE\"};","// extracted by mini-css-extract-plugin\nmodule.exports = {\"moreInformation\":\"style-module_moreInformation__JaqLsHd38QsVBRrBCQzw\"};","// extracted by mini-css-extract-plugin\nmodule.exports = {\"container\":\"MultiSelect-module_container__F3zX0JhM5aSamHo6Ro3g\",\"textContainer\":\"MultiSelect-module_textContainer__ZSypm3G3IFPwTcceez04\",\"iconContainer\":\"MultiSelect-module_iconContainer__KqEqCB3CudUmp2PKyJQU\",\"actionsContainer\":\"MultiSelect-module_actionsContainer__iXjVpMPpy4y7U9ROUUQF\",\"error\":\"MultiSelect-module_error__uGivqHneTg0Qa0vviT4x\",\"label\":\"MultiSelect-module_label__cWuFmwuzT8OlDxyJXrza\",\"visuallyHidden\":\"MultiSelect-module_visuallyHidden__wPcIkuTfrcyR3Re3Ewzs\",\"visuallyHiddenContainer\":\"MultiSelect-module_visuallyHiddenContainer__IFxVdMH9HXStY4d54ffQ\"};","// extracted by mini-css-extract-plugin\nmodule.exports = {\"hide-sm\":\"notifications-module_hide-sm__GH0msaCe_XzoqWmfCLkW\",\"hideSm\":\"notifications-module_hide-sm__GH0msaCe_XzoqWmfCLkW\",\"visible-sm\":\"notifications-module_visible-sm___nWKfty8ddGry1RflC5w\",\"visibleSm\":\"notifications-module_visible-sm___nWKfty8ddGry1RflC5w\",\"hide-md\":\"notifications-module_hide-md__DFweP7APtcGq4Yjj_t7F\",\"hideMd\":\"notifications-module_hide-md__DFweP7APtcGq4Yjj_t7F\",\"visible-md\":\"notifications-module_visible-md__adViKRI0KsjnQpgN4Isq\",\"visibleMd\":\"notifications-module_visible-md__adViKRI0KsjnQpgN4Isq\",\"container\":\"notifications-module_container__L8vc8o33S7RYtmEqIb4E\",\"grow\":\"notifications-module_grow__diY3WqgWKLbbtOW_qrEC\",\"notification\":\"notifications-module_notification__Sv__H6xd218eFpFfsFyW\",\"title\":\"notifications-module_title__G994CvIAiJ8NpcaUHymn\",\"description\":\"notifications-module_description__FtooD4cW12dlqiJsXPNO\",\"icon\":\"notifications-module_icon__U3BHJ02eTjAg3oSKlTfx\",\"links\":\"notifications-module_links__g_rNYJTgZNepUpNR_9FR\",\"notificationIcon\":\"notifications-module_notificationIcon__Lg1C1Mepax_rmDfAey7N\",\"textHappy\":\"notifications-module_textHappy__PZ0zENaXu3jcyu9p2yi0\",\"bgHappy\":\"notifications-module_bgHappy__SB7yp62123sgP5ptpRGi\",\"textInfo\":\"notifications-module_textInfo__v5LId9TCA3PTCOM8L5gf\",\"bgInfo\":\"notifications-module_bgInfo__hmtIrHlc5VJsWsDGTayA\",\"textWarn\":\"notifications-module_textWarn__wDKLY4Ar1PcOaTwcmEg2\",\"bgWarn\":\"notifications-module_bgWarn__wHr4_Jt4ePx5TVWQT6J8\",\"textError\":\"notifications-module_textError__DnU_qznTHHxZDp5FhrPA\",\"bgError\":\"notifications-module_bgError__dO24c2FlSsaIuxe9MCuz\"};","// extracted by mini-css-extract-plugin\nmodule.exports = {\"externalVideoLink\":\"style-module_externalVideoLink__kjQ88H6FbHMcChohCCLf\"};","// extracted by mini-css-extract-plugin\nmodule.exports = {\"internalLink\":\"style-module_internalLink__FgFXzmzkg2rvXMsSVbEW\",\"listInternalLink\":\"style-module_listInternalLink__FWY5G7oJs0ZULEL5DzTY\"};","// extracted by mini-css-extract-plugin\nmodule.exports = {\"hide-sm\":\"NoResults-module_hide-sm__C2iXMgiwenkCx76qVvtZ\",\"hideSm\":\"NoResults-module_hide-sm__C2iXMgiwenkCx76qVvtZ\",\"visible-sm\":\"NoResults-module_visible-sm__R0AzCcW2zGJ2WNB3Vnyw\",\"visibleSm\":\"NoResults-module_visible-sm__R0AzCcW2zGJ2WNB3Vnyw\",\"hide-md\":\"NoResults-module_hide-md__uoCNsx1b55WZON7eGaCL\",\"hideMd\":\"NoResults-module_hide-md__uoCNsx1b55WZON7eGaCL\",\"visible-md\":\"NoResults-module_visible-md__QUy5CEKNdca5HKWhbK_3\",\"visibleMd\":\"NoResults-module_visible-md__QUy5CEKNdca5HKWhbK_3\",\"container\":\"NoResults-module_container___1nehNy5fZkRg3KBOdMT\",\"onboardingImage\":\"NoResults-module_onboardingImage__aS8BtbVkfnIkrXVbCIX4\"};","// extracted by mini-css-extract-plugin\nmodule.exports = {\"hide-sm\":\"style-module_hide-sm__SvHjDdVDJclCU8oc8c24\",\"hideSm\":\"style-module_hide-sm__SvHjDdVDJclCU8oc8c24\",\"visible-sm\":\"style-module_visible-sm__wSjWCIrHCIaXXL_Zov5R\",\"visibleSm\":\"style-module_visible-sm__wSjWCIrHCIaXXL_Zov5R\",\"hide-md\":\"style-module_hide-md__joS6TzDLRyFNjvnnzhIs\",\"hideMd\":\"style-module_hide-md__joS6TzDLRyFNjvnnzhIs\",\"visible-md\":\"style-module_visible-md__tpaAxMFsYDZ2kJgY8ZZo\",\"visibleMd\":\"style-module_visible-md__tpaAxMFsYDZ2kJgY8ZZo\",\"content\":\"style-module_content__syGEY5Y0N7J_lUFUsKJY\"};","// extracted by mini-css-extract-plugin\nmodule.exports = {\"headerColumn\":\"style-module_headerColumn__RFVl10fRTmh0PdZ9uOPh\",\"rowColumn\":\"style-module_rowColumn__Rtxf51dzZb1va_35zaDx\",\"center\":\"style-module_center__v9fi4hnD7oiX2_Edvpdv\"};","// extracted by mini-css-extract-plugin\nmodule.exports = {\"menuIcon\":\"style-module_menuIcon__NSWETPjY4YNfL6YNnB7a\",\"disabledItem\":\"style-module_disabledItem__apSbXihxGTjgFiu2NW9W\",\"overflowButton\":\"style-module_overflowButton__zSBilsLfYYaC0Jz7t8L4\"};","// extracted by mini-css-extract-plugin\nmodule.exports = {\"listItem\":\"style-module_listItem__mnHiG_48JJpbjvybT0Na\",\"emptyList\":\"style-module_emptyList__kEhkxGq6ZDayPGM4_qRU\",\"pagingControlContainer\":\"style-module_pagingControlContainer__dSI1pix40k380CiQUBKf\",\"disablePagingEvents\":\"style-module_disablePagingEvents__RQYVNnYQ6B5sUwObqhRa\",\"loadMoreContainer\":\"style-module_loadMoreContainer__PM1joKE4AUJ2iZt7YH6S\",\"loadMoreActions\":\"style-module_loadMoreActions__Rgbb70MFodtb01oP7Cd_\",\"loadMoreSubText\":\"style-module_loadMoreSubText__IZI0zpI00KCet_ykU2AT\",\"filterContainer\":\"style-module_filterContainer__LjoAIDtwUM9sLaVq8_jn\"};","// extracted by mini-css-extract-plugin\nmodule.exports = {\"linkableItem\":\"style-module_linkableItem__JpC9SEmsdhLzmm5miMc5\",\"tableContainer\":\"style-module_tableContainer__MVcUcBS1zh0VnyTocRLL\"};","// extracted by mini-css-extract-plugin\nmodule.exports = {\"outer\":\"executingStyle-module_outer__Jyr_z_I0TbGNTAO1Lj7H\",\"border\":\"executingStyle-module_border__rxbkV3cIUzSTiYCqHlnH\",\"wrapper\":\"executingStyle-module_wrapper__mFAOy0B_3DF8XC8oew8i\",\"pie\":\"executingStyle-module_pie__ZWuBQ1ES4RD6qJYo7GlG\",\"spinner\":\"executingStyle-module_spinner__HULzuIUnmC32s6AzZzW3\",\"rota\":\"executingStyle-module_rota__uoPE6hn2HnMyzMA2d9sA\",\"filler1\":\"executingStyle-module_filler1__X2jiHJXeuFWN46HgbYH4\",\"fill1\":\"executingStyle-module_fill1__hAjzP3gC673JmZKEhydx\",\"filler2\":\"executingStyle-module_filler2__IznvWCbD1QPWmvGkWiTM\",\"fill2\":\"executingStyle-module_fill2__R_tdGXGKru7yS5jClsCB\",\"mask1\":\"executingStyle-module_mask1__vO4f_yRj29bHsjbknOag\",\"mask2\":\"executingStyle-module_mask2__BI712RkP5sLhzLIqS_T0\"};","// extracted by mini-css-extract-plugin\nmodule.exports = {\"phase-icon\":\"style-module_phase-icon__bEFTpAVXzZvf7Fc0qVfo\",\"phaseIcon\":\"style-module_phase-icon__bEFTpAVXzZvf7Fc0qVfo\",\"optional\":\"style-module_optional__bJZBv5OI_n3lbnwjrQ6R\",\"blocked\":\"style-module_blocked__qfSDqWWEx9UpHsEslKPd\",\"current\":\"style-module_current__KZQlVvRoBzJPobJ4un8U\",\"complete\":\"style-module_complete__VeeqHLcZHacSJ7CZ_ITw\",\"deployed\":\"style-module_deployed__Jl_7r2oCO5p6TBoPJxwg\",\"automatic\":\"style-module_automatic__KoVnm50Kx6efpLDPc7M1\",\"queued\":\"style-module_queued__v6K_GndLCYIeXjNvznyD\",\"warning\":\"style-module_warning__pLRcJ60w6L4iKhZ0C1gw\",\"skipped\":\"style-module_skipped__JM63hTyIsOzPA35a23uk\"};","// extracted by mini-css-extract-plugin\nmodule.exports = {\"hide-sm\":\"styles-module_hide-sm__wYMwBZCdmzNz8FpHynQQ\",\"hideSm\":\"styles-module_hide-sm__wYMwBZCdmzNz8FpHynQQ\",\"visible-sm\":\"styles-module_visible-sm__i9bCAMdduoITCvgigpQK\",\"visibleSm\":\"styles-module_visible-sm__i9bCAMdduoITCvgigpQK\",\"hide-md\":\"styles-module_hide-md__RUtzEVsEjD6O680BmYTx\",\"hideMd\":\"styles-module_hide-md__RUtzEVsEjD6O680BmYTx\",\"visible-md\":\"styles-module_visible-md__venOLTmmHFjqTD1xX7io\",\"visibleMd\":\"styles-module_visible-md__venOLTmmHFjqTD1xX7io\",\"dashboardOnboardingLayout\":\"styles-module_dashboardOnboardingLayout__QjPCoDuoZVP5SZ5zdbb2\",\"dashboardOnboardingText\":\"styles-module_dashboardOnboardingText__t23yrqfBh0blL5MraBc1\",\"checkboxGrid\":\"styles-module_checkboxGrid__TBPzydjbJqfL_QLaSS0g\",\"lifecycleSummary\":\"styles-module_lifecycleSummary__upaKOhEK1OQJZDTybsya\",\"lifecycleList\":\"styles-module_lifecycleList__UWVWITZEBMOFMbLjR_4c\",\"lifecycleListItem\":\"styles-module_lifecycleListItem__ExZKs_gmm2FIJmciflPf\",\"successfulDeploymentDialog\":\"styles-module_successfulDeploymentDialog__eoZ0RikCxmjUBP6JDFHx\",\"successfulDeploymentDialogContent\":\"styles-module_successfulDeploymentDialogContent__ZlCT2aBszNMnDDRQWmg1\",\"successfulDeploymentDialogImage\":\"styles-module_successfulDeploymentDialogImage__DVB3P7nyGIYeaZxGhSId\",\"successfulDeploymentDialogTitle\":\"styles-module_successfulDeploymentDialogTitle__iOlTt87icsFbCH2KALSn\",\"successfulDeploymentDialogText\":\"styles-module_successfulDeploymentDialogText__BJpxK_QDzvzcFPP56NRJ\",\"externalLinkIcon\":\"styles-module_externalLinkIcon__Vhp3_6UpLtSpvY4zUwtQ\",\"blankPageOuterContainer\":\"styles-module_blankPageOuterContainer__FMkgw0bJI1rhKFu7ZiLs\",\"blankPageContentContainer\":\"styles-module_blankPageContentContainer__gEmKGsUIxozWe_83Qxct\",\"header\":\"styles-module_header__KRe8FnfvmHLD8mnQ86w9\",\"description\":\"styles-module_description__hsZqofue56FWYyjzYmhO\",\"externalLinks\":\"styles-module_externalLinks__yUo0lE63LkgV0o7mfRKQ\",\"noFrameFlex\":\"styles-module_noFrameFlex__qm6tGFXzef9n_41RAEks\",\"linkList\":\"styles-module_linkList__aToJ3FZbAufMLJ67oD8b\",\"icon\":\"styles-module_icon__SPeuOARWXx6kr23Wvno7\",\"dialogTitle\":\"styles-module_dialogTitle__UCSF4a3qEWvjlUNyn9QW\",\"dialogTitleFullScreen\":\"styles-module_dialogTitleFullScreen__ylRvk8I0qREG_9I9cDmQ\",\"environmentsContainerFullScreen\":\"styles-module_environmentsContainerFullScreen__SSdWpX1Mgj2BgeB2_keV\",\"addEnvironmentContainer\":\"styles-module_addEnvironmentContainer__EVKn27qzuX61yRp2Joou\",\"addEnvironmentContainerFullScreen\":\"styles-module_addEnvironmentContainerFullScreen__A8LemVxgImvlO5m4YFWp\",\"savingError\":\"styles-module_savingError__S8jwRZ_By2PsWaOg9ZOF\",\"lifecycle\":\"styles-module_lifecycle__Gj0RycvI74fbfNW0Xnno\",\"customDialogContentFullScreen\":\"styles-module_customDialogContentFullScreen__EZ2GPw88sUl8O55VqFjk\",\"buttonContainer\":\"styles-module_buttonContainer__iQkC8klv3Ra6b88OktkZ\",\"buttonsContainerFullScreen\":\"styles-module_buttonsContainerFullScreen__hnZJdgS7N4TwXFoTvezT\",\"notification\":\"styles-module_notification__nJPV2ZyxDjIyiSEAJbGU\"};","// extracted by mini-css-extract-plugin\nmodule.exports = {\"container\":\"style-module_container__gdSfUg4Z0vJsWjsQGsNw\",\"content\":\"style-module_content__POUqhoWhScZWqlmgWxzV\"};","// extracted by mini-css-extract-plugin\nmodule.exports = {\"container\":\"style-module_container__D2OkibOmPPEDN5Bes8_u\",\"content\":\"style-module_content__YfsyXi8vQm0fUF3zGKll\",\"iconContainer\":\"style-module_iconContainer__jcplf38v0SmEm1m4QEFJ\"};","// extracted by mini-css-extract-plugin\nmodule.exports = {\"fontoctopus-octopus\":\"style-module_fontoctopus-octopus__hkbDYJf5korYzxlveFlx\",\"fontoctopusOctopus\":\"style-module_fontoctopus-octopus__hkbDYJf5korYzxlveFlx\",\"monospace\":\"style-module_monospace__eLdJxWQb3MtDJwy15MBx\",\"container\":\"style-module_container__fcrUr3WZHM_pqCaaqUsu\",\"textOverflow\":\"style-module_textOverflow__q1unwc0_S9R39KKBKy58\",\"content\":\"style-module_content__BMcIiWlkcKWmHWpybVWc\",\"monospacedFont\":\"style-module_monospacedFont__n57SctlPlWGc2ROloQw8\"};","// extracted by mini-css-extract-plugin\nmodule.exports = {\"emptyList\":\"style-module_emptyList__jVt7M2Coxp8lZF2nEkTF\",\"headerBar\":\"style-module_headerBar__kxQa7ImNCfpFT3Yooch1\",\"hidden\":\"style-module_hidden__CnKn_Ok1Sd7wbKtZCcT9\"};","// extracted by mini-css-extract-plugin\nmodule.exports = {\"emptyList\":\"style-module_emptyList__OoyUlH7z_W78GVC55EoR\",\"hidden\":\"style-module_hidden__mtH2pe5BUjFikWSD_4sa\",\"lowerActionPadding\":\"style-module_lowerActionPadding__N9SykogCnwr2uIZQkhAA\"};","// extracted by mini-css-extract-plugin\nmodule.exports = {\"hide-sm\":\"style-module_hide-sm__xKY5a44GA3OZMUdJg42y\",\"hideSm\":\"style-module_hide-sm__xKY5a44GA3OZMUdJg42y\",\"visible-sm\":\"style-module_visible-sm__MNHR3OHGow6p9wtmCeeT\",\"visibleSm\":\"style-module_visible-sm__MNHR3OHGow6p9wtmCeeT\",\"hide-md\":\"style-module_hide-md__jgsGAfxAPi6y_jc9Rxeg\",\"hideMd\":\"style-module_hide-md__jgsGAfxAPi6y_jc9Rxeg\",\"visible-md\":\"style-module_visible-md__Uvsz3q8wA4NW1lGJYXsX\",\"visibleMd\":\"style-module_visible-md__Uvsz3q8wA4NW1lGJYXsX\",\"secondary\":\"style-module_secondary__yGEgEtxNxhBHnO_Mx62H\",\"userSelect\":\"style-module_userSelect__uWPib9pSq3_10ChN4zu6\",\"noUserSelect\":\"style-module_noUserSelect__Jx2L0KbRPA2sXFnvnmEP\",\"section\":\"style-module_section__E_zfgegB0jT4n5Iy4og5\",\"sectionHeader\":\"style-module_sectionHeader__PDZCuH4y4Vd9jy9R3VIW\",\"sectionBody\":\"style-module_sectionBody__Mt4ppvdS7yC1Tyjk3Hxt\",\"sectionNoHeader\":\"style-module_sectionNoHeader__XUeCPdeSKJdu_yoZIIDV\"};","// extracted by mini-css-extract-plugin\nmodule.exports = {\"container\":\"style-module_container__dcxeqdQjupiUryBUCT8Z\",\"thumbprint\":\"style-module_thumbprint__ZjK8MJnYVEBVu2xxCGwb\"};","// extracted by mini-css-extract-plugin\nmodule.exports = {\"hide-sm\":\"style-module_hide-sm__Vkepb9_kmAwBMioqSwXl\",\"hideSm\":\"style-module_hide-sm__Vkepb9_kmAwBMioqSwXl\",\"visible-sm\":\"style-module_visible-sm__aNz55U5ao15x37XFnshK\",\"visibleSm\":\"style-module_visible-sm__aNz55U5ao15x37XFnshK\",\"hide-md\":\"style-module_hide-md__d96W7rBFEx1mLkv7pKj6\",\"hideMd\":\"style-module_hide-md__d96W7rBFEx1mLkv7pKj6\",\"visible-md\":\"style-module_visible-md__oFV9bbLBgm7JDt504R3A\",\"visibleMd\":\"style-module_visible-md__oFV9bbLBgm7JDt504R3A\",\"bodyWithSides\":\"style-module_bodyWithSides__fIqJkSY10gv4PXFy4dvu\",\"sideBarRight\":\"style-module_sideBarRight__QLSHSp791x9LjsyAd7DG\",\"sideBarLeft\":\"style-module_sideBarLeft__MJcWxPEjhcP3DnZfAESG\",\"sidebarContainer\":\"style-module_sidebarContainer__cTCrGxMQTXXJQbcJoH9O\",\"constrainWidth\":\"style-module_constrainWidth__jzwu2RxFVRctNfXRM56O\",\"sideBar\":\"style-module_sideBar__OPHD_h9k3pmYAmUbaMgp\",\"sideBarPadding\":\"style-module_sideBarPadding__GDSy_wWmkdYxvCdBBbdt\",\"main\":\"style-module_main__MJQTCfnREnmFqIHWMeTO\",\"overflowXHidden\":\"style-module_overflowXHidden__JB0J3580JLPlZn_l0su9\",\"mainContent\":\"style-module_mainContent__QhXSAFKbnoS5vAqVL599\"};","// extracted by mini-css-extract-plugin\nmodule.exports = {\"linkableItem\":\"style-module_linkableItem__ugCPCtVOLnlU08riWcMt\"};","// extracted by mini-css-extract-plugin\nmodule.exports = {\"formExpander\":\"style-module_formExpander__X4RkRfXsIcnVPRMnXiMe\",\"formNonExpander\":\"style-module_formNonExpander__lr8rZiSxlcaXVUR9fDYf\",\"cardMedia\":\"style-module_cardMedia__jdNCEPwQ1ty98WoyQxfJ\"};","// extracted by mini-css-extract-plugin\nmodule.exports = {\"selectContainer\":\"style-module_selectContainer__yjPu_5zloJvK255ZcDgw\"};","// extracted by mini-css-extract-plugin\nmodule.exports = {\"hide-sm\":\"style-module_hide-sm__FrHXpRsDgQvBAhXqCGqg\",\"hideSm\":\"style-module_hide-sm__FrHXpRsDgQvBAhXqCGqg\",\"visible-sm\":\"style-module_visible-sm__WW20icz5d5Lz5EjXYpjf\",\"visibleSm\":\"style-module_visible-sm__WW20icz5d5Lz5EjXYpjf\",\"hide-md\":\"style-module_hide-md__BRiMsL93jcGYJqksle14\",\"hideMd\":\"style-module_hide-md__BRiMsL93jcGYJqksle14\",\"visible-md\":\"style-module_visible-md__DBKEt0990sTealCseIBT\",\"visibleMd\":\"style-module_visible-md__DBKEt0990sTealCseIBT\",\"row\":\"style-module_row__umpXKiTQoW8KkFYo6VCE\",\"inputs\":\"style-module_inputs__j2h3D_8pVQ3pFI7mghlf\"};","// extracted by mini-css-extract-plugin\nmodule.exports = {\"inputWithHelp\":\"style-module_inputWithHelp__0VKYHQfGymwMi70LKlmw\",\"indented\":\"style-module_indented___QQ4CNlWYr_b5nj2L2ZR\"};","// extracted by mini-css-extract-plugin\nmodule.exports = {\"itemSummary\":\"style-module_itemSummary__XL2_0LP3lA4YN9sdE1GX\",\"itemSummaryMore\":\"style-module_itemSummaryMore__eMYa6V5VCKq_hxPRT1et\",\"itemSummaryFields\":\"style-module_itemSummaryFields__ImiiTb7ReK_1Ray2Pr3T\",\"itemSummaryField\":\"style-module_itemSummaryField__AD5ae5Jkz1nb3cFO6XDh\",\"itemSummaryFieldTitle\":\"style-module_itemSummaryFieldTitle__FEyRxHNxjU3ivCwHQ5vp\"};","// extracted by mini-css-extract-plugin\nmodule.exports = {\"hide-sm\":\"style-module_hide-sm__tzAOQx12oUYtFHJ7FAnn\",\"hideSm\":\"style-module_hide-sm__tzAOQx12oUYtFHJ7FAnn\",\"visible-sm\":\"style-module_visible-sm__NTXUdlFzLAtobN6J_AQS\",\"visibleSm\":\"style-module_visible-sm__NTXUdlFzLAtobN6J_AQS\",\"hide-md\":\"style-module_hide-md__VFdTn_ACJfLofNRTyU82\",\"hideMd\":\"style-module_hide-md__VFdTn_ACJfLofNRTyU82\",\"visible-md\":\"style-module_visible-md__ncXEUPW5eIPC5xJwzXwK\",\"visibleMd\":\"style-module_visible-md__ncXEUPW5eIPC5xJwzXwK\",\"components\":\"style-module_components__n4iPpRqMWZMnrUawIDug\",\"entry\":\"style-module_entry__aBpALGH1lBmTDcPgU4Pw\",\"bulletList\":\"style-module_bulletList__EbAWvnYTioE_z372dEKQ\",\"content\":\"style-module_content__ImbL24_v7wsCTJrgpjbq\",\"styleGuideExample\":\"style-module_styleGuideExample__fntqlGnA9_78H2plOQga\",\"container\":\"style-module_container__r3sJOUHNbVGxyGY9rhHA\",\"componentMenu\":\"style-module_componentMenu__b1GJjK_z5MnivpBGGVHf\",\"heading\":\"style-module_heading__tGOJC9NftswqgfIBkb68\",\"context\":\"style-module_context__BnnabIAFIzy0ERiDalZA\",\"colors\":\"style-module_colors__kgAYCPKEcaLdveJ1L5YX\",\"colorSwatch\":\"style-module_colorSwatch__GZS9U89iVgpAv49QqajJ\",\"colorName\":\"style-module_colorName__Gy7wsISFlQ4MrjRGfEdd\",\"colorValue\":\"style-module_colorValue__G1xn0blqlS_86jg7kQeO\",\"swatch\":\"style-module_swatch__H7fAFmf2U3WET1WAiuW8\",\"white\":\"style-module_white__ivTB68iZachZ8uf2orP8\",\"secondaryTextColor\":\"style-module_secondaryTextColor__ZmQLF_3Y4ajcNVTBh50w\",\"primaryText\":\"style-module_primaryText__HZav15VTCvMGfyB3LFAX\",\"secondaryText\":\"style-module_secondaryText__c6orbUgtUIAwGEFT85GA\",\"primary\":\"style-module_primary__of3F9ETHSn8nxuKNwYsG\",\"primaryLight\":\"style-module_primaryLight__2QuRDgxE0mmyZm7uZaFA\",\"primaryDark\":\"style-module_primaryDark__M7bkJ1Rw10zFnhAUC4k3\",\"primaryBackgroundDark\":\"style-module_primaryBackgroundDark__Z1ukhq_TEF2qUBWF1YHf\",\"readonlyTextWithStrikethrough\":\"style-module_readonlyTextWithStrikethrough__VCLRVj9xtxxHYn8a90h_\",\"sidebarWithColor\":\"style-module_sidebarWithColor__tQRQ8J2Gm2DvRWSUr0uF\",\"row\":\"style-module_row__J4JXmAtwoYm9zNgRROOj\",\"buttons\":\"style-module_buttons__A8qQdMnnKLlHouUmt5Fn\",\"card\":\"style-module_card__QJmhoZ5igDYYt6QZfyl0\",\"cardTitle\":\"style-module_cardTitle__qOb_sAdhGyw_OIrrGSCX\",\"filterFieldContainer\":\"style-module_filterFieldContainer__o1L5oOfqIELnSJ551BIE\",\"filterField\":\"style-module_filterField__UFVWd0kgduZ3ycONk_9j\",\"secondaryColor\":\"style-module_secondaryColor__XrzWmQX_ckIVETDZFk8o\",\"fontoctopus-octopus\":\"style-module_fontoctopus-octopus__Iyjm_HNjcdQbD_R0yQhU\",\"fontoctopusOctopus\":\"style-module_fontoctopus-octopus__Iyjm_HNjcdQbD_R0yQhU\",\"monospace\":\"style-module_monospace__sYwr9hiJedHhLVByg8tS\",\"secondary\":\"style-module_secondary___aHprNwO10UnlGvTVUZY\",\"userSelect\":\"style-module_userSelect__wIevRw3oL2Y3RGXPts0A\",\"noUserSelect\":\"style-module_noUserSelect__Ewqds0ZHNuVzHQAf35Y0\",\"topLevelBlock\":\"style-module_topLevelBlock__u65X8oxu6d5Ver5vCacS\",\"block\":\"style-module_block__CRqhBUTG_PblygwNyd5b\",\"lines\":\"style-module_lines__WM6AVV9OJgE9AURbrVxV\",\"currentCommandExecuting\":\"style-module_currentCommandExecuting__B6TCeXrNuodct86FYWMA\",\"blockHeader\":\"style-module_blockHeader__IlDWe49cUk05J7UbMOzc\",\"fadeIn\":\"style-module_fadeIn__uQc3qUiw0K6X8ScqP9Lj\",\"stepEditorLink\":\"style-module_stepEditorLink__Cw4f1SXvZfQyMiE4r_o7\",\"blockExpanderIcon\":\"style-module_blockExpanderIcon__gpJ9YA3qplXav_yvwyvF\",\"blockExpanderIconExpanded\":\"style-module_blockExpanderIconExpanded__jsUXAEMfiGIDHqAfeN4p\",\"blockStatusIcon\":\"style-module_blockStatusIcon__AZ2S0VUOJw0bGrRXmJja\",\"blockTitle\":\"style-module_blockTitle__SLSKSPJrHcVv37zmgDi0\",\"blockTitleName\":\"style-module_blockTitleName__hGmOdhoxKCfcauGxsGau\",\"blockTime\":\"style-module_blockTime__zzLLhOUgIXoLFiNulEE1\",\"blockTimeImpact\":\"style-module_blockTimeImpact__QavxLggCg4B6hcT7QNwk\",\"body\":\"style-module_body__qU8XrECD8oJGQlpxQJ4q\",\"progress\":\"style-module_progress__a1GvPssmqz5uTtz1nJ5Q\"};","// extracted by mini-css-extract-plugin\nmodule.exports = {\"taskDetailsContainer\":\"style-module_taskDetailsContainer__nlZ8D2II17D30oqtHlWb\",\"details\":\"style-module_details__VGBIZ_ZVana3SdizJzbj\",\"detailsPadding\":\"style-module_detailsPadding__VOvNlcTKfd_z3JYiZ3BY\",\"description\":\"style-module_description__S3_KfPY7wxWyuRpagxih\",\"date\":\"style-module_date__b1a2ZZV5P_bYIjmm3rnQ\",\"stripTopBottomPadding\":\"style-module_stripTopBottomPadding__eAZabeyE3ncDdcqn2MS_\",\"stripAllPadding\":\"style-module_stripAllPadding__IT45HaWesM8Dvhwhqmi0\",\"interventionDialogHeader\":\"style-module_interventionDialogHeader__SCzbUxb8EEo_3DhV95wz\"};","// extracted by mini-css-extract-plugin\nmodule.exports = {\"fontoctopus-octopus\":\"style-module_fontoctopus-octopus__Hy9LV0zDFGQedti1BAp_\",\"fontoctopusOctopus\":\"style-module_fontoctopus-octopus__Hy9LV0zDFGQedti1BAp_\",\"monospace\":\"style-module_monospace__zb14fmL4YXHtacsTedoa\",\"hide-sm\":\"style-module_hide-sm__r9kcMXevdydnircTJbYf\",\"hideSm\":\"style-module_hide-sm__r9kcMXevdydnircTJbYf\",\"visible-sm\":\"style-module_visible-sm__hY22YRlGRwpc53Q18vSR\",\"visibleSm\":\"style-module_visible-sm__hY22YRlGRwpc53Q18vSR\",\"hide-md\":\"style-module_hide-md__bZnmptH8HgeGRq2uVtzZ\",\"hideMd\":\"style-module_hide-md__bZnmptH8HgeGRq2uVtzZ\",\"visible-md\":\"style-module_visible-md__SwSXGS0eIKEmbpGFFAPi\",\"visibleMd\":\"style-module_visible-md__SwSXGS0eIKEmbpGFFAPi\",\"secondary\":\"style-module_secondary__U6c2SdhRUeW_lXR430Xz\",\"userSelect\":\"style-module_userSelect__gXlk127g_MXNqDN6u1Og\",\"noUserSelect\":\"style-module_noUserSelect__V1tbvKl3ud5P1kCSqdSx\",\"logLine\":\"style-module_logLine__VzFOUTFdZnFagGWUyNtv\",\"fadeIn\":\"style-module_fadeIn__RHxzZeLslcw3s6JSe4aa\",\"selected\":\"style-module_selected__Ab1OCuWHF0oxFvwH4j6s\",\"lineNumber\":\"style-module_lineNumber__T0_BNOa4t0GRDMLELSaY\",\"copyHelper\":\"style-module_copyHelper__OqvAlOB_XZ43r22tloeh\",\"copyHelperToken\":\"style-module_copyHelperToken__pAzKGrUZycIAyWEnzTmz\",\"topLevelBlock\":\"style-module_topLevelBlock__tfH1oElTohu4VQXZBsy0\",\"messages\":\"style-module_messages__wiCN5fAYarftBSY0_RET\",\"message\":\"style-module_message__n5mK1SqnTONlOb4Sc2Ii\",\"category\":\"style-module_category__MLyPdwyrAJdJ7cUhW71a\",\"occurred\":\"style-module_occurred__jDUd1nBNghOfUkqmGbeM\",\"gap\":\"style-module_gap__Jm4Be0BJx4hyylB8mVj7\",\"showMore\":\"style-module_showMore__eOXZMvxChIQIgLvmk9I9\",\"disabled\":\"style-module_disabled__xQHYUugQjCzOh6cWZC7e\",\"elementError\":\"style-module_elementError__H14WlNiRi9tWs2xlRnte\",\"elementWarning\":\"style-module_elementWarning__xSrkK5gO5_P0lp0Jqbmb\",\"elementHighlight\":\"style-module_elementHighlight__kf9XBK6CG4vuBFoHEI5W\",\"elementWait\":\"style-module_elementWait__GNqz89GWCMvYo8QQzvnk\",\"elementVerbose\":\"style-module_elementVerbose__D4xJGiGVeby49R9pcm4f\",\"elementInfo\":\"style-module_elementInfo__XFM6Oz5HMK6aIbuESuMK\",\"elementRetry\":\"style-module_elementRetry__IBxPf7aWPTjS79SMCJhP\"};","// extracted by mini-css-extract-plugin\nmodule.exports = {\"fontoctopus-octopus\":\"taskLogBlock-module_fontoctopus-octopus__vkSATgzFnnnkT0IzS5f2\",\"fontoctopusOctopus\":\"taskLogBlock-module_fontoctopus-octopus__vkSATgzFnnnkT0IzS5f2\",\"monospace\":\"taskLogBlock-module_monospace__M71vVxml8iPd9abXVCmw\",\"hide-sm\":\"taskLogBlock-module_hide-sm__oCAt9MvE7fEEXjDyM_Cq\",\"hideSm\":\"taskLogBlock-module_hide-sm__oCAt9MvE7fEEXjDyM_Cq\",\"visible-sm\":\"taskLogBlock-module_visible-sm__tPn8ZXq9BBoAsyDkRRU0\",\"visibleSm\":\"taskLogBlock-module_visible-sm__tPn8ZXq9BBoAsyDkRRU0\",\"hide-md\":\"taskLogBlock-module_hide-md__qGnvcF5IzpvPK8myNZdE\",\"hideMd\":\"taskLogBlock-module_hide-md__qGnvcF5IzpvPK8myNZdE\",\"visible-md\":\"taskLogBlock-module_visible-md__S4KcIKkcQffRV0QgDkUm\",\"visibleMd\":\"taskLogBlock-module_visible-md__S4KcIKkcQffRV0QgDkUm\",\"secondary\":\"taskLogBlock-module_secondary__SgnmgIIYAmPoRcVr3DXH\",\"userSelect\":\"taskLogBlock-module_userSelect__ZBy7C_D3JBFuHmH2J1nD\",\"noUserSelect\":\"taskLogBlock-module_noUserSelect__qpDBfDbhHtZGceftORBS\",\"topLevelBlock\":\"taskLogBlock-module_topLevelBlock__HJEBkYcwuwmQih8Lwssz\",\"block\":\"taskLogBlock-module_block__OCe3nt1L4KdyL4DNwKPP\",\"lines\":\"taskLogBlock-module_lines__boriATalG22KVOGtAOV2\",\"currentCommandExecuting\":\"taskLogBlock-module_currentCommandExecuting__zyPsvHXfUS7UiejZ4rjz\",\"blockHeader\":\"taskLogBlock-module_blockHeader__aG49YbNjowUIa_2d9eUj\",\"fadeIn\":\"taskLogBlock-module_fadeIn__DYT5KEbmLGCSv1Rhualg\",\"stepEditorLink\":\"taskLogBlock-module_stepEditorLink__oaWfTnYEJfdmu2Kel7BJ\",\"blockExpanderIcon\":\"taskLogBlock-module_blockExpanderIcon__A16xkwSrR8xwWfiUGBer\",\"blockExpanderIconExpanded\":\"taskLogBlock-module_blockExpanderIconExpanded__eklo9S0s85l2FqCGDlaZ\",\"blockStatusIcon\":\"taskLogBlock-module_blockStatusIcon__AEsYEONsayavWVgJQIEh\",\"blockTitle\":\"taskLogBlock-module_blockTitle__hUbwEjuI_Yh0fTjX6vrV\",\"blockTitleName\":\"taskLogBlock-module_blockTitleName__ia4bblxXf6kZ0K321wHv\",\"blockTime\":\"taskLogBlock-module_blockTime__o6mhpSJGSvT43u4esRkk\",\"blockTimeImpact\":\"taskLogBlock-module_blockTimeImpact___vyZkpHPg722HG0V3gSy\",\"body\":\"taskLogBlock-module_body__Lhzzc1CUvboX_ShYp25I\",\"progress\":\"taskLogBlock-module_progress__XKz_w7wWbXJWBkz6oXRR\"};","// extracted by mini-css-extract-plugin\nmodule.exports = {\"tableStyle\":\"style-module_tableStyle__nqk6Rj9Ej4GYFLsny_38\",\"filterResults\":\"style-module_filterResults___CaPaM8fwnYvE6W5suPZ\",\"checkBox\":\"style-module_checkBox__i2wRJ6H2zZTD_vWnVZv_\"};","// extracted by mini-css-extract-plugin\nmodule.exports = {\"thumbprint\":\"style-module_thumbprint__XzcnT0_Cfgg0dmE1CG3C\"};","// extracted by mini-css-extract-plugin\nmodule.exports = {\"when\":\"style-module_when__hLEjkYCt2pQro92HcuTu\"};","// extracted by mini-css-extract-plugin\nmodule.exports = {\"notVisible\":\"style-module_notVisible__zfBZl6hNRwj10E_N7T74\",\"fadeIn\":\"style-module_fadeIn__YrcDk37OLA1zHJdrnL2o\"};","// extracted by mini-css-extract-plugin\nmodule.exports = {\"menuContainer\":\"VirtualListWithKeyboard-module_menuContainer__aP5cMpF_x766foTbxG8A\",\"empty\":\"VirtualListWithKeyboard-module_empty__NkzmKh2uckRE90_ON3cD\"};","// extracted by mini-css-extract-plugin\nmodule.exports = {\"warningIcon\":\"style-module_warningIcon__tqc0tGTuJYXlI5abcOqQ\"};","// extracted by mini-css-extract-plugin\nmodule.exports = {\"warning\":\"style-module_warning__PWEluCbBvX7LMUPQafx1\",\"note\":\"style-module_note__XSJE3SZUoUJXQGmgwM1K\",\"titleContainer\":\"style-module_titleContainer__sVoiQD2HYVf81ZlJax58\",\"title\":\"style-module_title__M16WvrN0ZazqlLZNUgMt\",\"detailLink\":\"style-module_detailLink__i85Zsmq60x8HKfe0vGJ8\"};","// extracted by mini-css-extract-plugin\nmodule.exports = {\"hide-sm\":\"AccountSummary-module_hide-sm__rXZczaNxSubeuLuUXrFg\",\"hideSm\":\"AccountSummary-module_hide-sm__rXZczaNxSubeuLuUXrFg\",\"visible-sm\":\"AccountSummary-module_visible-sm__rXkgktM1FliOsPU9UC_2\",\"visibleSm\":\"AccountSummary-module_visible-sm__rXkgktM1FliOsPU9UC_2\",\"hide-md\":\"AccountSummary-module_hide-md__gFV0LXtybLFx9furs4Aq\",\"hideMd\":\"AccountSummary-module_hide-md__gFV0LXtybLFx9furs4Aq\",\"visible-md\":\"AccountSummary-module_visible-md__uVljqa_tRHVYbMOCvciq\",\"visibleMd\":\"AccountSummary-module_visible-md__uVljqa_tRHVYbMOCvciq\",\"container\":\"AccountSummary-module_container__lkHE_DBC8X8CkQwJtqJG\",\"select\":\"AccountSummary-module_select__JrLMwhb_ib1m4fKZsBmk\",\"summary\":\"AccountSummary-module_summary__p47teC5raFt0PO35bCSK\",\"row\":\"AccountSummary-module_row___JwrIfXqP6HAev2KKy60\",\"titleContainer\":\"AccountSummary-module_titleContainer__QXxKukWbd566Xm_JKhMh\",\"title\":\"AccountSummary-module_title__PL6zTpZdaSkye02B6GJ4\",\"details\":\"AccountSummary-module_details__ZtapeDJobtzBh6uMnDn4\"};","// extracted by mini-css-extract-plugin\nmodule.exports = {\"container\":\"style-module_container__bj9kJbPmM7iW4b1nuphJ\",\"outerContainer\":\"style-module_outerContainer__UGeccAx2jkv2KDOYEuGp\",\"innerContainer\":\"style-module_innerContainer__HgcUK8XVNjIBwxZVWAwd\",\"actions\":\"style-module_actions__TNTlYkHs18mIuPnqqzbh\",\"select\":\"style-module_select__mwFIdZJtF_bbWtyGX_Z8\"};","// extracted by mini-css-extract-plugin\nmodule.exports = {\"menuIcon\":\"style-module_menuIcon__hb76nu4Gyf7FBCHZZXQl\",\"container\":\"style-module_container__RS7Glzfoukf__YijsEPY\",\"buttons\":\"style-module_buttons__wR7IWGohSwc2xLEe3Cvq\"};","// extracted by mini-css-extract-plugin\nmodule.exports = {\"hide-sm\":\"style-module_hide-sm__atJrJEoo2gfKL9ImJwQZ\",\"hideSm\":\"style-module_hide-sm__atJrJEoo2gfKL9ImJwQZ\",\"visible-sm\":\"style-module_visible-sm__dZE5pLSOW677qAC61MJT\",\"visibleSm\":\"style-module_visible-sm__dZE5pLSOW677qAC61MJT\",\"hide-md\":\"style-module_hide-md__GSHGsbz3vS4M5rbBYH7g\",\"hideMd\":\"style-module_hide-md__GSHGsbz3vS4M5rbBYH7g\",\"visible-md\":\"style-module_visible-md__TNRuG1sAG7dbEDzYBfr5\",\"visibleMd\":\"style-module_visible-md__TNRuG1sAG7dbEDzYBfr5\",\"container\":\"style-module_container__phomii9OEqQW_zcuq9P1\",\"select\":\"style-module_select__b8atLQTjS3GddXvsYRL5\",\"summary\":\"style-module_summary__FZt37c5QY2WSfEAWcKaD\",\"row\":\"style-module_row__mfmlyYBlSlJ8rfgx_JO6\",\"titleContainer\":\"style-module_titleContainer__Josm5ADUIetH8wbNzgNo\",\"title\":\"style-module_title__WjTF0oIMGPprIDKCcyUl\",\"details\":\"style-module_details__xkSKXutuovZx2ThOPYMv\",\"icon\":\"style-module_icon__s4hoz3ktanFpO3s9g0JJ\",\"propertyContainer\":\"style-module_propertyContainer__fbXsAdXUrwzHnnk3GwnK\",\"thumbprint\":\"style-module_thumbprint__xu4dGpGnIjBXToJ_ZV9S\"};","// extracted by mini-css-extract-plugin\nmodule.exports = {\"hide-sm\":\"style-module_hide-sm__KcgUNQXK2ZHhywM23iQR\",\"hideSm\":\"style-module_hide-sm__KcgUNQXK2ZHhywM23iQR\",\"visible-sm\":\"style-module_visible-sm__Uklz0zLFZPuBuMQIK6TU\",\"visibleSm\":\"style-module_visible-sm__Uklz0zLFZPuBuMQIK6TU\",\"hide-md\":\"style-module_hide-md__p4zfQS77Zwoc2EdnobKj\",\"hideMd\":\"style-module_hide-md__p4zfQS77Zwoc2EdnobKj\",\"visible-md\":\"style-module_visible-md__J7ZRAcVyXPq4ZMmckijQ\",\"visibleMd\":\"style-module_visible-md__J7ZRAcVyXPq4ZMmckijQ\",\"scrollableContainer\":\"style-module_scrollableContainer__m9HNH3FgTlonF0zc3bTu\",\"iconPickerContainer\":\"style-module_iconPickerContainer__KxeyUDiF1qBHpANWz3aT\",\"iconPickerItem\":\"style-module_iconPickerItem__fOUukZY7uz3TY8trsQfl\",\"selected\":\"style-module_selected__WesZXxvXx6SOmSyG8kzX\",\"colourPaletteContainer\":\"style-module_colourPaletteContainer__qq6v9JzJ3NTuzum7jtN2\",\"colourPaletteItem\":\"style-module_colourPaletteItem__rpMav7EFSXQXyVtKTfmG\"};","// extracted by mini-css-extract-plugin\nmodule.exports = {\"hide-sm\":\"style-module_hide-sm__bPsPyxRtzLOVimlmZU7G\",\"hideSm\":\"style-module_hide-sm__bPsPyxRtzLOVimlmZU7G\",\"visible-sm\":\"style-module_visible-sm__dWt5qTdxOWhEWoxPELIR\",\"visibleSm\":\"style-module_visible-sm__dWt5qTdxOWhEWoxPELIR\",\"hide-md\":\"style-module_hide-md__CeHQIHQyMRY59Inj3_6C\",\"hideMd\":\"style-module_hide-md__CeHQIHQyMRY59Inj3_6C\",\"visible-md\":\"style-module_visible-md__MXlfMr6m6zeSoob8ylP4\",\"visibleMd\":\"style-module_visible-md__MXlfMr6m6zeSoob8ylP4\",\"logoEditor\":\"style-module_logoEditor__UVQ6S90XuXtzccfcVw1E\",\"logoContainer\":\"style-module_logoContainer__b1mPDJcHf0pjQovIHfoM\",\"resetButton\":\"style-module_resetButton__oRrslSFYJpgKQFqNAwQI\",\"logoNote\":\"style-module_logoNote__Qs0PU7oDfixhGFJ8dUjy\",\"logoNoteBold\":\"style-module_logoNoteBold__owfjmHr6pNaDsQ1VfD5j\"};","// extracted by mini-css-extract-plugin\nmodule.exports = {\"hide-sm\":\"style-module_hide-sm__I3ubPMfjpjLSGeDl77Fg\",\"hideSm\":\"style-module_hide-sm__I3ubPMfjpjLSGeDl77Fg\",\"visible-sm\":\"style-module_visible-sm__eiEzeKgJm8Smm3TMSpe_\",\"visibleSm\":\"style-module_visible-sm__eiEzeKgJm8Smm3TMSpe_\",\"hide-md\":\"style-module_hide-md__bGUIrUCvjFeAyro6eLEV\",\"hideMd\":\"style-module_hide-md__bGUIrUCvjFeAyro6eLEV\",\"visible-md\":\"style-module_visible-md__tv5IM1jiEupn2QEhYFnJ\",\"visibleMd\":\"style-module_visible-md__tv5IM1jiEupn2QEhYFnJ\",\"warningFormExpander\":\"style-module_warningFormExpander__d9qrwfb_oUOerYRxMaNp\",\"formBorder\":\"style-module_formBorder__enFvZbjqiFlX1apF4QBb\",\"formExpander\":\"style-module_formExpander__RgqhLWFC1E3QzPqo72Tf\",\"formNonExpander\":\"style-module_formNonExpander__f8uEVwkA_PEQpHU7_SGK\",\"formSection\":\"style-module_formSection__xda3l2rE197EmyP9d6XV\",\"cardTitleContainer\":\"style-module_cardTitleContainer__oPMDELHhhbrZwZLd3sMN\",\"clickable\":\"style-module_clickable__q3ISskEUFIdvVSWNs5Yc\",\"expandableFormSectionTitleWithChip\":\"style-module_expandableFormSectionTitleWithChip__eYrHZef7MDvWc7aStuoC\",\"cardTitleContainerForceMobile\":\"style-module_cardTitleContainerForceMobile__q9h_APZSpUKvSSt5I0MX\",\"cardTitle\":\"style-module_cardTitle__ZpqcCGQUQu1z6BYAvddC\",\"cardTitleForceMobile\":\"style-module_cardTitleForceMobile__WXOV5F3WmjsCTiCNiZiR\",\"cardSubTitle\":\"style-module_cardSubTitle__VPpCQsdqZwT1DFe1c6Rk\",\"cardPlaceholderSubTitle\":\"style-module_cardPlaceholderSubTitle__LtsOHqmK1ODtSH2DaC1L\",\"cardDefaultSubTitle\":\"style-module_cardDefaultSubTitle__nU0JqWquZC4Gko0cHB4u\",\"cardSubTitleForceMobile\":\"style-module_cardSubTitleForceMobile__WHBXQiX2kKJMI_auCYgQ\",\"cardSubTitleWithOverflowMenu\":\"style-module_cardSubTitleWithOverflowMenu__O4wCbDKWIwRerxDHccMB\",\"cardMedia\":\"style-module_cardMedia__EFl8nqXZJun8czXBzHkU\",\"cardMediaForceMobile\":\"style-module_cardMediaForceMobile__XaOfqcr75vQZIXHqdmSx\",\"cardMediaFillRight\":\"style-module_cardMediaFillRight__MyQPZfl0SdmL1HMuqA58\",\"cardMediaFillAll\":\"style-module_cardMediaFillAll__IGrp79fi_KavVGrOS4Pr\",\"container\":\"style-module_container__QFsJVu6E0V03xtiTi8l0\",\"unstructuredFormContent\":\"style-module_unstructuredFormContent__mxf5Hbg6qUhOU84rXl9m\",\"expandLink\":\"style-module_expandLink__kSXWlghDwMBzty6ZC4RQ\",\"linkContainer\":\"style-module_linkContainer__ghYMJ6zRrjaH6R9bEdAq\",\"sectionHeading\":\"style-module_sectionHeading__wGYbhB2NXoCc3RPsbZjY\",\"dialogSectionHeading\":\"style-module_dialogSectionHeading__U2136pvzmlOujcKliIHN\",\"sectionHeadingTitle\":\"style-module_sectionHeadingTitle__di6kOnHKXr8SbzD9XhOU\",\"sectionHeadingDescription\":\"style-module_sectionHeadingDescription__YyPCzd9FZD9PCefjVIHh\",\"overflowMenuActions\":\"style-module_overflowMenuActions__ieIWnWE9ADcTS0bB4VMM\",\"cardExpander\":\"style-module_cardExpander__NUSA0roCWgUkOH5AVqmF\",\"expandIcon\":\"style-module_expandIcon__ivZ9zH6p8dJfbYqa_Cvs\",\"expandClosed\":\"style-module_expandClosed__RrHPjmW_DB8CQGFGyqsQ\",\"expandOpen\":\"style-module_expandOpen__sIjHr3qgSKczcQLpaCsX\",\"stretchContent\":\"style-module_stretchContent__TGtKjxZxnx7MY9Pb3U00\"};","// extracted by mini-css-extract-plugin\nmodule.exports = {\"container\":\"style-module_container__QSt0KC3Yvu2LJReHbtRA\",\"separator\":\"style-module_separator__uk2uGBjc2amyD0uiEJsb\",\"error\":\"style-module_error__tL2NPIZo_DtpbgFjaUOq\",\"digit\":\"style-module_digit__FyzRZF61Y_2AMNCtaQ5T\"};","// extracted by mini-css-extract-plugin\nmodule.exports = {\"container\":\"style-module_container__Wt6xxffQinvq73WDvczA\",\"wide\":\"style-module_wide__LQXndazhAg3V8WdxLGzc\",\"buttons\":\"style-module_buttons__bX8OJK2YGdS6tE4FiHcO\"};","// extracted by mini-css-extract-plugin\nmodule.exports = {\"hide-sm\":\"style-module_hide-sm__c4BdyWkorqFpyNstPXxt\",\"hideSm\":\"style-module_hide-sm__c4BdyWkorqFpyNstPXxt\",\"visible-sm\":\"style-module_visible-sm__hj79u6CPvtU2sdEuTT7W\",\"visibleSm\":\"style-module_visible-sm__hj79u6CPvtU2sdEuTT7W\",\"hide-md\":\"style-module_hide-md__YSOYXSEczMt9nhtLko4r\",\"hideMd\":\"style-module_hide-md__YSOYXSEczMt9nhtLko4r\",\"visible-md\":\"style-module_visible-md__BpEnJnDAwgojZso9vLwg\",\"visibleMd\":\"style-module_visible-md__BpEnJnDAwgojZso9vLwg\",\"container\":\"style-module_container__NzDk44jeRtdHMArOom2b\",\"select\":\"style-module_select__MTd1ZB5HCo_pVmpuutym\",\"summary\":\"style-module_summary__ddYYHe_qz1a8WxPqACXn\",\"row\":\"style-module_row__rn1FT2H8yA2Slyy5gv2K\",\"titleContainer\":\"style-module_titleContainer__GOC0xS3mFKZ27FzoDFt6\",\"title\":\"style-module_title__oi67CR6Z4W_6KaWQhlnl\",\"details\":\"style-module_details__AMMoEDfodeRLVQDkSEd1\",\"icon\":\"style-module_icon___ZX_5p5qglDH20psvajN\",\"propertyContainer\":\"style-module_propertyContainer__aw073SloaYRRRSF62We7\",\"thumbprint\":\"style-module_thumbprint__WweZ9AKon2_QE0b2l2LI\"};","// extracted by mini-css-extract-plugin\nmodule.exports = {\"selectedIcon\":\"style-module_selectedIcon__oejubksAT44hk016ootA\"};","// extracted by mini-css-extract-plugin\nmodule.exports = {};","// extracted by mini-css-extract-plugin\nmodule.exports = {\"hide-sm\":\"GlobalSearch-module_hide-sm__XcuYtfgwr6cjChrDZZ7C\",\"hideSm\":\"GlobalSearch-module_hide-sm__XcuYtfgwr6cjChrDZZ7C\",\"visible-sm\":\"GlobalSearch-module_visible-sm__wBtXb5QvbgYhT7svURlX\",\"visibleSm\":\"GlobalSearch-module_visible-sm__wBtXb5QvbgYhT7svURlX\",\"hide-md\":\"GlobalSearch-module_hide-md__drZ1nrPrJ8Rhr9387TFC\",\"hideMd\":\"GlobalSearch-module_hide-md__drZ1nrPrJ8Rhr9387TFC\",\"visible-md\":\"GlobalSearch-module_visible-md__jUob27C3zeRQIy7SDl5h\",\"visibleMd\":\"GlobalSearch-module_visible-md__jUob27C3zeRQIy7SDl5h\",\"emptyState\":\"GlobalSearch-module_emptyState__E67ccdE7lWWKSBp_SHi1\",\"emptyStateImage\":\"GlobalSearch-module_emptyStateImage__sq4TbEY9UukU5FGy9PTu\",\"list\":\"GlobalSearch-module_list__luRRYzf8P6vMeS2fc4qu\",\"result\":\"GlobalSearch-module_result__axEN5bw1c7BvFVltPSJn\",\"resultSubtext\":\"GlobalSearch-module_resultSubtext__aF8WG9VFHI775BoLBfyP\",\"showResultsSection\":\"GlobalSearch-module_showResultsSection__wCkPOkO9Z3cnHba1IFOw\",\"showResultsSectionBody\":\"GlobalSearch-module_showResultsSectionBody__Kv6jbJOm1cgnwV954Hqj\",\"listContainer\":\"GlobalSearch-module_listContainer__fGSJzxE0s3WDVlslNq0E\",\"menuItem\":\"GlobalSearch-module_menuItem__wSnaBYMRvPNoAkzH6u91\"};","// extracted by mini-css-extract-plugin\nmodule.exports = {\"highlight\":\"HighlightMatches-module_highlight__oE4BVvwk4zHqHp8074ht\"};","// extracted by mini-css-extract-plugin\nmodule.exports = {\"avatarContainer\":\"style-module_avatarContainer__MaRkJMG0_TEpkmXJV4ai\"};","// extracted by mini-css-extract-plugin\nmodule.exports = {\"hide-sm\":\"style-module_hide-sm__wjSCJcaQdbrHA_OVPbi0\",\"hideSm\":\"style-module_hide-sm__wjSCJcaQdbrHA_OVPbi0\",\"visible-sm\":\"style-module_visible-sm__XQGI3kdEI14yeBmspM6l\",\"visibleSm\":\"style-module_visible-sm__XQGI3kdEI14yeBmspM6l\",\"hide-md\":\"style-module_hide-md__ZieNCyaRQanaIMz7qZde\",\"hideMd\":\"style-module_hide-md__ZieNCyaRQanaIMz7qZde\",\"visible-md\":\"style-module_visible-md__lnxLpaWOSExQShziTfDg\",\"visibleMd\":\"style-module_visible-md__lnxLpaWOSExQShziTfDg\",\"dataTable\":\"style-module_dataTable__VD5zN_G_M1MENU3rLb3T\",\"dataTableHeader\":\"style-module_dataTableHeader__NKt6dyKM8fIgeH8LYfZw\",\"dataTableRow\":\"style-module_dataTableRow__U0ywj4dEiYp9RI6XrsAX\",\"dataTableHeaderColumn\":\"style-module_dataTableHeaderColumn__CCcu_0W0MF_ew_fboHuU\",\"dataTableRowHeaderColumn\":\"style-module_dataTableRowHeaderColumn__piVGiwohx3BKhPemXAKQ\",\"dataTableRowHeaderColumnInSidebar\":\"style-module_dataTableRowHeaderColumnInSidebar__xu0XzWdjN18X5e4A4YT4\",\"dataTableFooterColumn\":\"style-module_dataTableFooterColumn__jwG74jfuOJQao_lanTUe\",\"noBorder\":\"style-module_noBorder__gt5Tksb8_PTJpfmx7kJz\",\"disabled\":\"style-module_disabled__BzGrObCRK_lz0Ji51KsD\",\"dataTableRowColumn\":\"style-module_dataTableRowColumn__oH_BX9PlQOTDdyJWb0OT\",\"dataTableBody\":\"style-module_dataTableBody__vKTIVOjCNLHxMMKPNgtJ\",\"dataTableToolsRow\":\"style-module_dataTableToolsRow__USDefZ7B6qz2RATe5ULb\"};","// extracted by mini-css-extract-plugin\nmodule.exports = {\"menuItem\":\"style-module_menuItem__mkCgnPkJoAiXCjVInPxG\",\"content\":\"style-module_content__pGP9_2Wf8GMqZG6rsEF0\"};","// extracted by mini-css-extract-plugin\nmodule.exports = {\"listTitle\":\"style-module_listTitle__yTzE_X2CkOyp3t4iLM67\"};","// extracted by mini-css-extract-plugin\nmodule.exports = {\"cellWrapper\":\"style-module_cellWrapper__y0r9kVqhPj_hellYckeA\",\"cellContentWrapper\":\"style-module_cellContentWrapper__Dd6Mg4BHWDMU3PZo_kRv\",\"alignedCellsWrapper\":\"style-module_alignedCellsWrapper__znnEXF5o1m2Fszc38Zox\"};","// extracted by mini-css-extract-plugin\nmodule.exports = {\"dragHandlePositioningContainer\":\"style-module_dragHandlePositioningContainer__fCXtMxxLo0EJ9UbYBZev\",\"dragHandleDraggableArea\":\"style-module_dragHandleDraggableArea__BeZ7XEt8dYy0l9MGTANe\",\"dragHandleIndicator\":\"style-module_dragHandleIndicator__myeKs8WfPojy_WILPXea\",\"dragHandleIndicatorLight\":\"style-module_dragHandleIndicatorLight__KcDrZXff3FEpkzDGhSvz\",\"dragHandleIndicatorDark\":\"style-module_dragHandleIndicatorDark__K9qAhUSNnCgYyVsMmvby\"};","// extracted by mini-css-extract-plugin\nmodule.exports = {\"headerContainer\":\"style-module_headerContainer__SeXrQ5yOExcvrCKU_lRB\",\"headerRowContainer\":\"style-module_headerRowContainer__VRIk5cXIS1z4kGHvIpgV\",\"virtualList\":\"style-module_virtualList__LCICHWTSGlalOAwx5hk0\",\"table\":\"style-module_table__y2JLtzF2TZJLKgpteU8c\",\"tableBody\":\"style-module_tableBody__RHzlTCoXxaD9b7X5E5aI\"};","// extracted by mini-css-extract-plugin\nmodule.exports = {\"imageContainer\":\"styles-module_imageContainer__TIGRPIoQCYtC01EiJ63x\",\"svgIcon\":\"styles-module_svgIcon__wOr8FvF4HQr4nDsVp3aX\",\"imgCyan\":\"styles-module_imgCyan__IZhURqEFknoRFq8G9Va0\",\"imgCyan50\":\"styles-module_imgCyan50__s0KMdnr6OvSO6bQY6aNC\",\"imgWhite\":\"styles-module_imgWhite__euJUTT4sQdgr1PWuFK4I\",\"imgNavy\":\"styles-module_imgNavy__mJrgeuYx6STXjJ2V0vli\",\"imgDark\":\"styles-module_imgDark__Oi7Bz5EUOMa9e5J6UKaU\",\"imgLight\":\"styles-module_imgLight__wz3uXA7DrUj9E3n0V1Hw\",\"imgBlueGrey\":\"styles-module_imgBlueGrey__mQq1VI4f1V4ZlIFiw7yp\",\"imgGrey\":\"styles-module_imgGrey__FpvEi5mB9tYOD4qh0RCQ\",\"imgGreen\":\"styles-module_imgGreen__bFwMueDUl386Kz6W5kQf\",\"imgDanger\":\"styles-module_imgDanger__li0gpO5UJdjgTVmRap21\",\"imgLightGrey\":\"styles-module_imgLightGrey__kgM_sLuLzRIjavtdPaCm\",\"dashDark\":\"styles-module_dashDark__PSgnFnZJfSpkD3JriBww\",\"dash\":\"styles-module_dash__z5ldy0CFr6QcxtJDLMAt\"};","// extracted by mini-css-extract-plugin\nmodule.exports = {\"container\":\"style-module_container__Wx2gdmiFMmr6V0PfMToq\"};","// extracted by mini-css-extract-plugin\nmodule.exports = {\"container\":\"style-module_container__GRYVHh_YDqyJay0YdKrz\",\"colorSwatch\":\"style-module_colorSwatch__KRo9_JPb3daGbPY3y0Ih\",\"colorPickItem\":\"style-module_colorPickItem__PhhtRP7qcURq2rF9EgLN\",\"colorAllOptions\":\"style-module_colorAllOptions__aUgjwFWwyscFIBpnZxmw\"};","// extracted by mini-css-extract-plugin\nmodule.exports = {\"note\":\"style-module_note__uQJU2coAz4HhWY8KOGaA\",\"checkboxNote\":\"style-module_checkboxNote__TG0E5bTWDgS75ZrcWr_m\",\"header\":\"style-module_header__HpnhyyK9CGtoQfSm_MY8\"};","// extracted by mini-css-extract-plugin\nmodule.exports = {\"label\":\"style-module_label__hGBeeiJqM5oo_LDYgD8o\",\"inputContainer\":\"style-module_inputContainer__W3zQd4yv6PFoYCGsgCv5\",\"numberPicker\":\"style-module_numberPicker__w2qslamPAzw0hsFx1zPg\",\"digit\":\"style-module_digit__nGkI02BeBt4rU00jTsym\",\"unitOfMeasure\":\"style-module_unitOfMeasure__RLZl8JZdy_DoWITgVYQS\"};","// extracted by mini-css-extract-plugin\nmodule.exports = {\"select\":\"style-module_select__UOkiMvlMLSWLINYVAULj\",\"filter\":\"style-module_filter__Ace0eggFGTONWfrV8R6Z\",\"container\":\"style-module_container__QEeRDejIxggMyqGvS3fM\",\"empty\":\"style-module_empty__Xed5Haqs4qoDIqPQCUZJ\",\"visuallyHidden\":\"style-module_visuallyHidden__ZuOL5r8Xt_bPBADAmQFn\",\"secondaryText\":\"style-module_secondaryText___Bye_Pg8UY_Exv47FeK_\",\"menuListScrollContainer\":\"style-module_menuListScrollContainer__q866t4Zetusz7es5llVm\",\"menuItemContent\":\"style-module_menuItemContent__wSmNpMfTijVOPw4xQfen\",\"danger\":\"style-module_danger__VEgXO6dEvKSQ25L8CEdM\",\"menuItemContentIcon\":\"style-module_menuItemContentIcon__k2ZD_bJbfdDu2hvo_VYU\"};","// extracted by mini-css-extract-plugin\nmodule.exports = {\"nameSummary\":\"style-module_nameSummary__zbpLoD3TWIHQ24tNuhXw\",\"slugSummary\":\"style-module_slugSummary__k7BhoJjRcYrcSpu9IkLa\"};","// extracted by mini-css-extract-plugin\nmodule.exports = {\"fontoctopus-octopus\":\"style-module_fontoctopus-octopus__kfQzmZ3w0fJk5zRbTGsS\",\"fontoctopusOctopus\":\"style-module_fontoctopus-octopus__kfQzmZ3w0fJk5zRbTGsS\",\"monospace\":\"style-module_monospace__pn1Cze5SQOZmyMnO5LoK\",\"text\":\"style-module_text__J4bB3KSdVbGpp5QvzHiQ\",\"container\":\"style-module_container__jLRXPdfynSoZ1ZG9pJen\",\"monospacedText\":\"style-module_monospacedText__B61LAFJsIIQo3htnph9o\",\"noUnderline\":\"style-module_noUnderline__JOL746m3k2qFskNu0kS5\",\"border\":\"style-module_border__BCn_GhTM7mPSYkYbhDcs\"};","import type { CloudConnectionType, GitRefType, TaskListTab, TaskState } from \"@octopusdeploy/octopus-server-client\";\nimport { OctopusError } from \"@octopusdeploy/octopus-server-client\";\nimport { toErrorCode, useAnalyticLinkLocation, useAnalyticSession } from \"@octopusdeploy/portal-analytics\";\nimport { getPageFields, useDispatchLinkClicked, usePage } from \"@octopusdeploy/portal-routes\";\nimport React, { useCallback, useEffect } from \"react\";\nimport type { AuditStreamType } from \"~/areas/configuration/components/AuditLayout/AuditStream/AuditStreamType\";\nimport type { Errors } from \"~/components/DataBaseComponent/Errors\";\nimport { isErrors } from \"~/components/DataBaseComponent/Errors\";\nimport { formatUrl } from \"~/components/Navigation/ExternalLink/ExternalLink\";\nimport type { ViewTaskStateTabFields, SampleProjectFields, TenantsWizardFields, ActionedFields, ActionFields, CloudConnectionsFields, DataTableExpansionFields, DeprecationNotificationFields, FilterFields, InsightsFields, LogoFields, OnboardingFields, OtherActionFields as SimpleActionFields, PagingFields, StepEditorFields, StepFields, ViewFields, ViewHelpFields, ConnectTenantsFields, SampleProjectTourFields, GuidedSetupFields, FirstDeploymentFeedbackFields, TrialExpirationVisibilityFields, ViewKubernetesAppliedManifestFields, ViewKubernetesObjectDrawerFields, LiveStatusPageFields, } from \"./AnalyticSession\";\nexport interface ViewEvent {\n resource: string;\n}\nexport interface ViewProps extends ViewEvent {\n // Override the name by specifying manually\n name?: string;\n}\nexport interface ProjectViewProps extends ViewProps {\n projectId: string;\n}\nexport type ResourceEvent = ViewEvent;\nexport enum Action {\n Add = \"Add\",\n Apply = \"Apply\",\n Autofill = \"Autofill\",\n Cancel = \"Cancel\",\n Clear = \"Clear\",\n Commit = \"Commit\",\n Configure = \"Configure\",\n Deploy = \"Deploy\",\n Dismiss = \"Dismiss\",\n Download = \"Download\",\n Edit = \"Edit\",\n Save = \"Save\",\n Select = \"Select\",\n ServerResponse = \"Server Response\",\n Test = \"Test\",\n Update = \"Update\",\n View = \"View\",\n Toggle = \"Toggle\",\n Pause = \"Pause\",\n Delete = \"Delete\",\n Resume = \"Resume\",\n RequestTrial = \"Request Trial\",\n Submit = \"Submit\",\n OptIn = \"Opt In\",\n OptOut = \"Opt Out\"\n}\nexport interface ActionData {\n target?: string;\n stepTemplate?: string[];\n source?: string;\n}\nexport interface ActionEvent extends ResourceEvent {\n action: Action;\n actionMeta?: string;\n data?: ActionData;\n isCaCenabled?: \"True\" | \"False\" | undefined; // The type is based on usage, but it should be a boolean\n isDefaultBranch?: boolean;\n commitMessage?: boolean | undefined;\n status?: ActionStatus;\n gitRefType?: GitRefType;\n isProtectedBranch?: boolean | undefined;\n commitBranch?: \"Same branch\" | \"New branch\" | undefined;\n plan?: Plan;\n siemProvider?: AuditStreamType;\n location?: \"Drawer\" | \"Page\";\n entityType?: \"New\" | \"Existing\";\n correlationId?: string;\n}\nexport enum ActionStatus {\n Success = \"Success\",\n SuccessWithWarning = \"Success with Warning\",\n Failed = \"Failed\"\n}\nexport enum Plan {\n Enterprise = \"Enterprise\",\n NonEnterprise = \"Non-Enterprise\"\n}\ninterface TrackedActionEvent extends ActionEvent {\n error: string[] | undefined;\n statusCode: number | undefined;\n status: ActionStatus;\n duration: number;\n}\nexport interface LinkEvent {\n linkLabel: string;\n documentUrl: string | undefined;\n linkLocation?: string;\n}\nexport interface StepEvent extends ResourceEvent {\n action: Action;\n stepCategory: string;\n stepTemplate: string | undefined;\n}\nexport interface StepEditorEvent extends ResourceEvent {\n action: Action;\n stepTemplate: string | undefined;\n value?: string;\n}\nexport enum OnboardingType {\n step = \"Onboarding Step\"\n}\nexport interface OnboardingEvent {\n linkLabel: string;\n onboardingType: OnboardingType;\n}\nexport interface SampleProjectEvent {\n sampleProjectReference: string;\n source?: \"Help Sidebar\" | \"Welcome Dialog\";\n}\nexport interface SampleProjectTourEvent extends ResourceEvent {\n action: Action;\n tourStepIndex: number;\n tourStepTitle: string;\n tourStepTarget: string;\n tourState: string;\n}\nexport interface InsightsEvent {\n action: Action;\n inputField?: \"Environment\" | \"Channel\" | \"Tenant\" | \"Cadence\" | \"Split\";\n cadence?: string;\n split?: string;\n}\nexport enum LogoType {\n icon = \"Icon\",\n customImage = \"Custom Image\"\n}\nexport interface LogoEvent extends ActionEvent, ResourceEvent {\n logoType: LogoType;\n}\nexport interface CloudConnectionsEvent extends ActionEvent {\n cloudProvider: CloudConnectionType;\n}\nexport interface PagingEvent extends ActionEvent {\n itemsPerPage: number;\n}\nexport interface FilterEvent extends ActionEvent {\n numFilterRules: number;\n numUniqueOperators: number;\n}\nexport interface DataTableExpansionEvent extends ActionEvent {\n category: string;\n}\nexport interface ConnectTenantsEvent extends ActionEvent {\n numTenants: number;\n}\nexport interface ViewHelpEvent {\n context: string;\n}\nexport enum NotificationState {\n Raised = \"Raised\",\n Dismissed = \"Dismissed\"\n}\nexport interface DeprecationNotificationEvent {\n state: NotificationState;\n deprecation: string;\n}\nexport interface TenantWizardEvent extends ResourceEvent {\n action: Action;\n currentStepName: string;\n}\nexport interface ViewTaskStateTabEvent extends ActionEvent {\n selectedTab: TaskListTab | undefined;\n}\nexport interface GuidedSetupEvent {\n projectId?: string;\n correlationId?: string;\n errors?: string;\n projectType?: \"Kubernetes\" | \"Azure\" | \"AWS\" | \"Linux\" | \"Windows\" | \"Other\";\n projectSubType?: string;\n screen?: \"Project\" | \"Environments\" | \"Kubernetes Cluster\";\n environments?: string;\n versionControl?: boolean;\n sourcePage?: \"Project Setup\" | \"Infrastructure\" | string;\n targetType?: \"Kubernetes Agent\" | \"Kubernetes API\";\n agentName?: string;\n storageClass?: string;\n}\nexport interface FirstDeploymentFeedbackEvent {\n experience: \"fantastic\" | \"notGreat\" | undefined;\n surveyClicked: boolean | undefined;\n}\nexport interface ViewLiveStatusPageEvent {\n projectId: string;\n releaseId: string;\n environmentId: string;\n deploymentId: string;\n deploymentStatus: TaskState;\n liveApplicationHealth: string;\n}\nexport interface TrialExpirationVisibilityEvent {\n urgency: \"info\" | \"attention\" | \"danger\";\n}\nexport interface ViewKubernetesAppliedManifestEvent {\n deploymentId: string;\n releaseId: string;\n environmentId: string;\n projectId: string;\n deploymentStatus: string;\n view: string;\n executionType: \"runbook\" | \"deployment\";\n}\nexport interface ViewKubernetesObjectDrawerEvent {\n releaseId: string;\n environmentId: string;\n deploymentId: string;\n projectId: string;\n parentPage: string;\n objectId: string;\n objectType: string;\n liveApplicationHealth: string;\n deploymentStatus: string;\n objectHealth: string;\n tab: string;\n executionType: \"runbook\" | \"deployment\";\n}\nexport type AnalyticsDispatchEvent = (name: string, event: TEvent) => void;\nexport type AnalyticErrorCallback = (error: string | OctopusError | Errors) => void;\nexport type AnalyticTrackedActionDispatcher = (name: string, event: ActionEvent, inner: (cb: AnalyticErrorCallback) => Promise) => Promise;\nexport type AnalyticActionDispatcher = AnalyticsDispatchEvent;\nexport type AnalyticLinkDispatcher = AnalyticsDispatchEvent;\nexport type AnalyticStepDispatcher = AnalyticsDispatchEvent;\nexport type AnalyticStepEditorDispatcher = AnalyticsDispatchEvent;\nexport type AnalyticViewHelpDispatcher = AnalyticsDispatchEvent;\nexport type AnalyticOnboardingDispatcher = AnalyticsDispatchEvent;\nexport type AnalyticSampleProjectDispatched = AnalyticsDispatchEvent;\nexport type AnalyticViewDispatcher = AnalyticsDispatchEvent;\nexport type AnalyticSimpleDispatcher = (name: string) => void;\nexport type AnalyticLogoDispatcher = AnalyticsDispatchEvent;\nexport type AnalyticPagingDispatcher = (name: string, event: PagingEvent, inner: () => Promise) => Promise;\nexport type AnalyticFilterDispatcher = (name: string, event: FilterEvent, inner: () => Promise) => Promise;\nexport type AnalyticDataTableExpansionDispatcher = AnalyticsDispatchEvent;\nexport type AnalyticConnectTenantsDispatcher = AnalyticsDispatchEvent;\nexport type AnalyticInsightsDispatcher = AnalyticsDispatchEvent;\nexport type AnalyticCloudConnectionsDispatcher = AnalyticsDispatchEvent;\nexport type AnalyticDeprecationNotificationDispatcher = AnalyticsDispatchEvent;\nexport type AnalyticTenantWizardDispatcher = AnalyticsDispatchEvent;\nexport type AnalyticViewTaskStateTabDispatcher = AnalyticsDispatchEvent;\nexport type AnalyticGuidedSetupDispatched = AnalyticsDispatchEvent;\nexport type AnalyticFirstDeploymentFeedbackDispatcher = AnalyticsDispatchEvent;\nexport type LiveStatusPageDispatcher = AnalyticsDispatchEvent;\nexport type AnalyticTrialExpirationVisibilityDispatcher = AnalyticsDispatchEvent;\nexport type ViewKubernetesAppliedManifestDispatcher = AnalyticsDispatchEvent;\nexport type ViewKubernetesObjectDrawerDispatcher = AnalyticsDispatchEvent;\nfunction getDataFields(data?: ActionData) {\n return {\n ...getPropIfDefined(\"Target Type\", data?.target),\n ...getPropIfDefined(\"Step Template\", data?.stepTemplate),\n ...getPropIfDefined(\"Source\", data?.source),\n };\n}\nexport function getErrorFields(statusCode: number | undefined, error: string[] | undefined) {\n return {\n ...getPropIfDefined(\"Error Code\", toErrorCode(statusCode)),\n ...getPropIfDefined(\"Error Messages\", error),\n };\n}\nfunction useAnalyticTrackedActionDispatchInternal(projectId?: string | undefined): AnalyticTrackedActionDispatcher {\n const session = useAnalyticSession();\n const page = usePage();\n function sendTrackedActionEvent(name: string, event: TrackedActionEvent) {\n if (!page) {\n return;\n }\n const fields: ActionFields = {\n \"Action Type\": event.action,\n \"Action Meta\": event.actionMeta,\n \"Duration (ms)\": event.duration.toFixed(2),\n ...getPageFields(page),\n \"Resource Type\": event.resource,\n Status: event.status,\n ...getDataFields(event.data),\n \"Is CaC Enabled\": event.isCaCenabled,\n \"Project Id\": projectId === undefined ? undefined : session.anonymize(projectId),\n ...getPropIfDefined(\"Error Code\", toErrorCode(event.statusCode)),\n ...getPropIfDefined(\"Error Messages\", event.error),\n };\n if (typeof event.commitMessage === \"boolean\") {\n fields[\"Commit Message\"] = event.commitMessage ? \"True\" : \"False\";\n }\n if (typeof event.isDefaultBranch === \"boolean\") {\n fields[\"Is Default Branch\"] = event.isDefaultBranch ? \"True\" : \"False\";\n }\n if (typeof event.isProtectedBranch === \"boolean\") {\n fields[\"Is Protected Branch\"] = event.isProtectedBranch ? \"True\" : \"False\";\n }\n if (typeof event.commitBranch === \"string\") {\n fields[\"Commit Branch\"] = event.commitBranch;\n }\n if (typeof event.siemProvider === \"string\") {\n fields[\"SIEM Provider\"] = event.siemProvider;\n }\n if (typeof event.location === \"string\") {\n fields[\"Location\"] = event.location;\n }\n if (typeof event.entityType === \"string\") {\n fields[\"Entity Type\"] = event.entityType;\n }\n if (typeof event.correlationId === \"string\") {\n fields[\"Correlation Id\"] = event.correlationId;\n }\n session.track(name, fields);\n }\n async function dispatch(name: string, event: ActionEvent, inner: (cb: AnalyticErrorCallback) => Promise): Promise {\n return await measureAsyncAction(inner, (measurements) => {\n sendTrackedActionEvent(name, { ...event, error: measurements.error, status: measurements.status, statusCode: measurements.statusCode, duration: measurements.duration });\n });\n }\n return dispatch;\n}\nexport interface AsyncMeasurements {\n error: string[] | undefined;\n statusCode: number | undefined;\n status: ActionStatus;\n duration: number;\n}\nexport async function measureAsyncAction(action: (cb: AnalyticErrorCallback) => Promise, onMeasurement: (measurements: AsyncMeasurements) => void): Promise {\n const start = performance.now();\n let errorList: Array = [];\n let statusCode: number | undefined = undefined;\n let status: ActionStatus = ActionStatus.Success;\n const addErrors = (errors?: Array, error?: string) => {\n if (errors && errors.length > 0) {\n errorList = [...errorList, ...errors];\n }\n else if (error) {\n errorList = [...errorList, error];\n }\n };\n const onError = (error: string | OctopusError | Errors) => {\n status = ActionStatus.Failed;\n if (error instanceof OctopusError) {\n statusCode = statusCode ?? error.StatusCode;\n addErrors(error.Errors, error.ErrorMessage);\n }\n else if (isErrors(error)) {\n statusCode = statusCode ?? error.statusCode;\n addErrors(error.errors, error.message);\n }\n else {\n addErrors(undefined, error);\n }\n };\n try {\n return await action(onError);\n }\n catch (e) {\n if (e instanceof OctopusError) {\n onError(e);\n }\n else if (e instanceof Error) {\n onError(e.message);\n }\n throw e;\n }\n finally {\n const error = errorList && errorList.length > 0 ? errorList : undefined;\n onMeasurement({\n error,\n status,\n statusCode,\n duration: performance.now() - start,\n });\n }\n}\nexport function useAnalyticTrackedActionDispatch(): AnalyticTrackedActionDispatcher {\n return useAnalyticTrackedActionDispatchInternal();\n}\nexport function useProjectScopedAnalyticTrackedActionDispatch(projectId: string | undefined): AnalyticTrackedActionDispatcher {\n return useAnalyticTrackedActionDispatchInternal(projectId);\n}\nfunction useAnalyticActionDispatchInternal(projectId?: string | undefined): AnalyticActionDispatcher {\n const session = useAnalyticSession();\n const page = usePage();\n return (name: string, event: ActionEvent) => {\n if (!page) {\n return;\n }\n const fields: ActionedFields = {\n \"Action Type\": event.action,\n ...getPageFields(page),\n \"Resource Type\": event.resource,\n ...getDataFields(event.data),\n Status: event.status,\n \"Project Id\": projectId === undefined ? undefined : session.anonymize(projectId),\n };\n if (typeof event.isCaCenabled === \"string\") {\n fields[\"Is CaC Enabled\"] = event.isCaCenabled;\n }\n if (typeof event.commitMessage === \"boolean\") {\n fields[\"Commit Message\"] = event.commitMessage ? \"True\" : \"False\";\n }\n if (typeof event.isDefaultBranch === \"boolean\") {\n fields[\"Is Default Branch\"] = event.isDefaultBranch ? \"True\" : \"False\";\n }\n if (typeof event.gitRefType === \"string\") {\n fields[\"Git Ref Type\"] = event.gitRefType;\n }\n if (typeof event.plan === \"string\") {\n fields[\"Plan\"] = event.plan;\n }\n session.track(name, fields);\n };\n}\nexport function useAnalyticActionDispatch(): AnalyticActionDispatcher {\n return useAnalyticActionDispatchInternal();\n}\nexport function useProjectScopedAnalyticActionDispatch(projectId: string | undefined): AnalyticActionDispatcher {\n return useAnalyticActionDispatchInternal(projectId);\n}\nexport function useAnalyticExternalLinkDispatch(): (linkLabel: string, href: string, name: string, linkLocation?: string) => void {\n const dispatchLink = useDispatchLinkClicked();\n return useCallback((linkLabel: string, href: string, name: string, linkLocation?: string) => {\n const ev: LinkEvent = {\n linkLabel,\n documentUrl: formatUrl(href),\n linkLocation,\n };\n dispatchLink(name, ev);\n }, [dispatchLink]);\n}\nexport function nameForDocument() {\n return `Visit Documentation`;\n}\nexport function nameForView(resource: string) {\n return `View ${resource}`;\n}\nexport function useAnalyticStepDispatch(projectId?: string | undefined): AnalyticStepDispatcher {\n const session = useAnalyticSession();\n const page = usePage();\n return (name: string, event: StepEvent) => {\n if (!page) {\n return;\n }\n const fields: StepFields = {\n \"Action Type\": event.action,\n ...getPageFields(page),\n \"Resource Type\": event.resource,\n \"Step Category\": event.stepCategory,\n ...getPropIfDefined(\"Step Template\", event.stepTemplate),\n \"Project Id\": projectId === undefined ? undefined : session.anonymize(projectId),\n };\n session.track(name, fields);\n };\n}\nexport function useAnalyticsStepEditorDispatch(stepId: string, projectId?: string | undefined): AnalyticStepEditorDispatcher {\n const session = useAnalyticSession();\n const page = usePage();\n return (name: string, event: StepEditorEvent) => {\n if (!page) {\n return;\n }\n const fields: StepEditorFields = {\n \"Action Type\": event.action,\n ...getPageFields(page),\n \"Resource Type\": event.resource,\n ...getPropIfDefined(\"Step Template\", event.stepTemplate),\n \"Project Id\": projectId === undefined ? undefined : session.anonymize(projectId),\n \"Step Id\": session.anonymize(stepId),\n ...getPropIfDefined(\"Value\", event.value),\n };\n session.track(name, fields);\n };\n}\nexport function useAnalyticInsightsDispatch(): AnalyticInsightsDispatcher {\n const session = useAnalyticSession();\n const page = usePage();\n return (name: string, event: InsightsEvent) => {\n if (!page) {\n return;\n }\n const fields: InsightsFields = {\n \"Action Type\": event.action,\n ...getPageFields(page),\n ...getPropIfDefined(\"Insights Input Field\", event.inputField),\n ...getPropIfDefined(\"Cadence\", event.cadence),\n };\n session.track(name, fields);\n };\n}\nexport function useAnalyticsViewHelpDispatch(): AnalyticViewHelpDispatcher {\n const session = useAnalyticSession();\n const page = usePage();\n return (name: string, event: ViewHelpEvent) => {\n if (!page) {\n return;\n }\n const fields: ViewHelpFields = {\n Context: event.context,\n ...getPageFields(page),\n };\n session.track(name, fields);\n };\n}\nexport function useAnalyticOnboardingDispatch(): AnalyticOnboardingDispatcher {\n const session = useAnalyticSession();\n const linkLocation = useAnalyticLinkLocation();\n const page = usePage();\n return (name: string, event: OnboardingEvent) => {\n if (!page) {\n return;\n }\n const fields: OnboardingFields = {\n \"Link Label\": event.linkLabel,\n \"Link Location\": linkLocation ?? \"\",\n \"Onboarding Type\": event.onboardingType,\n ...getPageFields(page),\n };\n session.track(name, fields);\n };\n}\nexport function useAnalyticSampleProjectDispatch(): AnalyticSampleProjectDispatched {\n const session = useAnalyticSession();\n return (name: string, event: SampleProjectEvent) => {\n const fields: SampleProjectFields = {\n \"Sample Project Reference\": event.sampleProjectReference,\n Source: event.source,\n };\n session.track(name, fields);\n };\n}\nexport function useAnalyticSampleProjectTourDispatch(projectId?: string) {\n const session = useAnalyticSession();\n return (name: string, event: SampleProjectTourEvent) => {\n const fields: SampleProjectTourFields = {\n \"Action Type\": event.action,\n \"Resource Type\": event.resource,\n \"Sample Tour State\": event.tourState,\n \"Sample Tour Step Index\": event.tourStepIndex,\n \"Sample Tour Step Title\": event.tourStepTitle,\n \"Sample Tour Step Target\": event.tourStepTarget,\n \"Project Id\": projectId === undefined ? undefined : session.anonymize(projectId),\n };\n session.track(name, fields);\n };\n}\nexport function useAnalyticLogoDispatch(projectId?: string): AnalyticLogoDispatcher {\n const session = useAnalyticSession();\n const page = usePage();\n return (name: string, event: LogoEvent) => {\n if (!page) {\n return;\n }\n const fields: LogoFields = {\n \"Action Type\": Action.Save,\n \"Resource Type\": event.resource,\n \"Logo Type\": event.logoType,\n \"Project Id\": projectId === undefined ? undefined : session.anonymize(projectId),\n ...getPageFields(page),\n };\n session.track(name, fields);\n };\n}\nexport function useAnalyticPagingDispatch(): AnalyticPagingDispatcher {\n const session = useAnalyticSession();\n const page = usePage();\n async function dispatch(name: string, event: PagingEvent, inner: () => Promise): Promise {\n const start = performance.now();\n try {\n return await inner();\n }\n finally {\n const fields: PagingFields = {\n \"Action Type\": event.action,\n \"Resource Type\": event.resource,\n \"Items Per Page\": event.itemsPerPage,\n \"Duration (ms)\": (performance.now() - start).toFixed(2),\n ...getPageFields(page),\n };\n session.track(name, fields);\n }\n }\n return dispatch;\n}\nexport function useAnalyticFilterDispatch(): AnalyticFilterDispatcher {\n const session = useAnalyticSession();\n const page = usePage();\n async function dispatch(name: string, event: FilterEvent, inner: () => Promise): Promise {\n const start = performance.now();\n try {\n return await inner();\n }\n finally {\n const fields: FilterFields = {\n \"Action Type\": event.action,\n \"Resource Type\": event.resource,\n \"Number of Filter Rules\": event.numFilterRules,\n \"Number of Unique Operators\": event.numUniqueOperators,\n \"Duration (ms)\": (performance.now() - start).toFixed(2),\n ...getPageFields(page),\n };\n session.track(name, fields);\n }\n }\n return dispatch;\n}\nexport function useAnalyticDataTableExpansionDispatch(): AnalyticDataTableExpansionDispatcher {\n const session = useAnalyticSession();\n const page = usePage();\n return (name: string, event: DataTableExpansionEvent) => {\n if (!page) {\n return;\n }\n const fields: DataTableExpansionFields = {\n \"Action Type\": event.action,\n \"Resource Type\": event.resource,\n Category: event.category,\n ...getPageFields(page),\n };\n session.track(name, fields);\n };\n}\nexport function useAnalyticConnectTenantsDispatch(): AnalyticConnectTenantsDispatcher {\n const session = useAnalyticSession();\n const page = usePage();\n return (name: string, event: ConnectTenantsEvent) => {\n if (!page) {\n return;\n }\n const fields: ConnectTenantsFields = {\n \"Action Type\": event.action,\n \"Resource Type\": event.resource,\n \"Number of Tenants\": event.numTenants,\n ...getPageFields(page),\n };\n session.track(name, fields);\n };\n}\nexport function useAnalyticCloudConnectionsDispatch(): AnalyticCloudConnectionsDispatcher {\n const session = useAnalyticSession();\n const page = usePage();\n return (name: string, event: CloudConnectionsEvent) => {\n if (!page) {\n return;\n }\n const fields: CloudConnectionsFields = {\n \"Action Type\": event.action,\n \"Resource Type\": event.resource,\n \"Cloud Provider\": event.cloudProvider,\n ...getPageFields(page),\n };\n session.track(name, fields);\n };\n}\nexport function useAnalyticViewDispatch(projectId?: string | undefined): AnalyticViewDispatcher {\n const session = useAnalyticSession();\n return (name: string, event: ViewEvent) => {\n const fields: ViewFields = {\n \"Resource Type\": event.resource,\n \"Project Id\": projectId === undefined ? undefined : session.anonymize(projectId),\n };\n session.track(name, fields);\n };\n}\nexport function useAnalyticSimpleActionDispatch(): AnalyticSimpleDispatcher {\n const session = useAnalyticSession();\n const page = usePage();\n return (name: string) => {\n if (!page) {\n return;\n }\n const fields: SimpleActionFields = {\n ...getPageFields(page),\n };\n session.track(name, fields);\n };\n}\nexport function useAnalyticDeprecationNotificationDispatch(): AnalyticDeprecationNotificationDispatcher {\n const session = useAnalyticSession();\n return (name: string, event: DeprecationNotificationEvent) => {\n const fields: DeprecationNotificationFields = {\n State: event.state,\n Deprecation: event.deprecation,\n };\n session.track(name, fields);\n };\n}\nexport function useAnalyticConnectTenantWizardDialogDispatch(): AnalyticTenantWizardDispatcher {\n const session = useAnalyticSession();\n const page = usePage();\n return (name: string, event: TenantWizardEvent) => {\n if (!page) {\n return;\n }\n const fields: TenantsWizardFields = {\n \"Action Type\": event.action,\n ...getPageFields(page),\n \"Resource Type\": event.resource,\n Step: event.currentStepName,\n };\n session.track(name, fields);\n };\n}\nexport function useAnalyticViewTaskStateTabDispatch(): AnalyticViewTaskStateTabDispatcher {\n const session = useAnalyticSession();\n const page = usePage();\n return (name: string, event: ViewTaskStateTabEvent) => {\n if (!page) {\n return;\n }\n const fields: ViewTaskStateTabFields = {\n \"Action Type\": event.action,\n ...getPageFields(page),\n \"Task State\": event.selectedTab,\n \"Resource Type\": event.resource,\n };\n session.track(name, fields);\n };\n}\nexport function useAnalyticGuidedSetupDispatch(): AnalyticGuidedSetupDispatched {\n const session = useAnalyticSession();\n return (name: string, event: GuidedSetupEvent) => {\n const fields: GuidedSetupFields = {\n \"Project Id\": event.projectId === undefined ? undefined : session.anonymize(event.projectId),\n \"Correlation Id\": event.correlationId,\n };\n if (event.screen) {\n fields.Screen = event.screen;\n }\n if (event.projectType) {\n fields[\"Project Type\"] = event.projectType;\n }\n if (event.projectSubType) {\n fields[\"Project Subtype\"] = event.projectSubType;\n }\n if (event.versionControl !== undefined) {\n fields[\"Use Version Control\"] = event.versionControl ? \"True\" : \"False\";\n }\n if (event.environments) {\n fields.Environments = event.environments;\n }\n if (event.targetType) {\n fields[\"Target Type\"] = event.targetType;\n }\n if (event.sourcePage) {\n fields[\"Source Page\"] = event.sourcePage;\n }\n if (event.agentName) {\n fields[\"Agent Name\"] = event.agentName;\n }\n if (event.storageClass) {\n fields[\"Storage Class\"] = event.storageClass;\n }\n session.track(name, fields);\n };\n}\nexport function useAnalyticFirstDeploymentFeedbackDispatch(): AnalyticFirstDeploymentFeedbackDispatcher {\n const session = useAnalyticSession();\n return (name: string, event: FirstDeploymentFeedbackEvent) => {\n const fields: FirstDeploymentFeedbackFields = {\n Experience: event.experience,\n \"Survey Clicked\": event.surveyClicked,\n };\n session.track(name, fields);\n };\n}\nexport function useAnalyticLiveStatusPageDispatch(): LiveStatusPageDispatcher {\n const session = useAnalyticSession();\n return (name: string, event: ViewLiveStatusPageEvent) => {\n const fields: LiveStatusPageFields = {\n \"Project Id\": session.anonymize(event.projectId),\n \"Release Id\": session.anonymize(event.releaseId),\n \"Environment Id\": session.anonymize(event.environmentId),\n \"Deployment Id\": session.anonymize(event.deploymentId),\n \"Deployment Status\": event.deploymentStatus,\n \"Live Application Health\": event.liveApplicationHealth,\n };\n session.track(name, fields);\n };\n}\nexport function useAnalyticTrialExpirationVisibilityDispatch(): AnalyticTrialExpirationVisibilityDispatcher {\n const session = useAnalyticSession();\n return (name: string, event: TrialExpirationVisibilityEvent) => {\n const fields: TrialExpirationVisibilityFields = {\n Urgency: event.urgency,\n };\n session.track(name, fields);\n };\n}\nexport function useAnalyticViewKubernetesAppliedManifestDispatch(): ViewKubernetesAppliedManifestDispatcher {\n const session = useAnalyticSession();\n return (name: string, event: ViewKubernetesAppliedManifestEvent) => {\n const fields: ViewKubernetesAppliedManifestFields = {\n \"Deployment Id\": session.anonymize(event.deploymentId),\n \"Release Id\": session.anonymize(event.releaseId),\n \"Environment Id\": session.anonymize(event.environmentId),\n \"Project Id\": session.anonymize(event.projectId),\n \"Deployment Status\": event.deploymentStatus,\n \"Execution Type\": event.deploymentId ? \"deployment\" : \"runbook\",\n View: event.view,\n };\n session.track(name, fields);\n };\n}\nexport function useAnalyticViewKubernetesObjectDrawerDispatch(): ViewKubernetesObjectDrawerDispatcher {\n const session = useAnalyticSession();\n return (name: string, event: ViewKubernetesObjectDrawerEvent) => {\n const fields: ViewKubernetesObjectDrawerFields = {\n \"Release Id\": session.anonymize(event.releaseId),\n \"Execution Type\": event.deploymentId ? \"deployment\" : \"runbook\",\n \"Environment Id\": session.anonymize(event.environmentId),\n \"Deployment Id\": session.anonymize(event.deploymentId),\n \"Project Id\": session.anonymize(event.projectId),\n \"Page Name\": event.parentPage,\n \"Object Id\": session.anonymize(event.objectId),\n \"Object Type\": event.objectType,\n \"Live Application Health\": event.liveApplicationHealth,\n \"Deployment Status\": event.deploymentStatus,\n \"Object Health\": event.objectHealth,\n Tab: event.tab,\n };\n session.track(name, fields);\n };\n}\n// element allows for the sending of a once-off view event when the element is rendered on the page\nexport function AnalyticView(props: ViewProps) {\n const dispatch = useAnalyticViewDispatch();\n // eslint-disable-next-line react-hooks/exhaustive-deps\n useEffect(() => dispatch(props.name ?? nameForView(props.resource), { resource: props.resource }), []);\n return <>;\n}\nexport function ProjectAnalyticView(props: ProjectViewProps) {\n const dispatch = useAnalyticViewDispatch(props.projectId);\n // eslint-disable-next-line react-hooks/exhaustive-deps\n useEffect(() => dispatch(props.name ?? nameForView(props.resource), { resource: props.resource }), []);\n return <>;\n}\nfunction getPropIfDefined(name: string, value?: string | string[]): object {\n return value !== undefined ? { [name]: value } : {};\n}\nexport function useCorrelationId(): string | undefined {\n // generate a random base64 string of 16 characters\n const [correlationId] = React.useState(() => btoa(Math.random().toString(36).substring(2, 18)));\n return correlationId;\n}\n","import type { FeaturesConfigurationResource, MultiTenancyStatusResource, SpaceResource } from \"@octopusdeploy/octopus-server-client\";\nimport type { Reducer } from \"redux\";\nimport { combineReducers } from \"redux\";\nenum ActionKeys {\n CONFIGURATION_FEATURES_FETCHED = \"CONFIGURATION_FEATURES_FETCHED\",\n CONFIGURATION_FEATURES_RESET = \"CONFIGURATION_FEATURES_RESET\",\n SPACE_MULTI_TENANCY_STATUS_FETCHED = \"SPACE_MULTI_TENANCY_STATUS_FETCHED\",\n SPACES_USER_ACCESSIBLE_SPACES_FETCHED = \"SPACES_USER_ACCESSIBLE_SPACES_FETCHED\",\n OTHER_ACTION = \"__any_other_action_type__\"\n}\ninterface IConfigurationFeaturesFetchedAction {\n type: ActionKeys.CONFIGURATION_FEATURES_FETCHED;\n features: FeaturesConfigurationResource;\n}\ninterface ISpaceMultiTenancyStatusFetchedAction {\n type: ActionKeys.SPACE_MULTI_TENANCY_STATUS_FETCHED;\n status: MultiTenancyStatusResource;\n}\ninterface IUsersAccessibleSpacesFetchedAction {\n type: ActionKeys.SPACES_USER_ACCESSIBLE_SPACES_FETCHED;\n spaces: SpaceResource[];\n}\ninterface IConfigurationFeaturesResetAction {\n type: ActionKeys.CONFIGURATION_FEATURES_RESET;\n}\ninterface IOtherAction {\n type: ActionKeys.OTHER_ACTION;\n}\ntype ActionTypes = IConfigurationFeaturesFetchedAction | ISpaceMultiTenancyStatusFetchedAction | IUsersAccessibleSpacesFetchedAction | IConfigurationFeaturesResetAction | IOtherAction;\nexport const configurationActions = {\n featuresFetched: (features: FeaturesConfigurationResource): IConfigurationFeaturesFetchedAction => ({\n type: ActionKeys.CONFIGURATION_FEATURES_FETCHED,\n features,\n }),\n featuresReset: (): IConfigurationFeaturesResetAction => ({\n type: ActionKeys.CONFIGURATION_FEATURES_RESET,\n }),\n spaceMultiTenancyStatusFetched: (status: MultiTenancyStatusResource): ISpaceMultiTenancyStatusFetchedAction => ({\n type: ActionKeys.SPACE_MULTI_TENANCY_STATUS_FETCHED,\n status,\n }),\n userAccessibleSpacesFetched: (userAccessibleSpaces: SpaceResource[]): IUsersAccessibleSpacesFetchedAction => ({\n type: ActionKeys.SPACES_USER_ACCESSIBLE_SPACES_FETCHED,\n spaces: userAccessibleSpaces,\n }),\n};\nexport interface ConfigurationAreaState {\n readonly features: ConfigurationFeaturesState;\n readonly currentSpace: CurrentSpaceConfigurationState;\n readonly spaces: SpacesConfigurationState;\n}\nexport interface SpacesConfigurationState {\n readonly usersAccessibleSpaces: SpaceResource[];\n}\nexport interface CurrentSpaceConfigurationState {\n readonly isMultiTenancyEnabled: boolean;\n}\nexport interface ConfigurationFeaturesState {\n readonly isCommunityActionTemplatesEnabled: boolean;\n readonly isAutomaticStepUpdatesEnabled: boolean;\n readonly isBuiltInWorkerEnabled: boolean;\n readonly isHelpSidebarEnabled: boolean;\n readonly helpSidebarSupportLink: string;\n readonly helpSidebarSupportLinkLabel: string;\n readonly isExperimentalUIFeatureEnabled: boolean;\n readonly isNavigationVisualUpliftEnabled: boolean;\n readonly isNewTenantsOverviewEnabled: boolean;\n readonly isBulkDeploymentCreationEnabled: boolean;\n readonly IsProjectsPageOptimizationEnabled: boolean;\n}\nexport interface ConfigurationFeaturesConfig {\n helpSidebarSupportLink: string;\n}\nconst INITIAL_FEATURES_STATE: ConfigurationFeaturesState = {\n isBuiltInWorkerEnabled: false,\n isCommunityActionTemplatesEnabled: false,\n isAutomaticStepUpdatesEnabled: false,\n isHelpSidebarEnabled: false,\n helpSidebarSupportLink: \"\",\n helpSidebarSupportLinkLabel: \"\",\n isExperimentalUIFeatureEnabled: false,\n isNavigationVisualUpliftEnabled: false,\n isNewTenantsOverviewEnabled: false,\n isBulkDeploymentCreationEnabled: false,\n IsProjectsPageOptimizationEnabled: false,\n};\nconst featuresReducer: Reducer = (state: ConfigurationFeaturesState = INITIAL_FEATURES_STATE, action: ActionTypes): ConfigurationFeaturesState => {\n switch (action.type) {\n case ActionKeys.CONFIGURATION_FEATURES_FETCHED:\n if (action.features) {\n return {\n isBuiltInWorkerEnabled: action.features.IsBuiltInWorkerEnabled,\n isCommunityActionTemplatesEnabled: action.features.IsCommunityActionTemplatesEnabled,\n isAutomaticStepUpdatesEnabled: action.features.IsAutomaticStepUpdatesEnabled,\n isHelpSidebarEnabled: action.features.IsHelpSidebarEnabled,\n helpSidebarSupportLink: action.features.HelpSidebarSupportLink ?? \"\",\n helpSidebarSupportLinkLabel: action.features.HelpSidebarSupportLinkLabel ?? \"\",\n isExperimentalUIFeatureEnabled: action.features.IsExperimentalUIFeatureEnabled,\n isNavigationVisualUpliftEnabled: action.features.IsNavigationVisualUpliftEnabled,\n isNewTenantsOverviewEnabled: action.features.IsNewTenantsOverviewEnabled,\n isBulkDeploymentCreationEnabled: action.features.IsBulkDeploymentCreationEnabled,\n IsProjectsPageOptimizationEnabled: action.features.IsProjectsPageOptimizationEnabled,\n };\n }\n break;\n case ActionKeys.CONFIGURATION_FEATURES_RESET: {\n return INITIAL_FEATURES_STATE;\n }\n }\n return state;\n};\nconst INITIAL_SPACES_STATE: CurrentSpaceConfigurationState = {\n isMultiTenancyEnabled: false,\n};\nconst currentSpaceReducer: Reducer = (state: CurrentSpaceConfigurationState = INITIAL_SPACES_STATE, action: ActionTypes): CurrentSpaceConfigurationState => {\n switch (action.type) {\n case ActionKeys.SPACE_MULTI_TENANCY_STATUS_FETCHED:\n if (action.status) {\n return {\n isMultiTenancyEnabled: action.status.Enabled,\n };\n }\n break;\n }\n return state;\n};\nconst INITIAL_SPACE_STATE: SpacesConfigurationState = {\n usersAccessibleSpaces: [],\n};\nconst spacesReducer: Reducer = (state: SpacesConfigurationState = INITIAL_SPACE_STATE, action: ActionTypes): SpacesConfigurationState => {\n switch (action.type) {\n case ActionKeys.SPACES_USER_ACCESSIBLE_SPACES_FETCHED:\n return {\n usersAccessibleSpaces: action.spaces || [],\n };\n }\n return state;\n};\nexport const configurationArea = combineReducers({\n features: featuresReducer,\n currentSpace: currentSpaceReducer,\n spaces: spacesReducer,\n});\n","/* eslint-disable @typescript-eslint/no-non-null-assertion */\nimport type { RouteArgs, DynamicExtensionsFeaturesMetadataResource, DynamicExtensionsScriptsResource } from \"@octopusdeploy/octopus-server-client\";\nimport _ from \"lodash\";\nimport { session, client, repository } from \"~/clientInstance\";\nimport { createGlobalRequestContext } from \"~/globalRequestContext\";\nimport type { OctopusEventName, EventHandler } from \"./octopusDynamicExtensions\";\nimport { OctopusEventSubscriptions } from \"./octopusDynamicExtensions\";\nexport class ScriptAdapter {\n subscriptions: Record;\n scriptsResource: DynamicExtensionsScriptsResource;\n metadataResource: DynamicExtensionsFeaturesMetadataResource;\n apiDocumentRootUrl: string;\n constructor(subscriptions: Record, scripts: DynamicExtensionsScriptsResource, metadata: DynamicExtensionsFeaturesMetadataResource, apiDocumentRootUrl: string) {\n this.subscriptions = subscriptions;\n this.scriptsResource = scripts;\n this.metadataResource = metadata;\n this.apiDocumentRootUrl = apiDocumentRootUrl;\n }\n public subscribeToEvent(eventName: OctopusEventName, handler: EventHandler): () => void {\n if (!this.subscriptions[eventName]) {\n const s = new OctopusEventSubscriptions();\n this.subscriptions[eventName] = s;\n return s.subscribe(handler);\n }\n else {\n return this.subscriptions[eventName].subscribe(handler);\n }\n }\n public getServerVersion(): string {\n return this.scriptsResource.ServerVersion;\n }\n public getServerApiVersion(): string {\n return this.scriptsResource.ServerApiVersion;\n }\n public getInstallationId(): string {\n return this.scriptsResource.InstallationId;\n }\n public getSerialHash(): string {\n return this.scriptsResource.SerialHash;\n }\n public getUserId(): string {\n if (!session.currentUser) {\n return null!;\n }\n return session.currentUser.Id;\n }\n public getApiDocumentRootUrl(): string {\n return this.apiDocumentRootUrl;\n }\n public apiGet(path: string, args?: RouteArgs): Promise {\n return client.get(createGlobalRequestContext(\"None\", { dynamicextensions: \"true\" }), path, args);\n }\n public async getFeatureConfiguration(key: string): Promise {\n const apiValue = await this.getFeatureConfigurationFromApi(key);\n return _.isNil(apiValue) ? this.getFeatureConfigurationFromDefaults(key) : apiValue;\n }\n private async getFeatureConfigurationFromApi(key: string): Promise {\n const values = await repository.DynamicExtensions.getFeaturesValues();\n return values.Values[key];\n }\n private getFeatureConfigurationFromDefaults(key: string): string {\n const feature = this.metadataResource.Features.find((f) => f.Key === key);\n if (feature) {\n return feature.Default;\n }\n return undefined!;\n }\n}\nexport default ScriptAdapter;\n","/* eslint-disable @typescript-eslint/no-non-null-assertion */\nimport { logger } from \"@octopusdeploy/logging\";\nimport type { DynamicExtensionsFeaturesMetadataResource, DynamicExtensionsScriptsResource } from \"@octopusdeploy/octopus-server-client\";\nimport ScriptAdapter from \"./scriptAdapter\";\nexport type IOctopusEvent = {};\nexport enum OctopusEventName {\n HttpRequest = \"HttpRequest\",\n HttpResponse = \"HttpResponse\",\n HttpErrorResponse = \"HttpErrorResponse\"\n}\nexport interface OctopusHttpRequestEvent extends IOctopusEvent {\n correlationId: number;\n url: string;\n method: string;\n}\nexport interface OctopusHttpResponseEvent extends IOctopusEvent {\n correlationId: number;\n url: string;\n method: string;\n statusCode: number;\n}\nexport interface OctopusHttpErrorResponseEvent extends OctopusHttpResponseEvent {\n correlationId: number;\n errorMessage: string;\n errors: string[];\n}\nexport type OctopusEvent = OctopusHttpRequestEvent | OctopusHttpResponseEvent | OctopusHttpErrorResponseEvent;\nexport type EventHandler = (arg: OctopusEvent) => void;\nexport class OctopusEventSubscriptions {\n handlers: EventHandler[] = [];\n public publish(octopusEvent: OctopusEvent): void {\n this.handlers.map((handler) => {\n try {\n handler(octopusEvent);\n }\n catch (e) {\n logger.error(e, \"Error while handling {event}\", { event: octopusEvent });\n }\n });\n }\n public subscribe(handler: EventHandler): () => void {\n this.handlers.push(handler);\n return () => this.unsubscribe(handler);\n }\n unsubscribe(handler: EventHandler): void {\n const handlerIndex = this.handlers.indexOf(handler);\n if (handlerIndex < 0) {\n return;\n }\n this.handlers = this.handlers.splice(handlerIndex, 1);\n }\n}\nclass OctopusDynamicExtensions {\n subscriptions: {\n [key: string]: OctopusEventSubscriptions;\n } = {};\n scripts: DynamicExtensionsScriptsResource = undefined!;\n metadata: DynamicExtensionsFeaturesMetadataResource = undefined!;\n apiDocumentRootUrl: string = undefined!;\n public publishEvent(eventName: OctopusEventName, octopusEvent: TEvent): void {\n if (this.subscriptions[eventName]) {\n this.subscriptions[eventName].publish(octopusEvent);\n }\n }\n public setConfiguration(settings: DynamicExtensionsScriptsResource, metadata: DynamicExtensionsFeaturesMetadataResource): void {\n this.scripts = settings;\n this.metadata = metadata;\n }\n public setApiDocumentRootUrl(url: string): void {\n this.apiDocumentRootUrl = url;\n }\n public createScriptAdapter(): ScriptAdapter {\n return new ScriptAdapter(this.subscriptions, this.scripts, this.metadata, this.apiDocumentRootUrl);\n }\n}\nconst octopusDynamicExtensions = new OctopusDynamicExtensions();\nexport { octopusDynamicExtensions };\nexport default octopusDynamicExtensions;\n","import type { AccountResource, AccountType } from \"@octopusdeploy/octopus-server-client\";\nimport { keyBy } from \"lodash\";\nimport type { Reducer, Dispatch, Action } from \"redux\";\nimport { combineReducers } from \"redux\";\nimport type { ActionType } from \"typesafe-actions\";\nimport { createAction, getType } from \"typesafe-actions\";\nimport { repository } from \"~/clientInstance\";\nexport const accountActions = {\n fetchAll: createAction(\"ACCOUNTS_FETCH_ALL_REQUEST\")(),\n fetch: createAction(\"ACCOUNTS_FETCH_REQUEST\")(),\n fetchError: createAction(\"ACCOUNTS_FETCH_ERROR\", (error: string) => error)(),\n fetchAllSuccess: createAction(\"ACCOUNTS_FETCH_ALL_SUCCESS\", (accounts: AccountResource[]) => accounts)(),\n fetchSuccess: createAction(\"ACCOUNT_FETCH_SUCCESS\", (account: AccountResource) => account)(),\n};\nexport interface AccountState {\n accountId: string;\n name: string;\n description: string;\n accountType: AccountType;\n}\nexport interface AccountByIdState {\n [index: string]: AccountState;\n}\ntype AllAccountIds = string[];\nexport interface AccountsState {\n byId: AccountByIdState;\n allIds: AllAccountIds;\n}\ntype AccountAction = ActionType;\nconst accountIdsReducer: Reducer = (state = [], action: AccountAction): AllAccountIds => {\n switch (action.type) {\n case getType(accountActions.fetchAllSuccess):\n return action.payload.map((x) => x.Id);\n case getType(accountActions.fetchSuccess):\n return [...state, action.payload.Id];\n default:\n return state;\n }\n};\nconst convertResource = (account: AccountResource): AccountState => ({\n accountId: account.Id,\n accountType: account.AccountType,\n name: account.Name,\n description: account.Description,\n});\nconst accountsByIdReducer: Reducer = (state: AccountByIdState = {}, action: AccountAction): AccountByIdState => {\n switch (action.type) {\n case getType(accountActions.fetchAllSuccess):\n return { ...state, ...keyBy(action.payload.map(convertResource), (x) => x.accountId) };\n case getType(accountActions.fetchSuccess):\n return { ...state, ...{ [action.payload.Id]: convertResource(action.payload) } };\n default:\n return state;\n }\n};\nexport function fetchAllAccounts() {\n return (dispatch: Dispatch) => {\n dispatch(accountActions.fetchAll());\n return repository.Accounts.all()\n .then((result: AccountResource[]) => {\n dispatch(accountActions.fetchAllSuccess(result));\n })\n .catch((error) => {\n dispatch(accountActions.fetchError(error));\n });\n };\n}\nexport default combineReducers({ byId: accountsByIdReducer, allIds: accountIdsReducer });\n","import type { MachineModelHealthStatus } from \"@octopusdeploy/octopus-server-client\";\nimport type { Reducer } from \"redux\";\nimport { combineReducers } from \"redux\";\nimport type { ActionType } from \"typesafe-actions\";\nimport { createAction, getType } from \"typesafe-actions\";\nexport const machineActions = {\n machineFetched: createAction(\"MACHINE_FETCHED\", (machine: CurrentMachineState) => machine)(),\n machineSaved: createAction(\"MACHINE_SAVED\", (machine: CurrentMachineState) => machine)(),\n machineCleared: createAction(\"MACHINE_CLEARED\")(),\n};\ntype MachineAction = ActionType;\nexport interface MachinesState {\n current: CurrentMachineState | null;\n}\nexport interface CurrentMachineState {\n id: string;\n name: string;\n machineIconUrl: string;\n machineType: string;\n isDisabled: boolean;\n isStepPackage: boolean;\n healthStatus: MachineModelHealthStatus;\n}\nconst currentMachineReducer: Reducer = (state = null, action: MachineAction) => {\n switch (action.type) {\n case getType(machineActions.machineFetched):\n case getType(machineActions.machineSaved):\n return action.payload;\n case getType(machineActions.machineCleared):\n return null;\n default:\n return state;\n }\n};\nexport default combineReducers({ current: currentMachineReducer });\n","import { orderBy } from \"lodash\";\nimport { useMemo } from \"react\";\nimport packagingRegistry from \"./packagingRegistry\";\nexport const usePackagingRegistrations = () => {\n return useMemo(() => {\n return orderBy(packagingRegistry.getAllRegistrations(), [\"displayOrder\", \"name\"]);\n }, []);\n};\nexport default usePackagingRegistrations;\n","/* eslint-disable @typescript-eslint/no-non-null-assertion */\nimport { ActionButton, ActionButtonType, Collapse } from \"@octopusdeploy/design-system-components\";\nimport cn from \"classnames\";\nimport type { Reducer } from \"react\";\nimport * as React from \"react\";\nimport { useReducer } from \"react\";\nimport type { ActionType } from \"typesafe-actions\";\nimport { getType, createAction } from \"typesafe-actions\";\nimport Section from \"~/components/Section\";\nimport { useOctopusTheme } from \"~/components/Theme\";\nimport TransitionAnimation from \"~/components/TransitionAnimation/TransitionAnimation\";\nimport { ControlledTabsContainer, TabItem } from \"~/primitiveComponents/navigation/Tabs\";\nimport { combineConstantReducers } from \"~/utils/Reducers/combineConstantReducers\";\nimport styles from \"./PackagingInstructionSelector.module.less\";\nimport type { PackagingRegistration, PackagingInstruction } from \"./Registry\";\nimport { usePackagingInstructions, usePackagingRegistrations } from \"./Registry\";\nimport usePackagingRegistration from \"./Registry/usePackageRegistration\";\n//#region state\ntype RegistrationState = string;\ntype InstructionState = string;\ninterface PackagingSelectorState {\n selectedRegistration?: RegistrationState;\n selectedInstruction?: InstructionState;\n}\nconst PackagingSelectorActions = {\n selectRegistration: createAction(\"SELECT/REGISTRATION\", (registration: PackagingRegistration) => registration)(),\n selectInstruction: createAction(\"SELECT/INSTRUCTION\", (instruction: PackagingInstruction) => instruction)(),\n};\ntype PackagingSelectorAction = ActionType;\nconst autoSelectInstruction = (current: string, instructions: PackagingInstruction[]) => {\n const sortedInstructions = instructions.sort((a, b) => a.displayOrder - b.displayOrder);\n const firstInstruction = sortedInstructions[0] && sortedInstructions[0].name;\n if (!current) {\n return firstInstruction;\n }\n const found = sortedInstructions.filter((x) => current === x.name);\n return found.length > 0 ? found[0].name : firstInstruction;\n};\nconst registrationReducer: Reducer = (state = null!, action) => {\n switch (action.type) {\n case getType(PackagingSelectorActions.selectRegistration):\n return action.payload ? action.payload.id : null!;\n }\n return state;\n};\nconst instructionReducer: Reducer = (state = null!, action) => {\n switch (action.type) {\n case getType(PackagingSelectorActions.selectRegistration):\n return autoSelectInstruction(state, action.payload && action.payload.instructions);\n case getType(PackagingSelectorActions.selectInstruction):\n return action.payload ? action.payload.name : null!;\n }\n return state;\n};\nconst packagingSelectorReducer = combineConstantReducers({\n selectedRegistration: registrationReducer,\n selectedInstruction: instructionReducer,\n});\n//#endregion\nexport const PackagingGroupTitle: React.SFC<{\n className?: string;\n}> = ({ className, children }) =>
{children}
;\nPackagingGroupTitle.displayName = \"PackagingGroupTitle\"\nexport const PackagingGroupHelp: React.SFC<{\n className?: string;\n}> = ({ className, children }) =>
{children}
;\nPackagingGroupHelp.displayName = \"PackagingGroupHelp\"\ntype ActiveItemButtonProps = {\n active: boolean;\n label: string;\n onClick?: () => void;\n icon?: React.ComponentType;\n};\nconst ActiveItemButton: React.SFC = ({ onClick, label, active }) => {\n const theme = useOctopusTheme();\n const labelProps = active ? { color: theme.whiteConstant } : undefined;\n return ;\n};\nActiveItemButton.displayName = \"ActiveItemButton\"\nconst PackagingActions: React.SFC<{\n className?: string;\n}> = ({ children, className }) =>
{children}
;\nPackagingActions.displayName = \"PackagingActions\"\ninterface PackagingInstructionViewProps {\n registrationId: string;\n instruction: string;\n onSelect: (instruction: PackagingInstruction) => void;\n}\nconst PackagingInstructionView: React.FC = ({ registrationId, onSelect, instruction }) => {\n const instructions = usePackagingInstructions(registrationId).sort((a, b) => a.displayOrder - b.displayOrder);\n const registration = usePackagingRegistration(registrationId);\n const handleSelect = (value: string) => {\n const found = instructions.filter((x) => x.name === value);\n if (found.length > 0) {\n onSelect(found[0]);\n }\n };\n return (\n {instruction && (
\n
\n How would you like to package this {registration.name} application?\n
\n
\n \n {instructions.map((x) => (\n {x.render()}\n ))}\n \n
\n
)}\n
);\n};\nPackagingInstructionView.displayName = \"PackagingInstructionView\"\ntype PackagingInstructionSelectorProps = {};\nexport const PackagingInstructionSelector: React.SFC = (props) => {\n const registrations = usePackagingRegistrations();\n const [state, dispatch] = useReducer(packagingSelectorReducer, { selectedInstruction: null!, selectedRegistration: null! });\n return (<>\n
\n What type of software application do you want to package?\n
\n
\n \n {registrations.map((x) => ( dispatch(PackagingSelectorActions.selectRegistration(x))} key={x.id} active={state.selectedRegistration === x.id}/>))}\n \n
\n dispatch(PackagingSelectorActions.selectInstruction(instruction))} instruction={state.selectedInstruction!} registrationId={state.selectedRegistration!}/>\n );\n};\nPackagingInstructionSelector.displayName = \"PackagingInstructionSelector\"\n","/* eslint-disable @typescript-eslint/no-explicit-any */\n/* eslint-disable @typescript-eslint/consistent-type-assertions */\nimport type { Reducer } from \"react\";\nexport type TypeConstant = string;\nexport type Action = {\n type: TType;\n};\nexport type ConstantAction = Action;\nexport interface AnyConstantAction extends ConstantAction {\n // Allows any extra properties to be defined in an action.\n [extraProps: string]: any;\n}\nexport type ConstantReducer = AnyConstantAction> = Reducer;\nexport type ConstantReducersMapObject = ConstantAction> = {\n [K in keyof S]: ConstantReducer;\n};\n//React allows us to dispatch pretty much anything, but if we are combining reducers,\n//then we really need a way to discriminate actions, hence we require flux/redux type actions.\nexport function combineConstantReducers>(reducers: ConstantReducersMapObject) {\n const reducerKeys = Object.keys(reducers) as Array;\n function combinedReducer(state: TState, action: TAction): TState {\n const nextState: Partial = {};\n let hasChanged = false;\n reducerKeys.forEach((key) => {\n const reducer = reducers[key];\n const previousStateForKey = state[key];\n const nextStateForKey = reducer(previousStateForKey, action);\n if (typeof nextStateForKey === \"undefined\") {\n throw new Error(`Returned undefined for reducer key ${String(key)}. Please return null if you don't want to set the value.`);\n }\n nextState[key] = nextStateForKey;\n if (nextStateForKey !== previousStateForKey) {\n hasChanged = true;\n }\n });\n return (hasChanged ? nextState : state) as TState;\n }\n return combinedReducer;\n}\nexport default combineConstantReducers;\n","import { useMemo } from \"react\";\nimport packagingRegistry from \"./packagingRegistry\";\nexport const usePackagingInstructions = (id: string) => {\n return useMemo(() => {\n const registration = packagingRegistry.getRegistration(id);\n return registration ? registration.instructions : [];\n }, [id]);\n};\nexport default usePackagingInstructions;\n","import { useMemo } from \"react\";\nimport packagingRegistry from \"./packagingRegistry\";\nexport const usePackagingRegistration = (id: string) => {\n return useMemo(() => {\n const registration = packagingRegistry.getRegistration(id);\n return registration;\n }, [id]);\n};\nexport default usePackagingRegistration;\n","import { ActionButton } from \"@octopusdeploy/design-system-components\";\nimport * as React from \"react\";\nimport { PackagingInstructionSelector } from \"~/areas/library/components/BuiltInRepository/PackagingOnboarding/PackagingInstructionSelector\";\nimport CustomDialog from \"~/components/Dialog/CustomDialog\";\nimport { CustomInfoDialogLayout, MediumDialogFrame } from \"~/components/DialogLayout/Custom\";\ninterface Props {\n label: string;\n asSecondaryButton?: boolean;\n}\ninterface State {\n showDialog: boolean;\n}\nexport class HowToCreateYourPackageDialogLink extends React.Component {\n constructor(props: Props) {\n super(props);\n this.state = {\n showDialog: false,\n };\n }\n render() {\n return (<>\n (\n \n )}/>\n {this.props.asSecondaryButton ? () : (\n {this.props.label}\n )}\n );\n }\n private showDialog = (e: React.MouseEvent) => {\n e.preventDefault();\n this.setState({ showDialog: true });\n };\n private closeDialog = () => {\n this.setState({ showDialog: false });\n };\n static displayName = \"HowToCreateYourPackageDialogLink\";\n}\n","import { ActionButton } from \"@octopusdeploy/design-system-components\";\nimport type { BuiltInFeedResource } from \"@octopusdeploy/octopus-server-client\";\nimport { getServerEndpoint } from \"@octopusdeploy/octopus-server-client\";\nimport * as React from \"react\";\nimport { client, repository } from \"~/clientInstance\";\nimport CustomDialog from \"~/components/Dialog/CustomDialog\";\nimport { CustomInfoDialogLayout, SmallDialogFrame } from \"~/components/DialogLayout/Custom\";\nimport ExternalLink from \"~/components/Navigation/ExternalLink\";\nimport Section from \"~/components/Section\";\ninterface Props {\n label: string;\n asSecondaryButton?: boolean;\n}\ninterface State {\n showDialog: boolean;\n builtInResource?: BuiltInFeedResource;\n}\nexport class HowToPushYourPackageDialogLink extends React.Component {\n constructor(props: Props) {\n super(props);\n this.state = {\n showDialog: false,\n };\n }\n async componentDidMount() {\n this.setState({\n builtInResource: await repository.Feeds.getBuiltIn(),\n });\n }\n render() {\n const spaceId = repository.spaceId ?? \"[Space ID]\";\n const nuGetPushLink = this.state.builtInResource?.Links.NuGetPush ?? \"/Spaces-1/nuget/packages\";\n const packageUploadLink = client.getLink(\"PackageUpload\");\n return (<>\n ( this.setState({ showDialog: false })} frame={SmallDialogFrame}>\n
\n Use the Upload package button to add a package to the library. Alternatively use a command line to push packages using the Octopus CLI, a NuGet client, Curl or Powershell.\n
\n
\n Octopus CLI allows you to push zip archives in addition to nuget packages. It also uses delta compression for faster uploads.\n
\n                                    octo.exe push --server={getServerEndpoint()} --apiKey <Your API Key> --space=\"{spaceId}\" --package \"YourApp.1.1.0.zip\"\n                                
\n
\n
\n
\n                                    NuGet.exe push YourApp.nupkg -ApiKey <Your API Key> -Source {client.resolveUrlWithSpaceId(nuGetPushLink)}\n                                
\n
\n
\n
\n                                    $wc = new-object System.Net.WebClient 
\n $wc.UploadFile(\"\n \n {client.resolveUrlWithSpaceId(packageUploadLink)}?apiKey=<Your API Key>\n \n \", \"YourApp.1.0.0.zip\")\n
\n
\n
\n
\n                                    curl -X POST {client.resolveUrlWithSpaceId(packageUploadLink)} -H \"X-Octopus-ApiKey: <Your API Key>\" -F \"data=@Demo.1.0.0.zip\"\n                                
\n
\n
\n Learn more about pushing packages to the built-in repository.\n
\n Learn how to create an API Key.\n
\n
)}/>\n {this.props.asSecondaryButton ? () : (\n {this.props.label}\n )}\n );\n }\n private showDialog = (e: React.MouseEvent) => {\n e.preventDefault();\n this.setState({ showDialog: true });\n };\n private closeDialog = () => {\n this.setState({ showDialog: false });\n };\n static displayName = \"HowToPushYourPackageDialogLink\";\n}\n","import { values } from \"lodash\";\nimport type * as React from \"react\";\nexport interface DisplayOrder {\n displayOrder: number;\n}\nexport interface PackagingInstruction extends DisplayOrder {\n name: string;\n render: () => React.ReactElement;\n}\nexport interface PackagingRegistration extends DisplayOrder {\n name: string;\n id: string;\n instructions: PackagingInstruction[];\n}\nclass PackagingRegistry {\n private registrations: Record = {};\n public getRegistration(id: string) {\n return this.registrations[id];\n }\n public registerPackaging(registration: PackagingRegistration) {\n this.registrations[registration.id] = registration;\n }\n public getAllRegistrations(): PackagingRegistration[] {\n return values(this.registrations);\n }\n}\nconst registry = new PackagingRegistry();\nexport default registry;\n","/* eslint-disable @typescript-eslint/no-non-null-assertion */\n/* eslint-disable @typescript-eslint/no-explicit-any */\n/* eslint-disable @typescript-eslint/consistent-type-assertions */\nimport type { DeploymentStepResource, DeploymentActionResource, ScriptingLanguage, DeploymentProcessResource } from \"@octopusdeploy/octopus-server-client\";\nimport { PackageRequirement, RunCondition, StartTrigger, RunConditionForAction } from \"@octopusdeploy/octopus-server-client\";\nimport { v4 } from \"uuid\";\ntype Resolver = () => T | ResolverMap;\ntype ResolverMap = {\n [P in keyof T]: Resolver | T[P] | ResolverMap;\n};\ntype ResolverOrMap = Resolver | ResolverMap;\nexport const maybeResolve = (resolver: ResolverOrMap): T | ResolverMap => {\n if (typeof resolver === \"function\") {\n return resolver();\n }\n return resolver;\n};\nfunction isArray(value: unknown): value is ResolverOrMap[] {\n return Array.isArray(value);\n}\nexport const resolveMap = (options: ResolverMap): T => {\n const keys = Object.keys(options) as Array;\n return keys.reduce((prev, current) => {\n const member = options[current];\n let resolved = maybeResolve(member);\n if (resolved && isArray(resolved)) {\n resolved = resolved.map(resolveMap) as any;\n }\n else if (resolved && typeof resolved === \"object\") {\n resolved = resolveMap(resolved) as any;\n }\n const res = { ...prev, [current]: resolved };\n return res;\n }, {}) as any;\n};\nexport const incrementingId = (prefix: string) => {\n let id = 1;\n return () => `${prefix}${id++}`;\n};\nexport const generateGuid = v4;\nexport const generateNullId = (): string | null => null;\nexport const generateDeploymentProcessId = (projectId: string) => () => `deployment-process-${projectId}`;\nexport const createResolver = () => (options: ResolverMap) => resolveMap(options);\nexport const generateDeploymentProcess = createResolver();\nexport const generateStep = createResolver();\nexport const generateAction = createResolver();\nexport const withIdGeneration = (generator: () => string) => {\n return (options: ResolverMap) => ({ ...options, Id: generator() });\n};\nexport const getInlineScriptProperties = (type: ScriptingLanguage, body: string) => {\n return {\n \"Octopus.Action.Script.ScriptSource\": \"Inline\",\n \"Octopus.Action.Script.ScriptBody\": body,\n \"Octopus.Action.Script.Syntax\": type,\n };\n};\nexport const generateBasicProcess = (id: string, generateProjectId: () => string, generateSteps: () => DeploymentStepResource[]) => {\n const projectId = generateProjectId();\n return generateDeploymentProcess({\n Id: id,\n SpaceId: \"\",\n Links: {\n Project: \"\",\n Self: \"\",\n Template: \"\",\n },\n ProjectId: projectId,\n Steps: generateSteps(),\n Version: 1,\n });\n};\ntype BasicStepOptions = Pick;\nconst getBasicStepOptions = (): BasicStepOptions => {\n return {\n Condition: RunCondition.Success,\n StartTrigger: StartTrigger.StartAfterPrevious,\n PackageRequirement: PackageRequirement.LetOctopusDecide,\n Properties: {},\n };\n};\ntype BasicActionOptions = Pick;\nexport const getBasicActionOptions = (): BasicActionOptions => {\n return {\n CanBeUsedForProjectVersioning: true,\n IsDisabled: false,\n Notes: null,\n IsRequired: true,\n Properties: {\n \"Octopus.Action.RunOnServer\": \"true\", // Be careful about changing this. Script Step actions run on server by default.\n },\n ActionType: \"Octopus.Script\",\n ExcludedEnvironments: [],\n Channels: [],\n Environments: [],\n Packages: [],\n Links: {},\n WorkerPoolId: null!, // Do not set. Workers are not the default case for onboarding. This also gets complicated for existing instances, we'd need to pass a valid value through (or a name for config-as-code).\n WorkerPoolVariable: null!,\n TenantTags: [],\n Condition: RunConditionForAction.Success,\n };\n};\ntype GenerateStepOptions = Parameters[0];\nexport const generateBasicStep = (name: string, configure: (options: GenerateStepOptions) => GenerateStepOptions = (t) => t) => {\n return generateStep(configure({\n ...getBasicStepOptions(),\n Id: generateGuid(),\n Actions: [],\n Name: name,\n Links: {},\n }));\n};\ntype GenerateActionOptions = Parameters[0];\nexport const generateBasicAction = (name: string, configure: (options: GenerateActionOptions) => GenerateActionOptions = (t) => t) => {\n return generateAction(configure({\n ...getBasicActionOptions(),\n Id: generateGuid(),\n Name: name,\n Container: {\n FeedId: null!,\n Image: null!,\n },\n }));\n};\nexport const generateBasicParentStep = (id: string, name: string, children: string[], configureChild?: (options: GenerateActionOptions) => GenerateActionOptions) => {\n return generateBasicStep(name, (options) => ({ ...options, Id: id, Actions: children.map((x) => generateBasicAction(x, configureChild)) }));\n};\nexport const generateBasicScriptStep = (name: string, type: ScriptingLanguage, body: string) => {\n return generateBasicStep(name, (options) => ({\n ...options,\n Actions: [generateBasicScriptAction(name, type, body)],\n }));\n};\nexport const generateBasicScriptAction = (name: string, type: ScriptingLanguage, body: string) => {\n return generateBasicAction(name, (action) => ({\n ...action,\n ActionType: \"Octopus.Script\",\n Properties: { ...action.Properties, ...getInlineScriptProperties(type, body) },\n }));\n};\n","import { setValueInStorage } from \"~/hooks/localStorageHelpers\";\nexport const GetSampleProjectTourCurrentStepKey = (projectSlug: string) => `sampleProjectTour.${projectSlug}.currentStep`;\nexport const InitializeSampleProjectTour = (projectSlug: string) => {\n setValueInStorage(GetSampleProjectTourCurrentStepKey(projectSlug), \"0\");\n};\n","import React from \"react\";\nimport { useOctopusFeatureToggle } from \"~/hooks/useOctopusFeatureToggle\";\nexport function useIsGitTriggersEnabled() {\n return useOctopusFeatureToggle(\"git-triggers\", false);\n}\nexport function GitTriggersFeatureToggleVisibility({ children }: React.PropsWithChildren) {\n const isGitTriggersEnabled = useIsGitTriggersEnabled();\n return isGitTriggersEnabled ? <>{children} : null;\n}\n","import type { TenantResource, TenantMissingVariableResource } from \"@octopusdeploy/octopus-server-client\";\nimport type { Reducer } from \"redux\";\nimport { combineReducers } from \"redux\";\nenum ActionKeys {\n TENANT_FETCHED = \"TENANT_FETCHED\",\n TENANT_SAVED = \"TENANT_SAVED\",\n TENANT_VARIABLES_FETCHED = \"TENANT_VARIABLES_FETCHED\",\n TENANT_ENABLED_FETCHED = \"TENANT_ENABLED_FETCHED\",\n OTHER_ACTION = \"__any_other_action_type__\"\n}\ninterface ITenantAction {\n type: ActionKeys;\n}\ninterface ITenantFetchedAction {\n type: ActionKeys.TENANT_FETCHED;\n tenant: TenantResource;\n}\ninterface ITenantSavedAction {\n type: ActionKeys.TENANT_SAVED;\n tenant: TenantResource;\n}\ninterface ITenantVariablesFetchedAction {\n type: ActionKeys.TENANT_VARIABLES_FETCHED;\n hasMissingVariables: boolean;\n}\ninterface IOtherAction {\n type: ActionKeys.OTHER_ACTION;\n}\ntype ActionTypes = ITenantFetchedAction | ITenantSavedAction | ITenantVariablesFetchedAction | IOtherAction;\nexport interface TenantsAreaState {\n readonly currentTenant: TenantState | null;\n}\nexport interface TenantState {\n readonly name: string;\n readonly description: string | null;\n readonly logoUrl: string;\n readonly id: string;\n readonly hasMissingVariables: boolean;\n}\nconst updateTenant = (tenant: TenantResource, state: TenantState | null): TenantState => {\n return {\n ...(state || {}),\n name: tenant.Name,\n description: tenant.Description,\n logoUrl: tenant.Links.Logo,\n id: tenant.Id,\n hasMissingVariables: false,\n };\n};\nconst currentTenantReducer: Reducer = (state = null, action: ActionTypes) => {\n switch (action.type) {\n case ActionKeys.TENANT_SAVED:\n return updateTenant(action.tenant, state);\n case ActionKeys.TENANT_FETCHED:\n return updateTenant(action.tenant, state);\n case ActionKeys.TENANT_VARIABLES_FETCHED:\n if (!state) {\n return state;\n }\n return {\n ...state,\n hasMissingVariables: action.hasMissingVariables,\n };\n default:\n return state;\n }\n};\nexport const tenantsActions = {\n tenantFetched: (tenant: TenantResource): ITenantFetchedAction => {\n return { type: ActionKeys.TENANT_FETCHED, tenant };\n },\n tenantSaved: (tenant: TenantResource): ITenantSavedAction => {\n return { type: ActionKeys.TENANT_SAVED, tenant };\n },\n tenantMissingVariablesFetched: (tenantMissingVariables?: TenantMissingVariableResource): ITenantVariablesFetchedAction => {\n return {\n type: ActionKeys.TENANT_VARIABLES_FETCHED,\n hasMissingVariables: !!tenantMissingVariables,\n };\n },\n};\nexport const tenantsArea = combineReducers({\n currentTenant: currentTenantReducer,\n});\n","import octopusDynamicExtensions from \"./octopusDynamicExtensions\";\nexport * from \"./octopusDynamicExtensions\";\nexport default octopusDynamicExtensions;\n","import type { FeatureToggle } from \"@octopusdeploy/octopus-server-client\";\nimport type { AnyProviderEvent, EvaluationContext, Hook, JsonValue, Logger, Provider, ProviderEventEmitter, ProviderMetadata, ResolutionDetails } from \"@openfeature/web-sdk\";\nimport { ProviderEvents, ErrorCode, OpenFeatureEventEmitter } from \"@openfeature/web-sdk\";\nexport class FeatureToggleProvider implements Provider {\n metadata: ProviderMetadata;\n private featureToggles: ReadonlyArray;\n constructor(featureToggles: ReadonlyArray) {\n this.metadata = { name: \"environment-variable-featuretoggles\" };\n this.featureToggles = featureToggles;\n this.events = new OpenFeatureEventEmitter();\n }\n hooks?: Hook[] | undefined;\n updateFeatures(featureToggles: ReadonlyArray) {\n this.featureToggles = featureToggles;\n this.events?.emit(ProviderEvents.ConfigurationChanged);\n }\n events?: ProviderEventEmitter | undefined;\n onContextChange?(oldContext: EvaluationContext, newContext: EvaluationContext): void | Promise {\n return Promise.resolve();\n }\n resolveBooleanEvaluation(flagKey: string, defaultValue: boolean, context: EvaluationContext, logger: Logger): ResolutionDetails {\n const envVar = this.featureToggles.find((t) => t.Name.toLowerCase() === flagKey.toLowerCase());\n if (!envVar) {\n return { value: defaultValue, errorCode: ErrorCode.FLAG_NOT_FOUND };\n }\n return { value: envVar.IsEnabled };\n }\n resolveStringEvaluation(flagKey: string, defaultValue: string, context: EvaluationContext, logger: Logger): ResolutionDetails {\n throw new Error(\"Method not implemented.\");\n }\n resolveNumberEvaluation(flagKey: string, defaultValue: number, context: EvaluationContext, logger: Logger): ResolutionDetails {\n throw new Error(\"Method not implemented.\");\n }\n resolveObjectEvaluation(flagKey: string, defaultValue: T, context: EvaluationContext, logger: Logger): ResolutionDetails {\n throw new Error(\"Method not implemented.\");\n }\n}\n","import type { Logger } from \"@octopusdeploy/logging\";\nimport { logger } from \"@octopusdeploy/logging\";\nimport type { Logger as OpenFeatureLogger } from \"@openfeature/web-sdk\";\nexport class OpenFeatureLoggerImpl implements OpenFeatureLogger {\n constructor(readonly logger: Logger) { }\n error(...args: unknown[]): void {\n logger.unstructuredLogEvent(\"error\", this.getMessage(args), ...args);\n }\n warn(...args: unknown[]): void {\n logger.unstructuredLogEvent(\"warning\", this.getMessage(args), ...args);\n }\n info(...args: unknown[]): void {\n logger.unstructuredLogEvent(\"information\", this.getMessage(args), ...args);\n }\n debug(...args: unknown[]): void {\n logger.unstructuredLogEvent(\"debug\", this.getMessage(args), ...args);\n }\n getMessage(...args: unknown[]): string {\n return typeof args[0] === \"string\" ? args[0] : JSON.stringify(args[0]);\n }\n}\n","/* eslint-disable @typescript-eslint/no-non-null-assertion */\n/* eslint-disable no-eq-null */\nimport { logger } from \"@octopusdeploy/logging\";\nimport type { ConfiguredFeatureToggles, FeaturesConfigurationResource, FeatureToggle, InstallationHistoryResource, UserPermissionSetResource, UserResource } from \"@octopusdeploy/octopus-server-client\";\nimport { UserPermissions } from \"@octopusdeploy/octopus-server-client\";\nimport { OctopusFeatureProvider } from \"@octopusdeploy/openfeature\";\nimport { OpenFeature } from \"@openfeature/web-sdk\";\nimport { configurationActions } from \"~/areas/configuration/reducers/configurationArea\";\nimport { repository } from \"~/clientInstance\";\nimport { FeatureToggleProvider } from \"~/featureToggleProvider\";\nimport { OpenFeatureLoggerImpl } from \"~/openFeatureLoggerImpl\";\nimport store from \"~/store\";\ntype OnChangeSubscription = () => void;\nexport class Session {\n initialized: boolean = false;\n currentUser: UserResource | null = undefined!;\n currentPermissions: UserPermissions | null = undefined!;\n featureToggles: ReadonlyArray | null = null;\n featureToggleProvider: FeatureToggleProvider | undefined = undefined!;\n features: FeaturesConfigurationResource | null = undefined!;\n installationHistory: InstallationHistoryResource[] = [];\n private onChangeSubscriptions: OnChangeSubscription[] = [];\n async start(user: UserResource, featureConfigurations: FeaturesConfigurationResource, featureToggles: ConfiguredFeatureToggles, installationHistory: InstallationHistoryResource[]) {\n // session start is currently called multiple times when loading the application\n // this is a temporary fix that #team-backend-foundations-requests will revert once the structural work is done\n // to ensure session start is more reliably executed once, and once only\n if (this.initialized) {\n return;\n }\n logger.info(\"Starting session for {user}.\", { user });\n this.currentUser = user;\n this.featureToggles = featureToggles.FeatureToggles;\n this.features = featureConfigurations;\n this.installationHistory = installationHistory;\n await this.initializeOctopusFeatureToggles(user, featureToggles.FeatureToggles);\n store.dispatch(configurationActions.featuresFetched(featureConfigurations));\n this.initialized = true;\n this.onChange();\n }\n end() {\n if (this.currentUser) {\n logger.info(\"Ending session for {user}.\", { user: this.currentUser });\n }\n this.currentUser = null;\n this.currentPermissions = null;\n this.featureToggles = null;\n this.features = null;\n store.dispatch(configurationActions.featuresReset());\n this.initialized = false;\n this.onChange();\n }\n async initializeOctopusFeatureToggles(user: UserResource, featureToggles: ReadonlyArray) {\n try {\n const clientIdentifier = await repository.ServerConfiguration.featureToggleClientIdentifier();\n if (clientIdentifier) {\n const provider = new OctopusFeatureProvider({ clientIdentifier: clientIdentifier, logger: new OpenFeatureLoggerImpl(logger) });\n await OpenFeature.setProviderAndWait(provider);\n }\n else {\n const provider = new FeatureToggleProvider(featureToggles);\n this.featureToggleProvider = provider;\n await OpenFeature.setProviderAndWait(provider);\n }\n await OpenFeature.setContext({\n username: user.Username,\n displayName: user.DisplayName,\n emailAddress: user.EmailAddress,\n serverUri: window.location.hostname,\n });\n }\n catch (e) {\n logger.error(e, \"Failed to initialize Octopus Feature Toggles\");\n }\n }\n refreshPermissions(userPermission: UserPermissionSetResource) {\n this.currentPermissions = UserPermissions.Create(userPermission.SpacePermissions, userPermission.SystemPermissions, userPermission.Teams);\n this.onChange();\n }\n isAuthenticated() {\n return this.currentUser != null;\n }\n subscribe(onChange: OnChangeSubscription) {\n this.onChangeSubscriptions.push(onChange);\n return () => {\n this.onChangeSubscriptions = this.onChangeSubscriptions.filter((s) => s !== onChange);\n };\n }\n onChange() {\n this.onChangeSubscriptions.forEach((s) => s());\n }\n setFeatureToggles(newToggles: FeatureToggle[]) {\n if (!this.currentUser) {\n return;\n }\n this.featureToggles = newToggles;\n this.featureToggleProvider?.updateFeatures(newToggles);\n }\n}\nexport default Session;\n","import type { ClientConfiguration, ClientResponseDetails, ApiVersionCallbacks } from \"@octopusdeploy/octopus-server-client\";\nimport { Client, Repository, serverVersionNotificationCheck } from \"@octopusdeploy/octopus-server-client\";\nimport URI from \"urijs\";\nimport octopusDynamicExtensions from \"~/areas/dynamicExtensions\";\nimport * as notificationLocalState from \"~/components/Navbar/NotificationPoller/notificationLocalState\";\nimport { notificationActions, NotificationType } from \"~/components/Navbar/notifications.redux\";\nimport { createGlobalRequestContext } from \"~/globalRequestContext\";\nimport Session from \"~/session\";\nimport store from \"~/store\";\nimport { resolveApplicationRootUri } from \"~/utils/resolveApplicationRootUri\";\nconst browserURI = URI(window.location);\nconst configuration: ClientConfiguration = {\n serverEndpoint: resolveApplicationRootUri(window.location),\n};\nconst cookieName = \"OctopusDevExperience.Server\";\nconst octopusServerURI = browserURI.search(true)[\"octopus.server\"];\nif (!octopusServerURI) {\n document.cookie = `${cookieName}= ; expires = Thu, 01 Jan 1970 00:00:00 GMT`;\n}\nelse {\n document.cookie = `${cookieName}=${octopusServerURI}`;\n}\noctopusDynamicExtensions.setApiDocumentRootUrl(`${configuration.serverEndpoint}/api`);\nconst notificationId = \"Notification/ClientVersionOutdated\";\nconst apiVersionCallbacks: ApiVersionCallbacks = {\n onMatchingVersionsDetected: () => {\n notificationLocalState.clearValue(notificationId);\n store.dispatch(notificationActions.dismissNotification(notificationId));\n },\n onMismatchedVersionsDetected: (apiVersion, clientVersion) => {\n const description = `The current web portal is running as version ${clientVersion} however Octopus Server is\n running ${apiVersion}. Refresh this page to ensure you have the latest portal version.`;\n store.dispatch(notificationActions.raiseNotification({\n id: notificationId,\n value: apiVersion,\n type: NotificationType.info,\n description,\n text: \"Server version updated\",\n links: [{ type: \"Refresh\", label: \"Reload Site\" }],\n }));\n },\n};\nconst session = new Session();\nconst client = Client.Create(configuration, () => session.isAuthenticated(), () => session.end());\nclient.subscribeToResponses(\"ServerVersionNotificationCheck\", (clientResponseDetails: ClientResponseDetails) => {\n serverVersionNotificationCheck(clientResponseDetails.request, client, apiVersionCallbacks);\n});\nconst repository = new Repository(client, createGlobalRequestContext(\"Global\"));\nexport { client, repository, session };\n","import React from \"react\";\nexport type IScriptActionContext = {\n loadVariables: (clearCachedVariables?: boolean) => Promise;\n key?: string;\n};\nexport const ScriptActionContext = React.createContext(undefined);\nexport const useScriptActionContext = () => {\n return React.useContext(ScriptActionContext);\n};\n","/* eslint-disable @typescript-eslint/no-explicit-any */\n/* eslint-disable @typescript-eslint/consistent-type-assertions */\nimport { logger } from \"@octopusdeploy/logging\";\nimport * as React from \"react\";\nimport { clearUnhandledErrors, raiseUnhandledError } from \"~/components/UnhandledError/reducers\";\nimport store from \"~/store\";\nclass BaseComponent extends React.Component {\n private static methodsToCapture = [\"componentDidMount\", \"componentWillMount\", \"componentDidUpdate\", \"componentWillUnmount\", \"shouldComponentUpdate\", \"componentWillUpdate\", \"componentWillReceiveProps\"];\n protected unmounted = false;\n constructor(props: Props) {\n super(props);\n this.provideErrorHandlingToTopLevelMethods();\n this.addUnmountedHook();\n }\n //TODO: @Architecture. These `anys` here are killing us and we're losing type safely on setState calls everywhere. This is a mini-mountain\n // of work to refactor properly, but it would help our type safety significantly.\n setState(f: (prevState: Readonly, props: Readonly) => Pick | State | null, callback?: () => any): void;\n setState(state: Pick | State | null, callback?: () => any): void;\n setState(m: ((prevState: Readonly, props: Readonly) => Pick | State | null) | (Pick | State | null), callback?: () => any): void {\n if (this.unmounted) {\n return;\n }\n super.setState(m, callback);\n }\n protected setChildState1(first: KeyOfState, state: Pick, callback?: () => void) {\n this.setState((prev) => ({\n [first]: { ...prev[first], ...state },\n }), callback);\n }\n protected setChildState2, KeyOfChild extends keyof Child, GrandChild extends NonNullable, KeyOfGrandChild extends keyof GrandChild>(first: KeyOfState, second: KeyOfChild, state: Pick, callback?: () => void) {\n this.setState((prev) => ({\n [first]: {\n ...prev[first],\n [second]: {\n ...(prev[first] as Child)[second],\n ...state,\n },\n },\n }), callback);\n }\n protected setChildState3, KeyOfChild extends keyof Child, GrandChild extends NonNullable, KeyOfGrandChild extends keyof GrandChild, GreatGrandChild extends NonNullable, KeyOfGreatGrandChild extends keyof GreatGrandChild>(first: KeyOfState, second: KeyOfChild, third: KeyOfGrandChild, state: Pick, callback?: () => void) {\n this.setState((prev) => ({\n [first]: {\n ...prev[first],\n [second]: {\n ...(prev[first] as Child)[second],\n [third]: {\n ...((prev[first] as Child)[second] as GrandChild)[third],\n ...(state as object),\n },\n },\n },\n }), callback);\n }\n // eslint-disable-next-line @typescript-eslint/ban-ts-comment\n // @ts-ignore: Type instantiation is excessively deep and possibly infinite\n protected setChildState4, KeyOfChild extends keyof Child, GrandChild extends NonNullable, KeyOfGrandChild extends keyof GrandChild, GreatGrandChild extends NonNullable, KeyOfGreatGrandChild extends keyof GreatGrandChild, GreatGreatGrandChild extends NonNullable, KeyOfGreatGreatGrandChild extends keyof GreatGreatGrandChild>(first: KeyOfState, second: KeyOfChild, third: KeyOfGrandChild, fourth: KeyOfGreatGrandChild, state: Pick, callback?: () => void) {\n this.setState((prev) => ({\n [first]: {\n ...prev[first],\n [second]: {\n ...(prev[first] as Child)[second],\n [third]: {\n ...((prev[first] as Child)[second] as GrandChild)[third],\n [fourth]: {\n ...(((prev[first] as Child)[second] as GrandChild)[third] as GreatGrandChild)[fourth],\n ...(state as object),\n },\n },\n },\n },\n }), callback);\n }\n protected provideErrorHandling(func: (...args: any[]) => any) {\n const name = this.findNameOf(func);\n this.provideErrorHandlingByName(name);\n }\n protected clearError() {\n store.dispatch(clearUnhandledErrors());\n }\n private provideErrorHandlingByName(name: string) {\n const originalMethod = (this as any)[name].bind(this);\n const wrapper = (...args: any[]) => {\n try {\n const result = originalMethod(...args);\n if (result instanceof Promise) {\n return result.catch((error) => {\n this.handleError(error, name);\n });\n }\n else {\n return result;\n }\n }\n catch (error) {\n this.handleError(error, name);\n throw error;\n }\n };\n (this as any)[name] = wrapper;\n }\n private handleError(error: any, name: string) {\n logger.error(error, \"Error occurred in {name}\", { name });\n store.dispatch(raiseUnhandledError(error));\n throw error;\n }\n private addUnmountedHook() {\n const componentWillUnmount = this[\"componentWillUnmount\"];\n const originalMethod = componentWillUnmount && componentWillUnmount.bind(this);\n this[\"componentWillUnmount\"] = async (...args: any[]) => {\n this.unmounted = true;\n if (originalMethod) {\n return originalMethod();\n }\n };\n }\n private findNameOf(func: (...args: any[]) => Promise): string {\n return Object.getOwnPropertyNames(this).filter((name) => (this as any)[name] === func)[0];\n }\n private provideErrorHandlingToTopLevelMethods() {\n Object.getOwnPropertyNames(Object.getPrototypeOf(this)).forEach((name) => {\n if (BaseComponent.methodsToCapture.includes(name)) {\n this.provideErrorHandlingByName(name);\n }\n });\n }\n static displayName = \"BaseComponent\";\n}\nexport { BaseComponent };\n","import { BaseComponent } from \"../BaseComponent/BaseComponent\";\nexport default BaseComponent;\n","/* eslint-disable @typescript-eslint/no-explicit-any */\nimport type * as React from \"react\";\nimport { BaseComponent } from \"~/components/BaseComponent/BaseComponent\";\ninterface BusyPromiseState {\n busy: boolean;\n}\ntype BusyState = Promise | boolean;\ninterface BusyPromiseProps {\n promise: BusyState | undefined | null;\n children(busy: boolean): React.ReactNode;\n}\nexport { BusyState };\nexport default class BusyFromPromise extends BaseComponent {\n private current: Promise | null | undefined = null;\n constructor(props: BusyPromiseProps) {\n super(props);\n this.state = this.determineState(props);\n }\n UNSAFE_componentWillReceiveProps(nextProps: BusyPromiseProps) {\n if (nextProps.promise !== this.props.promise) {\n this.setState(this.determineState(nextProps));\n }\n }\n render() {\n return this.props.children(this.state.busy);\n }\n private resetState = (promise: any) => {\n // don't turn off the busy indicator if a new promise is running\n // we don't worry about order of promises finishing here, callers\n // should maintain an array of \"requests\" and pass in Promise.all\n // on them when it updates so we only need to worry about latest.\n if (promise === this.current) {\n this.current = null;\n this.setState({ busy: false });\n }\n };\n private determineState = (props: BusyPromiseProps): BusyPromiseState => {\n if (props.promise) {\n if (typeof props.promise === \"boolean\") {\n this.current = null;\n return { busy: props.promise };\n }\n else {\n this.current = props.promise;\n props.promise.then(() => this.resetState(props.promise), () => this.resetState(props.promise));\n return { busy: true };\n }\n }\n else {\n return { busy: false };\n }\n };\n static displayName = \"BusyFromPromise\";\n}\n","import * as React from \"react\";\nimport { IconButtonWithOptionalTooltip } from \"~/components/IconButtonWithTooltip\";\ninterface CloseButtonProps {\n onClose?: () => void;\n tooltip?: string;\n size?: string;\n}\nconst CloseButton: React.SFC = (props) => {\n const style: React.CSSProperties = { verticalAlign: \"middle\", padding: \"0\" };\n if (props.size) {\n style.width = props.size;\n style.height = props.size;\n }\n return ;\n};\nCloseButton.displayName = \"CloseButton\"\nCloseButton.displayName = \"CloseButton\";\nexport default CloseButton;\n","import { ActionButton, ActionButtonType } from \"@octopusdeploy/design-system-components\";\nimport * as React from \"react\";\nimport DeleteDialog from \"~/components/Dialog/DeleteDialog\";\nimport { BaseComponent } from \"../BaseComponent/BaseComponent\";\nimport styles from \"./style.module.less\";\ninterface OpenDeleteDialogButtonProps {\n dialogTitle: string;\n type?: ActionButtonType;\n label?: string;\n disabled: boolean;\n dialogButtonLabel?: string;\n dialogButtonBusyLabel?: string;\n disableDeleteButton?: boolean;\n dialogOnClose?: () => void;\n onDeleteClick(): Promise;\n}\ninterface OpenDeleteDialogButtonState {\n open: boolean;\n}\nexport default class OpenDeleteDialogButton extends BaseComponent {\n constructor(props: OpenDeleteDialogButtonProps) {\n super(props);\n this.state = { open: false };\n }\n render() {\n return (
\n this.setState({ open: true })} label={this.props.label || \"Delete\"} disabled={this.props.disabled}/>\n {\n this.setState({ open: false });\n if (this.props.dialogOnClose) {\n this.props.dialogOnClose();\n }\n }} onDeleteClick={() => this.props.onDeleteClick()} renderContent={() => this.props.children}/>\n
);\n }\n static displayName = \"OpenDeleteDialogButton\";\n}\n","import * as React from \"react\";\nimport styles from \"./style.module.less\";\ninterface PagingControlButtonProps {\n label: string;\n isActive: boolean;\n onPageSelected?(event: React.MouseEvent): void;\n}\nconst PagingControlButton: React.StatelessComponent = (props) => {\n const activeClass = props.isActive ? styles.pagingControlButtonActive : styles.pagingControlButtonInactive;\n return ();\n};\nPagingControlButton.displayName = \"PagingControlButton\"\nexport default PagingControlButton;\n","import React from \"react\";\nimport ExternalLink from \"~/components/Navigation/ExternalLink/index\";\nimport { LearnMoreResources, OverviewContainer, OverviewHighlightText, TopicsContainer } from \"./CommonViews\";\nexport const CommonConfigurationAuditOverview = () => {\n return (\n \n

For team members to collaborate in the deployment of software, there needs to be trust and accountability. Octopus Deploy captures audit information whenever significant events happen in the system.

\n
\n
);\n};\nexport const CommonConfigurationAuditTopics = () => {\n return (\n \n
\n Auditing\n
\n
\n
);\n};\n","import * as React from \"react\";\nimport pageIds from \"~/pageIds\";\nimport type { CategorizedPageHelpRegistration, RenderRegistrationCardProps } from \"../../../Registry/pageHelpRegistry\";\nimport { CommonConfigurationAuditOverview, CommonConfigurationAuditTopics } from \"../../CommonComponents/CommonConfigurationAuditViews\";\nexport const ConfigurationAuditRegistration: CategorizedPageHelpRegistration = {\n page: pageIds.configuration.audit,\n renderOverview: (renderProps: RenderRegistrationCardProps) => {\n return ;\n },\n renderTopics: (renderProps: RenderRegistrationCardProps) => {\n return ;\n },\n};\n","import pageIds from \"~/pageIds\";\nimport type { CategorizedPageHelpRegistration, RenderRegistrationCardProps } from \"../../../Registry/pageHelpRegistry\";\nexport const ConfigurationBackupRegistration: CategorizedPageHelpRegistration = {\n page: pageIds.configuration.backup,\n renderOverview: (renderProps: RenderRegistrationCardProps) => {\n return null;\n },\n renderTopics: (renderProps: RenderRegistrationCardProps) => {\n return null;\n },\n};\n","import * as React from \"react\";\nimport { CommonConfigurationDeploymentFreezesOverview } from \"~/components/ContextualHelpLayout/PageHelpRegistry/Registrations/CommonComponents/CommonConfigurationDeploymentFreezesViews\";\nimport type { CategorizedPageHelpRegistration, RenderRegistrationCardProps } from \"~/components/ContextualHelpLayout/PageHelpRegistry/Registry/pageHelpRegistry\";\nimport pageIds from \"~/pageIds\";\nexport const ConfigurationDeploymentFreezeNewRegistration: CategorizedPageHelpRegistration = {\n page: pageIds.configuration.deploymentFreezes.create,\n renderOverview: (renderProps: RenderRegistrationCardProps) => {\n return ;\n },\n renderTopics: (renderProps: RenderRegistrationCardProps) => null,\n};\n","import * as React from \"react\";\nimport { CommonConfigurationDeploymentFreezesOverview } from \"~/components/ContextualHelpLayout/PageHelpRegistry/Registrations/CommonComponents/CommonConfigurationDeploymentFreezesViews\";\nimport type { CategorizedPageHelpRegistration, RenderRegistrationCardProps } from \"~/components/ContextualHelpLayout/PageHelpRegistry/Registry/pageHelpRegistry\";\nimport pageIds from \"~/pageIds\";\nexport const ConfigurationDeploymentFreezeRegistration: CategorizedPageHelpRegistration = {\n page: pageIds.configuration.deploymentFreeze,\n renderOverview: (renderProps: RenderRegistrationCardProps) => {\n return ;\n },\n renderTopics: (renderProps: RenderRegistrationCardProps) => null,\n};\n","import * as React from \"react\";\nimport { CommonConfigurationDeploymentFreezesOverview } from \"~/components/ContextualHelpLayout/PageHelpRegistry/Registrations/CommonComponents/CommonConfigurationDeploymentFreezesViews\";\nimport type { CategorizedPageHelpRegistration, RenderRegistrationCardProps } from \"~/components/ContextualHelpLayout/PageHelpRegistry/Registry/pageHelpRegistry\";\nimport pageIds from \"~/pageIds\";\nexport const ConfigurationDeploymentFreezesRegistration: CategorizedPageHelpRegistration = {\n page: pageIds.configuration.deploymentFreezes.root,\n renderOverview: (renderProps: RenderRegistrationCardProps) => {\n return ;\n },\n renderTopics: (renderProps: RenderRegistrationCardProps) => null,\n};\n","import * as React from \"react\";\nimport pageIds from \"~/pageIds\";\nimport type { CategorizedPageHelpRegistration, RenderRegistrationCardProps } from \"../../../Registry/pageHelpRegistry\";\nimport { CommonConfigurationDiagnosticsOverview, CommonConfigurationDiagnosticsTopics } from \"../../CommonComponents/CommonConfigurationDiagnosticsViews\";\nexport const ConfigurationDiagnosticLogsAutoDeployRegistration: CategorizedPageHelpRegistration = {\n page: pageIds.configuration.diagnostics.logs.autoDeploy,\n renderOverview: (renderProps: RenderRegistrationCardProps) => {\n return ;\n },\n renderTopics: (renderProps: RenderRegistrationCardProps) => {\n return ;\n },\n};\n","import * as React from \"react\";\nimport pageIds from \"~/pageIds\";\nimport type { CategorizedPageHelpRegistration, RenderRegistrationCardProps } from \"../../../Registry/pageHelpRegistry\";\nimport { CommonConfigurationDiagnosticsOverview, CommonConfigurationDiagnosticsTopics } from \"../../CommonComponents/CommonConfigurationDiagnosticsViews\";\nexport const ConfigurationDiagnosticLogsMachineCleanupRegistration: CategorizedPageHelpRegistration = {\n page: pageIds.configuration.diagnostics.logs.machineCleanup,\n renderOverview: (renderProps: RenderRegistrationCardProps) => {\n return ;\n },\n renderTopics: (renderProps: RenderRegistrationCardProps) => {\n return ;\n },\n};\n","import * as React from \"react\";\nimport pageIds from \"~/pageIds\";\nimport type { CategorizedPageHelpRegistration, RenderRegistrationCardProps } from \"../../../Registry/pageHelpRegistry\";\nimport { CommonConfigurationDiagnosticsOverview, CommonConfigurationDiagnosticsTopics } from \"../../CommonComponents/CommonConfigurationDiagnosticsViews\";\nexport const ConfigurationDiagnosticLogsRegistration: CategorizedPageHelpRegistration = {\n page: pageIds.configuration.diagnostics.logs.root,\n renderOverview: (renderProps: RenderRegistrationCardProps) => {\n return ;\n },\n renderTopics: (renderProps: RenderRegistrationCardProps) => {\n return ;\n },\n};\n","import * as React from \"react\";\nimport pageIds from \"~/pageIds\";\nimport type { CategorizedPageHelpRegistration, RenderRegistrationCardProps } from \"../../../Registry/pageHelpRegistry\";\nimport { CommonConfigurationDiagnosticsOverview, CommonConfigurationDiagnosticsTopics } from \"../../CommonComponents/CommonConfigurationDiagnosticsViews\";\nexport const ConfigurationDiagnosticLogsScheduledDeployRegistration: CategorizedPageHelpRegistration = {\n page: pageIds.configuration.diagnostics.logs.scheduledDeploy,\n renderOverview: (renderProps: RenderRegistrationCardProps) => {\n return ;\n },\n renderTopics: (renderProps: RenderRegistrationCardProps) => {\n return ;\n },\n};\n","import * as React from \"react\";\nimport pageIds from \"~/pageIds\";\nimport type { CategorizedPageHelpRegistration, RenderRegistrationCardProps } from \"../../../Registry/pageHelpRegistry\";\nimport { CommonConfigurationDiagnosticsOverview, CommonConfigurationDiagnosticsTopics } from \"../../CommonComponents/CommonConfigurationDiagnosticsViews\";\nexport const ConfigurationDiagnosticLogsSubscriptionRegistration: CategorizedPageHelpRegistration = {\n page: pageIds.configuration.diagnostics.logs.subscription,\n renderOverview: (renderProps: RenderRegistrationCardProps) => {\n return ;\n },\n renderTopics: (renderProps: RenderRegistrationCardProps) => {\n return ;\n },\n};\n","import * as React from \"react\";\nimport pageIds from \"~/pageIds\";\nimport type { CategorizedPageHelpRegistration, RenderRegistrationCardProps } from \"../../../Registry/pageHelpRegistry\";\nimport { CommonConfigurationDiagnosticsOverview, CommonConfigurationDiagnosticsTopics } from \"../../CommonComponents/CommonConfigurationDiagnosticsViews\";\nexport const ConfigurationDiagnosticsRegistration: CategorizedPageHelpRegistration = {\n page: pageIds.configuration.diagnostics.root,\n renderOverview: (renderProps: RenderRegistrationCardProps) => {\n return ;\n },\n renderTopics: (renderProps: RenderRegistrationCardProps) => {\n return ;\n },\n};\n","import pageIds from \"~/pageIds\";\nimport type { CategorizedPageHelpRegistration, RenderRegistrationCardProps } from \"../../../Registry/pageHelpRegistry\";\nexport const ConfigurationFeaturesRegistration: CategorizedPageHelpRegistration = {\n page: pageIds.configuration.features,\n renderOverview: (renderProps: RenderRegistrationCardProps) => {\n return null;\n },\n renderTopics: (renderProps: RenderRegistrationCardProps) => {\n return null;\n },\n};\n","import * as React from \"react\";\nimport pageIds from \"~/pageIds\";\nimport type { CategorizedPageHelpRegistration, RenderRegistrationCardProps } from \"../../../Registry/pageHelpRegistry\";\nimport { CommonConfigurationLetsEncryptOverview, CommonConfigurationLetsEncryptTopics } from \"../../CommonComponents/CommonConfigurationLetsEncryptViews\";\nexport const ConfigurationLetsEncryptConfigureRegistration: CategorizedPageHelpRegistration = {\n page: pageIds.configuration.letsEncrypt.configure,\n renderOverview: (renderProps: RenderRegistrationCardProps) => {\n return ;\n },\n renderTopics: (renderProps: RenderRegistrationCardProps) => {\n return ;\n },\n};\n","import * as React from \"react\";\nimport pageIds from \"~/pageIds\";\nimport type { CategorizedPageHelpRegistration, RenderRegistrationCardProps } from \"../../../Registry/pageHelpRegistry\";\nimport { CommonConfigurationLetsEncryptOverview, CommonConfigurationLetsEncryptTopics } from \"../../CommonComponents/CommonConfigurationLetsEncryptViews\";\nexport const ConfigurationLetsEncryptRegistration: CategorizedPageHelpRegistration = {\n page: pageIds.configuration.letsEncrypt.root,\n renderOverview: (renderProps: RenderRegistrationCardProps) => {\n return ;\n },\n renderTopics: (renderProps: RenderRegistrationCardProps) => {\n return ;\n },\n};\n","import pageIds from \"~/pageIds\";\nimport type { CategorizedPageHelpRegistration, RenderRegistrationCardProps } from \"../../../Registry/pageHelpRegistry\";\nexport const ConfigurationLicenseRegistration: CategorizedPageHelpRegistration = {\n page: pageIds.configuration.license,\n renderOverview: (renderProps: RenderRegistrationCardProps) => {\n return null;\n },\n renderTopics: (renderProps: RenderRegistrationCardProps) => {\n return null;\n },\n};\n","import pageIds from \"~/pageIds\";\nimport type { CategorizedPageHelpRegistration, RenderRegistrationCardProps } from \"../../../Registry/pageHelpRegistry\";\nexport const ConfigurationMaintenanceRegistration: CategorizedPageHelpRegistration = {\n page: pageIds.configuration.maintenance,\n renderOverview: (renderProps: RenderRegistrationCardProps) => {\n return null;\n },\n renderTopics: (renderProps: RenderRegistrationCardProps) => {\n return null;\n },\n};\n","import * as React from \"react\";\nimport pageIds from \"~/pageIds\";\nimport type { CategorizedPageHelpRegistration, RenderRegistrationCardProps } from \"../../../Registry/pageHelpRegistry\";\nimport { CommonConfigurationNodesOverview, CommonConfigurationNodesTopics } from \"../../CommonComponents/CommonConfigurationNodesViews\";\nexport const ConfigurationNodesConfigRegistration: CategorizedPageHelpRegistration = {\n page: pageIds.configuration.nodes.config,\n renderOverview: (renderProps: RenderRegistrationCardProps) => {\n return ;\n },\n renderTopics: (renderProps: RenderRegistrationCardProps) => {\n return ;\n },\n};\n","import * as React from \"react\";\nimport pageIds from \"~/pageIds\";\nimport type { CategorizedPageHelpRegistration, RenderRegistrationCardProps } from \"../../../Registry/pageHelpRegistry\";\nimport { CommonConfigurationNodesOverview, CommonConfigurationNodesTopics } from \"../../CommonComponents/CommonConfigurationNodesViews\";\nexport const ConfigurationNodesRegistration: CategorizedPageHelpRegistration = {\n page: pageIds.configuration.nodes.root,\n renderOverview: (renderProps: RenderRegistrationCardProps) => {\n return ;\n },\n renderTopics: (renderProps: RenderRegistrationCardProps) => {\n return ;\n },\n};\n","import pageIds from \"~/pageIds\";\nimport type { CategorizedPageHelpRegistration, RenderRegistrationCardProps } from \"../../../Registry/pageHelpRegistry\";\nexport const ConfigurationNodesServerSettingsRegistration: CategorizedPageHelpRegistration = {\n page: pageIds.configuration.nodes.serverSettings,\n renderOverview: (renderProps: RenderRegistrationCardProps) => {\n return null;\n },\n renderTopics: (renderProps: RenderRegistrationCardProps) => {\n return null;\n },\n};\n","import pageIds from \"~/pageIds\";\nimport type { CategorizedPageHelpRegistration, RenderRegistrationCardProps } from \"../../../Registry/pageHelpRegistry\";\nexport const ConfigurationPerformanceRegistration: CategorizedPageHelpRegistration = {\n page: pageIds.configuration.performance,\n renderOverview: (renderProps: RenderRegistrationCardProps) => {\n return null;\n },\n renderTopics: (renderProps: RenderRegistrationCardProps) => {\n return null;\n },\n};\n","import pageIds from \"~/pageIds\";\nimport type { CategorizedPageHelpRegistration, RenderRegistrationCardProps } from \"../../../Registry/pageHelpRegistry\";\nexport const ConfigurationRegistration: CategorizedPageHelpRegistration = {\n page: pageIds.configuration.root,\n renderOverview: (renderProps: RenderRegistrationCardProps) => {\n return null;\n },\n renderTopics: (renderProps: RenderRegistrationCardProps) => {\n return null;\n },\n};\n","import * as React from \"react\";\nimport pageIds from \"~/pageIds\";\nimport type { CategorizedPageHelpRegistration, RenderRegistrationCardProps } from \"../../../Registry/pageHelpRegistry\";\nimport { CommonConfigurationRoleOverview } from \"../../CommonComponents/CommonConfigurationRoleViews\";\nexport const ConfigurationRoleRegistration: CategorizedPageHelpRegistration = {\n page: pageIds.configuration.role,\n renderOverview: (renderProps: RenderRegistrationCardProps) => {\n return ;\n },\n renderTopics: (renderProps: RenderRegistrationCardProps) => null,\n};\n","import * as React from \"react\";\nimport pageIds from \"~/pageIds\";\nimport type { CategorizedPageHelpRegistration, RenderRegistrationCardProps } from \"../../../Registry/pageHelpRegistry\";\nimport { CommonConfigurationRoleOverview } from \"../../CommonComponents/CommonConfigurationRoleViews\";\nexport const ConfigurationRolesNewRegistration: CategorizedPageHelpRegistration = {\n page: pageIds.configuration.roles.create,\n renderOverview: (renderProps: RenderRegistrationCardProps) => {\n return ;\n },\n renderTopics: (renderProps: RenderRegistrationCardProps) => null,\n};\n","import * as React from \"react\";\nimport pageIds from \"~/pageIds\";\nimport type { CategorizedPageHelpRegistration, RenderRegistrationCardProps } from \"../../../Registry/pageHelpRegistry\";\nimport { CommonConfigurationRoleOverview } from \"../../CommonComponents/CommonConfigurationRoleViews\";\nexport const ConfigurationRolesRegistration: CategorizedPageHelpRegistration = {\n page: pageIds.configuration.roles.root,\n renderOverview: (renderProps: RenderRegistrationCardProps) => {\n return ;\n },\n renderTopics: (renderProps: RenderRegistrationCardProps) => null,\n};\n","import pageIds from \"~/pageIds\";\nimport type { CategorizedPageHelpRegistration, RenderRegistrationCardProps } from \"../../../Registry/pageHelpRegistry\";\nexport const ConfigurationSettingsRegistration: CategorizedPageHelpRegistration = {\n page: pageIds.configuration.settings.root,\n renderOverview: (renderProps: RenderRegistrationCardProps) => {\n return null;\n },\n renderTopics: (renderProps: RenderRegistrationCardProps) => {\n return null;\n },\n};\n","import pageIds from \"~/pageIds\";\nimport type { CategorizedPageHelpRegistration, RenderRegistrationCardProps } from \"../../../Registry/pageHelpRegistry\";\nexport const ConfigurationSmtpRegistration: CategorizedPageHelpRegistration = {\n page: pageIds.configuration.smtp,\n renderOverview: (renderProps: RenderRegistrationCardProps) => {\n return null;\n },\n renderTopics: (renderProps: RenderRegistrationCardProps) => {\n return null;\n },\n};\n","import * as React from \"react\";\nimport pageIds from \"~/pageIds\";\nimport type { CategorizedPageHelpRegistration, RenderRegistrationCardProps } from \"../../../Registry/pageHelpRegistry\";\nimport { CommonConfigurationSpaceOverview } from \"../../CommonComponents/CommonConfigurationSpaceViews\";\nexport const ConfigurationSpaceRegistration: CategorizedPageHelpRegistration = {\n page: pageIds.configuration.space,\n renderOverview: (renderProps: RenderRegistrationCardProps) => {\n return ;\n },\n renderTopics: (renderProps: RenderRegistrationCardProps) => null,\n};\n","import * as React from \"react\";\nimport pageIds from \"~/pageIds\";\nimport type { CategorizedPageHelpRegistration, RenderRegistrationCardProps } from \"../../../Registry/pageHelpRegistry\";\nimport { CommonConfigurationSpaceOverview } from \"../../CommonComponents/CommonConfigurationSpaceViews\";\nexport const ConfigurationSpacesNewRegistration: CategorizedPageHelpRegistration = {\n page: pageIds.configuration.spaces.create,\n renderOverview: (renderProps: RenderRegistrationCardProps) => {\n return ;\n },\n renderTopics: (renderProps: RenderRegistrationCardProps) => null,\n};\n","import * as React from \"react\";\nimport pageIds from \"~/pageIds\";\nimport type { CategorizedPageHelpRegistration, RenderRegistrationCardProps } from \"../../../Registry/pageHelpRegistry\";\nimport { CommonConfigurationSpaceOverview } from \"../../CommonComponents/CommonConfigurationSpaceViews\";\nexport const ConfigurationSpacesRegistration: CategorizedPageHelpRegistration = {\n page: pageIds.configuration.spaces.root,\n renderOverview: (renderProps: RenderRegistrationCardProps) => {\n return ;\n },\n renderTopics: (renderProps: RenderRegistrationCardProps) => null,\n};\n","import * as React from \"react\";\nimport pageIds from \"~/pageIds\";\nimport type { CategorizedPageHelpRegistration, RenderRegistrationCardProps } from \"../../../Registry/pageHelpRegistry\";\nimport { CommonConfigurationSubscriptionOverview } from \"../../CommonComponents/CommonConfigurationSubscriptionViews\";\nexport const ConfigurationSubscriptionRegistration: CategorizedPageHelpRegistration = {\n page: pageIds.configuration.subscription,\n renderOverview: (renderProps: RenderRegistrationCardProps) => {\n return ;\n },\n renderTopics: (renderProps: RenderRegistrationCardProps) => null,\n};\n","import * as React from \"react\";\nimport pageIds from \"~/pageIds\";\nimport type { CategorizedPageHelpRegistration, RenderRegistrationCardProps } from \"../../../Registry/pageHelpRegistry\";\nimport { CommonConfigurationSubscriptionOverview } from \"../../CommonComponents/CommonConfigurationSubscriptionViews\";\nexport const ConfigurationSubscriptionsNewRegistration: CategorizedPageHelpRegistration = {\n page: pageIds.configuration.subscriptions.create,\n renderOverview: (renderProps: RenderRegistrationCardProps) => {\n return ;\n },\n renderTopics: (renderProps: RenderRegistrationCardProps) => null,\n};\n","import * as React from \"react\";\nimport pageIds from \"~/pageIds\";\nimport type { CategorizedPageHelpRegistration, RenderRegistrationCardProps } from \"../../../Registry/pageHelpRegistry\";\nimport { CommonConfigurationSubscriptionOverview } from \"../../CommonComponents/CommonConfigurationSubscriptionViews\";\nexport const ConfigurationSubscriptionsRegistration: CategorizedPageHelpRegistration = {\n page: pageIds.configuration.subscriptions.root,\n renderOverview: (renderProps: RenderRegistrationCardProps) => {\n return ;\n },\n renderTopics: (renderProps: RenderRegistrationCardProps) => null,\n};\n","import * as React from \"react\";\nimport pageIds from \"~/pageIds\";\nimport type { CategorizedPageHelpRegistration, RenderRegistrationCardProps } from \"../../../Registry/pageHelpRegistry\";\nimport { CommonConfigurationTeamOverview } from \"../../CommonComponents/CommonConfigurationTeamViews\";\nexport const ConfigurationTeamRegistration: CategorizedPageHelpRegistration = {\n page: pageIds.configuration.team,\n renderOverview: (renderProps: RenderRegistrationCardProps) => {\n return ;\n },\n renderTopics: (renderProps: RenderRegistrationCardProps) => null,\n};\n","import * as React from \"react\";\nimport pageIds from \"~/pageIds\";\nimport type { CategorizedPageHelpRegistration, RenderRegistrationCardProps } from \"../../../Registry/pageHelpRegistry\";\nimport { CommonConfigurationTeamOverview } from \"../../CommonComponents/CommonConfigurationTeamViews\";\nexport const ConfigurationTeamsRegistration: CategorizedPageHelpRegistration = {\n page: pageIds.configuration.teams.root,\n renderOverview: (renderProps: RenderRegistrationCardProps) => {\n return ;\n },\n renderTopics: (renderProps: RenderRegistrationCardProps) => null,\n};\n","import * as React from \"react\";\nimport pageIds from \"~/pageIds\";\nimport type { CategorizedPageHelpRegistration, RenderRegistrationCardProps } from \"../../../Registry/pageHelpRegistry\";\nimport { CommonConfigurationTestPermissionOverview, CommonConfigurationTestPermissionTopics } from \"../../CommonComponents/CommonConfigurationTestPermissionViews\";\nexport const ConfigurationTestPermissionRegistration: CategorizedPageHelpRegistration = {\n page: pageIds.configuration.testPermission,\n renderOverview: (renderProps: RenderRegistrationCardProps) => {\n return ;\n },\n renderTopics: (renderProps: RenderRegistrationCardProps) => {\n return ;\n },\n};\n","import * as React from \"react\";\nimport pageIds from \"~/pageIds\";\nimport type { CategorizedPageHelpRegistration, RenderRegistrationCardProps } from \"../../../Registry/pageHelpRegistry\";\nimport { CommonConfigurationTestPermissionOverview, CommonConfigurationTestPermissionTopics } from \"../../CommonComponents/CommonConfigurationTestPermissionViews\";\nexport const ConfigurationTestPermissionsRegistration: CategorizedPageHelpRegistration = {\n page: pageIds.configuration.testPermissions,\n renderOverview: (renderProps: RenderRegistrationCardProps) => {\n return ;\n },\n renderTopics: (renderProps: RenderRegistrationCardProps) => {\n return ;\n },\n};\n","import pageIds from \"~/pageIds\";\nimport type { CategorizedPageHelpRegistration, RenderRegistrationCardProps } from \"../../../Registry/pageHelpRegistry\";\nexport const ConfigurationThumbprintRegistration: CategorizedPageHelpRegistration = {\n page: pageIds.configuration.thumbprint,\n renderOverview: (renderProps: RenderRegistrationCardProps) => {\n return null;\n },\n renderTopics: (renderProps: RenderRegistrationCardProps) => {\n return null;\n },\n};\n","import pageIds from \"~/pageIds\";\nimport type { CategorizedPageHelpRegistration, RenderRegistrationCardProps } from \"../../../Registry/pageHelpRegistry\";\nexport const ConfigurationUserInvitesRegistration: CategorizedPageHelpRegistration = {\n page: pageIds.configuration.userInvites,\n renderOverview: (renderProps: RenderRegistrationCardProps) => {\n return null;\n },\n renderTopics: (renderProps: RenderRegistrationCardProps) => {\n return null;\n },\n};\n","import * as React from \"react\";\nimport pageIds from \"~/pageIds\";\nimport type { CategorizedPageHelpRegistration, RenderRegistrationCardProps } from \"../../../Registry/pageHelpRegistry\";\nimport { CommonConfigurationUserOverview } from \"../../CommonComponents/CommonConfigurationUserViews\";\nexport const ConfigurationUserRegistration: CategorizedPageHelpRegistration = {\n page: pageIds.configuration.user,\n renderOverview: (renderProps: RenderRegistrationCardProps) => {\n return ;\n },\n renderTopics: (renderProps: RenderRegistrationCardProps) => null,\n};\n","import * as React from \"react\";\nimport pageIds from \"~/pageIds\";\nimport type { CategorizedPageHelpRegistration, RenderRegistrationCardProps } from \"../../../Registry/pageHelpRegistry\";\nimport { CommonConfigurationUserOverview } from \"../../CommonComponents/CommonConfigurationUserViews\";\nexport const ConfigurationUsersNewRegistration: CategorizedPageHelpRegistration = {\n page: pageIds.configuration.users.create,\n renderOverview: (renderProps: RenderRegistrationCardProps) => {\n return ;\n },\n renderTopics: (renderProps: RenderRegistrationCardProps) => null,\n};\n","import * as React from \"react\";\nimport pageIds from \"~/pageIds\";\nimport type { CategorizedPageHelpRegistration, RenderRegistrationCardProps } from \"../../../Registry/pageHelpRegistry\";\nimport { CommonConfigurationUserOverview } from \"../../CommonComponents/CommonConfigurationUserViews\";\nexport const ConfigurationUsersRegistration: CategorizedPageHelpRegistration = {\n page: pageIds.configuration.users.root,\n renderOverview: (renderProps: RenderRegistrationCardProps) => {\n return ;\n },\n renderTopics: (renderProps: RenderRegistrationCardProps) => null,\n};\n","import * as React from \"react\";\nimport pageIds from \"~/pageIds\";\nimport type { CategorizedPageHelpRegistration, RenderRegistrationCardProps } from \"../../../Registry/pageHelpRegistry\";\nimport { CommonDashboardOverview, CommonDashboardTopics } from \"../../CommonComponents/CommonDashboardViews\";\nexport const DashboardConfigureRegistration: CategorizedPageHelpRegistration = {\n page: pageIds.dashboard.configure,\n renderOverview: (renderProps: RenderRegistrationCardProps) => {\n return ;\n },\n renderTopics: (renderProps: RenderRegistrationCardProps) => {\n return ;\n },\n};\n","import * as React from \"react\";\nimport pageIds from \"~/pageIds\";\nimport type { CategorizedPageHelpRegistration, RenderRegistrationCardProps } from \"../../../Registry/pageHelpRegistry\";\nimport { CommonDashboardOverview, CommonDashboardTopics } from \"../../CommonComponents/CommonDashboardViews\";\nexport const DashboardRegistration: CategorizedPageHelpRegistration = {\n page: pageIds.dashboard.root,\n renderOverview: (renderProps: RenderRegistrationCardProps) => {\n return ;\n },\n renderTopics: (renderProps: RenderRegistrationCardProps) => {\n return ;\n },\n};\n","import * as React from \"react\";\nimport pageIds from \"~/pageIds\";\nimport type { CategorizedPageHelpRegistration, RenderRegistrationCardProps } from \"../../../Registry/pageHelpRegistry\";\nimport { CommonInfrastructureAccountOverview, CommonInfrastructureAccountTopics } from \"../../CommonComponents/CommonInfrastructureAccountViews\";\nexport const InfrastructureAccountRegistration: CategorizedPageHelpRegistration = {\n page: pageIds.infrastructure.account,\n renderOverview: (renderProps: RenderRegistrationCardProps) => {\n return ;\n },\n renderTopics: (renderProps: RenderRegistrationCardProps) => {\n return ;\n },\n};\n","import * as React from \"react\";\nimport pageIds from \"~/pageIds\";\nimport type { CategorizedPageHelpRegistration, RenderRegistrationCardProps } from \"../../../Registry/pageHelpRegistry\";\nimport { CommonInfrastructureAccountOverview, CommonInfrastructureAccountTopics } from \"../../CommonComponents/CommonInfrastructureAccountViews\";\nexport const InfrastructureAccountsNewRegistration: CategorizedPageHelpRegistration = {\n page: pageIds.infrastructure.accounts.create,\n renderOverview: (renderProps: RenderRegistrationCardProps) => {\n return ;\n },\n renderTopics: (renderProps: RenderRegistrationCardProps) => {\n return ;\n },\n};\n","import * as React from \"react\";\nimport pageIds from \"~/pageIds\";\nimport type { CategorizedPageHelpRegistration, RenderRegistrationCardProps } from \"../../../Registry/pageHelpRegistry\";\nimport { CommonInfrastructureAccountOverview } from \"../../CommonComponents/CommonInfrastructureAccountViews\";\nexport const InfrastructureAccountsRegistration: CategorizedPageHelpRegistration = {\n page: pageIds.infrastructure.accounts.root,\n renderOverview: (renderProps: RenderRegistrationCardProps) => {\n return ;\n },\n renderTopics: (renderProps: RenderRegistrationCardProps) => null,\n};\n","import * as React from \"react\";\nimport pageIds from \"~/pageIds\";\nimport type { CategorizedPageHelpRegistration, RenderRegistrationCardProps } from \"../../../Registry/pageHelpRegistry\";\nimport { CommonDeploymentTargetOverview, CommonDeploymentTargetTopics } from \"../../CommonComponents/CommonDeploymentTargetViews\";\nexport const InfrastructureDeploymentTargetConnectivityRegistration: CategorizedPageHelpRegistration = {\n page: pageIds.infrastructure.deploymentTarget.connection,\n renderOverview: (renderProps: RenderRegistrationCardProps) => {\n return ;\n },\n renderTopics: (renderProps: RenderRegistrationCardProps) => {\n return ;\n },\n};\n","import * as React from \"react\";\nimport pageIds from \"~/pageIds\";\nimport type { CategorizedPageHelpRegistration, RenderRegistrationCardProps } from \"../../../Registry/pageHelpRegistry\";\nimport { CommonDeploymentTargetOverview, CommonDeploymentTargetTopics } from \"../../CommonComponents/CommonDeploymentTargetViews\";\nexport const InfrastructureDeploymentTargetDeploymentsRegistration: CategorizedPageHelpRegistration = {\n page: pageIds.infrastructure.deploymentTarget.deployments,\n renderOverview: (renderProps: RenderRegistrationCardProps) => {\n return ;\n },\n renderTopics: (renderProps: RenderRegistrationCardProps) => {\n return ;\n },\n};\n","import * as React from \"react\";\nimport pageIds from \"~/pageIds\";\nimport type { CategorizedPageHelpRegistration, RenderRegistrationCardProps } from \"../../../Registry/pageHelpRegistry\";\nimport { CommonDeploymentTargetOverview, CommonDeploymentTargetTopics } from \"../../CommonComponents/CommonDeploymentTargetViews\";\nexport const InfrastructureDeploymentTargetEventsRegistration: CategorizedPageHelpRegistration = {\n page: pageIds.infrastructure.deploymentTarget.events,\n renderOverview: (renderProps: RenderRegistrationCardProps) => {\n return ;\n },\n renderTopics: (renderProps: RenderRegistrationCardProps) => {\n return ;\n },\n};\n","import * as React from \"react\";\nimport pageIds from \"~/pageIds\";\nimport type { CategorizedPageHelpRegistration, RenderRegistrationCardProps } from \"../../../Registry/pageHelpRegistry\";\nimport { CommonDeploymentTargetOverview, CommonDeploymentTargetTopics } from \"../../CommonComponents/CommonDeploymentTargetViews\";\nexport const InfrastructureDeploymentTargetRegistration: CategorizedPageHelpRegistration = {\n page: pageIds.infrastructure.deploymentTarget.root,\n renderOverview: (renderProps: RenderRegistrationCardProps) => {\n return ;\n },\n renderTopics: (renderProps: RenderRegistrationCardProps) => {\n return ;\n },\n};\n","import * as React from \"react\";\nimport pageIds from \"~/pageIds\";\nimport type { CategorizedPageHelpRegistration, RenderRegistrationCardProps } from \"../../../Registry/pageHelpRegistry\";\nimport { CommonDeploymentTargetOverview, CommonDeploymentTargetTopics } from \"../../CommonComponents/CommonDeploymentTargetViews\";\nexport const InfrastructureDeploymentTargetDeploymentsRegistration: CategorizedPageHelpRegistration = {\n page: pageIds.infrastructure.deploymentTarget.runbookRuns,\n renderOverview: (renderProps: RenderRegistrationCardProps) => {\n return ;\n },\n renderTopics: (renderProps: RenderRegistrationCardProps) => {\n return ;\n },\n};\n","import * as React from \"react\";\nimport pageIds from \"~/pageIds\";\nimport type { CategorizedPageHelpRegistration, RenderRegistrationCardProps } from \"../../../Registry/pageHelpRegistry\";\nimport { CommonDeploymentTargetOverview, CommonDeploymentTargetTopics } from \"../../CommonComponents/CommonDeploymentTargetViews\";\nexport const InfrastructureDeploymentTargetSettingsRegistration: CategorizedPageHelpRegistration = {\n page: pageIds.infrastructure.deploymentTarget.settings,\n renderOverview: (renderProps: RenderRegistrationCardProps) => {\n return ;\n },\n renderTopics: (renderProps: RenderRegistrationCardProps) => {\n return ;\n },\n};\n","import * as React from \"react\";\nimport pageIds from \"~/pageIds\";\nimport type { CategorizedPageHelpRegistration, RenderRegistrationCardProps } from \"../../../Registry/pageHelpRegistry\";\nimport { CommonDeploymentTargetOverview, CommonDeploymentTargetTopics } from \"../../CommonComponents/CommonDeploymentTargetViews\";\nexport const InfrastructureDeploymentTargetsDiscoverRegistration: CategorizedPageHelpRegistration = {\n page: pageIds.infrastructure.machines.discover,\n renderOverview: (renderProps: RenderRegistrationCardProps) => {\n return ;\n },\n renderTopics: (renderProps: RenderRegistrationCardProps) => {\n return ;\n },\n};\n","import * as React from \"react\";\nimport pageIds from \"~/pageIds\";\nimport type { CategorizedPageHelpRegistration, RenderRegistrationCardProps } from \"../../../Registry/pageHelpRegistry\";\nimport { CommonDeploymentTargetOverview, CommonDeploymentTargetTopics } from \"../../CommonComponents/CommonDeploymentTargetViews\";\nexport const InfrastructureDeploymentTargetsFilteredRegistration: CategorizedPageHelpRegistration = {\n page: pageIds.infrastructure.machines.filtered,\n renderOverview: (renderProps: RenderRegistrationCardProps) => {\n return ;\n },\n renderTopics: (renderProps: RenderRegistrationCardProps) => {\n return ;\n },\n};\n","import * as React from \"react\";\nimport pageIds from \"~/pageIds\";\nimport type { CategorizedPageHelpRegistration, RenderRegistrationCardProps } from \"../../../Registry/pageHelpRegistry\";\nimport { CommonDeploymentTargetOverview, CommonDeploymentTargetTopics } from \"../../CommonComponents/CommonDeploymentTargetViews\";\nexport const InfrastructureDeploymentTargetsNewRegistration: CategorizedPageHelpRegistration = {\n page: pageIds.infrastructure.machines.create,\n renderOverview: (renderProps: RenderRegistrationCardProps) => {\n return ;\n },\n renderTopics: (renderProps: RenderRegistrationCardProps) => {\n return ;\n },\n};\n","import * as React from \"react\";\nimport pageIds from \"~/pageIds\";\nimport type { CategorizedPageHelpRegistration, RenderRegistrationCardProps } from \"../../../Registry/pageHelpRegistry\";\nimport { CommonDeploymentTargetOverview, CommonDeploymentTargetTopics } from \"../../CommonComponents/CommonDeploymentTargetViews\";\nexport const InfrastructureDeploymentTargetsRegistration: CategorizedPageHelpRegistration = {\n page: pageIds.infrastructure.machines.root,\n renderOverview: (renderProps: RenderRegistrationCardProps) => {\n return ;\n },\n renderTopics: (renderProps: RenderRegistrationCardProps) => {\n return ;\n },\n};\n","import * as React from \"react\";\nimport pageIds from \"~/pageIds\";\nimport type { CategorizedPageHelpRegistration, RenderRegistrationCardProps } from \"../../../Registry/pageHelpRegistry\";\nimport { CommonDeploymentTargetOverview } from \"../../CommonComponents/CommonDeploymentTargetViews\";\nexport const InfrastructureDeploymentTargetsSelectRegistration: CategorizedPageHelpRegistration = {\n page: pageIds.infrastructure.machines.select,\n renderOverview: (renderProps: RenderRegistrationCardProps) => {\n return ;\n },\n renderTopics: (renderProps: RenderRegistrationCardProps) => null,\n};\n","import * as React from \"react\";\nimport pageIds from \"~/pageIds\";\nimport type { CategorizedPageHelpRegistration, RenderRegistrationCardProps } from \"../../../Registry/pageHelpRegistry\";\nimport { CommonEnvironmentOverview, CommonEnvironmentTopics } from \"../../CommonComponents/CommonEnvironmentViews\";\nexport const InfrastructureEnvironmentRegistration: CategorizedPageHelpRegistration = {\n page: pageIds.infrastructure.environment,\n renderOverview: (renderProps: RenderRegistrationCardProps) => {\n return ;\n },\n renderTopics: (renderProps: RenderRegistrationCardProps) => {\n return ;\n },\n};\n","import * as React from \"react\";\nimport pageIds from \"~/pageIds\";\nimport type { CategorizedPageHelpRegistration, RenderRegistrationCardProps } from \"../../../Registry/pageHelpRegistry\";\nimport { CommonEnvironmentOverview, CommonEnvironmentTopics } from \"../../CommonComponents/CommonEnvironmentViews\";\nexport const InfrastructureEnvironmentsFilteredRegistration: CategorizedPageHelpRegistration = {\n page: pageIds.infrastructure.environments.filtered,\n renderOverview: (renderProps: RenderRegistrationCardProps) => {\n return ;\n },\n renderTopics: (renderProps: RenderRegistrationCardProps) => {\n return ;\n },\n};\n","import * as React from \"react\";\nimport pageIds from \"~/pageIds\";\nimport type { CategorizedPageHelpRegistration, RenderRegistrationCardProps } from \"../../../Registry/pageHelpRegistry\";\nimport { CommonEnvironmentOverview, CommonEnvironmentTopics } from \"../../CommonComponents/CommonEnvironmentViews\";\nexport const InfrastructureEnvironmentsNewRegistration: CategorizedPageHelpRegistration = {\n page: pageIds.infrastructure.environments.create,\n renderOverview: (renderProps: RenderRegistrationCardProps) => {\n return ;\n },\n renderTopics: (renderProps: RenderRegistrationCardProps) => {\n return ;\n },\n};\n","import * as React from \"react\";\nimport pageIds from \"~/pageIds\";\nimport type { CategorizedPageHelpRegistration, RenderRegistrationCardProps } from \"../../../Registry/pageHelpRegistry\";\nimport { CommonEnvironmentOverview, CommonEnvironmentTopics } from \"../../CommonComponents/CommonEnvironmentViews\";\nexport const InfrastructureEnvironmentsRegistration: CategorizedPageHelpRegistration = {\n page: pageIds.infrastructure.environments.root,\n renderOverview: (renderProps: RenderRegistrationCardProps) => {\n return ;\n },\n renderTopics: (renderProps: RenderRegistrationCardProps) => {\n return ;\n },\n};\n","import * as React from \"react\";\nimport pageIds from \"~/pageIds\";\nimport type { CategorizedPageHelpRegistration, RenderRegistrationCardProps } from \"../../../Registry/pageHelpRegistry\";\nimport { CommonInfrastructureMachinePolicyOverview } from \"../../CommonComponents/CommonInfrastructureMachinePolicyViews\";\nexport const InfrastructureMachinePoliciesNewRegistration: CategorizedPageHelpRegistration = {\n page: pageIds.infrastructure.machinePolicies.create,\n renderOverview: (renderProps: RenderRegistrationCardProps) => {\n return ;\n },\n renderTopics: (renderProps: RenderRegistrationCardProps) => null,\n};\n","import * as React from \"react\";\nimport pageIds from \"~/pageIds\";\nimport type { CategorizedPageHelpRegistration, RenderRegistrationCardProps } from \"../../../Registry/pageHelpRegistry\";\nimport { CommonInfrastructureMachinePolicyOverview } from \"../../CommonComponents/CommonInfrastructureMachinePolicyViews\";\nexport const InfrastructureMachinePoliciesRegistration: CategorizedPageHelpRegistration = {\n page: pageIds.infrastructure.machinePolicies.root,\n renderOverview: (renderProps: RenderRegistrationCardProps) => {\n return ;\n },\n renderTopics: (renderProps: RenderRegistrationCardProps) => null,\n};\n","import * as React from \"react\";\nimport pageIds from \"~/pageIds\";\nimport type { CategorizedPageHelpRegistration, RenderRegistrationCardProps } from \"../../../Registry/pageHelpRegistry\";\nimport { CommonInfrastructureMachinePolicyOverview } from \"../../CommonComponents/CommonInfrastructureMachinePolicyViews\";\nexport const InfrastructureMachinePolicyRegistration: CategorizedPageHelpRegistration = {\n page: pageIds.infrastructure.machinePolicy,\n renderOverview: (renderProps: RenderRegistrationCardProps) => {\n return ;\n },\n renderTopics: (renderProps: RenderRegistrationCardProps) => null,\n};\n","import * as React from \"react\";\nimport ExternalLink from \"~/components/Navigation/ExternalLink\";\nimport pageIds from \"~/pageIds\";\nimport type { CategorizedPageHelpRegistration, RenderRegistrationCardProps } from \"../../../Registry/pageHelpRegistry\";\nimport { OverviewContainer, OverviewHighlightText } from \"../../CommonComponents/CommonViews\";\nexport const InfrastructureOverviewRegistration: CategorizedPageHelpRegistration = {\n page: pageIds.infrastructure.overview,\n renderOverview: (renderProps: RenderRegistrationCardProps) => {\n return (\n \n

\n Infrastructure includes the environments, targets, workers and accounts that you will be deploying to. The infrastructure overview will help you keep track\n of the health status and the types of deployment targets and workers you have.\n

\n
\n
);\n },\n renderTopics: (renderProps: RenderRegistrationCardProps) => null,\n};\n","import * as React from \"react\";\nimport pageIds from \"~/pageIds\";\nimport type { CategorizedPageHelpRegistration, RenderRegistrationCardProps } from \"../../../Registry/pageHelpRegistry\";\nimport { CommonInfrastructureProxyOverview } from \"../../CommonComponents/CommonInfrastructureProxyViews\";\nexport const InfrastructureProxiesNewRegistration: CategorizedPageHelpRegistration = {\n page: pageIds.infrastructure.proxies.create,\n renderOverview: (renderProps: RenderRegistrationCardProps) => {\n return ;\n },\n renderTopics: (renderProps: RenderRegistrationCardProps) => null,\n};\n","import * as React from \"react\";\nimport pageIds from \"~/pageIds\";\nimport type { CategorizedPageHelpRegistration, RenderRegistrationCardProps } from \"../../../Registry/pageHelpRegistry\";\nimport { CommonInfrastructureProxyOverview } from \"../../CommonComponents/CommonInfrastructureProxyViews\";\nexport const InfrastructureProxiesRegistration: CategorizedPageHelpRegistration = {\n page: pageIds.infrastructure.proxies.root,\n renderOverview: (renderProps: RenderRegistrationCardProps) => {\n return ;\n },\n renderTopics: (renderProps: RenderRegistrationCardProps) => null,\n};\n","import * as React from \"react\";\nimport pageIds from \"~/pageIds\";\nimport type { CategorizedPageHelpRegistration, RenderRegistrationCardProps } from \"../../../Registry/pageHelpRegistry\";\nimport { CommonInfrastructureProxyOverview } from \"../../CommonComponents/CommonInfrastructureProxyViews\";\nexport const InfrastructureProxyRegistration: CategorizedPageHelpRegistration = {\n page: pageIds.infrastructure.proxy,\n renderOverview: (renderProps: RenderRegistrationCardProps) => {\n return ;\n },\n renderTopics: (renderProps: RenderRegistrationCardProps) => null,\n};\n","import pageIds from \"~/pageIds\";\nimport type { CategorizedPageHelpRegistration, RenderRegistrationCardProps } from \"../../../Registry/pageHelpRegistry\";\nexport const InfrastructureRegistration: CategorizedPageHelpRegistration = {\n page: pageIds.infrastructure.root,\n renderOverview: (renderProps: RenderRegistrationCardProps) => {\n return null;\n },\n renderTopics: (renderProps: RenderRegistrationCardProps) => {\n return null;\n },\n};\n","import * as React from \"react\";\nimport pageIds from \"~/pageIds\";\nimport type { CategorizedPageHelpRegistration, RenderRegistrationCardProps } from \"../../../Registry/pageHelpRegistry\";\nimport { CommonWorkerOverview, CommonWorkerTopics } from \"../../CommonComponents/CommonWorkerViews\";\nexport const InfrastructureWorkerConnectivityRegistration: CategorizedPageHelpRegistration = {\n page: pageIds.infrastructure.workerMachine.connection,\n renderOverview: (renderProps: RenderRegistrationCardProps) => {\n return ;\n },\n renderTopics: (renderProps: RenderRegistrationCardProps) => {\n return ;\n },\n};\n","import * as React from \"react\";\nimport pageIds from \"~/pageIds\";\nimport type { CategorizedPageHelpRegistration, RenderRegistrationCardProps } from \"../../../Registry/pageHelpRegistry\";\nimport { CommonWorkerOverview, CommonWorkerTopics } from \"../../CommonComponents/CommonWorkerViews\";\nexport const InfrastructureWorkerEventsRegistration: CategorizedPageHelpRegistration = {\n page: pageIds.infrastructure.workerMachine.events,\n renderOverview: (renderProps: RenderRegistrationCardProps) => {\n return ;\n },\n renderTopics: (renderProps: RenderRegistrationCardProps) => {\n return ;\n },\n};\n","import * as React from \"react\";\nimport pageIds from \"~/pageIds\";\nimport type { CategorizedPageHelpRegistration, RenderRegistrationCardProps } from \"../../../Registry/pageHelpRegistry\";\nimport { CommonWorkerPoolOverview } from \"../../CommonComponents/CommonWorkerPoolViews\";\nexport const InfrastructureWorkerPoolNewRegistration: CategorizedPageHelpRegistration = {\n page: pageIds.infrastructure.workerPools.create,\n renderOverview: (renderProps: RenderRegistrationCardProps) => {\n return ;\n },\n renderTopics: (renderProps: RenderRegistrationCardProps) => null,\n};\n","import * as React from \"react\";\nimport pageIds from \"~/pageIds\";\nimport type { CategorizedPageHelpRegistration, RenderRegistrationCardProps } from \"../../../Registry/pageHelpRegistry\";\nimport { CommonWorkerPoolOverview } from \"../../CommonComponents/CommonWorkerPoolViews\";\nexport const InfrastructureWorkerPoolRegistration: CategorizedPageHelpRegistration = {\n page: pageIds.infrastructure.workerPool,\n renderOverview: (renderProps: RenderRegistrationCardProps) => {\n return ;\n },\n renderTopics: (renderProps: RenderRegistrationCardProps) => null,\n};\n","import * as React from \"react\";\nimport pageIds from \"~/pageIds\";\nimport type { CategorizedPageHelpRegistration, RenderRegistrationCardProps } from \"../../../Registry/pageHelpRegistry\";\nimport { CommonWorkerPoolOverview } from \"../../CommonComponents/CommonWorkerPoolViews\";\nexport const InfrastructureWorkerPoolsFilteredRegistration: CategorizedPageHelpRegistration = {\n page: pageIds.infrastructure.workerPools.filtered,\n renderOverview: (renderProps: RenderRegistrationCardProps) => {\n return ;\n },\n renderTopics: (renderProps: RenderRegistrationCardProps) => null,\n};\n","import * as React from \"react\";\nimport pageIds from \"~/pageIds\";\nimport type { CategorizedPageHelpRegistration, RenderRegistrationCardProps } from \"../../../Registry/pageHelpRegistry\";\nimport { CommonWorkerPoolOverview } from \"../../CommonComponents/CommonWorkerPoolViews\";\nexport const InfrastructureWorkerPoolsRegistration: CategorizedPageHelpRegistration = {\n page: pageIds.infrastructure.workerPools.root,\n renderOverview: (renderProps: RenderRegistrationCardProps) => {\n return ;\n },\n renderTopics: (renderProps: RenderRegistrationCardProps) => null,\n};\n","import * as React from \"react\";\nimport pageIds from \"~/pageIds\";\nimport type { CategorizedPageHelpRegistration, RenderRegistrationCardProps } from \"../../../Registry/pageHelpRegistry\";\nimport { CommonWorkerOverview, CommonWorkerTopics } from \"../../CommonComponents/CommonWorkerViews\";\nexport const InfrastructureWorkerRegistration: CategorizedPageHelpRegistration = {\n page: pageIds.infrastructure.workerMachine.root,\n renderOverview: (renderProps: RenderRegistrationCardProps) => {\n return ;\n },\n renderTopics: (renderProps: RenderRegistrationCardProps) => {\n return ;\n },\n};\n","import * as React from \"react\";\nimport pageIds from \"~/pageIds\";\nimport type { CategorizedPageHelpRegistration, RenderRegistrationCardProps } from \"../../../Registry/pageHelpRegistry\";\nimport { CommonWorkerOverview, CommonWorkerTopics } from \"../../CommonComponents/CommonWorkerViews\";\nexport const InfrastructureWorkerSettingsRegistration: CategorizedPageHelpRegistration = {\n page: pageIds.infrastructure.workerMachine.settings,\n renderOverview: (renderProps: RenderRegistrationCardProps) => {\n return ;\n },\n renderTopics: (renderProps: RenderRegistrationCardProps) => {\n return ;\n },\n};\n","import * as React from \"react\";\nimport pageIds from \"~/pageIds\";\nimport type { CategorizedPageHelpRegistration, RenderRegistrationCardProps } from \"../../../Registry/pageHelpRegistry\";\nimport { CommonWorkerOverview, CommonWorkerTopics } from \"../../CommonComponents/CommonWorkerViews\";\nexport const InfrastructureWorkersDiscoverRegistration: CategorizedPageHelpRegistration = {\n page: pageIds.infrastructure.workerMachines.discover,\n renderOverview: (renderProps: RenderRegistrationCardProps) => {\n return ;\n },\n renderTopics: (renderProps: RenderRegistrationCardProps) => {\n return ;\n },\n};\n","import * as React from \"react\";\nimport pageIds from \"~/pageIds\";\nimport type { CategorizedPageHelpRegistration, RenderRegistrationCardProps } from \"../../../Registry/pageHelpRegistry\";\nimport { CommonWorkerOverview, CommonWorkerTopics } from \"../../CommonComponents/CommonWorkerViews\";\nexport const InfrastructureWorkersFilteredRegistration: CategorizedPageHelpRegistration = {\n page: pageIds.infrastructure.workerMachines.filtered,\n renderOverview: (renderProps: RenderRegistrationCardProps) => {\n return ;\n },\n renderTopics: (renderProps: RenderRegistrationCardProps) => {\n return ;\n },\n};\n","import * as React from \"react\";\nimport pageIds from \"~/pageIds\";\nimport type { CategorizedPageHelpRegistration, RenderRegistrationCardProps } from \"../../../Registry/pageHelpRegistry\";\nimport { CommonWorkerOverview, CommonWorkerTopics } from \"../../CommonComponents/CommonWorkerViews\";\nexport const InfrastructureWorkersNewRegistration: CategorizedPageHelpRegistration = {\n page: pageIds.infrastructure.workerMachines.create,\n renderOverview: (renderProps: RenderRegistrationCardProps) => {\n return ;\n },\n renderTopics: (renderProps: RenderRegistrationCardProps) => {\n return ;\n },\n};\n","import * as React from \"react\";\nimport pageIds from \"~/pageIds\";\nimport type { CategorizedPageHelpRegistration, RenderRegistrationCardProps } from \"../../../Registry/pageHelpRegistry\";\nimport { CommonWorkerOverview, CommonWorkerTopics } from \"../../CommonComponents/CommonWorkerViews\";\nexport const InfrastructureWorkersRegistration: CategorizedPageHelpRegistration = {\n page: pageIds.infrastructure.workerMachines.root,\n renderOverview: (renderProps: RenderRegistrationCardProps) => {\n return ;\n },\n renderTopics: (renderProps: RenderRegistrationCardProps) => {\n return ;\n },\n};\n","import * as React from \"react\";\nimport pageIds from \"~/pageIds\";\nimport type { CategorizedPageHelpRegistration, RenderRegistrationCardProps } from \"../../../Registry/pageHelpRegistry\";\nimport { CommonWorkerOverview, CommonWorkerTopics } from \"../../CommonComponents/CommonWorkerViews\";\nexport const InfrastructureWorkersSelectRegistration: CategorizedPageHelpRegistration = {\n page: pageIds.infrastructure.workerMachines.select,\n renderOverview: (renderProps: RenderRegistrationCardProps) => {\n return ;\n },\n renderTopics: (renderProps: RenderRegistrationCardProps) => {\n return ;\n },\n};\n","import * as React from \"react\";\nimport { CommonInsightsReportHelp } from \"~/components/ContextualHelpLayout/PageHelpRegistry/Registrations/CommonComponents/CommonInsightViews\";\nimport { CommonInsightsDeploymentDurationOverview, CommonInsightsDeploymentDurationTopics } from \"~/components/ContextualHelpLayout/PageHelpRegistry/Registrations/CommonComponents/CommonInsightsDeploymentDurationViews\";\nimport pageIds from \"~/pageIds\";\nimport type { CategorizedPageHelpRegistration } from \"../../../Registry/pageHelpRegistry\";\nexport const InsightsReportDeploymentDurationRegistration: CategorizedPageHelpRegistration = {\n page: pageIds.insights.report.deploymentDuration,\n renderOverview: (props) => (<>\n \n ),\n renderTopics: (props) => ,\n};\n","import * as React from \"react\";\nimport { CommonInsightsReportHelp } from \"~/components/ContextualHelpLayout/PageHelpRegistry/Registrations/CommonComponents/CommonInsightViews\";\nimport { CommonInsightsDeploymentFailureRateOverview, CommonInsightsDeploymentFailureRateTopics } from \"~/components/ContextualHelpLayout/PageHelpRegistry/Registrations/CommonComponents/CommonInsightsDeploymentFailureRateViews\";\nimport pageIds from \"~/pageIds\";\nimport type { CategorizedPageHelpRegistration } from \"../../../Registry/pageHelpRegistry\";\nexport const InsightsReportDeploymentFailureRateRegistration: CategorizedPageHelpRegistration = {\n page: pageIds.insights.report.failureRate,\n renderOverview: (props) => (<>\n \n ),\n renderTopics: (props) => ,\n};\n","import * as React from \"react\";\nimport { CommonInsightsReportHelp } from \"~/components/ContextualHelpLayout/PageHelpRegistry/Registrations/CommonComponents/CommonInsightViews\";\nimport { CommonInsightsDeploymentFrequencyOverview, CommonInsightsDeploymentFrequencyTopics } from \"~/components/ContextualHelpLayout/PageHelpRegistry/Registrations/CommonComponents/CommonInsightsDeploymentFrequencyViews\";\nimport pageIds from \"~/pageIds\";\nimport type { CategorizedPageHelpRegistration } from \"../../../Registry/pageHelpRegistry\";\nexport const InsightsReportDeploymentFrequencyRegistration: CategorizedPageHelpRegistration = {\n page: pageIds.insights.report.frequency,\n renderOverview: (props) => (<>\n \n ),\n renderTopics: (props) => ,\n};\n","import * as React from \"react\";\nimport { CommonInsightsReportHelp } from \"~/components/ContextualHelpLayout/PageHelpRegistry/Registrations/CommonComponents/CommonInsightViews\";\nimport { CommonInsightsDeploymentLeadTimeOverview, CommonInsightsDeploymentLeadTimeTopics } from \"~/components/ContextualHelpLayout/PageHelpRegistry/Registrations/CommonComponents/CommonInsightsDeploymentLeadTimeViews\";\nimport pageIds from \"~/pageIds\";\nimport type { CategorizedPageHelpRegistration } from \"../../../Registry/pageHelpRegistry\";\nexport const InsightsReportDeploymentLeadTimeRegistration: CategorizedPageHelpRegistration = {\n page: pageIds.insights.report.leadTime,\n renderOverview: (props) => (<>\n \n ),\n renderTopics: (props) => ,\n};\n","import * as React from \"react\";\nimport { LearnMoreResources, TopicsContainer } from \"~/components/ContextualHelpLayout/PageHelpRegistry/Registrations/CommonComponents/CommonViews\";\nimport ExternalLink from \"~/components/Navigation/ExternalLink\";\nimport pageIds from \"~/pageIds\";\nimport type { CategorizedPageHelpRegistration } from \"../../../Registry/pageHelpRegistry\";\nimport { DefaultOverview } from \"../../CommonComponents/DefaultViews\";\nexport const InsightsReportListRegistration: CategorizedPageHelpRegistration = {\n page: pageIds.insights.reports,\n renderOverview: () => ,\n renderTopics: () => {\n return (\n \n
\n Insights Reports\n
\n
\n
);\n },\n};\n","import * as React from \"react\";\nimport { CommonInsightsReportHelp } from \"~/components/ContextualHelpLayout/PageHelpRegistry/Registrations/CommonComponents/CommonInsightViews\";\nimport { CommonInsightsMeanTimeToRecoveryOverview, CommonInsightsMeanTimeToRecoveryTopics } from \"~/components/ContextualHelpLayout/PageHelpRegistry/Registrations/CommonComponents/CommonInsightsMeanTimeToRecoveryViews\";\nimport pageIds from \"~/pageIds\";\nimport type { CategorizedPageHelpRegistration } from \"../../../Registry/pageHelpRegistry\";\nexport const InsightsReportMeanTimeToRecoveryRegistration: CategorizedPageHelpRegistration = {\n page: pageIds.insights.report.timeToRecovery,\n renderOverview: (props) => (<>\n \n ),\n renderTopics: (props) => ,\n};\n","import * as React from \"react\";\nimport { LearnMoreResources, OverviewContainer, OverviewHighlightText, TopicsContainer } from \"~/components/ContextualHelpLayout/PageHelpRegistry/Registrations/CommonComponents/CommonViews\";\nimport ExternalLink from \"~/components/Navigation/ExternalLink\";\nimport pageIds from \"~/pageIds\";\nimport type { CategorizedPageHelpRegistration } from \"../../../Registry/pageHelpRegistry\";\nexport const InsightsReportOverviewRegistration: CategorizedPageHelpRegistration = {\n page: pageIds.insights.report.overview,\n renderOverview: (props) => (\n \n

\n The Insights Report Overview page is where you can view charts for all four Insights metrics at once. To see more detail, select one of the four metrics links on the left.\n

\n

\n The Settings link allows you to manage the project groups and environments groups used within this report, as well as the report logo, name, and description.\n

\n
\n
),\n renderTopics: (props) => {\n return (\n \n
\n Insights Reports\n
\n
\n
);\n },\n};\n","import * as React from \"react\";\nimport { OverviewContainer, OverviewHighlightText } from \"~/components/ContextualHelpLayout/PageHelpRegistry/Registrations/CommonComponents/CommonViews\";\nimport pageIds from \"~/pageIds\";\nimport type { CategorizedPageHelpRegistration } from \"../../../Registry/pageHelpRegistry\";\nexport const InsightsReportSettingsRegistration: CategorizedPageHelpRegistration = {\n page: pageIds.insights.report.settings,\n renderOverview: (props) => (\n \n

\n Insights Report Settings allow you to edit details about the report, such as the name, description, and add a logo. It also allows you to manage the project groups and environments groups used within the report.\n

\n
\n
),\n renderTopics: (props) => null,\n};\n","import * as React from \"react\";\nimport { CommonInsightsReportsView } from \"~/components/ContextualHelpLayout/PageHelpRegistry/Registrations/CommonComponents/CommonInsightsReportsView\";\nimport pageIds from \"~/pageIds\";\nimport type { CategorizedPageHelpRegistration } from \"../../../Registry/pageHelpRegistry\";\nexport const InsightsReportsRegistration: CategorizedPageHelpRegistration = {\n page: pageIds.insights.reports,\n renderOverview: (props) => ,\n renderTopics: (props) => null,\n};\n","import * as React from \"react\";\nimport { CommonInsightsReportsView } from \"~/components/ContextualHelpLayout/PageHelpRegistry/Registrations/CommonComponents/CommonInsightsReportsView\";\nimport pageIds from \"~/pageIds\";\nimport type { CategorizedPageHelpRegistration } from \"../../../Registry/pageHelpRegistry\";\nexport const InsightsUpsellRegistration: CategorizedPageHelpRegistration = {\n page: pageIds.insights.reports,\n renderOverview: (props) => ,\n renderTopics: (props) => null,\n};\n","import * as React from \"react\";\nimport { CommonLibraryBuildInformationRepositoryOverview } from \"~/components/ContextualHelpLayout/PageHelpRegistry/Registrations/CommonComponents/CommonLibraryBuildInformationRepositoryViews\";\nimport pageIds from \"~/pageIds\";\nimport type { CategorizedPageHelpRegistration, RenderRegistrationCardProps } from \"../../../Registry/pageHelpRegistry\";\nexport const LibraryBuildInformationRepositoryPackageRegistration: CategorizedPageHelpRegistration = {\n page: pageIds.library.buildInformationRepository.package,\n renderOverview: (renderProps: RenderRegistrationCardProps) => {\n return ;\n },\n renderTopics: (renderProps: RenderRegistrationCardProps) => null,\n};\n","import * as React from \"react\";\nimport { CommonLibraryBuildInformationRepositoryOverview } from \"~/components/ContextualHelpLayout/PageHelpRegistry/Registrations/CommonComponents/CommonLibraryBuildInformationRepositoryViews\";\nimport pageIds from \"~/pageIds\";\nimport type { CategorizedPageHelpRegistration, RenderRegistrationCardProps } from \"../../../Registry/pageHelpRegistry\";\nexport const LibraryBuildInformationRepositoryRegistration: CategorizedPageHelpRegistration = {\n page: pageIds.library.buildInformationRepository.root,\n renderOverview: (renderProps: RenderRegistrationCardProps) => {\n return ;\n },\n renderTopics: (renderProps: RenderRegistrationCardProps) => null,\n};\n","import * as React from \"react\";\nimport { CommonLibraryBuildInformationRepositoryOverview } from \"~/components/ContextualHelpLayout/PageHelpRegistry/Registrations/CommonComponents/CommonLibraryBuildInformationRepositoryViews\";\nimport pageIds from \"~/pageIds\";\nimport type { CategorizedPageHelpRegistration, RenderRegistrationCardProps } from \"../../../Registry/pageHelpRegistry\";\nexport const LibraryBuildInformationRepositoryVersionsRegistration: CategorizedPageHelpRegistration = {\n page: pageIds.library.buildInformationRepository.versions,\n renderOverview: (renderProps: RenderRegistrationCardProps) => {\n return ;\n },\n renderTopics: (renderProps: RenderRegistrationCardProps) => null,\n};\n","import * as React from \"react\";\nimport pageIds from \"~/pageIds\";\nimport type { CategorizedPageHelpRegistration, RenderRegistrationCardProps } from \"../../../Registry/pageHelpRegistry\";\nimport { CommonLibraryBuiltInRepositoryOverview } from \"../../CommonComponents/CommonLibraryBuiltInRepositoryViews\";\nexport const LibraryBuiltInRepositoryPackageRegistration: CategorizedPageHelpRegistration = {\n page: pageIds.library.builtInRepository.package,\n renderOverview: (renderProps: RenderRegistrationCardProps) => {\n return ;\n },\n renderTopics: (renderProps: RenderRegistrationCardProps) => null,\n};\n","import * as React from \"react\";\nimport pageIds from \"~/pageIds\";\nimport type { CategorizedPageHelpRegistration, RenderRegistrationCardProps } from \"../../../Registry/pageHelpRegistry\";\nimport { CommonLibraryBuiltInRepositoryOverview } from \"../../CommonComponents/CommonLibraryBuiltInRepositoryViews\";\nexport const LibraryBuiltInRepositoryPackageVersionsRegistration: CategorizedPageHelpRegistration = {\n page: pageIds.library.builtInRepository.versions,\n renderOverview: (renderProps: RenderRegistrationCardProps) => {\n return ;\n },\n renderTopics: (renderProps: RenderRegistrationCardProps) => null,\n};\n","import * as React from \"react\";\nimport pageIds from \"~/pageIds\";\nimport type { CategorizedPageHelpRegistration, RenderRegistrationCardProps } from \"../../../Registry/pageHelpRegistry\";\nimport { CommonLibraryBuiltInRepositoryOverview } from \"../../CommonComponents/CommonLibraryBuiltInRepositoryViews\";\nexport const LibraryBuiltInRepositoryRegistration: CategorizedPageHelpRegistration = {\n page: pageIds.library.builtInRepository.root,\n renderOverview: (renderProps: RenderRegistrationCardProps) => {\n return ;\n },\n renderTopics: (renderProps: RenderRegistrationCardProps) => null,\n};\n","import * as React from \"react\";\nimport pageIds from \"~/pageIds\";\nimport type { CategorizedPageHelpRegistration, RenderRegistrationCardProps } from \"../../../Registry/pageHelpRegistry\";\nimport { CommonLibraryCertificateOverview } from \"../../CommonComponents/CommonLibraryCertificateViews\";\nexport const LibraryCertificateRegistration: CategorizedPageHelpRegistration = {\n page: pageIds.library.certificate,\n renderOverview: (renderProps: RenderRegistrationCardProps) => {\n return ;\n },\n renderTopics: (renderProps: RenderRegistrationCardProps) => null,\n};\n","import * as React from \"react\";\nimport pageIds from \"~/pageIds\";\nimport type { CategorizedPageHelpRegistration, RenderRegistrationCardProps } from \"../../../Registry/pageHelpRegistry\";\nimport { CommonLibraryCertificateOverview } from \"../../CommonComponents/CommonLibraryCertificateViews\";\nexport const LibraryCertificatesArchiveRegistration: CategorizedPageHelpRegistration = {\n page: pageIds.library.certificates.archive,\n renderOverview: (renderProps: RenderRegistrationCardProps) => {\n return ;\n },\n renderTopics: (renderProps: RenderRegistrationCardProps) => null,\n};\n","import * as React from \"react\";\nimport pageIds from \"~/pageIds\";\nimport type { CategorizedPageHelpRegistration, RenderRegistrationCardProps } from \"../../../Registry/pageHelpRegistry\";\nimport { CommonLibraryCertificateOverview } from \"../../CommonComponents/CommonLibraryCertificateViews\";\nexport const LibraryCertificatesNewRegistration: CategorizedPageHelpRegistration = {\n page: pageIds.library.certificates.create,\n renderOverview: (renderProps: RenderRegistrationCardProps) => {\n return ;\n },\n renderTopics: (renderProps: RenderRegistrationCardProps) => null,\n};\n","import * as React from \"react\";\nimport pageIds from \"~/pageIds\";\nimport type { CategorizedPageHelpRegistration, RenderRegistrationCardProps } from \"../../../Registry/pageHelpRegistry\";\nimport { CommonLibraryCertificateOverview } from \"../../CommonComponents/CommonLibraryCertificateViews\";\nexport const LibraryCertificatesRegistration: CategorizedPageHelpRegistration = {\n page: pageIds.library.certificates.root,\n renderOverview: (renderProps: RenderRegistrationCardProps) => {\n return ;\n },\n renderTopics: (renderProps: RenderRegistrationCardProps) => null,\n};\n","import * as React from \"react\";\nimport pageIds from \"~/pageIds\";\nimport type { CategorizedPageHelpRegistration, RenderRegistrationCardProps } from \"../../../Registry/pageHelpRegistry\";\nimport { CommonLibraryFeedOverview } from \"../../CommonComponents/CommonLibraryFeedViews\";\nexport const LibraryFeedRegistration: CategorizedPageHelpRegistration = {\n page: pageIds.library.feed.root,\n renderOverview: (renderProps: RenderRegistrationCardProps) => {\n return ;\n },\n renderTopics: (renderProps: RenderRegistrationCardProps) => null,\n};\n","import * as React from \"react\";\nimport pageIds from \"~/pageIds\";\nimport type { CategorizedPageHelpRegistration, RenderRegistrationCardProps } from \"../../../Registry/pageHelpRegistry\";\nimport { CommonLibraryFeedOverview } from \"../../CommonComponents/CommonLibraryFeedViews\";\nexport const LibraryFeedTestRegistration: CategorizedPageHelpRegistration = {\n page: pageIds.library.feed.test,\n renderOverview: (renderProps: RenderRegistrationCardProps) => {\n return ;\n },\n renderTopics: (renderProps: RenderRegistrationCardProps) => null,\n};\n","import * as React from \"react\";\nimport pageIds from \"~/pageIds\";\nimport type { CategorizedPageHelpRegistration, RenderRegistrationCardProps } from \"../../../Registry/pageHelpRegistry\";\nimport { CommonLibraryFeedOverview } from \"../../CommonComponents/CommonLibraryFeedViews\";\nexport const LibraryFeedsNewRegistration: CategorizedPageHelpRegistration = {\n page: pageIds.library.feedCreate,\n renderOverview: (renderProps: RenderRegistrationCardProps) => {\n return ;\n },\n renderTopics: (renderProps: RenderRegistrationCardProps) => null,\n};\n","import * as React from \"react\";\nimport pageIds from \"~/pageIds\";\nimport type { CategorizedPageHelpRegistration, RenderRegistrationCardProps } from \"../../../Registry/pageHelpRegistry\";\nimport { CommonLibraryFeedOverview } from \"../../CommonComponents/CommonLibraryFeedViews\";\nexport const LibraryFeedsRegistration: CategorizedPageHelpRegistration = {\n page: pageIds.library.feeds,\n renderOverview: (renderProps: RenderRegistrationCardProps) => {\n return ;\n },\n renderTopics: (renderProps: RenderRegistrationCardProps) => null,\n};\n","import * as React from \"react\";\nimport pageIds from \"~/pageIds\";\nimport type { CategorizedPageHelpRegistration, RenderRegistrationCardProps } from \"../../../Registry/pageHelpRegistry\";\nimport { CommonLibraryGitConnectionOverview, CommonLibraryGitConnectionTopics } from \"../../CommonComponents/CommonLibraryGitConnectionViews\";\nexport const LibraryGitConnectionsAddRegistration: CategorizedPageHelpRegistration = {\n page: pageIds.library.gitConnections.addGitHub,\n renderOverview: (renderProps: RenderRegistrationCardProps) => {\n return ;\n },\n renderTopics: (renderProps: RenderRegistrationCardProps) => {\n return ;\n },\n};\n","import * as React from \"react\";\nimport pageIds from \"~/pageIds\";\nimport type { CategorizedPageHelpRegistration, RenderRegistrationCardProps } from \"../../../Registry/pageHelpRegistry\";\nimport { CommonLibraryGitConnectionOverview, CommonLibraryGitConnectionTopics } from \"../../CommonComponents/CommonLibraryGitConnectionViews\";\nexport const LibraryGitConnectionsGetRegistration: CategorizedPageHelpRegistration = {\n page: pageIds.library.gitConnections.getGitHub,\n renderOverview: (renderProps: RenderRegistrationCardProps) => {\n return ;\n },\n renderTopics: (renderProps: RenderRegistrationCardProps) => {\n return ;\n },\n};\n","import * as React from \"react\";\nimport pageIds from \"~/pageIds\";\nimport type { CategorizedPageHelpRegistration, RenderRegistrationCardProps } from \"../../../Registry/pageHelpRegistry\";\nimport { CommonLibraryGitConnectionOverview, CommonLibraryGitConnectionTopics } from \"../../CommonComponents/CommonLibraryGitConnectionViews\";\nexport const LibraryGitConnectionsRegistration: CategorizedPageHelpRegistration = {\n page: pageIds.library.gitConnections.root,\n renderOverview: (renderProps: RenderRegistrationCardProps) => {\n return ;\n },\n renderTopics: (renderProps: RenderRegistrationCardProps) => {\n return ;\n },\n};\n","import * as React from \"react\";\nimport { CommonLibraryGitCredentialsOverview, CommonLibraryGitCredentialsTopics } from \"~/components/ContextualHelpLayout/PageHelpRegistry/Registrations/CommonComponents/CommonLibraryGitCredentialsViews\";\nimport pageIds from \"~/pageIds\";\nimport type { CategorizedPageHelpRegistration, RenderRegistrationCardProps } from \"../../../Registry/pageHelpRegistry\";\nexport const LibraryGitCredentialRegistration: CategorizedPageHelpRegistration = {\n page: pageIds.library.gitCredential.root,\n renderOverview: (renderProps: RenderRegistrationCardProps) => {\n return ;\n },\n renderTopics: (renderProps: RenderRegistrationCardProps) => {\n return ;\n },\n};\n","import * as React from \"react\";\nimport { CommonLibraryGitCredentialsOverview, CommonLibraryGitCredentialsTopics } from \"~/components/ContextualHelpLayout/PageHelpRegistry/Registrations/CommonComponents/CommonLibraryGitCredentialsViews\";\nimport pageIds from \"~/pageIds\";\nimport type { CategorizedPageHelpRegistration, RenderRegistrationCardProps } from \"../../../Registry/pageHelpRegistry\";\nexport const LibraryGitCredentialUsageRegistration: CategorizedPageHelpRegistration = {\n page: pageIds.library.gitCredential.usage,\n renderOverview: (renderProps: RenderRegistrationCardProps) => {\n return ;\n },\n renderTopics: (renderProps: RenderRegistrationCardProps) => {\n return ;\n },\n};\n","import * as React from \"react\";\nimport { CommonLibraryGitCredentialsOverview, CommonLibraryGitCredentialsTopics } from \"~/components/ContextualHelpLayout/PageHelpRegistry/Registrations/CommonComponents/CommonLibraryGitCredentialsViews\";\nimport pageIds from \"~/pageIds\";\nimport type { CategorizedPageHelpRegistration, RenderRegistrationCardProps } from \"../../../Registry/pageHelpRegistry\";\nexport const LibraryGitCredentialsCreateRegistration: CategorizedPageHelpRegistration = {\n page: pageIds.library.gitCredentials.create,\n renderOverview: (renderProps: RenderRegistrationCardProps) => {\n return ;\n },\n renderTopics: (renderProps: RenderRegistrationCardProps) => {\n return ;\n },\n};\n","import * as React from \"react\";\nimport { CommonLibraryGitCredentialsOverview, CommonLibraryGitCredentialsTopics } from \"~/components/ContextualHelpLayout/PageHelpRegistry/Registrations/CommonComponents/CommonLibraryGitCredentialsViews\";\nimport pageIds from \"~/pageIds\";\nimport type { CategorizedPageHelpRegistration, RenderRegistrationCardProps } from \"../../../Registry/pageHelpRegistry\";\nexport const LibraryGitCredentialsRegistration: CategorizedPageHelpRegistration = {\n page: pageIds.library.gitCredentials.root,\n renderOverview: (renderProps: RenderRegistrationCardProps) => {\n return ;\n },\n renderTopics: (renderProps: RenderRegistrationCardProps) => {\n return ;\n },\n};\n","import * as React from \"react\";\nimport pageIds from \"~/pageIds\";\nimport type { CategorizedPageHelpRegistration, RenderRegistrationCardProps } from \"../../../Registry/pageHelpRegistry\";\nimport { CommonLibraryLifecycleOverview } from \"../../CommonComponents/CommonLibraryLifecycleViews\";\nexport const LibraryLifecycleRegistration: CategorizedPageHelpRegistration = {\n page: pageIds.library.lifecycle,\n renderOverview: (renderProps: RenderRegistrationCardProps) => {\n return ;\n },\n renderTopics: (renderProps: RenderRegistrationCardProps) => null,\n};\n","import * as React from \"react\";\nimport pageIds from \"~/pageIds\";\nimport type { CategorizedPageHelpRegistration, RenderRegistrationCardProps } from \"../../../Registry/pageHelpRegistry\";\nimport { CommonLibraryLifecycleOverview } from \"../../CommonComponents/CommonLibraryLifecycleViews\";\nexport const LibraryLifecyclesNewRegistration: CategorizedPageHelpRegistration = {\n page: pageIds.library.lifecyclesCreate,\n renderOverview: (renderProps: RenderRegistrationCardProps) => {\n return ;\n },\n renderTopics: (renderProps: RenderRegistrationCardProps) => null,\n};\n","import * as React from \"react\";\nimport pageIds from \"~/pageIds\";\nimport type { CategorizedPageHelpRegistration, RenderRegistrationCardProps } from \"../../../Registry/pageHelpRegistry\";\nimport { CommonLibraryLifecycleOverview } from \"../../CommonComponents/CommonLibraryLifecycleViews\";\nexport const LibraryLifecyclesRegistration: CategorizedPageHelpRegistration = {\n page: pageIds.library.lifecycles,\n renderOverview: (renderProps: RenderRegistrationCardProps) => {\n return ;\n },\n renderTopics: (renderProps: RenderRegistrationCardProps) => null,\n};\n","import pageIds from \"~/pageIds\";\nimport type { CategorizedPageHelpRegistration, RenderRegistrationCardProps } from \"../../../Registry/pageHelpRegistry\";\nexport const LibraryRegistration: CategorizedPageHelpRegistration = {\n page: pageIds.library.root,\n renderOverview: (renderProps: RenderRegistrationCardProps) => {\n return null;\n },\n renderTopics: (renderProps: RenderRegistrationCardProps) => {\n return null;\n },\n};\n","import * as React from \"react\";\nimport pageIds from \"~/pageIds\";\nimport type { CategorizedPageHelpRegistration, RenderRegistrationCardProps } from \"../../../Registry/pageHelpRegistry\";\nimport { CommonLibraryScriptModuleOverview } from \"../../CommonComponents/CommonLibraryScriptModuleViews\";\nexport const LibraryScriptModuleRegistration: CategorizedPageHelpRegistration = {\n page: pageIds.library.scriptModule,\n renderOverview: (renderProps: RenderRegistrationCardProps) => {\n return ;\n },\n renderTopics: (renderProps: RenderRegistrationCardProps) => null,\n};\n","import * as React from \"react\";\nimport pageIds from \"~/pageIds\";\nimport type { CategorizedPageHelpRegistration, RenderRegistrationCardProps } from \"../../../Registry/pageHelpRegistry\";\nimport { CommonLibraryScriptModuleOverview } from \"../../CommonComponents/CommonLibraryScriptModuleViews\";\nexport const LibraryScriptModulesNewRegistration: CategorizedPageHelpRegistration = {\n page: pageIds.library.scriptModules.create,\n renderOverview: (renderProps: RenderRegistrationCardProps) => {\n return ;\n },\n renderTopics: (renderProps: RenderRegistrationCardProps) => null,\n};\n","import * as React from \"react\";\nimport pageIds from \"~/pageIds\";\nimport type { CategorizedPageHelpRegistration, RenderRegistrationCardProps } from \"../../../Registry/pageHelpRegistry\";\nimport { CommonLibraryScriptModuleOverview } from \"../../CommonComponents/CommonLibraryScriptModuleViews\";\nexport const LibraryScriptModulesRegistration: CategorizedPageHelpRegistration = {\n page: pageIds.library.scriptModules.root,\n renderOverview: (renderProps: RenderRegistrationCardProps) => {\n return ;\n },\n renderTopics: (renderProps: RenderRegistrationCardProps) => null,\n};\n","import * as React from \"react\";\nimport pageIds from \"~/pageIds\";\nimport type { CategorizedPageHelpRegistration, RenderRegistrationCardProps } from \"../../../Registry/pageHelpRegistry\";\nimport { CommonLibraryStepTemplateOverview } from \"../../CommonComponents/CommonLibraryStepTemplateViews\";\nexport const LibraryStepTemplateNewRegistration: CategorizedPageHelpRegistration = {\n page: pageIds.library.stepTemplates.new,\n renderOverview: (renderProps: RenderRegistrationCardProps) => {\n return ;\n },\n renderTopics: (renderProps: RenderRegistrationCardProps) => null,\n};\n","import * as React from \"react\";\nimport pageIds from \"~/pageIds\";\nimport type { CategorizedPageHelpRegistration, RenderRegistrationCardProps } from \"../../../Registry/pageHelpRegistry\";\nimport { CommonLibraryStepTemplateOverview } from \"../../CommonComponents/CommonLibraryStepTemplateViews\";\nexport const LibraryStepTemplateRegistration: CategorizedPageHelpRegistration = {\n page: pageIds.library.stepTemplate.root,\n renderOverview: (renderProps: RenderRegistrationCardProps) => {\n return ;\n },\n renderTopics: (renderProps: RenderRegistrationCardProps) => null,\n};\n","import * as React from \"react\";\nimport pageIds from \"~/pageIds\";\nimport type { CategorizedPageHelpRegistration, RenderRegistrationCardProps } from \"../../../Registry/pageHelpRegistry\";\nimport { CommonLibraryStepTemplateOverview } from \"../../CommonComponents/CommonLibraryStepTemplateViews\";\nexport const LibraryStepTemplateRunRegistration: CategorizedPageHelpRegistration = {\n page: pageIds.library.stepTemplate.run,\n renderOverview: (renderProps: RenderRegistrationCardProps) => {\n return ;\n },\n renderTopics: (renderProps: RenderRegistrationCardProps) => null,\n};\n","import * as React from \"react\";\nimport pageIds from \"~/pageIds\";\nimport type { CategorizedPageHelpRegistration, RenderRegistrationCardProps } from \"../../../Registry/pageHelpRegistry\";\nimport { CommonLibraryStepTemplateOverview } from \"../../CommonComponents/CommonLibraryStepTemplateViews\";\nexport const LibraryStepTemplateUsageRegistration: CategorizedPageHelpRegistration = {\n page: pageIds.library.stepTemplate.usage,\n renderOverview: (renderProps: RenderRegistrationCardProps) => {\n return ;\n },\n renderTopics: (renderProps: RenderRegistrationCardProps) => null,\n};\n","import * as React from \"react\";\nimport pageIds from \"~/pageIds\";\nimport type { CategorizedPageHelpRegistration, RenderRegistrationCardProps } from \"../../../Registry/pageHelpRegistry\";\nimport { CommonLibraryStepTemplateOverview } from \"../../CommonComponents/CommonLibraryStepTemplateViews\";\nexport const LibraryStepTemplatesBuiltInRegistration: CategorizedPageHelpRegistration = {\n page: pageIds.library.stepTemplates.builtIn,\n renderOverview: (renderProps: RenderRegistrationCardProps) => {\n return ;\n },\n renderTopics: (renderProps: RenderRegistrationCardProps) => null,\n};\n","import * as React from \"react\";\nimport pageIds from \"~/pageIds\";\nimport type { CategorizedPageHelpRegistration, RenderRegistrationCardProps } from \"../../../Registry/pageHelpRegistry\";\nimport { CommonLibraryStepTemplateOverview } from \"../../CommonComponents/CommonLibraryStepTemplateViews\";\nexport const LibraryStepTemplatesCommunityRegistration: CategorizedPageHelpRegistration = {\n page: pageIds.library.stepTemplates.community,\n renderOverview: (renderProps: RenderRegistrationCardProps) => {\n return ;\n },\n renderTopics: (renderProps: RenderRegistrationCardProps) => null,\n};\n","import * as React from \"react\";\nimport pageIds from \"~/pageIds\";\nimport type { CategorizedPageHelpRegistration, RenderRegistrationCardProps } from \"../../../Registry/pageHelpRegistry\";\nimport { CommonLibraryStepTemplateOverview } from \"../../CommonComponents/CommonLibraryStepTemplateViews\";\nexport const LibraryStepTemplatesCommunityTemplateDetailsRegistration: CategorizedPageHelpRegistration = {\n page: pageIds.library.stepTemplates.communityTemplate.details,\n renderOverview: (renderProps: RenderRegistrationCardProps) => {\n return ;\n },\n renderTopics: (renderProps: RenderRegistrationCardProps) => null,\n};\n","import * as React from \"react\";\nimport pageIds from \"~/pageIds\";\nimport type { CategorizedPageHelpRegistration, RenderRegistrationCardProps } from \"../../../Registry/pageHelpRegistry\";\nimport { CommonLibraryStepTemplateOverview } from \"../../CommonComponents/CommonLibraryStepTemplateViews\";\nexport const LibraryStepTemplatesCommunityTemplateRegistration: CategorizedPageHelpRegistration = {\n page: pageIds.library.stepTemplates.communityTemplate.root,\n renderOverview: (renderProps: RenderRegistrationCardProps) => {\n return ;\n },\n renderTopics: (renderProps: RenderRegistrationCardProps) => null,\n};\n","import * as React from \"react\";\nimport pageIds from \"~/pageIds\";\nimport type { CategorizedPageHelpRegistration, RenderRegistrationCardProps } from \"../../../Registry/pageHelpRegistry\";\nimport { CommonLibraryStepTemplateOverview } from \"../../CommonComponents/CommonLibraryStepTemplateViews\";\nexport const LibraryStepTemplatesInstalledStepRegistration: CategorizedPageHelpRegistration = {\n page: pageIds.library.stepTemplates.installedStep,\n renderOverview: (renderProps: RenderRegistrationCardProps) => {\n return ;\n },\n renderTopics: (renderProps: RenderRegistrationCardProps) => null,\n};\n","import * as React from \"react\";\nimport pageIds from \"~/pageIds\";\nimport type { CategorizedPageHelpRegistration, RenderRegistrationCardProps } from \"../../../Registry/pageHelpRegistry\";\nimport { CommonLibraryStepTemplateOverview } from \"../../CommonComponents/CommonLibraryStepTemplateViews\";\nexport const LibraryStepTemplatesRegistration: CategorizedPageHelpRegistration = {\n page: pageIds.library.stepTemplates.root,\n renderOverview: (renderProps: RenderRegistrationCardProps) => {\n return ;\n },\n renderTopics: (renderProps: RenderRegistrationCardProps) => null,\n};\n","import * as React from \"react\";\nimport pageIds from \"~/pageIds\";\nimport type { CategorizedPageHelpRegistration, RenderRegistrationCardProps } from \"../../../Registry/pageHelpRegistry\";\nimport { CommonLibraryTenantTagSetOverview } from \"../../CommonComponents/CommonLibraryTenantTagSetViews\";\nexport const LibraryTenantTagSetRegistration: CategorizedPageHelpRegistration = {\n page: pageIds.library.tagSet,\n renderOverview: (renderProps: RenderRegistrationCardProps) => {\n return ;\n },\n renderTopics: (renderProps: RenderRegistrationCardProps) => null,\n};\n","import * as React from \"react\";\nimport pageIds from \"~/pageIds\";\nimport type { CategorizedPageHelpRegistration, RenderRegistrationCardProps } from \"../../../Registry/pageHelpRegistry\";\nimport { CommonLibraryTenantTagSetOverview } from \"../../CommonComponents/CommonLibraryTenantTagSetViews\";\nexport const LibraryTenantTagSetsNewRegistration: CategorizedPageHelpRegistration = {\n page: pageIds.library.tagSets.create,\n renderOverview: (renderProps: RenderRegistrationCardProps) => {\n return ;\n },\n renderTopics: (renderProps: RenderRegistrationCardProps) => null,\n};\n","import * as React from \"react\";\nimport pageIds from \"~/pageIds\";\nimport type { CategorizedPageHelpRegistration, RenderRegistrationCardProps } from \"../../../Registry/pageHelpRegistry\";\nimport { CommonLibraryTenantTagSetOverview } from \"../../CommonComponents/CommonLibraryTenantTagSetViews\";\nexport const LibraryTenantTagSetsRegistration: CategorizedPageHelpRegistration = {\n page: pageIds.library.tagSets.root,\n renderOverview: (renderProps: RenderRegistrationCardProps) => {\n return ;\n },\n renderTopics: (renderProps: RenderRegistrationCardProps) => null,\n};\n","import * as React from \"react\";\nimport pageIds from \"~/pageIds\";\nimport type { CategorizedPageHelpRegistration, RenderRegistrationCardProps } from \"../../../Registry/pageHelpRegistry\";\nimport { CommonLibraryVariableSetOverview } from \"../../CommonComponents/CommonLibraryVariableSetViews\";\nexport const LibraryVariableSetRegistration: CategorizedPageHelpRegistration = {\n page: pageIds.library.variableSet,\n renderOverview: (renderProps: RenderRegistrationCardProps) => {\n return ;\n },\n renderTopics: (renderProps: RenderRegistrationCardProps) => null,\n};\n","import * as React from \"react\";\nimport pageIds from \"~/pageIds\";\nimport type { CategorizedPageHelpRegistration, RenderRegistrationCardProps } from \"../../../Registry/pageHelpRegistry\";\nimport { CommonLibraryVariableSetOverview } from \"../../CommonComponents/CommonLibraryVariableSetViews\";\nexport const LibraryVariableSetsNewRegistration: CategorizedPageHelpRegistration = {\n page: pageIds.library.variableSets.create,\n renderOverview: (renderProps: RenderRegistrationCardProps) => {\n return ;\n },\n renderTopics: (renderProps: RenderRegistrationCardProps) => null,\n};\n","import * as React from \"react\";\nimport pageIds from \"~/pageIds\";\nimport type { CategorizedPageHelpRegistration, RenderRegistrationCardProps } from \"../../../Registry/pageHelpRegistry\";\nimport { CommonLibraryVariableSetOverview } from \"../../CommonComponents/CommonLibraryVariableSetViews\";\nexport const LibraryVariableSetsRegistration: CategorizedPageHelpRegistration = {\n page: pageIds.library.variableSets.root,\n renderOverview: (renderProps: RenderRegistrationCardProps) => {\n return ;\n },\n renderTopics: (renderProps: RenderRegistrationCardProps) => null,\n};\n","import * as React from \"react\";\nimport pageIds from \"~/pageIds\";\nimport type { CategorizedPageHelpRegistration, RenderRegistrationCardProps } from \"../../../Registry/pageHelpRegistry\";\nimport { CommonProjectChannelOverview } from \"../../CommonComponents/CommonProjectChannelViews\";\nexport const ProjectChannelNewRegistration: CategorizedPageHelpRegistration = {\n page: pageIds.project().channelNew,\n renderOverview: (renderProps: RenderRegistrationCardProps) => {\n return ;\n },\n renderTopics: (renderProps: RenderRegistrationCardProps) => null,\n};\n","import * as React from \"react\";\nimport pageIds from \"~/pageIds\";\nimport type { CategorizedPageHelpRegistration, RenderRegistrationCardProps } from \"../../../Registry/pageHelpRegistry\";\nimport { CommonProjectChannelOverview } from \"../../CommonComponents/CommonProjectChannelViews\";\nexport const ProjectChannelRegistration: CategorizedPageHelpRegistration = {\n page: pageIds.project().channel,\n renderOverview: (renderProps: RenderRegistrationCardProps) => {\n return ;\n },\n renderTopics: (renderProps: RenderRegistrationCardProps) => null,\n};\n","import * as React from \"react\";\nimport pageIds from \"~/pageIds\";\nimport type { CategorizedPageHelpRegistration, RenderRegistrationCardProps } from \"../../../Registry/pageHelpRegistry\";\nimport { CommonProjectChannelOverview } from \"../../CommonComponents/CommonProjectChannelViews\";\nexport const ProjectChannelsRegistration: CategorizedPageHelpRegistration = {\n page: pageIds.project().channels,\n renderOverview: (renderProps: RenderRegistrationCardProps) => {\n return ;\n },\n renderTopics: (renderProps: RenderRegistrationCardProps) => null,\n};\n","import pageIds from \"~/pageIds\";\nimport type { CategorizedPageHelpRegistration, RenderRegistrationCardProps } from \"../../../Registry/pageHelpRegistry\";\nexport const ProjectChildStepTemplatesRegistration: CategorizedPageHelpRegistration = {\n page: pageIds.project().childStepTemplates,\n renderOverview: (renderProps: RenderRegistrationCardProps) => {\n return null;\n },\n renderTopics: (renderProps: RenderRegistrationCardProps) => {\n return null;\n },\n};\n","import * as React from \"react\";\nimport pageIds from \"~/pageIds\";\nimport type { CategorizedPageHelpRegistration, RenderRegistrationCardProps } from \"../../../Registry/pageHelpRegistry\";\nimport { CommonProjectDeploymentOverview, CommonProjectDeploymentTopics } from \"../../CommonComponents/CommonProjectDeploymentViews\";\nexport const ProjectDeploymentNewRegistration: CategorizedPageHelpRegistration = {\n page: pageIds.project().release().deployments.create,\n renderOverview: (renderProps: RenderRegistrationCardProps) => {\n return ;\n },\n renderTopics: (renderProps: RenderRegistrationCardProps) => {\n return ;\n },\n};\n","import * as React from \"react\";\nimport pageIds from \"~/pageIds\";\nimport type { CategorizedPageHelpRegistration, RenderRegistrationCardProps } from \"../../../Registry/pageHelpRegistry\";\nimport { CommonProjectDeploymentOverview, CommonProjectDeploymentTopics } from \"../../CommonComponents/CommonProjectDeploymentViews\";\nexport const ProjectDeploymentRegistration: CategorizedPageHelpRegistration = {\n page: pageIds.project().release().deployments.specific,\n renderOverview: (renderProps: RenderRegistrationCardProps) => {\n return ;\n },\n renderTopics: (renderProps: RenderRegistrationCardProps) => {\n return ;\n },\n};\n","import * as React from \"react\";\nimport pageIds from \"~/pageIds\";\nimport type { CategorizedPageHelpRegistration, RenderRegistrationCardProps } from \"../../../Registry/pageHelpRegistry\";\nimport { CommonProjectDeploymentOverview, CommonProjectDeploymentTopics } from \"../../CommonComponents/CommonProjectDeploymentViews\";\nexport const ProjectDeploymentRetryRegistration: CategorizedPageHelpRegistration = {\n page: pageIds.project().release().deployments.retry,\n renderOverview: (renderProps: RenderRegistrationCardProps) => {\n return ;\n },\n renderTopics: (renderProps: RenderRegistrationCardProps) => {\n return ;\n },\n};\n","import * as React from \"react\";\nimport pageIds from \"~/pageIds\";\nimport type { CategorizedPageHelpRegistration, RenderRegistrationCardProps } from \"../../../Registry/pageHelpRegistry\";\nimport { CommonProjectDeploymentOverview, CommonProjectDeploymentTopics } from \"../../CommonComponents/CommonProjectDeploymentViews\";\nexport const ProjectDeploymentsRegistration: CategorizedPageHelpRegistration = {\n page: pageIds.deployments,\n renderOverview: (renderProps: RenderRegistrationCardProps) => {\n return ;\n },\n renderTopics: (renderProps: RenderRegistrationCardProps) => {\n return ;\n },\n};\n","import * as React from \"react\";\nimport ExternalLink from \"~/components/Navigation/ExternalLink\";\nimport pageIds from \"~/pageIds\";\nimport type { CategorizedPageHelpRegistration, RenderRegistrationCardProps } from \"../../../Registry/pageHelpRegistry\";\nimport { LearnMoreResources, OverviewContainer, OverviewHighlightText, TopicsContainer } from \"../../CommonComponents/CommonViews\";\nexport const ProjectDeploymentsSettingsRegistration: CategorizedPageHelpRegistration = {\n page: pageIds.project().deploymentSettings,\n renderOverview: (renderProps: RenderRegistrationCardProps) => {\n return (\n \n

The settings on this page control how releases are created and deployed.

\n
\n
);\n },\n renderTopics: (renderProps: RenderRegistrationCardProps) => {\n return (\n \n
\n Editing version-controlled projects\n
\n
\n
);\n },\n};\n","import * as React from \"react\";\nimport pageIds from \"~/pageIds\";\nimport ExternalLink from \"../../../../../Navigation/ExternalLink\";\nimport type { CategorizedPageHelpRegistration, RenderRegistrationCardProps } from \"../../../Registry/pageHelpRegistry\";\nimport { LearnMoreResources, OverviewContainer, OverviewHighlightText, TopicsContainer } from \"../../CommonComponents/CommonViews\";\nexport const ProjectExportRegistration: CategorizedPageHelpRegistration = {\n page: pageIds.importExport.export,\n renderOverview: (renderProps: RenderRegistrationCardProps) => {\n return (\n \n

\n Projects can be exported and imported into a new space. Please read the docs before beginning, to ensure all factors have been considered.\n

\n

Select the project/s you wish to export, and enter a password which will be used to protect the exported zip file.

\n
\n
);\n },\n renderTopics: (renderProps: RenderRegistrationCardProps) => {\n return (\n \n
\n Exporting and Importing Projects\n
\n
\n
);\n },\n};\n","import pageIds from \"~/pageIds\";\nimport type { CategorizedPageHelpRegistration, RenderRegistrationCardProps } from \"../../../Registry/pageHelpRegistry\";\nexport const ProjectGroupEditRegistration: CategorizedPageHelpRegistration = {\n page: pageIds.projectGroup.root,\n renderOverview: (renderProps: RenderRegistrationCardProps) => {\n return null;\n },\n renderTopics: (renderProps: RenderRegistrationCardProps) => {\n return null;\n },\n};\n","import * as React from \"react\";\nimport { OverviewContainer, OverviewHighlightText } from \"~/components/ContextualHelpLayout/PageHelpRegistry/Registrations/CommonComponents/CommonViews\";\nimport ExternalLink from \"~/components/Navigation/ExternalLink\";\nimport pageIds from \"~/pageIds\";\nimport type { CategorizedPageHelpRegistration, RenderRegistrationCardProps } from \"../../../Registry/pageHelpRegistry\";\nexport const ProjectITSMProvidersSettingsRegistration: CategorizedPageHelpRegistration = {\n page: pageIds.project().settings.itsmProviders,\n renderOverview: (renderProps: RenderRegistrationCardProps) => {\n return (\n \n

\n ITSM Providers allows users to block the execution of specifically configured deployments unless they have a corresponding approved Change Request. Octopus supports{\" \"}\n Service Now and Jira Service Management.\n

\n
\n
);\n },\n renderTopics: (renderProps: RenderRegistrationCardProps) => {\n return null;\n },\n};\n","import * as React from \"react\";\nimport pageIds from \"~/pageIds\";\nimport ExternalLink from \"../../../../../Navigation/ExternalLink\";\nimport type { CategorizedPageHelpRegistration, RenderRegistrationCardProps } from \"../../../Registry/pageHelpRegistry\";\nimport { LearnMoreResources, OverviewContainer, OverviewHighlightText, TopicsContainer } from \"../../CommonComponents/CommonViews\";\nexport const ProjectImportRegistration: CategorizedPageHelpRegistration = {\n page: pageIds.importExport.root,\n renderOverview: (renderProps: RenderRegistrationCardProps) => {\n return (\n \n

\n Projects can be exported and imported into a new space. Please read the docs before beginning, to ensure all factors have been considered.\n

\n

This page displays the import and export tasks that have recently been run.

\n
\n
);\n },\n renderTopics: (renderProps: RenderRegistrationCardProps) => {\n return (\n \n
\n Exporting and Importing Projects\n
\n
\n
);\n },\n};\n","import * as React from \"react\";\nimport pageIds from \"~/pageIds\";\nimport ExternalLink from \"../../../../../Navigation/ExternalLink\";\nimport type { CategorizedPageHelpRegistration, RenderRegistrationCardProps } from \"../../../Registry/pageHelpRegistry\";\nimport { LearnMoreResources, OverviewContainer, OverviewHighlightText, TopicsContainer } from \"../../CommonComponents/CommonViews\";\nexport const ProjectImportRegistration: CategorizedPageHelpRegistration = {\n page: pageIds.importExport.import,\n renderOverview: (renderProps: RenderRegistrationCardProps) => {\n return (\n \n

\n Projects can be exported and imported into a new space. Please read the docs before beginning, to ensure all factors have been considered.\n

\n

Import project/s from either an exported zip file, or from an export task in another space on the same Octopus instance.

\n
\n
);\n },\n renderTopics: (renderProps: RenderRegistrationCardProps) => {\n return (\n \n
\n Exporting and Importing Projects\n
\n
\n
);\n },\n};\n","import * as React from \"react\";\nimport { CommonProjectInsightsHelp } from \"~/components/ContextualHelpLayout/PageHelpRegistry/Registrations/CommonComponents/CommonInsightViews\";\nimport { CommonInsightsDeploymentDurationOverview, CommonInsightsDeploymentDurationTopics } from \"~/components/ContextualHelpLayout/PageHelpRegistry/Registrations/CommonComponents/CommonInsightsDeploymentDurationViews\";\nimport type { CategorizedPageHelpRegistration } from \"~/components/ContextualHelpLayout/PageHelpRegistry/Registry/pageHelpRegistry\";\nimport pageIds from \"~/pageIds\";\nexport const ProjectInsightDeploymentDurationRegistration: CategorizedPageHelpRegistration = {\n page: pageIds.project().insights.deploymentDuration,\n renderOverview: (props) => (<>\n \n ),\n renderTopics: (props) => ,\n};\n","import * as React from \"react\";\nimport { CommonProjectInsightsHelp } from \"~/components/ContextualHelpLayout/PageHelpRegistry/Registrations/CommonComponents/CommonInsightViews\";\nimport { CommonInsightsDeploymentLeadTimeOverview, CommonInsightsDeploymentLeadTimeTopics } from \"~/components/ContextualHelpLayout/PageHelpRegistry/Registrations/CommonComponents/CommonInsightsDeploymentLeadTimeViews\";\nimport type { CategorizedPageHelpRegistration } from \"~/components/ContextualHelpLayout/PageHelpRegistry/Registry/pageHelpRegistry\";\nimport pageIds from \"~/pageIds\";\nexport const ProjectInsightDeploymentLeadTimeRegistration: CategorizedPageHelpRegistration = {\n page: pageIds.project().insights.leadTime,\n renderOverview: (props) => (<>\n \n ),\n renderTopics: (props) => ,\n};\n","import * as React from \"react\";\nimport { CommonProjectInsightsHelp } from \"~/components/ContextualHelpLayout/PageHelpRegistry/Registrations/CommonComponents/CommonInsightViews\";\nimport { CommonInsightsDeploymentFailureRateOverview, CommonInsightsDeploymentFailureRateTopics } from \"~/components/ContextualHelpLayout/PageHelpRegistry/Registrations/CommonComponents/CommonInsightsDeploymentFailureRateViews\";\nimport type { CategorizedPageHelpRegistration } from \"~/components/ContextualHelpLayout/PageHelpRegistry/Registry/pageHelpRegistry\";\nimport pageIds from \"~/pageIds\";\nexport const ProjectInsightsDeploymentFailureRateRegistration: CategorizedPageHelpRegistration = {\n page: pageIds.project().insights.failureRate,\n renderOverview: (props) => (<>\n \n ),\n renderTopics: (props) => ,\n};\n","import * as React from \"react\";\nimport { CommonProjectInsightsHelp } from \"~/components/ContextualHelpLayout/PageHelpRegistry/Registrations/CommonComponents/CommonInsightViews\";\nimport { CommonInsightsDeploymentFrequencyOverview, CommonInsightsDeploymentFrequencyTopics } from \"~/components/ContextualHelpLayout/PageHelpRegistry/Registrations/CommonComponents/CommonInsightsDeploymentFrequencyViews\";\nimport type { CategorizedPageHelpRegistration } from \"~/components/ContextualHelpLayout/PageHelpRegistry/Registry/pageHelpRegistry\";\nimport pageIds from \"~/pageIds\";\nexport const ProjectInsightsDeploymentFrequencyRegistration: CategorizedPageHelpRegistration = {\n page: pageIds.project().insights.frequency,\n renderOverview: (props) => (<>\n \n ),\n renderTopics: (props) => ,\n};\n","import * as React from \"react\";\nimport { CommonProjectInsightsHelp } from \"~/components/ContextualHelpLayout/PageHelpRegistry/Registrations/CommonComponents/CommonInsightViews\";\nimport { CommonInsightsMeanTimeToRecoveryOverview, CommonInsightsMeanTimeToRecoveryTopics } from \"~/components/ContextualHelpLayout/PageHelpRegistry/Registrations/CommonComponents/CommonInsightsMeanTimeToRecoveryViews\";\nimport type { CategorizedPageHelpRegistration } from \"~/components/ContextualHelpLayout/PageHelpRegistry/Registry/pageHelpRegistry\";\nimport pageIds from \"~/pageIds\";\nexport const ProjectInsightsMeanTimeToRecoveryRegistration: CategorizedPageHelpRegistration = {\n page: pageIds.project().insights.timeToRecovery,\n renderOverview: (props) => (<>\n \n ),\n renderTopics: (props) => ,\n};\n","import * as React from \"react\";\nimport { LearnMoreResources, OverviewContainer, OverviewHighlightText, TopicsContainer } from \"~/components/ContextualHelpLayout/PageHelpRegistry/Registrations/CommonComponents/CommonViews\";\nimport type { CategorizedPageHelpRegistration } from \"~/components/ContextualHelpLayout/PageHelpRegistry/Registry/pageHelpRegistry\";\nimport ExternalLink from \"~/components/Navigation/ExternalLink\";\nimport pageIds from \"~/pageIds\";\nexport const ProjectInsightsOverviewRegistration: CategorizedPageHelpRegistration = {\n page: pageIds.project().insights.overview,\n renderOverview: (props) => (\n \n

\n The Insights Overview page is where you can view charts for all four Insights metrics at once. To see more detail, select one of the four metrics links on the left.\n

\n
\n
),\n renderTopics: (props) => {\n return (\n \n
\n Project Insights\n
\n
\n
);\n },\n};\n","import * as React from \"react\";\nimport pageIds from \"~/pageIds\";\nimport type { CategorizedPageHelpRegistration, RenderRegistrationCardProps } from \"../../../Registry/pageHelpRegistry\";\nimport { CommonProjectRunbooksOverview } from \"../../CommonComponents/CommonProjectRunbooksViews\";\nexport const ProjectOperationsRegistration: CategorizedPageHelpRegistration = {\n page: pageIds.project().operations.root,\n renderOverview: (renderProps: RenderRegistrationCardProps) => {\n return ;\n },\n renderTopics: (renderProps: RenderRegistrationCardProps) => null,\n};\n","import React from \"react\";\nimport { YouTubePlayer } from \"~/components/ContextualHelpLayout/YouTubePlayer\";\nimport ImageWithPlaceholder from \"~/components/GettingStarted/ImageWithPlaceholder/ImageWithPlaceholder\";\nimport ExternalLink from \"~/components/Navigation/ExternalLink\";\nimport image from \"../../Images/Project.svg\";\nimport { OverviewContainer, OverviewHighlightText } from \"./CommonViews\";\nconst video = {\n youtubeId: \"gfaRUIlQybA\",\n shortlink: \"OnboardingProjectsVideo\",\n};\nexport const CommonProjectOverview = () => {\n return (\n \n \n

\n A project is the collection of deployment steps, configuration variables, packages and assets that Octopus brings together and executes during the process of\n deploying your software.\n

\n \n
\n
);\n};\n","import * as React from \"react\";\nimport pageIds from \"~/pageIds\";\nimport type { CategorizedPageHelpRegistration, RenderRegistrationCardProps } from \"../../../Registry/pageHelpRegistry\";\nimport { CommonProjectOverview } from \"../../CommonComponents/CommonProjectOverviewViews\";\nexport const ProjectOverviewRegistration: CategorizedPageHelpRegistration = {\n page: pageIds.project().overview,\n renderOverview: (renderProps: RenderRegistrationCardProps) => {\n return ;\n },\n renderTopics: (renderProps: RenderRegistrationCardProps) => null,\n};\n","import * as React from \"react\";\nimport pageIds from \"~/pageIds\";\nimport type { CategorizedPageHelpRegistration, RenderRegistrationCardProps } from \"../../../Registry/pageHelpRegistry\";\nimport { CommonProjectProcessOverview, CommonProjectProcessTopics } from \"../../CommonComponents/CommonProjectProcessViews\";\nexport const ProjectProcessChildStepTemplatesRegistration: CategorizedPageHelpRegistration = {\n page: pageIds.project().process.childStepTemplates,\n renderOverview: (renderProps: RenderRegistrationCardProps) => {\n return ;\n },\n renderTopics: (renderProps: RenderRegistrationCardProps) => {\n return ;\n },\n};\n","import * as React from \"react\";\nimport pageIds from \"~/pageIds\";\nimport type { CategorizedPageHelpRegistration, RenderRegistrationCardProps } from \"../../../Registry/pageHelpRegistry\";\nimport { CommonProjectProcessOverview, CommonProjectProcessTopics } from \"../../CommonComponents/CommonProjectProcessViews\";\nexport const ProjectProcessRegistration: CategorizedPageHelpRegistration = {\n page: pageIds.project().process.root,\n renderOverview: (renderProps: RenderRegistrationCardProps) => {\n return ;\n },\n renderTopics: (renderProps: RenderRegistrationCardProps) => {\n return ;\n },\n};\n","import * as React from \"react\";\nimport pageIds from \"~/pageIds\";\nimport type { CategorizedPageHelpRegistration, RenderRegistrationCardProps } from \"../../../Registry/pageHelpRegistry\";\nimport { CommonProjectProcessOverview, CommonProjectProcessTopics } from \"../../CommonComponents/CommonProjectProcessViews\";\nexport const ProjectProcessStepNewRegistration: CategorizedPageHelpRegistration = {\n page: pageIds.project().process.stepNew,\n renderOverview: (renderProps: RenderRegistrationCardProps) => {\n return ;\n },\n renderTopics: (renderProps: RenderRegistrationCardProps) => {\n return ;\n },\n};\n","import * as React from \"react\";\nimport pageIds from \"~/pageIds\";\nimport type { CategorizedPageHelpRegistration, RenderRegistrationCardProps } from \"../../../Registry/pageHelpRegistry\";\nimport { CommonProjectProcessOverview, CommonProjectProcessTopics } from \"../../CommonComponents/CommonProjectProcessViews\";\nexport const ProjectProcessStepRegistration: CategorizedPageHelpRegistration = {\n page: pageIds.project().process.step,\n renderOverview: (renderProps: RenderRegistrationCardProps) => {\n return ;\n },\n renderTopics: (renderProps: RenderRegistrationCardProps) => {\n return ;\n },\n};\n","import * as React from \"react\";\nimport pageIds from \"~/pageIds\";\nimport type { CategorizedPageHelpRegistration, RenderRegistrationCardProps } from \"../../../Registry/pageHelpRegistry\";\nimport { CommonProjectProcessOverview, CommonProjectProcessTopics } from \"../../CommonComponents/CommonProjectProcessViews\";\nexport const ProjectProcessStepTemplatesRegistration: CategorizedPageHelpRegistration = {\n page: pageIds.project().process.stepTemplates,\n renderOverview: (renderProps: RenderRegistrationCardProps) => {\n return ;\n },\n renderTopics: (renderProps: RenderRegistrationCardProps) => {\n return ;\n },\n};\n","import React from \"react\";\nimport CreateSampleProjectCallout from \"~/components/ContextualHelpLayout/PageHelpRegistry/Registrations/Areas/Projects/components/CreateSampleProjectCallout\";\nimport { YouTubePlayer } from \"~/components/ContextualHelpLayout/YouTubePlayer\";\nimport ImageWithPlaceholder from \"~/components/GettingStarted/ImageWithPlaceholder/ImageWithPlaceholder\";\nimport ExternalLink from \"~/components/Navigation/ExternalLink\";\nimport image from \"../../Images/Projects.svg\";\nimport { OverviewContainer, OverviewHighlightText, TopicsContainer, LearnMoreResources } from \"./CommonViews\";\nconst video = {\n youtubeId: \"gfaRUIlQybA\",\n shortlink: \"OnboardingProjectsVideo\",\n};\nexport const CommonProjectView = () => {\n return (\n \n

\n Projects let you manage multiple software applications. For each project, you define a deployment process, configuration variables, and the environments the software\n will be deployed to.\n

\n
\n \n
\n \n \n
\n
);\n};\nexport const CommonProjectTopics = () => {\n return (\n \n
\n Projects\n
\n
\n
);\n};\n","import * as React from \"react\";\nimport pageIds from \"~/pageIds\";\nimport type { CategorizedPageHelpRegistration, RenderRegistrationCardProps } from \"../../../Registry/pageHelpRegistry\";\nimport { CommonProjectView, CommonProjectTopics } from \"../../CommonComponents/CommonProjectViews\";\nexport const ProjectRegistration: CategorizedPageHelpRegistration = {\n page: pageIds.project().root,\n renderOverview: (renderProps: RenderRegistrationCardProps) => {\n return ;\n },\n renderTopics: (renderProps: RenderRegistrationCardProps) => {\n return ;\n },\n};\n","import * as React from \"react\";\nimport pageIds from \"~/pageIds\";\nimport type { CategorizedPageHelpRegistration, RenderRegistrationCardProps } from \"../../../Registry/pageHelpRegistry\";\nimport { CommonProjectReleaseOverview, CommonProjectReleaseTopics } from \"../../CommonComponents/CommonProjectReleaseViews\";\nexport const ProjectReleaseNewRegistration: CategorizedPageHelpRegistration = {\n page: pageIds.project().releaseCreate,\n renderOverview: (renderProps: RenderRegistrationCardProps) => {\n return ;\n },\n renderTopics: (renderProps: RenderRegistrationCardProps) => {\n return ;\n },\n};\n","import * as React from \"react\";\nimport pageIds from \"~/pageIds\";\nimport type { CategorizedPageHelpRegistration, RenderRegistrationCardProps } from \"../../../Registry/pageHelpRegistry\";\nimport { CommonProjectReleaseOverview, CommonProjectReleaseTopics } from \"../../CommonComponents/CommonProjectReleaseViews\";\nexport const ProjectReleaseVersionEditRegistration: CategorizedPageHelpRegistration = {\n page: pageIds.project().release().edit,\n renderOverview: (renderProps: RenderRegistrationCardProps) => {\n return ;\n },\n renderTopics: (renderProps: RenderRegistrationCardProps) => {\n return ;\n },\n};\n","import * as React from \"react\";\nimport pageIds from \"~/pageIds\";\nimport type { CategorizedPageHelpRegistration, RenderRegistrationCardProps } from \"../../../Registry/pageHelpRegistry\";\nimport { CommonProjectReleaseOverview, CommonProjectReleaseTopics } from \"../../CommonComponents/CommonProjectReleaseViews\";\nexport const ProjectReleaseVersionRegistration: CategorizedPageHelpRegistration = {\n page: pageIds.project().release().root,\n renderOverview: (renderProps: RenderRegistrationCardProps) => {\n return ;\n },\n renderTopics: (renderProps: RenderRegistrationCardProps) => {\n return ;\n },\n};\n","import * as React from \"react\";\nimport pageIds from \"~/pageIds\";\nimport type { CategorizedPageHelpRegistration, RenderRegistrationCardProps } from \"../../../Registry/pageHelpRegistry\";\nimport { CommonProjectReleaseOverview, CommonProjectReleaseTopics } from \"../../CommonComponents/CommonProjectReleaseViews\";\nexport const ProjectReleasesRegistration: CategorizedPageHelpRegistration = {\n page: pageIds.project().releases,\n renderOverview: (renderProps: RenderRegistrationCardProps) => {\n return ;\n },\n renderTopics: (renderProps: RenderRegistrationCardProps) => {\n return ;\n },\n};\n","import React from \"react\";\nimport ExternalLink from \"~/components/Navigation/ExternalLink\";\nimport { OverviewContainer, OverviewHighlightText } from \"./CommonViews\";\nexport const CommonProjectRunbookOverview = () => {\n return (\n \n

\n Runbooks can be used to automate routine or emergency operations-centric processes, for instance, disaster recovery and database backups.\n

\n
\n
);\n};\n","import * as React from \"react\";\nimport { CommonProjectRunbookOverview } from \"~/components/ContextualHelpLayout/PageHelpRegistry/Registrations/CommonComponents/CommonProjectRunbookViews\";\nimport pageIds from \"~/pageIds\";\nimport type { CategorizedPageHelpRegistration, RenderRegistrationCardProps } from \"../../../Registry/pageHelpRegistry\";\nexport const ProjectRunbooksRegistration: CategorizedPageHelpRegistration = {\n page: pageIds.project().runbook.root,\n renderOverview: (renderProps: RenderRegistrationCardProps) => {\n return ;\n },\n renderTopics: (renderProps: RenderRegistrationCardProps) => null,\n};\n","import { ProcessType } from \"@octopusdeploy/octopus-server-client\";\nimport * as React from \"react\";\nimport pageIds from \"~/pageIds\";\nimport type { CategorizedPageHelpRegistration, RenderRegistrationCardProps } from \"../../../Registry/pageHelpRegistry\";\nimport { CommonProjectProcessOverview } from \"../../CommonComponents/CommonProjectProcessViews\";\nexport const ProjectProcessRegistration: CategorizedPageHelpRegistration = {\n page: pageIds.project().runbook.process.root,\n renderOverview: (renderProps: RenderRegistrationCardProps) => {\n return ;\n },\n renderTopics: (renderProps: RenderRegistrationCardProps) => null,\n};\n","import { ProcessType } from \"@octopusdeploy/octopus-server-client\";\nimport * as React from \"react\";\nimport pageIds from \"~/pageIds\";\nimport type { CategorizedPageHelpRegistration, RenderRegistrationCardProps } from \"../../../Registry/pageHelpRegistry\";\nimport { CommonProjectProcessOverview } from \"../../CommonComponents/CommonProjectProcessViews\";\nexport const ProjectRunbookProcessStepNewRegistration: CategorizedPageHelpRegistration = {\n page: pageIds.project().runbook.process.stepNew,\n renderOverview: (renderProps: RenderRegistrationCardProps) => {\n return ;\n },\n renderTopics: (renderProps: RenderRegistrationCardProps) => null,\n};\n","import { ProcessType } from \"@octopusdeploy/octopus-server-client\";\nimport * as React from \"react\";\nimport pageIds from \"~/pageIds\";\nimport type { CategorizedPageHelpRegistration, RenderRegistrationCardProps } from \"../../../Registry/pageHelpRegistry\";\nimport { CommonProjectProcessOverview } from \"../../CommonComponents/CommonProjectProcessViews\";\nexport const ProjectRunbookProcessStepRegistration: CategorizedPageHelpRegistration = {\n page: pageIds.project().runbook.process.step,\n renderOverview: (renderProps: RenderRegistrationCardProps) => {\n return ;\n },\n renderTopics: (renderProps: RenderRegistrationCardProps) => null,\n};\n","import { ProcessType } from \"@octopusdeploy/octopus-server-client\";\nimport * as React from \"react\";\nimport pageIds from \"~/pageIds\";\nimport type { CategorizedPageHelpRegistration, RenderRegistrationCardProps } from \"../../../Registry/pageHelpRegistry\";\nimport { CommonProjectProcessOverview } from \"../../CommonComponents/CommonProjectProcessViews\";\nexport const ProjectRunbookProcessStepTemplatesRegistration: CategorizedPageHelpRegistration = {\n page: pageIds.project().runbook.process.stepTemplates,\n renderOverview: (renderProps: RenderRegistrationCardProps) => {\n return ;\n },\n renderTopics: (renderProps: RenderRegistrationCardProps) => null,\n};\n","import * as React from \"react\";\nimport pageIds from \"~/pageIds\";\nimport type { CategorizedPageHelpRegistration, RenderRegistrationCardProps } from \"../../../Registry/pageHelpRegistry\";\nimport { CommonProjectRunbookSnapshotOverview } from \"../../CommonComponents/CommonProjectRunbookSnapshotsViews\";\nimport { CommonProjectRunbooksTopics } from \"../../CommonComponents/CommonProjectRunbooksViews\";\nexport const ProjectRunbookRunNowRegistration: CategorizedPageHelpRegistration = {\n page: pageIds.project().runbook.runNow,\n renderOverview: (renderProps: RenderRegistrationCardProps) => {\n return ;\n },\n renderTopics: (renderProps: RenderRegistrationCardProps) => {\n return ;\n },\n};\n","import * as React from \"react\";\nimport pageIds from \"~/pageIds\";\nimport type { CategorizedPageHelpRegistration, RenderRegistrationCardProps } from \"../../../Registry/pageHelpRegistry\";\nimport { OverviewContainer, OverviewHighlightText } from \"../../CommonComponents/CommonViews\";\nexport const ProjectRunbookRunsListRegistration: CategorizedPageHelpRegistration = {\n page: pageIds.project().runbook.runsList,\n renderOverview: (renderProps: RenderRegistrationCardProps) => {\n return (\n \n

\n The runs section is where you can check on the status and history of the background tasks associated with this runbook that your Octopus Server is managing.\n

\n
\n
);\n },\n renderTopics: (renderProps: RenderRegistrationCardProps) => null,\n};\n","import * as React from \"react\";\nimport pageIds from \"~/pageIds\";\nimport type { CategorizedPageHelpRegistration, RenderRegistrationCardProps } from \"../../../Registry/pageHelpRegistry\";\nimport { OverviewContainer, OverviewHighlightText } from \"../../CommonComponents/CommonViews\";\nexport const ProjectRunbooksRegistration: CategorizedPageHelpRegistration = {\n page: pageIds.project().runbook.settings,\n renderOverview: (renderProps: RenderRegistrationCardProps) => {\n return (\n \n

Runbook settings allow you to edit details about the runbook, such as the name and description, as well as see options to clone/delete in the overflow menu.

\n
\n
);\n },\n renderTopics: (renderProps: RenderRegistrationCardProps) => null,\n};\n","import * as React from \"react\";\nimport pageIds from \"~/pageIds\";\nimport type { CategorizedPageHelpRegistration, RenderRegistrationCardProps } from \"../../../Registry/pageHelpRegistry\";\nimport { CommonProjectRunbookSnapshotOverview } from \"../../CommonComponents/CommonProjectRunbookSnapshotsViews\";\nexport const ProjectRunbookSnapshotsCreateRegistration: CategorizedPageHelpRegistration = {\n page: pageIds.project().runbook.runbookSnapshotCreate,\n renderOverview: (renderProps: RenderRegistrationCardProps) => {\n return ;\n },\n renderTopics: (renderProps: RenderRegistrationCardProps) => null,\n};\n","import * as React from \"react\";\nimport pageIds from \"~/pageIds\";\nimport type { CategorizedPageHelpRegistration, RenderRegistrationCardProps } from \"../../../Registry/pageHelpRegistry\";\nimport { CommonProjectRunbookSnapshotOverview } from \"../../CommonComponents/CommonProjectRunbookSnapshotsViews\";\nexport const ProjectRunbookSnapshotsCreateRegistration: CategorizedPageHelpRegistration = {\n page: pageIds.project().runbook.runbookSnapshot().edit,\n renderOverview: (renderProps: RenderRegistrationCardProps) => {\n return ;\n },\n renderTopics: (renderProps: RenderRegistrationCardProps) => null,\n};\n","import * as React from \"react\";\nimport pageIds from \"~/pageIds\";\nimport type { CategorizedPageHelpRegistration, RenderRegistrationCardProps } from \"../../../Registry/pageHelpRegistry\";\nimport { CommonProjectRunbookSnapshotOverview } from \"../../CommonComponents/CommonProjectRunbookSnapshotsViews\";\nexport const ProjectRunbookSnapshotsCreateRegistration: CategorizedPageHelpRegistration = {\n page: pageIds.project().runbook.runbookSnapshot().root,\n renderOverview: (renderProps: RenderRegistrationCardProps) => {\n return ;\n },\n renderTopics: (renderProps: RenderRegistrationCardProps) => null,\n};\n","import * as React from \"react\";\nimport pageIds from \"~/pageIds\";\nimport type { CategorizedPageHelpRegistration, RenderRegistrationCardProps } from \"../../../Registry/pageHelpRegistry\";\nimport { CommonProjectRunbookSnapshotOverview } from \"../../CommonComponents/CommonProjectRunbookSnapshotsViews\";\nexport const ProjectRunbookSnapshotRunbookRunsSpecificRegistration: CategorizedPageHelpRegistration = {\n page: pageIds.project().runbook.runbookSnapshot().runbookRuns.create,\n renderOverview: (renderProps: RenderRegistrationCardProps) => {\n return ;\n },\n renderTopics: (renderProps: RenderRegistrationCardProps) => null,\n};\n","import * as React from \"react\";\nimport pageIds from \"~/pageIds\";\nimport type { CategorizedPageHelpRegistration, RenderRegistrationCardProps } from \"../../../Registry/pageHelpRegistry\";\nimport { CommonProjectRunbookSnapshotOverview } from \"../../CommonComponents/CommonProjectRunbookSnapshotsViews\";\nexport const ProjectRunbookSnapshotRunbookRunsRetryRegistration: CategorizedPageHelpRegistration = {\n page: pageIds.project().runbook.runbookSnapshot().runbookRuns.retry,\n renderOverview: (renderProps: RenderRegistrationCardProps) => {\n return ;\n },\n renderTopics: (renderProps: RenderRegistrationCardProps) => null,\n};\n","import * as React from \"react\";\nimport pageIds from \"~/pageIds\";\nimport type { CategorizedPageHelpRegistration, RenderRegistrationCardProps } from \"../../../Registry/pageHelpRegistry\";\nimport { CommonProjectRunbookSnapshotOverview } from \"../../CommonComponents/CommonProjectRunbookSnapshotsViews\";\nexport const ProjectRunbookSnapshotRunbookRunsSpecificRegistration: CategorizedPageHelpRegistration = {\n page: pageIds.project().runbook.runbookSnapshot().runbookRuns.specific,\n renderOverview: (renderProps: RenderRegistrationCardProps) => {\n return ;\n },\n renderTopics: (renderProps: RenderRegistrationCardProps) => null,\n};\n","import * as React from \"react\";\nimport pageIds from \"~/pageIds\";\nimport type { CategorizedPageHelpRegistration, RenderRegistrationCardProps } from \"../../../Registry/pageHelpRegistry\";\nimport { CommonProjectRunbookSnapshotOverview } from \"../../CommonComponents/CommonProjectRunbookSnapshotsViews\";\nexport const ProjectRunbookSnapshotsRegistration: CategorizedPageHelpRegistration = {\n page: pageIds.project().runbook.runbookSnapshots,\n renderOverview: (renderProps: RenderRegistrationCardProps) => {\n return ;\n },\n renderTopics: (renderProps: RenderRegistrationCardProps) => null,\n};\nexport const ProjectRunbookSnapshotsCreateRegistration: CategorizedPageHelpRegistration = {\n page: pageIds.project().runbook.runbookSnapshotCreate,\n renderOverview: (renderProps: RenderRegistrationCardProps) => {\n return ;\n },\n renderTopics: (renderProps: RenderRegistrationCardProps) => null,\n};\nexport const ProjectRunbookSnapshotCreateRootRegistration: CategorizedPageHelpRegistration = {\n page: pageIds.project().runbook.runbookSnapshot().root,\n renderOverview: (renderProps: RenderRegistrationCardProps) => {\n return ;\n },\n renderTopics: (renderProps: RenderRegistrationCardProps) => null,\n};\nexport const ProjectRunbookSnapshotEditRegistration: CategorizedPageHelpRegistration = {\n page: pageIds.project().runbook.runbookSnapshot().edit,\n renderOverview: (renderProps: RenderRegistrationCardProps) => {\n return ;\n },\n renderTopics: (renderProps: RenderRegistrationCardProps) => null,\n};\n","import * as React from \"react\";\nimport { LearnMoreResources, TopicsContainer } from \"~/components/ContextualHelpLayout/PageHelpRegistry/Registrations/CommonComponents/CommonViews\";\nimport ExternalLink from \"~/components/Navigation/ExternalLink/index\";\nimport pageIds from \"~/pageIds\";\nimport type { CategorizedPageHelpRegistration, RenderRegistrationCardProps } from \"../../../Registry/pageHelpRegistry\";\nimport { CommonProjectRunbooksOverview } from \"../../CommonComponents/CommonProjectRunbooksViews\";\nexport const ProjectRunbooksRegistration: CategorizedPageHelpRegistration = {\n page: pageIds.project().operations.runbooks,\n renderOverview: (renderProps: RenderRegistrationCardProps) => {\n return ;\n },\n renderTopics: (renderProps: RenderRegistrationCardProps) => {\n return (\n \n
\n Runbook examples\n
\n
\n
);\n },\n};\n","import React from \"react\";\nimport ExternalLink from \"~/components/Navigation/ExternalLink\";\nimport { OverviewContainer, OverviewHighlightText } from \"./CommonViews\";\nexport const CommonProjectRunbookScheduledTriggersOverview = () => {\n return (\n \n

\n Runbook triggers let you define a recurring schedule to automate execution of a runbook.\n

\n
\n
);\n};\n","import * as React from \"react\";\nimport { CommonProjectRunbookScheduledTriggersOverview } from \"~/components/ContextualHelpLayout/PageHelpRegistry/Registrations/CommonComponents/CommonProjectRunbookScheduledTriggersView\";\nimport pageIds from \"~/pageIds\";\nimport type { CategorizedPageHelpRegistration, RenderRegistrationCardProps } from \"../../../Registry/pageHelpRegistry\";\nexport const ProjectRunbooksScheduledTriggersNewRegistration: CategorizedPageHelpRegistration = {\n page: pageIds.project().runbook.scheduledTriggerNew,\n renderOverview: (renderProps: RenderRegistrationCardProps) => {\n return ;\n },\n renderTopics: (renderProps: RenderRegistrationCardProps) => {\n return null;\n },\n};\n","import React from \"react\";\nimport ImageWithPlaceholder from \"~/components/GettingStarted/ImageWithPlaceholder/ImageWithPlaceholder\";\nimport ExternalLink from \"~/components/Navigation/ExternalLink\";\nimport imageForRunbookTriggers from \"../../Images/Trigger-Scheduled-Runbook.svg\";\nimport { OverviewContainer, OverviewHighlightText } from \"./CommonViews\";\nexport const CommonProjectRunbookTriggersOverview = () => {\n return (\n \n

\n Runbook triggers let you define a recurring schedule to automate execution of a runbook.\n

\n \n
\n
);\n};\n","import * as React from \"react\";\nimport pageIds from \"~/pageIds\";\nimport type { CategorizedPageHelpRegistration, RenderRegistrationCardProps } from \"../../../Registry/pageHelpRegistry\";\nimport { CommonProjectRunbookTriggersOverview } from \"../../CommonComponents/CommonProjectRunbookTriggersView\";\nexport const ProjectRunbooksTriggersRegistration: CategorizedPageHelpRegistration = {\n page: pageIds.project().runbook.triggers,\n renderOverview: (renderProps: RenderRegistrationCardProps) => {\n return ;\n },\n renderTopics: (renderProps: RenderRegistrationCardProps) => null,\n};\n","import * as React from \"react\";\nimport { YouTubePlayer } from \"~/components/ContextualHelpLayout/YouTubePlayer\";\nimport ExternalLink from \"~/components/Navigation/ExternalLink\";\nimport pageIds from \"~/pageIds\";\nimport type { CategorizedPageHelpRegistration, RenderRegistrationCardProps } from \"../../../Registry/pageHelpRegistry\";\nimport { OverviewContainer, OverviewHighlightText } from \"../../CommonComponents/CommonViews\";\nconst video = {\n youtubeId: \"gfaRUIlQybA\",\n shortlink: \"OnboardingProjectsVideo\",\n};\nexport const ProjectSettingsRegistration: CategorizedPageHelpRegistration = {\n page: pageIds.project().settings.root,\n renderOverview: (renderProps: RenderRegistrationCardProps) => {\n return (\n \n \n

\n Project settings allow you to edit details about the project, such as the name, description, and the project group, add a logo and control different aspects of\n the project's release behaviour.\n

\n
\n
);\n },\n renderTopics: (renderProps: RenderRegistrationCardProps) => null,\n};\n","import * as React from \"react\";\nimport pageIds from \"~/pageIds\";\nimport type { CategorizedPageHelpRegistration, RenderRegistrationCardProps } from \"../../../Registry/pageHelpRegistry\";\nimport { CommonProjectProcessOverview, CommonProjectProcessTopics } from \"../../CommonComponents/CommonProjectProcessViews\";\nexport const ProjectStepTemplatesRegistration: CategorizedPageHelpRegistration = {\n page: pageIds.project().steptemplates,\n renderOverview: (renderProps: RenderRegistrationCardProps) => {\n return ;\n },\n renderTopics: (renderProps: RenderRegistrationCardProps) => {\n return ;\n },\n};\n","import * as React from \"react\";\nimport pageIds from \"~/pageIds\";\nimport type { CategorizedPageHelpRegistration, RenderRegistrationCardProps } from \"../../../Registry/pageHelpRegistry\";\nimport { OverviewContainer, OverviewHighlightText } from \"../../CommonComponents/CommonViews\";\nimport { DefaultTopics } from \"../../CommonComponents/DefaultViews\";\nexport const ProjectTasksRegistration: CategorizedPageHelpRegistration = {\n page: pageIds.project().tasks,\n renderOverview: (renderProps: RenderRegistrationCardProps) => {\n return (\n \n

\n The tasks section is where you can check on the status and history of the background tasks associated with this project that your Octopus Server is managing.\n

\n
\n
);\n },\n renderTopics: (renderProps: RenderRegistrationCardProps) => {\n return ;\n },\n};\n","import * as React from \"react\";\nimport ExternalLink from \"~/components/Navigation/ExternalLink/index\";\nimport pageIds from \"~/pageIds\";\nimport type { CategorizedPageHelpRegistration, RenderRegistrationCardProps } from \"../../../Registry/pageHelpRegistry\";\nimport { OverviewContainer, OverviewHighlightText } from \"../../CommonComponents/CommonViews\";\nexport const ProjectTenantCommonTemplatesRegistration: CategorizedPageHelpRegistration = {\n page: pageIds.project().variables.tenant.commonTemplates,\n renderOverview: (renderProps: RenderRegistrationCardProps) => {\n return (\n \n

Common templates define which variable values are required for each tenant connected to this project.

\n
\n

\n Common templates are defined in variable sets and allow tenants to provide a common variable value that is shared across projects and environments.\n

\n
\n

\n Learn more about \n tenant-specific variables.\n

\n
\n
);\n },\n renderTopics: (renderProps: RenderRegistrationCardProps) => null,\n};\n","import * as React from \"react\";\nimport ExternalLink from \"~/components/Navigation/ExternalLink/index\";\nimport pageIds from \"~/pageIds\";\nimport type { CategorizedPageHelpRegistration, RenderRegistrationCardProps } from \"../../../Registry/pageHelpRegistry\";\nimport { OverviewContainer, OverviewHighlightText } from \"../../CommonComponents/CommonViews\";\nexport const ProjectTenantProjectTemplatesRegistration: CategorizedPageHelpRegistration = {\n page: pageIds.project().variables.tenant.projectTemplates,\n renderOverview: (renderProps: RenderRegistrationCardProps) => {\n return (\n \n

Project templates define which variable values are required for each tenant connected to this project.

\n
\n

Project templates allow tenants to provide different variable values for each project/environment combination.

\n
\n

\n Learn more about \n tenant-specific variables.\n

\n
\n
);\n },\n renderTopics: (renderProps: RenderRegistrationCardProps) => null,\n};\n","import React from \"react\";\nimport ExternalLink from \"~/components/Navigation/ExternalLink\";\nimport { OverviewContainer, OverviewHighlightText } from \"./CommonViews\";\nexport const CommonProjectTenantsOverview = () => {\n return (\n \n

\n Tenants allow you to easily create customer specific deployment pipelines without duplicating project configuration.\n

\n
\n
);\n};\nexport const CommonProjectTenantsTopics = () => {\n return <>;\n};\n","import * as React from \"react\";\nimport pageIds from \"~/pageIds\";\nimport type { CategorizedPageHelpRegistration, RenderRegistrationCardProps } from \"../../../Registry/pageHelpRegistry\";\nimport { CommonProjectTenantsOverview, CommonProjectTenantsTopics } from \"../../CommonComponents/CommonProjectTenantsView\";\nexport const ProjectTenantsRegistration: CategorizedPageHelpRegistration = {\n page: pageIds.project().tenants,\n renderOverview: (renderProps: RenderRegistrationCardProps) => {\n return ;\n },\n renderTopics: (renderProps: RenderRegistrationCardProps) => {\n return ;\n },\n};\n","import * as React from \"react\";\nimport pageIds from \"~/pageIds\";\nimport type { CategorizedPageHelpRegistration, RenderRegistrationCardProps } from \"../../../Registry/pageHelpRegistry\";\nimport { CommonProjectTriggerOverview } from \"../../CommonComponents/CommonProjectTriggerViews\";\nexport const ProjectTriggerBuiltInFeedNewRegistration: CategorizedPageHelpRegistration = {\n page: pageIds.project().builtInFeedTriggerNew,\n renderOverview: (renderProps: RenderRegistrationCardProps) => {\n return ;\n },\n renderTopics: (renderProps: RenderRegistrationCardProps) => null,\n};\n","import * as React from \"react\";\nimport pageIds from \"~/pageIds\";\nimport type { CategorizedPageHelpRegistration, RenderRegistrationCardProps } from \"../../../Registry/pageHelpRegistry\";\nimport { CommonProjectTriggerOverview } from \"../../CommonComponents/CommonProjectTriggerViews\";\nexport const ProjectTriggerBuiltInFeedRegistration: CategorizedPageHelpRegistration = {\n page: pageIds.project().builtInFeedTrigger,\n renderOverview: (renderProps: RenderRegistrationCardProps) => {\n return ;\n },\n renderTopics: (renderProps: RenderRegistrationCardProps) => null,\n};\n","import * as React from \"react\";\nimport pageIds from \"~/pageIds\";\nimport type { CategorizedPageHelpRegistration, RenderRegistrationCardProps } from \"../../../Registry/pageHelpRegistry\";\nimport { CommonProjectTriggerOverview } from \"../../CommonComponents/CommonProjectTriggerViews\";\nexport const ProjectTriggerDeploymentTargetNewRegistration: CategorizedPageHelpRegistration = {\n page: pageIds.project().deploymentTargetTriggerNew,\n renderOverview: (renderProps: RenderRegistrationCardProps) => {\n return ;\n },\n renderTopics: (renderProps: RenderRegistrationCardProps) => null,\n};\n","import * as React from \"react\";\nimport pageIds from \"~/pageIds\";\nimport type { CategorizedPageHelpRegistration, RenderRegistrationCardProps } from \"../../../Registry/pageHelpRegistry\";\nimport { CommonProjectTriggerOverview } from \"../../CommonComponents/CommonProjectTriggerViews\";\nexport const ProjectTriggerDeploymentTargetRegistration: CategorizedPageHelpRegistration = {\n page: pageIds.project().deploymentTargetTrigger,\n renderOverview: (renderProps: RenderRegistrationCardProps) => {\n return ;\n },\n renderTopics: (renderProps: RenderRegistrationCardProps) => null,\n};\n","import * as React from \"react\";\nimport pageIds from \"~/pageIds\";\nimport type { CategorizedPageHelpRegistration, RenderRegistrationCardProps } from \"../../../Registry/pageHelpRegistry\";\nimport { CommonProjectTriggerOverview } from \"../../CommonComponents/CommonProjectTriggerViews\";\nexport const ProjectTriggerGitRepositoryNewRegistration: CategorizedPageHelpRegistration = {\n page: pageIds.project().releaseCreationGitTriggerNew,\n renderOverview: (renderProps: RenderRegistrationCardProps) => {\n return ;\n },\n renderTopics: (renderProps: RenderRegistrationCardProps) => null,\n};\n","import * as React from \"react\";\nimport pageIds from \"~/pageIds\";\nimport type { CategorizedPageHelpRegistration, RenderRegistrationCardProps } from \"../../../Registry/pageHelpRegistry\";\nimport { CommonProjectTriggerOverview } from \"../../CommonComponents/CommonProjectTriggerViews\";\nexport const ProjectTriggerGitRepositoryRegistration: CategorizedPageHelpRegistration = {\n page: pageIds.project().releaseCreationGitTrigger,\n renderOverview: (renderProps: RenderRegistrationCardProps) => {\n return ;\n },\n renderTopics: (renderProps: RenderRegistrationCardProps) => null,\n};\n","import * as React from \"react\";\nimport pageIds from \"~/pageIds\";\nimport type { CategorizedPageHelpRegistration, RenderRegistrationCardProps } from \"../../../Registry/pageHelpRegistry\";\nimport { CommonProjectTriggerReleaseViews } from \"../../CommonComponents/CommonProjectTriggerReleaseViews\";\nexport const ProjectTriggerReleaseNewRegistration: CategorizedPageHelpRegistration = {\n page: pageIds.project().releaseTriggerNew,\n renderOverview: (renderProps: RenderRegistrationCardProps) => {\n return ;\n },\n renderTopics: (renderProps: RenderRegistrationCardProps) => null,\n};\n","import * as React from \"react\";\nimport pageIds from \"~/pageIds\";\nimport type { CategorizedPageHelpRegistration, RenderRegistrationCardProps } from \"../../../Registry/pageHelpRegistry\";\nimport { CommonProjectTriggerReleaseViews } from \"../../CommonComponents/CommonProjectTriggerReleaseViews\";\nexport const ProjectTriggerReleaseRegistration: CategorizedPageHelpRegistration = {\n page: pageIds.project().releaseTrigger,\n renderOverview: (renderProps: RenderRegistrationCardProps) => {\n return ;\n },\n renderTopics: (renderProps: RenderRegistrationCardProps) => null,\n};\n","import * as React from \"react\";\nimport pageIds from \"~/pageIds\";\nimport type { CategorizedPageHelpRegistration, RenderRegistrationCardProps } from \"../../../Registry/pageHelpRegistry\";\nimport { CommonProjectTriggerOverview } from \"../../CommonComponents/CommonProjectTriggerViews\";\nexport const ProjectTriggerScheduledNewRegistration: CategorizedPageHelpRegistration = {\n page: pageIds.project().scheduledTriggerNew,\n renderOverview: (renderProps: RenderRegistrationCardProps) => {\n return ;\n },\n renderTopics: (renderProps: RenderRegistrationCardProps) => null,\n};\n","import * as React from \"react\";\nimport pageIds from \"~/pageIds\";\nimport type { CategorizedPageHelpRegistration, RenderRegistrationCardProps } from \"../../../Registry/pageHelpRegistry\";\nimport { CommonProjectTriggerOverview } from \"../../CommonComponents/CommonProjectTriggerViews\";\nexport const ProjectTriggerScheduledRegistration: CategorizedPageHelpRegistration = {\n page: pageIds.project().scheduledTrigger,\n renderOverview: (renderProps: RenderRegistrationCardProps) => {\n return ;\n },\n renderTopics: (renderProps: RenderRegistrationCardProps) => null,\n};\n","import * as React from \"react\";\nimport pageIds from \"~/pageIds\";\nimport type { CategorizedPageHelpRegistration, RenderRegistrationCardProps } from \"../../../Registry/pageHelpRegistry\";\nimport { CommonProjectTriggerOverview } from \"../../CommonComponents/CommonProjectTriggerViews\";\nexport const ProjectTriggersRegistration: CategorizedPageHelpRegistration = {\n page: pageIds.project().triggers,\n renderOverview: (renderProps: RenderRegistrationCardProps) => {\n return ;\n },\n renderTopics: (renderProps: RenderRegistrationCardProps) => null,\n};\n","import * as React from \"react\";\nimport pageIds from \"~/pageIds\";\nimport type { CategorizedPageHelpRegistration, RenderRegistrationCardProps } from \"../../../Registry/pageHelpRegistry\";\nimport { CommonProjectVariableOverview } from \"../../CommonComponents/CommonProjectVariableViews\";\nexport const ProjectVariableAllRegistration: CategorizedPageHelpRegistration = {\n page: pageIds.project().variables.all,\n renderOverview: (renderProps: RenderRegistrationCardProps) => {\n return ;\n },\n renderTopics: (renderProps: RenderRegistrationCardProps) => null,\n};\n","import * as React from \"react\";\nimport pageIds from \"~/pageIds\";\nimport type { CategorizedPageHelpRegistration, RenderRegistrationCardProps } from \"../../../Registry/pageHelpRegistry\";\nimport { CommonProjectVariableOverview } from \"../../CommonComponents/CommonProjectVariableViews\";\nexport const ProjectVariableCommonTemplatesRegistration: CategorizedPageHelpRegistration = {\n page: pageIds.project().variables.commonTemplates,\n renderOverview: (renderProps: RenderRegistrationCardProps) => {\n return ;\n },\n renderTopics: (renderProps: RenderRegistrationCardProps) => null,\n};\n","import * as React from \"react\";\nimport pageIds from \"~/pageIds\";\nimport type { CategorizedPageHelpRegistration, RenderRegistrationCardProps } from \"../../../Registry/pageHelpRegistry\";\nimport { CommonProjectVariableOverview } from \"../../CommonComponents/CommonProjectVariableViews\";\nexport const ProjectVariableLibraryRegistration: CategorizedPageHelpRegistration = {\n page: pageIds.project().variables.library,\n renderOverview: (renderProps: RenderRegistrationCardProps) => {\n return ;\n },\n renderTopics: (renderProps: RenderRegistrationCardProps) => null,\n};\n","import * as React from \"react\";\nimport { YouTubePlayer } from \"~/components/ContextualHelpLayout/YouTubePlayer\";\nimport { Note } from \"~/components/form\";\nimport pageIds from \"~/pageIds\";\nimport type { CategorizedPageHelpRegistration, RenderRegistrationCardProps } from \"../../../Registry/pageHelpRegistry\";\nimport { OverviewContainer, OverviewHighlightText, TermsText } from \"../../CommonComponents/CommonViews\";\nconst video = {\n youtubeId: \"Hd71uhcD61E\",\n shortlink: \"OnboardingProjectVariablesVideo\",\n};\nexport const ProjectVariablePreviewRegistration: CategorizedPageHelpRegistration = {\n page: pageIds.project().variables.preview,\n renderOverview: (renderProps: RenderRegistrationCardProps) => {\n return (\n \n

Variable preview gives you an insight in to the final value a variable will have when it is involved in a deployment. It evaluates variable substitution syntax and variable scoping.

\n
\n \n \n There are some limitations as some aspects of variable evaluation require an actual deployment, for example output variables.\n Note in particular that your results will be limited by the Octopus Permissions you have.\n \n
);\n },\n renderTopics: (renderProps: RenderRegistrationCardProps) => null,\n};\n","import * as React from \"react\";\nimport pageIds from \"~/pageIds\";\nimport type { CategorizedPageHelpRegistration, RenderRegistrationCardProps } from \"../../../Registry/pageHelpRegistry\";\nimport { CommonProjectVariableOverview } from \"../../CommonComponents/CommonProjectVariableViews\";\nexport const ProjectVariableTemplatesRegistration: CategorizedPageHelpRegistration = {\n page: pageIds.project().variables.projectTemplates,\n renderOverview: (renderProps: RenderRegistrationCardProps) => {\n return ;\n },\n renderTopics: (renderProps: RenderRegistrationCardProps) => null,\n};\n","import * as React from \"react\";\nimport pageIds from \"~/pageIds\";\nimport type { CategorizedPageHelpRegistration, RenderRegistrationCardProps } from \"../../../Registry/pageHelpRegistry\";\nimport { CommonProjectVariableOverview } from \"../../CommonComponents/CommonProjectVariableViews\";\nexport const ProjectVariablesRegistration: CategorizedPageHelpRegistration = {\n page: pageIds.project().variables.root,\n renderOverview: (renderProps: RenderRegistrationCardProps) => {\n return ;\n },\n renderTopics: (renderProps: RenderRegistrationCardProps) => null,\n};\n","import { css } from \"@emotion/css\";\nimport { space } from \"@octopusdeploy/design-system-tokens\";\nimport { links } from \"@octopusdeploy/portal-routes\";\nimport React from \"react\";\nimport { repository } from \"~/clientInstance\";\nimport { YouTubePlayer } from \"~/components/ContextualHelpLayout/YouTubePlayer\";\nimport ExternalLink from \"~/components/Navigation/ExternalLink\";\nimport InternalLink from \"~/components/Navigation/InternalLink\";\nimport { Note } from \"~/components/form\";\nimport { OverviewContainer, OverviewHighlightText, TermsText } from \"./CommonViews\";\nconst video = {\n youtubeId: \"UtoWLWTjIE8\",\n shortlink: \"OnboardingVersionControlledProjectVideo\",\n};\nexport const CommonProjectGitView = () => {\n // eslint-disable-next-line @typescript-eslint/no-non-null-assertion\n const spaceId = repository.spaceId!;\n const styles = {\n helpContent: css({\n \"& ol\": {\n listStyleType: \"decimal\",\n paddingLeft: space[24],\n },\n }),\n };\n return (\n \n \n

Config as Code lets you store your project configuration in version control.

\n Config as code allows you to store your project configuration in version control.\n
\n \n \n
\n

Seamlessly and securely connect your GitHub repositories using the Octopus GitHub App. This avoids the need to use and rotate personal access tokens.

\n
\n

Connect to GitHub using the Octopus GitHub App:

\n
    \n
  1. \n Choose GitHub, then CONNECT TO GITHUB.\n
  2. \n
  3. \n On the GitHub Connections page, follow the prompts to install the Octopus Deploy GitHub App.\n
  4. \n
  5. \n When you return to this page, click the refresh icon next to CONNECT TO GITHUB.\n
  6. \n
  7. \n Under GitHub Repository, select your GitHub accounts and repositories from the dropdown.\n
  8. \n
  9. \n Click CONFIGURE... in the top right corner, then COMMIT.\n
  10. \n
\n
\n
\n \n

To connect using Git Credentials, choose Other Git Provider.

\n
\n
\n
);\n};\n","import * as React from \"react\";\nimport ExternalLink from \"~/components/Navigation/ExternalLink\";\nimport pageIds from \"~/pageIds\";\nimport type { CategorizedPageHelpRegistration, RenderRegistrationCardProps } from \"../../../Registry/pageHelpRegistry\";\nimport { CommonProjectGitView } from \"../../CommonComponents/CommonGitViews\";\nimport { LearnMoreResources, TopicsContainer } from \"../../CommonComponents/CommonViews\";\nexport const ProjectVersionControlSettingsRegistration: CategorizedPageHelpRegistration = {\n page: pageIds.project().settings.versionControl,\n renderOverview: (renderProps: RenderRegistrationCardProps) => {\n return ;\n },\n renderTopics: (renderProps: RenderRegistrationCardProps) => {\n return (\n \n
\n Connecting projects to Git\n
\n
\n Moving version control\n
\n
\n GitHub App\n
\n
\n
);\n },\n};\n","import { css } from \"@emotion/css\";\nimport { KubernetesIcon, RocketIcon } from \"@octopusdeploy/design-system-icons\";\nimport { colorScales, space, themeTokens } from \"@octopusdeploy/design-system-tokens\";\nimport React from \"react\";\nimport CreateSampleProjectCallout from \"~/components/ContextualHelpLayout/PageHelpRegistry/Registrations/Areas/Projects/components/CreateSampleProjectCallout\";\nimport ImageWithPlaceholder from \"~/components/GettingStarted/ImageWithPlaceholder/ImageWithPlaceholder\";\nimport ExternalLink from \"~/components/Navigation/ExternalLink\";\nimport image from \"../../Images/Projects.svg\";\nimport { LearnMoreResources, OverviewContainer, OverviewHighlightText, TopicsContainer } from \"./CommonViews\";\nexport const CommonProjectsView = () => {\n return (\n \n

\n Projects let you manage multiple software applications. For each project, you define a deployment process, configuration variables, and the environments the software\n will be deployed to.\n

\n
\n \n
\n \n
\n
);\n};\nconst topicsStyles = css({\n display: \"flex\",\n flexDirection: \"column\",\n gap: space[8],\n color: themeTokens.color.text.secondary,\n});\nconst linkStyles = css({\n display: \"flex\",\n gap: space[4],\n alignItems: \"center\",\n});\nexport const CommonProjectsTopics = () => {\n return (\n \n
\n
\n \n First Kubernetes Deployment\n
\n
\n \n First Deployment\n
\n
\n
\n
);\n};\n","import * as React from \"react\";\nimport { CommonProjectsTopics, CommonProjectsView } from \"~/components/ContextualHelpLayout/PageHelpRegistry/Registrations/CommonComponents/CommonProjectsViews\";\nimport pageIds from \"~/pageIds\";\nimport type { CategorizedPageHelpRegistration, RenderRegistrationCardProps } from \"../../../Registry/pageHelpRegistry\";\nexport const ProjectsRegistration: CategorizedPageHelpRegistration = {\n page: pageIds.projects.root,\n renderOverview: (renderProps: RenderRegistrationCardProps) => {\n return ;\n },\n renderTopics: (renderProps: RenderRegistrationCardProps) => ,\n};\n","import { css, cx } from \"@emotion/css\";\nimport { CircularProgress, Callout } from \"@octopusdeploy/design-system-components\";\nimport { lineHeight, space, text, themeTokens } from \"@octopusdeploy/design-system-tokens\";\nimport type { ProjectResource, SpaceResource, UserOnboardingResource } from \"@octopusdeploy/octopus-server-client\";\nimport { links } from \"@octopusdeploy/portal-routes\";\nimport React, { useState } from \"react\";\nimport { useAnalyticSampleProjectDispatch } from \"~/analytics/Analytics\";\nimport { generateGuid } from \"~/areas/projects/components/Process/generation/index\";\nimport { InitializeSampleProjectTour } from \"~/areas/projects/components/ProjectLayout/SampleProjectTour/SampleProjectTourUtils\";\nimport { repository, session } from \"~/clientInstance\";\nimport type { Errors } from \"~/components/DataBaseComponent/index\";\nimport DataBaseComponent from \"~/components/DataBaseComponent/index\";\nimport { useSpaceAwareNavigation } from \"~/components/Navigation/SpaceAwareNavigation/useSpaceAwareNavigation\";\nconst style = {\n disabledLink: css({\n pointerEvents: \"none\",\n cursor: \"default\",\n color: themeTokens.color.text.disabled,\n }),\n loadingText: css({\n color: themeTokens.color.text.primary,\n font: text.body.regular.medium,\n }),\n loadingCallout: css({\n display: \"flex\",\n alignItems: \"center\",\n justifyContent: \"center\",\n paddingTop: 10,\n paddingBottom: 10,\n gap: space[12],\n opacity: 0,\n }),\n opacityAnimation: css({\n opacity: 1,\n transition: \"opacity 300ms ease-in\",\n }),\n};\nconst calloutStyles = css({\n lineHeight: lineHeight.xSmall,\n});\nconst containerStyles = css({\n margin: `${space[12]} 0`,\n});\nconst calloutLoadingStyle = cx(style.loadingCallout, style.opacityAnimation);\ninterface CreateSampleProjectCalloutInternalProps {\n userOnboarding: UserOnboardingResource | undefined;\n currentSpace: SpaceResource | undefined;\n busy: Promise | undefined;\n errors: Errors | undefined;\n onCreateSampleProject: (sampleProjectReference: string) => Promise;\n isInHelpSidebar?: boolean;\n}\nfunction CreateSampleProjectCalloutInternal(props: CreateSampleProjectCalloutInternalProps) {\n const { userOnboarding, currentSpace, busy, errors, onCreateSampleProject, isInHelpSidebar = false } = props;\n const navigate = useSpaceAwareNavigation();\n const sampleProjectDispatchAction = useAnalyticSampleProjectDispatch();\n const [loadingStyle, setLoadingStyle] = useState(style.loadingCallout);\n const clickSampleProject = async (e: React.MouseEvent) => {\n e.preventDefault();\n if (busy) {\n return;\n }\n const sampleProjectReference = generateGuid();\n sampleProjectDispatchAction(\"Request Sample Project\", {\n sampleProjectReference,\n source: isInHelpSidebar ? \"Help Sidebar\" : \"Welcome Dialog\",\n });\n setTimeout(() => setLoadingStyle(calloutLoadingStyle), 10);\n const project = await onCreateSampleProject(sampleProjectReference);\n if (project) {\n InitializeSampleProjectTour(project.Slug);\n navigate.navigate(links.projectOverviewRedirect.generateUrl({ spaceId: project.SpaceId, projectSlug: project.Slug }));\n }\n };\n if (!currentSpace || !session.currentPermissions?.isSpaceManager(currentSpace)) {\n return <>;\n }\n return (
\n \n {busy ? (
\n \n
Loading sample project
\n
) : (
\n \n Create a sample project\n {\" \"}\n to learn about key Octopus features.\n
)}\n
\n
);\n}\ninterface CreateSampleProjectCalloutState {\n currentSpace?: SpaceResource;\n userOnboarding?: UserOnboardingResource;\n}\ntype CreateSampleProjectCalloutProps = {\n isInHelpSidebar?: boolean;\n};\nclass CreateSampleProjectCallout extends DataBaseComponent {\n constructor(props: CreateSampleProjectCalloutProps) {\n super(props);\n this.state = {};\n }\n async componentDidMount() {\n await this.doBusyTask(async () => {\n if (!repository.spaceId)\n return;\n const [response, space] = await Promise.all([repository.UserOnboarding.getForCurrentUser(), repository.Spaces.get(repository.spaceId)]);\n this.setState({ userOnboarding: response?.UserOnboardingResource, currentSpace: space });\n });\n }\n async handleCreateSampleProject(sampleProjectReference: string): Promise {\n let project: ProjectResource | undefined = undefined;\n await this.doBusyTask(async () => {\n const sampleProject = await repository.Projects.createSampleProject(\"Sample Project\", sampleProjectReference);\n project = sampleProject.Project;\n });\n return project;\n }\n render() {\n return ( this.handleCreateSampleProject(sampleProjectReference)} errors={this.errors} isInHelpSidebar={this.props.isInHelpSidebar}/>);\n }\n static displayName = \"CreateSampleProjectCallout\";\n}\nexport default CreateSampleProjectCallout;\n","import CreateSampleProjectCallout from \"~/components/ContextualHelpLayout/PageHelpRegistry/Registrations/Areas/Projects/components/CreateSampleProjectCallout/CreateSampleProjectCallout\";\nexport default CreateSampleProjectCallout;\n","import * as React from \"react\";\nimport pageIds from \"~/pageIds\";\nimport type { CategorizedPageHelpRegistration, RenderRegistrationCardProps } from \"../../../Registry/pageHelpRegistry\";\nimport { CommonTaskOverview, CommonTaskTopics } from \"../../CommonComponents/CommonTaskViews\";\nexport const TaskRawRegistration: CategorizedPageHelpRegistration = {\n page: pageIds.task().raw,\n renderOverview: (renderProps: RenderRegistrationCardProps) => {\n return ;\n },\n renderTopics: (renderProps: RenderRegistrationCardProps) => {\n return ;\n },\n};\n","import * as React from \"react\";\nimport pageIds from \"~/pageIds\";\nimport type { CategorizedPageHelpRegistration, RenderRegistrationCardProps } from \"../../../Registry/pageHelpRegistry\";\nimport { CommonTaskOverview, CommonTaskTopics } from \"../../CommonComponents/CommonTaskViews\";\nexport const TaskRegistration: CategorizedPageHelpRegistration = {\n page: pageIds.task().root,\n renderOverview: (renderProps: RenderRegistrationCardProps) => {\n return ;\n },\n renderTopics: (renderProps: RenderRegistrationCardProps) => {\n return ;\n },\n};\n","import * as React from \"react\";\nimport pageIds from \"~/pageIds\";\nimport type { CategorizedPageHelpRegistration, RenderRegistrationCardProps } from \"../../../Registry/pageHelpRegistry\";\nimport { CommonTaskOverview, CommonTaskTopics } from \"../../CommonComponents/CommonTaskViews\";\nexport const TasksRegistration: CategorizedPageHelpRegistration = {\n page: pageIds.tasks.root,\n renderOverview: (renderProps: RenderRegistrationCardProps) => {\n return ;\n },\n renderTopics: (renderProps: RenderRegistrationCardProps) => {\n return ;\n },\n};\n","import * as React from \"react\";\nimport pageIds from \"~/pageIds\";\nimport type { CategorizedPageHelpRegistration, RenderRegistrationCardProps } from \"../../../Registry/pageHelpRegistry\";\nimport { CommonTaskOverview, CommonTaskTopics } from \"../../CommonComponents/CommonTaskViews\";\nexport const TasksScriptConsoleRegistration: CategorizedPageHelpRegistration = {\n page: pageIds.tasks.console,\n renderOverview: (renderProps: RenderRegistrationCardProps) => {\n return ;\n },\n renderTopics: (renderProps: RenderRegistrationCardProps) => {\n return ;\n },\n};\n","import * as React from \"react\";\nimport pageIds from \"~/pageIds\";\nimport type { CategorizedPageHelpRegistration, RenderRegistrationCardProps } from \"../../../Registry/pageHelpRegistry\";\nimport { CommonTenantOverviewViews, CommonTenantTopics } from \"../../CommonComponents/CommonTenantOverviewViews\";\nexport const TenantOverviewRegistration: CategorizedPageHelpRegistration = {\n page: pageIds.tenant.overview,\n renderOverview: (renderProps: RenderRegistrationCardProps) => {\n return ;\n },\n renderTopics: (renderProps: RenderRegistrationCardProps) => {\n return ;\n },\n};\n","import * as React from \"react\";\nimport pageIds from \"~/pageIds\";\nimport type { CategorizedPageHelpRegistration, RenderRegistrationCardProps } from \"../../../Registry/pageHelpRegistry\";\nimport { CommonTenantOverviewViews } from \"../../CommonComponents/CommonTenantOverviewViews\";\nimport { CommonTenantTopics } from \"../../CommonComponents/CommonTenantViews\";\nexport const TenantSettingsRegistration: CategorizedPageHelpRegistration = {\n page: pageIds.tenant.settings,\n renderOverview: (renderProps: RenderRegistrationCardProps) => {\n return ;\n },\n renderTopics: (renderProps: RenderRegistrationCardProps) => {\n return ;\n },\n};\n","import * as React from \"react\";\nimport pageIds from \"~/pageIds\";\nimport type { CategorizedPageHelpRegistration, RenderRegistrationCardProps } from \"../../../Registry/pageHelpRegistry\";\nimport { OverviewContainer, OverviewHighlightText } from \"../../CommonComponents/CommonViews\";\nimport { DefaultTopics } from \"../../CommonComponents/DefaultViews\";\nexport const TenantTasksRegistration: CategorizedPageHelpRegistration = {\n page: pageIds.tenant.tasks,\n renderOverview: (renderProps: RenderRegistrationCardProps) => {\n return (\n \n

\n The tasks section is where you can check on the status and history of the background tasks associated with this tenant that your Octopus Server is managing.\n

\n
\n
);\n },\n renderTopics: (renderProps: RenderRegistrationCardProps) => {\n return ;\n },\n};\n","import * as React from \"react\";\nimport pageIds from \"~/pageIds\";\nimport type { CategorizedPageHelpRegistration, RenderRegistrationCardProps } from \"../../../Registry/pageHelpRegistry\";\nimport { CommonTenantOverviewViews } from \"../../CommonComponents/CommonTenantOverviewViews\";\nimport { CommonTenantTopics } from \"../../CommonComponents/CommonTenantViews\";\nexport const TenantVariablesRegistration: CategorizedPageHelpRegistration = {\n page: pageIds.tenant.variables,\n renderOverview: (renderProps: RenderRegistrationCardProps) => {\n return ;\n },\n renderTopics: (renderProps: RenderRegistrationCardProps) => {\n return ;\n },\n};\n","import * as React from \"react\";\nimport pageIds from \"~/pageIds\";\nimport type { CategorizedPageHelpRegistration, RenderRegistrationCardProps } from \"../../../Registry/pageHelpRegistry\";\nimport { CommonTenantOverview, CommonTenantTopics } from \"../../CommonComponents/CommonTenantViews\";\nexport const TenantsRegistration: CategorizedPageHelpRegistration = {\n page: pageIds.tenants,\n renderOverview: (renderProps: RenderRegistrationCardProps) => {\n return ;\n },\n renderTopics: (renderProps: RenderRegistrationCardProps) => {\n return ;\n },\n};\n","import * as React from \"react\";\nimport pageIds from \"~/pageIds\";\nimport type { CategorizedPageHelpRegistration, RenderRegistrationCardProps } from \"../../../Registry/pageHelpRegistry\";\nimport { CommonUserProfileOverview, CommonUserProfileTopics } from \"../../CommonComponents/CommonUserProfileViews\";\nexport const UserProfileActivityRegistration: CategorizedPageHelpRegistration = {\n page: pageIds.currentUser.activity,\n renderOverview: (renderProps: RenderRegistrationCardProps) => {\n return ;\n },\n renderTopics: (renderProps: RenderRegistrationCardProps) => {\n return ;\n },\n};\n","import * as React from \"react\";\nimport pageIds from \"~/pageIds\";\nimport type { CategorizedPageHelpRegistration, RenderRegistrationCardProps } from \"../../../Registry/pageHelpRegistry\";\nimport { CommonUserProfileOverview, CommonUserProfileTopics } from \"../../CommonComponents/CommonUserProfileViews\";\nexport const UserProfileApiKeysRegistration: CategorizedPageHelpRegistration = {\n page: pageIds.currentUser.apiKeys,\n renderOverview: (renderProps: RenderRegistrationCardProps) => {\n return ;\n },\n renderTopics: (renderProps: RenderRegistrationCardProps) => {\n return ;\n },\n};\n","import * as React from \"react\";\nimport pageIds from \"~/pageIds\";\nimport type { CategorizedPageHelpRegistration, RenderRegistrationCardProps } from \"../../../Registry/pageHelpRegistry\";\nimport { CommonUserProfileOverview, CommonUserProfileTopics } from \"../../CommonComponents/CommonUserProfileViews\";\nexport const UserProfileDetailsRegistration: CategorizedPageHelpRegistration = {\n page: pageIds.currentUser.details,\n renderOverview: (renderProps: RenderRegistrationCardProps) => {\n return ;\n },\n renderTopics: (renderProps: RenderRegistrationCardProps) => {\n return ;\n },\n};\n","import * as React from \"react\";\nimport pageIds from \"~/pageIds\";\nimport type { CategorizedPageHelpRegistration, RenderRegistrationCardProps } from \"../../../Registry/pageHelpRegistry\";\nimport { CommonUserProfileOverview, CommonUserProfileTopics } from \"../../CommonComponents/CommonUserProfileViews\";\nexport const UserProfileLoginsRegistration: CategorizedPageHelpRegistration = {\n page: pageIds.currentUser.logins,\n renderOverview: (renderProps: RenderRegistrationCardProps) => {\n return ;\n },\n renderTopics: (renderProps: RenderRegistrationCardProps) => {\n return ;\n },\n};\n","import * as React from \"react\";\nimport pageIds from \"~/pageIds\";\nimport type { CategorizedPageHelpRegistration, RenderRegistrationCardProps } from \"../../../Registry/pageHelpRegistry\";\nimport { CommonUserProfileOverview, CommonUserProfileTopics } from \"../../CommonComponents/CommonUserProfileViews\";\nexport const UserProfileRegistration: CategorizedPageHelpRegistration = {\n page: pageIds.currentUser.me,\n renderOverview: (renderProps: RenderRegistrationCardProps) => {\n return ;\n },\n renderTopics: (renderProps: RenderRegistrationCardProps) => {\n return ;\n },\n};\n","import pageIds from \"~/pageIds\";\nimport type { CategorizedPageHelpRegistration, RenderRegistrationCardProps } from \"../../../Registry/pageHelpRegistry\";\nexport const UserRegisterRegistration: CategorizedPageHelpRegistration = {\n page: pageIds.currentUser.register,\n renderOverview: (renderProps: RenderRegistrationCardProps) => {\n return null;\n },\n renderTopics: (renderProps: RenderRegistrationCardProps) => {\n return null;\n },\n};\n","import pageIds from \"~/pageIds\";\nimport type { CategorizedPageHelpRegistration, RenderRegistrationCardProps } from \"../../../Registry/pageHelpRegistry\";\nexport const UserSignInRegistration: CategorizedPageHelpRegistration = {\n page: pageIds.currentUser.signIn,\n renderOverview: (renderProps: RenderRegistrationCardProps) => {\n return null;\n },\n renderTopics: (renderProps: RenderRegistrationCardProps) => {\n return null;\n },\n};\n","import pageIds from \"~/pageIds\";\nimport type { CategorizedPageHelpRegistration, RenderRegistrationCardProps } from \"../../../Registry/pageHelpRegistry\";\nexport const UserSignOutRegistration: CategorizedPageHelpRegistration = {\n page: pageIds.currentUser.signOut,\n renderOverview: (renderProps: RenderRegistrationCardProps) => {\n return null;\n },\n renderTopics: (renderProps: RenderRegistrationCardProps) => {\n return null;\n },\n};\n","import React from \"react\";\nimport { OverviewContainer, OverviewHighlightText, TermsText } from \"~/components/ContextualHelpLayout/PageHelpRegistry/Registrations/CommonComponents/CommonViews\";\nimport ExternalLink from \"~/components/Navigation/ExternalLink/index\";\nimport { Note } from \"~/components/form/index\";\nexport const CommonConfigurationDeploymentFreezesOverview = () => {\n return (\n \n

\n Deployment freezes allow you to prevent deployments for a configured amount of time. This is useful when you want to prevent certain projects deploying to certain environments\n within a specific time frame.\n

\n
\n \n Projects and environments will need to be created before a deployment freeze can be created.\n \n Deployment freezes can be scoped to projects and environments. During deployment, Octopus will block deployments for projects to a certain environment if a freeze is scoped to that project and environment.{\" \"}\n \n \n To create and edit a deployment freeze, the DeploymentFreezeAdminister system permission is required. In addition, permissions will need to be scoped to all requested projects and environments when creating, editing or overriding\n a deployment freeze. The DeploymentFreezeAdminister permission is included in the System Administrator, System Manager and Space Manager roles.\n \n \n
);\n};\n","import React from \"react\";\nimport { DefaultOverview, DefaultTopics } from \"./DefaultViews\";\nexport const CommonConfigurationDiagnosticsOverview = () => {\n return ;\n};\nexport const CommonConfigurationDiagnosticsTopics = () => {\n return ;\n};\n","import React from \"react\";\nimport { DefaultOverview, DefaultTopics } from \"./DefaultViews\";\nexport const CommonConfigurationLetsEncryptOverview = () => {\n return ;\n};\nexport const CommonConfigurationLetsEncryptTopics = () => {\n return ;\n};\n","import React from \"react\";\nimport ExternalLink from \"~/components/Navigation/ExternalLink\";\nimport { OverviewContainer, OverviewHighlightText, LearnMoreResources, TopicsContainer } from \"./CommonViews\";\nexport const CommonConfigurationNodesOverview = () => {\n return (\n \n

\n Nodes represent your Octopus Server instances.\n

\n
\n
);\n};\nexport const CommonConfigurationNodesTopics = () => {\n return (\n \n
\n Managing High Availability Nodes\n
\n
\n
);\n};\n","import React from \"react\";\nimport { YouTubePlayer } from \"~/components/ContextualHelpLayout/YouTubePlayer\";\nimport ExternalLink from \"~/components/Navigation/ExternalLink\";\nimport { OverviewContainer, OverviewHighlightText } from \"./CommonViews\";\nconst video = {\n youtubeId: \"f_JPU7sAE8M\",\n shortlink: \"ManagingUsersAndTeamsVideo\",\n};\nexport const CommonConfigurationRoleOverview = () => {\n return (\n \n \n

\n User roles and group permissions play a major part in the Octopus security model. These roles are assigned to teams and they dictate what the members of those teams can do in Octopus.\n

\n

Octopus comes with a common set of built-in roles, and you can create custom user roles to suit your needs.

\n
\n
);\n};\n","import React from \"react\";\nimport ImageWithPlaceholder from \"~/components/GettingStarted/ImageWithPlaceholder/ImageWithPlaceholder\";\nimport ExternalLink from \"~/components/Navigation/ExternalLink\";\nimport { Note } from \"~/components/form\";\nimport image from \"../../Images/Spaces.svg\";\nimport { OverviewContainer, OverviewHighlightText, TermsText } from \"./CommonViews\";\nexport const CommonConfigurationSpaceOverview = () => {\n return (\n \n

\n With spaces, you can partition your Octopus Server so that each of your teams can only access the projects, environments, and infrastructure they work with from the spaces they are\n members of.\n

\n \n
\n \n Users are given access to a space via a team. A team will have user roles scoped to a space therefore granting access to that space.\n Behind the scenes, a space managers team is created, and any users that are nominated to be a space manager, are put in that team.\n The space manager is the administrator for a space and is responsible for managing users and teams within the space and assigning permissions to them.\n In the top left, we show what space you are in and it is here you can switch between spaces.\n \n
);\n};\n","import React from \"react\";\nimport ExternalLink from \"~/components/Navigation/ExternalLink\";\nimport { OverviewContainer, OverviewHighlightText } from \"./CommonViews\";\nexport const CommonConfigurationSubscriptionOverview = () => {\n return (\n \n

\n Subscriptions allow you to subscribe to events that are happening within Octopus, so you can be notified when events have occurred and react accordingly.\n

\n
\n
);\n};\n","import React from \"react\";\nimport { YouTubePlayer } from \"~/components/ContextualHelpLayout/YouTubePlayer\";\nimport ImageWithPlaceholder from \"~/components/GettingStarted/ImageWithPlaceholder/ImageWithPlaceholder\";\nimport ExternalLink from \"~/components/Navigation/ExternalLink\";\nimport { Note } from \"~/components/form\";\nimport HelpImageTeams from \"../../Images/Teams.svg\";\nimport { OverviewContainer, OverviewHighlightText, TermsText } from \"./CommonViews\";\nconst video = {\n youtubeId: \"f_JPU7sAE8M\",\n shortlink: \"ManagingUsersAndTeamsVideo\",\n};\nexport const CommonConfigurationTeamOverview = () => {\n return (\n \n \n

\n Users can be organized into teams and given various permissions by including user roles. Teams can be restricted to the system or a space and scoped to particular projects,\n environments or tenants.\n

\n \n
\n \n \n
  • \n System level permissions are available to teams accessible in all spaces and involve administering the entire system, but do not include permissions within an individual space. An example of system level\n permissions are the `User` permissions, since users are not scoped to a space.\n
  • \n
    \n \n
  • \n Space level permissions are available for teams accessible in all spaces and an individual space, and apply to resources within spaces, for example, projects and environments.\n
  • \n
    \n
    \n
    );\n};\n","import React from \"react\";\nimport { DefaultOverview, DefaultTopics } from \"./DefaultViews\";\nexport const CommonConfigurationTestPermissionOverview = () => {\n return ;\n};\nexport const CommonConfigurationTestPermissionTopics = () => {\n return ;\n};\n","import React from \"react\";\nimport { YouTubePlayer } from \"~/components/ContextualHelpLayout/YouTubePlayer\";\nimport ExternalLink from \"~/components/Navigation/ExternalLink\";\nimport { OverviewContainer, OverviewHighlightText } from \"./CommonViews\";\nconst video = {\n youtubeId: \"f_JPU7sAE8M\",\n shortlink: \"ManagingUsersAndTeamsVideo\",\n};\nexport const CommonConfigurationUserOverview = () => {\n return (\n \n \n

    \n Manage permissions by assigning users to teams that are accessible in one space or all spaces (system team).\n

    \n

    \n Learn more about user invites.\n

    \n

    \n Octopus Cloud user? Learn more about user invites for Octopus Cloud.\n

    \n
    \n
    );\n};\n","import React from \"react\";\nimport ExternalLink from \"~/components/Navigation/ExternalLink/index\";\nimport { LearnMoreResources, OverviewContainer, OverviewHighlightText, TopicsContainer } from \"./CommonViews\";\nexport function CommonDashboardOverview() {\n return (\n \n

    \n The dashboard is where you can see what's happening with your deployments. Use the 'Configure' button to include only the projects or environments you're interested in.\n

    \n
    \n
    );\n}\nexport const CommonDashboardTopics = () => {\n return (\n \n
    \n Getting Started\n
    \n
    \n First Deployment Guide\n
    \n
    \n First Kubernetes Deployment Guide\n
    \n
    \n Best Practices\n
    \n
    \n
    );\n};\n","import { css, cx } from \"@emotion/css\";\nimport { stringQueryParam, useQueryStringParam } from \"@octopusdeploy/portal-routes\";\nimport React from \"react\";\nimport { YouTubePlayer } from \"~/components/ContextualHelpLayout/YouTubePlayer\";\nimport { getLastRouteSegment } from \"~/components/ContextualHelpLayout/getLastRouteSegment\";\nimport ImageWithPlaceholder from \"~/components/GettingStarted/ImageWithPlaceholder/ImageWithPlaceholder\";\nimport ExternalLink from \"~/components/Navigation/ExternalLink\";\nimport { Note } from \"~/components/form\";\nimport HelpImageTargets from \"../../Images/DeploymentTargets.svg\";\nimport { LearnMoreResources, OverviewContainer, OverviewHighlightText, TermsText, TopicsContainer } from \"./CommonViews\";\nconst video = {\n youtubeId: \"CBws8yDaN4w\",\n shortlink: \"OnboardingDeploymentTargetsVideo\",\n};\nexport const CommonDeploymentTargetOverview = () => {\n const lastSegment = getLastRouteSegment(window.location.href);\n const [type] = useQueryStringParam(stringQueryParam(\"type\"));\n const [deploymentTargetTypeId] = useQueryStringParam(stringQueryParam(\"deploymentTargetTypeId\"));\n const [category] = useQueryStringParam(stringQueryParam(\"category\"));\n if (lastSegment === \"TentaclePassive\" && (category === \"Windows\" || category === \"Linux\")) {\n return ;\n }\n if (lastSegment === \"Ssh\" && (category === \"Mac\" || category === \"Linux\")) {\n return ;\n }\n if (lastSegment === \"create\" && type === \"AzureWebApp\") {\n return (\n

    \n An Azure Web App deployment target lets you reference an existing Web App in your Azure subscription.\n

    \n
    );\n }\n if (lastSegment === \"create\" && type === \"AzureServiceFabricCluster\") {\n return (\n

    \n An Azure Service Fabric Cluster lets you reference an existing Service Fabric Cluster app in your Azure subscription.\n

    \n
    );\n }\n if (lastSegment === \"create\" && type === \"AzureCloudService\") {\n return (\n

    \n An Azure Cloud Service deployment target lets you reference an existing Cloud Service in your Azure subscription.\n

    \n
    );\n }\n if (lastSegment === \"create\" && type === \"StepPackage\" && deploymentTargetTypeId === \"aws-ecs-target\") {\n return (\n

    \n An Amazon ECS Cluster deployment target lets you reference an existing ECS Cluster in your AWS account.\n

    \n
    );\n }\n if (lastSegment === \"create\" && type === \"Kubernetes\") {\n return (\n

    \n A Kubernetes API deployment target lets you reference an existing Kubernetes service.\n

    \n
    );\n }\n if (lastSegment === \"create\" && type === \"OfflineDrop\") {\n return (\n

    \n The Offline Package Drop deployment target makes it possible for Octopus to bundle all the files needed to perform a deployment to a deployment target, even when a direct connection to the deployment target isn’t\n always possible, for instance, if a security policy, compliance control, or network topology make a direct connection impossible.\n

    \n
    );\n }\n if (lastSegment === \"create\" && type === \"None\") {\n return (\n

    \n A cloud region deployment target lets steps that execute on the Octopus Server execute multiple times, with variables scoped for each iteration.\n

    \n
    );\n }\n return (\n \n \n

    \n Deployment targets represent the servers, machines and cloud services where your software and services will be deployed.\n

    \n\n \n
    \n \n
    );\n};\nexport const CommonDeploymentTargetTopics = () => {\n const lastSegment = getLastRouteSegment(window.location.href);\n const [type] = useQueryStringParam(stringQueryParam(\"type\"));\n const [deploymentTargetTypeId] = useQueryStringParam(stringQueryParam(\"deploymentTargetTypeId\"));\n const [category] = useQueryStringParam(stringQueryParam(\"category\"));\n if (lastSegment === \"TentaclePassive\" && (category === \"Windows\" || category === \"Linux\")) {\n return (\n {category} Listening Tentacle setup guide\n );\n }\n if (lastSegment === \"Ssh\") {\n return (\n SSH target setup guide\n );\n }\n if (lastSegment === \"create\" && type === \"AzureWebApp\") {\n return (\n Azure Web App target setup guide\n );\n }\n if (lastSegment === \"create\" && type === \"AzureServiceFabricCluster\") {\n return (\n Azure Service Fabric Cluster target setup guide\n );\n }\n if (lastSegment === \"create\" && type === \"AzureCloudService\") {\n return (\n Azure Cloud Service target setup guide\n );\n }\n if (lastSegment === \"create\" && type === \"StepPackage\" && deploymentTargetTypeId === \"aws-ecs-target\") {\n return (\n Amazon ECS Cluster target setup guide\n Cloud Target Discovery setup guide\n );\n }\n if (lastSegment === \"create\" && type === \"Kubernetes\") {\n return (\n Kubernetes cluster setup guide\n );\n }\n if (lastSegment === \"create\" && type === \"OfflineDrop\") {\n return (\n Offline package drop setup guide\n );\n }\n if (lastSegment === \"create\" && type === \"None\") {\n return (\n Cloud region setup guide\n );\n }\n return (\n \n \n Windows targets\n Linux targets\n Azure targets\n AWS targets\n Kubernetes cluster\n Offline package drops\n Cloud regions\n \n \n );\n};\nconst CommonTargetRoleTypeOverview = ({ children }: {\n children: React.ReactNode;\n}) => (\n \n {children}\n

    To let your deployment or runbook process reference this target, use target tags.

    \n
    \n \n
    );\nconst CommonDeploymentTargetsTopics = ({ children }: {\n children: React.ReactNode;\n}) => (\n \n \n {children}\n Deployment targets\n \n \n );\nconst TargetRolesTip = () => (\n \n Multiple deployment targets can exist with an environment and these targets can be tagged with target tags. Target tags are used during the deployment process to specify which targets are to\n be deployed to.\n \n );\ntype ListeningTentacleCategories = {\n category: \"Windows\" | \"Linux\";\n};\nconst ListeningTentaclesOverview = ({ category }: ListeningTentacleCategories) => (\n \n \n An Octopus Tentacle is a lightweight agent that lets servers securely communicate with the Octopus Server.\n \n );\ntype SshCategories = {\n category: \"Mac\" | \"Linux\";\n};\nconst SshOverview = ({ category }: SshCategories) => (\n \n An SSH deployment target lets Octopus deploy directly to {category} servers using SSH.\n \n );\nconst Stack = ({ children }: {\n children: React.ReactNode;\n}) =>
    {children}
    ;\nconst stackStyles = css({\n display: \"flex\",\n flexDirection: \"column\",\n});\n","import React from \"react\";\nimport { YouTubePlayer } from \"~/components/ContextualHelpLayout/YouTubePlayer\";\nimport ImageWithPlaceholder from \"~/components/GettingStarted/ImageWithPlaceholder/ImageWithPlaceholder\";\nimport ExternalLink from \"~/components/Navigation/ExternalLink\";\nimport { Note } from \"~/components/form\";\nimport HelpImageEnvironments from \"../../Images/Environments.svg\";\nimport { TopicsContainer, OverviewContainer, OverviewHighlightText, TermsText } from \"./CommonViews\";\nconst video = {\n youtubeId: \"tPb6CLHyNLA\",\n shortlink: \"OnboardingEnvironmentsVideo\",\n};\nexport const CommonEnvironmentOverview = () => {\n return (\n \n \n

    \n An environment groups together all the deployment targets used to host your software application, like a web server and a database server.\n

    \n

    \n Octopus deploys releases to environments. For instance, from Development to Test and finally into Production.\n

    \n \n
    \n \n \n Ultimately, environments will be used in a lifecycle which will define the deployment pipeline for your software. The default lifecycle will automatically add your\n environments as phases, in the order they appear on the environments page.\n \n \n
    );\n};\nexport const CommonEnvironmentTopics = () => {\n return ;\n};\n","import { stringQueryParam, useQueryStringParam } from \"@octopusdeploy/portal-routes\";\nimport React from \"react\";\nimport ExternalLink from \"~/components/Navigation/ExternalLink\";\nimport { OverviewContainer, OverviewHighlightText, TopicsContainer, LearnMoreResources } from \"./CommonViews\";\nexport const CommonInfrastructureAccountOverview = () => {\n const [accountType] = useQueryStringParam(stringQueryParam(\"accountType\"));\n switch (accountType) {\n case \"AzureSubscription\":\n return (\n

    \n To deploy to Azure cloud, add your Azure subscription to Octopus.\n

    \n
    );\n case \"AmazonWebServicesAccount\":\n return (\n

    \n To deploy to AWS, add your AWS account to Octopus.\n

    \n
    );\n case \"GoogleCloudAccount\":\n return (\n

    \n To deploy to Google Cloud, add your Google Cloud account to Octopus.\n

    \n
    );\n case \"SshKeyPair\":\n return (\n

    \n An SSH key pair account is one of the more secure authentication methods available for connecting to SSH deployment targets.\n

    \n
    );\n case \"UsernamePassword\":\n return (\n

    \n A username/password account can be used to connect SSH deployment targets and services, like Google Cloud Platform, if you are using the Kubernetes functionality in Octopus.\n

    \n
    );\n case \"Token\":\n return (\n

    \n Tokens can be added to Octopus as accounts. This is useful, for instance, if you are deploying to Kubernetes deployment targets.\n

    \n
    );\n default:\n return (\n Accounts help you to centralise account details used during your deployments, including things like username/password, tokens, Azure and AWS credentials and SSH key\n pairs.\n );\n }\n};\nexport const CommonInfrastructureAccountTopics = () => {\n const [accountType] = useQueryStringParam(stringQueryParam(\"accountType\"));\n switch (accountType) {\n case \"AzureSubscription\":\n return (\n Azure Subscription account setup guide\n );\n case \"AmazonWebServicesAccount\":\n return (\n AWS account setup guide\n );\n case \"GoogleCloudAccount\":\n return (\n Google Cloud account setup guide\n );\n case \"SshKeyPair\":\n return (\n SSH key pair account setup guide\n );\n case \"UsernamePassword\":\n return (\n Username and password account setup guide\n );\n case \"Token\":\n return (\n Token account setup guide\n );\n default:\n return (\n Accounts\n );\n }\n};\nconst Overview = ({ children }: {\n children: React.ReactNode;\n}) => (\n {children}\n );\nconst Topics = ({ children }: {\n children: React.ReactNode;\n}) => (\n {children}\n );\n","import React from \"react\";\nimport { YouTubePlayer } from \"~/components/ContextualHelpLayout/YouTubePlayer\";\nimport ExternalLink from \"~/components/Navigation/ExternalLink\";\nimport { OverviewContainer, OverviewHighlightText } from \"./CommonViews\";\nconst video = {\n youtubeId: \"uEjXuPttRO4\",\n shortlink: \"MachinePolicyVideo\",\n};\nexport const CommonInfrastructureMachinePolicyOverview = () => {\n return (\n \n \n

    \n Machine policies are groups of settings that can be applied to Tentacle and SSH endpoints to modify their behavior.\n

    \n
    \n
    );\n};\n","import { links } from \"@octopusdeploy/portal-routes\";\nimport React from \"react\";\nimport ExternalLink from \"~/components/Navigation/ExternalLink\";\nimport InternalLink from \"~/components/Navigation/InternalLink\";\nimport { OverviewContainer, OverviewHighlightText } from \"./CommonViews\";\nexport const CommonInfrastructureProxyOverview = () => {\n return (\n \n

    \n Machine proxies allow you to specify a proxy server for Octopus to use when communicating with a Tentacle or SSH Target, you can also specify a proxy server when a Tentacle and the\n Octopus Server make web requests to other servers.\n

    \n

    \n To configure a proxy for the Octopus Server, modify the\n web request proxy. Learn more about\n proxies.\n

    \n
    \n
    );\n};\n","import React from \"react\";\nimport { TermsText } from \"~/components/ContextualHelpLayout/PageHelpRegistry/Registrations/CommonComponents/CommonViews\";\nimport { Note } from \"~/components/form/index\";\nexport const CommonInsightsReportHelp = () => (\n allows you to compare differences between projects, project groups, environments, or environment groups.\n allows you to choose the time-frame and granularity of the data in the chart.\n );\nexport const CommonProjectInsightsHelp = () => (\n allows you to choose the time-frame and granularity of the data in the chart.\n );\n","import React from \"react\";\nimport { LearnMoreResources, OverviewContainer, OverviewHighlightText, TopicsContainer } from \"~/components/ContextualHelpLayout/PageHelpRegistry/Registrations/CommonComponents/CommonViews\";\nimport ExternalLink from \"~/components/Navigation/ExternalLink\";\nexport const CommonInsightsDeploymentDurationOverview = () => (\n \n

    \n Successful deployment duration is the mean run time for successful deployments that match the filter criteria.\n

    \n
    \n \n

    \n How it's calculated\n
    \n The run time is the time from the start of the deployment until it completes, including any manual intervention time. The value shown is the average (mean) of all successful deployments that completed in the time period that match the\n filter. filter.\n

    \n
    \n \n

    \n Deployment queued duration is the mean queue time for deployments that match the filter criteria.\n

    \n
    \n \n

    \n How it's calculated\n
    \n The queue time is the time from when the deployment is queued until the time it starts executing. If a deployment is scheduled to execute in the future, that future time is used. The value shown is the average (mean) for all\n deployments started in that time period that match the filter.\n

    \n
    \n
    );\nexport const CommonInsightsDeploymentDurationTopics = () => {\n return (\n \n
    \n Deployment duration\n
    \n
    \n
    );\n};\n","import React from \"react\";\nimport { LearnMoreResources, OverviewContainer, OverviewHighlightText, TopicsContainer } from \"~/components/ContextualHelpLayout/PageHelpRegistry/Registrations/CommonComponents/CommonViews\";\nimport ExternalLink from \"~/components/Navigation/ExternalLink\";\nexport const CommonInsightsDeploymentFailureRateOverview = () => (\n \n

    \n Deployment failure rate is the percentage of changes which cause a failure in a given environment.\n

    \n
    \n \n

    \n How it's calculated\n
    \n Failure rate is calculated by taking the total number of deployments, and dividing them by the number of failures as a percentage.\n

    \n
    \n
    );\nexport const CommonInsightsDeploymentFailureRateTopics = () => {\n return (\n \n
    \n Deployment failure rate\n
    \n
    \n
    );\n};\n","import React from \"react\";\nimport { LearnMoreResources, OverviewContainer, OverviewHighlightText, TopicsContainer } from \"~/components/ContextualHelpLayout/PageHelpRegistry/Registrations/CommonComponents/CommonViews\";\nimport ExternalLink from \"~/components/Navigation/ExternalLink\";\nexport const CommonInsightsDeploymentFrequencyOverview = () => (\n \n

    \n Deployment frequency is a measure of how often code is deployed to a given environment.\n

    \n
    \n \n

    \n How it's calculated\n
    \n The deployment frequency is the total number of successful deployments for a given time period.\n

    \n
    \n
    );\nexport const CommonInsightsDeploymentFrequencyTopics = () => {\n return (\n \n
    \n Deployment frequency\n
    \n
    \n
    );\n};\n","import React from \"react\";\nimport { LearnMoreResources, OverviewContainer, OverviewHighlightText, TopicsContainer } from \"~/components/ContextualHelpLayout/PageHelpRegistry/Registrations/CommonComponents/CommonViews\";\nimport ExternalLink from \"~/components/Navigation/ExternalLink\";\nexport const CommonInsightsDeploymentLeadTimeOverview = () => (\n \n

    \n Deployment lead time is the time period from when a release is created, to when the contents of that release are deployed to a given environment.\n

    \n
    \n \n

    \n How it's calculated\n
    \n The lead time for a given deployment is the time from the deployment's completion date, back to the creation date of the earliest release whose changes have not been deployed to the given environment.\n

    \n
    \n
    );\nexport const CommonInsightsDeploymentLeadTimeTopics = () => {\n return (\n \n
    \n Deployment lead time\n
    \n
    \n
    );\n};\n","import React from \"react\";\nimport { LearnMoreResources, OverviewContainer, OverviewHighlightText, TopicsContainer } from \"~/components/ContextualHelpLayout/PageHelpRegistry/Registrations/CommonComponents/CommonViews\";\nimport ExternalLink from \"~/components/Navigation/ExternalLink\";\nexport const CommonInsightsMeanTimeToRecoveryOverview = () => (\n \n

    \n Mean time to recovery is the time period taken to restore service when an incident or outage occurs.\n

    \n
    \n \n

    \n How it's calculated\n
    \n For a given failed deployment, its time to recovery is the time period from its completion time, to the completion time of the next successful deployment within the same scope.\n

    \n
    \n
    );\nexport const CommonInsightsMeanTimeToRecoveryTopics = () => {\n return (\n \n
    \n Mean time to recovery\n
    \n
    \n
    );\n};\n","import React from \"react\";\nimport { OverviewContainer, OverviewHighlightText } from \"~/components/ContextualHelpLayout/PageHelpRegistry/Registrations/CommonComponents/CommonViews\";\nimport ExternalLink from \"~/components/Navigation/ExternalLink/index\";\nexport const CommonInsightsReportsView = () => (\n \n

    \n DevOps insights in Octopus gives you better visibility into your company’s DevOps performance by surfacing the four key DORA metrics, so you can make more informed decisions on\n where to improve and celebrate your results.\n

    \n
    \n
    );\n","import React from \"react\";\nimport ExternalLink from \"~/components/Navigation/ExternalLink\";\nimport { OverviewContainer, OverviewHighlightText } from \"./CommonViews\";\nexport function CommonLibraryBuildInformationRepositoryOverview() {\n return (\n \n

    \n The build information repository lets you upload information from your build server, manually or with the use of a plugin, to Octopus.\n

    \n
    \n
    );\n}\n","import { css } from \"@emotion/css\";\nimport { space } from \"@octopusdeploy/design-system-tokens\";\nimport React from \"react\";\nimport { HowToCreateYourPackageDialogLink } from \"~/areas/library/components/BuiltInRepository/HowToCreateYourPackageDialogLink\";\nimport { HowToPushYourPackageDialogLink } from \"~/areas/library/components/BuiltInRepository/HowToPushYourPackageDialogLink\";\nimport ExternalLink from \"~/components/Navigation/ExternalLink\";\nimport { Note } from \"~/components/form\";\nimport { OverviewContainer, OverviewHighlightText, TermsText } from \"./CommonViews\";\nexport function CommonLibraryBuiltInRepositoryOverview() {\n return (\n \n

    \n The built-in repository is the best choice for storing packages. It offers better performance for your deployments and the most robust retention policy support for deployment\n packages.\n

    \n
    \n \n A package is an archive (zip, tar, Nuget) that contains your application assets. You can host packages in external repositories or the built-in Octopus repository.\n The built-in repository accepts NuGet, zip, tar, tar gzip, tar bzip2, jar, war, ear and rar packages.\n \n Your package name must have:\n
      \n
    • version number
    • \n
    • \n . between file name and version number\n
    • \n
    • no spaces
    • \n
    • \n e.g hello-world.1.0.0.zip\n
    • \n
    \n
    \n \n \n \n \n   to determine the right package type for your application and how to create it.\n \n \n We recommend using a build server to package and push your packages to Octopus. You can otherwise upload a package or use the command line.\n
    \n \n \n \n .\n
    \n \n Create your first deployment with our sample package:{\" \"}\n \n hello-world.1.0.0.zip \n \n \n
    \n
    );\n}\nconst listStyles = css({\n ul: {\n listStyleType: \"disc\",\n listStylePosition: \"inside\",\n marginLeft: space[12],\n color: \"inherit\",\n },\n});\n","import React from \"react\";\nimport ExternalLink from \"~/components/Navigation/ExternalLink\";\nimport { OverviewContainer, OverviewHighlightText } from \"./CommonViews\";\nexport const CommonLibraryCertificateOverview = () => {\n return (\n \n

    \n X.509 certificates are a key component of many deployment processes. Octopus Deploy provides the ability to securely store and manage your certificates, and easily use\n them in your projects.\n

    \n
    \n
    );\n};\n","import React from \"react\";\nimport ExternalLink from \"~/components/Navigation/ExternalLink\";\nimport { OverviewContainer, OverviewHighlightText } from \"./CommonViews\";\nexport const CommonLibraryFeedOverview = () => {\n return (\n \n

    \n Using external feeds, Octopus can consume packages from TeamCity, VSTS, Docker Registry, MyGet, Maven, locally or hosted remotely.\n

    \n
    \n
    );\n};\n","import { css } from \"@emotion/css\";\nimport { space } from \"@octopusdeploy/design-system-tokens\";\nimport React from \"react\";\nimport ExternalLink from \"~/components/Navigation/ExternalLink\";\nimport { OverviewContainer, OverviewHighlightText, TopicsContainer, LearnMoreResources } from \"./CommonViews\";\nexport const CommonLibraryGitConnectionOverview = () => {\n const styles = {\n helpContent: css({\n \"& ol\": {\n listStyleType: \"decimal\",\n paddingLeft: space[24],\n },\n }),\n };\n return (\n \n
    \n

    GitHub Connections is the recommended way to connect your GitHub accounts. It provides a seamless and secure connection via the Octopus GitHub App, without using personal access tokens.

    \n
    \n

    Install the Octopus GitHub App:

    \n
      \n
    1. \n Click Install the Octopus Deploy GitHub App.\n
    2. \n
    3. Follow the prompts in your GitHub account, then you'll get redirected here.
    4. \n
    5. Click on your GitHub account name to see your repositories.
    6. \n
    7. \n Select the relevant repositories, then click CONNECT.\n
    8. \n
    9. Return to Version Control Settings and select the GitHub accounts and repositories to store your project configuration.
    10. \n
    \n
    \n
    \n
    );\n};\nexport const CommonLibraryGitConnectionTopics = () => {\n return (\n \n
    \n GitHub App\n
    \n
    \n Connecting projects to Git\n
    \n
    \n Moving version control\n
    \n
    \n
    );\n};\n","import { links } from \"@octopusdeploy/portal-routes\";\nimport React from \"react\";\nimport { repository } from \"~/clientInstance\";\nimport ExternalLink from \"~/components/Navigation/ExternalLink\";\nimport InternalLink from \"~/components/Navigation/InternalLink\";\nimport { OverviewContainer, OverviewHighlightText, TopicsContainer, LearnMoreResources } from \"./CommonViews\";\nexport const CommonLibraryGitCredentialsOverview = () => {\n // eslint-disable-next-line @typescript-eslint/no-non-null-assertion\n const spaceId = repository.spaceId!;\n return (\n \n

    Git Credentials lets you store Git account credentials in a shared library.

    \n
    \n

    \n If you’re connecting to GitHub repositories, we recommend using GitHub Connections to connect your GitHub accounts. It's seamless, secure, and\n avoids the need to use and rotate personal access tokens.\n

    \n
    \n
    );\n};\nexport const CommonLibraryGitCredentialsTopics = () => {\n return (\n \n
    \n Git credentials authentication guide\n
    \n
    \n Connecting projects to Git\n
    \n
    \n Moving version control\n
    \n
    \n
    );\n};\n","import React from \"react\";\nimport { YouTubePlayer } from \"~/components/ContextualHelpLayout/YouTubePlayer\";\nimport ImageWithPlaceholder from \"~/components/GettingStarted/ImageWithPlaceholder/ImageWithPlaceholder\";\nimport ExternalLink from \"~/components/Navigation/ExternalLink\";\nimport image from \"../../Images/Lifecycle.svg\";\nimport { OverviewContainer, OverviewHighlightText } from \"./CommonViews\";\nconst video = {\n youtubeId: \"ofc-u61ukRA\",\n shortlink: \"OnboardingLifecyclesVideo\",\n};\nexport const CommonLibraryLifecycleOverview = () => {\n return (\n \n \n

    \n Lifecycles give you control over the way releases are promoted between environments.\n

    \n \n
    \n
    );\n};\n","import React from \"react\";\nimport ExternalLink from \"~/components/Navigation/ExternalLink\";\nimport { OverviewContainer, OverviewHighlightText } from \"./CommonViews\";\nexport const CommonLibraryScriptModuleOverview = () => {\n return (\n \n

    \n Script modules allow you to create collections of language specific functions that can be used in deployment processes across multiple projects.\n

    \n
    \n
    );\n};\n","import React from \"react\";\nimport ExternalLink from \"~/components/Navigation/ExternalLink\";\nimport { OverviewContainer, OverviewHighlightText } from \"./CommonViews\";\nexport const CommonLibraryStepTemplateOverview = () => {\n return (\n \n

    \n Custom step templates are pre-configured steps that can be reused in multiple projects.\n

    \n

    \n Community step templates are contributed by the Octopus Community. If the Community library is disabled, visit the community library website to browse and\n import step templates manually.\n

    \n
    \n
    );\n};\n","import React from \"react\";\nimport ExternalLink from \"~/components/Navigation/ExternalLink\";\nimport { OverviewContainer, OverviewHighlightText } from \"./CommonViews\";\nexport const CommonLibraryTenantTagSetOverview = () => {\n return (\n \n

    \n Tenant tag sets let you classify and deal with tenants as groups throughout Octopus.\n

    \n

    Using tags you can apply meaningful metadata to tenants, to describe them using your own terminology, improve search and filtering, and tailor the deployment process to their needs.

    \n
    \n
    );\n};\n","import React from \"react\";\nimport ExternalLink from \"~/components/Navigation/ExternalLink\";\nimport { OverviewContainer, OverviewHighlightText } from \"./CommonViews\";\nexport const CommonLibraryVariableSetOverview = () => {\n return (\n \n

    \n Variable sets are collections of variables that can be be shared between multiple projects.\n

    \n
    \n
    );\n};\n","import React from \"react\";\nimport ImageWithPlaceholder from \"~/components/GettingStarted/ImageWithPlaceholder/ImageWithPlaceholder\";\nimport ExternalLink from \"~/components/Navigation/ExternalLink\";\nimport image from \"../../Images/Channels.svg\";\nimport { OverviewContainer, OverviewHighlightText } from \"./CommonViews\";\nexport const CommonProjectChannelOverview = () => {\n return (\n \n

    \n Channels allow you to dynamically change the deployment logic and lifecycle of a project based on the release being deployed.\n

    \n \n
    \n
    );\n};\n","import React from \"react\";\nimport ExternalLink from \"~/components/Navigation/ExternalLink\";\nimport { Note } from \"~/components/form/index\";\nimport { LearnMoreResources, OverviewContainer, OverviewHighlightText, TermsText, TopicsContainer } from \"./CommonViews\";\nexport const CommonProjectDeploymentOverview = () => {\n return (\n \n \n Deployments\n {\" \"}\n are tasks which execute the deployment process of a selected release to a specific environment. You can deploy a release as many times as you want to.\n \n \n You can configure what changes to show for each deployment in the deployment settings.\n Build information allows you to easily determine what has changed between all the packages in each new deployment.\n Use artifacts to collect files from remote machines and copy them to Octopus.\n \n );\n};\nexport const CommonProjectDeploymentTopics = () => {\n return (\n \n
    {Deployment patterns}
    \n
    {Build information}
    \n
    {Artifacts}
    \n
    \n
    );\n};\n","import { ProcessType } from \"@octopusdeploy/octopus-server-client\";\nimport React from \"react\";\nimport { YouTubePlayer } from \"~/components/ContextualHelpLayout/YouTubePlayer\";\nimport ImageWithPlaceholder from \"~/components/GettingStarted/ImageWithPlaceholder/ImageWithPlaceholder\";\nimport ExternalLink from \"~/components/Navigation/ExternalLink\";\nimport image from \"../../Images/DeploymentProcess.svg\";\nimport { OverviewContainer, OverviewHighlightText, TopicsContainer, LearnMoreResources } from \"./CommonViews\";\nconst video = {\n youtubeId: \"0oWRg_TxWxM\",\n shortLink: \"OnboardingDeploymentProcessVideo\",\n};\nexport const CommonProjectProcessOverview = (props: {\n processType?: ProcessType;\n}) => {\n const isRunbookProcess = props.processType && props.processType === ProcessType.Runbook;\n let processDescriptionElement = (

    \n The deployment process is like a recipe for deploying your software. You define the recipe by adding steps and variables to a project. Each step contains a specific\n action (or set of actions) that is executed as part of the deployment process each time your software is deployed.\n

    );\n if (isRunbookProcess) {\n processDescriptionElement = (

    \n The runbook process is like a recipe. You define the recipe by adding steps to a runbook. Each step contains a specific action (or set of actions) that is\n executed as part of the runbook process each time your runbook is run.\n

    );\n }\n return (\n \n {!isRunbookProcess && (

    \n \n

    )}\n {processDescriptionElement}\n \n
    \n
    );\n};\nexport const CommonProjectProcessTopics = () => {\n return (\n \n
    \n Editing version-controlled projects\n
    \n
    \n
    );\n};\n","import React from \"react\";\nimport { YouTubePlayer } from \"~/components/ContextualHelpLayout/YouTubePlayer\";\nimport ImageWithPlaceholder from \"~/components/GettingStarted/ImageWithPlaceholder/ImageWithPlaceholder\";\nimport ExternalLink from \"~/components/Navigation/ExternalLink\";\nimport image from \"../../Images/Release.svg\";\nimport { OverviewContainer, OverviewHighlightText, TopicsContainer, LearnMoreResources } from \"./CommonViews\";\nconst video = {\n youtubeId: \"syfl59pR4ZU\",\n shortlink: \"OnboardingReleasesVideo\",\n};\nexport const CommonProjectReleaseOverview = () => {\n return (\n \n \n

    \n Releases are a snapshot of your deployment process, configuration variables, and software packages. A release is deployed to the environments defined in the project's\n lifecycle.\n

    \n \n
    \n
    );\n};\nexport const CommonProjectReleaseTopics = () => {\n return (\n \n
    \n Deploying releases on version-controlled projects\n
    \n
    \n
    );\n};\n","import React from \"react\";\nimport ExternalLink from \"~/components/Navigation/ExternalLink\";\nimport { OverviewContainer, OverviewHighlightText } from \"./CommonViews\";\nexport const CommonProjectRunbookSnapshotOverview = () => {\n return (\n \n

    \n Runbook Snapshots are a snapshot of your runbook process, configuration variables, and software packages. A snapshot can be run to any available environment.\n

    \n
    \n
    );\n};\n","import React from \"react\";\nimport { YouTubePlayer } from \"~/components/ContextualHelpLayout/YouTubePlayer\";\nimport ExternalLink from \"~/components/Navigation/ExternalLink\";\nimport { OverviewContainer, OverviewHighlightText, TopicsContainer, LearnMoreResources } from \"./CommonViews\";\nconst video = {\n youtubeId: \"Uc5TFqswJkM\",\n shortLink: \"OnboardingOperationsRunbookVideo\",\n};\nexport const CommonProjectRunbooksOverview = () => {\n return (\n \n \n

    \n Runbooks can be used to automate routine or emergency operations-centric processes, for instance, disaster recovery and database backups.\n

    \n
    \n
    );\n};\nexport const CommonProjectRunbooksTopics = () => {\n return (\n \n
    \n Runbooks\n
    \n
    \n
    );\n};\n","import React from \"react\";\nimport ExternalLink from \"~/components/Navigation/ExternalLink\";\nimport { Note } from \"~/components/form\";\nimport { OverviewContainer, OverviewHighlightText, TermsText } from \"./CommonViews\";\nexport interface CommonProjectTriggerReleaseViewsProps {\n create: boolean;\n}\nexport const CommonProjectTriggerReleaseViews = ({ create }: CommonProjectTriggerReleaseViewsProps) => {\n return (\n \n

    \n External feed triggers allow you to specify container images or Helm charts that will automatically trigger a release of your project.\n

    \n
    \n \n Each trigger creates releases for a single channel. Selected packages for the release will be restricted to the channel version rules configured for that step/package.\n Each channel may only be referenced by a single external feed trigger at a time.\n \n \n Packages from Helm chart or container image registries are supported for external feed triggers. Select one or more packages to monitor for new versions.\n When a new version of any one of the select packages is detected, a new release will be created using the project's release versioning rules.\n \n {!create && (\n The results of each trigger execution will be updated periodically and captured in this section.\n \n Full logs are captured in the system task log, these require the system level TaskView permission to view.\n \n )}\n
    );\n};\n","import React from \"react\";\nimport { GitTriggersFeatureToggleVisibility } from \"~/areas/projects/components/Triggers/useIsGitTriggersEnabled\";\nimport { isFeatureToggleEnabled } from \"~/components/FeatureToggle/New/FeatureToggleContext\";\nimport ImageWithPlaceholder from \"~/components/GettingStarted/ImageWithPlaceholder/ImageWithPlaceholder\";\nimport ExternalLink from \"~/components/Navigation/ExternalLink\";\nimport { Note } from \"~/components/form\";\nimport imageForDeploymentTarget from \"../../Images/Trigger-Deployment-Target.svg\";\nimport imageForScheduledDeployment from \"../../Images/Trigger-Scheduled-Deployment.svg\";\nimport { OverviewContainer, OverviewHighlightText, TermsText } from \"./CommonViews\";\nexport const CommonProjectTriggerOverview = () => {\n return (\n \n

    \n Triggers allow you to automate your deployments by responding to events such as changes in your deployment targets or time-based schedules.\n

    \n

    Choose from a subset of events that can occur in Octopus Deploy, apply a filter to those events, and decide on an action you want performed once the trigger fires.

    \n
    \n {isFeatureToggleEnabled(\"ExternalReleaseTriggerFeatureToggle\") && (\n allow you to specify container images or Helm charts that will automatically trigger a release of your project.\n )}\n {isFeatureToggleEnabled(\"ExternalReleaseTriggerFeatureToggle\") && (\n \n allow you to specify which package updates from the built-in package repository will automatically trigger a release of your project.(formerly known as Automatic Release Creation)\n \n )}\n \n allow you to specify which events on your deployment targets will automatically trigger a release of your project.\n \n \n \n allow you to define a recurring time-based schedule to automate deploying releases for your project.\n \n \n \n \n allow you to specify Git repositories to be monitored for new commits that will automatically trigger a release of your project.\n \n \n
    );\n};\n","import React from \"react\";\nimport { YouTubePlayer } from \"~/components/ContextualHelpLayout/YouTubePlayer\";\nimport ImageWithPlaceholder from \"~/components/GettingStarted/ImageWithPlaceholder/ImageWithPlaceholder\";\nimport ExternalLink from \"~/components/Navigation/ExternalLink\";\nimport { Note } from \"~/components/form\";\nimport image from \"../../Images/Variables.svg\";\nimport { OverviewContainer, OverviewHighlightText, TermsText } from \"./CommonViews\";\nconst video = {\n youtubeId: \"Hd71uhcD61E\",\n shortlink: \"OnboardingProjectVariablesVideo\",\n};\nexport const CommonProjectVariableOverview = () => {\n return (\n \n \n

    \n Define variables with values that change based on the scope you've assigned to the variables and the scope of your deployments.\n

    \n \n
    \n \n \n Instead of defining variables for each project, you can define a set of variables into a Variable Set and then access them from every project that needs them.\n \n \n
    );\n};\n","import React from \"react\";\nimport { OverviewContainer, OverviewHighlightText } from \"./CommonViews\";\nimport { DefaultTopics } from \"./DefaultViews\";\nexport const CommonTaskOverview = () => {\n return (\n \n

    \n The tasks section is where you can check on the status and history of the background tasks your Octopus Server is managing.\n

    \n
    \n
    );\n};\nexport const CommonTaskTopics = () => {\n return ;\n};\n","import { links } from \"@octopusdeploy/portal-routes\";\nimport React from \"react\";\nimport { repository } from \"~/clientInstance\";\nimport ImageWithPlaceholder from \"~/components/GettingStarted/ImageWithPlaceholder/ImageWithPlaceholder\";\nimport ExternalLink from \"~/components/Navigation/ExternalLink\";\nimport Note from \"../../../../../primitiveComponents/form/Note/Note\";\nimport InternalLink from \"../../../../Navigation/InternalLink/InternalLink\";\nimport HelpImageTenants from \"../../Images/Tenant.svg\";\nimport { OverviewContainer, OverviewHighlightText, TermsText, TopicsContainer } from \"./CommonViews\";\nexport const CommonTenantOverviewViews = () => {\n // eslint-disable-next-line @typescript-eslint/no-non-null-assertion\n const spaceId = repository.spaceId!;\n return (\n \n

    \n Use tenants to deploy your projects to multiple end-customers, with the software tailored to each specific customer.\n

    \n {/*//TODO - Jess - I think we need a better Tenant definition here.*/}\n
    \n \n By connecting tenants to projects you can control which projects will be deployed into which environments. Projects will need to be enabled for multi-tenancy and linked to environments.\n \n Tagging lets you deal with tenants in groups instead of as individuals. You might have a tenant tag set called `Tenant importance` with tags `VIP`, `Standard` and `Trial`. At deployment time, each of these groups will get a\n different version of your software. Modify your tag sets in the library.\n \n Tenants inherit Common Variables, values that already exist per project, and Project Variable that need values defined for each tenant.\n \n
    );\n};\nexport const CommonTenantTopics = () => {\n return ;\n};\n","import React from \"react\";\nimport ImageWithPlaceholder from \"~/components/GettingStarted/ImageWithPlaceholder/ImageWithPlaceholder\";\nimport ExternalLink from \"~/components/Navigation/ExternalLink\";\nimport HelpImageTenants from \"../../Images/Tenants.svg\";\nimport { OverviewContainer, OverviewHighlightText, LearnMoreResources, TopicsContainer } from \"./CommonViews\";\nexport const CommonTenantOverview = () => {\n return (\n \n

    \n Tenants allow you to easily create customer specific deployment pipelines without duplicating project configuration.\n

    \n \n
    \n
    );\n};\nexport const CommonTenantTopics = () => {\n return (\n \n
    \n Multi-tenant Deployments\n
    \n
    \n
    );\n};\n","import React from \"react\";\nimport { DefaultOverview, DefaultTopics } from \"./DefaultViews\";\nexport const CommonUserProfileOverview = () => {\n return ;\n};\nexport const CommonUserProfileTopics = () => {\n return ;\n};\n","import { css } from \"@emotion/css\";\nimport { space, themeTokens, fontSize, fontWeight } from \"@octopusdeploy/design-system-tokens\";\nimport React from \"react\";\nimport styles from \"./Registrations.module.less\";\ntype CommonViewsProps = {\n children?: React.ReactNode;\n title?: string;\n};\nexport const OverviewContainer = (props: CommonViewsProps) => {\n return
    {props.children}
    ;\n};\nexport const TopicsContainer = (props: CommonViewsProps) => {\n return
    {props.children}
    ;\n};\nexport const OverviewHighlightText = (props: CommonViewsProps) => {\n return
    {props.children}
    ;\n};\nexport const TermsText = (props: CommonViewsProps) => {\n return
    {props.children}
    ;\n};\nexport const LearnMoreResources = (props: CommonViewsProps) => {\n return (
    \n

    {props.title ?? \"Related Docs\"}

    \n {props.children}\n
    );\n};\nexport const SupportResources = (props: CommonViewsProps) => {\n return (
    \n
    Support
    \n {props.children}\n
    );\n};\nexport const TutorialResources = (props: CommonViewsProps) => {\n return (
    \n
    Tutorials
    \n {props.children}\n
    );\n};\nexport const WebinarResources = (props: CommonViewsProps) => {\n return (
    \n
    Webinar
    \n {props.children}\n
    );\n};\nexport const VideoResources = (props: CommonViewsProps) => {\n return (
    \n
    Video
    \n {props.children}\n
    );\n};\nconst relatedDocsStyle = css({\n paddingTop: space[16],\n borderTop: `1px solid ${themeTokens.color.border.primary}`,\n fontSize: fontSize.medium,\n fontWeight: fontWeight[700],\n color: themeTokens.color.text.secondary,\n});\n","import React from \"react\";\nimport { YouTubePlayer } from \"~/components/ContextualHelpLayout/YouTubePlayer\";\nimport ImageWithPlaceholder from \"~/components/GettingStarted/ImageWithPlaceholder/ImageWithPlaceholder\";\nimport ExternalLink from \"~/components/Navigation/ExternalLink\";\nimport HelpImageWorkerPool from \"../../Images/WorkerPool.svg\";\nimport { OverviewContainer, OverviewHighlightText } from \"./CommonViews\";\nconst video = {\n youtubeId: \"v6621BId7fE\",\n shortlink: \"WorkerPoolsVideo\",\n};\nexport const CommonWorkerPoolOverview = () => {\n return (\n \n \n

    \n Worker pools allow you to organize workers into groups. One pool might be in a particular network security zone. Another pool might have a specific set of tools installed.\n

    \n \n
    \n
    );\n};\n","import { stringQueryParam, useQueryStringParam } from \"@octopusdeploy/portal-routes\";\nimport React from \"react\";\nimport { YouTubePlayer } from \"~/components/ContextualHelpLayout/YouTubePlayer\";\nimport { getLastRouteSegment } from \"~/components/ContextualHelpLayout/getLastRouteSegment\";\nimport ImageWithPlaceholder from \"~/components/GettingStarted/ImageWithPlaceholder/ImageWithPlaceholder\";\nimport ExternalLink from \"~/components/Navigation/ExternalLink\";\nimport { Note } from \"~/components/form\";\nimport HelpImageWorker from \"../../Images/Worker.svg\";\nimport { LearnMoreResources, TopicsContainer, OverviewContainer, OverviewHighlightText, TermsText } from \"./CommonViews\";\nexport const CommonWorkerOverview = () => {\n return (\n \n \n

    \n Workers let you delegate work to a machine other than the Octopus server for increased speed, scale and security.\n

    \n \n
    \n \n \n If a deployment step is configured to run on a worker from a worker pool, Octopus will select any worker in that pool to execute the step. It executes the step using Calamari and returns the logs and any collected artifacts to the\n Octopus server.\n \n \n
    );\n};\nexport const CommonWorkerTopics = () => {\n const lastSegment = getLastRouteSegment(window.location.href);\n const [category] = useQueryStringParam(stringQueryParam(\"category\"));\n if (lastSegment === \"TentaclePassive\" && category === \"Windows\") {\n return (\n Register a Windows Listening Tentacle as a Worker\n );\n }\n if (lastSegment === \"TentaclePassive\" && category === \"Linux\") {\n return (\n Register a Linux Listening Tentacle as a Worker\n );\n }\n if (lastSegment === \"Ssh\" && category === \"Linux\") {\n return (\n Register a Worker with an SSH Connection\n );\n }\n if (lastSegment === \"Ssh\" && category === \"Mac\") {\n return (\n Register a Worker with an SSH Connection\n );\n }\n return null;\n};\nconst Topics = ({ children }: {\n children: React.ReactNode;\n}) => (\n \n
    {children}
    \n
    \n
    );\n","/* eslint-disable @typescript-eslint/no-explicit-any */\n/* eslint-disable @typescript-eslint/consistent-type-assertions */\nimport cn from \"classnames\";\nimport * as React from \"react\";\nimport { CustomWizardDialogLayout, WizardStepper } from \"~/components/DialogLayout/Custom\";\nimport { WizardDialogActions } from \"~/components/DialogLayout/Custom/CustomDialogActions\";\nimport { IconButtonWithTooltip } from \"~/components/IconButtonWithTooltip\";\nimport ExternalLink from \"~/components/Navigation/ExternalLink\";\nimport ImageWithPlaceholder from \"../ImageWithPlaceholder/ImageWithPlaceholder\";\nimport styles from \"./FundamentalsGuideDialogLayout.module.less\";\ninterface FundamentalsWizardPageProps {\n image: string;\n heading: React.ReactNode;\n}\nconst isIE11 = !!(window as any).MSInputMethodContext && !!(document as any).documentMode;\nconst slide1 = require(`../WelcomeSlides/slide1-welcomeoctopus${isIE11 ? \"-ie11\" : \"\"}.svg`);\nconst slide2 = require(`../WelcomeSlides/slide2-environments${isIE11 ? \"-ie11\" : \"\"}.svg`);\nconst slide3 = require(`../WelcomeSlides/slide3-package${isIE11 ? \"-ie11\" : \"\"}.svg`);\nconst slide4 = require(`../WelcomeSlides/slide4-steps${isIE11 ? \"-ie11\" : \"\"}.svg`);\nconst slide5 = require(`../WelcomeSlides/slide5-release${isIE11 ? \"-ie11\" : \"\"}.svg`);\nconst FundamentalsWizardPage: React.FC = ({ image, heading, children }) => (
    \n \n
    {heading}
    \n
    {children}
    \n
    );\nFundamentalsWizardPage.displayName = \"FundamentalsWizardPage\"\ninterface FundamentalsGuideDialogLayoutProps {\n open: boolean;\n close: () => void;\n}\nexport class FundamentalsGuideDialogLayout extends React.Component {\n constructor(props: FundamentalsGuideDialogLayoutProps) {\n super(props);\n }\n render() {\n return ( (
    \n {props.content}\n
    \n \n
    \n }/>\n
    )}>\n \n We'll take you through the fundamentals of Octopus to help deploy your first application easily.\n \n\n \n Octopus organizes your deployment targets (the machines and services you deploy software to) into groups called environments. For your first deployment, try creating one environment and one target.\n \n\n \n Upload your Packages containing all the files needed to run your application when deployed. They require a package ID, version number and be in one of many common formats.\n Alternatively, you can write scripts directly in Octopus.\n \n\n \n Projects are used to define your deployment process. This is where you can add steps that configure your application on a deployment target. You can add built-in steps, community contributed steps or custom scripts. Add as many or\n as little as you need.\n \n\n \n Create a release for your project and deploy it to your first environment. Once it's been tested, you can promote it through your other environments until you get to production!\n \n
    );\n }\n static displayName = \"FundamentalsGuideDialogLayout\";\n}\n","import React from \"react\";\nimport CustomDialog from \"~/components/Dialog/CustomDialog\";\nimport { FundamentalsGuideDialogLayout } from \"~/components/GettingStarted/FundamentalsGuide/FundamentalsGuideDialogLayout\";\nimport ExternalLink from \"~/components/Navigation/ExternalLink\";\nimport { LearnMoreResources, OverviewContainer, SupportResources, TopicsContainer } from \"./CommonViews\";\nimport styles from \"./Registrations.module.less\";\nexport const DefaultOverview = () => {\n const [showFundamentals, setShowFundamentals] = React.useState(false);\n return (\n \n setShowFundamentals(false)} render={(renderProps) => }/>\n

    \n If you need help, search our{\" \"}\n \n documentation\n {\" \"}\n or watch our{\" \"}\n \n video tutorials\n \n .\n

    \n\n {/*\n * Usually these resources would be registered in DefaultTopics below. However,\n * this component is a special case in that it's the fallback resources for all\n * pages that have none.\n * Currently our intention is that many help articles won't have supporting Related\n * Docs, and in that case the \"Related Docs\" section shouldn't be included at all.\n * So, by putting these links in the OverviewContainer, we ensure that only the\n * fallback content gets the fallback resource links\n */}\n \n
    \n \n Getting Started\n \n
    \n
    \n \n First Deployment Guide\n \n
    \n
    \n \n First Kubernetes Deployment Guide\n \n
    \n
    \n \n Best Practices\n \n
    \n
    \n
    \n
    );\n};\nexport const DefaultTopics = () => {\n return ;\n};\nexport function DefaultGettingStarted() {\n return (
    \n \n
    \n \n Join the Slack Community\n \n
    \n
    \n \n Ask Octopus Training Videos\n \n
    \n
    \n \n Make a Suggestion\n \n
    \n
    \n \n Search Documentation\n \n
    \n
    \n \n Search API Documentation\n \n
    \n
    \n \n See Additional Downloads\n \n
    \n
    \n
    );\n}\n","import { css, cx } from \"@emotion/css\";\nimport React from \"react\";\ntype YouTubePlayerProps = {\n videoId: string;\n};\nexport function YouTubePlayer({ videoId }: YouTubePlayerProps) {\n return ();\n}\nconst style = css({\n width: \"100%\",\n aspectRatio: \"16 / 9\",\n});\n","export const getLastRouteSegment = (href: string): string | null => {\n const segments = href.split(\"/\");\n const lastSegment = segments[segments.length - 1];\n const withoutQueryString = lastSegment.split(\"?\")[0];\n return withoutQueryString || null;\n};\n","import type { ActionType } from \"typesafe-actions\";\nimport { createAction } from \"typesafe-actions\";\nconst drawerActions = {\n openDrawer: createAction(\"DRAWER:OPEN\")(),\n closeDrawer: createAction(\"DRAWER:CLOSE\")(),\n toggleDrawer: createAction(\"DRAWER:TOGGLE\")(),\n setDrawerVisibility: createAction(\"DRAWER:VALUE\", (value: boolean) => value)(),\n};\ntype DrawerAction = ActionType;\nconst { openDrawer, closeDrawer, setDrawerVisibility, toggleDrawer } = drawerActions;\nexport { openDrawer, closeDrawer, setDrawerVisibility, toggleDrawer, DrawerAction };\nexport default drawerActions;\n","import type { Reducer } from \"redux\";\nimport { getType } from \"typesafe-actions\";\nimport type { DrawerAction } from \"./actions\";\nimport actions from \"./actions\";\nexport interface DrawerState {\n isOpen: boolean;\n}\nconst updateConfig = (state: DrawerState, patch: Partial) => {\n return state ? { ...state, ...patch } : state;\n};\nconst setOpenDrawer = (state: DrawerState) => {\n return updateConfig(state, { isOpen: true });\n};\nconst setCloseDrawer = (state: DrawerState) => {\n return updateConfig(state, { isOpen: false });\n};\nconst setDrawerVisibility = (state: DrawerState, value: boolean) => {\n return updateConfig(state, { isOpen: value });\n};\nconst toggleDrawer = (state: DrawerState) => {\n return setDrawerVisibility(state, !state.isOpen);\n};\nconst INITIAL_STATE: DrawerState = { isOpen: true };\nconst drawerConfigReducer: Reducer = (state: DrawerState = INITIAL_STATE, action: DrawerAction) => {\n switch (action.type) {\n case getType(actions.openDrawer):\n return setOpenDrawer(state);\n case getType(actions.closeDrawer):\n return setCloseDrawer(state);\n case getType(actions.setDrawerVisibility):\n return setDrawerVisibility(state, action.payload);\n case getType(actions.toggleDrawer):\n return toggleDrawer(state);\n default:\n return state;\n }\n};\nexport default drawerConfigReducer;\n","import type { Reducer } from \"redux\";\nimport { combineReducers } from \"redux\";\nimport type { DrawerAreaState } from \"./DrawerAreaState\";\nimport config from \"./drawerArea\";\nconst areaReducer: Reducer = combineReducers({ config });\nexport * from \"./actions\";\nexport * from \"./selectors\";\nexport default areaReducer;\n","const getDrawerArea = (state: GlobalState) => state.drawerArea;\nexport const getDrawerState = (state: GlobalState) => getDrawerArea(state).config;\nexport const isDrawerOpen = (state: GlobalState) => getDrawerState(state).isOpen;\n","/* eslint-disable @typescript-eslint/no-non-null-assertion */\n/* eslint-disable @typescript-eslint/no-explicit-any */\n/* eslint-disable @typescript-eslint/init-declarations */\nimport { OctopusError } from \"@octopusdeploy/octopus-server-client\";\nimport type React from \"react\";\nimport type { TimeOperationOptions } from \"~/utils/OperationTimer/timeOperation\";\nimport { timeOperation } from \"~/utils/OperationTimer/timeOperation\";\nimport { RefreshLoop } from \"~/utils/RefreshLoop/refresh-loop\";\nimport { PromiseCancelledError } from \"../../utils/PromiseCancelledError\";\nimport BaseComponent from \"../BaseComponent\";\nimport { DataBaseComponentContext } from \"./DataBaseComponentContext\";\nimport type { Errors } from \"./Errors\";\nimport { createErrorsFromOctopusError } from \"./Errors\";\nexport interface DataBaseComponentState {\n busy?: Promise;\n}\nexport interface DoBusyTaskOptions {\n preserveCurrentErrors?: boolean;\n /**\n * @param {Errors} errors This errors object does not have fieldErrors populated\n */\n onError?: (errors: Errors) => void;\n onSuccess?: () => void;\n timeOperationOptions?: TimeOperationOptions;\n}\nexport type DoBusyTask = (action: () => Promise, options?: DoBusyTaskOptions) => Promise;\nexport type Refresh = () => Promise;\nexport class DataBaseComponent extends BaseComponent {\n private busies: Array> = [];\n private stopRefreshLoop: (() => void) | undefined;\n get errors(): Errors | undefined {\n return this.getContext().errors;\n }\n static contextType = DataBaseComponentContext;\n context: React.ContextType;\n constructor(props: Props) {\n super(props);\n this.provideErrorHandling(this.doBusyTaskInternal);\n }\n componentWillUnmount() {\n if (this.stopRefreshLoop !== undefined) {\n this.stopRefreshLoop();\n }\n }\n private getContext = () => {\n if (!this.context) {\n throw Error(\"DataBaseComponent context or the associated contexts it relies on has not been setup. Please add the associated ErrorContext and DataBaseComponentContexts above this component.\");\n }\n return this.context;\n };\n public doBusyTask: DoBusyTask = async (action: () => Promise, options?: DoBusyTaskOptions): Promise => {\n return this.doBusyTaskInternal(action, options ?? {});\n };\n protected getFieldError = (fieldName: string) => {\n return this.getContext().getFieldError(fieldName) ?? \"\";\n };\n protected async startRefreshLoop(getData: () => Promise | null | (State & DataBaseComponentState)>, refreshInterval: number | ((hidden: boolean) => number), noBusyIndicator = false, timeOperationOptions?: TimeOperationOptions): Promise {\n if (this.stopRefreshLoop !== undefined) {\n throw new Error(\"Can't create more than one loop in a component\");\n }\n const refreshIntervalFunc = typeof refreshInterval === \"function\" ? refreshInterval : (hidden: boolean) => (hidden ? refreshInterval * 12 : refreshInterval);\n const loop = new RefreshLoop(async (isLoopStillRunning) => {\n const refreshData = async () => {\n const innerData = await getData();\n if (isLoopStillRunning()) {\n this.setState(innerData);\n }\n };\n if (!noBusyIndicator) {\n await this.doBusyTask(async () => refreshData(), { timeOperationOptions: timeOperationOptions });\n }\n else if (timeOperationOptions) {\n await timeOperation(timeOperationOptions, () => refreshData());\n }\n else {\n await refreshData();\n }\n }, refreshIntervalFunc);\n this.stopRefreshLoop = loop.stop;\n const data = await getData();\n if (this.unmounted) {\n throw new PromiseCancelledError(\"Component unmounted before loop could start\");\n }\n this.setState(data);\n loop.start();\n return loop.refresh;\n }\n protected setValidationErrors = (message: string, fieldErrors: {\n [other: string]: string;\n } = {}) => {\n this.getContext().actions.setValidationErrors(message, fieldErrors);\n };\n protected setOctopusErrors = (error: OctopusError) => {\n this.getContext().actions.setOctopusError(error);\n };\n protected clearErrors = () => {\n this.getContext().actions.clearErrors();\n };\n protected setStateAsync(state: State & DataBaseComponentState) {\n return new Promise((resolve) => {\n this.setState(state, resolve);\n });\n }\n private doBusyTaskInternal = async (action: () => Promise, options: DoBusyTaskOptions): Promise => {\n let busy: Promise;\n try {\n // Sometimes child components will load some lookup data while a parent component\n // is displaying an error. The child uses the parent's doBusyTask so that the busy\n // indicator and errors display correctly. But we shouldn't clear existing errors\n // from that child load.\n if (!options.preserveCurrentErrors) {\n this.context!.actions.clearErrors();\n }\n busy = options.timeOperationOptions ? timeOperation(options.timeOperationOptions, action) : action();\n this.busies = [busy, ...this.busies];\n const singlePromise = Promise.all(this.busies).then((v) => {\n /* */\n }); //the .then gives us Promise instead of Promise\n this.setState((prev) => ({ ...prev, busy: singlePromise }));\n await busy;\n // There were no errors in this case.\n if (options.onSuccess) {\n options.onSuccess();\n }\n return true;\n }\n catch (e) {\n if (e instanceof OctopusError) {\n this.getContext().actions.setOctopusError(e);\n if (options.onError) {\n options.onError(createErrorsFromOctopusError(e));\n }\n return false;\n }\n if (e instanceof PromiseCancelledError) {\n // swallow it, no point bubbling this up any further since we intentionally cancelled the promise\n return false;\n }\n throw e;\n }\n finally {\n this.busies = this.busies.filter((b) => b !== busy);\n // we need to return null here when done\n // because some buttons etc just check for the\n // existance of a busy promise\n this.setState((prev) => ({\n ...prev,\n busy: this.busies.length > 0\n ? Promise.all(this.busies).then((v) => {\n /* */\n })\n : null!,\n }));\n }\n };\n static displayName = \"DataBaseComponent\";\n}\n","import React from \"react\";\nimport { useErrorActions, useErrors, useGetFieldError } from \"~/components/ErrorContext/ErrorContext\";\nimport type { Errors } from \"./Errors\";\ntype DatabaseComponentContextProps = {\n actions: ReturnType;\n getFieldError: ReturnType;\n errors: Errors | undefined;\n};\nexport const DataBaseComponentContext = React.createContext(undefined);\nDataBaseComponentContext.displayName = \"DataBaseComponentContext\";\nexport const DatabaseComponentContextProvider: React.FC = (props) => {\n const errorActions = useErrorActions();\n const getFieldError = useGetFieldError();\n const errors = useErrors();\n const value: DatabaseComponentContextProps = React.useMemo(() => ({\n actions: errorActions,\n getFieldError,\n errors,\n }), [errorActions, errors, getFieldError]);\n return {props.children};\n};\nDatabaseComponentContextProvider.displayName = \"DatabaseComponentContextProvider\"\n","import type { ValidationError } from \"@octopusdeploy/octopus-react-client\";\nimport { isValidationError } from \"@octopusdeploy/octopus-react-client\";\nimport { OctopusError } from \"@octopusdeploy/octopus-server-client\";\nexport interface ErrorDetails {\n [key: string]: string;\n}\nexport interface Errors {\n message: string;\n errors: string[];\n statusCode?: number;\n parsedHelpLinks?: string[];\n helpText?: string;\n helpLink?: string;\n fullException?: string;\n /**\n * Depending on how the Errors object was created, this may not contain any fieldErrors\n * We plan to remove fieldErrors from this generic Errors object at some point,\n * and find an alternative method of accessing the fieldErrors that is more tightly coupled to Forms.\n */\n fieldErrors: {\n [other: string]: string;\n };\n details?: ErrorDetails;\n}\nexport function isErrors(object: unknown): object is Errors {\n return Object.prototype.hasOwnProperty.call(object, \"message\") && Object.prototype.hasOwnProperty.call(object, \"errors\") && Object.prototype.hasOwnProperty.call(object, \"fieldErrors\");\n}\nexport interface FieldErrors {\n [key: string]: string;\n}\nexport interface ErrorActions {\n getFieldError: (fieldName: string) => string;\n setError: (message: string, errors: string[], fieldErrors: FieldErrors) => void;\n setOctopusError: (error: OctopusError, map?: (error: Errors) => Errors) => void;\n}\nexport function getErrorsFromError(error: Error): Errors {\n // For some reason, webstorm thinks that the following type guard is unsound, even though OctopusError inherits from Error\n // noinspection SuspiciousTypeOfGuard\n if (error instanceof OctopusError) {\n return createErrorsFromOctopusError(error);\n }\n if (isValidationError(error)) {\n return createErrorsFromValidationError(error);\n }\n return {\n message: error.message,\n fieldErrors: {},\n errors: error.stack?.split(\" at \") ?? [],\n };\n}\nexport function createErrorsFromValidationError(err: ValidationError): Errors {\n return {\n message: err.message,\n fieldErrors: err.fieldErrors,\n errors: [],\n };\n}\nexport function createErrorsFromOctopusError(err: OctopusError): Errors {\n return {\n message: err.ErrorMessage,\n errors: err.Errors || [],\n parsedHelpLinks: err.ParsedHelpLinks,\n helpLink: err.HelpLink,\n helpText: err.HelpText,\n fullException: err.FullException,\n fieldErrors: {},\n statusCode: err.StatusCode,\n details: err.Details,\n };\n}\n","/* eslint-disable @typescript-eslint/no-explicit-any */\nimport * as React from \"react\";\nimport type { DoBusyTask, DoBusyTaskOptions } from \"./DataBaseComponent\";\nexport const useDoBusyTaskEffect = (doBusyTask: DoBusyTask, fetch: () => Promise, dependencies: React.DependencyList, options?: DoBusyTaskOptions) => {\n // eslint-disable-next-line react-hooks/exhaustive-deps\n const refresh = React.useCallback(() => doBusyTask(fetch, options), dependencies);\n // https://reactjs.org/docs/hooks-reference.html#useeffect\n React.useEffect(() => {\n // It's important not to make useEffect async or to return a promise here, since useEffect can return a cleanup function.\n // eslint-disable-next-line: no-floating-promises\n refresh();\n }, [refresh]);\n return refresh;\n};\n","import type { DataBaseComponentState, DoBusyTask } from \"./DataBaseComponent\";\nimport { DataBaseComponent } from \"./DataBaseComponent\";\nimport type { Errors } from \"./Errors\";\nexport * from \"./useDoBusyTaskEffect\";\nexport default DataBaseComponent;\nexport { DataBaseComponent };\nexport type { DataBaseComponentState, Errors, DoBusyTask };\n","/* eslint-disable @typescript-eslint/no-explicit-any */\n/* eslint-disable @typescript-eslint/consistent-type-assertions */\nimport type { DebouncedFunc } from \"lodash\";\nimport { debounce, isEqual } from \"lodash\";\nimport * as React from \"react\";\ninterface ValueProps {\n value?: TValue;\n onChange?(value: TValue): void;\n}\ninterface DebounceValueState {\n value?: TValue;\n}\ninterface DebounceValueProps {\n debounceDelay?: number;\n innerRef?: (component: any) => void; // It would be nice to tighten up the typing here\n}\nexport type ExtendPropsWithDebounceValueProps = TProps & DebounceValueProps;\nfunction DebounceValue, TValue>(Comp: React.ComponentClass): React.ComponentClass> {\n type InternalProps = ExtendPropsWithDebounceValueProps;\n // eslint-disable-next-line react/no-unsafe\n return class DebounceValueInternal extends React.Component> {\n private readonly onChange: DebouncedFunc<(value: TValue) => void>;\n constructor(props: InternalProps) {\n super(props);\n this.state = {\n value: props.value,\n };\n this.onChange = debounce((value: TValue) => {\n if (this.props.onChange) {\n this.props.onChange(value);\n }\n }, this.props.debounceDelay !== undefined ? this.props.debounceDelay : 250);\n }\n UNSAFE_componentWillReceiveProps(nextProps: Readonly) {\n if (!isEqual(nextProps.value, this.props.value)) {\n this.setState({ value: nextProps.value });\n this.onChange.cancel();\n }\n }\n render() {\n const { debounceDelay, innerRef, ...otherProps } = this.props as any; // `as any` because object rest not support in generics yet, tracked by https://github.com/Microsoft/TypeScript/issues/10727\n return ( {\n if (innerRef) {\n innerRef(c);\n }\n }} onChange={(value) => {\n this.setState({ value });\n this.onChange(value);\n }}/>);\n }\n };\n}\nexport type DebounceValueFunction = typeof DebounceValue;\nexport default DebounceValue;\n","import { ActionButton, ActionButtonType } from \"@octopusdeploy/design-system-components\";\nimport cn from \"classnames\";\nimport * as React from \"react\";\nimport type { DataBaseComponentState } from \"~/components/DataBaseComponent/DataBaseComponent\";\nimport { DataBaseComponent } from \"~/components/DataBaseComponent/DataBaseComponent\";\nimport { DialogLayout } from \"~/components/DialogLayout/DialogLayout\";\nimport Dialog from \"./Dialog\";\nimport styles from \"./style.module.less\";\ninterface ConfirmationDialogLayoutProps {\n open: boolean;\n title: string;\n continueButtonLabel?: string;\n continueButtonBusyLabel?: string;\n continueButtonType?: ActionButtonType;\n onContinueClick(): Promise | Promise | boolean | void;\n onClose(): void;\n}\nexport class ConfirmationDialogLayout extends DataBaseComponent {\n constructor(props: ConfirmationDialogLayoutProps) {\n super(props);\n this.state = {};\n }\n onContinueClick() {\n return this.doBusyTask(async () => {\n const result = await this.props.onContinueClick();\n if (typeof result !== \"boolean\" || result) {\n this.props.onClose();\n }\n });\n }\n render() {\n const cont = ( this.onContinueClick()}/>);\n const cancel = this.props.onClose()}/>;\n return (} headerClassName={styles.confirmationDialogHeader} busy={this.state.busy} closeDialog={this.props.onClose} errors={this.errors}>\n {this.props.open && this.props.children}\n );\n }\n static displayName = \"ConfirmationDialogLayout\";\n}\nexport type ConfirmationDialogProps = React.PropsWithChildren;\n//We need to ensure our dialog layout lives below the `Dialog` in the component hierarchy\n//to ensure busy task errors bubble up to the correct error context as part of `DoBusyTask` usages.\nexport default ({ children, ...rest }: ConfirmationDialogProps) => (\n {children}\n );\n","import { Modal } from \"@octopusdeploy/design-system-components\";\nimport * as React from \"react\";\nimport { useCallback } from \"react\";\nimport type { DialogLayoutDispatchProps } from \"../DialogLayout/DialogLayout\";\nimport ErrorContextProvider from \"../ErrorContext/ErrorContext\";\ninterface CustomDialogStateProps {\n open: boolean;\n}\nexport interface RenderProps extends DialogLayoutDispatchProps, CustomDialogStateProps {\n}\ninterface CustomDialogRenderProps extends RenderProps {\n render: (props: RenderProps) => React.ReactNode;\n}\nexport interface CustomDialogProps extends CustomDialogRenderProps, DialogLayoutDispatchProps, CustomDialogStateProps {\n className?: string;\n accessibleName?: string;\n}\nexport const CustomDialog: React.FC = ({ open, render, close, accessibleName, ...rest }) => {\n const handleClose = useCallback(() => {\n if (close) {\n close();\n }\n }, [close]);\n const renderProps = { open, close: handleClose };\n return (\n \n
    \n {open && render(renderProps)}\n
    \n
    \n
    );\n};\nCustomDialog.displayName = \"CustomDialog\"\nexport default React.memo(CustomDialog);\n","import * as React from \"react\";\nimport DeleteDialogLayout from \"~/components/Dialog/DeleteDialogLayout\";\nimport type { DeleteDialogLayoutInternalProps } from \"~/components/Dialog/DeleteDialogLayout\";\nimport Dialog from \"~/components/Dialog/Dialog\";\nexport type DeleteDialogProps = DeleteDialogLayoutInternalProps & {\n open: boolean;\n};\n//We need to ensure our dialog layout lives below the `Dialog` in the component hierarchy\n//to ensure busy task errors bubble up to the correct error context as part of `DoBusyTask` usages.\nconst DeleteDialog = (props: DeleteDialogProps) => (\n \n );\nexport default DeleteDialog;\n","import { ActionButton, ActionButtonType } from \"@octopusdeploy/design-system-components\";\nimport * as React from \"react\";\nimport type { ReactNode } from \"react\";\nimport type { DataBaseComponentState, DoBusyTask } from \"~/components/DataBaseComponent/index\";\nimport { DataBaseComponent } from \"~/components/DataBaseComponent/index\";\nimport DialogLayoutConnect from \"~/components/Dialog/DialogLayoutConnect\";\nimport styles from \"~/components/Dialog/style.module.less\";\nimport type { DialogLayoutDispatchProps } from \"~/components/DialogLayout/DialogLayout\";\nimport { DialogLayout } from \"~/components/DialogLayout/DialogLayout\";\nimport FormComponent from \"~/components/FormComponent/FormComponent\";\nexport interface DeleteDialogLayoutInternalProps {\n title: string;\n deleteButtonLabel?: string;\n deleteButtonBusyLabel?: string;\n deleteButtonDisabled?: boolean;\n cancelButtonLabel?: string;\n renderContent(doBusyTask: DoBusyTask): ReactNode;\n /**\n * The action to call when the Delete button is clicked. The dialog will close when the action completes, or remain open if the action fails by throwing an Error.\n * @returns {Promise | Promise} Using `Promise` as a result is a legacy of `doBusyTask` which is deprecated. Going forward, we prefer `Promise`, and communicating an error state by throwing an error\n */\n onDeleteClick(): Promise | Promise;\n onClose?(): void;\n onLoad?(): void;\n}\nexport class DeleteDialogLayoutInternal extends DataBaseComponent {\n constructor(props: DeleteDialogLayoutInternalProps & DialogLayoutDispatchProps) {\n super(props);\n this.state = {};\n }\n async componentDidMount() {\n if (this.props.onLoad) {\n await this.doBusyTask(async () => {\n this.props.onLoad && (await this.props.onLoad());\n });\n }\n }\n private onDeleteClick = () => {\n if (this.isDisabled()) {\n return;\n }\n return this.doBusyTask(async () => {\n // returns `boolean | undefined`, but we are using `unknown` here instead because `void` is not assignable to `undefined`.\n // But we also don't really care about the return type of `undefined`, so `unknown` is an easy way to avoid type assignment problems\n const result: unknown = await this.props.onDeleteClick();\n if (typeof result !== \"boolean\" || result) {\n this.closeDialog();\n }\n });\n };\n private isDisabled = () => this.props.deleteButtonDisabled || this.state.busy;\n closeDialog() {\n this.props.onClose && this.props.onClose();\n this.props.close();\n }\n render() {\n const cancel = this.closeDialog()}/>;\n const del = ( this.onDeleteClick()}/>);\n return ( this.closeDialog()} errors={this.errors}>\n {this.props.renderContent(this.doBusyTask)}\n );\n }\n static displayName = \"DeleteDialogLayoutInternal\";\n}\nconst DeleteDialogLayout = DialogLayoutConnect.to(DeleteDialogLayoutInternal);\nDeleteDialogLayout.displayName = \"DeleteDialogLayout\";\nexport default DeleteDialogLayout;\n","import type { DialogProps as DesignSystemDialogProps } from \"@octopusdeploy/design-system-components\";\nimport { Dialog as DesignSystemDialog, DialogActions, DialogTitle } from \"@octopusdeploy/design-system-components\";\nimport * as React from \"react\";\nimport ErrorContextProvider from \"../ErrorContext/ErrorContext\";\nexport interface DialogProps extends DesignSystemDialogProps {\n title?: string;\n actions?: React.ReactNode;\n}\nfunction Dialog({ open, dialogWidth, fullScreen, title, actions, children }: DialogProps) {\n return (\n \n {title && {title}}\n {children}\n {actions && {actions}}\n \n );\n}\nexport default Dialog;\n","/* eslint-disable @typescript-eslint/no-explicit-any */\n/* eslint-disable @typescript-eslint/consistent-type-assertions */\nimport type * as React from \"react\";\nimport { connect } from \"react-redux\";\nimport type { Dispatch } from \"redux\";\nimport { actions as dialogActions } from \"~/components/Dialog/store\";\nimport type { DialogLayoutDispatchProps } from \"~/components/DialogLayout/DialogLayout\";\nexport class DialogLayoutConnect {\n static to(component: React.ComponentType) {\n const mapGlobalActionDispatchersToProps = (dispatch: Dispatch, props: TProps): DialogLayoutDispatchProps => {\n return {\n close: () => {\n dispatch(dialogActions.closeAll());\n },\n };\n };\n return connect(null, mapGlobalActionDispatchersToProps)(component as any) as React.ComponentType;\n }\n}\nexport default DialogLayoutConnect;\n","/* eslint-disable @typescript-eslint/no-explicit-any */\n/* eslint-disable @typescript-eslint/consistent-type-assertions */\nimport type * as React from \"react\";\nimport { connect } from \"react-redux\";\nimport type { Dispatch, Action } from \"redux\";\nimport { actions as dialogActions } from \"~/components/Dialog/store\";\ninterface GlobalDispatchProps {\n openDialog(id: string): void;\n}\ninterface GlobalConnectedProps {\n openDialogs: {\n [key: string]: boolean;\n };\n}\n//export type OpenDialogProps = GlobalDispatchProps & StateProps;\nexport interface OpenDialogProps extends GlobalDispatchProps, GlobalConnectedProps {\n}\nexport class OpenDialogConnect {\n static to(internal: React.ComponentType, withRef: boolean = false) {\n type ExternalProps = Omit;\n const mapGlobalActionDispatchersToProps = (dispatch: Dispatch, props: TProps): GlobalDispatchProps => {\n return {\n openDialog: (key: string) => {\n dispatch(dialogActions.open(key));\n },\n };\n };\n const mapGlobalStateToProps = (state: GlobalState, props: TProps): GlobalConnectedProps => ({\n openDialogs: state.dialogs || {},\n });\n return connect(mapGlobalStateToProps, mapGlobalActionDispatchersToProps, null, { forwardRef: true })(internal as any) as any as React.ComponentType;\n }\n}\n","export class UniqueSequenceGenerator {\n private currentValue: number;\n constructor() {\n this.currentValue = 0;\n }\n next() {\n this.currentValue++;\n return this.currentValue;\n }\n}\n","// The visibility of dialogs is stored in the Redux store so we need make sure each dialog is identified by\n// a unique value. Otherwise, we risk opening multiple unrelated dialogs at the same time.\nimport { UniqueSequenceGenerator } from \"../../utils/UniqueSequenceGenerator/UniqueSequenceGenerator\";\nclass DialogIdGenerator {\n private sequence: UniqueSequenceGenerator;\n constructor() {\n this.sequence = new UniqueSequenceGenerator();\n }\n next() {\n return this.sequence.next().toString();\n }\n}\nconst dialogIdGenerator = new DialogIdGenerator();\nexport default dialogIdGenerator;\n","import { createVisibilityReducer } from \"~/utils/Reducers/visibilityReducer\";\nconst dialogSliceSelector = (state: GlobalState) => state.dialogs;\nconst { reducer, actions, getSelectors } = createVisibilityReducer(\"dialog\");\nconst { createVisibleSelector } = getSelectors(dialogSliceSelector);\nconst selectors = {\n createDialogOpenSelector: createVisibleSelector,\n};\nexport default reducer;\nexport { actions, selectors };\n","import reducer, { actions, selectors } from \"./dialog\";\nexport default reducer;\nexport { actions, selectors };\n","import { ActionButton, ActionButtonType, Tooltip } from \"@octopusdeploy/design-system-components\";\nimport cn from \"classnames\";\nimport * as React from \"react\";\nimport type { PermissionCheckProps } from \"~/components/PermissionCheck/PermissionCheck\";\nimport { isAllowed } from \"~/components/PermissionCheck/PermissionCheck\";\nimport styles from \"./CustomDialogActions.module.less\";\nconst continueIf = (predicate: () => Promise, action: () => void) => {\n return () => predicate().then((x) => {\n if (x) {\n action();\n }\n return x;\n });\n};\nfunction isButtonDisabled(flag: boolean, savePermission?: PermissionCheckProps) {\n const disabledDueToPermission = !!savePermission ? !isAllowed(savePermission) : false;\n return !!(flag || disabledDueToPermission);\n}\nexport interface CustomDialogActionsProps {\n actions?: React.ReactNode;\n additionalActions?: React.ReactNode;\n stepper?: React.ReactNode;\n className?: string;\n}\nexport const CustomDialogActions: React.SFC = ({ className, actions, additionalActions }) => {\n return (
    \n
    {additionalActions}
    \n
    {actions}
    \n
    );\n};\nCustomDialogActions.displayName = \"CustomDialogActions\"\ninterface CustomWizardDialogActionsProps extends CustomDialogActionsProps {\n hasNextPage: boolean;\n hasPreviousPage: boolean;\n moveNext: () => void;\n movePrevious: () => void;\n close: () => void;\n}\ninterface WizardStepperProps {\n pageCount: number;\n pageNumber: number;\n selectPage: (index: number) => void;\n}\nexport const WizardStepper: React.SFC = ({ pageCount, pageNumber, selectPage }) => {\n return (
    \n {Array(pageCount)\n .fill(null)\n .map((_, index) => (
    selectPage(index)} key={index} className={cn(styles.step, { [styles.active]: index === pageNumber })}/>))}\n
    );\n};\nWizardStepper.displayName = \"WizardStepper\"\nexport const WizardDialogActions: React.SFC = ({ className, hasNextPage, hasPreviousPage, moveNext, movePrevious, close, ...rest }) => {\n return (
    \n
    \n {rest.additionalActions}\n {!hasPreviousPage && (\n \n )}\n {hasPreviousPage && }\n
    \n {rest.stepper}\n
    \n {rest.actions}\n {hasNextPage && }\n {!hasNextPage && }\n
    \n
    );\n};\nWizardDialogActions.displayName = \"WizardDialogActions\"\nexport interface CustomSaveDialogActionsProps {\n saveButtonLabel?: string;\n cancelButtonLabel?: string;\n saveDisabled?: boolean;\n savePermission?: PermissionCheckProps;\n hideCancel?: boolean;\n onSaveClick(): Promise;\n close(wasSaved?: boolean): void;\n}\nexport const CustomSaveDialogActions: React.SFC = ({ cancelButtonLabel = \"Cancel\", saveButtonLabel = \"Save\", saveDisabled = false, ...rest }) => {\n return (\n {!rest.hideCancel && rest.close(false)} type={ActionButtonType.Secondary}/>}\n rest.close(true))} type={ActionButtonType.Save} disabled={isButtonDisabled(saveDisabled, rest.savePermission)}/>\n );\n};\nCustomSaveDialogActions.displayName = \"CustomSaveDialogActions\"\nexport default CustomDialogActions;\n","import cn from \"classnames\";\nimport * as React from \"react\";\nimport styles from \"./CustomDialogContent.module.less\";\ninterface CustomDialogContentProps {\n className?: string;\n}\nconst CustomExtraContent: React.SFC = ({ className, children }) => {\n return
    {children}
    ;\n};\nCustomExtraContent.displayName = \"CustomExtraContent\"\nconst CustomDialogContent: React.SFC = ({ className, children }) => {\n return
    {children}
    ;\n};\nCustomDialogContent.displayName = \"CustomDialogContent\"\nconst CustomFlexDialogContent: React.SFC = ({ className, children }) => {\n return
    {children}
    ;\n};\nCustomFlexDialogContent.displayName = \"CustomFlexDialogContent\"\nexport default CustomDialogContent;\nexport { CustomDialogContent, CustomFlexDialogContent, CustomExtraContent };\n","import cn from \"classnames\";\nimport * as React from \"react\";\nimport styles from \"./CustomDialogFrames.module.less\";\nexport type Frame = React.ComponentType<{}>;\nexport interface DialogFrameProp {\n frame?: Frame;\n}\nexport const FrameWrapper: React.SFC = React.forwardRef(({ children, className }, ref) => (
    \n {children}\n
    ));\nFrameWrapper.displayName = \"FrameWrapper\"\ninterface BaseFrameProps {\n className?: string;\n ref?: React.Ref;\n}\nexport const DialogFrame: React.SFC = React.forwardRef(({ children, className }, ref) => {\n return (
    \n {children}\n
    );\n});\nDialogFrame.displayName = \"DialogFrame\"\nexport const FullScreenDialogFrame: React.SFC = React.forwardRef(({ children, className }, ref) => {\n return (\n {children}\n );\n});\nFullScreenDialogFrame.displayName = \"FullScreenDialogFrame\"\nexport const LargeDialogFrame: React.SFC = React.forwardRef(({ children, className }, ref) => {\n return (\n {children}\n );\n});\nLargeDialogFrame.displayName = \"LargeDialogFrame\"\nexport const MediumDialogFrame: React.SFC = React.forwardRef(({ children, className }, ref) => (\n
    \n {children}\n
    \n
    ));\nMediumDialogFrame.displayName = \"MediumDialogFrame\"\nexport const SmallDialogFrame: React.SFC = React.forwardRef(({ children, className }, ref) => (\n {children}\n ));\nSmallDialogFrame.displayName = \"SmallDialogFrame\"\nexport const ExtraSmallDialogFrame: React.SFC = React.forwardRef(({ children, className }, ref) => (\n {children}\n ));\nExtraSmallDialogFrame.displayName = \"ExtraSmallDialogFrame\"\nexport const ContentSizeBasedDialogFrame: React.SFC = React.forwardRef(({ children, className }, ref) => (\n {children}\n ));\nContentSizeBasedDialogFrame.displayName = \"ContentSizeBasedDialogFrame\"\n","import cn from \"classnames\";\nimport * as React from \"react\";\nimport styles from \"./CustomDialogTitleBar.module.less\";\ninterface CustomDialogTitleProps {\n title: string | React.ReactNode;\n actions?: React.ReactNode;\n className?: string;\n}\nexport const CustomDialogTitleBar: React.SFC = ({ title, actions, className }) => {\n return (
    \n
    {title}
    \n
    {actions}
    \n
    );\n};\nCustomDialogTitleBar.displayName = \"CustomDialogTitleBar\"\nexport default CustomDialogTitleBar;\n","import { LinearProgress } from \"@octopusdeploy/design-system-components\";\nimport * as React from \"react\";\nimport type { BusyState } from \"~/components/BusyFromPromise/BusyFromPromise\";\nimport BusyFromPromise from \"~/components/BusyFromPromise/BusyFromPromise\";\nimport type { Errors } from \"~/components/DataBaseComponent/Errors\";\nimport { getErrorsFromError, isErrors } from \"~/components/DataBaseComponent/Errors\";\nimport type { RenderProps } from \"~/components/Dialog/CustomDialog\";\nimport ErrorPanel from \"~/components/ErrorPanel/ErrorPanel\";\nimport type { PermissionCheckProps } from \"~/components/PermissionCheck/PermissionCheck\";\nimport type { DialogFrameProp } from \"./CustomDialogFrames\";\nimport { LargeDialogFrame } from \"./CustomDialogFrames\";\nimport CustomDialogTitleBar from \"./CustomDialogTitleBar\";\ntype CustomSaveDialogLayoutProps = RenderProps & DialogFrameProp & {\n errors?: Errors | Error[];\n busy?: BusyState;\n frame?: React.ComponentType;\n renderTitle?: (props: ActionRenderProps) => React.ReactNode;\n savePermission?: PermissionCheckProps;\n renderActions?: (props: ActionRenderProps) => React.ReactNode;\n renderContent?: (props: ActionRenderProps) => React.ReactNode;\n onSaveClick(): Promise;\n};\ninterface ActionRenderProps extends RenderProps {\n savePermission?: PermissionCheckProps;\n onSaveClick(): Promise;\n}\ninterface CustomSaveDialogTitleBar {\n title?: string;\n actions?: React.ReactNode;\n className?: string;\n}\nexport function CustomSaveDialogTitleBar({ title = \"Edit Details\", actions, className }: CustomSaveDialogTitleBar) {\n return ;\n}\nconst CustomSaveDialogLayout: React.FC = ({ frame: Frame = LargeDialogFrame, renderContent, busy, errors, renderTitle = (actionRenderProps: ActionRenderProps) => , renderActions, children, ...renderProps }) => {\n const convertedErrors = errors === undefined ? undefined : isErrors(errors) ? [errors] : errors.map(getErrorsFromError);\n return (\n {renderTitle && renderTitle(renderProps)}\n {(isBusy: boolean) => }\n {convertedErrors &&\n convertedErrors.map((error, index) => )}\n {renderContent && renderContent(renderProps)}\n {renderActions && renderActions(renderProps)}\n );\n};\nCustomSaveDialogLayout.displayName = \"CustomSaveDialogLayout\"\nexport default CustomSaveDialogLayout;\n","import { ActionButton, ActionButtonType } from \"@octopusdeploy/design-system-components\";\nimport * as React from \"react\";\nimport type { RenderProps } from \"~/components/Dialog/CustomDialog\";\nimport { CustomDialogActions } from \"./CustomDialogActions\";\nimport { CustomDialogContent } from \"./CustomDialogContent\";\nimport type { DialogFrameProp } from \"./CustomDialogFrames\";\nimport { LargeDialogFrame } from \"./CustomDialogFrames\";\nimport { CustomDialogTitleBar } from \"./CustomDialogTitleBar\";\nexport type CustomInfoDialogLayoutProps = RenderProps & DialogFrameProp & {\n title: string;\n closeButtonLabel?: string;\n additionalActions?: React.ReactNode;\n};\nexport const CustomInfoDialogLayout: React.SFC = ({ closeButtonLabel = \"Close\", children, title, close, frame: Frame = LargeDialogFrame, additionalActions }) => {\n return (\n \n {children}\n } additionalActions={additionalActions}/>\n );\n};\nCustomInfoDialogLayout.displayName = \"CustomInfoDialogLayout\"\nexport default CustomInfoDialogLayout;\n","import { ActionButton, ActionButtonType } from \"@octopusdeploy/design-system-components\";\nimport { space } from \"@octopusdeploy/design-system-tokens\";\nimport * as React from \"react\";\nimport type { RenderProps } from \"~/components/Dialog/CustomDialog\";\nimport { CustomDialogActions } from \"./CustomDialogActions\";\nimport { CustomDialogContent } from \"./CustomDialogContent\";\nimport type { DialogFrameProp } from \"./CustomDialogFrames\";\nimport { LargeDialogFrame } from \"./CustomDialogFrames\";\nimport { CustomDialogTitleBar } from \"./CustomDialogTitleBar\";\nexport type CustomExternalLinkDialogLayoutProps = RenderProps & DialogFrameProp & {\n title: string;\n externalLink: string;\n externalLinkLabel: string;\n closeButtonLabel?: string;\n additionalActions?: React.ReactNode;\n dispatchAnalytics?: () => void;\n};\nexport const CustomExternalLinkDialogLayout: React.SFC = ({ closeButtonLabel = \"Close\", children, title, externalLink, externalLinkLabel, close, frame: Frame = LargeDialogFrame, additionalActions, dispatchAnalytics, }) => {\n return (\n \n {children}\n \n {additionalActions}\n \n {\n event.preventDefault();\n window.open(externalLink, \"_blank\");\n dispatchAnalytics?.();\n }} label={externalLinkLabel} type={ActionButtonType.Primary} icon={} iconPosition=\"right\"/>\n }/>\n );\n};\nCustomExternalLinkDialogLayout.displayName = \"CustomExternalLinkDialogLayout\"\nexport default CustomExternalLinkDialogLayout;\n","import * as React from \"react\";\nimport { useReducer, memo } from \"react\";\nimport type { ActionType } from \"typesafe-actions\";\nimport { createAction, getType } from \"typesafe-actions\";\nimport type { RenderProps } from \"../../Dialog/CustomDialog\";\nimport type { DialogFrameProp } from \"./CustomDialogFrames\";\nimport { MediumDialogFrame } from \"./CustomDialogFrames\";\ninterface CustomWizardDialogLayoutProps extends RenderProps, DialogFrameProp {\n children: React.ReactNode;\n renderPage: (props: RenderCustomWizardDialogPageProps) => React.ReactNode;\n}\ninterface CustomWizardDialogState {\n currentPageIndex: number;\n}\ninterface RenderCustomWizardDialogPageProps {\n currentPageIndex: number;\n pageCount: number;\n moveNext: () => void;\n movePrevious: () => void;\n selectPage: (pageIndex: number) => void;\n close: () => void;\n content: React.ReactNode;\n hasPreviousPage: boolean;\n hasNextPage: boolean;\n}\nconst wizardActions = {\n moveNextPage: createAction(\"WIZARD_PAGE_NEXT\")(),\n movePreviousPage: createAction(\"WIZARD_PAGE_PREVIOUS\")(),\n selectPage: createAction(\"WIZARD_PAGE_SELECT\", (pageIndex: number) => ({ pageIndex }))(),\n};\ntype WizardAction = ActionType;\nconst INITIAL_STATE: CustomWizardDialogState = {\n currentPageIndex: 0,\n};\nconst createReducer = (pageCount: number) => {\n const wizardReducer = (state: CustomWizardDialogState, action: WizardAction) => {\n switch (action.type) {\n case getType(wizardActions.moveNextPage):\n if (state.currentPageIndex + 1 >= pageCount) {\n return state;\n }\n return { ...state, currentPageIndex: state.currentPageIndex + 1 };\n case getType(wizardActions.movePreviousPage):\n if (state.currentPageIndex === 0) {\n return state;\n }\n return { ...state, currentPageIndex: state.currentPageIndex - 1 };\n case getType(wizardActions.selectPage):\n if (action.payload.pageIndex <= pageCount && action.payload.pageIndex >= 0) {\n return { ...state, currentPageIndex: action.payload.pageIndex };\n }\n }\n return state;\n };\n return wizardReducer;\n};\nfunction useWizard(children: React.ReactNode) {\n const pageCount = React.Children.count(children);\n const memoizedReducer = React.useMemo(() => createReducer(pageCount), [pageCount]);\n const [state, dispatch] = useReducer(memoizedReducer, INITIAL_STATE);\n const child = React.Children.toArray(children)[state.currentPageIndex];\n return {\n moveNext: () => dispatch(wizardActions.moveNextPage()),\n movePrevious: () => dispatch(wizardActions.movePreviousPage()),\n selectPage: (pageIndex: number) => dispatch(wizardActions.selectPage(pageIndex)),\n hasNextPage: state.currentPageIndex + 1 < pageCount,\n hasPreviousPage: state.currentPageIndex > 0,\n pageCount,\n content: child,\n ...state,\n };\n}\nexport const CustomWizardDialogLayout: React.FC = memo(({ frame: Frame = MediumDialogFrame, renderPage, open, close, children }) => {\n const { moveNext, movePrevious, pageCount, content, currentPageIndex, hasPreviousPage, hasNextPage, selectPage } = useWizard(children);\n return (\n {renderPage({\n close,\n moveNext,\n movePrevious,\n pageCount,\n currentPageIndex,\n content,\n hasPreviousPage,\n hasNextPage,\n selectPage,\n })}\n );\n});\nCustomWizardDialogLayout.displayName = \"CustomWizardDialogLayout\"\nexport default CustomWizardDialogLayout;\n","import * as React from \"react\";\nimport type { Frame } from \"./CustomDialogFrames\";\nimport { FullScreenDialogFrame, LargeDialogFrame, MediumDialogFrame, SmallDialogFrame } from \"./CustomDialogFrames\";\nexport const KnownFrames: Record = {\n Small: SmallDialogFrame,\n Medium: MediumDialogFrame,\n Large: LargeDialogFrame,\n Full: FullScreenDialogFrame,\n};\ninterface ToggleFrameRenderProps {\n toggleFrame: () => void;\n isInitialFrame: boolean;\n frame: Frame;\n}\nexport interface ToggleFrameProps {\n initialFrame: Frame;\n alternateFrame: Frame;\n render: (renderProps: ToggleFrameRenderProps) => React.ReactNode;\n}\nexport interface ToggleFrameState {\n current: Frame;\n}\nexport class ToggleFrame extends React.Component {\n constructor(props: ToggleFrameProps) {\n super(props);\n this.state = {\n current: props.initialFrame,\n };\n }\n render() {\n return this.props.render({\n frame: this.state.current,\n isInitialFrame: this.state.current === this.props.initialFrame,\n toggleFrame: this.toggle,\n });\n }\n toggle = () => this.setState({\n current: this.state.current === this.props.initialFrame ? this.props.alternateFrame : this.props.initialFrame,\n });\n static displayName = \"ToggleFrame\";\n}\nexport default ToggleFrame;\n","import { Callout, DialogActions, DialogContent, DialogTitle, LinearProgress } from \"@octopusdeploy/design-system-components\";\nimport cn from \"classnames\";\nimport * as React from \"react\";\nimport type { BusyState } from \"~/components/BusyFromPromise/BusyFromPromise\";\nimport BusyFromPromise from \"~/components/BusyFromPromise/BusyFromPromise\";\nimport type { Errors } from \"~/components/DataBaseComponent/Errors\";\nimport { getErrorsFromError, isErrors } from \"~/components/DataBaseComponent/Errors\";\nimport KeyboardHandler, { Key } from \"../KeyboardHandler/KeyboardHandler\";\nimport styles from \"./style.module.less\";\nexport interface DialogLayoutDispatchProps {\n close: () => void;\n}\nexport interface DialogLayoutCommonProps {\n title: string | React.ReactNode;\n titleIcon?: React.ReactNode;\n extraHeaderContent?: (alignmentClassName: string) => React.ReactNode;\n additionalActions?: React.ReactNode;\n secondaryActions?: React.ReactNode;\n errors?: Errors | Error[] | null;\n busy?: BusyState | null;\n headerClassName?: string;\n dialogClassName?: string;\n}\ninterface DialogLayoutProps extends DialogLayoutCommonProps {\n actions: React.ReactNode;\n closeDialog(): void;\n}\ninterface DialogLayoutState {\n dialogResizeKey: string;\n}\nexport class DialogLayout extends React.Component {\n constructor(props: DialogLayoutProps) {\n super(props);\n this.state = {\n dialogResizeKey: new Date().getDate().toString(),\n };\n }\n render() {\n const keyboardRegistrations = [{ key: Key.Esc, onKeyPressed: this.onEscKeyPressed }];\n const errors = this.props.errors;\n const convertedErrors = errors === undefined || errors === null ? undefined : isErrors(errors) ? [errors] : errors.map(getErrorsFromError);\n return (\n \n {(busy: boolean) => }\n
    \n {React.isValidElement(this.props.title) ? (this.props.title) : (<>\n {this.props.titleIcon &&
    {this.props.titleIcon}
    }\n {this.props.title}\n )}\n
    \n
    \n \n {this.props.extraHeaderContent && this.props.extraHeaderContent(styles.headerContentAlignment)}\n {convertedErrors &&\n convertedErrors.map((error, index) => (\n {error.errors}\n ))}\n {this.props.children}\n \n \n
    \n {this.props.additionalActions}\n
    \n
    \n {this.props.actions}\n
    \n
    \n
    );\n }\n onEscKeyPressed = () => {\n if (this.props.closeDialog) {\n this.props.closeDialog();\n return true;\n }\n return false;\n };\n static displayName = \"DialogLayout\";\n}\n","import type { FieldErrors } from \"@octopusdeploy/octopus-react-client\";\nimport { ValidationError } from \"@octopusdeploy/octopus-react-client\";\nimport { OctopusError } from \"@octopusdeploy/octopus-server-client\";\nimport React, { useCallback, useContext } from \"react\";\nimport { useRequiredContext } from \"../../hooks\";\nimport type { Errors } from \"../DataBaseComponent\";\nimport { DatabaseComponentContextProvider } from \"../DataBaseComponent/DataBaseComponentContext\";\nimport { createErrorsFromOctopusError } from \"../DataBaseComponent/Errors\";\ntype CurrentErrorActions = {\n setOctopusError: (errors: OctopusError) => void;\n setValidationErrors: (message: string, errors: FieldErrors) => void;\n clearErrors: () => void;\n};\ntype CurrentErrorState = OctopusError | ValidationError | null;\nconst CurrentErrorContext = React.createContext(undefined);\nCurrentErrorContext.displayName = \"CurrentErrorContext\";\nconst CurrentErrorActionContext = React.createContext(undefined);\nCurrentErrorActionContext.displayName = \"CurrentErrorActionContext\";\ntype ErrorContextProviderProps = {\n onError?: (error: OctopusError) => void;\n};\nexport const ErrorContextProvider: React.FC = ({ onError, children }) => {\n const [currentError, setCurrentError] = React.useState(null);\n const actions: CurrentErrorActions = React.useMemo(() => ({\n setOctopusError: (error: OctopusError) => {\n setCurrentError(error);\n onError?.(error);\n },\n setValidationErrors: (message, errors) => setCurrentError(new ValidationError(message, errors)),\n clearErrors: () => setCurrentError(null),\n }), [setCurrentError, onError]);\n return (\n \n {children}\n \n );\n};\nErrorContextProvider.displayName = \"ErrorContextProvider\"\nErrorContextProvider.displayName = \"ErrorContextProvider\";\nexport function useErrorActions() {\n return useRequiredContext(CurrentErrorActionContext, \"ErrorAction\");\n}\nexport function useCurrentError() {\n const errorContext = useContext(CurrentErrorContext);\n if (errorContext === undefined) {\n throw new Error(\"ErrorContext could not be found\");\n }\n return errorContext;\n}\nexport function useErrors() {\n const currentError = useCurrentError();\n return React.useMemo((): Errors | undefined => {\n if (currentError === null) {\n return undefined;\n }\n if (currentError instanceof OctopusError) {\n const converted = createErrorsFromOctopusError(currentError);\n return { ...converted, fieldErrors: { ...converted.fieldErrors, ...currentError.Details } };\n }\n return { message: currentError.message, fieldErrors: currentError.fieldErrors, details: {}, errors: Object.values(currentError.fieldErrors) };\n }, [currentError]);\n}\nexport default ErrorContextProvider;\nexport function useGetFieldError() {\n const errors = useErrors();\n return useCallback((name: string) => {\n const fieldErrors = errors?.fieldErrors ?? {};\n if (Object.prototype.hasOwnProperty.call(fieldErrors, name)) {\n return fieldErrors[name];\n }\n const found = Object.keys(fieldErrors).find((k) => k.toLowerCase() === name.toLowerCase());\n if (found) {\n return fieldErrors[found];\n }\n const foundPartialMatch = Object.keys(fieldErrors).find((k) => k.endsWith(\".\" + name));\n if (foundPartialMatch) {\n return fieldErrors[foundPartialMatch];\n }\n }, [errors]);\n}\n","/* eslint-disable @typescript-eslint/no-non-null-assertion */\nimport { space } from \"@octopusdeploy/design-system-tokens\";\nimport { KnownErrorCodes } from \"@octopusdeploy/octopus-server-client\";\nimport * as React from \"react\";\nimport { CloseButton } from \"~/components/Button\";\nimport ExternalLink from \"~/components/Navigation/ExternalLink/ExternalLink\";\nimport SmoothScroll from \"~/components/SmoothScroll/SmoothScroll\";\nimport Note from \"~/primitiveComponents/form/Note/Note\";\nimport { client } from \"../../clientInstance\";\nimport styles from \"./style.module.less\";\ninterface ErrorPanelProps {\n message: string;\n statusCode?: number;\n errors?: string[];\n parsedHelpLinks?: string[];\n helpText?: string;\n helpLink?: string;\n fullWidth?: boolean;\n canClose?: boolean;\n onErrorClose?: () => void;\n scrollToPanel?: boolean;\n clickableErrors?: {\n message: string;\n onClick: () => void;\n }[];\n}\ninterface ErrorPanelState {\n showFullException: boolean;\n}\nclass ErrorPanel extends React.Component {\n private static defaultProps: Partial = {\n fullWidth: true,\n scrollToPanel: true,\n };\n panel: HTMLDivElement | null = undefined!;\n constructor(props: ErrorPanelProps) {\n super(props);\n this.state = {\n showFullException: false,\n };\n }\n componentDidMount() {\n if (this.props.scrollToPanel && this.panel) {\n SmoothScroll.scrollTo(this.panel);\n }\n }\n render() {\n if (this.props.statusCode === KnownErrorCodes.NetworkError) {\n // We are handling network errors globally via SystemMessagesBanner\n return null;\n }\n const serverInfo = client.tryGetServerInformation();\n return (
    (this.panel = ref)} className={styles.error} style={{\n display: this.props.fullWidth ? \"block\" : \"inline-block\",\n width: this.props.fullWidth ? \"100%\" : \"auto\",\n }}>\n
    \n {this.props.message}\n
    {this.props.canClose && }
    \n
    \n {this.props.errors && this.props.errors.length > 0 &&
      {this.props.errors.map((e, index) => this.detailFor(e, index))}
    }\n {this.props.clickableErrors && this.props.clickableErrors.length > 0 && (
    \n Errors found in the following steps:\n
    {this.props.clickableErrors.map((e, index) => this.renderClickableError(e.message, e.onClick, index))}
    \n
    )}\n {this.props.helpText && (
    \n {this.props.helpText}\n
    )}\n {this.props.helpLink && More information...}\n
    );\n }\n private detailFor(error: string, index: number) {\n const detailLinks = this.props.parsedHelpLinks;\n const detailLink = detailLinks && detailLinks.length > index && detailLinks[index];\n return (
  • \n {error}\n {detailLink && (
    \n More information...\n
    )}\n
  • );\n }\n private renderClickableError(error: string, onClick: () => void, index: number) {\n return ();\n }\n static displayName = \"ErrorPanel\";\n}\nexport default ErrorPanel;\n","/* eslint-disable @typescript-eslint/consistent-type-assertions */\nimport * as React from \"react\";\nimport { connect, useDispatch } from \"react-redux\";\nimport type { Action, Dispatch } from \"redux\";\nimport type { ExpanderActions } from \"~/components/form/Sections/reducers/expanders\";\nimport { defaultContainerKey, defaultExpanderContainer, expanderActions, UseInitialValueOfContainer } from \"~/components/form/Sections/reducers/expanders\";\nimport type { GlobalState } from \"~/store/reducers\";\nexport interface ExpandableProps {\n isExpanded: boolean;\n expandingAll?: boolean;\n onExpandedChanged(isExpanded: boolean): void;\n}\nexport interface ExpandableContainerProps {\n containerKey?: string;\n errorKey: string;\n isExpandedByDefault?: boolean;\n}\n// HOC that hooks up a component that manages expansion to the redux store\nexport default function Expandable, Props extends ExpandableProps & Pick>(Comp: React.ComponentType) {\n //type InternalProps = Props & ExpanderInjectedProps & ExpandableContainerProps;\n function mapGlobalStateToProps(state: GlobalState, ownProps: ExpandableContainerProps) {\n const container = state.expanders?.[ownProps.containerKey || defaultContainerKey] ?? defaultExpanderContainer();\n const expanderState = container.expanderValues[ownProps.errorKey.toLowerCase()];\n const initialState = container.initialState || (ownProps.isExpandedByDefault ?? false);\n const isExpanded = expanderState === UseInitialValueOfContainer ? initialState : expanderState;\n return { isExpanded, expandingAll: container.expandingAll };\n }\n function mapGlobalActionDispatchersToProps(dispatch: Dispatch, ownProps: ExpandableContainerProps) {\n return {\n onExpandedChanged: (state: boolean) => {\n dispatch(expanderActions.onExpanderStateChanged({ containerKey: ownProps.containerKey ?? defaultContainerKey, key: ownProps.errorKey, expanded: state }));\n },\n onMount: (errorKey: string, containerKey: string | undefined, expanded: boolean | undefined) => {\n dispatch(expanderActions.onExpanderCreated({ containerKey: containerKey ?? defaultContainerKey, key: errorKey, expanded: expanded ?? UseInitialValueOfContainer }));\n },\n };\n }\n type DispatchInjectedProps = ReturnType;\n type StateInjectedProps = ReturnType;\n type InjectedProps = DispatchInjectedProps & StateInjectedProps;\n type ExpandableInternalProps = ExpandableContainerProps & ExpandableProps & InjectedProps;\n type ExternalProps = Omit & ExpandableContainerProps;\n //eslint-disable-next-line react/no-unsafe\n class ExpandableInternal extends React.Component {\n componentDidMount() {\n this.props.onMount(this.props.errorKey, this.props.containerKey, this.props.isExpandedByDefault);\n }\n UNSAFE_componentWillReceiveProps(nextProps: Readonly) {\n if (nextProps.containerKey !== this.props.containerKey || nextProps.errorKey !== this.props.errorKey) {\n this.props.onMount(nextProps.errorKey, nextProps.containerKey, nextProps.isExpandedByDefault);\n }\n }\n render() {\n const { containerKey, errorKey, onMount, ...rest } = this.props;\n return ;\n }\n static displayName = \"ExpandableInternal\";\n }\n return withContextualExpandableContainer(connect(mapGlobalStateToProps, mapGlobalActionDispatchersToProps)(ExpandableInternal)) as React.ComponentType;\n}\nconst ExpandableContainerContext = React.createContext(null);\nexport const ExpandableContainer: React.FC<{\n containerKey: string;\n}> = (props) => {\n const dispatch = useDispatch>();\n React.useEffect(() => {\n return () => {\n dispatch(expanderActions.onExpanderContainerDestroyed({ containerKey: props.containerKey }));\n };\n }, [dispatch, props.containerKey]);\n return {props.children};\n};\nExpandableContainer.displayName = \"ExpandableContainer\"\ninterface ContainerKeyProp {\n containerKey?: string;\n}\nconst withContextualExpandableContainer = (Component: React.ComponentType) => {\n class ContextualExpandableContainer extends React.Component {\n render() {\n return {(containerKey) => };\n }\n static displayName = \"ContextualExpandableContainer\";\n }\n return ContextualExpandableContainer;\n};\nexport const useContextualExpandableContainer = () => {\n return React.useContext(ExpandableContainerContext);\n};\n","import React from \"react\";\nimport { useDispatch } from \"react-redux\";\nimport type { Dispatch } from \"redux\";\nimport { useContextualExpandableContainer } from \"~/components/Expandable/Expandable\";\nimport type { ExpanderActions } from \"~/components/form/Sections/reducers/expanders\";\nimport { expanderActions } from \"~/components/form/Sections/reducers/expanders\";\nexport function useExpandAllExpanders(containerKey?: string) {\n const containerKeyFromContext = useContextualExpandableContainer();\n const dispatch = useDispatch>();\n const containerKeyToUse = containerKey ?? containerKeyFromContext;\n return React.useCallback((expand: boolean) => {\n dispatch(expanderActions.onToggleAll({ containerKey: containerKeyToUse, expanded: expand }));\n }, [containerKeyToUse, dispatch]);\n}\n","import React from \"react\";\nimport { useDispatch } from \"react-redux\";\nimport type { Dispatch } from \"redux\";\nimport { useContextualExpandableContainer } from \"~/components/Expandable/Expandable\";\nimport type { ExpanderActions } from \"~/components/form/Sections/reducers/expanders\";\nimport { expanderActions } from \"~/components/form/Sections/reducers/expanders\";\nexport function useExpandExpanders(containerKey?: string) {\n const dispatch = useDispatch>();\n const containerKeyFromContext = useContextualExpandableContainer();\n const containerKeyToUse = containerKey ?? containerKeyFromContext;\n return React.useCallback((expandersWithErrors: ReadonlyArray) => {\n dispatch(expanderActions.onExpandExpanders({ containerKey: containerKeyToUse, expandersWithKeys: expandersWithErrors }));\n }, [containerKeyToUse, dispatch]);\n}\n","import type { InstanceFeatureToggle } from \"@octopusdeploy/octopus-server-client\";\nimport { session } from \"~/clientInstance\";\n// Exposes the feature toggles to consumers\nexport function isFeatureToggleEnabled(featureToggle: InstanceFeatureToggle): boolean {\n if (!session.featureToggles) {\n throw \"Feature toggles have not yet loaded. These settings are only available once logged in.\";\n }\n const toggle = session.featureToggles.find((x) => x.Name === featureToggle);\n return toggle ? toggle.IsEnabled : false;\n}\n","/* eslint-disable @typescript-eslint/no-non-null-assertion */\n/* eslint-disable @typescript-eslint/no-explicit-any */\nimport { css } from \"@emotion/css\";\nimport { MagnifyingGlassIcon } from \"@octopusdeploy/design-system-icons\";\nimport { themeTokens } from \"@octopusdeploy/design-system-tokens\";\nimport cn from \"classnames\";\nimport MobileDetect from \"mobile-detect\";\nimport * as React from \"react\";\nimport DebounceValue from \"~/components/DebounceValue/DebounceValue\";\nimport { withTheme } from \"~/components/Theme\";\nimport Text from \"~/primitiveComponents/form/Text/Text\";\nimport type { TextInput } from \"~/primitiveComponents/form/Text/Text\";\nimport styles from \"./style.module.less\";\ninterface FilterSearchBoxProps {\n placeholder?: string;\n onChange: (newValue: string) => void;\n onKeyDown?: (keyEvent: any) => void;\n value?: string;\n autoFocus?: boolean;\n containerClassName?: string;\n inputClassName?: string;\n iconColor?: string;\n fullWidth?: boolean;\n error?: string;\n}\nclass FilterSearchBoxInternal extends React.Component {\n ref: TextInput | null = null;\n focus() {\n this.ref?.focus();\n }\n render() {\n // Disable autoFocus filtering for mobile (Android has issues and is annoying users).\n const md = new MobileDetect(window.navigator.userAgent);\n const autoFocus = md.isPhoneSized() ? false : this.props.autoFocus;\n const searchIconColor = this.props.iconColor ? this.props.iconColor : themeTokens.color.text.secondary;\n return withTheme((theme) => (
    \n this.props.onChange(value)} autoFocus={autoFocus} onKeyDown={this.props.onKeyDown} className={cn(this.props.inputClassName, this.props.fullWidth ? styles.filterTextBoxFullWidth : styles.filterTextBoxStandardWidth)} error={this.props.error ?? \"\"} accessibleName={this.props.placeholder}/>\n \n \n \n
    ));\n }\n private setRef = (el: TextInput | null) => {\n this.ref = el;\n };\n static displayName = \"FilterSearchBoxInternal\";\n}\nconst SearchIcon = css({\n position: \"absolute\",\n right: \"0\",\n top: \"1.25rem\",\n});\nexport default DebounceValue(FilterSearchBoxInternal);\n","import FilterSearchBox from \"./FilterSearchBox\";\nexport default FilterSearchBox;\n","/* eslint-disable @typescript-eslint/no-explicit-any */\nimport * as React from \"react\";\nimport { BaseComponent } from \"../BaseComponent/BaseComponent\";\nimport KeyboardHandler, { Key } from \"../KeyboardHandler/KeyboardHandler\";\nexport interface FormComponentProps {\n className?: string;\n onFormSubmit(): void;\n}\nexport default class FormComponent extends BaseComponent {\n constructor(props: FormComponentProps) {\n super(props);\n }\n render() {\n const keyboardRegistrations = [\n { key: Key.Enter, onKeyPressed: this.onEnter },\n { key: Key.CtrlEnter, onKeyPressed: this.onCtrlEnter },\n ];\n return (
    \n \n {this.props.children}\n \n
    );\n }\n onEnter = (event: KeyboardEvent): boolean => {\n const target: any = event.target ? event.target : event.srcElement;\n const tagName = target.tagName;\n if (tagName.toUpperCase() === \"INPUT\") {\n this.props.onFormSubmit();\n return true;\n }\n return false;\n };\n onCtrlEnter = (event: KeyboardEvent) => {\n this.props.onFormSubmit();\n return true;\n };\n static displayName = \"FormComponent\";\n}\n","enum ActionKeys {\n FORM_DIRTYCHANGED = \"FORM_DIRTYCHANGED\"\n}\ninterface IDirtyChangedAction {\n type: ActionKeys.FORM_DIRTYCHANGED;\n dirty: boolean;\n}\ntype ActionTypes = IDirtyChangedAction;\nexport function createFormDirtyChangedAction(dirty: boolean): IDirtyChangedAction {\n return { type: ActionKeys.FORM_DIRTYCHANGED, dirty };\n}\nexport interface FormReducerState {\n dirty: boolean;\n}\nconst formReducer = (state: FormReducerState = { dirty: false }, action: ActionTypes): FormReducerState => {\n switch (action.type) {\n case ActionKeys.FORM_DIRTYCHANGED:\n return state.dirty === action.dirty ? state : { ...state, dirty: action.dirty };\n default:\n return state;\n }\n};\nexport default formReducer;\n","/* eslint-disable @typescript-eslint/no-explicit-any */\nimport { CircularProgress } from \"@octopusdeploy/design-system-components\";\nimport classnames from \"classnames\";\nimport * as React from \"react\";\nimport styles from \"./ImageWithPlaceholder.module.less\";\ninterface State {\n hasLoaded: boolean;\n}\ninterface Props {\n src: any;\n alt?: string;\n className?: string;\n minHeight?: string;\n}\nexport default class ImageWithPlaceholder extends React.Component {\n private static defaultProps: Partial = {\n minHeight: \"2rem\", // To give the busy indicator some room, as this is an absolute positioned div.\n };\n constructor(props: Props) {\n super(props);\n this.state = {\n hasLoaded: false,\n };\n }\n render() {\n return (
    \n {!this.state.hasLoaded && (
    \n \n
    )}\n {this.props.alt} this.onImageLoad()} onError={() => this.onImageError()}/>\n
    );\n }\n private onImageLoad() {\n this.setState({ hasLoaded: true });\n }\n private onImageError() {\n // Hide the spinner on error, pretend this has loaded.\n this.setState({ hasLoaded: true });\n }\n static displayName = \"ImageWithPlaceholder\";\n}\n","import * as React from \"react\";\nimport styles from \"./style.module.less\";\ninterface IconButtonListProps {\n buttons?: JSX.Element[];\n}\nconst IconButtonList: React.StatelessComponent = ({ buttons = [] }) => {\n return
    {buttons.map((button, index) => (!button ? null : React.cloneElement(button, { ...button.props, key: index })))}
    ;\n};\nIconButtonList.displayName = \"IconButtonList\"\nIconButtonList.displayName = \"IconButtonList\";\nexport default IconButtonList;\n","import type { IconButtonElement, IconButtonProps, TooltipContent } from \"@octopusdeploy/design-system-components\";\nimport { IconButton, Tooltip } from \"@octopusdeploy/design-system-components\";\nimport React from \"react\";\nexport type IconButtonWithTooltipProps = IconButtonProps & {\n toolTipContent: TooltipContent;\n};\nexport const IconButtonWithTooltip = React.forwardRef(({ toolTipContent, ...iconButtonProps }, ref) => {\n return (\n \n );\n});\ntype IconButtonWithOptionalTooltipProps = IconButtonProps & {\n toolTipContent?: TooltipContent;\n};\nexport const IconButtonWithOptionalTooltip = React.forwardRef(({ toolTipContent, ...iconButtonProps }, ref) => {\n if (toolTipContent) {\n return ;\n }\n return ;\n});\n","import { themeTokens } from \"@octopusdeploy/design-system-tokens\";\nimport * as React from \"react\";\nimport type { SvgImageProps } from \"../../../primitiveComponents/dataDisplay/SvgImage/SvgImage\";\nimport SvgImage from \"../../../primitiveComponents/dataDisplay/SvgImage/SvgImage\";\nconst NoResults = (props: Partial) => (\n// This div wrapper is needed to make the SvgImage component obey the dimentions in Firefox.\n
    \n \n \n \n \n \n \n \n \n \n \n \n
    );\nexport { NoResults };\n","import { CircularProgress } from \"@octopusdeploy/design-system-components\";\nimport * as React from \"react\";\nimport { maxInputWidth } from \"~/components/sizes\";\nimport styles from \"./style.module.less\";\ninterface InputWithActionsProps {\n input: JSX.Element;\n actions: JSX.Element;\n applyMaxWidth?: boolean;\n maxWidthInRem?: number;\n busy?: boolean;\n actionsAlignment?: \"center\" | \"start\" | \"end\";\n}\nconst InputWithActions: React.FC = (props) => {\n const inputStyle = props.applyMaxWidth ? { maxWidth: maxInputWidth } : props.maxWidthInRem ? { maxWidth: `${props.maxWidthInRem}rem` } : {};\n const actionsStyle = props.actionsAlignment ? { alignItems: props.actionsAlignment } : {};\n return (
    \n
    \n {props.input}\n
    \n
    \n {props.actions}\n {props.busy && }\n
    \n
    );\n};\nInputWithActions.displayName = \"InputWithActions\"\nInputWithActions.displayName = \"InputWithActions\";\nInputWithActions.defaultProps = {\n applyMaxWidth: false,\n};\nexport default InputWithActions;\n","export const maxInputWidth: string = \"26rem\";\n","import InputWithActions from \"./InputWithActions\";\nexport default InputWithActions;\n","import * as React from \"react\";\nexport enum Key {\n Esc = \"Esc\",\n Enter = \"Enter\",\n CtrlEnter = \"CtrlEnter\"\n}\ntype KeyboardHandlerRegistrations = Array<{\n key: Key;\n onKeyPressed(e: KeyboardEvent): boolean;\n}>;\ninterface KeyboardHandlerProps {\n className?: string;\n // the return boolean is to indicate if KeyboardHandler should preventDefault()\n registrations: KeyboardHandlerRegistrations;\n}\nconst KeyboardHandler: React.FC = (props) => {\n React.useEffect(() => {\n const escapeRegistrations = filterRegistrationsForKey(props.registrations, Key.Esc);\n const hasEscRegistration = escapeRegistrations.length > 0;\n const handleEsc = (event: KeyboardEvent): void => {\n if (event.key !== \"Escape\") {\n return;\n }\n escapeRegistrations.forEach((registration) => {\n if (registration.onKeyPressed(event)) {\n event.preventDefault();\n }\n });\n };\n if (hasEscRegistration) {\n window.document.addEventListener(\"keydown\", handleEsc);\n }\n return () => window.document.removeEventListener(\"keydown\", handleEsc);\n }, [props.registrations]);\n const handleKey = (e: React.KeyboardEvent): void => {\n const event = e.nativeEvent;\n const targetKey = mapEventKey(event);\n if (!event.defaultPrevented && targetKey && targetKey !== \"Esc\") {\n filterRegistrationsForKey(props.registrations, targetKey).forEach((registration) => {\n const result = registration.onKeyPressed(event);\n if (result) {\n event.preventDefault();\n }\n });\n }\n };\n return (
    \n {props.children}\n
    );\n};\nKeyboardHandler.displayName = \"KeyboardHandler\"\nfunction filterRegistrationsForKey(registrations: KeyboardHandlerRegistrations, targetKey: Key) {\n return registrations.filter((x) => x.key === targetKey);\n}\nfunction mapEventKey(event: KeyboardEvent) {\n switch (event.key) {\n case \"Enter\":\n return event.ctrlKey ? Key.CtrlEnter : Key.Enter;\n case \"Esc\":\n return Key.Esc;\n }\n}\nexport default KeyboardHandler;\n","/* eslint-disable @typescript-eslint/no-explicit-any */\n/* eslint-disable @typescript-eslint/consistent-type-assertions */\nimport { func } from \"prop-types\";\nimport * as React from \"react\";\ntype LabelStrategy = (fieldName: string) => string;\nfunction generateLabel(fieldName: string, labelStrategy: LabelStrategy | undefined, fallbackLabelStrategy: LabelStrategy): string {\n if (labelStrategy) {\n return labelStrategy(fieldName);\n }\n return fallbackLabelStrategy(fieldName);\n}\ninterface SetLabelStrategyProps {\n labelStrategy: LabelStrategy;\n}\ninterface LabelStrategyContext {\n labelStrategy: LabelStrategy | undefined;\n}\nconst LabelStrategyContextTypes = {\n labelStrategy: func,\n};\n/* This component is used to set a \"labeling\" strategy on the react context.\n * This strategy is used to determine how labels for input components are generated\n * This allows us to do things like say that all inputs within the filter panel\n * should have labels of the form \"By [fieldName]\", eg \"By environments\".\n * For components to use the label strategy to generate their label, they should use the `UseLabelStrategy` HOC*/\nexport class SetLabelStrategy extends React.Component {\n static childContextTypes = LabelStrategyContextTypes;\n private readonly labelStrategy: LabelStrategy;\n constructor(props: SetLabelStrategyProps) {\n super(props);\n // Capture the label strategy so that it can't change (not a good idea to change things on context)\n this.labelStrategy = props.labelStrategy;\n }\n getChildContext() {\n const context: LabelStrategyContext = {\n labelStrategy: this.labelStrategy,\n };\n return context;\n }\n render() {\n return
    {this.props.children}
    ;\n }\n static displayName = \"SetLabelStrategy\";\n}\n/* This clears any label strategy that might be on the context (see `SetLabelStrategy`),\n * so that any descendant components won't use that label strategy\n * This is useful for things like dialogs, which are usually placed at some arbitrary point\n * in the component hierarchy because they have to go somewhere, and therefore don't necessarily\n * want to inherit the provided label strategy.*/\nexport class ResetLabelStrategy extends React.Component {\n static childContextTypes = LabelStrategyContextTypes;\n getChildContext() {\n const context: LabelStrategyContext = {\n labelStrategy: undefined,\n };\n return context;\n }\n render() {\n return
    {this.props.children}
    ;\n }\n static displayName = \"ResetLabelStrategy\";\n}\n/* This HOC wraps a component and makes it use the label strategy on the react context in order to generate its label\n * It is mainly used by input components, like `Text` and `Select`\n * In order to provide a label strategy on the context, use `SetLabelStrategy`*/\nexport default function UseLabelStrategy(Comp: React.ComponentClass, fallbackLabelStrategy: LabelStrategy) {\n type UseLabelStrategyInternalProps = Props & {\n fieldName?: string;\n };\n return class UseLabelStrategyInternal extends React.Component {\n static contextTypes = LabelStrategyContextTypes;\n private readonly labelStrategy: LabelStrategy | undefined;\n constructor(props: UseLabelStrategyInternalProps, context: LabelStrategyContext) {\n super(props);\n this.labelStrategy = context.labelStrategy;\n }\n render() {\n const { fieldName, label, ...other } = this.props as any;\n const derivedLabel = label || (fieldName ? generateLabel(fieldName, this.labelStrategy, fallbackLabelStrategy) : undefined);\n return ;\n }\n };\n}\n","/* eslint-disable @typescript-eslint/no-non-null-assertion */\nconst getCurrentValue = (id: string): string => {\n return localStorage.getItem(`NotificationItemValue-${id}`)!;\n};\nconst setCurrentValue = (id: string, value: string = new Date() + \"\") => {\n localStorage.setItem(`NotificationItemValue-${id}`, value);\n};\nconst clearValue = (id: string): void => {\n localStorage.removeItem(`NotificationItemValue-${id}`);\n};\nexport { getCurrentValue, setCurrentValue, clearValue };\n","import type { LinkHref } from \"@octopusdeploy/portal-routes\";\nimport type { Dictionary } from \"lodash\";\nimport type { ActionType } from \"typesafe-actions\";\nimport { getType, createAction } from \"typesafe-actions\";\n// State Type\nexport enum NotificationType {\n happy,\n info,\n warn,\n error\n}\nexport interface NotificationItem {\n id: string;\n value?: string;\n text: string;\n description: string;\n links?: Array;\n type: NotificationType;\n}\nexport type NotificationItemInternalLink = {\n type: \"Internal\";\n label: string;\n href: LinkHref;\n};\nexport type NotificationItemExternalLink = {\n type: \"External\";\n label: string;\n href: string;\n};\nexport type NotificationItemLink = {\n type: \"None\" | \"Refresh\";\n label: string;\n};\nexport type NotificationItemState = Dictionary;\nexport const notificationActions = {\n raiseNotification: createAction(\"NotificationActions/RAISE\", (notification: NotificationItem) => notification)(),\n dismissNotification: createAction(\"NotificationActions/DISMISS\", (id: string) => id)(),\n dismissAllNotifications: createAction(\"NotificationActions/DISMISS_ALL\")(),\n};\nexport type NotificationAction = ActionType;\n// Reducer\nexport const notificationReducer = (state: NotificationItemState = {}, action: NotificationAction): NotificationItemState => {\n switch (action.type) {\n case getType(notificationActions.raiseNotification):\n return {\n ...state,\n [action.payload.id]: action.payload,\n };\n case getType(notificationActions.dismissNotification):\n if (action.payload && state.hasOwnProperty(action.payload)) {\n const newState = { ...state };\n delete newState[action.payload];\n return newState;\n }\n break;\n case getType(notificationActions.dismissAllNotifications):\n return {};\n }\n return state;\n};\n","/* eslint-disable no-eq-null */\nimport { space } from \"@octopusdeploy/design-system-tokens\";\nimport { OctoLink } from \"@octopusdeploy/utilities\";\nimport * as React from \"react\";\nimport { nameForDocument, useAnalyticExternalLinkDispatch } from \"~/analytics/Analytics\";\nexport interface ExternalLinkProps extends React.HTMLProps {\n href: string;\n showIcon?: boolean;\n openInSelf?: boolean;\n onClick?: () => void;\n className?: string;\n trackAnalytics?: boolean;\n downloadFileName?: string;\n linkLocation?: string;\n}\nconst ExternalLink: React.SFC = (props: ExternalLinkProps) => {\n const linkRef = React.useRef(null);\n const dispatchLink = useAnalyticExternalLinkDispatch();\n if (props.href == null) {\n return null;\n }\n const onClick = (e: React.MouseEvent) => {\n if (props.onClick) {\n props.onClick();\n }\n if (props.trackAnalytics === true) {\n if (linkRef.current) {\n dispatchLink(linkRef.current.innerText, props.href, nameForDocument(), props.linkLocation);\n }\n }\n e.stopPropagation();\n };\n const linkProps = props.openInSelf ? { target: \"_self\" } : { target: \"_blank\", rel: \"noopener noreferrer\" };\n const downloadProps = props.downloadFileName ? { download: props.downloadFileName } : {};\n return (\n {props.children}\n {props.showIcon && }\n );\n};\nExternalLink.displayName = \"ExternalLink\"\nexport function ExternalLinkIcon() {\n return ;\n}\nExternalLink.defaultProps = {\n showIcon: true,\n openInSelf: false,\n trackAnalytics: true,\n};\nexport function formatUrl(href: string) {\n if (parseUrl(href)) {\n return href;\n }\n return OctoLink.Create(href);\n function parseUrl(url: string): boolean {\n try {\n // We need these .startsWith checks because IE11 will assume URL(\"someString\") is relative to the current\n // domain and won't throw (like every other browser in the universe).\n if (url.startsWith(\"http://\") || url.startsWith(\"https://\")) {\n const ignored = new URL(url);\n return true;\n }\n else {\n return false;\n }\n }\n catch (error) {\n return false;\n }\n }\n}\nexport default ExternalLink;\n","import ExternalLink from \"./ExternalLink\";\nexport default ExternalLink;\n","import { css } from \"@emotion/css\";\nimport { ArrowUpRightFromSquareIcon } from \"@octopusdeploy/design-system-icons\";\nimport { space, themeTokens } from \"@octopusdeploy/design-system-tokens\";\nimport type { LinkHref } from \"@octopusdeploy/portal-routes\";\nimport { resolvePathWithSpaceId } from \"@octopusdeploy/portal-routes\";\nimport cn from \"classnames\";\nimport { forwardRef } from \"react\";\nimport * as React from \"react\";\nimport { useParams } from \"react-router\";\nimport { Link } from \"react-router-dom\";\nimport { client } from \"~/clientInstance\";\nimport { isUrl } from \"~/components/Navigation/InternalLink/isUrl\";\nimport { useUrlResolver } from \"~/components/Navigation/useUrlResolver\";\nimport styles from \"./style.module.less\";\nexport type FontWeight = \"normal\" | \"bold\" | \"bolder\" | \"lighter\" | 100 | 200 | 300 | 400 | 500 | 600 | 700 | 800 | 900;\ninterface InternalLinkProps {\n size?: number;\n weight?: FontWeight;\n width?: string;\n color?: string;\n className?: string;\n to: LinkHref;\n openInSelf?: boolean;\n onClick?: (event: React.MouseEvent) => void;\n children?: React.ReactNode;\n accessibleName?: string;\n isDisabled?: boolean;\n showOpensInNewTabIcon?: boolean;\n}\nconst InternalLink = forwardRef(({ size, weight, width, color, className, to, openInSelf = true, onClick, children, accessibleName, isDisabled, showOpensInNewTabIcon = false }, ref) => {\n const params = useParams<{\n spaceId?: string;\n }>();\n const urlResolver = useUrlResolver();\n const handleClick = (e: React.MouseEvent) => {\n if (isDisabled)\n return;\n onClick?.(e);\n e.stopPropagation();\n };\n const style: React.CSSProperties = {};\n if (size) {\n style.fontSize = size + \"rem\";\n }\n if (weight) {\n style.fontWeight = weight;\n }\n if (width) {\n style.width = width;\n }\n if (color) {\n style.color = color;\n }\n if (isDisabled) {\n style.color = themeTokens.color.text.disabled;\n style.pointerEvents = \"none\";\n }\n if (showOpensInNewTabIcon && !openInSelf) {\n style.display = \"inline-flex\";\n }\n // The client's spaceId and the route's spaceId should be in sync,\n // but because we haven't modelled this relationship in a reliable way,\n // this is not guaranteed to be true, particularly in tests\n const spaceId = (params.spaceId || client.spaceId) ?? undefined;\n const resolvedPath = isUrl(to) ? urlResolver.resolve(to) : resolvePathWithSpaceId(to, spaceId);\n /* eslint-disable react/forbid-elements */\n return (\n {children}\n {showOpensInNewTabIcon && !openInSelf && (\n \n )}\n );\n});\nexport default InternalLink;\nconst iconStyles = css({\n marginLeft: space[4],\n alignContent: \"center\",\n});\n","import InternalLink from \"./InternalLink\";\nexport default InternalLink;\n","import type { Url } from \"@octopusdeploy/portal-routes\";\nimport type { History } from \"history\";\nexport function isUrl(to: History.LocationDescriptor | Url): to is Url {\n return typeof to === \"object\" && \"resolveWithSpaceId\" in to;\n}\n","import type { LinkHref } from \"@octopusdeploy/portal-routes\";\nimport { resolvePathWithSpaceId } from \"@octopusdeploy/portal-routes\";\nimport type { LocationDescriptor } from \"history\";\nimport type { useHistory } from \"react-router\";\nimport { isUrl } from \"../InternalLink/isUrl\";\nimport type { UrlResolver } from \"../useUrlResolver\";\nexport class SpaceAwareNavigation {\n constructor(private readonly history: ReturnType, private readonly spaceId: string | undefined, private readonly urlResolver: UrlResolver) {\n this.history = history;\n this.spaceId = spaceId;\n this.urlResolver = urlResolver;\n }\n navigate = (path: LinkHref | LocationDescriptor) => {\n this.history.push(this.resolve(path));\n };\n redirect = (path: LinkHref | LocationDescriptor) => {\n this.history.replace(this.resolve(path));\n };\n open = (path: LinkHref | LocationDescriptor) => {\n window.open(`#${this.resolve(path)}`);\n };\n private resolve = (path: LinkHref | LocationDescriptor) => {\n return isUrl(path) ? this.urlResolver.resolve(path) : resolvePathWithSpaceId(path, this.spaceId);\n };\n}\n","import { useMemo } from \"react\";\nimport { useHistory } from \"react-router\";\nimport { client } from \"~/clientInstance\";\nimport { useUrlResolver } from \"../useUrlResolver\";\nimport { SpaceAwareNavigation } from \"./SpaceAwareNavigation\";\nexport function useSpaceAwareNavigation() {\n const history = useHistory();\n const spaceId = client.spaceId ?? undefined;\n const urlResolver = useUrlResolver();\n return useMemo(() => new SpaceAwareNavigation(history, spaceId, urlResolver), [history, spaceId, urlResolver]);\n}\n","import type { Url } from \"@octopusdeploy/portal-routes\";\nimport { useMemo } from \"react\";\nimport { useParams } from \"react-router\";\nimport { client } from \"~/clientInstance\";\nexport function useUrlResolver(): UrlResolver {\n const spaceId = useSpaceId();\n return useMemo(() => ({\n resolve(url: Url): string {\n return url.resolveWithSpaceId(spaceId);\n },\n }), [spaceId]);\n}\nfunction useSpaceId() {\n const { spaceId } = useParams<{\n spaceId?: string;\n }>();\n // The client's spaceId and the route's spaceId should be in sync,\n // but because we haven't modelled this relationship in a reliable way,\n // this is not guaranteed to be true, particularly in tests\n return (spaceId || client.spaceId) ?? null;\n}\nexport interface UrlResolver {\n resolve(url: Url): string;\n}\n","import * as React from \"react\";\nimport { NoResults as NoResultsImage } from \"../Images/NoResults/NoResults\";\nimport styles from \"./NoResults.module.less\";\nexport class NoResults extends React.PureComponent<{}> {\n render() {\n return (
    \n \n
    );\n }\n static displayName = \"NoResults\";\n}\n","import * as React from \"react\";\nimport ConfirmationDialog from \"~/components/Dialog/ConfirmationDialog\";\nimport { BaseComponent } from \"../BaseComponent/BaseComponent\";\ninterface OpenConfirmActionDialogMenuItemProps {\n dialogTitle: string;\n onConfirmActionClick(): Promise | void;\n acceptOnClick?: (onClick: () => void) => void;\n}\ninterface OpenConfirmActionDialogMenuItemState {\n open: boolean;\n}\nexport default class OpenConfirmActionDialogMenuItem extends BaseComponent {\n constructor(props: OpenConfirmActionDialogMenuItemProps) {\n super(props);\n this.state = { open: false };\n }\n onClick = () => {\n this.setState({ open: true });\n };\n render() {\n if (this.props.acceptOnClick) {\n this.props.acceptOnClick(this.onClick);\n }\n return ( this.setState({ open: false })} onContinueClick={() => {\n this.props.onConfirmActionClick();\n this.setState({ open: false });\n }}/>);\n }\n static displayName = \"OpenConfirmActionDialogMenuItem\";\n}\n","import { ActionButton, ActionButtonType } from \"@octopusdeploy/design-system-components\";\nimport classnames from \"classnames\";\nimport type { ReactNode } from \"react\";\nimport * as React from \"react\";\nimport type { DataBaseComponentState, DoBusyTask } from \"~/components/DataBaseComponent/DataBaseComponent\";\nimport { DataBaseComponent } from \"~/components/DataBaseComponent/DataBaseComponent\";\nimport Dialog from \"~/components/Dialog/Dialog\";\nimport { DialogLayout } from \"~/components/DialogLayout/DialogLayout\";\nimport styles from \"./style.module.less\";\ninterface ConfirmUpgradeDialogLayoutProps {\n open: boolean;\n title: string;\n confirmButtonLabel?: string;\n confirmButtonBusyLabel?: string;\n confirmButtonDisabled?: boolean;\n renderContent(doBusyTask: DoBusyTask): ReactNode;\n onConfirmUpgradeClick(): Promise | void;\n onClose(): void;\n}\nclass ConfirmUpgradeDialogLayout extends DataBaseComponent {\n constructor(props: ConfirmUpgradeDialogLayoutProps) {\n super(props);\n this.state = {};\n }\n UNSAFE_componentWillReceiveProps(nextProps: ConfirmUpgradeDialogLayoutProps) {\n if (this.props.open !== nextProps.open) {\n this.clearErrors();\n }\n }\n onConfirmUpgradeClick() {\n return this.doBusyTask(async () => {\n const result = await this.props.onConfirmUpgradeClick();\n if (result) {\n this.props.onClose();\n }\n });\n }\n render() {\n const del = ( this.onConfirmUpgradeClick()}/>);\n const cancel = this.props.onClose()}/>;\n return (} headerClassName={styles.confirmationDialogHeader} busy={this.state.busy} closeDialog={this.props.onClose} errors={this.errors}>\n {this.props.open && this.props.renderContent(this.doBusyTask)}\n );\n }\n static displayName = \"ConfirmUpgradeDialogLayout\";\n}\ntype ConfirmUpgradeDialogProps = ConfirmUpgradeDialogLayoutProps;\n//We need to ensure our dialog layout lives below the `Dialog` in the component hierarchy\n//to ensure busy task errors bubble up to the correct error context as part of `DoBusyTask` usages.\nexport default function ConfirmUpgradeDialog(props: ConfirmUpgradeDialogProps) {\n return (\n \n );\n}\n","import * as React from \"react\";\nimport ConfirmUpgradeDialog from \"~/components/Dialog/ConfirmUpgradeDialog\";\nimport { BaseComponent } from \"../BaseComponent/BaseComponent\";\nimport type { DoBusyTask } from \"../DataBaseComponent/DataBaseComponent\";\ninterface OpenConfirmUpgradeDialogMenuItemProps {\n dialogTitle: string;\n label?: string;\n disabled: boolean;\n confirmButtonLabel?: string;\n confirmButtonBusyLabel?: string;\n confirmButtonDisabled: boolean;\n acceptOnClick?: (onClick: () => void) => void;\n onConfirmUpgradeClick(): Promise | void;\n renderContent(doBusyTask: DoBusyTask): React.ReactNode;\n}\ninterface OpenConfirmUpgradeDialogMenuItemState {\n open: boolean;\n}\nexport default class OpenConfirmUpgradeDialogMenuItem extends BaseComponent {\n constructor(props: OpenConfirmUpgradeDialogMenuItemProps) {\n super(props);\n this.state = { open: false };\n }\n onClick = () => {\n this.setState({ open: true });\n };\n render() {\n if (this.props.acceptOnClick) {\n this.props.acceptOnClick(this.onClick);\n }\n return ( this.setState({ open: false })} onConfirmUpgradeClick={() => this.props.onConfirmUpgradeClick()} renderContent={this.props.renderContent}/>);\n }\n static displayName = \"OpenConfirmUpgradeDialogMenuItem\";\n}\n","import * as React from \"react\";\nimport type { ReactNode } from \"react\";\nimport DeleteDialog from \"~/components/Dialog/DeleteDialog\";\nimport { BaseComponent } from \"../BaseComponent/BaseComponent\";\nimport type { DoBusyTask } from \"../DataBaseComponent/DataBaseComponent\";\ninterface OpenDeleteDialogMenuItemProps {\n dialogTitle: string;\n label?: string;\n disabled: boolean;\n deleteButtonLabel?: string;\n deleteButtonBusyLabel?: string;\n deleteButtonDisabled: boolean;\n acceptOnClick?: (onClick: () => void) => void;\n onDeleteClick(): Promise | Promise;\n renderContent(doBusyTask: DoBusyTask): ReactNode;\n}\ninterface OpenDeleteDialogMenuItemState {\n open: boolean;\n}\nexport default class OpenDeleteDialogMenuItem extends BaseComponent {\n constructor(props: OpenDeleteDialogMenuItemProps) {\n super(props);\n this.state = { open: false };\n }\n onClick = () => {\n this.setState({ open: true });\n };\n render() {\n if (this.props.acceptOnClick) {\n this.props.acceptOnClick(this.onClick);\n }\n return ( this.setState({ open: false })} onDeleteClick={() => this.props.onDeleteClick()} renderContent={this.props.renderContent}/>);\n }\n static displayName = \"OpenDeleteDialogMenuItem\";\n}\n","/* eslint-disable @typescript-eslint/no-explicit-any */\nimport * as React from \"react\";\nimport Dialog from \"~/components/Dialog/Dialog\";\nimport type { OpenDialogProps } from \"~/components/Dialog/OpenDialogConnect\";\nimport { OpenDialogConnect } from \"~/components/Dialog/OpenDialogConnect\";\nimport dialogIdGenerator from \"~/components/Dialog/dialogIdGenerator\";\ninterface RenderDialogProps {\n open: boolean;\n sequence: string;\n}\ninterface OpenDialogMenuItemProps {\n label: string;\n ref?: any;\n renderDialog?: (props: RenderDialogProps) => React.ReactElement;\n acceptOnClick?: (onClick: () => void) => void;\n}\ntype Props = OpenDialogMenuItemProps & OpenDialogProps;\nexport class OpenDialogMenuItemInternal extends React.Component {\n private text: string;\n private uniqueId: string;\n constructor(props: Props) {\n super(props);\n this.text = this.props.label;\n this.uniqueId = dialogIdGenerator.next();\n }\n onClick() {\n this.props.openDialog(this.uniqueId);\n }\n render() {\n if (this.props.acceptOnClick) {\n this.props.acceptOnClick(this.onClick.bind(this));\n }\n return this.props.renderDialog ? this.props.renderDialog({ open: this.props.openDialogs[this.uniqueId], sequence: this.uniqueId }) : {this.props.children};\n }\n static displayName = \"OpenDialogMenuItemInternal\";\n}\nconst OpenDialogMenuItem = OpenDialogConnect.to(OpenDialogMenuItemInternal, true);\nexport default OpenDialogMenuItem;\n","/* eslint-disable @typescript-eslint/no-non-null-assertion */\n/* eslint-disable @typescript-eslint/no-explicit-any */\n/* eslint-disable @typescript-eslint/init-declarations */\n/* eslint-disable @typescript-eslint/consistent-type-assertions */\n/* eslint-disable @octopusdeploy/custom-portal-rules/no-restricted-imports */\nimport { CustomMenu, useMenuState, MenuItemButton, MenuItemDownloadLink, MenuItemInformation, MenuItemInternalLink, IconButton, Divider, MenuItemToggle } from \"@octopusdeploy/design-system-components\";\nimport type { LinkHref } from \"@octopusdeploy/portal-routes\";\nimport { noOp } from \"@octopusdeploy/utilities\";\nimport { flatten, compact } from \"lodash\";\nimport * as React from \"react\";\nimport OpenConfirmActionDialogMenuItem from \"~/components/OverflowMenu/OpenConfirmActionDialogMenuItem\";\nimport OpenDialogMenuItem from \"~/components/OverflowMenu/OpenDialogMenuItem\";\nimport type { DoBusyTask } from \"../DataBaseComponent/DataBaseComponent\";\nimport type { PermissionCheckProps } from \"../PermissionCheck/PermissionCheck\";\nimport { isAllowed } from \"../PermissionCheck/PermissionCheck\";\nimport OpenDeleteDialogMenuItem from \".//OpenDeleteDialogMenuItem\";\nimport OpenConfirmUpgradeDialogMenuItem from \"./OpenConfirmUpgradeDialogMenuItem\";\nimport styles from \"./style.module.less\";\n//Please note that we have some props like tabIndex, className and colorOverride which have been ignored for quite some time now.\nexport const OverflowMenu = ({ menuItems, accessibleName }: OverflowMenuProps) => {\n const [onOpen, menuState, buttonAriaAttributes] = useMenuState();\n const onIconButtonClick: React.MouseEventHandler = React.useCallback((event) => {\n event.preventDefault();\n event.stopPropagation();\n onOpen(event);\n }, [onOpen]);\n return (\n {({ convertedMenuItems, dialogs }) => (<>\n {dialogs}\n {convertedMenuItems && convertedMenuItems.length > 0 && (<>\n \n \n {convertedMenuItems}\n \n )}\n )}\n );\n};\nenum OverflowMenuItemKind {\n Delete,\n Dialog,\n Generic,\n Disabled,\n Navigation,\n Download,\n Remove,\n ConfirmUpgrade,\n ConfirmAction,\n Destructive,\n Toggle\n}\ninterface Item {\n kind: OverflowMenuItemKind;\n}\nexport interface OverflowMenuDialogItem extends Item {\n text: string;\n child: JSX.Element;\n permission?: PermissionCheckProps;\n}\nexport interface OverflowMenuDeleteItem extends Item {\n text: string;\n title: string;\n onClick: () => Promise | Promise;\n content: React.ReactNode;\n permission?: PermissionCheckProps;\n deleteButtonDisabled: boolean;\n}\nexport interface OverflowMenuRemoveItem extends Item {\n text: string;\n title: string;\n onClick: () => Promise | Promise;\n content: React.ReactNode;\n permission?: PermissionCheckProps;\n removeButtonDisabled: boolean;\n}\nexport interface OverflowMenuDestructiveItem extends Item {\n text: string;\n title: string;\n buttonLabel: string;\n busyButtonLabel: string;\n onClick: () => Promise | Promise;\n content: React.ReactNode;\n permission?: PermissionCheckProps;\n destructiveButtonDisable: boolean;\n}\nexport interface OverflowMenuConfirmUpgradeItem extends Item {\n text: string;\n title: string;\n content: React.ReactNode;\n permission?: PermissionCheckProps;\n confirmButtonDisabled: boolean;\n onClick: () => Promise | void;\n}\nexport interface OverflowMenuConfirmActionItem extends Item {\n text: string;\n dialogTitle: string;\n title: string;\n permission?: PermissionCheckProps;\n onClick: () => Promise | void;\n}\nexport interface OverflowMenuNavLink extends Item {\n text: string;\n path: LinkHref;\n permission?: PermissionCheckProps;\n}\nexport interface OverflowMenuDownloadItem extends Item {\n text: string;\n link: string;\n filename: string;\n permission?: PermissionCheckProps;\n}\nexport interface OverflowMenuDisabledItem extends Item {\n text: string;\n reason: string;\n}\nexport interface OverflowMenuGenericItem extends Item {\n text: string;\n title?: string;\n permission?: PermissionCheckProps;\n onClick: () => void;\n}\nexport interface OverflowMenuToggleItem extends Item {\n text: string;\n isEnabled: boolean;\n setIsEnabled: (isEnabled: boolean) => void;\n permission?: PermissionCheckProps;\n}\nexport function isGroup(item: MenuItem | MenuItem[] | null | undefined): item is MenuItem[] {\n return Array.isArray(item as MenuItem[]);\n}\nexport function isOverflowMenuDialogItem(item: MenuItem): item is OverflowMenuDialogItem {\n return (item as OverflowMenuDialogItem).kind === OverflowMenuItemKind.Dialog;\n}\nexport function isOverflowMenuDeleteItem(item: MenuItem): item is OverflowMenuDeleteItem {\n return (item as OverflowMenuDeleteItem).kind === OverflowMenuItemKind.Delete;\n}\nexport function isOverflowMenuDestructiveItem(item: MenuItem): item is OverflowMenuDestructiveItem {\n return (item as OverflowMenuDestructiveItem).kind === OverflowMenuItemKind.Destructive;\n}\nexport function isOverflowMenuRemoveItem(item: MenuItem): item is OverflowMenuRemoveItem {\n return (item as OverflowMenuRemoveItem).kind === OverflowMenuItemKind.Remove;\n}\nexport function isOverflowMenuConfirmUpgradeItem(item: MenuItem): item is OverflowMenuConfirmUpgradeItem {\n return (item as OverflowMenuConfirmUpgradeItem).kind === OverflowMenuItemKind.ConfirmUpgrade;\n}\nexport function isOverflowMenuConfirmActionItem(item: MenuItem): item is OverflowMenuConfirmActionItem {\n return (item as OverflowMenuConfirmActionItem).kind === OverflowMenuItemKind.ConfirmAction;\n}\nexport function isOverflowMenuDownloadItem(item: MenuItem): item is OverflowMenuDownloadItem {\n return (item as OverflowMenuDownloadItem).kind === OverflowMenuItemKind.Download;\n}\nexport function isOverflowMenuNavLink(item: MenuItem): item is OverflowMenuNavLink {\n return (item as OverflowMenuNavLink).kind === OverflowMenuItemKind.Navigation;\n}\nexport function isOverflowMenuDisabledItem(item: MenuItem): item is OverflowMenuDisabledItem {\n return (item as OverflowMenuDisabledItem).kind === OverflowMenuItemKind.Disabled;\n}\nexport function isOverflowMenuToggleItem(item: MenuItem): item is OverflowMenuToggleItem {\n return (item as OverflowMenuToggleItem).kind === OverflowMenuItemKind.Toggle;\n}\nexport function isOverflowMenuGenericItem(item: MenuItem): item is OverflowMenuGenericItem {\n return (item as OverflowMenuGenericItem).kind === OverflowMenuItemKind.Generic;\n}\nexport type MenuItem = OverflowMenuDialogItem | OverflowMenuDeleteItem | OverflowMenuNavLink | OverflowMenuDownloadItem | OverflowMenuGenericItem | OverflowMenuDisabledItem | OverflowMenuRemoveItem | OverflowMenuConfirmUpgradeItem | OverflowMenuToggleItem;\nexport interface ConversionResult {\n menuItem: React.ReactNode;\n dialog?: React.ReactNode;\n}\ninterface OverflowMenuProps {\n menuItems: Array;\n tabIndex?: number;\n colorOverride?: string;\n className?: string;\n accessibleName?: string;\n}\nexport class OverflowMenuItems {\n static defaultConfirmUpgradeText = \"Please note: This is a blocking task and will prevent deployments during the upgrade.\";\n static dialogItem(text: string, child: JSX.Element, permission?: PermissionCheckProps): OverflowMenuDialogItem {\n return { text, child, kind: OverflowMenuItemKind.Dialog, permission };\n }\n static removeItem(text: string, title: string, onClick: () => Promise | Promise, content: React.ReactNode, permission?: PermissionCheckProps, removeButtonDisabled: boolean = false): OverflowMenuRemoveItem {\n return { text, title, onClick, content, permission, kind: OverflowMenuItemKind.Remove, removeButtonDisabled };\n }\n static deleteItem(text: string, title: string, onClick: () => Promise | Promise, content: ((doBusyTask: DoBusyTask) => React.ReactNode) | React.ReactNode, permission?: PermissionCheckProps, deleteButtonDisabled: boolean = false): OverflowMenuDeleteItem {\n return { text, title, onClick, content, permission, kind: OverflowMenuItemKind.Delete, deleteButtonDisabled };\n }\n static deleteItemDefault(name: string, onClick: () => Promise | Promise, permission?: PermissionCheckProps, customMessage?: string, customContent?: JSX.Element, deleteButtonDisabled: boolean = false): OverflowMenuDeleteItem {\n return {\n text: \"Delete\",\n title: `Are you sure you want to delete this ${name}?`,\n onClick,\n permission,\n kind: OverflowMenuItemKind.Delete,\n deleteButtonDisabled,\n content: (
    \n {customMessage &&

    {customMessage}

    }\n {customContent}\n {!deleteButtonDisabled &&

    Do you wish to continue?

    }\n
    ),\n };\n }\n static confirmUpgrade(title: string, onClick: () => Promise | void, permission: PermissionCheckProps, customMessage: React.ReactNode = OverflowMenuItems.defaultConfirmUpgradeText): OverflowMenuConfirmUpgradeItem {\n return {\n text: title,\n title,\n onClick,\n permission,\n kind: OverflowMenuItemKind.ConfirmUpgrade,\n confirmButtonDisabled: false,\n content: (
    \n {customMessage &&

    {customMessage}

    }\n

    Are you sure?

    \n
    ),\n };\n }\n static confirmActionItem(title: string, dialogTitle: string, onClick: () => Promise | void, permission?: PermissionCheckProps): OverflowMenuConfirmActionItem {\n return {\n text: title,\n title,\n dialogTitle,\n onClick,\n permission,\n kind: OverflowMenuItemKind.ConfirmAction,\n };\n }\n static destructiveItem(text: string, title: string, buttonLabel: string, busyButtonLabel: string, onClick: () => Promise | Promise, content: ((doBusyTask: DoBusyTask) => React.ReactNode) | React.ReactNode, permission?: PermissionCheckProps, destructiveButtonDisable: boolean = false): OverflowMenuDestructiveItem {\n return { text, title, buttonLabel, busyButtonLabel, onClick, content, permission, kind: OverflowMenuItemKind.Destructive, destructiveButtonDisable };\n }\n static navItem(text: string, path: LinkHref, permission?: PermissionCheckProps): OverflowMenuNavLink {\n return { text, path: path!, permission, kind: OverflowMenuItemKind.Navigation };\n }\n static disabledItem(text: string, reason: string): OverflowMenuDisabledItem {\n return { text, reason, kind: OverflowMenuItemKind.Disabled };\n }\n static item(text: string, onClick: () => void, permission?: PermissionCheckProps, title?: string): OverflowMenuGenericItem {\n return { text, onClick, permission, kind: OverflowMenuItemKind.Generic, title };\n }\n static downloadItem(text: string, filename: string, link: string) {\n return { text, link, filename, kind: OverflowMenuItemKind.Download };\n }\n static toggleItem(text: string, isEnabled: boolean, setIsEnabled: (isEnabled: boolean) => void, permission?: PermissionCheckProps): OverflowMenuToggleItem {\n return { text, isEnabled, setIsEnabled, permission, kind: OverflowMenuItemKind.Toggle };\n }\n}\nexport interface OverflowMenuItemsRendererProps {\n menuItems: Array;\n onClose: () => void;\n children: (renderProps: {\n convertedMenuItems: React.ReactNode[];\n dialogs: React.ReactNode;\n }) => React.ReactElement | null;\n}\nexport const OverflowMenuItemsRenderer: React.FC = (props) => {\n const renderProps = OverflowConversions.convertAll(props.menuItems, props.onClose);\n return props.children(renderProps);\n};\nOverflowMenuItemsRenderer.displayName = \"OverflowMenuItemsRenderer\"\nclass OverflowConversions {\n static convert(item: MenuItem | null | undefined, onClose: () => void): ConversionResult | null {\n if (!item) {\n return null;\n }\n if (isOverflowMenuDialogItem(item)) {\n if (item.permission && !isAllowed(item.permission)) {\n return OverflowConversions.alternate(item.permission.alternate);\n }\n return OverflowConversions.convertDialogMenuItem(item);\n }\n if (isOverflowMenuDeleteItem(item)) {\n if (item.permission && !isAllowed(item.permission)) {\n return OverflowConversions.alternate(item.permission.alternate);\n }\n return OverflowConversions.convertDeleteMenuItem(item);\n }\n if (isOverflowMenuRemoveItem(item)) {\n if (item.permission && !isAllowed(item.permission)) {\n return OverflowConversions.alternate(item.permission.alternate);\n }\n return OverflowConversions.convertRemoveMenuItem(item);\n }\n if (isOverflowMenuConfirmUpgradeItem(item)) {\n if (item.permission && !isAllowed(item.permission)) {\n return OverflowConversions.alternate(item.permission.alternate);\n }\n return OverflowConversions.convertConfirmUpgradeMenuItem(item);\n }\n if (isOverflowMenuConfirmActionItem(item)) {\n if (item.permission && !isAllowed(item.permission)) {\n return OverflowConversions.alternate(item.permission.alternate);\n }\n return OverflowConversions.convertConfirmActionMenuItem(item);\n }\n if (isOverflowMenuDownloadItem(item)) {\n if (item.permission && !isAllowed(item.permission)) {\n return OverflowConversions.alternate(item.permission.alternate);\n }\n return {\n menuItem: ,\n };\n }\n if (isOverflowMenuNavLink(item)) {\n if (item.permission && !isAllowed(item.permission)) {\n return OverflowConversions.alternate(item.permission.alternate);\n }\n return {\n menuItem: ,\n };\n }\n if (isOverflowMenuDisabledItem(item)) {\n return {\n menuItem: (\n {item.text}\n ),\n };\n }\n if (isOverflowMenuGenericItem(item)) {\n if (item.permission && !isAllowed(item.permission)) {\n return this.alternate(item.permission.alternate);\n }\n }\n if (isOverflowMenuDestructiveItem(item)) {\n if (item.permission && !isAllowed(item.permission)) {\n return OverflowConversions.alternate(item.permission.alternate);\n }\n return OverflowConversions.convertDestructiveMenuItem(item);\n }\n if (isOverflowMenuToggleItem(item)) {\n if (item.permission && !isAllowed(item.permission)) {\n return OverflowConversions.alternate(item.permission.alternate);\n }\n return {\n menuItem: ,\n };\n }\n return {\n menuItem: ( {\n //Generic menu items could possibly keep focus so we explicitly close these.\n onClose();\n if (item.onClick) {\n //If explicitlyhandling click, we really should prevent default behaviors such as links triggering\n e.preventDefault();\n item.onClick();\n }\n }} title={item.title}>\n {item.text}\n ),\n };\n }\n static convertAll(sourceMenuItems: Array, onClose: () => void) {\n if (!sourceMenuItems) {\n return {\n dialogs: [],\n convertedMenuItems: [],\n };\n }\n const result = sourceMenuItems &&\n sourceMenuItems\n .filter((item) => !!item)\n .map((item, index) => {\n if (isGroup(item)) {\n const results = item.filter((subItem) => !!subItem).map((groupItem) => OverflowConversions.convert(groupItem, onClose));\n if (results.length === 0) {\n return null;\n }\n // This should be smart enough to know if it needs to add a divider at the start or end of a grouping/array.\n if (index > 0 && !isGroup(sourceMenuItems[index - 1])) {\n // Show the divider at the start of this grouping.\n // I.e. The last thing wasn't a group, so we're good to create one here to indicate the start of a grouping.\n results.splice(0, 0, { menuItem: });\n }\n else if (index < sourceMenuItems.length - 1) {\n // Show the divider at the end of this grouping.\n results.push({ menuItem: });\n }\n return results;\n }\n return [OverflowConversions.convert(item, onClose)];\n });\n const dialogs: React.ReactNode[] = [];\n const convertedMenuItems = compact(flatten(result)).map((r) => {\n if (r.dialog) {\n dialogs.push(r.dialog);\n }\n return r.menuItem;\n });\n return { dialogs, convertedMenuItems };\n }\n static convertDeleteMenuItem(item: OverflowMenuDeleteItem) {\n let openDialog: () => void;\n const dialogMenuItem = ( (openDialog = click)} label={item.text} disabled={false} deleteButtonDisabled={item.deleteButtonDisabled} dialogTitle={item.title} key={item.text} onDeleteClick={item.onClick} renderContent={(doBusyTask: DoBusyTask) => {\n if (typeof item.content === \"function\") {\n return item.content(doBusyTask);\n }\n return item.content;\n }}/>);\n return {\n menuItem: ( (openDialog ? openDialog() : noOp())}>\n {item.text}\n ),\n dialog: dialogMenuItem,\n };\n }\n static convertRemoveMenuItem(item: OverflowMenuRemoveItem) {\n let openDialog: () => void;\n const dialogMenuItem = ( (openDialog = click)} label={item.text} disabled={false} deleteButtonDisabled={item.removeButtonDisabled} dialogTitle={item.title} deleteButtonLabel=\"Remove\" deleteButtonBusyLabel=\"Removing\" key={item.text} onDeleteClick={item.onClick} renderContent={() => item.content}/>);\n return {\n menuItem: ( (openDialog ? openDialog() : noOp())}>\n {item.text}\n ),\n dialog: dialogMenuItem,\n };\n }\n static convertDestructiveMenuItem(item: OverflowMenuDestructiveItem) {\n let openDialog: () => void;\n const dialogMenuItem = ( (openDialog = click)} label={item.text} disabled={false} deleteButtonDisabled={item.destructiveButtonDisable} dialogTitle={item.title} deleteButtonLabel={item.buttonLabel} deleteButtonBusyLabel={item.busyButtonLabel} key={item.text} onDeleteClick={item.onClick} renderContent={() => item.content}/>);\n return {\n menuItem: ( (openDialog ? openDialog() : noOp())}>\n {item.text}\n ),\n dialog: dialogMenuItem,\n };\n }\n static convertConfirmUpgradeMenuItem(item: OverflowMenuConfirmUpgradeItem) {\n let openDialog: () => void;\n const dialogMenuItem = ( (openDialog = click)} label={item.text} disabled={false} dialogTitle={item.title} confirmButtonDisabled={item.confirmButtonDisabled} confirmButtonLabel=\"Continue\" confirmButtonBusyLabel=\"Continuing\" key={item.text} onConfirmUpgradeClick={() => item.onClick()} renderContent={() => item.content}/>);\n return {\n menuItem: ( (openDialog ? openDialog() : noOp())}>\n {item.text}\n ),\n dialog: dialogMenuItem,\n };\n }\n static convertConfirmActionMenuItem(item: OverflowMenuConfirmActionItem) {\n let openDialog: () => void;\n const dialogMenuItem = (openDialog = click)} dialogTitle={item.dialogTitle} key={item.text} onConfirmActionClick={() => item.onClick()}/>;\n return {\n menuItem: ( (openDialog ? openDialog() : noOp())}>\n {item.text}\n ),\n dialog: dialogMenuItem,\n };\n }\n static convertDialogMenuItem(item: OverflowMenuDialogItem) {\n let openDialog: () => void;\n //TODO: Find an alternative to this callback to get the click handler which doesn't result in overflow menus remaining open etc.\n const dialogMenuItem = ( {\n openDialog = click;\n }} label={item.text} key={item.text}>\n {item.child}\n );\n return {\n menuItem: ( (openDialog ? openDialog() : noOp())}>\n {item.text}\n ),\n dialog: dialogMenuItem,\n };\n }\n static alternate(alternate: string) {\n return alternate ? { menuItem: {alternate} } : null;\n }\n}\n","import { css, cx } from \"@emotion/css\";\nimport { LinearProgress } from \"@octopusdeploy/design-system-components\";\nimport { space } from \"@octopusdeploy/design-system-tokens\";\nimport * as React from \"react\";\nimport { PagingControlButton } from \"~/components/Button/index\";\nimport StringHelper from \"../../utils/StringHelper/index\";\ninterface NumberedPagingBarProps {\n totalItems: number;\n currentPageIndex: number;\n pageSize: number;\n loadingMore?: boolean;\n onPageSelected(skip: number, p: number): Promise | void;\n}\ninterface Page {\n index: number;\n isActive: boolean;\n skip: number;\n number: string;\n}\nfunction NumberedPagingBar(props: NumberedPagingBarProps) {\n if (props.totalItems <= props.pageSize) {\n return null;\n }\n const currentPageIndex = props.currentPageIndex;\n const totalPages = props.totalItems === 0 ? 1 : Math.ceil(props.totalItems / props.pageSize);\n const pages: Page[] = [];\n function addPage(i: number, text: string) {\n const page = {\n index: i,\n isActive: currentPageIndex === i,\n skip: i * props.pageSize,\n number: text,\n };\n pages.push(page);\n }\n const pagesToShow = 16;\n const halfPagesToShow = 8;\n let isStartCollapsed = false;\n let isEndCollapsed = false;\n if (totalPages > 0) {\n addPage(0, \"<<\");\n }\n for (let i = 0; i < totalPages; i++) {\n const skip = !(totalPages < pagesToShow || (i - currentPageIndex < halfPagesToShow && i - currentPageIndex > -halfPagesToShow));\n if (skip && i < currentPageIndex && !isStartCollapsed) {\n addPage(Math.max(currentPageIndex - pagesToShow, 0), StringHelper.ellipsis);\n isStartCollapsed = true;\n }\n if (!skip) {\n addPage(i, String(i + 1));\n }\n if (skip && i > currentPageIndex && !isEndCollapsed) {\n addPage(Math.min(currentPageIndex + pagesToShow, totalPages - 1), StringHelper.ellipsis);\n isEndCollapsed = true;\n }\n }\n if (totalPages > 0) {\n addPage(totalPages - 1, \">>\");\n }\n const pagingComponents = pages.map((page, i) => props.onPageSelected(page.skip, page.index)}/>);\n const classes = cx(pagingControlContainerStyles, { [disabledPagingEventsStyles]: props.loadingMore });\n return (\n {totalPages > 1 && (
    \n
    {pagingComponents}
    \n {props.loadingMore && }\n
    )}\n
    );\n}\nconst pagingControlContainerStyles = css({\n margin: `${space[24]} ${space[16]}`,\n});\nconst disabledPagingEventsStyles = css({\n pointerEvents: \"none\",\n});\nNumberedPagingBar.displayName = \"NumberedPagingBar\";\nexport default NumberedPagingBar;\n","/* eslint-disable @typescript-eslint/no-non-null-assertion */\n/* eslint-disable @typescript-eslint/no-explicit-any */\n/* eslint-disable no-eq-null */\n/* eslint-disable @typescript-eslint/consistent-type-assertions */\nimport { CircularProgress, LinearProgress, ActionButton, ActionButtonType } from \"@octopusdeploy/design-system-components\";\nimport type { ResourceCollection, PagingCollection } from \"@octopusdeploy/octopus-server-client\";\nimport type { LinkHref } from \"@octopusdeploy/portal-routes\";\nimport { each } from \"lodash\";\nimport * as React from \"react\";\nimport { client } from \"~/clientInstance\";\nimport BaseComponent from \"~/components/BaseComponent\";\nimport FilterSearchBox from \"~/components/FilterSearchBox/FilterSearchBox\";\nimport { Section } from \"~/components/Section/Section\";\nimport { createGlobalRequestContext } from \"~/globalRequestContext\";\nimport { timeOperation, timeOperationOptions } from \"~/utils/OperationTimer/timeOperation\";\nimport RequestRaceConditioner from \"~/utils/RequestRaceConditioner\";\nimport NumberedPagingBar from \"./NumberedPagingBar\";\nimport styles from \"./style.module.less\";\nexport interface HasId {\n Id: string;\n}\nexport interface PagingPage {\n index: number;\n isActive: boolean;\n skip: number;\n number: string;\n}\nexport interface PagingBaseProps {\n showFilterWithinSection?: boolean;\n filterHintText?: string;\n filterSearchEnabled?: boolean; // Filtering/searching is opt-in. Search will only show if you supply `apiSearchParams` also.\n autoFocusOnFilterSearch?: boolean;\n apiSearchParams?: string[]; // Various endpoints may support one or more search-specific parameters. eg. Search by \"partialName\" and/or \"packageVersion\".\n // ^ This guides what we do with our keywordSearch parameter onSearch.\n additionalRequestParams?: Map; // For any additional parameters you need to supply to the request.\n showPagingInNumberedStyle?: boolean; // Lets you toggle between the numbered paging controls vs the 'load more' style.\n initialData?: ResourceCollection | PagingCollection; // List may internally mutate the data during paging, so this gets passed to state.\n currentPageIndex?: number; // Only use this if you want to manage paging yourself, otherwise this is handled automatically.\n pageSize?: number; // Allows user to set a custom page size that's different from the API default.\n onLoadMore?(): Promise; // Only specify this if you want to override the default 'load more' behaviour.\n onPageSelected?(skip: number, p: number): Promise; // Only specify this if you want to override the default 'paging' behaviour.\n onSearch?(keywordSearch: string): Promise; // This will trigger an API search (using the `apiSearchParams` you've told it to).\n onFilter?(filter: string, item: R): boolean; // Filtering only occurs on the data we have in memory (different to search).\n onNewItems?(items: R[]): Promise; // Manipulate new items before they are added to the new state.\n onRow(item: R): React.ReactNode;\n onRowRedirectUrl?(item: R): LinkHref | null;\n}\nexport interface PagingBaseState {\n filter: string;\n keywordSearch: string;\n isShowingSearchResults: boolean;\n loadingMore: boolean;\n isSearching: boolean;\n redirectTo: LinkHref;\n data?: ResourceCollection | PagingCollection;\n currentPageIndex?: number;\n itemsPerPage?: number;\n}\n/**\n * @deprecated This component is deprecated and will be removed in a future release.\n */\nexport abstract class PagingBaseComponent, State extends PagingBaseState> extends BaseComponent {\n private requestRaceConditioner = new RequestRaceConditioner();\n constructor(props: Props) {\n super(props);\n this.onFilter = props.onFilter || this.onFilter;\n this.provideErrorHandling(this.onLoadMore);\n this.provideErrorHandling(this.onPageSelected);\n this.provideErrorHandling(this.onSearch);\n this.state = {\n ...this.state, //Appease the TS typing gods.\n filter: \"\",\n keywordSearch: \"\",\n isShowingSearchResults: false,\n loadingMore: true,\n isSearching: false,\n currentPageIndex: this.props.currentPageIndex ? this.props.currentPageIndex : 0,\n itemsPerPage: this.props.pageSize ?? this.props.initialData!.ItemsPerPage, // Uses the default returned by the API. Do not hardcode this or there\n // can be mismatches between the first and subsequent pages.\n };\n }\n async componentDidMount() {\n if (this.state.data != null) {\n return;\n }\n const initialData = this.props.initialData;\n if (this.props.onNewItems) {\n const onNewItems = this.props.onNewItems;\n const updatedItems = await timeOperation(timeOperationOptions.for(\"OnNewItems\"), () => onNewItems(initialData!.Items));\n initialData!.Items = updatedItems || [];\n }\n this.setState({\n data: initialData,\n loadingMore: false,\n });\n }\n UNSAFE_componentWillReceiveProps(nextProps: Props) {\n if (this.props.initialData !== nextProps.initialData) {\n this.setState({\n data: nextProps.initialData,\n loadingMore: false,\n currentPageIndex: this.props.currentPageIndex ? this.props.currentPageIndex : 0,\n });\n }\n if (this.props.pageSize !== nextProps.pageSize) {\n this.setState({ itemsPerPage: nextProps.pageSize });\n }\n }\n isResourceCollection(collection: ResourceCollection | PagingCollection | undefined): collection is ResourceCollection {\n return (collection as ResourceCollection).Links !== undefined;\n }\n protected onFilter: (filter: string, item: R) => boolean = (_) => true;\n protected onLoadMore = () => timeOperation(timeOperationOptions.for(\"LoadMore\"), async () => {\n this.setState({ loadingMore: true });\n try {\n // Have they provided an override?\n if (this.props.onLoadMore != null) {\n await this.props.onLoadMore();\n return;\n }\n if (!this.isResourceCollection(this.state.data)) {\n return;\n }\n const nextPageIndex = this.state.currentPageIndex! + 1;\n this.setState({\n currentPageIndex: nextPageIndex,\n });\n const skip = nextPageIndex * this.state.itemsPerPage!;\n const requestUri = this.state.data.Links[\"Template\"];\n let requestParams = {\n // Don't skip, just increase the take size.\n take: skip + this.state.itemsPerPage!,\n };\n requestParams = this.addCommonRequestParameters(requestParams);\n await this.requestRaceConditioner.avoidStaleResponsesForRequest(client.get>(createGlobalRequestContext(\"None\", { component: \"PagingBaseComponent\", operation: \"Load more\" }), requestUri, requestParams), async (response) => {\n if (this.props.onNewItems) {\n const updatedItems = await this.props.onNewItems(response.Items);\n response.Items = updatedItems || [];\n }\n this.setState({\n data: response,\n });\n });\n }\n finally {\n this.setState({ loadingMore: false });\n }\n });\n protected onPageSelected = async (skip: number, p: number) => {\n if (this.state.data) {\n this.setState({ loadingMore: true });\n try {\n // Have they provided an override?\n if (this.props.onPageSelected != null) {\n await this.props.onPageSelected(skip, p);\n this.setState({\n currentPageIndex: p,\n });\n return;\n }\n if (!this.isResourceCollection(this.state.data)) {\n return;\n }\n const requestUri = this.state.data.Links[\"Template\"];\n let requestParams = {\n skip,\n take: this.state.itemsPerPage,\n };\n requestParams = this.addCommonRequestParameters(requestParams);\n await this.requestRaceConditioner.avoidStaleResponsesForRequest(client.get>(createGlobalRequestContext(\"None\", { component: \"PagingBaseComponent\", operation: \"Select page\" }), requestUri, requestParams), async (response) => {\n if (this.props.onNewItems) {\n const updatedItems = await this.props.onNewItems(response.Items);\n response.Items = updatedItems || [];\n }\n this.setState({\n data: response!,\n currentPageIndex: p!,\n });\n });\n }\n finally {\n this.setState({ loadingMore: false });\n }\n }\n };\n protected onSearch = async (keywordSearch: any) => {\n this.setState({ keywordSearch, filter: keywordSearch, isSearching: true }, async () => {\n await this.onPageSelected(0, 0); // New search should reset to page 0.\n // Now figure out if we're searching (or have cleared our search).\n let isShowingSearchResults = true;\n if (!keywordSearch) {\n isShowingSearchResults = false;\n }\n this.setState({ isShowingSearchResults, isSearching: false });\n });\n };\n protected renderFilterSearchBox() {\n if (!this.props.filterSearchEnabled) {\n return null;\n }\n // We switch between a search box that either \"filters\" or \"searches\". ie. Filtering data in-line vs searching the API.\n const needToShowSearch = this.state.isShowingSearchResults || this.state.data!.Items.length < this.state.data!.TotalResults;\n const searchBoxHintText = this.props.filterHintText || (this.props.filterSearchEnabled && !needToShowSearch ? \"Filter...\" : \"Search...\");\n return (
    \n this.onFilterSearch(keyword)}/>\n {this.props.filterSearchEnabled && needToShowSearch && this.props.apiSearchParams && this.props.apiSearchParams.length > 0 && this.state.isSearching && }\n
    );\n }\n protected async onFilterSearch(keyword: string) {\n const needToShowSearch = this.state.isShowingSearchResults || this.state.data!.Items.length < this.state.data!.TotalResults;\n if (this.props.filterSearchEnabled && !needToShowSearch) {\n this.setState({ filter: keyword });\n }\n else {\n await this.onSearch(keyword);\n }\n }\n protected renderFilterSearchComponents() {\n if (!this.props.filterSearchEnabled) {\n return null;\n }\n return this.props.showFilterWithinSection ?
    {this.renderFilterSearchBox()}
    : this.renderFilterSearchBox();\n }\n protected showPagingInNumberedStyle() {\n const data = this.state.data;\n return this.onPageSelected(s, p)}/>;\n }\n protected showPagingInLoadMoreStyle() {\n return (
    \n
    \n {!this.state.loadingMore && (\n this.onLoadMore()}/>\n
    Or use filters to narrow the search results
    \n
    )}\n {this.state.loadingMore && }\n
    \n
    );\n }\n protected navigate(item: R) {\n const redirectTo = getNavigationUrl(this.props, item);\n if (!redirectTo) {\n return;\n }\n this.setState({ redirectTo });\n }\n private addCommonRequestParameters(requestParams: any) {\n // If a keywordSearch has been provided, supply it for all potential apiSearchParams.\n // Eg. Some APIs have filters for both \"name\", \"description\" and \"packageVersion\" etc. So this lets us\n // quickly search them all for the given keyword.\n if (this.state.keywordSearch) {\n each(this.props.apiSearchParams, (param) => {\n requestParams[param] = this.state.keywordSearch;\n });\n }\n // Consumers may want to supply additional request params for filters etc.\n if (this.props.additionalRequestParams) {\n this.props.additionalRequestParams.forEach((value: any, key: string) => {\n requestParams[key] = value; // Do not encodeURIComponent here. That is the responsibility of our client's url resolving code.\n });\n }\n return requestParams;\n }\n static displayName = \"PagingBaseComponent\";\n}\nfunction getNavigationUrl({ onRowRedirectUrl }: {\n onRowRedirectUrl?(item: R): LinkHref | null;\n}, item: R): LinkHref | null {\n return onRowRedirectUrl?.(item) ?? null;\n}\nexport { getNavigationUrl };\n","import { css } from \"@emotion/css\";\nimport { useOctopusLinkComponent } from \"@octopusdeploy/design-system-components\";\nimport type { LinkHref } from \"@octopusdeploy/portal-routes\";\nimport * as React from \"react\";\ninterface ListInternalLinkProps extends React.PropsWithChildren<{}> {\n href: LinkHref;\n accessibleName?: string;\n}\nexport function ListInternalLink({ accessibleName, href, children }: ListInternalLinkProps) {\n const OctopusLink = useOctopusLinkComponent();\n return (\n {children}\n );\n}\nconst listInternalLinkStyles = css({\n color: \"inherit\",\n width: \"100%\",\n height: \"100%\",\n display: \"block\",\n \"&:hover\": {\n color: \"inherit\",\n },\n});\n","/* eslint-disable @typescript-eslint/no-non-null-assertion */\nimport { css, cx } from \"@emotion/css\";\nimport { List, ListItem } from \"@octopusdeploy/design-system-components\";\nimport { space } from \"@octopusdeploy/design-system-tokens\";\nimport type { LinkHref } from \"@octopusdeploy/portal-routes\";\nimport * as React from \"react\";\nimport FilterSearchBox from \"~/components/FilterSearchBox/FilterSearchBox\";\nimport { NoResults } from \"~/components/NoResults/NoResults\";\nimport NumberedPagingBar from \"../PagingBaseComponent/NumberedPagingBar\";\nimport { getNavigationUrl } from \"../PagingBaseComponent/PagingBaseComponent\";\nimport { Section } from \"../Section/Section\";\nimport { ListInternalLink } from \"./ListInternalLink\";\ninterface SimpleListProps {\n empty?: React.ReactNode;\n items: R[];\n filterHintText?: string;\n autoFocusOnFilterSearch?: boolean;\n pageSize?: number;\n listClassName?: string;\n selectedIndex?: number;\n hideItemPadding?: boolean;\n onRow(item: R, index: number): React.ReactNode;\n onRowRedirectUrl?(item: R): LinkHref | null;\n onFilter?(filter: string, item: R): boolean;\n onRowKey?: (item: R) => string;\n includeRowGaps?: boolean;\n}\ninterface SimplePagingListState {\n filter?: string;\n currentPageIndex: number;\n}\n//eslint-disable-next-line react/no-unsafe\nexport abstract class SimplePagingList extends React.Component, SimplePagingListState> {\n constructor(props: SimpleListProps) {\n super(props);\n this.state = { currentPageIndex: 0 };\n }\n UNSAFE_componentWillReceiveProps(nextProps: SimpleListProps) {\n if (nextProps.pageSize) {\n const newLastPageIndex = nextProps.items.length === 0 ? 1 : Math.ceil(nextProps.items.length / nextProps.pageSize);\n if (newLastPageIndex < this.state.currentPageIndex) {\n this.setState({ currentPageIndex: newLastPageIndex });\n }\n }\n }\n onFilter(item: R): boolean {\n const filter = this.state.filter;\n if (!filter || filter === \"\" || !this.props.onFilter) {\n return true;\n }\n return this.props.onFilter(this.state.filter!, item);\n }\n render() {\n if (!this.props.items) {\n return null;\n }\n let filteredList = this.props.items.filter((item) => this.onFilter(item));\n const filteredListCount = filteredList.length;\n if (this.props.pageSize) {\n const firstItemIndex = this.props.pageSize * this.state.currentPageIndex;\n filteredList = filteredList.slice(firstItemIndex, firstItemIndex + this.props.pageSize);\n }\n return (<>\n {this.props.onFilter && this.renderFilterSearchComponents()}\n {this.props.empty} : } items={filteredList} renderRow={({ item, index }) => this.buildItem(item, index)} rowKey={this.props.onRowKey}/>\n {this.props.pageSize && ( this.setState({ currentPageIndex })}/>)}\n );\n }\n private buildItem(item: R, index: number) {\n return (\n \n {this.props.onRow(item, index)}\n \n );\n }\n private renderFilterSearchComponents() {\n return (
    \n this.setState({ filter, currentPageIndex: 0 })} autoFocus={this.props.autoFocusOnFilterSearch}/>\n
    );\n }\n static displayName = \"SimplePagingList\";\n}\ntype SimpleListItemContentProps = {\n includeItemPadding: boolean;\n};\nfunction SimpleListItemContent({ children, includeItemPadding = true }: React.PropsWithChildren) {\n return
    {children}
    ;\n}\nconst simpleListItemContentStyles = css({\n lineHeight: \"16px\",\n fontSize: \"0.875rem\",\n});\nconst simpleListItemContentPaddingStyles = css({\n padding: space[16],\n});\nfunction NavigateListItemContent({ item, onRowAccessibleName, onRowRedirectUrl, children }: React.PropsWithChildren<{\n item: T;\n onRowAccessibleName?: (item: T) => string;\n onRowRedirectUrl?: (item: T) => LinkHref | null;\n}>) {\n const accessibleName = onRowAccessibleName?.(item);\n const redirectUrl = getNavigationUrl({ onRowRedirectUrl }, item);\n if (redirectUrl) {\n // Make these actual href links, so people can still right-click > open new window (this is expected usability for things you can click).\n return (\n {children}\n );\n }\n return <>{children};\n}\n","/* eslint-disable @typescript-eslint/no-non-null-assertion */\nimport type { ProjectResource } from \"@octopusdeploy/octopus-server-client\";\nimport { IsDefaultBranch, Permission } from \"@octopusdeploy/octopus-server-client\";\nimport * as React from \"react\";\nimport { isRunningInAFunctionalTest } from \"~/utils/isRunningInAFunctionalTest\";\nimport { repository, session } from \"../../clientInstance\";\nexport interface PermissionCheckProps {\n permission: Permission | Permission[];\n children?: React.ReactNode;\n //eslint-disable-next-line @typescript-eslint/no-explicit-any\n alternate?: any;\n project?: string;\n tenant?: string;\n environment?: string;\n projectGroup?: string;\n wildcard?: boolean;\n render?: () => JSX.Element;\n spaceScope?: SpaceScope;\n}\nconst PermissionCheck: React.SFC = ({ render, spaceScope, ...props }) => {\n const allowed = isAllowed(props, spaceScope);\n const alternate = props.alternate || null;\n const children = props.children || null;\n if (render) {\n return allowed ? render() : alternate;\n }\n const renderChildren = () => (children && typeof children === \"function\" ? children() : children);\n return <>{allowed ? renderChildren() : alternate};\n};\nPermissionCheck.displayName = \"PermissionCheck\"\nexport function hasPermission(permission: Permission) {\n return isAllowed({ permission, wildcard: true });\n}\ntype SpaceScope = \"system\" | \"implicit\" | {\n spaceId: string;\n};\ninterface IsAllowedCheck {\n permission: Permission | Permission[];\n project?: string;\n tenant?: string;\n environment?: string;\n projectGroup?: string;\n wildcard?: boolean;\n}\nexport function isAllowed(props: IsAllowedCheck, spaceScope: SpaceScope = \"implicit\") {\n const spaceId: string | null = spaceScope === \"system\" ? null : spaceScope === \"implicit\" ? repository.spaceId! : spaceScope.spaceId;\n return isAllowedForSpace(spaceId, props);\n}\nfunction isAllowedForSpace(spaceId: string | null, props: IsAllowedCheck) {\n const pid: string = props.project || (props.wildcard ? \"*\" : null!);\n const eid: string = props.environment || (props.wildcard ? \"*\" : null!);\n const gid: string = props.projectGroup || (props.wildcard ? \"*\" : null!);\n const tid: string = props.tenant || (props.wildcard ? \"*\" : null!);\n const permissions = props.permission instanceof Array ? props.permission : [props.permission];\n const checks: boolean[] = permissions.map((p) => {\n return getCurrentPermissions().scopeToSpaceAndSystem(spaceId).isAuthorized({\n permission: p,\n projectId: pid,\n environmentId: eid,\n projectGroupId: gid,\n tenantId: tid,\n });\n });\n return checks.some((x) => x);\n}\nexport const isAllowedToRunGitRunbook = (project?: ProjectResource, gitRef?: string) => {\n if (!project) {\n throw new Error(\"Project is required to check permissions for running a Git Runbook.\");\n }\n if (IsDefaultBranch(project.PersistenceSettings, gitRef)) {\n return isAllowed({ permission: Permission.RunbookRunCreate, project: project.Id, wildcard: true });\n }\n return isAllowed({ permission: Permission.RunbookRunCreate, project: project.Id, wildcard: true }) && isAllowed({ permission: Permission.RunbookEdit, project: project.Id, wildcard: true });\n};\nexport function firstAuthorized(permissions: Permission[]): Permission {\n return getCurrentPermissions().scopeToSpaceAndSystem(repository.spaceId).firstAuthorized(permissions)!;\n}\nexport function getCurrentPermissions() {\n const currentPermissions = session.currentPermissions;\n if (!currentPermissions) {\n const extraContextForFunctionalTests = \" In your Functional Test, use `setupGlobals` to establish the session and refresh permissions, or call `setupGlobals.all(...)`.\" +\n \" For more information, see https://github.com/OctopusDeploy/OctopusDeploy/blob/master/frontend/docs/functional_tests.md#globalambient-context`\";\n const errorMessage = `The session has not been established with permissions.${isRunningInAFunctionalTest() ? extraContextForFunctionalTests : \"\"}`;\n throw new Error(errorMessage);\n }\n return currentPermissions;\n}\nexport default PermissionCheck;\n","export function isRunningInAFunctionalTest() {\n return process?.env?.JEST_WORKER_ID !== undefined;\n}\n","import cn from \"classnames\";\nimport * as React from \"react\";\nimport styles from \"./style.module.less\";\nexport enum SectionHeadingType {\n Heading1,\n Heading2,\n Heading3,\n Heading4\n}\ninterface SectionProps {\n className?: string;\n sectionHeader?: string;\n headingType?: SectionHeadingType;\n bodyClassName?: string;\n}\nexport class Section extends React.Component {\n render() {\n return (
    \n {this.renderSectionHeading()}\n
    {this.props.children}
    \n
    );\n }\n private renderSectionHeading() {\n if (!this.props.sectionHeader) {\n return null;\n }\n switch (this.props.headingType) {\n case SectionHeadingType.Heading1:\n return

    {this.props.sectionHeader}

    ;\n case SectionHeadingType.Heading2:\n return

    {this.props.sectionHeader}

    ;\n case SectionHeadingType.Heading3:\n return

    {this.props.sectionHeader}

    ;\n default:\n return

    {this.props.sectionHeader}

    ;\n }\n }\n static displayName = \"Section\";\n}\n","import { Section } from \"./Section\";\nexport default Section;\n","/* eslint-disable @typescript-eslint/no-explicit-any */\n/* eslint-disable @typescript-eslint/init-declarations */\n/* eslint-disable @typescript-eslint/consistent-type-assertions */\n// https://codepen.io/brian-baum/pen/mJZxJX\nconst SmoothScroll = {\n timer: null as any,\n stop() {\n clearTimeout(this.timer);\n },\n scrollTo(node: any) {\n const settings = {\n duration: 600,\n easing: {\n outQuint: (x: number, t: number, b: number, c: number, d: number) => {\n return c * ((t = t / d - 1) * t * t * t * t + 1) + b;\n },\n },\n };\n const nodeTop = node.offsetTop;\n const nodeHeight = node.offsetHeight;\n const body = document.body;\n const html = document.documentElement;\n const height = Math.max(body.scrollHeight, body.offsetHeight, html.clientHeight, html.scrollHeight, html.offsetHeight);\n const windowHeight = window.innerHeight;\n const offset = window.pageYOffset;\n const delta = nodeTop - offset;\n const bottomScrollableY = height - windowHeight;\n const targetY = bottomScrollableY < delta ? bottomScrollableY - (height - nodeTop - nodeHeight + offset) : delta;\n const startTime = Date.now();\n let percentage = 0;\n if (this.timer) {\n clearInterval(this.timer);\n }\n function step(this: any) {\n let yScroll;\n const elapsed = Date.now() - startTime;\n if (elapsed > settings.duration) {\n clearTimeout(this.timer);\n }\n percentage = elapsed / settings.duration;\n if (percentage > 1) {\n clearTimeout(this.timer);\n }\n else {\n yScroll = settings.easing.outQuint(0, elapsed, offset, targetY, settings.duration);\n window.scrollTo(0, yScroll);\n if (this) {\n this.timer = setTimeout(step, 10);\n }\n }\n }\n this.timer = setTimeout(step, 10);\n },\n};\nexport default SmoothScroll;\n","import { colorScales } from \"@octopusdeploy/design-system-tokens\";\nexport interface OctopusTheme {\n // Constants\n whiteConstant: string;\n blackConstant: string;\n cyanConstant: string;\n transparent: string;\n // Paper\n paper0: string;\n paper1: string;\n paper2: string;\n paper3: string;\n // Text\n primaryText: string;\n secondaryText: string;\n ternaryText: string;\n highlightText: string;\n highlightTextBackground: string;\n // Text links\n linkText: string;\n linkTextHover: string;\n sideMenuHover: string;\n sideMenuNestedText: string;\n sidebarMenuSelectedText: string;\n // Nav\n navBackground: string;\n navItemHover: string;\n navItemActive: string;\n navText: string;\n navTextHover: string;\n navTextActive: string;\n spaceMenuBackground: string;\n spaceMenuText: string;\n // Tabs\n tabActiveIndicator: string;\n // Buttons\n primaryButtonBackground: string;\n primaryButtonText: string;\n secondaryButtonBackground: string;\n secondaryButtonText: string;\n ternaryButton: string;\n ternaryButtonHover: string;\n categoryButtonBackground: string;\n disabledButtonBorder: string;\n disabledButtonBackground: string;\n disabledButtonText: string;\n createReleaseBackground: string;\n createReleaseText: string;\n deleteButtonText: string;\n deleteButtonBackground: string;\n cancelButtonBackground: string;\n cancelButtonText: string;\n subtleButtonBackground: string;\n subtleButtonBorder: string;\n // Paging\n pagingButtonBackground: string;\n pagingButtonBackgroundHover: string;\n pagingButtonBackgroundActive: string;\n // Dashboard\n tenantCount: string;\n // Section\n SectionBodyText: string;\n groupHeaderBackground: string;\n groupHeader: string;\n statusBarBackground: string;\n statusBarItemBackground: string;\n contextualHelpBackground: string;\n // Backgrounds & dividers\n primaryBackground: string;\n disabledBackground: string;\n secondaryBackground: string;\n secondaryBackgroundLight: string;\n ternaryBackground: string;\n hover: string;\n divider: string;\n dividerLight: string;\n secondaryDivider: string;\n teritaryDivider: string;\n logoBackground: string;\n stepLogoBackground: string;\n parentStepBackground: string;\n loadingIndicator: string;\n loadingIndicatorBackground: string;\n userOnboardingHelpPanelBackground: string;\n // Cards\n cardBackground: string;\n cardHover: string;\n cardFooterBuiltIn: string;\n cardFooterInstalled: string;\n cardFooterCommunity: string;\n // Form\n focus: string;\n selectBorder: string;\n focusIconButton: string;\n // Chips\n chipBackground: string;\n chipHighlight: string;\n chipText: string;\n chipIcon: string;\n chipDeleteButton: string;\n avatarBackground: string;\n // Code Editor hints\n hintHighlight: string;\n hintActive: string;\n placeholder: string;\n placeholderActive: string;\n codeEditorBackground: string;\n codeEditorToolbarBackground: string;\n codeEditorGutterTextColor: string;\n codeEditorDefaultTextColor: string;\n codeEditorTextBright: string;\n codeEditorTextHighlight: string;\n codeEditorToolbarButtonHover: string;\n codeEditorType: string;\n codeEditorVariable: string;\n codeEditorVariable2: string;\n codeEditorOperator: string;\n codeEditorBuiltIn: string;\n codeEditorNumber: string;\n codeEditorAtom: string;\n codeEditorDef: string;\n codeEditorString: string;\n codeEditorQualifier: string;\n // Icon Editor\n iconEditorIcon: string;\n iconEditorIconHover: string;\n iconEditorColorPaletteInnerBorder: string;\n iconEditorColorPaletteHover: string;\n iconEditorColorPaletteSelected: string;\n // Callouts\n info: string;\n infoConstant: string;\n infoBackground: string;\n infoHeaderText: string;\n infoText: string;\n infoHighlight: string;\n infoBorder: string;\n success: string;\n successConstant: string;\n successBackground: string;\n successCalloutBackground: string;\n successHeaderText: string;\n successText: string;\n successHighlight: string;\n successBorder: string;\n danger: string;\n dangerConstant: string;\n dangerBackground: string;\n dangerCalloutBackground: string;\n dangerHeaderText: string;\n dangerText: string;\n dangerHighlight: string;\n dangerBorder: string;\n alert: string;\n alertBackground: string;\n alertCalloutBackground: string;\n alertConstant: string;\n alertHeaderText: string;\n alertText: string;\n alertHighlight: string;\n alertBorder: string;\n alertIcon: string;\n sunshineText: string;\n darkBackground: string;\n darkText: string;\n auditHighlight: string;\n codeHighlight: string;\n codeText: string;\n codeTextBright: string;\n featureText: string;\n featureBackground: string;\n featureCalloutBackground: string;\n featureBorder: string;\n experimentText: string;\n experimentBackground: string;\n experimentCalloutBackground: string;\n // Task log\n successTaskLogBackground: string;\n successTaskLogBorder: string;\n successTaskLogText: string;\n dangerTaskLogBackground: string;\n dangerTaskLogBorder: string;\n dangerTaskLogText: string;\n alertTaskLogBackground: string;\n alertTaskLogText: string;\n unknownTaskLogBackground: string;\n unknownTaskLogBorder: string;\n unknownTaskLogText: string;\n runningTaskLogText: string;\n //difs\n diffAddedBackground: string;\n diffAddedColor: string;\n diffWordAddedBackground: string;\n diffWordAddedColor: string;\n diffRemovedBackground: string;\n diffRemovedColor: string;\n diffWordRemovedBackground: string;\n diffWordRemovedColor: string;\n diffGutterBackground: string;\n diffAddedGutterColor: string;\n diffAddedGutterBackground: string;\n diffRemovedGutterColor: string;\n diffRemovedGutterBackground: string;\n diffGutterColor: string;\n diffHighlight: string;\n // Form validation\n errorText: string;\n // icons\n iconNavy: string;\n iconDark: string;\n iconLight: string;\n iconNeutral: string;\n iconLifeCycle: string;\n // Tooltip\n tooltipText: string;\n tooltipBackground: string;\n // Primary color\n mainBackground: string;\n mainText: string;\n // Will be superceeded\n primary: string;\n primaryLight: string;\n primaryDark: string;\n primaryDarkest: string;\n primaryLightest: string;\n secondaryDark: string;\n // Images\n imgNavy: string;\n imgCyan: string;\n imgCyan50: string;\n imgWhite: string;\n imgBlueGrey: string;\n imgLightGrey: string;\n imgGrey: string;\n imgLight: string;\n imgDark: string;\n imgGreen: string;\n imgDanger: string;\n // Wizard\n wizardStepBackground: string;\n wizardStepBackgroundActive: string;\n}\nexport const LightTheme: OctopusTheme = {\n //Primary - these colours don't change between themes\n whiteConstant: colorScales.white,\n blackConstant: colorScales.black,\n cyanConstant: colorScales.blue[\"500\"],\n transparent: \"transparent\",\n paper0: colorScales.white,\n paper1: colorScales.white, // Paper background\n paper2: colorScales.white, // Card background\n paper3: colorScales.white, // Card hover\n // Text\n primaryText: colorScales.grey[\"800\"],\n secondaryText: colorScales.grey[\"500\"],\n ternaryText: colorScales.grey[\"600\"],\n highlightText: colorScales.yellow[\"200\"],\n highlightTextBackground: colorScales.black,\n // Text links\n linkText: colorScales.blue[\"500\"],\n linkTextHover: colorScales.blue[\"600\"],\n sideMenuHover: colorScales.white,\n sideMenuNestedText: colorScales.grey[\"600\"],\n sidebarMenuSelectedText: colorScales.blue[\"500\"],\n // Nav\n navBackground: colorScales.blue[\"500\"],\n navItemHover: colorScales.blue[\"300\"],\n navItemActive: colorScales.blue[\"600\"],\n navText: colorScales.white,\n navTextHover: colorScales.white,\n navTextActive: colorScales.white,\n spaceMenuBackground: colorScales.navy[\"900\"],\n spaceMenuText: colorScales.white,\n // Tabs\n tabActiveIndicator: colorScales.blue[\"500\"],\n // Buttons\n primaryButtonBackground: colorScales.green[\"500\"],\n primaryButtonText: colorScales.white,\n secondaryButtonBackground: colorScales.blue[\"100\"],\n secondaryButtonText: colorScales.blue[\"500\"],\n ternaryButton: colorScales.blue[\"500\"],\n ternaryButtonHover: colorScales.blue[\"600\"],\n categoryButtonBackground: colorScales.blue[\"500\"],\n disabledButtonBorder: colorScales.grey[\"300\"],\n disabledButtonBackground: colorScales.grey[\"200\"],\n disabledButtonText: colorScales.grey[\"500\"],\n createReleaseBackground: colorScales.navy[\"900\"],\n createReleaseText: colorScales.white,\n deleteButtonText: colorScales.white,\n deleteButtonBackground: colorScales.red[\"500\"],\n cancelButtonBackground: colorScales.orange[\"500\"],\n cancelButtonText: colorScales.white,\n subtleButtonBackground: colorScales.slate[\"200\"],\n subtleButtonBorder: colorScales.blue[\"100\"],\n // Paging\n pagingButtonBackground: colorScales.grey[\"300\"],\n pagingButtonBackgroundHover: colorScales.grey[\"500\"],\n pagingButtonBackgroundActive: colorScales.grey[\"500\"],\n // Dashboard\n tenantCount: colorScales.white,\n // Section\n SectionBodyText: colorScales.grey[\"800\"],\n groupHeaderBackground: colorScales.white,\n groupHeader: colorScales.slate[900],\n statusBarBackground: colorScales.slate[100],\n statusBarItemBackground: colorScales.white,\n contextualHelpBackground: colorScales.white,\n // Backgrounds & dividers\n primaryBackground: colorScales.grey[\"100\"],\n disabledBackground: colorScales.grey[\"200\"],\n secondaryBackground: colorScales.grey[\"100\"],\n secondaryBackgroundLight: colorScales.grey[\"200\"],\n ternaryBackground: colorScales.grey[\"200\"],\n hover: colorScales.grey[\"200\"],\n divider: colorScales.grey[\"400\"],\n dividerLight: colorScales.grey[\"200\"],\n secondaryDivider: colorScales.grey[\"300\"],\n teritaryDivider: colorScales.grey[\"200\"],\n logoBackground: \"transparent\",\n stepLogoBackground: colorScales.white,\n parentStepBackground: colorScales.blue[\"600\"],\n loadingIndicator: colorScales.blue[\"300\"],\n loadingIndicatorBackground: colorScales.grey[\"300\"],\n userOnboardingHelpPanelBackground: \"rgb(18, 37, 54)\",\n // Cards\n cardBackground: colorScales.white,\n cardHover: colorScales.navy[100],\n cardFooterBuiltIn: colorScales.blue[\"500\"],\n cardFooterInstalled: colorScales.grey[\"400\"],\n cardFooterCommunity: colorScales.white,\n // Form\n focus: colorScales.blue[\"500\"],\n selectBorder: colorScales.grey[\"500\"],\n focusIconButton: colorScales.blue[\"300\"],\n // Chips\n chipBackground: colorScales.grey[\"200\"],\n chipHighlight: colorScales.navy[\"800\"],\n chipText: colorScales.grey[\"800\"],\n chipIcon: colorScales.grey[\"800\"],\n chipDeleteButton: colorScales.grey[\"500\"],\n avatarBackground: colorScales.grey[\"300\"],\n // Code Editor hints\n hintHighlight: colorScales.blue[\"500\"],\n hintActive: colorScales.blue[\"300\"],\n placeholder: colorScales.black,\n placeholderActive: colorScales.black,\n codeEditorBackground: colorScales.navy[\"900\"],\n codeEditorToolbarBackground: colorScales.navy[\"800\"],\n codeEditorGutterTextColor: colorScales.navy[\"500\"],\n codeEditorDefaultTextColor: colorScales.navy[\"200\"],\n codeEditorTextBright: colorScales.purple[\"300\"],\n codeEditorTextHighlight: colorScales.blue[\"600\"],\n codeEditorToolbarButtonHover: colorScales.navy[\"800\"],\n codeEditorType: colorScales.yellow[\"300\"],\n codeEditorVariable: colorScales.red[\"200\"],\n codeEditorVariable2: colorScales.blue[\"200\"],\n codeEditorOperator: colorScales.blue[\"300\"],\n codeEditorBuiltIn: colorScales.orange[\"300\"],\n codeEditorNumber: colorScales.red[\"200\"],\n codeEditorAtom: colorScales.orange[\"300\"],\n codeEditorDef: colorScales.blue[\"200\"],\n codeEditorString: colorScales.green[\"300\"],\n codeEditorQualifier: colorScales.yellow[\"300\"],\n // Icon Editor\n iconEditorIcon: colorScales.slate[\"100\"],\n iconEditorIconHover: colorScales.slate[\"200\"],\n iconEditorColorPaletteInnerBorder: colorScales.white,\n iconEditorColorPaletteHover: colorScales.grey[\"300\"],\n iconEditorColorPaletteSelected: colorScales.blue[\"500\"],\n // Callouts\n info: colorScales.blue[\"500\"],\n infoConstant: colorScales.blue[\"500\"],\n infoBackground: colorScales.blue[\"100\"],\n infoBorder: colorScales.blue[\"500\"],\n infoHeaderText: colorScales.blue[600],\n infoText: colorScales.blue[\"500\"],\n infoHighlight: colorScales.blue[\"100\"],\n success: colorScales.green[\"500\"],\n successConstant: colorScales.green[\"500\"],\n successBackground: colorScales.green[\"100\"],\n successCalloutBackground: colorScales.green[\"100\"],\n successBorder: colorScales.green[\"500\"],\n successHeaderText: colorScales.green[600],\n successText: colorScales.green[600],\n successHighlight: colorScales.green[\"100\"],\n danger: colorScales.red[\"500\"],\n dangerConstant: colorScales.red[\"500\"],\n dangerBackground: colorScales.red[\"100\"],\n dangerCalloutBackground: colorScales.red[\"100\"],\n dangerBorder: colorScales.red[\"500\"],\n dangerHeaderText: colorScales.red[600],\n dangerText: colorScales.red[\"500\"],\n dangerHighlight: colorScales.red[\"100\"],\n alert: colorScales.orange[\"500\"],\n alertBackground: colorScales.orange[\"100\"],\n alertCalloutBackground: colorScales.yellow[100],\n alertBorder: colorScales.orange[\"500\"],\n alertConstant: colorScales.orange[\"500\"],\n alertHeaderText: colorScales.yellow[600],\n alertText: colorScales.orange[\"500\"],\n alertHighlight: colorScales.orange[\"100\"],\n alertIcon: colorScales.orange[\"500\"],\n sunshineText: colorScales.yellow[\"300\"],\n darkBackground: colorScales.grey[\"800\"],\n darkText: colorScales.white,\n auditHighlight: colorScales.grey[\"200\"],\n codeHighlight: colorScales.navy[\"200\"],\n codeText: colorScales.navy[\"600\"],\n codeTextBright: colorScales.navy[\"600\"],\n featureText: colorScales.navy[600],\n featureBackground: colorScales.blue[\"100\"],\n featureCalloutBackground: colorScales.navy[100],\n featureBorder: \"transparent\",\n experimentText: colorScales.purple[700],\n experimentBackground: colorScales.purple[200],\n experimentCalloutBackground: colorScales.purple[200],\n // Task log\n successTaskLogBackground: colorScales.green[100],\n successTaskLogBorder: colorScales.green[400],\n successTaskLogText: colorScales.green[600],\n dangerTaskLogBackground: colorScales.red[100],\n dangerTaskLogBorder: colorScales.red[400],\n dangerTaskLogText: colorScales.red[600],\n alertTaskLogBackground: colorScales.yellow[100],\n alertTaskLogText: colorScales.yellow[600],\n unknownTaskLogBackground: colorScales.slate[100],\n unknownTaskLogBorder: colorScales.slate[400],\n unknownTaskLogText: colorScales.slate[600],\n runningTaskLogText: colorScales.blue[600],\n //Diffs\n diffAddedBackground: colorScales.green[\"200\"],\n diffAddedColor: colorScales.green[\"700\"],\n diffWordAddedBackground: colorScales.green[\"300\"],\n diffWordAddedColor: colorScales.green[\"700\"],\n diffRemovedBackground: colorScales.red[\"200\"],\n diffRemovedColor: colorScales.red[\"700\"],\n diffWordRemovedBackground: colorScales.red[\"300\"],\n diffWordRemovedColor: colorScales.red[\"700\"],\n diffGutterBackground: colorScales.white,\n diffGutterColor: colorScales.grey[\"800\"],\n diffRemovedGutterBackground: colorScales.red[\"300\"],\n diffRemovedGutterColor: colorScales.red[\"700\"],\n diffAddedGutterBackground: colorScales.green[\"300\"],\n diffAddedGutterColor: colorScales.green[\"700\"],\n diffHighlight: colorScales.grey[\"200\"],\n // Form validation\n errorText: colorScales.red[\"400\"],\n // icons\n iconNavy: colorScales.navy[\"900\"],\n iconDark: colorScales.navy[\"900\"],\n iconLight: colorScales.white,\n iconNeutral: colorScales.grey[\"600\"],\n iconLifeCycle: colorScales.grey[\"400\"],\n // Tooltip\n tooltipText: colorScales.white,\n tooltipBackground: colorScales.grey[\"800\"],\n // Primary color\n mainBackground: colorScales.blue[\"500\"],\n mainText: colorScales.blue[\"500\"],\n // Will be superceeded\n primary: colorScales.blue[\"500\"],\n primaryLight: colorScales.blue[\"300\"],\n primaryDark: colorScales.blue[\"600\"],\n primaryDarkest: colorScales.navy[\"800\"],\n primaryLightest: colorScales.slate[\"200\"],\n secondaryDark: colorScales.blue[\"800\"],\n // Images\n imgNavy: colorScales.navy[\"900\"],\n imgCyan: colorScales.blue[\"500\"],\n imgCyan50: colorScales.blue[\"600\"],\n imgWhite: colorScales.white,\n imgBlueGrey: colorScales.slate[\"200\"],\n imgLightGrey: colorScales.grey[\"200\"],\n imgGrey: colorScales.grey[\"100\"],\n imgLight: colorScales.white,\n imgDark: colorScales.navy[\"900\"],\n imgGreen: colorScales.green[\"500\"],\n imgDanger: colorScales.red[\"500\"],\n wizardStepBackground: colorScales.grey[\"200\"],\n wizardStepBackgroundActive: colorScales.blue[\"500\"],\n};\nexport const DarkTheme: OctopusTheme = {\n //Primary - these colours don't change between themes\n blackConstant: colorScales.black,\n whiteConstant: colorScales.slate[\"200\"],\n cyanConstant: colorScales.blue[\"700\"],\n transparent: \"transparent\",\n // Paper\n paper0: colorScales.navy[\"900\"],\n paper1: colorScales.navy[\"800\"],\n paper2: colorScales.navy[\"700\"],\n paper3: colorScales.navy[\"900\"],\n // Text\n primaryText: colorScales.blue[\"100\"],\n secondaryText: colorScales.navy[\"300\"],\n ternaryText: colorScales.navy[\"200\"],\n highlightText: colorScales.yellow[\"200\"],\n highlightTextBackground: colorScales.black,\n // Text links\n linkText: colorScales.blue[\"300\"],\n linkTextHover: colorScales.white,\n sideMenuHover: colorScales.navy[\"800\"],\n sideMenuNestedText: colorScales.blue[\"100\"],\n sidebarMenuSelectedText: colorScales.blue[\"300\"],\n // Nav\n navBackground: colorScales.navy[\"900\"],\n navItemHover: colorScales.blue[\"800\"],\n navItemActive: colorScales.blue[\"700\"],\n navText: colorScales.navy[\"200\"],\n navTextHover: colorScales.white,\n navTextActive: colorScales.slate[\"200\"],\n spaceMenuBackground: colorScales.blue[\"800\"],\n spaceMenuText: colorScales.white,\n // Tabs\n tabActiveIndicator: colorScales.blue[\"500\"],\n // Buttons\n primaryButtonBackground: colorScales.green[\"500\"],\n primaryButtonText: colorScales.white,\n secondaryButtonBackground: colorScales.navy[\"900\"],\n secondaryButtonText: colorScales.blue[\"500\"],\n ternaryButton: colorScales.blue[\"300\"],\n ternaryButtonHover: colorScales.slate[\"200\"],\n categoryButtonBackground: colorScales.blue[\"500\"],\n disabledButtonBorder: colorScales.navy[\"300\"],\n disabledButtonBackground: colorScales.navy[\"700\"],\n disabledButtonText: colorScales.navy[\"300\"],\n createReleaseBackground: colorScales.blue[\"700\"],\n createReleaseText: colorScales.slate[\"200\"],\n deleteButtonText: colorScales.white,\n deleteButtonBackground: colorScales.red[\"600\"],\n cancelButtonBackground: colorScales.orange[\"300\"],\n cancelButtonText: colorScales.white,\n subtleButtonBackground: colorScales.navy[\"900\"],\n subtleButtonBorder: colorScales.slate[\"500\"],\n // Paging\n pagingButtonBackground: colorScales.blue[\"800\"],\n pagingButtonBackgroundHover: colorScales.blue[\"500\"],\n pagingButtonBackgroundActive: colorScales.blue[\"500\"],\n // Dashboard\n tenantCount: colorScales.grey[\"800\"],\n // Section\n SectionBodyText: colorScales.navy[\"200\"],\n groupHeaderBackground: colorScales.navy[800],\n groupHeader: colorScales.navy[100],\n statusBarBackground: colorScales.navy[\"900\"],\n statusBarItemBackground: colorScales.navy[\"800\"],\n contextualHelpBackground: colorScales.navy[\"900\"],\n // Backgrounds & dividers\n primaryBackground: colorScales.navy[\"900\"],\n disabledBackground: \"rgba(153, 153, 153, 0.7)\",\n secondaryBackground: colorScales.navy[\"700\"],\n secondaryBackgroundLight: colorScales.navy[\"600\"],\n ternaryBackground: colorScales.navy[\"900\"],\n hover: \"rgba(15, 36, 52, 0.9)\",\n divider: colorScales.slate[\"500\"],\n dividerLight: colorScales.navy[\"700\"],\n secondaryDivider: colorScales.navy[\"300\"],\n teritaryDivider: colorScales.slate[\"500\"],\n logoBackground: colorScales.blue[\"100\"],\n stepLogoBackground: colorScales.slate[\"200\"],\n parentStepBackground: colorScales.blue[\"600\"],\n loadingIndicator: colorScales.blue[\"700\"],\n loadingIndicatorBackground: colorScales.navy[\"900\"],\n userOnboardingHelpPanelBackground: \"rgb(18, 37, 54)\",\n // Cards\n cardBackground: colorScales.navy[700],\n cardHover: colorScales.navy[600],\n cardFooterBuiltIn: colorScales.blue[\"500\"],\n cardFooterInstalled: colorScales.navy[\"900\"], //paper0,\n cardFooterCommunity: colorScales.navy[\"900\"], // paper3,\n // Form\n focus: colorScales.blue[\"500\"],\n selectBorder: colorScales.grey[\"500\"],\n focusIconButton: colorScales.blue[\"500\"],\n // Chips\n chipBackground: colorScales.navy[\"700\"],\n chipHighlight: colorScales.blue[\"300\"],\n chipText: colorScales.blue[\"100\"],\n chipIcon: colorScales.blue[\"100\"],\n chipDeleteButton: colorScales.grey[\"300\"],\n avatarBackground: colorScales.blue[\"600\"],\n // Code Editor hints\n hintHighlight: colorScales.red[\"400\"],\n hintActive: colorScales.blue[\"700\"],\n placeholder: colorScales.white,\n placeholderActive: colorScales.white,\n codeEditorBackground: colorScales.navy[\"900\"],\n codeEditorToolbarBackground: colorScales.navy[\"800\"],\n codeEditorGutterTextColor: colorScales.navy[\"500\"],\n codeEditorDefaultTextColor: colorScales.navy[\"200\"],\n codeEditorTextBright: colorScales.purple[\"300\"],\n codeEditorTextHighlight: colorScales.blue[\"600\"],\n codeEditorToolbarButtonHover: colorScales.navy[\"800\"],\n codeEditorType: colorScales.yellow[\"300\"],\n codeEditorVariable: colorScales.red[\"200\"],\n codeEditorVariable2: colorScales.blue[\"200\"],\n codeEditorOperator: colorScales.blue[\"300\"],\n codeEditorBuiltIn: colorScales.orange[\"300\"],\n codeEditorNumber: colorScales.red[\"200\"],\n codeEditorAtom: colorScales.orange[\"300\"],\n codeEditorDef: colorScales.blue[\"200\"],\n codeEditorString: colorScales.green[\"300\"],\n codeEditorQualifier: colorScales.yellow[\"300\"],\n // Icon Editor\n iconEditorIcon: colorScales.navy[\"800\"],\n iconEditorIconHover: colorScales.navy[\"700\"],\n iconEditorColorPaletteInnerBorder: colorScales.white,\n iconEditorColorPaletteHover: colorScales.grey[\"300\"],\n iconEditorColorPaletteSelected: colorScales.blue[\"500\"],\n // Callouts\n info: colorScales.blue[\"500\"],\n infoConstant: colorScales.blue[\"500\"],\n infoBackground: colorScales.blue[\"700\"],\n infoBorder: colorScales.blue[\"300\"],\n infoHeaderText: colorScales.blue[\"300\"],\n infoText: colorScales.blue[\"300\"],\n infoHighlight: \"rgba(0, 0, 0, 0)\",\n success: colorScales.green[\"500\"],\n successConstant: colorScales.green[\"500\"],\n successBackground: colorScales.green[\"800\"],\n successCalloutBackground: colorScales.green[700],\n successBorder: colorScales.green[\"700\"],\n successHeaderText: colorScales.green[300], //For use on successBackground\n successText: colorScales.green[\"400\"], //For use on navy background\n successHighlight: \"rgba(0, 0, 0, 0)\",\n danger: colorScales.red[\"500\"],\n dangerConstant: colorScales.red[\"500\"],\n dangerBackground: colorScales.red[\"800\"],\n dangerCalloutBackground: colorScales.red[\"700\"],\n dangerBorder: colorScales.red[\"700\"],\n dangerHeaderText: colorScales.red[\"300\"], //For use on dangerBackground\n dangerText: colorScales.red[\"400\"], //For use on navy background\n dangerHighlight: \"rgba(0, 0, 0, 0)\",\n alert: colorScales.orange[\"500\"],\n alertBackground: colorScales.orange[\"800\"],\n alertCalloutBackground: colorScales.yellow[700],\n alertBorder: colorScales.orange[\"200\"],\n alertConstant: colorScales.orange[\"500\"],\n alertHeaderText: colorScales.yellow[300], //For use on alertBackground\n alertText: colorScales.orange[\"300\"], //For use on navy background\n alertHighlight: colorScales.yellow[700],\n alertIcon: colorScales.orange[\"200\"],\n sunshineText: colorScales.yellow[\"300\"],\n darkBackground: colorScales.white,\n darkText: colorScales.navy[\"900\"],\n auditHighlight: colorScales.navy[\"700\"],\n codeHighlight: colorScales.navy[\"600\"],\n codeText: colorScales.navy[\"200\"],\n codeTextBright: colorScales.navy[\"300\"],\n featureText: colorScales.navy[300],\n featureBackground: colorScales.navy[\"800\"],\n featureCalloutBackground: colorScales.navy[700],\n featureBorder: colorScales.slate[\"200\"],\n experimentText: colorScales.purple[700],\n experimentBackground: colorScales.purple[400],\n experimentCalloutBackground: colorScales.purple[400],\n // Task log\n successTaskLogBackground: colorScales.green[900],\n successTaskLogBorder: colorScales.green[600],\n successTaskLogText: colorScales.green[400],\n dangerTaskLogBackground: colorScales.red[900],\n dangerTaskLogBorder: colorScales.red[600],\n dangerTaskLogText: colorScales.red[400],\n alertTaskLogBackground: colorScales.yellow[900],\n alertTaskLogText: colorScales.yellow[400],\n unknownTaskLogBackground: colorScales.slate[900],\n unknownTaskLogBorder: colorScales.slate[600],\n unknownTaskLogText: colorScales.slate[400],\n runningTaskLogText: colorScales.blue[400],\n //Audit diffs\n diffAddedBackground: colorScales.green[\"800\"],\n diffAddedColor: colorScales.green[\"300\"],\n diffWordAddedBackground: colorScales.green[\"700\"],\n diffWordAddedColor: colorScales.green[\"300\"],\n diffRemovedBackground: colorScales.red[\"800\"],\n diffRemovedColor: colorScales.red[\"300\"],\n diffWordRemovedBackground: colorScales.red[\"700\"],\n diffWordRemovedColor: colorScales.red[\"300\"],\n diffGutterBackground: colorScales.navy[\"900\"],\n diffGutterColor: colorScales.blue[\"100\"],\n diffRemovedGutterBackground: colorScales.red[\"700\"],\n diffRemovedGutterColor: colorScales.red[\"300\"],\n diffAddedGutterBackground: colorScales.green[\"700\"],\n diffAddedGutterColor: colorScales.green[\"300\"],\n diffHighlight: colorScales.grey[\"200\"],\n // Form validation\n errorText: colorScales.red[\"400\"],\n // icons\n iconNavy: colorScales.navy[\"900\"],\n iconDark: colorScales.blue[\"100\"],\n iconLight: colorScales.navy[\"900\"],\n iconNeutral: colorScales.grey[\"300\"],\n iconLifeCycle: colorScales.slate[\"500\"],\n // Tooltip\n tooltipText: colorScales.grey[\"800\"],\n tooltipBackground: colorScales.white,\n // Primary color\n primary: colorScales.blue[\"300\"],\n mainBackground: colorScales.navy[\"600\"],\n mainText: colorScales.blue[\"300\"],\n primaryLight: colorScales.slate[\"500\"],\n primaryDark: colorScales.blue[\"100\"],\n primaryDarkest: colorScales.navy[\"900\"],\n primaryLightest: colorScales.blue[\"100\"],\n secondaryDark: colorScales.blue[\"500\"],\n // Images\n imgNavy: colorScales.navy[\"900\"],\n imgCyan: colorScales.blue[\"500\"],\n imgCyan50: colorScales.blue[\"600\"],\n imgWhite: colorScales.white,\n imgBlueGrey: colorScales.navy[\"800\"],\n imgLightGrey: colorScales.navy[\"300\"],\n imgGrey: colorScales.navy[\"900\"],\n imgLight: colorScales.navy[\"900\"],\n imgDark: colorScales.white,\n imgGreen: colorScales.green[\"500\"],\n imgDanger: colorScales.red[\"500\"],\n wizardStepBackground: colorScales.navy[\"600\"],\n wizardStepBackgroundActive: colorScales.blue[\"300\"],\n};\n","import cssVars from \"css-vars-ponyfill\";\nimport React from \"react\";\nimport { useThemePaletteType } from \"~/components/Theme/useThemePaletteType\";\nimport type { ThemePaletteType } from \"~/theme\";\nimport type { OctopusTheme } from \"./Themes\";\nimport { LightTheme, DarkTheme } from \"./Themes\";\nexport const ThemeApplier: React.FC = React.memo(() => {\n const palette = useThemePaletteType();\n React.useEffect(() => {\n applyTheme(palette);\n }, [palette]);\n return null;\n});\nThemeApplier.displayName = \"ThemeApplier\"\nconst lookup: Record = {\n light: LightTheme,\n dark: DarkTheme,\n};\nfunction applyTheme(themeId: ThemePaletteType) {\n if (!themeId) {\n return;\n }\n const theme = lookup[themeId];\n if (!theme) {\n return;\n }\n const keys = Object.entries(theme);\n const variables: Record = {};\n for (const [key, value] of keys) {\n variables[key] = value;\n }\n cssVars({\n watch: true,\n variables,\n });\n}\n","/* eslint-disable @octopusdeploy/custom-portal-rules/no-restricted-imports */\nimport { MuiThemeProvider } from \"@material-ui/core/styles\";\nimport type { ThemeName } from \"@octopusdeploy/design-system-components\";\nimport { useApplyGlobalThemeEffect, Theme as DesignSystemTheme, useDesignSystemTheme } from \"@octopusdeploy/design-system-components\";\nimport { logger } from \"@octopusdeploy/logging\";\nimport type { ReactNode } from \"react\";\nimport * as React from \"react\";\nimport { useThemePaletteType } from \"~/components/Theme/useThemePaletteType\";\nimport { createMuiTheme } from \"~/theme\";\nimport { ThemeApplier } from \"./ThemeApplier\";\nimport type { OctopusTheme } from \"./Themes\";\nimport { DarkTheme, LightTheme } from \"./Themes\";\ntype LegacyThemeName = \"light\" | \"dark\";\ntype ThemeProps = {\n palette: LegacyThemeName;\n children: React.ReactNode;\n updateFontFamilyOnBody: boolean;\n selectedFont: string;\n};\nfunction Theme({ palette, children, selectedFont, updateFontFamilyOnBody }: ThemeProps) {\n const themeName: ThemeName = palette;\n useApplyGlobalThemeEffect(themeName, selectedFont, updateFontFamilyOnBody);\n React.useEffect(() => {\n logger.info(\"Theme palette set to {themeName}\", { themeName });\n }, [themeName]);\n return (\n \n {children}\n );\n}\nfunction MuiThemeApplier({ themeName, children }: {\n themeName: LegacyThemeName;\n children: ReactNode;\n}) {\n const legacyTheme = getLegacyTheme(themeName);\n const designSystemTheme = useDesignSystemTheme();\n const muiTheme = React.useMemo(() => createMuiTheme(themeName, legacyTheme, designSystemTheme), [themeName, legacyTheme, designSystemTheme]);\n return {children};\n}\nfunction getLegacyTheme(themeName: LegacyThemeName): OctopusTheme {\n return themeName === \"light\" ? LightTheme : DarkTheme;\n}\nfunction withTheme(render: (theme: OctopusTheme) => React.ReactElement | null | undefined): React.ReactElement {\n return {(theme) => render(theme)};\n}\ntype UsingThemeProps = {\n children: (theme: OctopusTheme) => React.ReactNode;\n};\nfunction UsingTheme({ children }: UsingThemeProps) {\n const theme = useOctopusTheme();\n return <>{children(theme)};\n}\nfunction useOctopusTheme(): OctopusTheme {\n const palette = useThemePaletteType();\n return getLegacyTheme(palette);\n}\nexport default Theme;\nexport { Theme, withTheme, useOctopusTheme };\nexport type { OctopusTheme };\n","import React from \"react\";\nimport { useTrackThemeChanged } from \"~/components/Theme/analytics/useTrackThemeChanged\";\nimport useLocalStorage from \"~/hooks/useLocalStorage\";\nimport type { ThemePaletteType } from \"~/theme/index\";\nexport type SetThemeValue = (value: ThemePaletteType | \"unassigned\") => void;\nexport type ThemeValue = ThemePaletteType | \"unassigned\";\nexport function useThemePaletteType(): ThemePaletteType {\n const { coercedPaletteType } = useThemeFromLocalStorage();\n return coercedPaletteType;\n}\nexport function useThemeType(): ThemeValue {\n const { paletteType } = useThemeFromLocalStorage();\n return paletteType;\n}\nexport function useSetThemeType(): SetThemeValue {\n const { coercedPaletteType, setPaletteType } = useThemeFromLocalStorage();\n const trackThemeChanged = useTrackThemeChanged();\n return React.useCallback((value) => {\n setPaletteType(value);\n const browserPreferredPalette = getBrowserPreferredPalette(\"light\");\n const selectedTheme = value === \"unassigned\" ? browserPreferredPalette : value;\n trackThemeChanged({ previousTheme: coercedPaletteType, selectedTheme: selectedTheme });\n }, [coercedPaletteType, trackThemeChanged, setPaletteType]);\n}\ninterface ThemeFromLocalStorageResult {\n paletteType: ThemeValue;\n coercedPaletteType: ThemePaletteType;\n setPaletteType: SetThemeValue;\n}\nfunction useThemeFromLocalStorage(): ThemeFromLocalStorageResult {\n const [paletteFromStorage, setPaletteType] = useLocalStorage(\"theme\", \"unassigned\");\n const browserPreferredPalette = getBrowserPreferredPalette(\"light\");\n return {\n paletteType: paletteFromStorage,\n coercedPaletteType: paletteFromStorage === \"unassigned\" ? browserPreferredPalette : paletteFromStorage,\n setPaletteType,\n };\n}\nfunction getBrowserPreferredPalette(fallback: ThemePaletteType): ThemePaletteType {\n if (!window.matchMedia) {\n return fallback;\n }\n else if (window.matchMedia(\"(prefers-color-scheme: dark)\").matches) {\n return \"dark\";\n }\n else if (window.matchMedia(\"(prefers-color-scheme: light)\").matches) {\n return \"light\";\n }\n else {\n return fallback;\n }\n}\n","import type { AnalyticsEvent } from \"@octopusdeploy/portal-analytics\";\nimport { useTrackEvent, useAnalyticSession } from \"@octopusdeploy/portal-analytics\";\nimport type { ThemePaletteType } from \"~/theme/index\";\nexport interface ThemeChangedOptions {\n selectedTheme: ThemePaletteType;\n previousTheme: ThemePaletteType;\n}\nexport function useTrackThemeChanged() {\n const session = useAnalyticSession();\n const trackEvent = useTrackEvent();\n return (options: ThemeChangedOptions) => {\n session.setTheme(options.selectedTheme);\n trackEvent(createThemeChangedEvent(options));\n };\n}\ninterface ThemeChangedEvent extends AnalyticsEvent<\"Theme Changed\"> {\n \"Selected Theme\": \"light\" | \"dark\";\n \"Previous Theme\": \"light\" | \"dark\";\n}\nfunction createThemeChangedEvent(options: ThemeChangedOptions): ThemeChangedEvent {\n return {\n eventName: \"Theme Changed\",\n \"Previous Theme\": options.previousTheme,\n \"Selected Theme\": options.selectedTheme,\n };\n}\n","import cn from \"classnames\";\nimport * as React from \"react\";\nimport styles from \"./style.module.less\";\ninterface TransitionAnimationProps {\n disableAnimation?: boolean;\n}\ninterface TransitionAnimationState {\n isLoaded: boolean;\n}\nclass TransitionAnimation extends React.Component {\n constructor(props: TransitionAnimationProps) {\n super(props);\n this.state = { isLoaded: false };\n }\n componentDidMount() {\n this.setState({ isLoaded: true });\n }\n render() {\n if (this.props.disableAnimation) {\n return this.props.children;\n }\n return
    {this.props.children}
    ;\n }\n static displayName = \"TransitionAnimation\";\n}\nexport default TransitionAnimation;\n","/* eslint-disable @typescript-eslint/no-non-null-assertion */\nimport type { ActionType } from \"typesafe-actions\";\nimport { createAction } from \"typesafe-actions\";\nconst errorActions = {\n raiseUnhandledError: createAction(\"UNHANDLED_ERROR_OCCURRED\", (error: Error, id: string = null!) => ({ error, id }))(),\n clearUnhandledErrors: createAction(\"UNHANDLED_ERROR_CLEARED\")(),\n};\nconst { raiseUnhandledError, clearUnhandledErrors } = errorActions;\nexport type ErrorAction = ActionType;\nexport { raiseUnhandledError, clearUnhandledErrors };\nexport default errorActions;\n","const unhandledErrorSelector = (state: GlobalState) => state.unhandledError;\nexport const currentUnhandledErrorSelector = (state: GlobalState) => unhandledErrorSelector(state).current;\n","import type { Reducer } from \"redux\";\nimport { combineReducers } from \"redux\";\nimport type { ErrorsState } from \"./ErrorsState\";\nimport type { UnhandledErrorState } from \"./current\";\nimport current from \"./current\";\nexport * from \"./actions\";\nexport * from \"./selectors\";\nexport type { ErrorsState, UnhandledErrorState };\nconst unhandledErrorsReducer: Reducer = combineReducers({ current });\nexport default unhandledErrorsReducer;\n","/* eslint-disable @typescript-eslint/no-non-null-assertion */\nimport { OctopusError } from \"@octopusdeploy/octopus-server-client\";\nimport type { Reducer } from \"redux\";\nimport { getType } from \"typesafe-actions\";\nimport type { UnhandledError } from \"../UnhandledError\";\nimport type { ErrorAction } from \"./actions\";\nimport { clearUnhandledErrors, raiseUnhandledError } from \"./actions\";\nexport type UnhandledErrorState = null | UnhandledError;\nconst getStoredError = (state: UnhandledErrorState, error: Error, id: string | number | null = null): UnhandledErrorState => {\n if (error instanceof OctopusError) {\n return {\n id: id || error.StatusCode,\n message: error.ErrorMessage,\n errors: error.Errors,\n originalError: error,\n };\n }\n if (error instanceof Error) {\n const details = error.stack!.split(\" at \");\n return {\n id: id || details[0],\n message: error.message,\n errors: details,\n originalError: error,\n };\n }\n return {\n id: id || \"unknown\",\n message: JSON.stringify(error),\n errors: undefined,\n originalError: undefined,\n };\n};\nconst currentUnhandledErrorReducer: Reducer = (state = null, action) => {\n switch (action.type) {\n case getType(raiseUnhandledError):\n const { error, id } = action.payload;\n return getStoredError(state, error, id);\n case getType(clearUnhandledErrors):\n return null;\n }\n return state;\n};\nexport default currentUnhandledErrorReducer;\n","/* eslint-disable @typescript-eslint/no-explicit-any */\n/* eslint-disable @typescript-eslint/consistent-type-assertions */\nimport type { ActionTemplateParameterResource, TenantVariableTemplateResource } from \"@octopusdeploy/octopus-server-client\";\nimport * as React from \"react\";\nimport { IconButtonWithTooltip } from \"~/components/IconButtonWithTooltip\";\nimport isBound from \"~/components/form/BoundField/isBound\";\nimport type FormFieldProps from \"~/components/form/FormFieldProps\";\nimport type { VariableLookupProps } from \"~/components/form/VariableLookup/VariableLookup\";\nimport { VariableLookupText } from \"~/components/form/VariableLookupText\";\nimport { DebounceText } from \"~/primitiveComponents/form/Text/Text\";\nimport styles from \"./style.module.less\";\nexport type ResetValue = (TValue | string) | (() => TValue | string);\nexport function isCallbackResetValue(value: ResetValue): value is () => TValue | string {\n return typeof value === \"function\";\n}\nexport interface BoundFieldProps {\n boundRows?: number;\n variableLookup?: VariableLookupProps;\n resetValue: ResetValue;\n parameter?: ActionTemplateParameterResource | TenantVariableTemplateResource;\n hideBindButton?: boolean;\n label?: string | JSX.Element;\n isBound?: boolean; // if you want to track isBound externally\n onIsBoundChanged?(value: boolean): void;\n variableComponent?: JSX.Element;\n}\ninterface BoundFieldState {\n isBound: boolean;\n}\n// This is a placeholder until we can implement BoundField to match the new designs\nexport const withBoundField = (Comp: React.ComponentType & TPropsExceptValue>) => {\n type TProps = Omit & BoundFieldProps & FormFieldProps;\n return class extends React.Component {\n public static defaultProps: Partial> = {\n hideBindButton: false,\n };\n // I really want to type the index signature below, but Typescript has broken support for enums in indexers.\n // I could use [index in ControlType] but that means all enum values need to be present, not just a subset.\n private parameterUnboundValueRanges: {\n [index: string]: (param: any, value: any) => boolean;\n } = {\n Checkbox: (param: any, value: any) => {\n if (!value) {\n return false;\n }\n const lower = value.toLowerCase();\n return lower === \"true\" || lower === \"false\";\n },\n Select: (param: any, value: any) => {\n const selectOptions = param[\"Octopus.SelectOptions\"];\n const allOptions = selectOptions ? param[\"Octopus.SelectOptions\"].split(\"\\n\") : [];\n return allOptions.map((option: string) => option.split(\"|\")[0]).indexOf(value) >= 0;\n },\n Sensitive: (param: any, value: any) => {\n return typeof value === \"undefined\" || typeof value === \"object\";\n },\n };\n constructor(props: TProps) {\n super(props);\n const shouldBind = this.shouldBind(props.value, props.parameter);\n this.state = { isBound: shouldBind };\n if (shouldBind && this.props.onIsBoundChanged) {\n this.props.onIsBoundChanged(true);\n }\n }\n render() {\n const component = this.getIsBound() ? (this.props.variableComponent ? (this.props.variableComponent) : this.props.variableLookup ? () : ()) : ();\n return (
    \n {component}\n
    {this.binding()}
    \n
    );\n }\n private getWrappedComponentProps() {\n // `as any` because object rest not support in generics yet, tracked by https://github.com/Microsoft/TypeScript/issues/10727\n const { resetValue, parameter, hideBindButton, isBound: desIsBound, onIsBoundChanged, variableLookup, ...otherProps } = this.props as any;\n return otherProps as TPropsExceptValue & FormFieldProps;\n }\n private getIsBound(): boolean {\n return this.props.isBound ?? this.state.isBound ?? false;\n }\n binding = () => {\n if (this.props.hideBindButton) {\n return null;\n }\n const onClick = this.getIsBound() ? this.unbind : this.bind;\n const text = this.getIsBound() ? /*tabIndex on svg is not supported in IE11, need to use focusable instead*/ \"Unbind\" : \"Bind to a variable\";\n return ;\n };\n // TODO: This needs the unbind icon set up properly so it switches from code icon to clear icon.\n // The clear icons is used on fields to remove or reset so this felt consistent.\n private shouldBind(value: string | null | undefined | TValue, parameter: ActionTemplateParameterResource | TenantVariableTemplateResource | undefined | null) {\n if (value && typeof value === \"string\") {\n if (isBound(value)) {\n return true;\n }\n if (parameter) {\n const displaySettings = parameter.DisplaySettings;\n const controlType = displaySettings[\"Octopus.ControlType\"];\n if (controlType) {\n const isInRange = this.parameterUnboundValueRanges[controlType];\n if (isInRange && !isInRange(displaySettings, value)) {\n return true;\n }\n }\n }\n }\n return false;\n }\n private boundText() {\n if (this.getIsBound()) {\n return \"Remove custom bindings from this field\";\n }\n return \"Apply custom bindings to this field\";\n }\n private bind = () => {\n const value = this.props.value || \"\";\n if (typeof value !== \"string\" && this.props.onChange) {\n this.props.onChange(\"\");\n }\n this.setState({ isBound: true });\n if (this.props.onIsBoundChanged) {\n this.props.onIsBoundChanged(true);\n }\n };\n private unbind = () => {\n this.setState({ isBound: false });\n if (this.props.onIsBoundChanged) {\n this.props.onIsBoundChanged(false);\n }\n const resetValue: ResetValue = this.props.resetValue;\n const valueResource = isCallbackResetValue(resetValue) ? resetValue() : resetValue;\n if (this.props.onChange) {\n this.props.onChange(valueResource);\n }\n };\n };\n};\n","/* eslint-disable @typescript-eslint/consistent-type-assertions */\nimport type { PropertyValueResource } from \"@octopusdeploy/octopus-server-client\";\nconst isBound = (value: PropertyValueResource, fallback = true) => {\n if (value) {\n return (value as string).includes(\"#{\");\n }\n return fallback;\n};\nexport default isBound;\n","/* eslint-disable @typescript-eslint/no-non-null-assertion */\n/* eslint-disable @octopusdeploy/custom-portal-rules/no-restricted-imports */\nimport { css } from \"@emotion/css\";\nimport { CircularProgress, Tooltip } from \"@octopusdeploy/design-system-components\";\nimport { space, themeTokens } from \"@octopusdeploy/design-system-tokens\";\nimport type { ScriptingLanguage } from \"@octopusdeploy/octopus-server-client\";\nimport type { ReactNode } from \"react\";\nimport * as React from \"react\";\nimport type { IScriptActionContext } from \"~/components/Actions/script/ScriptActionContext\";\nimport { useScriptActionContext } from \"~/components/Actions/script/ScriptActionContext\";\nimport type { IconButtonWithTooltipProps } from \"~/components/IconButtonWithTooltip\";\nimport { IconButtonWithTooltip } from \"~/components/IconButtonWithTooltip\";\nimport { SimplePagingList } from \"~/components/PagingList/SimplePagingList\";\nimport type { Origin } from \"~/primitiveComponents/dataDisplay/Popover/Popover\";\nimport { Popover } from \"~/primitiveComponents/dataDisplay/Popover/Popover\";\nimport { codeEditorVariablesList } from \"~/utils/ScriptIntellisense/scriptIntellisense\";\nimport { isTooltipHoverable } from \"~/utils/TooltipHelper/isTooltipHoverable\";\nimport BaseComponent from \"../../BaseComponent\";\nimport FilterSearchBox from \"../../FilterSearchBox\";\ninterface InsertVariableButtonProps {\n localNames?: string[];\n syntax?: ScriptingLanguage;\n onSelected(value: string): void;\n button?: React.FC;\n anchorOrigin?: Origin;\n transformOrigin?: Origin;\n prompt?: ReactNode;\n showHoverTooltip?: boolean;\n}\ninterface InsertVariableButtonInternalProps extends InsertVariableButtonProps {\n scriptActionContext: IScriptActionContext | undefined;\n}\ninterface InsertVariableButtonState {\n serverNames: string[];\n filter: string;\n isInsertPopupOpen: boolean;\n isRefreshing: boolean;\n}\nclass InsertVariableButtonInternal extends BaseComponent {\n private currentVariablesKey?: string;\n showInsertPopupButton: HTMLElement = undefined!;\n private buttonComponent: React.FC = IconButtonWithTooltip;\n constructor(props: InsertVariableButtonInternalProps) {\n super(props);\n if (props.button) {\n this.buttonComponent = props.button;\n }\n this.state = {\n serverNames: [],\n isInsertPopupOpen: false,\n filter: \"\",\n isRefreshing: false,\n };\n }\n async componentDidMount() {\n await this.reloadVariables();\n }\n async componentDidUpdate(prevProps: InsertVariableButtonProps) {\n if (this.props.scriptActionContext?.key !== this.currentVariablesKey) {\n await this.reloadVariables();\n }\n }\n async reloadVariables(clearCachedVariables?: boolean) {\n let variableNames: string[] = [];\n if (this.props.scriptActionContext) {\n this.currentVariablesKey = this.props.scriptActionContext.key;\n variableNames = await this.props.scriptActionContext.loadVariables(clearCachedVariables);\n }\n this.setState({\n serverNames: variableNames,\n });\n }\n showInsertPopup = (event: React.MouseEvent) => {\n event.preventDefault();\n this.setState({\n isInsertPopupOpen: true,\n });\n };\n hideInsertPopup = () => {\n this.setState({\n isInsertPopupOpen: false,\n });\n };\n handleSelected = (value: string) => {\n this.props.onSelected(value);\n this.hideInsertPopup();\n };\n render() {\n //TODO Insert variable icon to be added\n const results = codeEditorVariablesList(this.state.serverNames, this.props.localNames ?? [], this.props.syntax, this.state.filter);\n const ButtonComponent = this.buttonComponent;\n return (\n
    \n \n \n
    \n
    \n this.setState({ filter })}/>\n
    \n {this.state.isRefreshing ? () : ( {\n this.setState({ isRefreshing: true });\n const clearCachedVariables = true;\n await this.reloadVariables(clearCachedVariables);\n this.setState({ isRefreshing: false });\n }} toolTipContent={\"Refresh\"} icon={\"ArrowRefreshIcon\"} accessibleName={\"Refresh\"}/>)}\n
    \n
    \n {this.state.isInsertPopupOpen && (
    \n (
    this.handleSelected(code)}>\n {display}\n
    )} onRowKey={(item) => item.display}/>\n
    )}\n {this.props.prompt &&
    {this.props.prompt}
    }\n
    \n
    \n
    \n
    );\n }\n private onKeyDown = (event: React.KeyboardEvent) => {\n if (event.key === \"Escape\") {\n this.setState({ isInsertPopupOpen: false });\n }\n if (event.key === \"Enter\") {\n event.preventDefault();\n }\n };\n private setRef = (el: HTMLDivElement) => {\n this.showInsertPopupButton = el;\n };\n static displayName = \"InsertVariableButtonInternal\";\n}\nexport default function InsertVariableButton(props: InsertVariableButtonProps) {\n const scriptActionContext = useScriptActionContext();\n return ;\n}\nconst space500 = `${500 / 16}rem`;\nconst containerStyles = css({\n display: \"flex\",\n flexDirection: \"column\",\n width: space500,\n});\nconst filterStyles = {\n container: css({\n display: \"flex\",\n alignItems: \"center\",\n marginLeft: space[16],\n marginRight: space[16],\n }),\n buttons: css({\n marginLeft: space[8],\n marginBottom: space[8],\n }),\n};\nconst space400 = `${400 / 16}rem`;\nconst menuContainerStyles = css({\n overflowY: \"auto\",\n height: space400,\n});\nconst listItemStyles = css({\n cursor: \"pointer\",\n padding: space[16],\n});\nconst promptStyles = css({\n marginLeft: space[16],\n marginRight: space[16],\n paddingTop: space[16],\n paddingBottom: space[16],\n borderTop: `1px solid ${themeTokens.color.border.secondary}`,\n});\n","/* eslint-disable @typescript-eslint/no-non-null-assertion */\n/* eslint-disable no-eq-null */\nimport { Button, IconButton } from \"@octopusdeploy/design-system-components\";\nimport { XmarkIcon } from \"@octopusdeploy/design-system-icons\";\nimport { noOp } from \"@octopusdeploy/utilities\";\nimport * as React from \"react\";\nimport InputWithActions from \"~/components/InputWithActions\";\nimport Text from \"~/primitiveComponents/form/Text/Text\";\nimport type FormFieldProps from \"../FormFieldProps\";\nimport styles from \"./style.module.less\";\nexport interface LogoEditorSettings {\n file?: File;\n reset: boolean;\n}\ninterface LogoEditorProps extends FormFieldProps {\n autoFocus?: boolean;\n type?: string;\n placeholder?: string;\n error?: string;\n onValidate?(value: string): void;\n}\nexport default class LogoEditor extends React.Component {\n input: HTMLInputElement = undefined!;\n constructor(props: LogoEditorProps) {\n super(props);\n }\n handleFileChange = (e: React.ChangeEvent) => {\n if (!e.target.files || e.target.files.length < 1) {\n this.onValidate(\"No file selected\");\n return;\n }\n const file = e.target.files[0];\n const ValidImageTypes = [\"image/gif\", \"image/jpeg\", \"image/png\"];\n if (ValidImageTypes.indexOf(file.type) < 0) {\n this.onValidate(\"Selected file was not an image\");\n return;\n }\n this.onValidate(\"\");\n const value: LogoEditorSettings = {\n file,\n reset: false,\n };\n if (this.props.onChange) {\n this.props.onChange(value);\n }\n };\n onValidate(message: string) {\n if (this.props.onValidate) {\n this.props.onValidate(message);\n }\n }\n useDefault = (event: React.MouseEvent) => {\n //event.preventDefault();\n event.stopPropagation();\n const value: LogoEditorSettings = {\n file: undefined,\n reset: true,\n };\n if (this.props.onChange) {\n this.props.onChange(value);\n }\n };\n clear = () => {\n const value: LogoEditorSettings = {\n file: undefined,\n reset: false,\n };\n if (this.props.onChange) {\n this.props.onChange(value);\n }\n };\n chooseFile = () => {\n this.input.click();\n };\n render() {\n const { value, error, placeholder } = this.props;\n const logInputValue = value?.file?.name ? value.file.name : \"\";\n return (
    \n
    \n \n this.useDefault(e)} customIcon={}/>,\n }\n : undefined}/>\n
    } actions={
    \n
    \n
    \n Best format: transparent PNG 100 x 100 pixels.\n
    \n
    JPG and GIF are also suitable.
    \n
    \n
    );\n }\n static displayName = \"LogoEditor\";\n}\n","export class MarkdownProvider {\n private value: string;\n private selectionStart: number;\n private selectionEnd: number;\n private before: string;\n private after: string;\n private addNewLine: boolean;\n private afterNewline: string;\n private emptyText: string;\n public constructor(value: string, selectionStart: number, selectionEnd: number) {\n this.value = value;\n this.selectionStart = selectionStart;\n this.selectionEnd = selectionEnd;\n this.before = \"\";\n this.after = \"\";\n this.addNewLine = false;\n this.afterNewline = \"\";\n this.emptyText = \"\";\n }\n insertBefore(before: string) {\n this.before = before;\n return this;\n }\n insertAfter(after: string) {\n this.after = after;\n return this;\n }\n surroundWithNewlines() {\n this.addNewLine = true;\n return this;\n }\n insertAfterNewlineInSelection(afterNewline: string) {\n this.afterNewline = afterNewline;\n return this;\n }\n emptySelectionText(emptyText: string) {\n this.emptyText = emptyText;\n return this;\n }\n apply(callback: (value: string, selectionStart: number, selectionEnd: number) => void) {\n this.trimSelection();\n if (this.emptyText && this.selectionStart === this.selectionEnd) {\n this.addEmptyText();\n }\n if (this.addNewLine) {\n this.addNewLineImpl();\n }\n this.value = this.splice(this.value, this.selectionEnd, this.after);\n this.value = this.splice(this.value, this.selectionStart, this.before);\n this.selectionStart = this.selectionStart + this.before.length;\n this.selectionEnd = this.selectionEnd + this.before.length;\n if (this.afterNewline) {\n this.insertAfterNewlineInSelectionImpl();\n }\n callback(this.value, this.selectionStart, this.selectionEnd);\n }\n private splice(input: string, start: number, newSubStr: string) {\n return input.slice(0, start) + newSubStr + input.slice(start);\n }\n private addNewLineImpl() {\n // add a newline character for lists and comments,\n // but not if there is already one there\n const beforeSelection = this.value[this.selectionStart - 1];\n if (beforeSelection !== \"\\n\" && beforeSelection !== undefined) {\n this.value = this.splice(this.value, this.selectionStart, \"\\n\");\n this.selectionStart += 1;\n this.selectionEnd += 1;\n }\n const afterSelection = this.value[this.selectionEnd];\n if (afterSelection !== \"\\n\" && afterSelection !== undefined) {\n this.value = this.splice(this.value, this.selectionEnd, \"\\n\");\n }\n }\n private trimSelection() {\n // trim whitespace from the selection (this was implemented in\n // other online markdown editors when I checked how they handled selection)\n while (this.value[this.selectionStart] === \" \" && this.selectionStart < this.selectionEnd) {\n this.selectionStart += 1;\n }\n while (this.value[this.selectionEnd - 1] === \" \" && this.selectionStart < this.selectionEnd) {\n this.selectionEnd -= 1;\n }\n }\n private insertAfterNewlineInSelectionImpl() {\n // insert something after each newLine in the selection\n const selectedText = this.value.slice(this.selectionStart, this.selectionEnd);\n // eslint-disable-next-line no-control-regex\n const updatedText = selectedText.replace(new RegExp(\"\\n\", \"g\"), \"\\n\" + this.afterNewline);\n this.value = this.value.slice(0, this.selectionStart) + updatedText + this.value.slice(this.selectionEnd);\n this.selectionEnd = this.selectionEnd - selectedText.length + updatedText.length;\n }\n private addEmptyText() {\n this.value = this.splice(this.value, this.selectionStart, this.emptyText);\n this.selectionEnd = this.selectionEnd + this.emptyText.length;\n }\n}\n","/* eslint-disable @typescript-eslint/no-non-null-assertion */\n/* eslint-disable no-eq-null */\n/* eslint-disable @octopusdeploy/custom-portal-rules/no-restricted-imports */\nimport { css } from \"@emotion/css\";\nimport { ActionButton, ActionButtonType, IconButton, Tooltip } from \"@octopusdeploy/design-system-components\";\nimport { borderRadius, space, themeTokens } from \"@octopusdeploy/design-system-tokens\";\nimport cn from \"classnames\";\nimport * as React from \"react\";\nimport ExternalLink from \"~/components/Navigation/ExternalLink/ExternalLink\";\nimport { MarkdownProvider } from \"~/components/form/MarkdownEditor/MarkdownProvider\";\nimport type { TextInputRef, GlobalConnectedProps } from \"~/components/form/VariableLookup/VariableLookup\";\nimport { withVariableLookup } from \"~/components/form/VariableLookup/VariableLookup\";\nimport Note from \"~/primitiveComponents/form/Note/Note\";\nimport Text from \"~/primitiveComponents/form/Text/Text\";\nimport type { TextInput } from \"~/primitiveComponents/form/Text/Text\";\nimport type FormFieldProps from \"../FormFieldProps\";\ninterface MarkdownEditorProps extends FormFieldProps {\n accessibleName?: string;\n autoFocus?: boolean;\n placeholder?: string;\n bottomNoteText?: string | null;\n restrictHeight?: boolean;\n disabled?: boolean;\n label?: string | JSX.Element;\n error?: string;\n hideMarkdownToggle?: boolean;\n validate?(value: string): string;\n onValidate?(value: string): void;\n textInputRef?(input: TextInputRef | null): void;\n}\ninterface MarkdownEditorState {\n error?: string;\n showExternalError: boolean;\n showMarkdownEditor: boolean;\n}\n//eslint-disable-next-line react/no-unsafe\nexport default class MarkdownEditor extends React.Component {\n static defaultProps: Partial = {\n autoFocus: false,\n bottomNoteText: null,\n };\n text: TextInput = undefined!;\n localStorageKeyForShowingMarkdownControls = \"MarkdownEditor.showMarkdownControls\";\n constructor(props: MarkdownEditorProps) {\n super(props);\n this.state = {\n showExternalError: true,\n showMarkdownEditor: this.showMarkdownControls(),\n };\n }\n UNSAFE_componentWillReceiveProps(nextProps: MarkdownEditorProps) {\n const isNewExternalErrorAvailable = nextProps.error !== this.props.error;\n if (isNewExternalErrorAvailable) {\n this.setState({ showExternalError: true });\n }\n }\n showMarkdownControls() {\n if (localStorage.getItem(this.localStorageKeyForShowingMarkdownControls) !== null) {\n return localStorage.getItem(this.localStorageKeyForShowingMarkdownControls) === \"true\" ? true : false;\n }\n return false;\n }\n handleChange = (value: string) => {\n this.callValidateAndChange(value);\n };\n callValidateAndChange(value: string) {\n if (this.props.validate) {\n const validateResult = this.props.validate(value);\n this.setState({ error: validateResult });\n if (this.props.onValidate) {\n this.props.onValidate(validateResult);\n }\n }\n this.setState({ showExternalError: false });\n this.props.onChange!(value);\n }\n getInputState = (): MarkdownProvider => {\n const value = this.props.value == null ? \"\" : this.props.value;\n const selection = this.text.getSelection();\n return new MarkdownProvider(value, selection.start ?? 0, selection.end ?? 0);\n };\n setInputState = (value: string, selectionStart: number, selectionEnd: number) => {\n const selection = {\n start: selectionStart,\n end: selectionEnd,\n };\n this.text.setValueAndSelection(selection, value);\n this.text.focus();\n };\n bold = () => {\n this.getInputState().insertBefore(\"**\").insertAfter(\"**\").emptySelectionText(\"Bold text\").apply(this.setInputState);\n };\n italic = () => {\n this.getInputState().insertBefore(\"_\").insertAfter(\"_\").emptySelectionText(\"Italic text\").apply(this.setInputState);\n };\n bullet = () => {\n this.getInputState().surroundWithNewlines().insertBefore(\"- \").emptySelectionText(\"List item\").apply(this.setInputState);\n };\n number = () => {\n this.getInputState().surroundWithNewlines().insertBefore(\"1. \").emptySelectionText(\"List item\").apply(this.setInputState);\n };\n quote = () => {\n this.getInputState().surroundWithNewlines().insertBefore(\"> \").insertAfterNewlineInSelection(\"> \").emptySelectionText(\"Quoted text\").apply(this.setInputState);\n };\n code = () => {\n this.getInputState().surroundWithNewlines().insertBefore(\"```\\n\").insertAfter(\"\\n```\").emptySelectionText(\"Code\").apply(this.setInputState);\n };\n link = () => {\n const url = prompt(\"Please enter a url for the link:\", \"http://\");\n if (url) {\n this.getInputState()\n .insertBefore(\"[\")\n .insertAfter(\"](\" + url + \")\")\n .emptySelectionText(\"Enter link description here\")\n .apply(this.setInputState);\n }\n };\n image = () => {\n const url = prompt(\"Please enter a url for the image:\", \"http://\");\n if (url) {\n this.getInputState()\n .insertBefore(\"![\")\n .insertAfter(\"](\" + url + \")\")\n .emptySelectionText(\"Enter image description here\")\n .apply(this.setInputState);\n }\n };\n render() {\n const { value, label, validate, error, onChange, onValidate, placeholder, textInputRef, bottomNoteText, accessibleName, hideMarkdownToggle = false, restrictHeight, ...otherProps } = this.props;\n const errorText = this.state.error ?? (this.state.showExternalError ? error : undefined);\n const val = value ? value : \"\";\n const markdownTitle = `${this.state.showMarkdownEditor ? \"Hide\" : \"Show\"} markdown controls`;\n const showMarkdownControlsToggle = hideMarkdownToggle ? null : ( {\n e.preventDefault();\n this.setState({ showMarkdownEditor: !this.state.showMarkdownEditor }, () => {\n localStorage.setItem(this.localStorageKeyForShowingMarkdownControls, this.state.showMarkdownEditor.toString());\n });\n }}/>);\n return (
    \n
    \n {this.state.showMarkdownEditor && this.createButtons()}\n {\n if (this.props.textInputRef) {\n this.props.textInputRef(text);\n }\n this.text = text;\n }} value={val} onChange={this.handleChange} error={errorText} label={label} placeholder={placeholder} multiline={true} accessibleName={accessibleName} minRows={this.state.showMarkdownEditor ? 3 : 2} // 2 or 3 is enough to hint that this is a multi-line editor.\n showBorder={false} className={styles.inputContainer} hideUnderline={true} {...otherProps}/>\n
    \n {bottomNoteText && {bottomNoteText}}\n {this.state.showMarkdownEditor ? (
    \n {showMarkdownControlsToggle}\n \n Markdown instructions\n \n
    ) : (showMarkdownControlsToggle)}\n
    );\n }\n private createButtons() {\n return (
    \n {[\n this.editAction(\"Bold\", \"fa-bold\", this.bold),\n this.editAction(\"Italic\", \"fa-italic\", this.italic),\n this.editAction(\"Bulleted list\", \"fa-list-ul\", this.bullet),\n this.editAction(\"Numeric list\", \"fa-list-ol\", this.number),\n this.editAction(\"Picture\", \"fa-image\", this.image),\n this.editAction(\"Link\", \"fa-link\", this.link),\n this.editAction(\"Code\", \"fa-code\", this.code),\n this.editAction(\"Quotes\", \"fa-quote-left\", this.quote),\n ]}\n
    );\n }\n private editAction(label: string, faIcon: string, onClick: () => void) {\n return (\n }/>\n );\n }\n static displayName = \"MarkdownEditor\";\n}\nconst styles = {\n markdownEditorButtonStyle: css({\n \"&.MuiIconButton-root\": {\n minWidth: \"auto\",\n width: \"2rem\",\n height: \"2.25rem\",\n borderRadius: borderRadius.none,\n color: themeTokens.color.icon.secondary,\n fontSize: 14,\n padding: space[8],\n },\n }),\n markdownEditorContainer: css({\n position: \"relative\",\n width: \"100%\",\n }),\n markdownEditor: css({\n borderRadius: borderRadius.small,\n outline: `1px solid ${themeTokens.color.textField.border.default}`,\n marginBottom: space[8],\n \"&:hover\": {\n outline: `2px solid ${themeTokens.color.textField.border.hover}`,\n },\n \"&:has(div.MuiInputBase-root.MuiInput-root.Mui-focused)\": {\n outline: `2px solid ${themeTokens.color.textField.border.active}`,\n },\n \"& > div:has(div.MuiInputBase-root.MuiInput-root)\": {\n padding: \"10px 10px 0 10px\",\n },\n \"& .MuiInput-underline::before, & .MuiInput-underline:hover:not(.Mui-disabled)::before\": {\n borderBottom: \"none\",\n },\n \"& .MuiInput-underline::after\": {\n borderBottom: \"none\",\n },\n \"& label.MuiFormLabel-root.MuiInputLabel-root.MuiInputLabel-formControl\": {\n transform: \"translate(0, 8px) scale(1)\",\n \"&.Mui-focused\": {\n display: \"none\",\n },\n \"&.MuiFormLabel-filled\": {\n display: \"none\",\n },\n },\n \"& .MuiInputBase-root.MuiInput-root.MuiInputBase-formControl.MuiInput-formControl.MuiInputBase-multiline.MuiInput-multiline\": {\n margin: 0,\n padding: 0,\n },\n }),\n markdownControlsContainer: css({\n display: \"flex\",\n flexDirection: \"row\",\n alignItems: \"baseline\",\n button: {\n marginRight: space[8],\n },\n }),\n restrictedHeight: css({\n maxHeight: \"15rem\",\n }),\n iconButtonContainer: css({\n display: \"flex\",\n flexDirection: \"row\",\n justifyContent: \"flex-start\",\n backgroundColor: themeTokens.color.background.secondary.default,\n borderRadius: borderRadius.small,\n padding: `0 ${space[8]}`,\n gap: space[4],\n }),\n inputContainer: css({\n width: \"100%\",\n }),\n};\nconst MarkdownEditorWithInputRef = (props: MarkdownEditorProps & GlobalConnectedProps) => ;\nexport const VariableLookupMarkdownEditor = withVariableLookup()(MarkdownEditorWithInputRef);\n","import { css } from \"@emotion/css\";\nimport { IconButton } from \"@octopusdeploy/design-system-components\";\nimport { themeTokens, space } from \"@octopusdeploy/design-system-tokens\";\nimport cn from \"classnames\";\nimport * as React from \"react\";\nimport styles from \"./style.module.less\";\ntype CommonCardTitleProps = {\n title: JSX.Element;\n forceMobileBehaviour?: boolean;\n useCardTitleContainerStyle?: boolean;\n};\ntype NonExpandableCardTitleProps = CommonCardTitleProps;\ninterface ExpandableCardTitleProps extends CommonCardTitleProps {\n onToggleExpand: React.MouseEventHandler;\n isExpanded: boolean;\n accessibleName: string;\n}\ntype CardTitleProps = NonExpandableCardTitleProps | ExpandableCardTitleProps;\nfunction CardTitle(props: CardTitleProps) {\n if (\"onToggleExpand\" in props) {\n const { isExpanded = false } = props;\n return (
    \n
    {props.title}
    \n
    \n {Boolean(props.onToggleExpand) && }\n
    \n
    );\n }\n return (
    \n
    {props.title}
    \n
    \n
    );\n}\nconst clickableStyles = css({\n cursor: \"pointer\",\n display: \"flex\",\n flexDirection: \"row\",\n \"&:hover\": {\n backgroundColor: themeTokens.color.background.primary.hovered,\n },\n});\nfunction getExpansionButtonAccessibleName(name: string | undefined, expanded: boolean) {\n const action = expanded ? \"Collapse\" : \"Expand\";\n return name ? `${action} ${name}` : `${action} expander`;\n}\ninterface ExpandIconButtonProps {\n onClick: ((e: React.MouseEvent) => void) | undefined;\n isExpanded: boolean;\n accessibleName: string;\n}\nfunction ExpandIconButton({ isExpanded, onClick, accessibleName }: ExpandIconButtonProps) {\n return ();\n}\nexport default CardTitle;\n","/* eslint-disable @typescript-eslint/no-explicit-any */\n// eslint-disable-next-line @octopusdeploy/custom-portal-rules/no-restricted-imports\nimport type { TransitionProps } from \"@material-ui/core/transitions/transition\";\nimport { Collapse } from \"@octopusdeploy/design-system-components\";\nimport cn from \"classnames\";\nimport * as React from \"react\";\nimport type { ExpandableProps, ExpandableContainerProps } from \"~/components/Expandable/Expandable\";\nimport Expandable from \"~/components/Expandable/Expandable\";\nimport { OverflowMenu } from \"~/components/OverflowMenu/OverflowMenu\";\nimport type { MenuItem } from \"~/components/OverflowMenu/OverflowMenu\";\nimport type { FormSectionBaseProps } from \"~/components/form/Sections/FormSectionBase\";\nimport { FormSectionBase } from \"~/components/form/Sections/FormSectionBase\";\nimport { useTransitionComponentOverride } from \"~/primitiveComponents/transitions/overrideTransitions\";\nimport CardTitle from \"./CardTitle\";\nimport type { SummaryNode } from \"./Summary\";\nimport { getSummary } from \"./Summary\";\nimport styles from \"./style.module.less\";\nexport type { SummaryNode };\nexport enum CardFill {\n None,\n FillRight,\n FillAll\n}\n//todo: mattr: change all usages of this to use a new FormSection component that switches between this and NonExpandableFormSection\ninterface ExpandableFormSectionProps extends FormSectionBaseProps {\n summary: SummaryNode | React.ReactNode;\n title: string;\n chip?: React.ReactElement;\n help?: React.ReactNode; //todo: mattr: make mandatory\n expandable?: boolean; //todo: this prop will move to the new FormSection component\n focusOnExpandAll?: boolean;\n fillCardWidth?: CardFill;\n overflowMenuItems?: Array;\n useCardTitleContainerStyleForSummary?: boolean;\n hasInitialFocus?: boolean;\n TransitionComponent: React.ComponentType;\n contextualHelp?: React.ReactNode;\n}\ntype Props = ExpandableFormSectionProps & ExpandableProps & ExpandableContainerProps;\ninterface ExpandableFormSectionState {\n focus: boolean;\n}\nexport class ExpandableFormSectionInternal extends FormSectionBase {\n constructor(props: Props) {\n super(props);\n this.state = { focus: this.props.hasInitialFocus || this.props.focusOnExpandAll || false };\n }\n // we can't just use actAsExpander on card Title because it eats the click\n // and we can't add links to the title in help text or our show more info link\n handleExpand = (e: any) => {\n if (e.target.tagName.toLowerCase() !== \"a\") {\n e.preventDefault();\n const selection = window.getSelection();\n const isSelectingText = selection ? selection.toString().length > 0 : false;\n if (isSelectingText) {\n // usability: Don't expand/collapse in cases where the user is just trying to select/copy text\n // from our expander's title, summary or help text.\n return;\n }\n this.props.onExpandedChanged(!this.props.isExpanded);\n }\n };\n componentDidUpdate(prevProps: Props) {\n const isExpanding = !prevProps.isExpanded && this.props.isExpanded;\n const expansionChanged = this.props.isExpanded !== prevProps.isExpanded;\n if (expansionChanged) {\n let nextState: ExpandableFormSectionState = this.state;\n //Expand All\n if (isExpanding && this.props.expandingAll && this.props.focusOnExpandAll) {\n nextState = { ...nextState, focus: true };\n //General expasion, manually triggered\n }\n else if (isExpanding && !this.props.expandingAll) {\n nextState = { ...nextState, focus: true };\n }\n this.setState(nextState);\n }\n }\n componentDidMount() {\n //Fallback if not used via expandable and isExpanded etc. isn't in the correct state\n if (!this.props.isExpanded && this.props.isExpandedByDefault) {\n this.props.onExpandedChanged(true);\n }\n }\n onBlur = () => {\n this.setState({ focus: false });\n };\n render() {\n const TransitionComponent = this.props.TransitionComponent;\n const { expandable = !this.props.children ? false : true } = this.props;\n const { forceMobileBehaviour } = this.props;\n const summary = getSummary(this.props.summary, { forceMobileBehaviour: Boolean(forceMobileBehaviour) });\n const subtitle = this.props.isExpanded ? this.help(this.props.help) : summary;\n const title = this.title(this.props.title, subtitle, this.props.chip, this.props.isExpanded ? this.props.contextualHelp : null);\n const bodyclasses = cn({\n [styles.cardMedia]: true,\n [styles.cardMediaForceMobile]: this.props.forceMobileBehaviour,\n [styles.cardMediaFillRight]: this.props.fillCardWidth === CardFill.FillRight || this.props.fillCardWidth === CardFill.FillAll,\n [styles.cardMediaFillAll]: this.props.fillCardWidth === CardFill.FillAll,\n });\n return (
    \n {expandable ? (<>\n \n \n {this.body(bodyclasses, true)}\n \n ) : (<>\n \n {this.body(bodyclasses, true)}\n )}\n
    );\n }\n protected title(title: React.ReactNode, subtitle: React.ReactNode, chip?: React.ReactElement, contextualHelp?: React.ReactNode) {\n const sectionTitle = chip ? (\n {title} {chip}\n ) : (title);\n return (<>\n \n {sectionTitle}\n {contextualHelp}\n \n {subtitle}\n {this.props.overflowMenuItems && (
    \n \n
    )}\n );\n }\n protected alterChild = (child: any): any => {\n //const focusOnExpand = this.props.expandingAll === false || this.props.focusOnExpandAll;\n if (this.state.focus && this.isFocusableControl(child)) {\n return React.cloneElement(child, {\n ...child.props,\n autoFocus: true,\n });\n }\n return child;\n };\n private isFocusableControl = (child: any) => {\n //TODO: We should check if we can find an alternate way to determine this, possibly by making this controlled via the consumer.\n return child.props && (child.props.onChange || child.props.setProperties) && !child.props.doNotAutoFocus;\n };\n static displayName = \"ExpandableFormSectionInternal\";\n}\nfunction CollapseWithAutoTimeout({ children, ...rest }: React.PropsWithChildren) {\n return (\n {children}\n );\n}\nfunction ExpandableFormSectionWithInjectedContext(props: Omit) {\n const TransitionComponent = useTransitionComponentOverride() ?? CollapseWithAutoTimeout;\n return ;\n}\nconst ExpandableFormSection = Expandable(ExpandableFormSectionWithInjectedContext);\nexport { ExpandableFormSectionProps };\nexport default ExpandableFormSection;\n","import * as React from \"react\";\nimport { useDispatch, useSelector } from \"react-redux\";\nimport type { FieldErrors } from \"~/components/DataBaseComponent/Errors\";\nimport { useExpandAllExpanders } from \"~/components/Expandable/useExpandAllExpanders\";\nimport { useExpandExpanders } from \"~/components/Expandable/useExpandExpanders\";\nimport type { ExpanderContainer } from \"~/components/form/Sections/reducers/expanders\";\nimport { defaultContainerKey, defaultExpanderContainer, expanderActions, UseInitialValueOfContainer } from \"~/components/form/Sections/reducers/expanders\";\nimport store from \"~/store\";\nimport styles from \"./style.module.less\";\nexport const toggleExpanders = (expanded: boolean, containerKey?: string) => {\n store.dispatch(expanderActions.onToggleAll({ containerKey: containerKey ?? null, expanded }));\n};\nexport type ExpansionButtonsProps = {\n expandAllOnMount?: boolean;\n errors?: FieldErrors;\n containerKey?: string;\n};\nfunction ExpansionButtons({ containerKey, expandAllOnMount, errors }: ExpansionButtonsProps) {\n const dispatch = useDispatch();\n const expandExpanders = useExpandExpanders(containerKey);\n const expandAll = useExpandAllExpanders(containerKey);\n React.useEffect(() => {\n dispatch(expanderActions.onExpanderSetInitialState({ containerKey: containerKey ?? null, initialState: expandAllOnMount ?? false }));\n return () => {\n dispatch(expanderActions.onExpanderContainerDestroyed({ containerKey: containerKey ?? null }));\n };\n }, [containerKey, dispatch, expandAllOnMount]);\n React.useEffect(() => {\n const errorKeys = Object.keys(errors ?? {});\n if (errorKeys.length > 0) {\n expandExpanders(errorKeys);\n }\n }, [errors, expandExpanders]);\n React.useEffect(() => {\n if (expandAllOnMount) {\n expandAll(true);\n }\n }, [expandAll, expandAllOnMount]);\n const onExpandAll = React.useCallback((e: React.MouseEvent) => {\n e.preventDefault();\n expandAll(true);\n }, [expandAll]);\n const onCollapseAll = React.useCallback((e: React.MouseEvent) => {\n e.preventDefault();\n expandAll(false);\n }, [expandAll]);\n const { hasCollapsedExpanders, hasExpandedExpanders, hasExpanders } = useSelector((state: GlobalState) => {\n const container = state.expanders?.[containerKey || defaultContainerKey] ?? defaultExpanderContainer();\n const expanded = Object.keys(container.expanderValues).map((errorKey) => getValueForKey(container, errorKey));\n return { hasExpandedExpanders: expanded.some((e) => e), hasCollapsedExpanders: expanded.some((e) => !e), hasExpanders: expanded.length > 0 };\n });\n return (<>\n {hasExpanders && (
    \n {hasCollapsedExpanders && (\n EXPAND ALL\n )}\n {hasExpandedExpanders && (\n COLLAPSE ALL\n )}\n
    )}\n );\n}\nfunction getValueForKey(container: ExpanderContainer, errorKey: string) {\n const value = container.expanderValues[errorKey];\n return value === UseInitialValueOfContainer ? container.initialState : value;\n}\nexport default ExpansionButtons;\n","/* eslint-disable @octopusdeploy/custom-portal-rules/no-restricted-imports */\nimport classnames from \"classnames\";\nimport * as React from \"react\";\nimport type { FormSectionBaseProps } from \"~/components/form/Sections/FormSectionBase\";\nimport { FormSectionBase } from \"~/components/form/Sections/FormSectionBase\";\nimport CardTitle from \"./CardTitle\";\nimport styles from \"./style.module.less\";\ninterface FormSectionProps extends FormSectionBaseProps {\n title?: React.ReactNode;\n help?: React.ReactNode;\n includeBorder?: boolean;\n}\n//todo: mattr: rename this to NonExpandableFormSection and add new FormSection component that switches between this and ExpandableFormSection\nexport default class FormSection extends FormSectionBase {\n render() {\n return (
    \n {this.props.title && }\n {this.props.children && this.body(styles.cardMedia, false)}\n
    );\n }\n static displayName = \"FormSection\";\n}\n","/* eslint-disable @typescript-eslint/no-explicit-any */\n/* eslint-disable @typescript-eslint/no-non-null-assertion */\n/* eslint-disable @octopusdeploy/custom-portal-rules/no-restricted-imports */\nimport cn from \"classnames\";\nimport * as React from \"react\";\nimport styles from \"./style.module.less\";\nexport interface FormSectionBaseProps {\n error?: string;\n forceMobileBehaviour?: boolean;\n}\nexport abstract class FormSectionBase extends React.Component {\n protected alterChild: (child: any) => void = undefined!;\n renderChild = (child: any) => {\n if (!child) {\n return child;\n }\n const children: any = child.props && child.props.children ? { children: typeof child.props.children !== \"function\" ? this.renderChildren(child.props.children) : child.props.children } : null;\n if (this.alterChild) {\n child = this.alterChild(child);\n }\n const props = children ? { ...child.props, ...children } : child.props;\n return React.isValidElement(child) ? React.cloneElement(child, props) : child;\n };\n renderChildren = (children: any) => {\n return React.Children.map(children, this.renderChild);\n };\n abstract render(): any;\n protected title(title: React.ReactNode, subtitle: React.ReactNode) {\n return (
    \n {title}\n {subtitle}\n
    );\n }\n protected help(help: React.ReactNode) {\n return {this.renderChild(help ||
    )};\n }\n protected body(className: string, expandable: boolean) {\n return
    {this.renderChildren(this.props.children)}
    ;\n }\n static displayName = \"FormSectionBase\";\n}\n","import * as React from \"react\";\nimport SectionHeading from \"~/primitiveComponents/dataDisplay/Section/SectionHeading\";\ninterface FormSectionHeadingProps {\n title: string | JSX.Element;\n description?: string | JSX.Element;\n}\nclass FormSectionHeading extends React.Component {\n render() {\n return ;\n }\n static displayName = \"FormSectionHeading\";\n}\nexport default FormSectionHeading;\n","/* eslint-disable @typescript-eslint/consistent-type-assertions */\nimport cn from \"classnames\";\nimport * as React from \"react\";\nimport styles from \"./style.module.less\";\ntype SummaryNodeType = \"placeholder\" | \"summary\" | \"default\";\nexport interface SummaryNode {\n node: React.ReactNode;\n type: SummaryNodeType;\n}\nexport default class Summary {\n static placeholder(node: React.ReactNode): SummaryNode {\n return {\n node,\n type: \"placeholder\",\n };\n }\n static default(node: React.ReactNode): SummaryNode {\n return {\n node,\n type: \"default\",\n };\n }\n static summary(node: React.ReactNode): SummaryNode {\n return {\n node,\n type: \"summary\",\n };\n }\n}\nexport interface ClassNameProps {\n className?: string;\n}\nexport interface SummaryNodeProps {\n forceMobileBehaviour?: boolean;\n}\nconst getSummaryClasses = (props: SummaryNodeProps & ClassNameProps, ...other: string[]) => cn(props.className, { [styles.cardSubTitleForceMobile]: props.forceMobileBehaviour }, other);\nconst SummaryContainer: React.FC = ({ className, children }) => {children};\nSummaryContainer.displayName = \"SummaryContainer\"\nexport const PlaceholderSummary: React.FC = (props) => {props.children};\nPlaceholderSummary.displayName = \"PlaceholderSummary\"\nPlaceholderSummary.displayName = \"PlaceHolderSummary\";\nexport const DefaultSummary: React.FC = (props) => {props.children};\nDefaultSummary.displayName = \"DefaultSummary\"\nDefaultSummary.displayName = \"DefaultSummary\";\nexport const OverflowSummary: React.FC = (props) => {props.children};\nOverflowSummary.displayName = \"OverflowSummary\"\nOverflowSummary.displayName = \"OverflowSummary\";\nconst lookup: Record> = {\n default: DefaultSummary,\n placeholder: PlaceholderSummary,\n summary: OverflowSummary,\n};\nexport const getSummary = (node: SummaryNode | React.ReactNode, props: SummaryNodeProps) => {\n if (isSummaryNode(node)) {\n const { type, node: content } = node;\n return (\n {content}\n );\n }\n else if (React.isValidElement(node)) {\n return React.cloneElement(node, props);\n }\n return node;\n};\nexport const SummaryLookup: React.FC<{\n type: SummaryNodeType;\n} & SummaryNodeProps> = ({ type, ...rest }) => {\n const Component = lookup[type];\n return ;\n};\nSummaryLookup.displayName = \"SummaryLookup\"\nSummaryLookup.displayName = \"SummaryLookup\";\nconst isSummaryNode = (node: SummaryNode | React.ReactNode): node is SummaryNode => {\n const summaryNode = node as SummaryNode;\n return summaryNode && summaryNode.type && lookup.hasOwnProperty(summaryNode.type);\n};\n","/* eslint-disable @octopusdeploy/custom-portal-rules/no-restricted-imports */\nimport cn from \"classnames\";\nimport * as React from \"react\";\nimport type { FormSectionBaseProps } from \"~/components/form/Sections/FormSectionBase\";\nimport { FormSectionBase } from \"~/components/form/Sections/FormSectionBase\";\nimport styles from \"./style.module.less\";\ninterface UnstructuredFormSectionProps extends FormSectionBaseProps {\n className?: string;\n stretchContent?: boolean;\n}\nclass UnstructuredFormSection extends FormSectionBase {\n render() {\n return (
    \n
    {this.props.children}
    \n
    );\n }\n static displayName = \"UnstructuredFormSection\";\n}\nexport default UnstructuredFormSection;\n","import { isEqual } from \"lodash\";\nimport type { Reducer } from \"redux\";\nimport type { ActionType } from \"typesafe-actions\";\nimport { createAction, getType } from \"typesafe-actions\";\nexport const expanderActions = {\n onExpanderStateChanged: createAction(\"EXPANDER_STATE_CHANGED\", (payload: ExpanderStateChangedPayload) => payload)(),\n onExpanderContainerDestroyed: createAction(\"EXPANDER_CONTAINER_DESTROYED\", (payload: PossiblySpecifiesContainerKey) => payload)(),\n onExpanderSetInitialState: createAction(\"EXPANDER_CONTAINER_INITIAL_STATE\", (payload: SetInitialExpanderStatePayload) => payload)(),\n onExpandExpanders: createAction(\"EXPANDER_EXPAND\", (payload: ExpandExpandersPayload) => payload)(),\n onToggleAll: createAction(\"EXPANDER_TOGGLE_ALL\", (payload: ToggleAllExpandersPayload) => payload)(),\n onExpanderCreated: createAction(\"EXPANDER_CREATED\", (payload: ExpanderCreatedPayload) => payload)(),\n onAllExpandersCreated: createAction(\"ALL_EXPANDERS_CREATED\", (payload: AllExpandersCreatedPayload) => payload)(),\n};\nexport type ExpanderActions = ActionType;\ntype ContainerKey = string;\ntype ExpanderKey = string;\ntype IsExpanded = boolean;\nexport type ExpanderState = IsExpanded | typeof UseInitialValueOfContainer;\nexport const UseInitialValueOfContainer = undefined;\ninterface PossiblySpecifiesContainerKey {\n containerKey: ContainerKey | null;\n}\ninterface SpecifiesContainerKey {\n containerKey: ContainerKey;\n}\ninterface ExpandExpandersPayload extends PossiblySpecifiesContainerKey {\n expandersWithKeys: ReadonlyArray;\n}\ninterface ToggleAllExpandersPayload extends PossiblySpecifiesContainerKey {\n expanded: IsExpanded;\n}\ninterface ExpanderCreatedPayload extends SpecifiesContainerKey {\n key: ExpanderKey;\n expanded: ExpanderState;\n}\ninterface AllExpandersCreatedPayload extends SpecifiesContainerKey {\n keys: ExpanderKey[];\n expanded: IsExpanded;\n}\ninterface ExpanderStateChangedPayload extends PossiblySpecifiesContainerKey {\n key: ExpanderKey;\n expanded: IsExpanded;\n}\ninterface SetInitialExpanderStatePayload extends PossiblySpecifiesContainerKey {\n initialState: IsExpanded;\n}\nexport const defaultContainerKey: ContainerKey = \"default\";\nexport type ExpanderValues = {\n [errorKey: string]: ExpanderState;\n};\nexport interface ExpanderContainer {\n expanderValues: ExpanderValues;\n initialState: IsExpanded;\n expandingAll: boolean;\n}\nexport type ExpandersState = {\n [containerKey: string]: ExpanderContainer | undefined;\n};\nconst expanders: Reducer = (state = {}, action: ExpanderActions): ExpandersState => {\n switch (action.type) {\n case getType(expanderActions.onExpandExpanders):\n return expanderExpandErrors(state, action.payload, getContainerKeyOrDefault());\n case getType(expanderActions.onToggleAll):\n return expanderToggleAll(state, action.payload, getContainerKeyOrDefault());\n case getType(expanderActions.onExpanderStateChanged):\n return expanderStateChanged(state, action.payload, getContainerKeyOrDefault());\n case getType(expanderActions.onExpanderContainerDestroyed):\n return expanderContainerDestroyed(state, getContainerKeyOrDefault());\n case getType(expanderActions.onExpanderSetInitialState):\n return expanderContainerInitialState(state, action.payload, getContainerKeyOrDefault());\n case getType(expanderActions.onExpanderCreated):\n return expanderCreated(state, action.payload);\n case getType(expanderActions.onAllExpandersCreated):\n return allExpandersCreated(state, action.payload);\n default:\n return state;\n }\n function getContainerKeyOrDefault() {\n return action.payload.containerKey || defaultContainerKey;\n }\n};\nfunction expanderExpandErrors(state: ExpandersState, action: ExpandExpandersPayload, containerKey: ContainerKey) {\n const container: ExpanderContainer = state[containerKey] || defaultExpanderContainer();\n const errored = action.expandersWithKeys\n .map((e) => findMatchingKey(container.expanderValues, e))\n .filter(errorKeyWasFound)\n .reduce((p, expanderKeyWithError) => ({ ...p, [expanderKeyWithError]: true }), {});\n const updatedContainer: ExpanderContainer = {\n ...container,\n expanderValues: {\n ...container.expanderValues,\n ...errored,\n },\n };\n if (isEqual(container, updatedContainer)) {\n // don't mutate state if we aren't changing anything to avoid infinite update loops\n return state;\n }\n return {\n ...state,\n [containerKey]: updatedContainer,\n };\n function errorKeyWasFound(possibleErrorKey: ExpanderKey | undefined): possibleErrorKey is ExpanderKey {\n return possibleErrorKey !== undefined;\n }\n}\nfunction findMatchingKey(allExpanderValues: ExpanderValues, expanderKeyWithError: ExpanderKey): ExpanderKey | undefined {\n // given an object with some pipe-delimited keys like:\n // {\n // \"first|second\": true\n // }\n // given \"first\" return \"first|second\". This allows us to set errorkeys that\n // match multiple possible errors (ie if you have an expander with mutiple controls)\n // remove \"Steps[12].\" and \"Actions[0].\" from the start of the error key. Our validation adds that\n // to indicate which step the error is in\n let modKey = expanderKeyWithError.replace(/^Steps\\[[0-9]+\\]\\./, \"\");\n modKey = modKey.replace(/^Actions\\[[0-9]+\\]\\./, \"\");\n return Object.keys(allExpanderValues).find((k) => k.split(\"|\").some((f) => f.toLowerCase() === modKey.toLowerCase()));\n}\nfunction expanderToggleAll(state: ExpandersState, action: ToggleAllExpandersPayload, containerKey: ContainerKey) {\n const container: ExpanderContainer = state[containerKey] || defaultExpanderContainer();\n const updatedContainer: ExpanderContainer = {\n ...container,\n expandingAll: action.expanded,\n expanderValues: setAllToValue(container.expanderValues, action.expanded),\n };\n return {\n ...state,\n [containerKey]: updatedContainer,\n };\n}\nfunction expanderStateChanged(state: ExpandersState, action: ExpanderStateChangedPayload, containerKey: ContainerKey) {\n const container: ExpanderContainer = state[containerKey] || defaultExpanderContainer();\n const updatedContainer: ExpanderContainer = {\n ...container,\n expandingAll: false,\n expanderValues: {\n ...container.expanderValues,\n [action.key.toLowerCase()]: action.expanded,\n },\n };\n return {\n ...state,\n [containerKey]: updatedContainer,\n };\n}\nfunction expanderContainerDestroyed(state: ExpandersState, containerKey: ContainerKey) {\n const copy = { ...state };\n delete copy[containerKey];\n return copy;\n}\nfunction expanderContainerInitialState(state: ExpandersState, action: SetInitialExpanderStatePayload, containerKey: ContainerKey) {\n // set the initial state of the expander container, if there are already\n // expanders attached, set them to that state as well\n const container: ExpanderContainer = state[containerKey] || defaultExpanderContainer();\n const updatedContainer: ExpanderContainer = {\n expanderValues: setAllToValue(container.expanderValues, UseInitialValueOfContainer),\n initialState: action.initialState,\n expandingAll: false,\n };\n return {\n ...state,\n [containerKey]: updatedContainer,\n };\n}\nfunction expanderCreated(state: ExpandersState, action: ExpanderCreatedPayload) {\n const container: ExpanderContainer = state[action.containerKey] || defaultExpanderContainer();\n const existingValue = container.expanderValues[action.key];\n const expanderValue = existingValue !== UseInitialValueOfContainer ? existingValue : action.expanded;\n const updatedContainer = {\n ...container,\n expanderValues: {\n ...container.expanderValues,\n [action.key.toLowerCase()]: expanderValue,\n },\n };\n return {\n ...state,\n [action.containerKey]: updatedContainer,\n };\n}\nfunction allExpandersCreated(state: ExpandersState, action: AllExpandersCreatedPayload) {\n // add a full set of expanders to a container. overwrite any existing.\n const container: ExpanderContainer = state[action.containerKey] || defaultExpanderContainer();\n const expanderValues = action.keys.reduce((acc: {\n [key: string]: IsExpanded;\n }, key: ExpanderKey) => {\n acc[key.toLowerCase()] = action.expanded;\n return acc;\n }, {});\n return {\n ...state,\n [action.containerKey]: {\n ...container,\n expanderValues,\n },\n };\n}\nexport function defaultExpanderContainer(): ExpanderContainer {\n return { initialState: false, expanderValues: {}, expandingAll: false };\n}\nfunction setAllToValue(expanderValues: ExpanderValues, to: ExpanderState): ExpanderValues {\n const newExpanderValues: ExpanderValues = {};\n Object.keys(expanderValues).forEach((k) => {\n newExpanderValues[k.toLowerCase()] = to;\n });\n return newExpanderValues;\n}\nexport default expanders;\n","/* eslint-disable @typescript-eslint/no-non-null-assertion */\nimport type { SensitiveValue } from \"@octopusdeploy/octopus-server-client\";\nimport * as React from \"react\";\nimport type { FormFieldProps } from \"~/components/form\";\nimport type { SensitiveOtherProps, StatelessSensitiveProps } from \"~/components/form/Sensitive/Sensitive\";\ninterface IncludeVariableSubstitutionState {\n warning: string | null;\n}\nconst getWarningIfHasVariableSubstitutionSyntax = (value: string | null | undefined) => {\n if (value && value.includes(\"##{\")) {\n return \"The '##{' characters will be escaped and won't be evaluated for variable substitution.\";\n }\n return null;\n};\nexport const IncludeVariableSubstitutionWarning = (Comp: React.ComponentClass & SensitiveOtherProps)>) => {\n type TProps = StatelessSensitiveProps;\n return class extends React.Component {\n constructor(props: TProps) {\n super(props);\n this.state = {\n warning: \"\",\n };\n }\n render() {\n const { warning, onChange, ...rest } = this.props;\n let resultWarning = this.state.warning;\n if (warning) {\n resultWarning += warning;\n }\n return ;\n }\n private onChange = (newValue: SensitiveValue) => {\n let warning: string | null = \"\";\n if (newValue.HasValue) {\n warning = getWarningIfHasVariableSubstitutionSyntax(newValue.NewValue);\n if (warning) {\n warning += \" \";\n }\n }\n if (this.state.warning !== warning) {\n this.setState({ warning });\n }\n if (this.props.onChange) {\n this.props.onChange(newValue);\n }\n };\n };\n};\n","/* eslint-disable @typescript-eslint/no-non-null-assertion */\n/* eslint-disable @typescript-eslint/consistent-type-assertions */\n/* eslint-disable @octopusdeploy/custom-portal-rules/no-restricted-imports */\nimport type { SensitiveValue } from \"@octopusdeploy/octopus-server-client\";\nimport { cloneDeep, compact } from \"lodash\";\nimport * as React from \"react\";\nimport IconButtonList from \"~/components/IconButtonList/IconButtonList\";\nimport { IconButtonWithTooltip } from \"~/components/IconButtonWithTooltip\";\nimport InputWithActions from \"~/components/InputWithActions/InputWithActions\";\nimport { withBoundField } from \"~/components/form/BoundField/BoundField\";\nimport { IncludeVariableSubstitutionWarning } from \"~/components/form/BoundField/IncludeVariableSubstitutionWarning\";\nimport Text from \"~/primitiveComponents/form/Text/Text\";\nimport type { TextInput } from \"~/primitiveComponents/form/Text/Text\";\nimport type FormFieldProps from \"../FormFieldProps\";\nexport interface SensitiveOtherProps {\n autoFocus?: boolean;\n placeholder?: string;\n hideUnderline?: boolean;\n canRemove?: boolean;\n applyMaxWidth?: boolean;\n showHideTabIndex?: number;\n changeSetTabIndex?: number;\n cancelTabIndex?: number;\n removeTabIndex?: number;\n disabled?: boolean;\n label?: string;\n error?: string;\n warning?: string;\n monoSpacedFont?: boolean;\n customMargins?: string;\n}\nexport interface SensitiveState {\n valueBeforeEditing?: SensitiveValue;\n originalValue: SensitiveValue;\n isEditing: boolean;\n isHidden: boolean;\n}\nexport const ObfuscatedPlaceholder = \"********\";\nexport function createInitialSensitiveState(originalValue: SensitiveValue | null): SensitiveState {\n const value: SensitiveValue = originalValue || {\n HasValue: false,\n };\n return {\n isEditing: !value.HasValue,\n isHidden: true,\n originalValue: cloneDeep(value),\n };\n}\ntype SensitiveProps = SensitiveOtherProps & FormFieldProps;\nclass StatefulSensitive extends React.Component & SensitiveOtherProps, SensitiveState> {\n constructor(props: FormFieldProps & SensitiveOtherProps) {\n super(props);\n this.state = createInitialSensitiveState(props.value!);\n }\n render() {\n return this.setState(state)} {...this.props} {...this.state}/>;\n }\n static displayName = \"StatefulSensitive\";\n}\ninterface ExtraStatelessSensitiveProps {\n onStateChanged(changedState: SensitiveState): void;\n}\nexport type StatelessSensitiveProps = SensitiveProps & SensitiveState & ExtraStatelessSensitiveProps;\nexport class StatelessSensitive extends React.Component {\n static defaultProps: Partial = {\n autoFocus: false,\n canRemove: true,\n applyMaxWidth: false,\n };\n private changeButtonFocus = React.createRef<{\n focus: () => void;\n }>();\n private textField: TextInput | null = null;\n componentDidUpdate(prevProps: StatelessSensitiveProps) {\n if (this.props.isEditing && !prevProps.isEditing && this.textField) {\n this.textField.focus();\n }\n }\n select() {\n if (this.props.isEditing) {\n if (this.textField && !this.textField.isFocused()) {\n this.textField.select();\n }\n }\n else {\n this.changeButtonFocus.current?.focus();\n }\n }\n render() {\n const currentValue = this.currentValue();\n const { onChange, value, valueBeforeEditing, removeTabIndex, changeSetTabIndex, showHideTabIndex, cancelTabIndex, canRemove, originalValue, isEditing, isHidden, placeholder: placeholder, onStateChanged, applyMaxWidth, warning, customMargins, ...otherProps } = this.props;\n // isEditing is used when you don't originally have a value, otherwise its value is meaningless\n // The reason we don't use this all the time is because we don't necessarily want the field to focus\n // when isEditingDerived becomes true, for example, after you have deleted the value\n const isEditingDerived = isEditing || !originalValue.HasValue;\n const placeholderDerived = currentValue.HasValue && !isEditingDerived ? ObfuscatedPlaceholder : placeholder ? placeholder : \"\";\n const newValue = currentValue.NewValue ? currentValue.NewValue : \"\";\n const displayValue = newValue;\n return ( (this.textField = textField)} usePlaceholderAsLabel={true} // Special case for sensitive fields margins.\n accessibleName={this.props.label} customMargins={customMargins} {...otherProps}/>} actions={} applyMaxWidth={applyMaxWidth}/>);\n }\n private handleChange = (value: string) => {\n this.notifyChange({\n HasValue: true,\n NewValue: value,\n });\n };\n private currentValue = (): SensitiveValue => {\n return (this.props.value || {\n HasValue: false,\n });\n };\n private onStateChanged(newState: Pick & object) {\n const previousState = {\n valueBeforeEditing: this.props.valueBeforeEditing,\n originalValue: this.props.originalValue,\n isEditing: this.props.isEditing,\n isHidden: this.props.isHidden,\n };\n this.props.onStateChanged({\n ...previousState,\n ...(newState as SensitiveState),\n });\n }\n private notifyChange(value: SensitiveValue) {\n if (this.props.onChange) {\n this.props.onChange(value);\n }\n }\n private enterEditMode = () => {\n const valueBeforeEditing = cloneDeep(this.currentValue());\n this.onStateChanged({ isEditing: true, valueBeforeEditing });\n this.notifyChange({\n HasValue: valueBeforeEditing.HasValue,\n NewValue: \"\",\n });\n };\n private handleRemove = () => {\n const originalValue: SensitiveValue = {\n HasValue: false,\n NewValue: undefined,\n };\n this.onStateChanged({ isEditing: false, originalValue });\n this.notifyChange(originalValue);\n };\n private handleCancel = () => {\n this.onStateChanged({ isEditing: false });\n this.notifyChange(this.props.valueBeforeEditing!);\n };\n private toggleVisibility = () => {\n this.onStateChanged({ isHidden: !this.props.isHidden });\n };\n private buttons(isEditing: boolean, currentValue: SensitiveValue) {\n const buttons: Array = [];\n buttons.push(isEditing && currentValue.NewValue ? () : null);\n const changeSetAccessibleName = this.props.label ? (currentValue.HasValue ? `Change value for ${this.props.label}` : `Set value for ${this.props.label}`) : undefined;\n buttons.push(!isEditing && this.props.originalValue.HasValue ? () : null);\n buttons.push(!isEditing && currentValue.HasValue && this.props.canRemove ? () : null);\n buttons.push(isEditing && this.props.originalValue.HasValue ? () : null);\n return compact(buttons);\n }\n static displayName = \"StatelessSensitive\";\n}\nconst Sensitive = StatefulSensitive;\nexport default Sensitive;\nconst comp = IncludeVariableSubstitutionWarning(StatefulSensitive) as unknown as React.ComponentClass & SensitiveOtherProps>;\nexport const BoundSensitive = withBoundField(comp);\n","/* eslint-disable @typescript-eslint/no-non-null-assertion */\n/* eslint-disable @typescript-eslint/consistent-type-assertions */\nimport type { SensitiveValue } from \"@octopusdeploy/octopus-server-client\";\nimport { noOp } from \"@octopusdeploy/utilities\";\nimport { compact } from \"lodash\";\nimport * as React from \"react\";\nimport IconButtonList from \"~/components/IconButtonList/IconButtonList\";\nimport { IconButtonWithTooltip } from \"~/components/IconButtonWithTooltip\";\nimport InputWithActions from \"~/components/InputWithActions/InputWithActions\";\nimport Text from \"~/primitiveComponents/form/Text/Text\";\nimport ByteSizeFormatter from \"~/utils/ByteSizeFormatter\";\nimport type FormFieldProps from \"../FormFieldProps\";\ninterface SensitiveFileUploadProps extends FormFieldProps {\n placeholder?: string;\n availablePlaceholder?: string;\n label?: string | JSX.Element;\n error?: string;\n warning?: string;\n}\ninterface SensitiveFileState {\n error?: string | null;\n selectedFile?: File | null;\n}\nconst MaxFileSize = Math.pow(1024, 5);\nexport default class SensitiveFileUpload extends React.Component {\n input: HTMLInputElement | null = undefined!;\n constructor(props: SensitiveFileUploadProps) {\n super(props);\n this.state = {};\n }\n openSelector = () => {\n this.input!.click();\n };\n handleFileChange = async (e: React.FormEvent) => {\n this.setState({ error: null });\n const files = e.currentTarget.files ?? [];\n if (files.length < 1) {\n return;\n }\n const file = files[0];\n if (file.size === 0) {\n this.reportError(\"Attached file is empty. Please select a different file.\");\n return;\n }\n if (file.size > MaxFileSize) {\n this.reportError(\"Selected file is too big!\");\n return;\n }\n try {\n const bytes = await this.loadFileBytes(file);\n this.props.onChange!({ HasValue: true, NewValue: bytes });\n this.setState({ selectedFile: file });\n }\n catch (err) {\n this.setState({ error: err });\n }\n };\n reportError(error: string) {\n this.setState({ error, selectedFile: null });\n }\n loadFileBytes(file: File): Promise {\n return new Promise((res, rej) => {\n const reader = new FileReader();\n reader.onload = (evt) => {\n const target = evt.target;\n if (target!.readyState === FileReader.DONE) {\n const b6 = (target!.result as string).indexOf(\"base64,\") + 7;\n const ress = (target!.result as string).slice(b6);\n res(ress);\n }\n };\n reader.onerror = (evt) => {\n //eslint-disable-next-line @typescript-eslint/no-explicit-any\n rej((evt as any).message);\n };\n reader.readAsDataURL(file);\n });\n }\n currentValue = (): SensitiveValue => {\n return (this.props.value || {\n HasValue: false,\n });\n };\n onFileInputClicked = (e: React.FormEvent) => {\n e.stopPropagation();\n };\n handleRemove = (e: React.MouseEvent) => {\n this.input!.value = null!;\n this.setState({\n selectedFile: null!,\n }, () => {\n this.props.onChange!({\n HasValue: false,\n });\n });\n };\n getName() {\n if (this.props.value && this.props.value.HasValue && this.props.value.NewValue === null) {\n return this.props.availablePlaceholder || \"A file exists\";\n }\n const selectedFile = this.state.selectedFile;\n if (selectedFile) {\n return `${selectedFile.name} (${ByteSizeFormatter(selectedFile.size)})`;\n }\n return this.props.placeholder || \"\";\n }\n render() {\n const currentValue = this.currentValue();\n const setOrChange = currentValue.HasValue ? \"Change file\" : \"Choose file\";\n const { error, warning, label, onChange, value, placeholder: placeholder } = this.props;\n const err = this.state.error || error;\n const errorText = err || warning;\n return (
    \n } actions={}/>\n (this.input = input)} onClick={this.onFileInputClicked}/>\n
    );\n }\n private buttons(uploadText: string, currentValue: SensitiveValue) {\n return compact([\n ,\n currentValue.HasValue ? : null,\n ]);\n }\n static displayName = \"SensitiveFileUpload\";\n}\n","import * as _ from \"lodash\";\nexport const required = (message: string) => {\n return (value: string) => {\n if (!value || value.length < 1) {\n return message;\n }\n return \"\";\n };\n};\nexport const email = (message: string) => {\n return (value: string) => {\n if (!value || !value.match(/^([\\w.%+-]+)@([\\w-]+\\.)+([\\w]{2,})$/i)) {\n return message;\n }\n return \"\";\n };\n};\nexport const minimum = (message: string, min: number) => {\n return (value: string) => {\n const result: number = Number(value);\n if (isNaN(result)) {\n return message;\n }\n return result < min ? message : \"\";\n };\n};\nexport const dropdownOptionsValidator = () => {\n return (value: string) => {\n if (!value || value === \"\") {\n return \"\";\n }\n const result = _.compact(_.map(value.split(\"\\n\"), (line: string, index: number) => {\n if (line.indexOf(\"|\") === -1) {\n return `Line ${index + 1} does not contain a | delimiter`;\n }\n if (line.indexOf(\" |\") > -1 || line.indexOf(\"| \") > -1) {\n return `Line ${index + 1} contains spaces next to the | delimiter, which can cause binding issues`;\n }\n if (line.indexOf(\"|\") === 0) {\n return `Line ${index + 1} does not contain a value preceding the | delimiter`;\n }\n if (line.indexOf(\"|\") === line.length - 1) {\n return `Line ${index + 1} does not contain display text after the | delimiter`;\n }\n }));\n return result.length > 0 ? result[0] : \"\";\n };\n};\ntype Validator = (value: string) => string;\nexport const and = (validators: Validator[]): Validator => {\n return (value: string): string => {\n for (const validator of validators) {\n const result = validator(value);\n if (result)\n return result;\n }\n return \"\";\n };\n};\nexport const url = (message: string) => {\n return (value: string) => {\n try {\n new URL(value);\n return \"\";\n }\n catch (e) {\n return message;\n }\n };\n};\nexport const startsWith = (message: string, prefix: string) => {\n return (value: string) => {\n if (!value.startsWith(prefix))\n return message;\n return \"\";\n };\n};\n","/* eslint-disable @typescript-eslint/consistent-type-assertions */\nimport type { ScriptingLanguage } from \"@octopusdeploy/octopus-server-client\";\nimport * as React from \"react\";\nimport InsertVariableButton from \"~/components/form/InsertVariableButton/InsertVariableButton\";\nimport styles from \"./style.module.less\";\nexport interface VariableLookupProps {\n localNames?: string[];\n syntax?: ScriptingLanguage;\n textInputRef?(input: TextInputRef | null): void;\n}\nexport interface TextInputRef {\n focus: () => void;\n insertAtCursor: (val: string) => void;\n}\nexport interface GlobalConnectedProps {\n textInputRef(input: TextInputRef | null): void;\n}\nexport function withVariableLookup() {\n return (Comp: React.ComponentType) => {\n const WithVariableLookup: React.FC = (props) => {\n const myTextInputRef = React.useRef(null);\n const { localNames, syntax, textInputRef, ...otherProps } = props;\n const insert = React.useCallback((val: string) => {\n myTextInputRef?.current?.insertAtCursor(val);\n setTimeout(() => myTextInputRef?.current?.focus(), 0);\n }, [myTextInputRef]);\n const innerComponentProps = {\n ...otherProps,\n textInputRef: (ref: TextInputRef | null) => {\n myTextInputRef.current = ref;\n if (textInputRef)\n textInputRef(ref);\n },\n };\n return (
    \n
    \n \n
    \n
    \n insert(v)}/>\n
    \n
    );\n };\n WithVariableLookup.displayName = \"WithVariableLookup\"\n return WithVariableLookup;\n };\n}\n","import * as React from \"react\";\nimport type { GlobalConnectedProps } from \"~/components/form/VariableLookup/VariableLookup\";\nimport { withVariableLookup } from \"~/components/form/VariableLookup/VariableLookup\";\nimport { Text } from \"~/components/form/index\";\nimport type { TextProps } from \"~/primitiveComponents/form/Text/Text\";\nimport { DebounceText } from \"~/primitiveComponents/form/Text/Text\";\nconst DebounceTextWithInputRef = (props: TextProps & GlobalConnectedProps) => ;\nexport const VariableLookupText = withVariableLookup()(DebounceTextWithInputRef);\nconst TextWithInputRef = (props: TextProps & GlobalConnectedProps) => ;\nexport const VariableLookupTextNoDebounce = withVariableLookup()(TextWithInputRef);\n","export const normal = 400;\nexport const light = 300;\nexport const medium = 500;\nexport const semibold = 600;\nexport const bold = 700;\nexport const baseSizeInPx = 16;\n","import type { RequestContext, RequestCorrelationContext } from \"@octopusdeploy/octopus-server-client\";\nconst globalRequestAbortController = new AbortController();\n// Our vision is that most requests use our hook-based data access building blocks, which supply a localised request context\n// For everything else, including legacy repository instance and client usages, this global context provides\n// - some consistent for the correlation context\n// - a global abortSignal\nexport function createGlobalRequestContext(repository: \"Global\" | \"None\" | \"ProjectContext\", correlationContext?: RequestCorrelationContext): RequestContext {\n return {\n correlationContext: { ...correlationContext, repository },\n abortSignal: globalRequestAbortController.signal,\n };\n}\n","import { logger } from \"@octopusdeploy/logging\";\ntype Subscriber = (value: string) => void;\ntype StorageKey = string;\nconst subscriptions: Record = {};\nexport function subscribeToStorageChanges(key: StorageKey, subscriber: Subscriber) {\n subscriptions[key] = key in subscriptions ? [...subscriptions[key], subscriber] : [subscriber];\n const unsubscribe = () => {\n subscriptions[key] = subscriptions[key].filter((s) => s !== subscriber);\n };\n return unsubscribe;\n}\nexport function setValueInStorage(key: StorageKey, value: string) {\n try {\n localStorage.setItem(key, value);\n subscriptions[key]?.forEach((s) => s(value));\n }\n catch (e) {\n logger.warn(e, \"Failed to update local storage value for key {key}\", { key });\n }\n}\nexport function getValueInStorage(key: StorageKey): string | null {\n try {\n return localStorage.getItem(key);\n }\n catch (e) {\n logger.warn(e, \"Failed to fetch item from local storage for key {key}\", { key });\n }\n return null;\n}\n","import { logger } from \"@octopusdeploy/logging\";\nimport type { Dispatch, SetStateAction } from \"react\";\nimport React, { useState, useCallback, useEffect, useMemo } from \"react\";\nimport { getValueInStorage, setValueInStorage, subscribeToStorageChanges } from \"./localStorageHelpers\";\ntype SetValue = Dispatch>;\nconst noLocalStorageValue = Symbol();\nfunction useLocalStorage(key: string, fallbackValue: T): [\n T,\n SetValue\n] {\n const initialStoredValue = useMemo(() => {\n try {\n const item = getValueInStorage(key);\n const value = item ? JSON.parse(item) : noLocalStorageValue;\n return value;\n }\n catch (error) {\n logger.warn(error, \"Failed to retrieve item with {key} from local storage\", { key });\n return noLocalStorageValue;\n }\n }, [key]);\n const [storedValue, setStoredValue] = useState(initialStoredValue);\n useEffect(() => {\n setStoredValue(initialStoredValue);\n }, [initialStoredValue]);\n const setValue: SetValue = React.useCallback((value) => {\n if (typeof value === \"function\") {\n setStoredValue((prev) => {\n //We need to cast here since there is a bug in typescript around generics and type guards\n // eslint-disable-next-line @typescript-eslint/consistent-type-assertions\n const next = (value as (value: T) => T)(prev);\n setValueInStorage(key, JSON.stringify(next));\n return next;\n });\n }\n else {\n const valueToStore = value;\n setStoredValue(valueToStore);\n setValueInStorage(key, JSON.stringify(valueToStore));\n }\n }, [key]);\n useSynchronizeLocalStateFromLocalStorageEffect(key, setStoredValue);\n return [storedValue === noLocalStorageValue ? fallbackValue : storedValue, setValue];\n}\n//In order to synchronize local component state, we need to capture storage event\n//changes from other tabs as well as local storage changes made via this hook itself.\n//we don't pick up direct usages of localStorage outside the use of these hooks, however\n//we expect most people to be using these hooks.\nfunction useSynchronizeLocalStateFromLocalStorageEffect(key: string, setStoredValue: SetValue) {\n useStorageUpdatedEffect(key, setStoredValue);\n useStorageEventEffect(key, setStoredValue);\n}\n//This effect allows us to subscribe to any changes made via these hooks and synchronize\n//local state across all usages of these hooks. This is necessary as we don't use\n//global state for these and each usage of this hook has it's own `React.useState`\nfunction useStorageUpdatedEffect(key: string, setStoredValue: SetValue) {\n const handleCurrentTabStorageUpdated = useCallback((data: string) => {\n setStoredValue(JSON.parse(data));\n }, [setStoredValue]);\n React.useEffect(() => {\n return subscribeToStorageChanges(key, handleCurrentTabStorageUpdated);\n }, [handleCurrentTabStorageUpdated, key]);\n}\n//This effect allows us to subscribe to storage changes that happened in different\n//tabs. This allows us to ensure changes happening for a particular storage key\n//is replicated to the other tabs.\n//\n//NB: These events only fire in other tabs, not the current tab where the storage\n//was updated from.\nfunction useStorageEventEffect(key: string, setStoredValue: SetValue) {\n const updateStoredValueFromOtherStorageEvents = useCallback((event: StorageEvent) => {\n if (event.storageArea === localStorage) {\n if (event.key === key) {\n if (event.newValue) {\n setStoredValue(JSON.parse(event.newValue));\n }\n }\n }\n }, [key, setStoredValue]);\n // NB: Storage events only get fired in other tabs. They do not get fired\n // in the source page where the local storage values got updated from.\n // Hooking into this event, ensures we can synchronise our local state\n // between different tabs\n useEffect(() => {\n window.addEventListener(\"storage\", updateStoredValueFromOtherStorageEvents, true);\n return () => window.removeEventListener(\"storage\", updateStoredValueFromOtherStorageEvents, true);\n }, [updateStoredValueFromOtherStorageEvents]);\n}\nexport default useLocalStorage;\nexport { useLocalStorage };\n","import type { OctopusFeatureToggle } from \"@octopusdeploy/octopus-server-client\";\nimport { useBooleanFlagValue } from \"@openfeature/react-sdk\";\nexport function useOctopusFeatureToggle(toggle: OctopusFeatureToggle, defaultValue: boolean) {\n return useBooleanFlagValue(toggle, defaultValue);\n}\n","/* eslint-disable @typescript-eslint/consistent-type-assertions */\nimport * as React from \"react\";\nexport function useRequiredContext(context: React.Context, name?: string) {\n //TODO: Investigate options for compile-time type-safety for consumers of this context. For now, this gives us run-time protection.\n const result = React.useContext(context);\n if (result === undefined) {\n throw Error(`The \"${name || context.displayName || \"unnamed\"}\" context has not been initialized. Please ensure the provider exists above the current consumer in the component hierarchy to address this.`);\n }\n return result as NonNullable;\n}\nexport default useRequiredContext;\n","import type { LogEvent, LoggingSink } from \"@octopusdeploy/logging\";\nimport { convertToSerilogCompactFormat, createBufferingSink, createConsoleSink, createLogger, globalLogConfiguration, consoleLoggers } from \"@octopusdeploy/logging\";\nimport { repository, session } from \"~/clientInstance\";\nimport { isFeatureToggleEnabled } from \"~/components/FeatureToggle/New/FeatureToggleContext\";\nexport function configureSerilogIngestionSink() {\n const bufferingSink = createBufferingSink(createSerilogIngestionSink(), serilogIngestionSinkIsEnabled);\n globalLogConfiguration.attachSink(bufferingSink);\n}\nfunction serilogIngestionSinkIsEnabled(): boolean | \"indeterminate\" {\n // We currently only allow log events to be sent if the client is connected\n // If we aren't connected or authenticated, any events logged will keep queueing until we do connect\n if (!session.isAuthenticated() || session.featureToggles === null)\n return \"indeterminate\";\n return !isFeatureToggleEnabled(\"DisablePortalLogIngestionFeatureToggle\");\n}\nfunction createSerilogIngestionSink(): LoggingSink {\n return {\n receiveLogEvents(logEvents: LogEvent[]) {\n // Nothing should block on this, or report progress. It is a \"background\" task\n // noinspection JSIgnoredPromiseFromCall\n fireAndForgetLogEvents(logEvents);\n },\n };\n}\nasync function fireAndForgetLogEvents(logEvents: LogEvent[]) {\n try {\n await repository.Logs.ingestLogEvents(logEvents.map(convertToSerilogCompactFormat));\n }\n catch (e) {\n // Don't keep pumping messages to the serilog sink if something is failing. Just go directly to the console instead.\n createLogger(createConsoleSink(consoleLoggers), () => \"configureSerilogIngestion.fireAndForgetLogEvents\").error(\"Unable to ingest messages: {ErrorMessage}\", { ErrorMessage: e.toString() });\n }\n}\n","import type { WellKnownPropertyValues, GlobalLoggingContextProvider } from \"@octopusdeploy/logging\";\nimport type { PageDefinition } from \"@octopusdeploy/portal-routes\";\ntype PortalGlobalLoggingContext = WellKnownPropertyValues<{\n pageid?: string;\n BrowserSessionId?: string;\n}>;\nlet portalLoggerContext: PortalGlobalLoggingContext = {};\nexport const portalLoggingContextProvider: GlobalLoggingContextProvider = {\n getProperties: () => ({ ...portalLoggerContext }),\n reset: () => globalPortalLogContext.resetContext(),\n};\nexport const globalPortalLogContext = {\n resetContext() {\n portalLoggerContext = {};\n },\n setPage(page: PageDefinition) {\n portalLoggerContext.pageid = page.Id;\n },\n setBrowserSessionId(browserSessionId: string) {\n portalLoggerContext.BrowserSessionId = browserSessionId;\n },\n};\n","import type { WellKnownPropertyValues, GlobalLoggingContextProvider } from \"@octopusdeploy/logging\";\nimport { logger } from \"@octopusdeploy/logging\";\nimport UAParser from \"ua-parser-js\";\ntype StaticBrowserGlobalLoggingContext = WellKnownPropertyValues<{\n OS?: OS;\n Browser?: Browser[];\n}>;\ntype DynamicBrowserGlobalLoggingContext = WellKnownPropertyValues<{\n Screen: Screen;\n Language: string;\n Timezone: string;\n}>;\nconst BrowserLoggerContext: StaticBrowserGlobalLoggingContext = {\n OS: undefined,\n Browser: undefined,\n};\ntype BrowserGlobalLoggingContext = StaticBrowserGlobalLoggingContext & DynamicBrowserGlobalLoggingContext;\nexport const browserLoggingContextProvider: GlobalLoggingContextProvider = {\n getProperties: () => ({\n ...BrowserLoggerContext,\n Screen: getScreen(),\n Language: navigator.language,\n Timezone: Intl.DateTimeFormat().resolvedOptions().timeZone,\n }),\n};\nexport async function setupGlobalBrowserLogContext() {\n const os = await getOS();\n const browser = getBrowsers();\n BrowserLoggerContext.OS = os;\n BrowserLoggerContext.Browser = browser;\n}\ninterface OS {\n Name: string | undefined;\n Version: string | undefined;\n}\ninterface Browser {\n Name: string | undefined;\n Version: string | undefined;\n}\ninterface Screen {\n Width: number;\n Height: number;\n}\nconst parsedUserAgent = new UAParser(navigator.userAgent);\nasync function getOS(): Promise {\n if (navigator.userAgentData) {\n try {\n const { platform } = navigator.userAgentData;\n const highEntropyValues = await navigator.userAgentData.getHighEntropyValues([\"platformVersion\"]);\n const { platformVersion } = highEntropyValues;\n return {\n Name: platform,\n Version: platformVersion,\n };\n }\n catch (e) {\n logger.error(e, \"Failed to get OS from navigator.userAgentData\", navigator.userAgentData);\n }\n }\n const os = parsedUserAgent.getOS();\n return {\n Name: os.name,\n Version: os.version,\n };\n}\nfunction getBrowsers(): Browser[] {\n if (navigator.userAgentData) {\n try {\n return navigator.userAgentData.brands?.map((brandVersion) => ({\n Name: brandVersion.brand,\n Version: brandVersion.version,\n }));\n }\n catch (e) {\n logger.error(e, \"Failed to get browsers from navigator.userAgentData\", navigator.userAgentData);\n }\n }\n const browser = parsedUserAgent.getBrowser();\n return [\n {\n Name: browser.name,\n Version: browser.version,\n },\n ];\n}\nfunction getScreen(): Screen {\n return {\n Width: window.screen.width,\n Height: window.screen.height,\n };\n}\n","import { configureConsoleLoggersToForwardToGlobalLogger, globalLogConfiguration, globalLogContext } from \"@octopusdeploy/logging\";\nimport { v4 } from \"uuid\";\nimport { configureSerilogIngestionSink } from \"~/utils/logging/configureSerilogIngestion\";\nimport { portalLoggingContextProvider, globalPortalLogContext } from \"~/utils/logging/portalLoggingContext\";\nimport { browserLoggingContextProvider, setupGlobalBrowserLogContext } from \"./browserLoggingContext\";\nglobalLogConfiguration.attachContextProvider(portalLoggingContextProvider);\nglobalLogConfiguration.attachContextProvider(browserLoggingContextProvider);\nsetupGlobalBrowserLogContext();\nglobalPortalLogContext.setBrowserSessionId(v4());\nconfigureSerilogIngestionSink();\nconfigureConsoleLoggersToForwardToGlobalLogger();\nglobalLogContext.setApplication(\"Octopus.Server.Portal\");\n","import { buildProvenance } from \"@octopusdeploy/build-provenance\";\nimport { OTLPTraceExporter } from \"@opentelemetry/exporter-trace-otlp-proto\";\nimport { resourceFromAttributes } from \"@opentelemetry/resources\";\nimport { WebTracerProvider, BatchSpanProcessor } from \"@opentelemetry/sdk-trace-web\";\nimport { ATTR_SERVICE_NAME, ATTR_SERVICE_VERSION } from \"@opentelemetry/semantic-conventions\";\nimport { OnlyWhenAuthenticatedExporter } from \"~/openTelemetry/OnlyWhenAuthenticatedExporter\";\nimport { resolveApplicationRootUri } from \"~/utils/resolveApplicationRootUri\";\nconst resource = resourceFromAttributes({\n [ATTR_SERVICE_NAME]: \"OctopusServer.Frontend\",\n [ATTR_SERVICE_VERSION]: buildProvenance.version,\n});\nconst applicationRootUri = resolveApplicationRootUri(window.location);\nconst exporter = new OTLPTraceExporter({\n url: `${applicationRootUri}/api/otlp/v1/traces`,\n});\nconst provider = new WebTracerProvider({\n resource,\n spanProcessors: [new BatchSpanProcessor(new OnlyWhenAuthenticatedExporter(exporter))],\n});\nprovider.register();\n","import type { ExportResult } from \"@opentelemetry/core\";\nimport type { ReadableSpan, SpanExporter } from \"@opentelemetry/sdk-trace-web\";\nimport { session } from \"~/clientInstance\";\nexport class OnlyWhenAuthenticatedExporter implements SpanExporter {\n constructor(private readonly innerExporter: SpanExporter) { }\n async shutdown(): Promise {\n await this.innerExporter.shutdown();\n }\n async forceFlush(): Promise {\n await this.innerExporter.forceFlush?.();\n }\n export(spans: ReadableSpan[], resultCallback: (result: ExportResult) => void) {\n if (!session.isAuthenticated())\n return; // We currently only track telemetry for authenticated users\n this.innerExporter.export(spans, resultCallback);\n }\n}\n","import type { AuthenticationProviderElement, LoginState, OctopusError } from \"@octopusdeploy/octopus-server-client\";\nexport class AuthExtensionManager {\n private readonly authExtensions: {\n [authExtensionName: string]: AuthExtension;\n } = {};\n getAuthExtension(authProviderName: string): AuthExtension | null {\n return this.authExtensions[authProviderName] ?? null;\n }\n registerAuthExtension = (name: string, extension: AuthExtension) => {\n this.authExtensions[name] = extension;\n };\n}\nexport const authExtensionManager = new AuthExtensionManager();\nexport type AuthExtension = (octopusClient: AuthExtensionClient, provider: AuthenticationProviderElement, loginState: LoginState, onError: AuthExtensionOnError, isDarkMode: boolean) => AuthProvider;\nexport interface AuthExtensionClient {\n resolve: (url: string) => string;\n post: (authUrl: string, postData: Request) => Promise;\n}\nexport type AuthExtensionOnError = (error: OctopusError | Error) => void;\nexport interface AuthProvider {\n Name: string;\n LinkHtml: string;\n SignIn: () => void;\n}\n","/* eslint-disable @typescript-eslint/no-non-null-assertion */\nimport type { DeploymentStepResource, DeploymentActionResource, DeploymentActionContainer, ProjectResource, RunbookResource, ProcessResource, GitRef } from \"@octopusdeploy/octopus-server-client\";\nimport { ProcessType } from \"@octopusdeploy/octopus-server-client\";\nimport type { ReactNode } from \"react\";\nimport type { IQuery } from \"~/components/QueryStringFilters/QueryStringFilters\";\nimport type { ActionPlugin } from \"../../../../components/Actions/pluginRegistry\";\nexport interface ProcessPageSupportedActions {\n refreshLookupData: () => Promise;\n refreshVariables?: () => Promise;\n}\nexport interface AssembledAction {\n step: StoredStep;\n action: StoredAction | null;\n actionTypeName: string;\n pageTitle: string;\n}\nexport interface AssembleParentStepResult {\n step: StoredStep;\n pageTitle: string;\n}\nexport enum EnvironmentOption {\n All = \"all\",\n Include = \"include\",\n Exclude = \"exclude\"\n}\nexport enum ExecutionLocation {\n OctopusServer = \"OctopusServer\",\n WorkerPool = \"WorkerPool\",\n WorkerPoolForRoles = \"WorkerPoolForRoles\",\n OctopusServerForRoles = \"OctopusServerForRoles\",\n DeploymentTarget = \"DeploymentTarget\"\n}\nexport type RunOnServerOrWorkerPool = RunOnBuiltInWorker | RunOnWorkerPool;\nexport type RunOn = RunOnDeploymentTarget | RunOnServerOrWorkerPool;\nexport class RunOnDeploymentTarget implements RunOnModel {\n executionLocation = ExecutionLocation.DeploymentTarget;\n}\nexport class RunOnBuiltInWorker implements RunOnModel {\n executionLocation: ExecutionLocation.OctopusServer | ExecutionLocation.OctopusServerForRoles = undefined!;\n runningInContainer: boolean = undefined!;\n container: DeploymentActionContainer = undefined!;\n}\nexport class RunOnWorkerPool implements RunOnModel {\n executionLocation: ExecutionLocation.WorkerPool | ExecutionLocation.WorkerPoolForRoles = undefined!;\n runningInContainer: boolean = undefined!;\n container: DeploymentActionContainer = undefined!;\n}\nexport enum TargetRoles {\n Optional,\n None,\n Required\n}\nexport interface RunOnModel {\n executionLocation: ExecutionLocation;\n}\nexport interface ProcessFilter {\n actionId?: string;\n actionType?: string;\n reloadKey?: string;\n stepTemplates?: string;\n childStepTemplates?: string;\n templateId?: string;\n parentStepId?: string;\n blueprintSlug?: string;\n blueprintCommit?: string;\n blueprintActionId?: string;\n blueprintParentStepId?: string;\n new?: string;\n actionCategory?: string;\n tags?: string[];\n gitRef?: string;\n}\nexport interface ProcessQuery extends IQuery, ProcessFilter {\n}\nexport type ByIdLookup = {\n byId: {\n [id: string]: TModel;\n };\n};\nexport type AllIds = {\n allIds: string[];\n};\nexport interface LookupState {\n [key: string]: T;\n}\nexport interface StoredErrors {\n steps: {\n [id: string]: {\n [key: string]: string;\n };\n };\n actions: {\n [id: string]: {\n [key: string]: string;\n };\n };\n processTemplateActions: {\n [processTemplateStepName: string]: {\n [stepIndex: number]: {\n [actionIndex: number]: {\n [key: string]: string;\n };\n };\n };\n };\n global: {\n [key: string]: string;\n };\n globalMessage: string;\n}\nexport type ActionError = {\n key: string;\n stepId: string;\n actionId: string;\n value: string;\n};\nexport type StepError = {\n key: string;\n stepId: string;\n value: string;\n};\nexport type ProcessTemplateActionError = {\n key: string;\n processTemplateStepName: string;\n stepIndex: number;\n actionIndex: number;\n value: string;\n};\nexport type GlobalError = {\n key: string;\n value: string;\n};\nexport type ErrorValuePair = {\n key: string;\n value: string;\n};\nexport type ProcessError = ProcessTemplateActionError | ActionError | StepError | GlobalError;\nexport type StoredStep = Omit & {\n ActionIds: string[];\n};\nexport interface StoredAction extends DeploymentActionResource {\n ParentId: string;\n plugin: ActionPlugin;\n}\nexport type ProcessState = Omit | null;\nexport type StepsState = ByIdLookup & AllIds;\nexport type ActionsState = ByIdLookup & AllIds;\nexport type StoredModelState = {\n process: ProcessState;\n actions: ActionsState;\n steps: StepsState;\n};\nexport type MergeModelState = {\n staged: StoredModelState;\n server: StoredModelState;\n processMerged: boolean;\n dialogClosed: boolean;\n};\nexport type ProcessContextModelState = {\n model: StoredModelState;\n cleanModel: StoredModelState;\n mergeModel: MergeModelState;\n processIdentifier: ProcessIdentifier;\n};\nexport type DeploymentProcessIdentifier = {\n type: ProcessType.Deployment;\n id: string;\n projectId: string;\n projectSlug: string;\n spaceId: string;\n};\nexport type RunbookProcessIdentifier = {\n type: ProcessType.Runbook;\n id: string;\n runbookId: string;\n runbookName: string;\n projectId: string;\n projectSlug: string;\n spaceId: string;\n};\nexport type BlueprintProcessIdentifier = {\n type: ProcessType.Blueprint;\n id: string;\n blueprintId: string;\n slug: string;\n gitRef: GitRef;\n};\nexport type ProcessIdentifier = DeploymentProcessIdentifier | RunbookProcessIdentifier | BlueprintProcessIdentifier;\nexport function isDeploymentProcessIdentifier(processIdentifier: ProcessIdentifier | undefined): processIdentifier is DeploymentProcessIdentifier {\n return processIdentifier ? processIdentifier.type === ProcessType.Deployment : false;\n}\nexport function isRunbookProcessIdentifier(processIdentifier: ProcessIdentifier | undefined): processIdentifier is RunbookProcessIdentifier {\n return processIdentifier ? processIdentifier.type === ProcessType.Runbook : false;\n}\nexport function isDeploymentOrRunbookProcessIdentifier(processIdentifier: ProcessIdentifier | undefined): processIdentifier is DeploymentProcessIdentifier | RunbookProcessIdentifier {\n return isDeploymentProcessIdentifier(processIdentifier) || isRunbookProcessIdentifier(processIdentifier);\n}\nexport function isBlueprintProcessIdentifier(processIdentifier: ProcessIdentifier | undefined): processIdentifier is BlueprintProcessIdentifier {\n return processIdentifier ? processIdentifier.type === ProcessType.Blueprint : false;\n}\nexport function toDeploymentProcessIdentifier(project: ProjectResource): DeploymentProcessIdentifier {\n return {\n type: ProcessType.Deployment,\n id: project.DeploymentProcessId,\n projectId: project.Id,\n projectSlug: project.Slug,\n spaceId: project.SpaceId,\n };\n}\nexport function toRunbookProcessIdentifier(project: ProjectResource, runbook: RunbookResource): RunbookProcessIdentifier {\n return {\n type: ProcessType.Runbook,\n id: runbook.RunbookProcessId,\n runbookId: runbook.Id,\n runbookName: runbook.Name,\n projectId: project.Id,\n projectSlug: project.Slug,\n spaceId: project.SpaceId,\n };\n}\nexport function toBlueprintProcessIdentifier(slug: string, gitRef: GitRef): BlueprintProcessIdentifier {\n const blueprintId = `${gitRef}|${slug}`;\n return {\n type: ProcessType.Blueprint,\n id: `process-${blueprintId}`, // Unused for now\n blueprintId,\n slug,\n gitRef: gitRef,\n };\n}\nexport type MetaStepProperties = Omit;\nexport type MetaActionProperties = Omit;\nexport type SelectorType unknown;\n}> = {\n [K in keyof TTarget]: ReturnType;\n};\n//#region Warning guidance / validation\nexport interface Warnings {\n message?: string;\n parsedHelpLinks?: string[];\n helpText?: string;\n helpLink?: string;\n fieldWarnings: {\n [other: string]: string;\n };\n details?: {\n [key: string]: string | ReactNode | StepWarningDetails;\n };\n}\nexport interface StoredWarnings {\n steps: {\n [id: string]: {\n [key: string]: string | ReactNode | StepWarningDetails;\n };\n };\n actions: {\n [id: string]: {\n [key: string]: string | ReactNode;\n };\n };\n global: {\n [key: string]: string | ReactNode;\n };\n globalMessage?: string;\n}\nexport type ActionWarning = {\n key: string;\n stepId: string;\n actionId: string;\n value: string | ReactNode;\n};\nexport type ActionWarningWithDetails = {\n key: string;\n stepId: string;\n actionId: string;\n value: StepWarningDetails;\n};\nexport type StepWarningWithDetails = {\n key: string;\n stepId: string;\n value: StepWarningDetails;\n};\nexport type StepWarningDetails = {\n summary: string;\n details?: string;\n};\nexport type StepWarning = {\n key: string;\n stepId: string;\n value: string | ReactNode;\n};\nexport type GlobalWarning = {\n key: string;\n value: string | ReactNode;\n};\nexport type WarningValuePair = {\n key: string;\n value: string | ReactNode;\n};\nexport type ProcessWarning = ActionWarning | StepWarning | GlobalWarning | StepWarningWithDetails | ActionWarningWithDetails;\n//#endregion\n","import { ExecutionLocation } from \"@octopusdeploy/octopus-server-client\";\nimport type { ConvertibleInputPathToValue, SensitiveValue } from \"@octopusdeploy/step-inputs\";\nimport type { StepUI } from \"@octopusdeploy/step-ui\";\nimport { sensitiveText } from \"@octopusdeploy/step-ui\";\nimport type { StepPackage } from \"~/components/StepPackageEditor/StepPackage/StepPackage\";\nexport interface JiraServiceDeskChangeRequestStepInputs {\n \"Octopus.Action.JiraIntegration.ServiceDesk.ServiceId\": SensitiveValue | undefined;\n}\nexport const jiraServiceDeskChangeRequestStepUI: StepUI = {\n createInitialInputs: () => ({\n \"Octopus.Action.JiraIntegration.ServiceDesk.ServiceId\": undefined,\n }),\n editInputsForm: (inputs) => [\n sensitiveText({\n label: \"Service Id\",\n helpText: \"Provide the Jira Service Desk Service Id\",\n // TODO: Steps team to revisit InputPaths typings to ensure object accessor inputs are convertible\n // eslint-disable-next-line @typescript-eslint/consistent-type-assertions\n input: (inputs[\"Octopus.Action.JiraIntegration.ServiceDesk.ServiceId\"] as unknown as ConvertibleInputPathToValue).convertTo({\n toNewType: (serviceId) => serviceId ?? { type: \"empty\" },\n }),\n }),\n ],\n};\nexport const jiraStepPackage: StepPackage = {\n name: \"Jira Service Desk\",\n description: \"\",\n version: \"0.0.0\",\n executionLocation: ExecutionLocation.ServerOrWorkerOrTarget,\n canRunInExecutionContainer: false,\n requiresTargetRole: false,\n inputSchema: {\n definitions: {\n JiraServiceDeskChangeRequestInputs: {\n type: \"object\",\n isRoot: true,\n properties: {\n [\"Octopus.Action.JiraIntegration.ServiceDesk.ServiceId\"]: { type: \"object\", isSensitiveValue: true },\n },\n required: [\"Octopus.Action.JiraIntegration.ServiceDesk.ServiceId\"],\n },\n },\n },\n stepUI: jiraServiceDeskChangeRequestStepUI,\n isLegacyStep: true,\n targetDiscoveryCloudConnectionTypes: [],\n};\n","import type { ContainerImageReference, Discriminator, PackageReference, SensitiveValue } from \"@octopusdeploy/step-inputs\";\nimport type { InputJsonSchema, ObjectDefinition, UnionDefinition } from \"@octopusdeploy/step-runtime-inputs\";\nexport enum Options {\n \"First Option\",\n \"Second Option\",\n \"Third Option\"\n}\nexport interface SampleStepInputs {\n string: string;\n sensitiveValue: SensitiveValue;\n package: PackageReference;\n union: Union;\n secondUnion: Union;\n containerImage: ContainerImageReference;\n list: Array<{\n string: string;\n needsTransformation: number;\n nestedList: Array<{\n nestedString: string;\n }>;\n }>;\n inlineList: Array<{\n name: string;\n value: string;\n disable: boolean;\n casing: \"upper-case\" | \"lower-case\" | \"upper-and-lower-case\";\n }>;\n boolean: boolean;\n region: \"us-east1\" | \"us-east2\" | \"au-east1\";\n select: \"select-1\" | \"select-2\" | \"select-3\";\n number: number;\n nonDiscriminatorSelect: {\n selectedOption: Options;\n };\n}\nexport type Union = FirstType | SecondType;\nexport interface FirstType {\n type: Discriminator<\"first\">;\n valueFromFirst: string;\n}\nexport interface SecondType {\n type: Discriminator<\"second\">;\n valueFromSecond: SensitiveValue;\n}\nconst unionSchema: UnionDefinition = {\n anyOf: [\n {\n type: \"object\",\n properties: {\n type: { type: \"string\", const: \"first\", isDiscriminator: true },\n valueFromFirst: { type: \"string\" },\n },\n required: [\"type\", \"valueFromFirst\"],\n },\n {\n type: \"object\",\n properties: {\n type: { type: \"string\", const: \"second\", isDiscriminator: true },\n valueFromSecond: { type: \"object\", isSensitiveValue: true },\n },\n required: [\"type\", \"valueFromSecond\"],\n },\n ],\n};\nconst listSchema: ObjectDefinition = {\n type: \"object\",\n properties: {\n string: { type: \"string\" },\n needsTransformation: { type: \"number\" },\n nestedList: { type: \"array\", items: { type: \"object\", properties: { nestedString: { type: \"string\" } }, required: [\"nestedString\"] } },\n },\n required: [\"string\", \"needsTransformation\", \"nestedList\"],\n};\nconst inlineListSchema: ObjectDefinition = {\n type: \"object\",\n properties: {\n name: { type: \"string\" },\n value: { type: \"string\" },\n disable: { type: \"boolean\" },\n casing: { type: \"string\", enum: [\"upper-case\", \"lower-case\", \"upper-and-lower-case\"] },\n },\n required: [\"name\", \"value\", \"disable\", \"casing\"],\n};\nexport const sampleStepInputSchema: InputJsonSchema = {\n definitions: {\n MyInputs: {\n type: \"object\",\n isRoot: true,\n properties: {\n string: { type: \"string\" },\n sensitiveValue: { type: \"object\", isSensitiveValue: true },\n package: { type: \"object\", isPackageReference: true },\n containerImage: { type: \"object\", isContainerImageReference: true },\n list: { type: \"array\", items: listSchema },\n inlineList: { type: \"array\", items: inlineListSchema },\n union: unionSchema,\n secondUnion: unionSchema,\n boolean: { type: \"boolean\" },\n region: { type: \"string\", enum: [\"us-east1\", \"us-east2\"] },\n select: { type: \"string\", enum: [\"select-1\", \"select-2\", \"select-3\"] },\n number: { type: \"number\" },\n nonDiscriminatorSelect: { type: \"object\", properties: { selectedOption: { type: \"string\" } } },\n },\n required: [\"string\", \"sensitiveValue\", \"package\", \"containerImage\", \"list\", \"inlineList\", \"union\", \"secondUnion\", \"boolean\", \"region\", \"select\", \"number\"],\n },\n },\n};\n","import type { ObjectInputPaths, StepConfigurationExportInputs } from \"@octopusdeploy/step-inputs\";\nimport type { RuntimeContainerImageSelection } from \"@octopusdeploy/step-runtime-inputs\";\nimport type { StepInputComponent, StepUI } from \"@octopusdeploy/step-ui\";\nimport { bold, checkbox, code, containerImageSelector, inlineCheckbox, inlineList, inlineSelect, inlineText, italic, link, list, note, number, packageSelector, radioButtons, section, sectionGroup, select, sensitiveText, text, } from \"@octopusdeploy/step-ui\";\nimport type { SampleStepInputs, Union } from \"~/components/Actions/sample/SampleStepInputs\";\nimport { Options } from \"~/components/Actions/sample/SampleStepInputs\";\nimport { convertFromRuntimeContainerImageSelection } from \"../../StepPackageEditor/Inputs/Components/ContainerImageSelector/ContainerImageConverters\";\nconst createEmptyContainerImageReference = () => {\n const containerImageSelection: RuntimeContainerImageSelection = {\n referenceId: \"random-guid\",\n feedId: undefined,\n imageName: undefined,\n };\n return convertFromRuntimeContainerImageSelection(containerImageSelection);\n};\nexport const sampleStepUI: StepUI = {\n createInitialInputs: () => ({\n string: \"Initial value\",\n union: {\n type: \"first\",\n valueFromFirst: \"Another initial value\",\n },\n secondUnion: {\n type: \"second\",\n valueFromSecond: {\n type: \"empty\",\n },\n },\n list: [\n {\n string: \"first item\",\n needsTransformation: 1,\n nestedList: [\n {\n nestedString: \"sample nested string value\",\n },\n ],\n },\n {\n string: \"second item\",\n needsTransformation: 2,\n nestedList: [\n {\n nestedString: \"sample nested string value\",\n },\n ],\n },\n ],\n inlineList: [\n {\n name: \"http_proxy\",\n value: \"http://myProxy.net\",\n casing: \"upper-and-lower-case\",\n disable: false,\n },\n {\n name: \"trace_logging_enabled\",\n value: \"true\",\n casing: \"upper-case\",\n disable: true,\n },\n ],\n boolean: false,\n region: \"us-east1\",\n select: \"select-1\",\n number: 1,\n nonDiscriminatorSelect: { selectedOption: Options[\"First Option\"] },\n }),\n exportConfiguration: [\n {\n name: \"Export to Sample\",\n description: \"Sample Export Description\",\n export: (inputs: StepConfigurationExportInputs) => {\n return `String: ${inputs.string}\\nNumber: ${inputs.number}\\nBoolean: ${inputs.boolean}\\nFeed Url: ${inputs.containerImage.feed.url}`;\n },\n },\n ],\n editInputsForm: (inputs) => {\n return [\n text({\n input: inputs.string,\n label: \"Some string input\",\n helpText: \"Enter a string!\",\n note: note `Here is a note with ${bold(\"bold\")} text and ${italic(\"italic\")}.\n This not also contains ${code(\"some code\")} and an external ${link({ title: \"link\", href: \"hello\" })}`,\n }),\n checkbox({\n input: inputs.boolean,\n label: \"A checkbox input\",\n helpText: \"Select whether the value is true or false\",\n }),\n radioButtons({\n input: inputs.region,\n label: \"Region\",\n helpText: \"Pick a region\",\n options: [\n { label: \"US East 1\", newValue: \"us-east1\" },\n { label: \"US East 2\", newValue: \"us-east2\" },\n { label: \"AU East 1\", newValue: \"au-east1\" },\n ],\n }),\n number({\n input: inputs.number,\n label: \"A number input\",\n helpText: \"Enter a number!\",\n }),\n select({\n input: inputs.select,\n label: \"A select input\",\n helpText: \"Select an option\",\n options: [\n {\n label: \"Option 1\",\n newValue: \"select-1\",\n },\n {\n label: \"Option 2\",\n newValue: \"select-2\",\n },\n {\n label: \"Option 3\",\n newValue: \"select-3\",\n },\n ],\n }),\n select({\n input: inputs.nonDiscriminatorSelect,\n label: \"A non-discriminator select input\",\n helpText: \"Select an option\",\n options: [\n {\n label: \"First Option\",\n newValue: { selectedOption: Options[\"First Option\"] },\n },\n {\n label: \"Second Option\",\n newValue: { selectedOption: Options[\"Second Option\"] },\n },\n {\n label: \"Third Option\",\n newValue: { selectedOption: Options[\"Third Option\"] },\n },\n ],\n }),\n sectionGroup({\n title: \"A section group\",\n content: [\n packageSelector({\n input: inputs.package,\n label: \"Package\",\n helpText: \"Pick a package\",\n }),\n containerImageSelector({\n input: inputs.containerImage,\n label: \"Container Image\",\n helpText: \"Pick a container image\",\n }),\n section({\n title: \"A section\",\n content: [\n sensitiveText({\n input: inputs.sensitiveValue,\n label: \"Sensitive value\",\n helpText: \"Enter a sensitive value\",\n }),\n ],\n }),\n ],\n }),\n list({\n input: inputs.list,\n label: \"List\",\n helpText: \"A list of things\",\n newItem: {\n string: \"\",\n needsTransformation: 0,\n nestedList: [],\n },\n itemLabel: \"Thing\",\n itemSummary: (arrayItemInputs) => ({ title: arrayItemInputs.string }),\n editItemForm: (arrayItemInputs) => [\n text({\n input: arrayItemInputs.string,\n label: \"Some string\",\n helpText: \"Enter a string\",\n }),\n text({\n input: arrayItemInputs.needsTransformation.convertTo({\n toNewType: (number) => number.toString(),\n toOriginalType: (string) => parseInt(string),\n }),\n label: \"Enter a number\",\n helpText: \"You must enter a number here\",\n }),\n list({\n input: arrayItemInputs.nestedList,\n label: \"List\",\n helpText: \"A list of things\",\n newItem: {\n nestedString: \"\",\n },\n itemLabel: \"Thing\",\n itemSummary: (nestedArrayItemInputs) => ({ title: nestedArrayItemInputs.nestedString }),\n editItemForm: (nestedArrayItemInputs) => [\n text({\n input: nestedArrayItemInputs.nestedString,\n label: \"Some string\",\n helpText: \"Enter a string\",\n }),\n ],\n }),\n ],\n }),\n inlineList({\n input: inputs.inlineList,\n label: \"Environment Variables\",\n newItem: {\n name: \"\",\n value: \"\",\n disable: false,\n casing: \"upper-case\",\n },\n helpText: \"Enter your environment variables\",\n editItemForm: (envVarInputs) => {\n const name = inlineText({\n input: envVarInputs.name,\n label: \"Name\",\n });\n const value = inlineText({ input: envVarInputs.value, label: \"Value\" });\n const casing = inlineSelect({\n input: envVarInputs.casing,\n label: \"Casing\",\n options: [\n { newValue: \"upper-case\", label: \"Upper Case\" },\n { newValue: \"lower-case\", label: \"Lower Case\" },\n { newValue: \"upper-and-lower-case\", label: \"Both Upper and Lower Case\" },\n ],\n });\n const isDisabled = inlineCheckbox({ input: envVarInputs.disable, label: \"Disabled\" });\n return [\n [name, value],\n [isDisabled, casing],\n ];\n },\n }),\n section({\n title: \"Union section\",\n content: [\n radioButtons({\n input: inputs.union,\n label: \"First or Second?\",\n helpText: \"Pick between first and second\",\n options: [\n {\n label: \"First option\",\n newValue: {\n type: \"first\",\n valueFromFirst: \"some value\",\n },\n },\n {\n label: \"Second option\",\n newValue: {\n type: \"second\",\n valueFromSecond: { type: \"empty\" },\n },\n },\n ],\n }),\n ...unionUI(inputs.union),\n ],\n }),\n section({\n title: \"A second union section\",\n content: [\n select({\n input: inputs.secondUnion,\n label: \"First or Second (from select)?\",\n helpText: \"Pick between first and second\",\n options: [\n {\n label: \"First option\",\n newValue: {\n type: \"first\",\n valueFromFirst: \"some value\",\n },\n },\n {\n label: \"Second option\",\n newValue: {\n type: \"second\",\n valueFromSecond: { type: \"empty\" },\n },\n },\n ],\n }),\n ...unionUI(inputs.secondUnion),\n ],\n }),\n ];\n },\n};\nfunction unionUI(inputs: ObjectInputPaths): StepInputComponent[] {\n if (inputs.type === \"first\") {\n return [\n text({\n input: inputs.valueFromFirst,\n label: \"String for first\",\n helpText: \"Enter a string for the first option\",\n }),\n ];\n }\n return [\n sensitiveText({\n input: inputs.valueFromSecond,\n label: \"Sensitive value for second\",\n helpText: \"Enter a sensitive value for the second option\",\n }),\n ];\n}\n","import type { ActionTemplateSearchResource } from \"@octopusdeploy/octopus-server-client\";\nimport { ExecutionLocation } from \"@octopusdeploy/octopus-server-client\";\nimport type { SampleStepInputs } from \"~/components/Actions/sample/SampleStepInputs\";\nimport { sampleStepInputSchema } from \"~/components/Actions/sample/SampleStepInputs\";\nimport { sampleStepUI } from \"~/components/Actions/sample/SampleStepUI\";\nimport type { StepPackage } from \"~/components/StepPackageEditor/StepPackage/StepPackage\";\nexport const sampleStepPackage: StepPackage = {\n stepUI: sampleStepUI,\n version: \"0.0.1\",\n executionLocation: ExecutionLocation.ServerOrWorkerOrTarget,\n canRunInExecutionContainer: true,\n requiresTargetRole: false,\n isLegacyStep: false,\n name: \"Sample Step\",\n description: \"A sample step that can't be executed and only has a UI\",\n inputSchema: sampleStepInputSchema,\n targetDiscoveryCloudConnectionTypes: [\"Aws\", \"Azure\"],\n};\nexport function createSampleStepActionTemplateResource(spaceId: string): ActionTemplateSearchResource {\n return {\n // eslint-disable-next-line @typescript-eslint/no-non-null-assertion\n Author: null!,\n Version: null,\n Categories: [\"BuiltInStep\"],\n Category: \"BuiltInStep\",\n // eslint-disable-next-line @typescript-eslint/no-non-null-assertion\n CommunityActionTemplateId: null!,\n Description: \"A sample step that can't be executed and only has a UI\",\n HasUpdate: false,\n // eslint-disable-next-line @typescript-eslint/no-non-null-assertion\n Id: null!,\n IsBuiltIn: true,\n IsInstalled: true,\n // eslint-disable-next-line @typescript-eslint/no-non-null-assertion\n Keywords: null!,\n Links: {\n Logo: `/api/${spaceId}/actiontemplates/Sample.Step/logo`,\n },\n Name: \"Sample Step\",\n Type: \"sample-step\",\n Prerelease: true,\n // eslint-disable-next-line @typescript-eslint/no-non-null-assertion\n Website: null!,\n };\n}\n","import type { PathToInput } from \"@octopusdeploy/step-runtime-inputs\";\nexport function getPathAsString(pathToInput: PathToInput) {\n return pathToInput.reduce((prev, current, index) => {\n if (typeof current === \"symbol\") {\n throw new Error(\"Symbol keys are not supported\");\n }\n if (index === 0 && typeof current === \"number\") {\n throw new Error(\"The first segment of the path must be a string\");\n }\n // prevent returned path from starting with a dot\n const includeLeadingDot = index !== 0;\n const stringSegment = includeLeadingDot ? `.${current}` : current;\n const next = typeof current === \"string\" ? stringSegment : `[${current}]`;\n return `${prev}${next}`;\n }, \"\");\n}\n","import type { AccountResource, ActionTemplateParameterResource, GitRefResource, FeedResource, PackageReference, GitDependencyReference, GitCredentialResource, ProjectResource, ProcessType, TriggerResource, } from \"@octopusdeploy/octopus-server-client\";\nexport type SetPackages = (packages: (previous: Array) => Array) => void;\nexport type SetGitDependencies = (gitDependencies: (previous: GitDependencyReference[] | null) => GitDependencyReference[]) => void;\ninterface CommonStepInputDependencies {\n setPackages: SetPackages;\n setGitDependencies: SetGitDependencies;\n feeds: FeedResource[];\n refreshFeeds: () => Promise;\n accounts: AccountResource[];\n refreshAccounts: () => Promise;\n gitCredentials: GitCredentialResource[];\n refreshGitCredentials: () => Promise;\n}\nexport interface ProjectStepInputDependencies extends CommonStepInputDependencies {\n projectId: string | undefined;\n gitRef: GitRefResource | undefined;\n project: ProjectResource | undefined;\n processType: ProcessType;\n deploymentActionSlug: string;\n projectTriggers: TriggerResource[];\n}\nexport interface ActionTemplateStepInputDependencies extends CommonStepInputDependencies {\n parameters: ActionTemplateParameterResource[];\n localNames: string[];\n}\nexport type StepInputDependencies = ProjectStepInputDependencies | ActionTemplateStepInputDependencies;\nexport function isProjectStepInputDependencies(dependencies: StepInputDependencies): dependencies is ProjectStepInputDependencies {\n const key: keyof ProjectStepInputDependencies = \"projectId\";\n return key in dependencies;\n}\n","import type { EmptyInitialValue } from \"@octopusdeploy/step-inputs\";\nexport const emptyInitialValue: EmptyInitialValue = Symbol();\n","import type { AccountReference, BoundValue, EmptyInitialValue } from \"@octopusdeploy/step-inputs\";\nimport { isBoundValue } from \"@octopusdeploy/step-runtime-inputs\";\nimport type { RuntimeAccountSelection } from \"@octopusdeploy/step-runtime-inputs\";\nimport { emptyInitialValue } from \"../../emptyInitialValue\";\nexport function convertToRuntimeAccountSelection(accountSelection: AccountReference | BoundValue | EmptyInitialValue): RuntimeAccountSelection {\n if (accountSelection === null || accountSelection === undefined || accountSelection === emptyInitialValue) {\n return \"\";\n }\n // eslint-disable-next-line @typescript-eslint/consistent-type-assertions\n return (isBoundValue(accountSelection) ? accountSelection.expression : (accountSelection as unknown)) as RuntimeAccountSelection;\n}\nexport function convertFromRuntimeAccountSelection(accountSelection: RuntimeAccountSelection): AccountReference {\n // eslint-disable-next-line @typescript-eslint/consistent-type-assertions\n return accountSelection as unknown as AccountReference;\n}\n","import React from \"react\";\nimport styles from \"./styles.module.less\";\nexport function Video(props: {\n src: string;\n}) {\n return
    \n
    \n \n
    \n )}\n
    );\n};\n","import * as React from \"react\";\nimport { parseGitProtectionPatterns, userFriendlyBranchAndTagsDisplay } from \"~/areas/projects/components/Channels/GitProtectionRules/GitProtectionRules\";\nexport function getGitReferencePatternDescription(patterns: string[]) {\n if (patterns.length === 0) {\n return undefined;\n }\n const { branches, tags, other } = parseGitProtectionPatterns(patterns);\n const matchingRefTypeDescriptions: Array<{\n description: string;\n value: string;\n }> = [];\n if (branches.length > 0) {\n matchingRefTypeDescriptions.push({\n description: \"branches\",\n value: userFriendlyBranchAndTagsDisplay(branches),\n });\n }\n if (tags.length > 0) {\n matchingRefTypeDescriptions.push({\n description: \"tags\",\n value: userFriendlyBranchAndTagsDisplay(tags),\n });\n }\n if (other.length > 0) {\n matchingRefTypeDescriptions.push({\n description: \"other Git references\",\n value: other.join(\", \"),\n });\n }\n return matchingRefTypeDescriptions.map((d, index) => (\n {index > 0 ? (index >= matchingRefTypeDescriptions.length - 1 ? \" or \" : \", \") : \"\"}\n {d.description} matching {d.value}\n ));\n}\n","import { css } from \"@emotion/css\";\nimport { Divider, Tooltip } from \"@octopusdeploy/design-system-components\";\nimport type { FormFieldProps } from \"@octopusdeploy/design-system-components\";\nimport { space } from \"@octopusdeploy/design-system-tokens\";\nimport type { GitRefResource, ProjectResource, ChannelGitResourceRuleResource, ReferenceDataItem, DeploymentActionGitDependencyResource, ValidateGitRefV2Response, OctopusError } from \"@octopusdeploy/octopus-server-client\";\nimport { getGitRefDescription, isGitCommit, isGitTag } from \"@octopusdeploy/octopus-server-client\";\nimport { isEqual } from \"lodash\";\nimport React from \"react\";\nimport { ChipIcon, DeploymentActionGitDependencyChip, MissingChip } from \"~/components/Chips\";\nimport Lookup from \"~/components/Lookup\";\nimport { MultiSelect } from \"~/components/MultiSelect/MultiSelect\";\nimport type { SelectItem } from \"~/components/VirtualListWithKeyboard/SelectItem\";\nimport type { SummaryNode } from \"~/components/form\";\nimport { Note, Summary } from \"~/components/form\";\nimport { GitProtectionRules } from \"./GitProtectionRules\";\nimport { getGitReferencePatternDescription } from \"./getGitReferenceRulePatternsDescription\";\nexport function gitDependencyChipDisplayName(gitDependency: DeploymentActionGitDependencyDetails) {\n const deploymentActionName = gitDependency.DeploymentActionName ?? gitDependency.DeploymentActionSlug;\n return !!gitDependency.GitDependencyName ? `${deploymentActionName}/${gitDependency.GitDependencyName}` : deploymentActionName;\n}\nexport function gitDependencyChipTooltipContent(gitDependency: DeploymentActionGitDependencyDetails) {\n const deploymentActionName = gitDependency.DeploymentActionName ?? gitDependency.DeploymentActionSlug;\n return !!gitDependency.GitDependencyName\n ? `Git resource '${gitDependency.GitDependencyName}' from step '${deploymentActionName}' using repository ${gitDependency.RepositoryUri}`\n : `Step '${deploymentActionName}' using repository ${gitDependency.RepositoryUri}`;\n}\nexport function getGitResourceRuleSummary(rule: ChannelGitResourceRuleResource, actions: DeploymentActionGitDependencyDetails[]): SummaryNode {\n if (rule.GitDependencyActions.length === 0) {\n return Summary.summary(\"No steps selected\");\n }\n const gitResourceRulePatternsDescription = getGitReferencePatternDescription(rule.Rules);\n if (gitResourceRulePatternsDescription === undefined) {\n return Summary.summary(\"No Git protection rules defined\");\n }\n const gitResourceRuleAppliesTo = (<>\n Applies to{\" \"}\n {rule.GitDependencyActions.map((gda) => {\n const gitDependencyDetails = actions.find((a) => a.DeploymentActionSlug === gda.DeploymentActionSlug && a.GitDependencyName === gda.GitDependencyName);\n if (!gitDependencyDetails)\n return gda.DeploymentActionSlug;\n return (\n {gitDependencyChipDisplayName(gitDependencyDetails)}\n );\n })}{\" \"}\n {rule.GitDependencyActions.length > 1 ? \"steps\" : \"step\"}\n );\n return Summary.summary(<>\n {gitResourceRuleAppliesTo} with {gitResourceRulePatternsDescription}\n );\n}\nexport type DeploymentActionGitDependencyDetails = {\n DeploymentActionSlug: string;\n DeploymentActionName: string;\n RepositoryUri: string;\n GitDependencyName: string;\n};\ninterface DeploymentActionGitDependencyReferenceDataItem extends ReferenceDataItem {\n ActionDetails?: DeploymentActionGitDependencyDetails;\n GitDependency: DeploymentActionGitDependencyResource;\n}\ntype GitResourceRuleProps = {\n index: number;\n project: ProjectResource;\n gitRef?: GitRefResource;\n gitRefValidationError?: ValidateGitRefV2Response;\n allDeploymentActionsWithGitDependencies: DeploymentActionGitDependencyDetails[];\n deploymentActionsError?: OctopusError;\n availableDeploymentActionsWithGitDependencies: DeploymentActionGitDependencyDetails[];\n rule: ChannelGitResourceRuleResource;\n onRuleChanged: (rule: ChannelGitResourceRuleResource) => void;\n};\ninterface DeploymentActionGitDependencyMultiSelectProps extends FormFieldProps {\n project: ProjectResource;\n gitRef?: GitRefResource;\n items: DeploymentActionGitDependencyReferenceDataItem[];\n customLabel?: string;\n openOnFocus?: boolean;\n label?: string | JSX.Element;\n error?: string;\n hideFloatingLabel?: boolean;\n}\nconst DeploymentActionGitDependencyTypedMultiSelect = MultiSelect();\nconst DeploymentActionGitDependencyMultiSelect: React.FC = (props) => {\n const chipRenderer = (r: DeploymentActionGitDependencyReferenceDataItem | SelectItem, onRequestDelete: () => void) => {\n const missingStepDescription = props.project.IsVersionControlled\n ? `Step '${r.Id}' does not exist in the deployment process on the '${props.gitRef?.Name}' ${getGitRefDescription(props.gitRef?.CanonicalName)}.`\n : `Step '${r.Id}' does not exist in the deployment process.`;\n return ( element.Id} render={(item: DeploymentActionGitDependencyReferenceDataItem) => {\n if (item.ActionDetails)\n return ;\n return ;\n }} renderFallback={}/>);\n };\n return ( {\n const name = item.ActionDetails?.DeploymentActionName ?? item.Name;\n return {\n primaryText: item.GitDependency.GitDependencyName !== \"\" ? `${name}/${item.GitDependency.GitDependencyName}` : name,\n secondaryText: item.ActionDetails?.RepositoryUri,\n };\n }} {...props}/>);\n};\nDeploymentActionGitDependencyMultiSelect.displayName = \"DeploymentActionGitDependencyMultiSelect\"\nexport function GitResourceRule({ index, project, gitRef, gitRefValidationError, allDeploymentActionsWithGitDependencies, deploymentActionsError, availableDeploymentActionsWithGitDependencies, rule, onRuleChanged }: GitResourceRuleProps) {\n const handleGitProtectionPatternChanged = (patterns: string[]) => {\n if (isEqual(rule.Rules, patterns))\n return;\n onRuleChanged({\n ...rule,\n Rules: patterns,\n });\n };\n const availableDeploymentActionReferenceItems = availableDeploymentActionsWithGitDependencies.map((action) => {\n return {\n Id: action.GitDependencyName !== \"\" ? `${action.DeploymentActionSlug}/${action.GitDependencyName}` : action.DeploymentActionSlug,\n Name: action.DeploymentActionName,\n ActionDetails: action,\n GitDependency: {\n DeploymentActionSlug: action.DeploymentActionSlug,\n GitDependencyName: action.GitDependencyName,\n },\n };\n });\n const selectedDeploymentActionReferenceItems = rule.GitDependencyActions.map((gitDependencyAction) => {\n const deploymentAction = allDeploymentActionsWithGitDependencies.find((a) => a.DeploymentActionSlug === gitDependencyAction.DeploymentActionSlug && a.GitDependencyName === gitDependencyAction.GitDependencyName);\n return {\n Id: gitDependencyAction.GitDependencyName !== \"\" ? `${gitDependencyAction.DeploymentActionSlug}/${gitDependencyAction.GitDependencyName}` : gitDependencyAction.DeploymentActionSlug,\n Name: deploymentAction?.DeploymentActionName ?? gitDependencyAction.DeploymentActionSlug,\n ActionDetails: deploymentAction,\n GitDependency: gitDependencyAction,\n };\n });\n const allDeploymentActionReferenceItems = [...availableDeploymentActionReferenceItems, ...selectedDeploymentActionReferenceItems];\n const versionControlRefHelpText = () => {\n const gitRefCanonical = gitRef?.CanonicalName;\n let gitRefType = \"branch\";\n if (isGitCommit(gitRefCanonical)) {\n gitRefType = \"commit\";\n }\n else if (isGitTag(gitRefCanonical)) {\n gitRefType = \"tag\";\n }\n return (\n Showing steps from the {gitRef?.Name} {gitRefType}. A different {gitRefType} can be selected from the deployment process screen.\n );\n };\n const styles = {\n container: css({\n display: \"flex\",\n flexDirection: \"column\",\n gap: space[8],\n }),\n };\n return (
    \n
    \n x.Id)} label=\"External repository step(s)\" onChange={(indexes) => {\n const selectedActionGitDependencies = allDeploymentActionReferenceItems.filter((action, _) => indexes.includes(action.Id)).map((action) => action.GitDependency);\n onRuleChanged({\n ...rule,\n GitDependencyActions: selectedActionGitDependencies,\n });\n }} openOnFocus={false}/>\n {project.IsVersionControlled && !gitRefValidationError && !deploymentActionsError && (<>\n {versionControlRefHelpText()}\n \n )}\n
    \n \n
    );\n}\n","import type { LegacySvgIconProps } from \"@octopusdeploy/design-system-components\";\nimport { LegacySvgIcon } from \"@octopusdeploy/design-system-components\";\nimport * as React from \"react\";\nimport { withTheme } from \"~/components/Theme\";\nconst EnvironmentIcon = (props: LegacySvgIconProps) => (\n \n );\nconst ExcludedEnvironmentIcon = (props: LegacySvgIconProps) => (\n \n \n );\nconst ProjectIcon = (props: LegacySvgIconProps) => (\n \n );\nconst MachineIcon = (props: LegacySvgIconProps) => (\n \n \n );\nconst WorkerPoolIcon = (props: LegacySvgIconProps) => (\n \n );\nconst DynamicWorkerPoolIcon = (props: LegacySvgIconProps) => (\n \n );\nconst WorkerIcon = (props: LegacySvgIconProps) => (\n \n );\nconst UnhealthyMachineIcon = (props: LegacySvgIconProps) => withTheme((theme) => (\n \n ));\nconst UnavailableMachineIcon = (props: LegacySvgIconProps) => withTheme((theme) => (\n \n ));\nconst ShellNameIcon = (props: LegacySvgIconProps) => (\n \n \n );\nconst ExcludedMachineIcon = (props: LegacySvgIconProps) => {\n return withTheme((theme) => (\n \n \n \n ));\n};\nconst DeploymentProcessIcon = (props: LegacySvgIconProps) => {\n return (\n \n );\n};\nconst RunbookProcessIcon = (props: LegacySvgIconProps) => {\n return (\n \n );\n};\nconst BindIcon = (props: LegacySvgIconProps) => withTheme((theme) => (\n \n \n ));\nconst UnbindIcon = (props: LegacySvgIconProps) => withTheme((theme) => (\n \n \n \n \n \n ));\nconst InsertVariableIcon = (props: LegacySvgIconProps) => withTheme((theme) => (\n \n \n \n ));\nconst SelectLogoIcon = (props: LegacySvgIconProps) => withTheme((theme) => (\n \n ));\nconst GitIcon = (props: LegacySvgIconProps) => withTheme((theme) => (\n \n ));\nconst GitTagIcon = (props: LegacySvgIconProps) => withTheme((theme) => (\n \n ));\nconst GitBranchIcon = (props: LegacySvgIconProps) => withTheme((theme) => (\n \n ));\nconst GitCommitIcon = (props: LegacySvgIconProps) => withTheme((theme) => (\n \n ));\nconst DatabaseIcon = (props: LegacySvgIconProps) => withTheme((theme) => (\n \n ));\nconst FeedbackIcon = (props: LegacySvgIconProps) => withTheme((theme) => (\n \n \n ));\nconst ChevronIcon = (props: LegacySvgIconProps) => (\n \n );\nexport { EnvironmentIcon, ExcludedEnvironmentIcon, ProjectIcon, MachineIcon, WorkerPoolIcon, DynamicWorkerPoolIcon, WorkerIcon, ExcludedMachineIcon, UnhealthyMachineIcon, UnavailableMachineIcon, ShellNameIcon, DeploymentProcessIcon, RunbookProcessIcon, BindIcon, UnbindIcon, InsertVariableIcon, SelectLogoIcon, GitIcon, GitTagIcon, GitBranchIcon, GitCommitIcon, DatabaseIcon, FeedbackIcon, ChevronIcon, };\n","import type { LegacySvgIconProps } from \"@octopusdeploy/design-system-components\";\nimport * as React from \"react\";\nimport * as Icon from \"./BaseIcons\";\nexport enum OctopusIconType {\n Environment,\n WorkerPool,\n Machine,\n DynamicWorkerPool,\n Worker\n}\ninterface OctopusIconProps {\n iconType: OctopusIconType;\n className?: string;\n style?: React.CSSProperties;\n color?: string;\n}\nexport const OctopusIcon: React.StatelessComponent = (props) => {\n const propsForIcon: LegacySvgIconProps = {\n className: props.className,\n style: props.style,\n };\n if (props.color) {\n // There appears to be a bug in Material-UI's icons, in that you cannot just set the htmlColor like it says in their documentation,\n // you also need to set the fill colour before things will actually kick in, which is why you'll see both the htmlColor and style/fill being set on\n // each change.\n propsForIcon.htmlColor = props.color;\n propsForIcon.style = { ...propsForIcon.style, fill: props.color };\n }\n switch (props.iconType) {\n case OctopusIconType.Environment:\n return ;\n case OctopusIconType.WorkerPool:\n return ;\n case OctopusIconType.Machine:\n return ;\n case OctopusIconType.DynamicWorkerPool:\n return ;\n case OctopusIconType.Worker:\n return ;\n }\n};\nOctopusIcon.displayName = \"OctopusIcon\"\n","import type { IIdName } from \"@octopusdeploy/octopus-server-client\";\nimport * as React from \"react\";\nimport type { ChipIcon } from \"~/components/Chips\";\nimport { MissingChip } from \"~/components/Chips\";\nimport Lookup from \"../Lookup/Lookup\";\ninterface LookupResourceChipProps {\n lookupCollection: T[];\n lookupId: string;\n type: ChipIcon;\n chipRender: (item: T) => React.ReactElement;\n getIdFromElement?: (item: T) => string;\n renderFallback?: React.ReactElement;\n}\ntype LookupResourceChip = React.FC>;\nexport function LookupResourceChipComponent(): LookupResourceChip {\n return (props) => {\n const { getIdFromElement = (element) => element.Id, renderFallback = } = props;\n return props.chipRender(item)} renderFallback={renderFallback}/>;\n };\n}\nexport default LookupResourceChipComponent;\n","import { Chip as DesignSystemChip } from \"@octopusdeploy/design-system-components\";\nimport * as React from \"react\";\nimport type { CommonChipProps } from \"./types\";\ninterface ChipProps extends CommonChipProps {\n onClick?: (event: object) => void;\n backgroundColorOnHover?: string;\n}\nexport const Chip: React.FC = (props) => {\n const tooltipContent = props.noTooltip ? undefined : props.description ?? props.children;\n return ();\n};\nChip.displayName = \"Chip\"\nexport default Chip;\n","import { css, cx } from \"@emotion/css\";\nimport { space, borderRadius } from \"@octopusdeploy/design-system-tokens\";\nimport * as React from \"react\";\ninterface ChipIconWrapperProps {\n backgroundColor?: string;\n children?: React.ReactNode;\n}\nexport function ChipIconWrapper({ children, backgroundColor }: ChipIconWrapperProps): React.ReactElement | null {\n const backgroundColorValue = backgroundColor || \"var(--avatarBackground)\";\n return
    {children}
    ;\n}\nconst chipIconWrapperStyles = css({\n margin: `${space[4]} 0`,\n width: \"24px\",\n height: \"24px\",\n display: \"flex\",\n justifyContent: \"center\",\n alignItems: \"center\",\n borderRadius: borderRadius.circle,\n});\nconst chipIconWrapperBackground = (backgroundColor: string) => css({\n backgroundColor: backgroundColor,\n});\ninterface ChipLegacyIconWrapperProps {\n iconComponent: React.ComponentType<{\n style?: React.CSSProperties;\n }>;\n iconColor?: string;\n backgroundColor?: string;\n}\nexport function ChipLegacyIconWrapper({ iconComponent: Icon, iconColor, backgroundColor }: ChipLegacyIconWrapperProps): React.ReactElement | null {\n return (\n \n );\n}\n","import { css } from \"@emotion/css\";\nimport { Chip, IconButton } from \"@octopusdeploy/design-system-components\";\nimport { XmarkIcon } from \"@octopusdeploy/design-system-icons\";\nimport { space, themeTokens } from \"@octopusdeploy/design-system-tokens\";\nimport * as React from \"react\";\nimport type { CommonChipProps } from \"./types\";\nexport interface DeletableChipProps extends CommonChipProps {\n onRequestDelete: () => void;\n deleteButtonAccessibleName: string;\n}\n//We require the onClick to be named onClick as Material will assign the onClick handler to the component when it clones it internally\n//if we used something like onDelete/onRequestDelete then we would have to duplicate on assigning the click handler, which can cause\n//some problems if anything changes in how material handles things.\ninterface DeleteChipButtonProps {\n onClick?: (event: object) => void;\n accessibleName: string;\n}\nconst deleteButtonStyles = css({\n \"&.MuiIconButton-root\": {\n color: themeTokens.color.icon.secondary,\n padding: space[4],\n marginLeft: `-${space[4]}`,\n },\n});\nfunction DeleteChipButton(props: DeleteChipButtonProps) {\n return }/>;\n}\nexport const DeletableChip: React.FC = (props) => {\n return (} opacity={props.opacity}/>);\n};\nDeletableChip.displayName = \"DeletableChip\"\nexport default DeletableChip;\n","import type { StepPackage, StepPackageDetailsResponse, StepUI } from \"@octopusdeploy/octopus-server-client\";\nimport { repository } from \"~/clientInstance\";\nimport { importFromDynamicExpression } from \"./importFromDynamicExpression\";\nclass StepPackageResolver {\n async getStepPackage(stepPackageId: string): Promise {\n const response = await repository.StepPackageRepository.getStepPackage(stepPackageId);\n return await this.resolveStepPackageDetails(response);\n }\n async getStepPackageByIdAndVersion(stepPackageId: string, stepPackageVersion: string): Promise {\n const response = await repository.StepPackageRepository.getStepPackageByIdAndVersion(stepPackageId, stepPackageVersion);\n return await this.resolveStepPackageDetails(response);\n }\n async getLatestStepPackageByDeploymentTargetType(deploymentTargetTypeId: string): Promise {\n const response = await repository.StepPackageDeploymentTarget.getLatestStepPackageByDeploymentTargetType(deploymentTargetTypeId);\n return this.resolveStepPackageDetails(response);\n }\n async getStepPackageByDeploymentTargetType(deploymentTargetTypeId: string, version: string): Promise {\n const response = await repository.StepPackageDeploymentTarget.getStepPackageByDeploymentTargetType(deploymentTargetTypeId, version);\n return this.resolveStepPackageDetails(response);\n }\n async resolveStepPackageDetails(stepPackage: StepPackageDetailsResponse): Promise {\n const schema = await repository.StepPackageRepository.getStepPackageSchema(stepPackage);\n const stepUI = await this.resolveStepPackageUI(stepPackage);\n return {\n name: stepPackage.Name,\n description: stepPackage.Description,\n version: stepPackage.Version,\n stepUI: stepUI,\n schema: schema,\n prerelease: stepPackage.Prerelease,\n releaseNotesUrl: stepPackage.ReleaseNotesUrl,\n executionLocation: stepPackage.ExecutionLocation,\n canRunInExecutionContainer: stepPackage.CanRunInExecutionContainer,\n requiresTargetRole: stepPackage.RequiresTargetRole,\n targetDiscoveryCloudConnectionTypes: stepPackage.TargetDiscoveryCloudConnectionTypes,\n };\n }\n async resolveStepPackageUI(stepPackage: StepPackageDetailsResponse): Promise {\n const stepUIModule = await importFromDynamicExpression(stepPackage.Links.StepUI);\n // eslint-disable-next-line @typescript-eslint/consistent-type-assertions\n const convertedStepUIModule = stepUIModule as {\n default: StepUI;\n };\n return convertedStepUIModule.default;\n }\n}\nexport const stepPackageResolver = new StepPackageResolver();\n","import { logger } from \"@octopusdeploy/logging\";\nimport type { MachineResource, CommunicationStyle } from \"@octopusdeploy/octopus-server-client\";\nimport { CommunicationStyleValues, EndpointsHelper, MachineModelHealthStatusValues } from \"@octopusdeploy/octopus-server-client\";\nimport CalamariNeedsUpgradeKubernetesTentacleIconPath from \"~/areas/infrastructure/components/MachineStatusIcons/Server-CalamariNeedsUpgrade-KubernetesTentacle.svg\";\nimport CalamariNeedsUpgradeSshIconPath from \"~/areas/infrastructure/components/MachineStatusIcons/Server-CalamariNeedsUpgrade-Ssh.svg\";\nimport CalamariNeedsUpgradeTentacleActiveIconPath from \"~/areas/infrastructure/components/MachineStatusIcons/Server-CalamariNeedsUpgrade-TentacleActive.svg\";\nimport CalamariNeedsUpgradeTentaclePassiveIconPath from \"~/areas/infrastructure/components/MachineStatusIcons/Server-CalamariNeedsUpgrade-TentaclePassive.svg\";\nimport DefaultAzureCloudServiceIconPath from \"~/areas/infrastructure/components/MachineStatusIcons/Server-Default-AzureCloudService.svg\";\nimport DefaultAzureServiceFabricClusterIconPath from \"~/areas/infrastructure/components/MachineStatusIcons/Server-Default-AzureServiceFabricCluster.svg\";\nimport DefaultAzureWebAppIconPath from \"~/areas/infrastructure/components/MachineStatusIcons/Server-Default-AzureWebApp.svg\";\nimport DefaultKubernetesIconPath from \"~/areas/infrastructure/components/MachineStatusIcons/Server-Default-Kubernetes.svg\";\nimport DefaultKubernetesTentacleIconPath from \"~/areas/infrastructure/components/MachineStatusIcons/Server-Default-KubernetesTentacle.svg\";\nimport DefaultNoneIconPath from \"~/areas/infrastructure/components/MachineStatusIcons/Server-Default-None.svg\";\nimport DefaultOfflineDropIconPath from \"~/areas/infrastructure/components/MachineStatusIcons/Server-Default-OfflineDrop.svg\";\nimport DefaultSshIconPath from \"~/areas/infrastructure/components/MachineStatusIcons/Server-Default-Ssh.svg\";\nimport DefaultTentacleActiveIconPath from \"~/areas/infrastructure/components/MachineStatusIcons/Server-Default-TentacleActive.svg\";\nimport DefaultTentaclePassiveIconPath from \"~/areas/infrastructure/components/MachineStatusIcons/Server-Default-TentaclePassive.svg\";\nimport DisabledAzureCloudServiceIconPath from \"~/areas/infrastructure/components/MachineStatusIcons/Server-Disabled-AzureCloudService.svg\";\nimport DisabledAzureServiceFabricClusterIconPath from \"~/areas/infrastructure/components/MachineStatusIcons/Server-Disabled-AzureServiceFabricCluster.svg\";\nimport DisabledAzureWebAppIconPath from \"~/areas/infrastructure/components/MachineStatusIcons/Server-Disabled-AzureWebApp.svg\";\nimport DisabledKubernetesIconPath from \"~/areas/infrastructure/components/MachineStatusIcons/Server-Disabled-Kubernetes.svg\";\nimport DisabledKubernetesTentacleIconPath from \"~/areas/infrastructure/components/MachineStatusIcons/Server-Disabled-KubernetesTentacle.svg\";\nimport DisabledNoneIconPath from \"~/areas/infrastructure/components/MachineStatusIcons/Server-Disabled-None.svg\";\nimport DisabledOfflineDropIconPath from \"~/areas/infrastructure/components/MachineStatusIcons/Server-Disabled-OfflineDrop.svg\";\nimport DisabledSshIconPath from \"~/areas/infrastructure/components/MachineStatusIcons/Server-Disabled-Ssh.svg\";\nimport DisabledTentacleActiveIconPath from \"~/areas/infrastructure/components/MachineStatusIcons/Server-Disabled-TentacleActive.svg\";\nimport DisabledTentaclePassiveIconPath from \"~/areas/infrastructure/components/MachineStatusIcons/Server-Disabled-TentaclePassive.svg\";\nimport HasWarningsKubernetesTentacleIconPath from \"~/areas/infrastructure/components/MachineStatusIcons/Server-HasWarnings-KubernetesTentacle.svg\";\nimport HasWarningsSshIconPath from \"~/areas/infrastructure/components/MachineStatusIcons/Server-HasWarnings-Ssh.svg\";\nimport HasWarningsTentacleActiveIconPath from \"~/areas/infrastructure/components/MachineStatusIcons/Server-HasWarnings-TentacleActive.svg\";\nimport HasWarningsTentaclePassiveIconPath from \"~/areas/infrastructure/components/MachineStatusIcons/Server-HasWarnings-TentaclePassive.svg\";\nimport HealthyAzureCloudServiceIconPath from \"~/areas/infrastructure/components/MachineStatusIcons/Server-Healthy-AzureCloudService.svg\";\nimport HealthyAzureServiceFabricClusterIconPath from \"~/areas/infrastructure/components/MachineStatusIcons/Server-Healthy-AzureServiceFabricCluster.svg\";\nimport HealthyAzureWebAppIconPath from \"~/areas/infrastructure/components/MachineStatusIcons/Server-Healthy-AzureWebApp.svg\";\nimport HealthyKubernetesIconPath from \"~/areas/infrastructure/components/MachineStatusIcons/Server-Healthy-Kubernetes.svg\";\nimport HealthyKubernetesTentacleIconPath from \"~/areas/infrastructure/components/MachineStatusIcons/Server-Healthy-KubernetesTentacle.svg\";\nimport HealthyNoneIconPath from \"~/areas/infrastructure/components/MachineStatusIcons/Server-Healthy-None.svg\";\nimport HealthyOfflineDropIconPath from \"~/areas/infrastructure/components/MachineStatusIcons/Server-Healthy-OfflineDrop.svg\";\nimport HealthySshIconPath from \"~/areas/infrastructure/components/MachineStatusIcons/Server-Healthy-Ssh.svg\";\nimport HealthyTentacleActiveIconPath from \"~/areas/infrastructure/components/MachineStatusIcons/Server-Healthy-TentacleActive.svg\";\nimport HealthyTentaclePassiveIconPath from \"~/areas/infrastructure/components/MachineStatusIcons/Server-Healthy-TentaclePassive.svg\";\nimport NeedsUpgradeKubernetesTentacleIconPath from \"~/areas/infrastructure/components/MachineStatusIcons/Server-NeedsUpgrade-KubernetesTentacle.svg\";\nimport NeedsUpgradeTentacleActiveIconPath from \"~/areas/infrastructure/components/MachineStatusIcons/Server-NeedsUpgrade-TentacleActive.svg\";\nimport NeedsUpgradeTentaclePassiveIconPath from \"~/areas/infrastructure/components/MachineStatusIcons/Server-NeedsUpgrade-TentaclePassive.svg\";\nimport UnavailableAzureCloudServiceIconPath from \"~/areas/infrastructure/components/MachineStatusIcons/Server-Unavailable-AzureCloudService.svg\";\nimport UnavailableAzureServiceFabricClusterIconPath from \"~/areas/infrastructure/components/MachineStatusIcons/Server-Unavailable-AzureServiceFabricCluster.svg\";\nimport UnavailableAzureWebAppIconPath from \"~/areas/infrastructure/components/MachineStatusIcons/Server-Unavailable-AzureWebApp.svg\";\nimport UnavailableKubernetesIconPath from \"~/areas/infrastructure/components/MachineStatusIcons/Server-Unavailable-Kubernetes.svg\";\nimport UnavailableKubernetesTentacleIconPath from \"~/areas/infrastructure/components/MachineStatusIcons/Server-Unavailable-KubernetesTentacle.svg\";\nimport UnavailableOfflineDropIconPath from \"~/areas/infrastructure/components/MachineStatusIcons/Server-Unavailable-OfflineDrop.svg\";\nimport UnavailableSshIconPath from \"~/areas/infrastructure/components/MachineStatusIcons/Server-Unavailable-Ssh.svg\";\nimport UnavailableTentacleActiveIconPath from \"~/areas/infrastructure/components/MachineStatusIcons/Server-Unavailable-TentacleActive.svg\";\nimport UnavailableTentaclePassiveIconPath from \"~/areas/infrastructure/components/MachineStatusIcons/Server-Unavailable-TentaclePassive.svg\";\nimport UnhealthyAzureCloudServiceIconPath from \"~/areas/infrastructure/components/MachineStatusIcons/Server-Unhealthy-AzureCloudService.svg\";\nimport UnhealthyAzureServiceFabricClusterIconPath from \"~/areas/infrastructure/components/MachineStatusIcons/Server-Unhealthy-AzureServiceFabricCluster.svg\";\nimport UnhealthyAzureWebAppIconPath from \"~/areas/infrastructure/components/MachineStatusIcons/Server-Unhealthy-AzureWebApp.svg\";\nimport UnhealthyKubernetesIconPath from \"~/areas/infrastructure/components/MachineStatusIcons/Server-Unhealthy-Kubernetes.svg\";\nimport UnhealthyKubernetesTentacleIconPath from \"~/areas/infrastructure/components/MachineStatusIcons/Server-Unhealthy-KubernetesTentacle.svg\";\nimport UnhealthyOfflineDropIconPath from \"~/areas/infrastructure/components/MachineStatusIcons/Server-Unhealthy-OfflineDrop.svg\";\nimport UnhealthySshIconPath from \"~/areas/infrastructure/components/MachineStatusIcons/Server-Unhealthy-Ssh.svg\";\nimport UnhealthyTentacleActiveIconPath from \"~/areas/infrastructure/components/MachineStatusIcons/Server-Unhealthy-TentacleActive.svg\";\nimport UnhealthyTentaclePassiveIconPath from \"~/areas/infrastructure/components/MachineStatusIcons/Server-Unhealthy-TentaclePassive.svg\";\nimport UnknownAzureCloudServiceIconPath from \"~/areas/infrastructure/components/MachineStatusIcons/Server-Unknown-AzureCloudService.svg\";\nimport UnknownAzureServiceFabricClusterIconPath from \"~/areas/infrastructure/components/MachineStatusIcons/Server-Unknown-AzureServiceFabricCluster.svg\";\nimport UnknownAzureWebAppIconPath from \"~/areas/infrastructure/components/MachineStatusIcons/Server-Unknown-AzureWebApp.svg\";\nimport UnknownKubernetesIconPath from \"~/areas/infrastructure/components/MachineStatusIcons/Server-Unknown-Kubernetes.svg\";\nimport UnknownKubernetesTentacleIconPath from \"~/areas/infrastructure/components/MachineStatusIcons/Server-Unknown-KubernetesTentacle.svg\";\nimport UnknownNoneIconPath from \"~/areas/infrastructure/components/MachineStatusIcons/Server-Unknown-None.svg\";\nimport UnknownOfflineDropIconPath from \"~/areas/infrastructure/components/MachineStatusIcons/Server-Unknown-OfflineDrop.svg\";\nimport UnknownSshIconPath from \"~/areas/infrastructure/components/MachineStatusIcons/Server-Unknown-Ssh.svg\";\nimport UnknownTentacleActiveIconPath from \"~/areas/infrastructure/components/MachineStatusIcons/Server-Unknown-TentacleActive.svg\";\nimport UnknownTentaclePassiveIconPath from \"~/areas/infrastructure/components/MachineStatusIcons/Server-Unknown-TentaclePassive.svg\";\nimport { client } from \"~/clientInstance\";\nexport function getCommunicationStyleIconUrl(communicationStyle: Exclude): string {\n return machineStatusIcons[communicationStyle].defaultIcon;\n}\nexport function getMachineIconUrl({ HealthStatus, IsDisabled, Endpoint, HasLatestCalamari }: MachineResource): string {\n const { CommunicationStyle: communicationStyle } = Endpoint;\n if (communicationStyle === CommunicationStyleValues.StepPackage) {\n return client.resolve(Endpoint.Links.Logo);\n }\n if (IsDisabled) {\n return machineStatusIcons[communicationStyle].disabled;\n }\n if (HealthStatus === MachineModelHealthStatusValues.Unknown) {\n return machineStatusIcons[communicationStyle].unknown;\n }\n if (communicationStyle === CommunicationStyleValues.None) {\n if (HealthStatus === MachineModelHealthStatusValues.Healthy)\n return machineStatusIcons[communicationStyle].healthy;\n logger.error(`Unexpected machine icon scenario with communication style ${communicationStyle} and health status ${HealthStatus}: Returning unknown icon`);\n return machineStatusIcons[communicationStyle].unknown;\n }\n if (HealthStatus === MachineModelHealthStatusValues.Unavailable) {\n return machineStatusIcons[communicationStyle].unavailable;\n }\n if (HealthStatus === MachineModelHealthStatusValues.Unhealthy) {\n return machineStatusIcons[communicationStyle].unhealthy;\n }\n if (EndpointsHelper.isTentacle(Endpoint)) {\n const tentacleDetails = Endpoint.TentacleVersionDetails;\n if (tentacleDetails.UpgradeRequired && !tentacleDetails.UpgradeLocked) {\n if (communicationStyle === CommunicationStyleValues.TentacleActive || communicationStyle === CommunicationStyleValues.TentaclePassive || communicationStyle === CommunicationStyleValues.KubernetesTentacle) {\n return machineStatusIcons[communicationStyle].needsUpgrade;\n }\n logger.error(`Unexpected machine icon scenario with tentacle endpoint that needs upgrade, communication style ${communicationStyle}, and health status ${HealthStatus}`);\n return machineStatusIcons[communicationStyle].unknown;\n }\n }\n if (!HasLatestCalamari && EndpointsHelper.UsesCalamari(communicationStyle)) {\n return machineStatusIcons[communicationStyle].calamariNeedsUpgrade;\n }\n if (HealthStatus === MachineModelHealthStatusValues.HasWarnings && EndpointsHelper.CanHaveWarnings(communicationStyle)) {\n return machineStatusIcons[communicationStyle].hasWarnings;\n }\n if (HealthStatus === MachineModelHealthStatusValues.Healthy) {\n return machineStatusIcons[communicationStyle].healthy;\n }\n logger.error(`Unexpected machine icon scenario with communication style ${communicationStyle}, and health status ${HealthStatus}`);\n return machineStatusIcons[communicationStyle].unknown;\n}\nconst machineStatusIcons = {\n None: {\n disabled: DisabledNoneIconPath,\n unknown: UnknownNoneIconPath,\n healthy: HealthyNoneIconPath,\n defaultIcon: DefaultNoneIconPath,\n },\n TentaclePassive: {\n disabled: DisabledTentaclePassiveIconPath,\n unknown: UnknownTentaclePassiveIconPath,\n unavailable: UnavailableTentaclePassiveIconPath,\n unhealthy: UnhealthyTentaclePassiveIconPath,\n needsUpgrade: NeedsUpgradeTentaclePassiveIconPath,\n calamariNeedsUpgrade: CalamariNeedsUpgradeTentaclePassiveIconPath,\n hasWarnings: HasWarningsTentaclePassiveIconPath,\n healthy: HealthyTentaclePassiveIconPath,\n defaultIcon: DefaultTentaclePassiveIconPath,\n },\n TentacleActive: {\n disabled: DisabledTentacleActiveIconPath,\n unknown: UnknownTentacleActiveIconPath,\n unavailable: UnavailableTentacleActiveIconPath,\n unhealthy: UnhealthyTentacleActiveIconPath,\n needsUpgrade: NeedsUpgradeTentacleActiveIconPath,\n calamariNeedsUpgrade: CalamariNeedsUpgradeTentacleActiveIconPath,\n hasWarnings: HasWarningsTentacleActiveIconPath,\n healthy: HealthyTentacleActiveIconPath,\n defaultIcon: DefaultTentacleActiveIconPath,\n },\n KubernetesTentacle: {\n disabled: DisabledKubernetesTentacleIconPath,\n unknown: UnknownKubernetesTentacleIconPath,\n unavailable: UnavailableKubernetesTentacleIconPath,\n unhealthy: UnhealthyKubernetesTentacleIconPath,\n needsUpgrade: NeedsUpgradeKubernetesTentacleIconPath,\n calamariNeedsUpgrade: CalamariNeedsUpgradeKubernetesTentacleIconPath,\n hasWarnings: HasWarningsKubernetesTentacleIconPath,\n healthy: HealthyKubernetesTentacleIconPath,\n defaultIcon: DefaultKubernetesTentacleIconPath,\n },\n Ssh: {\n disabled: DisabledSshIconPath,\n unknown: UnknownSshIconPath,\n unavailable: UnavailableSshIconPath,\n unhealthy: UnhealthySshIconPath,\n calamariNeedsUpgrade: CalamariNeedsUpgradeSshIconPath,\n hasWarnings: HasWarningsSshIconPath,\n healthy: HealthySshIconPath,\n defaultIcon: DefaultSshIconPath,\n },\n OfflineDrop: {\n disabled: DisabledOfflineDropIconPath,\n unknown: UnknownOfflineDropIconPath,\n unavailable: UnavailableOfflineDropIconPath,\n unhealthy: UnhealthyOfflineDropIconPath,\n healthy: HealthyOfflineDropIconPath,\n defaultIcon: DefaultOfflineDropIconPath,\n },\n AzureWebApp: {\n disabled: DisabledAzureWebAppIconPath,\n unknown: UnknownAzureWebAppIconPath,\n unavailable: UnavailableAzureWebAppIconPath,\n unhealthy: UnhealthyAzureWebAppIconPath,\n healthy: HealthyAzureWebAppIconPath,\n defaultIcon: DefaultAzureWebAppIconPath,\n },\n AzureCloudService: {\n disabled: DisabledAzureCloudServiceIconPath,\n unknown: UnknownAzureCloudServiceIconPath,\n unavailable: UnavailableAzureCloudServiceIconPath,\n unhealthy: UnhealthyAzureCloudServiceIconPath,\n healthy: HealthyAzureCloudServiceIconPath,\n defaultIcon: DefaultAzureCloudServiceIconPath,\n },\n AzureServiceFabricCluster: {\n disabled: DisabledAzureServiceFabricClusterIconPath,\n unknown: UnknownAzureServiceFabricClusterIconPath,\n unavailable: UnavailableAzureServiceFabricClusterIconPath,\n unhealthy: UnhealthyAzureServiceFabricClusterIconPath,\n healthy: HealthyAzureServiceFabricClusterIconPath,\n defaultIcon: DefaultAzureServiceFabricClusterIconPath,\n },\n Kubernetes: {\n disabled: DisabledKubernetesIconPath,\n unknown: UnknownKubernetesIconPath,\n unavailable: UnavailableKubernetesIconPath,\n unhealthy: UnhealthyKubernetesIconPath,\n healthy: HealthyKubernetesIconPath,\n defaultIcon: DefaultKubernetesIconPath,\n },\n} as const;\n","import type { ActionTemplateSearchResource, StepPackageDeploymentTargetType } from \"@octopusdeploy/octopus-server-client\";\nimport { Environment } from \"@octopusdeploy/utilities\";\nexport function hidePrereleaseStepPackages(stepPackage: StepPackageDeploymentTargetType | ActionTemplateSearchResource) {\n if (Environment.isInDevelopmentMode()) {\n return true;\n }\n return !stepPackage.Prerelease;\n}\n","import { css } from \"@emotion/css\";\nimport { borderRadius, colorScales, space } from \"@octopusdeploy/design-system-tokens\";\nimport cn from \"classnames\";\nimport * as React from \"react\";\nexport type MachineIconVariant = \"default\" | \"medium\" | \"small\";\ntype MachineIconProps = {\n imageUrl: string;\n variant?: MachineIconVariant;\n};\nconst machineImageStyles = css({\n marginRight: space[8],\n backgroundColor: colorScales.white,\n borderRadius: \"3.125rem\",\n padding: space[8],\n width: \"3.125rem\",\n height: \"3.125rem\",\n justifyContent: \"center\",\n alignItems: \"center\",\n display: \"flex\",\n});\nconst machineIconStyles = css({\n width: \"2.438rem\",\n height: \"2.563rem\",\n});\nconst machineImageMediumStyles = css({\n width: space[40],\n height: space[40],\n borderRadius: borderRadius.small,\n marginRight: \"0\", // we should remove margins from all variants but to preserve compatibility I am leaving the margin for the other, currently used variants\n [`&>.${machineIconStyles}`]: {\n width: \"2rem\",\n height: \"2 rem\",\n },\n});\nconst machineImageSmallStyles = css({\n width: space[16],\n height: space[16],\n [`&>.${machineIconStyles}`]: {\n width: space[32],\n height: space[32],\n },\n});\nexport function MachineIcon(props: MachineIconProps) {\n return (
    \n \"Machine\"/\n
    );\n}\n","import * as React from \"react\";\nimport ExternalLink from \"~/components/Navigation/ExternalLink\";\nimport { Note } from \"~/components/form\";\nimport type { CategoryDefinition } from \"./endpointRegistry\";\nconst category: CategoryDefinition = {\n category: \"Azure\",\n title: (\n What type of Azure target do you want to connect?\n ),\n help: (\n Learn more about Azure Targets\n ),\n displayOrder: 35,\n};\nexport default category;\n","import * as React from \"react\";\nimport ExternalLink from \"~/components/Navigation/ExternalLink\";\nimport { Note } from \"~/components/form\";\nimport type { CategoryDefinition } from \"./endpointRegistry\";\nconst category: CategoryDefinition = {\n category: \"Cloud Region\",\n title: (\n Let's setup a Cloud Region target.\n ),\n help: (\n Learn more about Cloud Regions\n ),\n displayOrder: 45,\n};\nexport default category;\n","import cn from \"classnames\";\nimport * as React from \"react\";\nimport { DisabledChip } from \"~/components/Chips\";\nimport styles from \"./style.module.less\";\ninterface CardProps {\n className?: string;\n logo: React.ReactNode;\n header: React.ReactNode;\n content: React.ReactNode;\n footerIcon?: React.ReactNode;\n footerText?: React.ReactNode;\n footerBackgroundColor?: string;\n onHoverView?: React.ReactNode;\n link?: React.ReactNode;\n isDisabled?: boolean;\n hideDisabledChip?: boolean;\n includeContentFade?: boolean;\n leftAlign?: boolean;\n contentClassName?: string;\n disableMargin?: boolean;\n onClick?: () => void;\n}\nconst Card: React.StatelessComponent = (props: CardProps) => {\n let header: React.ReactNode = null;\n if (props.isDisabled && !props.hideDisabledChip) {\n header = (
    \n {props.header}\n
    \n \n
    );\n }\n else {\n header = props.header;\n }\n return (
    \n {props.link &&
    {props.link}
    }\n
    {props.logo}
    \n
    {header}
    \n
    {props.content}
    \n {(props.footerText || props.footerIcon || props.footerBackgroundColor) && (
    \n {props.footerText}\n {props.footerIcon}\n
    )}\n {props.onHoverView &&
    {props.onHoverView}
    }\n
    );\n};\nCard.displayName = \"Card\"\nCard.displayName = \"Card\";\nexport default Card;\n","import Card from \"./Card\";\nexport default Card;\n","import * as React from \"react\";\nimport { useSelector, useDispatch } from \"react-redux\";\nimport dialogIdGenerator from \"~/components/Dialog/dialogIdGenerator\";\nimport { actions as dialogActions, selectors as dialogSelectors } from \"./store\";\nexport interface DialogTriggerRenderProps {\n open: boolean;\n closeDialog(): void;\n openDialog(): void;\n}\nexport type DialogControls = {\n isOpen: boolean;\n closeDialog: () => void;\n openDialog: () => void;\n};\nexport interface DialogTriggerProps {\n render: (props: DialogTriggerRenderProps) => React.ReactNode;\n}\nexport function DialogTrigger(props: DialogTriggerProps) {\n const { closeDialog, openDialog, isOpen } = useDialogTrigger();\n return (\n {props.render({\n openDialog,\n closeDialog,\n open: isOpen,\n })}\n );\n}\nfunction useDialogId() {\n return React.useMemo(() => dialogIdGenerator.next(), []);\n}\nexport function useDialogTrigger(): DialogControls {\n const dialogId = useDialogId();\n const isOpen = useSelector((state: GlobalState) => dialogSelectors.createDialogOpenSelector(dialogId)(state));\n const dispatch = useDispatch();\n const openDialog = React.useCallback(() => dispatch(dialogActions.open(dialogId)), [dispatch, dialogId]);\n const closeDialog = React.useCallback(() => dispatch(dialogActions.closeAll()), [dispatch]);\n return { isOpen, openDialog, closeDialog };\n}\n","import { ActionButton } from \"@octopusdeploy/design-system-components\";\nimport type { ActionButtonType } from \"@octopusdeploy/design-system-components\";\nimport * as React from \"react\";\nimport Dialog from \"~/components/Dialog/Dialog\";\nimport type { PermissionCheckProps } from \"../PermissionCheck/PermissionCheck\";\nimport { isAllowed } from \"../PermissionCheck/PermissionCheck\";\nimport type { DialogTriggerRenderProps } from \"./DialogTrigger\";\nimport { DialogTrigger } from \"./DialogTrigger\";\nimport styles from \"./style.module.less\";\ninterface RenderDialogProps {\n open: boolean;\n closeDialog(): void;\n openDialog(): void;\n}\ninterface OpenDialogButtonProps {\n label: string;\n accessibleName?: string;\n title?: string;\n disabled?: boolean;\n permission?: PermissionCheckProps;\n icon?: JSX.Element;\n iconPosition?: \"left\" | \"right\";\n type?: ActionButtonType;\n dialogWidth?: \"600px\" | \"800px\" | \"1000px\";\n renderDialog?: (props: RenderDialogProps) => React.ReactNode;\n onClick?: () => void; // Track analytics\n onRender?: (renderProps: DialogTriggerRenderProps) => void;\n children?: React.ReactNode;\n}\nconst OpenDialogButton = (props: OpenDialogButtonProps) => {\n const getPermissionLabel = () => {\n if (props.permission === undefined) {\n return \"No\";\n }\n if (Array.isArray(props.permission.permission)) {\n return props.permission.permission.join(\", \");\n }\n return props.permission.permission;\n };\n const disabledDueToPermission = !!props.permission ? !isAllowed(props.permission) : false;\n const permissionLabel = getPermissionLabel();\n const label = disabledDueToPermission ? `${permissionLabel} permission required` : props.label;\n return ( {\n if (props.onRender)\n props.onRender({ open, closeDialog, openDialog });\n const wrappedOpenDialog = () => {\n if (props.onClick)\n props.onClick();\n openDialog();\n };\n return (
    \n \n {props.renderDialog ? (props.renderDialog({ open, openDialog: wrappedOpenDialog, closeDialog })) : (\n {props.children}\n )}\n
    );\n }}/>);\n};\nexport default OpenDialogButton;\n","import { ActionButton, ActionButtonType } from \"@octopusdeploy/design-system-components\";\nimport * as React from \"react\";\nimport Card from \"~/components/Card\";\nimport type { DialogTriggerRenderProps } from \"~/components/Dialog/DialogTrigger\";\nimport { DialogTrigger } from \"~/components/Dialog/DialogTrigger\";\nimport OpenDialogButton from \"~/components/Dialog/OpenDialogButton\";\nimport styles from \"./EndpointCard.module.less\";\nexport interface EndpointCardDispatchProps {\n onNavigate?: () => void;\n onClick?: () => void;\n}\nexport interface EndpointCardDetailProps {\n logo: React.ReactElement<{}>;\n registrationName: string;\n description: React.ReactNode;\n buttonLabel?: string;\n}\nexport type EndpointCardProps = EndpointCardDispatchProps & EndpointCardDetailProps;\nexport const EndpointCard: React.SFC = (props) => ({props.logo}} className={styles.card} header={props.registrationName} content={
    {props.description}
    } includeContentFade={false} /* Don't set true here, or you see the contentFade onHover */ onHoverView={
    \n
    \n \n
    } onClick={props.onClick}/>);\nEndpointCard.displayName = \"EndpointCard\"\nexport interface EndpointCardDialogProps {\n open: boolean;\n closeDialog(): void;\n openDialog(): void;\n}\ninterface EndpointDialogCardDetailProps {\n logo: React.ReactElement<{}>;\n registrationName: string;\n description: React.ReactNode;\n buttonLabel?: string;\n renderDialog: (props: EndpointCardDialogProps) => React.ReactNode;\n chip?: React.ReactNode;\n onClick?: () => void;\n}\nexport const EndpointDialogCard = (props: EndpointDialogCardDetailProps) => {\n const isDialogOpenRef = React.useRef(false);\n const conditionalOnClick = () => {\n if (isDialogOpenRef.current)\n return;\n if (props.onClick)\n props.onClick();\n };\n return ({props.logo}
    } className={styles.card} header={props.registrationName} content={
    \n
    {props.description}
    \n
    {props.chip}
    \n
    } contentClassName={props.chip ? styles.variableHeightContent : undefined} includeContentFade={false} /* Don't set true here, or you see the contentFade onHover */ onHoverView={
    \n
    \n props.renderDialog(renderProps)} onRender={(renderProps: DialogTriggerRenderProps) => {\n isDialogOpenRef.current = renderProps.open;\n }} onClick={conditionalOnClick}/>\n
    }/>);\n};\ninterface InformationalEndpointCardRenderProps {\n open: boolean;\n closeDialog(): void;\n openDialog(): void;\n}\nexport type InformationalEndpointCardProps = EndpointCardDetailProps & {\n renderDialog: (props: InformationalEndpointCardRenderProps) => React.ReactElement<{}>;\n onClick?: () => void;\n};\nexport const InformationalEndpointCard: React.SFC = ({ buttonLabel = \"View Instructions\", renderDialog, onClick, ...rest }) => ( {\n const conditionalOnClick = () => {\n if (renderProps.open)\n return;\n if (onClick)\n onClick();\n };\n return (\n \n {renderDialog(renderProps)}\n );\n }}/>);\nInformationalEndpointCard.displayName = \"InformationalEndpointCard\"\nexport type SimpleInformationalEndpointCardProps = EndpointCardDetailProps & {\n renderView: () => React.ReactElement<{}>;\n};\nexport default EndpointCard;\n","import * as React from \"react\";\nimport ExternalLink from \"~/components/Navigation/ExternalLink\";\nimport Note from \"~/primitiveComponents/form/Note/Note\";\nimport type { CategoryDefinition } from \"./endpointRegistry\";\nconst category: CategoryDefinition = {\n category: \"Kubernetes\",\n title: (\n Let's connect to a Kubernetes cluster.\n ),\n help: (\n Learn more about connecting to Kubernetes clusters\n ),\n displayOrder: 10,\n};\nexport default category;\n","import * as React from \"react\";\nimport ExternalLink from \"~/components/Navigation/ExternalLink\";\nimport { Note } from \"~/components/form\";\nimport type { CategoryDefinition } from \"./endpointRegistry\";\nconst category: CategoryDefinition = {\n category: \"Linux\",\n title: (\n What type of Linux target do you want to set up?\n ),\n help: (\n Learn more about Tentacle on Linux and SSH Targets\n ),\n displayOrder: 20,\n};\nexport default category;\n","import * as React from \"react\";\nimport ExternalLink from \"~/components/Navigation/ExternalLink\";\nimport { Note } from \"~/components/form\";\nimport type { CategoryDefinition } from \"./endpointRegistry\";\nconst category: CategoryDefinition = {\n category: \"Mac\",\n title: (\n What type of Mac target do you want to set up?\n ),\n help: (\n Learn more about SSH Targets\n ),\n displayOrder: 30,\n};\nexport default category;\n","import * as React from \"react\";\nimport { Note } from \"~/components/form\";\nimport ExternalLink from \"../../../../../components/Navigation/ExternalLink/ExternalLink\";\nimport type { CategoryDefinition } from \"./endpointRegistry\";\nconst category: CategoryDefinition = {\n category: \"Offline Package Drop\",\n title: (<>\n Let's setup an Offline Package Drop\n ),\n help: (\n Learn more about Offline Package Drops\n ),\n displayOrder: 100,\n};\nexport default category;\n","import * as React from \"react\";\nimport ExternalLink from \"~/components/Navigation/ExternalLink\";\nimport { Note } from \"~/components/form\";\nimport type { CategoryDefinition } from \"./endpointRegistry\";\nconst category: CategoryDefinition = {\n category: \"Windows\",\n title: (\n What type of Windows target do you want to set up?\n ),\n help: (\n Learn about the differences between Listening and Polling Tentacle Communication Modes\n ),\n displayOrder: 25,\n};\nexport default category;\n","import type { AmazonWebServicesAccount, AzureServicePrincipal, Discriminator, GoogleCloudAccount, SensitiveValue, SshKeyPair, Token, UsernamePassword } from \"@octopusdeploy/step-inputs\";\nimport type { InputJsonSchema, UnionDefinition } from \"@octopusdeploy/step-runtime-inputs\";\nexport interface SampleDeploymentTargetInputs {\n string: string;\n sensitiveValue: SensitiveValue;\n union: Union;\n secondUnion: Union;\n boolean: boolean;\n region: \"us-east1\" | \"us-east2\" | \"au-east1\";\n select: \"select-1\" | \"select-2\" | \"select-3\";\n number: number;\n awsAccount: AmazonWebServicesAccount;\n azureAccount: AzureServicePrincipal;\n googleAccount: GoogleCloudAccount;\n sshKeyPair: SshKeyPair;\n token: Token;\n username: UsernamePassword;\n}\nexport type Union = FirstType | SecondType;\nexport interface FirstType {\n type: Discriminator<\"first\">;\n valueFromFirst: string;\n}\nexport interface SecondType {\n type: Discriminator<\"second\">;\n valueFromSecond: SensitiveValue;\n}\nconst unionSchema: UnionDefinition = {\n anyOf: [\n {\n type: \"object\",\n properties: {\n type: { type: \"string\", const: \"first\", isDiscriminator: true },\n valueFromFirst: { type: \"string\" },\n },\n required: [\"type\", \"valueFromFirst\"],\n },\n {\n type: \"object\",\n properties: {\n type: { type: \"string\", const: \"second\", isDiscriminator: true },\n valueFromSecond: { type: \"object\", isSensitiveValue: true },\n },\n required: [\"type\", \"valueFromSecond\"],\n },\n ],\n};\nexport const sampleDeploymentTargetInputSchema: InputJsonSchema = {\n definitions: {\n MyInputs: {\n type: \"object\",\n isRoot: true,\n properties: {\n string: { type: \"string\" },\n sensitiveValue: { type: \"object\", isSensitiveValue: true },\n union: unionSchema,\n secondUnion: unionSchema,\n boolean: { type: \"boolean\" },\n region: { type: \"string\", enum: [\"us-east1\", \"us-east2\"] },\n select: { type: \"string\", enum: [\"select-1\", \"select-2\", \"select-3\"] },\n number: { type: \"number\" },\n awsAccount: {\n type: \"string\",\n isAccount: true,\n accountType: \"AmazonWebServicesAccount\",\n },\n azureAccount: {\n type: \"string\",\n isAccount: true,\n accountType: \"AzureServicePrincipal\",\n },\n googleAccount: {\n type: \"string\",\n isAccount: true,\n accountType: \"GoogleCloudAccount\",\n },\n sshKeyPair: {\n type: \"string\",\n isAccount: true,\n accountType: \"SshKeyPair\",\n },\n token: {\n type: \"string\",\n isAccount: true,\n accountType: \"Token\",\n },\n username: {\n type: \"string\",\n isAccount: true,\n accountType: \"UsernamePassword\",\n },\n },\n required: [\"string\", \"sensitiveValue\", \"union\", \"secondUnion\", \"boolean\", \"region\", \"select\", \"number\", \"awsAccount\", \"azureAccount\", \"googleAccount\", \"sshKeyPair\", \"token\", \"username\"],\n },\n },\n};\n","import type { ObjectInputPaths } from \"@octopusdeploy/step-inputs\";\nimport type { DeploymentTargetInputComponent, DeploymentTargetUI } from \"@octopusdeploy/step-ui\";\nimport { bold, code, italic, link, note, number, account, checkbox, radioButtons, section, sectionGroup, sensitiveText, text, select } from \"@octopusdeploy/step-ui\";\nimport type { Union, SampleDeploymentTargetInputs } from \"./SampleDeploymentTargetInputs\";\nexport const sampleDeploymentTargetUI: DeploymentTargetUI = {\n createInitialInputs: () => ({\n string: \"Initial value\",\n union: {\n type: \"first\",\n valueFromFirst: \"Another initial value\",\n },\n secondUnion: {\n type: \"second\",\n valueFromSecond: {\n type: \"empty\",\n },\n },\n boolean: false,\n region: \"us-east1\",\n select: \"select-1\",\n number: 100,\n }),\n editInputsForm: (inputs) => {\n return [\n text({\n input: inputs.string,\n label: \"Some string input\",\n helpText: \"Enter a string!\",\n note: note `This is a note for the string input. It even contains a ${link({ href: \"https://www.octopus.com\", title: \"link\" })} and some ${italic(\"differently\")} ${bold(\"formatted\")} ${code(\"text\")}.`,\n }),\n checkbox({\n input: inputs.boolean,\n label: \"A checkbox input\",\n helpText: \"Select whether the value is true or false\",\n note: note `This is a note for the checkbox input`,\n }),\n radioButtons({\n input: inputs.region,\n label: \"Region\",\n helpText: \"Pick a region\",\n options: [\n { label: \"US East 1\", newValue: \"us-east1\" },\n { label: \"US East 2\", newValue: \"us-east2\" },\n { label: \"AU East 1\", newValue: \"au-east1\" },\n ],\n note: note `This is a note for the radio buttons input`,\n }),\n select({\n input: inputs.select,\n label: \"A select input\",\n helpText: \"Select an option\",\n options: [\n {\n label: \"Option 1\",\n newValue: \"select-1\",\n },\n {\n label: \"Option 2\",\n newValue: \"select-2\",\n },\n {\n label: \"Option 3\",\n newValue: \"select-3\",\n },\n ],\n note: note `This is a note for the select input`,\n }),\n number({\n input: inputs.number,\n label: \"Some number input\",\n helpText: \"Enter a number!\",\n note: note `This is a note for the number input`,\n }),\n sectionGroup({\n title: \"A section group\",\n content: [\n section({\n title: \"A section\",\n content: [\n sensitiveText({\n input: inputs.sensitiveValue,\n label: \"Sensitive value\",\n helpText: \"Enter a sensitive value\",\n note: note `This is a note for the sensitive input`,\n }),\n ],\n }),\n ],\n }),\n section({\n title: \"Union section\",\n content: [\n radioButtons({\n input: inputs.union,\n label: \"First or Second?\",\n helpText: \"Pick between first and second\",\n options: [\n {\n label: \"First option\",\n newValue: {\n type: \"first\",\n valueFromFirst: \"some value\",\n },\n },\n {\n label: \"Second option\",\n newValue: {\n type: \"second\",\n valueFromSecond: { type: \"empty\" },\n },\n },\n ],\n }),\n ...unionUI(inputs.union),\n ],\n }),\n section({\n title: \"A second union section\",\n content: [\n select({\n input: inputs.secondUnion,\n label: \"First or Second (from select)?\",\n helpText: \"Pick between first and second\",\n options: [\n {\n label: \"First option\",\n newValue: {\n type: \"first\",\n valueFromFirst: \"some value\",\n },\n },\n {\n label: \"Second option\",\n newValue: {\n type: \"second\",\n valueFromSecond: { type: \"empty\" },\n },\n },\n ],\n }),\n ...unionUI(inputs.secondUnion),\n ],\n }),\n section({\n title: \"Accounts\",\n content: [\n account({\n input: inputs.awsAccount,\n label: \"AWS Account\",\n helpText: \"Select an AWS Account\",\n }),\n account({\n input: inputs.azureAccount,\n label: \"Azure Account\",\n helpText: \"Select an Azure Account\",\n }),\n account({\n input: inputs.googleAccount,\n label: \"Google Account\",\n helpText: \"Select a Google Account\",\n }),\n account({\n input: inputs.sshKeyPair,\n label: \"SSH Key Pair\",\n helpText: \"Select an SSH Key Pair\",\n }),\n account({\n input: inputs.token,\n label: \"Token\",\n helpText: \"Select a Token\",\n }),\n account({\n input: inputs.username,\n label: \"Username/Password\",\n helpText: \"Select a Username/Password\",\n }),\n ],\n }),\n ];\n },\n};\nfunction unionUI(inputs: ObjectInputPaths): DeploymentTargetInputComponent[] {\n if (inputs.type === \"first\") {\n return [\n text({\n input: inputs.valueFromFirst,\n label: \"String for first\",\n helpText: \"Enter a string for the first option\",\n }),\n ];\n }\n return [\n sensitiveText({\n input: inputs.valueFromSecond,\n label: \"Sensitive value for second\",\n helpText: \"Enter a sensitive value for the second option\",\n }),\n ];\n}\n","import type { StepPackageDeploymentTargetType } from \"@octopusdeploy/octopus-server-client\";\nimport type { StepPackageDeploymentTarget } from \"~/components/StepPackageDeploymentTargetEditor/StepPackageDeploymentTarget\";\nimport type { SampleDeploymentTargetInputs } from \"./SampleDeploymentTargetInputs\";\nimport { sampleDeploymentTargetInputSchema } from \"./SampleDeploymentTargetInputs\";\nimport { sampleDeploymentTargetUI } from \"./SampleDeploymentTargetUI\";\nexport const sampleDeploymentTargetPackage: StepPackageDeploymentTarget = {\n deploymentTargetTypeId: \"sample-deployment-target\",\n version: \"0.0.1\",\n name: \"Sample Deployment Target\",\n inputJsonSchema: sampleDeploymentTargetInputSchema,\n ui: sampleDeploymentTargetUI,\n targetDiscoveryCloudConnectionTypes: [],\n};\nexport function createSampleDeploymentTargetType(): StepPackageDeploymentTargetType {\n return {\n Id: \"sample-deployment-target\",\n Categories: [\"Azure\", \"Aws\", \"Google Cloud\"],\n Description: \"A sample deployment target that cannot be used and only has a UI\",\n Links: {\n Schema: \"\",\n UI: \"\",\n Logo: `/api/actiontemplates/sample-deployment-target/logo`,\n },\n Name: \"Sample Deployment Target\",\n Version: \"0.0.1\",\n Prerelease: true,\n };\n}\n","/* eslint-disable @typescript-eslint/consistent-type-assertions */\nimport { css } from \"@emotion/css\";\nimport type { CloudConnectionType, InstanceFeatureToggle, MachineResource, StepPackageDeploymentTargetType, StepPackageDeploymentTargetTypeLinks, StepPackageEndpointResource, CommunicationStyle } from \"@octopusdeploy/octopus-server-client\";\nimport { CommunicationStyleValues } from \"@octopusdeploy/octopus-server-client\";\nimport type { EndpointRegistrationKey } from \"@octopusdeploy/portal-routes\";\nimport { EndpointRegistrationKeyValues } from \"@octopusdeploy/portal-routes\";\nimport type { DeploymentTargetUI } from \"@octopusdeploy/step-ui\";\nimport { exhaustiveCheck } from \"@octopusdeploy/type-utils\";\nimport { Environment } from \"@octopusdeploy/utilities\";\nimport { values } from \"lodash\";\nimport * as React from \"react\";\nimport { createStepPackageCategoryDefinition } from \"~/areas/infrastructure/components/MachineSettings/Endpoints/StepPackageCategoryDefinition\";\nimport { client, repository } from \"~/clientInstance\";\nimport type { UnknownStepPackageDeploymentTarget } from \"~/components/StepPackageDeploymentTargetEditor/StepPackageDeploymentTarget\";\nimport { asUnknownStepPackageDeploymentTarget } from \"~/components/StepPackageDeploymentTargetEditor/StepPackageDeploymentTarget\";\nimport { stepPackageResolver } from \"~/stepPackages/stepPackageResolver\";\nimport { getMachineIconUrl } from \"~/utils/MachineIconUrlFetchers/machineIconUrlFetchers\";\nimport { hidePrereleaseStepPackages } from \"../../../../../utils/FeatureFlags/hidePrereleaseStepPackages\";\nimport type { MachineIconVariant } from \"../../MachineIcon/MachineIcon\";\nimport { MachineIcon } from \"../../MachineIcon/MachineIcon\";\nimport azureCategory from \"./AzureCategoryDefinition\";\nimport cloudRegionCategory from \"./CloudRegionCategoryDefinition\";\nimport EndpointCard from \"./EndpointCard\";\nimport kubernetesCategory from \"./KubernetesCategoryDefinition\";\nimport linuxCategory from \"./LinuxCategoryDefinition\";\nimport macCategory from \"./MacCategoryDefinition\";\nimport offlineDropCategory from \"./OfflineDropCategoryDefinition\";\nimport windowsCategory from \"./WindowsCategoryDefinition\";\nimport { createSampleDeploymentTargetType, sampleDeploymentTargetPackage } from \"./sample/SampleDeploymentTargetPackage\";\nimport styles from \"./styles.module.less\";\nexport interface DisplayOrder {\n displayOrder: number;\n}\nexport interface CategoryDefinition extends DisplayOrder {\n category: string;\n title: React.ReactNode;\n help?: React.ReactNode;\n}\nexport type TentacleType = Extract;\nexport type MachineTypeRegistration = {\n communicationStyle: Extract;\n discoverable: boolean;\n};\nexport type MachineRegistration = MachineTypeRegistration & CategorizedEndpointRegistration;\nexport type DeploymentTargetRegistration = CategorizedEndpointRegistration;\nexport enum EndpointSelectionScope {\n Worker = \"Worker\",\n DeploymentTarget = \"Deployment Target\"\n}\nexport interface RenderRegistrationCardProps {\n spaceId: string;\n category: CategoryDefinition;\n registration: CategorizedEndpointRegistration;\n onNavigate: () => void;\n scope: EndpointSelectionScope;\n onClick?: () => void;\n}\nexport type EndpointLogoProps = {\n machine?: MachineResource;\n variant?: MachineIconVariant;\n};\nexport type EndpointLogo = React.ComponentType;\nexport const BuiltInEndpointLogo: EndpointLogo = (props) => {\n if (props.machine === undefined)\n return <>;\n const machineIcon = getMachineIconUrl(props.machine);\n return ;\n};\nexport function createStepPackageEndpointLogo(endpoint: StepPackageEndpointResource) {\n const StepPackageEndpointLogo: EndpointLogo = (props) => {\n const stepPackageLogoUrl = client.resolve(endpoint.Links.Logo);\n return ;\n };\n return StepPackageEndpointLogo;\n}\nexport interface SharedEndpointRegistration extends DisplayOrder {\n categories: CategoryDefinition[];\n renderCard: (props: RenderRegistrationCardProps) => React.ReactElement<{}>;\n key: string;\n name: string;\n communicationStyle: CommunicationStyle;\n renderDialogView?: (renderProps: {\n className: string;\n }) => React.ReactElement<{}>;\n visibilityFeatureToggle?: InstanceFeatureToggle;\n}\nexport interface StepPackageEndpointRegistration extends SharedEndpointRegistration {\n communicationStyle: typeof CommunicationStyleValues.StepPackage;\n}\nexport function isStepPackageEndpointRegistration(registration: CategorizedEndpointRegistration): registration is StepPackageEndpointRegistration {\n return registration.communicationStyle === CommunicationStyleValues.StepPackage;\n}\nexport function getEndpointRegistrationKey(communicationStyle: CommunicationStyle): EndpointRegistrationKey {\n switch (communicationStyle) {\n case CommunicationStyleValues.None:\n return EndpointRegistrationKeyValues.CloudRegion;\n case CommunicationStyleValues.TentaclePassive:\n return EndpointRegistrationKeyValues.TentaclePassive;\n case CommunicationStyleValues.TentacleActive:\n return EndpointRegistrationKeyValues.TentacleActive;\n case CommunicationStyleValues.Ssh:\n return EndpointRegistrationKeyValues.Ssh;\n case CommunicationStyleValues.OfflineDrop:\n return EndpointRegistrationKeyValues.OfflineDrop;\n case CommunicationStyleValues.AzureWebApp:\n return EndpointRegistrationKeyValues.AzureWebApp;\n case CommunicationStyleValues.Kubernetes:\n return EndpointRegistrationKeyValues.Kubernetes;\n case CommunicationStyleValues.StepPackage:\n return EndpointRegistrationKeyValues.StepPackage;\n case CommunicationStyleValues.AzureCloudService:\n return EndpointRegistrationKeyValues.AzureCloudService;\n case CommunicationStyleValues.AzureServiceFabricCluster:\n return EndpointRegistrationKeyValues.AzureServiceFabricCluster;\n case CommunicationStyleValues.KubernetesTentacle:\n return EndpointRegistrationKeyValues.KubernetesTentacle;\n default:\n exhaustiveCheck(communicationStyle, \"Not all communication styles have been handled\");\n }\n}\nexport type BuiltInEndpointRegistration = SharedEndpointRegistration & {\n // Target Discovery properties are not set for StepPackage registrations\n // as that information is stored on the StepPackage itself.\n targetDiscoveryCloudConnectionTypes?: () => Array;\n customTargetDiscoveryLabel?: string;\n};\nexport type InformationEndpointRegistration = SharedEndpointRegistration & {\n communicationStyle: typeof CommunicationStyleValues.None;\n};\nexport type CategorizedEndpointRegistration = BuiltInEndpointRegistration | StepPackageEndpointRegistration;\nexport type StepPackageDeploymentTargetRegistration = DeploymentTargetRegistration & {\n targetType: StepPackageDeploymentTargetType;\n links: StepPackageDeploymentTargetTypeLinks;\n version: string;\n};\nexport interface CategorizedEndpointResult {\n category: CategoryDefinition;\n endpoints: CategorizedEndpointRegistration[];\n}\nexport type EndpointRegistration = CategorizedEndpointRegistration;\nconst knownEndpointCategories = [azureCategory, linuxCategory, macCategory, windowsCategory, kubernetesCategory, cloudRegionCategory, offlineDropCategory];\nconst getStepPackageTargetCategories = (dt: StepPackageDeploymentTargetType): CategoryDefinition[] => {\n let packageCategories: CategoryDefinition[] = [];\n if (dt.Categories === undefined)\n return packageCategories;\n packageCategories = dt.Categories.map((category) => {\n const knownCategory = knownEndpointCategories.find((c) => c.category.toLowerCase() === category.toLowerCase());\n if (knownCategory !== undefined)\n return knownCategory;\n return createStepPackageCategoryDefinition(category);\n });\n return packageCategories;\n};\nconst createStepPackageDeploymentTargetRegistration = (stepPackageDeploymentTargetType: StepPackageDeploymentTargetType): StepPackageDeploymentTargetRegistration => {\n const { Name, Id, Version, Links } = stepPackageDeploymentTargetType;\n const logoUrl = client.resolve(stepPackageDeploymentTargetType.Links.Logo);\n // const logoSize = \"3.1rem\";\n const logoCircleSize = \"4.5rem\";\n return {\n key: `${Id}`,\n displayOrder: 12,\n categories: getStepPackageTargetCategories(stepPackageDeploymentTargetType),\n name: Name,\n communicationStyle: CommunicationStyleValues.StepPackage,\n links: Links,\n version: Version,\n renderCard: ({ registration, category, onNavigate }) => (\n \n
    } registrationName={registration.name} description={(registration as StepPackageDeploymentTargetRegistration).targetType.Description} onNavigate={onNavigate}/>),\n targetType: stepPackageDeploymentTargetType,\n };\n};\nconst stepPackageImageStyles = css({\n width: \"100%\",\n});\nclass EndpointRegistry {\n private deploymentTargets: Record = {};\n private machines: Record = {};\n getDeploymentTarget(key: EndpointRegistrationKey) {\n return this.deploymentTargets[key];\n }\n getMachine(key: EndpointRegistrationKey) {\n return this.machines[key];\n }\n getEndpoint(key: EndpointRegistrationKey) {\n return this.getDeploymentTarget(key) || this.getMachine(key);\n }\n registerEndpoint(registration: DeploymentTargetRegistration | MachineRegistration) {\n if (this.isMachineRegistration(registration)) {\n if (!this.machines.hasOwnProperty(registration.key)) {\n this.machines[registration.key] = registration;\n }\n }\n else {\n if (!this.deploymentTargets.hasOwnProperty(registration.key)) {\n this.deploymentTargets[registration.key] = registration;\n }\n }\n }\n async getAllRegistrations(): Promise {\n const stepPackageTargetTypes = this.getAllStepPackageTargetTypes();\n return [...this.getAllMachines(), ...this.getAllDeploymentTargets(), ...(await stepPackageTargetTypes)];\n }\n getAllMachines(): MachineRegistration[] {\n return values(this.machines);\n }\n getAllDeploymentTargets(): DeploymentTargetRegistration[] {\n return values(this.deploymentTargets);\n }\n async getStepPackageDeploymentTarget(deploymentTargetTypeId: string, version: string | undefined): Promise {\n return getStepPackageDeploymentTargetImplementedInPortalInDevelopmentMode(deploymentTargetTypeId) ?? (await getRemoteStepPackageDeploymentTarget(deploymentTargetTypeId, version));\n }\n async getAllStepPackageTargetTypes(): Promise {\n let targetsToRegister = await repository.StepPackageDeploymentTarget.getStepPackageDeploymentTargetTypes();\n if (Environment.isInDevelopmentMode()) {\n const inDevelopmentTargets = [createSampleDeploymentTargetType()];\n const targetTypeIds = new Set(targetsToRegister.map((t) => t.Id));\n const inDevelopmentTargetsThatArentReturnedByServer = inDevelopmentTargets.filter((t) => !targetTypeIds.has(t.Id));\n targetsToRegister = [...targetsToRegister, ...inDevelopmentTargetsThatArentReturnedByServer];\n }\n return targetsToRegister\n .filter(hidePrereleaseStepPackages) // feature toggle to prevent prerelease step packages appearing in production\n .map(createStepPackageDeploymentTargetRegistration);\n }\n isMachineRegistration(item: EndpointRegistration): item is MachineRegistration {\n switch (item.communicationStyle) {\n case CommunicationStyleValues.KubernetesTentacle:\n case CommunicationStyleValues.TentacleActive:\n case CommunicationStyleValues.TentaclePassive:\n case CommunicationStyleValues.Ssh:\n return true;\n default:\n return false;\n }\n }\n isCategorizedEndpoint(item: EndpointRegistration): item is CategorizedEndpointRegistration {\n const endpoint = item as CategorizedEndpointRegistration;\n return endpoint.categories !== undefined;\n }\n isBuiltInEndpoint(item: CategorizedEndpointRegistration): item is BuiltInEndpointRegistration {\n return item.communicationStyle !== CommunicationStyleValues.StepPackage;\n }\n categorizeEndpoints(endpoints: EndpointRegistration[]): Record {\n const categorizedEndoints = endpoints.filter(this.isCategorizedEndpoint);\n return categorizedEndoints.reduce((prev: Record, current: CategorizedEndpointRegistration) => {\n const result = { ...prev };\n current.categories.forEach((x) => (result[x.category] = {\n category: x,\n endpoints: [...((prev[x.category] && prev[x.category].endpoints) || []), ...[current]],\n }));\n return result;\n }, {});\n }\n}\nexport async function getRemoteStepPackageDeploymentTarget(deploymentTargetTypeId: string, version: string | undefined): Promise {\n const stepPackage = version === undefined ? await stepPackageResolver.getLatestStepPackageByDeploymentTargetType(deploymentTargetTypeId) : await stepPackageResolver.getStepPackageByDeploymentTargetType(deploymentTargetTypeId, version);\n return {\n deploymentTargetTypeId,\n version: stepPackage.version,\n name: stepPackage.name,\n ui: stepPackage.stepUI as DeploymentTargetUI,\n inputJsonSchema: stepPackage.schema,\n targetDiscoveryCloudConnectionTypes: stepPackage.targetDiscoveryCloudConnectionTypes,\n };\n}\nfunction getStepPackageDeploymentTargetImplementedInPortalInDevelopmentMode(deploymentTargetTypeId: string): UnknownStepPackageDeploymentTarget | null {\n if (!Environment.isInDevelopmentMode()) {\n return null;\n }\n return getStepPackageDeploymentTargetImplementedInPortal(deploymentTargetTypeId);\n}\nfunction getStepPackageDeploymentTargetImplementedInPortal(deploymentTargetTypeId: string): UnknownStepPackageDeploymentTarget | null {\n switch (deploymentTargetTypeId) {\n case \"sample-deployment-target\":\n return asUnknownStepPackageDeploymentTarget(sampleDeploymentTargetPackage);\n default:\n return null;\n }\n}\nconst registry = new EndpointRegistry();\nexport default registry;\n","import * as React from \"react\";\nimport ExternalLink from \"../../../../../components/Navigation/ExternalLink\";\nimport { Note } from \"../../../../../components/form\";\nimport type { CategoryDefinition } from \"./endpointRegistry\";\nexport function createStepPackageCategoryDefinition(category: string): CategoryDefinition {\n return {\n category: category,\n title: (\n What type of {category} Target do you want to connect?\n ),\n help: (\n Learn more about {category} Targets\n ),\n displayOrder: 40,\n };\n}\n","import cn from \"classnames\";\nimport * as React from \"react\";\nimport styles from \"./style.module.less\";\ninterface DataTableProps {\n className?: string;\n title?: string;\n}\nexport class DataTable extends React.Component {\n render() {\n const title = this.props.title ? { [\"aria-label\"]: this.props.title } : null;\n return (\n {this.props.children}\n
    );\n }\n static displayName = \"DataTable\";\n}\n","import cn from \"classnames\";\nimport * as React from \"react\";\nimport styles from \"./style.module.less\";\ninterface DataTableBodyProps {\n className?: string;\n children?: React.ReactNode;\n}\nexport class DataTableBody extends React.Component {\n render() {\n return {this.props.children};\n }\n static displayName = \"DataTableBody\";\n}\n","import cn from \"classnames\";\nimport * as React from \"react\";\nimport styles from \"./style.module.less\";\ninterface DataTableFooterProps {\n className?: string;\n}\nexport class DataTableFooter extends React.Component {\n render() {\n return {this.props.children};\n }\n static displayName = \"DataTableFooter\";\n}\n","import cn from \"classnames\";\nimport * as React from \"react\";\nimport styles from \"./style.module.less\";\ntype DataTableFooterColumnProps = React.DetailedHTMLProps, HTMLTableDataCellElement>;\nexport class DataTableFooterColumn extends React.Component {\n render() {\n const { className, ...otherProps } = this.props;\n return (\n {this.props.children}\n );\n }\n static displayName = \"DataTableFooterColumn\";\n}\n","import cn from \"classnames\";\nimport * as React from \"react\";\nimport styles from \"./style.module.less\";\ninterface DataTableFooterRowProps {\n className?: string;\n}\nexport class DataTableFooterRow extends React.Component {\n render() {\n return {this.props.children};\n }\n static displayName = \"DataTableFooterRow\";\n}\n","import cn from \"classnames\";\nimport * as React from \"react\";\nimport styles from \"./style.module.less\";\ninterface DataTableHeaderProps {\n className?: string;\n}\nexport class DataTableHeader extends React.Component {\n render() {\n return {this.props.children};\n }\n static displayName = \"DataTableHeader\";\n}\n","import cn from \"classnames\";\nimport * as React from \"react\";\nimport styles from \"./style.module.less\";\ntype DataTableHeaderColumnProps = React.DetailedHTMLProps, HTMLTableHeaderCellElement>;\nexport class DataTableHeaderColumn extends React.Component {\n render() {\n const { className, ...otherProps } = this.props;\n return (\n {this.props.children}\n );\n }\n static displayName = \"DataTableHeaderColumn\";\n}\n","import cn from \"classnames\";\nimport * as React from \"react\";\nimport styles from \"./style.module.less\";\nexport interface DataTableRowProps {\n displayNoBorder?: boolean;\n className?: string;\n disabled?: boolean | null;\n onClick?: (e: React.MouseEvent) => void;\n}\nexport class DataTableRow extends React.Component {\n render() {\n const { displayNoBorder, className, disabled, ...otherProps } = this.props;\n return (\n {this.props.children}\n );\n }\n static displayName = \"DataTableRow\";\n}\n","import cn from \"classnames\";\nimport * as React from \"react\";\nimport styles from \"./style.module.less\";\ninterface DataTableRowColumnProps {\n fullWidth?: boolean;\n fullHeight?: boolean;\n className?: string;\n colSpan?: number;\n title?: string;\n}\nconst DataTableRowColumn: React.StatelessComponent = (props) => {\n const { className, fullWidth, fullHeight, ...otherProps } = props;\n const style: React.CSSProperties = {};\n if (fullHeight) {\n style.paddingBottom = 0;\n style.paddingTop = 0;\n }\n if (fullWidth) {\n style.paddingRight = 0;\n style.paddingLeft = 0;\n }\n return (\n {props.children}\n );\n};\nDataTableRowColumn.displayName = \"DataTableRowColumn\"\nexport { DataTableRowColumn };\n","import cn from \"classnames\";\nimport * as React from \"react\";\nimport styles from \"./style.module.less\";\ninterface DataTableRowHeaderColumnProps {\n className?: string;\n inSidebar?: boolean;\n}\nexport class DataTableRowHeaderColumn extends React.Component {\n render() {\n const { className, inSidebar, ...otherProps } = this.props;\n return (\n {this.props.children}\n );\n }\n static displayName = \"DataTableRowHeaderColumn\";\n}\n","import cn from \"classnames\";\nimport * as React from \"react\";\nimport styles from \"./style.module.less\";\ninterface DataTableToolsRowProps {\n className?: string;\n}\nexport class DataTableToolsRow extends React.Component {\n render() {\n return {this.props.children};\n }\n static displayName = \"DataTableToolsRow\";\n}\n","/* eslint-disable @typescript-eslint/no-non-null-assertion */\nimport { css, cx } from \"@emotion/css\";\nimport { IconButton } from \"@octopusdeploy/design-system-components\";\nimport { borderRadius, fontSize, lineHeight, space, themeTokens } from \"@octopusdeploy/design-system-tokens\";\nimport type { DeploymentTargetResource, EnvironmentResource } from \"@octopusdeploy/octopus-server-client\";\nimport { EndpointsHelper, isStepPackageEndpointResource } from \"@octopusdeploy/octopus-server-client\";\nimport { links } from \"@octopusdeploy/portal-routes\";\nimport React from \"react\";\nimport { BuiltInEndpointLogo, createStepPackageEndpointLogo } from \"~/areas/infrastructure/components/MachineSettings/Endpoints/endpointRegistry\";\nimport { repository } from \"~/clientInstance\";\nimport { EnvironmentChip, RoleChip } from \"~/components/Chips/index\";\nimport InternalLink from \"~/components/Navigation/InternalLink/index\";\nimport { useOctopusTheme } from \"~/components/Theme/index\";\nimport { DataTable, DataTableBody, DataTableHeader, DataTableHeaderColumn, DataTableRow, DataTableRowColumn } from \"~/primitiveComponents/dataDisplay/DataTable/index\";\ninterface DeploymentTargetsTableProps {\n targetTags: string[];\n deploymentTargetsTotal: number;\n deploymentTargets: DeploymentTargetResource[];\n environments: EnvironmentResource[];\n showTargetTagColumn?: boolean;\n targetTagColumnSecondaryTitle?: string;\n size?: \"medium\" | \"large\";\n}\nexport const DeploymentTargetsTable = ({ targetTags, deploymentTargetsTotal, deploymentTargets, environments, showTargetTagColumn, targetTagColumnSecondaryTitle, size = \"medium\" }: DeploymentTargetsTableProps) => {\n const machinesLeftToList = deploymentTargetsTotal - deploymentTargets.length;\n const container = css({\n display: \"flex\",\n flexDirection: \"column\",\n gap: space[16],\n });\n const tableContainer = css({\n borderLeft: `1px solid ${useOctopusTheme().dividerLight}`,\n borderRight: `1px solid ${useOctopusTheme().dividerLight}`,\n borderTop: `1px solid ${useOctopusTheme().dividerLight}`,\n borderRadius: borderRadius.small,\n width: `${getTableWidth(size)}px`,\n });\n const nameColumnWidth = showTargetTagColumn ? \"33.3333%\" : \"50%\";\n const columnWidth = showTargetTagColumn ? \"33.3333%\" : \"50%\";\n const baseHeaderColumnStyles = {\n padding: `${space[8]} ${space[12]} !important`,\n };\n const nameHeaderColumn = css({\n ...baseHeaderColumnStyles,\n width: nameColumnWidth,\n });\n const headerColumn = css({\n ...baseHeaderColumnStyles,\n width: columnWidth,\n });\n const secondaryHeaderColumnTitle = css({\n color: themeTokens.color.text.secondary,\n });\n return (
    \n
    \n \n \n \n Deployment target\n {showTargetTagColumn && (\n
    Target tag {targetTagColumnSecondaryTitle && {targetTagColumnSecondaryTitle}}
    \n
    )}\n Environment\n
    \n
    \n \n {deploymentTargets.map((deploymentTarget) => {\n const filteredEnvironments = environments.filter((environment) => deploymentTarget.EnvironmentIds.includes(environment.Id));\n const filteredTargetTags = targetTags.filter((targetTag) => deploymentTarget.Roles.includes(targetTag));\n return ;\n })}\n \n
    \n
    \n {machinesLeftToList > 0 && (
    \n \n See {machinesLeftToList} more in Deployment Targets\n \n
    )}\n
    );\n};\nconst getTableWidth = (size: \"medium\" | \"large\") => {\n const LARGE_TABLE_WIDTH = 732;\n const MEDIUM_TABLE_WIDTH = 452;\n switch (size) {\n case \"large\":\n return LARGE_TABLE_WIDTH;\n case \"medium\":\n return MEDIUM_TABLE_WIDTH;\n default:\n return MEDIUM_TABLE_WIDTH;\n }\n};\ninterface MachineRowProps {\n machine: DeploymentTargetResource;\n environments: EnvironmentResource[];\n targetTags?: string[];\n showTargetTagColumn?: boolean;\n}\nconst MachineRow = ({ machine, environments, targetTags, showTargetTagColumn }: MachineRowProps) => {\n const RegistrationLogo = isStepPackageEndpointResource(machine.Endpoint) ? createStepPackageEndpointLogo(machine.Endpoint) : BuiltInEndpointLogo;\n const environmentNames = environments.map((environment) => environment.Name);\n const [isMachineRowExpanded, setIsMachineRowExpanded] = React.useState(false);\n const nameColumnWidth = showTargetTagColumn ? \"33.3333%\" : \"50%\";\n const columnWidth = showTargetTagColumn ? \"33.3333%\" : \"50%\";\n const machineContainer = css({\n display: \"flex\",\n alignItems: \"center\",\n flexDirection: \"row\",\n minHeight: \"34px\",\n wordBreak: \"break-word\",\n });\n const machineIcon = css({\n height: \"16px\",\n marginRight: \"0.5rem\",\n });\n const machineLabels = css({\n display: \"flex\",\n flexDirection: \"column\",\n justifyContent: \"center\",\n gap: space[4],\n });\n const machineName = css({\n fontSize: fontSize.small,\n });\n const machineType = css({\n fontSize: fontSize.xSmall,\n color: themeTokens.color.text.tertiary,\n });\n const headerColumn = css({\n padding: `${space[8]} ${space[12]} !important`,\n verticalAlign: \"middle !important\",\n width: nameColumnWidth,\n });\n const column = css({\n padding: `${space[8]} ${space[12]} !important`,\n verticalAlign: \"top !important\",\n width: columnWidth,\n });\n return (\n \n \n
    \n
    \n \n
    \n
    \n
    \n {machine.Name}\n
    \n
    {EndpointsHelper.getFriendlyName(machine)}
    \n
    \n
    \n
    \n
    \n {showTargetTagColumn && targetTags && (\n \n )}\n \n 1 || (targetTags && targetTags.length > 1)}/>\n \n
    );\n};\nconst renderEnvironmentChip = (environmentName: string) => (
    \n \n
    );\nconst renderTargetTagChip = (targetTag: string) => (
    \n \n
    );\nconst chip = css({\n \".MuiChip-label\": {\n paddingRight: space[8],\n paddingLeft: space[8],\n },\n});\ninterface ExpandableChipsListProps {\n chips: string[];\n chipRenderer: (chip: string) => JSX.Element;\n // By default, the chips list cannot be expanded or collapsed\n isExpanded?: boolean; // Controls the expanded state of the chips list\n setIsExpanded?: (expanded: boolean) => void; // Sets the expanded state of the chips list\n showExpandOrCollapseButton?: boolean; // Override the default condition of only showing the expand-or-collapse button when there is more than one chip\n}\nconst ExpandableChipsList = (props: ExpandableChipsListProps) => {\n const showToggle = props.setIsExpanded && (props.showExpandOrCollapseButton === undefined ? props.chips.length > 1 : props.showExpandOrCollapseButton);\n const toggleExpanded = (e: React.MouseEvent) => {\n if (props.setIsExpanded) {\n props.setIsExpanded(!props.isExpanded);\n }\n };\n if (!props.isExpanded) {\n return (
    \n
    \n {props.chipRenderer(props.chips[0])}\n {props.chips.length > 1 && (
    \n + {props.chips.length - 1} more\n
    )}\n
    \n {showToggle && }\n
    );\n }\n return (
    \n {props.chips.map((chip, idx) => (
    0 })}>\n {props.chipRenderer(chip)}\n {idx === 0 && showToggle && }\n
    ))}\n
    );\n};\nconst chipWithButton = css({\n display: \"flex\",\n alignItems: \"center\",\n flexDirection: \"row\",\n justifyContent: \"space-between\",\n});\nconst expandableChip = css({\n display: \"flex\",\n alignItems: \"center\",\n gap: space[8],\n});\nconst MORE_CHIPS_TEXT_WIDTH = 3.375;\nconst moreChipsText = css({\n width: `${MORE_CHIPS_TEXT_WIDTH}rem`,\n whiteSpace: \"nowrap\",\n fontSize: fontSize.small,\n lineHeight: lineHeight.xSmall,\n color: themeTokens.color.text.secondary,\n cursor: \"pointer\",\n});\nconst expandedChipsList = css({\n display: \"flex\",\n flexDirection: \"column\",\n gap: space[8],\n});\nconst chipsListDivider = css({\n borderTop: `1px solid ${themeTokens.color.border.primary}`,\n paddingTop: space[8],\n});\n","import type { SpecifiedGitRef, ProjectResource, GitRef, PersistenceSettings } from \"@octopusdeploy/octopus-server-client\";\nimport { HasGitPersistenceSettings, toGitBranch } from \"@octopusdeploy/octopus-server-client\";\nfunction lastAccessedGitRefStore() {\n const LocalStorageKey = \"octoLastAccessedGitRef\";\n const buildKey = (projectIdOrSlug: string) => `${LocalStorageKey}-${projectIdOrSlug}`;\n const save = async (project: ProjectResource, gitRef: SpecifiedGitRef): Promise => {\n if (!HasGitPersistenceSettings(project.PersistenceSettings)) {\n throw new Error(\"Can store GitRef for Git Projects\");\n }\n localStorage.setItem(buildKey(project.Id), gitRef);\n };\n const get = (project: ProjectResource): GitRef => {\n if (!HasGitPersistenceSettings(project.PersistenceSettings)) {\n throw new Error(\"Can only retrieve stored GitRef for Git Projects\");\n }\n const key = buildKey(project.Id);\n const storedGitRef = localStorage.getItem(key) ?? toGitBranch(project.PersistenceSettings.DefaultBranch);\n return storedGitRef;\n };\n const getById = (projectId: string, persistenceSettings: PersistenceSettings): GitRef => {\n if (!HasGitPersistenceSettings(persistenceSettings)) {\n throw new Error(\"Can only retrieve stored GitRef for Git Projects\");\n }\n const key = buildKey(projectId);\n const storedGitRef = localStorage.getItem(key) ?? toGitBranch(persistenceSettings.DefaultBranch);\n return storedGitRef;\n };\n return {\n save,\n get,\n getById,\n };\n}\nconst lastAccessedGitRef = lastAccessedGitRefStore();\nexport { lastAccessedGitRef };\n","/* eslint-disable @typescript-eslint/no-non-null-assertion */\n/* eslint-disable no-eq-null */\n/* eslint-disable @typescript-eslint/consistent-type-assertions */\nimport moment from \"moment\";\nimport { repository, session } from \"~/clientInstance\";\nimport type { IRecentProjects, IRecentSpaceProjects, IRecentSpaceProjectsProject, IRecentProjectsUserSpaces } from \"./IRecentProjects\";\nconst RecentProjectsLocalStorageKey: string = \"octoRecentProjects\";\nconst MaxNumberOfTimeStampsToKeep: number = 10;\nconst MaxNumberOfRecentProjectsToKeep: number = 4;\nconst DayHours: number = 24;\nconst ThreeDayHours: number = 24 * 3;\nconst WeekHours: number = 24 * 7;\nconst MonthHours: number = 24 * 30;\nconst ThreeMonthHours: number = 24 * 90;\ntype RecentSpaceProjectsSubscription = (recentSpaceProjects: IRecentSpaceProjects) => void;\ntype RecentSpaceProjectsSubscriptionCleanup = () => void;\nexport class RecentProjects {\n static getInstance() {\n if (RecentProjects.instance == null) {\n RecentProjects.instance = new RecentProjects();\n }\n return RecentProjects.instance;\n }\n private recentSpaceProjectsSubscriptions: RecentSpaceProjectsSubscription[] = [];\n public static SortByScoreThenTime(scoreA: number, scoreB: number, timestampsA: moment.Moment[], timestampsB: moment.Moment[]) {\n return scoreA - scoreB || moment(timestampsA[timestampsA.length - 1]).diff(moment(timestampsB[timestampsB.length - 1]));\n }\n private static instance: RecentProjects;\n public GetRecentProjectListInSpace(): IRecentSpaceProjects {\n const recentProjects: IRecentProjects = this.GetRecentProjects();\n const defaultRecentSpaceProject: IRecentSpaceProjects = {\n SpaceId: repository.spaceId!,\n Projects: [],\n LastVisitedProjectId: \"\",\n };\n try {\n const recentSpaceProjects = recentProjects.Users.find((x) => x.UserId === session.currentUser!.Id)?.Spaces.find((x) => x.SpaceId === repository.spaceId);\n return recentSpaceProjects ? recentSpaceProjects : defaultRecentSpaceProject;\n }\n catch (e) {\n return defaultRecentSpaceProject;\n }\n }\n public UpdateAccessedProjectIntoLocalStorage(projectId: string): void {\n if (!session.currentUser) {\n // Early exit if we don't know our currentUser (as a lot of this code assumes it exists: session.currentUser!.Id).\n return;\n }\n const recentProjects: IRecentProjects = this.GetRecentProjects();\n const userSpaces = this.GetSpacesForUser(recentProjects);\n const space = this.GetCurrentSpaceInUserSpaces(userSpaces);\n if (space.LastVisitedProjectId === projectId) {\n return;\n }\n space.LastVisitedProjectId = projectId;\n const project = this.GetCurrentProjectInSpace(space, projectId);\n project.AccessCount++;\n this.AddTimestampToProject(project);\n this.CalculateScoreForProject(project);\n this.SortProjectsForSpaceAndLimitToMax(space);\n this.SaveRecentProjectsToLocalStorage(recentProjects);\n this.recentSpaceProjectsSubscriptions.forEach((subscription) => {\n subscription(space);\n });\n }\n public SubscribeToRecentSpaceProjects(subscription: RecentSpaceProjectsSubscription): RecentSpaceProjectsSubscriptionCleanup {\n this.recentSpaceProjectsSubscriptions.push(subscription);\n return () => {\n this.recentSpaceProjectsSubscriptions = this.recentSpaceProjectsSubscriptions.filter((s) => s != subscription);\n };\n }\n private GetSpacesForUser(recentProjects: IRecentProjects): IRecentProjectsUserSpaces {\n let userSpaces = recentProjects.Users.find((x) => x.UserId === session.currentUser!.Id);\n if (userSpaces === undefined) {\n userSpaces = {\n UserId: session.currentUser!.Id,\n Spaces: [],\n };\n recentProjects.Users.push(userSpaces);\n }\n return userSpaces;\n }\n private GetCurrentSpaceInUserSpaces(userSpaces: IRecentProjectsUserSpaces): IRecentSpaceProjects {\n let space = userSpaces.Spaces.find((x) => x.SpaceId === repository.spaceId);\n if (space === undefined) {\n space = {\n SpaceId: repository.spaceId!,\n Projects: [],\n LastVisitedProjectId: \"\",\n };\n userSpaces.Spaces.push(space);\n }\n return space;\n }\n private GetCurrentProjectInSpace(space: IRecentSpaceProjects, projectId: string): IRecentSpaceProjectsProject {\n let project = space.Projects.find((x) => x.ProjectId === projectId);\n if (project === undefined) {\n project = {\n ProjectId: projectId,\n Timestamps: [],\n AccessCount: 0,\n Score: 0,\n };\n space.Projects.push(project);\n }\n return project;\n }\n private AddTimestampToProject(project: IRecentSpaceProjectsProject, maxTimestamps = MaxNumberOfTimeStampsToKeep) {\n project.Timestamps.push(moment.utc());\n if (project.Timestamps.length > maxTimestamps) {\n project.Timestamps.splice(0, project.Timestamps.length - maxTimestamps);\n }\n }\n private SortProjectsForSpaceAndLimitToMax(space: IRecentSpaceProjects, maxProjects = MaxNumberOfRecentProjectsToKeep) {\n space.Projects.sort((a, b) => RecentProjects.SortByScoreThenTime(a.Score, b.Score, a.Timestamps, b.Timestamps)).reverse();\n while (space.Projects.length > maxProjects) {\n space.Projects.pop();\n }\n }\n private CalculateScoreForProject(project: IRecentSpaceProjectsProject) {\n /*\n https://slack.engineering/a-faster-smarter-quick-switcher-77cbc193cb60\n Within the past 4 hours: 100 points\n Within the past day: 80 points\n Within the past 3 days: 60 points\n Within the past week: 40 points\n Within the past month: 20 points\n Within the past 90 days: 10 points\n Beyond 90 days: 0 points\n */\n let recentAccessScore: number = 0;\n const hoursSinceLastAccess = moment.utc().diff(project.Timestamps[project.Timestamps.length - 1], \"hours\");\n if (hoursSinceLastAccess <= 4) {\n recentAccessScore = 100;\n }\n else if (hoursSinceLastAccess <= DayHours) {\n recentAccessScore = 80;\n }\n else if (hoursSinceLastAccess <= ThreeDayHours) {\n recentAccessScore = 60;\n }\n else if (hoursSinceLastAccess <= WeekHours) {\n recentAccessScore = 40;\n }\n else if (hoursSinceLastAccess <= MonthHours) {\n recentAccessScore = 20;\n }\n else if (hoursSinceLastAccess <= ThreeMonthHours) {\n recentAccessScore = 10;\n }\n project.Score = (project.AccessCount * recentAccessScore) / project.Timestamps.length;\n }\n private GenerateEmptyRecentProjectsJsonString(): string {\n const recentProjects: IRecentProjects = {\n Users: [],\n };\n return JSON.stringify(recentProjects);\n }\n private SaveRecentProjectsToLocalStorage(recentProjects: IRecentProjects) {\n localStorage.setItem(RecentProjectsLocalStorageKey, JSON.stringify(recentProjects));\n }\n private GetRecentProjects(): IRecentProjects {\n let recentProjectsJsonString = localStorage.getItem(RecentProjectsLocalStorageKey);\n if (!recentProjectsJsonString || recentProjectsJsonString.length <= 0) {\n recentProjectsJsonString = this.GenerateEmptyRecentProjectsJsonString();\n localStorage.setItem(RecentProjectsLocalStorageKey, recentProjectsJsonString);\n }\n return JSON.parse(recentProjectsJsonString) as IRecentProjects;\n }\n}\n","/* eslint-disable @typescript-eslint/no-non-null-assertion */\nimport { logger } from \"@octopusdeploy/logging\";\nimport { ProjectContextRepository, ShouldUseDefaultBranch, HasGitPersistenceSettings, OctopusError, ValidateGitRefV2ResponseType, IsDefaultBranch, toGitBranch } from \"@octopusdeploy/octopus-server-client\";\nimport type { BranchSpecifier, GitRefResource, ProjectResource, ProjectSummary, ValidateGitRefV2Response, GitRef, ProjectSettingsMetadata } from \"@octopusdeploy/octopus-server-client\";\nimport { stringQueryParam, useQueryStringParam } from \"@octopusdeploy/portal-routes\";\nimport * as React from \"react\";\nimport { createContext } from \"react\";\nimport { useHistory, useLocation, useRouteMatch } from \"react-router\";\nimport { generatePath } from \"react-router-dom\";\nimport { lastAccessedGitRef } from \"~/areas/projects/context/LastAccessedGitRef\";\nimport { client, repository } from \"~/clientInstance\";\nimport type { DoBusyTask } from \"~/components/DataBaseComponent\";\nimport { createGlobalRequestContext } from \"~/globalRequestContext\";\nimport { useRequiredContext } from \"~/hooks\";\nimport { RecentProjects } from \"~/utils/RecentProjects/RecentProjects\";\nimport type { ProjectStatus } from \"../components/ProjectStatus/useProjectStatus\";\ntype ProjectContextProviderProps = {\n doBusyTask: DoBusyTask;\n projectIdOrSlug: string;\n gitRef: BranchSpecifier;\n children: (props: ProjectContextProps) => React.ReactNode;\n projectStatus?: ProjectStatus;\n};\nexport interface ProjectContextState {\n model: Readonly;\n summary: Readonly;\n gitRef: Readonly | undefined;\n projectContextRepository: ProjectContextRepository;\n isDefaultBranch: boolean | undefined;\n gitRefValidationError: ValidateGitRefV2Response | undefined;\n gitVariablesHasError?: Boolean;\n gitVariablesErrorMessages: string[];\n projectExtensionSettingsMetadata: ProjectSettingsMetadata[];\n}\nexport interface ProjectContextActions extends ProjectLayoutActions {\n refreshModel: () => Promise;\n}\nexport type ProjectContextProps = ReturnType;\nexport const ProjectContext = createContext(undefined);\nconst ProjectContextProvider: React.FC = (props) => {\n const value = useProjectLayoutSetup(props.doBusyTask, props.projectIdOrSlug, props.gitRef);\n return {props.children(value)};\n};\nProjectContextProvider.displayName = \"ProjectContextProvider\"\nexport const useProjectContext = () => {\n return useRequiredContext(ProjectContext, \"Project\");\n};\nexport const useOptionalProjectContext = () => {\n return React.useContext(ProjectContext);\n};\nconst getStateUpdaters = (setState: React.Dispatch>) => {\n return {\n onProjectUpdated: async (project: ProjectResource, gitRef: GitRefResource | string | undefined) => {\n try {\n const summary = await repository.Projects.getSummary(project, gitRef);\n setState((current) => ({ ...current, model: project, summary, isDefaultBranch: IsDefaultBranch(project.PersistenceSettings, GetCanonicalName(gitRef)) }));\n }\n catch (ex) {\n logger.error(ex, \"Error getting summary for {project}\", { project, gitRef });\n const emptySummary = { HasRunbooks: false, HasDeploymentProcess: false, HasBeenSuccessfullyDeployed: false };\n setState((current) => ({ ...current, model: project, summary: emptySummary, isDefaultBranch: IsDefaultBranch(project.PersistenceSettings, GetCanonicalName(gitRef)) }));\n }\n },\n onVersionControlEnabled: async (project: ProjectResource) => {\n if (!HasGitPersistenceSettings(project.PersistenceSettings))\n throw new Error(\"Config as Code: Trying to access a VCS Property on a non-VCS Project.\");\n await lastAccessedGitRef.save(project, project.PersistenceSettings.DefaultBranch);\n const branch = await repository.Projects.getBranch(project, project.PersistenceSettings.DefaultBranch);\n setState((current) => ({\n ...current,\n gitRef: branch,\n projectContextRepository: new ProjectContextRepository(client, project, branch, createGlobalRequestContext(\"ProjectContext\")),\n isDefaultBranch: IsDefaultBranch(project.PersistenceSettings, GetCanonicalName(branch)),\n }));\n },\n onBranchSelected: async (project: ProjectResource, gitRef: GitRef) => {\n await lastAccessedGitRef.save(project, gitRef);\n const gitRefResource = await repository.Projects.getGitRef(project, gitRef);\n setState((current) => ({\n ...current,\n gitRef: gitRefResource,\n projectContextRepository: new ProjectContextRepository(client, project, gitRefResource, createGlobalRequestContext(\"ProjectContext\")),\n isDefaultBranch: IsDefaultBranch(project.PersistenceSettings, GetCanonicalName(gitRefResource)),\n }));\n },\n };\n};\nfunction GetCanonicalName(branch: GitRefResource | string | undefined): string | undefined {\n if (typeof branch === \"string\") {\n return branch;\n }\n else {\n return branch?.CanonicalName;\n }\n}\nconst useProjectLayoutState = () => {\n return React.useState({\n model: null!,\n summary: null!,\n projectContextRepository: null!,\n gitRef: undefined,\n isDefaultBranch: undefined,\n gitRefValidationError: undefined,\n gitVariablesErrorMessages: [],\n projectExtensionSettingsMetadata: [],\n });\n};\nconst invokeBusyWithResponse = async (action: () => Promise, doBusyTask: DoBusyTask) => {\n const result = action();\n await doBusyTask(() => result);\n return result;\n};\nconst useSaveRecentAccessedProjectIdEffect = (projectId: string | null) => {\n React.useEffect(() => {\n if (projectId) {\n RecentProjects.getInstance().UpdateAccessedProjectIntoLocalStorage(projectId);\n }\n }, [projectId]);\n};\ntype ProjectLayoutActions = ReturnType;\nconst subscribeKey = \"ProjectContextState\";\nconst useProjectLayoutSetup = (doBusyTask: DoBusyTask, projectIdOrSlug: string, branchSpecifier: BranchSpecifier) => {\n const [state, setState] = useProjectLayoutState();\n const updaters = React.useMemo(() => getStateUpdaters(setState), [setState]);\n const match = useRouteMatch()!;\n const location = useLocation();\n const history = useHistory();\n const gitRefQueryParamDefinition = stringQueryParam(\"gitRef\");\n const [gitRefQueryParam] = useQueryStringParam(gitRefQueryParamDefinition);\n const canChangeBranch = React.useCallback(() => match.params.hasOwnProperty(\"branchName\"), [match]);\n const changeGitRef = React.useCallback((gitRef: string) => {\n if (!canChangeBranch())\n return;\n // Using branchName for backwards compatibility\n const newUrl = generatePath(match.path, { ...match.params, branchName: gitRef });\n const newPath = newUrl + location.pathname.substr(match.url.length);\n // If the path hasn't changed, then don't bother redirecting, we might end up in a redirect loop\n if (newPath === location.pathname)\n return;\n history.push({ ...location, pathname: newPath });\n }, [canChangeBranch, match, location, history]);\n const setGitError = React.useCallback((validationResult: ValidateGitRefV2Response) => {\n setState((current) => ({\n ...current,\n gitRefValidationError: validationResult,\n }));\n }, [setState]);\n const clearGitError = React.useCallback(() => {\n setState((current) => ({\n ...current,\n gitRefValidationError: undefined,\n }));\n }, [setState]);\n const refreshAndGetModel = React.useCallback((gitRef?: GitRef) => invokeBusyWithResponse(async () => {\n const project = await repository.Projects.get(projectIdOrSlug);\n const projectMetadata = await repository.Projects.getMetadata(project);\n let gitRefResource: GitRefResource | undefined = undefined;\n clearGitError();\n if (HasGitPersistenceSettings(project.PersistenceSettings)) {\n // If a git ref was specified, use that\n // Otherwise, defer to the branch specifier or last accessed git ref\n const gitRefToValidate = gitRef ? gitRef : gitRefQueryParam ? gitRefQueryParam : ShouldUseDefaultBranch(branchSpecifier) ? lastAccessedGitRef.get(project) : branchSpecifier;\n const validationResult = await repository.Projects.validateGitRef(project, gitRefToValidate);\n if (validationResult.Type !== ValidateGitRefV2ResponseType.Success) {\n setGitError(validationResult);\n }\n gitRefResource = validationResult.GitRef;\n if (gitRefResource) {\n await lastAccessedGitRef.save(project, gitRefResource.CanonicalName);\n }\n }\n setState((current) => ({\n ...current,\n gitRef: gitRefResource,\n projectContextRepository: new ProjectContextRepository(client, project, gitRefResource, createGlobalRequestContext(\"ProjectContext\")),\n projectExtensionSettingsMetadata: projectMetadata,\n }));\n await updaters.onProjectUpdated(project, gitRefResource);\n return project;\n }, doBusyTask), \n // eslint-disable-next-line react-hooks/exhaustive-deps\n [doBusyTask, projectIdOrSlug, clearGitError, setGitError, setState, updaters, branchSpecifier]);\n const refreshModel = React.useCallback((gitRef?: GitRef) => refreshAndGetModel(gitRef).then((x) => true), [refreshAndGetModel]);\n const refreshGitVariableErrors = async () => {\n if (!HasGitPersistenceSettings(state.model.PersistenceSettings)) {\n logger.verbose(\"This project is not version controlled, so there can not be Git variable errors.\");\n setState((current) => ({ ...current, gitVariablesHasError: false, gitVariablesErrorMessages: [] }));\n return;\n }\n if (!state.model.PersistenceSettings.ConversionState.VariablesAreInGit) {\n logger.verbose(\"This project does not have variables in git, so there can not be Git variable errors.\");\n setState((current) => ({ ...current, gitVariablesHasError: false, gitVariablesErrorMessages: [] }));\n return;\n }\n try {\n const defaultBranchGitRef = toGitBranch(state.model.PersistenceSettings.DefaultBranch);\n logger.verbose(\"Determining the Git ref for the default branch {DefaultBranch}.\", { DefaultBranch: defaultBranchGitRef });\n const defaultBranchGitRefResource = await repository.Projects.getGitRef(state.model, defaultBranchGitRef);\n logger.verbose(\"The default branch Git ref is '{GitRef}'. Checking for Git variable errors.\", { GitRef: defaultBranchGitRefResource.Name });\n const defaultBranchRepository = new ProjectContextRepository(client, state.model, defaultBranchGitRefResource, createGlobalRequestContext(\"ProjectContext\"));\n await defaultBranchRepository.Variables.get();\n logger.verbose(\"No Git variable errors found.\");\n }\n catch (exception) {\n if (OctopusError.isOctopusError(exception)) {\n logger.error(\"A Git variable error was found: '{ErrorMessage}'.\", { ErrorMessage: exception.ErrorMessage });\n const errorMessages = [exception.ErrorMessage];\n // Add any additional details about the error. This is often where the really useful stuff is.\n if (exception.Errors) {\n exception.Errors.forEach((error: string) => {\n if (error) {\n errorMessages.push(error);\n }\n });\n }\n setState((current) => ({ ...current, gitVariablesHasError: true, gitVariablesErrorMessages: errorMessages }));\n }\n else {\n logger.error(\"An error occurred while checking for Git variable errors: '{ErrorMessage}'.\", { ErrorMessage: exception });\n setState((current) => ({ ...current, gitVariablesHasError: true, gitVariablesErrorMessages: [exception] }));\n }\n }\n };\n React.useEffect(() => client.subscribe((event) => {\n if (event.type === \"ProjectModified\") {\n setState((previous) => {\n if (previous.model && previous.model.Id === event.project.Id) {\n return { ...previous, model: event.project };\n }\n else {\n return previous;\n }\n });\n }\n }), [setState]);\n React.useEffect(() => {\n // eslint-disable-next-line: no-floating-promises\n refreshAndGetModel();\n }, [refreshAndGetModel]);\n useSaveRecentAccessedProjectIdEffect(state.model && state.model.Id);\n const supportedActions = {\n refreshModel,\n changeGitRef,\n refreshGitVariableErrors,\n ...updaters,\n };\n return {\n actions: supportedActions,\n state,\n setState,\n };\n};\ntype ProjectContextConsumerProps = Parameters[0];\nconst ProjectContextConsumer: React.SFC = ({ children }) => {\n const context = useProjectContext();\n return {children(context)};\n};\nProjectContextConsumer.displayName = \"ProjectContextConsumer\"\nexport { ProjectContextProvider, ProjectContextConsumer };\n","import * as React from \"react\";\nimport type { DistributiveOmit } from \"~/utils/distributiveMappedTypes\";\nimport { useOptionalProjectContext, useProjectContext } from \"./ProjectContext\";\nimport type { ProjectContextProps } from \"./ProjectContext\";\nexport type WithProjectContextInjectedProps = {\n projectContext: ProjectContextProps;\n};\nexport const withProjectContext = (Component: React.ComponentType) => {\n type TPropsWithoutContextInjectedProps = DistributiveOmit;\n const WithProjectContext: React.FC = (props) => {\n const context = useProjectContext();\n const componentProps = {\n ...props,\n projectContext: context,\n };\n // eslint-disable-next-line @typescript-eslint/consistent-type-assertions\n return ;\n };\n WithProjectContext.displayName = \"WithProjectContext\"\n return WithProjectContext;\n};\nexport type WithOptionalProjectContextInjectedProps = Partial;\nexport const withOptionalProjectContext = (Component: React.ComponentType) => {\n type TPropsWithoutContextInjectedProps = DistributiveOmit;\n const WithProjectContext: React.FC = (props) => {\n const context = useOptionalProjectContext();\n const componentProps = {\n ...props,\n projectContext: context,\n };\n // eslint-disable-next-line @typescript-eslint/consistent-type-assertions\n return ;\n };\n WithProjectContext.displayName = \"WithProjectContext\"\n return WithProjectContext;\n};\n","/* eslint-disable @typescript-eslint/no-non-null-assertion */\n/* eslint-disable @octopusdeploy/custom-portal-rules/no-restricted-imports */\nimport { css, cx } from \"@emotion/css\";\nimport { PopoverBasicWithTrigger } from \"@octopusdeploy/design-system-components\";\nimport { TagOffIcon } from \"@octopusdeploy/design-system-icons\";\nimport { space } from \"@octopusdeploy/design-system-tokens\";\nimport type { DeploymentTargetResource, EnvironmentResource } from \"@octopusdeploy/octopus-server-client\";\nimport { links } from \"@octopusdeploy/portal-routes\";\nimport pluralize from \"pluralize\";\nimport type { ReactNode } from \"react\";\nimport * as React from \"react\";\nimport { useEffect } from \"react\";\nimport { useMediaQuery } from \"react-responsive\";\nimport { Action, useProjectScopedAnalyticActionDispatch } from \"~/analytics/Analytics\";\nimport { DeploymentTargetsTable } from \"~/areas/projects/components/Process/Common/DeploymentTargetsTable\";\nimport { useOptionalProjectContext } from \"~/areas/projects/context/index\";\nimport { repository } from \"~/clientInstance\";\nimport InternalLink from \"~/components/Navigation/InternalLink/index\";\nexport const RoleChipTextWithPopover = (props: {\n role: string;\n triggerElement: ReactNode;\n}) => {\n const [machines, setMachines] = React.useState([]);\n const [environments, setEnvironments] = React.useState([]);\n const [totalCount, setTotalCount] = React.useState(0);\n const projectContext = useOptionalProjectContext();\n const isLargerThanIpad = useMediaQuery({ query: `(min-width: 79.9rem)` });\n const dispatchAction = useProjectScopedAnalyticActionDispatch(projectContext?.state.model.Id);\n const numMachinesToList = 4;\n const onOpen = () => {\n dispatchAction(\"Role Chip Contextual Help Opened\", { action: Action.Toggle, resource: \"Role Chip Contextual Help\" });\n };\n const container = css({\n display: \"flex\",\n flexDirection: \"column\",\n gap: space[16],\n });\n const textContainer = css({\n width: \"274px\", // ensures `` does not render over two lines when total count is 0\n });\n const roleIcon = css({\n display: \"inline-block\",\n verticalAlign: \"middle\",\n });\n const RoleIconWithText = (props: {\n role: string;\n }) => (<>\n \n \n \n {props.role}\n );\n const description = (
    \n
    \n \n {totalCount > 0 && (<>\n {`is assigned to ${totalCount} deployment ${pluralize(\"target\", totalCount)}:`}\n )}\n {totalCount === 0 && (<>\n isn’t assigned to deployment targets. Assign in{\" \"}\n \n Deployment Targets\n \n .\n )}\n \n
    \n {totalCount > 0 && environments && machines && }\n
    );\n useEffect(() => {\n (async () => {\n const loadedMachines = await repository.Machines.list({ roles: props.role, take: numMachinesToList });\n setTotalCount(loadedMachines.TotalResults);\n // get all distinct environments\n const environmentIds = new Set();\n loadedMachines.Items.forEach((m) => {\n m.EnvironmentIds.forEach((e) => environmentIds.add(e));\n });\n const environments = await repository.Environments.all({ ids: Array.from(environmentIds) });\n // sort by SortOrder\n environments.sort((a, b) => a.SortOrder - b.SortOrder);\n setMachines(loadedMachines.Items);\n setEnvironments(environments);\n })();\n }, [props.role]);\n return 0 ? \"extra-wide\" : \"wide\"} triggerElelment={props.triggerElement}/>;\n};\n","/* eslint-disable @typescript-eslint/no-non-null-assertion */\n/* eslint-disable @typescript-eslint/init-declarations */\nimport type { LegacySvgIcon } from \"@octopusdeploy/design-system-components\";\nimport { ExclamationIcon, ChannelIcon, TagOffIcon, UserCircleIcon, UserGroupIcon } from \"@octopusdeploy/design-system-icons\";\nimport { colorScales } from \"@octopusdeploy/design-system-tokens\";\nimport type { ApiKeyResource, CertificateResource, CommunicationStyleResource, DeploymentActionPackageResource, DocumentTypeResource, EnvironmentResource, EventAgentResource, EventCategoryResource, EventGroupResource, IId, IIdName, MachineModelHealthStatusResource, NamedReferenceItem, NamedResource, ProjectGroupResource, RunbookResource, SpaceResource, TeamMembership, TenantResource, UserRoleResource, WorkerPoolResource, } from \"@octopusdeploy/octopus-server-client\";\nimport { displayName, Permission, ProcessType, WorkerPoolType } from \"@octopusdeploy/octopus-server-client\";\nimport moment from \"moment\";\nimport type { CSSProperties } from \"react\";\nimport * as React from \"react\";\nimport { gitDependencyChipDisplayName, type DeploymentActionGitDependencyDetails } from \"~/areas/projects/components/Channels/GitProtectionRules/GitResourceRule\";\nimport type { DeploymentFreezeStatusResource } from \"~/components/MultiSelect/DeploymentFreezeStatusMultiSelect\";\nimport { isAllowed } from \"~/components/PermissionCheck/PermissionCheck\";\nimport type { OctopusTheme } from \"~/components/Theme\";\nimport { useOctopusTheme, withTheme } from \"~/components/Theme\";\nimport { DeploymentProcessIcon, DynamicWorkerPoolIcon, EnvironmentIcon, ExcludedEnvironmentIcon, ExcludedMachineIcon, MachineIcon, ProjectIcon, RunbookProcessIcon, ShellNameIcon, UnavailableMachineIcon, UnhealthyMachineIcon, WorkerPoolIcon, } from \"../../primitiveComponents/dataDisplay/Icon/OctopusIcon\"; // TODO Need to use OctopusIcon moving forward. For now, using this approach\nimport type { DistributiveOmit } from \"../../utils/distributiveMappedTypes\";\nimport { LookupResourceChipComponent } from \"../LookupResourceChip/LookupResourceChip\";\nimport { useSpaceAwareNavigation } from \"../Navigation/SpaceAwareNavigation/useSpaceAwareNavigation\";\nimport Chip from \"./Chip\";\nimport { ChipIconWrapper, ChipLegacyIconWrapper } from \"./ChipIconWrapper\";\nimport type { DeletableChipProps } from \"./DeletableChip\";\nimport DeletableChip from \"./DeletableChip\";\n//TODO: Icons should be coming from the design system icon package\nimport type { NavigationChipProps } from \"./NavigationChip\";\nimport { RoleChipTextWithPopover } from \"./RoleChipTextWithPopover\";\nimport type { CommonChipProps } from \"./types\";\nexport type CommonOrDeletableChipProps = (CommonChipProps | DeletableChipProps) & Partial;\nexport function isDeletableChip(chipProps: CommonChipProps): chipProps is DeletableChipProps {\n // eslint-disable-next-line @typescript-eslint/consistent-type-assertions\n return (chipProps as DeletableChipProps).onRequestDelete !== undefined && (chipProps as DeletableChipProps).deleteButtonAccessibleName !== undefined;\n}\ntype IconStyles = Pick;\ntype ChipOrDeletableChipProps = {\n text: string | React.ReactNode;\n icon?: React.ReactElement;\n} & CommonOrDeletableChipProps;\nfunction ChipOrDeletableChip(props: ChipOrDeletableChipProps): React.ReactElement | null {\n const history = useSpaceAwareNavigation();\n const commonChipProps = getCommonChipProps(props);\n if (isDeletableChip(props)) {\n return (\n {props.text}\n );\n }\n const to = props.to;\n return ( history.navigate(to) : undefined}>\n {props.text}\n );\n}\nfunction getCommonChipProps(props: CommonOrDeletableChipProps & Partial): CommonChipProps {\n if (isDeletableChip(props)) {\n return getCommonChipPropsForDeletableChip(props);\n }\n const { to, ...commonProps } = props;\n return commonProps;\n}\nfunction getCommonChipPropsForDeletableChip(props: DeletableChipProps & Partial): CommonChipProps {\n const { deleteButtonAccessibleName, onRequestDelete, to, ...commonProps } = props;\n return commonProps;\n}\nexport enum ChipIcon {\n Project,\n Machine,\n ExcludedMachine,\n Environment,\n ExcludedEnvironment,\n Role,\n ShellName,\n Tenant,\n Channel,\n Team,\n Step,\n StepAction,\n ProjectGroup,\n CommunicationStyle,\n EventCategory,\n EventGroup,\n EventAgent,\n MachineModelHealthStatus,\n DocumentType,\n LibraryVariableSet,\n Space,\n Runbook,\n DeploymentProcess,\n Warning\n}\n// NOTE:\n// This is used to show the user only what they can see, it may be filtered away by permissions\nexport function matchesToChips(set: T[], selected: string[], createChip: (x: T) => JSX.Element): JSX.Element[] {\n return set.filter((item) => selected && selected.indexOf(item.Id) !== -1).map((item) => createChip(item));\n}\nexport function channelChipList(set: NamedResource[], selectedIds: string[]) {\n return matchesToChips(set, selectedIds, (x) => );\n}\nexport function environmentChipList(set: NamedResource[], selectedIds: string[]) {\n return matchesToChips(set, selectedIds, (x) => );\n}\nexport function workerPoolChipList(set: WorkerPoolResource[], selectedIds: string[]) {\n return matchesToChips(set, selectedIds, (x) => );\n}\nexport function subjectKeyChipList(keys: string[]) {\n return keys.map((k) => );\n}\n// NOTE:\n// We have some inconsistency in the application where on summaries we filter away what the user cannot see due to permissions\n// eg environments, but if they expand the multiselect we show them missing chips\n// we should aim to move to this approach in `environmentChipListIncludingMissing` and SHOW them Ids and Names\n// it will require a new API (as not to break other things)\n// the objective is to drive people to Spaces for isolation instead of using the permissions system awkwardly\nexport function environmentChipListIncludingMissing(set: EnvironmentResource[], selectedIds: string[]) {\n const EnvironmentLookupChipInternal = LookupResourceChipComponent();\n return selectedIds.map((id) => }/>);\n}\nexport function tenantChipList(set: TenantResource[], selectedIds: string[]) {\n return matchesToChips(set, selectedIds, (x) => );\n}\n// Same applies environmentChipListIncludingMissing\n// future goal to replace all the variants with this approach\nexport function tenantChipListIncludingMissing(set: TenantResource[], selectedIds: string[]) {\n const TenantLookupChipInternal = LookupResourceChipComponent();\n return selectedIds.map((id) => }/>);\n}\nexport function projectGroupChipList(set: ProjectGroupResource[], selectedIds: string[]) {\n return matchesToChips(set, selectedIds, (x) => );\n}\nexport function projectChipList(set: {\n Id: string;\n Name: string;\n}[], selectedIds: string[]) {\n return matchesToChips(set, selectedIds, (x) => );\n}\nexport function documentChipList(set: DocumentTypeResource[], selectedIds: string[]) {\n return matchesToChips(set, selectedIds, (x) => );\n}\nexport function eventCategoryList(set: EventCategoryResource[], selectedIds: string[]) {\n return matchesToChips(set, selectedIds, (x) => );\n}\nexport function eventGroupList(set: EventGroupResource[], selectedIds: string[]) {\n return matchesToChips(set, selectedIds, (x) => );\n}\nexport function eventAgentList(set: EventAgentResource[], selectedIds: string[]) {\n return matchesToChips(set, selectedIds, (x) => );\n}\nexport function spaceChipList(set: SpaceResource[], selectedIds: string[]) {\n return matchesToChips(set, selectedIds, (x) => );\n}\ntype MissingChipProps = {\n lookupId: string;\n type?: ChipIcon;\n text?: string;\n description?: string;\n} & CommonOrDeletableChipProps;\nconst MissingChip: React.FC = (props) => {\n const theme = useOctopusTheme();\n const { lookupId, type, text, description, ...rest } = props;\n const chipText = text ?? \"Missing Resource\";\n // There are cases where this isn't right, but will just have 1 message to simplify\n // e.g. Variable Snapshots will show this for deleted environments, it's not an issue in that case, but good to show this.\n const chipDescription = description ??\n `The ${ChipIcon[type!]} document '${lookupId}' referenced by this record is no longer available or ` +\n \"you do not have permissions to see this resource. Please check with your Octopus Administrator regarding your \" +\n \"permissions. If you believe the resource is missing (and this is not permissions-related), please let Octopus \" +\n \"support know so that we can prevent this from happening in the future.\";\n const renderChipLegacy = (icon: typeof LegacySvgIcon) => (} backgroundColor={theme.chipBackground} description={chipDescription} labelColor={theme.chipText} {...rest}/>);\n // Note: Interim solution to remove icons from chips while we migrate to design system icons and refactor Chips across the system\n const renderChipWithoutIcon = () => ;\n const renderChip = (icon: React.ReactElement) => {\n return {icon}} backgroundColor={theme.chipBackground} description={chipDescription} labelColor={theme.chipText} {...rest}/>;\n };\n //TODO: We should re-evaluate the use of an enum here and find an alternate way to do this as it forces us to be exhausitve, when we really shouldn't be. A shell name icon for example makes 0 sense as a missing chip.\n switch (type) {\n case ChipIcon.Project:\n return renderChipLegacy(ProjectIcon);\n case ChipIcon.Machine:\n return renderChipLegacy(MachineIcon);\n case ChipIcon.ExcludedMachine:\n return renderChipLegacy(ExcludedMachineIcon);\n case ChipIcon.Environment:\n return renderChipLegacy(EnvironmentIcon);\n case ChipIcon.ExcludedEnvironment:\n return renderChipLegacy(ExcludedEnvironmentIcon);\n case ChipIcon.Role:\n return renderChip();\n case ChipIcon.ShellName:\n return renderChipLegacy(ShellNameIcon);\n case ChipIcon.Tenant:\n return renderChip();\n case ChipIcon.Channel:\n return renderChip();\n case ChipIcon.Team:\n return renderChip();\n case ChipIcon.Space:\n return renderChipWithoutIcon();\n case ChipIcon.Runbook:\n return renderChipLegacy(RunbookProcessIcon);\n case ChipIcon.DeploymentProcess:\n return renderChipLegacy(DeploymentProcessIcon);\n case ChipIcon.Step:\n case ChipIcon.StepAction:\n case ChipIcon.ProjectGroup:\n case ChipIcon.CommunicationStyle:\n case ChipIcon.EventCategory:\n case ChipIcon.EventGroup:\n case ChipIcon.EventAgent:\n case ChipIcon.MachineModelHealthStatus:\n case ChipIcon.DocumentType:\n return ;\n case ChipIcon.Warning:\n default:\n return renderChip();\n }\n};\nMissingChip.displayName = \"MissingChip\"\nconst hasDeleteChipPropCallback = (props: CommonOrDeletableChipProps): props is CommonChipProps & Pick => {\n // eslint-disable-next-line @typescript-eslint/consistent-type-assertions\n const converted = props as DeletableChipProps;\n return typeof converted.onRequestDelete === \"function\";\n};\ntype ContextualMissingChipProps = DistributiveOmit & {\n lookupKey: string;\n};\nexport const ContextualMissingChip: React.FC = ({ lookupKey, ...rest }) => {\n const ChipComponent = MissingChip;\n const propsToSpread = hasDeleteChipPropCallback(rest) ? { ...rest, deleteButtonAccessibleName: \"Delete Missing Resource\" } : rest;\n return ;\n};\nContextualMissingChip.displayName = \"ContextualMissingChip\"\nexport default ContextualMissingChip;\ntype ProcessChipProps = {\n processType: ProcessType | undefined;\n name: string;\n} & CommonOrDeletableChipProps;\nconst ProcessChip: React.FC = ({ processType, name, ...rest }) => {\n switch (processType) {\n case ProcessType.Deployment:\n return } description={name} {...rest}/>;\n case ProcessType.Runbook:\n return } description={`Runbook: ${name}`} {...rest}/>;\n }\n return null;\n};\nProcessChip.displayName = \"ProcessChip\"\nconst ProjectChip: React.FC<{\n projectName: string;\n} & CommonOrDeletableChipProps> = (props) => {\n const { projectName, ...rest } = props;\n return } description={`Project: ${projectName}`} {...rest}/>;\n};\nProjectChip.displayName = \"ProjectChip\"\nconst ProjectGroupChip: React.FC<{\n projectGroup: ProjectGroupResource;\n} & CommonOrDeletableChipProps> = (props) => {\n const { projectGroup, ...rest } = props;\n const description = \"Project group: \" + projectGroup.Name;\n return ;\n};\nProjectGroupChip.displayName = \"ProjectGroupChip\"\nconst RunbookChip: React.FC<{\n runbook: RunbookResource;\n} & CommonOrDeletableChipProps> = (props) => {\n const { runbook, ...rest } = props;\n return } description={`Runbook: ${runbook.Name}`} {...rest}/>;\n};\nRunbookChip.displayName = \"RunbookChip\"\nconst MachineModelHealthStatusChip: React.FC<{\n healthStatus: MachineModelHealthStatusResource;\n} & CommonOrDeletableChipProps> = (props) => {\n const { healthStatus, ...rest } = props;\n const description = \"Machine health: \" + healthStatus.Name;\n return ;\n};\nMachineModelHealthStatusChip.displayName = \"MachineModelHealthStatusChip\"\nconst EndpointCommunicationStyleChip: React.FC<{\n commStyle: CommunicationStyleResource;\n} & CommonOrDeletableChipProps> = (props) => {\n const { commStyle, ...rest } = props;\n const description = \"Communications style: \" + commStyle.Name;\n return ;\n};\nEndpointCommunicationStyleChip.displayName = \"EndpointCommunicationStyleChip\"\nconst DeploymentFreezeStatusChip: React.FC<{\n status: DeploymentFreezeStatusResource;\n} & CommonOrDeletableChipProps> = (props) => {\n const { status, ...rest } = props;\n const description = \"Freeze status: \" + status.Name;\n return ;\n};\nDeploymentFreezeStatusChip.displayName = \"DeploymentFreezeStatusChip\"\nconst DeploymentTargetTypeChip: React.FC<{\n endpointRegistrationName: string;\n} & CommonOrDeletableChipProps> = (props) => {\n const { endpointRegistrationName, ...rest } = props;\n const description = \"Deployment target type: \" + endpointRegistrationName;\n return ;\n};\nDeploymentTargetTypeChip.displayName = \"DeploymentTargetTypeChip\"\nconst DeploymentActionChip: React.FC<{\n stepName: string;\n} & CommonOrDeletableChipProps> = (props) => {\n const { stepName, ...rest } = props;\n const description = \"Step: \" + stepName;\n return ;\n};\nDeploymentActionChip.displayName = \"DeploymentActionChip\"\nconst EnvironmentChip: React.FC<{\n environmentName: string;\n isExcluded?: boolean;\n} & CommonOrDeletableChipProps> = (props) => {\n const { environmentName, isExcluded, ...rest } = props;\n return } description={`Environment: ${environmentName}`} markAsRemoved={isExcluded} {...rest}/>;\n};\nEnvironmentChip.displayName = \"EnvironmentChip\"\nconst OpenIdSubjectKeyChip: React.FC<{\n subjectName: string;\n} & CommonOrDeletableChipProps> = (props) => {\n return ;\n};\nOpenIdSubjectKeyChip.displayName = \"OpenIdSubjectKeyChip\"\nconst WorkerPoolChip: React.FC<{\n workerPoolName: string;\n isExcluded?: boolean;\n workerPoolType: WorkerPoolType;\n} & CommonOrDeletableChipProps> = (props) => {\n const { workerPoolName, isExcluded, workerPoolType, ...rest } = props;\n const icon = workerPoolType === WorkerPoolType.Static ? WorkerPoolIcon : DynamicWorkerPoolIcon;\n return (} description={workerPoolType === WorkerPoolType.Static ? `Worker pool: ${workerPoolName}` : `Dynamic worker pool: ${workerPoolName}`} markAsRemoved={isExcluded} {...rest}/>);\n};\nWorkerPoolChip.displayName = \"WorkerPoolChip\"\nconst MachineChip: React.FC<{\n machineName: string;\n isExcluded?: boolean;\n isDisable?: boolean;\n isUnhealthy?: boolean;\n} & CommonOrDeletableChipProps> = (props) => {\n const { machineName, isExcluded, isDisable, isUnhealthy, ...rest } = props;\n const theme = useOctopusTheme();\n let icon: typeof LegacySvgIcon;\n if (isExcluded || isDisable) {\n icon = UnavailableMachineIcon;\n }\n else if (isUnhealthy) {\n icon = UnhealthyMachineIcon;\n }\n else {\n icon = MachineIcon;\n }\n return (} description={`Machine: ${machineName}`} markAsRemoved={isExcluded} backgroundColor={isDisable || isUnhealthy ? theme.dangerBackground : theme.chipBackground} labelColor={isDisable || isUnhealthy ? theme.dangerText : theme.chipText} {...rest}/>);\n};\nMachineChip.displayName = \"MachineChip\"\nconst TenantChip: React.FC<{\n tenantName: string;\n isDisabled?: boolean;\n} & CommonOrDeletableChipProps> = (props) => {\n const { tenantName, isDisabled, ...rest } = props;\n return (\n \n } description={`Tenant: ${tenantName}`} {...rest} opacity={isDisabled ? 0.4 : 1}/>);\n};\nTenantChip.displayName = \"TenantChip\"\nconst TeamChip: React.FC<{\n team: TeamMembership | IIdName;\n} & CommonOrDeletableChipProps & {\n descriptionPostfix?: string;\n}> = (props) => {\n const { team, ...rest } = props;\n const teamName = \"TeamName\" in team ? team.TeamName : team.Name;\n const desc = !rest.descriptionPostfix ? \"Team: \" + teamName : \"Team: \" + teamName + rest.descriptionPostfix;\n return (\n \n } description={desc} {...rest}/>);\n};\nTeamChip.displayName = \"TeamChip\"\nconst ChannelChip: React.FC<{\n channelName: string;\n} & CommonOrDeletableChipProps> = (props) => {\n const { channelName, ...rest } = props;\n return (\n \n } description={`Channel: ${channelName}`} {...rest}/>);\n};\nChannelChip.displayName = \"ChannelChip\"\nconst RoleChip: React.FC<{\n role: string;\n showContextualHelp?: boolean;\n} & CommonOrDeletableChipProps> = (props) => {\n const { role, ...rest } = props;\n const showContextualHelp = props.showContextualHelp && isAllowed({ permission: Permission.EnvironmentView, environment: \"*\" }) && isAllowed({ permission: Permission.MachineView });\n if (showContextualHelp) {\n return (\n \n } description={`Click to see associated deployment targets`} {...rest}/>}/>);\n }\n return (\n \n } description={role} {...rest}/>);\n};\nRoleChip.displayName = \"RoleChip\"\nconst ShellNameChip: React.FC<{\n shellName: string;\n} & CommonOrDeletableChipProps> = (props) => {\n const { shellName, ...rest } = props;\n return } description={`Shell: ${shellName}`} {...rest}/>;\n};\nShellNameChip.displayName = \"ShellNameChip\"\nconst CertificateExpiryChip: React.FC<{\n certificate: CertificateResource;\n} & CommonOrDeletableChipProps> = (props) => {\n const theme = useOctopusTheme();\n const { certificate, ...rest } = props;\n const now = moment();\n const certificateExpiry = moment(certificate.NotAfter);\n const prefix = certificateExpiry.isAfter(now) ? \"Expires \" : \"Expired \";\n const expiry = prefix + certificateExpiry.fromNow();\n let color = theme.success;\n if (certificateExpiry.isBefore(now)) {\n color = theme.danger;\n }\n else if (certificateExpiry.isBefore(now.add(20, \"days\"))) {\n color = theme.alert;\n }\n const description = \"Certificate expiry: \" + expiry;\n return (\n {expiry}\n );\n};\nCertificateExpiryChip.displayName = \"CertificateExpiryChip\"\nconst ApiKeyExpiryChip: React.FC<{\n apiKey: ApiKeyResource;\n} & CommonOrDeletableChipProps> = (props) => {\n const theme = useOctopusTheme();\n const { apiKey, ...rest } = props;\n let color = theme.success;\n let expiry = \"Does not expire\";\n if (apiKey.Expires) {\n const apiKeyExpiry = moment(apiKey.Expires);\n const now = moment();\n if (apiKeyExpiry.isBefore(now)) {\n color = theme.danger;\n }\n else if (apiKeyExpiry.isBefore(now.clone().add(20, \"days\"))) {\n color = theme.alert;\n }\n const prefix = apiKeyExpiry.isAfter(now) ? \"Expires \" : \"Expired \";\n expiry = prefix + apiKeyExpiry.fromNow();\n }\n const description = \"API Key expiry: \" + expiry;\n return (\n {expiry}\n );\n};\nApiKeyExpiryChip.displayName = \"ApiKeyExpiryChip\"\nconst StepChip: React.FC<{\n stepName: string;\n} & CommonOrDeletableChipProps> = (props) => {\n const { stepName, ...rest } = props;\n const description = \"Step: \" + stepName;\n return ;\n};\nStepChip.displayName = \"StepChip\"\nconst DeploymentActionPackageChip: React.FC<{\n actionPackage: DeploymentActionPackageResource;\n} & CommonOrDeletableChipProps> = (props) => {\n const { actionPackage, ...rest } = props;\n const description = !actionPackage.PackageReference ? `Step ${actionPackage.DeploymentAction}` : `Package ${actionPackage.PackageReference} from step ${actionPackage.DeploymentAction}`;\n return ;\n};\nDeploymentActionPackageChip.displayName = \"DeploymentActionPackageChip\"\nconst DeploymentActionGitDependencyChip: React.FC<{\n actionGitDependency: DeploymentActionGitDependencyDetails;\n} & CommonOrDeletableChipProps> = (props) => {\n const { actionGitDependency, ...rest } = props;\n const description = !actionGitDependency.GitDependencyName\n ? `Step '${actionGitDependency.DeploymentActionName}' using repository ${actionGitDependency.RepositoryUri}`\n : `Git resource '${actionGitDependency.GitDependencyName}' from step '${actionGitDependency.DeploymentActionName}' using repository ${actionGitDependency.RepositoryUri}`;\n return ;\n};\nDeploymentActionGitDependencyChip.displayName = \"DeploymentActionGitDependencyChip\"\nconst UserRoleChip: React.FC<{\n userRole: UserRoleResource;\n} & CommonOrDeletableChipProps> = (props) => {\n const { userRole, ...rest } = props;\n return ;\n};\nUserRoleChip.displayName = \"UserRoleChip\"\nconst ExternalSecurityGroupChip: React.FC<{\n group: NamedReferenceItem;\n} & CommonOrDeletableChipProps> = (props) => {\n const { group, ...rest } = props;\n const fullName = group.DisplayIdAndName ? `${group.DisplayName} (${group.Id})` : group.DisplayName;\n return ;\n};\nExternalSecurityGroupChip.displayName = \"ExternalSecurityGroupChip\"\nconst FilterTextChip: React.FC<{\n filterText: string;\n} & CommonOrDeletableChipProps> = (props) => {\n const { filterText, ...rest } = props;\n return ;\n};\nFilterTextChip.displayName = \"FilterTextChip\"\nconst EventCategoryChip: React.FC<{\n eventCategory: EventCategoryResource;\n} & CommonOrDeletableChipProps> = (props) => {\n const { eventCategory, ...rest } = props;\n const description = \"Event category: \" + eventCategory.Name;\n return ;\n};\nEventCategoryChip.displayName = \"EventCategoryChip\"\nconst EventCategoryPreviewChip: React.FC<{\n eventCategory: EventCategoryResource;\n} & CommonOrDeletableChipProps> = (props) => {\n const { eventCategory, ...rest } = props;\n const description = \"Event category: \" + eventCategory.Name;\n return ;\n};\nEventCategoryPreviewChip.displayName = \"EventCategoryPreviewChip\"\nconst EventAgentChip: React.FC<{\n eventAgent: EventAgentResource;\n} & CommonOrDeletableChipProps> = (props) => {\n const { eventAgent, ...rest } = props;\n const description = \"Event agent: \" + eventAgent.Name;\n return ;\n};\nEventAgentChip.displayName = \"EventAgentChip\"\nconst DocumentTypeChip: React.FC<{\n documentType: DocumentTypeResource;\n} & CommonOrDeletableChipProps> = (props) => {\n const { documentType, ...rest } = props;\n const description = \"Document type: \" + documentType.Name;\n return ;\n};\nDocumentTypeChip.displayName = \"DocumentTypeChip\"\nconst EventGroupChip: React.FC<{\n eventGroup: EventGroupResource;\n} & CommonOrDeletableChipProps> = (props) => {\n const { eventGroup, ...rest } = props;\n const description = \"Event group: \" + eventGroup.Name;\n return ;\n};\nEventGroupChip.displayName = \"EventGroupChip\"\nconst DisabledChip: React.FC = (props) => withTheme((theme) => );\nDisabledChip.displayName = \"DisabledChip\"\nconst DefaultOptionChip: React.FC = (props) => {\n return ;\n};\nDefaultOptionChip.displayName = \"DefaultOptionChip\"\nconst LookupTenantChip: React.FC<{\n lookupTenants: TenantResource[];\n id: string;\n} & CommonOrDeletableChipProps> = (props) => {\n const TenantLookupChipInternal = LookupResourceChipComponent();\n return }/>;\n};\nLookupTenantChip.displayName = \"LookupTenantChip\"\nconst SpaceChip: React.FC<{\n space: SpaceResource;\n description?: string;\n} & CommonOrDeletableChipProps> = (props) => {\n const { space, description, ...rest } = props;\n return ;\n};\nSpaceChip.displayName = \"SpaceChip\"\nconst DefaultSpaceChip: React.FC = (props) => {\n return ;\n};\nDefaultSpaceChip.displayName = \"DefaultSpaceChip\"\nconst EarlyAccessChip: React.FC = (props) => withTheme((theme: OctopusTheme) => (\n Early Access\n ));\nEarlyAccessChip.displayName = \"EarlyAccessChip\"\nconst RunbookSnapshotPublishedChip: React.FC = (props) => withTheme((theme) => (\n Published\n ));\nRunbookSnapshotPublishedChip.displayName = \"RunbookSnapshotPublishedChip\"\nconst NewFeatureChip: React.FC = (props) => withTheme((theme) => (\n NEW\n ));\nNewFeatureChip.displayName = \"NewFeatureChip\"\nconst WarningChip: React.FC<{\n description: string;\n title: string;\n} & CommonChipProps> = (props) => withTheme((theme) => (\n {props.title}\n ));\nWarningChip.displayName = \"WarningChip\"\nconst DangerChip: React.FC<{\n description: string;\n title: string;\n} & CommonChipProps> = (props) => withTheme((theme) => (\n {props.title}\n ));\nDangerChip.displayName = \"DangerChip\"\nconst RecommendedChip = (props: CommonChipProps) => withTheme((theme) => (\n Recommended\n ));\nexport { MissingChip, ProjectChip, RunbookChip, ProjectGroupChip, EnvironmentChip, WorkerPoolChip, RoleChip, ShellNameChip, TenantChip, TeamChip, ChannelChip, MachineChip, CertificateExpiryChip, ApiKeyExpiryChip, MachineModelHealthStatusChip, EndpointCommunicationStyleChip, DeploymentTargetTypeChip, DeploymentFreezeStatusChip, StepChip, DeploymentActionPackageChip, DeploymentActionGitDependencyChip, UserRoleChip, ExternalSecurityGroupChip, FilterTextChip, EventCategoryChip, EventCategoryPreviewChip, EventAgentChip, DocumentTypeChip, EventGroupChip, DisabledChip, DefaultOptionChip, LookupTenantChip, SpaceChip, DefaultSpaceChip, EarlyAccessChip, NewFeatureChip, DeploymentActionChip, RunbookSnapshotPublishedChip, ProcessChip, WarningChip, DangerChip, OpenIdSubjectKeyChip, RecommendedChip, };\n","import type { ReferenceDataItem } from \"@octopusdeploy/octopus-server-client\";\nimport * as React from \"react\";\nimport { ChipIcon, ContextualMissingChip, OpenIdSubjectKeyChip } from \"~/components/Chips\";\nimport { MultiSelect } from \"~/components/MultiSelect/MultiSelect\";\nimport type { FocusableComponent } from \"~/components/VirtualListWithKeyboard/FocusableComponent\";\nimport type { SelectItem } from \"~/components/VirtualListWithKeyboard/SelectItem\";\nimport type { FormFieldProps } from \"~/components/form\";\nimport Lookup from \"../Lookup\";\nexport const OpenIdSubjectTypedMultiSelect = MultiSelect();\nexport const AvailableDeploymentSubjectKeys: ReferenceDataItem[] = [\n { Id: \"space\", Name: \"Space\" },\n { Id: \"environment\", Name: \"Environment\" },\n { Id: \"project\", Name: \"Project\" },\n { Id: \"tenant\", Name: \"Tenant\" },\n { Id: \"account\", Name: \"Account\" },\n { Id: \"type\", Name: \"Type\" },\n];\nexport const AvailableRunbookSubjectKeys: ReferenceDataItem[] = [\n { Id: \"space\", Name: \"Space\" },\n { Id: \"environment\", Name: \"Environment\" },\n { Id: \"project\", Name: \"Project\" },\n { Id: \"tenant\", Name: \"Tenant\" },\n { Id: \"runbook\", Name: \"Runbook\" },\n { Id: \"account\", Name: \"Account\" },\n { Id: \"type\", Name: \"Type\" },\n];\nfunction calculateAvailableExecutionSubjectKeys(): ReferenceDataItem[] {\n const allKeys = AvailableRunbookSubjectKeys.concat(AvailableDeploymentSubjectKeys);\n const map = new Map();\n for (const key of allKeys) {\n map.set(key.Id, key);\n }\n return Array.from(map.values());\n}\nexport const AvailableExecutionSubjectKeys = calculateAvailableExecutionSubjectKeys();\nexport const DefaultDeploymentSubjectKeys: string[] = [\"space\", \"project\", \"tenant\", \"environment\"];\nexport const SubjectKeyOrder: string[] = [\"space\", \"project\", \"runbook\", \"tenant\", \"environment\", \"target\", \"account\", \"type\"];\nexport const AvailableHealthCheckSubjectKeys: ReferenceDataItem[] = [\n { Id: \"space\", Name: \"Space\" },\n { Id: \"account\", Name: \"Account\" },\n { Id: \"target\", Name: \"Target\" },\n { Id: \"type\", Name: \"Type\" },\n];\nexport const DefaultHealthCheckSubjectKeys: string[] = [\"space\", \"account\", \"target\"];\nexport const AvailableAccountTestSubjectKeys: ReferenceDataItem[] = [\n { Id: \"space\", Name: \"Space\" },\n { Id: \"account\", Name: \"Account\" },\n { Id: \"type\", Name: \"Type\" },\n];\nexport const DefaultAccountTestSubjectKeys: string[] = [\"space\", \"account\"];\ninterface OpenIdSubjectMultiSelectProps extends FormFieldProps {\n openOnFocus?: boolean;\n autoFocus?: boolean;\n label?: string | JSX.Element;\n error?: string;\n hideFloatingLabel?: boolean;\n multiSelectRef?(component: FocusableComponent | null): void;\n accessibleName?: string;\n onRemove?: (id: string) => void;\n fallbackLabel?: string;\n fallbackDescription?: string;\n lookupCollection?: ReferenceDataItem[];\n subjectKeys: ReferenceDataItem[];\n}\nexport const OpenIdSubjectMultiSelect: React.FC = (props) => {\n const chipRenderer = (r: ReferenceDataItem | SelectItem, onRequestDelete: () => void) => ( element.Id} render={(item: ReferenceDataItem) => } renderFallback={}/>);\n return ;\n};\nOpenIdSubjectMultiSelect.displayName = \"OpenIdSubjectMultiSelect\"\n","import BusyFromPromise from \"./BusyFromPromise\";\nexport default BusyFromPromise;\n","import type { DrawerProps, DrawerWithCustomActionsProps, DrawerWithPrimaryButtonProps } from \"@octopusdeploy/design-system-components\";\nimport { Drawer, LinearProgress } from \"@octopusdeploy/design-system-components\";\nimport { useTrackEvent } from \"@octopusdeploy/portal-analytics\";\nimport * as React from \"react\";\nimport BusyFromPromise from \"~/components/BusyFromPromise/index\";\nimport type { Errors } from \"~/components/DataBaseComponent/index\";\nimport FormComponent from \"~/components/FormComponent/FormComponent\";\nimport ExpansionButtons from \"~/components/form/Sections/ExpansionButtons\";\nimport { ErrorPanel } from \"~/components/form/index\";\nimport { createCloseDrawerEvent } from \"~/primitiveComponents/dataDisplay/DrawerWithForm/amplitudeAnalytics\";\nexport type DrawerWithFormProps = Omit & {\n children: React.ReactNode;\n busy: Promise | undefined;\n errors: Errors | undefined;\n onSubmit: () => void;\n showExpandAll?: boolean;\n expandAllOnMount?: boolean;\n expandableContainerKey?: string;\n // eslint-disable-next-line @typescript-eslint/no-explicit-any\n isPrimaryButtonDisabled?: Promise | boolean | null;\n customPrimaryAction?: React.ReactNode;\n customActions?: React.ReactNode[];\n primaryButtonLabel?: string;\n correlationId?: string;\n};\nexport function DrawerWithForm({ onSubmit, isOpen, busy, errors, children, showExpandAll, expandAllOnMount, expandableContainerKey, title, onClose, customActions, isPrimaryButtonDisabled, customPrimaryAction, primaryButtonLabel, correlationId, }: DrawerWithFormProps) {\n const trackEvent = useTrackEvent();\n const handleClose = () => {\n trackEvent(createCloseDrawerEvent(title, correlationId));\n if (onClose) {\n onClose();\n }\n };\n let drawerProps: DrawerWithPrimaryButtonProps | DrawerWithCustomActionsProps = {\n isOpen: isOpen,\n title: title,\n onClose: handleClose,\n variant: \"default\",\n onPrimaryButtonClick: onSubmit,\n layout: \"none\",\n children, // this is just to avoid the missing prop error\n };\n if (customActions) {\n drawerProps = {\n ...drawerProps,\n variant: \"customActions\",\n customActions: customActions,\n };\n }\n else {\n drawerProps = {\n ...drawerProps,\n variant: \"default\",\n onPrimaryButtonClick: onSubmit,\n isPrimaryButtonDisabled: isPrimaryButtonDisabled,\n customPrimaryAction: customPrimaryAction,\n primaryButtonLabel: primaryButtonLabel,\n };\n }\n return (\n \n {(busy: boolean) => }\n {errors && }\n {showExpandAll && }\n {children}\n \n );\n}\n","import type { AnalyticsEvent } from \"@octopusdeploy/portal-analytics\";\nexport function createCloseDrawerEvent(drawer: string, correlationId: string | undefined): CloseDrawerEvent {\n return {\n eventName: \"Close Drawer\",\n Drawer: drawer,\n \"Correlation Id\": correlationId,\n };\n}\ninterface CloseDrawerEvent extends AnalyticsEvent<\"Close Drawer\"> {\n Drawer: string;\n \"Correlation Id\"?: string;\n}\n","import type { AnalyticsEvent } from \"@octopusdeploy/portal-analytics\";\nexport function createAddAccountAnalyticsEvent(eventProperties: AddAccountAnalyticsEventProperties): AddAccountAnalyticsEvent {\n return {\n eventName: \"Add Account\",\n ...eventProperties,\n };\n}\nexport interface AddAccountAnalyticsEvent extends AnalyticsEvent<\"Add Account\">, AddAccountAnalyticsEventProperties {\n}\nexport interface AddAccountAnalyticsEventProperties {\n Location: AddAccountLocation;\n \"Account Type\": string;\n \"Correlation Id\"?: string;\n}\nexport function createSaveAccountAnalyticsEvent(eventProperties: SaveAccountAnalyticsEventProperties): SaveAccountAnalyticsEvent {\n return {\n eventName: \"Save Account\",\n ...eventProperties,\n };\n}\nexport function createSaveAndTestAccountAnalyticsEvent(eventProperties: SaveAccountAnalyticsEventProperties): SaveAndTestAccountAnalyticsEvent {\n return {\n eventName: \"Save and Test Account\",\n ...eventProperties,\n };\n}\nexport interface SaveAccountAnalyticsEvent extends AnalyticsEvent<\"Save Account\">, SaveAccountAnalyticsEventProperties {\n}\nexport interface SaveAndTestAccountAnalyticsEvent extends AnalyticsEvent<\"Save and Test Account\">, SaveAccountAnalyticsEventProperties {\n}\nexport interface SaveAccountAnalyticsEventProperties {\n Location: AddAccountLocation;\n \"Account Type\": string;\n \"Entity Type\": \"New\" | \"Existing\";\n Status: \"Success\" | \"Failure\";\n \"Correlation Id\"?: string;\n}\ntype AddAccountLocation = \"Drawer\" | \"Page\";\n","import { Tooltip } from \"@octopusdeploy/design-system-components\";\nimport cn from \"classnames\";\nimport * as React from \"react\";\nimport styles from \"./style.module.less\";\nexport default (props: {\n for: FrozenResourceType;\n}) => {\n const frozenResource = getResourceDescriptionText(props.for);\n return (\n \n );\n};\nconst getResourceDescriptionText = (resource: FrozenResourceType) => {\n switch (resource) {\n case FrozenResourceType.Project:\n return \"project\";\n case FrozenResourceType.Environment:\n return \"environment\";\n case FrozenResourceType.Tenant:\n return \"tenant\";\n }\n};\nexport enum FrozenResourceType {\n Project,\n Environment,\n Tenant\n}\n","import * as React from \"react\";\nimport type { FrozenResourceType } from \"~/components/DeploymentFreezes/FrozenIcon\";\nimport FrozenIcon from \"~/components/DeploymentFreezes/FrozenIcon\";\nimport styles from \"./style.module.less\";\nexport default (props: {\n for: FrozenResourceType;\n}) => (\n \n );\n","/* eslint-disable @octopusdeploy/custom-portal-rules/no-restricted-imports */\nimport { UserCircleIcon } from \"@octopusdeploy/design-system-icons\";\nimport type { TenantResource } from \"@octopusdeploy/octopus-server-client\";\nimport * as React from \"react\";\nimport { MissingChip, TenantChip, ChipIcon } from \"~/components/Chips\";\nimport { MultiSelect } from \"~/components/MultiSelect/MultiSelect\";\nimport type { SelectItem } from \"~/components/VirtualListWithKeyboard/SelectItem\";\nimport type { FormFieldProps } from \"~/components/form\";\nimport { ChipIconWrapper } from \"../Chips/ChipIconWrapper\";\nimport FrozenDashboardIcon from \"../DeploymentFreezes/FrozenDashboardIcon\";\nimport { FrozenResourceType } from \"../DeploymentFreezes/FrozenIcon\";\nimport Lookup from \"../Lookup\";\ninterface TenantMultiSelectProps extends FormFieldProps {\n items: {\n Id: string;\n Name: string;\n IsDisabled?: boolean | null;\n IsFrozen?: boolean | null;\n }[];\n label?: string | JSX.Element;\n error?: string;\n accessibleName?: string;\n}\nconst TenantTypedMultiSelect = MultiSelect<{\n Id: string;\n Name: string;\n IsDisabled?: boolean | null;\n IsFrozen?: boolean | null;\n}>();\nexport const TenantMultiSelect: React.FC = (props) => {\n const chipRenderer = (r: TenantResource | SelectItem, onRequestDelete: () => void) => {\n return ( element.Id} render={(item) => () : (\n \n )}/>)} renderFallback={}/>);\n };\n return ( {\n return {\n primaryText: (
    \n {item.Name}\n {item.IsFrozen && }\n
    ),\n secondaryText: item.IsDisabled ? \"Disabled\" : \"\",\n };\n }} {...props}/>);\n};\nTenantMultiSelect.displayName = \"TenantMultiSelect\"\n","/* eslint-disable @typescript-eslint/no-non-null-assertion */\nimport type { GetAllTenantTagSetsAcrossAllSpacesBffResponse, TagResource, TagSetResource } from \"@octopusdeploy/octopus-server-client\";\nimport { repository } from \"~/clientInstance\";\nconst tagSeparator = \"/\";\nconst getAll = (): Promise => repository.TagSets.all();\nconst getAllTagSetsAcrossAllSpacesBff = (): Promise => repository.TagSets.allTagSetsAcrossAllSpaces();\ninterface TagSetGroup {\n name: string;\n tags: string[];\n}\nexport interface TagSetGroupWithTagResource {\n id: string;\n name: string;\n tags: TagResource[];\n}\ninterface TagIndex {\n [canonicalTagName: string]: TagResource;\n}\nconst getTagIndex = async (): Promise => {\n const tagSets = await getAll();\n return getTagIndexForTagSets(tagSets);\n};\nconst getTagIndexForTagSets = (tagSets: TagSetResource[]): TagIndex => {\n const idx: {\n [canonicalTagName: string]: TagResource;\n } = {};\n tagSets.forEach((t) => t.Tags.forEach((tag) => {\n if (tag.CanonicalTagName) {\n idx[tag.CanonicalTagName] = tag;\n }\n if (tag.Id) {\n idx[tag.Id] = tag;\n }\n }));\n return idx;\n};\nconst groupByTagSet = (canonicalTagNames: string[]): TagSetGroup[] => {\n const tagSetMap: Map = new Map();\n canonicalTagNames.forEach((canonicalTagName: string) => {\n const [tagSetName] = canonicalTagName.split(tagSeparator);\n const tagSet = tagSetMap.get(tagSetName);\n if (tagSet) {\n tagSet.push(canonicalTagName);\n }\n else {\n tagSetMap.set(tagSetName, [canonicalTagName]);\n }\n });\n return Array.from(tagSetMap, ([tagSetName, tags]) => ({ name: tagSetName, tags }));\n};\nconst groupAndOrderByTagSet = (canonicalTagNames: string[], tagSets: TagSetResource[]): TagSetGroup[] => {\n const unorderedTagSets = groupByTagSet(canonicalTagNames);\n return unorderedTagSets.sort((a, b) => tagSets.find((x) => x.Name === a.name)!.SortOrder - tagSets.find((x) => x.Name === b.name)!.SortOrder);\n};\nconst groupAndOrderByTagSetAndTag = (canonicalTagNames: string[], tagSets: TagSetResource[]): TagSetGroup[] => {\n const tagSetMap = new Map(tagSets.map((tagSet) => [tagSet.Name, tagSet]));\n const orderedTagSets = groupAndOrderByTagSet(canonicalTagNames, tagSets);\n orderedTagSets.forEach((tagSet, i) => {\n orderedTagSets[i].tags = tagSet.tags.sort((a, b) => {\n const tags = tagSetMap.get(tagSet.name)!.Tags;\n return tags.find((x) => x.CanonicalTagName === a)!.SortOrder - tags.find((x) => x.CanonicalTagName === b)!.SortOrder;\n });\n });\n return orderedTagSets;\n};\nconst flattenGroup = (groups: TagSetGroup[]): string[] => groups.reduce((a, group) => a.concat(group.tags), []);\nconst groupByTagSetWithTagResource = (tags: TagResource[]): TagSetGroupWithTagResource[] => {\n const unorderedTagSets: Map = new Map();\n tags.forEach((tag: TagResource) => {\n const [id] = tag.Id.split(tagSeparator);\n const tagSet = unorderedTagSets.get(id);\n if (tagSet) {\n tagSet.tags.push(tag);\n }\n else {\n const [tagSetName] = tag.CanonicalTagName.split(tagSeparator);\n unorderedTagSets.set(id, { id, name: tagSetName, tags: [tag] });\n }\n });\n return Array.from(unorderedTagSets, ([, tagSetGroupWithTagResource]) => tagSetGroupWithTagResource);\n};\nconst groupByTagSetWithTagResourceAndOrderByTagSetAndTag = (tags: TagResource[], tagSets: TagSetResource[]): TagSetGroupWithTagResource[] => {\n const tagSetMap = new Map(tagSets.map((tagSet) => [tagSet.Id, tagSet]));\n const unorderedTagSets = groupByTagSetWithTagResource(tags);\n const orderedTagSets = unorderedTagSets.sort((a, b) => tagSets.find((x) => x.Name === a.name)!.SortOrder - tagSets.find((x) => x.Name === b.name)!.SortOrder);\n orderedTagSets.forEach((tagSet, i) => {\n orderedTagSets[i].tags = tagSet.tags.sort((a, b) => {\n const tags = tagSetMap.get(tagSet.id)!.Tags;\n return tags.find((x) => x.CanonicalTagName === a.CanonicalTagName)!.SortOrder - tags.find((x) => x.CanonicalTagName === b.CanonicalTagName)!.SortOrder;\n });\n });\n return orderedTagSets;\n};\ninterface TenantTagsLookup {\n tagSets: Map;\n tags: Map;\n}\ninterface TagWithSet {\n tag: TagResource;\n set: TagSetResource;\n}\nconst loadTenantTagsLookup = async (): Promise => {\n const tagSets = await getAll();\n const setLookup = tagSets.reduce((lookup, ts) => lookup.set(ts.Id, ts), new Map());\n const tagLookup = tagSets.flatMap((ts) => ts.Tags.map((tag) => ({ tag, set: ts }))).reduce((lookup, item) => lookup.set(item.tag.Id, item), new Map());\n return { tagSets: setLookup, tags: tagLookup };\n};\nexport { getAll, getAllTagSetsAcrossAllSpacesBff, getTagIndex, getTagIndexForTagSets, groupByTagSet, groupAndOrderByTagSet, groupAndOrderByTagSetAndTag, groupByTagSetWithTagResource, groupByTagSetWithTagResourceAndOrderByTagSetAndTag, flattenGroup, loadTenantTagsLookup, TagIndex, TenantTagsLookup, TagWithSet, };\n","import { Tooltip } from \"@octopusdeploy/design-system-components\";\nimport * as React from \"react\";\nimport { useOctopusTheme } from \"~/components/Theme\";\nimport Chip from \"../Chips/Chip\";\nimport DeletableChip from \"../Chips/DeletableChip\";\ninterface CommonTagProps {\n description: string;\n tagName: string;\n tagColor: string;\n borderColor?: string;\n small?: boolean;\n showTooltip?: boolean;\n tabIndex?: number;\n onClick?: () => void;\n}\ninterface DeletableTagProps extends CommonTagProps {\n onRequestDelete: () => void;\n deleteButtonAccessibleName: string;\n}\ntype TagProps = CommonTagProps | DeletableTagProps;\nfunction isDeletableTag(tagProps: TagProps): tagProps is DeletableTagProps {\n // eslint-disable-next-line @typescript-eslint/consistent-type-assertions\n return (tagProps as DeletableTagProps).onRequestDelete !== undefined;\n}\nconst Tag: React.FC = (props) => {\n const theme = useOctopusTheme();\n const { tagName, tagColor, tabIndex, description, onClick, borderColor, small = false } = props;\n const tagDescription = description ? tagName + \": \" + description : \"Tag: \" + tagName;\n if (!small) {\n if (isDeletableTag(props)) {\n return (\n {tagName}\n );\n }\n return (\n {tagName}\n );\n }\n return (\n \n );\n};\nTag.displayName = \"Tag\"\nexport default Tag;\n","import Tag from \"./Tag\";\nexport default Tag;\n","/* eslint-disable @typescript-eslint/no-non-null-assertion */\nimport type { TagResource, TagSetResource } from \"@octopusdeploy/octopus-server-client\";\nimport * as React from \"react\";\nimport BaseComponent from \"~/components/BaseComponent/index\";\nimport type { DoBusyTask } from \"~/components/DataBaseComponent/DataBaseComponent\";\nimport { MultiSelect } from \"~/components/MultiSelect/MultiSelect\";\nimport type { SelectItem } from \"~/components/VirtualListWithKeyboard/SelectItem\";\nimport type FormFieldProps from \"~/components/form/FormFieldProps\";\nimport * as tenantTagsets from \"~/components/tenantTagsets\";\nimport Tag from \"../Tag\";\ninterface TenantTagMultiSelectionProps extends FormFieldProps {\n doBusyTask: DoBusyTask;\n items?: TagSetResource[] | (() => TagSetResource[]);\n autoFocus?: boolean;\n}\ninterface TenantTagSelectionState {\n tagSets: TagSetResource[];\n}\nconst TagResourceMultiSelect = MultiSelect();\nexport class TenantTagMultiSelect extends BaseComponent {\n constructor(props: TenantTagMultiSelectionProps) {\n super(props);\n this.state = {\n tagSets: this.props.items ? (typeof this.props.items === \"function\" ? this.props.items() : this.props.items).sort((t1, t2) => t1.SortOrder - t2.SortOrder) : null!,\n };\n }\n async componentDidMount() {\n await this.props.doBusyTask(async () => {\n if (!this.state.tagSets) {\n const tagSets = await tenantTagsets.getAll();\n this.setState({ tagSets: tagSets.sort((t1, t2) => t1.SortOrder - t2.SortOrder) });\n }\n });\n }\n chipRenderer = (tagSet: TagSetResource, r: TagResource | SelectItem, onRequestDelete: () => void) => {\n const tag = tagSet.Tags.find((t) => t.Id === r.Id);\n return ;\n };\n onChange(tagSet: TagSetResource, tagIds: string[]) {\n const oldState = tenantTagsets.groupByTagSet(this.props.value!);\n const tagSetFromState = oldState.find((x) => x.name === tagSet.Name);\n const squashedList = tagIds.map((id) => tagSet.Tags.find((p) => p.Id === id)!.CanonicalTagName);\n if (tagSetFromState) {\n tagSetFromState.tags = squashedList;\n }\n else {\n oldState.push({ name: tagSet.Name, tags: squashedList });\n }\n const newState = tenantTagsets.flattenGroup(oldState);\n this.props.onChange!(newState);\n }\n render() {\n if (!this.state.tagSets) {\n return null;\n }\n const options = this.state.tagSets.map((ts, index) => {\n // No point showing the selector if this tagset has no tags.\n if (!ts.Tags || ts.Tags.length === 0) {\n return null;\n }\n const selected = this.props.value ? ts.Tags.filter((t) => this.props.value!.indexOf(t.CanonicalTagName) !== -1).map((t) => t.Id) : [];\n const accessibleName = `tagSetFilter-${ts.Name}`;\n return ( this.onChange(ts, items)} key={ts.Id} value={selected} items={ts.Tags ? ts.Tags.sort((t1, t2) => t1.SortOrder - t2.SortOrder) : null!} renderChip={(r: TagResource | SelectItem, dc) => this.chipRenderer(ts, r, dc)} fieldName={`${ts.Name} tags`} description={ts.Description} autoFocus={this.props.autoFocus && index === 0}/>);\n });\n return
    {options}
    ;\n }\n static displayName = \"TenantTagMultiSelect\";\n}\n","import { ActionButton, ActionButtonType } from \"@octopusdeploy/design-system-components\";\nimport * as React from \"react\";\nimport { DialogLayoutConnect } from \"~/components/Dialog/DialogLayoutConnect\";\nimport type { DialogLayoutCommonProps, DialogLayoutDispatchProps } from \"~/components/DialogLayout/DialogLayout\";\nimport { DialogLayout } from \"~/components/DialogLayout/DialogLayout\";\nimport type { PermissionCheckProps } from \"~/components/PermissionCheck/PermissionCheck\";\nimport { isAllowed } from \"~/components/PermissionCheck/PermissionCheck\";\nimport FormComponent from \"../FormComponent/FormComponent\";\nimport styles from \"./style.module.less\";\ninterface OkDialogLayoutProps extends DialogLayoutCommonProps {\n okButtonLabel?: string;\n okButtonAccessibleName?: string;\n okButtonDisabled?: boolean;\n okButtonPermission?: PermissionCheckProps;\n hideCancel?: boolean;\n cancelButtonLabel?: string;\n onOkClick(): Promise | Promise | boolean | void;\n}\nclass OkDialogLayoutInternal extends React.Component {\n okClick = async () => {\n const result = await this.props.onOkClick();\n if (typeof result !== \"boolean\" || result) {\n this.props.close();\n }\n };\n submitForm = async () => {\n if (!this.isDisabled()) {\n await this.okClick();\n }\n };\n isDisabled() {\n return this.props.okButtonDisabled || this.props.busy;\n }\n render() {\n const hasPermissionForOk = !!this.props.okButtonPermission ? isAllowed(this.props.okButtonPermission) : true;\n const { children, ...other } = this.props;\n const ok = ;\n const cancel = this.props.close()}/>;\n const actions = [!this.props.hideCancel && cancel, hasPermissionForOk && ok].filter((a) => !!a);\n return (\n \n {children}\n \n );\n }\n static displayName = \"OkDialogLayoutInternal\";\n}\nconst OkDialogLayout = DialogLayoutConnect.to(OkDialogLayoutInternal);\nOkDialogLayout.displayName = \"OkDialogLayout\";\nexport default OkDialogLayout;\n","import { Tooltip } from \"@octopusdeploy/design-system-components\";\nimport * as React from \"react\";\nimport Tag from \"~/components/Tag\";\nimport type { TagIndex } from \"~/components/tenantTagsets\";\ninterface TagsListProps {\n tagIndex: TagIndex;\n canonicalNames: string[];\n small?: boolean;\n}\nconst TagsList: React.StatelessComponent = (props: TagsListProps) => {\n const tags = props.canonicalNames.map((name) => props.tagIndex[name]);\n return (\n {tags.map((tag) => props.small ? (\n \n ) : ())}\n );\n};\nTagsList.displayName = \"TagsList\"\nexport default TagsList;\n","import type { TagResource, TagSetResource } from \"@octopusdeploy/octopus-server-client\";\nimport * as React from \"react\";\nimport { ChipIcon, MissingChip } from \"~/components/Chips\";\nimport Tag from \"~/components/Tag\";\nimport * as tenantTagsets from \"~/components/tenantTagsets\";\nexport interface SmallTagsListProps {\n tags: string[];\n}\ninterface SmallTagsListState {\n loaded: boolean;\n tagIndex: {\n [canonicalTagName: string]: TagResource;\n };\n tagSets: TagSetResource[];\n}\nexport default class TenantTagsList extends React.Component {\n constructor(props: SmallTagsListProps) {\n super(props);\n this.state = { tagIndex: {}, tagSets: [], loaded: false };\n }\n async componentDidMount() {\n const tagSets = await tenantTagsets.getAll();\n this.setState({\n tagIndex: tenantTagsets.getTagIndexForTagSets(tagSets),\n tagSets,\n loaded: true,\n });\n }\n render() {\n if (!this.state.tagIndex || !this.props.tags || this.props.tags.length === 0 || !this.state.loaded) {\n return null;\n }\n const groupedTagsets = tenantTagsets.groupAndOrderByTagSetAndTag(this.props.tags, this.state.tagSets);\n const items: React.ReactNode[] = [];\n groupedTagsets.forEach((tagsetGroup) => {\n const missingTags = tagsetGroup.tags;\n if (items.length > 0) {\n items.push( and );\n }\n if (missingTags.length === 1) {\n const tag = this.state.tagIndex[missingTags[0]];\n if (!tag) {\n items.push();\n return;\n }\n items.push();\n return;\n }\n if (groupedTagsets.length > 1) {\n items.push({`(`});\n }\n for (let index = 0; index < missingTags.length; index++) {\n const tag = this.state.tagIndex[missingTags[index]];\n if (index === missingTags.length - 1) {\n items.push( or );\n }\n else if (index !== 0) {\n items.push(, );\n }\n if (!tag) {\n items.push();\n return;\n }\n items.push();\n }\n if (groupedTagsets.length > 1) {\n items.push());\n }\n });\n return {items};\n }\n static displayName = \"TenantTagsList\";\n}\n","/* eslint-disable @typescript-eslint/no-non-null-assertion */\n/* eslint-disable @octopusdeploy/custom-portal-rules/no-restricted-imports */\nimport { css } from \"@emotion/css\";\nimport { Checkbox, Tooltip } from \"@octopusdeploy/design-system-components\";\nimport { UserCircleIcon } from \"@octopusdeploy/design-system-icons\";\nimport { space } from \"@octopusdeploy/design-system-tokens\";\nimport type { TenantResource, TagSetResource, TenantResourceWithFrozenInfo } from \"@octopusdeploy/octopus-server-client\";\nimport { Permission } from \"@octopusdeploy/octopus-server-client\";\nimport * as React from \"react\";\nimport { repository } from \"~/clientInstance\";\nimport type { DataBaseComponentState } from \"~/components/DataBaseComponent/DataBaseComponent\";\nimport { DataBaseComponent } from \"~/components/DataBaseComponent/DataBaseComponent\";\nimport OkDialogLayout from \"~/components/DialogLayout/OkDialogLayout\";\nimport FilterSearchBox from \"~/components/FilterSearchBox\";\nimport { TenantMultiSelect } from \"~/components/MultiSelect/TenantMultiSelect\";\nimport { TenantTagMultiSelect } from \"~/components/MultiSelect/TenantTagMultiSelect\";\nimport TagsList from \"~/components/TagsList/TagsList\";\nimport TenantTagsList from \"~/components/TenantTagsList/TenantTagsList\";\nimport { withTheme } from \"~/components/Theme\";\nimport type { TagIndex } from \"~/components/tenantTagsets\";\nimport * as tenantTagsets from \"~/components/tenantTagsets\";\nimport { DataTable, DataTableBody, DataTableRow, DataTableRowColumn } from \"~/primitiveComponents/dataDisplay/DataTable\";\nimport { ChipIconWrapper } from \"../Chips/ChipIconWrapper\";\nimport FrozenDashboardIcon from \"../DeploymentFreezes/FrozenDashboardIcon\";\nimport { FrozenResourceType } from \"../DeploymentFreezes/FrozenIcon\";\nimport { isAllowed } from \"../PermissionCheck/PermissionCheck\";\nimport styles from \"./style.module.less\";\ninterface TenantTagDesignDialogLayoutProps {\n hideTenantsByName?: boolean;\n selectedTags?: string[];\n selectedTenants?: string[];\n availableTenants?: string[];\n frozenTenants?: string[];\n emptyFilterMeansAllTenants?: boolean;\n onUpdate(selectedTenants: string[], selectedTags: string[]): void;\n}\ninterface TenantTagDesignDialogLayoutState extends DataBaseComponentState {\n selectedTags: string[];\n selectedTenants: string[];\n matchCount: number;\n matchResults: MatchResult[];\n allTenants: TenantResourceWithFrozenInfo[];\n tenantIndex: {\n [tenantId: string]: TenantResource;\n };\n allTags: TagSetResource[];\n tagIndex: TagIndex;\n searchText: string;\n onlyShowMatching: boolean;\n}\ninterface MatchResult {\n id: string;\n name: string;\n reason: string;\n isMatched: boolean;\n isMatchedByName: boolean;\n missingTags: string[];\n matchedTags: string[];\n isDisabled: boolean | null;\n isFrozen: boolean | null;\n}\nclass TenantTagDesignDialogLayout extends DataBaseComponent {\n constructor(props: TenantTagDesignDialogLayoutProps) {\n super(props);\n this.state = {\n selectedTags: this.props.selectedTags || [],\n selectedTenants: this.props.selectedTenants || [],\n matchCount: 0,\n allTenants: undefined!,\n allTags: undefined!,\n tagIndex: null!,\n matchResults: [],\n searchText: \"\",\n onlyShowMatching: true,\n tenantIndex: {},\n };\n }\n tagChanged = (tags: string[]) => {\n this.setState({ selectedTags: tags }, () => this.runTagTest());\n };\n async componentDidMount() {\n return this.doBusyTask(async () => {\n const tenantsPromise = isAllowed({ permission: Permission.TenantView, tenant: \"*\" }) ? repository.Tenants.all() : Promise.resolve([]);\n const [allTenants, allTags, tagIndex] = await Promise.all([tenantsPromise, tenantTagsets.getAll(), tenantTagsets.getTagIndex()]);\n const tenantIndex = createTenantIndex(allTenants);\n let availableTenants = allTenants;\n if (this.props.availableTenants) {\n availableTenants = allTenants.filter((t) => this.props.availableTenants!.indexOf(t.Id) !== -1);\n }\n const processedAvailableTenants = availableTenants.map((tenant) => ({\n ...tenant,\n IsFrozen: this.props.frozenTenants?.includes(tenant.Id) ?? false,\n }));\n this.setState({ allTenants: processedAvailableTenants, allTags, tenantIndex, tagIndex }, () => this.runTagTest());\n });\n }\n tenantChanged = (tags: string[]) => {\n this.setState({ selectedTenants: tags }, () => this.runTagTest());\n };\n async runTagTest() {\n await this.doBusyTask(async () => {\n const result = await repository.Tenants.tagTest(this.state.selectedTenants, this.state.selectedTags);\n let matchCount = 0;\n const matchResults = Object.keys(result)\n .map((tenantId): MatchResult => {\n const tenantTestResult = result[tenantId];\n const tenant = this.state.tenantIndex[tenantId];\n const isAvailable = !this.props.availableTenants || this.props.availableTenants.indexOf(tenantId) !== -1;\n if (this.props.emptyFilterMeansAllTenants && this.state.selectedTenants.length === 0 && this.state.selectedTags.length === 0) {\n tenantTestResult.IsMatched = true;\n }\n const isMatch = tenantTestResult.IsMatched && isAvailable;\n if (isMatch) {\n matchCount++;\n }\n const matchedTags = tenant.TenantTags.filter((tag) => this.state.selectedTags.indexOf(tag) !== -1);\n return {\n id: tenantId,\n name: tenant.Name,\n reason: isAvailable ? tenantTestResult.Reason : \"Tenant not available in this context\",\n missingTags: tenantTestResult.MissingTags,\n isMatchedByName: this.state.selectedTenants.indexOf(tenantId) !== -1,\n matchedTags,\n isMatched: isMatch,\n isDisabled: tenant.IsDisabled,\n isFrozen: this.state.allTenants.find((t) => t.Id === tenantId)?.IsFrozen ?? false,\n };\n })\n .sort((resultA, resultB) => {\n if (resultA.isMatched && !resultB.isMatched) {\n return -1;\n }\n else if (!resultA.isMatched && resultB.isMatched) {\n return 1;\n }\n if (!resultA.isDisabled && resultB.isDisabled) {\n return -1;\n }\n else if (resultA.isDisabled && !resultB.isDisabled) {\n return 1;\n }\n if (resultA.name < resultB.name) {\n return -1;\n }\n else if (resultA.name > resultB.name) {\n return 1;\n }\n else {\n return 0;\n }\n });\n this.setState({ matchCount, matchResults });\n });\n }\n render() {\n if (!this.state.allTenants) {\n return null;\n }\n const showTenantsByTag = this.state.allTags.some((ts) => ts.Tags.length > 0);\n const searchText = this.state.searchText.toLowerCase();\n return withTheme((theme) => ( {\n this.props.onUpdate(this.state.selectedTenants, this.state.selectedTags);\n return true;\n }}>\n
    \n {!this.props.hideTenantsByName &&

    Include tenants by name

    }\n {!this.props.hideTenantsByName && }\n\n {showTenantsByTag && (<>\n

    Include tenants by tags

    \n \n )}\n\n

    \n Preview - {this.state.matchCount} matching tenant{this.state.matchCount === 1 ? \"\" : \"s\"}\n

    \n
    \n this.setState({ searchText: value })}/>\n this.setState({ onlyShowMatching: !this.state.onlyShowMatching })} className={styles.checkBox}/>\n
    \n
    \n
    \n (t.isMatched || !this.state.onlyShowMatching) && (this.state.searchText.length < 1 || t.name.toLowerCase().includes(searchText)))} tagIndex={this.state.tagIndex}/>\n
    \n
    ));\n }\n static displayName = \"TenantTagDesignDialogLayout\";\n}\nfunction createTenantIndex(tenants: TenantResource[]) {\n return tenants.reduce>((prev, current) => {\n prev[current.Id] = current;\n return prev;\n }, {});\n}\ninterface TenantMatchResultsPreviewProps {\n matches: MatchResult[];\n tagIndex: TagIndex;\n}\nfunction TenantMatchResultsPreview({ matches, tagIndex }: TenantMatchResultsPreviewProps) {\n return (\n \n {matches.map((row, index) => (\n {row.isMatched && }\n \n
    \n {!row.isFrozen && (\n \n )}\n {row.isFrozen && }\n {row.name}\n
    \n
    \n \n {\" \"}\n \n
    ))}\n
    \n
    );\n}\nconst tenantResultsTableStyles = css({\n tableLayout: \"fixed\",\n});\nfunction TenantMatchReason({ match, tagIndex }: {\n match: MatchResult;\n tagIndex: TagIndex;\n}) {\n if (match.isMatchedByName) {\n return null;\n }\n if (match.isMatched) {\n return ;\n }\n const content = match.reason === \"Missing Tags\" ? (
    \n
    Missing Tags
    \n \n
    ) : (match.reason);\n return content ? (\n \n ) : null;\n}\nexport default TenantTagDesignDialogLayout;\n","import { ActionButtonType } from \"@octopusdeploy/design-system-components\";\nimport * as React from \"react\";\nimport OpenDialogButton from \"~/components/Dialog/OpenDialogButton\";\nimport TenantTagDesignDialogLayout from \"./TenantTagDesignDialogLayout\";\ninterface TenantFilterButtonProps {\n selectedTags?: string[];\n selectedTenants?: string[];\n availableTenants?: string[];\n emptyFilterMeansAllTenants?: boolean;\n showTenants: boolean;\n frozenTenants?: string[];\n onUpdate(selectedTenants: string[], selectedTags: string[]): void;\n}\nclass TenantFilterButton extends React.Component {\n render() {\n return (\n \n );\n }\n static displayName = \"TenantFilterButton\";\n}\nexport default TenantFilterButton;\n","import TenantFilterButton from \"./TenantFilterButton\";\nexport default TenantFilterButton;\n","/* eslint-disable @typescript-eslint/no-non-null-assertion */\nimport type { TenantResource, TagSetResource, TenantResourceWithFrozenInfo } from \"@octopusdeploy/octopus-server-client\";\nimport * as React from \"react\";\nimport type { DoBusyTask } from \"~/components/DataBaseComponent/DataBaseComponent\";\nimport { ResetLabelStrategy } from \"~/components/LabelStrategy/LabelStrategy\";\nimport { TenantMultiSelect } from \"~/components/MultiSelect/TenantMultiSelect\";\nimport { TenantTagMultiSelect } from \"~/components/MultiSelect/TenantTagMultiSelect\";\nimport TenantFilterButton from \"~/components/TenantTagDesignDialog\";\ninterface AdvancedTenantSelectorProps {\n tagSets?: TagSetResource[];\n selectedTenantIds: string[];\n showTenants: boolean;\n tenants?: TenantResource[];\n selectedTenantTags: string[];\n doBusyTask: DoBusyTask;\n showPreviewButton: boolean;\n emptyFilterMeansAllTenants?: boolean;\n onChange(tenantIds: string[], tenantTags: string[]): void;\n}\nconst AdvancedTenantSelector: React.SFC = (props: AdvancedTenantSelectorProps) => {\n const frozenTenants = props.tenants?.filter((tenant): tenant is TenantResourceWithFrozenInfo => \"IsFrozen\" in tenant && typeof tenant.IsFrozen === \"boolean\" && tenant.IsFrozen).map((tenant) => tenant.Id) ?? [];\n return (
    \n {props.showTenants && props.onChange(tenantIds, props.selectedTenantTags)}/>}\n props.onChange(props.selectedTenantIds, includedTenantTags)} doBusyTask={props.doBusyTask}/>\n {props.showPreviewButton && (\n x.Id)} onUpdate={(selectedTenants, selectedTags) => props.onChange(selectedTenants, selectedTags)} emptyFilterMeansAllTenants={props.emptyFilterMeansAllTenants} frozenTenants={frozenTenants}/>\n )}\n
    );\n};\nAdvancedTenantSelector.displayName = \"AdvancedTenantSelector\"\ninterface AdvancedTenantsAndTenantTagsSelectorProps {\n selectedTenantIds: string[];\n tenants: TenantResource[];\n selectedTenantTags: string[];\n doBusyTask: DoBusyTask;\n showPreviewButton: boolean;\n onChange(tenantIds: string[], tenantTags: string[]): void;\n}\nexport const AdvancedTenantsAndTenantTagsSelector: React.SFC = (props: AdvancedTenantsAndTenantTagsSelectorProps) => {\n return ();\n};\nAdvancedTenantsAndTenantTagsSelector.displayName = \"AdvancedTenantsAndTenantTagsSelector\"\ninterface AdvancedTenantTagsSelectorProps {\n selectedTenantTags: string[];\n tagSets?: TagSetResource[];\n emptyFilterMeansAllTenants?: boolean;\n doBusyTask: DoBusyTask;\n showPreviewButton: boolean;\n onChange(tenantTags: string[]): void;\n}\nexport const AdvancedTenantTagsSelector: React.SFC = (props: AdvancedTenantTagsSelectorProps) => {\n return ( props.onChange(tags)} doBusyTask={props.doBusyTask} showPreviewButton={props.showPreviewButton} emptyFilterMeansAllTenants={props.emptyFilterMeansAllTenants}/>);\n};\nAdvancedTenantTagsSelector.displayName = \"AdvancedTenantTagsSelector\"\n","/* eslint-disable @typescript-eslint/init-declarations */\nimport * as React from \"react\";\nimport { useSelector } from \"react-redux\";\nimport type { ConfigurationFeaturesState, CurrentSpaceConfigurationState } from \"~/areas/configuration/reducers/configurationArea\";\nexport enum Feature {\n CommunityActionTemplates,\n MultiTenancy\n}\ninterface GlobalConnectedProps {\n features: ConfigurationFeaturesState;\n space: CurrentSpaceConfigurationState;\n}\ninterface FeatureToggleProps {\n feature: Feature;\n enabled?: boolean;\n}\nexport const FeatureToggle: React.FC = (props) => {\n let featureStatus: boolean;\n switch (props.feature) {\n case Feature.CommunityActionTemplates:\n featureStatus = props.features.isCommunityActionTemplatesEnabled;\n break;\n case Feature.MultiTenancy:\n featureStatus = props.space ? props.space.isMultiTenancyEnabled : false;\n break;\n }\n if ((featureStatus && props.enabled) || (!featureStatus && !props.enabled)) {\n return {props.children};\n }\n return null;\n};\nFeatureToggle.displayName = \"FeatureToggle\"\nFeatureToggle.defaultProps = { enabled: true };\nconst ConnectedFeatureToggle: React.FC = (props) => {\n const globalState = useSelector((state: GlobalState) => ({ features: state.configurationArea.features, space: state.configurationArea.currentSpace }));\n return ;\n};\nConnectedFeatureToggle.displayName = \"ConnectedFeatureToggle\"\nexport default ConnectedFeatureToggle;\n","import { cloneDeep } from \"lodash\";\nimport type { DataBaseComponentState } from \"~/components/DataBaseComponent\";\nimport { DataBaseComponent } from \"~/components/DataBaseComponent\";\n// \"Optional\" here means that the model is optional\nexport interface OptionalFormBaseComponentState extends DataBaseComponentState {\n model?: TModel;\n cleanModel?: TModel;\n}\n// This base class is deprecated. Use `FormBaseComponent` instead which does not have an optional model\nexport default class OptionalFormBaseComponent, ModelState extends object> extends DataBaseComponent {\n constructor(props: Props) {\n super(props);\n }\n protected setModel(model: ModelState) {\n this.setState({\n model,\n cleanModel: cloneDeep(model),\n });\n }\n protected setModelState(state: Pick, callback?: () => void) {\n this.setChildState1(\"model\", state, callback);\n }\n static displayName = \"OptionalFormBaseComponent\";\n}\n// This should replace the old OptionalFormBaseComponentState,\n// because having the model not optional makes it much easier to get type safety with `strictNullChecks`\nexport interface FormBaseComponentState extends DataBaseComponentState {\n model: TModel;\n cleanModel: TModel;\n}\nexport class FormBaseComponent, ModelState extends object> extends DataBaseComponent {\n protected setModel(model: ModelState) {\n this.setState({\n model,\n cleanModel: cloneDeep(model),\n });\n }\n protected setModelState(state: Pick, callback?: () => void) {\n this.setChildState1(\"model\", state, callback);\n }\n static displayName = \"FormBaseComponent\";\n}\n","import type { EnvironmentResource, ReferenceDataItem } from \"@octopusdeploy/octopus-server-client\";\nimport { sortBy } from \"lodash\";\nimport * as React from \"react\";\nimport { ChipIcon, EnvironmentChip, ContextualMissingChip } from \"~/components/Chips\";\nimport { MultiSelect } from \"~/components/MultiSelect/MultiSelect\";\nimport type { FocusableComponent } from \"~/components/VirtualListWithKeyboard/FocusableComponent\";\nimport type { SelectItem } from \"~/components/VirtualListWithKeyboard/SelectItem\";\nimport type { FormFieldProps } from \"~/components/form\";\nimport Lookup from \"../Lookup\";\nexport const EnvironmentTypedMultiSelect = MultiSelect();\ninterface EnvironmentMultiSelectBase extends FormFieldProps {\n openOnFocus?: boolean;\n autoFocus?: boolean;\n label?: string | JSX.Element;\n error?: string;\n hideFloatingLabel?: boolean;\n multiSelectRef?(component: FocusableComponent | null): void;\n accessibleName?: string;\n onRemove?: (id: string) => void;\n fallbackLabel?: string;\n fallbackDescription?: string;\n lookupCollection?: ReferenceDataItem[];\n}\ninterface EnvironmentMultiSelectWithEnviromentResources extends EnvironmentMultiSelectBase {\n environments: EnvironmentResource[];\n items?: never;\n}\ninterface EnvironmentMultiSelectWithoutEnvironmentResources extends EnvironmentMultiSelectBase {\n environments?: never;\n items: ReferenceDataItem[];\n}\ntype EnvironmentMultiSelectProps = EnvironmentMultiSelectWithEnviromentResources | EnvironmentMultiSelectWithoutEnvironmentResources;\nexport const EnvironmentMultiSelect: React.FC = (props) => {\n let computedItems: ReferenceDataItem[] = [];\n if (props.environments) {\n computedItems = sortBy(props.environments, (x) => x.SortOrder).map((e) => ({ Id: e.Id, Name: e.Name }));\n }\n else if (props.items) {\n computedItems = props.items;\n }\n const chipRenderer = (r: EnvironmentResource | SelectItem, onRequestDelete: () => void) => {\n return ( element.Id} render={(item: ReferenceDataItem) => } renderFallback={}/>);\n };\n return ;\n};\nEnvironmentMultiSelect.displayName = \"EnvironmentMultiSelect\"\n","import type { SimpleMenuItem } from \"@octopusdeploy/design-system-components\";\nimport { MenuItemToggle } from \"@octopusdeploy/design-system-components\";\nimport { noOp } from \"@octopusdeploy/utilities\";\nimport { compact, flatten } from \"lodash\";\nimport * as React from \"react\";\nimport type { DoBusyTask } from \"~/components/DataBaseComponent/index\";\nimport OpenConfirmActionDialogMenuItem from \"~/components/OverflowMenu/OpenConfirmActionDialogMenuItem\";\nimport OpenConfirmUpgradeDialogMenuItem from \"~/components/OverflowMenu/OpenConfirmUpgradeDialogMenuItem\";\nimport OpenDeleteDialogMenuItem from \"~/components/OverflowMenu/OpenDeleteDialogMenuItem\";\nimport OpenDialogMenuItem from \"~/components/OverflowMenu/OpenDialogMenuItem\";\nimport type { MenuItem, OverflowMenuConfirmActionItem, OverflowMenuConfirmUpgradeItem, OverflowMenuDeleteItem, OverflowMenuDestructiveItem, OverflowMenuDialogItem, OverflowMenuRemoveItem } from \"~/components/OverflowMenu/OverflowMenu\";\nimport { isOverflowMenuToggleItem, isOverflowMenuConfirmActionItem, isOverflowMenuConfirmUpgradeItem, isOverflowMenuDeleteItem, isOverflowMenuDestructiveItem, isOverflowMenuDialogItem, isOverflowMenuDisabledItem, isOverflowMenuDownloadItem, isOverflowMenuGenericItem, isOverflowMenuNavLink, isOverflowMenuRemoveItem, isGroup, } from \"~/components/OverflowMenu/OverflowMenu\";\nimport { isAllowed } from \"~/components/PermissionCheck/PermissionCheck\";\nexport interface ConvertedOverflowMenuItem {\n menuItem: SimpleMenuItem;\n dialog?: React.ReactNode;\n}\nexport interface ConvertedOverflowMenuItems {\n menuItems: SimpleMenuItem[];\n dialogs: React.ReactNode[];\n}\nexport class OverflowMenuConverterVNext {\n static convert(item: MenuItem | null | undefined, onClose?: () => void): ConvertedOverflowMenuItem | null {\n if (!item) {\n return null;\n }\n if (isOverflowMenuDialogItem(item)) {\n if (item.permission && !isAllowed(item.permission)) {\n return OverflowMenuConverterVNext.alternate(item.permission.alternate);\n }\n return OverflowMenuConverterVNext.convertDialogMenuItem(item);\n }\n if (isOverflowMenuDeleteItem(item)) {\n if (item.permission && !isAllowed(item.permission)) {\n return OverflowMenuConverterVNext.alternate(item.permission.alternate);\n }\n return OverflowMenuConverterVNext.convertDeleteMenuItem(item);\n }\n if (isOverflowMenuRemoveItem(item)) {\n if (item.permission && !isAllowed(item.permission)) {\n return OverflowMenuConverterVNext.alternate(item.permission.alternate);\n }\n return OverflowMenuConverterVNext.convertRemoveMenuItem(item);\n }\n if (isOverflowMenuConfirmUpgradeItem(item)) {\n if (item.permission && !isAllowed(item.permission)) {\n return OverflowMenuConverterVNext.alternate(item.permission.alternate);\n }\n return OverflowMenuConverterVNext.convertConfirmUpgradeMenuItem(item);\n }\n if (isOverflowMenuConfirmActionItem(item)) {\n if (item.permission && !isAllowed(item.permission)) {\n return OverflowMenuConverterVNext.alternate(item.permission.alternate);\n }\n return OverflowMenuConverterVNext.convertConfirmActionMenuItem(item);\n }\n if (isOverflowMenuDownloadItem(item)) {\n if (item.permission && !isAllowed(item.permission)) {\n return OverflowMenuConverterVNext.alternate(item.permission.alternate);\n }\n return {\n menuItem: {\n type: \"download-link\",\n label: item.text,\n href: item.link,\n downloadFileName: item.filename,\n },\n };\n }\n if (isOverflowMenuNavLink(item)) {\n if (item.permission && !isAllowed(item.permission)) {\n return OverflowMenuConverterVNext.alternate(item.permission.alternate);\n }\n return {\n menuItem: {\n type: \"internal-link\",\n label: item.text,\n path: item.path,\n },\n };\n }\n if (isOverflowMenuDisabledItem(item)) {\n return {\n menuItem: {\n type: \"disabled\",\n label: item.text,\n disableReason: item.reason,\n },\n };\n }\n if (isOverflowMenuGenericItem(item)) {\n if (item.permission && !isAllowed(item.permission)) {\n return this.alternate(item.permission.alternate);\n }\n }\n if (isOverflowMenuDestructiveItem(item)) {\n if (item.permission && !isAllowed(item.permission)) {\n return OverflowMenuConverterVNext.alternate(item.permission.alternate);\n }\n return OverflowMenuConverterVNext.convertDestructiveMenuItem(item);\n }\n if (isOverflowMenuToggleItem(item)) {\n if (item.permission && !isAllowed(item.permission)) {\n return OverflowMenuConverterVNext.alternate(item.permission.alternate);\n }\n return {\n menuItem: ,\n };\n }\n return {\n menuItem: {\n type: \"button\",\n label: item.text,\n title: item.title,\n onClick: item.onClick,\n // TODO: confirm the behaviour here\n // onClick: (e: MouseEvent) => {\n // //Generic menu items could possibly keep focus so we explicitly close these.\n // onClose();\n // if (item.onClick) {\n // //If explicitlyhandling click, we really should prevent default behaviors such as links triggering\n // e.preventDefault();\n // item.onClick();\n // }\n // },\n },\n };\n }\n static convertAll(sourceMenuItems: Array, onClose?: () => void): ConvertedOverflowMenuItems {\n if (!sourceMenuItems || sourceMenuItems.length === 0) {\n return {\n dialogs: [],\n menuItems: [],\n };\n }\n const result = sourceMenuItems &&\n sourceMenuItems\n .filter((item) => !!item)\n .map((item, index) => {\n if (isGroup(item)) {\n const results = item.filter((subItem) => !!subItem).map((groupItem) => OverflowMenuConverterVNext.convert(groupItem, onClose));\n if (results.length === 0) {\n return null;\n }\n // This should be smart enough to know if it needs to add a divider at the start or end of a grouping/array.\n if (index > 0 && !isGroup(sourceMenuItems[index - 1])) {\n // Show the divider at the start of this grouping.\n // I.e. The last thing wasn't a group, so we're good to create one here to indicate the start of a grouping.\n results.splice(0, 0, { menuItem: { type: \"divider\" } });\n }\n else if (index < sourceMenuItems.length - 1) {\n // Show the divider at the end of this grouping.\n results.push({ menuItem: { type: \"divider\" } });\n }\n return results;\n }\n return [OverflowMenuConverterVNext.convert(item, onClose)];\n });\n const dialogs: React.ReactNode[] = [];\n const convertedMenuItems = compact(flatten(result)).map((r) => {\n if (r.dialog) {\n dialogs.push(r.dialog);\n }\n return r.menuItem;\n });\n return { dialogs, menuItems: convertedMenuItems };\n }\n static convertDeleteMenuItem(item: OverflowMenuDeleteItem): ConvertedOverflowMenuItem {\n let openDialog: (() => void) | undefined = undefined;\n const dialogMenuItem = ( (openDialog = click)} label={item.text} disabled={false} deleteButtonDisabled={item.deleteButtonDisabled} dialogTitle={item.title} key={item.text} onDeleteClick={item.onClick} renderContent={(doBusyTask: DoBusyTask) => {\n if (typeof item.content === \"function\") {\n return item.content(doBusyTask);\n }\n return item.content;\n }}/>);\n return {\n menuItem: {\n type: \"button\",\n label: item.text,\n onClick: () => (openDialog ? openDialog() : noOp()),\n },\n dialog: dialogMenuItem,\n };\n }\n static convertRemoveMenuItem(item: OverflowMenuRemoveItem): ConvertedOverflowMenuItem {\n let openDialog: (() => void) | undefined = undefined;\n const dialogMenuItem = ( (openDialog = click)} label={item.text} disabled={false} deleteButtonDisabled={item.removeButtonDisabled} dialogTitle={item.title} deleteButtonLabel=\"Remove\" deleteButtonBusyLabel=\"Removing\" key={item.text} onDeleteClick={item.onClick} renderContent={() => item.content}/>);\n return {\n menuItem: {\n type: \"button\",\n label: item.text,\n onClick: () => (openDialog ? openDialog() : noOp()),\n },\n dialog: dialogMenuItem,\n };\n }\n static convertDestructiveMenuItem(item: OverflowMenuDestructiveItem): ConvertedOverflowMenuItem {\n let openDialog: (() => void) | undefined = undefined;\n const dialogMenuItem = ( (openDialog = click)} label={item.text} disabled={false} deleteButtonDisabled={item.destructiveButtonDisable} dialogTitle={item.title} deleteButtonLabel={item.buttonLabel} deleteButtonBusyLabel={item.busyButtonLabel} key={item.text} onDeleteClick={item.onClick} renderContent={() => item.content}/>);\n return {\n menuItem: {\n type: \"button\",\n label: item.text,\n onClick: () => (openDialog ? openDialog() : noOp()),\n },\n dialog: dialogMenuItem,\n };\n }\n static convertConfirmUpgradeMenuItem(item: OverflowMenuConfirmUpgradeItem): ConvertedOverflowMenuItem {\n let openDialog: (() => void) | undefined = undefined;\n const dialogMenuItem = ( (openDialog = click)} label={item.text} disabled={false} dialogTitle={item.title} confirmButtonDisabled={item.confirmButtonDisabled} confirmButtonLabel=\"Continue\" confirmButtonBusyLabel=\"Continuing\" key={item.text} onConfirmUpgradeClick={() => item.onClick()} renderContent={() => item.content}/>);\n return {\n menuItem: {\n type: \"button\",\n label: item.text,\n onClick: () => (openDialog ? openDialog() : noOp()),\n },\n dialog: dialogMenuItem,\n };\n }\n static convertConfirmActionMenuItem(item: OverflowMenuConfirmActionItem): ConvertedOverflowMenuItem {\n let openDialog: (() => void) | undefined = undefined;\n const dialogMenuItem = (openDialog = click)} dialogTitle={item.dialogTitle} key={item.text} onConfirmActionClick={() => item.onClick()}/>;\n return {\n menuItem: {\n type: \"button\",\n label: item.text,\n onClick: () => (openDialog ? openDialog() : noOp()),\n },\n dialog: dialogMenuItem,\n };\n }\n static convertDialogMenuItem(item: OverflowMenuDialogItem): ConvertedOverflowMenuItem {\n let openDialog: (() => void) | undefined = undefined;\n //TODO: Find an alternative to this callback to get the click handler which doesn't result in overflow menus remaining open etc.\n const dialogMenuItem = ( {\n openDialog = click;\n }} label={item.text} key={item.text}>\n {item.child}\n );\n return {\n menuItem: {\n type: \"button\",\n label: item.text,\n onClick: () => (openDialog ? openDialog() : noOp()),\n },\n dialog: dialogMenuItem,\n };\n }\n static alternate(alternate: string): ConvertedOverflowMenuItem | null {\n return alternate\n ? {\n menuItem: {\n type: \"information\",\n key: alternate,\n content: alternate,\n },\n }\n : null;\n }\n}\n","import { RadioButton, RadioButtonGroup } from \"@octopusdeploy/design-system-components\";\nimport { TenantedDeploymentMode } from \"@octopusdeploy/octopus-server-client\";\nimport * as React from \"react\";\nimport BaseComponent from \"~/components/BaseComponent\";\nimport ExternalLink from \"~/components/Navigation/ExternalLink\";\nimport { Note } from \"~/components/form\";\ninterface TenantedDeploymentParticipationSelectorProps {\n tenantMode: TenantedDeploymentMode;\n resourceTypeLabel: string;\n onChange(newValue: string): void;\n}\nclass TenantedDeploymentParticipationSelector extends BaseComponent {\n render() {\n return ( this.handleTenantModeChange(e)}>\n \n The {this.props.resourceTypeLabel} will never be included in tenanted deployments.\n\n \n The {this.props.resourceTypeLabel} will only be included in deployments to the associated tenants. It will be excluded from untenanted deployments.\n\n \n The {this.props.resourceTypeLabel} will be included in untenanted deployments, and deployments to the associated tenants.\n\n \n For more information on designing a multi-tenant hosting model refer to our documentation.\n \n );\n }\n private handleTenantModeChange(value: TenantedDeploymentMode) {\n this.props.onChange(value);\n }\n static displayName = \"TenantedDeploymentParticipationSelector\";\n}\nexport default TenantedDeploymentParticipationSelector;\n","import TenantedDeploymentParticipationSelector from \"./TenantedDeploymentParticipationSelector\";\nexport default TenantedDeploymentParticipationSelector;\n","import React from \"react\";\nimport styles from \"./style.module.less\";\ntype Props = {\n slug?: string | null;\n};\nexport default function SlugSummary(props: Props) {\n if (props.slug) {\n return {props.slug};\n }\n return <>;\n}\n","import React from \"react\";\nimport SlugSummary from \"~/primitiveComponents/form/Slugs/SlugSummary\";\nimport styles from \"./style.module.less\";\ntype Props = {\n name: string;\n slug?: string | null;\n};\nexport default function NameSummaryWithSlug({ name, slug }: Props) {\n return (<>\n {name}\n \n );\n}\n","import { css } from \"@emotion/css\";\nimport { ActionButton, ActionButtonType, Tooltip } from \"@octopusdeploy/design-system-components\";\nimport { CopyIcon } from \"@octopusdeploy/design-system-icons\";\nimport { borderRadius } from \"@octopusdeploy/design-system-tokens\";\nimport React, { useEffect, useState } from \"react\";\nimport { isTooltipHoverable } from \"~/utils/TooltipHelper/isTooltipHoverable\";\ninterface CopyToClipboardProps {\n value: string;\n showHoverTooltip?: boolean;\n children?: React.ReactNode;\n}\nconst CopyToClipboardButton: React.FC = ({ value, children, showHoverTooltip = true }) => {\n const [event, setEvent] = useState(null);\n const [showConfirmation, setShowConfirmation] = useState(false);\n useEffect(() => {\n if (event) {\n setShowConfirmation(true);\n const timerId = window.setTimeout(() => setShowConfirmation(false), 3500);\n return () => {\n window.clearTimeout(timerId);\n };\n }\n }, [event]);\n const onClick = (e: React.MouseEvent) => {\n const copyText = async () => {\n await navigator.clipboard.writeText(value);\n setEvent(e);\n };\n copyText();\n };\n // Setting the `trigger` prop as `undefined` uses the default value: `mouseenter focus`\n const outerTooltipTrigger = showConfirmation ? \"manual\" : undefined;\n const innerTooltipOpen = showConfirmation ? true : false;\n return (\n \n \n \n {children ? ({children}) : (
    \n } iconPosition=\"left\" aria-label={`Copy to clipboard`} type={ActionButtonType.Ternary}/>\n
    )}\n
    \n
    \n
    \n
    );\n};\nCopyToClipboardButton.displayName = \"CopyToClipboardButton\"\nconst copyButtonWrapper = css({\n \"&& .MuiButton-root\": {\n aspectRatio: \"1\",\n padding: \"0\",\n borderRadius: borderRadius.circle,\n minWidth: \"auto\",\n },\n \"&& .MuiButton-root .MuiButton-startIcon\": {\n margin: \"0\",\n },\n});\nexport default CopyToClipboardButton;\n","import Default from \"./CopyToClipboardButton\";\nexport * from \"./CopyToClipboardButton\";\nexport default Default;\n","import { css } from \"@emotion/css\";\nimport { Callout, IconButton } from \"@octopusdeploy/design-system-components\";\nimport { CopyIcon } from \"@octopusdeploy/design-system-icons\";\nimport { generateSlug } from \"@octopusdeploy/utilities\";\nimport { useEffect, useState } from \"react\";\nimport * as React from \"react\";\nimport CopyToClipboardButton from \"~/components/CopyToClipboardButton/index\";\nimport IconButtonList from \"~/components/IconButtonList\";\nimport { IconButtonWithTooltip } from \"~/components/IconButtonWithTooltip/index\";\nimport InputWithActions from \"~/components/InputWithActions/index\";\nimport Text from \"~/primitiveComponents/form/Text/Text\";\nimport type { TextProps } from \"~/primitiveComponents/form/Text/Text\";\nexport type SlugEditorProps = TextProps & {\n originalSlug: string;\n name?: string | undefined;\n additionalWarningMessage?: string | undefined;\n prefix?: string | undefined;\n};\nconst SlugEditor: React.FC = ({ onChange: onChangeProp, originalSlug, name, additionalWarningMessage, prefix, readOnly, ...rest }) => {\n const [currentValue, setCurrentValue] = useState(rest.value);\n const [validSlug, setValidSlug] = useState(rest.value);\n const [editing, setEditing] = useState(false);\n // If the original slug changes, we've likely saved, disable the editor\n useEffect(() => {\n setEditing(false);\n }, [originalSlug]);\n // Ensure any input is converted to a slug, but allowing for trailing dashes\n const onChange = (input: string) => {\n const newCurrentValue = generateSlug(input, false);\n setCurrentValue(newCurrentValue);\n // Store the current value but as a valid slug\n const newValidSlug = generateSlug(newCurrentValue);\n setValidSlug(newValidSlug);\n onChangeProp(newValidSlug);\n };\n // Once we lose focus, update the value to the valid one\n const onBlur = () => {\n onChange(validSlug);\n };\n const onEditClick = () => setEditing(true);\n const onCancelEditClick = () => {\n setEditing(false);\n onChange(originalSlug);\n };\n const onUpdateClick = () => {\n if (name) {\n const newSlug = generateSlug(name);\n onChange(newSlug);\n setEditing(true);\n }\n };\n const renderActions = () => {\n const buttons: Array = [];\n if (!editing && !readOnly)\n buttons.push();\n if (editing)\n buttons.push();\n if (name && generateSlug(name) !== validSlug)\n buttons.push();\n buttons.push();\n return ;\n };\n const renderPrefix = () => {\n if (prefix) {\n return {\n startAdornment: (<>\n {prefix}\n  \n ),\n };\n }\n return {};\n };\n return (<>\n } actions={renderActions()}/>\n {originalSlug !== validSlug && (\n {additionalWarningMessage && (\n {additionalWarningMessage}\n
    \n
    )}\n Modifying a slug may impact any references to it. Any scripts referencing the old slug will need to be updated manually.\n
    )}\n );\n};\nSlugEditor.displayName = \"SlugEditor\"\nconst CopyToClipboardIconButton = ({ value }: {\n value: string;\n}) => {\n const copyToClipboardContainerStyles = css({\n width: \"1.5rem\",\n height: \"1.5rem\",\n });\n return (
    \n \n }/>\n \n
    );\n};\nexport default SlugEditor;\n","import type { NamedResource, TenantResource, DeploymentActionContainer, FeedResource, PackageReference } from \"@octopusdeploy/octopus-server-client\";\nimport { TenantedDeploymentMode, ScriptingLanguage, ProcessType } from \"@octopusdeploy/octopus-server-client\";\nimport * as React from \"react\";\nimport { isRunOnBuiltInWorker } from \"~/areas/projects/components/Process/Common/CommonProcessHelpers\";\nimport type { RunOnServerOrWorkerPool } from \"~/areas/projects/components/Process/types\";\nimport { tenantChipList, tenantChipListIncludingMissing } from \"~/components/Chips/index\";\nimport TenantTagsList from \"~/components/TenantTagsList/TenantTagsList\";\nimport type { SummaryNode } from \"~/components/form\";\nimport { Summary } from \"~/components/form\";\nexport default class CommonSummaryHelper {\n public static resourceSummary(resourceId: string | undefined, resources: NamedResource[], resourceType: string): SummaryNode {\n if (resourceId) {\n const resource = resources.find((x) => x.Id === resourceId);\n return resource ? Summary.summary(resource.Name) : Summary.placeholder(\"Using \" + resourceType + \" with id: \" + resourceId); // Failed to find the resource.\n }\n return Summary.placeholder(\"No \" + resourceType);\n }\n public static tenantDeploymentModeSummary(deploymentMode: TenantedDeploymentMode, tenantIds: string[], tenantTags: string[]): SummaryNode {\n const hasTags = tenantTags.length > 0;\n const hasTenants = tenantIds.length > 0;\n const hasTagOrTenant = hasTags || hasTenants;\n switch (deploymentMode) {\n case TenantedDeploymentMode.Untenanted:\n return Summary.default(Only available for untenanted deployments);\n case TenantedDeploymentMode.TenantedOrUntenanted:\n return hasTagOrTenant\n ? Summary.summary(Available for both untenanted deployments, and deployments to the associated tenants)\n : Summary.summary(\n Only available in untenanted deployments until you choose some tenants\n );\n case TenantedDeploymentMode.Tenanted:\n return hasTagOrTenant\n ? Summary.summary(Only available for deployments to the associated tenants)\n : Summary.summary(\n Not available for any deployments until you choose some tenants\n );\n }\n return Summary.placeholder(`Unknown tenant mode: ${deploymentMode}`);\n }\n public static tenantSummary(tenantIds: string[], tenantTags: string[], tenants: TenantResource[], showMissing?: boolean): SummaryNode {\n const tenantChips = !!showMissing ? tenantChipListIncludingMissing(tenants, tenantIds) : tenantChipList(tenants, tenantIds);\n const hasTags = tenantTags.length > 0;\n const hasTenants = tenantIds.length > 0;\n const tenantDetails = (\n {hasTenants && {tenantChips}}\n {hasTags && (\n {hasTenants ? \"plus any\" : \"Any\"} tenants tagged with \n )}\n );\n const hasTagOrTenant = hasTags || hasTenants;\n return hasTagOrTenant ? Summary.summary({tenantDetails}) : Summary.summary(\"No tenants have been selected\");\n }\n public static portSummary(port: number, textIfEmpty: string | null = null): SummaryNode {\n return port ? Summary.summary(port) : Summary.placeholder(textIfEmpty ? textIfEmpty : \"No port\");\n }\n public static packageSummary(pkg: PackageReference, feeds: FeedResource[], placeholder = \"Choose a package to be deployed\"): SummaryNode {\n const summary = [];\n if (pkg) {\n if (pkg.PackageId) {\n summary.push(\n Package {pkg.PackageId}\n );\n }\n else {\n return Summary.placeholder(placeholder);\n }\n if (pkg.Version) {\n summary.push(\n {\" \"}\n version {pkg.Version}\n );\n }\n if (pkg.FeedId) {\n const feed = feeds.find((f) => f.Id === pkg.FeedId);\n if (feed) {\n summary.push(\n {\" \"}\n from feed {feed.Name}\n );\n }\n }\n }\n if (summary.length > 0) {\n return Summary.summary(React.Children.toArray(summary));\n }\n return Summary.placeholder(placeholder);\n }\n public static actionContainerSummary(container: DeploymentActionContainer, feeds: FeedResource[], runOn: RunOnServerOrWorkerPool, hideDetails?: boolean, processType?: ProcessType): SummaryNode {\n const runsDirectlyOnWorker = processType === ProcessType.Blueprint ? (\n Runs directly on the worker selected in the project\n ) : (\n Runs directly on{\" \"}\n {isRunOnBuiltInWorker(runOn) ? (<>\n the Octopus Server\n ) : (<>\n a worker\n )}\n );\n const summary = [];\n if (container?.Image) {\n summary.push(\n Image {container.Image} selected,\n );\n }\n if (container?.FeedId) {\n const feed = feeds.find((f) => f.Id === container.FeedId);\n if (feed) {\n summary.push(\n {\" \"}\n from {feed.Name} container registry\n );\n }\n }\n if (container?.GitUrl || container?.Dockerfile) {\n summary.push(\n Image built from {!!container.GitUrl ? container.GitUrl : \"inline Dockerfile\"}\n );\n }\n if (summary.length > 0) {\n return Summary.summary(hideDetails ? \"Container image has been configured\" : React.Children.toArray(summary));\n }\n return Summary.summary(runsDirectlyOnWorker);\n }\n public static scriptSummary(scriptBody: string, syntax: ScriptingLanguage) {\n if (!scriptBody) {\n return Summary.placeholder(\"The script body has not been defined\");\n }\n if (syntax === ScriptingLanguage.FSharp) {\n return Summary.summary(\n An F# script will be run\n );\n }\n else if (syntax === ScriptingLanguage.CSharp) {\n return Summary.summary(\n A C# script will be run\n );\n }\n return Summary.summary(\n A {syntax} script will be run\n );\n }\n public static deferredPackageSummary(pkg: PackageReference, feeds: FeedResource[]) {\n if (pkg && pkg.Properties[\"SelectionMode\"] === \"deferred\") {\n if (pkg.Properties[\"PackageParameterName\"] !== \"\") {\n return Summary.summary(\n Package parameter {pkg.Properties[\"PackageParameterName\"]} will be used when providing package details in the project.\n );\n }\n return Summary.placeholder(\"Choose a package parameter\");\n }\n return CommonSummaryHelper.packageSummary(pkg, feeds);\n }\n}\n","import CommonSummaryHelper from \"./CommonSummaryHelper\";\nexport default CommonSummaryHelper;\n","import type { CertificateResource, NewDeploymentTargetResource } from \"@octopusdeploy/octopus-server-client\";\nimport { TenantedDeploymentMode } from \"@octopusdeploy/octopus-server-client\";\nimport type { AccountEditModel } from \"~/areas/infrastructure/components/AccountEdit/AccountEditBase\";\nexport function TenantsOrTenantTagsSelectedOnUntenantedDeploymentMode(model: NewDeploymentTargetResource | CertificateResource | AccountEditModel) {\n if (\"tenantMode\" in model) {\n return model.tenantMode === TenantedDeploymentMode.Untenanted && (model.tenantTags.length > 0 || model.tenantIds.length > 0);\n }\n return model.TenantedDeploymentParticipation === TenantedDeploymentMode.Untenanted && (model.TenantTags.length > 0 || model.TenantIds.length > 0);\n}\n","import type { LinkHref } from \"@octopusdeploy/portal-routes\";\nimport { resolvePathWithSpaceId } from \"@octopusdeploy/portal-routes\";\nimport type { History } from \"history\";\nimport * as React from \"react\";\nimport type { RouteComponentProps } from \"react-router\";\nimport { Redirect, withRouter } from \"react-router\";\nimport { isUrl } from \"~/components/Navigation/InternalLink/isUrl\";\nimport { useUrlResolver } from \"~/components/Navigation/useUrlResolver\";\ntype LocationDescriptor = History.LocationDescriptor;\ninterface InternalRedirectComponentProps {\n to: LocationDescriptor | LinkHref;\n push?: boolean;\n exact?: boolean;\n from?: string;\n}\ntype InternalRedirectProps = InternalRedirectComponentProps & RouteComponentProps<{\n spaceId: string;\n}>;\nconst InternalRedirect: React.SFC = (props: InternalRedirectProps) => {\n const urlResolver = useUrlResolver();\n const resolvedPath = isUrl(props.to) ? urlResolver.resolve(props.to) : resolvePathWithSpaceId(props.to, props.match.params.spaceId);\n /* eslint-disable react/forbid-elements */\n return ;\n};\nInternalRedirect.displayName = \"InternalRedirect\"\nconst EnhancedInternalRedirect = withRouter(InternalRedirect);\nconst InternalRedirectWithHistory: React.SFC = (props) => ;\nInternalRedirectWithHistory.displayName = \"InternalRedirectWithHistory\"\nexport default EnhancedInternalRedirect;\nexport { InternalRedirectWithHistory };\n","import { Chip, type TooltipContent } from \"@octopusdeploy/design-system-components\";\nimport type { LinkHref } from \"@octopusdeploy/portal-routes\";\nimport * as React from \"react\";\nimport InternalLink from \"../Navigation/InternalLink/InternalLink\";\nimport navigationChipStyles from \"./NavigationChip.module.less\";\nexport interface NavigationChipProps {\n to: LinkHref;\n accessibleName: string;\n description?: string | TooltipContent;\n}\nexport const NavigationChip: React.FC = ({ to, accessibleName, children, description }) => {\n return (\n \n );\n};\nNavigationChip.displayName = \"NavigationChip\"\nexport default NavigationChip;\n","import type { IId } from \"@octopusdeploy/octopus-server-client\";\nimport { keyBy } from \"lodash\";\nexport const toResourceLookup = (items: ArrayLike) => keyBy(items, (x) => x.Id);\nexport default toResourceLookup;\n","/* eslint-disable @typescript-eslint/no-non-null-assertion */\n/* eslint-disable @typescript-eslint/consistent-type-assertions */\n/* eslint-disable @octopusdeploy/custom-portal-rules/no-restricted-imports */\nimport { css } from \"@emotion/css\";\nimport { space, text, themeTokens } from \"@octopusdeploy/design-system-tokens\";\nimport type { ResourcesById, AccountResource, AccountUsageResource, StepUsage, ReleaseUsage, ReleaseUsageEntry, LibraryVariableSetUsageEntry, ProjectVariableSetUsage, TargetUsageEntry, RunbookStepUsage, ProjectResource, RunbookResource, RunbookSnapshotUsage, TenantResource, ProjectTenantVariableUsage, CommonTenantVariableUsage, LibraryVariableSetResource, } from \"@octopusdeploy/octopus-server-client\";\nimport { links } from \"@octopusdeploy/portal-routes\";\nimport { sortBy, uniq, keys, reduce, groupBy, compact, flatten, flatMap, uniqBy } from \"lodash\";\nimport * as React from \"react\";\nimport { repository } from \"~/clientInstance\";\nimport Chip from \"~/components/Chips/Chip\";\nimport NavigationChip from \"~/components/Chips/NavigationChip\";\nimport type { DataBaseComponentState } from \"~/components/DataBaseComponent\";\nimport DataBaseComponent from \"~/components/DataBaseComponent\";\nimport InternalLink from \"~/components/Navigation/InternalLink/InternalLink\";\nimport { ExpandableFormSection, Summary, FormSectionHeading } from \"~/components/form\";\nimport { CardFill } from \"~/components/form/Sections/ExpandableFormSection\";\nimport { DataTable } from \"~/primitiveComponents/dataDisplay/DataTable/DataTable\";\nimport { DataTableBody } from \"~/primitiveComponents/dataDisplay/DataTable/DataTableBody\";\nimport { DataTableHeader } from \"~/primitiveComponents/dataDisplay/DataTable/DataTableHeader\";\nimport { DataTableHeaderColumn } from \"~/primitiveComponents/dataDisplay/DataTable/DataTableHeaderColumn\";\nimport { DataTableRow } from \"~/primitiveComponents/dataDisplay/DataTable/DataTableRow\";\nimport { DataTableRowColumn } from \"~/primitiveComponents/dataDisplay/DataTable/DataTableRowColumn\";\nimport { timeOperationOptions } from \"~/utils/OperationTimer/timeOperation\";\nimport toResourceLookup from \"~/utils/toResourceLookup\";\nclass AccountUsageProps {\n account: AccountResource = undefined!;\n accountUsages: AccountUsageResource = undefined!;\n}\nenum UsageType {\n Target = \"Target\",\n LibraryVariableSet = \"LibraryVariableSet\"\n}\ntype ProjectAccountUsage = Pick;\ntype RunbookAccountUsage = Pick;\ntype TenantAccountUsage = Pick;\ntype UsageByProjectIdLookup = {\n [key: string]: ProjectAccountUsage;\n};\ntype UsageByRunbookIdLookup = {\n [key: string]: RunbookAccountUsage;\n};\ntype UsageByTenantIdLookup = {\n [key: string]: TenantAccountUsage;\n};\ntype ProjectLookup = ResourcesById;\ntype RunbookLookup = ResourcesById;\ntype TenantLookup = ResourcesById;\ntype VariableSetLookup = ResourcesById;\nfunction lookupUsage(lookup: () => T[], fallback: () => T[]) {\n const result = lookup();\n return result ? result : fallback();\n}\nfunction getProjectUsageGroupings(usage: AccountUsageResource): UsageByProjectIdLookup {\n const deploymentProcesses = groupBy(usage.DeploymentProcesses, (x) => x.ProjectId);\n const projectVariables = groupBy(usage.ProjectVariableSets.filter((x) => x.IsCurrentlyBeingUsedInProject === true), (x) => x.ProjectId);\n const releaseUsages = getCombinedReleaseUsages(usage.Releases, usage.ProjectVariableSets.filter((x) => x.IsCurrentlyBeingUsedInProject === false));\n const releases = groupBy(releaseUsages, (x) => x.ProjectId);\n const runbookProcesses = groupBy(usage.RunbookProcesses, (x) => x.ProjectId);\n const runbookSnapshots = groupBy(usage.RunbookSnapshots, (x) => x.ProjectId);\n const initial: {\n [key: string]: ProjectAccountUsage;\n } = {};\n const projectIds = uniq([...keys(deploymentProcesses), ...keys(projectVariables), ...keys(releases), ...keys(runbookProcesses), ...keys(runbookSnapshots)]);\n return reduce(projectIds, (prev, id) => {\n return {\n ...prev,\n [id]: {\n DeploymentProcesses: lookupUsage(() => deploymentProcesses[id], () => [] as StepUsage[]),\n ProjectVariableSets: lookupUsage(() => projectVariables[id], () => [] as ProjectVariableSetUsage[]),\n Releases: lookupUsage(() => releases[id], () => [] as ReleaseUsage[]),\n RunbookProcesses: lookupUsage(() => runbookProcesses[id], () => [] as RunbookStepUsage[]),\n RunbookSnapshots: lookupUsage(() => runbookSnapshots[id], () => [] as RunbookSnapshotUsage[]),\n },\n };\n }, initial);\n}\nfunction getCombinedReleaseUsages(releases: ReleaseUsage[], projectVariableSetUsagesViaReleaseSnapshots: ProjectVariableSetUsage[]): ReleaseUsage[] {\n const releaseProjectIds = uniq([...projectVariableSetUsagesViaReleaseSnapshots.map((x) => x.ProjectId), ...releases.map((x) => x.ProjectId)]);\n const releaseUsages = releaseProjectIds.reduce((acc, projectId) => {\n const p1 = projectVariableSetUsagesViaReleaseSnapshots.find((a) => a.ProjectId === projectId);\n const p2 = releases.find((a) => a.ProjectId === projectId);\n const releasesInProjects = uniqBy([...(p1?.Releases ?? []), ...(p2?.Releases ?? [])], (p) => p.ReleaseId);\n const projectName = p1?.ProjectName ?? p2?.ProjectName ?? \"\";\n acc.push({ ProjectName: projectName, ProjectId: projectId, Releases: releasesInProjects });\n return acc;\n }, []);\n return releaseUsages;\n}\nfunction getRunbookUsageGroupings(usage: AccountUsageResource): UsageByRunbookIdLookup {\n const runbookSnapshots = groupBy(usage.RunbookSnapshots, (x) => x.RunbookId);\n const runbookProcesses = groupBy(usage.RunbookProcesses, (x) => x.RunbookId);\n const runbookIds = uniq([...keys(runbookSnapshots), ...keys(runbookProcesses)]);\n const initial: {\n [key: string]: RunbookAccountUsage;\n } = {};\n return reduce(runbookIds, (prev, id) => {\n return {\n ...prev,\n [id]: {\n RunbookProcesses: lookupUsage(() => runbookProcesses[id], () => [] as RunbookStepUsage[]),\n RunbookSnapshots: lookupUsage(() => runbookSnapshots[id], () => [] as RunbookSnapshotUsage[]),\n },\n };\n }, initial);\n}\nfunction getTenantUsageGroupings(usage: AccountUsageResource): UsageByTenantIdLookup {\n const projectTenantVariables = groupBy(usage.ProjectTenantVariables, (x) => x.TenantId);\n const commonTenantVariables = groupBy(usage.CommonTenantVariables, (x) => x.TenantId);\n const tenantIds = uniq([...keys(projectTenantVariables), ...keys(commonTenantVariables)]);\n const initial: {\n [key: string]: TenantAccountUsage;\n } = {};\n return reduce(tenantIds, (prev, id) => {\n return {\n ...prev,\n [id]: {\n ProjectTenantVariables: lookupUsage(() => projectTenantVariables[id], () => [] as ProjectTenantVariableUsage[]),\n CommonTenantVariables: lookupUsage(() => commonTenantVariables[id], () => [] as CommonTenantVariableUsage[]),\n },\n };\n }, initial);\n}\ninterface AccountUsageState extends DataBaseComponentState {\n projectUsageLookup: UsageByProjectIdLookup;\n runbookUsageLookup: UsageByRunbookIdLookup;\n projects: ProjectLookup;\n runbooks: RunbookLookup;\n runbooksByProjectId: {\n [key: string]: {\n Id: string;\n Name: string;\n ProjectId: string;\n SpaceId: string;\n RunbookProcessId: string;\n }[];\n };\n tenantUsageLookup: UsageByTenantIdLookup;\n tenants: TenantLookup;\n tenantProjects: ProjectLookup;\n tenantVariableSets: VariableSetLookup;\n}\ninterface GroupedUsageSectionProps {\n title: string;\n description?: React.ReactNode;\n}\nconst GroupedUsageSection: React.FC = ({ title: name, description, children }) => {\n return (
    \n
    \n
    \n

    {name}

    \n
    \n
    {description}
    \n
    \n\n {children}\n
    );\n};\nGroupedUsageSection.displayName = \"GroupedUsageSection\"\nconst groupUsageSectionStyles = {\n header: css({\n display: \"flex\",\n alignItems: \"center\",\n flexDirection: \"row\",\n }),\n nameColumn: css({\n flex: 1,\n }),\n descriptionColumn: css({\n flex: 5,\n }),\n name: css({\n font: text.heading.small,\n margin: `${space[8]} 0`,\n }),\n};\ninterface UsageGroupProps {\n name: React.ReactNode;\n}\nconst UsageGroup: React.FC = ({ name, children }) => {\n return (
    \n

    {name}

    \n {children}\n
    );\n};\nUsageGroup.displayName = \"UsageGroup\"\nconst usageGroupStyles = {\n heading: css({\n background: themeTokens.color.background.tertiary,\n padding: space[8],\n font: text.heading.small,\n borderBottom: `solid 1px ${themeTokens.color.border.primary}`,\n borderTop: `solid 1px ${themeTokens.color.border.primary}`,\n margin: `${space[8]} 0`,\n }),\n};\ninterface UsageRowProps {\n name: string;\n children: React.ReactNode;\n}\nconst UsageRow: React.FC = ({ name, children }) => {\n return (
    \n
    {name}
    \n
    {children}
    \n
    );\n};\nUsageRow.displayName = \"UsageRow\"\nconst usageRowStyles = {\n container: css({\n display: \"flex\",\n alignItems: \"center\",\n flexDirection: \"row\",\n padding: `${space[16]} ${space[8]}`,\n borderBottom: `solid 1px ${themeTokens.color.border.primary}`,\n }),\n nameColumn: css({\n flex: 1,\n }),\n descriptionColumn: css({\n flex: 5,\n }),\n};\ninterface ReleaseUsageRowProps {\n spaceId: string;\n usages: ReleaseUsage[];\n}\nconst ReleaseUsageRow: React.FC = ({ spaceId, usages }) => {\n return (\n {usages && usages.length > 0 && (\n {usages.map((usageEntry: ReleaseUsage) => usageEntry.Releases.map((release: ReleaseUsageEntry, i) => (\n {release.ReleaseVersion}\n )))}\n )}\n );\n};\nReleaseUsageRow.displayName = \"ReleaseUsageRow\"\ninterface RunbookSnapshotUsageRowProps {\n spaceId: string;\n usages: RunbookSnapshotUsage[];\n}\nconst RunbookSnapshotUsageRow: React.FC = ({ spaceId, usages }) => {\n return (\n {usages && usages.length > 0 && (\n {usages.map((usageEntry) => usageEntry.Snapshots.map((snapshot) => (\n {snapshot.SnapshotName}\n )))}\n )}\n );\n};\nRunbookSnapshotUsageRow.displayName = \"RunbookSnapshotUsageRow\"\ninterface DeploymentProcessStepsUsageRowProps {\n spaceId: string;\n usages: StepUsage[];\n}\nconst DeploymentProcessStepsUsageRow: React.FC = ({ spaceId, usages }) => {\n return (\n {usages && usages.length > 0 && (\n {usages.map((usageEntry) => usageEntry.Steps.map((step) => (\n {step.StepName}\n )))}\n )}\n );\n};\nDeploymentProcessStepsUsageRow.displayName = \"DeploymentProcessStepsUsageRow\"\ninterface RunbookProcessStepsUsageRowProps {\n spaceId: string;\n usages: RunbookStepUsage[];\n}\nconst RunbookProcessStepsUsageRow: React.FC = ({ spaceId, usages }) => {\n return (\n {usages && usages.length > 0 && (\n {usages.map((usageEntry: RunbookStepUsage) => usageEntry.Steps.map((step) => (\n {step.StepName}\n )))}\n )}\n );\n};\nRunbookProcessStepsUsageRow.displayName = \"RunbookProcessStepsUsageRow\"\nconst getCountSummary = (items: ArrayLike<{}>, singular: string, plural: string) => {\n return (items &&\n items.length > 0 && (\n {items.length} {items.length === 1 ? singular : plural}\n ));\n};\nconst getProjectSummary = (usages: ProjectAccountUsage & RunbookAccountUsage = { DeploymentProcesses: [], ProjectVariableSets: [], Releases: [], RunbookProcesses: [], RunbookSnapshots: [] }) => {\n const usageSummary = flatten(compact([\n getCountSummary(flatMap(usages.DeploymentProcesses || [], (x) => x.Steps), \"deployment process step\", \"deployment process steps\"),\n getCountSummary(flatMap(usages.Releases || [], (x) => x.Releases), \"release\", \"releases\"),\n getCountSummary(flatMap(usages.RunbookProcesses || [], (x) => x.Steps), \"runbook process step\", \"runbook process steps\"),\n getCountSummary(flatMap(usages.RunbookSnapshots || [], (x) => x.Snapshots), \"runbook snapshot\", \"runbook snapshots\"),\n usages.ProjectVariableSets && usages.ProjectVariableSets.length > 0 && `is used in variables`,\n ]).map((value, index) => (index === 0 ? [value] : [\" and \", value])));\n return This account is used in {usageSummary};\n};\nexport default class AccountUsage extends DataBaseComponent {\n constructor(props: AccountUsageProps) {\n super(props);\n this.state = {\n projectUsageLookup: {},\n projects: {},\n runbooks: {},\n runbooksByProjectId: {},\n runbookUsageLookup: {},\n tenantUsageLookup: {},\n tenants: {},\n tenantProjects: {},\n tenantVariableSets: {},\n };\n }\n async componentDidMount() {\n return this.doBusyTask(async () => {\n const projectUsageLookup = getProjectUsageGroupings(this.props.accountUsages);\n const runbookUsageLookup = getRunbookUsageGroupings(this.props.accountUsages);\n const runbooks = uniqBy([\n ...this.props.accountUsages.RunbookProcesses.map((x) => ({\n Id: x.RunbookId,\n Name: x.RunbookName,\n ProjectId: x.ProjectId,\n SpaceId: this.props.account.SpaceId,\n RunbookProcessId: x.ProcessId,\n })),\n ...this.props.accountUsages.RunbookSnapshots.map((x) => ({\n Id: x.RunbookId,\n Name: x.RunbookName,\n ProjectId: x.ProjectId,\n SpaceId: this.props.account.SpaceId,\n RunbookProcessId: x.Snapshots[0].SnapshotId,\n })),\n ], (x) => `${x.Id}-${x.ProjectId}` // Use a combination of properties to ensure uniqueness\n );\n const projects = await repository.Projects.all({ ids: uniq([...keys(projectUsageLookup), ...this.props.accountUsages.RunbookProcesses.map((x) => x.ProjectId), ...this.props.accountUsages.RunbookSnapshots.map((x) => x.ProjectId)]) });\n const runbookByProjectId = groupBy(runbooks, (x) => x.ProjectId);\n const tenantUsageLookup = getTenantUsageGroupings(this.props.accountUsages);\n const tenants = await repository.Tenants.all({ ids: keys(tenantUsageLookup) });\n const tenantProjects = await repository.Projects.all({ ids: uniq([...this.props.accountUsages.ProjectTenantVariables.flatMap((p) => p.Projects.flatMap((pv) => pv.ProjectId))]) });\n const tenantVariableSets = await repository.LibraryVariableSets.all({ ids: uniq([...this.props.accountUsages.CommonTenantVariables.flatMap((c) => c.LibraryVariableSets.flatMap((cv) => cv.LibraryVariableSetId))]) });\n this.setState({\n projects: toResourceLookup(projects),\n projectUsageLookup,\n runbooksByProjectId: runbookByProjectId,\n runbookUsageLookup,\n tenantUsageLookup,\n tenants: toResourceLookup(tenants),\n tenantProjects: toResourceLookup(tenantProjects),\n tenantVariableSets: toResourceLookup(tenantVariableSets),\n });\n }, { timeOperationOptions: timeOperationOptions.for(\"AccountUsage\") });\n }\n render() {\n const accountUsages = this.props.accountUsages;\n return (
    \n \n {this.accountUsageInLibraryVariableSets(accountUsages)}\n \n \n {this.accountUsageInTargets(accountUsages)}\n \n\n \n {keys(this.state.projects).map((x) => {\n return (\n {this.state.projectUsageLookup[x] && (\n \n Process\n }>\n \n \n \n )}\n {this.state.runbooksByProjectId[x] && (\n {this.state.runbooksByProjectId[x].map(({ Id: runbookId, Name: name, RunbookProcessId: runbookProcessId, SpaceId: spaceId }) => ({name}} key={runbookId}>\n \n \n ))}\n )}\n {this.state.projectUsageLookup[x] && this.state.projectUsageLookup[x].ProjectVariableSets.length > 0 && (This account is being used in this projects variables}/>)}\n );\n })}\n \n {keys(this.state.tenants).map((x) => {\n return (This account is being used in tenant variables)} help={\"This account is being used in the following tenant variables\"}>\n {this.accountUsageInProjectTenantVariables(this.state.tenantUsageLookup[x].ProjectTenantVariables, this.state.tenants[x])}\n
    \n {this.accountUsageInCommonTenantVariables(this.state.tenantUsageLookup[x].CommonTenantVariables, this.state.tenants[x])}\n
    );\n })}\n
    );\n }\n accountUsageSummary(usageType: UsageType, accountUsages: AccountUsageResource) {\n switch (usageType) {\n case UsageType.Target:\n return accountUsages.Targets.length > 0\n ? accountUsages.Targets.length > 1\n ? Summary.summary(\n This account is being used in {accountUsages.Targets.length} targets\n )\n : Summary.summary(\n This account is being used in 1 target\n )\n : Summary.placeholder(\"This account is not being used in any targets\");\n case UsageType.LibraryVariableSet:\n return accountUsages.LibraryVariableSets.length > 0\n ? accountUsages.LibraryVariableSets.length > 1\n ? Summary.summary(\n This account is being used in {accountUsages.LibraryVariableSets.length} variable sets\n )\n : Summary.summary(\n This account is being used in 1 variable set\n )\n : Summary.placeholder(\"This account is not being used in any variable sets\");\n }\n }\n accountUsageHelp(usageType: UsageType, accountUsages: AccountUsageResource) {\n switch (usageType) {\n case UsageType.Target:\n return accountUsages.Targets.length === 0\n ? \"This account is not being used in any targets\"\n : accountUsages.Targets.length === 1\n ? \"This account is being used in the following target\"\n : \"This account is being used in the following targets\";\n case UsageType.LibraryVariableSet:\n return accountUsages.LibraryVariableSets.length === 0\n ? \"This account is not being used in any variable sets\"\n : accountUsages.LibraryVariableSets.length === 1\n ? \"This account is being used in the following variable set\"\n : \"This account is being used in the following variable sets\";\n }\n }\n private accountUsageInLibraryVariableSets(accountUsages: AccountUsageResource) {\n return (
    \n {accountUsages.LibraryVariableSets.length > 0 && (\n \n \n Variable Set\n \n \n \n {sortBy(accountUsages.LibraryVariableSets, [(x) => x.LibraryVariableSetName, \"asc\"]).map((usageEntry: LibraryVariableSetUsageEntry, idx) => {\n const rowKey = `AULVS-${usageEntry.LibraryVariableSetId}`;\n return (\n \n {usageEntry.LibraryVariableSetName}\n \n );\n })}\n \n )}\n
    );\n }\n private accountUsageInTargets(accountUsages: AccountUsageResource) {\n return (
    \n {accountUsages.Targets.length > 0 && (\n \n \n Target Name\n \n \n \n {sortBy(accountUsages.Targets, [(x) => x.TargetName, \"asc\"]).map((usageEntry: TargetUsageEntry, idx) => {\n const rowKey = `AUT-${usageEntry.TargetId}`;\n return (\n \n {usageEntry.TargetName}\n \n );\n })}\n \n )}\n
    );\n }\n private accountUsageInProjectTenantVariables(projectTenantVariablesUsage: ProjectTenantVariableUsage[], tenant: TenantResource) {\n return (
    \n {projectTenantVariablesUsage && projectTenantVariablesUsage.length > 0 && (\n \n \n Project Template\n \n \n \n {projectTenantVariablesUsage.map(({ Projects: projects }) => projects.map(({ ProjectId: projectId }) => {\n const rowKey = `AUPTV-${projectId}`;\n return (\n \n \n {this.state.tenantProjects[projectId].Name}\n \n \n );\n }))}\n \n )}\n
    );\n }\n private accountUsageInCommonTenantVariables(commonTenantVariablesUsage: CommonTenantVariableUsage[], tenant: TenantResource) {\n return (
    \n {commonTenantVariablesUsage.length > 0 && (\n \n \n Variable Set\n \n \n \n {commonTenantVariablesUsage.map(({ LibraryVariableSets: libraryVariableSets }) => libraryVariableSets.map(({ LibraryVariableSetId: libraryVariableSetId }) => {\n const rowKey = `AUCTV-${libraryVariableSetId}`;\n return (\n \n \n {this.state.tenantVariableSets[libraryVariableSetId].Name}\n \n \n );\n }))}\n \n )}\n
    );\n }\n static displayName = \"AccountUsage\";\n}\nexport { UsageType };\n","/* eslint-disable @typescript-eslint/init-declarations */\n/* eslint-disable @typescript-eslint/consistent-type-assertions */\nimport type { PageAction } from \"@octopusdeploy/design-system-components\";\nimport type { AccountResource, AccountType, AccountUsageResource, AzureEnvironment, EnvironmentResource, TenantResource } from \"@octopusdeploy/octopus-server-client\";\nimport { Permission, TenantedDeploymentMode } from \"@octopusdeploy/octopus-server-client\";\nimport type { useTrackEvent } from \"@octopusdeploy/portal-analytics\";\nimport { links } from \"@octopusdeploy/portal-routes\";\nimport { cloneDeep } from \"lodash\";\nimport * as React from \"react\";\nimport type { ActionEvent, AnalyticTrackedActionDispatcher } from \"~/analytics/Analytics\";\nimport { Action } from \"~/analytics/Analytics\";\nimport type { SaveAccountAnalyticsEventProperties } from \"~/areas/infrastructure/components/AccountEdit/amplitudeAnalytics\";\nimport { createSaveAccountAnalyticsEvent, createSaveAndTestAccountAnalyticsEvent } from \"~/areas/infrastructure/components/AccountEdit/amplitudeAnalytics\";\nimport { repository } from \"~/clientInstance\";\nimport { AdvancedTenantsAndTenantTagsSelector } from \"~/components/AdvancedTenantSelector\";\nimport { environmentChipList } from \"~/components/Chips/index\";\nimport { Feature, FeatureToggle } from \"~/components/FeatureToggle\";\nimport type { FormBaseComponentState } from \"~/components/FormBaseComponent/FormBaseComponent\";\nimport { FormBaseComponent } from \"~/components/FormBaseComponent/FormBaseComponent\";\nimport { EnvironmentMultiSelect } from \"~/components/MultiSelect/EnvironmentMultiSelect\";\nimport { OverflowMenuItems } from \"~/components/OverflowMenu/OverflowMenu\";\nimport type { ConvertedOverflowMenuItems } from \"~/components/OverflowMenu/OverflowMenuConverterVNext\";\nimport { OverflowMenuConverterVNext } from \"~/components/OverflowMenu/OverflowMenuConverterVNext\";\nimport PermissionCheck from \"~/components/PermissionCheck/PermissionCheck\";\nimport TenantedDeploymentParticipationSelector from \"~/components/TenantedDeploymentParticipationSelector\";\nimport { ExpandableFormSection, Note, Summary } from \"~/components/form\";\nimport { required } from \"~/components/form/Validators\";\nimport NameSummaryWithSlug from \"~/primitiveComponents/form/Slugs/NameSummaryWithSlug\";\nimport SlugEditor from \"~/primitiveComponents/form/Slugs/SlugEditor\";\nimport Text from \"~/primitiveComponents/form/Text/Text\";\nimport { TabItem, UrlNavigationTabsContainer } from \"~/primitiveComponents/navigation/Tabs\";\nimport CommonSummaryHelper from \"~/utils/CommonSummaryHelper\";\nimport { TenantsOrTenantTagsSelectedOnUntenantedDeploymentMode } from \"~/utils/TenantedDeploymentParticipationHelper/TenantsOrTenantTagsSelectedOnUntenantedDeploymentMode\";\nimport Markdown from \"../../../../components/Markdown/index\";\nimport InternalRedirect from \"../../../../components/Navigation/InternalRedirect/InternalRedirect\";\nimport MarkdownEditor from \"../../../../components/form/MarkdownEditor/MarkdownEditor\";\nimport ExpanderSectionHeading from \"../../../../components/form/Sections/FormSectionHeading\";\nimport AccountUsage from \"./AccountUsage\";\nimport styles from \"./style.module.less\";\ninterface AccountDisplayProps {\n name: string;\n slug: string;\n description: string;\n}\ninterface AccountScopingProps {\n environmentIds: string[];\n tenantIds: string[];\n tenantTags: string[];\n tenantMode: TenantedDeploymentMode;\n}\ntype AccountEditModel = AccountDisplayProps & AccountScopingProps;\ninterface AccountEditState extends FormBaseComponentState {\n deleted: boolean;\n showTestDialog: boolean;\n accountData?: AccountData | undefined;\n}\ninterface AccountData {\n account: TAccountResource;\n accountUsage?: AccountUsageResource | undefined;\n}\nconst IsNew = \"IsNew\";\nconst defaultModel: AccountEditModel = {\n name: \"\",\n slug: \"\",\n description: \"\",\n environmentIds: [],\n tenantIds: [],\n tenantTags: [],\n tenantMode: TenantedDeploymentMode.Untenanted,\n};\nexport type AccountEditRenderType = \"paper\" | \"drawer\";\nexport interface AccountDrawerControlProps {\n isOpen: boolean;\n setIsOpen: (isOpen: boolean) => void;\n onSuccess: (account: AccountResource) => void;\n}\ntype AccountEditCommonProps = {\n trackAction: AnalyticTrackedActionDispatcher;\n type: AccountEditRenderType;\n account: TAccountResource | typeof IsNew;\n environments: EnvironmentResource[];\n tenants: TenantResource[];\n azureEnvironments: AzureEnvironment[];\n trackEvent?: ReturnType;\n correlationId?: string;\n};\nexport type AccountEditPaperProps = AccountEditCommonProps;\nexport type AccountEditDrawerProps = AccountEditCommonProps & AccountDrawerControlProps;\nexport type AccountEditBaseProps = AccountEditCommonProps | AccountEditDrawerProps;\nabstract class AccountEditBase, TModel extends AccountEditModel> extends FormBaseComponent, TState, TModel> {\n constructor(props: AccountEditBaseProps) {\n super(props);\n }\n protected initialState() {\n if (this.props.account === IsNew) {\n return {\n model: this.buildModel() as TModel,\n cleanModel: cloneDeep(this.buildModel()) as TModel,\n deleted: false,\n showTestDialog: false,\n };\n }\n else {\n return {\n model: this.buildModel(this.props.account) as TModel,\n cleanModel: cloneDeep(this.buildModel(this.props.account)) as TModel,\n accountData: {\n account: this.props.account,\n },\n deleted: false,\n showTestDialog: false,\n };\n }\n }\n abstract getTestDialog(): React.ReactNode;\n abstract getPageActions(): PageAction[];\n abstract customExpandableFormSections(): React.ReactElement[];\n abstract getPartialResource(): (Partial & {\n AccountType: AccountType;\n }) | undefined;\n abstract getPartialModel(account?: TAccountResource): Partial | undefined;\n abstract onSuccess?(account: TAccountResource): void;\n abstract onTestDone(success: boolean): void;\n getAccountSummary(): React.ReactElement | null {\n return null;\n }\n buildModel(account?: TAccountResource | undefined): AccountEditModel {\n const partial = this.getPartialModel(account);\n if (!account) {\n return {\n ...partial,\n ...defaultModel,\n };\n }\n return {\n ...partial,\n name: account.Name,\n slug: account.Slug ?? \"\",\n description: account.Description,\n environmentIds: account.EnvironmentIds,\n tenantIds: account.TenantIds,\n tenantTags: account.TenantTags,\n tenantMode: account.TenantedDeploymentParticipation,\n };\n }\n handleDeleteConfirm = async (account: AccountResource) => {\n await repository.Accounts.del(account);\n this.setState(() => {\n return {\n model: null,\n cleanModel: null, //reset model so that dirty state doesn't prevent navigation\n deleted: true,\n };\n });\n return true;\n };\n handleSaveClick = async (performTest: boolean) => {\n const actionEvent: ActionEvent = {\n action: Action.Save,\n resource: \"Account\",\n };\n await this.props.trackAction(\"Save Account\", actionEvent, async () => {\n await this.saveAccount(performTest);\n });\n };\n protected savePermission() {\n return { permission: this.state.accountData === undefined ? Permission.AccountCreate : Permission.AccountEdit, environment: \"*\", tenant: \"*\" };\n }\n saveAccount = async (performTest: boolean) => {\n if (TenantsOrTenantTagsSelectedOnUntenantedDeploymentMode(this.state.model)) {\n this.setValidationErrors(\"Tenanted deployment mode\", { TenantedDeploymentParticipation: \"Please remove any associated tenants or tenant tags to use Untenanted deployment mode.\" });\n return;\n }\n await this.doBusyTask(async () => {\n let model = this.state.model;\n let existingAccount;\n if (this.state.accountData !== undefined) {\n existingAccount = this.state.accountData.account;\n }\n const account: AccountResource = {\n ...(existingAccount as AccountResource),\n ...(this.getPartialResource() as {\n AccountType: AccountType;\n }),\n Name: model.name,\n Slug: model.slug,\n Description: model.description,\n TenantedDeploymentParticipation: model.tenantMode || TenantedDeploymentMode.Untenanted,\n TenantTags: model.tenantTags,\n TenantIds: model.tenantIds,\n EnvironmentIds: model.environmentIds,\n };\n const result = await repository.Accounts.save(account);\n const saveEventProperties: SaveAccountAnalyticsEventProperties = {\n \"Account Type\": account.AccountType,\n \"Entity Type\": this.state.accountData === undefined ? \"New\" : \"Existing\",\n Status: \"Success\",\n Location: this.props.type === \"drawer\" ? \"Drawer\" : \"Page\",\n \"Correlation Id\": this.props.correlationId,\n };\n this.props.trackEvent?.(performTest ? createSaveAndTestAccountAnalyticsEvent(saveEventProperties) : createSaveAccountAnalyticsEvent(saveEventProperties));\n model = this.buildModel(account as TAccountResource) as TModel;\n this.setState({\n ...this.state,\n accountData: {\n account: result as TAccountResource,\n },\n model,\n cleanModel: cloneDeep(model),\n deleted: false,\n showTestDialog: performTest,\n });\n if (!performTest && this.onSuccess)\n this.onSuccess(result as TAccountResource);\n }, {\n onError: (errors) => {\n const saveAccountEventProperties: SaveAccountAnalyticsEventProperties = {\n Location: this.props.type === \"drawer\" ? \"Drawer\" : \"Page\",\n \"Entity Type\": this.state.accountData === undefined ? \"New\" : \"Existing\",\n \"Account Type\": this.getPartialResource()?.AccountType ?? \"None\",\n \"Correlation Id\": this.props.correlationId,\n Status: \"Failure\",\n };\n const event = performTest ? createSaveAndTestAccountAnalyticsEvent(saveAccountEventProperties) : createSaveAccountAnalyticsEvent(saveAccountEventProperties);\n this.props.trackEvent?.(event);\n },\n });\n };\n nameSummary() {\n return this.state.model.name ? Summary.summary() : Summary.placeholder(\"Please enter a name for your account\");\n }\n descriptionSummary() {\n return this.state.model.description ? Summary.summary() : Summary.placeholder(\"No account description provided\");\n }\n environmentsSummary() {\n return this.state.model.environmentIds.length >= 1\n ? Summary.summary(Only available for deployments to {environmentChipList(this.props.environments, this.state.model.environmentIds)})\n : Summary.default(\"Available for deployments to any environment\");\n }\n tenantDeploymentModeSummary() {\n return CommonSummaryHelper.tenantDeploymentModeSummary(this.state.model.tenantMode, this.state.model.tenantIds, this.state.model.tenantTags);\n }\n tenantSummary() {\n return CommonSummaryHelper.tenantSummary(this.state.model.tenantIds, this.state.model.tenantTags, this.props.tenants);\n }\n getOverFlowActions(account?: AccountResource): ConvertedOverflowMenuItems {\n if (!account)\n return { menuItems: [], dialogs: [] };\n return OverflowMenuConverterVNext.convertAll([\n OverflowMenuItems.deleteItemDefault(\"account\", () => this.handleDeleteConfirm(account), {\n permission: Permission.AccountDelete,\n environment: \"*\",\n tenant: \"*\",\n }),\n [\n OverflowMenuItems.navItem(\"Audit Trail\", links.auditPage.generateUrl({ regardingAny: [account.Id] }), {\n permission: Permission.EventView,\n wildcard: true,\n }),\n ],\n ]);\n }\n innerRender() {\n const accountData = this.state.accountData;\n if (this.state.deleted) {\n // eslint-disable-next-line @typescript-eslint/no-non-null-assertion\n return ;\n }\n const isNewAccount = accountData === undefined;\n let usageTab;\n if (accountData !== undefined) {\n usageTab = (\n {accountData.accountUsage && }\n );\n }\n return (<>\n {this.getTestDialog()}\n {this.getAccountSummary()}\n {this.state.model && (
    \n \n \n this.setModelState({ name })} label=\"Account name\" validate={required(\"Please enter an account name\")} error={this.getFieldError(\"name\")} autoFocus={true}/>\n {!isNewAccount && ( this.setModelState({ slug })} label={\"Account slug\"} validate={required(\"Please enter an account slug\")} error={this.getFieldError(\"slug\")}/>)}\n \n \n this.setModelState({ description })}/>\n \n\n {this.customExpandableFormSections()}\n\n \n \n If this field is left blank, the account can be used for deployments to any environment. Specifying environment/s (especially for production accounts) is strongly recommended.\n this.setModelState({ environmentIds })} value={this.state.model.environmentIds} accessibleName=\"Allowed environments\"/>\n \n\n \n \n \n this.setModelState({ tenantMode: x as TenantedDeploymentMode })}/>\n \n {this.state.model.tenantMode !== TenantedDeploymentMode.Untenanted && (\n this.setModelState({ tenantIds, tenantTags })} showPreviewButton={true}/>\n )}\n \n \n \n
    )}\n );\n }\n protected defaultAccountModel(): AccountEditModel {\n return defaultModel;\n }\n protected onUsageTabActive = async () => {\n if (!this.state.accountData) {\n return;\n }\n const account = this.state.accountData.account;\n await this.doBusyTask(async () => {\n const usages = await repository.Accounts.getAccountUsages(account);\n this.setState({\n ...this.state,\n accountData: {\n account,\n accountUsage: usages,\n },\n });\n });\n };\n static displayName = \"AccountEditBase\";\n}\ntype TabsContainerProps = {\n accountData: AccountData | undefined;\n defaultValue: string;\n children: React.ReactNode;\n usageTab: React.ReactNode;\n};\nconst TabsContainer = ({ accountData, defaultValue, children, usageTab }: TabsContainerProps) => {\n return accountData !== undefined ? (\n \n {children}\n \n {usageTab}\n ) : ({children});\n};\nexport { AccountEditModel, AccountEditState, AccountDisplayProps, AccountScopingProps };\nexport default AccountEditBase;\n","/* eslint-disable @typescript-eslint/consistent-type-assertions */\nimport { ActionButton, ActionButtonType, Callout } from \"@octopusdeploy/design-system-components\";\nimport { type AccountResource } from \"@octopusdeploy/octopus-server-client\";\nimport { links } from \"@octopusdeploy/portal-routes\";\nimport React from \"react\";\nimport { repository } from \"~/clientInstance\";\nimport InternalLink from \"~/components/Navigation/InternalLink/InternalLink\";\nimport { DrawerWithForm } from \"~/primitiveComponents/dataDisplay/DrawerWithForm/DrawerWithForm\";\nimport type { AccountEditDrawerProps, AccountEditModel, AccountEditState } from \"./AccountEditBase\";\nimport AccountEditBase from \"./AccountEditBase\";\ninterface AccountEditDrawerState extends AccountEditState {\n calloutDismissed?: boolean;\n}\nabstract class AccountEditBaseDrawer extends AccountEditBase, TModel> {\n private localStorageKeyForDismissedCallout = \"Octopus.Callout.Drawer.Account.Dismissed\";\n constructor(props: AccountEditDrawerProps) {\n super(props);\n this.state = {\n ...this.initialState(),\n calloutDismissed: localStorage.getItem(this.localStorageKeyForDismissedCallout) === \"true\",\n };\n }\n onSuccess(account: AccountResource) {\n (this.props as AccountEditDrawerProps).onSuccess(account);\n this.setState(this.initialState());\n }\n onTestDone(success: boolean) {\n this.setState({\n showTestDialog: false,\n });\n if (success && this.onSuccess && this.state.accountData?.account) {\n this.onSuccess(this.state.accountData.account);\n }\n }\n onClose() {\n (this.props as AccountEditDrawerProps).setIsOpen(false);\n }\n onCloseCallout() {\n localStorage.setItem(this.localStorageKeyForDismissedCallout, true.toString());\n this.setState({ calloutDismissed: true });\n }\n render() {\n const accountData = this.state.accountData;\n const title = accountData?.account.Name ?? \"Create Account\";\n const customActions = [\n this.onClose()} type={ActionButtonType.Secondary}/>,\n ...this.getPageActions().map((action) => {\n if (action.type !== \"button\")\n return null;\n return ;\n }),\n ];\n customActions.push( this.saveAccount(false)} label=\"Save\" type={ActionButtonType.Primary}/>);\n // TODO: display these\n const overflowActions = accountData === undefined ? [] : this.getOverFlowActions(accountData.account);\n // eslint-disable-next-line @typescript-eslint/no-non-null-assertion\n const spaceId = repository.spaceId!;\n return ( this.saveAccount(false)} onClose={() => this.onClose()} isOpen={(this.props as AccountEditDrawerProps).isOpen} variant=\"customActions\" expandableContainerKey={\"AccountEdit\"} expandAllOnMount={true} showExpandAll={true} customActions={[...customActions]}>\n {!this.state.calloutDismissed && !accountData?.account.Name ? ( this.onCloseCallout()}>\n
    \n After you create this account, you can find it in{\" \"}\n \n Accounts\n \n
    \n
    ) : (<>)}\n {this.innerRender()}\n
    );\n }\n}\nexport default AccountEditBaseDrawer;\n","import React from \"react\";\nexport interface DynamicDevToolsTabRegistration {\n name: string;\n children: React.ReactNode;\n}\nexport type DrawerDockLocation = \"left\" | \"right\" | \"bottom\";\ninterface DevDrawerState {\n open: boolean;\n dockLocation: DrawerDockLocation;\n}\ntype TabRegistrationState = Map;\nconst DevToolsDrawerStateContext = React.createContext(null);\nconst DevToolsSetDrawerStateContext = React.createContext> | null>(null);\nconst TabRegistrationContext = React.createContext(null);\nconst SetTabRegistrationStateContext = React.createContext> | null>(null);\nexport const DevToolsContextProvider: React.FC = (props) => {\n const [drawerState, setDrawerState] = React.useState({ open: false, dockLocation: \"bottom\" });\n const [tabState, setTabState] = React.useState(new Map());\n return (\n \n \n {props.children}\n \n \n );\n};\nDevToolsContextProvider.displayName = \"DevToolsContextProvider\"\nfunction useSetDrawerState() {\n return React.useContext(DevToolsSetDrawerStateContext);\n}\nfunction useSetTabRegistrationState() {\n return React.useContext(SetTabRegistrationStateContext);\n}\nfunction useTabRegistrationState() {\n return React.useContext(TabRegistrationContext);\n}\nDevToolsContextProvider.displayName = \"DevToolsContextProvider\";\nfunction useRegisterDevToolsTab() {\n const setRegistrations = useSetTabRegistrationState();\n return React.useCallback((registration: DynamicDevToolsTabRegistration) => {\n setRegistrations?.((prev) => {\n const newMap = new Map(prev);\n newMap.set(registration.name, registration.children);\n return newMap;\n });\n }, [setRegistrations]);\n}\nexport function useRegisteredDevToolTabs() {\n const state = useTabRegistrationState();\n return state ? Array.from(state.entries()).map(([key, value]) => ({ label: key, content: value })) : [];\n}\nfunction useUnregisterDevToolsTab() {\n const setRegistrations = useSetTabRegistrationState();\n return React.useCallback((registrationName: string) => {\n setRegistrations?.((prev) => {\n if (prev.has(registrationName)) {\n const newMap = new Map(prev);\n newMap.delete(registrationName);\n return newMap;\n }\n return prev;\n });\n }, [setRegistrations]);\n}\nconst useDrawerState = () => {\n return React.useContext(DevToolsDrawerStateContext);\n};\nexport const useToggleDevTools = () => {\n const setDrawerState = useSetDrawerState();\n return React.useCallback(() => {\n setDrawerState?.((prev) => ({ ...prev, open: !prev.open }));\n }, [setDrawerState]);\n};\nexport function useIsDevToolsOpen() {\n return !!useDrawerState()?.open;\n}\nexport function useDevToolsDockLocation() {\n return useDrawerState()?.dockLocation;\n}\nexport function useSetDevToolsDrawerDockLocation() {\n const setDrawerState = useSetDrawerState();\n return React.useCallback((location: DrawerDockLocation) => {\n setDrawerState?.((prev) => {\n if (prev.dockLocation !== location) {\n return { ...prev, dockLocation: location };\n }\n return prev;\n });\n }, [setDrawerState]);\n}\ntype DevToolsTabProps = DynamicDevToolsTabRegistration;\nexport const DevToolsTab: React.FC = ({ name, children }) => {\n useDevToolsTabEffect(name, children);\n return null;\n};\nDevToolsTab.displayName = \"DevToolsTab\"\nexport const useDevToolsTabEffect = (name: string, children: React.ReactNode) => {\n const registerTab = useRegisterDevToolsTab();\n const unregisterTab = useUnregisterDevToolsTab();\n React.useEffect(() => {\n registerTab({ name, children });\n return () => {\n unregisterTab(name);\n };\n }, [children, name, registerTab, unregisterTab]);\n};\n","import React from \"react\";\nimport ReactDiffViewer from \"react-diff-viewer\";\nimport type { ReactDiffViewerStylesVariables } from \"react-diff-viewer/lib/styles\";\nimport { useOctopusTheme } from \"~/components/Theme\";\nimport { useThemePaletteType } from \"~/components/Theme/useThemePaletteType\";\nexport type DisplayDiffProps = {\n newValue: string;\n oldValue: string;\n splitView?: boolean;\n leftTitle?: string;\n rightTitle?: string;\n};\nexport const DisplayDiff: React.FC = React.memo((props) => {\n const theme = useOctopusTheme();\n const palette = useThemePaletteType();\n const isDarkTheme = palette === \"dark\";\n const baseEditorColors: ReactDiffViewerStylesVariables = {\n diffViewerBackground: theme.primaryBackground,\n diffViewerColor: theme.primaryText,\n addedBackground: theme.diffAddedBackground,\n addedColor: theme.diffAddedColor,\n removedBackground: theme.diffRemovedBackground,\n removedColor: theme.diffRemovedColor,\n wordAddedBackground: theme.diffWordAddedBackground,\n wordRemovedBackground: theme.diffWordRemovedBackground,\n addedGutterBackground: theme.diffAddedGutterBackground,\n addedGutterColor: theme.diffAddedGutterColor,\n removedGutterBackground: theme.diffRemovedGutterBackground,\n removedGutterColor: theme.diffRemovedGutterColor,\n gutterBackground: theme.paper0,\n highlightBackground: theme.diffHighlight,\n highlightGutterBackground: theme.diffHighlight,\n codeFoldGutterBackground: theme.primaryBackground,\n codeFoldBackground: theme.primaryBackground,\n emptyLineBackground: theme.primaryBackground,\n gutterColor: theme.diffGutterColor,\n codeFoldContentColor: theme.primaryText,\n diffViewerTitleBackground: theme.primaryBackground,\n diffViewerTitleColor: theme.primaryText,\n };\n return ();\n});\nDisplayDiff.displayName = \"DisplayDiff\"\nexport default DisplayDiff;\n","import DisplayDiff from \"./DisplayDiff\";\nexport * from \"./DisplayDiff\";\nexport default DisplayDiff;\n","import React from \"react\";\nimport DisplayDiff from \"~/components/DisplayDiff\";\ninterface DirtyStateDetailProps {\n model: Model;\n cleanModel: Model;\n}\nexport function DirtyStateDetail({ cleanModel, model }: DirtyStateDetailProps) {\n const oldValue = JSON.stringify(cleanModel, null, 4);\n const newValue = JSON.stringify(model, null, 4);\n return ;\n}\n","import { logger } from \"@octopusdeploy/logging\";\nimport type { ReactNode } from \"react\";\nimport React, { useMemo, useEffect, useContext, createContext, useCallback, useState } from \"react\";\n/**\n * Represents the intent to block navigation away from the current page\n */\nexport interface NavigationBlocker {\n confirmationText: string;\n onSaveClick: () => Promise;\n saveLabel: string;\n}\ntype UnregisterNavigationBlocker = () => void;\ntype RegisterNavigationBlocker = (navigationBlocker: NavigationBlocker) => UnregisterNavigationBlocker;\nconst registerNavigationBlockerContext = createContext(null);\nexport function useNavigationBlockerState() {\n const [navigationBlocker, setNavigationBlocker] = useState(null);\n const registerNavigationBlocker: RegisterNavigationBlocker = useCallback((navigationBlocker) => {\n setNavigationBlocker(navigationBlocker);\n return () => {\n setNavigationBlocker((prev) => {\n if (prev !== navigationBlocker) {\n logger.error(\"Tried to unregister a navigation blocker when it has already been replaced by another navigation blocker.\");\n return prev;\n }\n return null;\n });\n };\n }, []);\n return { navigationBlocker, registerNavigationBlocker };\n}\nexport function RegisterNavigationBlockerProvider({ children, registerNavigationBlocker }: {\n registerNavigationBlocker: RegisterNavigationBlocker;\n children: ReactNode;\n}) {\n return {children};\n}\nexport function useNavigationBlocker({ when, confirmationText, saveLabel, onSaveClick }: {\n when: boolean;\n confirmationText: string;\n onSaveClick: () => Promise;\n saveLabel: string;\n}) {\n const registerNavigationBlocker = useContext(registerNavigationBlockerContext);\n if (registerNavigationBlocker === null) {\n throw new Error(\"RegisterNavigationBlockerProvider not found\");\n }\n const navigationBlocker = useMemo(() => ({\n confirmationText,\n saveLabel,\n onSaveClick,\n }), [confirmationText, onSaveClick, saveLabel]);\n useEffect(() => {\n if (when) {\n return registerNavigationBlocker(navigationBlocker);\n }\n }, [navigationBlocker, registerNavigationBlocker, when]);\n}\n","import { useShowSnackbar } from \"@octopusdeploy/design-system-components\";\nimport { AnalyticLinkLocationProvider } from \"@octopusdeploy/portal-analytics\";\nimport { isEqual } from \"lodash\";\nimport { useCallback, useRef } from \"react\";\nimport * as React from \"react\";\nimport { BaseComponent } from \"~/components/BaseComponent/BaseComponent\";\nimport type { FieldErrors } from \"~/components/DataBaseComponent/Errors\";\nimport { DevToolsTab } from \"~/components/DevTools/DevToolsContext\";\nimport { useErrors } from \"~/components/ErrorContext/ErrorContext\";\nimport FormComponent from \"~/components/FormComponent/FormComponent\";\nimport { DirtyStateDetail } from \"~/components/FormPaperLayout/DirtyStateTracking/DirtyStateDetail\";\nimport { createFormDirtyChangedAction } from \"~/components/FormPaperLayout/reducers\";\nimport { useNavigationBlocker } from \"~/components/OctopusRouter/NavigationBlocker\";\nimport type { PermissionCheckProps } from \"~/components/PermissionCheck/PermissionCheck\";\nimport { isAllowed } from \"~/components/PermissionCheck/PermissionCheck\";\nimport ExpansionButtons, { toggleExpanders } from \"~/components/form/Sections/ExpansionButtons\";\nimport store from \"~/store\";\nimport { timeOperation, timeOperationOptions } from \"~/utils/OperationTimer/timeOperation\";\nexport interface FormProps {\n model: object | undefined;\n cleanModel?: object;\n saveText?: string;\n savePermission?: PermissionCheckProps | undefined;\n disableDirtyFormChecking?: boolean;\n disableKeyboardFormSubmission?: boolean;\n forceDisableFormSaveButton?: boolean;\n devToolsDirtyTrackingKey?: string;\n devToolsDirtyTrackingDisabled?: boolean;\n onSaveClick(isNavigationConfirmation: boolean): Promise<{} | void> | void;\n confirmNavigateSaveLabel?: string;\n children: (props: RenderFormProps) => React.ReactNode;\n}\nexport interface PrimarySaveActionOptions {\n saveButtonLabel?: string;\n saveButtonBusyLabel?: string;\n}\ntype PrimarySaveActionOptionsWithDefaults = Required;\ninterface RenderFormProps {\n createSaveAction: (options: PrimarySaveActionOptions) => PrimarySavePageAction;\n FormContent: React.ComponentType;\n isDisabled: boolean;\n save: () => Promise;\n}\nexport function LegacyForm({ children, devToolsDirtyTrackingKey, devToolsDirtyTrackingDisabled, disableDirtyFormChecking, disableKeyboardFormSubmission, forceDisableFormSaveButton, saveText, confirmNavigateSaveLabel, savePermission, onSaveClick, model, cleanModel, }: FormProps) {\n const errors = useErrors();\n // It would be good to useMemo around this check because it could be expensive for larger models.\n // However, at the time of writing this code, some components mutate the model rather than returning a new instance\n // See https://github.com/OctopusDeploy/OctopusDeploy/pull/26880 which was caused by\n // a mutation in DynamicForm: https://github.com/OctopusDeploy/OctopusDeploy/blob/a2b6efc799ad4b29f724f1325ced152f22e40730/frontend/apps/portal/app/components/DynamicForm/DynamicForm.tsx#L505-L507\n const dirty = disableDirtyFormChecking ? \"disabled\" : !isEqual(model, cleanModel);\n const save = useSaveForm(onSaveClick, saveText);\n const onNavigationBlockerSaveClick = useCallback(async () => {\n await save(true);\n }, [save]);\n const nonNavigationBlockerSaveClick = useCallback(() => save(false), [save]);\n useNavigationBlocker({\n when: dirty === \"disabled\" ? false : dirty,\n confirmationText: \"If you leave this page, any changes you have made will be lost. Are you sure you wish to leave this page?\",\n onSaveClick: onNavigationBlockerSaveClick,\n saveLabel: confirmNavigateSaveLabel ?? \"Save changes\",\n });\n return (\n {children}\n );\n}\nfunction useSaveForm(onSaveClick: (isNavigationConfirmation: boolean) => Promise<{} | void> | void, saveText: string | undefined) {\n const errors = useErrors();\n // Errors are set on the error context rather than being thrown from the `onSaveClick` function\n // So we need our callback to be able to access the latest error values immediately via a ref\n const errorsRef = useRef(errors);\n errorsRef.current = errors;\n // onSaveClick is often not stable. If it changes on every render,\n // then we end up in an infinite render loop when this value is used to construct a navigation blocker\n // So instead, we use a ref to ensure that we always use the latest callback while still retaining stability for the save callback returned here\n const onSaveClickRef = useRef(onSaveClick);\n onSaveClickRef.current = onSaveClick;\n const showSnackbar = useShowSnackbar();\n return useCallback((isNavigationConfirmation: boolean): Promise => timeOperation(timeOperationOptions.forSave(), async () => {\n await onSaveClickRef.current(isNavigationConfirmation);\n if (!errorsRef.current) {\n showSnackbar(saveText || \"Details updated\");\n }\n if (!errorsRef.current) {\n toggleExpanders(false);\n }\n return !errorsRef.current;\n }), [saveText, showSnackbar]);\n}\ninterface FormPropsInternal {\n errors: FieldErrors | undefined;\n dirty: boolean | \"disabled\";\n model: object | undefined;\n cleanModel: object | undefined;\n savePermission: PermissionCheckProps | undefined;\n disableKeyboardFormSubmission: boolean | undefined;\n forceDisableFormSaveButton: boolean | undefined;\n devToolsDirtyTrackingKey: string | undefined;\n devToolsDirtyTrackingDisabled: boolean | undefined;\n save(): Promise;\n confirmNavigateSaveLabel: string | undefined;\n children: (props: RenderFormProps) => React.ReactNode;\n}\nclass FormInternal extends BaseComponent {\n public static defaultProps: Partial = {\n devToolsDirtyTrackingKey: \"Form\",\n };\n UNSAFE_componentWillReceiveProps(nextProps: FormPropsInternal) {\n if (nextProps.dirty !== this.props.dirty && nextProps.dirty !== \"disabled\") {\n store.dispatch(createFormDirtyChangedAction(nextProps.dirty));\n }\n }\n componentDidMount() {\n store.dispatch(createFormDirtyChangedAction(this.props.dirty === \"disabled\" ? false : this.props.dirty));\n }\n componentWillUnmount() {\n store.dispatch(createFormDirtyChangedAction(false));\n }\n createSaveAction = ({ saveButtonLabel = \"Save\", saveButtonBusyLabel = \"Saving\" }: PrimarySaveActionOptions): PrimarySavePageAction => {\n const optionsWithDefaults = { saveButtonLabel, saveButtonBusyLabel } satisfies PrimarySaveActionOptionsWithDefaults;\n return {\n type: \"button\" as const,\n label: this.getSaveActionLabel(optionsWithDefaults),\n busyLabel: optionsWithDefaults.saveButtonBusyLabel,\n disabled: this.shouldBeDisabled(this.props.savePermission),\n onClick: (e: React.MouseEvent | undefined) => {\n if (e) {\n e.preventDefault();\n }\n return this.props.save();\n },\n };\n };\n getSaveActionLabel({ saveButtonLabel }: PrimarySaveActionOptionsWithDefaults): string {\n const disabledDueToPermission = this.isDisableDueToPermission(this.props.savePermission);\n const permissionLabel = this.getPermissionLabel(this.props.savePermission);\n return disabledDueToPermission ? `${permissionLabel} permission required` : saveButtonLabel;\n }\n private isDisableDueToPermission = (permission: PermissionCheckProps | undefined) => {\n return !!permission ? !isAllowed(permission) : false;\n };\n private getPermissionLabel(permission: PermissionCheckProps | undefined): string {\n if (permission === undefined) {\n return \"No\";\n }\n if (Array.isArray(permission.permission)) {\n return permission.permission.join(\", \");\n }\n return permission.permission;\n }\n private shouldBeDisabled = (permission: PermissionCheckProps | undefined): boolean => {\n const isDisabledDueToPermission = this.isDisableDueToPermission(permission);\n const isDisabledFromBeingDirty = this.props.dirty === \"disabled\" ? false : !this.props.dirty || !this.props.model;\n return isDisabledDueToPermission || isDisabledFromBeingDirty || Boolean(this.props.forceDisableFormSaveButton);\n };\n private onCtrlEnterPressed = async () => {\n if (!this.shouldBeDisabled(this.props.savePermission) && !this.props.disableKeyboardFormSubmission) {\n await this.props.save();\n }\n };\n render() {\n return (\n {!this.props.devToolsDirtyTrackingDisabled && (\n \n )}\n {this.props.children({ createSaveAction: this.createSaveAction, save: this.props.save, FormContent, isDisabled: Boolean(this.shouldBeDisabled(this.props.savePermission)) })}\n );\n }\n static displayName = \"FormInternal\";\n}\nexport interface PrimarySavePageAction {\n type: \"button\";\n label: string;\n disabled: boolean;\n busyLabel: string;\n onClick: (event: React.MouseEvent | undefined) => Promise;\n}\ninterface FormContentProps {\n hideExpandAll?: boolean;\n expandAllOnMount?: boolean;\n children: React.ReactNode;\n containerKey?: string;\n}\nfunction FormContent({ expandAllOnMount, hideExpandAll, children, containerKey }: FormContentProps) {\n const errors = useErrors();\n return (<>\n {!hideExpandAll && }\n {children}\n );\n}\n","import InternalRedirect, { InternalRedirectWithHistory } from \"./InternalRedirect\";\nexport default InternalRedirect;\nexport { InternalRedirect, InternalRedirectWithHistory };\n","import React from \"react\";\nimport type { UnknownPageRegistration } from \"~/routing/pageRegistrations/PageRegistration\";\nconst PageRegistrationContext = React.createContext(null);\ninterface PageRegistrationProviderProps {\n pageRegistration: UnknownPageRegistration;\n children: React.ReactNode;\n}\nexport function PageRegistrationProvider({ children, pageRegistration }: PageRegistrationProviderProps) {\n return {children};\n}\nexport function usePageRegistration() {\n const pageRegistration = React.useContext(PageRegistrationContext);\n if (!pageRegistration) {\n throw new Error(\"The PageRegistrationContext has not been set up. Please check the component hierarchy and ensure the appropriate context exists above this component.\");\n }\n return pageRegistration;\n}\n","import type { ErrorInfo } from \"@octopusdeploy/design-system-components\";\nimport type { ValidationError } from \"@octopusdeploy/octopus-react-client\";\nimport { isValidationError } from \"@octopusdeploy/octopus-react-client\";\nimport { OctopusError } from \"@octopusdeploy/octopus-server-client\";\nimport { type Errors } from \"../DataBaseComponent/Errors\";\nexport function createErrorInfoFromError(error: Error): ErrorInfo {\n // For some reason, webstorm thinks that the following type guard is unsound, even though OctopusError inherits from Error\n // noinspection SuspiciousTypeOfGuard\n if (error instanceof OctopusError) {\n return createErrorInfoFromOctopusError(error);\n }\n if (isValidationError(error)) {\n return createErrorInfoFromValidationError(error);\n }\n return {\n message: error.message,\n details: (error.stack?.split(\" at \") ?? []).map((detail) => ({ text: detail })),\n };\n}\nfunction createErrorInfoFromValidationError(err: ValidationError): ErrorInfo {\n return {\n message: err.message,\n details: [],\n };\n}\nfunction createErrorInfoFromOctopusError(err: OctopusError): ErrorInfo {\n return {\n message: err.ErrorMessage,\n details: (err.Errors || []).map((detail, index) => ({\n text: detail,\n link: err.ParsedHelpLinks && err.ParsedHelpLinks?.length > index ? err.ParsedHelpLinks[index] : undefined,\n })),\n help: {\n text: err.HelpText,\n link: err.HelpLink,\n },\n };\n}\nexport function createErrorInfoFromErrors(err: Errors | Error[]): ErrorInfo[] {\n if (Array.isArray(err)) {\n return err.map(createErrorInfoFromError);\n }\n return [\n {\n message: err.message,\n details: (err.errors || []).map((detail, index) => ({\n text: detail,\n link: err.parsedHelpLinks && err.parsedHelpLinks?.length > index ? err.parsedHelpLinks[index] : undefined,\n })),\n help: {\n text: err.helpText,\n link: err.helpLink,\n },\n },\n ];\n}\n","import { Level1PageLayout, Level2InnerPageLayout, useIsBusy } from \"@octopusdeploy/design-system-components\";\nimport type { BreadcrumbItem, CalloutType, PageAction, PrimaryPageAction, SimpleMenuItem } from \"@octopusdeploy/design-system-components\";\nimport type { ApiOperationStatus } from \"@octopusdeploy/octopus-react-client\";\nimport { useAggregateAPIOperationStatus } from \"@octopusdeploy/octopus-react-client\";\nimport type { ReactElement, ReactNode } from \"react\";\nimport React from \"react\";\nimport { usePageRegistration } from \"~/routing/pageRegistrations/PageRegistrationContext\";\nimport { type Errors } from \"../DataBaseComponent/Errors\";\nimport { createErrorInfoFromError, createErrorInfoFromErrors } from \"./createErrorInfo\";\ninterface PageContentBaseProps {\n header: {\n title: string;\n titleComplementaryText?: string;\n logo?: ReactElement;\n chip?: ReactElement;\n contextSelector?: ReactElement;\n breadcrumbs?: BreadcrumbItem[];\n showBreadcrumbBackIcon?: boolean;\n primaryAction?: PrimaryPageAction;\n pageActions?: PageAction[];\n overflowActions?: SimpleMenuItem[];\n };\n /**\n * @deprecated Pages should use the new data access hooks. Busy state will be handled automatically.\n */\n busy?: Promise | boolean;\n /**\n * @deprecated Pages should use the new data access hooks. Busy state will be handled automatically.\n */\n legacyStatus?: ApiOperationStatus;\n description?: ReactNode;\n callout?: PageContentCalloutType;\n /**\n * @deprecated Pages should use the new data access hooks. Errors will be handled automatically.\n */\n errors?: Errors | Error[];\n /**\n * Temporary Prop to handle changes to Level1PageLayout modifications by FFT while we update the pages\n * prop prevents breaking pages that are yet to be migrated to the new Page Layouts design\n */\n pageLayoutV2?: boolean;\n /**\n * @deprecated Overriding the full width on the page content is not recommended. Please configure this via\n * the page registration as this flows through to page loaders as well as page content implicitly.\n */\n overrideFullWidth?: boolean;\n}\nexport type PageContentCalloutType = {\n type: \"custom\";\n content: React.ReactElement;\n} | {\n title?: ReactNode;\n content: ReactNode;\n type: CalloutType;\n onClose?: () => void;\n};\ninterface ContentProps {\n filters?: {\n inputs: ReactNode[];\n filtersSummary?: ReactNode;\n advancedFilters?: {\n content: ReactNode;\n onResetFilter: () => void;\n hasUserSelectedValues: boolean;\n };\n };\n pagination?: {\n ui: ReactNode;\n placement: \"top\" | \"bottom\" | \"topAndBottom\";\n };\n /**\n * @deprecated Avoid using sidebars for new pages; Consult your designer or Frontend Foundations Team for alternative solutions.\n */\n sidebar?: ReactNode;\n}\ntype PageContentPropsWithoutTabs = PageContentBaseProps & ContentProps & {\n children: ReactNode;\n /**\n * @deprecated Legacy tabs have been included to support using tabs for navigation as the third level.\n * This is not a pattern we want to support going forward, so please prefer using built in tab support\n * or by finding an alternate approach.\n */\n legacyTabs?: ReactNode;\n};\ntype PageContentPropsWithTabs = PageContentBaseProps & {\n tabs: PageContentTab[];\n onTabChanged: (value: TabValue) => void;\n currentTab: TabValue;\n};\nexport interface PageContentTab extends ContentProps {\n value: TabValue;\n label: string;\n content: ReactNode;\n warning?: string;\n}\nexport type PageContentProps = PageContentPropsWithTabs | PageContentPropsWithoutTabs;\nexport function PageContent({ header, busy, errors: legacyErrors, legacyStatus, description, callout, overrideFullWidth, ...props }: PageContentProps) {\n const pageRegistration = usePageRegistration();\n const isBusy = useIsBusy(busy);\n const { errors, isInProgress } = useAggregateAPIOperationStatus(legacyStatus);\n const legacyErrorInfo = legacyErrors ? createErrorInfoFromErrors(legacyErrors) : undefined;\n const combinedErrorInfos = errors.map(createErrorInfoFromError);\n if (legacyErrorInfo && legacyErrorInfo.length > 0) {\n combinedErrorInfos.push(...legacyErrorInfo);\n }\n const combinedIsInProgress = isInProgress || isBusy;\n if (pageRegistration === null) {\n throw new Error(\"A page registration is required to use PageContent. If you are running a test, specify a pageRegistration in the configuration object for renderWithTestAppContext\");\n }\n if (pageRegistration.level === 1) {\n if (\"tabs\" in props) {\n // TODO: Tabs not yet supported in Level1PageLayout\n return null;\n }\n return (\n {props.children}\n );\n }\n if (\"tabs\" in props) {\n return ();\n }\n return (\n {props.children}\n );\n}\n","import { type AccountResource } from \"@octopusdeploy/octopus-server-client\";\nimport { links } from \"@octopusdeploy/portal-routes\";\nimport React from \"react\";\nimport { repository } from \"~/clientInstance\";\nimport { LegacyForm } from \"~/components/FormPaperLayout/LegacyForm\";\nimport InternalRedirect from \"~/components/Navigation/InternalRedirect\";\nimport { PageContent } from \"~/components/PageContent/PageContent\";\nimport { isAllowed } from \"~/components/PermissionCheck/PermissionCheck\";\nimport type { AccountEditPaperProps, AccountEditModel, AccountEditState } from \"./AccountEditBase\";\nimport AccountEditBase from \"./AccountEditBase\";\nabstract class AccountEditBasePaper extends AccountEditBase, TModel> {\n constructor(props: AccountEditPaperProps) {\n super(props);\n this.state = this.initialState();\n }\n // We redirect to another page via an `` instead of any particular action here\n onSuccess? = undefined;\n onTestDone(success: boolean) {\n this.setState({\n showTestDialog: false,\n });\n }\n render() {\n const accountData = this.state.accountData;\n const isNewAccount = accountData === undefined;\n const savePermission = this.savePermission();\n const title = accountData?.account.Name ?? \"Create Account\";\n // eslint-disable-next-line @typescript-eslint/no-non-null-assertion\n const breadcrumbPath = links.infrastructureAccountsPage.generateUrl({ spaceId: accountData?.account.SpaceId ?? repository.spaceId! });\n const overflowMenu = this.getOverFlowActions(accountData?.account);\n return ( this.handleSaveClick(false)} savePermission={savePermission}>\n {({ FormContent, createSaveAction }) => (\n {overflowMenu.dialogs}\n \n {!this.state.showTestDialog && this.state.accountData && ()}\n {this.innerRender()}\n \n )}\n );\n }\n}\nexport default AccountEditBasePaper;\n","/* eslint-disable @typescript-eslint/consistent-type-assertions */\nimport { Callout } from \"@octopusdeploy/design-system-components\";\nimport type { ReferenceDataItem, GenericOidcAccountResource } from \"@octopusdeploy/octopus-server-client\";\nimport { AccountType } from \"@octopusdeploy/octopus-server-client\";\nimport { cloneDeep } from \"lodash\";\nimport React from \"react\";\nimport { subjectKeyChipList } from \"~/components/Chips/index\";\nimport { AvailableDeploymentSubjectKeys, AvailableExecutionSubjectKeys, AvailableRunbookSubjectKeys, DefaultDeploymentSubjectKeys, OpenIdSubjectMultiSelect, SubjectKeyOrder } from \"~/components/MultiSelect/OpenIdSubjectMultiSelect\";\nimport ExternalLink from \"~/components/Navigation/ExternalLink/ExternalLink\";\nimport { ErrorPanel, ExpandableFormSection, FormSectionHeading, Note, Summary } from \"~/components/form\";\nimport Text from \"../../../../primitiveComponents/form/Text/Text\";\nimport type { AccountEditBaseProps, AccountEditModel } from \"./AccountEditBase\";\nimport AccountEditBaseDrawer from \"./AccountEditBaseDrawer\";\nimport AccountEditBasePaper from \"./AccountEditBasePaper\";\nimport styles from \"./style.module.less\";\ninterface GenericOidcAuth {\n deploymentSubjectKeys: string[];\n audience: string;\n}\ninterface GenericOidcModel extends AccountEditModel {\n accountType: AccountType.GenericOidcAccount;\n authentication: GenericOidcAuth;\n}\nconst defaultGenericOidc: GenericOidcAuth = {\n deploymentSubjectKeys: [],\n audience: \"api://default\",\n};\nexport default function GenericOidcAccountEdit(props: AccountEditBaseProps) {\n switch (props.type) {\n case \"paper\":\n return ;\n case \"drawer\":\n return ;\n default:\n return ;\n }\n}\nclass GenericOidcAccountEditPaper extends AccountEditBasePaper {\n getPartialModel(account?: GenericOidcAccountResource) {\n return getPartialModel(account);\n }\n getPartialResource() {\n return getPartialResource(this.state.model);\n }\n getPageActions() {\n return [];\n }\n getTestDialog() {\n return null;\n }\n customExpandableFormSections() {\n return customExpandableFormSections(this.state.model, (auth) => this.setState((prev) => ({\n model: {\n ...prev.model,\n authentication: {\n ...prev.model.authentication,\n ...auth,\n },\n },\n })), this.getFieldError);\n }\n}\nclass GenericOidcAccountEditDrawer extends AccountEditBaseDrawer {\n getPartialModel(account?: GenericOidcAccountResource) {\n return getPartialModel(account);\n }\n getPartialResource() {\n return getPartialResource(this.state.model);\n }\n getPageActions() {\n return [];\n }\n getTestDialog() {\n return null;\n }\n customExpandableFormSections() {\n return customExpandableFormSections(this.state.model, (auth) => this.setState((prev) => ({\n model: {\n ...prev.model,\n authentication: {\n ...prev.model.authentication,\n ...auth,\n },\n },\n })), this.getFieldError);\n }\n}\nfunction getPartialModel(account?: GenericOidcAccountResource): Partial | undefined {\n if (!account) {\n return {\n accountType: AccountType.GenericOidcAccount,\n authentication: cloneDeep(defaultGenericOidc),\n };\n }\n const oidcAccount = account as GenericOidcAccountResource;\n return {\n ...oidcAccount,\n accountType: AccountType.GenericOidcAccount,\n authentication: {\n deploymentSubjectKeys: oidcAccount.DeploymentSubjectKeys,\n audience: oidcAccount.Audience,\n },\n };\n}\nfunction getPartialResource(modelState: GenericOidcModel): (Partial & {\n AccountType: AccountType;\n}) | undefined {\n const resource = {\n AccountType: modelState.accountType,\n };\n return {\n ...resource,\n Audience: modelState.authentication.audience,\n DeploymentSubjectKeys: modelState.authentication.deploymentSubjectKeys,\n };\n}\nfunction audienceSummary(model: GenericOidcAuth) {\n return model.audience ? Summary.summary(model.audience) : Summary.placeholder(\"Federated Identity audience\");\n}\nfunction subjectKeySummary(subjectKeys: string[]) {\n if (subjectKeys && subjectKeys.length > 0) {\n return Summary.summary(subjectKeyChipList(subjectKeys));\n }\n else {\n return Summary.summary(\"Using default subject keys\");\n }\n}\nfunction customExpandableFormSections(modelState: GenericOidcModel, setOidcAuth: (newState: Pick) => void, getFieldError: (field: string) => string): React.ReactElement[] {\n const baseElements: React.ReactElement[] = [];\n baseElements.push();\n baseElements.push(
    \n \n The OpenID Connect feature is still in development. We'd love to hear your feedback.\n \n\n \n \n setOidcAuth({ deploymentSubjectKeys })} value={modelState.authentication.deploymentSubjectKeys} subjectKeys={AvailableExecutionSubjectKeys} accessibleName=\"Deployment Subject Keys\"/>\n \n Subject claim formats:\n
    \n Deployment:\n {generateSampleSubject(modelState.authentication.deploymentSubjectKeys, DefaultDeploymentSubjectKeys, \"deployment\", AvailableDeploymentSubjectKeys)}\n
    \n Runbook:\n {generateSampleSubject(modelState.authentication.deploymentSubjectKeys, DefaultDeploymentSubjectKeys, \"runbook\", AvailableRunbookSubjectKeys)}\n
    \n If no keys are specified, the subject claim will default to: {DefaultDeploymentSubjectKeys.join(\", \")}. Any keys not selected will not be included in the subject claim.\n
    \n
    \n \n \n setOidcAuth({ audience })} label=\"Audience\" error={getFieldError(\"Audience\")}/>\n \n
    );\n return baseElements;\n}\nfunction generateSampleSubject(requestedKeys: string[], defaultKeys: string[], type: string, possibleItems: ReferenceDataItem[]): string {\n const possibleKeys = possibleItems.map((k) => k.Id);\n const keys: string[] = requestedKeys && requestedKeys.length > 0 ? requestedKeys : defaultKeys;\n return keys\n .filter((k) => possibleKeys.indexOf(k) > -1)\n .sort((a, b) => SubjectKeyOrder.indexOf(a) - SubjectKeyOrder.indexOf(b))\n .map((k) => (k === \"type\" ? `type:${type}` : `${k}:[${k}-slug]`))\n .join(\":\");\n}\n","import DataLoader from \"./DataLoader\";\nexport * from \"./DataLoader\";\nexport default DataLoader;\n","import { OctopusError } from \"@octopusdeploy/octopus-server-client\";\nimport { isEqual } from \"lodash\";\nimport * as React from \"react\";\nimport type { DataBaseComponentState, Errors } from \"~/components/DataBaseComponent/index\";\nimport { DataBaseComponent } from \"~/components/DataBaseComponent/index\";\nimport { timeOperation, timeOperationOptions } from \"~/utils/OperationTimer/timeOperation\";\nimport BusyFromPromise from \"../BusyFromPromise\";\nimport { createErrorsFromOctopusError } from \"../DataBaseComponent/Errors\";\ninterface RenderAlternateProps {\n busy: boolean;\n clearError: () => void;\n errors: Errors | undefined;\n}\ninterface DataLoaderProps {\n load(): Promise;\n reloadOnPropChanges?: boolean;\n operationName?: string;\n renderWhenLoaded(data: TData): React.ReactNode;\n renderAlternate(props: RenderAlternateProps): React.ReactNode;\n}\ninterface DataLoaderState extends DataBaseComponentState {\n loadedData?: TData;\n errors: Errors | undefined;\n}\nexport default function DataLoader() {\n return class DataLoadInner extends DataBaseComponent, DataLoaderState> {\n constructor(props: DataLoaderProps) {\n super(props);\n this.state = { errors: undefined };\n }\n async componentDidMount() {\n const options = timeOperationOptions.for(this.props.operationName || \"InitialLoad\");\n await timeOperation(options, () => this.load());\n }\n async componentDidUpdate(prevProps: DataLoaderProps) {\n // Not using OperationTimer as only one page sets reloadOnPropChanges and it's not worth capturing and differentiating\n if (this.props.reloadOnPropChanges && !isEqual(prevProps, this.props)) {\n await this.load();\n }\n }\n async load() {\n await this.doBusyTask(async () => {\n try {\n this.setState({\n loadedData: await this.props.load(),\n });\n }\n catch (e) {\n if (e instanceof OctopusError) {\n this.setState({ errors: createErrorsFromOctopusError(e) });\n }\n throw e;\n }\n });\n }\n render() {\n return this.state.loadedData && !this.state.errors ? (this.props.renderWhenLoaded(this.state.loadedData)) : ({(busy: boolean) => this.props.renderAlternate({ errors: this.errors, clearError: () => this.setState({ errors: undefined }), busy })});\n }\n };\n}\n","import * as React from \"react\";\nimport type { Errors } from \"~/components/DataBaseComponent/Errors\";\nimport DataLoader from \"~/components/DataLoader\";\nimport { PageContent } from \"~/components/PageContent/PageContent\";\ninterface RenderAlternateProps {\n busy: boolean;\n errors: Errors | undefined;\n}\ninterface FormPageProps {\n title: string;\n load(): Promise;\n operationName?: string;\n reloadOnPropChanges?: boolean;\n renderWhenLoaded(data: TData): React.ReactNode;\n renderAlternate?(props: RenderAlternateProps): React.ReactNode;\n}\n// TODO: Consolidate Page and FormPage into a single component. These are doing similar-but-different things.\nexport default function FormPage() {\n const DataLoaderInternal = DataLoader();\n return class LoadInner extends React.Component> {\n render() {\n return ( {\n return (\n {null}\n );\n }}/>);\n }\n };\n}\n","import { Level1PageLoading, Level2PageLoading } from \"@octopusdeploy/design-system-components\";\nimport type { ApiOperationStatus } from \"@octopusdeploy/octopus-react-client\";\nimport { useAggregateAPIOperationStatus } from \"@octopusdeploy/octopus-react-client\";\nimport React from \"react\";\nimport { usePageRegistration } from \"~/routing/pageRegistrations/PageRegistrationContext\";\nimport StringHelper from \"~/utils/StringHelper\";\nimport { type Errors } from \"../DataBaseComponent/Errors\";\nimport { createErrorInfoFromError, createErrorInfoFromErrors } from \"./createErrorInfo\";\nexport interface PageLoadingProps {\n loadingTitle?: string;\n /**\n * @deprecated Pages should use the new data access hooks. Busy state will be handled automatically.\n */\n legacyStatus?: ApiOperationStatus;\n errors?: Errors | Error[];\n}\nexport function PageLoading({ loadingTitle, errors: legacyErrors, legacyStatus }: PageLoadingProps) {\n const pageRegistration = usePageRegistration();\n const { errors } = useAggregateAPIOperationStatus(legacyStatus);\n const legacyErrorInfo = legacyErrors ? createErrorInfoFromErrors(legacyErrors) : undefined;\n const combinedErrorInfos = errors.map(createErrorInfoFromError);\n if (legacyErrorInfo && legacyErrorInfo.length > 0) {\n combinedErrorInfos.push(...legacyErrorInfo);\n }\n if (pageRegistration === null) {\n throw new Error(\"A page registration is required to use PageLoading. If you are running a test, specify a pageRegistration in the configuration object for renderWithTestAppContext\");\n }\n if (pageRegistration.level === 1) {\n return ;\n }\n return ;\n}\n","import { Callout } from \"@octopusdeploy/design-system-components\";\nimport type { TaskResource } from \"@octopusdeploy/octopus-server-client\";\nimport { TaskState } from \"@octopusdeploy/octopus-server-client\";\nimport * as React from \"react\";\nimport { repository } from \"~/clientInstance\";\nimport type { DataBaseComponentState } from \"~/components/DataBaseComponent\";\nimport { DataBaseComponent } from \"~/components/DataBaseComponent/DataBaseComponent\";\nimport OkDialogLayout from \"~/components/DialogLayout/OkDialogLayout\";\nimport styles from \"./style.module.less\";\ntype CreateTestAccountTaskPropsCallback = (accountId: string) => Promise>;\ninterface TestAccountTaskProps {\n createTask: CreateTestAccountTaskPropsCallback;\n}\ninterface SaveAndTestAccountProps {\n accountId: string;\n onOkClick: (success: boolean) => void;\n}\ninterface SaveAndTestAccountState extends DataBaseComponentState {\n accountTestTask?: TaskResource<{}>;\n testTask?: TaskResource<{}>;\n testTaskFinished?: boolean;\n}\nexport default class SaveAndTestAccountDialog extends DataBaseComponent {\n constructor(props: SaveAndTestAccountProps & TestAccountTaskProps) {\n super(props);\n this.state = {};\n }\n async componentDidMount() {\n await this.doBusyTask(async () => {\n const task = await this.props.createTask(this.props.accountId);\n this.setState({ accountTestTask: task });\n await this.startRefreshLoop(() => this.refreshAccountTest(task.Id), 1500);\n });\n }\n async refreshAccountTest(id: string): Promise<{}> {\n if (this.state.testTaskFinished) {\n // this will keep running because how beginRefreshLoop is, but will be cleaned up on leaving the page\n // unless there's a way to stop `beginRefreshLoop`\n return {};\n }\n await this.doBusyTask(async () => {\n const testTask = await repository.Tasks.get(id);\n const testTaskFinished = testTask.State === TaskState.Success || testTask.State === TaskState.Failed || testTask.State === TaskState.TimedOut;\n this.setState({\n testTask,\n testTaskFinished,\n });\n return { testTask };\n });\n return {};\n }\n render() {\n return ( this.props.onOkClick(!!this.state.testTask && this.state.testTask.State === TaskState.Success)}>\n {this.state.testTask && this.state.testTask.ErrorMessage && (\n
    {this.state.testTask.ErrorMessage}
    \n
    )}\n\n {this.state.testTask && this.state.testTask.State === TaskState.Success && (\n
    \n The account was verified successfully.\n
    \n
    )}\n
    );\n }\n static displayName = \"SaveAndTestAccountDialog\";\n}\nconst SaveAndTestAzureAccountDialog: React.SFC = ({ accountId, onOkClick }) => {\n return repository.Tasks.createTestAzureAccountTask(accId)}/>;\n};\nSaveAndTestAzureAccountDialog.displayName = \"SaveAndTestAzureAccountDialog\"\nconst SaveAndTestAmazonWebServicesAccountDialog: React.SFC = ({ accountId, onOkClick }) => {\n return repository.Tasks.createTestAwsAccountTask(accId)}/>;\n};\nSaveAndTestAmazonWebServicesAccountDialog.displayName = \"SaveAndTestAmazonWebServicesAccountDialog\"\nexport { SaveAndTestAzureAccountDialog, SaveAndTestAmazonWebServicesAccountDialog, SaveAndTestAccountProps };\n","import { RadioButtonGroup, RadioButton, Callout } from \"@octopusdeploy/design-system-components\";\nimport type { PageAction } from \"@octopusdeploy/design-system-components\";\nimport type { AmazonWebServicesAccessKeyAccountResource, AmazonWebServicesOidcAccountResource, ReferenceDataItem, SensitiveValue } from \"@octopusdeploy/octopus-server-client\";\nimport { AccountType } from \"@octopusdeploy/octopus-server-client\";\nimport { cloneDeep } from \"lodash\";\nimport React from \"react\";\nimport { subjectKeyChipList } from \"~/components/Chips\";\nimport Dialog from \"~/components/Dialog/Dialog\";\nimport { OpenIdSubjectMultiSelect, AvailableExecutionSubjectKeys, DefaultDeploymentSubjectKeys, AvailableDeploymentSubjectKeys, AvailableRunbookSubjectKeys, AvailableHealthCheckSubjectKeys, DefaultHealthCheckSubjectKeys, AvailableAccountTestSubjectKeys, DefaultAccountTestSubjectKeys, SubjectKeyOrder, } from \"~/components/MultiSelect/OpenIdSubjectMultiSelect\";\nimport ExternalLink from \"~/components/Navigation/ExternalLink/ExternalLink\";\nimport { ExpandableFormSection, Summary, FormSectionHeading, ErrorPanel } from \"~/components/form\";\nimport Sensitive, { ObfuscatedPlaceholder } from \"~/components/form/Sensitive/Sensitive\";\nimport Note from \"~/primitiveComponents/form/Note/Note\";\nimport Text from \"~/primitiveComponents/form/Text/Text\";\nimport type { AccountEditModel, AccountEditBaseProps } from \"./AccountEditBase\";\nimport AccountEditBaseDrawer from \"./AccountEditBaseDrawer\";\nimport AccountEditBasePaper from \"./AccountEditBasePaper\";\nimport { SaveAndTestAmazonWebServicesAccountDialog } from \"./SaveAndTestAccountDialog\";\nimport styles from \"./style.module.less\";\ninterface AmazonWebServicesAccessKeyAuth {\n accessKey: string;\n secretKey: SensitiveValue;\n}\ninterface AmazonWebServicesOidcAuth {\n roleArn: string;\n sessionDuration: string;\n deploymentSubjectKeys: string[];\n healthSubjectKeys: string[];\n accountTestSubjectKeys: string[];\n}\ninterface AmazonWebServicesAccountModel extends AccountEditModel {\n accountType: AmazonWebServicesAccountTypes;\n authentication: AmazonWebServicesAccessKeyAuth | AmazonWebServicesOidcAuth;\n}\nconst defaultAmazonWebServicesAuth: AmazonWebServicesAccessKeyAuth = {\n accessKey: \"\",\n secretKey: {\n HasValue: false,\n },\n};\nconst defaultAmazonWebServicesOidcAuth: AmazonWebServicesOidcAuth = {\n roleArn: \"\",\n sessionDuration: \"3600\",\n deploymentSubjectKeys: [],\n healthSubjectKeys: [],\n accountTestSubjectKeys: [],\n};\ntype AmazonWebServicesAccountTypes = AccountType.AmazonWebServicesAccount | AccountType.AmazonWebServicesOidcAccount;\ntype AmazonWebServicesAccountResources = AmazonWebServicesAccessKeyAccountResource | AmazonWebServicesOidcAccountResource;\ntype AmazonWebServicesAuthTypes = AmazonWebServicesAccessKeyAuth | AmazonWebServicesOidcAuth;\nexport default function AmazonWebServicesAccountEdit(props: AccountEditBaseProps) {\n switch (props.type) {\n case \"paper\":\n return ;\n case \"drawer\":\n return ;\n default:\n return ;\n }\n}\nclass AmazonWebServicesAccountEditPaper extends AccountEditBasePaper {\n getPartialModel(account?: AmazonWebServicesAccountResources) {\n return getPartialModel(account);\n }\n getPartialResource() {\n return getPartialResource(this.state.model);\n }\n getPageActions() {\n return getPageActions((performTest: boolean) => this.handleSaveClick(performTest));\n }\n getTestDialog() {\n return getTestDialog(this.state.accountData?.account?.Id, this.state.showTestDialog, (success: boolean) => this.onTestDone(success));\n }\n customExpandableFormSections() {\n return customExpandableFormSections(this.state.accountData === undefined, this.state.model, (state, accountType, model) => this.setState({\n model: {\n ...state,\n accountType: accountType,\n authentication: {\n ...model,\n },\n },\n }), (auth) => this.setState((prev) => ({\n model: {\n ...prev.model,\n authentication: {\n ...prev.model.authentication,\n ...auth,\n },\n },\n })), this.getFieldError);\n }\n}\nclass AmazonWebServicesAccountEditDrawer extends AccountEditBaseDrawer {\n getPartialModel(account?: AmazonWebServicesAccountResources) {\n return getPartialModel(account);\n }\n getPartialResource() {\n return getPartialResource(this.state.model);\n }\n getPageActions() {\n return getPageActions((performTest: boolean) => this.handleSaveClick(performTest));\n }\n getTestDialog() {\n return getTestDialog(this.state.accountData?.account?.Id, this.state.showTestDialog, (success: boolean) => this.onTestDone(success));\n }\n customExpandableFormSections() {\n return customExpandableFormSections(this.state.accountData === undefined, this.state.model, (state, accountType, model) => this.setState({\n model: {\n ...state,\n accountType: accountType,\n authentication: {\n ...model,\n },\n },\n }), (auth) => this.setState((prev) => ({\n model: {\n ...prev.model,\n authentication: {\n ...prev.model.authentication,\n ...auth,\n },\n },\n })), this.getFieldError);\n }\n}\nfunction getPartialModel(account?: AmazonWebServicesAccountResources): Partial | undefined {\n if (!account) {\n return {\n accountType: AccountType.AmazonWebServicesAccount,\n authentication: cloneDeep(defaultAmazonWebServicesAuth),\n };\n }\n const model = {\n // eslint-disable-next-line @typescript-eslint/consistent-type-assertions\n accountType: account.AccountType as AmazonWebServicesAccountTypes,\n };\n if (account.AccountType === AccountType.AmazonWebServicesAccount) {\n // eslint-disable-next-line @typescript-eslint/consistent-type-assertions\n const awsAccount = account as AmazonWebServicesAccessKeyAccountResource;\n return {\n ...model,\n authentication: {\n accessKey: awsAccount.AccessKey,\n secretKey: awsAccount.SecretKey,\n },\n };\n }\n else if (account.AccountType === AccountType.AmazonWebServicesOidcAccount) {\n // eslint-disable-next-line @typescript-eslint/consistent-type-assertions\n const awsOidcAccount = account as AmazonWebServicesOidcAccountResource;\n return {\n ...model,\n authentication: {\n roleArn: awsOidcAccount.RoleArn,\n sessionDuration: awsOidcAccount.SessionDuration,\n deploymentSubjectKeys: awsOidcAccount.DeploymentSubjectKeys,\n healthSubjectKeys: awsOidcAccount.HealthCheckSubjectKeys,\n accountTestSubjectKeys: awsOidcAccount.AccountTestSubjectKeys,\n },\n };\n }\n}\nfunction isAccessKeyAccount(variable: object): variable is AmazonWebServicesAccessKeyAuth {\n // eslint-disable-next-line @typescript-eslint/consistent-type-assertions\n return (variable as AmazonWebServicesAccessKeyAuth).accessKey !== undefined;\n}\nfunction isOidcAccount(variable: object): variable is AmazonWebServicesOidcAuth {\n // eslint-disable-next-line @typescript-eslint/consistent-type-assertions\n return (variable as AmazonWebServicesOidcAuth).roleArn !== undefined;\n}\nfunction getPartialResource(modelState: AmazonWebServicesAccountModel): (Partial & {\n AccountType: AccountType;\n}) | undefined {\n const resource = {\n AccountType: modelState.accountType,\n };\n if (isAccessKeyAccount(modelState.authentication)) {\n return {\n ...resource,\n AccessKey: modelState.authentication.accessKey,\n SecretKey: modelState.authentication.secretKey,\n };\n }\n return {\n ...resource,\n RoleArn: modelState.authentication.roleArn,\n SessionDuration: modelState.authentication.sessionDuration,\n DeploymentSubjectKeys: modelState.authentication.deploymentSubjectKeys,\n HealthCheckSubjectKeys: modelState.authentication.healthSubjectKeys,\n AccountTestSubjectKeys: modelState.authentication.accountTestSubjectKeys,\n };\n}\nfunction accessKeySummary(accessKey: string) {\n return accessKey ? Summary.summary(accessKey) : Summary.placeholder(\"No access key provided\");\n}\nfunction secretKeySummary(secretKey: SensitiveValue) {\n return secretKey && secretKey.HasValue ? Summary.summary(ObfuscatedPlaceholder) : Summary.placeholder(\"No secret key provided\");\n}\nfunction roleArnSummary(roleArn: string) {\n return roleArn ? Summary.summary(roleArn) : Summary.placeholder(\"No RoleArn provided\");\n}\nfunction sessionDurationSummary(sessionDuration: string) {\n return sessionDuration ? Summary.summary(sessionDuration) : Summary.placeholder(\"The default session duration is not being overridden\");\n}\nfunction authenticationMethodSummary(accountType?: AmazonWebServicesAccountTypes) {\n return accountType === null\n ? Summary.placeholder(\"Select the Amazon Web Services authentication method\")\n : accountType === AccountType.AmazonWebServicesAccount\n ? Summary.summary(Use an Access Key)\n : Summary.summary(Use OpenID Connect);\n}\nfunction getPageActions(handleSaveClick: (performTest: boolean) => void): PageAction[] {\n return [{ type: \"button\", buttonType: \"secondary\", onClick: () => handleSaveClick(true), label: \"Save and test\" }];\n}\nfunction getTestDialog(accountId: string | undefined, showTestDialog: boolean, onOkClick: (success: boolean) => void): React.ReactNode {\n return (accountId !== undefined && (\n \n ));\n}\nfunction customExpandableFormSections(isNew: boolean, modelState: AmazonWebServicesAccountModel, onAuthenticationMethodChange: (state: AmazonWebServicesAccountModel, accType: AmazonWebServicesAccountTypes, auth: AmazonWebServicesAccessKeyAuth | AmazonWebServicesOidcAuth) => void, onAuthenticationChange: (newState: Pick) => void, getFieldError: (field: string) => string): React.ReactElement[] {\n const baseElements: React.ReactElement[] = [];\n const sectionHeading = isNew ? \"Amazon Web Services Details\" : modelState.accountType === AccountType.AmazonWebServicesAccount ? \"Access Key Details\" : \"OIDC Details\";\n baseElements.push();\n if (isNew) {\n baseElements.push(\n {\n const model = x === AccountType.AmazonWebServicesAccount ? cloneDeep(defaultAmazonWebServicesAuth) : cloneDeep(defaultAmazonWebServicesOidcAuth);\n // eslint-disable-next-line @typescript-eslint/consistent-type-assertions\n onAuthenticationMethodChange(modelState, x as AmazonWebServicesAccountTypes, model);\n }}>\n \n \n \n );\n }\n if (isAccessKeyAccount(modelState.authentication)) {\n baseElements.push(accessKeyExpandableFormSection(modelState.authentication, onAuthenticationChange, getFieldError));\n }\n if (isOidcAccount(modelState.authentication)) {\n baseElements.push(oidcExpandableFormSection(modelState.authentication, onAuthenticationChange, getFieldError));\n }\n return baseElements;\n}\nfunction accessKeyExpandableFormSection(model: AmazonWebServicesAccessKeyAuth, setAccessKeyAuth: (newState: Pick) => void, getFieldError: (field: string) => string): React.ReactElement {\n return (
    \n \n setAccessKeyAuth({ accessKey })} label=\"Access Key\" error={getFieldError(\"AccessKey\")}/>\n \n Refer to the AWS documentation for information on generating access and secret keys.\n \n \n \n setAccessKeyAuth({ secretKey })} label=\"Secret Key\" error={getFieldError(\"SecretKey\")}/>\n \n
    );\n}\nfunction oidcExpandableFormSection(model: AmazonWebServicesOidcAuth, setOidcAuth: (newState: Pick) => void, getFieldError: (field: string) => string): React.ReactElement {\n return (
    \n \n The OpenID Connect feature is still in development. We'd love to hear your feedback.\n \n \n setOidcAuth({ roleArn })} label=\"Role ARN\" error={getFieldError(\"RoleArn\")}/>\n \n \n setOidcAuth({ sessionDuration })} label=\"Session Duration\" error={getFieldError(\"SessionDuration\")}/>\n \n The value can range from 900 seconds (15 minutes) up to the maximum session duration setting for the role. This setting can have a value from 1 hour to 12 hours. If you specify a value higher than this setting, the operation\n fails.\n \n \n \n \n setOidcAuth({ deploymentSubjectKeys: v })} value={model.deploymentSubjectKeys} subjectKeys={AvailableExecutionSubjectKeys}/>\n \n Subject claim formats:\n
    \n Deployment: {generateSampleSubject(model.deploymentSubjectKeys, DefaultDeploymentSubjectKeys, \"deployment\", AvailableDeploymentSubjectKeys)}\n
    \n Runbook: {generateSampleSubject(model.deploymentSubjectKeys, DefaultDeploymentSubjectKeys, \"runbook\", AvailableRunbookSubjectKeys)}\n
    \n If no keys are specified, the subject claim will default to: {DefaultDeploymentSubjectKeys.join(\", \")}. Any keys not selected will not be included in the subject claim.\n
    \n
    \n \n setOidcAuth({ healthSubjectKeys: v })} value={model.healthSubjectKeys} subjectKeys={AvailableHealthCheckSubjectKeys}/>\n \n Subject claim format: \n {generateSampleSubject(model.healthSubjectKeys, DefaultHealthCheckSubjectKeys, \"health\", AvailableHealthCheckSubjectKeys)}\n
    \n If no keys are specified, the subject claim will default to: {DefaultHealthCheckSubjectKeys.join(\", \")}. Any keys not selected will not be included in the subject claim.\n
    \n
    \n \n setOidcAuth({ accountTestSubjectKeys: v })} value={model.accountTestSubjectKeys} subjectKeys={AvailableAccountTestSubjectKeys}/>\n \n Subject claim format: \n {generateSampleSubject(model.accountTestSubjectKeys, DefaultAccountTestSubjectKeys, \"test\", AvailableAccountTestSubjectKeys)}\n
    \n If no keys are specified, the subject claim will default to: {DefaultAccountTestSubjectKeys.join(\", \")}. Any keys not selected will not be included in the subject claim.\n
    \n
    \n
    );\n}\nfunction subjectKeySummary(subjectKeys: string[]) {\n if (subjectKeys && subjectKeys.length > 0) {\n return Summary.summary(subjectKeyChipList(subjectKeys));\n }\n else {\n return Summary.summary(\"Using default subject keys\");\n }\n}\nfunction generateSampleSubject(requestedKeys: string[], defaultKeys: string[], type: string, possibleItems: ReferenceDataItem[]): string {\n const possibleKeys = possibleItems.map((k) => k.Id);\n const keys: string[] = requestedKeys && requestedKeys.length > 0 ? requestedKeys : defaultKeys;\n return keys\n .filter((k) => possibleKeys.indexOf(k) > -1)\n .sort((a, b) => SubjectKeyOrder.indexOf(a) - SubjectKeyOrder.indexOf(b))\n .map((k) => (k === \"type\" ? `type:${type}` : `${k}:[${k}-slug]`))\n .join(\":\");\n}\n","/* eslint-disable @typescript-eslint/consistent-type-assertions */\nimport { Checkbox, RadioButton, RadioButtonGroup, Callout } from \"@octopusdeploy/design-system-components\";\nimport type { PageAction } from \"@octopusdeploy/design-system-components\";\nimport type { AzureEnvironment, AzureOidcAccountResource, AzureServicePrincipalAccountResource, AzureSubscriptionAccountResource, SensitiveValue, ReferenceDataItem } from \"@octopusdeploy/octopus-server-client\";\nimport { AccountType } from \"@octopusdeploy/octopus-server-client\";\nimport { cloneDeep } from \"lodash\";\nimport React from \"react\";\nimport { client } from \"~/clientInstance\";\nimport { subjectKeyChipList } from \"~/components/Chips/index\";\nimport Dialog from \"~/components/Dialog/Dialog\";\nimport { AvailableAccountTestSubjectKeys, AvailableDeploymentSubjectKeys, AvailableExecutionSubjectKeys, AvailableHealthCheckSubjectKeys, AvailableRunbookSubjectKeys, DefaultAccountTestSubjectKeys, DefaultDeploymentSubjectKeys, DefaultHealthCheckSubjectKeys, OpenIdSubjectMultiSelect, SubjectKeyOrder, } from \"~/components/MultiSelect/OpenIdSubjectMultiSelect\";\nimport ExternalLink from \"~/components/Navigation/ExternalLink/ExternalLink\";\nimport { ErrorPanel, ExpandableFormSection, FormSectionHeading, Note, Select, Summary } from \"~/components/form\";\nimport type { Item } from \"~/primitiveComponents/form/Select/Select\";\nimport Sensitive, { ObfuscatedPlaceholder } from \"../../../../components/form/Sensitive/Sensitive\";\nimport SensitiveFileUpload from \"../../../../components/form/SensitiveFileUpload/SensitiveFileUpload\";\nimport Text from \"../../../../primitiveComponents/form/Text/Text\";\nimport type { AccountEditBaseProps, AccountEditModel } from \"./AccountEditBase\";\nimport AccountEditBaseDrawer from \"./AccountEditBaseDrawer\";\nimport AccountEditBasePaper from \"./AccountEditBasePaper\";\nimport { SaveAndTestAzureAccountDialog } from \"./SaveAndTestAccountDialog\";\nimport styles from \"./style.module.less\";\ninterface ServicePrincipalAuth {\n clientId: string;\n tenantId: string;\n password: SensitiveValue;\n resourceManagementBaseUri: string;\n activeDirectoryBaseUri: string;\n}\ninterface ManagementCertAuth {\n certificateBytes: SensitiveValue; // optional cannot send null to API\n certificateThumbprint: string;\n serviceManagementBaseUri: string;\n serviceManagementEndpointSuffix: string;\n}\ninterface AzureOidcAuth {\n clientId: string;\n tenantId: string;\n resourceManagementBaseUri: string;\n activeDirectoryBaseUri: string;\n deploymentSubjectKeys: string[];\n healthSubjectKeys: string[];\n accountTestSubjectKeys: string[];\n audience: string;\n}\ninterface AzureModel extends AccountEditModel {\n subscriptionNumber: string;\n azureEnvironment: string;\n usingAzureEnvironment: boolean;\n accountType: AzureAccountTypes;\n authentication: ServicePrincipalAuth | ManagementCertAuth | AzureOidcAuth;\n}\nconst defaultServicePrincipal: ServicePrincipalAuth = {\n password: {\n HasValue: false,\n },\n clientId: \"\",\n tenantId: \"\",\n activeDirectoryBaseUri: \"\",\n resourceManagementBaseUri: \"\",\n};\nconst defaultAzureOidc: AzureOidcAuth = {\n clientId: \"\",\n tenantId: \"\",\n activeDirectoryBaseUri: \"\",\n resourceManagementBaseUri: \"\",\n deploymentSubjectKeys: [],\n healthSubjectKeys: [],\n accountTestSubjectKeys: [],\n audience: \"api://AzureADTokenExchange\",\n};\nconst defaultManagementCertificate: ManagementCertAuth = {\n certificateBytes: {\n HasValue: false,\n },\n certificateThumbprint: \"\",\n serviceManagementBaseUri: \"\",\n serviceManagementEndpointSuffix: \"\",\n};\ntype AzureAccountTypes = AccountType.AzureSubscription | AccountType.AzureServicePrincipal | AccountType.AzureOidc;\ntype AzureAccountResources = AzureServicePrincipalAccountResource | AzureSubscriptionAccountResource | AzureOidcAccountResource;\nexport default function AzureAccountEdit(props: AccountEditBaseProps) {\n switch (props.type) {\n case \"paper\":\n return ;\n case \"drawer\":\n return ;\n default:\n return ;\n }\n}\ninterface ExpandableFormSectionChanges {\n subscriptionId: (value: string) => void;\n accountType: (value: string) => void;\n azureEnvironmentCheckbox: (value: boolean) => void;\n azureEnvironmentFields: (value: string | undefined) => void;\n}\ninterface ServicePrincipalAndOidcExpandableFormSectionChanges {\n tenantId: (value: string) => void;\n clientId: (value: string) => void;\n deploymentSubjectKeys: (value: string[]) => void;\n healthSubjectKeys: (value: string[]) => void;\n accountTestSubjectKeys: (value: string[]) => void;\n audience: (value: string) => void;\n password: (value: SensitiveValue) => void;\n}\ninterface ManagementCertificateExpandableEnvironmentFormSectionsOnChange {\n serviceManagementBaseUri: (value: string) => void;\n serviceManagementEndpointSuffix: (value: string) => void;\n}\ninterface AAdAndResourceManagerExpandableEnvironmentFormSectionsOnChange {\n activeDirectoryBaseUri: (value: string) => void;\n resourceManagementBaseUri: (value: string) => void;\n}\ninterface ManagementCertificateExpandableFormSectionsOnChange {\n certificateBytes: (value: SensitiveValue) => void;\n}\ntype FormOnChange = ExpandableFormSectionChanges & ServicePrincipalAndOidcExpandableFormSectionChanges & ManagementCertificateExpandableEnvironmentFormSectionsOnChange & AAdAndResourceManagerExpandableEnvironmentFormSectionsOnChange & ManagementCertificateExpandableFormSectionsOnChange;\nclass AzureAccountEditPaper extends AccountEditBasePaper {\n getPartialModel(account?: AzureAccountResources) {\n return getPartialModel(account);\n }\n getPartialResource() {\n return getPartialResource(this.state.model);\n }\n getPageActions() {\n return getPageActions(() => this.handleSaveClick(true));\n }\n getTestDialog() {\n return getTestDialog(this.state.accountData?.account?.Id, this.state.showTestDialog, (success: boolean) => this.onTestDone(success));\n }\n customExpandableFormSections() {\n return customExpandableFormSections(this.state.model, this.state.accountData === undefined, this.props.azureEnvironments, this.state.accountData?.account.Links.PublicKey, new AzureAccountChangeHandlers(this.props.azureEnvironments, this.state.model, (state, callback) => this.setModelState(state, callback)).getOnChangeHandlers(), this.getFieldError);\n }\n}\nclass AzureAccountEditDrawer extends AccountEditBaseDrawer {\n getPartialModel(account?: AzureAccountResources) {\n return getPartialModel(account);\n }\n getPartialResource() {\n return getPartialResource(this.state.model);\n }\n getPageActions() {\n return getPageActions(() => this.handleSaveClick(true));\n }\n getTestDialog() {\n return getTestDialog(this.state.accountData?.account?.Id, this.state.showTestDialog, (success: boolean) => this.onTestDone(success));\n }\n customExpandableFormSections() {\n return customExpandableFormSections(this.state.model, this.state.accountData === undefined, this.props.azureEnvironments, this.state.accountData?.account.Links.PublicKey, new AzureAccountChangeHandlers(this.props.azureEnvironments, this.state.model, (state, callback) => this.setModelState(state, callback)).getOnChangeHandlers(), this.getFieldError);\n }\n}\nclass AzureAccountChangeHandlers {\n constructor(private readonly azureEnvironments: AzureEnvironment[], private readonly modelState: AzureModel, private readonly setModelState: (state: Pick, callback?: () => void) => void) { }\n setManagementCertAuth(state: Pick) {\n this.setModelState({\n ...this.modelState,\n authentication: {\n ...this.modelState.authentication,\n ...state,\n },\n });\n }\n setServicePrincipalAuth(state: Pick) {\n this.setModelState({\n ...this.modelState,\n authentication: {\n ...this.modelState.authentication,\n ...state,\n },\n });\n }\n setOidcAuth(state: Pick) {\n this.setModelState({\n ...this.modelState,\n authentication: {\n ...this.modelState.authentication,\n ...state,\n },\n });\n }\n setAzureEnvironmentCheckbox(v: boolean) {\n const updatedModelState = { ...this.modelState, usingAzureEnvironment: v };\n if (v === false) {\n updatedModelState.azureEnvironment = \"\";\n updatedModelState.authentication = {\n ...updatedModelState.authentication,\n serviceManagementEndpointSuffix: \"\",\n serviceManagementBaseUri: \"\",\n activeDirectoryBaseUri: \"\",\n resourceManagementBaseUri: \"\",\n };\n }\n this.setModelState(updatedModelState);\n }\n clearAzureEnvironmentFields() {\n const updatedModelState = { ...this.modelState, azureEnvironment: \"\" };\n if (isManagementCertificateAccount(updatedModelState.authentication)) {\n updatedModelState.authentication = {\n ...updatedModelState.authentication,\n serviceManagementEndpointSuffix: \"\",\n serviceManagementBaseUri: \"\",\n };\n }\n if (isServicePrincipalAccount(updatedModelState.authentication) || isOidcAccount(updatedModelState.authentication)) {\n updatedModelState.authentication = {\n ...updatedModelState.authentication,\n activeDirectoryBaseUri: \"\",\n resourceManagementBaseUri: \"\",\n };\n }\n this.setModelState(updatedModelState);\n }\n setAzureEnvironmentFields(environmentName: string | undefined) {\n if (!environmentName) {\n this.clearAzureEnvironmentFields();\n }\n else {\n const environment = this.azureEnvironments.find((x) => x.Name === environmentName);\n const updatedModelState = { ...this.modelState, azureEnvironment: environmentName };\n if (!environment) {\n return;\n }\n if (isServicePrincipalAccount(this.modelState.authentication) || isOidcAccount(this.modelState.authentication)) {\n updatedModelState.authentication = {\n ...updatedModelState.authentication,\n activeDirectoryBaseUri: environment.AuthenticationEndpoint,\n resourceManagementBaseUri: environment.ResourceManagerEndpoint,\n };\n }\n if (isManagementCertificateAccount(this.modelState.authentication)) {\n updatedModelState.authentication = {\n ...updatedModelState.authentication,\n serviceManagementEndpointSuffix: environment.StorageEndpointSuffix,\n serviceManagementBaseUri: environment.ManagementEndpoint,\n };\n }\n this.setModelState({ ...updatedModelState });\n }\n }\n getOnChangeHandlers(): FormOnChange {\n return {\n subscriptionId: (subscriptionNumber) => this.setModelState({ ...this.modelState, subscriptionNumber }),\n accountType: (x) => {\n const model = x === AccountType.AzureServicePrincipal ? cloneDeep(defaultServicePrincipal) : x === AccountType.AzureOidc ? cloneDeep(defaultAzureOidc) : cloneDeep(defaultManagementCertificate);\n this.setModelState({\n ...this.modelState,\n accountType: x as AzureAccountTypes,\n authentication: {\n ...model,\n },\n });\n },\n azureEnvironmentCheckbox: (v) => this.setAzureEnvironmentCheckbox(v),\n azureEnvironmentFields: (v) => this.setAzureEnvironmentFields(v),\n tenantId: (value) => (isServicePrincipalAccount(this.modelState.authentication) ? this.setServicePrincipalAuth({ tenantId: value }) : this.setOidcAuth({ tenantId: value })),\n clientId: (value) => (isServicePrincipalAccount(this.modelState.authentication) ? this.setServicePrincipalAuth({ clientId: value }) : this.setOidcAuth({ clientId: value })),\n deploymentSubjectKeys: (v: string[]) => this.setOidcAuth({ deploymentSubjectKeys: v }),\n healthSubjectKeys: (v: string[]) => this.setOidcAuth({ healthSubjectKeys: v }),\n accountTestSubjectKeys: (v: string[]) => this.setOidcAuth({ accountTestSubjectKeys: v }),\n audience: (value) => this.setOidcAuth({ audience: value }),\n password: (value) => this.setServicePrincipalAuth({ password: value }),\n certificateBytes: (value) => this.setManagementCertAuth({ certificateBytes: value }),\n activeDirectoryBaseUri: (value) => this.setServicePrincipalAuth({ activeDirectoryBaseUri: value }),\n serviceManagementBaseUri: (value) => this.setManagementCertAuth({ serviceManagementBaseUri: value }),\n resourceManagementBaseUri: (value) => this.setServicePrincipalAuth({ resourceManagementBaseUri: value }),\n serviceManagementEndpointSuffix: (value) => this.setManagementCertAuth({ serviceManagementEndpointSuffix: value }),\n };\n }\n}\nfunction getPartialModel(account?: AzureAccountResources): Partial | undefined {\n if (!account) {\n return {\n accountType: AccountType.AzureServicePrincipal,\n authentication: cloneDeep(defaultServicePrincipal),\n azureEnvironment: \"\",\n };\n }\n const model = {\n accountType: account.AccountType as AzureAccountTypes,\n subscriptionNumber: account.SubscriptionNumber,\n azureEnvironment: account.AzureEnvironment,\n };\n if (account.AccountType === AccountType.AzureServicePrincipal) {\n const spAccount = account as AzureServicePrincipalAccountResource;\n const usingAzureEnvironment = !!account.AzureEnvironment || !!spAccount.ActiveDirectoryEndpointBaseUri || !!spAccount.ResourceManagementEndpointBaseUri;\n return {\n ...model,\n usingAzureEnvironment,\n authentication: {\n password: spAccount.Password,\n tenantId: spAccount.TenantId,\n clientId: spAccount.ClientId,\n activeDirectoryBaseUri: spAccount.ActiveDirectoryEndpointBaseUri,\n resourceManagementBaseUri: spAccount.ResourceManagementEndpointBaseUri,\n },\n };\n }\n else if (account.AccountType === AccountType.AzureOidc) {\n const oidcAccount = account as AzureOidcAccountResource;\n const usingAzureEnvironment = !!account.AzureEnvironment || !!oidcAccount.ActiveDirectoryEndpointBaseUri || !!oidcAccount.ResourceManagementEndpointBaseUri;\n return {\n ...model,\n usingAzureEnvironment,\n authentication: {\n tenantId: oidcAccount.TenantId,\n clientId: oidcAccount.ClientId,\n activeDirectoryBaseUri: oidcAccount.ActiveDirectoryEndpointBaseUri,\n resourceManagementBaseUri: oidcAccount.ResourceManagementEndpointBaseUri,\n deploymentSubjectKeys: oidcAccount.DeploymentSubjectKeys,\n healthSubjectKeys: oidcAccount.HealthCheckSubjectKeys,\n accountTestSubjectKeys: oidcAccount.AccountTestSubjectKeys,\n audience: oidcAccount.Audience,\n },\n };\n }\n else if (account.AccountType === AccountType.AzureSubscription) {\n const mgtCertAccount = account as AzureSubscriptionAccountResource;\n const usingAzureEnvironment = !!account.AzureEnvironment || !!mgtCertAccount.ServiceManagementEndpointBaseUri || !!mgtCertAccount.ServiceManagementEndpointSuffix;\n return {\n ...model,\n usingAzureEnvironment,\n authentication: {\n certificateBytes: mgtCertAccount.CertificateBytes,\n certificateThumbprint: mgtCertAccount.CertificateThumbprint,\n serviceManagementBaseUri: mgtCertAccount.ServiceManagementEndpointBaseUri,\n serviceManagementEndpointSuffix: mgtCertAccount.ServiceManagementEndpointSuffix,\n },\n };\n }\n}\nfunction isManagementCertificateAccount(variable: object): variable is ManagementCertAuth {\n return (variable as ManagementCertAuth).certificateThumbprint !== undefined;\n}\nfunction isServicePrincipalAccount(variable: object): variable is ServicePrincipalAuth {\n return (variable as ServicePrincipalAuth).password !== undefined;\n}\nfunction isOidcAccount(variable: object): variable is AzureOidcAuth {\n return (variable as AzureOidcAuth).clientId !== undefined && \"password\" in variable === false;\n}\nfunction getPartialResource(modelState: AzureModel): (Partial & {\n AccountType: AccountType;\n}) | undefined {\n const resource = {\n AccountType: modelState.accountType,\n AzureEnvironment: modelState.azureEnvironment,\n SubscriptionNumber: modelState.subscriptionNumber,\n };\n if (isManagementCertificateAccount(modelState.authentication)) {\n return {\n ...resource,\n CertificateBytes: modelState.authentication.certificateBytes,\n ServiceManagementEndpointBaseUri: modelState.authentication.serviceManagementBaseUri,\n ServiceManagementEndpointSuffix: modelState.authentication.serviceManagementEndpointSuffix,\n };\n }\n else if (isServicePrincipalAccount(modelState.authentication)) {\n return {\n ...resource,\n Password: modelState.authentication.password,\n TenantId: modelState.authentication.tenantId,\n ClientId: modelState.authentication.clientId,\n ActiveDirectoryEndpointBaseUri: modelState.authentication.activeDirectoryBaseUri,\n ResourceManagementEndpointBaseUri: modelState.authentication.resourceManagementBaseUri,\n };\n }\n else {\n return {\n ...resource,\n TenantId: modelState.authentication.tenantId,\n ClientId: modelState.authentication.clientId,\n Audience: modelState.authentication.audience,\n ActiveDirectoryEndpointBaseUri: modelState.authentication.activeDirectoryBaseUri,\n ResourceManagementEndpointBaseUri: modelState.authentication.resourceManagementBaseUri,\n DeploymentSubjectKeys: modelState.authentication.deploymentSubjectKeys,\n HealthCheckSubjectKeys: modelState.authentication.healthSubjectKeys,\n AccountTestSubjectKeys: modelState.authentication.accountTestSubjectKeys,\n };\n }\n}\nfunction subscriptionSummary(modelState: AzureModel) {\n return modelState.subscriptionNumber ? Summary.summary(modelState.subscriptionNumber) : Summary.placeholder(\"No subscription provided\");\n}\nfunction clientIdSummary(model: ServicePrincipalAuth | AzureOidcAuth) {\n return model.clientId ? Summary.summary(model.clientId) : Summary.placeholder(\"No client\\\\application ID provided\");\n}\nfunction tenantIdSummary(model: ServicePrincipalAuth | AzureOidcAuth) {\n return model.tenantId ? Summary.summary(model.tenantId) : Summary.placeholder(\"No tenant ID provided\");\n}\nfunction audienceSummary(model: AzureOidcAuth) {\n return model.audience ? Summary.summary(model.audience) : Summary.placeholder(\"Federated Identity audience\");\n}\nfunction passwordSummary(model: ServicePrincipalAuth) {\n return model.password && model.password.HasValue ? Summary.summary(ObfuscatedPlaceholder) : Summary.placeholder(\"No password provided\");\n}\nfunction resourceManagementUriSummary(model: ServicePrincipalAuth | AzureOidcAuth) {\n return model.resourceManagementBaseUri ? Summary.summary(model.resourceManagementBaseUri) : Summary.placeholder(\"The default endpoint is not being overridden\");\n}\nfunction activeDirectoryUriSummary(model: ServicePrincipalAuth | AzureOidcAuth) {\n return model.activeDirectoryBaseUri ? Summary.summary(model.activeDirectoryBaseUri) : Summary.placeholder(\"The default endpoint is not being overridden\");\n}\nfunction serviceManagementUriSummary(model: ManagementCertAuth) {\n return model.serviceManagementBaseUri ? Summary.summary(model.serviceManagementBaseUri) : Summary.placeholder(\"The default base URI is not being overridden\");\n}\nfunction serviceManagementEndpointSuffixSummary(model: ManagementCertAuth) {\n return model.serviceManagementEndpointSuffix ? Summary.summary(model.serviceManagementEndpointSuffix) : Summary.placeholder(\"The default endpoint suffix is not being overridden\");\n}\nfunction managementCertificateSummary(model: ManagementCertAuth) {\n if (!model.certificateBytes) {\n return Summary.placeholder(\"No certificate provided\");\n }\n if (!model.certificateBytes.HasValue) {\n return Summary.placeholder(\"No certificate provided\");\n }\n if (!model.certificateBytes.NewValue) {\n return Summary.summary(model.certificateThumbprint);\n }\n return Summary.summary(\"New certificate selected to be uploaded\");\n}\nfunction subjectKeySummary(subjectKeys: string[]) {\n if (subjectKeys && subjectKeys.length > 0) {\n return Summary.summary(subjectKeyChipList(subjectKeys));\n }\n else {\n return Summary.summary(\"Using default subject keys\");\n }\n}\nfunction azureEnvironmentCheckboxSummary(modelState: AzureModel) {\n return modelState.azureEnvironment !== \"\"\n ? Summary.summary(\n Selected the {modelState.azureEnvironment} Azure Environment\n )\n : Summary.placeholder(\n Using the default AzureCloud Environment\n );\n}\nfunction resourceManagementUriLabel(modelState: AzureModel) {\n return modelState.azureEnvironment === \"\" ? \"Select an Azure Environment to be able to edit this field\" : \"Resource Management Endpoint Base Uri\";\n}\nfunction authenticationMethodSummary(modelState: AzureModel) {\n return modelState.accountType === null\n ? Summary.placeholder(\"Select the Azure authentication method\")\n : modelState.accountType === AccountType.AzureServicePrincipal\n ? Summary.summary(Use a Service Principal)\n : isOidcAccount(modelState.authentication)\n ? Summary.summary(Use OpenID Connect)\n : Summary.summary(Use a Management Certificate);\n}\nfunction activeDirectoryURILabel(modelState: AzureModel) {\n return modelState.azureEnvironment === \"\" ? \"Select an Azure Environment to be able to edit this field\" : \"Active Directory Endpoint Base Uri\";\n}\nfunction serviceManagementBaseUriLabel(modelState: AzureModel) {\n return modelState.azureEnvironment === \"\" ? \"Select an Azure Environment to be able to edit this field\" : \"Service Management Endpoint Base Uri\";\n}\nfunction serviceManagementEndpointSuffixLabel(modelState: AzureModel) {\n return modelState.azureEnvironment === \"\" ? \"Select an Azure Environment to be able to edit this field\" : \"Service Management Endpoint Suffix\";\n}\nfunction getPageActions(onClick: () => void): PageAction[] {\n return [{ type: \"button\", buttonType: \"secondary\", onClick, label: \"Save and test\" }];\n}\nfunction getTestDialog(accountId: string | undefined, showTestDialog: boolean, onOkClick: (success: boolean) => void): React.ReactNode {\n return (accountId && (\n \n ));\n}\nfunction customExpandableFormSections(modelState: AzureModel, isNew: boolean, azureEnvironments: AzureEnvironment[], publicKey: string | undefined, onChange: FormOnChange, getFieldError: (field: string) => string): React.ReactElement[] {\n const baseElements: React.ReactElement[] = [];\n const sectionHeading = isNew ? \"Azure Details\" : getAccountDescription(modelState);\n baseElements.push(, \n \n );\n if (isNew) {\n baseElements.push(\n \n \n \n \n \n );\n }\n if (isServicePrincipalAccount(modelState.authentication) || isOidcAccount(modelState.authentication)) {\n baseElements.push(servicePrincipalAndOidcExpandableFormSections(modelState.authentication, modelState, onChange, getFieldError));\n }\n if (isManagementCertificateAccount(modelState.authentication)) {\n baseElements.push(managementCertificateExpandableFormSections(modelState.authentication, publicKey, onChange));\n }\n baseElements.push(, \n Check this box only if you are using an isolated Azure Environment. Learn more about them here.\n } containerKey=\"AccountEdit\">\n \n {modelState.usingAzureEnvironment && (
    \n props.onChange(value as FeedType)} items={items} label=\"Feed type\" disabled={props.disabled} autoFocus={props.autoFocus}/>;\n};\nFeedTypeSelect.displayName = \"FeedTypeSelect\"\n","import FormBaseComponent, { type OptionalFormBaseComponentState } from \"./FormBaseComponent\";\nexport { FormBaseComponent };\nexport type { OptionalFormBaseComponentState };\nexport default FormBaseComponent;\n","/* eslint-disable @typescript-eslint/no-non-null-assertion */\n/* eslint-disable no-eq-null */\n/* eslint-disable @typescript-eslint/consistent-type-assertions */\nimport { Callout, type PageAction } from \"@octopusdeploy/design-system-components\";\nimport type { ExternalFeedResource } from \"@octopusdeploy/octopus-server-client\";\nimport { FeedType, Permission } from \"@octopusdeploy/octopus-server-client\";\nimport { useTrackEvent } from \"@octopusdeploy/portal-analytics\";\nimport { links } from \"@octopusdeploy/portal-routes\";\nimport { isEqual, cloneDeep } from \"lodash\";\nimport * as React from \"react\";\nimport type { ActionEvent, AnalyticActionDispatcher, AnalyticTrackedActionDispatcher } from \"~/analytics/Analytics\";\nimport { Action, AnalyticView, useAnalyticActionDispatch, useAnalyticTrackedActionDispatch } from \"~/analytics/Analytics\";\nimport { createSaveAndTestFeedAnalyticsEvent, createSaveFeedAnalyticsEvent } from \"~/areas/library/components/ExternalFeeds/amplitudeTracking\";\nimport { repository } from \"~/clientInstance\";\nimport type { DoBusyTask, Errors } from \"~/components/DataBaseComponent/index\";\nimport { FeedTypeSelect } from \"~/components/FeedTypeSelect/FeedTypeSelect\";\nimport type { OptionalFormBaseComponentState } from \"~/components/FormBaseComponent\";\nimport FormBaseComponent from \"~/components/FormBaseComponent\";\nimport { LegacyForm } from \"~/components/FormPaperLayout/LegacyForm\";\nimport InternalRedirect from \"~/components/Navigation/InternalRedirect/InternalRedirect\";\nimport { OverflowMenuItems } from \"~/components/OverflowMenu/OverflowMenu\";\nimport type { ConvertedOverflowMenuItems } from \"~/components/OverflowMenu/OverflowMenuConverterVNext\";\nimport { OverflowMenuConverterVNext } from \"~/components/OverflowMenu/OverflowMenuConverterVNext\";\nimport { PageContent } from \"~/components/PageContent/PageContent\";\nimport { isAllowed } from \"~/components/PermissionCheck/PermissionCheck\";\nimport TransitionAnimation from \"~/components/TransitionAnimation/TransitionAnimation\";\nimport { ExpandableFormSection, Summary, Text, Note, required } from \"~/components/form\";\nimport NameSummaryWithSlug from \"~/primitiveComponents/form/Slugs/NameSummaryWithSlug\";\nimport SlugEditor from \"~/primitiveComponents/form/Slugs/SlugEditor\";\nimport StringHelper from \"~/utils/StringHelper\";\nimport feedTypeRegistry from \"./FeedTypes\";\nexport interface ExternalFeedProps {\n spaceId: string;\n create?: boolean;\n feedId?: string;\n callout?: React.ReactNode;\n}\nexport type ExternalFeedPropsInternal = FormStateChanged & {\n trackAction: AnalyticTrackedActionDispatcher;\n dispatchAction: AnalyticActionDispatcher;\n spaceId: string;\n create?: boolean;\n feedId?: string;\n onStateTransition?: (currentState: ExternalFeedStateTypes | null, newState: ExternalFeedStateTypes) => void;\n expandableContainerKey?: string;\n allowedFeedTypes?: FeedType[];\n};\nexport type ExternalFeedStateTypes = ExternalFeedCreateState | ExternalFeedNewState | ExternalFeedEditState | ExternalFeedTestState | ExternalFeedDeleteState;\nexport interface CommonStateTransitionProps {\n primaryAction?: PageAction;\n secondaryActions?: PageAction[];\n overflowMenuItems?: ConvertedOverflowMenuItems;\n}\nexport type ExternalFeedCreateState = CommonStateTransitionProps & {\n state: \"create\";\n};\nexport type ExternalFeedNewState = CommonStateTransitionProps & {\n state: \"new\";\n feedId: string;\n feed: ExternalFeedResource | undefined;\n};\nexport type ExternalFeedEditState = CommonStateTransitionProps & {\n state: \"edit\";\n feedId: string;\n feed: ExternalFeedResource | undefined;\n};\nexport type ExternalFeedTestState = CommonStateTransitionProps & {\n state: \"test\";\n feedId: string;\n feed: ExternalFeedResource | undefined;\n};\nexport type ExternalFeedDeleteState = CommonStateTransitionProps & {\n state: \"delete\";\n};\nexport interface ExternalFeedRouteParams {\n feedId: string;\n}\ninterface FormState {\n model: ExternalFeedResource | undefined;\n cleanModel: ExternalFeedResource | undefined;\n busy: Promise | undefined;\n errors?: Errors;\n}\nexport interface FormStateChanged {\n onFormStateChanged: (newState: FormState) => void;\n}\ninterface ExternalFeedState extends OptionalFormBaseComponentState {\n deleted: boolean;\n newId: string;\n test: boolean;\n}\nexport const ExternalFeedInPaperLayout = (props: ExternalFeedProps) => {\n const trackAction = useAnalyticTrackedActionDispatch();\n const dispatchAction = useAnalyticActionDispatch();\n const [state, setState] = React.useState({\n state: \"create\",\n });\n const [formState, setFormState] = React.useState({\n busy: undefined,\n model: undefined,\n errors: undefined,\n cleanModel: undefined,\n });\n const [primaryAction, setPrimaryAction] = React.useState();\n const [secondaryActions, setSecondaryActions] = React.useState();\n const [overflowMenuItems, setOverflowMenuItems] = React.useState();\n const trackEvent = useTrackEvent();\n const onStateTransition = (currentState: ExternalFeedStateTypes | null, newState: ExternalFeedStateTypes) => {\n setState(newState);\n setPrimaryAction(newState.primaryAction);\n setSecondaryActions(newState.secondaryActions);\n setOverflowMenuItems(newState.overflowMenuItems);\n };\n const title = state.state === \"create\" ? \"Create Feed\" : formState.model ? formState.model.Name : StringHelper.ellipsis;\n const saveText: string = state.state ? \"Feed created\" : \"Feed details updated\";\n if (state.state === \"delete\") {\n return ;\n }\n if (state.state === \"new\") {\n trackEvent(createSaveFeedAnalyticsEvent({\n Location: \"Page\",\n \"Feed Type\": state.feed?.FeedType,\n }));\n return ;\n }\n if (state.state === \"test\") {\n trackEvent(createSaveAndTestFeedAnalyticsEvent({\n Location: \"Page\",\n \"Feed Type\": state.feed?.FeedType,\n }));\n return ;\n }\n const feedId = formState.model?.Id ?? props.feedId;\n return ( {\n if (primaryAction?.type === \"button\")\n primaryAction.onClick(undefined);\n }} savePermission={{ permission: [Permission.FeedEdit] }} saveText={saveText}>\n {({ FormContent, createSaveAction }) => (\n {overflowMenuItems && overflowMenuItems.dialogs}\n \n \n \n )}\n );\n};\nexport class ExternalFeedInternal extends FormBaseComponent {\n constructor(props: ExternalFeedPropsInternal) {\n super(props);\n this.state = {\n deleted: false,\n newId: null!,\n test: false,\n };\n }\n async componentDidMount() {\n await this.doBusyTask(async () => {\n if (this.props.create) {\n this.resetModel();\n }\n else if (this.props.feedId) {\n const feed = (await repository.Feeds.get(this.props.feedId)) as ExternalFeedResource;\n this.setState({\n model: feed,\n cleanModel: cloneDeep(feed),\n });\n }\n });\n }\n componentDidUpdate(prevProps: ExternalFeedPropsInternal, prevState: ExternalFeedState) {\n if (prevState.busy !== this.state.busy || prevState.model !== this.state.model || prevState.cleanModel !== this.state.cleanModel || prevState.test !== this.state.test || prevState.deleted !== this.state.deleted) {\n this.notifyFormStateChanged();\n }\n }\n private notifyFormStateChanged() {\n this.props.onFormStateChanged({\n busy: this.state.busy,\n model: this.state.model,\n cleanModel: this.state.cleanModel,\n errors: this.errors,\n });\n const isDirty = this.isDirty();\n const overFlowActions = [];\n if (!this.props.create && !!this.state.model) {\n overFlowActions.push(OverflowMenuItems.deleteItemDefault(\"feed\", this.handleDeleteConfirm, { permission: [Permission.FeedEdit] }, undefined, \n {`If you are using Config as Code, please check your deployment and runbook OCL files for steps with 'packages' fields referring to '${this.state.model.Slug}' before deleting.`}\n ));\n overFlowActions.push([\n OverflowMenuItems.navItem(\"Audit Trail\", links.auditPage.generateUrl({ regardingAny: [this.state.model.Id] }), {\n permission: Permission.EventView,\n wildcard: true,\n }),\n ]);\n }\n const pageActions: PageAction[] = [\n {\n type: \"button\",\n buttonType: \"secondary\",\n hasPermissions: isAllowed({ permission: Permission.FeedEdit }),\n label: isDirty || !this.state.model || !this.state.model.Id ? \"Save and test\" : \"Test\",\n busyLabel: isDirty ? \"Saving...\" : \"Testing...\",\n onClick: this.handleTestClick,\n disabled: !this.saveAndTestButtonIsEnabled(),\n },\n ];\n const commonProps: Omit = {\n primaryAction: {\n type: \"button\",\n buttonType: \"secondary\",\n hasPermissions: isAllowed({ permission: Permission.FeedEdit }),\n label: \"Save\",\n busyLabel: \"Saving...\",\n onClick: () => {\n this.handleSaveClick();\n },\n },\n secondaryActions: pageActions,\n overflowMenuItems: OverflowMenuConverterVNext.convertAll(overFlowActions),\n };\n if (this.props.create && !this.state.newId) {\n this.props.onStateTransition?.(null, {\n state: \"create\",\n ...commonProps,\n });\n }\n else {\n const state = this.state.test ? \"test\" : this.state.newId ? \"new\" : null;\n if (this.state.deleted) {\n this.props.onStateTransition?.(null, {\n state: \"delete\",\n ...commonProps,\n });\n }\n else if (state !== null) {\n this.props.onStateTransition?.(null, {\n state: state,\n feedId: this.state.newId ? this.state.newId : this.state.model!.Id,\n feed: this.state.model,\n ...commonProps,\n });\n }\n else if (this.state.model) {\n this.props.onStateTransition?.(null, {\n state: \"edit\",\n feedId: this.state.newId ? this.state.newId : this.state.model!.Id,\n feed: this.state.model,\n ...commonProps,\n });\n }\n }\n }\n private getDefaultFeed(): ExternalFeedResource {\n const commonProps = {\n Id: null!,\n FeedUri: null!,\n Name: null!,\n DownloadAttempts: 5,\n DownloadRetryBackoffSeconds: 10,\n Links: null!,\n SpaceId: this.props.spaceId,\n };\n if (this.props.allowedFeedTypes === undefined || this.props.allowedFeedTypes.length === 0 || this.props.allowedFeedTypes.some((f) => f === FeedType.Nuget)) {\n return {\n ...commonProps,\n FeedType: FeedType.Nuget,\n EnhancedMode: false,\n };\n }\n const feedType = this.props.allowedFeedTypes[0];\n switch (feedType) {\n case FeedType.Nuget:\n return {\n ...commonProps,\n FeedType: FeedType.Nuget,\n EnhancedMode: false,\n };\n case FeedType.Docker:\n return {\n ...commonProps,\n FeedType: FeedType.Docker,\n RegistryPath: \"\",\n Username: \"\",\n Password: { HasValue: false, NewValue: \"\" },\n };\n case FeedType.Maven:\n return {\n ...commonProps,\n FeedType: FeedType.Maven,\n };\n case FeedType.GitHub:\n return {\n ...commonProps,\n FeedType: FeedType.GitHub,\n Username: \"\",\n Password: { HasValue: false, NewValue: \"\" },\n };\n case FeedType.BuiltIn:\n break;\n case FeedType.OctopusProject:\n break;\n case FeedType.Helm:\n return {\n ...commonProps,\n FeedType: FeedType.Helm,\n };\n case FeedType.OciRegistry:\n return {\n ...commonProps,\n FeedType: FeedType.OciRegistry,\n Username: \"\",\n Password: { HasValue: false, NewValue: \"\" },\n };\n case FeedType.S3:\n return {\n ...commonProps,\n FeedType: FeedType.S3,\n AccessKey: \"\",\n SecretKey: { HasValue: false, NewValue: \"\" },\n UseMachineCredentials: false,\n };\n case FeedType.AzureContainerRegistry:\n return {\n ...commonProps,\n FeedType: FeedType.AzureContainerRegistry,\n RegistryPath: \"\",\n Username: \"\",\n Password: { HasValue: false, NewValue: \"\" },\n };\n case FeedType.GoogleContainerRegistry:\n return {\n ...commonProps,\n FeedType: FeedType.GoogleContainerRegistry,\n RegistryPath: \"\",\n Username: \"\",\n Password: { HasValue: false, NewValue: \"\" },\n };\n case FeedType.AwsElasticContainerRegistry:\n return {\n ...commonProps,\n FeedType: feedType,\n Region: \"\",\n AccessKey: \"\",\n SecretKey: { HasValue: false, NewValue: \"\" },\n };\n }\n return {\n ...commonProps,\n FeedType: FeedType.Nuget,\n EnhancedMode: false,\n };\n }\n private resetModel() {\n const feed: ExternalFeedResource = this.getDefaultFeed();\n this.setState({\n model: feed,\n cleanModel: cloneDeep(feed),\n });\n }\n isDirty() {\n return !isEqual(this.state.model, this.state.cleanModel);\n }\n render() {\n return (<>\n {this.state.model && !this.state.newId && !this.state.test && !this.props.create && }\n {this.state.model && ( {\n this.setModelState(state);\n }} doBusyTask={this.doBusyTask.bind(this)} getFieldError={this.getFieldError.bind(this)} cleanModelSlug={this.state.cleanModel?.Slug} expandableContainerKey={this.props.expandableContainerKey} allowedFeedTypes={this.props.allowedFeedTypes}/>)}\n );\n }\n private saveAndTestButtonIsEnabled() {\n if (this.state.busy) {\n return false;\n }\n if ((this.state.model && this.state.model.Id) || this.state.newId || this.isDirty()) {\n return true;\n }\n return false;\n }\n private handleTestClick = async () => {\n if (this.isDirty()) {\n await this.handleSaveClick(true);\n }\n else {\n const ev: ActionEvent = {\n action: Action.Test,\n resource: \"External Feed\",\n };\n this.props.dispatchAction(\"Test Feed\", ev);\n this.setState({ test: true });\n }\n };\n private handleSaveClick = async (redirectToTest: boolean = false) => {\n await this.doBusyTask(async () => {\n const ev: ActionEvent = {\n action: Action.Save,\n resource: \"External Feed\",\n };\n await this.props.trackAction(redirectToTest ? \"Save and Test Feed\" : \"Save Feed\", ev, async () => {\n const isNew = this.state.model!.Id == null;\n const result = (await repository.Feeds.save(this.state.model!)) as ExternalFeedResource;\n this.setState({\n newId: isNew ? result.Id : null!,\n test: redirectToTest,\n model: result,\n cleanModel: cloneDeep(result),\n });\n });\n });\n };\n private handleDeleteConfirm = async () => {\n const result = await repository.Feeds.del(this.state.model!);\n this.setState((state) => {\n return {\n model: null,\n cleanModel: null, //reset model so that dirty state doesn't prevent navigation\n deleted: true,\n };\n });\n return true;\n };\n static displayName = \"ExternalFeedInternal\";\n}\ninterface ExternalFeedFormProps {\n create?: boolean;\n model: ExternalFeedResource;\n busy?: Promise | undefined;\n cleanModelSlug?: string;\n doBusyTask: DoBusyTask;\n getFieldError: (fieldName: string) => string;\n setModelState: (state: Pick) => void;\n expandableContainerKey?: string;\n allowedFeedTypes?: FeedType[];\n}\nexport const ExternalFeedForm = ({ create, model, busy, doBusyTask, setModelState, getFieldError, cleanModelSlug, expandableContainerKey, allowedFeedTypes }: ExternalFeedFormProps) => {\n const handleFeedTypeChange = (feedType: FeedType) => {\n let feedUri = model.FeedUri;\n if (!feedUri) {\n const registration = feedTypeRegistry.getRegistration(feedType);\n if (registration && registration.uriDefault) {\n feedUri = registration.uriDefault;\n }\n }\n if (feedType !== FeedType.OctopusProject && feedType !== FeedType.BuiltIn) {\n setModelState({ FeedType: feedType, FeedUri: feedUri });\n }\n };\n const renderFeedSpecificSection = (): JSX.Element => {\n const feedRegistration = feedTypeRegistry.getRegistration(model.FeedType);\n if (feedRegistration == null) {\n return null!;\n }\n return (\n {feedRegistration.hasUri && (\n setModelState({ FeedUri })} label=\"Feed url\" validate={required(\"Please enter a feed url\")} error={getFieldError(\"FeedUri\")}/>\n {feedRegistration.uriNotes}\n )}\n setModelState(f)} getFieldError={getFieldError} expandableContainerKey={expandableContainerKey}/>\n );\n };\n const feedRegistration = feedTypeRegistry.getRegistration(model.FeedType);\n return (\n {!create && (\n undefined}/>\n )}\n\n \n \n \n\n {feedRegistration.callout && feedRegistration.callout}\n\n ) : Summary.placeholder(\"Please enter a name for your feed\")} help=\"Enter a name for the external feed.\" containerKey={expandableContainerKey}>\n setModelState({ Name })} label=\"Feed name\" validate={required(\"Please enter a feed name\")} error={getFieldError(\"Name\")} autoFocus={true}/>\n A short, memorable, unique name for this feed. Example: ACME Builds.\n\n {!create && ( setModelState({ Slug })} label=\"Feed slug\" validate={required(\"Please enter a feed slug\")} error={getFieldError(\"Slug\")}/>)}\n \n {renderFeedSpecificSection()}\n );\n};\nexport function ExternalFeed(props: ExternalFeedProps) {\n return ;\n}\n","import { ActionButton, ActionButtonType, Callout } from \"@octopusdeploy/design-system-components\";\nimport type { FeedType, ExternalFeedResource } from \"@octopusdeploy/octopus-server-client\";\nimport { useTrackEvent } from \"@octopusdeploy/portal-analytics\";\nimport { links } from \"@octopusdeploy/portal-routes\";\nimport type { ReactNode } from \"react\";\nimport React, { useState } from \"react\";\nimport { useAnalyticActionDispatch, useAnalyticTrackedActionDispatch } from \"~/analytics/Analytics\";\nimport { ExternalFeedInternal } from \"~/areas/library/components/ExternalFeeds/ExternalFeed\";\nimport type { ExternalFeedStateTypes } from \"~/areas/library/components/ExternalFeeds/ExternalFeed\";\nimport { createSaveAndTestFeedAnalyticsEvent, createSaveFeedAnalyticsEvent } from \"~/areas/library/components/ExternalFeeds/amplitudeTracking\";\nimport { repository } from \"~/clientInstance\";\nimport type { Errors } from \"~/components/DataBaseComponent\";\nimport InternalLink from \"~/components/Navigation/InternalLink/InternalLink\";\nimport { useSpaceAwareNavigation } from \"~/components/Navigation/SpaceAwareNavigation/useSpaceAwareNavigation\";\nimport useLocalStorage from \"~/hooks/useLocalStorage\";\nimport { DrawerWithForm } from \"~/primitiveComponents/dataDisplay/DrawerWithForm/DrawerWithForm\";\nimport StringHelper from \"~/utils/StringHelper\";\ninterface FormState {\n model: ExternalFeedResource | undefined;\n cleanModel: ExternalFeedResource | undefined;\n busy: Promise | undefined;\n errors?: Errors;\n}\nexport interface ExternalFeedDrawerProps {\n isOpen: boolean;\n onClose: () => void;\n onSave: (feed: ExternalFeedResource) => void;\n allowedFeedTypes?: FeedType[];\n analyticsCorrelationId?: string;\n}\nexport const ExternalFeedDrawer = ({ onSave, isOpen, onClose, allowedFeedTypes, analyticsCorrelationId }: ExternalFeedDrawerProps) => {\n const trackAction = useAnalyticTrackedActionDispatch();\n const dispatchAction = useAnalyticActionDispatch();\n const spaceAwareNavigation = useSpaceAwareNavigation();\n const [state, setState] = useState({\n state: \"create\",\n });\n const [calloutDismissed, setCalloutDismissed] = useLocalStorage(`Octopus.Callout.Drawer.ExternalFeed.Dismissed`, false);\n const [formState, setFormState] = useState({\n busy: undefined,\n model: undefined,\n errors: undefined,\n cleanModel: undefined,\n });\n const [actions, setActions] = useState();\n const trackEvent = useTrackEvent();\n const onStateTransition = (currentState: ExternalFeedStateTypes | null, newState: ExternalFeedStateTypes) => {\n setState((prevState) => {\n if (prevState.state !== \"new\" && newState.state === \"new\" && newState.feed) {\n trackEvent(createSaveFeedAnalyticsEvent({\n Location: \"Drawer\",\n \"Feed Type\": newState.feed.FeedType,\n \"Correlation Id\": analyticsCorrelationId,\n }));\n onSave(newState.feed);\n }\n else if (prevState.state !== \"test\" && newState.state === \"test\" && newState.feed) {\n trackEvent(createSaveAndTestFeedAnalyticsEvent({\n Location: \"Drawer\",\n \"Feed Type\": newState.feed.FeedType,\n \"Correlation Id\": analyticsCorrelationId,\n }));\n onSave(newState.feed);\n // eslint-disable-next-line @typescript-eslint/no-non-null-assertion\n spaceAwareNavigation.open(links.testFeedPage.generateUrl({ spaceId: newState.feed.SpaceId ?? repository.spaceId!, feedId: newState.feed.Id }));\n }\n return { ...newState };\n });\n const mappedActions: ReactNode[] = [];\n if (newState.secondaryActions) {\n newState.secondaryActions.map((action) => {\n if (action.type === \"button\")\n mappedActions.push( action.onClick(undefined)} label={action.label} type={ActionButtonType.Secondary}/>);\n });\n }\n const primaryAction = newState.primaryAction;\n if (primaryAction?.type === \"button\") {\n mappedActions.push( primaryAction.onClick(undefined)} label={primaryAction.label} type={ActionButtonType.Primary}/>);\n }\n setActions(mappedActions);\n };\n const onCloseCallout = () => {\n setCalloutDismissed(true);\n };\n const title = state.state === \"create\" ? \"Create Feed\" : formState.model ? formState.model.Name : StringHelper.ellipsis;\n // eslint-disable-next-line @typescript-eslint/no-non-null-assertion\n const spaceId = repository.spaceId!;\n return ( {\n if (state.primaryAction?.type === \"button\")\n state.primaryAction.onClick(undefined);\n }} expandAllOnMount={true} showExpandAll={true} expandableContainerKey={\"ExternalFeedDrawer\"} variant=\"customActions\" customActions={actions} correlationId={analyticsCorrelationId}>\n {!calloutDismissed && state.state === \"create\" ? (\n
    \n After you create this feed, you can find it in{\" \"}\n \n External Feeds\n \n
    \n
    ) : (<>)}\n \n
    );\n};\n","import { css } from \"@emotion/css\";\nimport { ActionButton, ActionButtonType, InlineSnackbar, Callout, Tooltip } from \"@octopusdeploy/design-system-components\";\nimport { space } from \"@octopusdeploy/design-system-tokens\";\nimport { FeedType, getFeedTypeLabel, isOctopusProjectFeed, Permission } from \"@octopusdeploy/octopus-server-client\";\nimport type { FeedResource } from \"@octopusdeploy/octopus-server-client\";\nimport { useTrackEvent } from \"@octopusdeploy/portal-analytics\";\nimport { links } from \"@octopusdeploy/portal-routes\";\nimport cn from \"classnames\";\nimport { useCallback } from \"react\";\nimport * as React from \"react\";\nimport { useCorrelationId } from \"~/analytics/Analytics\";\nimport { ExternalFeedDrawer } from \"~/areas/library/components/ExternalFeeds/ExternalFeedDrawer\";\nimport { createAddFeedAnalyticsEvent } from \"~/areas/library/components/ExternalFeeds/amplitudeTracking\";\nimport { repository } from \"~/clientInstance\";\nimport ActionList from \"~/components/ActionList/index\";\nimport { IconButtonWithTooltip } from \"~/components/IconButtonWithTooltip/index\";\nimport { isAllowed } from \"~/components/PermissionCheck/PermissionCheck\";\nimport SelectWithAddRefresh, { BoundSelectWithAddRefresh } from \"~/components/form/SelectWithAddRefresh/SelectWithAddRefresh\";\ninterface FeedSelectorProps {\n localNames: string[] | undefined;\n allowBoundVariables?: boolean;\n feeds: FeedResource[];\n feedId: string | undefined;\n refreshFeeds: () => Promise;\n onChange: (selectedFeed: FeedResource | string) => void;\n feedSelectLabel?: string;\n autoFocus?: boolean;\n feedIdError?: string;\n feedType?: FeedType[];\n}\nexport const getDefaultFeedId = (feeds: FeedResource[]): string | undefined => {\n if (feeds.length === 0) {\n return undefined;\n }\n const buildtIn = feeds.find((f) => f.FeedType === FeedType.BuiltIn);\n if (buildtIn) {\n return buildtIn.Id;\n }\n return feeds[0].Id;\n};\nconst noFeedsWarningContainerStyles = css({\n display: \"flex\",\n flexDirection: \"column\",\n gap: space[16],\n});\nconst NoFeedsWarning = ({ feedType, disableAdd, addButtonTooltipText, refreshFeeds, handleAddFeed, }: {\n feedType?: FeedType[];\n disableAdd: boolean;\n addButtonTooltipText?: string | undefined;\n refreshFeeds?: () => Promise;\n handleAddFeed?: () => void;\n}) => {\n //We can't just use the passed in refresh feeds handler since it may not expect an event - it's probably more likely to expect a callback\n const handleRefresh = async () => {\n if (refreshFeeds) {\n return refreshFeeds();\n }\n };\n const actions: JSX.Element[] = [];\n const addExternalFeedButton = ;\n actions.push(disableAdd ? {addExternalFeedButton} : addExternalFeedButton);\n actions.push();\n return (
    \n
    Add a {`${getFeedTypeLabel(feedType)}`} as an external package feed
    \n \n
    );\n};\nexport const possibleFeeds = (feeds: FeedResource[], feedType?: FeedType[]) => {\n return feeds.filter((f) => !isOctopusProjectFeed(f.FeedType) && // We will never show the OctopusProject feed when selecting packages\n (!feedType || feedType.length === 0 || feedType.some((feedTypeToCheck) => feedTypeToCheck === f.FeedType)));\n};\nexport const FeedSelector = ({ onChange, refreshFeeds, allowBoundVariables = true, ...props }: FeedSelectorProps) => {\n const [isOpen, setIsOpen] = React.useState(false);\n const [showSnackbar, setShowSnackbar] = React.useState(false);\n const trackEvent = useTrackEvent();\n const analyticsCorrelationId = useCorrelationId();\n const defaultFeedId = getDefaultFeedId(props.feeds);\n let selectedFeedId = props.feedId;\n if (selectedFeedId === null) {\n selectedFeedId = defaultFeedId;\n }\n const feeds = possibleFeeds(props.feeds, props.feedType);\n const feedSelectLabel = props.feedSelectLabel || \"Package feed\";\n const handleOnChange = (feedId: string | undefined) => {\n const feed = props.feeds.find((f) => f.Id === feedId);\n if (feed) {\n onChange(feed);\n }\n else if (feedId !== undefined) {\n onChange(feedId);\n }\n };\n const onClose = () => {\n setIsOpen(false);\n };\n const handleOnSave = useCallback(async (feed: FeedResource) => {\n await refreshFeeds();\n onChange(feed);\n setIsOpen(false);\n setTimeout(() => setShowSnackbar(true), 300);\n }, [refreshFeeds, onChange]);\n const handleAddFeed = () => {\n setIsOpen(true);\n trackEvent(createAddFeedAnalyticsEvent(getFeedTypeLabel(props.feedType), analyticsCorrelationId));\n };\n const feedViewPermissionGranted = isAllowed({ permission: Permission.FeedView, wildcard: true });\n const feedEditPermissionGranted = isAllowed({ permission: Permission.FeedEdit, wildcard: true });\n const addAddFeedButtonTooltipText = feedEditPermissionGranted ? undefined : \"FeedEdit permissions required to add or edit a new feed\";\n if (!feedViewPermissionGranted) {\n return (\n You do not have permission to perform this action. Please contact your Octopus administrator. Missing permission: {Permission.FeedView}\n );\n }\n if (feeds.length === 0) {\n return (<>\n \n \n );\n }\n const commonSelectorProps = {\n items: feeds.map((f) => ({ value: f.Id, text: f.Name })),\n value: selectedFeedId,\n onRequestRefresh: refreshFeeds,\n onChange: handleOnChange,\n autoFocus: props.autoFocus,\n error: props.feedIdError,\n label: feedSelectLabel,\n // eslint-disable-next-line @typescript-eslint/no-non-null-assertion\n addUrl: links.feedsPage.generateUrl({ spaceId: repository.spaceId! }),\n addAction: handleAddFeed,\n disableAdd: !feedEditPermissionGranted,\n addButtonTooltipText: addAddFeedButtonTooltipText,\n };\n return (<>\n {allowBoundVariables && ()}\n {!allowBoundVariables && }\n
    \n setShowSnackbar(false)} autoHideDuration={3000}/>\n
    \n \n );\n};\n","import React from \"react\";\nimport { useOctopusFeatureToggle } from \"~/hooks/useOctopusFeatureToggle\";\nexport function useIsPackageVersionOnActionEnabled() {\n return useOctopusFeatureToggle(\"package-version-on-action\", false);\n}\nexport function PackageVersionOnActionVisibility({ children }: React.PropsWithChildren) {\n const isEnabled = useIsPackageVersionOnActionEnabled();\n return isEnabled ? <>{children} : null;\n}\n","/* eslint-disable @typescript-eslint/no-non-null-assertion */\n/* eslint-disable no-eq-null */\nimport { Callout } from \"@octopusdeploy/design-system-components\";\nimport type { FeedResource } from \"@octopusdeploy/octopus-server-client\";\nimport { FeedType, isOctopusProjectFeed, OctopusError, feedTypeCanSearchEmpty } from \"@octopusdeploy/octopus-server-client\";\nimport _ from \"lodash\";\nimport * as React from \"react\";\nimport { CalloutPrimaryPackageFeedTriggerConnections } from \"~/areas/projects/components/Triggers/ProcessCallouts/CalloutPrimaryPackageFeedTriggerConnections\";\nimport type { RelatedTriggersDependencies } from \"~/areas/projects/components/Triggers/ProcessCallouts/CalloutReferencedPackageFeedTriggerConnections\";\nimport { repository } from \"~/clientInstance\";\nimport type { AutoCompleteOption } from \"~/components/AutoComplete/AutoComplete\";\nimport { BaseComponent } from \"~/components/BaseComponent/BaseComponent\";\nimport { BoundAutoComplete } from \"~/components/BoundAutoComplete/BoundAutoComplete\";\nimport { FeedSelector, getDefaultFeedId } from \"~/components/Selectors/FeedSelector\";\nimport { required } from \"~/components/form\";\nimport Note from \"~/primitiveComponents/form/Note/Note\";\nimport { DebounceText } from \"~/primitiveComponents/form/Text/Text\";\nimport { createErrorsFromOctopusError } from \"../DataBaseComponent/Errors\";\nimport { VariableLookupText } from \"../form/VariableLookupText\";\nimport { PackageVersionOnActionVisibility } from \"./packageVersionOnActionEnabled\";\nexport enum PackageSelectorType {\n AutoComplete = \"AutoComplete\",\n FreeText = \"FreeText\"\n}\nexport interface PackageSelectorProps {\n packageId: string | undefined;\n feedId: string | undefined;\n projectId: string | undefined;\n feeds: FeedResource[];\n localNames: string[] | undefined;\n feedType?: FeedType[];\n autoFocus?: boolean;\n packageIdError?: string;\n feedIdError?: string;\n packageSelectorType?: PackageSelectorType;\n feedSelectLabel?: string;\n packageSelectLabel?: string;\n relatedTriggersDependencies?: RelatedTriggersDependencies;\n onPackageIdChange(value: string): void;\n onFeedIdChange(value: string): void;\n refreshFeeds(): Promise;\n modelDirty?: boolean;\n packageVersion?: string;\n onPackageVersionChange?(value: string | undefined): void;\n}\ninterface PackageSelectorState {\n looksLikeVersion: boolean;\n feedDoesNotSupportSearchError?: string;\n selectedFeed: FeedResource | null;\n}\nexport const possibleFeeds = (feeds: FeedResource[], feedType?: FeedType[]) => {\n return feeds.filter((f) => !isOctopusProjectFeed(f.FeedType) && // We will never show the OctopusProject feed when selecting packages\n (!feedType || feedType.length === 0 || feedType.some((feedTypeToCheck) => feedTypeToCheck === f.FeedType)));\n};\nclass PackageSelector extends BaseComponent {\n constructor(props: PackageSelectorProps) {\n super(props);\n this.state = {\n looksLikeVersion: false,\n selectedFeed: null,\n };\n }\n componentDidMount() {\n // Default to built-in feed.\n if (!this.props.feedId) {\n const defaultFeedId = getDefaultFeedId(possibleFeeds(this.props.feeds, this.props.feedType));\n if (defaultFeedId) {\n this.setState({ selectedFeed: this.props.feeds.find((f) => f.Id === defaultFeedId) ?? null });\n this.props.onFeedIdChange(defaultFeedId);\n }\n }\n else {\n this.setState({ selectedFeed: this.props.feeds.find((f) => f.Id === this.props.feedId) ?? null });\n }\n }\n checkIfLooksLikeVersion = () => {\n let looksLikeVersion = false;\n const packageId = this.props.packageId;\n if (packageId) {\n if (packageId.match(/\\.[0-9]+\\.?$/)) {\n looksLikeVersion = true;\n }\n }\n this.setState({ looksLikeVersion });\n };\n render() {\n const feeds = possibleFeeds(this.props.feeds, this.props.feedType);\n const feedSelectLabel = this.props.feedSelectLabel || \"Package feed\";\n const canFixPackageVersion = !!this.props.onPackageVersionChange;\n return (
    \n \n {this.renderPackageIdSelector(this.state.selectedFeed)}\n\n {this.props.relatedTriggersDependencies && }\n \n {canFixPackageVersion && (<>\n this.packageVersionChanged(version)}/>\n Package will be locked to this version.\n )}\n \n
    );\n }\n private renderPackageIdSelector(selectedFeed: FeedResource | null) {\n const label = this.props.packageSelectLabel || \"Package ID\";\n const showAutoComplete = !this.state.feedDoesNotSupportSearchError;\n if (this.props.packageSelectorType && this.props.packageSelectorType === PackageSelectorType.FreeText) {\n return (<>\n \n );\n }\n return (<>\n {this.state.feedDoesNotSupportSearchError && (\n {this.state.feedDoesNotSupportSearchError}\n

    Auto-complete is disabled in the field below, but this feed may still be able to be used successfully.

    \n
    )}\n {showAutoComplete ? ( this.getPackageOptions(searchText, selectedFeed)} error={this.props.packageIdError} showEmpty={selectedFeed !== null && feedTypeCanSearchEmpty(selectedFeed.FeedType)} debounceDelay={750}/>) : ()}\n \n {selectedFeed && selectedFeed.FeedType === FeedType.Maven && (\n {\" \"}\n The format of the package ID is Group:Artifact for example com.google.guava:guava or junit:junit.\n )}\n \n {this.state.looksLikeVersion && (\n Hey there! It looks like you might be including the package version number in this field. You shouldn't include the package version number here, just the package ID.\n )}\n );\n }\n private getPackageOptions = async (searchText: string, feed: FeedResource | null) => {\n if (feed === null) {\n const items: AutoCompleteOption[] = [];\n return {\n items,\n containsAllResults: true,\n };\n }\n try {\n const packages = await repository.Feeds.searchPackages(feed, { term: searchText || \"\", take: 11, skip: 0 });\n return {\n items: packages.Items.slice(0, 10).map((p) => ({ Id: p.Id, Name: p.Id })),\n containsAllResults: packages.Items.length !== 11,\n };\n }\n catch (e) {\n if (e instanceof OctopusError) {\n const errors = createErrorsFromOctopusError(e);\n if (errors.statusCode === 404) {\n this.setState({ feedDoesNotSupportSearchError: errors.message });\n return {\n items: [],\n containsAllResults: true,\n };\n }\n }\n throw e;\n }\n };\n private packageChanged = (packageId: string) => {\n this.props.onPackageIdChange(packageId);\n if (this.props.packageSelectorType && this.props.packageSelectorType !== PackageSelectorType.FreeText) {\n this.checkIfLooksLikeVersion();\n }\n };\n private packageVersionChanged = (packageVersion: string | undefined) => {\n if (!this.props.onPackageVersionChange)\n return;\n // Handle empty string\n if (_.trim(packageVersion).length === 0) {\n this.props.onPackageVersionChange(undefined);\n return;\n }\n this.props.onPackageVersionChange(packageVersion);\n };\n private feedChanged = (feed: FeedResource | string) => {\n if (typeof feed === \"string\") {\n this.props.onFeedIdChange(feed);\n }\n else {\n this.setState({ selectedFeed: feed });\n this.props.onFeedIdChange(feed.Id);\n }\n };\n static displayName = \"PackageSelector\";\n}\nexport default PackageSelector;\n","import { FeedType } from \"@octopusdeploy/octopus-server-client\";\nimport type { ContainerImageReference } from \"@octopusdeploy/step-inputs\";\nimport type { ObjectRuntimeInputs, PathToInput, RuntimeContainerImageSelection } from \"@octopusdeploy/step-runtime-inputs\";\nimport { createInputValueAccessor, getPathToInput, isNotBoundValue } from \"@octopusdeploy/step-runtime-inputs\";\nimport type { ContainerImageSelectorComponent } from \"@octopusdeploy/step-ui\";\nimport React from \"react\";\nimport PackageSelector from \"~/components/PackageSelector/PackageSelector\";\nimport { convertFromRuntimeContainerImageSelection, convertToRuntimeContainerImageSelection } from \"~/components/StepPackageEditor/Inputs/Components/ContainerImageSelector/ContainerImageConverters\";\nimport type { InputSummary } from \"~/components/StepPackageEditor/Summary/InputSummary\";\nimport type { StepInputDependencies } from \"../../../StepInputDependencies\";\nimport { isProjectStepInputDependencies } from \"../../../StepInputDependencies\";\nexport function getErrorPathsForContainerImageReferences(content: ContainerImageSelectorComponent): PathToInput[] {\n const inputPath = getPathToInput(content.input);\n return [getInputPathForContainerImageSelectionProperty(inputPath, \"imageName\"), getInputPathForContainerImageSelectionProperty(inputPath, \"feedId\")];\n}\nfunction getInputPathForContainerImageSelectionProperty(pathToInput: PathToInput, propertyName: keyof RuntimeContainerImageSelection) {\n return [...pathToInput, propertyName];\n}\nexport function getContainerImageSelectorSummary(component: ContainerImageSelectorComponent, inputs: ObjectRuntimeInputs): InputSummary {\n const inputAccessor = createInputValueAccessor(component.input);\n const inputValue = inputAccessor.getInputValue(inputs);\n if (isNotBoundValue(inputValue)) {\n const runtimePackageSelection = convertToRuntimeContainerImageSelection(inputValue);\n if (runtimePackageSelection.feedId === undefined || runtimePackageSelection.imageName === undefined) {\n return \"empty\";\n }\n return { isDefaultValue: false, value: runtimePackageSelection.imageName };\n }\n // todo-step-ui: Can we improve the typing so that we don't have to handle this case?\n throw new Error(\"Package selection cannot be bound\");\n}\ninterface ContainerImageSelectorProps {\n configuredStepUIProps: ContainerImageSelectorComponent;\n inputs: ObjectRuntimeInputs;\n setInputs(inputs: ObjectRuntimeInputs): void;\n dependencies: StepInputDependencies;\n getFieldError: (path: PathToInput) => string;\n}\nexport function ContainerImageSelector(props: ContainerImageSelectorProps) {\n const inputAccessor = createInputValueAccessor(props.configuredStepUIProps.input);\n const inputValue = inputAccessor.getInputValue(props.inputs);\n const inputPath = getPathToInput(props.configuredStepUIProps.input);\n // todo-step-ui add support for parameterised package names\n if (isNotBoundValue(inputValue)) {\n const containerImageSelection = convertToRuntimeContainerImageSelection(inputValue);\n return ( {\n const updatedContainerImageSelection: RuntimeContainerImageSelection = { ...containerImageSelection, imageName }; // todo-step-ui: fill in reference\n const updatedInputs = inputAccessor.changeInputValue(props.inputs, convertFromRuntimeContainerImageSelection(updatedContainerImageSelection));\n props.setInputs(updatedInputs);\n }} onFeedIdChange={(feedId) => {\n const updatedContainerImageSelection: RuntimeContainerImageSelection = { ...containerImageSelection, feedId }; // todo-step-ui: fill in reference\n const updatedInputs = inputAccessor.changeInputValue(props.inputs, convertFromRuntimeContainerImageSelection(updatedContainerImageSelection));\n props.setInputs(updatedInputs);\n }} projectId={isProjectStepInputDependencies(props.dependencies) ? props.dependencies.projectId : undefined} feeds={props.dependencies.feeds} localNames={isProjectStepInputDependencies(props.dependencies) ? undefined : props.dependencies.localNames} refreshFeeds={props.dependencies.refreshFeeds} feedIdError={props.getFieldError(getInputPathForContainerImageSelectionProperty(inputPath, \"feedId\"))} packageIdError={props.getFieldError(getInputPathForContainerImageSelectionProperty(inputPath, \"imageName\"))} feedType={[FeedType.Docker, FeedType.AwsElasticContainerRegistry, FeedType.AzureContainerRegistry, FeedType.GoogleContainerRegistry]}/>);\n }\n else {\n // todo-step-ui: Can we improve the typing so that we don't have to handle this case?\n throw new Error(\"Package selection can't be bound\");\n }\n}\n","export function getSingle(items: ReadonlyArray, errorWhenMultipleResults: string, errorWhenNoResult: string) {\n const [result, ...rest] = items;\n if (rest.length > 0) {\n throw new Error(errorWhenMultipleResults);\n }\n if (!result) {\n throw new Error(errorWhenNoResult);\n }\n return result;\n}\n","import type { InputPathToObject } from \"@octopusdeploy/step-inputs\";\nimport type { PlainObjectTypeDefinition, ObjectRuntimeInputs, DiscriminatorProperty } from \"@octopusdeploy/step-runtime-inputs\";\nimport type { InitialInputs } from \"@octopusdeploy/step-ui\";\nimport { getSchemaForInputObject } from \"~/components/StepPackageEditor/Inputs/schemaTraversal\";\nimport { getSingle } from \"~/utils/getSingle\";\n// We determine which option is selected based on the discriminator properties.\n// That is, if the current input values has a discriminator property with the value \"foo\",\n// then we consider an option selected if it also has the same value of the same discriminator property (\"foo\").\nexport function getSelectedOption(pathToInput: InputPathToObject, options: DiscriminatorOption[], inputSchema: PlainObjectTypeDefinition) {\n // We need to check the input schema to work out which properties are discriminators.\n const schemaForCurrentInput = getSchemaForInputObject(pathToInput, inputSchema);\n const selectedOptions = options.filter((o) => matchesUnionSchema(schemaForCurrentInput, o.newValue));\n return getSingle(selectedOptions, \"Multiple options match the selected value, based on the value of their discriminators. Ensure that each option has a unique set of discriminator values.\", \"None of the available options matched the selected value, based on the values of their discriminators.\");\n}\nexport function getSelectedOptionForPrimitive(value: T, options: DiscriminatorOption[]) {\n const selectedOptions = options.filter((o) => o.newValue === value);\n //TODO: step-api We probably want to return something here to represent the bound case instead of throwing.\n return getSingle(selectedOptions, \"Multiple options match the selected value, based on the value of their discriminators. Ensure that each option has a unique set of discriminator values.\", \"None of the available options matched the selected value, based on the values of their discriminators.\");\n}\nexport interface DiscriminatorOption {\n label: string;\n newValue: InitialInputs;\n}\nfunction matchesUnionSchema(inputSchema: PlainObjectTypeDefinition, optionValue: ObjectRuntimeInputs | InitialInputs): boolean {\n return inputSchema.discriminatorProperties.every(discriminatorValueMatches);\n function discriminatorValueMatches(discriminatorProperty: DiscriminatorProperty): boolean {\n // eslint-disable-next-line @typescript-eslint/consistent-type-assertions\n const key: keyof typeof optionValue = discriminatorProperty.discriminatorName as keyof typeof optionValue;\n // eslint-disable-next-line @typescript-eslint/consistent-type-assertions\n const currentValueOfDiscriminator = optionValue[key] as unknown;\n return currentValueOfDiscriminator === discriminatorProperty.type.const;\n }\n}\n","import type { PackageReference } from \"@octopusdeploy/step-inputs\";\nimport type { ObjectRuntimeInputs, PathToInput, RuntimePackageSelection } from \"@octopusdeploy/step-runtime-inputs\";\nimport { createInputValueAccessor, getPathToInput, isNotBoundValue } from \"@octopusdeploy/step-runtime-inputs\";\nimport type { PackageSelectorComponent } from \"@octopusdeploy/step-ui\";\nimport React from \"react\";\nimport PackageSelector from \"~/components/PackageSelector/PackageSelector\";\nimport { convertFromRuntimePackageSelection, convertToRuntimePackageSelection } from \"~/components/StepPackageEditor/Inputs/Components/PackageSelector/PackageSelectionConverters\";\nimport type { StepInputDependencies } from \"~/components/StepPackageEditor/StepInputDependencies\";\nimport { isProjectStepInputDependencies } from \"~/components/StepPackageEditor/StepInputDependencies\";\nimport type { InputSummary } from \"~/components/StepPackageEditor/Summary/InputSummary\";\nexport function getPackageSelectorSummary(content: PackageSelectorComponent, inputs: ObjectRuntimeInputs): InputSummary {\n const inputAccessor = createInputValueAccessor(content.input);\n const inputValue = inputAccessor.getInputValue(inputs);\n if (isNotBoundValue(inputValue)) {\n const runtimePackageSelection = convertToRuntimePackageSelection(inputValue);\n if (runtimePackageSelection.feedId === undefined || runtimePackageSelection.packageId === undefined) {\n return \"empty\";\n }\n return { isDefaultValue: false, value: runtimePackageSelection.packageId };\n }\n // todo-step-ui: Can we improve the typing so that we don't have to handle this case?\n throw new Error(\"Package selection cannot be bound\");\n}\ninterface PackageSelectorProps {\n configuredStepUIProps: PackageSelectorComponent;\n inputs: ObjectRuntimeInputs;\n setInputs(inputs: ObjectRuntimeInputs): void;\n dependencies: StepInputDependencies;\n getFieldError: (path: PathToInput) => string;\n}\nfunction getInputPathForPackageReferenceProperty(pathToPackageReference: PathToInput, propertyName: keyof RuntimePackageSelection) {\n return [...pathToPackageReference, propertyName];\n}\nexport function getErrorPathForPackageReference(component: PackageSelectorComponent): PathToInput[] {\n const inputPath = getPathToInput(component.input);\n return [getInputPathForPackageReferenceProperty(inputPath, \"packageId\"), getInputPathForPackageReferenceProperty(inputPath, \"feedId\")];\n}\nexport function StepPackageSelector(props: PackageSelectorProps) {\n const inputAccessor = createInputValueAccessor(props.configuredStepUIProps.input);\n const inputValue = inputAccessor.getInputValue(props.inputs);\n const inputPath = getPathToInput(props.configuredStepUIProps.input);\n // todo-step-ui add support for parameterised package names\n if (isNotBoundValue(inputValue)) {\n const packageSelection = convertToRuntimePackageSelection(inputValue);\n return ( {\n const updatedPackageSelection: RuntimePackageSelection = { ...packageSelection, packageId };\n const updatedInputs = inputAccessor.changeInputValue(props.inputs, convertFromRuntimePackageSelection(updatedPackageSelection));\n props.setInputs(updatedInputs);\n }} onFeedIdChange={(feedId) => {\n const updatedPackageSelection: RuntimePackageSelection = { ...packageSelection, feedId };\n const updatedInputs = inputAccessor.changeInputValue(props.inputs, convertFromRuntimePackageSelection(updatedPackageSelection));\n props.setInputs(updatedInputs);\n }} projectId={isProjectStepInputDependencies(props.dependencies) ? props.dependencies.projectId : undefined} feeds={props.dependencies.feeds} localNames={isProjectStepInputDependencies(props.dependencies) ? undefined : props.dependencies.localNames} refreshFeeds={props.dependencies.refreshFeeds} feedIdError={props.getFieldError(getInputPathForPackageReferenceProperty(inputPath, \"feedId\"))} packageIdError={props.getFieldError(getInputPathForPackageReferenceProperty(inputPath, \"packageId\"))}/>);\n // todo-step-ui: Add PackageDownloadOptions here too, so that you can select the acquisition location\n }\n else {\n // todo-step-ui: Can we improve the typing so that we don't have to handle this case?\n throw new Error(\"Package selection can't be bound\");\n }\n}\n","// copied from material-ui so that we can set tabIndex\nimport { IconButton } from \"@octopusdeploy/design-system-components\";\nimport cn from \"classnames\";\nimport * as React from \"react\";\nimport styles from \"./style.module.less\";\ninterface CardExpandableProps {\n expanded?: boolean;\n tabIndex?: number;\n position?: boolean;\n onExpanding?(event: React.MouseEvent<{}, MouseEvent>): void;\n}\nclass CardExpandable extends React.Component {\n render() {\n return ();\n }\n static displayName = \"CardExpandable\";\n}\nexport default CardExpandable;\n","import * as React from \"react\";\nimport styles from \"./style.module.less\";\ninterface FormSectionHeadingProps {\n title: string | JSX.Element;\n}\n// use as a section heading in dialogs where we want it to push to the edge despite\n// dialogs having margin on the content\nclass DialogFormSectionHeading extends React.Component {\n render() {\n return (
    \n
    {this.props.title}
    \n
    );\n }\n static displayName = \"DialogFormSectionHeading\";\n}\nexport default DialogFormSectionHeading;\n","import { PopoverBasicHelp } from \"@octopusdeploy/design-system-components\";\nimport type { PathToInput } from \"@octopusdeploy/step-runtime-inputs\";\nimport { getPathToArrayInput, getPathToInput, getPathToInputObject, isInputPathToObject } from \"@octopusdeploy/step-runtime-inputs\";\nimport type { CommonInputProps, NoteExpression, StepInputComponent } from \"@octopusdeploy/step-ui\";\nimport { exhaustiveCheck } from \"@octopusdeploy/type-utils\";\nimport React from \"react\";\nimport type { RenderedComponentAndSummary } from \"~/components/StepPackageEditor/EditStepPackageInputs\";\nimport { getErrorPathsForContainerImageReferences } from \"~/components/StepPackageEditor/Inputs/Components/ContainerImageSelector/ContainerImageSelector\";\nimport { getErrorPathForPackageReference } from \"~/components/StepPackageEditor/Inputs/Components/PackageSelector/PackageSelector\";\nimport { noteToElement } from \"~/components/StepPackageEditor/Inputs/Note/Note\";\nimport { getPathAsString } from \"~/components/StepPackageEditor/Inputs/getPathAsString\";\nimport type { InputSummary } from \"~/components/StepPackageEditor/Summary/InputSummary\";\nimport type { SummaryNode } from \"~/components/form\";\nimport { ExpandableFormSection, Summary } from \"~/components/form/Sections\";\nexport interface InputComponentProps {\n content: TInputComponents;\n isExpandedByDefault: boolean;\n getRenderedComponentAndSummary(component: TInputComponents): RenderedComponentAndSummary;\n}\nexport function Input(props: InputComponentProps) {\n const { isExpandedByDefault } = props;\n const { label, helpText, expandoContextualHelp, expandoLabel } = props.content;\n const { renderedComponent, summary } = props.getRenderedComponentAndSummary(props.content);\n return (}>\n {renderedComponent}\n );\n}\nexport function ContextualHelp(props: {\n note: NoteExpression[] | undefined;\n}) {\n if (props.note === undefined || props.note.length === 0) {\n return null;\n }\n return ;\n}\nfunction getSummary(summary: InputSummary): SummaryNode {\n if (summary === \"empty\" || summary.value === \"\") {\n return Summary.placeholder(\"Not provided\");\n }\n if (summary.isDefaultValue) {\n return Summary.default(summary.value);\n }\n return Summary.summary(summary.value);\n}\nexport function getInputContentReactKey(content: TInputComponents) {\n return `${content.label}`;\n}\nfunction getPossibleInputPaths(content: StepInputComponent): PathToInput[] {\n switch (content.type) {\n case \"sensitive\":\n return [getPathToInput(content.input)];\n case \"package\":\n return getErrorPathForPackageReference(content);\n case \"container-image\":\n return getErrorPathsForContainerImageReferences(content);\n case \"text\":\n return [getPathToInput(content.input)];\n case \"multiline-text\":\n return [getPathToInput(content.input)];\n case \"radio-buttons\":\n return [isInputPathToObject(content.input) ? getPathToInputObject(content.input) : getPathToInput(content.input)];\n case \"list\":\n return [getPathToArrayInput(content.input)];\n case \"inline-list\":\n return [getPathToArrayInput(content.input)];\n case \"checkbox\":\n return [getPathToInput(content.input)];\n case \"select\":\n return [isInputPathToObject(content.input) ? getPathToInputObject(content.input) : getPathToInput(content.input)];\n case \"number\":\n return [getPathToInput(content.input)];\n case \"account\":\n return [getPathToInput(content.input)];\n case \"code-editor\":\n return [getPathToInput(content.input)];\n case \"kubernetes-object-status\":\n return [getPathToInputObject(content.input)];\n case \"git-source\":\n return [getPathToInput(content.input)];\n default:\n return exhaustiveCheck(content, `Section content type not yet implemented`);\n }\n}\nfunction getInputErrorKey(content: StepInputComponent): string {\n //todo: Fix up how we deal with errors, most likely as part of data loading. Ultimately, we want to deal\n //with an object of scoped errors instead of these magic strings, that way we never needed tp do any of this\n //nor did we need to magically reference inputs.\n return getPossibleInputPaths(content)\n .map((path) => `inputs.${getPathAsString(path)}`)\n .join(\"|\");\n}\n","/* eslint-disable @typescript-eslint/no-non-null-assertion */\n/* eslint-disable @typescript-eslint/no-explicit-any */\nimport type { LinkHref } from \"@octopusdeploy/portal-routes\";\nimport cn from \"classnames\";\nimport * as React from \"react\";\nimport TransitionAnimation from \"~/components/TransitionAnimation/TransitionAnimation\";\nimport { DataTable, DataTableHeader, DataTableHeaderColumn, DataTableBody, DataTableToolsRow, DataTableRow, DataTableRowColumn } from \"../../primitiveComponents/dataDisplay/DataTable\";\nimport BaseComponent from \"../BaseComponent\";\nimport InternalRedirect from \"../Navigation/InternalRedirect/InternalRedirect\";\nimport { getNavigationUrl } from \"../PagingBaseComponent/PagingBaseComponent\";\nimport styles from \"./style.module.less\";\ninterface SimpleDataTableProps {\n onToolsSection?: any;\n headerColumns: any[];\n headerColumnClassNames?: string[];\n rowColumnClassName?: string;\n tableClassName?: string;\n data: ReadonlyArray;\n onEmpty?: React.ReactNode;\n match?: any;\n onRow(item: TData): React.ReactNode[];\n onRowRedirectUrl?(item: TData): string;\n title?: string;\n}\ninterface SimpleDataTableState {\n redirectTo?: LinkHref;\n}\nexport default abstract class SimpleDataTable extends BaseComponent, SimpleDataTableState> {\n constructor(props: SimpleDataTableProps) {\n super(props);\n this.state = {};\n }\n render() {\n if (this.state.redirectTo) {\n return ;\n }\n const { onToolsSection, data, headerColumns, headerColumnClassNames, rowColumnClassName, onRow, onEmpty, title } = this.props;\n if (!data) {\n return null;\n }\n return (\n \n \n {onToolsSection ? (\n {onToolsSection()}\n ) : null}\n {data.length > 0 ? this.buildTableHeader(headerColumns, headerColumnClassNames!) : null}\n \n \n {data.length > 0 ? (data.map((item, index) => {\n return this.buildTableRow(item, index, onRow(item), rowColumnClassName!);\n })) : (\n {onEmpty}\n )}\n \n \n );\n }\n private buildTableHeader(headerColumns: any[], columnClassNames: string[]) {\n return (\n {headerColumns.map((col, index) => {\n const props: any = {\n key: index,\n };\n if (columnClassNames) {\n const className = columnClassNames[index];\n props[\"className\"] = className;\n }\n return {col};\n })}\n );\n }\n private buildTableRow(item: TData, index: number, rowColumns: any, className: string) {\n // Only some tables include a redirect, so only show cursor if necessary.\n const redirectUrl = getNavigationUrl(this.props, item);\n const linkClassName = redirectUrl ? styles.linkableItem : null;\n return ( this.navigate(item)}>\n {rowColumns.map((col: any, idx: number) => {\n const props: any = {\n key: idx,\n };\n if (className) {\n props[\"className\"] = cn(className, props[\"className\"]);\n }\n if (linkClassName) {\n props[\"className\"] = cn(linkClassName, props[\"className\"]);\n }\n return {col};\n })}\n );\n }\n private navigate(item: TData) {\n const redirectTo = getNavigationUrl(this.props, item);\n if (!redirectTo) {\n return;\n }\n this.setState({ redirectTo });\n }\n static displayName = \"SimpleDataTable\";\n}\n","import SimpleDataTable from \"./SimpleDataTable\";\nexport default SimpleDataTable;\n","/* eslint-disable @typescript-eslint/no-non-null-assertion */\nimport { css } from \"@emotion/css\";\nimport { ExternalLink, PopoverBasicHelp } from \"@octopusdeploy/design-system-components\";\nimport { borderRadius, fontSize, fontWeight, letterSpacing, lineHeight, space, themeTokens } from \"@octopusdeploy/design-system-tokens\";\nimport type { UsernamePasswordGitCredentialDetailsResource, GitCredentialResource, GitCredentialUsage, GitCredentialUsageProject, CreateGitCredentialResponse } from \"@octopusdeploy/octopus-server-client\";\nimport { GitCredentialAuthenticationType, Permission } from \"@octopusdeploy/octopus-server-client\";\nimport { links } from \"@octopusdeploy/portal-routes\";\nimport { cloneDeep, sortBy } from \"lodash\";\nimport type { ReactNode } from \"react\";\nimport * as React from \"react\";\nimport type { ActionEvent, AnalyticTrackedActionDispatcher, AnalyticViewDispatcher } from \"~/analytics/Analytics\";\nimport { Action, useAnalyticViewDispatch, useAnalyticTrackedActionDispatch } from \"~/analytics/Analytics\";\nimport { repository } from \"~/clientInstance\";\nimport type { Errors } from \"~/components/DataBaseComponent\";\nimport type { FormBaseComponentState } from \"~/components/FormBaseComponent/FormBaseComponent\";\nimport { FormBaseComponent } from \"~/components/FormBaseComponent/FormBaseComponent\";\nimport type { PrimarySaveActionOptions, PrimarySavePageAction } from \"~/components/FormPaperLayout/LegacyForm\";\nimport { LegacyForm } from \"~/components/FormPaperLayout/LegacyForm\";\nimport Markdown from \"~/components/Markdown\";\nimport InternalLink from \"~/components/Navigation/InternalLink\";\nimport { useSpaceAwareNavigation } from \"~/components/Navigation/SpaceAwareNavigation/useSpaceAwareNavigation\";\nimport { OverflowMenuItems } from \"~/components/OverflowMenu/OverflowMenu\";\nimport type { ConvertedOverflowMenuItems } from \"~/components/OverflowMenu/OverflowMenuConverterVNext\";\nimport { OverflowMenuConverterVNext } from \"~/components/OverflowMenu/OverflowMenuConverterVNext\";\nimport { PageContent } from \"~/components/PageContent/PageContent\";\nimport SimpleDataTable from \"~/components/SimpleDataTable\";\nimport TransitionAnimation from \"~/components/TransitionAnimation/TransitionAnimation\";\nimport { Text, ExpandableFormSection, Summary, required, MarkdownEditor, Sensitive, Note } from \"~/components/form\";\nimport { DataTable, DataTableBody, DataTableHeader, DataTableHeaderColumn, DataTableRow, DataTableRowColumn } from \"~/primitiveComponents/dataDisplay/DataTable\";\nimport { TabItem, UrlNavigationTabsContainer } from \"~/primitiveComponents/navigation/Tabs\";\nimport { timeOperationOptions } from \"~/utils/OperationTimer/timeOperation\";\nimport StringHelper from \"~/utils/StringHelper\";\ninterface CreateGitCredentialPageProps {\n create: true;\n}\ninterface SpecificGitCredentialPageProps {\n gitCredentialId: string;\n}\ntype GitCredentialPageProps = (CreateGitCredentialPageProps | SpecificGitCredentialPageProps) & {\n spaceId: string;\n};\ntype GitCredentialPropsInternal = (CreateGitCredentialPageProps | SpecificGitCredentialPageProps) & {\n spaceId: string;\n trackAction: AnalyticTrackedActionDispatcher;\n dispatchView: AnalyticViewDispatcher;\n onSave: (gitCredential: GitCredentialResource, isNew: boolean) => Promise;\n onDelete: () => Promise;\n resetOnSave?: boolean;\n children: (props: {\n formContent: ReactNode;\n createSaveAction: (options: PrimarySaveActionOptions) => PrimarySavePageAction;\n busy: Promise | undefined;\n errors: Errors | undefined;\n title: string;\n overflowActions: ConvertedOverflowMenuItems;\n }) => ReactNode;\n};\ninterface GitCredentialState extends FormBaseComponentState {\n deleted: boolean;\n newId?: string;\n usage?: GitCredentialUsage;\n}\nexport class GitCredentialPageInternal extends FormBaseComponent {\n constructor(props: GitCredentialPropsInternal) {\n super(props);\n this.state = {\n model: this.getEmptyModel(),\n cleanModel: this.getEmptyModel(),\n deleted: false,\n usage: undefined,\n };\n }\n async componentDidMount() {\n await this.doBusyTask(() => this.load(), { timeOperationOptions: timeOperationOptions.forInitialLoad() });\n }\n private resetModel() {\n this.setState({\n model: this.getEmptyModel(),\n cleanModel: this.getEmptyModel(),\n deleted: false,\n usage: undefined,\n });\n }\n private getEmptyModel(): GitCredentialResource {\n return {\n Id: null!,\n SpaceId: \"\",\n Name: \"\",\n Description: \"\",\n Details: {\n // This is not a great way to do this, works fine for now because there\n // is only 1 type, but maybe look at how the version control settings does\n // this and might give us some hints.\n Type: GitCredentialAuthenticationType.UsernamePassword,\n Username: null!,\n Password: null!,\n },\n Links: null!,\n };\n }\n async load() {\n if (isCreateGitCredentialPageProps(this.props)) {\n const gitCredential = this.getEmptyModel();\n this.setState({\n model: gitCredential,\n cleanModel: cloneDeep(gitCredential),\n });\n }\n else {\n const gitCredential = await repository.GitCredentials.get(this.props.gitCredentialId);\n this.setState({\n model: gitCredential,\n cleanModel: cloneDeep(gitCredential),\n });\n }\n }\n descriptionSummary() {\n return this.state.model!.Description ? Summary.summary() : Summary.placeholder(\"No credential description provided\");\n }\n credentialSummary() {\n return Summary.summary(\"Username and password\");\n }\n usageSummary() {\n if (!this.state.usage) {\n return null;\n }\n const visibleCount = this.state.usage.Projects.length;\n const otherCount = this.state.usage.OtherProjects;\n const totalCount = visibleCount + otherCount;\n if (totalCount > 0) {\n return Summary.summary(\n This credential is being used in {totalCount} project{totalCount > 1 ? \"s\" : \"\"}\n );\n }\n return Summary.placeholder(\"This credential is not being used in any projects\");\n }\n usageHelp() {\n if (!this.state.usage) {\n return null;\n }\n const totalCount = this.state.usage.Projects.length + this.state.usage.OtherProjects;\n if (totalCount > 0) {\n return `This credential being used in the following project${totalCount > 1 ? \"s\" : \"\"}`;\n }\n return \"This credential is not being used in any projects\";\n }\n usageAdditionalInformation(usage?: GitCredentialUsage) {\n if (!usage) {\n return null;\n }\n if (usage.OtherProjects > 0) {\n if (usage.Projects.length > 0) {\n const single = usage.Projects.length > 1;\n const isAre = single ? \"is\" : \"are\";\n const projectProjects = single ? \"project\" : \"projects\";\n return (

    \n There {isAre} {usage.OtherProjects} additional {projectProjects} (that you don't have permission to see) also using this credential.\n

    );\n }\n return

    There are {usage.OtherProjects} projects (that you don't have permission to see) also using this credential.

    ;\n }\n return null;\n }\n setDetailsForUsernamePassword(state: Pick) {\n this.setChildState2(\"model\", \"Details\", state);\n }\n handleSave = async () => {\n await this.doBusyTask(async () => {\n const isNew = this.state.model.Id === null;\n const ev: ActionEvent = {\n action: Action.Save,\n resource: \"Git Credential\",\n location: \"Page\",\n entityType: isNew ? \"New\" : \"Existing\",\n };\n await this.props.trackAction(\"Save Git Credential\", ev, async () => {\n let id: string | undefined = undefined;\n if (isCreateGitCredentialPageProps(this.props)) {\n const response: CreateGitCredentialResponse = await repository.GitCredentials.create(this.state.model);\n id = response.Id;\n }\n else {\n await repository.GitCredentials.modify(this.state.model);\n id = this.props.gitCredentialId;\n }\n const newModel = await repository.GitCredentials.get(id);\n if (this.props.resetOnSave) {\n this.resetModel();\n }\n else {\n this.setState({\n ...this.state,\n model: newModel,\n cleanModel: cloneDeep(newModel),\n newId: isNew ? id : null!,\n deleted: false,\n });\n }\n await this.props.onSave(newModel, isNew);\n });\n });\n return true;\n };\n handleDeleteConfirm = async () => {\n await repository.GitCredentials.del(this.state.model);\n this.setState(() => {\n return {\n model: this.getEmptyModel(),\n cleanModel: this.getEmptyModel(), //reset model so that dirty state doesn't prevent navigation\n deleted: true,\n };\n });\n await this.props.onDelete();\n return true;\n };\n loadUsage = async () => {\n if (this.state.usage || isCreateGitCredentialPageProps(this.props)) {\n return;\n }\n await this.doBusyTask(async () => {\n const usage = await repository.GitCredentials.usage(this.state.model);\n usage.Projects = sortBy(usage.Projects, (p) => p.Name);\n this.setState({\n usage,\n });\n }, { timeOperationOptions: timeOperationOptions.for(\"Usage\") });\n };\n render() {\n const isCreate = isCreateGitCredentialPageProps(this.props);\n const title = isCreate ? \"Create Git Credential\" : this.state.model ? this.state.model.Name : StringHelper.ellipsis;\n const saveText = this.state.newId ? \"Git credential created\" : \"Git credential updated\";\n const overFlowActions = isCreate ? [] : [OverflowMenuItems.deleteItemDefault(\"Git credential\", this.handleDeleteConfirm, { permission: Permission.GitCredentialEdit })];\n return (<>\n this.handleSave()} savePermission={{ permission: Permission.GitCredentialEdit }} saveText={saveText}>\n {({ FormContent, createSaveAction }) => (<>\n {this.props.children({\n formContent: (\n \n \n this.props.dispatchView(\"View Git Credential Details\", { resource: \"Git Credential\" })}>\n \n this.setModelState({ Name })} label=\"Git credential name\" validate={required(\"Enter a Git credential name\")} error={this.getFieldError(\"Name\")} autoFocus/>\n \n \n this.setModelState({ Description })}/>\n \n \n
    \n We recommend using a personal access token with limited privilege \n
    \n this.setDetailsForUsernamePassword({ Username })} label=\"Username\" error={this.getFieldError(\"Username\")} validate={required(\"Enter authentication details.\")} disabled={!!this.state.busy}/>\n this.setDetailsForUsernamePassword({ Password })} label=\"Personal Access Token or Password\" error={this.getFieldError(\"Password\")} disabled={!!this.state.busy}/>\n \n GitLab and GitHub require token-based authentication (excludes Github Enterprise Server).\n \n
    \n
    \n {!isCreate && ( {\n this.props.dispatchView(\"View Git Credential Usage\", { resource: \"Git Credential\" });\n this.loadUsage();\n }}>\n {this.state.usage && ( 0} summary={this.usageSummary()} help={this.usageHelp()}>\n data={this.state.usage?.Projects} headerColumns={[\"Project Name\", \"Repository URL\"]} onRow={(usageEntry) => [\n {usageEntry.Name},\n usageEntry.RepositoryUrl,\n ]}/>\n {this.usageAdditionalInformation(this.state.usage)}\n )}\n )}\n
    \n
    \n
    ),\n createSaveAction,\n busy: this.state.busy,\n errors: this.errors,\n title: title,\n overflowActions: OverflowMenuConverterVNext.convertAll(overFlowActions),\n })}\n )}\n
    \n );\n }\n static displayName = \"GitCredentialPageInternal\";\n}\nexport function GitCredentialPopover() {\n const description = (
    \n
    \n \n \n \n Set up docs\n Required privilege\n \n \n \n \n \n \n \n \n Permission – Contents Read and Write\n \n \n \n \n \n \n \n Scope – repo\n \n \n \n \n \n \n \n Scope – vso.code_full\n \n \n \n \n \n \n \n Scope – write_repository\n \n \n \n \n \n \n \n Permission – Project admin\n \n \n \n \n \n \n \n Permission – Repositories Read & Write\n \n \n \n \n
    \n
    );\n return }/>;\n}\nfunction isCreateGitCredentialPageProps(props: CreateGitCredentialPageProps | SpecificGitCredentialPageProps): props is CreateGitCredentialPageProps {\n return \"create\" in props;\n}\nexport function GitCredentialPage(props: GitCredentialPageProps) {\n const trackAction = useAnalyticTrackedActionDispatch();\n const dispatchView = useAnalyticViewDispatch();\n const { navigate } = useSpaceAwareNavigation();\n async function onSave(gitCredential: GitCredentialResource, isNew: boolean) {\n if (isNew)\n navigate(links.editGitCredentialPage.generateUrl({ spaceId: gitCredential.SpaceId, gitCredentialId: gitCredential.Id }));\n }\n async function onDelete() {\n navigate(links.gitCredentialsPage.generateUrl({ spaceId: props.spaceId }));\n }\n return (\n {({ formContent, createSaveAction, busy, errors, title, overflowActions }) => (\n {overflowActions.dialogs}\n {formContent}\n )}\n );\n}\nconst gitCredentialPopoverStyles = {\n helpPopoverTableContainer: css({\n border: `1px solid ${themeTokens.color.border.primary}`,\n borderRadius: borderRadius.small,\n marginBottom: space[16],\n }),\n helpPopoverTableHeaderRow: css({\n \"&, & th\": {\n fontSize: fontSize.xSmall,\n color: themeTokens.color.text.primary,\n fontWeight: 600,\n lineHeight: lineHeight.xSmall,\n letterSpacing: letterSpacing.wide,\n paddingTop: space[8],\n paddingBottom: space[8],\n },\n \"& th, & th:hover\": {\n backgroundColor: themeTokens.color.background.secondary.default,\n },\n \"& th:first-child\": {\n borderTopLeftRadius: borderRadius[\"small\"],\n },\n \"& th:last-child\": {\n borderTopRightRadius: borderRadius[\"small\"],\n },\n }),\n helpPopoverTableBody: css({\n \"& tr td\": {\n paddingTop: space[6],\n paddingBottom: space[6],\n verticalAlign: \"middle\",\n fontSize: fontSize.small,\n color: themeTokens.color.text.primary,\n fontWeight: fontWeight[400],\n lineHeight: lineHeight.xSmall,\n letterSpacing: letterSpacing.wide,\n },\n }),\n};\n","import { ActionButton, ActionButtonType, Callout } from \"@octopusdeploy/design-system-components\";\nimport type { GitCredentialResource } from \"@octopusdeploy/octopus-server-client\";\nimport { useTrackEvent } from \"@octopusdeploy/portal-analytics\";\nimport { links } from \"@octopusdeploy/portal-routes\";\nimport * as React from \"react\";\nimport { useAnalyticTrackedActionDispatch, useAnalyticViewDispatch, useCorrelationId } from \"~/analytics/Analytics\";\nimport { createSaveGitCredentialsAnalyticsEvent } from \"~/areas/library/components/GitCredentials/amplitudeAnalytics\";\nimport { repository } from \"~/clientInstance\";\nimport InternalLink from \"~/components/Navigation/InternalLink/InternalLink\";\nimport useLocalStorage from \"~/hooks/useLocalStorage\";\nimport { DrawerWithForm } from \"~/primitiveComponents/dataDisplay/DrawerWithForm/DrawerWithForm\";\nimport { GitCredentialPageInternal } from \"./GitCredentialPage\";\nexport interface GitCredentialDrawerProps {\n isOpen: boolean;\n onClose: () => void;\n onSave: (gitCredential: GitCredentialResource) => void;\n}\nexport function GitCredentialDrawer({ isOpen, onClose, onSave }: GitCredentialDrawerProps) {\n const [calloutDismissed, setCalloutDismissed] = useLocalStorage(`Octopus.Callout.Drawer.GitCredential.Dismissed`, false);\n const trackAction = useAnalyticTrackedActionDispatch();\n const dispatchView = useAnalyticViewDispatch();\n const trackEvent = useTrackEvent();\n const correlationId = useCorrelationId();\n async function handleOnSave(gitCredential: GitCredentialResource, isNew: boolean) {\n onSave(gitCredential);\n trackEvent(createSaveGitCredentialsAnalyticsEvent(isNew ? \"New\" : \"Existing\"));\n }\n // eslint-disable-next-line @typescript-eslint/no-empty-function\n async function handleOnDelete() { }\n function onCloseCallout() {\n setCalloutDismissed(true);\n }\n // eslint-disable-next-line @typescript-eslint/no-non-null-assertion\n const spaceId = repository.spaceId!;\n return (\n {({ formContent, createSaveAction, busy, errors, title, overflowActions }) => {\n const primaryAction = createSaveAction({});\n return ( {\n if (primaryAction?.type === \"button\")\n primaryAction.onClick(undefined);\n }} expandAllOnMount={true} showExpandAll={true} expandableContainerKey={\"GitCredentialDrawer\"} customActions={[\n ,\n primaryAction.onClick(undefined)} label={primaryAction.label} type={ActionButtonType.Primary}>,\n ]} title={title} variant=\"customActions\" correlationId={correlationId}>\n {!calloutDismissed ? (\n
    \n After you create a new Git credential, you can find it in{\" \"}\n \n Git Credentials\n \n
    \n
    ) : (<>)}\n {formContent}\n
    );\n }}\n
    );\n}\n","import type { AnalyticsEvent } from \"@octopusdeploy/portal-analytics\";\ninterface AddGitCredentialsAnalyticsEvent extends AnalyticsEvent<\"Add Git Credentials\"> {\n Location: \"Drawer\";\n}\nexport function createAddGitCredentialsAnalyticsEvent(): AddGitCredentialsAnalyticsEvent {\n return {\n eventName: \"Add Git Credentials\",\n Location: \"Drawer\",\n };\n}\ninterface SaveGitCredentialsAnalyticsEvent extends AnalyticsEvent<\"Save Git Credentials\"> {\n Location: \"Drawer\";\n \"Entity Type\": \"New\" | \"Existing\";\n Status: \"Success\";\n}\nexport function createSaveGitCredentialsAnalyticsEvent(newOrExisting: \"New\" | \"Existing\"): SaveGitCredentialsAnalyticsEvent {\n return {\n eventName: \"Save Git Credentials\",\n Location: \"Drawer\",\n Status: \"Success\",\n \"Entity Type\": newOrExisting,\n };\n}\n","/* eslint-disable @typescript-eslint/no-non-null-assertion */\n/* eslint-disable @typescript-eslint/no-explicit-any */\nimport { InlineSnackbar } from \"@octopusdeploy/design-system-components\";\nimport type { GitCredentialResource } from \"@octopusdeploy/octopus-server-client\";\nimport { ProcessType } from \"@octopusdeploy/octopus-server-client\";\nimport { useTrackEvent } from \"@octopusdeploy/portal-analytics\";\nimport { links } from \"@octopusdeploy/portal-routes\";\nimport cn from \"classnames\";\nimport * as React from \"react\";\nimport { useCallback, useEffect } from \"react\";\nimport { GitCredentialDrawer } from \"~/areas/library/components/GitCredentials/GitCredentialDrawer\";\nimport { createAddGitCredentialsAnalyticsEvent } from \"~/areas/library/components/GitCredentials/amplitudeAnalytics\";\nimport { repository } from \"~/clientInstance\";\nimport { withBoundField } from \"~/components/form/BoundField/BoundField\";\nimport type FormFieldProps from \"~/components/form/FormFieldProps\";\nimport SelectWithAddRefresh from \"~/components/form/SelectWithAddRefresh/SelectWithAddRefresh\";\nimport { Select } from \"~/components/form/index\";\nimport styles from \"./style.module.less\";\ntype GitCredentialSelectProps = FormFieldProps & {\n fixedLabel?: boolean;\n items: GitCredentialResource[];\n placeholder?: string;\n label?: string | JSX.Element;\n error?: string;\n warning?: string;\n processType?: ProcessType;\n validate?(value: string): string;\n onValidate?(value: string): void;\n onRequestRefresh(): Promise;\n onFilterChanged?(value: string): void;\n};\nexport const GitCredentialSelect = ({ error: propsError, items, onChange, onRequestRefresh: propsOnRequestRefresh, onValidate, validate, value, processType }: GitCredentialSelectProps) => {\n const [error, setError] = React.useState(undefined);\n const [refreshing, setRefreshing] = React.useState(false);\n const [isOpen, setIsOpen] = React.useState(false);\n const [showSnackbar, setShowSnackbar] = React.useState(false);\n const trackEvent = useTrackEvent();\n useEffect(() => {\n setError(propsError);\n }, [propsError]);\n const handleChange = (gitCredentialId: string | undefined) => {\n const value = gitCredentialId === \"\" ? null : gitCredentialId;\n if (validate) {\n const result = validate(value!);\n setError(result);\n if (onValidate) {\n onValidate(result);\n }\n }\n else {\n setError(value ? undefined : propsError);\n }\n onChange!(value!);\n };\n const getItems = () => {\n const map = (credential: GitCredentialResource) => ({ value: credential.Id, text: credential.Name });\n return items.map(map);\n };\n const selectionRenderer = (gitCredentialId: string) => {\n const credential = items.find((credential) => credential.Id === gitCredentialId);\n if (!credential) {\n return gitCredentialId;\n }\n return
    {credential.Name}
    ;\n };\n const onRequestRefresh = useCallback(async () => {\n setRefreshing(true);\n try {\n await propsOnRequestRefresh();\n }\n finally {\n setRefreshing(false);\n }\n }, [propsOnRequestRefresh]);\n const handleAddGitCredential = () => {\n trackEvent(createAddGitCredentialsAnalyticsEvent());\n setIsOpen(true);\n };\n const onClose = () => {\n setIsOpen(false);\n };\n const handleOnSave = useCallback(async (gitCredential: GitCredentialResource) => {\n await onRequestRefresh();\n onChange(gitCredential.Id);\n setIsOpen(false);\n setTimeout(() => setShowSnackbar(true), 300);\n }, [onRequestRefresh, onChange]);\n return (
    \n {processType === ProcessType.Blueprint ? ( {\n const newlySelectedOption = options.find((o) => o.label === x);\n if (!newlySelectedOption) {\n throw new Error(\"Selected option not found\");\n }\n const newValue = newlySelectedOption.newValue;\n const updatedInputs = accessor.changeInputValue(props.inputs, newValue);\n const newRuntimeSchema = getSchemaForInputObject(props.input, props.getInputSchema(updatedInputs));\n // TODO: Action context can be mapped from input dependencies as they have the same properties\n // this feels a bit out of place though, we could look to plumb them through\n const actionContext: StepPackageContext = props.inputDependencies ?? {};\n const mappedInputs = mapInitialInputs(newRuntimeSchema, false, inputPath, updatedInputs, actionContext);\n props.setInputs(mappedInputs);\n }} error={props.getFieldError(inputPath)} label={label} sortItems={false}/>);\n}\ninterface LiteralUnionSelectProps extends SharedSelectProps {\n input: InputPathToValue;\n label: string;\n options: SelectOption[];\n}\nfunction LiteralUnionSelect(props: LiteralUnionSelectProps) {\n const { options, label, input } = props;\n const accessor = createInputValueAccessor(input);\n const value = accessor.getInputValue(props.inputs);\n //TODO: step-api handle bound case here\n const inputPath = getPathToInput(input);\n const selectedOption = getSelectedOptionForPrimitive(value, options);\n const items = options.map((o) => {\n return { value: o.label, text: o.label };\n });\n return ( {\n const newlySelectedOption = options.find((o) => o.label === x);\n if (!newlySelectedOption) {\n throw new Error(\"Selected option not found\");\n }\n const newValue = newlySelectedOption.newValue;\n const updatedInputs = accessor.changeInputValue(props.inputs, newValue);\n props.setInputs(updatedInputs);\n }} error={props.getFieldError(inputPath)} label={label} sortItems={false}/>);\n}\n","import type { InputPathToValue } from \"@octopusdeploy/step-inputs\";\nimport type { ObjectRuntimeInputs, PathToInput } from \"@octopusdeploy/step-runtime-inputs\";\nimport { createInputValueAccessor, getPathToInput, isNotBoundValue } from \"@octopusdeploy/step-runtime-inputs\";\nimport type { NoteExpression, MultilineTextComponent } from \"@octopusdeploy/step-ui\";\nimport React from \"react\";\nimport type { InputSummary } from \"~/components/StepPackageEditor/Summary/InputSummary\";\nimport { VariableLookupText } from \"~/components/form/VariableLookupText\";\nimport { Note } from \"../../Note/Note\";\nexport function getMultilineTextContentSummary(component: MultilineTextComponent, inputs: ObjectRuntimeInputs): InputSummary {\n const inputAccessor = createInputValueAccessor(component.input);\n const inputValue = inputAccessor.getInputValue(inputs);\n if (isNotBoundValue(inputValue)) {\n return {\n isDefaultValue: false,\n value: inputValue,\n };\n }\n else {\n return {\n isDefaultValue: false,\n value: inputValue.expression,\n };\n }\n}\ninterface MultilineTextProps {\n input: InputPathToValue;\n label: string;\n rows: number;\n note?: NoteExpression[];\n inputs: ObjectRuntimeInputs;\n setInputs(inputs: ObjectRuntimeInputs): void;\n localNames: string[] | undefined;\n getFieldError: (name: PathToInput) => string;\n}\nexport function MultilineText(props: MultilineTextProps) {\n const inputAccessor = createInputValueAccessor(props.input);\n const inputValue = inputAccessor.getInputValue(props.inputs);\n const inputPath = getPathToInput(props.input);\n const value = isNotBoundValue(inputValue) ? inputValue : inputValue.expression;\n // todo-step-ui hook up validation errors\n return (<>\n {\n const updatedInputs = inputAccessor.changeInputValue(props.inputs, newValue);\n props.setInputs(updatedInputs);\n }} label={props.label} error={props.getFieldError(inputPath)}/>\n \n );\n}\n","import ParseHelper from \"./ParseHelper\";\nexport default ParseHelper;\n","import * as React from \"react\";\nimport { Text } from \"~/components/form\";\nimport { withBoundField } from \"~/components/form/BoundField/BoundField\";\nimport ParseHelper from \"~/utils/ParseHelper\";\nimport type FormFieldProps from \"../../../components/form/FormFieldProps\";\nimport type { TextOtherProps } from \"../Text/Text\";\ntype NumberOtherProps = Omit;\ntype NumberProps = NumberOtherProps & FormFieldProps;\nexport default function Number(props: NumberProps) {\n const { value, onChange, ...otherProps } = props;\n const handleChange = (newValue: string) => {\n const newValueParsed = newValue ? ParseHelper.safeParseFloat(newValue, 0) : undefined;\n if (onChange)\n onChange(newValueParsed);\n };\n return ;\n}\nexport const BoundNumber = withBoundField(Number);\n","import type { InputPathToValue } from \"@octopusdeploy/step-inputs\";\nimport type { ObjectRuntimeInputs, PathToInput, PlainObjectTypeDefinition } from \"@octopusdeploy/step-runtime-inputs\";\nimport { createInputValueAccessor, getPathToInput, isBoundValue, isNotBoundValue } from \"@octopusdeploy/step-runtime-inputs\";\nimport type { NoteExpression, NumberComponent } from \"@octopusdeploy/step-ui\";\nimport React from \"react\";\nimport { getInputPropertyForInputAtPath } from \"~/components/StepPackageEditor/Inputs/schemaTraversal\";\nimport type { InputSummary } from \"~/components/StepPackageEditor/Summary/InputSummary\";\nimport { BoundNumber } from \"~/primitiveComponents/form/Number/Number\";\nimport ParseHelper from \"~/utils/ParseHelper\";\nimport { Note } from \"../../Note/Note\";\nexport function getStepNumberSummary(component: NumberComponent, inputs: ObjectRuntimeInputs): InputSummary {\n const inputAccessor = createInputValueAccessor(component.input);\n const inputValue = inputAccessor.getInputValue(inputs);\n if (isNotBoundValue(inputValue)) {\n if (inputValue === undefined)\n return \"empty\";\n return {\n isDefaultValue: false,\n value: inputValue.toString(),\n };\n }\n else {\n return {\n isDefaultValue: false,\n value: inputValue.expression,\n };\n }\n}\ninterface StepNumberProps {\n input: InputPathToValue;\n label: string;\n note?: NoteExpression[];\n inputs: ObjectRuntimeInputs;\n getInputSchema: (inputs: ObjectRuntimeInputs) => PlainObjectTypeDefinition;\n setInputs(inputs: ObjectRuntimeInputs): void;\n localNames: string[] | undefined;\n getFieldError: (name: PathToInput) => string;\n min?: number;\n max?: number;\n}\nexport function StepNumber(props: StepNumberProps) {\n const inputAccessor = createInputValueAccessor(props.input);\n const inputValue = inputAccessor.getInputValue(props.inputs);\n const inputPath = getPathToInput(props.input);\n const inputProperty = getInputPropertyForInputAtPath(inputPath, props.getInputSchema(props.inputs));\n const emptyValue = inputProperty.isRequired ? 0 : undefined;\n const value = isNotBoundValue(inputValue) ? inputValue : inputValue.expression;\n const resetValue = isNotBoundValue(inputValue) ? inputValue : ParseHelper.safeParseFloat(inputValue.expression, emptyValue);\n return (<>\n {\n if (bound && isNotBoundValue(inputValue)) {\n const updatedInputs = inputAccessor.changeInputValue(props.inputs, {\n type: \"bound\",\n expression: inputValue === undefined ? \"\" : inputValue.toString(),\n });\n props.setInputs(updatedInputs);\n }\n }} onChange={(newValue: string | number | undefined) => {\n if (typeof newValue === \"string\") {\n const updatedInputs = inputAccessor.changeInputValue(props.inputs, {\n type: \"bound\",\n expression: newValue,\n });\n props.setInputs(updatedInputs);\n }\n else {\n const updatedInputs = inputAccessor.changeInputValue(props.inputs, newValue ?? emptyValue);\n props.setInputs(updatedInputs);\n }\n }} label={props.label} error={props.getFieldError(inputPath)}/>\n \n );\n}\n","import type { InputPathToValue } from \"@octopusdeploy/step-inputs\";\nimport type { ObjectRuntimeInputs, PathToInput } from \"@octopusdeploy/step-runtime-inputs\";\nimport { createInputValueAccessor, getPathToInput, isNotBoundValue } from \"@octopusdeploy/step-runtime-inputs\";\nimport type { TextComponent, NoteExpression } from \"@octopusdeploy/step-ui\";\nimport React from \"react\";\nimport type { InputSummary } from \"~/components/StepPackageEditor/Summary/InputSummary\";\nimport { VariableLookupText } from \"~/components/form/VariableLookupText\";\nimport { Note } from \"../../Note/Note\";\nexport function getTextContentSummary(component: TextComponent, inputs: ObjectRuntimeInputs): InputSummary {\n const inputAccessor = createInputValueAccessor(component.input);\n const inputValue = inputAccessor.getInputValue(inputs);\n if (isNotBoundValue(inputValue)) {\n return {\n isDefaultValue: false,\n value: inputValue,\n };\n }\n else {\n return {\n isDefaultValue: false,\n value: inputValue.expression,\n };\n }\n}\ninterface TextProps {\n input: InputPathToValue;\n label: string;\n note?: NoteExpression[];\n inputs: ObjectRuntimeInputs;\n setInputs(inputs: ObjectRuntimeInputs): void;\n localNames: string[] | undefined;\n getFieldError: (name: PathToInput) => string;\n}\nexport function Text(props: TextProps) {\n const inputAccessor = createInputValueAccessor(props.input);\n const inputValue = inputAccessor.getInputValue(props.inputs);\n const inputPath = getPathToInput(props.input);\n const value = isNotBoundValue(inputValue) ? inputValue : inputValue.expression;\n // todo-step-ui hook up validation errors\n return (<>\n {\n const updatedInputs = inputAccessor.changeInputValue(props.inputs, newValue);\n props.setInputs(updatedInputs);\n }} label={props.label} error={props.getFieldError(inputPath)}/>\n \n );\n}\n","import { ActionButton } from \"@octopusdeploy/design-system-components\";\nimport type { InputPathToArray, ObjectInputPathsAndPathToObject } from \"@octopusdeploy/step-inputs\";\nimport type { ObjectRuntimeInputs, PathToInput, PlainObjectTypeDefinition } from \"@octopusdeploy/step-runtime-inputs\";\nimport { createInputArrayAccessor, getArrayFromArrayInputPath, getPathToArrayInput } from \"@octopusdeploy/step-runtime-inputs\";\nimport type { InlineComponent, InlineInputRows, InlineListComponent, NoteExpression } from \"@octopusdeploy/step-ui\";\nimport { exhaustiveCheck } from \"@octopusdeploy/type-utils\";\nimport cn from \"classnames\";\nimport React from \"react\";\nimport { RemoveItemsList } from \"~/components/RemoveItemsList/RemoveItemsList\";\nimport { StepCheckbox } from \"~/components/StepPackageEditor/Inputs/Components/Checkbox/Checkbox\";\nimport { StepPackageSelect } from \"~/components/StepPackageEditor/Inputs/Components/DiscriminatorComponents/Select/Select\";\nimport { MultilineText } from \"~/components/StepPackageEditor/Inputs/Components/MultilineText/MultilineText\";\nimport { StepNumber } from \"~/components/StepPackageEditor/Inputs/Components/Number/Number\";\nimport { Text } from \"~/components/StepPackageEditor/Inputs/Components/Text/Text\";\nimport type { StepInputDependencies } from \"~/components/StepPackageEditor/StepInputDependencies\";\nimport type { InputSummary } from \"~/components/StepPackageEditor/Summary/InputSummary\";\nimport type { StepPackageContext } from \"../../../StepPackageContext\";\nimport { Note } from \"../../Note/Note\";\nimport { mapInitialInputs } from \"../../mapInitialInputs\";\nimport { getSchemaForInputArray } from \"../../schemaTraversal\";\nimport styles from \"./style.module.less\";\nexport function getInlineListSummary(component: InlineListComponent, inputs: ObjectRuntimeInputs): InputSummary {\n const inputArrayAccessor = createInputArrayAccessor(component.input);\n const numberOfItems = inputArrayAccessor.getInputValue(inputs).length;\n if (numberOfItems === 0) {\n return \"empty\";\n }\n // todo-step-ui Add a set of summary chips of the individual items in the list\n if (numberOfItems === 1) {\n return { isDefaultValue: false, value: `${numberOfItems} item` };\n }\n return { isDefaultValue: false, value: `${numberOfItems} items` };\n}\nexport interface InlineListProps {\n configuredStepUIProps: InlineListComponent;\n inputs: ObjectRuntimeInputs;\n setInputs(inputs: ObjectRuntimeInputs): void;\n getInputSchema: (inputs: ObjectRuntimeInputs) => PlainObjectTypeDefinition;\n localNames: string[] | undefined;\n getFieldError: (name: PathToInput) => string;\n note?: NoteExpression[];\n inputDependencies: StepInputDependencies;\n}\ntype Item = ObjectRuntimeInputs;\nclass UnknownRemoveItemList extends RemoveItemsList {\n}\nexport function InlineList(props: InlineListProps) {\n const inputArrayAccessor = createInputArrayAccessor(props.configuredStepUIProps.input);\n const items = inputArrayAccessor.getInputValue(props.inputs);\n function addNewItem() {\n // TODO: in this case we are pushing an initial input type into the runtime input type array\n // This could cause issues with trying to retrieve runtime schema from those inputs (although likely wont as the types sufficiently overlap)\n // We should investigate creating a shared base between these types\n const newItem = { ...props.configuredStepUIProps.newItem };\n const newInputs = inputArrayAccessor.changeInputValue(props.inputs, [...items, newItem]);\n const currentRuntimeSchema = getSchemaForInputArray(props.configuredStepUIProps.input, props.getInputSchema(newInputs));\n const newInputSchema = currentRuntimeSchema.itemTypes[currentRuntimeSchema.itemTypes.length - 1];\n // Only objects are supported as the input type for arrays when using the List component\n // so the value for isRequired here doesn't matter as the object will be parsed and\n // the requiredness of each property will be evaluated individually\n // TODO: Action context can be mapped from input dependencies as they have the same properties\n // this feels a bit out of place though, we should look to plumb them through\n const actionContext: StepPackageContext = props.inputDependencies;\n const mappedInputs = mapInitialInputs(newInputSchema, false, [...getPathToArrayInput(props.configuredStepUIProps.input), currentRuntimeSchema.itemTypes.length - 1], newInputs, actionContext);\n props.setInputs(mappedInputs);\n }\n function removeItem(item: Item) {\n const newInputs = inputArrayAccessor.changeInputValue(props.inputs, items.filter((i) => i !== item));\n props.setInputs(newInputs);\n }\n return (<>\n \n ]} onRemoveRow={removeItem} onRow={(_, index) => {\n // eslint-disable-next-line @typescript-eslint/consistent-type-assertions\n const inputPathToArray = props.configuredStepUIProps.input as InputPathToArray;\n return ( itemIndex={index} inputPathToArray={inputPathToArray} formContent={props.configuredStepUIProps.editItemForm} getFieldError={props.getFieldError} localNames={props.localNames} inputs={props.inputs} setInputs={props.setInputs} getInputSchema={props.getInputSchema}/>);\n }}/>\n );\n}\ninterface InlineListRowProps {\n inputPathToArray: InputPathToArray;\n itemIndex: number;\n formContent: (arrayItemInputs: ObjectInputPathsAndPathToObject) => InlineInputRows;\n getFieldError: (name: PathToInput) => string;\n localNames: string[] | undefined;\n inputs: ObjectRuntimeInputs;\n setInputs(inputs: ObjectRuntimeInputs): void;\n getInputSchema: (inputs: ObjectRuntimeInputs) => PlainObjectTypeDefinition;\n}\nfunction InlineListRow({ inputPathToArray, itemIndex, formContent, inputs, setInputs, localNames, getFieldError, getInputSchema }: InlineListRowProps) {\n const inputPathToArrayItem = getArrayFromArrayInputPath(inputPathToArray)[itemIndex];\n const inputRows = formContent(inputPathToArrayItem);\n return (<>\n
    \n {inputRows.map((inputRow, index) => (\n {inputRow.map((inputComponent) => (
    1 ? styles.multiInput : \"\")} key={inputComponent.label}>\n component={inputComponent} inputs={inputs} setInputs={setInputs} getFieldError={getFieldError} localNames={localNames} getInputSchema={getInputSchema}/>\n
    ))}\n
    ))}\n
    \n );\n}\ninterface InlineInputProps {\n component: InlineComponent;\n inputs: ObjectRuntimeInputs;\n setInputs(inputs: ObjectRuntimeInputs): void;\n getInputSchema: (inputs: ObjectRuntimeInputs) => PlainObjectTypeDefinition;\n getFieldError: (name: PathToInput) => string;\n localNames: string[] | undefined;\n}\nfunction InlineInput({ component, inputs, setInputs, getFieldError, localNames, getInputSchema }: InlineInputProps) {\n switch (component.type) {\n case \"inline-text\":\n return input={component.input} label={component.label} inputs={inputs} setInputs={setInputs} getFieldError={getFieldError} localNames={localNames}/>;\n case \"inline-multiline-text\":\n return input={component.input} label={component.label} rows={component.rows} inputs={inputs} setInputs={setInputs} getFieldError={getFieldError} localNames={localNames}/>;\n case \"inline-checkbox\":\n return setInputs={setInputs} getFieldError={getFieldError} localNames={localNames} inputs={inputs} input={component.input} label={component.label}/>;\n case \"inline-select\":\n return setInputs={setInputs} inputs={inputs} input={component.input} label={component.label} options={component.options} getInputSchema={getInputSchema} getFieldError={getFieldError}/>;\n case \"inline-number\":\n return ( input={component.input} label={component.label} inputs={inputs} setInputs={setInputs} getFieldError={getFieldError} localNames={localNames} getInputSchema={getInputSchema} min={component.min} max={component.max}/>);\n }\n exhaustiveCheck(component, \"Unsupported inline component type\");\n}\n","/* eslint-disable @typescript-eslint/consistent-type-assertions */\nimport { Checkbox, PopoverBasicHelp } from \"@octopusdeploy/design-system-components\";\nimport * as React from \"react\";\nimport { withBoundField } from \"~/components/form/BoundField/BoundField\";\nimport { DebounceText } from \"~/primitiveComponents/form/Text/Text\";\nimport styles from \"./style.module.less\";\ntype TimeoutFormSectionProps = {\n enableCheckBox: boolean;\n label: string;\n note: string;\n help: JSX.Element;\n helpLink: JSX.Element;\n optionEnabled: boolean;\n onOptionEnabledChange: (enabled: boolean) => void;\n value: string;\n onValueChange: (value: string) => void;\n error: string;\n localNames: string[] | undefined;\n};\nconst BoundDebounceText = withBoundField(DebounceText);\nconst TimeoutFormSection = (props: TimeoutFormSectionProps) => (
    \n
    \n {props.enableCheckBox ? (
    \n \n
    ) : (
    \n {props.label}\n
    )}\n  \n \n
    \n {props.optionEnabled && ( props.onValueChange(value)} error={props.error}/>)}\n
    );\nexport default TimeoutFormSection;\n","import { Checkbox, RadioButtonGroup, RadioButton, PopoverBasicHelp } from \"@octopusdeploy/design-system-components\";\nimport type { KubernetesStatusCheckComponentProperties, KubernetesStatusCheckProperties } from \"@octopusdeploy/legacy-action-properties\";\nimport type { ActionProperties } from \"@octopusdeploy/octopus-server-client\";\nimport { useEffect, useState } from \"react\";\nimport * as React from \"react\";\nimport styles from \"~/components/Actions/kubernetes/style.module.less\";\nimport TimeoutFormSection from \"~/components/Actions/kubernetes/timeoutFormSection\";\nimport type { ActionEditProps } from \"~/components/Actions/pluginRegistry\";\nimport Chip from \"~/components/Chips/Chip\";\nimport ExternalLink from \"~/components/Navigation/ExternalLink/index\";\nimport { withTheme } from \"~/components/Theme/index\";\nimport ExpandableFormSection from \"~/components/form/Sections/ExpandableFormSection\";\nimport { Note, Summary } from \"~/components/form/index\";\nexport enum StatusCheckOption {\n enabled = \"enabled\",\n disabled = \"disabled\",\n legacyWait = \"legacyWait\"\n}\ntype KubernetesStatusCheckComponentProps = Pick, \"properties\" | \"setProperties\" | \"getFieldError\" | \"localNames\" | \"expandedByDefault\"> & {\n showLegacyWait: boolean;\n statusCheckSupported: boolean;\n timeoutSupported: boolean;\n jobsSupported: boolean;\n notSupportedReason?: JSX.Element;\n};\nconst defaultDeploymentTimeout = \"180\";\nexport const statusCheckOptionLabels: {\n [key in StatusCheckOption]: string;\n} = {\n enabled: \"Check that Kubernetes objects are running successfully\",\n legacyWait: \"Check that the rollout was successful\",\n disabled: \"Don't do any verification checks\",\n};\nexport type FullNameOf = `Octopus.Action.Kubernetes.${S}`;\nexport type ShortNameOf = T extends FullNameOf ? Name : never;\ntype FullNames = keyof KubernetesStatusCheckProperties;\ntype ShortNames = {\n [key in FullNames]: ShortNameOf;\n}[FullNames];\nconst toFullName = (shortName: T): FullNameOf => `Octopus.Action.Kubernetes.${shortName}`;\nconst RecommendedOptionChip = () => withTheme((theme) => (\n Recommended\n ));\nconst LegacyOptionChip = () => withTheme((theme) => (\n Legacy\n ));\nconst timeoutHelp = (<>\n
    The step timeout is the maximum amount of time a deployment step is allowed to run before being terminated.
    \n
    This setting is intended to prevent a step from running indefinitely or causing delays in the overall deployment process.
    \n );\nconst timeoutHelpLink = Learn more;\nconst waitForJobsHelp = (<>\n
    By default, Octopus won’t wait for the Kubernetes Jobs created during a step to run to completion before marking the step as complete.
    \n
    If you enable wait for Jobs to complete during the step, Octopus will ensure the Jobs have successfully finished executing before it considers the step successful.
    \n
    When combining this option with the step timeout, it's important to allocate a sufficient step timeout period.
    \n );\nconst waitForJobsHelpLink = Learn more;\nexport const KubernetesStatusCheckComponent = (props: KubernetesStatusCheckComponentProps) => {\n const getKubernetesVariable = (shortName: T): KubernetesStatusCheckProperties[FullNameOf] => props.properties[toFullName(shortName)];\n const setKubernetesVariable = (shortName: T, value: KubernetesStatusCheckProperties[FullNameOf]) => props.setProperties({ [toFullName(shortName)]: value });\n const getDeploymentWait = (): string => props.properties[\"Octopus.Action.KubernetesContainers.DeploymentWait\"];\n const setDeploymentWait = (wait: string) => props.setProperties({ [\"Octopus.Action.KubernetesContainers.DeploymentWait\"]: wait });\n const toStatusCheckOption = (resourceStatusCheck: \"True\" | \"False\", deploymentWait: string): StatusCheckOption => {\n if (resourceStatusCheck === \"True\") {\n return StatusCheckOption.enabled;\n }\n if (deploymentWait === \"Wait\") {\n return StatusCheckOption.legacyWait;\n }\n return StatusCheckOption.disabled;\n };\n const toStatusCheckVariableValues = (statusCheckOption: StatusCheckOption): [\n resourceStatusCheck: \"True\" | \"False\",\n deploymentWait: string\n ] => {\n switch (statusCheckOption) {\n case StatusCheckOption.enabled:\n return [\"True\", \"NoWait\"];\n case StatusCheckOption.legacyWait:\n return [\"False\", \"Wait\"];\n case StatusCheckOption.disabled:\n return [\"False\", \"NoWait\"];\n }\n };\n const setStatusCheck = (statusCheckOption: StatusCheckOption) => {\n const [resourceStatusCheck, deploymentWait] = toStatusCheckVariableValues(statusCheckOption);\n setKubernetesVariable(\"ResourceStatusCheck\", resourceStatusCheck);\n setDeploymentWait(deploymentWait);\n setStatusCheckOption(statusCheckOption);\n };\n const getSummary = () => {\n const summary = statusCheckOption === StatusCheckOption.enabled ? Summary.default : Summary.summary;\n return summary({statusCheckOptionLabels[statusCheckOption]});\n };\n const getDefaultStatusCheckOption = () => {\n const option = toStatusCheckOption(getKubernetesVariable(\"ResourceStatusCheck\"), getDeploymentWait());\n // this indicates we are in an existing step that did not support the wait option,\n // such as a Job or a blue/green deployment.\n // For these projects the value of \"DeploymentWait\" was incorrectly set to \"Wait\".\n if (option === StatusCheckOption.legacyWait && !props.showLegacyWait) {\n return StatusCheckOption.disabled;\n }\n return option;\n };\n const timeout = getKubernetesVariable(\"DeploymentTimeout\");\n const [statusCheckOption, setStatusCheckOption] = useState(getDefaultStatusCheckOption());\n useEffect(() => {\n if (statusCheckOption === StatusCheckOption.legacyWait && !props.showLegacyWait) {\n setStatusCheckOption(StatusCheckOption.disabled);\n }\n }, [statusCheckOption, props.showLegacyWait]);\n useEffect(() => {\n if (!props.statusCheckSupported) {\n setStatusCheckOption(StatusCheckOption.disabled);\n }\n }, [props.statusCheckSupported]);\n const renderContent = () => {\n if (!props.statusCheckSupported) {\n return props.notSupportedReason;\n }\n return (<>\n onChange={(option) => setStatusCheck(option)} value={statusCheckOption}>\n \n {statusCheckOptionLabels.enabled}\n \n } accessibleName={statusCheckOptionLabels.enabled}/>\n
    \n Get real-time status updates while this step is running and validate the status of your Kubernetes objects before considering this step successful.\n {statusCheckOption === StatusCheckOption.enabled && props.timeoutSupported && (<>\n setKubernetesVariable(\"DeploymentTimeout\", enabled ? defaultDeploymentTimeout : null)} value={timeout ?? \"0\"} onValueChange={(value) => setKubernetesVariable(\"DeploymentTimeout\", value)} label={\"Step timeout\"} note={\"Timeout period in seconds\"} help={timeoutHelp} helpLink={timeoutHelpLink} error={props.getFieldError(\"Octopus.Action.Kubernetes.DeploymentTimeout\")} localNames={props.localNames}/>\n )}\n {statusCheckOption === StatusCheckOption.enabled && props.jobsSupported && (
    \n setKubernetesVariable(\"WaitForJobs\", value ? \"True\" : \"False\")} label={\"Wait for Jobs to complete during this step\"}/>\n  \n \n
    )}\n
    \n {props.showLegacyWait && (\n {statusCheckOptionLabels.legacyWait}\n \n } accessibleName={statusCheckOptionLabels.legacyWait}/>)}\n\n {props.showLegacyWait && (\n Use the kubectl rollout status command to get confirmation that your pods have updated. This option doesn't show status updates in real-time and may be deprecated in future.\n )}\n\n \n {statusCheckOptionLabels.disabled}\n } accessibleName={statusCheckOptionLabels.disabled}/>\n Octopus will mark this step as complete without waiting for any updates from Kubernetes about the deployment.\n \n );\n };\n return (Configure how to validate the status of your Kubernetes objects} isExpandedByDefault={props.expandedByDefault}>\n {renderContent()}\n );\n};\nexport const InitialStatusCheckProperties: ActionProperties = {\n \"Octopus.Action.Kubernetes.ResourceStatusCheck\": \"True\",\n};\nconst InitialTimeoutProperties: ActionProperties = {\n \"Octopus.Action.Kubernetes.DeploymentTimeout\": `${defaultDeploymentTimeout}`,\n};\nexport const InitialStatusCheckWithTimeoutProperties: ActionProperties = {\n ...InitialStatusCheckProperties,\n ...InitialTimeoutProperties,\n};\nexport default KubernetesStatusCheckComponent;\n","import { Checkbox, RadioButton, RadioButtonGroup, PopoverBasicHelp } from \"@octopusdeploy/design-system-components\";\nimport type { KubernetesObjectStatusInput, InputPathToObject } from \"@octopusdeploy/step-inputs\";\nimport { createObjectValueAccessor } from \"@octopusdeploy/step-runtime-inputs\";\nimport type { ObjectRuntimeInputs, PathToInput } from \"@octopusdeploy/step-runtime-inputs\";\nimport type { KubernetesObjectStatusComponent } from \"@octopusdeploy/step-ui\";\nimport React, { useState } from \"react\";\nimport { StatusCheckOption, statusCheckOptionLabels } from \"~/components/Actions/kubernetes/kubernetesStatusCheckComponent\";\nimport Chip from \"~/components/Chips/Chip\";\nimport ExternalLink from \"~/components/Navigation/ExternalLink/index\";\nimport type { InputSummary } from \"~/components/StepPackageEditor/Summary/InputSummary\";\nimport { withTheme } from \"~/components/Theme/index\";\nimport { Note } from \"~/components/form/index\";\nimport Number from \"~/primitiveComponents/form/Number/Number\";\nimport type { StepInputDependencies } from \"../../../StepInputDependencies\";\nimport styles from \"./style.module.less\";\nexport function getKubernetesObjectStatusSummary(component: KubernetesObjectStatusComponent, inputs: ObjectRuntimeInputs): InputSummary {\n const inputAccessor = createObjectValueAccessor(component.input);\n const status = inputAccessor.getInputValue(inputs);\n if (status.enabled) {\n return { isDefaultValue: true, value: \"Check that Kubernetes objects are running successfully\" };\n }\n else {\n return { isDefaultValue: false, value: \"Don't do any verification checks\" };\n }\n}\ninterface KubernetesObjectStatusProps {\n configuredStepUIProps: KubernetesObjectStatusComponent;\n inputs: ObjectRuntimeInputs;\n setInputs(inputs: ObjectRuntimeInputs): void;\n dependencies: StepInputDependencies;\n getFieldError: (path: PathToInput) => string;\n localNames: string[] | undefined;\n input: InputPathToObject;\n}\nconst RecommendedOptionChip = () => withTheme((theme) => (\n Recommended\n ));\nconst defaultDeploymentTimeout = 180;\nexport function KubernetesObjectStatus(props: KubernetesObjectStatusProps) {\n const inputAccessor = createObjectValueAccessor(props.configuredStepUIProps.input);\n const status = inputAccessor.getInputValue(props.inputs);\n const [statusCheckOption, setStatusCheckOption] = useState(status.enabled ? StatusCheckOption.enabled : StatusCheckOption.disabled);\n const [timeoutEnabled, setTimeoutEnabled] = useState(typeof status.timeout === \"number\" ? status.timeout !== 0 : true);\n // eslint-disable-next-line @typescript-eslint/consistent-type-assertions\n const [waitForJobs, setWaitForJobs] = useState(status.waitForJobs as boolean);\n // eslint-disable-next-line @typescript-eslint/consistent-type-assertions\n const [timeout, setTimeout] = useState(status.timeout as number);\n return (<>\n onChange={(value) => {\n status.enabled = value === StatusCheckOption.enabled;\n const updatedInputs = inputAccessor.changeInputValue(props.inputs, status);\n props.setInputs(updatedInputs);\n setStatusCheckOption(value);\n }} value={statusCheckOption}>\n \n Get real-time status updates while this step is running and validate the status of your Kubernetes objects before considering this step successful.\n {statusCheckOption === StatusCheckOption.enabled && (<>\n
    \n {\n status.timeout = value ? defaultDeploymentTimeout : 0;\n const updatedInputs = inputAccessor.changeInputValue(props.inputs, status);\n props.setInputs(updatedInputs);\n setTimeoutEnabled(value);\n setTimeout(status.timeout);\n }} label={\"Step timeout\"}/>\n  \n \n
    \n {timeoutEnabled && (
    \n {\n status.timeout = value || 1;\n const updatedInputs = inputAccessor.changeInputValue(props.inputs, status);\n props.setInputs(updatedInputs);\n setTimeout(status.timeout);\n }}/>\n
    )}\n
    \n {\n status.waitForJobs = value;\n const updatedInputs = inputAccessor.changeInputValue(props.inputs, status);\n props.setInputs(updatedInputs);\n setWaitForJobs(value);\n }} label={\"Wait for Jobs to complete during this step\"}/>\n  \n \n
    \n )}\n \n Octopus will mark this step as complete without waiting for any updates from Kubernetes about the deployment.\n \n );\n}\nconst timeoutHelp = (<>\n
    The step timeout is the maximum amount of time a deployment step is allowed to run before being terminated.
    \n
    This setting is intended to prevent a step from running indefinitely or causing delays in the overall deployment process.
    \n );\nconst timeoutHelpLink = Learn more;\nconst waitForJobsHelp = (<>\n
    By default, Octopus won’t wait for the Kubernetes Jobs created during a step to run to completion before marking the step as complete.
    \n
    If you enable wait for Jobs to complete during the step, Octopus will ensure the Jobs have successfully finished executing before it considers the step successful.
    \n
    When combining this option with the step timeout, it's important to allocate a sufficient step timeout period.
    \n );\nconst waitForJobsHelpLink = Learn more;\n","import type { CommonInputProps, SectionComponent } from \"@octopusdeploy/step-ui\";\nimport React from \"react\";\nimport type { RenderedComponentAndSummary } from \"~/components/StepPackageEditor/EditStepPackageInputs\";\nimport { getInputContentReactKey, Input } from \"~/components/StepPackageEditor/Inputs/Components/Input\";\nimport { FormSectionHeading } from \"~/components/form/Sections\";\ninterface SectionProps {\n section: SectionComponent;\n isExpandedByDefault: boolean;\n getRenderedComponentAndSummary(component: TInputComponents): RenderedComponentAndSummary;\n}\nexport function Section(props: SectionProps) {\n return (<>\n \n {props.section.content.map((content) => ( key={getInputContentReactKey(content)} content={content} isExpandedByDefault={props.isExpandedByDefault} getRenderedComponentAndSummary={props.getRenderedComponentAndSummary}/>))}\n );\n}\n","import type { CommonInputProps } from \"@octopusdeploy/step-ui\";\nimport React from \"react\";\nimport type { RenderedComponentAndSummary } from \"~/components/StepPackageEditor/EditStepPackageInputs\";\nimport { getInputContentReactKey, Input } from \"~/components/StepPackageEditor/Inputs/Components/Input\";\ninterface UnnamedSectionParams {\n content: TInputComponents[];\n isExpandedByDefault: boolean;\n getRenderedComponentAndSummary(component: TInputComponents): RenderedComponentAndSummary;\n}\nexport function UnnamedSection(props: UnnamedSectionParams) {\n return (<>\n {props.content.map((content) => ( content={content} isExpandedByDefault={props.isExpandedByDefault} key={getInputContentReactKey(content)} getRenderedComponentAndSummary={props.getRenderedComponentAndSummary}/>))}\n );\n}\nexport function getUnnamedSectionKey(content: TInputComponents[]) {\n return content.map((c) => c.label).join(\"-\");\n}\n","// When we have input components that are not underneath a section or section group,\n// we still want to visually group them together, even though there is no heading under which to group them\n// This function groups up any sequential input components into an array, making it easy to pass them down to an UnnamedSection\nexport function groupInputComponents(content: Array, isNonInputComponent: (component: NonInputComponent | TInputComponent) => component is NonInputComponent): Array {\n // The algorithm becomes much simpler if we build this up in reverse\n // (i.e. add any new items to the beginning of the accumulation array), and then do a final reverse at the end\n return content\n .reduce>((accumulatedInReverse, nextComponent) => {\n if (isNonInputComponent(nextComponent)) {\n return [nextComponent, ...accumulatedInReverse];\n }\n const [lastItem, ...rest] = accumulatedInReverse;\n if (Array.isArray(lastItem)) {\n return [[...lastItem, nextComponent], ...rest];\n }\n return [[nextComponent], ...accumulatedInReverse];\n }, [])\n .reverse();\n}\n","import type { CommonInputProps, SectionComponent, SectionGroupComponent } from \"@octopusdeploy/step-ui\";\nimport React from \"react\";\nimport type { RenderedComponentAndSummary } from \"~/components/StepPackageEditor/EditStepPackageInputs\";\nimport { Section } from \"~/components/StepPackageEditor/Structure/Section/Section\";\nimport { getUnnamedSectionKey, UnnamedSection } from \"~/components/StepPackageEditor/Structure/UnnamedSection/UnnamedSection\";\nimport { groupInputComponents } from \"~/components/StepPackageEditor/Structure/groupInputComponents\";\nimport { FormSectionHeading } from \"~/components/form/Sections\";\ninterface SectionGroupProps {\n sectionGroup: SectionGroupComponent;\n isExpandedByDefault: boolean;\n getRenderedComponentAndSummary(component: TInputComponents): RenderedComponentAndSummary;\n}\nexport function SectionGroup(props: SectionGroupProps) {\n const groupedContent = groupInputComponents, TInputComponents>(props.sectionGroup.content, (component): component is SectionComponent => \"type\" in component && component.type === \"section\");\n return (<>\n \n {groupedContent.map((groupedContent, i) => {\n if (Array.isArray(groupedContent)) {\n return ( key={getUnnamedSectionKey(groupedContent)} content={groupedContent} isExpandedByDefault={props.isExpandedByDefault} getRenderedComponentAndSummary={props.getRenderedComponentAndSummary}/>);\n }\n return
    ;\n })}\n );\n}\n","import type { CommonInputProps, FormContent, SectionComponent, SectionGroupComponent } from \"@octopusdeploy/step-ui\";\nimport React from \"react\";\nimport { Section } from \"~/components/StepPackageEditor/Structure/Section/Section\";\nimport { SectionGroup } from \"~/components/StepPackageEditor/Structure/SectionGroup/SectionGroup\";\nimport { UnnamedSection } from \"~/components/StepPackageEditor/Structure/UnnamedSection/UnnamedSection\";\nimport { groupInputComponents } from \"~/components/StepPackageEditor/Structure/groupInputComponents\";\nimport type { InputSummary } from \"~/components/StepPackageEditor/Summary/InputSummary\";\ninterface EditStepInputsProps {\n formContent: FormContent[];\n isExpandedByDefault: boolean;\n getRenderedComponentAndSummary(component: TInputComponents): RenderedComponentAndSummary;\n}\nexport type RenderedComponentAndSummary = {\n summary: InputSummary;\n renderedComponent: React.ReactNode | null;\n};\nexport function EditStepPackageInputs(props: EditStepInputsProps) {\n const groupedComponents = groupInputComponents | SectionComponent, TInputComponents>(props.formContent, (component): component is SectionGroupComponent | SectionComponent => \"type\" in component && (component.type === \"section\" || component.type === \"section group\"));\n return (<>\n {groupedComponents.map((groupedContent, i) => {\n if (Array.isArray(groupedContent)) {\n return key={i} content={groupedContent} getRenderedComponentAndSummary={props.getRenderedComponentAndSummary} isExpandedByDefault={props.isExpandedByDefault}/>;\n }\n switch (groupedContent.type) {\n case \"section group\":\n return ( key={groupedContent.title} sectionGroup={groupedContent} isExpandedByDefault={props.isExpandedByDefault} getRenderedComponentAndSummary={props.getRenderedComponentAndSummary}/>);\n case \"section\":\n return key={groupedContent.title} section={groupedContent} isExpandedByDefault={props.isExpandedByDefault} getRenderedComponentAndSummary={props.getRenderedComponentAndSummary}/>;\n }\n })}\n );\n}\n","import * as React from \"react\";\nimport styles from \"./style.module.less\";\nconst ListTitle: React.StatelessComponent = (props) => {\n return

    {props.children}

    ;\n};\nListTitle.displayName = \"ListTitle\"\nListTitle.displayName = \"ListTitle\";\nexport default ListTitle;\n","import ListTitle from \"./ListTitle\";\nexport default ListTitle;\n","import * as React from \"react\";\nimport Dialog from \"~/components/Dialog/Dialog\";\nimport type { OpenDialogProps } from \"~/components/Dialog/OpenDialogConnect\";\nimport { OpenDialogConnect } from \"~/components/Dialog/OpenDialogConnect\";\nimport dialogIdGenerator from \"~/components/Dialog/dialogIdGenerator\";\ninterface DialogOpenerProps {\n open: boolean;\n wideDialog?: boolean;\n onClose: () => void; //must reset open on close or you can't re-open\n}\ntype DialogOpenerInternalProps = DialogOpenerProps & OpenDialogProps;\n//eslint-disable-next-line react/no-unsafe\nexport class DialogOpenerInternal extends React.Component {\n private uniqueId: string;\n constructor(props: DialogOpenerInternalProps) {\n super(props);\n this.uniqueId = dialogIdGenerator.next();\n }\n componentDidMount() {\n if (!this.props.openDialogs[this.uniqueId] && this.props.open) {\n this.props.openDialog(this.uniqueId);\n }\n }\n UNSAFE_componentWillReceiveProps(nextProps: DialogOpenerInternalProps) {\n if (!this.props.openDialogs[this.uniqueId] && !nextProps.openDialogs[this.uniqueId] && !this.props.open && nextProps.open) {\n this.props.openDialog(this.uniqueId);\n }\n if (this.props.openDialogs[this.uniqueId] && !nextProps.openDialogs[this.uniqueId] && this.props.onClose) {\n this.props.onClose();\n }\n }\n render() {\n return (\n {this.props.children}\n );\n }\n static displayName = \"DialogOpenerInternal\";\n}\nconst DialogOpener = OpenDialogConnect.to(DialogOpenerInternal, true);\nexport default DialogOpener;\n","import { ActionButton, Drawer } from \"@octopusdeploy/design-system-components\";\nimport type { InputPathToArray, InputPathToObject, InputPathToValue, ObjectInputPathsAndPathToObject } from \"@octopusdeploy/step-inputs\";\nimport type { InputObjectAccessor, ObjectRuntimeInputs, PathToInput, PlainObjectTypeDefinition } from \"@octopusdeploy/step-runtime-inputs\";\nimport { createInputArrayAccessor, createInputValueAccessor, createObjectInputPaths, createObjectValueAccessor, getArrayFromArrayInputPath, getPathToArrayInput, getPathToInput, isBoundValue, isInputPathToValue, } from \"@octopusdeploy/step-runtime-inputs\";\nimport type { FormContent, ListComponent, StepInputComponent, NoteExpression } from \"@octopusdeploy/step-ui\";\nimport React, { useCallback, useContext, useEffect, useState } from \"react\";\nimport type { DoBusyTask } from \"~/components/DataBaseComponent/index\";\nimport { ExpandableContainer } from \"~/components/Expandable\";\nimport { RemoveItemsList } from \"~/components/RemoveItemsList/RemoveItemsList\";\nimport { createRenderedComponentAndSummaryForStepFactory, createSummaryFactory } from \"~/components/StepPackageEditor/CreateRenderedComponentAndSummaryForStepFactory\";\nimport { EditStepPackageInputs } from \"~/components/StepPackageEditor/EditStepPackageInputs\";\nimport { getSchemaForInputArray } from \"~/components/StepPackageEditor/Inputs/schemaTraversal\";\nimport type { SetGitDependencies, StepInputDependencies } from \"~/components/StepPackageEditor/StepInputDependencies\";\nimport type { InputSummary } from \"~/components/StepPackageEditor/Summary/InputSummary\";\nimport ListTitle from \"~/primitiveComponents/dataDisplay/ListTitle\";\nimport DialogOpener from \"../../../../Dialog/DialogOpener\";\nimport OkDialogLayout from \"../../../../DialogLayout/OkDialogLayout\";\nimport type { StepPackageContext } from \"../../../StepPackageContext\";\nimport { Note } from \"../../Note/Note\";\nimport { mapInitialInputs } from \"../../mapInitialInputs\";\nimport styles from \"./style.module.less\";\nconst NestedDrawerContext = React.createContext(false);\nexport function getListSummary(content: ListComponent, inputs: ObjectRuntimeInputs): InputSummary {\n const inputArrayAccessor = createInputArrayAccessor(content.input);\n const numberOfItems = inputArrayAccessor.getInputValue(inputs).length;\n if (numberOfItems === 0) {\n return \"empty\";\n }\n // todo-step-ui Add a set of summary chips of the individual items in the list\n if (numberOfItems === 1) {\n return { isDefaultValue: false, value: `${numberOfItems} item` };\n }\n return { isDefaultValue: false, value: `${numberOfItems} items` };\n}\ninterface ListProps {\n configuredStepUIProps: ListComponent;\n inputs: ObjectRuntimeInputs;\n setInputs(inputs: ObjectRuntimeInputs): void;\n setGitDependencies: SetGitDependencies;\n getInputSchema: (inputs: ObjectRuntimeInputs) => PlainObjectTypeDefinition;\n inputDependencies: StepInputDependencies;\n getFieldError: (name: string | PathToInput) => string;\n note?: NoteExpression[];\n doBusyTask: DoBusyTask;\n}\ntype Item = ObjectRuntimeInputs;\nclass UnknownRemoveItemList extends RemoveItemsList {\n}\nfunction inputPathsEqual(aInputPath: InputPathToValue, bInputPath: InputPathToValue) {\n const a = getPathToInput(aInputPath);\n const b = getPathToInput(bInputPath);\n if (a.length !== b.length)\n return false;\n for (let i = 0; i < a.length; i++) {\n if (a[i] !== b[i])\n return false;\n }\n return true;\n}\nconst SUPPORTED_SUMMARY_TYPES: string[] = [\"text\", \"number\"];\nconst SUMMARY_FIELDS_LIMIT = 3;\nfunction getListItemFieldsSummary(listComponent: ListComponent, getSummary: (component: StepInputComponent) => InputSummary, inputItem: ObjectInputPathsAndPathToObject): ListItemFieldSummary[] {\n const { editItemForm, itemSummary } = listComponent;\n const { title: itemSummaryTitle, fields: itemSummaryFields } = itemSummary(inputItem);\n const formFields = editItemForm(inputItem).reduce(flattenSections, []);\n const summaryComponents = itemSummaryFields != undefined ? findComponentsForInputs(formFields, itemSummaryFields) : allComponentsExceptTitle(formFields, itemSummaryTitle);\n return summaryComponents\n .filter((component) => SUPPORTED_SUMMARY_TYPES.includes(component.type))\n .reduce((summaries, component) => [...summaries, toListItemSummaryProp(component)], [])\n .slice(0, SUMMARY_FIELDS_LIMIT);\n function toListItemSummaryProp(component: StepInputComponent): ListItemFieldSummary {\n const summary = getSummary(component);\n const value = summary !== \"empty\" ? summary.value : summary;\n return { label: component.label, value };\n }\n}\nfunction flattenSections(acc: StepInputComponent[], item: FormContent): StepInputComponent[] {\n if (item.type == \"section\") {\n return [...acc, ...item.content];\n }\n if (item.type == \"section group\") {\n return [...acc, ...item.content.reduce(flattenSections, [])];\n }\n return [...acc, item];\n}\nfunction findComponentsForInputs(formFields: StepInputComponent[], itemSummaryFields: InputPathToValue[]) {\n return itemSummaryFields.map((chosen) => formFields.find((field) => isInputPathToValue(field.input) && inputPathsEqual(field.input, chosen))).filter((value: T | undefined): value is T => value != undefined);\n}\nfunction allComponentsExceptTitle(formFields: StepInputComponent[], titleInputPath: InputPathToValue) {\n return formFields.filter((component) => !(isInputPathToValue(component.input) && inputPathsEqual(component.input, titleInputPath)));\n}\ntype ListItemSummaryProps = {\n fields: ListItemFieldSummary[];\n};\ntype ListItemFieldSummary = {\n label: string;\n value: string;\n};\nfunction ListItemSummary(props: ListItemSummaryProps) {\n return (<>\n
    \n
    \n {props.fields.map(({ label, value }) => (\n {label}:\n {value}\n ))}\n
    \n {props.fields.length > 0 &&
    + more…
    }\n
    \n );\n}\nexport function List(props: ListProps) {\n const [itemCurrentlyBeingEdited, setItemCurrentlyBeingEdited] = useState<{\n indexOfItem: number;\n editedItem: ObjectRuntimeInputs;\n accessor: InputObjectAccessor;\n } | null>(null);\n const inputArrayAccessor = createInputArrayAccessor(props.configuredStepUIProps.input);\n const items = inputArrayAccessor.getInputValue(props.inputs);\n const isInsideDrawer = useContext(NestedDrawerContext);\n const stepInputSchema = props.getInputSchema(props.inputs);\n // Automatically open the drawer when a new item is added.\n const getAccessorForCurrentItemHandler = React.useCallback(getAccessorForCurrentItem, [props.configuredStepUIProps.input]);\n const currentNumberOfItems = React.useRef(items.length);\n useEffect(() => {\n if (itemCurrentlyBeingEdited === null && currentNumberOfItems.current < items.length) {\n setItemCurrentlyBeingEdited({\n editedItem: { ...items[items.length - 1] },\n indexOfItem: items.length - 1,\n accessor: getAccessorForCurrentItemHandler(items.length - 1),\n });\n }\n currentNumberOfItems.current = items.length;\n }, [items, getAccessorForCurrentItemHandler, itemCurrentlyBeingEdited, currentNumberOfItems]);\n function addNewItem() {\n // TODO: in this case we are pushing an initial input type into the runtime input type array\n // This could cause issues with trying to retrieve runtime schema from those inputs (although likely wont as the types sufficiently overlap)\n // We should investigate creating a shared base between these types\n const newItem = { ...props.configuredStepUIProps.newItem };\n const newInputs = inputArrayAccessor.changeInputValue(props.inputs, [...items, newItem]);\n const currentRuntimeSchema = getSchemaForInputArray(props.configuredStepUIProps.input, props.getInputSchema(newInputs));\n const newInputSchema = currentRuntimeSchema.itemTypes[currentRuntimeSchema.itemTypes.length - 1];\n // Only objects are supported as the input type for arrays when using the List component\n // so the value for isRequired here doesn't matter as the object will be parsed and\n // the requiredness of each property will be evaluated individually\n // TODO: Action context can be mapped from input dependencies as they have the same properties\n // this feels a bit out of place though, we should look to plumb them through\n const actionContext: StepPackageContext = props.inputDependencies;\n const mappedInputs = mapInitialInputs(newInputSchema, false, [...getPathToArrayInput(props.configuredStepUIProps.input), currentRuntimeSchema.itemTypes.length - 1], newInputs, actionContext);\n props.setInputs(mappedInputs);\n }\n function removeItem(item: Item) {\n const newInputs = inputArrayAccessor.changeInputValue(props.inputs, items.filter((i) => i !== item));\n props.setInputs(newInputs);\n }\n function getAccessorForCurrentItem(indexOfItemBeingEdited: number): InputObjectAccessor {\n // We constrain ourselves to having lists of objects only, hence this cast\n // eslint-disable-next-line @typescript-eslint/consistent-type-assertions\n const pathToItemInArray: InputPathToObject = getArrayFromArrayInputPath(props.configuredStepUIProps.input)[indexOfItemBeingEdited] as unknown as InputPathToObject;\n return createObjectValueAccessor(pathToItemInArray);\n }\n function saveChangesToItem() {\n if (itemCurrentlyBeingEdited === null) {\n throw new Error(\"Can't save changes to an item because there is no item currently stored on state\");\n }\n const { editedItem, accessor } = itemCurrentlyBeingEdited;\n const newInputs = accessor.changeInputValue(props.inputs, editedItem);\n props.setInputs(newInputs);\n setItemCurrentlyBeingEdited(null);\n return true;\n }\n const listContent = itemCurrentlyBeingEdited && ( setItemCurrentlyBeingEdited({ ...itemCurrentlyBeingEdited, editedItem: updatedItem })} inputPath={props.configuredStepUIProps.input} inputObjectAccessor={itemCurrentlyBeingEdited.accessor} parentInputs={props.inputs} getFieldError={props.getFieldError} doBusyTask={props.doBusyTask} setGitDependencies={props.setGitDependencies}/>);\n // Prevent more than one layer of Drawers - if a ContextualHelpLayout is an ancestor, we render the contents in a Dialog instead.\n return (<>\n {isInsideDrawer ? ( setItemCurrentlyBeingEdited(null)} wideDialog>\n \n {listContent}\n \n ) : ( setItemCurrentlyBeingEdited(null)} onPrimaryButtonClick={saveChangesToItem} title={props.configuredStepUIProps.itemLabel} variant=\"default\">\n {listContent}\n )}\n \n ]} onRow={(item, itemIndex) => {\n const schemaForArrayItem = getSchemaOfItemInArray(props.configuredStepUIProps.input, stepInputSchema, itemIndex);\n const inputPathsForArrayItem = createObjectInputPaths(schemaForArrayItem);\n const getSummary = createSummaryFactory(item, () => schemaForArrayItem, props.inputDependencies);\n const itemFieldsSummary = getListItemFieldsSummary(props.configuredStepUIProps, getSummary, inputPathsForArrayItem);\n const itemSummary = getItemSummary(item, itemIndex, props.configuredStepUIProps.input, stepInputSchema, props.configuredStepUIProps.itemSummary);\n return (<>\n {itemSummary === \"\" ? \"Not Provided\" : itemSummary}\n \n );\n }} onRowTouch={(item) => {\n const indexOfItem = items.indexOf(item);\n setItemCurrentlyBeingEdited({\n editedItem: { ...item },\n indexOfItem: indexOfItem,\n accessor: getAccessorForCurrentItem(indexOfItem),\n });\n }} onRemoveRow={(item) => removeItem(item)} removeButtonAccessibleName={(item, itemIndex) => {\n const itemSummary = getItemSummary(item, itemIndex, props.configuredStepUIProps.input, stepInputSchema, props.configuredStepUIProps.itemSummary);\n return `Remove ${itemSummary}`;\n }} clearButtonAlignment=\"top\"/>\n );\n}\ninterface ListContentProps {\n inputPath: InputPathToArray;\n itemBeingEdited: ObjectRuntimeInputs;\n itemIndex: number;\n onEditedItemChanged: (newItem: ObjectRuntimeInputs) => void;\n formContent: (arrayItemInputs: ObjectInputPathsAndPathToObject) => FormContent[];\n getInputSchema: (inputs: ObjectRuntimeInputs) => PlainObjectTypeDefinition;\n inputDependencies: StepInputDependencies;\n getFieldError: (name: string | PathToInput) => string;\n inputObjectAccessor: InputObjectAccessor;\n parentInputs: ObjectRuntimeInputs;\n doBusyTask: DoBusyTask;\n setGitDependencies: SetGitDependencies;\n}\nfunction ListContent(props: ListContentProps) {\n const { getFieldError, inputPath, getInputSchema, parentInputs, itemIndex, inputObjectAccessor } = props;\n const getSchemaOfArrayItem = useCallback<(inputs: ObjectRuntimeInputs) => PlainObjectTypeDefinition>((updatedItemBeingEdited) => {\n const modifiedInputs = inputObjectAccessor.changeInputValue(parentInputs, updatedItemBeingEdited);\n const parentInputSchema = getInputSchema(modifiedInputs);\n return getSchemaOfItemInArray(inputPath, parentInputSchema, itemIndex);\n }, [inputObjectAccessor, parentInputs, getInputSchema, inputPath, itemIndex]);\n const schemaForArrayItem = getSchemaOfArrayItem(props.itemBeingEdited);\n const inputPathsForArrayItem = createObjectInputPaths(schemaForArrayItem);\n const formContent = props.formContent(inputPathsForArrayItem);\n const getFieldErrorForArrayItem: (path: string | PathToInput) => string = React.useCallback((path) => {\n if (typeof path === \"string\") {\n return getFieldError(path);\n }\n const arrayPath = getPathToArrayInput(inputPath);\n return getFieldError([...arrayPath, ...path]);\n }, [getFieldError, inputPath]);\n const getRenderedComponentAndSummary = createRenderedComponentAndSummaryForStepFactory(props.itemBeingEdited, props.inputDependencies, props.onEditedItemChanged, getSchemaOfArrayItem, getFieldErrorForArrayItem, props.doBusyTask, props.setGitDependencies);\n // By putting an expandable container here, the state of the expanders is removed when the Expandable container unmounts (i.e. when the drawer is removed)\n // This means that the next time the drawer is shown, it uses fresh state for the expanders. Without the ExpandableContainer, this doesn't happen and it re-uses the old state\n return (\n formContent={formContent} isExpandedByDefault={true} getRenderedComponentAndSummary={getRenderedComponentAndSummary}/>\n );\n}\nfunction getSchemaOfItemInArray(inputPath: InputPathToArray, schema: PlainObjectTypeDefinition, itemIndex: number): PlainObjectTypeDefinition {\n const schemaForArray = getSchemaForInputArray(inputPath, schema);\n const schemaForArrayItem = schemaForArray.itemTypes[itemIndex];\n if (schemaForArrayItem === undefined) {\n throw new Error(`Couldn't find schema for array item at index ${itemIndex}`);\n }\n switch (schemaForArrayItem.type) {\n case \"package\":\n case \"sensitive\":\n case \"account\":\n case \"git-source\":\n case \"string\":\n case \"primitive\":\n case \"container-image\":\n throw new Error(\"Primitive types can't be the inner type of an array for List components.\");\n case \"array\":\n throw new Error(\"Arrays can't be the inner type of an array for List components\");\n }\n return schemaForArrayItem;\n}\nfunction getItemSummary(item: ObjectRuntimeInputs, itemIndex: number, inputPath: InputPathToArray, inputSchema: PlainObjectTypeDefinition, itemSummary: ListComponent[\"itemSummary\"]): string {\n const schemaForArrayItem = getSchemaOfItemInArray(inputPath, inputSchema, itemIndex);\n const inputPathsForArrayItem = createObjectInputPaths(schemaForArrayItem);\n const pathToSummaryInput = itemSummary(inputPathsForArrayItem);\n const summaryValueAccessor = createInputValueAccessor(pathToSummaryInput.title);\n const summaryValue = summaryValueAccessor.getInputValue(item);\n return isBoundValue(summaryValue) ? summaryValue.expression : summaryValue;\n}\n","import type { SensitiveValue } from \"@octopusdeploy/step-inputs\";\nimport type { ObjectRuntimeInputs, PathToInput } from \"@octopusdeploy/step-runtime-inputs\";\nimport { createInputValueAccessor, getPathToInput, isBoundValue, isNotBoundValue, toResourceSensitiveValue, toRuntimeSensitiveValue } from \"@octopusdeploy/step-runtime-inputs\";\nimport type { SensitiveTextComponent } from \"@octopusdeploy/step-ui\";\nimport React from \"react\";\nimport type { InputSummary } from \"~/components/StepPackageEditor/Summary/InputSummary\";\nimport { BoundSensitive, ObfuscatedPlaceholder } from \"~/components/form/Sensitive/Sensitive\";\nimport { Note } from \"../../Note/Note\";\ninterface SensitiveProps {\n configuredStepUIProps: SensitiveTextComponent;\n inputs: ObjectRuntimeInputs;\n setInputs(inputs: ObjectRuntimeInputs): void;\n getFieldError: (name: PathToInput) => string;\n}\nexport function Sensitive(props: SensitiveProps) {\n const inputAccessor = createInputValueAccessor(props.configuredStepUIProps.input);\n const inputValue = inputAccessor.getInputValue(props.inputs);\n const inputPath = getPathToInput(props.configuredStepUIProps.input);\n const value = isNotBoundValue(inputValue) ? toResourceSensitiveValue(inputValue) : inputValue.expression;\n return (<>\n {\n if (typeof newValue === \"string\") {\n const updatedInputs = inputAccessor.changeInputValue(props.inputs, {\n type: \"bound\",\n expression: newValue,\n });\n props.setInputs(updatedInputs);\n }\n else {\n const newInputValue = toRuntimeSensitiveValue(newValue);\n const updatedInputs = inputAccessor.changeInputValue(props.inputs, newInputValue);\n props.setInputs(updatedInputs);\n }\n }} label={props.configuredStepUIProps.label}/>\n \n );\n}\nexport function getSensitiveContentSummary(component: SensitiveTextComponent, inputs: ObjectRuntimeInputs): InputSummary {\n const inputAccessor = createInputValueAccessor(component.input);\n const inputValue = inputAccessor.getInputValue(inputs);\n if (isNotBoundValue(inputValue)) {\n if (inputValue.type === \"empty\") {\n return \"empty\";\n }\n else {\n return {\n isDefaultValue: false,\n value: ObfuscatedPlaceholder,\n };\n }\n }\n else {\n return {\n isDefaultValue: false,\n value: inputValue.expression,\n };\n }\n}\n","import type { ObjectRuntimeInputs, PathToInput, PlainObjectTypeDefinition } from \"@octopusdeploy/step-runtime-inputs\";\nimport type { StepInputComponent } from \"@octopusdeploy/step-ui\";\nimport { exhaustiveCheck } from \"@octopusdeploy/type-utils\";\nimport React from \"react\";\nimport type { DoBusyTask } from \"~/components/DataBaseComponent/index\";\nimport type { RenderedComponentAndSummary } from \"~/components/StepPackageEditor/EditStepPackageInputs\";\nimport { BindableAccountSelector, getAccountSelectorSummary } from \"~/components/StepPackageEditor/Inputs/Components/AccountSelector/BindableAccountSelector\";\nimport { getCodeEditorSummary, CodeEditor } from \"~/components/StepPackageEditor/Inputs/Components/CodeEditor/CodeEditor\";\nimport { ContainerImageSelector, getContainerImageSelectorSummary } from \"~/components/StepPackageEditor/Inputs/Components/ContainerImageSelector/ContainerImageSelector\";\nimport { getRadioButtonsSummary, RadioButtons } from \"~/components/StepPackageEditor/Inputs/Components/DiscriminatorComponents/RadioButtons/RadioButtons\";\nimport { getGitSourceSelectorSummary, GitSourceSelector } from \"~/components/StepPackageEditor/Inputs/Components/GitSourceSelector/GitSourceSelector\";\nimport { getInlineListSummary, InlineList } from \"~/components/StepPackageEditor/Inputs/Components/InlineList/InlineList\";\nimport { getKubernetesObjectStatusSummary, KubernetesObjectStatus } from \"~/components/StepPackageEditor/Inputs/Components/KubernetesObjectStatus/KubernetesObjectStatus\";\nimport { getListSummary, List } from \"~/components/StepPackageEditor/Inputs/Components/List/List\";\nimport { getMultilineTextContentSummary, MultilineText } from \"~/components/StepPackageEditor/Inputs/Components/MultilineText/MultilineText\";\nimport { getStepNumberSummary, StepNumber } from \"~/components/StepPackageEditor/Inputs/Components/Number/Number\";\nimport { getPackageSelectorSummary, StepPackageSelector } from \"~/components/StepPackageEditor/Inputs/Components/PackageSelector/PackageSelector\";\nimport { getSensitiveContentSummary, Sensitive } from \"~/components/StepPackageEditor/Inputs/Components/Sensitive/Sensitive\";\nimport { getTextContentSummary, Text } from \"~/components/StepPackageEditor/Inputs/Components/Text/Text\";\nimport type { SetGitDependencies, StepInputDependencies } from \"~/components/StepPackageEditor/StepInputDependencies\";\nimport { getStepCheckboxContentSummary, StepCheckbox } from \"./Inputs/Components/Checkbox/Checkbox\";\nimport { getSelectSummary, StepPackageSelect } from \"./Inputs/Components/DiscriminatorComponents/Select/Select\";\nimport type { InputSummary } from \"./Summary/InputSummary\";\nexport function createSummaryFactory(inputs: ObjectRuntimeInputs, getInputSchema: (inputs: ObjectRuntimeInputs) => PlainObjectTypeDefinition, inputDependencies: StepInputDependencies) {\n return (component: StepInputComponent): InputSummary => {\n switch (component.type) {\n case \"sensitive\":\n return getSensitiveContentSummary(component, inputs);\n case \"package\":\n return getPackageSelectorSummary(component, inputs);\n case \"container-image\":\n return getContainerImageSelectorSummary(component, inputs);\n case \"text\":\n return getTextContentSummary(component, inputs);\n case \"multiline-text\":\n return getMultilineTextContentSummary(component, inputs);\n case \"code-editor\":\n return getCodeEditorSummary(component, inputs);\n case \"radio-buttons\":\n return getRadioButtonsSummary(inputs, component, getInputSchema);\n case \"list\":\n return getListSummary(component, inputs);\n case \"inline-list\":\n return getInlineListSummary(component, inputs);\n case \"checkbox\":\n return getStepCheckboxContentSummary(component, inputs);\n case \"select\":\n return getSelectSummary(inputs, component, getInputSchema);\n case \"number\":\n return getStepNumberSummary(component, inputs);\n case \"account\":\n return getAccountSelectorSummary(component, inputs, inputDependencies.accounts);\n case \"git-source\":\n return getGitSourceSelectorSummary(component, inputs, inputDependencies.gitCredentials);\n case \"kubernetes-object-status\":\n return getKubernetesObjectStatusSummary(component, inputs);\n default:\n return exhaustiveCheck(component, `Section content type not yet implemented`);\n }\n };\n}\nfunction createRenderedComponentFactory(inputs: ObjectRuntimeInputs, inputDependencies: StepInputDependencies, setInputs: (inputs: ObjectRuntimeInputs) => void, getInputSchema: (inputs: ObjectRuntimeInputs) => PlainObjectTypeDefinition, getFieldError: (name: string | PathToInput) => string, doBusyTask: DoBusyTask, setGitDependencies: SetGitDependencies): (component: StepInputComponent) => React.ReactNode | null {\n return (component: StepInputComponent): React.ReactNode | null => {\n const localNames = \"localNames\" in inputDependencies ? inputDependencies.localNames : undefined;\n switch (component.type) {\n case \"sensitive\":\n return configuredStepUIProps={component} inputs={inputs} setInputs={setInputs} getFieldError={getFieldError}/>;\n case \"package\":\n return configuredStepUIProps={component} inputs={inputs} setInputs={setInputs} dependencies={inputDependencies} getFieldError={getFieldError}/>;\n case \"container-image\":\n return setInputs={setInputs} inputs={inputs} configuredStepUIProps={component} getFieldError={getFieldError} dependencies={inputDependencies}/>;\n case \"text\":\n return input={component.input} label={component.label} note={component.note} inputs={inputs} setInputs={setInputs} localNames={localNames} getFieldError={getFieldError}/>;\n case \"multiline-text\":\n return input={component.input} label={component.label} rows={component.rows} note={component.note} inputs={inputs} setInputs={setInputs} localNames={localNames} getFieldError={getFieldError}/>;\n case \"code-editor\":\n return input={component.input} configuredStepUIProps={component} label={component.label} note={component.note} inputs={inputs} setInputs={setInputs} localNames={localNames}/>;\n case \"radio-buttons\":\n return configuredStepUIProps={component} inputs={inputs} setInputs={setInputs} getInputSchema={getInputSchema} localNames={localNames} getFieldError={getFieldError} inputDependencies={inputDependencies}/>;\n case \"list\":\n return ( configuredStepUIProps={component} inputs={inputs} setInputs={setInputs} setGitDependencies={setGitDependencies} getInputSchema={getInputSchema} inputDependencies={inputDependencies} getFieldError={getFieldError} note={component.note} doBusyTask={doBusyTask}/>);\n case \"inline-list\":\n return ( configuredStepUIProps={component} inputs={inputs} setInputs={setInputs} getFieldError={getFieldError} getInputSchema={getInputSchema} localNames={localNames} note={component.note} inputDependencies={inputDependencies}/>);\n case \"checkbox\":\n return ( input={component.input} label={component.label} note={component.note} toggleableNote={component.toggleableNote} inputs={inputs} setInputs={setInputs} localNames={localNames} getFieldError={getFieldError}/>);\n case \"account\":\n return ( inputs={inputs} setInputs={setInputs} getFieldError={getFieldError} configuredStepUIProps={component} getInputSchema={getInputSchema} dependencies={inputDependencies} localNames={localNames} doBusyTask={doBusyTask}/>);\n case \"select\":\n return ( inputs={inputs} setInputs={setInputs} getInputSchema={getInputSchema} getFieldError={getFieldError} input={component.input} label={component.label} note={component.note} options={component.options} inputDependencies={inputDependencies}/>);\n case \"number\":\n return getInputSchema={getInputSchema} inputs={inputs} setInputs={setInputs} getFieldError={getFieldError} localNames={localNames} input={component.input} label={component.label} note={component.note}/>;\n case \"git-source\":\n return ( configuredStepUIProps={component} inputs={inputs} getInputSchema={getInputSchema} setInputs={setInputs} setGitDependencies={setGitDependencies} dependencies={inputDependencies} localNames={localNames} getFieldError={getFieldError}/>);\n case \"kubernetes-object-status\":\n return input={component.input} inputs={inputs} setInputs={setInputs} getFieldError={getFieldError} dependencies={inputDependencies} configuredStepUIProps={component} localNames={localNames}/>;\n default:\n return exhaustiveCheck(component, `Section content type not yet implemented`);\n }\n };\n}\nexport function createRenderedComponentAndSummaryForStepFactory(inputs: ObjectRuntimeInputs, inputDependencies: StepInputDependencies, setInputs: (inputs: ObjectRuntimeInputs) => void, getInputSchema: (inputs: ObjectRuntimeInputs) => PlainObjectTypeDefinition, getFieldError: (name: string | PathToInput) => string, doBusyTask: DoBusyTask, setGitDependencies: SetGitDependencies): (component: StepInputComponent) => RenderedComponentAndSummary {\n const getSummary = createSummaryFactory(inputs, getInputSchema, inputDependencies);\n const getRenderedComponent = createRenderedComponentFactory(inputs, inputDependencies, setInputs, getInputSchema, getFieldError, doBusyTask, setGitDependencies);\n return (component: StepInputComponent): RenderedComponentAndSummary => ({\n summary: getSummary(component),\n renderedComponent: getRenderedComponent(component),\n });\n}\n","import type { ObjectRuntimeInputs, PathToInput, PlainObjectTypeDefinition, RootInputSchema } from \"@octopusdeploy/step-runtime-inputs\";\nimport { createObjectInputPaths } from \"@octopusdeploy/step-runtime-inputs\";\nimport type { StepInputComponent, StepUI } from \"@octopusdeploy/step-ui\";\nimport React, { useCallback } from \"react\";\nimport type { DoBusyTask } from \"~/components/DataBaseComponent/index\";\nimport { createRenderedComponentAndSummaryForStepFactory } from \"~/components/StepPackageEditor/CreateRenderedComponentAndSummaryForStepFactory\";\nimport { EditStepPackageInputs } from \"~/components/StepPackageEditor/EditStepPackageInputs\";\nimport type { SetGitDependencies, StepInputDependencies } from \"~/components/StepPackageEditor/StepInputDependencies\";\nexport interface TypedStepPackageEditorProps {\n editInputsForm: StepUI[\"editInputsForm\"];\n getRootInputSchema: (inputs: ObjectRuntimeInputs) => RootInputSchema;\n inputs: ObjectRuntimeInputs;\n setInputs(inputs: ObjectRuntimeInputs): void;\n setGitDependencies: SetGitDependencies;\n inputDependencies: StepInputDependencies;\n isExpandedByDefault: boolean;\n getFieldError: (name: string | PathToInput) => string;\n doBusyTask: DoBusyTask;\n}\nexport function TypedStepPackageEditor(props: TypedStepPackageEditorProps) {\n const { inputs, getRootInputSchema, inputDependencies, getFieldError, setInputs, setGitDependencies, doBusyTask } = props;\n const getInputSchema = useCallback<(inputs: ObjectRuntimeInputs) => PlainObjectTypeDefinition>((inputs) => {\n return { type: \"object\", discriminatorProperties: [], nonDiscriminatorProperties: getRootInputSchema(inputs).properties };\n }, [getRootInputSchema]);\n const inputPaths = createObjectInputPaths(getInputSchema(props.inputs));\n const formContent = props.editInputsForm(inputPaths);\n const getRenderedComponentAndSummary = createRenderedComponentAndSummaryForStepFactory(inputs, inputDependencies, setInputs, getInputSchema, getFieldError, doBusyTask, setGitDependencies);\n return isExpandedByDefault={props.isExpandedByDefault} formContent={formContent} getRenderedComponentAndSummary={getRenderedComponentAndSummary}/>;\n}\n","import type { FeedResource, GitCredentialResource, ProcessType, ProjectResource } from \"@octopusdeploy/octopus-server-client\";\nexport interface ActionWithFeeds {\n feeds: FeedResource[];\n refreshFeeds: () => Promise;\n}\nexport type ActionWithGitRepositorySource = ActionWithGitCredentials & {\n project?: ProjectResource;\n processType?: ProcessType;\n};\nexport interface ActionWithGitCredentials {\n gitCredentials: GitCredentialResource[];\n refreshGitCredentials: () => Promise;\n}\nexport interface ActionWithDirtyState {\n modelDirty: boolean;\n}\n/**\n * Some package ID's are invalid names, so we will try and sanitize them into valid a name.\n * Names can only contain letters, numbers, periods, commas, dashes, underscores or hashes.\n * @param name The supplied package name\n * @return The sanitized package name\n */\nexport const GeneratePackageNameFromId = (name: string) => {\n if (!name) {\n return name;\n }\n // IDs are truncated before the first slash, colon, or comma, to retain backwards compatibility with an earlier\n // sanitization implementation.\n // Container image ID's may contain `/`\n // Maven package ID's will contain `:`\n // We will take everything to the right of the last invalid-char as the name.\n // e.g. hashicorp/http-echo -> http-echo\n // e.g. org.acme:acme-web -> acme-web\n const firstTruncationCharIndex = name.search(\"[/,:]\");\n // If a character triggering truncation is found, perform the truncation.\n if (firstTruncationCharIndex >= 0) {\n name = name.substring(firstTruncationCharIndex + 1);\n }\n // Replace any invalid characters with underscores.\n return name.replace(/[^A-Za-z0-9.,\\-_#]/g, \"_\");\n};\n","import type { PackageReference } from \"@octopusdeploy/octopus-server-client\";\nimport type { ContainerImageReference, PackageReference as InputPackageReference } from \"@octopusdeploy/step-inputs\";\nimport type { InputProperty, NonDiscriminatorTypeDefinition, ObjectRuntimeInputs, PathToInput, PlainObjectTypeDefinition, RootInputSchema } from \"@octopusdeploy/step-runtime-inputs\";\nimport { createInputValueAccessor, createPathToInput, isBoundValue } from \"@octopusdeploy/step-runtime-inputs\";\nimport { exhaustiveCheck } from \"@octopusdeploy/type-utils\";\nimport { GeneratePackageNameFromId } from \"../../Actions/commonActionHelpers\";\nimport { convertToRuntimeContainerImageSelection } from \"./Components/ContainerImageSelector/ContainerImageConverters\";\nimport { convertToRuntimePackageSelection } from \"./Components/PackageSelector/PackageSelectionConverters\";\nexport function getPackagesFromInputs(inputs: ObjectRuntimeInputs, schema: RootInputSchema, existingPackages: PackageReference[]) {\n const inputObjectSchema: PlainObjectTypeDefinition = { type: \"object\", nonDiscriminatorProperties: schema.properties, discriminatorProperties: [] };\n return getPackageReferences(inputObjectSchema, []);\n function getPackageReferences(typeDefinition: NonDiscriminatorTypeDefinition, path: PathToInput): PackageReference[] {\n switch (typeDefinition.type) {\n case \"git-source\":\n case \"account\":\n case \"string\":\n case \"primitive\":\n case \"sensitive\":\n return [];\n case \"object\":\n return typeDefinition.nonDiscriminatorProperties.reduce(function (acc: PackageReference[], property: InputProperty): PackageReference[] {\n return [...acc, ...getPackageReferences(property.type, [...path, property.name])];\n }, []);\n case \"array\":\n return typeDefinition.itemTypes.reduce(function (acc: PackageReference[], property: NonDiscriminatorTypeDefinition, i: number): PackageReference[] {\n return [...acc, ...getPackageReferences(property, [...path, i])];\n }, []);\n case \"container-image\": {\n const pathToInput = createPathToInput(path);\n const inputAccessor = createInputValueAccessor(pathToInput);\n const inputValue = inputAccessor.getInputValue(inputs);\n if (isBoundValue(inputValue)) {\n throw new Error(\"Bound values for Container Image inputs are not yet supported\");\n }\n const runtimeContainerImageReference = convertToRuntimeContainerImageSelection(inputValue);\n return [\n {\n PackageId: runtimeContainerImageReference.imageName ?? \"\",\n FeedId: runtimeContainerImageReference.feedId ?? \"\",\n Name: GeneratePackageNameFromId(runtimeContainerImageReference.imageName ?? \"\"),\n AcquisitionLocation: \"NotAcquired\",\n Properties: {},\n // eslint-disable-next-line @typescript-eslint/no-non-null-assertion\n Id: existingPackages.find((p) => p.StepPackageInputsReferenceId === runtimeContainerImageReference.referenceId)?.Id ?? null!,\n StepPackageInputsReferenceId: runtimeContainerImageReference.referenceId,\n },\n ];\n }\n case \"package\": {\n const pathToInput = createPathToInput(path);\n const inputAccessor = createInputValueAccessor(pathToInput);\n const inputValue = inputAccessor.getInputValue(inputs);\n if (isBoundValue(inputValue)) {\n throw new Error(\"Bound values for Package inputs are not yet supported\");\n }\n const runtimePackageReference = convertToRuntimePackageSelection(inputValue);\n return [\n {\n PackageId: runtimePackageReference.packageId ?? \"\",\n FeedId: runtimePackageReference.feedId ?? \"\",\n Name: GeneratePackageNameFromId(runtimePackageReference.packageId ?? \"\"),\n AcquisitionLocation: \"ExecutionTarget\",\n Properties: {},\n // eslint-disable-next-line @typescript-eslint/no-non-null-assertion\n Id: existingPackages.find((p) => p.StepPackageInputsReferenceId === runtimePackageReference.referenceId)?.Id ?? null!,\n StepPackageInputsReferenceId: runtimePackageReference.referenceId,\n },\n ];\n }\n }\n exhaustiveCheck(typeDefinition, \"One or more of the typeDefinition cases were not handled\");\n return [];\n }\n}\n","import type { ObjectResourceInputs, ObjectRuntimeInputs, PathToInput, RootInputSchema } from \"@octopusdeploy/step-runtime-inputs\";\nimport { asResourceInputs, asRuntimeInputs, convertFromJsonSchemaToInputSchema } from \"@octopusdeploy/step-runtime-inputs\";\nimport React, { useCallback } from \"react\";\nimport type { DoBusyTask } from \"~/components/DataBaseComponent/index\";\nimport type { UnstructuredStepResourceInputs } from \"~/components/StepPackageEditor/Inputs/UnstructuredStepResourceInputs\";\nimport type { SetGitDependencies, StepInputDependencies } from \"~/components/StepPackageEditor/StepInputDependencies\";\nimport type { UnknownStepPackage } from \"~/components/StepPackageEditor/StepPackage/StepPackage\";\nimport { TypedStepPackageEditor } from \"~/components/StepPackageEditor/TypedStepPackageEditor\";\nimport { getPackagesFromInputs } from \"./Inputs/getPackagesFromInputs\";\nexport interface StepPackageEditorProps {\n stepPackage: UnknownStepPackage;\n inputs: UnstructuredStepResourceInputs;\n setInputs(inputs: UnstructuredStepResourceInputs): void;\n setGitDependencies: SetGitDependencies;\n inputDependencies: StepInputDependencies;\n isExpandedByDefault: boolean;\n getFieldError: (name: string | PathToInput) => string;\n doBusyTask: DoBusyTask;\n}\nexport function StepPackageEditor(props: StepPackageEditorProps) {\n const { editInputsForm } = props.stepPackage.stepUI;\n const inputJsonSchema = props.stepPackage.inputSchema;\n const getRootInputSchema = useCallback((inputs: ObjectResourceInputs | ObjectRuntimeInputs): RootInputSchema => {\n return convertFromJsonSchemaToInputSchema(inputJsonSchema, inputs);\n }, [inputJsonSchema]);\n const setInputs = (inputs: ObjectRuntimeInputs) => {\n const inputSchemaForChangedInputs = getRootInputSchema(inputs);\n props.setInputs(asResourceInputs(inputSchemaForChangedInputs.properties, inputs));\n props.inputDependencies.setPackages((existingPackages) => {\n return getPackagesFromInputs(inputs, inputSchemaForChangedInputs, existingPackages);\n });\n };\n const stepResourceInputs: ObjectResourceInputs = props.inputs ?? {};\n const inputSchema = getRootInputSchema(stepResourceInputs);\n const runtimeInputs = asRuntimeInputs(inputSchema.properties, stepResourceInputs);\n return ( getFieldError={props.getFieldError} editInputsForm={editInputsForm} getRootInputSchema={getRootInputSchema} inputs={runtimeInputs} setInputs={setInputs} setGitDependencies={props.setGitDependencies} isExpandedByDefault={props.isExpandedByDefault} inputDependencies={props.inputDependencies} doBusyTask={props.doBusyTask}/>);\n}\n","import { ActionExecutionLocation, ExecutionLocation } from \"@octopusdeploy/octopus-server-client\";\nimport type { PathToInput } from \"@octopusdeploy/step-runtime-inputs\";\nimport { asResourceInputs, convertFromJsonSchemaToInputSchema } from \"@octopusdeploy/step-runtime-inputs\";\nimport * as React from \"react\";\nimport { TargetRoles } from \"~/areas/projects/components/Process/types\";\nimport type { ActionEditProps, ActionPlugin } from \"~/components/Actions/pluginRegistry\";\nimport { getPathAsString } from \"~/components/StepPackageEditor/Inputs/getPathAsString\";\nimport { isProjectStepInputDependencies } from \"~/components/StepPackageEditor/StepInputDependencies\";\nimport type { UnknownStepPackage } from \"~/components/StepPackageEditor/StepPackage/StepPackage\";\nimport { StepPackageEditor } from \"~/components/StepPackageEditor/StepPackageEditor\";\nimport { FormSectionHeading } from \"~/components/form/Sections\";\nimport type { UnstructuredStepResourceInputs } from \"../Inputs/UnstructuredStepResourceInputs\";\nimport { getPackagesFromInputs } from \"../Inputs/getPackagesFromInputs\";\nimport { mapRootInitialInputs } from \"../Inputs/mapInitialInputs\";\nimport type { StepPackageContext } from \"../StepPackageContext\";\n// We want to move away from using the name \"Actions\" and move towards using the name \"Steps\" instead.\n// We have used the name Steps within our new step UI Framework, which begins here.\n// We continue to use the name \"Actions\" in our old implementation.\n// This function forms the boundary between the two,\n// hence the naming is inconsistent here and both Step and Action refer to the same thing\nexport function createStepPackagePluginAdapter(stepPackage: UnknownStepPackage, actionType: string): ActionPlugin {\n const EditStepPackageInputs: React.FC = (props) => {\n const { getFieldError } = props;\n const getFieldErrorFromInputPath = React.useCallback((name: string | PathToInput) => {\n if (typeof name === \"string\") {\n return getFieldError(name);\n }\n return getFieldError(`inputs.${getPathAsString(name)}`);\n }, [getFieldError]);\n if (!props.inputDependencies) {\n throw new Error(\"The required step input dependencies have not been provided to the Step Package Editor.\");\n }\n const setInputs = stepPackage.isLegacyStep ? props.setProperties : props.setInputs;\n if (!setInputs) {\n throw new Error(\"The Step Package Editor requires either setInputs or setProperties to be supplied.\");\n }\n if (!props.setGitDependencies) {\n throw new Error(\"The Step Package Editor requires setGitDependencies to be supplied.\");\n }\n const stepPackageEditor = ( props.setGitDependencies && props.setGitDependencies(gitDependencies(props.gitDependencies ? props.gitDependencies : null))} stepPackage={stepPackage} setInputs={setInputs} \n /* eslint-disable-next-line @typescript-eslint/consistent-type-assertions */\n inputs={stepPackage.isLegacyStep ? props.properties : (props.inputs as UnstructuredStepResourceInputs)} isExpandedByDefault={props.expandedByDefault} inputDependencies={props.inputDependencies} getFieldError={getFieldErrorFromInputPath} doBusyTask={props.doBusyTask}/>);\n if (isProjectStepInputDependencies(props.inputDependencies)) {\n if (!(stepPackage.stepUI.configuration?.useConfigurationUISection ?? true)) {\n return stepPackageEditor;\n }\n return (<>\n \n {stepPackageEditor}\n );\n }\n return stepPackageEditor;\n };\n EditStepPackageInputs.displayName = \"EditStepPackageInputs\"\n const getInitialInputsAndPackages = (context?: StepPackageContext) => {\n const initialInputs = stepPackage.stepUI.createInitialInputs();\n const inputSchema = convertFromJsonSchemaToInputSchema(stepPackage.inputSchema, initialInputs);\n const mappedInputs = mapRootInitialInputs(inputSchema, initialInputs, context);\n return {\n inputs: asResourceInputs(inputSchema.properties, mappedInputs),\n packages: getPackagesFromInputs(mappedInputs, inputSchema, []),\n };\n };\n // AndrewB 24/3/2022\n //\n // We are introducing new abstractions that make Server the source of truth for how steps can be executed\n // Ultimately these new abstractions will allow us to simplify clients that want to define new deployment processes for Server, and simplify our execution pipeline\n //\n // At the moment these new abstractions are limited to step packages, but will eventually be adapted to Sashimi-based and server-based steps\n // Once server can express execution semantics for all steps, we will stop mapping from Server's view to Portal's view of these, and simply drive portal from the information supplied by Server.\n //\n // For now, we map the new ExecutionLocation Server model from the incoming step package to the existing ActionExecutionLocation client model\n return {\n actionType,\n canBeChild: true,\n canHaveChildren: () => true,\n canRunInContainer: stepPackage.stepUI.configuration === undefined ? stepPackage.canRunInExecutionContainer : stepPackage.stepUI.configuration.canRunInExecutionContainer,\n canRunOnWorker: true,\n editSections: { default: EditStepPackageInputs },\n executionLocation: stepPackage.executionLocation === ExecutionLocation.ServerOrWorker ? ActionExecutionLocation.AlwaysOnServer : ActionExecutionLocation.TargetOrServer,\n features: undefined,\n hasPackages: () => {\n return false; //todo-step-ui, inspect the schema to determine this\n },\n summary: () => {\n return <>{stepPackage.description};\n },\n targetRoleOption: () => {\n return stepPackage.requiresTargetRole ? TargetRoles.Required : TargetRoles.Optional;\n },\n getInitialInputsAndPackages,\n version: stepPackage.version,\n stepPackage: stepPackage,\n releaseNotesUrl: stepPackage.releaseNotesUrl,\n targetDiscoveryCloudConnectionProviders: () => stepPackage.targetDiscoveryCloudConnectionTypes,\n canUseExecutionTimeouts: stepPackage.stepUI.configuration?.canUseExecutionTimeouts,\n };\n}\n","/* eslint-disable @typescript-eslint/no-explicit-any */\n/* eslint-disable @typescript-eslint/consistent-type-assertions */\n// Allows other parties to register 'plugins' that provide the view and edit experience for\n// custom deployment actions and conventions.\n//\n// var module = angular.module('myPlugin', [], function(pluginRegistry) {\n// pluginRegistry.registerDeploymentAction(\"Octopus.TentaclePackage\", {\n// title: \"Deploy a NuGet package\", // Display text for users adding the step\n// summary: \"Deploys a NuGet package...\", // Help text to show\n// summaryTemplateUrl: \"area/foo/bar.html\", // Template for a short summary on the process overview page\n// summaryLink: function (scope, element) { // Angular directive-style link function\n// var action = scope.action; // Get the action we are rendering\n// var step = scope.step; // Get the step we are rendering\n// var jQueryElement = element; // The HTML element for the bar.html we just inserted\n// },\n// editTemplate: \"area/bar/baz.html\" // Template for editing\n// });\n//\n// pluginRegistry.registerFeature(\"Octopus.Features.CustomPackageDirectory\", {\n// isEnabled: function(action, step) { },\n// enable: function(action, step) { },\n// disable: function(action, step) { },\n// editTemplateUrl: \"area/foo/bar.html\",\n// editLink: function(scope, element) { }\n// });\n// });\nimport type { GitDependencyReference, ActionExecutionLocation, ActionProperties, ActionTemplateParameterResource, CloudConnectionType, DeploymentActionResource, GitRefResource, IProcessResource, PackageReference, PackageReferenceProperties, PackageRequirement, StepPackageInputs, WorkerPoolResource, } from \"@octopusdeploy/octopus-server-client\";\nimport { defaultStepUIConfiguration } from \"@octopusdeploy/step-ui\";\nimport type { StepUI } from \"@octopusdeploy/step-ui\";\nimport { Environment } from \"@octopusdeploy/utilities\";\nimport type * as React from \"react\";\nimport type { CloudWorkerPoolsMetadata } from \"~/areas/projects/components/Process/Common/cloudWorkerPoolHelpers\";\nimport type { RunOn, StoredAction, StoredStep, TargetRoles } from \"~/areas/projects/components/Process/types\";\nimport { jiraStepPackage } from \"~/components/Actions/jira/JiraServiceDeskChangeRequestStepUI\";\nimport { sampleStepPackage } from \"~/components/Actions/sample/SampleStepPackage\";\nimport type { StepInputDependencies } from \"~/components/StepPackageEditor/StepInputDependencies\";\nimport type { StepPackage, UnknownStepPackage } from \"~/components/StepPackageEditor/StepPackage/StepPackage\";\nimport { asUnknownStepPackage } from \"~/components/StepPackageEditor/StepPackage/StepPackage\";\nimport { createStepPackagePluginAdapter } from \"~/components/StepPackageEditor/StepPackagePluginAdapter/StepPackagePluginAdapter\";\nimport { stepPackageResolver } from \"~/stepPackages/stepPackageResolver\";\nimport type { FieldErrors } from \"../DataBaseComponent/Errors\";\nimport type { StepPackageContext } from \"../StepPackageEditor/StepPackageContext\";\nexport interface Features {\n optional?: string[];\n initial?: string[];\n permanent?: string[];\n}\nexport interface BoundFieldProps {\n localNames?: string[];\n projectId?: string;\n gitRef?: GitRefResource | undefined;\n}\n// If you need access to the Step add a new child object here to scope\n// the details you need. This won't be supplied in the Template area\nexport interface AdditionalActions {\n packageAcquisition: {\n stepPackageRequirement?: PackageRequirement;\n onStepPackageRequirementChanged(value: PackageRequirement): void;\n };\n stepTargetRoles: string;\n actionType: string;\n}\nexport interface ActionEditProps extends BoundFieldProps {\n inputs?: StepPackageInputs;\n properties: T;\n packages: Array>;\n gitDependencies?: GitDependencyReference[];\n plugin: ActionPlugin;\n runOn?: RunOn; // Will not be supplied if an action-template, as the execution location is not chosen\n additionalActions?: AdditionalActions;\n errors: FieldErrors | undefined; // only used for shouldComponentUpdate\n busy: Promise | boolean | undefined;\n expandedByDefault: boolean;\n parameters?: ActionTemplateParameterResource[];\n getFieldError(field: string): string;\n setInputs?(inputs: StepPackageInputs, callback?: () => void): void;\n setProperties(properties: Partial, initialise?: boolean, callback?: () => void): void;\n setPackages(packages: Array>, initialise?: boolean): void;\n setGitDependencies?(gitDependencies: GitDependencyReference[], initialise?: boolean): void;\n doBusyTask(action: () => Promise): Promise;\n refreshRunOn?(): void;\n getProcessResource?(): Readonly; // Will not be supplied if an action-template, as no process exists\n inputDependencies?: StepInputDependencies;\n isNew?: boolean;\n isStepFromProcessTemplate?: boolean;\n}\nexport interface ActionPlugin {\n actionType: string;\n summary: (action: ActionProperties, targetRolesAsCSV: string, packages: Array>, workerPool?: WorkerPoolResource, workerPoolVariable?: string | null, gitDependencies?: GitDependencyReference[]) => React.ReactNode;\n canHaveChildren: (step: StoredStep) => boolean;\n canBeChild: boolean;\n executionLocation: ActionExecutionLocation;\n editSections: EditSections;\n canRunOnWorker?: boolean;\n hasPackages?: (action: StoredAction) => boolean;\n targetRoleOption: (action: StoredAction | DeploymentActionResource) => TargetRoles;\n features?: Features;\n canRunInContainer?: boolean;\n getInitialProperties?: () => ActionProperties;\n getInitialInputsAndPackages?: (context?: StepPackageContext) => {\n inputs: StepPackageInputs;\n packages: PackageReference[];\n };\n stepPackage?: StepPackage;\n version?: string | undefined;\n releaseNotesUrl?: string;\n targetDiscoveryCloudConnectionProviders?: () => Array;\n canBeRetried?: boolean;\n canUseExecutionTimeouts?: boolean | (() => boolean);\n mixedExecutionLocations?: () => MixedExecutionLocationsConfig;\n disableInlineExecutionContainers?: boolean;\n docsLink?: string;\n preferredWorkerPool?: (action: StoredAction) => {\n preferredOperatingSystem: CloudWorkerPoolsMetadata[\"OperatingSystem\"] | undefined;\n requiredTools: CloudWorkerPoolsMetadata[\"SupportedTools\"];\n };\n}\nexport type MixedExecutionLocationsConfig = {\n enabled: false;\n} | {\n enabled: true;\n allLocationsRequireActionContainer: boolean;\n title: string | JSX.Element;\n callout: string | JSX.Element;\n};\nexport interface EditSections {\n default: React.ComponentType>;\n top?: React.ComponentType>;\n}\nexport interface FeaturePlugin {\n description: string;\n featureName: string;\n priority: number;\n title: string;\n edit: any;\n enable?(properties: ActionProperties): void;\n disable?(properties: ActionProperties): void;\n preSave?(properties: ActionProperties): void;\n validate?(properties: ActionProperties, errors: {}): void;\n}\nexport class ActionPluginRegistry {\n private registeredActions: Map = new Map();\n private registeredFeatures: Map = new Map();\n registerAction(registration: ActionPlugin) {\n this.registeredActions.set(registration.actionType, registration as unknown as ActionPlugin);\n }\n registerFeature(registration: FeaturePlugin) {\n this.registeredFeatures.set(registration.featureName, registration);\n }\n getAction = async (actionType: string, version?: string): Promise => {\n const legacyActionPlugin = this.registeredActions.get(actionType);\n if (legacyActionPlugin) {\n return (await getLegacyStepPackagePluginIfExists(actionType)) ?? legacyActionPlugin;\n }\n return await getStepPackagePlugin(actionType, version);\n };\n // todo-step-ui. This function needs to return the step package plugins too. Ideally we should remove this function entirely, because we don't want to load all step plugins from the API at once.\n getAllActions(): ActionPlugin[] {\n return Array.from(this.registeredActions.values());\n }\n getFeature(featureName: string): FeaturePlugin {\n const feature = this.registeredFeatures.get(featureName);\n if (!feature) {\n throw new Error(`There is no plugin registered for ${featureName} feature type.`);\n }\n return feature;\n }\n getAllFeatures(): FeaturePlugin[] {\n return Array.from(this.registeredFeatures.values()).sort((x) => x.priority);\n }\n hasFeaturesForAction(actionType: string): boolean {\n // New step packages don't use features - only legacy actions have features\n const actionPlugin = this.registeredActions.get(actionType);\n if (!actionPlugin) {\n // This can occur if the action is actually a step package, rather than a legacy action\n return false;\n }\n const featuresForAction = this.getAllFeatures().filter((f) => actionPlugin.features && actionPlugin.features.optional && actionPlugin.features.optional.includes(f.featureName));\n return featuresForAction.length > 0;\n }\n // todo-step-ui: Is there a way to get rid of this function entirely, or alternatively make it work with step package plugins?\n hasAction(actionType: string) {\n return this.registeredActions.has(actionType);\n }\n}\nasync function getLegacyStepPackagePluginIfExists(actionType: string): Promise {\n const stepPackage = getStepImplementedInPortalInDevelopmentMode(actionType);\n if (stepPackage) {\n return createStepPackagePluginAdapter(stepPackage, actionType);\n }\n return null;\n}\nasync function getStepPackagePlugin(actionType: string, version: string | undefined): Promise {\n const stepPackage = getStepImplementedInPortalInDevelopmentMode(actionType) ?? (await getRemoteStepPackage(actionType, version));\n return createStepPackagePluginAdapter(stepPackage, actionType);\n}\nfunction getStepImplementedInPortalInDevelopmentMode(actionType: string): UnknownStepPackage | null {\n if (!Environment.isInDevelopmentMode()) {\n return null;\n }\n return getStepImplementedInPortal(actionType);\n}\nexport async function getRemoteStepPackage(actionType: string, version: string | undefined): Promise {\n const stepPackage = version === undefined ? await stepPackageResolver.getStepPackage(actionType) : await stepPackageResolver.getStepPackageByIdAndVersion(actionType, version);\n const stepUI = stepPackage.stepUI as StepUI;\n if (stepUI.configuration) {\n stepUI.configuration = { ...defaultStepUIConfiguration, ...stepUI.configuration };\n }\n else {\n stepUI.configuration = { ...defaultStepUIConfiguration };\n }\n return {\n name: stepPackage.name,\n description: stepPackage.description,\n version: stepPackage.version,\n releaseNotesUrl: stepPackage.releaseNotesUrl,\n executionLocation: stepPackage.executionLocation,\n canRunInExecutionContainer: stepPackage.canRunInExecutionContainer,\n requiresTargetRole: stepPackage.requiresTargetRole,\n stepUI: stepUI,\n inputSchema: stepPackage.schema,\n isLegacyStep: false,\n targetDiscoveryCloudConnectionTypes: stepPackage.targetDiscoveryCloudConnectionTypes,\n };\n}\nexport function getStepImplementedInPortal(actionType: string): UnknownStepPackage | null {\n switch (actionType) {\n case \"Octopus.JiraIntegration.ServiceDeskAction\":\n return asUnknownStepPackage(jiraStepPackage);\n case \"sample-step\":\n return asUnknownStepPackage(sampleStepPackage);\n default:\n return null;\n }\n}\nconst pluginRegistry = new ActionPluginRegistry();\nexport default pluginRegistry;\n","import type { DeploymentActionResource, DeploymentStepResource, GitRefResource, ProcessResource, PropertyValueResource } from \"@octopusdeploy/octopus-server-client\";\nimport { isBlueprintResource, isRunbookProcessResource, isDeploymentProcessResource, PackageRequirement } from \"@octopusdeploy/octopus-server-client\";\nimport type { LinkHref } from \"@octopusdeploy/portal-routes\";\nimport { links } from \"@octopusdeploy/portal-routes\";\nimport { compact, isFunction } from \"lodash\";\nimport type { ActionPlugin } from \"~/components/Actions/pluginRegistry\";\nimport pluginRegistry from \"~/components/Actions/pluginRegistry\";\nimport type { ProcessContextModelState, ProcessIdentifier, ProcessState, StoredAction, StoredModelState, StoredStep } from \"../types\";\nimport { isDeploymentProcessIdentifier, isRunbookProcessIdentifier } from \"../types\";\nexport const getProcessResource = (state: StoredModelState) => {\n return (): Readonly => {\n if (!state.process) {\n throw Error(\"The current process has not been set\");\n }\n const stepResources = getAllSteps(state)().map((storedStep) => {\n return getStepResource(state)(storedStep.Id);\n });\n const process = {\n ...state.process,\n Steps: stepResources,\n };\n if (isDeploymentProcessResource(process)) {\n return process;\n }\n if (isRunbookProcessResource(process)) {\n return process;\n }\n if (isBlueprintResource(process)) {\n return process;\n }\n throw new Error(\"Unknown process type\");\n };\n};\nexport const canActionRunOnWorker = (getPlugin: (id: string) => ActionPlugin) => {\n return (actionId: string) => {\n const action = getPlugin(actionId);\n //If we don't specify whether an action can run on a worker, then we default to true.\n const { canRunOnWorker = true } = action;\n return canRunOnWorker ?? false;\n };\n};\nexport const shouldShowRunTrigger = (state: StoredModelState) => {\n return (actionId: string) => {\n return !isFirstStep(state)(getParentStep(state)(actionId).Id) && !isChildAction(state)(actionId);\n };\n};\nexport const canBeRetried = (getPlugin: (id: string) => ActionPlugin) => {\n return (actionId: string) => {\n const action = getPlugin(actionId);\n const { canBeRetried = true } = action;\n return canBeRetried ?? false;\n };\n};\nexport const canUseExecutionTimeouts = (getPlugin: (id: string) => ActionPlugin) => {\n return (actionId: string) => {\n const action = getPlugin(actionId);\n let { canUseExecutionTimeouts = true } = action;\n if (canUseExecutionTimeouts && isFunction(canUseExecutionTimeouts)) {\n canUseExecutionTimeouts = canUseExecutionTimeouts();\n }\n return canUseExecutionTimeouts ?? false;\n };\n};\nexport const isMerging = (state: ProcessContextModelState) => {\n return (): boolean => {\n return hasSteps(state.mergeModel.staged)();\n };\n};\nexport const isProcessMerged = (state: ProcessContextModelState) => {\n return (): boolean => {\n return state.mergeModel.processMerged;\n };\n};\nexport const isMergeDialogClosed = (state: ProcessContextModelState) => {\n return (): boolean => {\n return state.mergeModel.dialogClosed;\n };\n};\nexport const getStepResource = (state: StoredModelState) => {\n return (stepId: string): DeploymentStepResource => {\n const { ActionIds, ...stepResource } = getStepById(state)(stepId);\n return {\n ...stepResource,\n Actions: getChildActionResource(state)(stepId),\n };\n };\n};\nexport const getActionResource = (state: StoredModelState) => {\n return (actionId: string): DeploymentActionResource => {\n const { ParentId, plugin, ...action } = getActionById(state)(actionId);\n return { ...action };\n };\n};\nconst getChildActionResource = (state: StoredModelState) => {\n return (stepId: string) => {\n const childActions: DeploymentActionResource[] = getChildActions(state)(stepId).map((x) => getActionResource(state)(x.Id));\n return childActions;\n };\n};\nexport const hasChildActions = (state: StoredModelState) => {\n return (): boolean => getChildActions(state).length > 0;\n};\nexport const hasSteps = (state: StoredModelState) => {\n return (): boolean => state.steps.allIds.length > 0;\n};\nexport const hasUnsavedSteps = (state: ProcessContextModelState) => {\n return (): boolean => state.model.steps.allIds.length > 0;\n};\nexport const getProcessIdentifier = (state: ProcessContextModelState) => {\n return (): ProcessIdentifier => state.processIdentifier;\n};\nexport const getStoredProcess = (state: StoredModelState) => {\n return (): NonNullable => {\n const resource = state.process;\n if (!resource) {\n throw Error(\"Resource has not been initialized\");\n }\n return resource;\n };\n};\nexport const getOptionalStoredProcess = (state: StoredModelState) => {\n return (): ProcessState | null => {\n return state.process;\n };\n};\nexport const getStepProperty = (state: StoredModelState) => {\n return (stepId: string, propertyName: string): PropertyValueResource => {\n return state.steps.byId[stepId]?.Properties[propertyName] ?? null;\n };\n};\nexport const getActionProperty = (state: StoredModelState) => {\n return (actionId: string, propertyName: string): PropertyValueResource => {\n return state.actions.byId[actionId]?.Properties[propertyName] ?? null;\n };\n};\nexport const isNewAction = (state: ProcessContextModelState) => {\n return (actionId: string) => {\n //Since the action may not exist in the clean model we won't use a selector for it\n const existsInCleanModel = Object.prototype.hasOwnProperty.call(state.cleanModel.actions.byId, actionId);\n return !existsInCleanModel && hasAction(state.model)(actionId);\n };\n};\nexport const initiallyHadSteps = (state: ProcessContextModelState) => {\n return (): boolean => state.cleanModel.steps.allIds.length > 0;\n};\nexport const getActionById = (state: StoredModelState) => {\n return (actionId: string): StoredAction => {\n const action = state.actions.byId[actionId];\n if (!action) {\n throw Error(`Action with id ${actionId} was not found`);\n }\n return action;\n };\n};\nexport const tryGetActionById = (state: StoredModelState) => {\n return (actionId: string): StoredAction | null => {\n const action = state.actions.byId[actionId];\n return action;\n };\n};\nexport const tryGetCleanActionById = tryGetActionById;\nexport const tryGetActionByName = (state: StoredModelState) => {\n return (name: string): StoredAction | null => {\n const action = Object.values(state.actions.byId).find((x) => x.Name === name);\n return action ?? null;\n };\n};\nexport const getStepById = (state: StoredModelState) => {\n return (stepId: string): StoredStep => {\n const step = state.steps.byId[stepId];\n if (!step) {\n throw Error(`Step with id ${stepId} was not found`);\n }\n return step;\n };\n};\nexport const getStepBySlug = (state: StoredModelState) => {\n return (slug: string): StoredStep => {\n const step = Object.values(state.steps.byId).find((x) => x.Slug === slug);\n if (!step) {\n throw Error(`Step with slug ${slug} was not found`);\n }\n return step;\n };\n};\nexport const tryGetStepById = (state: StoredModelState) => {\n return (stepId: string): StoredStep | null => {\n const step = state.steps.byId[stepId];\n return step;\n };\n};\nexport const tryGetCleanStepById = tryGetStepById;\nexport const tryGetStepByName = (state: StoredModelState) => {\n return (name: string): StoredStep | null => {\n const step = Object.values(state.steps.byId).find((x) => x.Name === name);\n return step ?? null;\n };\n};\nexport const getChildActions = (state: StoredModelState) => {\n return (stepId: string): StoredAction[] => {\n const actionIds = getStepById(state)(stepId)?.ActionIds ?? [];\n return compact(actionIds.map(getActionById(state)));\n };\n};\nexport const getAllSteps = (state: StoredModelState) => {\n return () => compact(state.steps.allIds.map((x) => state.steps.byId[x]));\n};\nexport const getAllActions = (state: StoredModelState) => {\n return () => compact(state.actions.allIds.map((x) => state.actions.byId[x]));\n};\nexport const getParentStep = (state: StoredModelState) => {\n return (actionId: string): StoredStep => {\n const action = getActionById(state)(actionId);\n return getStepById(state)(action.ParentId);\n };\n};\nexport const isFirstStep = (state: StoredModelState) => {\n return (stepId: string): boolean => {\n return state.steps.allIds[0] === stepId;\n };\n};\nexport const isFirstChildAction = (state: StoredModelState) => {\n return (actionId: string): boolean => {\n const action = getActionById(state)(actionId);\n const step = getStepById(state)(action.ParentId);\n return step.ActionIds[0] === actionId;\n };\n};\nexport const isChildAction = (state: StoredModelState) => {\n return (actionId: string): boolean => {\n const action = getActionById(state)(actionId);\n const step = getStepById(state)(action.ParentId);\n return step.ActionIds.length > 1;\n };\n};\nexport const isOnlyChildAction = (state: StoredModelState) => {\n return (actionId: string): boolean => {\n const step = getParentStep(state)(actionId);\n return step.ActionIds.length === 1;\n };\n};\nexport const isPackageAction = (state: StoredModelState) => {\n return (actionId: string): boolean => {\n const action = getActionById(state)(actionId);\n const actionPlugin = getActionPlugin(state)(action.Id);\n const isContainerConfigured = !!action.Container.FeedId && !!action.Container.Image;\n const isPackageRequired = !!actionPlugin && actionPlugin.hasPackages && actionPlugin.hasPackages(action);\n return action.Packages.length > 0 || isPackageRequired || isContainerConfigured;\n };\n};\nexport const isStepPackageAction = (state: StoredModelState) => {\n return (actionId: string): boolean => {\n const action = getActionById(state)(actionId);\n const actionPlugin = getActionPlugin(state)(action.Id);\n return actionPlugin.stepPackage !== undefined;\n };\n};\nexport const actionHasFeatures = (state: StoredModelState) => {\n return (actionId: string): boolean => {\n const action = getActionById(state)(actionId);\n //This is impure, however based on our current usage it may as well be. If we ever start registering action plugins dynamically\n //such as via extensions this assumption won't hold. That is particuarly important if we end up memoizing the results based on the arguments for this selector\n return pluginRegistry.hasFeaturesForAction(action.ActionType);\n };\n};\nexport const getActionPlugin = (state: StoredModelState) => {\n return (actionid: string): ActionPlugin => {\n const action = getActionById(state)(actionid);\n return action.plugin;\n };\n};\nexport const getCleanActionPlugin = getActionPlugin;\nexport const getStepRightAfterPackageAcquisition = (state: StoredModelState) => {\n return (): StoredStep | undefined => {\n const allSteps = getAllSteps(state)();\n return allSteps.find((step) => step.PackageRequirement === PackageRequirement.AfterPackageAcquisition || isPackageStep(state)(step.Id));\n };\n};\nexport const shouldShowPackageRequirementOptionForAction = (state: StoredModelState) => {\n return (actionId: string) => {\n return !isChildAction(state)(actionId) && shouldShowPackageRequirementOptionForStep(state)(getParentStep(state)(actionId).Id);\n };\n};\nexport const shouldShowPackageRequirementOptionForStep = (state: StoredModelState) => {\n return (stepId: string) => {\n // Step packages can only execute after package acquisition\n if (isFromStepPackage(state)(stepId))\n return false;\n //\n // Note that this isn't quite enough! If there's a rolling deploy with manual intervention followed by a package step\n // that needs a worker, we need to inject package acquisition into the list of actions for that step.\n // see: https://github.com/OctopusDeploy/Issues/issues/4713\n //\n const currentStep = getStepById(state)(stepId);\n const stepRightAfterPackageAcquisition = getStepRightAfterPackageAcquisition(state)();\n const allSteps = getAllSteps(state)();\n const indexOfCurrentStep = allSteps.indexOf(currentStep);\n const indexOfTheStepRightAfterPackageAcquisition = !stepRightAfterPackageAcquisition ? -1 : allSteps.indexOf(stepRightAfterPackageAcquisition);\n return indexOfTheStepRightAfterPackageAcquisition === -1 || indexOfTheStepRightAfterPackageAcquisition > indexOfCurrentStep || (indexOfCurrentStep === indexOfTheStepRightAfterPackageAcquisition && !isPackageStep(state)(currentStep.Id));\n };\n};\nexport const getStepNumber = (state: StoredModelState) => {\n return (stepId: string): number => {\n return state.steps.allIds.indexOf(stepId) + 1;\n };\n};\nexport const canActionHaveChildren = (state: StoredModelState) => {\n return (actionId: string) => {\n const action = getActionById(state)(actionId);\n const step = getStepById(state)(action.ParentId);\n return action.plugin.canHaveChildren(step) && step.ActionIds.length === 1;\n };\n};\nexport const canActionBeChild = (state: StoredModelState) => {\n return (actionId: string) => {\n const action = getActionById(state)(actionId);\n return action.plugin.canBeChild;\n };\n};\nexport const canStepBeChild = (state: StoredModelState) => {\n return (stepId: string) => {\n const step = getStepById(state)(stepId);\n return step.ActionIds.length === 1 && canActionBeChild(state)(step.ActionIds[0]);\n };\n};\nexport const isStepDisabled = (state: StoredModelState) => {\n return (stepId: string) => {\n const storedActions = getChildActions(state)(stepId);\n return storedActions.every((x) => !!x.IsDisabled);\n };\n};\nexport const getActionNumber = (state: StoredModelState) => {\n return (actionId: string) => {\n const action = getActionById(state)(actionId);\n const step = getStepById(state)(action.ParentId);\n return step.ActionIds.indexOf(actionId) + 1;\n };\n};\nexport const getAddChildStepUrl = (state: ProcessContextModelState) => {\n return (gitRef: GitRefResource | undefined, stepId: string) => {\n const processIdentifier = getProcessIdentifier(state)();\n if (isDeploymentProcessIdentifier(processIdentifier)) {\n return gitRef\n ? links.branchDeploymentProcessStepsPage.generateUrl({ spaceId: processIdentifier.spaceId, projectSlug: processIdentifier.projectSlug, branchName: gitRef.CanonicalName }, { childStepTemplates: true, parentStepId: stepId })\n : links.deploymentProcessStepsPage.generateUrl({ spaceId: processIdentifier.spaceId, projectSlug: processIdentifier.projectSlug }, { childStepTemplates: true, parentStepId: stepId });\n }\n else if (isRunbookProcessIdentifier(processIdentifier)) {\n return links.projectRunbookProcessStepsPage.generateUrl({ spaceId: processIdentifier.spaceId, projectSlug: processIdentifier.projectSlug, runbookId: processIdentifier.runbookId, processId: processIdentifier.id }, { childStepTemplates: true, parentStepId: stepId });\n }\n else {\n return links.editProcessTemplatePage.generateUrl({ slug: processIdentifier.slug }, { gitRef: gitRef?.CanonicalName, childStepTemplates: true, parentStepId: stepId });\n }\n };\n};\nexport const getStepDetailsUrl = (state: ProcessContextModelState) => {\n return (gitRef: GitRefResource | undefined, parentStepId: string, actionId: string | null): LinkHref => {\n const processIdentifier = getProcessIdentifier(state)();\n if (isDeploymentProcessIdentifier(processIdentifier)) {\n return gitRef\n ? links.branchDeploymentProcessStepsPage.generateUrl({ spaceId: processIdentifier.spaceId, projectSlug: processIdentifier.projectSlug, branchName: gitRef.CanonicalName }, { actionId: actionId ?? undefined, parentStepId: parentStepId ?? undefined })\n : links.deploymentProcessStepsPage.generateUrl({ spaceId: processIdentifier.spaceId, projectSlug: processIdentifier.projectSlug }, { actionId: actionId ?? undefined, parentStepId: parentStepId ?? undefined });\n }\n else if (isRunbookProcessIdentifier(processIdentifier)) {\n return links.projectRunbookProcessStepsPage.generateUrl({ spaceId: processIdentifier.spaceId, projectSlug: processIdentifier.projectSlug, runbookId: processIdentifier.runbookId, processId: processIdentifier.id }, { actionId: actionId ?? undefined, parentStepId: parentStepId ?? undefined });\n }\n else {\n return links.editProcessTemplatePage.generateUrl({ slug: processIdentifier.slug }, { gitRef: gitRef?.CanonicalName, actionId: actionId ?? undefined, parentStepId: parentStepId ?? undefined });\n }\n };\n};\nexport const isActionDisabled = (state: StoredModelState) => {\n return (actionId: string) => {\n const action = getActionById(state)(actionId);\n return action.IsDisabled;\n };\n};\nexport const isRollingStep = (state: StoredModelState) => {\n return (stepId: string) => {\n const storedActions = getChildActions(state)(stepId);\n return storedActions.length > 1;\n };\n};\nexport const isPackageStep = (state: StoredModelState) => {\n return (stepId: string) => {\n const step = getStepById(state)(stepId);\n return step.ActionIds.some((actionId) => isPackageAction(state)(actionId));\n };\n};\nexport const isFromStepPackage = (state: StoredModelState) => {\n return (stepId: string) => {\n const step = getStepById(state)(stepId);\n return step.ActionIds.some((actionId) => isStepPackageAction(state)(actionId));\n };\n};\n//This seems to be a bit of an existential question for poor mr step.\nexport const canStepHaveChildren = (state: StoredModelState) => {\n return (stepId: string) => {\n if (isRollingStep(state)(stepId)) {\n return true;\n }\n const step = getStepById(state)(stepId);\n const actions = getChildActions(state)(stepId);\n return actions.every((action) => {\n return action.plugin.canHaveChildren(step);\n });\n };\n};\nexport const hasStep = (state: StoredModelState) => {\n return (stepId: string) => {\n return Object.prototype.hasOwnProperty.call(state.steps.byId, stepId) && !!state.steps.byId[stepId];\n };\n};\nexport const hasAction = (state: StoredModelState) => {\n return (actionId: string) => {\n return Object.prototype.hasOwnProperty.call(state.actions.byId, actionId) && !!state.actions.byId[actionId];\n };\n};\nexport const getStepByIndex = (state: StoredModelState) => {\n return (index: number) => {\n return getStepById(state)(state.steps.allIds[index]);\n };\n};\nexport const getActionParentStep = (state: StoredModelState) => {\n return (actionId: string) => {\n const action = getActionById(state)(actionId);\n return getStepById(state)(action.ParentId);\n };\n};\n","import { omit } from \"lodash\";\nimport type { ByIdLookup } from \"../types\";\nexport const patch = (lookup: {\n [key: string]: TModel;\n}, key: string, updater: (prev: TModel) => TModel) => {\n if (!lookup[key]) {\n return lookup;\n }\n return {\n ...lookup,\n [key]: {\n ...lookup[key],\n ...updater(lookup[key]),\n },\n };\n};\nexport const add = (lookup: {\n [key: string]: TModel;\n}, key: string, model: TModel) => {\n return {\n ...lookup,\n [key]: model,\n };\n};\nexport const remove = (lookup: {\n [key: string]: TModel;\n}, key: string) => {\n return !lookup[key] ? lookup : omit(lookup, key);\n};\nexport const setByIdState = >(state: TState, updater: (prev: TState[\"byId\"]) => TState[\"byId\"]): TState => {\n return {\n ...state,\n byId: updater(state.byId),\n };\n};\nexport const patchByIdState = >(state: TState, patchModel: TState[\"byId\"]) => {\n return setByIdState(state, (prev) => ({ ...prev, ...patchModel }));\n};\nexport const setById = >(state: TState, id: string, value: TModel) => {\n return setByIdState(state, (prev) => ({\n ...prev,\n [id]: value,\n }));\n};\nexport const addById = >(state: TState, id: string, model: TModel): TState => {\n return patchByIdState(state, { [id]: model });\n};\nexport const deleteById = >(state: TState, id: string): TState => {\n return setByIdState(state, (prev) => (!prev[id] ? prev : omit(prev, id)));\n};\nexport const deleteAllIds = >(state: TState, ids: string[]): TState => {\n return ids.reduce((prev, current) => deleteById(prev, current), state);\n};\ntype LookupType = T extends ByIdLookup ? TType : unknown;\nexport const patchById = , TModel extends {}, TInferredModel extends LookupType>(state: TState, id: string, patcher: (prev: TInferredModel) => Pick | TModel): TState => {\n return setByIdState(state, (prev) => {\n // eslint-disable-next-line @typescript-eslint/consistent-type-assertions\n return !prev[id] ? prev : { ...prev, [id]: { ...prev[id], ...patcher(prev[id] as unknown as TInferredModel) } };\n });\n};\nexport const addBefore = (items: TItem[], target: TItem | undefined | null, itemToAdd: TItem) => {\n const index: number | undefined = target ? items.indexOf(target) : undefined;\n return !!index && index >= 0 ? [...items.slice(0, index), itemToAdd, ...items.slice(index)] : [...items, itemToAdd];\n};\nexport const addAfter = (items: TItem[], target: TItem | undefined | null, itemToAdd: TItem) => {\n const index: number | undefined = target ? items.indexOf(target) : undefined;\n return !!index && index >= 0 && index !== items.length - 1 ? [...items.slice(0, index + 1), itemToAdd, ...items.slice(index + 1)] : [...items, itemToAdd];\n};\n","import type { ActionProperties, DeploymentActionResource, DeploymentStepResource, ProcessResource, StepPackageInputs } from \"@octopusdeploy/octopus-server-client\";\nimport { PackageRequirement, RunCondition, RunConditionForAction, StartTrigger } from \"@octopusdeploy/octopus-server-client\";\nimport type { Dictionary } from \"lodash\";\nimport { cloneDeep, forEach, groupBy, keyBy, omit, takeRightWhile } from \"lodash\";\nimport type { ActionType } from \"typesafe-actions\";\nimport { createAction, getType } from \"typesafe-actions\";\nimport type { ActionPlugin } from \"~/components/Actions/pluginRegistry\";\nimport ParseHelper from \"~/utils/ParseHelper/ParseHelper\";\nimport { reduceReducers } from \"~/utils/Reducers/reduceConstantReducers\";\nimport { generateDefaultActionContainer, isRunOnServerOrWorkerPool } from \"../Common/CommonProcessHelpers\";\nimport { generateGuid } from \"../generation\";\nimport type { ActionsState, MergeModelState, MetaActionProperties, MetaStepProperties, ProcessContextModelState, ProcessIdentifier, ProcessState, RunOn, RunOnBuiltInWorker, RunOnDeploymentTarget, RunOnWorkerPool, SelectorType, StepsState, StoredAction, StoredModelState, StoredStep, } from \"../types\";\nimport { ExecutionLocation, TargetRoles } from \"../types\";\nimport * as processModelSelectors from \"./processModelSelectors\";\nimport * as updaters from \"./updaters\";\nconst getModel = (state: ProcessContextModelState): Readonly => {\n return state.model;\n};\nconst getCleanModel = (state: ProcessContextModelState) => {\n return state.cleanModel;\n};\nconst hasValidProcess = (state: ProcessContextModelState): boolean => {\n return !!state.model.process;\n};\nconst getProcessesForMerge = (state: ProcessContextModelState) => {\n return () => {\n return {\n cleanModelProcess: processModelSelectors.getProcessResource(state.cleanModel)(),\n modelProcess: processModelSelectors.getProcessResource(state.model)(),\n };\n };\n};\nconst getProcessType = (state: ProcessContextModelState) => {\n return () => {\n return state.processIdentifier.type;\n };\n};\nexport const getSelectors = (state: ProcessContextModelState): ProcessStateSelectors => {\n return {\n getProcessResource: processModelSelectors.getProcessResource(state.model),\n getStepResource: processModelSelectors.getStepResource(state.model),\n getStepProperty: processModelSelectors.getStepProperty(state.model),\n getStepById: processModelSelectors.getStepById(state.model),\n tryGetStepById: processModelSelectors.tryGetStepById(state.model),\n tryGetCleanStepById: processModelSelectors.tryGetCleanStepById(state.cleanModel),\n tryGetStepByName: processModelSelectors.tryGetStepByName(state.model),\n getActionProperty: processModelSelectors.getActionProperty(state.model),\n getActionById: processModelSelectors.getActionById(state.model),\n tryGetCleanActionById: processModelSelectors.tryGetCleanActionById(state.cleanModel),\n tryGetActionById: processModelSelectors.tryGetActionById(state.model),\n tryGetActionByName: processModelSelectors.tryGetActionByName(state.model),\n getChildActions: processModelSelectors.getChildActions(state.model),\n getAllSteps: processModelSelectors.getAllSteps(state.model),\n getAllActions: processModelSelectors.getAllActions(state.model),\n getProcessIdentifier: processModelSelectors.getProcessIdentifier(state),\n getStoredProcess: processModelSelectors.getStoredProcess(state.model),\n hasChildActions: processModelSelectors.hasChildActions(state.model),\n isFirstStep: processModelSelectors.isFirstStep(state.model),\n isFirstChildAction: processModelSelectors.isFirstChildAction(state.model),\n isChildAction: processModelSelectors.isChildAction(state.model),\n isPackageAction: processModelSelectors.isPackageAction(state.model),\n hasSteps: processModelSelectors.hasSteps(state.model),\n hasUnsavedSteps: processModelSelectors.hasUnsavedSteps(state),\n hasStepsInCleanModel: processModelSelectors.hasSteps(state.cleanModel),\n hasValidProcess: () => hasValidProcess(state),\n getCleanModel: () => getCleanModel(state),\n getModel: () => getModel(state),\n shouldShowPackageRequirementOptionForStep: processModelSelectors.shouldShowPackageRequirementOptionForStep(state.model),\n shouldShowPackageRequirementOptionForAction: processModelSelectors.shouldShowPackageRequirementOptionForAction(state.model),\n actionHasFeatures: processModelSelectors.actionHasFeatures(state.model),\n getActionPlugin: processModelSelectors.getActionPlugin(state.model),\n getCleanActionPlugin: processModelSelectors.getCleanActionPlugin(state.cleanModel),\n getStepNumber: processModelSelectors.getStepNumber(state.model),\n canActionHaveChildren: processModelSelectors.canActionHaveChildren(state.model),\n isStepDisabled: processModelSelectors.isStepDisabled(state.model),\n getActionNumber: processModelSelectors.getActionNumber(state.model),\n getAddChildStepUrl: processModelSelectors.getAddChildStepUrl(state),\n isActionDisabled: processModelSelectors.isActionDisabled(state.model),\n getStepRightAfterPackageAcquisition: processModelSelectors.getStepRightAfterPackageAcquisition(state.model),\n isRollingStep: processModelSelectors.isRollingStep(state.model),\n isPackageStep: processModelSelectors.isPackageStep(state.model),\n canStepHaveChildren: processModelSelectors.canStepHaveChildren(state.model),\n canActionBeChild: processModelSelectors.canActionBeChild(state.model),\n canStepBeChild: processModelSelectors.canStepBeChild(state.model),\n getStepDetailsUrl: processModelSelectors.getStepDetailsUrl(state),\n hasAction: processModelSelectors.hasAction(state.model),\n hasStep: processModelSelectors.hasStep(state.model),\n getStepByIndex: processModelSelectors.getStepByIndex(state.model),\n getActionParentStep: processModelSelectors.getActionParentStep(state.model),\n getParentStep: processModelSelectors.getParentStep(state.model),\n getActionResource: processModelSelectors.getActionResource(state.model),\n getProcessesForMerge: getProcessesForMerge(state),\n getProcessType: getProcessType(state),\n isOnlyChildAction: processModelSelectors.isOnlyChildAction(state.model),\n getOptionalStoredProcess: processModelSelectors.getOptionalStoredProcess(state.model),\n isNewAction: processModelSelectors.isNewAction(state),\n initiallyHadSteps: processModelSelectors.initiallyHadSteps(state),\n isProcessMerged: processModelSelectors.isProcessMerged(state),\n isMerging: processModelSelectors.isMerging(state),\n isMergeDialogClosed: processModelSelectors.isMergeDialogClosed(state),\n canActionRunOnWorker: processModelSelectors.canActionRunOnWorker(processModelSelectors.getActionPlugin(state.model)),\n shouldShowRunTrigger: processModelSelectors.shouldShowRunTrigger(state.model),\n isStepPackageAction: processModelSelectors.isStepPackageAction(state.model),\n isFromStepPackage: processModelSelectors.isFromStepPackage(state.model),\n canBeRetried: processModelSelectors.canBeRetried(processModelSelectors.getActionPlugin(state.model)),\n getStepBySlug: processModelSelectors.getStepBySlug(state.model),\n canUseExecutionTimeouts: processModelSelectors.canUseExecutionTimeouts(processModelSelectors.getActionPlugin(state.model)),\n };\n};\nconst STEPS_INITIAL_STATE: StepsState = {\n allIds: [],\n byId: {},\n};\nconst ACTIONS_INITIAL_STATE: ActionsState = {\n allIds: [],\n byId: {},\n};\nconst RESOURCE_INITIAL_STATE: ProcessState = null;\nexport const EMPTY_STORED_MODEL_STATE: StoredModelState = {\n actions: ACTIONS_INITIAL_STATE,\n steps: STEPS_INITIAL_STATE,\n process: RESOURCE_INITIAL_STATE,\n};\nexport const INITIAL_MERGED_MODEL_STATE: MergeModelState = {\n processMerged: false,\n dialogClosed: false,\n staged: EMPTY_STORED_MODEL_STATE,\n server: EMPTY_STORED_MODEL_STATE,\n};\nexport const getProcessContextModelInitialState = (processIdentifier: ProcessIdentifier): ProcessContextModelState => ({\n cleanModel: EMPTY_STORED_MODEL_STATE,\n model: EMPTY_STORED_MODEL_STATE,\n mergeModel: INITIAL_MERGED_MODEL_STATE,\n processIdentifier,\n});\nexport function getStoredModelStateFromProcess(process: ProcessResource, actionPlugins: ActionPlugin[]): StoredModelState {\n const { Steps, ...resource } = process;\n const pluginLookup: Record> = groupBy(actionPlugins, (x) => x.actionType);\n const state = Steps.reduce((prev: StoredModelState, current) => {\n const storedActions = keyBy(current.Actions.map((x) => {\n const plugins = pluginLookup[x.ActionType];\n if (!plugins || plugins.length === 0) {\n throw Error(`No action plugins have been provided for action ${x.Id}.`);\n }\n const pluginsByVersion: Record = keyBy(plugins, (p) => p?.version || \"\");\n const plugin = pluginsByVersion[x.StepPackageVersion || \"\"];\n if (!plugin) {\n throw Error(`The action plugin for action ${x.Id} was not provided.`);\n }\n return { ...x, ParentId: current.Id, plugin };\n }), (x) => x.Id);\n const { Actions: resourceActions, ...rest } = current;\n return {\n ...prev,\n steps: {\n byId: {\n ...prev.steps.byId,\n [current.Id]: { ...rest, ActionIds: resourceActions.map((x) => x.Id) },\n },\n allIds: [...prev.steps.allIds, current.Id],\n },\n actions: {\n byId: {\n ...prev.actions.byId,\n ...storedActions,\n },\n allIds: [...prev.actions.allIds, ...Object.keys(storedActions)],\n },\n };\n }, EMPTY_STORED_MODEL_STATE);\n return { ...state, process: resource };\n}\nconst updateModelState = (state: StoredModelState, callback: (prev: StoredModelState) => StoredModelState): StoredModelState => {\n return {\n ...state,\n ...callback(state),\n };\n};\nconst stepsReducer: React.Reducer = (state, action) => {\n switch (action.type) {\n case getType(actions.addStep): {\n return addStep(state, action.payload.action, action.payload.step);\n }\n case getType(actions.addChildAction): {\n return addChildAction(state, action.payload.stepId, action.payload.action);\n }\n case getType(actions.removeAction): {\n return removeAction(state, action.payload.stepId, action.payload.actionId);\n }\n case getType(actions.removeStep): {\n return removeStep(state, action.payload.stepId);\n }\n case getType(actions.removeAllSteps): {\n return removeAllSteps(state);\n }\n case getType(actions.setStepProperties): {\n const { stepId, properties } = action.payload;\n return setStepProperties(state, stepId, properties);\n }\n case getType(actions.setStepMetaProperties): {\n const { stepId, callback } = action.payload;\n return setStepMetaProperties(state, stepId, callback);\n }\n case getType(actions.resetPackageRequirementAfterPackageAcquisitionStep): {\n return resetPackageRequirementAfterPackageAcquisitionStep(state);\n }\n case getType(actions.reorderChildActions): {\n const { stepId, orderedActions } = action.payload;\n return reorderChildActions(state, stepId, orderedActions);\n }\n case getType(actions.reorderSteps): {\n const { orderedSteps } = action.payload;\n return reorderSteps(state, orderedSteps);\n }\n case getType(actions.setActionInputs): {\n const { actionId, inputs } = action.payload;\n return setActionInputs(state, actionId, inputs);\n }\n case getType(actions.setMigratedActionProperties): {\n const { actionId, inputs, plugin, stepPackageVersion } = action.payload;\n return setMigratedActionProperties(state, actionId, inputs, plugin, stepPackageVersion);\n }\n case getType(actions.setActionProperties): {\n const { actionId, properties } = action.payload;\n return setActionProperties(state, actionId, properties);\n }\n case getType(actions.removeActionProperties): {\n const { actionId, propertyKeys } = action.payload;\n return removeActionProperties(state, actionId, propertyKeys);\n }\n case getType(actions.setActionMetaProperties): {\n const { actionId, callback } = action.payload;\n return setActionMetaPropertiesForModel(state, actionId, callback);\n }\n case getType(actions.enableAction): {\n return enableActionForModel(state, action.payload.actionId);\n }\n case getType(actions.disableAction): {\n return disableActionForModel(state, action.payload.actionId);\n }\n case getType(actions.disableStep): {\n return disableStep(state, action.payload.stepId);\n }\n case getType(actions.enableStep): {\n return enableStep(state, action.payload.stepId);\n }\n case getType(actions.moveActionOutOfStep): {\n return moveActionOutOfStep(state, action.payload.actionId);\n }\n case getType(actions.moveActionIntoStep): {\n const { actionId, stepId } = action.payload;\n return moveActionIntoStep(state, actionId, stepId);\n }\n case getType(actions.runOnChanged): {\n const { actionId, runOn, stepId } = action.payload;\n return runOnChanged(state, actionId, runOn, stepId);\n }\n }\n return state;\n};\nfunction addStep(state: Readonly, newAction: StoredAction, newStep: StoredStep): ProcessContextModelState {\n return {\n ...state,\n model: updateModelState(state.model, (prev) => ({\n ...prev,\n steps: {\n ...prev.steps,\n byId: updaters.add(prev.steps.byId, newStep.Id, { ...newStep, Name: newAction.Name }),\n allIds: [...prev.steps.allIds, newStep.Id],\n },\n actions: {\n ...prev.actions,\n byId: updaters.add(prev.actions.byId, newAction.Id, { ...newAction, ParentId: newStep.Id }),\n allIds: [...prev.actions.allIds, newAction.Id],\n },\n })),\n };\n}\nfunction addChildAction(state: Readonly, stepId: string, newAction: StoredAction): ProcessContextModelState {\n return {\n ...state,\n model: {\n ...state.model,\n steps: {\n ...state.model.steps,\n byId: updaters.patch(state.model.steps.byId, stepId, (prev) => ({\n ...prev,\n ActionIds: [...prev.ActionIds, newAction.Id],\n })),\n },\n actions: {\n ...state.model.actions,\n byId: updaters.add(state.model.actions.byId, newAction.Id, { ...newAction, ParentId: stepId }),\n allIds: [...state.model.actions.allIds, newAction.Id],\n },\n },\n };\n}\nfunction removeAction(state: Readonly, stepId: string, actionId: string): ProcessContextModelState {\n const childActionIds = state.model.steps.byId[stepId]?.ActionIds ?? [];\n return {\n ...state,\n model: {\n ...state.model,\n steps: {\n ...state.model.steps,\n byId: childActionIds.length <= 1\n ? updaters.remove(state.model.steps.byId, stepId)\n : updaters.patch(state.model.steps.byId, stepId, (prev) => ({\n ...prev,\n ActionIds: prev.ActionIds.filter((x) => x !== actionId),\n })),\n allIds: childActionIds.length <= 1 ? state.model.steps.allIds.filter((x) => x !== stepId) : state.model.steps.allIds,\n },\n actions: {\n ...state.model.actions,\n byId: updaters.remove(state.model.actions.byId, actionId),\n allIds: state.model.actions.allIds.filter((x) => x !== actionId),\n },\n },\n };\n}\nfunction removeStep(state: Readonly, stepId: string): ProcessContextModelState {\n const childActionIds = state.model.steps.byId[stepId]?.ActionIds ?? [];\n const childActionLookup = keyBy(childActionIds);\n return {\n ...state,\n model: {\n ...state.model,\n steps: {\n ...state.model.steps,\n byId: updaters.remove(state.model.steps.byId, stepId),\n allIds: state.model.steps.allIds.filter((x) => x !== stepId),\n },\n actions: {\n ...state.model.actions,\n byId: omit(state.model.actions.byId, childActionIds),\n //byId: updaters.removeAll(state.model.steps.byId, childActionIds),\n allIds: state.model.actions.allIds.filter((x) => !childActionLookup[x]),\n },\n },\n };\n}\nfunction removeAllSteps(state: Readonly): ProcessContextModelState {\n return {\n ...state,\n model: EMPTY_STORED_MODEL_STATE,\n };\n}\nfunction setStepProperties(state: Readonly, stepId: string, properties: Partial): ProcessContextModelState {\n return {\n ...state,\n model: {\n ...state.model,\n steps: updaters.patchById(state.model.steps, stepId, (prev) => ({ Properties: { ...prev.Properties, ...properties } })),\n },\n };\n}\nfunction setStepMetaProperties(state: Readonly, stepId: string, callback: (prev: MetaStepProperties) => MetaStepProperties): ProcessContextModelState {\n return {\n ...state,\n model: {\n ...state.model,\n steps: updaters.patchById(state.model.steps, stepId, (prev: StoredStep) => ({ ...prev, ...callback(prev) })),\n },\n };\n}\nfunction resetPackageRequirementAfterPackageAcquisitionStep(state: Readonly): ProcessContextModelState {\n const selectors = getSelectors(state);\n const stepRightAfterPackageAcquisition = selectors.getStepRightAfterPackageAcquisition();\n if (!stepRightAfterPackageAcquisition)\n return state;\n const stepIdsToReset = takeRightWhile(state.model.steps.allIds, (id) => id != stepRightAfterPackageAcquisition.Id);\n if (selectors.isPackageStep(stepRightAfterPackageAcquisition.Id))\n stepIdsToReset.push(stepRightAfterPackageAcquisition.Id);\n // Step package steps have special requirements for package acquisition\n const stepIdsWithoutStepPackageSteps = stepIdsToReset.filter((id) => !selectors.isFromStepPackage(id));\n let steps = { ...state.model.steps };\n forEach(stepIdsWithoutStepPackageSteps, (stepId) => {\n steps = updaters.patchById(steps, stepId, (prev: StoredStep) => ({\n ...prev,\n PackageRequirement: PackageRequirement.LetOctopusDecide,\n }));\n });\n return {\n ...state,\n model: {\n ...state.model,\n steps,\n },\n };\n}\nfunction reorderChildActions(state: Readonly, stepId: string, orderedActions: string[]): ProcessContextModelState {\n const step = state.model.steps.byId[stepId];\n const stepActionLookup = keyBy(step.ActionIds);\n return step.ActionIds.length !== orderedActions.length || !orderedActions.every((x) => !!stepActionLookup[x])\n ? state\n : {\n ...state,\n model: {\n ...state.model,\n steps: updaters.patchById(state.model.steps, stepId, (prev) => ({\n ...prev,\n ActionIds: [...orderedActions],\n })),\n },\n };\n}\nfunction reorderSteps(state: Readonly, orderedSteps: string[]): ProcessContextModelState {\n return orderedSteps.length !== state.model.steps.allIds.length || !orderedSteps.every((x) => !!state.model.steps.byId[x])\n ? state\n : {\n ...state,\n model: {\n ...state.model,\n steps: {\n ...state.model.steps,\n allIds: [...orderedSteps],\n },\n },\n };\n}\nfunction setActionInputs(state: Readonly, actionId: string, inputs: StepPackageInputs) {\n return {\n ...state,\n model: {\n ...state.model,\n actions: updaters.patchById(state.model.actions, actionId, (prev) => ({ Inputs: inputs })),\n },\n };\n}\nfunction setMigratedActionProperties(state: Readonly, actionId: string, inputs: StepPackageInputs, plugin: ActionPlugin, stepPackageVersion: string) {\n return {\n ...state,\n model: {\n ...state.model,\n actions: updaters.patchById(state.model.actions, actionId, (prev) => ({ Inputs: inputs, StepPackageVersion: stepPackageVersion, plugin })),\n },\n };\n}\nfunction setActionProperties(state: Readonly, actionId: string, properties: Partial) {\n return {\n ...state,\n model: {\n ...state.model,\n actions: updaters.patchById(state.model.actions, actionId, (prev) => ({ Properties: { ...prev.Properties, ...properties } })),\n },\n };\n}\nfunction removeActionProperties(state: Readonly, actionId: string, propertyKeys: string[]): ProcessContextModelState {\n return {\n ...state,\n model: {\n ...state.model,\n actions: updaters.patchById(state.model.actions, actionId, (prev) => ({ Properties: omit(prev.Properties, propertyKeys) })),\n },\n };\n}\nfunction setActionMetaPropertiesForModel(state: Readonly, actionId: string, callback: (prev: MetaActionProperties) => MetaActionProperties): ProcessContextModelState {\n const nextActionState = setActionMetaProperties(state.model.actions, actionId, callback);\n const parentStep = processModelSelectors.getParentStep(state.model)(actionId);\n const nextName = nextActionState.byId[actionId].Name;\n const prevName = state.model.actions.byId[actionId].Name;\n const shouldUpdateStepName = !processModelSelectors.isRollingStep(state.model)(parentStep.Id) && nextName !== prevName;\n return {\n ...state,\n model: {\n ...state.model,\n actions: nextActionState,\n steps: !shouldUpdateStepName\n ? state.model.steps\n : updaters.patchById(state.model.steps, parentStep.Id, (prev: StoredStep) => ({\n ...prev,\n Name: nextName,\n })),\n },\n };\n}\nfunction enableActionForModel(state: Readonly, actionId: string): ProcessContextModelState {\n return {\n ...state,\n model: {\n ...state.model,\n actions: enableAction(state.model.actions, actionId),\n },\n };\n}\nfunction disableActionForModel(state: Readonly, actionId: string): ProcessContextModelState {\n return {\n ...state,\n model: {\n ...state.model,\n actions: disableAction(state.model.actions, actionId),\n },\n };\n}\nfunction disableStep(state: Readonly, stepId: string): ProcessContextModelState {\n const childActions = state.model.steps.byId[stepId]?.ActionIds ?? [];\n return {\n ...state,\n model: {\n ...state.model,\n actions: childActions.reduce(disableAction, state.model.actions),\n },\n };\n}\nfunction enableStep(state: Readonly, stepId: string): ProcessContextModelState {\n const childActions = state.model.steps.byId[stepId]?.ActionIds ?? [];\n return {\n ...state,\n model: {\n ...state.model,\n actions: childActions.reduce(enableAction, state.model.actions),\n },\n };\n}\nfunction moveActionOutOfStep(state: Readonly, actionId: string): ProcessContextModelState {\n //TODO: Some duplication between other actions here.\n const targetAction = state.model.actions.byId[actionId];\n const previousStep = state.model.steps.byId[targetAction.ParentId];\n //Don't do anything if we have a single action step. This should never happen, however this is a nice safeguard.\n if (previousStep.ActionIds.length <= 1) {\n return state;\n }\n const remainingSiblings = previousStep.ActionIds.filter((x) => x !== actionId);\n const updatedStep = {\n ...previousStep,\n ActionIds: remainingSiblings,\n ...(remainingSiblings.length === 1 ? { Name: state.model.actions.byId[remainingSiblings[0]].Name } : {}),\n };\n //TODO: Name lookup should probably be stored in state instead of calculating this each time.\n const names = keyBy(Object.values(state.model.steps.byId), (x) => x.Name);\n const { condition, expression } = determineStepCondition(targetAction, previousStep);\n const targetRoles = determineTargetRoles(targetAction, previousStep);\n const newStep: StoredStep = {\n Id: generateGuid(),\n Links: {},\n ...getStepDefaults(),\n ActionIds: [targetAction.Id],\n Name: nextUniqueName(targetAction.Name, names),\n Condition: condition,\n Properties: {\n ...(condition === RunCondition.Variable ? { \"Octopus.Step.ConditionVariableExpression\": expression } : {}),\n ...{ \"Octopus.Action.TargetRoles\": targetRoles },\n },\n };\n const updatedStoredAction: StoredAction = { ...targetAction, ParentId: newStep.Id };\n return {\n ...state,\n model: {\n ...state.model,\n steps: {\n byId: {\n ...state.model.steps.byId,\n [updatedStep.Id]: updatedStep,\n [newStep.Id]: newStep,\n },\n allIds: updaters.addAfter(state.model.steps.allIds, updatedStep.Id, newStep.Id),\n },\n actions: {\n ...state.model.actions,\n byId: {\n ...state.model.actions.byId,\n [targetAction.Id]: updatedStoredAction,\n },\n },\n },\n };\n}\nfunction moveActionIntoStep(state: Readonly, actionId: string, stepId: string): ProcessContextModelState {\n const targetAction = state.model.actions.byId[actionId];\n const targetStep = state.model.steps.byId[stepId];\n const previousStep = state.model.steps.byId[targetAction.ParentId];\n const previousSiblings = previousStep.ActionIds.filter((x) => x !== targetAction.Id);\n return {\n ...state,\n model: {\n ...state.model,\n steps: {\n byId: {\n ...(previousSiblings.length === 0\n ? updaters.remove(state.model.steps.byId, previousStep.Id)\n : updaters.patch(state.model.steps.byId, previousStep.Id, (prev) => ({\n ...prev,\n ActionIds: previousSiblings,\n }))),\n [targetStep.Id]: {\n ...targetStep,\n ActionIds: [...targetStep.ActionIds, targetAction.Id],\n },\n },\n allIds: previousSiblings.length === 0 ? state.model.steps.allIds.filter((x) => x !== previousStep.Id) : state.model.steps.allIds,\n },\n actions: updaters.patchById(state.model.actions, targetAction.Id, (prev) => {\n const result: typeof prev = {\n ...prev,\n ParentId: targetStep.Id,\n Condition: mapRunConditionForChildAction(previousStep.Condition),\n Properties: {\n ...prev.Properties,\n ...(previousStep.Condition === RunCondition.Variable ? { \"Octopus.Action.ConditionVariableExpression\": previousStep.Properties[\"Octopus.Step.ConditionVariableExpression\"] } : {}),\n },\n };\n return result;\n }),\n },\n };\n}\nfunction runOnChanged(state: Readonly, actionId: string, runOn: RunOnDeploymentTarget | RunOnBuiltInWorker | RunOnWorkerPool, stepId: string): ProcessContextModelState {\n return {\n ...state,\n model: {\n ...state.model,\n actions: updaters.patchById(state.model.actions, actionId, (prev) => {\n const result: typeof prev = {\n ...prev,\n //If we aren't running on the server or worker pool then we will need to clear the worker pool and workerpool variable etc. to avoid the server defaulting to the wrong thing.\n ...(isRunOnServerOrWorkerPool(runOn)\n ? { Container: runOn.container }\n : {\n WorkerPoolId: null,\n WorkerPoolVariable: null,\n Container: generateDefaultActionContainer(),\n }),\n Properties: {\n ...prev.Properties,\n \"Octopus.Action.RunOnServer\": runOn.executionLocation === ExecutionLocation.DeploymentTarget ? \"false\" : \"true\",\n },\n };\n return result;\n }),\n steps: updaters.patchById(state.model.steps, stepId, (prev: StoredStep) => {\n return runOn.executionLocation === ExecutionLocation.OctopusServer || runOn.executionLocation === ExecutionLocation.WorkerPool\n ? {\n ...prev,\n Properties: {\n ...prev.Properties,\n \"Octopus.Action.TargetRoles\": null,\n },\n }\n : prev;\n }),\n },\n };\n}\nexport function determineStepCondition(action: DeploymentActionResource, previousStep: StoredStep) {\n if (action.Condition === RunConditionForAction.Success && previousStep.Condition === RunCondition.Variable) {\n return {\n condition: RunCondition.Variable,\n expression: previousStep.Properties[\"Octopus.Step.ConditionVariableExpression\"],\n };\n }\n return {\n condition: mapChildRunConditionForStep(action.Condition),\n expression: action.Properties[\"Octopus.Action.ConditionVariableExpression\"],\n };\n}\nexport function determineTargetRoles(targetAction: StoredAction, previousStep: StoredStep) {\n return previousStep.Properties[\"Octopus.Action.TargetRoles\"] && targetAction.plugin.targetRoleOption(targetAction) !== TargetRoles.None ? previousStep.Properties[\"Octopus.Action.TargetRoles\"] : \"\";\n}\nfunction disableAction(state: ActionsState, actionId: string) {\n return setActionMetaProperties(state, actionId, (prev) => ({ ...prev, IsDisabled: true }));\n}\nfunction enableAction(state: ActionsState, actionId: string) {\n return setActionMetaProperties(state, actionId, (prev) => ({ ...prev, IsDisabled: false }));\n}\nfunction setActionMetaProperties(state: ActionsState, actionId: string, callback: (prev: MetaActionProperties) => MetaActionProperties): ActionsState {\n return updaters.patchById(state, actionId, (prev: StoredAction) => ({\n ...prev,\n ...callback(prev),\n }));\n}\nconst setProcess = (state: Readonly, process: ProcessResource): StoredModelState => {\n if (!process) {\n return state;\n }\n const { Steps, ...storedProcess } = process;\n return {\n ...state,\n process: storedProcess,\n };\n};\nconst processReducer: React.Reducer = (state, action) => {\n switch (action.type) {\n case getType(actions.setProcess): {\n return {\n ...state,\n model: setProcess(state.model, action.payload.process),\n mergeModel: INITIAL_MERGED_MODEL_STATE,\n };\n }\n case getType(actions.conflictDetected): {\n return {\n ...state,\n mergeModel: {\n ...state.mergeModel,\n processMerged: false,\n dialogClosed: false,\n staged: getStoredModelStateFromProcess(action.payload.stagedProcess, action.payload.allPlugins),\n server: getStoredModelStateFromProcess(action.payload.serverProcess, action.payload.allPlugins),\n },\n };\n }\n case getType(actions.mergedProcess): {\n if (!state.mergeModel.staged.process) {\n return state;\n }\n return {\n ...state,\n model: state.mergeModel.staged,\n mergeModel: {\n ...INITIAL_MERGED_MODEL_STATE,\n processMerged: true,\n },\n };\n }\n case getType(actions.discardedChanges): {\n if (!state.mergeModel.server.process) {\n return state;\n }\n return {\n ...state,\n model: state.mergeModel.server,\n mergeModel: INITIAL_MERGED_MODEL_STATE,\n };\n }\n case getType(actions.acceptedClientChanges): {\n if (!state.mergeModel.server.process) {\n return state;\n }\n return {\n ...state,\n model: {\n ...state.model,\n process: state.mergeModel.server.process,\n },\n mergeModel: INITIAL_MERGED_MODEL_STATE,\n };\n }\n case getType(actions.mergeDialogClosed): {\n return {\n ...state,\n mergeModel: {\n ...state.mergeModel,\n processMerged: true,\n },\n };\n }\n }\n return state;\n};\nexport type ActionCreators = typeof actions;\nexport type ProcessActions = ActionType;\nconst normalizedReducer: React.Reducer = (state, action) => {\n switch (action.type) {\n case getType(actions.setProcess): {\n const { process: payloadProcess, updateCleanModel } = action.payload;\n const model = getStoredModelStateFromProcess(payloadProcess, action.payload.allPlugins);\n return {\n ...state,\n model,\n cleanModel: updateCleanModel ? cloneDeep(model) : state.cleanModel,\n };\n }\n }\n return state;\n};\nexport const processContextModelStateReducer: React.Reducer = reduceReducers(normalizedReducer, processReducer, stepsReducer);\nexport const actions = {\n // Process\n setProcess: createAction(\"SET:PROCESS\", (process: ProcessResource, updateCleanModel: boolean, allPlugins: ActionPlugin[]) => ({ process, updateCleanModel, allPlugins }))(),\n // Process Merge (conflicts)\n conflictDetected: createAction(\"PROCESS:CONFLICT:DETECTED\", (serverProcess: ProcessResource, stagedProcess: ProcessResource, allPlugins: ActionPlugin[]) => ({ serverProcess, stagedProcess, allPlugins }))(),\n mergeDialogClosed: createAction(\"MERGE:DIALOG:CLOSED\")(),\n mergedProcess: createAction(\"PROCESS:MERGED\", (process: ProcessResource) => ({ process }))(),\n discardedChanges: createAction(\"PROCESS:MERGE:DISCARDED\")(),\n acceptedClientChanges: createAction(\"MERGE:ACCEPT:CLIENT:CHANGES\")(),\n // Step\n addChildAction: createAction(\"ADD:CHILD:ACTION\", (stepId: string, action: StoredAction) => ({ stepId, action }))(),\n addStep: createAction(\"ADD:STEP\", (step: StoredStep, action: StoredAction) => ({ step, action }))(),\n setStepProperties: createAction(\"SET:STEP:PROPERTIES\", (stepId: string, properties: Partial) => ({ stepId, properties }))(),\n setStepMetaProperties: createAction(\"SET:STEP:META:PROPERTIES\", (stepId: string, callback: (prev: MetaStepProperties) => MetaStepProperties) => ({ stepId, callback }))(),\n removeAllSteps: createAction(\"REMOVE:ALL:STEPS\")(),\n disableStep: createAction(\"DISABLE:STEP\", (stepId: string) => ({ stepId }))(),\n enableStep: createAction(\"ENABLE:STEP\", (stepId: string) => ({ stepId }))(),\n reorderSteps: createAction(\"REORDER:STEPS\", (orderedSteps: string[]) => ({ orderedSteps }))(),\n resetPackageRequirementAfterPackageAcquisitionStep: createAction(\"RESET:PACKAGE:REQUIREMENT:AFTER:PACKAGE:Acquisition:STEP\")(),\n // Actions\n removeAction: createAction(\"REMOVE:ACTION\", (stepId: string, actionId: string) => ({ stepId, actionId }))(),\n removeStep: createAction(\"REMOVE:STEP\", (stepId: string) => ({ stepId }))(),\n setActionInputs: createAction(\"SET:ACTION:INPUTS\", (actionId: string, inputs: StepPackageInputs) => ({ actionId, inputs }))(),\n setMigratedActionProperties: createAction(\"SET:ACTION:MIGRATED:PROPERTIES\", (actionId: string, inputs: StepPackageInputs, plugin: ActionPlugin, stepPackageVersion: string) => ({ actionId, inputs, plugin, stepPackageVersion }))(),\n setActionProperties: createAction(\"SET:ACTION:PROPERTIES\", (actionId: string, properties: Partial) => ({ actionId, properties }))(),\n removeActionProperties: createAction(\"REMOVE:ACTION:PROPERTIES\", (actionId: string, propertyKeys: string[]) => ({ actionId, propertyKeys }))(),\n setActionMetaProperties: createAction(\"SET:ACTION:META:PROPERTIES\", (actionId: string, callback: (prev: MetaActionProperties) => MetaActionProperties) => ({ actionId, callback }))(),\n disableAction: createAction(\"DISABLE:ACTION\", (actionId: string) => ({ actionId }))(),\n enableAction: createAction(\"ENABLE:ACTION\", (actionId: string) => ({ actionId }))(),\n moveActionIntoStep: createAction(\"ACTION:MOVEINTO:STEP\", (actionId: string, stepId: string) => ({ actionId, stepId }))(),\n moveActionOutOfStep: createAction(\"ACTION:MOVEOUT:STEP\", (actionId: string) => ({ actionId }))(),\n reorderChildActions: createAction(\"STEP:ACTION:REORDER\", (stepId: string, orderedActions: string[]) => ({ stepId, orderedActions }))(),\n runOnChanged: createAction(\"ACTION:RUNON:CHANGED\", (actionId: string, stepId: string, runOn: RunOn) => ({ actionId, stepId, runOn }))(),\n};\nexport type ProcessModelSelectorsType = SelectorType;\nexport interface ProcessStateSelectors extends ProcessModelSelectorsType {\n hasValidProcess: () => boolean;\n getCleanModel: () => Readonly;\n getModel: () => Readonly;\n getProcessesForMerge: ReturnType;\n getProcessType: ReturnType;\n hasStepsInCleanModel: () => boolean;\n}\nexport function nextUniqueName(name: string, values: Dictionary) {\n let nextName = name;\n let i = 1;\n // eslint-disable-next-line no-constant-condition\n while (true) {\n if (!values[nextName]) {\n break;\n }\n nextName = nextName + \" \" + i;\n i = i++;\n }\n return nextName;\n}\nexport function getStepDefaults(isStepPackageStep: boolean = false) {\n return {\n Condition: RunCondition.Success,\n StartTrigger: StartTrigger.StartAfterPrevious,\n PackageRequirement: isStepPackageStep ? PackageRequirement.AfterPackageAcquisition : PackageRequirement.LetOctopusDecide,\n };\n}\nexport function createDefaultStepResource(action: () => DeploymentActionResource, isStepPackageStep: boolean, targetTags: string[] | undefined): DeploymentStepResource {\n const id = generateGuid();\n return {\n Id: id,\n Name: \"\",\n Properties: !targetTags?.length ? {} : { [\"Octopus.Action.TargetRoles\"]: ParseHelper.encodeCSV(targetTags) },\n ...getStepDefaults(isStepPackageStep),\n Actions: [action()],\n Links: {},\n };\n}\nexport function createDefaultActionResource(actionType: string, version: string | undefined): DeploymentActionResource {\n return {\n Id: generateGuid(),\n ActionType: actionType,\n Name: \"\",\n Notes: null,\n Environments: [],\n ExcludedEnvironments: [],\n Channels: [],\n TenantTags: [],\n Properties: {},\n Packages: [],\n IsDisabled: false,\n WorkerPoolId: \"\",\n WorkerPoolVariable: \"\",\n Container: {\n Image: null,\n FeedId: null,\n },\n CanBeUsedForProjectVersioning: false,\n IsRequired: false,\n Links: {},\n ...(version && { StepPackageVersion: version }),\n };\n}\nexport function mapChildRunConditionForStep(condition: RunConditionForAction | undefined): RunCondition {\n switch (condition) {\n case RunConditionForAction.Success:\n return RunCondition.Success;\n case RunConditionForAction.Variable:\n return RunCondition.Variable;\n }\n return RunCondition.Success;\n}\nexport function mapRunConditionForChildAction(condition: RunCondition | undefined): RunConditionForAction {\n switch (condition) {\n case RunCondition.Always:\n return RunConditionForAction.Success;\n case RunCondition.Success:\n return RunConditionForAction.Success;\n case RunCondition.Variable:\n return RunConditionForAction.Variable;\n case RunCondition.Failure:\n return RunConditionForAction.Success;\n }\n return RunConditionForAction.Success;\n}\n","import type React from \"react\";\n//then we really need a way to discriminate actions, hence we require flux/redux type actions.\nexport function reduceReducers(...reducers: Array>) {\n const ReducedReducer: React.Reducer = (state, action) => {\n return reducers.reduce((prev, reducer) => reducer(prev, action), state);\n };\n return ReducedReducer;\n}\n","import { Callout } from \"@octopusdeploy/design-system-components\";\nimport type { LinkHref } from \"@octopusdeploy/portal-routes\";\nimport React from \"react\";\nimport ExternalLink from \"~/components/Navigation/ExternalLink\";\nimport InternalLink from \"~/components/Navigation/InternalLink/InternalLink\";\ninterface ArcWarningCalloutProps {\n parentStep?: boolean;\n stepName?: string;\n deleteAllSteps?: boolean;\n triggersLink: LinkHref;\n}\nexport const ArcWarningCallout: React.FC = ({ parentStep, stepName, deleteAllSteps, triggersLink }) => {\n const singleStepJsx = (<>\n This step can not be deleted because{\" \"}\n {parentStep ? (<>\n its child step '{stepName}'\n ) : (\"it\")}{\" \"}\n is used as the trigger for Automatic Release Creation.\n );\n const allStepsJsx = (<>\n The step '{stepName}' is used as the trigger for Automatic Release Creation.\n );\n return (\n

    \n {deleteAllSteps ? allStepsJsx : singleStepJsx} To delete {deleteAllSteps ? \"all steps\" : \"this step\"} you first need to disable Automatic Release Creation {!deleteAllSteps && <>or choose another step as the trigger} on{\" \"}\n this page.\n

    \n

    \n Learn about Automatic Release Creation.\n

    \n
    );\n};\nArcWarningCallout.displayName = \"ArcWarningCallout\"\nexport default ArcWarningCallout;\n","import { Callout } from \"@octopusdeploy/design-system-components\";\nimport React from \"react\";\nexport const DeleteStepsCallout: React.FC = () => {\n return (\n This action cannot be undone. This will permanently delete all steps from this process.\n );\n};\nDeleteStepsCallout.displayName = \"DeleteStepsCallout\"\n","/* eslint-disable @typescript-eslint/no-non-null-assertion */\n/* eslint-disable no-eq-null */\n/* eslint-disable @typescript-eslint/consistent-type-assertions */\nimport type { ActionTemplateResource, ActionTemplateSearchResource, BlueprintResource, DeploymentActionContainer, DeploymentActionResource, DeploymentProcessResource, DeploymentStepResource, GitRefResource, IHaveVersionProcessResource, IProcessResource, PersistenceSettings, ProcessResource, PropertyValueResource, RunbookProcessResource, WorkerPoolResource, WorkerPoolsSummaryResource, WorkerPoolSummaryResource, } from \"@octopusdeploy/octopus-server-client\";\nimport { ActionExecutionLocation, canCommitTo, HasGitPersistenceSettings, HasRunbooksInGit, isDeploymentProcessResource, isRunbookProcessResource, isVersionedProcessResource, OctopusError, Permission, ProcessType, RunCondition, ScriptingLanguage, StartTrigger, typeSafeHasOwnProperty, } from \"@octopusdeploy/octopus-server-client\";\nimport { links } from \"@octopusdeploy/portal-routes\";\nimport { Environment, OctoLink } from \"@octopusdeploy/utilities\";\nimport type { Dictionary } from \"lodash\";\nimport { isEmpty, clone, cloneDeep, flatMap, identity, isEqual, keyBy } from \"lodash\";\nimport React from \"react\";\nimport type { ProcessTemplateDetails } from \"~/areas/projects/components/Process/Contexts/ProcessController\";\nimport { client, repository } from \"~/clientInstance\";\nimport type { ActionPlugin } from \"~/components/Actions/pluginRegistry\";\nimport pluginRegistry from \"~/components/Actions/pluginRegistry\";\nimport type { MenuItem } from \"~/components/OverflowMenu/OverflowMenu\";\nimport { OverflowMenuItems } from \"~/components/OverflowMenu/OverflowMenu\";\nimport type { PermissionCheckProps } from \"~/components/PermissionCheck/PermissionCheck\";\nimport type { ProjectStepPackageContext } from \"~/components/StepPackageEditor/StepPackageContext\";\nimport type { ProcessContextProps, ProcessContextProviderSetupActions } from \"../Contexts/ProcessContext\";\nimport type { ProcessStateSelectors } from \"../Contexts/ProcessContextState\";\nimport { createDefaultActionResource, createDefaultStepResource } from \"../Contexts/ProcessContextState\";\nimport type { BoundErrorActionsType } from \"../Contexts/ProcessErrors/ProcessErrorsContext\";\nimport type { ProcessQueryStringContextProviderSetupActions } from \"../Contexts/ProcessQueryString/ProcessQueryStringContext\";\nimport type { BoundWarningActionsType } from \"../Contexts/ProcessWarnings/ProcessWarningsContext\";\nimport { generateBasicParentStep, generateBasicScriptStep, generateGuid, getInlineScriptProperties } from \"../generation\";\nimport type { AssembledAction, ProcessIdentifier, ProcessState, RunOn, RunOnBuiltInWorker, RunOnServerOrWorkerPool, RunOnWorkerPool, StoredAction, StoredStep } from \"../types\";\nimport { ExecutionLocation, isBlueprintProcessIdentifier, isDeploymentOrRunbookProcessIdentifier, isDeploymentProcessIdentifier, isRunbookProcessIdentifier, RunOnDeploymentTarget, TargetRoles } from \"../types\";\nimport { ArcWarningCallout } from \"./ArcWarningCallout\";\nimport { DeleteStepsCallout } from \"./DeleteStepsCallout\";\nexport const isVersionControlledProcess = (persistenceSettings: PersistenceSettings, processType: ProcessType) => {\n if (!HasGitPersistenceSettings(persistenceSettings)) {\n // Non version controlled project.\n return false;\n }\n if (processType === ProcessType.Deployment || processType === ProcessType.Blueprint) {\n // If the project is version controlled, the process is always version controlled.\n return true;\n }\n // Otherwise it's a Runbook process. Return true if the project is using Git runbooks.\n return HasRunbooksInGit(persistenceSettings);\n};\nexport function isRunbookProcessState(resource: ProcessState | null | undefined): resource is NonNullable {\n if (resource === null || resource === undefined) {\n return false;\n }\n const converted = resource as RunbookProcessResource;\n return converted.RunbookId !== undefined && typeSafeHasOwnProperty(converted, \"RunbookId\");\n}\nexport function isBlueprintProcessState(resource: ProcessState | null | undefined): resource is NonNullable {\n if (resource === null || resource === undefined) {\n return false;\n }\n const converted = resource as BlueprintResource;\n return converted.Slug !== undefined && typeSafeHasOwnProperty(converted, \"Slug\");\n}\nexport function isMatchingProcessTemplate(processTemplateDetails: ProcessTemplateDetails, processTemplateSlug: string, processTemplateCommit: string | undefined): boolean {\n return processTemplateDetails.processTemplate.Slug === processTemplateSlug && (isEmpty(processTemplateCommit) ? processTemplateDetails.commit === \"latest\" : processTemplateDetails.commit === processTemplateCommit);\n}\nexport const getProcessTypeFromResource = (resource: IProcessResource) => {\n if (isDeploymentProcessResource(resource)) {\n return ProcessType.Deployment;\n }\n else if (isRunbookProcessResource(resource)) {\n return ProcessType.Runbook;\n }\n};\n//export function isDeploymentProcessState(resource: ProcessState | null | undefined): resource is NonNullable<\nexport function deleteActionAndRedirect(step: StoredStep, action: StoredAction | undefined, isSelected: boolean, contextActions: ProcessContextProviderSetupActions, contextSelectors: ProcessStateSelectors, queryStringActions: ProcessQueryStringContextProviderSetupActions) {\n //TODO: Investigate if there is a way to do this without resorting to this abomination.\n const removeFromContext = () => setTimeout(() => {\n !!action ? contextActions.removeAction(step.Id, action.Id) : contextActions.removeStep(step.Id);\n }, 0);\n const allSteps = contextSelectors.getAllSteps();\n const allActions = contextSelectors.getAllActions();\n if (allActions.length === 1 || (allSteps.length === 1 && !action)) {\n removeFromContext();\n queryStringActions.showProcessStepTemplates();\n }\n else if (isSelected) {\n const nextAction = allActions.find((x) => x.Id !== action?.Id);\n removeFromContext();\n queryStringActions.showProcessAction(nextAction!.Id);\n }\n else {\n removeFromContext();\n }\n}\nfunction getDownloadAsJsonOverflowMenuItem(processIdentifier: ProcessIdentifier, processContextSelectors: ProcessStateSelectors) {\n if (isRunbookProcessIdentifier(processIdentifier)) {\n return OverflowMenuItems.downloadItem(\"Download as JSON\", `${processIdentifier.projectSlug}-${processIdentifier.runbookName}-process.json`, client.resolveLinkTemplate(\"RunbookProcesses\", {\n id: processContextSelectors.getStoredProcess().Id,\n }));\n }\n if (isDeploymentProcessIdentifier(processIdentifier)) {\n return OverflowMenuItems.downloadItem(\"Download as JSON\", `${processIdentifier.projectSlug}-process.json`, client.resolveLinkTemplate(\"DeploymentProcesses\", {\n id: processContextSelectors.getStoredProcess().Id,\n }));\n }\n if (isBlueprintProcessIdentifier(processIdentifier)) {\n return OverflowMenuItems.downloadItem(\"Download as JSON\", `${processIdentifier.blueprintId}-process.json`, client.resolveLinkTemplate(\"DeploymentProcesses\", {\n id: processContextSelectors.getStoredProcess().Id,\n }));\n }\n throw new Error(`Unknown process identifier ${processIdentifier}`);\n}\nexport function getCommonOverflowMenuItems(processIdentifier: ProcessIdentifier, releaseCreationPackageStepId: string | undefined, persistenceSettings: PersistenceSettings, gitRef: GitRefResource | undefined, processType: ProcessType, processContextSelectors: ProcessStateSelectors, processContextActions: ProcessContextProviderSetupActions, onProcessSave: (gitRef: GitRefResource | string | undefined) => Promise, errorActions: BoundErrorActionsType, warningActions: BoundWarningActionsType, redirectToList?: () => void) {\n const overflowMenuItems: Array = [];\n if (processContextSelectors.hasValidProcess() && (!gitRef || canCommitTo(gitRef))) {\n if (!processContextSelectors.hasSteps()) {\n if (Environment.isInDevelopmentMode()) {\n overflowMenuItems.push(OverflowMenuItems.item(\"Load a large sample process (dev only)\", async () => {\n // This is a round-trip operation to the server, NOT to the context.\n const sampleProcess = addLargeSampleStepsToProcessResource(processContextSelectors.getProcessResource());\n await processContextActions.saveOnServer(sampleProcess, (errors) => {\n errorActions.setErrors(errors, processContextSelectors);\n // The save action will give us errors only, clear any warnings.\n warningActions.clearWarnings();\n }, () => {\n errorActions.clearErrors();\n warningActions.clearWarnings();\n });\n }));\n }\n }\n if (processContextSelectors.hasSteps()) {\n if (!isVersionControlledProcess(persistenceSettings, processType)) {\n overflowMenuItems.push(getDownloadAsJsonOverflowMenuItem(processIdentifier, processContextSelectors));\n }\n // Disable delete all steps and show explanation if a step is used for ARC\n const ARCStep = processContextSelectors.getProcessResource().Steps.find((s) => s.Actions.some((a) => a.Id === releaseCreationPackageStepId));\n if (ARCStep && isDeploymentProcessIdentifier(processIdentifier)) {\n overflowMenuItems.push(OverflowMenuItems.deleteItem(\"Delete all steps\", \"\", async () => true, () => , undefined, true));\n }\n else {\n overflowMenuItems.push(OverflowMenuItems.deleteItem(\"Delete all steps\", \"Are you sure you want to delete all steps from this process?\", async () => {\n // Delete steps from our processResource directly and save on server. That will cause our context to get a new process.\n const processToSave = processContextSelectors.getProcessResource() as ProcessResource;\n processToSave.Steps = [];\n await processContextActions.saveOnServer(processToSave, (errors) => {\n errorActions.setErrors(errors, processContextSelectors);\n // The save action will give us errors only, clear any warnings.\n warningActions.clearWarnings();\n }, () => {\n errorActions.clearErrors();\n warningActions.clearWarnings();\n }, gitRef?.CanonicalName);\n if (redirectToList) {\n redirectToList();\n }\n await onProcessSave(gitRef);\n return true;\n }, () => , {\n permission: processScopedEditPermission(processType),\n project: isDeploymentOrRunbookProcessIdentifier(processIdentifier) ? processIdentifier.projectId : undefined,\n wildcard: true,\n }, false));\n }\n }\n overflowMenuItems.push([\n OverflowMenuItems.navItem(\"Audit Trail\", links.auditPage.generateUrl({ regardingAny: [processIdentifier.id] }), {\n permission: Permission.EventView,\n wildcard: true,\n }),\n ]);\n }\n return overflowMenuItems;\n}\nexport const generateDefaultActionContainer = (): DeploymentActionContainer => {\n return { FeedId: null, Image: null, GitUrl: null, Dockerfile: null };\n};\nfunction getPossibleFeatures(plugin: ActionPlugin): {\n [key: string]: string;\n} {\n if (!plugin.features) {\n return {};\n }\n return keyBy([...(plugin.features.initial || []), ...(plugin.features.optional || []), ...(plugin.features.permanent || [])], (x) => x);\n}\n/*TODO SM: feature.validate currently has no equivalent call location */\n/*TODO SM: feature.disable*/\nexport function validateFeatures(action: Readonly, processType: ProcessType, plugin: ActionPlugin): T {\n const result = cloneDeep(action) as T;\n const permanentFeatures = plugin.features?.permanent ?? [];\n const enabledFeatureNames = ((result.Properties[\"Octopus.Action.EnabledFeatures\"] as string) || \"\").split(\",\").filter((name) => {\n return name !== \"\";\n });\n const enabledFeatureLookup = keyBy(enabledFeatureNames, identity);\n const missingPermanentFeatures = permanentFeatures.filter((x) => !enabledFeatureLookup.hasOwnProperty(x));\n const applicableFeatureNames = [...missingPermanentFeatures, ...enabledFeatureNames];\n const possibleFeatures = getPossibleFeatures(plugin);\n const enabledFeatures = applicableFeatureNames.map((f) => {\n return pluginRegistry.getFeature(f);\n });\n const errors = {};\n enabledFeatures.forEach((feature) => {\n if (feature.validate) {\n feature.validate(result.Properties, errors);\n }\n });\n if (Object.keys(errors).length > 0) {\n const exception = new OctopusError(0, \"There was a problem with your request.\");\n exception.Errors = Object.values(errors);\n exception.Details = errors;\n throw exception;\n }\n const properties = { ...result.Properties };\n pluginRegistry.getAllFeatures().forEach((feature) => {\n if (applicableFeatureNames.indexOf(feature.featureName) === -1) {\n if (feature.disable && possibleFeatures.hasOwnProperty(feature.featureName)) {\n feature.disable(properties);\n }\n }\n });\n if (applicableFeatureNames.length > 0) {\n properties[\"Octopus.Action.EnabledFeatures\"] = applicableFeatureNames.join(\",\");\n }\n result.Properties = properties;\n return result;\n}\nexport function loadAvailableWorkerPools(workerPoolsSummary: WorkerPoolsSummaryResource): WorkerPoolResource[] {\n const availableWorkerPools: WorkerPoolResource[] = [];\n if (workerPoolsSummary.WorkerPoolSummaries.length === 1) {\n if (workerPoolsSummary.WorkerPoolSummaries[0].WorkerPool.IsDefault && workerPoolsSummary.WorkerPoolSummaries[0].TotalMachines === 0 && workerPoolsSummary.WorkerPoolSummaries[0].WorkerPool.CanAddWorkers) {\n return availableWorkerPools;\n }\n }\n workerPoolsSummary.WorkerPoolSummaries.forEach((workerPoolSummary: WorkerPoolSummaryResource) => {\n availableWorkerPools.push(workerPoolSummary.WorkerPool);\n });\n return availableWorkerPools;\n}\nfunction hasImageBeenSelected(container: DeploymentActionContainer | undefined) {\n return container?.Image ? true : false;\n}\nexport function runsOnServer(action: StoredAction | DeploymentActionResource, executionLocation: ActionExecutionLocation): boolean {\n return action && executionLocation && (executionLocation === ActionExecutionLocation.AlwaysOnServer || (executionLocation === ActionExecutionLocation.TargetOrServer && action.Properties[\"Octopus.Action.RunOnServer\"] === \"true\"));\n}\nexport function isRunOnDeploymentTarget(runOn: RunOn): runOn is RunOnDeploymentTarget {\n return runOn.executionLocation === ExecutionLocation.DeploymentTarget;\n}\nexport function isRunOnWorkerPool(runOn: RunOn): runOn is RunOnWorkerPool {\n const converted = runOn as RunOnWorkerPool;\n return runOn.executionLocation === ExecutionLocation.WorkerPool && hasProperty(converted, \"container\") && hasProperty(converted, \"runningInContainer\");\n}\nexport function isRunOnBuiltInWorker(runOn: RunOn): runOn is RunOnBuiltInWorker {\n const converted = runOn as RunOnBuiltInWorker;\n return runOn.executionLocation === ExecutionLocation.OctopusServer && hasProperty(converted, \"container\") && hasProperty(converted, \"runningInContainer\");\n}\nexport function isRunOnWorkerPoolForRoles(runOn: RunOn): runOn is RunOnWorkerPool {\n const converted = runOn as RunOnWorkerPool;\n return runOn.executionLocation === ExecutionLocation.WorkerPoolForRoles && hasProperty(converted, \"container\") && hasProperty(converted, \"runningInContainer\");\n}\nexport function isRunOnServerOrWorkerPool(runOn: RunOn): runOn is RunOnServerOrWorkerPool {\n return !isRunOnDeploymentTarget(runOn);\n}\nexport function doesRunOnSupportBundledTools(runOn: RunOn | null | undefined): boolean {\n if (runOn === undefined || runOn === null) {\n return true;\n }\n //We want to show the tools for everything except RunOnDeploymentTarget, this guard automatically narrows the type appropriately.\n return isRunOnServerOrWorkerPool(runOn) && !runOn.runningInContainer;\n}\nexport function whereConfiguredToRun(stepHasRoles: boolean, action: StoredAction | DeploymentActionResource | null, availableWorkerPools: WorkerPoolResource[], plugin: ActionPlugin): RunOn {\n //TODO: we have a bit of friction between these common process helpers and what we have in the context selectors. For example whether a plugin can run on Worker. It would be worthwhile\n //to investigate what it would take to move RunOn into the stored action model in the context in order to avoid checking these properties each and every time. It would be better\n //if we can work with a view model and only translate when loading the original process and when saving.\n //Please also note that the return value will disregard whether the built in worker is enabled/disabled. This function returns the original user-selected \"run on\" value for the process.\n if (!action) {\n return new RunOnDeploymentTarget();\n }\n const runsOnServerValue = runsOnServer(action, plugin.executionLocation);\n if (!runsOnServerValue) {\n return new RunOnDeploymentTarget();\n }\n if (availableWorkerPools.length > 0 && (plugin.canRunOnWorker === true || plugin.canRunOnWorker === undefined)) {\n return {\n executionLocation: showRolesForServer(stepHasRoles, action, plugin) ? ExecutionLocation.WorkerPoolForRoles : ExecutionLocation.WorkerPool,\n container: action.Container ? action.Container : generateDefaultActionContainer(),\n runningInContainer: hasImageBeenSelected(action.Container) || !!action.Container?.GitUrl || !!action.Container?.Dockerfile,\n };\n }\n else {\n return {\n executionLocation: showRolesForServer(stepHasRoles, action, plugin) ? ExecutionLocation.OctopusServerForRoles : ExecutionLocation.OctopusServer,\n container: action.Container ? action.Container : generateDefaultActionContainer(),\n runningInContainer: hasImageBeenSelected(action.Container) || !!action.Container?.GitUrl || !!action.Container?.Dockerfile,\n };\n }\n}\nfunction showRolesForServer(stepHasRoles: boolean, action: StoredAction | DeploymentActionResource, plugin: ActionPlugin) {\n return stepHasRoles || (plugin && plugin.targetRoleOption(action) === TargetRoles.Required);\n}\nexport function processScopedEditPermission(processType: ProcessType): Permission {\n const isRunbook = processType === ProcessType.Runbook;\n return isRunbook ? Permission.RunbookEdit : Permission.ProcessEdit;\n}\nfunction getNormalizedAction(isNew: boolean, action: Readonly, plugin: ActionPlugin): StoredAction {\n const result: StoredAction = { ...action };\n // Provide default fallback for script templates.\n if (result.ActionType === \"Octopus.Script\" && result.Properties && result.Properties[\"Octopus.Action.RunOnServer\"] == null) {\n result.Properties[\"Octopus.Action.RunOnServer\"] = \"false\";\n }\n // If the execution location is optional, default it to run on the target for legacy actions\n // Default to run on the server for step package based actions - most new steps will want to run on a worker by default\n if (isNew && plugin.executionLocation === ActionExecutionLocation.TargetOrServer) {\n result.Properties[\"Octopus.Action.RunOnServer\"] = plugin.stepPackage ? \"true\" : \"false\";\n }\n return result;\n}\nexport function enableNewActionFeatures(action: Readonly, plugin: ActionPlugin) {\n const result: StoredAction = { ...action };\n const existingEnabledFeatures: PropertyValueResource = action.Properties[\"Octopus.Action.EnabledFeatures\"] || \"\";\n const enabledFeatures = [...(typeof existingEnabledFeatures === \"string\" ? existingEnabledFeatures.split(\",\") : [])];\n const featuresToEnable = [...(plugin.features?.permanent ?? []), ...(plugin.features?.initial ?? [])];\n featuresToEnable.forEach((feature) => {\n const featurePlugin = pluginRegistry.getFeature(feature);\n if (featurePlugin.enable) {\n featurePlugin.enable(result.Properties);\n }\n });\n result.Properties[\"Octopus.Action.EnabledFeatures\"] = [...enabledFeatures, ...featuresToEnable].join(\",\");\n return result;\n}\nfunction getNormalizedStep(step: Readonly): StoredStep {\n const result: StoredStep = { ...step };\n if (!result.Condition) {\n result.Condition = RunCondition.Success;\n }\n return result;\n}\nexport function applyActionTemplate(action: Readonly, step: Readonly, actionTemplate: Readonly): {\n step: StoredStep;\n action: StoredAction;\n} {\n const stepResult: StoredStep = { ...step, Name: actionTemplate.Name };\n const actionResult: StoredAction = {\n ...action,\n Name: actionTemplate.Name,\n Packages: clone(actionTemplate.Packages),\n Properties: clone(actionTemplate.Properties),\n GitDependencies: clone(actionTemplate.GitDependencies),\n Inputs: actionTemplate.Inputs,\n StepPackageVersion: actionTemplate.StepPackageVersion,\n };\n actionResult.Properties[\"Octopus.Action.Template.Id\"] = actionTemplate.Id;\n actionResult.Properties[\"Octopus.Action.Template.Version\"] = actionTemplate.Version.toString();\n actionTemplate.Parameters.forEach((parameter) => {\n if (typeof parameter.DefaultValue !== \"undefined\" && parameter.DefaultValue !== null && parameter.DefaultValue !== \"\") {\n if (parameter.DisplaySettings[\"Octopus.ControlType\"] === \"Sensitive\") {\n if (typeof parameter.DefaultValue === \"object\") {\n actionResult.Properties[parameter.Name] = {\n HasValue: true,\n NewValue: undefined,\n };\n }\n else {\n actionResult.Properties[parameter.Name] = {\n HasValue: true,\n NewValue: parameter.DefaultValue,\n };\n }\n return;\n }\n actionResult.Properties[parameter.Name] = parameter.DefaultValue;\n }\n });\n return { step: stepResult, action: actionResult };\n}\nexport function powerShellStep(): DeploymentStepResource {\n const learnMoreMarkdown = `[Learn more about the types of steps available in Octopus](${OctoLink.Create(\"OnboardingAddStepsLearnMore\")})`;\n return generateBasicScriptStep(\"Hello world (using PowerShell)\", ScriptingLanguage.PowerShell, `Write-Host 'Hello world, using PowerShell'\\n\\n#TODO: Experiment with steps of your own :)\\n\\nWrite-Host '${learnMoreMarkdown}'`);\n}\nexport function bashStep(): DeploymentStepResource {\n const learnMoreMarkdown = `[Learn more about the types of steps available in Octopus](${OctoLink.Create(\"OnboardingAddStepsLearnMore\")})`;\n return generateBasicScriptStep(\"Hello world (using Bash)\", ScriptingLanguage.Bash, `echo 'Hello world, using Bash'\\n\\n#TODO: Experiment with steps of your own :)\\n\\necho '${learnMoreMarkdown}'`);\n}\nexport function addSampleStepsToProcessResource(process: ProcessResource, steps: DeploymentStepResource[]): ProcessResource {\n if (!process.Steps) {\n process.Steps = [];\n }\n steps.forEach((step, index) => {\n if (index === 0) {\n process.Steps.push(step);\n }\n else {\n process.Steps.push({\n ...step,\n StartTrigger: StartTrigger.StartWithPrevious,\n });\n }\n });\n return process;\n}\nfunction addLargeSampleStepsToProcessResource(process: ProcessResource): ProcessResource {\n const learnMoreMarkdown = `[Learn more about the types of steps available in Octopus](${OctoLink.Create(\"OnboardingAddStepsLearnMore\")})`;\n if (!process.Steps) {\n process.Steps = [];\n }\n process.Steps.push(powerShellStep());\n process.Steps.push({\n ...bashStep(),\n StartTrigger: StartTrigger.StartWithPrevious,\n });\n if (Environment.isInDevelopmentMode()) {\n for (let i = 1; i < 50; i++) {\n if (i % 2 === 0) {\n const actionGenerator = (idGenerator: () => string) => {\n //eslint-disable-next-line @typescript-eslint/no-explicit-any\n return (options: any) => ({\n ...options,\n Id: idGenerator(),\n Name: options.Name,\n Properties: { ...options.Properties, ...getInlineScriptProperties(ScriptingLanguage.PowerShell, \"whatever\") },\n });\n };\n const sampleParent = generateBasicParentStep(generateGuid(), `ParentSample${i}`, [`Child${i}_1`, `Child${i}_2`, `Child${i}_3`], actionGenerator(generateGuid));\n sampleParent.Properties = {\n ...sampleParent.Properties,\n \"Octopus.Action.RunOnServer\": \"false\",\n \"Octopus.Action.TargetRoles\": \"region\",\n };\n process.Steps.push(sampleParent);\n }\n else {\n const sampleScript = generateBasicScriptStep(`ScriptSample${i}`, ScriptingLanguage.PowerShell, `Write-Host 'Hello world, using PowerShell'\\n\\n#TODO: Experiment with steps of your own :)\\n\\nWrite-Host '${learnMoreMarkdown}'`);\n process.Steps.push(sampleScript);\n }\n }\n }\n return process;\n}\nconst getActionTypeName = (actionType: string, actionTemplates: {\n Type: ActionTemplateSearchResource[\"Type\"];\n Name: ActionTemplateSearchResource[\"Name\"];\n}[]) => {\n return actionTemplates.find((x) => x.Type === actionType)?.Name ?? \"\";\n};\nexport function assembleParentStep(parentStepId: string, processContextSelectors: ProcessStateSelectors) {\n const step = processContextSelectors.getStepById(parentStepId);\n const pageTitle = step.Name;\n const result = { action: null, step: getNormalizedStep(step) };\n return {\n ...result,\n pageTitle,\n };\n}\nasync function applyActionTemplateIfRequired(templateId: string | undefined, action: StoredAction, step: Omit & {\n ActionIds: string[];\n}) {\n // New step = lookup and apply step template if applicable.>\n let actionTemplate: ActionTemplateResource | null = null;\n if (templateId) {\n actionTemplate = await repository.ActionTemplates.get(templateId);\n }\n else {\n const actionTemplateLookup = action && action.Properties[\"Octopus.Action.Template.Id\"];\n if (actionTemplateLookup) {\n actionTemplate = await repository.ActionTemplates.get(actionTemplateLookup.toString());\n }\n }\n // this must come after the normalization steps\n // https://octopusdeploy.slack.com/archives/C01J6U3MHJ4/p1611700195059300\n return actionTemplate ? applyActionTemplate(action, step, actionTemplate) : { action, step };\n}\nexport async function assembleNewAction(actionType: string, plugin: ActionPlugin, actionTemplates: {\n Type: ActionTemplateSearchResource[\"Type\"];\n Name: ActionTemplateSearchResource[\"Name\"];\n}[], templateId: string | undefined, persistenceSettings: PersistenceSettings, processType: ProcessType, targetTags: string[] | undefined): Promise {\n const stepResource = createDefaultStepResource(() => createDefaultActionResource(actionType, plugin.version), plugin.stepPackage !== undefined, targetTags);\n const { Actions: actionResources, ...restOfStep } = stepResource;\n if (actionResources.length < 1) {\n throw new Error(\"Expecting an actionResource\");\n }\n //TODO Evaluate action templates and don't reassign\n const initialStep = { ...restOfStep, ActionIds: actionResources.map((a) => a.Id) };\n const initialAction: StoredAction = {\n ...actionResources[0],\n Name: actionType === \"Octopus.ProcessTemplate\" ? \"Process Template\" : getActionTypeName(actionType, actionTemplates),\n ParentId: initialStep.Id,\n plugin,\n Properties: { ...actionResources[0].Properties, ...plugin.getInitialProperties?.() },\n };\n const context: ProjectStepPackageContext = {\n persistenceSettings,\n processType,\n };\n const initialInputs = plugin.getInitialInputsAndPackages?.(context);\n if (initialInputs) {\n initialAction.Inputs = initialInputs.inputs;\n initialAction.Packages = initialInputs.packages;\n }\n const normalizedAction = enableNewActionFeatures(getNormalizedAction(true, initialAction, plugin), plugin);\n const { action, step } = await applyActionTemplateIfRequired(templateId, normalizedAction, getNormalizedStep(initialStep));\n return {\n action,\n step,\n actionTypeName: initialAction.Name,\n pageTitle: \"New child step\",\n };\n}\nexport function assembleExistingAction(actionId: string, processContextSelectors: ProcessStateSelectors, actionTemplates: {\n Type: ActionTemplateSearchResource[\"Type\"];\n Name: ActionTemplateSearchResource[\"Name\"];\n}[]): AssembledAction {\n const action = processContextSelectors.getActionById(actionId);\n const step = processContextSelectors.getStepById(action.ParentId);\n const plugin = processContextSelectors.getActionPlugin(actionId);\n const pageTitle = step.Name;\n //if this is based on some template...\n const actionTypeName = actionTemplates.find((x) => x.Type === action.ActionType)?.Name ?? \"\";\n const normalizedAction = getNormalizedAction(false, action, plugin);\n const normalizedStep = getNormalizedStep(step);\n return {\n action: normalizedAction,\n step: normalizedStep,\n actionTypeName,\n pageTitle,\n };\n}\ninterface MergeNotSupported {\n value: ProcessResource;\n result: \"NotSupported\";\n}\ninterface NoMergeRequired {\n value: ProcessResource & IHaveVersionProcessResource;\n result: \"NoMergeRequired\";\n}\ninterface MergedProcess {\n value: ProcessResource & IHaveVersionProcessResource;\n result: \"Merged\";\n}\nexport type MergeProcessResult = MergeNotSupported | NoMergeRequired | MergedProcess;\nexport function isMergeNotSupported(value: MergeProcessResult): value is MergeNotSupported {\n return value.result === \"NotSupported\";\n}\nexport function isNoMergeRequired(value: MergeProcessResult): value is NoMergeRequired {\n return value.result === \"NoMergeRequired\";\n}\nexport function isMergedProcess(value: MergeProcessResult): value is MergedProcess {\n return value.result === \"Merged\";\n}\nfunction hasProperty(item: T, property: keyof T): boolean {\n return Object.prototype.hasOwnProperty.call(item, property) && item[property] !== undefined;\n}\nclass ChildActionPatch {\n stepId: string;\n actionId: string;\n constructor(stepId: string, actionId: string) {\n this.actionId = actionId;\n this.stepId = stepId;\n }\n}\nclass StepPatch {\n stepId: string;\n constructor(stepId: string) {\n this.stepId = stepId;\n }\n}\nclass AddStepPatch {\n previousStep: string | null;\n value: Readonly;\n constructor(previousStep: string | null, value: DeploymentStepResource) {\n this.previousStep = previousStep;\n this.value = value;\n }\n}\nclass AddChildActionPatch extends StepPatch {\n value: Readonly;\n previousAction: string | null;\n constructor(stepId: string, previousAction: string | null, value: DeploymentActionResource) {\n super(stepId);\n this.previousAction = previousAction;\n this.value = value;\n }\n}\nclass ModifyActionPatch {\n value: Readonly;\n constructor(value: DeploymentActionResource) {\n this.value = value;\n }\n}\nclass ModifyStepPatch {\n value: Readonly;\n constructor(value: DeploymentStepResource) {\n this.value = value;\n }\n}\nclass DeleteStepPatch extends StepPatch {\n}\nclass DeleteChildActionPatch extends ChildActionPatch {\n}\ntype ProcessPatchTypes = AddStepPatch | AddChildActionPatch | DeleteStepPatch | DeleteChildActionPatch | ModifyActionPatch | ModifyStepPatch;\ntype ProcessPatches = ProcessPatchTypes[];\nconst getStepLookup = (steps: DeploymentStepResource[]) => {\n return keyBy(steps, (x) => x.Id);\n};\nconst getActionLookup = (steps: DeploymentStepResource[]) => {\n return keyBy(flatMap(steps.map((step) => step.Actions.map((action) => ({ stepId: step.Id, action })))), (x) => x.action.Id);\n};\ninterface StepAndActionLookups {\n steps: Dictionary;\n actions: Dictionary<{\n action: DeploymentActionResource;\n stepId: string;\n }>;\n}\nconst getProcessLookups = (process: DeploymentProcessResource | RunbookProcessResource): StepAndActionLookups => {\n return {\n steps: getStepLookup(process.Steps),\n actions: getActionLookup(process.Steps),\n };\n};\nconst getProcessDifferenceLookups = (previous: StepAndActionLookups, next: StepAndActionLookups) => {\n const addedSteps = Object.values(next.steps).filter((x) => !hasProperty(previous.steps, x.Id));\n const addedStepLookup = getStepLookup(addedSteps);\n const addedChildActions = Object.values(next.actions).filter((x) => !hasProperty(addedStepLookup, x.stepId) && !hasProperty(previous.actions, x.action.Id));\n const deletedSteps = Object.values(previous.steps).filter((x) => !hasProperty(next.steps, x.Id));\n const deletedStepLookup = keyBy(deletedSteps, (x) => x.Id);\n const deletedChildActions = Object.values(previous.actions).filter((x) => !hasProperty(next.actions, x.action.Id) && !hasProperty(deletedStepLookup, x.stepId));\n const deletedChildActionLookup = keyBy(deletedChildActions, (x) => x.action.Id);\n const intersectingSteps = getStepLookup(Object.values(previous.steps).filter((x) => !hasProperty(deletedStepLookup, x.Id)));\n const intersectingActions = Object.values(previous.actions).filter((x) => !hasProperty(deletedStepLookup, x.stepId) && !hasProperty(deletedChildActionLookup, x.action.Id));\n return {\n addedSteps: addedStepLookup,\n addedChildActions,\n deletedSteps: deletedStepLookup,\n deletedChildActions,\n intersectingSteps,\n intersectingActions,\n };\n};\nconst isStepWithoutActionsEqual = (previous: DeploymentStepResource, next: DeploymentStepResource) => {\n //Don't compare the actions since these are already captured in the actual changeset as additions (usually.)\n const { Actions: previousActions, ...previousStep } = previous;\n const { Actions: nextActions, ...nextStep } = next;\n return isEqual(previousStep, nextStep);\n};\nconst getProcessPatches = (previous: DeploymentProcessResource | RunbookProcessResource, next: DeploymentProcessResource | RunbookProcessResource, server: DeploymentProcessResource | RunbookProcessResource) => {\n const previousLookups = getProcessLookups(previous);\n const nextLookups = getProcessLookups(next);\n const serverLookups = getProcessLookups(server);\n const localChanges = getProcessDifferenceLookups(previousLookups, nextLookups);\n const patches: ProcessPatches = [];\n Object.values(localChanges.addedSteps).forEach((x) => {\n const index = next.Steps.findIndex((s) => s.Id === x.Id);\n patches.push(new AddStepPatch(index >= 1 ? next.Steps[index - 1].Id : null, x));\n });\n Object.values(localChanges.addedChildActions).forEach((x) => {\n const childActions = nextLookups.steps[x.stepId].Actions;\n const index = childActions.findIndex((s) => s.Id === x.action.Id);\n patches.push(new AddChildActionPatch(x.stepId, index >= 1 ? childActions[index - 1].Id : null, x.action));\n });\n Object.values(localChanges.deletedSteps).forEach((x) => patches.push(new DeleteStepPatch(x.Id)));\n Object.values(localChanges.deletedChildActions).forEach((x) => patches.push(new DeleteChildActionPatch(x.stepId, x.action.Id)));\n Object.values(localChanges.intersectingSteps).forEach((previousStep) => {\n const nextStep = nextLookups.steps[previousStep.Id];\n const stepModifiedLocally = !isStepWithoutActionsEqual(previousStep, nextStep);\n const serverHasStep = hasProperty(serverLookups.steps, previousStep.Id);\n const serverModifiedStep = serverHasStep && !isStepWithoutActionsEqual(previousStep, serverLookups.steps[previousStep.Id]);\n //If we modified this locally and it hasn't been modified by the server then we can safely apply the step changes\n if (stepModifiedLocally && !serverModifiedStep) {\n patches.push(new ModifyStepPatch(nextStep));\n }\n //There are 2 potential conflicts here, the server doesn't know about the step in which case it has been deleted the other is the\n //the server modified the step. In both these cases, we won't apply the patch, but we may be able to return something here to\n //indicate this to the user.\n });\n Object.values(localChanges.intersectingActions).forEach((previousAction) => {\n const nextAction = nextLookups.actions[previousAction.action.Id];\n const isActionModifiedLocally = !isEqual(previousAction.action, nextAction.action);\n const serverHasAction = hasProperty(serverLookups.actions, previousAction.action.Id);\n const serverModifiedAction = serverHasAction && !isEqual(previousAction.action, serverLookups.actions[previousAction.action.Id].action);\n //If we modified this locally and it hasn't been modified by the server then we can safely apply the step changes\n if (isActionModifiedLocally && !serverModifiedAction) {\n patches.push(new ModifyActionPatch(nextAction.action));\n //Same conflicts apply as per steps.\n }\n });\n //We should also detect move of steps and actions if they aren't new.\n return patches;\n};\nconst applyPatches = (process: Readonly, patches: ProcessPatches) => {\n const mergedProcess: DeploymentProcessResource | RunbookProcessResource = cloneDeep(process);\n const lookups = getProcessLookups(mergedProcess);\n patches.forEach((change) => {\n if (change instanceof DeleteStepPatch) {\n const index = mergedProcess.Steps.findIndex((x) => x.Id === change.stepId);\n if (index >= 0) {\n mergedProcess.Steps.splice(index, 1);\n }\n }\n else if (change instanceof DeleteChildActionPatch) {\n const parentStep = mergedProcess.Steps.find((x) => x.Id === change.stepId);\n if (parentStep) {\n const index = parentStep.Actions.findIndex((x) => x.Id === change.actionId);\n if (index >= 0) {\n parentStep.Actions.splice(index, 1);\n }\n }\n }\n else if (change instanceof AddStepPatch) {\n const previousStepIndex = change.previousStep === null ? 0 : mergedProcess.Steps.findIndex((x) => change.previousStep);\n if (previousStepIndex >= 0 && previousStepIndex + 1 === mergedProcess.Steps.length) {\n mergedProcess.Steps.splice(previousStepIndex + 1, 0, change.value);\n }\n else {\n mergedProcess.Steps.push(change.value);\n }\n }\n else if (change instanceof AddChildActionPatch) {\n const step = mergedProcess.Steps.find((x) => x.Id === change.stepId);\n if (step) {\n const previousActionIndex = change.previousAction === null ? 0 : step.Actions.findIndex((x) => change.previousAction);\n if (previousActionIndex >= 0 && previousActionIndex + 1 === step.Actions.length) {\n step.Actions.splice(previousActionIndex + 1, 0, change.value);\n }\n else {\n step.Actions.push(change.value);\n }\n }\n }\n else if (change instanceof ModifyActionPatch) {\n const action = lookups.actions[change.value.Id];\n Object.assign(action.action, change.value);\n }\n else if (change instanceof ModifyStepPatch) {\n const step = lookups.steps[change.value.Id];\n const { Actions, ...rest } = change.value;\n Object.assign(step, rest);\n }\n });\n //TODO: If the parent step doesn't exist anymore but we have a child action, then we should try and add a regular step.\n //If we ended up deleting multiple child actions and none are left then we need to also delete the parent step.\n mergedProcess.Steps = mergedProcess.Steps.filter((x) => x.Actions.length > 0);\n return mergedProcess;\n};\nexport const mergeProcesses = (clientCleanProcess: Readonly, clientProcess: Readonly, serverProcess: Readonly): MergeProcessResult => {\n if (!isVersionedProcessResource(clientCleanProcess) || !isVersionedProcessResource(clientProcess) || !isVersionedProcessResource(serverProcess)) {\n return { value: clientProcess, result: \"NotSupported\" };\n }\n if (clientProcess.Version === serverProcess.Version) {\n return { value: clientProcess, result: \"NoMergeRequired\" };\n }\n const localChanges = getProcessPatches(clientCleanProcess, clientProcess, serverProcess);\n const mergedProcess = applyPatches(serverProcess, localChanges);\n return { value: mergedProcess, result: \"Merged\" };\n};\nexport function getDeleteProcessMenuItem(name: string, onClick: () => Promise | Promise, permission: PermissionCheckProps, releaseCreationPackageStepId: string | undefined, processIdentifier: ProcessIdentifier, step: Readonly, action: Readonly | undefined, processContext: ProcessContextProps) {\n if (isBlueprintProcessIdentifier(processIdentifier)) {\n return OverflowMenuItems.deleteItemDefault(name, onClick, permission);\n }\n const parentOfARCStep = !action && step?.ActionIds.some((a) => a === releaseCreationPackageStepId);\n const showARCWarning = parentOfARCStep || releaseCreationPackageStepId === action?.Id;\n const stepName = parentOfARCStep ? processContext.selectors.getActionById(releaseCreationPackageStepId!).Name : step?.Name;\n const ARCWarning = ;\n const customDeleteMessage = showARCWarning ? ARCWarning : undefined;\n return OverflowMenuItems.deleteItemDefault(name, onClick, permission, \"\", customDeleteMessage, showARCWarning);\n}\n","import { RadioButtonGroup } from \"@octopusdeploy/design-system-components\";\nimport { withBoundField } from \"~/components/form/BoundField/BoundField\";\nexport const BoundRadioButtonGroup = withBoundField(RadioButtonGroup);\n","/* eslint-disable @typescript-eslint/no-non-null-assertion */\n/* eslint-disable @typescript-eslint/consistent-type-assertions */\nimport { css } from \"@emotion/css\";\nimport { RadioButton } from \"@octopusdeploy/design-system-components\";\nimport { space } from \"@octopusdeploy/design-system-tokens\";\nimport type { FeedResource } from \"@octopusdeploy/octopus-server-client\";\nimport { PackageAcquisitionLocation } from \"@octopusdeploy/octopus-server-client\";\nimport * as _ from \"lodash\";\nimport * as React from \"react\";\nimport { isRunOnBuiltInWorker, isRunOnDeploymentTarget } from \"~/areas/projects/components/Process/Common/CommonProcessHelpers\";\nimport type { RunOn } from \"~/areas/projects/components/Process/types\";\nimport { BaseComponent } from \"~/components/BaseComponent/BaseComponent\";\nimport Note from \"~/primitiveComponents/form/Note/Note\";\nimport { BoundRadioButtonGroup } from \"~/primitiveComponents/form/RadioButton/BoundRadioButtonGroup\";\nimport isBound from \"../form/BoundField/isBound\";\ninterface PackageDownloadOptionsProps {\n packageAcquisitionLocation: string;\n feed: FeedResource | undefined;\n runOn?: RunOn;\n showNotAcquiredOption?: boolean;\n projectId: string | undefined;\n localNames: string[] | undefined;\n onPackageAcquisitionLocationChanged(packageAcquisitionLocation: string): void;\n}\nexport default class PackageDownloadOptions extends BaseComponent {\n private static radioButtons(locations: PackageAcquisitionLocation[], defaultLocation: PackageAcquisitionLocation): JSX.Element[] {\n const elements = [];\n if (locations.includes(PackageAcquisitionLocation.Server)) {\n elements.push();\n }\n if (locations.includes(PackageAcquisitionLocation.ExecutionTarget)) {\n elements.push();\n elements.push(The execution target will be either a Tentacle or SSH deployment target, or a worker in a pool.);\n }\n if (locations.includes(PackageAcquisitionLocation.NotAcquired)) {\n elements.push();\n elements.push(\n Package metadata variables will still be available (e.g. Octopus.Action.Package.PackageId)\n );\n }\n return elements;\n }\n componentDidMount() {\n this.ensureAppropriateDefaultForFeed(this.props.feed!);\n }\n UNSAFE_componentWillReceiveProps(nextProps: PackageDownloadOptionsProps) {\n if (!_.isEqual(this.props.feed, nextProps.feed)) {\n this.ensureAppropriateDefaultForFeed(nextProps.feed!);\n }\n }\n render() {\n const feed = this.props.feed; // This may be null (for example if a variable expression is used for the feed)\n // Determine which acquisition location options to display (first will be the default)\n const locations = this.acquisitionLocations(feed);\n // If there are not at least possible acquisition locations, then there is no selectin' to be done\n if (locations.length < 2) {\n return null;\n }\n // The first supported location is considered the default\n const defaultLocation = locations[0];\n return (
    \n this.props.onPackageAcquisitionLocationChanged(val)}>\n {PackageDownloadOptions.radioButtons(locations, defaultLocation)}\n \n
    );\n }\n // Returns available package-acquisition locations, with the default as the first\n private acquisitionLocations(feed: FeedResource | undefined) {\n // If a feed has been selected, we will start with the acquisition locations it supports.\n // Otherwise we have to assume all options are potentially valid\n let locationsSupportedByFeed = feed?.PackageAcquisitionLocationOptions ?? Object.keys(PackageAcquisitionLocation);\n if (this.props.showNotAcquiredOption) {\n // Ensure not acquired is in the list *once*\n locationsSupportedByFeed = _.uniq([...locationsSupportedByFeed, PackageAcquisitionLocation.NotAcquired]);\n }\n return _.chain(locationsSupportedByFeed)\n .filter((location) => {\n switch (location) {\n case PackageAcquisitionLocation.Server:\n return true;\n case PackageAcquisitionLocation.ExecutionTarget:\n // If we know the action will run on the server, then we won't show `ExecutionTarget`\n return !this.actionWillRunOnServer();\n case PackageAcquisitionLocation.NotAcquired:\n // The parent component can decide whether ot not to show `NotAcquired`\n return !!this.props.showNotAcquiredOption;\n default:\n return false;\n }\n })\n .map((location) => location as PackageAcquisitionLocation)\n .value();\n }\n // Ensure we don't have incompatible feed and acquisition-location selected\n private ensureAppropriateDefaultForFeed(feed: FeedResource) {\n // If we don't have a feed, then there's nothing we can do.\n if (!feed) {\n return;\n }\n // If they have bound the acquisition-location to a variable-expression, then they're also on their own\n if (isBound(this.props.packageAcquisitionLocation, false)) {\n return;\n }\n const availableLocations = this.acquisitionLocations(feed).map((x) => x as string);\n // If the selected location isn't a valid option, then select the default\n if (availableLocations.length > 0 && !availableLocations.includes(this.props.packageAcquisitionLocation)) {\n this.props.onPackageAcquisitionLocationChanged(availableLocations[0]);\n }\n }\n private actionWillRunOnServer() {\n const runOn = this.props.runOn;\n if (!runOn || isRunOnDeploymentTarget(runOn)) {\n return false;\n }\n return isRunOnBuiltInWorker(runOn);\n }\n static displayName = \"PackageDownloadOptions\";\n}\nconst styles = {\n radioButtonGroup: css({\n \"& div:nth-child(2):has(.MuiButtonBase-root.MuiIconButton-root)\": {\n marginTop: space[16],\n marginBottom: space[16],\n alignItems: \"flex-start\",\n },\n }),\n};\n","import type { BlueprintResource } from \"@octopusdeploy/octopus-server-client\";\nimport * as React from \"react\";\nexport type ProcessBlueprintContextProps = {\n localNames: string[];\n blueprint: BlueprintResource;\n};\nexport interface WithProcessBlueprintContextInjectedProps {\n processBlueprintContext?: ProcessBlueprintContextProps;\n}\nexport const ProcessBlueprintContext = React.createContext(undefined);\nexport const useOptionalProcessBlueprintContext = () => {\n return React.useContext(ProcessBlueprintContext);\n};\nexport function buildProcessBlueprintContextProps(resource: BlueprintResource): ProcessBlueprintContextProps {\n return {\n blueprint: resource,\n localNames: [...resource.Parameters].sort((a, b) => a.Name.localeCompare(b.Name)).map((p) => p.Name),\n };\n}\n","/* eslint-disable @typescript-eslint/consistent-type-assertions,@typescript-eslint/no-non-null-assertion */\nimport { RadioButton, RadioButtonGroup } from \"@octopusdeploy/design-system-components\";\nimport type { ActionTemplateParameterResource } from \"@octopusdeploy/octopus-server-client\";\nimport { ControlType, PackageSelectionMode } from \"@octopusdeploy/octopus-server-client\";\nimport * as React from \"react\";\nimport { useOptionalProcessBlueprintContext } from \"~/areas/projects/components/Process/Blueprints/BlueprintContext\";\nimport BaseComponent from \"~/components/BaseComponent\";\nimport { Note } from \"~/components/form\";\nimport { BoundSelect } from \"~/primitiveComponents/form/Select/Select\";\nimport type { PackageSelectorProps } from \"./PackageSelector\";\nimport PackageSelector from \"./PackageSelector\";\ninterface DeferredPackageSelectorProps extends PackageSelectorProps {\n packageSelectionMode: PackageSelectionMode;\n packageSelectionModeError?: string;\n parameters?: ActionTemplateParameterResource[];\n packageParameterName: string;\n packageParameterError?: string;\n onPackageSelectionModeChange(value: PackageSelectionMode): void;\n onPackageParameterChange(value: string): void;\n isProcessTemplateProcess?: boolean;\n}\nexport default class DeferredPackageSelector extends BaseComponent {\n constructor(props: DeferredPackageSelectorProps) {\n super(props);\n }\n render() {\n return ;\n }\n static displayName = \"DeferredPackageSelector\";\n}\nfunction Selector(props: DeferredPackageSelectorProps) {\n const blueprintContext = useOptionalProcessBlueprintContext();\n if (props.projectId && !blueprintContext?.blueprint) {\n return ;\n }\n const packageSelectionMode = props.packageSelectionMode || PackageSelectionMode.Immediate;\n const onChange = (value: PackageSelectionMode) => props.onPackageSelectionModeChange(value);\n const blueprintParameters = blueprintContext?.blueprint.Parameters || [];\n if (props.isProcessTemplateProcess && packageSelectionMode === PackageSelectionMode.Deferred) {\n return ;\n }\n return (\n {}\n {packageSelectionMode === PackageSelectionMode.Immediate && }\n {}\n {packageSelectionMode === PackageSelectionMode.Deferred && }\n );\n}\ninterface PackageParameterSelectorProps extends DeferredPackageSelectorProps {\n blueprintParameters: ActionTemplateParameterResource[];\n}\nfunction PackageParameterSelector(props: PackageParameterSelectorProps) {\n const parameters = (props.parameters || []).concat(props.blueprintParameters);\n const parameterOptions = parameters.filter((p) => p.DisplaySettings[\"Octopus.ControlType\"] === ControlType.Package)?.map((p: ActionTemplateParameterResource) => ({ value: p.Name, text: p.Label || p.Name })) || [];\n const variableLookup = { localNames: props.localNames };\n return (
    \n props.onPackageParameterChange(value!)} items={parameterOptions} error={props.packageParameterError} autoFocus={props.packageSelectionMode === PackageSelectionMode.Deferred} label=\"Package parameter\" empty={parameterOptions?.length === 0 ? \"No package parameters found\" : undefined} hideBindButton={true}/>\n {props.isProcessTemplateProcess ? (When using this process template in a project, the user will be prompted to select a package.) : (When using this step template in a process, the user will be prompted to select a package.)}\n
    );\n}\n","import type { FeedResource } from \"@octopusdeploy/octopus-server-client\";\nimport React from \"react\";\nimport useRequiredContext from \"~/hooks/useRequiredContext\";\ntype ProcessFeedsContextValue = FeedResource[] | \"NotLoaded\";\ntype ProcessFeedsRefreshContextValue = () => Promise;\nconst ProcessFeedsContext = React.createContext([]);\nconst RefreshProcessFedsContext = React.createContext(undefined);\nexport function useFeedsFromContext() {\n const maybeFeeds = useMaybeFeedsFromContext();\n return maybeFeeds === \"NotLoaded\" ? [] : maybeFeeds;\n}\nexport function useMaybeFeedsFromContext(): ProcessFeedsContextValue {\n return useRequiredContext(ProcessFeedsContext, \"ProcessFeedsContext\");\n}\nexport function useRefreshFeedsFromContext(): ProcessFeedsRefreshContextValue {\n return useRequiredContext(RefreshProcessFedsContext, \"RefreshProcessFeedsContext\");\n}\nexport function useFeedFromContext(id: string) {\n const feeds = useFeedsFromContext();\n return React.useMemo(() => {\n return feeds.find((f) => f.Id === id);\n }, [feeds, id]);\n}\ntype ProcessFeedsContextProviderProps = {\n feeds: FeedResource[] | \"NotLoaded\";\n refreshFeeds: () => Promise;\n};\ntype ProcessFeedConsumerProps = {\n feedId: string;\n children: (feed: FeedResource | undefined) => React.ReactElement;\n};\nexport function ProcessFeedLookup(props: ProcessFeedConsumerProps) {\n const feed = useFeedFromContext(props.feedId);\n return props.children(feed);\n}\nexport function ProcessFeedsContextProvider(props: React.PropsWithChildren) {\n return (\n {props.children}\n );\n}\n","import { logger } from \"@octopusdeploy/logging\";\nimport type { FeedResource, PackageReference } from \"@octopusdeploy/octopus-server-client\";\nimport { Permission } from \"@octopusdeploy/octopus-server-client\";\nimport React from \"react\";\nimport { useFeedsFromContext } from \"~/areas/projects/components/Process/Contexts/ProcessFeedsContextProvider\";\nimport type { DataBaseComponentState } from \"~/components/DataBaseComponent\";\nimport DataBaseComponent from \"~/components/DataBaseComponent\";\nimport { isAllowed } from \"~/components/PermissionCheck/PermissionCheck\";\ninterface DisplayFeedNameProps {\n pkg: PackageReference;\n}\ninterface DisplayFeedNameContextProps {\n feeds: FeedResource[];\n}\ntype Props = DisplayFeedNameProps & DisplayFeedNameContextProps;\ninterface DisplayFeedNameState extends DataBaseComponentState {\n feedResult: FeedResource | \"Is Loading\" | \"No Permission\";\n}\nclass DisplayFeedNameInternal extends DataBaseComponent {\n constructor(props: Props) {\n super(props);\n this.state = {\n feedResult: \"Is Loading\",\n };\n }\n async componentDidMount() {\n if (!isAllowed({ permission: Permission.FeedView })) {\n this.setState({ feedResult: \"No Permission\" });\n return;\n }\n if (this.props.pkg.FeedId.includes(\"#{\")) {\n return;\n }\n await this.doBusyTask(async () => {\n const feed = this.props.feeds.find((f) => f.Id === this.props.pkg.FeedId);\n if (feed) {\n this.setState({ feedResult: feed });\n }\n else {\n logger.info(\"Failed to lookup feed for package {package}.\", { package: this.props.pkg });\n }\n });\n }\n render() {\n const feedResult = this.state.feedResult;\n const pkg = this.props.pkg;\n if (feedResult === \"Is Loading\" || pkg.FeedId.includes(\"#{\")) {\n return {this.props.pkg.FeedId};\n }\n else if (feedResult === \"No Permission\") {\n return {`(Feed unknown: ${Permission.FeedView} permission required)`};\n }\n return {feedResult.Name};\n }\n static displayName = \"DisplayFeedNameInternal\";\n}\nconst DisplayFeedName: React.FC = (props) => {\n const feeds = useFeedsFromContext();\n return ;\n};\nDisplayFeedName.displayName = \"DisplayFeedName\"\nexport { DisplayFeedName };\n","import { flatten } from \"lodash\";\nimport * as React from \"react\";\ninterface TargetsProps {\n targets: React.ReactNode[];\n}\nexport abstract class Targets extends React.Component {\n render() {\n const targets = this.props.targets;\n return (\n {flatten(targets.map((target, index) => {\n const nodes = [target];\n if (index === targets.length - 1) {\n return nodes;\n }\n nodes.push({index === targets.length - 2 ? \" and \" : \", \"});\n return nodes;\n }))}\n );\n }\n static displayName = \"Targets\";\n}\nexport default Targets;\n","import * as React from \"react\";\nimport Targets from \"./Targets\";\ninterface TargetListProps {\n targets: TTarget[];\n renderTarget: (target: TTarget) => React.ReactNode;\n}\nexport abstract class TargetList extends React.Component, never> {\n render() {\n return this.props.renderTarget(target))}/>;\n }\n static displayName = \"TargetList\";\n}\nexport default TargetList;\n","import * as React from \"react\";\nimport { RoleChip } from \"~/components/Chips/index\";\nimport ParseHelper from \"../../utils/ParseHelper/ParseHelper\";\nimport TargetList from \"./TargetList\";\ninterface RolesProps {\n rolesAsCSV: string;\n}\nclass RolesList extends TargetList {\n}\nconst Roles: React.StatelessComponent = (props) => {\n const roles = ParseHelper.parseCSV(props.rolesAsCSV);\n return (\n {roles.length === 1 ? \"the tag\" : \"the tags\"} }/>\n );\n};\nRoles.displayName = \"Roles\"\nRoles.displayName = \"Roles\";\nexport default Roles;\n","/* eslint-disable @typescript-eslint/no-non-null-assertion */\nimport type { PackageReference } from \"@octopusdeploy/octopus-server-client\";\nimport { PackageSelectionMode } from \"@octopusdeploy/octopus-server-client\";\nexport function getChangesToPackageReference(newPackageSelectionMode: PackageSelectionMode): Partial {\n switch (newPackageSelectionMode) {\n case PackageSelectionMode.Immediate:\n return { Properties: { PackageParameterName: null!, SelectionMode: newPackageSelectionMode } };\n case PackageSelectionMode.Deferred:\n return { PackageId: null!, FeedId: null!, Properties: { SelectionMode: newPackageSelectionMode } };\n }\n}\n","/* eslint-disable @typescript-eslint/no-non-null-assertion */\nimport { Callout } from \"@octopusdeploy/design-system-components\";\nimport { ActionExecutionLocation, FeedType, GetPrimaryPackageReference, InitialisePrimaryPackageReference, PackageSelectionMode, ProcessType, SetPrimaryPackageReference } from \"@octopusdeploy/octopus-server-client\";\nimport * as React from \"react\";\nimport { TargetRoles } from \"~/areas/projects/components/Process/types\";\nimport { BaseComponent } from \"~/components/BaseComponent/BaseComponent\";\nimport PackageDownloadOptions from \"~/components/PackageDownloadOptions/PackageDownloadOptions\";\nimport DeferredPackageSelector from \"~/components/PackageSelector/DeferredPackageSelector\";\nimport { isProjectStepInputDependencies } from \"~/components/StepPackageEditor/StepInputDependencies\";\nimport { ExpandableFormSection, FormSection } from \"~/components/form\";\nimport ExpanderSectionHeading from \"~/components/form/Sections/FormSectionHeading\";\nimport CommonSummaryHelper from \"~/utils/CommonSummaryHelper/CommonSummaryHelper\";\nimport { ProcessFeedLookup, useFeedsFromContext, useRefreshFeedsFromContext } from \"../../../areas/projects/components/Process/Contexts/ProcessFeedsContextProvider\";\nimport { DisplayFeedName } from \"../DisplayFeedName\";\nimport Roles from \"../Roles\";\nimport type { ActionSummaryProps } from \"../actionSummaryProps\";\nimport type { ActionWithFeeds } from \"../commonActionHelpers\";\nimport { getChangesToPackageReference } from \"../getChangesToPackageReference\";\nimport type { ActionEditProps } from \"../pluginRegistry\";\nimport pluginRegistry from \"../pluginRegistry\";\ninterface TentaclePackageActionSummaryState {\n feedName: string | null;\n}\nclass TentaclePackageAction extends BaseComponent {\n constructor(props: ActionSummaryProps) {\n super(props);\n }\n render() {\n const pkg = GetPrimaryPackageReference(this.props.packages);\n const isPackageDeferred = pkg.Properties[\"SelectionMode\"] === PackageSelectionMode.Deferred;\n const packageName = isPackageDeferred ? pkg.Properties[\"PackageParameterName\"] : pkg.PackageId;\n const feedName = !isPackageDeferred && (<>\n {\"from\"} \n );\n return pkg ? (
    \n {\"Deploy package\"} {packageName} {feedName}\n {this.props.targetRolesAsCSV && (\n {\" \"}\n to deployment targets with {\" \"}\n )}\n
    ) : (\n Package was not selected or cannot be found. Please review this step and ensure a valid package is selected.\n );\n }\n static displayName = \"TentaclePackageAction\";\n}\ntype TentaclePackageActionEditState = {};\ntype TentaclePackageActionEditProps = ActionEditProps;\ntype TentaclePackageActionEditInternalProps = TentaclePackageActionEditProps & ActionWithFeeds;\nclass TentaclePackageActionEditInternal extends BaseComponent {\n constructor(props: TentaclePackageActionEditInternalProps) {\n super(props);\n this.state = {};\n }\n private isProcessTemplateProcess = this.props.inputDependencies && isProjectStepInputDependencies(this.props.inputDependencies) ? this.props.inputDependencies.processType === ProcessType.Blueprint : false;\n async componentDidMount() {\n this.props.setPackages(InitialisePrimaryPackageReference(this.props.packages, this.props.feeds, this.isProcessTemplateProcess), true);\n }\n render() {\n // The package is initialized in componentDidMount, but render gets called before the update is propagated\n if (!this.props.packages || this.props.packages.length === 0) {\n return null;\n }\n const pkg = GetPrimaryPackageReference(this.props.packages);\n const help = Select the package containing your application.;\n return (
    \n \n {this.props.isStepFromProcessTemplate ? () : (\n this.props.setPackages(SetPrimaryPackageReference({ PackageId: packageId }, this.props.packages))} onFeedIdChange={(feedId) => this.props.setPackages(SetPrimaryPackageReference({ FeedId: feedId }, this.props.packages))} onPackageVersionChange={(version) => this.props.setPackages(SetPrimaryPackageReference({ Version: version }, this.props.packages))} packageIdError={this.props.getFieldError(\"Packages\")} feedIdError={this.props.getFieldError(\"Octopus.Action.Package.FeedId\")} projectId={this.props.projectId} feeds={this.props.feeds} localNames={this.props.localNames} feedType={[FeedType.Nuget, FeedType.BuiltIn, FeedType.Maven, FeedType.GitHub, FeedType.S3, FeedType.ArtifactoryGeneric]} refreshFeeds={this.loadFeeds} \n // Deferred package selection properties\n parameters={this.props.parameters} packageSelectionMode={pkg?.Properties[\"SelectionMode\"]} packageSelectionModeError={this.props.getFieldError(\"SelectionMode\")} onPackageSelectionModeChange={(value) => this.props.setPackages(SetPrimaryPackageReference(getChangesToPackageReference(value), this.props.packages))} packageParameterName={pkg?.Properties[\"PackageParameterName\"]} packageParameterError={this.props.getFieldError(\"PackageParameter\")} onPackageParameterChange={(packageParameter) => this.props.setPackages(SetPrimaryPackageReference({ Properties: { ...pkg?.Properties, PackageParameterName: packageParameter } }, this.props.packages))} isProcessTemplateProcess={this.isProcessTemplateProcess}/>\n {(pkg?.Properties[\"SelectionMode\"] === PackageSelectionMode.Immediate || this.isProcessTemplateProcess) && (\n {(feed) => ( this.props.setPackages(SetPrimaryPackageReference({ AcquisitionLocation: acquisitionLocation }, this.props.packages))} feed={feed} projectId={this.props.projectId} localNames={this.props.localNames}/>)}\n )}\n )}\n
    );\n }\n private loadFeeds = async () => {\n await this.props.refreshFeeds();\n };\n private processTemplatePackageHelp = () => {\n const pkg = GetPrimaryPackageReference(this.props.packages);\n return (\n The package is bound to the process template parameter {pkg.Properties[\"PackageParameterName\"]}\n );\n };\n static displayName = \"TentaclePackageActionEditInternal\";\n}\nexport function TentaclePackageActionEdit(props: React.PropsWithChildren) {\n const feeds = useFeedsFromContext();\n const refreshFeeds = useRefreshFeedsFromContext();\n return ;\n}\npluginRegistry.registerAction({\n actionType: \"Octopus.TentaclePackage\",\n summary: (properties, targetRolesAsCSV, packages) => ,\n canHaveChildren: (step) => true,\n canBeChild: true,\n editSections: { default: TentaclePackageActionEdit },\n executionLocation: ActionExecutionLocation.AlwaysOnTarget,\n targetRoleOption: (action) => TargetRoles.Optional,\n hasPackages: (action) => true,\n features: {\n optional: [\n \"Octopus.Features.ConfigurationTransforms\",\n \"Octopus.Features.ConfigurationVariables\",\n \"Octopus.Features.CustomDirectory\",\n \"Octopus.Features.CustomScripts\",\n \"Octopus.Features.JsonConfigurationVariables\",\n \"Octopus.Features.SubstituteInFiles\",\n \"Octopus.Features.IisHome\",\n \"Octopus.Features.IISWebSite\",\n \"Octopus.Features.RedGateDatabase\",\n \"Octopus.Features.WindowsService\",\n \"Octopus.Features.Nginx\",\n \"Octopus.Features.SelectPowerShellEditionForWindows\",\n ],\n initial: [\"Octopus.Features.ConfigurationTransforms\", \"Octopus.Features.ConfigurationVariables\"],\n },\n docsLink: \"deployPackage\",\n});\n","import { Callout } from \"@octopusdeploy/design-system-components\";\nimport { ActionExecutionLocation, GetPrimaryPackageReference } from \"@octopusdeploy/octopus-server-client\";\nimport * as React from \"react\";\nimport { TargetRoles } from \"~/areas/projects/components/Process/types\";\nimport { TentaclePackageActionEdit } from \"~/components/Actions/tentaclePackage/tentaclePackageAction\";\nimport { BaseComponent } from \"~/components/BaseComponent/BaseComponent\";\nimport { DisplayFeedName } from \"../DisplayFeedName\";\nimport Roles from \"../Roles\";\nimport type { ActionSummaryProps } from \"../actionSummaryProps\";\nimport pluginRegistry from \"../pluginRegistry\";\ninterface IISActionSummaryState {\n feedName: string;\n}\nclass IISActionSummary extends BaseComponent {\n constructor(props: ActionSummaryProps) {\n super(props);\n }\n render() {\n const pkg = GetPrimaryPackageReference(this.props.packages);\n return pkg ? (
    \n {\"Deploy to IIS using package\"} {pkg.PackageId} {\"from\"} \n {this.props.targetRolesAsCSV && (\n {\"to deployment targets with\"} \n )}\n
    ) : (\n Package was not selected or cannot be found. Please review this step and ensure a valid package is selected.\n );\n }\n static displayName = \"IISActionSummary\";\n}\npluginRegistry.registerAction({\n executionLocation: ActionExecutionLocation.AlwaysOnTarget,\n actionType: \"Octopus.IIS\",\n summary: (properties, targetRolesAsCSV, packages) => ,\n editSections: { default: TentaclePackageActionEdit },\n canHaveChildren: (step) => true,\n canBeChild: true,\n targetRoleOption: (action) => TargetRoles.Optional,\n hasPackages: (action) => true,\n features: {\n permanent: [\"Octopus.Features.IISWebSite\"],\n optional: [\n \"Octopus.Features.ConfigurationTransforms\",\n \"Octopus.Features.ConfigurationVariables\",\n \"Octopus.Features.CustomDirectory\",\n \"Octopus.Features.CustomScripts\",\n \"Octopus.Features.JsonConfigurationVariables\",\n \"Octopus.Features.SubstituteInFiles\",\n \"Octopus.Features.SelectPowerShellEditionForWindows\",\n ],\n initial: [\"Octopus.Features.ConfigurationTransforms\", \"Octopus.Features.ConfigurationVariables\"],\n },\n docsLink: \"deployToIIS\",\n});\n","/* eslint-disable @typescript-eslint/consistent-type-assertions */\nimport React from \"react\";\nimport type { ActionCreatorsMapObject } from \"redux\";\nimport type { ActionCreator } from \"typesafe-actions\";\nexport type InferredBoundAction = T extends ActionCreator ? >(...args: TArgs) => void : never;\nexport type BoundActionCreatorsMap, TMap> = {\n [K in keyof T]: InferredBoundAction;\n};\nexport const bindActionsToDispatch = , T>(dispatch: React.Dispatch, actionsToBind: TActions): BoundActionCreatorsMap => {\n return Object.keys(actionsToBind).reduce>((prev, current: keyof TActions) => {\n return {\n ...prev,\n [current]: (...args: Array) => {\n const creator = actionsToBind[current];\n const action = creator(...args);\n dispatch(action);\n },\n };\n //eslint-disable-next-line @typescript-eslint/no-explicit-any\n }, {} as any);\n};\nexport const useBoundDispatch = , T>(dispatch: React.Dispatch, actionsToBind: TActions) => {\n return React.useMemo(() => bindActionsToDispatch(dispatch, actionsToBind), [dispatch, actionsToBind]);\n};\n","import type { AccountResource, ActionTemplateSearchResource, FeedResource, GitCredentialResource, GitRef, ModifyProcessCommand, PersistenceSettings, ProcessResource } from \"@octopusdeploy/octopus-server-client\";\nimport { HasRunbooksInGit } from \"@octopusdeploy/octopus-server-client\";\nimport { exhaustiveCheck } from \"@octopusdeploy/type-utils\";\nimport * as React from \"react\";\nimport type { ProcessTemplateDetails } from \"~/areas/projects/components/Process/Contexts/ProcessController\";\nimport { repository } from \"~/clientInstance\";\nimport type { Errors } from \"~/components/DataBaseComponent\";\nimport { useRequiredContext } from \"~/hooks\";\nimport { useBoundDispatch } from \"~/utils/Reducers\";\nimport type { ProcessContextModelState, ProcessIdentifier, ProcessPageSupportedActions } from \"../types\";\nimport { isBlueprintProcessIdentifier, isDeploymentProcessIdentifier, isRunbookProcessIdentifier } from \"../types\";\nimport type { ProcessActions, ProcessStateSelectors } from \"./ProcessContextState\";\nimport { actions } from \"./ProcessContextState\";\nexport interface ProcessContextLookupState {\n actionTemplates: ActionTemplateSearchResource[] | \"NotLoaded\";\n feeds: FeedResource[] | \"NotLoaded\";\n accounts: AccountResource[];\n gitCredentials: GitCredentialResource[];\n blueprints: ProcessTemplateDetails[] | \"NotLoaded\";\n}\nexport type ProcessContextProps = {\n state: ProcessContextModelState;\n actions: ProcessContextProviderSetupActions;\n selectors: ProcessStateSelectors;\n};\nexport const ProcessContext = React.createContext(undefined);\nexport const useProcessContext = () => {\n return useRequiredContext(ProcessContext, \"Process\");\n};\nexport const useOptionalProcessContext = () => {\n return React.useContext(ProcessContext);\n};\nexport const loadProcess = (processIdentifier: ProcessIdentifier, persistenceSettings: PersistenceSettings, gitRef?: GitRef): Promise => {\n if (isDeploymentProcessIdentifier(processIdentifier)) {\n return repository.DeploymentProcesses.get(processIdentifier.projectId, gitRef);\n }\n else if (isRunbookProcessIdentifier(processIdentifier)) {\n const isGitRunbook = HasRunbooksInGit(persistenceSettings) && gitRef;\n if (isGitRunbook) {\n return repository.Runbooks.getRunbookProcess(processIdentifier.projectId, processIdentifier.spaceId, processIdentifier.id, gitRef);\n }\n else {\n return repository.Runbooks.getRunbookProcess(processIdentifier.projectId, processIdentifier.spaceId, processIdentifier.id);\n }\n }\n else if (isBlueprintProcessIdentifier(processIdentifier)) {\n return repository.Blueprints.get(processIdentifier.slug, gitRef);\n }\n exhaustiveCheck(processIdentifier, \"Unknown process type\");\n};\nexport interface ProcessContextProviderSetup {\n lookupsState: ProcessContextLookupState;\n state: ProcessContextModelState;\n setState: React.Dispatch>;\n actions: ProcessContextProviderSetupActions;\n selectors: ProcessStateSelectors;\n}\ntype BoundActionsType = Omit, \"setProcess\" | \"conflictDetected\">;\nexport interface ProcessContextProviderSetupActions extends ProcessPageSupportedActions, BoundActionsType {\n saveOnServer: (process: ModifyProcessCommand, onError: (errors: Errors) => void, onSuccess: () => void, gitRef?: string) => Promise;\n cloneToDifferentProcess: (process: ModifyProcessCommand, targetProjectPersistenceSettings: PersistenceSettings, onError: (errors: Errors) => void, onSuccess: () => void) => Promise;\n refreshFromServer: () => void;\n setProcess: (process: ProcessResource, updateCleanModel: boolean) => Promise;\n conflictDetected: (serverProcess: ProcessResource, stagedProcess: ProcessResource) => Promise;\n}\nexport const useBoundProcessActions = (dispatch: React.Dispatch) => {\n return useBoundDispatch(dispatch, actions);\n};\nexport interface WithProcessContextInjectedProps {\n processContext: ProcessContextProps;\n}\nexport function withProcessContext(Component: React.ComponentType) {\n const WithProcessContext: React.FC = (props) => {\n const context = useProcessContext();\n return ;\n };\n WithProcessContext.displayName = \"WithProcessContext\"\n return WithProcessContext;\n}\nexport type WithOptionalProcessContextInjectedProps = Partial;\nexport function withOptionalProcessContext(Component: React.ComponentType) {\n const WithOptionalProcessContext: React.FC = (props) => {\n const context = useOptionalProcessContext();\n return ;\n };\n WithOptionalProcessContext.displayName = \"WithOptionalProcessContext\"\n return WithOptionalProcessContext;\n}\n","import type { GitCredentialResource } from \"@octopusdeploy/octopus-server-client\";\nimport React from \"react\";\nimport useRequiredContext from \"~/hooks/useRequiredContext\";\ntype ProcessGitCredentialsContextValue = GitCredentialResource[];\ntype ProcessGitCredentialsRefreshContextValue = () => Promise;\nconst ProcessGitCredentialsContext = React.createContext([]);\nconst RefreshProcessGitCredentialsContext = React.createContext(undefined);\nexport function useGitCredentialsFromContext(): ProcessGitCredentialsContextValue {\n return useRequiredContext(ProcessGitCredentialsContext, \"ProcessGitCredentialsContext\");\n}\nexport function useRefreshGitCredentialsFromContext(): ProcessGitCredentialsRefreshContextValue {\n return useRequiredContext(RefreshProcessGitCredentialsContext, \"RefreshProcessGitCredentialsContext\");\n}\ntype ProcessGitCredentialContextProviderProps = {\n gitCredentials: GitCredentialResource[];\n refreshGitCredentials: () => Promise;\n};\nexport function ProcessGitCredentialsContextProvider(props: React.PropsWithChildren) {\n return (\n {props.children}\n );\n}\n","import type { PackageReference, TriggerResource } from \"@octopusdeploy/octopus-server-client\";\nimport React, { useMemo, useState } from \"react\";\nimport type { RelatedTriggersDependencies } from \"./CalloutReferencedPackageFeedTriggerConnections\";\nimport { MultipleRelatedFeedTriggersModifiedCallout, SingleRelatedFeedTriggerModifiedCallout } from \"./RelatedFeedTriggerCallouts\";\nimport { getRelatedFeedTriggersForReferencedPackages, getPackageNamesUsedInFeedTriggers } from \"./triggerPackageRelations\";\ninterface CalloutModifiedFeedTriggerConnectionsProps {\n dependencies: RelatedTriggersDependencies;\n packageReferences: PackageReference[];\n modelDirty: boolean;\n}\nexport function CalloutModifiedFeedTriggerConnections({ dependencies, packageReferences, modelDirty }: CalloutModifiedFeedTriggerConnectionsProps) {\n const [originalPackageNames, setOriginalPackageNames] = useState([]);\n const [originalTriggers, setOriginalTriggers] = useState([]);\n const { spaceId, projectSlug } = dependencies;\n const relatedTriggers = useMemo(() => getRelatedFeedTriggersForReferencedPackages(dependencies, packageReferences), [dependencies, packageReferences]);\n const packageNames = getPackageNamesUsedInFeedTriggers(relatedTriggers, packageReferences);\n const uniqueTriggerCount = [...new Set(relatedTriggers.map((trigger) => trigger.Id))].length;\n if (originalPackageNames.length === 0 && packageNames.length !== 0) {\n // Can't re-use packageNames as it only uses the first element for some reason\n setOriginalPackageNames(getPackageNamesUsedInFeedTriggers(relatedTriggers, packageReferences));\n }\n if (originalTriggers.length === 0 && relatedTriggers.length !== 0) {\n setOriginalTriggers(relatedTriggers);\n }\n // We should never show a warning if there wasn't an existing related trigger\n if (originalTriggers.length === 0 || originalPackageNames.length === 0)\n return <>;\n const changedPackageNames = originalPackageNames.filter((name) => !packageNames.includes(name));\n if (changedPackageNames.length > 0) {\n if (uniqueTriggerCount === 1) {\n const triggerId = relatedTriggers[0].Id;\n return ;\n }\n else {\n return ;\n }\n }\n return <>;\n}\n","/* eslint-disable @typescript-eslint/no-non-null-assertion */\n/* eslint-disable @typescript-eslint/consistent-type-assertions */\nimport type { PackageReference, TriggerResource } from \"@octopusdeploy/octopus-server-client\";\nimport React, { Fragment, useMemo } from \"react\";\nimport { AvailableFeedTriggerCallout, MultipleRelatedFeedTriggersCallout, SingleRelatedFeedTriggerCallout } from \"./RelatedFeedTriggerCallouts\";\nimport { getRelatedFeedTriggersForReferencedPackages, getPackageNamesUsedInFeedTriggers } from \"./triggerPackageRelations\";\nexport interface RelatedTriggersDependencies {\n spaceId: string;\n projectSlug: string;\n projectTriggers: TriggerResource[];\n deploymentActionSlug: string;\n}\ninterface CalloutReferencedPackageFeedTriggerConnectionsProps {\n dependencies: RelatedTriggersDependencies;\n packageReferences: PackageReference[];\n displayAvailableTriggerCallout?: boolean;\n}\nexport function CalloutReferencedPackageFeedTriggerConnections({ dependencies, packageReferences, displayAvailableTriggerCallout }: CalloutReferencedPackageFeedTriggerConnectionsProps) {\n const { spaceId, projectSlug } = dependencies;\n const relatedTriggers = useMemo(() => getRelatedFeedTriggersForReferencedPackages(dependencies, packageReferences), [dependencies, packageReferences]);\n const packageNames = getPackageNamesUsedInFeedTriggers(relatedTriggers, packageReferences);\n // We only want to display the available trigger callout when it applies\n // to the enabled package selector feeds and when it won't clutter the UI.\n // In practice this normally means when the main package selection for a\n // step is a list of packages.\n if (relatedTriggers.length === 0 && displayAvailableTriggerCallout) {\n return ;\n }\n // No package name means it's a primary package which are handled separately\n if (packageNames.length === 0) {\n return <>;\n }\n const uniqueTriggerCount = [...new Set(relatedTriggers.map((trigger) => trigger.Id))].length;\n if (uniqueTriggerCount === 1) {\n const triggerId = relatedTriggers[0].Id;\n if (packageNames.length === 1) {\n return The package {strongPackageName(packageNames[0])} is connected to an external feed trigger.} spaceId={spaceId} projectSlug={projectSlug}/>;\n }\n else {\n return The {createPackageNameSentence(packageNames)} packages are connected to an external feed trigger.} spaceId={spaceId} projectSlug={projectSlug}/>;\n }\n }\n else {\n if (packageNames.length === 1) {\n return The package {strongPackageName(packageNames[0])} is connected to external feed triggers.} spaceId={spaceId} projectSlug={projectSlug}/>;\n }\n else {\n return The {createPackageNameSentence(packageNames)} packages are connected to external feed triggers.} spaceId={spaceId} projectSlug={projectSlug}/>;\n }\n }\n}\nconst createPackageNameSentence = (packageNames: string[]) => {\n switch (packageNames.length) {\n case 0:\n return <>;\n case 1:\n return <>{strongPackageName(packageNames[0])};\n case 2:\n return (<>\n {strongPackageName(packageNames[0])} and {strongPackageName(packageNames[1])}\n );\n default:\n const lastPackageName = packageNames.pop();\n const secondLastPackageName = packageNames.pop();\n return (<>\n {packageNames.map((name) => strongPackageName(name, true))} {strongPackageName(secondLastPackageName!)} and {strongPackageName(lastPackageName!)}\n );\n }\n};\nconst strongPackageName = (name: string, withComma: boolean = false) => {\n return (\n {name}\n {withComma && <>,}\n );\n};\n","import { RadioButton, RadioButtonGroup } from \"@octopusdeploy/design-system-components\";\nimport * as React from \"react\";\nexport interface ScriptSourceSelectorComponentProps {\n scriptSourceValue: string | null;\n onScriptSourceChanged(scriptSource: string): void;\n getFieldError?(): string;\n accessibleName?: string;\n}\nexport function ScriptSourceSelectorComponent(props: ScriptSourceSelectorComponentProps) {\n return ( props.onScriptSourceChanged(val)} error={props.getFieldError?.()}>\n \n \n \n );\n}\nexport default ScriptSourceSelectorComponent;\n","import { css } from \"@emotion/css\";\nimport type { PopoverPlacement } from \"@octopusdeploy/design-system-components\";\nimport { PopoverBasicHelp } from \"@octopusdeploy/design-system-components\";\nimport { space } from \"@octopusdeploy/design-system-tokens\";\nimport { ScriptingLanguage } from \"@octopusdeploy/octopus-server-client\";\nimport { links } from \"@octopusdeploy/portal-routes\";\nimport React from \"react\";\nimport { useAnalyticsViewHelpDispatch } from \"~/analytics/Analytics\";\nimport { repository } from \"~/clientInstance\";\nimport ExternalVideoLink from \"~/components/Navigation/ExternalLink/ExternalVideoLink\";\nimport ExternalLink from \"~/components/Navigation/ExternalLink/index\";\nimport InternalLink from \"../Navigation/InternalLink\";\nimport lifecyclesImage from \"./assets/img-lifecycle.svg\";\nexport const TargetTagsProcessEditorContextualHelp = ({ position = \"right-start\" }: {\n position?: PopoverPlacement;\n}) => {\n const dispatchAction = useAnalyticsViewHelpDispatch();\n const description = (<>\n
    \n During a deployment, this step will run on targets matching any of these target tags.\n
    \n
    \n Specify one or more tags here, and add them to {/* eslint-disable-next-line @typescript-eslint/no-non-null-assertion */}\n \n Deployment Targets\n {\" \"}\n later.\n
    \n );\n const onOpen = () => {\n dispatchAction(\"View Contextual Help Popover\", { context: \"Target Tags\" });\n };\n const link1 = Video (4 min);\n const link2 = Learn more;\n return ;\n};\nexport const TargetTagsNewDeploymentTargetContextualHelp = ({ position = \"right-start\" }: {\n position?: PopoverPlacement;\n}) => {\n const description = (
    \n Deployment and runbooks processes uses target tags to select deployment targets at run time.\n
    );\n const link1 = Video (4 min);\n const link2 = Learn more;\n return ;\n};\nexport const RollingDeploymentContextualHelp = ({ position = \"right-start\" }: {\n position?: PopoverPlacement;\n}) => {\n const dispatchAction = useAnalyticsViewHelpDispatch();\n const description = (
    \n Rolling deployments let you slowly roll out a release by deploying to each target one-by-one, instead of all targets at once. In load balanced scenarios, this reduces overall downtime.\n
    );\n const link1 = Learn more;\n const onOpen = () => {\n dispatchAction(\"View Contextual Help Popover\", { context: \"Rolling Deployment\" });\n };\n return ;\n};\nexport const WindowSizeContextualHelp = ({ position = \"right-start\" }: {\n position?: PopoverPlacement;\n}) => {\n const dispatchAction = useAnalyticsViewHelpDispatch();\n const description = (<>\n
    \n Window size controls how many deployment targets can be deployed to at once, e.g:\n
    \n\n
      \n
    • \n A window size of 1 will deploy to a single target at a time. Octopus will wait for the step to finish running on target A before starting on target B\n
    • \n
    • \n A window size of 3 will deploy to three targets at a time. Octopus will wait for the step to finish running on targets A, B or C before starting on target D\n
    • \n
    \n );\n const link1 = Learn more;\n const onOpen = () => {\n dispatchAction(\"View Contextual Help Popover\", { context: \"Window Size\" });\n };\n return ;\n};\nexport const LifecycleContextualHelp = ({ position = \"right-start\" }: {\n position?: PopoverPlacement;\n}) => {\n const dispatchAction = useAnalyticsViewHelpDispatch();\n const description = (<>\n
    \n \n
    \n
    \n Lifecycles give you control over the way releases of your software are promoted between your environments.\n
    \n );\n const link1 = Video (4 min);\n const link2 = Learn more;\n const onOpen = () => {\n dispatchAction(\"View Contextual Help Popover\", { context: \"Lifecycle\" });\n };\n return ;\n};\nexport const CloudConnectionsContextualHelp = ({ position = \"right-start\" }: {\n position?: PopoverPlacement;\n}) => {\n const dispatchAction = useAnalyticsViewHelpDispatch();\n const description = (<>\n
    \n Cloud connections are stored as project variables. This makes those credentials available across your entire project. Additionally, cloud targets can be discoverable at deployment time.\n
    \n
    Use project variables to scope your variables to environments and more.
    \n );\n const link1 = Learn more;\n const onOpen = () => {\n dispatchAction(\"View Contextual Help Popover\", { context: \"Cloud Connections\" });\n };\n return ;\n};\nexport const WorkerPoolsContextualHelp = ({ position = \"right-start\" }: {\n position?: PopoverPlacement;\n}) => {\n const dispatchAction = useAnalyticsViewHelpDispatch();\n const description = (
    \n When a task is assigned to a worker pool, the task will be executed by one of the workers in the worker pool you've configured.\n
    );\n const link1 = Video (7 min);\n const link2 = Learn more;\n const onOpen = () => {\n dispatchAction(\"View Contextual Help Popover\", { context: \"Worker Pools\" });\n };\n return ;\n};\nexport const WorkerPoolsVariableContextualHelp = ({ position = \"top-start\" }: {\n position?: PopoverPlacement;\n}) => {\n const dispatchAction = useAnalyticsViewHelpDispatch();\n const description = (<>\n
    \n It’s a common practice to use different worker pools for different environments. This enables scenarios where workers are used for authentication (e.g. AWS EC2 instance roles) or network segregation (e.g. a jump box used to access a\n database).\n
    \n );\n const onOpen = () => {\n dispatchAction(\"View Contextual Help Popover\", { context: \"Worker Pools Variable\" });\n };\n return ;\n};\nexport const DeploymentTargetsContextualHelp = ({ position = \"right-start\" }: {\n position?: PopoverPlacement;\n}) => {\n const dispatchAction = useAnalyticsViewHelpDispatch();\n const description = (<>\n
    \n Deployment targets are the physical and virtual machines and cloud services that your applications are deployed to.\n
    \n\n
    You can manage your deployment targets in Infrastructure.
    \n );\n const link1 = Video (5 min);\n const link2 = Learn more;\n const onOpen = () => {\n dispatchAction(\"View Contextual Help Popover\", { context: \"Deployment Targets\" });\n };\n return ;\n};\nexport const GitResourceReleaseSelectionContextualHelp = ({ position = \"right-start\" }: {\n position?: PopoverPlacement;\n}) => {\n const dispatchAction = useAnalyticsViewHelpDispatch();\n const description =
    The commit at the tip of this branch or tag will be snapshotted and used in all deployments.
    ;\n const onOpen = () => {\n dispatchAction(\"View Contextual Help Popover\", { context: \"Git resource release selection\" });\n };\n return ;\n};\nexport const GitResourceReleaseGitReferenceContextualHelp = ({ position = \"right-start\" }: {\n position?: PopoverPlacement;\n}) => {\n const dispatchAction = useAnalyticsViewHelpDispatch();\n const description =
    We’ve snapshotted this commit, and it will be used in all deployments of this release.
    ;\n const onOpen = () => {\n dispatchAction(\"View Contextual Help Popover\", { context: \"Git resource release git reference\" });\n };\n return ;\n};\nexport const GitResourcePathContextualHelp = ({ position = \"right-start\" }: {\n position?: PopoverPlacement;\n}) => {\n const dispatchAction = useAnalyticsViewHelpDispatch();\n const onOpen = () => {\n dispatchAction(\"View Contextual Help Popover\", { context: \"Git resource path\" });\n };\n const description = (<>\n
    Files included in a glob pattern will be applied with a single apply command.
    \n
    If you’ve used semicolons to specify multiple paths, we’ll apply each path separately and in order from left to right.
    \n
    Octopus won’t wait for objects to be fully created or updated before moving on to the next file.
    \n );\n return ;\n};\nexport const InlineScriptEditorContextualHelp = ({ position = \"right-start\", isPowerShellOnly, syntax }: {\n position?: PopoverPlacement;\n isPowerShellOnly: boolean;\n syntax: ScriptingLanguage;\n}) => {\n const dispatchAction = useAnalyticsViewHelpDispatch();\n const description = (
    \n Scripts can contain package references below and variables can be added by the Insert a variable button.\n Script modules included in this project\n {isPowerShellOnly || syntax === ScriptingLanguage.PowerShell ? (<>\n will be automatically imported.\n ) : (<>\n can be imported into your script.\n )}\n
    );\n const onOpen = () => {\n dispatchAction(\"View Contextual Help Popover\", { context: \"Inline Script Editor\" });\n };\n return ;\n};\nexport const ExecutionContainerImageContextualHelp = ({ position = \"right-start\" }: {\n position?: PopoverPlacement;\n}) => {\n const dispatchAction = useAnalyticsViewHelpDispatch();\n const description = (<>\n
    \n To make life easier, we’ve published images to a DockerHub repository (octopusdeploy/worker-tools) that contain many common deployment tools. We regularly publish updates with\n the latest versions of the contained tools.\n
    \n
    \n Find out which image you can use.\n
    \n );\n const onOpen = () => {\n dispatchAction(\"View Contextual Help Popover\", { context: \"Execution Container Image\" });\n };\n return ;\n};\nexport const KubernetesAgentTargetTagsContextualHelp = ({ position = \"right-start\" }: {\n position?: PopoverPlacement;\n}) => {\n const description =
    Your deployment process will use the same target tag to select and deploy to this Kubernetes cluster at run time.
    ;\n return ;\n};\nexport const CloudTargetDiscoveryContextualHelp = ({ position = \"bottom-start\" }: {\n position?: PopoverPlacement;\n}) => {\n const dispatchAction = useAnalyticsViewHelpDispatch();\n const description = (
    \n At deployment time, Octopus will dynamically create deployment targets for steps that use Target Discovery. If you haven’t already, please follow this setup guide to make your\n targets discoverable.\n
    );\n const onOpen = () => {\n dispatchAction(\"View Contextual Help Popover\", { context: \"Execution Container Image\" });\n };\n return ;\n};\nconst listStyles = css({\n listStyleType: \"disc\",\n listStylePosition: \"inside\",\n marginLeft: space[12],\n color: \"inherit\",\n});\nconst stylingContainerForPopoverBetweenText = css({\n position: \"relative\",\n bottom: \"-6px\",\n display: \"inline-block\",\n \"& > div > div\": {\n marginLeft: \"0\",\n },\n});\n","/* eslint-disable @typescript-eslint/no-non-null-assertion */\nimport { css } from \"@emotion/css\";\nimport { PopoverBasicHelp } from \"@octopusdeploy/design-system-components\";\nimport { space, themeTokens } from \"@octopusdeploy/design-system-tokens\";\nimport { links } from \"@octopusdeploy/portal-routes\";\nimport React from \"react\";\nimport { repository } from \"~/clientInstance\";\nimport ExternalLink from \"../Navigation/ExternalLink\";\nimport InternalLink from \"../Navigation/InternalLink\";\nexport default function PackageSelectorPopover() {\n return (\n
    \n You can upload packages directly to the{\" \"}\n \n Octopus Built-in Package Repository\n \n , or source them using{\" \"}\n \n External Feeds\n \n .\n
    \n
    \n
    \n
    Learn more:
    \n
      \n
    • \n \n Packaging applications\n \n
    • \n
    • \n \n Dynamically selecting packages at deployment time\n \n
    • \n
    \n
    \n
    }/>);\n}\nconst styles = {\n learnMoreSection: css({\n ul: {\n margin: 0,\n },\n li: {\n listStyleType: \"disc\",\n listStylePosition: \"outside\",\n marginLeft: space[24],\n color: themeTokens.color.text.link.default,\n },\n }),\n};\n","/* eslint-disable @typescript-eslint/no-non-null-assertion */\n/* eslint-disable @typescript-eslint/no-explicit-any */\nimport { css, cx } from \"@emotion/css\";\nimport { Callout } from \"@octopusdeploy/design-system-components\";\nimport { fontSize, fontWeight, space } from \"@octopusdeploy/design-system-tokens\";\nimport type { ActionTemplateParameterResource, FeedResource, PackageReference, PackageReferenceProperties } from \"@octopusdeploy/octopus-server-client\";\nimport { feedTypeSupportsExtraction, PackageAcquisitionLocation, PackageSelectionMode } from \"@octopusdeploy/octopus-server-client\";\nimport * as _ from \"lodash\";\nimport * as React from \"react\";\nimport type { RunOn } from \"~/areas/projects/components/Process/types\";\nimport DeferredPackageSelector from \"~/components/PackageSelector/DeferredPackageSelector\";\nimport PackageSelectorPopover from \"~/components/PackageSelector/PackageSelectorPopover\";\nimport { required } from \"~/components/form\";\nimport { BoundStringCheckbox } from \"~/primitiveComponents/form/Checkbox/StringCheckbox\";\nimport { DebounceText } from \"~/primitiveComponents/form/Text/Text\";\nimport Note from \"../../../primitiveComponents/form/Note/Note\";\nimport type { DataBaseComponentState } from \"../../DataBaseComponent\";\nimport { DataBaseComponent } from \"../../DataBaseComponent\";\nimport OkDialogLayout from \"../../DialogLayout/OkDialogLayout\";\nimport ExternalLink from \"../../Navigation/ExternalLink/ExternalLink\";\nimport PackageDownloadOptions from \"../../PackageDownloadOptions/PackageDownloadOptions\";\nimport isBound from \"../../form/BoundField/isBound\";\nimport { GeneratePackageNameFromId } from \"../commonActionHelpers\";\ninterface PackageReferenceProps {\n packageReference: ScriptPackageReference;\n runOn?: RunOn;\n feeds: FeedResource[];\n localNames: string[];\n projectId: string;\n parameters?: ActionTemplateParameterResource[];\n onChange(PackageReference: ScriptPackageReference): boolean;\n refreshFeeds(): Promise;\n}\ninterface ScriptPackageReferenceState extends DataBaseComponentState {\n packageReferenceId: string;\n name: string;\n packageId: string;\n version?: string;\n feedId: string;\n extract: string;\n purpose: string;\n acquisitionLocation: string;\n originalName: string;\n originalPackageId: string;\n showNameDefaultedMessage: boolean;\n showNameChangeWarning: boolean;\n packageSelectionMode: PackageSelectionMode;\n packageParameterName: string;\n}\nexport type ScriptPackageReference = PackageReference;\nexport interface ScriptPackageProperties extends PackageReferenceProperties {\n Extract: string;\n PackageParameterName?: string;\n SelectionMode?: PackageSelectionMode;\n Purpose?: string;\n}\nexport class ScriptPackageReferenceDialog extends DataBaseComponent {\n constructor(props: PackageReferenceProps) {\n super(props);\n this.state = {\n packageReferenceId: this.props.packageReference.Id,\n name: this.props.packageReference.Name!,\n packageId: this.props.packageReference.PackageId,\n version: this.props.packageReference.Version,\n feedId: this.props.packageReference.FeedId,\n extract: this.props.packageReference.Properties[\"Extract\"],\n purpose: this.props.packageReference.Properties[\"Purpose\"] || \"\",\n acquisitionLocation: this.props.packageReference.AcquisitionLocation,\n originalName: this.props.packageReference.Name!,\n originalPackageId: this.props.packageReference.PackageId,\n showNameDefaultedMessage: false,\n showNameChangeWarning: false,\n packageSelectionMode: this.props.packageReference.Properties[\"SelectionMode\"] || PackageSelectionMode.Immediate,\n packageParameterName: this.props.packageReference.Properties[\"PackageParameterName\"]!,\n };\n }\n render() {\n const feed = _.find(this.props.feeds, (f) => f.Id === this.state.feedId);\n const showExtract = this.shouldShowExtractOption(this.state.feedId);\n return (\n {this.props.packageReference && (
    \n
    \n Package Feed\n \n
    \n this.onPackageIdChange(packageId)} onFeedIdChange={(feedId) => this.onFeedIdChange(feedId)} onPackageVersionChange={(version) => this.onPackageVersionChange(version)} localNames={this.props.localNames} projectId={this.props.projectId} feeds={this.props.feeds} refreshFeeds={this.props.refreshFeeds} \n // Deferred package selection properties\n parameters={this.props.parameters} packageSelectionMode={this.state.packageSelectionMode} onPackageSelectionModeChange={(packageSelectionMode) => this.onPackageSelectionModeChange(packageSelectionMode)} packageParameterName={this.state.packageParameterName} onPackageParameterChange={(packageParameter) => this.onPackageParameterChange(packageParameter)}/>\n {this.state.showNameChangeWarning && (\n If you have external dependencies on this field (custom scripts, build-server plugins, external feed triggers, etc) these will need to be updated.\n )}\n this.onNameChange(name)} validate={required(\"Please supply a Name\")}/>\n \n Provide a unique name to identify the package reference. Learn about package names.\n \n
    \n {feed?.PackageAcquisitionLocationOptions?.length &&
    Package Acquisition
    }\n this.setState({ acquisitionLocation: acquisitionLocation! })} runOn={this.props.runOn} showNotAcquiredOption={true} feed={feed} projectId={this.props.projectId} localNames={this.props.localNames}/>\n {showExtract && (\n this.setState({ extract })}/>\n \n Learn about accessing package references from a custom script.\n \n )}\n
    )}\n
    );\n }\n save = () => {\n if (this.state.packageSelectionMode === PackageSelectionMode.Immediate) {\n if (!this.state.name) {\n this.setValidationErrors(\"Please enter a name\");\n return false;\n }\n if (!this.state.packageId) {\n this.setValidationErrors(\"Please select a package ID\");\n return false;\n }\n if (!this.state.feedId) {\n this.setValidationErrors(\"Please select a feed ID\");\n return false;\n }\n }\n else {\n if (!this.state.packageParameterName) {\n this.setValidationErrors(\"Please select a package parameter\");\n return false;\n }\n }\n const packageReference = {\n Id: this.state.packageReferenceId,\n Name: this.state.name,\n PackageId: this.state.packageId,\n Version: this.state.version,\n FeedId: this.state.feedId,\n AcquisitionLocation: this.state.acquisitionLocation,\n Properties: {\n Extract: this.state.extract,\n SelectionMode: this.state.packageSelectionMode,\n PackageParameterName: this.state.packageParameterName,\n Purpose: this.state.purpose,\n },\n };\n return this.props.onChange(packageReference);\n };\n onPackageSelectionModeChange = (packageSelectionMode: PackageSelectionMode) => {\n this.setState({\n packageSelectionMode,\n packageParameterName: \"\",\n });\n };\n onPackageParameterChange = (packageParameter: string) => {\n let name = this.state.name;\n let showNameChangeWarning = false;\n if (!!packageParameter && !name) {\n name = GeneratePackageNameFromId(packageParameter);\n showNameChangeWarning = this.shouldShowNameChangeWarning(name);\n }\n this.setState({\n packageId: null!,\n name,\n packageParameterName: packageParameter,\n showNameChangeWarning,\n });\n };\n onPackageIdChange = (packageId: string) => {\n let name = this.state.name;\n let showNameDefaultedMessage = false;\n let showNameChangeWarning = false;\n // If `Name` was the default value (the previous package ID), then update it to the new package ID\n if (!!packageId && !isBound(packageId) && !(!!this.state.originalName && this.state.originalName !== GeneratePackageNameFromId(this.state.originalPackageId))) {\n name = GeneratePackageNameFromId(packageId);\n showNameChangeWarning = this.shouldShowNameChangeWarning(name);\n showNameDefaultedMessage = !showNameChangeWarning; // Showing both the info and the warning gets a bit noisy\n }\n this.setState({\n packageId,\n name,\n showNameDefaultedMessage,\n showNameChangeWarning,\n });\n };\n onPackageVersionChange = (version: string | undefined) => {\n this.setState({ version });\n };\n onFeedIdChange = (feedId: string) => {\n this.setState({ feedId });\n // If the feed doesn't support extracting packages, then reset extract to \"False\"\n if (!this.shouldShowExtractOption(feedId)) {\n this.setState({ extract: \"False\" });\n }\n };\n onNameChange = (name: string) => {\n this.setState({\n name,\n showNameChangeWarning: this.shouldShowNameChangeWarning(name),\n });\n };\n shouldShowExtractOption = (feedId: string) => {\n const feed = _.find(this.props.feeds, (f) => f.Id === feedId);\n // Show the option to extract if the feed-type supports it\n // or if the feed is bound to a variable.\n return (!feed || feedTypeSupportsExtraction(feed.FeedType)) && this.state.acquisitionLocation !== PackageAcquisitionLocation.NotAcquired;\n };\n shouldShowNameChangeWarning = (name: string) => {\n // If the name is changing from a previous value, then we'll show a warning regarding external dependencies\n return !!name && !!this.state.originalName && name !== this.state.originalName;\n };\n static displayName = \"ScriptPackageReferenceDialog\";\n}\nconst styles = {\n subTitle: css({\n fontWeight: fontWeight[\"600\"],\n fontSize: fontSize[\"base\"],\n marginBottom: space[16],\n \"& span\": {\n marginRight: space[8],\n },\n \"&.noMargin\": {\n marginBottom: 0,\n },\n }),\n};\n","/* eslint-disable @typescript-eslint/no-non-null-assertion */\n/* eslint-disable @typescript-eslint/init-declarations */\n/* eslint-disable @typescript-eslint/consistent-type-assertions */\nimport { ActionButton, Tooltip } from \"@octopusdeploy/design-system-components\";\nimport type { ScriptProperties } from \"@octopusdeploy/legacy-action-properties\";\nimport type { ActionProperties, FeedResource, PackageReference, WorkerPoolResource } from \"@octopusdeploy/octopus-server-client\";\nimport { ActionExecutionLocation, GetNamedPackageReferences, GetPackageVariableNames, GetPrimaryPackageReference, InitialisePrimaryGitDependency, InitialisePrimaryPackageReference, PackageAcquisitionLocation, PackageRequirement, PackageSelectionMode, ProcessType, RemovePrimaryGitDependency, RemovePrimaryPackageReference, ScriptingLanguage, SetPrimaryPackageReference, SpecialVariables, } from \"@octopusdeploy/octopus-server-client\";\nimport * as _ from \"lodash\";\nimport * as React from \"react\";\nimport { useOptionalProcessContext } from \"~/areas/projects/components/Process/Contexts/ProcessContext\";\nimport { useGitCredentialsFromContext, useRefreshGitCredentialsFromContext } from \"~/areas/projects/components/Process/Contexts/ProcessGitCredentialsContextProvider\";\nimport { TargetRoles } from \"~/areas/projects/components/Process/types\";\nimport { CalloutModifiedFeedTriggerConnections } from \"~/areas/projects/components/Triggers/ProcessCallouts/CalloutModifiedFeedTriggerConnections\";\nimport { CalloutReferencedPackageFeedTriggerConnections } from \"~/areas/projects/components/Triggers/ProcessCallouts/CalloutReferencedPackageFeedTriggerConnections\";\nimport { buildRelatedTriggerDependencies } from \"~/areas/projects/components/Triggers/ProcessCallouts/triggerPackageRelations\";\nimport { useOptionalProjectContext } from \"~/areas/projects/context\";\nimport { getChangesToPackageReference } from \"~/components/Actions/getChangesToPackageReference\";\nimport ScriptSourceSelectorComponent from \"~/components/Actions/script/scriptSourceSelectorComponent\";\nimport { BaseComponent } from \"~/components/BaseComponent/BaseComponent\";\nimport { WorkerPoolChip } from \"~/components/Chips\";\nimport type { Language, TextFormat } from \"~/components/CodeEditor/CodeEditor\";\nimport { CodeEditor } from \"~/components/CodeEditor/CodeEditor\";\nimport { InlineScriptEditorContextualHelp } from \"~/components/ContextualHelp/ContextualHelpSnippets\";\nimport { GitRepositorySourceSelector, isProjectRepositoryGitSourceSupported } from \"~/components/GitRepositorySource/GitRepositorySourceSelector\";\nimport ExternalLink from \"~/components/Navigation/ExternalLink/ExternalLink\";\nimport { default as PackageDownloadOptions } from \"~/components/PackageDownloadOptions/PackageDownloadOptions\";\nimport DeferredPackageSelector from \"~/components/PackageSelector/DeferredPackageSelector\";\nimport PackageSelector from \"~/components/PackageSelector/PackageSelector\";\nimport { SupportedLanguage } from \"~/components/ScriptingLanguageSelector/ScriptingLanguageSelector\";\nimport { ExpandableFormSection, FormSectionHeading, Summary } from \"~/components/form\";\nimport { CardFill } from \"~/components/form/Sections/ExpandableFormSection\";\nimport { VariableLookupText } from \"~/components/form/VariableLookupText\";\nimport { FormSection } from \"~/components/form/index\";\nimport Note from \"~/primitiveComponents/form/Note/Note\";\nimport { codeEditorVariablesList } from \"~/utils/ScriptIntellisense/scriptIntellisense\";\nimport { ProcessFeedLookup, useFeedsFromContext, useRefreshFeedsFromContext } from \"../../../areas/projects/components/Process/Contexts/ProcessFeedsContextProvider\";\nimport ListTitle from \"../../../primitiveComponents/dataDisplay/ListTitle/ListTitle\";\nimport DialogOpener from \"../../Dialog/DialogOpener\";\nimport { RemoveItemsList } from \"../../RemoveItemsList/RemoveItemsList\";\nimport { DisplayFeedName } from \"../DisplayFeedName\";\nimport Roles from \"../Roles\";\nimport type { ActionSummaryProps } from \"../actionSummaryProps\";\nimport type { ActionWithDirtyState, ActionWithFeeds, ActionWithGitRepositorySource } from \"../commonActionHelpers\";\nimport pluginRegistry from \"../pluginRegistry\";\nimport type { ActionEditProps } from \"../pluginRegistry\";\nimport { useScriptActionContext } from \"./ScriptActionContext\";\nimport type { ScriptPackageProperties, ScriptPackageReference } from \"./ScriptPackageReferenceDialog\";\nimport { ScriptPackageReferenceDialog } from \"./ScriptPackageReferenceDialog\";\nimport type { WithScriptActionContextInjectedProps } from \"./withScriptActionContext\";\nexport interface ScriptActionSummaryProps extends ActionSummaryProps {\n workerPool?: WorkerPoolResource;\n workerPoolVariable?: string | null;\n}\ninterface ScriptActionSummaryState {\n feedNames: Map;\n}\nclass ScriptActionSummarySelector extends BaseComponent {\n constructor(props: ScriptActionSummaryProps) {\n super(props);\n }\n render() {\n return ;\n }\n static displayName = \"ScriptActionSummarySelector\";\n}\nclass ScriptActionSummary extends BaseComponent {\n constructor(props: ScriptActionSummaryProps) {\n super(props);\n }\n render() {\n const runsOnServer = this.props.properties[SpecialVariables.Action.RunOnServer] === \"true\";\n let summary;\n if (this.props.workerPool || this.props.workerPoolVariable) {\n const poolDescription = this.props.workerPoolVariable ? (<>\n Run a script on a worker from the pool selected via the {this.props.workerPoolVariable} variable\n ) : (<>\n Run a script on a worker from the pool\n );\n summary = (<>\n {poolDescription}\n {this.props.targetRolesAsCSV && (<>\n {\" \"}\n on behalf of targets with \n )}\n );\n }\n else {\n summary = runsOnServer ? (<>\n Run a script on the Octopus Server\n {this.props.targetRolesAsCSV && (<>\n {\" \"}\n on behalf of targets with \n )}\n ) : (<>\n Run a script{\" \"}\n {this.props.targetRolesAsCSV ? (<>\n across targets with \n ) : (<>on the deployment target)}\n );\n }\n const packageContainingScript = GetPrimaryPackageReference(this.props.packages);\n const gitRepositoryContainingScript = this.props.properties[\"Octopus.Action.Script.ScriptSource\"] === \"GitRepository\";\n const packageReferences = GetNamedPackageReferences(this.props.packages!);\n if (!!packageContainingScript) {\n const packageIsDeferred = packageContainingScript.Properties[\"SelectionMode\"] === PackageSelectionMode.Deferred;\n summary = (<>\n {summary}\n
    \n {\" \"}\n {this.props.properties[\"Octopus.Action.Script.ScriptParameters\"] || \"No script arguments specified\"}}>\n {this.props.properties[\"Octopus.Action.Script.ScriptFileName\"] || \"Script\"}\n {\" \"}\n contained in package {!packageContainingScript.PackageId && packageIsDeferred ? {packageContainingScript.Properties[\"PackageParameterName\"]} : this.packageAndFeed(packageContainingScript)}\n {packageReferences.length > 0 ? and {this.packageReferenceSummary(packageReferences)} : \"\"}\n
    \n );\n }\n else if (gitRepositoryContainingScript) {\n summary = (<>\n {summary}\n
    \n {\" \"}\n {this.props.properties[\"Octopus.Action.Script.ScriptParameters\"] || \"No script arguments specified\"}}>\n {this.props.properties[\"Octopus.Action.Script.ScriptFileName\"] || \"Script\"}\n {\" \"}\n from a Git repository\n {packageReferences.length > 0 ? and {this.packageReferenceSummary(packageReferences)} : \"\"}\n
    \n );\n }\n else {\n if (packageReferences.length > 0) {\n summary = (
    \n {summary}. Script {this.packageReferenceSummary(packageReferences)}.\n
    );\n }\n }\n return
    {summary}
    ;\n }\n packageReferenceSummary(packageReferences: PackageReference[]) {\n if (packageReferences.length === 0) {\n return null;\n }\n if (packageReferences.length === 1) {\n return references package {this.packageAndFeed(packageReferences[0])};\n }\n if (packageReferences.length < 3) {\n return (<>\n references packages:\n {packageReferences.map((pkg) => (
    {this.packageAndFeed(pkg)}
    ))}\n );\n }\n return references {packageReferences.length} packages;\n }\n packageAndFeed(pkg: PackageReference) {\n return (\n {pkg.PackageId} {\"from\"} \n );\n }\n static displayName = \"ScriptActionSummary\";\n}\ninterface ScriptActionEditState {\n originalStepPackageRequirement: PackageRequirement;\n editPackageReference: ScriptPackageReference | null;\n editPackageReferenceIndex: number | null;\n serverNames: string[];\n}\ntype ScriptActionEditProps = ActionEditProps & {\n supportedLanguages?: SupportedLanguage;\n};\ntype ScriptActionEditInternalProps = ScriptActionEditProps & ActionWithFeeds & WithScriptActionContextInjectedProps & ActionWithGitRepositorySource & ActionWithDirtyState;\nclass PackageReferenceList extends RemoveItemsList {\n}\nfunction ScriptFilePathExample(props: {\n isProjectGitRepositorySourced: boolean;\n}) {\n if (props.isProjectGitRepositorySourced) {\n return (\n The path to the script file relative to the root of the Git repository.\n
    \n Use the System Variable to reference the directory that stores this project's configuration.\n
    \n e.g. #{Octopus.Project.Git.BasePath}/Scripts/MyScript.sh\n
    );\n }\n else {\n return (\n The path to the script file relative to the root of the Git repository.\n
    \n e.g. Scripts/MyScript.sh\n
    );\n }\n}\n// Note: this is also used in the Azure PowerShell step and the ServiceFabric PowerShell step\nclass ScriptActionEditInternal extends BaseComponent {\n public static defaultProps: Partial = {\n supportedLanguages: SupportedLanguage.All,\n };\n constructor(props: ScriptActionEditInternalProps) {\n super(props);\n const packageAcquisition = props.additionalActions && props.additionalActions.packageAcquisition;\n this.state = {\n serverNames: [],\n originalStepPackageRequirement: packageAcquisition ? packageAcquisition.stepPackageRequirement! : PackageRequirement.LetOctopusDecide,\n editPackageReference: null,\n editPackageReferenceIndex: null,\n };\n }\n async componentDidMount() {\n if (!this.props.properties[\"Octopus.Action.Script.ScriptSource\"]) {\n this.handleScriptSourceChanged(\"Inline\", this.props.feeds, true);\n }\n return this.props.doBusyTask(async () => {\n this.setState({\n serverNames: this.props.scriptActionContext ? await this.props.scriptActionContext.loadVariables() : [],\n });\n });\n }\n handleScriptSourceChanged(val: string, feeds: FeedResource[], initialise: boolean = false) {\n const isRunFromPackage = val === \"Package\";\n const isRunFromGitSource = val === \"GitRepository\";\n const isInline = val === \"Inline\";\n const properties: ActionProperties = { [\"Octopus.Action.Script.ScriptSource\"]: val };\n if (!isInline) {\n if (this.props.properties[\"Octopus.Action.Script.Syntax\"]) {\n properties[\"Octopus.Action.Script.Syntax\"] = null;\n }\n if (this.props.properties[\"Octopus.Action.Script.ScriptBody\"]) {\n properties[\"Octopus.Action.Script.ScriptBody\"] = null;\n }\n }\n if (!isRunFromPackage) {\n this.props.setPackages(RemovePrimaryPackageReference(this.props.packages), initialise);\n }\n if (!isRunFromGitSource) {\n properties[\"Octopus.Action.GitRepository.Source\"] = null;\n this.props.setGitDependencies?.(RemovePrimaryGitDependency(this.props.gitDependencies), false);\n }\n if (isInline) {\n properties[\"Octopus.Action.Script.ScriptParameters\"] = null;\n if (!this.props.properties[\"Octopus.Action.Script.Syntax\"]) {\n properties[\"Octopus.Action.Script.Syntax\"] = ScriptingLanguage.PowerShell;\n }\n if (this.props.properties[\"Octopus.Action.Script.ScriptFileName\"]) {\n properties[\"Octopus.Action.Script.ScriptFileName\"] = null;\n }\n }\n if (isRunFromPackage) {\n this.props.setPackages(InitialisePrimaryPackageReference(this.props.packages, feeds, this.props.processType === ProcessType.Blueprint), initialise);\n }\n if (isRunFromGitSource) {\n const supportsProjectRepository = isProjectRepositoryGitSourceSupported(this.props.project?.PersistenceSettings, this.props.processType);\n if (supportsProjectRepository) {\n properties[\"Octopus.Action.GitRepository.Source\"] = \"Project\";\n this.props.setGitDependencies?.(RemovePrimaryGitDependency(this.props.gitDependencies), false);\n }\n else {\n properties[\"Octopus.Action.GitRepository.Source\"] = \"External\";\n this.props.setGitDependencies?.(InitialisePrimaryGitDependency(this.props.gitDependencies), false);\n }\n }\n this.props.setProperties(properties, initialise);\n // if we are pulling the script from a package we might need to override things\n // if the user has set this step to run before package acquisition\n if (this.props.additionalActions) {\n if (this.state.originalStepPackageRequirement === PackageRequirement.BeforePackageAcquisition) {\n const newValue = isRunFromPackage ? PackageRequirement.LetOctopusDecide : this.state.originalStepPackageRequirement;\n this.props.additionalActions.packageAcquisition.onStepPackageRequirementChanged(newValue);\n }\n }\n }\n scriptSourceIsPackage() {\n return this.props.properties[\"Octopus.Action.Script.ScriptSource\"] && this.props.properties[\"Octopus.Action.Script.ScriptSource\"] === \"Package\";\n }\n scriptSourceSummary() {\n if (this.props.properties[\"Octopus.Action.Script.ScriptSource\"] === \"Inline\") {\n return Summary.default(\"The script is defined below\");\n }\n else if (this.props.properties[\"Octopus.Action.Script.ScriptSource\"] == \"Package\") {\n return Summary.summary(\"The script is contained in a package\");\n }\n else if (this.props.properties[\"Octopus.Action.Script.ScriptSource\"] == \"GitRepository\") {\n return Summary.summary(\"The script is contained in a Git repository\");\n }\n }\n scriptBodySummary() {\n if (!this.props.properties[\"Octopus.Action.Script.ScriptBody\"]) {\n return Summary.placeholder(\"The script body has not been defined\");\n }\n if (this.isPowershellOnly()) {\n return Summary.summary(\"The script body has been defined\");\n }\n const syntax = this.props.properties[\"Octopus.Action.Script.Syntax\"];\n if (syntax === ScriptingLanguage.FSharp) {\n return Summary.summary(\n An F# script has been defined\n );\n }\n else if (syntax === ScriptingLanguage.CSharp) {\n return Summary.summary(\n A C# script has been defined\n );\n }\n return Summary.summary(\n A {syntax} script has been defined\n );\n }\n scriptFileFromPackageSummary() {\n const packageContainingScript = GetPrimaryPackageReference(this.props.packages);\n const fileName = this.props.properties[\"Octopus.Action.Script.ScriptFileName\"];\n const isMissingPackageId = this.props.processType !== ProcessType.Blueprint && !packageContainingScript?.PackageId;\n const isMissingPackageParameter = this.props.processType === ProcessType.Blueprint && !packageContainingScript?.Properties[\"PackageParameterName\"];\n if (isMissingPackageId || isMissingPackageParameter) {\n return Summary.placeholder(\"Select the package containing the script\");\n }\n if (!fileName) {\n return Summary.placeholder(\"Enter the path to the script file\");\n }\n return this.props.processType === ProcessType.Blueprint\n ? Summary.summary(\n {fileName} in package parameter {packageContainingScript.Properties[\"PackageParameterName\"]}\n )\n : Summary.summary(\n {(feed) => (\n {fileName} in package {packageContainingScript.PackageId}{\" \"}\n {packageContainingScript.Version && (\n version {packageContainingScript.Version}\n )}{\" \"}\n from feed {!!feed ? feed.Name : packageContainingScript.FeedId}\n )}\n );\n }\n gitRepositorySourceSummary() {\n if (this.props.properties[\"Octopus.Action.GitRepository.Source\"] == \"Project\") {\n return Summary.summary(\"The repository is configured in version control settings\");\n }\n else {\n return Summary.summary(\"The repository is configured below\");\n }\n }\n handleGitRepositorySourceChanged(val: string, initialise: boolean = false) {\n const properties: Partial = { [\"Octopus.Action.GitRepository.Source\"]: val };\n this.props.setProperties(properties, initialise);\n if (val === \"Project\") {\n this.props.setGitDependencies?.(RemovePrimaryGitDependency(this.props.gitDependencies), false);\n }\n else {\n this.props.setGitDependencies?.(InitialisePrimaryGitDependency(this.props.gitDependencies), false);\n }\n }\n render() {\n const properties = this.props.properties;\n const runOnServer = this.props.properties && this.props.properties[\"Octopus.Action.RunOnServer\"] ? this.props.properties[\"Octopus.Action.RunOnServer\"].toLowerCase() === \"true\" : false;\n const localNames = _.concat(this.props.localNames ? this.props.localNames : [], this.packageVariableNames());\n const parameters = this.props.parameters || [];\n const editPackageReferenceDialog = (\n this.savePackageReference(packageReference)} refreshFeeds={this.loadFeeds} parameters={parameters}/>\n );\n return (
    \n {editPackageReferenceDialog}\n \n {this.props.isStepFromProcessTemplate ? () : (\n this.handleScriptSourceChanged(val, this.props.feeds)}>\n )}\n\n {properties[\"Octopus.Action.Script.ScriptSource\"] === \"Inline\" && this.inlineScriptFormSections(runOnServer, localNames)}\n {properties[\"Octopus.Action.Script.ScriptSource\"] === \"Package\" && this.packageScriptFormSections(localNames)}\n {properties[\"Octopus.Action.Script.ScriptSource\"] === \"GitRepository\" && this.gitScriptFormSections(localNames)}\n
    );\n }\n inlineScriptFormSections = (runOnServer: boolean, localNames: string[]) => {\n const properties = this.props.properties;\n const packageReferences = GetNamedPackageReferences(this.props.packages) as ScriptPackageReference[];\n const results = codeEditorVariablesList(this.state.serverNames, localNames ?? [], properties[\"Octopus.Action.Script.Syntax\"], \"\");\n const supportedLanguages = this.props.supportedLanguages === SupportedLanguage.All\n ? [ScriptingLanguage.PowerShell, ScriptingLanguage.Bash, ScriptingLanguage.CSharp, ScriptingLanguage.FSharp, ScriptingLanguage.Python]\n : this.props.supportedLanguages === SupportedLanguage.PowerShellAndBash\n ? [ScriptingLanguage.PowerShell, ScriptingLanguage.Bash]\n : this.props.supportedLanguages === SupportedLanguage.PowerShell\n ? [ScriptingLanguage.PowerShell]\n : [ScriptingLanguage.PowerShell];\n return (
    \n }>\n {packageReferences.length > 0 && (\n There are referenced packages. See the documentation for information on consuming packages from your scripts.\n )}\n\n this.props.setProperties({ [\"Octopus.Action.Script.ScriptBody\"]: value })} scriptingLanguageSelectorOptions={{\n supportedLanguages: supportedLanguages,\n onScriptingLanguageChanged: (syntax: ScriptingLanguage | Language | TextFormat) => {\n this.props.setProperties({ [\"Octopus.Action.Script.Syntax\"]: syntax as ScriptingLanguage });\n },\n }} showToolbar={true} showCopyButton={true} showInsertVariableButton={true}/>\n \n {this.packagesFormSection()}\n
    );\n };\n gitScriptFormSections = (localNames: string[]) => {\n const primaryGitDependencyFromProps = this.props.gitDependencies?.find((r) => r.Name === \"\");\n return (<>\n \n \n this.props.setProperties({ [\"Octopus.Action.Script.ScriptFileName\"]: x })} error={this.props.getFieldError(\"Octopus.Action.Script.ScriptFileName\")} label=\"Script file path\"/>\n \n \n \n this.props.setProperties({ [\"Octopus.Action.Script.ScriptParameters\"]: x })} error={this.props.getFieldError(\"Octopus.Action.Script.ScriptParameters\")} multiline={true} label=\"Script parameters\"/>\n {this.isPowershellOnly() ? (\n Parameters expected by the script. Use platform specific calling convention.\n
    \n e.g. -Path #{`{VariableStoringPath}`} for PowerShell\n
    ) : (\n Parameters expected by the script. Use platform specific calling convention.\n
    \n e.g. -Path #{`{VariableStoringPath}`} for PowerShell or #{`{VariableStoringPath}`} for bash\n
    )}\n
    \n {this.packagesFormSection()}\n );\n };\n packageScriptFormSections = (localNamesWithPackageVariables: string[]) => {\n const properties = this.props.properties;\n const primaryPackage = GetPrimaryPackageReference(this.props.packages);\n const primaryPackageFeed = primaryPackage ? _.find(this.props.feeds, (f) => f.Id === primaryPackage.FeedId) : null;\n return (
    \n {this.props.isStepFromProcessTemplate ? () : (\n {this.props.processType === ProcessType.Blueprint ? ( this.props.setPackages(SetPrimaryPackageReference(getChangesToPackageReference(value), this.props.packages))} onPackageParameterChange={(packageParameter) => this.props.setPackages(SetPrimaryPackageReference({ Properties: { ...primaryPackage.Properties, PackageParameterName: packageParameter } }, this.props.packages))} packageId={primaryPackage.PackageId} feedId={primaryPackage.FeedId} feeds={this.props.feeds} localNames={this.props.localNames} onPackageIdChange={(packageId) => this.props.setPackages(SetPrimaryPackageReference({ PackageId: packageId }, this.props.packages))} onFeedIdChange={(feedId) => this.props.setPackages(SetPrimaryPackageReference({ FeedId: feedId }, this.props.packages))} onPackageVersionChange={(version) => this.props.setPackages(SetPrimaryPackageReference({ Version: version }, this.props.packages))} refreshFeeds={this.loadFeeds} packageVersion={primaryPackage.Version} isProcessTemplateProcess={true}/>) : ( this.props.setPackages(SetPrimaryPackageReference({ PackageId: packageId }, this.props.packages))} onFeedIdChange={(feedId) => this.props.setPackages(SetPrimaryPackageReference({ FeedId: feedId }, this.props.packages))} onPackageVersionChange={(version) => this.props.setPackages(SetPrimaryPackageReference({ Version: version }, this.props.packages))} packageIdError={this.props.getFieldError(\"Octopus.Action.Package.PackageId\")} feedIdError={this.props.getFieldError(\"Octopus.Action.Package.FeedId\")} projectId={this.props.projectId} feeds={this.props.feeds} localNames={this.props.localNames} refreshFeeds={this.loadFeeds} relatedTriggersDependencies={buildRelatedTriggerDependencies(this.props.inputDependencies)} modelDirty={this.props.modelDirty}/>)}\n this.props.setPackages(SetPrimaryPackageReference({ AcquisitionLocation: acquisitionLocation }, this.props.packages))} feed={primaryPackageFeed!} runOn={this.props.runOn} projectId={this.props.projectId} localNames={this.props.localNames}/>\n this.props.setProperties({ [\"Octopus.Action.Script.ScriptFileName\"]: x })} error={this.props.getFieldError(\"Octopus.Action.Script.ScriptFileName\")} label=\"Script file name\"/>\n \n The relative path to the script file within the package.\n
    \n e.g. MyScript.ps1 or Scripts\\MyScript.ps1\n
    \n this.props.setProperties({ [\"Octopus.Action.Script.ScriptParameters\"]: x })} error={this.props.getFieldError(\"Octopus.Action.Script.ScriptParameters\")} multiline={true} label=\"Script parameters\"/>\n {this.isPowershellOnly() ? (\n Parameters expected by the script. Use platform specific calling convention.\n
    \n e.g. -Path #{`{VariableStoringPath}`} for PowerShell\n
    ) : (\n Parameters expected by the script. Use platform specific calling convention.\n
    \n e.g. -Path #{`{VariableStoringPath}`} for PowerShell or #{`{VariableStoringPath}`} for bash\n
    )}\n
    )}\n {this.packagesFormSection()}\n
    );\n };\n packagesFormSection = () => {\n const packageReferences = GetNamedPackageReferences(this.props.packages) as ScriptPackageReference[];\n const relatedTriggersDependencies = buildRelatedTriggerDependencies(this.props.inputDependencies);\n return (\n \n Learn more about package references.\n \n this.addPackageReference()}/>]} data={packageReferences} onRow={(p) => this.packageReferenceListItem(p)} onRowTouch={(pkg) => this.editPackageReference(pkg)} onRemoveRow={(pkg) => this.removePackageReference(pkg)}/>\n\n {relatedTriggersDependencies && }\n {relatedTriggersDependencies && }\n );\n };\n packageReferenceSummary = () => {\n const namedPackageReferences = GetNamedPackageReferences(this.props.packages);\n const scriptSourceIsPackage = this.scriptSourceIsPackage();\n if (namedPackageReferences.length === 0) {\n return Summary.placeholder(scriptSourceIsPackage ? \"No additional packages referenced\" : \"No packages referenced\");\n }\n return Summary.summary(`${namedPackageReferences.length} package references`);\n };\n addPackageReference = () => {\n const additionalPackage: ScriptPackageReference = {\n Id: null!,\n Name: null!,\n FeedId: null!,\n PackageId: null!,\n AcquisitionLocation: PackageAcquisitionLocation.Server,\n Properties: { Extract: \"True\" },\n };\n this.setState({ editPackageReference: additionalPackage, editPackageReferenceIndex: null });\n };\n editPackageReference = (pkg: ScriptPackageReference) => {\n this.setState({\n editPackageReference: _.clone(pkg),\n editPackageReferenceIndex: this.props.packages.indexOf(pkg),\n });\n };\n removePackageReference = (pkg: ScriptPackageReference) => {\n const packages = [...this.props.packages];\n packages.splice(packages.indexOf(pkg), 1);\n this.props.setPackages(packages);\n };\n packageReferenceListItem = (pkg: ScriptPackageReference) => {\n return (
    \n {pkg.Name}\n
    \n {pkg.Properties[\"SelectionMode\"] === PackageSelectionMode.Immediate && (\n {(feed) => (\n {pkg.PackageId}{\" \"}\n {pkg.Version && (\n version {pkg.Version}\n )}{\" \"}\n from feed {!!feed ? feed.Name : pkg.FeedId}\n )}\n )}\n {pkg.Properties[\"SelectionMode\"] === PackageSelectionMode.Deferred && Package will be selected by the project}\n \n Extracted: {pkg.Properties.Extract}\n \n
    \n
    );\n };\n savePackageReference(packageReference: ScriptPackageReference) {\n const packageReferences = [...this.props.packages];\n if (this.state.editPackageReferenceIndex === null) {\n packageReferences.push(packageReference);\n }\n else {\n packageReferences[this.state.editPackageReferenceIndex] = packageReference;\n }\n this.props.setPackages(packageReferences);\n this.resetSelectedPackageReference();\n return true;\n }\n resetSelectedPackageReference = () => {\n this.setState({\n editPackageReference: null,\n editPackageReferenceIndex: null,\n });\n };\n packageVariableNames = (): string[] => {\n return _.flatten(GetNamedPackageReferences(this.props.packages).map((pkg) => GetPackageVariableNames(pkg, this.props.feeds)));\n };\n private isPowershellOnly = () => {\n return this.props.supportedLanguages === SupportedLanguage.PowerShell;\n };\n private loadFeeds = async () => {\n await this.props.refreshFeeds();\n };\n private scriptInPackageHelp = () => {\n return Select the package containing your script.;\n };\n private processTemplateScriptInPackageHelp = () => {\n const pkg = GetPrimaryPackageReference(this.props.packages);\n return (\n {this.props.properties[\"Octopus.Action.Script.ScriptParameters\"] || \"No script arguments specified\"}}>\n {this.props.properties[\"Octopus.Action.Script.ScriptFileName\"] || \"Script\"}\n {\" \"}\n from a package bound to the process template parameter {pkg.Properties[\"PackageParameterName\"]}\n );\n };\n static displayName = \"ScriptActionEditInternal\";\n}\nexport function ScriptActionEdit(props: React.PropsWithChildren) {\n const feeds = useFeedsFromContext();\n const refreshFeeds = useRefreshFeedsFromContext();\n const scriptActionContext = useScriptActionContext();\n const gitCredentials = useGitCredentialsFromContext();\n const refreshGitCredentials = useRefreshGitCredentialsFromContext();\n const projectContext = useOptionalProjectContext();\n const processContext = useOptionalProcessContext();\n return ();\n}\npluginRegistry.registerAction({\n actionType: \"Octopus.Script\",\n summary: (properties, targetRolesAsCSV, packages, workerPool, workerPoolVariable, gitDependencies) => (),\n editSections: {\n default: () => <>,\n top: ScriptActionEdit,\n },\n canHaveChildren: (step) => !!step.Properties[SpecialVariables.Action.TargetRoles],\n canBeChild: true,\n executionLocation: ActionExecutionLocation.TargetOrServer,\n targetRoleOption: (action) => TargetRoles.Optional,\n hasPackages: (action) => {\n return action.Properties && action.Properties[\"Octopus.Action.Script.ScriptSource\"] === \"Package\";\n },\n getInitialProperties: () => {\n return {\n OctopusUseBundledTooling: \"False\",\n };\n },\n features: {\n optional: [\"Octopus.Features.ConfigurationTransforms\", \"Octopus.Features.ConfigurationVariables\", \"Octopus.Features.JsonConfigurationVariables\", \"Octopus.Features.SubstituteInFiles\", \"Octopus.Features.SelectPowerShellEditionForWindows\"],\n },\n preferredWorkerPool: (action) => {\n return {\n preferredOperatingSystem: action.Properties[\"Octopus.Action.Script.Syntax\"] === ScriptingLanguage.Bash ? \"Linux\" : \"Windows\",\n requiredTools: [],\n };\n },\n docsLink: \"runScript\",\n});\n","/* eslint-disable @typescript-eslint/consistent-type-assertions */\nimport { RadioButtonGroup, RadioButton } from \"@octopusdeploy/design-system-components\";\nimport { ActionExecutionLocation, SpecialVariables } from \"@octopusdeploy/octopus-server-client\";\nimport * as React from \"react\";\nimport { TargetRoles } from \"~/areas/projects/components/Process/types\";\nimport { BaseComponent } from \"~/components/BaseComponent/BaseComponent\";\nimport { ExpandableFormSection, Summary } from \"~/components/form\";\nimport ExpanderSectionHeading from \"~/components/form/Sections/FormSectionHeading\";\nimport Roles from \"../Roles\";\nimport type { ActionSummaryProps } from \"../actionSummaryProps\";\nimport type { ActionEditProps } from \"../pluginRegistry\";\nimport pluginRegistry from \"../pluginRegistry\";\nclass HealthCheckActionSummary extends BaseComponent {\n render() {\n const healthCheckTypeName = this.humanise(this.props.properties[SpecialVariables.Action.HealthCheck.Type] as string);\n return (
    \n {\" \"}\n Perform a {healthCheckTypeName}{\" \"}\n {this.props.targetRolesAsCSV && (\n for \n )}\n
    );\n }\n private humanise(type: string) {\n switch (type) {\n case \"FullHealthCheck\":\n return \"full health check\";\n case \"ConnectionTest\":\n return \"connection check\";\n }\n return \"check\";\n }\n static displayName = \"HealthCheckActionSummary\";\n}\nclass HealthCheckActionEdit extends BaseComponent {\n componentDidMount() {\n const properties = this.props.properties;\n this.props.setProperties({\n [\"Octopus.Action.HealthCheck.Type\"]: properties[\"Octopus.Action.HealthCheck.Type\"] || \"FullHealthCheck\",\n [\"Octopus.Action.HealthCheck.ErrorHandling\"]: properties[\"Octopus.Action.HealthCheck.ErrorHandling\"] || \"TreatExceptionsAsErrors\",\n [\"Octopus.Action.HealthCheck.IncludeMachinesInDeployment\"]: properties[\"Octopus.Action.HealthCheck.IncludeMachinesInDeployment\"] || \"DoNotAlterMachines\",\n }, true);\n }\n render() {\n const properties = this.props.properties;\n return (
    \n \n \n this.props.setProperties({ [\"Octopus.Action.HealthCheck.Type\"]: val })}>\n \n \n \n \n\n \n this.props.setProperties({ [\"Octopus.Action.HealthCheck.ErrorHandling\"]: val })}>\n \n \n \n \n\n \n \n this.props.setProperties({ [\"Octopus.Action.HealthCheck.IncludeMachinesInDeployment\"]: val })}>\n \n \n \n \n
    );\n }\n static displayName = \"HealthCheckActionEdit\";\n}\npluginRegistry.registerAction({\n actionType: \"Octopus.HealthCheck\",\n summary: (properties, targetRolesAsCSV) => ,\n editSections: { default: HealthCheckActionEdit },\n canHaveChildren: (step) => false,\n canBeChild: false,\n executionLocation: ActionExecutionLocation.AlwaysOnServer,\n canRunOnWorker: false,\n canRunInContainer: false,\n targetRoleOption: (action) => TargetRoles.Required,\n hasPackages: (action) => false,\n canBeRetried: false,\n canUseExecutionTimeouts: false,\n docsLink: \"runHealthCheck\",\n});\n","import { Callout } from \"@octopusdeploy/design-system-components\";\nimport { ActionExecutionLocation, GetPrimaryPackageReference } from \"@octopusdeploy/octopus-server-client\";\nimport * as React from \"react\";\nimport { TargetRoles } from \"~/areas/projects/components/Process/types\";\nimport { TentaclePackageActionEdit } from \"~/components/Actions/tentaclePackage/tentaclePackageAction\";\nimport { BaseComponent } from \"~/components/BaseComponent/BaseComponent\";\nimport { DisplayFeedName } from \"../DisplayFeedName\";\nimport Roles from \"../Roles\";\nimport type { ActionSummaryProps } from \"../actionSummaryProps\";\nimport pluginRegistry from \"../pluginRegistry\";\ninterface WindowsServiceActionSummaryState {\n feedName: string;\n}\nclass WindowsServiceActionSummary extends BaseComponent {\n constructor(props: ActionSummaryProps) {\n super(props);\n }\n render() {\n const pkg = GetPrimaryPackageReference(this.props.packages);\n return pkg ? (
    \n {\"Deploy Windows Service using package\"} {pkg.PackageId} {\"from\"} \n {this.props.targetRolesAsCSV && (\n {\" \"}\n to deployment targets with {\" \"}\n )}\n
    ) : (\n Package was not selected or cannot be found. Please review this step and ensure a valid package is selected.\n );\n }\n static displayName = \"WindowsServiceActionSummary\";\n}\npluginRegistry.registerAction({\n executionLocation: ActionExecutionLocation.AlwaysOnTarget,\n actionType: \"Octopus.WindowsService\",\n summary: (properties, targetRolesAsCSV, packages) => ,\n editSections: { default: TentaclePackageActionEdit },\n canHaveChildren: (step) => true,\n canBeChild: true,\n targetRoleOption: (action) => TargetRoles.Optional,\n hasPackages: (action) => true,\n features: {\n permanent: [\"Octopus.Features.WindowsService\"],\n optional: [\n \"Octopus.Features.ConfigurationTransforms\",\n \"Octopus.Features.ConfigurationVariables\",\n \"Octopus.Features.CustomDirectory\",\n \"Octopus.Features.CustomScripts\",\n \"Octopus.Features.JsonConfigurationVariables\",\n \"Octopus.Features.SubstituteInFiles\",\n \"Octopus.Features.SelectPowerShellEditionForWindows\",\n ],\n initial: [\"Octopus.Features.ConfigurationTransforms\", \"Octopus.Features.ConfigurationVariables\"],\n },\n docsLink: \"deployWindowsServices\",\n});\n","import LookupResourceChip from \"./LookupResourceChip\";\nexport default LookupResourceChip;\n","/* eslint-disable @typescript-eslint/no-non-null-assertion */\nimport type { IIdName } from \"@octopusdeploy/octopus-server-client\";\nimport * as React from \"react\";\nimport { ContextualMissingChip, TeamChip, ChipIcon } from \"~/components/Chips\";\nimport { MultiSelect } from \"~/components/MultiSelect/MultiSelect\";\nimport type { SelectItem } from \"~/components/VirtualListWithKeyboard/SelectItem\";\nimport type { FormFieldProps } from \"~/components/form\";\nimport Lookup from \"../Lookup\";\ninterface TeamMultiSelectProps extends FormFieldProps {\n items: IIdName[];\n canBeDeleted?: (team: IIdName) => boolean;\n label?: string | JSX.Element;\n error?: string;\n descriptionPostfix?: (team: IIdName) => string;\n}\nconst TeamTypedMultiSelect = MultiSelect();\nexport const TeamMultiSelect: React.FC = (props) => {\n const chipRenderer = (r: SelectItem, onRequestDelete: () => void) => {\n return ( element.Id} render={(item) => {\n const onRequestDeleteProp = props.canBeDeleted!(item) ? { onRequestDelete } : {};\n return ;\n }} renderFallback={}/>);\n };\n return ;\n};\nTeamMultiSelect.displayName = \"TeamMultiSelect\"\nTeamMultiSelect.defaultProps = {\n canBeDeleted: (team) => true,\n};\n","import { CircularProgress, RadioButton } from \"@octopusdeploy/design-system-components\";\nimport type { ManualActionProperties } from \"@octopusdeploy/legacy-action-properties\";\nimport type { GetTeamsLookupBffResponseTeam } from \"@octopusdeploy/octopus-server-client\";\nimport { ActionExecutionLocation, ProcessType } from \"@octopusdeploy/octopus-server-client\";\nimport * as React from \"react\";\nimport { useOptionalProcessContext } from \"~/areas/projects/components/Process/Contexts/ProcessContext\";\nimport { TargetRoles } from \"~/areas/projects/components/Process/types\";\nimport { repository } from \"~/clientInstance\";\nimport { BaseComponent } from \"~/components/BaseComponent/BaseComponent\";\nimport { ChipIcon, TeamChip } from \"~/components/Chips/index\";\nimport LookupResourceChip from \"~/components/LookupResourceChip/index\";\nimport { TeamMultiSelect } from \"~/components/MultiSelect/TeamMultiSelect\";\nimport type { SummaryNode } from \"~/components/form\";\nimport { ExpandableFormSection, FormSectionHeading, Note, required, Summary } from \"~/components/form\";\nimport isBound from \"~/components/form/BoundField/isBound\";\nimport { VariableLookupMarkdownEditor } from \"~/components/form/MarkdownEditor/MarkdownEditor\";\nimport { BoundRadioButtonGroup } from \"~/primitiveComponents/form/RadioButton/BoundRadioButtonGroup\";\nimport ParseHelper from \"~/utils/ParseHelper/ParseHelper\";\nimport StringHelper from \"~/utils/StringHelper\";\nimport type { ActionSummaryProps } from \"../actionSummaryProps\";\nimport type { ActionEditProps } from \"../pluginRegistry\";\nimport pluginRegistry from \"../pluginRegistry\";\nconst LookupTeamChip = LookupResourceChip();\nclass ManualActionSummary extends BaseComponent {\n render() {\n return
    Manual intervention
    ;\n }\n static displayName = \"ManualActionSummary\";\n}\ninterface ManualActionEditState {\n teams: GetTeamsLookupBffResponseTeam[];\n}\nfunction ManualActionEdit(props: ActionEditProps) {\n const processContext = useOptionalProcessContext();\n return ();\n}\nclass ManualActionEditInternal extends BaseComponent, ManualActionEditState> {\n constructor(props: ActionEditProps) {\n super(props);\n this.state = {\n teams: [],\n };\n }\n async componentDidMount() {\n await this.props.doBusyTask(async () => {\n const systemOnly = this.props.properties.processType === ProcessType.Blueprint;\n const teams = await repository.Teams.lookupBff([], systemOnly);\n this.setState({ teams: teams });\n if (!this.props.properties[\"Octopus.Action.Manual.BlockConcurrentDeployments\"]) {\n this.props.setProperties({ [\"Octopus.Action.Manual.BlockConcurrentDeployments\"]: \"False\" });\n }\n });\n }\n render() {\n return (
    \n \n \n this.props.setProperties({ [\"Octopus.Action.Manual.Instructions\"]: val })} validate={required(\"Please provide instructions to display during the step\")}/>\n \n \n {this.props.busy ? () : (<>\n this.props.setProperties({ [\"Octopus.Action.Manual.ResponsibleTeamIds\"]: ParseHelper.encodeCSV(val) })}/>\n \n If no teams are specified, all users who have permission to deploy the project will be able to perform the manual step. When one or more teams are specified, as in the case of an approval workflow, then only members of\n those teams will be able to perform the step.\n \n Specifying responsible teams will make the step unable to be skipped.\n )}\n \n \n \n In general only one deployment will execute at any time for each project/environment combination (and tenant if applicable). If this manual intervention step may pause the deployment for a long time period, this option allows\n specifying that another deployment may begin while this step is awaiting intervention.\n \n\n {\n if (StringHelper.isBooleanString(x)) {\n this.props.setProperties({ \"Octopus.Action.Manual.BlockConcurrentDeployments\": StringHelper.toOctopusStringBoolean(x) });\n }\n else {\n this.props.setProperties({ \"Octopus.Action.Manual.BlockConcurrentDeployments\": x });\n }\n }} title=\"Block Deployments\">\n \n \n \n \n
    );\n }\n instructionsSummary(): SummaryNode {\n const instructions = this.props.properties[\"Octopus.Action.Manual.Instructions\"];\n return instructions ? Summary.summary(\"Instructions have been provided\") : Summary.placeholder(\"Instructions have not been provided\");\n }\n teamSummary(): SummaryNode {\n const teams = ParseHelper.parseCSV(this.props.properties[\"Octopus.Action.Manual.ResponsibleTeamIds\"]);\n if (teams.length === 0) {\n return Summary.placeholder(\"All authorized teams\");\n }\n if (this.props.busy) {\n return Summary.placeholder(\"Loading teams...\");\n }\n const chips = teams.map((t) => }/>);\n return Summary.summary(
    {chips}
    );\n }\n blockDeploymentsSummary(): SummaryNode {\n const property = this.props.properties[\"Octopus.Action.Manual.BlockConcurrentDeployments\"];\n if (property === \"\" || property === null) {\n return Summary.placeholder(\"No value has been provided.\");\n }\n if (isBound(property) || !StringHelper.isBooleanString(property)) {\n return Summary.summary(\n Other deployments will be blocked based on the value of {property}.\n );\n }\n const blockConcurrentDeployments = property && /true/i.test(property);\n return Summary.summary(blockConcurrentDeployments ? (\n Other deployments will be prevented while this step is awaiting intervention\n ) : (\n Other deployments will be allowed while this step is awaiting intervention\n ));\n }\n static displayName = \"ManualActionEditInternal\";\n}\npluginRegistry.registerAction({\n executionLocation: ActionExecutionLocation.AlwaysOnServer,\n canRunOnWorker: false,\n canRunInContainer: false,\n actionType: \"Octopus.Manual\",\n summary: (properties, targetRolesAsCSV) => ,\n canHaveChildren: (step) => false,\n canBeChild: true,\n targetRoleOption: (action) => TargetRoles.None,\n hasPackages: (action) => false,\n editSections: { default: ManualActionEdit },\n canBeRetried: false,\n canUseExecutionTimeouts: false,\n docsLink: \"manualInterventionRequired\",\n});\n","import { Callout } from \"@octopusdeploy/design-system-components\";\nimport { links } from \"@octopusdeploy/portal-routes\";\nimport * as React from \"react\";\nimport ExternalLink from \"~/components/Navigation/ExternalLink\";\nimport InternalLink from \"~/components/Navigation/InternalLink\";\ninterface SmtpNeedsConfigurationCalloutProps {\n configured: boolean;\n hasPermissions: boolean;\n}\nexport const SmtpNeedsConfigurationCallout: React.FC = ({ configured, hasPermissions }) => {\n if (configured) {\n return null;\n }\n const text = hasPermissions ? (<>\n You will need to configure SMTP before emails can be sent.\n ) : (<>\n SMTP needs to be configured in this instance before emails can be sent. Contact your Octopus Administrator for more information. Learn More.\n );\n return (\n {text}\n );\n};\nSmtpNeedsConfigurationCallout.displayName = \"SmtpNeedsConfigurationCallout\"\n","import { Collapse } from \"@octopusdeploy/design-system-components\";\nimport React from \"react\";\nimport Note from \"~/primitiveComponents/form/Note/Note\";\nimport styles from \"./style.module.less\";\nexport interface MoreInfoProps {\n showLabel?: string;\n hideLabel?: string;\n}\nconst MoreInfo: React.FC = ({ showLabel = \"Show more information\", hideLabel = \"Hide more information\", children }) => {\n const [expanded, setExpanded] = React.useState(false);\n return (<>\n \n {\n e.preventDefault();\n e.stopPropagation();\n setExpanded(!expanded);\n }}>\n {expanded ? hideLabel : showLabel}\n \n \n \n
    {children}
    \n
    \n );\n};\nMoreInfo.displayName = \"MoreInfo\"\nexport default MoreInfo;\n","import * as React from \"react\";\ninterface EmailLinkProps extends React.HTMLProps {\n emailAddress: string;\n}\nconst EmailLink: React.SFC = (props: EmailLinkProps) => {\n if (props.emailAddress) {\n const href = \"mailto:\" + props.emailAddress;\n return (\n {props.emailAddress}\n );\n }\n else {\n return null;\n }\n};\nEmailLink.displayName = \"EmailLink\"\nexport default EmailLink;\n","import EmailLink from \"./EmailLink\";\nexport default EmailLink;\n","/* eslint-disable @typescript-eslint/no-non-null-assertion */\n/* eslint-disable @typescript-eslint/no-explicit-any */\n/* eslint-disable @typescript-eslint/consistent-type-assertions */\nimport { RadioButtonGroup, RadioButton } from \"@octopusdeploy/design-system-components\";\nimport type { EmailProperties, EmailTeamIdProperties } from \"@octopusdeploy/legacy-action-properties\";\nimport type { GetTeamsLookupBffResponseTeam, SmtpIsConfiguredResource } from \"@octopusdeploy/octopus-server-client\";\nimport { ActionExecutionLocation, EmailPriority, Permission, SpecialVariables } from \"@octopusdeploy/octopus-server-client\";\nimport * as React from \"react\";\nimport { SmtpNeedsConfigurationCallout } from \"~/areas/configuration/components/Smtp/SmtpNeedsConfigurationCallout\";\nimport { TargetRoles } from \"~/areas/projects/components/Process/types\";\nimport { repository } from \"~/clientInstance\";\nimport { BaseComponent } from \"~/components/BaseComponent/BaseComponent\";\nimport { ChipIcon, TeamChip } from \"~/components/Chips\";\nimport LookupResourceChipComponent from \"~/components/LookupResourceChip\";\nimport MoreInfo from \"~/components/MoreInfo/MoreInfo\";\nimport { TeamMultiSelect } from \"~/components/MultiSelect/TeamMultiSelect\";\nimport { isAllowed } from \"~/components/PermissionCheck/PermissionCheck\";\nimport type { SummaryNode } from \"~/components/form\";\nimport { ExpandableFormSection, Summary } from \"~/components/form\";\nimport ExpanderSectionHeading from \"~/components/form/Sections/FormSectionHeading\";\nimport { VariableLookupText } from \"~/components/form/VariableLookupText\";\nimport { BoundRadioButtonGroup } from \"~/primitiveComponents/form/RadioButton/BoundRadioButtonGroup\";\nimport EmailLink from \"~/primitiveComponents/navigation/EmailLink\";\nimport ParseHelper from \"../../../utils/ParseHelper/ParseHelper\";\nimport Targets from \"../Targets\";\nimport type { ActionSummaryProps } from \"../actionSummaryProps\";\nimport type { ActionEditProps } from \"../pluginRegistry\";\nimport pluginRegistry from \"../pluginRegistry\";\nclass TeamsList extends Targets {\n}\nconst LookupTeamChip = LookupResourceChipComponent();\ninterface EmailActionSummaryState {\n teams?: GetTeamsLookupBffResponseTeam[];\n}\nclass EmailActionSummary extends BaseComponent {\n constructor(props: ActionSummaryProps) {\n super(props);\n this.state = {};\n }\n async componentDidMount() {\n const teams = await repository.Teams.lookupBff(this.getTeamIds());\n this.setState({ teams });\n }\n render() {\n const properties = this.props.properties;\n const teamIds = this.getTeamIds();\n return (
    \n Send an email to \n {teamIds && this.state.teams && (\n ( }/>))}/>\n )}\n {properties[SpecialVariables.Action.Email.CC] || properties[SpecialVariables.Action.Email.CCTeamIds] || properties[SpecialVariables.Action.Email.Bcc] || properties[SpecialVariables.Action.Email.BccTeamIds]\n ? \" (as well as CC/BCC)\"\n : null}\n
    );\n }\n private getTeamIds() {\n const toTeamIds = this.props.properties[SpecialVariables.Action.Email.ToTeamIds] as string;\n const teamIds = toTeamIds ? toTeamIds.split(\",\") : [];\n return teamIds;\n }\n static displayName = \"EmailActionSummary\";\n}\ninterface EmailActionEditState {\n teams: GetTeamsLookupBffResponseTeam[];\n bodyHelpExpanded: boolean;\n smtpIsConfigured?: SmtpIsConfiguredResource;\n}\nclass EmailActionEdit extends BaseComponent, EmailActionEditState> {\n constructor(props: ActionEditProps) {\n super(props);\n this.state = {\n teams: [],\n bodyHelpExpanded: false,\n };\n }\n async componentDidMount() {\n await this.props.doBusyTask(async () => {\n const [teams, smtpIsConfigured] = await Promise.all([repository.Teams.lookupBff(), repository.SmtpConfiguration.IsConfigured()]);\n this.setState({\n teams: teams,\n smtpIsConfigured,\n });\n });\n }\n render() {\n const properties = this.props.properties;\n return (
    \n \n \n \n At least one To address or Team must be entered.\n
    }>\n this.props.setProperties({ [\"Octopus.Action.Email.To\"]: val })} error={this.props.getFieldError(\"Octopus.Action.Email.To\")}/>\n this.props.setProperties({ [\"Octopus.Action.Email.ToTeamIds\"]: ParseHelper.encodeCSV(val) })}/>\n \n \n this.props.setProperties({ [\"Octopus.Action.Email.CC\"]: val })}/>\n this.props.setProperties({ [\"Octopus.Action.Email.CCTeamIds\"]: ParseHelper.encodeCSV(val) })}/>\n \n \n this.props.setProperties({ [\"Octopus.Action.Email.Bcc\"]: val })}/>\n this.props.setProperties({ [\"Octopus.Action.Email.BccTeamIds\"]: ParseHelper.encodeCSV(val) })}/>\n \n \n this.props.setProperties({ [\"Octopus.Action.Email.Priority\"]: val as EmailPriority })}>\n \n \n \n \n \n \n this.props.setProperties({ [\"Octopus.Action.Email.Subject\"]: val })} error={this.props.getFieldError(\"Octopus.Action.Email.Subject\")}/>\n \n \n this.props.setProperties({ [\"Octopus.Action.Email.Body\"]: val })}/>\n \n
    \n

    \n Extended template syntax\n

    \n \n Conditional if and unless:
    {\"#{if MyVar}...#{/if}\"}
    \n
    \n
    \n \n Iteration over variable sets or comma-separated values with each:
    {\"#{each mv in MyVar}...#{mv}...#{/each}\"}
    \n
    \n
    \n
    \n this.props.setProperties({ [\"Octopus.Action.Email.IsHtml\"]: val })}>\n \n \n \n
    \n
    );\n }\n toSummary(): SummaryNode {\n return this.emailSummary(\"No recipient addresses set\", \"Octopus.Action.Email.To\", \"Octopus.Action.Email.ToTeamIds\");\n }\n ccSummary(): SummaryNode {\n return this.emailSummary(\"No CC addresses set\", \"Octopus.Action.Email.CC\", \"Octopus.Action.Email.CCTeamIds\");\n }\n bccSummary(): SummaryNode {\n return this.emailSummary(\"No BCC addresses set\", \"Octopus.Action.Email.Bcc\", \"Octopus.Action.Email.BccTeamIds\");\n }\n emailSummary(nothing: string, text: string, keyedTeamProperty: keyof EmailTeamIdProperties): SummaryNode {\n const bcc = (this.props.properties as any)[text];\n const teams = ParseHelper.parseCSV(this.props.properties[keyedTeamProperty]);\n if (!bcc && teams.length === 0) {\n return Summary.placeholder(nothing);\n }\n const chips = teams.map((t) => }/>);\n return Summary.summary(
    \n {bcc} {chips}\n
    );\n }\n subjectSummary(): SummaryNode {\n const val = this.props.properties[\"Octopus.Action.Email.Subject\"];\n return val ? Summary.summary(val) : Summary.placeholder(\"The email subject has not been provided\");\n }\n prioritySummary(): SummaryNode {\n const val = this.props.properties[\"Octopus.Action.Email.Priority\"] || EmailPriority.Normal;\n return val === EmailPriority.Normal ? Summary.default(\"Normal\") : Summary.summary(val);\n }\n bodySummary(): SummaryNode {\n const val = this.props.properties[\"Octopus.Action.Email.Body\"];\n return val ? Summary.summary(\"The email body has been provided\") : Summary.placeholder(\"An email body has not been provided\");\n }\n static displayName = \"EmailActionEdit\";\n}\npluginRegistry.registerAction({\n executionLocation: ActionExecutionLocation.AlwaysOnServer,\n canRunOnWorker: false,\n actionType: \"Octopus.Email\",\n canRunInContainer: false,\n summary: (properties, targetRolesAsCSV) => ,\n canHaveChildren: (step) => false,\n canBeChild: true,\n editSections: { default: EmailActionEdit },\n targetRoleOption: (action) => TargetRoles.None,\n canBeRetried: false,\n canUseExecutionTimeouts: false,\n docsLink: \"sendEmail\",\n});\n","/* eslint-disable @typescript-eslint/no-explicit-any */\nimport { ActionButton } from \"@octopusdeploy/design-system-components\";\nimport { noOp } from \"@octopusdeploy/utilities\";\nimport cn from \"classnames\";\nimport * as React from \"react\";\nimport { VariableLookupText } from \"~/components/form/VariableLookupText\";\nimport type { TextInput } from \"../../primitiveComponents/form/Text/Text\";\nimport { DebounceText } from \"../../primitiveComponents/form/Text/Text\";\nimport type { BoundFieldProps } from \"../Actions/pluginRegistry\";\nimport { RemoveItemsList } from \"../RemoveItemsList/RemoveItemsList\";\nimport styles from \"./style.module.less\";\nexport interface KeyValuePair {\n key: string;\n value: string;\n}\nclass KeyValueRemoveItemsList extends RemoveItemsList {\n}\nexport interface KeyValueEditListProps {\n items: () => KeyValuePair[];\n name: string;\n keyLabel: string;\n keyHintText?: string;\n keyMultiline?: boolean;\n keyRowsMax?: number;\n valueLabel: string;\n valueHintText?: string;\n valueMultiline?: boolean;\n valueRowsMax?: number;\n reverseLayout?: boolean;\n separator: string;\n hideBindOnKey?: boolean;\n hideBindOnValue?: boolean;\n onChange: (items: KeyValuePair[]) => void;\n}\nexport interface KeyValueEditListState {\n source: KeyValuePair[];\n}\nexport class KeyValueEditList extends React.PureComponent {\n /**\n * Based on the docs at https://reactjs.org/blog/2018/06/07/you-probably-dont-need-derived-state.html\n * @param props\n * @param state\n */\n static getDerivedStateFromProps(props: KeyValueEditListProps & BoundFieldProps, state: KeyValueEditListState) {\n const newState = {\n source: props.items(),\n };\n // Get the list of items, ignoring any empty items added to the list\n const thisState = state.source.filter((i) => i.key !== \"\" && i.value !== \"\");\n const externalSource = newState.source.filter((i) => i.key !== \"\" && i.value !== \"\");\n if (externalSource.length !== thisState.length) {\n return newState;\n }\n for (let i = 0; i < externalSource.length; ++i) {\n if (externalSource[i].key !== thisState[i].key || externalSource[i].value !== thisState[i].value) {\n return newState;\n }\n }\n return null;\n }\n adding = false;\n constructor(props: KeyValueEditListProps & BoundFieldProps) {\n super(props);\n this.state = {\n source: props.items(),\n };\n }\n handleRemoveRow = (item: any) => {\n const data = this.state.source;\n data.splice(data.indexOf(item), 1);\n this.invokeOnChange(data);\n };\n handleRowRef = (idx: number) => (input: TextInput | null) => {\n if (input && this.adding && idx === 0) {\n input.focus();\n this.adding = false;\n }\n };\n handleKeyChange = (idx: number) => (val: any) => {\n const data = this.state.source;\n data[idx].key = val;\n this.invokeOnChange(data);\n };\n handleValueChange = (idx: number) => (val: any) => {\n const data = this.state.source;\n data[idx].value = val;\n this.invokeOnChange(data);\n };\n invokeOnChange = (data: KeyValuePair[]) => {\n this.props.onChange([...data]);\n };\n handleAddClick = () => {\n this.adding = true;\n this.setState((prev) => ({ ...prev, source: [...prev.source, { key: \"\", value: \"\" }] }));\n };\n renderRow = (item: any, idx: number) => {\n const isDuplicate = this.state.source.filter((k) => k.key == item.key).length > 1;\n let fields = [\n
    \n {this.props.hideBindOnKey ? () : ()}\n {isDuplicate && Duplicate key}\n
    ,\n \n {this.props.separator}\n ,\n
    \n {this.props.hideBindOnValue ? () : ()}\n
    ,\n ];\n if (this.props.reverseLayout) {\n fields = fields.reverse();\n }\n return (
    \n {fields}\n
    );\n };\n render() {\n const actionButton = ;\n return ;\n }\n static displayName = \"KeyValueEditList\";\n}\nexport type StringKeyValueEditListProps = Omit & {\n items: string;\n onChange(items: string): void;\n};\nfunction stringToKeyValues(value: string | null | undefined): KeyValuePair[] {\n if (value === null || value === undefined) {\n return [];\n }\n try {\n const source = JSON.parse(value || \"{}\");\n return Object.keys(source).reduce((arr, key) => {\n arr.push({ key, value: source[key] });\n return arr;\n }, []);\n }\n catch (e) {\n return [];\n }\n}\nfunction keyValuesToHash(values: KeyValuePair[]) {\n return values.reduce((idx: any, item) => {\n if (!(item.key in idx)) {\n idx[item.key] = item.value;\n }\n return idx;\n }, {});\n}\nconst StringKeyValueEditList: React.SFC = ({ items, onChange, ...rest }) => ( stringToKeyValues(items)} onChange={(values) => onChange(JSON.stringify(keyValuesToHash(values)))} {...rest}/>);\nStringKeyValueEditList.displayName = \"StringKeyValueEditList\"\nfunction stringToKeyValuesArray(stringValue: string): KeyValuePair[] {\n if (stringValue === null || stringValue === undefined) {\n return [];\n }\n try {\n const source = JSON.parse(stringValue || \"[]\");\n return source.reduce((arr: any, object: any) => {\n for (const [key, value] of Object.entries(object)) {\n arr.push({ key, value });\n }\n return arr;\n }, []);\n }\n catch (e) {\n return [];\n }\n}\nfunction keyValuesArrayToHash(values: KeyValuePair[]): Array<{\n [key: string]: string;\n}> {\n return values.reduce>((arr, item) => {\n const obj: {\n [k: string]: string;\n } = {};\n obj[item.key] = item.value;\n arr.push(obj);\n return arr;\n }, []);\n}\nexport const StringDirectiveEditList: React.SFC = ({ items, onChange, ...rest }) => ( stringToKeyValuesArray(items)} onChange={(values) => onChange(JSON.stringify(keyValuesArrayToHash(values)))} {...rest}/>);\nStringDirectiveEditList.displayName = \"StringDirectiveEditList\"\nexport default StringKeyValueEditList;\n","/* eslint-disable @typescript-eslint/no-explicit-any */\n/* eslint-disable no-eq-null */\nimport { ActionButton } from \"@octopusdeploy/design-system-components\";\nimport * as React from \"react\";\nimport ParseHelper from \"~/utils/ParseHelper/ParseHelper\";\nimport type { TextInput } from \"../../primitiveComponents/form/Text/Text\";\nimport type { BoundFieldProps } from \"../Actions/pluginRegistry\";\nimport { RemoveItemsList } from \"../RemoveItemsList/RemoveItemsList\";\nimport { VariableLookupText } from \"../form/VariableLookupText\";\nclass StringRemoveItemsList extends RemoveItemsList {\n}\ninterface SomethingProps {\n items: string;\n name?: string;\n label: string;\n placeholder?: string;\n onChange(items: string): void;\n}\ninterface SomethingState {\n source: string[];\n}\nexport default class StringEditList extends React.PureComponent {\n adding = false;\n constructor(props: SomethingProps & BoundFieldProps) {\n super(props);\n this.state = {\n source: [],\n };\n }\n componentDidMount() {\n this.setInternalState(this.props);\n }\n setInternalState(props: SomethingProps) {\n this.setState({ source: ParseHelper.parseCSV(this.props.items || \"\") });\n }\n handleRemoveRow = (item: any) => {\n const data = this.state.source;\n data.splice(data.indexOf(item), 1);\n this.invokeOnChange(data);\n };\n handleRowRef = (idx: number) => (input: TextInput | null) => {\n if (input && this.adding && idx === 0) {\n input.focus();\n this.adding = false;\n }\n };\n handleRowChange = (idx: number) => (val: any) => {\n const data = this.state.source;\n data[idx] = val;\n this.invokeOnChange(data);\n };\n invokeOnChange = (data: any) => {\n this.props.onChange(ParseHelper.encodeCSV(data.filter((t: string) => t != null && t !== \"\")));\n };\n handleAddClick = () => {\n const data = this.state.source;\n this.adding = true;\n this.setState({ source: [\"\", ...data] });\n };\n renderRow = (item: any, idx: number) => {\n const data = this.state.source;\n const warning = data.filter((t) => t === item).length > 1 ? \"This value has already been added\" : null;\n return ();\n };\n render() {\n const name = this.props.name || this.props.label;\n const actionButton = ;\n return ;\n }\n static displayName = \"StringEditList\";\n}\n","/* eslint-disable @typescript-eslint/consistent-type-assertions */\nimport { RadioButton } from \"@octopusdeploy/design-system-components\";\nimport type { DeployReleaseProperties } from \"@octopusdeploy/legacy-action-properties\";\nimport type { ProjectResource } from \"@octopusdeploy/octopus-server-client\";\nimport { ActionExecutionLocation } from \"@octopusdeploy/octopus-server-client\";\nimport { links } from \"@octopusdeploy/portal-routes\";\nimport * as React from \"react\";\nimport { TargetRoles } from \"~/areas/projects/components/Process/types\";\nimport { repository } from \"~/clientInstance\";\nimport { BaseComponent } from \"~/components/BaseComponent/BaseComponent\";\nimport { ChipIcon, ContextualMissingChip } from \"~/components/Chips\";\nimport { KeyValueEditList } from \"~/components/EditList\";\nimport type { SummaryNode } from \"~/components/form\";\nimport { ExpandableFormSection, Summary } from \"~/components/form\";\nimport { CardFill } from \"~/components/form/Sections/ExpandableFormSection\";\nimport ExpanderSectionHeading from \"~/components/form/Sections/FormSectionHeading\";\nimport { BoundRadioButtonGroup } from \"~/primitiveComponents/form/RadioButton/BoundRadioButtonGroup\";\nimport { BoundSelect } from \"~/primitiveComponents/form/Select/Select\";\nimport Note from \"../../../primitiveComponents/form/Note/Note\";\nimport ExternalLink from \"../../Navigation/ExternalLink/ExternalLink\";\nimport InternalLink from \"../../Navigation/InternalLink/InternalLink\";\nimport type { ActionSummaryProps } from \"../actionSummaryProps\";\nimport type { ActionEditProps } from \"../pluginRegistry\";\nimport pluginRegistry from \"../pluginRegistry\";\ntype DeployReleaseSummaryProps = ActionSummaryProps;\ntype ProjectName = string;\ntype ProjectOrName = ProjectResource | ProjectName;\nclass DeployReleaseSummary extends BaseComponent {\n constructor(props: DeployReleaseSummaryProps) {\n super(props);\n this.state = {\n projectOrName: null,\n };\n }\n async componentDidMount() {\n //TODO: realistically we can't load all projects here unless we have some form of caching layer, so we can't show a ghost chip if a project doesn't align\n //in the summary.\n const id = this.props.properties[\"Octopus.Action.DeployRelease.ProjectId\"] as string;\n const project: ProjectOrName | null = id.includes(\"#{\") ? null : await repository.Projects.get(id);\n this.setState({ projectOrName: project });\n }\n render() {\n return (
    \n Deploy a release from project{\" \"}\n {this.state.projectOrName ? (<>\n {typeof this.state.projectOrName === \"string\" ? this.state.projectOrName : this.state.projectOrName.Name}.\n ) : ()}\n
    );\n }\n static displayName = \"DeployReleaseSummary\";\n}\nenum DeploymentCondition {\n Always = \"Always\",\n IfNotCurrentVersion = \"IfNotCurrentVersion\",\n IfNewer = \"IfNewer\"\n}\ninterface DeployReleaseEditState {\n projects: Array<{\n value: string;\n text: string;\n slug: string;\n spaceId: string;\n }>;\n}\ntype DeployReleaseEditProps = ActionEditProps;\nconst DeployReleaseEdit: React.FC = (props) => {\n return ;\n};\nDeployReleaseEdit.displayName = \"DeployReleaseEdit\"\ntype DeployReleaseEditInternalProps = DeployReleaseEditProps;\nclass DeployReleaseEditInternal extends BaseComponent {\n constructor(props: DeployReleaseEditInternalProps) {\n super(props);\n this.state = {\n projects: [],\n };\n }\n async componentDidMount() {\n await this.props.doBusyTask(async () => {\n if (!this.props.properties[\"Octopus.Action.DeployRelease.DeploymentCondition\"]) {\n this.props.setProperties({ [\"Octopus.Action.DeployRelease.DeploymentCondition\"]: DeploymentCondition.Always });\n }\n const projects = await repository.Projects.summaries();\n //TODO: investigate ways we can protect consuming actions from needing to know what things are keyed by\n this.setState({ projects: projects.map((p) => ({ value: p.Id, text: p.Name, slug: p.Slug, spaceId: p.SpaceId })) });\n });\n }\n render() {\n return (
    \n \n Select a project that will be deployed.
    }>\n this.props.setProperties({ [\"Octopus.Action.DeployRelease.ProjectId\"]: projectId })} error={this.props.getFieldError(\"Octopus.Action.DeployRelease.ProjectId\")} allowFilter={true} autoFocus value={this.props.properties[\"Octopus.Action.DeployRelease.ProjectId\"]}/>\n \n See our documentation for more information on deploying projects with the Deploy Release step.\n \n
    \n Control when this deployment should run.}>\n this.props.setProperties({ [\"Octopus.Action.DeployRelease.DeploymentCondition\"]: x })} title=\"Deployment condition\">\n \n \n \n \n \n Pass variables through to the child deployment.}>\n this.props.setProperties({ [\"Octopus.Action.DeployRelease.Variables\"]: val })} valueLabel=\"Value\" keyLabel=\"Variable name\" hideBindOnKey={true} localNames={this.props.localNames} projectId={this.props.projectId} gitRef={this.props.gitRef}/>\n \n See our documentation for more information on passing variables to deployments triggered by the Create Release step.\n \n \n );\n }\n private summary(): SummaryNode {\n const type = this.props.properties[\"Octopus.Action.DeployRelease.ProjectId\"];\n if (!type) {\n return Summary.placeholder(\"Select a project that will be deployed\");\n }\n const projectId = this.props.properties[\"Octopus.Action.DeployRelease.ProjectId\"];\n const project = this.state.projects.find((p) => p.value === projectId);\n //We have to use the slug from the project for the route links, as the value can potentially be an id or a name and we don't support name for the route links.\n const link = project ? (projectId.includes(\"#{\") ? ({project.text} // Don't link to bound fields\n ) : ({project.text})) : ();\n return Summary.summary(Deploy a release from project {link});\n }\n private summaryDeployment(): SummaryNode {\n const condition = this.props.properties[\"Octopus.Action.DeployRelease.DeploymentCondition\"];\n if (condition === DeploymentCondition.IfNotCurrentVersion) {\n return Summary.summary(\n Deploy the release if it is not the current release in the environment\n );\n }\n if (condition === DeploymentCondition.IfNewer) {\n return Summary.summary(\n Deploy the release if it has a higher version than the current release in the environment\n );\n }\n if (condition === DeploymentCondition.Always) {\n return Summary.default(Deploy every time);\n }\n return Summary.summary(Deploy when the expression is true);\n }\n private summaryVariables(): SummaryNode {\n const variables = JSON.parse(this.props.properties[\"Octopus.Action.DeployRelease.Variables\"] || \"{}\");\n if (Object.keys(variables).length === 0) {\n return Summary.placeholder(\"No variables specified\");\n }\n else {\n const text = Object.keys(variables)\n .map((m) => m + \" = \" + variables[m])\n .join(\", \");\n return Summary.summary(text);\n }\n }\n static displayName = \"DeployReleaseEditInternal\";\n}\npluginRegistry.registerAction({\n executionLocation: ActionExecutionLocation.AlwaysOnServer,\n canRunInContainer: false,\n actionType: \"Octopus.DeployRelease\",\n summary: (properties, targetRolesAsCSV) => ,\n canHaveChildren: (step) => false,\n canBeChild: true,\n editSections: { default: DeployReleaseEdit },\n targetRoleOption: (action) => TargetRoles.None,\n canBeRetried: false,\n canUseExecutionTimeouts: false,\n docsLink: \"deployRelease\",\n});\n","import type { AccountResource } from \"@octopusdeploy/octopus-server-client\";\nimport React from \"react\";\nimport isBound from \"../BoundField/isBound\";\nimport { OverflowSummary, PlaceholderSummary } from \"../Sections/Summary\";\ntype AccountSelectionSummaryProps = {\n accountId: string | undefined | null;\n accounts: AccountResource[];\n renderBound?: (accountId: string) => React.ReactNode;\n renderFound: (account: AccountResource) => React.ReactNode;\n renderMissing: (accountId: string) => React.ReactNode;\n renderFalsy?: () => React.ReactNode;\n};\nconst defaultBoundRender: AccountSelectionSummaryProps[\"renderBound\"] = (accountId) => (\n Account is bound to {accountId}\n );\nexport const AccountSelectionSummary: React.FC = ({ accountId, accounts, renderBound = defaultBoundRender, renderFound, renderMissing, renderFalsy = () => No account has been selected, }) => {\n if (accountId === undefined || accountId === null) {\n return {renderFalsy()};\n }\n if (isBound(accountId)) {\n return {renderBound(accountId)};\n }\n const found = accounts.find((x) => x.Id === accountId);\n if (!found) {\n return {renderMissing(accountId)};\n }\n return {renderFound(found)};\n};\nAccountSelectionSummary.displayName = \"AccountSelectionSummary\"\n","import { BooleanRadioButtonGroup, BooleanRadioButton } from \"@octopusdeploy/design-system-components\";\nimport type { PackageReferenceProperties } from \"@octopusdeploy/octopus-server-client\";\nimport * as React from \"react\";\nimport { doesRunOnSupportBundledTools } from \"~/areas/projects/components/Process/Common/CommonProcessHelpers\";\nimport BaseComponent from \"~/components/BaseComponent\";\nimport type { ActionEditProps } from \"../Actions/pluginRegistry\";\nimport type { ScriptPackageProperties } from \"../Actions/script/ScriptPackageReferenceDialog\";\nimport { ExpandableFormSection, Summary } from \"../form\";\nconst StringProperties = {\n OctopusUseBundledTooling: \"\",\n};\nexport type BundledToolsProperties = {\n [P in keyof typeof StringProperties]: string;\n};\ntype BundledToolsEditBaseProperties = {\n actionProps: ActionEditProps;\n title: string;\n notes: React.ReactNode;\n help: string;\n useBundledToolsSummary: string;\n usePreInstalledToolsSummary: string;\n useBundledToolsCallout: React.ReactNode;\n};\nexport class BundledToolsEditBase extends BaseComponent {\n summary(useBundled: boolean, useBundledToolsSummary: string, usePreInstalledToolsSummary: string) {\n if (!useBundled) {\n return Summary.default(usePreInstalledToolsSummary);\n }\n return Summary.summary(useBundledToolsSummary);\n }\n render() {\n // Existing steps that use this component may not have a property OctopusUseBundledTooling\n // and in the server the behavior when this property doesn't exist is to treat it as\n // true and include the tooling. For this reason we'll also treat it the same way in the UI\n // To set the default for new steps added by the user, actions can use the getInitialProperties\n // property to provide the appropriate default which would normally be false.\n const useBundled = this.props.actionProps.properties.OctopusUseBundledTooling === \"True\" || this.props.actionProps.properties.OctopusUseBundledTooling === undefined;\n const bundledToolsSection = (\n {this.props.notes}\n {\n this.props.actionProps.setProperties({ OctopusUseBundledTooling: x ? \"True\" : \"False\" });\n }}>\n \n \n \n {useBundled ? this.props.useBundledToolsCallout : null}\n );\n if (doesRunOnSupportBundledTools(this.props.actionProps.runOn)) {\n return bundledToolsSection;\n }\n return null;\n }\n static displayName = \"BundledToolsEditBase\";\n}\n","import type { InstanceFeatureToggle } from \"@octopusdeploy/octopus-server-client\";\nimport type { ReactNode } from \"react\";\nimport React from \"react\";\nimport { isFeatureToggleEnabled } from \"~/components/FeatureToggle/New/FeatureToggleContext\";\nconst FeatureToggleVisibility = ({ toggle, children, disabledContent }: React.PropsWithChildren<{\n toggle: InstanceFeatureToggle;\n disabledContent?: ReactNode;\n}>) => {\n if (isFeatureToggleEnabled(toggle)) {\n return <>{children};\n }\n if (disabledContent) {\n return <>{disabledContent};\n }\n return null;\n};\nexport default FeatureToggleVisibility;\n","import { Callout } from \"@octopusdeploy/design-system-components\";\nimport type { PackageReferenceProperties } from \"@octopusdeploy/octopus-server-client\";\nimport * as React from \"react\";\nimport type { BundledToolsProperties } from \"~/components/BundledTools/BundledToolsEditBase\";\nimport { BundledToolsEditBase } from \"~/components/BundledTools/BundledToolsEditBase\";\nimport FeatureToggleVisibility from \"~/components/FeatureToggle/New/FeatureToggleVisibility\";\nimport ExternalLink from \"~/components/Navigation/ExternalLink/ExternalLink\";\nimport Note from \"../../../primitiveComponents/form/Note/Note\";\nimport type { ActionEditProps } from \"../pluginRegistry\";\nimport type { ScriptPackageProperties } from \"../script/ScriptPackageReferenceDialog\";\nfunction AzureBundledToolsCallout() {\n return (\n Using the Azure tools bundled with Octopus is not recommended.\n
    \n
    \n For Windows workers, Octopus server can supply Azure CLI 2.0.50 and Azure Resource Manager (ARM) Powershell modules 6.13.1.\n
    \n
    \n For Linux workers the Azure CLI must be pre-installed.\n
    \n
    \n Learn more about Azure Tools.\n
    );\n}\nexport function AzureBundledToolsForServiceFabricScriptsEdit(props: ActionEditProps) {\n return (\n Scripts executed in this step may need to use the Azure CLI to authenticate to Azure or perform other actions. Learn more about Azure Tools.\n } help=\"Select whether to use the bundled Azure tools or using tooling pre-installed on the worker\" useBundledToolsSummary=\"Use Azure tools bundled with Octopus\" usePreInstalledToolsSummary=\"Use Azure tools pre-installed on the worker\" useBundledToolsCallout={}/>}>\n <>\n );\n}\nexport function AzureBundledToolsForScriptsEdit(props: ActionEditProps) {\n return (\n This step depends on the Azure CLI to authenticate to Azure. Learn more about Azure Tools.\n } help=\"Select whether to use the bundled Azure tools or using tooling pre-installed on the worker\" useBundledToolsSummary=\"Use Azure tools bundled with Octopus\" usePreInstalledToolsSummary=\"Use Azure tools pre-installed on the worker\" useBundledToolsCallout={}/>}>\n <>\n );\n}\nexport function AzureBundledToolsForCustomScriptsEdit(props: ActionEditProps) {\n return (\n If custom deployment scripts are used by this step they may need to use the Azure CLI to authenticate to Azure or perform other actions. Learn more about{\" \"}\n Azure Tools.\n } help=\"Select whether to use the bundled Azure tools or using tooling pre-installed on the worker when running custom scripts\" useBundledToolsSummary=\"Use Azure tools bundled with Octopus for custom scripts\" usePreInstalledToolsSummary=\"Use Azure tools pre-installed on the worker for custom scripts\" useBundledToolsCallout={}/>}>\n <>\n );\n}\n","/* eslint-disable @typescript-eslint/no-non-null-assertion */\n/* eslint-disable @typescript-eslint/no-explicit-any */\nimport { RadioButton, RadioButtonGroup, Callout } from \"@octopusdeploy/design-system-components\";\nimport type { AzureCloudServiceProperties } from \"@octopusdeploy/legacy-action-properties\";\nimport type { AccountResource, FeedResource } from \"@octopusdeploy/octopus-server-client\";\nimport { AccountType, ActionExecutionLocation, AzureCloudServiceEndpointDeploymentSlot, GetPrimaryPackageReference, InitialisePrimaryPackageReference, Permission, SetPrimaryPackageReference } from \"@octopusdeploy/octopus-server-client\";\nimport { noOp } from \"@octopusdeploy/utilities\";\nimport * as React from \"react\";\nimport { useFeedsFromContext, useRefreshFeedsFromContext } from \"~/areas/projects/components/Process/Contexts/ProcessFeedsContextProvider\";\nimport { TargetRoles } from \"~/areas/projects/components/Process/types\";\nimport { repository } from \"~/clientInstance\";\nimport { BaseComponent } from \"~/components/BaseComponent/BaseComponent\";\nimport ExternalLink from \"~/components/Navigation/ExternalLink/ExternalLink\";\nimport DeferredPackageSelector from \"~/components/PackageSelector/DeferredPackageSelector\";\nimport { ExpandableFormSection, FormSectionHeading, Note, Summary, Text, UnstructuredFormSection } from \"~/components/form\";\nimport { BoundStringCheckbox } from \"~/primitiveComponents/form/Checkbox/StringCheckbox\";\nimport { BoundSelect } from \"~/primitiveComponents/form/Select/Select\";\nimport CommonSummaryHelper from \"~/utils/CommonSummaryHelper/CommonSummaryHelper\";\nimport PermissionCheck, { isAllowed } from \"../../PermissionCheck/PermissionCheck\";\nimport { BoundAccountSelect } from \"../../form/AccountSelect/AccountSelect\";\nimport { AccountSelectionSummary } from \"../../form/AccountSelect/AccountSelectionSummary\";\nimport { OverflowSummary, PlaceholderSummary } from \"../../form/Sections/Summary\";\nimport { VariableLookupText } from \"../../form/VariableLookupText\";\nimport { DisplayFeedName } from \"../DisplayFeedName\";\nimport Roles from \"../Roles\";\nimport type { ActionSummaryProps } from \"../actionSummaryProps\";\nimport type { ActionWithFeeds } from \"../commonActionHelpers\";\nimport { getChangesToPackageReference } from \"../getChangesToPackageReference\";\nimport type { ActionEditProps } from \"../pluginRegistry\";\nimport pluginRegistry from \"../pluginRegistry\";\nimport { AzureBundledToolsForCustomScriptsEdit } from \"./azureBundledTools\";\ninterface AzureCloudServiceActionSummaryState {\n feedName: string;\n}\nclass AzureCloudServiceActionSummary extends BaseComponent {\n constructor(props: ActionSummaryProps) {\n super(props);\n }\n render() {\n const pkg = GetPrimaryPackageReference(this.props.packages);\n return pkg ? (
    \n Deploy Azure Cloud Service {pkg.PackageId} \n from \n {this.props.targetRolesAsCSV && (\n {\" \"}\n on behalf of targets with {\" \"}\n )}\n
    ) : (\n Package was not selected or cannot be found. Please review this step and ensure a valid package is selected.\n );\n }\n static displayName = \"AzureCloudServiceActionSummary\";\n}\ninterface AzureCloudServiceActionEditState {\n accounts: AccountResource[];\n}\ntype AzureCloudServiceActionEditProps = ActionEditProps;\ntype AzureCloudServiceActionEditInternalProps = AzureCloudServiceActionEditProps & ActionWithFeeds;\nexport const AzureCloudServiceActionEdit: React.FC = (props) => {\n const feeds = useFeedsFromContext();\n const refreshFeeds = useRefreshFeedsFromContext();\n return ;\n};\nAzureCloudServiceActionEdit.displayName = \"AzureCloudServiceActionEdit\"\nclass AzureCloudServiceActionEditInternal extends BaseComponent {\n constructor(props: AzureCloudServiceActionEditInternalProps) {\n super(props);\n this.state = {\n accounts: [],\n };\n }\n componentDidUpdate(prevProps: AzureCloudServiceActionEditInternalProps) {\n if (this.props.properties[\"Octopus.Action.Azure.AccountId\"] !== prevProps.properties[\"Octopus.Action.Azure.AccountId\"] ||\n this.props.properties[\"Octopus.Action.Azure.IsLegacyMode\"] !== prevProps.properties[\"Octopus.Action.Azure.IsLegacyMode\"]) {\n this.props.refreshRunOn && this.props.refreshRunOn();\n }\n }\n async componentDidMount() {\n this.props.setPackages(InitialisePrimaryPackageReference(this.props.packages, this.props.feeds), true);\n await this.props.doBusyTask(async () => {\n if (!!this.props.properties[\"Octopus.Action.Azure.AccountId\"] && isAllowed({ permission: Permission.AccountView, wildcard: true })) {\n this.setState({\n accounts: await repository.Accounts.all(),\n });\n }\n const newProperties: any = {};\n if (!!this.props.properties[\"Octopus.Action.Azure.AccountId\"]) {\n if (!this.props.properties[\"Octopus.Action.Azure.Slot\"]) {\n newProperties[\"Octopus.Action.Azure.Slot\"] = AzureCloudServiceEndpointDeploymentSlot.Staging;\n }\n if (!this.props.properties[\"Octopus.Action.Azure.SwapIfPossible\"]) {\n newProperties[\"Octopus.Action.Azure.SwapIfPossible\"] = true;\n }\n if (!this.props.properties[\"Octopus.Action.Azure.UseCurrentInstanceCount\"]) {\n newProperties[\"Octopus.Action.Azure.UseCurrentInstanceCount\"] = true;\n }\n newProperties[\"Octopus.Action.Azure.IsLegacyMode\"] = \"True\";\n }\n this.props.setProperties(newProperties, true);\n });\n }\n accountSummary() {\n const accountId = this.props.properties[\"Octopus.Action.Azure.AccountId\"];\n return ( (\n Using the {account.Name} account\n )} renderMissing={() => (\n No account has been selected\n )}/>);\n }\n slotSummary() {\n const slot = this.props.properties[\"Octopus.Action.Azure.Slot\"];\n if (slot) {\n if (slot === AzureCloudServiceEndpointDeploymentSlot.Staging) {\n return Summary.default(Using the {slot} deployment slot);\n }\n return Summary.summary(Using the {slot} deployment slot);\n }\n return Summary.placeholder(\"Deployment slot not specified\");\n }\n swapSummary() {\n const swap = this.props.properties[\"Octopus.Action.Azure.SwapIfPossible\"];\n if (swap === \"True\") {\n return Summary.default(\"When deploying to production swap staging to production, if possible\");\n }\n if (swap === \"False\") {\n return Summary.summary(\"When deploying to production always perform a new deployment\");\n }\n return Summary.placeholder(\"Swap setting not specified\");\n }\n instanceCountSummary() {\n const instanceCount = this.props.properties[\"Octopus.Action.Azure.UseCurrentInstanceCount\"];\n if (instanceCount === \"True\") {\n return Summary.default(\"Using the instance count from the current Azure deployment\");\n }\n if (instanceCount === \"False\") {\n return Summary.summary(\"Using the instance count defined in the service configuration XML file\");\n }\n return Summary.placeholder(\"Instance count not specified\");\n }\n render() {\n // The package is initialized in componentDidMount, but render gets called before the update is propagated\n if (!this.props.packages || this.props.packages.length === 0) {\n return null;\n }\n const pkg = GetPrimaryPackageReference(this.props.packages);\n const properties = this.props.properties;\n const isLegacyActionType = this.isLegacyMode();\n const help = this.props.feeds.length > 0 ? (\n This step is used to deploy the contents of a package. The package that you wish to deploy should contain all the files needed to run your application. Learn more about{\" \"}\n what your packages should contain, and how to create them.\n ) : (Choose the package you wish to deploy);\n return (
    \n \n \n \n Azure has announced that Cloud Services are now a legacy service and Service Fabric is recommended for new development. Please consider alternate applications that you\n can deploy to Azure.\n \n \n \n \n this.props.setPackages(SetPrimaryPackageReference({ PackageId: packageId }, this.props.packages))} onFeedIdChange={(feedId) => this.props.setPackages(SetPrimaryPackageReference({ FeedId: feedId }, this.props.packages))} onPackageVersionChange={(version) => this.props.setPackages(SetPrimaryPackageReference({ Version: version }, this.props.packages))} packageIdError={this.props.getFieldError(\"Octopus.Action.Package.PackageId\")} feedIdError={this.props.getFieldError(\"Octopus.Action.Package.FeedId\")} projectId={this.props.projectId} feeds={this.props.feeds} localNames={this.props.localNames} refreshFeeds={this.loadFeeds} parameters={this.props.parameters} packageSelectionMode={pkg.Properties[\"SelectionMode\"]} packageSelectionModeError={this.props.getFieldError(\"SelectionMode\")} onPackageSelectionModeChange={(value) => this.props.setPackages(SetPrimaryPackageReference(getChangesToPackageReference(value), this.props.packages))} packageParameterName={pkg.Properties[\"PackageParameterName\"]} packageParameterError={this.props.getFieldError(\"PackageParameterName\")} onPackageParameterChange={(packageParameter) => this.props.setPackages(SetPrimaryPackageReference({ Properties: { ...pkg.Properties, PackageParameterName: packageParameter } }, this.props.packages))}/>\n \n {isLegacyActionType && (
    \n \n \n The {Permission.AccountView} permission is required to change the Azure settings.\n }>\n \n {this.props.properties[\"Octopus.Action.Azure.SubscriptionId\"] && !this.props.properties[\"Octopus.Action.Azure.AccountId\"] && (\n \n This step is using a subscription ID value imported from Octopus Deploy 2. This value, along with the default Azure certificate, will be used until an Account is selected below. From then on the\n subscription details from the selected Account will be used.\n \n \n )}\n {\n this.props.setProperties({ [\"Octopus.Action.Azure.AccountId\"]: x });\n if (!x) {\n // This is a key field in determining legacy Azure steps, so if this is cleared, also\n // clear related data that is now contributed by the target.\n this.clearLegacyModeProps();\n }\n }} error={this.props.getFieldError(\"Octopus.Action.Azure.AccountId\")} items={this.state.accounts} onRequestRefresh={this.refreshAccounts}/>\n \n\n \n this.props.setProperties({ [\"Octopus.Action.Azure.CloudServiceName\"]: val })}/>\n The Cloud Service Name provided must exactly match the Azure Cloud Service resource being targeted.\n \n\n \n this.props.setProperties({ [\"Octopus.Action.Azure.StorageAccountName\"]: val })}/>\n The Storage Account Name provided must exactly match the Azure Storage Account resource being used.\n \n\n \n \n \n Deployment Slots provide a nice way to implement Blue-Green deployments. Learn more about Deployment Slots\n \n ({ value: item, text: item }))} onChange={(val) => this.props.setProperties({ [\"Octopus.Action.Azure.Slot\"]: val })} error={this.props.getFieldError(\"Octopus.Action.Azure.Slot\")}/>\n \n\n \n this.props.setProperties({ [\"Octopus.Action.Azure.SwapIfPossible\"]: val })} error={this.props.getFieldError(\"Octopus.Action.Azure.SwapIfPossible\")}>\n \n Azure can swap staging to production deployments by switching virtual IP addresses.\n \n \n \n\n \n \n If you have previously scaled your service by changing the number of instances using the Azure management portal, Octopus can retrieve these values and use them in the deployment, so that the instance count remains\n unchanged.\n \n this.props.setProperties({ [\"Octopus.Action.Azure.UseCurrentInstanceCount\"]: val })} error={this.props.getFieldError(\"Octopus.Action.Azure.UseCurrentInstanceCount\")}>\n \n \n \n \n \n
    )}\n \n Enabled: Account-related properties are configured on this step\n )\n : Summary.default(Not enabled: Account-related properties are configured on the Deployment Target)} help={\"Select legacy mode if you wish to configure account-related properties on the step and not through Azure Targets.\"}>\n {\n if (x === \"True\") {\n this.props.setProperties({\n [\"Octopus.Action.Azure.IsLegacyMode\"]: \"True\",\n [\"Octopus.Action.Azure.Slot\"]: AzureCloudServiceEndpointDeploymentSlot.Staging, // Default\n [\"Octopus.Action.Azure.SwapIfPossible\"]: \"True\", // Default\n [\"Octopus.Action.Azure.UseCurrentInstanceCount\"]: \"True\", // Default\n });\n await this.refreshAccounts();\n }\n else {\n this.clearLegacyModeProps();\n }\n }} label=\"Enable Legacy Mode\"/>\n \n Toggling this on will allow account-related properties on the step (not recommended).
    \n Toggling this off will clear the account-related properties on this step and allow these to be configured from your Deployment Targets.\n
    \n
    \n
    );\n }\n private refreshAccounts = () => {\n return this.props.doBusyTask(async () => {\n this.setState({ accounts: await repository.Accounts.all() });\n });\n };\n private loadFeeds = async (callback?: (feeds: FeedResource[]) => void) => {\n await this.props.refreshFeeds();\n };\n private isLegacyMode(): boolean {\n const properties = this.props.properties;\n const isLegacyActionType = !!properties && !!(properties[\"Octopus.Action.Azure.AccountId\"] || properties[\"Octopus.Action.Azure.IsLegacyMode\"] === \"True\");\n return isLegacyActionType;\n }\n private clearLegacyModeProps = () => {\n this.props.setProperties({\n [\"Octopus.Action.Azure.IsLegacyMode\"]: null!,\n [\"Octopus.Action.Azure.AccountId\"]: null!,\n [\"Octopus.Action.Azure.CloudServiceName\"]: null!,\n [\"Octopus.Action.Azure.StorageAccountName\"]: null!,\n [\"Octopus.Action.Azure.Slot\"]: null!,\n [\"Octopus.Action.Azure.SwapIfPossible\"]: null!,\n [\"Octopus.Action.Azure.UseCurrentInstanceCount\"]: null!,\n }, false);\n };\n static displayName = \"AzureCloudServiceActionEditInternal\";\n}\npluginRegistry.registerAction({\n executionLocation: ActionExecutionLocation.AlwaysOnServer,\n actionType: \"Octopus.AzureCloudService\",\n summary: (properties, targetRolesAsCSV, packages) => ,\n editSections: { default: AzureCloudServiceActionEdit },\n canHaveChildren: (step) => false,\n canBeChild: true,\n targetRoleOption: (action) => {\n // Azure steps (pre 2018.5) allowed you to select accounts directly on the step, making target selection optional.\n const isLegacyActionType = !!(action ? action.Properties[\"Octopus.Action.Azure.AccountId\"] || action.Properties[\"Octopus.Action.Azure.IsLegacyMode\"] === \"True\" : null);\n return isLegacyActionType ? TargetRoles.Optional : TargetRoles.Required;\n },\n hasPackages: (action) => true,\n features: {\n optional: [\n \"Octopus.Features.ConfigurationTransforms\",\n \"Octopus.Features.ConfigurationVariables\",\n \"Octopus.Features.CustomDirectory\",\n \"Octopus.Features.CustomScripts\",\n \"Octopus.Features.JsonConfigurationVariables\",\n \"Octopus.Features.SubstituteInFiles\",\n \"Octopus.Features.SelectPowerShellEditionForWindows\",\n ],\n },\n getInitialProperties: () => {\n return {\n OctopusUseBundledTooling: \"False\",\n };\n },\n});\n","/* eslint-disable @typescript-eslint/no-non-null-assertion */\nimport type { AzurePowerShellProperties } from \"@octopusdeploy/legacy-action-properties\";\nimport type { AccountResource } from \"@octopusdeploy/octopus-server-client\";\nimport { AccountType, ActionExecutionLocation } from \"@octopusdeploy/octopus-server-client\";\nimport * as React from \"react\";\nimport { TargetRoles } from \"~/areas/projects/components/Process/types\";\nimport { repository } from \"~/clientInstance\";\nimport { ScriptActionEdit } from \"~/components/Actions/script/scriptAction\";\nimport { BaseComponent } from \"~/components/BaseComponent/BaseComponent\";\nimport AccountSelect from \"~/components/form/AccountSelect/AccountSelect\";\nimport { withBoundField } from \"~/components/form/BoundField/BoundField\";\nimport ExpandableFormSection from \"~/components/form/Sections/ExpandableFormSection\";\nimport FormSectionHeading from \"~/components/form/Sections/FormSectionHeading\";\nimport { OverflowSummary, PlaceholderSummary } from \"~/components/form/Sections/Summary\";\nimport { SupportedLanguage } from \"../../ScriptingLanguageSelector/ScriptingLanguageSelector\";\nimport { AccountSelectionSummary } from \"../../form/AccountSelect/AccountSelectionSummary\";\nimport Roles from \"../Roles\";\nimport type { ActionSummaryProps } from \"../actionSummaryProps\";\nimport type { ActionEditProps } from \"../pluginRegistry\";\nimport pluginRegistry from \"../pluginRegistry\";\nimport type { ScriptPackageProperties } from \"../script/ScriptPackageReferenceDialog\";\nimport { AzureBundledToolsForScriptsEdit } from \"./azureBundledTools\";\nclass AzurePowerShellActionSummary extends BaseComponent {\n render() {\n return (
    \n Run a script using an Azure subscription, with Azure modules loaded by default\n {this.props.targetRolesAsCSV && (\n {\", \"}\n on behalf of targets with \n )}\n
    );\n }\n static displayName = \"AzurePowerShellActionSummary\";\n}\ninterface AzurePowerShellActionEditState {\n accounts: AccountResource[];\n account: AccountResource;\n}\nconst BoundAccountSelect = withBoundField(AccountSelect);\ntype AzurePowershellActionEditProps = ActionEditProps;\nclass AzurePowerShellActionEdit extends BaseComponent {\n constructor(props: AzurePowershellActionEditProps) {\n super(props);\n this.state = {\n accounts: [],\n account: null!,\n };\n }\n async componentDidMount() {\n await this.props.doBusyTask(async () => {\n this.setState({\n accounts: await repository.Accounts.all(),\n });\n });\n }\n accountSummary() {\n const accountId = this.props.properties[\"Octopus.Action.Azure.AccountId\"];\n return ( {account.Name}} renderMissing={() => No account has been selected}/>);\n }\n render() {\n return (
    \n \n\n \n\n \n this.props.setProperties({ [\"Octopus.Action.Azure.AccountId\"]: x })} error={this.props.getFieldError(\"Octopus.Action.Azure.AccountId\")} items={this.state.accounts} onRequestRefresh={this.refreshAccounts}/>\n \n\n \n
    );\n }\n private refreshAccounts = () => {\n return this.props.doBusyTask(async () => {\n this.setState({ accounts: await repository.Accounts.all() });\n });\n };\n static displayName = \"AzurePowerShellActionEdit\";\n}\npluginRegistry.registerAction({\n executionLocation: ActionExecutionLocation.AlwaysOnServer,\n actionType: \"Octopus.AzurePowerShell\",\n summary: (properties, targetRolesAsCSV) => ,\n editSections: { default: AzurePowerShellActionEdit },\n canHaveChildren: (step) => true,\n canBeChild: true,\n targetRoleOption: (action) => TargetRoles.Optional,\n hasPackages: (action) => false,\n features: {\n optional: [\"Octopus.Features.SubstituteInFiles\", \"Octopus.Features.JsonConfigurationVariables\", \"Octopus.Features.ConfigurationTransforms\", \"Octopus.Features.ConfigurationVariables\", \"Octopus.Features.SelectPowerShellEditionForWindows\"],\n },\n getInitialProperties: () => {\n return {\n OctopusUseBundledTooling: \"False\",\n };\n },\n docsLink: \"runAzureScript\",\n});\n","/* eslint-disable @typescript-eslint/no-explicit-any */\n/* eslint-disable @typescript-eslint/init-declarations */\nimport * as _ from \"lodash\";\nexport enum ParameterDataType {\n string = \"string\",\n secureString = \"securestring\",\n int = \"int\",\n bool = \"bool\",\n object = \"object\",\n secureObject = \"secureobject\",\n array = \"array\"\n}\nexport enum Source {\n octopus = \"octopus\",\n azureKeyVault = \"azureKeyVault\"\n}\nexport class ParameterValues {\n [paramName: string]: ParameterValue;\n}\nexport interface ParameterValue {\n type: ParameterDataType;\n value: string;\n source: Source;\n defaultValue?: string;\n allowedValues?: string[];\n minValue?: string;\n maxValue?: string;\n minLength?: string;\n maxLength?: string;\n description?: string;\n keyVaultId?: string;\n keyVaultSecretName?: string;\n}\nexport interface ParameterResult {\n value: T;\n errors: string[];\n}\nexport class AzureTemplateHelper {\n public static extractParameters = (templateFile: string, parametersFile: string = \"\"): ParameterResult => {\n const parameterValues = new ParameterValues();\n const errors = [];\n let template;\n let parameters: any;\n try {\n template = JSON.parse(templateFile);\n parameters = parametersFile ? JSON.parse(parametersFile) : {};\n if (template.parameters) {\n _.each(template.parameters, (parameter, parameterName) => {\n const existingParameterValue = parameters[parameterName];\n const parameterType = AzureTemplateHelper.normalizeType(parameter.type);\n const parameterValue: ParameterValue = {\n ...parameter,\n type: parameterType,\n description: parameter.metadata !== undefined ? parameter.metadata.description : undefined,\n value: existingParameterValue ? AzureTemplateHelper.getParameterValue(parameters[parameterName].value) : AzureTemplateHelper.getParameterValueWithDefault(parameter, parameterType),\n source: Source.octopus,\n };\n if (existingParameterValue && existingParameterValue.reference) {\n parameterValue.keyVaultId = existingParameterValue.reference.keyVault.id;\n parameterValue.keyVaultSecretName = existingParameterValue.reference.secretName;\n parameterValue.source = Source.azureKeyVault;\n }\n parameterValues[parameterName] = parameterValue;\n });\n }\n }\n catch (e) {\n if (template) {\n // error with parametersFile\n errors.push(\"The parameter file is not valid JSON\");\n }\n else {\n errors.push(\"The template file is not valid JSON\");\n }\n }\n return { value: parameterValues, errors };\n };\n public static exportParameters = (parameters: ParameterValues): ParameterResult => {\n const armParams: any = {};\n const invalidTemplateParameters: string[] = [];\n if (parameters) {\n _.each(parameters, (paramValue, paramName) => {\n const armParameterValue: any = {};\n if (paramValue.source !== Source.azureKeyVault) {\n if (AzureTemplateHelper.shouldJsonParse(paramValue.type)) {\n try {\n armParameterValue.value = JSON.parse(paramValue.value);\n }\n catch (e) {\n //Logger.error(\"Failed to parse '\" + paramValue.value + \"' as valid JSON.\");\n invalidTemplateParameters.push(paramName);\n armParameterValue.value = paramValue.value; // Leave this as what the user typed in ... give them the opportunity to fix it.\n }\n }\n else {\n armParameterValue.value = paramValue.value;\n }\n }\n else {\n armParameterValue.reference = {\n keyVault: {\n id: paramValue.keyVaultId,\n },\n secretName: paramValue.keyVaultSecretName,\n };\n }\n armParams[paramName] = armParameterValue;\n });\n }\n return { value: JSON.stringify(armParams), errors: invalidTemplateParameters };\n };\n static getParameterValue = (value: any): string => {\n if (_.isObject(value)) {\n return JSON.stringify(value, undefined, 4);\n }\n else {\n return value;\n }\n };\n static getParameterValueWithDefault(parameter: ParameterValue, parameterType: string): string | undefined {\n if (parameterType === ParameterDataType.bool) {\n if (parameter.defaultValue === undefined) {\n return \"False\";\n }\n return parameter.defaultValue.toString();\n }\n if (parameterType === ParameterDataType.array) {\n return AzureTemplateHelper.getParameterValue(parameter.defaultValue ?? []);\n }\n if (parameterType === ParameterDataType.object || parameterType === ParameterDataType.secureObject) {\n return AzureTemplateHelper.getParameterValue(parameter.defaultValue ?? {});\n }\n return AzureTemplateHelper.getParameterValue(parameter.defaultValue);\n }\n //Technically speaking type names should follow camelCase naming convention as per https://azure.microsoft.com/en-us/documentation/articles/resource-group-authoring-templates/\n //but even Visual Studio project does not follow it.\n static normalizeType(type: string) {\n return type.toLowerCase();\n }\n //Parameters that are of type 'array', 'object' or 'secureObject' needs to be parsed as JSON,\n //otherwise the template will not be deemed valid as they will be used as a string and the deployment\n //will fail with an error message similar to the below:\n //'Hyak.Common.CloudException: InvalidTemplate: Deployment template validation failed:\n //'The provided value for the template parameter '' at line 'x' and column 'y' is not valid.'.\n static shouldJsonParse = (type: ParameterDataType): boolean => {\n return type === ParameterDataType.array || type === ParameterDataType.object || type === ParameterDataType.secureObject;\n };\n}\n","/* eslint-disable @typescript-eslint/no-non-null-assertion */\n/* eslint-disable no-eq-null */\nimport * as React from \"react\";\nimport BaseComponent from \"~/components/BaseComponent\";\nimport type { CodeEditorElement } from \"~/components/CodeEditor/CodeEditor\";\nimport { CodeEditor, TextFormat } from \"~/components/CodeEditor/CodeEditor\";\nimport type { Errors } from \"~/components/DataBaseComponent/Errors\";\nimport type { RenderProps } from \"~/components/Dialog/CustomDialog\";\nimport { CustomDialog } from \"~/components/Dialog/CustomDialog\";\nimport { CustomFlexDialogContent, CustomSaveDialogActions, CustomSaveDialogTitleBar } from \"~/components/DialogLayout/Custom\";\nimport CustomDialogActions from \"~/components/DialogLayout/Custom/CustomDialogActions\";\nimport CustomSaveDialogLayout from \"~/components/DialogLayout/Custom/CustomSaveDialogLayout\";\nimport { AzureTemplateHelper } from \"./AzureTemplateHelper\";\ninterface AzureResourceGroupSourceCodeDialogProps extends RenderProps {\n template: string;\n saveDone(newTemplate: string): void;\n}\ninterface AzureResourceGroupSourceCodeDialogState {\n template: string;\n errors?: Errors;\n}\nclass AzureResourceGroupSourceCodeDialog extends BaseComponent {\n private editor?: CodeEditorElement | null;\n constructor(props: AzureResourceGroupSourceCodeDialogProps) {\n super(props);\n this.state = {\n errors: undefined,\n template: this.props.template,\n };\n }\n async save(): Promise {\n const result = AzureTemplateHelper.extractParameters(this.state.template);\n if (result.errors.length > 0) {\n this.setState({\n errors: {\n message: \"The source code contains errors\",\n errors: [...result.errors],\n fieldErrors: {},\n details: {},\n },\n });\n }\n else {\n await this.props.saveDone(this.state.template);\n return true;\n }\n return false;\n }\n onFocusedEditorEscapePressed() {\n if (this.editor) {\n this.editor.blur();\n }\n }\n render() {\n return ( ( } errors={this.state.errors} onSaveClick={() => this.save()} renderActions={(renderProps) => }/>} renderContent={(renderProps) => (\n (this.editor = e)} language={TextFormat.JSON} allowFullScreen={false} onChange={(template) => this.setState({ template })} onEscPressed={() => this.onFocusedEditorEscapePressed()} showCopyButton={true}/>\n )}/>)}/>);\n }\n static displayName = \"AzureResourceGroupSourceCodeDialog\";\n}\nexport default AzureResourceGroupSourceCodeDialog;\n","/* eslint-disable @typescript-eslint/no-non-null-assertion */\nimport { ActionButton } from \"@octopusdeploy/design-system-components\";\nimport type { PackageReference } from \"@octopusdeploy/octopus-server-client\";\nimport { GetNamedPackageReferences, isContainerImageRegistry, PackageAcquisitionLocation, DOCKER_IMAGE_REFERENCE_PURPOSE, PackageSelectionMode, GetPackageVariableNames } from \"@octopusdeploy/octopus-server-client\";\nimport * as _ from \"lodash\";\nimport pluralize from \"pluralize\";\nimport * as React from \"react\";\nimport { CalloutModifiedFeedTriggerConnections } from \"~/areas/projects/components/Triggers/ProcessCallouts/CalloutModifiedFeedTriggerConnections\";\nimport type { RelatedTriggersDependencies } from \"~/areas/projects/components/Triggers/ProcessCallouts/CalloutReferencedPackageFeedTriggerConnections\";\nimport { CalloutReferencedPackageFeedTriggerConnections } from \"~/areas/projects/components/Triggers/ProcessCallouts/CalloutReferencedPackageFeedTriggerConnections\";\nimport { ProcessFeedLookup } from \"../../areas/projects/components/Process/Contexts/ProcessFeedsContextProvider\";\nimport ListTitle from \"../../primitiveComponents/dataDisplay/ListTitle\";\nimport { BaseComponent } from \"../BaseComponent/BaseComponent\";\nimport DialogOpener from \"../Dialog/DialogOpener\";\nimport ExternalLink from \"../Navigation/ExternalLink\";\nimport { RemoveItemsList } from \"../RemoveItemsList/RemoveItemsList\";\nimport { Note, Summary } from \"../form\";\nimport ExpandableFormSection from \"../form/Sections/ExpandableFormSection\";\nimport { default as FormSectionHeading } from \"../form/Sections/FormSectionHeading\";\nimport type { ActionWithFeeds } from \"./commonActionHelpers\";\nimport type { ActionEditProps } from \"./pluginRegistry\";\nimport { ScriptPackageReferenceDialog } from \"./script/ScriptPackageReferenceDialog\";\nimport type { ScriptPackageProperties, ScriptPackageReference } from \"./script/ScriptPackageReferenceDialog\";\nclass PackageReferenceList extends RemoveItemsList {\n}\ntype PackageReferenceListProps = ActionEditProps<{}, ScriptPackageProperties> & ActionWithFeeds & {\n relatedTriggersDependencies?: RelatedTriggersDependencies;\n modelDirty?: boolean;\n packageReferences: ScriptPackageReference[];\n};\ninterface PackageReferenceListState {\n editPackageReference?: ScriptPackageReference;\n editPackageReferenceIndex?: number;\n}\nexport class ContainerImageReferenceList extends BaseComponent {\n constructor(props: PackageReferenceListProps) {\n super(props);\n this.state = {};\n }\n render() {\n const dialog = this.openDialog();\n const packageReferences = this.props.packageReferences;\n return (<>\n {dialog}\n ]} data={packageReferences} onRow={(p: ScriptPackageReference) => this.packageReferenceListItem(p)} onRowTouch={(pkg: ScriptPackageReference) => this.editPackageReference(pkg)} onRemoveRow={(pkg: ScriptPackageReference) => this.removePackageReference(pkg)}/>\n\n {this.props.relatedTriggersDependencies && }\n {this.props.relatedTriggersDependencies && }\n );\n }\n private addPackageReference() {\n return () => {\n const additionalPackage: ScriptPackageReference = {\n Id: null!,\n Name: null!,\n FeedId: null!,\n PackageId: null!,\n Version: null!,\n // The packages are docker images to be acquired by the cluster, not the target\n AcquisitionLocation: PackageAcquisitionLocation.NotAcquired,\n Properties: {\n Extract: \"false\",\n Purpose: DOCKER_IMAGE_REFERENCE_PURPOSE,\n },\n };\n this.setState({ editPackageReference: additionalPackage, editPackageReferenceIndex: null! });\n };\n }\n private editPackageReference(pkg: ScriptPackageReference) {\n this.setState({\n editPackageReference: _.clone(pkg),\n editPackageReferenceIndex: this.props.packages.indexOf(pkg),\n });\n }\n private removePackageReference(pkg: ScriptPackageReference) {\n const packages = [...this.props.packages];\n packages.splice(packages.indexOf(pkg), 1);\n this.props.setPackages(packages);\n }\n private packageReferenceListItem(pkg: ScriptPackageReference) {\n return (\n {(feed) => (
    \n {pkg.Name}\n
    \n {pkg.Properties[\"SelectionMode\"] === PackageSelectionMode.Immediate && (\n {pkg.PackageId}{\" \"}\n {pkg.Version && (\n version {pkg.Version}\n )}{\" \"}\n from feed {!!feed ? feed.Name : pkg.FeedId}\n )}\n {pkg.Properties[\"SelectionMode\"] === PackageSelectionMode.Deferred && Package will be selected by the project}\n
    \n
    )}\n
    );\n }\n private resetSelectedPackageReference() {\n this.setState({\n editPackageReference: null!,\n editPackageReferenceIndex: null!,\n });\n }\n private async loadFeeds() {\n return await this.props.refreshFeeds();\n }\n private savePackageReference(packageReference: ScriptPackageReference) {\n const packageReferences = [...this.props.packages];\n if (!this.state.editPackageReferenceIndex) {\n packageReferences.push(packageReference);\n }\n else {\n packageReferences[this.state.editPackageReferenceIndex] = packageReference;\n }\n this.props.setPackages(packageReferences);\n this.resetSelectedPackageReference();\n return true;\n }\n private packageVariableNames(): string[] {\n return _.flatten(GetNamedPackageReferences(this.props.packages).map((pkg) => GetPackageVariableNames(pkg, this.props.feeds)));\n }\n private openDialog() {\n const localNames = _.concat(this.props.localNames ? this.props.localNames : [], this.packageVariableNames());\n return ( this.resetSelectedPackageReference()}>\n isContainerImageRegistry(f.FeedType))\n .map((f) => {\n f.PackageAcquisitionLocationOptions = [PackageAcquisitionLocation.NotAcquired];\n return f;\n })} localNames={localNames} projectId={this.props.projectId!} onChange={(packageReference) => this.savePackageReference(packageReference)} refreshFeeds={() => this.loadFeeds()} parameters={this.props.parameters}/>\n );\n }\n static displayName = \"ContainerImageReferenceList\";\n}\ntype DockerReferenceListFormSectionProps = Omit;\nexport function DockerReferenceListFormSection(props: DockerReferenceListFormSectionProps) {\n const { expandedByDefault, packages } = props;\n const getDockerImageReferences = () => {\n return GetNamedPackageReferences(packages).filter((p) => p.Properties.Purpose === DOCKER_IMAGE_REFERENCE_PURPOSE);\n };\n const packageReferences = getDockerImageReferences();\n const packageReferenceSummary = (packageReferences: PackageReference[]) => {\n if (packageReferences.length === 0) {\n return Summary.placeholder(\"No additional packages referenced\");\n }\n return Summary.summary(`${packageReferences.length} package ${pluralize(\"reference\", packageReferences.length)}`);\n };\n return (
    \n \n \n \n Docker images referenced by this step have their version (tag) selected at release creation. Properties relating to the images are then accessible via special package variables. Learn more about{\" \"}\n package references.\n \n \n \n
    );\n}\n","/* eslint-disable @typescript-eslint/no-non-null-assertion */\nimport { RadioButton, RadioButtonGroup } from \"@octopusdeploy/design-system-components\";\nimport type { AzureResourceGroupParametersProperties } from \"@octopusdeploy/legacy-action-properties\";\nimport * as React from \"react\";\nimport ExternalLink from \"~/components/Navigation/ExternalLink/ExternalLink\";\nimport { ExpandableFormSection, Summary, Note } from \"~/components/form\";\nimport isBound from \"~/components/form/BoundField/isBound\";\nimport { VariableLookupText } from \"~/components/form/VariableLookupText\";\nimport { BoundStringCheckbox } from \"~/primitiveComponents/form/Checkbox/StringCheckbox\";\nimport { BoundSelect } from \"~/primitiveComponents/form/Select/Select\";\nimport type { ParameterValue, ParameterValues } from \"./AzureTemplateHelper\";\nimport { AzureTemplateHelper, ParameterDataType, Source } from \"./AzureTemplateHelper\";\ninterface AzureResourceGroupParametersProps {\n projectId: string;\n localNames: string[];\n properties: AzureResourceGroupParametersProperties;\n setProperties(properties: Partial, initialise?: boolean): void;\n doBusyTask(action: () => Promise): Promise;\n}\ninterface AzureResourceGroupParametersState {\n paramValues: ParameterValues;\n paramErrors: string[];\n}\nexport default class AzureResourceGroupParameters extends React.Component {\n constructor(props: AzureResourceGroupParametersProps) {\n super(props);\n this.state = {\n paramValues: {},\n paramErrors: [],\n };\n }\n componentDidMount() {\n this.loadParameterValues(true);\n }\n componentDidUpdate(prevProps: AzureResourceGroupParametersProps, prevState: AzureResourceGroupParametersState) {\n if (prevProps.properties[\"Octopus.Action.Azure.ResourceGroupTemplate\"] !== this.props.properties[\"Octopus.Action.Azure.ResourceGroupTemplate\"]) {\n this.loadParameterValues(false);\n }\n }\n loadParameterValues(initialiseModel: boolean) {\n let paramValues = {};\n const result = AzureTemplateHelper.extractParameters(this.props.properties[\"Octopus.Action.Azure.ResourceGroupTemplate\"], this.props.properties[\"Octopus.Action.Azure.ResourceGroupTemplateParameters\"]);\n paramValues = result.value;\n this.setState({ paramValues }, () => this.updateParameterValues(initialiseModel));\n }\n updateParameterValues(initialiseModel: boolean) {\n const result = AzureTemplateHelper.exportParameters(this.state.paramValues);\n this.setState({ paramErrors: result.errors });\n this.props.setProperties({ [\"Octopus.Action.Azure.ResourceGroupTemplateParameters\"]: result.value }, initialiseModel);\n }\n onParameterValueChange(paramName: string, newValue: string | undefined | number, key = \"value\") {\n this.setState((prevState) => ({\n paramValues: {\n ...prevState.paramValues,\n [paramName]: {\n ...prevState.paramValues[paramName],\n [key]: newValue,\n },\n },\n }), () => this.updateParameterValues(false));\n }\n parameterValueSummary(parameter: ParameterValue) {\n if (parameter.type === ParameterDataType.secureString && parameter.source === Source.azureKeyVault) {\n return Summary.summary(\"Using Azure Key Vault\");\n }\n if (parameter.type === ParameterDataType.bool) {\n let result = parameter.value;\n if (!result) {\n result = \"False\";\n }\n return Summary.summary(result);\n }\n if (parameter.value) {\n return Summary.summary(parameter.value);\n }\n return Summary.placeholder(\"Value not provided\");\n }\n parameterValueHelp(paramName: string, parameter: ParameterValue) {\n if (parameter.description) {\n return parameter.description;\n }\n if (parameter.type === ParameterDataType.bool) {\n return `Select value for ${paramName}`;\n }\n return `Enter a value for ${paramName}`;\n }\n getParamError(paramName: string) {\n const parameter = this.state.paramErrors.find((x) => x === paramName);\n if (parameter) {\n return `${parameter} is not valid`;\n }\n return null;\n }\n render() {\n return (
    \n {this.state.paramValues &&\n Object.keys(this.state.paramValues).map((paramName) => (
    \n {(() => {\n const paramValue = this.state.paramValues[paramName];\n if (paramValue.allowedValues) {\n return (\n ({ value: item, text: item }))} onChange={(val) => this.onParameterValueChange(paramName, val)}/>\n );\n }\n else {\n switch (paramValue.type) {\n case ParameterDataType.bool:\n return (\n this.onParameterValueChange(paramName, val)}/>\n );\n case ParameterDataType.int:\n return (\n {\n let result: string | undefined | number = val;\n if (val) {\n if (!isBound(val)) {\n result = parseInt(val, 10);\n }\n }\n this.onParameterValueChange(paramName, result);\n }}/>\n );\n case ParameterDataType.string:\n return (\n this.onParameterValueChange(paramName, val)}/>\n );\n case ParameterDataType.secureString:\n return (\n this.onParameterValueChange(paramName, val, \"source\")}>\n \n \n \n Azure Key Vault allows sensitive data to be stored outside of Octopus and\n then used in Resource Manager templates.\n \n \n\n {paramValue.source === Source.azureKeyVault ? (
    \n this.onParameterValueChange(paramName, val, \"keyVaultId\")}/>\n \n Get-AzureRMKeyVault PowerShell cmdlet can be used to retrieve\n this value.\n \n this.onParameterValueChange(paramName, val, \"keyVaultSecretName\")}/>\n
    ) : (
    \n this.onParameterValueChange(paramName, val)}/>\n \n This parameter's type is 'secureString'. To avoid it being stored in plain text, please do not enter values directly. Instead use either a{\" \"}\n Sensitive Variable\n or \n Azure Key Vault\n \n
    )}\n
    );\n default:\n return (\n this.onParameterValueChange(paramName, val)}/>\n {paramValue.type === ParameterDataType.array && (\n This parameter's type is 'array'. Data should be entered in array format. Examples: [10, 100, 1000], [\"Rick\", \"Morty\"]\n )}\n {paramValue.type === ParameterDataType.object && (\n This parameter's type is 'object'. Data should be entered in object format. Example: {\"{ \\\"foo\\\": \\\"bar\\\" }\"}\n )}\n {paramValue.type === ParameterDataType.secureObject && (\n This parameter's type is 'secureObject'. To avoid it being stored in plain text, please do not enter values directly. Instead use a{\" \"}\n Sensitive Variable.\n )}\n );\n }\n }\n })()}\n
    ))}\n
    );\n }\n static displayName = \"AzureResourceGroupParameters\";\n}\n","/* eslint-disable @typescript-eslint/no-non-null-assertion */\n/* eslint-disable @typescript-eslint/no-explicit-any */\nimport { CircularProgress } from \"@octopusdeploy/design-system-components\";\nimport type { AzureResourceGroupSelectorProperties } from \"@octopusdeploy/legacy-action-properties\";\nimport type { AccountResource } from \"@octopusdeploy/octopus-server-client\";\nimport * as React from \"react\";\nimport { repository } from \"~/clientInstance\";\nimport { IconButtonWithTooltip } from \"~/components/IconButtonWithTooltip\";\nimport { BoundSelectWithActions } from \"~/components/form/SelectWithActions/SelectWithActions\";\nimport Note from \"~/primitiveComponents/form/Note/Note\";\ninterface AzureResourceGroupSelectorProps {\n projectId: string;\n localNames: string[];\n isAccountBound: boolean;\n isResourceGroupBound: boolean;\n accountId: string;\n properties: AzureResourceGroupSelectorProperties;\n getFieldError(field: string): string;\n setProperties(properties: Partial): void;\n doBusyTask(action: () => Promise): Promise;\n onIsBoundChanged: (value: boolean) => void;\n}\ninterface AzureResourceGroupSelectorState {\n account: AccountResource;\n resourceGroups: any[];\n busy: boolean; //TODO: move busy back out into props and use a HOC/Render prop component to manage this state\n}\nconst toggleBusy = (value?: boolean) => (prev: AzureResourceGroupSelectorState, props: AzureResourceGroupSelectorProps) => ({ ...prev, busy: value ? value : !prev.busy });\nexport default class AzureResourceGroupSelector extends React.Component {\n constructor(props: AzureResourceGroupSelectorProps) {\n super(props);\n this.state = {\n account: null!,\n resourceGroups: [],\n busy: false,\n };\n }\n async componentDidMount() {\n await this.loadData();\n }\n async componentDidUpdate(prevProps: AzureResourceGroupSelectorProps, prevState: AzureResourceGroupSelectorState) {\n if (prevProps.accountId !== this.props.accountId) {\n await this.loadData();\n }\n }\n async loadData() {\n this.setState(toggleBusy(true));\n try {\n await this.props.doBusyTask(async () => {\n if (!this.props.isAccountBound && this.props.accountId) {\n const account = await repository.Accounts.get(this.props.accountId);\n const resourceGroups: any = await repository.Accounts.getResourceGroups(account);\n this.setState({\n account,\n resourceGroups: Object.keys(resourceGroups).map((item) => resourceGroups[item]),\n });\n }\n else {\n this.setState({\n account: null!,\n resourceGroups: [],\n });\n }\n });\n }\n finally {\n this.setState(toggleBusy(false));\n }\n }\n private actions() {\n return [this.state.busy ? : this.loadData()} toolTipContent={\"Refresh\"} icon={\"ArrowRefreshIcon\"} accessibleName={\"Refresh\"}/>];\n }\n render() {\n return (
    \n this.props.setProperties({ [\"Octopus.Action.Azure.ResourceGroupName\"]: val })} onIsBoundChanged={(value: boolean) => this.props.onIsBoundChanged(value)} items={this.state.resourceGroups.map((item) => ({ value: item.Name, text: item.Name }))} label=\"Resource Group\" allowClear={true} allowFilter={true} error={this.props.getFieldError(\"Octopus.Action.Azure.ResourceGroupName\")} actions={this.actions()}/>\n The name of the Azure Resource Group. The Resource Group must exist.\n A Resource Group can be created through the Azure Portal, or by using the New-AzureRMResourceGroup PowerShell cmdlet.\n
    );\n }\n static displayName = \"AzureResourceGroupSelector\";\n}\n","/* eslint-disable @typescript-eslint/no-non-null-assertion */\n/* eslint-disable @typescript-eslint/no-explicit-any */\nimport { RadioButton, RadioButtonGroup, Callout } from \"@octopusdeploy/design-system-components\";\nimport type { AzureResourceGroupProperties } from \"@octopusdeploy/legacy-action-properties\";\nimport type { AccountResource, FeedResource } from \"@octopusdeploy/octopus-server-client\";\nimport { AccountType, ActionExecutionLocation, GetPrimaryPackageReference, InitialisePrimaryGitDependency, InitialisePrimaryPackageReference, Permission, RemovePrimaryGitDependency, RemovePrimaryPackageReference, SetPrimaryPackageReference, } from \"@octopusdeploy/octopus-server-client\";\nimport * as React from \"react\";\nimport { useOptionalProcessContext } from \"~/areas/projects/components/Process/Contexts/ProcessContext\";\nimport { useFeedsFromContext, useRefreshFeedsFromContext } from \"~/areas/projects/components/Process/Contexts/ProcessFeedsContextProvider\";\nimport { useGitCredentialsFromContext, useRefreshGitCredentialsFromContext } from \"~/areas/projects/components/Process/Contexts/ProcessGitCredentialsContextProvider\";\nimport { TargetRoles } from \"~/areas/projects/components/Process/types\";\nimport { buildRelatedTriggerDependencies } from \"~/areas/projects/components/Triggers/ProcessCallouts/triggerPackageRelations\";\nimport { useOptionalProjectContext } from \"~/areas/projects/context\";\nimport { repository } from \"~/clientInstance\";\nimport AzureResourceGroupSourceCodeDialog from \"~/components/Actions/azure/AzureResourceGroupSourceCodeDialog\";\nimport { BaseComponent } from \"~/components/BaseComponent/BaseComponent\";\nimport { CodeEditor, TextFormat } from \"~/components/CodeEditor/CodeEditor\";\nimport OpenDialogButton from \"~/components/Dialog/OpenDialogButton\";\nimport { isFeatureToggleEnabled } from \"~/components/FeatureToggle/New/FeatureToggleContext\";\nimport { GitRepositorySourceSelector, isProjectRepositoryGitSourceSupported } from \"~/components/GitRepositorySource/GitRepositorySourceSelector\";\nimport PackageSelector from \"~/components/PackageSelector/PackageSelector\";\nimport { ExpandableFormSection, FormSectionHeading, Note, Summary } from \"~/components/form\";\nimport { CardFill } from \"~/components/form/Sections/ExpandableFormSection\";\nimport { VariableLookupText } from \"~/components/form/VariableLookupText\";\nimport { BoundSelect } from \"~/primitiveComponents/form/Select/Select\";\nimport CommonSummaryHelper from \"~/utils/CommonSummaryHelper/CommonSummaryHelper\";\nimport PermissionCheck, { isAllowed } from \"../../PermissionCheck/PermissionCheck\";\nimport { BoundAccountSelect } from \"../../form/AccountSelect/AccountSelect\";\nimport { AccountSelectionSummary } from \"../../form/AccountSelect/AccountSelectionSummary\";\nimport isBound from \"../../form/BoundField/isBound\";\nimport { OverflowSummary, PlaceholderSummary } from \"../../form/Sections/Summary\";\nimport Roles from \"../Roles\";\nimport type { ActionSummaryProps } from \"../actionSummaryProps\";\nimport type { ActionWithFeeds, ActionWithGitRepositorySource } from \"../commonActionHelpers\";\nimport { DockerReferenceListFormSection } from \"../packageReferences\";\nimport type { ActionEditProps } from \"../pluginRegistry\";\nimport pluginRegistry from \"../pluginRegistry\";\nimport type { ScriptPackageProperties } from \"../script/ScriptPackageReferenceDialog\";\nimport AzureResourceGroupParameters from \"./AzureResourceGroupParameters\";\nimport AzureResourceGroupSelector from \"./AzureResourceGroupSelector\";\nimport { AzureBundledToolsForCustomScriptsEdit } from \"./azureBundledTools\";\nclass AzureResourceGroupActionSummary extends BaseComponent {\n render() {\n return (
    \n Deploy an Azure Resource Manager Template\n {this.props.targetRolesAsCSV && (\n {\" \"}\n on behalf of targets with \n )}\n
    );\n }\n static displayName = \"AzureResourceGroupActionSummary\";\n}\ninterface AzureResourceGroupActionEditState {\n accounts: AccountResource[];\n accountIsBound: boolean;\n resourceGroupIsBound: boolean;\n}\ntype ResourceGroupAccountSummaryProps = {\n account: AccountResource;\n resourceGroupName: string;\n resourceGroupDeploymentMode: string;\n};\nconst ResourceGroupSummary: React.FC<{\n resourceGroupName: string;\n}> = ({ resourceGroupName }) => {\n return (\n {resourceGroupName ? (<>\n and the {resourceGroupName} resource group\n ) : (<>\n and (no resource group selected)\n )}\n );\n};\nResourceGroupSummary.displayName = \"ResourceGroupSummary\"\nconst ResourceGroupDeploymentModeSummary: React.FC<{\n resourceGroupDeploymentMode: string;\n}> = ({ resourceGroupDeploymentMode }) => {\n return (\n {resourceGroupDeploymentMode ? (<>\n with the {resourceGroupDeploymentMode} deployment mode\n ) : (<>\n with no deployment mode selected\n )}\n );\n};\nResourceGroupDeploymentModeSummary.displayName = \"ResourceGroupDeploymentModeSummary\"\nconst AccountNameSummary: React.FC<{\n account: AccountResource;\n}> = ({ account }) => (\n Using the {account.Name} account\n );\nAccountNameSummary.displayName = \"AccountNameSummary\"\nconst ResourceGroupAccountSummary: React.FC = ({ account, resourceGroupName, resourceGroupDeploymentMode }) => {\n return (\n \n );\n};\nResourceGroupAccountSummary.displayName = \"ResourceGroupAccountSummary\"\ntype AzureResourceGroupActionEditProps = ActionEditProps;\ntype AzurePowershellActionEditInternalProps = AzureResourceGroupActionEditProps & ActionWithFeeds & ActionWithGitRepositorySource;\nconst AzureResourceGroupActionEdit: React.FC = (props) => {\n const feeds = useFeedsFromContext();\n const refreshFeeds = useRefreshFeedsFromContext();\n const gitCredentials = useGitCredentialsFromContext();\n const refreshGitCredentials = useRefreshGitCredentialsFromContext();\n const projectContext = useOptionalProjectContext();\n const processContext = useOptionalProcessContext();\n return ();\n};\nAzureResourceGroupActionEdit.displayName = \"AzureResourceGroupActionEdit\"\nclass AzureResourceGroupActionEditInternal extends BaseComponent {\n parameterValues: {};\n parameters: {};\n invalidTemplateParameters: any[] = undefined!;\n source: any;\n armJsonParamTypeArray = \"array\";\n armJsonParamTypes = [this.armJsonParamTypeArray, \"object\", \"secureObject\"];\n constructor(props: AzurePowershellActionEditInternalProps) {\n super(props);\n this.state = {\n accounts: [],\n accountIsBound: isBound(props.properties[\"Octopus.Action.Azure.AccountId\"], false),\n resourceGroupIsBound: isBound(props.properties[\"Octopus.Action.Azure.ResourceGroupName\"], false),\n };\n this.parameterValues = {};\n this.parameters = {};\n this.source = { octopus: \"octopus\", azureKeyVault: \"azureKeyVault\" };\n }\n async componentDidMount() {\n await this.props.doBusyTask(async () => {\n if (isAllowed({ permission: Permission.AccountView, wildcard: true })) {\n this.setState({\n accounts: await repository.Accounts.all(),\n });\n }\n if (!this.props.properties[\"Octopus.Action.Azure.ResourceGroupDeploymentMode\"]) {\n this.props.setProperties({ [\"Octopus.Action.Azure.ResourceGroupDeploymentMode\"]: \"Incremental\" }, true);\n }\n if (!this.props.properties[\"Octopus.Action.Azure.TemplateSource\"]) {\n this.props.setProperties({ [\"Octopus.Action.Azure.TemplateSource\"]: \"Inline\" }, true);\n }\n else if (this.props.packages.length === 0 && this.props.properties[\"Octopus.Action.Azure.TemplateSource\"] === \"Package\") {\n this.props.setPackages(InitialisePrimaryPackageReference(this.props.packages, this.props.feeds), true);\n }\n });\n }\n accountSummary() {\n const resourceGroupName = this.props.properties[\"Octopus.Action.Azure.ResourceGroupName\"];\n const resourceGroupDeploymentMode = this.props.properties[\"Octopus.Action.Azure.ResourceGroupDeploymentMode\"];\n const accountId = this.props.properties[\"Octopus.Action.Azure.AccountId\"];\n return ( } renderMissing={() => No account has been selected}/>);\n }\n templateSourceSummary() {\n const source = this.props.properties[\"Octopus.Action.Azure.TemplateSource\"];\n if (source === \"Inline\") {\n return Summary.summary(\"Source code\");\n }\n if (source === \"Package\") {\n return Summary.summary(\"File inside a package\");\n }\n if (source === \"GitRepository\") {\n return Summary.summary(\"File inside a Git repository\");\n }\n return Summary.placeholder(\"Template source not specified\");\n }\n pathsSummary() {\n const summary = [];\n this.props.properties[\"Octopus.Action.Azure.ResourceGroupTemplate\"]\n ? summary.push(\n Using the template in {this.props.properties[\"Octopus.Action.Azure.ResourceGroupTemplate\"]}\n )\n : summary.push(\n {\" \"}\n no template path specified\n );\n this.props.properties[\"Octopus.Action.Azure.ResourceGroupTemplateParameters\"]\n ? summary.push(\n {\" \"}\n with the parameters in {this.props.properties[\"Octopus.Action.Azure.ResourceGroupTemplateParameters\"]}\n )\n : summary.push(\n {\" \"}\n no parameters path specified\n );\n return Summary.summary(React.Children.toArray(summary));\n }\n onChangeTemplateSource(value: string) {\n this.props.setProperties({\n [\"Octopus.Action.Azure.TemplateSource\"]: value,\n [\"Octopus.Action.Azure.ResourceGroupTemplate\"]: \"\",\n [\"Octopus.Action.Azure.ResourceGroupTemplateParameters\"]: \"\",\n });\n // If the inline option is selected, we clear out the package selection\n if (value === \"Package\") {\n this.props.setPackages(InitialisePrimaryPackageReference(this.props.packages, this.props.feeds));\n }\n else {\n this.props.setPackages(RemovePrimaryPackageReference(this.props.packages));\n }\n if (value === \"GitRepository\") {\n if (isProjectRepositoryGitSourceSupported(this.props.project?.PersistenceSettings, this.props.processType)) {\n this.props.setProperties({ [\"Octopus.Action.GitRepository.Source\"]: \"Project\" });\n this.props.setGitDependencies?.(RemovePrimaryGitDependency(this.props.gitDependencies), false);\n }\n else {\n this.props.setProperties({ [\"Octopus.Action.GitRepository.Source\"]: \"External\" });\n this.props.setGitDependencies?.(InitialisePrimaryGitDependency(this.props.gitDependencies), false);\n }\n }\n else {\n this.props.setProperties({ [\"Octopus.Action.GitRepository.Source\"]: \"\" });\n this.props.setGitDependencies?.(RemovePrimaryGitDependency(this.props.gitDependencies), false);\n }\n }\n getAccountId = () => {\n return isBound(this.props.properties[\"Octopus.Action.Azure.AccountId\"]) ? undefined : this.props.properties[\"Octopus.Action.Azure.AccountId\"];\n };\n render() {\n const properties = this.props.properties;\n const pkg = GetPrimaryPackageReference(this.props.packages);\n const gitSourcingEnabled = isFeatureToggleEnabled(\"GitSourcingIaCStepsFeatureToggle\");\n return (
    \n \n \n \n The {Permission.AccountView} permission is required to change the Azure settings.\n }>\n \n this.setState({ accountIsBound: value })} type={[AccountType.AzureServicePrincipal, AccountType.AzureOidc]} allowClear={true} onChange={(x) => this.props.setProperties({ [\"Octopus.Action.Azure.AccountId\"]: x })} error={this.props.getFieldError(\"Octopus.Action.Azure.AccountId\")} items={this.state.accounts} onRequestRefresh={this.refreshAccounts}/>\n this.setState({ resourceGroupIsBound: value })} localNames={this.props.localNames!}/>\n ({ value: item, text: item }))} onChange={(val) => this.props.setProperties({ [\"Octopus.Action.Azure.ResourceGroupDeploymentMode\"]: val })} error={this.props.getFieldError(\"Octopus.Action.Azure.ResourceGroupDeploymentMode\")}/>\n \n \n \n \n {gitSourcingEnabled ? Templates can be entered as source-code, contained in a package or a Git repository. : Templates can be entered as source-code, or contained in a package.}\n this.onChangeTemplateSource(val)} error={this.props.getFieldError(\"Octopus.Action.Azure.TemplateSource\")}>\n \n {gitSourcingEnabled && }\n \n \n {this.props.properties[\"Octopus.Action.Azure.TemplateSource\"] === \"Inline\" && (
    \n
    \n {this.props.properties[\"Octopus.Action.Azure.ResourceGroupTemplate\"] && (<>\n this.props.setProperties({ [\"Octopus.Action.Azure.ResourceGroupTemplate\"]: value })} showToolbar={true} readOnly={true} showCopyButton={true}/>\n
    \n )}\n
    \n ( this.props.setProperties({ [\"Octopus.Action.Azure.ResourceGroupTemplate\"]: val })}/>)}/>\n
    \n
    )}\n
    \n {!gitSourcingEnabled && this.props.properties[\"Octopus.Action.Azure.TemplateSource\"] === \"Package\" && (
    \n \n this.props.setPackages(SetPrimaryPackageReference({ PackageId: packageId }, this.props.packages))} onFeedIdChange={(feedId) => this.props.setPackages(SetPrimaryPackageReference({ FeedId: feedId }, this.props.packages))} onPackageVersionChange={(version) => this.props.setPackages(SetPrimaryPackageReference({ Version: version }, this.props.packages))} packageIdError={this.props.getFieldError(\"Octopus.Action.Package.PackageId\")} feedIdError={this.props.getFieldError(\"Octopus.Action.Package.FeedId\")} projectId={this.props.projectId} feeds={this.props.feeds} localNames={this.props.localNames} refreshFeeds={this.loadFeeds}/>\n \n\n \n this.props.setProperties({ [\"Octopus.Action.Azure.ResourceGroupTemplate\"]: val })} error={this.props.getFieldError(\"Octopus.Action.Azure.ResourceGroupTemplate\")}/>\n Relative path to the JSON template file contained in the package e.g. template.json or path\\template.json\n this.props.setProperties({ [\"Octopus.Action.Azure.ResourceGroupTemplateParameters\"]: val })} error={this.props.getFieldError(\"Octopus.Action.Azure.ResourceGroupTemplateParameters\")}/>\n Relative path to the JSON parameters file contained in the package e.g. parameters.json or path\\parameters.json\n \n
    )}\n {gitSourcingEnabled && this.props.properties[\"Octopus.Action.Azure.TemplateSource\"] === \"Package\" && (
    \n \n this.props.setPackages(SetPrimaryPackageReference({ PackageId: packageId }, this.props.packages))} onFeedIdChange={(feedId) => this.props.setPackages(SetPrimaryPackageReference({ FeedId: feedId }, this.props.packages))} packageIdError={this.props.getFieldError(\"Octopus.Action.Package.PackageId\")} feedIdError={this.props.getFieldError(\"Octopus.Action.Package.FeedId\")} projectId={this.props.projectId} feeds={this.props.feeds} localNames={this.props.localNames} refreshFeeds={this.loadFeeds}/>\n \n {this.externalTemplateFieldsSection()}\n
    )}\n {this.props.properties[\"Octopus.Action.Azure.TemplateSource\"] === \"GitRepository\" && (<>\n \n {this.externalTemplateFieldsSection()}\n )}\n {this.props.properties[\"Octopus.Action.Azure.TemplateSource\"] === \"Inline\" && (
    \n \n \n
    )}\n \n
    );\n }\n private refreshAccounts = () => {\n return this.props.doBusyTask(async () => {\n this.setState({ accounts: await repository.Accounts.all() });\n });\n };\n private loadFeeds = async (callback?: (feeds: FeedResource[]) => void) => {\n await this.props.refreshFeeds();\n };\n private externalTemplateFieldsSection = () => {\n const templateSource = this.props.properties[\"Octopus.Action.Azure.TemplateSource\"];\n const templateSourceDescription = templateSource === \"GitRepository\" ? \"Git repository\" : \"Package\";\n return (\n this.props.setProperties({ [\"Octopus.Action.Azure.ResourceGroupTemplate\"]: val })} error={this.props.getFieldError(\"Octopus.Action.Azure.ResourceGroupTemplate\")}/>\n Relative path to the JSON template file contained in the {templateSourceDescription} e.g. template.json or path\\template.json\n this.props.setProperties({ [\"Octopus.Action.Azure.ResourceGroupTemplateParameters\"]: val })} error={this.props.getFieldError(\"Octopus.Action.Azure.ResourceGroupTemplateParameters\")}/>\n Relative path to the JSON parameters file contained in the {templateSourceDescription} e.g. parameters.json or path\\parameters.json\n );\n };\n static displayName = \"AzureResourceGroupActionEditInternal\";\n}\npluginRegistry.registerAction({\n executionLocation: ActionExecutionLocation.AlwaysOnServer,\n actionType: \"Octopus.AzureResourceGroup\",\n summary: (properties, targetRolesAsCSV) => ,\n canHaveChildren: (step) => true,\n canBeChild: true,\n editSections: { default: AzureResourceGroupActionEdit },\n targetRoleOption: (action) => TargetRoles.Optional,\n hasPackages: (action) => false,\n features: {\n optional: [\"Octopus.Features.CustomScripts\", \"Octopus.Features.SelectPowerShellEditionForWindows\"],\n },\n getInitialProperties: () => {\n return {\n OctopusUseBundledTooling: \"False\",\n };\n },\n});\n","import { links } from \"@octopusdeploy/portal-routes\";\nimport * as React from \"react\";\nimport { IconButtonWithTooltip } from \"~/components/IconButtonWithTooltip/index\";\nimport { useSpaceAwareNavigation } from \"~/components/Navigation/SpaceAwareNavigation/useSpaceAwareNavigation\";\ninterface AddVariableIconButtonProps {\n projectSlugOrId: string;\n spaceId: string;\n}\nexport function AddVariableIconButton({ spaceId, projectSlugOrId }: AddVariableIconButtonProps) {\n const navigate = useSpaceAwareNavigation();\n const navigateToAddProjectVariablePage = () => {\n const link = links.variablesPage.generateUrl({ spaceId, projectSlug: projectSlugOrId });\n navigate.open(link);\n };\n return ;\n}\n","/* eslint-disable @typescript-eslint/no-non-null-assertion */\n/* eslint-disable @typescript-eslint/no-explicit-any */\nimport { CircularProgress } from \"@octopusdeploy/design-system-components\";\nimport type { ProjectResource, ActionTemplateParameterResource, GitRefResource, VariableResource } from \"@octopusdeploy/octopus-server-client\";\nimport { HasVariablesInGit, ControlType, VariableType, HasGitPersistenceSettings } from \"@octopusdeploy/octopus-server-client\";\nimport * as _ from \"lodash\";\nimport * as React from \"react\";\nimport { repository } from \"~/clientInstance\";\nimport { IconButtonWithTooltip } from \"~/components/IconButtonWithTooltip\";\nimport type FormFieldProps from \"~/components/form/FormFieldProps\";\nimport Select from \"~/primitiveComponents/form/Select/Select\";\nimport IconButtonList from \"../../IconButtonList/IconButtonList\";\nimport InputWithActions from \"../../InputWithActions\";\nimport { AddVariableIconButton } from \"../AddVariableIconButton\";\ninterface CertificateVariableSelectProps extends FormFieldProps {\n projectId: string;\n gitRef: GitRefResource | undefined;\n allowClear?: boolean;\n disabled?: boolean;\n label?: string | JSX.Element;\n error?: string;\n warning?: string;\n validate?(value: string): string;\n onValidate?(value: string): void;\n doBusyTask(action: () => Promise): Promise;\n}\ninterface CertificateVariableSelectState {\n error?: string;\n refreshing: boolean;\n project: ProjectResource | null;\n variables: string[];\n isDataLoaded: boolean;\n}\nclass ProjectCertificateVariableSelect extends React.Component {\n constructor(props: CertificateVariableSelectProps) {\n super(props);\n this.state = {\n refreshing: false,\n project: null,\n variables: [],\n isDataLoaded: false,\n };\n }\n handleChange = (certificateVariable: any) => {\n const value = certificateVariable === \"\" ? null : certificateVariable;\n if (this.props.validate) {\n const result = this.props.validate(value);\n this.setState({ error: result });\n if (this.props.onValidate) {\n this.props.onValidate(result);\n }\n }\n if (this.props.onChange) {\n this.props.onChange(value);\n }\n };\n async componentDidMount() {\n await this.props.doBusyTask(async () => {\n const project = await repository.Projects.get(this.props.projectId);\n const variables = await this.getCertificateVariables(project, this.props.gitRef);\n this.setState({ project, variables, isDataLoaded: true });\n });\n }\n render() {\n if (!this.state.isDataLoaded) {\n return ;\n }\n const { onChange, onValidate, projectId, doBusyTask, ...otherProps } = this.props;\n return ( ({ value: v, text: v }))}/>} actions={}/>);\n }\n private getButtons() {\n const buttons = [];\n if (!this.state.refreshing) {\n buttons.push();\n }\n else {\n buttons.push();\n }\n buttons.push();\n return buttons;\n }\n private getCertificateVariables = async (project: ProjectResource, gitRef: GitRefResource | undefined) => {\n const libraryVariableSets = await Promise.all(project.IncludedLibraryVariableSetIds.map((libraryVariableSetId) => repository.LibraryVariableSets.get(libraryVariableSetId)));\n const templates = _.union(project.Templates, _.flattenDeep(libraryVariableSets.map((lvs) => lvs.Templates)))\n .filter((template: ActionTemplateParameterResource) => !!template.DisplaySettings && template.DisplaySettings[\"Octopus.ControlType\"] === ControlType.Certificate)\n .map((v) => v.Name);\n const variableSetIds = _.union([project.VariableSetId], libraryVariableSets.map((lvs) => lvs.VariableSetId));\n const variableResults = await Promise.all(variableSetIds.map(async (variableSetId) => (await repository.Variables.get(variableSetId)).Variables));\n if (HasGitPersistenceSettings(project.PersistenceSettings) && HasVariablesInGit(project.PersistenceSettings)) {\n if (!gitRef) {\n const result = await repository.Projects.validateGitRef(project, project.PersistenceSettings.DefaultBranch);\n gitRef = result.GitRef;\n }\n if (gitRef) {\n variableResults.push((await repository.Variables.getForGitRef(gitRef)).Variables);\n }\n }\n const variables = _.flattenDeep(variableResults)\n .filter((v: VariableResource) => v.Type === VariableType.Certificate)\n .map((v) => v.Name);\n return _.chain(variables).union(templates).sort().uniq().value();\n };\n private onRequestRefresh = async () => {\n if (!this.state.project) {\n return;\n }\n this.setState({ refreshing: true });\n try {\n const variables = await this.getCertificateVariables(this.state.project, this.props.gitRef);\n this.setState({ variables });\n }\n finally {\n this.setState({ refreshing: false });\n }\n };\n static displayName = \"ProjectCertificateVariableSelect\";\n}\nexport default ProjectCertificateVariableSelect;\n","/* eslint-disable @typescript-eslint/no-non-null-assertion */\n/* eslint-disable @typescript-eslint/no-explicit-any */\n/* eslint-disable @typescript-eslint/consistent-type-assertions */\nimport { RadioButton } from \"@octopusdeploy/design-system-components\";\nimport type { AzureServiceFabricAccountSelectorProperties } from \"@octopusdeploy/legacy-action-properties\";\nimport type { GitRefResource, ProjectResource } from \"@octopusdeploy/octopus-server-client\";\nimport { AzureServiceFabricSecurityMode, AADCredentialType } from \"@octopusdeploy/octopus-server-client\";\nimport * as React from \"react\";\nimport { repository } from \"~/clientInstance\";\nimport ExternalLink from \"~/components/Navigation/ExternalLink/ExternalLink\";\nimport ProjectCertificateVariableSelect from \"~/components/form/CertificateSelect/ProjectCertificateVariableSelect\";\nimport type { SummaryNode } from \"~/components/form/Sections/ExpandableFormSection\";\nimport ExpandableFormSection from \"~/components/form/Sections/ExpandableFormSection\";\nimport Summary from \"~/components/form/Sections/Summary\";\nimport { BoundSensitive } from \"~/components/form/Sensitive/Sensitive\";\nimport { VariableLookupText } from \"~/components/form/VariableLookupText\";\nimport Note from \"~/primitiveComponents/form/Note/Note\";\nimport { BoundRadioButtonGroup } from \"~/primitiveComponents/form/RadioButton/BoundRadioButtonGroup\";\ninterface AzureServiceFabricAccountSelectorProps {\n projectId: string;\n gitRef: GitRefResource | undefined;\n localNames: string[];\n properties: AzureServiceFabricAccountSelectorProperties;\n clientCertVariableResetValue: string;\n expandedByDefault: boolean;\n setProperties(properties: Partial): void;\n getFieldError(field: string): string;\n doBusyTask(action: () => Promise): Promise;\n}\ninterface AzureServiceFabricAccountSelectorState {\n project: ProjectResource;\n}\nexport default class AzureServiceFabricAccountSelector extends React.Component {\n constructor(props: AzureServiceFabricAccountSelectorProps) {\n super(props);\n this.state = {\n project: null!,\n };\n }\n async componentDidMount() {\n await this.props.doBusyTask(async () => {\n const project = this.props.projectId ? await repository.Projects.get(this.props.projectId) : null!;\n this.setState({\n project,\n });\n });\n }\n render() {\n const properties = this.props.properties;\n const securityModeErrorKey = \"Octopus.Action.ServiceFabric.SecurityMode|\" + \"Octopus.Action.ServiceFabric.ServerCertThumbprint|\" + \"Octopus.Action.ServiceFabric.ClientCertVariable|\" + \"Octopus.Action.ServiceFabric.AadClientCredentialSecret\";\n return (
    \n \n {\n this.props.setProperties({ [\"Octopus.Action.ServiceFabric.ConnectionEndpoint\"]: x });\n if (!x) {\n // This is a key field in determining legacy Azure steps, so if this is cleared, also\n // clear related data that is now contributed by the target.\n this.props.setProperties({\n [\"Octopus.Action.ServiceFabric.IsLegacyMode\"]: null!,\n [\"Octopus.Action.ServiceFabric.ConnectionEndpoint\"]: null!,\n [\"Octopus.Action.ServiceFabric.SecurityMode\"]: null!,\n [\"Octopus.Action.ServiceFabric.ServerCertThumbprint\"]: null!,\n [\"Octopus.Action.ServiceFabric.ClientCertVariable\"]: null!,\n [\"Octopus.Action.ServiceFabric.AadCredentialType\"]: null!,\n [\"Octopus.Action.ServiceFabric.AadClientCredentialSecret\"]: null!,\n [\"Octopus.Action.ServiceFabric.AadUserCredentialUsername\"]: null!,\n [\"Octopus.Action.ServiceFabric.AadUserCredentialPassword\"]: null!,\n });\n }\n }} error={this.props.getFieldError(\"Octopus.Action.ServiceFabric.ConnectionEndpoint\")} label=\"Connection endpoint\"/>\n \n\n \n this.props.setProperties({ [\"Octopus.Action.ServiceFabric.SecurityMode\"]: x })} title=\"Security mode\">\n \n \n \n To learn about client certificate authentication, please see the Connecting Securely with Client Certificates documentation.\n \n \n \n To learn about AAD authentication, please see the Connecting Securely with Azure Active Directory documentation.\n \n \n\n {properties[\"Octopus.Action.ServiceFabric.SecurityMode\"] !== AzureServiceFabricSecurityMode.Unsecure && (
    \n this.props.setProperties({ [\"Octopus.Action.ServiceFabric.ServerCertThumbprint\"]: x })} error={this.props.getFieldError(\"Octopus.Action.ServiceFabric.ServerCertThumbprint\")} label=\"Server certificate thumbprint\"/>\n The server certificate thumbprint used to communicate with the secure cluster.\n
    )}\n\n {properties[\"Octopus.Action.ServiceFabric.SecurityMode\"] === AzureServiceFabricSecurityMode.SecureClientCertificate && (
    \n {this.state.project ? ( this.props.setProperties({ [\"Octopus.Action.ServiceFabric.ClientCertVariable\"]: x })}/>) : ( this.props.setProperties({ [\"Octopus.Action.ServiceFabric.ClientCertVariable\"]: x })} error={this.props.getFieldError(\"Octopus.Action.ServiceFabric.ClientCertVariable\")} label=\"Client certificate\"/>)}\n The client certificate used to communicate with the secure cluster.\n
    )}\n\n {properties[\"Octopus.Action.ServiceFabric.SecurityMode\"] === AzureServiceFabricSecurityMode.SecureAzureAD && (
    \n {/*NOTE: mark.siedle - ClientCredential is not currently supported on Azure. Uncomment this when they do add support for it.*/}\n {false && (
    \n this.props.setProperties({ [\"Octopus.Action.ServiceFabric.AadCredentialType\"]: x })} title=\"Credential type\">\n \n \n \n The credential type to use for AAD authentication.\n
    )}\n\n {properties[\"Octopus.Action.ServiceFabric.AadCredentialType\"] === AADCredentialType.ClientCredential && (
    \n this.props.setProperties({ [\"Octopus.Action.ServiceFabric.AadClientCredentialSecret\"]: x })} error={this.props.getFieldError(\"Octopus.Action.ServiceFabric.AadClientCredentialSecret\")} label=\"Client application secret\"/>\n The client application secret used to communicate with the secure cluster.\n
    )}\n\n {properties[\"Octopus.Action.ServiceFabric.AadCredentialType\"] === AADCredentialType.UserCredential && (
    \n this.props.setProperties({ [\"Octopus.Action.ServiceFabric.AadUserCredentialUsername\"]: x })} error={this.props.getFieldError(\"Octopus.Action.ServiceFabric.AadUserCredentialUsername\")} label=\"Username\"/>\n The Azure AD user's username used to communicate with the secure cluster.\n this.props.setProperties({ [\"Octopus.Action.ServiceFabric.AadUserCredentialPassword\"]: x as any })} error={this.props.getFieldError(\"Octopus.Action.ServiceFabric.AadUserCredentialPassword\")} label=\"Password\"/>\n The Azure AD user's password used to communicate with the secure cluster.\n
    )}\n
    )}\n
    \n
    );\n }\n private endpointSummary(): SummaryNode {\n if (this.props.properties[\"Octopus.Action.ServiceFabric.ConnectionEndpoint\"]) {\n return Summary.summary(this.props.properties[\"Octopus.Action.ServiceFabric.ConnectionEndpoint\"]);\n }\n return Summary.placeholder(\"The connection endpoint has not been set\");\n }\n private securityModeSummary(): SummaryNode {\n if (this.props.properties[\"Octopus.Action.ServiceFabric.SecurityMode\"] === AzureServiceFabricSecurityMode.Unsecure) {\n return Summary.default(\"Unsecure\");\n }\n const summary = [];\n const thumbprint = this.props.properties[\"Octopus.Action.ServiceFabric.ServerCertThumbprint\"];\n if (this.props.properties[\"Octopus.Action.ServiceFabric.SecurityMode\"] === AzureServiceFabricSecurityMode.SecureClientCertificate) {\n summary.push(\n Security mode is Client Certificate\n );\n this.contributeCertificateThumbprintSummary(thumbprint, summary);\n if (!this.props.properties[\"Octopus.Action.ServiceFabric.ClientCertVariable\"]) {\n summary.push(\n , the client certificate has not been set\n );\n }\n else {\n summary.push(, the client certificate has been set);\n }\n return Summary.summary(React.Children.toArray(summary));\n }\n if (this.props.properties[\"Octopus.Action.ServiceFabric.SecurityMode\"] === AzureServiceFabricSecurityMode.SecureAzureAD) {\n summary.push(\n Security mode is Azure Active Directory\n );\n this.contributeCertificateThumbprintSummary(thumbprint, summary);\n if (!this.props.properties[\"Octopus.Action.ServiceFabric.AadUserCredentialUsername\"]) {\n summary.push(\n , the AAD credentials have not been set\n );\n }\n else {\n summary.push(, the AAD credentials have been set);\n }\n return Summary.summary(React.Children.toArray(summary));\n }\n return Summary.placeholder(\"Security mode has not been set\");\n }\n private contributeCertificateThumbprintSummary(thumbprint: string, summary: any[]) {\n if (!thumbprint) {\n summary.push(\n , the certificate thumbprint has not been set\n );\n }\n else {\n summary.push(, the certificate thumbprint has been set);\n }\n }\n static displayName = \"AzureServiceFabricAccountSelector\";\n}\n","import { Callout } from \"@octopusdeploy/design-system-components\";\nimport * as React from \"react\";\nimport ExternalLink from \"~/components/Navigation/ExternalLink/ExternalLink\";\nimport Note from \"../../../primitiveComponents/form/Note/Note\";\nconst AzureServiceFabricSdkRequiredInfo = (props: {}) => {\n return (\n The Service Fabric SDK must be installed on the Octopus Server for this step.{\" \"}\n \n {\" \"}\n Learn more about Deploying to Service Fabric.\n \n );\n};\nexport default AzureServiceFabricSdkRequiredInfo;\n","/* eslint-disable @typescript-eslint/no-non-null-assertion */\nimport { Callout, RadioButton } from \"@octopusdeploy/design-system-components\";\nimport type { AzureServiceFabricAppProperties } from \"@octopusdeploy/legacy-action-properties\";\nimport { AADCredentialType, ActionExecutionLocation, AzureServiceFabricSecurityMode, GetPrimaryPackageReference, InitialisePrimaryPackageReference, SetPrimaryPackageReference } from \"@octopusdeploy/octopus-server-client\";\nimport * as React from \"react\";\nimport { useFeedsFromContext, useRefreshFeedsFromContext } from \"~/areas/projects/components/Process/Contexts/ProcessFeedsContextProvider\";\nimport { TargetRoles } from \"~/areas/projects/components/Process/types\";\nimport AzureServiceFabricAccountSelector from \"~/components/Actions/azure/AzureServiceFabricAccountSelector\";\nimport AzureServiceFabricSdkRequiredInfo from \"~/components/Actions/azure/AzureServiceFabricSdkRequiredInfo\";\nimport { BaseComponent } from \"~/components/BaseComponent/BaseComponent\";\nimport ExternalLink from \"~/components/Navigation/ExternalLink/ExternalLink\";\nimport DeferredPackageSelector from \"~/components/PackageSelector/DeferredPackageSelector\";\nimport { UnstructuredFormSection } from \"~/components/form\";\nimport type { SummaryNode } from \"~/components/form/Sections/ExpandableFormSection\";\nimport ExpandableFormSection from \"~/components/form/Sections/ExpandableFormSection\";\nimport FormSectionHeading from \"~/components/form/Sections/FormSectionHeading\";\nimport Summary from \"~/components/form/Sections/Summary\";\nimport { VariableLookupText } from \"~/components/form/VariableLookupText\";\nimport { BoundStringCheckbox } from \"~/primitiveComponents/form/Checkbox/StringCheckbox\";\nimport Note from \"~/primitiveComponents/form/Note/Note\";\nimport { BoundRadioButtonGroup } from \"~/primitiveComponents/form/RadioButton/BoundRadioButtonGroup\";\nimport CommonSummaryHelper from \"~/utils/CommonSummaryHelper/CommonSummaryHelper\";\nimport { DisplayFeedName } from \"../DisplayFeedName\";\nimport Roles from \"../Roles\";\nimport type { ActionSummaryProps } from \"../actionSummaryProps\";\nimport type { ActionWithFeeds } from \"../commonActionHelpers\";\nimport { getChangesToPackageReference } from \"../getChangesToPackageReference\";\nimport type { ActionEditProps } from \"../pluginRegistry\";\nimport pluginRegistry from \"../pluginRegistry\";\nimport { AzureBundledToolsForCustomScriptsEdit } from \"./azureBundledTools\";\ninterface AzureServiceFabricAppActionSummaryState {\n feedName: string | null;\n}\nclass AzureServiceFabricAppActionSummary extends BaseComponent {\n constructor(props: ActionSummaryProps) {\n super(props);\n }\n render() {\n const pkg = GetPrimaryPackageReference(this.props.packages);\n return pkg ? (
    \n {\"Deploy Service Fabric Application\"} {pkg.PackageId} {\"from\"} \n {this.props.targetRolesAsCSV && (\n {\" \"}\n on behalf of targets with {\" \"}\n )}\n
    ) : (\n Package was not selected or cannot be found. Please review this step and ensure a valid package is selected.\n );\n }\n static displayName = \"AzureServiceFabricAppActionSummary\";\n}\nenum UpgradeBehavior {\n None = \"None\",\n ForceUpgrade = \"ForceUpgrade\",\n VetoUpgrade = \"VetoUpgrade\"\n}\nenum OverwriteBehavior {\n Never = \"Never\",\n Always = \"Always\",\n SameAppTypeAndVersion = \"SameAppTypeAndVersion\"\n}\ninterface AzureServiceFabricAppState {\n resetValues: {\n ClientCertVariable: string;\n };\n}\ntype AzureServiceFabricAppActionEditProps = ActionEditProps;\ntype Props = AzureServiceFabricAppActionEditProps & ActionWithFeeds;\nclass AzureServiceFabricAppActionEditInternal extends BaseComponent {\n constructor(props: Props) {\n super(props);\n this.state = {\n resetValues: {\n ClientCertVariable: props.properties[\"Octopus.Action.ServiceFabric.ClientCertVariable\"],\n },\n };\n }\n componentDidUpdate(prevProps: Props) {\n if (this.props.properties[\"Octopus.Action.ServiceFabric.ConnectionEndpoint\"] !== prevProps.properties[\"Octopus.Action.ServiceFabric.ConnectionEndpoint\"] ||\n this.props.properties[\"Octopus.Action.ServiceFabric.IsLegacyMode\"] !== prevProps.properties[\"Octopus.Action.ServiceFabric.IsLegacyMode\"]) {\n this.props.refreshRunOn && this.props.refreshRunOn();\n }\n }\n async componentDidMount() {\n this.props.setPackages(InitialisePrimaryPackageReference(this.props.packages, this.props.feeds), true);\n await this.props.doBusyTask(async () => {\n const newProperties: Partial = {};\n const isLegacyActionType = !!this.props.properties[\"Octopus.Action.ServiceFabric.ConnectionEndpoint\"];\n if (isLegacyActionType) {\n if (!this.props.properties[\"Octopus.Action.ServiceFabric.SecurityMode\"]) {\n newProperties[\"Octopus.Action.ServiceFabric.SecurityMode\"] = AzureServiceFabricSecurityMode.Unsecure;\n }\n if (!this.props.properties[\"Octopus.Action.ServiceFabric.AadCredentialType\"]) {\n newProperties[\"Octopus.Action.ServiceFabric.AadCredentialType\"] = AADCredentialType.UserCredential;\n }\n newProperties[\"Octopus.Action.ServiceFabric.IsLegacyMode\"] = \"True\";\n }\n if (!this.props.properties[\"Octopus.Action.ServiceFabric.OverrideUpgradeBehavior\"]) {\n newProperties[\"Octopus.Action.ServiceFabric.OverrideUpgradeBehavior\"] = UpgradeBehavior.None;\n }\n if (!this.props.properties[\"Octopus.Action.ServiceFabric.OverwriteBehavior\"]) {\n newProperties[\"Octopus.Action.ServiceFabric.OverwriteBehavior\"] = OverwriteBehavior.SameAppTypeAndVersion;\n }\n this.props.setProperties(newProperties, true);\n });\n }\n render() {\n // The package is initialized in componentDidMount, but render gets called before the update is propagated\n if (!this.props.packages || this.props.packages.length === 0) {\n return null;\n }\n const properties = this.props.properties;\n const pkg = GetPrimaryPackageReference(this.props.packages);\n const isLegacyActionType = this.isLegacyMode();\n return (
    \n \n\n \n \n \n\n \n\n \n This step is used to deploy the contents of a Service Fabric package. The package that you wish to deploy should contain your ApplicationParameters and PublishProfiles folders, as well as your application\n package folder(s). Please see the Service Fabric Packaging guide to learn about what your package should contain, and how to create them.\n }>\n this.props.setPackages(SetPrimaryPackageReference({ PackageId: packageId }, this.props.packages))} onFeedIdChange={(feedId) => this.props.setPackages(SetPrimaryPackageReference({ FeedId: feedId }, this.props.packages))} onPackageVersionChange={(version) => this.props.setPackages(SetPrimaryPackageReference({ Version: version }, this.props.packages))} packageIdError={this.props.getFieldError(\"Octopus.Action.Package.PackageId\")} feedIdError={this.props.getFieldError(\"Octopus.Action.Package.FeedId\")} projectId={this.props.projectId} feeds={this.props.feeds} localNames={this.props.localNames} refreshFeeds={this.loadFeeds} parameters={this.props.parameters} packageSelectionMode={pkg.Properties[\"SelectionMode\"]} packageSelectionModeError={this.props.getFieldError(\"SelectionMode\")} onPackageSelectionModeChange={(value) => this.props.setPackages(SetPrimaryPackageReference(getChangesToPackageReference(value), this.props.packages))} packageParameterName={pkg.Properties[\"PackageParameterName\"]} packageParameterError={this.props.getFieldError(\"PackageParameterName\")} onPackageParameterChange={(packageParameter) => this.props.setPackages(SetPrimaryPackageReference({ Properties: { ...pkg.Properties, PackageParameterName: packageParameter } }, this.props.packages))}/>\n \n\n {isLegacyActionType && (
    \n \n \n \n This step is referencing a Service Fabric cluster directly, instead of referencing a Service Fabric Cluster Target through Roles. Please read{\" \"}\n our documentation to learn how to get started with Azure Targets.\n \n \n \n
    )}\n\n \n \n this.props.setProperties({ [\"Octopus.Action.ServiceFabric.PublishProfileFile\"]: x })} error={this.props.getFieldError(\"Octopus.Action.ServiceFabric.PublishProfileFile\")} placeholder=\"eg. PublishProfiles\\\\Cloud.xml\" label=\"Publish profile file\"/>\n \n Octopus will use the ApplicationParameters file referenced in this publish profile. This value is typically PublishProfiles\\Cloud.xml\n \n \n\n \n The application will not but created or updated\n )\n : Summary.default(\"The application will be created or updated\")} help=\"If selected, the Service Fabric application will not be created or upgraded after registering the application type.\">\n this.props.setProperties({ [\"Octopus.Action.ServiceFabric.DeployOnly\"]: x })} label=\"Deploy only\"/>\n \n\n \n Unused versions will be unregistered\n )\n : Summary.default(\"Unused versions will not be unregistered\")} help=\"Select to unregister any unused application versions that exist after an upgrade is finished.\">\n this.props.setProperties({ [\"Octopus.Action.ServiceFabric.UnregisterUnusedApplicationVersionsAfterUpgrade\"]: x })} label=\"Unregister\"/>\n \n\n \n this.props.setProperties({ [\"Octopus.Action.ServiceFabric.OverrideUpgradeBehavior\"]: x })} title=\"Upgrade behavior\">\n \n \n \n \n \n\n \n this.props.setProperties({ [\"Octopus.Action.ServiceFabric.OverwriteBehavior\"]: x })} title=\"Overwrite behavior\">\n \n \n \n \n \n\n \n Tell Service Fabric not to perform package validation\n )\n : Summary.default(\"Service Fabric will perform package validation\")} help=\"Select to tell Service Fabric not to validate the package before deployment.\">\n this.props.setProperties({ [\"Octopus.Action.ServiceFabric.SkipPackageValidation\"]: x })} label=\"Skip validation\"/>\n \n\n {properties[\"Octopus.Action.ServiceFabric.CopyPackageTimeoutSec\"]} seconds) : Summary.default(\"Unchanged\")} help={\"Enter a value in seconds to override the timeout for copying an application package to the image store.\"}>\n this.props.setProperties({ [\"Octopus.Action.ServiceFabric.CopyPackageTimeoutSec\"]: x })} error={this.props.getFieldError(\"Octopus.Action.ServiceFabric.CopyPackageTimeoutSec\")} label=\"Copy package timeout (seconds)\"/>\n \n\n {properties[\"Octopus.Action.ServiceFabric.RegisterApplicationTypeTimeoutSec\"]} seconds) : Summary.default(\"Unchanged\")} help={\"Enter a value in seconds to override the timeout for registering application type.\"}>\n this.props.setProperties({ [\"Octopus.Action.ServiceFabric.RegisterApplicationTypeTimeoutSec\"]: x })} error={this.props.getFieldError(\"Octopus.Action.ServiceFabric.RegisterApplicationTypeTimeoutSec\")} label=\"Register Application Type Timeout (seconds)\"/>\n \n\n \n Enabled: Connection-related properties are configured on this step\n )\n : Summary.default(Not enabled: Connection-related properties are configured on the Deployment Target)} help={\"Select legacy mode if you wish to configure connection-related properties on the step and not through Azure Targets.\"}>\n {\n if (x === \"True\") {\n this.props.setProperties({\n [\"Octopus.Action.ServiceFabric.IsLegacyMode\"]: \"True\",\n [\"Octopus.Action.ServiceFabric.ConnectionEndpoint\"]: \"\", // Default\n [\"Octopus.Action.ServiceFabric.SecurityMode\"]: AzureServiceFabricSecurityMode.Unsecure, // Default\n [\"Octopus.Action.ServiceFabric.AadCredentialType\"]: AADCredentialType.UserCredential, // Default\n });\n }\n else {\n this.clearLegacyModeProps();\n }\n }} label=\"Enable Legacy Mode\"/>\n \n Toggling this on will allow connection-related properties on the step (not recommended).
    \n Toggling this off will clear the connection-related properties on the step and allow these to be configured from your Deployment Targets.\n
    \n
    \n
    );\n }\n private upgradeBehaviorSummary(): SummaryNode {\n const behavior = this.props.properties[\"Octopus.Action.ServiceFabric.OverrideUpgradeBehavior\"];\n if (behavior === UpgradeBehavior.None) {\n return Summary.default(\"None\");\n }\n if (behavior === UpgradeBehavior.ForceUpgrade) {\n return Summary.summary(\"Force upgrade\");\n }\n if (behavior === UpgradeBehavior.VetoUpgrade) {\n return Summary.summary(\"Veto upgrade\");\n }\n return Summary.summary(\"Bound to a project variable\");\n }\n private overwriteBehaviorSummary(): SummaryNode {\n const behavior = this.props.properties[\"Octopus.Action.ServiceFabric.OverwriteBehavior\"];\n if (behavior === OverwriteBehavior.Never) {\n return Summary.summary(\"Never\");\n }\n if (behavior === OverwriteBehavior.Always) {\n return Summary.summary(\"Always\");\n }\n if (behavior === OverwriteBehavior.SameAppTypeAndVersion) {\n return Summary.default(\"Same app type and version\");\n }\n return Summary.summary(\"Bound to a project variable\");\n }\n private loadFeeds = async () => {\n await this.props.refreshFeeds();\n };\n private isLegacyMode(): boolean {\n const properties = this.props.properties;\n const isLegacyActionType = !!properties && !!(properties[\"Octopus.Action.ServiceFabric.ConnectionEndpoint\"] || properties[\"Octopus.Action.ServiceFabric.IsLegacyMode\"] === \"True\");\n return isLegacyActionType;\n }\n private clearLegacyModeProps = () => {\n this.props.setProperties({\n [\"Octopus.Action.ServiceFabric.IsLegacyMode\"]: null!,\n [\"Octopus.Action.ServiceFabric.ConnectionEndpoint\"]: null!,\n [\"Octopus.Action.ServiceFabric.SecurityMode\"]: null!,\n [\"Octopus.Action.ServiceFabric.ServerCertThumbprint\"]: null!,\n [\"Octopus.Action.ServiceFabric.ClientCertVariable\"]: null!,\n [\"Octopus.Action.ServiceFabric.AadCredentialType\"]: null!,\n [\"Octopus.Action.ServiceFabric.AadClientCredentialSecret\"]: null!,\n [\"Octopus.Action.ServiceFabric.AadUserCredentialUsername\"]: null!,\n [\"Octopus.Action.ServiceFabric.AadUserCredentialPassword\"]: null!,\n }, false);\n };\n static displayName = \"AzureServiceFabricAppActionEditInternal\";\n}\nfunction AzureServiceFabricAppActionEdit(props: React.PropsWithChildren) {\n const feeds = useFeedsFromContext();\n const refreshFeeds = useRefreshFeedsFromContext();\n return ;\n}\npluginRegistry.registerAction({\n executionLocation: ActionExecutionLocation.AlwaysOnServer,\n actionType: \"Octopus.AzureServiceFabricApp\",\n summary: (properties, targetRolesAsCSV, packages) => ,\n editSections: { default: AzureServiceFabricAppActionEdit },\n canHaveChildren: (step) => true,\n canBeChild: true,\n targetRoleOption: (action) => {\n // Azure steps (pre 2018.5) allowed you to select connection endpoint directly on the step, making target selection optional.\n const isLegacyActionType = !!(action ? action.Properties[\"Octopus.Action.ServiceFabric.ConnectionEndpoint\"] || action.Properties[\"Octopus.Action.ServiceFabric.IsLegacyMode\"] === \"True\" : null);\n return isLegacyActionType ? TargetRoles.Optional : TargetRoles.Required;\n },\n hasPackages: (action) => true,\n features: {\n optional: [\"Octopus.Features.ConfigurationTransforms\", \"Octopus.Features.ConfigurationVariables\", \"Octopus.Features.CustomScripts\", \"Octopus.Features.JsonConfigurationVariables\", \"Octopus.Features.SubstituteInFiles\"],\n },\n getInitialProperties: () => {\n return {\n OctopusUseBundledTooling: \"False\",\n };\n },\n docsLink: \"deployAzureServiceFabric\",\n});\n","/* eslint-disable @typescript-eslint/no-non-null-assertion */\nimport { Callout } from \"@octopusdeploy/design-system-components\";\nimport type { AzureServiceFabricPowerShellProperties } from \"@octopusdeploy/legacy-action-properties\";\nimport { AADCredentialType, ActionExecutionLocation, AzureServiceFabricSecurityMode } from \"@octopusdeploy/octopus-server-client\";\nimport * as React from \"react\";\nimport { TargetRoles } from \"~/areas/projects/components/Process/types\";\nimport AzureServiceFabricAccountSelector from \"~/components/Actions/azure/AzureServiceFabricAccountSelector\";\nimport AzureServiceFabricSdkRequiredInfo from \"~/components/Actions/azure/AzureServiceFabricSdkRequiredInfo\";\nimport { ScriptActionEdit } from \"~/components/Actions/script/scriptAction\";\nimport { BaseComponent } from \"~/components/BaseComponent/BaseComponent\";\nimport ExternalLink from \"~/components/Navigation/ExternalLink\";\nimport { ExpandableFormSection, Summary, UnstructuredFormSection } from \"~/components/form\";\nimport FormSectionHeading from \"~/components/form/Sections/FormSectionHeading\";\nimport { BoundStringCheckbox } from \"~/primitiveComponents/form/Checkbox/StringCheckbox\";\nimport { SupportedLanguage } from \"../../ScriptingLanguageSelector/ScriptingLanguageSelector\";\nimport Roles from \"../Roles\";\nimport type { ActionSummaryProps } from \"../actionSummaryProps\";\nimport type { ActionEditProps } from \"../pluginRegistry\";\nimport pluginRegistry from \"../pluginRegistry\";\nimport type { ScriptPackageProperties } from \"../script/ScriptPackageReferenceDialog\";\nimport { AzureBundledToolsForServiceFabricScriptsEdit } from \"./azureBundledTools\";\nclass AzureServiceFabricPowerShellSummary extends BaseComponent {\n render() {\n return (
    \n Run a PowerShell script using a Service Fabric cluster context\n {this.props.targetRolesAsCSV && (\n {\" \"}\n on behalf of targets with \n )}\n
    );\n }\n static displayName = \"AzureServiceFabricPowerShellSummary\";\n}\ninterface AzureServiceFabricPowerShellState {\n resetValues: {\n ClientCertVariable: string;\n };\n}\nclass AzureServiceFabricPowerShellActionEdit extends BaseComponent, AzureServiceFabricPowerShellState> {\n constructor(props: ActionEditProps) {\n super(props);\n this.state = {\n resetValues: {\n ClientCertVariable: props.properties[\"Octopus.Action.ServiceFabric.ClientCertVariable\"],\n },\n };\n }\n componentDidUpdate(prevProps: ActionEditProps) {\n if (this.props.properties[\"Octopus.Action.ServiceFabric.ConnectionEndpoint\"] !== prevProps.properties[\"Octopus.Action.ServiceFabric.ConnectionEndpoint\"] ||\n this.props.properties[\"Octopus.Action.ServiceFabric.IsLegacyMode\"] !== prevProps.properties[\"Octopus.Action.ServiceFabric.IsLegacyMode\"]) {\n this.props.refreshRunOn && this.props.refreshRunOn();\n }\n }\n componentDidMount() {\n const newProperties: Partial = {};\n const isLegacyActionType = !!this.props.properties[\"Octopus.Action.ServiceFabric.ConnectionEndpoint\"];\n if (isLegacyActionType) {\n if (!this.props.properties[\"Octopus.Action.ServiceFabric.SecurityMode\"]) {\n newProperties[\"Octopus.Action.ServiceFabric.SecurityMode\"] = AzureServiceFabricSecurityMode.Unsecure;\n }\n if (!this.props.properties[\"Octopus.Action.ServiceFabric.AadCredentialType\"]) {\n newProperties[\"Octopus.Action.ServiceFabric.AadCredentialType\"] = AADCredentialType.UserCredential;\n }\n newProperties[\"Octopus.Action.ServiceFabric.IsLegacyMode\"] = \"True\";\n }\n this.props.setProperties(newProperties, true);\n }\n render() {\n const properties = this.props.properties;\n const isLegacyActionType = this.isLegacyMode();\n return (
    \n \n\n \n \n \n\n {isLegacyActionType && (
    \n \n \n \n This step is referencing a Service Fabric cluster directly, instead of referencing a Service Fabric Cluster Target through Roles. Please read{\" \"}\n our documentation to learn how to get started with Azure Targets.\n \n \n \n
    )}\n\n \n\n \n Enabled: Connection-related properties are configured on this step\n )\n : Summary.default(Not enabled: Connection-related properties are configured on the Deployment Target)} help={\"Select legacy mode if you wish to configure connection-related properties on the step and not through Azure Targets.\"}>\n {\n if (x === \"True\") {\n this.props.setProperties({\n [\"Octopus.Action.ServiceFabric.IsLegacyMode\"]: \"True\",\n [\"Octopus.Action.ServiceFabric.ConnectionEndpoint\"]: \"\", // Default\n [\"Octopus.Action.ServiceFabric.SecurityMode\"]: AzureServiceFabricSecurityMode.Unsecure, // Default\n [\"Octopus.Action.ServiceFabric.AadCredentialType\"]: AADCredentialType.UserCredential, // Default\n });\n }\n else {\n this.clearLegacyModeProps();\n }\n }} label=\"Enable Legacy Mode\"/>\n \n Toggling this on will allow connection-related properties on the step (not recommended).
    \n Toggling this off will clear the connection-related properties on the step and allow these to be configured from your Deployment Targets.\n
    \n
    \n
    );\n }\n private isLegacyMode(): boolean {\n const properties = this.props.properties;\n const isLegacyActionType = !!properties && !!(properties[\"Octopus.Action.ServiceFabric.ConnectionEndpoint\"] || properties[\"Octopus.Action.ServiceFabric.IsLegacyMode\"] === \"True\");\n return isLegacyActionType;\n }\n private clearLegacyModeProps = () => {\n this.props.setProperties({\n [\"Octopus.Action.ServiceFabric.IsLegacyMode\"]: null!,\n [\"Octopus.Action.ServiceFabric.ConnectionEndpoint\"]: null!,\n [\"Octopus.Action.ServiceFabric.SecurityMode\"]: null!,\n [\"Octopus.Action.ServiceFabric.ServerCertThumbprint\"]: null!,\n [\"Octopus.Action.ServiceFabric.ClientCertVariable\"]: null!,\n [\"Octopus.Action.ServiceFabric.AadCredentialType\"]: null!,\n [\"Octopus.Action.ServiceFabric.AadClientCredentialSecret\"]: null!,\n [\"Octopus.Action.ServiceFabric.AadUserCredentialUsername\"]: null!,\n [\"Octopus.Action.ServiceFabric.AadUserCredentialPassword\"]: null!,\n }, false);\n };\n static displayName = \"AzureServiceFabricPowerShellActionEdit\";\n}\npluginRegistry.registerAction({\n executionLocation: ActionExecutionLocation.AlwaysOnServer,\n actionType: \"Octopus.AzureServiceFabricPowerShell\",\n summary: (properties, targetRolesAsCSV) => ,\n editSections: { default: AzureServiceFabricPowerShellActionEdit },\n canHaveChildren: (step) => true,\n canBeChild: true,\n targetRoleOption: (action) => {\n // Azure steps (pre 2018.5) allowed you to select connection endpoint directly on the step, making target selection optional.\n const isLegacyActionType = !!(action ? action.Properties[\"Octopus.Action.ServiceFabric.ConnectionEndpoint\"] || action.Properties[\"Octopus.Action.ServiceFabric.IsLegacyMode\"] === \"True\" : null);\n return isLegacyActionType ? TargetRoles.Optional : TargetRoles.Required;\n },\n hasPackages: (action) => false,\n features: {\n optional: [\"Octopus.Features.SubstituteInFiles\", \"Octopus.Features.JsonConfigurationVariables\", \"Octopus.Features.ConfigurationTransforms\", \"Octopus.Features.ConfigurationVariables\", \"Octopus.Features.SelectPowerShellEditionForWindows\"],\n },\n getInitialProperties: () => {\n return {\n OctopusUseBundledTooling: \"False\",\n };\n },\n docsLink: \"runAzureServiceFabricPowershellScript\",\n});\n","/* eslint-disable @typescript-eslint/no-non-null-assertion */\nimport type { AzureWebSite } from \"@octopusdeploy/octopus-server-client\";\nimport * as React from \"react\";\nimport { repository } from \"~/clientInstance\";\nimport { BaseComponent } from \"~/components/BaseComponent/BaseComponent\";\nimport type { DoBusyTask } from \"~/components/DataBaseComponent/DataBaseComponent\";\nimport { IconButtonWithTooltip } from \"~/components/IconButtonWithTooltip\";\nimport InputWithActions from \"~/components/InputWithActions\";\nimport isBound from \"~/components/form/BoundField/isBound\";\nimport { VariableLookupText } from \"~/components/form/VariableLookupText\";\nimport Note from \"~/primitiveComponents/form/Note/Note\";\nimport { BoundSelect } from \"~/primitiveComponents/form/Select/Select\";\nimport ParseHelper from \"~/utils/ParseHelper/ParseHelper\";\ninterface AzureWebSiteSelectorProps {\n resourceGroupName: string;\n webAppName: string;\n projectId: string;\n localNames: string[];\n isAccountBound: boolean;\n accountId: string;\n resourceGroupError: string;\n webAppNameError: string;\n doBusyTask: DoBusyTask;\n onResourceGroupChanged(value: string): void;\n onWebAppNameChanged(value: string): void;\n onIsBoundChanged?(value: boolean): void;\n}\ninterface AzureWebSiteSelectorState {\n reset: {\n resourceGroupName: string;\n name: string;\n };\n siteIsBound: boolean;\n sites: AzureWebSite[];\n siteItems: Array<{\n value: string;\n text: string;\n }>;\n selectedSiteIndex: string;\n busy: boolean; //TODO: move busy back out into props and use a HOC/Render prop component to manage this state\n}\nconst toggleBusy = (value?: boolean) => (prev: AzureWebSiteSelectorState, props: AzureWebSiteSelectorProps) => ({ ...prev, busy: value ? value : !prev.busy });\nclass AzureWebSiteSelector extends BaseComponent {\n constructor(props: AzureWebSiteSelectorProps) {\n super(props);\n this.state = {\n reset: {\n resourceGroupName: null!,\n name: null!,\n },\n siteIsBound: isBound(props.webAppName, false),\n sites: [],\n siteItems: [],\n selectedSiteIndex: null!,\n busy: false,\n };\n }\n async componentDidMount() {\n if (!this.props.isAccountBound) {\n await this.getWebSites(this.props.accountId);\n }\n }\n async UNSAFE_componentWillReceiveProps(newprops: AzureWebSiteSelectorProps) {\n if (newprops.isAccountBound && !this.state.siteIsBound) {\n this.setState({ siteIsBound: true });\n }\n if (newprops.accountId !== this.props.accountId) {\n await this.getWebsitesIfNotBound(newprops);\n }\n }\n async getWebsitesIfNotBound(props: AzureWebSiteSelectorProps) {\n if (!props.isAccountBound) {\n await this.getWebSites(props.accountId);\n }\n }\n render() {\n return (
    \n {this.state.siteIsBound && (
    \n \n \n The Resource Group of your Azure Web App.\n
    \n If not specified then all Resource Groups are searched.\n
    \n
    )}\n {\n this.setState((prev, props) => ({ siteIsBound: this.props.isAccountBound || value }), () => {\n if (this.props.onIsBoundChanged) {\n this.props.onIsBoundChanged(this.state.siteIsBound);\n }\n });\n }} hideBindButton={this.props.isAccountBound} value={this.state.siteIsBound ? this.props.webAppName : this.state.selectedSiteIndex} onChange={(value) => (this.state.siteIsBound ? this.props.onWebAppNameChanged(value!) : this.handleSelectedSiteChanged(value!))} items={this.state.siteItems} error={this.props.webAppNameError} label=\"Web app\"/>} busy={this.state.busy} actions={<>{!this.props.isAccountBound && this.getWebsitesIfNotBound(this.props)} toolTipContent={\"Refresh\"} icon={\"ArrowRefreshIcon\"} accessibleName={\"Refresh\"}/>}}/>\n The name of your Azure Web App.\n
    );\n }\n private handleSelectedSiteChanged = (value: string) => {\n const index = ParseHelper.safeParseInt(value, undefined);\n const selectedSite = !index ? this.state.sites[index] : null;\n this.props.onResourceGroupChanged(selectedSite ? selectedSite.ResourceGroup : null!);\n this.props.onWebAppNameChanged(selectedSite ? selectedSite.Name : null!);\n this.setState({ selectedSiteIndex: !index ? index.toString() : null! });\n };\n private resetWebSites() {\n this.setState({ sites: [] });\n }\n private async getWebSites(accountId: string) {\n this.setState(toggleBusy(true));\n try {\n await this.props.doBusyTask(async () => {\n if (!accountId) {\n this.setState({\n sites: [],\n siteItems: [],\n selectedSiteIndex: null!,\n });\n return;\n }\n const account = await repository.Accounts.get(accountId);\n const sites = await repository.Accounts.getWebSites(account);\n let selectedSiteIndex: string = null!;\n if (this.props.webAppName) {\n const resourceGroupName = this.props.resourceGroupName === undefined ? null : this.props.resourceGroupName;\n const selectedSite = sites.find((s) => s.Name === this.props.webAppName && s.ResourceGroup === resourceGroupName);\n if (selectedSite) {\n const index = sites.indexOf(selectedSite);\n selectedSiteIndex = index < 0 ? null! : index.toString();\n }\n }\n const siteItems = sites.map((site, index) => {\n const details = site.ResourceGroup ? site.ResourceGroup + \" \" + site.Region : site.Region;\n return {\n value: index.toString(),\n text: site.Name + \" \" + details,\n };\n });\n this.setState({\n sites,\n siteItems,\n selectedSiteIndex,\n });\n });\n }\n finally {\n this.setState(toggleBusy(false));\n }\n }\n static displayName = \"AzureWebSiteSelector\";\n}\nexport default AzureWebSiteSelector;\n","/* eslint-disable @typescript-eslint/no-non-null-assertion */\nimport type { AzureWebSiteSlot } from \"@octopusdeploy/octopus-server-client\";\nimport * as React from \"react\";\nimport { repository } from \"~/clientInstance\";\nimport { BaseComponent } from \"~/components/BaseComponent/BaseComponent\";\nimport type { DoBusyTask } from \"~/components/DataBaseComponent/DataBaseComponent\";\nimport { IconButtonWithTooltip } from \"~/components/IconButtonWithTooltip\";\nimport InputWithActions from \"~/components/InputWithActions\";\nimport isBound from \"~/components/form/BoundField/isBound\";\nimport Note from \"~/primitiveComponents/form/Note/Note\";\nimport { BoundSelect } from \"~/primitiveComponents/form/Select/Select\";\nimport ParseHelper from \"~/utils/ParseHelper/ParseHelper\";\ninterface AzureWebSlotSelectorProps {\n resourceGroupName: string;\n webAppName: string;\n webAppSlotName: string;\n projectId: string;\n localNames: string[];\n isAccountBound: boolean;\n isWebAppBound: boolean;\n accountId: string;\n webAppSlotNameError: string;\n doBusyTask: DoBusyTask;\n onWebAppSlotNameChanged(value: string): void;\n}\ninterface AzureWebSlotSelectorState {\n reset: {\n slotName: string;\n };\n slotIsBound: boolean;\n slots: AzureWebSiteSlot[];\n slotItems: Array<{\n value: string;\n text: string;\n }>;\n selectedSlotIndex: string;\n busy: boolean; //TODO: move busy back out into props and use a HOC/Render prop component to manage this state\n}\nconst toggleBusy = (value?: boolean) => (prev: AzureWebSlotSelectorState, props: AzureWebSlotSelectorProps) => ({ ...prev, busy: value ? value : !prev.busy });\nclass AzureWebSlotSelector extends BaseComponent {\n constructor(props: AzureWebSlotSelectorProps) {\n super(props);\n this.state = {\n reset: {\n slotName: null!,\n },\n slotIsBound: isBound(props.webAppSlotName, false),\n slots: [],\n slotItems: [],\n selectedSlotIndex: null!,\n busy: false,\n };\n }\n canQuerySlots(props: AzureWebSlotSelectorProps) {\n return !props.isAccountBound && !props.isWebAppBound && !this.state.slotIsBound;\n }\n async componentDidMount() {\n await this.getWebSlotsIfNotBound(this.props);\n if (this.canQuerySlots(this.props)) {\n this.setState({ slots: [], slotItems: [], selectedSlotIndex: null! });\n }\n }\n UNSAFE_componentWillReceiveProps(newprops: AzureWebSlotSelectorProps) {\n if ((newprops.isAccountBound || newprops.isWebAppBound) && !this.state.slotIsBound) {\n this.setState({ slotIsBound: true });\n }\n }\n async getWebSlotsIfNotBound(props: AzureWebSlotSelectorProps) {\n if (this.canQuerySlots(props)) {\n await this.getWebSlots(props.accountId, props.resourceGroupName, props.webAppName);\n }\n }\n render() {\n return (
    \n this.setState({ slotIsBound: (this.props.isAccountBound && this.props.isWebAppBound) || value })} hideBindButton={this.props.isAccountBound || this.props.isWebAppBound} value={this.state.slotIsBound ? this.props.webAppSlotName : this.state.selectedSlotIndex} onChange={(value) => (this.state.slotIsBound ? this.props.onWebAppSlotNameChanged(value!) : this.handleSelectedSlotChanged(value!))} items={this.state.slotItems} allowClear={true} error={this.props.webAppSlotNameError} label=\"Web App Slot\"/>} busy={this.state.busy} actions={<>{!this.state.slotIsBound && this.getWebSlotsIfNotBound(this.props)} toolTipContent={\"Refresh\"} icon={\"ArrowRefreshIcon\"} accessibleName={\"Refresh\"}/>}}/>\n The name of your Azure Web App Deployment Slot.\n
    );\n }\n private handleSelectedSlotChanged = (value: string) => {\n const index = ParseHelper.safeParseInt(value, undefined);\n const selectedSlot = !index ? this.state.slots[index] : null;\n this.props.onWebAppSlotNameChanged(selectedSlot ? selectedSlot.Name : null!);\n this.setState({ selectedSlotIndex: !index ? index.toString() : null! });\n };\n private async getWebSlots(accountId: string, resourceGroupName: string, siteName: string) {\n this.setState(toggleBusy(true));\n try {\n await this.props.doBusyTask(async () => {\n if (!(accountId && siteName && resourceGroupName)) {\n this.setState({\n slots: [],\n slotItems: [],\n selectedSlotIndex: null!,\n });\n return;\n }\n const account = await repository.Accounts.get(accountId);\n const slots = await repository.Accounts.getWebSiteSlots(account, resourceGroupName, siteName);\n let selectedSlotIndex: string | null = null;\n if (this.props.webAppSlotName) {\n const selectedSite = slots.find((s) => s.Name === this.props.webAppSlotName && s.ResourceGroupName === resourceGroupName && s.Site === siteName);\n if (selectedSite) {\n const index = slots.indexOf(selectedSite);\n selectedSlotIndex = index < 0 ? null : index.toString();\n }\n }\n const slotItems = slots.map((slot, index) => {\n return {\n value: index.toString(),\n text: slot.Name,\n };\n });\n this.setState({\n slots,\n slotItems,\n selectedSlotIndex: selectedSlotIndex!,\n });\n });\n }\n finally {\n this.setState(toggleBusy(false));\n }\n }\n static displayName = \"AzureWebSlotSelector\";\n}\nexport default AzureWebSlotSelector;\n","/* eslint-disable @typescript-eslint/no-non-null-assertion */\nimport { RadioButton, Callout } from \"@octopusdeploy/design-system-components\";\nimport type { AzureWebAppProperties } from \"@octopusdeploy/legacy-action-properties\";\nimport type { AccountResource, ActionProperties } from \"@octopusdeploy/octopus-server-client\";\nimport { AccountType, ActionExecutionLocation, FeedType, GetPrimaryPackageReference, InitialisePrimaryPackageReference, Permission, SetPrimaryPackageReference } from \"@octopusdeploy/octopus-server-client\";\nimport * as React from \"react\";\nimport { useFeedsFromContext, useRefreshFeedsFromContext } from \"~/areas/projects/components/Process/Contexts/ProcessFeedsContextProvider\";\nimport { TargetRoles } from \"~/areas/projects/components/Process/types\";\nimport { repository } from \"~/clientInstance\";\nimport AzureWebSiteSelector from \"~/components/Actions/azure/AzureWebSiteSelector\";\nimport AzureWebSlotSelector from \"~/components/Actions/azure/AzureWebSlotSelector\";\nimport { BaseComponent } from \"~/components/BaseComponent/BaseComponent\";\nimport ExternalLink from \"~/components/Navigation/ExternalLink/ExternalLink\";\nimport DeferredPackageSelector from \"~/components/PackageSelector/DeferredPackageSelector\";\nimport { BoundAccountSelect } from \"~/components/form/AccountSelect/AccountSelect\";\nimport { AccountSelectionSummary } from \"~/components/form/AccountSelect/AccountSelectionSummary\";\nimport isBound from \"~/components/form/BoundField/isBound\";\nimport ExpandableFormSection from \"~/components/form/Sections/ExpandableFormSection\";\nimport FormSectionHeading from \"~/components/form/Sections/FormSectionHeading\";\nimport Summary, { OverflowSummary, PlaceholderSummary } from \"~/components/form/Sections/Summary\";\nimport { VariableLookupText } from \"~/components/form/VariableLookupText\";\nimport { BoundStringCheckbox } from \"~/primitiveComponents/form/Checkbox/StringCheckbox\";\nimport Note from \"~/primitiveComponents/form/Note/Note\";\nimport { BoundRadioButtonGroup } from \"~/primitiveComponents/form/RadioButton/BoundRadioButtonGroup\";\nimport CommonSummaryHelper from \"~/utils/CommonSummaryHelper/CommonSummaryHelper\";\nimport PermissionCheck, { isAllowed } from \"../../PermissionCheck/PermissionCheck\";\nimport { DisplayFeedName } from \"../DisplayFeedName\";\nimport Roles from \"../Roles\";\nimport type { ActionSummaryProps } from \"../actionSummaryProps\";\nimport type { ActionWithFeeds } from \"../commonActionHelpers\";\nimport { getChangesToPackageReference } from \"../getChangesToPackageReference\";\nimport type { ActionEditProps } from \"../pluginRegistry\";\nimport pluginRegistry from \"../pluginRegistry\";\nimport { AzureBundledToolsForCustomScriptsEdit } from \"./azureBundledTools\";\ninterface AzureWebAppActionSummarySummaryState {\n feedName: string;\n}\nclass AzureWebAppActionSummary extends BaseComponent {\n constructor(props: ActionSummaryProps) {\n super(props);\n }\n render() {\n const pkg = GetPrimaryPackageReference(this.props.packages);\n return pkg ? (
    \n {\"Deploy an Azure Web App\"} {pkg.PackageId} {\"from\"} \n {this.props.targetRolesAsCSV && (\n {\" \"}\n on behalf of targets with {\" \"}\n )}\n
    ) : (\n Package was not selected or cannot be found. Please review this step and ensure a valid package is selected.\n );\n }\n static displayName = \"AzureWebAppActionSummary\";\n}\ninterface AzureWebAppEditState {\n accounts: AccountResource[];\n accountIsBound: boolean;\n webAppIsBound: boolean;\n}\ntype AzureWebAppAccountSummaryProps = {\n account: AccountResource;\n webAppName: string | null;\n webAppSlot: string | null;\n resourceGroup: string | null;\n};\nconst AzureWebAppAccountSummary: React.FC = ({ webAppSlot, webAppName, resourceGroup, account }) => {\n return (\n \n Account {account.Name} will be used to deploy to Web App {webAppName}\n \n {webAppSlot && (\n , deployment slot {webAppSlot},\n )}\n {resourceGroup && (\n {\" \"}\n in resource group {resourceGroup}\n )}\n );\n};\nAzureWebAppAccountSummary.displayName = \"AzureWebAppAccountSummary\"\ntype AzureWebAppEditProps = ActionEditProps;\ntype AzureWebAppEditInternalProps = AzureWebAppEditProps & ActionWithFeeds;\nexport const AzureWebAppEdit: React.FC = (props) => {\n const feeds = useFeedsFromContext();\n const refreshFeeds = useRefreshFeedsFromContext();\n return ;\n};\nAzureWebAppEdit.displayName = \"AzureWebAppEdit\"\nclass AzureWebAppEditInternal extends BaseComponent {\n constructor(props: AzureWebAppEditInternalProps) {\n super(props);\n this.state = {\n accounts: [],\n accountIsBound: isBound(props.properties[\"Octopus.Action.Azure.AccountId\"], false),\n webAppIsBound: isBound(props.properties[\"Octopus.Action.Azure.WebAppName\"], false),\n };\n }\n componentDidUpdate(prevProps: AzureWebAppEditInternalProps) {\n if (this.props.properties[\"Octopus.Action.Azure.AccountId\"] !== prevProps.properties[\"Octopus.Action.Azure.AccountId\"] ||\n this.props.properties[\"Octopus.Action.Azure.IsLegacyMode\"] !== prevProps.properties[\"Octopus.Action.Azure.IsLegacyMode\"]) {\n this.props.refreshRunOn && this.props.refreshRunOn();\n }\n }\n async componentDidMount() {\n this.props.setPackages(InitialisePrimaryPackageReference(this.props.packages, this.props.feeds), true);\n await this.props.doBusyTask(async () => {\n if (!!this.props.properties[\"Octopus.Action.Azure.AccountId\"] && isAllowed({ permission: Permission.AccountView, wildcard: true })) {\n this.setState({\n accounts: await repository.Accounts.all(),\n });\n }\n const properties: ActionProperties = {};\n if (this.props.properties[\"Octopus.Action.Azure.UseChecksum\"] === undefined) {\n properties[\"Octopus.Action.Azure.UseChecksum\"] = \"False\";\n }\n if (!!this.props.properties[\"Octopus.Action.Azure.AccountId\"]) {\n properties[\"Octopus.Action.Azure.IsLegacyMode\"] = \"True\";\n }\n this.convertAzureWebAppNameAndSlot();\n this.props.setProperties(properties, true);\n });\n }\n convertAzureWebAppNameAndSlot() {\n let webAppName = this.props.properties[\"Octopus.Action.Azure.WebAppName\"];\n let slotName = this.props.properties[\"Octopus.Action.Azure.DeploymentSlot\"];\n if (!webAppName) {\n return;\n }\n const slashPosition = webAppName.indexOf(\"/\");\n const parenPosition = webAppName.indexOf(\"(\");\n if (slashPosition > 0) {\n slotName = webAppName.substring(slashPosition + 1).trim();\n webAppName = webAppName.substring(0, slashPosition).trim();\n }\n else if (parenPosition > 0) {\n slotName = webAppName\n .substring(parenPosition + 1)\n .replace(\")\", \"\")\n .trim();\n webAppName = webAppName.substring(0, parenPosition).trim();\n }\n this.props.properties[\"Octopus.Action.Azure.WebAppName\"] = webAppName;\n this.props.properties[\"Octopus.Action.Azure.DeploymentSlot\"] = slotName;\n }\n accountSummary() {\n const webAppName = this.props.properties[\"Octopus.Action.Azure.WebAppName\"];\n const resourceGroup = this.props.properties[\"Octopus.Action.Azure.ResourceGroupName\"];\n const webAppSlot = this.props.properties[\"Octopus.Action.Azure.DeploymentSlot\"];\n return ( } renderMissing={() => No account has been selected}/>);\n }\n getAccountId = () => {\n return isBound(this.props.properties[\"Octopus.Action.Azure.AccountId\"]) ? undefined : this.props.properties[\"Octopus.Action.Azure.AccountId\"];\n };\n render() {\n // The package is initialized in componentDidMount, but render gets called before the update is propagated\n if (!this.props.packages || this.props.packages.length === 0) {\n return null;\n }\n const properties = this.props.properties;\n const pkg = GetPrimaryPackageReference(this.props.packages);\n const isLegacyActionType = this.isLegacyMode();\n return (
    \n \n\n \n\n Select the package containing your application.}>\n this.props.setPackages(SetPrimaryPackageReference({ PackageId: packageId }, this.props.packages))} onFeedIdChange={(feedId) => this.props.setPackages(SetPrimaryPackageReference({ FeedId: feedId }, this.props.packages))} onPackageVersionChange={(version) => this.props.setPackages(SetPrimaryPackageReference({ Version: version }, this.props.packages))} packageIdError={this.props.getFieldError(\"Octopus.Action.Package.PackageId\")} feedIdError={this.props.getFieldError(\"Octopus.Action.Package.FeedId\")} projectId={this.props.projectId} feeds={this.props.feeds} feedType={[FeedType.Nuget, FeedType.BuiltIn, FeedType.GitHub, FeedType.Maven, FeedType.S3, FeedType.ArtifactoryGeneric]} localNames={this.props.localNames} refreshFeeds={this.loadFeeds} parameters={this.props.parameters} packageSelectionMode={pkg.Properties[\"SelectionMode\"]} packageSelectionModeError={this.props.getFieldError(\"SelectionMode\")} onPackageSelectionModeChange={(value) => this.props.setPackages(SetPrimaryPackageReference(getChangesToPackageReference(value), this.props.packages))} packageParameterName={pkg.Properties[\"PackageParameterName\"]} packageParameterError={this.props.getFieldError(\"PackageParameterName\")} onPackageParameterChange={(packageParameter) => this.props.setPackages(SetPrimaryPackageReference({ Properties: { ...pkg.Properties, PackageParameterName: packageParameter } }, this.props.packages))}/>\n \n\n {isLegacyActionType && (
    \n \n \n The {Permission.AccountView} permission is required to change the Azure settings.\n }>\n \n \n This step is referencing an Azure Account directly, instead of referencing an Azure Web Application Target through Roles. Please read{\" \"}\n our documentation to learn how to get started with Azure Targets.\n \n \n \n this.setState({ accountIsBound: value })} type={[AccountType.AzureServicePrincipal, AccountType.AzureOidc]} allowClear={true} onChange={(x) => {\n this.props.setProperties({ [\"Octopus.Action.Azure.AccountId\"]: x });\n if (!x) {\n // This is a key field in determining legacy Azure steps, so if this is cleared, also\n // clear related data that is now contributed by the target.\n this.clearLegacyModeProps();\n }\n }} error={this.props.getFieldError(\"Octopus.Action.Azure.AccountId\")} items={this.state.accounts} onRequestRefresh={this.refreshAccounts}/>\n this.props.setProperties({ [\"Octopus.Action.Azure.WebAppName\"]: x })} onResourceGroupChanged={(x) => this.props.setProperties({ [\"Octopus.Action.Azure.ResourceGroupName\"]: x })} projectId={this.props.projectId!} accountId={this.getAccountId()!} isAccountBound={this.state.accountIsBound} onIsBoundChanged={(value: boolean) => this.setState({ webAppIsBound: value })} localNames={this.props.localNames!}/>\n this.props.setProperties({ [\"Octopus.Action.Azure.DeploymentSlot\"]: x })} isAccountBound={this.state.accountIsBound} isWebAppBound={this.state.webAppIsBound} localNames={this.props.localNames!}/>\n \n \n
    )}\n\n \n {!isLegacyActionType && (\n The deployment slot is {properties[\"Octopus.Action.Azure.DeploymentSlot\"]}\n )\n : Summary.placeholder(\"No deployment slot defined\")} help={\"Enter the deployment slot (optional).\"}>\n this.props.setProperties({ [\"Octopus.Action.Azure.DeploymentSlot\"]: x })} error={this.props.getFieldError(\"Octopus.Action.Azure.DeploymentSlot\")} label=\"Deployment Slot\"/>\n \n Slots let you deploy different versions of your web app to different URLs. You can test a certain version and then swap content and configuration between slots.\n The slot will only apply if you have selected roles that scope to Azure Web App targets that represent the base App Service URL (and not the deployment slot URLs).\n \n )}\n \n The physical path is {properties[\"Octopus.Action.Azure.PhysicalPath\"]}\n )\n : Summary.placeholder(\"No physical path has been entered\")} help={\"Enter the physical path to the site root.\"}>\n this.props.setProperties({ [\"Octopus.Action.Azure.PhysicalPath\"]: x })} error={this.props.getFieldError(\"Octopus.Action.Azure.PhysicalPath\")} label=\"Physical path\"/>\n \n Physical path relative to site root. e.g. 'foo' will deploy to 'site\\wwwroot\\foo'.\n
    \n Leave blank to deploy to root.\n
    \n
    \n \n Files in the destination that are not part of the deployment will be removed\n )\n : Summary.default(\"Files in the destination that are not part of the deployment will not be removed\")} help={\"Select to remove additional files on the destination that are not part of the deployment.\"}>\n this.props.setProperties({ [\"Octopus.Action.Azure.RemoveAdditionalFiles\"]: x })} label=\"Remove additional files\"/>\n \n \n Files in the App_Data folder will not be removed\n )\n : Summary.default(\"Files in the App_Data folder will be removed\")} help={\"Select to preserve files in the App_Data folder before deployment.\"}>\n this.props.setProperties({ [\"Octopus.Action.Azure.PreserveAppData\"]: x })} label=\"Preserve App_Data\"/>\n \n \n The app domain will be safely brought down using a blank app_offline.html\n )\n : Summary.default(\"The app domain will not be safely brought down using a blank app_offline.html\")} help={\"Select to safely bring down the app domain with app_offline.html in root\"}>\n this.props.setProperties({ [\"Octopus.Action.Azure.AppOffline\"]: x })} label=\"Enable AppOffline\"/>\n \n \n File checksums will be used to compare files (may increase deployment time)\n )\n : Summary.default(\"File timestamps will be used to compare files\")} help={\"Select which method will be used to determine which files will be updated during deployment.\"}>\n this.props.setProperties({ [\"Octopus.Action.Azure.UseChecksum\"]: x })} title=\"File comparison method\">\n \n Use file timestamps to compare files\n \n \n Use file checksums to compare files\n
    Warning: the checksum method may cause deployment times to increase significantly\n
    \n
    \n
    \n \n Enabled: Account-related properties are configured on this step\n )\n : Summary.default(Not enabled: Account-related properties are configured on the Deployment Target)} help={\"Select legacy mode if you wish to configure account-related properties on the step and not through Azure Targets.\"}>\n {\n if (x === \"True\") {\n this.props.setProperties({\n [\"Octopus.Action.Azure.IsLegacyMode\"]: \"True\",\n });\n await this.refreshAccounts();\n }\n else {\n this.clearLegacyModeProps();\n }\n }} label=\"Enable Legacy Mode\"/>\n \n Toggling this on will allow account-related properties on the step (not recommended).
    \n Toggling this off will clear the account-related properties on this step and allow these to be configured from your Deployment Targets.\n
    \n
    \n
    );\n }\n private refreshAccounts = () => {\n return this.props.doBusyTask(async () => {\n this.setState({ accounts: await repository.Accounts.all() });\n });\n };\n private loadFeeds = async () => {\n await this.props.refreshFeeds();\n };\n private isLegacyMode(): boolean {\n const properties = this.props.properties;\n const isLegacyActionType = !!properties && !!(properties[\"Octopus.Action.Azure.AccountId\"] || properties[\"Octopus.Action.Azure.IsLegacyMode\"] === \"True\");\n return isLegacyActionType;\n }\n private clearLegacyModeProps = () => {\n this.props.setProperties({\n [\"Octopus.Action.Azure.IsLegacyMode\"]: null!,\n [\"Octopus.Action.Azure.AccountId\"]: null!,\n [\"Octopus.Action.Azure.WebAppName\"]: null!,\n [\"Octopus.Action.Azure.ResourceGroupName\"]: null!,\n [\"Octopus.Action.Azure.DeploymentSlot\"]: null!,\n }, false);\n };\n static displayName = \"AzureWebAppEditInternal\";\n}\npluginRegistry.registerAction({\n executionLocation: ActionExecutionLocation.AlwaysOnServer,\n actionType: \"Octopus.AzureWebApp\",\n summary: (properties, targetRolesAsCSV, packages) => ,\n editSections: { default: AzureWebAppEdit },\n canHaveChildren: (step) => true,\n canBeChild: true,\n targetRoleOption: (action) => {\n // Azure steps (pre 2018.5) allowed you to select accounts directly on the step, making target selection optional.\n const isLegacyActionType = !!(action ? action.Properties[\"Octopus.Action.Azure.AccountId\"] || action.Properties[\"Octopus.Action.Azure.IsLegacyMode\"] === \"True\" : null);\n const result = isLegacyActionType ? TargetRoles.Optional : TargetRoles.Required;\n return result;\n },\n hasPackages: (action) => true,\n features: {\n optional: [\n \"Octopus.Features.ConfigurationTransforms\",\n \"Octopus.Features.ConfigurationVariables\",\n \"Octopus.Features.CustomScripts\",\n \"Octopus.Features.JsonConfigurationVariables\",\n \"Octopus.Features.SubstituteInFiles\",\n \"Octopus.Features.SelectPowerShellEditionForWindows\",\n ],\n },\n getInitialProperties: () => {\n return {\n OctopusUseBundledTooling: \"False\",\n };\n },\n targetDiscoveryCloudConnectionProviders: () => [\"Azure\"],\n docsLink: \"deployAzureWebApp\",\n});\n","/* eslint-disable no-eq-null */\n/* eslint-disable @typescript-eslint/consistent-type-assertions */\nimport { css } from \"@emotion/css\";\nimport { themeTokens } from \"@octopusdeploy/design-system-tokens\";\nimport { OctopusError } from \"@octopusdeploy/octopus-server-client\";\nimport * as React from \"react\";\nimport type { CodeEditorElement, CodeEditorLanguage } from \"~/components/CodeEditor/CodeEditor\";\nimport { CodeEditor } from \"~/components/CodeEditor/CodeEditor\";\nimport type { Errors } from \"~/components/DataBaseComponent/index\";\nimport type { RenderProps } from \"~/components/Dialog/CustomDialog\";\nimport { CustomDialog } from \"~/components/Dialog/CustomDialog\";\nimport { CustomDialogActions, CustomFlexDialogContent, CustomSaveDialogActions, CustomSaveDialogTitleBar } from \"~/components/DialogLayout/Custom\";\nimport CustomSaveDialogLayout from \"~/components/DialogLayout/Custom/CustomSaveDialogLayout\";\nimport DisplayDiff from \"~/components/DisplayDiff/index\";\ninterface SourceCodeDialogProps extends RenderProps {\n title?: string;\n value: string;\n language: CodeEditorLanguage;\n autocomplete: Array<{\n display: string;\n code: string;\n }>;\n description?: React.ReactNode;\n validate?(value: string): Promise | OctopusError | Error | null;\n onSave(value: string): void;\n confirmationOptions?: SourceCodeDialogConfirmationOptions;\n}\ntype SourceCodeDialogConfirmationOptions = {\n headerCallout?: React.ReactNode;\n};\nconst confirmContainerStyles = css({\n paddingLeft: \"1rem\",\n paddingRight: \"1rem\",\n display: \"flex\",\n flexDirection: \"column\",\n});\nconst codeEditorWrapper = css({\n padding: \"1em\",\n height: \"100%\",\n width: \"100%\",\n display: \"flex\",\n flexDirection: \"column\",\n});\nconst diffContainerStyles = css({\n background: themeTokens.color.background.secondary.default,\n flexGrow: 1,\n});\nconst SourceCodeDialog = (props: SourceCodeDialogProps) => {\n const [errors, setErrors] = React.useState(null);\n const [sourceCode, setSourceCode] = React.useState(props.value);\n const [confirmationVisible, setConfirmationVisible] = React.useState(false);\n const initialSourceCode = props.value;\n React.useEffect(() => {\n if (props.open) {\n setErrors(null);\n setSourceCode(props.value);\n setConfirmationVisible(false);\n }\n }, [props.value, props.open]);\n const editorRef = React.useRef(null);\n const hasChanges = initialSourceCode !== sourceCode;\n const save = async () => {\n if (props.validate) {\n const validationErrors = await props.validate(sourceCode);\n if (validationErrors) {\n setErrors(validationErrors);\n return false;\n }\n }\n props.onSave(sourceCode);\n return true;\n };\n const onFocusedEditorEscapePressed = () => {\n editorRef?.current?.blur();\n };\n const convertErrors = (): Errors | undefined => {\n if (!errors) {\n return;\n }\n if (OctopusError.isOctopusError(errors) && errors.Errors) {\n return {\n errors: errors.Errors.map((x: string) => x.toString()) ?? [],\n message: errors.ErrorMessage,\n fieldErrors: {},\n details: {},\n };\n }\n return {\n errors: [],\n message: errors.message,\n fieldErrors: {},\n details: {},\n };\n };\n const title = confirmationVisible ? \"Review and confirm your changes\" : props.title ?? \"Edit Source Code\";\n return ( ( } {...(errors ? { errors: convertErrors() } : {})} onSaveClick={() => save()} renderActions={(renderProps) => (\n {/* When the confirmation is required and there are changes, but it's not visible */}\n {!confirmationVisible && props.confirmationOptions && hasChanges && ( (wasSaved ? setConfirmationVisible(true) : renderProps.close())} onSaveClick={() => Promise.resolve(true)} savePermission={renderProps.savePermission}/>)}\n\n {/* When the confirmation is required and there are changes and its visible */}\n {confirmationVisible && props.confirmationOptions && ( (wasSaved ? renderProps.close() : setConfirmationVisible(false))}/>)}\n\n {/* When the confirmation is not visible and it's not required or there are changes */}\n {!confirmationVisible && (!props.confirmationOptions || !hasChanges) && ()}\n }/>)} renderContent={(renderProps) => (<>\n {!confirmationVisible && (<>\n {props.description}\n \n
    \n {\n setSourceCode(value);\n }} autoComplete={props.autocomplete} onEscPressed={() => onFocusedEditorEscapePressed()} showToolbar={true} showCopyButton={true} fullHeight={true}/>\n
    \n
    \n )}\n {confirmationVisible && props.confirmationOptions && (\n
    \n {props.confirmationOptions.headerCallout}\n
    \n \n
    \n
    \n
    )}\n )}/>)}/>);\n};\nexport default SourceCodeDialog;\n","import type { ActionProperties, PackageReferenceProperties } from \"@octopusdeploy/octopus-server-client\";\nimport { isEqual } from \"lodash\";\nimport type { ActionEditProps } from \"~/components/Actions/pluginRegistry\";\nexport function ValueInPropertiesOrErrorsHasChanged

    (keysObject: Record, newProps: ActionEditProps, props: ActionEditProps) {\n return !isEqual(newProps.errors, props.errors) || Object.keys(keysObject).some((p) => newProps.properties[p] !== props.properties[p]);\n}\n","import type { ActionProperties, FeedResource } from \"@octopusdeploy/octopus-server-client\";\nimport { isEqual } from \"lodash\";\nimport * as React from \"react\";\nimport ExternalLink from \"~/components/Navigation/ExternalLink\";\nimport { ValueInPropertiesOrErrorsHasChanged } from \"~/utils/ShouldUpdate/ValueInPropertiesHasChanged\";\nimport { BoundStringCheckbox } from \"../../../primitiveComponents/form/Checkbox/StringCheckbox\";\nimport Note from \"../../../primitiveComponents/form/Note/Note\";\nimport type { ActionEditProps } from \"../../Actions/pluginRegistry\";\nimport pluginRegistry from \"../../Actions/pluginRegistry\";\nimport { BaseComponent } from \"../../BaseComponent/BaseComponent\";\nimport { ExpandableFormSection, Summary } from \"../../form\";\nimport { VariableLookupText } from \"../../form/VariableLookupText\";\ninterface ConfigurationTransformsEditState {\n feeds: FeedResource[];\n}\nconst StringProperties = {\n \"Octopus.Action.Package.AutomaticallyRunConfigurationTransformationFiles\": \"\",\n \"Octopus.Action.Package.AdditionalXmlConfigurationTransforms\": \"\",\n};\ntype ConfigurationTransformProperties = {\n [P in keyof typeof StringProperties]: string;\n};\nexport default class ConfigurationTransformsEdit extends BaseComponent, ConfigurationTransformsEditState> {\n shouldComponentUpdate(nextProps: ActionEditProps, nextState: ConfigurationTransformsEditState) {\n return ValueInPropertiesOrErrorsHasChanged(StringProperties, nextProps, this.props) || !isEqual(nextState, this.state);\n }\n summary() {\n const auto = this.props.properties[\"Octopus.Action.Package.AutomaticallyRunConfigurationTransformationFiles\"] || \"\";\n const custom = this.props.properties[\"Octopus.Action.Package.AdditionalXmlConfigurationTransforms\"] || \"\";\n const summary = [];\n if (!!auto && auto.toLowerCase() !== \"false\") {\n summary.push(Default transforms (*.Release.config and *.EnvironmentName.config));\n }\n if (custom && custom.length > 0) {\n if (summary.length === 0) {\n summary.push(Custom transforms);\n }\n else {\n summary.push( and custom transforms);\n }\n }\n if (summary.length === 0) {\n return Summary.placeholder(\"No transforms will be run\");\n }\n summary.push( will be run);\n return Summary.summary(React.Children.toArray(summary));\n }\n render() {\n const properties = this.props.properties;\n return (\n this.props.setProperties({ [\"Octopus.Action.Package.AutomaticallyRunConfigurationTransformationFiles\"]: x })} label=\"Run default XML transforms\" note={\n Octopus can run configuration transformation files. By default Octopus looks for *.Release.config and *.<EnvironmentName>.config.\n }/>\n this.props.setProperties({ [\"Octopus.Action.Package.AdditionalXmlConfigurationTransforms\"]: x })} multiline={true} error={this.props.getFieldError(\"Octopus.Action.Package.AdditionalXmlConfigurationTransforms\")} label=\"Additional transforms\"/>\n \n

    A comma- or newline-separated list of additional configuration transformation file rules. Example:

    \n
    \n                        Web.Release.config {\"=>\"} Web.config\n                        
    \n *.Foo.config {\"=>\"} *.config\n
    \n crossdomainpolicy.#{\"{\"}Octopus.Environment.Name{\"}\"}.xml {\"=>\"} crossdomainpolicy.xml\n
    \n

    \n If your configuration file is named Bar.xml, and your transformation file is named Foo.xml, you should enter Foo.xml{\"=>\"}Bar.xml. Wildcards are supported so if you have config files named{\" \"}\n xyz.Bar.config and abc.Bar.config, and you have transform files named xyz.Foo.config and abc.Foo.config, you may enter *.Foo.config{\"=>\"}*.Bar.config\n

    \n

    \n For more information and advanced examples check our documentation\n

    \n \n );\n }\n static displayName = \"ConfigurationTransformsEdit\";\n}\npluginRegistry.registerFeature({\n featureName: \"Octopus.Features.ConfigurationTransforms\",\n title: \".NET Configuration Transforms\",\n description: \"Runs configuration file transforms, such as _Web.Release.config_\",\n edit: ConfigurationTransformsEdit,\n priority: 21,\n enable: (properties: ActionProperties) => {\n properties[\"Octopus.Action.Package.AutomaticallyRunConfigurationTransformationFiles\"] = \"True\";\n },\n disable: (properties: ActionProperties) => {\n delete properties[\"Octopus.Action.Package.AutomaticallyRunConfigurationTransformationFiles\"];\n delete properties[\"Octopus.Action.Package.AdditionalXmlConfigurationTransforms\"];\n },\n});\n","import { Checkbox } from \"@octopusdeploy/design-system-components\";\nimport type { PackageReferenceProperties, ActionProperties } from \"@octopusdeploy/octopus-server-client\";\nimport * as React from \"react\";\nimport { ValueInPropertiesOrErrorsHasChanged } from \"~/utils/ShouldUpdate/ValueInPropertiesHasChanged\";\nimport Note from \"../../../primitiveComponents/form/Note/Note\";\nimport type { ActionEditProps } from \"../../Actions/pluginRegistry\";\nimport pluginRegistry from \"../../Actions/pluginRegistry\";\nimport { BaseComponent } from \"../../BaseComponent/BaseComponent\";\nimport ExternalLink from \"../../Navigation/ExternalLink\";\nimport { ExpandableFormSection, Summary } from \"../../form\";\nimport { VariableLookupText } from \"../../form/VariableLookupText\";\n/* Note on Octopus Variable names:\nCurrently we don't have a good solution to supporting both old and new Octopus Variable names\nso for the time being, even though this feature has been renamed to structured configuration variables\nfrom json configuration variables, we're going to continue using the json based variables names\n*/\nconst StringProperties = {\n \"Octopus.Action.Package.JsonConfigurationVariablesTargets\": \"\",\n};\ntype StructuredConfigurationProperties = {\n [P in keyof typeof StringProperties]: string;\n};\nclass StructuredConfigurationComponentProperties {\n supportedDataTypes?: (\"JSON\" | \"YAML\" | \"XML\" | \"Java\")[];\n cannotSupplyTargets?: boolean;\n defaultTargetsGlob?: string;\n}\ntype StructuredConfigurationVariablesEditProps

    = ActionEditProps & StructuredConfigurationComponentProperties;\nexport default class StructuredConfigurationVariablesEdit

    extends BaseComponent, never> {\n readonly allFilesGlobPattern: string = \"**/*\";\n shouldComponentUpdate(nextProps: StructuredConfigurationVariablesEditProps

    ) {\n const configurationChanged = nextProps.supportedDataTypes != this.props.supportedDataTypes || nextProps.cannotSupplyTargets != this.props.cannotSupplyTargets || nextProps.defaultTargetsGlob != this.props.defaultTargetsGlob;\n const shouldUpdate = configurationChanged || ValueInPropertiesOrErrorsHasChanged(StringProperties, nextProps, this.props);\n if (shouldUpdate) {\n // if the user isn't supplying targets but something is set, we need to set the glob pattern back to the default\n if (nextProps.cannotSupplyTargets && this.areTargetsSet(nextProps) && nextProps.properties[\"Octopus.Action.Package.JsonConfigurationVariablesTargets\"] !== (nextProps.defaultTargetsGlob ?? this.allFilesGlobPattern)) {\n nextProps.setProperties({\n [\"Octopus.Action.Package.JsonConfigurationVariablesTargets\"]: nextProps.defaultTargetsGlob ?? this.allFilesGlobPattern,\n });\n }\n }\n return shouldUpdate;\n }\n areTargetsSet(properties: StructuredConfigurationVariablesEditProps

    ) {\n return (properties.properties[\"Octopus.Action.Package.JsonConfigurationVariablesTargets\"] || \"\").length > 0;\n }\n summary() {\n const enabled = this.areTargetsSet(this.props);\n if (this.props.cannotSupplyTargets) {\n return Summary.summary(enabled ? \"Enabled\" : \"Disabled\");\n }\n if (enabled) {\n return Summary.summary(Variable replacement will be performed on the target files);\n }\n else {\n return Summary.placeholder(\"No target files provided\");\n }\n }\n render() {\n const properties = this.props.properties;\n return (\n {!this.props.cannotSupplyTargets && (<>\n {\n this.props.setProperties({\n [\"Octopus.Action.Package.JsonConfigurationVariablesTargets\"]: x,\n });\n }} multiline={true} error={this.props.getFieldError(\"Octopus.Action.Package.JsonConfigurationVariablesTargets\")} label=\"Target files\"/>\n \n Target files need to be new line seperated, relative to the package contents. Extended wildcard syntax is supported. E.g., appsettings.json, Config\\*.xml, **\\specific-folder\\*.yaml. Learn more\n about Structured Configuration Variables and view examples.\n \n )}\n {this.props.cannotSupplyTargets && (<>\n 0} onChange={(x) => this.props.setProperties({\n [\"Octopus.Action.Package.JsonConfigurationVariablesTargets\"]: x ? this.props.defaultTargetsGlob ?? this.allFilesGlobPattern : \"\",\n })}/>\n \n Learn more about Structured Configuration Variables and view examples.\n \n )}\n );\n }\n private getHelpText() {\n let formatTypes: string = \"\";\n let supportedDataTypes = this.props.supportedDataTypes;\n if (supportedDataTypes === undefined || supportedDataTypes.length === 0) {\n supportedDataTypes = [\"JSON\", \"YAML\", \"XML\", \"Java\"];\n }\n if (supportedDataTypes.length === 1) {\n formatTypes = supportedDataTypes[0];\n }\n else if (supportedDataTypes.length === 2) {\n formatTypes = supportedDataTypes.join(\" and \");\n }\n else {\n formatTypes = supportedDataTypes.slice(0, -1).join(\", \").concat(\", and \", supportedDataTypes.slice(-1)[0]);\n }\n return this.props.cannotSupplyTargets ? `Uses variables to replace values in your ${formatTypes} sources` : `Specify ${formatTypes} files for variable replacement.`;\n }\n static displayName = \"StructuredConfigurationVariablesEdit\";\n}\npluginRegistry.registerFeature({\n featureName: \"Octopus.Features.JsonConfigurationVariables\",\n title: \"Structured Configuration Variables\",\n description: \"Replace settings in JSON, YAML, XML, and Java Properties files with variables defined in Octopus.\",\n edit: StructuredConfigurationVariablesEdit,\n priority: 15,\n disable: (properties: ActionProperties) => {\n delete properties[\"Octopus.Action.Package.JsonConfigurationVariablesTargets\"];\n },\n});\n","import type { ActionProperties } from \"@octopusdeploy/octopus-server-client\";\nimport * as React from \"react\";\nimport { ValueInPropertiesOrErrorsHasChanged } from \"~/utils/ShouldUpdate/ValueInPropertiesHasChanged\";\nimport Note from \"../../../primitiveComponents/form/Note/Note\";\nimport type { ActionEditProps } from \"../../Actions/pluginRegistry\";\nimport pluginRegistry from \"../../Actions/pluginRegistry\";\nimport { BaseComponent } from \"../../BaseComponent/BaseComponent\";\nimport ExternalLink from \"../../Navigation/ExternalLink\";\nimport { ExpandableFormSection, Summary } from \"../../form\";\nimport { VariableLookupText } from \"../../form/VariableLookupText\";\nconst StringProperties = {\n \"Octopus.Action.SubstituteInFiles.TargetFiles\": \"\",\n \"Octopus.Action.SubstituteInFiles.OutputEncoding\": \"\",\n};\ntype SubstituteInFilesProperties = {\n [P in keyof typeof StringProperties]: string;\n};\nexport default class SubstituteInFilesEdit extends BaseComponent, never> {\n shouldComponentUpdate(nextProps: ActionEditProps) {\n return ValueInPropertiesOrErrorsHasChanged(StringProperties, nextProps, this.props);\n }\n summary() {\n const json = this.props.properties[\"Octopus.Action.SubstituteInFiles.TargetFiles\"] || \"\";\n if (json.length > 0) {\n return Summary.summary(Variable substitution will be performed on configured files);\n }\n else {\n return Summary.placeholder(\"No files configured\");\n }\n }\n render() {\n const properties = this.props.properties;\n return (\n this.props.setProperties({ [\"Octopus.Action.SubstituteInFiles.TargetFiles\"]: x })} error={this.props.getFieldError(\"Octopus.Action.SubstituteInFiles.TargetFiles\")} multiline={true} label=\"Target files\"/>\n \n A newline-separated list of file names to transform, relative to the package contents. Extended wildcard syntax is supported. E.g., Notes.txt, Config\\*.json, **\\specific-folder\\*.config.\n
    \n This field supports extended template syntax. Conditional if and unless:

    {`#{if MyVar}...#{/if}`}
    \n Iteration over variable sets or comma-separated values with each:
    {`#{each mv in MyVar}...#{mv}...#{/each}`}
    \n \n\n this.props.setProperties({ [\"Octopus.Action.SubstituteInFiles.OutputEncoding\"]: x })} error={this.props.getFieldError(\"Octopus.Action.SubstituteInFiles.OutputEncoding\")} multiline={false} placeholder=\"Detect from template\" label=\"Output file encoding\"/>\n \n The name of an encoding to use when writing the transformed file. E.g., utf-8.
    \n For a list of supported encoding names, see the Remarks section of the System.Text.Encoding class on MSDN.\n
    \n );\n }\n static displayName = \"SubstituteInFilesEdit\";\n}\npluginRegistry.registerFeature({\n featureName: \"Octopus.Features.SubstituteInFiles\",\n title: \"Substitute Variables in Templates\",\n description: \"Transforms files using the Octopus #{Variable} substitution syntax\",\n edit: SubstituteInFilesEdit,\n priority: 22,\n disable: (properties: ActionProperties) => {\n delete properties[\"Octopus.Action.SubstituteInFiles.TargetFiles\"];\n delete properties[\"Octopus.Action.SubstituteInFiles.OutputEncoding\"];\n },\n});\n","import { RadioButton, RadioButtonGroup, Callout, noOp } from \"@octopusdeploy/design-system-components\";\nimport type { AzureAppServiceProperties } from \"@octopusdeploy/legacy-action-properties\";\nimport type { DataContext, MetadataTypeCollection } from \"@octopusdeploy/octopus-server-client\";\nimport { ActionExecutionLocation, containerRegistryFeedTypes, FeedType, GetPrimaryPackageReference, InitialisePrimaryPackageReference, PackageAcquisitionLocation, SetPrimaryPackageReference } from \"@octopusdeploy/octopus-server-client\";\nimport * as React from \"react\";\nimport { useFeedsFromContext, useRefreshFeedsFromContext } from \"~/areas/projects/components/Process/Contexts/ProcessFeedsContextProvider\";\nimport { TargetRoles } from \"~/areas/projects/components/Process/types\";\nimport { BaseComponent } from \"~/components/BaseComponent/BaseComponent\";\nimport { CodeEditor } from \"~/components/CodeEditor/CodeEditor\";\nimport OpenDialogButton from \"~/components/Dialog/OpenDialogButton\";\nimport ExternalLink from \"~/components/Navigation/ExternalLink/ExternalLink\";\nimport DeferredPackageSelector from \"~/components/PackageSelector/DeferredPackageSelector\";\nimport SourceCodeDialog from \"~/components/SourceCodeDialog/SourceCodeDialog\";\nimport ExpandableFormSection, { CardFill } from \"~/components/form/Sections/ExpandableFormSection\";\nimport FormSectionHeading from \"~/components/form/Sections/FormSectionHeading\";\nimport Summary from \"~/components/form/Sections/Summary\";\nimport Note from \"~/primitiveComponents/form/Note/Note\";\nimport CommonSummaryHelper from \"~/utils/CommonSummaryHelper/CommonSummaryHelper\";\nimport StringHelper from \"~/utils/StringHelper/index\";\nimport { repository } from \"../../../clientInstance\";\nimport { TextFormat } from \"../../CodeEditor/CodeEditor\";\nimport ConfigurationTransformsEdit from \"../../Features/dotnetConfigurationTransforms/dotnetConfigurationTransforms\";\nimport StructuredConfigurationVariablesEdit from \"../../Features/structuredConfigurationVariables/structuredConfigurationVariables\";\nimport SubstituteInFilesEdit from \"../../Features/substituteInFiles/substituteInFiles\";\nimport { VariableLookupText } from \"../../form/VariableLookupText\";\nimport { DisplayFeedName } from \"../DisplayFeedName\";\nimport Roles from \"../Roles\";\nimport type { ActionSummaryProps } from \"../actionSummaryProps\";\nimport type { ActionWithFeeds } from \"../commonActionHelpers\";\nimport { getChangesToPackageReference } from \"../getChangesToPackageReference\";\nimport type { ActionEditProps } from \"../pluginRegistry\";\nimport pluginRegistry from \"../pluginRegistry\";\nimport { AzureBundledToolsForCustomScriptsEdit } from \"./azureBundledTools\";\ninterface AzureAppServiceActionSummaryState {\n feedName: string;\n}\nclass AzureAppServiceActionSummary extends BaseComponent {\n constructor(props: ActionSummaryProps) {\n super(props);\n }\n render() {\n const pkg = GetPrimaryPackageReference(this.props.packages);\n return pkg ? (
    \n {\"Deploy an Azure Web App with Zip Deploy\"} {pkg.PackageId} {\"from\"} \n {this.props.targetRolesAsCSV && (\n {\" \"}\n on behalf of targets with {\" \"}\n )}\n
    ) : (\n Package was not selected or cannot be found. Please review this step and ensure a valid package is selected.\n );\n }\n static displayName = \"AzureAppServiceActionSummary\";\n}\nenum DeploymentType {\n Package = \"Package\",\n Container = \"Container\"\n}\ntype AzureAppServiceEditProps = ActionEditProps;\ntype AzureAppServiceEditInternalProps = AzureAppServiceEditProps & ActionWithFeeds;\nexport const AzureAppServiceEdit: React.FC = (props) => {\n const feeds = useFeedsFromContext();\n const refreshFeeds = useRefreshFeedsFromContext();\n return ;\n};\nAzureAppServiceEdit.displayName = \"AzureAppServiceEdit\"\nclass AzureAppServiceEditInternal extends BaseComponent {\n constructor(props: AzureAppServiceEditInternalProps) {\n super(props);\n this.state = {};\n }\n async componentDidMount() {\n this.props.setPackages(InitialisePrimaryPackageReference(this.props.packages, this.props.feeds));\n if (!this.props.properties[\"Octopus.Action.Azure.DeploymentType\"]) {\n this.props.setProperties({ [\"Octopus.Action.Azure.DeploymentType\"]: DeploymentType.Package }, true);\n }\n }\n render() {\n // The package is initialized in componentDidMount, but render gets called before the update is propagated\n if (!this.props.packages || this.props.packages.length === 0) {\n return null;\n }\n const pkg = GetPrimaryPackageReference(this.props.packages);\n return (
    \n \n \n Select the package containing your application.}>\n \n \n \n \n\n this.props.setPackages(SetPrimaryPackageReference({ FeedId: feedId }, this.props.packages))} onPackageVersionChange={(version) => this.props.setPackages(SetPrimaryPackageReference({ Version: version }, this.props.packages))} packageIdError={this.props.getFieldError(\"Octopus.Action.Package.PackageId\")} feedIdError={this.props.getFieldError(\"Octopus.Action.Package.FeedId\")} projectId={this.props.projectId} feeds={this.props.feeds} localNames={this.props.localNames} refreshFeeds={this.loadFeeds} parameters={this.props.parameters} packageSelectionMode={pkg.Properties[\"SelectionMode\"]} packageSelectionModeError={this.props.getFieldError(\"SelectionMode\")} onPackageSelectionModeChange={(value) => this.props.setPackages(SetPrimaryPackageReference(getChangesToPackageReference(value), this.props.packages))} packageParameterName={pkg.Properties[\"PackageParameterName\"]} packageParameterError={this.props.getFieldError(\"PackageParameterName\")} onPackageParameterChange={(packageParameter) => this.props.setPackages(SetPrimaryPackageReference({ Properties: { ...pkg.Properties, PackageParameterName: packageParameter } }, this.props.packages))}/>\n \n Enter the slot to be deployed to}>\n this.props.setProperties({ [\"Octopus.Action.Azure.DeploymentSlot\"]: x })} label=\"Deployment Slot\"/>\n \n Slots allow deploying different versions of your app to the same app service. Learn more.
    \n Octopus variable expressions can be used. e.g. {`#{DeploymentSlot}`}\n
    \n \n Slots can also be configured on Azure Web App deployment targets. If a slot is defined on both target and step, the target takes precedence.\n \n
    \n \n Provide App Service Application Settings you wish to be set} fillCardWidth={CardFill.FillRight}>\n {this.props.properties[\"Octopus.Action.Azure.AppSettings\"] && (<>\n \n
    \n )}\n ( {\n this.props.setProperties({ [\"Octopus.Action.Azure.AppSettings\"]: value.trim() });\n }} language={TextFormat.JSON}/>)}/>\n \n The App Settings should be provided as JSON, using the same schema as the bulk edit in the Azure portal. Octopus variable-binding syntax may be used.\n \n \n Example:\n
    \n \n {`[`}\n
    \n    {\"{\"}\n
    \n       {`\"name\": \"Greeting\",`}\n
    \n       {`\"value\": \"#{Greeting}\",`}\n
    \n       {`\"slotSetting\": false`}\n
    \n    {`},`}\n
    \n    {`{`}\n
    \n       {`\"name\": \"Environment\",`}\n
    \n       {`\"value\": \"#{Octopus.Environment.Name}\",`}\n
    \n       {`\"slotSetting\": false`}\n
    \n    {`}`}\n
    \n {`]`}\n
    \n
    \n
    \n Provide connection strings you wish to be set} fillCardWidth={CardFill.FillRight}>\n {this.props.properties[\"Octopus.Action.Azure.ConnectionStrings\"] && (<>\n \n
    \n )}\n ( {\n this.props.setProperties({ [\"Octopus.Action.Azure.ConnectionStrings\"]: value.trim() });\n }} language={TextFormat.JSON}/>)}/>\n \n The connection strings should be provided as JSON, using the same schema as the bulk edit in the Azure portal. Octopus variable-binding syntax may be\n used.\n \n \n Example:\n
    \n \n {`[`}\n
    \n    {\"{\"}\n
    \n       {`\"name\": \"AcmeDB\",`}\n
    \n       {`\"value\": \"#{Acme.Database.ConnectionString}\",`}\n
    \n       {`\"type\": \"SQLAzure\",`}\n
    \n       {`\"slotSetting\": false`}\n
    \n    {`}`}\n
    \n {`]`}\n
    \n
    \n
    \n {this.configurationFileSections()}\n
    );\n }\n packageOrContainerImageChanged = (deploymentType: string) => {\n this.props.setProperties({ [\"Octopus.Action.Azure.DeploymentType\"]: deploymentType });\n this.props.setPackages(SetPrimaryPackageReference({\n AcquisitionLocation: deploymentType === DeploymentType.Container ? PackageAcquisitionLocation.NotAcquired : PackageAcquisitionLocation.Server,\n }, this.props.packages));\n };\n packageIdChanged = (packageId: string) => {\n this.props.setPackages(SetPrimaryPackageReference({ PackageId: packageId }, this.props.packages));\n };\n private configurationFileSections() {\n // We can't offer configuration file capabilities for container images\n //\n const packageOrContainer = this.props.properties[\"Octopus.Action.Azure.DeploymentType\"];\n if (packageOrContainer === DeploymentType.Container) {\n return \"\";\n }\n return (
    \n \n \n \n \n
    );\n }\n private appSettingsSummary() {\n const appSettingsJson = this.props.properties[\"Octopus.Action.Azure.AppSettings\"];\n if (!appSettingsJson || !appSettingsJson.trim()) {\n return Summary.placeholder(\"No application settings configured\");\n }\n return Summary.summary(\"Application settings configured\");\n }\n private connectionStringsSummary() {\n const connectionStringsJson = this.props.properties[\"Octopus.Action.Azure.ConnectionStrings\"];\n if (!connectionStringsJson || !connectionStringsJson.trim()) {\n return Summary.placeholder(\"No connection strings configured\");\n }\n return Summary.summary(\"Connection strings configured\");\n }\n private availableFeedTypes() {\n const packageOrContainer = this.props.properties[\"Octopus.Action.Azure.DeploymentType\"];\n switch (packageOrContainer) {\n case DeploymentType.Container:\n return containerRegistryFeedTypes();\n default:\n return [FeedType.BuiltIn, FeedType.Nuget, FeedType.Maven, FeedType.ArtifactoryGeneric];\n }\n }\n private loadFeeds = async () => {\n await this.props.refreshFeeds();\n };\n private slotSummary() {\n const slot = this.props.properties[\"Octopus.Action.Azure.DeploymentSlot\"];\n if (!slot) {\n return Summary.placeholder(\"No deployment slot configured\");\n }\n return Summary.summary(slot);\n }\n validateTemplate = async (value: string) => {\n //if the template is empty, that is valid as it's removing a previously set value\n if (StringHelper.isNullOrWhiteSpace(value)) {\n return null;\n }\n try {\n await this.getMetadata(value);\n }\n catch (err) {\n return err;\n }\n return null;\n };\n getMetadata = async (value: string): Promise<{\n Metadata: MetadataTypeCollection;\n Values: DataContext;\n }> => {\n return await repository.CloudTemplates.getMetadata(value, \"AzureAppService\");\n };\n static displayName = \"AzureAppServiceEditInternal\";\n}\npluginRegistry.registerAction({\n executionLocation: ActionExecutionLocation.AlwaysOnServer,\n actionType: \"Octopus.AzureAppService\",\n summary: (properties, targetRolesAsCSV, packages) => ,\n editSections: { default: AzureAppServiceEdit },\n canHaveChildren: (step) => true,\n canBeChild: true,\n targetRoleOption: (action) => {\n return TargetRoles.Required;\n },\n hasPackages: (action) => true,\n getInitialProperties: () => {\n return {\n OctopusUseBundledTooling: \"False\",\n // This was the first step where we decided to move away from showing the 'Configure Features' UI.\n // Instead, we hard-wire the enabled features here, and always the display the UI for them below\n \"Octopus.Action.EnabledFeatures\": \"Octopus.Features.JsonConfigurationVariables,Octopus.Features.ConfigurationTransforms,Octopus.Features.SubstituteInFiles\",\n };\n },\n targetDiscoveryCloudConnectionProviders: () => [\"Azure\"],\n});\n","export interface AccessRule {\n Identity?: string;\n Access: AccessType;\n}\nexport enum AccessType {\n ReadOnly = \"ReadOnly\",\n FullControl = \"FullControl\"\n}\nexport enum StoreLocations {\n LocalMachine = \"LocalMachine\",\n CurrentUser = \"CurrentUser\",\n CustomUser = \"Custom User\"\n}\nexport enum StoreNames {\n My = \"My\",\n Root = \"Root\",\n CA = \"CA\",\n TrustedPeople = \"TrustedPeople\",\n TrustedPublisher = \"TrustedPublisher\",\n AuthRoot = \"AuthRoot\",\n AddressBook = \"AddressBook\",\n Other = \"Other\"\n}\n","import { ActionButton, ActionButtonType } from \"@octopusdeploy/design-system-components\";\nimport * as React from \"react\";\nimport { DialogLayoutConnect } from \"~/components/Dialog/DialogLayoutConnect\";\nimport type { DialogLayoutDispatchProps, DialogLayoutCommonProps } from \"~/components/DialogLayout/DialogLayout\";\nimport { DialogLayout } from \"~/components/DialogLayout/DialogLayout\";\nimport { timeOperation, timeOperationOptions } from \"~/utils/OperationTimer/timeOperation\";\nimport FormComponent from \"../FormComponent/FormComponent\";\nimport type { PermissionCheckProps } from \"../PermissionCheck/PermissionCheck\";\nimport { isAllowed } from \"../PermissionCheck/PermissionCheck\";\nimport styles from \"./style.module.less\";\ninterface SaveDialogLayoutProps extends DialogLayoutCommonProps {\n saveButtonDisabled?: boolean;\n savePermission?: PermissionCheckProps;\n saveButtonLabel?: string;\n busyButtonLabel?: string;\n cancelButtonLabel?: string;\n hideSave?: boolean;\n onSaveClick(): Promise;\n onCancelClick?: () => void;\n}\nclass SaveDialogLayoutInternal extends React.Component {\n static defaultProps: Partial = {\n hideSave: false,\n };\n saveClick = async () => {\n const options = timeOperationOptions.for(`${this.props.title}Save`.replace(\" \", \"\"));\n const result = await timeOperation(options, () => this.props.onSaveClick());\n if (result) {\n this.props.close();\n }\n };\n cancelClick = () => {\n this.props.onCancelClick?.();\n this.props.close();\n };\n submitForm = async () => {\n if (!this.isSaveButtonDisabled()) {\n await this.saveClick();\n }\n };\n render() {\n const { children, ...other } = this.props;\n const save = this.props.hideSave ? null : ();\n const cancel = ;\n return (\n \n {children}\n \n );\n }\n private isSaveButtonDisabled(): boolean {\n const disabledDueToPermission = !!this.props.savePermission ? !isAllowed(this.props.savePermission) : false;\n return !!(this.props.saveButtonDisabled || disabledDueToPermission || this.props.busy);\n }\n static displayName = \"SaveDialogLayoutInternal\";\n}\nconst SaveDialogLayout = DialogLayoutConnect.to(SaveDialogLayoutInternal);\nSaveDialogLayout.displayName = \"SaveDialogLayout\";\nexport default SaveDialogLayout;\n","/* eslint-disable @typescript-eslint/no-non-null-assertion,@typescript-eslint/consistent-type-assertions */\nimport * as React from \"react\";\nimport type { DataBaseComponentState } from \"~/components/DataBaseComponent\";\nimport { DataBaseComponent } from \"~/components/DataBaseComponent\";\nimport SaveDialogLayout from \"~/components/DialogLayout/SaveDialogLayout\";\nimport { Text, required, Note, Select } from \"~/components/form\";\nimport type { AccessRule } from \"./CertificateImportTypes\";\nimport { AccessType } from \"./CertificateImportTypes\";\ninterface PrivateKeyAccessRuleDialogProps {\n rule: AccessRule;\n saveDone(newRule: AccessRule): void;\n}\ninterface PrivateKeyAccessRuleDialogState extends DataBaseComponentState {\n identity: string;\n access: AccessType;\n}\nclass PrivateKeyAccessRuleDialog extends DataBaseComponent {\n constructor(props: PrivateKeyAccessRuleDialogProps) {\n super(props);\n this.state = {\n identity: this.props.rule.Identity!,\n access: this.props.rule.Access,\n };\n }\n async save() {\n if (this.state.identity) {\n this.props.saveDone({ Identity: this.state.identity, Access: this.state.access });\n return true;\n }\n else {\n this.setValidationErrors(\"Identity must be provided\", { identity: \"Please enter an identity\" });\n return false;\n }\n }\n render() {\n return ( this.save()}>\n this.setState({ identity: val })} autoFocus={true}/>\n \n The user or group identity. e.g. DOMAIN\\userOrGroup\n \n\n this.props.setProperties({ [\"Octopus.Action.Docker.NetworkType\"]: val })} value={this.props.properties[\"Octopus.Action.Docker.NetworkType\"]} items={Object.keys(NetworkTypes).map((nt) => ({ value: nt, text: (NetworkTypes as any)[nt].name }))}/>\n {this.props.properties[\"Octopus.Action.Docker.NetworkType\"] && {(NetworkTypes as any)[this.props.properties[\"Octopus.Action.Docker.NetworkType\"]].description}}\n {this.props.properties[\"Octopus.Action.Docker.NetworkType\"] === \"other\" && ( this.props.setProperties({ [\"Octopus.Action.Docker.NetworkCustomDriver\"]: val })} value={this.props.properties[\"Octopus.Action.Docker.NetworkCustomDriver\"]}/>)}\n \n \n this.props.setProperties({ [\"Octopus.Action.Docker.NetworkName\"]: val })} value={this.props.properties[\"Octopus.Action.Docker.NetworkName\"]}/>\n Optional network name. If not specified this will be randomly generated.\n \n \n this.props.setProperties({ [\"Octopus.Action.Docker.NetworkSubnet\"]: val })}/>\n \n \n this.props.setProperties({ [\"Octopus.Action.Docker.NetworkIPRange\"]: val })}/>\n \n \n this.props.setProperties({ [\"Octopus.Action.Docker.NetworkGateway\"]: val })}/>\n \n \n Provide any other arguments that will be passed to the docker network create command.\n }>\n this.props.setProperties({ [\"Octopus.Action.Docker.Args\"]: val })}/>\n \n );\n }\n propertySummary(property: string, defaultValue: any): SummaryNode {\n const subnet = (this.props.properties as any)[property];\n return subnet ? Summary.summary(subnet) : Summary.placeholder(defaultValue);\n }\n networkTypeSummary(): SummaryNode {\n const type = this.props.properties[\"Octopus.Action.Docker.NetworkType\"];\n if (!type) {\n return Summary.default(NetworkTypes.bridge.description);\n }\n if (type === \"other\") {\n return Summary.summary(this.props.properties[\"Octopus.Action.Docker.NetworkCustomDriver\"] + \" (custom)\");\n }\n return Summary.summary((NetworkTypes as any)[type].description);\n }\n networkNameSummary(property: string, defaultValue: any): SummaryNode {\n const networkName = (this.props.properties as any)[property];\n return networkName ? Summary.summary(networkName) : Summary.placeholder(defaultValue);\n }\n static displayName = \"DockerNetworkAction\";\n}\npluginRegistry.registerAction({\n executionLocation: ActionExecutionLocation.AlwaysOnTarget,\n actionType: \"Octopus.DockerNetwork\",\n targetRoleOption: (action) => TargetRoles.Optional,\n summary: (properties, targetRolesAsCSV) => ,\n canHaveChildren: (step) => true,\n canBeChild: true,\n editSections: { default: DockerNetworkAction },\n docsLink: \"createDockerNetwork\",\n});\n","import type { ProjectResource } from \"@octopusdeploy/octopus-server-client\";\nimport * as React from \"react\";\nimport type { DataBaseComponentState } from \"~/components/DataBaseComponent/DataBaseComponent\";\nimport { DataBaseComponent } from \"~/components/DataBaseComponent/DataBaseComponent\";\nimport OkDialogLayout from \"~/components/DialogLayout/OkDialogLayout\";\nimport { VariableLookupText } from \"~/components/form/VariableLookupText\";\nimport { BoundStringCheckbox } from \"~/primitiveComponents/form/Checkbox/StringCheckbox\";\nimport Note from \"~/primitiveComponents/form/Note/Note\";\ninterface BindingState extends DataBaseComponentState {\n binding: VolumeBinding;\n}\ninterface VolumeBinding {\n host: string;\n container: string;\n readOnly: string;\n noCopy: string;\n}\ninterface BindingProps {\n binding: VolumeBinding;\n localNames: string[];\n project: ProjectResource;\n projectId: string;\n existingContainerMappings: string[];\n onAdd(Binding: VolumeBinding): boolean;\n}\nexport default class VolumeBindingDialog extends DataBaseComponent {\n constructor(props: BindingProps) {\n super(props);\n this.state = {\n binding: props.binding,\n };\n }\n async componentDidMount() {\n await this.doBusyTask(async () => {\n /* trigger the dialog location fix in doBusyTask */\n });\n }\n save = () => {\n return this.props.onAdd(this.state.binding);\n };\n render() {\n const existingError = this.props.existingContainerMappings.indexOf(this.state.binding.container) === -1 ? undefined : \"A volume binding already exists for this path\";\n return (\n {this.state.binding && (
    \n this.setChildState1(\"binding\", { container: x })} error={existingError} label=\"Container Dest\"/>\n {existingError === undefined && \"Mount point inside container to create volume.\"}\n\n this.setChildState1(\"binding\", { host: x })} label=\"Host Source\"/>\n An optional absolute path or a name value to a resource on the host.\n
    \n this.setChildState1(\"binding\", { readOnly: x })} label=\"Read Only\" note={Volume defaults mode to read-write.}/>\n
    \n this.setChildState1(\"binding\", { noCopy: x })} label=\"No Copy\" note={Disable automatic copying volume path in the container to the volume storage location.}/>\n
    )}\n
    );\n }\n static displayName = \"VolumeBindingDialog\";\n}\nexport { VolumeBinding };\n","/* eslint-disable @typescript-eslint/no-non-null-assertion */\n/* eslint-disable @typescript-eslint/no-explicit-any */\n/* eslint-disable @typescript-eslint/consistent-type-assertions */\nimport { ActionButton, RadioButtonGroup, RadioButton, Callout } from \"@octopusdeploy/design-system-components\";\nimport type { DockerRunActionEditProperties } from \"@octopusdeploy/legacy-action-properties\";\nimport type { FeedResource } from \"@octopusdeploy/octopus-server-client\";\nimport { ActionExecutionLocation, FeedType, GetPrimaryPackageReference, InitialisePrimaryPackageReference, SetPrimaryPackageReference } from \"@octopusdeploy/octopus-server-client\";\nimport { clone } from \"lodash\";\nimport * as React from \"react\";\nimport { useFeedsFromContext, useRefreshFeedsFromContext } from \"~/areas/projects/components/Process/Contexts/ProcessFeedsContextProvider\";\nimport { TargetRoles } from \"~/areas/projects/components/Process/types\";\nimport { BaseComponent } from \"~/components/BaseComponent/BaseComponent\";\nimport ExternalLink from \"~/components/Navigation/ExternalLink/ExternalLink\";\nimport DeferredPackageSelector from \"~/components/PackageSelector/DeferredPackageSelector\";\nimport type { SummaryNode } from \"~/components/form\";\nimport { ExpandableFormSection, Summary } from \"~/components/form\";\nimport { VariableLookupText } from \"~/components/form/VariableLookupText\";\nimport Note from \"~/primitiveComponents/form/Note/Note\";\nimport { DebounceText } from \"~/primitiveComponents/form/Text/Text\";\nimport StringCheckbox, { BoundStringCheckbox } from \"../../../primitiveComponents/form/Checkbox/StringCheckbox\";\nimport CommonSummaryHelper from \"../../../utils/CommonSummaryHelper/CommonSummaryHelper\";\nimport ParseHelper from \"../../../utils/ParseHelper/ParseHelper\";\nimport DialogOpener from \"../../Dialog/DialogOpener\";\nimport KeyValueEditList from \"../../EditList/KeyValueEditList\";\nimport StringEditList from \"../../EditList/StringEditList\";\nimport { RemoveItemsList } from \"../../RemoveItemsList/RemoveItemsList\";\nimport ExpanderSectionHeading from \"../../form/Sections/FormSectionHeading\";\nimport { DisplayFeedName } from \"../DisplayFeedName\";\nimport Roles from \"../Roles\";\nimport type { ActionSummaryProps } from \"../actionSummaryProps\";\nimport type { ActionWithFeeds } from \"../commonActionHelpers\";\nimport { getChangesToPackageReference } from \"../getChangesToPackageReference\";\nimport type { ActionEditProps } from \"../pluginRegistry\";\nimport pluginRegistry from \"../pluginRegistry\";\nimport type { VolumeBinding } from \"./VolumeBindingDialog\";\nimport VolumeBindingDialog from \"./VolumeBindingDialog\";\ninterface AzureCloudServiceActionSummaryState {\n feedName: string;\n}\nclass BindingList extends RemoveItemsList {\n}\nclass DockerRunActionSummary extends BaseComponent {\n constructor(props: ActionSummaryProps) {\n super(props);\n }\n render() {\n const pkg = GetPrimaryPackageReference(this.props.packages);\n return pkg ? (
    \n {\"Deploy and Run a Docker Container\"} {pkg.PackageId} {\"from\"} \n {this.props.targetRolesAsCSV && (\n {\" \"}\n on behalf of targets with {\" \"}\n )}\n
    ) : (\n Package was not selected or cannot be found. Please review this step and ensure a valid package is selected.\n );\n }\n static displayName = \"DockerRunActionSummary\";\n}\ninterface DockerRunEditState {\n editBinding: VolumeBinding;\n editBindingIndex: number;\n volumeBindings: VolumeBinding[];\n}\nconst NetworkTypes = {\n [\"\"]: {\n name: \"Default\",\n description: \"Provide no explicit type and use host default.\",\n },\n none: {\n name: \"None\",\n description: \"No networking.\",\n },\n bridge: {\n name: \"Bridge (Linux Default)\",\n description: \"Connect the container to the bridge via veth interfaces.\",\n },\n host: {\n name: \"Host\",\n description: \"Use the host's network stack inside the container.\",\n },\n container: {\n name: \"Container\",\n description: \"Use the network stack of another container, specified via its name or id.\",\n },\n network: {\n name: \"Custom network\",\n description: \"Connects the container to a user created network.\",\n },\n};\nconst RestartPolicies = {\n no: {\n name: \"No (default)\",\n description: \"Do not automatically restart the container when it exits.\",\n },\n [\"on-failure\"]: {\n name: \"On failure\",\n description: \"Restart only if the container exits with a non-zero exit status. \" + \"Optionally, limit the number of restart retries the Docker daemon attempts.\",\n },\n always: {\n name: \"Always\",\n description: \"Always restart the container regardless of the exit status. \" +\n \"When you specify always, the Docker daemon will try to restart the container indefinitely. \" +\n \"The container will also always start on daemon startup, regardless of the current state of the container.\",\n },\n [\"unless-stopped\"]: {\n name: \"Unless stopped\",\n description: \"Always restart the container regardless of the exit status, but do not start it on daemon startup if the container has been put to a stopped state before.\",\n },\n};\ntype DockerRunActionProps = ActionEditProps;\ntype DockerRunActionInternalProps = DockerRunActionProps & ActionWithFeeds;\nclass DockerRunActionInternal extends BaseComponent {\n constructor(props: DockerRunActionInternalProps) {\n super(props);\n this.state = {\n editBinding: null!,\n editBindingIndex: 0,\n volumeBindings: [],\n };\n }\n async componentDidMount() {\n this.props.setPackages(InitialisePrimaryPackageReference(this.props.packages, this.props.feeds), true);\n await this.props.doBusyTask(async () => {\n this.setState({\n volumeBindings: this.bindingsFromString(this.props.properties[\"Octopus.Action.Docker.VolumeBindings\"]),\n });\n });\n }\n UNSAFE_componentWillReceiveProps(nextProps: any) {\n if (this.props.properties[\"Octopus.Action.Docker.VolumeBindings\"] !== nextProps.properties[\"Octopus.Action.Docker.VolumeBindings\"]) {\n this.setState({ volumeBindings: this.bindingsFromString(nextProps.properties[\"Octopus.Action.Docker.VolumeBindings\"]) });\n }\n }\n addBinding = () => {\n const binding = {\n host: \"\",\n container: \"\",\n readOnly: \"False\",\n noCopy: \"False\",\n };\n this.setState({\n editBinding: binding,\n editBindingIndex: null!,\n });\n };\n bindingsFromString(rawProperty: string): VolumeBinding[] {\n if (!rawProperty) {\n return [];\n }\n const bindings = JSON.parse(rawProperty);\n return Object.keys(bindings).map((t) => ({\n container: t,\n host: bindings[t].host,\n readOnly: bindings[t].readOnly,\n noCopy: bindings[t].noCopy,\n }));\n }\n removeBinding = (b: any) => {\n const bindings = [...this.state.volumeBindings];\n bindings.splice(this.state.volumeBindings.indexOf(b), 1);\n this.props.setProperties({ [\"Octopus.Action.Docker.VolumeBindings\"]: this.bindingsToString(bindings) });\n };\n saveBinding = (binding: VolumeBinding) => {\n const bindings = [...this.state.volumeBindings];\n if (this.state.editBindingIndex === null) {\n bindings.push(binding);\n }\n else {\n bindings[this.state.editBindingIndex] = binding;\n }\n this.props.setProperties({ [\"Octopus.Action.Docker.VolumeBindings\"]: this.bindingsToString(bindings) });\n this.resetSelectedBinding();\n return true;\n };\n resetSelectedBinding = () => {\n this.setState({\n editBinding: null!,\n editBindingIndex: null!,\n });\n };\n bindingsToString(bindings: VolumeBinding[]): string {\n const bindingObject = bindings.reduce((idx: any, b) => {\n idx[b.container] = {\n host: b.host,\n readOnly: b.readOnly,\n noCopy: b.noCopy,\n };\n return idx;\n }, {});\n return JSON.stringify(bindingObject);\n }\n render() {\n // The package is initialized in componentDidMount, but render gets called before the update is propagated\n if (!this.props.packages || this.props.packages.length === 0) {\n return null;\n }\n const pkg = GetPrimaryPackageReference(this.props.packages);\n const editBindingDialog = (\n !this.state.editBinding || p.container !== this.state.editBinding.container).map((vm) => vm.container)} binding={this.state.editBinding} project={undefined!} projectId={this.props.projectId!} localNames={this.props.localNames!} onAdd={this.saveBinding}/>\n );\n return (
    \n {editBindingDialog}\n \n \n This step is used to run a docker container. The package that you wish to deploy should contain all the files needed to run your application.{\" \"}\n Learn more about what your packages should contain, and how to create them.\n }>\n this.props.setPackages(SetPrimaryPackageReference({ PackageId: packageId }, this.props.packages))} onFeedIdChange={(feedId) => this.props.setPackages(SetPrimaryPackageReference({ FeedId: feedId }, this.props.packages))} onPackageVersionChange={(version) => this.props.setPackages(SetPrimaryPackageReference({ Version: version }, this.props.packages))} packageIdError={this.props.getFieldError(\"Octopus.Action.Package.PackageId\")} feedIdError={this.props.getFieldError(\"Octopus.Action.Package.FeedId\")} feedType={[FeedType.Docker, FeedType.AwsElasticContainerRegistry, FeedType.AzureContainerRegistry, FeedType.GoogleContainerRegistry]} projectId={this.props.projectId} feeds={this.props.feeds} localNames={this.props.localNames} refreshFeeds={this.loadFeeds} parameters={this.props.parameters} packageSelectionMode={pkg.Properties[\"SelectionMode\"]} packageSelectionModeError={this.props.getFieldError(\"SelectionMode\")} onPackageSelectionModeChange={(value) => this.props.setPackages(SetPrimaryPackageReference(getChangesToPackageReference(value), this.props.packages))} packageParameterName={pkg.Properties[\"PackageParameterName\"]} packageParameterError={this.props.getFieldError(\"PackageParameterName\")} onPackageParameterChange={(packageParameter) => this.props.setPackages(SetPrimaryPackageReference({ Properties: { ...pkg.Properties, PackageParameterName: packageParameter } }, this.props.packages))}/>\n \n\n \n \n this.props.setProperties({ [\"Octopus.Action.Docker.NetworkType\"]: val })}>\n {Object.keys(NetworkTypes)\n .map((type) => [, {(NetworkTypes as any)[type].description}])\n .reduce((arr, dom) => arr.concat(dom), [])}\n \n\n {this.props.properties[\"Octopus.Action.Docker.NetworkType\"] === \"container\" && ( this.props.setProperties({ [\"Octopus.Action.Docker.NetworkContainer\"]: val })} value={this.props.properties[\"Octopus.Action.Docker.NetworkContainer\"]}/>)}\n\n {this.props.properties[\"Octopus.Action.Docker.NetworkType\"] === \"network\" && ( this.props.setProperties({ [\"Octopus.Action.Docker.NetworkName\"]: val })} value={this.props.properties[\"Octopus.Action.Docker.NetworkName\"]}/>)}\n \n\n {this.props.properties[\"Octopus.Action.Docker.NetworkType\"] === \"network\" && (\n this.props.setProperties({ [\"Octopus.Action.Docker.NetworkAlias\"]: val })} value={this.props.properties[\"Octopus.Action.Docker.NetworkAlias\"]}/>\n )}\n\n \n Publish a container's port or a range of ports to the host.\n
    }>\n this.props.setProperties({ [\"Octopus.Action.Docker.PortMapping\"]: val })} valueLabel=\"Host port\" keyLabel=\"Container port\" projectId={this.props.projectId} gitRef={this.props.gitRef} reverseLayout={true}/>\n this.props.setProperties({ [\"Octopus.Action.Docker.PortAutoMap\"]: x })} label=\"Automatically map to ephemeral port\" note={\n Allows mapping exposed network port in the container to ports on the host. See{\" \"}\n Docker docs for more information about network port mapping.\n }/>\n \n\n \n this.props.setProperties({ [\"Octopus.Action.Docker.AddedHost\"]: val })} valueLabel=\"Host name\" projectId={this.props.projectId} gitRef={this.props.gitRef} keyLabel=\"IP\" reverseLayout/>\n \n \n \n A data volume is a specially-designated directory within one or more containers that bypasses the{\" \"}\n Union File System.\n }>\n this.addBinding()}/>]} data={this.state.volumeBindings} onRow={(binding) => {\n return (
    \n {binding.host ? (\n Host: \n {binding.host} : Container: \n {binding.container}\n ) : (binding.container)}\n {this.isTrue(binding.readOnly, \"readonly\") && readonly}\n {this.isTrue(binding.noCopy, \"nocopy\") && nocopy}\n
    );\n }} onRowTouch={(binding) => this.editBinding(binding)} onRemoveRow={(binding) => this.removeBinding(binding)}/>\n
    \n\n \n this.props.setProperties({ [\"Octopus.Action.Docker.VolumeDriver\"]: val })}/>\n \n \n this.props.setProperties({ [\"Octopus.Action.Docker.VolumesFrom\"]: val })}/>\n \n\n \n \n Passes through variables into the container accessible as environment variables. See Docker docs for more\n information about environment variables.\n }>\n this.props.setProperties({ [\"Octopus.Action.Docker.EnvVariable\"]: val })} valueLabel=\"Mapping\" projectId={this.props.projectId} gitRef={this.props.gitRef} keyLabel=\"Variable name\"/>\n \n\n \n \n Restart policy to apply when a container exits. See Docker docs for more information.\n }>\n this.props.setProperties({ [\"Octopus.Action.Docker.RestartPolicy\"]: val })}>\n {Object.keys(RestartPolicies)\n .map((type) => [, {(RestartPolicies as any)[type].description}])\n .reduce((arr, dom) => arr.concat(dom), [])}\n \n {this.props.properties[\"Octopus.Action.Docker.RestartPolicy\"] === \"on-failure\" && ( this.props.setProperties({ [\"Octopus.Action.Docker.RestartPolicyMax\"]: val })}/>)}\n \n\n This creates the writable layer on top of the image and prepares it for running without actually starting it . This may be useful if there is other configuration you would like to perform before startup.}>\n \n Perform create command instead of run\n } value={this.props.properties[\"Octopus.Action.Docker.DontRun\"]} onChange={(val) => this.props.setProperties({ [\"Octopus.Action.Docker.DontRun\"]: val })}/>\n \n\n \n Override default CMD instruction provided by the image.\n }>\n this.props.setProperties({ [\"Octopus.Action.Docker.Command\"]: val })}/>\n \n\n \n Provide any other arguments that will be passed to the docker run command.\n }>\n this.props.setProperties({ [\"Octopus.Action.Docker.Args\"]: val })}/>\n \n A full description of the additional arguments which can be supplied can be found on the Docker reference page.\n \n \n );\n }\n editBinding = (binding: VolumeBinding) => {\n this.setState({\n editBinding: clone(binding),\n editBindingIndex: this.state.volumeBindings.indexOf(binding),\n });\n };\n private isTrue(noCopy: boolean | string, trueString: string) {\n return !!noCopy && (noCopy === true || noCopy.toLowerCase() === \"true\" || noCopy.toLowerCase() === trueString);\n }\n private propertySummary(property: string, defaultValue: any): SummaryNode {\n const subnet = (this.props.properties as any)[property];\n return subnet ? Summary.summary(subnet) : Summary.placeholder(defaultValue);\n }\n private summaryNetworkType(): SummaryNode {\n const type = this.props.properties[\"Octopus.Action.Docker.NetworkType\"] || \"\";\n let text = (NetworkTypes as any)[type].description;\n if (type === \"\") {\n return Summary.default(text);\n }\n if (type === \"container\") {\n text += \" (\" + this.props.properties[\"Octopus.Action.Docker.NetworkContainer\"] + \")\";\n }\n else if (type === \"network\") {\n text += \" (\" + this.props.properties[\"Octopus.Action.Docker.NetworkName\"] + \")\";\n }\n return Summary.summary(text);\n }\n private summaryPortMappings() {\n const portMappings = JSON.parse(this.props.properties[\"Octopus.Action.Docker.PortMapping\"] || \"{}\");\n if (Object.keys(portMappings).length === 0) {\n return Summary.placeholder(\"No port mappings provided\");\n }\n else {\n const text = Object.keys(portMappings)\n .map((m) => (portMappings[m] ? portMappings[m] + \" : \" : \"\") + m)\n .join(\", \");\n return Summary.summary(text);\n }\n }\n private summaryAddedHost() {\n const hosts = JSON.parse(this.props.properties[\"Octopus.Action.Docker.AddedHost\"] || \"{}\");\n if (Object.keys(hosts).length === 0) {\n return Summary.placeholder(\"No host entries added\");\n }\n else {\n const text = Object.keys(hosts)\n .map((m) => m + (hosts[m] ? \" : \" + hosts[m] : \"\"))\n .join(\", \");\n return Summary.summary(text);\n }\n }\n private summaryVolumesFromContainers() {\n const raw = ParseHelper.parseCSV(this.props.properties[\"Octopus.Action.Docker.VolumesFrom\"] || \"\");\n if (raw.length === 0) {\n return Summary.placeholder(\"No container volumes specified\");\n }\n const pluralized = raw.length === 1 ? \"\" : \"s\";\n return Summary.summary(\n Volume{pluralized} mounted from container{pluralized} {raw.join(\", \")}\n );\n }\n private summaryBindMounts() {\n if (this.state.volumeBindings.length === 0) {\n return Summary.placeholder(\"No volume bindings specified\");\n }\n const containerBindings = this.state.volumeBindings.map((b) => b.container);\n const pluralized = containerBindings.length === 1 ? \"\" : \"s\";\n return Summary.summary(\n Volume binding{pluralized} mapped to mount{pluralized} {containerBindings.join(\", \")}\n );\n }\n private summaryAutoRun() {\n const val = this.props.properties[\"Octopus.Action.Docker.DontRun\"] || \"false\";\n if (val.toLowerCase() === \"true\") {\n return Summary.summary(\"Container will be created in stopped mode\");\n }\n return Summary.placeholder(\"Container will run when created\");\n }\n private summaryRestartPolicy() {\n let policy = this.props.properties[\"Octopus.Action.Docker.RestartPolicy\"];\n const restartPolicyMax = this.props.properties[\"Octopus.Action.Docker.RestartPolicyMax\"];\n if (!policy) {\n policy = \"no\";\n }\n let text = (RestartPolicies as any)[policy].description;\n if (policy === \"no\") {\n return Summary.default(text);\n }\n if (policy === \"on-failure\") {\n text += restartPolicyMax ? ` (max ${restartPolicyMax} restarts)` : \"(unlimited restarts)\";\n }\n return Summary.summary(text);\n }\n private summaryVariables() {\n const variables = JSON.parse(this.props.properties[\"Octopus.Action.Docker.EnvVariable\"] || \"{}\");\n if (Object.keys(variables).length === 0) {\n return Summary.placeholder(\"No environment variables specified\");\n }\n else {\n const text = Object.keys(variables)\n .map((m) => m + \" = \" + variables[m])\n .join(\", \");\n return Summary.summary(text);\n }\n }\n private loadFeeds = async (callback?: (feeds: FeedResource[]) => void) => {\n await this.props.refreshFeeds();\n };\n static displayName = \"DockerRunActionInternal\";\n}\nexport function DockerRunAction(props: DockerRunActionProps) {\n const feeds = useFeedsFromContext();\n const refreshFeeds = useRefreshFeedsFromContext();\n return ;\n}\npluginRegistry.registerAction({\n executionLocation: ActionExecutionLocation.AlwaysOnTarget,\n actionType: \"Octopus.DockerRun\",\n targetRoleOption: (action) => TargetRoles.Optional,\n hasPackages: (action) => true,\n summary: (properties, targetRolesAsCSV, packages) => ,\n canHaveChildren: (step) => true,\n canBeChild: true,\n editSections: { default: DockerRunAction },\n docsLink: \"runDockerContainer\",\n});\n","import type { ReferenceDataItem } from \"@octopusdeploy/octopus-server-client\";\nimport * as React from \"react\";\nimport { MissingChip, StepChip, ChipIcon } from \"~/components/Chips\";\nimport { MultiSelect } from \"~/components/MultiSelect/MultiSelect\";\nimport type { FormFieldProps } from \"~/components/form\";\nimport Lookup from \"../Lookup\";\ninterface StepMultiSelectProps extends FormFieldProps {\n items: ReferenceDataItem[];\n customLabel?: string;\n openOnFocus?: boolean;\n label?: string | JSX.Element;\n error?: string;\n hideFloatingLabel?: boolean;\n}\nconst StepTypedMultiSelect = MultiSelect();\nexport const StepMultiSelect: React.FC = (props) => {\n const chipRenderer = (r: ReferenceDataItem, onRequestDelete: () => void) => {\n return ( element.Id} render={(item) => } renderFallback={}/>);\n };\n return ;\n};\nStepMultiSelect.displayName = \"StepMultiSelect\"\n","/* eslint-disable @typescript-eslint/no-explicit-any */\n/* eslint-disable @typescript-eslint/consistent-type-assertions */\nimport { RadioButton } from \"@octopusdeploy/design-system-components\";\nimport type { DockerStopActionProperties } from \"@octopusdeploy/legacy-action-properties\";\nimport { ActionExecutionLocation } from \"@octopusdeploy/octopus-server-client\";\nimport { flatten } from \"lodash\";\nimport * as React from \"react\";\nimport { TargetRoles } from \"~/areas/projects/components/Process/types\";\nimport { BaseComponent } from \"~/components/BaseComponent/BaseComponent\";\nimport { StepMultiSelect } from \"~/components/MultiSelect/StepMultiSelect\";\nimport { BoundRadioButtonGroup } from \"~/primitiveComponents/form/RadioButton/BoundRadioButtonGroup\";\nimport StringCheckbox from \"../../../primitiveComponents/form/Checkbox/StringCheckbox\";\nimport Note from \"../../../primitiveComponents/form/Note/Note\";\nimport ParseHelper from \"../../../utils/ParseHelper/ParseHelper\";\nimport KeyValueItemList from \"../../EditList/KeyValueEditList\";\nimport ExpandableFormSection from \"../../form/Sections/ExpandableFormSection\";\nimport ExpanderSectionHeading from \"../../form/Sections/FormSectionHeading\";\nimport type { SummaryNode } from \"../../form/Sections/Summary\";\nimport Summary from \"../../form/Sections/Summary\";\nimport { VariableLookupText } from \"../../form/VariableLookupText\";\nimport Roles from \"../Roles\";\nimport type { ActionSummaryProps } from \"../actionSummaryProps\";\nimport type { ActionEditProps } from \"../pluginRegistry\";\nimport pluginRegistry from \"../pluginRegistry\";\nclass DockerStopActionSummary extends BaseComponent {\n render() {\n return (
    \n Stop a Docker Resource\n {this.props.targetRolesAsCSV && (\n {\" \"}\n on deployment targets with \n )}\n
    );\n }\n static displayName = \"DockerStopActionSummary\";\n}\ninterface DockerStopActionState {\n name: string;\n steps: any;\n}\nclass DockerStopAction extends BaseComponent, DockerStopActionState> {\n constructor(props: ActionEditProps) {\n super(props);\n this.state = {\n name: \"XX\",\n steps: [],\n };\n }\n async componentDidMount() {\n await this.props.doBusyTask(async () => {\n if (this.props.getProcessResource) {\n const process = this.props.getProcessResource();\n const actions = flatten(process.Steps.map((step, stepIndex) => {\n return step.Actions.map((action, actionIndex) => {\n let num = \"\" + stepIndex + 1;\n if (step.Actions.length > 1) {\n num = num + \".\" + (actionIndex + 1);\n }\n return {\n ...action,\n NumberedName: num + \". \" + action.Name,\n };\n });\n })).filter((action) => action.ActionType === \"Octopus.DockerNetwork\" || action.ActionType === \"Octopus.DockerRun\");\n this.setState({ steps: actions });\n }\n });\n }\n render() {\n const selectedStopAndRemove = this.props.properties[\"Octopus.Action.Docker.Remove\"] && this.props.properties[\"Octopus.Action.Docker.Remove\"] === \"True\";\n return (
    \n \n \n this.props.setProperties({ [\"Octopus.Action.Docker.Remove\"]: val })}>\n \n \n \n \n\n \n this.props.setProperties({ [\"Octopus.Action.Docker.RemoveSteps\"]: ParseHelper.encodeCSV(val) })}/>\n \n Note that leaving blank will {selectedStopAndRemove ? \"stop and remove\" : \"stop\"} resources created from all docker steps and therefore may {selectedStopAndRemove ? \"stop and remove\" : \"stop\"} resources from the same\n release if this step runs after other Docker steps.\n \n \n\n \n undefined} disabled={true} label=\"Project\" note={Resources will be removed where they match the current project. This cannot be disabled.}/>\n
    \n this.props.setProperties({ [\"Octopus.Action.Docker.RemoveByEnvironment\"]: x })} label=\"Environment\" note={Resources will be removed only where they also match the current environment.}/>\n
    \n this.props.setProperties({ [\"Octopus.Action.Docker.RemoveByRelease\"]: x })} label=\"Release\" note={Resources will be removed only where they also match the current release.}/>\n
    \n this.props.setProperties({ [\"Octopus.Action.Docker.RemoveByTenant\"]: x })} label=\"Tenant (if applicable)\" note={If the release includes tenants then resources will be removed only where they also match the currently deploying tenant.}/>\n
    \n\n \n These tags will be included when searching for resources using the --filter \"label=X\" argument. If the value is not provided, the resource will be included so long as the tag is present with any value\n }>\n this.props.setProperties({ [\"Octopus.Action.Docker.RemoveCustomTags\"]: val })} keyLabel=\"Label\" valueLabel=\"Value\"/>\n \n\n \n Seconds to wait for process to stop before killing it (Docker default 10) . The main process inside the container will receive SIGTERM, and after a grace period, SIGKILL.\n }>\n this.props.setProperties({ [\"Octopus.Action.Docker.StopTimeout\"]: val })}/>\n \n
    );\n }\n private summaryTags() {\n const tags = JSON.parse(this.props.properties[\"Octopus.Action.Docker.RemoveCustomTags\"] || \"{}\");\n if (Object.keys(tags).length === 0) {\n return Summary.placeholder(\"No custom tags specified\");\n }\n else {\n const text = Object.keys(tags)\n .map((m) => m + \" = \" + tags[m])\n .join(\", \");\n return Summary.summary(text);\n }\n }\n private summarySteps() {\n const removeStepIdsString = this.props.properties[\"Octopus.Action.Docker.RemoveSteps\"];\n if (removeStepIdsString) {\n const removeStepsCount = removeStepIdsString.split(\",\").length;\n return Summary.summary(`${removeStepsCount} ${removeStepsCount === 1 ? \"step has\" : \"steps have\"} been selected`);\n }\n return Summary.placeholder(\"No steps have been selected\");\n }\n private summaryMatches() {\n const matches = [];\n if ((this.props.properties[\"Octopus.Action.Docker.RemoveByEnvironment\"] || \"false\").toLowerCase() === \"true\") {\n matches.push(\"environment\");\n }\n if ((this.props.properties[\"Octopus.Action.Docker.RemoveByRelease\"] || \"false\").toLowerCase() === \"true\") {\n matches.push(\"release\");\n }\n if ((this.props.properties[\"Octopus.Action.Docker.RemoveByTenant\"] || \"false\").toLowerCase() === \"true\") {\n matches.push(\"tenant (if applicable)\");\n }\n if (matches.length === 0) {\n return Summary.default(\"This project\");\n }\n return Summary.summary(`The relevant ${matches.join(\", \")} and this project`);\n }\n private propertySummary(property: string, defaultValue: any): SummaryNode {\n const subnet = (this.props.properties as any)[property];\n return subnet ? Summary.summary(subnet) : Summary.placeholder(defaultValue);\n }\n private summaryRemove() {\n const remove = this.props.properties[\"Octopus.Action.Docker.Remove\"];\n if (!remove || remove === \"False\") {\n return Summary.default(\"Stop\");\n }\n else if (remove === \"True\") {\n return Summary.summary(\"Stop and Remove\");\n }\n return Summary.summary(remove);\n }\n static displayName = \"DockerStopAction\";\n}\npluginRegistry.registerAction({\n executionLocation: ActionExecutionLocation.AlwaysOnTarget,\n actionType: \"Octopus.DockerStop\",\n summary: (properties, targetRolesAsCSV) => ,\n canHaveChildren: (step) => true,\n canBeChild: true,\n targetRoleOption: (action) => TargetRoles.Optional,\n editSections: { default: DockerStopAction },\n docsLink: \"stopDockerResource\",\n});\n","import type { PackageReference } from \"@octopusdeploy/octopus-server-client\";\nimport { GetNamedPackageReferences, DOCKER_IMAGE_REFERENCE_PURPOSE } from \"@octopusdeploy/octopus-server-client\";\nimport type { PackagedHelmValuesProperties, PackagedHelmValuesReference } from \"~/components/Actions/helmChartUpgrade/PackagedHelmValuesDialog\";\nexport function GetHelmExePackageReference(packages: Array>): PackageReference | undefined {\n return packages?.find((pkg) => IsHelmExePackageReference(pkg));\n}\nexport function IsHelmExePackageReference(pkg: PackageReference): boolean {\n return pkg.Name === \"HelmExe\";\n}\nexport function IsDockerImageReference(pkg: PackageReference): boolean {\n return pkg.Properties.Purpose === DOCKER_IMAGE_REFERENCE_PURPOSE;\n}\nexport function ClearHelmExePackage(packages: Array>): Array> {\n return packages.filter((pkg) => !IsHelmExePackageReference(pkg));\n}\nexport const getValuesPackageReferences = (packages: PackagedHelmValuesReference[]) => {\n // eslint-disable-next-line @typescript-eslint/consistent-type-assertions\n return GetNamedPackageReferences(packages)\n .filter((pkg) => !IsHelmExePackageReference(pkg) && !IsDockerImageReference(pkg))\n .filter((pkg) => pkg.Name?.startsWith(\"ValuesPack\") || false) as PackagedHelmValuesReference[];\n};\n","import React, { forwardRef, useImperativeHandle } from \"react\";\nimport type { TemplateValuesSectionComponent, TemplateValuesSectionProps } from \"~/components/Actions/helmChartUpgrade/HelmTemplateValuesDrawer\";\nimport type { ChartTemplateValuesSource } from \"~/components/Actions/helmChartUpgrade/TemplateValuesSource\";\nimport { VariableLookupText } from \"~/components/form/VariableLookupText\";\nimport { ExpandableFormSection, Note, Summary } from \"~/components/form/index\";\nexport const ChartTemplateValuesSection = forwardRef>((props: TemplateValuesSectionProps, ref) => {\n const [valuesFilePaths, setValuesFilePaths] = React.useState(props.editingTemplateValuesSource?.ValuesFilePaths || \"\");\n useImperativeHandle(ref, () => ({\n validateAndSave: () => {\n if (!valuesFilePaths) {\n return \"A values file must be defined\";\n }\n return {\n Type: \"Chart\",\n ValuesFilePaths: valuesFilePaths,\n };\n },\n }));\n return (Files sourced from the chart} isExpandedByDefault={true}>\n setValuesFilePaths(path)} label=\"File(s)\" multiline={true}/>\n \n A newline-separated list of file names, relative to the chart root to be included as additional --values files. Variable replacement will be run on these files before used. Extended template and wildcard syntax is\n supported. E.g., values.{`#{Octopus.Environment.Name}`}.yaml, **\\specific-folder\\*.yaml.\n \n );\n});\n","import { RadioButton, RadioButtonGroup } from \"@octopusdeploy/design-system-components\";\nimport type { GitCredentialResource, GitDependencyReference } from \"@octopusdeploy/octopus-server-client\";\nimport { Permission } from \"@octopusdeploy/octopus-server-client\";\nimport React, { useState } from \"react\";\nimport GitCredentialSelect from \"~/areas/projects/components/ProjectSettings/VersionControl/GitCredentialSelect\";\nimport PermissionCheck from \"~/components/PermissionCheck/PermissionCheck\";\nimport ExpandableFormSection, { type SummaryNode } from \"~/components/form/Sections/ExpandableFormSection\";\nimport { FormSection } from \"~/components/form/Sections/index\";\nimport { VariableLookupText } from \"~/components/form/VariableLookupText\";\nimport { Note, required, Summary } from \"~/components/form/index\";\nexport type SimpleGitRepositorySourceSelectorProps = {\n gitDependency: GitDependencyReference;\n onGitDependencyChanged: (gitDependency: GitDependencyReference) => void;\n gitCredentials: GitCredentialResource[];\n refreshGitCredentials: () => Promise;\n expandedByDefault: boolean;\n localNames: string[] | undefined;\n getFieldError(field: string): string;\n errorKeyPrefix: string | undefined;\n isPlatformHubGitDependency: boolean;\n};\nexport const SimpleGitRepositorySourceSelector = (props: SimpleGitRepositorySourceSelectorProps) => {\n const [gitDependency, setGitDependency] = useState(props.gitDependency);\n const repoUrlSummary = (): SummaryNode => (gitDependency.RepositoryUri ? Summary.summary(gitDependency.RepositoryUri) : Summary.placeholder(\"Enter a Git repository URL\"));\n const setResourceProperty = (property: keyof GitDependencyReference, value: string) => {\n const updated = {\n ...gitDependency,\n [property]: value,\n };\n setGitDependency(updated);\n props.onGitDependencyChanged(updated);\n };\n const isUsingLibraryAuth = (): boolean => gitDependency.GitCredentialType === \"Library\";\n const authSummary = (): SummaryNode => {\n if (props.isPlatformHubGitDependency && isUsingLibraryAuth()) {\n return Summary.summary(React.Children.toArray([Using process template supplied Git credential]));\n }\n else if (isUsingLibraryAuth()) {\n const id = gitDependency.GitCredentialId;\n const credential = props.gitCredentials.find((c) => c.Id === id);\n return Summary.summary(React.Children.toArray([\n Using library credential,\n \n {credential ? ` ${credential.Name}` : \"\"}\n ,\n ]));\n }\n else {\n return Summary.summary(React.Children.toArray([\n \n Authenticated as an Anonymous user\n ,\n ]));\n }\n };\n const setCredentialType = (val: string) => {\n if (val === \"Anonymous\") {\n const updated: GitDependencyReference = {\n ...gitDependency,\n GitCredentialType: val,\n GitCredentialId: undefined,\n };\n setGitDependency(updated);\n props.onGitDependencyChanged(updated);\n }\n else {\n setResourceProperty(\"GitCredentialType\", val);\n }\n };\n const branchSummary = (): SummaryNode => gitDependency.DefaultBranch\n ? Summary.summary(\n Default branch is {gitDependency.DefaultBranch}\n )\n : Summary.placeholder(\"Configure default branch\");\n return (<>\n \n setResourceProperty(\"RepositoryUri\", url)} label=\"Repository HTTPS URL\" error={props.getFieldError(\"RepositoryUri\")} validate={required(\"Enter a Git repository URL.\")} accessibleName={\"URL for Git repository\"}/>\n \n E.g.{\" \"}\n \n https://\n \n github.com/\n \n OctopusSamples/\n \n OctoPetShop.git\n \n \n \n {props.isPlatformHubGitDependency ? () : (\n setCredentialType(val)} error={props.getFieldError(\"GitCredentialType\")} accessibleName=\"GitCredentialType\">\n \n {isUsingLibraryAuth() && (You need the 'GitCredentialView' permission to change the Git credential.}>\n setResourceProperty(\"GitCredentialId\", id)} value={gitDependency.GitCredentialId ?? \"\"} onRequestRefresh={props.refreshGitCredentials} error={props.getFieldError(\"GitCredentialId\")} helperText=\"Select the Git credential to use\" data-testid=\"gitCredentialSelect\"/>\n Use credential from the Git credential library \n )}\n \n \n )}\n \n setResourceProperty(\"DefaultBranch\", defaultBranch)} label=\"Default Branch\" error={props.getFieldError(\"DefaultBranch\")} validate={required(\"Enter the default branch for your Git repository.\")} accessibleName={\"Name of the default branch on the Git repository\"}/>\n \n );\n};\n","import type { GitCredentialResource, GitDependencyReference } from \"@octopusdeploy/octopus-server-client\";\nimport React, { forwardRef, useImperativeHandle, useState } from \"react\";\nimport { useGitCredentialsFromContext, useRefreshGitCredentialsFromContext } from \"~/areas/projects/components/Process/Contexts/ProcessGitCredentialsContextProvider\";\nimport type { TemplateValuesSectionComponent, TemplateValuesSectionProps } from \"~/components/Actions/helmChartUpgrade/HelmTemplateValuesDrawer\";\nimport type { GitRepositoryTemplateValuesSource } from \"~/components/Actions/helmChartUpgrade/TemplateValuesSource\";\nimport { SimpleGitRepositorySourceSelector } from \"~/components/GitRepositorySource/SimpleGitRepositorySourceSelector\";\nimport { VariableLookupText } from \"~/components/form/VariableLookupText\";\nimport { ExpandableFormSection, Note, Summary } from \"~/components/form/index\";\nimport StringHelper from \"~/utils/StringHelper/index\";\nconst DefaultYamlFileLocation = \"values.yaml\";\nexport const GitRepositoryTemplateValuesSection = forwardRef>((props: TemplateValuesSectionProps, ref) => {\n const [valuesFilePaths, setValuesFilePaths] = useState(props.editingTemplateValuesSource?.ValuesFilePaths || \"\");\n const [gitDependencyReference, setGitDependencyReference] = useState(props.editingGitDependency || {\n Name: \"\",\n RepositoryUri: \"\",\n DefaultBranch: \"main\",\n GitCredentialType: \"Library\",\n FilePathFilters: [],\n });\n const gitCredentials = useGitCredentialsFromContext();\n const refreshGitCredentials = useRefreshGitCredentialsFromContext();\n useImperativeHandle(ref, () => ({\n validateAndSave: () => {\n if (StringHelper.isNullOrWhiteSpace(gitDependencyReference.RepositoryUri)) {\n return \"A repository URI must be defined\";\n }\n if (gitDependencyReference.GitCredentialType === \"Library\" && !gitDependencyReference.GitCredentialId) {\n return \"A library Git credential must be selected\";\n }\n if (StringHelper.isNullOrWhiteSpace(gitDependencyReference.DefaultBranch)) {\n return \"A default branch must be defined\";\n }\n if (!valuesFilePaths) {\n return \"At least one values file path must be defined\";\n }\n return {\n valuesSource: {\n Type: \"GitRepository\",\n GitDependencyName: gitDependencyReference.Name,\n ValuesFilePaths: valuesFilePaths,\n },\n gitDependency: gitDependencyReference,\n };\n },\n }));\n const valueFilePathsSummary = () => {\n if (!StringHelper.isNullOrWhiteSpace(valuesFilePaths)) {\n return Summary.summary(\"Paths to values files has been provided\");\n }\n return Summary.placeholder(\"No paths to values files has been provided\");\n };\n const isPlatformHubGitDependency = (gitDependency: GitDependencyReference, gitCredentials: GitCredentialResource[]) => {\n if (props.isStepFromProcessTemplate) {\n // This is a bit of a hack because we don't have a first-class way to detect whether the Git dependency is from the Platform Hub\n // so we check whether the Git dependency is using Git credentials from the current space\n if (gitDependency.GitCredentialType === \"Library\" && gitDependency.GitCredentialId) {\n return gitCredentials.every((g) => g.Id !== gitDependency.GitCredentialId);\n }\n }\n return false;\n };\n return (<>\n \"\"} errorKeyPrefix={\"GitRepositoryTemplateValuesSection\"} isPlatformHubGitDependency={isPlatformHubGitDependency(gitDependencyReference, gitCredentials)}/>\n \n setValuesFilePaths(path)} placeholder={DefaultYamlFileLocation} label=\"Relative path to values files\"/>\n \n A newline-separated list of file names, relative to the repository root to be included as additional --values files. Variable replacement will be run on these files before they are used. Extended template and wildcard\n syntax is supported. E.g., values.{`#{Octopus.Environment.Name}`}.yaml, **\\specific-folder\\*.yaml.\n \n \n );\n});\n","import React, { forwardRef, useImperativeHandle, useState } from \"react\";\nimport type { TemplateValuesSectionComponent, TemplateValuesSectionProps } from \"~/components/Actions/helmChartUpgrade/HelmTemplateValuesDrawer\";\nimport type { InlineYamlTemplateValuesSource } from \"~/components/Actions/helmChartUpgrade/TemplateValuesSource\";\nimport { CodeEditor, TextFormat } from \"~/components/CodeEditor/CodeEditor\";\nimport ExternalLink from \"~/components/Navigation/ExternalLink/index\";\nimport { ExpandableFormSection, Note, Summary } from \"~/components/form/index\";\nimport StringHelper from \"~/utils/StringHelper/index\";\nexport const InlineYamlTemplateValuesSection = forwardRef>((props: TemplateValuesSectionProps, ref) => {\n const [yaml, setYaml] = useState(props.editingTemplateValuesSource?.Value || \"\");\n const getSummary = () => {\n if (yaml) {\n return Summary.summary(\"An inline YAML values file has been provided\");\n }\n return Summary.placeholder(\"No inline YAML values file has been provided\");\n };\n useImperativeHandle(ref, () => ({\n validateAndSave: () => {\n if (StringHelper.isNullOrWhiteSpace(yaml)) {\n return \"Inline YAML is required.\";\n }\n return {\n Type: \"InlineYaml\",\n Value: yaml,\n };\n },\n }));\n return (\n setYaml(x)} autoComplete={props.yamlAutocompleteResults} showToolbar={true} showCopyButton={true} showInsertVariableButton={true} localNames={props.localNames}/>\n \n Enter the YAML that will be provided as a values file. This field supports the extended template syntax.\n \n );\n});\n","import React, { forwardRef, useImperativeHandle, useState } from \"react\";\nimport type { TemplateValuesSectionComponent, TemplateValuesSectionProps } from \"~/components/Actions/helmChartUpgrade/HelmTemplateValuesDrawer\";\nimport type { KeyValuesTemplateValuesSource } from \"~/components/Actions/helmChartUpgrade/TemplateValuesSource\";\nimport { KeyValueEditList } from \"~/components/EditList/index\";\nimport { ExpandableFormSection, Summary } from \"~/components/form/index\";\nimport StringHelper from \"~/utils/StringHelper/index\";\nexport const KeyValuesTemplateValuesSection = forwardRef>((props: TemplateValuesSectionProps, ref) => {\n const [keyValues, setKeyValues] = useState(JSON.stringify(props.editingTemplateValuesSource?.Value || {}));\n const getSummary = () => {\n const variables = JSON.parse(keyValues);\n if (Object.keys(variables).length === 0) {\n return Summary.placeholder(\"No explicit value overrides supplied\");\n }\n else {\n const text = Object.keys(variables)\n .map((m) => `${m} = ${variables[m]}`)\n .join(\", \");\n return Summary.summary(text);\n }\n };\n useImperativeHandle(ref, () => ({\n validateAndSave: () => {\n const parsedKeyValues = JSON.parse(keyValues);\n const keys = Object.keys(parsedKeyValues);\n if (keys.length === 0) {\n return \"At least one key/value pair must be defined.\";\n }\n if (keys.some(StringHelper.isNullOrWhiteSpace)) {\n return \"Cannot have an empty key\";\n }\n return {\n Type: \"KeyValues\",\n Value: parsedKeyValues,\n };\n },\n }));\n return (\n Adds values into custom values.yaml and includes via --values Helm argument\n } isExpandedByDefault={true}>\n setKeyValues(val)} valueLabel=\"Value\" projectId={props.projectId} gitRef={props.gitRef} keyLabel=\"Key\"/>\n );\n});\n","import { FeedType, PackageAcquisitionLocation } from \"@octopusdeploy/octopus-server-client\";\nimport React, { forwardRef, useCallback, useImperativeHandle } from \"react\";\nimport type { DeepPartial } from \"redux\";\nimport { useFeedsFromContext, useRefreshFeedsFromContext } from \"~/areas/projects/components/Process/Contexts/ProcessFeedsContextProvider\";\nimport type { TemplateValuesSectionComponent, TemplateValuesSectionProps } from \"~/components/Actions/helmChartUpgrade/HelmTemplateValuesDrawer\";\nimport type { PackagedHelmValuesReference } from \"~/components/Actions/helmChartUpgrade/PackagedHelmValuesDialog\";\nimport type { PackageTemplateValuesSource } from \"~/components/Actions/helmChartUpgrade/TemplateValuesSource\";\nimport PackageSelector from \"~/components/PackageSelector/PackageSelector\";\nimport { VariableLookupText } from \"~/components/form/VariableLookupText\";\nimport { ExpandableFormSection, Note, Summary } from \"~/components/form/index\";\nconst DefaultYamlFileLocation = \"values.yaml\";\nexport const PackageTemplateValuesSection = forwardRef>((props: TemplateValuesSectionProps, ref) => {\n /* eslint-disable @typescript-eslint/no-non-null-assertion */\n const [packageReference, setPackageReference] = React.useState(props.editingPackageReference || {\n Id: null!,\n Name: null!,\n FeedId: null!,\n PackageId: null!,\n AcquisitionLocation: PackageAcquisitionLocation.ExecutionTarget,\n Properties: { ValuesFilePath: \"\", PerformVariableReplace: \"False\", Extract: \"true\" },\n });\n /* eslint-enable @typescript-eslint/no-non-null-assertion */\n const [valuesFilePaths, setValuesFilePaths] = React.useState(props.editingTemplateValuesSource?.ValuesFilePaths || \"\");\n const feeds = useFeedsFromContext();\n const refreshFeedsCtx = useRefreshFeedsFromContext();\n const getSummary = () => {\n if (packageReference.PackageId) {\n return Summary.summary(\"Includes yaml files from package\");\n }\n return Summary.placeholder(\"No yaml files included from package\");\n };\n useImperativeHandle(ref, () => ({\n validateAndSave: () => {\n if (!packageReference.PackageId) {\n return \"Package ID is required\";\n }\n if (!packageReference.FeedId) {\n return \"An external feed must be selected\";\n }\n if (!valuesFilePaths) {\n return \"A values file must be defined\";\n }\n return {\n valuesSource: {\n Type: \"Package\",\n PackageId: packageReference.PackageId,\n // eslint-disable-next-line @typescript-eslint/no-non-null-assertion\n PackageName: packageReference.Name!,\n ValuesFilePaths: valuesFilePaths,\n },\n packageReference,\n };\n },\n }));\n const updatePackageReference = (updatePackageReference: DeepPartial) => setPackageReference((prev) => ({\n ...prev,\n ...updatePackageReference,\n Properties: {\n ...prev.Properties,\n ...updatePackageReference.Properties,\n },\n }));\n const refreshFeeds = useCallback(async () => {\n await refreshFeedsCtx();\n }, [refreshFeedsCtx]);\n return (Files sourced from package} title={\"Files in a package\"} errorKey={\"PackageTemplateValuesSection\"} isExpandedByDefault={true}>\n updatePackageReference({ PackageId: id })} onFeedIdChange={(id) => updatePackageReference({ FeedId: id })} onPackageVersionChange={(version) => updatePackageReference({ Version: version })} localNames={props.localNames} projectId={props.projectId} feeds={feeds} feedType={[FeedType.Nuget, FeedType.BuiltIn, FeedType.GitHub, FeedType.Maven, FeedType.ArtifactoryGeneric]} refreshFeeds={refreshFeeds}/>\n
    \n setValuesFilePaths(path)} placeholder={DefaultYamlFileLocation} label=\"Relative path to values files\"/>\n \n A newline-separated list of file names, relative to the package root to be included as additional --values files. Variable replacement will be run on these files before they are used. Extended template and wildcard\n syntax is supported. E.g., values.{`#{Octopus.Environment.Name}`}.yaml, **\\specific-folder\\*.yaml.\n \n
    \n
    );\n});\n","export const TemplateValuesSourceTypes = [\"GitRepository\", \"Chart\", \"Package\", \"KeyValues\", \"InlineYaml\"];\nexport type TemplateValuesSourceType = (typeof TemplateValuesSourceTypes)[number];\nexport type TemplateValuesSources = TemplateValuesSource[];\nexport type KeyValuesTemplateValuesSource = {\n Type: \"KeyValues\";\n Value: Record;\n};\nexport type InlineYamlTemplateValuesSource = {\n Type: \"InlineYaml\";\n Value: string;\n};\nexport type PackageTemplateValuesSource = {\n Type: \"Package\";\n PackageId: string;\n PackageName: string;\n ValuesFilePaths: string;\n};\nexport type ChartTemplateValuesSource = {\n Type: \"Chart\";\n ValuesFilePaths: string;\n};\nexport type GitRepositoryTemplateValuesSource = {\n Type: \"GitRepository\";\n GitDependencyName: string;\n ValuesFilePaths: string;\n};\nexport type TemplateValuesSource = KeyValuesTemplateValuesSource | InlineYamlTemplateValuesSource | PackageTemplateValuesSource | ChartTemplateValuesSource | GitRepositoryTemplateValuesSource;\nexport function isPackageTemplateValuesSource(obj: unknown): obj is PackageTemplateValuesSource {\n // eslint-disable-next-line @typescript-eslint/consistent-type-assertions\n return (obj as PackageTemplateValuesSource)?.Type === \"Package\";\n}\nexport function isGitRepositoryTemplateValuesSource(obj: unknown): obj is GitRepositoryTemplateValuesSource {\n // eslint-disable-next-line @typescript-eslint/consistent-type-assertions\n return (obj as GitRepositoryTemplateValuesSource)?.Type === \"GitRepository\";\n}\n","import { css } from \"@emotion/css\";\nimport { ActionButton, ActionButtonType, Callout, RadioButton, RadioButtonGroup } from \"@octopusdeploy/design-system-components\";\nimport type { GitDependencyReference } from \"@octopusdeploy/octopus-server-client\";\nimport { isArray, isString } from \"lodash\";\nimport React, { useEffect, useMemo, useRef, useState } from \"react\";\nimport type { RunOn } from \"~/areas/projects/components/Process/types\";\nimport ActionList from \"~/components/ActionList\";\nimport { ChartTemplateValuesSection } from \"~/components/Actions/helmChartUpgrade/ChartTemplateValuesSection\";\nimport { GitRepositoryTemplateValuesSection } from \"~/components/Actions/helmChartUpgrade/GitRepositoryTemplateValuesSection\";\nimport { InlineYamlTemplateValuesSection } from \"~/components/Actions/helmChartUpgrade/InlineYamlTemplateValuesSection\";\nimport { KeyValuesTemplateValuesSection } from \"~/components/Actions/helmChartUpgrade/KeyValuesTemplateValuesSection\";\nimport { PackageTemplateValuesSection } from \"~/components/Actions/helmChartUpgrade/PackageTemplateValuesSection\";\nimport type { PackagedHelmValuesReference } from \"~/components/Actions/helmChartUpgrade/PackagedHelmValuesDialog\";\nimport type { ChartTemplateValuesSource, GitRepositoryTemplateValuesSource, InlineYamlTemplateValuesSource, KeyValuesTemplateValuesSource, PackageTemplateValuesSource, TemplateValuesSource, TemplateValuesSources, TemplateValuesSourceType, } from \"~/components/Actions/helmChartUpgrade/TemplateValuesSource\";\nimport { TemplateValuesSourceTypes } from \"~/components/Actions/helmChartUpgrade/TemplateValuesSource\";\nimport type { BoundFieldProps } from \"~/components/Actions/pluginRegistry\";\nimport { useNonPrimaryGitDependencySupport } from \"~/components/GitRepositorySource/useNonPrimaryGitDependencySupport\";\nimport { OverflowMenu, OverflowMenuItems } from \"~/components/OverflowMenu/OverflowMenu\";\nimport { ExpandableFormSection, Summary } from \"~/components/form/index\";\nimport { DrawerWithForm } from \"~/primitiveComponents/dataDisplay/DrawerWithForm/DrawerWithForm\";\nimport type { CodeEditorVariable } from \"~/utils/ScriptIntellisense/scriptIntellisense\";\ntype HelmTemplateValuesDrawerProps = BoundFieldProps & {\n isOpen: boolean;\n onClose: () => void;\n onSave: (result: HelmTemplateValuesSaveResult) => void;\n onDelete: (tvs: TemplateValuesSource) => void;\n templateValuesSources: TemplateValuesSources;\n editingTemplateValuesSource: TemplateValuesSource | undefined;\n editingPackageReference: PackagedHelmValuesReference | undefined;\n editingGitDependency: GitDependencyReference | undefined;\n projectId: string;\n runOn: RunOn | undefined;\n yamlAutocompleteResults: CodeEditorVariable[];\n isStepFromProcessTemplate: boolean | undefined;\n};\ntype SimpleTemplateValuesSourceSaveResult = Exclude;\nexport type HelmTemplateValuesSaveResult = SimpleTemplateValuesSourceSaveResult | PackageReferenceTemplateValuesSaveResult | GitDependencyTemplateValuesSaveResult;\nexport type PackageReferenceTemplateValuesSaveResult = {\n valuesSource: PackageTemplateValuesSource;\n packageReference: PackagedHelmValuesReference;\n};\nexport type GitDependencyTemplateValuesSaveResult = {\n valuesSource: GitRepositoryTemplateValuesSource;\n gitDependency: GitDependencyReference;\n};\nexport function isPackageReferenceTemplateValuesSaveResult(obj: unknown): obj is PackageReferenceTemplateValuesSaveResult {\n // eslint-disable-next-line @typescript-eslint/consistent-type-assertions\n return (obj as PackageReferenceTemplateValuesSaveResult)?.packageReference !== undefined;\n}\nexport function isGitDependencyTemplateValuesSaveResult(obj: unknown): obj is GitDependencyTemplateValuesSaveResult {\n // eslint-disable-next-line @typescript-eslint/consistent-type-assertions\n return (obj as GitDependencyTemplateValuesSaveResult)?.gitDependency !== undefined;\n}\nexport type TemplateValuesSectionProps = Omit & {\n editingTemplateValuesSource: T;\n};\nexport type TemplateValuesSectionComponent = {\n validateAndSave: () => HelmTemplateValuesSaveResult | string | string[];\n};\nconst bulletStyle = css({\n listStyleType: \"disc\",\n});\nconst isTemplateValuesSourceEnabled = (type: TemplateValuesSourceType, templateValuesSources: TemplateValuesSources, editingTemplateValuesSource: TemplateValuesSource | undefined): boolean => {\n //if we are editing, enable the one we are editing\n if (editingTemplateValuesSource) {\n return editingTemplateValuesSource.Type === type;\n }\n //if this type not the Chart type, then we are always enabled (as we can have multiple of everything but the Chart type)\n if (type !== \"Chart\") {\n return true;\n }\n //Check to see if there are any unique sources already configured for this type\n return !templateValuesSources.some((tvs) => tvs.Type === type);\n};\nexport const HelmTemplateValuesDrawer = (props: HelmTemplateValuesDrawerProps) => {\n const enableGitRepositorySource = useNonPrimaryGitDependencySupport();\n const enabledTemplateValuesSourcesMap = useMemo(() => {\n const map: {\n [type: TemplateValuesSourceType]: boolean;\n } = {};\n for (const templateValuesSourceType of TemplateValuesSourceTypes) {\n map[templateValuesSourceType] = isTemplateValuesSourceEnabled(templateValuesSourceType, props.templateValuesSources, props.editingTemplateValuesSource);\n }\n return map;\n }, [props.editingTemplateValuesSource, props.templateValuesSources]);\n const defaultSelectedTemplateValuesSource = useMemo(() => {\n if (props.editingTemplateValuesSource) {\n return props.editingTemplateValuesSource.Type;\n }\n //if the chart is disabled, then pick git/package as they are the first multi-option\n return enabledTemplateValuesSourcesMap[\"Chart\"] ? \"Chart\" : enableGitRepositorySource ? \"GitRepository\" : \"Package\";\n }, [props.editingTemplateValuesSource, enabledTemplateValuesSourcesMap, enableGitRepositorySource]);\n const [templateValuesSourceType, setTemplateValuesSourceType] = useState(defaultSelectedTemplateValuesSource);\n const [validationErrors, setValidationErrors] = useState([]);\n const ref = useRef(null);\n useEffect(() => setTemplateValuesSourceType(defaultSelectedTemplateValuesSource), [defaultSelectedTemplateValuesSource]);\n useEffect(() => {\n if (props.isOpen) {\n setValidationErrors([]);\n }\n }, [props.isOpen]);\n const isEditing = !!props.editingTemplateValuesSource;\n const getSection = () => {\n /* eslint-disable @typescript-eslint/consistent-type-assertions */\n switch (templateValuesSourceType) {\n case \"Chart\":\n return ;\n case \"Package\":\n return ;\n case \"KeyValues\":\n return ;\n case \"InlineYaml\":\n return ;\n case \"GitRepository\":\n return enableGitRepositorySource && ;\n default:\n throw new Error(`Unknown TemplateValueType ${templateValuesSourceType}`);\n }\n /* eslint-enable @typescript-eslint/consistent-type-assertions */\n };\n const getSummary = () => {\n let message: string = \"\";\n switch (templateValuesSourceType) {\n case \"Chart\":\n message = \"Files in the chart\";\n break;\n case \"Package\":\n message = \"Files in a package\";\n break;\n case \"KeyValues\":\n message = \"Key values\";\n break;\n case \"InlineYaml\":\n message = \"Inline YAML\";\n break;\n case \"GitRepository\":\n message = \"Files in a Git repository\";\n break;\n default:\n throw new Error(`Unknown TemplateValueType ${templateValuesSourceType}`);\n }\n return Summary.summary(message);\n };\n const onSubmit = () => {\n if (!ref.current) {\n return;\n }\n const result = ref.current.validateAndSave();\n if (isString(result)) {\n setValidationErrors([result]);\n }\n else if (isArray(result)) {\n setValidationErrors(result);\n }\n else {\n props.onSave(result);\n }\n };\n const onDelete = async () => {\n if (!props.editingTemplateValuesSource) {\n return;\n }\n props.onDelete(props.editingTemplateValuesSource);\n props.onClose();\n };\n const getDrawerActions = () => {\n const actions = [, ];\n if (isEditing) {\n actions.push();\n }\n return [];\n };\n return (\n Choose your template values source} isExpandedByDefault={!isEditing}>\n setTemplateValuesSourceType(x)}>\n \n {enableGitRepositorySource && }\n \n \n \n \n \n {validationErrors.length > 0 && (\n
      \n {validationErrors.map((error) => (
    • {error}
    • ))}\n
    \n
    )}\n {getSection()}\n
    );\n};\n","import { css } from \"@emotion/css\";\nimport { fontSize, fontWeight, space, themeTokens } from \"@octopusdeploy/design-system-tokens\";\nimport * as React from \"react\";\nimport type { TemplateValuesSource } from \"~/components/Actions/helmChartUpgrade/TemplateValuesSource\";\nexport type TemplateValuesSourceListItemModel = {\n templateValuesSource: TemplateValuesSource;\n id: string;\n name: string;\n valueSummary: string | string[] | JSX.Element;\n};\nconst styles = {\n root: css({\n cursor: \"pointer\",\n }),\n name: css({\n marginTop: 0,\n marginBottom: space[8],\n fontSize: fontSize.medium,\n fontWeight: fontWeight[\"700\"],\n }),\n valueSummary: css({\n marginBottom: 0,\n marginTop: space[8],\n color: themeTokens.color.text.secondary,\n whiteSpace: \"pre\",\n overflowX: \"hidden\",\n textOverflow: \"ellipsis\",\n }),\n};\nexport const TemplateValueSourceListItem = ({ item }: {\n item: TemplateValuesSourceListItemModel;\n}) => {\n const valueSummary = typeof item.valueSummary === \"string\" || Array.isArray(item.valueSummary)\n ? Array(0)\n .concat(item.valueSummary)\n .map((t) => {t})\n .reduce((prev, curr) => (<>\n {prev}\n
    \n {curr}\n ))\n : item.valueSummary;\n return (
    \n

    {item.name}

    \n

    {valueSummary}

    \n
    );\n};\n","/* eslint-disable @typescript-eslint/consistent-type-assertions */\nimport { MouseSensor, TouchSensor } from \"@dnd-kit/core\";\nimport type { MouseEvent, TouchEvent } from \"react\";\n// Block DnD event propagation if element have \"data-no-dnd\" attribute\nconst handler = ({ nativeEvent: event }: MouseEvent | TouchEvent) => {\n let cur = event.target as HTMLElement;\n while (cur) {\n if (cur.dataset && cur.dataset.noDnd) {\n return false;\n }\n cur = cur.parentElement as HTMLElement;\n }\n return true;\n};\nexport class CustomMouseSensor extends MouseSensor {\n static activators = [{ eventName: \"onMouseDown\", handler }] as (typeof MouseSensor)[\"activators\"];\n}\nexport class CustomTouchSensor extends TouchSensor {\n static activators = [{ eventName: \"onTouchStart\", handler }] as (typeof TouchSensor)[\"activators\"];\n}\n","import { useSortable } from \"@dnd-kit/sortable\";\nimport { CSS } from \"@dnd-kit/utilities\";\nimport { css } from \"@emotion/css\";\nimport { IconButton } from \"@octopusdeploy/design-system-components\";\nimport { GripDotsVerticalIcon } from \"@octopusdeploy/design-system-icons\";\nimport { borderRadius, borderWidth, colorScales, space, text, themeTokens } from \"@octopusdeploy/design-system-tokens\";\nimport classNames from \"classnames\";\nimport type { CSSProperties, ReactNode } from \"react\";\nimport * as React from \"react\";\nimport { Text } from \"~/components/form\";\nexport default function SortableItem({ id, name, label, customContent, onItemDeleted, onItemUpdated }: {\n id: string;\n name: string;\n label?: string;\n customContent?: ReactNode;\n onItemDeleted?: () => void;\n onItemUpdated?: (newValue: string) => void;\n}) {\n const { attributes, isDragging, listeners, setNodeRef, transform, transition } = useSortable({ id });\n const style: CSSProperties = {\n transform: CSS.Translate.toString(transform),\n transition,\n };\n return isDragging ? (
  • \n
    \n
  • ) : (
  • \n \n\n {customContent ? (customContent) : !onItemUpdated ? ({name}) : (
    \n {\n onItemUpdated(newValue);\n }}/>\n
    )}\n\n {onItemDeleted && (
    \n {\n onItemDeleted();\n }}/>\n
    )}\n
  • );\n}\nconst styles = {\n sortableItem: css({\n padding: space[12],\n border: `${borderWidth[1]} solid ${themeTokens.color.border.primary}`,\n borderRadius: borderRadius.medium,\n display: \"flex\",\n alignItems: \"center\",\n gap: space[8],\n backgroundColor: themeTokens.color.background.primary.default,\n cursor: \"pointer\",\n touchAction: \"manipulation\",\n \".MuiTextField-root\": {\n marginBottom: \"0 !important\",\n },\n }),\n sortableItemDropArea: css({\n padding: space[12],\n height: \"50px\",\n width: \"100%\",\n display: \"flex\",\n alignItems: \"center\",\n }),\n sortableItemDropAreaEditMode: css({\n height: \"78px\",\n }),\n sortableItemDropBar: css({\n border: `${borderWidth[1]} solid ${colorScales.blue[500]}`,\n borderRadius: borderRadius.medium,\n backgroundColor: colorScales.blue[500],\n height: space[4],\n width: \"100%\",\n }),\n itemName: css({\n font: text.body.regular.large,\n width: \"100%\",\n }),\n};\n","/* eslint-disable @typescript-eslint/no-non-null-assertion */\nimport type { Active, DragEndEvent } from \"@dnd-kit/core\";\nimport { DragOverlay, DndContext, useSensor, useSensors } from \"@dnd-kit/core\";\nimport { arrayMove, SortableContext, verticalListSortingStrategy } from \"@dnd-kit/sortable\";\nimport { css } from \"@emotion/css\";\nimport { space } from \"@octopusdeploy/design-system-tokens\";\nimport { useMemo, useState } from \"react\";\nimport * as React from \"react\";\nimport { createPortal } from \"react-dom\";\nimport { CustomMouseSensor, CustomTouchSensor } from \"./CustomSensor\";\nimport SortableItem from \"./SortableItem\";\ninterface SortableItemModel {\n Id: string;\n Name: string;\n}\ninterface SortableListProps {\n items: TItemType[];\n label?: string;\n renderItem?: (item: TItemType) => React.ReactNode;\n onOrderChanged(sortedItems: TItemType[]): void;\n onItemDeleted?(remainingItems: TItemType[]): void;\n onItemUpdated?(updatedItems: TItemType[]): void;\n}\nfunction SortableList(props: SortableListProps) {\n const items = useMemo(() => props.items.map((x) => ({ id: x.Id, value: x })), [props.items]);\n const [active, setActive] = useState(null);\n const activeItem = useMemo(() => items.find((item) => item.id === active?.id), [active, items]);\n const sensors = useSensors(useSensor(CustomMouseSensor), useSensor(CustomTouchSensor));\n const itemMoved = ({ active, over }: DragEndEvent) => {\n if (over && active.id !== over.id) {\n const activeIndex = items.findIndex(({ id }) => id === active.id);\n const overIndex = items.findIndex(({ id }) => id === over.id);\n props.onOrderChanged(arrayMove(items, activeIndex, overIndex).map((x) => x.value));\n }\n setActive(null);\n };\n const itemDeleted = (itemId: string) => {\n if (props.onItemDeleted) {\n const remainingItems = items.filter((x) => x.id != itemId);\n props.onItemDeleted(remainingItems.map((x) => x.value));\n }\n };\n const itemUpdated = (itemId: string, newValue: string) => {\n if (props.onItemUpdated) {\n const orderedItems = items.slice();\n const itemToUpdate = orderedItems.find((x) => x.id === itemId);\n itemToUpdate!.value!.Name = newValue;\n props.onItemUpdated(orderedItems.map((x) => x.value));\n }\n };\n return ( setActive(active)} onDragEnd={itemMoved} onDragCancel={() => setActive(null)}>\n \n
      \n {items.map((item, index) => ( itemUpdated(item.id, newValue) : undefined} onItemDeleted={props.onItemDeleted ? () => itemDeleted(item.id) : undefined}/>))}\n
    \n
    \n\n {createPortal(\n {activeItem ? ( { } : undefined} onItemDeleted={props.onItemDeleted ? () => { } : undefined}/>) : null}\n , document.body)}\n
    );\n}\nconst styles = {\n sortableList: css({\n display: \"flex\",\n flexDirection: \"column\",\n gap: space[16],\n listStyle: \"none\",\n touchAction: \"none\",\n }),\n dragOverlay: css({\n opacity: \"0.8\",\n zIndex: \"9999 !important\",\n }),\n};\nexport default SortableList;\nexport { SortableItemModel };\n","import SortableList from \"./SortableList\";\nexport default SortableList;\n","import React, { useEffect, useState } from \"react\";\nimport type { TemplateValuesSourceListItemModel } from \"~/components/Actions/helmChartUpgrade/TemplateValueSourceListItem\";\nimport { TemplateValueSourceListItem } from \"~/components/Actions/helmChartUpgrade/TemplateValueSourceListItem\";\nimport type { TemplateValuesSources } from \"~/components/Actions/helmChartUpgrade/TemplateValuesSource\";\nimport Dialog from \"~/components/Dialog/Dialog\";\nimport SaveDialogLayout from \"~/components/DialogLayout/SaveDialogLayout\";\nimport type { SortableItemModel } from \"~/primitiveComponents/dataDisplay/SortableList/SortableList\";\nimport SortableList from \"~/primitiveComponents/dataDisplay/SortableList/index\";\ntype HelmTemplateValuesSorterDialogProps = {\n isOpen: boolean;\n onSave: (orderedTemplateValueSources: TemplateValuesSources) => void;\n onCancel: () => void;\n templateValueSources: TemplateValuesSourceListItemModel[];\n};\ntype SortableTemplateValuesSource = SortableItemModel & {\n ItemModel: TemplateValuesSourceListItemModel;\n};\nconst mapToSortableItem = (templateValueSources: TemplateValuesSourceListItemModel[]) => templateValueSources.map((model) => ({\n Id: model.id,\n Name: model.name,\n ItemModel: model,\n}));\nexport const HelmTemplateValuesSorterDialog = (props: HelmTemplateValuesSorterDialogProps) => {\n const [templateValueSources, setTemplateValueSources] = useState(mapToSortableItem(props.templateValueSources));\n useEffect(() => {\n setTemplateValueSources(mapToSortableItem(props.templateValueSources));\n }, [props.templateValueSources]);\n const onSave = () => {\n props.onSave(templateValueSources.map((x) => x.ItemModel.templateValuesSource));\n return Promise.resolve(true);\n };\n const renderItem = (item: SortableTemplateValuesSource) => ;\n return (\n onSave()} onCancelClick={() => props.onCancel()}>\n setTemplateValueSources(x)} renderItem={renderItem}/>\n \n );\n};\n","export type ArtifactEqualToPredicate = (a1: TArtifact, a2: TArtifact) => boolean;\nexport const saveArtifact = (updatedArtifact: TArtifact, artifacts: TArtifact[], editingArtifact: TArtifact | undefined, equalsToPredicate: ArtifactEqualToPredicate, namePrefix: string): [\n string,\n TArtifact[]\n] => {\n // clone the existing artifacts\n const updatedArtifacts = [...artifacts];\n // This regex is used to find the indexes of all the values artifacts\n const regEx = new RegExp(`${namePrefix}-(?[0-9]+)`);\n if (editingArtifact) {\n //when editing, we find existing item based on the predicate, then override it\n const index = updatedArtifacts.findIndex((artifact) => equalsToPredicate(artifact, editingArtifact));\n updatedArtifacts[index] = updatedArtifact;\n }\n else {\n const valuesArtifactIndexes = updatedArtifacts\n .map((artifact) => artifact.Name)\n .map((name) => name?.match(regEx))\n .map((matchArray) => (matchArray?.groups ? parseInt(matchArray.groups.idx) : 0));\n //if there is no existing artifacts to get indexes from, then the maxIndex must be 0\n const maxIndex = valuesArtifactIndexes.length > 0 ? Math.max(...valuesArtifactIndexes) : 0;\n const newIndex = maxIndex + 1;\n updatedArtifact = { ...updatedArtifact, Name: `${namePrefix}-${newIndex}` };\n updatedArtifacts.push(updatedArtifact);\n }\n // eslint-disable-next-line @typescript-eslint/no-non-null-assertion\n return [updatedArtifact.Name!, updatedArtifacts];\n};\nexport const removeArtifact = (artifactToRemove: TArtifact, artifacts: TArtifact[], equalsToPredicate: ArtifactEqualToPredicate): TArtifact[] => {\n const updatedArtifacts = [...artifacts];\n const index = updatedArtifacts.findIndex((gd) => equalsToPredicate(gd, artifactToRemove));\n updatedArtifacts.splice(index, 1);\n return updatedArtifacts;\n};\n","/* eslint-disable @typescript-eslint/no-non-null-assertion */\nimport { css } from \"@emotion/css\";\nimport { ActionButton, List, Tooltip } from \"@octopusdeploy/design-system-components\";\nimport { space } from \"@octopusdeploy/design-system-tokens\";\nimport type { HelmChartUpgradeProperties } from \"@octopusdeploy/legacy-action-properties\";\nimport type { FeedResource, GitDependencyReference } from \"@octopusdeploy/octopus-server-client\";\nimport jsSHA from \"jssha\";\nimport { cloneDeep } from \"lodash\";\nimport * as React from \"react\";\nimport { useMemo, useState } from \"react\";\nimport type { RunOn } from \"~/areas/projects/components/Process/types\";\nimport ActionList from \"~/components/ActionList/index\";\nimport type { HelmTemplateValuesSaveResult } from \"~/components/Actions/helmChartUpgrade/HelmTemplateValuesDrawer\";\nimport { isGitDependencyTemplateValuesSaveResult, HelmTemplateValuesDrawer, isPackageReferenceTemplateValuesSaveResult } from \"~/components/Actions/helmChartUpgrade/HelmTemplateValuesDrawer\";\nimport { HelmTemplateValuesSorterDialog } from \"~/components/Actions/helmChartUpgrade/HelmTemplateValuesSorterDialog\";\nimport type { PackagedHelmValuesReference } from \"~/components/Actions/helmChartUpgrade/PackagedHelmValuesDialog\";\nimport type { TemplateValuesSourceListItemModel } from \"~/components/Actions/helmChartUpgrade/TemplateValueSourceListItem\";\nimport { TemplateValueSourceListItem } from \"~/components/Actions/helmChartUpgrade/TemplateValueSourceListItem\";\nimport type { TemplateValuesSource, TemplateValuesSources } from \"~/components/Actions/helmChartUpgrade/TemplateValuesSource\";\nimport { isGitRepositoryTemplateValuesSource, isPackageTemplateValuesSource } from \"~/components/Actions/helmChartUpgrade/TemplateValuesSource\";\nimport { removeArtifact, saveArtifact } from \"~/components/Actions/helmChartUpgrade/artifactHelpers\";\nimport type { ArtifactEqualToPredicate } from \"~/components/Actions/helmChartUpgrade/artifactHelpers\";\nimport { getValuesPackageReferences } from \"~/components/Actions/helmChartUpgrade/helmPackageHelpers\";\nimport { tryMigrateToTemplateValuesSources } from \"~/components/Actions/helmChartUpgrade/helmTemplateValuesSourcesMigration\";\nimport type { BoundFieldProps } from \"~/components/Actions/pluginRegistry\";\nimport BorderedListItem from \"~/components/BorderedListItem/index\";\nimport ExpandableFormSection from \"~/components/form/Sections/ExpandableFormSection\";\nimport { Summary } from \"~/components/form/index\";\nimport type { CodeEditorVariable } from \"~/utils/ScriptIntellisense/scriptIntellisense\";\nimport StringHelper from \"~/utils/StringHelper/index\";\nconst templateValuesListStyles = {\n container: css({\n marginTop: space[16],\n }),\n itemContainer: css({\n padding: space[16],\n }),\n};\ntype HelmTemplateValuesSectionV2Props = BoundFieldProps & {\n properties: HelmChartUpgradeProperties;\n setProperties: (properties: Partial, initialise?: boolean, callback?: () => void) => void;\n packages: Array;\n setPackages: (packages: Array, initialise?: boolean) => void;\n yamlAutocompleteResults: CodeEditorVariable[];\n runOn: RunOn | undefined;\n feeds: FeedResource[];\n gitDependencies: Array;\n setGitDependencies: (gitDependencies: GitDependencyReference[], initialise?: boolean) => void;\n isStepFromProcessTemplate: boolean | undefined;\n};\nconst gitDependencyEqualToPredicate: ArtifactEqualToPredicate = (gd1: GitDependencyReference, gd2: GitDependencyReference) => gd1.Name === gd2.Name;\nconst packageEqualToPredicate: ArtifactEqualToPredicate = (p1, p2) => p1.Id === p2.Id && p1.Name === p2.Name;\nconst getOrMigrateTemplateValuesSources = (properties: HelmChartUpgradeProperties, packages: Array): TemplateValuesSources => {\n //we use the migrated values if they exist in the UI state only. Any change to them will then be persisted and mark the UI as dirty\n return StringHelper.isNullOrWhiteSpace(properties[\"Octopus.Action.Helm.TemplateValuesSources\"]) ? tryMigrateToTemplateValuesSources(properties, packages) : parseTemplateValuesSources(properties[\"Octopus.Action.Helm.TemplateValuesSources\"]);\n};\nconst parseTemplateValuesSources = (templateValuesSourcesJson: string) => {\n if (!templateValuesSourcesJson || StringHelper.isNullOrWhiteSpace(templateValuesSourcesJson)) {\n return [];\n }\n // eslint-disable-next-line @typescript-eslint/consistent-type-assertions\n return JSON.parse(templateValuesSourcesJson) as TemplateValuesSources;\n};\nexport const HelmTemplateValuesSectionV2 = (props: HelmTemplateValuesSectionV2Props) => {\n const [templateValuesSources, setTemplateValuesSources] = useState(getOrMigrateTemplateValuesSources(props.properties, props.packages));\n const [isDrawerOpen, setIsDrawerOpen] = useState(false);\n const [isSorterDialogOpen, setIsSorterDialogOpen] = useState(false);\n const [editingTemplateValuesSourceIndex, setEditingTemplateValuesSourceIndex] = useState();\n const [editingPackageReference, setEditingPackageReference] = useState();\n const [editingGitDependency, setEditingGitDependency] = useState();\n const closeTemplateValuesDrawer = () => {\n setIsDrawerOpen(false);\n setEditingTemplateValuesSourceIndex(undefined);\n setEditingPackageReference(undefined);\n setEditingGitDependency(undefined);\n };\n const onDrawerSave = (result: HelmTemplateValuesSaveResult) => {\n if (isPackageReferenceTemplateValuesSaveResult(result)) {\n const [newPackageName, updatedPackageReferences] = savePackageReference(result.packageReference);\n saveTemplateValuesSource({ ...result.valuesSource, PackageName: newPackageName }, updatedPackageReferences);\n }\n else if (isGitDependencyTemplateValuesSaveResult(result)) {\n const [newGitDependencyName, updatedGitDependencies] = saveGitDependency(result.gitDependency);\n saveTemplateValuesSource({ ...result.valuesSource, GitDependencyName: newGitDependencyName }, undefined, updatedGitDependencies);\n }\n else {\n saveTemplateValuesSource(result);\n }\n closeTemplateValuesDrawer();\n };\n const onDrawerDelete = (tvs: TemplateValuesSource) => {\n let updatedPackages: PackagedHelmValuesReference[] | undefined = undefined;\n if (editingPackageReference) {\n updatedPackages = removePackageReference(editingPackageReference);\n }\n let updatedGitDependencies: GitDependencyReference[] | undefined = undefined;\n if (editingGitDependency) {\n updatedGitDependencies = removeGitDependency(editingGitDependency);\n }\n removeTemplateValuesSource(tvs, updatedPackages, updatedGitDependencies);\n closeTemplateValuesDrawer();\n };\n const saveTemplateValuesSource = (tvs: TemplateValuesSource, updatedPackages: PackagedHelmValuesReference[] | undefined = undefined, updatedGitDependencies: GitDependencyReference[] | undefined = undefined) => {\n const valueSources = [...templateValuesSources];\n //if we aren't editing, just add the end of the list\n if (editingTemplateValuesSourceIndex !== undefined) {\n valueSources[editingTemplateValuesSourceIndex] = tvs;\n }\n else {\n valueSources.push(tvs);\n }\n saveTemplateValueSources(valueSources, updatedPackages, updatedGitDependencies);\n };\n const removeTemplateValuesSource = (tvs: TemplateValuesSource, updatedPackages: PackagedHelmValuesReference[] | undefined, updatedGitDependencies: GitDependencyReference[] | undefined) => {\n if (editingTemplateValuesSourceIndex === undefined) {\n throw new Error(\"Not editing a template values source\");\n }\n if (tvs !== templateValuesSources[editingTemplateValuesSourceIndex]) {\n throw new Error(\"Deleting the wrong TemplateValueSource\");\n }\n const valueSources = [...templateValuesSources];\n valueSources.splice(valueSources.indexOf(tvs), 1);\n saveTemplateValueSources(valueSources, updatedPackages, updatedGitDependencies);\n };\n const saveTemplateValueSources = (valueSources: TemplateValuesSources, updatedPackages: PackagedHelmValuesReference[] | undefined, updatedGitDependencies: GitDependencyReference[] | undefined) => {\n //update the state\n setTemplateValuesSources(valueSources);\n //update the properties\n props.setProperties({\n [\"Octopus.Action.Helm.TemplateValuesSources\"]: JSON.stringify(valueSources, null, 2),\n });\n //update the packages (if there were any)\n if (updatedPackages) {\n props.setPackages(updatedPackages);\n }\n if (updatedGitDependencies && props.setGitDependencies) {\n props.setGitDependencies(updatedGitDependencies);\n }\n clearOldValuesProperties(updatedPackages || props.packages);\n };\n const clearOldValuesProperties = (packages: PackagedHelmValuesReference[]) => {\n //we clear out the old property values as they will have been migrated\n props.setProperties({\n [\"Octopus.Action.Helm.KeyValues\"]: undefined,\n [\"Octopus.Action.Helm.YamlValues\"]: undefined,\n });\n //remove the values paths from all the existing packages (if they have them set)\n const packagesToUpdate = [...packages];\n for (let i = 0; i < packagesToUpdate.length; i++) {\n const pkg = packagesToUpdate[i];\n packagesToUpdate[i] = {\n ...pkg,\n Properties: {\n ...pkg.Properties,\n //clear the old valuesFilePaths as these are now stored in the TemplateValuesSources\n ValuesFilePath: \"\",\n },\n };\n }\n props.setPackages(packagesToUpdate);\n };\n const savePackageReference = (packageReference: PackagedHelmValuesReference) => saveArtifact(packageReference, props.packages, editingPackageReference, packageEqualToPredicate, \"ValuesPack\");\n const removePackageReference = (pkgRef: PackagedHelmValuesReference) => removeArtifact(pkgRef, props.packages, packageEqualToPredicate);\n const saveGitDependency = (gitDependency: GitDependencyReference) => saveArtifact(gitDependency, props.gitDependencies, editingGitDependency, gitDependencyEqualToPredicate, \"TemplateValues\");\n const removeGitDependency = (gitDependency: GitDependencyReference) => removeArtifact(gitDependency, props.gitDependencies, gitDependencyEqualToPredicate);\n const getTemplateValuesSummary = () => {\n const sourceCount = templateValuesSources.length;\n if (sourceCount !== 0) {\n const multipleSuffix = sourceCount > 1 ? \"s\" : \"\";\n return Summary.summary(`${sourceCount} values source${multipleSuffix} configured`);\n }\n return Summary.placeholder(\"No value sources configured\");\n };\n const templateValuesSourceListItemModels: Array = useMemo(() => templateValuesSources.map((tvs) => {\n //we have to hash the contents of the inline yaml & key-values as they need a unique id\n const sha = new jsSHA(\"SHA-1\", \"TEXT\", { encoding: \"UTF8\" });\n if (tvs.Type === \"KeyValues\") {\n sha.update(JSON.stringify(tvs.Value));\n const hash = sha.getHash(\"HEX\");\n return {\n templateValuesSource: tvs,\n id: `${tvs.Type}-${hash}`,\n name: \"Key values\",\n valueSummary: Object.keys(tvs.Value)\n .map((key) => `${key} = ${tvs.Value[key]}`)\n .join(\", \"),\n };\n }\n if (tvs.Type === \"InlineYaml\") {\n sha.update(tvs.Value);\n const hash = sha.getHash(\"HEX\");\n return {\n templateValuesSource: tvs,\n id: `${tvs.Type}-${hash}`,\n name: \"Inline YAML\",\n valueSummary: tvs.Value.split(\"\\n\").slice(0, 3),\n };\n }\n if (tvs.Type === \"Chart\") {\n return {\n templateValuesSource: tvs,\n id: tvs.Type,\n name: \"Chart\",\n valueSummary: tvs.ValuesFilePaths.split(\"\\n\").slice(0, 3),\n };\n }\n if (tvs.Type === \"Package\") {\n const packageReferences = getValuesPackageReferences(props.packages);\n const pkgRef = packageReferences.find((pkgRef) => pkgRef.Name === tvs.PackageName && pkgRef.PackageId === tvs.PackageId);\n if (!pkgRef) {\n throw new Error(`Package reference not found for name ${tvs.PackageName} & ID ${tvs.PackageId}`);\n }\n const feed = props.feeds.find((f) => f.Id === pkgRef.FeedId);\n const valuesFilePaths = tvs.ValuesFilePaths.split(\"\\n\").slice(0, 3).join(\", \");\n const version = pkgRef.Version ? ` version ${pkgRef.Version} ` : \"\";\n return {\n templateValuesSource: tvs,\n id: `${tvs.Type}-${tvs.PackageId}-${tvs.PackageName}`,\n name: \"Package\",\n valueSummary: `${valuesFilePaths} in ${tvs.PackageId}${version}from feed ${feed?.Name || \"Unknown feed\"}`,\n };\n }\n if (tvs.Type === \"GitRepository\") {\n const gitDependency = (props.gitDependencies || []).find((gitDependency) => gitDependency.Name === tvs.GitDependencyName);\n if (!gitDependency) {\n throw new Error(`Git dependency not found for name ${tvs.GitDependencyName}`);\n }\n const valuesFilePaths = tvs.ValuesFilePaths.split(\"\\n\").slice(0, 3).join(\", \");\n return {\n templateValuesSource: tvs,\n id: `${tvs.Type}-${tvs.GitDependencyName}`,\n name: \"Git Repository\",\n valueSummary: (<>\n {valuesFilePaths} in repository \n {gitDependency.RepositoryUri} ({gitDependency.DefaultBranch})\n ),\n };\n }\n throw new Error(`Unknown TemplateValuesSource`);\n }), //remove any undefined items\n [templateValuesSources, props.packages, props.feeds, props.gitDependencies]);\n return (<>\n Provide one or multiple values sources to be passed into the chart}>\n
    \n setIsDrawerOpen(true)}/>, setIsSorterDialogOpen(true)} disabled={templateValuesSourceListItemModels.length <= 1}/>]}/>\n\n
    \n (\n {\n const templateValuesSource = item.templateValuesSource;\n let packageRef: PackagedHelmValuesReference | undefined = undefined;\n let gitDependency: GitDependencyReference | undefined = undefined;\n if (isPackageTemplateValuesSource(templateValuesSource)) {\n packageRef = props.packages.find((ref) => ref.Name === templateValuesSource.PackageName && ref.PackageId === templateValuesSource.PackageId);\n }\n else if (isGitRepositoryTemplateValuesSource(templateValuesSource)) {\n gitDependency = props.gitDependencies.find((gd) => gd.Name === templateValuesSource.GitDependencyName);\n }\n setEditingTemplateValuesSourceIndex(templateValuesSources.indexOf(templateValuesSource));\n setEditingPackageReference(cloneDeep(packageRef));\n setEditingGitDependency(cloneDeep(gitDependency));\n setIsDrawerOpen(true);\n }}>\n
    \n \n
    \n
    \n
    )}/>\n
    \n
    \n
    \n closeTemplateValuesDrawer()} onSave={onDrawerSave} onDelete={onDrawerDelete} templateValuesSources={templateValuesSources} editingTemplateValuesSource={editingTemplateValuesSourceIndex === undefined ? undefined : templateValuesSources[editingTemplateValuesSourceIndex]} editingPackageReference={editingPackageReference} editingGitDependency={editingGitDependency} projectId={props.projectId!} runOn={props.runOn} yamlAutocompleteResults={props.yamlAutocompleteResults} isStepFromProcessTemplate={props.isStepFromProcessTemplate}/>\n\n setIsSorterDialogOpen(false)} onSave={(orderedTemplateValueSources) => {\n saveTemplateValueSources(orderedTemplateValueSources, undefined, undefined);\n setIsSorterDialogOpen(false);\n }}/>\n );\n};\n","import type { HelmChartUpgradeProperties } from \"@octopusdeploy/legacy-action-properties\";\nimport { GetPrimaryPackageReference } from \"@octopusdeploy/octopus-server-client\";\nimport type { PackagedHelmValuesReference } from \"~/components/Actions/helmChartUpgrade/PackagedHelmValuesDialog\";\nimport type { TemplateValuesSources } from \"~/components/Actions/helmChartUpgrade/TemplateValuesSource\";\nimport { getValuesPackageReferences } from \"~/components/Actions/helmChartUpgrade/helmPackageHelpers\";\nimport StringHelper from \"~/utils/StringHelper/index\";\nexport const tryMigrateToTemplateValuesSources = (properties: HelmChartUpgradeProperties, packages: Array) => {\n const templateValueSources: TemplateValuesSources = [];\n //key values\n const keyValues = properties[\"Octopus.Action.Helm.KeyValues\"];\n if (!StringHelper.isNullOrWhiteSpace(keyValues)) {\n templateValueSources.push({\n Type: \"KeyValues\",\n Value: JSON.parse(keyValues),\n });\n }\n //inline yaml\n const inlineYaml = properties[\"Octopus.Action.Helm.YamlValues\"];\n if (!StringHelper.isNullOrWhiteSpace(inlineYaml)) {\n templateValueSources.push({\n Type: \"InlineYaml\",\n Value: inlineYaml,\n });\n }\n //chart package\n // eslint-disable-next-line @typescript-eslint/consistent-type-assertions\n const primaryPackage = GetPrimaryPackageReference(packages) as PackagedHelmValuesReference;\n if (primaryPackage && !StringHelper.isNullOrWhiteSpace(primaryPackage.Properties.ValuesFilePath)) {\n templateValueSources.push({\n Type: \"Chart\",\n ValuesFilePaths: primaryPackage.Properties.ValuesFilePath,\n });\n }\n //packages\n const packageReferences = getValuesPackageReferences(packages);\n for (const packageReference of packageReferences) {\n templateValueSources.push({\n Type: \"Package\",\n PackageId: packageReference.PackageId,\n // eslint-disable-next-line @typescript-eslint/no-non-null-assertion\n PackageName: packageReference.Name!,\n ValuesFilePaths: packageReference.Properties.ValuesFilePath,\n });\n }\n return templateValueSources;\n};\n","import { useBooleanFlagValue } from \"@openfeature/react-sdk\";\nimport { OpenFeature } from \"@openfeature/web-sdk\";\nconst slug = \"kos-for-helm\";\nexport function useKOSForHelm() {\n return useBooleanFlagValue(slug, false);\n}\nexport function isKOSForHelmEnabled() {\n const client = OpenFeature.getClient();\n return !client.getBooleanValue(slug, false);\n}\n","import { css } from \"@emotion/css\";\nimport { Checkbox, PopoverBasicHelp } from \"@octopusdeploy/design-system-components\";\nimport { space } from \"@octopusdeploy/design-system-tokens\";\nimport type { HelmChartUpgradeProperties, KubernetesStatusCheckProperties } from \"@octopusdeploy/legacy-action-properties\";\nimport React, { useState } from \"react\";\nimport type { FullNameOf, ShortNameOf } from \"~/components/Actions/kubernetes/kubernetesStatusCheckComponent\";\nimport type { ActionEditProps } from \"~/components/Actions/pluginRegistry\";\nimport Chip from \"~/components/Chips/Chip\";\nimport ExternalLink from \"~/components/Navigation/ExternalLink/index\";\nimport { withTheme } from \"~/components/Theme/index\";\nimport { ExpandableFormSection, Note, Summary } from \"~/components/form/index\";\ntype HelmStepVerificationFormSectionProps = Pick, \"properties\" | \"setProperties\" | \"expandedByDefault\">;\nconst waitForJobsStyle = css({\n marginLeft: space[32],\n});\nconst verificationContainerStyle = css({\n marginTop: space[16],\n});\nconst bulletStyle = css({\n listStyleType: \"disc\",\n});\nconst RecommendedOptionChip = () => withTheme((theme) => (\n Recommended\n ));\nconst waitForJobsHelp = (<>\n
    Octopus will wait until Jobs have been completed before marking the step as successful.
    \n
    \n It will wait for as long as the --timeout\n
    \n );\nconst waitForJobsHelpLink = Helm docs;\nconst stepVerificationHelp = (<>\n
    \n The Helm --wait flag waits until the following conditions are true to mark the step as successful:\n
    \n
      \n
    • All Pods are in the ready state
    • \n
    • PVCs are bound
    • \n
    • Deployments have minimum Pods in the ready state
    • \n
    • Services have an IP address (and Ingress if a LoadBalancer)
    • \n
    \n
    \n It will wait for as long as the --timeout\n
    \n );\nconst stepVerificationHelpLink = Helm docs;\nconst stepVerificationKosHelpLink = Octopus docs;\ntype FullNames = keyof KubernetesStatusCheckProperties;\ntype ShortNames = {\n [key in FullNames]: ShortNameOf;\n}[FullNames];\nconst toFullName = (shortName: T): FullNameOf => `Octopus.Action.Kubernetes.${shortName}`;\nexport const HelmStepVerificationFormSection = (props: HelmStepVerificationFormSectionProps) => {\n const getKubernetesVariable = (shortName: T): HelmChartUpgradeProperties[FullNameOf] => props.properties[toFullName(shortName)];\n const setKubernetesVariable = (shortName: T, value: HelmChartUpgradeProperties[FullNameOf]) => props.setProperties({ [toFullName(shortName)]: value });\n const getDefaultVerificationState = () => {\n if (getKubernetesVariable(\"ResourceStatusCheck\") === \"True\") {\n return true;\n }\n if (getKubernetesVariable(\"ResourceStatusCheck\") === \"False\") {\n return false;\n }\n //if we don't have a value, it's either a new step or an older step being upgraded, check additional args\n const additionalArgs = props.properties[\"Octopus.Action.Helm.AdditionalArgs\"];\n //if we have additional args with atomic or wait, let's assume they want validation checking\n if (additionalArgs && (additionalArgs.indexOf(\"--atomic\") >= 0 || additionalArgs.search(/(--wait)(?!-)/) >= 0)) {\n setKubernetesVariable(\"ResourceStatusCheck\", \"True\");\n //if they are already using wait for jobs, also set that\n if (additionalArgs.indexOf(\"--wait-for-jobs\") >= 0) {\n setKubernetesVariable(\"WaitForJobs\", \"True\");\n }\n return true;\n }\n return false;\n };\n const [isVerificationEnabled, setIsVerificationEnabled] = useState(getDefaultVerificationState());\n const [isWaitForJobsEnabled, setIsWaitForJobsEnabled] = useState(getKubernetesVariable(\"WaitForJobs\") === \"True\");\n const setIsEnabled = (isEnabled: boolean) => {\n setKubernetesVariable(\"ResourceStatusCheck\", isEnabled ? \"True\" : \"False\");\n setIsVerificationEnabled(isEnabled);\n };\n const setWaitForJobsEnabled = (isEnabled: boolean) => {\n setKubernetesVariable(\"WaitForJobs\", isEnabled ? \"True\" : \"False\");\n setIsWaitForJobsEnabled(isEnabled);\n };\n const getSummary = () => {\n const summary = isVerificationEnabled ? Summary.default : Summary.summary;\n return summary({isVerificationEnabled ? \"Check that Kubernetes objects are running successfully\" : \"Don't do any verification checks\"});\n };\n return (Choose how Octopus will determine if your step was successful.} contextualHelp={} isExpandedByDefault={props.expandedByDefault}>\n
    \n setIsEnabled(x)} noMargin={true} label={<>\n \n Use Helm --wait to determine success\n \n \n }/>\n
    \n
    \n When enabled, also gives real-time status updates of the Kubernetes objects while this step is running.\n {isVerificationEnabled && (
    \n setWaitForJobsEnabled(x)} label={<>\n \n Enable --wait-for-jobs\n \n  \n \n }/>\n
    )}\n
    \n
    );\n};\n","import { Callout } from \"@octopusdeploy/design-system-components\";\nimport * as React from \"react\";\nimport type { MixedExecutionLocationsConfig } from \"~/components/Actions/pluginRegistry\";\nimport ExternalLink from \"~/components/Navigation/ExternalLink/index\";\nexport const kubernetesMixedExecutionLocationConfig = (allLocationsRequireActionContainer?: boolean): MixedExecutionLocationsConfig => ({\n enabled: true,\n allLocationsRequireActionContainer: allLocationsRequireActionContainer || false,\n title: \"Kubernetes API Deployment Targets\",\n callout: (\n The Kubernetes agent doesn’t require workers and will ignore these fields. Complete the fields below if you’re deploying to Kubernetes API deployment targets.\n ),\n});\n","import type { CloudConnectionType } from \"@octopusdeploy/octopus-server-client\";\nexport const getKubernetesTargetDiscoveryCloudProviders: () => Array = () => [\"Aws\", \"Azure\"];\n","/* eslint-disable @typescript-eslint/no-non-null-assertion */\n/* eslint-disable @typescript-eslint/consistent-type-assertions */\nimport { Callout, RadioButton, RadioButtonGroup } from \"@octopusdeploy/design-system-components\";\nimport type { HelmChartUpgradeProperties } from \"@octopusdeploy/legacy-action-properties\";\nimport type { PackageReference } from \"@octopusdeploy/octopus-server-client\";\nimport { ActionExecutionLocation, FeedType, GetNamedPackageReferences, GetPrimaryPackageReferenceOfT, InitialisePrimaryGitDependency, InitialisePrimaryPackageReference, PackageAcquisitionLocation, ProcessType, RemovePrimaryGitDependency, RemovePrimaryPackageReference, SetPrimaryPackageReference, } from \"@octopusdeploy/octopus-server-client\";\nimport { noOp } from \"@octopusdeploy/utilities\";\nimport { flatten, isEqual, memoize } from \"lodash\";\nimport * as React from \"react\";\nimport { useOptionalProcessContext } from \"~/areas/projects/components/Process/Contexts/ProcessContext\";\nimport { useGitCredentialsFromContext, useRefreshGitCredentialsFromContext } from \"~/areas/projects/components/Process/Contexts/ProcessGitCredentialsContextProvider\";\nimport { TargetRoles } from \"~/areas/projects/components/Process/types\";\nimport { buildRelatedTriggerDependencies } from \"~/areas/projects/components/Triggers/ProcessCallouts/triggerPackageRelations\";\nimport { useOptionalProjectContext } from \"~/areas/projects/context\";\nimport { ClearHelmExePackage, GetHelmExePackageReference, IsHelmExePackageReference } from \"~/components/Actions/helmChartUpgrade/helmPackageHelpers\";\nimport { HelmTemplateValuesSectionV2 } from \"~/components/Actions/helmChartUpgrade/helmTemplateValuesSectionV2\";\nimport { isKOSForHelmEnabled, useKOSForHelm } from \"~/components/Actions/helmChartUpgrade/useKOSForHelm\";\nimport { HelmStepVerificationFormSection } from \"~/components/Actions/kubernetes/helmStepVerificationFormSection\";\nimport { kubernetesMixedExecutionLocationConfig } from \"~/components/Actions/kubernetes/kubernetesMixedExecutionLocationConfig\";\nimport { InitialStatusCheckProperties } from \"~/components/Actions/kubernetes/kubernetesStatusCheckComponent\";\nimport { BaseComponent } from \"~/components/BaseComponent/BaseComponent\";\nimport { GitRepositorySourceSelector, isProjectRepositoryGitSourceSupported } from \"~/components/GitRepositorySource/GitRepositorySourceSelector\";\nimport DeferredPackageSelector from \"~/components/PackageSelector/DeferredPackageSelector\";\nimport PackageSelector from \"~/components/PackageSelector/PackageSelector\";\nimport ExpanderSectionHeading from \"~/components/form/Sections/FormSectionHeading\";\nimport { codeEditorVariablesList } from \"~/utils/ScriptIntellisense/scriptIntellisense\";\nimport { useFeedsFromContext, useRefreshFeedsFromContext } from \"../../../areas/projects/components/Process/Contexts/ProcessFeedsContextProvider\";\nimport StringCheckbox from \"../../../primitiveComponents/form/Checkbox/StringCheckbox\";\nimport { DebounceText } from \"../../../primitiveComponents/form/Text/Text\";\nimport CommonSummaryHelper from \"../../../utils/CommonSummaryHelper/CommonSummaryHelper\";\nimport ExternalLink from \"../../Navigation/ExternalLink/ExternalLink\";\nimport { FormSection, FormSectionHeading, Note, Summary } from \"../../form\";\nimport ExpandableFormSection, { CardFill } from \"../../form/Sections/ExpandableFormSection\";\nimport { VariableLookupText } from \"../../form/VariableLookupText\";\nimport type { ActionSummaryProps } from \"../actionSummaryProps\";\nimport type { ActionWithDirtyState, ActionWithFeeds, ActionWithGitRepositorySource } from \"../commonActionHelpers\";\nimport { getChangesToPackageReference } from \"../getChangesToPackageReference\";\nimport { getKubernetesTargetDiscoveryCloudProviders } from \"../kubernetes/getKubernetesTargetDiscoveryCloudProviders\";\nimport { DockerReferenceListFormSection } from \"../packageReferences\";\nimport type { ActionEditProps } from \"../pluginRegistry\";\nimport pluginRegistry from \"../pluginRegistry\";\nimport { useScriptActionContext } from \"../script/ScriptActionContext\";\nimport type { WithScriptActionContextInjectedProps } from \"../script/withScriptActionContext\";\nimport type { PackagedHelmValuesProperties, PackagedHelmValuesReference } from \"./PackagedHelmValuesDialog\";\nclass HelmChartUpgradeActionSummary extends BaseComponent {\n constructor(props: ActionSummaryProps) {\n super(props);\n }\n render() {\n return
    Upgrade a Helm chart
    ;\n }\n static displayName = \"HelmChartUpgradeActionSummary\";\n}\nenum HelmLocation {\n Default = \"default\",\n Local = \"local\",\n Package = \"package\"\n}\ninterface HelmChartUpgradeActionEditState {\n customHelmExecutable: HelmLocation;\n variableServerNames: string[];\n}\ntype HelmChartUpgradeActionEditProps = ActionEditProps;\ntype HelmChartUpgradeActionEditInternalProps = HelmChartUpgradeActionEditProps & ActionWithFeeds & WithScriptActionContextInjectedProps & ActionWithGitRepositorySource & ActionWithDirtyState & {\n useKOSForHelm: boolean;\n};\nclass HelmChartUpgradeActionEditInternal extends BaseComponent {\n constructor(props: HelmChartUpgradeActionEditInternalProps) {\n super(props);\n this.state = {\n customHelmExecutable: HelmLocation.Default,\n variableServerNames: [],\n };\n }\n async componentDidMount() {\n if (this.getChartSource() === \"Package\") {\n this.props.setProperties({ \"Octopus.Action.Script.ScriptSource\": \"Package\" });\n this.props.setPackages(InitialisePrimaryPackageReference(this.props.packages, this.props.feeds, this.props.processType === ProcessType.Blueprint), true);\n }\n await this.props.doBusyTask(async () => {\n if (GetHelmExePackageReference(this.props.packages)) {\n this.setState({ customHelmExecutable: HelmLocation.Package });\n }\n else if (this.props.properties[\"Octopus.Action.Helm.CustomHelmExecutable\"]) {\n this.setState({ customHelmExecutable: HelmLocation.Local });\n }\n this.setState({ variableServerNames: (await this.props.scriptActionContext?.loadVariables()) ?? [] });\n });\n if (this.props.properties[\"Octopus.Action.Helm.ResetValues\"] === undefined) {\n this.props.setProperties({ [\"Octopus.Action.Helm.ResetValues\"]: \"True\" }, true);\n }\n }\n getChartSource() {\n return this.props.properties[\"Octopus.Action.Script.ScriptSource\"] ?? \"Package\";\n }\n hasAdditionalParamClash(isPropertySet: () => boolean, additionalParam: string, searchString?: RegExp): string | undefined {\n if (isPropertySet() && this.props.properties[\"Octopus.Action.Helm.AdditionalArgs\"]?.search(searchString || additionalParam) >= 0) {\n return additionalParam;\n }\n }\n render() {\n const localNames = (this.props.localNames || []).concat(this.packageVariableNames());\n const pkg = GetPrimaryPackageReferenceOfT(this.props.packages) || { Properties: {}, Name: undefined };\n const helmExepkg = GetHelmExePackageReference(this.props.packages)!;\n const yamlAutocompleteResults = codeEditorVariablesList(this.state.variableServerNames, localNames ?? []);\n const chartSource = this.getChartSource();\n const relatedTriggersDependencies = buildRelatedTriggerDependencies(this.props.inputDependencies);\n const duplicateAdditionalParams = memoize(() => [\n this.hasAdditionalParamClash(() => this.props.properties[\"Octopus.Action.Kubernetes.ResourceStatusCheck\"] === \"True\", \"--wait\", /(--wait)(?!-)/),\n this.hasAdditionalParamClash(() => this.props.properties[\"Octopus.Action.Kubernetes.WaitForJobs\"] === \"True\", \"--wait-for-jobs\"),\n this.hasAdditionalParamClash(() => !!this.props.properties[\"Octopus.Action.Helm.Timeout\"], \"--timeout\"),\n this.hasAdditionalParamClash(() => !!this.props.properties[\"Octopus.Action.Helm.ResetValues\"], \"--reset-values\"),\n this.hasAdditionalParamClash(() => true, \"--namespace\"),\n ].filter((s) => !!s), () => this.props.properties);\n return (
    \n \n \n Charts can be contained in a package or a Git repository.\n this.onChangeChartSource(val)} error={this.props.getFieldError(\"Octopus.Action.Script.ScriptSource\")}>\n \n \n \n \n {chartSource === \"Package\" && (<>\n {this.props.isStepFromProcessTemplate ? () : (Choose the package containing the chart you want to deploy}>\n this.props.setPackages(SetPrimaryPackageReference({ PackageId: packageId }, this.props.packages))} onFeedIdChange={(feedId) => this.props.setPackages(SetPrimaryPackageReference({ FeedId: feedId }, this.props.packages))} onPackageVersionChange={(version) => this.props.setPackages(SetPrimaryPackageReference({ Version: version }, this.props.packages))} packageIdError={this.props.getFieldError(\"Octopus.Action.Package.PackageId\")} feedIdError={this.props.getFieldError(\"Octopus.Action.Package.FeedId\")} projectId={this.props.projectId} feeds={this.props.feeds} localNames={this.props.localNames} feedType={[FeedType.Helm, FeedType.OciRegistry, FeedType.BuiltIn, FeedType.Maven, FeedType.ArtifactoryGeneric, FeedType.S3]} refreshFeeds={this.loadFeeds} parameters={this.props.parameters} packageSelectionMode={pkg.Properties[\"SelectionMode\"]!} packageSelectionModeError={this.props.getFieldError(\"SelectionMode\")} onPackageSelectionModeChange={(value) => this.props.setPackages(SetPrimaryPackageReference(getChangesToPackageReference(value), this.props.packages))} packageParameterName={pkg.Properties[\"PackageParameterName\"]!} packageParameterError={this.props.getFieldError(\"PackageParameterName\")} onPackageParameterChange={(packageParameter) => this.props.setPackages(SetPrimaryPackageReference({ Properties: { ...pkg.Properties, PackageParameterName: packageParameter } }, this.props.packages))} relatedTriggersDependencies={relatedTriggersDependencies} modelDirty={this.props.modelDirty} isProcessTemplateProcess={this.props.processType === ProcessType.Blueprint}/>\n )}\n )}\n {chartSource === \"GitRepository\" && ()}\n \n this.props.setProperties({ [\"Octopus.Action.Helm.ChartDirectory\"]: x })} label=\"Chart Directory\"/>\n \n \n this.props.setProperties({ [\"Octopus.Action.Helm.ReleaseName\"]: x })} label=\"Kubernetes Release Name\"/>\n \n Due to Helm limitations, the release name must be unique across a cluster as the name is shared across namespace boundaries.\n
    \n The Octopus variable syntax is supported, however the final release name must consist of only lower case alphanumeric and dash characters.\n
    \n
    \n \n this.props.setProperties({ [\"Octopus.Action.Helm.Namespace\"]: x })}/>\n \n By default the chart will be installed into the namespace from the Kubernetes deployment target. If set, this value will override the target namespace and be passed as the --namespace option to the Helm client.\n \n Setting this option only works for the initial installation of a Helm release. Subsequent deploys attempt to upgrade the release, and will fail if the namespace does not match.\n \n\n \n \n {this.props.useKOSForHelm && }\n \n Set the --timeout duration for this step\n }>\n this.props.setProperties({ [\"Octopus.Action.Helm.Timeout\"]: x })} label=\"Timeout\"/>\n By default Helm uses a default timeout of 300 seconds. When specifying the timeout, Helm expects a duration like 300s.\n \n \n this.props.setProperties({ [\"Octopus.Action.Helm.ResetValues\"]: x })} label={\n Enable --reset-values\n }/>\n \n \n Provide additional parameters that will be passed to the helm upgrade command.\n }>\n this.props.setProperties({ [\"Octopus.Action.Helm.AdditionalArgs\"]: val })}/>\n {duplicateAdditionalParams().length > 0 && (\n \n Some additional parameters are overwriting other fields. We recommend using the dedicated fields above to set \n {duplicateAdditionalParams().map((s, i) => {\n const length = duplicateAdditionalParams().length;\n let divider = null;\n if (length > 1 && i === duplicateAdditionalParams().length - 2) {\n divider = \", or \";\n }\n else if (i < length - 1) {\n divider = \", \";\n }\n return (<>\n {s}\n {divider}\n );\n })}\n .\n \n )}\n \n A complete list of the additional parameters which can be supplied can be found in the Helm upgrade documentation.\n \n \n \n Select the Helm client tool to invoke}>\n {\n this.setState({ customHelmExecutable: val as HelmLocation }, () => {\n if (val !== HelmLocation.Package) {\n this.props.setPackages(ClearHelmExePackage(this.props.packages));\n }\n if (val === HelmLocation.Default) {\n this.props.setProperties({ [\"Octopus.Action.Helm.CustomHelmExecutable\"]: null! });\n }\n });\n }}>\n \n Invoke helm command\n }/>\n \n The Helm client will be available on the worker as the helm command.\n \n \n The Helm client is available via a specific path.\n {this.state.customHelmExecutable === HelmLocation.Local && (
    \n this.props.setProperties({ [\"Octopus.Action.Helm.CustomHelmExecutable\"]: x })}/>\n The path to the Helm executable.\n
    )}\n \n \n Upload a custom Helm client to use during deployment. See our documentation for more information on client requirements.\n \n {this.state.customHelmExecutable === HelmLocation.Package && ( this.props.setPackages(SetHelmExePackage({ PackageId: packageId }, this.props.packages))} onFeedIdChange={(feedId) => this.props.setPackages(SetHelmExePackage({ FeedId: feedId }, this.props.packages))} onPackageVersionChange={(version) => this.props.setPackages(SetHelmExePackage({ Version: version }, this.props.packages))} projectId={this.props.projectId} feeds={this.props.feeds} localNames={this.props.localNames} feedType={[FeedType.Nuget, FeedType.BuiltIn, FeedType.ArtifactoryGeneric]} refreshFeeds={this.loadFeeds}/>)}\n {this.state.customHelmExecutable === HelmLocation.Package && (
    \n this.props.setProperties({ [\"Octopus.Action.Helm.CustomHelmExecutable\"]: x })}/>\n The path to the Helm executable. This can be a path relative to the package root.\n
    )}\n
    \n
    \n \n
    );\n }\n chartSourceSummary() {\n const chartSource = this.getChartSource();\n if (chartSource === \"Package\") {\n return Summary.summary(\"Chart inside a package\");\n }\n else if (chartSource === \"GitRepository\") {\n return Summary.summary(\"Chart inside a Git repository\");\n }\n return Summary.placeholder(\"Chart source not specified\");\n }\n onChangeChartSource(value: string) {\n this.props.setProperties({\n [\"Octopus.Action.Script.ScriptSource\"]: value,\n });\n if (value === \"Package\") {\n this.props.setPackages(InitialisePrimaryPackageReference(this.props.packages, this.props.feeds));\n }\n else {\n this.props.setPackages(RemovePrimaryPackageReference(this.props.packages));\n }\n if (value === \"GitRepository\") {\n if (isProjectRepositoryGitSourceSupported(this.props.project?.PersistenceSettings, this.props.processType)) {\n this.props.setProperties({ [\"Octopus.Action.GitRepository.Source\"]: \"Project\" });\n this.props.setGitDependencies?.(RemovePrimaryGitDependency(this.props.gitDependencies), false);\n }\n else {\n this.props.setProperties({ [\"Octopus.Action.GitRepository.Source\"]: \"External\" });\n this.props.setGitDependencies?.(InitialisePrimaryGitDependency(this.props.gitDependencies), false);\n }\n }\n else {\n this.props.setProperties({ [\"Octopus.Action.GitRepository.Source\"]: \"\" });\n this.props.setGitDependencies?.(RemovePrimaryGitDependency(this.props.gitDependencies), false);\n }\n }\n packageVariableNames = (): string[] => {\n return flatten(GetNamedPackageReferences(this.props.packages).map((pkg) => [\n `Octopus.Action.Package[${pkg.Name}].PackageId`,\n `Octopus.Action.Package[${pkg.Name}].FeedId`,\n `Octopus.Action.Package[${pkg.Name}].PackageVersion`,\n `Octopus.Action.Package[${pkg.Name}].Path`,\n ]));\n };\n summaryTimeout = () => {\n const timeout = this.props.properties[\"Octopus.Action.Helm.Timeout\"];\n if (timeout) {\n return Summary.summary({timeout} second(s));\n }\n else {\n return Summary.placeholder(\"No timeout override supplied\");\n }\n };\n summaryAdditionalArguments = () => {\n const additionalArgs = this.props.properties[\"Octopus.Action.Helm.AdditionalArgs\"];\n if (additionalArgs) {\n return Summary.summary({additionalArgs});\n }\n else {\n return Summary.placeholder(\"No additional parameters\");\n }\n };\n summaryCustomHelmExePackage = (pkg: PackagedHelmValuesReference) => {\n const helmPkg = GetHelmExePackageReference(this.props.packages);\n const helmPath = this.props.properties[\"Octopus.Action.Helm.CustomHelmExecutable\"];\n if (helmPkg) {\n return Summary.summary(\n Helm client available at {helmPath} will be invoked from inside package {helmPkg.PackageId}\n );\n }\n else if (helmPath) {\n return Summary.summary(\n Helm client available at {helmPath} will be invoked\n );\n }\n else {\n return Summary.default(\n Default Helm client available via helm path will be invoked\n );\n }\n };\n private releaseNameSummary = () => {\n const releaseName = this.props.properties[\"Octopus.Action.Helm.ReleaseName\"];\n if (this.props.properties[\"Octopus.Action.Helm.ReleaseName\"]) {\n return Summary.summary(\n The release name will be {releaseName}\n );\n }\n return Summary.default(\n The default release name is{\" \"}\n \n #{`{Octopus.Action.Name}`}-#{`{Octopus.Environment}`}\n \n );\n };\n private chartDirectorySummary = () => {\n if (this.props.properties[\"Octopus.Action.Helm.ChartDirectory\"]) {\n const chartDirectory = this.props.properties[\"Octopus.Action.Helm.ChartDirectory\"];\n return Summary.summary(\n The chart is located in {chartDirectory}\n );\n }\n return Summary.placeholder(\"No chart directory specified\");\n };\n private resetSummary = () => {\n if (this.props.properties[\"Octopus.Action.Helm.ResetValues\"] === \"True\") {\n return Summary.default(\n Previous deployment variables will be replaced\n );\n }\n return Summary.summary(\n Previous deployment variables will not be replaced if no new values are provided\n );\n };\n private namespaceSummary = () => {\n const namespace = this.props.properties[\"Octopus.Action.Helm.Namespace\"];\n if (!!namespace) {\n return Summary.summary(\n The chart will be installed into the namespace {namespace}\n );\n }\n return Summary.default(The chart will be installed into the namespace specified on the Kubernetes deployment target, or the default namespace if none is specified on the target.);\n };\n private loadFeeds = async () => {\n await this.props.refreshFeeds();\n };\n static displayName = \"HelmChartUpgradeActionEditInternal\";\n}\nfunction SetHelmExePackage(updated: Partial>, packages: Array>): Array> {\n const helmExePkg = {\n FeedId: null!,\n PackageId: null!,\n AcquisitionLocation: PackageAcquisitionLocation.ExecutionTarget,\n Properties: { PerformVariableReplace: \"False\", Extract: \"True\" } as unknown as PackagedHelmValuesProperties, // This cast doesn't look right - what should this actually be?\n ...GetHelmExePackageReference(packages),\n ...updated,\n Name: \"HelmExe\",\n } as PackageReference;\n const newPackages = packages.map((pkg) => {\n if (!IsHelmExePackageReference(pkg)) {\n return pkg;\n }\n return helmExePkg;\n });\n if (!newPackages.includes(GetHelmExePackageReference(newPackages)!)) {\n newPackages.push(helmExePkg);\n }\n return newPackages;\n}\nexport function HelmChartUpgradeActionEdit(props: React.PropsWithChildren) {\n const feeds = useFeedsFromContext();\n const refreshFeeds = useRefreshFeedsFromContext();\n const scriptActionContext = useScriptActionContext();\n const gitCredentials = useGitCredentialsFromContext();\n const refreshGitCredentials = useRefreshGitCredentialsFromContext();\n const projectContext = useOptionalProjectContext();\n const processContext = useOptionalProcessContext();\n const supportKOSForHelm = useKOSForHelm();\n return ();\n}\npluginRegistry.registerAction({\n executionLocation: ActionExecutionLocation.AlwaysOnServer,\n actionType: \"Octopus.HelmChartUpgrade\",\n summary: (properties, targetRolesAsCSV) => ,\n canHaveChildren: () => true,\n canBeChild: true,\n editSections: {\n top: (props: HelmChartUpgradeActionEditProps) => ,\n default: (props: HelmChartUpgradeActionEditProps) => <>,\n },\n targetRoleOption: () => TargetRoles.Required,\n hasPackages: () => true,\n features: {\n optional: [\"Octopus.Features.CustomScripts\"],\n },\n getInitialProperties: () => InitialStatusCheckProperties,\n targetDiscoveryCloudConnectionProviders: getKubernetesTargetDiscoveryCloudProviders,\n canUseExecutionTimeouts: isKOSForHelmEnabled,\n mixedExecutionLocations: kubernetesMixedExecutionLocationConfig,\n disableInlineExecutionContainers: true,\n docsLink: \"deployHelmChart\",\n});\n","import { Callout } from \"@octopusdeploy/design-system-components\";\nimport type { TransferProperties } from \"@octopusdeploy/legacy-action-properties\";\nimport { ActionExecutionLocation, FeedType, GetPrimaryPackageReference, InitialisePrimaryPackageReference, PackageSelectionMode, SetPrimaryPackageReference } from \"@octopusdeploy/octopus-server-client\";\nimport { links } from \"@octopusdeploy/portal-routes\";\nimport * as React from \"react\";\nimport { ProcessFeedLookup, useFeedsFromContext, useRefreshFeedsFromContext } from \"~/areas/projects/components/Process/Contexts/ProcessFeedsContextProvider\";\nimport { TargetRoles } from \"~/areas/projects/components/Process/types\";\nimport { repository } from \"~/clientInstance\";\nimport { BaseComponent } from \"~/components/BaseComponent/BaseComponent\";\nimport InternalLink from \"~/components/Navigation/InternalLink/InternalLink\";\nimport PackageDownloadOptions from \"~/components/PackageDownloadOptions/PackageDownloadOptions\";\nimport DeferredPackageSelector from \"~/components/PackageSelector/DeferredPackageSelector\";\nimport ExpandableFormSection from \"~/components/form/Sections/ExpandableFormSection\";\nimport ExpanderSectionHeading from \"~/components/form/Sections/FormSectionHeading\";\nimport Summary from \"~/components/form/Sections/Summary\";\nimport { VariableLookupText } from \"~/components/form/VariableLookupText\";\nimport Note from \"~/primitiveComponents/form/Note/Note\";\nimport CommonSummaryHelper from \"~/utils/CommonSummaryHelper/CommonSummaryHelper\";\nimport { DisplayFeedName } from \"../DisplayFeedName\";\nimport Roles from \"../Roles\";\nimport type { ActionSummaryProps } from \"../actionSummaryProps\";\nimport type { ActionWithFeeds } from \"../commonActionHelpers\";\nimport { getChangesToPackageReference } from \"../getChangesToPackageReference\";\nimport type { ActionEditProps } from \"../pluginRegistry\";\nimport pluginRegistry from \"../pluginRegistry\";\ninterface TransferPackageActionSummaryState {\n feedName: string;\n}\nclass AzureCloudServiceActionSummary extends BaseComponent {\n constructor(props: ActionSummaryProps) {\n super(props);\n }\n render() {\n const pkg = GetPrimaryPackageReference(this.props.packages);\n return pkg ? (
    \n {\"Transfer package\"} {pkg.PackageId} {\"from\"} \n {this.props.targetRolesAsCSV && (\n {\" \"}\n to deployment targets with {\" \"}\n )}\n
    ) : (\n Package was not selected or cannot be found. Please review this step and ensure a valid package is selected.\n );\n }\n static displayName = \"AzureCloudServiceActionSummary\";\n}\ntype TransferPackageActionEditState = {};\ntype TransferPackageActionEditProps = ActionEditProps;\ntype TransferPackageActionEditInternalProps = TransferPackageActionEditProps & ActionWithFeeds;\nclass TransferPackageActionEditInternal extends BaseComponent {\n constructor(props: TransferPackageActionEditInternalProps) {\n super(props);\n this.state = {};\n }\n async componentDidMount() {\n this.props.setPackages(InitialisePrimaryPackageReference(this.props.packages, this.props.feeds), true);\n }\n transferPathSummary() {\n const transferPath = this.props.properties[\"Octopus.Action.Package.TransferPath\"];\n if (!transferPath) {\n return Summary.placeholder(\"The transfer path has not been configured\");\n }\n return Summary.summary(\n The package will be moved to {transferPath} once it is transfered\n );\n }\n render() {\n // The package is initialized in componentDidMount, but render gets called before the update is propagated\n if (!this.props.packages || this.props.packages.length === 0) {\n return null;\n }\n const pkg = GetPrimaryPackageReference(this.props.packages);\n const help = this.props.feeds.length > 0 ? (\n This step is used to push the contents of a package to one or more machines which may be sourced from an external feed or the Octopus built-in feed. You can configure the remote machines to deploy to in{\" \"}\n {/*eslint-disable-next-line @typescript-eslint/no-non-null-assertion*/}\n \n Infrastructure\n \n .\n ) : (Choose the package you which to transfer);\n return (
    \n \n \n this.props.setPackages(SetPrimaryPackageReference({ PackageId: packageId }, this.props.packages))} onFeedIdChange={(feedId) => this.props.setPackages(SetPrimaryPackageReference({ FeedId: feedId }, this.props.packages))} onPackageVersionChange={(version) => this.props.setPackages(SetPrimaryPackageReference({ Version: version }, this.props.packages))} packageIdError={this.props.getFieldError(\"Octopus.Action.Package.PackageId\")} feedIdError={this.props.getFieldError(\"Octopus.Action.Package.FeedId\")} projectId={this.props.projectId} feeds={this.props.feeds} localNames={this.props.localNames} feedType={[FeedType.Nuget, FeedType.BuiltIn, FeedType.Maven, FeedType.GitHub, FeedType.S3, FeedType.ArtifactoryGeneric]} refreshFeeds={this.loadFeeds} parameters={this.props.parameters} packageSelectionMode={pkg.Properties[\"SelectionMode\"]} packageSelectionModeError={this.props.getFieldError(\"SelectionMode\")} onPackageSelectionModeChange={(value) => this.props.setPackages(SetPrimaryPackageReference(getChangesToPackageReference(value), this.props.packages))} packageParameterName={pkg.Properties[\"PackageParameterName\"]} packageParameterError={this.props.getFieldError(\"PackageParameterName\")} onPackageParameterChange={(packageParameter) => this.props.setPackages(SetPrimaryPackageReference({ Properties: { ...pkg.Properties, PackageParameterName: packageParameter } }, this.props.packages))}/>\n {pkg.Properties[\"SelectionMode\"] === PackageSelectionMode.Immediate && (\n {(feed) => ( this.props.setPackages(SetPrimaryPackageReference({ AcquisitionLocation: acquisitionLocation }, this.props.packages))} feed={feed} projectId={this.props.projectId} localNames={this.props.localNames}/>)}\n )}\n \n \n this.props.setProperties({ [\"Octopus.Action.Package.TransferPath\"]: x })} error={this.props.getFieldError(\"Octopus.Action.Package.TransferPath\")} label=\"Transfer path\"/>\n The location that the package should be moved to once it is uploaded to the remote target.\n \n
    );\n }\n private loadFeeds = async () => {\n await this.props.refreshFeeds();\n };\n static displayName = \"TransferPackageActionEditInternal\";\n}\nfunction TransferPackageActionEdit(props: React.PropsWithChildren) {\n const feeds = useFeedsFromContext();\n const refreshFeeds = useRefreshFeedsFromContext();\n return ;\n}\npluginRegistry.registerAction({\n executionLocation: ActionExecutionLocation.AlwaysOnTarget,\n actionType: \"Octopus.TransferPackage\",\n summary: (properties, targetRolesAsCSV, packages) => ,\n editSections: { default: TransferPackageActionEdit },\n canHaveChildren: (step) => true,\n canBeChild: true,\n targetRoleOption: (action) => TargetRoles.Optional,\n hasPackages: (action) => true,\n docsLink: \"transferPackage\",\n});\n","/* eslint-disable @typescript-eslint/no-non-null-assertion */\nimport type { DeployToWildflyProperties } from \"@octopusdeploy/legacy-action-properties\";\nimport { ActionExecutionLocation, FeedType, GetPrimaryPackageReference, InitialisePrimaryPackageReference, PackageSelectionMode, SetPrimaryPackageReference } from \"@octopusdeploy/octopus-server-client\";\nimport { links } from \"@octopusdeploy/portal-routes\";\nimport * as React from \"react\";\nimport { ProcessFeedLookup, useFeedsFromContext, useRefreshFeedsFromContext } from \"~/areas/projects/components/Process/Contexts/ProcessFeedsContextProvider\";\nimport { TargetRoles } from \"~/areas/projects/components/Process/types\";\nimport { repository } from \"~/clientInstance\";\nimport { BaseComponent } from \"~/components/BaseComponent/BaseComponent\";\nimport InternalLink from \"~/components/Navigation/InternalLink/InternalLink\";\nimport PackageDownloadOptions from \"~/components/PackageDownloadOptions/PackageDownloadOptions\";\nimport DeferredPackageSelector from \"~/components/PackageSelector/DeferredPackageSelector\";\nimport ExpandableFormSection from \"~/components/form/Sections/ExpandableFormSection\";\nimport ExpanderSectionHeading from \"~/components/form/Sections/FormSectionHeading\";\nimport CommonSummaryHelper from \"~/utils/CommonSummaryHelper/CommonSummaryHelper\";\nimport { DataBaseComponent } from \"../../DataBaseComponent\";\nimport type { ActionSummaryProps } from \"../actionSummaryProps\";\nimport type { ActionWithFeeds } from \"../commonActionHelpers\";\nimport { getChangesToPackageReference } from \"../getChangesToPackageReference\";\nimport type { ActionEditProps } from \"../pluginRegistry\";\nimport pluginRegistry from \"../pluginRegistry\";\nclass DeployToWildflyActionSummary extends BaseComponent {\n constructor(props: ActionSummaryProps) {\n super(props);\n }\n render() {\n return
    Deploy a Java application to Wildfly 10+ and Red Hat JBoss EAP 6+
    ;\n }\n static displayName = \"DeployToWildflyActionSummary\";\n}\ntype DeployToWildflyActionEditState = {};\ntype DeployToWildflyActionEditProps = ActionEditProps;\ntype DeployToWildflyActionEditInternalProps = DeployToWildflyActionEditProps & ActionWithFeeds;\nclass DeployToWildflyActionEditInternal extends DataBaseComponent {\n constructor(props: DeployToWildflyActionEditInternalProps) {\n super(props);\n this.state = {};\n }\n async componentDidMount() {\n this.props.setPackages(InitialisePrimaryPackageReference(this.props.packages, this.props.feeds), true);\n }\n render() {\n // The package is initialized in componentDidMount, but render gets called before the update is propagated\n if (!this.props.packages || this.props.packages.length === 0) {\n return null;\n }\n const pkg = GetPrimaryPackageReference(this.props.packages);\n const help = this.props.feeds.length > 0 ? (\n This step is used to deploy a package to one or more machines which may be sourced from an external feed or the Octopus built-in feed. You can configure the remote machines to deploy to in{\" \"}\n \n Infrastructure\n \n .\n ) : (Choose the package you wish to deploy.);\n return (
    \n \n \n this.props.setPackages(SetPrimaryPackageReference({ PackageId: packageId }, this.props.packages))} onFeedIdChange={(feedId) => this.props.setPackages(SetPrimaryPackageReference({ FeedId: feedId }, this.props.packages))} onPackageVersionChange={(version) => this.props.setPackages(SetPrimaryPackageReference({ Version: version }, this.props.packages))} packageIdError={this.props.getFieldError(\"Octopus.Action.Package.PackageId\")} feedIdError={this.props.getFieldError(\"Octopus.Action.Package.FeedId\")} projectId={this.props.projectId!} feeds={this.props.feeds} localNames={this.props.localNames!} feedType={[FeedType.Nuget, FeedType.BuiltIn, FeedType.Maven, FeedType.ArtifactoryGeneric]} refreshFeeds={this.loadFeeds} parameters={this.props.parameters!} packageSelectionMode={pkg.Properties[\"SelectionMode\"]} packageSelectionModeError={this.props.getFieldError(\"SelectionMode\")} onPackageSelectionModeChange={(value) => this.props.setPackages(SetPrimaryPackageReference(getChangesToPackageReference(value), this.props.packages))} packageParameterName={pkg.Properties[\"PackageParameterName\"]} packageParameterError={this.props.getFieldError(\"PackageParameterName\")} onPackageParameterChange={(packageParameter) => this.props.setPackages(SetPrimaryPackageReference({ Properties: { ...pkg.Properties, PackageParameterName: packageParameter } }, this.props.packages))}/>\n {pkg.Properties[\"SelectionMode\"] === PackageSelectionMode.Immediate && (\n {(feed) => ( this.props.setPackages(SetPrimaryPackageReference({ AcquisitionLocation: acquisitionLocation }, this.props.packages))} feed={feed!} projectId={this.props.projectId!} localNames={this.props.localNames!}/>)}\n )}\n \n
    );\n }\n private loadFeeds = async () => {\n await this.loadFeeds();\n };\n static displayName = \"DeployToWildflyActionEditInternal\";\n}\nexport function DeployToWildflyActionEdit(props: React.PropsWithChildren) {\n const feeds = useFeedsFromContext();\n const refreshFeeds = useRefreshFeedsFromContext();\n return ;\n}\npluginRegistry.registerAction({\n executionLocation: ActionExecutionLocation.AlwaysOnTarget,\n actionType: \"Octopus.WildFlyDeploy\",\n summary: (properties, targetRolesAsCSV, packages) => ,\n editSections: { default: DeployToWildflyActionEdit },\n canHaveChildren: (step) => true,\n canBeChild: true,\n targetRoleOption: (action) => TargetRoles.Optional,\n hasPackages: (action) => true,\n features: {\n optional: [\"Octopus.Features.CustomScripts\", \"Octopus.Features.JsonConfigurationVariables\", \"Octopus.Features.SubstituteInFiles\"],\n permanent: [\"Octopus.Features.WildflyDeployCLI\"],\n },\n docsLink: \"deployToWildFlyJBossEAP\",\n});\n","import type { WildflyProperties } from \"@octopusdeploy/legacy-action-properties\";\nimport type { ActionProperties } from \"@octopusdeploy/octopus-server-client\";\nimport * as React from \"react\";\nimport type { ActionEditProps } from \"~/components/Actions/pluginRegistry\";\nimport { BaseComponent } from \"~/components/BaseComponent/BaseComponent\";\nimport { ExpandableFormSection } from \"~/components/form\";\nimport { default as Summary } from \"~/components/form/Sections/Summary\";\nimport { BoundSensitive } from \"~/components/form/Sensitive/Sensitive\";\nimport { VariableLookupText } from \"~/components/form/VariableLookupText\";\nimport Note from \"~/primitiveComponents/form/Note/Note\";\ninterface WildflyConnectionActionEditProps extends ActionEditProps {\n applicationServerHostnameNote: JSX.Element;\n actionDescription: JSX.Element;\n}\n/**\n * A component that displays the connection details for a Wildfly server\n */\nexport default abstract class WildflyConnectionDetailsComponent extends BaseComponent, never> {\n async componentDidMount() {\n await this.props.doBusyTask(async () => {\n if (!this.props.properties[\"WildFly.Deploy.Controller\"]) {\n this.props.properties[\"WildFly.Deploy.Controller\"] = \"localhost\";\n }\n if (!this.props.properties[\"WildFly.Deploy.Port\"]) {\n this.props.properties[\"WildFly.Deploy.Port\"] = \"9990\";\n }\n if (!this.props.properties[\"WildFly.Deploy.Protocol\"]) {\n this.props.properties[\"WildFly.Deploy.Protocol\"] = \"remote+http\";\n }\n if (this.props.properties[\"WildFly.Deploy.ServerType\"] !== \"Standalone\" && this.props.properties[\"WildFly.Deploy.ServerType\"] !== \"Domain\") {\n this.props.properties[\"WildFly.Deploy.ServerType\"] = \"Standalone\";\n }\n });\n }\n render() {\n const properties = this.props.properties;\n const applicationServerErrorKey = \"WildFly.Deploy.Controller|\" + \"WildFly.Deploy.Port|\" + \"WildFly.Deploy.Protocol|\" + \"WildFly.Deploy.User|\" + \"WildFly.Deploy.Password\";\n return (
    \n \n this.props.setProperties({ [\"WildFly.Deploy.Controller\"]: x })} label=\"Management host or IP\" error={this.props.getFieldError(\"WildFly.Deploy.Controller\")}/>\n \n {this.props.applicationServerHostnameNote} This value is relative to the host that is executing the step. So if the Tentacle is on the same host as WildFly/Red Hat JBoss EAP, then this value may be something like{\" \"}\n localhost.\n \n this.props.setProperties({ [\"WildFly.Deploy.Port\"]: x })} label=\"Management port\" error={this.props.getFieldError(\"WildFly.Deploy.Port\")}/>\n \n This is the management port that the application server is listening to. For WildFly 10+ and Red Hat JBoss EAP 7+, the default is 9990. For Red Hat JBoss EAP 6, the default is 9999.\n \n this.props.setProperties({ [\"WildFly.Deploy.Protocol\"]: x })} label=\"Management protocol\" error={this.props.getFieldError(\"WildFly.Deploy.Protocol\")}/>\n \n This is the management protocol that the application server is listening to. For WildFly 10+ and Red Hat JBoss EAP 7+, the default is remote+http, or remote+https if the management port is configured to use\n HTTPS. For Red Hat JBoss EAP 6, the default is remoting.\n \n this.props.setProperties({ [\"WildFly.Deploy.User\"]: x })} label=\"Management user\"/>\n \n The username to use with the management interface. This is typically configured via the\n add-user script. By default WildFly does not require credentials for local connections (i.e. if the Management Host or IP is localhost or 127.0.0.1).\n \n this.props.setProperties({ [\"WildFly.Deploy.Password\"]: x })} label=\"Management password\"/>\n \n The password to use with the management interface. This is typically configured via the\n add-user script. By default WildFly does not require credentials for local connections (i.e. if the Management Host or IP is localhost or 127.0.0.1).\n \n \n
    );\n }\n private wildflySummary() {\n const properties = this.props.properties;\n if (properties[\"WildFly.Deploy.Controller\"]) {\n return Summary.summary(\n {this.props.actionDescription} an application via the management interface listening on\n {properties[\"WildFly.Deploy.Protocol\"] &&  {properties[\"WildFly.Deploy.Protocol\"] + `://`}}\n {properties[\"WildFly.Deploy.Controller\"]}\n {properties[\"WildFly.Deploy.Port\"] && :{properties[\"WildFly.Deploy.Port\"]}}\n {properties[\"WildFly.Deploy.User\"] && (\n  with user {properties[\"WildFly.Deploy.User\"]}\n )}\n );\n }\n return Summary.placeholder(Specify the management hostname, port, protocol and credentials);\n }\n static displayName = \"WildflyConnectionDetailsComponent\";\n}\n","import type { WildflyStateProperties } from \"@octopusdeploy/legacy-action-properties\";\nimport { AllWildflyStateProperties } from \"@octopusdeploy/legacy-action-properties\";\nimport type { ActionProperties } from \"@octopusdeploy/octopus-server-client\";\nimport * as React from \"react\";\nimport type { ActionEditProps } from \"~/components/Actions/pluginRegistry\";\nimport { BaseComponent } from \"~/components/BaseComponent/BaseComponent\";\nimport { ExpandableFormSection, Summary } from \"~/components/form\";\nimport { VariableLookupText } from \"~/components/form/VariableLookupText\";\nimport { BoundStringCheckbox } from \"~/primitiveComponents/form/Checkbox/StringCheckbox\";\nimport Note from \"~/primitiveComponents/form/Note/Note\";\nimport { BoundSelect } from \"~/primitiveComponents/form/Select/Select\";\nimport { ValueInPropertiesOrErrorsHasChanged } from \"~/utils/ShouldUpdate/ValueInPropertiesHasChanged\";\nimport WildflyConnectionDetailsComponent from \"./wildflyConnectionDetailsComponent\";\ninterface WildflyActionEditProps extends ActionEditProps {\n actionDescription: string;\n domainDefaultMessage: string;\n applicationNameNote: JSX.Element;\n applicationStateNote: JSX.Element;\n applicationServerHostnameNote: JSX.Element;\n}\n/**\n * A component that provide the connection details and application details\n * for a application deployment or state change.\n */\nexport default class WildflyFeatureTemplate extends BaseComponent, never> {\n shouldComponentUpdate(newProps: WildflyActionEditProps): boolean {\n return ValueInPropertiesOrErrorsHasChanged(AllWildflyStateProperties, newProps, this.props);\n }\n async componentDidMount() {\n await this.props.doBusyTask(async () => {\n const properties: ActionProperties = {};\n if (!this.props.properties[\"WildFly.Deploy.Controller\"]) {\n properties[\"WildFly.Deploy.Controller\"] = \"localhost\";\n }\n if (!this.props.properties[\"WildFly.Deploy.Port\"]) {\n properties[\"WildFly.Deploy.Port\"] = \"9990\";\n }\n if (!this.props.properties[\"WildFly.Deploy.Protocol\"]) {\n properties[\"WildFly.Deploy.Protocol\"] = \"remote+http\";\n }\n if (this.props.properties[\"WildFly.Deploy.ServerType\"] !== \"Standalone\" && this.props.properties[\"WildFly.Deploy.ServerType\"] !== \"Domain\") {\n properties[\"WildFly.Deploy.ServerType\"] = \"Standalone\";\n }\n if (!this.props.properties[\"WildFly.Deploy.Enabled\"]) {\n properties[\"WildFly.Deploy.Enabled\"] = \"True\";\n }\n this.props.setProperties(properties, true);\n });\n }\n render() {\n const properties = this.props.properties;\n const applicationErrorKey = \"WildFly.Deploy.Name|\" + \"WildFly.Deploy.ServerType|\" + \"WildFly.Deploy.Enabled|\" + \"WildFly.Deploy.EnabledServerGroup|\" + \"WildFly.Deploy.DisabledServerGroup\";\n return (
    \n {this.props.actionDescription} an application via the management interface listening on} errors={this.props.errors} expandedByDefault={this.props.expandedByDefault}/>\n \n this.props.setProperties({ [\"WildFly.Deploy.Name\"]: x })} label=\"Deployment name\" error={this.props.getFieldError(\"WildFly.Deploy.Name\")}/>\n {this.props.applicationNameNote}\n this.props.setProperties({ [\"WildFly.Deploy.ServerType\"]: x })}/>\n Select the kind of server you are deploying to.\n {properties[\"WildFly.Deploy.ServerType\"] === \"Standalone\" && (
    \n this.props.setProperties({ [\"WildFly.Deploy.Enabled\"]: x })} label=\"Enable the deployment\"/>\n {this.props.applicationStateNote}\n
    )}\n {properties[\"WildFly.Deploy.ServerType\"] === \"Domain\" && (
    \n this.props.setProperties({ [\"WildFly.Deploy.EnabledServerGroup\"]: x })} label=\"Enabled server groups\"/>\n \n A comma separated list that defines the domain server groups where the deployment will be assigned and enabled. This value is ignored when deploying to a standalone instance. Set the{\" \"}\n Standalone or Domain Server option to Standalone to see the Enable/Disable the Deployment option to control the state of the application when deployed to a standalone server.\n \n this.props.setProperties({ [\"WildFly.Deploy.DisabledServerGroup\"]: x })} label=\"Disabled server groups\"/>\n \n A comma separated list that defines the domain server groups where the deployment will be assigned and disabled. This value is ignored when deploying to a standalone instance. Set the{\" \"}\n Standalone or Domain Server option to Standalone to see the Enable/Disable the Deployment option to control the state of the application when deployed to a standalone server.\n \n
    )}\n
    \n
    );\n }\n private applicationSummary() {\n const properties = this.props.properties;\n if (properties[\"WildFly.Deploy.ServerType\"] === \"Standalone\") {\n return Summary.summary(\n {properties[\"WildFly.Deploy.Enabled\"] === \"True\" ? \"Enabling \" : \"Disabling \"}\n the application{properties[\"WildFly.Deploy.Name\"] &&  {properties[\"WildFly.Deploy.Name\"]}}\n  in a standalone server.\n );\n }\n else {\n if (properties[\"WildFly.Deploy.EnabledServerGroup\"] || properties[\"WildFly.Deploy.DisabledServerGroup\"]) {\n return Summary.summary(\n The application\n {properties[\"WildFly.Deploy.Name\"] &&  {properties[\"WildFly.Deploy.Name\"]}}\n {properties[\"WildFly.Deploy.EnabledServerGroup\"] && (\n  will be enabled in server group\n {properties[\"WildFly.Deploy.EnabledServerGroup\"].indexOf(\",\") !== -1 && s}\n  {properties[\"WildFly.Deploy.EnabledServerGroup\"]}\n )}\n {properties[\"WildFly.Deploy.EnabledServerGroup\"] && properties[\"WildFly.Deploy.DisabledServerGroup\"] &&  and}\n {properties[\"WildFly.Deploy.DisabledServerGroup\"] && (\n  will be disabled in server group\n {properties[\"WildFly.Deploy.DisabledServerGroup\"].indexOf(\",\") !== -1 && s}\n  {properties[\"WildFly.Deploy.DisabledServerGroup\"]}\n )}\n .\n );\n }\n else {\n return Summary.placeholder({this.props.domainDefaultMessage});\n }\n }\n }\n static displayName = \"WildflyFeatureTemplate\";\n}\n","import type { WildflyStateProperties } from \"@octopusdeploy/legacy-action-properties\";\nimport { ActionExecutionLocation } from \"@octopusdeploy/octopus-server-client\";\nimport * as React from \"react\";\nimport { TargetRoles } from \"~/areas/projects/components/Process/types\";\nimport { BaseComponent } from \"~/components/BaseComponent/BaseComponent\";\nimport type { ActionSummaryProps } from \"../actionSummaryProps\";\nimport type { ActionEditProps } from \"../pluginRegistry\";\nimport pluginRegistry from \"../pluginRegistry\";\nimport WildflyFeatureTemplate from \"./wildflyFeatureTemplate\";\nclass ChangeStateInWildflyActionSummary extends BaseComponent {\n constructor(props: ActionSummaryProps) {\n super(props);\n }\n render() {\n return
    Enable or disable an application in WildFly 10+ or Red Hat JBoss EAP 6+
    ;\n }\n static displayName = \"ChangeStateInWildflyActionSummary\";\n}\nexport class ChangeStateInWildflyActionEdit extends BaseComponent, {}> {\n render() {\n return (This is the name of the deployment to enable or disable.} applicationStateNote={\n This option allows you to enable or disable an application deployed to a standalone server. This value has no effect when deploying to domain servers. Set the Standalone or Domain Server option to Domain to\n see the Enabled Server Groups and Disabled Server Groups options, which allow you to configure the state of the application during a deployment to a domain.\n } applicationServerHostnameNote={This is the hostname or IP address of the application server hosting the application to be enabled or disabled.} expandedByDefault={this.props.expandedByDefault}/>);\n }\n static displayName = \"ChangeStateInWildflyActionEdit\";\n}\npluginRegistry.registerAction({\n executionLocation: ActionExecutionLocation.AlwaysOnTarget,\n actionType: \"Octopus.WildFlyState\",\n summary: (properties, targetRolesAsCSV) => ,\n editSections: { default: ChangeStateInWildflyActionEdit },\n canHaveChildren: (step) => true,\n canBeChild: true,\n targetRoleOption: (action) => TargetRoles.Optional,\n hasPackages: (action) => true,\n docsLink: \"enableDisableWildFlyEAP\",\n});\n","import type { WildflyStateProperties } from \"@octopusdeploy/legacy-action-properties\";\nimport * as React from \"react\";\nimport type { ActionEditProps } from \"~/components/Actions/pluginRegistry\";\nimport pluginRegistry from \"~/components/Actions/pluginRegistry\";\nimport WildflyFeatureTemplate from \"~/components/Actions/wildfly/wildflyFeatureTemplate\";\nimport { BaseComponent } from \"~/components/BaseComponent/BaseComponent\";\nclass DeplotToWildflyFeature extends BaseComponent, never> {\n render() {\n return (\n This optional field can be used to override the name of the deployed artifact. For example, setting this field to myapp.war will result in the deployment having that name in WildFly regardless of the name of the\n package that was selected above.\n } applicationStateNote={\n This option allows you to deploy the application in either an enabled or disabled state to a standalone server. This value has no effect when deploying to domain servers. Set the Standalone or Domain Server option\n to \n Domain to see the Enabled Server Groups and Disabled Server Groups options, which allow you to configure the state of the application during a deployment to a domain.\n } applicationServerHostnameNote={This is the hostname or IP address of the application server that the package will be uploaded to.} expandedByDefault={this.props.expandedByDefault}/>);\n }\n static displayName = \"DeplotToWildflyFeature\";\n}\npluginRegistry.registerFeature({\n featureName: \"Octopus.Features.WildflyDeployCLI\",\n title: \"Wildfly deployment feature\",\n description: \"Deploys packages to Wildfly via the manager API\",\n edit: DeplotToWildflyFeature,\n priority: 1,\n});\n","/* eslint-disable @typescript-eslint/no-non-null-assertion */\nimport type { JavaKeystoreProperties } from \"@octopusdeploy/legacy-action-properties\";\nimport type { ActionProperties, ProjectResource } from \"@octopusdeploy/octopus-server-client\";\nimport * as React from \"react\";\nimport { repository } from \"~/clientInstance\";\nimport type { ActionEditProps } from \"~/components/Actions/pluginRegistry\";\nimport { BaseComponent } from \"~/components/BaseComponent/BaseComponent\";\nimport ExternalLink from \"~/components/Navigation/ExternalLink\";\nimport ProjectCertificateVariableSelect from \"~/components/form/CertificateSelect/ProjectCertificateVariableSelect\";\nimport { BoundSensitive } from \"~/components/form/Sensitive/Sensitive\";\nimport { VariableLookupText } from \"~/components/form/VariableLookupText\";\nimport Note from \"~/primitiveComponents/form/Note/Note\";\nexport interface JavaKeystoreActionEditProps extends ActionEditProps {\n keystoreFilenameMessage: JSX.Element;\n}\nexport interface JavaKeystoreActionEditState {\n project: ProjectResource;\n}\nexport default class JavaKeystoreComponent extends BaseComponent, JavaKeystoreActionEditState> {\n constructor(props: JavaKeystoreActionEditProps) {\n super(props);\n this.state = {\n project: null!,\n };\n }\n async componentDidMount() {\n await this.props.doBusyTask(async () => {\n const project = await repository.Projects.get(this.props.projectId!);\n this.setState({\n project,\n });\n });\n }\n render() {\n const properties = this.props.properties;\n return (
    \n {this.props.projectId ? ( this.props.setProperties({ [\"Java.Certificate.Variable\"]: val })} allowClear={true} error={this.props.getFieldError(\"Java.Certificate.Variable\")}/>) : ( this.props.setProperties({ [\"Java.Certificate.Variable\"]: val })} error={this.props.getFieldError(\"Java.Certificate.Variable\")}/>)}\n \n A project variable that refers to a certificate.{\" \"}\n \n Learn more.\n \n \n this.props.setProperties({ [\"Java.Certificate.KeystoreFilename\"]: x })} label=\"Keystore filename\" error={this.props.getFieldError(\"Java.Certificate.KeystoreFilename\")}/>\n {this.props.keystoreFilenameMessage}\n this.props.setProperties({ [\"Java.Certificate.Password\"]: x })} label=\"Private key password\"/>\n \n You can set an optional password which will be assigned to the private key. If this field is left blank, the default password of changeit will be used.\n \n this.props.setProperties({ [\"Java.Certificate.KeystoreAlias\"]: x })} label=\"Keystore alias\"/>\n \n The optional alias to assign the private key to. If left blank, the default alias of Octopus will be used\n \n
    );\n }\n static displayName = \"JavaKeystoreComponent\";\n}\n","import type { WildflyCertificateProperties } from \"@octopusdeploy/legacy-action-properties\";\nimport * as React from \"react\";\nimport type { ActionEditProps } from \"~/components/Actions/pluginRegistry\";\nimport { BaseComponent } from \"~/components/BaseComponent/BaseComponent\";\nimport { BoundSensitive } from \"~/components/form/Sensitive/Sensitive\";\nimport { VariableLookupText } from \"~/components/form/VariableLookupText\";\nimport Note from \"~/primitiveComponents/form/Note/Note\";\nimport { BoundSelect } from \"~/primitiveComponents/form/Select/Select\";\n/**\n * A component that displays the details of a keystore to reference\n */\nexport default abstract class WildflyRelativeLocationComponent extends BaseComponent, never> {\n render() {\n const properties = this.props.properties;\n return (
    \n this.props.setProperties({ [\"Java.Certificate.KeystoreFilename\"]: x })} label=\"Keystore Filename\" error={this.props.getFieldError(\"Java.Certificate.KeystoreFilename\")}/>\n \n The path to the existing keystore file. This can be an absolute file path, or can be relative to one of the standard base paths defined by the application server, which can be selected in the Relative base path list.\n \n this.props.setProperties({ [\"WildFly.Deploy.CertificateRelativeTo\"]: x })}/>\n \n This defines the relative path that the keystore file will be resolved from. Select No relative path base if the keystore filename is an absolute path.\n \n this.props.setProperties({ [\"Java.Certificate.Password\"]: x })} label=\"Private Key Password\"/>\n \n You can set an optional password which will be assigned to the private key. If this field is left blank, the default password of changeit will be used.\n \n this.props.setProperties({ [\"Java.Certificate.KeystoreAlias\"]: x })} label=\"Keystore Alias\"/>\n \n The optional alias to assign the private key to. If left blank, the default alias of Octopus will be used\n \n
    );\n }\n private getBasePaths() {\n const commonItems = [\n { text: \"none: Keystore Filename is an absolute path\", value: \"NONE\" },\n { text: \"jboss.home.dir: Root directory of the application server distribution\", value: \"jboss.home.dir\" },\n { text: \"user.home: Application server user's home directory\", value: \"user.home\" },\n { text: \"user.dir: Application server user's current working directory\", value: \"user.dir\" },\n { text: \"java.home: Java installation directory\", value: \"java.home\" },\n ];\n if (this.props.properties[\"WildFly.Deploy.ServerType\"] === \"Domain\") {\n commonItems.push({ text: \"jboss.domain.base.dir: Base directory for domain content.\", value: \"jboss.domain.base.dir\" }, { text: \"jboss.domain.config.dir: Directory that contains the domain configuration.\", value: \"jboss.domain.config.dir\" }, { text: \"jboss.domain.data.dir: Directory that the domain will use for persistent data file storage.\", value: \"jboss.domain.data.dir\" }, { text: \"jboss.domain.log.dir: Directory that the domain will use for persistent log file storage.\", value: \"jboss.domain.log.dir\" }, { text: \"jboss.domain.temp.dir: Directory that the domain will use for temporary file storage.\", value: \"jboss.domain.temp.dir\" }, { text: \"jboss.domain.deployment.dir: Directory that the domain will use for storing deployed content.\", value: \"jboss.domain.deployment.dir\" }, {\n text: \"jboss.domain.servers.dir: Directory that the domain will use for storing outputs of the managed domain instances.\",\n value: \"jboss.domain.servers.dir\",\n });\n }\n else {\n commonItems.push({ text: \"jboss.server.base.dir: Root directory for an individual server instance\", value: \"jboss.server.base.dir\" }, { text: \"jboss.server.config.dir: Directory the server will use for configuration file storage\", value: \"jboss.server.config.dir\" }, { text: \"jboss.server.data.dir: Directory the server will use for persistent data file storage\", value: \"jboss.server.data.dir\" }, { text: \"jboss.server.log.dir: Directory the server will use for log file storage\", value: \"jboss.server.log.dir\" }, { text: \"jboss.server.temp.dir: Directory the server will use for temporary file storage\", value: \"jboss.server.temp.dir\" }, { text: \"jboss.controller.temp.dir: Directory the server will use for temporary file storage\", value: \"jboss.controller.temp.dir\" });\n }\n return commonItems;\n }\n static displayName = \"WildflyRelativeLocationComponent\";\n}\n","/* eslint-disable @typescript-eslint/no-non-null-assertion */\n/* eslint-disable @octopusdeploy/custom-portal-rules/no-restricted-imports */\nimport { RadioButtonGroup, RadioButton } from \"@octopusdeploy/design-system-components\";\nimport type { WildflyCertificateProperties } from \"@octopusdeploy/legacy-action-properties\";\nimport type { ProjectResource } from \"@octopusdeploy/octopus-server-client\";\nimport { ActionExecutionLocation } from \"@octopusdeploy/octopus-server-client\";\nimport * as React from \"react\";\nimport { TargetRoles } from \"~/areas/projects/components/Process/types\";\nimport { repository } from \"~/clientInstance\";\nimport Roles from \"~/components/Actions/Roles\";\nimport type { ActionSummaryProps } from \"~/components/Actions/actionSummaryProps\";\nimport JavaKeystoreComponent from \"~/components/Actions/javaKeystore/javaKeystoreComponent\";\nimport type { ActionEditProps } from \"~/components/Actions/pluginRegistry\";\nimport { default as pluginRegistry } from \"~/components/Actions/pluginRegistry\";\nimport WildflyConnectionDetailsComponent from \"~/components/Actions/wildfly/wildflyConnectionDetailsComponent\";\nimport { BaseComponent } from \"~/components/BaseComponent/BaseComponent\";\nimport ExpandableFormSection from \"~/components/form/Sections/ExpandableFormSection\";\nimport ExpanderSectionHeading from \"~/components/form/Sections/FormSectionHeading\";\nimport Summary from \"~/components/form/Sections/Summary\";\nimport { VariableLookupText } from \"~/components/form/VariableLookupText\";\nimport Note from \"~/primitiveComponents/form/Note/Note\";\nimport { BoundRadioButtonGroup } from \"~/primitiveComponents/form/RadioButton/BoundRadioButtonGroup\";\nimport WildflyRelativeLocationComponent from \"./wildflyRelativeLocationComponent\";\nclass DeployCertificateToTomcatActionSummary extends BaseComponent {\n constructor(props: ActionSummaryProps) {\n super(props);\n }\n render() {\n return (
    \n Configure a certificate in WildFly 10+ or JBoss EAP 6+ standalone server{\" \"}\n {this.props.targetRolesAsCSV && (\n to deployment targets with \n )}\n
    );\n }\n static displayName = \"DeployCertificateToTomcatActionSummary\";\n}\ninterface CertificateImportActionEditState {\n project: ProjectResource;\n}\nexport class DeployCertificateToTomcatActionEdit extends BaseComponent, CertificateImportActionEditState> {\n constructor(props: ActionEditProps) {\n super(props);\n this.state = {\n project: null!,\n };\n }\n async componentDidMount() {\n await this.props.doBusyTask(async () => {\n const project = await repository.Projects.get(this.props.projectId!);\n this.setState({ project });\n });\n const properties = this.props.properties;\n if (properties[\"WildFly.Deploy.DeployCertificate\"] !== \"True\" && properties[\"WildFly.Deploy.DeployCertificate\"] !== \"False\") {\n properties[\"WildFly.Deploy.DeployCertificate\"] = \"True\";\n }\n if (properties[\"WildFly.Deploy.ServerType\"] !== \"Standalone\" && properties[\"WildFly.Deploy.ServerType\"] !== \"Domain\") {\n properties[\"WildFly.Deploy.ServerType\"] = \"Standalone\";\n }\n if (!properties[\"WildFly.Deploy.CertificateRelativeTo\"]) {\n properties[\"WildFly.Deploy.CertificateRelativeTo\"] = \"NONE\";\n }\n if (!properties[\"WildFly.Deploy.CertificateProfiles\"]) {\n properties[\"WildFly.Deploy.CertificateProfiles\"] = \"default\";\n }\n this.props.setProperties(properties);\n }\n render() {\n const properties = this.props.properties;\n const serverDetailsErrorKey = \"WildFly.Deploy.ServerType|\" + \"Java.Certificate.KeystoreFilename|\" + \"WildFly.Deploy.CertificateRelativeTo|\" + \"Java.Certificate.Password|\" + \"Java.Certificate.KeystoreAlias|\" + \"Java.Certificate.Variable\";\n return (
    \n \n This is the hostname or IP address of the application server that the certificate will be configured in.} actionDescription={Deploy a certificate via the management interface listening on} expandedByDefault={this.props.expandedByDefault}/>\n \n this.props.setProperties({ [\"WildFly.Deploy.ServerType\"]: x })} title=\"Standalone or domain server\">\n \n \n \n Select the kind of server you are deploying to.\n {properties[\"WildFly.Deploy.ServerType\"] === \"Standalone\" && (
    \n this.props.setProperties({ [\"WildFly.Deploy.DeployCertificate\"]: x })} title=\"Keystore creation\">\n \n \n \n {properties[\"WildFly.Deploy.DeployCertificate\"] === \"True\" && (\n

    \n The optional path of the keystore file to create. If defined, this must be an absolute path, the parent directory must exist, and the path must include the keystore filename e.g.{\" \"}\n C:\\Keys\\my.keystore or /opt/server/conf/keys.store.\n

    \n

    If the file exists, it will be overwritten.

    \n

    \n If this value is not defined a new certificate will be created in the application server's configuration directory.\n

    \n } expandedByDefault={this.props.expandedByDefault}/>)}\n
    )}\n {properties[\"WildFly.Deploy.ServerType\"] === \"Domain\" && (
    \n this.props.setProperties({ [\"WildFly.Deploy.CertificateProfiles\"]: x })} label=\"Domain profiles\"/>\n A comma separated list that defines the domain server groups where the certificate will be configured.\n
    )}\n {(properties[\"WildFly.Deploy.ServerType\"] === \"Domain\" || properties[\"WildFly.Deploy.DeployCertificate\"] !== \"True\") && ()}\n
    \n \n this.props.setProperties({ [\"WildFly.Deploy.HTTPSPortBindingName\"]: x })} label=\"HTTPS socket binding name\"/>\n \n This field defines the port binding that is used to listen to HTTPS requests in the application server. If left blank, it will default to https.\n \n this.props.setProperties({ [\"WildFly.Deploy.SecurityRealmName\"]: x })} label=\"Legacy security realm name\"/>\n \n This field defines the name of the security realm that will be created in applicable application servers. If left blank, this value will default to OctopusHttps.\n \n this.props.setProperties({ [\"WildFly.Deploy.ElytronKeystoreName\"]: x })} label=\"Elytron key store name\"/>\n \n This field defines the name of the the Elytron key store. If left blank, this value will default to OctopusHttpsKS.\n \n this.props.setProperties({ [\"WildFly.Deploy.ElytronKeymanagerName\"]: x })} label=\"Elytron key manager name\"/>\n \n This field defines the name of the the Elytron key manager. If left blank, this value will default to OctopusHttpsKM.\n \n this.props.setProperties({ [\"WildFly.Deploy.ElytronSSLContextName\"]: x })} label=\"Elytron server SSL context name\"/>\n \n This field defines the name of the the Elytron server SSL context. If left blank, this value will default to OctopusHttpsSSC.\n \n \n
    );\n }\n private advancedSummary() {\n const properties = this.props.properties;\n const customPortBinding = properties[\"WildFly.Deploy.HTTPSPortBindingName\"] && properties[\"WildFly.Deploy.HTTPSPortBindingName\"] !== \"https\";\n const customSecurityRealm = properties[\"WildFly.Deploy.SecurityRealmName\"] && properties[\"WildFly.Deploy.SecurityRealmName\"] !== \"OctopusHTTPS\";\n const customKeystore = properties[\"WildFly.Deploy.ElytronKeystoreName\"] && properties[\"WildFly.Deploy.ElytronKeystoreName\"] !== \"octopusHttpsKS\";\n const customKeymanager = properties[\"WildFly.Deploy.ElytronKeymanagerName\"] && properties[\"WildFly.Deploy.ElytronKeymanagerName\"] !== \"octopusHttpsKM\";\n const customSSLContext = properties[\"WildFly.Deploy.ElytronSSLContextName\"] && properties[\"WildFly.Deploy.ElytronSSLContextName\"] !== \"octopusHttpsSSC\";\n if (customPortBinding || customSecurityRealm || customKeystore || customKeymanager || customSSLContext) {\n return Summary.summary(\n Configuring HTTPS with\n {customPortBinding && (\n  a port binding called {properties[\"WildFly.Deploy.HTTPSPortBindingName\"]}\n )}\n {customPortBinding && ,}\n {customPortBinding && !(customKeystore || customKeymanager || customSSLContext) && and}\n {customSecurityRealm && (\n  a security realm called {properties[\"WildFly.Deploy.SecurityRealmName\"]}\n )}\n {(customPortBinding || customSecurityRealm) && ,}\n {customKeystore && !(customKeymanager || customSSLContext) && and}\n {customKeystore && (\n  an Elytron KeyStore called {properties[\"WildFly.Deploy.ElytronKeystoreName\"]}\n )}\n {(customPortBinding || customSecurityRealm || customKeystore) && ,}\n {customKeymanager && !customSSLContext && and}\n {customKeymanager && (\n  an Elyton KeyManager called {properties[\"WildFly.Deploy.ElytronKeymanagerName\"]}\n )}\n {(customPortBinding || customSecurityRealm || customKeystore || customKeymanager) && , and}\n {customSSLContext && (\n  an Elytron SSL Context called {properties[\"WildFly.Deploy.ElytronSSLContextName\"]}\n )}\n );\n }\n return Summary.placeholder(Define optional advanced security settings.);\n }\n private keystoreSummary() {\n const properties = this.props.properties;\n return Summary.summary(\n Deploying to a {properties[\"WildFly.Deploy.ServerType\"]} server\n {properties[\"WildFly.Deploy.ServerType\"] === \"Standalone\" && properties[\"WildFly.Deploy.DeployCertificate\"] === \"True\" && (\n  creating a new keystore\n {properties[\"Java.Certificate.KeystoreFilename\"] && (\n  at {properties[\"Java.Certificate.KeystoreFilename\"]}\n )}\n {!properties[\"Java.Certificate.KeystoreFilename\"] &&  in the default location}\n {properties[\"Java.Certificate.Password\"] && (\n  with a custom password\n {properties[\"Java.Certificate.KeystoreAlias\"] &&  and}\n )}\n {properties[\"Java.Certificate.KeystoreAlias\"] && (\n  with a custom alias {properties[\"Java.Certificate.KeystoreAlias\"]}\n )}\n )}\n {(properties[\"WildFly.Deploy.ServerType\"] === \"Domain\" || properties[\"WildFly.Deploy.DeployCertificate\"] !== \"True\") && (\n  referencing the existing keystore\n {properties[\"Java.Certificate.KeystoreFilename\"] && (\n  at \n {properties[\"WildFly.Deploy.CertificateRelativeTo\"] !== \"NONE\" && (\n ${\"{\"}\n {properties[\"WildFly.Deploy.CertificateRelativeTo\"]}\n {\"}\"}/\n )}\n {properties[\"Java.Certificate.KeystoreFilename\"]}\n )}\n )}\n );\n }\n static displayName = \"DeployCertificateToTomcatActionEdit\";\n}\npluginRegistry.registerAction({\n executionLocation: ActionExecutionLocation.AlwaysOnTarget,\n actionType: \"Octopus.WildFlyCertificateDeploy\",\n summary: (properties, targetRolesAsCSV) => ,\n editSections: { default: DeployCertificateToTomcatActionEdit },\n canHaveChildren: (step) => true,\n canBeChild: true,\n targetRoleOption: (action) => TargetRoles.Optional,\n hasPackages: (action) => false,\n docsLink: \"configureCertificateWildFlyEAP\",\n});\n","import { Callout } from \"@octopusdeploy/design-system-components\";\nimport type { DeployToTomcatProperties } from \"@octopusdeploy/legacy-action-properties\";\nimport { ActionExecutionLocation, FeedType, GetPrimaryPackageReference, InitialisePrimaryPackageReference, PackageSelectionMode, SetPrimaryPackageReference } from \"@octopusdeploy/octopus-server-client\";\nimport { links } from \"@octopusdeploy/portal-routes\";\nimport * as React from \"react\";\nimport { TargetRoles } from \"~/areas/projects/components/Process/types\";\nimport { repository } from \"~/clientInstance\";\nimport Roles from \"~/components/Actions/Roles\";\nimport { BaseComponent } from \"~/components/BaseComponent/BaseComponent\";\nimport InternalLink from \"~/components/Navigation/InternalLink/InternalLink\";\nimport PackageDownloadOptions from \"~/components/PackageDownloadOptions/PackageDownloadOptions\";\nimport DeferredPackageSelector from \"~/components/PackageSelector/DeferredPackageSelector\";\nimport ExpandableFormSection from \"~/components/form/Sections/ExpandableFormSection\";\nimport ExpanderSectionHeading from \"~/components/form/Sections/FormSectionHeading\";\nimport CommonSummaryHelper from \"~/utils/CommonSummaryHelper/CommonSummaryHelper\";\nimport { ProcessFeedLookup, useFeedsFromContext, useRefreshFeedsFromContext } from \"../../../areas/projects/components/Process/Contexts/ProcessFeedsContextProvider\";\nimport { DisplayFeedName } from \"../DisplayFeedName\";\nimport type { ActionSummaryProps } from \"../actionSummaryProps\";\nimport type { ActionWithFeeds } from \"../commonActionHelpers\";\nimport { getChangesToPackageReference } from \"../getChangesToPackageReference\";\nimport type { ActionEditProps } from \"../pluginRegistry\";\nimport pluginRegistry from \"../pluginRegistry\";\ninterface DeployToTomcatSummaryState {\n feedName: string;\n}\nclass DeployToTomcatActionSummary extends BaseComponent {\n constructor(props: ActionSummaryProps) {\n super(props);\n }\n render() {\n const pkg = GetPrimaryPackageReference(this.props.packages);\n return pkg ? (
    \n {\"Deploy a Java application to Tomcat 7+ using package\"} {pkg.PackageId} {\"from\"} \n {this.props.targetRolesAsCSV && (\n {\" \"}\n to deployment targets with {\" \"}\n )}\n
    ) : (\n Package was not selected or cannot be found. Please review this step and ensure a valid package is selected.\n );\n }\n static displayName = \"DeployToTomcatActionSummary\";\n}\ntype DeployToTomcatActionEditState = {};\ntype DeployToTomcatActionEditProps = ActionEditProps;\ntype DeployToTomcatActionEditInternalProps = DeployToTomcatActionEditProps & ActionWithFeeds;\nclass DeployToTomcatActionEditInternal extends BaseComponent {\n constructor(props: DeployToTomcatActionEditInternalProps) {\n super(props);\n this.state = {};\n }\n async componentDidMount() {\n this.props.setPackages(InitialisePrimaryPackageReference(this.props.packages, this.props.feeds), true);\n }\n render() {\n // The package is initialized in componentDidMount, but render gets called before the update is propagated\n if (!this.props.packages || this.props.packages.length === 0) {\n return null;\n }\n const pkg = GetPrimaryPackageReference(this.props.packages);\n const help = this.props.feeds.length > 0 ? (\n This step is used to deploy a package to one or more machines which may be sourced from an external feed or the Octopus built-in feed. You can configure the remote machines to deploy to in{\" \"}\n {/*eslint-disable-next-line @typescript-eslint/no-non-null-assertion*/}\n \n Infrastructure\n \n .\n ) : (Choose the package you wish to deploy);\n return (
    \n \n \n this.props.setPackages(SetPrimaryPackageReference({ PackageId: packageId }, this.props.packages))} onFeedIdChange={(feedId) => this.props.setPackages(SetPrimaryPackageReference({ FeedId: feedId }, this.props.packages))} onPackageVersionChange={(version) => this.props.setPackages(SetPrimaryPackageReference({ Version: version }, this.props.packages))} packageIdError={this.props.getFieldError(\"Octopus.Action.Package.PackageId\")} feedIdError={this.props.getFieldError(\"Octopus.Action.Package.FeedId\")} projectId={this.props.projectId} feeds={this.props.feeds} localNames={this.props.localNames} feedType={[FeedType.Nuget, FeedType.BuiltIn, FeedType.Maven, FeedType.ArtifactoryGeneric]} refreshFeeds={this.loadFeeds} parameters={this.props.parameters} packageSelectionMode={pkg.Properties[\"SelectionMode\"]} packageSelectionModeError={this.props.getFieldError(\"SelectionMode\")} onPackageSelectionModeChange={(value) => this.props.setPackages(SetPrimaryPackageReference(getChangesToPackageReference(value), this.props.packages))} packageParameterName={pkg.Properties[\"PackageParameterName\"]} packageParameterError={this.props.getFieldError(\"PackageParameterName\")} onPackageParameterChange={(packageParameter) => this.props.setPackages(SetPrimaryPackageReference({ Properties: { ...pkg.Properties, PackageParameterName: packageParameter } }, this.props.packages))}/>\n {pkg.Properties[\"SelectionMode\"] === PackageSelectionMode.Immediate && (\n {(feed) => ( this.props.setPackages(SetPrimaryPackageReference({ AcquisitionLocation: acquisitionLocation }, this.props.packages))} feed={feed} projectId={this.props.projectId} localNames={this.props.localNames}/>)}\n )}\n \n
    );\n }\n private loadFeeds = async () => {\n await this.props.refreshFeeds();\n };\n static displayName = \"DeployToTomcatActionEditInternal\";\n}\nfunction DeployToTomcatActionEdit(props: React.PropsWithChildren) {\n const feeds = useFeedsFromContext();\n const refreshFeeds = useRefreshFeedsFromContext();\n return ;\n}\npluginRegistry.registerAction({\n executionLocation: ActionExecutionLocation.AlwaysOnTarget,\n actionType: \"Octopus.TomcatDeploy\",\n summary: (properties, targetRolesAsCSV, packages) => ,\n editSections: { default: DeployToTomcatActionEdit },\n canHaveChildren: (step) => true,\n canBeChild: true,\n targetRoleOption: (action) => TargetRoles.Optional,\n hasPackages: (action) => true,\n features: {\n optional: [\"Octopus.Features.CustomScripts\", \"Octopus.Features.JsonConfigurationVariables\", \"Octopus.Features.SubstituteInFiles\"],\n permanent: [\"Octopus.Features.TomcatDeployManager\"],\n },\n docsLink: \"deployTomcatViaManager\",\n});\n","/* eslint-disable @typescript-eslint/consistent-type-assertions */\nimport { RadioButton } from \"@octopusdeploy/design-system-components\";\nimport type { TomcatDeployProperties } from \"@octopusdeploy/legacy-action-properties\";\nimport type { ActionProperties } from \"@octopusdeploy/octopus-server-client\";\nimport * as React from \"react\";\nimport type { ActionEditProps } from \"~/components/Actions/pluginRegistry\";\nimport { BaseComponent } from \"~/components/BaseComponent/BaseComponent\";\nimport { ExpandableFormSection, Summary } from \"~/components/form\";\nimport { BoundSensitive } from \"~/components/form/Sensitive/Sensitive\";\nimport { required } from \"~/components/form/Validators\";\nimport { VariableLookupText } from \"~/components/form/VariableLookupText\";\nimport Note from \"~/primitiveComponents/form/Note/Note\";\nimport { BoundRadioButtonGroup } from \"~/primitiveComponents/form/RadioButton/BoundRadioButtonGroup\";\nimport ExternalLink from \"../../Navigation/ExternalLink\";\nexport default class TomcatFeatureTemplate extends BaseComponent, never> {\n deploymentSummary() {\n const properties = this.props.properties;\n if (properties[\"Tomcat.Deploy.Name\"]) {\n return Summary.summary(\n Deploying the package to the {this.props.properties[\"Tomcat.Deploy.Name\"]} context\n );\n }\n return Summary.placeholder(Specify the Tomcat deployment context);\n }\n advancedSummary() {\n const properties = this.props.properties;\n return Summary.summary(\n Deploying the application in a {this.props.properties[\"Tomcat.Deploy.Enabled\"] === \"True\" ? \"started\" : \"stopped\"} state\n {properties[\"Tomcat.Deploy.Version\"] && (\n  with the version {properties[\"Tomcat.Deploy.Version\"]}\n )}\n );\n }\n tomcatSummary() {\n const properties = this.props.properties;\n if (properties[\"Tomcat.Deploy.Controller\"]) {\n return Summary.summary(\n \n Deploying to Tomcat Manager hosted at {properties[\"Tomcat.Deploy.Controller\"]}\n \n {properties[\"Tomcat.Deploy.User\"] && (\n  with the user {properties[\"Tomcat.Deploy.User\"]}\n )}\n );\n }\n return Summary.placeholder(Specify the Tomcat manager URL, credentials and the state of the application);\n }\n componentDidMount() {\n const properties: ActionProperties = {};\n if (!this.props.properties[\"Tomcat.Deploy.Controller\"]) {\n properties[\"Tomcat.Deploy.Controller\"] = \"http://localhost:8080/manager\";\n }\n if (!this.props.properties[\"Tomcat.Deploy.Enabled\"]) {\n properties[\"Tomcat.Deploy.Enabled\"] = \"True\";\n }\n this.props.setProperties(properties, true);\n }\n render() {\n const properties = this.props.properties;\n return (
    \n \n this.props.setProperties({ [\"Tomcat.Deploy.Controller\"]: x })} label=\"Tomcat Manager URL\" validate={required(\"Please enter a Tomcat Manager URL\")} error={this.props.getFieldError(\"Tomcat.Deploy.Controller\")}/>\n \n This is the URL of the Tomcat Manager instance that the package will be uploaded to. This URL is relative to the host that is executing the step. So if the Tentacle is on the same host as Tomcat, then this value may be\n something like http://localhost:8080/manager.\n \n this.props.setProperties({ [\"Tomcat.Deploy.User\"]: x })} label=\"Management user\" validate={required(\"Please enter a Tomcat Manager user\")} error={this.props.getFieldError(\"Tomcat.Deploy.User\")}/>\n \n The username to use with the management interface. This user must be assigned to the manager-script group in the tomcat-users.xml file.\n \n this.props.setProperties({ [\"Tomcat.Deploy.Password\"]: x })} label=\"Management password\" error={this.props.getFieldError(\"Tomcat.Deploy.Password\")}/>\n The password to use with the management interface.\n \n \n this.props.setProperties({ [\"Tomcat.Deploy.Name\"]: x })} label=\"Context path\" error={this.props.getFieldError(\"Tomcat.Deploy.Name\")}/>\n \n This field defines the context path of the deployed artifact. For example, setting this field to myapp will result in the deployment being having the context path /myapp in Tomcat. Set the value to{\" \"}\n / to deploy to the root context.\n \n \n \n this.props.setProperties({ [\"Tomcat.Deploy.Version\"]: x })} label=\"Deployment version\"/>\n \n Tomcat versions are used with parallel deployments.\n

    Leave this field blank to to leave the Tomcat version undefined, in which case you will overwrite any existing deployment with the same context path, and parallel deployments will not be enabled.

    \n

    \n Alternatively you can define a custom Tomcat version. These versions are compared as plain strings, meaning traditional version strings like 1.0.1 may not be suitable as this format is not guaranteed to\n correctly identify the latest version using string comparisons. A date string like {\"#{ | NowDateUtc \\\"yyMMddHHmmss\\\"}\"} is a good option, as this format produces the correct result when compared as strings.\n

    \n
    \n this.props.setProperties({ [\"Tomcat.Deploy.Enabled\"]: x as string })}>\n \n \n \n
    \n
    );\n }\n static displayName = \"TomcatFeatureTemplate\";\n}\n","import type { TomcatDeployProperties } from \"@octopusdeploy/legacy-action-properties\";\nimport { ActionExecutionLocation } from \"@octopusdeploy/octopus-server-client\";\nimport * as React from \"react\";\nimport { TargetRoles } from \"~/areas/projects/components/Process/types\";\nimport Roles from \"~/components/Actions/Roles\";\nimport { BaseComponent } from \"~/components/BaseComponent/BaseComponent\";\nimport type { ActionSummaryProps } from \"../actionSummaryProps\";\nimport type { ActionEditProps } from \"../pluginRegistry\";\nimport pluginRegistry from \"../pluginRegistry\";\nimport TomcatFeatureTemplate from \"./tomcatFeatureTemplate\";\nclass ChangeStateInTomcatActionSummary extends BaseComponent {\n constructor(props: ActionSummaryProps) {\n super(props);\n }\n render() {\n return (
    \n Change the state of an application in Tomcat 7+{\" \"}\n {this.props.targetRolesAsCSV && (\n {\" \"}\n on deployment targets with {\" \"}\n )}\n
    );\n }\n static displayName = \"ChangeStateInTomcatActionSummary\";\n}\nexport class ChangeStateInTomcatActionEdit extends BaseComponent, {}> {\n render() {\n return ();\n }\n static displayName = \"ChangeStateInTomcatActionEdit\";\n}\npluginRegistry.registerAction({\n executionLocation: ActionExecutionLocation.AlwaysOnTarget,\n actionType: \"Octopus.TomcatState\",\n summary: (properties, targetRolesAsCSV) => ,\n editSections: { default: ChangeStateInTomcatActionEdit },\n canHaveChildren: (step) => true,\n canBeChild: true,\n targetRoleOption: (action) => TargetRoles.Optional,\n hasPackages: (action) => true,\n docsLink: \"startStopTomcatApp\",\n});\n","import type { TomcatDeployProperties } from \"@octopusdeploy/legacy-action-properties\";\nimport * as React from \"react\";\nimport type { ActionEditProps } from \"~/components/Actions/pluginRegistry\";\nimport pluginRegistry from \"~/components/Actions/pluginRegistry\";\nimport TomcatFeatureTemplate from \"~/components/Actions/tomcat/tomcatFeatureTemplate\";\nimport { BaseComponent } from \"~/components/BaseComponent/BaseComponent\";\nclass DeployToTomcatFeature extends BaseComponent, never> {\n render() {\n return ();\n }\n static displayName = \"DeployToTomcatFeature\";\n}\npluginRegistry.registerFeature({\n featureName: \"Octopus.Features.TomcatDeployManager\",\n title: \"Tomcat deployment feature\",\n description: \"Deploys packages to Tomcat via the manager API\",\n edit: DeployToTomcatFeature,\n priority: 1,\n});\n","/* eslint-disable @typescript-eslint/no-non-null-assertion */\nimport { RadioButton } from \"@octopusdeploy/design-system-components\";\nimport type { TomcatCertificateProperties } from \"@octopusdeploy/legacy-action-properties\";\nimport type { ProjectResource } from \"@octopusdeploy/octopus-server-client\";\nimport { ActionExecutionLocation } from \"@octopusdeploy/octopus-server-client\";\nimport * as React from \"react\";\nimport { TargetRoles } from \"~/areas/projects/components/Process/types\";\nimport { repository } from \"~/clientInstance\";\nimport Roles from \"~/components/Actions/Roles\";\nimport type { ActionSummaryProps } from \"~/components/Actions/actionSummaryProps\";\nimport type { ActionEditProps } from \"~/components/Actions/pluginRegistry\";\nimport { default as pluginRegistry } from \"~/components/Actions/pluginRegistry\";\nimport { BaseComponent } from \"~/components/BaseComponent/BaseComponent\";\nimport ExternalLink from \"~/components/Navigation/ExternalLink\";\nimport ProjectCertificateVariableSelect from \"~/components/form/CertificateSelect/ProjectCertificateVariableSelect\";\nimport ExpandableFormSection from \"~/components/form/Sections/ExpandableFormSection\";\nimport Summary from \"~/components/form/Sections/Summary\";\nimport { BoundSensitive } from \"~/components/form/Sensitive/Sensitive\";\nimport { VariableLookupText } from \"~/components/form/VariableLookupText\";\nimport Note from \"~/primitiveComponents/form/Note/Note\";\nimport { BoundRadioButtonGroup } from \"~/primitiveComponents/form/RadioButton/BoundRadioButtonGroup\";\nclass DeployCertificateToTomcatActionSummary extends BaseComponent {\n constructor(props: ActionSummaryProps) {\n super(props);\n }\n render() {\n return (
    \n Deploy a certificate to Tomcat 7+{\" \"}\n {this.props.targetRolesAsCSV && (\n to deployment targets with \n )}\n
    );\n }\n static displayName = \"DeployCertificateToTomcatActionSummary\";\n}\ninterface CertificateImportActionEditState {\n project: ProjectResource;\n}\nexport class DeployCertificateToTomcatActionEdit extends BaseComponent, CertificateImportActionEditState> {\n constructor(props: ActionEditProps) {\n super(props);\n this.state = {\n project: null!,\n };\n }\n async componentDidMount() {\n await this.props.doBusyTask(async () => {\n const project = await repository.Projects.get(this.props.projectId!);\n this.setState({ project });\n });\n const properties = this.props.properties;\n if (!properties[\"Tomcat.Certificate.Service\"]) {\n properties[\"Tomcat.Certificate.Service\"] = \"Catalina\";\n }\n if (!properties[\"Tomcat.Certificate.Implementation\"]) {\n properties[\"Tomcat.Certificate.Implementation\"] = \"NIO\";\n }\n if (!properties[\"Tomcat.Certificate.Default\"]) {\n properties[\"Tomcat.Certificate.Default\"] = \"False\";\n }\n this.props.setProperties(properties);\n }\n tomcatLocationSummary() {\n if (this.props.properties[\"Tomcat.Certificate.CatalinaHome\"]) {\n /*\n Guess the path splitter based on the kinds of slashes that exist in\n the base location\n */\n const pathSplit = this.props.properties[\"Tomcat.Certificate.CatalinaHome\"].indexOf(\"/\") !== -1 ? \"/\" : \"\\\\\";\n return Summary.summary(\n Adding the certificate to the{\" \"}\n \n {this.props.properties[\"Tomcat.Certificate.CatalinaBase\"] || this.props.properties[\"Tomcat.Certificate.CatalinaHome\"]}\n {pathSplit}config{pathSplit}server.xml\n {\" \"}\n configuration file\n );\n }\n return Summary.placeholder(Define the CATALINA_BASE directory);\n }\n tomcatCertificateSummary() {\n if (this.props.properties[\"Java.Certificate.Variable\"]) {\n return Summary.summary(\n Deploying the {this.props.properties[\"Java.Certificate.Variable\"]} certificate\n {this.props.properties[\"Tomcat.Certificate.Service\"] && (\n {\" \"}\n to the service named {this.props.properties[\"Tomcat.Certificate.Service\"]}\n )}\n {this.props.properties[\"Tomcat.Certificate.Port\"] && (\n {\" \"}\n under the connector listening on port {this.props.properties[\"Tomcat.Certificate.Port\"]}\n )}\n {this.props.properties[\"Tomcat.Certificate.Hostname\"] && (\n {\" \"}\n configured with the SNI hostname {this.props.properties[\"Tomcat.Certificate.Hostname\"]}\n )}\n );\n }\n return Summary.placeholder(Define the certificate to deploy);\n }\n tomcatSNISummary() {\n if (this.props.properties[\"Tomcat.Certificate.Hostname\"]) {\n return Summary.summary(Mapping certificate to the {this.props.properties[\"Tomcat.Certificate.Hostname\"]} host name);\n }\n return Summary.placeholder(Map a certificate to a host name (Tomcat 8.5+ only));\n }\n tomcatOptionsSummary() {\n if (this.props.properties[\"Java.Certificate.Password\"] ||\n this.props.properties[\"Tomcat.Certificate.PrivateKeyFilename\"] ||\n this.props.properties[\"Tomcat.Certificate.PublicKeyFilename\"] ||\n this.props.properties[\"Java.Certificate.KeystoreFilename\"] ||\n this.props.properties[\"Java.Certificate.KeystoreAlias\"]) {\n return Summary.summary(\n Deploying the certificate\n {(this.props.properties[\"Tomcat.Certificate.PrivateKeyFilename\"] || this.props.properties[\"Tomcat.Certificate.PublicKeyFilename\"] || this.props.properties[\"Java.Certificate.KeystoreFilename\"]) && ( to a custom location)}\n {this.props.properties[\"Java.Certificate.Password\"] && (\n {\" \"}\n with a custom password\n {this.props.properties[\"Java.Certificate.KeystoreAlias\"] && and}\n )}\n {this.props.properties[\"Java.Certificate.KeystoreAlias\"] && with a custom alias}\n );\n }\n return Summary.placeholder(Define the optional certificate properties);\n }\n render() {\n const properties = this.props.properties;\n const serverDetailsErrorKey = \"Tomcat.Certificate.CatalinaHome|\" + \"Tomcat.Certificate.CatalinaBase\";\n const certificateDetailsErrorKey = \"Java.Certificate.Variable|\" + \"Tomcat.Certificate.Service|\" + \"Tomcat.Certificate.Implementation|\" + \"Tomcat.Certificate.Port\";\n return (
    \n \n this.props.setProperties({ [\"Tomcat.Certificate.CatalinaHome\"]: x })} label=\"Tomcat CATALINA_HOME path\" error={this.props.getFieldError(\"Tomcat.Certificate.CatalinaHome\")}/>\n This is the root directory of the \"binary\" distribution of Tomcat.\n this.props.setProperties({ [\"Tomcat.Certificate.CatalinaBase\"]: x })} label=\"Tomcat CATALINA_BASE path\" error={this.props.getFieldError(\"Java.Certificate.TomcatLocation\")}/>\n \n This is the root directory of the \"active configuration\" of Tomcat. This can be left blank if the Tomcat root directory CATALINA_HOME directory also holds the configuration (i.e. leave this blank if the CATALINA_HOME and\n CATALINA_BASE directories are the same).\n \n \n \n {this.props.projectId ? ( this.props.setProperties({ [\"Java.Certificate.Variable\"]: val })} error={this.props.getFieldError(\"Java.Certificate.Variable\")} allowClear={true}/>) : ( this.props.setProperties({ [\"Java.Certificate.Variable\"]: val })} error={this.props.getFieldError(\"Java.Certificate.Variable\")}/>)}\n \n A project variable that refers to a certificate.{\" \"}\n \n Learn more.\n \n \n this.props.setProperties({ [\"Tomcat.Certificate.Service\"]: x })} label=\"Tomcat service name\" error={this.props.getFieldError(\"Tomcat.Certificate.Service\")}/>\n \n This is the name of the Service element in the server.xml file e.g. {\"<\"}Service name=\"Catalina\"{\">\"}.\n \n this.props.setProperties({ [\"Tomcat.Certificate.Implementation\"]: x })} title=\"SSL implementation\">\n \n \n \n \n \n These are the standard implementations provided by Tomcat to support HTTPS. Note that not all versions of Tomcat support all implementations.\n this.props.setProperties({ [\"Tomcat.Certificate.Port\"]: x })} label=\"HTTPS port\" error={this.props.getFieldError(\"Tomcat.Certificate.Port\")}/>\n This is the HTTPS port that this certificate will be bound to.\n \n \n this.props.setProperties({ [\"Tomcat.Certificate.Hostname\"]: x })} label=\"Certificate SNI hostname\"/>\n \n In Tomcat 8.5 and above certificates can be bound to a host name using SNI. This field defines the host name that this certificate is bound to. Leave this field blank when deploying to Tomcat 7 or 8. If you leave this field\n blank when deploying to Tomcat 8.5 and above, the certificate will be assigned a default host name by Tomcat.\n \n this.props.setProperties({ [\"Tomcat.Certificate.Default\"]: x })} title=\"Default certificate\">\n \n \n \n \n In Tomcat 8.5 and above a certificate can be designated as the default one to respond to any request to a host that does not have a specific certificate assigned. Selecting Make this the default certificate will\n configure the certificate to be the default one. This field has no effect when deploying to Tomcat 7 or Tomcat 8.\n \n \n \n this.props.setProperties({ [\"Java.Certificate.Password\"]: x })} label=\"Private key password\"/>\n You can set an optional password which will be assigned to the private key. If this field is left blank, the default password defined by Tomcat will be used where possible, or the private key will remain unencrypted.\n {this.props.properties[\"Tomcat.Certificate.Implementation\"] === \"APR\" && (
    \n this.props.setProperties({ [\"Tomcat.Certificate.PrivateKeyFilename\"]: x })} label=\"Private key filename\"/>\n \n You can optionally set the path of the private key that will be generated when configuring the APR implementation. If this file exists it will be overwritten. If this field is left blank a new file will be created in\n the Tomcat conf directory.\n \n this.props.setProperties({ [\"Tomcat.Certificate.PublicKeyFilename\"]: x })} label=\"Public key filename\"/>\n \n You can optionally set the path of the public key that will be generated when configuring the APR implementation. If this file exists it will be overwritten. If this field is left blank a new file will be created in\n the Tomcat conf directory.\n \n
    )}\n {this.props.properties[\"Tomcat.Certificate.Implementation\"] !== \"APR\" && (
    \n this.props.setProperties({ [\"Java.Certificate.KeystoreFilename\"]: x })} label=\"Keystore filename\"/>\n \n

    \n You can optionally set the path of the keystore that will be generated when configuring the BIO, NIO and NIO2 implementations. If this file exists it will be overwritten. If this field is left blank a keystore file\n will be created in the Tomcat conf directory.\n

    \n

    If the specified file exists it will be overwritten.

    \n
    \n this.props.setProperties({ [\"Java.Certificate.KeystoreAlias\"]: x })} label=\"Keystore alias\"/>\n \n You can optionally set the alias under which the certificate information will be stored when configuring the BIO, NIO and NIO2 implementations. If this field is left blank the default alias of octopus will be\n used.\n \n
    )}\n
    \n
    );\n }\n static displayName = \"DeployCertificateToTomcatActionEdit\";\n}\npluginRegistry.registerAction({\n executionLocation: ActionExecutionLocation.AlwaysOnTarget,\n actionType: \"Octopus.TomcatDeployCertificate\",\n summary: (properties, targetRolesAsCSV) => ,\n editSections: { default: DeployCertificateToTomcatActionEdit },\n canHaveChildren: (step) => true,\n canBeChild: true,\n targetRoleOption: (action) => TargetRoles.Optional,\n hasPackages: (action) => false,\n docsLink: \"deployCertificateToTomcat\",\n});\n","/* eslint-disable @typescript-eslint/no-explicit-any */\nimport { RadioButton, Callout } from \"@octopusdeploy/design-system-components\";\nimport type { DeployJavaPackageProperties } from \"@octopusdeploy/legacy-action-properties\";\nimport { ActionExecutionLocation, AzureServiceFabricSecurityMode, FeedType, GetPrimaryPackageReference, InitialisePrimaryPackageReference, PackageSelectionMode, SetPrimaryPackageReference } from \"@octopusdeploy/octopus-server-client\";\nimport * as React from \"react\";\nimport { ProcessFeedLookup, useFeedsFromContext, useRefreshFeedsFromContext } from \"~/areas/projects/components/Process/Contexts/ProcessFeedsContextProvider\";\nimport { TargetRoles } from \"~/areas/projects/components/Process/types\";\nimport { BaseComponent } from \"~/components/BaseComponent/BaseComponent\";\nimport PackageDownloadOptions from \"~/components/PackageDownloadOptions/PackageDownloadOptions\";\nimport DeferredPackageSelector from \"~/components/PackageSelector/DeferredPackageSelector\";\nimport ExpandableFormSection from \"~/components/form/Sections/ExpandableFormSection\";\nimport ExpanderSectionHeading from \"~/components/form/Sections/FormSectionHeading\";\nimport Summary from \"~/components/form/Sections/Summary\";\nimport { VariableLookupText } from \"~/components/form/VariableLookupText\";\nimport { BoundStringCheckbox } from \"~/primitiveComponents/form/Checkbox/StringCheckbox\";\nimport Note from \"~/primitiveComponents/form/Note/Note\";\nimport { BoundRadioButtonGroup } from \"~/primitiveComponents/form/RadioButton/BoundRadioButtonGroup\";\nimport CommonSummaryHelper from \"~/utils/CommonSummaryHelper/CommonSummaryHelper\";\nimport ExternalLink from \"../../Navigation/ExternalLink\";\nimport { DisplayFeedName } from \"../DisplayFeedName\";\nimport Roles from \"../Roles\";\nimport type { ActionSummaryProps } from \"../actionSummaryProps\";\nimport type { ActionWithFeeds } from \"../commonActionHelpers\";\nimport { getChangesToPackageReference } from \"../getChangesToPackageReference\";\nimport type { ActionEditProps } from \"../pluginRegistry\";\nimport pluginRegistry from \"../pluginRegistry\";\ninterface DeployJavaPackageSummaryState {\n feedName: string;\n}\nclass DeployJavaPackageActionSummary extends BaseComponent {\n constructor(props: ActionSummaryProps) {\n super(props);\n }\n render() {\n const pkg = GetPrimaryPackageReference(this.props.packages);\n return !pkg /* there was a validation bug that allowed saving of steps to not pick a package */ ? (\n Package was not selected or cannot be found. Please review this step and ensure a valid package is selected.\n ) : (
    \n {\"Deploy a Java package\"} {pkg.PackageId} {\"from\"} \n {this.props.targetRolesAsCSV && (\n {\" \"}\n to deployment targets with \n )}\n
    );\n }\n static displayName = \"DeployJavaPackageActionSummary\";\n}\ntype DeployJavaPackageActionEditState = {};\ntype DeployJavaPackageActionEditProps = ActionEditProps;\ntype Props = DeployJavaPackageActionEditProps & ActionWithFeeds;\nclass DeployJavaPackageActionEditInternal extends BaseComponent {\n constructor(props: Props) {\n super(props);\n this.state = {};\n }\n async componentDidMount() {\n this.props.setPackages(InitialisePrimaryPackageReference(this.props.packages, this.props.feeds), true);\n await this.props.doBusyTask(async () => {\n const properties: any = {};\n if (this.props.properties[\"Octopus.Action.Package.CustomInstallationDirectory\"]) {\n properties[\"Octopus.Action.Package.UseCustomInstallationDirectory\"] = \"True\";\n }\n else if (this.props.properties[\"Octopus.Action.Package.UseCustomInstallationDirectory\"] !== \"True\" && this.props.properties[\"Octopus.Action.Package.UseCustomInstallationDirectory\"] !== \"False\") {\n properties[\"Octopus.Action.Package.UseCustomInstallationDirectory\"] = \"False\";\n }\n if (this.props.properties[\"Octopus.Action.Package.CustomInstallationDirectoryShouldBePurgedBeforeDeployment\"] !== \"True\" &&\n this.props.properties[\"Octopus.Action.Package.CustomInstallationDirectoryShouldBePurgedBeforeDeployment\"] !== \"False\") {\n properties[\"Octopus.Action.Package.CustomInstallationDirectoryShouldBePurgedBeforeDeployment\"] = \"False\";\n }\n if (!this.props.properties[\"Octopus.Action.JavaArchive.DeployExploded\"]) {\n properties[\"Octopus.Action.JavaArchive.DeployExploded\"] = \"False\";\n }\n if (!this.props.properties[\"Octopus.Action.Package.JavaArchiveCompression\"]) {\n properties[\"Octopus.Action.Package.JavaArchiveCompression\"] = \"True\";\n }\n this.props.setProperties(properties, true);\n });\n }\n deploymentSummary() {\n const properties = this.props.properties;\n return Summary.summary(\n Deploying the\n {properties[\"Octopus.Action.JavaArchive.DeployExploded\"] === \"True\" &&  exploded}\n  package\n {properties[\"Octopus.Action.Package.CustomPackageFileName\"] && (\n  named {properties[\"Octopus.Action.Package.CustomPackageFileName\"]}\n )}\n {properties[\"Octopus.Action.Package.UseCustomInstallationDirectory\"] === \"True\" && (\n  to {properties[\"Octopus.Action.Package.CustomInstallationDirectory\"]}\n )}\n {properties[\"Octopus.Action.Package.UseCustomInstallationDirectory\"] === \"False\" &&  to the default location}\n {properties[\"Octopus.Action.Package.CustomInstallationDirectoryShouldBePurgedBeforeDeployment\"] === \"True\" && properties[\"Octopus.Action.Package.UseCustomInstallationDirectory\"] === \"True\" && (\n  purging the destination\n {properties[\"Octopus.Action.Package.CustomInstallationDirectoryPurgeExclusions\"] &&  with exclusions}\n )}\n );\n }\n render() {\n // The package is initialized in componentDidMount, but render gets called before the update is propagated\n if (!this.props.packages || this.props.packages.length === 0) {\n return null;\n }\n const properties = this.props.properties;\n const pkg = GetPrimaryPackageReference(this.props.packages);\n const help = Select the Java archive (.jar, .ear, .war) containing your application. ;\n const deploymentErrorKey = \"Octopus.Action.JavaArchive.DeployExploded|\" +\n \"Octopus.Action.Package.CustomPackageFileName|\" +\n \"Octopus.Action.Package.UseCustomInstallationDirectory|\" +\n \"Octopus.Action.Package.CustomInstallationDirectory|\" +\n \"Octopus.Action.Package.CustomInstallationDirectoryShouldBePurgedBeforeDeployment|\" +\n \"Octopus.Action.Package.CustomInstallationDirectoryPurgeExclusions\";\n return (
    \n \n \n this.props.setPackages(SetPrimaryPackageReference({ PackageId: packageId }, this.props.packages))} onFeedIdChange={(feedId) => this.props.setPackages(SetPrimaryPackageReference({ FeedId: feedId }, this.props.packages))} onPackageVersionChange={(version) => this.props.setPackages(SetPrimaryPackageReference({ Version: version }, this.props.packages))} packageIdError={this.props.getFieldError(\"Octopus.Action.Package.PackageId\")} feedIdError={this.props.getFieldError(\"Octopus.Action.Package.FeedId\")} projectId={this.props.projectId} feeds={this.props.feeds} localNames={this.props.localNames} feedType={[FeedType.Nuget, FeedType.BuiltIn, FeedType.Maven, FeedType.ArtifactoryGeneric]} refreshFeeds={this.loadFeeds} parameters={this.props.parameters} packageSelectionMode={pkg.Properties[\"SelectionMode\"]} packageSelectionModeError={this.props.getFieldError(\"SelectionMode\")} onPackageSelectionModeChange={(value) => this.props.setPackages(SetPrimaryPackageReference(getChangesToPackageReference(value), this.props.packages))} packageParameterName={pkg.Properties[\"PackageParameterName\"]} packageParameterError={this.props.getFieldError(\"PackageParameterName\")} onPackageParameterChange={(packageParameter) => this.props.setPackages(SetPrimaryPackageReference({ Properties: { ...pkg.Properties, PackageParameterName: packageParameter } }, this.props.packages))}/>\n {pkg.Properties[\"SelectionMode\"] === PackageSelectionMode.Immediate && (\n {(feed) => ( this.props.setPackages(SetPrimaryPackageReference({ AcquisitionLocation: acquisitionLocation }, this.props.packages))} feed={feed} projectId={this.props.projectId} localNames={this.props.localNames}/>)}\n )}\n \n Choose how and where the package will be deployed.}>\n this.props.setProperties({ [\"Octopus.Action.JavaArchive.DeployExploded\"]: x })} label=\"Deploy the extracted package\" note={ If selected, the package will be deployed extracted.}/>\n \n

    \n Note: The package is always extracted as part of the deployment process, to allow features such as substituting variables in files. By default the package is re-created before deploying to the destination. If the option\n above is selected it remains extracted.\n

    \n
    \n {properties[\"Octopus.Action.JavaArchive.DeployExploded\"] === \"False\" && (
    \n this.props.setProperties({ [\"Octopus.Action.Package.CustomPackageFileName\"]: x })} label=\"Deployed package file name\"/>\n The optional filename of the copied package. If left blank, the original filename from the feed will be retained.\n {\n this.props.setProperties({ [\"Octopus.Action.Package.JavaArchiveCompression\"]: x });\n }}>\n \n \n The jar command will compress the items in the repackaged archive.\n \n \n \n The jar command will not compress the items in the repackaged archive by passing the -0 argument. This is useful for some packages, like Spring boot archives, that expect library files to\n be uncompressed in the resulting JAR file. More information.\n \n \n
    )}\n {\n this.props.setProperties({ [\"Octopus.Action.Package.UseCustomInstallationDirectory\"]: x });\n if (properties[\"Octopus.Action.Package.UseCustomInstallationDirectory\"] !== \"True\") {\n this.props.setProperties({ [\"Octopus.Action.Package.CustomInstallationDirectory\"]: \"\" });\n }\n }} label=\"Use custom deployment directory\" note={By default the package will be deployed to the target's application directory. This options allows setting a custom deployment directory.}/>\n {properties[\"Octopus.Action.Package.UseCustomInstallationDirectory\"] === \"True\" && (
    \n this.props.setProperties({ [\"Octopus.Action.Package.CustomInstallationDirectory\"]: x })} label=\"Deploy Directory\"/>\n The installed package will be copied to this location on the remote machine.\n this.props.setProperties({ [\"Octopus.Action.Package.CustomInstallationDirectoryShouldBePurgedBeforeDeployment\"]: x })} label=\"Purge\"/>\n Before the installed package is copied, all files in this location will be removed.\n {properties[\"Octopus.Action.Package.CustomInstallationDirectoryShouldBePurgedBeforeDeployment\"] === \"True\" && (
    \n this.props.setProperties({ [\"Octopus.Action.Package.CustomInstallationDirectoryPurgeExclusions\"]: x })} label=\"Exclude from purge\" multiline={true} minRows={5}/>\n \n A newline-separated list of file or directory names, relative to the installation directory, to leave when it is purged. To exclude a whole directory, specify it by name without a wildcard. Extended wildcard\n syntax is supported. E.g., appsettings.config, Config,Config\\*.config, **\\*.config\n \n
    )}\n
    )}\n
    \n
    );\n }\n private loadFeeds = async () => {\n await this.props.refreshFeeds();\n };\n static displayName = \"DeployJavaPackageActionEditInternal\";\n}\nexport function DeployJavaPackageActionEdit(props: React.PropsWithChildren) {\n const feeds = useFeedsFromContext();\n const refreshFeeds = useRefreshFeedsFromContext();\n return ;\n}\npluginRegistry.registerAction({\n executionLocation: ActionExecutionLocation.AlwaysOnTarget,\n actionType: \"Octopus.JavaArchive\",\n summary: (properties, targetRolesAsCSV, packages) => ,\n editSections: { default: DeployJavaPackageActionEdit },\n canHaveChildren: (step) => true,\n canBeChild: true,\n targetRoleOption: (action) => TargetRoles.Optional,\n hasPackages: (action) => true,\n features: {\n optional: [\"Octopus.Features.CustomScripts\", \"Octopus.Features.JsonConfigurationVariables\", \"Octopus.Features.SubstituteInFiles\", \"Octopus.Features.SelectPowerShellEditionForWindows\"],\n initial: [\"Octopus.Features.SubstituteInFiles\"],\n },\n});\n","/* eslint-disable @typescript-eslint/no-non-null-assertion */\nimport type { JavaKeystoreProperties } from \"@octopusdeploy/legacy-action-properties\";\nimport { ActionExecutionLocation } from \"@octopusdeploy/octopus-server-client\";\nimport * as React from \"react\";\nimport { TargetRoles } from \"~/areas/projects/components/Process/types\";\nimport { repository } from \"~/clientInstance\";\nimport Roles from \"~/components/Actions/Roles\";\nimport { BaseComponent } from \"~/components/BaseComponent/BaseComponent\";\nimport ExpandableFormSection from \"~/components/form/Sections/ExpandableFormSection\";\nimport ExpanderSectionHeading from \"~/components/form/Sections/FormSectionHeading\";\nimport Summary from \"~/components/form/Sections/Summary\";\nimport type { ActionSummaryProps } from \"../actionSummaryProps\";\nimport type { ActionEditProps } from \"../pluginRegistry\";\nimport pluginRegistry from \"../pluginRegistry\";\nimport type { JavaKeystoreActionEditState } from \"./javaKeystoreComponent\";\nimport JavaKeystoreComponent from \"./javaKeystoreComponent\";\nclass JavaKeystoreActionSummary extends BaseComponent {\n constructor(props: ActionSummaryProps) {\n super(props);\n }\n render() {\n return (
    \n Deploy a Java keystore to the target filesystem{\" \"}\n {this.props.targetRolesAsCSV && (\n to deployment targets with \n )}\n
    );\n }\n static displayName = \"JavaKeystoreActionSummary\";\n}\nexport class JavaKeystoreActionEdit extends BaseComponent, JavaKeystoreActionEditState> {\n constructor(props: ActionEditProps) {\n super(props);\n this.state = {\n project: null!,\n };\n }\n async componentDidMount() {\n await this.props.doBusyTask(async () => {\n const project = await repository.Projects.get(this.props.projectId!);\n this.setState({ project });\n });\n }\n render() {\n return (
    \n \n \n \n

    \n The path of the keystore file to create. This must be an absolute path, the parent directory must exist, and the path must include the keystore filename e.g. C:\\Keys\\my.keystore or{\" \"}\n /opt/server/conf/keys.store.\n

    \n

    If the file exists, it will be overwritten.

    \n } expandedByDefault={this.props.expandedByDefault}/>\n
    \n
    );\n }\n keystoreSummary() {\n const properties = this.props.properties;\n if (properties[\"Java.Certificate.Variable\"]) {\n return Summary.summary(\n Deploying certificate referenced by the {properties[\"Java.Certificate.Variable\"]} variable\n {properties[\"Java.Certificate.KeystoreFilename\"] && (\n  to the file {properties[\"Java.Certificate.KeystoreFilename\"]}\n )}\n {properties[\"Java.Certificate.Password\"] &&  with a custom password}\n {!properties[\"Java.Certificate.Password\"] &&  with the default password}\n {properties[\"Java.Certificate.KeystoreAlias\"] && (\n  and with the alias {properties[\"Java.Certificate.KeystoreAlias\"]}\n )}\n {!properties[\"Java.Certificate.KeystoreAlias\"] &&  and with the default alias}\n );\n }\n return Summary.placeholder(Define the keystore details);\n }\n static displayName = \"JavaKeystoreActionEdit\";\n}\npluginRegistry.registerAction({\n executionLocation: ActionExecutionLocation.AlwaysOnTarget,\n actionType: \"Octopus.JavaDeployCertificate\",\n summary: (properties, targetRolesAsCSV) => ,\n editSections: { default: JavaKeystoreActionEdit },\n canHaveChildren: (step) => true,\n canBeChild: true,\n targetRoleOption: (action) => TargetRoles.Optional,\n hasPackages: (action) => true,\n docsLink: \"deployKeystoreToFilesystem\",\n});\n","/* eslint-disable @typescript-eslint/no-non-null-assertion */\n/* eslint-disable @typescript-eslint/consistent-type-assertions */\nimport type { PropertyValueResource } from \"@octopusdeploy/octopus-server-client\";\nimport { ActionExecutionLocation } from \"@octopusdeploy/octopus-server-client\";\nimport * as React from \"react\";\nimport { TargetRoles } from \"~/areas/projects/components/Process/types\";\nimport { BaseComponent } from \"~/components/BaseComponent/BaseComponent\";\nimport type { SummaryNode } from \"~/components/form\";\nimport { ExpandableFormSection, Summary } from \"~/components/form\";\nimport ExpanderSectionHeading from \"~/components/form/Sections/FormSectionHeading\";\nimport { BoundSensitive } from \"~/components/form/Sensitive/Sensitive\";\nimport type { ActionSummaryProps } from \"../actionSummaryProps\";\nimport type { ActionEditProps } from \"../pluginRegistry\";\nimport pluginRegistry from \"../pluginRegistry\";\nclass JiraServiceDeskChangeRequestActionSummary extends BaseComponent {\n constructor(props: ActionSummaryProps) {\n super(props);\n }\n render() {\n const properties = this.props.properties;\n const serviceId = properties[\"Octopus.Action.JiraIntegration.ServiceDesk.ServiceId\"] as string;\n return
    Whatever Service Id {serviceId ? \"Set\" : \"Not set\"}
    ;\n }\n static displayName = \"JiraServiceDeskChangeRequestActionSummary\";\n}\nexport interface JiraServiceDeskChangeRequestProperties {\n \"Octopus.Action.JiraIntegration.ServiceDesk.ServiceId\": PropertyValueResource;\n}\nclass JiraServiceDeskChangeRequestActionEdit extends BaseComponent, never> {\n constructor(props: ActionEditProps) {\n super(props);\n }\n render() {\n const properties = this.props.properties;\n return (
    \n \n\n \n this.props.setProperties({ [\"Octopus.Action.JiraIntegration.ServiceDesk.ServiceId\"]: val })} label=\"Service Id\"/>\n \n
    );\n }\n serviceIdSummary(): SummaryNode {\n const val = this.props.properties[\"Octopus.Action.JiraIntegration.ServiceDesk.ServiceId\"];\n return val ? Summary.placeholder(\"The Service Id has been provided\") : Summary.placeholder(\"The Service Id has not been provided\");\n }\n static displayName = \"JiraServiceDeskChangeRequestActionEdit\";\n}\npluginRegistry.registerAction({\n executionLocation: ActionExecutionLocation.AlwaysOnServer,\n canRunOnWorker: false,\n actionType: \"Octopus.JiraIntegration.ServiceDeskAction\",\n summary: (properties, targetRolesAsCSV) => ,\n canHaveChildren: () => false,\n canBeChild: true,\n editSections: { default: JiraServiceDeskChangeRequestActionEdit },\n targetRoleOption: () => TargetRoles.None,\n});\n","import * as React from \"react\";\nimport type { SFC } from \"react\";\nimport ExpandableFormSection from \"../../form/Sections/ExpandableFormSection\";\nimport Summary from \"../../form/Sections/Summary\";\nimport { VariableLookupText } from \"../../form/VariableLookupText\";\nconst KubernetesNamespaceFormSection: SFC<{\n namespace: string;\n onChange: (namespace: string) => void;\n}> = (props) => {\n const namespace = props.namespace;\n let summary = Summary.default(The Kubernetes context will be set with the namespace configured on the Kubernetes deployment target, or the default namespace if none is specified on the target.);\n if (!!namespace) {\n summary = Summary.summary(\n The Kubernetes context with be set with the namespace {namespace}\n );\n }\n return (\n \n );\n};\nexport default KubernetesNamespaceFormSection;\n","import type { KubernetesScriptProperties } from \"@octopusdeploy/legacy-action-properties\";\nimport type { AccountResource } from \"@octopusdeploy/octopus-server-client\";\nimport { ActionExecutionLocation } from \"@octopusdeploy/octopus-server-client\";\nimport * as React from \"react\";\nimport { TargetRoles } from \"~/areas/projects/components/Process/types\";\nimport { repository } from \"~/clientInstance\";\nimport { kubernetesMixedExecutionLocationConfig } from \"~/components/Actions/kubernetes/kubernetesMixedExecutionLocationConfig\";\nimport { BaseComponent } from \"~/components/BaseComponent/BaseComponent\";\nimport { SupportedLanguage } from \"../../ScriptingLanguageSelector/ScriptingLanguageSelector\";\nimport type { ActionSummaryProps } from \"../actionSummaryProps\";\nimport type { ActionEditProps } from \"../pluginRegistry\";\nimport pluginRegistry from \"../pluginRegistry\";\nimport type { ScriptPackageProperties } from \"../script/ScriptPackageReferenceDialog\";\nimport { ScriptActionEdit } from \"../script/scriptAction\";\nimport { getKubernetesTargetDiscoveryCloudProviders } from \"./getKubernetesTargetDiscoveryCloudProviders\";\nimport KubernetesNamespaceFormSection from \"./kubernetesNamespaceFormSection\";\nclass KubernetesRunScriptActionSummary extends BaseComponent {\n constructor(props: ActionSummaryProps) {\n super(props);\n }\n render() {\n return
    Run a script within an environment configured using the Kubernetes target.
    ;\n }\n static displayName = \"KubernetesRunScriptActionSummary\";\n}\ninterface KubernetesRunScriptActionEditState {\n accounts: AccountResource[];\n}\ntype KubernetesRunScriptActionEditProps = ActionEditProps;\nclass KubernetesRunScriptActionEdit extends BaseComponent {\n constructor(props: KubernetesRunScriptActionEditProps) {\n super(props);\n }\n async componentDidMount() {\n await this.props.doBusyTask(async () => {\n this.setState({\n accounts: await repository.Accounts.all(),\n });\n });\n }\n render() {\n return (
    \n \n this.props.setProperties({ [\"Octopus.Action.KubernetesContainers.Namespace\"]: ns })}/>\n
    );\n }\n static displayName = \"KubernetesRunScriptActionEdit\";\n}\npluginRegistry.registerAction({\n executionLocation: ActionExecutionLocation.AlwaysOnServer,\n actionType: \"Octopus.KubernetesRunScript\",\n summary: (properties, targetRolesAsCSV) => ,\n canHaveChildren: (step) => true,\n canBeChild: true,\n editSections: {\n top: (props: KubernetesRunScriptActionEditProps) => ,\n default: (_: KubernetesRunScriptActionEditProps) => <>,\n },\n targetRoleOption: (action) => TargetRoles.Required,\n hasPackages: (action) => true,\n features: {\n optional: [\"Octopus.Features.SubstituteInFiles\", \"Octopus.Features.JsonConfigurationVariables\", \"Octopus.Features.ConfigurationTransforms\", \"Octopus.Features.ConfigurationVariables\", \"Octopus.Features.SelectPowerShellEditionForWindows\"],\n },\n targetDiscoveryCloudConnectionProviders: getKubernetesTargetDiscoveryCloudProviders,\n canUseExecutionTimeouts: false,\n mixedExecutionLocations: () => kubernetesMixedExecutionLocationConfig(true),\n disableInlineExecutionContainers: true,\n});\n","export const NumberRegex = /^\\d+$/;\n/**\n * http://yaml.org/type/bool.html\n */\nexport const BooleanRegex = /^(true|True|TRUE|false|False|FALSE)$/;\nexport const KubernetesResourceQuantityRegex = /^([+-]?[0-9.]+)([eEinumkKMGTP]*[-+]?[0-9]*)$/;\nexport const KubernetesNameRegex = /^[a-z0-9]([-a-z0-9]*[a-z0-9])?$/;\nexport const KubernetesWildcardIngressHostRegex = /^\\*\\.[a-z0-9]([-a-z0-9]*[a-z0-9])?(\\.[a-z0-9]([-a-z0-9]*[a-z0-9])?)*$/;\nexport const KubernetesIngressHostRegex = /^[a-z0-9]([-a-z0-9]*[a-z0-9])?(\\.[a-z0-9]([-a-z0-9]*[a-z0-9])?)*$/;\nexport const KubernetesLabelKeyRegex = /^([A-Za-z0-9][-A-Za-z0-9_.]*)?[A-Za-z0-9]$/;\nexport const Dns1132Regex = /^[a-z0-9]([-a-z0-9]*[a-z0-9])?(\\.[a-z0-9]([-a-z0-9]*[a-z0-9])?)*$/;\nexport const KubernetesPathTypeRegex = /^(Exact|ImplementationSpecific|Prefix)$/;\n","import * as React from \"react\";\nimport type { AutoCompleteProps } from \"~/components/AutoComplete/AutoComplete\";\nimport AutoComplete from \"~/components/AutoComplete/AutoComplete\";\nimport type { GlobalConnectedProps } from \"~/components/form/VariableLookup/VariableLookup\";\nimport { withVariableLookup } from \"~/components/form/VariableLookup/VariableLookup\";\nconst AutoCompleteWithInputRef = (props: AutoCompleteProps & GlobalConnectedProps) => ;\nexport const VariableLookupAutoComplete = withVariableLookup()(AutoCompleteWithInputRef);\n","/* eslint-disable @typescript-eslint/no-non-null-assertion */\n/* eslint-disable @typescript-eslint/no-explicit-any */\n/* eslint-disable @typescript-eslint/consistent-type-assertions */\nimport { ActionButton } from \"@octopusdeploy/design-system-components\";\nimport { noOp } from \"@octopusdeploy/utilities\";\nimport * as _ from \"lodash\";\nimport * as React from \"react\";\nimport type { OctopusTheme } from \"~/components/Theme\";\nimport { withTheme } from \"~/components/Theme\";\nimport type { Item } from \"../../primitiveComponents/form/Select/Select\";\nimport { BoundSelect } from \"../../primitiveComponents/form/Select/Select\";\nimport type { TextInput } from \"../../primitiveComponents/form/Text/Text\";\nimport { DebounceText } from \"../../primitiveComponents/form/Text/Text\";\nimport type { BoundFieldProps } from \"../Actions/pluginRegistry\";\nimport type { AutoCompleteSearchResults } from \"../AutoComplete\";\nimport { RemoveItemsList } from \"../RemoveItemsList/RemoveItemsList\";\nimport { VariableLookupAutoComplete } from \"../form/VariableLookupAutoComplete\";\nimport { VariableLookupText } from \"../form/VariableLookupText\";\nimport styles from \"./style.module.less\";\nfunction buildErrorStyle(theme: OctopusTheme) {\n return { bottom: \"0px\", color: theme.danger };\n}\nexport interface KeyValueOption {\n key: string;\n keyError?: string;\n value: string;\n valueError?: string;\n option: string;\n optionError?: string;\n option2: string;\n option2Error?: string;\n}\nclass KeyValueOptionRemoveItemsList extends RemoveItemsList {\n}\nexport interface KeyValueOptionEditListProps {\n items: () => KeyValueOption[];\n name: string;\n verb?: string;\n keyLabel: string;\n keyHintText?: string;\n keyMultiline?: boolean;\n keyRowsMax?: number;\n valueLabel?: string;\n valueValues?: Item[];\n valueMultiline?: boolean;\n valueRowsMax?: number;\n valueReset?: string;\n valueHintText?: string;\n optionLabel?: string;\n optionValues?: Item[];\n optionReset?: string;\n optionHintText?: string;\n optionMultiline?: boolean;\n optionRowsMax?: number;\n option2Label?: string;\n option2Values?: Item[];\n option2Reset?: string;\n option2HintText?: string;\n option2Multiline?: boolean;\n option2RowsMax?: number;\n reverseLayout?: boolean;\n hideBindOnKey?: boolean;\n onChange: (items: KeyValueOption[]) => void;\n onAdd?: (items: KeyValueOption[]) => void;\n getOptions?: (searchText: string) => Promise;\n getValueOptions?: (searchText: string) => Promise;\n getOptionOptions?: (searchText: string) => Promise;\n getOption2Options?: (searchText: string) => Promise;\n addToTop?: boolean;\n}\nexport interface KeyValueOptionEditListState {\n source: KeyValueOption[];\n}\n/*\n * The extended key value list supports:\n * - Select boxes\n * - Suggestion boxes\n * - Errors on items\n * - On add callback\n * - More inputs (between 2 and 4)\n * - Adding new items to the top of the list\n * @param item\n * @param idx\n * @param data\n * @param theme\n */\nexport class ExtendedKeyValueEditList extends React.PureComponent {\n adding = false;\n constructor(props: KeyValueOptionEditListProps & BoundFieldProps) {\n super(props);\n this.state = {\n source: props.items(),\n };\n }\n handleRemoveRow = (item: any) => {\n const data = this.state.source;\n data.splice(data.indexOf(item), 1);\n this.invokeOnChange(data);\n };\n handleRowRef = (idx: number) => (input: TextInput | null) => {\n if (input && this.adding && idx === 0) {\n input.focus();\n this.adding = false;\n }\n };\n handleKeyChange = (idx: number) => (val: any) => {\n const data = this.state.source;\n data[idx].key = val;\n this.invokeOnChange(data);\n };\n handleValueChange = (idx: number) => (val: any) => {\n const data = this.state.source;\n data[idx].value = val;\n this.invokeOnChange(data);\n };\n handleOptionChange = (idx: number) => (val: any) => {\n const data = this.state.source;\n data[idx].option = val;\n this.invokeOnChange(data);\n };\n handleOption2Change = (idx: number) => (val: any) => {\n const data = this.state.source;\n data[idx].option2 = val;\n this.invokeOnChange(data);\n };\n invokeOnChange = (data: KeyValueOption[]) => {\n this.props.onChange([...data]);\n };\n invokeOnAdd = () => {\n if (this.props.onAdd) {\n this.props.onAdd([...this.state.source]);\n }\n };\n handleAddClick = () => {\n this.adding = true;\n if (this.props.addToTop) {\n this.setState((prev) => ({\n ...prev,\n source: [\n {\n key: \"\",\n keyError: null!,\n value: \"\",\n valueError: null!,\n option: \"\",\n optionError: null!,\n option2: \"\",\n option2Error: null!,\n },\n ...prev.source,\n ],\n }), this.invokeOnAdd);\n }\n else {\n this.setState((prev) => ({\n ...prev,\n source: [\n ...prev.source,\n {\n key: \"\",\n keyError: null!,\n value: \"\",\n valueError: null!,\n option: \"\",\n optionError: null!,\n option2: \"\",\n option2Error: null!,\n },\n ],\n }), this.invokeOnAdd);\n }\n };\n renderRow = (item: any, idx: number, theme: OctopusTheme) => {\n let fields = [\n
    \n {this.props.hideBindOnKey ? () : this.props.getOptions ? () : ()}\n
    ,\n this.errorText(theme, item.keyError),\n ];\n if (this.props.valueLabel) {\n fields.push(
    \n {this.props.valueValues ? () : this.props.getValueOptions ? () : ()}\n
    , this.errorText(theme, item.valueError));\n }\n if (this.props.optionLabel) {\n fields.push(
    \n {this.props.optionValues ? () : this.props.getOptionOptions ? () : ()}\n
    , this.errorText(theme, item.optionError));\n }\n if (this.props.option2Label) {\n fields.push(
    \n {this.props.option2Values ? () : this.props.getOption2Options ? () : ()}\n
    , this.errorText(theme, item.option2Error));\n }\n if (this.props.reverseLayout) {\n fields = fields.reverse();\n }\n return (
    \n {fields}\n
    );\n };\n render() {\n return withTheme((theme) => {\n const renderRow = (item: any, idx: number) => this.renderRow(item, idx, theme);\n const actionButton = ;\n return ;\n });\n }\n private errorText(theme: OctopusTheme, error: string | undefined) {\n if (error) {\n return
    {error}
    ;\n }\n }\n static displayName = \"ExtendedKeyValueEditList\";\n}\nexport type StringKeyValueOptionEditListProps = Omit & {\n items: string;\n onChange(items: string): void;\n};\nfunction stringToKeyValueOptions(value: string): KeyValueOption[] {\n if (value === null || value === undefined) {\n return [];\n }\n const arrayValue = JSON.parse(value) as KeyValueOption[];\n /*\n Swapping between UI elements can lead to objects (i.e. {\"key\": \"value\"} being saved\n and arrays (i.e [{\"key\":\"value\"}]) being expected. So make sure we actually received\n and array.\n */\n return _.isArray(arrayValue) ? arrayValue : ([] as KeyValueOption[]);\n}\nconst StringExtendedKeyValueEditList: React.SFC = ({ items, onChange, ...rest }) => ( stringToKeyValueOptions(items)} onChange={(values) => onChange(JSON.stringify(values))} {...rest}/>);\nStringExtendedKeyValueEditList.displayName = \"StringExtendedKeyValueEditList\"\nexport default StringExtendedKeyValueEditList;\n","/* eslint-disable @typescript-eslint/no-non-null-assertion */\nimport { RadioButtonGroup, RadioButton } from \"@octopusdeploy/design-system-components\";\nimport type { GitRefResource, ProjectResource } from \"@octopusdeploy/octopus-server-client\";\nimport * as _ from \"lodash\";\nimport * as React from \"react\";\nimport { repository } from \"~/clientInstance\";\nimport { KubernetesNameRegex } from \"~/components/Actions/kubernetes/kubernetesValidation\";\nimport { DataBaseComponent } from \"~/components/DataBaseComponent\";\nimport type { DataBaseComponentState } from \"~/components/DataBaseComponent\";\nimport { ExtendedKeyValueEditList } from \"~/components/EditList/ExtendedKeyValueEditList\";\nimport Note from \"../../../primitiveComponents/form/Note/Note\";\nimport { BoundSelect, default as Select } from \"../../../primitiveComponents/form/Select/Select\";\nimport OkDialogLayout from \"../../DialogLayout/OkDialogLayout\";\nimport isBound from \"../../form/BoundField/isBound\";\nimport { VariableLookupText } from \"../../form/VariableLookupText\";\nimport type { CombinedVolumeDetails } from \"./kubernetesDeployContainersAction\";\nexport const ConfigMapType = \"ConfigMap\";\nexport const SecretType = \"Secret\";\nexport const EmptyDirType = \"EmptyDir\";\nexport const HostPathType = \"HostPath\";\nexport const PersistentVolumeClaimType = \"PersistentVolumeClaim\";\nexport const RawYamlType = \"RawYaml\";\nexport const CustomResource = \"CustomResource\";\nexport const LinkedResource = \"LinkedResource\";\ninterface ContainerState extends DataBaseComponentState {\n combinedVolumeDetails: CombinedVolumeDetails;\n project?: ProjectResource;\n configMapFeatureEnabled: boolean;\n secretFeatureEnabled: boolean;\n}\ninterface CombinedVolumeProps {\n combinedVolumeDetails: CombinedVolumeDetails;\n localNames: string[];\n projectId: string;\n gitRef: GitRefResource | undefined;\n featuresEnabled: string;\n standalone?: boolean;\n onAdd(Binding: CombinedVolumeDetails): boolean;\n doBusyTask(action: () => Promise): Promise;\n}\nclass CombinedVolumeDialog extends DataBaseComponent {\n constructor(props: CombinedVolumeProps) {\n super(props);\n this.state = {\n combinedVolumeDetails: null!,\n project: null!,\n configMapFeatureEnabled: false,\n secretFeatureEnabled: false,\n };\n }\n async componentDidMount() {\n await this.doBusyTask(async () => {\n const project = this.props.projectId ? await repository.Projects.get(this.props.projectId) : null;\n const configMapFeatureEnabled = !!this.props.featuresEnabled && this.props.featuresEnabled.split(\",\").includes(\"Octopus.Features.KubernetesConfigMap\");\n const secretFeatureEnabled = !!this.props.featuresEnabled && this.props.featuresEnabled.split(\",\").includes(\"Octopus.Features.KubernetesSecret\");\n const combinedVolumeDetails: CombinedVolumeDetails = { ...this.props.combinedVolumeDetails };\n // If the config map feature is not enabled, then we must supply a custom name\n if ((combinedVolumeDetails.Type === ConfigMapType && !configMapFeatureEnabled) || (combinedVolumeDetails.Type === SecretType && !secretFeatureEnabled) || !combinedVolumeDetails.ReferenceNameType) {\n combinedVolumeDetails.ReferenceNameType = CustomResource;\n }\n this.setState({\n combinedVolumeDetails,\n configMapFeatureEnabled,\n secretFeatureEnabled,\n });\n });\n }\n save = () => {\n let valid = true;\n const binding = this.state.combinedVolumeDetails;\n if (!(isBound(binding.Name) || KubernetesNameRegex.exec(binding.Name))) {\n this.setValidationErrors(\"The volume name must consist of lower case alphanumeric characters or '-', and must start and end with an alphanumeric character.\", { CombinedVolumeDetailsName: \"The volume name must be defined.\" });\n valid = false;\n }\n if (binding.Type === ConfigMapType) {\n if (binding.ReferenceNameType === CustomResource && (!binding.ReferenceName || !binding.ReferenceName.trim())) {\n this.setValidationErrors(\"The ConfigMap name must be defined.\", { CombinedVolumeReferenceName: \"The ConfigMap name must be defined.\" });\n valid = false;\n }\n }\n if (binding.Type === SecretType) {\n if (binding.ReferenceNameType === CustomResource && (!binding.ReferenceName || !binding.ReferenceName.trim())) {\n this.setValidationErrors(\"The secret name must be defined.\", { CombinedVolumeReferenceName: \"The secret name must be defined.\" });\n valid = false;\n }\n }\n if (binding.Type === HostPathType) {\n if (!binding.HostPathPath || !binding.HostPathPath.trim()) {\n this.setValidationErrors(\"The host path path must be defined.\", { CombinedVolumeHostPathPath: \"The host path path must be defined.\" });\n valid = false;\n }\n }\n if (binding.Type === PersistentVolumeClaimType) {\n if (!binding.ReferenceName || !binding.ReferenceName.trim()) {\n this.setValidationErrors(\"The persistent volume claim name must be defined.\", { CombinedVolumeReferenceName: \"The persistent volume claim name must be defined.\" });\n valid = false;\n }\n }\n if (binding.Type === RawYamlType) {\n if (!binding.RawYaml || !binding.RawYaml.trim()) {\n this.setValidationErrors(\"The YAML must be defined.\", { CombinedVolumeRawYaml: \"The YAML must be defined.\" });\n valid = false;\n }\n }\n if (valid) {\n return this.props.onAdd(binding);\n }\n return valid;\n };\n render() {\n return (\n {this.state.combinedVolumeDetails && (
    \n this.onChangeType(a as LifeCycleHandlerType)}/>\n {handlerType === LifeCycleHandlerType.Exec && (
    \n this.props.onChange({ Exec: { ...handler.Exec, command: command.split(\"\\n\") } })}/>\n
    )}\n {handlerType === LifeCycleHandlerType.HttpGet && (
    \n this.props.onChange({ HttpGet: { ...handler.HttpGet!, scheme } })} label=\"Scheme\" items={[\n { value: \"HTTP\", text: \"HTTP\" },\n { value: \"HTTPS\", text: \"HTTPS\" },\n ]} resetValue={\"HTTP\"}/>\n this.props.onChange({ HttpGet: { ...handler.HttpGet!, host } })}/>\n this.props.onChange({ HttpGet: { ...handler.HttpGet!, path } })}/>\n this.props.onChange({ HttpGet: { ...handler.HttpGet, port } })}/>\n

    \n HTTP Header\n

    \n

    Add HTTP headers to be sent with the request.

    \n handler.HttpGet!.httpHeaders || []} name=\"HTTP Header\" onChange={(headers) => this.props.onChange({ HttpGet: { ...handler.HttpGet!, httpHeaders: headers } })} onAdd={() => this.repositionDialog()} valueLabel=\"Value\" keyLabel=\"Name\" hideBindOnKey={false} addToTop={true}/>\n
    )}\n\n {handlerType === LifeCycleHandlerType.TcpSocket && (
    \n this.props.onChange({ TcpSocket: { ...handler.TcpSocket!, host } })}/>\n this.props.onChange({ TcpSocket: { ...handler.TcpSocket, port } })}/>\n
    )}\n );\n }\n private repositionDialog() {\n window.dispatchEvent(new Event(\"resize\"));\n }\n static displayName = \"LifecycleHandlerFormSection\";\n}\n","/* eslint-disable @typescript-eslint/no-non-null-assertion */\n/* eslint-disable @typescript-eslint/no-explicit-any */\n/* eslint-disable @typescript-eslint/consistent-type-assertions */\nimport { RadioButton } from \"@octopusdeploy/design-system-components\";\nimport type { ActionTemplateParameterResource, GitRefResource, ProjectResource, FeedResource } from \"@octopusdeploy/octopus-server-client\";\nimport { FeedType, PackageSelectionMode } from \"@octopusdeploy/octopus-server-client\";\nimport * as _ from \"lodash\";\nimport * as React from \"react\";\nimport { repository } from \"~/clientInstance\";\nimport { BooleanRegex, KubernetesNameRegex, KubernetesResourceQuantityRegex, NumberRegex } from \"~/components/Actions/kubernetes/kubernetesValidation\";\nimport type { DataBaseComponentState } from \"~/components/DataBaseComponent/DataBaseComponent\";\nimport { DataBaseComponent } from \"~/components/DataBaseComponent/DataBaseComponent\";\nimport OkDialogLayout from \"~/components/DialogLayout/OkDialogLayout\";\nimport type { KeyValueOption } from \"~/components/EditList/ExtendedKeyValueEditList\";\nimport { ExtendedKeyValueEditList } from \"~/components/EditList/ExtendedKeyValueEditList\";\nimport ExternalLink from \"~/components/Navigation/ExternalLink/ExternalLink\";\nimport { FormSectionHeading } from \"~/components/form\";\nimport isBound from \"~/components/form/BoundField/isBound\";\nimport { CardFill, default as ExpandableFormSection } from \"~/components/form/Sections/ExpandableFormSection\";\nimport Summary from \"~/components/form/Sections/Summary\";\nimport { VariableLookupText } from \"~/components/form/VariableLookupText\";\nimport Note from \"~/primitiveComponents/form/Note/Note\";\nimport { BoundRadioButtonGroup } from \"~/primitiveComponents/form/RadioButton/BoundRadioButtonGroup\";\nimport { BoundSelect, default as Select } from \"~/primitiveComponents/form/Select/Select\";\nimport { DebounceText } from \"~/primitiveComponents/form/Text/Text\";\nimport { PosixCapabilities } from \"../../Features/kubernetes/posixCapabilitiesSuggestions\";\nimport DeferredPackageSelector from \"../../PackageSelector/DeferredPackageSelector\";\nimport type { ScriptPackageProperties } from \"../script/ScriptPackageReferenceDialog\";\nimport type { Capabilities, CombinedVolumeDetails, ContainerPackageDetails, ExecAction, HTTPGetAction, Probe, ResourceRequirementsDetails, SecurityContext, SELinuxOptions } from \"./kubernetesDeployContainersAction\";\nimport { LifecycleHandlerFormSection } from \"./lifecycleHandlerFormSection\";\nexport const CommandCheck = \"Command\";\nexport const HttpGetCheck = \"HttpGet\";\nexport const TcpSocketCheck = \"TcpSocket\";\ninterface ContainerState extends DataBaseComponentState {\n containerDetails: ContainerPackageDetails;\n project?: ProjectResource;\n}\ninterface ContainerProps {\n containerDetails: ContainerPackageDetails;\n localNames: string[];\n feeds: FeedResource[];\n parameters?: ActionTemplateParameterResource[];\n projectId: string;\n gitRef: GitRefResource | undefined;\n volumes: CombinedVolumeDetails[];\n standalone?: boolean;\n onAdd(Binding: ContainerPackageDetails): boolean;\n doBusyTask(action: () => Promise): Promise;\n refreshFeeds(): Promise;\n}\nclass ContainerDialog extends DataBaseComponent {\n constructor(props: ContainerProps) {\n super(props);\n this.state = {\n containerDetails: null!,\n project: null!,\n };\n }\n async componentDidMount() {\n await this.doBusyTask(async () => {\n const project = this.props.projectId ? await repository.Projects.get(this.props.projectId) : null;\n this.setState({\n containerDetails: this.props.containerDetails!,\n project: project!,\n });\n });\n }\n save = () => {\n let valid = true;\n const binding = this.state.containerDetails;\n if (!binding.Name || (!isBound(binding.Name) && !KubernetesNameRegex.exec(binding.Name))) {\n this.setValidationErrors(\"The container name must consist of lower case alphanumeric characters or '-', and must start and end with an alphanumeric character.\", {\n ContainerDetailsName: \"The container name must consist of lower case alphanumeric characters or '-', and must start and end with an alphanumeric character.\",\n });\n valid = false;\n }\n if (!binding.PackageId && binding.Properties.SelectionMode != PackageSelectionMode.Deferred) {\n this.setValidationErrors(\"A package ID must be selected from the feed.\", { ContainerDetailsPackage: \"A package ID must be selected from the feed.\" });\n valid = false;\n }\n this.validateEnvironmentVariablesHaveNames(binding.EnvironmentVariables);\n this.validateEnvironmentVariablesHaveNames(binding.ConfigMapEnvironmentVariables);\n this.validateEnvironmentVariablesHaveNames(binding.SecretEnvironmentVariables);\n this.validateEnvironmentVariablesHaveNames(binding.FieldRefEnvironmentVariables);\n this.validateEnvironmentFromVariablesHaveNames(binding.ConfigMapEnvFromSource);\n this.validateEnvironmentFromVariablesHaveNames(binding.SecretEnvFromSource);\n if (binding.ConfigMapEnvironmentVariables) {\n binding.ConfigMapEnvironmentVariables.forEach((p) => {\n p.valueError = p.value && p.value.trim() ? null! : \"The ConfigMap name must be defined when referenced as an environment variable.\";\n p.optionError = p.option && p.option.trim() ? null! : \"The ConfigMap key must be defined when referenced as an environment variable.\";\n });\n if (binding.ConfigMapEnvironmentVariables.find((p) => !!p.valueError || !!p.keyError || !!p.optionError)) {\n this.setValidationErrors(\"The ConfigMap environment variables are incorrectly configured.\");\n valid = false;\n }\n }\n if (binding.SecretEnvironmentVariables) {\n binding.SecretEnvironmentVariables.forEach((p) => {\n p.valueError = p.value && p.value.trim() ? null! : \"The secret name must be defined when referenced as an environment variable.\";\n p.optionError = p.option && p.option.trim() ? null! : \"The secret key must be defined when referenced as an environment variable.\";\n });\n if (binding.SecretEnvironmentVariables.find((p) => !!p.valueError || !!p.keyError || !!p.optionError)) {\n this.setValidationErrors(\"The secret environment variables are incorrectly configured.\");\n valid = false;\n }\n }\n if (binding.FieldRefEnvironmentVariables) {\n binding.FieldRefEnvironmentVariables.forEach((p) => {\n p.valueError = p.value && p.value.trim() ? null! : \"The field path must be defined\";\n });\n if (binding.FieldRefEnvironmentVariables.find((p) => !!p.valueError || !!p.keyError)) {\n this.setValidationErrors(\"The container and pod field environment variables are incorrectly configured.\");\n valid = false;\n }\n }\n if (binding.ConfigMapEnvFromSource) {\n binding.ConfigMapEnvFromSource.forEach((p) => {\n p.keyError = p.key && p.key.trim() ? null! : \"The ConfigMap name must be defined when referenced as an environment variable.\";\n });\n if (binding.ConfigMapEnvFromSource.find((p) => !!p.valueError || !!p.keyError || !!p.optionError)) {\n this.setValidationErrors(\"The ConfigMap environment variables are incorrectly configured.\");\n valid = false;\n }\n }\n if (binding.SecretEnvFromSource) {\n binding.SecretEnvFromSource.forEach((p) => {\n p.keyError = p.key && p.key.trim() ? null! : \"The secret name must be defined when referenced as an environment variable.\";\n });\n if (binding.SecretEnvFromSource.find((p) => !!p.valueError || !!p.keyError || !!p.optionError)) {\n this.setValidationErrors(\"The secret environment variables are incorrectly configured.\");\n valid = false;\n }\n }\n if (binding.EnvironmentVariables) {\n if (binding.EnvironmentVariables.find((p) => !!p.valueError || !!p.keyError || !!p.optionError)) {\n this.setValidationErrors(\"The environment variables are incorrectly configured.\");\n valid = false;\n }\n }\n if (binding.Ports) {\n binding.Ports.forEach((p) => {\n p.valueError = isBound(p.value.toString()) || (NumberRegex.exec(p.value.toString()) && parseInt(p.value.toString(), 10) >= 1 && parseInt(p.value.toString(), 10) <= 65535) ? null! : \"Port numbers must be between 1 and 65535.\";\n });\n if (binding.Ports.find((p) => !!p.valueError)) {\n this.setValidationErrors(\"The ports are incorrectly configured.\");\n valid = false;\n }\n }\n if (_.get(binding, \"Resources.requests.memory\") && !isBound(binding.Resources.requests.memory) && !KubernetesResourceQuantityRegex.exec(binding.Resources.requests.memory)) {\n this.setValidationErrors(\"Container memory resource requests must match the regular expression '^([+-]?[0-9.]+)([eEinumkKMGTP]*[-+]?[0-9]*)$', e.g. 129M, 123Mi, 1G, 1Gi.\", {\n ContainerDetailsResourcesMemoryRequest: \"Container memory resource requests must match the regular expression '^([+-]?[0-9.]+)([eEinumkKMGTP]*[-+]?[0-9]*)$', e.g. 129M, 123Mi, 1G, 1Gi.\",\n });\n valid = false;\n }\n if (_.get(binding, \"Resources.requests.ephemeralStorage\") && !isBound(binding.Resources.requests.ephemeralStorage) && !KubernetesResourceQuantityRegex.exec(binding.Resources.requests.ephemeralStorage)) {\n this.setValidationErrors(\"Container ephemeral storage resource requests must match the regular expression '^([+-]?[0-9.]+)([eEinumkKMGTP]*[-+]?[0-9]*)$', e.g. 128974848, 129e6, 129M, 123Mi\", {\n ContainerDetailsResourcesStorageRequest: \"Container ephemeral storage resource requests must match the regular expression '^([+-]?[0-9.]+)([eEinumkKMGTP]*[-+]?[0-9]*)$', e.g. 128974848, 129e6, 129M, 123Mi\",\n });\n valid = false;\n }\n if (_.get(binding, \"Resources.requests.cpu\") && !isBound(binding.Resources.requests.cpu) && !KubernetesResourceQuantityRegex.exec(binding.Resources.requests.cpu)) {\n this.setValidationErrors(\"Container cpu resource requests must match the regular expression '^([+-]?[0-9.]+)([eEinumkKMGTP]*[-+]?[0-9]*)$', e.g. 200m, 0.1.\", {\n ContainerDetailsResourcesCpuRequest: \"Container cpu resource requests must match the regular expression '^([+-]?[0-9.]+)([eEinumkKMGTP]*[-+]?[0-9]*)$', e.g. 200m, 0.1.\",\n });\n valid = false;\n }\n if (_.get(binding, \"Resources.limits.nvidiaGpu\") && !isBound(binding.Resources.limits.nvidiaGpu) && !KubernetesResourceQuantityRegex.exec(binding.Resources.limits.nvidiaGpu)) {\n this.setValidationErrors(\"Nvidia gpu resource requests must match the regular expression '^([+-]?[0-9.]+)([eEinumkKMGTP]*[-+]?[0-9]*)$', e.g. 200m, 0.1.\", {\n ContainerDetailsResourcesNvidiaGpuLimit: \"Nvidia gpu resource requests must match the regular expression '^([+-]?[0-9.]+)([eEinumkKMGTP]*[-+]?[0-9]*)$', e.g. 200m, 0.1.\",\n });\n valid = false;\n }\n if (_.get(binding, \"Resources.limits.amdGpu\") && !isBound(binding.Resources.limits.amdGpu) && !KubernetesResourceQuantityRegex.exec(binding.Resources.limits.amdGpu)) {\n this.setValidationErrors(\"AMD gpu resource requests must match the regular expression '^([+-]?[0-9.]+)([eEinumkKMGTP]*[-+]?[0-9]*)$', e.g. 200m, 0.1.\", {\n ContainerDetailsResourcesAmdGpuLimit: \"AMD gpu resource requests must match the regular expression '^([+-]?[0-9.]+)([eEinumkKMGTP]*[-+]?[0-9]*)$', e.g. 200m, 0.1.\",\n });\n valid = false;\n }\n if (_.get(binding, \"Resources.limits.memory\") && !isBound(binding.Resources.limits.memory) && !KubernetesResourceQuantityRegex.exec(binding.Resources.limits.memory)) {\n this.setValidationErrors(\"Container memory resource limits must match the regular expression '^([+-]?[0-9.]+)([eEinumkKMGTP]*[-+]?[0-9]*)$', e.g. 129M, 123Mi, 1G, 1Gi.\", {\n ContainerDetailsResourcesMemoryLimit: \"Container memory resource limits must match the regular expression '^([+-]?[0-9.]+)([eEinumkKMGTP]*[-+]?[0-9]*)$', e.g. 129M, 123Mi, 1G, 1Gi.\",\n });\n valid = false;\n }\n if (_.get(binding, \"Resources.limits.ephemeralStorage\") && !isBound(binding.Resources.limits.ephemeralStorage) && !KubernetesResourceQuantityRegex.exec(binding.Resources.limits.ephemeralStorage)) {\n this.setValidationErrors(\"Container ephemeral storage resource limits must match the regular expression '^([+-]?[0-9.]+)([eEinumkKMGTP]*[-+]?[0-9]*)$', e.g. 128974848, 129e6, 129M, 123Mi\", {\n ContainerDetailsResourcesStorageLimit: \"Container ephemeral storage resource limits must match the regular expression '^([+-]?[0-9.]+)([eEinumkKMGTP]*[-+]?[0-9]*)$', e.g. 128974848, 129e6, 129M, 123Mi\",\n });\n valid = false;\n }\n if (_.get(binding, \"Resources.limits.cpu\") && !isBound(binding.Resources.limits.cpu) && !KubernetesResourceQuantityRegex.exec(binding.Resources.limits.cpu)) {\n this.setValidationErrors(\"Container cpu resource limits must match the regular expression '^([+-]?[0-9.]+)([eEinumkKMGTP]*[-+]?[0-9]*)$', e.g. 200m, 0.1.\", {\n ContainerDetailsResourcesCpuLimit: \"Container cpu resource limits must match the regular expression '^([+-]?[0-9.]+)([eEinumkKMGTP]*[-+]?[0-9]*)$', e.g. 200m, 0.1.\",\n });\n valid = false;\n }\n if (_.get(binding, \"LivenessProbe.periodSeconds\") && !isBound(binding.LivenessProbe.periodSeconds.toString()) && !NumberRegex.exec(binding.LivenessProbe.periodSeconds.toString())) {\n this.setValidationErrors(\"The period must be a whole number.\", { ContainerLivenessProbePeriodSeconds: \"The period must be a whole number.\" });\n valid = false;\n }\n if (_.get(binding, \"LivenessProbe.initialDelaySeconds\") && !isBound(binding.LivenessProbe.initialDelaySeconds.toString()) && !NumberRegex.exec(binding.LivenessProbe.initialDelaySeconds.toString())) {\n this.setValidationErrors(\"The initial delay must be a whole number.\", { ContainerLivenessProbeInitialDelaySeconds: \"The initial delay must be a whole number.\" });\n valid = false;\n }\n if (_.get(binding, \"LivenessProbe.timeoutSeconds\") && !isBound(binding.LivenessProbe.timeoutSeconds.toString()) && !NumberRegex.exec(binding.LivenessProbe.timeoutSeconds.toString())) {\n this.setValidationErrors(\"The timeout must be a whole number.\", { ContainerLivenessProbeTimeoutSeconds: \"The timeout must be a whole number.\" });\n valid = false;\n }\n if (_.get(binding, \"LivenessProbe.failureThreshold\") && !isBound(binding.LivenessProbe.failureThreshold.toString()) && !NumberRegex.exec(binding.LivenessProbe.failureThreshold.toString())) {\n this.setValidationErrors(\"The failure threshold must be a whole number.\", { ContainerLivenessProbeFailureThreshold: \"The failure threshold must be a whole number.\" });\n valid = false;\n }\n if ((_.get(binding, \"LivenessProbe.failureThreshold\") || _.get(binding, \"LivenessProbe.timeoutSeconds\") || _.get(binding, \"LivenessProbe.initialDelaySeconds\") || _.get(binding, \"LivenessProbe.periodSeconds\")) &&\n !(_.get(binding, \"LivenessProbe.type\") && binding.LivenessProbe.type.trim())) {\n this.setValidationErrors(\"The liveness check type must be specified, or all liveness fields must be cleared.\", { ContainerLivenessProbeType: \"The liveness check type must be specified.\" });\n valid = false;\n }\n if (_.get(binding, \"LivenessProbe.type\") === CommandCheck) {\n if (!_.get(binding, \"LivenessProbe.exec.command\") || binding.LivenessProbe.exec.command.filter((c) => c && c.trim()).length === 0) {\n this.setValidationErrors(\"The command must be specified.\", { ContainerLivenessProbeExecCommand: \"The command must be specified.\" });\n valid = false;\n }\n }\n if (_.get(binding, \"LivenessProbe.type\") === HttpGetCheck) {\n if (!_.get(binding, \"LivenessProbe.httpGet.port\") || !binding.LivenessProbe.httpGet.port.trim()) {\n this.setValidationErrors(\"The HTTP port must be specified.\", { ContainerLivenessProbeHttpGetPort: \"The HTTP port must be specified.\" });\n valid = false;\n }\n else if (!isBound(binding.LivenessProbe.httpGet.port) &&\n NumberRegex.exec(binding.LivenessProbe.httpGet.port.toString()) &&\n !(parseInt(binding.LivenessProbe.httpGet.port.toString(), 10) >= 1 && parseInt(binding.LivenessProbe.httpGet.port.toString(), 10) <= 65535)) {\n this.setValidationErrors(\"The HTTP port must be a number between 1 and 65535.\", { ContainerLivenessProbeHttpGetPort: \"The HTTP port must be a number between 1 and 65535.\" });\n valid = false;\n }\n if (!_.get(binding, \"LivenessProbe.httpGet.path\") || !binding.LivenessProbe.httpGet.path!.trim()) {\n this.setValidationErrors(\"The HTTP path must be specified.\", { ContainerLivenessHttpGetPath: \"The HTTP path must be specified.\" });\n valid = false;\n }\n }\n if (_.get(binding, \"LivenessProbe.type\") === TcpSocketCheck) {\n if (!_.get(binding, \"LivenessProbe.tcpSocket.port\") || !binding.LivenessProbe.tcpSocket.port.trim()) {\n this.setValidationErrors(\"The TCP socket port must be specified.\", { ContainerLivenessProbeTcpSocketPort: \"The HTTP port must be specified.\" });\n valid = false;\n }\n else if (!isBound(binding.LivenessProbe.tcpSocket.port.toString()) &&\n NumberRegex.exec(binding.LivenessProbe.tcpSocket.port.toString()) &&\n !(parseInt(binding.LivenessProbe.tcpSocket.port.toString(), 10) >= 1 && parseInt(binding.LivenessProbe.tcpSocket.port.toString(), 10) <= 65535)) {\n this.setValidationErrors(\"The HTTP port must be a number between 1 and 65535.\", { ContainerLivenessProbeTcpSocketPort: \"The HTTP port must be a number between 1 and 65535.\" });\n valid = false;\n }\n }\n if (_.get(binding, \"ReadinessProbe.periodSeconds\") && !isBound(binding.ReadinessProbe.periodSeconds.toString()) && !NumberRegex.exec(binding.ReadinessProbe.periodSeconds.toString())) {\n this.setValidationErrors(\"The period must be a whole number.\", { ContainerReadinessProbePeriodSeconds: \"The period must be a whole number.\" });\n valid = false;\n }\n if (_.get(binding, \"ReadinessProbe.initialDelaySeconds\") && !isBound(binding.ReadinessProbe.initialDelaySeconds.toString()) && !NumberRegex.exec(binding.ReadinessProbe.initialDelaySeconds.toString())) {\n this.setValidationErrors(\"The initial delay must be a whole number.\", { ContainerReadinessProbeInitialDelaySeconds: \"The initial delay must be a whole number.\" });\n valid = false;\n }\n if (_.get(binding, \"ReadinessProbe.successThreshold\") && !isBound(binding.ReadinessProbe.successThreshold.toString()) && !NumberRegex.exec(binding.ReadinessProbe.successThreshold.toString())) {\n this.setValidationErrors(\"The success threshold must be a whole number.\", { ContainerReadinessProbeSuccessThreshold: \"The success threshold must be a whole number.\" });\n valid = false;\n }\n if (_.get(binding, \"ReadinessProbe.timeoutSeconds\") && !isBound(binding.ReadinessProbe.timeoutSeconds.toString()) && !NumberRegex.exec(binding.ReadinessProbe.timeoutSeconds.toString())) {\n this.setValidationErrors(\"The timeout must be a whole number.\", { ContainerReadinessProbeTimeoutSeconds: \"The timeout must be a whole number.\" });\n valid = false;\n }\n if (_.get(binding, \"ReadinessProbe.failureThreshold\") && !isBound(binding.ReadinessProbe.failureThreshold.toString()) && !NumberRegex.exec(binding.ReadinessProbe.failureThreshold.toString())) {\n this.setValidationErrors(\"The failure threshold must be a whole number.\", { ContainerReadinessProbeFailureThreshold: \"The failure threshold must be a whole number.\" });\n valid = false;\n }\n if (_.get(binding, \"ReadinessProbe.failureThreshold\" || _.get(binding, \"ReadinessProbe.timeoutSeconds\") || _.get(binding, \"ReadinessProbe.initialDelaySeconds\") || _.get(binding, \"ReadinessProbe.periodSeconds\")) &&\n !(_.get(binding, \"ReadinessProbe.type\") && binding.ReadinessProbe.type.trim())) {\n this.setValidationErrors(\"The readiness check type must be specified.\", { ContainerReadinessProbeType: \"The readiness check type must be specified, or all readiness fields must be cleared.\" });\n valid = false;\n }\n if (_.get(binding, \"ReadinessProbe.type\") === CommandCheck) {\n if (!binding.ReadinessProbe.exec.command || binding.ReadinessProbe.exec.command.filter((c) => c && c.trim()).length === 0) {\n this.setValidationErrors(\"The command must be specified.\", { ContainerReadinessProbeExecCommand: \"The command must be specified.\" });\n valid = false;\n }\n }\n if (_.get(binding, \"ReadinessProbe.type\") === HttpGetCheck) {\n if (!_.get(binding, \"ReadinessProbe.httpGet.port\") || !binding.ReadinessProbe.httpGet.port.trim()) {\n this.setValidationErrors(\"The HTTP port must be specified.\", { ContainerReadinessHttpGetPort: \"The HTTP port must be specified.\" });\n valid = false;\n }\n else if (!isBound(binding.ReadinessProbe.httpGet.port.toString()) &&\n NumberRegex.exec(binding.ReadinessProbe.httpGet.port.toString()) &&\n !(parseInt(binding.ReadinessProbe.httpGet.port.toString(), 10) >= 1 && parseInt(binding.ReadinessProbe.httpGet.port.toString(), 10) <= 65535)) {\n this.setValidationErrors(\"The HTTP port must be a number between 1 and 65535.\", { ContainerReadinessHttpGetPort: \"The HTTP port must be a number between 1 and 65535.\" });\n valid = false;\n }\n if (!_.get(binding, \"ReadinessProbe.httpGet.path\") || !binding.ReadinessProbe.httpGet.path!.trim()) {\n this.setValidationErrors(\"The HTTP path must be specified.\", { ContainerReadinessHttpGetPath: \"The HTTP path must be specified.\" });\n valid = false;\n }\n }\n if (_.get(binding, \"ReadinessProbe.type\") === TcpSocketCheck) {\n if (!_.get(binding, \"ReadinessProbe.tcpSocket.port\") || !binding.ReadinessProbe.tcpSocket.port.trim()) {\n this.setValidationErrors(\"The TCP socket port must be specified.\", { ContainerReadinessProbeTcpSocketPort: \"The HTTP port must be specified.\" });\n valid = false;\n }\n else if (!isBound(binding.ReadinessProbe.tcpSocket.port.toString()) &&\n NumberRegex.exec(binding.ReadinessProbe.tcpSocket.port.toString()) &&\n !(parseInt(binding.ReadinessProbe.tcpSocket.port.toString(), 10) >= 1 && parseInt(binding.ReadinessProbe.tcpSocket.port.toString(), 10) <= 65535)) {\n this.setValidationErrors(\"The HTTP port must be a number between 1 and 65535.\", { ContainerReadinessProbeTcpSocketPort: \"The HTTP port must be a number between 1 and 65535.\" });\n valid = false;\n }\n }\n // ***\n if (_.get(binding, \"StartupProbe.periodSeconds\") && !isBound(binding.StartupProbe.periodSeconds.toString()) && !NumberRegex.exec(binding.StartupProbe.periodSeconds.toString())) {\n this.setValidationErrors(\"The period must be a whole number.\", { ContainerStartupProbePeriodSeconds: \"The period must be a whole number.\" });\n valid = false;\n }\n if (_.get(binding, \"StartupProbe.initialDelaySeconds\") && !isBound(binding.StartupProbe.initialDelaySeconds.toString()) && !NumberRegex.exec(binding.StartupProbe.initialDelaySeconds.toString())) {\n this.setValidationErrors(\"The initial delay must be a whole number.\", { ContainerStartupProbeInitialDelaySeconds: \"The initial delay must be a whole number.\" });\n valid = false;\n }\n if (_.get(binding, \"StartupProbe.successThreshold\") && !isBound(binding.StartupProbe.successThreshold.toString()) && !NumberRegex.exec(binding.StartupProbe.successThreshold.toString())) {\n this.setValidationErrors(\"The success threshold must be a whole number.\", { ContainerStartupProbeSuccessThreshold: \"The success threshold must be a whole number.\" });\n valid = false;\n }\n if (_.get(binding, \"StartupProbe.timeoutSeconds\") && !isBound(binding.StartupProbe.timeoutSeconds.toString()) && !NumberRegex.exec(binding.StartupProbe.timeoutSeconds.toString())) {\n this.setValidationErrors(\"The timeout must be a whole number.\", { ContainerStartupProbeTimeoutSeconds: \"The timeout must be a whole number.\" });\n valid = false;\n }\n if (_.get(binding, \"StartupProbe.failureThreshold\") && !isBound(binding.StartupProbe.failureThreshold.toString()) && !NumberRegex.exec(binding.StartupProbe.failureThreshold.toString())) {\n this.setValidationErrors(\"The failure threshold must be a whole number.\", { ContainerStartupProbeFailureThreshold: \"The failure threshold must be a whole number.\" });\n valid = false;\n }\n if (_.get(binding, \"StartupProbe.failureThreshold\" || _.get(binding, \"StartupProbe.timeoutSeconds\") || _.get(binding, \"StartupProbe.initialDelaySeconds\") || _.get(binding, \"StartupProbe.periodSeconds\")) &&\n !(_.get(binding, \"StartupProbe.type\") && binding.StartupProbe.type.trim())) {\n this.setValidationErrors(\"The startup check type must be specified.\", { ContainerStartupProbeType: \"The startup check type must be specified, or all startup fields must be cleared.\" });\n valid = false;\n }\n if (_.get(binding, \"StartupProbe.type\") === CommandCheck) {\n if (!binding.StartupProbe.exec.command || binding.StartupProbe.exec.command.filter((c) => c && c.trim()).length === 0) {\n this.setValidationErrors(\"The command must be specified.\", { ContainerStartupProbeExecCommand: \"The command must be specified.\" });\n valid = false;\n }\n }\n if (_.get(binding, \"StartupProbe.type\") === HttpGetCheck) {\n if (!_.get(binding, \"StartupProbe.httpGet.port\") || !binding.StartupProbe.httpGet.port.trim()) {\n this.setValidationErrors(\"The HTTP port must be specified.\", { ContainerStartupHttpGetPort: \"The HTTP port must be specified.\" });\n valid = false;\n }\n else if (!isBound(binding.StartupProbe.httpGet.port.toString()) &&\n NumberRegex.exec(binding.StartupProbe.httpGet.port.toString()) &&\n !(parseInt(binding.StartupProbe.httpGet.port.toString(), 10) >= 1 && parseInt(binding.StartupProbe.httpGet.port.toString(), 10) <= 65535)) {\n this.setValidationErrors(\"The HTTP port must be a number between 1 and 65535.\", { ContainerStartupHttpGetPort: \"The HTTP port must be a number between 1 and 65535.\" });\n valid = false;\n }\n if (!_.get(binding, \"StartupProbe.httpGet.path\") || !binding.StartupProbe.httpGet.path!.trim()) {\n this.setValidationErrors(\"The HTTP path must be specified.\", { ContainerStartupHttpGetPath: \"The HTTP path must be specified.\" });\n valid = false;\n }\n }\n if (_.get(binding, \"StartupProbe.type\") === TcpSocketCheck) {\n if (!_.get(binding, \"StartupProbe.tcpSocket.port\") || !binding.StartupProbe.tcpSocket.port.trim()) {\n this.setValidationErrors(\"The TCP socket port must be specified.\", { ContainerStartupProbeTcpSocketPort: \"The HTTP port must be specified.\" });\n valid = false;\n }\n else if (!isBound(binding.StartupProbe.tcpSocket.port.toString()) &&\n NumberRegex.exec(binding.StartupProbe.tcpSocket.port.toString()) &&\n !(parseInt(binding.StartupProbe.tcpSocket.port.toString(), 10) >= 1 && parseInt(binding.StartupProbe.tcpSocket.port.toString(), 10) <= 65535)) {\n this.setValidationErrors(\"The HTTP port must be a number between 1 and 65535.\", { ContainerStartupProbeTcpSocketPort: \"The HTTP port must be a number between 1 and 65535.\" });\n valid = false;\n }\n }\n // ***\n if (binding.VolumeMounts) {\n binding.VolumeMounts.forEach((v) => {\n v.keyError = v.key ? null! : \"Volumes require a name.\";\n v.valueError = v.value && v.value.indexOf(\":\") === -1 ? null! : \"Volumes must define a mount path, and the path must not contain \\\":\\\"\";\n });\n if (binding.VolumeMounts.find((p) => !!p.valueError || !!p.keyError)) {\n this.setValidationErrors(\"The volume mounts are incorrectly configured.\");\n valid = false;\n }\n }\n if (binding.Ports) {\n if (binding.Ports.find((p) => !!p.valueError)) {\n this.setValidationErrors(\"Port numbers must be between 1 and 65535.\", { ContainerDetailsPorts: \"Port numbers must be between 1 and 65535.\" });\n valid = false;\n }\n }\n if (binding.SecurityContext) {\n if (!isBound(binding.SecurityContext.allowPrivilegeEscalation) && binding.SecurityContext.allowPrivilegeEscalation && !BooleanRegex.exec(binding.SecurityContext.allowPrivilegeEscalation.toString().trim())) {\n this.setValidationErrors(\"The allow privilege escalation value must be True or False.\", {\n ContainerDetailsSecurityContextAllowPrivilegeEscalation: \"The allow privilege escalation value must be True or False.\",\n });\n valid = false;\n }\n if (!isBound(binding.SecurityContext.privileged) && binding.SecurityContext.privileged && !BooleanRegex.exec(binding.SecurityContext.privileged.toString().trim())) {\n this.setValidationErrors(\"The privileged value must be True or False.\", {\n ContainerDetailsSecurityContextPrivileged: \"The privileged value must be True or False.\",\n });\n valid = false;\n }\n if (!isBound(binding.SecurityContext.runAsNonRoot) && binding.SecurityContext.runAsNonRoot && !BooleanRegex.exec(binding.SecurityContext.runAsNonRoot.toString().trim())) {\n this.setValidationErrors(\"The run as non-root value must be True or False.\", {\n ContainerDetailsSecurityContextRunAsNonRoot: \"The run as non-root value must be True or False.\",\n });\n valid = false;\n }\n if (!isBound(binding.SecurityContext.runAsUser) && binding.SecurityContext.runAsUser && !NumberRegex.exec(binding.SecurityContext.runAsUser.toString().trim())) {\n this.setValidationErrors(\"The run as user value must be a number.\", {\n ContainerDetailsSecurityContextRunAsUser: \"The run as user value must be a number.\",\n });\n valid = false;\n }\n if (!isBound(binding.SecurityContext.runAsGroup) && binding.SecurityContext.runAsGroup && !NumberRegex.exec(binding.SecurityContext.runAsGroup.toString().trim())) {\n this.setValidationErrors(\"The run as group value must be a number.\", {\n ContainerDetailsSecurityContextRunAsGroup: \"The run as group value must be a number.\",\n });\n valid = false;\n }\n }\n LifecycleHandlerFormSection.Validate(binding, (msg) => {\n this.setValidationErrors(msg);\n valid = false;\n });\n if (valid) {\n return this.props.onAdd(binding);\n }\n return false;\n };\n render() {\n return ( this.save()} busy={this.state.busy} errors={this.errors} title={\"Add Container\"}>\n {this.state.containerDetails && (\n \n this.setContainerState({ Name })}/>\n

    \n Package Image\n

    \n {!this.props.standalone && (\n this.setContainerState({ PackageId })} onFeedIdChange={(FeedId) => this.setContainerState({ FeedId })} onPackageVersionChange={(Version) => this.setContainerState({ Version })} localNames={this.props.localNames} projectId={this.props.projectId} feeds={this.props.feeds} refreshFeeds={this.props.refreshFeeds} feedType={[FeedType.Docker, FeedType.AwsElasticContainerRegistry, FeedType.AzureContainerRegistry, FeedType.GoogleContainerRegistry]} \n // Deferred package selection properties\n parameters={this.props.parameters} packageSelectionMode={this.state.containerDetails.Properties.SelectionMode || PackageSelectionMode.Immediate} packageParameterName={this.state.containerDetails.Properties.PackageParameterName || \"\"} onPackageSelectionModeChange={(packageSelectionMode) => this.onPackageSelectionModeChange(packageSelectionMode)} onPackageParameterChange={(packageParameter) => this.onPackageParameterChange(packageParameter)}/>\n this.setContainerState({ CreateFeedSecrets })} title=\"Generate docker-registry secret for feed\">\n \n \n Select this option when the Kubernetes cluster requires credentials to access a Docker registry. For example, you can use this option to access private images on registries like Docker Hub. With this option\n selected, and if the feed has credentials, a docker-registry secret will be created and the pod's imagePullSecrets property\n will reference it.\n \n \n \n Select this option when the Kubernetes cluster is granted access to the docker registry by other means than a docker-registry secret. For example, most cloud providers allow a hosted Kubernetes cluster to\n access a hosted Docker registry via IAM rules rather than a registry secret. Examples include ECR and EKS,{\" \"}\n ACR and AKS, GCR and GKE.\n \n Note that these options only impact feeds that have credentials. For public feeds with no credentials, these options do not have any impact.\n \n )}\n {this.props.standalone && this.setContainerState({ PackageId })}/>}\n
    \n\n \n

    \n Containers expose network services through their ports. Learn more about ports.\n

    \n (_.isArray(this.state.containerDetails.Ports) ? this.state.containerDetails.Ports : [])} name=\"Port\" onAdd={this.repositionDialog} onChange={(val) => this.setContainerState({ Ports: val })} valueLabel=\"Port\" keyLabel=\"Name\" optionLabel=\"Protocol\" optionValues={[\n { text: \"TCP\", value: \"TCP\" },\n { text: \"UDP\", value: \"UDP\" },\n ]} optionReset={\"TCP\"} hideBindOnKey={false} projectId={this.props.projectId} gitRef={this.props.gitRef} addToTop={true}/>\n
    \n \n

    \n Volumes that were exposed to the containers are mounted to the container filesystem here. Learn more about{\" \"}\n volume mounts.\n

    \n (_.isArray(this.state.containerDetails.VolumeMounts) ? this.state.containerDetails.VolumeMounts : [])} name=\"Volume Mount\" onAdd={this.repositionDialog} onChange={(val) => this.setContainerState({ VolumeMounts: val })} keyLabel=\"Name\" getOptions={this.getVolumeOptions} valueLabel=\"Mount path\" optionLabel=\"Sub path\" option2Label=\"Read only\" option2Values={[\n { text: \"True\", value: \"true\" },\n { text: \"False\", value: \"false\" },\n ]} option2Reset={\"false\"} hideBindOnKey={false} projectId={this.props.projectId} gitRef={this.props.gitRef} addToTop={true}/>\n
    \n \n this.setContainerState({ InitContainer })} title=\"Container Type\">\n \n \n \n \n Learn more about container types.\n \n \n \n this.setContainerState({ TerminationMessagePath })} label=\"Termination message path\"/>\n this.setContainerState({ TerminationMessagePolicy })} title=\"Termination message policy\">\n \n \n \n \n \n this.setContainerState({ ImagePullPolicy })} title=\"Image pull policy\">\n \n \n \n \n \n \n Learn more about the image pull policy.\n \n \n \n

    \n The CPU, memory and ephemeral storage resources required by the container are defined as resource requests and limits. Learn more about{\" \"}\n resource requests and limits.\n

    \n \n this.setContainerResourcesRequestState({ cpu: x })} label=\"CPU request\"/>\n If left blank, the CPU request will be set to the same value as the CPU limit. If the CPU limit is not set it will use the default value specified in the Kubernetes namespace.\n this.setContainerResourcesLimitState({ cpu: x })} label=\"CPU limit\"/>\n If the CPU limit is not set it will use the default value specified in the Kubernetes namespace.\n \n \n this.setContainerResourcesRequestState({ memory: x })} label=\"Memory request\"/>\n If left blank, the memory request will be set to the same value as the memory limit. If the memory limit is not set it will use the default value specified in the Kubernetes namespace.\n this.setContainerResourcesLimitState({ memory: x })} label=\"Memory limit\"/>\n If this value is not set it will use the default value specified in the Kubernetes namespace.\n \n \n this.setContainerResourcesRequestState({ ephemeralStorage: x })} label=\"Ephemeral storage request\"/>\n \n If left blank, the ephemeral storage request will be set to the same value as the ephemeral storage limit. If the ephemeral storage limit is not set it will use the default value specified in the Kubernetes namespace.\n \n this.setContainerResourcesLimitState({ ephemeralStorage: x })} label=\"Ephemeral storage limit\"/>\n If this value is not set it will use the default value specified in the Kubernetes namespace.\n \n \n this.setContainerResourcesLimitState({ nvidiaGpu: x })} label=\"Nvidia GPU limit\"/>\n this.setContainerResourcesLimitState({ amdGpu: x })} label=\"AMD GPU limit\"/>\n \n See the Kubernetes documentation for details on scheduling GPU resources.\n \n \n\n \n

    \n Environment variables can be defined in the container from key/value pairs, or from data held in secret or config map resources. Learn more about{\" \"}\n environment variables.\n

    \n \n (_.isArray(this.state.containerDetails.EnvironmentVariables) ? this.state.containerDetails.EnvironmentVariables : [])} name=\"Environment Variable\" onChange={(val) => this.setContainerState({ EnvironmentVariables: val })} valueLabel=\"Value\" keyLabel=\"Name\" hideBindOnKey={false} projectId={this.props.projectId} gitRef={this.props.gitRef} addToTop={true}/>\n \n \n (_.isArray(this.state.containerDetails.ConfigMapEnvironmentVariables) ? this.state.containerDetails.ConfigMapEnvironmentVariables : [])} name=\"Individual environment variable from a configmap\" onAdd={this.repositionDialog} onChange={(val) => this.setContainerState({ ConfigMapEnvironmentVariables: val })} valueLabel=\"ConfigMap name\" keyLabel=\"Name\" optionLabel={\"Key\"} hideBindOnKey={false} projectId={this.props.projectId} gitRef={this.props.gitRef} addToTop={true}/>\n Add an individual value from a config map as an environment variable.\n (_.isArray(this.state.containerDetails.ConfigMapEnvFromSource) ? this.state.containerDetails.ConfigMapEnvFromSource : [])} name=\"All environment variables from a configmap\" onAdd={this.repositionDialog} onChange={(val) => this.setContainerState({ ConfigMapEnvFromSource: val })} valueLabel=\"Optional environment variable prefix\" keyLabel=\"Config map name\" optionLabel={\"Config map is optional\"} optionValues={[\n { value: \"True\", text: \"True\" },\n { value: \"False\", text: \"False\" },\n ]} hideBindOnKey={false} projectId={this.props.projectId} gitRef={this.props.gitRef} addToTop={true}/>\n Add all values from a config map as environment variables, with an optional prefix on the environment variable name.\n \n \n (_.isArray(this.state.containerDetails.SecretEnvironmentVariables) ? this.state.containerDetails.SecretEnvironmentVariables : [])} name=\"Individual environment variable from a secret\" onAdd={this.repositionDialog} onChange={(val) => this.setContainerState({ SecretEnvironmentVariables: val })} valueLabel=\"Secret name\" keyLabel=\"Name\" optionLabel={\"Key\"} hideBindOnKey={false} projectId={this.props.projectId} gitRef={this.props.gitRef} addToTop={true}/>\n Add an individual value from a secret as an environment variable.\n (_.isArray(this.state.containerDetails.SecretEnvFromSource) ? this.state.containerDetails.SecretEnvFromSource : [])} name=\"All environment variables from a secret\" onAdd={this.repositionDialog} onChange={(val) => this.setContainerState({ SecretEnvFromSource: val })} valueLabel=\"Optional environment variable prefix\" keyLabel=\"Secret name\" optionLabel={\"Secret is optional\"} optionValues={[\n { value: \"True\", text: \"True\" },\n { value: \"False\", text: \"False\" },\n ]} hideBindOnKey={false} projectId={this.props.projectId} gitRef={this.props.gitRef} addToTop={true}/>\n Add all values from a secret as environment variables, with an optional prefix on the environment variable name.\n \n \n \n Environment variables can expose Pod and Container fields. For example spec.nodeName\n \n \n See the Kubernetes documentation for the fields available via the Downward API.\n \n (_.isArray(this.state.containerDetails.FieldRefEnvironmentVariables) ? this.state.containerDetails.FieldRefEnvironmentVariables : [])} name=\"Field Reference Environment Variable\" onChange={(val) => this.setContainerState({ FieldRefEnvironmentVariables: val })} onAdd={this.repositionDialog} valueLabel=\"Field Path\" keyLabel=\"Name\" hideBindOnKey={false} projectId={this.props.projectId} gitRef={this.props.gitRef} addToTop={true}/>\n \n\n {this.state.containerDetails.InitContainer !== \"True\" && (\n \n

    \n Liveness probes are used to confirm that a container is still running and healthy. Learn more about{\" \"}\n liveness probes.\n

    \n \n Pod is restarted after {this.state.containerDetails.LivenessProbe.failureThreshold}\n {this.state.containerDetails.LivenessProbe.failureThreshold === \"1\" ? failure : consecutive failures}\n )\n : Summary.default(\"No failure threshold specified\")} help={\"Set how many times the probe can fail after the pod has been started.\"} fillCardWidth={CardFill.FillAll} forceMobileBehaviour={true}>\n this.setContainerLivenessState({ failureThreshold: x })} label=\"Failure threshold\" placeholder=\"3 (default)\"/>\n After this many consecutive failures, the pod is restarted.\n \n \n Probe will wait {this.state.containerDetails.LivenessProbe.timeoutSeconds} second\n {this.state.containerDetails.LivenessProbe.timeoutSeconds !== \"1\" && s} for a response\n )\n : Summary.default(\"No timeout specified\")} help={\"Specify the number of seconds to wait for a probe response.\"} fillCardWidth={CardFill.FillAll} forceMobileBehaviour={true}>\n this.setContainerLivenessState({ timeoutSeconds: x })} label=\"Timeout in seconds\" placeholder=\"1 (default)\"/>\n \n \n Probe will wait {this.state.containerDetails.LivenessProbe.initialDelaySeconds} second\n {this.state.containerDetails.LivenessProbe.initialDelaySeconds !== \"1\" && s} before being initiated\n )\n : Summary.default(\"No initial delay specified\")} help={\"Set the number of seconds to wait before the probe is initiated.\"} fillCardWidth={CardFill.FillAll} forceMobileBehaviour={true}>\n this.setContainerLivenessState({ initialDelaySeconds: x })} label=\"Initial delay in seconds\"/>\n \n \n Probe will be run every {this.state.containerDetails.LivenessProbe.periodSeconds} second\n {this.state.containerDetails.LivenessProbe.periodSeconds !== \"1\" && s}\n )\n : Summary.default(\"No period specified\")} help={\"How frequently should the probe be executed.\"} fillCardWidth={CardFill.FillAll} forceMobileBehaviour={true}>\n this.setContainerLivenessState({ periodSeconds: x })} label=\"Period in seconds\" placeholder=\"10 (default)\"/>\n \n \n this.setContainerStartupState({ type: type! })}/>\n {_.get(this.state.containerDetails, \"StartupProbe.type\") === CommandCheck && (\n this.setContainerStartupCommandsState({ command: (x || \"\").split(\"\\n\") })} label=\"Health check commands\" multiline={true} minRows={5} maxRows={5}/>\n A newline-separated list of commands which are run in the container, and if the return value is zero, the container is considered to be healthy.\n )}\n {_.get(this.state.containerDetails, \"StartupProbe.type\") === HttpGetCheck && (\n this.setContainerStartupHttpGetState({ host: x })} label=\"Host\"/>\n The optional host name to connect to. If not defined, this value will default to the IP address of the pod.\n this.setContainerStartupHttpGetState({ path: x })} label=\"Path\"/>\n The path to access on the HTTP server.\n this.setContainerStartupHttpGetState({ scheme: x })} label=\"Scheme\" items={[\n { value: \"HTTP\", text: \"HTTP\" },\n { value: \"HTTPS\", text: \"HTTPS\" },\n ]} resetValue={\"HTTP\"}/>\n this.setContainerStartupHttpGetState({ port: x })} label=\"Port\"/>\n \n The port number to use when connecting to the HTTP server. Alternatively this value can be an IANA port name.\n \n

    \n HTTP Header\n

    \n

    Add HTTP headers to be sent with the request.

    \n (_.isArray(_.get(this.state.containerDetails, \"StartupProbe.httpGet.httpHeaders\")) ? _.get(this.state.containerDetails, \"StartupProbe.httpGet.httpHeaders\") ?? [] : [])} name=\"HTTP Header\" onAdd={this.repositionDialog} onChange={(val) => this.setContainerStartupHttpGetState({ httpHeaders: val })} valueLabel=\"Value\" keyLabel=\"Name\" hideBindOnKey={false} projectId={this.props.projectId} addToTop={true}/>\n
    )}\n {_.get(this.state.containerDetails, \"StartupProbe.type\") === TcpSocketCheck && (\n this.setContainerStartupSocketState({ host: x })} label=\"Host\"/>\n The optional host name to connect to. If not defined, this value will default to the IP address of the pod.\n this.setContainerStartupSocketState({ port: x })} label=\"Port\"/>\n \n The port number to use when connecting to the container. Alternatively this value can be an IANA port name.\n \n )}\n
    \n\n \n

    \n Readiness probes are used to confirm that a container has started. Learn more about{\" \"}\n readiness probes.\n

    \n \n Container is considered ready after {this.state.containerDetails.ReadinessProbe.successThreshold}\n {this.state.containerDetails.ReadinessProbe.successThreshold === \"1\" ? successes : consecutive successes}\n )\n : Summary.default(\"No success threshold specified\")} help={\"Specify how many consecutive times the probe must succeed for the container to be considered ready after a failure.\"} fillCardWidth={CardFill.FillAll} forceMobileBehaviour={true}>\n this.setContainerReadinessState({ successThreshold: x })} label=\"Success threshold\" placeholder=\"1 (default)\"/>\n \n \n Pod is marked unready after {this.state.containerDetails.ReadinessProbe.failureThreshold}\n {this.state.containerDetails.ReadinessProbe.failureThreshold === \"1\" ? failure : consecutive failures}\n )\n : Summary.default(\"No failure threshold specified\")} help={\"Set how many times the probe can fail after the pod has been started.\"} fillCardWidth={CardFill.FillAll} forceMobileBehaviour={true}>\n this.setContainerReadinessState({ failureThreshold: x })} label=\"Failure threshold\" placeholder={\"3 (default)\"}/>\n After this many failures, the pod will restart.\n \n \n Probe will wait {this.state.containerDetails.ReadinessProbe.timeoutSeconds} second\n {this.state.containerDetails.ReadinessProbe.timeoutSeconds !== \"1\" && s} for a response\n )\n : Summary.default(\"No timeout specified\")} help={\"Specify the number of seconds to wait for a probe response.\"} fillCardWidth={CardFill.FillAll} forceMobileBehaviour={true}>\n this.setContainerReadinessState({ timeoutSeconds: x })} label=\"Timeout in seconds\" placeholder={\"1 (default)\"}/>\n \n \n Probe will wait {this.state.containerDetails.ReadinessProbe.initialDelaySeconds} second\n {this.state.containerDetails.ReadinessProbe.initialDelaySeconds !== \"1\" && s} before being initiated\n )\n : Summary.default(\"No initial delay specified\")} help={\"Specify the number of seconds to wait before the probe is initiated.\"} fillCardWidth={CardFill.FillAll} forceMobileBehaviour={true}>\n this.setContainerReadinessState({ initialDelaySeconds: x })} label=\"Initial delay in seconds\"/>\n \n \n Probe will be run every {this.state.containerDetails.ReadinessProbe.periodSeconds} second\n {this.state.containerDetails.ReadinessProbe.periodSeconds !== \"1\" && s}\n )\n : Summary.default(\"No period specified\")} help={\"Specify how frequently the probe is executed.\"} fillCardWidth={CardFill.FillAll} forceMobileBehaviour={true}>\n this.setContainerReadinessState({ periodSeconds: x })} label=\"Period in seconds\" placeholder=\"10 (default)\"/>\n \n \n } renderRight={() => }/>);\n case ControlType.Checkbox: {\n return } renderRight={() => }/>;\n }\n case ControlType.Sensitive:\n return } renderRight={() => }/>;\n case ControlType.Custom:\n if (props.customControlTypes) {\n const customControlType = props.customControlTypes.find((c) => c.name === property.Type);\n if (customControlType) {\n return customControlType.getInputControl(property, dataContext, value);\n }\n }\n }\n return ;\n };\n const isApplicable = (applicability: PropertyApplicability, dataContext: DataContext) => {\n if (applicability) {\n switch (applicability.Mode) {\n case PropertyApplicabilityMode.ApplicableIfHasAnyValue:\n if (dataContext[applicability.DependsOnPropertyName]) {\n return true;\n }\n break;\n case PropertyApplicabilityMode.ApplicableIfHasNoValue:\n if (!dataContext[applicability.DependsOnPropertyName]) {\n return true;\n }\n break;\n case PropertyApplicabilityMode.ApplicableIfSpecificValue:\n if (dataContext[applicability.DependsOnPropertyName] === applicability.DependsOnPropertyValue) {\n return true;\n }\n break;\n case PropertyApplicabilityMode.ApplicableIfNotSpecificValue:\n if (dataContext[applicability.DependsOnPropertyName] !== applicability.DependsOnPropertyValue) {\n return true;\n }\n break;\n }\n return false;\n }\n return true;\n };\n const renderItem = (parameter: DataContext, fieldsToShow: string[]) => {\n const dataToShow = fieldsToShow.map((field, index) =>
    {parameter[field]}
    );\n return dataToShow;\n };\n const openDraw = (drawId: string) => {\n updateState({\n ...state,\n drawers: {\n [drawId]: {\n ...state.drawers[drawId],\n isOpen: true,\n },\n },\n });\n };\n const closeDraw = (drawId: string) => {\n updateState({\n ...state,\n drawers: {\n [drawId]: {\n ...state.drawers[drawId],\n isOpen: false,\n },\n },\n });\n };\n const removeItemFromArray = (item: DataContext, dataContext: DataContext) => {\n if (Array.isArray(dataContext)) {\n _.remove(dataContext, (data) => _.isEqual(item, data));\n }\n if (props.onChange) {\n props.onChange(props.values!);\n }\n };\n const onDrawOk = (drawId: string, dataContext: DataContext) => {\n if (Array.isArray(dataContext)) {\n if (state.drawers[drawId].isUpdate) {\n state.drawers[drawId].isUpdate = false;\n dataContext[state.drawers[drawId].itemIndex] = state.drawers[drawId].data;\n }\n else {\n dataContext.push(state.drawers[drawId].data);\n }\n }\n onDrawClose(drawId);\n if (props.onChange) {\n props.onChange(props.values!);\n }\n };\n const onDrawOpen = (drawId: string, data?: DataContext, dataContext?: DataContext) => {\n if (data && dataContext) {\n if (Array.isArray(dataContext)) {\n state.drawers[drawId].data = _.cloneDeep(data);\n state.drawers[drawId].isUpdate = true;\n state.drawers[drawId].itemIndex = dataContext.findIndex((val) => _.isEqual(val, data));\n }\n }\n openDraw(drawId);\n };\n const onDrawClose = (drawId: string) => {\n state.drawers[drawId].data = {};\n state.drawers[drawId].isUpdate = false;\n closeDraw(drawId);\n };\n const renderArraySection = (property: PropertyMetadata, dataContext: DataContext): React.ReactNode => {\n if (!Array.isArray(dataContext)) {\n throw new Error(\"DataContext was expected to be an array.\");\n }\n if (state.drawers[property.Name] === undefined) {\n state.drawers[property.Name] = {\n data: {},\n isOpen: false,\n isUpdate: false,\n itemIndex: -1,\n };\n }\n const description = property.DisplayInfo && property.DisplayInfo.Description ? (\n \n ) : (`Provide a value for ${property.DisplayInfo.Label}`);\n const compositeTypeToFind = property.Type.substring(0, property.Type.length - 2);\n const compositeType = props.types!.filter((t) => t.Name === compositeTypeToFind)[0];\n const fieldsToShow = compositeType.Properties.filter((prop) => prop.DisplayInfo.Required).map((prop) => prop.Name);\n return (\n renderItem(data, fieldsToShow)} data={dataContext} listActions={[ onDrawOpen(property.Name)}/>]} onRemoveRow={(item) => removeItemFromArray(item, dataContext)} onRowTouch={(item) => onDrawOpen(property.Name, item, dataContext)}/>\n onDrawClose(property.Name)} onPrimaryButtonClick={() => onDrawOk(property.Name, dataContext)} variant=\"default\">\n \n
    {renderSection(compositeType, state.drawers[property.Name].data, property.DisplayInfo.Label, property.Name, !state.drawers[property.Name].isUpdate, false)}
    \n
    \n
    );\n };\n const renderProperty = (property: PropertyMetadata, dataContext: DataContext, parentPropertyName: string, isExpandedByDefault = false, retrieveValuesFromParent = true): React.ReactNode => {\n if (!isApplicable(property.DisplayInfo.PropertyApplicability!, dataContext)) {\n return;\n }\n if (MetadataTypeHelpers.isCompositeType(property) && (!props.customControlTypes || !props.customControlTypes.find((c) => c.name === property.Type))) {\n const compositeType = props.types!.filter((t) => t.Name === property.Type)[0];\n if (!dataContext[property.Name]) {\n dataContext[property.Name] = {};\n }\n return renderSection(compositeType, dataContext[property.Name], property.DisplayInfo.Label, property.Name, isExpandedByDefault, retrieveValuesFromParent);\n }\n if (MetadataTypeHelpers.isArrayType(property)) {\n return renderArraySection(property, dataContext[property.Name]);\n }\n const controlType = getControlType(property);\n const selectOptions = getSelectOptions(property);\n const description = property.DisplayInfo && property.DisplayInfo.Description ? (\n \n ) : (`Provide a value for ${property.DisplayInfo.Label}`);\n const extendedDescription = property.DisplayInfo && property.DisplayInfo.ExtendedDescription ? (\n \n ) : null;\n const controlToRender = getInputControl(property, dataContext, props.getBoundFieldProps);\n return (\n {controlToRender}\n {property.DisplayInfo.ShowCopyToClipboard && }\n {renderConnectivityCheckButton(property, dataContext, retrieveValuesFromParent)}\n {extendedDescription}\n );\n };\n // Sorting properties by simple types first, then composite types\n const sortPropertiesByCompositeType = (left: PropertyMetadata, right: PropertyMetadata) => {\n const leftIsCompositeType = MetadataTypeHelpers.isCompositeType(left);\n const rightIsCompositeType = MetadataTypeHelpers.isCompositeType(right);\n return leftIsCompositeType === rightIsCompositeType ? 0 : leftIsCompositeType ? 1 : -1;\n };\n const renderConnectivityCheckButton = (property: PropertyMetadata, dataContext: DataContext, retrieveValuesFromParent: boolean) => {\n if (property.DisplayInfo.ConnectivityCheck && property.DisplayInfo.ConnectivityCheck.Url) {\n const values: {\n [key: string]: any;\n } = {};\n if (property.DisplayInfo.ConnectivityCheck.DependsOnPropertyNames && property.DisplayInfo.ConnectivityCheck.DependsOnPropertyNames.length > 0) {\n property.DisplayInfo.ConnectivityCheck.DependsOnPropertyNames.forEach((propName) => {\n let value = dataContext[propName];\n if (value === undefined && retrieveValuesFromParent && props.values && props.values[propName] !== undefined) {\n value = props.values[propName];\n }\n if (typeof value === \"object\" && value !== null && Object.keys(value).indexOf(\"HasValue\") !== -1) {\n values[propName] = dataContext[propName].NewValue;\n }\n else {\n values[propName] = value;\n }\n });\n }\n return ;\n }\n };\n const renderSection = (compositeType: TypeMetadata, dataContext: DataContext, sectionName: string, parentPropertyName: string, isExpandedByDefault = false, retrieveValuesFromParent = true) => {\n const propMetadata = compositeType?.Properties?.sort(sortPropertiesByCompositeType);\n // Move \"Is Enabled\" toggle so that it is always ontop of the section\n const indexOfIsEnabled = propMetadata.findIndex((prop) => prop.Name === \"IsEnabled\");\n const isEnabledProp = indexOfIsEnabled > -1 ? propMetadata[indexOfIsEnabled] : null;\n if (isEnabledProp) {\n propMetadata.splice(indexOfIsEnabled, 1);\n propMetadata.unshift(isEnabledProp);\n }\n const types = propMetadata.map((t) => renderProperty(t, dataContext, parentPropertyName, isExpandedByDefault, retrieveValuesFromParent));\n const sectionHeading = sectionName && ;\n return (
    \n {sectionHeading}\n
    {types}
    \n
    );\n };\n const onChange = (property: PropertyMetadata, dataContext: DataContext, value: any) => {\n let boundValue = value;\n if (property.Type === \"string[]\") {\n boundValue = value.split(\"\\n\");\n }\n // mutate state and trigger UI refresh\n // it would be really nice to replace this\n dataContext[property.Name] = boundValue;\n if (props.onChange) {\n props.onChange(props.values!);\n }\n };\n if (props && props.types && props.types.length > 0) {\n return (
    \n {props.description && (
    \n \n
    )}\n {renderSection(props.types[0], props.values!, null!, null!)}\n
    );\n }\n else {\n logger.error(\"No types provided to DynamicForm\");\n }\n return null;\n};\nDynamicForm.displayName = \"DynamicForm\"\nexport default DynamicForm;\n","function addFeature(currentFeatures: string, featureToAdd: string) {\n if (currentFeatures) {\n return `${currentFeatures},${featureToAdd}`;\n }\n else {\n return featureToAdd;\n }\n}\nfunction removeFeature(currentFeatures: string, featureToAdd: string) {\n const oldFeatures = currentFeatures.split(\",\");\n return oldFeatures.filter((v: string) => !v || v !== featureToAdd).join(\",\");\n}\nexport function toggleFeature(currentFeatures: string, featureToToggle: string) {\n if (!currentFeatures) {\n currentFeatures = \"\";\n }\n if (currentFeatures.includes(featureToToggle)) {\n return removeFeature(currentFeatures, featureToToggle);\n }\n else {\n return addFeature(currentFeatures, featureToToggle);\n }\n}\n","import { Checkbox } from \"@octopusdeploy/design-system-components\";\nimport type { StructuredConfigurationProperties } from \"@octopusdeploy/legacy-action-properties\";\nimport * as React from \"react\";\nimport type { ActionEditProps } from \"../../Actions/pluginRegistry\";\nimport type { ScriptPackageProperties } from \"../../Actions/script/ScriptPackageReferenceDialog\";\nimport { toggleFeature } from \"../../Features/enabledFeaturesHelpers\";\nimport { ExpandableFormSection, Summary } from \"../../form\";\nconst StructuredConfigurationVariablesToggle = (props: ActionEditProps) => {\n const featureEnabled = props.properties[\"Octopus.Action.EnabledFeatures\"]?.includes(\"Octopus.Features.JsonConfigurationVariables\");\n function summary() {\n if (featureEnabled) {\n return Summary.summary(Variable replacement will be performed on the target files);\n }\n else {\n return Summary.placeholder(No variable replacement will be performed);\n }\n }\n function handleChange() {\n props.setProperties({ [\"Octopus.Action.EnabledFeatures\"]: toggleFeature(props.properties[\"Octopus.Action.EnabledFeatures\"], \"Octopus.Features.JsonConfigurationVariables\") }, true);\n }\n return (\n \n );\n};\nexport default StructuredConfigurationVariablesToggle;\n","/* eslint-disable @typescript-eslint/no-non-null-assertion */\n/* eslint-disable @typescript-eslint/no-explicit-any */\nimport { Checkbox, RadioButton, RadioButtonGroup } from \"@octopusdeploy/design-system-components\";\nimport type { AwsDeployCloudFormationProperties } from \"@octopusdeploy/legacy-action-properties\";\nimport type { DataContext, MetadataTypeCollection, TypeMetadata } from \"@octopusdeploy/octopus-server-client\";\nimport { ActionExecutionLocation, GetPrimaryPackageReference, InitialisePrimaryGitDependency, InitialisePrimaryPackageReference, RemovePrimaryGitDependency, RemovePrimaryPackageReference, SetPrimaryPackageReference, } from \"@octopusdeploy/octopus-server-client\";\nimport { noOp } from \"@octopusdeploy/utilities\";\nimport * as React from \"react\";\nimport { useOptionalProcessContext } from \"~/areas/projects/components/Process/Contexts/ProcessContext\";\nimport { useFeedsFromContext, useRefreshFeedsFromContext } from \"~/areas/projects/components/Process/Contexts/ProcessFeedsContextProvider\";\nimport { useGitCredentialsFromContext, useRefreshGitCredentialsFromContext } from \"~/areas/projects/components/Process/Contexts/ProcessGitCredentialsContextProvider\";\nimport { TargetRoles } from \"~/areas/projects/components/Process/types\";\nimport { buildRelatedTriggerDependencies } from \"~/areas/projects/components/Triggers/ProcessCallouts/triggerPackageRelations\";\nimport { useOptionalProjectContext } from \"~/areas/projects/context\";\nimport { repository } from \"~/clientInstance\";\nimport Roles from \"~/components/Actions/Roles\";\nimport type { ActionSummaryProps } from \"~/components/Actions/actionSummaryProps\";\nimport type { ActionEditProps } from \"~/components/Actions/pluginRegistry\";\nimport pluginRegistry from \"~/components/Actions/pluginRegistry\";\nimport { BaseComponent } from \"~/components/BaseComponent/BaseComponent\";\nimport DeletableChip from \"~/components/Chips/DeletableChip\";\nimport { CodeEditor, TextFormat } from \"~/components/CodeEditor/CodeEditor\";\nimport OpenDialogButton from \"~/components/Dialog/OpenDialogButton\";\nimport DynamicForm from \"~/components/DynamicForm/DynamicForm\";\nimport { isFeatureToggleEnabled } from \"~/components/FeatureToggle/New/FeatureToggleContext\";\nimport { GitRepositorySourceSelector, isProjectRepositoryGitSourceSupported } from \"~/components/GitRepositorySource/GitRepositorySourceSelector\";\nimport { MultiSelect } from \"~/components/MultiSelect/MultiSelect\";\nimport ExternalLink from \"~/components/Navigation/ExternalLink/ExternalLink\";\nimport PackageSelector from \"~/components/PackageSelector/PackageSelector\";\nimport SourceCodeDialog from \"~/components/SourceCodeDialog/SourceCodeDialog\";\nimport type { SelectItem } from \"~/components/VirtualListWithKeyboard/SelectItem\";\nimport { ExpandableFormSection, Summary } from \"~/components/form\";\nimport { CardFill } from \"~/components/form/Sections/ExpandableFormSection\";\nimport { default as FormSectionHeading } from \"~/components/form/Sections/FormSectionHeading\";\nimport { VariableLookupText } from \"~/components/form/VariableLookupText\";\nimport { BoundStringCheckbox } from \"~/primitiveComponents/form/Checkbox/StringCheckbox\";\nimport Note from \"~/primitiveComponents/form/Note/Note\";\nimport { JsonUtils } from \"~/utils/jsonUtils\";\nimport StructuredConfigurationVariablesToggle from \"../../../components/Features/structuredConfigurationVariables/structuredConfigurationVariablesToggle\";\nimport type { KeyValuePair } from \"../../EditList/KeyValueEditList\";\nimport { KeyValueEditList } from \"../../EditList/KeyValueEditList\";\nimport { toggleFeature } from \"../../Features/enabledFeaturesHelpers\";\nimport type { ActionWithFeeds, ActionWithGitRepositorySource } from \"../commonActionHelpers\";\nimport { DockerReferenceListFormSection } from \"../packageReferences\";\nimport type { ScriptPackageProperties } from \"../script/ScriptPackageReferenceDialog\";\nimport { CloudFormationChangesetFeature } from \"./awsCloudFormationChangesetFeature\";\nimport { default as AwsLoginComponent } from \"./awsLoginComponent\";\nimport CommonSummaryHelper from \"~/components/../utils/CommonSummaryHelper/CommonSummaryHelper\";\nclass AwsCloudFormationActionSummary extends BaseComponent {\n render() {\n return (
    \n Deploy an AWS CloudFormation template\n {this.props.targetRolesAsCSV && (\n {\" \"}\n on behalf of targets with \n )}\n
    );\n }\n static displayName = \"AwsCloudFormationActionSummary\";\n}\ninterface AwsParameter {\n ParameterKey: string;\n ParameterValue: any;\n}\nconst knownCapabilities = [\n { Id: \"CAPABILITY_IAM\", Name: \"The template has IAM resources (CAPABILITY_IAM)\" },\n { Id: \"CAPABILITY_NAMED_IAM\", Name: \"The template has IAM resources with custom names (CAPABILITY_NAMED_IAM)\" },\n { Id: \"CAPABILITY_AUTO_EXPAND\", Name: \"The template contains macros (CAPABILITY_AUTO_EXPAND)\" },\n];\nconst CapabilityMultiselect = MultiSelect();\ntype Tag = KeyValuePair;\ninterface AwsCloudFormationMetadata {\n tags: Tag[];\n}\ninterface AwsCloudFormationActionEditState extends AwsCloudFormationMetadata {\n capabilities: string[];\n parameterTypes?: TypeMetadata[];\n parameterValues?: any;\n}\ntype AwsCloudFormationActionEditInternalProps = ActionEditProps & ActionWithFeeds & ActionWithGitRepositorySource;\nclass AwsCloudFormationActionEditInternal extends BaseComponent {\n parameterValues: {};\n parameters: {};\n source: any;\n constructor(props: AwsCloudFormationActionEditInternalProps) {\n super(props);\n this.state = {\n capabilities: [],\n tags: [],\n };\n this.parameterValues = {};\n this.parameters = {};\n this.source = { octopus: \"octopus\" };\n }\n async componentDidMount() {\n if (!this.props.properties[\"Octopus.Action.Aws.WaitForCompletion\"]) {\n this.props.setProperties({ [\"Octopus.Action.Aws.WaitForCompletion\"]: \"True\" }, true);\n }\n if (!this.props.properties[\"Octopus.Action.Aws.AssumeRole\"]) {\n this.props.setProperties({ [\"Octopus.Action.Aws.AssumeRole\"]: \"False\" }, true);\n }\n if (!this.props.properties[\"Octopus.Action.AwsAccount.UseInstanceRole\"]) {\n this.props.setProperties({ [\"Octopus.Action.AwsAccount.UseInstanceRole\"]: \"False\" }, true);\n }\n if (!this.props.properties[\"Octopus.Action.Aws.CloudFormationTemplateParameters\"]) {\n this.props.setProperties({ [\"Octopus.Action.Aws.CloudFormationTemplateParameters\"]: \"\" }, true);\n }\n if (!this.props.properties[\"Octopus.Action.Aws.TemplateSource\"]) {\n this.props.setProperties({ [\"Octopus.Action.Aws.TemplateSource\"]: \"Inline\" }, true);\n }\n // If CloudFormationTemplateParametersRaw isn't set, default it to the value of\n // CloudFormationTemplateParameters. This accounts for cases where people have\n // populated CloudFormationTemplateParameters and upgraded to an Octopus version that\n // expects the UI input to be saved in CloudFormationTemplateParametersRaw.\n if (!this.props.properties[\"Octopus.Action.Aws.CloudFormationTemplateParametersRaw\"]) {\n this.props.setProperties({\n [\"Octopus.Action.Aws.CloudFormationTemplateParametersRaw\"]: this.props.properties[\"Octopus.Action.Aws.CloudFormationTemplateParameters\"],\n }, true);\n }\n }\n async UNSAFE_componentWillMount() {\n if (this.props.properties[\"Octopus.Action.Aws.CloudFormationTemplate\"] && this.props.properties[\"Octopus.Action.Aws.TemplateSource\"] === \"Inline\") {\n await this.refreshParametersFromTemplate(this.props.properties[\"Octopus.Action.Aws.CloudFormationTemplate\"]);\n }\n if (this.props.properties[\"Octopus.Action.Aws.IamCapabilities\"]) {\n this.setState({ capabilities: JSON.parse(this.props.properties[\"Octopus.Action.Aws.IamCapabilities\"]) });\n }\n if (this.props.properties[\"Octopus.Action.Aws.CloudFormation.Tags\"]) {\n this.setState({ tags: JSON.parse(this.props.properties[\"Octopus.Action.Aws.CloudFormation.Tags\"]) });\n }\n }\n templateSourceSummary() {\n const source = this.props.properties[\"Octopus.Action.Aws.TemplateSource\"];\n if (source === \"Inline\") {\n return Summary.summary(\"Source code\");\n }\n if (source === \"Package\") {\n return Summary.summary(\"File inside a package\");\n }\n if (source === \"S3URL\") {\n return Summary.summary(\"S3 URL\");\n }\n if (source === \"GitRepository\") {\n return Summary.summary(\"File inside a Git repository\");\n }\n return Summary.placeholder(\"Template source not specified\");\n }\n templatePathSummary() {\n if (this.props.properties[\"Octopus.Action.Aws.CloudFormationTemplate\"]) {\n return Summary.summary(\n Using the template in {this.props.properties[\"Octopus.Action.Aws.CloudFormationTemplate\"]}\n );\n }\n else {\n return Summary.placeholder(\n No template path specified\n );\n }\n }\n parameterPathSummary() {\n if (this.props.properties[\"Octopus.Action.Aws.CloudFormationTemplateParametersRaw\"]) {\n return Summary.summary(\n Using parameters from {this.props.properties[\"Octopus.Action.Aws.CloudFormationTemplateParametersRaw\"]}\n );\n }\n else {\n return Summary.placeholder(\n No parameters path specified\n );\n }\n }\n templateS3PathSummary() {\n if (this.props.properties[\"Octopus.Action.Aws.CloudFormationTemplateS3URL\"]) {\n return Summary.summary(\n Using the template from {this.props.properties[\"Octopus.Action.Aws.CloudFormationTemplateS3URL\"]}\n );\n }\n else {\n return Summary.placeholder(\n No S3 template URL specified\n );\n }\n }\n parameterS3PathSummary() {\n if (this.props.properties[\"Octopus.Action.Aws.CloudFormationParametersS3URL\"]) {\n return Summary.summary(\n Using the parameters from {this.props.properties[\"Octopus.Action.Aws.CloudFormationParametersS3URL\"]}\n );\n }\n else {\n return Summary.placeholder(\n No S3 parameters URL specified\n );\n }\n }\n onChangeTemplateSource(value: string | undefined) {\n this.props.setProperties({\n [\"Octopus.Action.Aws.TemplateSource\"]: value,\n [\"Octopus.Action.Aws.CloudFormationTemplate\"]: \"\",\n [\"Octopus.Action.Aws.CloudFormationTemplateParametersRaw\"]: \"\",\n [\"Octopus.Action.Aws.CloudFormationTemplateParameters\"]: \"\",\n });\n if (value === \"Package\") {\n this.props.setPackages(InitialisePrimaryPackageReference(this.props.packages, this.props.feeds));\n }\n else {\n this.props.setPackages(RemovePrimaryPackageReference(this.props.packages));\n }\n if (value === \"GitRepository\") {\n if (isProjectRepositoryGitSourceSupported(this.props.project?.PersistenceSettings, this.props.processType)) {\n this.props.setProperties({ [\"Octopus.Action.GitRepository.Source\"]: \"Project\" });\n this.props.setGitDependencies?.(RemovePrimaryGitDependency(this.props.gitDependencies), false);\n }\n else {\n this.props.setProperties({ [\"Octopus.Action.GitRepository.Source\"]: \"External\" });\n this.props.setGitDependencies?.(InitialisePrimaryGitDependency(this.props.gitDependencies), false);\n }\n }\n else {\n this.props.setProperties({ [\"Octopus.Action.GitRepository.Source\"]: \"\" });\n this.props.setGitDependencies?.(RemovePrimaryGitDependency(this.props.gitDependencies), false);\n }\n }\n setCapabilityProperty = () => {\n this.props.setProperties({ \"Octopus.Action.Aws.IamCapabilities\": JSON.stringify(this.state.capabilities) });\n };\n setTagsProperty = () => {\n this.props.setProperties({ \"Octopus.Action.Aws.CloudFormation.Tags\": JSON.stringify(this.state.tags) });\n };\n setTags = (tags: KeyValuePair[]) => {\n this.setState((prev) => ({\n ...prev,\n tags: [...tags],\n }), this.setTagsProperty);\n };\n setCapabilities = (capabilites: string[]) => {\n this.setState((prev) => ({\n ...prev,\n capabilities: [...capabilites],\n }), this.setCapabilityProperty);\n };\n removeCapability = (capability: string) => {\n this.setState((prev, props) => ({\n ...prev,\n capabilities: prev!.capabilities.filter((x) => x !== capability),\n }), this.setCapabilityProperty);\n };\n getEnabledFeatures = () => {\n const enabledFeatures = this.props.properties[\"Octopus.Action.EnabledFeatures\"];\n return enabledFeatures ? enabledFeatures : \"\";\n };\n getTargetPaths = () => {\n const templatePath = this.props.properties[\"Octopus.Action.Aws.CloudFormationTemplate\"];\n const parametersPath = this.props.properties[\"Octopus.Action.Aws.CloudFormationTemplateParametersRaw\"];\n if (!templatePath) {\n return;\n }\n if (!parametersPath) {\n return templatePath;\n }\n return `${templatePath}, ${parametersPath}`;\n };\n setTargetPaths = () => {\n const templateSource = this.props.properties[\"Octopus.Action.Aws.TemplateSource\"];\n if (templateSource === \"Package\" || templateSource === \"GitRepository\") {\n this.props.setProperties({ [\"Octopus.Action.Package.JsonConfigurationVariablesTargets\"]: this.getTargetPaths() });\n }\n else {\n /*\n * template.yaml is the filename assigned to inline CloudFormation templates\n * in source/Octopus.Aws/CloudFormation/Presets/CloudFormationCalamariPresets.cs\n */\n this.props.setProperties({ [\"Octopus.Action.Package.JsonConfigurationVariablesTargets\"]: \"template.yaml\" });\n }\n };\n handleChangeSetEnabledChange = () => {\n this.props.setProperties({ [\"Octopus.Action.EnabledFeatures\"]: toggleFeature(this.props.properties[\"Octopus.Action.EnabledFeatures\"], \"Octopus.Features.CloudFormation.ChangeSet.Feature\") });\n };\n handleTemplatePathChange = (val: string) => {\n this.props.setProperties({ [\"Octopus.Action.Aws.CloudFormationTemplate\"]: val });\n this.setTargetPaths();\n };\n handleParameterPathChange = (val: string) => {\n this.props.setProperties({ [\"Octopus.Action.Aws.CloudFormationTemplateParametersRaw\"]: val });\n this.setTargetPaths();\n };\n render() {\n const properties = this.props.properties;\n const pkg = GetPrimaryPackageReference(this.props.packages);\n const changeSetsEnabled = this.getEnabledFeatures().includes(\"Octopus.Features.CloudFormation.ChangeSet.Feature\");\n const gitSourcingEnabled = isFeatureToggleEnabled(\"GitSourcingIaCStepsFeatureToggle\");\n return (
    \n \n \n \n this.props.setProperties({ [\"Octopus.Action.Aws.Region\"]: val })} error={this.props.getFieldError(\"Octopus.Action.Aws.Region\")}/>\n \n View the AWS Regions and Endpoints documentation for a current list of the available region codes.\n \n this.props.setProperties({ [\"Octopus.Action.Aws.CloudFormationStackName\"]: val })} error={this.props.getFieldError(\"Octopus.Action.Aws.CloudFormationStackName\")}/>\n this.props.setProperties({ \"Octopus.Action.Aws.CloudFormation.RoleArn\": val })} error={this.props.getFieldError(\"Octopus.Action.Aws.CloudFormation.RoleArn\")}/>\n The Amazon Resource Name (ARN) of an AWS Identity and Access Management (IAM) role that AWS CloudFormation assumes when executing any operations. This role will be used for any future operations on the stack.\n\n ( this.removeCapability(x.Id)} description={x.Name}>\n {x.Id}\n )} value={this.state.capabilities} onChange={this.setCapabilities}/>\n \n Additional capabilities are required for templates that have IAM resources or named IAM resources. Refer to the AWS documentation for more information.\n \n this.state.tags || []}/>\n \n Stack-level tags to be propagated to resources that CloudFormation supports. If no tags are specified and the stack already exists current tags will be preserved. Otherwise tags specified here will replace existing tags. Refer\n to the AWS documentation for more information.\n \n this.props.setProperties({ [\"Octopus.Action.Aws.DisableRollback\"]: x })} label=\"Disable rollback\"/>\n Select this checkbox to disable the automatic rollback of a CloudFormation stack if it failed to be created successfully. This has no effect if the stack exists and is being updated.\n this.props.setProperties({ [\"Octopus.Action.Aws.WaitForCompletion\"]: x })} label=\"Wait for completion\"/>\n \n Select this checkbox to force the step to wait until the CloudFormation stack has been completed before getting the outputs and finishing the step. Be aware that unselecting this option can mean that no output variables are\n created, or that output variables may contain outdated values, as the CloudFormation outputs may not have been created or updated before this step completed. Unselecting this option also means the step will not indicate an\n error if the stack was rolled back during deployment.\n \n \n\n \n \n {gitSourcingEnabled ? Templates can be entered as source-code, contained in a package or a Git repository. : Templates can be entered as source-code, or contained in a package.}\n this.onChangeTemplateSource(val)} error={this.props.getFieldError(\"Octopus.Action.Aws.TemplateSource\")}>\n \n {gitSourcingEnabled && }\n \n \n \n {this.props.properties[\"Octopus.Action.Aws.TemplateSource\"] === \"Inline\" && (
    \n
    \n {this.props.properties[\"Octopus.Action.Aws.CloudFormationTemplate\"] && (<>\n \n
    \n )}\n
    \n ( {\n this.props.setProperties({ [\"Octopus.Action.Aws.CloudFormationTemplate\"]: value });\n await this.refreshParametersFromMetadata(await this.getMetadata(value));\n }} language={!this.props.properties[\"Octopus.Action.Aws.CloudFormationTemplate\"] || JsonUtils.tryParseJson(this.props.properties[\"Octopus.Action.Aws.CloudFormationTemplate\"]) ? TextFormat.JSON : TextFormat.YAML}/>)}/>\n
    \n
    )}\n
    \n\n {!gitSourcingEnabled && this.props.properties[\"Octopus.Action.Aws.TemplateSource\"] === \"Package\" && (
    \n \n this.props.setPackages(SetPrimaryPackageReference({ PackageId: packageId }, this.props.packages))} onFeedIdChange={(feedId) => this.props.setPackages(SetPrimaryPackageReference({ FeedId: feedId }, this.props.packages))} onPackageVersionChange={(version) => this.props.setPackages(SetPrimaryPackageReference({ Version: version }, this.props.packages))} packageIdError={this.props.getFieldError(\"Octopus.Action.Package.PackageId\")} feedIdError={this.props.getFieldError(\"Octopus.Action.Package.FeedId\")} projectId={this.props.projectId} feeds={this.props.feeds} localNames={this.props.localNames} refreshFeeds={this.loadFeeds}/>\n \n\n \n \n\n Relative path to the template file contained in the package\n \n\n \n \n Relative path to the JSON parameters file contained in the package\n \n
    )}\n\n {gitSourcingEnabled && this.props.properties[\"Octopus.Action.Aws.TemplateSource\"] === \"Package\" && (
    \n \n this.props.setPackages(SetPrimaryPackageReference({ PackageId: packageId }, this.props.packages))} onFeedIdChange={(feedId) => this.props.setPackages(SetPrimaryPackageReference({ FeedId: feedId }, this.props.packages))} onPackageVersionChange={(version) => this.props.setPackages(SetPrimaryPackageReference({ Version: version }, this.props.packages))} packageIdError={this.props.getFieldError(\"Octopus.Action.Package.PackageId\")} feedIdError={this.props.getFieldError(\"Octopus.Action.Package.FeedId\")} projectId={this.props.projectId} feeds={this.props.feeds} localNames={this.props.localNames} refreshFeeds={this.loadFeeds}/>\n \n {this.externalTemplateFieldsSection()}\n
    )}\n\n {this.props.properties[\"Octopus.Action.Aws.TemplateSource\"] === \"S3URL\" && (
    \n \n this.props.setProperties({ \"Octopus.Action.Aws.CloudFormationTemplateS3URL\": val })} error={this.props.getFieldError(\"Octopus.Action.Aws.CloudFormationTemplateS3URL\")}/>\n CloudFormation templates hosted in S3 are not processed by Octopus, and so can not make use of variable substitutions.\n \n \n this.props.setProperties({ \"Octopus.Action.Aws.CloudFormationParametersS3URL\": val })} error={this.props.getFieldError(\"Octopus.Action.Aws.CloudFormationParametersS3URL\")}/>\n Parameter files hosted in S3 are downloaded and processed during deployment, and so can make use of variable substitutions.\n \n
    )}\n\n {this.props.properties[\"Octopus.Action.Aws.TemplateSource\"] === \"GitRepository\" && (<>\n \n {this.externalTemplateFieldsSection()}\n )}\n\n {this.props.properties[\"Octopus.Action.Aws.TemplateSource\"] !== \"S3URL\" && (
    \n \n \n
    )}\n\n \n Change sets are enabled) : Summary.default(Change sets are disabled)} title=\"Enable\" errorKey=\"ChangesetsEnable\" help=\"Enable CloudFormation change sets\">\n \n \n {changeSetsEnabled && }\n\n {this.props.properties[\"Octopus.Action.Aws.TemplateSource\"] === \"Inline\" && this.state.parameterTypes && (
    \n \n this.updateParameters(data)} getBoundFieldProps={() => ({ projectId: this.props.projectId, gitRef: this.props.gitRef, localNames: this.props.localNames })}/>\n
    )}\n \n
    );\n }\n private getMetadata = (value: string): Promise<{\n Metadata: MetadataTypeCollection;\n Values: DataContext;\n }> => {\n return repository.CloudTemplates.getMetadata(value, \"CloudFormation\");\n };\n private externalTemplateFieldsSection = () => {\n const templateSource = this.props.properties[\"Octopus.Action.Aws.TemplateSource\"];\n const templateSourceDescription = templateSource === \"GitRepository\" ? \"Git repository\" : \"Package\";\n return (<>\n \n \n\n Relative path to the template file contained in the {templateSourceDescription}\n \n\n \n \n Relative path to the JSON parameters file contained in the {templateSourceDescription}\n \n );\n };\n private validateTemplate = async (value: string) => {\n try {\n await this.getMetadata(value);\n }\n catch (err) {\n return err;\n }\n return null;\n };\n private cloudFormationSummary() {\n const properties = this.props.properties;\n if (properties[\"Octopus.Action.Aws.CloudFormationStackName\"]) {\n return Summary.summary(\n Creating stack {properties[\"Octopus.Action.Aws.CloudFormationStackName\"]}\n {properties[\"Octopus.Action.Aws.Region\"] && (\n {\" \"}\n in {properties[\"Octopus.Action.Aws.Region\"]}\n )}\n {properties[\"Octopus.Action.Aws.WaitForCompletion\"] !== \"False\" && waiting for completion}\n {properties[\"Octopus.Action.Aws.WaitForCompletion\"] === \"False\" && not waiting for completion}\n {properties[\"Octopus.Action.Aws.DisableRollback\"] === \"True\" && , with rollback disabled}\n {properties[\"Octopus.Action.Aws.IamCapabilities\"] && properties[\"Octopus.Action.Aws.IamCapabilities\"] !== \"NONE\" && , and with IAM capabilities}\n {!properties[\"Octopus.Action.Aws.IamCapabilities\"] || (properties[\"Octopus.Action.Aws.IamCapabilities\"] === \"NONE\" && , and with no IAM capabilities)}\n );\n }\n return Summary.placeholder(\"Specify the details of the CloudFormation stack\");\n }\n private async refreshParametersFromTemplate(template: string) {\n await this.props.doBusyTask(async () => {\n const response = await repository.CloudTemplates.getMetadata(template, \"CloudFormation\");\n await this.refreshParametersFromMetadata(response);\n });\n }\n private async refreshParametersFromMetadata(metadataResponse: {\n Metadata: MetadataTypeCollection;\n Values: DataContext;\n }) {\n await this.props.doBusyTask(async () => {\n // merge stored parameter values from step data with default values from template\n const storedParameters: DataContext = this.flattenParameters();\n Object.keys(metadataResponse.Values).forEach((key) => {\n if (storedParameters[key]) {\n metadataResponse.Values[key] = storedParameters[key];\n }\n });\n this.props.setProperties({\n [\"Octopus.Action.Aws.CloudFormationTemplateParametersRaw\"]: JSON.stringify(Object.keys(metadataResponse.Values).map((k) => ({ ParameterKey: k, ParameterValue: metadataResponse.Values[k] }))),\n });\n this.syncParameters(metadataResponse.Values);\n this.setState({ parameterTypes: metadataResponse.Metadata.Types, parameterValues: metadataResponse.Values });\n });\n }\n private flattenParameters(): DataContext {\n const parameters: DataContext = {};\n if (this.props.properties[\"Octopus.Action.Aws.CloudFormationTemplateParametersRaw\"]) {\n const storedParameters = JSON.parse(this.props.properties[\"Octopus.Action.Aws.CloudFormationTemplateParametersRaw\"]);\n storedParameters.forEach((p: AwsParameter) => {\n parameters[p.ParameterKey] = p.ParameterValue;\n });\n }\n return parameters;\n }\n private updateParameters(data: DataContext) {\n const objectKeys = Object.keys(data);\n this.props.setProperties({\n [\"Octopus.Action.Aws.CloudFormationTemplateParametersRaw\"]: JSON.stringify(objectKeys.map((k) => ({ ParameterKey: k, ParameterValue: data[k] }))),\n });\n this.syncParameters(data);\n }\n private syncParameters(data: DataContext) {\n const objectKeys = Object.keys(data);\n /*\n Arrays are presented as new line separated strings, but are saved in the properties files\n as comma separated lists. So while Octopus.Action.Aws.CloudFormationTemplateParametersRaw\n retains the data input by the user, Octopus.Action.Aws.CloudFormationTemplateParameters\n is processed to contain the lists that CloudFormation expects.\n\n See https://github.com/aws/aws-cli/issues/1529 for details.\n */\n this.props.setProperties({\n [\"Octopus.Action.Aws.CloudFormationTemplateParameters\"]: JSON.stringify(objectKeys.map((k) => {\n if (Array.isArray(data[k])) {\n return { ParameterKey: k, ParameterValue: data[k].join(\",\") };\n }\n else {\n // We can't have null values, only empty strings\n return { ParameterKey: k, ParameterValue: data[k] || \"\" };\n }\n })),\n });\n }\n private loadFeeds = async () => {\n await this.props.refreshFeeds();\n };\n static displayName = \"AwsCloudFormationActionEditInternal\";\n}\ntype AwsCloudFormationActionEditProps = ActionEditProps;\nfunction AwsCloudFormationActionEdit(props: React.PropsWithChildren) {\n const feeds = useFeedsFromContext();\n const refreshFeeds = useRefreshFeedsFromContext();\n const gitCredentials = useGitCredentialsFromContext();\n const refreshGitCredentials = useRefreshGitCredentialsFromContext();\n const projectContext = useOptionalProjectContext();\n const processContext = useOptionalProcessContext();\n return ();\n}\npluginRegistry.registerAction({\n executionLocation: ActionExecutionLocation.AlwaysOnServer,\n actionType: \"Octopus.AwsRunCloudFormation\",\n summary: (properties, targetRolesAsCSV) => ,\n canHaveChildren: (step) => true,\n canBeChild: true,\n editSections: { default: AwsCloudFormationActionEdit },\n targetRoleOption: (action) => TargetRoles.Optional,\n hasPackages: (action) => false,\n docsLink: \"deployAwsCloudFormationTemplate\",\n});\n","import { Callout } from \"@octopusdeploy/design-system-components\";\nimport type { AWSRunScriptProperties } from \"@octopusdeploy/legacy-action-properties\";\nimport type { PackageReferenceProperties } from \"@octopusdeploy/octopus-server-client\";\nimport { ActionExecutionLocation } from \"@octopusdeploy/octopus-server-client\";\nimport * as React from \"react\";\nimport { TargetRoles } from \"~/areas/projects/components/Process/types\";\nimport { BaseComponent } from \"~/components/BaseComponent/BaseComponent\";\nimport type { BundledToolsProperties } from \"~/components/BundledTools/BundledToolsEditBase\";\nimport { BundledToolsEditBase } from \"~/components/BundledTools/BundledToolsEditBase\";\nimport FeatureToggleVisibility from \"~/components/FeatureToggle/New/FeatureToggleVisibility\";\nimport { VariableLookupText } from \"~/components/form/VariableLookupText\";\nimport Note from \"../../../primitiveComponents/form/Note/Note\";\nimport ExternalLink from \"../../Navigation/ExternalLink/ExternalLink\";\nimport { SupportedLanguage } from \"../../ScriptingLanguageSelector/ScriptingLanguageSelector\";\nimport { FormSectionHeading, Summary } from \"../../form\";\nimport ExpandableFormSection from \"../../form/Sections/ExpandableFormSection\";\nimport type { ActionSummaryProps } from \"../actionSummaryProps\";\nimport type { ActionEditProps } from \"../pluginRegistry\";\nimport pluginRegistry from \"../pluginRegistry\";\nimport type { ScriptPackageProperties } from \"../script/ScriptPackageReferenceDialog\";\nimport { ScriptActionEdit } from \"../script/scriptAction\";\nimport AwsLoginComponent from \"./awsLoginComponent\";\ntype AWSScriptActionEditState = {};\nclass AWSRunScriptActionSummary extends BaseComponent {\n constructor(props: ActionSummaryProps) {\n super(props);\n }\n render() {\n return
    Log into AWS and run a script with the AWS CLI.
    ;\n }\n static displayName = \"AWSRunScriptActionSummary\";\n}\nfunction AwsBundledToolsForScriptsEdit(props: ActionEditProps) {\n return (\n This step allows you run scripts that can use the AWS CLI. Learn more about AWS Tools.\n } help=\"Select whether to use the bundled AWS tools or using tooling pre-installed on the worker\" useBundledToolsSummary=\"Use AWS tools bundled with Octopus\" usePreInstalledToolsSummary=\"Use AWS tools pre-installed on the worker\" useBundledToolsCallout={\n Using the AWS tools bundled with Octopus is not recommended.\n
    \n
    \n For Windows workers, Octopus can supply AWS CLI 1.16.178 and AWS PowerShell modules 3.3.390.\n
    \n
    \n For Linux workers the AWS CLI must be pre-installed.\n
    \n
    \n Learn more about AWS Tools.\n
    }/>}>\n <>\n
    );\n}\nexport class AWSRunScriptActionEdit extends BaseComponent, AWSScriptActionEditState> {\n constructor(props: ActionEditProps) {\n super(props);\n this.state = {};\n }\n async componentDidMount() {\n if (!this.props.properties[\"Octopus.Action.Aws.AssumeRole\"]) {\n this.props.setProperties({ [\"Octopus.Action.Aws.AssumeRole\"]: \"False\" }, true);\n }\n if (!this.props.properties[\"Octopus.Action.AwsAccount.UseInstanceRole\"]) {\n this.props.setProperties({ [\"Octopus.Action.AwsAccount.UseInstanceRole\"]: \"False\" }, true);\n }\n }\n render() {\n return (
    \n \n\n \n\n \n \n this.props.setProperties({ [\"Octopus.Action.Aws.Region\"]: val })} error={this.props.getFieldError(\"Octopus.Action.Aws.Region\")}/>\n \n View the AWS Regions and Endpoints documentation for a current list of the available region codes.\n \n \n\n \n
    );\n }\n private regionSummary() {\n const properties = this.props.properties;\n if (properties[\"Octopus.Action.Aws.Region\"]) {\n return Summary.summary(\n Using {properties[\"Octopus.Action.Aws.Region\"]} as the default region\n );\n }\n return Summary.placeholder(\"Specify the default AWS region\");\n }\n static displayName = \"AWSRunScriptActionEdit\";\n}\npluginRegistry.registerAction({\n executionLocation: ActionExecutionLocation.AlwaysOnServer,\n actionType: \"Octopus.AwsRunScript\",\n summary: (properties, targetRolesAsCSV) => ,\n editSections: { default: AWSRunScriptActionEdit },\n canHaveChildren: () => true,\n canBeChild: true,\n targetRoleOption: () => TargetRoles.Optional,\n hasPackages: () => false,\n features: {\n optional: [\"Octopus.Features.JsonConfigurationVariables\", \"Octopus.Features.SubstituteInFiles\", \"Octopus.Features.SelectPowerShellEditionForWindows\"],\n },\n getInitialProperties: () => {\n return {\n OctopusUseBundledTooling: \"False\",\n };\n },\n docsLink: \"runAWSCLIScript\",\n});\n","/* eslint-disable @typescript-eslint/no-non-null-assertion,@typescript-eslint/consistent-type-assertions */\nimport { ActionButton, ActionButtonType, RadioButton } from \"@octopusdeploy/design-system-components\";\nimport type { AwsUploadS3Properties } from \"@octopusdeploy/legacy-action-properties\";\nimport type { AccountResource } from \"@octopusdeploy/octopus-server-client\";\nimport { ActionExecutionLocation, FeedType, GetPrimaryPackageReference, InitialisePrimaryPackageReference, SetPrimaryPackageReference } from \"@octopusdeploy/octopus-server-client\";\nimport { curry, identity } from \"lodash\";\nimport * as React from \"react\";\nimport { useFeedsFromContext, useRefreshFeedsFromContext } from \"~/areas/projects/components/Process/Contexts/ProcessFeedsContextProvider\";\nimport { TargetRoles } from \"~/areas/projects/components/Process/types\";\nimport { repository } from \"~/clientInstance\";\nimport { BaseComponent } from \"~/components/BaseComponent/BaseComponent\";\nimport type { KeyValuePair } from \"~/components/EditList/KeyValueEditList\";\nimport { KeyValueEditList } from \"~/components/EditList/KeyValueEditList\";\nimport DeferredPackageSelector from \"~/components/PackageSelector/DeferredPackageSelector\";\nimport type { SummaryNode } from \"~/components/form\";\nimport { ExpandableFormSection, FormSectionHeading, Note, Summary, UnstructuredFormSection } from \"~/components/form\";\nimport { VariableLookupText } from \"~/components/form/VariableLookupText\";\nimport StringCheckBox from \"~/primitiveComponents/form/Checkbox/StringCheckbox\";\nimport { BoundRadioButtonGroup } from \"~/primitiveComponents/form/RadioButton/BoundRadioButtonGroup\";\nimport CommonSummaryHelper from \"~/utils/CommonSummaryHelper/CommonSummaryHelper\";\nimport ExternalLink from \"../../Navigation/ExternalLink/ExternalLink\";\nimport type { ActionSummaryProps } from \"../actionSummaryProps\";\nimport type { ActionWithFeeds } from \"../commonActionHelpers\";\nimport { getChangesToPackageReference } from \"../getChangesToPackageReference\";\nimport type { ActionEditProps, BoundFieldProps } from \"../pluginRegistry\";\nimport pluginRegistry from \"../pluginRegistry\";\nimport AwsLoginComponent from \"./awsLoginComponent\";\nexport interface BucketKeyBehaviourProps {\n bucketKey: string;\n bucketKeyBehaviour: BucketKeyBehaviour;\n bucketKeyPrefix: string;\n}\nexport interface AwsS3PackageUploadEditState {\n accounts: AccountResource[];\n package?: PackageOptions;\n selections: FileSelection[];\n}\nexport type MetadataItem = KeyValuePair;\nexport type Tag = KeyValuePair;\nexport type StorageClass = string;\nexport type CannedAcl = string;\nexport interface BucketFileMetadata {\n tags: Tag[];\n metadata: MetadataItem[];\n}\nexport interface BucketFileOptions {\n storageClass: StorageClass;\n cannedAcl: CannedAcl;\n}\nexport enum BucketKeyBehaviour {\n Filename = \"Filename\",\n FilenameWithContentHash = \"FilenameWithContentHash\",\n Custom = \"Custom\"\n}\nexport enum TargetMode {\n EntirePackage = \"EntirePackage\",\n FileSelections = \"FileSelections\"\n}\nexport enum FileSelectionTypes {\n SingleFile = \"SingleFile\",\n MultipleFiles = \"MultipleFiles\"\n}\nexport interface PackageOptions extends BucketFileMetadata, BucketFileOptions, VariableSubstitutionSelection, StructuredVariableSubstitutionSelection, BucketKeyBehaviourProps {\n}\nexport interface FileSelection extends BucketFileMetadata, BucketFileOptions {\n type: FileSelectionTypes;\n}\n/*\nWe allow the type of selection to be changed. In this case we keep all existing\ninformation for that selection. Just make sure that if a property is added\nthat it does not exist on any other file selection type which it is not compatibile with.\n*/\nexport interface SingleFileSelection extends FileSelection, BucketKeyBehaviourProps {\n type: FileSelectionTypes.SingleFile;\n performVariableSubstitution: string;\n performStructuredVariableSubstitution: string;\n path: string;\n}\nexport interface VariableSubstitutionSelection {\n variableSubstitutionPatterns: string;\n}\nexport interface StructuredVariableSubstitutionSelection {\n structuredVariableSubstitutionPatterns: string;\n}\nexport interface MultiFileSelection extends FileSelection, VariableSubstitutionSelection, StructuredVariableSubstitutionSelection {\n type: FileSelectionTypes.MultipleFiles;\n bucketKeyPrefix: string;\n pattern: string;\n}\nexport function isMultiFileSelection(selection?: FileSelection): selection is MultiFileSelection {\n return (selection && selection.type && selection.type === FileSelectionTypes.MultipleFiles) || false;\n}\nexport function isSingleFileSelection(selection?: FileSelection): selection is SingleFileSelection {\n return (selection && selection.type && selection.type === FileSelectionTypes.SingleFile) || false;\n}\nexport const AwsUploadS3ActionSummary: React.SFC = (props) =>
    Upload a package to an AWS S3 bucket.
    ;\nAwsUploadS3ActionSummary.displayName = \"AwsUploadS3ActionSummary\"\nconst simpleSummary = curry((property: keyof AwsUploadS3Properties, render: (value: string) => SummaryNode, placeholder: () => SummaryNode, properties: AwsUploadS3Properties) => (properties[property] ? render(properties[property]) : placeholder()));\nexport const bucketSummary = simpleSummary(\"Octopus.Action.Aws.S3.BucketName\", (value) => Summary.summary(\n Using bucket {value}\n ), () => Summary.placeholder(\"Specify the S3 bucket name\"));\nexport const regionSummary = simpleSummary(\"Octopus.Action.Aws.Region\", (value) => Summary.summary(\n Using {value} as the default region\n ), () => Summary.placeholder(\"Specify the default AWS region\"));\nconst failWith = (message: string) => {\n throw new Error(message);\n};\nexport const targetModeSummary = simpleSummary(\"Octopus.Action.Aws.S3.TargetMode\", (value: string) => {\n switch (value as TargetMode) {\n case TargetMode.EntirePackage:\n return Summary.summary(Entire package file);\n case TargetMode.FileSelections:\n return Summary.summary(Specific file(s) within the package);\n default:\n failWith(\"Unknown package type\");\n return Summary.placeholder(\"Specify a target type\"); //this is unreachable butTS isn't picking up the assertion\n }\n}, () => Summary.placeholder(\"Specify a target type\"));\nexport interface PackageTargetDetailProps extends Partial, FieldErrorProps {\n onChange: (value: Partial) => void;\n}\nexport interface FieldErrorProps {\n getFieldError: (field: string) => string;\n}\nexport interface FileSelectionCallbacks extends FieldErrorProps {\n onChange: (value: Partial) => void;\n onChangeType: (value: FileSelectionTypes) => void;\n}\nexport interface SingleFileSelectionDetailProps extends Partial, FileSelectionCallbacks, FieldErrorProps {\n}\nexport interface MultiFileSelectionDetailProps extends Partial, FileSelectionCallbacks, FieldErrorProps {\n}\nexport interface VariableSubstitutionSelectionProps extends Partial {\n onChange: (value: Partial) => void;\n}\nexport interface StructuredVariableSubstitutionSelectionProps extends Partial {\n onChange: (value: Partial) => void;\n}\nexport const renderMetadata = (onChange: (value: Partial) => void, { projectId, gitRef, localNames, ...detail }: BucketFileMetadata & BoundFieldProps) => {\n const fieldProps = { projectId, gitRef, localNames, separator: \"=\", keyLabel: \"Key\", valueLabel: \"Value\" };\n return [\n onChange({ ...detail, metadata: val })} items={() => detail.metadata || []}/>,\n onChange({ ...detail, tags: val })} items={() => detail.tags || []}/>,\n ];\n};\nexport const CannedAclNote = () => (\n S3 Buckets default to block public access, to set public ACLs ensure your bucket has public access enabled. You can read more about available options regarding canned Acls{\" \"}\n here\n );\nexport const PrefixNote = () => (\n A prefix delimited with forward slash / characters is seen in S3 as folders. More examples here.\n );\nexport const CustomBucketKeyNote = () => (\n A custom key delimited with forward slash / characters is seen in S3 as folders. More examples here.\n );\nexport const StorageClassNote = () => (\n Read more about S3 storage classes here\n );\nexport const CannedAclField: React.SFC void;\n}> = (props) => {\n return ;\n};\nCannedAclField.displayName = \"CannedAclField\"\nexport const StorageClassField: React.SFC void;\n}> = (props) => {\n return ;\n};\nStorageClassField.displayName = \"StorageClassField\"\nexport interface BucketKeyBehaviourEditProps extends BoundFieldProps, Partial, FieldErrorProps {\n onChange: (val: Partial) => void;\n showContentHashOption: boolean;\n}\nexport const BucketKeyBehaviourEdit: React.SFC = ({ onChange, localNames, projectId, getFieldError, showContentHashOption, ...detail }) => {\n const fieldProps = { localNames, projectId };\n const behaviour = detail.bucketKeyBehaviour || BucketKeyBehaviour.Custom;\n return (\n onChange({ bucketKeyBehaviour: bucketKeyBehaviour as BucketKeyBehaviour })} error={getFieldError(\"BucketKeyBehaviour\")}>\n \n {showContentHashOption && }\n \n \n {behaviour === BucketKeyBehaviour.Custom && (\n onChange({ bucketKey })} error={getFieldError(\"BucketKey\")}/>\n \n )}\n {(behaviour === BucketKeyBehaviour.Filename || behaviour === BucketKeyBehaviour.FilenameWithContentHash) && (\n onChange({ bucketKeyPrefix })} error={getFieldError(\"BucketKeyPrefix\")}/>\n \n )}\n );\n};\nBucketKeyBehaviourEdit.displayName = \"BucketKeyBehaviourEdit\"\nexport const S3PackageDetailEdit: React.SFC = (props) => {\n const { onChange, getFieldError, children, projectId, gitRef, localNames, metadata, tags, ...detail } = props;\n const fieldProps = { projectId, gitRef, localNames };\n return (\n \n \n ) => onChange({ ...detail, ...val })} getFieldError={getFieldError} showContentHashOption={true}/>\n onChange({ ...detail, cannedAcl: val })} error={getFieldError(\"CannedAcl\")}/>\n \n onChange({ ...detail, storageClass: val })} error={getFieldError(\"StorageClass\")}/>\n \n {renderMetadata(onChange, { ...fieldProps, tags: tags || [], metadata: metadata || [] })}\n );\n};\nS3PackageDetailEdit.displayName = \"S3PackageDetailEdit\"\nexport const S3SingleFileDetailEdit: React.SFC = (props) => {\n const { onChange, onChangeType, getFieldError, children, metadata, tags, localNames, projectId, gitRef, ...detail } = props;\n const fieldProps = { projectId, gitRef, localNames };\n return (\n onChangeType(value as FileSelectionTypes)} error={getFieldError(\"Type\")}>\n \n \n \n onChange({ ...detail, path: val })} error={getFieldError(\"Path\")}/>\n onChange({ ...detail, performVariableSubstitution: val })}/>\n onChange({ ...detail, performStructuredVariableSubstitution: val })}/>\n ) => onChange({ ...detail, ...val })} getFieldError={getFieldError} showContentHashOption={false}/>\n onChange({ ...detail, cannedAcl: val })} error={getFieldError(\"CannedAcl\")}/>\n \n onChange({ ...detail, storageClass: val })} error={getFieldError(\"StorageClass\")}/>\n \n {renderMetadata(onChange, { ...fieldProps, tags: tags || [], metadata: metadata || [] })}\n );\n};\nS3SingleFileDetailEdit.displayName = \"S3SingleFileDetailEdit\"\nexport const PackageVariableSubstitutions = ({ onChange, variableSubstitutionPatterns }: VariableSubstitutionSelectionProps) => {\n return (<>\n onChange({ variableSubstitutionPatterns: val })}/>\n \n A newline-separated list of file names to transform, relative to the package contents. Extended wildcard syntax is supported. E.g., Notes.txt, Config\\*.json, **\\specific-folder\\*.config.\n
    \n This field supports extended template syntax. Conditional if and unless:
    {`#{if MyVar}...#{/if}`}
    \n Iteration over variable sets or comma-separated values with each:
    {`#{each mv in MyVar}...#{mv}...#{/each}`}
    \n
    \n );\n};\nexport const PackageStructuredVariableSubstitutions = ({ onChange, structuredVariableSubstitutionPatterns }: StructuredVariableSubstitutionSelectionProps) => {\n return (<>\n onChange({ structuredVariableSubstitutionPatterns: val })} multiline={true} label=\"Structured Variable File Patterns\"/>\n \n Target files need to be new line seperated, relative to the package contents. Extended wildcard syntax is supported. E.g., appsettings.json, Config\\*.xml, **\\specific-folder\\*.yaml. Learn more about the{\" \"}\n Structured Configuration Variables feature and view Structured Variables examples.\n \n );\n};\nexport const S3MultiFileDetailEdit: React.SFC = (props) => {\n const { onChange, onChangeType, getFieldError, children, metadata, tags, localNames, projectId, gitRef, ...detail } = props;\n const fieldProps = { projectId, gitRef, localNames };\n if (detail.pattern === undefined) {\n detail.pattern = \"**/*\";\n }\n return (\n onChangeType(value as FileSelectionTypes)} error={getFieldError(\"Type\")}>\n \n \n \n onChange({ ...detail, pattern: val })} error={getFieldError(\"Pattern\")}/>\n\n \n \n\n onChange({ ...detail, bucketKeyPrefix: val })} error={getFieldError(\"BucketKeyPrefix\")}/>\n \n onChange({ ...detail, cannedAcl: val })} error={getFieldError(\"CannedAcl\")}/>\n \n onChange({ ...detail, storageClass: val })} error={getFieldError(\"StorageClass\")}/>\n \n {renderMetadata(onChange, { ...fieldProps, tags: tags || [], metadata: metadata || [] })}\n );\n};\nS3MultiFileDetailEdit.displayName = \"S3MultiFileDetailEdit\"\nexport interface FileSelectionEditProps extends FileSelection {\n onChange: (value: Partial) => void;\n onChangeType: (type: FileSelectionTypes) => void;\n onRemove: () => void;\n getFieldError: (field: string) => string;\n}\nexport const FileSelectionEdit: React.SFC = ({ onChange, onChangeType, onRemove, getFieldError, ...selection }) => {\n const callbacks = { onChange, onChangeType, getFieldError };\n const removeButton = (
    \n \n
    );\n return (\n {removeButton}\n {isSingleFileSelection(selection) && }\n {isMultiFileSelection(selection) && }\n );\n};\nFileSelectionEdit.displayName = \"FileSelectionEdit\"\nexport const getNewFileSelection = (): SingleFileSelection => {\n return {\n type: FileSelectionTypes.SingleFile,\n tags: [],\n metadata: [],\n cannedAcl: \"\",\n path: \"\",\n storageClass: \"STANDARD\",\n bucketKey: \"\",\n bucketKeyPrefix: \"\",\n bucketKeyBehaviour: BucketKeyBehaviour.Custom,\n performVariableSubstitution: \"False\",\n performStructuredVariableSubstitution: \"False\",\n };\n};\nexport const fileOptionsSummaryText = (options: BucketFileOptions) => {\n return [options.storageClass && ` on ${options.storageClass} storage`, options.cannedAcl && ` with ${options.cannedAcl} permissions`];\n};\nexport function targetOptionsSummary(placeholder: string, summaryCallback: (options: T) => string | React.ReactElement) {\n return (options: T) => {\n if (options === undefined || options === null) {\n return Summary.placeholder(placeholder);\n }\n const summary = summaryCallback(options);\n if (!summary) {\n return Summary.placeholder(placeholder);\n }\n return Summary.summary({summary});\n };\n}\nconst continuedTextTransform = (value: string, prefix?: string) => {\n if (!value) {\n return value;\n }\n const result = `${prefix || \"\"}${value.replace(/\\w/, (val) => val.toLowerCase()).trim()}`;\n return result.length > 0 ? \" \" + result : result;\n};\nexport const singleFileSelectionSummary = targetOptionsSummary(\"Specify file options\", (options) => {\n return (\n {options.path && \"File \" && {options.path}}\n {!options.path && \"No file path specified\"}\n {options.path && (\n {bucketKeyBehaviourSummary(options, (val) => continuedTextTransform(val))}\n {fileOptionsSummaryText(options)}\n )}\n );\n});\nexport const packageSummary = targetOptionsSummary(\"Specify file options\", (options: PackageOptions) => {\n return (\n {bucketKeyBehaviourSummary(options)}\n {options.bucketKey && fileOptionsSummaryText(options)}\n );\n});\nexport const bucketKeyBehaviourSummary = (options: BucketKeyBehaviourProps, transform: (value: string) => string = identity) => {\n return (\n {options.bucketKeyBehaviour === BucketKeyBehaviour.Custom && (\n {options.bucketKey && (\n {transform(\"Using bucket key\")}\n {options.bucketKey}\n )}\n {!options.bucketKey && transform(\"No bucket key provided\")}\n )}\n {options.bucketKeyBehaviour === BucketKeyBehaviour.Filename && (\n {transform(\"Using file name as bucket key\")}\n {options.bucketKeyPrefix && (\n {\" \"}\n with prefix {options.bucketKeyPrefix}\n )}\n )}\n );\n};\nexport const mutliFileSelectionSummary = targetOptionsSummary(\"Specify file options\", (options) => {\n return (\n {options.pattern && \"Files matching\" && {options.pattern}}\n {!options.pattern && \"No patterns specified\"}\n {fileOptionsSummaryText(options)}\n );\n});\nexport const fileSelectionSummary = (selection: FileSelection) => {\n if (isSingleFileSelection(selection)) {\n return singleFileSelectionSummary(selection);\n }\n else if (isMultiFileSelection(selection)) {\n return mutliFileSelectionSummary(selection);\n }\n};\nexport const updateFileSelection = (index: number, value: Partial) => {\n return (previous: AwsS3PackageUploadEditState, properties: ActionEditProps) => {\n const patch = { ...previous, selections: [...previous.selections] };\n patch.selections[index] = { ...patch.selections[index], ...value };\n //We close over the state update and push it onto the queue via setProperties.\n //TODO: Invetisgate alternate way to do this, possibly redux since the same action can be handled by multiple reducers\n properties.setProperties({ [\"Octopus.Action.Aws.S3.FileSelections\"]: JSON.stringify(patch.selections) });\n return patch;\n };\n};\nexport const removeFileSelection = (index: number) => {\n return (previous: AwsS3PackageUploadEditState, properties: ActionEditProps) => {\n const patch = { ...previous, selections: [...previous.selections] };\n patch.selections.splice(index, 1);\n properties.setProperties({ [\"Octopus.Action.Aws.S3.FileSelections\"]: JSON.stringify(patch.selections) });\n return patch;\n };\n};\nexport const updatePackageOptions = (value: Partial) => {\n return (previous: AwsS3PackageUploadEditState, properties: ActionEditProps) => {\n const result = { ...previous, package: { ...previous.package, ...value } };\n properties.setProperties({ [\"Octopus.Action.Aws.S3.PackageOptions\"]: JSON.stringify(result.package) });\n return result;\n };\n};\nexport const addFileSelection = (value: Partial) => {\n return (previous: AwsS3PackageUploadEditState, properties: ActionEditProps) => {\n const patch = { selections: [...previous.selections, value] };\n properties.setProperties({ [\"Octopus.Action.Aws.S3.FileSelections\"]: JSON.stringify(patch.selections) });\n return patch;\n };\n};\ntype AwsUploadS3ActionEditInternalProps = AwsUploadS3ActionEditProps & ActionWithFeeds;\nclass AwsUploadS3ActionEditInternal extends BaseComponent {\n constructor(props: AwsUploadS3ActionEditInternalProps) {\n super(props);\n this.state = {\n accounts: [],\n package: {\n bucketKey: \"\",\n bucketKeyBehaviour: BucketKeyBehaviour.Custom,\n bucketKeyPrefix: \"\",\n storageClass: \"STANDARD\",\n cannedAcl: \"\",\n variableSubstitutionPatterns: \"\",\n structuredVariableSubstitutionPatterns: \"\",\n metadata: [],\n tags: [],\n },\n selections: [],\n };\n }\n async componentDidMount() {\n this.props.setPackages(InitialisePrimaryPackageReference(this.props.packages, this.props.feeds), true);\n await this.props.doBusyTask(async () => {\n const accounts = await repository.Accounts.all();\n this.setState((prev) => ({ ...prev, accounts }));\n if (!this.props.properties[\"Octopus.Action.Aws.AssumeRole\"]) {\n this.props.setProperties({ [\"Octopus.Action.Aws.AssumeRole\"]: \"False\" }, true);\n }\n if (!this.props.properties[\"Octopus.Action.AwsAccount.UseInstanceRole\"]) {\n this.props.setProperties({ [\"Octopus.Action.AwsAccount.UseInstanceRole\"]: \"False\" }, true);\n }\n if (!this.props.properties[\"Octopus.Action.Aws.S3.TargetMode\"]) {\n this.props.setProperties({ [\"Octopus.Action.Aws.S3.TargetMode\"]: TargetMode.EntirePackage }, true);\n }\n this.setState((prev, props) => {\n if (props.properties[\"Octopus.Action.Aws.S3.FileSelections\"]) {\n return { selections: JSON.parse(props.properties[\"Octopus.Action.Aws.S3.FileSelections\"]) || [] };\n }\n });\n this.setState((prev, props) => {\n if (props.properties[\"Octopus.Action.Aws.S3.PackageOptions\"]) {\n return { package: JSON.parse(props.properties[\"Octopus.Action.Aws.S3.PackageOptions\"]) || {} };\n }\n });\n });\n }\n render() {\n // The package is initialized in componentDidMount, but render gets called before the update is propagated\n if (!this.props.packages || this.props.packages.length === 0) {\n return null;\n }\n const pkg = GetPrimaryPackageReference(this.props.packages);\n return (
    \n \n \n this.props.setProperties({ [\"Octopus.Action.Aws.Region\"]: val })} error={this.props.getFieldError(\"Octopus.Action.Aws.Region\")}/>\n \n View the AWS Regions and Endpoints documentation for a current list of the available region codes.\n \n \n \n this.props.setProperties({ [\"Octopus.Action.Aws.S3.BucketName\"]: val })} error={this.props.getFieldError(\"Octopus.Action.Aws.S3.BucketName\")}/>\n \n \n \n this.props.setPackages(SetPrimaryPackageReference({ PackageId: packageId }, this.props.packages))} onFeedIdChange={(feedId) => this.props.setPackages(SetPrimaryPackageReference({ FeedId: feedId }, this.props.packages))} onPackageVersionChange={(version) => this.props.setPackages(SetPrimaryPackageReference({ Version: version }, this.props.packages))} packageIdError={this.props.getFieldError(\"Octopus.Action.Package.PackageId\")} feedIdError={this.props.getFieldError(\"Octopus.Action.Package.FeedId\")} projectId={this.props.projectId} feeds={this.props.feeds} localNames={this.props.localNames} feedType={[FeedType.Nuget, FeedType.BuiltIn, FeedType.Maven, FeedType.GitHub, FeedType.S3]} refreshFeeds={this.loadFeeds} parameters={this.props.parameters} packageSelectionMode={pkg.Properties[\"SelectionMode\"]} packageSelectionModeError={this.props.getFieldError(\"SelectionMode\")} onPackageSelectionModeChange={(value) => this.props.setPackages(SetPrimaryPackageReference(getChangesToPackageReference(value), this.props.packages))} packageParameterName={pkg.Properties[\"PackageParameterName\"]} packageParameterError={this.props.getFieldError(\"PackageParameterName\")} onPackageParameterChange={(packageParameter) => this.props.setPackages(SetPrimaryPackageReference({ Properties: { ...pkg.Properties, PackageParameterName: packageParameter } }, this.props.packages))}/>\n \n \n this.props.setProperties({ [\"Octopus.Action.Aws.S3.TargetMode\"]: x as string | undefined })} title=\"Execute using the AWS service role for an EC2 instance\">\n \n \n \n \n {this.props.properties[\"Octopus.Action.Aws.S3.TargetMode\"] === TargetMode.EntirePackage && (<>\n \n this.setState(updatePackageOptions(detail))} getFieldError={(field) => this.props.getFieldError(`Octopus.Action.Aws.S3.PackageOptions.${field}`)}/>\n \n )}\n {this.props.properties[\"Octopus.Action.Aws.S3.TargetMode\"] === TargetMode.FileSelections && }\n {this.props.properties[\"Octopus.Action.Aws.S3.TargetMode\"] === TargetMode.FileSelections &&\n this.state.selections.map((selection, index) => (\n this.setState(updateFileSelection(index, value))} onChangeType={(type) => this.setState(updateFileSelection(index, { type }))} onRemove={() => this.setState(removeFileSelection(index))} getFieldError={(field) => this.props.getFieldError(`Octopus.Action.Aws.S3.FileSelections[${index}].${field}`)} projectId={this.props.projectId} gitRef={this.props.gitRef} localNames={this.props.localNames}/>\n ))}\n {this.props.properties[\"Octopus.Action.Aws.S3.TargetMode\"] === TargetMode.FileSelections && (\n
    \n 0 ? \"Add another file selection\" : \"Add a file selection\"}`} onClick={() => this.setState(addFileSelection(getNewFileSelection()))}/>\n
    \n
    )}\n
    );\n }\n private loadFeeds = async () => {\n await this.props.refreshFeeds();\n };\n static displayName = \"AwsUploadS3ActionEditInternal\";\n}\ntype AwsUploadS3ActionEditProps = ActionEditProps;\nfunction AwsUploadS3ActionEdit(props: React.PropsWithChildren) {\n const feeds = useFeedsFromContext();\n const refreshFeeds = useRefreshFeedsFromContext();\n return ;\n}\npluginRegistry.registerAction({\n executionLocation: ActionExecutionLocation.TargetOrServer,\n actionType: \"Octopus.AwsUploadS3\",\n summary: (properties, targetRolesAsCSV) => ,\n editSections: { default: AwsUploadS3ActionEdit },\n canHaveChildren: (step) => true,\n canBeChild: true,\n targetRoleOption: (action) => TargetRoles.Optional,\n hasPackages: (action) => true,\n features: {\n optional: [],\n },\n docsLink: \"uploadAwsS3Bucket\",\n});\n","/* eslint-disable @typescript-eslint/no-explicit-any */\nimport { RadioButtonGroup, RadioButton } from \"@octopusdeploy/design-system-components\";\nimport type { GoogleCloudAuthenticationProperties } from \"@octopusdeploy/legacy-action-properties\";\nimport * as React from \"react\";\nimport type { ActionEditProps } from \"~/components/Actions/pluginRegistry\";\nimport { BaseComponent } from \"~/components/BaseComponent/BaseComponent\";\nimport ExternalLink from \"~/components/Navigation/ExternalLink\";\nimport { ExpandableFormSection, Summary } from \"~/components/form\";\nimport { ProjectGoogleCloudAccountVariableSelect } from \"~/components/form/AccountSelect/ProjectAccountVariableSelect\";\nimport { VariableLookupText } from \"~/components/form/VariableLookupText\";\nimport Note from \"~/primitiveComponents/form/Note/Note\";\nexport default abstract class GoogleCloudAuthenticationComponent extends BaseComponent, never> {\n static GoogleCloudLoginComponent: React.FC> = (props) => {\n const properties = props.properties;\n const useVMServiceAccount = properties[\"Octopus.Action.GoogleCloud.UseVMServiceAccount\"];\n const impersonateServiceAccount = properties[\"Octopus.Action.GoogleCloud.ImpersonateServiceAccount\"];\n return (\n {\n props.setProperties({ [\"Octopus.Action.GoogleCloud.UseVMServiceAccount\"]: x });\n props.setProperties({ [\"Octopus.Action.GoogleCloudAccount.Variable\"]: \"\" });\n }} title=\"When running in a Compute Engine virtual machine, use the associated VM service account\">\n \n \n \n\n {useVMServiceAccount === \"False\" &&\n (props.projectId ? ( props.setProperties({ [\"Octopus.Action.GoogleCloudAccount.Variable\"]: val })}/>) : ( props.setProperties({ [\"Octopus.Action.GoogleCloudAccount.Variable\"]: val })}/>))}\n\n {\n props.setProperties({ [\"Octopus.Action.GoogleCloud.ImpersonateServiceAccount\"]: x });\n }} title=\"Impersonate service accounts\">\n \n \n \n \n Learn more about Impersonating Service Accounts.\n \n\n {impersonateServiceAccount === \"True\" && ( props.setProperties({ [\"Octopus.Action.GoogleCloud.ServiceAccountEmails\"]: val })} error={props.getFieldError(\"Octopus.Action.GoogleCloud.ServiceAccountEmails\")}/>)}\n );\n };\n private getAccountSummary() {\n const properties = this.props.properties;\n const useVMServiceAccount = properties[\"Octopus.Action.GoogleCloud.UseVMServiceAccount\"] === \"True\";\n const accountVariable = properties[\"Octopus.Action.GoogleCloudAccount.Variable\"];\n if (useVMServiceAccount) {\n return Summary.summary(The Compute Engine virtual machine service account will be used);\n }\n return accountVariable\n ? Summary.summary(\n The Google cloud account {accountVariable} will be used\n )\n : Summary.placeholder(\"The account variable has not been provided\");\n }\n static ProjectField: React.FC> = (props) => {\n return (\n props.setProperties({ [\"Octopus.Action.GoogleCloud.Project\"]: val })} error={props.getFieldError(\"Octopus.Action.GoogleCloud.Project\")}/>\n );\n };\n private getProjectSummary() {\n const properties = this.props.properties;\n if (properties[\"Octopus.Action.GoogleCloud.Project\"]) {\n return Summary.summary(\n Using {properties[\"Octopus.Action.GoogleCloud.Project\"]} as the default project\n );\n }\n return Summary.placeholder(\"Specify the default Google cloud project\");\n }\n static RegionField: React.FC> = (props) => {\n return (\n props.setProperties({ [\"Octopus.Action.GoogleCloud.Region\"]: val })} error={props.getFieldError(\"Octopus.Action.GoogleCloud.Region\")}/>\n {GoogleCloudAuthenticationComponent.getGcpRegionZoneNote()}\n );\n };\n private getRegionSummary() {\n const properties = this.props.properties;\n if (properties[\"Octopus.Action.GoogleCloud.Region\"]) {\n return Summary.summary(\n Using {properties[\"Octopus.Action.GoogleCloud.Region\"]} as the default region\n );\n }\n return Summary.placeholder(\"Specify the default Google cloud region\");\n }\n static ZoneField: React.FC> = (props) => {\n return (\n props.setProperties({ [\"Octopus.Action.GoogleCloud.Zone\"]: val })} error={props.getFieldError(\"Octopus.Action.GoogleCloud.Zone\")}/>\n {GoogleCloudAuthenticationComponent.getGcpRegionZoneNote()}\n );\n };\n private getZoneSummary() {\n const properties = this.props.properties;\n if (properties[\"Octopus.Action.GoogleCloud.Zone\"]) {\n return Summary.summary(\n Using {properties[\"Octopus.Action.GoogleCloud.Zone\"]} as the default zone\n );\n }\n return Summary.placeholder(\"Specify the default Google cloud zone\");\n }\n private static getGcpRegionZoneNote() {\n return (\n View the GCP Regions and Zones documentation for a current list of the available region and zone codes.\n );\n }\n render() {\n return (\n \n \n \n \n \n \n This sets{\" \"}\n \n CLOUDSDK_CORE_PROJECT environment variable\n \n .\n \n \n \n \n \n This sets{\" \"}\n \n CLOUDSDK_COMPUTE_REGION environment variable\n \n .\n \n \n \n \n \n This sets{\" \"}\n \n CLOUDSDK_COMPUTE_ZONE environment variable\n \n .\n \n \n );\n }\n static displayName = \"GoogleCloudAuthenticationComponent\";\n}\n","import type { PropertyValueResource } from \"@octopusdeploy/octopus-server-client\";\nfunction convertPropertyValueResourceToString(value?: PropertyValueResource): string {\n if (typeof value === \"string\") {\n return value;\n }\n if (!value || !value.HasValue) {\n return \"\";\n }\n // Always return masked string for passwords. We don't display it so it doesn't matter what the value is\n // but it can't be undefined because that has special meaning (missing value)\n return \"*****\";\n}\nexport function convertPropertyValueResourceToStringOrNull(value?: PropertyValueResource): string | null {\n if (value === null || value === undefined) {\n return null;\n }\n return convertPropertyValueResourceToString(value);\n}\nexport default convertPropertyValueResourceToString;\n","import { Callout, noOp, RadioButton, RadioButtonGroup } from \"@octopusdeploy/design-system-components\";\nimport type { TerraformProperties } from \"@octopusdeploy/legacy-action-properties\";\nimport type { DataContext, MetadataTypeCollection, OctopusError, TypeMetadata } from \"@octopusdeploy/octopus-server-client\";\nimport { GetPrimaryPackageReference, InitialisePrimaryGitDependency, InitialisePrimaryPackageReference, ProcessType, RemovePrimaryGitDependency, RemovePrimaryPackageReference, SetPrimaryPackageReference } from \"@octopusdeploy/octopus-server-client\";\nimport { isEqual } from \"lodash\";\nimport * as React from \"react\";\nimport { Fragment } from \"react\";\nimport { useOptionalProcessContext } from \"~/areas/projects/components/Process/Contexts/ProcessContext\";\nimport { useGitCredentialsFromContext, useRefreshGitCredentialsFromContext } from \"~/areas/projects/components/Process/Contexts/ProcessGitCredentialsContextProvider\";\nimport { buildRelatedTriggerDependencies } from \"~/areas/projects/components/Triggers/ProcessCallouts/triggerPackageRelations\";\nimport { useOptionalProjectContext } from \"~/areas/projects/context\";\nimport { repository } from \"~/clientInstance\";\nimport AwsLoginComponent from \"~/components/Actions/aws/awsLoginComponent\";\nimport { getChangesToPackageReference } from \"~/components/Actions/getChangesToPackageReference\";\nimport GoogleCloudAuthenticationComponent from \"~/components/Actions/googleCloud/googleCloudAuthenticationComponent\";\nimport type { ActionEditProps } from \"~/components/Actions/pluginRegistry\";\nimport { BaseComponent } from \"~/components/BaseComponent/BaseComponent\";\nimport { CodeEditor, TextFormat } from \"~/components/CodeEditor/CodeEditor\";\nimport OpenDialogButton from \"~/components/Dialog/OpenDialogButton\";\nimport DynamicForm from \"~/components/DynamicForm/DynamicForm\";\nimport { GitRepositorySourceSelector, isProjectRepositoryGitSourceSupported } from \"~/components/GitRepositorySource/GitRepositorySourceSelector\";\nimport ExternalLink from \"~/components/Navigation/ExternalLink/ExternalLink\";\nimport DeferredPackageSelector from \"~/components/PackageSelector/DeferredPackageSelector\";\nimport SourceCodeDialog from \"~/components/SourceCodeDialog/SourceCodeDialog\";\nimport convertPropertyValueResourceToString from \"~/components/convertPropertyValueResourceToString\";\nimport { ExpandableFormSection, FormSection, Summary } from \"~/components/form\";\nimport { ProjectAzureBoundAccountVariableSelect } from \"~/components/form/AccountSelect/ProjectAccountVariableSelect\";\nimport { CardFill } from \"~/components/form/Sections/ExpandableFormSection\";\nimport { default as FormSectionHeading } from \"~/components/form/Sections/FormSectionHeading\";\nimport UnstructuredFormSection from \"~/components/form/Sections/UnstructuredFormSection\";\nimport { VariableLookupText } from \"~/components/form/VariableLookupText\";\nimport { BoundStringCheckbox } from \"~/primitiveComponents/form/Checkbox/StringCheckbox\";\nimport Note from \"~/primitiveComponents/form/Note/Note\";\nimport CommonSummaryHelper from \"~/utils/CommonSummaryHelper/index\";\nimport { useFeedsFromContext, useRefreshFeedsFromContext } from \"../../../areas/projects/components/Process/Contexts/ProcessFeedsContextProvider\";\nimport KeyValueEditList from \"../../EditList/KeyValueEditList\";\nimport type { ActionWithDirtyState, ActionWithFeeds, ActionWithGitRepositorySource } from \"../commonActionHelpers\";\nimport { DockerReferenceListFormSection } from \"../packageReferences\";\nimport type { ScriptPackageProperties } from \"../script/ScriptPackageReferenceDialog\";\nconst TerraformAdditionalArgumentsNote: React.FC<{\n link?: string;\n command: string;\n}> = ({ link, command }) => (\n An optional list of additional parameters to pass to the terraform {command} command.\n
    \n {link && (\n View the \n {command} command \n documentation for a list of supported options.\n )}\n
    );\nTerraformAdditionalArgumentsNote.displayName = \"TerraformAdditionalArgumentsNote\"\nexport interface TerraformActionEditProps extends ActionEditProps {\n actionName: string;\n additionalParametersLink?: string;\n}\nexport interface TerraformActionEditState {\n parameterTypes?: TypeMetadata[];\n parameterValues?: DataContext;\n}\ntype TerraformActionEditInternalProps = TerraformActionEditProps & ActionWithFeeds & ActionWithGitRepositorySource & ActionWithDirtyState;\nclass TerraformActionEditInternal extends BaseComponent {\n parameterValues: {};\n parameters: {};\n constructor(props: TerraformActionEditInternalProps) {\n super(props);\n this.state = {};\n this.parameterValues = {};\n this.parameters = {};\n }\n async componentDidMount() {\n if (!this.props.properties[\"Octopus.Action.Terraform.GoogleCloudAccount\"]) {\n this.props.setProperties({ [\"Octopus.Action.Terraform.GoogleCloudAccount\"]: \"False\" }, true);\n }\n if (!this.props.properties[\"Octopus.Action.Terraform.AzureAccount\"]) {\n this.props.setProperties({ [\"Octopus.Action.Terraform.AzureAccount\"]: \"False\" }, true);\n }\n if (!this.props.properties[\"Octopus.Action.Terraform.ManagedAccount\"]) {\n this.props.setProperties({ [\"Octopus.Action.Terraform.ManagedAccount\"]: \"None\" }, true);\n }\n if (!this.props.properties[\"Octopus.Action.Terraform.AllowPluginDownloads\"]) {\n this.props.setProperties({ [\"Octopus.Action.Terraform.AllowPluginDownloads\"]: \"True\" }, true);\n }\n if (!this.props.properties[\"Octopus.Action.Script.ScriptSource\"]) {\n this.props.setProperties({ [\"Octopus.Action.Script.ScriptSource\"]: \"Inline\" }, true);\n }\n if (!this.props.properties[\"Octopus.Action.Terraform.RunAutomaticFileSubstitution\"]) {\n this.props.setProperties({ [\"Octopus.Action.Terraform.RunAutomaticFileSubstitution\"]: \"True\" }, true);\n }\n if (!this.props.properties[\"Octopus.Action.Terraform.PlanJsonOutput\"]) {\n this.props.setProperties({ [\"Octopus.Action.Terraform.PlanJsonOutput\"]: \"False\" }, true);\n }\n }\n async UNSAFE_componentWillMount() {\n if (this.props.properties[\"Octopus.Action.Script.ScriptSource\"] && this.props.properties[\"Octopus.Action.Script.ScriptSource\"] === \"Inline\") {\n await this.refreshParametersFromTemplate(this.props.properties[\"Octopus.Action.Terraform.Template\"]);\n }\n }\n templateSourceSummary() {\n const source = this.props.properties[\"Octopus.Action.Script.ScriptSource\"];\n if (source === \"Inline\") {\n return Summary.summary(\"Source code\");\n }\n else if (source === \"Package\") {\n return Summary.summary(\"File(s) inside a package\");\n }\n else if (source === \"GitRepository\") {\n return Summary.summary(\"File(s) inside a git repository\");\n }\n return Summary.placeholder(\"Template source not specified\");\n }\n onChangeTemplateSource(value: string) {\n this.props.setProperties({\n [\"Octopus.Action.Script.ScriptSource\"]: value,\n [\"Octopus.Action.Terraform.Template\"]: \"\",\n [\"Octopus.Action.Terraform.TemplateParameters\"]: \"\",\n });\n if (value === \"Package\") {\n this.props.setPackages(InitialisePrimaryPackageReference(this.props.packages, this.props.feeds, this.props.processType === ProcessType.Blueprint));\n }\n else {\n this.props.setPackages(RemovePrimaryPackageReference(this.props.packages));\n }\n if (value === \"GitRepository\") {\n if (isProjectRepositoryGitSourceSupported(this.props.project?.PersistenceSettings, this.props.processType) || this.props.processType === ProcessType.Blueprint) {\n this.props.setProperties({ [\"Octopus.Action.GitRepository.Source\"]: \"Project\" });\n this.props.setGitDependencies?.(RemovePrimaryGitDependency(this.props.gitDependencies), false);\n }\n else {\n this.props.setProperties({ [\"Octopus.Action.GitRepository.Source\"]: \"External\" });\n this.props.setGitDependencies?.(InitialisePrimaryGitDependency(this.props.gitDependencies), false);\n }\n }\n else {\n this.props.setProperties({ [\"Octopus.Action.GitRepository.Source\"]: \"\" });\n this.props.setGitDependencies?.(RemovePrimaryGitDependency(this.props.gitDependencies), false);\n }\n }\n optionsSummary() {\n return Summary.summary(\n {this.props.properties[\"Octopus.Action.Terraform.AllowPluginDownloads\"] === \"True\" && Allowing additional plugins downloads}\n {this.props.properties[\"Octopus.Action.Terraform.AllowPluginDownloads\"] !== \"True\" && Preventing additional plugins downloads}\n {this.props.properties[\"Octopus.Action.Terraform.PluginsDirectory\"] && this.props.properties[\"Octopus.Action.Terraform.PluginsDirectory\"].trim() && (\n {\" \"}\n to the custom plugin cache directory of {this.props.properties[\"Octopus.Action.Terraform.PluginsDirectory\"].trim()}\n )}\n {this.props.properties[\"Octopus.Action.Terraform.Workspace\"] && (\n , and using the {this.props.properties[\"Octopus.Action.Terraform.Workspace\"]} workspace\n )}\n );\n }\n variableSubstitutionSummary() {\n if (this.props.properties[\"Octopus.Action.Terraform.RunAutomaticFileSubstitution\"] === \"True\") {\n return Summary.summary(\"Variables will be replaced in default Terraform files\");\n }\n else if (this.props.properties[\"Octopus.Action.Terraform.FileSubstitution\"] ?? \"\" !== \"\") {\n return Summary.summary(\"Variables will be replaced in specified Terraform files\");\n }\n return Summary.placeholder(\"No variables will be replaced\");\n }\n templateDirectorySummary() {\n const templateDirectory = this.props.properties[\"Octopus.Action.Terraform.TemplateDirectory\"];\n if (this.props.properties[\"Octopus.Action.Terraform.TemplateDirectory\"]) {\n return Summary.summary(<>\n Terraform files are located in the {templateDirectory} directory\n );\n }\n return Summary.placeholder(\"No template directory has been specified\");\n }\n render() {\n const pkg = GetPrimaryPackageReference(this.props.packages);\n return (
    \n \n \n

    \n You can optionally prepare the environment that Terraform runs in using the details defined in accounts managed by Octopus. If an account is selected then those credentials do not need to be included in the Terraform template.\n

    \n
    \n \n this.props.setProperties({ [\"Octopus.Action.Terraform.ManagedAccount\"]: val })} error={this.props.getFieldError(\"Octopus.Action.Terraform.ManagedAccount\")}>\n \n \n \n {this.props.properties[\"Octopus.Action.Terraform.ManagedAccount\"] === \"AWS\" && (\n \n this.props.setProperties({ [\"Octopus.Action.Aws.Region\"]: val })} error={this.props.getFieldError(\"Octopus.Action.Aws.Region\")}/>\n \n View the AWS Regions and Endpoints documentation for a current list of the available region codes.\n \n )}\n \n \n this.props.setProperties({ [\"Octopus.Action.Terraform.AzureAccount\"]: val })} error={this.props.getFieldError(\"Octopus.Action.Terraform.AzureAccount\")}>\n \n \n \n {this.props.properties[\"Octopus.Action.Terraform.AzureAccount\"] === \"True\" &&\n (this.props.projectId ? ( this.props.setProperties({ [\"Octopus.Action.AzureAccount.Variable\"]: val })}/>) : ( this.props.setProperties({ [\"Octopus.Action.AzureAccount.Variable\"]: val })}/>))}\n \n \n this.props.setProperties({ [\"Octopus.Action.Terraform.GoogleCloudAccount\"]: val })} error={this.props.getFieldError(\"Octopus.Action.Terraform.GoogleCloudAccount\")}>\n \n \n \n {this.props.properties[\"Octopus.Action.Terraform.GoogleCloudAccount\"] === \"True\" && (\n \n {this.props.properties[\"Octopus.Action.GoogleCloud.ImpersonateServiceAccount\"] === \"True\" && (\n \n This feature only works with Terraform's google provider version 3.45.0 or above.\n \n \n This sets{\" \"}\n \n GOOGLE_IMPERSONATE_SERVICE_ACCOUNT environment variable\n \n .\n \n )}\n \n \n This sets{\" \"}\n \n GOOGLE_PROJECT environment variable\n \n .\n \n \n \n This sets{\" \"}\n \n GOOGLE_REGION environment variable\n \n .\n \n \n \n This sets{\" \"}\n \n GOOGLE_ZONE environment variable\n \n .\n \n )}\n \n \n {this.props.isStepFromProcessTemplate ? (\n {this.props.properties[\"Octopus.Action.Script.ScriptSource\"] === \"Inline\" && ( {\n this.props.setProperties({ [\"Octopus.Action.Terraform.Template\"]: value });\n await this.refreshParametersFromMetadata(await this.getMetadata(value));\n }}/>)}\n ) : (\n Templates can be entered as source-code, contained in a Git repository or a package.\n this.onChangeTemplateSource(val)} error={this.props.getFieldError(\"Octopus.Action.Script.ScriptSource\")}>\n \n \n \n \n {this.props.properties[\"Octopus.Action.Script.ScriptSource\"] === \"Inline\" && ( {\n this.props.setProperties({ [\"Octopus.Action.Terraform.Template\"]: value });\n await this.refreshParametersFromMetadata(await this.getMetadata(value));\n }}/>)}\n )}\n\n {this.props.properties[\"Octopus.Action.Script.ScriptSource\"] === \"Package\" && (
    \n {this.props.isStepFromProcessTemplate ? () : (\n this.props.setPackages(SetPrimaryPackageReference({ PackageId: packageId }, this.props.packages))} onFeedIdChange={(feedId) => this.props.setPackages(SetPrimaryPackageReference({ FeedId: feedId }, this.props.packages))} onPackageVersionChange={(version) => this.props.setPackages(SetPrimaryPackageReference({ Version: version }, this.props.packages))} packageIdError={this.props.getFieldError(\"Octopus.Action.Package.PackageId\")} feedIdError={this.props.getFieldError(\"Octopus.Action.Package.FeedId\")} projectId={this.props.projectId} feeds={this.props.feeds} localNames={this.props.localNames} refreshFeeds={this.loadFeeds} parameters={this.props.parameters} packageSelectionMode={pkg?.Properties[\"SelectionMode\"]} packageSelectionModeError={this.props.getFieldError(\"SelectionMode\")} onPackageSelectionModeChange={(value) => this.props.setPackages(SetPrimaryPackageReference(getChangesToPackageReference(value), this.props.packages))} packageParameterName={pkg?.Properties[\"PackageParameterName\"]} packageParameterError={this.props.getFieldError(\"PackageParameterName\")} onPackageParameterChange={(packageParameter) => this.props.setPackages(SetPrimaryPackageReference({ Properties: { ...pkg?.Properties, PackageParameterName: packageParameter } }, this.props.packages))} isProcessTemplateProcess={this.props.processType === ProcessType.Blueprint}/>\n )}\n {this.externalTemplateFieldsSection()}\n
    )}\n\n {this.props.properties[\"Octopus.Action.Script.ScriptSource\"] === \"Inline\" && this.state.parameterTypes && (
    \n \n \n Terraform variables are either strings, lists or maps.\n \n Strings (including numbers and true/false) are supplied without quotes e.g. my string, true or 3.1415. Lists and maps are supplied as raw HCL or JSON structures,\n depending on the format of the template. For example, if the template is written in HCL, a list variable would be provided as{\" \"}\n \n [\"item1\", {\"{\"}item2=\"embedded map\"{\"}\"}]\n {\" \"}\n and a map variable would be provided as{\" \"}\n \n {\"{\"}item1=\"hi\", item2=\"there\"{\"}\"}\n \n . If the template is written is JSON, a list variable would be provided as{\" \"}\n \n [\"item1\", {\"{\"}\"item2\": \"embedded map\" {\"}\"}]\n {\" \"}\n and a map variable would be provided as{\" \"}\n \n {\"{\"}\"item1\": \"hi\", \"item2\": \"there\"{\"}\"}\n \n .\n \n \n this.updateParameters(data)} getBoundFieldProps={() => ({ projectId: this.props.projectId, gitRef: this.props.gitRef, localNames: this.props.localNames })}/>\n
    )}\n\n {this.props.properties[\"Octopus.Action.Script.ScriptSource\"] === \"GitRepository\" && (<>\n \n {this.externalTemplateFieldsSection()}\n )}\n\n \n \n this.props.setProperties({ [\"Octopus.Action.Terraform.Workspace\"]: val })} error={this.props.getFieldError(\"Octopus.Action.Terraform.Workspace\")}/>\n this.props.setProperties({ [\"Octopus.Action.Terraform.PluginsDirectory\"]: x })} label=\"Terraform plugin cache directory\" error={this.props.getFieldError(\"Octopus.Action.Terraform.PluginsDirectory\")}/>\n \n Specify the optional directory that holds the Terraform plugins. This directory will be copied to a temporary workspace for each deployment to avoid downloading the plugins from the Internet. Specify\n TF_PLUGIN_CACHE_DIR environment variable to use a shared cache folder instead.\n \n this.props.setProperties({ [\"Octopus.Action.Terraform.AllowPluginDownloads\"]: x })} label=\"Allow additional plugin downloads\" note={Selecting this option allows Terraform to download plugins that are not found.}/>\n \n Starting with v0.15.0 Terraform always installs plugins. Please refer to the Terraform documentation for more details.\n \n this.props.setProperties({ [\"Octopus.Action.Terraform.AdditionalInitParams\"]: x })} label=\"Custom terraform init parameters\" multiline={true} error={this.props.getFieldError(\"Octopus.Action.Terraform.AdditionalInitParams\")}/>\n \n this.props.setProperties({ [\"Octopus.Action.Terraform.AdditionalActionParams\"]: x })} label={Custom terraform {this.props.actionName} parameters} multiline={true} error={this.props.getFieldError(\"Octopus.Action.Terraform.AdditionalActionParams\")}/>\n \n \n \n Passes through variables into Terraform CLI accessible as environment variables. See Terraform docs for more\n information about available environment variables.\n }>\n Environment variables specified here will override options specified in other sections, with a few exceptions, such as Terraform variables mapping.\n this.props.setProperties({ [\"Octopus.Action.Terraform.EnvVariables\"]: val })} valueLabel=\"Mapping\" projectId={this.props.projectId} gitRef={this.props.gitRef} keyLabel=\"Variable name\"/>\n \n \n
    );\n }\n private externalTemplateFieldsSection() {\n const templateDirectoryHelp = this.props.properties[\"Octopus.Action.Script.ScriptSource\"] === \"Package\"\n ? \"Specify the optional directory inside the package that contains the template source.\"\n : \"Specify the optional directory inside the repository that contains the template source.\";\n return (<>\n \n this.props.setProperties({ [\"Octopus.Action.Terraform.TemplateDirectory\"]: x })} label=\"Template Directory\" error={this.props.getFieldError(\"Octopus.Action.Terraform.TemplateDirectory\")}/>\n \n \n this.props.setProperties({ [\"Octopus.Action.Terraform.RunAutomaticFileSubstitution\"]: x })} value={this.props.properties[\"Octopus.Action.Terraform.RunAutomaticFileSubstitution\"]}/>\n \n Will replace variables in all *.tf, *.tfvars, *.tf.json and *.tfvars.json files using the {`#{Variable}`} substitution syntax.\n \n this.props.setProperties({ [\"Octopus.Action.Terraform.FileSubstitution\"]: x })} label=\"Target files\" error={this.props.getFieldError(\"Octopus.Action.Terraform.FileSubstitution\")} multiline={true}/>\n \n A newline-separated list of file names to substitute variables using the {`#{Variable}`} substitution syntax\n {this.props.properties[\"Octopus.Action.Terraform.RunAutomaticFileSubstitution\"] === \"True\" ? (\n {\" \"}\n (in addition to all *.tf, *.tfvars, *.tf.json and *.tfvars.json files)\n ) : (\"\")}\n , relative to the package contents. Extended wildcard syntax is supported. E.g., Notes.txt, Config\\*.json, **\\specific-folder\\*.config.\n
    \n This field supports extended template syntax. Conditional if and unless:
    {`#{if MyVar}...#{/if}`}
    \n Iteration over variable sets or comma-separated values with each:
    {`#{each mv in MyVar}...#{mv}...#{/each}`}
    \n
    \n
    \n \n this.props.setProperties({ [\"Octopus.Action.Terraform.VarFiles\"]: x })} label=\"Additional Variable Files\" error={this.props.getFieldError(\"Octopus.Action.Terraform.VarFiles\")} multiline={true}/>\n \n An optional newline-separated list of files that are passed as -var-file parameters. Note that files called terraform.tfvars, terraform.tfvars.json,\n *.auto.tfvars and *.auto.tfvars.json are automatically loaded by Terraform, and do not need to be listed here. Each line in this text area is passed as an individual -var-file{\" \"}\n parameter.\n \n \n );\n }\n private summaryVariables() {\n const variables = JSON.parse(this.props.properties[\"Octopus.Action.Terraform.EnvVariables\"] || \"{}\");\n if (Object.keys(variables).length === 0) {\n return Summary.placeholder(\"No environment variables specified\");\n }\n else {\n const text = Object.keys(variables)\n .map((m) => m + \" = \" + variables[m])\n .join(\", \");\n return Summary.summary(text);\n }\n }\n private getMetadata = (value: string): Promise<{\n Metadata: MetadataTypeCollection;\n Values: DataContext;\n }> => {\n return repository.CloudTemplates.getMetadata(value, \"Terraform\");\n };\n private validateTemplate = async (value: string) => {\n try {\n await this.getMetadata(value);\n }\n catch (err) {\n return err;\n }\n return null;\n };\n private loadFeeds = async () => {\n await this.props.refreshFeeds();\n };\n private azureManagedAccountSummary() {\n const properties = this.props.properties;\n if (properties[\"Octopus.Action.Terraform.AzureAccount\"] && properties[\"Octopus.Action.Terraform.AzureAccount\"] === \"True\") {\n return Summary.summary(\n Using an Azure account\n );\n }\n return Summary.placeholder(\"The account variable has not been provided\");\n }\n private googleCloudAccountSummary() {\n const properties = this.props.properties;\n if (properties[\"Octopus.Action.Terraform.GoogleCloudAccount\"] && properties[\"Octopus.Action.Terraform.GoogleCloudAccount\"] === \"True\") {\n return Summary.summary(\n Using a Google Cloud account\n );\n }\n return Summary.placeholder(\"The account variable has not been provided\");\n }\n private async refreshParametersFromTemplate(template: string) {\n await this.props.doBusyTask(async () => {\n const response = await repository.CloudTemplates.getMetadata(template, \"Terraform\");\n await this.refreshParametersFromMetadata(response);\n });\n }\n private async refreshParametersFromMetadata(metadataResponse: {\n Metadata: MetadataTypeCollection;\n Values: DataContext;\n }) {\n await this.props.doBusyTask(async () => {\n // merge stored parameter values from step data with default values from template\n const storedParameters: DataContext = this.flattenParameters();\n Object.keys(metadataResponse.Values).forEach((key) => {\n if (typeof storedParameters[key] !== \"undefined\") {\n metadataResponse.Values[key] = storedParameters[key];\n }\n });\n this.props.setProperties({\n [\"Octopus.Action.Terraform.TemplateParameters\"]: JSON.stringify(metadataResponse.Values),\n });\n this.setState({ parameterTypes: metadataResponse.Metadata.Types, parameterValues: metadataResponse.Values });\n });\n }\n /**\n * Takes the JSON representation of the variables (i.e. the tool specific format, in this case terraform)\n * and returns the flat data structure used by the dynamic form.\n * @returns {DataContext} The variable information for the dynamic form\n */\n private flattenParameters(): DataContext {\n try {\n if (this.props.properties[\"Octopus.Action.Terraform.TemplateParameters\"]) {\n return JSON.parse(this.props.properties[\"Octopus.Action.Terraform.TemplateParameters\"]);\n }\n }\n catch (ex) {\n // this.props.properties[\"Octopus.Action.Terraform.TemplateParametersRaw\"] probably isn't\n // valid JSON, so return the empty data context.\n }\n return {};\n }\n /**\n * Takes the dynamic form variable information, and saves it in the tool specific JSON representation.\n * @param {DataContext} data The dynamic form variable data\n */\n private updateParameters(data: DataContext) {\n this.props.setProperties({ [\"Octopus.Action.Terraform.TemplateParameters\"]: JSON.stringify(data) });\n this.setState({ parameterTypes: this.state.parameterTypes, parameterValues: data });\n }\n static displayName = \"TerraformActionEditInternal\";\n}\ninterface InlineScriptProps {\n template: string;\n validateTemplate: (value: string) => Promise | OctopusError | Error | null;\n onSave: (value: string) => Promise;\n}\nfunction InlineScript({ template, validateTemplate, onSave }: InlineScriptProps) {\n return (
    \n
    \n {template && (<>\n \n
    \n )}\n }/>\n
    );\n}\nfunction TerraformActionEdit(props: React.PropsWithChildren) {\n const feeds = useFeedsFromContext();\n const refreshFeeds = useRefreshFeedsFromContext();\n const gitCredentials = useGitCredentialsFromContext();\n const refreshGitCredentials = useRefreshGitCredentialsFromContext();\n const projectContext = useOptionalProjectContext();\n const processContext = useOptionalProcessContext();\n return ();\n}\nexport default TerraformActionEdit;\n","import type { TerraformProperties } from \"@octopusdeploy/legacy-action-properties\";\nimport { ActionExecutionLocation } from \"@octopusdeploy/octopus-server-client\";\nimport * as React from \"react\";\nimport { TargetRoles } from \"~/areas/projects/components/Process/types\";\nimport Roles from \"~/components/Actions/Roles\";\nimport type { ActionSummaryProps } from \"~/components/Actions/actionSummaryProps\";\nimport type { ActionEditProps } from \"~/components/Actions/pluginRegistry\";\nimport pluginRegistry from \"~/components/Actions/pluginRegistry\";\nimport { BaseComponent } from \"~/components/BaseComponent/BaseComponent\";\nimport type { ScriptPackageProperties } from \"../script/ScriptPackageReferenceDialog\";\nimport TerraformActionEdit from \"./terraformAction\";\nclass TerraformApplyActionSummary extends BaseComponent {\n render() {\n return (
    \n Apply a Terraform template\n {this.props.targetRolesAsCSV && (\n {\" \"}\n on behalf of targets with \n )}\n
    );\n }\n static displayName = \"TerraformApplyActionSummary\";\n}\nclass TerraformApplyActionEdit extends BaseComponent, never> {\n render() {\n return ();\n }\n static displayName = \"TerraformApplyActionEdit\";\n}\npluginRegistry.registerAction({\n executionLocation: ActionExecutionLocation.AlwaysOnServer,\n actionType: \"Octopus.TerraformApply\",\n summary: (properties, targetRolesAsCSV) => ,\n canHaveChildren: (step) => true,\n canBeChild: true,\n editSections: { default: TerraformApplyActionEdit },\n targetRoleOption: (action) => TargetRoles.Optional,\n hasPackages: (action) => false,\n getInitialProperties: () => ({\n \"Octopus.Action.GoogleCloud.UseVMServiceAccount\": \"True\",\n \"Octopus.Action.GoogleCloud.ImpersonateServiceAccount\": \"False\",\n }),\n docsLink: \"applyTerraformChanges\",\n});\n","import type { TerraformProperties } from \"@octopusdeploy/legacy-action-properties\";\nimport { ActionExecutionLocation } from \"@octopusdeploy/octopus-server-client\";\nimport * as React from \"react\";\nimport { TargetRoles } from \"~/areas/projects/components/Process/types\";\nimport Roles from \"~/components/Actions/Roles\";\nimport type { ActionSummaryProps } from \"~/components/Actions/actionSummaryProps\";\nimport type { ActionEditProps } from \"~/components/Actions/pluginRegistry\";\nimport pluginRegistry from \"~/components/Actions/pluginRegistry\";\nimport { BaseComponent } from \"~/components/BaseComponent/BaseComponent\";\nimport type { ScriptPackageProperties } from \"../script/ScriptPackageReferenceDialog\";\nimport TerraformActionEdit from \"./terraformAction\";\nclass TerraformDestroyActionSummary extends BaseComponent {\n render() {\n return (
    \n Destroy Terraform resources\n {this.props.targetRolesAsCSV && (\n {\" \"}\n on behalf of targets with \n )}\n
    );\n }\n static displayName = \"TerraformDestroyActionSummary\";\n}\nclass TerraformApplyActionEdit extends BaseComponent, never> {\n render() {\n return ();\n }\n static displayName = \"TerraformApplyActionEdit\";\n}\npluginRegistry.registerAction({\n executionLocation: ActionExecutionLocation.AlwaysOnServer,\n actionType: \"Octopus.TerraformDestroy\",\n summary: (properties, targetRolesAsCSV) => ,\n canHaveChildren: (step) => true,\n canBeChild: true,\n editSections: { default: TerraformApplyActionEdit },\n targetRoleOption: (action) => TargetRoles.Optional,\n hasPackages: (action) => false,\n getInitialProperties: () => ({\n \"Octopus.Action.GoogleCloud.UseVMServiceAccount\": \"True\",\n \"Octopus.Action.GoogleCloud.ImpersonateServiceAccount\": \"False\",\n }),\n docsLink: \"applyTerraformChanges\",\n});\n","import { RadioButtonGroup, RadioButton } from \"@octopusdeploy/design-system-components\";\nimport type { TerraformProperties } from \"@octopusdeploy/legacy-action-properties\";\nimport * as React from \"react\";\nimport Note from \"../../../primitiveComponents/form/Note/Note\";\nimport { BaseComponent } from \"../../BaseComponent/BaseComponent\";\nimport ExternalLink from \"../../Navigation/ExternalLink\";\nimport { ExpandableFormSection, Summary } from \"../../form\";\nimport { default as FormSectionHeading } from \"../../form/Sections/FormSectionHeading\";\nimport type { ActionEditProps } from \"../pluginRegistry\";\nimport type { ScriptPackageProperties } from \"../script/ScriptPackageReferenceDialog\";\nexport class TerraformJSONPlan extends BaseComponent> {\n render() {\n return (
    \n \n \n this.props.setProperties({ [\"Octopus.Action.Terraform.PlanJsonOutput\"]: val })} error={this.props.getFieldError(\"Octopus.Action.Terraform.PlanJsonOutput\")}>\n \n \n \n \n Plain text output captures the written description of the changes, which are typically presented in a manual intervention step or external notification as is. JSON output captures the changes as JSON blobs, which can be\n inspected and parsed to generate custom reports. See the documentation for more details.\n \n \n
    );\n }\n planOutputSummary() {\n const source = this.props.properties[\"Octopus.Action.Terraform.PlanJsonOutput\"];\n if (source === \"True\") {\n return Summary.summary(\"Plan generates JSON output\");\n }\n return Summary.summary(\"Plan generates plain text output\");\n }\n static displayName = \"TerraformJSONPlan\";\n}\n","import type { TerraformProperties } from \"@octopusdeploy/legacy-action-properties\";\nimport { ActionExecutionLocation } from \"@octopusdeploy/octopus-server-client\";\nimport * as React from \"react\";\nimport { TargetRoles } from \"~/areas/projects/components/Process/types\";\nimport Roles from \"~/components/Actions/Roles\";\nimport type { ActionSummaryProps } from \"~/components/Actions/actionSummaryProps\";\nimport type { ActionEditProps } from \"~/components/Actions/pluginRegistry\";\nimport pluginRegistry from \"~/components/Actions/pluginRegistry\";\nimport { BaseComponent } from \"~/components/BaseComponent/BaseComponent\";\nimport type { ScriptPackageProperties } from \"../script/ScriptPackageReferenceDialog\";\nimport TerraformActionEdit from \"./terraformAction\";\nimport { TerraformJSONPlan } from \"./terraformJSONPlan\";\nclass TerraformPlanActionSummary extends BaseComponent {\n render() {\n return (
    \n Plan a Terraform template\n {this.props.targetRolesAsCSV && (\n {\" \"}\n on behalf of targets with \n )}\n
    );\n }\n static displayName = \"TerraformPlanActionSummary\";\n}\nclass TerraformApplyActionEdit extends BaseComponent, never> {\n render() {\n return (
    \n \n \n
    );\n }\n static displayName = \"TerraformApplyActionEdit\";\n}\npluginRegistry.registerAction({\n executionLocation: ActionExecutionLocation.AlwaysOnServer,\n actionType: \"Octopus.TerraformPlan\",\n summary: (properties, targetRolesAsCSV) => ,\n canHaveChildren: (step) => true,\n canBeChild: true,\n editSections: { default: TerraformApplyActionEdit },\n targetRoleOption: (action) => TargetRoles.Optional,\n hasPackages: (action) => false,\n getInitialProperties: () => ({\n \"Octopus.Action.GoogleCloud.UseVMServiceAccount\": \"True\",\n \"Octopus.Action.GoogleCloud.ImpersonateServiceAccount\": \"False\",\n }),\n docsLink: \"planTerraformChanges\",\n});\n","import type { TerraformProperties } from \"@octopusdeploy/legacy-action-properties\";\nimport { ActionExecutionLocation } from \"@octopusdeploy/octopus-server-client\";\nimport * as React from \"react\";\nimport { TargetRoles } from \"~/areas/projects/components/Process/types\";\nimport Roles from \"~/components/Actions/Roles\";\nimport type { ActionSummaryProps } from \"~/components/Actions/actionSummaryProps\";\nimport type { ActionEditProps } from \"~/components/Actions/pluginRegistry\";\nimport pluginRegistry from \"~/components/Actions/pluginRegistry\";\nimport { BaseComponent } from \"~/components/BaseComponent/BaseComponent\";\nimport type { ScriptPackageProperties } from \"../script/ScriptPackageReferenceDialog\";\nimport TerraformActionEdit from \"./terraformAction\";\nimport { TerraformJSONPlan } from \"./terraformJSONPlan\";\nclass TerraformPlanDestroyActionSummary extends BaseComponent {\n render() {\n return (
    \n Plan the destruction of Terraform resources\n {this.props.targetRolesAsCSV && (\n {\" \"}\n on behalf of targets with \n )}\n
    );\n }\n static displayName = \"TerraformPlanDestroyActionSummary\";\n}\nclass TerraformApplyActionEdit extends BaseComponent, never> {\n render() {\n return (
    \n \n \n
    );\n }\n static displayName = \"TerraformApplyActionEdit\";\n}\npluginRegistry.registerAction({\n executionLocation: ActionExecutionLocation.AlwaysOnServer,\n actionType: \"Octopus.TerraformPlanDestroy\",\n summary: (properties, targetRolesAsCSV) => ,\n canHaveChildren: (step) => true,\n canBeChild: true,\n editSections: { default: TerraformApplyActionEdit },\n targetRoleOption: (action) => TargetRoles.Optional,\n hasPackages: (action) => false,\n getInitialProperties: () => ({\n \"Octopus.Action.GoogleCloud.UseVMServiceAccount\": \"True\",\n \"Octopus.Action.GoogleCloud.ImpersonateServiceAccount\": \"False\",\n }),\n docsLink: \"planTerraformChanges\",\n});\n","/* eslint-disable @typescript-eslint/no-non-null-assertion */\nimport { Callout } from \"@octopusdeploy/design-system-components\";\nimport type { VhdProperties } from \"@octopusdeploy/legacy-action-properties\";\nimport { ActionExecutionLocation, GetPrimaryPackageReference, InitialisePrimaryPackageReference, PackageSelectionMode, SetPrimaryPackageReference } from \"@octopusdeploy/octopus-server-client\";\nimport { links } from \"@octopusdeploy/portal-routes\";\nimport type { PropsWithChildren } from \"react\";\nimport * as React from \"react\";\nimport { TargetRoles } from \"~/areas/projects/components/Process/types\";\nimport { repository } from \"~/clientInstance\";\nimport { BaseComponent } from \"~/components/BaseComponent/BaseComponent\";\nimport ExternalLink from \"~/components/Navigation/ExternalLink/ExternalLink\";\nimport InternalLink from \"~/components/Navigation/InternalLink/InternalLink\";\nimport PackageDownloadOptions from \"~/components/PackageDownloadOptions/PackageDownloadOptions\";\nimport DeferredPackageSelector from \"~/components/PackageSelector/DeferredPackageSelector\";\nimport { ExpandableFormSection, FormSectionHeading } from \"~/components/form\";\nimport CommonSummaryHelper from \"~/utils/CommonSummaryHelper/CommonSummaryHelper\";\nimport { ProcessFeedLookup, useFeedsFromContext, useRefreshFeedsFromContext } from \"../../../areas/projects/components/Process/Contexts/ProcessFeedsContextProvider\";\nimport { DisplayFeedName } from \"../DisplayFeedName\";\nimport Roles from \"../Roles\";\nimport type { ActionSummaryProps } from \"../actionSummaryProps\";\nimport type { ActionWithFeeds } from \"../commonActionHelpers\";\nimport { getChangesToPackageReference } from \"../getChangesToPackageReference\";\nimport type { ActionEditProps } from \"../pluginRegistry\";\nimport pluginRegistry from \"../pluginRegistry\";\ninterface VhdActionSummaryState {\n feedName?: string;\n}\nclass VhdActionSummary extends BaseComponent {\n constructor(props: ActionSummaryProps) {\n super(props);\n }\n render() {\n const pkg = GetPrimaryPackageReference(this.props.packages!);\n return pkg ? (
    \n {\"Deploy VHD\"} {pkg.PackageId} {\"from\"} \n {this.props.targetRolesAsCSV && (\n {\" \"}\n to deployment targets with {\" \"}\n )}\n
    ) : (\n Package was not selected or cannot be found. Please review this step and ensure a valid package is selected.\n );\n }\n static displayName = \"VhdActionSummary\";\n}\ntype VhdActionEditState = {};\ntype VhdActionEditProps = ActionEditProps;\ntype VhdActionEditInternalProps = VhdActionEditProps & ActionWithFeeds;\nclass VhdActionEditInternal extends BaseComponent {\n constructor(props: VhdActionEditInternalProps) {\n super(props);\n this.state = {};\n }\n async componentDidMount() {\n this.props.setPackages(InitialisePrimaryPackageReference(this.props.packages, this.props.feeds), true);\n }\n render() {\n // The package is initialized in componentDidMount, but render gets called before the update is propagated\n if (!this.props.packages || this.props.packages.length === 0) {\n return null;\n }\n const pkg = GetPrimaryPackageReference(this.props.packages);\n const help = this.props.feeds.length > 0 ? (\n This step is used to deploy a VHD to one or more machines. The machines require Windows Server 2012 or newer. You can configure the remote machines to deploy to in{\" \"}\n \n Infrastructure\n \n . The package that you wish to deploy should contain a single VHD or VHDX file in the root of the package. Learn more about{\" \"}\n what your packages should contain, and how to create them.\n ) : (Choose the package you which to deploy);\n return (
    \n \n \n this.props.setPackages(SetPrimaryPackageReference({ PackageId: packageId }, this.props.packages))} onFeedIdChange={(feedId) => this.props.setPackages(SetPrimaryPackageReference({ FeedId: feedId }, this.props.packages))} onPackageVersionChange={(version) => this.props.setPackages(SetPrimaryPackageReference({ Version: version }, this.props.packages))} packageIdError={this.props.getFieldError(\"Octopus.Action.Package.PackageId\")} feedIdError={this.props.getFieldError(\"Octopus.Action.Package.FeedId\")} projectId={this.props.projectId} feeds={this.props.feeds} localNames={this.props.localNames} refreshFeeds={this.loadFeeds} parameters={this.props.parameters} packageSelectionMode={pkg.Properties[\"SelectionMode\"]} packageSelectionModeError={this.props.getFieldError(\"SelectionMode\")} onPackageSelectionModeChange={(value) => this.props.setPackages(SetPrimaryPackageReference(getChangesToPackageReference(value), this.props.packages))} packageParameterName={pkg.Properties[\"PackageParameterName\"]} packageParameterError={this.props.getFieldError(\"PackageParameterName\")} onPackageParameterChange={(packageParameter) => this.props.setPackages(SetPrimaryPackageReference({ Properties: { ...pkg.Properties, PackageParameterName: packageParameter } }, this.props.packages))}/>\n {pkg.Properties[\"SelectionMode\"] === PackageSelectionMode.Immediate && (\n {(feed) => ( this.props.setPackages(SetPrimaryPackageReference({ AcquisitionLocation: acquisitionLocation }, this.props.packages))} feed={feed} projectId={this.props.projectId} localNames={this.props.localNames}/>)}\n )}\n \n
    );\n }\n private loadFeeds = async () => {\n await this.props.refreshFeeds();\n };\n static displayName = \"VhdActionEditInternal\";\n}\nexport function VhdActionEdit(props: PropsWithChildren) {\n const feeds = useFeedsFromContext();\n const refreshFeeds = useRefreshFeedsFromContext();\n return ;\n}\npluginRegistry.registerAction({\n executionLocation: ActionExecutionLocation.AlwaysOnTarget,\n actionType: \"Octopus.Vhd\",\n summary: (properties, targetRolesAsCSV, packages) => ,\n editSections: { default: VhdActionEdit },\n canHaveChildren: (step) => true,\n canBeChild: true,\n targetRoleOption: (action) => TargetRoles.Optional,\n hasPackages: (action) => true,\n features: {\n permanent: [\"Octopus.Features.Vhd\"],\n optional: [\n \"Octopus.Features.ConfigurationTransforms\",\n \"Octopus.Features.ConfigurationVariables\",\n \"Octopus.Features.CustomDirectory\",\n \"Octopus.Features.CustomScripts\",\n \"Octopus.Features.JsonConfigurationVariables\",\n \"Octopus.Features.SubstituteInFiles\",\n ],\n initial: [\"Octopus.Features.SubstituteInFiles\"],\n },\n});\n","import { Callout } from \"@octopusdeploy/design-system-components\";\nimport { ActionExecutionLocation, GetPrimaryPackageReference } from \"@octopusdeploy/octopus-server-client\";\nimport * as React from \"react\";\nimport { TargetRoles } from \"~/areas/projects/components/Process/types\";\nimport BaseComponent from \"../../BaseComponent\";\nimport { DisplayFeedName } from \"../DisplayFeedName\";\nimport Roles from \"../Roles\";\nimport type { ActionSummaryProps } from \"../actionSummaryProps\";\nimport pluginRegistry from \"../pluginRegistry\";\nimport { TentaclePackageActionEdit } from \"../tentaclePackage/tentaclePackageAction\";\ninterface NginxActionSummaryState {\n feedName: string;\n}\nclass NginxActionSummary extends BaseComponent {\n constructor(props: ActionSummaryProps) {\n super(props);\n }\n render() {\n const pkg = GetPrimaryPackageReference(this.props.packages);\n return pkg /* there was a validation bug that allowed saving of steps to not pick a package */ ? (
    \n {\"Deploy a web application and configure NGINX using package\"} {pkg.PackageId} {\"from\"} \n {this.props.targetRolesAsCSV && (\n {\" \"}\n to deployment targets with \n )}\n
    ) : (\n Package was not selected or cannot be found. Please review this step and ensure a valid package is selected.\n );\n }\n static displayName = \"NginxActionSummary\";\n}\npluginRegistry.registerAction({\n executionLocation: ActionExecutionLocation.AlwaysOnTarget,\n actionType: \"Octopus.Nginx\",\n summary: (properties, targetRolesAsCsv, packages) => ,\n editSections: { default: TentaclePackageActionEdit },\n canHaveChildren: (step) => true,\n canBeChild: true,\n targetRoleOption: (action) => TargetRoles.Optional,\n hasPackages: (action) => true,\n features: {\n permanent: [\"Octopus.Features.Nginx\"],\n optional: [\n \"Octopus.Features.ConfigurationTransforms\",\n \"Octopus.Features.ConfigurationVariables\",\n \"Octopus.Features.CustomDirectory\",\n \"Octopus.Features.CustomScripts\",\n \"Octopus.Features.JsonConfigurationVariables\",\n \"Octopus.Features.SubstituteInFiles\",\n ],\n },\n});\n","import type { ActionProperties } from \"@octopusdeploy/octopus-server-client\";\nimport * as React from \"react\";\nimport { ValueInPropertiesOrErrorsHasChanged } from \"~/utils/ShouldUpdate/ValueInPropertiesHasChanged\";\nimport { BoundStringCheckbox } from \"../../../primitiveComponents/form/Checkbox/StringCheckbox\";\nimport type { ActionEditProps } from \"../../Actions/pluginRegistry\";\nimport pluginRegistry from \"../../Actions/pluginRegistry\";\nimport { BaseComponent } from \"../../BaseComponent/BaseComponent\";\nimport ExternalLink from \"../../Navigation/ExternalLink/ExternalLink\";\nimport { ExpandableFormSection, Summary } from \"../../form\";\nconst StringProperties = {\n \"Octopus.Action.Package.AutomaticallyUpdateAppSettingsAndConnectionStrings\": \"\",\n};\ntype ConfigurationVariablesProperties = {\n [P in keyof typeof StringProperties]: string;\n};\nclass ConfigurationVariablesEdit extends BaseComponent, never> {\n shouldComponentUpdate(nextProps: ActionEditProps) {\n return ValueInPropertiesOrErrorsHasChanged(StringProperties, nextProps, this.props);\n }\n summary() {\n if ((this.props.properties[\"Octopus.Action.Package.AutomaticallyUpdateAppSettingsAndConnectionStrings\"] || \"\").toLowerCase() !== \"false\") {\n return Summary.summary(\n Entries in .config files will be updated with variable values\n );\n }\n return Summary.placeholder(\n Entries in .config files will not be updated with variable values\n );\n }\n render() {\n const properties = this.props.properties;\n return (\n this.props.setProperties({ [\"Octopus.Action.Package.AutomaticallyUpdateAppSettingsAndConnectionStrings\"]: x })} label=\"Replace entries in .config files\" note={\n Tentacle will look inside your .config files and attempt to replace any `appSettings`, `applicationSettings` or `connectionStrings` entries that have a `key` or `name` that matches the name of a variable defined\n in Octopus. For more information, please see the documentation.\n }/>\n );\n }\n static displayName = \"ConfigurationVariablesEdit\";\n}\npluginRegistry.registerFeature({\n featureName: \"Octopus.Features.ConfigurationVariables\",\n title: \".NET Configuration Variables\",\n description: \"Replace settings in any _.config_ files with variables defined in Octopus.\",\n edit: ConfigurationVariablesEdit,\n priority: 20,\n enable: (properties: ActionProperties) => {\n properties[\"Octopus.Action.Package.AutomaticallyUpdateAppSettingsAndConnectionStrings\"] = \"True\";\n },\n disable: (properties: ActionProperties) => {\n delete properties[\"Octopus.Action.Package.AutomaticallyUpdateAppSettingsAndConnectionStrings\"];\n },\n});\n","import type { ActionProperties } from \"@octopusdeploy/octopus-server-client\";\nimport * as React from \"react\";\nimport { ValueInPropertiesOrErrorsHasChanged } from \"~/utils/ShouldUpdate/ValueInPropertiesHasChanged\";\nimport { BoundStringCheckbox } from \"../../../primitiveComponents/form/Checkbox/StringCheckbox\";\nimport Note from \"../../../primitiveComponents/form/Note/Note\";\nimport type { ActionEditProps } from \"../../Actions/pluginRegistry\";\nimport pluginRegistry from \"../../Actions/pluginRegistry\";\nimport { BaseComponent } from \"../../BaseComponent/BaseComponent\";\nimport { ExpandableFormSection, Summary } from \"../../form\";\nimport { VariableLookupText } from \"../../form/VariableLookupText\";\nconst StringProperties = {\n \"Octopus.Action.Package.CustomInstallationDirectory\": \"\",\n \"Octopus.Action.Package.CustomInstallationDirectoryShouldBePurgedBeforeDeployment\": \"\",\n \"Octopus.Action.Package.CustomInstallationDirectoryPurgeExclusions\": \"\",\n};\ntype CustomDirectoryProperties = {\n [P in keyof typeof StringProperties]: string;\n};\nclass CustomDirectoryEdit extends BaseComponent, never> {\n shouldComponentUpdate(nextProps: ActionEditProps) {\n return ValueInPropertiesOrErrorsHasChanged(StringProperties, nextProps, this.props);\n }\n summary() {\n if (this.props.properties[\"Octopus.Action.Package.CustomInstallationDirectory\"]) {\n const nodes = [];\n nodes.push(\n Package will be installed to {this.props.properties[\"Octopus.Action.Package.CustomInstallationDirectory\"]}\n );\n if (this.props.properties[\"Octopus.Action.Package.CustomInstallationDirectoryShouldBePurgedBeforeDeployment\"] === \"True\") {\n nodes.push(, the directory will be purged before deployment);\n }\n return Summary.summary(React.Children.toArray(nodes));\n }\n return Summary.placeholder(Package will be installed to the standard location);\n }\n render() {\n const properties = this.props.properties;\n const purge = properties[\"Octopus.Action.Package.CustomInstallationDirectoryShouldBePurgedBeforeDeployment\"];\n const showExclude = purge && purge !== \"False\";\n return (\n this.props.setProperties({ [\"Octopus.Action.Package.CustomInstallationDirectory\"]: x })} error={this.props.getFieldError(\"Octopus.Action.Package.CustomInstallationDirectory\")} label=\"Install to\"/>\n After the package is extracted, it will be copied to this location on the remote machine.\n this.props.setProperties({ [\"Octopus.Action.Package.CustomInstallationDirectoryShouldBePurgedBeforeDeployment\"]: x })} label=\"Purge this directory before installation\"/>\n Before the contents of the extracted package is copied, all files in this location will be removed.\n {showExclude && ( this.props.setProperties({ [\"Octopus.Action.Package.CustomInstallationDirectoryPurgeExclusions\"]: x })} multiline={true} error={this.props.getFieldError(\"Octopus.Action.Package.CustomInstallationDirectoryPurgeExclusions\")} label=\"Exclude from purge\"/>)}\n {showExclude && (\n A newline-separated list of file or directory names, relative to the installation directory, to leave when it is purged. To exclude a whole directory, specify it by name without a wildcard. Extended wildcard syntax is\n supported. E.g., appsettings.config, Config, Config\\*.config, **\\*.config\n )}\n );\n }\n static displayName = \"CustomDirectoryEdit\";\n}\npluginRegistry.registerFeature({\n featureName: \"Octopus.Features.CustomDirectory\",\n title: \"Custom Installation Directory\",\n description: \"Change where Tentacle extracts your package\",\n edit: CustomDirectoryEdit,\n priority: 5,\n disable: (properties: ActionProperties) => {\n delete properties[\"Octopus.Action.Package.CustomInstallationDirectory\"];\n delete properties[\"Octopus.Action.Package.CustomInstallationDirectoryShouldBePurgedBeforeDeployment\"];\n delete properties[\"Octopus.Action.Package.CustomInstallationDirectoryPurgeExclusions\"];\n },\n});\n","import React from \"react\";\nexport function createHookHOC(hook: () => TContextProps, displayName: string) {\n return (Component: React.ComponentType, mapContextsToProps: (context: TContextProps) => TInjectedProps) => {\n type TExternalProps = Omit;\n const WithHookHoc: React.FC = (props) => {\n const contextProps = hook();\n const mappedProps = mapContextsToProps(contextProps);\n // eslint-disable-next-line @typescript-eslint/consistent-type-assertions\n const allProps = { ...mappedProps, ...props } as TInternalProps & React.Attributes;\n return ;\n };\n WithHookHoc.displayName = \"WithHookHoc\"\n WithHookHoc.displayName = displayName;\n return WithHookHoc;\n };\n}\nexport default createHookHOC;\n","import { createHookHOC } from \"~/utils/createHookHOC\";\nimport type { IScriptActionContext } from \"./ScriptActionContext\";\nimport { useScriptActionContext } from \"./ScriptActionContext\";\nexport type WithScriptActionContextInjectedProps = {\n scriptActionContext: IScriptActionContext | undefined;\n};\nexport const mapScriptActionContextToInjectedProps = (context: IScriptActionContext | undefined) => ({ scriptActionContext: context });\nexport const withScriptActionContext = createHookHOC(useScriptActionContext, \"WithScriptActionContext\");\n","/* eslint-disable @typescript-eslint/no-explicit-any */\n/* eslint-disable @typescript-eslint/consistent-type-assertions */\nimport type { ActionProperties } from \"@octopusdeploy/octopus-server-client\";\nimport { ScriptingLanguage } from \"@octopusdeploy/octopus-server-client\";\nimport * as React from \"react\";\nimport { CodeEditor } from \"~/components/CodeEditor/CodeEditor\";\nimport { codeEditorVariablesList } from \"~/utils/ScriptIntellisense/scriptIntellisense\";\nimport Note from \"../../../primitiveComponents/form/Note/Note\";\nimport type { ActionEditProps } from \"../../Actions/pluginRegistry\";\nimport pluginRegistry from \"../../Actions/pluginRegistry\";\nimport type { WithScriptActionContextInjectedProps } from \"../../Actions/script/withScriptActionContext\";\nimport { mapScriptActionContextToInjectedProps, withScriptActionContext } from \"../../Actions/script/withScriptActionContext\";\nimport { BaseComponent } from \"../../BaseComponent/BaseComponent\";\nimport ScriptingLanguageSelector, { SupportedLanguage } from \"../../ScriptingLanguageSelector/ScriptingLanguageSelector\";\nimport { ExpandableFormSection, Summary } from \"../../form\";\nimport { CardFill } from \"../../form/Sections/ExpandableFormSection\";\ntype ScriptType = \"PreDeploy\" | \"Deploy\" | \"PostDeploy\";\ninterface Script {\n syntax: ScriptingLanguage;\n scriptBody: string;\n}\ntype ScriptLanguageIndex = {\n [key in K]: ScriptingLanguage;\n};\ninterface ActionEditState extends ScriptLanguageIndex {\n serverNames: string[];\n}\ntype Props = ActionEditProps & WithScriptActionContextInjectedProps;\nclass CustomScriptsEditInternal extends BaseComponent {\n syntaxExtensions = { [ScriptingLanguage.PowerShell]: \"ps1\", [ScriptingLanguage.CSharp]: \"csx\", [ScriptingLanguage.Bash]: \"sh\", [ScriptingLanguage.FSharp]: \"fsx\", [ScriptingLanguage.Python]: \"py\" };\n extensionSyntaxes = { ps1: ScriptingLanguage.PowerShell, csx: ScriptingLanguage.CSharp, sh: ScriptingLanguage.Bash, fsx: ScriptingLanguage.FSharp, py: ScriptingLanguage.Python };\n customScriptPrefix = \"Octopus.Action.CustomScripts.\";\n constructor(props: Props) {\n super(props);\n this.state = {\n PreDeploy: ScriptingLanguage.PowerShell,\n Deploy: ScriptingLanguage.PowerShell,\n PostDeploy: ScriptingLanguage.PowerShell,\n serverNames: [],\n };\n }\n async componentDidMount() {\n const PreDeploy = this.lookupScriptSyntax(\"PreDeploy\");\n const Deploy = this.lookupScriptSyntax(\"Deploy\");\n const PostDeploy = this.lookupScriptSyntax(\"PostDeploy\");\n this.setState({\n PreDeploy,\n Deploy,\n PostDeploy,\n serverNames: this.props.scriptActionContext ? await this.props.scriptActionContext.loadVariables() : [],\n });\n }\n lookupScriptSyntax(scriptType: ScriptType): ScriptingLanguage {\n // find the script variable, for Deploy it will look like Octopus.Action.CustomScripts.Deploy.{ps1|sh|csx|fsx}\n let syntax = ScriptingLanguage.PowerShell;\n Object.keys(this.extensionSyntaxes).forEach((k) => {\n const name = this.customScriptPrefix + scriptType + \".\" + k;\n if (this.props.properties.hasOwnProperty(name)) {\n syntax = (this.extensionSyntaxes as any)[k];\n }\n });\n return syntax;\n }\n syntaxChanged(scriptType: ScriptType, syntax: ScriptingLanguage, scriptBody: string) {\n // if changing from say ps1 to sh we need to delete Octopus.Action.CustomScripts.Deploy.ps1 and add Octopus.Action.CustomScripts.Deploy.sh\n const props = this.props.properties;\n Object.keys(this.extensionSyntaxes).forEach((k) => {\n const name = this.customScriptPrefix + scriptType + \".\" + k;\n if ((this.extensionSyntaxes as any)[k] !== syntax && this.props.properties.hasOwnProperty(name)) {\n delete props[name];\n }\n });\n props[this.customScriptPrefix + scriptType + \".\" + this.syntaxExtensions[syntax]] = scriptBody;\n this.props.setProperties(props);\n this.setState((prev) => ({ ...prev, [scriptType]: syntax }));\n }\n renderScriptSection(scriptType: ScriptType) {\n const syntax = this.state[scriptType];\n const scriptBody = this.getScriptBody(scriptType);\n const results = codeEditorVariablesList(this.state.serverNames, this.props.localNames ?? [], syntax, \"\");\n return (
    \n this.syntaxChanged(scriptType, value, scriptBody)}/>\n this.props.setProperties({ [this.customScriptPrefix + scriptType + \".\" + this.syntaxExtensions[syntax]]: x })} scriptingLanguageSelectorOptions={{ supportedLanguages: SupportedLanguage.All, onScriptingLanguageChanged: (value) => this.syntaxChanged(scriptType, value as ScriptingLanguage, scriptBody) }} showToolbar={true} showCopyButton={true} showInsertVariableButton={true}/>\n
    );\n }\n getScriptBody(scriptType: ScriptType) {\n return this.props.properties[this.customScriptPrefix + scriptType + \".\" + this.syntaxExtensions[this.state[scriptType]]] as string;\n }\n summary() {\n const preDeploy = this.getScriptBody(\"PreDeploy\");\n const deploy = this.getScriptBody(\"Deploy\");\n const postDeploy = this.getScriptBody(\"PostDeploy\");\n const configured = [];\n if (preDeploy) {\n configured.push(\"Pre-deploy\");\n }\n if (deploy) {\n configured.push(\"Deploy\");\n }\n if (postDeploy) {\n configured.push(\"Post-deploy\");\n }\n if (configured.length === 0) {\n return Summary.placeholder(\"No scripts have been configured\");\n }\n if (configured.length === 1) {\n return Summary.summary(\"A script will be run as part of the \" + configured[0] + \" phase\");\n }\n if (configured.length === 2) {\n return Summary.summary(\"Scripts will be run as part of the \" + configured[0] + \" and \" + configured[1] + \" phases\");\n }\n if (configured.length === 3) {\n return Summary.summary(\"Scripts will be run as part of the \" + configured[0] + \", \" + configured[1] + \" and \" + configured[2] + \" phases\");\n }\n }\n render() {\n return (\n Pre-deployment script\n This script will run after the package is extracted, but before any configuration changes are made.\n {this.renderScriptSection(\"PreDeploy\")}\n
    \n Deployment script\n This script will run after configuration changes and variable substitutions are made, but before any of the core deployment processes are made.\n {this.renderScriptSection(\"Deploy\")}\n
    \n Post-deployment script\n This script will run after core deployment processes are made.\n {this.renderScriptSection(\"PostDeploy\")}\n
    );\n }\n static displayName = \"CustomScriptsEditInternal\";\n}\nconst CustomScriptsEdit = withScriptActionContext(CustomScriptsEditInternal, mapScriptActionContextToInjectedProps);\npluginRegistry.registerFeature({\n featureName: \"Octopus.Features.CustomScripts\",\n title: \"Custom Deployment Scripts\",\n description: \"Execute scripts during the deployment, without embedding them in your package\",\n edit: CustomScriptsEdit,\n priority: 10,\n disable: (properties: ActionProperties) => {\n Object.keys(properties)\n .filter((name) => {\n return name.indexOf(\"Octopus.Action.CustomScripts.\") === 0;\n })\n .forEach((name) => {\n delete properties[name];\n });\n },\n});\n","import type { ActionProperties } from \"@octopusdeploy/octopus-server-client\";\nimport * as React from \"react\";\nimport { ValueInPropertiesOrErrorsHasChanged } from \"~/utils/ShouldUpdate/ValueInPropertiesHasChanged\";\nimport { BoundStringCheckbox } from \"../../../primitiveComponents/form/Checkbox/StringCheckbox\";\nimport Note from \"../../../primitiveComponents/form/Note/Note\";\nimport type { ActionEditProps } from \"../../Actions/pluginRegistry\";\nimport pluginRegistry from \"../../Actions/pluginRegistry\";\nimport { BaseComponent } from \"../../BaseComponent/BaseComponent\";\nimport { ExpandableFormSection, Summary } from \"../../form\";\nimport { VariableLookupText } from \"../../form/VariableLookupText\";\nconst StringProperties = {\n \"Octopus.Action.Package.UpdateIisWebsite\": \"\",\n \"Octopus.Action.Package.UpdateIisWebsiteName\": \"\",\n};\ntype IISHomeProperties = {\n [P in keyof typeof StringProperties]: string;\n};\nclass IISHomeEdit extends BaseComponent, never> {\n shouldComponentUpdate(nextProps: ActionEditProps) {\n return ValueInPropertiesOrErrorsHasChanged(StringProperties, nextProps, this.props);\n }\n summary() {\n const properties = this.props.properties;\n if (properties[\"Octopus.Action.Package.UpdateIisWebsite\"] !== \"False\") {\n if (properties[\"Octopus.Action.Package.UpdateIisWebsiteName\"]) {\n return Summary.summary(\"Octopus will update the IIS website \" + properties[\"Octopus.Action.Package.UpdateIisWebsiteName\"]);\n }\n else {\n return Summary.summary(\"Octopus will find an IIS website based on the package name and attempt to update it\");\n }\n }\n else {\n return Summary.placeholder(\"The IIS home directory will not be configured\");\n }\n }\n render() {\n const properties = this.props.properties;\n return (\n this.props.setProperties({ [\"Octopus.Action.Package.UpdateIisWebsite\"]: x })} label=\"Attempt to automatically update IIS\"/>\n Tentacle will look in IIS for a website with the same name as the current package (or the custom name below) and will attempt to change the home directory to point to the folder that the package was extracted to.\n this.props.setProperties({ [\"Octopus.Action.Package.UpdateIisWebsiteName\"]: x })} multiline={true} error={this.props.getFieldError(\"Octopus.Action.Package.UpdateIisWebsiteName\")} label=\"Site/virtual directory\"/>\n \n The name of the IIS website, or virtual directory path, to attempt to update. To specify a virtual directory, use the format:\n
    WebsiteName/VirtualDirectory1/VirtualDirectory2
    \n If no name is specified, Tentacle will look for an IIS site named with the same name as the package ID.\n
    \n
    );\n }\n static displayName = \"IISHomeEdit\";\n}\npluginRegistry.registerFeature({\n featureName: \"Octopus.Features.IisHome\",\n title: \"IIS6+ Home Directory\",\n description: \"Points an existing IIS website or virtual directory's 'Home' directory to the path the package was extracted to\" + \" (**not** compatible with the _IIS web site_ feature)\",\n edit: IISHomeEdit,\n priority: 30,\n enable: (properties: ActionProperties) => {\n properties[\"Octopus.Action.Package.UpdateIisWebsite\"] = \"True\";\n },\n disable: (properties: ActionProperties) => {\n delete properties[\"Octopus.Action.Package.UpdateIisWebsite\"];\n delete properties[\"Octopus.Action.Package.UpdateIisWebsiteName\"];\n },\n});\n","import * as React from \"react\";\nimport styles from \"./style.module.less\";\ninterface ThumbprintTextProps {\n thumbprint: string;\n}\nclass ThumbprintText extends React.PureComponent {\n render() {\n return {this.props.thumbprint};\n }\n static displayName = \"ThumbprintText\";\n}\nexport default ThumbprintText;\n","import ThumbprintText from \"./ThumbprintText\";\nexport default ThumbprintText;\n","import type { SensitiveValue } from \"@octopusdeploy/octopus-server-client\";\nimport { clone } from \"lodash\";\n// Returns a reset-value function for use with bound-field directive\nconst getSensitiveResetValue = (model: undefined | SensitiveValue) => {\n // If not an object, then it wasn't a sensitive-value\n if (typeof model !== \"object\") {\n return () => {\n return { HasValue: false };\n };\n }\n const initial = clone(model);\n return () => {\n return clone(initial);\n };\n};\nexport default getSensitiveResetValue;\n","/* eslint-disable @typescript-eslint/no-explicit-any */\n/* eslint-disable @typescript-eslint/consistent-type-assertions */\nimport * as React from \"react\";\nimport { ExpandableFormSection, Summary, required } from \"~/components/form\";\nimport isBound from \"~/components/form/BoundField/isBound\";\nimport { BoundSensitive } from \"~/components/form/Sensitive/Sensitive\";\nimport getSensitiveResetValue from \"~/components/form/Sensitive/getSensitiveResetValue\";\nimport { VariableLookupText } from \"~/components/form/VariableLookupText\";\nimport { BoundStringCheckbox } from \"~/primitiveComponents/form/Checkbox/StringCheckbox\";\nimport Note from \"~/primitiveComponents/form/Note/Note\";\nimport { BoundSelect } from \"~/primitiveComponents/form/Select/Select\";\ninterface ApplicationPoolProps {\n localNames: string[];\n pathToRootProperty: string;\n properties: any;\n expandedByDefault: boolean;\n getFieldError(field: string): string;\n setProperties(properties: any): void;\n}\nconst applicationPool = (props: ApplicationPoolProps) => {\n const fullPath = (propertyName: string) => {\n return props.pathToRootProperty + \".\" + propertyName;\n };\n const frameworkVersions = [\n { value: \"v4.0\", text: \"v4.0\" },\n { value: \"v2.0\", text: \"v2.0\" },\n { value: \"No Managed Code\", text: \"No Managed Code\" },\n ];\n const appPoolIdentities = [\n { value: \"ApplicationPoolIdentity\", text: \"Application Pool Identity\" },\n { value: \"LocalService\", text: \"Local Service\" },\n { value: \"LocalSystem\", text: \"Local System\" },\n { value: \"NetworkService\", text: \"Network Service\" },\n { value: \"SpecificUser\", text: \"Custom user...\" },\n ];\n const applicationPoolSummary = () => {\n if (!props.properties[fullPath(\"ApplicationPoolName\")]) {\n return Summary.placeholder(\"The Application Pool has not been configured\");\n }\n const nodes = [];\n nodes.push(\n Application Pool {props.properties[fullPath(\"ApplicationPoolName\")]} will be created if required and used.\n );\n if (props.properties[fullPath(\"ApplicationPoolFrameworkVersion\")] === \"No Managed Code\") {\n nodes.push( It will be configured with no .NET CLR support);\n }\n else {\n nodes.push(\n {\" \"}\n The .NET framework version will be {props.properties[fullPath(\"ApplicationPoolFrameworkVersion\")]}\n );\n }\n const identity = appPoolIdentities.find((p) => props.properties[fullPath(\"ApplicationPoolIdentityType\")] === p.value);\n if (identity) {\n if (identity.value === \"SpecificUser\") {\n if (!props.properties[fullPath(\"ApplicationPoolUsername\")]) {\n nodes.push(, and the pool will run as a custom user that has not been configured);\n }\n else {\n nodes.push(\n , and the pool will run as {props.properties[fullPath(\"ApplicationPoolUsername\")]}\n );\n }\n }\n else {\n nodes.push(\n , and the pool will run as {identity.text}\n );\n }\n }\n return Summary.summary(React.Children.toArray(nodes));\n };\n return (\n props.setProperties({ [fullPath(\"ApplicationPoolName\")]: x })} label=\"Application Pool name\" error={props.getFieldError(fullPath(\"ApplicationPoolName\"))} validate={required(\"Please enter an Application Pool name\")}/>\n Name of the application pool in IIS to create or reconfigure.\n\n props.setProperties({ [fullPath(\"ApplicationPoolFrameworkVersion\")]: x })} items={frameworkVersions} error={props.getFieldError(fullPath(\"ApplicationPoolFrameworkVersion\"))} placeholder=\".NET CLR version\" label=\".NET CLR version\"/>\n \n The version of the .NET common language runtime that this application pool will use. Choose v2.0 for applications built against .NET 2.0, 3.0 or 3.5. Choose v4.0 for .NET 4.0 or 4.5\n \n\n props.setProperties({ [fullPath(\"ApplicationPoolIdentityType\")]: x })} items={appPoolIdentities} error={props.getFieldError(fullPath(\"ApplicationPoolIdentityType\"))} placeholder=\"Identity\" label=\"Identity\"/>\n Which built-in account will the application pool run under.\n\n {(props.properties[fullPath(\"ApplicationPoolIdentityType\")] === \"SpecificUser\" || isBound(props.properties[fullPath(\"ApplicationPoolIdentityType\")])) && (
    \n props.setProperties({ [fullPath(\"ApplicationPoolUsername\")]: x })} error={props.getFieldError(fullPath(\"ApplicationPoolUsername\"))} label=\"Username\"/>\n \n The Windows/domain account of the custom user that the application pool will run under. Example: YOURDOMAIN\\YourAccount. You will need to ensure that this user has permissions to run as an application pool.\n \n props.setProperties({ [fullPath(\"ApplicationPoolPassword\")]: x as any })} label=\"Password\"/>\n The password for the custom account given above.\n
    )}\n\n props.setProperties({ [\"Octopus.Action.IISWebSite.StartApplicationPool\"]: x })} label=\"Start IIS Application Pool\"/>\n Whether the deployment step should start the IIS Application Pool after a successful deployment or not.\n
    );\n};\nexport default applicationPool;\n","/* eslint-disable @typescript-eslint/no-non-null-assertion */\n/* eslint-disable @typescript-eslint/no-explicit-any */\n/* eslint-disable @typescript-eslint/consistent-type-assertions */\nimport { BooleanRadioButtonGroup, BooleanRadioButton } from \"@octopusdeploy/design-system-components\";\nimport type { GitRefResource, ProjectResource } from \"@octopusdeploy/octopus-server-client\";\nimport * as React from \"react\";\nimport { repository } from \"~/clientInstance\";\nimport { DataBaseComponent } from \"~/components/DataBaseComponent/DataBaseComponent\";\nimport type { DataBaseComponentState } from \"~/components/DataBaseComponent/DataBaseComponent\";\nimport OkDialogLayout from \"~/components/DialogLayout/OkDialogLayout\";\nimport type { Binding } from \"~/components/Features/iisWebSite/bindingHelpers\";\nimport ExternalLink from \"~/components/Navigation/ExternalLink\";\nimport isBound from \"~/components/form/BoundField/isBound\";\nimport ProjectCertificateVariableSelect from \"~/components/form/CertificateSelect/ProjectCertificateVariableSelect\";\nimport DialogFormSectionHeading from \"~/components/form/Sections/DialogFormSectionHeading\";\nimport { VariableLookupText } from \"~/components/form/VariableLookupText\";\nimport { BoundStringCheckbox } from \"~/primitiveComponents/form/Checkbox/StringCheckbox\";\nimport Note from \"~/primitiveComponents/form/Note/Note\";\nimport { BoundSelect } from \"~/primitiveComponents/form/Select/Select\";\ninterface BindingState extends DataBaseComponentState {\n binding: Binding;\n managedByOctopus: boolean;\n project?: ProjectResource | null;\n}\ninterface BindingProps {\n binding: Binding;\n localNames: string[];\n projectId: string;\n gitRef: GitRefResource | undefined;\n onAdd(Binding: Binding): boolean;\n doBusyTask(action: () => Promise): Promise;\n}\nclass BindingDialog extends DataBaseComponent {\n constructor(props: BindingProps) {\n super(props);\n this.state = {\n binding: null!,\n managedByOctopus: true,\n project: null!,\n };\n }\n async componentDidMount() {\n await this.doBusyTask(async () => {\n const project = this.props.projectId ? await repository.Projects.get(this.props.projectId) : null;\n this.setState({\n binding: this.props.binding,\n managedByOctopus: !this.props.binding.thumbprint,\n project,\n });\n });\n }\n handleProtocolChanged = async (protocol: string | undefined) => {\n await this.doBusyTask(async () => {\n this.setBindingState({ protocol: protocol! });\n if (protocol === \"https\") {\n this.setBindingState({ port: \"443\" });\n }\n });\n };\n handleManagedByOctopusChanged = async (managed: boolean) => {\n await this.doBusyTask(async () => {\n if (!managed) {\n this.setState((state) => ({\n binding: { ...state!.binding, certificateVariable: null },\n managedByOctopus: managed,\n }));\n }\n else {\n this.setState((state) => ({\n binding: { ...state!.binding, thumbprint: null },\n managedByOctopus: managed,\n }));\n }\n });\n };\n save = () => {\n const errors: {\n [name: string]: string;\n } = {};\n const binding = this.state.binding;\n if ((this.state.binding.protocol || \"\").trim().length === 0) {\n errors[\"binding.protocol\"] = \"A protocol must be supplied.\";\n }\n if ((this.state.binding.port || \"\").trim().length === 0) {\n errors[\"binding.port\"] = \"A port must be supplied.\";\n }\n if (this.state.binding.protocol === \"https\") {\n if (this.state.managedByOctopus) {\n if (!this.state.binding.certificateVariable) {\n errors[\"binding.certificateVariable\"] = \"An SSL certificate variable must be provided for HTTPS bindings.\";\n }\n }\n else {\n if (!this.state.binding.thumbprint || this.state.binding.thumbprint.trim() === \"\") {\n errors[\"binding.thumbprint\"] = \"An SSL certificate thumbprint must be provided for HTTPS bindings.\";\n }\n else if (!isBound(this.state.binding.thumbprint)) {\n // eslint-disable-next-line @typescript-eslint/no-non-null-asserted-optional-chain\n binding.thumbprint = binding.thumbprint?.replace(/[^0-9A-z]/g, \"\")!;\n }\n }\n }\n if (this.state.binding.protocol &&\n this.state.binding.requireSni &&\n this.state.binding.protocol.toLowerCase() !== \"http\" &&\n this.state.binding.requireSni.toLowerCase() !== \"false\" && // If the user used a binding they would expect this to evaluate to true in some configuration\n (this.state.binding.host || \"\").trim().length === 0) {\n errors[\"binding.host\"] = \"A host name must be provided if server name identification is enabled.\";\n }\n const errorKeys = Object.keys(errors);\n if (errorKeys.length > 0) {\n if (errorKeys.length === 1) {\n this.setValidationErrors(errors[errorKeys[0]]);\n }\n else {\n this.setValidationErrors(\"The binding is not valid\", errors);\n }\n return false;\n }\n return this.props.onAdd(binding);\n };\n render() {\n return (\n {this.state.binding && (
    \n \n this.setBindingState({ port: x })} label=\"Port\"/>\n The TCP port number that this binding will listen on.\n this.setBindingState({ ipAddress: x })} label=\"IP address\"/>\n \n The IP address that the binding will listen on. Use * for any address, or specify an address such as 10.0.0.1. If using a IPv6 address remember to enclose in square brackets such as{\" \"}\n [::1].\n \n this.setBindingState({ host: x })} label=\"Host name\"/>\n \n The host header that this binding will listen on. Example:\n www.contoso.com. Leave empty to use any host header.\n \n\n {this.state.binding.protocol !== \"http\" && (
    \n \n \n \n If the certificate is managed by Octopus, it will be automatically imported into the Windows Certificate Store.\n \n If managed externally, the certificate thumbprint is configured. The certificate must have been imported into the Windows Certificate Store.\n \n\n {!this.state.managedByOctopus && (
    \n this.setBindingState({ thumbprint: x })} label=\"SSL thumbprint\"/>\n The X.509 certificate thumbprint to use.\n
    )}\n {this.state.managedByOctopus && (
    \n {this.state.project ? ( this.setBindingState({ certificateVariable: x })}/>) : ( this.setBindingState({ certificateVariable: x })} label=\"Certificate variable\"/>)}\n \n A project variable that refers to a certificate.{\" \"}\n \n Learn more.\n \n \n
    )}\n\n this.setBindingState({ requireSni: x as any })} label=\"Required\"/>\n
    )}\n\n this.setBindingState({ enabled: x as any })} label=\"Enabled\" note={Disable this binding to skip it (the binding will not be added).}/>\n
    )}\n
    );\n }\n private setBindingState(state: Pick, callback?: () => void) {\n this.setChildState1(\"binding\", state);\n }\n static displayName = \"BindingDialog\";\n}\nexport default BindingDialog;\n","/* eslint-disable @typescript-eslint/no-explicit-any,@typescript-eslint/consistent-type-assertions */\nexport interface Binding {\n protocol: string;\n port: string;\n ipAddress: string;\n host: string;\n thumbprint: string | null;\n certificateVariable?: any;\n requireSni: string;\n enabled: string;\n}\nconst bindingsFromString = (bindingString: string) => {\n try {\n const result = parseV2Format();\n if (typeof result === \"object\") {\n return result;\n }\n return parseV1Format();\n }\n catch (ex) {\n return parseV1Format();\n }\n function parseV1Format() {\n const map = (b: string): Binding => {\n const bindingParts = b.split(\"/\");\n const bindingInfo = bindingParts[1].split(\":\");\n const enabled = bindingParts.length >= 4 ? (bindingParts[3] === \"True\" ? \"True\" : \"False\") : \"True\";\n const requireSni = bindingParts.length >= 5 ? (bindingParts[4] === \"True\" ? \"True\" : \"False\") : \"False\";\n return {\n protocol: bindingParts[0],\n enabled,\n thumbprint: bindingParts[2],\n ipAddress: bindingInfo[0],\n port: bindingInfo[1],\n host: bindingInfo[2],\n requireSni,\n };\n };\n return bindingString.split(\"|\").map(map);\n }\n function parseV2Format() {\n return JSON.parse(bindingString);\n }\n};\nconst bindingsToString = (bindings: Array>) => {\n const map = (partialBinding: Partial): Binding => {\n const b: Binding = partialBinding as Binding;\n const isHttp = b.protocol === \"http\";\n //strip http etc except inside #{...} variable declarations\n b.host = b.host\n .split(/(#{.*?})/g)\n .map((h) => {\n return /^#{.*}$/.test(h) ? h : h.replace(\"//\", \"\").replace(\"/\", \"\").replace(\"https:\", \"\").replace(\"http:\", \"\");\n })\n .join(\"\");\n return {\n protocol: b.protocol,\n ipAddress: b.ipAddress,\n port: b.port,\n host: b.host,\n thumbprint: isHttp ? null : b.thumbprint,\n certificateVariable: isHttp ? null : b.certificateVariable,\n requireSni: isHttp ? \"False\" : b.requireSni,\n enabled: b.enabled,\n };\n };\n const result = bindings.map(map);\n return JSON.stringify(result);\n};\nexport { bindingsFromString, bindingsToString };\n","/* eslint-disable @typescript-eslint/no-non-null-assertion */\n/* eslint-disable @typescript-eslint/no-explicit-any */\n/* eslint-disable @typescript-eslint/consistent-type-assertions */\nimport { ActionButton, RadioButtonGroup, RadioButton, Callout } from \"@octopusdeploy/design-system-components\";\nimport type { ActionProperties } from \"@octopusdeploy/octopus-server-client\";\nimport { clone, isEqual } from \"lodash\";\nimport * as React from \"react\";\nimport { BoundRadioButtonGroup } from \"~/primitiveComponents/form/RadioButton/BoundRadioButtonGroup\";\nimport { ValueInPropertiesOrErrorsHasChanged } from \"~/utils/ShouldUpdate/ValueInPropertiesHasChanged\";\nimport { BoundStringCheckbox } from \"../../../primitiveComponents/form/Checkbox/StringCheckbox\";\nimport Note from \"../../../primitiveComponents/form/Note/Note\";\nimport type { ActionEditProps } from \"../../Actions/pluginRegistry\";\nimport pluginRegistry from \"../../Actions/pluginRegistry\";\nimport { BaseComponent } from \"../../BaseComponent/BaseComponent\";\nimport { DisabledChip } from \"../../Chips\";\nimport DialogOpener from \"../../Dialog/DialogOpener\";\nimport ExternalLink from \"../../Navigation/ExternalLink/ExternalLink\";\nimport { RemoveItemsList } from \"../../RemoveItemsList/RemoveItemsList\";\nimport ThumbprintText from \"../../ThumbprintText\";\nimport { ExpandableFormSection, Summary } from \"../../form\";\nimport isBound from \"../../form/BoundField/isBound\";\nimport { VariableLookupText } from \"../../form/VariableLookupText\";\nimport ApplicationPool from \"./applicationPool\";\nimport BindingDialog from \"./bindingDialog\";\nimport type { Binding } from \"./bindingHelpers\";\nimport { bindingsFromString, bindingsToString } from \"./bindingHelpers\";\nimport styles from \"./style.module.less\";\nclass BindingList extends RemoveItemsList {\n}\ninterface IISWebSiteState {\n looksLikeVDir: boolean;\n looksLikeFullPath: boolean;\n isIISStep: boolean;\n iisBindings: Binding[];\n editBinding?: Binding | null;\n editBindingIndex?: number | null;\n certificateMode: {\n managedByOctopus: boolean;\n };\n}\nconst StringProperties = {\n \"Octopus.Action.IISWebSite.DeploymentType\": \"\",\n \"Octopus.Action.IISWebSite.VirtualDirectory.CreateOrUpdate\": \"\",\n \"Octopus.Action.IISWebSite.VirtualDirectory.WebSiteName\": \"\",\n \"Octopus.Action.IISWebSite.VirtualDirectory.VirtualPath\": \"\",\n \"Octopus.Action.IISWebSite.VirtualDirectory.PhysicalPath\": \"\",\n \"Octopus.Action.IISWebSite.WebApplication.CreateOrUpdate\": \"\",\n \"Octopus.Action.IISWebSite.WebApplication.WebSiteName\": \"\",\n \"Octopus.Action.IISWebSite.WebApplication.VirtualPath\": \"\",\n \"Octopus.Action.IISWebSite.WebApplication.PhysicalPath\": \"\",\n \"Octopus.Action.IISWebSite.CreateOrUpdateWebSite\": \"\",\n \"Octopus.Action.IISWebSite.StartApplicationPool\": \"\",\n \"Octopus.Action.IISWebSite.StartWebSite\": \"\",\n \"Octopus.Action.IISWebSite.Bindings\": \"\",\n \"Octopus.Action.IISWebSite.ExistingBindings\": \"\",\n \"Octopus.Action.IISWebSite.WebRootType\": \"\",\n \"Octopus.Action.IISWebSite.WebSiteName\": \"\",\n \"Octopus.Action.IISWebSite.WebRoot\": \"\",\n \"Octopus.Action.IISWebSite.EnableAnonymousAuthentication\": \"\",\n \"Octopus.Action.IISWebSite.EnableBasicAuthentication\": \"\",\n \"Octopus.Action.IISWebSite.EnableWindowsAuthentication\": \"\",\n \"Octopus.Action.IISWebSite.ApplicationPoolName\": \"\",\n \"Octopus.Action.IISWebSite.ApplicationPoolFrameworkVersion\": \"\",\n \"Octopus.Action.IISWebSite.ApplicationPoolIdentityType\": \"\",\n \"Octopus.Action.IISWebSite.ApplicationPoolUsername\": \"\",\n \"Octopus.Action.IISWebSite.ApplicationPoolPassword\": \"\",\n \"Octopus.Action.IISWebSite.WebApplication.ApplicationPoolName\": \"\",\n \"Octopus.Action.IISWebSite.WebApplication.ApplicationPoolFrameworkVersion\": \"\",\n \"Octopus.Action.IISWebSite.WebApplication.ApplicationPoolIdentityType\": \"\",\n \"Octopus.Action.IISWebSite.WebApplication.ApplicationPoolUsername\": \"\",\n \"Octopus.Action.IISWebSite.WebApplication.ApplicationPoolPassword\": \"\",\n \"Octopus.Action.WebApplication.WebRootType\": \"\",\n};\ntype IISWebSiteProperties = {\n [P in keyof typeof StringProperties]: string;\n};\nclass IISWebSiteEdit extends BaseComponent, IISWebSiteState> {\n constructor(props: ActionEditProps) {\n super(props);\n this.state = {\n looksLikeVDir: false,\n looksLikeFullPath: false,\n isIISStep: false,\n iisBindings: [],\n editBinding: null,\n editBindingIndex: null,\n certificateMode: { managedByOctopus: false },\n };\n }\n shouldComponentUpdate(newProps: ActionEditProps, newState: IISWebSiteState): boolean {\n return ValueInPropertiesOrErrorsHasChanged(StringProperties, newProps, this.props) || !isEqual(newState, this.state);\n }\n handleWebRootTypeChanged = (type: \"packageRoot\" | \"relativeToPackageRoot\", property: string, resetProperty: string) => {\n this.props.setProperties({ [property]: type });\n switch (type) {\n case \"packageRoot\": {\n this.resetPhysicalPath(resetProperty);\n }\n }\n };\n handleDeploymentTypeChanged = (type: \"webSite\" | \"virtualDirectory\" | \"webApplication\") => {\n switch (type) {\n case \"webSite\": {\n this.selectWebSite();\n break;\n }\n case \"virtualDirectory\": {\n this.selectVirtualDirectory();\n break;\n }\n case \"webApplication\": {\n this.selectWebApplication();\n break;\n }\n }\n };\n selectVirtualDirectory = () => {\n this.props.setProperties({\n [\"Octopus.Action.IISWebSite.DeploymentType\"]: \"virtualDirectory\",\n [\"Octopus.Action.IISWebSite.VirtualDirectory.CreateOrUpdate\"]: \"True\",\n [\"Octopus.Action.IISWebSite.WebApplication.CreateOrUpdate\"]: \"False\",\n [\"Octopus.Action.IISWebSite.CreateOrUpdateWebSite\"]: \"False\",\n });\n };\n selectWebSite = () => {\n this.props.setProperties({\n [\"Octopus.Action.IISWebSite.DeploymentType\"]: \"webSite\",\n [\"Octopus.Action.IISWebSite.VirtualDirectory.CreateOrUpdate\"]: \"False\",\n [\"Octopus.Action.IISWebSite.WebApplication.CreateOrUpdate\"]: \"False\",\n [\"Octopus.Action.IISWebSite.CreateOrUpdateWebSite\"]: \"True\",\n });\n };\n selectWebApplication = () => {\n this.props.setProperties({\n [\"Octopus.Action.IISWebSite.DeploymentType\"]: \"webApplication\",\n [\"Octopus.Action.IISWebSite.VirtualDirectory.CreateOrUpdate\"]: \"False\",\n [\"Octopus.Action.IISWebSite.WebApplication.CreateOrUpdate\"]: \"True\",\n [\"Octopus.Action.IISWebSite.CreateOrUpdateWebSite\"]: \"False\",\n });\n };\n checkWebSiteName = (name: string) => {\n this.setState({ looksLikeVDir: name ? name.indexOf(\"/\") !== -1 || name.indexOf(\"\\\\\") !== -1 : false });\n };\n checkWebRoot = (path: string) => {\n this.setState({ looksLikeFullPath: path ? path.indexOf(\":\") !== -1 : false });\n };\n resetPhysicalPath = (variableName: string) => {\n this.props.setProperties({ [variableName]: \"\" });\n this.setState({ looksLikeFullPath: false });\n };\n removeBinding = (b: Binding) => {\n const bindings = [...this.state.iisBindings];\n bindings.splice(this.state.iisBindings.indexOf(b), 1);\n this.props.setProperties({ [\"Octopus.Action.IISWebSite.Bindings\"]: bindingsToString(bindings) });\n };\n editBinding = (binding: Binding) => {\n this.setState({\n editBinding: clone(binding),\n editBindingIndex: this.state.iisBindings.indexOf(binding),\n });\n };\n addBinding = () => {\n const binding: Binding = {\n protocol: \"http\",\n port: \"80\",\n ipAddress: \"*\",\n host: \"\",\n thumbprint: null,\n enabled: \"True\",\n requireSni: \"False\",\n };\n this.setState({\n editBinding: binding,\n editBindingIndex: undefined,\n });\n };\n saveBinding(binding: Binding) {\n const bindings = [...this.state.iisBindings];\n if (this.state.editBindingIndex) {\n bindings[this.state!.editBindingIndex!] = binding;\n }\n else {\n bindings.push(binding);\n }\n this.props.setProperties({ [\"Octopus.Action.IISWebSite.Bindings\"]: bindingsToString(bindings) });\n this.resetSelectedBinding();\n return true;\n }\n resetSelectedBinding = () => {\n this.setState({\n editBinding: null,\n editBindingIndex: null,\n });\n };\n isPropTrue = (name: string) => {\n if ((this.props.properties as any)[name]) {\n return (this.props.properties as any)[name] === \"True\";\n }\n return true;\n };\n async componentDidMount() {\n await this.props.doBusyTask(async () => {\n if (!this.props.properties[\"Octopus.Action.IISWebSite.DeploymentType\"]) {\n this.selectWebSite();\n }\n const hasPhysicalPath = this.props.properties[\"Octopus.Action.IISWebSite.WebRoot\"] || this.props.properties[\"Octopus.Action.IISWebSite.WebApplication.PhysicalPath\"] || this.props.properties[\"Octopus.Action.IISWebSite.VirtualDirectory.PhysicalPath\"];\n if (!this.props.properties[\"Octopus.Action.IISWebSite.WebRootType\"] && hasPhysicalPath) {\n this.props.setProperties({ [\"Octopus.Action.IISWebSite.WebRootType\"]: \"relativeToPackageRoot\" });\n }\n else if (!this.props.properties[\"Octopus.Action.IISWebSite.WebRootType\"] && !hasPhysicalPath) {\n this.props.setProperties({ [\"Octopus.Action.IISWebSite.WebRootType\"]: \"packageRoot\" });\n }\n if (!this.props.properties[\"Octopus.Action.IISWebSite.StartApplicationPool\"]) {\n this.props.setProperties({ [\"Octopus.Action.IISWebSite.StartApplicationPool\"]: \"True\" });\n }\n if (!this.props.properties[\"Octopus.Action.IISWebSite.StartWebSite\"]) {\n this.props.setProperties({ [\"Octopus.Action.IISWebSite.StartWebSite\"]: \"True\" });\n }\n this.setState({\n isIISStep: this.props.plugin.actionType === \"Octopus.IIS\",\n iisBindings: !!this.props.properties[\"Octopus.Action.IISWebSite.Bindings\"] ? bindingsFromString(this.props.properties[\"Octopus.Action.IISWebSite.Bindings\"]) : [],\n });\n });\n }\n UNSAFE_componentWillReceiveProps(nextProps: ActionEditProps) {\n if (this.props.properties[\"Octopus.Action.IISWebSite.Bindings\"] !== nextProps.properties[\"Octopus.Action.IISWebSite.Bindings\"]) {\n this.setState({ iisBindings: bindingsFromString(nextProps.properties[\"Octopus.Action.IISWebSite.Bindings\"]) });\n }\n }\n deploymentTypeSummary() {\n const type = this.props.properties[\"Octopus.Action.IISWebSite.DeploymentType\"];\n if (type === \"webSite\") {\n return Summary.summary(\"IIS Web Site\");\n }\n else if (type === \"virtualDirectory\") {\n return Summary.summary(\"IIS Virtual Directory\");\n }\n else if (type === \"webApplication\") {\n return Summary.summary(\"IIS Web Application\");\n }\n return Summary.placeholder(\"Deployment type not configured\");\n }\n webSiteSummary() {\n const properties = this.props.properties;\n if (properties[\"Octopus.Action.IISWebSite.CreateOrUpdateWebSite\"] === \"False\") {\n return Summary.placeholder(\"The web site will not be created or updated\");\n }\n if (!properties[\"Octopus.Action.IISWebSite.WebSiteName\"]) {\n return Summary.placeholder(\"The web site name has not been configured\");\n }\n const nodes = [];\n nodes.push(\n Web site {properties[\"Octopus.Action.IISWebSite.WebSiteName\"]} will be created or updated\n );\n if (properties[\"Octopus.Action.IISWebSite.WebRootType\"] === \"packageRoot\") {\n nodes.push(. Content will be served from the root of the installation directory);\n }\n else {\n nodes.push(\n . Content will be served from {properties[\"Octopus.Action.IISWebSite.WebRoot\"] || \"/\"} relative to the installation directory\n );\n }\n return Summary.summary(React.Children.toArray(nodes));\n }\n authenticationSummary() {\n const modes = [];\n if (this.props.properties[\"Octopus.Action.IISWebSite.EnableAnonymousAuthentication\"] !== \"False\") {\n modes.push(\"Anonymous\");\n }\n if (this.props.properties[\"Octopus.Action.IISWebSite.EnableBasicAuthentication\"] !== \"False\") {\n modes.push(\"Basic\");\n }\n if (this.props.properties[\"Octopus.Action.IISWebSite.EnableWindowsAuthentication\"] !== \"False\") {\n modes.push(\"Windows\");\n }\n if (modes.length === 0) {\n return Summary.placeholder(\"No authentication modes are enabled\");\n }\n if (modes.length === 1) {\n return Summary.summary(\n {modes[0]} authentication mode will be enabled\n );\n }\n if (modes.length === 2) {\n return Summary.summary(\n {modes[0]} and {modes[1]} authentication modes will be enabled\n );\n }\n if (modes.length === 3) {\n return Summary.summary(\n {modes[0]}, {modes[1]} and {modes[2]} authentication modes will be enabled\n );\n }\n }\n bindingsSummary() {\n const length = this.state.iisBindings.length;\n if (length === 0) {\n return Summary.placeholder(\"No bindings have been configured\");\n }\n const first = this.state.iisBindings[0];\n const address = first.ipAddress || \"*\";\n const summary = first.protocol + \"://\" + address + \":\" + first.port;\n const nodes = [];\n nodes.push(\n The site will listen on {summary}\n );\n if (length === 2) {\n nodes.push( and one other binding);\n }\n if (length > 2) {\n nodes.push( and {length - 1} other bindings);\n }\n return Summary.summary(React.Children.toArray(nodes));\n }\n virtualDirectorySummary() {\n const properties = this.props.properties;\n if (properties[\"Octopus.Action.IISWebSite.VirtualDirectory.CreateOrUpdate\"] === \"False\") {\n return Summary.placeholder(\"The virtual directory will not be created or updated\");\n }\n if (!properties[\"Octopus.Action.IISWebSite.VirtualDirectory.WebSiteName\"]) {\n return Summary.summary(\"The parent web site name has not been configured\");\n }\n if (!properties[\"Octopus.Action.IISWebSite.VirtualDirectory.VirtualPath\"]) {\n return Summary.summary(\"The virtual path has not been configured\");\n }\n const nodes = [];\n nodes.push(\n The virtual directory will be created under parent site {properties[\"Octopus.Action.IISWebSite.VirtualDirectory.WebSiteName\"]}\n );\n nodes.push(\n {\" \"}\n at virtual path {properties[\"Octopus.Action.IISWebSite.VirtualDirectory.VirtualPath\"]}\n );\n if (properties[\"Octopus.Action.IISWebSite.WebRootType\"] === \"packageRoot\") {\n nodes.push(. Content will be served from the root of the installation directory);\n }\n else {\n nodes.push(\n . Content will be served from {properties[\"Octopus.Action.IISWebSite.VirtualDirectory.PhysicalPath\"] || \"/\"} relative to the installation directory\n );\n }\n return Summary.summary(React.Children.toArray(nodes));\n }\n webApplicationSummary() {\n const properties = this.props.properties;\n if (properties[\"Octopus.Action.IISWebSite.WebApplication.CreateOrUpdate\"] === \"False\") {\n return Summary.placeholder(\"The web application will not be created or updated\");\n }\n if (!properties[\"Octopus.Action.IISWebSite.WebApplication.WebSiteName\"]) {\n return Summary.summary(\"The parent web site name has not been configured\");\n }\n if (!properties[\"Octopus.Action.IISWebSite.WebApplication.VirtualPath\"]) {\n return Summary.summary(\"The virtual path has not been configured\");\n }\n const nodes = [];\n nodes.push(\n The web application will be created under parent site {properties[\"Octopus.Action.IISWebSite.WebApplication.WebSiteName\"]}\n );\n nodes.push(\n {\" \"}\n at virtual path {properties[\"Octopus.Action.IISWebSite.WebApplication.VirtualPath\"]}\n );\n if (properties[\"Octopus.Action.WebApplication.WebRootType\"] === \"packageRoot\") {\n nodes.push(. Content will be served from the root of the installation directory);\n }\n else {\n nodes.push(\n . Content will be served from {properties[\"Octopus.Action.IISWebSite.WebApplication.PhysicalPath\"] || \"/\"} relative to the installation directory\n );\n }\n return Summary.summary(React.Children.toArray(nodes));\n }\n render() {\n const properties = this.props.properties;\n const editBindingDialog = (\n this.saveBinding(binding)}/>\n );\n return (
    \n {editBindingDialog}\n \n \n Learn more about deploying IIS Websites and Applications.\n \n this.handleDeploymentTypeChanged(val as any)}>\n \n Create or update an IIS Web Site\n \n Create or update an IIS Virtual Directory as a child of an existing IIS Web Site\n \n Create or update an IIS Web Application as a child of an existing IIS Web Site\n \n \n\n {properties[\"Octopus.Action.IISWebSite.DeploymentType\"] === \"webSite\" && (
    \n \n {!this.state.isIISStep && (
    \n this.props.setProperties({ [\"Octopus.Action.IISWebSite.CreateOrUpdateWebSite\"]: x })} label=\"Create or update an IIS Web Site and Application Pool\" note={If enabled, Tentacle will use the PowerShell Web Administration module to attempt to create or modify an IIS Web Site and Application Pool using the settings below.}/>\n
    )}\n {\n this.props.setProperties({ [\"Octopus.Action.IISWebSite.WebSiteName\"]: x });\n this.checkWebSiteName(x);\n }} error={this.props.getFieldError(\"Octopus.Action.IISWebSite.WebSiteName\")} label=\"Web site name\"/>\n {this.state.looksLikeVDir && (\n It looks like you might be trying to configure a Virtual Directory. IIS Web Site doesn't support Virtual Directories. You might consider using either the IIS Virtual Directory or{\" \"}\n IIS Web Application deployment type for that, or check the template library for more options.\n )}\n The display name of the IIS Web Site to create or reconfigure.\n this.handleWebRootTypeChanged(val as any, \"Octopus.Action.IISWebSite.WebRootType\", \"Octopus.Action.IISWebSite.WebRoot\")}>\n \n \n {\" \"}\n Configure this IIS Web Site to serve content from the folder that Octopus extracted the package to, or the Custom Installation Directory if specified.\n \n \n {properties[\"Octopus.Action.IISWebSite.WebRootType\"] === \"relativeToPackageRoot\" && ( {\n this.props.setProperties({ [\"Octopus.Action.IISWebSite.WebRoot\"]: x });\n this.checkWebRoot(x);\n }} error={this.props.getFieldError(\"Octopus.Action.IISWebSite.WebRoot\")} label=\"Package installation directory\"/>)}\n {this.state.looksLikeFullPath && (\n It looks like you might be trying to configure the Physical Path as an absolute path. This will only work if the{\" \"}\n Custom Installation Directory feature is enabled or if you are serving content that is not part of your package.\n )}\n \n Configure this IIS Web Site to serve content from a path that is relative to the folder that Octopus extracted the package to, or the{\" \"}\n Custom Installation Directory if specified.\n \n \n this.props.setProperties({ [\"Octopus.Action.IISWebSite.StartWebSite\"]: x })} label=\"Start IIS Web Site\"/>\n Whether the deployment step should start the IIS Web Site after a successful deployment or not.\n
    \n\n \n\n \n this.addBinding()}/>]} data={this.state.iisBindings} onRow={(binding) => (
    \n {binding.protocol && (

    \n Protocol: {binding.protocol}\n

    )}\n {binding.port && (

    \n Port: {binding.port}\n

    )}\n {binding.ipAddress && (

    \n IP Address: {binding.ipAddress}\n

    )}\n {binding.host && (

    \n Host: {binding.host}\n

    )}\n {binding.thumbprint && (

    \n SSL certificate thumbprint: \n

    )}\n {binding.certificateVariableName && (

    \n SSL certificate variable: {binding.certificateVariableName}\n

    )}\n {binding.protocol && binding.protocol.toLowerCase() !== \"http\" && binding.requireSni && (

    \n Require Server Name Indication (SNI): {binding.requireSni}\n

    )}\n {binding.enabled === \"True\" || binding.enabled === true ? null : binding.enabled === \"False\" ? () : (

    \n Enabled: {binding.enabled}\n

    )}\n
    )} onRowTouch={(binding) => this.editBinding(binding)} onRemoveRow={(binding) => this.removeBinding(binding)}/>\n this.props.setProperties({ [\"Octopus.Action.IISWebSite.ExistingBindings\"]: val })}>\n \n Remove existing bindings on the IIS Web Site and replace them with the bindings above.\n \n Combine the existing bindings on the IIS Web Site with the bindings above.\n \n
    \n\n \n this.props.setProperties({ [\"Octopus.Action.IISWebSite.EnableAnonymousAuthentication\"]: x })} label=\"Enable Anonymous authentication\" note={Whether IIS should allow anonymous authentication.}/>\n this.props.setProperties({ [\"Octopus.Action.IISWebSite.EnableBasicAuthentication\"]: x })} label=\"Enable Basic authentication\" note={Whether IIS should allow basic authentication with a 401 challenge.}/>\n this.props.setProperties({ [\"Octopus.Action.IISWebSite.EnableWindowsAuthentication\"]: x })} label=\"Enable Windows authentication\" note={Whether IIS should allow integrated Windows authentication with a 401 challenge.}/>\n \n
    )}\n\n {properties[\"Octopus.Action.IISWebSite.DeploymentType\"] === \"virtualDirectory\" && (
    \n \n {!this.state.isIISStep && (
    \n this.props.setProperties({ [\"Octopus.Action.IISWebSite.VirtualDirectory.CreateOrUpdate\"]: x })} label=\"Create or update an IIS Virtual Directory\" note={If enabled, Tentacle will use the PowerShell Web Administration module to attempt to create or modify an IIS Virtual Directory and Application Pool using the settings below.}/>\n
    )}\n {\n this.props.setProperties({ [\"Octopus.Action.IISWebSite.VirtualDirectory.WebSiteName\"]: x });\n this.checkWebSiteName(x);\n }} error={this.props.getFieldError(\"Octopus.Action.IISWebSite.VirtualDirectory.WebSiteName\")} label=\"Parent web site name\"/>\n {this.state.looksLikeVDir && (\n It looks like you might be trying to enter a Virtual Directory. Enter the parent web site name in this field, and the virtual path details below.\n )}\n The name of the parent Web Site for this Virtual Directory in IIS. The Web Site should already exist when this step runs.\n {\n this.props.setProperties({ [\"Octopus.Action.IISWebSite.VirtualDirectory.VirtualPath\"]: x });\n }} error={this.props.getFieldError(\"Octopus.Action.IISWebSite.VirtualDirectory.VirtualPath\")} label=\"Virtual path\"/>\n \n The virtual path in IIS relative to the parent Web Site. E.g. /application1/directory2/mydirectory.\n
    \n Note: All parent directories/applications must already exist.\n
    \n this.handleWebRootTypeChanged(val as any, \"Octopus.Action.IISWebSite.WebRootType\", \"Octopus.Action.IISWebSite.VirtualDirectory.PhysicalPath\")}>\n \n \n {\" \"}\n Configure this IIS Web Site to serve content from the folder that Octopus extracted the package to, or the Custom Installation Directory if specified.\n \n \n {properties[\"Octopus.Action.IISWebSite.WebRootType\"] === \"relativeToPackageRoot\" && ( {\n this.props.setProperties({ [\"Octopus.Action.IISWebSite.VirtualDirectory.PhysicalPath\"]: x });\n this.checkWebRoot(x);\n }} error={this.props.getFieldError(\"Octopus.Action.IISWebSite.VirtualDirectory.PhysicalPath\")} label=\"Package installation directory\"/>)}\n {this.state.looksLikeFullPath && (\n It looks like you might be trying to configure the Physical Path as an absolute path. This will only work if the{\" \"}\n Custom Installation Directory feature is enabled or if you are serving content that is not part of your package.\n )}\n \n Configure this Virtual Directory to serve content from a path that is relative to the folder that Octopus extracted the package to, or the{\" \"}\n Custom Installation Directory if specified.\n \n \n
    \n
    )}\n\n {properties[\"Octopus.Action.IISWebSite.DeploymentType\"] === \"webApplication\" && (
    \n \n {!this.state.isIISStep && (
    \n this.props.setProperties({ [\"Octopus.Action.IISWebSite.WebApplication.CreateOrUpdate\"]: x })} label=\"Create or update an IIS Web Application\" note={If enabled, Tentacle will use the PowerShell Web Administration module to attempt to create or modify an IIS Web Application and Application Pool using the settings below.}/>\n
    )}\n {\n this.props.setProperties({ [\"Octopus.Action.IISWebSite.WebApplication.WebSiteName\"]: x });\n this.checkWebSiteName(x);\n }} error={this.props.getFieldError(\"Octopus.Action.IISWebSite.WebApplication.WebSiteName\")} label=\"Parent web site name\"/>\n {this.state.looksLikeVDir && (\n It looks like you might be trying to enter a Virtual Directory. Enter the parent web site name in this field, and the virtual path details below.\n )}\n The name of the parent Web Site for this Web Application in IIS. The Web Site should already exist when this step runs.\n {\n this.props.setProperties({ [\"Octopus.Action.IISWebSite.WebApplication.VirtualPath\"]: x });\n }} error={this.props.getFieldError(\"Octopus.Action.IISWebSite.WebApplication.VirtualPath\")} label=\"Virtual path\"/>\n \n The virtual path in IIS relative to the parent Web Site. E.g. /myapplication.\n
    \n Note: All parent directories/applications must already exist.\n
    \n this.handleWebRootTypeChanged(val as any, \"Octopus.Action.WebApplication.WebRootType\", \"Octopus.Action.IISWebSite.WebApplication.PhysicalPath\")}>\n \n \n {\" \"}\n Configure this IIS Web Application to serve content from the folder that Octopus extracted the package to, or the Custom Installation Directory if\n specified.\n \n \n {properties[\"Octopus.Action.WebApplication.WebRootType\"] === \"relativeToPackageRoot\" && ( {\n this.props.setProperties({ [\"Octopus.Action.IISWebSite.WebApplication.PhysicalPath\"]: x });\n this.checkWebRoot(x);\n }} error={this.props.getFieldError(\"Octopus.Action.IISWebSite.WebApplication.PhysicalPath\")} label=\"Package installation directory\"/>)}\n {this.state.looksLikeFullPath && (\n It looks like you might be trying to configure the Physical Path as an absolute path. This will only work if the{\" \"}\n Custom Installation Directory feature is enabled or if you are serving content that is not part of your package.\n )}\n \n Configure this Web Application to serve content from a path that is relative to the folder that Octopus extracted the package to, or the{\" \"}\n Custom Installation Directory if specified.\n \n \n
    \n\n \n
    )}\n
    );\n }\n static displayName = \"IISWebSiteEdit\";\n}\npluginRegistry.registerFeature({\n featureName: \"Octopus.Features.IISWebSite\",\n title: \"IIS Web Site and Application Pool\",\n description: \"Creates or reconfigures an IIS website and application pool (requires IIS7+)\",\n edit: IISWebSiteEdit,\n priority: 8,\n enable: (properties: ActionProperties) => {\n properties[\"Octopus.Action.IISWebSite.DeploymentType\"] = \"webSite\";\n properties[\"Octopus.Action.IISWebSite.CreateOrUpdateWebSite\"] = \"True\";\n properties[\"Octopus.Action.IISWebSite.Bindings\"] = bindingsToString([{ protocol: \"http\", port: \"80\", host: \"\", enabled: \"True\" }]);\n setupApplicationPoolDefaults(properties, \"Octopus.Action.IISWebSite\");\n properties[\"Octopus.Action.IISWebSite.EnableAnonymousAuthentication\"] = \"False\";\n properties[\"Octopus.Action.IISWebSite.EnableBasicAuthentication\"] = \"False\";\n properties[\"Octopus.Action.IISWebSite.EnableWindowsAuthentication\"] = \"True\";\n setupApplicationPoolDefaults(properties, \"Octopus.Action.IISWebSite.WebApplication\");\n function setupApplicationPoolDefaults(p: any, pathToRootProperty: string) {\n p[pathToRootProperty + \".ApplicationPoolFrameworkVersion\"] = \"v4.0\";\n p[pathToRootProperty + \".ApplicationPoolIdentityType\"] = \"ApplicationPoolIdentity\";\n }\n },\n preSave: (properties: ActionProperties) => {\n normalizeApplicationPoolData(properties, \"Octopus.Action.IISWebSite\");\n normalizeApplicationPoolData(properties, \"Octopus.Action.IISWebSite.WebApplication\");\n function normalizeApplicationPoolData(p: any, pathToRootProperty: string) {\n if (p[pathToRootProperty + \".ApplicationPoolIdentityType\"] !== \"SpecificUser\" && !isBound(p[pathToRootProperty + \".ApplicationPoolIdentityType\"])) {\n p[pathToRootProperty + \".ApplicationPoolUsername\"] = null;\n p[pathToRootProperty + \".ApplicationPoolPassword\"] = null;\n }\n }\n },\n disable: (properties: ActionProperties) => {\n Object.keys(properties)\n .filter((name) => {\n return name.indexOf(\"Octopus.Action.IISWebSite.\") === 0;\n })\n .forEach((name) => {\n delete properties[name];\n });\n },\n});\n","/* eslint-disable @typescript-eslint/no-explicit-any */\nimport { Callout } from \"@octopusdeploy/design-system-components\";\nimport type { ActionProperties } from \"@octopusdeploy/octopus-server-client\";\nimport * as React from \"react\";\nimport { ValueInPropertiesOrErrorsHasChanged } from \"~/utils/ShouldUpdate/ValueInPropertiesHasChanged\";\nimport { BoundStringCheckbox } from \"../../../primitiveComponents/form/Checkbox/StringCheckbox\";\nimport Note from \"../../../primitiveComponents/form/Note/Note\";\nimport type { ActionEditProps } from \"../../Actions/pluginRegistry\";\nimport pluginRegistry from \"../../Actions/pluginRegistry\";\nimport { BaseComponent } from \"../../BaseComponent/BaseComponent\";\nimport ExternalLink from \"../../Navigation/ExternalLink/ExternalLink\";\nimport { ExpandableFormSection, Summary } from \"../../form\";\nimport { VariableLookupText } from \"../../form/VariableLookupText\";\nconst StringProperties = {\n \"Octopus.Action.RedGateDatabase.Enabled\": \"\",\n \"Octopus.Action.RedGateDatabase.DatabaseName\": \"\",\n \"Octopus.Action.RedGateDatabase.ConnectionStrings\": \"\",\n \"Octopus.Action.RedGateDatabase.PostDeployValidationEnabled\": \"\",\n \"Octopus.Action.RedGateDatabase.SqlCiPath\": \"\",\n \"Octopus.Action.RedGateDatabase.SqlComparePath\": \"\",\n \"Octopus.Action.RedGateDatabase.CompareOptions\": \"\",\n};\ntype RedgateDatabaseProperties = {\n [P in keyof typeof StringProperties]: string;\n};\nclass RedgateDatabaseEdit extends BaseComponent, never> {\n shouldComponentUpdate(nextProps: ActionEditProps) {\n return ValueInPropertiesOrErrorsHasChanged(StringProperties, nextProps, this.props);\n }\n summary() {\n if (this.props.properties[\"Octopus.Action.RedGateDatabase.Enabled\"] !== \"False\") {\n return Summary.summary(\"Database package deployment is enabled\");\n }\n else {\n return Summary.placeholder(\"Database package deployment is not enabled\");\n }\n }\n render() {\n const properties = this.props.properties;\n return (\n \n SQL Release has been replaced by DLM Automation. Don't worry: You can continue to use this feature until you decide to start using DLM Automation. For more information refer to our{\" \"}\n documentation.\n \n this.props.setProperties({ [\"Octopus.Action.RedGateDatabase.Enabled\"]: x })} label=\"Enable Red Gate database package deployment\"/>\n this.props.setProperties({ [\"Octopus.Action.RedGateDatabase.DatabaseName\"]: x })} error={this.props.getFieldError(\"Octopus.Action.RedGateDatabase.DatabaseName\")} label=\"Database name\"/>\n The name of the SQL database to deploy.\n this.props.setProperties({ [\"Octopus.Action.RedGateDatabase.ConnectionStrings\"]: x })} multiline={true} error={this.props.getFieldError(\"Octopus.Action.RedGateDatabase.ConnectionStrings\")} label=\"SQL Servers\"/>\n \n A list of SQL Server connection strings for the databases to deploy to. Each connection string should be on a new line.\n
    \n You can use variables to define different connection strings for each environment, and then reference them:\n
    {`#{MyConnectionString}`}
    \n
    \n this.props.setProperties({ [\"Octopus.Action.RedGateDatabase.PostDeployValidationEnabled\"]: x })} label=\"Validate that no other changes to the database have been made outside this deployment\"/>\n Check that the deployment was successful, and that no changes were made outside of Octopus during the deployment. If validation fails, it stops the deployment after the database upgrade.\n this.props.setProperties({ [\"Octopus.Action.RedGateDatabase.SqlCiPath\"]: x })} error={this.props.getFieldError(\"Octopus.Action.RedGateDatabase.SqlCiPath\")} label=\"SQLCI.exe path\"/>\n The path to Red Gate's SQLCI.exe.\n this.props.setProperties({ [\"Octopus.Action.RedGateDatabase.SqlComparePath\"]: x })} error={this.props.getFieldError(\"Octopus.Action.RedGateDatabase.SqlComparePath\")} label=\"SQLCompare.exe path\"/>\n The path to the Red Gate's SQLCompare.exe.\n this.props.setProperties({ [\"Octopus.Action.RedGateDatabase.CompareOptions\"]: x })} error={this.props.getFieldError(\"Octopus.Action.RedGateDatabase.CompareOptions\")} label=\"Comparison options\"/>\n The options to pass to the SQL Compare engine. To use multiple options, separate each option with commas or semicolons.\n
    );\n }\n static displayName = \"RedgateDatabaseEdit\";\n}\npluginRegistry.registerFeature({\n featureName: \"Octopus.Features.RedGateDatabase\",\n title: \"Red Gate Database Deployment\",\n description: \"Deploy a database using SQLCI.exe from Red Gate\",\n edit: RedgateDatabaseEdit,\n priority: 100,\n enable: (properties: ActionProperties) => {\n properties[\"Octopus.Action.RedGateDatabase.Enabled\"] = \"True\";\n properties[\"Octopus.Action.RedGateDatabase.CompareOptions\"] = \"IgnoreUsers,IgnoreCertificatesAndCryptoKeys,ForceColumnOrder,ThrowOnFileParseFailed\";\n properties[\"Octopus.Action.RedGateDatabase.PostDeployValidationEnabled\"] = \"True\";\n properties[\"Octopus.Action.RedGateDatabase.SqlCiPath\"] = \"C:\\\\Program Files (x86)\\\\Red Gate\\\\SQL Automation Pack 1\\\\sqlCI\\\\sqlCI.exe\";\n properties[\"Octopus.Action.RedGateDatabase.SqlComparePath\"] = \"C:\\\\Program Files (x86)\\\\Red Gate\\\\SQL Automation Pack 1\\\\sqlCI\\\\SC\\\\SQLCompare.exe\";\n },\n disable: (properties: ActionProperties) => {\n Object.keys(properties)\n .filter((name) => {\n return name.indexOf(\"Octopus.Action.RedGateDatabase.\") === 0;\n })\n .forEach((name) => {\n delete properties[name];\n });\n },\n validate: (properties: ActionProperties, errors: any) => {\n if (!properties[\"Octopus.Action.RedGateDatabase.SqlCiPath\"]) {\n errors[\"Octopus.Action.RedGateDatabase.SqlCiPath\"] = \"Please specify a path to SQLCI.exe.\";\n }\n if (!properties[\"Octopus.Action.RedGateDatabase.SqlComparePath\"]) {\n errors[\"Octopus.Action.RedGateDatabase.SqlComparePath\"] = \"Please specify a path to SQLCompare.exe.\";\n }\n if (!properties[\"Octopus.Action.RedGateDatabase.ConnectionStrings\"]) {\n errors[\"Octopus.Action.RedGateDatabase.ConnectionStrings\"] = \"Please specify the connection strings to the databases that you wish to deploy.\";\n }\n },\n});\n","/* eslint-disable @typescript-eslint/no-explicit-any */\nimport type { ActionProperties } from \"@octopusdeploy/octopus-server-client\";\nimport * as React from \"react\";\nimport { ValueInPropertiesOrErrorsHasChanged } from \"~/utils/ShouldUpdate/ValueInPropertiesHasChanged\";\nimport { BoundStringCheckbox } from \"../../../primitiveComponents/form/Checkbox/StringCheckbox\";\nimport Note from \"../../../primitiveComponents/form/Note/Note\";\nimport type { ActionEditProps } from \"../../Actions/pluginRegistry\";\nimport pluginRegistry from \"../../Actions/pluginRegistry\";\nimport { BaseComponent } from \"../../BaseComponent/BaseComponent\";\nimport { ExpandableFormSection, Summary } from \"../../form\";\nimport { VariableLookupText } from \"../../form/VariableLookupText\";\nconst StringProperties = {\n \"Octopus.Action.Vhd.ApplicationPath\": \"\",\n \"Octopus.Action.Vhd.DeployVhdToVm\": \"\",\n \"Octopus.Action.Vhd.VmName\": \"\",\n};\ntype VhdProperties = {\n [P in keyof typeof StringProperties]: string;\n};\nclass VhdEdit extends BaseComponent, never> {\n shouldComponentUpdate(nextProps: ActionEditProps) {\n return ValueInPropertiesOrErrorsHasChanged(StringProperties, nextProps, this.props);\n }\n summary() {\n const properties = this.props.properties;\n const nodes = [];\n if (properties[\"Octopus.Action.Vhd.ApplicationPath\"]) {\n nodes.push(\n The application path is {properties[\"Octopus.Action.Vhd.ApplicationPath\"]}.\n );\n }\n else {\n return Summary.placeholder(\"No application path has been set\");\n }\n if (properties[\"Octopus.Action.Vhd.DeployVhdToVm\"] !== \"False\") {\n if (properties[\"Octopus.Action.Vhd.VmName\"]) {\n nodes.push(\n {\" \"}\n The VHD will be attached to Hyper-V VM {properties[\"Octopus.Action.Vhd.VmName\"]}\n );\n }\n else {\n nodes.push( The VHD will be attached to a Hyper-V VM, but no VM has been set);\n }\n }\n return Summary.summary(React.Children.toArray(nodes));\n }\n render() {\n const properties = this.props.properties;\n return (\n this.props.setProperties({ [\"Octopus.Action.Vhd.ApplicationPath\"]: x })} error={this.props.getFieldError(\"Octopus.Action.Vhd.ApplicationPath\")} label=\"VHD application path\"/>\n \n The folder within the VHD that contains your application. For example PublishedApps\\MyApplication. Octopus will look in this folder when performing substitutions and transforms.\n \n this.props.setProperties({ [\"Octopus.Action.Vhd.DeployVhdToVm\"]: x })} label=\"Add VHD to Hyper-V\"/>\n Attach the VHD to a Hyper-V Virtual Machine.\n this.props.setProperties({ [\"Octopus.Action.Vhd.VmName\"]: x })} error={this.props.getFieldError(\"Octopus.Action.Vhd.VmName\")} label=\"Virtual machine name\"/>\n The name of the Hyper-V Virtual Machine to update. The VM will be shut down, the VHD will be added, replacing the current first vitual drive if there is one, then the VHD will be restarted.\n );\n }\n static displayName = \"VhdEdit\";\n}\npluginRegistry.registerFeature({\n featureName: \"Octopus.Features.Vhd\",\n title: \"Vhd\",\n description: \"Allows other features to be performed on the contents of a VHD before optionally attaching it to a Virtual Machine\",\n edit: VhdEdit,\n priority: 30,\n validate: (properties: ActionProperties, errors: any) => {\n if (properties[\"Octopus.Action.Vhd.DeployVhdToVm\"] && !properties[\"Octopus.Action.Vhd.VmName\"]) {\n errors[\"Octopus.Action.Vhd.VmName\"] = \"Please enter a name for the Virtual Machine.\";\n }\n if (!properties[\"Octopus.Action.Vhd.ApplicationPath\"]) {\n errors[\"Octopus.Action.Vhd.ApplicationPath\"] = \"Please enter an application path for this VHD.\";\n }\n },\n});\n","/* eslint-disable @typescript-eslint/no-explicit-any */\n/* eslint-disable @typescript-eslint/consistent-type-assertions */\nimport type { ActionProperties, SensitiveValue } from \"@octopusdeploy/octopus-server-client\";\nimport * as React from \"react\";\nimport { ValueInPropertiesOrErrorsHasChanged } from \"~/utils/ShouldUpdate/ValueInPropertiesHasChanged\";\nimport { BoundStringCheckbox } from \"../../../primitiveComponents/form/Checkbox/StringCheckbox\";\nimport Note from \"../../../primitiveComponents/form/Note/Note\";\nimport { BoundSelect } from \"../../../primitiveComponents/form/Select/Select\";\nimport type { ActionEditProps } from \"../../Actions/pluginRegistry\";\nimport pluginRegistry from \"../../Actions/pluginRegistry\";\nimport { BaseComponent } from \"../../BaseComponent/BaseComponent\";\nimport { ExpandableFormSection, Summary } from \"../../form\";\nimport isBound from \"../../form/BoundField/isBound\";\nimport { BoundSensitive } from \"../../form/Sensitive/Sensitive\";\nimport getSensitiveResetValue from \"../../form/Sensitive/getSensitiveResetValue\";\nimport { VariableLookupText } from \"../../form/VariableLookupText\";\nconst StringProperties = {\n \"Octopus.Action.WindowsService.CreateOrUpdateService\": \"\",\n \"Octopus.Action.WindowsService.ServiceName\": \"\",\n \"Octopus.Action.WindowsService.DisplayName\": \"\",\n \"Octopus.Action.WindowsService.Description\": \"\",\n \"Octopus.Action.WindowsService.ExecutablePath\": \"\",\n \"Octopus.Action.WindowsService.Arguments\": \"\",\n \"Octopus.Action.WindowsService.ServiceAccount\": \"\",\n \"Octopus.Action.WindowsService.CustomAccountName\": \"\",\n \"Octopus.Action.WindowsService.StartMode\": \"\",\n \"Octopus.Action.WindowsService.Dependencies\": \"\",\n \"Octopus.Action.WindowsService.DesiredStatus\": \"\",\n};\nconst SensitiveProperties = {\n \"Octopus.Action.WindowsService.CustomAccountPassword\": \"\",\n};\nconst AllProperties = {\n ...StringProperties,\n ...SensitiveProperties,\n};\ntype WindowsServiceEditProperties = {\n [P in keyof typeof StringProperties]: string;\n} & {\n [P in keyof typeof SensitiveProperties]: SensitiveValue;\n};\nclass WindowsServiceEdit extends BaseComponent, never> {\n serviceAccounts = [\n { text: \"Local System\", value: \"LocalSystem\" },\n { text: \"Network Service\", value: \"NT Authority\\\\NetworkService\" },\n { text: \"Local Service\", value: \"NT Authority\\\\LocalService\" },\n { text: \"Custom user...\", value: \"_CUSTOM\" },\n ];\n startModes = [\n { text: \"Automatic\", value: \"auto\" },\n { text: \"Automatic (delayed)\", value: \"delayed-auto\" },\n { text: \"Manual\", value: \"demand\" },\n { text: \"Disabled\", value: \"disabled\" },\n { text: \"Unchanged\", value: \"unchanged\" },\n ];\n desiredStatuses = [\n { text: \"Started\", value: \"Started\" },\n { text: \"Stopped\", value: \"Stopped\" },\n { text: \"Unchanged\", value: \"Unchanged\" },\n { text: \"Default (based on start mode)\", value: \"Default\" },\n ];\n shouldComponentUpdate(newProps: ActionEditProps): boolean {\n return ValueInPropertiesOrErrorsHasChanged(AllProperties, newProps, this.props);\n }\n serviceSummary() {\n const properties = this.props.properties;\n if (properties[\"Octopus.Action.WindowsService.CreateOrUpdateService\"] === \"False\") {\n return Summary.placeholder(\"No windows service will be installed\");\n }\n if (properties[\"Octopus.Action.WindowsService.ServiceName\"]) {\n return Summary.summary(\n Windows service {properties[\"Octopus.Action.WindowsService.ServiceName\"]} will be installed\n );\n }\n return Summary.summary(\"A windows service will be installed but a Service Name has not been configured\");\n }\n executableSummary() {\n const properties = this.props.properties;\n if (properties[\"Octopus.Action.WindowsService.ExecutablePath\"]) {\n return Summary.summary(\n The executable is {properties[\"Octopus.Action.WindowsService.ExecutablePath\"]}\n );\n }\n else {\n return Summary.placeholder(\"No executable has been configured for the windows service\");\n }\n }\n startupSummary() {\n const properties = this.props.properties;\n const user = this.serviceAccounts.find((p) => p.value === properties[\"Octopus.Action.WindowsService.ServiceAccount\"]);\n const nodes = [];\n if (user && user.value === \"_CUSTOM\") {\n if (properties[\"Octopus.Action.WindowsService.CustomAccountName\"]) {\n nodes.push(\n The service will run as {properties[\"Octopus.Action.WindowsService.CustomAccountName\"]}\n );\n }\n else {\n nodes.push(\n The service will run as Custom User Account\n );\n }\n }\n else if (isBound(properties[\"Octopus.Action.WindowsService.ServiceAccount\"])) {\n nodes.push(\"The service user account is set by a bound variable\");\n }\n else if (user !== undefined) {\n nodes.push(\n The service will run as {user.text}\n );\n }\n const startMode = this.startModes.find((p) => p.value === properties[\"Octopus.Action.WindowsService.StartMode\"]);\n if (isBound(properties[\"Octopus.Action.WindowsService.StartMode\"])) {\n nodes.push(\", the start mode is set by a bound variable\");\n }\n else if (startMode !== undefined) {\n nodes.push(\n , the start mode is {startMode.text}\n );\n }\n if (properties[\"Octopus.Action.WindowsService.StartMode\"] !== \"disabled\" && properties[\"Octopus.Action.WindowsService.DesiredStatus\"]) {\n const desiredStatus = this.desiredStatuses.find((p) => p.value === properties[\"Octopus.Action.WindowsService.DesiredStatus\"]);\n if (isBound(properties[\"Octopus.Action.WindowsService.DesiredStatus\"])) {\n nodes.push(\", the state is set by a bound variable\");\n }\n else if (desiredStatus !== undefined) {\n nodes.push(\n , the state is {desiredStatus.text}\n );\n }\n }\n return Summary.summary(React.Children.toArray(nodes));\n }\n render() {\n const properties = this.props.properties;\n return (
    \n \n {this.props.plugin.actionType !== \"Octopus.WindowsService\" && (
    \n this.props.setProperties({ [\"Octopus.Action.WindowsService.CreateOrUpdateService\"]: x })} label=\"Install a Windows Service\"/>\n \n If enabled, Tentacle will use sc.exe to attempt to create a Windows Service using the settings below. If the service already exists, Tentacle will stop the service, reconfigure it, and start it again.\n \n
    )}\n\n this.props.setProperties({ [\"Octopus.Action.WindowsService.ServiceName\"]: x })} label=\"Service name\" error={this.props.getFieldError(\"Octopus.Action.WindowsService.ServiceName\")}/>\n The name of the Windows Service to create or configure.\n this.props.setProperties({ [\"Octopus.Action.WindowsService.DisplayName\"]: x })} error={this.props.getFieldError(\"Octopus.Action.WindowsService.DisplayName\")} label=\"Display name\"/>\n Optional display name of the Windows Service.\n this.props.setProperties({ [\"Octopus.Action.WindowsService.Description\"]: x })} error={this.props.getFieldError(\"Octopus.Action.WindowsService.Description\")} label=\"Description\"/>\n User-friendly description of the service.\n
    \n \n this.props.setProperties({ [\"Octopus.Action.WindowsService.ExecutablePath\"]: x })} label=\"Executable path\" error={this.props.getFieldError(\"Octopus.Action.WindowsService.ExecutablePath\")}/>\n \n Path to the executable file for the service. The path should be relative to the package installation directory{\";\"} for example:\n
      \n
    • \n MyService.exe\n
    • \n
    • \n bin\\MyService.exe\n
    • \n
    \n
    \n this.props.setProperties({ [\"Octopus.Action.WindowsService.Arguments\"]: x })} error={this.props.getFieldError(\"Octopus.Action.WindowsService.Arguments\")} multiline={true} label=\"Arguments\"/>\n Command line arguments that will be passed to the service when it starts each time.\n
    \n \n this.props.setProperties({ [\"Octopus.Action.WindowsService.ServiceAccount\"]: x })} items={this.serviceAccounts} error={this.props.getFieldError(\"Octopus.Action.WindowsService.ServiceAccount\")} placeholder=\"Service account\" label=\"Service account\"/>\n Which built-in account will the service run under.\n\n {(properties[\"Octopus.Action.WindowsService.ServiceAccount\"] === \"_CUSTOM\" || isBound(properties[\"Octopus.Action.WindowsService.ServiceAccount\"])) && (
    \n this.props.setProperties({ [\"Octopus.Action.WindowsService.CustomAccountName\"]: x })} label=\"Custom account name\"/>\n \n The Windows/domain account of the custom user that the service will run under. Example: YOURDOMAIN\\YourAccount. You will need to ensure that this user has the 'Log on as a service' right.\n \n this.props.setProperties({ [\"Octopus.Action.WindowsService.CustomAccountPassword\"]: x as any })} label=\"Custom account password\"/>\n The password for the custom account given above.\n
    )}\n\n this.props.setProperties({ [\"Octopus.Action.WindowsService.StartMode\"]: x })} items={this.startModes} error={this.props.getFieldError(\"Octopus.Action.WindowsService.StartMode\")} placeholder=\"Start mode\" label=\"Start mode\"/>\n \n When will the service start? Use Unchanged to use the current status.\n \n\n {properties[\"Octopus.Action.WindowsService.StartMode\"] !== \"disabled\" && (
    \n this.props.setProperties({ [\"Octopus.Action.WindowsService.DesiredStatus\"]: x })} items={this.desiredStatuses} error={this.props.getFieldError(\"Octopus.Action.WindowsService.DesiredStatus\")} placeholder=\"State\" label=\"State\"/>\n Defines the state of the service after it has been deployed.\n \n
      \n
    • \n The Started option will start the service.\n
    • \n
    • \n The Stopped option will leave the service stopped.\n
    • \n
    • \n The Unchanged option will start the service if it already exists, and if it was running or starting. Otherwise it will leave the service stopped.\n
    • \n
    • \n The Default option will start the service if the start mode is Automatic or Automatic (delayed). Otherwise it will leave the service stopped.\n
    • \n
    \n
    \n
    )}\n\n this.props.setProperties({ [\"Octopus.Action.WindowsService.Dependencies\"]: x })} error={this.props.getFieldError(\"Octopus.Action.WindowsService.Dependencies\")} label=\"Dependencies\"/>\n \n Any dependencies that the service has. Separate the names using forward slashes (/). For example: LanmanWorkstation/TCPIP/MSSQL.\n \n
    \n
    );\n }\n static displayName = \"WindowsServiceEdit\";\n}\npluginRegistry.registerFeature({\n featureName: \"Octopus.Features.WindowsService\",\n title: \"Windows Service\",\n description: \"Creates or reconfigures a Windows Service using _sc.exe_\",\n edit: WindowsServiceEdit,\n priority: 8,\n enable: (properties: ActionProperties) => {\n properties[\"Octopus.Action.WindowsService.CreateOrUpdateService\"] = \"True\";\n properties[\"Octopus.Action.WindowsService.ServiceAccount\"] = \"LocalSystem\";\n properties[\"Octopus.Action.WindowsService.StartMode\"] = \"auto\";\n properties[\"Octopus.Action.WindowsService.DesiredStatus\"] = \"Default\";\n },\n preSave: (properties: ActionProperties) => {\n if (properties[\"Octopus.Action.WindowsService.ServiceAccount\"] !== \"_CUSTOM\" && !isBound(properties[\"Octopus.Action.WindowsService.ServiceAccount\"])) {\n properties[\"Octopus.Action.WindowsService.CustomAccountName\"] = null;\n properties[\"Octopus.Action.WindowsService.CustomAccountPassword\"] = null;\n }\n },\n validate: (properties: ActionProperties, errors: any) => {\n if (!properties[\"Octopus.Action.WindowsService.ServiceName\"]) {\n errors[\"Octopus.Action.WindowsService.ServiceName\"] = \"Please enter a service name for the Windows Service.\";\n }\n if (!properties[\"Octopus.Action.WindowsService.ExecutablePath\"]) {\n errors[\"Octopus.Action.WindowsService.ExecutablePath\"] = \"Please enter an executable path for this Windows Service.\";\n }\n },\n disable: (properties: ActionProperties) => {\n Object.keys(properties)\n .filter((name) => {\n return name.indexOf(\"Octopus.Action.WindowsService.\") === 0;\n })\n .forEach((name) => {\n delete properties[name];\n });\n },\n});\n","import type { KubernetesIngressProperties } from \"@octopusdeploy/legacy-action-properties\";\nimport * as React from \"react\";\nimport { KubernetesIngressComponent } from \"~/components/Actions/kubernetes/kubernetesIngressComponent\";\nimport type { ActionEditProps } from \"../../Actions/pluginRegistry\";\nimport pluginRegistry from \"../../Actions/pluginRegistry\";\nimport { BaseComponent } from \"../../BaseComponent/BaseComponent\";\nclass KubernetesIngressEditFeature extends BaseComponent, never> {\n render() {\n return ();\n }\n static displayName = \"KubernetesIngressEditFeature\";\n}\npluginRegistry.registerFeature({\n featureName: \"Octopus.Features.KubernetesIngress\",\n title: \"Ingress\",\n description: \"Defines a Kubernetes Ingress resource, which is used to map HTTP traffic to Service resources based on host name and URL path\",\n edit: KubernetesIngressEditFeature,\n priority: 10,\n});\n","import type { KubernetesServiceProperties } from \"@octopusdeploy/legacy-action-properties\";\nimport * as React from \"react\";\nimport { KubernetesServiceComponent } from \"~/components/Actions/kubernetes/kubernetesServiceComponent\";\nimport type { ActionEditProps } from \"~/components/Actions/pluginRegistry\";\nimport pluginRegistry from \"~/components/Actions/pluginRegistry\";\nimport { BaseComponent } from \"~/components/BaseComponent/BaseComponent\";\nclass KubernetesServiceEditFeature extends BaseComponent, never> {\n render() {\n return ();\n }\n static displayName = \"KubernetesServiceEditFeature\";\n}\npluginRegistry.registerFeature({\n featureName: \"Octopus.Features.KubernetesService\",\n title: \"Service\",\n description: \"Defines a Kubernetes Service resource, which is used to expose Pod resources\",\n edit: KubernetesServiceEditFeature,\n priority: 8,\n});\n","import type { KubernetesConfigMapProperties } from \"@octopusdeploy/legacy-action-properties\";\nimport * as React from \"react\";\nimport { KubernetesConfigMapComponent } from \"~/components/Actions/kubernetes/kubernetesConfigMapComponent\";\nimport type { ScriptPackageProperties } from \"~/components/Actions/script/ScriptPackageReferenceDialog\";\nimport type { ActionEditProps } from \"../../Actions/pluginRegistry\";\nimport pluginRegistry from \"../../Actions/pluginRegistry\";\nimport { BaseComponent } from \"../../BaseComponent/BaseComponent\";\nclass KubernetesConfigMapFeature extends BaseComponent, never> {\n render() {\n return ();\n }\n static displayName = \"KubernetesConfigMapFeature\";\n}\npluginRegistry.registerFeature({\n featureName: \"Octopus.Features.KubernetesConfigMap\",\n title: \"Config Map\",\n description: \"Defines a Kubernetes ConfigMap resource, which is a collection of key/value settings\",\n edit: KubernetesConfigMapFeature,\n priority: 20,\n});\n","import type { KubernetesSecretProperties } from \"@octopusdeploy/legacy-action-properties\";\nimport * as React from \"react\";\nimport { KubernetesSecretComponent } from \"~/components/Actions/kubernetes/kubernetesSecretComponent\";\nimport type { ScriptPackageProperties } from \"~/components/Actions/script/ScriptPackageReferenceDialog\";\nimport type { ActionEditProps } from \"../../Actions/pluginRegistry\";\nimport pluginRegistry from \"../../Actions/pluginRegistry\";\nimport { BaseComponent } from \"../../BaseComponent/BaseComponent\";\nclass KubernetesSecretFeature extends BaseComponent, never> {\n render() {\n return ();\n }\n static displayName = \"KubernetesSecretFeature\";\n}\npluginRegistry.registerFeature({\n featureName: \"Octopus.Features.KubernetesSecret\",\n title: \"Secret\",\n description: \"Defines a Kubernetes Secret resource, which is a collection of key/value settings\",\n edit: KubernetesSecretFeature,\n priority: 20,\n});\n","import type { DataContext, MetadataTypeCollection } from \"@octopusdeploy/octopus-server-client\";\nimport { noOp } from \"@octopusdeploy/utilities\";\nimport * as React from \"react\";\nimport { repository } from \"~/clientInstance\";\nimport type { ActionEditProps } from \"~/components/Actions/pluginRegistry\";\nimport { CodeEditor, TextFormat } from \"~/components/CodeEditor/CodeEditor\";\nimport type { DataBaseComponentState } from \"~/components/DataBaseComponent\";\nimport { DataBaseComponent } from \"~/components/DataBaseComponent\";\nimport OpenDialogButton from \"~/components/Dialog/OpenDialogButton\";\nimport ExternalLink from \"~/components/Navigation/ExternalLink/ExternalLink\";\nimport SourceCodeDialog from \"~/components/SourceCodeDialog/SourceCodeDialog\";\nimport { default as ExpandableFormSection } from \"~/components/form/Sections/ExpandableFormSection\";\nimport Summary from \"~/components/form/Sections/Summary\";\nimport Note from \"~/primitiveComponents/form/Note/Note\";\nexport interface KubernetesCustomResourceProps {\n \"Octopus.Action.KubernetesContainers.CustomResourceYaml\": string;\n}\nexport class KubernetesCustomResourceComponent extends DataBaseComponent, DataBaseComponentState> {\n constructor(props: ActionEditProps) {\n super(props);\n this.state = {};\n }\n render() {\n return (\n A new instance of each resource listed in the editor below will be created with each deployment, and old resources will be cleaned up.\n \n Multiple resources can be defined by separating the individual YAML documents with a triple dash i.e. ---.\n \n \n Learn more about custom resources.\n \n \n
    \n ( {\n this.props.setProperties({ [\"Octopus.Action.KubernetesContainers.CustomResourceYaml\"]: value });\n }} language={TextFormat.YAML}/>)}/>\n
    \n
    );\n }\n private getMetadata = (value: string): Promise<{\n Metadata: MetadataTypeCollection;\n Values: DataContext;\n }> => {\n return repository.CloudTemplates.getMetadata(value, \"Kubernetes\");\n };\n private validateTemplate = async (value: string) => {\n try {\n await this.getMetadata(value);\n }\n catch (err) {\n return err;\n }\n return null;\n };\n private resourceYamlSummary() {\n if (this.props.properties[\"Octopus.Action.KubernetesContainers.CustomResourceYaml\"]) {\n return Summary.summary(\"Additional resources have been defined\");\n }\n return Summary.default(\"No additional resources have been defined\");\n }\n static displayName = \"KubernetesCustomResourceComponent\";\n}\n","import * as React from \"react\";\nimport type { KubernetesCustomResourceProps } from \"~/components/Actions/kubernetes/kubernetesCustomResourceComponent\";\nimport { KubernetesCustomResourceComponent } from \"~/components/Actions/kubernetes/kubernetesCustomResourceComponent\";\nimport type { DataBaseComponentState } from \"~/components/DataBaseComponent\";\nimport type { ActionEditProps } from \"../../Actions/pluginRegistry\";\nimport pluginRegistry from \"../../Actions/pluginRegistry\";\nimport { BaseComponent } from \"../../BaseComponent/BaseComponent\";\nclass KubernetesCustomResourceFeature extends BaseComponent, DataBaseComponentState> {\n render() {\n return ();\n }\n static displayName = \"KubernetesCustomResourceFeature\";\n}\npluginRegistry.registerFeature({\n featureName: \"Octopus.Features.KubernetesCustomResource\",\n title: \"Custom Resource\",\n description: \"Create Kubernetes resources from raw YAML\",\n edit: KubernetesCustomResourceFeature,\n priority: 20,\n});\n","import { RemoveItemsList } from \"./RemoveItemsList\";\nexport default RemoveItemsList;\n","/* eslint-disable @typescript-eslint/no-explicit-any */\nimport type { SelectItem } from \"~/components/VirtualListWithKeyboard/SelectItem\";\nexport interface NginxBinding {\n protocol: string;\n ipAddress: string;\n port: string;\n certificateVariable?: any;\n certificateLocation: string | null;\n certificateKeyLocation: string | null;\n securityProtocols: string[] | null;\n enabled: boolean;\n}\n// NGINX supports: [SSLv2] [SSLv3] [TLSv1] [TLSv1.1] [TLSv1.2] [TLSv1.3];\nconst securityProtocolItems: SelectItem[] = [\n { Id: \"SSLv2\", Name: \"SSLv2\" },\n { Id: \"SSLv3\", Name: \"SSLv3\" },\n { Id: \"TLSv1\", Name: \"TLSv1\" },\n { Id: \"TLSv1.1\", Name: \"TLSv1.1\" },\n { Id: \"TLSv1.2\", Name: \"TLSv1.2\" },\n { Id: \"TLSv1.3\", Name: \"TLSv1.3\" },\n];\nconst nginxBindingsFromString = (bindingsString: string): NginxBinding[] => {\n return JSON.parse(bindingsString);\n};\nconst nginxBindingsToString = (bindings: NginxBinding[]): string => {\n return JSON.stringify(bindings);\n};\nexport { nginxBindingsFromString, nginxBindingsToString, securityProtocolItems };\n","/* eslint-disable @typescript-eslint/no-non-null-assertion */\n/* eslint-disable @typescript-eslint/no-explicit-any */\n/* eslint-disable @typescript-eslint/consistent-type-assertions */\nimport { BooleanRadioButtonGroup, BooleanRadioButton } from \"@octopusdeploy/design-system-components\";\nimport type { GitRefResource, ProjectResource } from \"@octopusdeploy/octopus-server-client\";\nimport * as React from \"react\";\nimport { repository } from \"~/clientInstance\";\nimport { DataBaseComponent } from \"~/components/DataBaseComponent/DataBaseComponent\";\nimport type { DataBaseComponentState } from \"~/components/DataBaseComponent/DataBaseComponent\";\nimport OkDialogLayout from \"~/components/DialogLayout/OkDialogLayout\";\nimport { MultiSelect } from \"~/components/MultiSelect/MultiSelect\";\nimport type { SelectItem } from \"~/components/VirtualListWithKeyboard/SelectItem\";\nimport ProjectCertificateVariableSelect from \"~/components/form/CertificateSelect/ProjectCertificateVariableSelect\";\nimport DialogFormSectionHeading from \"~/components/form/Sections/DialogFormSectionHeading\";\nimport { VariableLookupText } from \"~/components/form/VariableLookupText\";\nimport { BoundStringCheckbox } from \"~/primitiveComponents/form/Checkbox/StringCheckbox\";\nimport Note from \"~/primitiveComponents/form/Note/Note\";\nimport { BoundSelect } from \"~/primitiveComponents/form/Select/Select\";\nimport DeletableChip from \"../../Chips/DeletableChip\";\nimport { securityProtocolItems } from \"./bindingHelpers\";\nimport type { NginxBinding } from \"./bindingHelpers\";\nconst SecurityProtocolMultiSelect = MultiSelect();\ninterface NginxBindingState extends DataBaseComponentState {\n binding: NginxBinding | null;\n managedByOctopus: boolean;\n project?: ProjectResource | null;\n}\ninterface NginxBindingProps {\n binding: NginxBinding;\n localNames: string[];\n projectId: string;\n gitRef: GitRefResource | undefined;\n onAdd(Binding: NginxBinding): boolean;\n doBusyTask(action: () => Promise): Promise;\n}\nclass NginxBindingDialog extends DataBaseComponent {\n constructor(props: NginxBindingProps) {\n super(props);\n this.state = {\n binding: null,\n managedByOctopus: true,\n project: null,\n };\n }\n async componentDidMount() {\n await this.doBusyTask(async () => {\n const project = this.props.projectId ? await repository.Projects.get(this.props.projectId) : null;\n this.setState({\n binding: this.props.binding,\n managedByOctopus: !this.props.binding.certificateLocation,\n project,\n });\n });\n }\n handleProtocolChanged = async (protocol: string | undefined) => {\n await this.doBusyTask(async () => {\n this.setBindingState({ protocol: protocol! });\n if (protocol === \"https\") {\n this.setBindingState({ port: \"443\" });\n }\n });\n };\n handleManagedByOctopusChanged = async (managed: boolean) => {\n await this.doBusyTask(async () => {\n if (!managed) {\n this.setState((state) => ({\n binding: { ...state!.binding, certificateVariable: null },\n managedByOctopus: managed,\n }));\n }\n else {\n this.setState((state) => ({\n binding: { ...state!.binding, thumbprint: null },\n managedByOctopus: managed,\n }));\n }\n });\n };\n save = () => {\n const binding = this.state.binding;\n if (this.state.binding!.protocol === \"https\" && !this.state.managedByOctopus) {\n if (!this.state.binding!.certificateLocation || this.state.binding!.certificateLocation.trim() === \"\") {\n this.setValidationErrors(\"An SSL certificate file must be provided for HTTPS bindings.\");\n return false;\n }\n }\n return this.props.onAdd(binding!);\n };\n render() {\n return (\n {this.state.binding && (
    \n \n this.setBindingState({ port: x })} label=\"Port\"/>\n The TCP port number that this binding will listen on.\n this.setBindingState({ ipAddress: x })} label=\"IP address\"/>\n \n The IP address that the binding will listen on. Use * for any address, or specify an address such as 10.0.0.1. If using a IPv6 address remember to enclose in square brackets such as{\" \"}\n [::1].\n \n\n {this.state.binding.protocol !== \"http\" && (
    \n \n \n \n If the certificate is managed by Octopus, it will be automatically imported into the Windows Certificate Store.\n \n If managed externally, the certificate thumbprint is configured. The certificate must have been imported into the Windows Certificate Store.\n \n\n {!this.state.managedByOctopus && (
    \n this.setBindingState({ certificateLocation: x })} label=\"Server certificate location\"/>\n Location of the server certificate file to use.\n this.setBindingState({ certificateKeyLocation: x })} label=\"Server certificate private key location\"/>\n Location of the server certificate private key file to use.\n
    )}\n {this.state.managedByOctopus && (
    \n {this.state.project ? ( this.setBindingState({ certificateVariable: x })}/>) : ( this.setBindingState({ certificateVariable: x })} label=\"Certificate variable\"/>)}\n A certificate variable.\n
    )}\n (\n {i.Name}\n )} onChange={(values: string[]) => {\n this.setBindingState({ securityProtocols: values });\n }}/>\n \n
    \n Since NGINX version 1.0.5, the defaults used are: SSLv3, TLSv1.\n
    \n
    \n Since NGINX versions 1.1.13 and 1.0.12, the defaults used are: SSLv3, TLSv1, TLSv1.1 and TLSv1.2.\n
    \n
    \n
    )}\n\n this.setBindingState({ enabled: x as any })} label=\"Enabled\" note={Disable this binding to skip it (the binding will not be added).}/>\n
    )}\n
    );\n }\n private setBindingState(state: Pick, callback?: () => void) {\n this.setChildState1(\"binding\", state);\n }\n static displayName = \"NginxBindingDialog\";\n}\nexport default NginxBindingDialog;\n","/* eslint-disable @typescript-eslint/no-explicit-any */\nimport type { KeyValuePair } from \"~/components/EditList/KeyValueEditList\";\nexport interface NginxLocation {\n path: string;\n directives: string;\n headers: string;\n reverseProxy: boolean;\n reverseProxyUrl: string;\n reverseProxyHeaders: string;\n reverseProxyDirectives: string;\n}\nconst nginxLocationsFromString = (locationsString: string): NginxLocation[] => {\n return JSON.parse(locationsString);\n};\nconst nginxLocationsToString = (locations: NginxLocation[]): string => {\n return JSON.stringify(locations);\n};\nconst keyValuesToString = (keyValues: any) => {\n return JSON.stringify(keyValuesToHash(keyValues));\n};\nfunction keyValuesToHash(values: KeyValuePair[]) {\n return values.reduce((idx: any, item) => {\n idx[item.key] = item.value;\n return idx;\n }, {});\n}\ninterface KeyValue {\n key: string;\n value: string | null;\n}\nfunction keyValuesFromString(value: string): KeyValue[] {\n if (value === null || value === undefined) {\n return [];\n }\n try {\n const source: Record = JSON.parse(value || \"{}\");\n const initial: KeyValue[] = [];\n return Object.keys(source).reduce((arr, key) => {\n arr.push({ key, value: source[key] });\n return arr;\n }, initial);\n }\n catch (e) {\n return [];\n }\n}\nfunction keyValuesFromArrayString(stringValue: string): KeyValuePair[] {\n if (stringValue === null || stringValue === undefined) {\n return [];\n }\n try {\n const source = JSON.parse(stringValue || \"[]\");\n return source.reduce((arr: any, object: any) => {\n for (const [key, value] of Object.entries(object)) {\n arr.push({ key, value });\n }\n return arr;\n }, []);\n }\n catch (e) {\n return [];\n }\n}\nexport { nginxLocationsFromString, nginxLocationsToString, keyValuesToString, keyValuesFromString, keyValuesFromArrayString };\n","/* eslint-disable @typescript-eslint/no-non-null-assertion */\n/* eslint-disable @typescript-eslint/no-explicit-any */\nimport { Checkbox } from \"@octopusdeploy/design-system-components\";\nimport type { GitRefResource, ProjectResource } from \"@octopusdeploy/octopus-server-client\";\nimport * as React from \"react\";\nimport { repository } from \"~/clientInstance\";\nimport type { DataBaseComponentState } from \"~/components/DataBaseComponent\";\nimport DataBaseComponent from \"~/components/DataBaseComponent\";\nimport OkDialogLayout from \"~/components/DialogLayout/OkDialogLayout\";\nimport StringKeyValueEditList, { StringDirectiveEditList } from \"~/components/EditList/KeyValueEditList\";\nimport ExternalLink from \"~/components/Navigation/ExternalLink\";\nimport { Note } from \"~/components/form\";\nimport { VariableLookupText } from \"~/components/form/VariableLookupText\";\nimport type { NginxLocation } from \"./locationHelpers\";\nimport { keyValuesToString } from \"./locationHelpers\";\ninterface LocationState extends DataBaseComponentState {\n location: NginxLocation | null;\n project?: ProjectResource | null;\n}\ninterface LocationProps {\n location: NginxLocation;\n localNames: string[];\n projectId: string;\n gitRef: GitRefResource | undefined;\n onAdd(location: any): boolean;\n doBusyTask(action: () => Promise): Promise;\n}\nconst defaultReverseProxyDirectives = [\n { key: \"proxy_http_version\", value: \"1.1\" },\n { key: \"proxy_cache_bypass\", value: \"$http_upgrade\" },\n];\nconst defaultReverseProxyHeaders = [\n { key: \"Upgrade\", value: \"$http_upgrade\" },\n { key: \"Connection\", value: \"keep-alive\" },\n { key: \"Host\", value: \"$host\" },\n { key: \"X-Forwarded-For\", value: \"$proxy_add_x_forwarded_for\" },\n { key: \"X-Forwarded-Proto\", value: \"$scheme\" },\n];\nclass LocationDialog extends DataBaseComponent {\n constructor(props: LocationProps) {\n super(props);\n this.state = {\n location: null,\n project: null,\n };\n }\n async componentDidMount() {\n await this.doBusyTask(async () => {\n const project = this.props.projectId ? await repository.Projects.get(this.props.projectId) : null;\n this.setState({\n location: this.props.location,\n project,\n });\n });\n }\n save = () => {\n return this.props.onAdd(this.state.location);\n };\n render() {\n return (\n {this.state.location && (
    \n this.setLocationState({ path: x })} placeholder=\"Location\" label={\"Location\"}/>\n \n There are two types of parameter to the location directive: prefix strings (pathnames) and regular expressions. See the NGINX documentation for more\n information on configuring locations.\n \n this.setLocationState({\n reverseProxy: x,\n reverseProxyUrl: !x ? \"\" : this.state.location!.reverseProxyUrl,\n reverseProxyHeaders: this.updateReverseProxyHeaders(defaultReverseProxyHeaders),\n reverseProxyDirectives: this.updateReverseProxyDirectives(defaultReverseProxyDirectives),\n })} label=\"Reverse Proxy\" note={Configure this location as a reverse proxy to pass request to another application}/>\n {this.state.location.reverseProxy && (
    \n this.setLocationState({ reverseProxyUrl: x })} placeholder=\"Proxy requests to this URL\" label={\"URL\"}/>\n

    Reverse Proxy Headers

    \n this.setLocationState({ headers: x })} keyLabel=\"Header\" valueLabel=\"Value\" separator=\"=\"/>\n
    )}\n

    Directives

    \n this.setLocationState({ directives: x })} keyLabel=\"Directive\" valueLabel=\"Value\" separator=\"=\"/>\n
    )}\n
    );\n }\n private setLocationState(state: Pick, callback?: () => void) {\n this.setChildState1(\"location\", state);\n }\n private updateReverseProxyHeaders(reverseProxyHeaders: any): string {\n if (!this.state.location!.reverseProxy) {\n return \"\";\n }\n return keyValuesToString(reverseProxyHeaders);\n }\n private updateReverseProxyDirectives(reverseProxyDirectives: any): string {\n if (!this.state.location!.reverseProxy) {\n return \"\";\n }\n return keyValuesToString(reverseProxyDirectives);\n }\n static displayName = \"LocationDialog\";\n}\nexport default LocationDialog;\n","/* eslint-disable @typescript-eslint/no-non-null-assertion */\n/* eslint-disable @typescript-eslint/no-explicit-any */\nimport { ActionButton } from \"@octopusdeploy/design-system-components\";\nimport type { ActionProperties } from \"@octopusdeploy/octopus-server-client\";\nimport { clone, isEqual } from \"lodash\";\nimport * as React from \"react\";\nimport type { ActionEditProps } from \"~/components/Actions/pluginRegistry\";\nimport pluginRegistry from \"~/components/Actions/pluginRegistry\";\nimport BaseComponent from \"~/components/BaseComponent\";\nimport DialogOpener from \"~/components/Dialog/DialogOpener\";\nimport { ExpandableFormSection, Note, Summary } from \"~/components/form\";\nimport { VariableLookupText } from \"~/components/form/VariableLookupText\";\nimport { ValueInPropertiesOrErrorsHasChanged } from \"~/utils/ShouldUpdate/ValueInPropertiesHasChanged\";\nimport RemoveItemsList from \"../../RemoveItemsList\";\nimport NginxBindingDialog from \"./bindingDialog\";\nimport type { NginxBinding } from \"./bindingHelpers\";\nimport { nginxBindingsFromString, nginxBindingsToString } from \"./bindingHelpers\";\nimport LocationDialog from \"./locationDialog\";\nimport type { NginxLocation } from \"./locationHelpers\";\nimport { keyValuesFromArrayString, keyValuesFromString, nginxLocationsFromString, nginxLocationsToString } from \"./locationHelpers\";\nclass LocationList extends RemoveItemsList {\n}\nclass BindingList extends RemoveItemsList {\n}\ninterface NginxState {\n locations: NginxLocation[];\n editLocation?: NginxLocation | null;\n editLocationIndex?: number | null;\n bindings: NginxBinding[];\n editBinding?: NginxBinding | null;\n editBindingIndex?: number | null;\n}\nconst StringProperties = {\n \"Octopus.Action.Nginx.Server.HostName\": \"\",\n \"Octopus.Action.Nginx.Server.Bindings\": \"\",\n \"Octopus.Action.Nginx.Server.Locations\": \"\",\n \"Octopus.Action.Nginx.Server.ConfigName\": \"\",\n};\ntype NginxProperties = {\n [P in keyof typeof StringProperties]: string;\n};\nclass NginxEdit extends BaseComponent, NginxState> {\n constructor(props: ActionEditProps) {\n super(props);\n this.state = {\n locations: [],\n bindings: [],\n };\n }\n shouldComponentUpdate(newProps: ActionEditProps, newState: NginxState) {\n return ValueInPropertiesOrErrorsHasChanged(StringProperties, newProps, this.props) || !isEqual(newState, this.state);\n }\n async componentDidMount() {\n await this.props.doBusyTask(async () => {\n this.setState({\n locations: !!this.props.properties[\"Octopus.Action.Nginx.Server.Locations\"] ? nginxLocationsFromString(this.props.properties[\"Octopus.Action.Nginx.Server.Locations\"]) : [],\n bindings: !!this.props.properties[\"Octopus.Action.Nginx.Server.Bindings\"] ? nginxBindingsFromString(this.props.properties[\"Octopus.Action.Nginx.Server.Bindings\"]) : [],\n });\n });\n }\n UNSAFE_componentWillReceiveProps(nextProps: ActionEditProps) {\n if (this.props.properties[\"Octopus.Action.Nginx.Server.Locations\"] !== nextProps.properties[\"Octopus.Action.Nginx.Server.Locations\"] ||\n this.props.properties[\"Octopus.Action.Nginx.Server.Bindings\"] !== nextProps.properties[\"Octopus.Action.Nginx.Server.Bindings\"]) {\n this.setState({\n locations: !!nextProps.properties[\"Octopus.Action.Nginx.Server.Locations\"] ? nginxLocationsFromString(nextProps.properties[\"Octopus.Action.Nginx.Server.Locations\"]) : [],\n bindings: !!nextProps.properties[\"Octopus.Action.Nginx.Server.Bindings\"] ? nginxBindingsFromString(nextProps.properties[\"Octopus.Action.Nginx.Server.Bindings\"]) : [],\n });\n }\n }\n summary() {\n return Summary.placeholder(\"\");\n }\n render() {\n const properties = this.props.properties;\n const editLocationsDialog = (\n this.saveLocation(location)}/>\n );\n const editBindingsDialog = (\n this.saveBinding(binding)}/>\n );\n return (
    \n {editLocationsDialog}\n {editBindingsDialog}\n \n {\n this.props.setProperties({ [\"Octopus.Action.Nginx.Server.HostName\"]: x });\n }} error={this.props.getFieldError(\"Octopus.Action.Nginx.Server.HostName\")} label=\"Host Name\"/>\n \n The Host header that this server will listen on. The value can be a full (exact) name, a wildcard, or a regular expression. A wildcard is a character string that includes the asterisk (*) at its\n beginning, end, or both{\";\"} the asterisk matches any sequence of characters Example:www.contoso.com. Leave empty to use any Host header.\n \n \n \n this.addBinding()}/>]} data={this.state.bindings} onRow={(binding) => (
    \n {binding.protocol && (

    \n Protocol: {binding.protocol}\n

    )}\n {binding.port && (

    \n Port: {binding.port}\n

    )}\n {binding.ipAddress && (

    \n IP Address: {binding.ipAddress}\n

    )}\n {binding.certificateLocation && (

    \n Server certificate location: {binding.certificateLocation}\n

    )}\n {binding.certificateKeyLocation && (

    \n Server certificate private key location: {binding.certificateKeyLocation}\n

    )}\n {binding.certificateVariable && (

    \n SSL certificate variable: {binding.certificateVariable}\n

    )}\n {binding.securityProtocols && (

    \n Enabled security protocols: {binding.securityProtocols.join(\", \")}\n

    )}\n
    )} onRowTouch={(binding) => this.editBinding(binding)} onRemoveRow={(binding) => this.removeBinding(binding)}/>\n
    \n \n this.addLocation()}/>]} data={this.state.locations} onRow={(location) => (
    \n {location.path && (

    \n Location: {location.path}\n

    )}\n {location.reverseProxy && (

    \n Proxied to: {location.reverseProxyUrl}\n

    )}\n {location.directives && (
    \n Directives\n {keyValuesFromArrayString(location.directives).map((directive, idx) => {\n return (

    \n {directive.key}: {directive.value}\n

    );\n })}\n
    )}\n {location.headers && (
    \n Headers\n {keyValuesFromString(location.headers).map((header, idx) => {\n return (

    \n {header.key}: {header.value}\n

    );\n })}\n
    )}\n
    )} onRowTouch={(location) => this.editLocation(location)} onRemoveRow={(location) => this.removeLocation(location)}/>\n
    \n \n {\n this.props.setProperties({ [\"Octopus.Action.Nginx.Server.ConfigName\"]: x });\n }} error={this.props.getFieldError(\"Octopus.Action.Nginx.Server.ConfigName\")} label=\"Base name for configuration files\"/>\n \n This value defines the base name used for the NGINX configuration files. For example, on a Linux system the configuration files will be /etc/nginx/conf.d/[field value].conf.d. If this value is left blank, the\n package ID is used as the base name for the configuration files. Any illegal path characters, such as a forward slash, are replaced by an underscore.\n \n \n
    );\n }\n serverHostNameConfiguration = () => {\n const hostname = this.props.properties[\"Octopus.Action.Nginx.Server.HostName\"];\n if (!hostname) {\n return Summary.placeholder(\"No hostname has been configured\");\n }\n return Summary.summary(\n This server will serve requests with a Host header field that matches {hostname}\n );\n };\n bindingsSummary = () => {\n const length = this.state.bindings.length;\n if (length === 0) {\n return Summary.placeholder(\"No bindings have been configured\");\n }\n const first = this.state.bindings[0];\n const address = first.ipAddress || \"*\";\n const summary = first.protocol + \"://\" + address + \":\" + first.port;\n const nodes = [];\n nodes.push(\n The site will listen on {summary}\n );\n if (length === 2) {\n nodes.push( and one other binding);\n }\n if (length > 2) {\n nodes.push( and {length - 1} other bindings);\n }\n return Summary.summary(React.Children.toArray(nodes));\n };\n locationsSummary = () => {\n const length = this.state.locations.length;\n if (length === 0) {\n return Summary.placeholder(\"No locations have been configured\");\n }\n const first = this.state.locations[0];\n const summary = first.reverseProxy ? (\n proxy requests for {first.path} to {first.reverseProxyUrl}\n ) : (\n serve requests for {first.path} by delivering files from the local file system\n );\n const nodes = [];\n nodes.push(The server will {summary});\n return Summary.summary(React.Children.toArray(nodes));\n };\n advancedSettingsSummary = () => {\n const confName = this.props.properties[\"Octopus.Action.Nginx.Server.ConfigName\"];\n if (!confName) {\n return Summary.placeholder(\"NGINX configuration file names default to the package ID\");\n }\n return Summary.summary(\n Configuration files have base name of {confName}\n );\n };\n removeLocation = (location: any) => {\n const locations = [...this.state.locations];\n locations.splice(this.state.locations.indexOf(location), 1);\n this.props.setProperties({ [\"Octopus.Action.Nginx.Server.Locations\"]: nginxLocationsToString(locations) });\n };\n editLocation = (location: any) => {\n this.setState({\n editLocation: clone(location),\n editLocationIndex: this.state.locations.indexOf(location),\n });\n };\n addLocation = () => {\n const location: NginxLocation = {\n path: \"\",\n directives: \"\",\n headers: \"\",\n reverseProxy: false,\n reverseProxyUrl: \"\",\n reverseProxyHeaders: \"\",\n reverseProxyDirectives: \"\",\n };\n this.setState({\n editLocation: location,\n editLocationIndex: null,\n });\n };\n saveLocation(location: NginxLocation) {\n const locations = [...this.state.locations];\n if (this.state.editLocationIndex) {\n locations[this.state.editLocationIndex] = location;\n }\n else {\n locations.push(location);\n }\n this.props.setProperties({ [\"Octopus.Action.Nginx.Server.Locations\"]: nginxLocationsToString(locations) });\n this.resetSelectedLocation();\n return true;\n }\n resetSelectedLocation = () => {\n this.setState({\n editLocation: null,\n editLocationIndex: null,\n });\n };\n removeBinding = (binding: any) => {\n const bindings = [...this.state.bindings];\n bindings.splice(this.state.bindings.indexOf(binding), 1);\n this.props.setProperties({ [\"Octopus.Action.Nginx.Server.Bindings\"]: nginxBindingsToString(bindings) });\n };\n editBinding = (binding: any) => {\n this.setState({\n editBinding: clone(binding),\n editBindingIndex: this.state.bindings.indexOf(binding),\n });\n };\n addBinding = () => {\n const binding: NginxBinding = {\n protocol: \"http\",\n port: \"80\",\n ipAddress: \"*\",\n certificateLocation: null,\n certificateKeyLocation: null,\n securityProtocols: null,\n enabled: true,\n };\n this.setState({\n editBinding: binding,\n editBindingIndex: null,\n });\n };\n saveBinding(binding: any) {\n const bindings = [...this.state.bindings];\n if (this.state.editBindingIndex) {\n bindings[this.state.editBindingIndex] = binding;\n }\n else {\n bindings.push(binding);\n }\n this.props.setProperties({ [\"Octopus.Action.Nginx.Server.Bindings\"]: nginxBindingsToString(bindings) });\n this.resetSelectedBinding();\n return true;\n }\n resetSelectedBinding = () => {\n this.setState({\n editBinding: null,\n editBindingIndex: null,\n });\n };\n static displayName = \"NginxEdit\";\n}\npluginRegistry.registerFeature({\n featureName: \"Octopus.Features.Nginx\",\n title: \"NGINX Web Server\",\n description: \"Configures an NGINX web server\",\n edit: NginxEdit,\n priority: 30,\n enable: (properties: ActionProperties) => {\n properties[\"Octopus.Action.Nginx.Server.ConfigName\"] = \"#{Octopus.Action.Package.PackageId}.#{Octopus.Environment.Name}#{if Octopus.Deployment.Tenant.Name}.#{Octopus.Deployment.Tenant.Name}#{/if}\";\n properties[\"Octopus.Action.Nginx.Server.Bindings\"] = nginxBindingsToString([\n {\n protocol: \"http\",\n port: \"80\",\n ipAddress: \"*\",\n certificateLocation: null,\n certificateKeyLocation: null,\n securityProtocols: null,\n enabled: true,\n },\n ]);\n },\n disable: (properties: ActionProperties) => {\n Object.keys(properties)\n .filter((name) => {\n return name.indexOf(\"Octopus.Action.Nginx.\") === 0;\n })\n .forEach((name) => {\n delete properties[name];\n });\n },\n});\n","import { RadioButtonGroup, RadioButton } from \"@octopusdeploy/design-system-components\";\nimport type { ActionProperties } from \"@octopusdeploy/octopus-server-client\";\nimport * as React from \"react\";\nimport { ValueInPropertiesOrErrorsHasChanged } from \"~/utils/ShouldUpdate/ValueInPropertiesHasChanged\";\nimport Note from \"../../../primitiveComponents/form/Note/Note\";\nimport type { ActionEditProps } from \"../../Actions/pluginRegistry\";\nimport pluginRegistry from \"../../Actions/pluginRegistry\";\nimport { ExpandableFormSection, Summary } from \"../../form\";\nconst StringProperties = {\n \"Octopus.Action.PowerShell.Edition\": \"\",\n};\ntype SelectPowerShellEditionProperties = {\n [P in keyof typeof StringProperties]: string;\n};\nclass SelectPowerShellEditionEdit extends React.Component> {\n shouldComponentUpdate(nextProps: ActionEditProps) {\n return ValueInPropertiesOrErrorsHasChanged(StringProperties, nextProps, this.props);\n }\n summary() {\n const edition = this.props.properties[\"Octopus.Action.PowerShell.Edition\"] || \"\";\n const summary = [];\n edition === \"\" ? summary.push(Please select the edition of PowerShell) : summary.push({edition === \"Core\" ? \"PowerShell Core\" : \"Windows PowerShell (Desktop)\"} will be used during Windows deployments);\n return Summary.summary(React.Children.toArray(summary));\n }\n render() {\n const psEdition = this.props.properties[\"Octopus.Action.PowerShell.Edition\"] || \"Desktop\";\n return (\n this.props.setProperties({ [\"Octopus.Action.PowerShell.Edition\"]: e })}>\n \n \n \n \n

    For non-Windows deployments PowerShell Core will be used

    \n
    \n
    );\n }\n static displayName = \"SelectPowerShellEditionEdit\";\n}\npluginRegistry.registerFeature({\n featureName: \"Octopus.Features.SelectPowerShellEditionForWindows\",\n title: \"PowerShell Edition\",\n description: \"Specify the edition of PowerShell used during deployments\",\n edit: SelectPowerShellEditionEdit,\n priority: 23,\n enable: (properties: ActionProperties) => {\n properties[\"Octopus.Action.PowerShell.Edition\"] = \"Desktop\";\n },\n disable: (properties: ActionProperties) => {\n delete properties[\"Octopus.Action.PowerShell.Edition\"];\n },\n});\n","import type { GoogleCloudRunScriptProperties } from \"@octopusdeploy/legacy-action-properties\";\nimport { ActionExecutionLocation } from \"@octopusdeploy/octopus-server-client\";\nimport * as React from \"react\";\nimport { TargetRoles } from \"~/areas/projects/components/Process/types\";\nimport GoogleCloudAuthenticationComponent from \"~/components/Actions/googleCloud/googleCloudAuthenticationComponent\";\nimport { BaseComponent } from \"~/components/BaseComponent/BaseComponent\";\nimport Note from \"../../../primitiveComponents/form/Note/Note\";\nimport ExternalLink from \"../../Navigation/ExternalLink\";\nimport { SupportedLanguage } from \"../../ScriptingLanguageSelector/ScriptingLanguageSelector\";\nimport { FormSection, FormSectionHeading } from \"../../form\";\nimport type { ActionSummaryProps } from \"../actionSummaryProps\";\nimport type { ActionEditProps } from \"../pluginRegistry\";\nimport pluginRegistry from \"../pluginRegistry\";\nimport type { ScriptPackageProperties } from \"../script/ScriptPackageReferenceDialog\";\nimport { ScriptActionEdit } from \"../script/scriptAction\";\ntype GoogleCloudScriptActionEditState = {};\nclass GoogleCloudRunScriptActionSummary extends BaseComponent {\n constructor(props: ActionSummaryProps) {\n super(props);\n }\n render() {\n return
    Run a script with the gcloud CLI.
    ;\n }\n static displayName = \"GoogleCloudRunScriptActionSummary\";\n}\nexport class GoogleCloudRunScriptActionEdit extends BaseComponent, GoogleCloudScriptActionEditState> {\n constructor(props: ActionEditProps) {\n super(props);\n }\n render() {\n return (
    \n \n \n Scripts executed in this step may need to use the Google Cloud CLI to authenticate to Google or perform other actions. Learn more about Google Tools.\n \n \n\n \n\n \n\n \n
    );\n }\n static displayName = \"GoogleCloudRunScriptActionEdit\";\n}\npluginRegistry.registerAction({\n executionLocation: ActionExecutionLocation.AlwaysOnServer,\n actionType: \"Octopus.GoogleCloudScripting\",\n summary: (properties, targetRolesAsCSV) => ,\n editSections: { default: GoogleCloudRunScriptActionEdit },\n canHaveChildren: () => true,\n canBeChild: true,\n targetRoleOption: () => TargetRoles.Optional,\n hasPackages: () => false,\n getInitialProperties: () => ({\n \"Octopus.Action.GoogleCloud.UseVMServiceAccount\": \"True\",\n \"Octopus.Action.GoogleCloud.ImpersonateServiceAccount\": \"False\",\n }),\n features: {\n optional: [\"Octopus.Features.JsonConfigurationVariables\", \"Octopus.Features.SubstituteInFiles\", \"Octopus.Features.SelectPowerShellEditionForWindows\"],\n },\n docsLink: \"runGoogleCloudScript\",\n});\n","import type { ActionProperties, DeploymentActionResource } from \"@octopusdeploy/octopus-server-client\";\nimport convertPropertyValueResourceToString from \"~/components/convertPropertyValueResourceToString\";\nexport function getProcessTemplateCommitFromAction(action: DeploymentActionResource) {\n return getProcessTemplateCommitFromActionProperties(action.Properties);\n}\nexport function getProcessTemplateSlugFromAction(action: DeploymentActionResource) {\n return getProcessTemplateSlugFromActionProperties(action.Properties);\n}\nexport function getProcessTemplateIdFromAction(action: DeploymentActionResource, uriEncode: boolean = false) {\n return getProcessTemplateIdFromActionProperties(action.Properties, uriEncode);\n}\nexport function getProcessTemplateCommitFromActionProperties(actionProperties: ActionProperties) {\n return convertPropertyValueResourceToString(actionProperties[\"Octopus.Action.ProcessTemplate.Reference.Commit\"]);\n}\nexport function getProcessTemplateSlugFromActionProperties(actionProperties: ActionProperties) {\n return convertPropertyValueResourceToString(actionProperties[\"Octopus.Action.ProcessTemplate.Reference.Slug\"]);\n}\nexport function getProcessTemplateVersionFromActionProperties(actionProperties: ActionProperties) {\n return convertPropertyValueResourceToString(actionProperties[\"Octopus.Action.ProcessTemplate.Reference.Version\"]);\n}\nexport function getProcessTemplateIdFromActionProperties(actionProperties: ActionProperties, uriEncode: boolean = false) {\n const selectedGitRef = convertPropertyValueResourceToString(actionProperties[\"Octopus.Action.ProcessTemplate.Reference.Commit\"]);\n const selectedSlug = convertPropertyValueResourceToString(actionProperties[\"Octopus.Action.ProcessTemplate.Reference.Slug\"]);\n if (selectedGitRef && selectedSlug) {\n return uriEncode ? encodeURIComponent(`${selectedGitRef}|${selectedSlug}`) : `${selectedGitRef}|${selectedSlug}`;\n }\n else {\n return undefined;\n }\n}\n","import React from \"react\";\nimport type { ProcessTemplateDetails } from \"~/areas/projects/components/Process/Contexts/ProcessController\";\nimport useRequiredContext from \"~/hooks/useRequiredContext\";\ntype ProcessBlueprintsContextValue = ProcessTemplateDetails[] | \"NotLoaded\";\ntype ProcessBlueprintsRefreshContextValue = () => Promise;\nconst ProcessBlueprintsContext = React.createContext(\"NotLoaded\");\nconst RefreshProcessBlueprintsContext = React.createContext(undefined);\nexport function useProcessBlueprintsFromContext() {\n const maybeProcessBlueprints = useMaybeProcessBlueprintsFromContext();\n return maybeProcessBlueprints === \"NotLoaded\" ? [] : maybeProcessBlueprints;\n}\nexport function useMaybeProcessBlueprintsFromContext(): ProcessBlueprintsContextValue {\n return useRequiredContext(ProcessBlueprintsContext, \"ProcessBlueprintsContext\");\n}\nexport function useRefreshBlueprintsFromContext(): ProcessBlueprintsRefreshContextValue {\n return useRequiredContext(RefreshProcessBlueprintsContext, \"ProcessBlueprintsRefreshContext\");\n}\ntype ProcessBlueprintsContextProviderProps = {\n blueprints: ProcessTemplateDetails[] | \"NotLoaded\";\n refreshBlueprints: () => Promise;\n};\nexport function ProcessBlueprintsContextProvider(props: React.PropsWithChildren) {\n return (\n {props.children}\n );\n}\n","import { ActionExecutionLocation, type ActionProperties } from \"@octopusdeploy/octopus-server-client\";\nimport * as React from \"react\";\nimport { getProcessTemplateCommitFromActionProperties, getProcessTemplateSlugFromActionProperties, getProcessTemplateVersionFromActionProperties } from \"~/areas/projects/components/Process/Blueprints/processTemplateId\";\nimport { isMatchingProcessTemplate } from \"~/areas/projects/components/Process/Common/CommonProcessHelpers\";\nimport { useProcessBlueprintsFromContext } from \"~/areas/projects/components/Process/Contexts/ProcessBlueprintsContextProvider\";\nimport { TargetRoles } from \"~/areas/projects/components/Process/types\";\nimport pluginRegistry from \"~/components/Actions/pluginRegistry\";\nfunction Summary(action: ActionProperties) {\n const processTemplates = useProcessBlueprintsFromContext();\n const processTemplateSlug = getProcessTemplateSlugFromActionProperties(action);\n const processTemplateCommit = getProcessTemplateCommitFromActionProperties(action);\n const processTemplateVersion = getProcessTemplateVersionFromActionProperties(action);\n const processTemplate = processTemplates.find((b) => isMatchingProcessTemplate(b, processTemplateSlug, processTemplateCommit))?.processTemplate;\n if (!processTemplateSlug) {\n return
    Run a process template. No template has been selected.
    ;\n }\n if (!processTemplate) {\n return (
    \n Run a process template.{\" \"}\n {processTemplateVersion ? (<>\n The selected process template {processTemplateSlug} version {processTemplateVersion} could not be found.\n ) : (<>\n The latest version of the selected process template {processTemplateSlug} could not be found.\n )}\n
    );\n }\n // Shouldn't ever show since we have a specific list item for blueprint steps that do exist, but using some sensible default.\n return
    Run process template {processTemplate.Name}
    ;\n}\n// Register plugin to satisfy contract of displaying deployment process step\n// Blueprint steps will be displayed in separate component\npluginRegistry.registerAction({\n actionType: \"Octopus.ProcessTemplate\",\n summary: Summary,\n editSections: {\n default: () => <>,\n top: () => <>,\n },\n canHaveChildren: (step) => false,\n canBeChild: false,\n executionLocation: ActionExecutionLocation.TargetOrServer,\n targetRoleOption: (action) => TargetRoles.Optional,\n hasPackages: (action) => false,\n features: {\n optional: [],\n },\n});\n","import * as React from \"react\";\nimport { KubernetesAgentTargetTagsContextualHelp, WorkerPoolsContextualHelp } from \"~/components/ContextualHelp/ContextualHelpSnippets\";\nexport const ConfigurationMessages = {\n Name: {\n DeploymentTarget: {\n Validation: {\n AlreadyExists: \"A deployment target with this name already exists. Please choose a different name.\",\n NotProvided: \"Please enter a name for this deployment target\",\n },\n HelperText: \"You can use the same name as your Kubernetes cluster\",\n },\n Worker: {\n Validation: {\n AlreadyExists: \"A worker with this name already exists. Please choose a different name.\",\n NotProvided: \"Please enter a name for this worker\",\n },\n HelperText: \"A short, memorable name for this worker.\",\n },\n },\n EnvironmentIds: {\n Validation: {\n NotProvided: \"Please select an environment for this deployment target.\",\n },\n HelperText: \"Select at least one environment\",\n },\n MachineRoles: {\n Validation: {\n NotProvided: \"Please select a target tag for this deployment target.\",\n },\n HelperText: (<>\n Add at least one target tag \n ),\n },\n WorkerPools: {\n Validation: {\n NotProvided: \"Please select a worker pool for this worker.\",\n },\n HelperText: (<>\n Worker Pools are groups of workers that execute tasks.\n ),\n },\n WorkerPool: {\n Validation: {\n NotProvided: \"Please enter a name for this worker pool.\",\n },\n HelperText: \"A short, memorable name for this worker pool.\",\n },\n ServerUri: {\n Validation: {\n NotProvided: \"Please enter the Octopus Deploy Server URL\",\n Invalid: \"Please enter a valid Octopus Deploy Server URL\",\n },\n HelperText: \"Provide the full URL to your Octopus Deploy instance.\",\n },\n ServerGrpcUri: {\n Validation: {\n NotProvided: \"Please enter the Octopus Deploy Server gRPC URL\",\n Invalid: \"Please enter a valid Octopus Deploy Server gRPC URL\",\n },\n HelperText: \"Provide the full gRPC URL to your Octopus Deploy instance.\",\n },\n ServerCommsAddresses: {\n Validation: {\n NotProvided: \"Please enter a Server Communications URL\",\n Invalid: \"Please enter a valid Server Communications URL\",\n NotUnique: \"Each Server Communications URL must be unique\",\n },\n HelperText: \"The URL of the Octopus Server that the Agent will poll for work.\",\n },\n} as const;\n","import { css } from \"@emotion/css\";\nimport { Tooltip } from \"@octopusdeploy/design-system-components\";\nimport { space, text, themeTokens } from \"@octopusdeploy/design-system-tokens\";\nimport cn from \"classnames\";\nimport React from \"react\";\nimport type { ServerNodeCommsAddress } from \"~/areas/infrastructure/components/MachineSettings/Endpoints/KubernetesAgent/ConfigurationDialog\";\nimport ExternalLink from \"~/components/Navigation/ExternalLink\";\nimport { Text } from \"~/components/form/index\";\nimport { DataTable, DataTableBody, DataTableRow, DataTableRowColumn } from \"~/primitiveComponents/dataDisplay/DataTable/index\";\ntype HaNodeConfigurationPageProps = {\n serverCommsAddresses: ServerNodeCommsAddress[];\n onServerCommsAddressesChange: (serverCommsAddresses: ServerNodeCommsAddress[]) => void;\n getFieldError: (fieldName: string) => string;\n};\nexport const HaNodeConfigurationPage = (props: HaNodeConfigurationPageProps) => {\n const { getFieldError } = props;\n const firstColumnStyle = css({ width: \"200px\", maxWidth: \"200px\" });\n const defaultTextStyle = css({ font: text.body.regular.large });\n const nodeNameTextStyle = cn(defaultTextStyle, firstColumnStyle, css({ overflow: \"hidden\", whiteSpace: \"nowrap\", textOverflow: \"ellipsis\" }));\n const columnHeaderTextStyle = css({ font: text.body.regular.small, color: themeTokens.color.text.secondary, verticalAlign: \"bottom\" });\n const headerRowStyle = css({ height: space[48], maxHeight: space[48], verticalAlign: \"bottom !important\" });\n const normalRowStyle = css({ height: space[64], maxHeight: space[64], position: \"relative\", verticalAlign: \"middle !important\" });\n return (<>\n
    \n We detected multiple Octopus Server nodes used for High Availability. Please enter the communication URL for each node. Learn more\n
    \n \n \n \n \n
    Node
    \n
    \n \n
    Communication Url
    \n
    \n
    \n {props.serverCommsAddresses.map(({ nodeName, commsAddress }, index) => (\n \n \n
    {nodeName}
    \n
    \n
    \n \n {\n props.serverCommsAddresses[index].commsAddress = val;\n props.onServerCommsAddressesChange(props.serverCommsAddresses);\n }} placeholder={\"https://:/\"}/>\n \n
    ))}\n
    \n
    \n );\n};\n","import { css } from \"@emotion/css\";\nimport { lineHeight, space } from \"@octopusdeploy/design-system-tokens\";\nexport const paragraphStyle = css({\n lineHeight: lineHeight.small,\n marginBottom: space[\"16\"],\n});\nexport const contentContainerStyles = css({\n \"& > p\": paragraphStyle,\n \"> *\": {\n marginBottom: space[\"16\"],\n },\n \".helmButtonContainer\": {\n marginTop: \"1rem\",\n },\n});\n","import { PopoverBasicHelp } from \"@octopusdeploy/design-system-components\";\nimport { ScriptingLanguage } from \"@octopusdeploy/octopus-server-client\";\nimport { noOp } from \"@octopusdeploy/utilities\";\nimport React, { useState } from \"react\";\nimport { createHelmCommand } from \"~/areas/infrastructure/components/MachineSettings/Endpoints/KubernetesAgent/NfsDriverHelmCommand\";\nimport { contentContainerStyles } from \"~/areas/infrastructure/components/MachineSettings/Endpoints/KubernetesAgent/Styles\";\nimport { CodeEditor, type Language, type TextFormat } from \"~/components/CodeEditor/CodeEditor\";\nexport const NfsDriverInstallationPage = () => {\n const [selectedLanguage, setSelectedLanguage] = useState(ScriptingLanguage.Bash);\n const helmCommand = createHelmCommand(selectedLanguage);\n const description =
    The NFS CSI driver provides capabilities when connecting your Kubernetes cluster to the NFS server.
    ;\n return (
    \n
    \n Install the required CSI driver by running this Helm command in the terminal connected to your cluster.\n
    \n setSelectedLanguage(syntax),\n }}/>\n
    );\n};\n","import { ScriptingLanguage } from \"@octopusdeploy/octopus-server-client\";\nimport type { Language, TextFormat } from \"~/components/CodeEditor/CodeEditor\";\nexport function createHelmCommand(language: ScriptingLanguage | Language | TextFormat) {\n const lineBreak = language === ScriptingLanguage.Bash ? \"\\\\\" : \"`\";\n return `helm upgrade --install --atomic ${lineBreak}\n--repo https://raw.githubusercontent.com/kubernetes-csi/csi-driver-nfs/master/charts ${lineBreak}\n--namespace kube-system ${lineBreak}\n--version \"v4.*.*\" ${lineBreak}\ncsi-driver-nfs ${lineBreak}\ncsi-driver-nfs`;\n}\n","import { css } from \"@emotion/css\";\nimport { borderRadius } from \"@octopusdeploy/design-system-tokens\";\nimport type { PropsWithChildren } from \"react\";\nimport React from \"react\";\nimport { FrameWrapper } from \"~/components/DialogLayout/Custom/index\";\nfunction CustomTransparentDialogFrame({ children }: PropsWithChildren<{}>) {\n return (\n
    {children}
    \n
    );\n}\nexport default CustomTransparentDialogFrame;\nconst styles = {\n transparentFrame: css({\n display: \"flex\",\n flexDirection: \"row\",\n width: \"100%\",\n maxWidth: \"1000px\",\n maxHeight: \"100%\",\n background: \"transparent\",\n borderRadius: borderRadius.small,\n }),\n};\n","import { css, keyframes } from \"@emotion/css\";\nimport { fontSize, lineHeight, space, borderRadius, themeTokens } from \"@octopusdeploy/design-system-tokens\";\nimport cn from \"classnames\";\nimport React, { useEffect, useState } from \"react\";\nimport { IconButtonWithTooltip } from \"~/components/IconButtonWithTooltip\";\nimport { useDidUpdateEffect } from \"~/hooks/useDidUpdateEffect\";\nexport interface HelpPanelImage {\n src: string;\n altText: string;\n darkThemeSrc?: string;\n}\nexport type HelpPanelSize = \"third\" | \"half\";\ninterface HelpPanelProps {\n fullScreen?: boolean;\n image?: HelpPanelImage;\n content?: React.ReactNode;\n size: HelpPanelSize;\n showToggle: boolean;\n theme: \"light\" | \"dark\";\n open: boolean;\n onClose: () => void;\n}\nexport function HelpPanel({ fullScreen, image, content, size, showToggle, theme, open, onClose }: HelpPanelProps) {\n const [helpPanelClasses, setHelpPanelClasses] = useState([styles.helpPanel]);\n useEffect(() => {\n setHelpPanelClasses(open ? [] : [styles.displayNone]);\n // eslint-disable-next-line react-hooks/exhaustive-deps\n }, []);\n useDidUpdateEffect(() => {\n setHelpPanelClasses(open ? [styles.animateOpen] : [styles.animateClose]);\n const timeoutId = setTimeout(() => setHelpPanelClasses(open ? [] : [styles.displayNone]), 350);\n return () => clearTimeout(timeoutId);\n }, [open]);\n return (
    \n {showToggle && (\n onClose()} icon=\"ChevronsLeftIcon\" accessibleName={\"Collapse help\"}/>\n )}\n {fullScreen && (\n onClose()} accessibleName={\"Cancel\"} icon={\"XmarkIcon\"}/>\n )}\n
    \n {image && {image.altText}/}\n {content &&
    {content}
    }\n
    \n
    );\n}\ninterface HelpPanelToggleProps {\n showToggle: boolean;\n open: boolean;\n onClick: () => void;\n}\nexport function HelpPanelToggle({ showToggle, open, onClick }: HelpPanelToggleProps) {\n if (open || !showToggle)\n return <>;\n return (\n \n );\n}\nconst animations = {\n slideIn: keyframes({\n \"0%\": {\n marginLeft: \"-40%\",\n transform: \"translateX(-60%)\",\n boxShadow: \"none\",\n },\n \"100%\": {\n marginLeft: 0,\n transform: \"translateX(0%)\",\n width: \"100%\",\n boxShadow: themeTokens.shadow.large,\n },\n }),\n slideOut: keyframes({\n \"0%\": {\n marginLeft: 0,\n transform: \"translateX(0%)\",\n boxShadow: themeTokens.shadow.large,\n },\n \"100%\": {\n marginLeft: \"-40%\",\n transform: \"translateX(-60%)\",\n boxShadow: \"none\",\n },\n }),\n};\nconst styles = {\n helpPanel: css({\n flex: \"auto\",\n position: \"relative\",\n overflow: \"hidden\",\n background: \"#122536\",\n borderRadius: `0 ${borderRadius.small} ${borderRadius.small} 0`,\n maxWidth: \"400px\",\n height: \"100%\",\n boxShadow: themeTokens.shadow.large,\n }),\n helpPanelFullScreen: css({\n backgroundColor: themeTokens.color.background.secondary.default,\n width: \"100%\",\n maxWidth: \"unset\",\n boxShadow: \"none\",\n }),\n helpPanelInvisible: (fullScreen: boolean = false) => {\n if (fullScreen) {\n return css({\n \"@media (max-width: 800px)\": {\n display: \"none\",\n },\n });\n }\n return css({\n \"@media (max-width: 1000px)\": {\n display: \"none\",\n },\n });\n },\n animateClose: css({\n animation: `${animations.slideOut} 0.35s forwards`,\n }),\n animateOpen: css({\n animation: `${animations.slideIn} 0.35s forwards`,\n }),\n displayNone: css({\n display: \"none\",\n }),\n toggleButton: css({\n position: \"absolute\",\n right: \"20px\",\n top: \"20px\",\n zIndex: 10,\n \"@media (max-width: 1000px)\": {\n visibility: \"hidden\",\n },\n }),\n cancelButton: css({\n position: \"absolute\",\n right: space[16],\n top: space[16],\n zIndex: 10,\n color: \"red\",\n height: \"20px\",\n width: \"20px\",\n }),\n content: css({\n display: \"block\",\n height: \"100%\",\n width: \"80.5%\",\n margin: \"auto\",\n padding: `${space[24]} 0`,\n color: \"white\",\n lineHeight: lineHeight.small,\n fontWeight: 400,\n fontSize: fontSize.base,\n }),\n contentFullScreen: css({\n width: \"100%\",\n padding: 0,\n color: themeTokens.color.text.primary,\n }),\n image: css({\n display: \"block\",\n width: \"80.5%\",\n margin: `${space[80]} auto 20px`,\n }),\n imageFullScreen: css({\n width: \"100%\",\n margin: `0 0 ${space[24]} 0`,\n }),\n size: (size: HelpPanelSize) => {\n switch (size) {\n case \"half\":\n return css({ \"&&\": { width: \"50%\", maxWidth: \"800px\" } });\n case \"third\":\n return css({ \"&&\": { width: \"40%\" } });\n }\n },\n contentWrapper: css({\n display: \"flex\",\n flexDirection: \"column\",\n alignItems: \"center\",\n width: \"100%\",\n }),\n background: css({\n backgroundColor: themeTokens.color.carousel.background.primary,\n }),\n};\n","import type { DependencyList, EffectCallback } from \"react\";\nimport { useEffect, useRef } from \"react\";\n// Similar to useEffect but won't run anything on first render\nexport function useDidUpdateEffect(effect: EffectCallback, deps?: DependencyList) {\n const didMountRef = useRef(false);\n useEffect(() => {\n if (!didMountRef.current) {\n didMountRef.current = true;\n }\n else {\n return effect();\n }\n }, \n // eslint-disable-next-line react-hooks/exhaustive-deps\n deps);\n}\n","import { css, cx } from \"@emotion/css\";\nimport { space, borderRadius, themeTokens } from \"@octopusdeploy/design-system-tokens\";\nimport type { PropsWithChildren } from \"react\";\nimport React from \"react\";\nimport { CustomDialog } from \"~/components/Dialog/CustomDialog\";\nimport CustomTransparentDialogFrame from \"~/components/OnboardingDialog/CustomTransparentDialogFrame\";\nimport type { HelpPanelImage, HelpPanelSize } from \"~/components/OnboardingDialog/HelpPanel\";\nimport { HelpPanel, HelpPanelToggle } from \"~/components/OnboardingDialog/HelpPanel\";\nimport useLocalStorage from \"~/hooks/useLocalStorage\";\nexport interface OnboardingDialogProps extends OnboardingDialogFrameProps {\n fullScreen?: boolean;\n open: boolean;\n close: (isCancel?: boolean) => void;\n}\nconst OnboardingDialog = ({ children, open, close, ...frameProps }: PropsWithChildren) => ( (\n {children}\n )}/>);\ninterface OnboardingDialogFrameProps {\n name: string;\n fullScreen?: boolean;\n contentPanelHeight?: 500 | 600;\n helpPanelContent?: React.ReactNode;\n helpPanelImage?: HelpPanelImage;\n helpPanelShowToggle?: boolean;\n helpPanelSize?: HelpPanelSize;\n helpPanelTheme?: \"light\" | \"dark\";\n onToggleHelp?: (open: boolean) => void;\n onCloseDialog?: () => void;\n // Do not use for new components\n useBackwardsCompatiblePadding?: boolean;\n}\nexport const OnboardingDialogFrame = (props: PropsWithChildren) => {\n const { children, helpPanelContent, helpPanelImage, fullScreen, onToggleHelp, onCloseDialog } = props;\n const shouldShowHelpPanelLocalStorageKey = `onboardingDialog.shouldShowHelpPanel.${props.name}`;\n const [showHelpPanel, setShowHelpPanel] = useLocalStorage(shouldShowHelpPanelLocalStorageKey, true);\n const helpPanelShowToggle = props.helpPanelShowToggle ?? true;\n const helpPanelSize = props.helpPanelSize ?? \"third\";\n const helpPanelTheme = props.helpPanelTheme ?? \"dark\";\n const contentPanelHeight = props.contentPanelHeight ?? 500;\n const useBackwardsCompatiblePadding = props.useBackwardsCompatiblePadding ?? false;\n const toggleHelpPanel = (show: boolean) => {\n onToggleHelp?.(show);\n setShowHelpPanel(show);\n };\n const closeDialog = () => {\n onCloseDialog?.();\n };\n const wrapperClassName = cx(styles.contentPanel, styles.contentPanelPadding(useBackwardsCompatiblePadding), styles.contentPanelHeight(contentPanelHeight), styles.contentPanelWidth(helpPanelSize));\n return !fullScreen ? (\n
    \n {children}\n toggleHelpPanel(true)}/>\n
    \n\n toggleHelpPanel(false)} showToggle={helpPanelShowToggle} open={showHelpPanel} theme={helpPanelTheme}/>\n
    ) : (<>{children});\n};\nexport default OnboardingDialog;\nconst styles = {\n contentPanel: css({\n display: \"flex\",\n flexDirection: \"row\",\n position: \"relative\",\n width: \"100%\",\n height: \"100%\",\n background: themeTokens.color.background.primary.default,\n borderRadius: borderRadius.small,\n margin: \"auto\",\n transition: \"transform 1s\",\n transform: \"translateX(0)\",\n zIndex: \"10\",\n boxShadow: themeTokens.shadow.large,\n }),\n contentPanelPadding: (useBackwardsCompatiblePadding: boolean) => css({ padding: useBackwardsCompatiblePadding ? `${space[12]} ${space[16]} ${space[32]} ${space[16]}` : 0 }),\n contentPanelHeight: (size: 500 | 600) => css({ minHeight: size }),\n contentPanelWidth: (size: HelpPanelSize) => {\n switch (size) {\n case \"half\":\n return css({\n \"@media (min-width: 600px)\": { width: \"75%\" },\n \"@media (min-width: 700px)\": { width: \"65%\" },\n \"@media (min-width: 800px)\": { width: \"55%\" },\n \"@media (min-width: 900px)\": { width: \"50%\" },\n });\n case \"third\":\n return css({\n \"@media (min-width: 600px)\": { width: \"90%\" },\n \"@media (min-width: 700px)\": { width: \"80%\" },\n \"@media (min-width: 800px)\": { width: \"70%\" },\n \"@media (min-width: 900px)\": { width: \"60%\" },\n });\n }\n },\n};\n","import ErrorPanel from \"./ErrorPanel\";\nexport default ErrorPanel;\n","import KeyboardHandler, { Key } from \"./KeyboardHandler\";\nexport { KeyboardHandler, Key };\nexport default KeyboardHandler;\n","import { css } from \"@emotion/css\";\nimport { LinearProgress } from \"@octopusdeploy/design-system-components\";\nimport { space } from \"@octopusdeploy/design-system-tokens\";\nimport React from \"react\";\nimport type { ReactNode } from \"react\";\nimport type { BusyState } from \"../BusyFromPromise/BusyFromPromise\";\nimport BusyFromPromise from \"../BusyFromPromise/BusyFromPromise\";\nimport type { Errors } from \"../DataBaseComponent\";\nimport ErrorPanel from \"../ErrorPanel\";\nimport KeyboardHandler, { Key } from \"../KeyboardHandler\";\nexport interface OnboardingDialogLayoutProps {\n title: ReactNode;\n children: ReactNode;\n actions: ReactNode;\n errors?: Errors | null;\n busy?: BusyState | null;\n onCloseDialog?: () => void;\n}\nexport function OnboardingDialogLayout({ title, children, actions, errors, busy, onCloseDialog }: OnboardingDialogLayoutProps) {\n const handleEscKeyPressed = () => {\n if (!onCloseDialog)\n return false;\n onCloseDialog();\n return true;\n };\n const keyboardRegistrations = [{ key: Key.Esc, onKeyPressed: handleEscKeyPressed }];\n return (\n \n {(busy: boolean) => (
    \n \n
    )}\n
    \n
    \n {title}\n {errors && }\n {children}\n
    \n
    {actions}
    \n
    \n
    \n
    );\n}\nconst styles = {\n layout: css({\n display: \"flex\",\n flexDirection: \"column\",\n }),\n progress: css({ position: \"absolute\", width: \"100%\", height: 4 }),\n content: css({\n display: \"flex\",\n flexDirection: \"column\",\n gap: space[16],\n margin: space[32],\n height: \"100%\",\n overflow: \"auto\",\n }),\n actionsContainer: css({\n display: \"flex\",\n flexDirection: \"column\",\n justifyContent: \"flex-end\",\n flexGrow: 1,\n }),\n actions: css({\n display: \"flex\",\n flexDirection: \"row\",\n justifyContent: \"flex-end\",\n gap: space[8],\n }),\n};\n","import { css } from \"@emotion/css\";\nimport { Button } from \"@octopusdeploy/design-system-components\";\nimport { space, text, themeTokens } from \"@octopusdeploy/design-system-tokens\";\nimport type { ReactNode } from \"react\";\nimport * as React from \"react\";\nimport { useState } from \"react\";\nimport type { HelpPanelImage } from \"~/components/OnboardingDialog/HelpPanel\";\nimport type { OnboardingDialogProps } from \"~/components/OnboardingDialog/OnboardingDialog\";\nimport OnboardingDialog from \"~/components/OnboardingDialog/OnboardingDialog\";\nimport type { OnboardingDialogLayoutProps } from \"~/components/OnboardingDialog/OnboardingDialogLayout\";\nimport { OnboardingDialogLayout } from \"~/components/OnboardingDialog/OnboardingDialogLayout\";\ninterface PagedOnboardingDialogProps extends OnboardingDialogProps {\n showPageIndicator: boolean;\n pages: PagedOnboardingDialogPageData[];\n defaultTitle?: ReactNode;\n onClosingDialog?: () => void;\n completeButtonText?: string;\n hidePreviousButton: boolean;\n hideCompleteButton: boolean;\n}\nexport interface PagedOnboardingDialogPageData extends Omit {\n name: string;\n title?: ReactNode | string;\n render: () => ReactNode;\n onCloseDialog?: () => void;\n helpPanelContent?: ReactNode;\n helpPanelImage?: HelpPanelImage;\n helpPanelHeight?: 500 | 600;\n onMovingToNextPage?: () => Promise;\n isPageModelValid?: () => Promise;\n isBusy?: boolean;\n customPrimaryButton?: ReactNode;\n alwaysShowCancelButton?: boolean;\n alwaysShowCloseButton?: boolean;\n onlyShowCloseButton?: boolean;\n}\ninterface PageNavigation {\n currentPageData: PagedOnboardingDialogPageData;\n isCurrentPageModelValid: () => Promise;\n canMoveToNext: boolean;\n canMoveToPrevious: boolean;\n moveToNextPage: () => Promise;\n moveToPreviousPage: () => void;\n moveToFirstPage: () => void;\n}\nconst usePageNavigation = (pages: PagedOnboardingDialogPageData[]): PageNavigation => {\n const [currentPageIndex, setCurrentPageIndex] = useState(0);\n const currentPageData = pages[currentPageIndex];\n const canMoveToNext = currentPageIndex < pages.length - 1;\n const canMoveToPrevious = currentPageIndex > 0;\n const isCurrentPageModelValid = async () => (currentPageData.isPageModelValid === undefined ? true : await currentPageData.isPageModelValid());\n const moveToNextPage = async () => {\n if (canMoveToNext && (await isCurrentPageModelValid())) {\n await currentPageData.onMovingToNextPage?.();\n setCurrentPageIndex((prevIndex) => prevIndex + 1);\n }\n };\n const moveToPreviousPage = () => {\n if (canMoveToPrevious) {\n setCurrentPageIndex((prevIndex) => prevIndex - 1);\n }\n };\n const moveToFirstPage = () => {\n setCurrentPageIndex(0);\n };\n return {\n currentPageData,\n isCurrentPageModelValid,\n canMoveToNext,\n canMoveToPrevious,\n moveToNextPage,\n moveToPreviousPage,\n moveToFirstPage,\n };\n};\n/**\n * This adds basic paging to the OnboardingDialog component. This supports props for OnboardingDialog changing for each page, which doesn't cleanly fit into the existing standard OnboardingDialog/OnboardingDialogLayout pattern.\n * After a couple of iterations I have decided to keep this simple, and let any future users sculpt it into a more powerful component as needed.\n * Things like per-page actions, or extra render context for each page can be easily added if needed.\n * See areas/infrastructure/components/MachineSettings/Endpoints/KubernetesTentacle/ConfigurationDialog.tsx for an example of its use.\n * @param props\n */\nexport const PagedOnboardingDialog = (props: PagedOnboardingDialogProps) => {\n const pageNavigation = usePageNavigation(props.pages);\n const closeDialog = async (isCancel: boolean = false) => {\n if (isCancel || (await pageNavigation.isCurrentPageModelValid())) {\n pageNavigation.currentPageData.onCloseDialog?.();\n props.onClosingDialog?.();\n pageNavigation.moveToFirstPage();\n props.close(isCancel);\n }\n };\n const commonActions = () => {\n const showCloseButton = pageNavigation.currentPageData.alwaysShowCloseButton;\n const onlyShowCloseButton = pageNavigation.currentPageData.onlyShowCloseButton;\n const showBackButton = !onlyShowCloseButton && !props.hidePreviousButton && pageNavigation.canMoveToPrevious;\n const showCancelButton = !showCloseButton && (!showBackButton || pageNavigation.currentPageData.alwaysShowCancelButton);\n const backButtonImportance = showBackButton && showCancelButton ? \"secondary\" : \"quiet\";\n const cancelButtonImportance = showBackButton && showCancelButton ? \"quiet\" : \"secondary\";\n const showNextButton = !onlyShowCloseButton && pageNavigation.canMoveToNext;\n const showCompleteButton = !onlyShowCloseButton && !pageNavigation.canMoveToNext && !props.hideCompleteButton && (props.completeButtonText || !showCloseButton);\n return (<>\n {showCancelButton && \n
    )}\n {!hideHelmCommand && (<>\n setSelectedLanguage(syntax),\n }}/>\n \n Use of the {props.machineType === EndpointSelectionScope.Worker ? \"worker\" : \"Kubernetes agent\"} is subject to our Customer Agreement with you.\n \n )}\n {isFound && }\n {!hideTargetSearch && !tokenExpiredAndHaveGivenUp && }\n );\n}\n","import { CaretDownIcon } from \"@octopusdeploy/design-system-icons\";\nimport * as React from \"react\";\nexport function DropDownIcon() {\n return ;\n}\n","import { ActionButton, ActionButtonType, SimpleMenu, Tooltip, useMenuState } from \"@octopusdeploy/design-system-components\";\nimport { Environment } from \"@octopusdeploy/utilities\";\nimport { useMemo } from \"react\";\nimport * as React from \"react\";\nimport { DropDownIcon } from \"~/components/Button/DropDownIcon/DropDownIcon\";\ntype LocalDevServerUrlHelperProps = {\n onServerAddressesChanged: (serverUri: string, serverCommsAddress: string, grpcUri: string) => void;\n};\nexport const LocalDevServerUrlHelper = (props: LocalDevServerUrlHelperProps) => {\n const [openMenu, menuState, buttonAriaAttributes] = useMenuState();\n const backendUrl = useMemo(() => {\n const serverUrl = new URL(window.location.href).searchParams.get(\"octopus.server\");\n return new URL(serverUrl || \"http://localhost:8066\");\n }, []);\n //if this is not development mode, return nothing\n if (!Environment.isInDevelopmentMode()) {\n return null;\n }\n const updateAddresses = (type: \"DockerDesktop\" | \"Kind\" | \"Minikube\" | \"Colima\") => {\n let domain = \"localhost\";\n switch (type) {\n case \"DockerDesktop\":\n domain = \"host.docker.internal\";\n break;\n case \"Kind\":\n domain = \"dockerhost.default.svc.cluster.local\";\n break;\n case \"Minikube\":\n domain = \"host.minikube.internal\";\n break;\n case \"Colima\":\n domain = \"host.lima.internal\";\n break;\n }\n props.onServerAddressesChanged(`${backendUrl.protocol}//${domain}:${backendUrl.port}/`, `http://${domain}:10943/`, `grpc://${domain}:8443`);\n };\n return (\n <>\n } iconPosition=\"right\" label=\"DEV: Change Server URLs for a local cluster\" onClick={openMenu} menuButtonAttributes={buttonAriaAttributes}/>\n updateAddresses(\"DockerDesktop\"),\n },\n {\n type: \"button\",\n label: \"Kind\",\n onClick: () => updateAddresses(\"Kind\"),\n },\n {\n type: \"button\",\n label: \"Minikube\",\n onClick: () => updateAddresses(\"Minikube\"),\n },\n {\n type: \"button\",\n label: \"Colima\",\n onClick: () => updateAddresses(\"Colima\"),\n },\n ]} accessibleName={\"LocalDevServerUrlButton\"} compact={true}/>\n \n );\n};\n","import { css } from \"@emotion/css\";\nimport { PopoverBasicHelp } from \"@octopusdeploy/design-system-components\";\nimport { space } from \"@octopusdeploy/design-system-tokens\";\nimport React from \"react\";\nimport { EndpointSelectionScope } from \"~/areas/infrastructure/components/MachineSettings/Endpoints/endpointRegistry\";\nimport ExternalLink from \"~/components/Navigation/ExternalLink/index\";\nconst styles = {\n bulletList: css({\n listStylePosition: \"outside\",\n listStyleType: \"disc\",\n paddingLeft: space[24],\n }),\n};\nexport const StorageContextualHelp = (props: {\n machineType: EndpointSelectionScope;\n}) => (\n
    \n The Kubernetes {props.machineType === EndpointSelectionScope.Worker ? \"worker\" : \"agent\"} uses NFS by default, but you can provide any Storage Class that supports the ReadWriteMany access mode.\n
    \n
    \n Consider using your own Storage Class for scenarios where:\n
      \n
    • You remove or restart cluster nodes often
    • \n
    • Privileged containers aren't allowed
    • \n
    \n
    \n } link1={Learn more}/>);\n","import { css } from \"@emotion/css\";\nimport { Button } from \"@octopusdeploy/design-system-components\";\nimport { space } from \"@octopusdeploy/design-system-tokens\";\nimport type { SpaceResource } from \"@octopusdeploy/octopus-server-client\";\nimport type { ReactElement } from \"react\";\nimport * as React from \"react\";\nimport type { NameConfigurationMessages } from \"~/areas/infrastructure/components/MachineSettings/Endpoints/KubernetesAgent/ConfigurationDialog\";\nimport { ConfigurationMessages } from \"~/areas/infrastructure/components/MachineSettings/Endpoints/KubernetesAgent/ConfigurationMessages\";\nimport { LocalDevServerUrlHelper } from \"~/areas/infrastructure/components/MachineSettings/Endpoints/KubernetesAgent/LocalDevServerUrlHelper\";\nimport { StorageContextualHelp } from \"~/areas/infrastructure/components/MachineSettings/Endpoints/KubernetesAgent/StorageContextualHelp\";\nimport type { EndpointSelectionScope } from \"~/areas/infrastructure/components/MachineSettings/Endpoints/endpointRegistry\";\nimport { required, Text } from \"~/components/form/index\";\nimport StringHelper from \"~/utils/StringHelper/index\";\nexport interface BaseConfiguration {\n Space: SpaceResource | undefined;\n Name: string;\n ServerUri: string;\n ServerNodeCommsAddresses: {\n nodeName: string;\n commsAddress: string;\n }[];\n AccessToken: string;\n StorageClassName: string;\n ServerGrpcUri: string;\n}\ntype ConfigurationPageProps = {\n configuration: BaseConfiguration;\n onConfigurationChange: (configuration: Pick) => void;\n customFormComponents?: ReactElement;\n customAdvancedComponents?: ReactElement;\n canModifyServerUrls: boolean;\n showAdvanced: boolean;\n toggleShowAdvanced: () => void;\n getFieldError: (fieldName: string) => string;\n usePersistentVolumeStorage: boolean;\n onUsePersistentVolumeStorageChanged: (value: boolean) => void;\n requiresHaConfiguration: boolean;\n nameErrorMessages: NameConfigurationMessages;\n storageClassHelperText: string | JSX.Element;\n};\nconst showAdvancedButtonStyle = css({\n alignSelf: \"flex-start\",\n margin: `${space[8]} 0`,\n});\nexport function ConfigurationPage(props: ConfigurationPageProps) {\n const { getFieldError } = props;\n return (<>\n props.onConfigurationChange({ Name })} label={\"Name\"} error={getFieldError(\"Name\")} validate={required(props.nameErrorMessages.Validation.NotProvided)} autoFocus={true}/>\n\n {props.customFormComponents && props.customFormComponents}\n\n {props.canModifyServerUrls && ( {\n if (!props.showAdvanced) {\n props.toggleShowAdvanced();\n }\n props.onConfigurationChange({\n ServerUri: serverUri,\n ServerNodeCommsAddresses: [{ nodeName: \"\", commsAddress: serverCommsAddress }],\n ServerGrpcUri: grpcUri,\n });\n }}/>)}\n\n {
    \n
    }\n {props.showAdvanced && (<>\n {props.customAdvancedComponents && props.customAdvancedComponents}\n\n {\n props.onConfigurationChange({ StorageClassName: val });\n props.onUsePersistentVolumeStorageChanged(!StringHelper.isNullOrWhiteSpace(val));\n }} helperText={props.storageClassHelperText} label={\"Storage class\"}/>\n\n {props.canModifyServerUrls && (<>\n props.onConfigurationChange({ ServerUri })} error={getFieldError(\"ServerUri\")} label=\"Octopus Deploy Server URL\" helperText={ConfigurationMessages.ServerUri.HelperText} validate={required(ConfigurationMessages.ServerUri.Validation.NotProvided)}/>\n props.onConfigurationChange({ ServerGrpcUri })} error={getFieldError(\"ServerGrpcUri\")} label=\"Octopus Deploy Server gRPC URL\" helperText={ConfigurationMessages.ServerGrpcUri.HelperText} validate={required(ConfigurationMessages.ServerGrpcUri.Validation.NotProvided)}/>\n {!props.requiresHaConfiguration && ( props.onConfigurationChange({ ServerNodeCommsAddresses: [{ nodeName: \"\", commsAddress }] })} error={getFieldError(\"ServerNodeCommsAddresses\")} label=\"Octopus Deploy Server Communications URL\" helperText={ConfigurationMessages.ServerCommsAddresses.HelperText} validate={required(ConfigurationMessages.ServerCommsAddresses.Validation.NotProvided)}/>)}\n )}\n )}\n );\n}\nexport const ConfigurationPageStorageClassHelperContent = (machineType: EndpointSelectionScope) => (\n Provide a Storage Class or leave this blank to use the default NFS storage\n );\n","/* eslint-disable @typescript-eslint/no-non-null-assertion */\nimport { useTrackEvent } from \"@octopusdeploy/portal-analytics\";\nimport * as React from \"react\";\nimport { RoleChip } from \"~/components/Chips\";\nimport { MultiSelect } from \"~/components/MultiSelect/MultiSelect\";\nimport { createAddNewTargetTagEvent } from \"~/components/MultiSelect/TargetTagMultiSelect.analytics\";\nimport type { SelectItem } from \"~/components/VirtualListWithKeyboard/SelectItem\";\nimport type { FormFieldProps } from \"~/components/form\";\nimport type { FocusableComponent } from \"../VirtualListWithKeyboard/FocusableComponent\";\ninterface TargetTagMultiSelectProps extends FormFieldProps {\n items: string[];\n canAdd?: boolean;\n openOnFocus?: boolean;\n autoFocus?: boolean;\n label?: string | JSX.Element;\n empty?: React.ReactNode;\n error?: string;\n hideFloatingLabel?: boolean;\n accessibleName?: string;\n validate?(value: string[]): string;\n analyticsArea?: string;\n multiSelectRef?(component: FocusableComponent | null): void;\n}\nconst TargetTagTypedMultiSelect = MultiSelect();\nexport const TargetTagMultiSelect: React.FC = (props) => {\n const trackEvent = useTrackEvent();\n const onAdd = (value: string) => {\n props.onChange!(props.value!.concat(value));\n // TODO: should we track role names?\n trackEvent(createAddNewTargetTagEvent(props.analyticsArea));\n };\n const chipRenderer = (r: SelectItem, onRequestDelete: () => void) => {\n return ;\n };\n const addNewTemplate = (text: string) => (
    \n
    \n Press Enter to create \"{text}\"\n
    \n
    );\n return ( ({ Id: i, Name: i }))} fieldName=\"target tags\" label={props.label} renderChip={chipRenderer} onNew={props.canAdd ? onAdd : null!} value={props.value} onChange={props.onChange} error={props.error} helperText={props.helperText} openOnFocus={props.openOnFocus} autoFocus={props.autoFocus} hideFloatingLabel={props.hideFloatingLabel} addNewTemplate={addNewTemplate} accessibleName={props.accessibleName} empty={props.empty} multiSelectRef={props.multiSelectRef} addNewOnBlur={true} disabled={props.disabled}/>);\n};\nTargetTagMultiSelect.displayName = \"TargetTagMultiSelect\"\n","import type { AnalyticsEvent } from \"@octopusdeploy/portal-analytics\";\nexport function createAddNewTargetTagEvent(area: string | undefined): AddNewTargetTagEvent {\n return {\n eventName: \"Add New Target Tag\",\n Area: area,\n Element: \"Multiselect\",\n };\n}\ninterface AddNewTargetTagEvent extends AnalyticsEvent<\"Add New Target Tag\"> {\n Area?: string;\n Element: \"Multiselect\";\n}\n","import { css } from \"@emotion/css\";\nimport { text } from \"@octopusdeploy/design-system-tokens\";\nimport type { EnvironmentResource } from \"@octopusdeploy/octopus-server-client\";\nimport * as React from \"react\";\nimport { ConfigurationMessages } from \"~/areas/infrastructure/components/MachineSettings/Endpoints/KubernetesAgent/ConfigurationMessages\";\nimport { ConfigurationPage, ConfigurationPageStorageClassHelperContent } from \"~/areas/infrastructure/components/MachineSettings/Endpoints/KubernetesAgent/ConfigurationPage\";\nimport type { TargetConfigurationResource } from \"~/areas/infrastructure/components/MachineSettings/Endpoints/KubernetesAgent/KubernetesAgentTargetConfigurationDialog\";\nimport { EndpointSelectionScope } from \"~/areas/infrastructure/components/MachineSettings/Endpoints/endpointRegistry\";\nimport { EnvironmentMultiSelect } from \"~/components/MultiSelect/EnvironmentMultiSelect\";\nimport { TargetTagMultiSelect } from \"~/components/MultiSelect/TargetTagMultiSelect\";\nimport { Text } from \"~/components/form/index\";\ntype TargetConfigurationPageProps = {\n model: TargetConfigurationResource;\n onModelChange: (model: Pick) => void;\n environments: EnvironmentResource[];\n machineRoles: string[];\n canModifyServerUrls: boolean;\n showAdvanced: boolean;\n toggleShowAdvanced: () => void;\n getFieldError: (fieldName: string) => string;\n usePersistentVolumeStorage: boolean;\n onUsePersistentVolumeStorageChanged: (value: boolean) => void;\n requiresHaConfiguration: boolean;\n};\nexport function TargetConfigurationPage(props: TargetConfigurationPageProps) {\n const { getFieldError } = props;\n return ( props.onModelChange({ ...props.model, ...configuration })} canModifyServerUrls={props.canModifyServerUrls} showAdvanced={props.showAdvanced} toggleShowAdvanced={props.toggleShowAdvanced} getFieldError={getFieldError} usePersistentVolumeStorage={props.usePersistentVolumeStorage} onUsePersistentVolumeStorageChanged={props.onUsePersistentVolumeStorageChanged} requiresHaConfiguration={props.requiresHaConfiguration} nameErrorMessages={ConfigurationMessages.Name.DeploymentTarget} storageClassHelperText={ConfigurationPageStorageClassHelperContent(EndpointSelectionScope.DeploymentTarget)} customFormComponents={<>\n props.onModelChange({ EnvironmentIds })} helperText={getFieldError(\"EnvironmentIds\") ? \"\" : ConfigurationMessages.EnvironmentIds.HelperText} value={props.model.EnvironmentIds} label=\"Environments\"/>\n props.onModelChange({ MachineRoles })} error={getFieldError(\"MachineRoles\")} value={props.model.MachineRoles} canAdd={true} helperText={ConfigurationMessages.MachineRoles.HelperText} label=\"Target tags\" analyticsArea=\"Kubernetes Agent Configuration\" empty={props.machineRoles.length === 0 && props.model.MachineRoles.length === 0 ? (
    \n Create your first target tag, for example acme-web-server\n
    ) : (
    Add a new target tag
    )}/>\n } customAdvancedComponents={ props.onModelChange({ DefaultNamespace: n })} placeholder=\"default\" error={props.getFieldError(\"DefaultNamespace\")} label=\"Default Kubernetes namespace\" helperText=\"Default namespace can be overridden by your step configuration and YAML\"/>}/>);\n}\nconst styles = {\n targetRolesEmptyStyles: css({\n font: text.body.regular.medium,\n }),\n};\n","/**\n * DNS labels can only be lowercase alphanumeric (with hyphens), and can't start/end with hyphens.\n * See https://kubernetes.io/docs/concepts/overview/working-with-objects/names/#dns-label-names\n * Note that Helm has slightly different requirements in certain circumstances. For example, release names\n * can only be a max of 53 characters.\n * @param value\n * @param maxLength\n */\nexport function getAsValidDnsLabel(value: string, maxLength: number = 63) {\n return value\n .replace(/[^0-9a-z-]/gi, \"\") // Only alphanumeric and hyphens\n .replace(/^-+|-+$/g, \"\") // No hyphens at start or end.\n .toLowerCase()\n .substring(0, maxLength);\n}\n// Release names have a max length of 53, see https://helm.sh/docs/chart_template_guide/getting_started/#adding-a-simple-template-call\nexport function getValidReleaseName(agentName: string) {\n return getAsValidDnsLabel(agentName, 53);\n}\nexport function getValidAgentName(agentName: string) {\n return escapeAllDoubleQuotes(agentName).trim();\n}\nexport function escapeAllDoubleQuotes(value: string) {\n return value.replace(/\"/g, \"\\\\\\\"\");\n}\nexport function generateAgentAsTargetNamespace(agentName: string): string {\n const validAgentName = getValidAgentName(agentName);\n return getAsValidDnsLabel(`octopus-agent-${validAgentName}`);\n}\nexport function generateAgentAsWorkerNamespace(agentName: string): string {\n const validAgentName = getValidAgentName(agentName);\n return getAsValidDnsLabel(`octopus-worker-${validAgentName}`);\n}\nexport function generateReleaseName(agentName: string): string {\n return getValidReleaseName(agentName);\n}\n","export class HelmSetValue {\n Key!: string;\n Value!: string;\n constructor(key: string, value: string) {\n this.Key = key;\n this.Value = value;\n }\n public asString(newLine: string): string {\n return `--set ${this.Key.trim()}=\"${this.Value.trim()}\" ${newLine}`;\n }\n}\nexport class KubernetesAgentInstallationCommandBuilder {\n private readonly newLine: string;\n private readonly commandHeadTokens: string[];\n private readonly commandTailTokens: string[];\n private readonly commonHelmSetValues: HelmSetValue[] = [new HelmSetValue(\"agent.acceptEula\", \"Y\")];\n private readonly releaseSpecificSetValues: HelmSetValue[] = [];\n constructor(version: string, namespace: string, releaseName: string, registryUrl: string, lineBreakCharacter: string) {\n this.newLine = `${lineBreakCharacter}\\n`;\n this.commandHeadTokens = [\"helm upgrade --install --atomic \", this.newLine, `--create-namespace --namespace ${namespace} `, this.newLine, `--version \"${version}\" `, this.newLine];\n this.commandTailTokens = [releaseName, \" \", this.newLine, registryUrl];\n }\n public withCommonHelmSetValues(spaceName: string, serverUrl: string, serverCommsAddress: string, bearerToken: string): KubernetesAgentInstallationCommandBuilder {\n this.commonHelmSetValues.push(new HelmSetValue(\"agent.space\", spaceName));\n this.commonHelmSetValues.push(new HelmSetValue(\"agent.serverUrl\", serverUrl));\n this.commonHelmSetValues.push(new HelmSetValue(\"agent.serverCommsAddresses\", `{${serverCommsAddress}}`));\n this.commonHelmSetValues.push(new HelmSetValue(\"agent.bearerToken\", bearerToken));\n return this;\n }\n public withReleaseSpecificSetValues(setValues: HelmSetValue[]) {\n setValues\n .filter((kvp) => kvp.Key.trim() !== \"\" && kvp.Value.trim() !== \"\")\n .forEach((v) => {\n this.releaseSpecificSetValues.push(v);\n });\n return this;\n }\n public toCommandString(): string {\n const allTokens = this.commandHeadTokens\n .concat(this.commonHelmSetValues.map((kv) => kv.asString(this.newLine)))\n .concat(this.releaseSpecificSetValues.map((kv) => kv.asString(this.newLine)))\n .concat(this.commandTailTokens);\n return allTokens.join(\"\").trim();\n }\n}\n","import type { EnvironmentResource, IId, ResourceWithSlug, WorkerPoolResource } from \"@octopusdeploy/octopus-server-client\";\nimport { ScriptingLanguage } from \"@octopusdeploy/octopus-server-client\";\nimport type { BaseConfiguration } from \"~/areas/infrastructure/components/MachineSettings/Endpoints/KubernetesAgent/ConfigurationPage\";\nimport { escapeAllDoubleQuotes, generateAgentAsTargetNamespace, generateAgentAsWorkerNamespace, generateReleaseName, getValidAgentName } from \"~/areas/infrastructure/components/MachineSettings/Endpoints/KubernetesAgent/KubernetesAgentHelperMethods\";\nimport type { TargetConfigurationResource } from \"~/areas/infrastructure/components/MachineSettings/Endpoints/KubernetesAgent/KubernetesAgentTargetConfigurationDialog\";\nimport type { WorkerConfigurationResource } from \"~/areas/infrastructure/components/MachineSettings/Endpoints/KubernetesAgent/KubernetesAgentWorkerConfigurationDialog\";\nimport type { Language, TextFormat } from \"~/components/CodeEditor/CodeEditor\";\nimport { HelmSetValue, KubernetesAgentInstallationCommandBuilder } from \"./KubernetesAgentInstallationCommandBuilder\";\ntype ResourceWithSlugAndId = ResourceWithSlug & IId;\n// This value represents the highest major version of the Kubernetes Agent Helm Chart\n// that is supported by this version of Server.\n// If this value is being bumped, please also bump the value in the backend:\n// KubernetesAgentUpgradeManager.LatestSupportedMajorVersion\n// Note that while the \"kubernetes-agent-as-worker\" feature flag is in use, this isn't used.\nconst kubernetesAgentLatestSupportedMajorVersion = 2;\nconst registryUrl: string = \"oci://registry-1.docker.io/octopusdeploy/kubernetes-agent\";\nfunction getSlugsForIds(resourceIds: string[], resources: ResourceWithSlugAndId[]) {\n return resourceIds\n .map((id) => resources.find((res) => res.Id === id)?.Slug ?? \"\")\n .filter((slug) => slug !== \"\") // This shouldn't do anything, because slugs are required on environments\n .join(\",\");\n}\nfunction getMachineTagsList(machineTags: string[]) {\n // Machine tags can contain double quotes, so we'll escape them so they don't break the helm command\n return machineTags.map((mr) => escapeAllDoubleQuotes(mr)).join(\",\");\n}\nfunction validateModel(model: BaseConfiguration) {\n if (!model.Space) {\n throw new Error(\"Attempted to render Kubernetes Agent Configuration Dialog outside of a space. This should never happen.\");\n }\n}\nfunction createHelmCommand(language: ScriptingLanguage | Language | TextFormat, model: BaseConfiguration, namespace: string, releaseSpecificValues: HelmSetValue[]) {\n validateModel(model);\n const lineBreak = language === ScriptingLanguage.Bash ? \"\\\\\" : \"`\";\n const releaseName = generateReleaseName(model.Name);\n const storageClassName = model.StorageClassName.trim();\n if (!!storageClassName) {\n releaseSpecificValues.push(new HelmSetValue(\"persistence.storageClassName\", storageClassName));\n }\n return (new KubernetesAgentInstallationCommandBuilder(`${kubernetesAgentLatestSupportedMajorVersion}.*.*`, namespace, releaseName, registryUrl, lineBreak)\n //eslint-disable-next-line @typescript-eslint/no-non-null-assertion\n .withCommonHelmSetValues(model.Space!.Name, model.ServerUri, model.ServerNodeCommsAddresses.map((n) => n.commsAddress).join(\",\"), model.AccessToken)\n .withReleaseSpecificSetValues(releaseSpecificValues)\n .toCommandString());\n}\nexport function createTargetHelmCommand(language: ScriptingLanguage | Language | TextFormat, model: TargetConfigurationResource, environments: EnvironmentResource[], enableMonitor: boolean) {\n validateModel(model);\n const machineTags = getMachineTagsList(model.MachineRoles);\n const environmentSlugs = getSlugsForIds(model.EnvironmentIds, environments);\n const defaultNamespace = model.DefaultNamespace.trim();\n const agentName = getValidAgentName(model.Name);\n const namespace = generateAgentAsTargetNamespace(model.Name);\n const targetSpecificValues: HelmSetValue[] = [];\n //add target specific values\n targetSpecificValues.push(new HelmSetValue(\"agent.name\", agentName));\n targetSpecificValues.push(new HelmSetValue(\"agent.deploymentTarget.initial.environments\", `{${environmentSlugs}}`));\n targetSpecificValues.push(new HelmSetValue(\"agent.deploymentTarget.initial.tags\", `{${machineTags}}`));\n targetSpecificValues.push(new HelmSetValue(\"agent.deploymentTarget.enabled\", \"true\"));\n if (defaultNamespace) {\n targetSpecificValues.push(new HelmSetValue(\"agent.deploymentTarget.initial.defaultNamespace\", defaultNamespace));\n }\n if (enableMonitor) {\n // add monitor installation values\n targetSpecificValues.push(new HelmSetValue(\"kubernetesMonitor.enabled\", \"true\"));\n targetSpecificValues.push(new HelmSetValue(\"kubernetesMonitor.registration.serverApiUrl\", model.ServerUri));\n targetSpecificValues.push(new HelmSetValue(\"kubernetesMonitor.monitor.serverGrpcUrl\", model.ServerGrpcUri));\n targetSpecificValues.push(new HelmSetValue(\"kubernetesMonitor.registration.serverAccessToken\", model.AccessToken));\n //eslint-disable-next-line @typescript-eslint/no-non-null-assertion\n targetSpecificValues.push(new HelmSetValue(\"kubernetesMonitor.registration.spaceId\", model.Space!.Id));\n targetSpecificValues.push(new HelmSetValue(\"kubernetesMonitor.registration.machineName\", agentName));\n }\n return createHelmCommand(language, model, namespace, targetSpecificValues);\n}\nexport function createWorkerHelmCommand(language: ScriptingLanguage | Language | TextFormat, model: WorkerConfigurationResource, workerPools: WorkerPoolResource[]) {\n const workerPoolSlugs = getSlugsForIds(model.WorkerPools, workerPools);\n const agentName = getValidAgentName(model.Name);\n const namespace = generateAgentAsWorkerNamespace(model.Name);\n const workerSpecificHelmValues: HelmSetValue[] = [new HelmSetValue(\"agent.name\", agentName), new HelmSetValue(\"agent.worker.enabled\", \"true\"), new HelmSetValue(\"agent.worker.initial.workerPools\", `{${workerPoolSlugs}}`)];\n return createHelmCommand(language, model, namespace, workerSpecificHelmValues);\n}\n","import { ActionButton, ActionButtonType } from \"@octopusdeploy/design-system-components\";\nimport type { MachineModelHealthStatus, DeploymentTargetResource, EnvironmentResource } from \"@octopusdeploy/octopus-server-client\";\nimport { MachineModelHealthStatusValues } from \"@octopusdeploy/octopus-server-client\";\nimport { links } from \"@octopusdeploy/portal-routes\";\nimport * as React from \"react\";\nimport type { ConfigurationProps, ConfigurationState } from \"~/areas/infrastructure/components/MachineSettings/Endpoints/KubernetesAgent/ConfigurationDialog\";\nimport { ConfigurationDialog } from \"~/areas/infrastructure/components/MachineSettings/Endpoints/KubernetesAgent/ConfigurationDialog\";\nimport { NfsDriverInstallationHelpContent, TargetConfigurationHelpContent, targetConfigurationHelpImage, targetNfsDriverInstallationHelpImage, TentacleInstallationHelpContent, tentacleInstallationHelpImage, } from \"~/areas/infrastructure/components/MachineSettings/Endpoints/KubernetesAgent/ConfigurationDialogHelp\";\nimport { ConfigurationMessages } from \"~/areas/infrastructure/components/MachineSettings/Endpoints/KubernetesAgent/ConfigurationMessages\";\nimport type { BaseConfiguration } from \"~/areas/infrastructure/components/MachineSettings/Endpoints/KubernetesAgent/ConfigurationPage\";\nimport { InstallationPage } from \"~/areas/infrastructure/components/MachineSettings/Endpoints/KubernetesAgent/InstallationPage\";\nimport { TargetConfigurationPage } from \"~/areas/infrastructure/components/MachineSettings/Endpoints/KubernetesAgent/TargetConfigurationPage\";\nimport { createTargetHelmCommand } from \"~/areas/infrastructure/components/MachineSettings/Endpoints/KubernetesAgent/createHelmCommand\";\nimport { EndpointSelectionScope } from \"~/areas/infrastructure/components/MachineSettings/Endpoints/endpointRegistry\";\nimport { repository } from \"~/clientInstance\";\nimport { isFeatureToggleEnabled } from \"~/components/FeatureToggle/New/FeatureToggleContext\";\nimport type { PagedOnboardingDialogPageData } from \"~/components/OnboardingDialog/PagedOnboardingDialog\";\nimport { useOctopusFeatureToggle } from \"~/hooks/useOctopusFeatureToggle\";\nimport StringHelper from \"~/utils/StringHelper/index\";\ntype TargetFieldErrors = {\n [K in keyof TargetConfigurationResource]?: string;\n};\ninterface TargetConfigurationState extends ConfigurationState {\n environments: EnvironmentResource[];\n machineRoles: string[];\n foundDeploymentTarget?: DeploymentTargetResource;\n}\nexport interface TargetConfigurationResource extends BaseConfiguration {\n EnvironmentIds: string[];\n MachineRoles: string[];\n DefaultNamespace: string;\n}\nexport function KubernetesAgentTargetConfigurationDialog(props: ConfigurationProps) {\n const helmChartMajorVersion = 2;\n const kubernetesMonitorEnabled = useOctopusFeatureToggle(\"kubernetes-monitor\", false) && isFeatureToggleEnabled(\"KubernetesLiveObjectStatusFeatureToggle\");\n return ;\n}\nexport type HelmChartMajorVersion = 1 | 2;\nexport type AgentTargetConfigDialogProps = ConfigurationProps & {\n helmChartMajorVersion: HelmChartMajorVersion;\n} & {\n kubernetesMonitorEnabled: boolean;\n};\nexport class KubernetesAgentTargetConfigurationDialogInternal extends ConfigurationDialog {\n constructor(props: AgentTargetConfigDialogProps) {\n super(props, EndpointSelectionScope.DeploymentTarget, ConfigurationMessages.Name.DeploymentTarget);\n }\n onDeploymentTargetFound = (target: DeploymentTargetResource) => {\n this.setState({ foundDeploymentTarget: target });\n };\n onDeploymentTargetHealthStatusUpdated = (target: DeploymentTargetResource) => {\n this.setState({ foundDeploymentTarget: target });\n };\n override initialModel() {\n return {\n ...this.getInitialBaseModel(),\n EnvironmentIds: [],\n MachineRoles: [],\n DefaultNamespace: \"\",\n };\n }\n override initialiseState() {\n this.state = {\n ...this.initialBaseState,\n environments: [],\n machineRoles: [],\n };\n }\n override async loadMachineTypeSpecificData() {\n const environmentsPromise = repository.Environments.all();\n const machineRolesPromise = repository.MachineRoles.all();\n this.setState({\n environments: await environmentsPromise,\n machineRoles: await machineRolesPromise,\n });\n }\n override async validateMachineTypeSpecificData(model: TargetConfigurationResource, fieldErrors: TargetFieldErrors): Promise {\n if (StringHelper.isNullOrWhiteSpace(model.Name)) {\n fieldErrors.Name = this.nameErrorMessages.Validation.NotProvided;\n }\n else {\n const existingMachine = await repository.Machines.list({ name: this.state.model.Name });\n if (existingMachine.TotalResults > 0) {\n fieldErrors.Name = this.nameErrorMessages.Validation.AlreadyExists;\n }\n }\n if (model.EnvironmentIds.length === 0) {\n fieldErrors.EnvironmentIds = ConfigurationMessages.EnvironmentIds.Validation.NotProvided;\n }\n if (model.MachineRoles.length === 0) {\n fieldErrors.MachineRoles = ConfigurationMessages.MachineRoles.Validation.NotProvided;\n }\n }\n override machineIsFound() {\n return !!this.state.foundDeploymentTarget;\n }\n override machineHealthStatus(): MachineModelHealthStatus | undefined {\n return this.state.foundDeploymentTarget?.HealthStatus;\n }\n override getLinkToMachine() {\n if (this.state.foundDeploymentTarget) {\n // eslint-disable-next-line @typescript-eslint/no-non-null-assertion\n return links.deploymentTargetSettingsPage.generateUrl({ spaceId: repository.spaceId!, machineId: this.state.foundDeploymentTarget.Id });\n }\n }\n override getPages() {\n const showRegenerateTokenButton = this.state.hasTokenExpired && !this.state.foundDeploymentTarget;\n const pages: PagedOnboardingDialogPageData[] = [\n {\n name: \"Add Kubernetes Agent\",\n title: \"Add New Kubernetes Agent\",\n helpPanelContent: ,\n helpPanelImage: targetConfigurationHelpImage(),\n isPageModelValid: () => this.isModelValid(),\n onMovingToNextPage: async () => {\n if (!this.state.requiresHaConfiguration) {\n await this.refreshToken();\n }\n if (this.state.usePersistentVolumeStorage) {\n this.props.onEstablishingConnection?.(this.state.model);\n }\n const selectedEnvName = this.state.environments\n .filter((env) => this.state.model.EnvironmentIds.includes(env.Id))\n .map((env) => env.Name)\n .join(\";\");\n this.props.dispatchAction?.(\"Submit Kubernetes Agent Form\", {\n projectId: this.props.projectId,\n correlationId: this.props.correlationId,\n sourcePage: this.props.sourcePage,\n agentName: this.state.model.Name,\n environments: selectedEnvName,\n storageClass: this.state.model.StorageClassName,\n });\n this.props.onTargetCompleted?.(this.state.model);\n },\n isBusy: this.state.isBusy,\n render: () => ( this.setModelState(model)} environments={this.state.environments} machineRoles={this.state.machineRoles} canModifyServerUrls={this.state.canModifyServerUrls} showAdvanced={this.state.showAdvanced} toggleShowAdvanced={() => this.setState({ showAdvanced: !this.state.showAdvanced })} getFieldError={(name: string) => this.getFieldError(name)} usePersistentVolumeStorage={this.state.usePersistentVolumeStorage} onUsePersistentVolumeStorageChanged={(usePv) => this.setState({ usePersistentVolumeStorage: usePv })} requiresHaConfiguration={this.state.requiresHaConfiguration}/>),\n },\n ];\n if (this.state.requiresHaConfiguration) {\n pages.push(this.getHaConfigurationPage(, targetConfigurationHelpImage()));\n }\n if (!this.state.usePersistentVolumeStorage) {\n pages.push(this.getNfsCsiDriverInstallationPage(, targetNfsDriverInstallationHelpImage()));\n }\n pages.push({\n name: \"Install Kubernetes Agent\",\n title: \"Install Kubernetes Agent\",\n helpPanelContent: ,\n helpPanelImage: tentacleInstallationHelpImage(),\n render: () => ( model={this.state.model} onAgentFound={this.onDeploymentTargetFound} onAgentHealthStatusUpdated={this.onDeploymentTargetHealthStatusUpdated} hasTokenExpired={this.state.hasTokenExpired} accessTokenExpiry={this.state.accessTokenExpiry} generateHelmCommand={(selectedLanguage) => createTargetHelmCommand(selectedLanguage, this.state.model, this.state.environments, this.props.kubernetesMonitorEnabled)} fetchAgent={async (name) => {\n const targets = await repository.Machines.list({ name });\n return targets.Items.find((t) => t.Name === name);\n }} machineType={EndpointSelectionScope.DeploymentTarget}/>),\n alwaysShowCloseButton: this.props.projectId ? true : this.machineIsFound(),\n onlyShowCloseButton: this.props.projectId ? this.machineHealthStatus() === MachineModelHealthStatusValues.Healthy : undefined,\n customPrimaryButton: showRegenerateTokenButton && this.refreshToken()} type={ActionButtonType.Primary}/>,\n });\n return pages;\n }\n}\n","import { css } from \"@emotion/css\";\nimport { ActionButton, ActionButtonType, LinearProgress } from \"@octopusdeploy/design-system-components\";\nimport { borderRadius, letterSpacing, text, themeTokens, space } from \"@octopusdeploy/design-system-tokens\";\nimport * as React from \"react\";\nimport { required, Text } from \"~/components/form/index\";\ninterface WorkerPoolCreationFormProps {\n model: WorkerPoolConfiguration;\n onModelChange: (model: WorkerPoolConfiguration) => void;\n onCreate: (model: WorkerPoolConfiguration) => void;\n onCancel: () => void;\n notProvidedErrorMessage: string;\n helpText: string;\n isBusy: boolean;\n error?: WorkerPoolFieldErrors;\n}\nexport interface WorkerPoolConfiguration {\n name: string;\n}\nexport type WorkerPoolFieldErrors = {\n [K in keyof WorkerPoolConfiguration]?: string;\n};\nexport const WorkerPoolCreationForm = (props: WorkerPoolCreationFormProps) => (
    \n \n
    \n

    {\"Create new worker pool\"}

    \n props.onModelChange({ ...props.model, name })} label={\"Name\"} autoFocus={true} warning={props.error?.name} validate={required(props.notProvidedErrorMessage)}/>\n
    \n {\n e.preventDefault();\n props.onCancel();\n }}/>\n {\n e.preventDefault();\n props.onCreate(props.model);\n }}/>\n
    \n
    \n
    );\nconst formContainerStyles = css({\n width: \"100%\",\n height: \"auto\",\n padding: space[16],\n backgroundColor: themeTokens.color.background.secondary.default,\n marginBlockEnd: \"1rem\",\n borderRadius: borderRadius.small,\n});\nconst titleStyles = css({\n font: text.body.bold.large,\n letterSpacing: letterSpacing.wide,\n margin: 0,\n});\nconst actionsContainerStyles = css({\n display: \"flex\",\n flexDirection: \"row\",\n alignItems: \"center\",\n justifyContent: \"end\",\n gap: space[16],\n});\n","import type { WorkerPoolResource, ReferenceDataItem } from \"@octopusdeploy/octopus-server-client\";\nimport * as React from \"react\";\nimport { ChipIcon, MissingChip, WorkerPoolChip } from \"~/components/Chips\";\nimport { MultiSelect } from \"~/components/MultiSelect/MultiSelect\";\nimport type { FocusableComponent } from \"~/components/VirtualListWithKeyboard/FocusableComponent\";\nimport type { SelectItem } from \"~/components/VirtualListWithKeyboard/SelectItem\";\nimport type { FormFieldProps } from \"~/components/form\";\nimport Lookup from \"../Lookup\";\nexport const WorkerPoolTypedMultiSelect = MultiSelect();\nexport interface WorkerPoolMultiSelectProps extends FormFieldProps {\n items: WorkerPoolResource[];\n openOnFocus?: boolean;\n autoFocus?: boolean;\n label?: string | JSX.Element;\n error?: string;\n accessibleName?: string;\n multiSelectRef?(component: FocusableComponent | null): void;\n actionButtons?: JSX.Element[];\n}\nexport const WorkerPoolMultiSelect: React.FC = (props) => {\n const chipRenderer = (r: WorkerPoolResource | SelectItem, onRequestDelete: () => void) => {\n return ( element.Id} render={(item) => } renderFallback={}/>);\n };\n return ;\n};\nWorkerPoolMultiSelect.displayName = \"WorkerPoolMultiSelect\"\n","import { CircularProgress, InlineSnackbar } from \"@octopusdeploy/design-system-components\";\nimport type { NewStaticWorkerPoolResource, WorkerPoolResource } from \"@octopusdeploy/octopus-server-client\";\nimport { OctopusError, WorkerPoolType } from \"@octopusdeploy/octopus-server-client\";\nimport * as React from \"react\";\nimport { type MouseEvent, useCallback, useMemo, useState } from \"react\";\nimport { ConfigurationMessages } from \"~/areas/infrastructure/components/MachineSettings/Endpoints/KubernetesAgent/ConfigurationMessages\";\nimport { ConfigurationPage, ConfigurationPageStorageClassHelperContent } from \"~/areas/infrastructure/components/MachineSettings/Endpoints/KubernetesAgent/ConfigurationPage\";\nimport type { WorkerConfigurationResource } from \"~/areas/infrastructure/components/MachineSettings/Endpoints/KubernetesAgent/KubernetesAgentWorkerConfigurationDialog\";\nimport type { WorkerPoolConfiguration, WorkerPoolFieldErrors } from \"~/areas/infrastructure/components/MachineSettings/Endpoints/KubernetesAgent/WorkerPoolCreationForm\";\nimport { WorkerPoolCreationForm } from \"~/areas/infrastructure/components/MachineSettings/Endpoints/KubernetesAgent/WorkerPoolCreationForm\";\nimport { EndpointSelectionScope } from \"~/areas/infrastructure/components/MachineSettings/Endpoints/endpointRegistry\";\nimport { repository } from \"~/clientInstance\";\nimport { IconButtonWithTooltip } from \"~/components/IconButtonWithTooltip/index\";\nimport type { WorkerPoolMultiSelectProps } from \"~/components/MultiSelect/WorkerPoolMultiSelect\";\nimport { WorkerPoolMultiSelect } from \"~/components/MultiSelect/WorkerPoolMultiSelect\";\ninterface WorkerPoolMultiSelectWithAddRefreshProps extends WorkerPoolMultiSelectProps {\n addAction: (e?: MouseEvent) => void;\n onRequestRefresh(): Promise;\n}\nconst WorkerPoolMultiSelectWithAddRefresh = ({ addAction, onRequestRefresh, ...selectProps }: WorkerPoolMultiSelectWithAddRefreshProps) => {\n const [refreshing, setRefreshing] = useState(false);\n const handleRequestRefresh = async () => {\n setRefreshing(true);\n try {\n await onRequestRefresh();\n }\n finally {\n setRefreshing(false);\n }\n };\n const actions = [\n refreshing ? : ,\n addAction(e)} icon={\"PlusIcon\"} accessibleName={\"Add\"}/>,\n ];\n return ;\n};\ntype WorkerConfigurationPageProps = {\n model: WorkerConfigurationResource;\n onModelChange: (model: Pick) => void;\n workerPools: WorkerPoolResource[];\n canModifyServerUrls: boolean;\n showAdvanced: boolean;\n toggleShowAdvanced: () => void;\n getFieldError: (fieldName: string) => string;\n usePersistentVolumeStorage: boolean;\n onUsePersistentVolumeStorageChanged: (value: boolean) => void;\n requiresHaConfiguration: boolean;\n refreshWorkerPools(newWorkerPool?: WorkerPoolResource): Promise;\n};\nexport function WorkerConfigurationPage(props: WorkerConfigurationPageProps) {\n const { getFieldError, refreshWorkerPools } = props;\n const initialWorkerPoolConfiguration = useMemo(() => ({ name: \"\" }), []);\n const [workerPoolConfiguration, setWorkerPoolConfiguration] = React.useState(initialWorkerPoolConfiguration);\n const [isWorkerPoolFormOpen, setIsWorkerPoolFormOpen] = React.useState(false);\n const [workerPoolFieldErrors, setWorkerPoolFieldErrors] = React.useState({});\n const [showWorkerPoolSnackBar, setShowWorkerPoolSnackBar] = React.useState(false);\n const [isCreating, setIsCreating] = React.useState(false);\n const resetWorkerPoolForm = useCallback(() => {\n setWorkerPoolConfiguration(initialWorkerPoolConfiguration);\n setWorkerPoolFieldErrors({});\n setIsWorkerPoolFormOpen(false);\n }, [initialWorkerPoolConfiguration]);\n const validateWorkerPoolForm: () => boolean = useCallback(() => {\n if (isWorkerPoolFormOpen && workerPoolConfiguration.name.length === 0) {\n setWorkerPoolFieldErrors({ name: ConfigurationMessages.WorkerPool.Validation.NotProvided });\n return false;\n }\n return true;\n }, [isWorkerPoolFormOpen, workerPoolConfiguration.name.length]);\n const updateModelAndClearServerValidationError = (model: WorkerPoolConfiguration) => {\n setWorkerPoolConfiguration(model);\n setWorkerPoolFieldErrors({});\n };\n const handleOnCreate = (workerPoolConfiguration: WorkerPoolConfiguration) => {\n setIsCreating(true);\n tryCreateWorkerPool(workerPoolConfiguration).then(() => setIsCreating(false));\n };\n const tryCreateWorkerPool = useCallback(async (workerPoolConfiguration: WorkerPoolConfiguration) => {\n const isValid = validateWorkerPoolForm();\n if (isValid) {\n const workerPool: NewStaticWorkerPoolResource = {\n Name: workerPoolConfiguration.name,\n SortOrder: -1,\n IsDefault: false,\n CanAddWorkers: false,\n Description: \"\",\n WorkerPoolType: WorkerPoolType.Static,\n };\n try {\n const result = await repository.WorkerPools.create(workerPool, {});\n await refreshWorkerPools(result);\n resetWorkerPoolForm();\n setShowWorkerPoolSnackBar(true);\n }\n catch (error) {\n if (OctopusError.isOctopusError(error) && error.Errors && error.Errors.length > 0) {\n setWorkerPoolFieldErrors({ name: error?.Errors[0] });\n }\n }\n }\n }, [validateWorkerPoolForm, refreshWorkerPools, resetWorkerPoolForm]);\n return ( props.onModelChange({ ...props.model, ...configuration })} canModifyServerUrls={props.canModifyServerUrls} showAdvanced={props.showAdvanced} toggleShowAdvanced={props.toggleShowAdvanced} getFieldError={getFieldError} usePersistentVolumeStorage={props.usePersistentVolumeStorage} onUsePersistentVolumeStorageChanged={props.onUsePersistentVolumeStorageChanged} requiresHaConfiguration={props.requiresHaConfiguration} nameErrorMessages={ConfigurationMessages.Name.Worker} storageClassHelperText={ConfigurationPageStorageClassHelperContent(EndpointSelectionScope.Worker)} customFormComponents={<>\n wp.CanAddWorkers)} openOnFocus={false} error={getFieldError(\"WorkerPools\")} onChange={(WorkerPools) => props.onModelChange({ WorkerPools })} helperText={getFieldError(\"WorkerPools\") ? \"\" : ConfigurationMessages.WorkerPools.HelperText} value={props.model.WorkerPools} addAction={(_) => setIsWorkerPoolFormOpen(true)} onRequestRefresh={refreshWorkerPools}/>\n {isWorkerPoolFormOpen ? () : null}\n setShowWorkerPoolSnackBar(false)} autoHideDuration={3000}/>\n }>);\n}\n","import { ActionButton, ActionButtonType } from \"@octopusdeploy/design-system-components\";\nimport type { MachineModelHealthStatus, WorkerMachineResource, WorkerPoolResource } from \"@octopusdeploy/octopus-server-client\";\nimport { links } from \"@octopusdeploy/portal-routes\";\nimport * as React from \"react\";\nimport type { ConfigurationProps, ConfigurationState } from \"~/areas/infrastructure/components/MachineSettings/Endpoints/KubernetesAgent/ConfigurationDialog\";\nimport { ConfigurationDialog } from \"~/areas/infrastructure/components/MachineSettings/Endpoints/KubernetesAgent/ConfigurationDialog\";\nimport { NfsDriverInstallationHelpContent, TentacleInstallationHelpContent, tentacleInstallationHelpImage, WorkerConfigurationHelpContent, workerConfigurationHelpImage, workerNfsDriverInstallationHelpImage, } from \"~/areas/infrastructure/components/MachineSettings/Endpoints/KubernetesAgent/ConfigurationDialogHelp\";\nimport { ConfigurationMessages } from \"~/areas/infrastructure/components/MachineSettings/Endpoints/KubernetesAgent/ConfigurationMessages\";\nimport type { BaseConfiguration } from \"~/areas/infrastructure/components/MachineSettings/Endpoints/KubernetesAgent/ConfigurationPage\";\nimport { InstallationPage } from \"~/areas/infrastructure/components/MachineSettings/Endpoints/KubernetesAgent/InstallationPage\";\nimport { WorkerConfigurationPage } from \"~/areas/infrastructure/components/MachineSettings/Endpoints/KubernetesAgent/WorkerConfigurationPage\";\nimport { createWorkerHelmCommand } from \"~/areas/infrastructure/components/MachineSettings/Endpoints/KubernetesAgent/createHelmCommand\";\nimport { EndpointSelectionScope } from \"~/areas/infrastructure/components/MachineSettings/Endpoints/endpointRegistry\";\nimport { repository } from \"~/clientInstance\";\nimport type { PagedOnboardingDialogPageData } from \"~/components/OnboardingDialog/PagedOnboardingDialog\";\nimport StringHelper from \"~/utils/StringHelper/index\";\ntype WorkerFieldErrors = {\n [K in keyof WorkerConfigurationResource]?: string;\n};\ninterface WorkerConfigurationState extends ConfigurationState {\n workerPools: WorkerPoolResource[];\n foundWorkerResource?: WorkerMachineResource;\n}\nexport interface WorkerConfigurationResource extends BaseConfiguration {\n WorkerPools: string[];\n}\nexport class KubernetesAgentWorkerConfigurationDialog extends ConfigurationDialog {\n constructor(props: ConfigurationProps) {\n super(props, EndpointSelectionScope.Worker, ConfigurationMessages.Name.Worker);\n }\n onWorkerFound = (worker: WorkerMachineResource) => {\n this.setState({ foundWorkerResource: worker });\n };\n onWorkerHealthStatusUpdated = (worker: WorkerMachineResource) => {\n this.setState({ foundWorkerResource: worker });\n };\n override initialModel() {\n return {\n ...this.getInitialBaseModel(),\n WorkerPools: [],\n };\n }\n override initialiseState() {\n this.state = {\n ...this.initialBaseState,\n workerPools: [],\n };\n }\n override async loadMachineTypeSpecificData() {\n const workerPoolsPromise = repository.WorkerPools.all();\n this.setState({ workerPools: await workerPoolsPromise });\n }\n override async validateMachineTypeSpecificData(model: WorkerConfigurationResource, fieldErrors: WorkerFieldErrors): Promise {\n if (StringHelper.isNullOrWhiteSpace(model.Name)) {\n fieldErrors.Name = this.nameErrorMessages.Validation.NotProvided;\n }\n else {\n const existingWorker = await repository.Workers.list({ name: this.state.model.Name });\n if (existingWorker.TotalResults > 0) {\n fieldErrors.Name = this.nameErrorMessages.Validation.AlreadyExists;\n }\n }\n if (model.WorkerPools.length === 0) {\n fieldErrors.WorkerPools = ConfigurationMessages.WorkerPools.Validation.NotProvided;\n }\n }\n override machineIsFound() {\n return !!this.state.foundWorkerResource;\n }\n override machineHealthStatus(): MachineModelHealthStatus | undefined {\n return this.state.foundWorkerResource?.HealthStatus;\n }\n override getLinkToMachine() {\n if (this.state.foundWorkerResource) {\n // eslint-disable-next-line @typescript-eslint/no-non-null-assertion\n return links.workerMachineSettingsPage.generateUrl({ spaceId: repository.spaceId!, machineId: this.state.foundWorkerResource.Id });\n }\n return undefined;\n }\n async refreshWorkerPools(newWorkerPool?: WorkerPoolResource): Promise {\n await this.loadMachineTypeSpecificData();\n if (newWorkerPool) {\n this.setModelState({ WorkerPools: [...this.state.model.WorkerPools, newWorkerPool.Id] });\n }\n }\n override getPages() {\n const showRegenerateTokenButton = this.state.hasTokenExpired && !this.state.foundWorkerResource;\n const pages: PagedOnboardingDialogPageData[] = [\n {\n name: \"Add Kubernetes Worker\",\n title: \"Add New Kubernetes Worker\",\n helpPanelContent: ,\n helpPanelImage: workerConfigurationHelpImage(),\n isPageModelValid: () => this.isModelValid(),\n onMovingToNextPage: async () => {\n if (!this.state.requiresHaConfiguration) {\n await this.refreshToken();\n }\n },\n isBusy: this.state.isBusy,\n render: () => ( this.setModelState(model)} canModifyServerUrls={this.state.canModifyServerUrls} showAdvanced={this.state.showAdvanced} toggleShowAdvanced={() => this.setState({ showAdvanced: !this.state.showAdvanced })} getFieldError={(name: string) => this.getFieldError(name)} usePersistentVolumeStorage={this.state.usePersistentVolumeStorage} onUsePersistentVolumeStorageChanged={(usePv) => this.setState({ usePersistentVolumeStorage: usePv })} requiresHaConfiguration={this.state.requiresHaConfiguration} refreshWorkerPools={(newWorkerPool?: WorkerPoolResource) => this.refreshWorkerPools(newWorkerPool)}/>),\n },\n ];\n if (this.state.requiresHaConfiguration) {\n pages.push(this.getHaConfigurationPage(, workerConfigurationHelpImage()));\n }\n if (!this.state.usePersistentVolumeStorage) {\n pages.push(this.getNfsCsiDriverInstallationPage(, workerNfsDriverInstallationHelpImage()));\n }\n pages.push({\n name: \"Install Kubernetes Worker\",\n title: \"Install Kubernetes Worker\",\n helpPanelContent: ,\n helpPanelImage: tentacleInstallationHelpImage(),\n render: () => ( model={this.state.model} onAgentFound={this.onWorkerFound} onAgentHealthStatusUpdated={this.onWorkerHealthStatusUpdated} hasTokenExpired={this.state.hasTokenExpired} accessTokenExpiry={this.state.accessTokenExpiry} generateHelmCommand={(selectedLanguage) => createWorkerHelmCommand(selectedLanguage, this.state.model, this.state.workerPools)} fetchAgent={async (name: string) => {\n const workers = await repository.Workers.list({ partialName: name });\n return workers.Items.find((t) => t.Name === name);\n }} machineType={EndpointSelectionScope.Worker}/>),\n customPrimaryButton: showRegenerateTokenButton && this.refreshToken()} type={ActionButtonType.Primary}/>,\n });\n return pages;\n }\n}\n","import * as React from \"react\";\nimport type { SvgImageProps } from \"~/primitiveComponents/dataDisplay/SvgImage/SvgImage\";\nimport SvgImage from \"../../../primitiveComponents/dataDisplay/SvgImage/SvgImage\";\nconst KubernetesAgent = (props: Partial) => (\n \n \n \n \n \n \n \n \n \n );\nexport { KubernetesAgent };\n","import { CommunicationStyleValues } from \"@octopusdeploy/octopus-server-client\";\nimport { EndpointRegistrationKeyValues } from \"@octopusdeploy/portal-routes\";\nimport * as React from \"react\";\nimport { EndpointDialogCard } from \"~/areas/infrastructure/components/MachineSettings/Endpoints/EndpointCard\";\nimport { KubernetesAgentTargetConfigurationDialog } from \"~/areas/infrastructure/components/MachineSettings/Endpoints/KubernetesAgent/KubernetesAgentTargetConfigurationDialog\";\nimport { KubernetesAgentWorkerConfigurationDialog } from \"~/areas/infrastructure/components/MachineSettings/Endpoints/KubernetesAgent/KubernetesAgentWorkerConfigurationDialog\";\nimport { useKubernetesWorkerOutOfEarlyAccess } from \"~/areas/infrastructure/components/MachineSettings/Endpoints/KubernetesAgent/useKubernetesWorkerOutOfEarlyAccess\";\nimport kubernetesCategory from \"~/areas/infrastructure/components/MachineSettings/Endpoints/KubernetesCategoryDefinition\";\nimport type { MachineRegistration, RenderRegistrationCardProps } from \"~/areas/infrastructure/components/MachineSettings/Endpoints/endpointRegistry\";\nimport { EndpointSelectionScope } from \"~/areas/infrastructure/components/MachineSettings/Endpoints/endpointRegistry\";\nimport styles from \"~/areas/infrastructure/components/MachineSettings/Endpoints/styles.module.less\";\nimport { EarlyAccessChip, RecommendedChip } from \"~/components/Chips\";\nimport { KubernetesAgent } from \"~/components/Images/MachineSettings/KubernetesAgent\";\nconst kubernetesAgentEndpointRegistration: MachineRegistration = {\n key: EndpointRegistrationKeyValues.KubernetesTentacle,\n displayOrder: 10,\n communicationStyle: CommunicationStyleValues.KubernetesTentacle,\n name: \"Kubernetes Agent\",\n categories: [kubernetesCategory],\n discoverable: false,\n renderCard: (props) => ,\n};\nconst KubernetesAgentEndpointCard = ({ registration, scope, onClick }: RenderRegistrationCardProps) => {\n const workerOutOfEarlyAccess = useKubernetesWorkerOutOfEarlyAccess();\n const outOfEarlyAccess = scope === EndpointSelectionScope.Worker ? workerOutOfEarlyAccess : true; /* The agent is now out of EAP */\n return (} registrationName={scope === EndpointSelectionScope.Worker ? \"Kubernetes Worker\" : registration.name} description={getDescription(scope)} chip={outOfEarlyAccess ? : } renderDialog={(renderProps) => {\n if (scope === EndpointSelectionScope.Worker) {\n return ;\n }\n return ;\n }} onClick={onClick}/>);\n};\nfunction getDescription(scope: EndpointSelectionScope): string {\n if (scope === EndpointSelectionScope.Worker) {\n return \"Install for fast and scalable work execution for a variety of deployment targets.\";\n }\n return \"Install an agent to execute deployments on your cluster. No extra workers needed.\";\n}\nexport { kubernetesAgentEndpointRegistration };\n","import { useBooleanFlagValue } from \"@openfeature/react-sdk\";\nexport function useKubernetesWorkerOutOfEarlyAccess() {\n return useBooleanFlagValue(\"kubernetes-worker-out-of-early-access\", false);\n}\n","import * as React from \"react\";\nimport type { SvgImageProps } from \"../../../primitiveComponents/dataDisplay/SvgImage/SvgImage\";\nimport SvgImage from \"../../../primitiveComponents/dataDisplay/SvgImage/SvgImage\";\nimport styles from \"../../../primitiveComponents/dataDisplay/SvgImage/styles.module.less\";\nconst AzureCloudService = (props: Partial) => (\n \n \n \n \n \n \n );\nexport { AzureCloudService };\n","import { BooleanRadioButton, BooleanRadioButtonGroup, RadioButton, RadioButtonGroup } from \"@octopusdeploy/design-system-components\";\nimport type { AzureCloudServiceEndpointResource, AccountResource, WorkerPoolResource } from \"@octopusdeploy/octopus-server-client\";\nimport { CommunicationStyleValues, AzureCloudServiceEndpointDeploymentSlot, AccountType } from \"@octopusdeploy/octopus-server-client\";\nimport { EndpointRegistrationKeyValues } from \"@octopusdeploy/portal-routes\";\nimport * as React from \"react\";\nimport type { DoBusyTask } from \"~/components/DataBaseComponent/DataBaseComponent\";\nimport { AzureCloudService } from \"~/components/Images/MachineSettings/AzureCloudService\";\nimport ExternalLink from \"~/components/Navigation/ExternalLink\";\nimport { ExpandableFormSection, FormSectionHeading, Summary, Note } from \"~/components/form\";\nimport AccountSelect from \"~/components/form/AccountSelect/AccountSelect\";\nimport Select from \"~/primitiveComponents/form/Select/Select\";\nimport CommonSummaryHelper from \"~/utils/CommonSummaryHelper\";\nimport Text from \"../../../../../primitiveComponents/form/Text/Text\";\nimport EndpointCard from \"./EndpointCard\";\nimport type { BuiltInEndpointRegistration } from \"./endpointRegistry\";\nimport styles from \"./styles.module.less\";\ninterface AzureCloudServiceEndpointProps {\n doBusyTask: DoBusyTask;\n busy: Promise | boolean;\n endpoint: AzureCloudServiceEndpointResource;\n accounts: AccountResource[];\n workerPools: WorkerPoolResource[];\n refreshAccounts: () => Promise<{}>;\n onChange(newValue: AzureCloudServiceEndpointResource): void;\n getFieldError(field: string): string;\n}\ninterface AzureCloudServiceEndpointState {\n accountIsBound: boolean;\n}\nclass AzureCloudServiceEndpoint extends React.Component {\n constructor(props: AzureCloudServiceEndpointProps) {\n super(props);\n this.state = {\n accountIsBound: false,\n };\n }\n render() {\n return (
    \n \n {\n const endpoint = this.props.endpoint;\n endpoint.AccountId = x;\n this.props.onChange(endpoint);\n }} items={this.props.accounts}/>\n \n\n \n {\n this.props.onChange({ ...this.props.endpoint, CloudServiceName: name });\n }}/>\n The Cloud Service Name provided must exactly match the Azure Cloud Service resource being targeted.\n \n\n \n {\n this.props.onChange({ ...this.props.endpoint, StorageAccountName: name });\n }}/>\n The Storage Account Name provided must exactly match the Azure Storage Account resource being used.\n \n\n {this.props.workerPools.length > 1 && (\n props.setModelState({ SelfSignedCertificateCurve: x as SelfSignedCertificateCurve })} items={[\n { value: SelfSignedCertificateCurve.nistP256, text: \"NIST P-256\" },\n { value: SelfSignedCertificateCurve.nistP384, text: \"NIST P-384\" },\n { value: SelfSignedCertificateCurve.nistP521, text: \"NIST P-521\" },\n ]} placeholder=\"Elliptic curve to use\"/>\n \n If this is left blank, P-384 will be used by default.\n
    \n If you want to maximize interoperability with existing browsers and servers, select either P-256 and P-384\n
    \n {props.model.SelfSignedCertificateCurve === SelfSignedCertificateCurve.nistP521 && ()}\n
    \n )}\n \n \n {props.uploadFormat !== \"SelfSigned\" && (\n props.setModelState({ Password })} label=\"Password\" error={props.getFieldError(\"Password\")}/>\n )}\n )}\n \n \n If this field is left blank, the certificate can be used for deployments to any environment. Specifying environment/s (especially for production certificates) is strongly recommended.\n props.setModelState({ EnvironmentIds })} value={props.model.EnvironmentIds}/>\n \n \n \n \n props.setModelState({ TenantedDeploymentParticipation: x as TenantedDeploymentMode })}/>\n \n {props.model.TenantedDeploymentParticipation !== TenantedDeploymentMode.Untenanted && (\n props.setModelState({ TenantIds, TenantTags })} showPreviewButton={true}/>\n )}\n \n \n \n \n Certificate expiry notifications can be configured using Subscriptions. See our{\" \"}\n documentation for more information.\n \n \n {!props.create && ( onUsageTabActive()}>\n \n \n \n )}\n \n );\n};\nexport default function CertificatePage(props: CertificateProps) {\n return ;\n}\n","import type { CertificateUsageResource } from \"@octopusdeploy/octopus-server-client\";\nimport type { LinkHref } from \"@octopusdeploy/portal-routes\";\nimport { links } from \"@octopusdeploy/portal-routes\";\nexport interface CertificateUsageEntry {\n ownerName: string;\n ownerLink: LinkHref;\n ownerType: string;\n}\nexport const certificateUsageSummary = (usage: CertificateUsageResource) => {\n const certificateUsages = [\n ...usage.ProjectUsages.map((projectUsage) => {\n const item: CertificateUsageEntry = {\n ownerName: projectUsage.Name,\n ownerLink: links.projectRootRedirect.generateUrl({ spaceId: projectUsage.SpaceId, projectSlug: projectUsage.Slug }),\n ownerType: \"Project\",\n };\n return item;\n }),\n ...usage.LibraryVariableSetUsages.map((lvsUsage) => {\n const item: CertificateUsageEntry = {\n ownerName: lvsUsage.Name,\n ownerLink: links.editVariableSetPage.generateUrl({ spaceId: lvsUsage.SpaceId, variableSetId: lvsUsage.Id }),\n ownerType: \"Variable Set\",\n };\n return item;\n }),\n ...usage.TenantUsages.map((tenantUsage) => {\n const item: CertificateUsageEntry = {\n ownerName: tenantUsage.Name,\n ownerLink: links.tenantVariablesPage.generateUrl({ tenantId: tenantUsage.Id, spaceId: tenantUsage.SpaceId }),\n ownerType: \"Tenant\",\n };\n return item;\n }),\n ...usage.DeploymentTargetUsages.map((deploymentTarget) => {\n const item: CertificateUsageEntry = {\n ownerName: deploymentTarget.Name,\n ownerLink: links.deploymentTargetSettingsPage.generateUrl({ spaceId: deploymentTarget.SpaceId, machineId: deploymentTarget.Id }),\n ownerType: \"Deployment Target\",\n };\n return item;\n }),\n ];\n return certificateUsages;\n};\n","import type { AnalyticsEvent } from \"@octopusdeploy/portal-analytics\";\ninterface AddCertificateAnalyticsEvent extends AnalyticsEvent<\"Add Certificate\"> {\n Location: AddCertificateLocation;\n}\nexport function createAddCertificateAnalyticsEvent(location: \"Drawer\" | \"Page\"): AddCertificateAnalyticsEvent {\n return {\n eventName: \"Add Certificate\",\n Location: location,\n };\n}\ntype AddCertificateLocation = \"Drawer\" | \"Page\";\ninterface SaveCertificateAnalyticsEvent extends AnalyticsEvent<\"Save Certificate\"> {\n Location: \"Drawer\";\n \"Entity Type\": \"New\";\n Status: \"Success\";\n}\nexport function createSaveCertificateAnalyticsEvent(): SaveCertificateAnalyticsEvent {\n return {\n eventName: \"Save Certificate\",\n Status: \"Success\",\n \"Entity Type\": \"New\",\n Location: \"Drawer\",\n };\n}\n","import { ActionButton, ActionButtonType, Callout } from \"@octopusdeploy/design-system-components\";\nimport type { CertificateResource } from \"@octopusdeploy/octopus-server-client\";\nimport { useTrackEvent } from \"@octopusdeploy/portal-analytics\";\nimport { links } from \"@octopusdeploy/portal-routes\";\nimport type { ReactNode } from \"react\";\nimport { useState } from \"react\";\nimport * as React from \"react\";\nimport { useAnalyticTrackedActionDispatch, useCorrelationId } from \"~/analytics/Analytics\";\nimport type { CertificateStateTypes } from \"~/areas/library/components/Certificates/Certificate/CertificatePage\";\nimport { CertificateInternal } from \"~/areas/library/components/Certificates/Certificate/CertificatePage\";\nimport { createSaveCertificateAnalyticsEvent } from \"~/areas/library/components/Certificates/Certificate/amplitudeAnalytics\";\nimport { repository } from \"~/clientInstance\";\nimport type { Errors } from \"~/components/DataBaseComponent/index\";\nimport InternalLink from \"~/components/Navigation/InternalLink/InternalLink\";\nimport useLocalStorage from \"~/hooks/useLocalStorage\";\nimport { DrawerWithForm } from \"~/primitiveComponents/dataDisplay/DrawerWithForm/DrawerWithForm\";\nimport StringHelper from \"~/utils/StringHelper/index\";\ninterface FormState {\n model: CertificateResource | undefined;\n cleanModel: CertificateResource | undefined;\n busy: Promise | undefined;\n errors?: Errors;\n}\nexport interface CertificateDrawerProps {\n isOpen: boolean;\n onClose: () => void;\n onSave: (feed: CertificateResource) => void;\n}\nexport const CertificateDrawer = ({ isOpen, onClose, onSave }: CertificateDrawerProps) => {\n const [state, setState] = React.useState({\n state: \"create\",\n });\n const [calloutDismissed, setCalloutDismissed] = useLocalStorage(`Octopus.Callout.Drawer.Certificate.Dismissed`, false);\n const [formState, setFormState] = React.useState({\n busy: undefined,\n model: undefined,\n errors: undefined,\n cleanModel: undefined,\n });\n const [actions, setActions] = useState();\n const trackAction = useAnalyticTrackedActionDispatch();\n const trackEvent = useTrackEvent();\n const correlationId = useCorrelationId();\n const onStateTransition = (currentState: CertificateStateTypes | null, newState: CertificateStateTypes) => {\n setState((prevState) => {\n if (prevState.state !== \"new\" && newState.state === \"new\" && newState.certificate) {\n trackEvent(createSaveCertificateAnalyticsEvent());\n onSave(newState.certificate);\n }\n return { ...newState };\n });\n const mappedActions: ReactNode[] = [];\n if (newState.secondaryActions) {\n newState.secondaryActions.map((action) => {\n if (action.type === \"button\")\n mappedActions.push( action.onClick(undefined)} label={action.label} type={ActionButtonType.Secondary}/>);\n });\n }\n const primaryAction = newState.primaryAction;\n if (primaryAction?.type === \"button\") {\n mappedActions.push( primaryAction.onClick(undefined)} label={primaryAction.label} type={ActionButtonType.Primary}/>);\n }\n setActions(mappedActions);\n };\n const onCloseCallout = () => {\n setCalloutDismissed(true);\n };\n const title = state.state === \"create\" ? \"New Certificate\" : formState.model ? formState.model.Name : StringHelper.ellipsis;\n // eslint-disable-next-line @typescript-eslint/no-non-null-assertion\n const spaceId = formState.model?.SpaceId ?? repository.spaceId!;\n return ( {\n if (state.primaryAction?.type === \"button\")\n state.primaryAction.onClick(undefined);\n }} expandAllOnMount={true} showExpandAll={true} expandableContainerKey={\"CertificateDrawer\"} variant=\"customActions\" customActions={actions} correlationId={correlationId}>\n {!calloutDismissed && state.state === \"create\" ? (\n
    \n After you create this certificate, you can find it in{\" \"}\n \n Certificates\n \n
    \n
    ) : (<>)}\n \n
    );\n};\n","import type { IconButtonIconType, TooltipContent } from \"@octopusdeploy/design-system-components\";\nimport * as React from \"react\";\nimport Dialog from \"~/components/Dialog/Dialog\";\nimport { OpenDialogConnect } from \"~/components/Dialog/OpenDialogConnect\";\nimport type { OpenDialogProps } from \"~/components/Dialog/OpenDialogConnect\";\nimport dialogIdGenerator from \"~/components/Dialog/dialogIdGenerator\";\nimport { IconButtonWithTooltip } from \"~/components/IconButtonWithTooltip\";\nimport styles from \"./style.module.less\";\ninterface OpenDialogIconButtonProps {\n toolTipContent: TooltipContent;\n icon: IconButtonIconType;\n wideDialog?: boolean;\n disabled?: boolean;\n accessibleName?: string;\n}\nclass OpenDialogIconButtonInternal extends React.Component {\n private uniqueId: string;\n constructor(props: OpenDialogIconButtonProps & OpenDialogProps) {\n super(props);\n this.uniqueId = dialogIdGenerator.next();\n }\n render() {\n const isOpen = this.props.openDialogs[this.uniqueId];\n return (
    \n this.props.openDialog(this.uniqueId)} accessibleName={this.props.accessibleName}/>\n \n {this.props.children}\n \n
    );\n }\n static displayName = \"OpenDialogIconButtonInternal\";\n}\nconst OpenDialogIconButton = OpenDialogConnect.to(OpenDialogIconButtonInternal);\nexport default OpenDialogIconButton;\n","import type { PagingBaseProps, PagingBaseState, PagingPage, HasId } from \"./PagingBaseComponent\";\nimport { PagingBaseComponent } from \"./PagingBaseComponent\";\nexport default PagingBaseComponent;\nexport type { PagingBaseProps, PagingBaseState, PagingPage, HasId };\n","/* eslint-disable @typescript-eslint/no-explicit-any */\n/* eslint-disable @typescript-eslint/consistent-type-assertions */\nimport { css } from \"@emotion/css\";\nimport { List, ListItem } from \"@octopusdeploy/design-system-components\";\nimport { space } from \"@octopusdeploy/design-system-tokens\";\nimport type { LinkHref } from \"@octopusdeploy/portal-routes\";\nimport * as React from \"react\";\nimport { NoResults } from \"~/components/NoResults/NoResults\";\nimport type { HasId, PagingBaseProps, PagingBaseState } from \"~/components/PagingBaseComponent\";\nimport PagingBaseComponent from \"~/components/PagingBaseComponent\";\nimport { getNavigationUrl } from \"~/components/PagingBaseComponent/PagingBaseComponent\";\nimport { Section } from \"~/components/Section/Section\";\nimport TransitionAnimation from \"~/components/TransitionAnimation/TransitionAnimation\";\nimport { Note } from \"~/components/form\";\nimport InternalRedirect from \"../Navigation/InternalRedirect/InternalRedirect\";\nimport { ListInternalLink } from \"./ListInternalLink\";\ninterface PagingListProps extends PagingBaseProps {\n empty?: React.ReactNode;\n wrapRowsInListItem?: boolean;\n onRowAccessibleName?(item: R): string;\n includeRowGaps?: boolean;\n listWrapper?: (children: React.ReactNode) => JSX.Element;\n}\ninterface ListState extends PagingBaseState {\n redirectTo: string;\n}\ninterface PagingListWrapperProps {\n wrappingComponent?: (children: React.ReactNode) => JSX.Element;\n children: React.ReactNode;\n}\nfunction PagingListWrapper(props: PagingListWrapperProps): JSX.Element {\n if (props.wrappingComponent) {\n return props.wrappingComponent(props.children);\n }\n return <>{props.children};\n}\n/**\n * @deprecated This component is deprecated and will be removed in a future release.\n * You can replace this with the SearchInput and Pagination component from the design-system-components package\n * The List aspect of this component can be replaced with the List, ListItemLink & ListItemContent components from the design-system-components package\n */\nexport abstract class PagingList extends PagingBaseComponent, ListState> {\n render() {\n if (this.state.redirectTo) {\n return ;\n }\n if (!this.state.data || !this.state.data.Items) {\n return
    ;\n }\n return (\n {this.renderFilterSearchComponents()}\n \n } rowKey={(item) => item.Id} items={this.state.data.Items.filter((item) => this.onFilter(this.state.filter, item))} renderRow={({ item }) => this.buildItem(item)}/>\n \n {this.state.data.Items.length < this.state.data.TotalResults ? (this.props.showPagingInNumberedStyle ? this.showPagingInNumberedStyle() : this.showPagingInLoadMoreStyle()) : null}\n );\n }\n buildItem = (item: R) => {\n return (\n \n {this.props.onRow(item)}\n \n );\n };\n static displayName = \"PagingList\";\n}\nfunction NavigateListItemContent({ item, onRowAccessibleName, onRowRedirectUrl, children }: React.PropsWithChildren<{\n item: T;\n onRowAccessibleName?: (item: T) => string;\n onRowRedirectUrl?: (item: T) => LinkHref | null;\n}>) {\n const accessibleName = onRowAccessibleName?.(item);\n const redirectUrl = getNavigationUrl({ onRowRedirectUrl }, item);\n if (redirectUrl) {\n // Make these actual href links, so people can still right-click > open new window (this is expected usability for things you can click).\n return (\n {children}\n );\n }\n return <>{children};\n}\ntype ListItemContentProps = {\n useDefaultStyles: boolean;\n};\nfunction ListItemContent({ children, useDefaultStyles }: React.PropsWithChildren) {\n if (useDefaultStyles) {\n return
    {children}
    ;\n }\n return <>{children};\n}\nconst listItemContentStyles = css({\n padding: space[16],\n lineHeight: \"16px\",\n fontSize: \"0.875rem\",\n wordBreak: \"break-word\",\n});\nfunction EmptyListResult({ empty = }: {\n empty?: React.ReactNode;\n}) {\n return (
    \n {empty}\n
    );\n}\n(PagingList as any).defaultProps = {\n showFilterWithinSection: true,\n autoFocusOnFilterSearch: true,\n wrapRowsInListItem: true,\n};\n","import { PagingList } from \"~/components/PagingList/PagingList\";\nimport { SimplePagingList } from \"~/components/PagingList/SimplePagingList\";\nexport default PagingList;\nexport { SimplePagingList };\n","import * as React from \"react\";\nimport Markdown from \"../Markdown\";\nimport styles from \"./style.module.less\";\ninterface MarkdownDescriptionProps {\n markup: string;\n}\n// This is purely to give us a styling wrapper for all resource descriptions (eg. when shown in lists etc).\nconst MarkdownDescription: React.StatelessComponent = (props) => {\n return props.markup ? (
    \n \n
    ) : null;\n};\nMarkdownDescription.displayName = \"MarkdownDescription\"\nexport default MarkdownDescription;\n","/* eslint-disable @typescript-eslint/no-non-null-assertion */\nimport { Callout, BooleanRadioButton, BooleanRadioButtonGroup } from \"@octopusdeploy/design-system-components\";\nimport { FingerprintIcon, InfoCircleIcon, UserCircleIcon } from \"@octopusdeploy/design-system-icons\";\nimport type { CertificateResource, TagSetResource, EnvironmentResource, TenantResource } from \"@octopusdeploy/octopus-server-client\";\nimport { CertificateDataFormat } from \"@octopusdeploy/octopus-server-client\";\nimport { noOp } from \"@octopusdeploy/utilities\";\nimport * as React from \"react\";\nimport { CertificateExpiryChip, environmentChipList, tenantChipList } from \"~/components/Chips/index\";\nimport MarkdownDescription from \"~/components/MarkdownDescription\";\nimport Tag from \"~/components/Tag/index\";\nimport { withTheme } from \"~/components/Theme\";\nimport ThumbprintText from \"~/components/ThumbprintText\";\nimport { normal } from \"~/fontWeights\";\nimport ListTitle from \"~/primitiveComponents/dataDisplay/ListTitle/ListTitle\";\nimport styles from \"./style.module.less\";\ninterface CertificateListItemProps {\n certificate: CertificateResource;\n environments: EnvironmentResource[];\n tenants: TenantResource[];\n tenantTags: TagSetResource[];\n selected?: boolean;\n showSelection?: boolean;\n onClick?: () => void;\n}\nconst CertificateSummary: React.StatelessComponent = (props) => {\n const certificate = props.certificate;\n return withTheme((theme) => (
    \n {props.showSelection && (
    \n \n \n \n
    )}\n
    \n
    \n
    \n {certificate.Name}\n
    \n {certificate.CertificateDataFormat !== CertificateDataFormat.Unknown && (
    \n {(certificate?.CertificateChain ?? []).length > 0 && }\n {certificate.HasPrivateKey && }\n \n
    )}\n
    \n {certificate.Notes && (
    \n \n
    )}\n\n {certificate.CertificateDataFormat === CertificateDataFormat.Unknown && (
    \n \n This certificate was unable to be parsed and may be in an invalid format. This certificate will not be able to be used in Octopus deployments and you may need to upload a new certificate which can be correctly loaded.\n \n
    )}\n {certificate.CertificateDataFormat !== CertificateDataFormat.Unknown && (
    \n
    \n \n {certificate.SubjectCommonName || certificate.SubjectOrganization || certificate.SubjectDistinguishedName}\n
    \n
    \n \n {certificate.SelfSigned ? \"Self-Signed\" : certificate.IssuerCommonName || certificate.IssuerOrganization || certificate.IssuerDistinguishedName}\n
    \n
    \n \n \n
    \n
    )}\n
    \n {environmentChipList(props.environments, certificate.EnvironmentIds)}\n {(!!certificate.TenantIds.length || !!certificate.TenantTags.length) && (\n {tenantChipList(props.tenants, certificate.TenantIds)}\n {certificate.TenantTags.map((tt) => {\n const result = props.tenantTags.find((t) => !!t.Tags.find((tag) => tag.CanonicalTagName === tt));\n if (result) {\n const fu = result.Tags.find((tag) => tag.CanonicalTagName === tt);\n return ;\n }\n })}\n )}\n
    \n
    \n
    ));\n};\nCertificateSummary.displayName = \"CertificateSummary\"\nexport default CertificateSummary;\n","/* eslint-disable @typescript-eslint/no-non-null-assertion */\n/* eslint-disable @typescript-eslint/no-explicit-any */\nimport { Callout } from \"@octopusdeploy/design-system-components\";\nimport type { CertificateResource, ResourceCollection, TagSetResource, EnvironmentResource, TenantResource } from \"@octopusdeploy/octopus-server-client\";\nimport { Permission } from \"@octopusdeploy/octopus-server-client\";\nimport { links } from \"@octopusdeploy/portal-routes\";\nimport { xor, uniqBy, values } from \"lodash\";\nimport * as React from \"react\";\nimport { repository } from \"~/clientInstance\";\nimport BaseComponent from \"~/components/BaseComponent\";\nimport InternalLink from \"~/components/Navigation/InternalLink\";\nimport List from \"~/components/PagingList\";\nimport { isAllowed } from \"~/components/PermissionCheck/PermissionCheck\";\nimport CertificateSummary from \"./CertificateSummary\";\ninterface CertificateListProp {\n certificates?: ResourceCollection;\n selectedCertificateId?: string;\n tenantId?: string;\n doBusyTask: (action: () => Promise) => Promise;\n onSelected?: (certificate: CertificateResource) => void;\n archived?: boolean;\n}\ninterface CertificateListState {\n certificates?: ResourceCollection;\n environments: EnvironmentResource[];\n tenants: TenantResource[];\n tenantTags: TagSetResource[];\n selectedId?: string;\n busy: boolean;\n}\nexport const CertificateListNotFoundCallout = () => {\n // INFO: the string here was split because linting was\n // complaining about the '.' character\n // It also ensures the correct format of the message\n const front = \"We couldn't find any certificates, add one \";\n const back = \"here.\";\n return (\n

    \n {front}\n \n {back}\n \n

    \n
    );\n};\nclass CertificateList extends List {\n}\nexport default class CertificateSearch extends BaseComponent {\n constructor(props: CertificateListProp) {\n super(props);\n this.state = {\n certificates: this.props.certificates,\n environments: [],\n tenants: [],\n tenantTags: [],\n busy: false,\n selectedId: this.props.selectedCertificateId,\n };\n }\n async componentDidMount() {\n await this.props.doBusyTask(async () => {\n let certificates = this.state.certificates;\n if (!certificates) {\n certificates = await repository.Certificates.list({ tenant: this.props.tenantId });\n }\n const [tenantTags] = await Promise.all([repository.TagSets.all()]);\n this.setState({\n certificates,\n tenantTags,\n });\n });\n }\n buildRow = (certificate: CertificateResource) => {\n return [\n {\n if (!this.props.onSelected) {\n return;\n }\n this.setState({ selectedId: certificate.Id }, () => {\n if (this.props.onSelected) {\n this.props.onSelected(certificate);\n }\n });\n }} showSelection={this.props.onSelected ? true : false} selected={certificate.Id === this.state.selectedId} key={certificate.Id} certificate={certificate} environments={values(this.state.environments)} tenants={values(this.state.tenants)} tenantTags={this.state.tenantTags}/>,\n ];\n };\n rowClicked = (certificate: CertificateResource) => {\n if (this.props.onSelected) {\n return null;\n }\n else {\n return links.editCertificatePage.generateUrl({ spaceId: certificate.SpaceId, certificateId: certificate.Id });\n }\n };\n applyFilter(filter: string, resource: CertificateResource) {\n return (!filter ||\n filter.length === 0 ||\n !resource ||\n (resource.Name ? resource.Name.toLowerCase().includes(filter.toLowerCase()) : false) ||\n (resource.SubjectCommonName ? resource.SubjectCommonName.toLowerCase().includes(filter.toLowerCase()) : false) ||\n (resource.Thumbprint ? resource.Thumbprint.toLowerCase().includes(filter.toLowerCase()) : false));\n }\n renderCertificateList(additionalRequestParams: Map) {\n return ();\n }\n render() {\n const additionalRequestParams = new Map();\n if (this.props.archived) {\n additionalRequestParams.set(\"archived\", \"true\");\n }\n const hasCertificates = this.state.certificates && this.state.certificates.Items.length > 0;\n if (hasCertificates) {\n // Note: This is wrapped in a
    on purpose for CSS transition animations.\n return
    {this.renderCertificateList(additionalRequestParams)}
    ;\n }\n else {\n return (
    \n \n
    );\n }\n }\n private loadRelatedCertificateData = async (certificates: CertificateResource[]): Promise => {\n const environmentIds = xor(certificates.map((c) => c.EnvironmentIds).reduce((list, ids) => list.concat(ids), []), this.state.environments.map((x) => x.Id));\n const tenantIds = xor(certificates.map((c) => c.TenantIds).reduce((list, ids) => list.concat(ids), []), this.state.tenants.map((x) => x.Id));\n await this.props.doBusyTask(async () => {\n const tenantsPromise = isAllowed({ permission: Permission.TenantView, tenant: \"*\" }) ? repository.Tenants.all({ ids: tenantIds }) : Promise.resolve([]);\n const [environments, tenants] = await Promise.all([repository.Environments.all({ ids: environmentIds }), tenantsPromise]);\n this.setState((x) => ({\n ...x,\n environments: uniqBy([...x!.environments, ...environments], (env) => env.Id),\n tenants: uniqBy([...x!.tenants, ...tenants], (tenant) => tenant.Id),\n }));\n });\n return certificates;\n };\n static displayName = \"CertificateSearch\";\n}\n","import type { CertificateResource } from \"@octopusdeploy/octopus-server-client\";\nimport * as React from \"react\";\nimport type { DataBaseComponentState } from \"~/components/DataBaseComponent/DataBaseComponent\";\nimport { DataBaseComponent } from \"~/components/DataBaseComponent/DataBaseComponent\";\nimport OkDialogLayout from \"~/components/DialogLayout/OkDialogLayout\";\nimport CertificateSearch from \"~/components/form/CertificateSearch/CertificateSearch\";\ninterface CertificateSelectorProps {\n selectedCertificateId: string;\n tenantId?: string;\n onSelected(certificate: CertificateResource): void;\n}\ninterface CertificateSelectorState extends DataBaseComponentState {\n certificate: CertificateResource | null;\n}\nexport default class CertificateSelector extends DataBaseComponent {\n constructor(props: CertificateSelectorProps) {\n super(props);\n this.state = {\n certificate: null,\n };\n }\n onOk() {\n if (this.state.certificate) {\n this.props.onSelected(this.state.certificate);\n return true;\n }\n return false;\n }\n render() {\n return ( this.onOk()}>\n this.setState({ certificate })} doBusyTask={this.doBusyTask}/>\n );\n }\n static displayName = \"CertificateSelector\";\n}\n","/* eslint-disable @typescript-eslint/no-non-null-assertion */\nimport { css, cx } from \"@emotion/css\";\nimport { CircularProgress, InlineSnackbar } from \"@octopusdeploy/design-system-components\";\nimport { LockOnIcon } from \"@octopusdeploy/design-system-icons\";\nimport { space, themeTokens } from \"@octopusdeploy/design-system-tokens\";\nimport type { CertificateResource } from \"@octopusdeploy/octopus-server-client\";\nimport { useTrackEvent } from \"@octopusdeploy/portal-analytics\";\nimport cn from \"classnames\";\nimport moment from \"moment\";\nimport * as React from \"react\";\nimport { CertificateDrawer } from \"~/areas/library/components/Certificates/Certificate/CertificateDrawer\";\nimport { createAddCertificateAnalyticsEvent } from \"~/areas/library/components/Certificates/Certificate/amplitudeAnalytics\";\nimport OpenDialogIconButton from \"~/components/Dialog/OpenDialogIconButton\";\nimport { IconButtonWithTooltip } from \"~/components/IconButtonWithTooltip\";\nimport InputWithActions from \"~/components/InputWithActions/InputWithActions\";\nimport { useSpaceAwareNavigation } from \"~/components/Navigation/SpaceAwareNavigation/useSpaceAwareNavigation\";\nimport { withTheme } from \"~/components/Theme\";\nimport type { OctopusTheme } from \"~/components/Theme\";\nimport type FormFieldProps from \"~/components/form/FormFieldProps\";\nimport Select from \"~/primitiveComponents/form/Select/Select\";\nimport type { Item } from \"~/primitiveComponents/form/Select/Select\";\nimport CertificateSelector from \"./CertificateSelector\";\ninterface CertificateSelectProps extends FormFieldProps {\n allowClear?: boolean;\n tenantId?: string;\n disabled?: boolean;\n label?: string | JSX.Element;\n error?: string | null;\n warning?: string;\n hideSearch?: boolean;\n items(): Promise;\n onRequestRefresh(): Promise;\n validate?(value: string | null): string;\n onValidate?(value: string): void;\n doBusyTask(action: () => Promise): Promise;\n}\ninterface CertificateSelectState {\n error?: string;\n items?: CertificateResource[];\n busy: boolean;\n isDrawerOpen: boolean;\n showSnackbar: boolean;\n}\nconst snackbarContainerStyles = css({\n marginBottom: space[16],\n});\nclass CertificateSelect extends React.Component {\n constructor(props: CertificateSelectProps) {\n super(props);\n this.state = {\n busy: true,\n isDrawerOpen: false,\n showSnackbar: false,\n };\n }\n async componentDidMount() {\n await this.props.doBusyTask(async () => {\n const items = await this.props.items();\n this.setState({ items, busy: false });\n });\n }\n render() {\n const { onChange, onValidate, tenantId, doBusyTask, items, onRequestRefresh, hideSearch, ...otherProps } = this.props;\n if (!this.state.items) {\n return ;\n }\n return withTheme((theme) => (<>\n } busy={this.state.busy} actions={<>\n this.handleChange(certificate.Id)} tenantId={this.props.tenantId} hide={hideSearch}/>\n \n this.setState({ isDrawerOpen: true })}/>\n }/>\n
    \n this.setState({ showSnackbar: false })} autoHideDuration={3000}/>\n
    \n \n ));\n }\n private handleDrawerClose = () => {\n this.setState({ isDrawerOpen: false });\n };\n private handleSave = async (cert: CertificateResource) => {\n await this.refreshData();\n this.props.onChange(cert.Id);\n this.setState({ isDrawerOpen: false });\n setTimeout(() => {\n this.setState({ showSnackbar: true });\n }, 300);\n };\n private refreshData = async () => {\n let items: CertificateResource[] = [];\n try {\n this.setState({ busy: true });\n await this.props.onRequestRefresh();\n items = await this.props.items();\n }\n finally {\n this.setState({ items, busy: false });\n }\n };\n private handleChange = (certificateId: string | undefined) => {\n const value = certificateId === \"\" ? null : certificateId;\n if (this.props.validate) {\n const result = this.props.validate(value!);\n this.setState({ error: result });\n if (this.props.onValidate) {\n this.props.onValidate(result);\n }\n }\n if (this.props.onChange) {\n this.props.onChange(value!);\n }\n };\n private getItems(theme: OctopusTheme): Item[] {\n return this.state.items!.map((certificate) => {\n const expired = this.isCertificateExpired(certificate);\n const icon = expired ? : ;\n return {\n value: certificate.Id,\n text: certificate.Name + (expired ? \" (expired)\" : \"\"),\n icon,\n variant: expired ? \"danger\" : undefined,\n };\n });\n }\n private selectionRenderer = (certificateId: string) => {\n const certificate = this.state.items!.find((cert) => cert.Id === certificateId);\n if (!certificate) {\n return certificateId;\n }\n if (this.isCertificateExpired(certificate)) {\n return (
    \n \n \n \n {certificate.Name} (expired)\n
    );\n }\n return (
    \n \n \n \n {certificate.Name}\n
    );\n };\n private isCertificateExpired(certificate: CertificateResource) {\n const now = moment();\n const certificateExpiry = moment(certificate.NotAfter);\n return certificateExpiry.isBefore(now);\n }\n static displayName = \"CertificateSelect\";\n}\nconst selectedIcon = css({\n position: \"relative\",\n paddingRight: space[6],\n});\nconst expiredIcon = css({\n color: themeTokens.color.text.danger,\n});\nconst iconWrapper = css({\n display: \"flex\",\n alignItems: \"center\",\n});\nfunction AddCertificateButton(props: {\n openDrawer: () => void;\n}) {\n const navigate = useSpaceAwareNavigation();\n const trackEvent = useTrackEvent();\n const handleOnClick = () => {\n trackEvent(createAddCertificateAnalyticsEvent(\"Drawer\"));\n props.openDrawer();\n };\n return ;\n}\ninterface SearchDialogButtonProps {\n selectedId: string;\n onSelect: (pool: CertificateResource) => void;\n tenantId?: string;\n hide?: boolean;\n}\nfunction SearchDialogButton({ selectedId, onSelect, tenantId, hide }: SearchDialogButtonProps) {\n if (hide) {\n return null;\n }\n return (\n \n );\n}\nexport default CertificateSelect;\n","/* eslint-disable @typescript-eslint/consistent-type-assertions */\nimport { RadioButton } from \"@octopusdeploy/design-system-components\";\nimport type { AzureServiceFabricClusterEndpointResource, SensitiveValue, WorkerPoolResource, CertificateResource } from \"@octopusdeploy/octopus-server-client\";\nimport { CommunicationStyleValues, AzureServiceFabricSecurityMode, AADCredentialType } from \"@octopusdeploy/octopus-server-client\";\nimport { EndpointRegistrationKeyValues } from \"@octopusdeploy/portal-routes\";\nimport * as React from \"react\";\nimport type { DoBusyTask } from \"~/components/DataBaseComponent/DataBaseComponent\";\nimport { AzureServiceFabric as AzureServiceFabricClusterEndpointImage } from \"~/components/Images/MachineSettings/AzureServiceFabric\";\nimport ExternalLink from \"~/components/Navigation/ExternalLink\";\nimport { ExpandableFormSection, Summary, Note } from \"~/components/form\";\nimport CertificateSelect from \"~/components/form/CertificateSelect/CertificateSelect\";\nimport type { SummaryNode } from \"~/components/form/Sections/ExpandableFormSection\";\nimport { BoundSensitive } from \"~/components/form/Sensitive/Sensitive\";\nimport { VariableLookupText } from \"~/components/form/VariableLookupText\";\nimport { BoundRadioButtonGroup } from \"~/primitiveComponents/form/RadioButton/BoundRadioButtonGroup\";\nimport Select from \"~/primitiveComponents/form/Select/Select\";\nimport CommonSummaryHelper from \"~/utils/CommonSummaryHelper/CommonSummaryHelper\";\nimport AzureCategory from \"./AzureCategoryDefinition\";\nimport EndpointCard from \"./EndpointCard\";\nimport type { BuiltInEndpointRegistration } from \"./endpointRegistry\";\nimport styles from \"./styles.module.less\";\ninterface AzureServiceFabricClusterEndpointProps {\n doBusyTask: DoBusyTask;\n busy: Promise | boolean;\n endpoint: AzureServiceFabricClusterEndpointResource;\n workerPools: WorkerPoolResource[];\n certificates: () => Promise;\n refreshCertificates: () => Promise;\n getFieldError(field: string): string;\n onChange(newValue: AzureServiceFabricClusterEndpointResource): void;\n}\n//eslint-disable-next-line @typescript-eslint/no-empty-interface\ninterface AzureServiceFabricClusterEndpointState {\n}\nclass AzureServiceFabricClusterEndpoint extends React.Component {\n constructor(props: AzureServiceFabricClusterEndpointProps) {\n super(props);\n this.state = {};\n }\n render() {\n return (
    \n \n {\n const endpoint = this.props.endpoint;\n endpoint.ConnectionEndpoint = x;\n this.props.onChange(endpoint);\n }} error={this.props.getFieldError(\"ConnectionEndpoint\")} label=\"Connection endpoint\"/>\n \n\n \n {\n const endpoint = this.props.endpoint;\n endpoint.SecurityMode = x as AzureServiceFabricSecurityMode;\n // When they change this mode, clear data from any of the other fields to avoid potentially confusing validation messages.\n endpoint.ServerCertThumbprint = \"\";\n endpoint.ClientCertVariable = \"\";\n endpoint.CertificateStoreName = \"\";\n endpoint.CertificateStoreLocation = \"\";\n endpoint.AadClientCredentialSecret = \"\";\n endpoint.AadUserCredentialUsername = \"\";\n endpoint.AadUserCredentialPassword = {\n HasValue: false,\n };\n this.props.onChange(endpoint);\n }} title=\"Security mode\">\n \n \n \n To learn about client certificate authentication, please see the Connecting Securely with Client Certificates documentation.\n \n \n \n To learn about AAD authentication, please see the Connecting Securely with Azure Active Directory documentation.\n \n \n\n {this.props.endpoint.SecurityMode !== AzureServiceFabricSecurityMode.Unsecure && (
    \n {\n const endpoint = this.props.endpoint;\n endpoint.ServerCertThumbprint = x;\n this.props.onChange(endpoint);\n }} error={this.props.getFieldError(\"ServerCertThumbprint\")} label=\"Server certificate thumbprint\"/>\n The server certificate thumbprint used to communicate with the secure cluster.\n
    )}\n\n {this.props.endpoint.SecurityMode === AzureServiceFabricSecurityMode.SecureClientCertificate && (
    \n {\n const endpoint = this.props.endpoint;\n endpoint.ClientCertVariable = x;\n this.props.onChange(endpoint);\n }} items={this.props.certificates} onRequestRefresh={this.props.refreshCertificates} doBusyTask={this.props.doBusyTask}/>\n The client certificate used to communicate with the secure cluster.\n\n {\n const endpoint = this.props.endpoint;\n endpoint.CertificateStoreLocation = x;\n this.props.onChange(endpoint);\n }} error={this.props.getFieldError(\"CertificateStoreLocation\")} label=\"Override the default certificate store location (optional).\"/>\n This defaults to \"LocalMachine\"\n\n {\n const endpoint = this.props.endpoint;\n endpoint.CertificateStoreName = x;\n this.props.onChange(endpoint);\n }} error={this.props.getFieldError(\"CertificateStoreName\")} label=\"Override the default certificate store name (optional).\"/>\n This defaults to \"MY\"\n
    )}\n\n {this.props.endpoint.SecurityMode === AzureServiceFabricSecurityMode.SecureAzureAD && (
    \n {/*NOTE: mark.siedle - ClientCredential is not currently supported on Azure. Uncomment this when they do add support for it.*/}\n {false && (
    \n {\n const endpoint = this.props.endpoint;\n endpoint.AadCredentialType = x as AADCredentialType;\n this.props.onChange(endpoint);\n }} title=\"Credential type\">\n \n \n \n The credential type to use for AAD authentication.\n
    )}\n\n {this.props.endpoint.AadCredentialType === AADCredentialType.ClientCredential && (
    \n {\n const endpoint = this.props.endpoint;\n endpoint.AadClientCredentialSecret = x;\n this.props.onChange(endpoint);\n }} error={this.props.getFieldError(\"AadClientCredentialSecret\")} label=\"Client application secret\"/>\n The client application secret used to communicate with the secure cluster.\n
    )}\n\n {this.props.endpoint.AadCredentialType === AADCredentialType.UserCredential && (
    \n {\n const endpoint = this.props.endpoint;\n endpoint.AadUserCredentialUsername = x;\n this.props.onChange(endpoint);\n }} error={this.props.getFieldError(\"AadUserCredentialUsername\")} label=\"Username\"/>\n The Azure AD user's username used to communicate with the secure cluster.\n {\n const endpoint = this.props.endpoint;\n endpoint.AadUserCredentialPassword = x as SensitiveValue;\n this.props.onChange(endpoint);\n }} error={this.props.getFieldError(\"AadUserCredentialPassword\")} label=\"Password\"/>\n The Azure AD user's password used to communicate with the secure cluster.\n
    )}\n
    )}\n
    \n\n {this.props.workerPools.length > 1 && (\n ({ value: e.Id, text: e.Name }))} value={this.props.endpoint.DefaultWorkerPoolId} allowFilter={true} allowClear={true} onChange={(x) => this.props.onChange({ ...this.props.endpoint, DefaultWorkerPoolId: x })} sortItems={false}/>\n )}\n
    );\n }\n static displayName = \"AzureWebAppEndpoint\";\n}\nexport default AzureWebAppEndpoint;\nconst azureWebAppEndpointRegistration: BuiltInEndpointRegistration = {\n key: EndpointRegistrationKeyValues.AzureWebApp,\n displayOrder: 10,\n categories: [AzureCategory],\n name: \"Azure Web App\",\n communicationStyle: CommunicationStyleValues.AzureWebApp,\n targetDiscoveryCloudConnectionTypes: () => [\"Azure\"],\n renderCard: ({ registration, onNavigate, onClick }) => (} registrationName={registration.name} description=\"Connect to an existing Azure Web App.\" onNavigate={onNavigate} onClick={onClick}/>),\n};\nexport { azureWebAppEndpointRegistration };\n","import * as React from \"react\";\nimport type { SvgImageProps } from \"../../../primitiveComponents/dataDisplay/SvgImage/SvgImage\";\nimport SvgImage from \"../../../primitiveComponents/dataDisplay/SvgImage/SvgImage\";\nimport styles from \"../../../primitiveComponents/dataDisplay/SvgImage/styles.module.less\";\nconst AzureCloudRegion = (props: Partial) => (\n \n \n \n \n \n \n \n );\nexport { AzureCloudRegion };\n","import type { CloudRegionEndpointResource, WorkerPoolResource } from \"@octopusdeploy/octopus-server-client\";\nimport { CommunicationStyleValues } from \"@octopusdeploy/octopus-server-client\";\nimport { EndpointRegistrationKeyValues } from \"@octopusdeploy/portal-routes\";\nimport * as React from \"react\";\nimport { AzureCloudRegion } from \"~/components/Images/MachineSettings/AzureCloudRegion\";\nimport { ExpandableFormSection, Summary, Select } from \"~/components/form\";\nimport CommonSummaryHelper from \"~/utils/CommonSummaryHelper\";\nimport cloudRegionCategory from \"./CloudRegionCategoryDefinition\";\nimport EndpointCard from \"./EndpointCard\";\nimport type { CategorizedEndpointRegistration } from \"./endpointRegistry\";\nimport styles from \"./styles.module.less\";\ninterface CloudRegionEndpointProps {\n endpoint: CloudRegionEndpointResource;\n workerPools: WorkerPoolResource[];\n onChange(newValue: CloudRegionEndpointResource): void;\n}\nclass CloudRegionEndpoint extends React.Component {\n constructor(props: CloudRegionEndpointProps) {\n super(props);\n }\n render() {\n return (
    \n {this.props.workerPools.length > 1 && (\n ) : ( {\n if (typeof selectedFeed !== \"string\") {\n callAll(setFeedKey, onFeedChange)(selectedFeed.Id);\n }\n else {\n callAll(setFeedKey, onFeedChange)(selectedFeed);\n }\n }} feedId={feedKey} feedIdError={feedError} autoFocus={autoFocus} refreshFeeds={refreshFeeds} feeds={feeds} localNames={undefined} feedType={feedType} allowBoundVariables={false}/>))}\n\n {runContainerFromGitUrl && (<>\n \n \n See the Docker documentation for information on Git URLs and context configuration\n \n )}\n\n {runInlineContainer && (
    \n \n
    \n \n See the Octopus documentation for information and requirements when using custom inline Docker\n images.\n \n
    )}\n\n {((runInsideContainer && feedViewPermissionGranted) || runContainerFromGitUrl || runInlineContainer) && (<>\n \n {runInsideContainer &&\n feedViewPermissionGranted &&\n (props.containerImageRecommendation ? {props.containerImageRecommendation} : )}\n {(runContainerFromGitUrl || runInlineContainer) && (<>\n \n If image name is left empty, we will use a default image name: octopus/[actionid]:latest\n
    \n
    \n \n The first time the step runs, it will take a bit longer because the container image is being built for the first time. Subsequent runs will be faster because the image is cached\n {!runningOnBuiltInWorker ? , as long as it runs on the same worker : \"\"}.\n \n
    \n )}\n )}\n );\n};\nExecutionContainerImageSelector.displayName = \"ExecutionContainerImageSelector\"\ninterface ActionContainersHelpProps {\n setImageName: (image: string) => void;\n onImageNameChange: (value: string) => void;\n doBusyTask: DoBusyTask;\n}\nfunction ActionContainersHelp({ setImageName, onImageNameChange, doBusyTask }: ActionContainersHelpProps) {\n const [latestWindows2019Image, setLatestWindows2019Image] = React.useState(\"\");\n const [latestWindows2022Image, setLatestWindows2022Image] = React.useState(\"\");\n const [latestUbuntu2204Image, setLatestUbuntu2204Image] = React.useState(\"\");\n useDoBusyTaskEffect(doBusyTask, async () => {\n await findLatestWorkerToolsImageTag(setLatestWindows2019Image, setLatestWindows2022Image, setLatestUbuntu2204Image);\n }, []);\n const fillerPhrase = \"octopusdeploy/worker-tools:\";\n const latestUbuntuImageLabel = latestUbuntu2204Image.replace(fillerPhrase, \"\\u2026\");\n const latestWindows2022ImageLabel = latestWindows2022Image.replace(fillerPhrase, \"\\u2026\");\n const latestWindows2019ImageLabel = latestWindows2019Image.replace(fillerPhrase, \"\\u2026\");\n return (
    \n The image should include the tag\n\n \n Use an octopusdeploy/worker-tools image:\n
      \n {latestUbuntu2204Image && (
    • \n Ubuntu 22.04:{\" \"}\n \n setImageOnClick(e, latestUbuntu2204Image, setImageName, onImageNameChange)}>\n {latestUbuntuImageLabel} \n \n \n
    • )}\n {latestWindows2022Image && (
    • \n Windows 2022:{\" \"}\n \n setImageOnClick(e, latestWindows2022Image, setImageName, onImageNameChange)}>\n {latestWindows2022ImageLabel} \n \n \n
    • )}\n {latestWindows2019Image && (
    • \n Windows 2019:{\" \"}\n \n setImageOnClick(e, latestWindows2019Image, setImageName, onImageNameChange)}>\n {latestWindows2019ImageLabel} \n \n \n
    • )}\n
    \n
    \n
    );\n}\nconst feedViewPermissionMissingCallout = (isRunningInContainerCheck: boolean) => {\n return (\n
    You will need FeedView permission to {isRunningInContainerCheck ? \"edit selected container and/or feed\" : \"enable running inside a container\"}
    \n System and Space Permissions{\" \"}\n
    );\n};\nconst useImageStyles = css({\n cursor: \"pointer\",\n display: \"flex\",\n alignItems: \"center\",\n svg: {\n marginLeft: space[4],\n width: fontSize[\"medium\"],\n height: fontSize[\"medium\"],\n },\n});\nconst useImageContainerStyles = css({\n \"> li\": {\n marginBottom: space[6],\n },\n \"> li:last-child\": {\n marginBottom: 0,\n },\n});\nconst findLatestWorkerToolsImageTag = async (setLatestWindows2019Image: (image: string) => void, setLatestWindows2022Image: (image: string) => void, setLatestUbuntu2204Image: (image: string) => void) => {\n const latestImages = await repository.WorkerTools.getWorkerToolsLatestImages();\n const latestWindows2019Image = latestImages[\"windows.ltsc2019\"];\n const latestWindows2022Image = latestImages[\"windows.ltsc2022\"];\n const latestUbuntu2204Image = latestImages[\"ubuntu.22.04\"];\n if (!!latestWindows2019Image) {\n setLatestWindows2019Image(latestWindows2019Image);\n }\n if (!!latestWindows2022Image) {\n setLatestWindows2022Image(latestWindows2022Image);\n }\n if (!!latestUbuntu2204Image) {\n setLatestUbuntu2204Image(latestUbuntu2204Image);\n }\n};\nconst getExecutionOption = (runningInContainer: boolean, container: DeploymentActionContainer): StepExecutionOption => {\n if (runningInContainer) {\n if (container.GitUrl) {\n return StepExecutionOption.RunContainerFromGitUrlOnWorker;\n }\n if (container.Dockerfile) {\n return StepExecutionOption.RunContainerFromInlineSourceOnWorker;\n }\n return StepExecutionOption.RunInsideContainerOnWorker;\n }\n return StepExecutionOption.RunDirectlyOnWorker;\n};\nexport const isRunningInContainer = (runOn: RunOn): boolean => {\n if (!isRunOnServerOrWorkerPool(runOn)) {\n return false;\n }\n if (!runOn.runningInContainer) {\n return false;\n }\n if (runOn.container.FeedId === null || runOn.container.Image === null || runOn.container.GitUrl === null || runOn.container.Dockerfile === null) {\n return false;\n }\n return true;\n};\nconst setImageOnClick = (e: React.MouseEvent, image: string, setImage: (image: string) => void, onImageNameChange: (value: string) => void) => {\n e.preventDefault();\n setImage(image);\n onImageNameChange(image);\n};\nexport default ExecutionContainerImageSelector;\n","import * as React from \"react\";\nimport type { SvgImageProps } from \"~/primitiveComponents/dataDisplay/SvgImage/SvgImage\";\nimport SvgImage from \"~/primitiveComponents/dataDisplay/SvgImage/SvgImage\";\nimport styles from \"~/primitiveComponents/dataDisplay/SvgImage/styles.module.less\";\nconst KubernetesApi = (props: Partial) => (\n \n \n \n \n \n \n \n );\nexport { KubernetesApi };\n","/* eslint-disable @typescript-eslint/consistent-type-assertions,@typescript-eslint/no-non-null-assertion */\nimport { css } from \"@emotion/css\";\nimport { RadioButtonGroup, BooleanRadioButtonGroup, RadioButton, BooleanRadioButton, Checkbox } from \"@octopusdeploy/design-system-components\";\nimport { space } from \"@octopusdeploy/design-system-tokens\";\nimport type { AccountResource, CertificateResource, KubernetesEndpointResource, ProxyResource, WorkerPoolResource, FeedResource } from \"@octopusdeploy/octopus-server-client\";\nimport { CommunicationStyleValues, AccountType, KubernetesAuthenticationType, KubernetesAwsAuthentication, KubernetesAzureAuthentication, KubernetesCertificateAuthentication, KubernetesGoogleCloudAuthentication, KubernetesPodServiceAccountAuthentication, KubernetesStandardAccountAuthentication, Permission, } from \"@octopusdeploy/octopus-server-client\";\nimport { EndpointRegistrationKeyValues } from \"@octopusdeploy/portal-routes\";\nimport _ from \"lodash\";\nimport * as React from \"react\";\nimport KubernetesNamespacePicker from \"~/areas/infrastructure/components/MachineSettings/Endpoints/DefaultNamespacePicker\";\nimport { generateDefaultActionContainer, isRunOnBuiltInWorker, isRunOnServerOrWorkerPool } from \"~/areas/projects/components/Process/Common/CommonProcessHelpers\";\n// TODO: Cleanup - We should seriously reconsider importing from other areas like this.\nimport type { RunOn, RunOnServerOrWorkerPool } from \"~/areas/projects/components/Process/types\";\nimport { ExecutionLocation, RunOnBuiltInWorker, RunOnDeploymentTarget, RunOnWorkerPool } from \"~/areas/projects/components/Process/types\";\nimport { repository } from \"~/clientInstance\";\nimport { getKubernetesTargetDiscoveryCloudProviders } from \"~/components/Actions/kubernetes/getKubernetesTargetDiscoveryCloudProviders\";\nimport { ExecutionContainerImageSelector, StepExecutionOption } from \"~/components/ContainerSelector\";\nimport type { DoBusyTask } from \"~/components/DataBaseComponent\";\nimport { KubernetesApi } from \"~/components/Images/MachineSettings/KubernetesApi\";\nimport ExternalLink from \"~/components/Navigation/ExternalLink\";\nimport { isAllowed } from \"~/components/PermissionCheck/PermissionCheck\";\nimport { Text } from \"~/components/form\";\nimport AccountSelect from \"~/components/form/AccountSelect/AccountSelect\";\nimport CertificateSelect from \"~/components/form/CertificateSelect/CertificateSelect\";\nimport ExpandableFormSection from \"~/components/form/Sections/ExpandableFormSection\";\nimport Summary from \"~/components/form/Sections/Summary\";\nimport StringCheckbox from \"~/primitiveComponents/form/Checkbox/StringCheckbox\";\nimport Note from \"~/primitiveComponents/form/Note/Note\";\nimport Select from \"~/primitiveComponents/form/Select/Select\";\nimport CommonSummaryHelper from \"~/utils/CommonSummaryHelper\";\nimport EndpointCard from \"./EndpointCard\";\nimport kubernetesCategory from \"./KubernetesCategoryDefinition\";\nimport type { BuiltInEndpointRegistration } from \"./endpointRegistry\";\nimport styles from \"./styles.module.less\";\nconst gkeInternalIpStyles = css({\n marginTop: space[16],\n marginBottom: space[16],\n});\ninterface KubernetesEndpointProps {\n proxies: ProxyResource[];\n doBusyTask: DoBusyTask;\n busy: Promise | boolean;\n endpoint: KubernetesEndpointResource;\n accounts: AccountResource[];\n workerPools: WorkerPoolResource[];\n certificates: () => Promise;\n refreshAccounts: () => Promise<{}>;\n refreshCertificates: () => Promise;\n isBuiltInWorkerEnabled: boolean;\n feeds: FeedResource[];\n imageNameError?: string;\n refreshFeeds: (callback?: (feeds: FeedResource[]) => void) => Promise;\n onChange(newValue: KubernetesEndpointResource): void;\n getFieldError(field: string): string;\n}\nenum GkeClusterType {\n Regional = \"Regional\",\n Zonal = \"Zonal\"\n}\ninterface KubernetesEndpointState {\n certificate: CertificateResource | undefined;\n account: AccountResource | undefined;\n executionContainerSelected: boolean;\n gkeClusterType: GkeClusterType;\n}\nexport class KubernetesEndpoint extends React.Component {\n constructor(props: KubernetesEndpointProps) {\n super(props);\n this.state = {\n certificate: undefined,\n account: undefined,\n executionContainerSelected: !!props.endpoint.Container?.Image && !!props.endpoint.Container?.FeedId,\n gkeClusterType: GkeClusterType.Regional,\n };\n }\n async componentDidMount() {\n await this.props.doBusyTask(async () => {\n await this.getCertificateResource();\n await this.getAccountResource();\n });\n if (this.getAccountType() === AccountType.GoogleCloudAccount) {\n const googleCloudAuth = this.getGoogleCloudAuth();\n if (googleCloudAuth.Region) {\n this.setState({ gkeClusterType: GkeClusterType.Regional });\n }\n else if (googleCloudAuth.Zone) {\n this.setState({ gkeClusterType: GkeClusterType.Zonal });\n }\n }\n }\n render() {\n return (
    \n \n ({ value: e.Id, text: e.Name }))} value={this.props.endpoint.DefaultWorkerPoolId} allowFilter={true} allowClear={true} onChange={(x) => {\n this.props.endpoint.DefaultWorkerPoolId = x;\n this.props.onChange(this.props.endpoint);\n }} sortItems={false}/>\n )}\n {this.renderContainerImageSelector()}\n \n {\n const endpoint = this.props.endpoint;\n endpoint.ContainerOptions = x;\n this.props.onChange(endpoint);\n }} error={this.props.getFieldError(\"ContainerOptions\")} label=\"Container Options\"/>\n \n
    );\n }\n private renderContainerImageSelector() {\n const runOn = this.whereToRun();\n if (!isRunOnServerOrWorkerPool(runOn)) {\n return null;\n }\n const feedViewPermissionGranted = isAllowed({ permission: Permission.FeedView, wildcard: true });\n return (\n {this.state.executionContainerSelected && This image is only used when performing health checks. It is not used when performing deployments.}\n this.onFeedIdChanged(feedId!, runOn)} onImageNameChange={(imageName) => this.onImageNameChanged(imageName, runOn)} onContainerGitUrlChange={(gitUrl) => this.onContainerGitUrlChanged(gitUrl, runOn)} onContainerDockerfileChange={(dockerfile) => this.onContainerDockerfileChanged(dockerfile, runOn)} resetContainer={(updatedRunOn) => this.onContainerReset(updatedRunOn)} onStepExecutionOptionChange={(option) => {\n if (option === StepExecutionOption.RunDirectlyOnWorker) {\n this.onRunOnChanged({ ...runOn, runningInContainer: false, container: generateDefaultActionContainer() });\n }\n else {\n this.onRunOnChanged({ ...runOn, runningInContainer: true });\n }\n }} imageNameError={this.props.imageNameError} doBusyTask={this.props.doBusyTask} disableInlineExecutionContainers={true}/>\n );\n }\n private onFeedIdChanged = (feedId: string, runOn: RunOnServerOrWorkerPool) => {\n const updatedContainer = { ...runOn.container, FeedId: feedId };\n this.onRunOnChanged({ runningInContainer: runOn.runningInContainer, executionLocation: runOn.executionLocation, container: updatedContainer });\n };\n private onImageNameChanged = (imageName: string, runOn: RunOnServerOrWorkerPool) => {\n const updatedContainer = { ...runOn.container, Image: imageName };\n this.onRunOnChanged({ runningInContainer: runOn.runningInContainer, executionLocation: runOn.executionLocation, container: updatedContainer });\n };\n private onContainerGitUrlChanged = (gitUrl: string, runOn: RunOnServerOrWorkerPool) => {\n const updatedContainer = { ...runOn.container, GitUrl: gitUrl };\n this.onRunOnChanged({ runningInContainer: runOn.runningInContainer, executionLocation: runOn.executionLocation, container: updatedContainer });\n };\n private onContainerDockerfileChanged = (dockerfile: string, runOn: RunOnServerOrWorkerPool) => {\n const updatedContainer = { ...runOn.container, Dockerfile: dockerfile };\n this.onRunOnChanged({ runningInContainer: runOn.runningInContainer, executionLocation: runOn.executionLocation, container: updatedContainer });\n };\n private onContainerReset = (runOn: RunOnServerOrWorkerPool) => {\n this.onRunOnChanged({ ...runOn });\n };\n private onRunOnChanged = (runOn: RunOnBuiltInWorker | RunOnWorkerPool) => {\n if (runOn.runningInContainer) {\n this.setState({ executionContainerSelected: runOn.runningInContainer });\n if (this.props.endpoint.Container?.FeedId !== runOn.container.FeedId || this.props.endpoint.Container?.Image !== runOn.container.Image) {\n this.props.endpoint.Container = { ...runOn.container };\n this.props.onChange(this.props.endpoint);\n }\n }\n else {\n if (this.props.endpoint.Container !== null) {\n this.props.endpoint.Container = null;\n this.props.onChange(this.props.endpoint);\n }\n }\n };\n private getAccountType(): string {\n // First use any value saved in the AccountType field\n if (this.props.endpoint.AccountType) {\n return this.props.endpoint.AccountType;\n }\n // Inspect the account resource\n if (this.state.account) {\n return this.state.account.AccountType;\n }\n // Inspect the certificate resource\n if (this.state.certificate) {\n return KubernetesAuthenticationType.KubernetesCertificate;\n }\n // Using an instance role means we have an AWS account\n if ((this.props.endpoint.Authentication as KubernetesAwsAuthentication)?.UseInstanceRole) {\n return AccountType.AmazonWebServicesAccount;\n }\n // Using a VM account means we have an GoogleCloud account\n if ((this.props.endpoint.Authentication as KubernetesGoogleCloudAuthentication)?.UseVmServiceAccount) {\n return AccountType.GoogleCloudAccount;\n }\n if ((this.props.endpoint.Authentication as KubernetesPodServiceAccountAuthentication)?.TokenPath) {\n return KubernetesAuthenticationType.KubernetesPodServiceAccount;\n }\n return null!;\n }\n private accountSummary() {\n if (this.props.endpoint.Authentication) {\n if (this.props.endpoint.Authentication.AuthenticationType === KubernetesAuthenticationType.KubernetesCertificate) {\n if (this.state.certificate) {\n return Summary.summary(this.state.certificate.Name);\n }\n return Summary.summary(Using certificate);\n }\n if (this.props.endpoint.Authentication.AuthenticationType === KubernetesAuthenticationType.KubernetesPodServiceAccount) {\n return Summary.summary(Using pod service account);\n }\n const stdAccount = this.props.endpoint.Authentication as KubernetesStandardAccountAuthentication;\n if (stdAccount.AccountId) {\n return CommonSummaryHelper.resourceSummary(stdAccount.AccountId, this.props.accounts, \"account\");\n }\n const awsAccount = this.props.endpoint.Authentication as KubernetesAwsAuthentication;\n if (awsAccount?.UseInstanceRole) {\n return Summary.summary(Using AWS instance role);\n }\n const googleCloudAccount = this.props.endpoint.Authentication as KubernetesGoogleCloudAuthentication;\n if (googleCloudAccount?.UseVmServiceAccount) {\n return Summary.summary(Using Google Cloud service account in the Virtual Machine);\n }\n }\n return Summary.placeholder(\"No account or certificate selected\");\n }\n private kubernetesSummary() {\n if (this.props.endpoint.ClusterUrl) {\n const tlsNotes = this.props.endpoint.ClusterCertificate ? \" with a custom certificate\" : this.props.endpoint.SkipTlsVerification === \"True\" ? \" without TLS verification\" : \" with TLS verification\";\n const namespaceNotes = this.props.endpoint.Namespace ? (\n {\" \"}\n and namespace {this.props.endpoint.Namespace}\n ) : ();\n return Summary.summary(\n Connecting to cluster at {this.props.endpoint.ClusterUrl}\n {namespaceNotes}\n {tlsNotes}\n );\n }\n if (this.props.endpoint.Namespace) {\n return Summary.summary(\n Namespace is {this.props.endpoint.Namespace}\n );\n }\n return Summary.placeholder(\"No cluster URL or namespace\");\n }\n private async getCertificateResource() {\n if (this.props.endpoint.Authentication && this.props.endpoint.Authentication.AuthenticationType === KubernetesAuthenticationType.KubernetesCertificate) {\n const auth = this.props.endpoint.Authentication as KubernetesCertificateAuthentication;\n if (auth.ClientCertificate) {\n const certificate = await repository.Certificates.get(auth.ClientCertificate);\n this.setState({\n certificate,\n // Clear the account if we have an account selected\n account: !certificate ? this.state.account : undefined,\n });\n }\n }\n }\n private async getAccountResource() {\n if (this.props.endpoint.Authentication && this.props.endpoint.Authentication.AuthenticationType !== KubernetesAuthenticationType.KubernetesCertificate) {\n const auth = this.props.endpoint.Authentication as KubernetesStandardAccountAuthentication;\n if (auth.AccountId) {\n const account = await repository.Accounts.get((this.props.endpoint.Authentication as KubernetesStandardAccountAuthentication).AccountId);\n this.setState({\n account,\n // Clear the certificate if we have an account selected\n certificate: !account ? this.state.certificate : undefined,\n });\n }\n }\n }\n /**\n * Return the Aws authentication object, creating a new one if necessary\n */\n private getAwsAuth(): KubernetesAwsAuthentication {\n if (!this.props.endpoint.Authentication || this.props.endpoint.Authentication.AuthenticationType !== KubernetesAuthenticationType.KubernetesAws) {\n this.props.endpoint.Authentication = new KubernetesAwsAuthentication();\n }\n return this.props.endpoint.Authentication as KubernetesAwsAuthentication;\n }\n /**\n * Return the Azure authentication object, creating a new one if necessary\n */\n private getAzureAuth(): KubernetesAzureAuthentication {\n if (!this.props.endpoint.Authentication || this.props.endpoint.Authentication.AuthenticationType !== KubernetesAuthenticationType.KubernetesAzure) {\n this.props.endpoint.Authentication = new KubernetesAzureAuthentication();\n // Azure supplies these values for us\n this.props.endpoint.ClusterUrl = \"\";\n this.props.endpoint.ClusterCertificate = \"\";\n this.props.endpoint.SkipTlsVerification = \"False\";\n }\n return this.props.endpoint.Authentication as KubernetesAzureAuthentication;\n }\n /**\n * Return the standard authentication object, creating a new one if necessary\n */\n private getStandardAuth(): KubernetesStandardAccountAuthentication {\n if (!this.props.endpoint.Authentication || this.props.endpoint.Authentication.AuthenticationType !== KubernetesAuthenticationType.KubernetesStandard) {\n this.props.endpoint.Authentication = new KubernetesStandardAccountAuthentication();\n }\n return this.props.endpoint.Authentication as KubernetesStandardAccountAuthentication;\n }\n /**\n * Return the Certificate authentication object, creating a new one if necessary\n */\n private getCertificateAuth(): KubernetesCertificateAuthentication {\n if (!this.props.endpoint.Authentication || this.props.endpoint.Authentication.AuthenticationType !== KubernetesAuthenticationType.KubernetesCertificate) {\n this.props.endpoint.Authentication = new KubernetesCertificateAuthentication();\n }\n return this.props.endpoint.Authentication as KubernetesCertificateAuthentication;\n }\n /**\n * Return the Pod Service Token, creating a new one if necessary\n */\n private getPodServiceAuth(): KubernetesPodServiceAccountAuthentication {\n if (!this.props.endpoint.Authentication || this.props.endpoint.Authentication.AuthenticationType !== KubernetesAuthenticationType.KubernetesPodServiceAccount) {\n this.props.endpoint.Authentication = new KubernetesPodServiceAccountAuthentication();\n }\n return this.props.endpoint.Authentication as KubernetesPodServiceAccountAuthentication;\n }\n /**\n * Return the Google cloud authentication object, creating a new one if necessary\n */\n private getGoogleCloudAuth(): KubernetesGoogleCloudAuthentication {\n if (!this.props.endpoint.Authentication || this.props.endpoint.Authentication.AuthenticationType !== KubernetesAuthenticationType.KubernetesGoogleCloud) {\n this.props.endpoint.Authentication = new KubernetesGoogleCloudAuthentication();\n }\n return this.props.endpoint.Authentication as KubernetesGoogleCloudAuthentication;\n }\n private whereToRun(): RunOn {\n if (this.props.workerPools.length > 0) {\n const runOn = new RunOnWorkerPool();\n runOn.container = this.props.endpoint.Container || generateDefaultActionContainer();\n runOn.executionLocation = ExecutionLocation.WorkerPool;\n runOn.runningInContainer = this.state.executionContainerSelected;\n return runOn;\n }\n else if (this.props.isBuiltInWorkerEnabled) {\n const runOn = new RunOnBuiltInWorker();\n runOn.container = this.props.endpoint.Container || generateDefaultActionContainer();\n runOn.executionLocation = ExecutionLocation.OctopusServer;\n runOn.runningInContainer = this.state.executionContainerSelected;\n return runOn;\n }\n return new RunOnDeploymentTarget();\n }\n static displayName = \"KubernetesEndpoint\";\n}\nexport default KubernetesEndpoint;\nconst kubernetesEndpointRegistration: BuiltInEndpointRegistration = {\n key: EndpointRegistrationKeyValues.Kubernetes,\n displayOrder: 20,\n communicationStyle: CommunicationStyleValues.Kubernetes,\n name: \"Kubernetes API\",\n categories: [kubernetesCategory],\n targetDiscoveryCloudConnectionTypes: getKubernetesTargetDiscoveryCloudProviders,\n customTargetDiscoveryLabel: \"AKS and EKS cluster\",\n renderCard: ({ registration, onNavigate, onClick }) => (} registrationName={registration.name} description=\"Connect to your cluster via API and execute deployment tasks on workers.\" onNavigate={onNavigate} onClick={onClick}/>),\n};\nexport { kubernetesEndpointRegistration };\n","import * as React from \"react\";\nimport type { SvgImageProps } from \"../../../primitiveComponents/dataDisplay/SvgImage/SvgImage\";\nimport SvgImage from \"../../../primitiveComponents/dataDisplay/SvgImage/SvgImage\";\nimport styles from \"../../../primitiveComponents/dataDisplay/SvgImage/styles.module.less\";\nconst OfflinePackageDrop = (props: Partial) => (\n \n \n \n \n \n );\nexport { OfflinePackageDrop };\n","/* eslint-disable @typescript-eslint/consistent-type-assertions */\nimport { RadioButtonGroup, RadioButton } from \"@octopusdeploy/design-system-components\";\nimport type { OfflineDropEndpointResource } from \"@octopusdeploy/octopus-server-client\";\nimport { CommunicationStyleValues, OfflineDropDestinationType } from \"@octopusdeploy/octopus-server-client\";\nimport { EndpointRegistrationKeyValues } from \"@octopusdeploy/portal-routes\";\nimport * as React from \"react\";\nimport { OfflinePackageDrop } from \"~/components/Images/MachineSettings/OfflinePackageDrop\";\nimport { ExpandableFormSection, Note, Sensitive, Summary, Text } from \"~/components/form\";\nimport { ObfuscatedPlaceholder } from \"~/components/form/Sensitive/Sensitive\";\nimport ExternalLink from \"../../../../../components/Navigation/ExternalLink/ExternalLink\";\nimport EndpointCard from \"./EndpointCard\";\nimport offlineDropCategory from \"./OfflineDropCategoryDefinition\";\nimport type { BuiltInEndpointRegistration } from \"./endpointRegistry\";\nimport styles from \"./styles.module.less\";\ninterface OfflineDropEndpointProps {\n endpoint: OfflineDropEndpointResource;\n onChange(newValue: OfflineDropEndpointResource): void;\n}\nclass OfflineDropEndpoint extends React.Component {\n render() {\n return (
    \n \n this.onDestinationTypeChange(val as OfflineDropDestinationType)}>\n \n \n The offline bundle will be written as a zip file and stored as an Octopus Artifact\n \n \n The offline bundle will be written to a directory\n \n\n {this.props.endpoint.Destination.DestinationType === OfflineDropDestinationType.FileSystem && (\n {\n const endpoint = this.props.endpoint;\n endpoint.Destination.DropFolderPath = x;\n this.props.onChange(endpoint);\n }}/>\n A file-system path to which drop packages will be published. Using a full UNC path is recommended. Packages may contain sensitive data.\n )}\n \n \n {\n const endpoint = this.props.endpoint;\n endpoint.SensitiveVariablesEncryptionPassword = x;\n this.props.onChange(endpoint);\n }} label=\"Encryption password\"/>\n The installation script will prompt for this password, and use it for decryption. If your project will not contain sensitive-variables you may leave this value un-set.\n \n \n {\n const endpoint = this.props.endpoint;\n endpoint.ApplicationsDirectory = x;\n this.props.onChange(endpoint);\n }}/>\n The final application installation path can be set by using the 'Custom Installation Directory' project setting.\n \n \n {\n const endpoint = this.props.endpoint;\n endpoint.OctopusWorkingDirectory = x;\n this.props.onChange(endpoint);\n }}/>\n \n
    );\n }\n private encryptionPasswordSummary() {\n return this.props.endpoint.SensitiveVariablesEncryptionPassword && this.props.endpoint.SensitiveVariablesEncryptionPassword.HasValue ? Summary.summary(ObfuscatedPlaceholder) : Summary.placeholder(\"No encryption password provided\");\n }\n private destinationTypeSummary() {\n switch (this.props.endpoint.Destination.DestinationType) {\n case OfflineDropDestinationType.Artifact:\n return Summary.summary(\"The offline-drop package will be created as an Octopus Artifact and attached to the deployment\");\n case OfflineDropDestinationType.FileSystem:\n return Summary.summary(`The offline-drop package will be written to ${this.props.endpoint.Destination.DropFolderPath}`);\n }\n }\n private onDestinationTypeChange(destinationType: OfflineDropDestinationType) {\n const endpoint = this.props.endpoint;\n endpoint.Destination.DestinationType = destinationType;\n if (destinationType === OfflineDropDestinationType.Artifact) {\n endpoint.Destination.DropFolderPath = undefined;\n }\n if (destinationType === OfflineDropDestinationType.FileSystem) {\n endpoint.Destination.DropFolderPath = \"\";\n }\n this.props.onChange(endpoint);\n }\n static displayName = \"OfflineDropEndpoint\";\n}\nexport default OfflineDropEndpoint;\nconst offlineDropEndpointRegistration: BuiltInEndpointRegistration = {\n key: EndpointRegistrationKeyValues.OfflineDrop,\n displayOrder: 10,\n communicationStyle: CommunicationStyleValues.OfflineDrop,\n name: \"Offline Package Drop\",\n categories: [offlineDropCategory],\n renderCard: ({ registration, onNavigate, onClick }) => (} registrationName={registration.name} description=\"Configure a location to drop Offline Deployment Packages.\" onNavigate={onNavigate} onClick={onClick}/>),\n};\nexport { offlineDropEndpointRegistration };\n","import * as React from \"react\";\nimport type { SvgImageProps } from \"../../../primitiveComponents/dataDisplay/SvgImage/SvgImage\";\nimport SvgImage from \"../../../primitiveComponents/dataDisplay/SvgImage/SvgImage\";\nimport styles from \"../../../primitiveComponents/dataDisplay/SvgImage/styles.module.less\";\nconst SshConnection = (props: Partial) => (\n \n \n \n \n \n );\nexport { SshConnection };\n","/* eslint-disable @typescript-eslint/consistent-type-assertions */\nimport { BooleanRadioButtonGroup, BooleanRadioButton, Callout } from \"@octopusdeploy/design-system-components\";\nimport { AccountType, CommunicationStyleValues } from \"@octopusdeploy/octopus-server-client\";\nimport type { SshEndpointResource, ProxyResource, AccountResource, DeprecationResource } from \"@octopusdeploy/octopus-server-client\";\nimport { EndpointRegistrationKeyValues } from \"@octopusdeploy/portal-routes\";\nimport * as React from \"react\";\nimport { repository } from \"~/clientInstance\";\nimport { WarningChip } from \"~/components/Chips/index\";\nimport { SshConnection } from \"~/components/Images/MachineSettings/SshConnection\";\nimport ExternalLink from \"~/components/Navigation/ExternalLink\";\nimport { Text, ExpandableFormSection, UnstructuredFormSection, FormSectionHeading, Summary, Select, Note } from \"~/components/form\";\nimport AccountSelect from \"~/components/form/AccountSelect/AccountSelect\";\nimport CommonSummaryHelper from \"~/utils/CommonSummaryHelper\";\nimport ParseHelper from \"~/utils/ParseHelper\";\nimport { EndpointCard } from \"./EndpointCard\";\nimport LinuxCateogry from \"./LinuxCategoryDefinition\";\nimport MacCategory from \"./MacCategoryDefinition\";\nimport type { MachineRegistration } from \"./endpointRegistry\";\nimport styles from \"./styles.module.less\";\ninterface SshEndpointProps {\n endpoint: SshEndpointResource;\n proxies: ProxyResource[];\n accounts: AccountResource[];\n refreshAccounts: () => Promise<{}>;\n onChange(newValue: SshEndpointResource): void;\n}\ninterface SshEndpointState {\n shouldUseProxy: boolean;\n monoInstalled: boolean;\n isMonoDeprecated: boolean;\n monoDeprecationState?: DeprecationResource;\n}\nclass SshEndpoint extends React.Component {\n public static dotnetCorePlatforms = [\"linux-x64\", \"osx-x64\", \"linux-arm\", \"linux-arm64\"];\n public static experimentalPlatforms = [\"experimental\"];\n constructor(props: SshEndpointProps) {\n super(props);\n this.state = {\n shouldUseProxy: !!this.props.endpoint.ProxyId,\n monoInstalled: !this.props.endpoint.DotNetCorePlatform,\n isMonoDeprecated: true,\n };\n }\n async componentDidMount() {\n const deprecations = await repository.Deprecations.getDeprecations();\n const monoDeprecationState = deprecations.Deprecations.find((dep) => dep.Id == \"Mono\");\n this.setState({\n monoDeprecationState: monoDeprecationState,\n isMonoDeprecated: !monoDeprecationState?.LegacyModeEnabled ?? true,\n });\n }\n render() {\n return (
    \n \n {\n const endpoint = this.props.endpoint;\n endpoint.AccountId = x;\n this.props.onChange(endpoint);\n }} items={this.props.accounts}/>\n \n \n {\n const endpoint = this.props.endpoint;\n endpoint.Host = x;\n this.props.onChange(endpoint);\n }} type=\"url\"/>\n \n \n {\n const endpoint = this.props.endpoint;\n endpoint.Port = ParseHelper.safeParseInt(x);\n this.props.onChange(endpoint);\n }} type=\"number\"/>\n \n \n {\n const endpoint = this.props.endpoint;\n endpoint.Fingerprint = x;\n this.props.onChange(endpoint);\n }}/>\n \n \n {\n this.setState({ shouldUseProxy });\n const endpoint = this.props.endpoint;\n endpoint.ProxyId = undefined;\n this.props.onChange(endpoint);\n }} value={this.state.shouldUseProxy}>\n \n \n \n {this.state.shouldUseProxy && ( {\n const endpoint = this.props.endpoint;\n endpoint.DotNetCorePlatform = x;\n this.props.onChange(endpoint);\n }} value={this.props.endpoint.DotNetCorePlatform} items={SshEndpoint.dotnetCorePlatforms.map((p) => ({ value: p, text: p }))}/>\n {this.props.endpoint && this.isExperimentalPlatform(this.props.endpoint.DotNetCorePlatform) && (\n {this.props.endpoint.DotNetCorePlatform} support is currently experimental.\n
    \n Share with us your experience using this feature.\n
    \n \n Let us know why you use {this.props.endpoint.DotNetCorePlatform}, and if there are other platforms you would like to see supported.\n \n
    )}\n A platform-specific, self-contained version of Calamari will be used. This means Mono is not required to be installed on the target server.\n
    )}\n
    );\n }\n private getTargetFrameworkSection() {\n const deprecationChip = ;\n const summary = this.state.monoInstalled ? Summary.summary(<>Calamari on Mono {deprecationChip}) : Summary.default(\"Self-contained Calamari\");\n return (\n {\n if (monoInstalled) {\n this.clearDotNetCorePlatform();\n }\n else {\n this.setDefaultDotNetCorePlatform();\n }\n this.setState({ monoInstalled });\n }}>\n \n Mono framework is not installed on the target server. A self-contained version of Calamari will be used.\n Calamari on Mono {deprecationChip}}/>\n Mono framework version 3.10 or greater is installed on the target server.\n \n );\n }\n private clearDotNetCorePlatform() {\n const endpoint = this.props.endpoint;\n endpoint.DotNetCorePlatform = undefined;\n this.props.onChange(endpoint);\n }\n private setDefaultDotNetCorePlatform() {\n const endpoint = this.props.endpoint;\n endpoint.DotNetCorePlatform = SshEndpoint.dotnetCorePlatforms[0];\n this.props.onChange(endpoint);\n }\n private getDotnetCorePlatformSummary() {\n const isExperimentalMessage = this.isExperimentalPlatform(this.props.endpoint.DotNetCorePlatform) ? \" (experimental)\" : \"\";\n return this.props.endpoint && this.props.endpoint.DotNetCorePlatform ? Summary.summary(this.props.endpoint.DotNetCorePlatform + isExperimentalMessage) : Summary.placeholder(\"No platform specified\");\n }\n private isExperimentalPlatform(platform: string | undefined) {\n return platform && SshEndpoint.experimentalPlatforms && SshEndpoint.experimentalPlatforms.indexOf(platform) > -1;\n }\n static displayName = \"SshEndpoint\";\n}\nexport default SshEndpoint;\nconst sshEndpointRegistration: MachineRegistration = {\n key: EndpointRegistrationKeyValues.Ssh,\n displayOrder: 50,\n communicationStyle: CommunicationStyleValues.Ssh,\n name: \"SSH Connection\",\n discoverable: true,\n categories: [LinuxCateogry, MacCategory],\n renderCard: ({ registration, onNavigate, onClick }) => (} registrationName={registration.name} description=\"Connect to this target via Secure Shell (SSH).\" onNavigate={onNavigate} onClick={onClick}/>),\n};\nexport { sshEndpointRegistration };\n","import * as React from \"react\";\nconst headingText = \"A Tentacle agent will need to be installed on the target server to communicate with the Octopus Server.\";\nexport const TentacleCalloutHeading: React.SFC<{\n heading?: string;\n}> = ({ heading = headingText }) => (

    \n {heading}\n

    );\nTentacleCalloutHeading.displayName = \"TentacleCalloutHeading\"\n","import { Callout } from \"@octopusdeploy/design-system-components\";\nimport * as React from \"react\";\nimport ExternalLink from \"~/components/Navigation/ExternalLink\";\nimport { UnstructuredFormSection } from \"~/components/form\";\nimport { TentacleCalloutHeading } from \"./TentacleCalloutHeading\";\nexport const LinuxListeningTentacleCallout: React.SFC<{\n thumbprint: React.ReactNode;\n}> = ({ thumbprint }) => (\n \n \n
    \n

    \n For getting started instructions please visit the Linux Tentacle documentation.\n

    \n {thumbprint}\n
    \n
    \n
    );\nLinuxListeningTentacleCallout.displayName = \"LinuxListeningTentacleCallout\"\nexport default LinuxListeningTentacleCallout;\n","import * as React from \"react\";\nimport ExternalLink from \"~/components/Navigation/ExternalLink\";\nimport { TentacleCalloutHeading } from \"./TentacleCalloutHeading\";\nexport const LinuxPollingTentacleCallout: React.SFC<{}> = () => (
    \n

    Installation Instructions

    \n \n

    \n For getting started instructions please visit the Linux Tentacle documentation.\n

    \n
    );\nLinuxPollingTentacleCallout.displayName = \"LinuxPollingTentacleCallout\"\nexport default LinuxPollingTentacleCallout;\n","import { SimpleMenu, useMenuState, ActionButton, ActionButtonType } from \"@octopusdeploy/design-system-components\";\nimport { OctoLink } from \"@octopusdeploy/utilities\";\nimport * as React from \"react\";\nimport { DropDownIcon } from \"~/components/Button/DropDownIcon/DropDownIcon\";\nimport { useExternalLinksWithAnalytics } from \"~/components/Navigation/ExternalLink/useExternalLinksWithAnalytics\";\nexport function TentacleDownloadButton() {\n const [openMenu, menuState, buttonAriaAttributes] = useMenuState();\n const menuItems = useExternalLinksWithAnalytics([\n { type: \"external-link\", label: \"Windows (.NET Framework-dependent) 32-bit/x86 Installer\", href: OctoLink.Create(\"LatestTentacleWinX86\") },\n { type: \"external-link\", label: \"Windows (.NET Framework-dependent) 64-bit/x64 Installer\", href: OctoLink.Create(\"LatestTentacleWinX64\") },\n { type: \"external-link\", label: \"Windows (self-contained) 32-bit/x86 Installer\", href: OctoLink.Create(\"LatestTentacleWinSelfContainedX86\") },\n { type: \"external-link\", label: \"Windows (self-contained) 64-bit/x64 Installer\", href: OctoLink.Create(\"LatestTentacleWinSelfContainedX64\") },\n { type: \"external-link\", label: \"Need a custom version?\", href: OctoLink.Create(\"TentacleDownloadPage\") },\n ]);\n return (<>\n } iconPosition=\"right\" label=\"Download Tentacle\" onClick={openMenu} menuButtonAttributes={buttonAriaAttributes}/>\n \n );\n}\n","import type { SimpleMenuItem } from \"@octopusdeploy/design-system-components\";\nimport { nameForDocument, useAnalyticExternalLinkDispatch } from \"~/analytics/Analytics\";\nexport function useExternalLinksWithAnalytics(items: SimpleMenuItem[]): SimpleMenuItem[] {\n const dispatchLink = useAnalyticExternalLinkDispatch();\n return items.map((item) => instrumentExternalLinkClickWithAnalytics(item, dispatchLink, nameForDocument()));\n}\nfunction instrumentExternalLinkClickWithAnalytics(item: SimpleMenuItem, dispatchLink: (linkLabel: string, href: string, name: string) => void, name: string): SimpleMenuItem {\n if (item.type !== \"external-link\") {\n return item;\n }\n const { type, onClick, label, href } = item;\n return {\n type,\n label,\n href,\n onClick: () => {\n dispatchLink(label, href, name);\n onClick?.();\n },\n };\n}\n","import { Callout } from \"@octopusdeploy/design-system-components\";\nimport * as React from \"react\";\nimport { TentacleDownloadButton } from \"~/areas/infrastructure/components/TentacleDownloadButton/TentacleDownloadButton\";\nimport ExternalLink from \"~/components/Navigation/ExternalLink\";\nimport { Note, UnstructuredFormSection } from \"~/components/form\";\nimport { TentacleCalloutHeading } from \"./TentacleCalloutHeading\";\nexport const WindowsListeningTentacleCallout: React.SFC<{\n thumbprint: React.ReactNode;\n}> = ({ thumbprint }) => (\n \n \n
    \n

    \n During setup, configure the Tentacle in listening mode, and ensure the Tentacle is configured to trust an Octopus Server with the thumbprint.\n

    \n \n Learn more about configuring Listening Tentacles.\n \n \n {thumbprint}\n
    \n
    \n
    );\nWindowsListeningTentacleCallout.displayName = \"WindowsListeningTentacleCallout\"\nexport default WindowsListeningTentacleCallout;\n","import * as React from \"react\";\nimport { TentacleDownloadButton } from \"~/areas/infrastructure/components/TentacleDownloadButton/TentacleDownloadButton\";\nimport ExternalLink from \"~/components/Navigation/ExternalLink\";\nimport { Note } from \"~/components/form\";\nimport { TentacleCalloutHeading } from \"./TentacleCalloutHeading\";\nexport const WindowsPollingTentacleCallout: React.SFC<{}> = () => (
    \n

    Installation Instructions

    \n \n

    \n During setup, configure the Tentacle in polling mode. The wizard will then ask for your credentials to connect to the Octopus server and establish the connection.\n

    \n \n Learn more about configuring Polling Tentacles.\n \n \n
    );\nWindowsPollingTentacleCallout.displayName = \"WindowsPollingTentacleCallout\"\nexport default WindowsPollingTentacleCallout;\n","import * as React from \"react\";\nimport type { SvgImageProps } from \"../../../primitiveComponents/dataDisplay/SvgImage/SvgImage\";\nimport SvgImage from \"../../../primitiveComponents/dataDisplay/SvgImage/SvgImage\";\nimport styles from \"../../../primitiveComponents/dataDisplay/SvgImage/styles.module.less\";\nconst PollingTarget = (props: Partial) => (\n \n \n \n \n \n \n \n \n \n );\nexport { PollingTarget };\n","import { FingerprintIcon } from \"@octopusdeploy/design-system-icons\";\nimport * as React from \"react\";\nimport CopyToClipboard from \"~/components/CopyToClipboardButton/CopyToClipboardButton\";\nimport styles from \"./style.module.less\";\ninterface ServerThumbprintProps {\n thumbprint: string;\n}\nclass ServerThumbprint extends React.PureComponent {\n render() {\n return (\n \n {this.props.thumbprint}\n \n );\n }\n static displayName = \"ServerThumbprint\";\n}\nexport default ServerThumbprint;\n","import type { BaseTentacleEndpointConfiguration } from \"@octopusdeploy/octopus-server-client\";\nimport * as React from \"react\";\nimport ServerThumbprint from \"~/components/ServerThumbprint/ServerThumbprint\";\nimport { Text, ExpandableFormSection, Summary, Note } from \"~/components/form\";\ninterface TentacleThumbprintProps {\n endpoint: BaseTentacleEndpointConfiguration;\n serverThumbprint: string | null;\n onChange(newValue: BaseTentacleEndpointConfiguration): void;\n}\nexport class TentacleThumbprint extends React.Component {\n render() {\n return (\n {\n const endpoint = this.props.endpoint;\n endpoint.Thumbprint = x;\n this.props.onChange(endpoint);\n }}/>\n \n You can confirm the validity of the thumbprint by opening the Tentacle administration tool on the discovered Tentacle.\n {this.props.endpoint.CertificateSignatureAlgorithm && (\n This certificate uses the {this.props.endpoint.CertificateSignatureAlgorithm} algorithm.\n )}\n \n {this.props.serverThumbprint && (\n Please ensure the Tentacle is configured to trust an Octopus Server with the thumbprint:\n
    \n \n
    )}\n
    );\n }\n static displayName = \"TentacleThumbprint\";\n}\nexport default TentacleThumbprint;\n","/* eslint-disable @typescript-eslint/consistent-type-assertions */\nimport { NavigationButton, NavigationButtonType } from \"@octopusdeploy/design-system-components\";\nimport { space } from \"@octopusdeploy/design-system-tokens\";\nimport type { BaseTentacleEndpointConfiguration } from \"@octopusdeploy/octopus-server-client\";\nimport { CommunicationStyleValues } from \"@octopusdeploy/octopus-server-client\";\nimport { EndpointRegistrationKeyValues, links } from \"@octopusdeploy/portal-routes\";\nimport * as React from \"react\";\nimport { WindowsPollingTentacleCallout, LinuxPollingTentacleCallout } from \"~/areas/infrastructure/components/TentacleCallout\";\nimport { PollingTarget } from \"~/components/Images/MachineSettings/PollingTarget\";\nimport { ExpandableFormSection, Summary, Text, Note } from \"~/components/form\";\nimport LinuxCateogry from \"./LinuxCategoryDefinition\";\nimport { InfoRegistrationCards } from \"./RegistrationCards\";\nimport TentacleThumbprint from \"./TentacleThumbprint\";\nimport WindowsCategory from \"./WindowsCategoryDefinition\";\nimport type { MachineRegistration, CategorizedEndpointRegistration } from \"./endpointRegistry\";\nimport { EndpointSelectionScope } from \"./endpointRegistry\";\nimport styles from \"./styles.module.less\";\ninterface TentacleActiveEndpointProps {\n endpoint: BaseTentacleEndpointConfiguration;\n serverThumbprint: string | null;\n onChange(newValue: BaseTentacleEndpointConfiguration): void;\n}\nexport class TentacleActiveEndpoint extends React.Component {\n render() {\n return (
    \n {\n this.props.onChange(endpoint);\n }}/>\n \n {\n const endpoint = this.props.endpoint;\n endpoint.Uri = x;\n this.props.onChange(endpoint);\n }} type=\"url\"/>\n The subscription id is a random 20 character id that is used to queue messages from the server to the Polling Tentacle. This should match the value in the Tentacle config file.\n \n
    );\n }\n static displayName = \"TentacleActiveEndpoint\";\n}\nconst WindowsTentacleActiveDialogView: React.SFC<{}> = () => (
    \n \n

    After installation

    \n

    The new Polling Tentacle will automatically show up in the Deployment Targets list.

    \n
    );\nWindowsTentacleActiveDialogView.displayName = \"WindowsTentacleActiveDialogView\"\nconst LinuxTentacleActiveDialogView: React.SFC<{}> = () => (
    \n \n

    After installation

    \n

    The new Polling Tentacle will automatically show up in the Deployment Targets list.

    \n
    );\nLinuxTentacleActiveDialogView.displayName = \"LinuxTentacleActiveDialogView\"\nconst TentacleAdditionalActions: React.SFC<{\n spaceId: string;\n scope: EndpointSelectionScope;\n}> = ({ spaceId, scope }) => {\n const deploymentTargetLink = scope === EndpointSelectionScope.DeploymentTarget;\n const workerLink = scope === EndpointSelectionScope.Worker;\n return (\n {deploymentTargetLink && ()}\n {workerLink && }\n );\n};\nTentacleAdditionalActions.displayName = \"TentacleAdditionalActions\"\nexport default TentacleActiveEndpoint;\nfunction createLogo(registration: CategorizedEndpointRegistration): React.ReactElement {\n return ;\n}\nconst activeTentacleEndpointRegistration: MachineRegistration = {\n key: EndpointRegistrationKeyValues.TentacleActive,\n displayOrder: 10,\n categories: [WindowsCategory, LinuxCateogry],\n name: \"Polling Tentacle\",\n communicationStyle: CommunicationStyleValues.TentacleActive,\n discoverable: false,\n renderCard: InfoRegistrationCards.basic(({ category }) => (category.category === WindowsCategory.category ? : ), ({ registration }) => ({\n logo: createLogo(registration),\n registrationName: registration.name,\n description: \"A Polling target will actively poll the Octopus Server for tasks to perform.\",\n }), ({ spaceId, scope }) => , ({ onClick }) => onClick),\n};\nexport { activeTentacleEndpointRegistration };\n","import * as React from \"react\";\nimport type { SvgImageProps } from \"../../../primitiveComponents/dataDisplay/SvgImage/SvgImage\";\nimport SvgImage from \"../../../primitiveComponents/dataDisplay/SvgImage/SvgImage\";\nimport styles from \"../../../primitiveComponents/dataDisplay/SvgImage/styles.module.less\";\nconst ListeningTarget = (props: Partial) => (\n \n \n \n \n \n \n \n );\nexport { ListeningTarget };\n","import { BooleanRadioButtonGroup, BooleanRadioButton } from \"@octopusdeploy/design-system-components\";\nimport type { ListeningTentacleEndpointConfiguration, ProxyResource } from \"@octopusdeploy/octopus-server-client\";\nimport { CommunicationStyleValues } from \"@octopusdeploy/octopus-server-client\";\nimport { EndpointRegistrationKeyValues } from \"@octopusdeploy/portal-routes\";\nimport * as React from \"react\";\nimport { ListeningTarget } from \"~/components/Images/MachineSettings/ListeningTarget\";\nimport { Text, ExpandableFormSection, Summary, Select } from \"~/components/form\";\nimport CommonSummaryHelper from \"~/utils/CommonSummaryHelper\";\nimport { EndpointCard } from \"./EndpointCard\";\nimport LinuxCategory from \"./LinuxCategoryDefinition\";\nimport TentacleThumbprint from \"./TentacleThumbprint\";\nimport WindowsCategory from \"./WindowsCategoryDefinition\";\nimport type { MachineRegistration } from \"./endpointRegistry\";\nimport styles from \"./styles.module.less\";\ninterface TentaclePassiveEndpointProps {\n endpoint: ListeningTentacleEndpointConfiguration;\n serverThumbprint: string | null;\n proxies: ProxyResource[];\n onChange(newValue: ListeningTentacleEndpointConfiguration): void;\n}\ninterface TentaclePassiveEndpointState {\n shouldUseProxy: boolean;\n}\nclass TentaclePassiveEndpoint extends React.Component {\n constructor(props: TentaclePassiveEndpointProps) {\n super(props);\n this.state = {\n shouldUseProxy: !!props.endpoint.ProxyId,\n };\n }\n render() {\n return (
    \n {\n const thumbprint = x.Thumbprint;\n const endpoint = this.props.endpoint;\n endpoint.Thumbprint = thumbprint;\n this.props.onChange(endpoint);\n }}/>\n \n {\n const endpoint = this.props.endpoint;\n endpoint.Uri = x;\n this.props.onChange(endpoint);\n }} type=\"url\"/>\n \n \n {\n this.setState({ shouldUseProxy });\n const endpoint = this.props.endpoint;\n endpoint.ProxyId = undefined;\n this.props.onChange(endpoint);\n }} value={this.state.shouldUseProxy}>\n \n \n \n {this.state.shouldUseProxy && ( ({ value: pg.Id, text: pg.Name }))} label=\"Project group\"/>\n \n );\n};\nconst advancedOptionsLableStyles = css({\n color: themeTokens.color.text.tertiary,\n textTransform: \"uppercase\",\n margin: `${space[16]} 0`,\n fontSize: fontSize[\"xSmall\"],\n fontWeight: fontWeight[700],\n});\nexport default AdvancedProjectSection;\n","import { css } from \"@emotion/css\";\nimport { borderRadius, fontSize, space, themeTokens } from \"@octopusdeploy/design-system-tokens\";\nexport const radioButtonStyles = css({\n \"& .MuiFormGroup-root[role='radiogroup']\": {\n gap: space[\"12\"],\n \"& label\": {\n border: `1px solid ${themeTokens.color.border.primary}`,\n borderRadius: borderRadius.small,\n padding: `${space[\"8\"]} ${space[\"12\"]}`,\n minWidth: \"170px\",\n \"& .MuiTypography-root.MuiFormControlLabel-label\": {\n fontSize: fontSize[\"medium\"],\n \"& .note\": {\n color: themeTokens.color.text.tertiary,\n },\n },\n },\n \"& label:has(.active)\": {\n border: `1px solid ${themeTokens.color.icon.selected}`,\n },\n },\n});\n","import React from \"react\";\nimport styles from \"./style.module.less\";\nexport interface ColorPaletteProps {\n colors: string[];\n selectedColor: string | undefined;\n onColorChange: (color: string) => void;\n}\nconst ColorPaletteSelector = ({ colors, selectedColor, onColorChange }: ColorPaletteProps) => {\n return (
    \n {colors.map((color) => (
    );\n};\nexport default ColorPaletteSelector;\n","import { themeTokens } from \"@octopusdeploy/design-system-tokens\";\nimport type { IconSvgResource } from \"@octopusdeploy/octopus-server-client\";\nimport React from \"react\";\ninterface IconEditorSvgProps {\n icon: IconSvgResource;\n isSelected: boolean;\n}\nconst IconEditorSvg = ({ icon, isSelected }: IconEditorSvgProps) => {\n const longestSide = Math.max(icon.iconWidth, icon.iconHeight);\n const length = longestSide * 2;\n const offsetX = (length - icon.iconWidth) / 2;\n const offsetY = (length - icon.iconHeight) / 2;\n const iconPathColour = isSelected ? \"white\" : themeTokens.color.icon.secondary;\n return (\n \n );\n};\nexport default IconEditorSvg;\n","import type { IconSvgResource } from \"@octopusdeploy/octopus-server-client\";\nimport classNames from \"classnames\";\nimport React from \"react\";\nimport IconEditorSvg from \"~/components/form/IconEditor/IconEditorSvg\";\nimport styles from \"./style.module.less\";\ninterface IconSelectionButtonProps {\n icon: IconSvgResource;\n selectedIconColor: string | undefined;\n selectedIconId: string | undefined;\n onSelect: (id: string) => void;\n}\nconst IconSelectionButton = ({ icon, onSelect, selectedIconId, selectedIconColor }: IconSelectionButtonProps) => {\n const isSelected = selectedIconId === icon.id;\n return ();\n};\ninterface IconSelectorProps {\n icons: IconSvgResource[];\n selectedIconId: string | undefined;\n selectedIconColor: string | undefined;\n onSelect: (id: string) => void;\n}\nconst IconSelector = ({ icons, selectedIconId, selectedIconColor, onSelect }: IconSelectorProps) => (
    \n
    \n {icons.map((iconSvgResource) => ( onSelect(iconId)}/>))}\n
    \n
    );\nexport default IconSelector;\n","import type { IconMetadataResource, IconSvgResource } from \"@octopusdeploy/octopus-server-client\";\nimport React, { useEffect, useMemo, useState } from \"react\";\nimport { Select, Text } from \"~/components/form\";\nimport ColorPaletteSelector from \"~/components/form/IconEditor/IconColorPaletteSelector\";\nimport IconSelector from \"./IconSelector\";\nexport interface IconEditorSettings {\n iconId: string;\n iconColor: string;\n}\nexport const IconEditorColorPalette = [\"#3CA4F3\", \"#145586\", \"#25D284\", \"#027744\", \"#AED0EB\", \"#173B56\", \"#C39AF8\", \"#5E2EA2\", \"#FFB867\", \"#EF6F1F\", \"#FFADA5\", \"#CA1E1E\"];\nexport const IconEditorDefaultColor = IconEditorColorPalette[0];\nconst defaultIconIds = [\n \"chart-bar\",\n \"map-signs\",\n \"code\",\n \"rocket\",\n \"eye\",\n \"coffee\",\n \"anchor\",\n \"tachometer-alt\",\n \"skiing-nordic\",\n \"tools\",\n \"exclamation-triangle\",\n \"globe-africa\",\n \"money-check-alt\",\n \"shopping-basket\",\n \"football-ball\",\n \"wheelchair\",\n \"gift\",\n \"comment-dots\",\n \"gamepad\",\n \"crosshairs\",\n \"shield-alt\",\n \"binoculars\",\n \"calendar-check\",\n \"map-marker-alt\",\n];\nexport interface IconEditorProps {\n icons: IconSvgResource[];\n iconMetadata: IconMetadataResource;\n selectedIconId: string;\n selectedIconColor: string;\n onIconIdChange: (iconId: string) => void;\n onIconColorChange: (iconColor: string) => void;\n}\nfunction filterToDefaultIcons(icons: IconSvgResource[], selectedIconId: string) {\n return icons.filter((item) => defaultIconIds.some((s) => item.id === s)).sort((a, b) => defaultIconIds.indexOf(a.id) - defaultIconIds.indexOf(b.id));\n}\nfunction filterBySearchText(icons: IconSvgResource[], searchText: string) {\n return searchText.length === 0 ? icons : icons.filter((item) => item.searchTerms.some((s) => s.includes(searchText.toLowerCase())));\n}\nfunction filterByCategory(icons: IconSvgResource[], iconMetadata: IconMetadataResource, category: string) {\n return category.length > 0 ? icons.filter((item) => iconMetadata.categories[category]?.includes(item.id)) : icons;\n}\nconst IconEditor = ({ icons, iconMetadata, selectedIconId, selectedIconColor, onIconIdChange, onIconColorChange }: IconEditorProps) => {\n const [searchText, setSearchText] = useState(\"\");\n const [selectedCategory, setSelectedCategory] = useState(\"\");\n const [initialIconId] = useState(selectedIconId);\n const categories = useMemo(() => (iconMetadata.categories ? Object.keys(iconMetadata.categories) : []), [iconMetadata]);\n useEffect(() => {\n for (const category of categories) {\n if (iconMetadata.categories[category].includes(initialIconId)) {\n setSelectedCategory(category);\n return;\n }\n }\n }, [categories, iconMetadata, initialIconId]);\n const filteredIcons = useMemo(() => {\n if (searchText.length === 0 && selectedCategory.length === 0) {\n return filterToDefaultIcons(icons, selectedIconId);\n }\n else {\n const result = filterBySearchText(icons, searchText);\n return filterByCategory(result, iconMetadata, selectedCategory);\n }\n }, [icons, searchText, selectedCategory, iconMetadata, selectedIconId]);\n return (<>\n setSearchText(text)} placeholder=\"Search icons...\"/>\n this.props.onControlTypeChange(ControlType[x as keyof typeof ControlType])} error={this.props.controlTypeError}/>\n The type of control to display.\n\n {this.props.controlType === ControlType.Select && (
    \n this.props.onSelectOptionsChange(x)} error={this.props.selectOptionsError}/>\n \n
    \n Enter each option on a new line. Use | to separate values and display text - e.g.:\n
    \n                                    Value1|Display text 1\n                                    
    \n Value2|Display text 2\n
    \n
    \n
    \n
    )}\n
    );\n }\n private controlTypeItems() {\n return [\n { value: ControlType.SingleLineText, text: \"Single-line text box\" },\n { value: ControlType.MultiLineText, text: \"Multi-line text box\" },\n { value: ControlType.Select, text: \"Drop down\" },\n { value: ControlType.Checkbox, text: \"Checkbox\" },\n { value: ControlType.Sensitive, text: \"Sensitive/password box\" },\n { value: ControlType.Package, text: \"Package\" },\n { value: ControlType.StepName, text: \"A previous deployment step name\" },\n { value: ControlType.AzureAccount, text: \"Azure Account\" },\n { value: ControlType.AmazonWebServicesAccount, text: \"AWS Account\" },\n { value: ControlType.GoogleCloudAccount, text: \"Google Cloud Account\" },\n { value: ControlType.GenericOidcAccount, text: \"Generic Oidc Account\" },\n { value: ControlType.UsernamePasswordAccount, text: \"Username Password Account\" },\n { value: ControlType.Certificate, text: \"Certificate\" },\n { value: ControlType.WorkerPool, text: \"Worker Pool\" },\n ].filter((x) => {\n if (this.props.includedControlTypeOptions) {\n return this.props.includedControlTypeOptions.indexOf(x.value) !== -1;\n }\n if (this.props.excludedControlTypeOptions) {\n return this.props.excludedControlTypeOptions.indexOf(x.value) === -1;\n }\n });\n }\n static displayName = \"ControlTypeSelector\";\n}\n","/* eslint-disable @typescript-eslint/no-non-null-assertion */\n/* eslint-disable @typescript-eslint/no-explicit-any */\n/* eslint-disable no-eq-null */\n/* eslint-disable @typescript-eslint/consistent-type-assertions */\nimport { Callout } from \"@octopusdeploy/design-system-components\";\nimport { ControlType, Permission } from \"@octopusdeploy/octopus-server-client\";\nimport type { ActionTemplateParameterResource } from \"@octopusdeploy/octopus-server-client\";\nimport * as React from \"react\";\nimport ControlTypeSelector from \"~/components/ControlType/ControlTypeSelector\";\nimport OkDialogLayout from \"~/components/DialogLayout/OkDialogLayout\";\nimport MarkdownEditor from \"~/components/form/MarkdownEditor/MarkdownEditor\";\nimport { dropdownOptionsValidator, required } from \"~/components/form/Validators\";\nimport Note from \"~/primitiveComponents/form/Note/Note\";\nimport { DebounceText } from \"~/primitiveComponents/form/Text/Text\";\ninterface ProcessTemplateParameterEditorDialogProps {\n allParameters: ActionTemplateParameterResource[];\n parameter?: ActionTemplateParameterResource;\n onOk(parameter: ActionTemplateParameterResource): void;\n}\nconst parameterEditPermission = {\n permission: Permission.PlatformHubEdit,\n};\nconst emptyParameter: ActionTemplateParameterResource = {\n Id: \"\",\n Links: {},\n Name: \"\",\n Label: \"\",\n HelpText: \"\",\n DisplaySettings: {},\n};\nexport default function ProcessTemplateParameterEditorDialog(props: ProcessTemplateParameterEditorDialogProps) {\n const [model, setModel] = React.useState(props.parameter || emptyParameter);\n const [originalName] = React.useState(model.Name);\n const [validationErrors, setValidationErrors] = React.useState>({});\n const showRenameWarning = () => {\n return originalName && originalName !== model.Name;\n };\n const updateModel = (newValues: Partial) => {\n setModel({\n ...model,\n ...newValues,\n });\n };\n const onOk = () => {\n const errors: Record = {};\n if (!model.Name) {\n errors[\"Name\"] = \"Please provide a name for the parameter.\";\n }\n if (props.allParameters.some((p) => p.Name === model.Name && p.Name !== originalName)) {\n errors[\"Name\"] = \"This parameter name already exists. Parameter names should be unique.\";\n }\n if (!model.DisplaySettings[\"Octopus.ControlType\"]) {\n errors[\"ControlType\"] = \"Please provide a control type for the parameter.\";\n }\n const selectOptionsError = dropdownOptionsValidator()(model.DisplaySettings[\"Octopus.SelectOptions\"]!);\n if (model.DisplaySettings[\"Octopus.ControlType\"] === ControlType.Select && selectOptionsError !== \"\") {\n errors[\"SelectOptions\"] = `Drop down options are not formatted correctly. ${selectOptionsError}.`;\n }\n if (Object.keys(errors).length > 0) {\n setValidationErrors(errors);\n return false;\n }\n props.onOk(model);\n return true;\n };\n return (\n
    \n {showRenameWarning() && (\n Parameter name is used as a key so if you rename it you will lose data associated with it that is stored in existing steps.\n )}\n\n updateModel({ Name })} autoFocus label=\"Parameter name\" error={validationErrors[\"Name\"]} validate={required(\"Please enter a parameter name\")}/>\n \n The name of the parameter. The name can contain letters, digits, dashes and periods. Example: ServerName.\n \n\n updateModel({ Label })} label=\"Label\"/>\n \n The label shown beside the parameter when presented in the deployment process. Example: Server name.\n \n\n updateModel({ HelpText })} label=\"Help text\"/>\n The help presented alongside the parameter input.\n\n updateModel({\n DisplaySettings: {\n ...model.DisplaySettings,\n [\"Octopus.ControlType\"]: controlType,\n },\n })} onSelectOptionsChange={(selectOptions) => updateModel({\n DisplaySettings: {\n ...model.DisplaySettings,\n [\"Octopus.SelectOptions\"]: selectOptions,\n },\n })} controlTypeError={validationErrors[\"ControlType\"]} selectOptionsError={validationErrors[\"SelectOptions\"]}/>\n
    \n
    );\n}\n","import { useEffect, useRef, useState } from \"react\";\nexport function useScopeWidth() {\n const scopeHeaderRef = useRef(null);\n const [scopeWidth, setScopeWidth] = useState(0);\n useEffect(() => {\n const current = scopeHeaderRef.current;\n const observer = new ResizeObserver((entries) => {\n setScopeWidth(entries[0].contentRect.width);\n });\n if (current) {\n observer.observe(current);\n }\n return () => {\n if (current) {\n observer.unobserve(current);\n }\n };\n }, []);\n return { scopeHeaderRef, scopeWidth };\n}\n","import { Tooltip } from \"@octopusdeploy/design-system-components\";\nimport { ExclamationTriangleIcon } from \"@octopusdeploy/design-system-icons\";\nimport { themeTokens } from \"@octopusdeploy/design-system-tokens\";\nimport * as React from \"react\";\ninterface MissingVariablesIcon {\n show: boolean;\n withoutTooltip?: boolean;\n}\nconst MissingVariablesIcon: React.StatelessComponent = (props) => {\n const AlertIcon = () => ;\n if (!props.show) {\n return null;\n }\n if (props.withoutTooltip) {\n return ;\n }\n return (\n \n );\n};\nMissingVariablesIcon.displayName = \"MissingVariablesIcon\"\nexport default MissingVariablesIcon;\n","import { VariableType } from \"@octopusdeploy/octopus-server-client\";\nimport type { VariableAccountType } from \"@octopusdeploy/octopus-server-client\";\nexport function isAccountType(type: VariableType): type is VariableAccountType {\n switch (type) {\n case VariableType.String:\n return false;\n case VariableType.Sensitive:\n return false;\n case VariableType.Certificate:\n return false;\n case VariableType.WorkerPool:\n return false;\n case VariableType.AmazonWebServicesAccount:\n return true;\n case VariableType.AzureAccount:\n return true;\n case VariableType.GoogleCloudAccount:\n return true;\n case VariableType.UsernamePasswordAccount:\n return true;\n case VariableType.GenericOidcAccount:\n return true;\n }\n return assertUnreachable(type);\n}\nfunction assertUnreachable(x: never): never {\n throw new Error(\"Didn't expect to get here - unrecognised variable type\");\n}\n","import * as React from \"react\";\nimport styles from \"./style.module.less\";\ninterface ReadonlyTextProps {\n text: string;\n className?: string;\n monoSpacedFont?: boolean;\n}\n// This component is supposed to be styled the same as a component.\n// This idea being that if they were side by side and the text component was not focused and did not have an underline,\n// then they would look identical\nconst ReadonlyText: React.SFC = (props) => {\n return (
    \n
    \n
    {props.text}
    \n
    \n
    );\n};\nReadonlyText.displayName = \"ReadonlyText\"\nexport default ReadonlyText;\n","import Default from \"./ReadonlyText\";\nexport * from \"./ReadonlyText\";\nexport default Default;\n","import { css, cx } from \"@emotion/css\";\nimport { LockOnIcon } from \"@octopusdeploy/design-system-icons\";\nimport { space, themeTokens } from \"@octopusdeploy/design-system-tokens\";\nimport type { PropertyValueResource, WorkerPoolResource } from \"@octopusdeploy/octopus-server-client\";\nimport { VariableType } from \"@octopusdeploy/octopus-server-client\";\nimport { isResourceBoundValue } from \"@octopusdeploy/step-runtime-inputs\";\nimport { noOp } from \"@octopusdeploy/utilities\";\nimport * as React from \"react\";\nimport type { LoadedSourceItems } from \"~/areas/projects/components/Variables/TenantVariables/useTenantVariableResourceOptions\";\nimport MissingVariablesIcon from \"~/areas/tenants/MissingVariablesIcon/MissingVariablesIcon\";\nimport { isAccountType } from \"~/areas/variables/isAccountType\";\nimport { MissingChip } from \"~/components/Chips/index\";\nimport ReadonlyText from \"~/components/ReadonlyText/index\";\nimport convertPropertyValueResourceToString from \"~/components/convertPropertyValueResourceToString\";\nimport { ObfuscatedPlaceholder } from \"~/components/form/Sensitive/Sensitive\";\nimport { Text } from \"~/components/form/index\";\nimport { WorkerPoolIcon } from \"~/primitiveComponents/dataDisplay/Icon/index\";\ninterface ReadonlyInlineVariableValueProps {\n accounts: {\n [accountId: string]: string;\n };\n certificates: {\n [certificateId: string]: string;\n };\n workerPools: {\n [workerPoolId: string]: WorkerPoolResource;\n };\n value: PropertyValueResource | undefined;\n defaultValue: PropertyValueResource | undefined;\n variableType: VariableType;\n hasEditPermissions: boolean;\n sourceItems?: LoadedSourceItems;\n}\nexport default ({ value, variableType, defaultValue, accounts, certificates, workerPools, hasEditPermissions, sourceItems }: ReadonlyInlineVariableValueProps) => {\n const variableValue = convertPropertyValueResourceToString(value);\n const variableDefaultValue = convertPropertyValueResourceToString(defaultValue);\n if (isAccountType(variableType)) {\n return ;\n }\n if (variableType === VariableType.Sensitive) {\n return ;\n }\n if (variableType === VariableType.String) {\n return ;\n }\n if (variableType === VariableType.Certificate) {\n return ;\n }\n if (variableType === VariableType.WorkerPool) {\n return ;\n }\n return null;\n};\ninterface AccountValueProps {\n value: string;\n defaultValue: string;\n hasEditPermissions: boolean;\n accounts: {\n [accountId: string]: string;\n };\n sourceItems?: LoadedSourceItems;\n}\nfunction AccountValue({ value, defaultValue, hasEditPermissions, accounts, sourceItems }: AccountValueProps) {\n const [displayValue, isDefaultValue] = value ? [value, false] : [defaultValue, true];\n const styleClasses = isDefaultValue ? [styles.container, styles.defaultValue] : [styles.container];\n if (isResourceBoundValue(displayValue)) {\n return (
    \n \n
    );\n }\n if (!displayValue) {\n return (
    \n \n
    );\n }\n const getAccountName = (id: string) => accounts[id] || (sourceItems && sourceItems.accounts.items.find((c) => c.Id === id))?.Name;\n const accountName = getAccountName(displayValue);\n if (!accountName) {\n return ;\n }\n return (
    \n \n
    );\n}\ninterface CertificateValueProps {\n value: string;\n defaultValue: string;\n hasEditPermissions: boolean;\n certificates: {\n [certificateId: string]: string;\n };\n sourceItems?: LoadedSourceItems;\n}\nfunction CertificateValue({ value, defaultValue, hasEditPermissions, certificates, sourceItems }: CertificateValueProps) {\n const [displayValue, isDefaultValue] = value ? [value, false] : [defaultValue, true];\n const styleClasses = isDefaultValue ? [styles.container, styles.defaultValue] : [styles.container];\n if (isResourceBoundValue(displayValue)) {\n return (
    \n \n
    );\n }\n if (!displayValue) {\n return (
    \n \n
    );\n }\n const getCertificateName = (id: string) => certificates[id] || (sourceItems && sourceItems.certificates.loadedItems.find((c) => c.Id === id))?.Name;\n const certificateName = getCertificateName(displayValue);\n if (!certificateName) {\n return ;\n }\n return (
    \n \n \n
    );\n}\ninterface WorkerPoolValueProps {\n value: string;\n defaultValue: string;\n hasEditPermissions: boolean;\n workerPools: {\n [workerPoolId: string]: WorkerPoolResource;\n };\n sourceItems?: LoadedSourceItems;\n}\nfunction WorkerPoolValue({ value, defaultValue, hasEditPermissions, workerPools, sourceItems }: WorkerPoolValueProps) {\n const [displayValue, isDefaultValue] = value ? [value, false] : [defaultValue, true];\n const styleClasses = isDefaultValue ? [styles.container, styles.defaultValue] : [styles.container];\n if (isResourceBoundValue(displayValue)) {\n return (
    \n \n
    );\n }\n if (!displayValue) {\n return (
    \n \n
    );\n }\n const getWorkerPool = (id: string) => workerPools[id] || (sourceItems && sourceItems.workerPools.loadedItems.find((w) => w.Id === id));\n const workerPool = getWorkerPool(displayValue);\n if (!workerPool) {\n return ;\n }\n return (
    \n \n \n \n \n
    );\n}\ninterface SensitiveValueProps {\n value: string;\n defaultValue: string;\n hasEditPermissions: boolean;\n}\nfunction SensitiveValue({ value, defaultValue, hasEditPermissions }: SensitiveValueProps) {\n const [displayValue, isDefaultValue] = value ? [ObfuscatedPlaceholder, false] : [defaultValue ? ObfuscatedPlaceholder : \"\", true];\n const styleClasses = isDefaultValue ? [styles.container, styles.defaultValue] : [styles.container];\n return (
    \n \n
    );\n}\ninterface StringValueProps {\n value: string;\n defaultValue: string;\n hasEditPermissions: boolean;\n}\nfunction StringValue({ value, defaultValue, hasEditPermissions }: StringValueProps) {\n const [displayValue, isDefaultValue] = value ? [value, false] : [defaultValue, true];\n const styleClasses = isDefaultValue ? [styles.container, styles.defaultValue] : [styles.container];\n return (
    \n \n
    );\n}\ninterface ValueFieldProps {\n text: string;\n isDefaultValue: boolean;\n hasEditPermissions: boolean;\n}\nfunction ValueField({ text, isDefaultValue, hasEditPermissions }: ValueFieldProps) {\n if (isDefaultValue && !text) {\n return (
    \n \n {hasEditPermissions ? : }\n
    );\n }\n const [value, placeholder] = isDefaultValue ? [\"\", text] : [text, \"\"];\n return hasEditPermissions ? : ;\n}\nconst styles = {\n container: css({\n flexGrow: \"1\",\n display: \"flex\",\n flexDirection: \"row\",\n alignItems: \"center\",\n gap: space[6],\n }),\n defaultValue: css({\n color: themeTokens.color.icon.secondary,\n }),\n missingValue: css({\n \"&&\": { color: themeTokens.color.icon.secondary },\n }),\n missingValueContainer: css({\n display: \"flex\",\n alignItems: \"center\",\n width: \"100%\",\n gap: space[8],\n }),\n};\n","import { Tooltip } from \"@octopusdeploy/design-system-components\";\nimport { MessageDotsIcon } from \"@octopusdeploy/design-system-icons\";\nimport { themeTokens } from \"@octopusdeploy/design-system-tokens\";\nimport * as React from \"react\";\ninterface TemplateHelpTextProps {\n text: string | null;\n}\nexport function TemplateHelpText({ text }: TemplateHelpTextProps) {\n if (!text) {\n return null;\n }\n return (\n \n );\n}\n","import * as React from \"react\";\nimport styles from \"./templateName.module.less\";\ninterface TemplateNameProps {\n name: string;\n}\nexport function TemplateName({ name }: TemplateNameProps) {\n return (
    \n {name}\n
    );\n}\n","import { ControlType, VariableType } from \"@octopusdeploy/octopus-server-client\";\nexport function getVariableTypeFromDisplaySettings(type?: ControlType): VariableType {\n switch (type) {\n case ControlType.Sensitive:\n return VariableType.Sensitive;\n case ControlType.Certificate:\n return VariableType.Certificate;\n case ControlType.AmazonWebServicesAccount:\n return VariableType.AmazonWebServicesAccount;\n case ControlType.AzureAccount:\n return VariableType.AzureAccount;\n case ControlType.GoogleCloudAccount:\n return VariableType.GoogleCloudAccount;\n case ControlType.GenericOidcAccount:\n return VariableType.GenericOidcAccount;\n case ControlType.WorkerPool:\n return VariableType.WorkerPool;\n case ControlType.UsernamePasswordAccount:\n return VariableType.UsernamePasswordAccount;\n default:\n return VariableType.String;\n }\n}\n","import * as React from \"react\";\nimport styles from \"./style.module.less\";\ninterface VariableCellProps {\n className?: string;\n style?: React.CSSProperties;\n children: React.ReactNode;\n}\nconst VariableCell: React.SFC = (props: VariableCellProps) => {\n return (
    \n {props.children}\n
    );\n};\nVariableCell.displayName = \"VariableCell\"\nexport default VariableCell;\n","export type VariableEditorScope = \"Project\" | \"PlatformHub\" | \"Unscoped\";\nexport const isProjectScoped = (scope: VariableEditorScope) => {\n return scope === \"Project\";\n};\nexport const isPlatformHubScoped = (scope: VariableEditorScope) => {\n return scope === \"PlatformHub\";\n};\n","import { sortBy } from \"lodash\";\nimport * as React from \"react\";\nimport type { DataBaseComponentState } from \"~/components/DataBaseComponent/DataBaseComponent\";\nimport { DataBaseComponent } from \"~/components/DataBaseComponent/DataBaseComponent\";\nimport OkDialogLayout from \"~/components/DialogLayout/OkDialogLayout\";\nimport type { SortableItemModel } from \"~/primitiveComponents/dataDisplay/SortableList/SortableList\";\nimport SortableList from \"~/primitiveComponents/dataDisplay/SortableList/SortableList\";\nimport type TagModel from \"./TagModel\";\ninterface SortTagsProps {\n tags: TagModel[];\n onTagsSorted(sortIndex: string[]): void;\n}\ninterface SortedTagModel extends SortableItemModel {\n Id: string;\n}\ninterface SortTagsState extends DataBaseComponentState {\n sortedTags: SortedTagModel[];\n}\nexport default class SortTags extends DataBaseComponent {\n constructor(props: SortTagsProps) {\n super(props);\n const items = sortBy(this.props.tags, (t) => t.sortOrder).map((t) => ({\n Id: t.localId,\n Name: t.name,\n }));\n this.state = { sortedTags: items };\n }\n render() {\n return ( this.onOk()}>\n this.setState({ sortedTags: orderedItems })}/>\n );\n }\n onOk() {\n this.props.onTagsSorted(this.state.sortedTags.map((t) => t.Id));\n return true;\n }\n static displayName = \"SortTags\";\n}\n","/* eslint-disable @typescript-eslint/no-non-null-assertion */\nimport { ActionButton, ActionButtonType } from \"@octopusdeploy/design-system-components\";\nimport type { TagResource } from \"@octopusdeploy/octopus-server-client\";\nimport cn from \"classnames\";\nimport * as React from \"react\";\nimport ActionList from \"~/components/ActionList\";\nimport Tag from \"~/components/Tag/Tag\";\nimport { withTheme } from \"~/components/Theme\";\nimport ColorPicker from \"~/primitiveComponents/form/ColorPicker/ColorPicker\";\nimport Text from \"~/primitiveComponents/form/Text/Text\";\nimport type TagModel from \"./TagModel\";\nimport styles from \"./style.module.less\";\ninterface TagItemEditProps {\n tag: TagModel;\n onChange(tag: TagModel): void;\n}\ninterface TagItemEditState {\n name: string;\n description: string;\n color: string;\n isEditing?: boolean;\n}\nexport default class TagItemEdit extends React.Component {\n constructor(props: TagItemEditProps) {\n super(props);\n this.state = this.initialReadView(props);\n }\n initialReadView(props: TagItemEditProps) {\n return {\n description: props.tag.description,\n name: props.tag.name,\n color: props.tag.color,\n isEditing: false,\n };\n }\n handleUpdate = () => {\n this.props.onChange({\n ...this.props.tag,\n name: this.state.name,\n description: this.state.description,\n color: this.state.color,\n });\n this.setState({ isEditing: false });\n };\n tagModelToResource(tag: TagModel): TagResource {\n return {\n Id: tag.originalId,\n Name: tag.name,\n SortOrder: tag.sortOrder,\n Color: tag.color,\n Description: tag.description,\n CanonicalTagName: null!,\n };\n }\n handleDelete = (deleteFlag: boolean) => {\n this.props.onChange({\n ...this.props.tag,\n deleted: deleteFlag,\n });\n };\n renderReadView(): JSX.Element {\n const tag = this.props.tag;\n const tagResource = this.tagModelToResource(tag);\n return withTheme((theme) => (
    \n
    \n \n
    \n
    {tag.description}
    \n
    \n {tag.deleted ? ( this.handleDelete(false)}/>) : ( this.setState({ isEditing: true })}/>,\n this.handleDelete(true)}/>,\n ]}/>)}\n
    \n
    ));\n }\n renderWriteView(): JSX.Element {\n return (
    \n
    \n this.setState({ name })}/>\n this.setState({ description })}/>\n
    \n
    \n this.setState({ color })}/>\n this.setState(this.initialReadView(this.props))}/>\n \n
    \n
    );\n }\n render() {\n if (this.state.isEditing) {\n return this.renderWriteView();\n }\n else {\n return this.renderReadView();\n }\n }\n static displayName = \"TagItemEdit\";\n}\n","/* eslint-disable @typescript-eslint/no-non-null-assertion */\nimport { ActionButton, ActionButtonType } from \"@octopusdeploy/design-system-components\";\nimport { Permission } from \"@octopusdeploy/octopus-server-client\";\nimport { sortBy, maxBy } from \"lodash\";\nimport * as React from \"react\";\nimport OpenDialogButton from \"~/components/Dialog/OpenDialogButton\";\nimport PermissionCheck from \"~/components/PermissionCheck/PermissionCheck\";\nimport { ColorPicker } from \"~/components/form\";\nimport Text from \"~/primitiveComponents/form/Text/Text\";\nimport SortTags from \"./SortTags\";\nimport TagItemEdit from \"./TagItemEdit\";\nimport type TagModel from \"./TagModel\";\nimport styles from \"./style.module.less\";\nexport const DEFAULT_COLOR: string = \"#333333\";\ninterface TagListEditProps {\n tags: TagModel[];\n currentTag?: Partial;\n onChange(tags: TagModel[]): void;\n onClose(currentTag: Partial): void;\n}\ninterface TagListEditState {\n name: string;\n description: string;\n color: string;\n}\nexport default class TagListEdit extends React.Component {\n constructor(props: TagListEditProps) {\n super(props);\n this.state = {\n name: this.props.currentTag ? this.props.currentTag.name! : \"\",\n description: this.props.currentTag ? this.props.currentTag.description! : \"\",\n color: this.props.currentTag ? this.props.currentTag.color! : DEFAULT_COLOR,\n };\n }\n getTagSetIncludingAnyNewTag(): TagModel[] {\n if (this.state.name) {\n const tags = this.getTagsWithNewItem();\n this.setState({\n name: \"\",\n description: \"\",\n color: DEFAULT_COLOR,\n });\n return tags;\n }\n return this.props.tags;\n }\n handleTagEdit = (originalTag: TagModel, newTag: TagModel) => {\n const tags = [...this.props.tags];\n tags.splice(tags.indexOf(originalTag), 1);\n tags.push(newTag);\n this.props.onChange(tags);\n };\n getTagsWithNewItem = () => {\n const tags = [...this.props.tags];\n const maxSortOrder = tags.length > 0 ? maxBy(tags, (t) => t.sortOrder)!.sortOrder : 1;\n tags.push({\n originalId: null!,\n localId: Math.random() + \"\",\n name: this.state.name,\n description: this.state.description,\n sortOrder: maxSortOrder + 1,\n color: this.state.color,\n deleted: false,\n });\n return tags;\n };\n handleAdd = () => {\n const tags = this.getTagsWithNewItem();\n this.props.onChange(tags);\n this.setState({\n name: \"\",\n description: \"\",\n color: DEFAULT_COLOR,\n });\n };\n componentWillUnmount() {\n const saveTag = {\n name: this.state.name,\n description: this.state.description,\n color: this.state.color,\n };\n this.props.onClose(saveTag);\n }\n render() {\n return (
    \n \n
    \n \n {\n const newOrder = this.props.tags.map((tag) => ({ ...tag, sortOrder: sortedTags.indexOf(tag.localId) }));\n this.props.onChange(newOrder);\n }}/>\n \n
    \n
    \n
    \n
    \n this.setState({ name })}/>\n this.setState({ description })}/>\n
    \n
    \n this.setState({ color })}/>\n\n \n
    \n
    \n {sortBy(this.props.tags, (t) => t.sortOrder).map((t) => ( this.handleTagEdit(t, newTag)} key={t.localId}/>))}\n
    );\n }\n static displayName = \"TagListEdit\";\n}\n","/* eslint-disable @typescript-eslint/no-non-null-assertion */\nimport type { ReferenceDataItem, ScopeValues } from \"@octopusdeploy/octopus-server-client\";\nimport { VariableType } from \"@octopusdeploy/octopus-server-client\";\nimport { groupBy, flatten } from \"lodash\";\nimport type { ScopeSpecification } from \"~/areas/variables/ReadonlyVariableResource\";\nimport type { FilterableValue } from \"~/areas/variables/VariableFilter\";\nexport function compareValues(l: FilterableValue, r: FilterableValue) {\n return compareTypes(l.type, r.type) || compareValueExpression(l.value, r.value);\n}\nfunction compareValueExpression(l: string | undefined, r: string | undefined) {\n if (l === r) {\n return 0;\n }\n else if (!l) {\n return 1;\n }\n else if (!r) {\n return -1;\n }\n else {\n return l.localeCompare(r);\n }\n}\nfunction compareTypes(l: VariableType, r: VariableType) {\n return getTypeOrder(l) - getTypeOrder(r);\n function getTypeOrder(t: VariableType) {\n switch (t) {\n case VariableType.String:\n return 1;\n case VariableType.Sensitive:\n return 2;\n case VariableType.Certificate:\n return 3;\n default:\n return 4;\n }\n }\n}\nexport function compareScopes(l: ScopeSpecification, r: ScopeSpecification, availableScopes: ScopeValues) {\n const leftScopes = getAllScopeItems(l, availableScopes);\n const rightScopes = getAllScopeItems(r, availableScopes);\n return leftScopes.length - rightScopes.length || compareScopesOfSameLength(leftScopes, rightScopes);\n}\n// A collection of scope items L should have an index lower than that another collection of scope items R,\n// IF there exists a scope item in L which, if it were combined with all of the scope items in R and the resulting collection was sorted,\n// it would have an index lower than all of the other scope items in R\n// The same result is achieved by combining both collections L and R, removing duplicates, sorting, and working out\n// which collection the item at index 0 of the sorted collection originally came from.\nfunction compareScopesOfSameLength(l: ReadonlyArray, r: ReadonlyArray) {\n const leftScopeItems = l.map((i) => createItemWithSide(\"left\", i));\n const rightScopeItems = r.map((i) => createItemWithSide(\"right\", i));\n const allItems: ReadonlyArray = [...leftScopeItems, ...rightScopeItems];\n const groupedItems = groupBy(allItems, (i) => `${i.item.type}-${i.item.id}`);\n const onlyUniqueItems = flatten(Object.keys(groupedItems)\n .map((k) => groupedItems[k])\n .filter((g) => g.length === 1)); // Exclude any items that exist in both lists\n if (!onlyUniqueItems.length) {\n return 0;\n }\n const sortedItems = [...onlyUniqueItems].sort((a, b) => compareScopeItems(a.item, b.item));\n return sortedItems[0].side === \"left\" ? -1 : 1;\n interface ScopeItemWithSide {\n side: \"left\" | \"right\";\n item: ScopeItem;\n }\n function createItemWithSide(side: \"left\" | \"right\", item: ScopeItem): ScopeItemWithSide {\n return { side, item };\n }\n}\nexport function compareScopeItems(l: ScopeItem, r: ScopeItem) {\n return l.type - r.type || (l.name || \"\").localeCompare(r.name || \"\");\n}\n// Numbers used for sorting\nexport enum ScopeType {\n Environment = 1,\n Role = 2,\n Machine = 3,\n Action = 4,\n Channel = 5,\n TenantTag = 6,\n ProcessOwner = 7\n}\nexport interface ScopeItem {\n type: ScopeType;\n id: string;\n name: string | null; // null if it could not be found in the available scopes\n}\nfunction getAllScopeItems(scope: ScopeSpecification, availableScopes: ScopeValues): ReadonlyArray {\n return [\n ...getSpecificScopeItems(ScopeType.Environment, scope.Environment, availableScopes.Environments),\n ...getSpecificScopeItems(ScopeType.Role, scope.Role, availableScopes.Roles),\n ...getSpecificScopeItems(ScopeType.Machine, scope.Machine, availableScopes.Machines),\n ...getSpecificScopeItems(ScopeType.Action, scope.Action, availableScopes.Actions),\n ...getSpecificScopeItems(ScopeType.Channel, scope.Channel, availableScopes.Channels),\n ...getSpecificScopeItems(ScopeType.TenantTag, scope.TenantTag, availableScopes.TenantTags),\n ...getSpecificScopeItems(ScopeType.ProcessOwner, scope.ProcessOwner, availableScopes.Processes),\n ];\n}\nfunction getSpecificScopeItems(type: ScopeType, scopeIds: ReadonlyArray | undefined, scopeValues: ReadonlyArray): ScopeItem[] {\n return (scopeIds || []).map((id) => {\n const item = scopeValues.find((v) => v.Id === id);\n return {\n type,\n id: id!,\n name: item ? item.Name : null,\n };\n });\n}\n","/* eslint-disable @typescript-eslint/no-explicit-any */\nimport * as React from \"react\";\nimport { BaseComponent } from \"~/components/BaseComponent/BaseComponent\";\nimport styles from \"./style.module.less\";\ninterface MeasureOutOfFlowProps {\n children: any;\n onMeasured(measurement: TMeasurement): void;\n}\ninterface MeasureOutOfFlowState {\n hasMeasured: boolean;\n}\n// Measures an element by positioning it out of the flow of the document's body.\n// This means that measuring it won't force a reflow of unrelated elements, which could be expensive.\n// The downside is that in order to measure it out of the flow, it needs to mount the component in a container div\n// and once it has finished measuring, it unmounts the element, then remounts it in its original place\nfunction MeasureOutOfFlow(getMeasurement: (element: HTMLElement) => TMeasurement) {\n return class MeasureOutOfFlowInner extends BaseComponent, MeasureOutOfFlowState> {\n private container: HTMLElement | null = null;\n constructor(props: MeasureOutOfFlowProps) {\n super(props);\n this.state = {\n hasMeasured: false,\n };\n }\n componentDidMount() {\n if (!this.state.hasMeasured && this.container) {\n const measurement = getMeasurement(this.container);\n this.props.onMeasured(measurement);\n this.setState({ hasMeasured: true });\n }\n }\n render() {\n if (this.state.hasMeasured) {\n return this.props.children;\n }\n return (
    (this.container = container)}>\n {this.props.children}\n
    );\n }\n };\n}\nexport const MeasureWidthOutOfFlow = MeasureOutOfFlow((el) => el.getBoundingClientRect().width);\n","/* eslint-disable @typescript-eslint/no-non-null-assertion */\n/* eslint-disable @typescript-eslint/consistent-type-assertions */\nimport { css, cx } from \"@emotion/css\";\nimport { borderRadius, themeTokens } from \"@octopusdeploy/design-system-tokens\";\nimport * as React from \"react\";\nimport { zIndexPopovers } from \"~/theme\";\ninterface PopoverWhenFocusedProps {\n isFocused: boolean;\n onClickOutside?: (event: MouseEvent) => void;\n position?: PopoverPosition;\n dynamicPosition?: GetPopoverPosition;\n}\nexport type GetPopoverPosition = (contentHeight: number, contentWidth: number, relativeParent: HTMLElement) => PopoverPosition;\nexport interface PopoverPosition {\n top?: number;\n bottom?: number;\n right?: number;\n left?: number;\n}\nconst focusedContainerStyle = { zIndex: zIndexPopovers };\n//eslint-disable-next-line react/no-unsafe\nexport class PopoverWhenFocused extends React.PureComponent {\n private onClickAway: ((event: MouseEvent) => void) | null = undefined!;\n private container: HTMLElement | null = undefined!;\n private contentContainer: HTMLElement | null = undefined!;\n private changeSubscription: boolean = false;\n private subscriptionTimeout: ReturnType | null = undefined!;\n componentDidMount() {\n this.subscribe(this.props.onClickOutside);\n this.updatePosition();\n }\n componentDidUpdate() {\n if (this.changeSubscription) {\n this.subscribe(this.props.onClickOutside);\n this.updatePosition();\n this.changeSubscription = false;\n }\n }\n UNSAFE_componentWillUpdate() {\n if (this.changeSubscription) {\n this.unsubscribe();\n }\n }\n UNSAFE_componentWillReceiveProps(nextProps: PopoverWhenFocusedProps) {\n if (nextProps.onClickOutside !== this.props.onClickOutside) {\n this.changeSubscription = true;\n }\n }\n componentWillUnmount() {\n this.unsubscribe();\n }\n render() {\n const popoverPositionStyles = {\n ...(this.props.position ? this.props.position : {}),\n ...(this.props.dynamicPosition ? { opacity: 0 } : {}),\n };\n return (
    (this.container = container)}>\n
    (this.contentContainer = contentContainer)} style={this.props.isFocused\n ? { ...focusedContainerStyle, ...popoverPositionStyles }\n : {\n top: 0,\n bottom: 0,\n left: 0,\n right: 0,\n }} className={popoverStyles}>\n
    {this.props.children}
    \n
    \n
    );\n }\n private updatePosition() {\n if (this.props.isFocused && this.props.dynamicPosition && this.contentContainer && this.container) {\n const contentHeight = this.contentContainer.offsetHeight;\n const contentWidth = this.contentContainer.offsetWidth;\n // Set the display to none so that other properties (like the container size) can be measured without the content affecting them\n const originalDisplayStyle = this.contentContainer.style.display;\n this.contentContainer.style.display = \"none\";\n const position = this.props.dynamicPosition(contentHeight, contentWidth, this.container);\n this.contentContainer.style.display = originalDisplayStyle;\n if (position.top || position.top === 0) {\n this.contentContainer.style.top = toPx(position.top);\n }\n if (position.bottom || position.bottom === 0) {\n this.contentContainer.style.bottom = toPx(position.bottom);\n }\n if (position.left || position.left === 0) {\n this.contentContainer.style.left = toPx(position.left);\n }\n if (position.right || position.right === 0) {\n this.contentContainer.style.right = toPx(position.right);\n }\n }\n if (this.contentContainer) {\n this.contentContainer.style.opacity = \"1\";\n }\n function toPx(position: number) {\n return position.toString() + \"px\";\n }\n }\n private subscribe(onClickOutside?: (event: MouseEvent) => void) {\n if (onClickOutside) {\n // This subscription might be setup as part of a click event handler,\n // which means it could handle the click event that set itself up\n // A simple timeout allows the click event to finish bubbling up to window before we subscribe\n // material-ui does the same thing in RenderToLayer.js\n this.subscriptionTimeout = setTimeout(() => {\n this.onClickAway = (event) => {\n if (this.props.isFocused && this.container && !this.container.contains(event.target as Node)) {\n // The following checks are a bit of a hack and warrants some explanation...\n // There may be content in the popover component tree that is not in the corresponding DOM tree\n // For example, a popup menu that uses material-ui's Popover component will be attached directly underneath the body\n // Checking that the event.target is a descendant of this component is insufficient in this case\n //\n // It is difficult to come up with a general way of handling this case, especially because a lot\n // of the components that end up creating these detached DOM subtrees are in third party\n // libraries (i.e. material-ui and maybe others)\n //\n // So the goal is that we don't want to count clicks as \"clickoutside\"\n // events if they originated from detached DOM sub-trees that are part of the current react\n // component sub-tree. Since there is no reliable way to determine this, the best we can do is\n // assume that\n // a) Any react roots (any children of body which are divs) are either the main app or are\n // detached DOM sub-trees (This is how material-ui handles popovers and dialogs)\n // b) If the event came from the main app's react root, then it did not occur in a popover/dialog\n // c) If the event came from any other react root, it came from a popover/dialog\n //\n // So simply check that the event came from the main app's react root before calling the\n // \"clickoutside\" handler is sufficient in most cases\n //\n // There are some potential edge cases which come down to whether the popover/dialog components\n // are using a separate layer to prevent click-away clicks from passing through to the elements\n // shown beneath them. We are currently using this behavior in a lot of places, which makes this\n // work as expected. We could end up with problems if that changes.\n //\n // For example, if the you have a popover component that is not a descendant of this component,\n // and it does not use a click-away layer (think of something like a tooltip on some other part\n // of the page) and you clicked on it, you would expect it to be a 'clickaway' event, but\n // in fact since the click is in another react-root it would not be counted.\n const reactRoots = Array.from(document.querySelectorAll(\"body > div\"));\n const containerHostReactRoot = reactRoots.find((r) => r.contains(this.container));\n if (!containerHostReactRoot || containerHostReactRoot.contains(event.target as Node)) {\n onClickOutside(event);\n }\n }\n };\n // This event must be click, not mousedown, so that it matches the behaviour of the material-ui popup.\n // When you have a material-ui popup nested in a PopoverWhenFocused, the material-ui popup click event handler should fire first\n // If this was mousedown, then this would fire first\n window.addEventListener(\"click\", this.onClickAway);\n this.subscriptionTimeout = null;\n }, 0);\n }\n }\n private unsubscribe() {\n if (this.subscriptionTimeout) {\n clearTimeout(this.subscriptionTimeout);\n this.subscriptionTimeout = null;\n }\n else if (this.onClickAway) {\n window.removeEventListener(\"click\", this.onClickAway);\n this.onClickAway = null;\n }\n }\n static displayName = \"PopoverWhenFocused\";\n}\nconst popoverStyles = css({\n position: \"absolute\",\n minWidth: \"fit-content\",\n});\nconst popoverPositionContainerStyles = css({\n position: \"relative\",\n width: \"100%\",\n height: \"100%\",\n});\nconst paperStyles = css({\n borderRadius: borderRadius.extraSmall,\n height: \"100%\",\n});\nconst focusedPaperStyles = css({\n backgroundColor: themeTokens.color.background.primary.default,\n boxShadow: themeTokens.shadow.medium,\n});\n","import cn from \"classnames\";\nimport * as React from \"react\";\nimport { withTheme } from \"~/components/Theme\";\nimport styles from \"./style.module.less\";\ninterface WarningIconProps {\n color?: string;\n iconOverride?: string;\n}\nexport default class WarningIcon extends React.Component {\n render() {\n return withTheme((theme) => {\n const color = this.props.color ? this.props.color : theme.alert;\n return ;\n });\n }\n static displayName = \"WarningIcon\";\n}\n","import Default from \"./WarningIcon\";\nexport * from \"./WarningIcon\";\nexport default Default;\n","/* eslint-disable @typescript-eslint/consistent-type-assertions */\nimport type { ScopeValues } from \"@octopusdeploy/octopus-server-client\";\nimport type { ScopeSpecification } from \"~/areas/variables/ReadonlyVariableResource/ReadonlyVariableResource\";\nimport type { ScopeItem } from \"../VariableSorting/sortVariables\";\nexport type ArrayType = T extends Array ? P : never;\nexport type AvailableScopeLookup = (type: T, id: string) => ArrayType;\nexport type ScopeLookupsMap = {\n [K in keyof T]: {\n [id: string]: ArrayType;\n };\n};\nexport interface ScopeConsistencyRule {\n isApplicable: (scopes: ScopeSpecification, scopeLookup: AvailableScopeLookup) => boolean;\n validate: (scopes: ScopeSpecification, scopeLookup: AvailableScopeLookup) => ScopeConsistencyResult;\n}\nexport type ScopeConsistencyResult = ScopeConsistencySuccessResult | ScopeConsistencyFailureResult;\nexport interface ScopeConsistencySuccessResult {\n success: true;\n}\nexport interface ScopeConsistencyFailureResult {\n success: false;\n message: string;\n culprits: ScopeItem[];\n}\nexport function isScopeConsistencyFailureResult(result: ScopeConsistencyResult): result is NonNullable {\n if (!result) {\n return false;\n }\n const converted = result as ScopeConsistencyFailureResult;\n return !converted.success && converted.message !== undefined && converted.message !== null;\n}\n","/* eslint-disable @typescript-eslint/consistent-type-assertions */\nimport type { ScopeValues } from \"@octopusdeploy/octopus-server-client\";\nimport { keyBy } from \"lodash\";\nimport type { AvailableScopeLookup, ScopeLookupsMap } from \"./model\";\nexport function createAvailableScopeLookup(scopes: ScopeValues): AvailableScopeLookup {\n const keys = Object.keys(scopes) as Array;\n const initial: ScopeLookupsMap = {\n Actions: {},\n Channels: {},\n Environments: {},\n Machines: {},\n Processes: {},\n Roles: {},\n TenantTags: {},\n };\n const lookups = keys.reduce((prev, current) => ({ ...prev, [current]: scopes[current] ? keyBy(scopes[current], (x) => x.Id) : {} }), initial);\n const lookup: AvailableScopeLookup = (type, id) => lookups[type][id] as ReturnType;\n return lookup;\n}\n","/* eslint-disable @typescript-eslint/no-non-null-assertion */\nimport { ProcessType } from \"@octopusdeploy/octopus-server-client\";\nimport type { ScopeSpecification } from \"~/areas/variables/ReadonlyVariableResource/ReadonlyVariableResource\";\nimport type { ScopeItem } from \"../VariableSorting/sortVariables\";\nimport { ScopeType } from \"../VariableSorting/sortVariables\";\nimport type { ScopeConsistencySuccessResult, ScopeConsistencyFailureResult, ScopeConsistencyRule, AvailableScopeLookup } from \"./model\";\nclass ScopeConsistencyResults {\n static success = (): ScopeConsistencySuccessResult => ({ success: true });\n static failure = (message: string, culprits: ScopeItem[]): ScopeConsistencyFailureResult => ({ success: false, message, culprits });\n}\nfunction getRunbookProcesses(scopes: ScopeSpecification, lookup: AvailableScopeLookup) {\n return getProcessOwners(scopes, lookup, (id) => lookup(\"Processes\", id).ProcessType === ProcessType.Runbook);\n}\nfunction getProcessOwners(scopes: ScopeSpecification, lookup: AvailableScopeLookup, filter: (id: string) => boolean = () => true) {\n const results: Array = scopes\n .ProcessOwner!.filter((x) => lookup(\"Processes\", x!) && filter(x!))\n .map((x) => lookup(\"Processes\", x!))\n .map((x) => ({ type: ScopeType.ProcessOwner, id: x.Id, name: x.Name, processType: x.ProcessType }));\n return results;\n}\nexport const processChannelConsistency: ScopeConsistencyRule = {\n isApplicable: ({ ProcessOwner = [], Channel = [] }) => {\n return ProcessOwner.length > 0 && Channel.length > 0;\n },\n validate: (scopes, lookup) => {\n const runbooks = getRunbookProcesses(scopes, lookup);\n if (runbooks.length === 0) {\n return ScopeConsistencyResults.success();\n }\n return ScopeConsistencyResults.failure(`Scoping to a runbook and a channel is mutually exclusive and not supported.`, runbooks);\n },\n};\n//To do match the action against the process we need to know which process the action belongs to or we need a way to lookup the process based on the action.\n//We don't currently support scoping to runbook actions, so we assume any action scopes are those from the deployment process at this point.\nexport const deploymentProcessActionConsistency: ScopeConsistencyRule = {\n isApplicable: ({ ProcessOwner = [], Action = [] }) => {\n return ProcessOwner.length > 0 && Action.length > 0;\n },\n validate: (scopes, lookup) => {\n const processes = getProcessOwners(scopes, lookup);\n const runbooks = processes.filter((x) => x.processType === ProcessType.Runbook);\n if (runbooks.length === 0) {\n return ScopeConsistencyResults.success();\n }\n //No deployment process scope applied sothis is mutually exclusive\n if (processes.length === runbooks.length) {\n return ScopeConsistencyResults.failure(`Scoping to a runbook and a deployment process step is mutually exclusive.`, runbooks);\n }\n return ScopeConsistencyResults.failure(`This variable value will be unavailable to runbooks as it has been scoped to a deployment process step.`, runbooks);\n },\n};\nexport function getAllScopeConsistencyRules() {\n return [processChannelConsistency, deploymentProcessActionConsistency];\n}\n","/* eslint-disable @typescript-eslint/no-non-null-assertion */\nimport { ActionButton, ActionButtonType, Tooltip } from \"@octopusdeploy/design-system-components\";\nimport type { ReferenceDataItem, ScopeValues } from \"@octopusdeploy/octopus-server-client\";\nimport { take, last, zip, head } from \"lodash\";\nimport * as React from \"react\";\nimport { DEFAULT_COLOR } from \"~/areas/library/components/TagSets/TagListEdit/TagListEdit\";\nimport type { ScopeSpecification } from \"~/areas/variables/ReadonlyVariableResource/ReadonlyVariableResource\";\nimport VariableCell from \"~/areas/variables/VariableCell/VariableCell\";\nimport type { ScopeItem } from \"~/areas/variables/VariableSorting/sortVariables\";\nimport { compareScopeItems, ScopeType } from \"~/areas/variables/VariableSorting/sortVariables\";\nimport { ChannelChip, EnvironmentChip, MachineChip, RoleChip, StepChip, ChipIcon, ProcessChip, MissingChip } from \"~/components/Chips\";\nimport { MeasureWidthOutOfFlow } from \"~/components/Measure/MeasureOutOfFlow\";\nimport { PopoverWhenFocused } from \"~/components/PopoverWhenFocused/PopoverWhenFocused\";\nimport ReadonlyText from \"~/components/ReadonlyText/ReadonlyText\";\nimport Tag from \"~/components/Tag/Tag\";\nimport WarningIcon from \"~/components/WarningIcon\";\nimport type { TagIndex } from \"~/components/tenantTagsets\";\nimport Lookup from \"../../../components/Lookup\";\nimport type { ProjectContextState, WithOptionalProjectContextInjectedProps } from \"../../projects/context\";\nimport { withOptionalProjectContext } from \"../../projects/context\";\nimport { createAvailableScopeLookup, checkScopeConsistency, getAllScopeConsistencyRules } from \"../ScopeConsistency\";\nimport type { AvailableScopeLookup, ScopeConsistencyFailureResult } from \"../ScopeConsistency\";\nimport styles from \"./style.module.less\";\ninterface ResizingScopeSummaryProps {\n scope: ScopeSpecification;\n availableScopes: ScopeValues;\n tagIndex: TagIndex;\n emptyContent?: JSX.Element;\n containerWidth: number;\n inconsistencies: ScopeConsistencyFailureResult[];\n scopeLookup: AvailableScopeLookup;\n onShowMoreClicked(): void;\n}\ninterface ResizingScopeSummaryState {\n widthsForScopes: {\n [scopeId: string]: number | undefined;\n };\n measuredMoreButtonWidth: number | undefined;\n}\n// Make this appear more like a ternary link, with the additional click-area of a secondary button to improve usability.\nconst labelProps = {\n fontWeight: \"inherit\",\n fontSize: \"0.8125rem\",\n};\nclass ResizingScopeSummary extends React.Component {\n constructor(props: ResizingScopeSummaryProps & WithOptionalProjectContextInjectedProps) {\n super(props);\n this.state = {\n widthsForScopes: {},\n measuredMoreButtonWidth: undefined,\n };\n }\n shouldComponentUpdate(nextProps: ResizingScopeSummaryProps, nextState: ResizingScopeSummaryState) {\n return (nextProps.containerWidth !== this.props.containerWidth ||\n nextProps.scope !== this.props.scope ||\n nextProps.availableScopes !== this.props.availableScopes ||\n nextProps.tagIndex !== this.props.tagIndex ||\n nextState.measuredMoreButtonWidth !== this.state.measuredMoreButtonWidth ||\n this.shouldComponentUpdateBasedOnScopeWidths(nextProps, nextState));\n }\n shouldComponentUpdateBasedOnScopeWidths(nextProps: ResizingScopeSummaryProps, nextState: ResizingScopeSummaryState) {\n const currentScopeWidths = getScopeWidths(this.props, this.state);\n const nextScopeWidths = getScopeWidths(nextProps, nextState);\n // We want to avoid re-rendering until we have all of the widths for all of the scope items\n return (allScopeItemsHaveWidths(currentScopeWidths) !== allScopeItemsHaveWidths(nextScopeWidths) ||\n // but we should also handle the case where some of the widths have changed\n scopeWidthsHaveChanged());\n function getScopeWidths(props: ResizingScopeSummaryProps, state: ResizingScopeSummaryState): ReadonlyArray {\n return getScopeItems(props.scope, props.availableScopes)\n .map(getIdForScopeItem)\n .map((id) => state.widthsForScopes[id]);\n }\n function scopeWidthsHaveChanged(): boolean {\n // By this point, we have already asserted that this.props.scope === nextProps.scope,\n // so therefore we can just zip up the widths and know that they will match up\n return zip(currentScopeWidths, nextScopeWidths).some((values) => {\n const [currentWidth, nextWidth] = values;\n // We are only interested if whether a width changes from one number to another number,\n // so ignore undefined here\n return currentWidth !== undefined && nextWidth !== undefined && currentWidth !== nextWidth;\n });\n }\n function allScopeItemsHaveWidths(scopeWidths: ReadonlyArray) {\n return scopeWidths.every((w) => !!w);\n }\n }\n render() {\n const sortedScopeItems = getSortedScopeItems(this.props.scope, this.props.availableScopes);\n const cumulativeWidths = getCumulativeWidths(sortedScopeItems, this.state.widthsForScopes);\n const availableWidth = this.state.measuredMoreButtonWidth ? this.props.containerWidth - this.state.measuredMoreButtonWidth : this.props.containerWidth;\n const numberOfChipsToDisplay = calculateNumberOfElementsToShow(cumulativeWidths, availableWidth);\n const numberToHide = sortedScopeItems.length - numberOfChipsToDisplay;\n const moreButtonLabel = numberToHide > 0 ? `More...` : \"Show\";\n return (\n
    \n
    {this.renderChips(numberOfChipsToDisplay, sortedScopeItems)}
    \n {sortedScopeItems.length === 0 && this.props.emptyContent}\n {numberToHide !== 0 && ( this.setState({ measuredMoreButtonWidth: width })} key={moreButtonLabel /*Re-measure if the label changes, and therefore the width*/}>\n {\n e.stopPropagation();\n this.props.onShowMoreClicked();\n }} disabled={false}/>\n )}\n {this.props.inconsistencies.length > 0 && (\n \n )}\n
    \n
    );\n }\n private renderChips = (numberToRender: number, scopeItems: ScopeItem[]) => {\n const allChips = scopeItems.map((s) => {\n return ( this.setState((prev) => {\n return { widthsForScopes: { ...prev.widthsForScopes, [getIdForScopeItem(s)]: width } };\n })}>\n {renderScopeItem(s, this.props.availableScopes, this.props.tagIndex, this.props.projectContext?.state)}\n );\n });\n return take(allChips, numberToRender);\n };\n static displayName = \"ResizingScopeSummary\";\n}\nfunction getCumulativeWidths(scope: ScopeItem[], widthsForScopes: {\n [scopeId: string]: number | undefined;\n}): Array {\n return scope.reduce((p: Array, c, i) => {\n const cumulativeWidth = i === 0 ? 0 : last(p)!;\n const currentId = getIdForScopeItem(c);\n const currentWidth = widthsForScopes[currentId];\n const newCumulativeWidth = currentWidth === undefined ? null : cumulativeWidth + currentWidth;\n return [...p, newCumulativeWidth];\n }, []);\n}\nfunction calculateNumberOfElementsToShow(widths: ReadonlyArray, availableWidth: number) {\n const cw = widths.reduce((p: number[], c, i) => {\n const cumulativeWidth = i === 0 ? 0 : last(p)!;\n const newWidth = c === null ? cumulativeWidth : c;\n return [...p, newWidth];\n }, []);\n return cw.filter((w) => w < availableWidth).length;\n}\ninterface VariableScopeProps {\n scope: ScopeSpecification;\n availableScopes: ScopeValues;\n tagIndex: TagIndex;\n emptyContent?: JSX.Element;\n // Give the popover a min height the same as the cell height if don't have many chips.\n // I couldn't work out a a better way of doing this in CSS, but a solution might exist\n // Either way, this isn't too bad since our tables need to have a height specified in code anyway\n minHeight: number;\n isFocused: boolean;\n showClickIndicator: boolean;\n containerWidth: number;\n onFocus(): void;\n onBlur(): void;\n onClick?(): void;\n}\nclass VariableScopeInternal extends React.Component {\n private readonly onClickOutside: () => void;\n constructor(props: VariableScopeProps & WithOptionalProjectContextInjectedProps) {\n super(props);\n this.onClickOutside = () => {\n if (this.props.onBlur) {\n this.props.onBlur();\n }\n };\n }\n render() {\n const renderedScopeChips = getSortedScopeItems(this.props.scope, this.props.availableScopes).map((s) => renderScopeItem(s, this.props.availableScopes, this.props.tagIndex, this.props.projectContext?.state));\n const lookup = createAvailableScopeLookup(this.props.availableScopes);\n const inconsistencies = checkScopeConsistency(getAllScopeConsistencyRules(), () => lookup, this.props.scope);\n return (\n
    {\n if (this.props.onClick) {\n this.props.onClick();\n }\n }}>\n {this.props.isFocused ? (\n
    \n {renderedScopeChips}\n {!!renderedScopeChips.length && ( {\n e.stopPropagation();\n this.props.onBlur();\n }}/>)}\n {inconsistencies.length > 0 && (\n \n )}\n
    \n {this.props.showClickIndicator && (
    \n \n
    )}\n
    ) : ( this.props.onFocus()}/>)}\n
    \n
    );\n }\n private clickableClassName() {\n return this.props.onClick ? styles.clickable : \"\";\n }\n static displayName = \"VariableScopeInternal\";\n}\nfunction getIdForScopeItem(scopeItem: ScopeItem) {\n return `${scopeItem.type}-${scopeItem.id}-${scopeItem.name}`;\n}\nfunction getScopeItems(scope: ScopeSpecification, availableScopes: ScopeValues): ScopeItem[] {\n return [\n ...(scope.Environment || []).map((id) => createScopeItem(id!, ScopeType.Environment, availableScopes.Environments)),\n ...(scope.Role || []).map((id) => createScopeItem(id!, ScopeType.Role, availableScopes.Roles)),\n ...(scope.Machine || []).map((id) => createScopeItem(id!, ScopeType.Machine, availableScopes.Machines)),\n ...(scope.Action || []).map((id) => createScopeItem(id!, ScopeType.Action, availableScopes.Actions)),\n ...(scope.Channel || []).map((id) => createScopeItem(id!, ScopeType.Channel, availableScopes.Channels)),\n ...(scope.TenantTag || []).map((id) => createScopeItem(id!, ScopeType.TenantTag, availableScopes.TenantTags)),\n ...(scope.ProcessOwner || []).map((id) => createScopeItem(id!, ScopeType.ProcessOwner, availableScopes.Processes)),\n ];\n function createScopeItem(id: string, type: ScopeType, availableItems: ReferenceDataItem[]) {\n return { type, id, name: findName(id, availableItems) };\n }\n function findName(id: string, availableItems: ReferenceDataItem[]) {\n const item = availableItems.find((i) => i.Id === id);\n return item ? item.Name : null;\n }\n}\nfunction getSortedScopeItems(scope: ScopeSpecification, availableScopes: ScopeValues): ScopeItem[] {\n return getScopeItems(scope, availableScopes).sort(compareScopeItems);\n}\nfunction renderScopeItem(scope: ScopeItem, availableScopes: ScopeValues, tagIndex: TagIndex, projectContextState: ProjectContextState | undefined): React.ReactNode {\n return createChip(scope);\n function createChip(item: ScopeItem) {\n switch (item.type) {\n case ScopeType.Environment:\n return createEnvironmentChip(item.id);\n case ScopeType.Role:\n return createRoleChip(item.id);\n case ScopeType.Machine:\n return createMachineChip(item.id);\n case ScopeType.Action:\n return createStepChip(item.id);\n case ScopeType.Channel:\n return createChannelChip(item.id);\n case ScopeType.TenantTag:\n return createTenantTagChip(item.id);\n case ScopeType.ProcessOwner:\n return createProcessChip(item.id);\n default:\n throw new Error(\"Cannot render unknown scope type\");\n }\n }\n function createProcessChip(processId: string) {\n if (availableScopes.Processes.length === 0) {\n return null;\n }\n const match = availableScopes.Processes.filter((x) => x.Id === processId).pop();\n return ( element.Id} render={(item) => } renderFallback={}/>);\n }\n function createEnvironmentChip(environmentId: string) {\n if (availableScopes.Environments.length === 0) {\n return ;\n }\n return ( element.Id} render={(item) => } renderFallback={}/>);\n }\n function createMachineChip(machineId: string) {\n if (availableScopes.Machines.length === 0) {\n return ;\n }\n return ( element.Id} render={(item) => } renderFallback={}/>);\n }\n function createChannelChip(channelId: string) {\n const isVersionControlled = projectContextState !== undefined && projectContextState.gitRef !== undefined;\n if (!isVersionControlled && availableScopes.Channels.length === 0) {\n return ;\n }\n return ( element.Id} render={(item) => } renderFallback={}/>);\n }\n function createRoleChip(roleId: string) {\n if (availableScopes.Roles.length === 0) {\n return ;\n }\n return ( element.Id} render={(item) => } renderFallback={}/>);\n }\n function createTenantTagChip(tenantTagId: string) {\n if (availableScopes.TenantTags.length === 0) {\n return ;\n }\n const tag = tagIndex[tenantTagId];\n const color = tag ? tag.Color : DEFAULT_COLOR;\n const description = tag ? tag.Description : \"\";\n return ( element.Id} render={(item) => } renderFallback={}/>);\n }\n function createStepChip(actionId: string) {\n const isVersionControlled = projectContextState !== undefined && projectContextState.gitRef !== undefined;\n if (!isVersionControlled && availableScopes.Actions.length === 0) {\n return ;\n }\n return ( element.Id} render={(item) => } renderFallback={}/>);\n }\n}\ninterface FocusManagedVariableScopeProps {\n scope: ScopeSpecification;\n availableScopes: ScopeValues;\n tagIndex: TagIndex;\n emptyContent?: JSX.Element;\n showClickIndicator: boolean;\n minHeight: number;\n containerWidth: number;\n}\ninterface FocusManagedVariableScopeState {\n isFocused: boolean;\n}\nexport class FocusManagedVariableScope extends React.Component {\n constructor(props: FocusManagedVariableScopeProps) {\n super(props);\n this.state = { isFocused: false };\n }\n render() {\n return (
    \n this.setState({ isFocused: true })} onBlur={() => this.setState({ isFocused: false })}/>\n
    );\n }\n static displayName = \"FocusManagedVariableScope\";\n}\nconst VariableScope = withOptionalProjectContext(VariableScopeInternal);\nexport default VariableScope;\n","import type { ScopeSpecification } from \"~/areas/variables/ReadonlyVariableResource/ReadonlyVariableResource\";\nimport type { ScopeConsistencyRule, AvailableScopeLookup } from \"./model\";\nimport { isScopeConsistencyFailureResult } from \"./model\";\nexport function checkScopeConsistency(rules: ScopeConsistencyRule[], getScopeLookup: () => AvailableScopeLookup, scope: ScopeSpecification) {\n const lookup = getScopeLookup();\n return rules\n .filter((rule) => rule.isApplicable(scope, lookup))\n .map((rule) => rule.validate(scope, lookup))\n .filter(isScopeConsistencyFailureResult);\n}\n","/* eslint-disable @typescript-eslint/no-non-null-assertion */\nimport * as React from \"react\";\nimport VariableCell from \"~/areas/variables/VariableCell/VariableCell\";\nimport type { PopoverPosition } from \"~/components/PopoverWhenFocused/PopoverWhenFocused\";\nimport { PopoverWhenFocused } from \"~/components/PopoverWhenFocused/PopoverWhenFocused\";\nimport styles from \"./style.module.less\";\ninterface FocusActionsLayoutProps {\n isFocused: boolean;\n actions: JSX.Element[];\n position?: PopoverPosition;\n onClickOutside?: () => void;\n}\nconst position = { top: 0, left: 0, right: 0 };\nexport default class FocusActionsLayout extends React.Component {\n render() {\n return (\n {this.props.children}\n {this.props.isFocused && (\n
    \n
    {this.props.actions.map((a, index) => React.cloneElement(a, { key: index }))}
    \n )}\n );\n }\n static displayName = \"FocusActionsLayout\";\n}\n","import type { ReferenceDataItem } from \"@octopusdeploy/octopus-server-client\";\nimport * as React from \"react\";\nimport ContextualMissingChip, { ChannelChip, ChipIcon } from \"~/components/Chips\";\nimport { MultiSelect } from \"~/components/MultiSelect/MultiSelect\";\nimport type { FormFieldProps } from \"~/components/form\";\nimport Lookup from \"../Lookup\";\nimport type { SelectItem } from \"../VirtualListWithKeyboard/SelectItem\";\ninterface ChannelMultiSelectProps extends FormFieldProps {\n items: ReferenceDataItem[];\n openOnFocus?: boolean;\n label?: string | JSX.Element;\n error?: string;\n hideFloatingLabel?: boolean;\n}\nconst ChannelTypedMultiSelect = MultiSelect();\nexport const ChannelMultiSelect: React.FC = (props) => {\n const chipRenderer = (r: ReferenceDataItem | SelectItem, onRequestDelete: () => void) => {\n return ( element.Id} render={(item: ReferenceDataItem) => } renderFallback={}/>);\n };\n return ;\n};\nChannelMultiSelect.displayName = \"ChannelMultiSelect\"\n","import type { ReferenceDataItem } from \"@octopusdeploy/octopus-server-client\";\nimport * as React from \"react\";\nimport { MachineChip, MissingChip, ChipIcon } from \"~/components/Chips\";\nimport { MultiSelect } from \"~/components/MultiSelect/MultiSelect\";\nimport type { FormFieldProps } from \"~/components/form\";\nimport Lookup from \"../Lookup\";\nimport type { SelectItem } from \"../VirtualListWithKeyboard/SelectItem\";\ninterface MachineMultiSelectProps extends FormFieldProps {\n items: ReferenceDataItem[];\n openOnFocus?: boolean;\n label?: string | JSX.Element;\n error?: string;\n hideFloatingLabel?: boolean;\n}\nconst MachineTypedMultiSelect = MultiSelect();\nexport const MachineMultiSelect: React.FC = (props) => {\n const chipRenderer = (r: ReferenceDataItem | SelectItem, onRequestDelete: () => void) => {\n return ( element.Id} render={(item) => } renderFallback={}/>);\n };\n return ;\n};\nMachineMultiSelect.displayName = \"MachineMultiSelect\"\n","import type { ProcessReferenceDataItem } from \"@octopusdeploy/octopus-server-client\";\nimport * as React from \"react\";\nimport { MissingChip, ProcessChip } from \"~/components/Chips\";\nimport { MultiSelect } from \"~/components/MultiSelect/MultiSelect\";\nimport type { FocusableComponent } from \"~/components/VirtualListWithKeyboard/FocusableComponent\";\nimport type { Item } from \"~/components/VirtualListWithKeyboard/VirtualListWithKeyboard\";\nimport type { FormFieldProps } from \"~/components/form\";\nimport type { ComponentProps } from \"~/utils/types/MappedTypes\";\nimport Lookup from \"../Lookup\";\nconst ProcessTypedMultiSelect = MultiSelect();\ntype RenderChip = ComponentProps[\"renderChip\"];\ninterface ProcessMultiSelectProps extends FormFieldProps {\n items: ProcessReferenceDataItem[];\n openOnFocus?: boolean;\n label?: string | JSX.Element;\n error?: string;\n hideFloatingLabel?: boolean;\n multiSelectRef?(component: FocusableComponent | null): void;\n}\nconst ProcessMultiSelect: React.FC = (props) => {\n const chipRenderer: RenderChip = React.useCallback((r, onRequestDelete: () => void) => {\n return ( element.Id} render={(item) => } renderFallback={}/>);\n }, [props.items]);\n const itemRender = React.useCallback((r: ProcessReferenceDataItem): Item => ({ primaryText: r.Name, secondaryText: r.ProcessType }), []);\n return ;\n};\nProcessMultiSelect.displayName = \"ProcessMultiSelect\"\nexport default ProcessMultiSelect;\n","import * as React from \"react\";\nimport DeletableChip from \"~/components/Chips/DeletableChip\";\nimport { MultiSelect } from \"~/components/MultiSelect/MultiSelect\";\nimport type { SelectItem } from \"~/components/VirtualListWithKeyboard/SelectItem\";\nimport type { FormFieldProps } from \"~/components/form\";\ninterface TypeaheadProps extends FormFieldProps {\n items: SelectItem[];\n fieldName?: string;\n addNewTemplate: (i: string) => string;\n onNew: (e: string) => void;\n openOnFocus?: boolean;\n autoFocus?: boolean;\n chipRenderer?: (r: SelectItem, onRequestDelete: () => void) => React.ReactElement;\n label?: string | JSX.Element;\n error?: string;\n hideFloatingLabel?: boolean;\n accessibleName?: string;\n validate?(value: string[]): string;\n}\n// TODO Config-as-code: Building a Typeahead component by using the Multiselect component (restricted to a single-select)\n// is like fitting a square peg in a round hole. We went this way as we want to have a consistent UX when it comes to typing-ahead\n// similar to the Role selector in the Process Editor (which uses a Multiselect). We have added a card to Config-as-code board\n// to revisit this next cycle to separate the typeahead UX from the Multiselect component.\n// Related: https://trello.com/c/CahXDEFq/243-refactor-the-typeahead-component-to-not-use-the-multiselect-component\nconst ReferencedDataMultiselect = MultiSelect();\nconst Typeahead: React.FC> = (props) => {\n const onChange = (value: string[]) => {\n props.onChange(value[value.length - 1]);\n };\n const chipRenderer = (r: SelectItem, onRequestDelete: () => void) => {\n return (\n {r.Name}\n );\n };\n return ( ({ Id: i.Id, Name: i.Name }))} fieldName={props.fieldName} label={props.label} renderChip={props.chipRenderer ?? chipRenderer} value={props.value === \"\" ? [] : [props.value]} onNew={props.onNew} onChange={(value) => onChange(value)} error={props.error} openOnFocus={props.openOnFocus} autoFocus={props.autoFocus} hideFloatingLabel={props.hideFloatingLabel} addNewTemplate={props.addNewTemplate} accessibleName={props.accessibleName}/>);\n};\nTypeahead.displayName = \"Typeahead\"\nexport const TypeaheadMultiSelector: React.FC> = (props) => {\n const onChange = (value: string[]) => {\n props.onChange(value);\n };\n const chipRenderer = (r: SelectItem, onRequestDelete: () => void) => {\n return (\n {r.Name}\n );\n };\n return ( onChange(value)} error={props.error} openOnFocus={props.openOnFocus} autoFocus={props.autoFocus} hideFloatingLabel={props.hideFloatingLabel} addNewTemplate={props.addNewTemplate} accessibleName={props.accessibleName}/>);\n};\nTypeaheadMultiSelector.displayName = \"TypeaheadMultiSelector\"\nexport default Typeahead;\n","import * as React from \"react\";\nimport type { SelectItem } from \"../VirtualListWithKeyboard/SelectItem\";\nimport { TypeaheadMultiSelector } from \"./Typeahead\";\ninterface TypeaheadStepMultiSelectorProps {\n onStepChange: (value: string[]) => void;\n onNewStep: (value: string) => void;\n stepReferences: SelectItem[];\n selectedStepIds: string[];\n accessibleName?: string | undefined;\n}\nexport const TypeaheadMultiStepSelector: React.FC = (props) => {\n return ( `\"${text}\" (add new step)`} accessibleName={props.accessibleName}/>);\n};\nTypeaheadMultiStepSelector.displayName = \"TypeaheadMultiStepSelector\"\n","/* eslint-disable @typescript-eslint/no-explicit-any */\n/* eslint-disable @typescript-eslint/consistent-type-assertions */\nimport type { ScopeValues, TagResource } from \"@octopusdeploy/octopus-server-client\";\nimport { VariableType } from \"@octopusdeploy/octopus-server-client\";\nimport { keyBy } from \"lodash\";\nimport React, { useEffect, useState } from \"react\";\nimport { useOptionalProjectContext } from \"~/areas/projects/context\";\nimport type { ScopeSpecification } from \"~/areas/variables/ReadonlyVariableResource\";\nimport { AdvancedTenantTagsSelector } from \"~/components/AdvancedTenantSelector/AdvancedTenantSelector\";\nimport type { DoBusyTask } from \"~/components/DataBaseComponent/DataBaseComponent\";\nimport { ChannelMultiSelect } from \"~/components/MultiSelect/ChannelMultiSelect\";\nimport { EnvironmentMultiSelect } from \"~/components/MultiSelect/EnvironmentMultiSelect\";\nimport { MachineMultiSelect } from \"~/components/MultiSelect/MachineMultiSelect\";\nimport ProcessMultiSelect from \"~/components/MultiSelect/ProcessMultiSelect\";\nimport { StepMultiSelect } from \"~/components/MultiSelect/StepMultiSelect\";\nimport { TargetTagMultiSelect } from \"~/components/MultiSelect/TargetTagMultiSelect\";\nimport type { FocusableComponent } from \"~/components/VirtualListWithKeyboard/FocusableComponent\";\nimport { TypeaheadMultiStepSelector } from \"../../../components/Typeahead/TypeaheadStepSelector\";\nimport * as tenantTagsets from \"../../../components/tenantTagsets\";\nimport type { VariableEditorScope } from \"../VariableEditor/types\";\nimport { isPlatformHubScoped, isProjectScoped } from \"../VariableEditor/types\";\nimport styles from \"./style.module.less\";\ninterface ScopeSelectorProps {\n value: ScopeSpecification;\n availableScopes: ScopeValues;\n allowTenantTagSelection: boolean;\n useCompactControls: boolean;\n variableType: VariableType;\n firstComponent?: FocusableComponent;\n firstInputRef?(component: FocusableComponent | null): void;\n doBusyTask: DoBusyTask;\n onScopeSelected: (scope: ScopeSpecification) => void;\n editorScope: VariableEditorScope;\n}\ninterface TagSet {\n Tags: TagResource[];\n Description: string;\n SortOrder: number;\n Name: string;\n Id: string;\n Links: {\n [name: string]: string;\n };\n}\nconst ScopeSelector: React.FC = (props) => {\n const handleEnvironmentsChanged = (environments: string[]) => {\n changeScope((s) => ({ ...s, Environment: environments }));\n };\n const handleRolesChanged = (roles: string[]) => {\n changeScope((s) => ({ ...s, Role: roles }));\n };\n const handleMachinesChanged = (machines: string[]) => {\n changeScope((s) => ({ ...s, Machine: machines }));\n };\n const handleStepsChanged = (steps: string[]) => {\n changeScope((s) => ({ ...s, Action: steps }));\n };\n const handleChannelsChanged = (channels: string[]) => {\n changeScope((s) => ({ ...s, Channel: channels }));\n };\n const handleTenantTagsChanged = (tenantTags: string[]) => {\n changeScope((s) => ({ ...s, TenantTag: tenantTags }));\n };\n const handleProcessChanged = (processes: string[]) => {\n changeScope((s) => ({ ...s, ProcessOwner: processes }));\n };\n const changeScope = (updateScope: (scope: ScopeSpecification) => ScopeSpecification) => {\n props.onScopeSelected(updateScope(props.value));\n };\n const projectContext = useOptionalProjectContext();\n const isInVersionControlledScope = projectContext && projectContext.state.gitRef;\n const [tagSets, setTagSets] = useState(null);\n useEffect(() => {\n async function allowTenantTagSelection() {\n if (props.allowTenantTagSelection) {\n await props.doBusyTask(async () => {\n const tenantTagMap = keyBy(props.availableScopes.TenantTags, (tag) => tag.Id);\n const tagSets = await tenantTagsets.getAll();\n setTagSets(tagSets.map((ts) => ({ ...ts, Tags: ts.Tags.filter((tag) => !!tenantTagMap[tag.CanonicalTagName]) })));\n });\n }\n }\n allowTenantTagSelection();\n }, \n // eslint-disable-next-line react-hooks/exhaustive-deps\n []);\n const editorScope = props.editorScope;\n const showRoleSelect = props.variableType !== VariableType.WorkerPool || !!props.value.Role;\n const showMachineSelect = props.variableType !== VariableType.WorkerPool || !!props.value.Machine;\n return (
    \n
    \n handleEnvironmentsChanged(e)} openOnFocus={false} hideFloatingLabel={props.useCompactControls}/>\n {!isPlatformHubScoped(editorScope) && showRoleSelect && ( r.Id)} onChange={(e) => handleRolesChanged(e)} openOnFocus={false} canAdd={true} hideFloatingLabel={props.useCompactControls} analyticsArea=\"Variable Scope Editor\"/>)}\n {!isPlatformHubScoped(editorScope) && showMachineSelect && ( handleMachinesChanged(m)} openOnFocus={false} hideFloatingLabel={props.useCompactControls}/>)}\n {isProjectScoped(editorScope) && ()}\n {isProjectScoped(editorScope) && !isInVersionControlledScope && ( handleStepsChanged(s)} openOnFocus={false} hideFloatingLabel={props.useCompactControls}/>)}\n {isProjectScoped(editorScope) && isInVersionControlledScope && ( handleStepsChanged(s)} onNewStep={(id: string) => {\n props.availableScopes.Actions.push({ Id: id, Name: id });\n const actions = [...(props.value.Action ? [...(props.value.Action as string[])] : []), id];\n handleStepsChanged(actions);\n }}/>)}\n {isProjectScoped(editorScope) && ( handleChannelsChanged(s)} openOnFocus={false} hideFloatingLabel={props.useCompactControls}/>)}\n
    \n {props.allowTenantTagSelection && tagSets && (
    \n handleTenantTagsChanged(tenantTags)} showPreviewButton={true} emptyFilterMeansAllTenants={true}/>\n
    )}\n
    );\n};\nScopeSelector.displayName = \"ScopeSelector\"\nexport default ScopeSelector;\n","/* eslint-disable @typescript-eslint/no-non-null-assertion */\nimport { ActionButton, ActionButtonType } from \"@octopusdeploy/design-system-components\";\nimport type { ScopeValues, VariableType } from \"@octopusdeploy/octopus-server-client\";\nimport * as React from \"react\";\nimport type { ScopeSpecification } from \"~/areas/variables/ReadonlyVariableResource\";\nimport VariableCell from \"~/areas/variables/VariableCell/VariableCell\";\nimport type { VariableEditorScope } from \"~/areas/variables/VariableEditor/types\";\nimport { isPlatformHubScoped } from \"~/areas/variables/VariableEditor/types\";\nimport VariableScope from \"~/areas/variables/VariableScope/VariableScope\";\nimport type { DoBusyTask } from \"~/components/DataBaseComponent/DataBaseComponent\";\nimport FocusActionsLayout from \"~/components/FocusActionsLayout/FocusActionsLayout\";\nimport ReadonlyText from \"~/components/ReadonlyText/ReadonlyText\";\nimport type { FocusableComponent } from \"~/components/VirtualListWithKeyboard/FocusableComponent\";\nimport type { TagIndex } from \"~/components/tenantTagsets\";\nimport ScopeSelector from \"../ScopeSelector/ScopeSelector\";\nimport styles from \"./style.module.less\";\ninterface VariableScopeCellProps {\n scope: ScopeSpecification;\n onScopeChanged: (scope: ScopeSpecification) => void;\n availableScopes: ScopeValues;\n tagIndex: TagIndex;\n variableType: VariableType;\n deleted?: boolean;\n isEditing: boolean;\n isViewingAll: boolean;\n doBusyTask: DoBusyTask;\n onFocusEdit: () => void;\n onBlurEdit: () => void;\n onFocusViewAll: () => void;\n onBlurViewAll: () => void;\n onOpenEditorClicked: () => void;\n cellHeight: number;\n containerWidth: number | undefined;\n editorScope: VariableEditorScope;\n}\nexport default class VariableScopeCell extends React.Component {\n private scopeCell: HTMLElement | null = undefined!;\n private tabbingElement: HTMLElement | null = undefined!;\n private readonly onBlurEdit: () => void;\n private firstInput: FocusableComponent | null | undefined;\n constructor(props: VariableScopeCellProps) {\n super(props);\n this.onBlurEdit = () => this.props.onBlurEdit();\n }\n componentDidMount() {\n document.addEventListener(\"keydown\", this.onKeyDown);\n }\n componentWillUnmount() {\n document.removeEventListener(\"keydown\", this.onKeyDown);\n }\n componentDidUpdate(prevProps: VariableScopeCellProps) {\n if (this.props.isEditing && !prevProps.isEditing) {\n if (this.firstInput) {\n this.firstInput.focus();\n }\n }\n if (this.props.isViewingAll && !prevProps.isViewingAll) {\n if (this.tabbingElement) {\n this.tabbingElement.focus();\n }\n }\n }\n render() {\n return (
    (this.scopeCell = cell)}>\n {!this.props.isEditing &&
    (this.tabbingElement = tabbingElement)} tabIndex={this.props.deleted ? -1 : 0} onFocus={this.props.onFocusViewAll}/>}\n {/* Using a Text component here for the empty content to ensure consistent styling with other cells*/}\n {!this.props.isEditing && this.props.containerWidth && ( this.props.onFocusViewAll()} onBlur={() => this.props.onBlurViewAll()} onClick={!this.props.deleted ? this.props.onFocusEdit : undefined} emptyContent={} containerWidth={this.props.containerWidth}/>)}\n {/* if \"Define Scope\" has disabled=true, click events don't fire in FireFox or Edge*/}\n {this.props.isEditing && (]} onClickOutside={this.props.isEditing ? this.onBlurEdit : undefined}>\n \n {this.props.isEditing && ( (this.firstInput = firstInput)} value={this.props.scope} availableScopes={this.props.availableScopes} variableType={this.props.variableType} onScopeSelected={this.props.onScopeChanged} doBusyTask={this.props.doBusyTask} allowTenantTagSelection={false} useCompactControls={true} editorScope={this.props.editorScope}/>)}\n \n )}\n
    );\n }\n private onKeyDown = (ev: KeyboardEvent) => {\n if (ev.key === \"Enter\" && this.props.isViewingAll) {\n this.props.onFocusEdit();\n }\n if (ev.key === \"Esc\" && !ev.defaultPrevented && this.props.isEditing) {\n this.props.onFocusViewAll();\n }\n };\n static displayName = \"VariableScopeCell\";\n}\n","import VariableScopeCell from \"./VariableScopeCell\";\nexport default VariableScopeCell;\n","/* eslint-disable @typescript-eslint/no-non-null-assertion */\n/* eslint-disable @typescript-eslint/no-explicit-any */\n/* eslint-disable no-eq-null */\n/* eslint-disable @typescript-eslint/consistent-type-assertions */\nimport { Callout } from \"@octopusdeploy/design-system-components\";\nimport { ControlType } from \"@octopusdeploy/octopus-server-client\";\nimport type { ActionTemplateParameterResource, PropertyValueResource, SensitiveValue } from \"@octopusdeploy/octopus-server-client\";\nimport * as React from \"react\";\nimport type { Errors } from \"~/components/DataBaseComponent/Errors\";\nimport OkDialogLayout from \"~/components/DialogLayout/OkDialogLayout\";\nimport type { PermissionCheckProps } from \"~/components/PermissionCheck/PermissionCheck\";\nimport MarkdownEditor from \"~/components/form/MarkdownEditor/MarkdownEditor\";\nimport { BoundSensitive } from \"~/components/form/Sensitive/Sensitive\";\nimport { dropdownOptionsValidator, required } from \"~/components/form/Validators\";\nimport Note from \"~/primitiveComponents/form/Note/Note\";\nimport { DebounceText } from \"~/primitiveComponents/form/Text/Text\";\nimport ControlTypeSelector from \"../ControlType/ControlTypeSelector\";\nimport FormBaseComponent from \"../FormBaseComponent/FormBaseComponent\";\nimport type { OptionalFormBaseComponentState } from \"../FormBaseComponent/FormBaseComponent\";\ninterface ActionTemplateParameterEditorDialogState extends OptionalFormBaseComponentState {\n model: ActionTemplateParameterResource;\n originalName?: string | null;\n}\ninterface ActionTemplateParameterEditorDialogProps {\n parameter?: ActionTemplateParameterResource;\n editPermission: PermissionCheckProps;\n name: \"template\" | \"parameter\";\n excludedControlTypes?: ControlType[];\n onOk(parameter: ActionTemplateParameterResource): void;\n}\nconst handleControlChange = (controlType: ControlType) => {\n return (state: ActionTemplateParameterEditorDialogState): ActionTemplateParameterEditorDialogState => {\n return {\n model: {\n ...state!.model,\n DisplaySettings: {\n ...state!.model!.DisplaySettings,\n [\"Octopus.ControlType\"]: controlType,\n },\n },\n };\n };\n};\nexport default class ActionTemplateParameterEditorDialog extends FormBaseComponent {\n public static defaultProps: Partial = {\n excludedControlTypes: [],\n };\n constructor(props: ActionTemplateParameterEditorDialogProps) {\n super(props);\n this.state = {\n model: props.parameter || ({ DisplaySettings: {} } as any),\n };\n }\n async componentDidMount() {\n await this.doBusyTask(async () => {\n this.setState({\n originalName: this.props.parameter ? this.props.parameter.Name : null,\n });\n });\n }\n UNSAFE_componentWillReceiveProps(nextProps: ActionTemplateParameterEditorDialogProps) {\n this.setState({\n originalName: nextProps.parameter ? nextProps.parameter.Name : null,\n });\n }\n render() {\n const errors: Errors | null = null;\n return (\n
    \n {this.showRenameWarning() && (\n Parameter name is used as a key so if you rename it you will lose data associated with it that is stored in existing steps.\n )}\n\n this.setModelState({ Name })} autoFocus label=\"Variable name\" validate={required(\"Please enter a variable name\")}/>\n \n The name of the variable set by the {this.props.name}. The name can contain letters, digits, dashes and periods. Example: ServerName.\n \n\n this.setModelState({ Label })} label=\"Label\"/>\n \n The label shown beside the {this.props.name} when presented in the deployment process. Example: Server name.\n \n\n this.setModelState({ HelpText })} label=\"Help text\"/>\n The help presented alongside the {this.props.name} input.\n\n this.setState(handleControlChange(x))} onSelectOptionsChange={(x) => this.setState((state) => ({\n model: {\n ...state!.model,\n DisplaySettings: {\n ...state!.model.DisplaySettings,\n [\"Octopus.SelectOptions\"]: x,\n },\n },\n }))}/>\n\n {this.state.model.DisplaySettings[\"Octopus.ControlType\"] !== ControlType.Sensitive && this.state.model.DisplaySettings[\"Octopus.ControlType\"] !== ControlType.Package && ( this.setModelState({ DefaultValue })}/>)}\n\n {this.state.model.DisplaySettings[\"Octopus.ControlType\"] === ControlType.Sensitive && }\n\n {this.state.model.DisplaySettings[\"Octopus.ControlType\"] !== ControlType.Package && A default value for the {this.props.name}, if applicable. This can be a hard-coded value or a variable reference.}\n
    \n
    );\n }\n private humanize(name: string) {\n return name[0].toUpperCase() + name.slice(1);\n }\n private handleSensitiveDefaultChanged = (defaultValue: PropertyValueResource) => {\n const value = typeof defaultValue === \"string\" ? defaultValue : this.processSensitiveValue(defaultValue!);\n this.setModelState({ DefaultValue: value });\n };\n private showRenameWarning() {\n return this.state.originalName && this.state.originalName !== this.state.model.Name;\n }\n private onOk = () => {\n if (!this.state.model.Name) {\n this.setValidationErrors(`Please provide a variable name for the ${this.props.name}.`);\n return false;\n }\n if (!this.state.model.DisplaySettings[\"Octopus.ControlType\"]) {\n this.setValidationErrors(`Please provide a control type for the ${this.props.name}.`);\n return false;\n }\n const selectOptionsError = dropdownOptionsValidator()(this.state.model.DisplaySettings[\"Octopus.SelectOptions\"]!);\n if (this.state.model.DisplaySettings[\"Octopus.ControlType\"] === ControlType.Select && selectOptionsError !== \"\") {\n this.setValidationErrors(`Drop down options are not formatted correctly. ${selectOptionsError}.`);\n return false;\n }\n this.props.onOk(this.state.model);\n return true;\n };\n private processSensitiveValue(defaultValue: SensitiveValue) {\n if (defaultValue == null || (!defaultValue.HasValue && (defaultValue.NewValue === null || defaultValue.NewValue === \"\"))) {\n return null;\n }\n else {\n if (defaultValue.HasValue === undefined) {\n defaultValue.HasValue = true;\n }\n }\n return defaultValue;\n }\n static displayName = \"ActionTemplateParameterEditorDialog\";\n}\n","import type { ActionTemplateParameterResource } from \"@octopusdeploy/octopus-server-client\";\nimport * as React from \"react\";\nimport Markdown from \"~/components/Markdown/index\";\nimport convertPropertyValueResourceToString from \"~/components/convertPropertyValueResourceToString\";\nimport ListTitle from \"~/primitiveComponents/dataDisplay/ListTitle/ListTitle\";\nimport Note from \"~/primitiveComponents/form/Note/Note\";\ninterface ActionTemplateParameterResourceSummaryProps {\n parameter: ActionTemplateParameterResource;\n}\nconst ActionTemplateParameterResourceSummary: React.SFC = (props: ActionTemplateParameterResourceSummaryProps) => {\n return (
    \n {props.parameter.Label || props.parameter.Name}\n \n #{`{${props.parameter.Name}}`} {props.parameter.DefaultValue ? \" = \" + convertPropertyValueResourceToString(props.parameter.DefaultValue) : \"\"}\n \n \n \n \n
    );\n};\nActionTemplateParameterResourceSummary.displayName = \"ActionTemplateParameterResourceSummary\"\nexport default ActionTemplateParameterResourceSummary;\n","import type { ActionTemplateParameterResource } from \"@octopusdeploy/octopus-server-client\";\nimport * as React from \"react\";\nimport SortableList from \"~/primitiveComponents/dataDisplay/SortableList/SortableList\";\nimport { BaseComponent } from \"../BaseComponent/BaseComponent\";\nimport OkDialogLayout from \"../DialogLayout/OkDialogLayout\";\ninterface ActionTemplateParameterSorterProps {\n title: string;\n parameters: ActionTemplateParameterResource[];\n onOk(parameters: ActionTemplateParameterResource[]): void;\n okButtonLabel?: string;\n}\ninterface SortableActionTemplateParameterResource extends ActionTemplateParameterResource {\n DbId: string;\n}\ninterface ActionTemplateParameterSorterState {\n sortedParameters: SortableActionTemplateParameterResource[];\n}\nexport class ActionTemplateParameterSorter extends BaseComponent {\n constructor(props: ActionTemplateParameterSorterProps) {\n super(props);\n this.state = {\n sortedParameters: props.parameters.map((p) => ({\n ...p,\n DbId: p.Id,\n Id: Math.random() + \"\",\n })),\n };\n }\n render() {\n return (\n this.setState({ sortedParameters })}/>\n );\n }\n private onOk = () => {\n this.props.onOk(this.state.sortedParameters.map((sp) => ({\n ...sp,\n Id: sp.DbId,\n })));\n return true;\n };\n static displayName = \"ActionTemplateParameterSorter\";\n}\n","/* eslint-disable @typescript-eslint/no-non-null-assertion */\nimport { ActionButtonType } from \"@octopusdeploy/design-system-components\";\nimport type { ActionTemplateParameterResource, ControlType } from \"@octopusdeploy/octopus-server-client\";\nimport { clone, compact } from \"lodash\";\nimport * as React from \"react\";\nimport ActionTemplateParameterEditorDialog from \"~/components/ActionTemplateParametersList/ActionTemplateParameterEditorDialog\";\nimport ActionTemplateParameterResourceSummary from \"~/components/ActionTemplateParametersList/ActionTemplateParameterResourceSummary\";\nimport DialogOpener from \"~/components/Dialog/DialogOpener\";\nimport OpenDialogButton from \"~/components/Dialog/OpenDialogButton\";\nimport type { PermissionCheckProps } from \"~/components/PermissionCheck/PermissionCheck\";\nimport PermissionCheck from \"~/components/PermissionCheck/PermissionCheck\";\nimport { RemoveItemsList } from \"~/components/RemoveItemsList/RemoveItemsList\";\nimport { ActionTemplateParameterSorter } from \"./ActionTemplateParameterSorter\";\nclass ActionTemplateParameterRemoveItemsList extends RemoveItemsList {\n}\ninterface ActionTemplateParametersListProps {\n parameters: ActionTemplateParameterResource[];\n editPermission: PermissionCheckProps;\n excludedControlTypes?: ControlType[];\n name: \"template\" | \"parameter\";\n onParametersChanged(parameters: ActionTemplateParameterResource[]): void;\n listActions?: React.ReactElement[];\n}\ninterface ActionTemplateParametersListState {\n parameterToEdit?: ActionTemplateParameterResource | null;\n parameterToEditIndex?: number | null;\n}\nexport default class ActionTemplateParameterList extends React.Component {\n public static defaultProps: Partial = {\n excludedControlTypes: [],\n };\n constructor(props: ActionTemplateParametersListProps) {\n super(props);\n this.state = {};\n }\n render() {\n const actions = this.props.listActions || compact([this.reorderButton(), this.addParameterButton()]);\n return (
    \n \n \n \n this.props.onParametersChanged(this.props.parameters.filter((p) => p !== parameter))} onRowTouch={this.editParameter}/>\n
    );\n }\n private resetSelection = () => {\n return this.setState({ parameterToEdit: null, parameterToEditIndex: null });\n };\n private updateParameter = (parameter: ActionTemplateParameterResource) => {\n const before = this.props.parameters.slice(0, this.state.parameterToEditIndex!);\n const after = this.props.parameters.slice(this.state.parameterToEditIndex! + 1);\n this.setState({ parameterToEditIndex: null, parameterToEdit: null });\n return this.props.onParametersChanged([...before, parameter, ...after]);\n };\n private editParameter = (parameter: ActionTemplateParameterResource) => {\n return this.setState({\n parameterToEdit: clone(parameter),\n parameterToEditIndex: this.props.parameters.indexOf(parameter),\n });\n };\n private renderItem = (parameter: ActionTemplateParameterResource) => {\n return ;\n };\n private addParameterButton() {\n const onAdd = (parameter: ActionTemplateParameterResource) => this.props.onParametersChanged([...this.props.parameters, parameter]);\n return ;\n }\n private reorderButton() {\n return ;\n }\n static displayName = \"ActionTemplateParameterList\";\n}\ninterface AddActionTemplateParameterButtonProps {\n onAdd: (parameter: ActionTemplateParameterResource) => void;\n permission: PermissionCheckProps;\n name: \"template\" | \"parameter\";\n type: ActionButtonType;\n excludedControls: ControlType[] | undefined;\n}\nexport function AddActionTemplateParameterButton({ onAdd, permission, name, type, excludedControls }: AddActionTemplateParameterButtonProps) {\n return (\n \n \n \n );\n}\ninterface SortActionTemplateParametersButtonProps {\n parameters: ActionTemplateParameterResource[];\n onChange: (parameters: ActionTemplateParameterResource[]) => void;\n permission: PermissionCheckProps;\n name: \"template\" | \"parameter\";\n}\nexport function SortActionTemplateParametersButton({ parameters, onChange, permission, name }: SortActionTemplateParametersButtonProps) {\n if (parameters.length <= 1) {\n return null;\n }\n return (\n \n \n \n );\n}\n","import Default from \"./ActionTemplateParametersList\";\nexport * from \"./ActionTemplateParametersList\";\nexport default Default;\n","import React from \"react\";\nimport type { FormFieldProps } from \"~/components/form\";\nimport { BoundStringCheckbox } from \"~/primitiveComponents/form/Checkbox/StringCheckbox\";\ninterface CheckboxInputProps extends FormFieldProps {\n resetValue: string;\n label: string;\n localNames?: string[];\n warning?: string;\n defaultValueIndicator: JSX.Element | undefined;\n doBusyTask(action: () => Promise): Promise;\n validate?: ((value: string) => string) | ((value: string | null) => string);\n onValidate?(value: string): void;\n}\nconst CheckboxInput: React.FC = (props) => {\n const { value, resetValue, label, localNames, warning, defaultValueIndicator, doBusyTask, ...rest } = props;\n const formProps = { ...rest, label };\n return (\n \n {defaultValueIndicator}\n );\n};\nCheckboxInput.displayName = \"CheckboxInput\"\nexport default CheckboxInput;\n","import React from \"react\";\nimport { VariableLookupText } from \"~/components/form/VariableLookupText\";\nimport type { FormFieldProps } from \"~/components/form/index\";\ninterface MultiLineTextInputProps extends FormFieldProps {\n label: string;\n localNames?: string[];\n warning?: string;\n defaultValueIndicator: JSX.Element | undefined;\n validate?: ((value: string) => string) | ((value: string | null) => string);\n onValidate?(value: string): void;\n monoSpacedFont?: boolean;\n autoFocus?: boolean;\n}\nconst MultiLineTextInput: React.FC = (props) => {\n const { value, label, localNames, warning, defaultValueIndicator, monoSpacedFont, ...rest } = props;\n const formProps = { ...rest, label };\n return (\n \n {defaultValueIndicator}\n );\n};\nMultiLineTextInput.displayName = \"MultiLineTextInput\"\nexport default MultiLineTextInput;\n","/* eslint-disable @typescript-eslint/no-non-null-assertion */\nimport React from \"react\";\nimport type { FormFieldProps } from \"~/components/form\";\nimport { BoundSelect } from \"~/primitiveComponents/form/Select/Select\";\nimport type { Options } from \"../../primitiveComponents/form/Select/Options\";\ninterface SelectInputProps extends FormFieldProps {\n resetValue: string;\n options: Options;\n localNames?: string[];\n label: string;\n allowClear: boolean;\n warning?: string;\n defaultValueIndicator: JSX.Element | undefined;\n doBusyTask(action: () => Promise): Promise;\n validate?: ((value: string) => string) | ((value: string | null) => string);\n onValidate?(value: string): void;\n}\nconst SelectInput: React.FC = (props) => {\n const { value, resetValue, options, localNames, label, allowClear, warning, defaultValueIndicator, doBusyTask, onChange, ...rest } = props;\n const formProps = { ...rest, label };\n return (\n onChange(x!)} {...formProps}/>\n {defaultValueIndicator}\n );\n};\nSelectInput.displayName = \"SelectInput\"\nexport default SelectInput;\n","import React from \"react\";\nimport { VariableLookupText } from \"~/components/form/VariableLookupText\";\nimport type { FormFieldProps } from \"~/components/form/index\";\ninterface SingleLineTextInputProps extends FormFieldProps {\n label: string;\n localNames?: string[];\n warning?: string;\n defaultValueIndicator: JSX.Element | undefined;\n validate?: ((value: string) => string) | ((value: string | null) => string);\n onValidate?(value: string): void;\n monoSpacedFont?: boolean;\n autoFocus?: boolean;\n}\nconst SingeLineTextInput: React.FC = (props) => {\n const { value, label, localNames, warning, defaultValueIndicator, monoSpacedFont, ...rest } = props;\n const formProps = { ...rest, label };\n return (\n \n {defaultValueIndicator}\n );\n};\nSingeLineTextInput.displayName = \"SingeLineTextInput\"\nexport default SingeLineTextInput;\n","import type { ApiOperationStatus } from \"@octopusdeploy/octopus-react-client\";\nimport { OctopusError } from \"@octopusdeploy/octopus-server-client\";\nimport { useCallback, useMemo, useState } from \"react\";\nimport type { DoBusyTask } from \"~/components/DataBaseComponent/DataBaseComponent\";\nimport { createErrorsFromOctopusError } from \"~/components/DataBaseComponent/Errors\";\nimport { useCurrentError, useErrorActions } from \"~/components/ErrorContext/ErrorContext\";\nimport { timeOperation } from \"~/utils/OperationTimer/timeOperation\";\nimport { PromiseCancelledError } from \"~/utils/PromiseCancelledError\";\nimport type { Errors } from \"./Errors\";\ninterface LegacyDoBusyTaskReturnValue {\n doBusyTask: DoBusyTask;\n status: ApiOperationStatus;\n}\n/**\n * Get access to a doBusyTask function, along with the busy and error state\n * Used primarily to help transition to the new data access building blocks, by allowing incremental migrations.\n * @returns {{doBusyTask: DoBusyTask, busy: Promise | undefined, errors: Errors | undefined}} Provides access to doBusyTask, the busy state, and any current errors\n * @deprecated This is not our preferred pattern, and should only be used to help aid in a migration to our preferred data access building blocks (loaders, useMutation, useQuery, useForm, etc.)\n */\nexport function useLegacyDoBusyTask(): LegacyDoBusyTaskReturnValue {\n const { clearErrors, setOctopusError } = useErrorActions();\n const [busies, setBusies] = useState>>([]);\n const doBusyTask = useCallback(async (action, options = {}) => {\n // eslint-disable-next-line @typescript-eslint/init-declarations\n let busy: Promise;\n try {\n // Sometimes child components will load some lookup data while a parent component\n // is displaying an error. The child uses the parent's doBusyTask so that the busy\n // indicator and errors display correctly. But we shouldn't clear existing errors\n // from that child load.\n if (!options.preserveCurrentErrors) {\n clearErrors();\n }\n busy = options.timeOperationOptions ? timeOperation(options.timeOperationOptions, action) : action();\n setBusies((prev) => [busy, ...prev]);\n await busy;\n // There were no errors in this case.\n if (options.onSuccess) {\n options.onSuccess();\n }\n return true;\n }\n catch (e) {\n if (e instanceof OctopusError) {\n setOctopusError(e);\n if (options.onError) {\n options.onError(createErrorsFromOctopusError(e));\n }\n return false;\n }\n if (e instanceof PromiseCancelledError) {\n // swallow it, no point bubbling this up any further since we intentionally cancelled the promise\n return false;\n }\n throw e;\n }\n finally {\n setBusies((prev) => prev.filter((b) => b !== busy));\n }\n }, [clearErrors, setOctopusError]);\n const isInProgress = busies.length > 0;\n const currentError = useCurrentError();\n const errors = useMemo(() => {\n if (currentError === null) {\n return [];\n }\n return [currentError];\n }, [currentError]);\n return {\n doBusyTask,\n status: {\n isInProgress,\n errors,\n },\n };\n}\n","import { css, cx } from \"@emotion/css\";\nimport { tableMobileStyles, tableStyles } from \"@octopusdeploy/design-system-components\";\nimport type { ReactNode } from \"react\";\nimport React from \"react\";\nimport { useMediaQuery } from \"react-responsive\";\nexport interface DataTableColumn {\n title: string;\n render: (item: TData) => ReactNode;\n isChild?: (item: TData) => boolean;\n accessibleName?: string;\n width?: string;\n padding?: string;\n backgroundColor?: (item: TData) => string | undefined;\n ref?: React.RefObject;\n}\nexport interface GroupedDataTableProps {\n columns: DataTableColumn[];\n data: TData[];\n getRowKey: (item: TData) => React.Key;\n accessibleName?: string;\n groupBy?: GroupBy[];\n tableClassName?: string;\n}\nexport interface GroupBy {\n key: string;\n selector: (item: TData) => string;\n header: React.ReactElement;\n}\nexport function GroupedDataTable({ columns, data, getRowKey, accessibleName, groupBy, tableClassName }: GroupedDataTableProps) {\n const isLargerThanIpad = useMediaQuery({ query: `(min-width: 811px)` });\n function groupData(data: TData[], groupBy: GroupBy[]) {\n const groupedData: Record = {};\n groupBy.forEach((group) => {\n groupedData[group.key] = {\n items: [],\n header: group.header,\n };\n });\n data.forEach((item) => {\n const group = groupBy.find((g) => g.selector(item) === g.key);\n if (group === undefined) {\n return;\n }\n groupedData[group.key].items.push(item);\n });\n return groupedData;\n }\n const groupedData = groupBy ? groupData(data, groupBy) : { \"\": { items: data } };\n const headings = columns.map((c) => (\n {c.title}\n ));\n const rows = Object.entries(groupedData).flatMap(([groupKey, { items, header }]) => [\n groupKey !== \"\" && items.length > 0 && header,\n ...items.map((d: TData) => (\n {columns.map((c, i) => {\n const cellCssClass = c.isChild && c.isChild(d) ? childColumnStyles : undefined;\n const cellStyle = {\n width: c.width,\n padding: c.padding,\n backgroundColor: c.backgroundColor && c.backgroundColor(d),\n };\n return (\n {c.render(d)}\n );\n })}\n )),\n ]);\n return (\n \n {headings}\n \n {rows}\n
    );\n}\nconst childColumnStyles = css({\n borderTop: \"0 !important\",\n});\nconst fixedStyle = css({\n tableLayout: \"fixed\",\n});\n","import { PopoverWhenFocused } from \"./PopoverWhenFocused\";\nexport default PopoverWhenFocused;\n","export type Options = Array<{\n value: string;\n text: string;\n}>;\nexport default function selectOptionsToItems(selectOptions?: string): Options {\n const options = selectOptions || \"\";\n return options\n .split(\"\\n\")\n .filter((line) => line.length !== 0)\n .map((line) => line.split(\"|\"))\n .map((keyValuePair) => (keyValuePair.length > 1 ? keyValuePair : [keyValuePair[0], keyValuePair[0]]))\n .map((keyValuePair) => ({\n value: keyValuePair[0].trim(),\n text: keyValuePair[1].trim(),\n }));\n}\n","import { css, cx } from \"@emotion/css\";\nimport type { PageAction } from \"@octopusdeploy/design-system-components\";\nimport { ActionButtonType, Button } from \"@octopusdeploy/design-system-components\";\nimport { space, text, themeTokens } from \"@octopusdeploy/design-system-tokens\";\nimport { useQuery } from \"@octopusdeploy/octopus-react-client\";\nimport type { ActionTemplateParameterResource, PlatformHubAccountResource, ProcessTemplateParameterResource, ProcessTemplateParameterValueResource, ScopeValues } from \"@octopusdeploy/octopus-server-client\";\nimport { AccountType, ControlType, Permission } from \"@octopusdeploy/octopus-server-client\";\nimport { noOp } from \"@octopusdeploy/utilities\";\nimport * as React from \"react\";\nimport { useMemo, useState } from \"react\";\nimport ProcessTemplateParameterEditorDialog from \"~/areas/blueprints/ProcessTemplateParameterEditorDialog\";\nimport { useScopeWidth } from \"~/areas/blueprints/useScopeWidth\";\nimport ReadonlyInlineVariableValue from \"~/areas/projects/components/Variables/TenantVariables/ReadonlyInlineVariableValue\";\nimport { TemplateHelpText } from \"~/areas/projects/components/Variables/TenantVariables/TemplateHelpText\";\nimport { TemplateName } from \"~/areas/projects/components/Variables/TenantVariables/TemplateName\";\nimport { getVariableTypeFromDisplaySettings } from \"~/areas/projects/components/Variables/TenantVariables/getVariableTypeFromDisplaySettings\";\nimport type { ScopeSpecification } from \"~/areas/variables/ReadonlyVariableResource/index\";\nimport VariableScopeCell from \"~/areas/variables/VariableScopeCell/index\";\nimport { SortActionTemplateParametersButton } from \"~/components/ActionTemplateParametersList/index\";\nimport CheckboxInput from \"~/components/ControlInputs/CheckboxInput\";\nimport MultiLineTextInput from \"~/components/ControlInputs/MultiLineTextInput\";\nimport SelectInput from \"~/components/ControlInputs/SelectInput\";\nimport SingleLineTextInput from \"~/components/ControlInputs/SingleLineTextInput\";\nimport type { DoBusyTask } from \"~/components/DataBaseComponent/index\";\nimport { useLegacyDoBusyTask } from \"~/components/DataBaseComponent/useLegacyDoBusyTask\";\nimport DialogOpener from \"~/components/Dialog/DialogOpener\";\nimport OpenDialogButton from \"~/components/Dialog/OpenDialogButton\";\nimport OnboardingPage from \"~/components/GettingStarted/OnboardingPage\";\nimport { GroupedDataTable } from \"~/components/GroupedDataTable/GroupedDataTable\";\nimport { OverflowMenu, OverflowMenuItems } from \"~/components/OverflowMenu/OverflowMenu\";\nimport PermissionCheck, { hasPermission } from \"~/components/PermissionCheck/PermissionCheck\";\nimport PopoverWhenFocused from \"~/components/PopoverWhenFocused/index\";\nimport { Select, Text } from \"~/components/form/index\";\nimport selectOptionsToItems from \"~/primitiveComponents/form/Select/Options\";\nimport { DebounceText } from \"~/primitiveComponents/form/Text/Text\";\ninterface ProcessTemplateParametersTabProps {\n parameters: ProcessTemplateParameterResource[];\n onChange: (parameters: ActionTemplateParameterResource[]) => void;\n}\nexport function ProcessTemplateParametersTab({ parameters, onChange }: ProcessTemplateParametersTabProps) {\n const { result: environments } = useQuery((repository) => repository.PlatformHubRepository.getEnvironmentSummaries(), [], \"Get environment summaries\");\n const { result: platformHubAccounts } = useQuery((repository) => repository.PlatformHubRepository.getAllAccounts(), [], \"Get all platform hub accounts\");\n const availableScopeValues = useMemo(() => ({ ...defaultScopeValues, Environments: environments?.map((e) => ({ Id: `${e.SpaceId}/${e.Id}`, Name: `${e.Name} (${e.SpaceName})` })) ?? [] }), [environments]);\n const onAdd = (parameter: ActionTemplateParameterResource) => onChange([...parameters, parameter]);\n if (parameters.length === 0) {\n return ;\n }\n if (!platformHubAccounts || !environments) {\n return null;\n }\n return ;\n}\nexport type ParameterValueRow = {\n Parameter: ProcessTemplateParameterResource;\n Value: ProcessTemplateParameterValueResource | null;\n ParameterIndex: number;\n ValueIndex: number;\n};\ninterface ProcessTemplateParametersTableProps extends ProcessTemplateParametersTabProps {\n availableScopeValues: ScopeValues;\n platformHubAccounts: PlatformHubAccountResource[];\n}\nfunction ProcessTemplateParametersTable({ parameters, onChange, availableScopeValues, platformHubAccounts }: ProcessTemplateParametersTableProps) {\n const [parameterToEdit, setParameterToEdit] = React.useState(null);\n const [parameterToEditIndex, setParameterToEditIndex] = React.useState(null);\n const [focusedValueKey, setFocusedValueKey] = useState(null);\n const [isEditingScope, setIsEditingScope] = useState(false);\n const { scopeHeaderRef, scopeWidth } = useScopeWidth();\n const setEditingParameter = (parameter: ProcessTemplateParameterResource | null) => {\n setParameterToEdit(parameter);\n setParameterToEditIndex(parameter ? parameters.indexOf(parameter) : null);\n };\n const onParameterChange = (newParameter: ProcessTemplateParameterResource, parameterIndex: number) => {\n onChange(parameters.map((p, i) => (i === parameterIndex ? newParameter : p)));\n };\n const deleteParameter = (parameterIndex: number) => {\n onChange(parameters.filter((_, i) => i !== parameterIndex));\n };\n const deleteValue = (parameterIndex: number, valueIndex: number) => {\n onChange(parameters.map((p, i) => {\n if (i === parameterIndex) {\n return {\n ...p,\n Values: p.Values.filter((_, j) => j !== valueIndex),\n };\n }\n return p;\n }));\n };\n const parameterValues: ParameterValueRow[] = parameters.flatMap((p, parameterIndex): ParameterValueRow[] => {\n return p.Values.map((v, valueIndex) => ({ Parameter: p, Value: v, ParameterIndex: parameterIndex, ValueIndex: valueIndex })).concat([\n { Parameter: p, Value: null, ParameterIndex: parameterIndex, ValueIndex: p.Values.length },\n ]);\n });\n return (
    \n setEditingParameter(null)}>\n {parameterToEdit ? onChange(parameters.map((p, i) => (i === parameterToEditIndex ? parameter : p)))}/> : null}\n \n (data.ValueIndex === 0 ? : null),\n width: \"25%\",\n isChild: (data) => data.ValueIndex !== 0,\n padding: space[12],\n },\n {\n title: \"Value\",\n render: (data) => ( onParameterChange(parameter, data.ParameterIndex)} valueIndex={data.ValueIndex} focusedValueKey={focusedValueKey} setFocusedValueKey={setFocusedValueKey} platformHubAccounts={platformHubAccounts}/>),\n width: \"35%\",\n padding: \"0\",\n },\n {\n title: \"Scope\",\n render: (data) => data.Value ? (
    \n
    \n onParameterChange(parameter, data.ParameterIndex)} index={data.ValueIndex} focusedValueKey={focusedValueKey} setFocusedValueKey={setFocusedValueKey} isEditing={isEditingScope} setIsEditing={setIsEditingScope} scopeValues={availableScopeValues} height={64} width={scopeWidth} isConsumer={false}/>\n
    \n deleteValue(data.ParameterIndex, data.ValueIndex), {\n permission: Permission.PlatformHubEdit,\n }),\n ]}/>\n
    ) : null,\n width: \"40%\",\n padding: \"0\",\n ref: scopeHeaderRef,\n },\n ]} getRowKey={(data) => `${data.ParameterIndex}-${data.ValueIndex}`}/>\n
    );\n}\ninterface ProcessTemplateParameterNameCellProps {\n data: ParameterValueRow;\n onOpenEditParameterDialog: (parameter: ProcessTemplateParameterResource) => void;\n onDeleteParameter: (parameterIndex: number) => void;\n}\nfunction ProcessTemplateParameterNameCell({ data, onOpenEditParameterDialog, onDeleteParameter }: ProcessTemplateParameterNameCellProps) {\n return (
    \n \n onOpenEditParameterDialog(data.Parameter), { permission: Permission.PlatformHubEdit }),\n OverflowMenuItems.item(\"Delete parameter\", () => onDeleteParameter(data.ParameterIndex), { permission: Permission.PlatformHubEdit }),\n ]}/>\n
    );\n}\ninterface ProcessTemplateParameterValueCellProps {\n parameter: ProcessTemplateParameterResource;\n value: ProcessTemplateParameterValueResource | null;\n onChange: (parameter: ProcessTemplateParameterResource) => void;\n platformHubAccounts: PlatformHubAccountResource[];\n focusedValueKey: ProcessTemplateValueKey | null;\n setFocusedValueKey: (key: ProcessTemplateValueKey | null) => void;\n valueIndex: number;\n}\nfunction ProcessTemplateParameterValueCell({ parameter, value, onChange, platformHubAccounts, focusedValueKey, setFocusedValueKey, valueIndex }: ProcessTemplateParameterValueCellProps) {\n const { doBusyTask } = useLegacyDoBusyTask();\n const onValueChange = (newParameter: ProcessTemplateParameterResource) => {\n onChange(newParameter);\n };\n const addValue = () => {\n onChange({ ...parameter, Values: [...parameter.Values, { Value: \"\", Scope: {} }] });\n };\n const valueKey = createProcessTemplateValueKey(parameter.Name, valueIndex, \"Value\");\n const onFocus = () => setFocusedValueKey(valueKey);\n const onBlur = () => setFocusedValueKey(null);\n const focused = focusedValueKey === valueKey;\n if (!value) {\n const controlType = parameter.DisplaySettings[\"Octopus.ControlType\"] ?? ControlType.SingleLineText;\n if (controlType === ControlType.Package || controlType === ControlType.Certificate || controlType === ControlType.Sensitive || controlType === ControlType.WorkerPool || controlType === ControlType.StepName) {\n return
    Values for this parameter type must be supplied by a project.
    ;\n }\n return (
    \n
    );\n }\n return (
    \n \n {focused ? (
    \n onValueChange({ ...parameter, Values: parameter.Values.map((v, i) => (i === valueIndex ? { ...v, Value: value ?? \"\" } : v)) })} type={parameter.DisplaySettings[\"Octopus.ControlType\"] ?? ControlType.SingleLineText} autoFocus={true}/>\n
    ) : value.Value ? ( ({ ...acc, [a.Id]: a.Name }), {})} certificates={{}} workerPools={{}} hasEditPermissions={hasPermission(Permission.PlatformHubEdit)} sourceItems={undefined}/>) : ()}\n
    \n
    );\n}\ninterface ProcessTemplateParameterValueInputProps {\n type: ControlType;\n value: string;\n parameter: ProcessTemplateParameterResource;\n localNames: string[];\n doBusyTask: DoBusyTask;\n accounts: PlatformHubAccountResource[];\n onChange: (value: string | undefined) => void;\n autoFocus?: boolean;\n}\nfunction ProcessTemplateParameterValueInput({ doBusyTask, localNames, accounts, type, value, parameter, onChange, autoFocus }: ProcessTemplateParameterValueInputProps) {\n switch (type) {\n case ControlType.SingleLineText:\n return ;\n case ControlType.MultiLineText:\n return ;\n case ControlType.Select:\n const options = selectOptionsToItems(parameter.DisplaySettings[\"Octopus.SelectOptions\"]);\n return ;\n case ControlType.Checkbox:\n return ;\n case ControlType.AmazonWebServicesAccount:\n return ;\n case ControlType.AzureAccount:\n return ;\n case ControlType.GoogleCloudAccount:\n return ;\n case ControlType.UsernamePasswordAccount:\n return ;\n case ControlType.Sensitive:\n throw new Error(\"Sensitive values are not supported in process templates\");\n case ControlType.Certificate:\n throw new Error(\"Certificate values are currently not supported in process templates\");\n case ControlType.WorkerPool:\n throw new Error(\"Worker pool values are currently not supported in process templates\");\n case ControlType.Package:\n throw new Error(\"Package values are currently not supported in process templates\");\n case ControlType.StepName:\n throw new Error(\"Step name values are currently not supported in process templates\");\n default:\n return (\n \n );\n }\n}\ninterface PlatformHubAccountSelectProps {\n onChange: (value: string | undefined) => void;\n value: string | undefined;\n accounts: PlatformHubAccountResource[];\n type: AccountType[];\n}\nfunction PlatformHubAccountSelect({ onChange, value, accounts, type }: PlatformHubAccountSelectProps) {\n const accountItems = accounts.filter((a) => type.includes(a.AccountType)).map((a) => ({ value: a.Id, text: a.Name }));\n return (
    \n UpdateExceptions(constraint)}/>\n );\n}\nconst spaceImageStyles = css({\n borderRadius: borderRadius.small,\n width: \"1.75rem\",\n overflow: \"clip\",\n justifyContent: \"center\",\n display: \"flex\",\n alignItems: \"center\",\n backgroundColor: colorScales.white,\n boxShadow: themeTokens.shadow.extraSmall,\n marginRight: space[8],\n});\nconst tableContainerStyles = css({\n backgroundColor: themeTokens.color.background.secondary.default,\n paddingLeft: space[24],\n paddingRight: space[24],\n marginTop: space[32],\n maxHeight: \"430px\",\n overflowY: \"auto\",\n});\nconst spaceNameCellStyles = css({\n display: \"flex\",\n flexDirection: \"row\",\n alignItems: \"center\",\n fontSize: \"1rem\",\n fontWeight: \"bold\",\n});\nconst usageConstraintCellStyles = css({\n width: \"12.5rem\",\n});\nconst usageConstraintTableRowStyles = css({\n display: \"flex !important\",\n flexWrap: \"wrap\",\n alignItems: \"center\",\n justifyContent: \"space-between\",\n});\n","import type { ProjectResource, SpaceResource } from \"@octopusdeploy/octopus-server-client\";\nimport * as React from \"react\";\nimport { ChipIcon } from \"~/components/Chips\";\nimport { MissingChip, SpaceChip } from \"~/components/Chips/index\";\nimport { MultiSelect } from \"~/components/MultiSelect/MultiSelect\";\nimport type { SelectItem } from \"~/components/VirtualListWithKeyboard/SelectItem\";\nimport type { FormFieldProps } from \"~/components/form\";\nimport Lookup from \"../Lookup\";\ninterface SpaceMultiSelectProps extends FormFieldProps {\n items: SpaceResource[];\n autoFocus?: boolean;\n label?: string | JSX.Element;\n placeholder?: string;\n error?: string;\n}\nconst SpaceTypedMultiSelect = MultiSelect();\nexport const SpaceMultiSelect: React.FC = (props) => {\n const chipRenderer = (r: ProjectResource | SelectItem, onRequestDelete: () => void) => {\n return ( element.Id} render={(item) => } renderFallback={}/>);\n };\n return ;\n};\nSpaceMultiSelect.displayName = \"SpaceMultiSelect\"\n","import { css } from \"@emotion/css\";\nimport { RadioButton, RadioButtonGroup, Tooltip } from \"@octopusdeploy/design-system-components\";\nimport { InfoCircleIcon } from \"@octopusdeploy/design-system-icons\";\nimport { colorScales, space } from \"@octopusdeploy/design-system-tokens\";\nimport type { SpaceResource } from \"@octopusdeploy/octopus-server-client\";\nimport * as React from \"react\";\nimport { useState } from \"react\";\nimport { UsageConstraintsTable } from \"~/areas/blueprints/UsageConstraintTable\";\nimport type { BusyState } from \"~/components/BusyFromPromise/BusyFromPromise\";\nimport SaveDialogLayout from \"~/components/DialogLayout/SaveDialogLayout\";\nimport { SpaceMultiSelect } from \"~/components/MultiSelect/SpaceMultiSelect\";\ninterface ShareTemplateDialogProps {\n spaces: SpaceResource[];\n sharedSpaces: SharedSpaces;\n busy: BusyState;\n onSave: (sharedSpaces: SharedSpaces) => Promise;\n errors: Error[];\n}\nexport interface SharedSpaces {\n shareToAll: boolean;\n individualSpacesSharedTo: string[];\n constraintExceptionSpaceIds: string[];\n}\nexport enum ShareTemplateSpacesType {\n ShareAll = \"Share All\",\n ShareIndividual = \"Share Individual\",\n NotShared = \"Not Shared\"\n}\nexport function ShareTemplateDialog({ spaces, sharedSpaces, busy, onSave, errors }: ShareTemplateDialogProps) {\n const [selectedSpaces, setSelectedSpaces] = useState(sharedSpaces.individualSpacesSharedTo);\n const [shareType, setShareType] = useState(getShareType(sharedSpaces));\n const [constraintExceptionSpaceIds, setConstraintExceptionSpaceIds] = useState(sharedSpaces.constraintExceptionSpaceIds);\n const [canSave, setCanSave] = useState(false);\n function setCanSaveIfValid(type: ShareTemplateSpacesType, newSpaces: string[]) {\n if (type === ShareTemplateSpacesType.ShareIndividual) {\n setCanSave(sharedSpaces.individualSpacesSharedTo !== newSpaces);\n }\n else {\n setCanSave(true);\n }\n }\n const displayUsageConstraintsTable = shareType === ShareTemplateSpacesType.ShareIndividual ? selectedSpaces.length > 0 : shareType === ShareTemplateSpacesType.ShareAll;\n return (
    \n {\n const shareToAll = shareType === ShareTemplateSpacesType.ShareAll;\n const notShared = shareType === ShareTemplateSpacesType.NotShared;\n await onSave({ shareToAll, individualSpacesSharedTo: shareToAll || notShared ? [] : selectedSpaces, constraintExceptionSpaceIds });\n return true;\n }} saveButtonLabel={\"Save\"} saveButtonDisabled={shareType === ShareTemplateSpacesType.NotShared || !canSave}>\n {\n setShareType(type);\n setCanSaveIfValid(type, selectedSpaces);\n }}>\n
    \n \n
    \n \n \n \n
    \n
    \n \n
    \n {shareType === ShareTemplateSpacesType.ShareIndividual && (
    \n {\n setSelectedSpaces(spaces);\n setCanSaveIfValid(shareType, spaces);\n }} value={selectedSpaces}/>\n
    )}\n {displayUsageConstraintsTable && ( setConstraintExceptionSpaceIds(spaces)}/>)}\n
    \n
    );\n}\nfunction getShareType(sharedSpaces: SharedSpaces): ShareTemplateSpacesType {\n if (sharedSpaces.shareToAll) {\n return ShareTemplateSpacesType.ShareAll;\n }\n if (sharedSpaces.individualSpacesSharedTo.length > 0) {\n return ShareTemplateSpacesType.ShareIndividual;\n }\n return ShareTemplateSpacesType.NotShared;\n}\nconst dialogStyles = css({\n padding: space[24],\n});\nconst tooltipContainerStyles = css({\n display: \"flex\",\n flexDirection: \"row\",\n flexWrap: \"wrap\",\n alignItems: \"flex-end\",\n marginLeft: \"0 !important\",\n});\nconst tooltipStyles = css({\n marginLeft: \"5px\",\n});\nconst selectSpacesContainerStyles = css({\n margin: space[32],\n});\n","import { Callout } from \"@octopusdeploy/design-system-components\";\nimport * as React from \"react\";\nimport DeleteDialogLayout from \"~/components/Dialog/DeleteDialogLayout\";\ninterface StopShareTemplateDialogProps {\n onSave: (sharedSpaces: SharedSpaces) => Promise;\n onClose: () => void;\n}\nexport interface SharedSpaces {\n shareToAll: boolean;\n individualSpacesSharedTo: string[];\n constraintExceptionSpaceIds: string[];\n}\nexport function StopShareTemplateDialog({ onSave, onClose }: StopShareTemplateDialogProps) {\n return ( {\n await onSave({ shareToAll: false, individualSpacesSharedTo: [], constraintExceptionSpaceIds: [] });\n return true;\n }} deleteButtonLabel={\"Stop sharing\"} deleteButtonBusyLabel={\"Updating...\"} onClose={onClose} renderContent={() => (\n Existing releases can still be run using this template, but it can't be included in new releases or deployment processes.\n )}/>);\n}\n","import type { AccountResource } from \"@octopusdeploy/octopus-server-client\";\nimport React from \"react\";\nimport useRequiredContext from \"~/hooks/useRequiredContext\";\ntype ProcessAccountsContextValue = AccountResource[];\ntype ProcessAccountsRefreshContextValue = () => Promise;\nconst ProcessAccountsContext = React.createContext([]);\nconst RefreshProcessAccountsContext = React.createContext(undefined);\nexport function useAccountsFromContext(): ProcessAccountsContextValue {\n return useRequiredContext(ProcessAccountsContext, \"ProcessAccountsContext\");\n}\nexport function useRefreshAccountsFromContext(): ProcessAccountsRefreshContextValue {\n return useRequiredContext(RefreshProcessAccountsContext, \"RefreshProcessAccountsContext\");\n}\ntype ProcessAccountsContextProviderProps = {\n accounts: AccountResource[];\n refreshAccounts: () => Promise;\n};\nexport function ProcessAccountsContextProvider(props: React.PropsWithChildren) {\n return (\n {props.children}\n );\n}\n","import { Callout } from \"@octopusdeploy/design-system-components\";\nimport { isDeploymentProcessResource, isRunbookProcessResource } from \"@octopusdeploy/octopus-server-client\";\nimport React from \"react\";\nimport { isDeploymentOrRunbookProcessIdentifier } from \"~/areas/projects/components/Process/types\";\nimport type { Errors } from \"~/components/DataBaseComponent\";\nimport FileUploadDropzone from \"~/primitiveComponents/form/FileUploadDragDrop/FileUploadDragDrop\";\nimport type { ProcessContextProps } from \"../ProcessContext\";\nimport styles from \"./style.module.less\";\nexport const DevToolbarProcessUpload: React.FC<{\n processContext: ProcessContextProps;\n}> = (props) => {\n const [file, setFile] = React.useState(null);\n const [error, setError] = React.useState();\n const [success, setSuccess] = React.useState(null);\n const tryParseJson = (rawJson: string) => {\n try {\n const process = JSON.parse(rawJson);\n return process;\n }\n catch (err) {\n return new Error(\"Unable to parse json: \" + err);\n }\n };\n const saveProcess = async (rawJson: string) => {\n const process = tryParseJson(rawJson);\n if (process instanceof Error) {\n setError({\n message: process.message,\n errors: [process.message],\n fieldErrors: {},\n });\n return;\n }\n const model = props.processContext.state.cleanModel;\n if (model instanceof Error) {\n setError({\n message: model.message,\n errors: [model.message],\n fieldErrors: {},\n });\n return;\n }\n const existingProcess = props.processContext.selectors.getProcessResource();\n const existingProcessIdentifier = props.processContext.state.processIdentifier;\n process.Id = existingProcessIdentifier.id;\n if (isDeploymentOrRunbookProcessIdentifier(existingProcessIdentifier)) {\n process.SpaceId = existingProcessIdentifier.spaceId;\n process.ProjectId = existingProcessIdentifier.projectId;\n }\n if (isDeploymentProcessResource(existingProcess) || isRunbookProcessResource(existingProcess)) {\n process.Version = existingProcess.Version;\n process.Links[\"Self\"] = existingProcess.Links[\"Self\"];\n }\n await props.processContext.actions.saveOnServer(process, (errors) => {\n setError(errors);\n }, () => {\n setSuccess(true);\n setFile(null);\n const fiveSeconds = 5 * 1000;\n setTimeout(() => {\n setSuccess(null);\n }, fiveSeconds);\n });\n };\n return (
    \n {\n setError(undefined);\n setFile(file[0]);\n if (file && file.length > 0) {\n loadFile(file[0], saveProcess);\n }\n }} showAlerts={false} showFileChips={false}/>\n \n
    );\n};\nDevToolbarProcessUpload.displayName = \"DevToolbarProcessUpload\"\nconst loadFile = (file: File, saveProcess: (rawJson: string) => Promise) => {\n const reader = new FileReader();\n const DONE = 2;\n reader.onload = async (event) => {\n if (event && event.target && event.target.readyState === DONE) {\n if (typeof event.target.result === \"string\") {\n await saveProcess(event.target.result);\n }\n else {\n throw new Error(`Unexpected type returned when reading file. Expected 'string' but got '${typeof event.target.result}'.`);\n }\n }\n };\n reader.readAsText(file);\n};\nconst DeploymentProcessUploadCallout: React.FC<{\n success: boolean | null;\n errors: Errors | undefined;\n}> = (props) => {\n if (props.success) {\n return ;\n }\n if (props.errors) {\n return ;\n }\n return ;\n};\nDeploymentProcessUploadCallout.displayName = \"DeploymentProcessUploadCallout\"\nconst DeploymentProcessUploadSuccessCallout: React.FC<{}> = (props) => {\n return (\n Process uploaded\n );\n};\nDeploymentProcessUploadSuccessCallout.displayName = \"DeploymentProcessUploadSuccessCallout\"\nconst DeploymentProcessUploadErrorCallout: React.FC<{\n errors: Errors;\n}> = (props) => {\n return (\n Upload failed: {props.errors.message}\n );\n};\nDeploymentProcessUploadErrorCallout.displayName = \"DeploymentProcessUploadErrorCallout\"\nconst DeploymentProcessUploadInfoCallout: React.FC<{}> = (props) => {\n return (\n This feature is designed for support. Importing a deployment process may cause errors that will break things. Use with caution.\n );\n};\nDeploymentProcessUploadInfoCallout.displayName = \"DeploymentProcessUploadInfoCallout\"\nexport default DevToolbarProcessUpload;\n","import type { ActionTemplateSearchResource } from \"@octopusdeploy/octopus-server-client\";\nimport React from \"react\";\nimport useRequiredContext from \"~/hooks/useRequiredContext\";\ntype ProcessActionTemplatesContextValue = ActionTemplateSearchResource[] | \"NotLoaded\";\ntype ProcessActionTemplatesRefreshContextValue = () => Promise;\nconst ProcessActionTemplatesContext = React.createContext(\"NotLoaded\");\nconst RefreshProcessActionTemplatesContext = React.createContext(undefined);\nexport function useActionTemplatesFromContext() {\n const maybeLoadedActionTemplates = useMaybeLoadedActionTemplatesFromContext();\n return maybeLoadedActionTemplates === \"NotLoaded\" ? [] : maybeLoadedActionTemplates;\n}\nexport function useMaybeLoadedActionTemplatesFromContext() {\n return useRequiredContext(ProcessActionTemplatesContext, \"ProcessActionTemplatesContext\");\n}\nexport function useRefreshActionTemplatesFromContext() {\n return useRequiredContext(RefreshProcessActionTemplatesContext, \"RefreshProcessActionTemplatesContext\");\n}\nexport function useActionTemplateFromContext(id: string) {\n const actionTemplates = useActionTemplatesFromContext();\n return React.useMemo(() => {\n return actionTemplates.find((f) => f.Id === id);\n }, [actionTemplates, id]);\n}\ntype ProcessActionTemplatesContextProviderProps = {\n templates: ActionTemplateSearchResource[] | \"NotLoaded\";\n refreshActionTemplates: () => Promise;\n};\nexport function ProcessActionTemplatesContextProvider(props: React.PropsWithChildren) {\n return (\n {props.children}\n );\n}\n","import React, { useReducer } from \"react\";\nimport type { ActionType } from \"typesafe-actions\";\nimport { createAction, getType } from \"typesafe-actions\";\nimport type { Errors } from \"~/components/DataBaseComponent\";\nimport { useRequiredContext } from \"~/hooks\";\nimport { useBoundDispatch } from \"~/utils/Reducers\";\nimport type { StoredErrors, ProcessError, ActionError, StepError, ErrorValuePair, ProcessTemplateActionError } from \"../../types\";\nimport type { ProcessStateSelectors } from \"../ProcessContextState\";\nexport const actions = {\n setErrors: createAction(\"SET:ERRORS\", (errors: Errors, selectors: ProcessStateSelectors) => ({\n errors: parseAllErrors(errors, selectors),\n message: parseMessage(errors),\n }))(),\n clearErrors: createAction(\"CLEAR:ERRORS\", () => ({\n errors: [],\n message: \"\",\n }))(),\n};\ntype ActionCreators = typeof actions;\ntype ErrorActions = ActionType;\nconst getStepRegex = () => /Steps\\[(\\d+)\\]\\.(.*)/;\nconst getActionRegex = () => /Steps\\[(\\d+)\\]\\.Actions\\[(\\d+)\\].([a-zA-Z0-9[\\].]*)/;\nconst getProcessTemplateActionRegex = () => /ProcessTemplates\\[([^\\]]+)\\]\\.Steps\\[(\\d+)\\]\\.Actions\\[(\\d+)\\].([a-zA-Z0-9[\\].]*)/;\nexport const INITIAL_ERRORS_STATE: StoredErrors = {\n steps: {},\n actions: {},\n processTemplateActions: {},\n global: {},\n globalMessage: \"\",\n};\nconst parseActionErrorDetails = (error: ErrorValuePair, selectors: ProcessStateSelectors): ActionError | undefined => {\n const actionRegex = getActionRegex();\n const actionResult = actionRegex.exec(error.key);\n if (!actionResult || actionResult.length !== 4) {\n return;\n }\n //The key is unique for a given action i.e. Step[1].Action[2].Name which means we will have a `Name` entry against the action, keyed by the actual action ID.\n //This results in something like { actions: { actionId: { Name: error }}}\n const key = actionResult[3].toLocaleLowerCase();\n const stepIndex = Number(actionResult[1]);\n const actionIndex = Number(actionResult[2]);\n const step = selectors.getStepByIndex(stepIndex);\n const actionId = step.ActionIds[actionIndex];\n return {\n key,\n stepId: step.Id,\n actionId,\n value: error.value,\n };\n};\nconst parseStepErrorDetail = (error: ErrorValuePair, selectors: ProcessStateSelectors): StepError | undefined => {\n const stepRegex = getStepRegex();\n const stepResult = stepRegex.exec(error.key);\n if (!stepResult || stepResult.length !== 3) {\n return;\n }\n //The key is unique per step i.e. Step[1].Name which means we will have a `Name` entry against the step, keyed by the actual step ID.\n //This results in something like { steps: { stepId: { Name: error }}}\n const key = stepResult[2].toLocaleLowerCase();\n const stepIndex = Number(stepResult[1]);\n const step = selectors.getStepByIndex(stepIndex);\n return {\n key,\n stepId: step.Id,\n value: error.value,\n };\n};\nconst parseProcessTemplateActionErrorDetail = (error: ErrorValuePair): ProcessTemplateActionError | undefined => {\n const processTemplateActionRegex = getProcessTemplateActionRegex();\n const processTemplateActionResult = processTemplateActionRegex.exec(error.key);\n if (!processTemplateActionResult || processTemplateActionResult.length !== 5) {\n return;\n }\n //The key is unique for a given action i.e. ProcessTemplates[MyTemplate].Step[1].Action[2].Name which means we will have a `Name` entry against the action, keyed by the actual action ID.\n //This results in something like { processTemplateActions: { processTemplateStepName: { stepIndex: { actionIndex: { Name: error }}}}}\n const key = processTemplateActionResult[4].toLocaleLowerCase();\n const processTemplateStepName = processTemplateActionResult[1];\n const stepIndex = Number(processTemplateActionResult[2]);\n const actionIndex = Number(processTemplateActionResult[3]);\n return {\n key,\n processTemplateStepName,\n stepIndex,\n actionIndex,\n value: error.value,\n };\n};\nfunction isProcessTemplateActionError(error: ProcessError): error is ProcessTemplateActionError {\n // eslint-disable-next-line @typescript-eslint/consistent-type-assertions\n const casted = error as ProcessTemplateActionError;\n return Object.prototype.hasOwnProperty.call(casted, \"processTemplateStepName\") && !!casted.processTemplateStepName;\n}\nfunction isActionError(error: ProcessError): error is ActionError {\n // eslint-disable-next-line @typescript-eslint/consistent-type-assertions\n const casted = error as ActionError;\n return Object.prototype.hasOwnProperty.call(casted, \"actionId\") && !!casted.actionId;\n}\nfunction isStepError(error: ProcessError): error is StepError {\n // eslint-disable-next-line @typescript-eslint/consistent-type-assertions\n const casted = error as StepError;\n return Object.prototype.hasOwnProperty.call(casted, \"stepId\") && !!casted.stepId && !isActionError(error);\n}\nconst parseErrorDetails = (error: ErrorValuePair, selectors: ProcessStateSelectors): ProcessError => {\n // This parser starts with the most specific error details (step.actions), falls through to steps, then global errors.\n const processTemplateActionErrorDetails = parseProcessTemplateActionErrorDetail(error);\n if (processTemplateActionErrorDetails) {\n return processTemplateActionErrorDetails;\n }\n const actionErrorDetails = parseActionErrorDetails(error, selectors);\n if (actionErrorDetails) {\n return actionErrorDetails;\n }\n const stepErrorDetails = parseStepErrorDetail(error, selectors);\n if (stepErrorDetails) {\n return stepErrorDetails;\n }\n return error;\n};\nconst parseAllErrors = (errors: Errors, selectors: ProcessStateSelectors) => {\n const errorDetails = errors.details && Object.keys(errors.details).length > 0 ? errors.details : errors.errors;\n return Object.entries(errorDetails).map(([key, value]) => parseErrorDetails({ key, value }, selectors));\n};\nconst parseMessage = (errors: Errors) => {\n const message = errors.message;\n return message;\n};\nconst reduceErrors = (errors: ProcessError[], message: string) => {\n return errors.reduce((prev, current) => {\n if (isProcessTemplateActionError(current)) {\n return {\n ...prev,\n processTemplateActions: {\n ...prev.processTemplateActions,\n [current.processTemplateStepName]: {\n ...prev.processTemplateActions[current.processTemplateStepName],\n [current.stepIndex]: {\n ...prev.processTemplateActions[current.processTemplateStepName]?.[current.stepIndex],\n [current.actionIndex]: {\n ...prev.processTemplateActions[current.processTemplateStepName]?.[current.stepIndex]?.[current.actionIndex],\n [current.key]: current.value,\n },\n },\n },\n },\n globalMessage: message,\n };\n }\n else if (isActionError(current)) {\n return {\n ...prev,\n actions: {\n ...prev.actions,\n [current.actionId]: {\n ...prev.actions[current.actionId],\n [current.key]: current.value,\n },\n },\n globalMessage: message,\n };\n }\n else if (isStepError(current)) {\n return {\n ...prev,\n steps: {\n ...prev.steps,\n [current.stepId]: {\n ...prev.steps[current.stepId],\n [current.key]: current.value,\n },\n },\n globalMessage: message,\n };\n }\n else {\n return {\n ...prev,\n global: {\n ...prev.global,\n [current.key]: current.value,\n },\n globalMessage: message,\n };\n }\n }, INITIAL_ERRORS_STATE);\n};\nexport const processErrorsReducer: React.Reducer = (state, action) => {\n switch (action.type) {\n case getType(actions.setErrors): {\n if (action.payload.errors.length === 0) {\n return state;\n }\n return {\n ...state,\n ...reduceErrors(action.payload.errors, action.payload.message),\n };\n }\n case getType(actions.clearErrors): {\n return INITIAL_ERRORS_STATE;\n }\n }\n return state;\n};\nconst getActionErrorLookup = (state: StoredErrors) => {\n return (actionId: string, processSelectors: ProcessStateSelectors) => {\n const actionErrors = state.actions[actionId];\n const action = processSelectors.getActionById(actionId);\n const step = processSelectors.getStepById(action.ParentId);\n const hasSingleChild = step.ActionIds.length === 1;\n return {\n ...(hasSingleChild ? state.steps[step.Id] ?? {} : {}),\n ...(actionErrors ?? {}),\n };\n };\n};\nconst getProcessTemplateActionErrors = (state: StoredErrors) => {\n return (processTemplateStepName: string, stepIndex: number, actionIndex: number): string[] => {\n return Object.values(state.processTemplateActions[processTemplateStepName]?.[stepIndex]?.[actionIndex] ?? {});\n };\n};\nconst getActionErrors = (state: StoredErrors) => {\n return (actionId: string, processSelectors: ProcessStateSelectors): string[] => {\n return Object.values(getActionErrorLookup(state)(actionId, processSelectors));\n };\n};\nconst getStepErrors = (state: StoredErrors) => {\n return (stepId: string): string[] => {\n return Object.values(state.steps[stepId] ?? {});\n };\n};\nconst getStepFieldErrors = (state: StoredErrors) => {\n return (stepId: string) => {\n return { ...state.steps[stepId] };\n };\n};\nconst getGlobalErrors = (state: StoredErrors) => {\n return (): string[] => {\n return Object.values(state.global);\n };\n};\nconst getGlobalErrorMessage = (state: StoredErrors) => {\n return (): string => {\n return state.globalMessage;\n };\n};\nconst getActionFieldError = (state: StoredErrors) => {\n return (actionId: string, processSelectors: ProcessStateSelectors, field: string) => {\n const errors = getActionErrorLookup(state)(actionId, processSelectors);\n return errors[field.toLowerCase()];\n };\n};\nconst getActionFieldErrors = (state: StoredErrors) => {\n return (actionId: string, processSelectors: ProcessStateSelectors) => {\n const errors = getActionErrorLookup(state)(actionId, processSelectors);\n return { ...errors };\n };\n};\nconst getStepFieldError = (state: StoredErrors) => {\n return (stepId: string, field: string) => {\n const errors = state.steps[stepId] ?? {};\n return errors[field.toLowerCase()];\n };\n};\nconst getStepsWithErrors = (state: StoredErrors) => {\n return (): string[] => {\n return Object.keys(state.steps);\n };\n};\nconst getActionsWithErrors = (state: StoredErrors) => {\n return (): string[] => {\n return Object.keys(state.actions);\n };\n};\nexport interface ProcessErrorSelectors {\n getProcessTemplateActionErrors: ReturnType;\n getActionErrors: ReturnType;\n getStepErrors: ReturnType;\n getGlobalErrors: ReturnType;\n getGlobalErrorMessage: ReturnType;\n getActionFieldError: ReturnType;\n getStepFieldError: ReturnType;\n getActionFieldErrors: ReturnType;\n getStepFieldErrors: ReturnType;\n getStepsWithErrors: ReturnType;\n getActionsWithErrors: ReturnType;\n}\nexport const getSelectors = (state: StoredErrors): ProcessErrorSelectors => {\n return {\n getProcessTemplateActionErrors: getProcessTemplateActionErrors(state),\n getActionErrors: getActionErrors(state),\n getStepErrors: getStepErrors(state),\n getGlobalErrors: getGlobalErrors(state),\n getGlobalErrorMessage: getGlobalErrorMessage(state),\n getActionFieldError: getActionFieldError(state),\n getStepFieldError: getStepFieldError(state),\n getActionFieldErrors: getActionFieldErrors(state),\n getStepFieldErrors: getStepFieldErrors(state),\n getStepsWithErrors: getStepsWithErrors(state),\n getActionsWithErrors: getActionsWithErrors(state),\n };\n};\nconst useBoundProcessActions = (dispatch: React.Dispatch) => {\n return useBoundDispatch(dispatch, actions);\n};\nexport type BoundErrorActionsType = ReturnType;\ninterface ProcessErrorStateContextProps {\n selectors: ProcessErrorSelectors;\n}\ninterface ProcessErrorActionContextProps {\n actions: BoundErrorActionsType;\n}\nconst ProcessErrorSelectorContext = React.createContext(undefined);\nconst ProcessErrorActionContext = React.createContext(undefined);\nexport const useProcessErrorSelectors = () => {\n const selectorsContext = useRequiredContext(ProcessErrorSelectorContext, \"Process Errors State\");\n return selectorsContext.selectors;\n};\nexport const useProcessErrorActions = () => {\n const actionsContext = useRequiredContext(ProcessErrorActionContext, \"Process Error Actions\");\n return actionsContext.actions;\n};\nconst useProcessErrorReducer = () => {\n return useReducer(processErrorsReducer, INITIAL_ERRORS_STATE);\n};\nexport interface ProcessErrorSelectorsProps {\n children: (selectors: ProcessErrorSelectors) => React.ReactElement | null;\n}\nexport const ProcessErrorSelectors: React.FC = ({ children }) => {\n const selectors = useProcessErrorSelectors();\n return children(selectors);\n};\nProcessErrorSelectors.displayName = \"ProcessErrorSelectors\"\nexport interface ProcessErrorActionsProps {\n children: (actions: BoundErrorActionsType) => React.ReactElement | null;\n}\nexport const ProcessErrorActions: React.FC = ({ children }) => {\n const errorActions = useProcessErrorActions();\n return children(errorActions);\n};\nProcessErrorActions.displayName = \"ProcessErrorActions\"\nexport const ProcessErrorsController: React.FC = React.memo((props) => {\n const [state, dispatch] = useProcessErrorReducer();\n const boundActions = useBoundDispatch(dispatch, actions);\n const selectors = React.useMemo(() => getSelectors(state), [state]);\n return (\n {props.children}\n );\n});\nProcessErrorsController.displayName = \"ProcessErrorsController\"\nexport interface WithProcessErrorActionsContextInjectedProps {\n processErrorActions: BoundErrorActionsType;\n}\nexport function withProcessErrorActionsContext(Component: React.ComponentType) {\n const WithProcessErrorActionsContext: React.FC = (props) => {\n const context = useProcessErrorActions();\n return ;\n };\n WithProcessErrorActionsContext.displayName = \"WithProcessErrorActionsContext\"\n return WithProcessErrorActionsContext;\n}\nexport interface WithProcessErrorSelectorContextInjectedProps {\n processErrorSelectors: ProcessErrorSelectors;\n}\nexport function withProcessErrorSelectorsContext(Component: React.ComponentType) {\n const WithProcessErrorSelectorsContext: React.FC = (props) => {\n const context = useProcessErrorSelectors();\n return ;\n };\n WithProcessErrorSelectorsContext.displayName = \"WithProcessErrorSelectorsContext\"\n return WithProcessErrorSelectorsContext;\n}\n","import React from \"react\";\nimport type { StoredStep, StoredAction } from \"../../types\";\nimport type { ProcessStateSelectors } from \"../ProcessContextState\";\nexport interface ProcessEditorSearchFilterNamedResource {\n Id?: string;\n Name?: string;\n}\nexport interface ProcessEditorSearchFilter {\n filterKeyword: string;\n environment?: ProcessEditorSearchFilterNamedResource | null;\n channel?: ProcessEditorSearchFilterNamedResource | null;\n includeUnscoped?: boolean;\n}\nexport const isSearchFilterNotEmpty = (value: TValue | null | undefined): value is TValue => {\n return value !== null && value !== undefined;\n};\nexport type ProcessEditorSearchFilteredStep = {\n step: StoredStep;\n index: number;\n filtered: boolean;\n};\nexport type ProcessEditorSearchFilterResult = {\n filterCount: number;\n steps: ProcessEditorSearchFilteredStep[];\n};\nexport const searchFilterEmptyResult: ProcessEditorSearchFilterResult = { filterCount: 0, steps: [] };\nexport function getEmptySearchFilter(): ProcessEditorSearchFilter {\n return {\n filterKeyword: \"\",\n environment: null,\n channel: null,\n includeUnscoped: true,\n };\n}\nexport const useFilteredProcess = (selectors: ProcessStateSelectors, searchFilter: ProcessEditorSearchFilter) => {\n return React.useMemo(() => getFilteredProcess(selectors, searchFilter), [searchFilter, selectors]);\n};\nexport const getStepContainsKeywordPredicate = (lookupActions: (step: StoredStep) => string[], keyword: string = \"\") => {\n return (step: StoredStep) => {\n const keywordLower = keyword.toLowerCase();\n return step.Name.toLowerCase().includes(keywordLower) || lookupActions(step).filter((name) => !!name && name.toLowerCase().includes(keywordLower)).length > 0;\n };\n};\nexport const getStepEnvironmentPredicate = (lookupAction: (id: string) => StoredAction, environment: ProcessEditorSearchFilterNamedResource, includeUnscoped: boolean = true) => {\n return (step: StoredStep) => {\n return step.ActionIds.some((a) => {\n const action = lookupAction(a);\n return ((includeUnscoped && action.Environments.length === 0 && !action.ExcludedEnvironments.some((e) => e === environment.Id)) || // unscoped and not excluded\n (action.Environments.some((e) => e === environment.Id) && !action.ExcludedEnvironments.some((e) => e === environment.Id))); // scoped and not excluded\n });\n };\n};\nexport const getStepHasChannelPredicate = (lookupAction: (id: string) => StoredAction, channel: ProcessEditorSearchFilterNamedResource, includeUnscoped: boolean = true) => {\n return (step: StoredStep) => {\n return step.ActionIds.some((a) => {\n const action = lookupAction(a);\n return ((includeUnscoped && action.Channels.length === 0) || // unscoped\n action.Channels.some((e) => e === channel.Id)); // scoped\n });\n };\n};\nexport type ProcessPredicate = (step: StoredStep) => boolean;\nexport const getFilteredProcess = (selectors: ProcessStateSelectors, searchFilter: ProcessEditorSearchFilter = { filterKeyword: \"\" }) => {\n const { channel, environment, includeUnscoped, filterKeyword } = searchFilter;\n const { getActionById, getAllSteps } = selectors;\n const filters: ProcessPredicate[] = [\n getStepContainsKeywordPredicate((step) => step.ActionIds.map((x) => getActionById(x).Name), filterKeyword),\n //TODO: Channel not applicable for Runbook so yeah...\n channel ? getStepHasChannelPredicate(getActionById, channel, includeUnscoped) : null,\n environment ? getStepEnvironmentPredicate(getActionById, environment, includeUnscoped) : null,\n ].filter(isSearchFilterNotEmpty);\n return getAllSteps().reduce((prev, step, index) => {\n const shouldFilter = filters.every((predicate) => predicate(step));\n return {\n filterCount: shouldFilter ? prev.filterCount + 1 : prev.filterCount,\n steps: [\n ...prev.steps,\n {\n step,\n index: index + 1,\n filtered: shouldFilter,\n },\n ],\n };\n }, searchFilterEmptyResult);\n};\n","import type { ProcessType } from \"@octopusdeploy/octopus-server-client\";\nimport { isEqual } from \"lodash\";\nimport * as React from \"react\";\nimport { useRequiredContext } from \"~/hooks\";\nimport type { ProcessStateSelectors } from \"../ProcessContextState\";\nimport type { ProcessEditorSearchFilter, ProcessEditorSearchFilterResult } from \"./\";\nimport { getEmptySearchFilter, useFilteredProcess } from \"./\";\ninterface ProcessSearchFilterContextLookupState {\n searchFilter: ProcessEditorSearchFilter;\n}\nexport type ProcessSearchFilterContextProps = {\n state: ProcessSearchFilterContextLookupState;\n filteredSteps: ProcessEditorSearchFilterResult;\n isFiltering: boolean;\n getEmptyFilter: () => ProcessEditorSearchFilter;\n actions: ProcessSearchFilterContextProviderSetupActions;\n selectors: ProcessStateSelectors; // This has crossover with the ProcessContext.\n processType: ProcessType;\n};\nexport const ProcessSearchFilterContext = React.createContext(undefined);\nexport const useProcessSearchFilterContext = () => {\n return useRequiredContext(ProcessSearchFilterContext, \"ProcessSearchFilter\");\n};\nexport const useOptionalProcessSearchFilterContext = () => {\n return React.useContext(ProcessSearchFilterContext);\n};\nconst useProcessState = (initialSearchFilter: ProcessEditorSearchFilter) => {\n return React.useState({\n searchFilter: initialSearchFilter,\n });\n};\nconst getStateUpdaters = (setState: React.Dispatch>) => {\n return {\n onFilterChange: (callback: (prev: ProcessEditorSearchFilter) => ProcessEditorSearchFilter) => setState((current) => ({ ...current, searchFilter: callback(current.searchFilter) })),\n onClearFilter: () => setState((current) => ({ ...current, searchFilter: getEmptySearchFilter() })),\n };\n};\nexport interface ProcessSearchFilterContextProviderSetup {\n state: ProcessSearchFilterContextLookupState;\n setState: React.Dispatch>;\n filteredSteps: ProcessEditorSearchFilterResult;\n isFiltering: boolean;\n getEmptyFilter: () => ProcessEditorSearchFilter;\n actions: ProcessSearchFilterContextProviderSetupActions;\n}\nexport interface ProcessSearchFilterContextProviderSetupActions {\n onFilterChange: (callback: (prev: ProcessEditorSearchFilter) => ProcessEditorSearchFilter) => void;\n onClearFilter: () => void;\n}\ninterface ProcessSearchFilterControllerProps {\n initialFilter?: ProcessEditorSearchFilter;\n children: (renderProps: ProcessSearchFilterContextProps) => React.ReactNode;\n processType: ProcessType;\n selectors: ProcessStateSelectors; // This has crossover with the ProcessContext.\n}\nexport const ProcessSearchFilterController: React.FC = ({ children, selectors, initialFilter = getEmptySearchFilter(), processType }) => {\n const [lookupsState, setState] = useProcessState(initialFilter);\n const filteredSteps = useFilteredProcess(selectors, lookupsState.searchFilter);\n const stateUpdaters = React.useMemo(() => getStateUpdaters(setState), [setState]);\n const contextValue: ProcessSearchFilterContextProps = {\n processType,\n state: lookupsState,\n filteredSteps,\n isFiltering: !isEqual(lookupsState.searchFilter, getEmptySearchFilter()),\n getEmptyFilter: getEmptySearchFilter,\n actions: stateUpdaters,\n selectors,\n };\n return {children(contextValue)};\n};\nProcessSearchFilterController.displayName = \"ProcessSearchFilterController\"\nexport interface WithProcessSearchFilterContextInjectedProps {\n processSearchFilterContext: ProcessSearchFilterContextProps;\n}\nexport const withProcessSearchFilterContext = (Component: React.ComponentType) => {\n const WithProcessSearchFilterContext: React.FC = (props) => {\n const context = useProcessSearchFilterContext();\n return ;\n };\n WithProcessSearchFilterContext.displayName = \"WithProcessSearchFilterContext\"\n return WithProcessSearchFilterContext;\n};\n","import type { ReactNode } from \"react\";\nimport React, { useReducer } from \"react\";\nimport type { ActionType } from \"typesafe-actions\";\nimport { createAction, getType } from \"typesafe-actions\";\nimport { useRequiredContext } from \"~/hooks\";\nimport { useBoundDispatch } from \"~/utils/Reducers\";\nimport type { StoredWarnings, ProcessWarning, ActionWarning, StepWarning, WarningValuePair, Warnings, StepWarningWithDetails, ActionWarningWithDetails } from \"../../types\";\nimport type { ProcessStateSelectors } from \"../ProcessContextState\";\nexport const actions = {\n setWarnings: createAction(\"SET:WARNINGS\", (warnings: Warnings, selectors: ProcessStateSelectors) => ({\n warnings: parseAllWarnings(warnings, selectors),\n message: parseMessage(warnings),\n }))(),\n clearWarnings: createAction(\"CLEAR:WARNINGS\", () => ({\n warnings: [],\n message: \"\",\n }))(),\n};\ntype ActionCreators = typeof actions;\nexport type WarningActions = ActionType;\nconst getStepRegex = () => /Steps\\[(\\d+)\\].([a-zA-Z.]*)/;\nconst getActionRegex = () => /Steps\\[(\\d+)\\]\\.Actions\\[(\\d+)\\].([a-zA-Z0-9[\\].]*)/;\nexport const INITIAL_WARNINGS_STATE: StoredWarnings = {\n steps: {},\n actions: {},\n global: {},\n globalMessage: \"\",\n};\nconst parseActionWarningDetails = (warning: WarningValuePair, selectors: ProcessStateSelectors): ActionWarning | undefined => {\n const actionRegex = getActionRegex();\n const actionResult = actionRegex.exec(warning.key);\n if (!actionResult || actionResult.length !== 4) {\n return;\n }\n //The key is unique for a given action i.e. Step[1].Action[2].Name which means we will have a `Name` entry against the action, keyed by the actual action ID.\n //This results in something like { actions: { actionId: { Name: warning }}}\n const key = actionResult[3].toLocaleLowerCase();\n const stepIndex = Number(actionResult[1]);\n const actionIndex = Number(actionResult[2]);\n const step = selectors.getStepByIndex(stepIndex);\n const actionId = step.ActionIds[actionIndex];\n return {\n key,\n stepId: step.Id,\n actionId,\n value: warning.value,\n };\n};\nconst parseStepWarningDetail = (warning: WarningValuePair, selectors: ProcessStateSelectors): StepWarning | undefined => {\n const stepRegex = getStepRegex();\n const stepResult = stepRegex.exec(warning.key);\n if (!stepResult || stepResult.length !== 3) {\n return;\n }\n //The key is unique per step i.e. Step[1].Name which means we will have a `Name` entry against the step, keyed by the actual step ID.\n //This results in something like { steps: { stepId: { Name: warning }}}\n const key = stepResult[2].toLocaleLowerCase();\n const stepIndex = Number(stepResult[1]);\n const step = selectors.getStepByIndex(stepIndex);\n return {\n key,\n stepId: step.Id,\n value: warning.value,\n };\n};\nfunction isActionWarning(warning: ProcessWarning): warning is ActionWarning {\n // eslint-disable-next-line @typescript-eslint/consistent-type-assertions\n const casted = warning as ActionWarning;\n return Object.prototype.hasOwnProperty.call(casted, \"actionId\") && !!casted.actionId;\n}\nfunction isStepWarning(warning: ProcessWarning): warning is StepWarning {\n // eslint-disable-next-line @typescript-eslint/consistent-type-assertions\n const casted = warning as StepWarning;\n return Object.prototype.hasOwnProperty.call(casted, \"stepId\") && !!casted.stepId && !isActionWarning(warning);\n}\nfunction isStepWarningWithDetails(warning: ProcessWarning): warning is StepWarningWithDetails {\n // eslint-disable-next-line @typescript-eslint/consistent-type-assertions\n const casted = warning as StepWarningWithDetails;\n return Object.prototype.hasOwnProperty.call(casted.value, \"summary\") && !!casted.stepId && !isActionWarning(warning);\n}\nfunction isActionWarningWithDetails(warning: ProcessWarning): warning is ActionWarningWithDetails {\n // eslint-disable-next-line @typescript-eslint/consistent-type-assertions\n const casted = warning as ActionWarningWithDetails;\n return Object.prototype.hasOwnProperty.call(casted.value, \"summary\") && !!casted.actionId;\n}\nconst parseWarningDetails = (warning: WarningValuePair, selectors: ProcessStateSelectors): ProcessWarning => {\n // This parser starts with the most specific warning details (step.actions), falls through to steps, then global warnings.\n const actionWarningDetails = parseActionWarningDetails(warning, selectors);\n if (actionWarningDetails) {\n return actionWarningDetails;\n }\n const stepWarningDetails = parseStepWarningDetail(warning, selectors);\n if (stepWarningDetails) {\n return stepWarningDetails;\n }\n return warning;\n};\nconst parseAllWarnings = (warnings: Warnings, selectors: ProcessStateSelectors) => {\n const warningDetails = warnings.details ?? {};\n return Object.keys(warningDetails).map((e) => parseWarningDetails({ key: e, value: warningDetails[e] }, selectors));\n};\nconst parseMessage = (warnings: Warnings) => {\n const message = warnings.message;\n return message;\n};\nconst reduceWarnings = (warnings: ProcessWarning[], message?: string) => {\n return warnings.reduce((prev, current) => {\n if (isActionWarningWithDetails(current)) {\n return {\n ...prev,\n actions: {\n ...prev.actions,\n [current.actionId]: {\n ...prev.actions[current.actionId],\n [current.key]: current.value.details,\n summary: current.value.summary,\n },\n },\n globalMessage: message,\n };\n }\n else if (isActionWarning(current)) {\n return {\n ...prev,\n actions: {\n ...prev.actions,\n [current.actionId]: {\n ...prev.actions[current.actionId],\n [current.key]: current.value,\n },\n },\n globalMessage: message,\n };\n }\n else if (isStepWarningWithDetails(current)) {\n return {\n ...prev,\n steps: {\n ...prev.steps,\n [current.stepId]: {\n ...prev.steps[current.stepId],\n [current.key]: current.value.details,\n summary: current.value.summary,\n },\n },\n globalMessage: message,\n };\n }\n else if (isStepWarning(current)) {\n return {\n ...prev,\n steps: {\n ...prev.steps,\n [current.stepId]: {\n ...prev.steps[current.stepId],\n [current.key]: current.value,\n },\n },\n globalMessage: message,\n };\n }\n else {\n return {\n ...prev,\n global: {\n ...prev.global,\n [current.key]: current.value,\n },\n globalMessage: message,\n };\n }\n }, INITIAL_WARNINGS_STATE);\n};\nexport const processWarningsReducer: React.Reducer = (state, action) => {\n switch (action.type) {\n case getType(actions.setWarnings): {\n if (action.payload.warnings.length === 0) {\n return state;\n }\n return {\n ...state,\n ...reduceWarnings(action.payload.warnings, action.payload.message),\n };\n }\n case getType(actions.clearWarnings): {\n return INITIAL_WARNINGS_STATE;\n }\n }\n return state;\n};\nconst getActionWarningLookup = (state: StoredWarnings) => {\n return (actionId: string, processSelectors: ProcessStateSelectors) => {\n const actionWarnings = state.actions[actionId];\n const action = processSelectors.getActionById(actionId);\n const step = processSelectors.getStepById(action.ParentId);\n const hasSingleChild = step.ActionIds.length === 1;\n return {\n ...(hasSingleChild ? state.steps[step.Id] ?? {} : {}),\n ...(actionWarnings ?? {}),\n };\n };\n};\nconst getDetails = (lookup: {\n [key: string]: string | ReactNode;\n}) => {\n // Shape of lookup for StepWarningDetails is { key: value; summary: value }, we only want the main value, which will contain the details and ignore the summary\n const keys = Object.keys(lookup);\n if (keys.length === 2) {\n return keys.filter((k) => k !== \"summary\" && lookup[k] !== undefined).map((k) => lookup[k]);\n }\n return keys.map((k) => lookup[k]);\n};\nconst getSummary = (lookup: {\n [key: string]: string | ReactNode;\n}) => {\n // Shape of lookup for StepWarningDetails is { key: value; summary: value }, we only want the summary here\n const keys = Object.keys(lookup);\n if (keys.length === 2) {\n return keys.filter((k) => k === \"summary\").map((k) => lookup[k]);\n }\n return keys.map((k) => lookup[k]);\n};\nconst getActionWarnings = (state: StoredWarnings) => {\n return (actionId: string, processSelectors: ProcessStateSelectors): (string | ReactNode)[] => {\n const lookup = getActionWarningLookup(state)(actionId, processSelectors);\n return getDetails(lookup);\n };\n};\nconst getActionWarningSummaries = (state: StoredWarnings) => {\n return (actionId: string, processSelectors: ProcessStateSelectors): (string | ReactNode)[] => {\n return getSummary(getActionWarningLookup(state)(actionId, processSelectors));\n };\n};\nconst getStepWarnings = (state: StoredWarnings) => {\n return (stepId: string): (string | ReactNode)[] => {\n return getDetails(state.steps[stepId] ?? {});\n };\n};\nconst getStepWarningSummaries = (state: StoredWarnings) => {\n return (stepId: string): (string | ReactNode)[] => {\n return getSummary(state.steps[stepId] ?? {});\n };\n};\nconst getStepFieldWarnings = (state: StoredWarnings) => {\n return (stepId: string) => {\n return { ...state.steps[stepId] };\n };\n};\nconst getGlobalWarnings = (state: StoredWarnings) => {\n return (): (string | ReactNode)[] => {\n return Object.values(state.global);\n };\n};\nconst getGlobalWarningMessage = (state: StoredWarnings) => {\n return (): string | undefined => {\n return state.globalMessage;\n };\n};\nconst getActionFieldWarning = (state: StoredWarnings) => {\n return (actionId: string, processSelectors: ProcessStateSelectors, field: string) => {\n const warnings = getActionWarningLookup(state)(actionId, processSelectors);\n return warnings[field.toLowerCase()];\n };\n};\nconst getActionFieldWarnings = (state: StoredWarnings) => {\n return (actionId: string, processSelectors: ProcessStateSelectors) => {\n const warnings = getActionWarningLookup(state)(actionId, processSelectors);\n return { ...warnings };\n };\n};\nconst getStepFieldWarning = (state: StoredWarnings) => {\n return (stepId: string, field: string) => {\n const warnings = state.steps[stepId] ?? {};\n return warnings[field.toLowerCase()];\n };\n};\ninterface ProcessWarningSelectors {\n getActionWarnings: ReturnType;\n getStepWarnings: ReturnType;\n getGlobalWarnings: ReturnType;\n getGlobalWarningMessage: ReturnType;\n getActionFieldWarning: ReturnType;\n getStepFieldWarning: ReturnType;\n getActionFieldWarnings: ReturnType;\n getStepFieldWarnings: ReturnType;\n getActionWarningSummaries: ReturnType;\n getStepWarningSummaries: ReturnType;\n}\nexport const getSelectors = (state: StoredWarnings): ProcessWarningSelectors => {\n return {\n getActionWarnings: getActionWarnings(state),\n getStepWarnings: getStepWarnings(state),\n getGlobalWarnings: getGlobalWarnings(state),\n getGlobalWarningMessage: getGlobalWarningMessage(state),\n getActionFieldWarning: getActionFieldWarning(state),\n getStepFieldWarning: getStepFieldWarning(state),\n getActionFieldWarnings: getActionFieldWarnings(state),\n getStepFieldWarnings: getStepFieldWarnings(state),\n getActionWarningSummaries: getActionWarningSummaries(state),\n getStepWarningSummaries: getStepWarningSummaries(state),\n };\n};\nconst useBoundProcessActions = (dispatch: React.Dispatch) => {\n return useBoundDispatch(dispatch, actions);\n};\nexport type BoundWarningActionsType = ReturnType;\ninterface ProcessWarningStateContextProps {\n selectors: ProcessWarningSelectors;\n}\ninterface ProcessWarningActionContextProps {\n actions: BoundWarningActionsType;\n}\nconst ProcessWarningSelectorContext = React.createContext(undefined);\nconst ProcessWarningActionContext = React.createContext(undefined);\nexport const useProcessWarningSelectors = () => {\n const selectorsContext = useRequiredContext(ProcessWarningSelectorContext, \"Process Warnings State\");\n return selectorsContext.selectors;\n};\nexport const useProcessWarningActions = () => {\n const actionsContext = useRequiredContext(ProcessWarningActionContext, \"Process Warning Actions\");\n return actionsContext.actions;\n};\nconst useProcessWarningReducer = () => {\n return useReducer(processWarningsReducer, INITIAL_WARNINGS_STATE);\n};\nexport interface ProcessWarningSelectorsProps {\n children: (selectors: ProcessWarningSelectors) => React.ReactElement | null;\n}\nexport const ProcessWarningSelectors: React.FC = ({ children }) => {\n const selectors = useProcessWarningSelectors();\n return children(selectors);\n};\nProcessWarningSelectors.displayName = \"ProcessWarningSelectors\"\nexport interface ProcessWarningActionsProps {\n children: (actions: BoundWarningActionsType) => React.ReactElement | null;\n}\nexport const ProcessWarningActions: React.FC = ({ children }) => {\n const warningActions = useProcessWarningActions();\n return children(warningActions);\n};\nProcessWarningActions.displayName = \"ProcessWarningActions\"\nexport const ProcessWarningsController: React.FC = React.memo((props) => {\n const [state, dispatch] = useProcessWarningReducer();\n const boundActions = useBoundDispatch(dispatch, actions);\n const selectors = React.useMemo(() => getSelectors(state), [state]);\n return (\n {props.children}\n );\n});\nProcessWarningsController.displayName = \"ProcessWarningsController\"\nexport interface WithProcessWarningActionsContextInjectedProps {\n processWarningActions: BoundWarningActionsType;\n}\nexport const withProcessWarningActionsContext = (Component: React.ComponentType) => {\n const WithProcessWarningActionsContext: React.FC = (props) => {\n const context = useProcessWarningActions();\n return ;\n };\n WithProcessWarningActionsContext.displayName = \"WithProcessWarningActionsContext\"\n return WithProcessWarningActionsContext;\n};\nexport interface WithProcessWarningSelectorContextInjectedProps {\n processWarningSelectors: ProcessWarningSelectors;\n}\nexport const withProcessWarningSelectorsContext = (Component: React.ComponentType) => {\n const WithProcessWarningSelectorsContext: React.FC = (props) => {\n const context = useProcessWarningSelectors();\n return ;\n };\n WithProcessWarningSelectorsContext.displayName = \"WithProcessWarningSelectorsContext\"\n return WithProcessWarningSelectorsContext;\n};\n","import { logger } from \"@octopusdeploy/logging\";\nimport type { AccountResource, ActionTemplateSearchResource, BlueprintResource, FeedResource, GitCredentialResource, ModifyProcessCommand, PersistenceSettings, ProcessResource } from \"@octopusdeploy/octopus-server-client\";\nimport { HasRunbooksInGit, HasGitPersistenceSettings, isModifyDeploymentProcessCommand, isModifyRunbookProcessCommand, OctopusError, Permission, Repository } from \"@octopusdeploy/octopus-server-client\";\nimport { isEmpty } from \"lodash\";\nimport flatMap from \"lodash/flatMap\";\nimport uniq from \"lodash/uniq\";\nimport React, { useCallback, useEffect, useMemo } from \"react\";\nimport { getProcessTemplateCommitFromAction, getProcessTemplateSlugFromAction } from \"~/areas/projects/components/Process/Blueprints/processTemplateId\";\nimport { ProcessAccountsContextProvider } from \"~/areas/projects/components/Process/Contexts/ProcessAccountsContextProvider\";\nimport { ProcessBlueprintsContextProvider } from \"~/areas/projects/components/Process/Contexts/ProcessBlueprintsContextProvider\";\nimport { ProcessGitCredentialsContextProvider } from \"~/areas/projects/components/Process/Contexts/ProcessGitCredentialsContextProvider\";\nimport { repository } from \"~/clientInstance\";\nimport type { DoBusyTask, Errors } from \"~/components/DataBaseComponent\";\nimport { useDoBusyTaskEffect } from \"~/components/DataBaseComponent\";\nimport { createErrorsFromOctopusError } from \"~/components/DataBaseComponent/Errors\";\nimport { DevToolsTab } from \"~/components/DevTools/DevToolsContext\";\nimport { isAllowed } from \"~/components/PermissionCheck/PermissionCheck\";\nimport { useOctopusFeatureToggle } from \"~/hooks/useOctopusFeatureToggle\";\nimport pluginRegistry from \"../../../../../components/Actions/pluginRegistry\";\nimport type { ProcessContextModelState, ProcessIdentifier, ProcessPageSupportedActions } from \"../types\";\nimport { isBlueprintProcessIdentifier, isDeploymentOrRunbookProcessIdentifier } from \"../types\";\nimport { DevToolbarProcessUpload } from \"./DeploymentProcessUpload\";\nimport { ProcessActionTemplatesContextProvider } from \"./ProcessActionTemplatesContextProvider\";\nimport type { ProcessContextLookupState, ProcessContextProps, ProcessContextProviderSetupActions } from \"./ProcessContext\";\nimport { ProcessContext, useBoundProcessActions } from \"./ProcessContext\";\nimport type { ProcessStateSelectors } from \"./ProcessContextState\";\nimport { getProcessContextModelInitialState, getSelectors, processContextModelStateReducer } from \"./ProcessContextState\";\nimport { ProcessErrorsController } from \"./ProcessErrors/ProcessErrorsContext\";\nimport { ProcessFeedsContextProvider } from \"./ProcessFeedsContextProvider\";\nimport { ProcessSearchFilterController } from \"./ProcessSearchFilter/ProcessSearchFilterContext\";\nimport { ProcessWarningsController } from \"./ProcessWarnings/ProcessWarningsContext\";\ninterface ProcessControllerProps {\n doBusyTask: DoBusyTask;\n children: (renderProps: ProcessContextProps) => React.ReactNode;\n layoutActions: ProcessPageSupportedActions;\n errors?: Errors;\n processIdentifier: ProcessIdentifier;\n process: ProcessResource;\n reloadProcess: () => void;\n modifyProcess: (process: ModifyProcessCommand, gitRef: string | undefined) => Promise;\n}\nexport type ProcessTemplateDetails = {\n commit: string;\n processTemplate: BlueprintResource;\n};\nconst useProcessState = () => {\n return React.useState({\n actionTemplates: \"NotLoaded\",\n feeds: \"NotLoaded\",\n accounts: [],\n gitCredentials: [],\n blueprints: \"NotLoaded\",\n });\n};\nconst getStateUpdaters = (setState: React.Dispatch>) => {\n return {\n onActionTemplatesUpdated: (actionTemplates: ActionTemplateSearchResource[]) => setState((current) => ({ ...current, actionTemplates })),\n onFeedsUpdated: (feeds: FeedResource[]) => setState((current) => ({ ...current, feeds })),\n onAccountsUpdated: (accounts: AccountResource[]) => setState((current) => ({ ...current, accounts })),\n onGitCredentialsUpdated: (gitCredentials: GitCredentialResource[]) => setState((current) => ({ ...current, gitCredentials })),\n onBlueprintsUpdated: (blueprints: ProcessTemplateDetails[]) => setState((current) => ({ ...current, blueprints })),\n };\n};\nconst useSelectors = (state: ProcessContextModelState): ProcessStateSelectors => {\n return React.useMemo(() => getSelectors(state), [state]);\n};\nexport const ProcessController: React.FC = ({ children, doBusyTask, layoutActions, processIdentifier, process, reloadProcess, modifyProcess }: ProcessControllerProps) => {\n const [state, dispatch] = React.useReducer(processContextModelStateReducer, getProcessContextModelInitialState(processIdentifier));\n const selectors = useSelectors(state);\n const [lookupsState, setState] = useProcessState();\n const { setProcess: setProcessDispatchAction, conflictDetected: conflictDetectedDispatchAction, ...boundDispatchActions } = useBoundProcessActions(dispatch);\n const setProcess = useCallback(async (process: ProcessResource, updateCleanModel: boolean) => {\n const allPlugins = await Promise.all(uniq(flatMap(process.Steps, (step) => step.Actions).map((action) => pluginRegistry.getAction(action.ActionType, action.StepPackageVersion))));\n setProcessDispatchAction(process, updateCleanModel, allPlugins);\n }, [setProcessDispatchAction]);\n const boundActions = {\n ...boundDispatchActions,\n setProcess,\n conflictDetected: async (serverProcess: ProcessResource, stagedProcess: ProcessResource) => {\n const allPlugins = await Promise.all(uniq(flatMap([...serverProcess.Steps, ...stagedProcess.Steps], (step) => step.Actions).map((action) => pluginRegistry.getAction(action.ActionType, action.StepPackageVersion))));\n conflictDetectedDispatchAction(serverProcess, stagedProcess, allPlugins);\n },\n };\n useEffect(() => {\n setProcess(process, true);\n }, [setProcess, process]);\n const stateUpdaters = React.useMemo(() => getStateUpdaters(setState), [setState]);\n const isBlueprintsEnabled = useOctopusFeatureToggle(\"blueprints\", false);\n const refreshAccounts = useDoBusyTaskEffect(doBusyTask, async () => {\n const accounts = await repository.Accounts.all();\n stateUpdaters.onAccountsUpdated(accounts);\n }, []);\n const refreshActionTemplates = useDoBusyTaskEffect(doBusyTask, async () => {\n const templates = await repository.ActionTemplates.search();\n stateUpdaters.onActionTemplatesUpdated(templates);\n }, []);\n const refreshFeeds = useDoBusyTaskEffect(doBusyTask, async () => {\n if (isBlueprintProcessIdentifier(processIdentifier)) {\n stateUpdaters.onFeedsUpdated([]);\n return;\n }\n const feeds = isAllowed({ permission: Permission.FeedView, project: isDeploymentOrRunbookProcessIdentifier(processIdentifier) ? processIdentifier.projectId : undefined, wildcard: true }) ? await repository.Feeds.all() : [];\n stateUpdaters.onFeedsUpdated(feeds);\n }, []);\n const refreshGitCredentials = useDoBusyTaskEffect(doBusyTask, async () => {\n if (isBlueprintProcessIdentifier(processIdentifier)) {\n const gitCredentials = isAllowed({ permission: Permission.PlatformHubView, wildcard: true }) ? (await repository.PlatformHubRepository.getGitCredentials({ take: Repository.takeAll })).Items : [];\n stateUpdaters.onGitCredentialsUpdated(gitCredentials);\n return;\n }\n const gitCredentials = isAllowed({ permission: Permission.GitCredentialView, project: isDeploymentOrRunbookProcessIdentifier(processIdentifier) ? processIdentifier.projectId : undefined, wildcard: true })\n ? (await repository.GitCredentials.list({ take: Repository.takeAll })).Items\n : [];\n stateUpdaters.onGitCredentialsUpdated(gitCredentials);\n }, []);\n const blueprintDetails = useMemo(() => {\n if (state.model.process?.Id) {\n return new Set(Object.values(state.model.actions.byId)\n .flatMap((a) => {\n const slug = getProcessTemplateSlugFromAction(a);\n const commit = getProcessTemplateCommitFromAction(a);\n return { slug, commit };\n })\n .filter((details) => !!details.slug)\n .sort());\n }\n return \"WaitingForProcess\";\n }, [state.model.actions.byId, state.model.process?.Id]);\n const blueprintDetailsString = blueprintDetails === \"WaitingForProcess\" ? \"WaitingForProcess\" : JSON.stringify([...blueprintDetails.values()]);\n const refreshBlueprintsForProcess = useDoBusyTaskEffect(doBusyTask, async () => {\n if (isBlueprintsEnabled && blueprintDetails !== \"WaitingForProcess\") {\n const processTemplates: {\n commit: string;\n processTemplate: BlueprintResource;\n }[] = [];\n for (const blueprintDetail of blueprintDetails) {\n try {\n const blueprint = await repository.Blueprints.getByGitRefOrLatest(blueprintDetail.slug, blueprintDetail.commit);\n processTemplates.push({\n commit: isEmpty(blueprintDetail.commit) ? \"latest\" : blueprintDetail.commit,\n processTemplate: blueprint,\n });\n }\n catch (e) {\n logger.warn(\"Couldn't load blueprint {blueprintId}\", { blueprintId: blueprintDetail });\n }\n }\n stateUpdaters.onBlueprintsUpdated(processTemplates);\n }\n else if (!isBlueprintsEnabled) {\n stateUpdaters.onBlueprintsUpdated([]);\n }\n }, [isBlueprintsEnabled, blueprintDetailsString]);\n const saveOnServer = async (process: ModifyProcessCommand, onError: (errors: Errors) => void, onSuccess: () => void, gitRef?: string): Promise => {\n try {\n await modifyProcess(process, gitRef);\n onSuccess();\n return true;\n }\n catch (e) {\n if (e instanceof OctopusError) {\n const errors = createErrorsFromOctopusError(e);\n onError(errors);\n }\n throw e;\n }\n };\n const cloneToDifferentProcess = async (process: ModifyProcessCommand, targetProjectPersistenceSettings: PersistenceSettings, onError: (errors: Errors) => void, onSuccess: () => void): Promise => {\n await doBusyTask(async () => {\n if (isModifyRunbookProcessCommand(process)) {\n if (HasRunbooksInGit(targetProjectPersistenceSettings)) {\n throw new Error(\"Cannot clone steps to a Git runbook.\");\n }\n await repository.Runbooks.modifyRunbookProcess(process);\n }\n else if (isModifyDeploymentProcessCommand(process)) {\n if (HasGitPersistenceSettings(targetProjectPersistenceSettings)) {\n throw new Error(\"Cannot clone steps to a Git deployment process.\");\n }\n await repository.DeploymentProcesses.modify(process, process.ProjectId);\n }\n else {\n throw new Error(\"Only deployment and runbook processes can be cloned to.\");\n }\n }, {\n onError,\n onSuccess,\n });\n };\n const actions: ProcessContextProviderSetupActions = {\n ...boundActions,\n saveOnServer,\n cloneToDifferentProcess,\n refreshFromServer: reloadProcess,\n ...layoutActions,\n };\n const contextValue: ProcessContextProps = {\n state,\n actions: actions,\n selectors,\n };\n return (\n \n \n \n \n \n \n \n \n \n {() => (\n {children(contextValue)}\n )}\n \n \n \n \n \n \n );\n};\nProcessController.displayName = \"ProcessController\"\n","/* eslint-disable @typescript-eslint/consistent-type-assertions */\nimport { isEqual } from \"lodash\";\nimport * as React from \"react\";\nimport type { RouteComponentProps } from \"react-router\";\nimport { withRouter } from \"react-router\";\nimport URI from \"urijs\";\nexport interface IQuery {\n [key: string]: string[] | string | undefined;\n}\ninterface QueryStringFiltersOwnProps {\n filter: TFilter;\n getQuery: (filter: TFilter) => TQuery;\n getFilter: (query: TQuery) => TFilter;\n onFilterChange: (filter: TFilter) => void;\n onQueryStringChange?: (query: TQuery) => void;\n}\nexport type QueryStringFiltersProps = QueryStringFiltersOwnProps & RouteComponentProps;\nclass QueryStringFiltersInternal extends React.Component> {\n constructor(props: QueryStringFiltersProps) {\n super(props);\n }\n componentDidMount() {\n if (this.props.location.search) {\n this.updateFiltersFromQueryString(this.props.location.search);\n }\n }\n public componentDidUpdate(prevProps: QueryStringFiltersProps) {\n if (!isEqual(this.props.filter, prevProps.filter)) {\n this.updateQueryStringFromFilters(this.props.filter);\n return;\n }\n if (this.props.location.search !== prevProps.location.search) {\n this.updateFiltersFromQueryString(this.props.location.search);\n }\n }\n public render() {\n return null;\n }\n private updateQueryStringFromFilters(filter: TFilter) {\n const query = this.props.getQuery(filter);\n const queryString = convertQueryToQueryString(query);\n if (this.props.location.search !== queryString) {\n const location = { ...this.props.history, search: queryString };\n this.props.history.replace(location);\n if (this.props.onQueryStringChange) {\n this.props.onQueryStringChange(query);\n }\n }\n }\n private updateFiltersFromQueryString(queryString: string) {\n const query = URI(queryString).search(true) as TQuery;\n const filter = this.props.getFilter(query);\n if (!isEqual(filter, this.props.filter)) {\n this.props.onFilterChange(filter);\n }\n }\n static displayName = \"QueryStringFiltersInternal\";\n}\nexport function convertQueryToQueryString(query: TQuery): string {\n const normalisedQuery = normaliseQuery(query);\n return new URI().search(normalisedQuery as object).search();\n}\nexport function normaliseQuery(query: TQuery): {\n [key in keyof TQuery]?: string[] | string | undefined;\n} {\n const normalisedQuery: {\n [key in keyof TQuery]?: string[] | string | undefined;\n } = {};\n for (const key in query) {\n if (!query.hasOwnProperty(key)) {\n continue;\n }\n const value = query[key];\n normalisedQuery[key] = value instanceof Array ? (value.length ? value : undefined) : value || undefined;\n }\n return normalisedQuery;\n}\nexport class QueryStringFilters {\n static For() {\n class QueryStringFiltersFor extends QueryStringFiltersInternal {\n }\n return withRouter(QueryStringFiltersFor);\n }\n}\n","import { isEqual } from \"lodash\";\nimport * as React from \"react\";\nimport { QueryStringFilters } from \"~/components/QueryStringFilters/QueryStringFilters\";\nimport { useRequiredContext } from \"~/hooks\";\nimport { arrayValueFromQueryString } from \"~/utils/ParseHelper/ParseHelper\";\nimport type { ProcessFilter, ProcessQuery } from \"../../types\";\ninterface ProcessQueryStringContextLookupState {\n queryFilter: ProcessFilter;\n}\nexport type ProcessQueryStringContextProps = {\n state: ProcessQueryStringContextLookupState;\n actions: ProcessQueryStringContextProviderSetupActions;\n};\nexport const ProcessQueryStringContext = React.createContext(undefined);\nexport const useProcessQueryStringContext = () => {\n return useRequiredContext(ProcessQueryStringContext, \"ProcessQueryString\");\n};\nexport const useOptionalProcessQueryStringContext = () => {\n return React.useContext(ProcessQueryStringContext);\n};\nconst useProcessState = (initialQueryFilter: ProcessFilter) => {\n return React.useState({\n queryFilter: initialQueryFilter,\n });\n};\nconst getStateUpdaters = (setState: React.Dispatch>) => {\n return {\n onQueryFilterChange: (callback: (prev: ProcessFilter) => ProcessFilter) => setState((current) => ({ ...current, queryFilter: callback(current.queryFilter) })),\n };\n};\nexport interface ProcessQueryStringContextProviderSetup {\n state: ProcessQueryStringContextLookupState;\n setState: React.Dispatch>;\n actions: ProcessQueryStringContextProviderSetupActions;\n}\nexport interface ProcessQueryStringContextProviderSetupActions {\n onQueryFilterChange: (callback: (prev: ProcessFilter) => ProcessFilter) => void;\n showEmptyStepEditor: () => void;\n showProcessStepTemplates: () => void;\n addBlueprintStep: () => void;\n showProcessAction: (actionId: string) => void;\n showProcessParentStep: (parentStepId: string) => void;\n showProcessBlueprintAction: (blueprintSlug: string, blueprintCommit: string, blueprintActionId: string, actionId: string) => void;\n showProcessBlueprintParentStep: (blueprintSlug: string, blueprintCommit: string, blueprintParentStepId: string) => void;\n}\ninterface ProcessQueryStringControllerProps {\n initialQueryFilter: ProcessFilter;\n children: (renderProps: ProcessQueryStringContextProps) => React.ReactNode;\n}\nconst ProcessQueryStringFilters = QueryStringFilters.For();\nexport const ProcessQueryStringController: React.FC = ({ children, initialQueryFilter }) => {\n const [lookupsState, setState] = useProcessState(initialQueryFilter);\n const stateUpdaters = React.useMemo(() => getStateUpdaters(setState), [setState]);\n const showEmptyStepEditor = () => {\n const filter = createDefaultFilter();\n stateUpdaters.onQueryFilterChange((prev) => ({ ...prev, ...filter }));\n };\n const showProcessStepTemplates = () => {\n const filter = createDefaultFilter();\n filter.stepTemplates = \"1\";\n stateUpdaters.onQueryFilterChange((prev) => ({ ...prev, ...filter }));\n };\n const addBlueprintStep = () => {\n const filter = createDefaultFilter();\n filter.new = \"true\";\n filter.actionType = \"Octopus.ProcessTemplate\";\n stateUpdaters.onQueryFilterChange((prev) => ({ ...prev, ...filter }));\n };\n const showProcessAction = (actionId: string) => {\n const filter = createDefaultFilter();\n filter.actionId = actionId;\n stateUpdaters.onQueryFilterChange((prev) => ({ ...prev, ...filter }));\n };\n const showProcessParentStep = (parentStepId: string) => {\n const filter = createDefaultFilter();\n filter.parentStepId = parentStepId;\n stateUpdaters.onQueryFilterChange((prev) => ({ ...prev, ...filter }));\n };\n const showProcessBlueprintAction = (blueprintSlug: string, blueprintCommit: string, blueprintActionId: string, actionId: string) => {\n const filter = createDefaultFilter();\n filter.blueprintSlug = blueprintSlug;\n filter.blueprintCommit = blueprintCommit;\n filter.blueprintActionId = blueprintActionId;\n filter.actionId = actionId;\n stateUpdaters.onQueryFilterChange((prev) => ({ ...prev, ...filter }));\n };\n const showProcessBlueprintParentStep = (blueprintSlug: string, blueprintCommit: string, blueprintParentStepId: string) => {\n const filter = createDefaultFilter();\n filter.blueprintSlug = blueprintSlug;\n filter.blueprintCommit = blueprintCommit;\n filter.blueprintParentStepId = blueprintParentStepId;\n stateUpdaters.onQueryFilterChange((prev) => ({ ...prev, ...filter }));\n };\n const contextValue: ProcessQueryStringContextProps = {\n state: lookupsState,\n actions: {\n onQueryFilterChange: stateUpdaters.onQueryFilterChange,\n showEmptyStepEditor,\n showProcessStepTemplates,\n addBlueprintStep,\n showProcessAction,\n showProcessParentStep,\n showProcessBlueprintAction,\n showProcessBlueprintParentStep,\n },\n };\n const onFilterUpdated = (filter: ProcessFilter) => {\n if (!isEqual(filter, lookupsState.queryFilter)) {\n stateUpdaters.onQueryFilterChange((prev) => ({ ...prev, ...filter }));\n }\n };\n return (\n onFilterUpdated(filter)}/>\n {children(contextValue)}\n );\n};\nProcessQueryStringController.displayName = \"ProcessQueryStringController\"\nexport const createDefaultFilter = (): ProcessFilter => {\n return {\n actionId: \"\",\n actionType: \"\",\n reloadKey: \"\",\n stepTemplates: \"\",\n childStepTemplates: \"\",\n templateId: \"\",\n parentStepId: \"\",\n new: \"\",\n actionCategory: \"\",\n blueprintSlug: \"\",\n blueprintCommit: \"\",\n blueprintActionId: \"\",\n blueprintParentStepId: \"\",\n tags: [],\n };\n};\nconst getFilterFromQuery = (query: ProcessQuery): ProcessFilter => {\n return {\n actionId: query.actionId || \"\",\n actionType: query.actionType || \"\",\n reloadKey: query.reloadKey || \"\",\n stepTemplates: query.stepTemplates || \"\",\n childStepTemplates: query.childStepTemplates || \"\",\n templateId: query.templateId || \"\",\n parentStepId: query.parentStepId || \"\",\n new: query.new || \"\",\n actionCategory: query.actionCategory || \"\",\n blueprintSlug: query.blueprintSlug || \"\",\n blueprintCommit: query.blueprintCommit || \"\",\n blueprintActionId: query.blueprintActionId || \"\",\n blueprintParentStepId: query.blueprintParentStepId || \"\",\n tags: arrayValueFromQueryString(query.tags),\n gitRef: query.gitRef || \"\",\n };\n};\nconst queryFromFilters = (filter: ProcessFilter): ProcessQuery => {\n return {\n actionId: filter.actionId,\n actionType: filter.actionType,\n reloadKey: filter.reloadKey,\n stepTemplates: filter.stepTemplates,\n childStepTemplates: filter.childStepTemplates,\n templateId: filter.templateId,\n parentStepId: filter.parentStepId,\n new: filter.new,\n actionCategory: filter.actionCategory,\n blueprintSlug: filter.blueprintSlug,\n blueprintCommit: filter.blueprintCommit,\n blueprintActionId: filter.blueprintActionId,\n blueprintParentStepId: filter.blueprintParentStepId,\n tags: arrayValueFromQueryString(filter.tags),\n gitRef: filter.gitRef,\n };\n};\nexport interface WithProcessQueryStringContextInjectedProps {\n processQueryStringContext: ProcessQueryStringContextProps;\n}\nexport const withProcessQueryStringContext = (Component: React.ComponentType) => {\n const WithProcessQueryStringContext: React.FC = (props) => {\n const context = useProcessQueryStringContext();\n return ;\n };\n WithProcessQueryStringContext.displayName = \"WithProcessQueryStringContext\"\n return WithProcessQueryStringContext;\n};\n","import type { PersistenceSettings } from \"@octopusdeploy/octopus-server-client\";\nimport * as React from \"react\";\nimport { createContext } from \"react\";\nimport { useRequiredContext } from \"~/hooks/index\";\ntype PersistenceSettingsContextValue = PersistenceSettings;\nexport const PersistenceSettingsContext = createContext(undefined);\nexport const usePersistenceSettingsContext = () => {\n return useRequiredContext(PersistenceSettingsContext);\n};\nexport function PersistenceSettingsContextProvider(props: React.PropsWithChildren) {\n const { children, ...persistenceSettings } = props;\n return {children};\n}\n","import { HasRunbooksInGit, type RunbookResource, type RunbookSnapshotResource } from \"@octopusdeploy/octopus-server-client\";\nimport * as React from \"react\";\nimport { useProjectContext } from \"~/areas/projects/context\";\nimport { repository } from \"~/clientInstance\";\nimport type { DoBusyTask } from \"~/components/DataBaseComponent\";\nimport { useDoBusyTaskEffect } from \"~/components/DataBaseComponent\";\nimport { useRequiredContext } from \"~/hooks/useRequiredContext\";\nexport type RunbookContextProps = ReturnType;\nconst RunbookContext = React.createContext(undefined);\ninterface RunbookContextState {\n runbook: RunbookResource | undefined;\n}\ninterface RunbookContextProviderProps {\n id: string;\n doBusyTask: DoBusyTask;\n children: (props: RunbookContextProps) => React.ReactNode;\n}\nconst getStateUpdaters = (setState: React.Dispatch>) => {\n return {\n onRunbookUpdated: (runbook: RunbookResource) => {\n setState((current) => ({ ...current, runbook }));\n },\n };\n};\nconst useRunbookSetup = (id: string, doBusyTask: DoBusyTask) => {\n const [state, setState] = React.useState({\n runbook: undefined,\n });\n const projectContext = useProjectContext();\n const updaters = React.useMemo(() => getStateUpdaters(setState), [setState]);\n const projectContextRepository = projectContext.state.projectContextRepository;\n const refreshRunbook = useDoBusyTaskEffect(doBusyTask, async () => {\n const { model: project, gitRef } = projectContext.state;\n const isGitRunbook = HasRunbooksInGit(project.PersistenceSettings) && gitRef;\n if (isGitRunbook) {\n const runbook = await repository.Runbooks.getRunbook(projectContext.state.model, id, projectContext.state.gitRef?.CanonicalName);\n updaters.onRunbookUpdated(runbook);\n }\n else {\n const runbook = await repository.Runbooks.getRunbook(projectContext.state.model, id);\n updaters.onRunbookUpdated(runbook);\n }\n }, [id, projectContextRepository]);\n const publishSnapshot = React.useCallback((snapshot: RunbookSnapshotResource) => {\n return doBusyTask(async () => {\n const result = await repository.Runbooks.get(id);\n result.PublishedRunbookSnapshotId = snapshot.Id;\n updaters.onRunbookUpdated(await repository.Runbooks.modify(result));\n });\n }, [doBusyTask, id, updaters]);\n const supportedActions = {\n refreshRunbook,\n publishSnapshot,\n ...updaters,\n };\n return {\n actions: supportedActions,\n state,\n setState,\n };\n};\nexport const RunbookContextProvider: React.FC = ({ children, id, doBusyTask }) => {\n const value = useRunbookSetup(id, doBusyTask);\n return {children(value)};\n};\nRunbookContextProvider.displayName = \"RunbookContextProvider\"\nexport interface WithRunbookContextInjectedProps {\n runbookContext: RunbookContextProps;\n}\nexport type WithOptionalRunbookContextInjectedProps = Partial;\nexport const useRunbookContext = () => {\n return useRequiredContext(RunbookContext, \"Runbook\");\n};\nexport const useOptionalRunbookContext = () => {\n return React.useContext(RunbookContext);\n};\n","import { HasGitPersistenceSettings, HasRunbooksInGit, type ProjectResource } from \"@octopusdeploy/octopus-server-client\";\nimport { useOctopusFeatureToggle } from \"~/hooks/useOctopusFeatureToggle\";\nexport function useNewRunbookRunsListPageFeatureToggle(project: ProjectResource) {\n const toggleEnabled = useOctopusFeatureToggle(\"new-runbook-runs-list-page\", false);\n const hasGitRunbooks = HasGitPersistenceSettings(project.PersistenceSettings) && HasRunbooksInGit(project.PersistenceSettings);\n return hasGitRunbooks || toggleEnabled;\n}\n","/* eslint-disable @octopusdeploy/custom-portal-rules/no-restricted-imports */\nimport type { TabProps } from \"@material-ui/core/Tab\";\nimport Tab from \"@material-ui/core/Tab\";\nimport Tabs from \"@material-ui/core/Tabs\";\nimport { makeStyles } from \"@material-ui/core/styles\";\nimport { useIsUrlActive } from \"@octopusdeploy/design-system-components\";\nimport { letterSpacing, lineHeight, text, themeTokens } from \"@octopusdeploy/design-system-tokens\";\nimport { HasRunbooksInGit, Permission } from \"@octopusdeploy/octopus-server-client\";\nimport { links } from \"@octopusdeploy/portal-routes\";\nimport type { LinkHref } from \"@octopusdeploy/portal-routes\";\nimport type { ReactNode } from \"react\";\nimport * as React from \"react\";\nimport { withRouter } from \"react-router-dom\";\nimport type { RouteComponentProps } from \"react-router-dom\";\nimport { useProjectContext } from \"~/areas/projects/context\";\nimport { isUrl } from \"~/components/Navigation/InternalLink/isUrl\";\nimport { useSpaceAwareNavigation } from \"~/components/Navigation/SpaceAwareNavigation/useSpaceAwareNavigation\";\nimport { useUrlResolver } from \"~/components/Navigation/useUrlResolver\";\nimport { isAllowed } from \"~/components/PermissionCheck/PermissionCheck\";\nimport type { OctopusTheme } from \"~/components/Theme\";\nimport { useOctopusTheme, withTheme } from \"~/components/Theme\";\nimport { useRunbookContext } from \"../Runbooks/RunbookContext\";\nimport { useNewRunbookRunsListPageFeatureToggle } from \"./useNewRunbookRunsListPageFeatureToggle\";\ntype NavTabProps = TabProps;\ninterface PropsWithOctopusTheme {\n octopusTheme: OctopusTheme;\n}\nconst useMuiStyles = makeStyles(() => ({\n root: (props: PropsWithOctopusTheme) => ({ color: themeTokens.color.text.secondary }),\n indicator: (props: PropsWithOctopusTheme) => ({ backgroundColor: themeTokens.color.text.selected }),\n}));\nconst useTabStyles = makeStyles(() => ({\n tabsContainer: (props: PropsWithOctopusTheme) => ({\n display: \"flex\",\n flexDirection: \"row\",\n alignItems: \"center\",\n backgroundColor: props.octopusTheme.paper0,\n borderTopStyle: \"solid\",\n borderTopWidth: \"0.0625rem\",\n borderTopColor: props.octopusTheme.dividerLight,\n borderBottomStyle: \"solid\",\n borderBottomWidth: \"0.0625rem\",\n borderBottomColor: props.octopusTheme.dividerLight,\n }),\n rootTab: {\n minWidth: \"7.5rem\", // Needed for DrawerWrapperLayout.\n textTransform: \"none\",\n font: text.body.bold.medium,\n letterSpacing: letterSpacing.wide,\n lineHeight: lineHeight.xSmall,\n \"&.Mui-selected\": {\n color: themeTokens.color.text.selected,\n },\n },\n}));\nconst useNavTabStyles = makeStyles(() => ({\n root: (props: PropsWithOctopusTheme) => ({\n \"&:hover\": {\n opacity: 1,\n color: props.octopusTheme.primaryDark,\n transition: \"backgroundColor 10s\",\n },\n }),\n}));\nconst NavTab: React.FC = (props) => {\n const octopusTheme = useOctopusTheme();\n const tabStyles = useNavTabStyles({ octopusTheme });\n return ;\n};\nNavTab.displayName = \"NavTab\"\nconst projectHasTaskViewPermission = (projectId: string) => {\n return isAllowed({\n permission: Permission.TaskView,\n project: projectId,\n wildcard: true,\n });\n};\nconst renderProcessLabelWithWarning = () => {\n return withTheme((theme) => (
    \n Process \n \n
    ));\n};\ninterface NavigationTab {\n label: ReactNode;\n link: LinkHref;\n disabled?: boolean;\n}\nfunction getNavigationTabs(tabs: Array): NavigationTab[] {\n return tabs.filter(isNavigationTab);\n}\nfunction isNavigationTab(tab: NavigationTab | undefined): tab is NavigationTab {\n return Boolean(tab);\n}\nconst RunbooksNavigationTabsInternal: React.FC> = (props) => {\n const octopusTheme = useOctopusTheme();\n const isUrlActive = useIsUrlActive();\n const urlResolver = useUrlResolver();\n const navigation = useSpaceAwareNavigation();\n const classes = useMuiStyles({ octopusTheme });\n const tabStyles = useTabStyles({ octopusTheme });\n const runbookContext = useRunbookContext();\n const projectContext = useProjectContext();\n const runbook = runbookContext.state.runbook;\n const gitRef = projectContext.state.gitRef?.CanonicalName;\n const isGitRunbook = HasRunbooksInGit(projectContext.state.model.PersistenceSettings) && !!gitRef;\n const spaceId = props.match.params.spaceId;\n const projectSlug = props.match.params.projectSlug;\n const runbookId = props.match.params.runbookId;\n const newRunbookRunsListPageEnabled = useNewRunbookRunsListPageFeatureToggle(projectContext.state.model);\n const tabs = getNavigationTabs([\n !newRunbookRunsListPageEnabled ? { label: \"Overview\", link: links.projectRunbookOverviewPage.generateUrl({ spaceId, projectSlug, runbookId }) } : undefined,\n projectHasTaskViewPermission(projectContext.state.model.Id) ? { label: \"Runs\", link: links.projectRunbookRunsListPage.generateUrl({ spaceId, projectSlug, runbookId }, { gitRef: isGitRunbook ? gitRef : undefined }) } : undefined,\n runbook\n ? {\n label: projectContext.state.gitVariablesHasError ? renderProcessLabelWithWarning() : \"Process\",\n link: links.projectRunbookProcessListPage.generateUrl({ spaceId, projectSlug, runbookId, processId: runbook.RunbookProcessId }, isGitRunbook ? { gitRef } : undefined),\n }\n : undefined,\n { label: \"Settings\", link: links.projectRunbookSettingsPage.generateUrl({ spaceId, projectSlug, runbookId }, { gitRef: isGitRunbook ? gitRef : undefined }) },\n ]);\n // The Tabs element gets very grumpy (logs console errors) if its 'value' property doesn't match the 'link' of one of the NavTabs, so if we can't find a match, default\n // to the whatever the first tab is. This only happens during the initial renders - later on we get the correct value and so always finds a match.\n const tabThatMatchesUrl = tabs.find((x) => isUrlActive(x.link, \"if path partially matches\")) || tabs[0];\n const urlOfSelectedTab = tabThatMatchesUrl.link;\n return (
    \n {\n navigation.navigate(val);\n }} variant=\"scrollable\" scrollButtons=\"off\">\n {tabs.map((x) => {\n const link = isUrl(x.link) ? urlResolver.resolve(x.link) : x.link;\n return ;\n })}\n \n
    );\n};\nRunbooksNavigationTabsInternal.displayName = \"RunbooksNavigationTabsInternal\"\nconst RunbooksNavigationTabs = withRouter(RunbooksNavigationTabsInternal);\nexport default RunbooksNavigationTabs;\n","import type { ProjectResource } from \"@octopusdeploy/octopus-server-client\";\nimport { links } from \"@octopusdeploy/portal-routes\";\nimport * as React from \"react\";\nimport RunbooksNavigationTabs from \"~/areas/projects/components/Runbooks/RunbooksNavigationTabs\";\nimport type { PageContentProps } from \"~/components/PageContent/PageContent\";\nimport { PageContent } from \"~/components/PageContent/PageContent\";\ntype RunbookPageContentProps = Exclude & {\n project: ProjectResource;\n children: React.ReactNode;\n};\nexport function RunbookPageContent({ children, project, ...rest }: RunbookPageContentProps) {\n const mergedProps = {\n ...rest,\n header: {\n breadcrumbs: [{ label: \"Runbooks\", pageUrl: links.projectRunbooksPage.generateUrl({ spaceId: project.SpaceId, projectSlug: project.Slug }) }],\n ...rest.header,\n },\n } as const satisfies Omit;\n return (}>\n {children}\n );\n}\n","import { ActionButton, ActionButtonType, NavigationButton, NavigationButtonType } from \"@octopusdeploy/design-system-components\";\nimport { ProcessType } from \"@octopusdeploy/octopus-server-client\";\nimport { links } from \"@octopusdeploy/portal-routes\";\nimport * as React from \"react\";\nimport { Action, useProjectScopedAnalyticActionDispatch } from \"~/analytics/Analytics\";\nimport { processScopedEditPermission } from \"~/areas/projects/components/Process/Common/CommonProcessHelpers\";\nimport { useProcessContext } from \"~/areas/projects/components/Process/Contexts/ProcessContext\";\nimport { useProcessQueryStringContext } from \"~/areas/projects/components/Process/Contexts/ProcessQueryString/ProcessQueryStringContext\";\nimport { isRunbookProcessIdentifier } from \"~/areas/projects/components/Process/types\";\nimport { useProjectContext } from \"~/areas/projects/context/index\";\nimport { PermissionCheck } from \"~/components/PermissionCheck/index\";\ninterface AddProcessTemplateStepButtonProps {\n projectId: string;\n}\nexport function AddDeploymentProcessTemplateStepButton({ projectId }: AddProcessTemplateStepButtonProps) {\n const processQueryStringContext = useProcessQueryStringContext();\n const dispatchAction = useProjectScopedAnalyticActionDispatch(projectId);\n return (\n {\n processQueryStringContext.actions.addBlueprintStep();\n dispatchAction(\"Add Process Template Step\", { resource: \"Deployment Process\", action: Action.Add });\n }}/>\n );\n}\nexport function AddRunbookProcessTemplateStepButton({ projectId }: AddProcessTemplateStepButtonProps) {\n const processContext = useProcessContext();\n const processIdentifier = processContext.state.processIdentifier;\n const projectContext = useProjectContext();\n const dispatchAction = useProjectScopedAnalyticActionDispatch(projectId);\n if (!isRunbookProcessIdentifier(processIdentifier)) {\n return null;\n }\n const routeValues = {\n spaceId: processIdentifier.spaceId,\n projectSlug: projectContext.state.model.Slug,\n processId: processIdentifier.id,\n runbookId: processIdentifier.runbookId,\n };\n const href = links.projectRunbookProcessStepsPage.generateUrl(routeValues, { new: true, actionType: \"Octopus.ProcessTemplate\" });\n const logAction = () => dispatchAction(\"Add Process Template Step\", { resource: \"Runbook Process\", action: Action.Add });\n return (\n \n );\n}\n","import { Callout } from \"@octopusdeploy/design-system-components\";\nimport type { GitRefResource } from \"@octopusdeploy/octopus-server-client\";\nimport { isProtectedBranch, isGitCommit, isGitTag, toGitCommitShort } from \"@octopusdeploy/octopus-server-client\";\nimport React from \"react\";\ntype Props = {\n gitRef?: GitRefResource | undefined;\n};\nconst CannotCommitCallout = ({ gitRef }: Props) => {\n if (!gitRef) {\n return <>;\n }\n const renderWithTypeName = (title: string, message: string) => (\n {message}\n );\n const canonicalName = gitRef.CanonicalName;\n if (isProtectedBranch(gitRef)) {\n return renderWithTypeName(`${canonicalName} is a protected branch`, \"Protected branches cannot be modified.\");\n }\n else if (isGitTag(canonicalName)) {\n return renderWithTypeName(`${canonicalName} is a tag`, \"Tags cannot be modified.\");\n }\n else if (isGitCommit(canonicalName)) {\n return renderWithTypeName(`${toGitCommitShort(canonicalName)} is a commit`, \"Commits cannot be modified.\");\n }\n else {\n return <>;\n }\n};\nexport default CannotCommitCallout;\n","import { css } from \"@emotion/css\";\nimport { space } from \"@octopusdeploy/design-system-tokens\";\nimport type { GitRefResource } from \"@octopusdeploy/octopus-server-client\";\nimport { HasRunbooksInGit, HasVariablesInGit } from \"@octopusdeploy/octopus-server-client\";\nimport * as React from \"react\";\nimport CannotCommitCallout from \"~/areas/projects/components/VersionControl/CannotCommitCallout\";\nimport { useProjectContext } from \"~/areas/projects/context/index\";\nexport function GitCallouts(props: {\n isVariablesPage?: boolean;\n isRunbooksPage?: boolean;\n gitRefResource: GitRefResource | undefined;\n}) {\n const projectContext = useProjectContext();\n if (props.isVariablesPage && !HasVariablesInGit(projectContext.state.model.PersistenceSettings))\n return null;\n if (props.isRunbooksPage && !HasRunbooksInGit(projectContext.state.model.PersistenceSettings))\n return null;\n return (
    \n \n
    );\n}\nconst calloutsStyles = css({\n display: \"flex\",\n flexDirection: \"column\",\n gap: space[8],\n});\n","import { Permission } from \"@octopusdeploy/octopus-server-client\";\nimport { isAllowed } from \"~/components/PermissionCheck/PermissionCheck\";\nexport function isRunbookConsumerOnly(projectId: string) {\n const hasRunbookEditPermissions = isAllowed({ permission: Permission.RunbookEdit, project: projectId, wildcard: true });\n const hasRunbookRunCreatePermissions = isAllowed({ permission: Permission.RunbookRunCreate, project: projectId, wildcard: true });\n return !hasRunbookEditPermissions && hasRunbookRunCreatePermissions;\n}\n","import type { ProjectResource, RunbookSnapshotResource } from \"@octopusdeploy/octopus-server-client\";\nimport { links } from \"@octopusdeploy/portal-routes\";\nimport * as React from \"react\";\nimport { isRunbookConsumerOnly } from \"~/areas/projects/components/Runbooks/isRunbookConsumerOnly\";\nimport Chip from \"~/components/Chips/Chip\";\nimport InternalLink from \"~/components/Navigation/InternalLink/InternalLink\";\nimport { useOctopusTheme, withTheme } from \"~/components/Theme\";\nimport WarningIcon from \"~/components/WarningIcon/WarningIcon\";\nimport DateFormatter from \"~/utils/DateFormatter\";\nimport styles from \"./LastPublishedChip.module.less\";\nexport const RunbookSnapshotInformation: React.FC<{\n runbookSnapshot: RunbookSnapshotResource;\n isOutOfDate?: boolean;\n}> = ({ runbookSnapshot, isOutOfDate }) => withTheme((theme) => {\n const content = runbookSnapshot && (
    \n {isOutOfDate && (<>\n
    \n The runbook has changed since this snapshot was published\n
    \n
    \n )}\n
    \n Name: {runbookSnapshot.Name}\n
    \n {runbookSnapshot.Notes &&
    {runbookSnapshot.Notes}
    }\n
    \n Created: {DateFormatter.dateToShortFormat(runbookSnapshot.Assembled)}\n
    \n
    );\n return content;\n});\nRunbookSnapshotInformation.displayName = \"RunbookSnapshotInformation\"\nexport interface LastPublishedChipProps {\n project: ProjectResource;\n publishedRunbookSnapshot: RunbookSnapshotResource;\n isRunbookRunTemplateModified?: boolean;\n}\nexport const LastPublishedChip: React.FC = ({ project, publishedRunbookSnapshot, isRunbookRunTemplateModified }) => {\n const theme = useOctopusTheme();\n if (!publishedRunbookSnapshot) {\n return null;\n }\n const showChangeSnapshotWarnings = !isRunbookConsumerOnly(project.Id);\n const isOutOfDate = isRunbookRunTemplateModified && showChangeSnapshotWarnings;\n const lastPublishedTooltip = ;\n const chipColor = isOutOfDate ? theme.info : theme.success;\n return (\n \n {isOutOfDate && }\n Published {DateFormatter.dateToShortFormat(publishedRunbookSnapshot.Assembled)}\n \n );\n};\nLastPublishedChip.displayName = \"LastPublishedChip\"\n","/* eslint-disable @typescript-eslint/no-non-null-assertion */\n/* eslint-disable @typescript-eslint/init-declarations */\nimport { NavigationButton, NavigationButtonType, Tooltip } from \"@octopusdeploy/design-system-components\";\nimport type { RunbookSnapshotResource, RunbookResource, RunbookRunTemplateResource } from \"@octopusdeploy/octopus-server-client\";\nimport { Permission } from \"@octopusdeploy/octopus-server-client\";\nimport { links } from \"@octopusdeploy/portal-routes\";\nimport * as React from \"react\";\nimport { useProjectContext } from \"~/areas/projects/context/ProjectContext\";\nimport { repository } from \"~/clientInstance\";\nimport type { DoBusyTask } from \"~/components/DataBaseComponent\";\nimport { useDoBusyTaskEffect } from \"~/components/DataBaseComponent\";\nimport { PermissionCheck } from \"~/components/PermissionCheck\";\nimport StringHelper from \"~/utils/StringHelper\";\nimport styles from \"./PublishButton.module.less\";\nimport { useRunbookContext } from \"./RunbookContext\";\nexport const publishingExplainedElement = Publishing makes the runbook available to consumers and triggers.;\nexport const processTabErrorElement = The runbook can not be published until the error on the Process tab is resolved.;\ninterface PublishedRunbookSnapshotAndTemplate {\n publishedRunbookSnapshot: RunbookSnapshotResource;\n runbookRunTemplate: RunbookRunTemplateResource;\n}\nexport const usePublishedRunbookSnapshotSetup = (doBusyTask: DoBusyTask, runbook: RunbookResource) => {\n const [state, setState] = React.useState(null);\n const publishedRunbookSnapshotId = runbook.PublishedRunbookSnapshotId;\n useDoBusyTaskEffect(doBusyTask, async () => {\n if (!publishedRunbookSnapshotId)\n return;\n const publishedRunbookSnapshot = await repository.RunbookSnapshots.get(publishedRunbookSnapshotId);\n const runbookRunTemplate = await repository.RunbookSnapshots.getRunbookRunTemplate(publishedRunbookSnapshot);\n setState({ publishedRunbookSnapshot, runbookRunTemplate });\n }, [publishedRunbookSnapshotId]);\n return state;\n};\nexport interface PublishButtonProps {\n isDisabled?: boolean;\n publishedRunbookSnapshot?: RunbookSnapshotResource;\n isRunbookRunTemplateModified?: boolean;\n}\nconst PublishButton: React.FC = ({ isDisabled, publishedRunbookSnapshot, isRunbookRunTemplateModified }) => {\n const projectContext = useProjectContext();\n const runbookContext = useRunbookContext();\n const project = projectContext.state.model;\n const runbook = runbookContext.state.runbook;\n const hasGitVariablesError = !!projectContext.state.gitVariablesHasError;\n const toolTipContent = (<>\n {publishingExplainedElement} {hasGitVariablesError ? processTabErrorElement : null}\n );\n const publishButton = (\n
    \n \n \n \n
    \n
    );\n if (!runbook?.PublishedRunbookSnapshotId) {\n return publishButton;\n }\n if (!publishedRunbookSnapshot) {\n return
    {StringHelper.ellipsis}
    ;\n }\n return isRunbookRunTemplateModified ? publishButton : null;\n};\nPublishButton.displayName = \"PublishButton\"\nexport default PublishButton;\n","import { NavigationButtonType, NavigationButton, Tooltip } from \"@octopusdeploy/design-system-components\";\nimport { getGitRefDescription, Permission, toGitRefShort } from \"@octopusdeploy/octopus-server-client\";\nimport { links } from \"@octopusdeploy/portal-routes\";\nimport * as React from \"react\";\nimport { PermissionCheck } from \"~/components/PermissionCheck\";\nexport type RunNowButtonProps = {\n spaceId: string;\n projectSlug: string;\n projectId: string;\n runbookId: string;\n isDisabled?: boolean;\n tooltip?: string;\n buttonType?: NavigationButtonType;\n};\nexport function RunNowButton(props: RunNowButtonProps) {\n return (\n \n );\n}\nexport function RunNowButtonInternal({ projectSlug, isDisabled, runbookId, spaceId, tooltip, buttonType }: RunNowButtonProps) {\n if (tooltip) {\n return (\n \n );\n }\n return ;\n}\nexport function getPermissionDeniedTooltipText(gitRef?: string) {\n if (!gitRef)\n return;\n return `You don't have permission to run Runbooks from ${getGitRefDescription(gitRef)} '${toGitRefShort(gitRef)}'. Try running from the default branch instead.`;\n}\n","import type { NavigationButtonProps } from \"@octopusdeploy/design-system-components\";\nimport { NavigationButton } from \"@octopusdeploy/design-system-components\";\nimport type { GitRefResource } from \"@octopusdeploy/octopus-server-client\";\nimport { links } from \"@octopusdeploy/portal-routes\";\nimport * as React from \"react\";\nimport { Action, useProjectScopedAnalyticActionDispatch } from \"~/analytics/Analytics\";\nimport { isDeploymentProcessIdentifier, isRunbookProcessIdentifier } from \"~/areas/projects/components/Process/types\";\nimport { PermissionCheck } from \"~/components/PermissionCheck\";\nimport { processScopedEditPermission } from \"../Process/Common/CommonProcessHelpers\";\nimport { useProcessContext } from \"../Process/Contexts/ProcessContext\";\ntype AddRunbookStepButtonPropChanges = Omit & {\n href?: NavigationButtonProps[\"href\"];\n label?: NavigationButtonProps[\"label\"];\n};\ninterface WithLabel {\n label?: string;\n}\ntype AddRunbookStepButtonProps = AddRunbookStepButtonPropChanges & WithLabel & {\n spaceId: string;\n projectId: string;\n processId: string;\n runbookId: string;\n projectSlug: string;\n};\nconst AddRunbookStepButton: React.FC = ({ spaceId, projectId, projectSlug, processId, runbookId, label, ...rest }) => {\n const href = links.projectRunbookProcessStepsPage.generateUrl({ spaceId, projectSlug, runbookId, processId }, { stepTemplates: true });\n const processContext = useProcessContext();\n const dispatchAction = useProjectScopedAnalyticActionDispatch(projectId);\n return (\n dispatchAction(\"Add Deployment Step\", { resource: \"Runbook Process\", action: Action.Add })}/>\n );\n};\nAddRunbookStepButton.displayName = \"AddRunbookStepButton\"\ntype AddDeploymentsStepButtonProps = {\n spaceId: string;\n projectId: string;\n projectSlug: string;\n gitRef: GitRefResource | undefined;\n} & WithLabel;\nconst AddDeploymentsStepButton: React.FC = ({ spaceId, projectId, projectSlug, gitRef, label, ...rest }) => {\n const href = getAddProcessStepUrl({ spaceId, projectSlug, gitRef });\n const processContext = useProcessContext();\n const dispatchAction = useProjectScopedAnalyticActionDispatch(projectId);\n return (\n dispatchAction(\"Add Deployment Step\", { resource: \"Deployment Process\", action: Action.Add })}/>\n );\n};\nAddDeploymentsStepButton.displayName = \"AddDeploymentsStepButton\"\ninterface GetProcessStepTemplatesUrlOptions {\n spaceId: string;\n projectSlug: string;\n gitRef: GitRefResource | undefined;\n}\nfunction getAddProcessStepUrl({ spaceId, projectSlug, gitRef }: GetProcessStepTemplatesUrlOptions) {\n if (gitRef) {\n return links.branchDeploymentProcessStepsPage.generateUrl({ spaceId, projectSlug, branchName: gitRef.CanonicalName }, { stepTemplates: true });\n }\n return links.deploymentProcessStepsPage.generateUrl({ spaceId, projectSlug }, { stepTemplates: true });\n}\ntype ContextAddStepNavigationButtonProps = AddRunbookStepButtonPropChanges & WithLabel & {\n gitRefResource: GitRefResource | undefined;\n};\nconst ContextAddStepNavigationButton: React.FC = (props) => {\n const processContext = useProcessContext();\n const processIdentifier = processContext.state.processIdentifier;\n if (isDeploymentProcessIdentifier(processIdentifier)) {\n return ;\n }\n if (isRunbookProcessIdentifier(processIdentifier)) {\n return ();\n }\n throw new Error(`Unhandled process identifier ${processIdentifier}`);\n};\nContextAddStepNavigationButton.displayName = \"ContextAddStepNavigationButton\"\nexport default ContextAddStepNavigationButton;\n","import type { CalloutType } from \"@octopusdeploy/design-system-components\";\nimport { ActionButton, ActionButtonType, Callout } from \"@octopusdeploy/design-system-components\";\nimport * as React from \"react\";\nimport { useProjectContext } from \"../../context\";\nexport const GitRepositoryErrorCallout: React.FC<{\n additionalIntroText?: string;\n calloutType?: CalloutType;\n}> = ({ additionalIntroText, calloutType }) => {\n const [showDetails, setShowDetails] = React.useState(false);\n const projectContext = useProjectContext();\n if (!projectContext.state.gitVariablesHasError) {\n // There is no exception (yet), so don't render anything.\n return null;\n }\n const errorMessageElements = projectContext.state.gitVariablesErrorMessages.map((errorMessage) =>
    {errorMessage}
    );\n return (\n
    There was an error retrieving the variables from the Git repository. {additionalIntroText}
    \n { setShowDetails(!showDetails)}/>}\n {showDetails && errorMessageElements}\n
    );\n};\nGitRepositoryErrorCallout.displayName = \"GitRepositoryErrorCallout\"\n","import type { PageAction, PrimaryPageAction, SimpleMenuItem } from \"@octopusdeploy/design-system-components\";\nimport type { GitRefResource, ProcessType } from \"@octopusdeploy/octopus-server-client\";\nimport { HasRunbooksInGit, Permission } from \"@octopusdeploy/octopus-server-client\";\nimport { links } from \"@octopusdeploy/portal-routes\";\nimport { exhaustiveCheck } from \"@octopusdeploy/type-utils\";\nimport type { ReactElement, ReactNode } from \"react\";\nimport * as React from \"react\";\nimport { Action, useProjectScopedAnalyticActionDispatch } from \"~/analytics/Analytics\";\nimport { isVersionControlledProcess, processScopedEditPermission } from \"~/areas/projects/components/Process/Common/CommonProcessHelpers\";\nimport type { DeploymentProcessIdentifier, ProcessIdentifier } from \"~/areas/projects/components/Process/types\";\nimport { isBlueprintProcessIdentifier, isDeploymentProcessIdentifier, isRunbookProcessIdentifier } from \"~/areas/projects/components/Process/types\";\nimport { RunbookPageContent } from \"~/areas/projects/components/Runbooks/Layouts/RunbookPageContent\";\nimport { AddRunbookProcessTemplateStepButton } from \"~/areas/projects/components/Steps/AddBlueprintStepButton\";\nimport { GitCallouts } from \"~/areas/projects/components/VersionControl/GitCallouts\";\nimport { useProjectContext } from \"~/areas/projects/context\";\nimport type { DoBusyTask } from \"~/components/DataBaseComponent\";\nimport { PageContent } from \"~/components/PageContent/PageContent\";\nimport { isAllowed, isAllowedToRunGitRunbook } from \"~/components/PermissionCheck/PermissionCheck\";\nimport { useOctopusFeatureToggle } from \"~/hooks/useOctopusFeatureToggle\";\nimport StringHelper from \"~/utils/StringHelper\";\nimport { LastPublishedChip } from \"../../Runbooks/LastPublishedChip\";\nimport PublishButton, { usePublishedRunbookSnapshotSetup } from \"../../Runbooks/PublishButton\";\nimport { getPermissionDeniedTooltipText, RunNowButton } from \"../../Runbooks/RunNowButton\";\nimport { useOptionalRunbookContext, useRunbookContext } from \"../../Runbooks/RunbookContext\";\nimport ContextAddStepNavigationButton from \"../../Steps/ContextAddStepNavigationButton\";\nimport { GitRepositoryErrorCallout } from \"../../Variables/GitRepositoryErrorCallout\";\nimport { useProcessContext } from \"../Contexts/ProcessContext\";\nexport interface ProcessContextPaperLayoutProps {\n children?: ReactNode;\n titleAccessory?: ReactElement;\n overflowActions?: SimpleMenuItem[];\n processIdentifier: ProcessIdentifier;\n doBusyTask: DoBusyTask;\n gitRefResource: GitRefResource | undefined;\n}\nexport const ProcessContextPaperLayout: React.FC = ({ children, doBusyTask, gitRefResource, processIdentifier, overflowActions, titleAccessory }) => {\n const processContext = useProcessContext();\n const hasSteps = processContext.selectors.hasSteps();\n const runbookContext = useOptionalRunbookContext();\n const runbookName = runbookContext?.state.runbook?.Name ?? StringHelper.ellipsis;\n if (isRunbookProcessIdentifier(processIdentifier)) {\n return (\n \n {children}\n );\n }\n if (isDeploymentProcessIdentifier(processIdentifier)) {\n return (\n \n {children}\n );\n }\n if (isBlueprintProcessIdentifier(processIdentifier)) {\n return <>{children};\n }\n exhaustiveCheck(processIdentifier, \"Unknown process type\");\n};\nProcessContextPaperLayout.displayName = \"ProcessContextPaperLayout\"\ninterface DeploymentProcessContextPaperLayoutProps {\n title: string;\n processIdentifier: DeploymentProcessIdentifier;\n gitRefResource: GitRefResource | undefined;\n titleAccessory?: ReactElement;\n overflowActions?: SimpleMenuItem[];\n children?: ReactNode;\n}\nconst DeploymentProcessContextPaperLayout: React.FC = ({ processIdentifier, title, titleAccessory, gitRefResource, children, overflowActions }) => {\n const processContext = useProcessContext();\n const projectContext = useProjectContext();\n const project = projectContext.state.model;\n const hasSteps: boolean = processContext.selectors.hasSteps();\n const dispatchAction = useProjectScopedAnalyticActionDispatch(projectContext.state.model.Id);\n const pageActions: PageAction[] = [];\n React.useEffect(() => {\n projectContext.actions.refreshGitVariableErrors();\n // We only want to check that the variables when this component is created. No need for any dependencies to trigger a re-check.\n // eslint-disable-next-line react-hooks/exhaustive-deps\n }, []);\n if (hasSteps || project?.IsVersionControlled) {\n const createReleaseButton: PageAction = {\n type: \"navigate\",\n buttonType: \"secondary\",\n label: \"Create Release\",\n path: links.createReleasePage.generateUrl({ spaceId: project.SpaceId, projectSlug: project.Slug }),\n onClick: () => dispatchAction(\"Create a release\", { resource: \"Create Release\", action: Action.Add }),\n hasPermissions: isAllowed({ permission: Permission.ReleaseCreate, project: project.Id, tenant: \"*\" }),\n };\n pageActions.push(createReleaseButton);\n }\n if (processContext.selectors.hasSteps()) {\n pageActions.push(getContextAddStepNavigationPageAction(processIdentifier.type, project.Id, gitRefResource));\n }\n return {children};\n};\nDeploymentProcessContextPaperLayout.displayName = \"DeploymentProcessContextPaperLayout\"\ninterface RunbooksProcessContextPaperLayoutProps extends ProcessContextPaperLayoutProps {\n title: string;\n hasSteps: boolean;\n doBusyTask: DoBusyTask;\n}\nconst RunbooksProcessContextPaperLayout: React.FC = ({ hasSteps, doBusyTask, processIdentifier, overflowActions, titleAccessory, title, gitRefResource, children }) => {\n const projectContext = useProjectContext();\n const project = projectContext.state.model;\n const runbooksContext = useRunbookContext();\n const runbook = runbooksContext.state.runbook;\n const gitRef = projectContext.state.gitRef ? projectContext.state.gitRef.CanonicalName : undefined;\n const allowedToRunOnCurrentBranch = isAllowedToRunGitRunbook(project, gitRef);\n const hasGitRunbooks = HasRunbooksInGit(project.PersistenceSettings);\n React.useEffect(() => {\n projectContext.actions.refreshGitVariableErrors();\n // We only want to check that the variables when this component is created. No need for any dependencies to trigger a re-check.\n // eslint-disable-next-line react-hooks/exhaustive-deps\n }, []);\n if (!runbook) {\n throw Error(\"runbook value should exist\");\n }\n const publishedRunbookAndTemplate = usePublishedRunbookSnapshotSetup(doBusyTask, runbook);\n const publishedRunbookSnapshot = publishedRunbookAndTemplate?.publishedRunbookSnapshot;\n const runbookRunTemplate = publishedRunbookAndTemplate?.runbookRunTemplate;\n const isRunbookRunTemplateModified = runbookRunTemplate && (runbookRunTemplate.IsRunbookProcessModified || runbookRunTemplate.IsVariableSetModified || runbookRunTemplate.IsLibraryVariableSetModified);\n const titleChip = publishedRunbookSnapshot && ;\n const processContext = useProcessContext();\n const isBlueprintsEnabled = useOctopusFeatureToggle(\"blueprints\", false);\n const runNowPageAction: PrimaryPageAction = {\n type: \"custom\",\n key: \"Run Now\",\n content: (),\n hasPermissions: isAllowed({ permission: Permission.RunbookRunCreate, project: project.Id, wildcard: true }),\n };\n const pageActions: PageAction[] = [];\n if (!isVersionControlledProcess(project.PersistenceSettings, processContext.state.processIdentifier.type)) {\n const publishAction: PageAction = {\n type: \"custom\",\n key: \"Publish\",\n content: ,\n hasPermissions: isAllowed({ permission: Permission.RunbookEdit, project: project.Id, wildcard: true }),\n };\n pageActions.push(publishAction);\n }\n const addStepAction = getContextAddStepNavigationPageAction(processIdentifier.type, project.Id, gitRefResource);\n pageActions.push(addStepAction);\n if (isBlueprintsEnabled) {\n const addProcessTemplateStepButton: PageAction = {\n type: \"custom\",\n key: \"Add Process Template\",\n content: ,\n hasPermissions: isAllowed({ permission: Permission.RunbookEdit, project: project.Id, wildcard: true }),\n };\n pageActions.push(addProcessTemplateStepButton);\n }\n return (\n \n {children}\n );\n};\nRunbooksProcessContextPaperLayout.displayName = \"RunbooksProcessContextPaperLayout\"\nfunction getContextAddStepNavigationPageAction(processType: ProcessType, projectId: string, gitRefResource: GitRefResource | undefined): PageAction {\n return {\n type: \"custom\",\n key: \"Context Add Step Navigation\",\n content: ,\n hasPermissions: isAllowed({\n permission: processScopedEditPermission(processType),\n project: projectId,\n wildcard: true,\n }),\n };\n}\n","import { EmptyStateProcessIllustration, NavigationButton, NavigationButtonType } from \"@octopusdeploy/design-system-components\";\nimport type { GitRef } from \"@octopusdeploy/octopus-server-client\";\nimport { links } from \"@octopusdeploy/portal-routes\";\nimport * as React from \"react\";\nimport ActionList from \"~/components/ActionList/ActionList\";\nimport OnboardingPage from \"~/components/GettingStarted/OnboardingPage\";\ninterface OnboardingProps {\n slug: string;\n gitRef: GitRef | undefined;\n}\nconst ProcessTemplateOnboarding = ({ slug, gitRef }: OnboardingProps) => {\n const createProcessHref = links.editProcessTemplatePage.generateUrl({ slug }, { gitRef, stepTemplates: true });\n return (} image={} actionButtons={]}/>}/>);\n};\nexport default ProcessTemplateOnboarding;\n","import * as React from \"react\";\nimport type { SvgImageProps } from \"../../../primitiveComponents/dataDisplay/SvgImage/SvgImage\";\nimport SvgImage from \"../../../primitiveComponents/dataDisplay/SvgImage/SvgImage\";\nimport styles from \"../../../primitiveComponents/dataDisplay/SvgImage/styles.module.less\";\nconst StepRolling = (props: Partial) => (\n \n \n \n \n );\nexport { StepRolling };\n","import type { DeploymentActionResource } from \"@octopusdeploy/octopus-server-client\";\nimport { getProcessTemplateIdFromAction } from \"~/areas/projects/components/Process/Blueprints/processTemplateId\";\nimport { client, repository } from \"~/clientInstance\";\nexport default function getActionLogoUrl(action: DeploymentActionResource | null) {\n if (!action || !action.Properties) {\n return \"\";\n }\n const templateId = action.Properties[\"Octopus.Action.Template.Id\"];\n const version = action.Properties[\"Octopus.Action.Template.Version\"];\n const stepPackageVersion = action.StepPackageVersion;\n if (action.ActionType === \"Octopus.ProcessTemplate\" && repository.spaceId) {\n const processTemplateId = getProcessTemplateIdFromAction(action, true);\n if (processTemplateId) {\n return `~/bff/processtemplates/${processTemplateId}/icon`;\n }\n }\n if (stepPackageVersion !== undefined) {\n const majorVersion = stepPackageVersion.split(\".\")[0];\n return client.resolveLinkTemplate(\"ActionTemplateVersionedLogo\", { typeOrId: action.ActionType, version: majorVersion });\n }\n return templateId ? client.resolveLinkTemplate(\"ActionTemplateVersionedLogo\", { typeOrId: templateId, version }) : client.resolveLinkTemplate(\"ActionTemplateLogo\", { typeOrId: action.ActionType });\n}\n","/* eslint-disable @typescript-eslint/no-non-null-assertion */\nimport type { LinkHref } from \"@octopusdeploy/portal-routes\";\nimport { nameForLink, resolveStringPathWithSpaceId, useDispatchLinkClicked } from \"@octopusdeploy/portal-routes\";\nimport * as React from \"react\";\nimport { NavLink, useParams } from \"react-router-dom\";\nimport type { LinkEvent } from \"~/analytics/Analytics\";\nimport { useUrlResolver } from \"~/components/Navigation/useUrlResolver\";\nimport { useIsPortalUrlActive } from \"../useIsPortalUrlActive\";\ninterface InternalNavLinkProps extends React.HTMLProps {\n className?: string;\n activeClassName?: string;\n to: LinkHref;\n exact?: boolean;\n}\nconst InternalNavLink = (props: InternalNavLinkProps) => {\n const params = useParams<{\n spaceId?: string;\n }>();\n const urlResolver = useUrlResolver();\n const resolvedTo = typeof props.to === \"string\" ? resolveStringPathWithSpaceId(props.to, params.spaceId) : urlResolver.resolve(props.to);\n const dispatchLink = useDispatchLinkClicked();\n const isUrlActive = useIsPortalUrlActive();\n /* eslint-disable react/forbid-elements */\n return ( isUrlActive(props.to, props.exact)} activeClassName={props.activeClassName} onClick={(e) => {\n const ev: LinkEvent = {\n linkLabel: e.currentTarget.innerText ?? \"\",\n documentUrl: undefined,\n };\n dispatchLink(nameForLink(), ev);\n }}>\n {props.children}\n );\n};\nexport default InternalNavLink;\n","/* eslint-disable @typescript-eslint/no-non-null-assertion */\nimport { css, cx } from \"@emotion/css\";\nimport { Tooltip } from \"@octopusdeploy/design-system-components\";\nimport { borderRadius } from \"@octopusdeploy/design-system-tokens\";\nimport type { LinkHref } from \"@octopusdeploy/portal-routes\";\nimport classNames from \"classnames\";\nimport * as React from \"react\";\nimport { client } from \"~/clientInstance\";\nimport InternalNavLink from \"~/components/Navigation/InternalNavLink/InternalNavLink\";\nimport styles from \"./style.module.less\";\ninterface LogoProps {\n url: string;\n size?: string;\n isDisabled?: boolean;\n editLink?: LinkHref;\n className?: string;\n isSquare?: boolean;\n}\nfunction Logo({ url, size = \"3.1rem\", isDisabled, editLink, className, isSquare }: LogoProps) {\n const [shouldShowImage, setShouldShowImage] = React.useState(false);\n const placeholderRef = React.useRef(null);\n useOnVisibilityChanged(placeholderRef, (isVisible) => {\n if (isVisible) {\n setShouldShowImage(isVisible);\n }\n });\n if (!url) {\n return
    ;\n }\n const resolvedUrl = url.startsWith(\"~\") || url.startsWith(\"/\") ? client.resolve(url) : url;\n const sizeStyles = css({\n width: size,\n height: size,\n });\n const logoPlaceholder =
    ;\n const logoImage = \"Logo\"/;\n const content = shouldShowImage ? logoImage : logoPlaceholder;\n const borderRadiusStyling = css({\n borderRadius: isSquare ? borderRadius.small : \"3.75rem\",\n });\n return (
    \n {editLink ? (\n \n {content}\n \n ) : (content)}\n
    );\n}\nfunction useOnVisibilityChanged(elementRef: React.RefObject, callback: (isVisible: boolean) => void) {\n React.useEffect(() => {\n const observer = new IntersectionObserver(([entry]) => {\n callback(entry.isIntersecting);\n });\n const currentElement = elementRef?.current;\n if (currentElement) {\n observer.observe(currentElement);\n }\n return () => {\n observer.disconnect();\n };\n }, [callback, elementRef]);\n}\nexport default Logo;\n","import Logo from \"./Logo\";\nexport default Logo;\n","import { Tooltip } from \"@octopusdeploy/design-system-components\";\nimport React from \"react\";\nimport { useOctopusTheme } from \"~/components/Theme\";\nimport styles from \"./ProcessActionErrorIndicator.module.less\";\ninterface ProcessActionErrorIndicatorProps {\n actionErrors: string[];\n accessibleName?: string;\n}\nexport const ProcessActionErrorIndicator: React.FC = ({ actionErrors, accessibleName }) => {\n const theme = useOctopusTheme();\n const items = actionErrors.map((x, index) =>
  • {x}
  • );\n return ({items}}>\n
    \n \n
    \n
    );\n};\nProcessActionErrorIndicator.displayName = \"ProcessActionErrorIndicator\"\n","import { css } from \"@emotion/css\";\nimport { Tooltip } from \"@octopusdeploy/design-system-components\";\nimport { ExclamationTriangleIcon } from \"@octopusdeploy/design-system-icons\";\nimport { space, themeTokens } from \"@octopusdeploy/design-system-tokens\";\nimport type { ReactNode } from \"react\";\nimport React from \"react\";\nimport styles from \"./ProcessActionErrorIndicator.module.less\";\ninterface ProcessActionWarningIndicatorProps {\n actionWarnings: (string | ReactNode)[];\n accessibleName?: string;\n}\nconst iconStyles = css({\n marginRight: space[8],\n paddingBottom: space[1], // visually align the warning icon\n});\nconst containerStyles = css({\n alignSelf: \"center\",\n display: \"flex\",\n});\nexport const ProcessActionWarningIndicator: React.FC = ({ actionWarnings, accessibleName }) => {\n const items = actionWarnings.map((x, index) =>
  • {x}
  • );\n return (
    \n {items}}>\n
    \n \n
    \n
    \n
    );\n};\nProcessActionWarningIndicator.displayName = \"ProcessActionWarningIndicator\"\n","/* eslint-disable @octopusdeploy/custom-portal-rules/no-restricted-imports */\nimport type { TooltipPosition } from \"@octopusdeploy/design-system-components\";\nimport { IconButton, LegacyListItemButton, Tooltip } from \"@octopusdeploy/design-system-components\";\nimport cn from \"classnames\";\nimport * as React from \"react\";\nimport MediaQuery from \"react-responsive\";\nimport Logo from \"~/components/Logo\";\nimport { ProcessActionErrorIndicator } from \"../ErrorIndicators/ProcessActionErrorIndicator\";\nimport { ProcessActionWarningIndicator } from \"../ErrorIndicators/ProcessActionWarningIndicator\";\nimport type { CommonProcessListItemProps } from \"./ProcessListItem\";\nimport styles from \"./ProcessListItemForSidebar.module.less\";\ninterface ProcessListItemForSidebarProps extends CommonProcessListItemProps {\n className?: string;\n isCurrentAction: boolean;\n onShowContextMenu?: React.MouseEventHandler;\n onClick: () => void;\n}\nexport const toolTipBreakpoint = \"1279px\";\nconst renderLogoOrIcon = (actionType: string | JSX.Element, logoUrl: string | undefined, isDisabled: boolean, icon: JSX.Element | undefined, toolTipPosition: TooltipPosition | undefined) => {\n return (\n
    {logoUrl ? : icon}
    \n
    );\n};\nconst ProcessListItemForSidebar: React.FC = ({ name, index, isCurrentAction, isDisabled, isParentGroup, isRunInParallelWithLast, actionErrors, actionWarnings, actionType, logoUrl, icon, onShowContextMenu: onContextMenu, onClick, }) => {\n return (\n {isRunInParallelWithLast && (\n {(matches: boolean) => {\n const toolTipPosition = matches ? \"left\" : undefined;\n return (
    \n \n
    \n
    \n
     
    \n
    \n
    \n
    \n {renderLogoOrIcon(actionType, logoUrl, isDisabled, icon, toolTipPosition)}\n
    );\n }}\n
    )}\n {!isRunInParallelWithLast && (\n {(matches: boolean) => {\n const toolTipPosition = matches ? \"left\" : undefined;\n return renderLogoOrIcon(actionType, logoUrl, isDisabled, icon, toolTipPosition);\n }}\n )}\n {withDisabledTooltipWrapper(
    \n
    {index}
    \n
    {name}
    \n
    , isDisabled)}\n {actionErrors.length > 0 && }\n {actionWarnings.length > 0 && }\n \n
    );\n};\nProcessListItemForSidebar.displayName = \"ProcessListItemForSidebar\"\nfunction withDisabledTooltipWrapper(children: React.ReactNode, isDisabled: boolean) {\n if (isDisabled) {\n return (\n {children}\n );\n }\n return children;\n}\ntype StepLinkProps = React.PropsWithChildren<{\n isDisabled: boolean;\n isCurrentAction: boolean;\n isParentGroup: boolean;\n onClick: () => void;\n}>;\nconst StepLinkInternal: React.FC = ({ children, isDisabled, isCurrentAction, isParentGroup, onClick }) => {\n return (\n
    \n {children}\n );\n};\nStepLinkInternal.displayName = \"StepLinkInternal\"\nconst StepLink = React.memo(StepLinkInternal);\nexport default React.memo(ProcessListItemForSidebar);\n","import type { TooltipPosition } from \"@octopusdeploy/design-system-components\";\nimport { ActionButton, ActionButtonType, Tooltip } from \"@octopusdeploy/design-system-components\";\nimport type { ChannelResource, EnvironmentResource } from \"@octopusdeploy/octopus-server-client\";\nimport type { LinkHref } from \"@octopusdeploy/portal-routes\";\nimport cn from \"classnames\";\nimport React from \"react\";\nimport type { ReactNode } from \"react\";\nimport MediaQuery from \"react-responsive\";\nimport { ChannelChip, EnvironmentChip, MissingChip, ChipIcon, ContextualMissingChip, DisabledChip } from \"~/components/Chips/index\";\nimport FeatureToggle, { Feature } from \"~/components/FeatureToggle/FeatureToggle\";\nimport Logo from \"~/components/Logo\";\nimport InternalLink from \"~/components/Navigation/InternalLink\";\nimport TenantTagsList from \"~/components/TenantTagsList/TenantTagsList\";\nimport Markdown from \"../../../../../components/Markdown\";\nimport styles from \"./ProcessListItem.module.less\";\nimport { toolTipBreakpoint } from \"./ProcessListItemForSidebar\";\nimport { truncateActionNotes } from \"./truncateActionNotes\";\nexport interface CommonProcessListItemProps {\n name: string;\n actionType: string | JSX.Element;\n logoUrl?: string;\n icon?: JSX.Element;\n index: string;\n children?: React.ReactNode;\n isDisabled: boolean;\n notes: string | null;\n isParentGroup: boolean;\n isRunInParallelWithLast?: boolean;\n actionErrors: string[];\n actionWarnings: (string | ReactNode)[];\n}\ninterface ChannelsLookup {\n Key: string;\n Channel: ChannelResource;\n}\ninterface EnvironmentsLookup {\n Key: string;\n Environment: EnvironmentResource;\n}\ninterface ProcessListItemProps extends CommonProcessListItemProps, StepDetailedSummaryProps {\n detailsUrl: LinkHref;\n}\ninterface ListItemMenuTooltipPositionRenderProps {\n toolTipPosition: TooltipPosition;\n}\ninterface BreakpointTooltipPositionProps {\n children: (props: ListItemMenuTooltipPositionRenderProps) => React.ReactNode;\n}\nconst BreakpointTooltipPosition: React.FC = ({ children }) => {\n return (\n {(matches: boolean) => {\n const toolTipPosition = matches ? \"left\" : \"right\";\n return children({ toolTipPosition });\n }}\n );\n};\nBreakpointTooltipPosition.displayName = \"BreakpointTooltipPosition\"\nconst StepLogoContainer: React.FC = (props) =>
    {props.children}
    ;\nStepLogoContainer.displayName = \"StepLogoContainer\"\ninterface StepIndicatorProps {\n tooltipPosition: TooltipPosition;\n tooltipContent: string | React.ReactElement;\n icon: React.ReactElement | undefined;\n}\ntype ParallelIndicatorProps = StepIndicatorProps;\nconst ParallelStepIndicator: React.FC = ({ icon, tooltipPosition, tooltipContent }) => {\n return (
    \n \n
    \n
    \n
     
    \n
    \n
    \n
    \n \n {icon}\n \n
    );\n};\nParallelStepIndicator.displayName = \"ParallelStepIndicator\"\ntype SequentialStepIndicatorProps = StepIndicatorProps;\nconst SequentialStepIndicator: React.FC = ({ tooltipPosition, tooltipContent, icon }) => (\n {icon}\n );\nSequentialStepIndicator.displayName = \"SequentialStepIndicator\"\nconst StepLinkContent: React.FC<{\n stepNumber: string;\n isDisabled: boolean;\n name: React.ReactNode;\n}> = (props) => {\n return (
    \n
    {props.stepNumber}
    \n
    \n
    \n {props.name}\n {props.isDisabled && (<>\n  \n \n )}\n
    \n {props.children}\n
    \n
    );\n};\nStepLinkContent.displayName = \"StepLinkContent\"\ninterface StepDetailedSummaryProps {\n environmentsLookup?: EnvironmentsLookup[];\n excludedEnvironmentsLookup?: EnvironmentsLookup[];\n channelsLookup?: ChannelsLookup[];\n tags?: string[];\n}\ninterface StepNotesProps {\n notes: string | null;\n}\nconst getChipForEnvironment = (lookupKey: string, environment: EnvironmentResource, isExcluded: boolean) => {\n return environment ? : ;\n};\nconst getChipForChannel = (lookupKey: string, channel: ChannelResource) => {\n return channel ? : ;\n};\nconst StepSummary: React.FC = (props) =>
    {props.children}
    ;\nStepSummary.displayName = \"StepSummary\"\nconst StepNotes: React.FC = (props) => {\n const [showFullNotes, setShowFullNotes] = React.useState(false);\n const [notes, isTruncated] = truncateActionNotes(props.notes, 15);\n return (
    \n {notes && (
    \n {showFullNotes ? () : (
    \n \n {isTruncated && setShowFullNotes(true)} label=\"Show more\"/>}\n
    )}\n
    )}\n
    );\n};\nStepNotes.displayName = \"StepNotes\"\nconst StepAnnexDetail: React.FC = (props) => {\n return (
    \n {props.environmentsLookup && props.environmentsLookup.map((e) => getChipForEnvironment(e.Key, e.Environment, false))}\n {props.excludedEnvironmentsLookup && props.excludedEnvironmentsLookup.map((e) => getChipForEnvironment(e.Key, e.Environment, true))}\n {props.channelsLookup && props.channelsLookup.map((ch) => getChipForChannel(ch.Key, ch.Channel))}\n \n {props.tags && props.tags.length > 0 && }\n \n
    );\n};\nStepAnnexDetail.displayName = \"StepAnnexDetail\"\ntype LogoOrIconProps = Pick;\nconst renderLogoOrIcon = (props: LogoOrIconProps) => {\n return props.logoUrl ? : props.icon;\n};\nconst ProcessListItemInternal: React.FC = (props) => {\n const processListItemNameSpan = {props.name};\n return (\n \n {({ toolTipPosition }) => (\n {props.isRunInParallelWithLast && }\n {!props.isRunInParallelWithLast && }\n )}\n \n \n
    \n \n {props.children}\n \n \n \n
    \n
    \n
    );\n};\nProcessListItemInternal.displayName = \"ProcessListItemInternal\"\nconst ProcessListItem = React.memo(ProcessListItemInternal);\nconst StepLink: React.FC<{\n isDisabled: boolean;\n detailsUrl: LinkHref;\n isParentGroup: boolean;\n}> = ({ detailsUrl, isDisabled, isParentGroup, children }) => {\n return (\n
    \n {children}\n );\n};\nStepLink.displayName = \"StepLink\"\nexport default ProcessListItem;\n","export function truncateActionNotes(originalNotes: string | null, numOfLinesToShow: number): [\n string | null,\n boolean\n] {\n const lines = originalNotes ? originalNotes.split(/\\r\\n|\\r|\\n/, numOfLinesToShow + 1) : [];\n if (lines.length > numOfLinesToShow) {\n const truncated = lines.slice(0, numOfLinesToShow);\n return [truncated.join(\"\\n\"), true];\n }\n return [originalNotes, false];\n}\n","/* eslint-disable @typescript-eslint/consistent-type-assertions */\nimport { css } from \"@emotion/css\";\nimport { space } from \"@octopusdeploy/design-system-tokens\";\nimport type { ActionProperties, DeploymentActionResource, DeploymentStepResource, BlueprintResource, GitRefResource } from \"@octopusdeploy/octopus-server-client\";\nimport { Permission, StartTrigger, SpecialVariables } from \"@octopusdeploy/octopus-server-client\";\nimport { links } from \"@octopusdeploy/portal-routes\";\nimport React, { useState } from \"react\";\nimport { getProcessTemplateCommitFromAction } from \"~/areas/projects/components/Process/Blueprints/processTemplateId\";\nimport Roles from \"~/components/Actions/Roles\";\nimport type { ActionPlugin } from \"~/components/Actions/pluginRegistry\";\nimport pluginRegistry from \"~/components/Actions/pluginRegistry\";\nimport Chip from \"~/components/Chips/Chip\";\nimport type { DoBusyTask } from \"~/components/DataBaseComponent/index\";\nimport { useDoBusyTaskEffect } from \"~/components/DataBaseComponent/index\";\nimport { StepRolling } from \"~/components/Images/Process/StepRolling\";\nimport InternalLink from \"~/components/Navigation/InternalLink/index\";\nimport { isAllowed } from \"~/components/PermissionCheck/PermissionCheck\";\nimport getActionLogoUrl from \"../../getActionLogoUrl\";\nimport { useProcessContext } from \"../Contexts/ProcessContext\";\nimport { useProcessErrorSelectors } from \"../Contexts/ProcessErrors/ProcessErrorsContext\";\nimport { useProcessWarningSelectors } from \"../Contexts/ProcessWarnings/ProcessWarningsContext\";\nimport type { ProcessListLayoutLoaderLookupData } from \"../ProcessListLayoutLoader\";\nimport type { StoredStep, StoredAction, ProcessIdentifier } from \"../types\";\nimport { isRunbookProcessIdentifier, isDeploymentProcessIdentifier } from \"../types\";\nimport ProcessListItem from \"./ProcessListItem\";\nimport processListItemStyles from \"./ProcessListItem.module.less\";\ninterface ProcessListPageListItemForBlueprintProps {\n lookups: ProcessListLayoutLoaderLookupData;\n step: StoredStep;\n containingProcessTemplateAction: StoredAction;\n doBusyTask: DoBusyTask;\n blueprint: BlueprintResource;\n gitRefResource: GitRefResource | undefined;\n}\nconst ProcessListPageListItemForBlueprint: React.FC = ({ lookups, step, containingProcessTemplateAction, doBusyTask, blueprint, gitRefResource }) => {\n const processContext = useProcessContext();\n const { selectors } = processContext;\n const processErrorSelectors = useProcessErrorSelectors();\n const errors = processErrorSelectors.getActionErrors(containingProcessTemplateAction.Id, selectors);\n const processWarningSelectors = useProcessWarningSelectors();\n const warnings = processWarningSelectors.getActionWarnings(containingProcessTemplateAction.Id, selectors);\n const blueprintCommit = getProcessTemplateCommitFromAction(containingProcessTemplateAction);\n const feedViewPermissionGranted = isAllowed({ permission: Permission.FeedView, wildcard: true });\n const environmentsById = lookups.environmentsById;\n const channelsById = lookups.channelsById;\n const stepNumber = selectors.getStepNumber(step.Id);\n const maxParallelism = step.Properties[SpecialVariables.Action.MaxParallelism];\n const showWindowSize = typeof maxParallelism === \"string\" && maxParallelism ? maxParallelism.length > 0 : false;\n const parentStepLabel = React.useMemo(() => showWindowSize ? (Rolling deployment) : (\n Multi-step deployment across\n
    \n deployment targets\n
    ), [showWindowSize]);\n const rollingStepIcon = React.useMemo(() => , []);\n const stepErrors = processErrorSelectors.getStepErrors(step.Id);\n const stepWarnings = processWarningSelectors.getStepWarnings(step.Id);\n function isParentDisabled(step: DeploymentStepResource): boolean {\n const disabledSteps: DeploymentActionResource[] = [];\n step.Actions.map((a: DeploymentActionResource) => {\n if (a.IsDisabled) {\n disabledSteps.push(a);\n }\n });\n return disabledSteps.length === step.Actions.length;\n }\n function getTags(action: DeploymentActionResource): string[] {\n return action.TenantTags;\n }\n return (
    \n \n
    {`Process Template: ${blueprint.Name}`}
    \n
    \n {blueprint.Steps.map((deploymentStep, index) => {\n const actionNumber = index + 1;\n if (deploymentStep.Actions.length === 1) {\n const blueprintAction = deploymentStep.Actions[0];\n return ( ({\n Key: key,\n Environment: environmentsById[key],\n }))\n : undefined} excludedEnvironmentsLookup={environmentsById\n ? blueprintAction.ExcludedEnvironments.map((key) => ({\n Key: key,\n Environment: environmentsById[key],\n }))\n : undefined} channelsLookup={channelsById\n ? blueprintAction.Channels.map((key) => ({\n Key: key,\n Channel: channelsById[key],\n }))\n : undefined} tags={getTags(blueprintAction)} isDisabled={blueprintAction.IsDisabled || selectors.isActionDisabled(containingProcessTemplateAction.Id)} notes={blueprintAction.Notes} actionErrors={errors} actionWarnings={warnings} index={`${stepNumber}.${actionNumber}.`} detailsUrl={getDetailsUrl(processContext.state.processIdentifier, gitRefResource, blueprint.Slug, blueprintCommit, undefined, blueprintAction.Id, containingProcessTemplateAction.Id)} isParentGroup={false} name={blueprintAction.Name} isRunInParallelWithLast={deploymentStep.StartTrigger === StartTrigger.StartWithPrevious && !(actionNumber === 1)} key={deploymentStep.Id}>\n
    \n \n {blueprintAction.Container.Image && blueprintAction.Container.FeedId && blueprintAction.Properties[\"Octopus.Action.RunOnServer\"] === \"true\" ? (\n Runs in a container\n ) : (\"\")}\n
    \n
    );\n }\n else {\n return (
    \n \n {deploymentStep.Properties[SpecialVariables.Action.MaxParallelism] ? Rolling deployment : Multi-step deployment}\n  across deployment targets with \n \n \n {deploymentStep.Actions.map((blueprintAction, childIndex) => {\n const childNumber = childIndex + 1;\n return ( ({\n Key: key,\n Environment: environmentsById[key],\n }))\n : undefined} excludedEnvironmentsLookup={environmentsById\n ? blueprintAction.ExcludedEnvironments.map((key) => ({\n Key: key,\n Environment: environmentsById[key],\n }))\n : undefined} channelsLookup={channelsById\n ? blueprintAction.Channels.map((key) => ({\n Key: key,\n Channel: channelsById[key],\n }))\n : undefined} tags={getTags(blueprintAction)} isDisabled={blueprintAction.IsDisabled || selectors.isActionDisabled(containingProcessTemplateAction.Id)} notes={blueprintAction.Notes} actionErrors={errors} actionWarnings={warnings} index={`${stepNumber}.${actionNumber}.${childNumber}.`} detailsUrl={getDetailsUrl(processContext.state.processIdentifier, gitRefResource, blueprint.Slug, blueprintCommit, undefined, blueprintAction.Id, containingProcessTemplateAction.Id)} isParentGroup={false} name={blueprintAction.Name} isRunInParallelWithLast={false}>\n
    \n \n {blueprintAction.Container.Image && blueprintAction.Container.FeedId && blueprintAction.Properties[\"Octopus.Action.RunOnServer\"] === \"true\" ? (\n Runs in a container\n ) : (\"\")}\n
    \n
    );\n })}\n
    );\n }\n })}\n
    );\n};\nProcessListPageListItemForBlueprint.displayName = \"ProcessListPageListItemForBlueprint\"\nconst getDetailsUrl = (processIdentifier: ProcessIdentifier, gitRef: GitRefResource | undefined, blueprintSlug: string, blueprintCommit: string, blueprintParentStepId: string | undefined, blueprintActionId: string | undefined, actionId: string | undefined) => {\n if (isDeploymentProcessIdentifier(processIdentifier)) {\n return gitRef\n ? links.branchDeploymentProcessStepsPage.generateUrl({ spaceId: processIdentifier.spaceId, projectSlug: processIdentifier.projectSlug, branchName: gitRef.CanonicalName }, { blueprintSlug, blueprintCommit, blueprintParentStepId, blueprintActionId, actionId })\n : links.deploymentProcessStepsPage.generateUrl({ spaceId: processIdentifier.spaceId, projectSlug: processIdentifier.projectSlug }, { blueprintSlug, blueprintCommit, blueprintParentStepId, blueprintActionId, actionId });\n }\n else if (isRunbookProcessIdentifier(processIdentifier)) {\n return links.projectRunbookProcessStepsPage.generateUrl({ spaceId: processIdentifier.spaceId, projectSlug: processIdentifier.projectSlug, runbookId: processIdentifier.runbookId, processId: processIdentifier.id }, { blueprintSlug, blueprintCommit, blueprintParentStepId, blueprintActionId, actionId });\n }\n else {\n throw new Error(`Blueprints aren't allowed here. Unknown process identifier ${processIdentifier}`);\n }\n};\nconst styles = {\n blueprintHeading: css({\n display: \"flex\",\n gap: space[16],\n padding: space[16],\n color: \"var(--linkText)\",\n fontWeight: \"500\",\n fontSize: \"1rem\",\n borderTop: \"0.1rem solid var(--dividerLight)\",\n borderBottom: \"0.0625rem solid var(--dividerLight)\",\n position: \"relative\",\n zIndex: \"0\",\n backgroundColor: \"var(--secondaryBackground)\",\n \":hover\": {\n backgroundColor: \"var(--hover)\",\n },\n }),\n blueprintContainer: css({\n display: \"flex\",\n flexDirection: \"column\",\n backgroundColor: \"var(--secondaryBackground)\",\n borderBottom: \"0.1rem solid var(--dividerLight)\",\n }),\n};\ninterface StepSummaryProps {\n action: DeploymentActionResource;\n doBusyTask: DoBusyTask;\n lookups: ProcessListLayoutLoaderLookupData;\n isChildAction: boolean;\n}\nfunction StepSummary({ action, doBusyTask, lookups, isChildAction }: StepSummaryProps) {\n const [actionPlugin, setActionPlugin] = useState>> | undefined>();\n useDoBusyTaskEffect(doBusyTask, async () => {\n const actionPlugin = await pluginRegistry.getAction(action.ActionType, action.StepPackageVersion);\n setActionPlugin(actionPlugin);\n }, []);\n if (!actionPlugin) {\n return null;\n }\n return (<>\n {actionPlugin.summary(action.Properties, isChildAction ? \"\" : (action.Properties[SpecialVariables.Action.TargetRoles] as string), action.Packages, action.WorkerPoolId ? lookups.workerPoolsById[action.WorkerPoolId] : undefined, action.WorkerPoolVariable ?? undefined, action.GitDependencies ?? undefined)}\n );\n}\nexport default ProcessListPageListItemForBlueprint;\n","import { css } from \"@emotion/css\";\nimport { ActionButton, ActionButtonType } from \"@octopusdeploy/design-system-components\";\nimport { space, text, themeTokens } from \"@octopusdeploy/design-system-tokens\";\nimport type { ProjectResource } from \"@octopusdeploy/octopus-server-client\";\nimport { links } from \"@octopusdeploy/portal-routes\";\nimport React, { useEffect, useState } from \"react\";\nimport { Action } from \"~/analytics/Analytics\";\nimport { SampleProjectTourContext } from \"~/areas/projects/components/ProjectLayout/SampleProjectTour/SampleProjectTour\";\nimport { useSpaceAwareNavigation } from \"~/components/Navigation/SpaceAwareNavigation/useSpaceAwareNavigation\";\nimport OnboardingDialog from \"~/components/OnboardingDialog/OnboardingDialog\";\nimport { OnboardingDialogLayout } from \"~/components/OnboardingDialog/OnboardingDialogLayout\";\nimport { useRequiredContext } from \"~/hooks/index\";\nimport ImageTourComplete from \"./Assets/TourComplete.svg\";\nexport interface SampleProjectCompleteDialogProps {\n project: ProjectResource;\n open: boolean;\n onCloseDialog: () => void;\n}\nexport function SampleProjectCompleteDialog({ project, open, onCloseDialog }: SampleProjectCompleteDialogProps) {\n const { dispatchAnalyticsEventForCurrentState } = useRequiredContext(SampleProjectTourContext);\n const navigation = useSpaceAwareNavigation();\n useEffect(() => {\n if (open) {\n dispatchAnalyticsEventForCurrentState(\"Sample Project Tour: Completed\", Action.View, \"SampleProjectTourComplete\");\n }\n // eslint-disable-next-line react-hooks/exhaustive-deps\n }, [open]);\n const styles = {\n title: css({\n font: text.heading.large,\n margin: 0,\n }),\n contentPanel: css({\n height: \"100%\",\n display: \"flex\",\n flexDirection: \"column\",\n justifyContent: \"space-between\",\n }),\n content: css({\n display: \"flex\",\n flexDirection: \"column\",\n gap: space[16],\n }),\n text: css({ font: text.body.regular.large }),\n checklist: css({\n backgroundColor: themeTokens.color.background.secondary.default,\n padding: space[12],\n display: \"flex\",\n flexDirection: \"column\",\n gap: space[12],\n }),\n };\n const handleCloseDialog = () => {\n dispatchAnalyticsEventForCurrentState(\"Sample Project Tour: 'Let's go' Clicked\", Action.Select, \"SampleProjectTourComplete\");\n onCloseDialog();\n document.documentElement.scrollTop = 0;\n document.body.scrollTop = 0;\n navigation.navigate(links.deploymentsPage.generateUrl({ spaceId: project.SpaceId, projectSlug: project.Slug }));\n };\n const handleFeedbackSelection = (value: \"Yes\" | \"No\") => {\n dispatchAnalyticsEventForCurrentState(`Sample Project Tour: Helpfulness '${value}' Clicked`, Action.Select, \"SampleProjectTourComplete\");\n };\n return (} helpPanelShowToggle={false}>\n Congratulations} actions={}>\n
    \n
    \n
    You now know the basics of a project. We covered:
    \n
    \n Viewing your software releases\n Progressing releases through environments\n Building your deployment process\n Managing variables\n Performing operations with runbooks\n
    \n
    It’s your turn to play around and apply what you learned. If you need any help along the way, look to the Help Sidebar on the right to watch video tutorials and read related docs.
    \n
    \n \n
    \n
    \n
    );\n}\nfunction TourComplete() {\n const styles = {\n wrapper: css({\n height: \"100%\",\n width: \"100%\",\n display: \"flex\",\n justifyContent: \"center\",\n alignItems: \"center\",\n }),\n };\n return (
    \n \"Tour\n
    );\n}\nfunction ListItem({ children }: {\n children: string;\n}) {\n const style = css({\n display: \"flex\",\n flexDirection: \"row\",\n alignItems: \"center\",\n gap: space[8],\n font: text.body.regular.large,\n });\n return (
    \n \n {children}\n
    );\n}\nfunction CheckIcon() {\n const style = css({\n color: themeTokens.color.icon.success,\n lineHeight: \"initial\",\n height: 24,\n width: 24,\n });\n return ;\n}\ntype FeedbackStates = \"show-question\" | \"hidden-question\" | \"hidden-thankyou\" | \"show-thankyou\";\ninterface FeedbackProps {\n onSelection: (value: \"Yes\" | \"No\") => void;\n}\nfunction Feedback({ onSelection }: FeedbackProps) {\n const [contentState, setContentState] = useState(\"show-question\");\n const styles = {\n container: css({\n display: \"flex\",\n flexDirection: \"column\",\n justifyContent: \"center\",\n gap: space[8],\n padding: space[12],\n height: 92,\n transition: \"opacity 300ms\",\n transitionTimingFunction: \"ease-in-out\",\n }),\n text: css({\n font: text.body.regular.medium,\n color: themeTokens.color.text.secondary,\n textAlign: \"center\",\n }),\n buttonGroup: css({\n display: \"flex\",\n flexDirection: \"row\",\n gap: space[8],\n justifyContent: \"center\",\n }),\n };\n const nextState = (currentState: FeedbackStates) => {\n switch (currentState) {\n case \"show-question\":\n return \"hidden-question\";\n case \"hidden-question\":\n return \"hidden-thankyou\";\n case \"hidden-thankyou\":\n return \"show-thankyou\";\n default:\n return undefined;\n }\n };\n const animate = (state: FeedbackStates) => {\n const next = nextState(state);\n if (next !== undefined) {\n setContentState(next);\n setTimeout(() => animate(next), 300);\n }\n };\n const handleSelection = (value: \"Yes\" | \"No\") => {\n onSelection(value);\n animate(contentState);\n };\n const showQuestion = contentState === \"show-question\" || contentState === \"hidden-question\";\n const showThankyou = contentState === \"hidden-thankyou\" || contentState === \"show-thankyou\";\n const hideContent = () => contentState === \"hidden-question\" || contentState === \"hidden-thankyou\";\n return (<>\n {showQuestion && (
    \n
    Have you learnt enough to try creating your own project?
    \n
    \n handleSelection(\"Yes\")}>\n handleSelection(\"No\")}>\n
    \n
    )}\n\n {showThankyou && (
    \n
    Thank you for your feedback.
    \n
    )}\n );\n}\n","import type { PopoverSequentialProps, PopoverPlacement } from \"@octopusdeploy/design-system-components\";\nimport { Beacon, PopoverSequential } from \"@octopusdeploy/design-system-components\";\nimport * as React from \"react\";\nimport { useMediaQuery } from \"react-responsive\";\nimport { Action } from \"~/analytics/Analytics\";\nimport { SampleProjectTourContext } from \"~/areas/projects/components/ProjectLayout/SampleProjectTour/SampleProjectTour\";\nimport type { SampleProjectTourStepPlacement, SampleProjectTourStep } from \"~/areas/projects/components/ProjectLayout/SampleProjectTour/SampleProjectTourStep\";\nimport { useRequiredContext } from \"~/hooks/index\";\ntype SampleProjectTourPopoverPropsType = Omit;\ninterface SampleProjectTourPopoverProps extends SampleProjectTourPopoverPropsType {\n step: SampleProjectTourStep;\n}\nfunction SampleProjectTourPopover(props: SampleProjectTourPopoverProps) {\n const sampleProjectTourContext = useRequiredContext(SampleProjectTourContext);\n const breakpointWidth = 1500;\n const isWideScreen = useMediaQuery({ query: `(min-width:${breakpointWidth}px)` });\n const breakpointHeight = 700;\n const isLongScreen = useMediaQuery({ query: `(min-height:${breakpointHeight}px)` });\n const getPopoverPlacement = (popoverPlacement: SampleProjectTourStepPlacement): PopoverPlacement => {\n const defaultPlacement = \"bottom-start\";\n const customPlacement = popoverPlacement?.placementWideLongScreen ?? defaultPlacement;\n if (isWideScreen && isLongScreen)\n return customPlacement;\n if (isWideScreen && !isLongScreen)\n return popoverPlacement?.placementWideShortScreen ?? customPlacement;\n if (!isWideScreen && isLongScreen)\n return popoverPlacement?.placementNarrowLongScreen ?? customPlacement;\n if (!isWideScreen && !isLongScreen)\n return popoverPlacement?.placementNarrowShortScreen ?? customPlacement;\n return defaultPlacement;\n };\n const popoverPlacement = getPopoverPlacement(props.step.popoverPlacement);\n const onBeaconClicked = () => {\n sampleProjectTourContext.dispatchAnalyticsEventForCurrentState(\"Sample Project Tour: Click Beacon\", Action.Resume, \"Sample Project Tour Beacon\");\n sampleProjectTourContext.focusTour();\n };\n return sampleProjectTourContext.tourState === \"Unfocused\" ? ( onBeaconClicked()}/>) : ();\n}\nexport default SampleProjectTourPopover;\n","import { SpotlightOverlay, useCurrentScrollArea } from \"@octopusdeploy/design-system-components\";\nimport type { ProjectResource } from \"@octopusdeploy/octopus-server-client\";\nimport { links } from \"@octopusdeploy/portal-routes\";\nimport type { ReactNode } from \"react\";\nimport * as React from \"react\";\nimport { createContext, useEffect, useState } from \"react\";\nimport { useLocation } from \"react-router\";\nimport type { SampleProjectTourEvent } from \"~/analytics/Analytics\";\nimport { Action, useAnalyticSampleProjectTourDispatch } from \"~/analytics/Analytics\";\nimport { SampleProjectCompleteDialog } from \"~/areas/projects/components/ProjectLayout/SampleProjectTour/SampleProjectCompleteDialog\";\nimport SampleProjectTourPopover from \"~/areas/projects/components/ProjectLayout/SampleProjectTour/SampleProjectTourPopover\";\nimport type { SampleProjectTourStep, SampleProjectStepId } from \"~/areas/projects/components/ProjectLayout/SampleProjectTour/SampleProjectTourStep\";\nimport { GetSampleProjectTourCurrentStepKey } from \"~/areas/projects/components/ProjectLayout/SampleProjectTour/SampleProjectTourUtils\";\nimport { useSpaceAwareNavigation } from \"~/components/Navigation/SpaceAwareNavigation/useSpaceAwareNavigation\";\nimport { useIsPortalUrlActive } from \"~/components/Navigation/useIsPortalUrlActive\";\nimport useLocalStorage from \"~/hooks/useLocalStorage\";\ninterface SampleProjectTourProps {\n children: ReactNode;\n project: ProjectResource;\n}\nexport type SampleProjectTourContextProps = {\n continueSampleProjectTour: () => void;\n variablePageLoadedWithNoDataLeft: () => void;\n deploymentProcessSaved: (successful: boolean) => void;\n startTour: () => void;\n focusTour: () => void;\n resumeTour: () => void;\n dismissTour: () => void;\n registerStep: (stepId: SampleProjectStepId, ref: HTMLDivElement) => void;\n removeRegisteredStep: (stepId: SampleProjectStepId) => void;\n tourState: SampleProjectTourState;\n stepIndex: number;\n totalStepCount: number;\n dispatchAnalyticsEventForCurrentState: (eventName: string, action: Action, resource: string) => void;\n};\nconst getInitialSampleProjectTourState = (savedTourStep: number | undefined): SampleProjectTourState => {\n if (savedTourStep === undefined) {\n return \"Uninitialized\";\n }\n return savedTourStep === 0 ? \"NotStarted\" : \"Suspended\";\n};\nexport const SampleProjectTourContext = createContext(undefined);\ntype SampleProjectTourState = \"Uninitialized\" | \"NotStarted\" | \"Focused\" | \"Transition\" | \"Unfocused\" | \"Suspended\" | \"Dismissed\" | \"EndDialog\" | \"Finished\";\nconst InProgressStates: SampleProjectTourState[] = [\"Focused\", \"Unfocused\", \"Transition\", \"Suspended\"];\nfunction SampleProjectTour({ project, children }: SampleProjectTourProps) {\n const navigation = useSpaceAwareNavigation();\n const location = useLocation();\n const dispatchAction = useAnalyticSampleProjectTourDispatch(project.Id);\n const scrollArea = useCurrentScrollArea();\n const isUrlActive = useIsPortalUrlActive();\n const [sampleProjectTourSavedCurrentStep, setSampleProjectTourSavedCurrentStep] = useLocalStorage(GetSampleProjectTourCurrentStepKey(project.Slug), undefined);\n const [stepRefs, setStepRefs] = useState>(new Map());\n const [hasStepRefs, setHasStepRefs] = useState(false);\n const [tourState, setTourState] = useState(getInitialSampleProjectTourState(sampleProjectTourSavedCurrentStep));\n const [stepIndex, setStepIndex] = useState(sampleProjectTourSavedCurrentStep ?? 0);\n const steps: SampleProjectTourStep[] = [\n {\n title: \"Get visibility on your software releases\",\n content: \"This dashboard shows your recent software releases. Track what version of your software is running where and quickly spot deployment failures.\",\n infoCallout: (<>\n Tip: Click a successful or failed release to view its task summary and log.\n ),\n popoverPlacement: {\n placementWideLongScreen: \"bottom-start\",\n placementWideShortScreen: \"right-start\",\n placementNarrowLongScreen: \"bottom-start\",\n placementNarrowShortScreen: \"top-end\",\n },\n target: `DeploymentOverview`,\n scrollOffset: () => 0,\n beaconOffset: () => ({ x: 0, y: 0 }),\n route: links.deploymentsPage.generateUrl({ spaceId: project.SpaceId, projectSlug: project.Slug }),\n },\n {\n title: \"Deploy the same way to all your environments\",\n content: \"Consistently and confidently deploy to all environments in your software's lifecycle with one repeatable deployment process.\",\n infoCallout: (<>\n Tip: You can have any number of environments and deploy to any target type - cloud, data centers, Kubernetes, and on-premises servers.\n ),\n popoverPlacement: {\n placementWideLongScreen: \"bottom-start\",\n placementWideShortScreen: \"bottom-start\",\n placementNarrowLongScreen: \"bottom-start\",\n placementNarrowShortScreen: \"bottom-start\",\n },\n target: \"DeploymentProcessEnvironments\",\n scrollOffset: () => 0,\n beaconOffset: () => {\n if (window.innerWidth < 1500) {\n return { x: 0, y: -24 };\n }\n return { x: 0, y: 0 };\n },\n route: links.deploymentsPage.generateUrl({ spaceId: project.SpaceId, projectSlug: project.Slug }),\n },\n {\n title: \"Define your deployment process\",\n content: \"Our extensive step template library lets you define how you deploy your software across your infrastructure without writing and sifting through thousands of lines of code.\",\n infoCallout: (<>\n Tip: Try adding a step to browse our library of over 500 step templates.\n ),\n popoverPlacement: {\n placementWideLongScreen: \"top-end\",\n placementWideShortScreen: \"top-end\",\n placementNarrowLongScreen: \"top-end\",\n placementNarrowShortScreen: \"top-end\",\n },\n target: \"DeploymentProcess\",\n scrollOffset: () => {\n if (window.innerWidth > 1550)\n return 0;\n return 150;\n },\n beaconOffset: () => ({ x: 0, y: -12 }),\n route: links.deploymentProcessPage.generateUrl({ spaceId: project.SpaceId, projectSlug: project.Slug }),\n },\n {\n title: \"Manage variables across your infrastructure\",\n content: \"Variables are a powerful tool that lets you securely store and manage sensitive keys and configuration values across your infrastructure.\",\n infoCallout: (<>\n Tip: Use variables to avoid manually updating hard-coded configuration settings as you deploy across environments.\n ),\n popoverPlacement: {\n placementWideLongScreen: \"bottom-start\",\n placementWideShortScreen: \"top-end\",\n placementNarrowLongScreen: \"top-end\",\n placementNarrowShortScreen: \"top-end\",\n },\n target: \"Variable\",\n scrollOffset: () => {\n if (window.innerWidth < 1500)\n return 0;\n return 340;\n },\n beaconOffset: () => ({ x: 0, y: 0 }),\n route: links.variablesPage.generateUrl({ spaceId: project.SpaceId, projectSlug: project.Slug }),\n },\n {\n title: \"Perform routine and on-demand operations tasks\",\n content: \"Runbooks use our powerful step template library and let you perform routine and emergency operations tasks with one click. You can schedule runbooks or start them on-demand.\",\n infoCallout: (<>\n Tip: You can set permissions so anyone on your team can start a runbook without access to credentials.\n ),\n popoverPlacement: {\n placementWideLongScreen: \"bottom-start\",\n placementWideShortScreen: \"top-end\",\n placementNarrowLongScreen: \"top-end\",\n placementNarrowShortScreen: \"top-end\",\n },\n target: \"Runbooks\",\n scrollOffset: () => 120,\n beaconOffset: () => ({ x: 0, y: 0 }),\n route: links.projectRunbooksPage.generateUrl({ spaceId: project.SpaceId, projectSlug: project.Slug }),\n },\n ];\n const dispatchAnalyticsEventForCurrentState = (eventName: string, action: Action, resource: string) => {\n const currentStep = steps[stepIndex];\n const eventData: SampleProjectTourEvent = {\n action,\n resource,\n tourState,\n tourStepIndex: stepIndex,\n tourStepTitle: currentStep.title,\n tourStepTarget: currentStep.target,\n };\n dispatchAction(eventName, eventData);\n };\n useEffect(() => {\n if (!InProgressStates.find((state) => tourState === state)) {\n return;\n }\n const isOnStepRoute = isUrlActive(steps[stepIndex].route, true);\n if (!isOnStepRoute) {\n setTourState(\"Suspended\");\n }\n // eslint-disable-next-line react-hooks/exhaustive-deps\n }, [location.pathname, stepIndex]);\n useEffect(() => {\n if (tourState === \"Focused\") {\n dispatchAnalyticsEventForCurrentState(\"Sample Project Tour: Popover Viewed\", Action.View, \"Sample Project Tour Viewed\");\n }\n // eslint-disable-next-line react-hooks/exhaustive-deps\n }, [tourState, stepIndex]);\n const startTour = () => {\n if (tourState !== \"NotStarted\")\n return;\n setTourState(\"Focused\");\n setStepIndex(0);\n calculateScrollOffset();\n checkIfRefExistsForStep(0);\n };\n const continueSampleProjectTour = () => {\n if (tourState !== \"Transition\")\n return;\n setTourState(\"Focused\");\n setStepIndex(stepIndex);\n checkIfRefExistsForStep(stepIndex);\n calculateScrollOffset();\n };\n const variablePageLoadedWithNoDataLeft = () => {\n if (!InProgressStates.find((state) => tourState === state)) {\n return;\n }\n if (stepIndex !== steps.findIndex((step) => step.target === \"Variable\")) {\n return;\n }\n dispatchAnalyticsEventForCurrentState(\"Sample Project Tour: No Data for Step\", Action.Toggle, \"Sample Project Tour\");\n finishTour();\n };\n const deploymentProcessSaved = (successful: boolean) => {\n if (tourState !== \"Transition\")\n return;\n if (successful) {\n navigation.navigate(steps[stepIndex].route);\n }\n else {\n setTourState(\"Suspended\");\n }\n };\n const checkIfRefExistsForStep = (stepIndexToCheck: number) => {\n setTimeout(() => {\n const highlightStepRef = stepRefs.get(steps[stepIndexToCheck].target);\n if (highlightStepRef === undefined) {\n dispatchAnalyticsEventForCurrentState(\"Sample Project Tour: No Data for Step\", Action.Toggle, \"Sample Project Tour\");\n finishTour();\n }\n }, 100);\n };\n const nextStep = () => {\n if (stepIndex < steps.length - 1) {\n dispatchAnalyticsEventForCurrentState(\"Sample Project Tour: Click Next\", Action.Toggle, \"Sample Project Tour Next\");\n const nextStepIndex = stepIndex + 1;\n setStepIndex(nextStepIndex);\n handleTransitionToStep(nextStepIndex);\n setSampleProjectTourSavedCurrentStep(nextStepIndex);\n const nextStepRefElement = stepRefs.get(steps[nextStepIndex].target);\n if (nextStepRefElement !== undefined) {\n calculateScrollOffset();\n }\n }\n else {\n finishTour();\n }\n };\n const previousStep = () => {\n if (stepIndex > 0) {\n dispatchAnalyticsEventForCurrentState(\"Sample Project Tour: Click Back\", Action.Toggle, \"Sample Project Tour Back\");\n const nextStepIndex = stepIndex - 1;\n setStepIndex(nextStepIndex);\n handleTransitionToStep(nextStepIndex);\n setSampleProjectTourSavedCurrentStep(nextStepIndex);\n }\n };\n const handleTransitionToStep = (nextStepIndex: number) => {\n const nextStepRefElement = stepRefs.get(steps[nextStepIndex].target);\n // will be undefined if the element we need to highlight isn't on the current page, so we need to navigate to that page first\n if (nextStepRefElement === undefined) {\n setTourState(\"Transition\");\n // Remove all the registered elements, as they will no longer be on the page. This will support navigating back.\n setStepRefs((stepRefs) => {\n stepRefs.clear();\n return stepRefs;\n });\n setHasStepRefs(false);\n navigation.navigate(steps[nextStepIndex].route);\n }\n };\n const calculateScrollOffset = () => {\n const scrollOffset = steps[stepIndex].scrollOffset() ?? 0;\n scrollArea.scrollTop = scrollOffset;\n };\n const unfocusTour = () => {\n setTourState(\"Unfocused\");\n };\n const focusTour = () => {\n setTourState(\"Focused\");\n };\n const pauseTour = () => {\n dispatchAnalyticsEventForCurrentState(\"Sample Project Tour: Click 'X' to Dismiss Popover\", Action.Dismiss, \"Sample Project Tour Dismiss\");\n setTourState(\"Suspended\");\n };\n const resumeTour = () => {\n const currentElementRef = stepRefs.get(steps[stepIndex].target);\n if (currentElementRef === undefined) {\n handleTransitionToStep(stepIndex);\n }\n else {\n setTourState(\"Focused\");\n calculateScrollOffset();\n }\n };\n const dismissTour = () => {\n setTourState(\"Dismissed\");\n localStorage.removeItem(GetSampleProjectTourCurrentStepKey(project.Slug));\n };\n const finishTour = () => {\n setTourState(\"EndDialog\");\n localStorage.removeItem(GetSampleProjectTourCurrentStepKey(project.Slug));\n };\n const closeCompleteDialog = () => {\n setTourState(\"Finished\");\n localStorage.removeItem(GetSampleProjectTourCurrentStepKey(project.Slug));\n };\n const registerStep = (stepId: SampleProjectStepId, ref: HTMLDivElement) => {\n setStepRefs((refs) => {\n refs.set(stepId, ref);\n return refs;\n });\n setHasStepRefs(true);\n };\n const removeRegisteredStep = (stepId: SampleProjectStepId) => {\n setStepRefs((refs) => {\n refs.clear();\n return refs;\n });\n setHasStepRefs(false);\n };\n const onOverlayClick = () => {\n dispatchAnalyticsEventForCurrentState(\"Sample Project Tour: Click Away From Popover\", Action.Toggle, \"Sample Project Tour Overlay\");\n unfocusTour();\n };\n return (\n <>\n {tourState === \"Uninitialized\" ? (children) : (<>\n \n \n {(tourState === \"Focused\" || tourState === \"Unfocused\") && ()}\n {children}\n )}\n \n );\n}\nexport default SampleProjectTour;\n","import { css } from \"@emotion/css\";\nimport type { BeaconOffset, PopoverPlacement } from \"@octopusdeploy/design-system-components\";\nimport type { LinkHref } from \"@octopusdeploy/portal-routes\";\nimport type { ReactNode } from \"react\";\nimport { useContext, useEffect } from \"react\";\nimport * as React from \"react\";\nimport { SampleProjectTourContext } from \"~/areas/projects/components/ProjectLayout/SampleProjectTour/SampleProjectTour\";\nexport type SampleProjectStepId = \"DeploymentOverview\" | \"Variable\" | \"DeploymentProcess\" | \"DeploymentProcessEnvironments\" | \"Runbooks\";\nexport interface SampleProjectTourStepPlacement {\n placementWideLongScreen: PopoverPlacement;\n placementWideShortScreen?: PopoverPlacement;\n placementNarrowLongScreen?: PopoverPlacement;\n placementNarrowShortScreen?: PopoverPlacement;\n}\nexport interface SampleProjectTourStep {\n title: string;\n content: string;\n infoCallout?: ReactNode;\n scrollOffset: () => number;\n beaconOffset: () => BeaconOffset;\n popoverPlacement: SampleProjectTourStepPlacement;\n target: SampleProjectStepId;\n route: LinkHref;\n}\ninterface SampleProjectTourStepBaseProps {\n stepId: SampleProjectStepId;\n}\ninterface SampleProjectTourStepProps extends SampleProjectTourStepBaseProps {\n children?: React.ReactNode;\n}\nexport function SampleProjectTourStep(props: SampleProjectTourStepProps): JSX.Element {\n const sampleProjectTourContext = useContext(SampleProjectTourContext);\n useEffect(() => {\n if (sampleProjectTourContext === undefined)\n return;\n if (stepRef.current !== null)\n sampleProjectTourContext?.registerStep(props.stepId, stepRef.current);\n return () => sampleProjectTourContext?.removeRegisteredStep(props.stepId);\n // eslint-disable-next-line react-hooks/exhaustive-deps\n }, []);\n if (sampleProjectTourContext === undefined)\n return <>{props.children};\n const stepRef = React.createRef();\n return (
    \n {props.children}\n
    );\n}\nexport function SampleProjectTourAbsoluteFullContainerHighlightStep(props: SampleProjectTourStepProps): JSX.Element {\n const sampleProjectTourContext = useContext(SampleProjectTourContext);\n const stepRef = React.createRef();\n useEffect(() => {\n if (stepRef.current !== null)\n sampleProjectTourContext?.registerStep(props.stepId, stepRef.current);\n // eslint-disable-next-line react-hooks/exhaustive-deps\n }, []);\n return (
    \n {props.children}\n
    );\n}\n","import { Divider } from \"@octopusdeploy/design-system-components\";\nimport * as React from \"react\";\nimport styles from \"./style.module.less\";\nexport enum SidebarSide {\n Right,\n Left\n}\ninterface SidebarLayoutProps {\n sideBar?: React.ReactNode;\n side?: SidebarSide; // Defaults to right\n // className is applied to the full panel, useful if you want to do something that applies outside of the padding, like a background color\n extendContentToEdges?: boolean; // If true, disables padding on the body\n // If true, disables padding on the sidebar\n // I think ideally, we always extend to the edges. The content of the sidebar can be inside
    s if they want padding\n extendSidebarToEdges?: boolean;\n hideTopDivider?: boolean;\n hideSidebarDivider?: boolean;\n overflowXHidden?: boolean; // We don't want this to apply generally, because it can break things in places like the variable editor\n flexBasis?: string;\n sidebarMaxWidth?: string;\n reduceWidthForSmallResolution?: boolean;\n}\nconst SidebarLayout: React.SFC = (props) => {\n const sidebarSide = props.side ? props.side : SidebarSide.Right;\n return (
    \n {sidebarSide === SidebarSide.Left && renderSidebar(styles.sideBarLeft, props)}\n
    \n {props.sideBar && !props.hideTopDivider ? : null}\n
    {props.children}
    \n
    \n {sidebarSide === SidebarSide.Right && renderSidebar(styles.sideBarRight, props)}\n
    );\n};\nSidebarLayout.displayName = \"SidebarLayout\"\nfunction renderSidebar(dividerClassName: string, props: SidebarLayoutProps) {\n if (!props.sideBar) {\n return null;\n }\n const className = `${styles.sidebarContainer} ${props.hideSidebarDivider ? \"\" : dividerClassName} ${props.reduceWidthForSmallResolution ? styles.constrainWidth : \"\"} ${styles.sideBar}`;\n const containerStyle: React.CSSProperties = {};\n if (props.flexBasis) {\n containerStyle.flexBasis = props.flexBasis;\n }\n if (props.sidebarMaxWidth) {\n containerStyle.maxWidth = props.sidebarMaxWidth;\n containerStyle.overflowWrap = \"break-word\";\n }\n return (
    \n {!props.hideTopDivider ? : null}\n
    {props.sideBar}
    \n
    );\n}\nexport default SidebarLayout;\n","/* eslint-disable @typescript-eslint/consistent-type-assertions */\nimport { Collapse } from \"@octopusdeploy/design-system-components\";\nimport * as React from \"react\";\nimport type { ExpandableProps } from \"~/components/Expandable/Expandable\";\nimport Expandable from \"~/components/Expandable/Expandable\";\nimport { CardTitle } from \"~/components/form/Sections\";\nimport styles from \"./style.module.less\";\ninterface SimpleExpanderProps extends ExpandableProps {\n error?: string;\n title: JSX.Element;\n accessibleName?: string;\n onDidExpand?: (expanded: boolean) => void;\n}\ninterface SimpleExpanderInternalProps extends SimpleExpanderProps {\n}\nclass SimpleExpanderInternal extends React.Component {\n componentDidUpdate(prevProps: SimpleExpanderInternalProps) {\n if (prevProps.isExpanded !== this.props.isExpanded) {\n if (this.props.onDidExpand) {\n this.props.onDidExpand(this.props.isExpanded);\n }\n }\n }\n // we can't just use actAsExpander on card Title because it eats the click\n // and we can't add links to the title in help text or our show more info link\n handleExpand = (e: React.MouseEvent) => {\n e.preventDefault();\n const isExpanded = !this.props.isExpanded;\n this.props.onExpandedChanged(isExpanded);\n };\n renderChild = (child: React.ReactElement): React.ReactNode => {\n if (!child) {\n return child;\n }\n const children = child.props && child.props.children ? { children: this.renderChildren(child.props.children) } : null;\n const props = children ? { ...child.props, ...children } : child.props;\n return React.isValidElement(child) ? React.cloneElement(child, props) : child;\n };\n renderChildren = (children: React.ReactNode) => {\n return React.Children.map(children as React.ReactElement, this.renderChild);\n };\n render() {\n return (
    \n \n \n
    {this.renderChildren(this.props.children)}
    \n
    \n
    );\n }\n static displayName = \"SimpleExpanderInternal\";\n}\nfunction SimpleExpander(props: SimpleExpanderProps) {\n return ;\n}\nexport default Expandable(SimpleExpander);\n","import Default from \"./SimpleExpander\";\nexport * from \"./SimpleExpander\";\nexport default Default;\n","/* eslint-disable @typescript-eslint/no-non-null-assertion */\nimport { ActionButton, ActionButtonType } from \"@octopusdeploy/design-system-components\";\nimport { FilterIcon } from \"@octopusdeploy/design-system-icons\";\nimport cn from \"classnames\";\nimport { isEqual } from \"lodash\";\nimport * as React from \"react\";\nimport { SetLabelStrategy } from \"~/components/LabelStrategy/LabelStrategy\";\nimport { Section } from \"~/components/Section/Section\";\nimport SidebarLayout, { SidebarSide } from \"~/components/SidebarLayout/SidebarLayout\";\nimport SimpleExpander from \"~/components/SimpleExpander\";\nimport styles from \"./style.module.less\";\nexport interface FilterSection {\n sectionName?: string; // Often the first section won't have a name. A section without a name is not expandable\n isNotDefaultFilter?: boolean; // Are the values in this filter all default? This is used to determine if a filter section needs to be expanded automatically.\n render: React.ReactNode;\n}\ninterface AdvancedFilterLayoutProps {\n filterHeaderCustomStyle?: string;\n filterSections: FilterSection[];\n extendContentToEdges?: boolean;\n // Divider should probably be hidden if not on a paper element\n hideDivider?: boolean;\n // Any fields shown in additionalHeaderFilter should not appear in the filter pane\n // Header text filter inputs should usually be a FilterSearchBox (i.e. they have the search icon, which inputs in the pane don't have)\n additionalHeaderFilters?: React.ReactNode[];\n additionalHeaderControls?: React.ReactNode[];\n filterByChips?: React.ReactNode;\n filter: Filter;\n queryFilter?: Filter;\n defaultFilter: Filter;\n initiallyShowFilter?: boolean; // defaults to false\n overflowXHidden?: boolean;\n onFilterReset(filter: Filter): void;\n renderContent(filterPanelIsVisible: boolean): React.ReactNode;\n onToggleFilter?(isOpen: boolean): Promise;\n}\ninterface AdvancedFilterLayoutState {\n isShowingFilter: boolean;\n}\nconst sidebarFilterLabelStrategy = (fieldName: string) => `By ${fieldName}`;\nconst headerFilterLabelStrategy = (fieldName: string) => `Filter by ${fieldName}`;\n//eslint-disable-next-line react/no-unsafe\nexport default abstract class AdvancedFilterLayout extends React.Component, AdvancedFilterLayoutState> {\n constructor(props: AdvancedFilterLayoutProps) {\n super(props);\n this.state = {\n isShowingFilter: this.props.initiallyShowFilter!,\n };\n }\n public UNSAFE_componentWillReceiveProps(props: AdvancedFilterLayoutProps) {\n if (!this.state.isShowingFilter && props.queryFilter && !isEqual(props.queryFilter, this.props.queryFilter) && !this.isDefaultFilter(props.queryFilter, props.defaultFilter)) {\n this.setState({ isShowingFilter: true });\n }\n }\n render() {\n const hasFilterPanelContent = !!this.props.filterSections.length;\n const isAdvancedFilters = this.props.additionalHeaderFilters && !!this.props.additionalHeaderFilters.length;\n const panelLabel = isAdvancedFilters ? \"Advanced filter\" : \"Filter\";\n return (
    \n \n
    \n
    \n
    \n {this.props.additionalHeaderFilters &&\n this.props.additionalHeaderFilters.map((f, i) => {\n return (f && (
    \n {f}\n
    ));\n })}\n {hasFilterPanelContent && (
    \n } onClick={async () => {\n if (this.props.onToggleFilter) {\n await this.props.onToggleFilter(!this.state.isShowingFilter);\n }\n this.setState({ isShowingFilter: !this.state.isShowingFilter });\n }}/>\n
    )}\n {this.props.additionalHeaderControls &&\n this.props.additionalHeaderControls.map((f, i) => {\n return (f && (
    \n {f}\n
    ));\n })}\n
    \n {!!this.props.filterByChips && (
    \n
    Filtering by:
    \n
    {this.props.filterByChips}
    \n
    )}\n
    \n
    \n
    \n \n
    \n

    \n
    {panelLabel}
    \n this.props.onFilterReset(this.props.defaultFilter)}/>\n

    \n
    \n {this.props.filterSections.map((s, index) => {\n if (s.sectionName) {\n return (\n

    {s.sectionName}

    \n
    }>\n
    {s.render}
    \n );\n }\n return
    {s.render}
    ;\n })}\n )} side={SidebarSide.Left} extendContentToEdges={this.props.extendContentToEdges} extendSidebarToEdges={true} hideTopDivider={true} hideSidebarDivider={this.props.hideDivider} overflowXHidden={this.props.overflowXHidden}>\n {this.props.renderContent(this.state.isShowingFilter)}\n \n
    );\n }\n private isDefaultFilter(filter: Filter, defaultFilter: Filter) {\n return isEqual(filter, defaultFilter);\n }\n static displayName = \"AdvancedFilterLayout\";\n}\n","import type { EnvironmentResource } from \"@octopusdeploy/octopus-server-client\";\nimport { sortBy } from \"lodash\";\nimport React from \"react\";\nimport type { SelectProps } from \"~/primitiveComponents/form/Select/Select\";\nimport Select from \"~/primitiveComponents/form/Select/Select\";\ntype SelectPropsWithoutItems = Omit;\ninterface EnvironmentSelectProps extends SelectPropsWithoutItems {\n fieldName?: string;\n environments: EnvironmentResource[];\n}\nconst EnvironmentSelect = (props: EnvironmentSelectProps) => {\n const { environments, ...rest } = props;\n const sortedEnvironments = sortBy(environments, (x) => x.SortOrder).map((e) => ({ value: e.Id, text: e.Name }));\n return {\n let channel: ProcessEditorSearchFilterNamedResource;\n if (channelId) {\n const resource = channelsById[channelId];\n channel = {\n Id: resource.Id,\n Name: resource.Name,\n };\n }\n processSearchFilterContextActions.onFilterChange((t) => ({ ...t, channel }));\n }} items={Object.values(channelsById).map((e) => ({ value: e.Id, text: e.Name }))} allowClear={true} allowFilter={true} fieldName=\"channel\"/>)}\n {\n processSearchFilterContextActions.onFilterChange((prev) => ({ ...prev, includeUnscoped }));\n }}/>\n ),\n },\n ]} onFilterReset={(filter) => processSearchFilterContextActions.onFilterChange(() => filter)} defaultFilter={processSearchFilterContext.getEmptyFilter()} initiallyShowFilter={processSearchFilterContext.isFiltering} additionalHeaderFilters={[\n processSearchFilterContextActions.onFilterChange((prev) => ({ ...prev, filterKeyword }))} autoFocus={true}/>,\n ]} renderContent={() => (<>\n \n {isDeploymentProcessIdentifier(processIdentifier) && deploymentSettings && ()}\n
    \n {processSearchFilterContext.filteredSteps.steps.length > 0 ? (processSearchFilterContext.filteredSteps.steps\n .filter((x) => x.filtered)\n .map(({ step: filteredStep, index }) => {\n const step = processContext.selectors.getStepById(filteredStep.Id);\n if (!step) {\n logger.info(\"Failed to find step with name {stepName}\", { stepName: filteredStep.Name });\n return null;\n }\n if (step.ActionIds.length === 1) {\n const action = processContext.selectors.getActionById(step.ActionIds[0]);\n if (action.ActionType === \"Octopus.ProcessTemplate\") {\n const blueprintCommit = getProcessTemplateCommitFromAction(action);\n const blueprintSlug = getProcessTemplateSlugFromAction(action);\n const blueprint = blueprints.find((b) => isMatchingProcessTemplate(b, blueprintSlug, blueprintCommit))?.processTemplate;\n if (blueprint) {\n return ();\n }\n }\n return ();\n }\n else {\n return ;\n }\n })) : ()}\n
    \n
    \n )}/>\n \n )}\n );\n};\nProcessList.displayName = \"ProcessList\"\nfunction getInvalidAutomaticReleaseCreationConfigurationCallout(processContext: ProcessContextProps, project: ProjectResource, processIdentifier: DeploymentProcessIdentifier) {\n if (project.AutoCreateRelease) {\n if (project.ReleaseCreationStrategy == null || project.ReleaseCreationStrategy.ReleaseCreationPackage == null) {\n return (
    \n This project is configured to use Automatic Release Creation, but the step is missing. Please adjust the{\" \"}\n Automatic Release Creation configuration.\n
    );\n }\n else {\n const action = flatten(processContext.selectors.getAllActions()).filter((a) => a.Name === project.ReleaseCreationStrategy.ReleaseCreationPackage.DeploymentAction);\n if (action && action.length > 0 && action[0].IsDisabled) {\n return (
    \n \n Step {action[0].Name} is\n currently used for Automatic Release Creation, but it has been disabled.\n \n \n Please re-enable the step, or adjust the{\" \"}\n Automatic Release Creation configuration.\n \n
    );\n }\n }\n }\n return null;\n}\ninterface InvalidConfigurationCalloutsProps {\n processContext: ProcessContextProps;\n deploymentSettings: DeploymentSettingsResource;\n processIdentifier: DeploymentProcessIdentifier;\n}\nfunction InvalidConfigurationCallouts({ processContext, deploymentSettings, processIdentifier }: InvalidConfigurationCalloutsProps) {\n // Using projectContext here since these callouts are only ever shown on deployment processes\n const { state: { model: project }, } = useProjectContext();\n const arcCallout = getInvalidAutomaticReleaseCreationConfigurationCallout(processContext, project, processIdentifier);\n const actions = flatten(processContext.selectors.getAllActions());\n const versioningCallout = isVersioningConfigurationValid(project, deploymentSettings, actions);\n if (arcCallout || versioningCallout) {\n return (\n \n {arcCallout}\n {versioningCallout}\n \n );\n }\n return null;\n}\nexport default ProcessList;\n","import type { GitRef, GitRefResource } from \"@octopusdeploy/octopus-server-client\";\nimport { Permission } from \"@octopusdeploy/octopus-server-client\";\nimport * as React from \"react\";\nimport { useHistory, useLocation } from \"react-router-dom\";\nimport { useMaybeProcessBlueprintsFromContext } from \"~/areas/projects/components/Process/Contexts/ProcessBlueprintsContextProvider\";\nimport { isBlueprintProcessIdentifier, isDeploymentOrRunbookProcessIdentifier } from \"~/areas/projects/components/Process/types\";\nimport { usePersistenceSettingsContext } from \"~/areas/projects/context/PersistenceSettingsContext\";\nimport type { DoBusyTask } from \"~/components/DataBaseComponent/DataBaseComponent\";\nimport { OverflowMenuConverterVNext } from \"~/components/OverflowMenu/OverflowMenuConverterVNext\";\nimport { isAllowed } from \"~/components/PermissionCheck/PermissionCheck\";\nimport { getCommonOverflowMenuItems } from \"./Common/CommonProcessHelpers\";\nimport { useMaybeLoadedActionTemplatesFromContext } from \"./Contexts/ProcessActionTemplatesContextProvider\";\nimport { useProcessContext } from \"./Contexts/ProcessContext\";\nimport { useProcessErrorActions } from \"./Contexts/ProcessErrors/ProcessErrorsContext\";\nimport { useMaybeFeedsFromContext } from \"./Contexts/ProcessFeedsContextProvider\";\nimport { useProcessWarningActions } from \"./Contexts/ProcessWarnings/ProcessWarningsContext\";\nimport { ProcessContextPaperLayout } from \"./CustomPaperLayouts/ProcessContextPaperLayout\";\nimport ProcessList from \"./ProcessList\";\nimport type { ProcessListLayoutLoaderLookupData } from \"./ProcessListLayoutLoader\";\ninterface ProcessPageProps {\n gitRef: GitRef | undefined;\n onProcessSave: (gitRef: GitRefResource | string | undefined) => Promise;\n gitRefResource: GitRefResource | undefined;\n titleAccessory?: React.ReactElement;\n lookups: ProcessListLayoutLoaderLookupData;\n doBusyTask: DoBusyTask;\n isBuiltInWorkerEnabled: boolean;\n releaseCreationPackageStepId?: string | undefined;\n}\nconst ProcessListLayout: React.FC = (props) => {\n const location = useLocation();\n const history = useHistory();\n const processContext = useProcessContext();\n const processIdentifier = processContext.state.processIdentifier;\n const persistenceSettings = usePersistenceSettingsContext();\n const errorActions = useProcessErrorActions();\n const warningActions = useProcessWarningActions();\n const feeds = useMaybeFeedsFromContext();\n const actionTemplates = useMaybeLoadedActionTemplatesFromContext();\n const blueprints = useMaybeProcessBlueprintsFromContext();\n const hasLoadedNecessaryLookupData = (): boolean => {\n const feedViewPermissionGranted = isAllowed({ permission: Permission.FeedView, project: isDeploymentOrRunbookProcessIdentifier(processIdentifier) ? processIdentifier.projectId : undefined, wildcard: true });\n return actionTemplates !== \"NotLoaded\" && (isBlueprintProcessIdentifier(processIdentifier) || !feedViewPermissionGranted || feeds !== \"NotLoaded\") && blueprints !== \"NotLoaded\";\n };\n if (!processContext.selectors.hasValidProcess() || !hasLoadedNecessaryLookupData()) {\n return ;\n }\n const legacyOverflowMenuItems = getCommonOverflowMenuItems(processIdentifier, props.releaseCreationPackageStepId, persistenceSettings, props.gitRefResource, processIdentifier.type, processContext.selectors, processContext.actions, props.onProcessSave, errorActions, warningActions, undefined);\n const convertedOverflowMenuItems = OverflowMenuConverterVNext.convertAll(legacyOverflowMenuItems);\n return (\n {convertedOverflowMenuItems.dialogs}\n \n );\n};\nProcessListLayout.displayName = \"ProcessListLayout\"\nexport default React.memo(ProcessListLayout);\n","import type { AccountResource } from \"@octopusdeploy/octopus-server-client\";\nimport { AccountType } from \"@octopusdeploy/octopus-server-client\";\nimport React from \"react\";\nimport type { FormFieldProps } from \"~/components/form\";\nimport { BoundAccountSelect } from \"~/components/form/AccountSelect/AccountSelect\";\nimport type { VariableLookupProps } from \"~/components/form/VariableLookup/VariableLookup\";\ninterface AmazonWebServicesAccountInputProps extends FormFieldProps {\n resetValue?: string;\n items: AccountResource[];\n variableLookup: VariableLookupProps | undefined;\n label: string;\n warning?: string;\n allowClear: boolean;\n defaultValueIndicator: JSX.Element | undefined;\n onRequestRefresh: () => Promise;\n validate?: ((value: string) => string) | ((value: string | null) => string);\n onValidate?(value: string): void;\n}\nconst AmazonWebServicesAccountInput: React.FC = (props) => {\n const { value, resetValue, items, label, variableLookup, warning, allowClear, defaultValueIndicator, onRequestRefresh, ...rest } = props;\n const formProps = { ...rest, label };\n return (\n \n {defaultValueIndicator}\n );\n};\nAmazonWebServicesAccountInput.displayName = \"AmazonWebServicesAccountInput\"\nexport default AmazonWebServicesAccountInput;\n","import type { AccountResource } from \"@octopusdeploy/octopus-server-client\";\nimport { AccountType } from \"@octopusdeploy/octopus-server-client\";\nimport React from \"react\";\nimport type { FormFieldProps } from \"~/components/form\";\nimport { BoundAccountSelect } from \"~/components/form/AccountSelect/AccountSelect\";\nimport type { VariableLookupProps } from \"~/components/form/VariableLookup/VariableLookup\";\ninterface AzureAccountInputProps extends FormFieldProps {\n resetValue?: string;\n items: AccountResource[];\n label: string;\n variableLookup: VariableLookupProps | undefined;\n warning?: string;\n allowClear: boolean;\n defaultValueIndicator: JSX.Element | undefined;\n onRequestRefresh: () => Promise;\n validate?: ((value: string) => string) | ((value: string | null) => string);\n onValidate?(value: string): void;\n}\nconst AzureAccountInput: React.FC = (props) => {\n const { value, resetValue, items, label, variableLookup, warning, allowClear, defaultValueIndicator, onRequestRefresh, ...rest } = props;\n const formProps = { ...rest, label };\n return (\n \n {defaultValueIndicator}\n );\n};\nAzureAccountInput.displayName = \"AzureAccountInput\"\nexport default AzureAccountInput;\n","import type { CertificateResource } from \"@octopusdeploy/octopus-server-client\";\nimport React from \"react\";\nimport type { FormFieldProps } from \"~/components/form\";\nimport CertificateSelect from \"~/components/form/CertificateSelect/CertificateSelect\";\ninterface CertificateInputProps extends FormFieldProps {\n items: () => Promise;\n label: string;\n tenantId?: string;\n warning?: string;\n allowClear: boolean;\n defaultValueIndicator: JSX.Element | undefined;\n hideSearch?: boolean;\n onRequestRefresh: () => Promise;\n doBusyTask(action: () => Promise): Promise;\n validate?: ((value: string) => string) | ((value: string | null) => string);\n onValidate?(value: string): void;\n}\nconst CertificateInput: React.FC = (props) => {\n const { value, items, label, warning, tenantId, allowClear, defaultValueIndicator, onRequestRefresh, doBusyTask, hideSearch, ...rest } = props;\n const formProps = { ...rest, label };\n return (\n \n {defaultValueIndicator}\n );\n};\nCertificateInput.displayName = \"CertificateInput\"\nexport default CertificateInput;\n","import type { AccountResource } from \"@octopusdeploy/octopus-server-client\";\nimport { AccountType } from \"@octopusdeploy/octopus-server-client\";\nimport React from \"react\";\nimport type { FormFieldProps } from \"~/components/form\";\nimport { BoundAccountSelect } from \"~/components/form/AccountSelect/AccountSelect\";\nimport type { VariableLookupProps } from \"~/components/form/VariableLookup/VariableLookup\";\ninterface GenericOidcAccountInputProps extends FormFieldProps {\n resetValue?: string;\n items: AccountResource[];\n label: string;\n variableLookup: VariableLookupProps | undefined;\n warning?: string;\n allowClear: boolean;\n defaultValueIndicator: JSX.Element | undefined;\n onRequestRefresh: () => Promise;\n validate?: ((value: string) => string) | ((value: string | null) => string);\n onValidate?(value: string): void;\n}\nconst GenericOidcAccountInput: React.FC = (props) => {\n const { value, resetValue, items, label, variableLookup, warning, allowClear, defaultValueIndicator, onRequestRefresh, ...rest } = props;\n const formProps = { ...rest, label };\n return (\n \n {defaultValueIndicator}\n );\n};\nGenericOidcAccountInput.displayName = \"GenericOidcAccountInput\"\nexport default GenericOidcAccountInput;\n","/* eslint-disable @typescript-eslint/consistent-type-assertions */\nimport type { SensitiveValue, ActionTemplateParameterResource, TenantVariableTemplateResource } from \"@octopusdeploy/octopus-server-client\";\nimport React from \"react\";\nimport type { FormFieldProps } from \"~/components/form\";\nimport type { ResetValue } from \"~/components/form/BoundField/BoundField\";\nimport { BoundSensitive } from \"~/components/form/Sensitive/Sensitive\";\ninterface SensitiveInputProps extends FormFieldProps {\n resetValue?: ResetValue;\n label: string;\n warning?: string;\n localNames?: string[];\n defaultValueIndicator?: JSX.Element;\n validate?: ((value: string) => string) | ((value: string | null) => string);\n onValidate?(value: string): void;\n parameter?: ActionTemplateParameterResource | TenantVariableTemplateResource;\n}\nconst SensitiveInput: React.FC = (props) => {\n const { value, resetValue, label, warning, localNames, defaultValueIndicator, onChange, parameter, ...rest } = props;\n const formProps = { ...rest, label };\n return (\n onChange(x as SensitiveValue)} {...formProps}/>\n {defaultValueIndicator}\n );\n};\nSensitiveInput.displayName = \"SensitiveInput\"\nexport default SensitiveInput;\n","import type { AccountResource } from \"@octopusdeploy/octopus-server-client\";\nimport { AccountType } from \"@octopusdeploy/octopus-server-client\";\nimport React from \"react\";\nimport type { FormFieldProps } from \"~/components/form\";\nimport { BoundAccountSelect } from \"~/components/form/AccountSelect/AccountSelect\";\nimport type { VariableLookupProps } from \"~/components/form/VariableLookup/VariableLookup\";\ninterface UsernamePasswordAccountInputProps extends FormFieldProps {\n resetValue?: string;\n items: AccountResource[];\n label: string;\n variableLookup: VariableLookupProps | undefined;\n warning?: string;\n allowClear: boolean;\n defaultValueIndicator: JSX.Element | undefined;\n onRequestRefresh: () => Promise;\n validate?: ((value: string) => string) | ((value: string | null) => string);\n onValidate?(value: string): void;\n}\nconst UsernamePasswordAccountInput: React.FC = (props) => {\n const { value, resetValue, items, label, variableLookup, warning, allowClear, defaultValueIndicator, onRequestRefresh, ...rest } = props;\n const formProps = { ...rest, label };\n return (\n \n {defaultValueIndicator}\n );\n};\nUsernamePasswordAccountInput.displayName = \"UsernamePasswordAccountInput\"\nexport default UsernamePasswordAccountInput;\n","import { BooleanRadioButton, BooleanRadioButtonGroup } from \"@octopusdeploy/design-system-components\";\nimport type { WorkerPoolResource } from \"@octopusdeploy/octopus-server-client\";\nimport { noOp } from \"@octopusdeploy/utilities\";\nimport * as React from \"react\";\nimport MarkdownDescription from \"~/components/MarkdownDescription\";\nimport ListTitle from \"~/primitiveComponents/dataDisplay/ListTitle/ListTitle\";\nimport styles from \"./style.module.less\";\ninterface WorkerPoolListItemProps {\n pool: WorkerPoolResource;\n selected?: boolean;\n showSelection?: boolean;\n onClick(): void;\n}\nconst WorkerPoolSummary: React.StatelessComponent = (props) => {\n const pool = props.pool;\n return (
    \n {props.showSelection && (
    \n \n \n \n
    )}\n
    \n
    \n
    \n {pool.Name}\n
    \n
    \n {pool.Description && (
    \n \n
    )}\n
    \n
    );\n};\nWorkerPoolSummary.displayName = \"WorkerPoolSummary\"\nexport default WorkerPoolSummary;\n","/* eslint-disable @typescript-eslint/no-explicit-any */\nimport type { WorkerPoolResource, ResourceCollection } from \"@octopusdeploy/octopus-server-client\";\nimport { links } from \"@octopusdeploy/portal-routes\";\nimport * as React from \"react\";\nimport { repository } from \"~/clientInstance\";\nimport BaseComponent from \"~/components/BaseComponent\";\nimport List from \"~/components/PagingList\";\nimport WorkerPoolSummary from \"./WorkerPoolSummary\";\ninterface WorkerPoolListProp {\n pools?: ResourceCollection;\n selectedWorkerPoolId?: string;\n doBusyTask: (action: () => Promise) => Promise;\n onSelected?: (pool: WorkerPoolResource) => void;\n}\ninterface WorkerPoolListState {\n pools?: ResourceCollection;\n selectedId?: string;\n busy: boolean;\n}\nclass WorkerPoolList extends List {\n}\nexport default class WorkerPoolSearch extends BaseComponent {\n constructor(props: WorkerPoolListProp) {\n super(props);\n this.state = {\n pools: this.props.pools,\n busy: false,\n selectedId: this.props.selectedWorkerPoolId,\n };\n }\n componentDidMount() {\n return this.props.doBusyTask(async () => {\n const pools = this.state.pools ? this.state.pools : await repository.WorkerPools.list();\n this.setState({ pools });\n });\n }\n buildRow = (pool: WorkerPoolResource) => {\n return [\n {\n if (!this.props.onSelected) {\n return;\n }\n this.setState({ selectedId: pool.Id }, () => {\n if (this.props.onSelected) {\n this.props.onSelected(pool);\n }\n });\n }} showSelection={this.props.onSelected ? true : false} selected={pool.Id === this.state.selectedId} key={pool.Id} pool={pool}/>,\n ];\n };\n rowClicked = (pool: WorkerPoolResource) => {\n if (this.props.onSelected) {\n return null;\n }\n else {\n return links.editWorkerPoolPage.generateUrl({ spaceId: pool.SpaceId, workerPoolId: pool.Id });\n }\n };\n applyFilter(filter: string, resource: WorkerPoolResource) {\n return !filter || filter.length === 0 || !resource || resource.Name.toLowerCase().includes(filter.toLowerCase());\n }\n render() {\n // Note: This is wrapped in a
    on purpose for CSS transition animations.\n return (
    \n {this.state.pools && ()}\n
    );\n }\n static displayName = \"WorkerPoolSearch\";\n}\n","/* eslint-disable @typescript-eslint/no-non-null-assertion */\nimport type { WorkerPoolResource } from \"@octopusdeploy/octopus-server-client\";\nimport * as React from \"react\";\nimport type { DataBaseComponentState } from \"~/components/DataBaseComponent/DataBaseComponent\";\nimport { DataBaseComponent } from \"~/components/DataBaseComponent/DataBaseComponent\";\nimport OkDialogLayout from \"~/components/DialogLayout/OkDialogLayout\";\nimport WorkerPoolSearch from \"~/components/form/WorkerPoolSearch/WorkerPoolSearch\";\ninterface WorkerPoolSelectorProps {\n selectedWorkerPoolId: string;\n onSelected(pool: WorkerPoolResource): void;\n}\ninterface WorkerPoolSelectorState extends DataBaseComponentState {\n pool: WorkerPoolResource;\n}\nexport default class WorkerPoolSelector extends DataBaseComponent {\n constructor(props: WorkerPoolSelectorProps) {\n super(props);\n this.state = {\n pool: null!,\n };\n }\n onOk() {\n this.props.onSelected(this.state.pool);\n return true;\n }\n render() {\n return ( this.onOk()}>\n this.setState({ pool })} doBusyTask={this.doBusyTask}/>\n );\n }\n static displayName = \"WorkerPoolSelector\";\n}\n","/* eslint-disable @typescript-eslint/no-non-null-assertion */\nimport { CircularProgress } from \"@octopusdeploy/design-system-components\";\nimport type { WorkerPoolResource } from \"@octopusdeploy/octopus-server-client\";\nimport { links } from \"@octopusdeploy/portal-routes\";\nimport * as React from \"react\";\nimport { repository } from \"~/clientInstance\";\nimport OpenDialogIconButton from \"~/components/Dialog/OpenDialogIconButton\";\nimport { IconButtonWithTooltip } from \"~/components/IconButtonWithTooltip\";\nimport InputWithActions from \"~/components/InputWithActions/InputWithActions\";\nimport type { SpaceAwareNavigation } from \"~/components/Navigation/SpaceAwareNavigation/SpaceAwareNavigation\";\nimport { useSpaceAwareNavigation } from \"~/components/Navigation/SpaceAwareNavigation/useSpaceAwareNavigation\";\nimport type { OctopusTheme } from \"~/components/Theme\";\nimport { withTheme } from \"~/components/Theme\";\nimport type FormFieldProps from \"~/components/form/FormFieldProps\";\nimport { WorkerPoolIcon } from \"~/primitiveComponents/dataDisplay/Icon\";\nimport Select from \"~/primitiveComponents/form/Select/Select\";\nimport WorkerPoolSelector from \"./WorkerPoolSelector\";\nimport styles from \"./style.module.less\";\ninterface WorkerPoolSelectProps extends FormFieldProps {\n allowClear?: boolean;\n disabled?: boolean;\n label?: string | JSX.Element;\n error?: string;\n warning?: string;\n hideSearch?: boolean;\n validate?(value: string): string;\n onValidate?(value: string): void;\n doBusyTask(action: () => Promise): Promise;\n items: () => Promise;\n onRequestRefresh(): Promise;\n}\ninterface WorkerPoolSelectInternalProps extends WorkerPoolSelectProps {\n spaceAwareNavigation: SpaceAwareNavigation;\n}\ninterface TextState {\n error?: string;\n showSearchDialog: boolean;\n pools: WorkerPoolResource[];\n isDataLoaded: boolean;\n busy: boolean; //TODO: move busy back out into props and use a HOC/Render prop component to manage this state\n}\nfunction WorkerPoolSelect(props: WorkerPoolSelectProps) {\n const navigation = useSpaceAwareNavigation();\n return ;\n}\nconst toggleBusy = (value?: boolean) => (prev: TextState, props: WorkerPoolSelectInternalProps) => ({ ...prev, busy: value ? value : !prev.busy });\nclass WorkerPoolSelectInternal extends React.Component {\n constructor(props: WorkerPoolSelectInternalProps) {\n super(props);\n this.state = {\n error: null!,\n showSearchDialog: false,\n pools: [],\n isDataLoaded: false,\n busy: false,\n };\n }\n async componentDidMount() {\n await this.loadData();\n }\n async loadData() {\n try {\n this.setState(toggleBusy(true));\n await this.props.doBusyTask(async () => {\n const pools = await this.props.items();\n this.setState({ pools, isDataLoaded: true });\n });\n }\n finally {\n this.setState(toggleBusy(false));\n }\n }\n handleChange = (poolId: string | undefined) => {\n const value = poolId === \"\" ? null : poolId;\n if (this.props.validate) {\n const result = this.props.validate(value!);\n this.setState({ error: result });\n if (this.props.onValidate) {\n this.props.onValidate(result);\n }\n }\n this.props.onChange!(value!);\n };\n getItems(theme: OctopusTheme) {\n return this.state.pools.map((pool) => {\n return {\n value: pool.Id,\n text: pool.Name,\n icon: ,\n };\n });\n }\n selectionRenderer = (poolId: string) => {\n const pool = this.state.pools.find((p) => p.Id === poolId);\n if (!pool) {\n return poolId;\n }\n return (
    \n \n \n \n {pool.Name}\n
    );\n };\n render() {\n if (!this.state.isDataLoaded) {\n return ;\n }\n const { onChange, onValidate, doBusyTask, onRequestRefresh, hideSearch, ...otherProps } = this.props;\n return withTheme((theme) => (} busy={this.state.busy} actions={<>\n this.handleChange(pool.Id)} hide={hideSearch}/>\n \n \n }/>));\n }\n private goToWorkerPools = () => {\n this.props.spaceAwareNavigation.open(links.workerPoolsPage.generateUrl({ spaceId: repository.spaceId! }));\n };\n private refreshData = async () => {\n try {\n this.setState({ busy: true });\n await this.props.doBusyTask(async () => {\n await this.props.onRequestRefresh();\n const pools = await this.props.items();\n this.setState({ pools });\n });\n }\n finally {\n this.setState({ busy: false });\n }\n };\n static displayName = \"WorkerPoolSelectInternal\";\n}\ninterface SearchDialogButtonProps {\n selectedPoolId: string;\n onSelect: (pool: WorkerPoolResource) => void;\n hide?: boolean;\n}\nfunction SearchDialogButton({ selectedPoolId, onSelect, hide }: SearchDialogButtonProps) {\n if (hide) {\n return null;\n }\n return (\n \n );\n}\nexport default WorkerPoolSelect;\n","import type { WorkerPoolResource } from \"@octopusdeploy/octopus-server-client\";\nimport React from \"react\";\nimport type { FormFieldProps } from \"~/components/form\";\nimport WorkerPoolSelect from \"~/components/form/WorkerPoolSelect/WorkerPoolSelect\";\ninterface WorkPoolInputProps extends FormFieldProps {\n label: string;\n warning?: string;\n allowClear: boolean;\n defaultValueIndicator: JSX.Element | undefined;\n hideSearch?: boolean;\n doBusyTask(action: () => Promise): Promise;\n validate?: ((value: string) => string) | ((value: string | null) => string);\n onValidate?(value: string): void;\n items: () => Promise;\n onRequestRefresh: () => Promise;\n}\nconst WorkerPoolInput: React.FC = (props) => {\n const { value, label, warning, allowClear, defaultValueIndicator, doBusyTask, hideSearch, ...rest } = props;\n const formProps = { ...rest, label };\n return (\n \n {defaultValueIndicator}\n );\n};\nWorkerPoolInput.displayName = \"WorkerPoolInput\"\nexport default WorkerPoolInput;\n","// This is in a separate file to avoid circular dependencies. Play carefully if you move these :)\nimport type { ActionTemplateResource, ChannelResource, EnvironmentResource, WorkerPoolResource, VariableSetResource, TriggerResource, UserOnboardingResource } from \"@octopusdeploy/octopus-server-client\";\nimport type { LoadedLibraryVariableSets } from \"~/areas/projects/components/Variables/AllVariables/AllVariables\";\nimport type { TagIndex } from \"~/components/tenantTagsets\";\nimport type { EnvironmentOption, RunOn } from \"./types\";\nexport type FailedPermissionCheck = {\n type: \"No Permission\";\n};\nexport const NoPermission: FailedPermissionCheck = { type: \"No Permission\" };\nexport function isFailedPermissionCheck(value: T | FailedPermissionCheck | undefined | null): value is FailedPermissionCheck {\n if (value === undefined || value === null) {\n return false;\n }\n return \"type\" in value && value.type === \"No Permission\";\n}\nexport interface ProcessStepLookupState {\n environments: EnvironmentResource[];\n machineRoles: string[];\n availableWorkerPools: WorkerPoolResource[];\n tagIndex: TagIndex;\n actionTemplate: ActionTemplateResource | null | FailedPermissionCheck;\n channels: ChannelResource[];\n processVariableSet: VariableSetResource | FailedPermissionCheck;\n libraryVariableSets: LoadedLibraryVariableSets[] | FailedPermissionCheck;\n projectTriggers: TriggerResource[];\n userOnboarding: UserOnboardingResource | null;\n}\nexport interface ProcessStepActionState {\n pageTitle: string;\n isBuiltInWorkerEnabled: boolean;\n actionTypeName: string;\n runOn: RunOn | null;\n environmentOption: EnvironmentOption;\n}\n","/* eslint-disable @typescript-eslint/no-non-null-assertion */\n/* eslint-disable @typescript-eslint/no-explicit-any */\nimport type { GitRefResource, VariableSetResource, ControlType, VariableType } from \"@octopusdeploy/octopus-server-client\";\nimport * as React from \"react\";\nimport type { ProcessIdentifier } from \"~/areas/projects/components/Process/types\";\nimport { isBlueprintProcessIdentifier, isDeploymentOrRunbookProcessIdentifier } from \"~/areas/projects/components/Process/types\";\nimport type { LoadedLibraryVariableSets } from \"~/areas/projects/components/Variables/AllVariables/AllVariables\";\nimport { IconButtonWithTooltip } from \"~/components/IconButtonWithTooltip\";\nimport { AddVariableIconButton } from \"~/components/form/AddVariableIconButton\";\nimport { withBoundField } from \"~/components/form/BoundField/BoundField\";\nimport type FormFieldProps from \"~/components/form/FormFieldProps\";\nimport Select from \"~/primitiveComponents/form/Select/Select\";\nimport { collateVariableNames } from \"~/utils/LoadProjectVariables/loadProjectVariables\";\nimport IconButtonList from \"../../IconButtonList/IconButtonList\";\nimport InputWithActions from \"../../InputWithActions\";\nexport interface BaseVariableSelectProps extends FormFieldProps {\n gitRef: GitRefResource | undefined;\n allowClear?: boolean;\n disabled?: boolean;\n label?: string | JSX.Element;\n error?: string;\n warning?: string;\n processIdentifier: ProcessIdentifier;\n processVariableSet: VariableSetResource;\n libraryVariableSets: LoadedLibraryVariableSets[];\n refreshVariables: (() => Promise) | undefined;\n}\ninterface VariableSelectProps extends BaseVariableSelectProps {\n variableTypes: VariableType[];\n controlTypes: ControlType[];\n}\nexport function VariableSelect(props: VariableSelectProps) {\n const handleChange = (variable: any) => {\n const value = variable === \"\" ? null : variable;\n if (props.onChange) {\n props.onChange(value);\n }\n };\n const names = collateVariableNames(props.processVariableSet, props.libraryVariableSets, [], props.variableTypes, props.controlTypes);\n const buttons = [];\n if (props.refreshVariables) {\n buttons.push();\n }\n if (isDeploymentOrRunbookProcessIdentifier(props.processIdentifier)) {\n buttons.push();\n }\n else if (isBlueprintProcessIdentifier(props.processIdentifier)) {\n // TODO: Link to process template variables\n }\n return ({ value: v, text: v }))}/>} actions={}/>;\n}\nexport const BoundVariableSelect = withBoundField(VariableSelect);\n","import { Callout } from \"@octopusdeploy/design-system-components\";\nimport type { GitRefResource, VariableSetResource } from \"@octopusdeploy/octopus-server-client\";\nimport { ControlType, VariableType, Permission } from \"@octopusdeploy/octopus-server-client\";\nimport React from \"react\";\nimport type { FailedPermissionCheck } from \"~/areas/projects/components/Process/ProcessStepsLayoutTypes\";\nimport { isFailedPermissionCheck } from \"~/areas/projects/components/Process/ProcessStepsLayoutTypes\";\nimport type { ProcessIdentifier } from \"~/areas/projects/components/Process/types\";\nimport type { LoadedLibraryVariableSets } from \"~/areas/projects/components/Variables/AllVariables/AllVariables\";\nimport type { FormFieldProps } from \"~/components/form\";\nimport { BoundVariableSelect, VariableSelect } from \"~/components/form/VariableSelect/VariableSelect\";\ninterface BaseVariableInputProps extends FormFieldProps {\n gitRef: GitRefResource | undefined;\n label: string;\n defaultValueIndicator: JSX.Element | undefined;\n allowClear: boolean;\n processIdentifier: ProcessIdentifier;\n processVariableSet: VariableSetResource | FailedPermissionCheck;\n libraryVariableSets: LoadedLibraryVariableSets[] | FailedPermissionCheck;\n refreshVariables: (() => Promise) | undefined;\n}\nexport interface VariableInputProps extends BaseVariableInputProps {\n variableTypes: VariableType[];\n controlTypes: ControlType[];\n showBoundField?: boolean;\n}\nconst VariableInput: React.FC = (props) => {\n const { value, gitRef, label, defaultValueIndicator, allowClear, processIdentifier, processVariableSet, libraryVariableSets, refreshVariables, variableTypes, controlTypes, showBoundField, ...rest } = props;\n const formProps = { ...rest, label };\n if (isFailedPermissionCheck(processVariableSet) || isFailedPermissionCheck(libraryVariableSets)) {\n return ;\n }\n return showBoundField ? (\n \n {defaultValueIndicator}\n ) : (\n \n {defaultValueIndicator}\n );\n};\nVariableInput.displayName = \"VariableInput\"\nexport function CertificateVariableInput(props: BaseVariableInputProps) {\n return ;\n}\nexport function AwsAccountVariableInput(props: BaseVariableInputProps) {\n return ;\n}\nexport function AzureAccountVariableInput(props: BaseVariableInputProps) {\n return ;\n}\nexport function GoogleCloudAccountVariableInput(props: BaseVariableInputProps) {\n return ;\n}\nexport function UsernamePasswordAccountVariableInput(props: BaseVariableInputProps) {\n return ;\n}\nexport function GenericOidcAccountVariableInput(props: BaseVariableInputProps) {\n return ;\n}\nexport function WorkerPoolVariableInput(props: BaseVariableInputProps) {\n return ;\n}\nexport function SensitiveVariableInput(props: BaseVariableInputProps) {\n return ;\n}\n","import type { AccountResource } from \"@octopusdeploy/octopus-server-client\";\nimport { AccountType } from \"@octopusdeploy/octopus-server-client\";\nimport React from \"react\";\nimport type { FormFieldProps } from \"~/components/form\";\nimport { BoundAccountSelect } from \"~/components/form/AccountSelect/AccountSelect\";\nimport type { VariableLookupProps } from \"~/components/form/VariableLookup/VariableLookup\";\ninterface GoogleCloudAccountInputProps extends FormFieldProps {\n resetValue?: string;\n items: AccountResource[];\n label: string;\n variableLookup: VariableLookupProps | undefined;\n warning?: string;\n allowClear: boolean;\n defaultValueIndicator: JSX.Element | undefined;\n onRequestRefresh: () => Promise;\n validate?: ((value: string) => string) | ((value: string | null) => string);\n onValidate?(value: string): void;\n}\nconst GoogleCloudAccountInput: React.FC = (props) => {\n const { value, resetValue, items, label, variableLookup, warning, allowClear, defaultValueIndicator, onRequestRefresh, ...rest } = props;\n const formProps = { ...rest, label };\n return (\n \n {defaultValueIndicator}\n );\n};\nGoogleCloudAccountInput.displayName = \"GoogleCloudAccountInput\"\nexport default GoogleCloudAccountInput;\n","/* eslint-disable @typescript-eslint/consistent-type-assertions */\nimport { Callout } from \"@octopusdeploy/design-system-components\";\nimport type { CertificateResource, GitRefResource, PropertyValueResource, SensitiveValue, WorkerPoolResource, FeedResource, PackageReference, ActionTemplateParameterResource, VariableSetResource } from \"@octopusdeploy/octopus-server-client\";\nimport { ControlType, getFeedTypesForPackageParameter, IsPrimaryPackageReference, SetNamedPackageReference, SetPrimaryPackageReference } from \"@octopusdeploy/octopus-server-client\";\nimport * as _ from \"lodash\";\nimport { isEqual } from \"lodash\";\nimport * as React from \"react\";\nimport type { FailedPermissionCheck } from \"~/areas/projects/components/Process/ProcessStepsLayoutTypes\";\nimport type { ProcessIdentifier } from \"~/areas/projects/components/Process/types\";\nimport type { LoadedLibraryVariableSets } from \"~/areas/projects/components/Variables/AllVariables/AllVariables\";\nimport AmazonWebServicesAccountInput from \"~/components/ControlInputs/AmazonWebServicesAccountInput\";\nimport AzureAccountInput from \"~/components/ControlInputs/AzureAccountInput\";\nimport CertificateInput from \"~/components/ControlInputs/CertificateInput\";\nimport CheckboxInput from \"~/components/ControlInputs/CheckboxInput\";\nimport GenericOidcAccountInput from \"~/components/ControlInputs/GenericOidcAccountInput\";\nimport MultiLineTextInput from \"~/components/ControlInputs/MultiLineTextInput\";\nimport SelectInput from \"~/components/ControlInputs/SelectInput\";\nimport SensitiveInput from \"~/components/ControlInputs/SensitiveInput\";\nimport SingleLineTextInput from \"~/components/ControlInputs/SingleLineTextInput\";\nimport UsernamePasswordAccountInput from \"~/components/ControlInputs/UsernamePasswordAccountInput\";\nimport WorkerPoolInput from \"~/components/ControlInputs/WorkerPoolInput\";\nimport DebounceValue from \"~/components/DebounceValue/DebounceValue\";\nimport ExternalLink from \"~/components/Navigation/ExternalLink\";\nimport PackageSelector from \"~/components/PackageSelector/PackageSelector\";\nimport { AwsAccountVariableInput, AzureAccountVariableInput, CertificateVariableInput, GenericOidcAccountVariableInput, GoogleCloudAccountVariableInput, SensitiveVariableInput, UsernamePasswordAccountVariableInput, WorkerPoolVariableInput, } from \"~/components/form/VariableSelect/VariableInput\";\nimport Note from \"~/primitiveComponents/form/Note/Note\";\nimport { BoundSelect } from \"~/primitiveComponents/form/Select/Select\";\nimport { DebounceText } from \"~/primitiveComponents/form/Text/Text\";\nimport { JsonUtils } from \"~/utils/jsonUtils\";\nimport selectOptionsToItems from \"../../primitiveComponents/form/Select/Options\";\nimport GoogleCloudAccountInput from \"../ControlInputs/GoogleCloudAccountInput\";\nimport type FormFieldProps from \"../form/FormFieldProps\";\nimport getSensitiveResetValue from \"../form/Sensitive/getSensitiveResetValue\";\nimport styles from \"./style.module.less\";\nexport interface PackageSourceItems {\n items: PackageReference[];\n feeds: FeedResource[];\n onRequestRefresh(): Promise;\n setPackages(packages: PackageReference[], initialise?: boolean): void;\n}\nexport interface ProjectSourceItems {\n projectId: string;\n processIdentifier: ProcessIdentifier;\n processVariableSet: VariableSetResource | FailedPermissionCheck;\n libraryVariableSets: LoadedLibraryVariableSets[] | FailedPermissionCheck;\n refreshVariables: (() => Promise) | undefined;\n gitRef: GitRefResource | undefined;\n stepNames: string[];\n packages: PackageSourceItems;\n}\nexport type SourceItems = ProjectSourceItems | PackageSourceItems;\nexport function isProjectSourceItems(sourceItems: SourceItems): sourceItems is ProjectSourceItems {\n return !!(sourceItems as ProjectSourceItems).projectId;\n}\ninterface ActionTemplateParameterInputProps extends FormFieldProps {\n parameter: ActionTemplateParameterResource;\n localNames?: string[];\n sourceItems: SourceItems;\n disabled?: boolean;\n error?: string;\n warning?: string;\n actionType?: string;\n doBusyTask(action: () => Promise): Promise;\n}\ninterface PackageDetails {\n PackageId: string;\n Package: PackageReference;\n}\nclass ActionTemplateParameterInput extends React.Component {\n render() {\n return
    {this.getInputControl()}
    ;\n }\n private getInputControl = () => {\n const { warning, sourceItems, doBusyTask, value, localNames, actionType, ...rest } = this.props;\n const isProcessTemplateParameter = actionType === \"Octopus.ProcessTemplate\";\n const resetValue = getResetValueFromParameter(this.props.parameter, isProcessTemplateParameter);\n const type = this.props.parameter.DisplaySettings[\"Octopus.ControlType\"];\n const label = this.props.parameter.Label || this.props.parameter.Name;\n const formProps = { ...rest, label };\n const evaluatedResetValue = typeof resetValue === \"function\" ? resetValue() : resetValue;\n const resetLinkText = isProcessTemplateParameter ? \"Clear\" : \"Reset to default\";\n const resetLink = ( {\n e.preventDefault();\n if (this.props.onChange) {\n this.props.onChange(evaluatedResetValue);\n }\n }}>\n {resetLinkText}\n );\n const usingDefaultText = isProcessTemplateParameter ? \"\" : \"Using default value.\";\n const defaultValueIndicator = isUsingDefaultValue(value, evaluatedResetValue) ? {usingDefaultText} : {resetLink};\n switch (type) {\n case ControlType.SingleLineText:\n return ;\n case ControlType.MultiLineText:\n return ;\n case ControlType.Select: {\n const options = selectOptionsToItems(this.props.parameter.DisplaySettings[\"Octopus.SelectOptions\"]);\n const allowClear = this.props.parameter.AllowClear !== undefined ? this.props.parameter.AllowClear : true;\n return ();\n }\n case ControlType.Checkbox:\n return ;\n case ControlType.Sensitive:\n if (isProjectSourceItems(sourceItems) && sourceItems.gitRef && isProcessTemplateParameter) {\n // Unlike the other variable inputs, the sensitive value should evaluate to the actual value of the variable rather than just the name.\n // Since the variable input displays names, we need to do some pre and post-manipulation of the value to store it as the binded value.\n const bindingPattern = /^#{(.*)}$/;\n const match = value ? (value as string).match(bindingPattern) : undefined;\n const valueWithoutBinding = match ? match[1] : value;\n return (\n (val ? formProps.onChange(`#{${val}}`) : formProps.onChange(undefined))}/>\n Sensitive values must be stored as variables and referenced, as they are not supported in version controlled projects.\n );\n }\n return ;\n case ControlType.StepName:\n const items = isProjectSourceItems(sourceItems) ? sourceItems.stepNames.map((s) => ({ value: s, text: s })) : [];\n return (\n \n {defaultValueIndicator}\n );\n case ControlType.Certificate:\n return isProjectSourceItems(sourceItems) ? () : (\n // This feels like a bug or oversight: Why shouldn't we be able to select certificates here?\n Promise.resolve([])} warning={warning} tenantId={undefined} allowClear={true} defaultValueIndicator={defaultValueIndicator} onRequestRefresh={() => Promise.resolve(true)} doBusyTask={doBusyTask} {...formProps}/>);\n case ControlType.WorkerPool:\n return isProjectSourceItems(sourceItems) ? () : (\n // This feels like a bug or oversight: Why shouldn't we be able to select worker pools here?\n Promise.resolve([])} onRequestRefresh={() => Promise.resolve(true)} {...formProps}/>);\n case ControlType.AmazonWebServicesAccount:\n return isProjectSourceItems(sourceItems) ? () : (\n // This feels like a bug or oversight: Why shouldn't we be able to select accounts here?\n );\n case ControlType.GoogleCloudAccount:\n return isProjectSourceItems(sourceItems) ? () : (\n // This feels like a bug or oversight: Why shouldn't we be able to select accounts here?\n );\n case ControlType.AzureAccount:\n return isProjectSourceItems(sourceItems) ? () : (\n // This feels like a bug or oversight: Why shouldn't we be able to select accounts here?\n );\n case ControlType.UsernamePasswordAccount:\n return isProjectSourceItems(sourceItems) ? () : ();\n case ControlType.GenericOidcAccount:\n return isProjectSourceItems(sourceItems) ? () : (\n // This feels like a bug or oversight: Why shouldn't we be able to select accounts here?\n );\n /* eslint-disable @typescript-eslint/no-non-null-assertion */\n case ControlType.Package:\n const packages = isProjectSourceItems(sourceItems) ? sourceItems.packages : sourceItems;\n const projectId = isProjectSourceItems(sourceItems) ? sourceItems.projectId : undefined;\n const isPackageParameterReferenced = packages.items.find((p) => p.Properties[\"PackageParameterName\"] === this.props.parameter.Name);\n if (isPackageParameterReferenced) {\n const { PackageId, Package } = this.getPackageDetails(value as string, packages.items);\n if (Package) {\n const feedIdValue = Package.FeedId;\n return (\n {\n IsPrimaryPackageReference(Package)\n ? packages.setPackages(SetPrimaryPackageReference({ PackageId: packageId }, packages.items))\n : packages.setPackages(SetNamedPackageReference(Package.Name!, { PackageId: packageId }, packages.items));\n this.notifyChange(JSON.stringify({ PackageId: packageId, FeedId: feedIdValue }));\n }} onFeedIdChange={(feedId) => {\n IsPrimaryPackageReference(Package)\n ? packages.setPackages(SetPrimaryPackageReference({ FeedId: feedId }, packages.items))\n : packages.setPackages(SetNamedPackageReference(Package.Name!, { FeedId: feedId }, packages.items));\n this.notifyChange(JSON.stringify({ PackageId, FeedId: feedId }));\n }} projectId={projectId} feeds={packages.feeds} localNames={this.props.localNames!} feedType={getFeedTypesForPackageParameter(actionType!, Package)} refreshFeeds={packages.onRequestRefresh} {...formProps}/>\n {Package.Name && (\n The name used to identify this package reference is {Package.Name}. Learn more about{\" \"}\n Accessing Package References from a Custom Script.\n )}\n );\n }\n }\n return (\n

    This parameter is not currently used by the step, it might have been replaced by another parameter.

    \n
    );\n /* eslint-enable @typescript-eslint/no-non-null-assertion */\n default:\n return ;\n }\n };\n private notifyChange = (value: string) => {\n if (this.props.onChange) {\n this.props.onChange(value);\n }\n };\n /* eslint-disable @typescript-eslint/no-non-null-assertion */\n private getPackageDetails = (value: string, packages: PackageReference[]): PackageDetails => {\n let packageIdValue = value;\n let pkg = _.find(packages, (p) => p.Properties[\"PackageParameterName\"] === this.props.parameter.Name)!;\n if (!!value && JsonUtils.tryParseJson(value)) {\n const { PackageId, FeedId }: Partial = JSON.parse(value);\n pkg = { ...pkg, PackageId: PackageId!, FeedId: FeedId! };\n packageIdValue = pkg.PackageId;\n }\n if (!pkg && packages.length > 0) {\n const hasPackageParameters = _.some(packages, (p) => p.Properties[\"PackageParameterName\"]);\n if (!hasPackageParameters) {\n // If there's no PackageParameterName the action is the old style. Use the first item as the package.\n pkg = packages[0];\n // Pre-populate existing value\n packageIdValue = pkg.PackageId;\n }\n }\n return { PackageId: packageIdValue, Package: pkg! };\n };\n /* eslint-enable @typescript-eslint/no-non-null-assertion */\n private emptyPromise = () => {\n return Promise.resolve();\n };\n static displayName = \"ActionTemplateParameterInput\";\n}\nconst DefaultValueIsNotProvided = undefined;\nfunction getResetValueFromParameter(parameter: ActionTemplateParameterResource, isProcessTemplateParameter: boolean = false) {\n if (isProcessTemplateParameter) {\n return \"\";\n }\n const isSensitiveParameter = parameter.DisplaySettings && parameter.DisplaySettings[\"Octopus.ControlType\"] === \"Sensitive\";\n if (isSensitiveParameter) {\n if (isSensitiveValue(parameter.DefaultValue)) {\n return getSensitiveResetValue(parameter.DefaultValue);\n }\n // Sensitive parameters can have non-sensitive default values. You can have\n // - Plain string values (What does this even mean?)\n // - Variable expressions (also just a string, but with #{...})\n // - empty values (i.e. \"\"). This is the same as not providing a default value at all\n return parameter.DefaultValue ?? DefaultValueIsNotProvided;\n }\n if (isSensitiveValue(parameter.DefaultValue)) {\n throw new Error(\"SensitiveValue is only supported as the default value for Sensitive parameter types\");\n }\n return parameter.DefaultValue ?? DefaultValueIsNotProvided;\n function isSensitiveValue(value: PropertyValueResource | undefined): value is SensitiveValue {\n return typeof value !== \"string\" && value !== undefined && value !== null;\n }\n}\nfunction isUsingDefaultValue(value: PropertyValueResource | undefined, evaluatedResetValue: string | SensitiveValue | undefined, isProcessTemplateParameter: boolean = false) {\n if (isProcessTemplateParameter) {\n return !value;\n }\n // If no default value is entered, its value ends up being \"\"\n // While the typing suggests that the value could also be `undefined` or `null`, I'm not sure this can actually occur in practice\n const defaultValueIsEmptyString = evaluatedResetValue === \"\";\n const noValueProvided = value === undefined || value === null;\n // Consider the scenario where `value` === undefined, and `evaluatedResetValue` === \"\";\n // The API interprets an empty string as the absence of a value, and will clear the property value, leaving us with `undefined` after a round trip\n // Therefore we should interpret `undefined` as equivalent to \"\".\n // If we don't interpret it this way, then you could \"reset to default\", yet clicking the button would have no effect\n const noValueProvidedAndDefaultIsEmptyString = noValueProvided && defaultValueIsEmptyString;\n // I don't think this case can actually occur - I think the DefaultValue must always be populated (non-undefined, non-null), even if its value ends up being just \"\"\n const noDefaultValueProvided = evaluatedResetValue !== DefaultValueIsNotProvided;\n return noDefaultValueProvided && (isEqual(value, evaluatedResetValue) || noValueProvidedAndDefaultIsEmptyString);\n}\nexport default DebounceValue(ActionTemplateParameterInput);\nexport { ActionTemplateParameterInputProps };\n","/* eslint-disable @typescript-eslint/no-non-null-assertion */\nimport { ControlType } from \"@octopusdeploy/octopus-server-client\";\nimport type { ActionTemplateParameterResource } from \"@octopusdeploy/octopus-server-client\";\nimport * as _ from \"lodash\";\nimport * as React from \"react\";\nimport Markdown from \"~/components/Markdown/index\";\nimport FormSection from \"../form/Sections/FormSection\";\nimport type { ActionTemplateParameterInputProps } from \"./ActionTemplateParameterInput\";\nimport ActionTemplateParameterInput from \"./ActionTemplateParameterInput\";\ntype HelpTextMarkupProvider = (label: string) => string;\n// The purpose of this class is to provide consistent labels/help text etc for components that are external to the actual input\nexport default class ActionTemplateParameterInputFormElement extends React.Component {\n shouldComponentUpdate(newProps: ActionTemplateParameterInputProps) {\n return hasParameterChanged(newProps, this.props);\n }\n render() {\n const parameter = this.props.parameter;\n const label = getLabel(parameter);\n return (\n \n );\n }\n static displayName = \"ActionTemplateParameterInputFormElement\";\n}\nfunction hasParameterChanged(newParam: ActionTemplateParameterInputProps, oldParam: ActionTemplateParameterInputProps): boolean {\n return !_.isEqual(newParam.value, oldParam.value) || !_.isEqual(newParam.error, oldParam.error) || !_.isEqual(newParam.warning, oldParam.warning) || !_.isEqual(newParam.sourceItems, oldParam.sourceItems);\n}\nfunction getLabel(parameter: ActionTemplateParameterResource) {\n return parameter.Label || parameter.Name;\n}\nfunction getHelpText(parameter: ActionTemplateParameterResource, customEmptyHelpTextMarkup: HelpTextMarkupProvider = null!, packageParameterIsUsed?: boolean) {\n const label = parameter.Label || parameter.Name;\n const helpText = parameter.HelpText\n ? parameter.HelpText\n : customEmptyHelpTextMarkup\n ? customEmptyHelpTextMarkup(label)\n : parameter.DisplaySettings[\"Octopus.ControlType\"] !== ControlType.Package || packageParameterIsUsed\n ? `Provide a value for ${label}`\n : \"\";\n return ;\n}\nexport { hasParameterChanged, getLabel, getHelpText };\n","/* eslint-disable @typescript-eslint/no-non-null-assertion */\n/* eslint-disable @typescript-eslint/no-explicit-any */\n/* eslint-disable @typescript-eslint/consistent-type-assertions */\nimport type { PropertyValueResource, FeedResource, PackageReference } from \"@octopusdeploy/octopus-server-client\";\nimport { ControlType } from \"@octopusdeploy/octopus-server-client\";\nimport * as React from \"react\";\nimport { default as Summary } from \"~/components/form/Sections/Summary\";\nimport type { Options } from \"~/primitiveComponents/form/Select/Options\";\nimport selectOptionsToItems from \"~/primitiveComponents/form/Select/Options\";\nimport { JsonUtils } from \"~/utils/jsonUtils\";\nimport ExpandableFormSection from \"../form/Sections/ExpandableFormSection\";\nimport type { ActionTemplateParameterInputProps } from \"./ActionTemplateParameterInput\";\nimport ActionTemplateParameterInput, { isProjectSourceItems } from \"./ActionTemplateParameterInput\";\nimport { getHelpText, getLabel } from \"./ActionTemplateParameterInputRenderer\";\ntype HelpTextMarkupProvider = (label: string) => string;\nexport default class ActionTemplateParameterInputExpandableFormElement extends React.Component {\n render() {\n const { isExpandedByDefault, customHelpText, ...inputProps } = this.props;\n const parameter = inputProps.parameter;\n const options = selectOptionsToItems(parameter.DisplaySettings[\"Octopus.SelectOptions\"]);\n const packages = isProjectSourceItems(inputProps.sourceItems) ? inputProps.sourceItems.packages : inputProps.sourceItems;\n const feeds = packages?.feeds ?? [];\n const type = parameter.DisplaySettings[\"Octopus.ControlType\"];\n const packageParameterIsUsed = packages ? !!packages.items.find((p) => p.Properties[\"PackageParameterName\"] === parameter.Name) : false;\n const label = getLabel(parameter);\n return (\n \n );\n }\n static displayName = \"ActionTemplateParameterInputExpandableFormElement\";\n}\nexport function createSummaryFor(label: string, type: ControlType, options: Options, feeds: FeedResource[], packageParameterIsUsed?: boolean) {\n return (value: PropertyValueResource | undefined) => {\n if (type === ControlType.Package && !packageParameterIsUsed) {\n return Summary.placeholder(\"This parameter is not used by the step\");\n }\n if (value === undefined || value === null) {\n return Summary.placeholder(\"Provide \" + label);\n }\n if (typeof value === \"object\") {\n return Summary.summary(\"********\");\n }\n if (type === ControlType.Select) {\n const option = options.find((o) => o.value === value);\n if (option) {\n return Summary.summary(option.text);\n }\n }\n if (type === ControlType.Package) {\n if (JsonUtils.tryParseJson(value)) {\n const pkg = JSON.parse(value) as Partial>;\n if (!pkg.PackageId) {\n return Summary.placeholder(\"Provide \" + label);\n }\n const feed = feeds.find((f) => f.Id === pkg.FeedId);\n return Summary.summary(\n Package {pkg.PackageId}\n \n  from feed {!!feed ? feed.Name : pkg.FeedId}\n \n );\n }\n }\n return Summary.summary(value);\n };\n}\n","import { css } from \"@emotion/css\";\nimport { ActionButton, ActionButtonType, Callout } from \"@octopusdeploy/design-system-components\";\nimport { space, text, themeTokens } from \"@octopusdeploy/design-system-tokens\";\nimport { useQuery } from \"@octopusdeploy/octopus-react-client\";\nimport type { BlueprintResource, EnvironmentResource, GitRefResource, PackageReference, ProcessTemplateParameterResource, ScopeValues, VariableSetResource, PlatformHubAccountSummary, PropertyValueResource, } from \"@octopusdeploy/octopus-server-client\";\nimport { noOp } from \"@octopusdeploy/utilities\";\nimport { flatten } from \"lodash\";\nimport { useMemo, useState } from \"react\";\nimport * as React from \"react\";\nimport type { ParameterValueRow, ProcessTemplateValueKey } from \"~/areas/blueprints/ProcessTemplateParametersTab\";\nimport { ProcessTemplateParameterScopeCell } from \"~/areas/blueprints/ProcessTemplateParametersTab\";\nimport { useScopeWidth } from \"~/areas/blueprints/useScopeWidth\";\nimport { useProcessContext } from \"~/areas/projects/components/Process/Contexts/ProcessContext\";\nimport { useProcessErrorSelectors } from \"~/areas/projects/components/Process/Contexts/ProcessErrors/ProcessErrorsContext\";\nimport { useFeedsFromContext, useRefreshFeedsFromContext } from \"~/areas/projects/components/Process/Contexts/ProcessFeedsContextProvider\";\nimport type { FailedPermissionCheck } from \"~/areas/projects/components/Process/ProcessStepsLayoutTypes\";\nimport type { StoredAction } from \"~/areas/projects/components/Process/types\";\nimport type { LoadedLibraryVariableSets } from \"~/areas/projects/components/Variables/AllVariables/AllVariables\";\nimport ReadonlyInlineVariableValue from \"~/areas/projects/components/Variables/TenantVariables/ReadonlyInlineVariableValue\";\nimport { TemplateHelpText } from \"~/areas/projects/components/Variables/TenantVariables/TemplateHelpText\";\nimport { getVariableTypeFromDisplaySettings } from \"~/areas/projects/components/Variables/TenantVariables/getVariableTypeFromDisplaySettings\";\nimport { useProjectContext } from \"~/areas/projects/context\";\nimport { isAccountType } from \"~/areas/variables/isAccountType\";\nimport { repository } from \"~/clientInstance\";\nimport type { ProjectSourceItems } from \"~/components/ActionTemplateParameterInput/ActionTemplateParameterInput\";\nimport ActionTemplateParameterInput from \"~/components/ActionTemplateParameterInput/ActionTemplateParameterInput\";\nimport { createSummaryFor } from \"~/components/ActionTemplateParameterInput/ActionTemplateParameterInputExpandableFormElement\";\nimport { getHelpText, getLabel } from \"~/components/ActionTemplateParameterInput/ActionTemplateParameterInputRenderer\";\nimport { type DoBusyTask } from \"~/components/DataBaseComponent/index\";\nimport { GroupedDataTable } from \"~/components/GroupedDataTable/GroupedDataTable\";\nimport { ExpandableFormSection, FormSection, FormSectionHeading, Summary } from \"~/components/form/index\";\nimport selectOptionsToItems from \"~/primitiveComponents/form/Select/Options\";\ninterface BlueprintActionDetailsProps {\n stepId: string;\n action: StoredAction;\n doBusyTask: DoBusyTask;\n onParameterValueChanged: (parameterName: string, value: PropertyValueResource | undefined) => void;\n blueprint: BlueprintResource;\n gitRefResource: GitRefResource | undefined;\n processVariableSet: VariableSetResource | FailedPermissionCheck;\n libraryVariableSets: LoadedLibraryVariableSets[] | FailedPermissionCheck;\n environments: EnvironmentResource[];\n}\nexport function BlueprintActionDetails({ stepId, action, doBusyTask, onParameterValueChanged, blueprint, gitRefResource, processVariableSet, libraryVariableSets, environments }: BlueprintActionDetailsProps) {\n const projectContext = useProjectContext();\n const processContext = useProcessContext();\n const actionNames: string[] = flatten(Object.values(processContext.state.model.actions.byId).map((a) => a.Name));\n const feeds = useFeedsFromContext();\n const refreshFeeds = useRefreshFeedsFromContext();\n const platformHubAccountIds = useMemo(() => blueprint.Parameters.filter((p) => isAccountType(getVariableTypeFromDisplaySettings(p.DisplaySettings[\"Octopus.ControlType\"]))).flatMap((p) => p.Values.map((v) => v.Value)), [blueprint.Parameters]);\n const { result: platformHubAccountNames } = useQuery(() => repository.PlatformHubRepository.getPlatformHubAccountNames(platformHubAccountIds), [platformHubAccountIds], \"Get platform hub account names\");\n const packageReferences: PackageReference[] = blueprint.Parameters.filter((p) => p.DisplaySettings[\"Octopus.ControlType\"] === \"Package\").map((p) => ({\n Name: p.Name,\n PackageId: \"\",\n FeedId: \"\",\n AcquisitionLocation: \"\",\n Properties: {\n PackageParameterName: p.Name,\n SelectionMode: \"deferred\",\n },\n Id: \"\",\n }));\n if (!platformHubAccountNames) {\n return null;\n }\n const sourceItems: ProjectSourceItems = {\n stepNames: actionNames,\n projectId: projectContext.state.model.Id,\n processIdentifier: processContext.state.processIdentifier,\n processVariableSet,\n libraryVariableSets,\n refreshVariables: undefined, // Can't refresh variables in a process template action\n gitRef: gitRefResource,\n packages: {\n items: packageReferences,\n feeds: feeds,\n onRequestRefresh: async () => {\n await doBusyTask(async () => {\n await refreshFeeds();\n });\n },\n setPackages: (packages: PackageReference[]) => {\n // TODO: Untested\n processContext.actions.setActionMetaProperties(action.Id, (prev) => ({ ...prev, Packages: packages }));\n },\n },\n };\n const parameterNamesInAction = Object.keys(action.Properties).filter((p) => !p.startsWith(\"Octopus\"));\n const parameterNamesInBlueprint = new Set(blueprint.Parameters.map((p) => p.Name));\n const parametersRemovedFromBlueprint = parameterNamesInAction.filter((p) => !parameterNamesInBlueprint.has(p));\n const clearValues = () => {\n processContext.actions.removeActionProperties(action.Id, parametersRemovedFromBlueprint);\n };\n return (<>\n \n \n {blueprint.Parameters.length > 0 ? (<>\n \n {parametersRemovedFromBlueprint.length > 0 ? (\n
    \n
    One or more parameters have been removed from the current version of the blueprint. We recommend clearing these values to avoid any unexpected behavior.
    \n
    \n \n
    \n
    \n
    ) : null}\n \n \n \n
    Overrides will be used when there is no scoped value provided by the process template for a given environment.
    \n
    \n {blueprint.Parameters.map((parameter) => ())}\n {parametersRemovedFromBlueprint.map((parameter) => ({parameter}} includeBorder={true} help={{action.Properties[parameter]}}>))}\n ) : null}\n );\n}\ninterface ProcessTemplateParametersReadonlyTableProps {\n parameters: ProcessTemplateParameterResource[];\n availableScopeValues: ScopeValues;\n platformHubAccounts: PlatformHubAccountSummary[];\n}\nfunction ProcessTemplateParametersReadonlyTable({ parameters, availableScopeValues, platformHubAccounts }: ProcessTemplateParametersReadonlyTableProps) {\n const { scopeHeaderRef, scopeWidth } = useScopeWidth();\n const [focusedValueKey, setFocusedValueKey] = useState(null);\n const parameterValues: ParameterValueRow[] = parameters.flatMap((p, parameterIndex): ParameterValueRow[] => {\n if (p.Values.length === 0) {\n return [{ Parameter: p, Value: null, ParameterIndex: parameterIndex, ValueIndex: 0 }];\n }\n return p.Values.map((v, valueIndex) => ({ Parameter: p, Value: v, ParameterIndex: parameterIndex, ValueIndex: valueIndex }));\n });\n return (
    \n (data.ValueIndex === 0 ? : null),\n width: \"25%\",\n isChild: (data) => data.ValueIndex !== 0,\n padding: space[12],\n },\n {\n title: \"Value\",\n render: (data) => (
    \n {data.Value ? ( ({ ...acc, [a.Id]: a.Name }), {})} certificates={{}} workerPools={{}} hasEditPermissions={false} sourceItems={undefined}/>) : (
    No values provided. Specify an override below.
    )}\n
    ),\n width: \"35%\",\n padding: \"0\",\n },\n {\n title: \"Scope\",\n render: (data) => data.Value ? (
    \n \n
    ) : null,\n width: \"40%\",\n padding: \"0\",\n ref: scopeHeaderRef,\n },\n ]} getRowKey={(data) => `${data.Parameter.Name}-${data.ValueIndex}`}/>\n
    );\n}\nfunction ReadonlyParameterNameCell({ parameter }: {\n parameter: ProcessTemplateParameterResource;\n}) {\n return (
    \n
    {parameter.Label || parameter.Name}
    \n \n
    );\n}\nconst defaultScopeValues: ScopeValues = {\n Actions: [],\n Channels: [],\n Environments: [],\n Machines: [],\n Roles: [],\n TenantTags: [],\n Processes: [],\n};\ninterface ReadonlyBlueprintDetailsProps {\n blueprint: BlueprintResource;\n}\nfunction ReadonlyBlueprintDetails({ blueprint }: ReadonlyBlueprintDetailsProps) {\n return (<>\n \n );\n}\ninterface BlueprintParameterProps {\n parameter: ProcessTemplateParameterResource;\n stepId: string;\n sourceItems: ProjectSourceItems;\n action: StoredAction;\n onParameterValueChanged: (parameterName: string, value: PropertyValueResource | undefined) => void;\n doBusyTask: DoBusyTask;\n}\nfunction BlueprintParameter({ stepId, parameter, sourceItems, action, onParameterValueChanged, doBusyTask }: BlueprintParameterProps) {\n const projectContext = useProjectContext();\n const label = getLabel(parameter);\n const type = parameter.DisplaySettings[\"Octopus.ControlType\"];\n const options = selectOptionsToItems(parameter.DisplaySettings[\"Octopus.SelectOptions\"]);\n const packageParameterIsUsed = !!sourceItems.packages.items.find((p) => p.Properties[\"PackageParameterName\"] === parameter.Name);\n const value = action.Properties[parameter.Name];\n const hasValue = parameter.Values.length > 0;\n const optionalText = hasValue ? \" (optional)\" : \"\";\n const processErrorSelectors = useProcessErrorSelectors();\n const getStepFieldError = (value: string) => processErrorSelectors.getStepFieldError(stepId, value);\n const summary = value === undefined || value === null ? Summary.placeholder(\"Provide \" + label + optionalText) : type ? createSummaryFor(label, type, options, sourceItems.packages.feeds, packageParameterIsUsed)(value) : null;\n const helpText = (
    \n {getHelpText(parameter, undefined, packageParameterIsUsed)} {optionalText}\n
    );\n return type ? (\n onParameterValueChanged(parameter.Name, value)} actionType={action.ActionType} error={getStepFieldError(parameter.Name)}/>\n ) : null;\n}\nconst styles = {\n calloutContainer: css({\n display: \"flex\",\n flexDirection: \"column\",\n gap: space[8],\n }),\n removedParameter: css({\n color: themeTokens.color.text.disabled,\n }),\n parameterNameCell: css({\n display: \"flex\",\n alignItems: \"center\",\n gap: space[8],\n }),\n parameterLabelOrName: css({\n font: text.body.bold.medium,\n wordBreak: \"break-word\",\n }),\n valueContainer: css({\n paddingLeft: space[12],\n paddingRight: space[12],\n }),\n noValue: css({\n color: themeTokens.color.text.secondary,\n }),\n optionalText: css({\n color: themeTokens.color.text.tertiary,\n marginLeft: space[4],\n }),\n helpText: css({\n display: \"flex\",\n flexDirection: \"row\",\n alignItems: \"center\",\n }),\n scopeContainer: css({\n height: \"3rem\",\n cursor: \"default\",\n }),\n};\n","import { css } from \"@emotion/css\";\nimport { Callout, Checkbox, RadioButton, RadioButtonGroup } from \"@octopusdeploy/design-system-components\";\nimport { fontSize, space, themeTokens } from \"@octopusdeploy/design-system-tokens\";\nimport { useQuery } from \"@octopusdeploy/octopus-react-client\";\nimport type { ActionProperties, BlueprintResource, ProcessTemplateListSummaryResource, ProcessTemplateVersionResource } from \"@octopusdeploy/octopus-server-client\";\nimport { first, isEmpty } from \"lodash\";\nimport * as React from \"react\";\nimport { useState } from \"react\";\nimport type { DoBusyTask } from \"~/components/DataBaseComponent/index\";\nimport convertPropertyValueResourceToString from \"~/components/convertPropertyValueResourceToString\";\nimport { ExpandableFormSection, FormSection, FormSectionHeading, Select, Summary } from \"~/components/form/index\";\ninterface ProcessTemplateVersionSelectorProps {\n actionProperties: ActionProperties;\n doBusyTask: DoBusyTask;\n setUseSpecificVersion: (version: string, commit: string) => void;\n setUseVersioningOption: (versioningOption: VersioningOption) => void;\n removeVersionProperties: () => void;\n setProcessTemplateSlug: (slug: string) => void;\n isNew: boolean;\n currentProcessTemplate: BlueprintResource | undefined;\n initialActionProperties: ActionProperties;\n busy?: boolean;\n}\nexport function ProcessTemplateVersionSelector({ setUseSpecificVersion, actionProperties, setUseVersioningOption, removeVersionProperties, setProcessTemplateSlug, isNew, currentProcessTemplate, initialActionProperties, busy, }: ProcessTemplateVersionSelectorProps) {\n const initialVersioningOption = convertPropertyValueResourceToString(initialActionProperties[\"Octopus.Action.ProcessTemplate.Reference.VersioningOption\"]);\n const initialSlug = convertPropertyValueResourceToString(initialActionProperties[\"Octopus.Action.ProcessTemplate.Reference.Slug\"]);\n const selectedSlug = convertPropertyValueResourceToString(actionProperties[\"Octopus.Action.ProcessTemplate.Reference.Slug\"]);\n const selectedVersion = convertPropertyValueResourceToString(actionProperties[\"Octopus.Action.ProcessTemplate.Reference.Version\"]);\n const selectedVersioningOption = convertPropertyValueResourceToString(actionProperties[\"Octopus.Action.ProcessTemplate.Reference.VersioningOption\"]);\n const isExpandedByDefault = isNew || (!currentProcessTemplate && !busy);\n const [selectedVersionOption, setSelectedVersionOption] = useState(isEmpty(selectedVersion) ? undefined : selectedVersion);\n const [selectedProcessTemplateOption, setSelectedProcessTemplateOption] = useState(isEmpty(selectedSlug) ? undefined : selectedSlug);\n const title = selectedVersionOption ? \"Change process template\" : \"Select process template\";\n const summary = selectedVersionOption ? Summary.placeholder(\"Change process template by selecting one from the list\") : null;\n const { result: distinctTemplates } = useQuery((repository) => repository.Blueprints.summaries(), [], \"Get Templates\");\n const hasLoadedTemplates = distinctTemplates !== null;\n const { result: allVersions } = useQuery(async (repository) => {\n let versions: ProcessTemplateVersionResource[] = [];\n if (selectedProcessTemplateOption) {\n versions = await repository.Blueprints.getPublishedVersions(selectedProcessTemplateOption, true);\n }\n return versions;\n }, [selectedProcessTemplateOption], \"Get Template Versions\");\n const currentVersion = allVersions ? (allVersions.length > 0 ? allVersions.find((v) => v.Version === selectedVersionOption) : undefined) : undefined;\n const isOnlyPreRelease = distinctTemplates?.find((v) => v.Slug === selectedProcessTemplateOption)?.IsPreReleaseOnly ?? false;\n const allowVersionSelection = distinctTemplates?.find((v) => v.Slug === selectedProcessTemplateOption)?.CanSpecifyVersion ?? false;\n const distinctProcessTemplateOptions = distinctTemplates ? mapProcessTemplatesToProcessTemplateOptions(distinctTemplates) : [];\n const currentSelectedTemplateName = distinctTemplates?.find((v) => v.Slug === selectedProcessTemplateOption)?.Name;\n const defaultToPreRelease = allowVersionSelection && (isOnlyPreRelease || !!(currentVersion && currentVersion.IsPreRelease));\n const [includePreRelease, setIncludePreRelease] = useState(defaultToPreRelease);\n const [versioningOption, setVersioningOption] = useState(mapToVersioningOption(selectedVersioningOption));\n const filteredVersions = includePreRelease ? allVersions : allVersions?.filter((v) => !v.IsPreRelease);\n const latestVersionOfSelectedTemplate = first(filteredVersions);\n const versionOptions = filteredVersions ? mapVersionsToVersionOptions(filteredVersions) : [];\n const onIncludePreReleaseChanged = () => {\n setIncludePreRelease(!includePreRelease);\n setSelectedVersionOption(undefined);\n removeVersionProperties();\n };\n const onProcessTemplateVersionChanged = (value: string | undefined) => {\n if (value) {\n const currentVersion = allVersions?.find((v) => v.Version === value);\n if (currentVersion) {\n setSelectedVersionOption(value);\n setUseSpecificVersion(value, currentVersion.GitCommit);\n }\n }\n };\n const onVersioningOptionChanged = (value: VersioningOption) => {\n removeVersionProperties();\n setVersioningOption(value);\n setUseVersioningOption(value);\n setSelectedVersionOption(undefined);\n if (value === VersioningOption.SpecifiedVersion) {\n onProcessTemplateVersionChanged(selectedVersionOption);\n }\n };\n const onProcessTemplateChanged = (value: string | undefined) => {\n const isOnlyPreRelease = distinctTemplates?.find((v) => v.Slug === value)?.IsPreReleaseOnly ?? false;\n const allowVersionSelection = distinctTemplates?.find((v) => v.Slug === value)?.CanSpecifyVersion ?? false;\n if (value) {\n setSelectedVersionOption(undefined);\n setSelectedProcessTemplateOption(value);\n setProcessTemplateSlug(value);\n removeVersionProperties();\n if (isOnlyPreRelease && allowVersionSelection) {\n onVersioningOptionChanged(VersioningOption.SpecifiedVersion);\n setIncludePreRelease(true);\n }\n else {\n onVersioningOptionChanged(VersioningOption.AlwaysUseLatest);\n setIncludePreRelease(false);\n }\n }\n };\n const onUpdateToLatestVersion = () => {\n if (latestVersionOfSelectedTemplate) {\n onProcessTemplateVersionChanged(latestVersionOfSelectedTemplate.Version);\n }\n };\n if (hasLoadedTemplates && defaultToPreRelease && !includePreRelease) {\n setIncludePreRelease(true);\n }\n if (hasLoadedTemplates && !allowVersionSelection && !defaultToPreRelease && versioningOption === VersioningOption.SpecifiedVersion) {\n onVersioningOptionChanged(VersioningOption.AlwaysUseLatest);\n }\n return (<>\n \n \n {\" \"}\n
    )}\n \n )}\n );\n}\nexport enum VersioningOption {\n AlwaysUseLatest = \"AlwaysUseLatest\",\n SpecifiedVersion = \"SpecifiedVersion\"\n}\ninterface Option {\n value: string;\n text: string;\n}\nfunction mapProcessTemplatesToProcessTemplateOptions(processTemplates: ProcessTemplateListSummaryResource[]): Option[] {\n return processTemplates.map((pt) => ({ value: pt.Slug, text: pt.Name }));\n}\nfunction mapVersionsToVersionOptions(versions: ProcessTemplateVersionResource[]): Option[] {\n return versions.map(mapVersionToVersionOption);\n}\nfunction mapVersionToVersionOption(version: ProcessTemplateVersionResource): Option {\n return { value: version.Version, text: `${version.Version} ${version.IsPreRelease ? \"(Pre-Release)\" : \"\"}` };\n}\nfunction mapToVersioningOption(value: string): VersioningOption {\n return value === VersioningOption.SpecifiedVersion ? VersioningOption.SpecifiedVersion : VersioningOption.AlwaysUseLatest;\n}\nfunction getVersionSummary(filteredVersions: ProcessTemplateVersionResource[] | null | undefined, versioningOption: string, selectedVersionOption: string | undefined): Summary {\n let summary = Summary.placeholder(\"Always use the latest version\");\n if (versioningOption === VersioningOption.AlwaysUseLatest) {\n if (filteredVersions && filteredVersions.length > 0) {\n //this is relying on the api return them in order\n const latestVersion = first(filteredVersions.filter((v) => !v.IsPreRelease));\n if (latestVersion) {\n summary = Summary.placeholder(`${latestVersion.Version}`);\n }\n }\n }\n else if (selectedVersionOption) {\n summary = Summary.placeholder(`${selectedVersionOption}`);\n }\n else {\n summary = Summary.placeholder(\"Select a version\");\n }\n return summary;\n}\ninterface VersionCalloutProps {\n templateHasChanged: boolean;\n isOnlyPreRelease: boolean;\n hasLoadedTemplates: boolean;\n initialVersioningOption: string;\n versioningOption: VersioningOption;\n latestVersionOfSelectedTemplate: ProcessTemplateVersionResource | undefined;\n selectedVersionOption: string | undefined;\n allowVersionSelection: boolean;\n currentSelectedTemplateName: string | undefined;\n onUpdateToLatestVersion: () => void;\n}\nfunction VersionCallout({ templateHasChanged, isOnlyPreRelease, hasLoadedTemplates, initialVersioningOption, versioningOption, latestVersionOfSelectedTemplate, selectedVersionOption, allowVersionSelection, currentSelectedTemplateName, onUpdateToLatestVersion, }: VersionCalloutProps) {\n const isSpecifiedVersionSelectedAndDisabled = mapToVersioningOption(initialVersioningOption) === VersioningOption.SpecifiedVersion && !allowVersionSelection;\n if (isOnlyPreRelease) {\n const preReleaseText = allowVersionSelection ? \"To use this template, select an available version.\" : \"This template cannot be used until a non pre-release version is published.\";\n return (\n {preReleaseText}\n );\n }\n if (hasLoadedTemplates && isSpecifiedVersionSelectedAndDisabled && !templateHasChanged) {\n return (\n
      \n
    • Existing releases can still be deployed, but future releases can't be deployed. To use the latest version, save the deployment process.
    • \n
    • Parameters and fields may have changed as well.
    • \n
    \n
    );\n }\n if (versioningOption === VersioningOption.SpecifiedVersion && latestVersionOfSelectedTemplate && selectedVersionOption !== latestVersionOfSelectedTemplate.Version && allowVersionSelection) {\n return (\n You can continue to use this version of the template or{\" \"}\n {\n e.preventDefault();\n onUpdateToLatestVersion();\n }}>\n update to the latest version\n \n .\n );\n }\n return <>;\n}\ninterface ProcessTemplateNotFoundCalloutProps {\n processTemplate: BlueprintResource | undefined;\n busy?: boolean;\n}\nfunction ProcessTemplateNotFoundCallout({ processTemplate, busy }: ProcessTemplateNotFoundCalloutProps) {\n const shouldDisplay = !processTemplate && !busy;\n return (<>\n {shouldDisplay && (\n
    The selected version of the process template cannot be found.
    \n
    )}\n );\n}\nconst styles = {\n helperText: css({ fontSize: fontSize.xSmall, color: themeTokens.color.text.secondary, marginBottom: space[12] }),\n versionSelection: css({ marginLeft: space[32] }),\n};\n","import React from \"react\";\nimport ErrorPanel from \"~/components/ErrorPanel\";\nexport const ErrorsForAction: React.FC<{\n actionErrors: string[];\n}> = ({ actionErrors }) => {\n if (actionErrors.length === 0) {\n return null;\n }\n return ;\n};\nErrorsForAction.displayName = \"ErrorsForAction\"\n","import * as React from \"react\";\nimport ExternalLink from \"~/components/Navigation/ExternalLink/index\";\nimport styles from \"./style.module.less\";\ntype Props = {\n name: string;\n number: string;\n stepType: string;\n docsLink?: string;\n};\nconst StepName = ({ name, number, stepType, docsLink }: Props) => (
    \n
    \n
    {stepType}
    \n
    \n
    \n {number}.\n {name}\n
    \n {docsLink && (
    \n \n Docs\n \n
    )}\n
    \n
    \n
    );\nexport default StepName;\n","import { css } from \"@emotion/css\";\nimport { LinearProgress } from \"@octopusdeploy/design-system-components\";\nimport { space, themeTokens } from \"@octopusdeploy/design-system-tokens\";\nimport * as React from \"react\";\nimport type { PropsWithChildren, ReactNode } from \"react\";\nimport BusyFromPromise from \"~/components/BusyFromPromise/index\";\nimport type { Errors } from \"~/components/DataBaseComponent/index\";\nimport ErrorPanel from \"~/components/ErrorPanel/index\";\nexport interface ProcessSubPageLayoutProps {\n title: ReactNode;\n titleLogo?: ReactNode;\n sectionControl?: ReactNode;\n subtitleSection?: ReactNode;\n busy?: Promise | boolean;\n errors?: Errors;\n}\nexport function ProcessSubPageLayout({ title, titleLogo, sectionControl, subtitleSection, busy, errors, children }: PropsWithChildren) {\n const header = (<>\n {(isBusy: boolean) => }\n \n {subtitleSection}\n {errors && }\n );\n return (<>\n {header}\n {children}\n );\n}\ninterface SubPageTitleProps {\n title: React.ReactNode;\n titleLogo?: React.ReactNode;\n sectionControl?: React.ReactNode;\n}\nfunction SubPageTitle({ title, titleLogo, sectionControl }: SubPageTitleProps) {\n return (
    \n
    \n {titleLogo &&
    {titleLogo}
    }\n

    {title}

    \n
    \n {sectionControl}\n
    );\n}\nconst subPageTitleStyles = {\n root: css({\n display: \"flex\",\n paddingRight: space[16],\n paddingLeft: space[16],\n paddingTop: space[16],\n paddingBottom: space[12],\n alignItems: \"center\",\n justifyContent: \"space-between\",\n flexWrap: \"wrap\",\n minHeight: \"4.25rem\",\n gap: space[16],\n }),\n title: css({\n flex: 1,\n display: \"flex\",\n alignItems: \"center\",\n fontSize: \"1.25rem\",\n lineHeight: \"1.75rem\",\n margin: 0,\n gap: space[8],\n }),\n heading: css({\n margin: 0,\n padding: 0,\n color: themeTokens.color.text.primary,\n }),\n};\n","import { Callout } from \"@octopusdeploy/design-system-components\";\nimport type { ActionProperties, EnvironmentResource, GitRefResource, PropertyValueResource, VariableSetResource } from \"@octopusdeploy/octopus-server-client\";\nimport { generateSlug } from \"@octopusdeploy/utilities\";\nimport { isEqual } from \"lodash\";\nimport { useState } from \"react\";\nimport * as React from \"react\";\nimport { BlueprintActionDetails } from \"~/areas/projects/components/Process/Blueprints/BlueprintActionDetails\";\nimport type { VersioningOption } from \"~/areas/projects/components/Process/Blueprints/ProcessTemplateVersionSelector\";\nimport { ProcessTemplateVersionSelector } from \"~/areas/projects/components/Process/Blueprints/ProcessTemplateVersionSelector\";\nimport { getProcessTemplateCommitFromAction, getProcessTemplateSlugFromAction } from \"~/areas/projects/components/Process/Blueprints/processTemplateId\";\nimport { deleteActionAndRedirect, getDeleteProcessMenuItem, isMatchingProcessTemplate, processScopedEditPermission } from \"~/areas/projects/components/Process/Common/CommonProcessHelpers\";\nimport { ErrorsForAction } from \"~/areas/projects/components/Process/Common/ErrorsForAction\";\nimport StepName from \"~/areas/projects/components/Process/Common/StepName\";\nimport { useProcessBlueprintsFromContext } from \"~/areas/projects/components/Process/Contexts/ProcessBlueprintsContextProvider\";\nimport { useProcessContext } from \"~/areas/projects/components/Process/Contexts/ProcessContext\";\nimport { useProcessErrorSelectors } from \"~/areas/projects/components/Process/Contexts/ProcessErrors/ProcessErrorsContext\";\nimport { useProcessQueryStringContext } from \"~/areas/projects/components/Process/Contexts/ProcessQueryString/ProcessQueryStringContext\";\nimport type { FailedPermissionCheck, ProcessStepActionState } from \"~/areas/projects/components/Process/ProcessStepsLayoutTypes\";\nimport { ProcessSubPageLayout } from \"~/areas/projects/components/Process/ProcessSubPageLayout\";\nimport styles from \"~/areas/projects/components/Process/style.module.less\";\nimport type { StoredAction, StoredStep } from \"~/areas/projects/components/Process/types\";\nimport { isDeploymentOrRunbookProcessIdentifier } from \"~/areas/projects/components/Process/types\";\nimport type { LoadedLibraryVariableSets } from \"~/areas/projects/components/Variables/AllVariables/AllVariables\";\nimport getActionLogoUrl from \"~/areas/projects/components/getActionLogoUrl\";\nimport ActionList from \"~/components/ActionList/index\";\nimport type { DoBusyTask } from \"~/components/DataBaseComponent/index\";\nimport { ExpandableContainer } from \"~/components/Expandable/index\";\nimport Logo from \"~/components/Logo/index\";\nimport type { MenuItem } from \"~/components/OverflowMenu/OverflowMenu\";\nimport { OverflowMenu, OverflowMenuItems } from \"~/components/OverflowMenu/OverflowMenu\";\nimport { ExpandableFormSection, required, Summary, UnstructuredFormSection } from \"~/components/form/index\";\nimport NameSummaryWithSlug from \"~/primitiveComponents/form/Slugs/NameSummaryWithSlug\";\nimport SlugEditor from \"~/primitiveComponents/form/Slugs/SlugEditor\";\nimport { DebounceText } from \"~/primitiveComponents/form/Text/Text\";\ninterface ProcessBlueprintActionDetailsProps {\n step: StoredStep;\n action: StoredAction;\n stepOther: ProcessStepActionState;\n isNew: boolean;\n cleanAction: StoredAction | null;\n doBusyTask: DoBusyTask;\n busy?: boolean;\n gitRefResource: GitRefResource | undefined;\n releaseCreationPackageStepId: string | undefined;\n processVariableSet: VariableSetResource | FailedPermissionCheck;\n libraryVariableSets: LoadedLibraryVariableSets[] | FailedPermissionCheck;\n environments: EnvironmentResource[];\n}\nexport function ProcessBlueprintStepDetails({ step, action, stepOther, isNew, cleanAction, doBusyTask, busy, gitRefResource, releaseCreationPackageStepId, processVariableSet, libraryVariableSets, environments }: ProcessBlueprintActionDetailsProps) {\n const processContext = useProcessContext();\n const processErrorSelectors = useProcessErrorSelectors();\n const processTemplateContext = useProcessBlueprintsFromContext();\n const processTemplateSlug = getProcessTemplateSlugFromAction(action);\n const processTemplateCommit = getProcessTemplateCommitFromAction(action);\n const actionErrors = action ? processErrorSelectors.getActionErrors(action.Id, processContext.selectors) : [];\n const [initialActionProperties, setInitialActionProperties] = useState(action.Properties);\n const [initialCleanModel, setInitialCleanModel] = useState(processContext.state.cleanModel);\n if (!isEqual(initialCleanModel, processContext.state.cleanModel)) {\n setInitialCleanModel(processContext.state.cleanModel);\n setInitialActionProperties(action.Properties);\n }\n const processTemplate = processTemplateContext.find((pt) => isMatchingProcessTemplate(pt, processTemplateSlug, processTemplateCommit))?.processTemplate;\n const getFieldError = (value: string) => {\n return processErrorSelectors.getActionFieldError(action.Id, processContext.selectors, value);\n };\n const setActionMetaProperties: (state: Pick | StoredAction, callback?: () => void) => void = (state, callback) => {\n processContext.actions.setActionMetaProperties(action.Id, (prev) => ({ ...prev, ...state }));\n callback && callback();\n };\n const setName = (value: string) => {\n setActionMetaProperties({ Name: value });\n };\n const setSlug = (value: string) => {\n setActionMetaProperties({ Slug: value });\n };\n const setDisabled = (value: boolean) => {\n setActionMetaProperties({ IsDisabled: value });\n };\n const setActionProperties = (properties: Partial, callback?: () => void) => {\n processContext.actions.setActionProperties(action.Id, properties);\n callback && callback();\n };\n const setUseSpecificVersion = (version: string, commit: string) => {\n const properties: ActionProperties = {\n \"Octopus.Action.ProcessTemplate.Reference.Version\": version,\n \"Octopus.Action.ProcessTemplate.Reference.Commit\": commit,\n };\n setActionProperties(properties);\n };\n const setProcessTemplateSlug = (slug: string) => {\n const properties: ActionProperties = {\n \"Octopus.Action.ProcessTemplate.Reference.Slug\": slug,\n };\n setActionProperties(properties);\n };\n const removeVersionProperties = () => {\n processContext.actions.removeActionProperties(action.Id, [\"Octopus.Action.ProcessTemplate.Reference.Commit\"]);\n processContext.actions.removeActionProperties(action.Id, [\"Octopus.Action.ProcessTemplate.Reference.Version\"]);\n };\n const setUseVersioningOption = (versioningOption: VersioningOption) => {\n const properties: ActionProperties = {\n \"Octopus.Action.ProcessTemplate.Reference.VersioningOption\": versioningOption,\n };\n setActionProperties(properties);\n };\n const setParameterValue = (parameterName: string, value: PropertyValueResource | undefined) => {\n if (value) {\n const properties: ActionProperties = { [parameterName]: value };\n setActionProperties(properties);\n }\n else {\n processContext.actions.removeActionProperties(action.Id, [parameterName]);\n }\n };\n return (<>\n \n \n <>\n \n \n \n \n {!isNew && ()}\n \n \n {processTemplate ? () : null}\n \n \n \n );\n}\ninterface ActionLayoutProps {\n step: StoredStep;\n action: StoredAction;\n stepOther: ProcessStepActionState;\n setDisabled: (value: boolean) => void;\n children: JSX.Element;\n releaseCreationPackageStepId: string | undefined;\n}\nfunction ActionLayout({ step, action, setDisabled, stepOther, releaseCreationPackageStepId, children }: ActionLayoutProps) {\n const processContext = useProcessContext();\n const processIdentifier = processContext.state.processIdentifier;\n const { actions: contextActions, selectors: contextSelectors } = processContext;\n const { actions: queryStringActions } = useProcessQueryStringContext();\n const stepActionNumber = `${contextSelectors.getStepNumber(step.Id)}`;\n const title = ;\n const logo = ;\n const menuItems: MenuItem[] = [];\n if (step && step.Id) {\n const processEditPermission = {\n permission: processScopedEditPermission(processContext.selectors.getProcessType()),\n project: isDeploymentOrRunbookProcessIdentifier(processIdentifier) ? processIdentifier.projectId : undefined,\n wildcard: true,\n };\n const enableItem = OverflowMenuItems.item(action.IsDisabled ? \"Enable\" : \"Disable\", () => setDisabled(!action.IsDisabled), processEditPermission);\n const deleteItem = getDeleteProcessMenuItem(\"step\", async () => deleteActionAndRedirect(step, action, true, contextActions, contextSelectors, queryStringActions), processEditPermission, releaseCreationPackageStepId, processIdentifier, step, action, processContext);\n menuItems.push(enableItem, deleteItem);\n }\n const controlActions = [];\n const sectionControl = ;\n return (\n {children}\n );\n}\nfunction buildNameSummary(action: StoredAction) {\n if (!action.Name) {\n return Summary.placeholder(\"Please enter a name for your step\");\n }\n const name = (
    \n \n
    );\n return Summary.summary(name);\n}\ninterface ActionDisabledWarningProps {\n action: StoredAction;\n}\nfunction ActionDisabledWarning({ action }: ActionDisabledWarningProps) {\n if (!action.IsDisabled) {\n return null;\n }\n return (\n \n );\n}\n","/* eslint-disable @typescript-eslint/no-non-null-assertion */\nimport { css } from \"@emotion/css\";\nimport type { PopoverPlacement } from \"@octopusdeploy/design-system-components\";\nimport { Callout, PopoverBasicHelp } from \"@octopusdeploy/design-system-components\";\nimport { fontSize, lineHeight, space, themeTokens } from \"@octopusdeploy/design-system-tokens\";\nimport { useTrackEvent } from \"@octopusdeploy/portal-analytics\";\nimport { links } from \"@octopusdeploy/portal-routes\";\nimport pluralize from \"pluralize\";\nimport React from \"react\";\nimport { useAnalyticsViewHelpDispatch } from \"~/analytics/Analytics\";\nimport { createUnassignedTargetTagsWarningCalloutClosedEvent } from \"~/areas/projects/components/Process/ConnectedDeploymentTargetsStatus/UnassignedTargetTagsWarningCallout.analytics\";\nimport { repository } from \"~/clientInstance\";\nimport { CopyToClipboardChip } from \"~/components/Chips/CopyToClipboardChip\";\nimport InternalLink from \"~/components/Navigation/InternalLink\";\nimport { useThemePaletteType } from \"~/components/Theme/useThemePaletteType\";\nimport useLocalStorage from \"~/hooks/useLocalStorage\";\nimport contextualHelpImageDark from \"./assets/img-feature-unassignedtargettags-dark.png\";\nimport contextualHelpImageLight from \"./assets/img-feature-unassignedtargettags-light.png\";\ninterface TargetTagsWarningCalloutProps {\n unassignedTargetTags: string[];\n projectId: string;\n showCloseLink?: boolean;\n clearWarnings?: () => void;\n}\nexport const UnassignedTargetTagsWarningCallout = (props: TargetTagsWarningCalloutProps) => {\n if (props.unassignedTargetTags.length === 0) {\n return <>;\n }\n return (\n
    \n \n
    \n
    );\n};\nexport const UnassignedTargetTagsWarningCalloutContent = ({ unassignedTargetTags, showCloseLink, projectId, clearWarnings }: TargetTagsWarningCalloutProps) => {\n const trackEvent = useTrackEvent();\n const [, setShowUnassignedTargetTagWarning] = useLocalStorage(`Octopus.Project.${projectId}.ShowUnassignedTargetTagWarning`, true);\n const onClose = () => {\n trackEvent(createUnassignedTargetTagsWarningCalloutClosedEvent());\n clearWarnings?.();\n setShowUnassignedTargetTagWarning(false);\n };\n return (<>\n
    {`${unassignedTargetTags.length} target ${pluralize(\"tag\", unassignedTargetTags.length)} ${unassignedTargetTags.length === 1 ? \"isn't\" : \"aren't\"} assigned to deployment targets:`}
    \n
    \n {unassignedTargetTags.map((targetTag) => ())}\n
    \n
    \n Assign in{\" \"}\n \n Deployment Targets\n \n .\n
    \n
    \n If this is intentional, no action is required.{\" \"}\n {showCloseLink && (<>\n \n Disable the warning for this project.\n \n \n )}\n
    \n );\n};\nconst DisableUnassignedTargetTagsWarningContextualHelp = ({ position = \"right-start\" }: {\n position?: PopoverPlacement;\n}) => {\n const dispatchAction = useAnalyticsViewHelpDispatch();\n const isDarkMode = useThemePaletteType() === \"dark\";\n const description = (<>\n
    \n \"\"\n
    \n\n
    Identify when a target tag in your deployment process isn't assigned to a deployment target.
    \n
    You can toggle the warning on or off from the ellipsis menu.
    \n );\n const onOpen = () => {\n dispatchAction(\"View Contextual Help Popover\", { context: \"Unassigned Target Tags Warning\" });\n };\n return ;\n};\nconst TOTAL_CALLOUT_WIDTH = 732;\nconst CALLOUT_PADDING = 24;\nconst containerStyles = css({\n width: `${TOTAL_CALLOUT_WIDTH - CALLOUT_PADDING}px`,\n});\nconst targetTagContainerStyles = css({\n display: \"flex\",\n gap: space[6],\n marginTop: space[8],\n marginBottom: space[8],\n flexWrap: \"wrap\",\n});\nconst secondaryContentStyles = css({\n marginTop: space[8],\n color: themeTokens.color.text.secondary,\n fontSize: fontSize.small,\n lineHeight: lineHeight.xSmall,\n});\nconst closeLinkStyles = css({\n color: themeTokens.color.text.link.default,\n cursor: \"pointer\",\n});\n","import type { AnalyticsEvent } from \"@octopusdeploy/portal-analytics\";\ninterface UnassignedTargetTagsWarningCalloutClosedEvent extends AnalyticsEvent<\"Unassigned Target Tags Warning Callout Closed\"> {\n}\nexport function createUnassignedTargetTagsWarningCalloutClosedEvent(): UnassignedTargetTagsWarningCalloutClosedEvent {\n return {\n eventName: \"Unassigned Target Tags Warning Callout Closed\",\n };\n}\ninterface UnassignedTargetTagWarningSettingChangedEvent extends AnalyticsEvent<\"Unassigned Target Tag Warning Setting Changed\"> {\n value: boolean;\n}\nexport function createUnassignedTargetTagWarningSettingChangedEvent(settingValue: boolean): UnassignedTargetTagWarningSettingChangedEvent {\n return {\n eventName: \"Unassigned Target Tag Warning Setting Changed\",\n value: settingValue,\n };\n}\n","import { Callout } from \"@octopusdeploy/design-system-components\";\nimport React from \"react\";\nimport type { StoredAction } from \"~/areas/projects/components/Process/types\";\nimport ExternalLink from \"~/components/Navigation/ExternalLink/index\";\nimport useLocalStorage from \"~/hooks/useLocalStorage\";\ntype ContainersFeedbackCalloutProps = {\n onTaskPage: boolean;\n actionTypes?: string[];\n action?: StoredAction;\n};\nexport function ContainersFeedbackCallout({ onTaskPage, actionTypes = [], action }: ContainersFeedbackCalloutProps) {\n const [dateDismissed, setDateDismissed] = useLocalStorage(`Octopus.Callout.ContainersFeedback.DateDismissed`, new Date(\"2022-01-1\"));\n const [numberOfDismissals, setNumberOfDismissals] = useLocalStorage(`Octopus.Callout.ContainersFeedback.NumberOfDismissals`, 0);\n const taskPageLink = \"https://oc.to/ContainersFeedbackDeployment\";\n const processPageLink = \"https://oc.to/ContainersFeedback\";\n const onCloseCallout = () => {\n setDateDismissed(new Date());\n setNumberOfDismissals(numberOfDismissals + 1);\n };\n // we don't want to show this callout if they are using Helm V2\n if (action && action.ActionType === \"Octopus.HelmChartUpgrade\" && action.Properties[\"Octopus.Action.Helm.ClientVersion\"] === \"V2\") {\n return null;\n }\n const containerActionTypes = [\n \"Octopus.KubernetesRunScript\",\n \"Octopus.KubernetesDeployService\",\n \"Octopus.KubernetesDeployIngress\",\n \"Octopus.KubernetesDeployConfigMap\",\n \"Octopus.KubernetesDeployContainers\",\n \"Octopus.KubernetesDeploySecret\",\n \"Octopus.Kubernetes.Kustomize\",\n \"Octopus.HelmChartUpgrade\",\n \"Octopus.KubernetesDeployRawYaml\",\n ];\n const hasContainerStep = actionTypes.some((actionType) => containerActionTypes.includes(actionType));\n const isOutsideDismissalPeriod = isNowOutsideDismissalPeriod(dateDismissed, numberOfDismissals);\n if (hasContainerStep && isOutsideDismissalPeriod) {\n const link = onTaskPage ? taskPageLink : processPageLink;\n return (\n We'd love to hear about your experience deploying containers with Octopus Deploy.\n );\n }\n return null;\n}\nfunction isNowOutsideDismissalPeriod(dateOfLastDismissal: Date, numberOfDismissals: number) {\n const today = new Date();\n const timeBombDate = new Date(\"2033-03-01\");\n const dismissUntil = new Date(dateOfLastDismissal);\n dismissUntil.setDate(dismissUntil.getDate() + numberOfDismissals * 14);\n return today < timeBombDate && today > dismissUntil;\n}\n","import type { FeedResource } from \"@octopusdeploy/octopus-server-client\";\nimport { Permission, ProcessType } from \"@octopusdeploy/octopus-server-client\";\nimport React from \"react\";\nimport { generateDefaultActionContainer, isRunOnBuiltInWorker, isRunOnServerOrWorkerPool } from \"~/areas/projects/components/Process/Common/CommonProcessHelpers\";\nimport { type RunOn, type RunOnServerOrWorkerPool } from \"~/areas/projects/components/Process/types\";\nimport { ExecutionContainerImageSelector, StepExecutionOption } from \"~/components/ContainerSelector/index\";\nimport { ExecutionContainerImageContextualHelp } from \"~/components/ContextualHelp/ContextualHelpSnippets\";\nimport { isAllowed } from \"~/components/PermissionCheck/PermissionCheck\";\nimport { CardFill } from \"~/components/form/Sections/ExpandableFormSection\";\nimport { ExpandableFormSection } from \"~/components/form/index\";\nimport CommonSummaryHelper from \"~/utils/CommonSummaryHelper/index\";\ntype ActionContainerImageSelectorFormSectionProps = {\n projectId: string | undefined;\n runOn: RunOn;\n canRunInContainer: boolean;\n expandedByDefault: boolean;\n feeds: FeedResource[];\n containerImageRecommendation?: JSX.Element[];\n loadFeeds: (callback?: (feeds: FeedResource[]) => void) => Promise;\n onRunOnChanged(runOn: T): void;\n imageNameError: string;\n doBusyTask: (action: () => Promise) => Promise;\n disableInlineExecutionContainers: boolean;\n processType: ProcessType;\n};\nexport const ActionContainerImageSelectorFormSection = (props: ActionContainerImageSelectorFormSectionProps) => {\n const runOn = props.runOn;\n if (!isRunOnServerOrWorkerPool(runOn) || !props.canRunInContainer) {\n return null;\n }\n const feedViewPermissionGranted = isAllowed({ permission: Permission.FeedView, project: props.projectId, wildcard: true });\n const onFeedChanged = (feedId: string, runOn: RunOnServerOrWorkerPool) => {\n //TODO: SM We currently store the FeedId like this. Determine if we should change this.\n const updatedContainer = { ...runOn.container, FeedId: feedId };\n props.onRunOnChanged({ runningInContainer: runOn.runningInContainer, executionLocation: runOn.executionLocation, container: updatedContainer });\n };\n const onImageNameChanged = (imageName: string, runOn: RunOnServerOrWorkerPool) => {\n const updatedContainer = { ...runOn.container, Image: imageName };\n props.onRunOnChanged({ runningInContainer: runOn.runningInContainer, executionLocation: runOn.executionLocation, container: updatedContainer });\n };\n const onContainerGitUrlChanged = (gitUrl: string, runOn: RunOnServerOrWorkerPool) => {\n const updatedContainer = { ...runOn.container, GitUrl: gitUrl };\n props.onRunOnChanged({ runningInContainer: runOn.runningInContainer, executionLocation: runOn.executionLocation, container: updatedContainer });\n };\n const onContainerDockerfileChanged = (dockerfile: string, runOn: RunOnServerOrWorkerPool) => {\n const updatedContainer = { ...runOn.container, Dockerfile: dockerfile };\n props.onRunOnChanged({ runningInContainer: runOn.runningInContainer, executionLocation: runOn.executionLocation, container: updatedContainer });\n };\n const onContainerReset = (runOn: RunOnServerOrWorkerPool) => {\n props.onRunOnChanged({ ...runOn });\n };\n return (<>\n } fillCardWidth={CardFill.FillRight}>\n {\n if (!!feedId) {\n onFeedChanged(feedId, runOn);\n }\n }} onImageNameChange={(imageName) => onImageNameChanged(imageName, runOn)} onContainerGitUrlChange={(gitUrl) => onContainerGitUrlChanged(gitUrl, runOn)} onContainerDockerfileChange={(dockerfile) => onContainerDockerfileChanged(dockerfile, runOn)} resetContainer={(updatedRunOn) => onContainerReset(updatedRunOn)} onStepExecutionOptionChange={(option) => {\n if (option === StepExecutionOption.RunDirectlyOnWorker) {\n props.onRunOnChanged({ ...runOn, runningInContainer: false, container: generateDefaultActionContainer() });\n }\n else {\n const updatedContainer = option === StepExecutionOption.RunContainerFromGitUrlOnWorker\n ? { Image: null, FeedId: null, GitUrl: runOn.container.GitUrl, Dockerfile: null }\n : option === StepExecutionOption.RunContainerFromInlineSourceOnWorker\n ? { Image: null, FeedId: null, GitUrl: null, Dockerfile: runOn.container.Dockerfile }\n : { Image: runOn.container.Image, FeedId: runOn.container.FeedId, GitUrl: null, Dockerfile: null };\n props.onRunOnChanged({ ...runOn, runningInContainer: true, container: updatedContainer });\n }\n }} imageNameError={props.imageNameError} containerImageRecommendation={props.containerImageRecommendation} doBusyTask={props.doBusyTask} disableInlineExecutionContainers={props.disableInlineExecutionContainers} processType={props.processType}/>\n \n );\n};\n","import { Callout } from \"@octopusdeploy/design-system-components\";\nimport React from \"react\";\ntype TargetTagsExplainerProps = {\n hide: boolean;\n isKubernetesStep?: boolean;\n isGuideSetup?: boolean;\n onDismiss: () => void;\n};\nexport function TargetTagsExplainer({ isKubernetesStep = false, onDismiss, hide }: TargetTagsExplainerProps) {\n if (hide)\n return null;\n return (<>\n \n During a deployment, Octopus will run this step for each{\" \"}\n {isKubernetesStep ? (\n Kubernetes cluster (known as deployment targets)\n ) : (\n deployment target\n )}{\" \"}\n with any of the matching target tags. Deploying to additional {isKubernetesStep ? \"clusters\" : \"targets\"} is as simple as tagging them.\n \n
    \n );\n}\n","import { css } from \"@emotion/css\";\nimport { Callout } from \"@octopusdeploy/design-system-components\";\nimport { space, text } from \"@octopusdeploy/design-system-tokens\";\nimport type { UserOnboardingResource } from \"@octopusdeploy/octopus-server-client\";\nimport { useTrackEvent } from \"@octopusdeploy/portal-analytics\";\nimport { useState, useRef } from \"react\";\nimport * as React from \"react\";\nimport type { StepEditorEvent } from \"~/analytics/Analytics\";\nimport { Action } from \"~/analytics/Analytics\";\nimport styles from \"~/areas/projects/components/Process/Common/style.module.less\";\nimport type { RunOn } from \"~/areas/projects/components/Process/types\";\nimport { ExecutionLocation } from \"~/areas/projects/components/Process/types\";\nimport { repository } from \"~/clientInstance\";\nimport { RoleChip } from \"~/components/Chips/index\";\nimport { TargetTagsProcessEditorContextualHelp } from \"~/components/ContextualHelp/ContextualHelpSnippets\";\nimport { TargetTagMultiSelect } from \"~/components/MultiSelect/TargetTagMultiSelect\";\nimport ExternalLink from \"~/components/Navigation/ExternalLink/index\";\nimport type { FocusableComponent } from \"~/components/VirtualListWithKeyboard/FocusableComponent\";\nimport { ExpandableFormSection, Note, Summary } from \"~/components/form/index\";\nimport ParseHelper from \"~/utils/ParseHelper/index\";\nimport { createDismissTargetTagsExplainerEvent } from \"./TargetRolesFormSection.analytics\";\nimport { TargetTagsExplainer } from \"./TargetTagsExplainer\";\nexport type TargetRolesFormSectionProps = {\n projectSlug: string;\n expandedByDefault: boolean;\n title?: string;\n availableRoles: string[];\n targetRoles: string | undefined;\n onTargetRolesChanged: (roles: string[]) => void;\n runOn: RunOn;\n errorMessage: string | undefined;\n analyticsStepEditorDispatch: (name: string, event: Omit) => void;\n isKubernetesStep: boolean;\n userOnboarding: UserOnboardingResource | null;\n doBusyTask: (action: () => Promise) => Promise;\n analyticsArea: string;\n stepTemplateName: string;\n isGuidedSetup: boolean;\n};\nconst RunOnRolesHelp = (props: {\n isKubernetesStep: boolean;\n isGuidedSetup: boolean;\n executionLocation: ExecutionLocation;\n}) => {\n if (props.isGuidedSetup && props.isKubernetesStep) {\n return Use target tags to select the Kubernetes clusters this step will deploy to.;\n }\n return This step will deploy to {props.isKubernetesStep ? \"Kubernetes clusters\" : \"deployment targets\"} with any of these matching tags.;\n};\nconst TargetTagsHelp = (props: {\n userOnboarding: UserOnboardingResource | null;\n isKubernetesStep: boolean;\n isGuidedSetup: boolean;\n stepTemplateName: string;\n analyticsArea: string;\n doBusyTask: (action: () => Promise) => Promise;\n}) => {\n const [explainerDismissed, setExplainerDismissed] = useState(false);\n const [guidedSetupDismissed, setGuidedSetupDismissed] = useState(false);\n const trackEvent = useTrackEvent();\n if (props.isGuidedSetup && props.isKubernetesStep) {\n return !guidedSetupDismissed ? ( {\n setGuidedSetupDismissed(true);\n }}>\n We selected the target tag you created earlier.\n ) : null;\n }\n if (props.userOnboarding) {\n return ( {\n trackEvent(createDismissTargetTagsExplainerEvent({\n stepTemplateName: props.stepTemplateName,\n isKubernetesStep: props.isKubernetesStep,\n area: props.analyticsArea,\n }));\n props.doBusyTask(async () => {\n if (props.userOnboarding) {\n await repository.UserOnboarding.modifyForCurrentUser({ ...props.userOnboarding, TargetTagNewConceptCalloutDismissedDate: new Date() });\n setExplainerDismissed(true);\n }\n });\n }}/>);\n }\n return (\n Learn more about target tags.\n );\n};\ntype SuggestedTargetRolesProps = Pick & {\n projectSlug: string;\n isKubernetesStep: boolean;\n onClick: () => void;\n};\nexport const SuggestedTargetRoles = (props: SuggestedTargetRolesProps) => {\n const { targetRoles, onTargetRolesChanged, analyticsStepEditorDispatch, projectSlug, isKubernetesStep, onClick } = props;\n const suggestedRoles = getSuggestedTargetTags(projectSlug, isKubernetesStep);\n const onSelectSuggestedRole = (e: React.MouseEvent, targetName: string) => {\n e.preventDefault();\n const prevTargets = ParseHelper.parseCSV(targetRoles || \"\");\n if (prevTargets.includes(targetName)) {\n return;\n }\n analyticsStepEditorDispatch?.(\"Select Suggested Target\", { action: Action.Select, resource: \"Target Role\", value: targetName });\n onTargetRolesChanged(prevTargets.concat(targetName));\n onClick();\n };\n return ();\n};\nexport const roleSummary = (targetRoles: string | undefined) => {\n if (!targetRoles) {\n return Summary.placeholder(\"No target tags selected\");\n }\n const list = ParseHelper.parseCSV(targetRoles);\n const roleChips = list.map((r) => );\n return Summary.summary(roleChips);\n};\nexport const TargetRolesFormSection = (props: TargetRolesFormSectionProps) => {\n const { projectSlug, title, expandedByDefault, targetRoles, runOn, onTargetRolesChanged, errorMessage, availableRoles, isKubernetesStep } = props;\n //const [explainerDismissed, setExplainerDismissed] = useState(false);\n const multiSelectRef = useRef(null);\n //const trackEvent = useTrackEvent();\n return (<>\n
    \n } contextualHelp={}>\n \n (roles.length === 0 ? \"Please enter one or more tags\" : \"\")} error={errorMessage} items={availableRoles} canAdd={true} empty={
    \n {targetRoles ? (<>Add a new target tag) : (<>\n Create your first target tag, for example:{\" \"}\n { {\n if (multiSelectRef.current)\n multiSelectRef.current.focus();\n }}/>}\n )}\n
    } accessibleName={\"Target tags selector\"} analyticsArea=\"Deployment Process Editor\" multiSelectRef={(component) => (multiSelectRef.current = component)}/>\n You need at least one tag to select matching targets.\n
    \n
    \n );\n};\nexport const getSuggestedTargetTags = (projectSlug: string, isKubernetesStep: boolean) => {\n return `${projectSlug}-${isKubernetesStep ? \"clusters\" : \"targets\"}`;\n};\nconst targetRolesEmptyStyles = css({\n font: text.body.regular.medium,\n padding: `${space[6]} ${space[2]}`,\n lineHeight: \"1.5rem\",\n});\n","import type { AnalyticsEvent } from \"@octopusdeploy/portal-analytics\";\ninterface DismissTargetTagsExplainerEventProperties {\n stepTemplateName: string;\n isKubernetesStep: boolean;\n area: string;\n}\ninterface DismissTargetTagsExplainerEvent extends AnalyticsEvent<\"Dismiss Target Tags Explainer\"> {\n StepTemplateName: string;\n IsKubernetesStep: boolean;\n Area: string;\n Element: \"Callout\";\n}\nexport function createDismissTargetTagsExplainerEvent(properties: DismissTargetTagsExplainerEventProperties): DismissTargetTagsExplainerEvent {\n return {\n eventName: \"Dismiss Target Tags Explainer\",\n StepTemplateName: properties.stepTemplateName,\n IsKubernetesStep: properties.isKubernetesStep,\n Area: properties.area,\n Element: \"Callout\",\n };\n}\n","import { ActionButton } from \"@octopusdeploy/design-system-components\";\nimport * as React from \"react\";\nimport { CustomDialog } from \"~/components/Dialog/CustomDialog\";\nimport { DialogLayoutConnect } from \"~/components/Dialog/DialogLayoutConnect\";\nimport { CustomDialogActions } from \"~/components/DialogLayout/Custom/CustomDialogActions\";\nimport { CustomFlexDialogContent } from \"~/components/DialogLayout/Custom/CustomDialogContent\";\nimport { LargeDialogFrame } from \"~/components/DialogLayout/Custom/CustomDialogFrames\";\nimport { CustomDialogTitleBar } from \"~/components/DialogLayout/Custom/CustomDialogTitleBar\";\nimport type { DialogLayoutDispatchProps, DialogLayoutCommonProps } from \"~/components/DialogLayout/DialogLayout\";\nimport styles from \"./style.module.less\";\ninterface InfoDialogLayoutProps extends DialogLayoutCommonProps {\n closeButtonLabel?: string;\n}\nclass LargeInfoDialogLayoutInternal extends React.Component {\n render() {\n const { children } = this.props;\n const close = this.props.close()}/>;\n return ( (\n \n {children}\n \n )}/>);\n }\n static displayName = \"LargeInfoDialogLayoutInternal\";\n}\nconst LargeInfoDialogLayout = DialogLayoutConnect.to(LargeInfoDialogLayoutInternal);\nLargeInfoDialogLayout.displayName = \"InfoDialogLayout\";\nexport default LargeInfoDialogLayout;\n","import { css } from \"@emotion/css\";\nimport { space } from \"@octopusdeploy/design-system-tokens\";\nimport type { StepConfigurationExportInputs } from \"@octopusdeploy/step-inputs\";\nimport type { ObjectRuntimeInputs } from \"@octopusdeploy/step-runtime-inputs\";\nimport { asStepConfigurationExportInputs, convertFromJsonSchemaToInputSchema } from \"@octopusdeploy/step-runtime-inputs\";\n// eslint-disable-next-line no-restricted-imports\nimport type { InputJsonSchema } from \"@octopusdeploy/step-runtime-inputs/src/Schema/InputJsonSchema\";\nimport { noOp } from \"@octopusdeploy/utilities\";\nimport * as React from \"react\";\nimport { CodeEditor, TextFormat } from \"~/components/CodeEditor/CodeEditor\";\nimport LargeInfoDialogLayout from \"~/components/DialogLayout/LargeInfoDialogLayout\";\nimport { useStepDataEnricher } from \"~/components/StepPackageEditor/Inputs/OctopusServerEnricher\";\nconst descriptionStyles = css({\n flexGrow: \"0 !important\",\n marginBottom: space[12],\n});\ninterface ExportConfigurationDialogProps {\n name: string;\n description: string;\n inputs: unknown;\n inputSchema?: InputJsonSchema;\n generateExports: (configuredInputs: StepConfigurationExportInputs) => string;\n}\nexport const ExportConfigurationDialog = (props: ExportConfigurationDialogProps) => {\n const enricher = useStepDataEnricher();\n if (props.inputSchema === undefined) {\n return <>;\n }\n // eslint-disable-next-line @typescript-eslint/consistent-type-assertions\n const inputs = props.inputs as ObjectRuntimeInputs;\n const inputSchema = convertFromJsonSchemaToInputSchema(props.inputSchema, inputs);\n // eslint-disable-next-line @typescript-eslint/consistent-type-assertions\n const configurationInputs = asStepConfigurationExportInputs(inputSchema.properties, inputs, enricher) as StepConfigurationExportInputs;\n const editorText = props.generateExports(configurationInputs);\n return (\n
    {props.description}
    \n \n
    );\n};\n","import type { FeedResource } from \"@octopusdeploy/octopus-server-client\";\nimport { FeedType } from \"@octopusdeploy/octopus-server-client\";\nimport type { OctopusServerEnricherMappedReturnType, OctopusServerEnricherSupportedRuntimeTypes, RuntimeContainerImageSelection, RuntimePackageSelection } from \"@octopusdeploy/step-runtime-inputs\";\nimport { useFeedsFromContext } from \"~/areas/projects/components/Process/Contexts/ProcessFeedsContextProvider\";\nimport isBound from \"~/components/form/BoundField/isBound\";\nconst isPackageSelection = (data: OctopusServerEnricherSupportedRuntimeTypes): data is RuntimePackageSelection => {\n // eslint-disable-next-line @typescript-eslint/consistent-type-assertions\n return \"packageId\" in (data as RuntimePackageSelection);\n};\nconst isContainerImageSelection = (data: OctopusServerEnricherSupportedRuntimeTypes): data is RuntimeContainerImageSelection => {\n // eslint-disable-next-line @typescript-eslint/consistent-type-assertions\n return \"imageName\" in (data as RuntimePackageSelection);\n};\ninterface EnricherFactoryProps {\n feeds: FeedResource[];\n}\nexport const enricherFactory = ({ feeds }: EnricherFactoryProps) => {\n const enrich = (data: T): OctopusServerEnricherMappedReturnType => {\n if (isPackageSelection(data)) {\n const feed = feeds.find((f) => f.Id === data.feedId);\n // eslint-disable-next-line @typescript-eslint/consistent-type-assertions\n const enrichedData = {\n packageName: data.packageId, // find package name by package id?\n referenceId: data.referenceId,\n packageExtractionPathExpression: (name) => `#{Octopus.Action.Package[${name}].ExtractedPath}`,\n } as OctopusServerEnricherMappedReturnType;\n if (!isBound(data.feedId ?? \"\") && feed !== undefined) {\n enrichedData.feed = {\n id: feed.Id,\n name: feed.Name,\n };\n }\n else {\n const feedId = data.feedId ?? \"\";\n enrichedData.feed = {\n id: isBound(feedId) ? feedId : feed?.Id ?? \"\",\n name: isBound(feedId) ? feedId : feed?.Name ?? \"\",\n };\n }\n return enrichedData;\n }\n if (isContainerImageSelection(data)) {\n const feed = feeds.find((f) => f.Id === data.feedId);\n // eslint-disable-next-line @typescript-eslint/consistent-type-assertions\n const enrichedData = {\n imageName: data.imageName,\n referenceId: data.referenceId,\n imagePathExpression: (name) => `#{Octopus.Action.Package[${name}].Image}`,\n } as OctopusServerEnricherMappedReturnType;\n if (!isBound(data.feedId ?? \"\") && feed?.FeedType === FeedType.Docker) {\n enrichedData.feed = {\n id: feed.Id,\n name: feed.Name,\n url: feed.FeedUri,\n };\n }\n else {\n const feedId = data.feedId ?? \"\";\n enrichedData.feed = {\n id: isBound(feedId) ? feedId ?? \"\" : feed?.Id ?? \"\",\n name: isBound(feedId) ? feedId : feed?.Name ?? \"\",\n url: \"\",\n };\n }\n return enrichedData;\n }\n // We might want to think more about the case where package type cannot be inferred,\n // as current implementation will break input conversion functions\n // eslint-disable-next-line @typescript-eslint/consistent-type-assertions\n return null as unknown as OctopusServerEnricherMappedReturnType;\n };\n return {\n enrich,\n };\n};\nexport const useStepDataEnricher = function () {\n const feeds = useFeedsFromContext();\n const enricher = enricherFactory({ feeds });\n return enricher;\n};\n","import { ActionButton, ActionButtonType, Callout } from \"@octopusdeploy/design-system-components\";\nimport React from \"react\";\nimport ExternalLink from \"~/components/Navigation/ExternalLink\";\nimport styles from \"./style.module.less\";\ntype ChangeStepPackageVersionCalloutProps = {\n highestAvailableMajorVersion: number;\n currentMajorVersion: number;\n previousMajorVersion?: number;\n releaseNotesHref?: string;\n error?: string;\n inProgress: boolean;\n onUpgradeClick: () => void;\n onCancelClick: () => void;\n};\nexport function ChangeStepPackageVersionCallout({ highestAvailableMajorVersion, currentMajorVersion, previousMajorVersion, releaseNotesHref, inProgress, error, onUpgradeClick, onCancelClick }: ChangeStepPackageVersionCalloutProps) {\n const variants = {\n upgradeAvailable: {\n title: `Version ${highestAvailableMajorVersion} of this step is available. You are currently on version ${currentMajorVersion}. `,\n copy: \"Additional information may be required. \",\n buttonLabel: \"Upgrade\",\n clickHandler: onUpgradeClick,\n calloutType: \"information\",\n buttonType: ActionButtonType.Secondary,\n releaseNotesHref,\n } as const,\n inProgress: {\n title: `Step ${previousMajorVersion && previousMajorVersion < currentMajorVersion ? \"upgraded\" : \"changed\"} to version ${currentMajorVersion}. `,\n copy: `To complete the ${previousMajorVersion && previousMajorVersion < currentMajorVersion ? \"upgrade\" : \"change\"} click Save (or click Cancel to switch back). `,\n buttonLabel: \"Cancel\",\n clickHandler: onCancelClick,\n calloutType: \"success\",\n buttonType: ActionButtonType.Ternary,\n releaseNotesHref,\n } as const,\n error: {\n title: `Something went wrong.`,\n copy: `${error} `,\n buttonLabel: \"Cancel\",\n clickHandler: onCancelClick,\n calloutType: \"danger\",\n buttonType: ActionButtonType.Ternary,\n releaseNotesHref: null,\n } as const,\n };\n function getVariant(inProgress: boolean, error?: string) {\n if (error) {\n return variants.error;\n }\n if (inProgress) {\n return variants.inProgress;\n }\n return variants.upgradeAvailable;\n }\n const variant = getVariant(inProgress, error);\n return (\n
    \n
    \n {variant.copy}\n {variant.releaseNotesHref && (\n What's new\n )}\n
    \n
    \n \n
    \n
    \n
    );\n}\n","import React from \"react\";\nimport type { StoredAction } from \"../types\";\nimport { ChangeStepPackageVersionCallout } from \"./ChangeStepPackageVersionCallout\";\ninterface StepPackageVersionBannerProps {\n action: StoredAction;\n cleanAction: StoredAction | null;\n onUpgrade: (targetVersion: string) => void;\n onCancel: () => void;\n error?: string;\n}\nexport function StepPackageVersionBanner({ action, cleanAction, error, onUpgrade, onCancel }: StepPackageVersionBannerProps) {\n const currentMajorVersion = getStepPackageMajorVersion(action);\n const inProgress = cleanAction !== null && cleanAction !== undefined && action.StepPackageVersion !== cleanAction.StepPackageVersion;\n const releaseNotesHref = action.plugin.releaseNotesUrl;\n if ((!isStepPackageUpdateAvailable(action) && !inProgress) || currentMajorVersion === undefined)\n return null;\n const highestAvailableMajorVersion = getStepPackageHighestAvailableMajorVersion(action);\n return ( onUpgrade(highestAvailableMajorVersion.toString())} onCancelClick={onCancel} inProgress={inProgress} error={error}/>);\n}\nfunction isStepPackageUpdateAvailable(action: StoredAction): boolean {\n const currentMajorVersion = getStepPackageMajorVersion(action);\n if (action.AvailableStepPackageVersions === undefined || currentMajorVersion === undefined)\n return false;\n const highestAvailableMajorVersion = getStepPackageHighestAvailableMajorVersion(action);\n return highestAvailableMajorVersion > currentMajorVersion;\n}\nfunction getStepPackageMajorVersion(action: StoredAction | null) {\n if (!action) {\n return;\n }\n return action.StepPackageVersion == undefined ? undefined : getMajorVersionNumber(action.StepPackageVersion);\n}\nfunction getStepPackageAvailableMajorVersions(action: StoredAction) {\n const availableMajorVersions = action.AvailableStepPackageVersions?.map((v) => getMajorVersionNumber(v)) || [];\n return availableMajorVersions;\n}\nfunction getStepPackageHighestAvailableMajorVersion(action: StoredAction) {\n const availableMajorVersions = getStepPackageAvailableMajorVersions(action);\n return Math.max(...availableMajorVersions);\n}\nexport function getMajorVersionNumber(version: string): number {\n return parseInt(version.split(\".\")[0]);\n}\n","import { ActionButton, ActionButtonType } from \"@octopusdeploy/design-system-components\";\nimport * as React from \"react\";\nimport { useState } from \"react\";\nimport type { DoBusyTask } from \"~/components/DataBaseComponent\";\nimport { useDoBusyTaskEffect } from \"~/components/DataBaseComponent\";\nimport Dialog from \"~/components/Dialog/Dialog\";\nimport ExternalLink from \"~/components/Navigation/ExternalLink\";\nimport Select from \"~/primitiveComponents/form/Select/Select\";\nimport { stepPackageResolver } from \"~/stepPackages/stepPackageResolver\";\nimport styles from \"./ChangeVersionDialog.module.less\";\nimport { getMajorVersionNumber } from \"./StepPackageVersionBanner\";\ntype ChangeVersionDialogProps = {\n open: boolean;\n stepPackageId: string;\n availableVersions?: string[];\n currentVersion?: string;\n onChangeClick: (selectedVersion: string) => void;\n onCancelClick: () => void;\n doBusyTask: DoBusyTask;\n};\nexport function ChangeVersionDialog({ open, stepPackageId, availableVersions, currentVersion, onChangeClick, onCancelClick, doBusyTask }: ChangeVersionDialogProps) {\n const [selectedVersion, setSelectedVersion] = useState(currentVersion);\n const [releaseNotesUrl, setReleaseNotesUrl] = useState(null);\n React.useEffect(() => {\n setSelectedVersion(currentVersion);\n }, [currentVersion]);\n useDoBusyTaskEffect(doBusyTask, async () => {\n if (!selectedVersion || !open)\n return;\n await getReleaseNotesUrl(stepPackageId, selectedVersion);\n }, [selectedVersion, stepPackageId, open]);\n if (!availableVersions)\n return null;\n async function getReleaseNotesUrl(id: string, version: string) {\n const stepPackage = await stepPackageResolver.getStepPackageByIdAndVersion(id, version);\n setReleaseNotesUrl(stepPackage.releaseNotesUrl || null);\n }\n return (\n
    \n

    Select the desired version, additional information may be required.

    \n \n\n
    {releaseNotesUrl && Release Notes}
    \n\n
    \n \n {\n if (!selectedVersion)\n return;\n onChangeClick(selectedVersion);\n }}/>\n
    \n
    \n
    );\n}\n","import { ActionButton, ActionButtonType } from \"@octopusdeploy/design-system-components\";\nimport React from \"react\";\nimport CustomDialog from \"~/components/Dialog/CustomDialog\";\nimport { ExtraSmallDialogFrame } from \"~/components/DialogLayout/Custom\";\nimport ExternalLink from \"~/components/Navigation/ExternalLink\";\nimport type { StepPackage } from \"~/components/StepPackageEditor/StepPackage/StepPackage\";\nimport styles from \"./StepPackageInfoDialog.module.less\";\ntype StepPackageInfoDialogProps = {\n open: boolean;\n stepPackage: StepPackage | undefined;\n onClose: () => void;\n};\nexport function StepPackageInfoDialog({ open, stepPackage, onClose }: StepPackageInfoDialogProps) {\n if (!stepPackage)\n return null;\n const { name, description, version, releaseNotesUrl } = stepPackage;\n return ( (\n
    \n

    {name}

    \n
    Version {version}
    \n
    {description}
    \n {releaseNotesUrl && Release Notes}\n\n
    \n \n
    \n
    \n
    )}/>);\n}\n","import type { ActionProperties, GitDependencyReference, IProcessResource, PackageReference, StepPackageInputs } from \"@octopusdeploy/octopus-server-client\";\nimport * as React from \"react\";\nimport { useOptionalProcessBlueprintContext } from \"~/areas/projects/components/Process/Blueprints/BlueprintContext\";\nimport type { RunOn } from \"~/areas/projects/components/Process/types\";\nimport type { ActionTemplateStepInputDependencies, ProjectStepInputDependencies } from \"~/components/StepPackageEditor/StepInputDependencies\";\nimport { isProjectStepInputDependencies } from \"~/components/StepPackageEditor/StepInputDependencies\";\nimport type { ActionEditProps, ActionPlugin, AdditionalActions } from \"../Actions/pluginRegistry\";\nimport type { FieldErrors } from \"../DataBaseComponent/Errors\";\ntype ActionPropertiesEditorProps = ProjectScopedActionPropertiesEditorProps | ActionTemplateScopedActionPropertiesEditorProps;\ninterface ProjectScopedActionPropertiesEditorProps {\n inputDependencies: ProjectStepInputDependencies;\n plugin: ActionPlugin;\n inputs: StepPackageInputs;\n properties: ActionProperties;\n packages: Array;\n gitDependencies: GitDependencyReference[] | undefined;\n runOn: RunOn;\n additionalActions: AdditionalActions;\n errors: FieldErrors | undefined;\n busy: Promise | boolean | undefined;\n expandedByDefault: boolean;\n editor: React.ComponentType;\n getFieldError(field: string): string;\n setInputs(inputs: StepPackageInputs, callback?: () => void): void;\n setProperties(properties: Partial, initialise?: boolean, callback?: () => void): void;\n setPackages(packages: Array, initialise?: boolean): void;\n setGitDependencies?(gitDependencies: GitDependencyReference[]): void;\n doBusyTask(action: () => Promise): Promise;\n refreshRunOn(): void;\n getProcessResource(): Readonly;\n isNew: boolean;\n isStepFromProcessTemplate?: boolean;\n}\ninterface ActionTemplateScopedActionPropertiesEditorProps {\n inputDependencies: ActionTemplateStepInputDependencies;\n inputs?: StepPackageInputs;\n plugin: ActionPlugin;\n properties: ActionProperties;\n packages: Array;\n gitDependencies: GitDependencyReference[] | undefined;\n errors: FieldErrors | undefined;\n busy: Promise | boolean | undefined;\n expandedByDefault: boolean;\n editor: React.ComponentType;\n getFieldError(field: string): string;\n setInputs?(inputs: StepPackageInputs, callback?: () => void): void;\n setProperties(properties: Partial, initialise?: boolean, callback?: () => void): void;\n setPackages(packages: Array, initialise?: boolean): void;\n setGitDependencies?(gitDependencies: GitDependencyReference[]): void;\n doBusyTask(action: () => Promise): Promise;\n}\nexport function ActionPropertiesEditor(props: ActionPropertiesEditorProps) {\n const Edit: React.ComponentType = props.editor;\n const processBlueprintContext = useOptionalProcessBlueprintContext();\n if (isProjectScopedProps(props)) {\n const localNamesProps = processBlueprintContext?.localNames ? { localNames: processBlueprintContext.localNames } : {};\n return ();\n }\n return ();\n}\nfunction isProjectScopedProps(props: ActionPropertiesEditorProps): props is ProjectScopedActionPropertiesEditorProps {\n return isProjectStepInputDependencies(props.inputDependencies);\n}\n","import type { PropertyValueResource, ActionProperties } from \"@octopusdeploy/octopus-server-client\";\nimport type { ActionPlugin } from \"~/components/Actions/pluginRegistry\";\nimport { default as pluginRegistry } from \"~/components/Actions/pluginRegistry\";\nexport const enforceNewActionFeatures = (plugin: ActionPlugin, properties: ActionProperties, isNew: boolean, shouldEnableFeaturePlugin: boolean = true) => {\n const existingEnabledFeatures: PropertyValueResource = properties[\"Octopus.Action.EnabledFeatures\"] || \"\";\n // Enable any permanent or initial features\n let enabledFeatures = [...(typeof existingEnabledFeatures === \"string\" ? existingEnabledFeatures.split(\",\") : [])];\n if (isNew) {\n if (plugin.features) {\n let pluginFeatures: string[] = [];\n if (plugin.features.permanent)\n pluginFeatures = [...plugin.features.permanent];\n if (plugin.features.initial)\n pluginFeatures = [...pluginFeatures, ...plugin.features.initial];\n pluginFeatures.forEach((feature) => {\n enabledFeatures.push(feature);\n if (shouldEnableFeaturePlugin) {\n const featurePlugin = pluginRegistry.getFeature(feature);\n if (featurePlugin.enable) {\n featurePlugin.enable(properties);\n }\n }\n });\n }\n enabledFeatures = Array.from(new Set(enabledFeatures));\n }\n return enabledFeatures.join(\",\");\n};\n","import type { GitDependencyReference, ActionProperties, IProcessResource, PackageReference, StepPackageInputs, TriggerResource, GitRefResource } from \"@octopusdeploy/octopus-server-client\";\nimport * as React from \"react\";\nimport { useCallback, useEffect, useMemo } from \"react\";\nimport { useAccountsFromContext, useRefreshAccountsFromContext } from \"~/areas/projects/components/Process/Contexts/ProcessAccountsContextProvider\";\nimport { useProcessContext } from \"~/areas/projects/components/Process/Contexts/ProcessContext\";\nimport { useFeedsFromContext, useRefreshFeedsFromContext } from \"~/areas/projects/components/Process/Contexts/ProcessFeedsContextProvider\";\nimport { useGitCredentialsFromContext, useRefreshGitCredentialsFromContext } from \"~/areas/projects/components/Process/Contexts/ProcessGitCredentialsContextProvider\";\nimport type { RunOn } from \"~/areas/projects/components/Process/types\";\nimport { useOptionalProjectContext } from \"~/areas/projects/context\";\nimport { ActionPropertiesEditor } from \"~/components/ActionPropertiesEditor/ActionPropertiesEditor\";\nimport { enforceNewActionFeatures } from \"~/components/ActionPropertiesEditor/enforceNewActionFeatures\";\nimport type { ActionEditProps, ActionPlugin, AdditionalActions } from \"~/components/Actions/pluginRegistry\";\nimport type { ProjectStepInputDependencies } from \"~/components/StepPackageEditor/StepInputDependencies\";\nimport type { FieldErrors } from \"../DataBaseComponent/Errors\";\ninterface ProjectActionEditorProps {\n deploymentActionSlug: string;\n plugin: ActionPlugin;\n inputs: StepPackageInputs;\n properties: ActionProperties;\n packages: Array;\n gitDependencies?: GitDependencyReference[];\n runOn: RunOn;\n additionalActions: AdditionalActions;\n errors: FieldErrors | undefined; // only used for shouldComponentUpdate\n busy: Promise | boolean | undefined;\n expandedByDefault: boolean;\n editor: React.ComponentType;\n getFieldError(field: string): string;\n setInputs(inputs: StepPackageInputs, callback?: () => void): void;\n setProperties(properties: Partial, initialise?: boolean, callback?: () => void): void;\n setPackages(packages: Array, initialise?: boolean): void;\n setGitDependencies?(gitDependencies: GitDependencyReference[], initialise?: boolean): void;\n doBusyTask(action: () => Promise): Promise;\n refreshRunOn(): void;\n getProcessResource(): Readonly;\n isNew: boolean;\n projectTriggers: TriggerResource[];\n gitRefResource: GitRefResource | undefined;\n isStepFromProcessTemplate?: boolean;\n}\nexport function ProjectActionPropertiesEditor(props: ProjectActionEditorProps) {\n const { setPackages, packages } = props;\n const { setGitDependencies, gitDependencies } = props;\n const { gitRefResource: gitRef } = props;\n const projectContext = useOptionalProjectContext();\n const processContext = useProcessContext();\n useEffect(() => {\n const properties = { ...props.properties };\n const newActionFeatures = enforceNewActionFeatures(props.plugin, properties, props.isNew, false);\n if (newActionFeatures.length > 0) {\n // We don't assign empty features, or this causes existing steps to trigger the \"unsaved changes\" dialog.\n properties[\"Octopus.Action.EnabledFeatures\"] = newActionFeatures;\n }\n props.setProperties(properties, true);\n // eslint-disable-next-line react-hooks/exhaustive-deps\n }, []);\n const projectId = projectContext?.state.model.Id;\n const project = projectContext?.state.model;\n const processType = processContext.selectors.getProcessType();\n const feeds = useFeedsFromContext();\n const refreshFeeds = useRefreshFeedsFromContext();\n const accounts = useAccountsFromContext();\n const refreshAccounts = useRefreshAccountsFromContext();\n const gitCredentials = useGitCredentialsFromContext();\n const refreshGitCredentials = useRefreshGitCredentialsFromContext();\n const stableSetPackages = useCallback((getUpdatedPackages: (prev: Array) => Array) => setPackages(getUpdatedPackages(packages)), [packages, setPackages]);\n const stableSetGitDependencies = useCallback((getGitDependencies: (prev: GitDependencyReference[]) => GitDependencyReference[]) => setGitDependencies?.(getGitDependencies?.(gitDependencies ?? [])), [gitDependencies, setGitDependencies]);\n const stableRefreshFeeds = useCallback(async () => {\n await refreshFeeds();\n }, [refreshFeeds]);\n const stableRefreshAccounts = useCallback(async () => {\n await refreshAccounts();\n }, [refreshAccounts]);\n const inputDependencies = useMemo(() => ({\n projectId,\n gitRef,\n project,\n processType,\n feeds,\n refreshFeeds: stableRefreshFeeds,\n setPackages: stableSetPackages,\n setGitDependencies: stableSetGitDependencies,\n accounts,\n refreshAccounts: stableRefreshAccounts,\n gitCredentials: gitCredentials,\n refreshGitCredentials: refreshGitCredentials,\n deploymentActionSlug: props.deploymentActionSlug,\n projectTriggers: props.projectTriggers,\n }), [projectId, gitRef, project, processType, feeds, stableRefreshFeeds, stableSetPackages, stableSetGitDependencies, accounts, stableRefreshAccounts, gitCredentials, refreshGitCredentials, props.deploymentActionSlug, props.projectTriggers]);\n if (!props.plugin.editSections) {\n throw new Error(`Plugin ${props.plugin.actionType} is missing 'Edit' property`);\n }\n return ();\n}\n","import type { PropertyValueResource } from \"@octopusdeploy/octopus-server-client\";\nimport * as React from \"react\";\nimport SimpleDataTable from \"~/components/SimpleDataTable\";\ninterface ActionPropertyTableProps {\n actionProperties: {};\n currentPropertyValues: Record;\n}\ninterface DataPoint {\n name: string;\n value: PropertyValueResource;\n}\nconst ActionPropertyTable = (props: ActionPropertyTableProps) => {\n const data = Object.keys(props.actionProperties).map((ap) => ({ name: ap, value: props.currentPropertyValues[ap] }));\n return ;\n};\nconst buildRow = (dataPoint: DataPoint) => {\n return [dataPoint.name, dataPoint.value];\n};\nexport default ActionPropertyTable;\n","/* eslint-disable @typescript-eslint/no-non-null-assertion */\n/* eslint-disable @typescript-eslint/no-explicit-any */\n/* eslint-disable @typescript-eslint/consistent-type-assertions */\nimport { ActionButtonType, ActionButton, Callout } from \"@octopusdeploy/design-system-components\";\nimport type { ActionProperties, ActionTemplateParameterResource, ActionTemplateResource, ActionUpdateRemovedPackageUsage, ActionUpdateResultResource, PackageReference, ProcessType, ProjectResource, PropertyValueResource, GitDependencyReference, GitRefResource, VariableSetResource, } from \"@octopusdeploy/octopus-server-client\";\nimport { ActionUpdateOutcome, ActionUpdatePackageUsedBy, ControlType, isSensitiveValue, OctopusError, PersistenceSettingsType } from \"@octopusdeploy/octopus-server-client\";\nimport { links } from \"@octopusdeploy/portal-routes\";\nimport { flatten, mapValues } from \"lodash\";\nimport * as React from \"react\";\nimport type { FailedPermissionCheck } from \"~/areas/projects/components/Process/ProcessStepsLayoutTypes\";\nimport type { ProcessIdentifier, StoredModelState } from \"~/areas/projects/components/Process/types\";\nimport type { LoadedLibraryVariableSets } from \"~/areas/projects/components/Variables/AllVariables/AllVariables\";\nimport type { WithProjectContextInjectedProps } from \"~/areas/projects/context/withProjectContext\";\nimport { withProjectContext } from \"~/areas/projects/context/withProjectContext\";\nimport { repository } from \"~/clientInstance\";\nimport type { ProjectSourceItems } from \"~/components/ActionTemplateParameterInput/ActionTemplateParameterInput\";\nimport ActionTemplateParameterInput from \"~/components/ActionTemplateParameterInput/ActionTemplateParameterInput\";\nimport { BaseComponent } from \"~/components/BaseComponent/BaseComponent\";\nimport InternalLink from \"~/components/Navigation/InternalLink\";\nimport { FormSectionHeading, UnstructuredFormSection } from \"~/components/form\";\nimport { JsonUtils } from \"~/utils/jsonUtils\";\nimport Note from \"../../primitiveComponents/form/Note/Note\";\nimport ParseHelper from \"../../utils/ParseHelper\";\nimport ActionTemplateParameterInputExpandableFormElement from \"../ActionTemplateParameterInput/ActionTemplateParameterInputExpandableFormElement\";\nimport Markdown from \"../Markdown\";\nimport SimpleDataTable from \"../SimpleDataTable\";\nimport ActionPropertyTable from \"./ActionPropertyTable\";\ninterface ActionTemplateEditorProps {\n actionTemplate: ActionTemplateResource;\n actionId: string;\n properties: ActionProperties;\n process: Readonly;\n processIdentifier: ProcessIdentifier;\n processType: ProcessType;\n localNames?: string[];\n doBusyTask(action: () => Promise): Promise;\n setProperties(properties: Partial): void;\n setPackages(packages: Array>, initialise?: boolean): void;\n setGitDependencies?(gds: GitDependencyReference[], initialise?: boolean): void;\n onActionTemplateUpdate: () => void;\n gitRefResource: GitRefResource | undefined;\n processVariableSet: VariableSetResource | FailedPermissionCheck;\n libraryVariableSets: LoadedLibraryVariableSets[] | FailedPermissionCheck;\n refreshVariables: (() => Promise) | undefined;\n}\ninterface ActionTemplateEditorState {\n manualMergeRequired: boolean;\n actionTemplateVersion: ActionTemplateResource;\n currentPropertyValues: ActionProperties;\n overrides: ActionProperties;\n latestRemovesPackagesInUse: boolean;\n removedPackageUsages: ActionUpdateRemovedPackageUsage[];\n sourceItems: ProjectSourceItems;\n project: ProjectResource;\n}\nfunction convertSensitivePropertyValues(properties: ActionProperties): ActionProperties {\n return mapValues(properties, (value) => (isSensitiveValue(value) ? \"********\" : value));\n}\nfunction getTemplateVersion(properties: ActionProperties): number {\n return ParseHelper.safeParseInt(properties[\"Octopus.Action.Template.Version\"] as string);\n}\nfunction isTemplateUpToDate(providedTemplate: ActionTemplateResource, currentProperties: ActionProperties) {\n return providedTemplate.Version === getTemplateVersion(currentProperties);\n}\ntype ActionTemplateEditorWithProjectContextProps = ActionTemplateEditorProps & WithProjectContextInjectedProps;\nclass ActionTemplateEditor extends BaseComponent {\n static getDerivedStateFromProps(props: ActionTemplateEditorProps, state: ActionTemplateEditorState): ActionTemplateEditorState {\n return {\n ...state,\n currentPropertyValues: convertSensitivePropertyValues(props.properties),\n };\n }\n constructor(props: ActionTemplateEditorWithProjectContextProps) {\n super(props);\n const actionNames: string[] = props.process ? flatten(Object.values(props.process.actions.byId).map((a) => a.Name)) : [];\n this.state = {\n currentPropertyValues: {},\n actionTemplateVersion: null!,\n manualMergeRequired: false,\n sourceItems: {\n stepNames: actionNames,\n projectId: this.props.projectContext.state.model.Id,\n processIdentifier: this.props.processIdentifier,\n processVariableSet: this.props.processVariableSet,\n libraryVariableSets: this.props.libraryVariableSets,\n refreshVariables: this.props.refreshVariables,\n gitRef: this.props.gitRefResource,\n packages: {\n items: this.props.actionTemplate.Packages || [],\n feeds: [],\n onRequestRefresh: this.refreshFeeds,\n setPackages: this.setPackages,\n },\n },\n overrides: {},\n removedPackageUsages: [],\n latestRemovesPackagesInUse: false,\n project: props.projectContext.state.model,\n };\n }\n async componentDidMount() {\n await this.refreshActionTemplate();\n }\n async refreshActionTemplate() {\n await this.props.doBusyTask(async () => {\n const isUpToDate = isTemplateUpToDate(this.props.actionTemplate, this.props.properties);\n const versionGetter = isUpToDate ? Promise.resolve(this.props.actionTemplate) : repository.ActionTemplates.getVersion(this.props.actionTemplate, getTemplateVersion(this.props.properties));\n const feedsGetter = repository.Feeds.all();\n try {\n const actionTemplateVersion = await versionGetter;\n const feeds = await feedsGetter;\n this.setState({\n actionTemplateVersion,\n sourceItems: {\n ...this.state.sourceItems,\n packages: {\n ...this.state.sourceItems.packages!,\n feeds,\n },\n },\n });\n }\n catch (error) {\n if (error.StatusCode !== 404) {\n throw error;\n }\n }\n });\n }\n setPackages = (packages: Array>, initialise?: boolean) => {\n if (!this.state.manualMergeRequired) {\n this.props.setPackages(packages, initialise);\n }\n this.setState({\n sourceItems: {\n ...this.state.sourceItems,\n packages: {\n ...this.state.sourceItems.packages!,\n items: packages,\n },\n },\n });\n };\n refreshFeeds = async () => {\n await this.props.doBusyTask(async () => {\n const feedsGetter = repository.Feeds.all();\n try {\n const feeds = await feedsGetter;\n this.setState({\n sourceItems: {\n ...this.state.sourceItems,\n packages: {\n ...this.state.sourceItems.packages!,\n feeds,\n },\n },\n });\n }\n catch (error) {\n if (error.StatusCode !== 404) {\n throw error;\n }\n }\n });\n };\n render() {\n const isUpToDate = isTemplateUpToDate(this.props.actionTemplate, this.props.properties);\n const version = getTemplateVersion(this.props.properties);\n const canUpdateAutomatically = !isUpToDate && !this.state.manualMergeRequired && !this.state.latestRemovesPackagesInUse;\n return (
    \n \n\n \n \n This step is based on a {this.props.actionTemplate.CommunityActionTemplateId ? \"community\" : \"custom\"}\n \n {this.props.actionTemplate.Name} \n \n step template.\n \n \n\n {!isUpToDate && (\n '{this.props.actionTemplate.Name}' step template has changed since this step was configured.\n {canUpdateAutomatically && Update now to merge the latest changes.}\n
    \n {!this.state.actionTemplateVersion && (

    \n Version '{version}' of '{this.props.actionTemplate.Name}' step template is not available and properties can only be displayed in read-only mode. To start storing all versions of '{this.props.actionTemplate.Name}' step\n template and safely update automatically in the future, update to the latest version now.\n

    )}\n {canUpdateAutomatically && }\n {this.state.manualMergeRequired && (\n

    Unfortunately the step must be updated manually because we don't have enough information to do it automatically. Please, review carefully the new property values below and confirm them when you are ready.

    \n \n
    )}\n {this.state.latestRemovesPackagesInUse && (\n

    This step cannot be automatically updated. The latest version of the step template has removed {this.packagePlural(this.state.removedPackageUsages.length)} which this project depends on.

    \n
      {this.state.removedPackageUsages.map((pkg) => this.renderUsedPackage(pkg))}
    \n

    The above usages must be removed before this step can be updated.

    \n
    )}\n
    )}\n {!this.state.manualMergeRequired && !this.state.actionTemplateVersion && }\n {!this.state.manualMergeRequired && !!this.state.actionTemplateVersion && (
    \n {this.state.actionTemplateVersion.Parameters.map((parameter) => {\n return ( this.props.setProperties({ [parameter.Name]: x })}/>);\n })}\n
    )}\n\n {this.state.manualMergeRequired &&
    {this.resolveTable()}
    }\n
    );\n }\n private resolveTable = () => {\n return ;\n };\n private buildRow = (parameter: ActionTemplateParameterResource) => {\n return [\n {parameter.Label || parameter.Name},\n parameter.DisplaySettings[\"Octopus.ControlType\"] === ControlType.Package ? this.displayCurrentPackageParameterPropertyValues(this.state.currentPropertyValues[parameter.Name]) : this.state.currentPropertyValues[parameter.Name],\n
    \n this.handleParameterInputChanged(parameter.Name, x)}/>\n \n \n \n
    ,\n ];\n };\n private displayCurrentPackageParameterPropertyValues = (value: PropertyValueResource) => {\n if (typeof value === \"string\" && JsonUtils.tryParseJson(value)) {\n const pkg: Partial> = JSON.parse(value);\n if (pkg.PackageId) {\n const ret = [];\n if (pkg.FeedId) {\n ret.push(
    \n Feed ID: {pkg.FeedId}\n
    );\n }\n ret.push(
    \n Package ID: {pkg.PackageId}\n
    );\n return React.Children.toArray(ret);\n }\n }\n return value;\n };\n private handleParameterInputChanged = (name: string, value: any) => {\n this.setState((state: ActionTemplateEditorState) => ({ overrides: { ...state.overrides, [name]: value } }));\n };\n private resolveConflicts = async () => {\n await this.props.doBusyTask(async () => {\n //Empty values are not usually sent to the server but in this case we really need to know that the user decided to set something to an empty value.\n const overrides = { ...this.state.overrides };\n this.props.actionTemplate.Parameters.forEach((p) => {\n if (overrides[p.Name] === undefined) {\n overrides[p.Name] = null;\n }\n });\n this.setState({ overrides });\n const branchName = this.branchName();\n const projectId = this.props.projectContext.state.model.Id;\n await repository.ActionTemplates.updateActions(this.props.actionTemplate, [{ ProcessId: this.props.processIdentifier.id, ProcessType: this.props.processType, ProjectId: projectId, ActionIds: [this.props.actionId], GitRef: branchName }], null!, overrides);\n this.props.onActionTemplateUpdate();\n });\n };\n private mergeLatest = async () => {\n await this.props.doBusyTask(async () => {\n try {\n const branchName = this.branchName();\n const projectId = this.props.projectContext.state.model.Id;\n await repository.ActionTemplates.updateActions(this.props.actionTemplate, [\n { ProcessId: this.props.processIdentifier.id, ProcessType: this.props.processType, ProjectId: projectId, ActionIds: [this.props.actionId], GitRef: branchName },\n ]);\n this.props.onActionTemplateUpdate();\n }\n catch (error) {\n // If it's a conflict from attempting to update the action template\n if (error.StatusCode === 400 && OctopusError.isOctopusError(error) && error.Details) {\n const result = error.Details[0];\n if (this.isActionUpdateResult(result)) {\n switch (result.Outcome) {\n case ActionUpdateOutcome.RemovedPackageInUse: {\n this.setState({ latestRemovesPackagesInUse: true, removedPackageUsages: result.RemovedPackageUsages });\n break;\n }\n default: {\n const overrides: ActionProperties = {};\n this.props.actionTemplate.Parameters.forEach((p) => {\n const propertyValue = this.props.properties[p.Name];\n if (propertyValue !== undefined) {\n if (p.DisplaySettings[\"Octopus.ControlType\"] === ControlType.Package && !JsonUtils.tryParseJson(propertyValue as string)) {\n const pkg = this.props.actionTemplate.Packages.find((atp) => atp.Properties[\"PackageParameterName\"] === p.Name);\n if (pkg && pkg.Properties && pkg.Properties[\"PackageParameterName\"] === p.Name) {\n overrides[p.Name] = JSON.stringify({ PackageId: pkg.PackageId, FeedId: pkg.FeedId });\n }\n }\n else {\n overrides[p.Name] = propertyValue;\n }\n }\n else if (p.DisplaySettings[\"Octopus.ControlType\"] === ControlType.Package) {\n const pkg = this.props.actionTemplate.Packages.find((atp) => atp.Properties[\"PackageParameterName\"] === p.Name);\n if (pkg && pkg.Properties && pkg.Properties[\"PackageParameterName\"] === p.Name) {\n overrides[p.Name] = JSON.stringify({ PackageId: pkg.PackageId, FeedId: pkg.FeedId });\n }\n }\n });\n this.setState({ overrides, manualMergeRequired: true });\n break;\n }\n }\n }\n }\n else {\n throw error;\n }\n }\n });\n };\n private branchName() {\n let branchName = \"\";\n if (this.props.projectContext.state.model.PersistenceSettings.Type === PersistenceSettingsType.VersionControlled) {\n const branch = this.props.gitRefResource;\n branchName = branch ? branch.Name : \"\";\n }\n return branchName;\n }\n private renderUsedPackage(pkgUsage: ActionUpdateRemovedPackageUsage) {\n return (
  • \n Package {pkgUsage.PackageReference} is used by {this.renderUsedPackageLink(pkgUsage)}\n
  • );\n }\n private renderUsedPackageLink(pkgUsage: ActionUpdateRemovedPackageUsage) {\n switch (pkgUsage.UsedBy) {\n case ActionUpdatePackageUsedBy.ProjectVersionStrategy: {\n return (\n project versioning strategy\n );\n }\n case ActionUpdatePackageUsedBy.ProjectReleaseCreationStrategy: {\n return (\n project release creation strategy\n );\n }\n case ActionUpdatePackageUsedBy.ChannelRule: {\n return (\n rule in channel '{pkgUsage.UsedByName}'\n );\n }\n // We should never get here, but we'll attempt to handle gracefully anyway\n default: {\n return {pkgUsage.UsedByName};\n }\n }\n }\n private isActionUpdateResult(result: any): result is ActionUpdateResultResource {\n return (result as ActionUpdateResultResource).Outcome !== undefined;\n }\n private packagePlural = (n: number) => {\n return n === 1 ? \"a package\" : \"packages\";\n };\n static displayName = \"ActionTemplateEditor\";\n}\nexport default withProjectContext(ActionTemplateEditor);\n","import { Callout } from \"@octopusdeploy/design-system-components\";\nimport React from \"react\";\nimport type { StoredAction } from \"~/areas/projects/components/Process/types\";\nimport ExternalLink from \"~/components/Navigation/ExternalLink/index\";\ntype HelmV2DeprecationCalloutProps = {\n action: StoredAction;\n};\nexport const HelmV2DeprecationCallout = ({ action }: HelmV2DeprecationCalloutProps) => {\n if (action.ActionType !== \"Octopus.HelmChartUpgrade\" || (action.Properties[\"Octopus.Action.Helm.ClientVersion\"] !== \"V2\" && !action.Properties[\"Octopus.Action.Helm.WasAutoUpdatedToV3\"])) {\n return null;\n }\n return (\n Helm V2 is deprecated and support will be completely removed in Octopus Server 2025.1. For information on how to migrate to Helm V3, see the official migration guide.\n );\n};\n","import * as _ from \"lodash\";\nimport * as React from \"react\";\nimport type { ActionEditProps, ActionPlugin, FeaturePlugin } from \"../Actions/pluginRegistry\";\nimport { default as pluginRegistry } from \"../Actions/pluginRegistry\";\nimport { FormSectionHeading, Note, UnstructuredFormSection } from \"../form\";\nimport styles from \"./style.module.less\";\ninterface FeatureEditorPropsInternal extends ActionEditProps {\n enabledFeatures: string;\n openFeaturesElement?: JSX.Element;\n isNew: boolean;\n plugin: ActionPlugin;\n expandedByDefault: boolean;\n}\ntype FeatureEditorProps = FeatureEditorPropsInternal;\ninterface FeatureEditorState {\n plugins: FeaturePlugin[];\n}\n//eslint-disable-next-line react/no-unsafe\nexport default class FeatureEditor extends React.Component {\n constructor(props: FeatureEditorProps) {\n super(props);\n this.state = {\n plugins: [],\n };\n }\n componentDidMount() {\n this.refreshPlugins(this.props.enabledFeatures);\n }\n UNSAFE_componentWillReceiveProps(newProps: FeatureEditorProps) {\n if (newProps.enabledFeatures !== this.props.enabledFeatures) {\n this.refreshPlugins(newProps.enabledFeatures);\n }\n }\n render() {\n return (
    \n {this.state.plugins.map((plugin) => {\n return (
    \n \n \n
    );\n })}\n \n
    \n {this.props.openFeaturesElement &&
    {this.props.openFeaturesElement}
    }\n You can add or manage additional features used by this step.\n
    \n
    \n
    );\n }\n private refreshPlugins(enabledFeatures: string) {\n const featureNames = (enabledFeatures || \"\").split(\",\");\n const allFeatures = pluginRegistry.getAllFeatures();\n const plugins = _.chain(allFeatures)\n .filter((feature) => featureNames.includes(feature.featureName))\n .sortBy((feature) => feature.priority)\n .value();\n this.setState({ plugins });\n }\n static displayName = \"FeatureEditor\";\n}\n","import { Checkbox } from \"@octopusdeploy/design-system-components\";\nimport * as React from \"react\";\nimport type { SFC } from \"react\";\nimport MarkdownDescription from \"~/components/MarkdownDescription\";\nimport SimpleDataTable from \"~/components/SimpleDataTable/SimpleDataTable\";\nimport type { FeatureItem } from \"./ConfigureFeaturesContent\";\nimport styles from \"./style.module.less\";\ninterface FeatureListProps {\n features: FeatureItem[];\n onIsEnabledChanged(value: boolean, featureName: string): void;\n}\nclass FeatureTable extends SimpleDataTable {\n}\nconst FeatureList: SFC = (props) => {\n return ( buildResultRow(res, props.onIsEnabledChanged)}/>);\n};\nconst buildResultRow = (item: FeatureItem, onIsEnabledChanged: (value: boolean, featureName: string) => void) => {\n return [ onIsEnabledChanged(val, item.featureName)} label={item.title}/>, ];\n};\nFeatureList.displayName = \"FeatureList\";\nexport default FeatureList;\n","/* eslint-disable @typescript-eslint/no-non-null-assertion */\n/* eslint-disable @typescript-eslint/consistent-type-assertions */\nimport { Callout } from \"@octopusdeploy/design-system-components\";\nimport type { ActionProperties } from \"@octopusdeploy/octopus-server-client\";\nimport * as React from \"react\";\nimport type { ActionPlugin, FeaturePlugin } from \"../Actions/pluginRegistry\";\nimport pluginRegistry from \"../Actions/pluginRegistry\";\nimport type { DataBaseComponentState } from \"../DataBaseComponent\";\nimport { DataBaseComponent } from \"../DataBaseComponent/DataBaseComponent\";\nimport OkDialogLayout from \"../DialogLayout/OkDialogLayout\";\nimport FeatureList from \"./FeatureList\";\nexport interface FeatureItem {\n featureName: string;\n title: string;\n description: string;\n instance: FeaturePlugin;\n isEnabled: boolean;\n wasEnabled: boolean;\n}\ntype ConfigureFeaturesContentInternalProps = {\n actionType: string;\n properties: ActionProperties;\n saveDone(enabledFeatures: string): void;\n};\ntype ConfigureFeaturesContentProps = {\n actionType: string;\n properties: ActionProperties;\n saveDone(enabledFeatures: string): void;\n};\ninterface ConfigureFeaturesContentState extends DataBaseComponentState {\n features: FeatureItem[];\n removedFeatures: string[];\n actionType: ActionPlugin;\n}\nclass ConfigureFeaturesContentInternal extends DataBaseComponent {\n constructor(props: ConfigureFeaturesContentInternalProps) {\n super(props);\n this.state = {\n features: [],\n removedFeatures: [],\n actionType: null!,\n };\n }\n async componentDidMount() {\n return this.doBusyTask(async () => {\n const features: FeatureItem[] = [];\n const action = await pluginRegistry.getAction(this.props.actionType);\n const allFeatures = pluginRegistry.getAllFeatures();\n const enabledFeatures = this.props.properties[\"Octopus.Action.EnabledFeatures\"] ? (this.props.properties[\"Octopus.Action.EnabledFeatures\"] as string).split(\",\") : [];\n if (action.features && action.features.optional) {\n allFeatures\n .sort((a, b) => a.priority - b.priority)\n .forEach((feature) => {\n if (!action.features!.optional!.includes(feature.featureName)) {\n return;\n }\n features.push({\n featureName: feature.featureName,\n title: feature.title,\n description: feature.description,\n instance: feature,\n isEnabled: enabledFeatures.includes(feature.featureName),\n wasEnabled: enabledFeatures.includes(feature.featureName),\n });\n });\n }\n this.setState({\n features,\n actionType: action,\n });\n });\n }\n async save() {\n return this.doBusyTask(async () => {\n // permanent actions are always enabled\n const currentlyEnabled = this.state.actionType.features && this.state.actionType.features.permanent ? [...this.state.actionType.features.permanent] : [];\n this.state.features.forEach((feature) => {\n if (feature.isEnabled) {\n currentlyEnabled.push(feature.featureName);\n }\n if (!feature.wasEnabled && feature.isEnabled) {\n if (feature.instance.enable) {\n feature.instance.enable(this.props.properties);\n }\n }\n else if (feature.wasEnabled && !feature.isEnabled) {\n if (feature.instance.disable) {\n feature.instance.disable(this.props.properties);\n }\n }\n });\n this.props.saveDone(currentlyEnabled.join(\",\"));\n });\n }\n featureToggled = () => {\n const removedFeatures = this.state.features\n .filter((feature) => {\n return feature.wasEnabled && !feature.isEnabled;\n })\n .map((feature) => {\n return feature.title;\n });\n this.setState({\n removedFeatures,\n });\n };\n handleIsEnabledChanged = (value: boolean, featureName: string) => {\n this.setState((prevState: ConfigureFeaturesContentState) => {\n const features = prevState.features.map((f) => {\n return f.featureName === featureName ? { ...f, isEnabled: value } : f;\n });\n return { features };\n }, this.featureToggled);\n };\n render() {\n return ( this.save()}>\n {this.state.features && (
    \n {this.state.removedFeatures.length > 0 && (\n You have deselected the feature{this.state.removedFeatures.length > 1 ? s : \"\"} \n {this.state.removedFeatures.map((feature, index, arr) => {\n const last = index === arr.length - 1;\n const first = index === 0;\n const middle = !last && !first;\n return (\n {last && !first ? \" and \" : \"\"}\n {middle ? \", \" : \"\"}\n {feature}\n );\n })}\n . This will remove any related settings for {this.state.removedFeatures.length > 1 ? these features : this feature}.\n )}\n \n
    )}\n
    );\n }\n static displayName = \"ConfigureFeaturesContentInternal\";\n}\nexport default function ConfigureFeaturesContent(props: ConfigureFeaturesContentProps) {\n return ;\n}\n","import type { ActionProperties } from \"@octopusdeploy/octopus-server-client\";\nimport * as React from \"react\";\nimport OpenDialogButton from \"~/components/Dialog/OpenDialogButton\";\nimport ConfigureFeaturesContent from \"./ConfigureFeaturesContent\";\ninterface OpenFeatureDialogProps {\n actionType: string;\n properties: ActionProperties;\n saveDone(enabledFeatures: string): void;\n}\nconst OpenFeatureDialog: React.StatelessComponent = (props: OpenFeatureDialogProps) => {\n return (\n \n );\n};\nOpenFeatureDialog.displayName = \"OpenFeatureDialog\"\nOpenFeatureDialog.displayName = \"OpenFeatureDialog\";\nexport default OpenFeatureDialog;\n","/* eslint-disable @typescript-eslint/no-non-null-assertion */\nimport { IconButton } from \"@octopusdeploy/design-system-components\";\nimport * as React from \"react\";\nimport type { FormFieldProps } from \"~/components/form\";\nimport { Note, Text } from \"~/components/form\";\nimport ParseHelper from \"~/utils/ParseHelper/ParseHelper\";\nimport type { TextOtherProps } from \"../Text/Text\";\nimport styles from \"./style.module.less\";\ntype NumberOtherOmitProps = Omit;\ninterface NumberOtherProps {\n note?: string;\n label?: string;\n unitOfMeasure?: string;\n}\ntype NumberProps = NumberOtherOmitProps & FormFieldProps & NumberOtherProps;\nexport default function NumberPicker(props: NumberProps) {\n const { value, onChange, label, note, unitOfMeasure, ...otherProps } = props;\n const handleChange = (newValue: string) => {\n const newValueParsed = newValue ? ParseHelper.safeParseInt(newValue, 0) : undefined;\n if (onChange)\n onChange(newValueParsed);\n };\n const increment = () => {\n if (value === undefined)\n handleChange(\"1\");\n else\n handleChange((value + 1).toString());\n };\n const decrement = () => {\n if (value === undefined)\n handleChange(\"0\");\n else\n handleChange((value - 1).toString());\n };\n return (<>\n \n
    \n
    \n
    \n increment()} tabIndex={-1}/>\n {\n if (e.key === \".\") {\n e.preventDefault();\n }\n }} value={value === undefined ? \"\" : value.toString()}/>\n decrement()} tabIndex={-1}/>\n
    \n
    \n {!!unitOfMeasure && {unitOfMeasure}}\n
    \n {note}\n );\n}\n","import { ActionButton, ActionButtonType, BooleanRadioButtonGroup, BooleanRadioButton, Dialog } from \"@octopusdeploy/design-system-components\";\nimport { toGitRefShort } from \"@octopusdeploy/octopus-server-client\";\nimport type { GitRef } from \"@octopusdeploy/octopus-server-client\";\nimport * as React from \"react\";\nimport { useEffect, useState } from \"react\";\nimport type { CommitMessageWithDetails } from \"~/areas/projects/components/VersionControl/CommitMessageWithDetails\";\nimport { DialogLayout } from \"~/components/DialogLayout/DialogLayout\";\nimport KeyboardHandler, { Key } from \"~/components/KeyboardHandler\";\nimport type { PermissionCheckProps } from \"~/components/PermissionCheck/PermissionCheck\";\nimport { isAllowed } from \"~/components/PermissionCheck/PermissionCheck\";\nimport { Note, Text } from \"~/components/form\";\ninterface CommitDialogProps {\n open: boolean;\n gitRef: GitRef;\n canCommitToGitRef: boolean;\n defaultSummary: string;\n onCloseWithoutCommit: () => void;\n onCommit: () => void;\n onNewBranchCreating?: (branchName: string) => Promise;\n onCommitMessageChanged: (commitMessage: CommitMessageWithDetails) => void;\n commitMessage: CommitMessageWithDetails;\n commitMessageAccessibleName: string;\n commitDetailsAccessibleName: string;\n hasPermission: PermissionCheckProps;\n hideNewBranchOptions?: boolean;\n}\nexport interface CommitSummaryAndDetailsProps {\n onCommitMessageChanged: (commitMessage: CommitMessageWithDetails) => void;\n commitMessage: CommitMessageWithDetails;\n defaultSummary: string;\n commitMessageAccessibleName?: string;\n commitDetailsAccessibleName?: string;\n}\nexport const CommitSummaryAndDetails: React.FC = ({ onCommitMessageChanged, defaultSummary, commitMessageAccessibleName, commitDetailsAccessibleName, commitMessage }) => {\n const updateSummary = (newSummary: string) => {\n onCommitMessageChanged({\n details: commitMessage.details,\n summary: newSummary,\n });\n };\n const updateDetails = (newDetails: string) => {\n onCommitMessageChanged({\n details: newDetails,\n summary: commitMessage.summary,\n });\n };\n return (<>\n \n \n );\n};\nCommitSummaryAndDetails.displayName = \"CommitSummaryAndDetails\"\nconst CommitDialog: React.FC = (props) => {\n const [isCreatingNewBranch, setIsCreatingNewBranch] = useState(false);\n const actions = [\n props.onCloseWithoutCommit()}/>,\n commit()}/>,\n ];\n const [changeBranch, setChangeBranch] = useState(!props.canCommitToGitRef);\n const [newBranch, setNewBranch] = useState(\"\");\n const [errorMessage, setErrorMessage] = useState(\"\");\n // Select the new branch option if we can't commit to the selected gitRef\n // Otherwise select the existing branch option\n useEffect(() => {\n setChangeBranch(!props.canCommitToGitRef);\n }, [props.canCommitToGitRef]);\n const commit = async () => {\n if (changeBranch) {\n setIsCreatingNewBranch(() => true);\n try {\n if (props.onNewBranchCreating) {\n await props.onNewBranchCreating(newBranch);\n }\n setIsCreatingNewBranch(() => false);\n }\n catch (err) {\n setErrorMessage(() => err.ErrorMessage);\n setIsCreatingNewBranch(() => false);\n }\n }\n else {\n props.onCommit();\n }\n };\n const onEnter = (event: KeyboardEvent): boolean => {\n // eslint-disable-next-line @typescript-eslint/no-explicit-any\n const target: any = event.target ? event.target : event.srcElement;\n const tagName = target.tagName;\n if (tagName.toUpperCase() === \"INPUT\") {\n commit();\n return true;\n }\n return false;\n };\n const onCtrlEnter = () => {\n commit();\n return true;\n };\n const keyboardRegistrations = [\n { key: Key.Enter, onKeyPressed: onEnter },\n { key: Key.CtrlEnter, onKeyPressed: onCtrlEnter },\n ];\n const canCreateBranch = isAllowed(props.hasPermission);\n return (\n \n props.onCloseWithoutCommit()}>\n \n {!props.hideNewBranchOptions && (<>\n

    Choose a branch Octopus should commit the changes to

    \n { {\n setChangeBranch(() => newValue);\n }} value={changeBranch}>\n \n Commit to {props.gitRef}\n }/>\n \n {!canCreateBranch && {props.hasPermission.permission} permission is required to create branches }\n {changeBranch && canCreateBranch && (
    \n setNewBranch(() => val)} placeholder=\"Branch name\" accessibleName=\"Branch name\" error={errorMessage}/>\n \n The new branch will be based on {props.gitRef}.\n \n
    )}\n
    }\n )}\n
    \n
    \n
    );\n};\nCommitDialog.displayName = \"CommitDialog\"\nexport default CommitDialog;\n","/* eslint-disable @octopusdeploy/custom-portal-rules/no-restricted-imports */\nimport { css } from \"@emotion/css\";\nimport { ActionButton, ActionButtonType, Tooltip } from \"@octopusdeploy/design-system-components\";\nimport { space } from \"@octopusdeploy/design-system-tokens\";\nimport type { GitRef, PersistenceSettings } from \"@octopusdeploy/octopus-server-client\";\nimport { HasGitPersistenceSettings, toGitBranch, toGitRefShort } from \"@octopusdeploy/octopus-server-client\";\nimport * as React from \"react\";\nimport { useState } from \"react\";\nimport type { CommitMessageWithDetails } from \"~/areas/projects/components/VersionControl/CommitMessageWithDetails\";\nimport BusyFromPromise from \"~/components/BusyFromPromise\";\nimport { DialogTrigger } from \"~/components/Dialog/DialogTrigger\";\nimport type { PermissionCheckProps } from \"~/components/PermissionCheck/PermissionCheck\";\nimport { GitCommitIcon } from \"~/primitiveComponents/dataDisplay/Icon\";\nimport CommitDialog from \"./CommitDialog\";\ninterface CommitButtonProps {\n busyLabel: string;\n label: string;\n disabled: boolean | undefined;\n gitRef: GitRef;\n canCommitToGitRef: boolean;\n defaultSummary: string;\n commit(): Promise;\n commitMessage: CommitMessageWithDetails;\n onCommitMessageChanged: (commitMessage: CommitMessageWithDetails) => void;\n commitButtonAccessibleName: string;\n commitMessageAccessibleName: string;\n commitDetailsAccessibleName: string;\n quickCommitAccessibleName?: string;\n onNewBranchCreating?: (branchName: string) => Promise;\n onInitializing?: (openDialog: () => void) => void;\n hasPermission: PermissionCheckProps;\n hideNewBranchOptions?: boolean;\n}\nconst CommitButton: React.FC = (props) => {\n const [commitPromise, setCommitPromise] = useState | undefined>(undefined);\n const iconStyle = {\n margin: \"0 10px\",\n width: \"20px\",\n height: \"100%\",\n };\n const commit = () => {\n // We need both buttons to de disabled together.\n // Currently, the disabled state is encapsulated in a single ActionButton, so we can't reuse our existing logic and have to re-invent the wheel a little bit here\n const promise = props.commit();\n setCommitPromise(promise);\n };\n return ( {\n if (props.onInitializing) {\n props.onInitializing(openDialog);\n }\n return (<>\n \n {(busy: boolean) => {\n const disabled = props.disabled || busy;\n const label = busy ? props.busyLabel : props.label;\n return (
    \n \n {/*While it would be nicer to use IconButton here, the styling is all wrong here - this is more like an ActionButton with an Icon as its content */}\n {/*We should revisit our components to see if we can make this less awkward*/}\n \n {props.canCommitToGitRef ? (<>\n Quick commit to {toGitRefShort(props.gitRef)}\n ) : (<>Cannot commit directly to {props.gitRef})}\n }>\n \n \n \n \n
    );\n }}\n
    \n\n {\n commit();\n closeDialog();\n }} onCommitMessageChanged={props.onCommitMessageChanged} commitMessageAccessibleName={props.commitMessageAccessibleName} commitDetailsAccessibleName={props.commitDetailsAccessibleName} onNewBranchCreating={async (branchName: string) => {\n if (props.onNewBranchCreating) {\n await props.onNewBranchCreating(branchName);\n closeDialog();\n }\n }} hasPermission={props.hasPermission} hideNewBranchOptions={props.hideNewBranchOptions}/>\n );\n }}/>);\n};\nCommitButton.displayName = \"CommitButton\"\nconst buttonContainerStyles = css({\n display: \"inline-flex\",\n gap: space[4],\n});\nconst quickCommitButtonStyles = css({\n \"&.MuiButton-root, &.MuiButton-root.Mui-disabled\": {\n minWidth: \"auto\",\n padding: 0,\n },\n});\nexport default CommitButton;\nexport interface GetCommitButtonProps {\n hasPermission: PermissionCheckProps;\n gitRef: GitRef | undefined;\n persistenceSettings: PersistenceSettings;\n canCommitToGitRef: boolean;\n defaultCommitMessage: string;\n commitMessage: CommitMessageWithDetails;\n updateCommitMessage: (commitMessage: CommitMessageWithDetails) => void;\n commitMessageAccessibleName: string;\n commitDetailsAccessibleName: string;\n commitButtonAccessibleName: string;\n quickCommitAccessibleName?: string;\n onNewBranchCreating?: (branchName: string) => Promise;\n onInitializing?: (openDialog: () => void) => void;\n disableNewBranchCreation?: boolean;\n label: string;\n disabled: boolean;\n busyLabel: string;\n onClick: (event: React.MouseEvent | undefined) => Promise;\n}\nexport const GetCommitButton: React.FC = (props) => {\n if (!HasGitPersistenceSettings(props.persistenceSettings))\n throw new Error(\"Config as Code: Trying to access a VCS Property on a non-VCS Project.\");\n return ( props.updateCommitMessage(commitMessage)} commit={() => props.onClick(undefined)} commitMessageAccessibleName={props.commitMessageAccessibleName} commitDetailsAccessibleName={props.commitDetailsAccessibleName} commitButtonAccessibleName={props.commitButtonAccessibleName} quickCommitAccessibleName={props.quickCommitAccessibleName} onNewBranchCreating={props.onNewBranchCreating} onInitializing={props.onInitializing} hasPermission={props.hasPermission} hideNewBranchOptions={props.disableNewBranchCreation}/>);\n};\nGetCommitButton.displayName = \"GetCommitButton\"\n","import { Callout } from \"@octopusdeploy/design-system-components\";\nimport type { GitRef, ProjectResource } from \"@octopusdeploy/octopus-server-client\";\nimport { HasVariablesInGit, Permission } from \"@octopusdeploy/octopus-server-client\";\nimport { links } from \"@octopusdeploy/portal-routes\";\nimport type { PropsWithChildren } from \"react\";\nimport React from \"react\";\nimport { GetCommitButton } from \"~/areas/projects/components/VersionControl/CommitButton\";\nimport type { CommitMessageWithDetails } from \"~/areas/projects/components/VersionControl/CommitMessageWithDetails\";\nimport { lastAccessedGitRef } from \"~/areas/projects/context/LastAccessedGitRef\";\nimport { repository } from \"~/clientInstance\";\nimport type { DataBaseComponentState } from \"~/components/DataBaseComponent/index\";\nimport { DataBaseComponent } from \"~/components/DataBaseComponent/index\";\nimport InternalLink from \"~/components/Navigation/InternalLink/InternalLink\";\nimport { DrawerWithForm } from \"~/primitiveComponents/dataDisplay/DrawerWithForm/DrawerWithForm\";\ninterface CloudConnectionsDrawerProps {\n open: boolean;\n actionName: string;\n onSubmit: (commitMessage?: CommitMessageWithDetails) => Promise;\n onLoad: () => Promise;\n cancel: () => void;\n setShowDrawer: (show: boolean) => void;\n // eslint-disable-next-line @typescript-eslint/no-explicit-any\n okDisabled?: boolean | null;\n project: ProjectResource;\n gitRef?: GitRef;\n}\ninterface CloudConnectionsDrawerState extends DataBaseComponentState {\n commitMessage: CommitMessageWithDetails;\n calloutDismissed?: boolean;\n}\nexport class CloudConnectionsDrawer extends DataBaseComponent, CloudConnectionsDrawerState> {\n private localStorageKeyForDismissedCallout = \"Octopus.Callout.Drawer.CloudConnections.Dismissed\";\n constructor(props: PropsWithChildren) {\n super(props);\n this.state = {\n commitMessage: { details: \"\", summary: `Update cloud connections` },\n calloutDismissed: localStorage.getItem(this.localStorageKeyForDismissedCallout) === \"true\",\n };\n }\n submit = () => {\n this.doBusyTask(async () => {\n await this.props.onSubmit();\n });\n };\n componentDidMount() {\n if (this.props.onLoad) {\n this.doBusyTask(async () => {\n await this.props.onLoad();\n });\n }\n }\n getGitPrimaryAction() {\n if (HasVariablesInGit(this.props.project.PersistenceSettings)) {\n /*\n * Non-Git runbooks won't have a gitRef in the route, so in the case where there are variables in Git we fall back to the last accessed gitRef.\n * The gitRef was previously resolved in this way from project context for routes without a gitRef, but we've moved resolving the value of the gitRef\n * to the route instead of project context.\n */\n const gitRef = this.props.gitRef || lastAccessedGitRef.get(this.props.project);\n return ( this.setState({ commitMessage })} commitMessageAccessibleName={\"Commit message for saving the cloud connections\"} commitDetailsAccessibleName={\"Commit details for saving the cloud connections\"} commitButtonAccessibleName={\"Commit changes to the cloud connections\"} quickCommitAccessibleName={`Confirm ${this.props.actionName}`} busyLabel={\"Committing\"} disabled={this.props.okDisabled ?? false} label={\"Commit\"} onClick={async () => {\n const savingPromise = this.props.onSubmit(this.state.commitMessage);\n this.setState({ busy: savingPromise });\n await savingPromise;\n return true;\n }} \n // New branches cannot be made from this area because\n // unsaved changes could be made to the underlying\n // project editor on the original branch.\n disableNewBranchCreation={true}/>);\n }\n return undefined;\n }\n onCloseCallout() {\n localStorage.setItem(this.localStorageKeyForDismissedCallout, true.toString());\n this.setState({ calloutDismissed: true });\n }\n render() {\n // eslint-disable-next-line @typescript-eslint/no-non-null-assertion\n const spaceId = repository.spaceId!;\n return (\n {!this.state.calloutDismissed ? ( this.onCloseCallout()}>\n
    \n After you create a new cloud connection, you can find it in{\" \"}\n \n Accounts\n \n
    \n
    ) : (<>)}\n {this.props.children}\n
    );\n }\n static displayName = \"CloudConnectionsDrawer\";\n}\n","import { VariableType } from \"@octopusdeploy/octopus-server-client\";\nimport type { VariableResource, VariableSetResource } from \"@octopusdeploy/octopus-server-client\";\nimport type { LoadedLibraryVariableSets } from \"~/areas/projects/components/Variables/AllVariables/AllVariables\";\nexport function getVariable(name: string, projectVariables?: VariableSetResource, libraryVariableSets?: LoadedLibraryVariableSets[]): VariableResource | null {\n if (!projectVariables)\n return null;\n let result = getVariableInternal(projectVariables, name);\n if (!result) {\n if (!libraryVariableSets)\n return null;\n for (const libraryVariableSet of libraryVariableSets) {\n result = getVariableInternal(libraryVariableSet.variableSet, name);\n if (result)\n break;\n }\n }\n return result;\n}\nfunction getVariableInternal(variableSet: VariableSetResource, name: string): VariableResource {\n // eslint-disable-next-line @typescript-eslint/no-non-null-assertion\n return variableSet.Variables.find((v) => v.Name === name)!;\n}\nfunction addEmptyVariable(variableSet: VariableSetResource, name: string, type: VariableType) {\n const emptyVariable: VariableResource = {\n Id: \"\",\n Name: name,\n Value: \"\",\n Description: \"\",\n Scope: {},\n IsEditable: false,\n Prompt: null,\n Type: type,\n IsSensitive: false,\n };\n variableSet.Variables.push(emptyVariable);\n return emptyVariable;\n}\nexport function setVariableValue(variableSet: VariableSetResource, name: string, value: string, type: VariableType = VariableType.String) {\n const variable = getVariableInternal(variableSet, name) || addEmptyVariable(variableSet, name, type);\n variable.Value = value;\n}\n","export const VariableNames = {\n Aws: {\n Account: \"Octopus.Aws.Account\",\n Regions: \"Octopus.Aws.Regions\",\n RoleArn: \"Octopus.Aws.AssumedRole.Arn\",\n RoleSessionName: \"Octopus.Aws.AssumedRole.SessionName\",\n RoleSessionDuration: \"Octopus.Aws.AssumedRole.SessionDuration\",\n RoleExternalId: \"Octopus.Aws.AssumedRole.ExternalId\",\n },\n Azure: {\n Account: \"Octopus.Azure.Account\",\n },\n};\n","import { Divider, RadioButtonGroup, RadioButton, BooleanRadioButtonGroup, BooleanRadioButton, Callout } from \"@octopusdeploy/design-system-components\";\nimport type { AccountResource, ProjectResource, VariableSetResource, GitRef } from \"@octopusdeploy/octopus-server-client\";\nimport { AccountType, VariableType } from \"@octopusdeploy/octopus-server-client\";\nimport React, { useState } from \"react\";\nimport { Action, useAnalyticCloudConnectionsDispatch } from \"~/analytics/Analytics\";\nimport { CloudConnectionsDrawer } from \"~/areas/projects/components/CloudConnection/CloudConnectionDrawer\";\nimport { getVariable, setVariableValue } from \"~/areas/projects/components/CloudConnection/CloudConnectionUtilities\";\nimport { VariableNames } from \"~/areas/projects/components/CloudConnection/CloudConnectionVariables\";\nimport { CloudConnectionUsageType } from \"~/areas/projects/components/CloudConnection/CloudConnections\";\nimport type { CloudConnectionItem } from \"~/areas/projects/components/CloudConnection/CloudConnections\";\nimport type { CommitMessageWithDetails } from \"~/areas/projects/components/VersionControl/CommitMessageWithDetails\";\nimport { repository } from \"~/clientInstance\";\nimport DeletableChip from \"~/components/Chips/DeletableChip\";\nimport { MultiSelect } from \"~/components/MultiSelect/MultiSelect\";\nimport type { SelectItem } from \"~/components/VirtualListWithKeyboard/SelectItem\";\nimport AccountSelect from \"~/components/form/AccountSelect/AccountSelect\";\nimport { FormSection } from \"~/components/form/Sections/index\";\nimport { FormSectionHeading, Note } from \"~/components/form/index\";\nimport Text from \"~/primitiveComponents/form/Text/Text\";\nconst RegionMultiSelect = MultiSelect();\nconst knownRegions: SelectItem[] = [\n { Id: \"us-east-2\", Name: \"us-east-2 (US East - Ohio)\" },\n { Id: \"us-east-1\", Name: \"us-east-1 (US East - N. Virginia)\" },\n { Id: \"us-west-1\", Name: \"us-west-1 (US West - N. California)\" },\n { Id: \"us-west-2\", Name: \"us-west-2 (US West - Oregon)\" },\n { Id: \"af-south-1\", Name: \"af-south-1 (Africa - Cape Town)\" },\n { Id: \"ap-east-1\", Name: \"ap-east-1 (Asia Pacific - Hong Kong)\" },\n { Id: \"ap-southeast-3\", Name: \"ap-southeast-3 (Asia Pacific - Jakarta)\" },\n { Id: \"ap-south-1\", Name: \"ap-south-1 (Asia Pacific - Mumbai)\" },\n { Id: \"ap-northeast-3\", Name: \"ap-northeast-3 (Asia Pacific - Osaka)\" },\n { Id: \"ap-northeast-2\", Name: \"ap-northeast-2 (Asia Pacific - Seoul)\" },\n { Id: \"ap-southeast-1\", Name: \"ap-southeast-1 (Asia Pacific - Singapore)\" },\n { Id: \"ap-southeast-2\", Name: \"ap-southeast-2 (Asia Pacific - Sydney)\" },\n { Id: \"ap-northeast-1\", Name: \"ap-northeast-1 (Asia Pacific - Tokyo)\" },\n { Id: \"ca-central-1\", Name: \"ca-central-1 (Canada - Central)\" },\n { Id: \"eu-central-1\", Name: \"eu-central-1 (Europe - Frankfurt)\" },\n { Id: \"eu-west-1\", Name: \"eu-west-1 (Europe - Ireland)\" },\n { Id: \"eu-west-2\", Name: \"eu-west-2 (Europe - London)\" },\n { Id: \"eu-south-1\", Name: \"eu-south-1 (Europe - Milan)\" },\n { Id: \"eu-west-3\", Name: \"eu-west-3 (Europe - Paris)\" },\n { Id: \"eu-north-1\", Name: \"eu-north-1 (Europe - Stockholm)\" },\n { Id: \"me-south-1\", Name: \"me-south-1 (Middle East - Bahrain)\" },\n { Id: \"sa-east-1\", Name: \"sa-east-1 (South America - S\\u00E3o Paulo)\" },\n];\ninterface AwsCloudConnectionDrawerDetails {\n type: \"AWS\";\n credentialType: \"Account\" | \"Worker\";\n accountId?: string;\n assumeRole: boolean;\n arn?: string;\n sessionName?: string;\n sessionDuration?: string;\n externalId?: string;\n regions: string[];\n accountIdValidationMessage?: string;\n regionValidationMessage?: string;\n arnValidationMessage?: string;\n}\nexport interface AwsCloudConnectionDrawerDetailsProps {\n cloudConnectionItem: CloudConnectionItem;\n variables: VariableSetResource | undefined;\n connectionType: CloudConnectionUsageType;\n saveVariables: (variableSet: VariableSetResource, commitMessage: CommitMessageWithDetails | undefined) => Promise;\n showDrawer: boolean;\n setShowDrawer: (show: boolean) => void;\n refreshVariables: () => void;\n haveVariablesChanged: (currentVariables: VariableSetResource) => Promise;\n project: ProjectResource;\n gitRef?: GitRef;\n}\nfunction getDrawerDetails(cloudConnection: CloudConnectionItem, variables: VariableSetResource | undefined): AwsCloudConnectionDrawerDetails {\n const details: AwsCloudConnectionDrawerDetails = { type: \"AWS\", credentialType: \"Account\", assumeRole: false, regions: [] };\n if (variables) {\n const account = getVariable(VariableNames.Aws.Account, variables);\n if (account?.Value) {\n details.accountId = account.Value;\n }\n const assumeRoleArn = getVariable(VariableNames.Aws.RoleArn, variables);\n if (assumeRoleArn?.Value) {\n details.assumeRole = true;\n details.arn = assumeRoleArn.Value;\n }\n const assumeRoleSessionName = getVariable(VariableNames.Aws.RoleSessionName, variables);\n if (assumeRoleSessionName?.Value) {\n details.sessionName = assumeRoleSessionName.Value;\n }\n const assumeRoleSessionDuration = getVariable(VariableNames.Aws.RoleSessionDuration, variables);\n if (assumeRoleSessionDuration?.Value) {\n details.sessionDuration = assumeRoleSessionDuration.Value;\n }\n const assumeRoleExternalId = getVariable(VariableNames.Aws.RoleExternalId, variables);\n if (assumeRoleExternalId?.Value) {\n details.externalId = assumeRoleExternalId.Value;\n }\n const region = getVariable(VariableNames.Aws.Regions, variables);\n if (region?.Value) {\n details.regions = region.Value.split(\",\");\n }\n }\n return details;\n}\nconst AwsCloudConnectionDrawer: React.FC = (props) => {\n const [drawerDetails, setDrawerDetails] = useState(getDrawerDetails(props.cloudConnectionItem, props.variables));\n const [variablesChanged, setVariablesChanged] = useState(false);\n const [accounts, setAccounts] = useState([]);\n const dispatchAction = useAnalyticCloudConnectionsDispatch();\n const refreshAccounts = async (): Promise => {\n const accountsToSet = await repository.Accounts.all();\n setAccounts(accountsToSet);\n };\n const validateDrawer = (): boolean => {\n let valid = true;\n let accountIdValidationMessage: string | undefined = undefined;\n let regionValidationMessage: string | undefined = undefined;\n let arnValidationMessage: string | undefined = undefined;\n if (drawerDetails.credentialType === \"Account\" && !drawerDetails.accountId) {\n valid = false;\n accountIdValidationMessage = \"Account ID is required\";\n }\n if (props.connectionType === CloudConnectionUsageType.TargetDiscovery && !(drawerDetails?.regions.length > 0)) {\n valid = false;\n regionValidationMessage = \"Region is required for Target Discovery\";\n }\n if (drawerDetails.assumeRole && !drawerDetails.arn) {\n valid = false;\n arnValidationMessage = \"ARN is required when assume role is selected\";\n }\n if (!valid) {\n setDrawerDetails({ ...drawerDetails, accountIdValidationMessage: accountIdValidationMessage, regionValidationMessage: regionValidationMessage, arnValidationMessage: arnValidationMessage });\n }\n return valid;\n };\n async function SaveDrawerDetails(commitMessage: CommitMessageWithDetails | undefined) {\n if (props.variables) {\n if (drawerDetails.accountId) {\n setVariableValue(props.variables, VariableNames.Aws.Account, drawerDetails.accountId, VariableType.AmazonWebServicesAccount);\n }\n if (drawerDetails.regions.length > 0) {\n setVariableValue(props.variables, VariableNames.Aws.Regions, drawerDetails.regions.join(\", \"));\n }\n if (drawerDetails.arn) {\n setVariableValue(props.variables, VariableNames.Aws.RoleArn, drawerDetails.arn);\n }\n if (drawerDetails.sessionName) {\n setVariableValue(props.variables, VariableNames.Aws.RoleSessionName, drawerDetails.sessionName);\n }\n if (drawerDetails.sessionDuration) {\n setVariableValue(props.variables, VariableNames.Aws.RoleSessionDuration, drawerDetails.sessionDuration);\n }\n if (drawerDetails.externalId) {\n setVariableValue(props.variables, VariableNames.Aws.RoleExternalId, drawerDetails.externalId);\n }\n dispatchAction(\"Save Cloud Connections Drawer\", {\n action: Action.Save,\n resource: \"Cloud Connections\",\n cloudProvider: \"Aws\",\n });\n await props.saveVariables(props.variables, commitMessage);\n }\n }\n return ( {\n dispatchAction(`Close Cloud Connections Drawer`, {\n action: Action.Cancel,\n resource: \"Cloud Connections\",\n cloudProvider: \"Aws\",\n });\n props.setShowDrawer(false);\n setDrawerDetails(getDrawerDetails(props.cloudConnectionItem, props.variables));\n if (variablesChanged) {\n props.refreshVariables();\n }\n setVariablesChanged(false);\n }} okDisabled={variablesChanged} onSubmit={async (commitMessage) => {\n if (drawerDetails && props.variables) {\n if (!validateDrawer())\n return;\n const varChanged = await props.haveVariablesChanged(props.variables);\n setVariablesChanged(varChanged);\n if (varChanged) {\n return;\n }\n await SaveDrawerDetails(commitMessage);\n }\n props.setShowDrawer(false);\n setDrawerDetails(getDrawerDetails(props.cloudConnectionItem, props.variables));\n }} onLoad={refreshAccounts} setShowDrawer={props.setShowDrawer} project={props.project} gitRef={props.gitRef}>\n \n {variablesChanged ? (\n Changes to the Cloud Connection could not be saved, because another user has made changes to the variables between when you started editing and when you saved your changes. Please close the drawer to reload Cloud Connections.\n ) : (<>)}\n \n {\n if (s && drawerDetails) {\n setDrawerDetails({ ...drawerDetails, credentialType: s });\n }\n }} accessibleName={\"The AWS credential type to use for your cloud connection\"}>\n \n This utilises an Octopus Account.\n \n Where the worker is an EC2 instance, Octopus can assume the IAM role from the instance (most secure). This utilises a Worker Pool.\n \n \n\n {drawerDetails.credentialType === \"Account\" && (<>\n \n \n {\n setDrawerDetails({ ...drawerDetails, accountId: accountId });\n }} items={accounts}/>\n \n )}\n \n \n {\n if (drawerDetails) {\n setDrawerDetails({ ...drawerDetails, assumeRole: assume });\n }\n }} accessibleName={\"Aws Assume A Role\"}>\n \n \n \n {drawerDetails?.assumeRole ? (<>\n setDrawerDetails({ ...drawerDetails, arn: text })} error={drawerDetails.arnValidationMessage} disabled={variablesChanged} accessibleName={\"Aws Role Arn\"}/>\n setDrawerDetails({ ...drawerDetails, sessionName: text })} disabled={variablesChanged} accessibleName={\"Aws Role Session Name\"}/>\n setDrawerDetails({ ...drawerDetails, sessionDuration: text })} type={\"number\"} disabled={variablesChanged} accessibleName={\"Aws Role Session Duration\"}/>\n If blank, defaults to 3600 seconds (1 hour).\n setDrawerDetails({ ...drawerDetails, externalId: text })} disabled={variablesChanged} accessibleName={\"Aws Role External Id\"}/>\n ) : (<>)}\n \n\n \n \n `New region code '${t}'`} renderChip={(i, d) => (\n {i.Name}\n )} onNew={(t: string) => {\n if (drawerDetails) {\n setDrawerDetails((currentDrawerDetails) => {\n return { ...currentDrawerDetails, regions: drawerDetails.regions.concat(t) };\n });\n }\n }} onChange={(values: string[]) => {\n if (drawerDetails) {\n setDrawerDetails({ ...drawerDetails, regions: values });\n }\n }} error={drawerDetails.regionValidationMessage} accessibleName={\"AWS region select\"}>\n \n );\n};\nAwsCloudConnectionDrawer.displayName = \"AwsCloudConnectionDrawer\"\nexport default AwsCloudConnectionDrawer;\n","import React from \"react\";\nimport type { IconSize } from \"./IconSize\";\nimport { getIconSize } from \"./getIconSize\";\nimport styles from \"./styles.module.less\";\nexport interface CloudConnectionHealthyIconProps {\n iconSize?: IconSize;\n title?: string;\n}\nexport function CloudConnectionConfiguredIcon({ title = \"Configured\", iconSize }: CloudConnectionHealthyIconProps) {\n return (\n {title}\n \n \n \n \n );\n}\n","import type { SVGProps } from \"react\";\nimport type { IconSize } from \"./IconSize\";\nexport function getIconSize(size: IconSize = \"small\"): Pick, \"height\" | \"width\"> {\n switch (size) {\n case \"small\":\n return { width: \"16px\", height: \"16px\" };\n case \"medium\":\n return { width: \"24px\", height: \"24px\" };\n case \"large\":\n return { width: \"32px\", height: \"32px\" };\n }\n}\n","import React from \"react\";\nimport { useOctopusTheme } from \"~/components/Theme/index\";\nexport function CloudConnectionWarningIcon() {\n const theme = useOctopusTheme();\n return ;\n}\n","import * as React from \"react\";\nimport { CloudConnectionConfiguredIcon } from \"~/areas/projects/components/CloudConnection/CloudConnectionConfiguredIcon\";\nimport { CloudConnectionWarningIcon } from \"~/areas/projects/components/CloudConnection/CloudConnectionWarningIcon\";\nimport type { IconSize } from \"./IconSize\";\nexport enum CloudConnectionStatus {\n Ok,\n Warning\n}\ninterface CloudConnectionStatusIconProps {\n connectionStatus: CloudConnectionStatus;\n iconSize?: IconSize;\n}\nexport function CloudConnectionStatusIcon({ connectionStatus, iconSize }: CloudConnectionStatusIconProps) {\n switch (connectionStatus) {\n case CloudConnectionStatus.Warning:\n return ;\n case CloudConnectionStatus.Ok:\n return ;\n }\n return <>;\n}\n","import React from \"react\";\nimport type { CloudConnectionStatus } from \"~/areas/projects/components/CloudConnection/CloudConnectionStatusIcon\";\nimport { CloudConnectionStatusIcon } from \"~/areas/projects/components/CloudConnection/CloudConnectionStatusIcon\";\nimport Note from \"~/primitiveComponents/form/Note/Note\";\nimport styles from \"./styles.module.less\";\nexport interface CloudConnectionTileProp {\n icon?: React.ReactNode;\n provider: string;\n configurationStatus: string;\n connectionStatus: CloudConnectionStatus | null;\n}\nconst CloudConnectionTile: React.FC = (props) => {\n const iconStyle = `${styles.tileIcon} ${styles.logoBackground}`;\n return (
    \n {props.icon ?
    {props.icon}
    : <>}\n

    {props.provider}

    \n
    \n {props.connectionStatus === null ? (<>) : (\n \n )}\n {props.configurationStatus === \"Configure\" ? {props.configurationStatus} : {props.configurationStatus}}\n
    \n
    {props.configurationStatus === \"Configure\" ? <> : Use Project Variables to scope your connection to environments and more.}
    \n
    );\n};\nCloudConnectionTile.displayName = \"CloudConnectionTile\"\nexport default CloudConnectionTile;\n","import type { VariableSetResource } from \"@octopusdeploy/octopus-server-client\";\nimport React from \"react\";\nimport { CloudConnectionStatus } from \"~/areas/projects/components/CloudConnection/CloudConnectionStatusIcon\";\nimport CloudConnectionTile from \"~/areas/projects/components/CloudConnection/CloudConnectionTile\";\nimport { getVariable } from \"~/areas/projects/components/CloudConnection/CloudConnectionUtilities\";\nimport { VariableNames } from \"~/areas/projects/components/CloudConnection/CloudConnectionVariables\";\nimport type { CloudConnectionItem, ConfigurationStatus } from \"~/areas/projects/components/CloudConnection/CloudConnections\";\nimport { CloudConnectionUsageType } from \"~/areas/projects/components/CloudConnection/CloudConnections\";\nimport type { LoadedLibraryVariableSets } from \"~/areas/projects/components/Variables/AllVariables/AllVariables\";\nexport function AwsTileStatus(connectionType: CloudConnectionUsageType, variables: VariableSetResource | undefined, libraryVariableSets: LoadedLibraryVariableSets[] | undefined): ConfigurationStatus {\n if (variables && connectionType === CloudConnectionUsageType.TargetDiscovery) {\n if (getVariable(VariableNames.Aws.Regions, variables, libraryVariableSets)) {\n return \"Configured\";\n }\n else {\n const account = getVariable(VariableNames.Aws.Account, variables, libraryVariableSets);\n const roleArn = getVariable(VariableNames.Aws.RoleArn, variables, libraryVariableSets);\n const roleSessionName = getVariable(VariableNames.Aws.RoleSessionName, variables, libraryVariableSets);\n const roleSessionDuration = getVariable(VariableNames.Aws.RoleSessionDuration, variables, libraryVariableSets);\n const roleExternalId = getVariable(VariableNames.Aws.RoleExternalId, variables, libraryVariableSets);\n if (account || roleArn || roleSessionName || roleSessionDuration || roleExternalId) {\n return \"Region Required\";\n }\n }\n }\n return \"Configure Now\";\n}\nconst AwsCloudConnectionTile: React.FC = (props) => {\n let configurationWords = \"Configure\";\n let connectionStatus: CloudConnectionStatus | null = null;\n if (props.connectionType === CloudConnectionUsageType.TargetDiscovery && props.tileDetails === \"Configured\") {\n configurationWords = \"Cloud target discovery enabled\";\n connectionStatus = CloudConnectionStatus.Ok;\n }\n else if (props.connectionType === CloudConnectionUsageType.TargetDiscovery && props.tileDetails === \"Region Required\") {\n configurationWords = \"Region not specified\";\n connectionStatus = CloudConnectionStatus.Warning;\n }\n return ;\n};\nAwsCloudConnectionTile.displayName = \"AwsCloudConnectionTile\"\nexport default AwsCloudConnectionTile;\n","import { Callout } from \"@octopusdeploy/design-system-components\";\nimport type { AccountResource, ProjectResource, VariableSetResource, GitRef } from \"@octopusdeploy/octopus-server-client\";\nimport { AccountType, VariableType } from \"@octopusdeploy/octopus-server-client\";\nimport React, { useState } from \"react\";\nimport { Action, useAnalyticCloudConnectionsDispatch } from \"~/analytics/Analytics\";\nimport { CloudConnectionsDrawer } from \"~/areas/projects/components/CloudConnection/CloudConnectionDrawer\";\nimport { getVariable, setVariableValue } from \"~/areas/projects/components/CloudConnection/CloudConnectionUtilities\";\nimport { VariableNames } from \"~/areas/projects/components/CloudConnection/CloudConnectionVariables\";\nimport type { CloudConnectionItem } from \"~/areas/projects/components/CloudConnection/CloudConnections\";\nimport type { CommitMessageWithDetails } from \"~/areas/projects/components/VersionControl/CommitMessageWithDetails\";\nimport { repository } from \"~/clientInstance\";\nimport AccountSelect from \"~/components/form/AccountSelect/AccountSelect\";\nimport { FormSection } from \"~/components/form/Sections/index\";\nexport interface AzureCloudConnectionDrawerDetailsProps {\n cloudConnectionItem: CloudConnectionItem;\n variables: VariableSetResource | undefined;\n saveVariables: (variableSet: VariableSetResource, commitMessage: CommitMessageWithDetails | undefined) => Promise;\n showDrawer: boolean;\n setShowDrawer: (show: boolean) => void;\n refreshVariables: () => void;\n haveVariablesChanged: (currentVariables: VariableSetResource) => Promise;\n project: ProjectResource;\n gitRef?: GitRef;\n}\ninterface AzureCloudConnectionDrawerDetails {\n type: \"Azure\";\n accountId?: string;\n accountIdValidationMessage?: string;\n}\nfunction getDrawerDetails(cloudConnection: CloudConnectionItem, variables: VariableSetResource | undefined): AzureCloudConnectionDrawerDetails {\n const details: AzureCloudConnectionDrawerDetails = { type: \"Azure\" };\n if (variables) {\n const account = getVariable(VariableNames.Azure.Account, variables);\n if (account?.Value) {\n details.accountId = account.Value;\n }\n }\n return details;\n}\nconst AzureCloudConnectionDrawer: React.FC = (props) => {\n const [drawerDetails, setDrawerDetails] = useState(getDrawerDetails(props.cloudConnectionItem, props.variables));\n const [variablesChanged, setVariablesChanged] = useState(false);\n const [accounts, setAccounts] = useState([]);\n const dispatchAction = useAnalyticCloudConnectionsDispatch();\n const refreshAccounts = async (): Promise => {\n const accountsToSet = await repository.Accounts.all();\n setAccounts(accountsToSet);\n };\n const validateDrawer = (): boolean => {\n let valid = true;\n let accountIdValidationMessage: string | undefined = undefined;\n if (!drawerDetails.accountId) {\n accountIdValidationMessage = \"Account ID is required\";\n valid = false;\n }\n if (!valid) {\n setDrawerDetails({ ...drawerDetails, accountIdValidationMessage: accountIdValidationMessage });\n }\n return valid;\n };\n async function SaveDrawerDetails(commitMessage: CommitMessageWithDetails | undefined) {\n if (props.variables) {\n if (drawerDetails?.accountId) {\n setVariableValue(props.variables, VariableNames.Azure.Account, drawerDetails.accountId, VariableType.AzureAccount);\n }\n dispatchAction(\"Save Cloud Connections Drawer\", {\n action: Action.Save,\n resource: \"Cloud Connections\",\n cloudProvider: \"Azure\",\n });\n await props.saveVariables(props.variables, commitMessage);\n }\n }\n return ( {\n dispatchAction(`Close Cloud Connections Drawer`, {\n action: Action.Cancel,\n resource: \"Cloud Connections\",\n cloudProvider: \"Azure\",\n });\n props.setShowDrawer(false);\n setDrawerDetails(getDrawerDetails(props.cloudConnectionItem, props.variables));\n if (variablesChanged) {\n props.refreshVariables();\n }\n setVariablesChanged(false);\n }} okDisabled={variablesChanged} onSubmit={async (commitMessage) => {\n if (drawerDetails && props.variables) {\n if (!validateDrawer())\n return;\n const varChanged = await props.haveVariablesChanged(props.variables);\n setVariablesChanged(varChanged);\n if (varChanged) {\n return;\n }\n await SaveDrawerDetails(commitMessage);\n }\n props.setShowDrawer(false);\n setDrawerDetails(getDrawerDetails(props.cloudConnectionItem, props.variables));\n }} onLoad={refreshAccounts} setShowDrawer={props.setShowDrawer} project={props.project} gitRef={props.gitRef}>\n {variablesChanged ? (\n Changes to the Cloud Connection could not be saved, because another user has made changes to the variables between when you started editing and when you saved your changes. Please close the drawer to reload Cloud Connections.\n ) : (<>)}\n \n {\n if (drawerDetails) {\n setDrawerDetails({ ...drawerDetails, accountId: accountId });\n }\n }} items={accounts}/>\n \n );\n};\nAzureCloudConnectionDrawer.displayName = \"AzureCloudConnectionDrawer\"\nexport default AzureCloudConnectionDrawer;\n","import type { VariableSetResource } from \"@octopusdeploy/octopus-server-client\";\nimport React from \"react\";\nimport { CloudConnectionStatus } from \"~/areas/projects/components/CloudConnection/CloudConnectionStatusIcon\";\nimport CloudConnectionTile from \"~/areas/projects/components/CloudConnection/CloudConnectionTile\";\nimport { getVariable } from \"~/areas/projects/components/CloudConnection/CloudConnectionUtilities\";\nimport { VariableNames } from \"~/areas/projects/components/CloudConnection/CloudConnectionVariables\";\nimport type { CloudConnectionItem, ConfigurationStatus } from \"~/areas/projects/components/CloudConnection/CloudConnections\";\nimport { CloudConnectionUsageType } from \"~/areas/projects/components/CloudConnection/CloudConnections\";\nimport type { LoadedLibraryVariableSets } from \"~/areas/projects/components/Variables/AllVariables/AllVariables\";\nexport function AzureTileStatus(connectionType: CloudConnectionUsageType, variables: VariableSetResource | undefined, libraryVariableSets: LoadedLibraryVariableSets[] | undefined): ConfigurationStatus {\n if (getVariable(VariableNames.Azure.Account, variables, libraryVariableSets)) {\n return \"Configured\";\n }\n return \"Configure Now\";\n}\nconst AzureCloudConnectionTile: React.FC = (props) => {\n let configurationWords = \"Configure\";\n let connectionStatus: CloudConnectionStatus | null = null;\n if (props.connectionType === CloudConnectionUsageType.TargetDiscovery && props.tileDetails === \"Configured\") {\n configurationWords = \"Cloud target discovery enabled\";\n connectionStatus = CloudConnectionStatus.Ok;\n }\n return ;\n};\nAzureCloudConnectionTile.displayName = \"AzureCloudConnectionTile\"\nexport default AzureCloudConnectionTile;\n","import { useRouteMatch } from \"react-router\";\nexport function useIsPageVersionControlled() {\n const match = useRouteMatch();\n if (!match) {\n return false;\n }\n const paramKeys = Object.keys(match.params);\n const isVersionControlledPage = paramKeys.includes(\"branchName\");\n return isVersionControlledPage;\n}\n","import { css } from \"@emotion/css\";\nimport { text } from \"@octopusdeploy/design-system-tokens\";\nimport { logger } from \"@octopusdeploy/logging\";\nimport type { GitRef, ProjectResource } from \"@octopusdeploy/octopus-server-client\";\nimport { IsDefaultBranch, isGitBranch } from \"@octopusdeploy/octopus-server-client\";\nimport { useCallback, useEffect, useState } from \"react\";\nimport * as React from \"react\";\nimport { useAnalyticSimpleActionDispatch } from \"~/analytics/Analytics\";\nimport { repository } from \"~/clientInstance\";\nimport ExternalLink from \"~/components/Navigation/ExternalLink\";\nexport interface ProjectCreatePullRequestLinkProps {\n project: ProjectResource;\n gitRef: GitRef | undefined;\n}\nexport function ProjectCreatePullRequestLink({ project, gitRef }: ProjectCreatePullRequestLinkProps) {\n const [pullRequestLink, setPullRequestLink] = useState(undefined);\n const dispatchAction = useAnalyticSimpleActionDispatch();\n const onPullRequestLinkClicked = useCallback(() => {\n dispatchAction(\"Create Pull Request\");\n }, [dispatchAction]);\n useEffect(() => {\n if (!gitRef) {\n return;\n }\n repository.Projects.getPullRequestLink(project, gitRef)\n .then((resp) => {\n if (resp.Link) {\n setPullRequestLink(resp.Link);\n }\n })\n .catch((e) => {\n logger.warn(e, \"Failed to get pull request link\");\n });\n }, [project, gitRef]);\n if (!project.IsVersionControlled) {\n return null;\n }\n const isDefaultBranch = IsDefaultBranch(project.PersistenceSettings, gitRef);\n const canCreatePullRequest = isGitBranch(gitRef) && !isDefaultBranch && pullRequestLink;\n return canCreatePullRequest ? (\n Create pull request\n ) : null;\n}\nconst createPullRequestLinkStyles = css({\n font: text.body.regular.medium,\n});\n","import { getGitRefType, type GitBranchResource, type GitRef, GitRefType, Permission } from \"@octopusdeploy/octopus-server-client\";\nimport React, { useEffect } from \"react\";\nimport { useSelector } from \"react-redux\";\nimport GitRefDropDown, { type GitRefDropDownMode, RefTypes } from \"~/areas/projects/components/GitRefDropDown/GitRefDropDown\";\nimport type { GitRefOption } from \"~/areas/projects/components/GitRefDropDown/GitRefOption\";\nexport type GitRefSelectorProps = {\n projectId: string;\n initialGitRef: GitRef | undefined;\n defaultBranch: GitRef | string;\n onChange: (selectedGitRef: GitRef) => void;\n onCreateBranch?: (newBranchName: string, parentGitRef: GitRef) => Promise;\n disabled?: boolean;\n style?: \"grey\" | \"white\";\n mode?: GitRefDropDownMode;\n allowBranchCreation?: boolean;\n errorMessage?: string;\n busy?: Promise;\n items: GitRefOption[];\n totalItemCount: number;\n loadItems?: (refType: RefTypes, selectedGitRef: GitRef | undefined) => void;\n searchItems: (refType: RefTypes, searchTerm: string) => Promise;\n};\nexport const GitRefSelector = (props: GitRefSelectorProps) => {\n const mapToRefTypes = (gitRefType: GitRefType): RefTypes => {\n switch (gitRefType) {\n case GitRefType.Branch:\n return RefTypes.Branches;\n case GitRefType.Tag:\n return RefTypes.Tags;\n case GitRefType.Commit:\n return RefTypes.Commits;\n case GitRefType.Unknown:\n case GitRefType.Named:\n // We used to throw an error here, but that would cause pages to crash if we ever had a\n // gitRef passed in that was not fully qualified. Instead, we will just default to branches\n // to keep the UI working\n return RefTypes.Branches;\n }\n };\n const { initialGitRef, projectId, onChange, onCreateBranch, searchItems, loadItems } = props;\n const [refType, setRefType] = React.useState(initialGitRef ? mapToRefTypes(getGitRefType(initialGitRef)) : RefTypes.Branches);\n const isFormDirty = useSelector((state: GlobalState) => state.form.dirty);\n useEffect(() => {\n if (loadItems)\n loadItems(refType, initialGitRef);\n }, [initialGitRef, loadItems, refType]);\n const onCreateBranchLocal = async (newBranchName: string, baseGitRef: GitRef): Promise => {\n // If no 'onCreateBranch' handler has been given via props, and somehow\n // we've ended up in here, then something has gone wrong.\n if (!onCreateBranch)\n throw new Error(\"onCreateBranch was called, but no handler was given via props\");\n const gitRefResource = await onCreateBranch(newBranchName, baseGitRef);\n onChange(gitRefResource.CanonicalName);\n };\n const onRefTypeChanged = (refType: RefTypes) => setRefType(refType);\n // noinspection JSArrowFunctionBracesCanBeRemoved\n const onRequestRefresh = async (selectedGitRef: GitRef): Promise => {\n if (loadItems) {\n loadItems(refType, selectedGitRef);\n }\n };\n return (<>\n onChange(gitRefOption.value)} onRequestRefresh={onRequestRefresh} onFilterChanged={(searchTerm) => searchItems(refType, searchTerm)} disabled={props.disabled} onCreateBranch={onCreateBranchLocal} projectId={projectId} defaultBranch={props.defaultBranch} refType={refType} onRefTypeChanged={onRefTypeChanged} mode={props.mode} allowBranchCreation={props.allowBranchCreation} disableBranchCreation={isFormDirty || !initialGitRef} errorMessage={props.errorMessage} permission={Permission.ProjectEdit}/>\n );\n};\n","import type { GitBranchResource, ProjectResource, GitRef, GitPersistenceSettings } from \"@octopusdeploy/octopus-server-client\";\nimport { HasGitPersistenceSettings, isGitBranch, toGitBranch } from \"@octopusdeploy/octopus-server-client\";\nimport type { GitRefOption } from \"~/areas/projects/components/GitRefDropDown/GitRefOption\";\nimport { repository } from \"~/clientInstance\";\nconst getTextValuePairForProjectBranch = (branch: GitBranchResource, project: Readonly): GitRefOption => {\n if (!HasGitPersistenceSettings(project.PersistenceSettings))\n throw new Error(\"Config as Code: Trying to access a VCS Property on a non-VCS Project.\");\n const isDefaultBranch = branch.Name === project.PersistenceSettings.DefaultBranch;\n return {\n value: branch.CanonicalName,\n isDefault: isDefaultBranch,\n canWrite: !branch.IsProtected,\n };\n};\nconst buildProjectBranchNamesList = (branches: GitBranchResource[], project: Readonly): GitRefOption[] => {\n if (!HasGitPersistenceSettings(project.PersistenceSettings))\n throw new Error(\"Config as Code: Trying to access a VCS Property on a non-VCS Project.\");\n return branches.map((branch) => getTextValuePairForProjectBranch(branch, project));\n};\nconst getFilteredProjectBranchesList = async (project: Readonly, filterTerm: string): Promise => {\n if (!HasGitPersistenceSettings(project.PersistenceSettings))\n throw new Error(\"Config as Code: Trying to access a VCS Property on a non-VCS Project.\");\n const filteredBranchResources = await repository.Projects.searchBranches(project, filterTerm);\n let branches = filteredBranchResources.Items;\n // If the default branch is in the list, put it at the top\n const defaultBranchIndex = getDefaultBranchIndex(branches, project.PersistenceSettings);\n if (defaultBranchIndex !== -1) {\n const defaultBranch = branches.splice(defaultBranchIndex, 1);\n branches = [...defaultBranch, ...branches];\n }\n return buildProjectBranchNamesList(branches, project);\n};\nconst getProjectBranchesList = async (project: Readonly, branchResources: GitBranchResource[], selectedRef: GitRef | undefined): Promise => {\n if (!HasGitPersistenceSettings(project.PersistenceSettings))\n throw new Error(\"Config as Code: Trying to access a VCS Property on a non-VCS Project.\");\n const vcsPersistenceSettings = project.PersistenceSettings;\n let branches = branchResources;\n // Add the currently selected branch to the list (if necessary)\n if (selectedRef && isGitBranch(selectedRef) && !branches.find((item) => item.CanonicalName === selectedRef)) {\n const selectedBranchResource = await repository.Projects.tryGetBranch(project, selectedRef);\n // It may be that the current branch has been deleted directly in the repo. Therefore, only add it if it was found.\n if (selectedBranchResource !== null) {\n branches = [selectedBranchResource, ...branches];\n }\n }\n const defaultBranchIndex = getDefaultBranchIndex(branches, vcsPersistenceSettings);\n // If the default branch isn't in the list, add it\n if (defaultBranchIndex === -1) {\n // It may be that the default branch has been deleted directly in the repo. Therefore, only add it if it was found.\n const branchResource = await repository.Projects.tryGetBranch(project, vcsPersistenceSettings.DefaultBranch);\n if (branchResource !== null) {\n // If we have found the default branch, put it at the top\n branches = [branchResource, ...branches];\n }\n }\n else {\n // If the default branch is already in the list, move it to the top\n const defaultBranch = branches.splice(defaultBranchIndex, 1);\n branches = [...defaultBranch, ...branches];\n }\n return buildProjectBranchNamesList(branches, project);\n};\nconst getDefaultBranchIndex = (branches: GitBranchResource[], settings: GitPersistenceSettings) => {\n return branches.findIndex((item) => item.CanonicalName === settings.DefaultBranch || item.CanonicalName === toGitBranch(settings.DefaultBranch));\n};\nexport { getProjectBranchesList, getFilteredProjectBranchesList, getTextValuePairForProjectBranch, buildProjectBranchNamesList };\n","import { type GitBranchResource, type GitRefResource, type ProjectResource, type ResourceCollection, type GitRef, HasGitPersistenceSettings } from \"@octopusdeploy/octopus-server-client\";\nimport React from \"react\";\nimport { RefTypes } from \"~/areas/projects/components/GitRefDropDown/GitRefDropDown\";\nimport type { GitRefOption } from \"~/areas/projects/components/GitRefDropDown/GitRefOption\";\nimport type { GitRefSelectorProps } from \"~/areas/projects/components/GitRefSelector/GitRefSelector\";\nimport { GitRefSelector } from \"~/areas/projects/components/GitRefSelector/GitRefSelector\";\nimport { repository } from \"~/clientInstance\";\nimport type { DataBaseComponentState } from \"~/components/DataBaseComponent/index\";\nimport DataBaseComponent from \"~/components/DataBaseComponent/index\";\nimport { getProjectBranchesList, getFilteredProjectBranchesList } from \"~/utils/BranchHelpers/ProjectBranchHelpers\";\nexport type ProjectGitRefSelectorProps = Omit & {\n project: Readonly;\n onError?: (error: Error) => void;\n};\ninterface ProjectGitRefSelectorState extends DataBaseComponentState {\n project: Readonly;\n items: GitRefOption[];\n totalCount: number;\n}\nexport class ProjectGitRefSelector extends DataBaseComponent {\n constructor(props: ProjectGitRefSelectorProps) {\n super(props);\n this.state = {\n project: props.project,\n items: [],\n totalCount: 0,\n };\n }\n static getDerivedStateFromProps(props: ProjectGitRefSelectorProps, state: ProjectGitRefSelectorState) {\n return {\n ...state,\n project: props.project,\n };\n }\n loadItems = (refType: RefTypes, selectedGitRef: GitRef | undefined): void => {\n this.doBusyTask(async () => {\n try {\n let resources: ResourceCollection | null = null;\n let items: GitRefOption[] = [];\n if (refType === RefTypes.Branches) {\n const branchResources: ResourceCollection = await repository.Projects.getBranches(this.state.project);\n resources = branchResources;\n items = await getProjectBranchesList(this.state.project, branchResources.Items, selectedGitRef);\n }\n else if (refType === RefTypes.Tags) {\n resources = await repository.Projects.getTags(this.state.project);\n items = resources.Items.map((t) => ({\n value: t.CanonicalName,\n isDefault: false,\n canWrite: false,\n }));\n }\n this.setState({\n ...this.state,\n items,\n totalCount: resources?.TotalResults ?? 0,\n });\n }\n catch (e) {\n if (this.props.onError)\n this.props.onError(e);\n }\n });\n };\n searchItems = async (refType: RefTypes, searchTerm: string): Promise => {\n try {\n if (refType === RefTypes.Tags) {\n const tagResources = await repository.Projects.searchTags(this.props.project, searchTerm);\n return tagResources.Items.map((t) => ({\n value: t.CanonicalName,\n isDefault: false,\n canWrite: false,\n }));\n }\n else {\n // Fallback to branches\n return getFilteredProjectBranchesList(this.props.project, searchTerm);\n }\n }\n catch (e) {\n if (this.props.onError)\n this.props.onError(e);\n return [];\n }\n };\n render() {\n if (!HasGitPersistenceSettings(this.props.project.PersistenceSettings)) {\n // If we don't have a Git project, we don't need to render the branch selector\n return null;\n }\n return ();\n }\n static displayName = \"ProjectGitRefSelector\";\n}\n","import { Tooltip } from \"@octopusdeploy/design-system-components\";\nimport type { GitBranchResource, GitRef } from \"@octopusdeploy/octopus-server-client\";\nimport { toGitRefShort } from \"@octopusdeploy/octopus-server-client\";\nimport React from \"react\";\nimport { useNotifyCreateBranch } from \"~/areas/projects/components/BranchSelector/Analytics/useNotifyCreateBranch\";\nimport { ProjectGitRefSelector } from \"~/areas/projects/components/GitRefSelector/ProjectGitRefSelector\";\nimport { useProjectContext } from \"~/areas/projects/context\";\nimport { repository } from \"~/clientInstance\";\nexport function BranchSelector() {\n const projectContext = useProjectContext();\n const project = projectContext.state.model;\n const createBranchDispatcher = useNotifyCreateBranch();\n const onCreateBranch = async (newBranchName: string, parentGitRef: GitRef): Promise => {\n const newBranchResource = await createBranchDispatcher({\n source: \"Branch switcher\",\n createBranchAction: () => repository.ProjectBranches.createBranch(project.Id, newBranchName, parentGitRef),\n });\n await projectContext.actions.onBranchSelected(project, newBranchResource.CanonicalName);\n return newBranchResource;\n };\n const onChange = (gitRef: GitRef) => {\n // Note: When we have a newly selected branch, all we need to do is push it into our router history\n // Note: The props will then flow back into BranchSelector and its initialization useEffect will be triggered\n // Note: As it has a dependency on props.projectContext.state.branch, which in turn changes with there is a new branchName route match\n if (gitRef) {\n projectContext.actions.changeGitRef(gitRef);\n }\n };\n const initialGitRef = projectContext.state.gitRef?.CanonicalName;\n const errorMessage = initialGitRef ? undefined : \"unknown git ref\";\n const gitRefSelector = ;\n const shortName = toGitRefShort(initialGitRef);\n return shortName ? {gitRefSelector} : gitRefSelector;\n}\n","import { Tooltip } from \"@octopusdeploy/design-system-components\";\nimport { toGitRefShort, type GitBranchResource, type GitRef, type ProjectResource } from \"@octopusdeploy/octopus-server-client\";\nimport React from \"react\";\nimport { ProjectGitRefSelector } from \"~/areas/projects/components/GitRefSelector/ProjectGitRefSelector\";\nimport { repository } from \"~/clientInstance\";\nimport { useNotifyCreateBranch } from \"./Analytics/useNotifyCreateBranch\";\nexport interface BranchSelectorVNextProps {\n project: ProjectResource;\n gitRef: GitRef | undefined;\n setGitRef: (gitRef: string) => void;\n}\nexport function BranchSelectorVNext({ project, gitRef, setGitRef }: BranchSelectorVNextProps) {\n const createBranchDispatcher = useNotifyCreateBranch();\n if (!gitRef) {\n return null;\n }\n const onCreateBranch = async (newBranchName: string, parentGitRef: GitRef): Promise => {\n const newBranchResource = await createBranchDispatcher({\n source: \"Branch switcher\",\n createBranchAction: () => repository.ProjectBranches.createBranch(project.Id, newBranchName, parentGitRef),\n });\n setGitRef(newBranchResource.CanonicalName);\n return newBranchResource;\n };\n const selector = ;\n const shortName = toGitRefShort(gitRef);\n return shortName ? {selector} : selector;\n}\n","import { css } from \"@emotion/css\";\nimport { space } from \"@octopusdeploy/design-system-tokens\";\nimport React from \"react\";\nimport { useProjectContext } from \"../../context\";\nimport { ProjectCreatePullRequestLink } from \"../ProjectCurrentBranchDisplay/ProjectCreatePullRequestLink\";\nimport { BranchSelector } from \"./BranchSelector\";\nimport type { BranchSelectorVNextProps } from \"./BranchSelectorVNext\";\nimport { BranchSelectorVNext } from \"./BranchSelectorVNext\";\nexport function PageHeaderBranchSelector() {\n const projectContext = useProjectContext();\n return (
    \n \n \n
    );\n}\nexport function PageHeaderBranchSelectorVNext(props: BranchSelectorVNextProps) {\n return (
    \n \n \n
    );\n}\nconst branchSelectorContainer = css({\n display: \"flex\",\n gap: space[16],\n alignItems: \"center\",\n});\n","import React from \"react\";\nimport { useIsPageVersionControlled } from \"~/areas/projects/context/useIsPageVersionControlled\";\nimport { PageHeaderBranchSelector } from \"./BranchSelector/PageHeaderBranchSelector\";\nexport function ProjectPageTitleAccessory() {\n const isVersionControlled = useIsPageVersionControlled();\n if (!isVersionControlled) {\n return null;\n }\n return ;\n}\n","import type { ReferenceDataItem, ScopeValues } from \"@octopusdeploy/octopus-server-client\";\nimport { uniqBy } from \"lodash\";\nexport default function mergeScopeValues(allScopeValues: ReadonlyArray): ScopeValues {\n const initialScopeValues: ScopeValues = {\n Actions: [],\n TenantTags: [],\n Roles: [],\n Channels: [],\n Machines: [],\n Environments: [],\n Processes: [],\n };\n const combinedScopeValues = allScopeValues.reduce((acc, curr) => {\n acc.Actions.push(...curr.Actions);\n acc.Channels.push(...curr.Channels);\n acc.Environments.push(...curr.Environments);\n acc.Machines.push(...curr.Machines);\n acc.Roles.push(...curr.Roles);\n acc.TenantTags.push(...curr.TenantTags);\n acc.Processes.push(...curr.Processes);\n return acc;\n }, initialScopeValues);\n return {\n Actions: uniqById(combinedScopeValues.Actions),\n Channels: uniqById(combinedScopeValues.Channels),\n Environments: uniqById(combinedScopeValues.Environments),\n Machines: uniqById(combinedScopeValues.Machines),\n Roles: uniqById(combinedScopeValues.Roles),\n TenantTags: uniqById(combinedScopeValues.TenantTags),\n Processes: uniqById(combinedScopeValues.Processes),\n };\n}\nfunction uniqById(referenceDataItems: T[]): T[] {\n return uniqBy(referenceDataItems, (i) => i.Id);\n}\n","import * as React from \"react\";\nimport type { SvgImageProps } from \"../../../primitiveComponents/dataDisplay/SvgImage/SvgImage\";\nimport SvgImage from \"../../../primitiveComponents/dataDisplay/SvgImage/SvgImage\";\nimport styles from \"../../../primitiveComponents/dataDisplay/SvgImage/styles.module.less\";\nconst LibraryVariable = (props: Partial) => (\n \n \n \n \n \n \n );\nexport { LibraryVariable };\n","import * as React from \"react\";\nimport type { SvgImageProps } from \"../../../primitiveComponents/dataDisplay/SvgImage/SvgImage\";\nimport SvgImage from \"../../../primitiveComponents/dataDisplay/SvgImage/SvgImage\";\nimport styles from \"../../../primitiveComponents/dataDisplay/SvgImage/styles.module.less\";\nconst LibraryVariableTemplate = (props: Partial) => (\n \n \n \n \n );\nexport { LibraryVariableTemplate };\n","import * as React from \"react\";\nimport type { SvgImageProps } from \"../../../primitiveComponents/dataDisplay/SvgImage/SvgImage\";\nimport SvgImage from \"../../../primitiveComponents/dataDisplay/SvgImage/SvgImage\";\nimport styles from \"../../../primitiveComponents/dataDisplay/SvgImage/styles.module.less\";\nconst ProjectVariable = (props: Partial) => (\n \n \n \n \n \n );\nexport { ProjectVariable };\n","import * as React from \"react\";\nimport type { SvgImageProps } from \"../../../primitiveComponents/dataDisplay/SvgImage/SvgImage\";\nimport SvgImage from \"../../../primitiveComponents/dataDisplay/SvgImage/SvgImage\";\nimport styles from \"../../../primitiveComponents/dataDisplay/SvgImage/styles.module.less\";\nconst ProjectVariableTemplate = (props: Partial) => (\n \n \n \n \n );\nexport { ProjectVariableTemplate };\n","/* eslint-disable @typescript-eslint/consistent-type-assertions */\nimport { Tooltip } from \"@octopusdeploy/design-system-components\";\nimport type { LinkHref } from \"@octopusdeploy/portal-routes\";\nimport { links } from \"@octopusdeploy/portal-routes\";\nimport * as React from \"react\";\nimport InternalLink from \"~/components/Navigation/InternalLink/InternalLink\";\nimport { LibraryVariable } from \"../../../components/Images/ReactPortal/LibraryVariable\";\nimport { LibraryVariableTemplate } from \"../../../components/Images/ReactPortal/LibraryVariableTemplate\";\nimport { ProjectVariable } from \"../../../components/Images/ReactPortal/ProjectVariable\";\nimport { ProjectVariableTemplate } from \"../../../components/Images/ReactPortal/ProjectVariableTemplate\";\nimport styles from \"./style.module.less\";\nexport interface TenantProjectVariableSourceProps {\n spaceId: string;\n tenantId: string;\n tenantName: string;\n isDisabled?: boolean;\n type: \"project\";\n}\nexport interface TenantLibraryVariableSetSourceProps {\n spaceId: string;\n tenantId: string;\n tenantName: string;\n isDisabled?: boolean;\n type: \"library\";\n}\nexport interface LibraryVariableSetSourceProps {\n spaceId: string;\n variableSetName: string;\n variableSetId: string;\n isDisabled?: boolean;\n}\nexport interface ProjectVariableSourceProps {\n spaceId: string;\n projectName: string;\n projectId: string;\n isDisabled?: boolean;\n}\nexport type ValueSource = TenantProjectVariableSourceProps | TenantLibraryVariableSetSourceProps | LibraryVariableSetSourceProps | ProjectVariableSourceProps;\ninterface SourceLinkProps {\n source: ValueSource;\n}\nconst SourceLink: React.SFC = (props: SourceLinkProps) => {\n return (\n
    \n \n
    \n {getIcon(props.source)}\n {getSourceLinkName(props.source)}\n
    \n
    \n
    \n
    );\n};\nSourceLink.displayName = \"SourceLink\"\nfunction sourceLinkDescription(source: ValueSource): string {\n if (isProjectVariableSource(source)) {\n return `Project Variables: ${source.projectName}`;\n }\n else if (isLibraryVariableSetSource(source)) {\n return `Variable Set: ${source.variableSetName}`;\n }\n else if (isTenantProjectVariableSource(source)) {\n return `Tenant Project Variables: ${source.tenantName}`;\n }\n else {\n // Tenant variable set case\n return `Tenant Common Variables: ${source.tenantName}`;\n }\n}\nexport function getSourceLinkName(source: ValueSource): string {\n if (isProjectVariableSource(source)) {\n return source.projectName;\n }\n else if (isLibraryVariableSetSource(source)) {\n return source.variableSetName;\n }\n else if (isTenantProjectVariableSource(source)) {\n return source.tenantName;\n }\n else {\n // Tenant variable set case\n return source.tenantName;\n }\n}\nfunction getLinkLocation(source: ValueSource): LinkHref {\n if (isProjectVariableSource(source)) {\n return links.variablesPage.generateUrl({ spaceId: source.spaceId, projectSlug: source.projectId });\n }\n else if (isLibraryVariableSetSource(source)) {\n return links.editVariableSetPage.generateUrl({ spaceId: source.spaceId, variableSetId: source.variableSetId });\n }\n else if (isTenantProjectVariableSource(source)) {\n return links.tenantVariablesPage.generateUrl({ spaceId: source.spaceId, tenantId: source.tenantId }, { activeTab: \"projectVariables\" });\n }\n else {\n // Tenant variable set case\n return links.tenantVariablesPage.generateUrl({ spaceId: source.spaceId, tenantId: source.tenantId }, { activeTab: \"commonVariables\" });\n }\n}\nfunction getIcon(source: ValueSource): JSX.Element {\n if (isProjectVariableSource(source)) {\n return ;\n }\n else if (isLibraryVariableSetSource(source)) {\n return ;\n }\n else if (isTenantProjectVariableSource(source)) {\n return ;\n }\n else {\n // Tenant variable set case\n return ;\n }\n}\nexport function isProjectVariableSource(source: ValueSource): source is ProjectVariableSourceProps {\n return (source as ProjectVariableSourceProps).projectId !== undefined;\n}\nexport function isLibraryVariableSetSource(source: ValueSource): source is LibraryVariableSetSourceProps {\n return (source as LibraryVariableSetSourceProps).variableSetId !== undefined;\n}\nexport function isTenantProjectVariableSource(source: ValueSource): source is TenantProjectVariableSourceProps {\n return (source as TenantProjectVariableSourceProps).type === \"project\";\n}\nexport default SourceLink;\n","const getInfrastructureState = (state: GlobalState) => state.infrastructureArea;\nconst getAccountsState = (state: GlobalState) => getInfrastructureState(state).accounts;\nconst getMachinesState = (state: GlobalState) => getInfrastructureState(state).machines;\nconst getAccounts = (state: GlobalState) => getAccountsState(state).byId;\nexport const getAccountById = (state: GlobalState, props: {\n accountId: string;\n}) => {\n return getAccounts(state)[props.accountId];\n};\nexport const getCurrentMachine = (state: GlobalState) => getMachinesState(state).current;\n","import type { AccountType } from \"@octopusdeploy/octopus-server-client\";\nimport type * as React from \"react\";\nimport { connect } from \"react-redux\";\nimport { getAccountById } from \"../../reducers/selectors\";\ninterface RenderProps {\n accountId: string;\n account: AccountProps | undefined;\n}\nexport interface AccountProps {\n accountId: string;\n name: string;\n description: string;\n accountType: AccountType;\n}\ninterface AccountDisplayProps {\n accountId: string;\n account: AccountProps | undefined;\n render: (props: RenderProps) => React.ReactElement;\n}\ninterface ConnectedAccountDisplayProps {\n accountId: string;\n}\ninterface GlobalConnectedProps {\n account: AccountProps | undefined;\n}\nconst AccountDisplay: React.SFC = ({ accountId, account, render }) => {\n return render({ account, accountId });\n};\nAccountDisplay.displayName = \"AccountDisplay\"\nconst mapGlobalStateToProps = (state: GlobalState, props: ConnectedAccountDisplayProps): GlobalConnectedProps => {\n return {\n account: getAccountById(state, props),\n };\n};\nconst ConnectedAccountDisplay = connect(mapGlobalStateToProps)(AccountDisplay);\nexport default ConnectedAccountDisplay;\n","import { default as AccountDisplay } from \"./AccountDisplay\";\nexport * from \"./AccountDisplay\";\nexport default AccountDisplay;\n","export enum RowType {\n Add,\n Edit\n}\nexport enum FocusableCellType {\n Name = \"Name\",\n Value = \"Value\",\n ScopeEdit = \"ScopeEdit\",\n ScopeViewAll = \"ScopeViewAll\"\n}\nexport interface CellFocus {\n readonly rowType: RowType;\n readonly cell: FocusableCellType;\n readonly variableId: string;\n}\n","/* eslint-disable @typescript-eslint/consistent-type-assertions */\nimport { ScriptingLanguage } from \"@octopusdeploy/octopus-server-client\";\nimport * as React from \"react\";\nimport { Language, TextFormat } from \"~/components/CodeEditor/CodeEditor\";\nimport type { Item } from \"~/primitiveComponents/form/Select/Select\";\nimport { default as Select } from \"~/primitiveComponents/form/Select/Select\";\ninterface TextFormatSelectorProps {\n value: ScriptingLanguage | Language | TextFormat;\n onChange(value: ScriptingLanguage | Language | TextFormat): void;\n}\nconst editorModeOptionsInternal: Item[] = [\n { value: TextFormat.PlainText, text: \"Plain text\" },\n { value: TextFormat.XML, text: \"XML\" },\n { value: TextFormat.JSON, text: \"JSON\" },\n { value: TextFormat.YAML, text: \"YAML\" },\n { value: Language.HTML, text: \"HTML\" },\n { value: Language.CSS, text: \"CSS\" },\n { value: Language.Markdown, text: \"Markdown\" },\n { value: Language.DockerFile, text: \"DockerFile\" },\n { value: ScriptingLanguage.PowerShell, text: \"PowerShell\" },\n { value: ScriptingLanguage.Bash, text: \"Bash\" },\n { value: Language.INI, text: \"INI\" },\n { value: Language.CoffeeScript, text: \"CoffeeScript\" },\n { value: ScriptingLanguage.CSharp, text: \"C#\" },\n { value: ScriptingLanguage.FSharp, text: \"F#\" },\n];\nexport const editorModeOptions: ReadonlyArray = editorModeOptionsInternal;\nexport default class TextFormatSelector extends React.Component {\n render() {\n return this.setState((prevState) => ({ value: convertToNewType(prevState!.value, Type as VariableType) }))}/>\n (this.descriptionInput = e)} value={this.state.value.Description!} label=\"Description\" onChange={(Description) => this.setState(updateValue({ Description }))}/>\n this.setStateAndResizeDialog(resetPromptValues(shouldPrompt))} prompt={!!this.state.value.Prompt} description={this.state.value.Prompt ? this.state.value.Prompt.Description : null!} label={this.state.value.Prompt ? this.state.value.Prompt.Label : null!} displaySettings={this.state.value.Prompt && this.state.value.Prompt.DisplaySettings ? this.state.value.Prompt.DisplaySettings : {}} required={this.state.value.Prompt ? this.state.value.Prompt.Required : null!} onDescriptionChange={(Description) => this.setState(updatePrompt({ Description }))} onLabelChange={(Label) => this.setState(updatePrompt({ Label }))} onRequiredChange={(Required) => this.setState(updatePrompt({ Required }))} onDisplaySettingsChange={(DisplaySettings) => this.setStateAndResizeDialog(updatePrompt({ DisplaySettings }))}/>\n
    \n
    \n {this.state.value.Type === VariableType.Certificate && ( this.setState(updateValue({ Value }))} doBusyTask={this.doBusyTask}/>)}\n {this.state.value.Type === VariableType.WorkerPool && ( this.setState(updateValue({ Value }))} doBusyTask={this.doBusyTask}/>)}\n {this.state.value.Type === VariableType.AmazonWebServicesAccount && ( this.setState(updateValue({ Value }))} primaryAccountType={AccountType.AmazonWebServicesAccount} doBusyTask={this.doBusyTask}/>)}\n {this.state.value.Type === VariableType.AzureAccount && ( this.setState(updateValue({ Value }))} primaryAccountType={AccountType.AzureSubscription} doBusyTask={this.doBusyTask}/>)}\n {this.state.value.Type === VariableType.GoogleCloudAccount && ( this.setState(updateValue({ Value }))} primaryAccountType={AccountType.GoogleCloudAccount} doBusyTask={this.doBusyTask}/>)}\n {this.state.value.Type === VariableType.UsernamePasswordAccount && ( this.setState(updateValue({ Value }))} primaryAccountType={AccountType.UsernamePassword} doBusyTask={this.doBusyTask}/>)}\n {this.state.value.Type === VariableType.GenericOidcAccount && ( this.setState(updateValue({ Value }))} primaryAccountType={AccountType.GenericOidcAccount} doBusyTask={this.doBusyTask}/>)}\n {(this.state.value.Type === VariableType.Sensitive || this.state.value.Type === VariableType.String) && ( this.setState(updateValue({ Value }))} editorMode={this.state.editorMode} onEditorModeChange={(editorMode) => this.setState({ editorMode })}/>)}\n
    \n
    )}\n {this.state.page === Page.Scope && (
    \n
    \n this.setState(updateValue({ Scope }))} allowTenantTagSelection={this.props.isTenanted} useCompactControls={false} doBusyTask={this.doBusyTask} editorScope={this.props.editorScope}/>\n
    \n
    )}\n \n )}/>)}/>);\n }\n private getValueToDisplayByType(value: string) {\n if (isMultilineValue(value)) {\n return (\n {value}\n );\n }\n return value;\n }\n private selectInputIfRequired() {\n const focusedField = this.nextFocus;\n this.nextFocus = null!;\n // Focus after a timeout to give the form time to display\n window.setTimeout(() => {\n if (this.state.value) {\n if (this.nameInput && focusedField === FocusField.Name) {\n this.nameInput.select();\n }\n if (this.valueInput && focusedField === FocusField.Value) {\n this.valueInput.focus();\n }\n if (this.descriptionInput && focusedField === FocusField.Description) {\n this.descriptionInput.select();\n }\n // Don't highlight any inputs from the scope selector if this.props.focus === FocusField.Scope,\n // because a) the user probably wants to configure things like tenant tags, rather than the first input in scope selector\n // and b) because of the show popup animation, the autocomplete popup will probably be in the wrong position\n }\n }, 0);\n }\n private setStateAndResizeDialog = async (state: Pick) => {\n // Perform in doBusy to trigger our dialog resize fix #dialogResizeHack\n await this.doBusyTask(async () => {\n this.setState(state);\n });\n };\n private getLeftSideActions() {\n return (\n {this.state.page === Page.Value && ( {\n this.setState({ page: Page.Scope });\n }}/>)}\n\n {this.state.page !== Page.Value && ( {\n this.setState({ page: Page.Value });\n }}/>)}\n );\n }\n private getRightSideActions() {\n return (\n \n {\n this.props.onDone(this.state.value, this.state.name);\n this.props.onClosed();\n }}/>\n );\n }\n private isDisabled() {\n const name = this.state.name ? this.state.name : \"\";\n // certificate type must have a value, as it's not supported for use in \"prompt for a value\"\n if (!name) {\n return true;\n }\n if (!this.state.value.Value && isReferenceType(this.state.value.Type)) {\n return true;\n }\n return false;\n }\n private onDialogClose = () => {\n this.props.onClosed();\n };\n static displayName = \"Inner\";\n}\nfunction isVariableReferenceDialogArgs(args: OpenVariableDialogArgs | OpenReferenceVariableDialogArgs): args is OpenReferenceVariableDialogArgs {\n return (args as OpenReferenceVariableDialogArgs).referenceType !== undefined;\n}\nfunction getInitialState(openDialogArgs: OpenVariableDialogArgs | OpenReferenceVariableDialogArgs): EditVariableState {\n const value = variableAdjustment(openDialogArgs);\n return {\n value: value,\n name: openDialogArgs.name,\n editorMode: initialEditorModeValue(value),\n page: openDialogArgs.focus === FocusField.Scope ? Page.Scope : Page.Value,\n };\n}\nfunction variableAdjustment(openDialogArgs: OpenReferenceVariableDialogArgs | OpenVariableDialogArgs) {\n return !isVariableReferenceDialogArgs(openDialogArgs) ? openDialogArgs.value : convertToNewType(openDialogArgs.value, openDialogArgs.referenceType);\n}\nfunction initialEditorModeValue(value: VariableValueModel): TextFormat | ScriptingLanguage | Language {\n if (value.Type === VariableType.String && !!value.Value) {\n try {\n JSON.parse(value.Value);\n return TextFormat.JSON;\n }\n catch {\n /* empty */\n }\n try {\n const gg = load(value.Value);\n if (typeof gg !== \"string\") {\n return TextFormat.YAML;\n }\n }\n catch {\n /* empty */\n }\n }\n return editorModeOptions[0].value as TextFormat | ScriptingLanguage | Language;\n}\n","import * as React from \"react\";\nimport VariableCell from \"~/areas/variables/VariableCell/VariableCell\";\nimport ToolTipMessages from \"~/primitiveComponents/dataDisplay/ToolTipMessages/ToolTipMessages\";\nimport styles from \"./style.module.less\";\ninterface VariableMessageCellProps {\n warningMessages?: ReadonlyArray;\n}\n// This cell may appear in the same column as the the VariableNameCell, so the warnings for both of these cells should be aligned\nconst VariableMessageCell: React.SFC = (props: VariableMessageCellProps) => {\n return (\n
    \n \n );\n};\nVariableMessageCell.displayName = \"VariableMessageCell\"\nexport default VariableMessageCell;\n","import * as React from \"react\";\nimport VariableCell from \"~/areas/variables/VariableCell/VariableCell\";\nimport styles from \"./style.module.less\";\ninterface VariableNameAndDescriptionCellProps {\n name: React.ReactNode;\n description: React.ReactNode | undefined;\n}\nconst VariableNameAndDescriptionCell: React.SFC = (props) => {\n return (
    \n
    {props.name}
    \n {props.description && {props.description}}\n
    );\n};\nVariableNameAndDescriptionCell.displayName = \"VariableNameAndDescriptionCell\"\nexport default VariableNameAndDescriptionCell;\n","import { Tooltip } from \"@octopusdeploy/design-system-components\";\nimport cn from \"classnames\";\nimport * as React from \"react\";\nimport styles from \"./style.module.less\";\nexport enum VariableStatus {\n Existing,\n New,\n Deleted,\n Modified\n}\ninterface VariableStatusIconProps {\n status: VariableStatus;\n}\nconst VariableStatusIcon = (props: VariableStatusIconProps) => {\n switch (props.status) {\n case VariableStatus.New:\n return (\n \n );\n case VariableStatus.Deleted:\n return (\n \n );\n case VariableStatus.Modified:\n return (\n \n );\n default:\n return null;\n }\n};\nexport default VariableStatusIcon;\n","/* eslint-disable @typescript-eslint/no-non-null-assertion */\nimport type { ReferenceType, ScopeValues } from \"@octopusdeploy/octopus-server-client\";\nimport { VariableType } from \"@octopusdeploy/octopus-server-client\";\nimport cn from \"classnames\";\nimport * as React from \"react\";\nimport { FocusableCellType } from \"~/areas/variables/CellFocus/CellFocus\";\nimport { FocusField } from \"~/areas/variables/EditVariableDialog/EditVariableDialog\";\nimport VariableCell from \"~/areas/variables/VariableCell/VariableCell\";\nimport VariableCellIcon, { CellIcons } from \"~/areas/variables/VariableCellIcon/VariableCellIcon\";\nimport type { VariableEditorScope } from \"~/areas/variables/VariableEditor/types\";\nimport VariableMessageCell from \"~/areas/variables/VariableMessageCell/VariableMessageCell\";\nimport type { ValueMessages, VariableMessages } from \"~/areas/variables/VariableMessages/VariableMessages\";\nimport VariableNameAndDescriptionCell from \"~/areas/variables/VariableNameAndDescriptionCell/VariableNameAndDescriptionCell\";\nimport { VariableStatus } from \"~/areas/variables/VariableStatusIcon\";\nimport VariableStatusIcon from \"~/areas/variables/VariableStatusIcon/VariableStatusIcon\";\nimport type { VariableModel } from \"~/areas/variables/VariablesModel/VariablesModel\";\nimport type { DoBusyTask } from \"~/components/DataBaseComponent/DataBaseComponent\";\nimport { MeasureWidthOutOfFlow } from \"~/components/Measure/MeasureOutOfFlow\";\nimport { OverflowMenu, OverflowMenuItems } from \"~/components/OverflowMenu/OverflowMenu\";\nimport ReadonlyText from \"~/components/ReadonlyText/ReadonlyText\";\nimport type { CertificateIndex } from \"~/components/certificates\";\nimport type { SensitiveState } from \"~/components/form/Sensitive/Sensitive\";\nimport type { TagIndex } from \"~/components/tenantTagsets\";\nimport type { CellAligner } from \"~/primitiveComponents/dataDisplay/ScrollTable/ScrollTable\";\nimport type { WorkerPoolIndex } from \"../../../components/workerPools\";\nimport VariableNameCell from \"../VariableNameCell\";\nimport VariableScopeCell from \"../VariableScopeCell\";\nimport VariableValueCell from \"../VariableValueCell\";\nimport type { VariableValueModel } from \"../VariablesModel\";\nimport styles from \"./style.module.less\";\nexport const SingleVariableRowHeight = 48;\nexport interface SingleVariableRowProps {\n variable: VariableModel;\n value: VariableValueModel;\n status: VariableStatus;\n sensitiveState: SensitiveState | undefined;\n existingValue: VariableValueModel | undefined;\n isVariableDeleted: boolean;\n availableScopes: ScopeValues;\n tagIndex: TagIndex;\n certificateIndex: CertificateIndex;\n poolIndex: WorkerPoolIndex;\n variableMessages: VariableMessages;\n valueMessages: ValueMessages;\n showNameCell: boolean;\n gitVariables: boolean;\n cellAligner: CellAligner;\n doBusyTask: DoBusyTask;\n focus?: FocusableCellType;\n scopeCellWidth: number | undefined;\n onNameChanged: (variable: VariableModel, name: string) => void;\n onVariableChanged: (updatedValue: VariableValueModel) => void;\n onMergeClicked: (variable: VariableModel, value: VariableValueModel) => void;\n onDontMergeClicked: (variable: VariableModel) => void;\n onResetChanges: (value: VariableValueModel) => void;\n onDuplicateVariable: (variable: VariableModel) => void;\n onDuplicate?: (value: VariableValueModel) => void;\n onAddValue: (value: VariableModel, selectedValue: VariableValueModel) => void;\n onDelete: (value: VariableValueModel) => void;\n undoDelete: (value: VariableValueModel) => void;\n openVariableEditor: (value: VariableValueModel, name: string, focus: FocusField) => void;\n changingToReferenceType: (value: VariableValueModel, name: string, referenceType: ReferenceType) => void;\n onBlur: (value: VariableValueModel, blurredFrom: FocusableCellType) => void;\n onFocus: (value: VariableValueModel, focus: FocusableCellType) => void;\n onNavigateUp: (value: VariableValueModel) => void;\n onNavigateDown: (value: VariableValueModel) => void;\n onSensitiveStateChanged: (value: VariableValueModel, state: SensitiveState) => void;\n editorScope: VariableEditorScope;\n}\ninterface SingleVariableRowState {\n measuredControlCellWidth: number | undefined;\n}\nexport default class SingleVariableRow extends React.Component {\n constructor(props: SingleVariableRowProps) {\n super(props);\n this.state = {\n measuredControlCellWidth: undefined,\n };\n }\n shouldComponentUpdate(nextProps: SingleVariableRowProps, nextState: SingleVariableRowState) {\n return (nextProps.variable !== this.props.variable ||\n nextProps.value !== this.props.value ||\n nextProps.status !== this.props.status ||\n nextProps.sensitiveState !== this.props.sensitiveState ||\n nextProps.existingValue !== this.props.existingValue ||\n nextProps.isVariableDeleted !== this.props.isVariableDeleted ||\n nextProps.availableScopes !== this.props.availableScopes ||\n nextProps.tagIndex !== this.props.tagIndex ||\n nextProps.certificateIndex !== this.props.certificateIndex ||\n nextProps.poolIndex !== this.props.poolIndex ||\n nextProps.variableMessages !== this.props.variableMessages ||\n nextProps.valueMessages !== this.props.valueMessages ||\n nextProps.showNameCell !== this.props.showNameCell ||\n nextProps.cellAligner !== this.props.cellAligner ||\n nextProps.focus !== this.props.focus ||\n nextProps.scopeCellWidth !== this.props.scopeCellWidth ||\n nextState.measuredControlCellWidth !== this.state.measuredControlCellWidth);\n }\n render() {\n const isNameCellFocused = this.props.focus === FocusableCellType.Name;\n const isValueCellFocused = this.props.focus === FocusableCellType.Value;\n const isScopeCellEditing = this.props.focus === FocusableCellType.ScopeEdit;\n const isScopeCellViewingAll = this.props.focus === FocusableCellType.ScopeViewAll;\n const allWarningMessages = this.props.variableMessages.variableWarningMessages;\n return (
    {\n if (ev.key === \"ArrowDown\") {\n this.props.onNavigateDown(this.props.value);\n ev.preventDefault();\n }\n else if (ev.key === \"ArrowUp\") {\n this.props.onNavigateUp(this.props.value);\n ev.preventDefault();\n }\n }}>\n
    \n {this.props.cellAligner([\n this.props.onNameChanged(this.props.variable, name)} deleted={this.props.isVariableDeleted} onOpenEditorClicked={() => this.props.openVariableEditor(this.props.value, this.props.variable.name, FocusField.Name)} onMergeClicked={() => this.props.onMergeClicked(this.props.variable, this.props.value)} onDontMergeClicked={() => this.props.onDontMergeClicked(this.props.variable)} isFocused={isNameCellFocused} onFocus={() => this.props.onFocus(this.props.value, FocusableCellType.Name)} onBlur={() => this.props.onBlur(this.props.value, FocusableCellType.Name)}/>) : (\n \n )) : ()} description={this.props.value.Description && ( this.props.value.IsEditable && this.props.openVariableEditor(this.props.value, this.props.variable.name, FocusField.Description)}/>)}/>,\n
    \n {this.props.value.IsEditable ? ( this.props.onVariableChanged({ ...this.props.value, Value })} onVariableTypeChanged={(Type) => this.props.onVariableChanged({\n ...this.props.value,\n Type,\n IsSensitive: Type === VariableType.Sensitive,\n })} deleted={this.props.status === VariableStatus.Deleted} onOpenEditorClicked={() => this.props.openVariableEditor(this.props.value, this.props.variable.name, FocusField.Value)} onChangeToReferenceType={(type) => this.props.changingToReferenceType(this.props.value, this.props.variable.name, type)} isFocused={isValueCellFocused} onSensitiveStateChanged={(state) => this.props.onSensitiveStateChanged(this.props.value, state)} onFocus={() => this.props.onFocus(this.props.value, FocusableCellType.Value)} onBlur={() => this.props.onBlur(this.props.value, FocusableCellType.Value)} existingSensitiveValue={this.props.existingValue && this.props.existingValue.Type === VariableType.Sensitive ? this.props.existingValue.Value : undefined}/>) : (\n \n )}\n
    ,\n
    \n
    \n this.props.value.IsEditable && this.props.onVariableChanged({ ...this.props.value, Scope })} availableScopes={this.props.availableScopes} tagIndex={this.props.tagIndex} variableType={this.props.value.Type} deleted={this.props.status === VariableStatus.Deleted} isEditing={isScopeCellEditing} isViewingAll={isScopeCellViewingAll} doBusyTask={this.props.doBusyTask} onFocusEdit={() => this.props.value.IsEditable && this.props.onFocus(this.props.value, FocusableCellType.ScopeEdit)} onBlurEdit={() => this.props.value.IsEditable && this.props.onBlur(this.props.value, FocusableCellType.ScopeEdit)} onFocusViewAll={() => this.props.onFocus(this.props.value, FocusableCellType.ScopeViewAll)} onBlurViewAll={() => this.props.onBlur(this.props.value, FocusableCellType.ScopeViewAll)} cellHeight={SingleVariableRowHeight} onOpenEditorClicked={() => this.props.value.IsEditable && this.props.openVariableEditor(this.props.value, this.props.variable.name, FocusField.Scope)} containerWidth={this.props.scopeCellWidth !== undefined && this.state.measuredControlCellWidth !== undefined ? this.props.scopeCellWidth - this.state.measuredControlCellWidth : undefined} editorScope={this.props.editorScope}/>\n
    \n this.setState({ measuredControlCellWidth: width })} \n // remeasure if the status changes, because this could toggle whether an icon appears or not\n key={this.props.status}>\n
    \n
    this.props.value.IsEditable && this.props.openVariableEditor(this.props.value, this.props.variable.name, null!)}>\n \n
    \n {this.props.value.IsEditable && }\n
    \n
    \n
    ,\n ])}\n
    \n
    );\n }\n private menuItems() {\n if (this.props.status !== VariableStatus.Deleted) {\n const options = [];\n options.push(OverflowMenuItems.item(\"Add Value\", () => this.props.onAddValue(this.props.variable, this.props.value)));\n options.push(...this.duplicateOptions());\n options.push(...this.modifiedOptions());\n options.push(OverflowMenuItems.item(\"Delete Variable\", () => this.props.onDelete(this.props.value)));\n return options;\n }\n else {\n return [OverflowMenuItems.item(\"Undo Delete\", () => this.props.undoDelete(this.props.value))];\n }\n }\n private modifiedOptions() {\n return this.props.status === VariableStatus.Modified ? [OverflowMenuItems.item(\"Reset Changes\", () => this.props.onResetChanges(this.props.value))] : [];\n }\n private duplicateOptions() {\n return [OverflowMenuItems.item(\"Duplicate Variable\", () => this.props.onDuplicateVariable(this.props.variable))];\n }\n static displayName = \"SingleVariableRow\";\n}\n","import * as React from \"react\";\ninterface MeasureProps {\n onMeasured(measurement: TMeasurement): void;\n}\nexport default function Measure(getMeasurement: (measurementElement: HTMLElement) => TMeasurement) {\n return class MeasureInternal extends React.Component> {\n private measurementCell: HTMLElement | null = null;\n componentDidMount() {\n if (this.measurementCell) {\n this.props.onMeasured(getMeasurement(this.measurementCell));\n }\n }\n render() {\n return
    (this.measurementCell = measurementCell)}>{this.props.children}
    ;\n }\n };\n}\nexport const MeasureWidth = Measure((e) => e.getBoundingClientRect().width);\n","import { throttle } from \"lodash\";\nimport { useEffect, useState } from \"react\";\nimport * as React from \"react\";\nimport VariableCell from \"~/areas/variables/VariableCell/VariableCell\";\nimport { MeasureWidth } from \"~/components/Measure/Measure\";\nimport type { CellAligner } from \"~/primitiveComponents/dataDisplay/ScrollTable/ScrollTable\";\nimport styles from \"./style.module.less\";\ninterface VariableEditorHeadingsProps {\n cellAligner: CellAligner;\n cells: JSX.Element[];\n isDisplayedFullWidth: boolean;\n columnWidths: ReadonlyArray;\n onWidthMeasured(cellIndex: number, width: number): void;\n}\nexport function VariableEditorHeadings({ cellAligner, cells, isDisplayedFullWidth, columnWidths, onWidthMeasured }: VariableEditorHeadingsProps) {\n const [resizeCount, setResizeCount] = useState(0);\n const columnWidthsKey = columnWidths.map((c) => c.toString()).join(\"-\");\n const [measurerKey, setMeasurerKey] = useState(`${isDisplayedFullWidth}-${columnWidthsKey}-${resizeCount}`);\n // If any of these things change, we need to re-measure\n useEffect(() => setMeasurerKey(`${isDisplayedFullWidth}-${columnWidthsKey}-${resizeCount}`), [columnWidthsKey, resizeCount, isDisplayedFullWidth]);\n useEffect(() => {\n const throttledRemeasure = throttle(() => setResizeCount((count) => count + 1), 100);\n window.addEventListener(\"resize\", throttledRemeasure, { passive: true });\n return () => window.removeEventListener(\"resize\", throttledRemeasure);\n }, []);\n return cellAligner(cells.map((c, index) => (\n onWidthMeasured(index, width)}>\n
    {c}
    \n
    \n
    )), { showResizeHandles: true });\n}\n","/* eslint-disable @typescript-eslint/init-declarations */\nimport { repository } from \"~/clientInstance\";\ninterface CertificateIndex {\n [certificateId: string]: string;\n}\nconst getCertificateIndex = async (ids?: string[]): Promise => {\n const idx: {\n [certificateId: string]: string;\n } = {};\n const certificates = await repository.Certificates.all({ ids });\n if (certificates) {\n certificates.forEach((cert) => (idx[cert.Id] = cert.Name));\n }\n return idx;\n};\nexport { getCertificateIndex, CertificateIndex };\n","import { VariableType } from \"@octopusdeploy/octopus-server-client\";\nimport { uniq } from \"lodash\";\nimport type { FilterableValue } from \"~/areas/variables/VariableFilter/index\";\nimport { getCertificateIndex } from \"~/components/certificates\";\nimport { getWorkerPoolIndex } from \"~/components/workerPools\";\nconst collectCertificateAndWorkerPoolIndexes = async (values: Array) => {\n const certificates = getIdsForType(values, VariableType.Certificate);\n const workerPools = getIdsForType(values, VariableType.WorkerPool);\n const certificateIndex = certificates.length === 0 ? undefined : await getCertificateIndex(certificates);\n const poolIndex = workerPools.length === 0 ? undefined : await getWorkerPoolIndex(workerPools);\n return { certificateIndex, poolIndex };\n};\nconst getIdsForType = (values: Array, type: VariableType): string[] => {\n const ids = values\n .filter((val) => val.type === type)\n .map((val) => val.value)\n .filter((val): val is string => typeof val !== \"undefined\");\n return uniq(ids);\n};\nexport { collectCertificateAndWorkerPoolIndexes };\n","import type { WorkerPoolResource } from \"@octopusdeploy/octopus-server-client\";\nimport { repository } from \"~/clientInstance\";\nconst getWorkerPoolIndex = async (ids?: string[]): Promise => {\n const idx: {\n [poolId: string]: WorkerPoolResource;\n } = {};\n const pools = await repository.WorkerPools.all({ ids });\n if (pools) {\n pools.forEach((p) => (idx[p.Id] = p));\n }\n return idx;\n};\ninterface WorkerPoolIndex {\n [poolId: string]: WorkerPoolResource;\n}\nexport { getWorkerPoolIndex, WorkerPoolIndex };\n","/* eslint-disable @typescript-eslint/no-non-null-assertion */\nimport { links } from \"@octopusdeploy/portal-routes\";\nimport * as React from \"react\";\nimport type { AccountProps } from \"~/areas/infrastructure/components/AccountDisplay\";\nimport AccountDisplay from \"~/areas/infrastructure/components/AccountDisplay\";\nimport { repository } from \"~/clientInstance\";\nimport InternalLink from \"~/components/Navigation/InternalLink/InternalLink\";\nimport isBound from \"~/components/form/BoundField/isBound\";\nimport styles from \"./style.module.less\";\ntype AccountName = string;\ninterface ReadonlyAccountProps {\n account: AccountName | AccountProps | undefined;\n accountId: string;\n accountName?: string;\n className?: string;\n}\n// This component is supposed to be styled the same as a component.\n// This idea being that if they were side by side and the text component was not focused and did not have an underline,\n// then they would look identical\nconst ReadonlyAccount: React.SFC = ({ className, accountId, account, accountName }) => {\n const displayedAccountName = isAccountName(account) ? account : account?.name ?? accountId;\n return (
    \n
    \n {isBound(accountId) ? accountId : {displayedAccountName}}\n
    \n
    );\n};\nReadonlyAccount.displayName = \"ReadonlyAccount\"\ninterface ReadonlyAccountDisplayProps {\n accountId: string;\n accountName?: string;\n}\nfunction ReadonlyAccountDisplay({ accountId, accountName }: ReadonlyAccountDisplayProps) {\n if (accountName) {\n return ;\n }\n return }/>;\n}\nfunction isAccountName(account: AccountName | AccountProps | undefined): account is AccountName {\n return typeof account === \"string\";\n}\nexport default ReadonlyAccountDisplay;\n","import Default from \"./ReadonlyAccount\";\nexport * from \"./ReadonlyAccount\";\nexport default Default;\n","/* eslint-disable @typescript-eslint/no-non-null-assertion */\nimport { links } from \"@octopusdeploy/portal-routes\";\nimport * as React from \"react\";\nimport VariableCellIcon, { CellIcons } from \"~/areas/variables/VariableCellIcon\";\nimport { repository } from \"~/clientInstance\";\nimport InternalLink from \"~/components/Navigation/InternalLink/InternalLink\";\nimport { withTheme } from \"~/components/Theme\";\nimport type { CertificateIndex } from \"~/components/certificates\";\nimport styles from \"./style.module.less\";\ninterface ReadonlyCertificateProps {\n certificateIndex?: CertificateIndex;\n certificateId: string;\n certificateName?: string;\n className?: string;\n}\n// This component is supposed to be styled the same as a component.\n// This idea being that if they were side by side and the text component was not focused and did not have an underline,\n// then they would look identical\nconst ReadonlyCertificate: React.SFC = (props) => withTheme((theme) => {\n const certName = props.certificateName ? props.certificateName : props.certificateIndex && props.certificateIndex[props.certificateId] ? props.certificateIndex[props.certificateId] : props.certificateId;\n return (
    \n \n
    \n {certName}\n
    \n
    );\n});\nReadonlyCertificate.displayName = \"ReadonlyCertificate\"\nexport default ReadonlyCertificate;\n","import Default from \"./ReadonlyCertificate\";\nexport * from \"./ReadonlyCertificate\";\nexport default Default;\n","import * as React from \"react\";\nimport styles from \"./style.module.less\";\ninterface ResizeColumnHandleProps {\n isActive: boolean;\n}\nconst ResizeColumnHandle: React.SFC = (props) => {\n return (
    \n
    \n
    \n
    \n
    );\n};\nResizeColumnHandle.displayName = \"ResizeColumnHandle\"\nexport default ResizeColumnHandle;\n","/* eslint-disable @typescript-eslint/no-non-null-assertion */\n/* eslint-disable @typescript-eslint/no-explicit-any */\n/* eslint-disable @typescript-eslint/consistent-type-assertions */\nimport type { Modifier } from \"@dnd-kit/core\";\nimport { useDraggable } from \"@dnd-kit/core\";\nimport * as React from \"react\";\nimport ResizeColumnHandle from \"~/primitiveComponents/dataDisplay/ScrollTable/ResizeColumnHandle/ResizeColumnHandle\";\nexport interface ColumnMeasurements {\n rightWidth: number;\n leftWidth: number;\n rightMinimumWidth: number;\n leftMinimumWidth: number;\n}\ninterface DraggableResizeColumnHandleProps {\n columnIndex: number;\n isHovered: boolean;\n getColumnMeasurements(): ColumnMeasurements;\n}\nexport function DraggableResizeColumnHandle({ columnIndex, isHovered, getColumnMeasurements }: DraggableResizeColumnHandleProps) {\n const { attributes, listeners, setNodeRef, transform, isDragging, active } = useDraggable({\n id: `resize-handle-${columnIndex}`,\n data: {\n columnIndex,\n getColumnMeasurements,\n },\n });\n return (
    \n \n
    );\n}\nexport interface ResizeHandleDragData {\n columnIndex: number;\n getColumnMeasurements(): ColumnMeasurements;\n}\nexport function isResizeHandleDragData(value: unknown): value is ResizeHandleDragData {\n return (typeof value === \"object\" && value && \"getColumnMeasurements\" in value) ?? false;\n}\nexport const constrainResizeHandleDragDistance: Modifier = ({ transform, active }) => {\n const currentItemData = active?.data?.current;\n if (!currentItemData || !isResizeHandleDragData(currentItemData))\n return transform;\n const measurements = currentItemData.getColumnMeasurements();\n const transformX = getBoundedDeltaX(transform.x, measurements);\n return {\n ...transform,\n x: transformX,\n };\n};\nexport function getBoundedDeltaX(actualMouseDeltaX: number, measurements: ColumnMeasurements) {\n const boundedRightOffset = measurements.rightWidth - measurements.rightMinimumWidth;\n const boundedLeftOffset = -(measurements.leftWidth - measurements.leftMinimumWidth);\n return Math.min(boundedRightOffset, Math.max(actualMouseDeltaX, boundedLeftOffset));\n}\n","/* eslint-disable @typescript-eslint/no-non-null-assertion */\nimport * as React from \"react\";\nimport type { ColumnMeasurements } from \"~/primitiveComponents/dataDisplay/ScrollTable/DraggableResizeColumnHandle/DraggableResizeColumnHandle\";\nimport { DraggableResizeColumnHandle } from \"~/primitiveComponents/dataDisplay/ScrollTable/DraggableResizeColumnHandle/DraggableResizeColumnHandle\";\nimport styles from \"./style.module.less\";\ninterface AlignedScrollTableRowProps {\n cells: JSX.Element[];\n relativeColumnWidthsInPercent: ReadonlyArray;\n minimumColumnWidthsInPx: ReadonlyArray;\n showResizeHandles: boolean;\n onColumnWidthsChanged(newColumnWidths: ReadonlyArray): void;\n}\ninterface AlignedScrollTableRowState {\n isHovered: boolean;\n}\nclass AlignedScrollTableRow extends React.Component {\n private readonly columnSizeElements: {\n [index: number]: HTMLElement | null;\n } = {};\n constructor(props: AlignedScrollTableRowProps) {\n super(props);\n this.state = {\n isHovered: false,\n };\n }\n render() {\n return (
    this.setState({ isHovered: this.props.showResizeHandles })} onMouseLeave={() => this.setState({ isHovered: false })}>\n {this.props.cells.map((c, index) => {\n return (
    {\n if (this.props.showResizeHandles) {\n this.columnSizeElements[index] = el;\n }\n }}>\n {this.props.showResizeHandles && index > 0 && this.getMeasurements(index)}/>}\n
    {c}
    \n
    );\n })}\n
    );\n }\n private getMeasurements = (index: number): ColumnMeasurements => {\n const rightColumnIndex = index;\n const leftColumnIndex = index - 1;\n return {\n rightWidth: this.columnSizeElements[rightColumnIndex]!.offsetWidth,\n leftWidth: this.columnSizeElements[leftColumnIndex]!.offsetWidth,\n rightMinimumWidth: this.props.minimumColumnWidthsInPx[rightColumnIndex],\n leftMinimumWidth: this.props.minimumColumnWidthsInPx[leftColumnIndex],\n };\n };\n static displayName = \"AlignedScrollTableRow\";\n}\nexport function adjustColumnWidths(index: number, deltaX: number, initialColumnMeasurements: ColumnMeasurements, originalColumnWidths: ReadonlyArray) {\n const leftColumnIndex = index - 1;\n const rightColumnIndex = index;\n const newColumnWidths = [...originalColumnWidths];\n newColumnWidths[leftColumnIndex] = getNewColumnWidthInPercent(originalColumnWidths[leftColumnIndex], initialColumnMeasurements.leftWidth, deltaX);\n newColumnWidths[rightColumnIndex] = getNewColumnWidthInPercent(originalColumnWidths[rightColumnIndex], initialColumnMeasurements.rightWidth, -deltaX);\n return newColumnWidths;\n function getNewColumnWidthInPercent(originalColumnWidthInPercent: number, originalColumnWidth: number, changeInColumnWidth: number) {\n const newColumnWidth = originalColumnWidth + changeInColumnWidth;\n return (newColumnWidth / originalColumnWidth) * originalColumnWidthInPercent;\n }\n}\nfunction asPercentWidth(percent: number) {\n return { width: `${percent}%` };\n}\nexport default AlignedScrollTableRow;\n","export class BorderCss {\n constructor(readonly widthInRem: number, readonly style: BorderStyle, readonly color: string) { }\n get borderCssString() {\n return `${this.widthInRem}rem ${this.style} ${this.color}`;\n }\n}\nexport type BorderStyle = \"none\" | \"hidden\" | \"dotted\" | \"dashed\" | \"solid\" | \"double\" | \"groove\" | \"ridge\" | \"inset\" | \"outset\" | \"inherit\" | \"initial\" | \"unset\";\n","/* eslint-disable @typescript-eslint/no-non-null-assertion */\n/* eslint-disable @typescript-eslint/no-explicit-any */\nimport type { DragEndEvent } from \"@dnd-kit/core\";\nimport { DndContext } from \"@dnd-kit/core\";\nimport { useCurrentScrollArea } from \"@octopusdeploy/design-system-components\";\nimport { range } from \"lodash\";\nimport * as React from \"react\";\nimport { List as VirtualList, AutoSizer, WindowScroller } from \"react-virtualized\";\nimport type { OctopusTheme } from \"~/components/Theme\";\nimport { withTheme } from \"~/components/Theme\";\nimport AlignedScrollTableRow, { adjustColumnWidths } from \"~/primitiveComponents/dataDisplay/ScrollTable/AlignedScrollTableRow/AlignedScrollTableRow\";\nimport { BorderCss } from \"~/utils/BorderCss/BorderCss\";\nimport { constrainResizeHandleDragDistance, isResizeHandleDragData } from \"./DraggableResizeColumnHandle/DraggableResizeColumnHandle\";\nimport styles from \"./style.module.less\";\nexport interface CellAlignmentArgs {\n customColumnWidthsInPercent?: number[];\n showResizeHandles?: boolean;\n}\nexport type CellAligner = (cells: JSX.Element[], optionalArgs?: CellAlignmentArgs) => JSX.Element;\nexport interface RenderArgs {\n columnWidthsInPercent: ReadonlyArray;\n borderStyle: BorderCss;\n cellAligner: CellAligner;\n}\nexport interface RowRenderArgs extends RenderArgs {\n index: number;\n isVisible: boolean;\n}\ninterface SharedScrollTableProps {\n relativeColumnWidths: ReadonlyArray;\n minimumColumnWidthsInPx: ReadonlyArray;\n rowCount: number;\n overscanRowCount: number;\n shouldVirtualize: boolean;\n bodyContentWrapper?: (children: React.ReactNode) => JSX.Element;\n onColumnWidthsChanged(relativeColumnWidths: ReadonlyArray): void;\n rowHeight(index: number): number;\n headers(renderArgs: RenderArgs): React.ReactNode[];\n rowRenderer(rowRenderArgs: RowRenderArgs): React.ReactNode;\n}\ninterface ScrollTableInternalProps extends SharedScrollTableProps {\n scrollContainer: Element | undefined;\n}\ninterface ScrollTableState {\n}\nlet scrollTableCount = 0;\nfunction createBorderStyle(theme: OctopusTheme) {\n return new BorderCss(0.0625, \"solid\", theme.dividerLight);\n}\ninterface ScrollTableContentWrapperProps {\n wrappingComponent?: (children: React.ReactNode) => JSX.Element;\n children: React.ReactNode;\n}\nfunction ScrollTableContentWrapper(props: ScrollTableContentWrapperProps): JSX.Element {\n if (props.wrappingComponent) {\n return props.wrappingComponent(props.children);\n }\n return <>{props.children};\n}\nclass ScrollTableInternal extends React.Component {\n private readonly scrollTableId: number;\n private rowCellAligner: CellAligner = undefined!;\n private windowScroller: WindowScroller | null = null;\n private timeoutId?: number;\n private virtualList: VirtualList | null = null;\n constructor(props: ScrollTableInternalProps) {\n super(props);\n this.state = {};\n this.scrollTableId = scrollTableCount++;\n this.setRowCellAligner();\n }\n get relativeColumnWidthsInPercent() {\n return convertRelativeSizesToPercentages(this.props.relativeColumnWidths);\n }\n componentDidMount() {\n this.refreshWindowPosition();\n }\n componentWillUnmount() {\n if (this.timeoutId) {\n window.clearTimeout(this.timeoutId);\n }\n }\n render() {\n //React virtualized does the wrong thing when given the document or body elements as the\n //scrolling container. The default being undefined happens to assume these elements anyway,\n //forcing react virtualized to do the right thing.\n const scrollContainer = this.props.scrollContainer === document.documentElement || this.props.scrollContainer === document.body ? undefined : this.props.scrollContainer;\n return withTheme((theme) => {\n const borderStyle = createBorderStyle(theme);\n const headerRenderArgs: RenderArgs = {\n columnWidthsInPercent: this.relativeColumnWidthsInPercent,\n borderStyle,\n cellAligner: (cells, optionalArgs) => cellAlignerInner(cells, optionalArgs, this),\n };\n const rowRenderer: (args: any) => JSX.Element = (args: any) => {\n return this.renderRow(args, borderStyle);\n };\n return (\n
    \n {this.props.headers(headerRenderArgs).map((h, index) => {\n return
    {h}
    ;\n })}\n\n \n
    \n {this.props.shouldVirtualize && ( (this.windowScroller = windowScroller)}>\n {({ height, isScrolling, onChildScroll, scrollTop }) => (\n {({ width }) => ( this.props.rowHeight(index)} width={width} className={styles.virtualList} overscanRowCount={this.props.overscanRowCount} rowRenderer={rowRenderer} ref={(virtualList) => (this.virtualList = virtualList)}/>)}\n )}\n )}\n {!this.props.shouldVirtualize &&\n range(0, this.props.rowCount).map((ind) => {\n return rowRenderer({\n key: ind,\n index: ind,\n isVisible: true,\n style: {},\n });\n })}\n
    \n
    \n
    \n
    );\n });\n }\n handleColumnResizeEnd = (event: DragEndEvent) => {\n const dragItemData = event.active.data.current;\n if (!isResizeHandleDragData(dragItemData))\n return;\n const initialColumnMeasurements = dragItemData.getColumnMeasurements();\n const columnIndex = dragItemData.columnIndex;\n const deltaX = event.delta.x;\n const newRelativeColumnWidths = adjustColumnWidths(columnIndex, deltaX, initialColumnMeasurements, this.relativeColumnWidthsInPercent);\n this.onColumnWidthsChanged(newRelativeColumnWidths);\n };\n onColumnWidthsChanged = (newColumnWidths: ReadonlyArray) => {\n // Run it through convertRelativeSizesToPercentages again to ensure that everything is rounded appropriately\n // and adds up to exactly 100%\n this.props.onColumnWidthsChanged(convertRelativeSizesToPercentages(newColumnWidths));\n // For performance reasons, we use `shouldComponentUpdate` in the variable editor.\n // The cell aligner is one of the properties that we watch to determine whether to re-render a variable row\n // By changing the cell aligner function instance, we can trigger the rows to re-render.\n this.setRowCellAligner();\n if (this.virtualList) {\n // Need to tell the virtual list that something has changed and it must re-render\n this.virtualList.forceUpdateGrid();\n }\n };\n private renderRow({ key, index, isVisible, style }: any, borderStyle: BorderCss) {\n const cells = this.props.rowRenderer({\n columnWidthsInPercent: this.relativeColumnWidthsInPercent,\n index,\n isVisible,\n cellAligner: this.rowCellAligner,\n borderStyle,\n });\n return (
    \n {cells}\n
    );\n }\n private setRowCellAligner() {\n this.rowCellAligner = (cells: JSX.Element[], optionalArgs?: CellAlignmentArgs) => cellAlignerInner(cells, optionalArgs, this);\n }\n private refreshWindowPosition() {\n this.timeoutId = window.setTimeout(() => {\n if (this.windowScroller) {\n // https://github.com/bvaughn/react-virtualized/blob/master/docs/WindowScroller.md#updateposition\n // This needs to be called if anything above the table in the dom moves, so that the table\n // can re-evaluate its position w.r.t. the window. It is bad to have to be so coupled to whatever\n // is displayed above the table, so instead lets just re-check the position every 500ms\n // so we don't have to worry about it\n this.windowScroller.updatePosition();\n }\n this.refreshWindowPosition();\n }, 500);\n }\n static displayName = \"ScrollTableInternal\";\n}\nfunction cellAlignerInner(cells: JSX.Element[], optionalArgs: CellAlignmentArgs | undefined, scrollTable: ScrollTableInternal): JSX.Element {\n const emptyCellAlignmentArgs: CellAlignmentArgs = {};\n const { customColumnWidthsInPercent, showResizeHandles } = optionalArgs || emptyCellAlignmentArgs;\n return ();\n}\nfunction convertRelativeSizesToPercentages(relativeColumnSizes: ReadonlyArray) {\n const totalSize = sum(relativeColumnSizes);\n const allColumnsExceptLast = relativeColumnSizes.slice(0, relativeColumnSizes.length - 1);\n const columnSizePercentageExceptLast = allColumnsExceptLast.map((relativeColumnSize) => {\n return (relativeColumnSize / totalSize) * 100;\n });\n const lastColumnSize = 100 - sum(columnSizePercentageExceptLast);\n return [...columnSizePercentageExceptLast, lastColumnSize];\n function sum(numbers: ReadonlyArray) {\n return numbers.reduce((p, c) => p + c, 0);\n }\n}\ninterface ScrollTableProps extends SharedScrollTableProps {\n}\nfunction ScrollTable(props: ScrollTableProps) {\n const currentScrollArea = useCurrentScrollArea();\n return ;\n}\nexport default ScrollTable;\n","import { WorkerPoolType } from \"@octopusdeploy/octopus-server-client\";\nimport * as React from \"react\";\nimport { WorkerPoolChip } from \"~/components/Chips\";\nimport type { WorkerPoolIndex } from \"../workerPools\";\ninterface ReadonlyWorkerPoolProps {\n poolIndex?: WorkerPoolIndex;\n poolId: string;\n poolName?: string;\n poolType?: WorkerPoolType;\n}\nconst ReadonlyWorkerPool: React.SFC = (props) => {\n let poolName = props.poolName;\n let poolType = props.poolType;\n const poolResource = props.poolIndex && props.poolIndex[props.poolId];\n if (!poolName) {\n poolName = poolResource ? poolResource.Name : props.poolId;\n }\n if (!poolType) {\n poolType = poolResource ? poolResource.WorkerPoolType : WorkerPoolType.Static;\n }\n return ;\n};\nReadonlyWorkerPool.displayName = \"ReadonlyWorkerPool\"\nexport default ReadonlyWorkerPool;\n","import Default from \"./ReadonlyWorkerPool\";\nexport * from \"./ReadonlyWorkerPool\";\nexport default Default;\n","import type { Dictionary } from \"lodash\";\nimport { groupBy } from \"lodash\";\nexport default function groupVariablesByName(variableResources: ReadonlyArray, getName: (variable: TVariable) => string): Dictionary {\n const variablesByNormalizedName = groupBy([...variableResources], (v) => getName(v).toLowerCase());\n return Object.keys(variablesByNormalizedName)\n .map((normalizedName) => {\n const variables = variablesByNormalizedName[normalizedName];\n // This allows us to preserve original name for variables with single value\n const name = getName(variables[0]);\n return { name, variables };\n })\n .reduce>((dict, groupedVariables) => {\n // Don't refactor this `reduce` to a single line with spread operator;\n // It causes an O(n^2) (see https://prateeksurana.me/blog/why-using-object-spread-with-reduce-bad-idea/)\n dict[groupedVariables.name] = groupedVariables.variables;\n return dict;\n }, {});\n}\n","import type { FilterableValue } from \"~/areas/variables/VariableFilter/index\";\nconst isAnyValueScopedToTenantTags = (values: Array): boolean => values.some((val) => val.scope.TenantTag !== undefined && val.scope.TenantTag.length !== 0);\nexport { isAnyValueScopedToTenantTags };\n","/* eslint-disable @typescript-eslint/no-non-null-assertion */\nimport { VariableType } from \"@octopusdeploy/octopus-server-client\";\nimport type { ScopeValues } from \"@octopusdeploy/octopus-server-client\";\nimport { flatMap, flatten, isEqual, sum } from \"lodash\";\nimport * as React from \"react\";\nimport { connect } from \"react-redux\";\nimport type { Dispatch } from \"redux\";\nimport { bindActionCreators } from \"redux\";\nimport AccountDisplay from \"~/areas/infrastructure/components/AccountDisplay\";\nimport { fetchAllAccounts } from \"~/areas/infrastructure/reducers/accounts\";\nimport { SingleVariableRowHeight } from \"~/areas/variables/SingleVariableRow/SingleVariableRow\";\nimport { isLibraryVariableSetSource, isProjectVariableSource, isTenantProjectVariableSource } from \"~/areas/variables/SourceLink\";\nimport type { ValueSource } from \"~/areas/variables/SourceLink/SourceLink\";\nimport SourceLink, { getSourceLinkName } from \"~/areas/variables/SourceLink/SourceLink\";\nimport VariableCell from \"~/areas/variables/VariableCell/VariableCell\";\nimport VariableCellIcon, { CellIcons } from \"~/areas/variables/VariableCellIcon/VariableCellIcon\";\nimport { VariableEditorHeadings } from \"~/areas/variables/VariableEditorHeadings/VariableEditorHeadings\";\nimport type { FilterableValue } from \"~/areas/variables/VariableFilter/VariableFilter\";\nimport type { ValueMessages, VariableMessages } from \"~/areas/variables/VariableMessages/VariableMessages\";\nimport VariableNameAndDescriptionCell from \"~/areas/variables/VariableNameAndDescriptionCell/VariableNameAndDescriptionCell\";\nimport { FocusManagedVariableScope } from \"~/areas/variables/VariableScope/VariableScope\";\nimport { compareScopes, compareValues } from \"~/areas/variables/VariableSorting/sortVariables\";\nimport { collectCertificateAndWorkerPoolIndexes } from \"~/areas/variables/collectCertificateAndWorkerPoolIndexes\";\nimport type { DoBusyTask } from \"~/components/DataBaseComponent/DataBaseComponent\";\nimport ReadonlyAccount from \"~/components/ReadonlyAccount\";\nimport ReadonlyCertificate from \"~/components/ReadonlyCertificate\";\nimport ReadonlySensitive from \"~/components/ReadonlySensitive/ReadonlySensitive\";\nimport ReadonlyText from \"~/components/ReadonlyText/ReadonlyText\";\nimport { withTheme } from \"~/components/Theme\";\nimport type { CertificateIndex } from \"~/components/certificates\";\nimport { getTagIndex, type TagIndex } from \"~/components/tenantTagsets\";\nimport type { CellAligner } from \"~/primitiveComponents/dataDisplay/ScrollTable/ScrollTable\";\nimport ScrollTable from \"~/primitiveComponents/dataDisplay/ScrollTable/ScrollTable\";\nimport ToolTipMessages from \"~/primitiveComponents/dataDisplay/ToolTipMessages\";\nimport type { BorderCss } from \"~/utils/BorderCss/BorderCss\";\nimport ReadonlyWorkerPool from \"../../../components/ReadonlyWorkerPool\";\nimport type { WorkerPoolIndex } from \"../../../components/workerPools\";\nimport type { VariableRowRenderer } from \"../VariableRowRenderer\";\nimport groupVariablesByName from \"../groupVariablesByName\";\nimport { isAccountType } from \"../isAccountType\";\nimport { isAnyValueScopedToTenantTags } from \"../isAnyValueScopedToTenantTags\";\nimport styles from \"./style.module.less\";\ninterface VariableDisplayerProps {\n availableScopes: ScopeValues;\n isDisplayingFullWidth: boolean;\n variableSections: ReadonlyArray>;\n hideSource?: boolean;\n hideScope?: boolean;\n doBusyTask: DoBusyTask;\n sectionHeader?: {\n renderSectionHeader: (sectionIndex: number, cellAligner: CellAligner) => React.ReactNode;\n sectionHeaderRowHeight: number;\n };\n onLoad?(): void;\n}\ninterface VariableDisplayerState {\n tagIndex?: TagIndex;\n certificateIndex?: CertificateIndex;\n poolIndex?: WorkerPoolIndex;\n relativeColumnWidths: ReadonlyArray;\n measuredScopeCellWidth: number | undefined;\n}\nexport interface AdditionalFilter {\n value: string;\n fieldName: string;\n onValueChanged(value: string): void;\n}\nexport interface ValueWithSource extends FilterableValue {\n source: ValueSource;\n}\nexport interface VariableWithSource {\n name: string;\n values: ReadonlyArray;\n}\nconst rowHeight = 48;\nexport interface FilteredVariable {\n name: string;\n variableMessages: VariableMessages;\n values: ReadonlyArray;\n}\ninterface FilteredValue extends ValueWithSource {\n messages: ValueMessages;\n}\ntype Row = VariableRowRenderer | number; // number is for a section heading, and represents the index of the section\nclass VariableDisplayer extends React.Component {\n constructor(props: VariableDisplayerProps) {\n super(props);\n this.state = {\n relativeColumnWidths: this.getRelativeColumnWidths(props.hideScope!, props.hideSource!),\n measuredScopeCellWidth: undefined,\n };\n }\n flattenVariableSections = (variableSection: ReadonlyArray>) => flatMap(flatten(variableSection), (v) => v.values);\n setIndexes = async (values: FilteredValue[]) => {\n if (isAnyValueScopedToTenantTags(values)) {\n this.setState({ tagIndex: await getTagIndex() });\n }\n this.setState(await collectCertificateAndWorkerPoolIndexes(values));\n };\n async componentDidMount() {\n if (this.props.onLoad) {\n this.props.onLoad();\n }\n await this.props.doBusyTask(async () => {\n const values = this.flattenVariableSections(this.props.variableSections);\n await this.setIndexes(values);\n });\n }\n async componentDidUpdate(prevProps: VariableDisplayerProps) {\n if (!isEqual(prevProps.variableSections, this.props.variableSections)) {\n const values = this.flattenVariableSections(this.props.variableSections);\n await this.setIndexes(values);\n }\n }\n render() {\n return withTheme((theme) => {\n const orderedRows: ReadonlyArray = flatten(this.props.variableSections.map((section, index) => [index, ...flatMap(section, (variable) => [...this.getVariableRowRenderers(variable)])]));\n const rows: ReadonlyArray = this.props.sectionHeader ? orderedRows : orderedRows.filter((r) => !isSectionHeaderRow(r));\n return ( this.setState({ relativeColumnWidths })} rowCount={rows.length} overscanRowCount={10} rowHeight={(index) => this.getHeightForRow(rows[index])} shouldVirtualize={sum(this.props.variableSections.map((variables) => sum(variables.map((v) => v.values.length)))) > 100} headers={({ cellAligner, borderStyle, columnWidthsInPercent }) => [\n
    \n {\n if (index === 2) {\n this.setState({ measuredScopeCellWidth: width });\n }\n }} cellAligner={cellAligner} cells={[Name, Value, this.props.hideScope ? null! : Scope, this.props.hideSource ? null! : Source].filter((c) => !!c)}/>\n
    ,\n ]} rowRenderer={({ cellAligner, index, isVisible, columnWidthsInPercent, borderStyle }) => {\n const row = rows[index];\n if (isSectionHeaderRow(row)) {\n return
    {this.props.sectionHeader!.renderSectionHeader(row, cellAligner)}
    ;\n }\n return row.render(cellAligner, isVisible, this.props.isDisplayingFullWidth, borderStyle, columnWidthsInPercent);\n }}/>);\n });\n }\n private getRelativeColumnWidths(hideScope: boolean, hideSource: boolean) {\n const scopeAndSourceHidden = hideScope && hideSource;\n const scopeOrSourceHidden = hideScope || hideSource;\n if (scopeAndSourceHidden) {\n return [1, 4];\n }\n else if (scopeOrSourceHidden) {\n return [1, 4, 1];\n }\n else {\n return [3, 5, 3, 2];\n }\n }\n private getVariableRowRenderers(variable: FilteredVariable): ReadonlyArray {\n return variable.values.map((value, index) => ({\n height: rowHeight,\n render: (cellAligner: CellAligner, isVisible: boolean, isDisplayingFullWidth: boolean, borderStyle: BorderCss) => (
    \n {cellAligner([\n : undefined}/>,\n \n
    \n {this.renderPromptedVariableValueIcon(value)}\n {value.type === VariableType.Sensitive && }\n {value.type === VariableType.String && }\n {value.type === VariableType.Certificate && }\n {value.type === VariableType.WorkerPool && }\n {isAccountType(value.type) && ( (
    \n \n
    )}/>)}\n
    \n
    ,\n this.props.hideScope ? (null!) : (),\n this.props.hideSource ? (null!) : (\n \n ),\n ].filter((c) => !!c))}\n
    ),\n }));\n }\n private renderPromptedVariableValueIcon(v: FilteredValue) {\n return v.isPrompted && ;\n }\n private renderNameCell(name: string, index: number, variableMessages: VariableMessages) {\n const allWarningMessages = variableMessages && variableMessages.variableWarningMessages;\n return (\n {index === 0 ? :
    }\n \n );\n }\n private getHeightForRow(row: Row) {\n if (isSectionHeaderRow(row)) {\n return this.props.sectionHeader!.sectionHeaderRowHeight;\n }\n return row.height;\n }\n static displayName = \"VariableDisplayer\";\n}\nfunction isSectionHeaderRow(row: Row): row is number {\n return typeof row === \"number\";\n}\nexport function mergeAndSortVariables(variables: ReadonlyArray, availableScopes: ScopeValues): ReadonlyArray {\n const groupedByName = groupVariablesByName(variables, (v) => v.name);\n const merged = Object.keys(groupedByName).map((name) => ({ name, values: flatten(groupedByName[name].map((v) => [...v.values])) }));\n return merged.sort(compareVariablesName).map((v) => ({ name: v.name, values: [...v.values].sort(compareValuesWithSource) }));\n function compareVariablesName(l: VariableWithSource, r: VariableWithSource): number {\n return l.name.toLowerCase().localeCompare(r.name.toLowerCase());\n }\n function compareValuesWithSource(l: ValueWithSource, r: ValueWithSource) {\n return compareScopes(l.scope, r.scope, availableScopes) || compareSources(l.source, r.source) || compareValues(l, r);\n }\n}\nexport function compareSources(l: ValueSource, r: ValueSource) {\n return compareSourceType(l, r) || compareSourceName(l, r);\n}\nfunction compareSourceType(l: ValueSource, r: ValueSource) {\n return getSourceTypeOrder(l) - getSourceTypeOrder(r);\n}\nfunction getSourceTypeOrder(source: ValueSource) {\n if (isProjectVariableSource(source)) {\n return 1;\n }\n else if (isLibraryVariableSetSource(source)) {\n return 2;\n }\n else if (isTenantProjectVariableSource(source)) {\n return 3;\n }\n else {\n // Tenant variable set case\n return 4;\n }\n}\nfunction compareSourceName(l: ValueSource, r: ValueSource) {\n return getSourceLinkName(l).localeCompare(getSourceLinkName(r));\n}\n// eslint-disable-next-line @typescript-eslint/no-explicit-any\nconst mapGlobalStateToProps = (state: GlobalState, props: any) => ({});\nconst mapGlobalActionDispatchersToProps = (dispatch: Dispatch) => bindActionCreators({ onLoad: fetchAllAccounts }, dispatch);\nconst ConnectedVariableDisplayer = connect<{}, {}, VariableDisplayerProps, GlobalState>(mapGlobalStateToProps, mapGlobalActionDispatchersToProps)(VariableDisplayer);\nexport default ConnectedVariableDisplayer;\n","import { Checkbox } from \"@octopusdeploy/design-system-components\";\nimport * as React from \"react\";\nimport styles from \"./style.module.less\";\ninterface AdvancedFilterCheckboxProps {\n label: string;\n value: boolean;\n icon?: React.ReactNode;\n onChange(value: boolean): void;\n}\nexport const AdvancedFilterCheckbox: React.SFC = (props: AdvancedFilterCheckboxProps) => {\n return (
    \n \n {props.icon &&
    {props.icon}
    }\n
    );\n};\nAdvancedFilterCheckbox.displayName = \"AdvancedFilterCheckbox\"\n","import * as React from \"react\";\nimport DebounceValue from \"~/components/DebounceValue/DebounceValue\";\nimport type { TextProps } from \"~/primitiveComponents/form/Text/Text\";\nimport Text from \"~/primitiveComponents/form/Text/Text\";\ninterface AdvancedFilterTextInputProps {\n fieldName: string;\n value: string;\n onChange(value: string): void;\n disabled?: boolean;\n}\nconst DebouncedText = DebounceValue(Text);\nexport const AdvancedFilterTextInput: React.SFC = (props: AdvancedFilterTextInputProps) => {\n return ;\n};\nAdvancedFilterTextInput.displayName = \"AdvancedFilterTextInput\"\n","import Default from \"./AdvancedFilterLayout\";\nexport * from \"./Checkbox/AdvancedFilterCheckbox\";\nexport * from \"./Text/AdvancedFilterTextInput\";\nexport * from \"./AdvancedFilterLayout\";\nexport default Default;\n","/* eslint-disable @typescript-eslint/consistent-type-assertions */\nimport type { ScopeValues } from \"@octopusdeploy/octopus-server-client\";\nimport { sum, isEqual, compact } from \"lodash\";\nimport * as React from \"react\";\nimport type { VariableFilter } from \"~/areas/variables/VariableFilter/VariableFilter\";\nimport type { AllVariableMessages } from \"~/areas/variables/VariableMessages/VariableMessages\";\nimport AdvancedFilterLayout, { AdvancedFilterTextInput, AdvancedFilterCheckbox } from \"~/components/AdvancedFilterLayout\";\nimport type { FilterSection } from \"~/components/AdvancedFilterLayout\";\nimport { AdvancedTenantTagsSelector } from \"~/components/AdvancedTenantSelector/AdvancedTenantSelector\";\nimport type { DoBusyTask } from \"~/components/DataBaseComponent/DataBaseComponent\";\nimport FilterSearchBox from \"~/components/FilterSearchBox/FilterSearchBox\";\nimport { ChannelMultiSelect } from \"~/components/MultiSelect/ChannelMultiSelect\";\nimport { EnvironmentMultiSelect } from \"~/components/MultiSelect/EnvironmentMultiSelect\";\nimport { MachineMultiSelect } from \"~/components/MultiSelect/MachineMultiSelect\";\nimport ProcessMultiSelect from \"~/components/MultiSelect/ProcessMultiSelect\";\nimport { StepMultiSelect } from \"~/components/MultiSelect/StepMultiSelect\";\nimport { TargetTagMultiSelect } from \"~/components/MultiSelect/TargetTagMultiSelect\";\nimport WarningIcon from \"~/components/WarningIcon\";\nimport type { VariableEditorScope } from \"../VariableEditor/types\";\nimport { isProjectScoped } from \"../VariableEditor/types\";\nexport interface VariableFilterLayoutProps {\n filter: TVariableFilter;\n queryFilter: TVariableFilter;\n defaultFilter: TVariableFilter;\n availableScopes: ScopeValues;\n messages: AllVariableMessages;\n children?: React.ReactNode;\n extraFilters?: React.ReactNode;\n isTenanted: boolean; //only show tenant filter options it if there's tenant support\n alwaysShowCheckboxFilters?: boolean;\n hideAdvancedFilters?: boolean;\n doBusyTask: DoBusyTask;\n onFilterChanged(filter: TVariableFilter): void;\n renderContent(filterPanelIsVisible: boolean): React.ReactNode;\n editorScope: VariableEditorScope;\n}\n// typing for Layout is not quite correct (should be of type ), but if we move the class definition inside the function,\n// we will be creating a new type every render, which will result in an infinite render loop since components from subsequent renders\n// cannot be consolidated\nclass Layout extends AdvancedFilterLayout {\n}\nfunction VariableFilterLayout(props: VariableFilterLayoutProps) {\n return ( {\n props.onFilterChanged(filter);\n }} renderContent={props.renderContent} additionalHeaderFilters={[ onFilterChanged(props.filter, { name })}/>]}/>);\n function onFilterChanged(filter: TVariableFilter, partialFilter: Partial) {\n const variableFilter: TVariableFilter = { ...filter, ...partialFilter };\n props.onFilterChanged(variableFilter);\n }\n //TODO: revisit and remove casts for scope, string[]\n function createFilterSections(filter: TVariableFilter, defaultFilter: TVariableFilter): FilterSection[] {\n if (props.hideAdvancedFilters) {\n return [];\n }\n return compact([\n {\n render: (
    \n {renderErrorFilters(filter)}\n onFilterChanged(filter, { value })}/>\n onFilterChanged(filter, { description })}/>\n {props.extraFilters}\n
    ),\n },\n {\n sectionName: \"Scope\",\n isNotDefaultFilter: !isEqual(filter.scope.Environment, defaultFilter.scope.Environment) ||\n !isEqual(filter.scope.Role, defaultFilter.scope.Role) ||\n !isEqual(filter.scope.Machine, defaultFilter.scope.Machine) ||\n !isEqual(filter.scope.Action, defaultFilter.scope.Action) ||\n !isEqual(filter.scope.Channel, defaultFilter.scope.Channel) ||\n !isEqual(filter.scope.ProcessOwner, defaultFilter.scope.ProcessOwner),\n render: (
    \n onFilterChanged(filter, { scope: { ...filter.scope, Environment } })} value={filter.scope.Environment ? [...(filter.scope.Environment as string[])] : []} items={props.availableScopes.Environments}/>\n\n onFilterChanged(filter, { scope: { ...filter.scope, Role } })} value={filter.scope.Role ? [...(filter.scope.Role as string[])] : []} items={props.availableScopes.Roles.map((r) => r.Id)}/>\n\n onFilterChanged(filter, { scope: { ...filter.scope, Machine } })} value={filter.scope.Machine ? [...(filter.scope.Machine as string[])] : []} items={props.availableScopes.Machines}/>\n\n {isProjectScoped(props.editorScope) && ( onFilterChanged(filter, { scope: { ...filter.scope, ProcessOwner: processes } })}/>)}\n\n {isProjectScoped(props.editorScope) && ( onFilterChanged(filter, { scope: { ...filter.scope, Action } })} value={filter.scope.Action ? [...(filter.scope.Action as string[])] : []} items={props.availableScopes.Actions}/>)}\n\n {isProjectScoped(props.editorScope) && ( onFilterChanged(filter, { scope: { ...filter.scope, Channel } })} value={filter.scope.Channel ? [...(filter.scope.Channel as string[])] : []} items={props.availableScopes.Channels}/>)}\n
    ),\n },\n !props.isTenanted\n ? null\n : {\n sectionName: \"Tenant tag set\",\n // Ignore TenantTag scope values here (like the old portal)\n // because you can select any tenant, and the selector component here loads them all\n isNotDefaultFilter: !isEqual(filter.scope.TenantTag, defaultFilter.scope.TenantTag),\n render: ( onFilterChanged(filter, { scope: { ...filter.scope, TenantTag } })} doBusyTask={props.doBusyTask} showPreviewButton={true}/>),\n },\n ]);\n }\n function renderErrorFilters(filter: TVariableFilter) {\n const groupMessages = props.messages.variableMessages;\n const emptyValuesCount = sum(groupMessages.map((gw) => gw.valuesMessages.filter((vw) => vw.hasEmptyValue).length));\n const variableSubstitutionSyntaxCount = sum(groupMessages.map((gw) => gw.valuesMessages.filter((vw) => vw.hasVariableSubstitutionSyntax).length));\n const duplicateNameCount = props.messages.duplicateVariableNames.length;\n const nonPrintableCharactersCountInNames = groupMessages.filter((gw) => gw.nameNonPrintableCharacter).length;\n const nonPrintableCharactersCountInValues = sum(groupMessages.map((gw) => gw.valuesMessages.filter((vw) => vw.valueNonPrintableCharacter).length));\n const nonPrintableCharactersCount = nonPrintableCharactersCountInNames + nonPrintableCharactersCountInValues;\n return (
    \n {(emptyValuesCount > 0 || props.alwaysShowCheckboxFilters) && onFilterChanged(filter, { filterEmptyValues })} label=\"Empty values\"/>}\n\n {(duplicateNameCount > 0 || props.alwaysShowCheckboxFilters) && ( onFilterChanged(filter, { filterDuplicateNames })} label=\"Duplicate names\" icon={}/>)}\n\n {(nonPrintableCharactersCount > 0 || props.alwaysShowCheckboxFilters) && ( onFilterChanged(filter, { filterNonPrintableCharacters })} label=\"Non-printable characters\" icon={}/>)}\n\n {(variableSubstitutionSyntaxCount > 0 || props.alwaysShowCheckboxFilters) && ( onFilterChanged(filter, { filterVariableSubstitutionSyntax })} label=\"Using variable substitution syntax\" icon={}/>)}\n
    );\n }\n}\nexport default VariableFilterLayout;\n","/* eslint-disable @typescript-eslint/no-non-null-assertion */\nimport { VariableType } from \"@octopusdeploy/octopus-server-client\";\nimport { compact, groupBy, memoize } from \"lodash\";\nimport type { FilterableValue } from \"~/areas/variables/VariableFilter/VariableFilter\";\nexport interface AllVariableMessages {\n readonly duplicateVariableNames: ReadonlyArray;\n readonly variableMessages: ReadonlyArray;\n}\nexport interface VariableMessages {\n readonly hasDuplicateName: boolean;\n readonly valuesMessages: ReadonlyArray;\n readonly nameNonPrintableCharacter?: DiscoveredNonPrintableCharacter;\n readonly variableWarningMessages: ReadonlyArray;\n readonly variableNameNonPrintableCharacterWarningMessages: ReadonlyArray;\n}\nexport interface ValueMessages {\n readonly hasEmptyValue: boolean;\n readonly hasVariableSubstitutionSyntax: boolean;\n readonly valueNonPrintableCharacter?: DiscoveredNonPrintableCharacter;\n readonly valueWarningMessages: ReadonlyArray;\n readonly valueNonPrintableCharacterWarningMessages: ReadonlyArray;\n readonly variableSubtitutionSyntaxWarningMessage: string | null;\n}\nexport interface DuplicatedVariableName {\n readonly normalizedName: string;\n readonly originalNames: ReadonlyArray;\n}\n// We want to skip warnings for some values or variables (eg if they are marked as 'deleted')\ntype SkipWarningDetection = null;\nexport default function getVariablesMessages(variables: ReadonlyArray, getVariableName: (variable: TVariable) => string, getFilterableValues: (variable: TVariable) => ReadonlyArray): AllVariableMessages {\n return new AllVariableMessagesImpl(variables, getVariableName, getFilterableValues);\n}\nclass AllVariableMessagesImpl implements AllVariableMessages {\n private readonly getAllDuplicateVariableNames: () => ReadonlyArray;\n private readonly getVariableMessages: () => ReadonlyArray;\n constructor(variables: ReadonlyArray, getVariableName: (variable: TVariable) => string, getFilterableValues: (variable: TVariable) => ReadonlyArray) {\n this.getAllDuplicateVariableNames = memoize<() => ReadonlyArray>(() => getAllDuplicateVariableNames(variables, getVariableName, getFilterableValues));\n this.getVariableMessages = memoize<() => ReadonlyArray>(() => variables.map((variable) => {\n return new VariableMessagesImpl(variable, getVariableName, getFilterableValues, () => this.duplicateVariableNames);\n }));\n }\n get duplicateVariableNames() {\n return this.getAllDuplicateVariableNames();\n }\n get variableMessages() {\n return this.getVariableMessages();\n }\n}\nfunction getAllDuplicateVariableNames(variables: ReadonlyArray, getVariableName: (variable: TVariable) => string, getFilterableValues: (variable: TVariable) => ReadonlyArray): ReadonlyArray {\n const nonSkippedVariables = variables.filter((g) => getFilterableValues(g).some((v) => !!v));\n const variableNamesLower = groupBy(nonSkippedVariables.map(getVariableName), (n) => n.toLowerCase());\n return Object.keys(variableNamesLower)\n .filter((n) => variableNamesLower[n].length > 1)\n .map((n) => ({ normalizedName: n, originalNames: variableNamesLower[n] }));\n}\nclass VariableMessagesImpl implements VariableMessages {\n private readonly getVariableName: () => string;\n private readonly innerHasDuplicateName: () => boolean;\n private readonly getFilterableVariables: () => ReadonlyArray;\n private readonly getNonSkippedVariables: () => ReadonlyArray;\n private readonly getVariableMessages: () => ReadonlyArray;\n private readonly getNonPrintableCharacter: () => DiscoveredNonPrintableCharacter | null;\n constructor(variable: TVariable, getVariableName: (variable: TVariable) => string, getFilterableVariables: (variable: TVariable) => ReadonlyArray, getAllDuplicateVariableNamesLower: () => ReadonlyArray) {\n this.getVariableName = memoize(() => getVariableName(variable));\n this.innerHasDuplicateName = memoize(() => getAllDuplicateVariableNamesLower()\n .map((dn) => dn.normalizedName)\n .includes(this.getVariableName().toLowerCase()));\n this.getFilterableVariables = memoize(() => getFilterableVariables(variable));\n this.getNonSkippedVariables = memoize<() => ReadonlyArray>(() => compact(this.getFilterableVariables()));\n this.getVariableMessages = memoize<() => ReadonlyArray>(() => this.getFilterableVariables().map((v) => new ValueMessagesImpl(this.getVariableName(), v)));\n this.getNonPrintableCharacter = memoize(() => getNonPrintableCharacter(this.getVariableName()));\n }\n get variableWarningMessages(): ReadonlyArray {\n return [...this.getDuplicateNameWarnings(), ...this.variableNameNonPrintableCharacterWarningMessages];\n }\n private getDuplicateNameWarnings(): ReadonlyArray {\n // There is a different form of this warning that is shown on save\n return this.hasDuplicateName ? [\"duplicate name\"] : [];\n }\n get hasDuplicateName() {\n if (this.shouldIgnoreWarnings) {\n return false;\n }\n return this.innerHasDuplicateName();\n }\n get variableNameNonPrintableCharacterWarningMessages(): ReadonlyArray {\n return this.nameNonPrintableCharacter ? [createNonPrintableCharacterWarning(\"name\", this.getVariableName(), this.nameNonPrintableCharacter)] : [];\n }\n get nameNonPrintableCharacter() {\n if (this.shouldIgnoreWarnings) {\n return undefined;\n }\n return this.getNonPrintableCharacter()!;\n }\n get valuesMessages() {\n return this.getVariableMessages();\n }\n private get shouldIgnoreWarnings() {\n return !this.getNonSkippedVariables().length;\n }\n}\nclass ValueMessagesImpl implements ValueMessages {\n private readonly getNonPrintableCharacter: () => DiscoveredNonPrintableCharacter | null;\n constructor(private readonly variableGroupName: string, private readonly variable: FilterableValue | SkipWarningDetection) {\n this.getNonPrintableCharacter = memoize(() => getNonPrintableCharacter(variable?.value || \"\"));\n }\n get valueWarningMessages(): ReadonlyArray {\n const warnings = [...this.valueNonPrintableCharacterWarningMessages];\n const subtitutionSyntaxWarning = this.variableSubtitutionSyntaxWarningMessage;\n if (subtitutionSyntaxWarning) {\n warnings.push(subtitutionSyntaxWarning);\n }\n return warnings;\n }\n get hasEmptyValue() {\n if (this.shouldIgnoreWarnings) {\n return false;\n }\n if (this.variable!.isPrompted || // Prompted variables don't need to have a value specified\n this.variable!.type === VariableType.Sensitive) {\n // Sensitive variables always have a value\n return false;\n }\n return !this.variable!.value;\n }\n get hasVariableSubstitutionSyntax() {\n if (this.shouldIgnoreWarnings) {\n return false;\n }\n return this.variableSubtitutionSyntaxWarningMessage !== null;\n }\n get variableSubtitutionSyntaxWarningMessage(): string | null {\n return createVariableSubstitutionWarning(this.variableGroupName, this.variable!);\n }\n get valueNonPrintableCharacterWarningMessages(): ReadonlyArray {\n return this.valueNonPrintableCharacter ? [createNonPrintableCharacterWarning(\"value\", this.variableGroupName, this.valueNonPrintableCharacter)] : [];\n }\n get valueNonPrintableCharacter() {\n if (this.shouldIgnoreWarnings) {\n return undefined;\n }\n return this.getNonPrintableCharacter()!;\n }\n private get shouldIgnoreWarnings() {\n return !this.variable;\n }\n}\nfunction createNonPrintableCharacterWarning(property: string, variableGroupName: string, nonPrintableCharacter: DiscoveredNonPrintableCharacter) {\n return `${property} of variable '${variableGroupName}' contains characters which may not be visible: ` + `(Position: ${nonPrintableCharacter.position}, Unicode value: U+${nonPrintableCharacter.unicode})`;\n}\nexport interface DiscoveredNonPrintableCharacter {\n position: number;\n unicode: string;\n}\nfunction createVariableSubstitutionWarning(variableGroupName: string, variable: FilterableValue): string | null {\n if (!variable || variable.type !== VariableType.Sensitive) {\n return null;\n }\n return variableSubstitutionSyntaxWarning(variableGroupName, variable.value!);\n}\nconst variableSubstitutionSyntaxWarning = (variableGroupName: string, value: string) => {\n if (value && value.includes(\"##{\")) {\n return variableGroupName;\n }\n return null;\n};\nfunction getNonPrintableCharacter(checkText: string): DiscoveredNonPrintableCharacter | null {\n // Match Zero Width and Left/Right marks\n // https://en.wikibooks.org/wiki/Unicode/Character_reference/2000-2FFF\n const match = /[\\u200b-\\u200f]/.exec(checkText);\n return !!match && match.index !== -1\n ? {\n position: match.index,\n unicode: unicodeAtPosition(checkText, match.index),\n }\n : null;\n function unicodeAtPosition(txt: string, index: number) {\n const leadingZeros = \"0000\";\n return (leadingZeros + txt.charCodeAt(index)).substr(-4, 4);\n }\n}\n","/* eslint-disable @typescript-eslint/no-non-null-assertion */\n/* eslint-disable @typescript-eslint/no-explicit-any */\n/* eslint-disable @typescript-eslint/consistent-type-assertions */\nimport type { ScopeValues } from \"@octopusdeploy/octopus-server-client\";\nimport { flatten, zip } from \"lodash\";\nimport * as React from \"react\";\nimport { connect } from \"react-redux\";\nimport type { Dispatch } from \"redux\";\nimport { bindActionCreators } from \"redux\";\nimport { fetchAllAccounts } from \"~/areas/infrastructure/reducers/accounts\";\nimport { getSourceLinkName } from \"~/areas/variables/SourceLink/SourceLink\";\nimport VariableDisplayer, { mergeAndSortVariables } from \"~/areas/variables/VariableDisplayer/VariableDisplayer\";\nimport type { VariableFilter, VariableQuery } from \"~/areas/variables/VariableFilter\";\nimport { containsFilter, createEmptyFilter, filterVariableGroups, matchesFilter } from \"~/areas/variables/VariableFilter/VariableFilter\";\nimport { default as VariableFilterLayout } from \"~/areas/variables/VariableFilterLayout/VariableFilterLayout\";\nimport type { VariableFilterLayoutProps } from \"~/areas/variables/VariableFilterLayout/VariableFilterLayout\";\nimport getVariablesMessages from \"~/areas/variables/VariableMessages/VariableMessages\";\nimport type { AllVariableMessages, VariableMessages, ValueMessages } from \"~/areas/variables/VariableMessages/VariableMessages\";\nimport { AdvancedFilterTextInput } from \"~/components/AdvancedFilterLayout\";\nimport type { DoBusyTask } from \"~/components/DataBaseComponent/DataBaseComponent\";\nimport { QueryStringFilters } from \"~/components/QueryStringFilters/QueryStringFilters\";\nimport type { CellAligner } from \"~/primitiveComponents/dataDisplay/ScrollTable/ScrollTable\";\nimport { arrayValueFromQueryString } from \"~/utils/ParseHelper/ParseHelper\";\nimport { type VariableWithSource, type AdditionalFilter, type FilteredVariable, type ValueWithSource } from \".\";\ninterface VariableDisplayerFilter extends VariableFilter {\n source: string;\n additional?: string;\n}\ninterface VariableDisplayerQuery extends VariableQuery {\n source?: string;\n}\nconst FilterLayout: React.SFC> = (props) => VariableFilterLayout(props);\nFilterLayout.displayName = \"FilterLayout\"\nconst VariableQueryStringFilters = QueryStringFilters.For();\ninterface FilteredVariableDisplayerProps {\n availableScopes: ScopeValues;\n variableSections: ReadonlyArray>;\n hideSource?: boolean;\n hideScope?: boolean;\n isTenanted?: boolean; // will be overridden in here, if there is tenant related variable scoping\n alwaysShowCheckboxFilters?: boolean;\n hideAdvancedFilters?: boolean;\n doBusyTask: DoBusyTask;\n additionalFilter?: AdditionalFilter;\n sectionHeader?: {\n renderSectionHeader: (sectionIndex: number, cellAligner: CellAligner) => React.ReactNode;\n sectionHeaderRowHeight: number;\n };\n shouldHideSectionContent?(sectionIndex: number): boolean;\n onLoad?(): void;\n disableQueryStringFilters?: boolean;\n}\ninterface FilteredVariableDisplayerState {\n filter: VariableDisplayerFilter;\n queryFilter?: VariableDisplayerFilter;\n}\nclass FilterableVariableDisplayer extends React.Component {\n constructor(props: FilteredVariableDisplayerProps) {\n super(props);\n this.state = {\n filter: { ...createEmptyFilter(), source: \"\", additional: \"\" },\n };\n }\n render() {\n const variableSections = this.props.variableSections.map((variables) => mergeAndSortVariables(variables, this.props.availableScopes));\n const variableMessages = variableSections.map((variables) => getVariablesMessages(variables, (v) => v.name, (v) => v.values));\n const filteredVariableSections = variableSections.map((variables, index) => {\n return this.getFilteredVariables(variables, variableMessages[index], index);\n });\n const allVariableMessages: AllVariableMessages = this.combineMessages(variableMessages);\n const queryStringFilters = !this.props.disableQueryStringFilters && ( this.setState({ filter, queryFilter: filter })}/>);\n return [\n queryStringFilters,\n {\n this.setState({ filter });\n if (this.props.additionalFilter) {\n this.props.additionalFilter.onValueChanged(filter.additional!);\n }\n }} alwaysShowCheckboxFilters={this.props.alwaysShowCheckboxFilters} hideAdvancedFilters={this.props.hideAdvancedFilters} isTenanted={this.isTenantedOrHasTenantScopingOnVariables(variableSections)} doBusyTask={this.props.doBusyTask} extraFilters={[\n !this.props.hideSource && this.setState({ filter: { ...this.state.filter, source } })}/>,\n this.props.additionalFilter && ,\n ]} renderContent={(filterPanelIsVisible) => ()} editorScope=\"Unscoped\"/>,\n ];\n }\n private isTenantedOrHasTenantScopingOnVariables(variableSections: ReadonlyArray>) {\n // if we were told true then just show it, otherwise check for TenantTags\n const variables = flatten(flatten(variableSections.map((s) => [...s]))\n .filter((v: any) => !!v.variables)\n .map((v: any) => v.variables));\n const tenantTagsExist = variables.some((v: any) => !!v.scope.TenantTag && v.scope.TenantTag.length > 0);\n return this.props.isTenanted || tenantTagsExist;\n }\n private combineMessages(variableMessages: AllVariableMessages[]) {\n return variableMessages.reduce((p, c) => {\n return {\n duplicateVariableNames: [...p.duplicateVariableNames, ...c.duplicateVariableNames],\n variableMessages: [...p.variableMessages, ...c.variableMessages],\n };\n }, {\n duplicateVariableNames: [],\n variableMessages: [],\n });\n }\n private queryFromFilters = (filter: VariableDisplayerFilter): VariableDisplayerQuery => {\n const query: VariableDisplayerQuery = {\n name: filter.name,\n value: filter.value,\n description: filter.description,\n source: filter.source,\n filterEmptyValues: filter.filterEmptyValues ? \"true\" : undefined,\n filterDuplicateNames: filter.filterDuplicateNames ? \"true\" : undefined,\n filterNonPrintableCharacters: filter.filterNonPrintableCharacters ? \"true\" : undefined,\n filterVariableSubstitutionSyntax: filter.filterVariableSubstitutionSyntax ? \"true\" : undefined,\n environment: [...(filter.scope.Environment! as string[])],\n machine: [...(filter.scope.Machine! as string[])],\n role: [...(filter.scope.Role! as string[])],\n action: [...(filter.scope.Action! as string[])],\n channel: [...(filter.scope.Channel! as string[])],\n tenantTag: [...(filter.scope.TenantTag! as string[])],\n };\n return query;\n };\n private getFilter = (query: VariableDisplayerQuery): VariableDisplayerFilter => {\n const filter: VariableDisplayerFilter = {\n name: query.name || \"\",\n value: query.value || \"\",\n description: query.description || \"\",\n source: query.source || \"\",\n filterEmptyValues: query.filterEmptyValues === \"true\",\n filterDuplicateNames: query.filterDuplicateNames === \"true\",\n filterNonPrintableCharacters: query.filterNonPrintableCharacters === \"true\",\n filterVariableSubstitutionSyntax: query.filterVariableSubstitutionSyntax === \"true\",\n scope: {\n Environment: arrayValueFromQueryString(query.environment),\n Machine: arrayValueFromQueryString(query.machine),\n Role: arrayValueFromQueryString(query.role),\n Action: arrayValueFromQueryString(query.action),\n Channel: arrayValueFromQueryString(query.channel),\n TenantTag: arrayValueFromQueryString(query.tenantTag),\n },\n };\n return filter;\n };\n private getFilteredVariables(variables: ReadonlyArray, messages: AllVariableMessages, variableSectionIndex: any): ReadonlyArray {\n const variablesWithMessages = zip(variables, messages.variableMessages).map((gz) => {\n const variable = gz[0] as VariableWithSource;\n const variableMessages = gz[1] as VariableMessages;\n const filteredVariables = zip(variable.values, variableMessages.valuesMessages)\n .map((vz) => {\n const value = vz[0] as ValueWithSource;\n const valueMessages = vz[1] as ValueMessages;\n return {\n ...value,\n messages: valueMessages,\n };\n })\n .filter((v) => {\n const matchesSourceFilter = containsFilter(getSourceLinkName(v.source), this.state.filter.source);\n const shouldHideSectionContent = this.props.shouldHideSectionContent ? this.props.shouldHideSectionContent(variableSectionIndex) : false;\n return matchesFilter(v, variableMessages, v.messages, this.state.filter) && matchesSourceFilter && !shouldHideSectionContent;\n });\n return {\n name: variable.name,\n variableMessages,\n values: filteredVariables,\n };\n });\n return filterVariableGroups(variablesWithMessages, messages, this.state.filter, (g) => g.name)\n .filter((g) => g.matchesFilter)\n .map((g) => g.group);\n }\n static displayName = \"FilterableVariableDisplayer\";\n}\nconst mapGlobalActionDispatchersToProps = (dispatch: Dispatch) => bindActionCreators({ onLoad: fetchAllAccounts }, dispatch);\nconst ConnectedFilteredVariableDisplayer = connect<{}, {}, FilteredVariableDisplayerProps>(null, mapGlobalActionDispatchersToProps)(FilterableVariableDisplayer);\nexport default ConnectedFilteredVariableDisplayer;\n","/* eslint-disable @typescript-eslint/no-non-null-assertion */\nimport type { VariableResource } from \"@octopusdeploy/octopus-server-client\";\nimport type { ValueSource } from \"~/areas/variables/SourceLink/SourceLink\";\nimport type { ValueWithSource } from \"~/areas/variables/VariableDisplayer/VariableDisplayer\";\nimport type { VariableWithSource } from \"./VariableDisplayer\";\nimport { default as groupVariablesByName } from \"./groupVariablesByName\";\nfunction convertVariableResourceToValueWithSource(variable: VariableResource, source: ValueSource): ValueWithSource {\n return {\n description: variable.Description,\n type: variable.Type,\n scope: variable.Scope,\n value: variable.Value!,\n source,\n isPrompted: !!variable.Prompt,\n };\n}\nexport function convertVariableResourcesToVariablesWithSource(variableResources: VariableResource[], source: ValueSource): VariableWithSource[] {\n const groupedByName = groupVariablesByName(variableResources, (v) => v.Name);\n return Object.keys(groupedByName).map((name) => ({ name, values: convertVariableResourcesToValuesWithSource(groupedByName[name], source) }));\n}\nfunction convertVariableResourcesToValuesWithSource(resources: VariableResource[], source: ValueSource): ReadonlyArray {\n return resources.map((r) => convertVariableResourceToValueWithSource(r, source));\n}\n","import { ControlType, HasVariablesInGit, Permission, VariableType } from \"@octopusdeploy/octopus-server-client\";\nimport type { LibraryVariableSetResource, ProjectResource, TenantResource, TenantVariableResource, ScopeValues, VariableSetResource, ResourcesById } from \"@octopusdeploy/octopus-server-client\";\nimport { flatten } from \"lodash\";\nimport * as React from \"react\";\nimport { ProjectPageTitleAccessory } from \"~/areas/projects/components/ProjectPageTitleAccessory\";\nimport { useProjectContext } from \"~/areas/projects/context\";\nimport mergeScopeValues from \"~/areas/variables/MergeScopeValues\";\nimport FilterableVariableDisplayer from \"~/areas/variables/VariableDisplayer/FilterableVariableDisplayer\";\nimport type { ValueWithSource } from \"~/areas/variables/VariableDisplayer/VariableDisplayer\";\nimport { convertVariableResourcesToVariablesWithSource } from \"~/areas/variables/convertVariableResourcesToVariablesWithSource\";\nimport { repository } from \"~/clientInstance\";\nimport type { DoBusyTask, Errors } from \"~/components/DataBaseComponent\";\nimport DataBaseComponent, { useDoBusyTaskEffect } from \"~/components/DataBaseComponent\";\nimport { isFeatureToggleEnabled } from \"~/components/FeatureToggle/New/FeatureToggleContext\";\nimport { PageContent } from \"~/components/PageContent/PageContent\";\nimport { isAllowed } from \"~/components/PermissionCheck/PermissionCheck\";\nimport convertPropertyValueResourceToString from \"~/components/convertPropertyValueResourceToString\";\nimport { timeOperationOptions } from \"~/utils/OperationTimer/timeOperation\";\nimport type { ValueSource } from \"../../../../variables/SourceLink/SourceLink\";\nimport type { VariableWithSource } from \"../../../../variables/VariableDisplayer\";\nimport { default as groupVariablesByName } from \"../../../../variables/groupVariablesByName\";\ninterface LibraryVariableSetWithVariables {\n variableSet: VariableSetResource;\n libraryVariableSet: LibraryVariableSetResource;\n}\ntype AllVariablesProps = {\n doBusyTask: DoBusyTask;\n errors?: Errors;\n busy?: Promise;\n};\nconst AllVariables: React.FC = (props: AllVariablesProps) => {\n const allVariables = useAllVariablesDataLoading(props.doBusyTask);\n const projectContext = useProjectContext();\n const { model: project } = projectContext.state;\n const getVariables = (): ReadonlyArray => {\n if (!allVariables.projectVariableSet) {\n return [];\n }\n return [\n ...buildProjectVariables(project, allVariables.projectVariableSet),\n ...buildLibraryVariableSetVariables(allVariables.libraryVariableSets),\n ...buildTenantLibraryVariables(project, allVariables.tenants, allVariables.tenantVariables),\n ...buildTenantProjectVariables(project, allVariables.tenants, allVariables.tenantVariables),\n ];\n };\n const getAvailableScopes = (): ScopeValues => {\n const allScopeValues: ScopeValues[] = allVariables.projectVariableSet ? [allVariables.projectVariableSet.ScopeValues, ...allVariables.libraryVariableSets.map((set) => set.variableSet.ScopeValues)] : [];\n return mergeScopeValues(allScopeValues);\n };\n return ( }}>\n \n );\n};\nAllVariables.displayName = \"AllVariables\"\nfunction getVariableTypeFromDisplaySettings(type?: ControlType): VariableType {\n switch (type) {\n case ControlType.Sensitive:\n return VariableType.Sensitive;\n case ControlType.Certificate:\n return VariableType.Certificate;\n case ControlType.AmazonWebServicesAccount:\n return VariableType.AmazonWebServicesAccount;\n case ControlType.AzureAccount:\n return VariableType.AzureAccount;\n case ControlType.GoogleCloudAccount:\n return VariableType.GoogleCloudAccount;\n case ControlType.GenericOidcAccount:\n return VariableType.GenericOidcAccount;\n case ControlType.WorkerPool:\n return VariableType.WorkerPool;\n case ControlType.UsernamePasswordAccount:\n return VariableType.UsernamePasswordAccount;\n default:\n return VariableType.String;\n }\n}\ninterface AllVariablesForProject {\n projectVariableSet: VariableSetResource | undefined;\n libraryVariableSets: LibraryVariableSetWithVariables[];\n tenants: TenantResource[];\n tenantVariables: TenantVariableResource[];\n}\nconst initialEmptyProjectVariableState: AllVariablesForProject = {\n tenants: [],\n libraryVariableSets: [],\n tenantVariables: [],\n projectVariableSet: undefined,\n};\nfunction useAllVariablesDataLoading(doBusyTask: DoBusyTask): AllVariablesForProject {\n const projectContext = useProjectContext();\n const project = projectContext.state.model;\n const loadProjectVariableSet = useProjectVariableSetLoader();\n const [state, setState] = React.useState(initialEmptyProjectVariableState);\n useDoBusyTaskEffect(doBusyTask, async () => {\n const libraryVariableSetVariables = loadLibraryVariableSetVariables(project.IncludedLibraryVariableSetIds);\n const projectVariableSet = loadProjectVariableSet();\n const projectId = project.Id;\n const tenants = isAllowed({ permission: Permission.TenantView, tenant: \"*\" }) ? repository.Tenants.all({ projectId }) : Promise.resolve([]);\n const tenantVariables = repository.TenantVariables.getOnlyProjectScoped(projectId);\n setState({\n projectVariableSet: await projectVariableSet,\n tenants: await tenants,\n tenantVariables: await tenantVariables,\n libraryVariableSets: await libraryVariableSetVariables,\n });\n }, [project, projectContext.state.gitRef], { timeOperationOptions: timeOperationOptions.forInitialLoad() });\n return state;\n}\nfunction useProjectVariableSetLoader() {\n const projectContext = useProjectContext();\n const project = projectContext.state.model;\n return React.useCallback(async () => {\n const variableSet = await projectContext.state.projectContextRepository.Variables.get();\n if (HasVariablesInGit(project.PersistenceSettings)) {\n const sensitiveVariableSet = await projectContext.state.projectContextRepository.Variables.getSensitive();\n // We are making two separate variable set requests for Git projects (text and secret variables use a\n // separate endpoint), but we need to return a single VariableSetResource. We're re-building a variable\n // set using all of the values from variableSet but combining the variables from both the text and secret\n // sets\n return {\n ...variableSet,\n Variables: [...variableSet.Variables, ...sensitiveVariableSet.Variables],\n };\n }\n else {\n // If the project doesn't have Git variables, everything will be in variableSet so we just return that\n // as is.\n return variableSet;\n }\n }, [projectContext.state.projectContextRepository.Variables, project.PersistenceSettings]);\n}\nexport interface LoadedLibraryVariableSets {\n variableSet: VariableSetResource;\n libraryVariableSet: LibraryVariableSetResource;\n}\nexport async function loadLibraryVariableSetVariables(includedLibraryVariableSetIds: string[]): Promise {\n const libraryVariableSets = await repository.LibraryVariableSets.all({ ids: includedLibraryVariableSetIds });\n const allVariableSets = await repository.Variables.all({ ids: libraryVariableSets.map((l) => l.VariableSetId) });\n const allVariableSetsMap = allVariableSets.reduce((acc: ResourcesById, resource) => {\n acc[resource.Id] = resource;\n return acc;\n }, {});\n return libraryVariableSets.map((lvs) => ({ variableSet: allVariableSetsMap[lvs.VariableSetId], libraryVariableSet: lvs }));\n}\nconst buildTenantProjectVariables = (project: ProjectResource, tenants: TenantResource[], tenantVariables: TenantVariableResource[]): ReadonlyArray => {\n const projectId = project.Id;\n const namedValues = flatten(tenantVariables.map(getAllProjectVariablesForTenant));\n const groupedByNameValues = groupVariablesByName(namedValues, (namedValue) => namedValue.name);\n return Object.keys(groupedByNameValues).map((name) => ({ name, values: groupedByNameValues[name].map((nv) => nv.value) }));\n function getAllProjectVariablesForTenant(tenantVariables: TenantVariableResource): Array<{\n name: string;\n value: ValueWithSource;\n }> {\n const tenant = tenants.find((t) => t.Id === tenantVariables.TenantId);\n const projectVariables = tenantVariables.ProjectVariables[projectId];\n const source: ValueSource = {\n spaceId: tenantVariables.SpaceId,\n tenantId: tenant?.Id ?? tenantVariables.TenantId,\n tenantName: tenant?.Name ?? \"Unknown tenant\",\n isDisabled: !!tenant?.IsDisabled,\n type: \"project\",\n };\n if (isFeatureToggleEnabled(\"CommonVariableScopingFeatureToggle\")) {\n return projectVariables.Templates.map((template) => {\n const valuesForTemplate = projectVariables.TenantVariables[template.Id];\n if (valuesForTemplate) {\n return valuesForTemplate.map((value) => ({\n name: template.Name,\n value: {\n type: getVariableTypeFromDisplaySettings(template.DisplaySettings[\"Octopus.ControlType\"]),\n scope: {\n Environment: value.Scope.EnvironmentIds,\n },\n value: convertPropertyValueResourceToString(value.Value || template.DefaultValue),\n source,\n isPrompted: false,\n },\n }));\n }\n else {\n return {\n name: template.Name,\n value: {\n type: getVariableTypeFromDisplaySettings(template.DisplaySettings[\"Octopus.ControlType\"]),\n scope: {},\n value: convertPropertyValueResourceToString(template.DefaultValue),\n source,\n isPrompted: false,\n },\n };\n }\n }).flat(2);\n }\n else {\n return flatten(projectVariables.Templates.map((template) => Object.keys(projectVariables.Variables).map((environmentId) => {\n const environmentValues = projectVariables.Variables[environmentId];\n return {\n name: template.Name,\n value: {\n type: getVariableTypeFromDisplaySettings(template.DisplaySettings[\"Octopus.ControlType\"]),\n scope: {\n Environment: [environmentId],\n },\n value: convertPropertyValueResourceToString(environmentValues[template.Id] || template.DefaultValue),\n source,\n isPrompted: false,\n },\n };\n })));\n }\n }\n};\nconst buildLibraryVariableSetVariables = (libraryVariableSets: LibraryVariableSetWithVariables[]): ReadonlyArray => flatten(libraryVariableSets.map((set) => {\n const source = {\n spaceId: set.libraryVariableSet.SpaceId,\n variableSetName: set.libraryVariableSet.Name,\n variableSetId: set.libraryVariableSet.Id,\n };\n return convertVariableResourcesToVariablesWithSource(set.variableSet.Variables, source);\n}));\nconst buildTenantLibraryVariables = (project: ProjectResource, tenants: TenantResource[], tenantVariables: TenantVariableResource[]): ReadonlyArray => {\n const libraryVariableSetIds = project.IncludedLibraryVariableSetIds;\n const namedValues = flatten(tenantVariables.map(getAllLibrarySetVariablesForTenant));\n const groupedByNameValues = groupVariablesByName(namedValues, (namedValue) => namedValue.name);\n return Object.keys(groupedByNameValues).map((name) => ({ name, values: groupedByNameValues[name].map((nv) => nv.value) }));\n function getAllLibrarySetVariablesForTenant(tenantVariables: TenantVariableResource): Array<{\n name: string;\n value: ValueWithSource;\n }> {\n const tenant = tenants.find((t) => t.Id === tenantVariables.TenantId);\n const libraryVariablesLookup = tenantVariables.LibraryVariables;\n const source: ValueSource = {\n spaceId: tenantVariables.SpaceId,\n tenantId: tenant?.Id ?? tenantVariables.TenantId,\n tenantName: tenant?.Name ?? \"Unknown tenant\",\n isDisabled: !!tenant?.IsDisabled,\n type: \"library\",\n };\n if (isFeatureToggleEnabled(\"CommonVariableScopingFeatureToggle\")) {\n return libraryVariableSetIds\n .map((variableSetId) => {\n const projectLibraryVariables = libraryVariablesLookup[variableSetId];\n const templates = projectLibraryVariables.Templates;\n const valuesForAllTemplates = projectLibraryVariables.TenantVariables;\n return templates.map((template) => {\n const valuesForTemplate = valuesForAllTemplates[template.Id];\n if (valuesForTemplate) {\n return valuesForTemplate.map((value) => ({\n name: template.Name,\n value: {\n type: getVariableTypeFromDisplaySettings(template.DisplaySettings[\"Octopus.ControlType\"]),\n scope: {\n Environment: value.Scope.EnvironmentIds,\n },\n value: convertPropertyValueResourceToString(value.Value || template.DefaultValue),\n source,\n isPrompted: false,\n },\n }));\n }\n else {\n return {\n name: template.Name,\n value: {\n type: getVariableTypeFromDisplaySettings(template.DisplaySettings[\"Octopus.ControlType\"]),\n scope: {},\n value: convertPropertyValueResourceToString(template.DefaultValue),\n source,\n isPrompted: false,\n },\n };\n }\n });\n })\n .flat(2);\n }\n else {\n return flatten(libraryVariableSetIds.map((variableSetId) => {\n const projectLibraryVariables = libraryVariablesLookup[variableSetId];\n const templates = projectLibraryVariables.Templates;\n const values = projectLibraryVariables.Variables;\n return templates.map((varTemplate) => ({\n name: varTemplate.Name,\n value: {\n type: getVariableTypeFromDisplaySettings(varTemplate.DisplaySettings[\"Octopus.ControlType\"]),\n scope: {},\n value: convertPropertyValueResourceToString(values[varTemplate.Id] || varTemplate.DefaultValue),\n source,\n isPrompted: false,\n },\n }));\n }));\n }\n }\n};\nfunction buildProjectVariables(project: ProjectResource, variableSet: VariableSetResource): ReadonlyArray {\n const source = {\n projectName: project.Name,\n projectId: project.Id,\n spaceId: project.SpaceId,\n };\n return convertVariableResourcesToVariablesWithSource(variableSet.Variables, source);\n}\nclass AllVariablesLoader extends DataBaseComponent<{}> {\n render() {\n return ;\n }\n static displayName = \"AllVariablesLoader\";\n}\nexport default AllVariablesLoader;\n","import { css, cx } from \"@emotion/css\";\nimport type { BreadcrumbItem, SimpleMenuItem, PageAction, PrimaryPageAction } from \"@octopusdeploy/design-system-components\";\nimport { LinearProgress, PageHeaderSecondary } from \"@octopusdeploy/design-system-components\";\nimport { borderRadius, space, themeTokens } from \"@octopusdeploy/design-system-tokens\";\nimport type { ReactElement, ReactNode } from \"react\";\nimport React from \"react\";\nimport BusyFromPromise from \"~/components/BusyFromPromise\";\nimport type { Errors } from \"~/components/DataBaseComponent\";\nimport { getErrorsFromError, isErrors } from \"~/components/DataBaseComponent/Errors\";\nimport ErrorPanel from \"~/components/ErrorPanel/ErrorPanel\";\ninterface BreadcrumbProps {\n breadcrumbsItems?: BreadcrumbItem[];\n showBreadcrumbBackIcon?: boolean;\n}\nexport interface LegacyPaperLayoutProps extends BreadcrumbProps {\n children?: ReactNode;\n title?: string;\n titleAccessory?: ReactElement;\n titleChip?: ReactElement;\n titleComplementaryText?: string;\n titleLogo?: ReactElement;\n primaryAction?: PrimaryPageAction;\n pageActions?: PageAction[];\n overflowActions?: SimpleMenuItem[];\n errors?: Errors | Error[];\n hideErrors?: boolean;\n busy?: boolean | Promise;\n callout?: React.ReactNode;\n fullWidth?: boolean;\n}\nexport function LegacyPaperLayout({ title, titleAccessory, titleChip, titleComplementaryText, titleLogo, primaryAction, pageActions, overflowActions, errors, hideErrors, busy, callout, breadcrumbsItems, showBreadcrumbBackIcon, children, fullWidth, }: LegacyPaperLayoutProps) {\n // TODO: this header likely should not be optional in the updated page layouts\n // but since this component is currently also used for theming level 1 page content, it needs to be able to hide the header in some cases\n // this should be deleted or reviewed further into the page layout work\n const hasHeaderContent = title || primaryAction || overflowActions;\n const convertedErrors = errors === undefined ? undefined : isErrors(errors) ? [errors] : errors.map(getErrorsFromError);\n return (
    \n {(busy: boolean) => }\n {hasHeaderContent && ()}\n {convertedErrors &&\n !hideErrors &&\n convertedErrors.map((error, index) => )}\n {callout}\n {children}\n
    );\n}\nconst containerStyles = css({\n display: \"flex\",\n flexDirection: \"column\",\n borderRadius: borderRadius.medium,\n border: `1px solid ${themeTokens.color.border.primary}`,\n paddingBottom: space[4], // equivalent paddingTop added by the busy LinearProgress\n minHeight: 640, // Not percentage-based, due to long project descriptions\n maxWidth: 1280,\n marginLeft: \"auto\",\n marginRight: \"auto\",\n});\nconst containerFullWidthStyles = css({\n maxWidth: \"unset\",\n});\nconst heroStyles = css({\n padding: `${space[12]} ${space[16]} 0 ${space[16]}`,\n});\n","import { links } from \"@octopusdeploy/portal-routes\";\nimport * as React from \"react\";\nimport { ProjectPageTitleAccessory } from \"~/areas/projects/components/ProjectPageTitleAccessory\";\nimport { useProjectContext } from \"~/areas/projects/context/index\";\nimport { LegacyPaperLayout, type LegacyPaperLayoutProps } from \"~/components/PaperLayout/LegacyPaperLayout\";\nimport SidebarLayout from \"~/components/SidebarLayout/SidebarLayout\";\nimport StringHelper from \"~/utils/StringHelper\";\nimport RunbooksNavigationTabs from \"../RunbooksNavigationTabs\";\nexport type RunbooksPaperLayoutProps = LegacyPaperLayoutProps & {\n sidebar?: React.ReactNode;\n};\nconst RunbooksPaperLayout: React.FC = ({ children, sidebar, title = StringHelper.ellipsis, fullWidth = true, ...rest }) => {\n const projectContext = useProjectContext();\n const project = projectContext.state.model;\n return (} breadcrumbsItems={rest.breadcrumbsItems ?? [{ label: \"Runbooks\", pageUrl: links.projectRunbooksPage.generateUrl({ spaceId: project.SpaceId, projectSlug: project.Slug }) }]} title={title} fullWidth={fullWidth} {...rest}>\n \n {children}\n );\n};\nRunbooksPaperLayout.displayName = \"RunbooksPaperLayout\"\nexport default RunbooksPaperLayout;\nexport { RunbooksPaperLayout };\n","import { ProcessType } from \"@octopusdeploy/octopus-server-client\";\nimport * as React from \"react\";\nimport type { LegacyPaperLayoutProps } from \"~/components/PaperLayout/LegacyPaperLayout\";\nimport { LegacyPaperLayout } from \"~/components/PaperLayout/LegacyPaperLayout\";\nimport { ProjectPageTitleAccessory } from \"../../../components/ProjectPageTitleAccessory\";\nimport { RunbooksPaperLayout } from \"../../Runbooks/Layouts\";\ntype ProcessPaperLayoutProps = LegacyPaperLayoutProps & {\n processType: ProcessType;\n};\nexport const ProcessPaperLayout: React.FC = ({ children, ...rest }) => {\n if (rest.processType === ProcessType.Runbook) {\n return (\n {children}\n );\n }\n else {\n return (} fullWidth={true} {...rest}>\n {children}\n );\n }\n};\nProcessPaperLayout.displayName = \"ProcessPaperLayout\"\n","import type { PageAction } from \"@octopusdeploy/design-system-components\";\nimport { ProcessType } from \"@octopusdeploy/octopus-server-client\";\nimport { noOp } from \"@octopusdeploy/utilities\";\nimport * as React from \"react\";\nimport DataLoader from \"~/components/DataLoader\";\nimport { ProcessPaperLayout } from \"../CustomPaperLayouts/ProcessPaperLayout\";\ninterface ProcessContextFormPageProps {\n title: string;\n load(): Promise;\n renderWhenLoaded(data: TData): React.ReactNode;\n processType: ProcessType;\n titleAccessory?: React.ReactElement;\n}\nexport function ProcessContextFormPage() {\n const DataLoaderInternal = DataLoader();\n return class LoadInner extends React.Component> {\n render() {\n return ( ()}/>);\n }\n };\n}\nexport const getPlaceholderActionList = (processType: ProcessType): PageAction[] => {\n // UX: We display some placeholder actions to aid with transitions between our loading and layout.\n const placeholderAddButton: PageAction = { type: \"button\", buttonType: \"secondary\", label: \"Add Step\", onClick: noOp, disabled: true };\n if (processType === ProcessType.Runbook) {\n const placeholderRunButton: PageAction = { type: \"button\", buttonType: \"secondary\", label: \"Run...\", onClick: noOp, disabled: true };\n return [placeholderRunButton, placeholderAddButton];\n }\n else {\n return [placeholderAddButton];\n }\n};\n","import { logger } from \"@octopusdeploy/logging\";\nimport { useAggregateAPIOperationStatus } from \"@octopusdeploy/octopus-react-client\";\nimport { HasVariablesInGit, Permission, ProcessType, TenantedDeploymentMode, TriggerActionCategory, VariableSetContentType } from \"@octopusdeploy/octopus-server-client\";\nimport type { ActionTemplateParameterResource, ChannelResource, EnvironmentResource, GitRef, GitRefResource, LifecycleResource, ModifyProcessCommand, PersistenceSettings, ProcessResource, ProjectResource, ResourcesById, TagSetResource, TriggerResource, VariableSetResource, WorkerPoolResource, WorkerPoolsSummaryResource, UserOnboardingResource, } from \"@octopusdeploy/octopus-server-client\";\nimport { keyBy } from \"lodash\";\nimport { useState } from \"react\";\nimport * as React from \"react\";\nimport { useSelector } from \"react-redux\";\nimport { useParams } from \"react-router\";\nimport type { FailedPermissionCheck } from \"~/areas/projects/components/Process/ProcessStepsLayoutTypes\";\nimport { NoPermission } from \"~/areas/projects/components/Process/ProcessStepsLayoutTypes\";\nimport type { LoadedLibraryVariableSets } from \"~/areas/projects/components/Variables/AllVariables/AllVariables\";\nimport { loadLibraryVariableSetVariables } from \"~/areas/projects/components/Variables/AllVariables/AllVariables\";\nimport { lastAccessedGitRef } from \"~/areas/projects/context/LastAccessedGitRef\";\nimport { PersistenceSettingsContextProvider } from \"~/areas/projects/context/PersistenceSettingsContext\";\nimport { repository } from \"~/clientInstance\";\nimport type { DataBaseComponentState } from \"~/components/DataBaseComponent/DataBaseComponent\";\nimport { useLegacyDoBusyTask } from \"~/components/DataBaseComponent/useLegacyDoBusyTask\";\nimport { isFeatureToggleEnabled } from \"~/components/FeatureToggle/New/FeatureToggleContext\";\nimport { isAllowed } from \"~/components/PermissionCheck/PermissionCheck\";\nimport * as tenantTagsets from \"~/components/tenantTagsets\";\nimport StringHelper from \"~/utils/StringHelper\";\nimport type { ScriptModule } from \"../Process/Common/SideBar\";\nimport type { ProjectStatus } from \"../ProjectStatus/useProjectStatus\";\nimport { useOptionalRunbookContext } from \"../Runbooks/RunbookContext\";\nimport { ProcessContextFormPage } from \"./Contexts/ProcessContextFormPage\";\nimport { ProcessController } from \"./Contexts/ProcessController\";\nimport { createDefaultFilter, ProcessQueryStringController } from \"./Contexts/ProcessQueryString/ProcessQueryStringContext\";\nimport ProcessStepsLayout from \"./ProcessStepsLayout\";\nimport type { ProcessIdentifier } from \"./types\";\ninterface GlobalConnectedProps {\n isBuiltInWorkerEnabled?: boolean;\n}\ninterface ProcessState extends DataBaseComponentState {\n lookups: ProcessStepsLayoutLoaderLookupData;\n}\ninterface ProcessProps extends GlobalConnectedProps {\n project: ProjectResource;\n gitRef: GitRef | undefined;\n gitRefResource: GitRefResource | undefined;\n titleAccessory?: React.ReactElement;\n setShowK8sStatusItem?: (isKubernetesStep: boolean) => void;\n onProcessSave: (gitRef: GitRefResource | string | undefined) => Promise;\n changeGitRef: (gitRef: string) => void;\n refreshModel: (gitRef?: GitRef) => Promise;\n onValidationError: () => void;\n projectStatus?: ProjectStatus;\n processIdentifier: ProcessIdentifier;\n process: ProcessResource;\n reloadProcess: () => void;\n modifyProcess: (process: ModifyProcessCommand, gitRef: string | undefined) => Promise;\n includedLibraryVariableSetIds: string[];\n releaseCreationPackageStepId?: string | undefined;\n}\ntype ProcessPageProps = ProcessProps;\ntype ProcessStepsLayoutLoaderProps = ProcessProps & {\n project: Readonly;\n stepSlug?: string;\n};\nexport interface ProcessStepsLayoutLoaderLookupData {\n includedScriptModules: ScriptModule[];\n lifecyclePreview: LifecycleResource | null;\n environmentsById: ResourcesById;\n channelsById: ResourcesById | null;\n tagSets: TagSetResource[];\n workerPoolsById: ResourcesById;\n machineRoles: string[];\n tagIndex: tenantTagsets.TagIndex;\n userOnboarding: UserOnboardingResource | null;\n workerPoolsSummary: WorkerPoolsSummaryResource;\n projectTriggers: TriggerResource[];\n processVariableSet: VariableSetResource | FailedPermissionCheck;\n libraryVariableSets: LoadedLibraryVariableSets[] | FailedPermissionCheck;\n templates: ActionTemplateParameterResource[];\n}\nexport const emptyVariableSetResource = (spaceId: string) => ({\n Variables: [],\n OwnerId: \"\",\n ScopeValues: {\n Actions: [],\n Channels: [],\n Environments: [],\n Machines: [],\n Roles: [],\n TenantTags: [],\n Processes: [],\n },\n Version: 0,\n Id: \"\",\n Links: { Self: \"\" },\n SpaceId: spaceId,\n});\nexport async function getProjectVariables(projectId: string, gitRef: GitRef | undefined, spaceId: string, persistenceSettings: PersistenceSettings): Promise {\n if (!isAllowed({ permission: Permission.VariableView, project: projectId, environment: \"*\", tenant: \"*\" })) {\n return NoPermission;\n }\n try {\n if (HasVariablesInGit(persistenceSettings)) {\n gitRef = gitRef || lastAccessedGitRef.getById(projectId, persistenceSettings);\n const variableSet = await repository.ProjectVariables.get(projectId, gitRef);\n //Not sure if this is how I should deal with this\n const sensitiveVariableSet = await repository.ProjectVariables.getSensitive(projectId, persistenceSettings);\n variableSet.Variables = variableSet.Variables.concat(sensitiveVariableSet.Variables);\n return variableSet;\n }\n else {\n return await repository.ProjectVariables.get(projectId);\n }\n }\n catch (error) {\n //Prevent a missing file error from breaking the page\n if (error.ErrorMessage && error.ErrorMessage.match(/The file '\\.octopus\\/variables\\.ocl' on the '.*?' branch does not exist in the Git repository\\./)) {\n logger.error(\"Failed to get project variables\", error);\n return emptyVariableSetResource(spaceId);\n }\n throw error;\n }\n}\nexport async function getLibraryVariables(includedLibraryVariableSets: string[]): Promise {\n if (!isAllowed({ permission: Permission.LibraryVariableSetView, environment: \"*\", tenant: \"*\" })) {\n return NoPermission;\n }\n return await loadLibraryVariableSetVariables(includedLibraryVariableSets);\n}\nconst loadData = async (project: ProjectResource, processType: ProcessType, gitRef: GitRef | undefined): Promise => {\n const hasLibraryVariableSetView = isAllowed({ permission: Permission.LibraryVariableSetView, environment: \"*\", tenant: \"*\" });\n const includedScriptModules = hasLibraryVariableSetView\n ? repository.LibraryVariableSets.all({\n contentType: VariableSetContentType.ScriptModule,\n }).then((sm) => sm.filter((x) => project.IncludedLibraryVariableSetIds.includes(x.Id)))\n : Promise.resolve([]);\n const environments = repository.Environments.all();\n const lifecyclePreview = processType === ProcessType.Deployment && isAllowed({ permission: Permission.LifecycleView }) ? repository.Lifecycles.get(project.LifecycleId).then((x) => repository.Lifecycles.preview(x)) : Promise.resolve(null);\n const channelsById = processType === ProcessType.Deployment &&\n isAllowed({\n permission: Permission.ProcessView,\n project: project.Id,\n })\n ? repository.Projects.getChannels(project).then((c) => keyBy(c.Items, \"Id\"))\n : Promise.resolve(null);\n const tagSets = tenantTagsets.getAll();\n const workerPools = repository.WorkerPools.all();\n const triggers = isFeatureToggleEnabled(\"ExternalReleaseTriggerFeatureToggle\") && isAllowed({ permission: Permission.TriggerView, project: project.Id })\n ? repository.Projects.getTriggers(project, 0, 30, undefined, TriggerActionCategory.Deployment)\n : Promise.resolve({ Items: [] });\n const userOnboarding = repository.UserOnboarding.getForCurrentUser();\n const projectVariables = getProjectVariables(project.Id, gitRef, project.SpaceId, project.PersistenceSettings);\n const libraryVariableSets = getLibraryVariables(project.IncludedLibraryVariableSetIds);\n return {\n environmentsById: keyBy(await environments, \"Id\"),\n includedScriptModules: await includedScriptModules,\n lifecyclePreview: await lifecyclePreview,\n channelsById: await channelsById,\n tagSets: await tagSets,\n workerPoolsById: keyBy(await workerPools, \"Id\"),\n machineRoles: await repository.MachineRoles.all(),\n tagIndex: await tenantTagsets.getTagIndex(),\n userOnboarding: (await userOnboarding)?.UserOnboardingResource ?? null,\n workerPoolsSummary: await repository.WorkerPools.summary(),\n projectTriggers: (await triggers).Items,\n processVariableSet: await projectVariables,\n libraryVariableSets: await libraryVariableSets,\n templates: project.Templates,\n };\n};\nfunction useIsBuiltInWorkerEnabled() {\n return useSelector((state: GlobalState) => state.configurationArea.features.isBuiltInWorkerEnabled);\n}\nconst PageLoader = ProcessContextFormPage();\nconst ProcessStepsLayoutDataLoader: React.FC = (props) => {\n const { stepSlug } = useParams<{\n stepSlug?: string;\n }>();\n const isBuiltInWorkerEnabled = useIsBuiltInWorkerEnabled();\n const runbookContext = useOptionalRunbookContext();\n const runbookName = runbookContext?.state.runbook?.Name ?? StringHelper.ellipsis;\n return ( loadData(props.project, props.processIdentifier.type, props.gitRef)} renderWhenLoaded={(data) => }/>);\n};\nProcessStepsLayoutDataLoader.displayName = \"ProcessStepsLayoutDataLoader\"\ninterface InitialLookupData {\n initialLookups: ProcessStepsLayoutLoaderLookupData;\n}\nfunction ProcessStepsLayoutLoader(props: ProcessStepsLayoutLoaderProps & InitialLookupData) {\n const [lookups, setLookups] = useState(props.initialLookups);\n const { doBusyTask, status: doBusyTaskStatus } = useLegacyDoBusyTask();\n const { isInProgress, errors } = useAggregateAPIOperationStatus(doBusyTaskStatus);\n const refreshLookupData = async () => {\n await doBusyTask(async () => setLookups(await loadData(props.project, props.processIdentifier.type, props.gitRef)));\n };\n const refreshVariables = async () => {\n await doBusyTask(async () => {\n setLookups({\n ...lookups,\n processVariableSet: await getProjectVariables(props.project.Id, props.gitRef, props.project.SpaceId, props.project.PersistenceSettings),\n libraryVariableSets: await getLibraryVariables(props.project.IncludedLibraryVariableSetIds),\n });\n });\n };\n return (\n \n {() => {\n return (\n {() => {\n return ();\n }}\n );\n }}\n \n );\n}\n// We export our data-loader wrapper, as that wraps out layout and supplies the necessary data to the layout.\nexport default ProcessStepsLayoutDataLoader;\n","import { filter, join, trimEnd } from \"lodash\";\nexport interface CommitMessageWithDetails {\n summary: string;\n details: string;\n}\nexport function getFormattedCommitMessage(commitMessage: CommitMessageWithDetails, defaultSummary: string) {\n const summary = commitMessage.summary.trim() === \"\" ? defaultSummary : commitMessage.summary;\n const formattedMessage = join(filter([summary, trimEnd(commitMessage.details)]), \"\\n\\n\");\n return formattedMessage;\n}\n","import type { CloudConnectionType, VariableSetResource, GitRef } from \"@octopusdeploy/octopus-server-client\";\nimport { HasVariablesInGit, VariableType } from \"@octopusdeploy/octopus-server-client\";\nimport { links } from \"@octopusdeploy/portal-routes\";\nimport { isEqual } from \"lodash\";\nimport React, { useEffect, useState } from \"react\";\nimport { Action, useAnalyticCloudConnectionsDispatch } from \"~/analytics/Analytics\";\nimport AwsCloudConnectionDrawer from \"~/areas/projects/components/CloudConnection/AwsCloudConnectionDrawer\";\nimport AwsCloudConnectionTile, { AwsTileStatus } from \"~/areas/projects/components/CloudConnection/AwsCloudConnectionTile\";\nimport AzureCloudConnectionDrawer from \"~/areas/projects/components/CloudConnection/AzureCloudConnectionDrawer\";\nimport AzureCloudConnectionTile, { AzureTileStatus } from \"~/areas/projects/components/CloudConnection/AzureCloudConnectionTile\";\nimport { getProjectVariables } from \"~/areas/projects/components/Process/ProcessStepsLayoutLoader\";\nimport type { DeploymentProcessIdentifier, RunbookProcessIdentifier } from \"~/areas/projects/components/Process/types\";\nimport type { LoadedLibraryVariableSets } from \"~/areas/projects/components/Variables/AllVariables/AllVariables\";\nimport type { CommitMessageWithDetails } from \"~/areas/projects/components/VersionControl/CommitMessageWithDetails\";\nimport { getFormattedCommitMessage } from \"~/areas/projects/components/VersionControl/CommitMessageWithDetails\";\nimport { lastAccessedGitRef } from \"~/areas/projects/context/LastAccessedGitRef\";\nimport { usePersistenceSettingsContext } from \"~/areas/projects/context/PersistenceSettingsContext\";\nimport { useProjectContext } from \"~/areas/projects/context/index\";\nimport { repository } from \"~/clientInstance\";\nimport { CloudConnectionsContextualHelp } from \"~/components/ContextualHelp/ContextualHelpSnippets\";\nimport ExternalLink from \"~/components/Navigation/ExternalLink/index\";\nimport { useSpaceAwareNavigation } from \"~/components/Navigation/SpaceAwareNavigation/useSpaceAwareNavigation\";\nimport { RemoveItemsList } from \"~/components/RemoveItemsList/RemoveItemsList\";\nimport ExpandableFormSection from \"~/components/form/Sections/ExpandableFormSection\";\nimport { Summary } from \"~/components/form/index\";\nimport Note from \"~/primitiveComponents/form/Note/Note\";\nclass CloudConnectionsList extends RemoveItemsList {\n}\nexport enum CloudConnectionUsageType {\n TargetDiscovery\n}\nexport type ConfigurationStatus = \"Configure Now\" | \"Configured\" | \"Region Required\";\nexport type CloudConnectionProps = {\n providers: CloudConnectionType[];\n connectionType: CloudConnectionUsageType;\n sectionErrorKey: string;\n sectionHelpText: string;\n isExpandedByDefault: boolean;\n processVariableSet: VariableSetResource;\n libraryVariableSets: LoadedLibraryVariableSets[];\n refreshVariables: () => void;\n gitRef?: GitRef;\n processIdentifier: DeploymentProcessIdentifier | RunbookProcessIdentifier;\n};\nexport interface CloudConnectionItem {\n provider: CloudConnectionType;\n connectionType: CloudConnectionUsageType;\n tileDetails: ConfigurationStatus;\n}\nconst cloudConnectionItem = (connection: CloudConnectionItem) => {\n if (connection.provider === \"Aws\") {\n return ;\n }\n else if (connection.provider === \"Azure\") {\n return ;\n }\n};\nconst getStatus = (variables: VariableSetResource | undefined, libraryVariableSets: LoadedLibraryVariableSets[] | undefined, provider: CloudConnectionType, connectionType: CloudConnectionUsageType): ConfigurationStatus => {\n if (provider === \"Azure\") {\n return AzureTileStatus(connectionType, variables, libraryVariableSets);\n }\n else if (provider === \"Aws\") {\n return AwsTileStatus(connectionType, variables, libraryVariableSets);\n }\n return \"Configure Now\";\n};\nexport const getCloudConnections = (providers: CloudConnectionType[], connectionType: CloudConnectionUsageType, variables: VariableSetResource, libraryVariableSets: LoadedLibraryVariableSets[] | undefined): CloudConnectionItem[] => {\n return providers.map((t) => ({\n provider: t,\n tileDetails: getStatus(variables, libraryVariableSets, t, connectionType),\n connectionType: connectionType,\n }));\n};\nexport const filterForConfiguredCloudConnections = (connections: CloudConnectionItem[]) => {\n return connections.filter((item) => item.tileDetails === \"Configured\");\n};\nexport const isCloudTargetDiscoveryEnabled = (connections: CloudConnectionItem[], connectionType: CloudConnectionUsageType) => {\n const configuredCloudConnections = filterForConfiguredCloudConnections(connections);\n return connectionType === CloudConnectionUsageType.TargetDiscovery && configuredCloudConnections.length > 0;\n};\nexport const CloudConnections: React.FC = (props) => {\n const { state: { model: project }, } = useProjectContext();\n const persistenceSettings = usePersistenceSettingsContext();\n const [connectionToEdit, setConnectionToEdit] = useState(null);\n const [connections, setConnections] = useState([]);\n const [showAzureDrawer, setShowAzureDrawer] = useState(false);\n const [showAwsDrawer, setShowAwsDrawer] = useState(false);\n const dispatchAction = useAnalyticCloudConnectionsDispatch();\n const { navigate } = useSpaceAwareNavigation();\n const getSummary = (connections: CloudConnectionItem[]) => {\n const configuredCloudConnections = filterForConfiguredCloudConnections(connections);\n if (isCloudTargetDiscoveryEnabled(connections, props.connectionType)) {\n return Summary.summary(Cloud target discovery is enabled using cloud connections);\n }\n else {\n if (props.connectionType === CloudConnectionUsageType.TargetDiscovery) {\n return Summary.summary(Cloud target discovery is not enabled);\n }\n else {\n return Summary.summary(Cloud connections have {configuredCloudConnections.length > 0 ? \"been\" : \"not been\"} configured);\n }\n }\n };\n useEffect(() => {\n const c = getCloudConnections(props.providers, props.connectionType, props.processVariableSet, props.libraryVariableSets);\n setConnections(c);\n }, [props.connectionType, props.providers, props.processVariableSet, props.libraryVariableSets]);\n const saveVariables = async (variables: VariableSetResource, commitMessage: CommitMessageWithDetails | undefined): Promise => {\n if (HasVariablesInGit(persistenceSettings)) {\n if (!commitMessage)\n throw new Error(\"No commit message received.\");\n const nonSensitiveVariables = variables.Variables.filter((variable) => variable.Type !== VariableType.Sensitive);\n const sensitiveVariables = variables.Variables.filter((variable) => variable.Type === VariableType.Sensitive);\n const formattedCommitMessage = getFormattedCommitMessage(commitMessage, \"Update variables\");\n const gitRef = props.gitRef || lastAccessedGitRef.get(project);\n const nonSensitivePromise = repository.ProjectVariables.modify({ ...variables, Variables: nonSensitiveVariables, ChangeDescription: formattedCommitMessage }, project.Id, gitRef);\n const sensitiveVariableSet = await repository.ProjectVariables.getSensitive(project.Id, project.PersistenceSettings);\n const sensitivePromise = repository.ProjectVariables.modifySensitive({ ...sensitiveVariableSet, Variables: sensitiveVariables }, project.Id, project.PersistenceSettings);\n const variableArray = await Promise.all([nonSensitivePromise, sensitivePromise]);\n const variableSet = variableArray[0];\n variableSet.Variables = variableSet.Variables.concat(variableArray[1].Variables);\n return variableSet;\n }\n else {\n return await repository.ProjectVariables.modify(variables, project.Id);\n }\n };\n const haveVariablesChanged = async (variables: VariableSetResource) => {\n const processIdentifier = props.processIdentifier;\n const serverVariables = await getProjectVariables(processIdentifier.projectId, props.gitRef, processIdentifier.spaceId, persistenceSettings);\n return !isEqual(variables, serverVariables);\n };\n return (<>\n {connectionToEdit && ()}\n {connectionToEdit && ()}\n }>\n {props.connectionType === CloudConnectionUsageType.TargetDiscovery && (\n Learn more about cloud target discovery\n )}\n {\n if (item.tileDetails === \"Configure Now\") {\n dispatchAction(`Open Cloud Connections Drawer`, {\n action: Action.Select,\n resource: \"Cloud Connections\",\n cloudProvider: item.provider,\n });\n setConnectionToEdit(item);\n if (item.provider === \"Aws\") {\n setShowAwsDrawer(true);\n }\n if (item.provider === \"Azure\") {\n setShowAzureDrawer(true);\n }\n }\n else {\n dispatchAction(`Link To Cloud Connections Variables`, {\n action: Action.Select,\n resource: \"Cloud Connections\",\n cloudProvider: item.provider,\n });\n navigate(links.variablesPage.generateUrl({ spaceId: project.SpaceId, projectSlug: project.Slug }));\n }\n }}/>\n \n );\n};\nCloudConnections.displayName = \"CloudConnections\"\n","import { Callout, RadioButton, RadioButtonGroup } from \"@octopusdeploy/design-system-components\";\nimport type { EnvironmentResource, PersistenceSettings, ProcessType } from \"@octopusdeploy/octopus-server-client\";\nimport { Permission } from \"@octopusdeploy/octopus-server-client\";\nimport * as React from \"react\";\nimport { ChipIcon, ContextualMissingChip, EnvironmentChip } from \"~/components/Chips\";\nimport Lookup from \"~/components/Lookup\";\nimport { EnvironmentMultiSelect } from \"~/components/MultiSelect/EnvironmentMultiSelect\";\nimport { Note, Summary } from \"~/components/form\";\nimport ExpandableFormSection from \"~/components/form/Sections/ExpandableFormSection\";\nimport { EnvironmentOption } from \"../types\";\nimport { isVersionControlledProcess } from \"./CommonProcessHelpers\";\ninterface EnvironmentProps {\n environmentOption: EnvironmentOption;\n hasHiddenEnvironments: boolean;\n environments: EnvironmentResource[];\n inclusiveEnvironments: string[];\n exclusiveEnvironments: string[];\n onEnvironmentOptionChanged(val: EnvironmentOption): void;\n onInclusiveEnvironmentsChanged(environments: string[]): void;\n onExclusiveEnvironmentsChanged(environments: string[]): void;\n onInclusiveEnvironmentRemoved?: (environment: string) => void;\n onExclusiveEnvironmentRemoved?: (environment: string) => void;\n persistenceSettings: PersistenceSettings;\n processType: ProcessType;\n}\ntype Props = EnvironmentProps;\nexport class Environments extends React.Component {\n get isVersionControlled(): boolean {\n return isVersionControlledProcess(this.props.persistenceSettings, this.props.processType);\n }\n shouldComponentUpdate(nextProps: Props) {\n return nextProps.environmentOption !== this.props.environmentOption || nextProps.inclusiveEnvironments !== this.props.inclusiveEnvironments || nextProps.exclusiveEnvironments !== this.props.exclusiveEnvironments;\n }\n render() {\n return (\n \n \n\n \n {this.props.environmentOption === EnvironmentOption.Include && (
    \n \n\n Choose the specific environments under which you want this step to run.\n {!this.isVersionControlled && this.props.hasHiddenEnvironments && (\n The {Permission.EnvironmentView} permission is preventing the environment condition type from being changed because you do not have access to an environment that is specifically marked for inclusion.\n )}\n
    )}\n\n \n {this.props.environmentOption === EnvironmentOption.Exclude && (
    \n \n\n Choose the environments for which you want this step to be skipped.\n {!this.isVersionControlled && this.props.hasHiddenEnvironments && (\n The {Permission.EnvironmentView} permission is preventing the environment condition type to be changed because you do not have access to an environment that is specifically marked for inclusion.\n )}\n
    )}\n
    \n
    );\n }\n private environmentSummary() {\n if (this.props.environmentOption === EnvironmentOption.Include) {\n return Summary.summary(This step will only run in {this.getChipsForEnvironments(this.props.inclusiveEnvironments)});\n }\n if (this.props.environmentOption === EnvironmentOption.Exclude) {\n return Summary.summary(\n This step will be run in all applicable Lifecycle environments except {this.getChipsForEnvironments(this.props.exclusiveEnvironments)}\n );\n }\n return Summary.default(\"This step will run for all applicable Lifecycle environments\");\n }\n private getChipsForEnvironments(environmentKeys: string[]) {\n if (environmentKeys.length === 0) {\n return please select environments;\n }\n return environmentKeys.map((key) => ( x.Id} render={(item) => } renderFallback={}/>));\n }\n static displayName = \"Environments\";\n}\nexport default Environments;\n","import type { WorkerPoolResource } from \"@octopusdeploy/octopus-server-client\";\nimport { WorkerPoolType } from \"@octopusdeploy/octopus-server-client\";\nexport function isCloudWorkerPools(workerPools: WorkerPoolResource[]) {\n // If and only if there are exactly two worker pools: \"Hosted Windows\" and \"Hosted Ubuntu\"\n return (workerPools.length === 2 &&\n workerPools.some((pool) => pool.Name === \"Hosted Windows\" && pool.WorkerPoolType === WorkerPoolType.Dynamic) &&\n workerPools.some((pool) => pool.Name === \"Hosted Ubuntu\" && pool.WorkerPoolType === WorkerPoolType.Dynamic));\n}\nexport interface CloudWorkerPoolsMetadata {\n OperatingSystem: \"Windows\" | \"Linux\";\n SupportedTools: KnownTools[];\n}\nexport type CloudWorkerPool = \"Hosted Windows\" | \"Hosted Ubuntu\";\nexport type KnownTools = \"kubectl\";\nexport const knownCloudWorkerPools: Record = {\n \"Hosted Windows\": {\n OperatingSystem: \"Windows\",\n SupportedTools: [\"kubectl\"],\n },\n \"Hosted Ubuntu\": {\n OperatingSystem: \"Linux\",\n SupportedTools: [],\n },\n};\nexport function pickPreferredWorkerPoolId(requestedOS: \"Windows\" | \"Linux\" | undefined, requestedTools: KnownTools[], workerPools: WorkerPoolResource[]): string | undefined {\n if (!isCloudWorkerPools(workerPools)) {\n return undefined;\n }\n // if we can find exact match by OS and tools otherwise 🤷\n const windowsPool = workerPools.find((pool) => pool.Name === \"Hosted Windows\");\n const ubuntuPool = workerPools.find((pool) => pool.Name === \"Hosted Ubuntu\");\n if (windowsPool && (requestedOS === undefined || knownCloudWorkerPools[\"Hosted Windows\"].OperatingSystem === requestedOS) && requestedTools.every((tool) => knownCloudWorkerPools[\"Hosted Windows\"].SupportedTools.includes(tool))) {\n return windowsPool.Id;\n }\n if (ubuntuPool && (requestedOS === undefined || knownCloudWorkerPools[\"Hosted Ubuntu\"].OperatingSystem === requestedOS) && requestedTools.every((tool) => knownCloudWorkerPools[\"Hosted Ubuntu\"].SupportedTools.includes(tool))) {\n return ubuntuPool.Id;\n }\n}\nexport function isWorkerPoolCompatible(selectedWorkerPoolId: string | null, requestedOS: \"Windows\" | \"Linux\" | undefined, requestedTools: KnownTools[], workerPools: WorkerPoolResource[]): boolean {\n if (!isCloudWorkerPools(workerPools)) {\n return true;\n }\n const selectedWorkerPool = workerPools.find((pool) => pool.Id === selectedWorkerPoolId);\n if (!selectedWorkerPool) {\n return true; // this should never happen\n }\n const workerPoolMetadata = selectedWorkerPool.Name === \"Hosted Windows\" ? knownCloudWorkerPools[\"Hosted Windows\"] : knownCloudWorkerPools[\"Hosted Ubuntu\"];\n return (!requestedOS || workerPoolMetadata.OperatingSystem === requestedOS) && requestedTools.every((tool) => workerPoolMetadata.SupportedTools.includes(tool));\n}\n","import * as React from \"react\";\nimport type { SvgImageProps } from \"../../../primitiveComponents/dataDisplay/SvgImage/SvgImage\";\nimport SvgImage from \"../../../primitiveComponents/dataDisplay/SvgImage/SvgImage\";\nimport styles from \"../../../primitiveComponents/dataDisplay/SvgImage/styles.module.less\";\nconst ExecuteOctopusServer = (props: Partial) => (\n \n \n \n \n \n \n \n \n );\nexport { ExecuteOctopusServer };\n","import * as React from \"react\";\nimport type { SvgImageProps } from \"../../../primitiveComponents/dataDisplay/SvgImage/SvgImage\";\nimport SvgImage from \"../../../primitiveComponents/dataDisplay/SvgImage/SvgImage\";\nimport styles from \"../../../primitiveComponents/dataDisplay/SvgImage/styles.module.less\";\nconst ExecuteOctopusServerRoles = (props: Partial) => (\n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n );\nexport { ExecuteOctopusServerRoles };\n","import * as React from \"react\";\nimport type { SvgImageProps } from \"../../../primitiveComponents/dataDisplay/SvgImage/SvgImage\";\nimport SvgImage from \"../../../primitiveComponents/dataDisplay/SvgImage/SvgImage\";\nimport styles from \"../../../primitiveComponents/dataDisplay/SvgImage/styles.module.less\";\nconst ExecuteTargets = (props: Partial) => (\n \n \n \n \n \n \n \n \n \n \n \n \n \n );\nexport { ExecuteTargets };\n","import * as React from \"react\";\nimport type { SvgImageProps } from \"../../../primitiveComponents/dataDisplay/SvgImage/SvgImage\";\nimport SvgImage from \"../../../primitiveComponents/dataDisplay/SvgImage/SvgImage\";\nimport styles from \"../../../primitiveComponents/dataDisplay/SvgImage/styles.module.less\";\nconst ExecuteWorker = (props: Partial) => (\n \n \n \n \n \n \n \n \n \n \n \n \n );\nexport { ExecuteWorker };\n","import * as React from \"react\";\nimport type { SvgImageProps } from \"../../../primitiveComponents/dataDisplay/SvgImage/SvgImage\";\nimport SvgImage from \"../../../primitiveComponents/dataDisplay/SvgImage/SvgImage\";\nimport styles from \"../../../primitiveComponents/dataDisplay/SvgImage/styles.module.less\";\nconst ExecuteWorkerRoles = (props: Partial) => (\n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n );\nexport { ExecuteWorkerRoles };\n","/* eslint-disable @typescript-eslint/no-non-null-assertion */\nimport { CircularProgress } from \"@octopusdeploy/design-system-components\";\nimport type { ProjectResource, ActionTemplateParameterResource, GitRefResource, VariableResource } from \"@octopusdeploy/octopus-server-client\";\nimport { HasVariablesInGit, ControlType, VariableType, HasGitPersistenceSettings } from \"@octopusdeploy/octopus-server-client\";\nimport * as _ from \"lodash\";\nimport * as React from \"react\";\nimport { repository } from \"~/clientInstance\";\nimport { IconButtonWithTooltip } from \"~/components/IconButtonWithTooltip\";\nimport { AddVariableIconButton } from \"~/components/form/AddVariableIconButton\";\nimport type FormFieldProps from \"~/components/form/FormFieldProps\";\nimport Select from \"~/primitiveComponents/form/Select/Select\";\nimport IconButtonList from \"../../IconButtonList/IconButtonList\";\nimport InputWithActions from \"../../InputWithActions\";\ninterface WorkerPoolVariableSelectProps extends FormFieldProps {\n projectId: string | undefined;\n gitRef: GitRefResource | undefined;\n allowClear?: boolean;\n disabled?: boolean;\n label?: string | JSX.Element;\n error?: string;\n warning?: string;\n validate?(value: string): string;\n onValidate?(value: string): void;\n doBusyTask(action: () => Promise): Promise;\n}\ninterface WorkerPoolVariableSelectState {\n error?: string;\n refreshing: boolean;\n project: ProjectResource | null;\n variables: string[];\n isDataLoaded: boolean;\n}\nexport default class WorkerPoolVariableSelect extends React.Component {\n constructor(props: WorkerPoolVariableSelectProps) {\n super(props);\n this.state = {\n refreshing: false,\n project: null,\n variables: [],\n isDataLoaded: false,\n };\n }\n handleChange = (poolVariable: string | undefined) => {\n const value = poolVariable === \"\" ? null : poolVariable;\n if (this.props.validate) {\n const result = this.props.validate(value!);\n this.setState({ error: result });\n if (this.props.onValidate) {\n this.props.onValidate(result);\n }\n }\n this.props.onChange!(value!);\n };\n componentDidMount() {\n return this.props.doBusyTask(async () => {\n if (!this.props.projectId) {\n // TODO: Process templates don't currently support variables, so this will always return no variables until this is supported\n this.setState({ isDataLoaded: true });\n return;\n }\n const project = await repository.Projects.get(this.props.projectId);\n const variables = await this.getWorkerPoolVariables(project, this.props.gitRef);\n this.setState({ project, variables, isDataLoaded: true });\n });\n }\n render() {\n if (!this.state.isDataLoaded) {\n return ;\n }\n const { onChange, onValidate, projectId, doBusyTask, value, ...otherProps } = this.props;\n return ( ({ value: v, text: v }))}/>} actions={}/>);\n }\n private getButtons() {\n const buttons = [];\n if (!this.state.refreshing) {\n buttons.push();\n }\n else {\n buttons.push();\n }\n if (this.props.projectId) {\n buttons.push();\n }\n return buttons;\n }\n private getWorkerPoolVariables = async (project: ProjectResource, gitRef: GitRefResource | undefined) => {\n const libraryVariableSets = await Promise.all(project.IncludedLibraryVariableSetIds.map((libraryVariableSetId) => repository.LibraryVariableSets.get(libraryVariableSetId)));\n const templates = _.union(project.Templates, _.flattenDeep(libraryVariableSets.map((lvs) => lvs.Templates)))\n .filter((template: ActionTemplateParameterResource) => !!template.DisplaySettings && template.DisplaySettings[\"Octopus.ControlType\"] === ControlType.WorkerPool)\n .map((v) => v.Name);\n const variableSetIds = _.union([project.VariableSetId], libraryVariableSets.map((lvs) => lvs.VariableSetId));\n const variableResults = await Promise.all(variableSetIds.map(async (variableSetId) => (await repository.Variables.get(variableSetId)).Variables));\n if (HasGitPersistenceSettings(project.PersistenceSettings) && HasVariablesInGit(project.PersistenceSettings)) {\n if (!gitRef) {\n const result = await repository.Projects.validateGitRef(project, project.PersistenceSettings.DefaultBranch);\n gitRef = result.GitRef;\n }\n if (gitRef) {\n variableResults.push((await repository.Variables.getForGitRef(gitRef)).Variables);\n }\n }\n const variables = _.flattenDeep(variableResults)\n .filter((v: VariableResource) => v.Type === VariableType.WorkerPool)\n .map((v) => v.Name);\n return _.chain(variables).union(templates).sort().uniq().value();\n };\n private onRequestRefresh = async () => {\n if (!this.props.projectId) {\n // TODO: Process templates don't currently support variables, so this will always return no variables until this is supported\n return;\n }\n this.setState({ refreshing: true });\n try {\n const variables = await this.getWorkerPoolVariables(this.state.project!, this.props.gitRef);\n this.setState({ variables });\n }\n finally {\n this.setState({ refreshing: false });\n }\n };\n static displayName = \"WorkerPoolVariableSelect\";\n}\n","/* eslint-disable @typescript-eslint/no-non-null-assertion,@typescript-eslint/consistent-type-assertions */\n/* eslint-disable no-eq-null */\nimport { Callout, RadioButton, RadioButtonGroup } from \"@octopusdeploy/design-system-components\";\nimport { ActionExecutionLocation, ProcessType } from \"@octopusdeploy/octopus-server-client\";\nimport type { FeedResource, GitRefResource, WorkerPoolResource, UserOnboardingResource } from \"@octopusdeploy/octopus-server-client\";\nimport * as React from \"react\";\nimport type { StepEditorEvent } from \"~/analytics/Analytics\";\nimport { ActionContainerImageSelectorFormSection } from \"~/areas/projects/components/Process/Common/ActionContainerImageSelectorFormSection\";\nimport { roleSummary, TargetRolesFormSection } from \"~/areas/projects/components/Process/Common/TargetRolesFormSection\";\nimport { type CloudWorkerPoolsMetadata, isWorkerPoolCompatible, pickPreferredWorkerPoolId } from \"~/areas/projects/components/Process/Common/cloudWorkerPoolHelpers\";\nimport type { RunOn, RunOnServerOrWorkerPool } from \"~/areas/projects/components/Process/types\";\nimport { ExecutionLocation, RunOnDeploymentTarget, TargetRoles } from \"~/areas/projects/components/Process/types\";\nimport type { MixedExecutionLocationsConfig } from \"~/components/Actions/pluginRegistry\";\nimport { RoleChip, WorkerPoolChip } from \"~/components/Chips\";\nimport { WorkerPoolsContextualHelp, WorkerPoolsVariableContextualHelp } from \"~/components/ContextualHelp/ContextualHelpSnippets\";\nimport { ExecuteOctopusServer } from \"~/components/Images/ExecutionLocation/ExecuteOctopusServer\";\nimport { ExecuteOctopusServerRoles } from \"~/components/Images/ExecutionLocation/ExecuteOctopusServerRoles\";\nimport { ExecuteTargets } from \"~/components/Images/ExecutionLocation/ExecuteTargets\";\nimport { ExecuteWorker } from \"~/components/Images/ExecutionLocation/ExecuteWorker\";\nimport { ExecuteWorkerRoles } from \"~/components/Images/ExecutionLocation/ExecuteWorkerRoles\";\nimport TransitionAnimation from \"~/components/TransitionAnimation/TransitionAnimation\";\nimport { ExpandableFormSection, Note, Select, Summary, UnstructuredFormSection } from \"~/components/form\";\nimport { CardFill } from \"~/components/form/Sections/ExpandableFormSection\";\nimport ExpanderSectionHeading from \"~/components/form/Sections/FormSectionHeading\";\nimport WorkerPoolVariableSelect from \"~/components/form/WorkerPoolSelect/WorkerPoolVariableSelect\";\nimport { FormSection } from \"~/components/form/index\";\nimport ParseHelper from \"~/utils/ParseHelper/ParseHelper\";\nimport { generateDefaultActionContainer, isRunOnServerOrWorkerPool } from \"./CommonProcessHelpers\";\nimport styles from \"./style.module.less\";\ninterface ExecutionPlanProps {\n projectId: string | undefined;\n projectSlug: string;\n gitRef: GitRefResource | undefined;\n expandedByDefault: boolean;\n executionLocation: ActionExecutionLocation;\n runOnServerOrWorkerPoolCopy: RunOnServerOrWorkerPool | null;\n runOn: RunOn;\n targetRoleOption: TargetRoles;\n targetRoles: string;\n targetWorkerPool: string | null;\n targetWorkerPoolVariable: string | null;\n isChildStep: boolean;\n maxParallelism: string;\n availableRoles: string[];\n canRunOnWorker: boolean;\n availableWorkerPools: WorkerPoolResource[];\n isBuiltInWorkerEnabled: boolean;\n targetRolesError: string;\n imageNameError: string;\n runsOnServer: boolean;\n feeds: FeedResource[];\n canRunInContainer: boolean;\n containerImageRecommendation?: JSX.Element[];\n loadFeeds: (callback?: (feeds: FeedResource[]) => void) => Promise;\n getFieldError(field: string): string;\n onRunOnChanged(runOn: T): void;\n onTargetRolesChanged(roles: string[]): void;\n onTargetWorkerPoolChanged(workerPoolId: string | null, workerPoolVariable: string | null): void;\n onMaxParallelismChanged(max: string): void;\n doBusyTask(action: () => Promise): Promise;\n analyticsStepEditorDispatch: (name: string, event: Omit) => void;\n mixedExecutionLocationsConfig: MixedExecutionLocationsConfig;\n disableInlineExecutionContainers: boolean;\n isKubernetesStep: boolean;\n userOnboarding: UserOnboardingResource | null;\n shouldRenderTargetRolesExpander: boolean;\n stepTemplateName: string;\n preferredOperatingSystem?: CloudWorkerPoolsMetadata[\"OperatingSystem\"];\n requiredTools?: CloudWorkerPoolsMetadata[\"SupportedTools\"];\n processType: ProcessType;\n isStepFromProcessTemplate?: boolean;\n}\ninterface ExecutionPlanState {\n showWindowSize: boolean;\n targetWorkerPoolId: string | null;\n targetWorkerPoolVariable: string | null;\n poolSelect: WorkerPoolSelect;\n}\nenum WorkerPoolSelect {\n Pool = \"Pool\",\n Variable = \"Variable\"\n}\ntype Props = ExecutionPlanProps;\nclass ExecutionPlan extends React.Component {\n phaseEnvironments: string[] = [];\n environmentNameMap = {};\n constructor(props: Props) {\n super(props);\n this.state = this.getStateUpdate();\n }\n getStateUpdate(): ExecutionPlanState {\n return {\n showWindowSize: this.props.maxParallelism ? this.props.maxParallelism.length > 0 : false,\n targetWorkerPoolId: isRunOnServerOrWorkerPool(this.props.runOn) ? this.props.targetWorkerPool || this.getDefaultWorkerIdPoolForRunOn(this.props.runOn)! : null!,\n targetWorkerPoolVariable: this.props.targetWorkerPoolVariable,\n poolSelect: !!this.props.targetWorkerPoolVariable ? WorkerPoolSelect.Variable : WorkerPoolSelect.Pool,\n };\n }\n componentDidUpdate(prevProps: Props) {\n if (prevProps.maxParallelism !== this.props.maxParallelism || prevProps.runOn !== this.props.runOn || prevProps.targetWorkerPoolVariable !== this.props.targetWorkerPoolVariable) {\n this.setState(this.getStateUpdate());\n }\n }\n shouldComponentUpdate(nextProps: Props, nextState: ExecutionPlanState) {\n return (nextProps.runOn !== this.props.runOn ||\n nextProps.targetRoles !== this.props.targetRoles ||\n nextProps.targetRoleOption !== this.props.targetRoleOption ||\n nextProps.maxParallelism !== this.props.maxParallelism ||\n nextProps.targetRolesError !== this.props.targetRolesError ||\n nextProps.imageNameError !== this.props.imageNameError ||\n nextProps.feeds !== this.props.feeds ||\n nextState.showWindowSize !== this.state.showWindowSize ||\n nextState.targetWorkerPoolId !== this.state.targetWorkerPoolId ||\n nextState.targetWorkerPoolVariable !== this.state.targetWorkerPoolVariable ||\n nextState.poolSelect !== this.state.poolSelect);\n }\n render() {\n return (
    \n {this.props.mixedExecutionLocationsConfig.enabled && (<>\n \n {this.props.mixedExecutionLocationsConfig.callout}\n )}\n\n {this.props.isStepFromProcessTemplate ? () : (\n {this.renderRunOnOptions()}\n )}\n {this.renderRolesOptions()}\n {(!this.props.mixedExecutionLocationsConfig.enabled || !this.props.mixedExecutionLocationsConfig.allLocationsRequireActionContainer) && ()}\n
    );\n }\n private executionLocationSummary() {\n const summary = [This step will run];\n if (this.state.targetWorkerPoolId || this.state.targetWorkerPoolVariable) {\n summary.push(\n {\" \"}\n on a worker from a worker pool\n );\n }\n else {\n // keeping these as four cases not two and combining the if checks because I am\n // not sure of the priority of Octopus.Action.RunOnServer over props.executionLocation\n if (this.props.executionLocation === ActionExecutionLocation.AlwaysOnServer) {\n if (this.props.processType === ProcessType.Blueprint && this.props.targetRoleOption !== TargetRoles.None) {\n summary.push(\n {\" \"}\n on a worker selected in the project\n );\n }\n else {\n summary.push(\n {\" \"}\n on the Octopus Server\n );\n }\n }\n else if (this.props.executionLocation === ActionExecutionLocation.AlwaysOnTarget) {\n summary.push(\n {\" \"}\n on each deployment target\n );\n }\n else if (this.props.runOn.executionLocation === ExecutionLocation.DeploymentTarget) {\n summary.push(\n {\" \"}\n on each deployment target\n );\n }\n else {\n if (this.props.processType === ProcessType.Blueprint) {\n summary.push(\n {\" \"}\n on a worker selected in the project\n );\n }\n else {\n summary.push(\n {\" \"}\n on the Octopus Server\n );\n }\n }\n }\n if (this.props.targetRoleOption === TargetRoles.None) {\n summary.push(

    );\n return Summary.summary(React.Children.toArray(summary));\n }\n if (this.props.runOn.executionLocation !== ExecutionLocation.DeploymentTarget &&\n (this.props.runOn.executionLocation === ExecutionLocation.OctopusServerForRoles || this.props.runOn.executionLocation === ExecutionLocation.WorkerPoolForRoles)) {\n summary.push( on behalf of each deployment target);\n }\n return Summary.summary(React.Children.toArray(summary));\n }\n private workerPoolSummary() {\n if (this.state.poolSelect === WorkerPoolSelect.Variable) {\n return Summary.summary(\n The worker pool from the {this.state.targetWorkerPoolVariable} variable will be used\n );\n }\n const worker = this.props.availableWorkerPools.find((element) => element.Id === this.state.targetWorkerPoolId);\n return worker ? Summary.summary() : Summary.placeholder(\"No pool selected - Let Octopus pick the default pool\");\n }\n private workerPoolsAvailable() {\n return this.props.availableWorkerPools.length > 0 && this.props.canRunOnWorker;\n }\n private renderRunOnOptions = () => {\n const imageHeight = \"5rem\";\n const alwaysOnServer = this.props.executionLocation === ActionExecutionLocation.AlwaysOnServer;\n if (alwaysOnServer && this.props.targetRoleOption !== TargetRoles.Optional) {\n if (this.workerPoolsAvailable()) {\n // Workers\n return (

    \n {this.props.targetRoleOption !== TargetRoles.None ? (
    \n {\" \"}\n \n This step will run once on a worker on behalf of each deployment target\n \n \n Execute on a worker on behalf of all the deployment targets with selected target tags.\n
    ) : (
    \n {\" \"}\n \n This step will run once on a worker\n \n \n Execute once on a worker.\n
    )}\n
    );\n }\n else {\n // Octopus Server\n return (
    \n {this.props.targetRoleOption !== TargetRoles.None ? (
    \n {\" \"}\n \n This step will run on the Octopus Server on behalf of each deployment target\n \n \n Execute on the Octopus Server on behalf of all the deployment targets with selected target tags.\n
    ) : (
    \n {\" \"}\n \n This step will run on the Octopus Server\n \n \n Execute once on the Octopus Server.\n
    )}\n
    );\n }\n }\n if (this.props.executionLocation === ActionExecutionLocation.AlwaysOnTarget) {\n return (
    \n \n This step will run on each deployment target\n \n \n Execute on each deployment target with the selected target tags.\n
    );\n }\n return (
    \n {this.renderExecutionLocationRadioGroup(alwaysOnServer, this.props.processType)}\n\n
    \n {this.props.runOn.executionLocation === ExecutionLocation.DeploymentTarget ? (\n \n Execute on each deployment target with the selected target tags.\n ) : (<>\n {this.props.runOn.executionLocation === ExecutionLocation.OctopusServer && this.props.processType === ProcessType.Blueprint && (\n \n Execute once on the worker selected in the project.\n )}\n {this.props.runOn.executionLocation === ExecutionLocation.OctopusServerForRoles && this.props.processType === ProcessType.Blueprint && (\n \n Execute on the worker selected in the project on behalf of all the deployment targets with selected target tags.\n )}\n {this.props.runOn.executionLocation === ExecutionLocation.OctopusServer && this.props.processType !== ProcessType.Blueprint && (\n \n Execute once on the Octopus Server.\n )}\n {this.props.runOn.executionLocation === ExecutionLocation.OctopusServerForRoles && this.props.processType !== ProcessType.Blueprint && (\n \n Execute on the Octopus Server on behalf of all the deployment targets with selected target tags.\n )}\n {this.props.runOn.executionLocation === ExecutionLocation.WorkerPool && (\n \n Execute once on a worker.\n )}\n {this.props.runOn.executionLocation === ExecutionLocation.WorkerPoolForRoles && (\n \n Execute on a worker on behalf of all the deployment targets with selected target tags.\n )}\n )}\n
    \n
    );\n };\n private renderExecutionLocationRadioGroup(alwaysOnServer: boolean, processType?: ProcessType) {\n if (processType === ProcessType.Blueprint) {\n return (\n \n \n {!alwaysOnServer && }\n );\n }\n return (\n {!this.props.isChildStep && this.workerPoolsAvailable() && }\n {!this.props.isChildStep && !this.workerPoolsAvailable() && }\n {this.workerPoolsAvailable() ? () : ()}\n {!alwaysOnServer && }\n );\n }\n private onRunOnSelectChanged = (runOnTypeString: string) => {\n const runOnType = runOnTypeString as ExecutionLocation;\n if (runOnType === ExecutionLocation.DeploymentTarget) {\n this.props.onRunOnChanged(new RunOnDeploymentTarget());\n }\n else {\n const newRunOn: RunOnServerOrWorkerPool = this.props.runOnServerOrWorkerPoolCopy\n ? { ...this.props.runOnServerOrWorkerPoolCopy, executionLocation: runOnType }\n : { container: generateDefaultActionContainer(), runningInContainer: false, executionLocation: runOnType };\n this.setWorkerPoolDefault(this.state.poolSelect, newRunOn);\n this.props.onRunOnChanged(newRunOn);\n }\n };\n private renderRolesOptions = () => {\n if (this.props.targetRoleOption === TargetRoles.None) {\n return null;\n }\n if (this.props.isChildStep && !this.props.runsOnServer) {\n const roles = this.roleList(this.props.targetRoles);\n const pluralized = roles.length === 1 ? \"\" : \"s\";\n return (\n This step is part of a rolling step, which runs on deployment targets with the following target {`tag${pluralized}`} {roles}\n );\n }\n const isCompatibleWorkerPoolSelected = isWorkerPoolCompatible(this.state.targetWorkerPoolId, this.props.preferredOperatingSystem, this.props.requiredTools ?? [], this.props.availableWorkerPools);\n const nodes = [];\n if (!(this.props.runOn.executionLocation === ExecutionLocation.DeploymentTarget) && (this.props.runOn.executionLocation === ExecutionLocation.WorkerPool || this.props.runOn.executionLocation === ExecutionLocation.WorkerPoolForRoles)) {\n nodes.push(}>\n {!isCompatibleWorkerPoolSelected && (\n The selected worker pool might not have the tools required to execute this step.\n )}\n \n \n {this.state.poolSelect === WorkerPoolSelect.Pool && (;\n};\nRunbookSelector.displayName = \"RunbookSelector\"\nclass CloneStepInternal extends DataBaseComponent {\n constructor(props: CloneStepProps) {\n super(props);\n this.state = {\n selectedRunbook: this.props.currentRunbook,\n selectedProjectRunbooks: {},\n selectedProject: this.props.currentProject,\n projectSummaries: {},\n processTargetType: this.props.currentRunbook ? ProcessTargetType.Runbook : ProcessTargetType.Deployment,\n status: CloneStatus.AskingForTarget,\n };\n }\n async componentDidMount() {\n return this.doBusyTask(async () => {\n const projectSummaries = await repository.Projects.summaries();\n const selectedProjectRunbooks = await repository.Runbooks.getRunbooks(this.state.selectedProject, undefined, { take: Repository.takeAll });\n this.setState({\n projectSummaries: toResourceLookup(projectSummaries),\n selectedProjectRunbooks: toResourceLookup(selectedProjectRunbooks.Items),\n });\n });\n }\n renderTargetSelectionView() {\n const hasProcessViewPermissions = isAllowed({\n permission: Permission.ProcessView,\n project: this.props.currentProject.Id,\n tenant: \"*\",\n });\n const isSelectedProjectVersionControlled = this.state.selectedProject.IsVersionControlled;\n const isGitRunbooksEnabledInSelectedProject = HasRunbooksInGit(this.state.selectedProject.PersistenceSettings);\n const isOkDisabled = (this.state.processTargetType === ProcessTargetType.Deployment && isSelectedProjectVersionControlled) || (this.state.processTargetType === ProcessTargetType.Runbook && isGitRunbooksEnabledInSelectedProject);\n return (\n

    \n Clone the step {this.props.actionName} to:\n

    \n\n ({ value: s.Id, text: s.Name }))} onChange={(stepId) => {\n this.setState({ selectedStepId: stepId! });\n this.clearErrors();\n }} allowClear={true}/>\n );\n }\n private onOk() {\n if (!this.state.selectedStepId) {\n this.setValidationErrors(\"Please select a step\", { selectedStepId: \"Select a step\" });\n return false;\n }\n this.props.onStepSelected(this.state.selectedStepId);\n return true;\n }\n private changeToTargetRoles() {\n return this.state.selectedStepId && this.props.currentlyTargetedRoles !== this.props.steps.find((s) => s.Id === this.state.selectedStepId)!.Properties[SpecialVariables.Action.TargetRoles];\n }\n static displayName = \"SelectParentStep\";\n}\nexport default SelectParentStep;\n","import * as React from \"react\";\nimport type { DataBaseComponentState } from \"~/components/DataBaseComponent/DataBaseComponent\";\nimport { DataBaseComponent } from \"~/components/DataBaseComponent/DataBaseComponent\";\nimport SaveDialogLayout from \"~/components/DialogLayout/SaveDialogLayout\";\nimport type { SortableItemModel } from \"~/primitiveComponents/dataDisplay/SortableList/SortableList\";\nimport SortableList from \"~/primitiveComponents/dataDisplay/SortableList/SortableList\";\ninterface StepSortModel extends SortableItemModel {\n Id: string;\n}\ninterface StepSorterProps {\n title: string;\n initialItems: StepSortModel[];\n stepId?: string;\n onComplete(ordered: StepSortModel[]): void;\n}\ninterface StepSorterState extends DataBaseComponentState {\n items: StepSortModel[];\n}\nclass StepSorter extends DataBaseComponent {\n constructor(props: StepSorterProps) {\n super(props);\n this.state = {\n items: [...this.props.initialItems],\n };\n }\n async save() {\n if (this.state.items) {\n this.props.onComplete(this.state.items);\n }\n return true;\n }\n render() {\n const steps = this.state.items;\n return ( this.save()} saveButtonLabel=\"Done\">\n {steps && }\n );\n }\n private stepsOrderChanged = (items: StepSortModel[]) => {\n this.setState({ items });\n };\n static displayName = \"StepSorter\";\n}\nexport default StepSorter;\n","/* eslint-disable @typescript-eslint/no-non-null-assertion */\n/* eslint-disable @typescript-eslint/consistent-type-assertions */\n/* eslint-disable @octopusdeploy/custom-portal-rules/no-restricted-imports */\nimport { CustomMenu } from \"@octopusdeploy/design-system-components\";\nimport type { DeploymentActionResource, DeploymentProcessResource, DeploymentStepResource, GitRefResource, IProcessResource, ModifyProcessCommand, PersistenceSettings, ProcessResource, RunbookProcessResource, RunbookResource, } from \"@octopusdeploy/octopus-server-client\";\nimport { HasGitPersistenceSettings, HasRunbooksInGit, isDeploymentProcessResource, isRunbookProcessResource, ProcessType, RunCondition, SpecialVariables } from \"@octopusdeploy/octopus-server-client\";\nimport { cloneDeep } from \"lodash\";\nimport * as React from \"react\";\nimport { usePersistenceSettingsContext } from \"~/areas/projects/context/PersistenceSettingsContext\";\nimport { repository } from \"~/clientInstance\";\nimport type { Errors } from \"~/components/DataBaseComponent/Errors\";\nimport type { OverflowMenuDialogItem, OverflowMenuDisabledItem, OverflowMenuGenericItem, OverflowMenuNavLink } from \"~/components/OverflowMenu/OverflowMenu\";\nimport { OverflowMenuItems, OverflowMenuItemsRenderer } from \"~/components/OverflowMenu/OverflowMenu\";\nimport type { CloneDeploymentProcessStepsSource, CloneRunbookProcessSource, CloneSourceDefinition, CloneStepsSource } from \"../../Process/Common/CloneStep\";\nimport CloneStep, { CloneStepContextType, isDeploymentsStepsCloneSource, isRunbookProcessCloneSource } from \"../../Process/Common/CloneStep\";\nimport SelectParentStep from \"../../Process/Common/SelectParentStep\";\nimport { useOptionalRunbookContext } from \"../../Runbooks/RunbookContext\";\nimport { deleteActionAndRedirect, getDeleteProcessMenuItem, processScopedEditPermission } from \"../Common/CommonProcessHelpers\";\nimport type { ProcessContextProps } from \"../Contexts/ProcessContext\";\nimport { useProcessContext } from \"../Contexts/ProcessContext\";\nimport { determineStepCondition, determineTargetRoles } from \"../Contexts/ProcessContextState\";\nimport type { BoundErrorActionsType } from \"../Contexts/ProcessErrors/ProcessErrorsContext\";\nimport { useProcessErrorActions } from \"../Contexts/ProcessErrors/ProcessErrorsContext\";\nimport type { ProcessQueryStringContextProps } from \"../Contexts/ProcessQueryString/ProcessQueryStringContext\";\nimport { useProcessQueryStringContext } from \"../Contexts/ProcessQueryString/ProcessQueryStringContext\";\nimport type { BoundWarningActionsType } from \"../Contexts/ProcessWarnings/ProcessWarningsContext\";\nimport { useProcessWarningActions } from \"../Contexts/ProcessWarnings/ProcessWarningsContext\";\nimport { generateGuid } from \"../generation\";\nimport type { ProcessIdentifier, StoredAction, StoredStep, Warnings } from \"../types\";\nimport { isDeploymentOrRunbookProcessIdentifier } from \"../types\";\nimport StepSorter from \"./ProcessListItemSorter\";\nexport interface ProcessSearchFilter extends EditorFilter {\n channelId?: string;\n}\nexport type RunbookProcessSearchFilter = EditorFilter;\nexport interface EditorFilter {\n filterKeyword: string;\n environmentId?: string;\n includeUnscoped?: boolean;\n}\nexport interface DeploymentProcessEditorQuery {\n filterKeyword?: string;\n environmentId?: string;\n channelId?: string;\n includeUnscoped?: boolean;\n}\nexport function getDeploymentProcessQueryFromFilters(filter: ProcessSearchFilter): DeploymentProcessEditorQuery {\n return {\n ...filter,\n filterKeyword: filter.filterKeyword,\n };\n}\nexport function getDeploymentProcessFilter(query: DeploymentProcessEditorQuery): ProcessSearchFilter {\n return {\n filterKeyword: query.filterKeyword || \"\",\n environmentId: query.environmentId || \"\",\n channelId: query.channelId || \"\",\n includeUnscoped: query.includeUnscoped,\n };\n}\ntype OverflowMenuTypes = OverflowMenuNavLink | OverflowMenuDialogItem | OverflowMenuDisabledItem | OverflowMenuGenericItem;\nexport interface StepsRenderProps {\n name: string;\n index: string;\n detailsUrl: string;\n menuItems: Array;\n isParentGroup: boolean;\n isSelected: boolean;\n isChildAction: boolean;\n isPlaceholder: boolean;\n isRunInParallelWithLast: boolean;\n isDisabled: boolean;\n actionErrors: string[];\n actionId: string | undefined;\n parentStepId: string | undefined;\n}\nexport interface StepContextMenuProps {\n step: StoredStep;\n action?: StoredAction;\n stepIndex?: number;\n actionIndex?: number;\n isChildAction?: boolean;\n isParentGroup?: boolean;\n isSelected?: boolean;\n keywordSearch?: string;\n errors: Errors | undefined;\n busy: Promise | undefined;\n render: (props: StepsRenderProps) => React.ReactElement;\n}\ninterface StepsOverflowMenuOptions {\n runbook: Readonly | undefined;\n step: Readonly;\n action?: Readonly;\n processContext: ProcessContextProps;\n errorActions: BoundErrorActionsType;\n warningActions: BoundWarningActionsType;\n processType: ProcessType;\n processQueryStringContext: ProcessQueryStringContextProps;\n isSelected: boolean;\n onClose: () => void;\n}\nfunction getOverflowItems(gitRefResource: GitRefResource | undefined, processIdentifier: ProcessIdentifier, persistenceSettings: PersistenceSettings, releaseCreationPackageStepId: string | undefined, options: StepsOverflowMenuOptions, isChildAction?: boolean): OverflowMenuTypes[] {\n const { action, step } = options;\n const { selectors } = options.processContext;\n const projectId = isDeploymentOrRunbookProcessIdentifier(processIdentifier) ? processIdentifier.projectId : undefined;\n const menuItems = [];\n const processEditPermission = { permission: processScopedEditPermission(options.processType), project: projectId, wildcard: true };\n const { actions: contextActions, selectors: contextSelectors } = options.processContext;\n const { actions: queryStringActions } = options.processQueryStringContext;\n if (!isChildAction) {\n if (!canHaveChildren(options, step)) {\n menuItems.push(OverflowMenuItems.disabledItem(\"Add child step\", \"This step type does not support child steps\"));\n }\n else {\n menuItems.push(OverflowMenuItems.navItem(\"Add child step\", contextSelectors.getAddChildStepUrl(gitRefResource, step.Id), processEditPermission));\n }\n }\n if (action) {\n const isDisabled = contextSelectors.isActionDisabled(action.Id);\n menuItems.push(OverflowMenuItems.item(isDisabled ? \"Enable\" : \"Disable\", () => (isDisabled ? enable(options, action) : disable(options, action)), processEditPermission));\n }\n if (!action && canHaveChildren(options, step)) {\n menuItems.push(OverflowMenuItems.item(\"Enable all\", () => enableAll(options, step), processEditPermission));\n menuItems.push(OverflowMenuItems.item(\"Disable all\", () => disableAll(options, step), processEditPermission));\n }\n if (action && selectors.isChildAction(action.Id)) {\n menuItems.push(OverflowMenuItems.item(\"Move out\", () => options.processContext.actions.moveActionOutOfStep(action.Id), processEditPermission));\n }\n const numberOfActions = contextSelectors.getAllActions().length;\n if (action && numberOfActions > 1) {\n if (!options.processContext.selectors.canStepBeChild(step.Id)) {\n menuItems.push(OverflowMenuItems.disabledItem(\"Move into...\", \"No steps available that can have children or this step type cannot be a child step.\"));\n }\n else {\n const steps = contextSelectors.getAllSteps();\n const stepsToMoveInto = steps.filter((s) => s.Id !== step.Id && canHaveChildren(options, s));\n const selectParentStep = ( {\n //We need to close the menu in this particular case as the element the menu would be referring to\n //would no longer be a valid target, but would still be defined. If we did not close the menu we\n //would have some janky behavior and the menu would go flying to the top left corner. Ideally\n //we wouldn't have dialogs in the menus at all which would remove much of the need to keep these\n //menus open in the first place.\n options.onClose();\n options.processContext.actions.moveActionIntoStep(action.Id, parentStepId);\n }}/>);\n menuItems.push(OverflowMenuItems.dialogItem(\"Move into...\", selectParentStep, processEditPermission));\n }\n }\n const cloneStepContext = {\n getRunbookProcess: (source: CloneRunbookProcessSource) => {\n return repository.RunbookProcess.get(source.runbook.RunbookProcessId);\n },\n getDeploymentProcess: (source: CloneDeploymentProcessStepsSource) => repository.DeploymentProcesses.get(source.project.Id),\n getProcessResource: (): DeploymentProcessResource | RunbookProcessResource => {\n const process = options.processContext.selectors.getProcessResource();\n if (isDeploymentProcessResource(process) || isRunbookProcessResource(process)) {\n return process;\n }\n throw new Error(\"Attempting to clone a step from an unsupported process type.\");\n },\n getActionResource: options.processContext.selectors.getActionResource,\n getStepResource: options.processContext.selectors.getStepResource,\n setProcess: options.processContext.actions.setProcess,\n cloneToDifferentProcess: options.processContext.actions.cloneToDifferentProcess,\n setErrors: (errors: Errors) => options.errorActions.setErrors(errors, options.processContext.selectors),\n clearErrors: options.errorActions.clearErrors,\n setWarnings: (warnings: Warnings) => options.warningActions.setWarnings(warnings, options.processContext.selectors),\n clearWarnings: options.warningActions.clearWarnings,\n };\n if (projectId && (!HasGitPersistenceSettings(persistenceSettings) || (options.processType == ProcessType.Runbook && !HasRunbooksInGit(persistenceSettings)))) {\n const cloneStepAction = ( CloneStepAction(cloneStepContext, definition, step, action)}/>);\n menuItems.push(OverflowMenuItems.dialogItem(\"Clone...\", cloneStepAction, processEditPermission));\n }\n menuItems.push(getDeleteProcessMenuItem(!!action ? \"step\" : \"parent step\", async () => {\n deleteActionAndRedirect(step, action, options.isSelected, contextActions, contextSelectors, queryStringActions);\n }, processEditPermission, releaseCreationPackageStepId, processIdentifier, step, action, options.processContext));\n if (!action && contextSelectors.hasValidProcess()) {\n menuItems.push(OverflowMenuItems.dialogItem(\"Reorder child steps\", {\n contextActions.reorderChildActions(step.Id, ordered.map((x) => x.Id));\n }}/>, processEditPermission));\n }\n return menuItems;\n}\nfunction canHaveChildren(options: StepsOverflowMenuOptions, step: StoredStep) {\n const { processContext } = options;\n return processContext.selectors.canStepHaveChildren(step.Id);\n}\nasync function disableAll(options: StepsOverflowMenuOptions, step: StoredStep) {\n options.processContext.actions.disableStep(step.Id);\n}\nasync function enableAll(options: StepsOverflowMenuOptions, step: StoredStep) {\n options.processContext.actions.enableStep(step.Id);\n}\nfunction newStepResourceFromStep(step: Readonly, action: Readonly, newActionResource: DeploymentActionResource) {\n const { condition, expression } = determineStepCondition(newActionResource, step);\n const targetRoles = determineTargetRoles(action, step);\n return {\n Id: generateGuid(),\n Name: newActionResource.Name,\n PackageRequirement: step.PackageRequirement,\n Properties: {\n ...step.Properties,\n ...(condition === RunCondition.Variable ? { \"Octopus.Step.ConditionVariableExpression\": expression } : {}),\n ...{ \"Octopus.Action.TargetRoles\": targetRoles },\n },\n Condition: condition,\n StartTrigger: step.StartTrigger,\n Actions: [newActionResource],\n Links: {},\n };\n}\nasync function enable(options: StepsOverflowMenuOptions, action: StoredAction) {\n const { actions: contextActions } = options.processContext;\n contextActions.enableAction(action.Id);\n}\nasync function disable(options: StepsOverflowMenuOptions, action: {\n Id: string;\n}) {\n const { actions: contextActions } = options.processContext;\n contextActions.disableAction(action.Id);\n}\nexport type CloneStepContext = {\n getRunbookProcess: (source: CloneRunbookProcessSource) => Promise;\n getDeploymentProcess: (source: CloneDeploymentProcessStepsSource) => Promise;\n getProcessResource: () => Readonly;\n getActionResource: (actionId: string) => DeploymentActionResource;\n getStepResource: (stepId: string) => DeploymentStepResource;\n setProcess: (process: ProcessResource, updateCleanModel: boolean) => Promise;\n cloneToDifferentProcess: (process: ModifyProcessCommand, targetProjectPersistenceSettings: PersistenceSettings, onError: (errors: Errors) => void, onSuccess: () => void) => Promise;\n setErrors: (errors: Errors) => void;\n clearErrors: () => void;\n};\nexport const CloneStepAction = async (context: CloneStepContext, definition: CloneSourceDefinition, step: Readonly, action?: Readonly): Promise => {\n const getProcess = (source: CloneStepsSource): Promise => {\n if (definition.targetType === CloneStepContextType.CurrentContext) {\n return Promise.resolve(context.getProcessResource());\n }\n else {\n if (isRunbookProcessCloneSource(source)) {\n return context.getRunbookProcess(source);\n }\n else if (isDeploymentsStepsCloneSource(source)) {\n return context.getDeploymentProcess(source);\n }\n else {\n throw new Error(\"Failed to find process\");\n }\n }\n };\n const stepNameExists = (steps: DeploymentStepResource[], stepName: string) => {\n return steps.filter((s) => s.Name === stepName).length > 0;\n };\n const nameOfActionExists = (steps: DeploymentStepResource[], actionName: string) => {\n return steps.filter((s) => s.Name === actionName || s.Actions.filter((a) => a.Name === actionName).length > 0).length > 0;\n };\n const getNewActionNameForResource = (steps: DeploymentStepResource[], clonedAction: DeploymentActionResource) => {\n let suffix = \"\";\n let counter = 1;\n while (nameOfActionExists(steps, clonedAction.Name + suffix)) {\n suffix = \" - clone (\" + counter + \")\";\n counter++;\n }\n return clonedAction.Name + suffix;\n };\n const getNewStepNameForResource = (steps: DeploymentStepResource[], clonedStep: DeploymentStepResource) => {\n let suffix = \"\";\n let counter = 1;\n while (stepNameExists(steps, clonedStep.Name + suffix)) {\n suffix = \" - clone (\" + counter + \")\";\n counter++;\n }\n return clonedStep.Name + suffix;\n };\n const targetProcess = await getProcess(definition.target);\n if (!targetProcess) {\n throw new Error(\"Failed to find targetProcess\");\n }\n if (action && step.ActionIds.length > 1 && definition.targetType !== CloneStepContextType.CurrentContext) {\n // Child step action being cloned to a different context\n const newStep = newStepResourceFromStep(step, action, context.getActionResource(action.Id));\n newStep.Actions[0].Id = generateGuid();\n const newName = getNewActionNameForResource(targetProcess.Steps, newStep.Actions[0]);\n newStep.Actions[0].Name = newName;\n newStep.Actions[0].Slug = undefined; // Let Octopus populate the slug on save\n newStep.Actions[0].Channels = [];\n targetProcess.Steps.splice(targetProcess.Steps.length, 0, newStep);\n }\n else if (action && step.ActionIds.length > 1 && definition.targetType === CloneStepContextType.CurrentContext) {\n // It's a child step being cloned within the same step.\n const clonedAction: StoredAction = cloneDeep(action);\n clonedAction.Id = generateGuid();\n const newName = getNewActionNameForResource(targetProcess.Steps, clonedAction);\n clonedAction.Name = newName;\n clonedAction.Slug = undefined;\n const targetStep = targetProcess.Steps.find((x) => x.Id === step.Id);\n const actionIndex = step.ActionIds.indexOf(action.Id);\n if (actionIndex === -1) {\n targetStep!.Actions.splice(step.ActionIds.length, 0, clonedAction);\n }\n else {\n targetStep!.Actions.splice(actionIndex + 1, 0, clonedAction);\n }\n }\n else {\n // It's a step being cloned (either to the same project or a different project).\n const clonedStepResource = { ...context.getStepResource(step.Id) };\n clonedStepResource.Id = generateGuid();\n const newStepName = getNewStepNameForResource(targetProcess.Steps, clonedStepResource);\n clonedStepResource.Name = newStepName;\n clonedStepResource.Slug = undefined;\n clonedStepResource.Actions.forEach((a, index) => {\n clonedStepResource.Actions[index].Id = generateGuid();\n const newActionName = getNewActionNameForResource(targetProcess.Steps, clonedStepResource.Actions[index]);\n clonedStepResource.Actions[index].Name = newActionName;\n clonedStepResource.Actions[index].Slug = undefined;\n clonedStepResource.Actions[index].Channels = [];\n });\n const stepIndex = targetProcess.Steps.findIndex((x) => x.Id === step.Id);\n if (stepIndex === -1) {\n targetProcess.Steps.splice(targetProcess.Steps.length, 0, clonedStepResource);\n }\n else {\n targetProcess.Steps.splice(stepIndex + 1, 0, clonedStepResource);\n }\n }\n // TODO: Tease this function apart into two streams (CurrentContext vs not), then we can isolate these things within the context without fully stomping it.\n if (definition.targetType === CloneStepContextType.CurrentContext) {\n // Stomp the whole process in context with the new version.\n await context.setProcess(targetProcess, false);\n }\n else {\n await context.cloneToDifferentProcess(targetProcess, definition.target.project.PersistenceSettings, (errors) => context.setErrors(errors), () => context.clearErrors());\n }\n return targetProcess;\n};\nexport class ParentStepContextMenuTarget {\n static create(element: Element, stepId: string): Readonly {\n return new ParentStepContextMenuTarget(element, stepId);\n }\n element: Element;\n stepId: string;\n private constructor(element: Element, stepId: string) {\n this.element = element;\n this.stepId = stepId;\n }\n}\nexport class ActionContextMenuTarget {\n static create(element: Element, actionId: string): Readonly {\n return new ActionContextMenuTarget(element, actionId);\n }\n element: Element;\n actionId: string;\n private constructor(element: Element, actionId: string) {\n this.element = element;\n this.actionId = actionId;\n }\n}\nexport const NoContextMenuTarget = \"None\";\nexport type ContextMenuTarget = ParentStepContextMenuTarget | ActionContextMenuTarget | typeof NoContextMenuTarget;\ninterface ProcessListItemContextMenuProps {\n target: ContextMenuTarget;\n open: boolean;\n onRequestClose: () => void;\n gitRefResource: GitRefResource | undefined;\n processIdentifier: ProcessIdentifier;\n releaseCreationPackageStepId: string | undefined;\n}\nexport const ProcessListItemContextMenu: React.FC = (props) => {\n const processContext = useProcessContext();\n const errorActions = useProcessErrorActions();\n const warningActions = useProcessWarningActions();\n const { selectors } = processContext;\n const persistenceSettings = usePersistenceSettingsContext();\n const runbookContext = useOptionalRunbookContext();\n const processQueryStringContext = useProcessQueryStringContext();\n const { state: { queryFilter }, } = processQueryStringContext;\n const targetExists = (props.target instanceof ActionContextMenuTarget && selectors.hasAction(props.target.actionId)) || (props.target instanceof ParentStepContextMenuTarget && selectors.hasStep(props.target.stepId));\n if (props.target === NoContextMenuTarget || !props.target.element || !targetExists) {\n return null;\n }\n const element = props.target.element;\n const step = props.target instanceof ParentStepContextMenuTarget ? selectors.getStepById(props.target.stepId) : selectors.getActionParentStep(props.target.actionId);\n const action = props.target instanceof ActionContextMenuTarget ? selectors.getActionById(props.target.actionId) : undefined;\n const isSelected = props.target instanceof ActionContextMenuTarget ? queryFilter.actionId === props.target.actionId : queryFilter.parentStepId === props.target.stepId || step.ActionIds.some((x) => x === queryFilter.actionId);\n const overflowDefinitions = getOverflowItems(props.gitRefResource, props.processIdentifier, persistenceSettings, props.releaseCreationPackageStepId, {\n isSelected,\n processContext,\n errorActions,\n warningActions,\n processQueryStringContext,\n runbook: runbookContext?.state.runbook,\n processType: processContext.selectors.getProcessType(),\n step,\n action,\n onClose: props.onRequestClose,\n });\n return (\n {({ dialogs, convertedMenuItems }) => (\n {dialogs}\n \n {convertedMenuItems}\n \n )}\n );\n};\nProcessListItemContextMenu.displayName = \"ProcessListItemContextMenu\"\n","import { Divider } from \"@octopusdeploy/design-system-components\";\nimport { ProcessType, StartTrigger, SpecialVariables, type GitRefResource, Permission } from \"@octopusdeploy/octopus-server-client\";\nimport { useTrackEvent } from \"@octopusdeploy/portal-analytics\";\nimport * as React from \"react\";\nimport BlueprintSidebarItem from \"~/areas/projects/components/Process/Blueprints/BlueprintSidebarItem\";\nimport { getProcessTemplateCommitFromAction, getProcessTemplateSlugFromAction } from \"~/areas/projects/components/Process/Blueprints/processTemplateId\";\nimport { createUnassignedTargetTagWarningSettingChangedEvent } from \"~/areas/projects/components/Process/ConnectedDeploymentTargetsStatus/UnassignedTargetTagsWarningCallout.analytics\";\nimport type { ProcessEditorSearchFilterResult } from \"~/areas/projects/components/Process/Contexts/ProcessSearchFilter\";\nimport { ProjectPageTitleAccessory } from \"~/areas/projects/components/ProjectPageTitleAccessory\";\nimport { RegardingDocuments } from \"~/components/AdvancedFilterLayout/RegardingDocuments\";\nimport FilterSearchBox from \"~/components/FilterSearchBox\";\nimport { StepRolling } from \"~/components/Images/Process/StepRolling\";\nimport { NoResults } from \"~/components/NoResults/NoResults\";\nimport { OverflowMenu, OverflowMenuItems } from \"~/components/OverflowMenu/OverflowMenu\";\nimport { PageContent } from \"~/components/PageContent/PageContent\";\nimport { isAllowed } from \"~/components/PermissionCheck/PermissionCheck\";\nimport Section from \"~/components/Section\";\nimport WarningPanel from \"~/components/WarningPanel/WarningPanel\";\nimport { ErrorPanel } from \"~/components/form\";\nimport useLocalStorage from \"~/hooks/useLocalStorage\";\nimport { useOctopusFeatureToggle } from \"~/hooks/useOctopusFeatureToggle\";\nimport getActionLogoUrl from \"../getActionLogoUrl\";\nimport { processScopedEditPermission } from \"./Common/CommonProcessHelpers\";\nimport { useActionTemplatesFromContext } from \"./Contexts/ProcessActionTemplatesContextProvider\";\nimport { useProcessContext } from \"./Contexts/ProcessContext\";\nimport { ProcessErrorSelectors, useProcessErrorSelectors } from \"./Contexts/ProcessErrors/ProcessErrorsContext\";\nimport { useProcessQueryStringContext } from \"./Contexts/ProcessQueryString/ProcessQueryStringContext\";\nimport { useProcessSearchFilterContext } from \"./Contexts/ProcessSearchFilter/ProcessSearchFilterContext\";\nimport { ProcessWarningSelectors, useProcessWarningActions, useProcessWarningSelectors } from \"./Contexts/ProcessWarnings/ProcessWarningsContext\";\nimport deploymentPartStyles from \"./ListItems/ProcessListItem.module.less\";\nimport { ActionContextMenuTarget, NoContextMenuTarget, ParentStepContextMenuTarget, ProcessListItemContextMenu } from \"./ListItems/ProcessListItemContextMenu\";\nimport type { ContextMenuTarget } from \"./ListItems/ProcessListItemContextMenu\";\nimport ProcessListItemForSidebar from \"./ListItems/ProcessListItemForSidebar\";\nimport deploymentPartForSidebarStyles from \"./ListItems/ProcessListItemForSidebar.module.less\";\nimport StepSorter from \"./ListItems/ProcessListItemSorter\";\nimport styles from \"./ProcessSidebarLayout.module.less\";\nimport type { ProcessIdentifier, StoredAction } from \"./types\";\nimport { isDeploymentOrRunbookProcessIdentifier } from \"./types\";\ninterface ProcessSidebarLayoutProps {\n render(): React.ReactNode;\n gitRefResource: GitRefResource | undefined;\n processIdentifier: ProcessIdentifier;\n releaseCreationPackageStepId: string | undefined;\n}\nconst DeploymentProcessLayoutOverflowMenu: React.FC = () => {\n const processContext = useProcessContext();\n const processIdentifier = processContext.state.processIdentifier;\n const isImprovedTargetFeedbackFeatureEnabled = useOctopusFeatureToggle(\"improved-target-feedback\", false);\n const showUnassignedTargetTagWarningToggle = isImprovedTargetFeedbackFeatureEnabled && isAllowed({ permission: Permission.EnvironmentView, environment: \"*\" }) && isAllowed({ permission: Permission.MachineView });\n const projectId = isDeploymentOrRunbookProcessIdentifier(processIdentifier) ? processIdentifier.projectId : undefined;\n const [showUnassignedTargetTag, setShowUnassignedTargetTagWarning] = useLocalStorage(`Octopus.Project.${projectId}.ShowUnassignedTargetTagWarning`, true);\n const warningActions = useProcessWarningActions();\n const trackEvent = useTrackEvent();\n const overFlowActions = React.useMemo(() => {\n const toggleShowUnassignedTargetTagWarning = () => {\n warningActions.clearWarnings();\n trackEvent(createUnassignedTargetTagWarningSettingChangedEvent(!showUnassignedTargetTag));\n setShowUnassignedTargetTagWarning(!showUnassignedTargetTag);\n };\n return [\n OverflowMenuItems.dialogItem(\"Reorder steps\", {\n processContext.actions.reorderSteps(process.map((x) => x.Id));\n processContext.actions.resetPackageRequirementAfterPackageAcquisitionStep();\n }}/>, {\n permission: processScopedEditPermission(processIdentifier.type),\n project: isDeploymentOrRunbookProcessIdentifier(processIdentifier) ? processIdentifier.projectId : undefined,\n wildcard: true,\n }),\n ...(showUnassignedTargetTagWarningToggle ? [OverflowMenuItems.toggleItem(\"Show unassigned target tag warnings\", showUnassignedTargetTag, () => toggleShowUnassignedTargetTagWarning())] : []),\n ];\n }, \n //TODO: Create a smart component for step sorter in order to avoid changing menu items unncessarily as\n //we don't really need to know about the steps and actions until the dialog is actually shown. These menu items\n //will re-render if our state changes, which is unwanted.\n [processContext.actions, processContext.selectors, processIdentifier, setShowUnassignedTargetTagWarning, showUnassignedTargetTag, showUnassignedTargetTagWarningToggle, warningActions, trackEvent]);\n return React.useMemo(() => , [overFlowActions]);\n};\nDeploymentProcessLayoutOverflowMenu.displayName = \"DeploymentProcessLayoutOverflowMenu\"\ninterface ActionSidebarItemProps {\n actionId: string;\n isCurrent: boolean;\n onShowContextMenu: (event: React.MouseEvent, actionId: string) => void;\n}\nconst ActionSidebarItem: React.FC = (props) => {\n const { onShowContextMenu } = props;\n const { selectors } = useProcessContext();\n const actionTemplates = useActionTemplatesFromContext();\n const action = selectors.getActionById(props.actionId);\n const step = selectors.getStepById(action.ParentId);\n const isChildAction = selectors.isChildAction(action.Id);\n const stepNumber = selectors.getStepNumber(step.Id);\n const actionNumber = selectors.getActionNumber(action.Id);\n let actionTypeName = action.ActionType;\n const actionTemplate = actionTemplates.find((x) => x.Type === action.ActionType);\n if (actionTemplate) {\n actionTypeName = actionTemplate.Name;\n }\n const { actions: queryStringActions } = useProcessQueryStringContext();\n const onClick = React.useCallback(() => {\n queryStringActions.showProcessAction(action.Id);\n window.scroll({ top: 0, left: 0, behavior: \"smooth\" });\n //The current query string actions are tied to the same context as selectors. In order to avoid onClick breaking\n //memoization, we should move the actions into its own separate context.\n // eslint-disable-next-line react-hooks/exhaustive-deps\n }, [action.Id]);\n const icon = React.useMemo(() => , []);\n const processErrorSelectors = useProcessErrorSelectors();\n const processWarningSelectors = useProcessWarningSelectors();\n //TODO: revisit, we should remove the selectors from `getActionErrors` and consider passing in the result of the associated selectors instead to avoid\n //having to get a new set of errors every time process state changes\n // eslint-disable-next-line react-hooks/exhaustive-deps\n const errors = React.useMemo(() => processErrorSelectors.getActionErrors(action.Id, selectors), [action.Id, processErrorSelectors]);\n // eslint-disable-next-line react-hooks/exhaustive-deps\n const warnings = React.useMemo(() => processWarningSelectors.getActionWarningSummaries(action.Id, selectors), [action.Id, processWarningSelectors]);\n const handleShowContextMenu = React.useCallback((event: React.MouseEvent) => {\n onShowContextMenu(event, action.Id);\n }, [action.Id, onShowContextMenu]);\n return ();\n};\nActionSidebarItem.displayName = \"ActionSidebarItem\"\ninterface ParentStepSidebarItemProps {\n stepId: string;\n isCurrent: boolean;\n onShowContextMenu: (event: React.MouseEvent, stepId: string) => void;\n renderChildAction: (action: StoredAction) => React.ReactNode;\n}\nconst ParentStepSidebarItem: React.FC = ({ stepId, isCurrent, onShowContextMenu, renderChildAction }) => {\n const { selectors } = useProcessContext();\n const step = selectors.getStepById(stepId);\n const maxParallelism = step.Properties[SpecialVariables.Action.MaxParallelism];\n const showWindowSize = maxParallelism ? maxParallelism.toString().length > 0 : false;\n const { actions: queryStringActions } = useProcessQueryStringContext();\n const onClick = React.useCallback(() => {\n queryStringActions.showProcessParentStep(step.Id);\n window.scroll({ top: 0, left: 0, behavior: \"smooth\" });\n //The current query string actions are tied to the same context as selectors. In order to avoid onClick breaking\n //memoization, we should move the actions into its own separate context.\n // eslint-disable-next-line react-hooks/exhaustive-deps\n }, [step.Id]);\n const parentStepLabel = React.useMemo(() => showWindowSize ? (Rolling deployment) : (\n Multi-step deployment across\n
    \n deployment targets\n
    ), [showWindowSize]);\n const icon = React.useMemo(() => , []);\n const processErrorSelectors = useProcessErrorSelectors();\n const errors = React.useMemo(() => processErrorSelectors.getStepErrors(step.Id), [processErrorSelectors, step.Id]);\n const processWarningSelectors = useProcessWarningSelectors();\n const warnings = React.useMemo(() => processWarningSelectors.getStepWarningSummaries(step.Id), [processWarningSelectors, step.Id]);\n const handleShowContextMenu = React.useCallback((event: React.MouseEvent) => {\n onShowContextMenu(event, step.Id);\n }, [onShowContextMenu, step.Id]);\n return (
    \n \n {selectors.getChildActions(step.Id).map((action) => {\n return renderChildAction(action);\n })}\n
    );\n};\nParentStepSidebarItem.displayName = \"ParentStepSidebarItem\"\nconst useProcessErrors = (filteredSteps: ProcessEditorSearchFilterResult, errorSelectors: ProcessErrorSelectors) => {\n const { selectors } = useProcessContext();\n const { actions: queryStringActions } = useProcessQueryStringContext();\n return React.useMemo(() => {\n const stepsWithErrors = errorSelectors.getStepsWithErrors();\n const actionsWithErrors = errorSelectors.getActionsWithErrors();\n const errors = new Map void;\n }>();\n filteredSteps.steps.forEach(({ step: filteredStep }) => {\n const step = selectors.getStepById(filteredStep.Id);\n if (stepsWithErrors.includes(step.Id)) {\n const stepNumber = selectors.getStepNumber(step.Id);\n const linkId = step.ActionIds.length === 1 ? step.ActionIds[0] : step.Id;\n // Link to action if there is only 1 action, link to parent step if multiple actions\n errors.set(linkId, {\n message: `${stepNumber}. ${step.Name}`,\n onClick: () => {\n step.ActionIds.length === 1 ? queryStringActions.showProcessAction(step.ActionIds[0]) : queryStringActions.showProcessParentStep(step.Id);\n window.scroll({ top: 0, left: 0, behavior: \"smooth\" });\n },\n });\n }\n step.ActionIds.forEach((actionId) => {\n if (actionsWithErrors.includes(actionId)) {\n const action = selectors.getActionById(actionId);\n const stepNumber = selectors.getStepNumber(step.Id);\n const actionNumber = selectors.getActionNumber(actionId);\n const isChildAction = selectors.isChildAction(actionId);\n const index = isChildAction ? `${stepNumber}.${actionNumber}` : stepNumber;\n errors.set(actionId, {\n message: `${index}. ${action.Name}`,\n onClick: () => {\n queryStringActions.showProcessAction(actionId);\n window.scroll({ top: 0, left: 0, behavior: \"smooth\" });\n },\n });\n }\n });\n });\n return Array.from(errors.values());\n }, [filteredSteps.steps, selectors, errorSelectors, queryStringActions]);\n};\nconst ProcessSidebarLayout: React.FC = (props) => {\n const isBlueprintsEnabled = useOctopusFeatureToggle(\"blueprints\", false);\n const { selectors } = useProcessContext();\n const actionTemplates = useActionTemplatesFromContext();\n const { filteredSteps, actions: searchFilterActions, state: { searchFilter }, } = useProcessSearchFilterContext();\n const { state: { queryFilter }, } = useProcessQueryStringContext();\n const showExtendedFilterDetails = searchFilter.channel || searchFilter.environment || !searchFilter.includeUnscoped;\n const [contextMenuState, setContextMenuState] = React.useState<{\n open: boolean;\n target: ContextMenuTarget;\n }>({\n open: false,\n target: NoContextMenuTarget,\n });\n const processType = selectors.getProcessType();\n const processErrorSelectors = useProcessErrorSelectors();\n const processErrors = useProcessErrors(filteredSteps, processErrorSelectors);\n const handleCloseMenu = React.useCallback(() => setContextMenuState({\n open: false,\n target: NoContextMenuTarget,\n }), []);\n const showParentContextMenu = React.useCallback((event: React.MouseEvent, stepId: string) => {\n event.stopPropagation();\n setContextMenuState({\n open: true,\n target: ParentStepContextMenuTarget.create(event.currentTarget, stepId),\n });\n }, [setContextMenuState]);\n const showActionContextMenu = React.useCallback((event: React.MouseEvent, actionId: string) => {\n event.stopPropagation();\n setContextMenuState({\n open: true,\n target: ActionContextMenuTarget.create(event.currentTarget, actionId),\n });\n }, [setContextMenuState]);\n const renderChildAction = React.useCallback((action: StoredAction) => {\n return ;\n }, [queryFilter, showActionContextMenu]);\n const sectionSearchFilter = React.useMemo(() => (
    \n
    \n searchFilterActions.onFilterChange((prev) => ({ ...prev, filterKeyword: val }))} fullWidth={true} autoFocus={true}/>\n \n
    \n {showExtendedFilterDetails && ( searchFilterActions.onClearFilter()}>\n {!!searchFilter.environment && (
    \n Environment: {searchFilter.environment.Name}\n
    )}\n {!!searchFilter.channel && (
    \n Channel: {searchFilter.channel.Name}\n
    )}\n
    {searchFilter.includeUnscoped ? \"Including unscoped steps\" : \"Excluding unscoped steps\"}
    \n
    )}\n
    ), [searchFilter.channel, searchFilter.environment, searchFilter.filterKeyword, searchFilter.includeUnscoped, searchFilterActions, showExtendedFilterDetails]);\n if (!selectors.hasValidProcess() || !actionTemplates) {\n return ( }} busy={true}>\n {null}\n );\n }\n return (<>\n \n \n {(errorSelectors) => {\n const errorMessage = errorSelectors.getGlobalErrorMessage();\n return (\n {(warningSelectors) => {\n const globalWarnings = warningSelectors.getGlobalWarnings();\n return (\n {errorMessage && ()}\n {globalWarnings.length > 0 && ()}\n );\n }}\n );\n }}\n \n {processType === ProcessType.Deployment && }\n
    \n {selectors.hasSteps() && (
    \n <>\n {sectionSearchFilter}\n
    \n {filteredSteps.steps.length > 0 ? (filteredSteps.steps\n .filter((x) => x.filtered)\n .map(({ step: filteredStep }) => {\n const step = selectors.getStepById(filteredStep.Id);\n if (step.ActionIds.length === 1) {\n const action = selectors.getActionById(step.ActionIds[0]);\n if (isBlueprintsEnabled && action.ActionType === \"Octopus.ProcessTemplate\") {\n const blueprintSlug = getProcessTemplateSlugFromAction(action);\n const blueprintCommit = getProcessTemplateCommitFromAction(action);\n if (blueprintSlug) {\n return ();\n }\n }\n return ;\n }\n return ;\n })) : ()}\n
    \n \n
    )}\n
    {props.render()}
    \n
    \n );\n};\nProcessSidebarLayout.displayName = \"ProcessSidebarLayout\"\nexport default ProcessSidebarLayout;\n","import { ActionButton, ActionButtonType, RadioButtonGroup, RadioButton, Callout } from \"@octopusdeploy/design-system-components\";\nimport React from \"react\";\nimport CustomDialog from \"~/components/Dialog/CustomDialog\";\nimport { SmallDialogFrame, CustomDialogTitleBar, CustomDialogContent, CustomDialogActions } from \"~/components/DialogLayout/Custom\";\nenum MergeActions {\n MergeAndReview = \"MergeAndReview\",\n ClientChanges = \"ClientChanges\",\n Discard = \"Discard\"\n}\ninterface ProcessesMergedDialogProps {\n open: boolean;\n onClose: () => void;\n onMerge: () => void;\n onDiscard: () => void;\n onAcceptClientChanges: () => void;\n}\nexport const ProcessesMergedDialog: React.FC = ({ onClose, onAcceptClientChanges, onDiscard, onMerge, open }) => {\n const [mergeAction, setMergeAction] = React.useState(MergeActions.ClientChanges);\n const handleDone = React.useCallback(() => {\n if (mergeAction === MergeActions.Discard) {\n onDiscard();\n }\n else if (mergeAction === MergeActions.MergeAndReview) {\n onMerge();\n }\n else if (mergeAction === MergeActions.ClientChanges) {\n onAcceptClientChanges();\n }\n }, [mergeAction, onDiscard, onMerge, onAcceptClientChanges]);\n return ( (\n \n \n \n The process has been changed on the server since you have started editing this process. How would you like to proceed?\n \n \n \n \n \n \n \n }/>\n )}/>);\n};\nProcessesMergedDialog.displayName = \"ProcessesMergedDialog\"\nexport default ProcessesMergedDialog;\n","/* eslint-disable @typescript-eslint/init-declarations */\nimport { Callout, CircularProgress } from \"@octopusdeploy/design-system-components\";\nimport { logger } from \"@octopusdeploy/logging\";\nimport type { ActionTemplateSearchResource, FeedResource, GitBranchResource, GitRef, GitRefResource, IProcessResource, ModifyProcessCommand, PersistenceSettings } from \"@octopusdeploy/octopus-server-client\";\nimport { HasRunbooksInGit, canCommitTo, GetPrimaryPackageReference, IsDefaultBranch, isProtectedBranch, Permission, PersistenceSettingsType, ProcessType } from \"@octopusdeploy/octopus-server-client\";\nimport { useTrackEvent, type TrackEvent } from \"@octopusdeploy/portal-analytics\";\nimport type { LinkHref } from \"@octopusdeploy/portal-routes\";\nimport { links } from \"@octopusdeploy/portal-routes\";\nimport { exhaustiveCheck } from \"@octopusdeploy/type-utils\";\nimport { noOp } from \"@octopusdeploy/utilities\";\nimport { memoize } from \"lodash\";\nimport * as React from \"react\";\nimport { useContext } from \"react\";\nimport type { ActionEvent, AnalyticErrorCallback, AnalyticTrackedActionDispatcher } from \"~/analytics/Analytics\";\nimport { Action, useProjectScopedAnalyticTrackedActionDispatch } from \"~/analytics/Analytics\";\nimport { ProcessBlueprintStepDetails } from \"~/areas/projects/components/Process/Blueprints/ProcessBlueprintStepDetails\";\nimport { getProcessTemplateCommitFromAction, getProcessTemplateSlugFromAction } from \"~/areas/projects/components/Process/Blueprints/processTemplateId\";\nimport { UnassignedTargetTagsWarningCalloutContent } from \"~/areas/projects/components/Process/ConnectedDeploymentTargetsStatus/UnassignedTargetTagsWarningCallout\";\nimport { useMaybeProcessBlueprintsFromContext } from \"~/areas/projects/components/Process/Contexts/ProcessBlueprintsContextProvider\";\nimport type { ProcessTemplateDetails } from \"~/areas/projects/components/Process/Contexts/ProcessController\";\nimport ProcessActionDetails from \"~/areas/projects/components/Process/ProcessActionDetails\";\nimport ProcessBlueprintActionDetails from \"~/areas/projects/components/Process/ProcessBlueprintActionDetails\";\nimport ProcessBlueprintParentStepDetails from \"~/areas/projects/components/Process/ProcessBlueprintParentStepDetails\";\nimport ProcessParentStepDetails from \"~/areas/projects/components/Process/ProcessParentStepDetails\";\nimport type { SampleProjectTourContextProps } from \"~/areas/projects/components/ProjectLayout/SampleProjectTour/SampleProjectTour\";\nimport { SampleProjectTourContext } from \"~/areas/projects/components/ProjectLayout/SampleProjectTour/SampleProjectTour\";\nimport type { CommitMessageWithDetails } from \"~/areas/projects/components/VersionControl/CommitMessageWithDetails\";\nimport { getFormattedCommitMessage } from \"~/areas/projects/components/VersionControl/CommitMessageWithDetails\";\nimport { usePersistenceSettingsContext } from \"~/areas/projects/context/PersistenceSettingsContext\";\nimport { repository } from \"~/clientInstance\";\nimport type { ActionPlugin } from \"~/components/Actions/pluginRegistry\";\nimport pluginRegistry from \"~/components/Actions/pluginRegistry\";\nimport { ScriptActionContext } from \"~/components/Actions/script/ScriptActionContext\";\nimport BaseComponent from \"~/components/BaseComponent/index\";\nimport type { Errors } from \"~/components/DataBaseComponent\";\nimport type { DoBusyTask } from \"~/components/DataBaseComponent/DataBaseComponent\";\nimport { Loading } from \"~/components/Loading/Loading\";\nimport InternalRedirect from \"~/components/Navigation/InternalRedirect\";\nimport { NoResults } from \"~/components/NoResults/NoResults\";\nimport type { ConvertedOverflowMenuItems } from \"~/components/OverflowMenu/OverflowMenuConverterVNext\";\nimport { OverflowMenuConverterVNext } from \"~/components/OverflowMenu/OverflowMenuConverterVNext\";\nimport { Section } from \"~/components/Section/Section\";\nimport useLocalStorage from \"~/hooks/useLocalStorage\";\nimport { useOctopusFeatureToggle } from \"~/hooks/useOctopusFeatureToggle\";\nimport PageTitleHelper from \"~/utils/PageTitleHelper\";\nimport { hasPermission, isAllowed } from \"../../../../components/PermissionCheck/PermissionCheck\";\nimport type { ProjectStatus } from \"../ProjectStatus/useProjectStatus\";\nimport type { RunbookContextProps } from \"../Runbooks/RunbookContext\";\nimport { useOptionalRunbookContext } from \"../Runbooks/RunbookContext\";\nimport type { GetCommitButtonProps } from \"../VersionControl/CommitButton\";\nimport { GetCommitButton } from \"../VersionControl/CommitButton\";\nimport { assembleExistingAction, assembleNewAction, assembleParentStep, getCommonOverflowMenuItems, isMatchingProcessTemplate, isMergedProcess, isMergeNotSupported, isNoMergeRequired, isRunOnServerOrWorkerPool, isVersionControlledProcess, loadAvailableWorkerPools, mergeProcesses, processScopedEditPermission, whereConfiguredToRun, } from \"./Common/CommonProcessHelpers\";\nimport { useMaybeLoadedActionTemplatesFromContext } from \"./Contexts/ProcessActionTemplatesContextProvider\";\nimport type { ProcessContextProps } from \"./Contexts/ProcessContext\";\nimport { loadProcess, useProcessContext } from \"./Contexts/ProcessContext\";\nimport type { ProcessStateSelectors } from \"./Contexts/ProcessContextState\";\nimport type { BoundErrorActionsType, ProcessErrorSelectors } from \"./Contexts/ProcessErrors/ProcessErrorsContext\";\nimport { ProcessErrorActions, useProcessErrorActions, useProcessErrorSelectors } from \"./Contexts/ProcessErrors/ProcessErrorsContext\";\nimport { useMaybeFeedsFromContext } from \"./Contexts/ProcessFeedsContextProvider\";\nimport type { ProcessQueryStringContextProps } from \"./Contexts/ProcessQueryString/ProcessQueryStringContext\";\nimport { useProcessQueryStringContext } from \"./Contexts/ProcessQueryString/ProcessQueryStringContext\";\nimport type { BoundWarningActionsType } from \"./Contexts/ProcessWarnings/ProcessWarningsContext\";\nimport { ProcessWarningActions, useProcessWarningActions } from \"./Contexts/ProcessWarnings/ProcessWarningsContext\";\nimport { getAllActions, hasSteps } from \"./Contexts/processModelSelectors\";\nimport { ProcessContextFormPaperLayout } from \"./CustomPaperLayouts/ProcessContextFormPaperLayout\";\nimport { ProcessPaperLayout } from \"./CustomPaperLayouts/ProcessPaperLayout\";\nimport { EnhancedActionTemplateSelectionPage } from \"./Pages\";\nimport ProcessSidebarLayout from \"./ProcessSidebarLayout\";\nimport { createUnassignedTargetTagsWarningRaisedEvent } from \"./ProcessStepsLayout.analytics\";\nimport type { ProcessStepsLayoutLoaderLookupData } from \"./ProcessStepsLayoutLoader\";\nimport type { ProcessStepActionState, ProcessStepLookupState } from \"./ProcessStepsLayoutTypes\";\nimport { NoPermission } from \"./ProcessStepsLayoutTypes\";\nimport ProcessesMergedDialog from \"./ProcessesMergedDialog\";\nimport type { AssembledAction, DeploymentProcessIdentifier, ProcessFilter, ProcessIdentifier, StepWarningDetails, StoredAction, StoredStep } from \"./types\";\nimport { isDeploymentOrRunbookProcessIdentifier, isBlueprintProcessIdentifier, isDeploymentProcessIdentifier, isRunbookProcessIdentifier, EnvironmentOption, ExecutionLocation } from \"./types\";\nexport enum ProcessPageIntent {\n Unknown = \"Unknown\",\n ChooseStepTemplates = \"ChooseStepTemplates\",\n ChooseChildStepTemplates = \"ChooseChildStepTemplates\",\n CreateNewAction = \"CreateNewAction\",\n CreateNewChildAction = \"CreateNewChildAction\",\n ViewAction = \"ViewAction\",\n ViewParentStep = \"ViewParentStep\",\n ViewBlueprintAction = \"ViewBlueprintAction\",\n ViewBlueprintParentStep = \"ViewBlueprintParentStep\"\n}\nexport function isIntentToCreateNew(intent: ProcessPageIntent) {\n return intent === ProcessPageIntent.CreateNewAction || intent === ProcessPageIntent.CreateNewChildAction;\n}\nexport function intentFromFilter(filter: ProcessFilter): ProcessPageIntent {\n if (filter.new && filter.actionType) {\n if (filter.parentStepId) {\n return ProcessPageIntent.CreateNewChildAction;\n }\n return ProcessPageIntent.CreateNewAction;\n }\n if (filter.stepTemplates) {\n return ProcessPageIntent.ChooseStepTemplates;\n }\n if (filter.childStepTemplates && filter.parentStepId) {\n return ProcessPageIntent.ChooseChildStepTemplates;\n }\n if (filter.blueprintSlug && filter.blueprintActionId && filter.actionId) {\n return ProcessPageIntent.ViewBlueprintAction;\n }\n if (filter.actionId) {\n return ProcessPageIntent.ViewAction;\n }\n if (filter.parentStepId) {\n return ProcessPageIntent.ViewParentStep;\n }\n if (filter.blueprintSlug && filter.blueprintParentStepId) {\n return ProcessPageIntent.ViewBlueprintParentStep;\n }\n return ProcessPageIntent.Unknown;\n}\nexport interface ProcessStepActionData {\n stepLookups: ProcessStepLookupState;\n stepOther: ProcessStepActionState;\n step: StoredStep;\n action: StoredAction;\n}\nexport interface ProcessParentStepData {\n stepNumber: string;\n step: StoredStep;\n machineRoles: string[];\n isFirstStep: boolean;\n errors?: Errors | undefined;\n}\ntype ProcessStepsLayoutProps = {\n lookups: ProcessStepsLayoutLoaderLookupData;\n gitRef: GitRef | undefined;\n gitRefResource: GitRefResource | undefined;\n titleAccessory?: React.ReactElement;\n errors: Error[];\n busy: boolean;\n doBusyTask: DoBusyTask;\n isBuiltInWorkerEnabled: boolean;\n stepSlug?: string;\n setShowK8sStatusItem?: (isKubernetesStep: boolean) => void;\n isTenanted: boolean;\n onProcessSave: (gitRef: GitRefResource | string | undefined) => Promise;\n changeGitRef: (gitRef: string) => void;\n refreshModel: (gitRef?: GitRef) => Promise;\n onValidationError: () => void;\n projectStatus?: ProjectStatus;\n includedLibraryVariableSetIds: string[];\n releaseCreationPackageStepId: string | undefined;\n};\ninterface ProcessPageState {\n actionData: ProcessStepActionData | null;\n parentStepData: ProcessParentStepData | null;\n redirectTo?: LinkHref;\n commitMessage: CommitMessageWithDetails;\n currentActionName: string;\n currentStepName: string;\n disableDirtyFormChecking?: boolean;\n isGuidedSetup: boolean;\n}\ntype ProcessStepsLayoutInternalProps = {\n lookups: ProcessStepsLayoutLoaderLookupData;\n gitRef: GitRef | undefined;\n gitRefResource: GitRefResource | undefined;\n titleAccessory?: React.ReactElement;\n errors: Error[];\n busy: boolean;\n doBusyTask: DoBusyTask;\n isBuiltInWorkerEnabled: boolean;\n processContext: ProcessContextProps;\n persistenceSettings: PersistenceSettings;\n onProcessSave: (gitRef: GitRefResource | string | undefined) => Promise;\n changeGitRef: (gitRef: string) => void;\n refreshModel: (gitRef?: GitRef) => Promise;\n runbookContext: RunbookContextProps | undefined;\n processErrorActions: BoundErrorActionsType;\n processErrorSelectors: ProcessErrorSelectors;\n processWarningActions: BoundWarningActionsType;\n processQueryStringContext: ProcessQueryStringContextProps;\n feeds: FeedResource[];\n feedsLoaded: boolean;\n blueprintsLoaded: boolean;\n blueprints: ProcessTemplateDetails[];\n actionTemplates: ActionTemplateSearchResource[];\n actionTemplatesLoaded: boolean;\n trackAction: AnalyticTrackedActionDispatcher;\n trackEvent: TrackEvent;\n stepSlug?: string;\n sampleProjectTourContext?: SampleProjectTourContextProps;\n setShowK8sStatusItem?: (isKubernetesStep: boolean) => void;\n isTenanted: boolean;\n showUnassignedTargetTagWarning: boolean;\n onValidationError: () => void;\n projectStatus?: ProjectStatus;\n includedLibraryVariableSetIds: string[];\n releaseCreationPackageStepId: string | undefined;\n};\nfunction getDefaultCommitMessage(processType: ProcessType): string {\n return processType === ProcessType.Runbook ? \"Update runbook process\" : \"Update deployment process\";\n}\nconst loadingIndicatorForStep: JSX.Element = (
    \n \n
    );\n// This class is based off BaseComponent because it is required to ensure the asynchronous calls\n// to setState don't result in a console error like \"Warning: Can't perform a React state update on an unmounted component. ...\"\nclass ProcessStepsLayout extends BaseComponent {\n private isAddingStep = false;\n private isLoadingDataForActionId: string | undefined = undefined;\n private isLoadingDataForParentStepId: string | undefined = undefined;\n private isLoadingDataForBlueprintParentStepId: string | undefined = undefined;\n private isLoadingDataForBlueprintActionId: string | undefined = undefined;\n private openCommitDialog?: () => void;\n constructor(props: ProcessStepsLayoutInternalProps) {\n super(props);\n this.state = {\n actionData: null,\n parentStepData: null,\n commitMessage: { summary: \"\", details: \"\" },\n currentActionName: \"\",\n currentStepName: \"\",\n isGuidedSetup: false,\n };\n }\n // We need to update state on mount as well since the process templates steps layout appears on the same page as the list layout. When this happens, we've already loaded\n // all the required data. This means we only render a single time and an update won't get triggered. Shouldn't affect other step layouts since the update happens immediately\n // bails if the required data isn't loaded.\n async componentDidMount() {\n await this.updateStateBasedOnCurrentIntent();\n }\n async componentDidUpdate() {\n await this.updateStateBasedOnCurrentIntent();\n }\n // markse: @Performance - I've tried splitting this up into a shouldComponentUpdate and having the guard conditions in there to save renders. Doing this does\n // save some re-renders, but makes the code much less readable. I decided to let readability win here, in order to get DX adoption. But splitting\n // this up is an option if we want to investigate some perf gains.\n private async updateStateBasedOnCurrentIntent() {\n if (!this.hasLoadedContexts() || !this.hasLoadedNecessaryLookupData()) {\n return;\n }\n const queryFilter = this.props.processQueryStringContext.state.queryFilter;\n if (!this.canSafelyNavigateToFilter(queryFilter)) {\n logger.warn(\"Failed to find action by ID in context, attempting to find action based on name.\");\n // Something about the ID has likely changed server-side.\n // We'll attempt a lookup by name, then redirect to the ID.\n const foundByName = this.needToRedirectToStepBasedOnName(queryFilter, this.state.currentStepName, this.state.currentActionName, (actionId: string) => {\n this.props.processQueryStringContext.actions.showProcessAction(actionId);\n }, (parentStepId: string) => {\n this.props.processQueryStringContext.actions.showProcessParentStep(parentStepId);\n });\n if (foundByName)\n return;\n logger.warn(\"Failed to find action by ID or Name, falling back to empty step editor.\");\n this.props.processQueryStringContext.actions.showEmptyStepEditor();\n return;\n }\n let currentIntent = intentFromFilter(queryFilter);\n if (this.props.stepSlug) {\n currentIntent = ProcessPageIntent.ViewAction;\n }\n switch (currentIntent) {\n case ProcessPageIntent.ViewAction:\n {\n let { actionId } = queryFilter;\n const { actionType, templateId } = queryFilter;\n if (this.props.stepSlug) {\n const step = this.props.processContext.selectors.getStepBySlug(this.props.stepSlug);\n actionId = step.ActionIds?.[0];\n }\n const guardAgainstAlreadyLoading = this.isLoadingDataForActionId === actionId;\n if (guardAgainstAlreadyLoading) {\n return;\n }\n const guardAgainstUnnecessaryReload = this.filtersAreAlignedWithActionData(actionId);\n if (guardAgainstUnnecessaryReload) {\n return;\n }\n await this.props.doBusyTask(async () => {\n this.isLoadingDataForActionId = actionId;\n let actionData: ProcessStepActionData | null = null;\n try {\n actionData = await this.loadActionData(actionId, actionType, templateId, currentIntent);\n }\n finally {\n this.isLoadingDataForActionId = undefined;\n // Set the current step/action name (as these get a default when we assembleNewAction).\n let currentStepName = this.state.currentStepName;\n let currentActionName = this.state.currentActionName;\n if (actionData) {\n const actionId = actionData.action.Id;\n const { selectors } = this.props.processContext;\n const action = selectors.getActionById(actionId);\n const step = selectors.getStepById(action.ParentId);\n currentStepName = step.Name;\n currentActionName = action.Name;\n }\n this.setState({ actionData, parentStepData: null, currentStepName, currentActionName });\n }\n });\n }\n break;\n case ProcessPageIntent.ViewParentStep:\n {\n const parentStepId = queryFilter.parentStepId;\n const guardAgainstAlreadyLoading = this.isLoadingDataForParentStepId === parentStepId;\n if (guardAgainstAlreadyLoading) {\n return;\n }\n const guardAgainstUnnecessaryReload = !parentStepId || this.filtersAreAlignedWithParentStepData(parentStepId);\n if (guardAgainstUnnecessaryReload) {\n return;\n }\n await this.props.doBusyTask(async () => {\n this.isLoadingDataForParentStepId = parentStepId;\n let parentStepData: ProcessParentStepData | null = null;\n try {\n parentStepData = await this.loadParentStepData();\n }\n finally {\n this.isLoadingDataForParentStepId = undefined;\n this.setState({ parentStepData, actionData: null });\n }\n });\n }\n break;\n case ProcessPageIntent.CreateNewChildAction:\n case ProcessPageIntent.CreateNewAction:\n {\n if (this.isAddingStep) {\n return;\n }\n await this.props.doBusyTask(async () => {\n this.isAddingStep = true;\n let actionData: ProcessStepActionData | null = null;\n try {\n const { actionId, actionType, templateId, tags } = queryFilter;\n actionData = await this.loadActionData(actionId, actionType, templateId, currentIntent, tags);\n if (actionData && actionData.step && actionData.action) {\n const step = actionData.step;\n const action = actionData.action;\n if (currentIntent === ProcessPageIntent.CreateNewAction) {\n this.props.processContext.actions.addStep(step, action);\n }\n else if (currentIntent === ProcessPageIntent.CreateNewChildAction && queryFilter.parentStepId) {\n this.props.processContext.actions.addChildAction(queryFilter.parentStepId, actionData.action);\n }\n this.setState({ parentStepData: null, actionData: null, isGuidedSetup: !!tags?.length }, () => this.props.processQueryStringContext.actions.showProcessAction(action.Id));\n }\n else {\n throw Error(\"Failed to create step or action.\");\n }\n }\n catch (e) {\n if (e instanceof Error) {\n logger.error(`Failed to create step or action. ${e.message}`);\n }\n else {\n logger.error(`Failed to create step or action. ${e}`);\n }\n }\n finally {\n this.isAddingStep = false;\n if (actionData && actionData.action) {\n const action = actionData.action;\n this.setState({ parentStepData: null, actionData: null }, () => this.props.processQueryStringContext.actions.showProcessAction(action.Id));\n }\n else {\n this.setState({ parentStepData: null, actionData: null });\n }\n }\n });\n }\n break;\n case ProcessPageIntent.ViewBlueprintAction: {\n if (!this.props.blueprintsLoaded) {\n return;\n }\n const { blueprintActionId } = queryFilter;\n const guardAgainstAlreadyLoading = this.isLoadingDataForBlueprintActionId === blueprintActionId;\n if (guardAgainstAlreadyLoading) {\n return;\n }\n const guardAgainstUnnecessaryReload = this.filtersAreAlignedWithActionData(blueprintActionId);\n if (guardAgainstUnnecessaryReload) {\n return;\n }\n await this.props.doBusyTask(async () => {\n this.isLoadingDataForBlueprintActionId = blueprintActionId;\n let actionData: ProcessStepActionData | null = null;\n try {\n actionData = await this.loadBlueprintActionData();\n }\n finally {\n this.isLoadingDataForBlueprintActionId = undefined;\n this.setState({ parentStepData: null, actionData });\n }\n });\n break;\n }\n case ProcessPageIntent.ViewBlueprintParentStep:\n {\n if (!this.props.blueprintsLoaded) {\n return;\n }\n const blueprintParentStepId = queryFilter.blueprintParentStepId;\n const guardAgainstAlreadyLoading = this.isLoadingDataForBlueprintParentStepId === blueprintParentStepId;\n if (guardAgainstAlreadyLoading) {\n return;\n }\n const guardAgainstUnnecessaryReload = !blueprintParentStepId || this.filtersAreAlignedWithParentStepData(blueprintParentStepId);\n if (guardAgainstUnnecessaryReload) {\n return;\n }\n await this.props.doBusyTask(async () => {\n this.isLoadingDataForBlueprintParentStepId = blueprintParentStepId;\n let parentStepData: ProcessParentStepData | null = null;\n try {\n parentStepData = await this.loadBlueprintParentStepData();\n }\n finally {\n this.isLoadingDataForBlueprintParentStepId = undefined;\n this.setState({ parentStepData, actionData: null });\n }\n });\n }\n break;\n }\n }\n filtersAreAlignedWithActionData = (actionId: string | undefined): boolean => {\n const { actionData: currentActionData } = this.state;\n return !!actionId && !!currentActionData && currentActionData.action.Id === actionId;\n };\n filtersAreAlignedWithParentStepData = (parentStepId: string): boolean => {\n const { parentStepData: currentParentStepData } = this.state;\n return !!parentStepId && !!currentParentStepData && currentParentStepData.step.Id === parentStepId;\n };\n render() {\n if (this.state.redirectTo) {\n return ;\n }\n const processContext = this.props.processContext;\n const { selectors, actions, state: { processIdentifier }, } = processContext;\n const processType = selectors.getProcessType();\n const isVersionControlled = isVersionControlledProcess(this.props.persistenceSettings, processType);\n const actionLabel = isVersionControlled ? \"Commit\" : \"Save\";\n if (!this.hasLoadedContexts() || !this.hasLoadedNecessaryLookupData() || !this.canSafelyNavigateToFilter(this.props.processQueryStringContext.state.queryFilter)) {\n return ();\n }\n const overflowMenuItems = getCommonOverflowMenuItems(processContext.state.processIdentifier, this.props.releaseCreationPackageStepId, this.props.persistenceSettings, this.props.gitRefResource, processType, selectors, actions, this.props.onProcessSave, this.props.processErrorActions, this.props.processWarningActions, this.redirectToList);\n const convertedItems: ConvertedOverflowMenuItems = OverflowMenuConverterVNext.convertAll(overflowMenuItems);\n const intent = intentFromFilter(this.props.processQueryStringContext.state.queryFilter);\n const filter = this.props.processQueryStringContext.state.queryFilter;\n let layout: React.ReactNode = null;\n if ((intent === ProcessPageIntent.CreateNewAction || intent === ProcessPageIntent.CreateNewChildAction) && filter.new && filter.actionType) {\n layout = ;\n }\n else if (intent === ProcessPageIntent.ChooseStepTemplates && filter.stepTemplates) {\n layout = this.renderActionTemplateSelectionPage();\n }\n else if (intent === ProcessPageIntent.ChooseChildStepTemplates && filter.childStepTemplates && filter.parentStepId) {\n layout = this.renderActionTemplateSelectionPage(filter.parentStepId);\n }\n else if (intent === ProcessPageIntent.ViewAction && filter.actionId) {\n if (filter.actionId === this.state.actionData?.action.Id) {\n layout = this.renderProcessStepDetailsPage(intent);\n }\n else {\n layout = loadingIndicatorForStep;\n }\n }\n else if (intent === ProcessPageIntent.ViewParentStep && filter.parentStepId) {\n if (filter.parentStepId === this.state.parentStepData?.step.Id) {\n layout = this.renderProcessStepDetailsPage(intent);\n }\n else {\n layout = loadingIndicatorForStep;\n }\n }\n else if (intent === ProcessPageIntent.ViewBlueprintAction && filter.blueprintSlug && filter.blueprintActionId && filter.actionId) {\n layout = this.state.actionData ? () : ();\n }\n else if (intent === ProcessPageIntent.ViewBlueprintParentStep && filter.blueprintSlug && filter.blueprintParentStepId) {\n layout = this.state.parentStepData ? () : ();\n }\n else if (this.props.stepSlug) {\n const actionId = this.props.processContext.selectors.getStepBySlug(this.props.stepSlug)?.ActionIds[0];\n if (actionId === this.state.actionData?.action.Id) {\n layout = this.renderProcessStepDetailsPage(ProcessPageIntent.ViewAction);\n }\n else {\n layout = loadingIndicatorForStep;\n }\n }\n else {\n logger.info(\"Failed to determine layout for intent {intent}. Assuming no results.\", { intent });\n layout = (<>\n
    \n \n {this.props.persistenceSettings.Type === PersistenceSettingsType.VersionControlled ? (The requested step could not be found on this branch. Please select from the available steps or review your current branch selection.) : (The requested step could not be found. Please select from the available steps.)}\n \n
    \n \n );\n }\n const innerLayout = ( {\n return
    {layout}
    ;\n }} gitRefResource={this.props.gitRefResource} processIdentifier={processIdentifier} releaseCreationPackageStepId={this.props.releaseCreationPackageStepId}/>);\n return (\n \n {(errorActions) => (\n {(warningActions) => {\n const saveProcess = async (isNavigationConfirmation: boolean, newBranch?: GitBranchResource) => {\n let isValid = true;\n const cm = this.state.commitMessage;\n if (isNavigationConfirmation && isVersionControlled && this.openCommitDialog) {\n await this.openCommitDialog();\n }\n else {\n await this.props.doBusyTask(async () => {\n const allActions = getAllActions(this.props.processContext.state.model)();\n const toTemplate = (a: StoredAction) => {\n return this.props.actionTemplates.find((t) => t.Type == a.ActionType);\n };\n const ev: ActionEvent = {\n action: isVersionControlled ? Action.Commit : Action.Save,\n resource: this.props.processContext.state.processIdentifier.type === ProcessType.Runbook ? \"Runbook\" : \"Deployment Process\",\n data: { stepTemplate: allActions.map((a) => toTemplate(a)?.Name).filter((name): name is string => name !== undefined) },\n isDefaultBranch: IsDefaultBranch(this.props.persistenceSettings, this.props.gitRef),\n commitMessage: cm.summary.length > 0,\n isProtectedBranch: isVersionControlled ? isProtectedBranch(this.props.gitRefResource) : undefined,\n commitBranch: isVersionControlled ? (newBranch ? \"New branch\" : \"Same branch\") : undefined,\n };\n const gitRef = newBranch ? newBranch.CanonicalName : this.props.gitRef;\n await this.props.trackAction(\"Save Deployment Process\", ev, async (cb: AnalyticErrorCallback) => {\n //TODO: markse - Move this into an onSave method that we can test in isolation.\n const { cleanModelProcess: clientCleanProcessResource, modelProcess: clientProcessResource } = processContext.selectors.getProcessesForMerge();\n this.applyCommonLogicToProcessResource(clientProcessResource, processContext.selectors.getActionPlugin);\n this.applyCommonLogicToProcessResource(clientCleanProcessResource, processContext.selectors.getCleanActionPlugin);\n const serverProcessResource = await loadProcess(processContext.state.processIdentifier, this.props.persistenceSettings, gitRef);\n const mergeResult = mergeProcesses(clientCleanProcessResource, clientProcessResource, serverProcessResource);\n const command: ModifyProcessCommand = { ...mergeResult.value };\n command.ChangeDescription = getFormattedCommitMessage(cm, getDefaultCommitMessage(processContext.selectors.getProcessType()));\n if (isMergeNotSupported(mergeResult)) {\n // TODO: Blueprints not supported here yet\n }\n else if (isNoMergeRequired(mergeResult)) {\n const result = await processContext.actions.saveOnServer(command, (errors) => {\n errorActions.setErrors(errors, processContext.selectors);\n cb(errors);\n isValid = false;\n // The save action will give us errors only, clear any warnings.\n warningActions.clearWarnings();\n }, async () => {\n errorActions.clearErrors();\n warningActions.clearWarnings();\n if (isDeploymentProcessIdentifier(processIdentifier)) {\n await this.validateDeploymentProcess(warningActions, selectors, processIdentifier);\n }\n else if (isRunbookProcessIdentifier(processIdentifier)) {\n // What should we do?\n }\n //all is well, let's update project context\n await this.props.refreshModel();\n }, gitRef);\n if (result) {\n this.setState({ commitMessage: { summary: \"\", details: \"\" } });\n }\n }\n else if (isMergedProcess(mergeResult)) {\n processContext.actions.conflictDetected(serverProcessResource, mergeResult.value);\n }\n else {\n exhaustiveCheck(mergeResult, \"Unknown merge result\");\n }\n });\n // Only update the project summary if the deployment process has changed\n if (this.props.processContext.state.processIdentifier.type !== ProcessType.Runbook) {\n await this.props.onProcessSave(this.props.gitRef);\n }\n });\n if (isValid && !hasSteps(this.props.processContext.state.model)()) {\n this.redirectToList();\n }\n if (this.props.sampleProjectTourContext !== undefined) {\n this.props.sampleProjectTourContext.deploymentProcessSaved(isValid);\n }\n if (!isValid) {\n this.props.onValidationError();\n }\n return isValid;\n }\n };\n const onNewBranchCreating = async (branchName: string) => {\n const processIdentifier = this.props.processContext.state.processIdentifier;\n if (isBlueprintProcessIdentifier(processIdentifier)) {\n throw new Error(\"Process templates don't support branch creating yet\");\n }\n const ev: ActionEvent = {\n action: Action.Commit,\n resource: \"Branch\",\n data: { source: \"Commit changes dialog\" },\n };\n let newBranchResource: GitBranchResource | null = null;\n await this.props.trackAction(\"Create branch\", ev, async (cb: AnalyticErrorCallback) => {\n try {\n newBranchResource = await repository.ProjectBranches.createBranch(processIdentifier.projectId, branchName, this.props.gitRef ?? \"\");\n }\n catch (ex) {\n this.setState({ disableDirtyFormChecking: false });\n cb(ex);\n throw ex;\n }\n });\n if (newBranchResource) {\n this.setState({ disableDirtyFormChecking: true });\n if (await saveProcess(false, newBranchResource)) {\n this.props.changeGitRef(branchName);\n }\n this.setState({ disableDirtyFormChecking: false });\n }\n };\n return ( ({\n type: \"custom\",\n content: onClick() })} onNewBranchCreating={onNewBranchCreating}/>,\n key: \"Get Commit\",\n })\n : undefined} confirmNavigateSaveLabel={`${actionLabel} changes` + (isVersionControlled ? \"...\" : \"\")} disableDirtyFormChecking={this.state.disableDirtyFormChecking} hideAddStepButton={intent === ProcessPageIntent.ChooseStepTemplates} titleAccessory={this.props.titleAccessory} gitRefResource={this.props.gitRefResource}>\n {convertedItems.dialogs}\n \n {selectors.isProcessMerged() && (\n This process has been merged with the server process but has not been saved. Please review the process before saving.\n )}\n {innerLayout}\n );\n }}\n )}\n \n );\n }\n private loadVariablesKey = () => {\n const processIdentifier = this.props.processContext.state.processIdentifier;\n const runbookId = isRunbookProcessIdentifier(processIdentifier) ? processIdentifier.runbookId : undefined;\n const projectId = isDeploymentOrRunbookProcessIdentifier(processIdentifier) ? processIdentifier.projectId : undefined;\n const gitRef = this.props.gitRefResource?.CanonicalName;\n return [runbookId, projectId, gitRef].join(\"_\");\n };\n private getOrLoadVariables = (clearCachedVariables?: boolean) => {\n const processIdentifier = this.props.processContext.state.processIdentifier;\n const persistenceSettings = this.props.persistenceSettings;\n const gitRef = this.props.gitRefResource?.CanonicalName;\n // Lodash supports custom constructors for the cache used by `memoize`\n // By default (our use case), the cache used implements `clear()`, but this method is optional\n // For example, our cache could be a `WeakMap`, which does not implement `clear()`\n // See: https://lodash.com/docs/4.17.15#memoize\n if (clearCachedVariables && this.memoizeLoadVariables.cache.clear) {\n this.memoizeLoadVariables.cache.clear();\n }\n return this.memoizeLoadVariables(processIdentifier, persistenceSettings, gitRef);\n };\n //Memoize does not take all arguments into account for the cache key.\n private memoizeLoadVariables = memoize((processIdentifier: ProcessIdentifier, persistenceSettings: PersistenceSettings, gitRef?: GitRef) => {\n if (isRunbookProcessIdentifier(processIdentifier)) {\n if (HasRunbooksInGit(persistenceSettings) && gitRef) {\n return repository.Variables.getNamesForRunbookProcess(processIdentifier.projectId, processIdentifier.runbookId, null, gitRef);\n }\n return repository.Variables.getNamesForRunbookProcess(processIdentifier.projectId, processIdentifier.runbookId);\n }\n if (isDeploymentProcessIdentifier(processIdentifier)) {\n return repository.Variables.getNamesForDeploymentProcess(processIdentifier.projectId, null, gitRef);\n }\n if (isBlueprintProcessIdentifier(processIdentifier)) {\n return repository.Blueprints.getVariableNames(processIdentifier.slug, gitRef);\n }\n exhaustiveCheck(processIdentifier, \"Unknown process identifier type\");\n }, (processIdentifier: ProcessIdentifier, persistenceSettings: PersistenceSettings, gitRef?: GitRef) => {\n const projectId = isDeploymentOrRunbookProcessIdentifier(processIdentifier) ? processIdentifier.projectId : undefined;\n const runbookId = isRunbookProcessIdentifier(processIdentifier) ? processIdentifier.runbookId : undefined;\n const processTemplateSlug = isBlueprintProcessIdentifier(processIdentifier) ? processIdentifier.slug : undefined;\n return [projectId, runbookId, processTemplateSlug, gitRef].join(\"_\");\n });\n private async validateDeploymentProcess(warningActions: BoundWarningActionsType, selectors: ProcessStateSelectors, processIdentifier: DeploymentProcessIdentifier) {\n if (this.props.showUnassignedTargetTagWarning && isAllowed({ permission: Permission.EnvironmentView, environment: \"*\" }) && isAllowed({ permission: Permission.MachineView })) {\n const validationResult = await repository.DeploymentProcesses.validate(this.props.gitRefResource, processIdentifier.projectId, processIdentifier.spaceId);\n const unassignedTargetTags = Object.keys(validationResult.TagsWithoutTargetsByStepId).flatMap((stepId) => {\n const tags = validationResult.TagsWithoutTargetsByStepId[stepId].map((s) => s);\n return tags;\n });\n const uniqueUnassignedTargetTags = Array.from(new Set(unassignedTargetTags));\n // Adjust details object shape to match split value/summary shape of StepWarningDetails\n // The original value coming from the API is simply a key-value pair where key is the step name/index in the deployment process\n const detailsObject = Object.keys(validationResult.Details).reduce((acc: Record, stepId) => {\n acc[stepId] = {\n summary: \"This step has unassigned target tags\",\n };\n return acc;\n }, {});\n if (validationResult.HasWarnings) {\n this.props.trackEvent(createUnassignedTargetTagsWarningRaisedEvent(this.props.processContext.state.processIdentifier.type, uniqueUnassignedTargetTags.length, Object.keys(detailsObject).length));\n warningActions.setWarnings({\n warnings: [],\n fieldWarnings: {},\n details: {\n global: (
    \n \n
    ),\n ...detailsObject,\n },\n }, selectors);\n }\n }\n }\n private getCommitButtonProps({ isDisabled, onClick }: {\n isDisabled: boolean;\n onClick: (event: React.MouseEvent | undefined) => Promise;\n }): GetCommitButtonProps {\n const processIdentifier = this.props.processContext.state.processIdentifier;\n return {\n hasPermission: isDeploymentOrRunbookProcessIdentifier(processIdentifier) ? { permission: Permission.ProjectEdit, project: processIdentifier.projectId } : { permission: Permission.PlatformHubEdit },\n gitRef: this.props.gitRef,\n persistenceSettings: this.props.persistenceSettings,\n canCommitToGitRef: canCommitTo(this.props.gitRefResource),\n defaultCommitMessage: getDefaultCommitMessage(this.props.processContext.selectors.getProcessType()),\n commitMessage: this.state.commitMessage,\n updateCommitMessage: (commitMessage: CommitMessageWithDetails) => this.setState({ commitMessage }),\n commitMessageAccessibleName: `Commit message for saving the ${this.props.processContext.selectors.getProcessType()} process`,\n commitDetailsAccessibleName: `Commit details for saving the ${this.props.processContext.selectors.getProcessType()} process`,\n commitButtonAccessibleName: `Commit changes to the ${this.props.processContext.selectors.getProcessType()} process`,\n onInitializing: (openDialog) => (this.openCommitDialog = openDialog),\n label: \"Commit\",\n busyLabel: \"Committing\",\n onClick,\n disabled: isDisabled,\n };\n }\n private redirectToList = () => {\n const processIdentifier = this.props.processContext.state.processIdentifier;\n if (isDeploymentProcessIdentifier(processIdentifier)) {\n const redirectTo = links.deploymentProcessPage.generateUrl({ spaceId: processIdentifier.spaceId, projectSlug: processIdentifier.projectSlug });\n this.setState({ redirectTo });\n }\n else if (isRunbookProcessIdentifier(processIdentifier)) {\n const redirectTo = links.projectRunbookProcessListPage.generateUrl({\n spaceId: processIdentifier.spaceId,\n projectSlug: processIdentifier.projectSlug,\n runbookId: processIdentifier.runbookId,\n processId: processIdentifier.id,\n });\n this.setState({ redirectTo });\n }\n else if (isBlueprintProcessIdentifier(processIdentifier)) {\n const redirectTo = links.editProcessTemplatePage.generateUrl({ slug: processIdentifier.slug }, { gitRef: processIdentifier.gitRef });\n this.setState({ redirectTo });\n }\n };\n private canSafelyNavigateToFilter(filter: ProcessFilter): boolean {\n // Check if this action actually exists in our context (the user may have refreshed the screen and not yet saved, so our filter and context are out of sync).\n // The filter will tell us if we're looking at an action or parentStep.\n const { actionId, parentStepId } = filter;\n if (actionId && this.props.processContext.selectors.hasValidProcess() && !this.props.processContext.selectors.tryGetActionById(actionId)) {\n return false;\n }\n if (parentStepId && this.props.processContext.selectors.hasValidProcess() && !this.props.processContext.selectors.tryGetStepById(parentStepId)) {\n return false;\n }\n return true;\n }\n private needToRedirectToStepBasedOnName(filter: ProcessFilter, currentStepName: string, currentActionName: string, onFoundAction: (actionId: string) => void, onFoundParentStep: (parentStepId: string) => void): boolean {\n // The filter will tell us if we're looking at an action or parentStep.\n const { actionId, parentStepId } = filter;\n if (actionId && currentActionName && this.props.processContext.selectors.hasValidProcess()) {\n const shouldRedirectToAction = this.props.processContext.selectors.tryGetActionByName(currentActionName);\n if (shouldRedirectToAction) {\n onFoundAction(shouldRedirectToAction.Id);\n return true;\n }\n }\n if (parentStepId && currentStepName && this.props.processContext.selectors.hasValidProcess()) {\n const shouldRedirectToParentStep = this.props.processContext.selectors.tryGetStepByName(currentStepName);\n if (shouldRedirectToParentStep) {\n onFoundParentStep(shouldRedirectToParentStep.Id);\n return true;\n }\n }\n return false;\n }\n // @Cleanup: markse - This was common logic we were previously applying at the point of saving a single action. Flagging for later review.\n // For multi-step editing, we now loop over all actions and apply to each. Now sure how I feel about this happening right at the point of save.\n private applyCommonLogicToProcessResource(process: IProcessResource, getPluginForAction: (actionId: string) => ActionPlugin) {\n const availableWorkerPools = loadAvailableWorkerPools(this.props.lookups.workerPoolsSummary);\n process.Steps.forEach((step) => {\n step.Actions.forEach((action) => {\n const plugin = getPluginForAction(action.Id);\n const runOn = whereConfiguredToRun(!!step.Properties[\"Octopus.Action.TargetRoles\"], action, availableWorkerPools, plugin);\n if (runOn) {\n if (!isRunOnServerOrWorkerPool(runOn)) {\n action.Container = { FeedId: null, Image: null, GitUrl: null, Dockerfile: null };\n }\n else {\n if (runOn.executionLocation === ExecutionLocation.OctopusServer || runOn.executionLocation === ExecutionLocation.WorkerPool) {\n step.Properties[\"Octopus.Action.TargetRoles\"] = \"\";\n }\n if (runOn.executionLocation !== ExecutionLocation.WorkerPool && runOn.executionLocation !== ExecutionLocation.WorkerPoolForRoles) {\n // eslint-disable-next-line @typescript-eslint/no-non-null-assertion\n action.WorkerPoolId = null!;\n // eslint-disable-next-line @typescript-eslint/no-non-null-assertion\n action.WorkerPoolVariable = null!;\n }\n action.Container = runOn.container;\n }\n }\n if (!action.Name || action.Name.length === 0) {\n const primaryPackage = GetPrimaryPackageReference(action.Packages);\n if (primaryPackage) {\n action.Name = primaryPackage.PackageId;\n }\n }\n });\n });\n }\n private loadActionData = async (actionId: string | undefined, actionType: string | undefined, templateId: string | undefined, intent: ProcessPageIntent, targetTags?: string[]): Promise => {\n if (!this.hasLoadedContexts() || !this.hasLoadedNecessaryLookupData()) {\n return null;\n }\n let plugin: ActionPlugin | null = null;\n if (actionId) {\n plugin = this.props.processContext.selectors.getActionPlugin(actionId);\n }\n else if (actionType) {\n plugin = await pluginRegistry.getAction(actionType);\n }\n if (!plugin) {\n throw new Error(\"Failed to load plugin.\");\n }\n const { feeds, actionTemplates, persistenceSettings } = this.props;\n const processContextSelectors = this.props.processContext.selectors;\n const isNew = isIntentToCreateNew(intent);\n let result: AssembledAction;\n if (isNew) {\n if (!actionType) {\n throw Error(\"No action type was provided\");\n }\n result = await assembleNewAction(actionType, plugin, actionTemplates, templateId, persistenceSettings, processContextSelectors.getProcessType(), targetTags);\n }\n else {\n if (!actionId) {\n throw Error(\"Missing action id\");\n }\n result = assembleExistingAction(actionId, processContextSelectors, actionTemplates);\n }\n PageTitleHelper.setPageTitle(result.pageTitle);\n if (!result.action) {\n logger.error(\"Failed to load action data\", { result });\n throw new Error(\"Expecting an action to exist.\");\n }\n const stepLookups = await this.loadLookupData(result.action);\n const stepOther: ProcessStepActionState = {\n actionTypeName: result.actionTypeName,\n pageTitle: result.pageTitle,\n isBuiltInWorkerEnabled: this.props.isBuiltInWorkerEnabled,\n environmentOption: (result.action.Environments || []).length > 0 ? EnvironmentOption.Include : (result.action.ExcludedEnvironments || []).length > 0 ? EnvironmentOption.Exclude : EnvironmentOption.All,\n runOn: result.action && plugin ? whereConfiguredToRun(!!result.step.Properties[\"Octopus.Action.TargetRoles\"], result.action, stepLookups.availableWorkerPools, plugin) : null,\n };\n return { stepLookups, stepOther, step: result.step, action: result.action };\n };\n private loadParentStepData = async (): Promise => {\n if (!this.hasLoadedContexts() || !this.hasLoadedNecessaryLookupData()) {\n return null;\n }\n const { parentStepId } = this.props.processQueryStringContext.state.queryFilter;\n if (!parentStepId) {\n throw new Error(\"Failed to find parentStepId\");\n }\n const processContextSelectors = this.props.processContext.selectors;\n const result = assembleParentStep(parentStepId, processContextSelectors);\n PageTitleHelper.setPageTitle(result.pageTitle);\n const stepLookups = await this.loadLookupData(null);\n const stepNumber = this.props.processContext.selectors.getStepNumber(result.step.Id);\n const isFirstStep = this.props.processContext.selectors.isFirstStep(result.step.Id);\n return { stepNumber: stepNumber.toString(), step: result.step, machineRoles: stepLookups.machineRoles, isFirstStep };\n };\n private loadBlueprintActionData = async (): Promise => {\n if (!this.hasLoadedContexts() || !this.hasLoadedNecessaryLookupData()) {\n return null;\n }\n const { blueprintCommit, blueprintSlug, blueprintActionId } = this.props.processQueryStringContext.state.queryFilter;\n if (!blueprintSlug || !blueprintActionId) {\n throw new Error(\"Failed to find required ids for blueprint\");\n }\n const blueprint = this.props.blueprints.find((b) => isMatchingProcessTemplate(b, blueprintSlug, blueprintCommit))?.processTemplate;\n const step = blueprint?.Steps.find((s) => s.Actions.some((a) => a.Id === blueprintActionId));\n const blueprintAction = step?.Actions.find((a) => a.Id === blueprintActionId);\n if (!step || !blueprintAction) {\n logger.warn(\"Failed to find action in blueprint, falling back to empty step editor.\");\n this.props.processQueryStringContext.actions.showEmptyStepEditor();\n return null;\n }\n const plugin = await pluginRegistry.getAction(blueprintAction.ActionType);\n const { actionTemplates } = this.props;\n PageTitleHelper.setPageTitle(step.Name);\n const stepLookups = await this.loadLookupData(null);\n const actionTypeName = actionTemplates.find((x) => x.Type === blueprintAction.ActionType)?.Name ?? \"\";\n const stepOther: ProcessStepActionState = {\n actionTypeName,\n pageTitle: step.Name,\n isBuiltInWorkerEnabled: this.props.isBuiltInWorkerEnabled,\n environmentOption: (blueprintAction.Environments || []).length > 0 ? EnvironmentOption.Include : (blueprintAction.ExcludedEnvironments || []).length > 0 ? EnvironmentOption.Exclude : EnvironmentOption.All,\n runOn: whereConfiguredToRun(!!step.Properties[\"Octopus.Action.TargetRoles\"], blueprintAction, stepLookups.availableWorkerPools, plugin),\n };\n const storedStep: StoredStep = { ...step, ActionIds: step.Actions.map((a) => a.Id) };\n return { stepLookups, stepOther, step: storedStep, action: { ...blueprintAction, ParentId: \"\", plugin } };\n };\n private loadBlueprintParentStepData = async (): Promise => {\n if (!this.hasLoadedContexts() || !this.hasLoadedNecessaryLookupData()) {\n return null;\n }\n const { blueprintSlug, blueprintCommit, blueprintParentStepId } = this.props.processQueryStringContext.state.queryFilter;\n if (!blueprintParentStepId || !blueprintSlug) {\n throw new Error(\"Failed to find required ids for blueprint\");\n }\n const blueprint = this.props.blueprints.find((b) => isMatchingProcessTemplate(b, blueprintSlug, blueprintCommit))?.processTemplate;\n const step = blueprint?.Steps.find((s) => s.Id === blueprintParentStepId);\n if (!step) {\n logger.warn(\"Failed to find step in blueprint, falling back to empty step editor.\");\n this.props.processQueryStringContext.actions.showEmptyStepEditor();\n return null;\n }\n PageTitleHelper.setPageTitle(step.Name);\n const stepLookups = await this.loadLookupData(null);\n const actionIdInProcess = Object.values(this.props.processContext.state.model.actions.byId).find((a) => getProcessTemplateSlugFromAction(a) === blueprintSlug && getProcessTemplateCommitFromAction(a) === blueprintCommit)?.Id;\n const stepIdInProcess = Object.values(this.props.processContext.state.model.steps.byId).find((s) => s.ActionIds.some((a) => a === actionIdInProcess))?.Id;\n if (!stepIdInProcess) {\n logger.warn(\"Failed to find step id in process, falling back to empty step editor.\");\n this.props.processQueryStringContext.actions.showEmptyStepEditor();\n return null;\n }\n const stepNumber = this.props.processContext.state.model.steps.allIds.indexOf(stepIdInProcess) + 1;\n return { stepNumber: stepNumber.toString(), step: { ...step, ActionIds: step.Actions.map((a) => a.Id) }, machineRoles: stepLookups.machineRoles, isFirstStep: stepNumber === 1 };\n };\n private hasLoadedContexts(): boolean {\n const processContextHasLoaded = this.props.processContext.selectors.hasValidProcess();\n const processQueryStringContextHasLoaded = !!this.props.processQueryStringContext.state.queryFilter;\n return processContextHasLoaded && processQueryStringContextHasLoaded;\n }\n private hasLoadedNecessaryLookupData(): boolean {\n const { actionTemplatesLoaded, feedsLoaded, blueprintsLoaded } = this.props;\n const processIdentifier = this.props.processContext.state.processIdentifier;\n return actionTemplatesLoaded && (isBlueprintProcessIdentifier(processIdentifier) || feedsLoaded) && blueprintsLoaded;\n }\n private async loadLookupData(action: StoredAction | null): Promise {\n let actionTemplate;\n if ((this.props.processQueryStringContext.state.queryFilter.templateId || (action && action.Properties[\"Octopus.Action.Template.Id\"])) && !hasPermission(Permission.ActionTemplateView)) {\n actionTemplate = NoPermission;\n }\n else if (this.props.processQueryStringContext.state.queryFilter.templateId) {\n actionTemplate = await repository.ActionTemplates.get(this.props.processQueryStringContext.state.queryFilter.templateId);\n }\n else if (action && action.Properties[\"Octopus.Action.Template.Id\"]) {\n actionTemplate = await repository.ActionTemplates.get(action.Properties[\"Octopus.Action.Template.Id\"].toString());\n }\n else {\n actionTemplate = null;\n }\n const lookups: ProcessStepLookupState = {\n environments: Object.values(this.props.lookups.environmentsById),\n machineRoles: this.props.lookups.machineRoles,\n availableWorkerPools: loadAvailableWorkerPools(this.props.lookups.workerPoolsSummary),\n tagIndex: this.props.lookups.tagIndex,\n actionTemplate,\n channels: this.props.lookups.channelsById ? Object.values(this.props.lookups.channelsById) : [],\n processVariableSet: this.props.lookups.processVariableSet,\n libraryVariableSets: this.props.lookups.libraryVariableSets,\n projectTriggers: this.props.lookups.projectTriggers,\n userOnboarding: this.props.lookups.userOnboarding,\n };\n return lookups;\n }\n private renderProcessStepDetailsPage = (intent: ProcessPageIntent) => {\n const { processContext, processErrorSelectors } = this.props;\n const processType = processContext.selectors.getProcessType();\n if (this.state.actionData && this.state.actionData.stepOther && this.state.actionData.stepLookups && this.state.actionData.action) {\n const actionId = this.state.actionData.action.Id;\n const { selectors } = this.props.processContext;\n const isNew = isIntentToCreateNew(intent) || selectors.isNewAction(actionId);\n const errors = processErrorSelectors.getActionFieldErrors(actionId, selectors);\n // TODO: Review this pattern with frontend. Do not copy.\n // From hereon, we reference action/step via the selectors, and actionData.action is now essentially stale / out of sync.\n // This is an unfortunately side-effect of managing both CreateNewAction and ViewAction under the one layout. There is a\n // handoff between the two intentions, so we use actionData as a middle-man/dumping-ground until we have the necessary information\n // in context.\n const action = selectors.getActionById(actionId);\n const cleanAction = selectors.tryGetCleanActionById(actionId);\n const step = selectors.getStepById(action.ParentId);\n if (action.ActionType === \"Octopus.ProcessTemplate\") {\n return ();\n }\n return ( {\n this.setState({ currentActionName: actionName });\n }} setCurrentStepName={(stepName) => {\n this.setState({ currentStepName: stepName });\n }} stepLookups={this.state.actionData.stepLookups} stepOther={this.state.actionData.stepOther} actionTemplates={this.props.actionTemplates} processType={processType} isNew={isNew} errors={errors} refreshStepLookups={async () => {\n await this.props.doBusyTask(async () => {\n // This line is required to ensure that all other setState()\n // calls have been completed before we load lookup data.\n await new Promise((resolve) => setTimeout(resolve));\n const stepLookups = await this.loadLookupData(selectors.getActionById(actionId));\n const actionData = this.state.actionData;\n if (actionData) {\n actionData.stepLookups = stepLookups;\n this.setState({ actionData });\n }\n });\n }} projectTriggers={this.props.lookups.projectTriggers} userOnboarding={this.props.lookups.userOnboarding} isGuidedSetup={this.state.isGuidedSetup} setShowK8sStatusItem={this.props.setShowK8sStatusItem} gitRefResource={this.props.gitRefResource} isTenanted={this.props.isTenanted} releaseCreationPackageStepId={this.props.releaseCreationPackageStepId}/>);\n }\n else if (this.state.parentStepData && this.state.parentStepData.step) {\n const { selectors } = this.props.processContext;\n const stepId = this.state.parentStepData.step.Id;\n const step = selectors.getStepById(stepId);\n const cleanStep = selectors.tryGetCleanStepById(stepId);\n const isNew = isIntentToCreateNew(intent);\n const errors = processErrorSelectors.getStepFieldErrors(stepId);\n return ( {\n this.setState({ currentStepName: stepName });\n }} machineRoles={this.state.parentStepData.machineRoles} isFirstStep={this.state.parentStepData.isFirstStep} isNew={isNew} errors={errors} releaseCreationPackageStepId={this.props.releaseCreationPackageStepId}/>);\n }\n return ;\n };\n private renderActionTemplateSelectionPage = (parentStepId?: string) => {\n const { busy, errors, gitRefResource } = this.props;\n const processType = this.props.processContext.selectors.getProcessType();\n return ;\n };\n static displayName = \"ProcessStepsLayout\";\n}\nconst EnhancedProcessStepsLayout: React.FC = (props) => {\n const processContext = useProcessContext();\n const persistenceSettings = usePersistenceSettingsContext();\n const processErrorActions = useProcessErrorActions();\n const processErrorSelectors = useProcessErrorSelectors();\n const processWarningActions = useProcessWarningActions();\n const processQueryStringContext = useProcessQueryStringContext();\n const runbookContext = useOptionalRunbookContext();\n const projectId = isDeploymentOrRunbookProcessIdentifier(processContext.state.processIdentifier) ? processContext.state.processIdentifier.projectId : undefined;\n const trackAction = useProjectScopedAnalyticTrackedActionDispatch(projectId);\n const trackEvent = useTrackEvent();\n const sampleProjectTourContext = useContext(SampleProjectTourContext);\n const maybeLoadedActionTemplates = useMaybeLoadedActionTemplatesFromContext();\n const actionTemplatesLoaded = maybeLoadedActionTemplates !== \"NotLoaded\";\n const actionTemplates = maybeLoadedActionTemplates === \"NotLoaded\" ? [] : maybeLoadedActionTemplates;\n const maybeFeeds = useMaybeFeedsFromContext();\n const feedsLoaded = maybeFeeds !== \"NotLoaded\";\n const feeds = maybeFeeds === \"NotLoaded\" ? [] : maybeFeeds;\n const maybeBlueprints = useMaybeProcessBlueprintsFromContext();\n const blueprintsLoaded = maybeBlueprints !== \"NotLoaded\";\n const blueprints = maybeBlueprints === \"NotLoaded\" ? [] : maybeBlueprints;\n const isImprovedTargetFeedbackFeatureEnabled = useOctopusFeatureToggle(\"improved-target-feedback\", false);\n const [showUnassignedTargetTagWarning] = useLocalStorage(`Octopus.Project.${projectId}.ShowUnassignedTargetTagWarning`, true);\n return ();\n};\nEnhancedProcessStepsLayout.displayName = \"EnhancedProcessStepsLayout\"\nexport default EnhancedProcessStepsLayout;\n","import type { ProcessType } from \"@octopusdeploy/octopus-server-client\";\nimport type { AnalyticsEvent } from \"@octopusdeploy/portal-analytics\";\ninterface UnassignedTargetTagsWarningRaisedEvent extends AnalyticsEvent<\"Unassigned Target Tags Warning Raised\"> {\n processType: string;\n numberOfTags: number;\n numberOfSteps: number;\n}\nexport function createUnassignedTargetTagsWarningRaisedEvent(processType: ProcessType, numberOfTags: number, numberOfSteps: number): UnassignedTargetTagsWarningRaisedEvent {\n return {\n eventName: \"Unassigned Target Tags Warning Raised\",\n processType,\n numberOfTags,\n numberOfSteps,\n };\n}\n","import { css } from \"@emotion/css\";\nimport type { PageAction, PrimaryPageAction } from \"@octopusdeploy/design-system-components\";\nimport { Divider, useMenuState, CustomMenu, MenuItemButton, ActionButton, ActionButtonType, Callout, Dialog, SimpleDataTable, useShowSnackbar } from \"@octopusdeploy/design-system-components\";\nimport { space, themeTokens } from \"@octopusdeploy/design-system-tokens\";\nimport { useAggregateAPIOperationStatus, useMutation, useQuery } from \"@octopusdeploy/octopus-react-client\";\nimport type { ActionTemplateParameterResource, BlueprintResource, CreateProcessTemplateVersionBffCommand, GitBranchResource, GitPersistenceSettings, GitRef, GitRefResource, IconMetadataResource, IconSvgResource, IProcessResource, ModifyProcessTemplateCommand, PlatformHubConnectionConfigurationResource, ProcessTemplateVersionResource, Repository, ShareTemplateToManySpacesBffCommand, SpaceResource, ValidateGitRefV2Response, WorkerPoolsSummaryResource, } from \"@octopusdeploy/octopus-server-client\";\nimport { OctopusError, isProcessTemplateParameterResource, canCommitTo, GetPrimaryPackageReference, Permission } from \"@octopusdeploy/octopus-server-client\";\nimport type { QueryParamValuesSetter } from \"@octopusdeploy/portal-routes\";\nimport { links } from \"@octopusdeploy/portal-routes\";\nimport { noOp } from \"@octopusdeploy/utilities\";\nimport { isEqual, keyBy } from \"lodash\";\nimport pluralize from \"pluralize\";\nimport * as React from \"react\";\nimport { useCallback, useMemo, useState } from \"react\";\nimport { useSelector } from \"react-redux\";\nimport { EditProcessTemplateSettingsTab } from \"~/areas/blueprints/EditProcessTemplateSettingsTab\";\nimport { lastAccessedPlatformHubGitRef } from \"~/areas/blueprints/LastAccessedPlatformHubGitRef\";\nimport { PlatformHubPageHeaderBranchSelector } from \"~/areas/blueprints/PlatformHubPageHeaderBranchSelector\";\nimport { ProcessTemplateParametersTab, buildProcessTemplateParametersActions } from \"~/areas/blueprints/ProcessTemplateParametersTab\";\nimport { PublishTemplateDialog } from \"~/areas/blueprints/PublishTemplateDialog\";\nimport type { SharedSpaces } from \"~/areas/blueprints/ShareTemplateDialog\";\nimport { ShareTemplateDialog } from \"~/areas/blueprints/ShareTemplateDialog\";\nimport { StopShareTemplateDialog } from \"~/areas/blueprints/StopSharingTemplateDialog\";\nimport { useRequiredPlatformHubGitRef } from \"~/areas/blueprints/usePlatformHubGitRef\";\nimport type { ProcessBlueprintContextProps } from \"~/areas/projects/components/Process/Blueprints/BlueprintContext\";\nimport { buildProcessBlueprintContextProps, ProcessBlueprintContext } from \"~/areas/projects/components/Process/Blueprints/BlueprintContext\";\nimport { isRunOnServerOrWorkerPool, loadAvailableWorkerPools, whereConfiguredToRun } from \"~/areas/projects/components/Process/Common/CommonProcessHelpers\";\nimport { useProcessContext } from \"~/areas/projects/components/Process/Contexts/ProcessContext\";\nimport { ProcessController } from \"~/areas/projects/components/Process/Contexts/ProcessController\";\nimport { useProcessErrorActions, useProcessErrorSelectors } from \"~/areas/projects/components/Process/Contexts/ProcessErrors/ProcessErrorsContext\";\nimport { createDefaultFilter, ProcessQueryStringController, useProcessQueryStringContext } from \"~/areas/projects/components/Process/Contexts/ProcessQueryString/ProcessQueryStringContext\";\nimport { useProcessWarningActions } from \"~/areas/projects/components/Process/Contexts/ProcessWarnings/ProcessWarningsContext\";\nimport { hasSteps } from \"~/areas/projects/components/Process/Contexts/processModelSelectors\";\nimport ProcessListLayout from \"~/areas/projects/components/Process/ProcessListLayout\";\nimport ProcessStepsLayout, { intentFromFilter, ProcessPageIntent } from \"~/areas/projects/components/Process/ProcessStepsLayout\";\nimport type { ProcessStepsLayoutLoaderLookupData } from \"~/areas/projects/components/Process/ProcessStepsLayoutLoader\";\nimport { emptyVariableSetResource } from \"~/areas/projects/components/Process/ProcessStepsLayoutLoader\";\nimport type { BlueprintProcessIdentifier } from \"~/areas/projects/components/Process/types\";\nimport { ExecutionLocation, isBlueprintProcessIdentifier, toBlueprintProcessIdentifier } from \"~/areas/projects/components/Process/types\";\nimport { GitRefChip } from \"~/areas/projects/components/Releases/GitRefChip/GitRefChip\";\nimport { ContextAddStepButton } from \"~/areas/projects/components/Steps/index\";\nimport type { GetCommitButtonProps } from \"~/areas/projects/components/VersionControl/CommitButton\";\nimport { GetCommitButton } from \"~/areas/projects/components/VersionControl/CommitButton\";\nimport type { CommitMessageWithDetails } from \"~/areas/projects/components/VersionControl/CommitMessageWithDetails\";\nimport { getFormattedCommitMessage } from \"~/areas/projects/components/VersionControl/CommitMessageWithDetails\";\nimport { PersistenceSettingsContextProvider, usePersistenceSettingsContext } from \"~/areas/projects/context/PersistenceSettingsContext\";\nimport { repository } from \"~/clientInstance\";\nimport type { ActionPlugin } from \"~/components/Actions/pluginRegistry\";\nimport { DropDownIcon } from \"~/components/Button/DropDownIcon/DropDownIcon\";\nimport Chip from \"~/components/Chips/Chip\";\nimport type { DoBusyTask, Errors } from \"~/components/DataBaseComponent/index\";\nimport { useDoBusyTaskEffect } from \"~/components/DataBaseComponent/index\";\nimport { useLegacyDoBusyTask } from \"~/components/DataBaseComponent/useLegacyDoBusyTask\";\nimport { useDialogTrigger } from \"~/components/Dialog/DialogTrigger\";\nimport { LegacyForm } from \"~/components/FormPaperLayout/LegacyForm\";\nimport OnboardingPage from \"~/components/GettingStarted/OnboardingPage\";\nimport { useSpaceAwareNavigation } from \"~/components/Navigation/SpaceAwareNavigation/useSpaceAwareNavigation\";\nimport { PageContent } from \"~/components/PageContent/PageContent\";\nimport { hasPermission } from \"~/components/PermissionCheck/PermissionCheck\";\nimport { PermissionCheck } from \"~/components/PermissionCheck/index\";\nimport { Note } from \"~/components/form/index\";\nimport * as tenantTagsets from \"~/components/tenantTagsets\";\nimport useLocalStorage from \"~/hooks/useLocalStorage\";\nimport type { GlobalState } from \"~/store/reducers\";\nimport DateFormatter from \"~/utils/DateFormatter/index\";\nimport StringHelper from \"~/utils/StringHelper\";\ninterface EditProcessTemplateProps {\n loaderData: LoaderData;\n slug: string;\n queryParams: EditProcessTemplateQueryParams;\n setQueryParams: QueryParamValuesSetter;\n scrollAreaRef?: React.RefObject;\n}\ntype EditProcessTemplateActiveTab = \"process\" | \"parameters\" | \"settings\" | \"versions\";\nexport interface EditProcessTemplateQueryParams {\n gitRef: string;\n activeTab: EditProcessTemplateActiveTab;\n}\ninterface EditWithAllContextProps extends EditProcessTemplateProps {\n doBusyTask: DoBusyTask;\n errors: Error[];\n busy: boolean;\n}\ninterface EditProcessTemplateInternalProps {\n cleanModel: BlueprintResource;\n model: BlueprintResource;\n doBusyTask: DoBusyTask;\n errors: Error[];\n busy: boolean;\n lookupData: EditProcessTemplateLookupData;\n icons: IconSvgResource[];\n iconMetadata: IconMetadataResource | undefined;\n onChange: (blueprint: BlueprintResource) => void;\n gitRefResource: GitRefResource | undefined;\n gitRef: GitRef;\n setGitRef: (gitRef: string) => void;\n gitPersistenceSettings: GitPersistenceSettings;\n activeTab: EditProcessTemplateActiveTab;\n setActiveTab: (value: EditProcessTemplateActiveTab) => void;\n reloadComponent: () => void;\n}\ninterface EditProcessTemplateLookupData extends ProcessStepsLayoutLoaderLookupData {\n spaces: SpaceResource[];\n}\nfunction EditWithAllContext({ loaderData, slug, doBusyTask, busy, errors, queryParams, setQueryParams }: EditWithAllContextProps) {\n const [gitRef, setGitRef, validatedGitRef] = useRequiredPlatformHubGitRef(loaderData.platformHubConnectionConfiguration.PersistenceSettings, queryParams, setQueryParams, loaderData.initialValidationResult);\n const [lookupData, setLookupData] = useState({ ...defaultLookups, templates: loaderData.processTemplate.Parameters });\n const [icons, setIcons] = useState([]);\n const [iconMetadata, setIconMetadata] = useState();\n const [reloadKey, setReloadKey] = useState(0);\n const { result: cleanModel, refetch: reloadProcessTemplate } = useQuery(async (repository) => {\n const result = await repository.Blueprints.get(slug, gitRef);\n setModel(result);\n return result;\n }, [slug, gitRef], \"Get process template\", {\n initialResult: loaderData.processTemplate,\n });\n const [model, setModel] = useState(cleanModel);\n const [blueprintContextProps, setBlueprintContextProps] = useState(buildProcessBlueprintContextProps(cleanModel));\n const incrementReloadKey = () => {\n setReloadKey(reloadKey + 1);\n };\n const refreshLookups = useCallback(async () => {\n const environments = repository.Environments.all();\n const tagSets = tenantTagsets.getAll();\n setLookupData({\n ...defaultLookups,\n environmentsById: keyBy(await environments, \"Id\"),\n tagSets: await tagSets,\n machineRoles: await repository.MachineRoles.all(),\n tagIndex: await tenantTagsets.getTagIndex(),\n spaces: await repository.Spaces.all(),\n });\n }, []);\n const onChange = useCallback((blueprint: BlueprintResource) => {\n const context = buildProcessBlueprintContextProps(blueprint);\n setBlueprintContextProps(context);\n setLookupData({ ...lookupData, templates: blueprint.Parameters });\n setModel(blueprint);\n }, [lookupData]);\n useDoBusyTaskEffect(doBusyTask, async () => {\n await refreshLookups();\n const icons = await repository.Icons.getIcons();\n setIcons(icons);\n const iconMetadata = await repository.Icons.getIconMetadata();\n setIconMetadata(iconMetadata);\n }, [refreshLookups]);\n const processIdentifier: BlueprintProcessIdentifier = useMemo(() => toBlueprintProcessIdentifier(slug, gitRef), [slug, gitRef]);\n const setActiveTab = useCallback((value) => setQueryParams((prev) => ({ ...prev, activeTab: value })), [setQueryParams]);\n if (!validatedGitRef) {\n return {null};\n }\n return (\n \n Promise.resolve()} // This function is never used for blueprints since the save logic is handled outside the process context\n >\n {() => {\n return (\n {() => {\n return ();\n }}\n );\n }}\n \n \n );\n}\nconst defaultLookups: EditProcessTemplateLookupData = {\n includedScriptModules: [],\n lifecyclePreview: null,\n environmentsById: {},\n channelsById: null,\n tagSets: [],\n workerPoolsById: {},\n machineRoles: [],\n tagIndex: {},\n userOnboarding: null,\n workerPoolsSummary: {\n WorkerPoolSummaries: [],\n TotalMachines: 0,\n TotalDisabledMachines: 0,\n MachineHealthStatusSummaries: {\n Healthy: 0,\n Unavailable: 0,\n Unknown: 0,\n HasWarnings: 0,\n Unhealthy: 0,\n },\n MachineEndpointSummaries: {\n None: 0,\n TentaclePassive: 0,\n TentacleActive: 0,\n Ssh: 0,\n OfflineDrop: 0,\n AzureWebApp: 0,\n AzureCloudService: 0,\n AzureServiceFabricCluster: 0,\n Kubernetes: 0,\n KubernetesTentacle: 0,\n StepPackage: 0,\n },\n DeploymentTargetSummaries: {\n Healthy: 0,\n Unavailable: 0,\n Unknown: 0,\n HasWarnings: 0,\n Unhealthy: 0,\n },\n TentacleUpgradesRequired: false,\n MachineIdsForCalamariUpgrade: [],\n MachineIdsForTentacleUpgrade: [],\n },\n projectTriggers: [],\n processVariableSet: emptyVariableSetResource(\"\"), // Empty spaceId while variable sets are space-scoped\n libraryVariableSets: [],\n templates: [],\n spaces: [],\n};\ninterface ProcessStepsOrListLayoutProps {\n lookupData: ProcessStepsLayoutLoaderLookupData;\n doBusyTask: DoBusyTask;\n errors: Error[];\n busy: boolean;\n gitRefResource: GitRefResource | undefined;\n scrollAreaRef?: React.RefObject;\n}\nfunction ProcessStepsOrListLayout({ lookupData, busy, doBusyTask, errors, gitRefResource, scrollAreaRef }: ProcessStepsOrListLayoutProps) {\n const processQueryStringContext = useProcessQueryStringContext();\n const isBuiltInWorkerEnabled = useSelector((state: GlobalState) => state.configurationArea.features.isBuiltInWorkerEnabled);\n const intent = intentFromFilter(processQueryStringContext.state.queryFilter);\n if (intent === ProcessPageIntent.Unknown) {\n return ( Promise.resolve()} titleAccessory={undefined} releaseCreationPackageStepId={undefined} lookups={lookupData} doBusyTask={doBusyTask} isBuiltInWorkerEnabled={isBuiltInWorkerEnabled} gitRefResource={gitRefResource}/>);\n }\n return ( Promise.resolve()} changeGitRef={noOp} // todo\n refreshModel={() => Promise.resolve(true)} projectStatus={undefined} includedLibraryVariableSetIds={[]} releaseCreationPackageStepId={undefined} lookups={lookupData} errors={errors} busy={busy} doBusyTask={doBusyTask} isBuiltInWorkerEnabled={isBuiltInWorkerEnabled} gitRefResource={gitRefResource} isTenanted={true} onValidationError={() => scrollAreaRef?.current?.scrollTo({ top: 0, behavior: \"smooth\" })}/>);\n}\nfunction applyCommonLogicToProcessResource(process: IProcessResource, workerPoolsSummary: WorkerPoolsSummaryResource, getPluginForAction: (actionId: string) => ActionPlugin) {\n const availableWorkerPools = loadAvailableWorkerPools(workerPoolsSummary);\n process.Steps.forEach((step) => {\n step.Actions.forEach((action) => {\n const plugin = getPluginForAction(action.Id);\n const runOn = whereConfiguredToRun(!!step.Properties[\"Octopus.Action.TargetRoles\"], action, availableWorkerPools, plugin);\n if (runOn) {\n if (!isRunOnServerOrWorkerPool(runOn)) {\n action.Container = { FeedId: null, Image: null, GitUrl: null, Dockerfile: null };\n }\n else {\n if (runOn.executionLocation === ExecutionLocation.OctopusServer || runOn.executionLocation === ExecutionLocation.WorkerPool) {\n step.Properties[\"Octopus.Action.TargetRoles\"] = \"\";\n }\n if (runOn.executionLocation !== ExecutionLocation.WorkerPool && runOn.executionLocation !== ExecutionLocation.WorkerPoolForRoles) {\n // eslint-disable-next-line @typescript-eslint/no-non-null-assertion\n action.WorkerPoolId = null!;\n // eslint-disable-next-line @typescript-eslint/no-non-null-assertion\n action.WorkerPoolVariable = null!;\n }\n action.Container = runOn.container;\n }\n }\n if (!action.Name || action.Name.length === 0) {\n const primaryPackage = GetPrimaryPackageReference(action.Packages);\n if (primaryPackage) {\n action.Name = primaryPackage.PackageId;\n }\n }\n });\n });\n}\nfunction EditProcessTemplatePageInternal({ cleanModel, model, doBusyTask, busy, errors, lookupData, icons, iconMetadata, onChange, gitRefResource, gitRef, setGitRef, gitPersistenceSettings, activeTab, setActiveTab, reloadComponent, }: EditProcessTemplateInternalProps) {\n const persistenceSettings = usePersistenceSettingsContext();\n const process = useProcessContext();\n const processIdentifier = process.state.processIdentifier;\n const errorActions = useProcessErrorActions();\n const warningActions = useProcessWarningActions();\n const errorSelectors = useProcessErrorSelectors();\n const navigation = useSpaceAwareNavigation();\n const [commitMessage, setCommitMessage] = useState({ summary: \"\", details: \"\" });\n const [disableDirtyFormChecking, setDisableDirtyFormChecking] = useState(false);\n const showSnackbar = useShowSnackbar();\n const { openDialog: openPublishDialog, isOpen: isPublishDialogOpen } = useDialogTrigger();\n const { openDialog: openShareDialog, isOpen: isShareDialogOpen } = useDialogTrigger();\n const { openDialog: openStopShareDialog, isOpen: isStopShareDialogOpen } = useDialogTrigger();\n const [dismissedShareAndPublishCallout, setDismissed] = useLocalStorage(`Octopus.Callout.ProcessTemplate.ShareAndPublish.${cleanModel.Slug}.Dismissed`, false);\n const [openPublishShareMenu, publishShareMenuState, buttonAriaAttributes] = useMenuState();\n const { result: publishedVersions, refetch: reloadPublishedVersions } = useQuery((repository) => repository.Blueprints.getVersions(cleanModel.Slug), [cleanModel.Slug], \"Get process template versions\");\n const { result: sharedSpaces, refetch: reloadSharedSpaces } = useQuery((repository) => repository.Blueprints.getSharedSpaces(model.Slug), [model.Slug], \"Get spaces process template is shared to\");\n const isTemplateShared = sharedSpaces?.SharedToAllSpaces || (sharedSpaces && sharedSpaces.IndividuallySharedSpaceIds.length > 0);\n const { execute: handleSave } = useMutation({\n name: \"Publish Process Template Version\",\n action: async (repository: Repository, version: string, isPreRelease: boolean) => {\n const publishVersion: CreateProcessTemplateVersionBffCommand = {\n ProcessTemplateId: model.Id,\n Version: version,\n IsPreRelease: isPreRelease,\n };\n await repository.Blueprints.publishVersion(publishVersion);\n },\n afterComplete: async () => {\n showSnackbar(\"Process template version published\");\n reloadPublishedVersions();\n reloadComponent();\n },\n });\n // Prioritize showing a non-pre-release version but if there are none, search for pre-releases\n const latestVersionForGitRef = publishedVersions?.find((v) => v.GitRef === gitRef && !v.IsPreRelease) ?? publishedVersions?.find((v) => v.GitRef === gitRef);\n const { execute: handleShare } = useMutation({\n name: \"Share Process Template Version\",\n action: async (repository: Repository, sharedSpaces: SharedSpaces) => {\n const shareCommand: ShareTemplateToManySpacesBffCommand = {\n ProcessTemplateId: model.Id,\n ShareToAllSpaces: sharedSpaces.shareToAll,\n IndividuallySharedSpaceIds: sharedSpaces.individualSpacesSharedTo,\n ConstraintExceptionSpaceIds: sharedSpaces.constraintExceptionSpaceIds,\n };\n return await repository.Blueprints.shareToSpace(shareCommand);\n },\n afterComplete: async (repository, output) => {\n reloadSharedSpaces();\n let snackbarMessage = \"Process template\";\n if (output.SharedToAllSpaces) {\n snackbarMessage += \" shared to all spaces\";\n if (output.UpdatedUsageConstraint) {\n snackbarMessage += \" and usage constraints updated\";\n }\n }\n else {\n const sharedCount = output.IndividuallySharedSpaceIds.length;\n const unsharedCount = output.IndividuallyUnsharedSpaceIds.length;\n const hasBothChanges = sharedCount > 0 && unsharedCount > 0;\n if (sharedCount > 0) {\n snackbarMessage += ` shared to ${pluralize(\"new space\", sharedCount, true)}`;\n }\n if (hasBothChanges) {\n output.UpdatedUsageConstraint ? (snackbarMessage += \",\") : (snackbarMessage += \"and\");\n }\n if (unsharedCount > 0) {\n snackbarMessage += ` removed from ${pluralize(\"space\", unsharedCount, true)}`;\n }\n if ((sharedCount > 0 || unsharedCount > 0) && output.UpdatedUsageConstraint) {\n snackbarMessage += \" and\";\n }\n if (output.UpdatedUsageConstraint) {\n snackbarMessage += \" usage constraints updated\";\n }\n if (sharedCount === 0 && unsharedCount === 0 && !output.UpdatedUsageConstraint) {\n snackbarMessage += \" sharing required no changes and was not updated\";\n }\n }\n showSnackbar(snackbarMessage);\n reloadComponent();\n },\n });\n const sharePublishButton: PageAction = {\n key: \"PublishAndShareButton\",\n type: \"custom\",\n content: (\n } iconPosition={\"right\"}/>\n \n \n
    \n Publish\n Publish versions of this template\n
    \n
    \n \n
    \n Share\n Share this template with all or some spaces\n
    \n
    \n \n \n Stop sharing this template\n \n
    \n
    ),\n };\n const onParametersChanged = useCallback((parameters: ActionTemplateParameterResource[]) => {\n const resource: BlueprintResource = { ...model, Parameters: parameters.map((p) => (isProcessTemplateParameterResource(p) ? p : { ...p, Values: [] })) };\n onChange(resource);\n }, [onChange, model]);\n let secondaryActions: PageAction[] = [addStepButton, sharePublishButton];\n if (activeTab === \"process\") {\n secondaryActions = [addStepButton, sharePublishButton];\n }\n else if (activeTab === \"settings\") {\n secondaryActions = [sharePublishButton];\n }\n else if (activeTab === \"parameters\") {\n const parametersActions = buildProcessTemplateParametersActions(model.Parameters || [], onParametersChanged);\n secondaryActions = [...parametersActions, sharePublishButton];\n }\n const onSettingsChange = useCallback((settings: BlueprintResource) => {\n const resource: BlueprintResource = { ...model, ...settings };\n onChange(resource);\n }, [onChange, model]);\n const processFromContext = process.state.model.process ? process.selectors.getProcessResource() : null;\n if (processFromContext) {\n if (!isEqual(model.Steps, processFromContext.Steps)) {\n const resource: BlueprintResource = { ...model, Steps: processFromContext.Steps };\n onChange(resource);\n }\n }\n let openCommitDialog: (() => void) | undefined = undefined;\n function getDefaultCommitMessage(): string {\n return \"Update process template\";\n }\n const saveProcess = async (isNavigationConfirmation: boolean, newBranch?: GitBranchResource) => {\n let isValid = true;\n const onSuccess: () => void = () => {\n errorActions.clearErrors();\n warningActions.clearWarnings();\n };\n const onError: (errors: Errors) => void = (errors) => {\n errorActions.setErrors(errors, process.selectors);\n isValid = false;\n warningActions.clearWarnings();\n };\n if (isNavigationConfirmation && openCommitDialog) {\n openCommitDialog();\n return isValid;\n }\n else {\n await doBusyTask(async () => {\n const { modelProcess: clientProcessResource } = process.selectors.getProcessesForMerge();\n applyCommonLogicToProcessResource(clientProcessResource, lookupData.workerPoolsSummary, process.selectors.getActionPlugin);\n const updatedBlueprint: ModifyProcessTemplateCommand = {\n ...model,\n Steps: clientProcessResource.Steps,\n ChangeDescription: getFormattedCommitMessage(commitMessage, getDefaultCommitMessage()),\n };\n await repository.Blueprints.modify(updatedBlueprint);\n setCommitMessage({ summary: \"\", details: \"\" });\n process.actions.refreshFromServer();\n showSnackbar(\"Process template details updated\");\n }, { onError, onSuccess });\n if (isValid && !hasSteps(process.state.model)()) {\n if (!isBlueprintProcessIdentifier(processIdentifier)) {\n throw new Error(\"This page only supports process templates\");\n }\n const gitRef = model.GitRef;\n navigation.navigate(links.editProcessTemplatePage.generateUrl({ slug: processIdentifier.slug }, { gitRef }));\n }\n return isValid;\n }\n };\n const onNewBranchCreating = async (branchName: string) => {\n throw new Error(\"Process templates don't support branch creating yet\");\n // let newBranchResource: GitBranchResource | null = null;\n //\n // try {\n // newBranchResource = await repository.ProjectBranches.createBranch(process.state.ownerId, branchName, gitRefResource?.CanonicalName ?? \"\");\n // } catch (ex) {\n // setDisableDirtyFormChecking(false);\n // throw ex;\n // }\n //\n // if (newBranchResource) {\n // setDisableDirtyFormChecking(true);\n // if (await saveProcess(false, newBranchResource)) {\n // changeGitRef(branchName);\n // }\n // setDisableDirtyFormChecking(false);\n // }\n };\n function getCommitButtonProps(): GetCommitButtonProps {\n return {\n hasPermission: { permission: Permission.PlatformHubEdit },\n gitRef: gitRefResource?.CanonicalName,\n persistenceSettings: persistenceSettings,\n canCommitToGitRef: canCommitTo(gitRefResource),\n defaultCommitMessage: getDefaultCommitMessage(),\n commitMessage: commitMessage,\n updateCommitMessage: (commitMessage: CommitMessageWithDetails) => setCommitMessage(commitMessage),\n commitMessageAccessibleName: `Commit message for saving the process template process`,\n commitDetailsAccessibleName: `Commit details for saving the process template process`,\n commitButtonAccessibleName: `Commit changes to the process template process`,\n onInitializing: (openDialog) => (openCommitDialog = openDialog),\n label: \"Commit\",\n busyLabel: \"Committing\",\n onClick: (e) => saveProcess(false),\n disabled: disableDirtyFormChecking ? false : isEqual(model, cleanModel) || busy || !hasPermission(Permission.PlatformHubEdit),\n };\n }\n const commitAction: PrimaryPageAction = {\n type: \"custom\",\n content: ,\n key: \"Get Commit\",\n };\n const titleAccessory = ;\n const shouldShowShareAndPublishCallout = sharedSpaces === null ? false : hasPermission(Permission.PlatformHubEdit) && !dismissedShareAndPublishCallout && cleanModel.Steps.length > 0 && (publishedVersions?.length === 0 || !isTemplateShared);\n const anyProcessSpecificErrors = errorSelectors.getActionsWithErrors().length > 0 || errorSelectors.getStepsWithErrors().length > 0;\n // The only known settings-specific error is if no name is provided.\n const anySettingsSpecificErrors = errors.some((e) => (OctopusError.isOctopusError(e) && e.Details ? Object.keys(e.Details).some((k) => k === \"Name\") : false));\n const tabWarningMessage = \"Errors found in this section\";\n return (<>\n \n {({ FormContent }) => ( setDismissed(true)} templateName={model.Name}/> }\n : undefined} currentTab={activeTab} onTabChanged={setActiveTab} tabs={[\n {\n label: \"Process\",\n value: \"process\",\n warning: anyProcessSpecificErrors ? tabWarningMessage : undefined,\n content: ,\n },\n {\n label: \"Parameters\",\n value: \"parameters\",\n content: ,\n },\n {\n label: \"Settings\",\n value: \"settings\",\n warning: anySettingsSpecificErrors ? tabWarningMessage : undefined,\n content: (\n \n ),\n },\n {\n label: \"Versions\",\n value: \"versions\",\n content: ,\n },\n ]}/>)}\n \n \n \n \n \n \n \n \n \n \n );\n}\ninterface ShareAndPublishCalloutProps {\n templateName: string;\n onShareClick: () => void;\n onPublishClick: () => void;\n onDismiss: () => void;\n}\nfunction ShareAndPublishCallout({ templateName, onPublishClick, onShareClick, onDismiss }: ShareAndPublishCalloutProps) {\n return (\n To use the process template in other spaces, you'll need to{\" \"}\n {\n e.preventDefault();\n onPublishClick();\n }}>\n publish\n {\" \"}\n and{\" \"}\n {\n e.preventDefault();\n onShareClick();\n }}>\n share\n {\" \"}\n this template.\n );\n}\nfunction ProcessTemplateVersions({ publishedVersions }: {\n publishedVersions: ProcessTemplateVersionResource[] | null;\n}) {\n if (publishedVersions === null) {\n return null;\n }\n if (publishedVersions.length === 0) {\n return ();\n }\n return (
    \n (
    \n {data.Version}\n {data.IsPreRelease ? Pre-release : null}\n
    ),\n columnSize: \"medium\",\n },\n { title: \"Git reference\", render: (data) => , columnSize: \"medium\" },\n { title: \"Published\", render: (data) => DateFormatter.dateToLongFormat(data.PublishedDate) },\n ]} data={publishedVersions} getRowKey={(data) => data.Version}/>\n
    );\n}\nconst styles = {\n versionContainer: css({\n display: \"flex\",\n alignItems: \"center\",\n gap: space[6],\n }),\n stopSharingMenuItem: css({\n color: themeTokens.color.text.danger,\n }),\n};\nconst addStepButton: PageAction = {\n type: \"custom\",\n content: ,\n key: \"Add Step\",\n};\nexport async function editProcessTemplateLoader(repository: Repository, gitRef: string, slug: string): Promise {\n const platformHubConnectionConfiguration = await repository.PlatformHubConnectionRepository.get();\n if (!gitRef) {\n gitRef = lastAccessedPlatformHubGitRef.get(platformHubConnectionConfiguration.PersistenceSettings);\n }\n const initialValidationResult = await repository.PlatformHubRepository.validateGitRef(gitRef);\n const processTemplate = await repository.Blueprints.get(slug, gitRef);\n return {\n processTemplate,\n platformHubConnectionConfiguration,\n initialValidationResult,\n };\n}\ninterface LoaderData {\n processTemplate: BlueprintResource;\n platformHubConnectionConfiguration: PlatformHubConnectionConfigurationResource;\n initialValidationResult: ValidateGitRefV2Response;\n}\nexport default function EditProcessTemplatePage(props: EditProcessTemplateProps) {\n const { doBusyTask, status: doBusyTaskStatus } = useLegacyDoBusyTask();\n const { isInProgress, errors } = useAggregateAPIOperationStatus(doBusyTaskStatus);\n return ;\n}\n","import { useShowSnackbar } from \"@octopusdeploy/design-system-components\";\nimport { isValidationError, useMutation, ValidationError } from \"@octopusdeploy/octopus-react-client\";\nimport type { Permission, Repository } from \"@octopusdeploy/octopus-server-client\";\nimport { OctopusError } from \"@octopusdeploy/octopus-server-client\";\nimport { AnalyticLinkLocationProvider } from \"@octopusdeploy/portal-analytics\";\nimport { isEqual } from \"lodash\";\nimport type { ReactNode, SetStateAction } from \"react\";\nimport React, { useEffect, useCallback, useRef, useMemo, useState } from \"react\";\nimport { useDispatch } from \"react-redux\";\nimport { v4 } from \"uuid\";\nimport type { FieldErrors } from \"~/components/DataBaseComponent/Errors\";\nimport { useDevToolsTabEffect } from \"~/components/DevTools/DevToolsContext\";\nimport { DirtyStateDetail } from \"~/components/FormPaperLayout/DirtyStateTracking/DirtyStateDetail\";\nimport { createFormDirtyChangedAction } from \"~/components/FormPaperLayout/reducers\";\nimport { useNavigationBlocker } from \"~/components/OctopusRouter/NavigationBlocker\";\nimport type { PermissionCheckProps } from \"~/components/PermissionCheck/PermissionCheck\";\nimport { isAllowed } from \"~/components/PermissionCheck/PermissionCheck\";\nimport { toggleExpanders } from \"~/components/form/Sections/ExpansionButtons\";\nimport { ExpansionButtons } from \"~/components/form/index\";\ninterface FormProps {\n children: ReactNode;\n formId: string;\n fieldErrors: FieldErrors | undefined;\n expandAllOnMount?: boolean;\n}\nexport function Form({ children, fieldErrors, formId, expandAllOnMount }: FormProps) {\n const formRef = useRef(null);\n return (
    {\n // Normally we don't need to prevent the default behavior.\n // But if there doesn't happen to be a submit button associated with the form,\n // then the default behavior involves navigating which we always want to avoid.\n // So we are being defensive here, which ensures we will never cause an unintended navigation.\n event.preventDefault();\n }} onKeyDown={(event) => {\n if (event.ctrlKey && event.key === \"Enter\") {\n // This replicates the same thing that happens when you press enter on an input in a form\n // From https://www.w3.org/TR/2018/SPSD-html5-20180327/forms.html#the-input-element\n // \"A form element's default button is the first submit button in tree order whose form owner is that form element.\"\n clickFirstSubmitButtonInForm(formRef.current);\n }\n }}>\n \n {children}\n );\n}\ninterface UseFormConfiguration {\n initialModel: Model;\n formName: string;\n submitPermission?: PermissionCheckProps;\n onSubmit: (repository: Repository, model: Model) => Promise;\n snackbarSaveText?: string;\n afterSubmit?: (repository: Repository, updatedModel: Model) => Promise;\n onSubmitError?: (error: Error) => void;\n navigateAwaySaveAction?: () => void;\n navigateAwaySaveButtonLabel?: string;\n validate?: (model: Model) => ValidationResult | undefined;\n}\ninterface ValidationResult {\n errorMessage: string;\n fieldErrors: FieldErrors;\n}\ninterface UseFormReturnValue {\n model: Model;\n setModel: (value: SetStateAction) => void;\n submit: () => Promise;\n isSubmitting: boolean;\n createSaveAction: CreateSaveAction;\n formProps: SuppliedFormProps;\n // This returns a promise so that you can wait for a render to happen after the form is reset\n // This can be used to reset the form state so that navigation can happen\n resetForm: () => Promise;\n isDisabled: FormDisabledState;\n getFieldError: (fieldName: string) => string | undefined;\n}\ntype FormDisabledState = {\n value: false;\n} | {\n value: true;\n reason: \"no permissions\";\n missingPermissionsLabel: string;\n} | {\n value: true;\n reason: \"clean\";\n};\ninterface SuppliedFormProps {\n fieldErrors: FieldErrors;\n formId: string;\n}\ntype CreateSaveAction = (config?: {\n saveButtonLabel?: string;\n saveButtonBusyLabel?: string;\n enabledWhenClean?: boolean;\n}) => SaveFormAction;\ninterface SaveFormAction {\n type: \"button\";\n formId: string;\n label: string;\n disabled: boolean;\n busyLabel: string;\n onClick: (event: React.MouseEvent | undefined) => Promise;\n}\nexport function useForm({ initialModel, onSubmit, formName, afterSubmit, onSubmitError, submitPermission, snackbarSaveText, navigateAwaySaveButtonLabel, navigateAwaySaveAction, validate, }: UseFormConfiguration): UseFormReturnValue {\n const [model, setModel] = useState(initialModel);\n const [cleanModel, setCleanModel] = useState(initialModel);\n const showSnackbar = useShowSnackbar();\n const resetCleanModel = useCallback(async (newCleanModel: FormModel) => {\n setModel(newCleanModel);\n setCleanModel(newCleanModel);\n // The previous setModel/setCleanModel results in a \"clean\" form, which allows navigation\n // This is important because we sometimes immediately navigate in afterSubmit\n // This function call returns control to react, allowing this render to occur before calling afterSubmit\n await yieldToAllowRenderingWhichUnblocksNavigation();\n }, []);\n const { execute: submit, isExecuting: isSubmitting, error, } = useMutation({\n name: formName,\n action: async (repository) => {\n const validationResult = validate?.(model);\n if (validationResult === undefined) {\n return await onSubmit(repository, model);\n }\n throw new ValidationError(validationResult.errorMessage, validationResult.fieldErrors);\n },\n onError: onSubmitError,\n afterComplete: async (repository, updatedModel) => {\n await resetCleanModel(updatedModel);\n await afterSubmit?.(repository, updatedModel);\n showSnackbar(snackbarSaveText || \"Details updated\");\n toggleExpanders(false);\n },\n });\n const isClean = useMemo(() => isEqual(model, cleanModel), [model, cleanModel]);\n useFormNavigationBlocker({ isClean, submit, navigateAwaySaveButtonLabel, navigateAwaySaveAction });\n useDevToolsTabEffect(`Dirty state: ${formName}`, );\n useReduxFormDirtyStateEffect(isClean);\n const formId = useMemo(() => `form-${sanitizeFormNameForId(formName)}-${v4()}`, [formName]);\n const submitPermissionCheckResult = hasPermissionToSubmit(submitPermission);\n const isDisabled: FormDisabledState = isClean\n ? { value: true, reason: \"clean\" }\n : submitPermissionCheckResult.hasPermission\n ? { value: false }\n : { value: true, reason: \"no permissions\", missingPermissionsLabel: `${submitPermissionCheckResult.requiredPermissions.join(\", \")} permission required` };\n const createSaveAction: CreateSaveAction = (config) => {\n const { saveButtonLabel = \"Save\", saveButtonBusyLabel = \"Saving\", enabledWhenClean = false } = config ?? {};\n const label = isDisabled.value && isDisabled.reason === \"no permissions\" ? isDisabled.missingPermissionsLabel : saveButtonLabel;\n const saveButtonIsDisabled = isDisabled.value && isDisabled.reason === \"clean\" ? !enabledWhenClean : isDisabled.value;\n return {\n type: \"button\",\n formId,\n label,\n busyLabel: saveButtonBusyLabel,\n disabled: saveButtonIsDisabled,\n onClick: submit,\n };\n };\n const fieldErrors = useMemo(() => getFieldErrors(error), [error]);\n const formProps: SuppliedFormProps = {\n fieldErrors,\n formId,\n };\n const resetForm = useCallback(async () => {\n await resetCleanModel(cleanModel);\n }, [cleanModel, resetCleanModel]);\n const getFieldError = useCallback((fieldName: string) => {\n if (Object.prototype.hasOwnProperty.call(fieldErrors, fieldName)) {\n return fieldErrors[fieldName];\n }\n const found = Object.keys(fieldErrors).find((k) => k.toLowerCase() === fieldName.toLowerCase());\n if (found) {\n return fieldErrors[found];\n }\n const foundPartialMatch = Object.keys(fieldErrors).find((k) => k.endsWith(\".\" + fieldName));\n if (foundPartialMatch) {\n return fieldErrors[foundPartialMatch];\n }\n }, [fieldErrors]);\n return { model, setModel, submit, isSubmitting, createSaveAction, formProps, resetForm, isDisabled, getFieldError };\n}\nfunction useFormNavigationBlocker({ navigateAwaySaveAction, navigateAwaySaveButtonLabel, submit, isClean, }: {\n isClean: boolean;\n submit: () => Promise;\n navigateAwaySaveAction: (() => void) | undefined;\n navigateAwaySaveButtonLabel: string | undefined;\n}) {\n // We don't require a stable navigate away save action, but we also don't want the navigation blocker to change on every render\n // So we use a ref to ensure we always have the latest callback while still have something stable to refer to (a ref)\n const navigateAwaySaveActionRef = useRef(navigateAwaySaveAction);\n navigateAwaySaveActionRef.current = navigateAwaySaveAction;\n const onNavigateAwaySaveClick = useCallback(async () => {\n if (navigateAwaySaveActionRef.current) {\n navigateAwaySaveActionRef.current();\n }\n else {\n await submit();\n }\n }, [submit]);\n useNavigationBlocker({\n when: !isClean,\n confirmationText: \"If you leave this page, any changes you have made will be lost. Are you sure you wish to leave this page?\",\n onSaveClick: onNavigateAwaySaveClick,\n saveLabel: navigateAwaySaveButtonLabel ?? \"Save changes\",\n });\n}\n// TODO: Instead of using redux, consumers should be able to use the `isDisabled` prop return from `useForm` instead\nfunction useReduxFormDirtyStateEffect(isClean: boolean) {\n const dispatch = useDispatch();\n useEffect(() => {\n dispatch(createFormDirtyChangedAction(!isClean));\n return () => {\n dispatch(createFormDirtyChangedAction(false));\n };\n }, [dispatch, isClean]);\n}\nfunction getFieldErrors(possibleError: Error | null): FieldErrors {\n if (possibleError === null) {\n return {};\n }\n if (possibleError instanceof OctopusError) {\n return possibleError.Details ?? {};\n }\n if (isValidationError(possibleError)) {\n return possibleError.fieldErrors;\n }\n return {};\n}\nfunction yieldToAllowRenderingWhichUnblocksNavigation() {\n return new Promise((resolve) => setTimeout(resolve));\n}\nfunction hasPermissionToSubmit(permission: PermissionCheckProps | undefined): {\n hasPermission: true;\n} | {\n hasPermission: false;\n requiredPermissions: Permission[];\n} {\n if (permission === undefined || isAllowed(permission)) {\n return { hasPermission: true };\n }\n const requiredPermissions = Array.isArray(permission.permission) ? permission.permission : [permission.permission];\n return { hasPermission: false, requiredPermissions };\n}\nfunction clickFirstSubmitButtonInForm(form: HTMLFormElement | null) {\n const elements = form === null ? [] : Array.from(form.elements);\n const firstSubmitButton = elements.find(isSubmitButton);\n firstSubmitButton?.click();\n}\nfunction isSubmitButton(element: Element): element is HTMLButtonElement {\n return \"type\" in element && element.type === \"submit\" && element.tagName === \"BUTTON\";\n}\n// Form names must not contain whitespace\nfunction sanitizeFormNameForId(formName: string) {\n return formName.replace(/\\s/g, \"-\");\n}\n","import { Callout, RadioButton, RadioButtonGroup } from \"@octopusdeploy/design-system-components\";\nimport { useAggregateAPIOperationStatus } from \"@octopusdeploy/octopus-react-client\";\nimport type { AnonymousVcsCredentials, GitHubVcsCredentials, GitPersistenceSettings, PlatformHubConnectionConfigurationResource, ReferenceVcsCredentials, Repository, UsernamePasswordVcsCredentials } from \"@octopusdeploy/octopus-server-client\";\nimport { defaultUsernamePasswordVcsCredentials, AuthenticationType, IsUsingAnonymousAuth, IsUsingUsernamePasswordAuth, Permission } from \"@octopusdeploy/octopus-server-client\";\nimport * as React from \"react\";\nimport { PageContent } from \"~/components/PageContent/PageContent\";\nimport { ExpandableFormSection, Note, required, Sensitive, Summary, Text } from \"~/components/form\";\nimport { Form, useForm } from \"~/components/form/Form/Form\";\ninterface PlatformHubConnectionInternalPageProps {\n loaderData: PlatformHubConnectionLoaderData;\n}\ninterface PlatformHubConnectionLoaderData {\n connectionConfiguration: PlatformHubConnectionConfigurationResource;\n}\nexport async function platformHubConnectionLoader(repository: Repository): Promise {\n const connectionConfiguration = await repository.PlatformHubConnectionRepository.get();\n return { connectionConfiguration };\n}\nexport function PlatformHubConnectionPage({ loaderData }: PlatformHubConnectionInternalPageProps) {\n const { isInProgress } = useAggregateAPIOperationStatus();\n const [isNew] = React.useState(!loaderData.connectionConfiguration.PersistenceSettings.Url);\n const { model, setModel, formProps, createSaveAction, getFieldError } = useForm({\n initialModel: loaderData.connectionConfiguration,\n formName: \"Save Platform Hub Connection Configuration\",\n onSubmit: async (repository: Repository, connectionModel) => await repository.PlatformHubConnectionRepository.modify(connectionModel),\n submitPermission: { permission: Permission.PlatformHubEdit },\n });\n const updatePersistenceSettings = (newValues: Partial) => {\n setModel({ ...model, PersistenceSettings: { ...model.PersistenceSettings, ...newValues } });\n };\n const onCredentialTypeChanged = async (newAuthenticationType: AuthenticationType) => {\n if (newAuthenticationType === AuthenticationType.UsernamePassword) {\n updatePersistenceSettings({ Credentials: defaultUsernamePasswordVcsCredentials });\n }\n else if (newAuthenticationType === AuthenticationType.Anonymous) {\n updatePersistenceSettings({ Credentials: { Type: AuthenticationType.Anonymous } });\n }\n };\n const urlSummary = model.PersistenceSettings.Url ? Summary.summary(model.PersistenceSettings.Url) : Summary.placeholder(\"Enter a Git repository URL\");\n const credentials = model.PersistenceSettings.Credentials;\n const authSummary = createAuthSummary(credentials);\n return (\n
    \n \n \n
    If you are creating a new repository, it must be initialized with at least one branch
    \n
    \n updatePersistenceSettings({ Url })} label=\"URL\" error={getFieldError(\"Url\")} validate={required(\"Enter a Git repository URL.\")} autoFocus={true} accessibleName={\"Git repository URL\"}/>\n \n The HTTPS URL to your git repo. E.g. https://github.com/acme/hello-world.git\n \n
    \n \n \n \n {IsUsingUsernamePasswordAuth(credentials) && (<>\n updatePersistenceSettings({ Credentials: { ...credentials, Username } })} label=\"Username\" error={getFieldError(\"Username\")} validate={required(\"Enter authentication details.\")}/>\n updatePersistenceSettings({ Credentials: { ...credentials, Password } })} label=\"Password or Personal Access Token\" error={getFieldError(\"Password\")}/>\n If you are using a personal access token, ensure it is scoped with read and write access for the repo.\n )}\n \n {IsUsingAnonymousAuth(credentials) && When no credentials are required (e.g. locally hosted repositories).}\n \n \n \n \n .octopus\n  /\n ),\n }} key=\"BasePath\" value={model.PersistenceSettings.BasePath.substring(\".octopus/\".length)} onChange={(BasePath) => updatePersistenceSettings({ BasePath: `.octopus/${BasePath}` })} label=\"Git File Storage Directory\" error={getFieldError(\"BasePath\")} disabled={isInProgress} accessibleName={\"Directory in the repository where files relating to the platform hub should be stored\"}/>\n This controls where in your repository the files related to the platform hub will be stored.\n \n It’s recommended to connect a dedicated Git repository to the platform hub, in this case the default directory, .octopus, is a good option. If managing multiple configurations within the same Git repository,\n consider organizing them in subdirectories, e.g. .octopus/platform-hub.\n \n \n \n Default branch is {model.PersistenceSettings.DefaultBranch}\n )} help=\"Enter the details for your branches\">\n updatePersistenceSettings({ DefaultBranch })} label=\"Default Branch\" error={getFieldError(\"DefaultBranch\")} validate={required(\"Enter a default branch.\")} disabled={isInProgress} accessibleName={\"Name of the default branch on the Git repository\"}/>\n \n
    \n
    );\n}\nfunction createAuthSummary(credentials: AnonymousVcsCredentials | UsernamePasswordVcsCredentials | ReferenceVcsCredentials | GitHubVcsCredentials) {\n let authSummary = Summary.placeholder(\"Enter authentication details\");\n if (IsUsingUsernamePasswordAuth(credentials)) {\n const { Username: username, Password: password } = credentials;\n if (username && password && password.HasValue) {\n authSummary = Summary.summary(React.Children.toArray([\n Authenticated with username ,\n \n {username}\n ,\n ]));\n }\n }\n else if (IsUsingAnonymousAuth(credentials)) {\n authSummary = Summary.summary(React.Children.toArray([\n \n Authenticated as an Anonymous user\n ,\n ]));\n }\n return authSummary;\n}\n","/* eslint-disable @typescript-eslint/init-declarations */\n/* eslint-disable @typescript-eslint/consistent-type-assertions */\nimport type { PageAction } from \"@octopusdeploy/design-system-components\";\nimport type { AccountType, AzureEnvironment, PlatformHubAccountResource } from \"@octopusdeploy/octopus-server-client\";\nimport { Permission } from \"@octopusdeploy/octopus-server-client\";\nimport { links } from \"@octopusdeploy/portal-routes\";\nimport { cloneDeep } from \"lodash\";\nimport React from \"react\";\nimport styles from \"~/areas/infrastructure/components/AccountEdit/style.module.less\";\nimport { repository } from \"~/clientInstance\";\nimport { FormBaseComponent, type FormBaseComponentState } from \"~/components/FormBaseComponent/FormBaseComponent\";\nimport { LegacyForm } from \"~/components/FormPaperLayout/LegacyForm\";\nimport Markdown from \"~/components/Markdown/index\";\nimport InternalRedirect from \"~/components/Navigation/InternalRedirect/InternalRedirect\";\nimport { OverflowMenuItems } from \"~/components/OverflowMenu/OverflowMenu\";\nimport type { ConvertedOverflowMenuItems } from \"~/components/OverflowMenu/OverflowMenuConverterVNext\";\nimport { OverflowMenuConverterVNext } from \"~/components/OverflowMenu/OverflowMenuConverterVNext\";\nimport { PageContent } from \"~/components/PageContent/PageContent\";\nimport { isAllowed } from \"~/components/PermissionCheck/PermissionCheck\";\nimport MarkdownEditor from \"~/components/form/MarkdownEditor/MarkdownEditor\";\nimport { ExpandableFormSection, required, Summary } from \"~/components/form/index\";\nimport NameSummaryWithSlug from \"~/primitiveComponents/form/Slugs/NameSummaryWithSlug\";\nimport SlugEditor from \"~/primitiveComponents/form/Slugs/SlugEditor\";\nimport Text from \"~/primitiveComponents/form/Text/Text\";\ninterface PlatformHubAccountEditModel {\n name: string;\n slug: string;\n description: string;\n}\ninterface PlatformHubAccountData {\n account: TAccountResource;\n}\nconst IsNew = \"IsNew\";\nconst defaultModel: PlatformHubAccountEditModel = {\n name: \"\",\n slug: \"\",\n description: \"\",\n};\ntype PlatformHubAccountEditProps = {\n account: TAccountResource | typeof IsNew;\n azureEnvironments: AzureEnvironment[];\n correlationId?: string;\n};\ninterface PlatformHubAccountEditState extends FormBaseComponentState {\n deleted: boolean;\n showTestDialog: boolean;\n accountData?: PlatformHubAccountData | undefined;\n}\nabstract class PlatformHubAccountEditInternalBase, TModel extends PlatformHubAccountEditModel> extends FormBaseComponent, TState, TModel> {\n constructor(props: PlatformHubAccountEditProps) {\n super(props);\n }\n protected initialState() {\n if (this.props.account === IsNew) {\n return {\n model: this.buildModel() as TModel,\n cleanModel: cloneDeep(this.buildModel()) as TModel,\n deleted: false,\n showTestDialog: false,\n };\n }\n else {\n return {\n model: this.buildModel(this.props.account) as TModel,\n cleanModel: cloneDeep(this.buildModel(this.props.account)) as TModel,\n accountData: {\n account: this.props.account,\n },\n deleted: false,\n showTestDialog: false,\n };\n }\n }\n abstract getTestDialog(): React.ReactNode;\n abstract getPageActions(): PageAction[];\n abstract customExpandableFormSections(): React.ReactElement[];\n abstract getPartialResource(): (Partial & {\n AccountType: AccountType;\n }) | undefined;\n abstract getPartialModel(account?: TAccountResource): Partial | undefined;\n abstract onSuccess?(account: TAccountResource): void;\n abstract onTestDone(success: boolean): void;\n getAccountSummary(): React.ReactElement | null {\n return null;\n }\n buildModel(account?: TAccountResource | undefined): PlatformHubAccountEditModel {\n const partial = this.getPartialModel(account);\n if (!account) {\n return {\n ...partial,\n ...defaultModel,\n };\n }\n return {\n ...partial,\n name: account.Name,\n slug: account.Slug ?? \"\",\n description: account.Description,\n };\n }\n handleDeleteConfirm = async (account: PlatformHubAccountResource) => {\n await repository.PlatformHubRepository.deleteAccount(account);\n this.setState(() => {\n return {\n model: null,\n cleanModel: null, //reset model so that dirty state doesn't prevent navigation\n deleted: true,\n };\n });\n return true;\n };\n protected savePermission() {\n return { permission: Permission.PlatformHubEdit };\n }\n saveAccount = async (performTest: boolean, isNewAccount: boolean) => {\n await this.doBusyTask(async () => {\n let model = this.state.model;\n let existingAccount;\n if (this.state.accountData !== undefined) {\n existingAccount = this.state.accountData.account;\n }\n const account: PlatformHubAccountResource = {\n ...(existingAccount as PlatformHubAccountResource),\n ...(this.getPartialResource() as {\n AccountType: AccountType;\n }),\n Name: model.name,\n Slug: model.slug,\n Description: model.description,\n };\n const result = isNewAccount ? await repository.PlatformHubRepository.createAccount(account) : await repository.PlatformHubRepository.modifyAccount(account);\n model = this.buildModel(account as TAccountResource) as TModel;\n this.setState({\n ...this.state,\n accountData: {\n account: result as TAccountResource,\n },\n model,\n cleanModel: cloneDeep(model),\n deleted: false,\n showTestDialog: performTest,\n });\n if (!performTest && this.onSuccess)\n this.onSuccess(result as TAccountResource);\n });\n };\n nameSummary() {\n return this.state.model.name ? Summary.summary() : Summary.placeholder(\"Please enter a name for your account\");\n }\n descriptionSummary() {\n return this.state.model.description ? Summary.summary() : Summary.placeholder(\"No account description provided\");\n }\n getOverFlowActions(account?: PlatformHubAccountResource): ConvertedOverflowMenuItems {\n if (!account)\n return { menuItems: [], dialogs: [] };\n return OverflowMenuConverterVNext.convertAll([\n OverflowMenuItems.deleteItemDefault(\"account\", () => this.handleDeleteConfirm(account), {\n permission: Permission.PlatformHubEdit,\n }),\n [\n OverflowMenuItems.navItem(\"Audit Trail\", links.auditPage.generateUrl({ regardingAny: [account.Id] }), {\n permission: Permission.EventView,\n wildcard: true,\n }),\n ],\n ]);\n }\n innerRender() {\n const accountData = this.state.accountData;\n if (this.state.deleted) {\n return ;\n }\n const isNewAccount = accountData === undefined;\n return (<>\n {this.getTestDialog()}\n {this.getAccountSummary()}\n {this.state.model && (
    \n \n this.setModelState({ name })} label=\"Account name\" validate={required(\"Please enter an account name\")} error={this.getFieldError(\"name\")} autoFocus={true}/>\n {!isNewAccount && ( this.setModelState({ slug })} label={\"Account slug\"} validate={required(\"Please enter an account slug\")} error={this.getFieldError(\"slug\")}/>)}\n \n \n this.setModelState({ description })}/>\n \n\n {this.customExpandableFormSections()}\n
    )}\n );\n }\n static displayName = \"PlatformHubAccountEditInternalBase\";\n}\nabstract class PlatformHubAccountEditBase extends PlatformHubAccountEditInternalBase, TModel> {\n constructor(props: PlatformHubAccountEditProps) {\n super(props);\n this.state = this.initialState();\n }\n // We redirect to another page via an `` instead of any particular action here\n onSuccess? = undefined;\n onTestDone(success: boolean) {\n this.setState({\n showTestDialog: false,\n });\n }\n render() {\n const accountData = this.state.accountData;\n const isNewAccount = accountData === undefined;\n const savePermission = this.savePermission();\n const title = accountData?.account.Name ?? \"Create Account\";\n const breadcrumbPath = links.platformHubAccountsPage.generateUrl();\n const overflowMenu = this.getOverFlowActions(accountData?.account);\n return ( this.saveAccount(false, isNewAccount)} savePermission={savePermission}>\n {({ FormContent, createSaveAction }) => (\n {overflowMenu.dialogs}\n \n {!this.state.showTestDialog && this.state.accountData && }\n {this.innerRender()}\n \n )}\n );\n }\n}\nexport { PlatformHubAccountEditModel };\nexport default PlatformHubAccountEditBase;\n","/* eslint-disable @typescript-eslint/consistent-type-assertions */\nimport { Callout } from \"@octopusdeploy/design-system-components\";\nimport type { GenericOidcPlatformHubAccountResource, ReferenceDataItem } from \"@octopusdeploy/octopus-server-client\";\nimport { AccountType } from \"@octopusdeploy/octopus-server-client\";\nimport { cloneDeep } from \"lodash\";\nimport React from \"react\";\nimport PlatformHubAccountEditBase, { type PlatformHubAccountEditModel } from \"~/areas/blueprints/accounts/PlatformHubAccountEditBase\";\nimport styles from \"~/areas/infrastructure/components/AccountEdit/style.module.less\";\nimport { subjectKeyChipList } from \"~/components/Chips/index\";\nimport { AvailableDeploymentSubjectKeys, AvailableExecutionSubjectKeys, AvailableRunbookSubjectKeys, DefaultDeploymentSubjectKeys, OpenIdSubjectMultiSelect, SubjectKeyOrder } from \"~/components/MultiSelect/OpenIdSubjectMultiSelect\";\nimport ExternalLink from \"~/components/Navigation/ExternalLink/index\";\nimport { ExpandableFormSection, FormSectionHeading, Note, Summary } from \"~/components/form/index\";\nimport Text from \"~/primitiveComponents/form/Text/Text\";\ninterface PlatformHubGenericOidcAuth {\n deploymentSubjectKeys: string[];\n audience: string;\n}\ninterface GenericOidcPlatformHubModel extends PlatformHubAccountEditModel {\n accountType: AccountType.GenericOidcAccount;\n authentication: PlatformHubGenericOidcAuth;\n}\nconst defaultGenericOidc: PlatformHubGenericOidcAuth = {\n deploymentSubjectKeys: [],\n audience: \"api://default\",\n};\nclass GenericOidcPlatformHubAccountEdit extends PlatformHubAccountEditBase {\n getPartialModel(account?: GenericOidcPlatformHubAccountResource) {\n return getPartialModel(account);\n }\n getPartialResource() {\n return getPartialResource(this.state.model);\n }\n getPageActions() {\n return [];\n }\n getTestDialog() {\n return null;\n }\n customExpandableFormSections() {\n return customExpandableFormSections(this.state.model, (auth) => this.setState((prev) => ({\n model: {\n ...prev.model,\n authentication: {\n ...prev.model.authentication,\n ...auth,\n },\n },\n })), this.getFieldError);\n }\n}\nfunction getPartialModel(account?: GenericOidcPlatformHubAccountResource): Partial | undefined {\n if (!account) {\n return {\n accountType: AccountType.GenericOidcAccount,\n authentication: cloneDeep(defaultGenericOidc),\n };\n }\n const oidcAccount = account as GenericOidcPlatformHubAccountResource;\n return {\n ...oidcAccount,\n accountType: AccountType.GenericOidcAccount,\n authentication: {\n deploymentSubjectKeys: oidcAccount.DeploymentSubjectKeys,\n audience: oidcAccount.Audience,\n },\n };\n}\nfunction getPartialResource(modelState: GenericOidcPlatformHubModel): (Partial & {\n AccountType: AccountType;\n}) | undefined {\n const resource = {\n AccountType: modelState.accountType,\n };\n return {\n ...resource,\n Audience: modelState.authentication.audience,\n DeploymentSubjectKeys: modelState.authentication.deploymentSubjectKeys,\n };\n}\nfunction audienceSummary(model: PlatformHubGenericOidcAuth) {\n return model.audience ? Summary.summary(model.audience) : Summary.placeholder(\"Federated Identity audience\");\n}\nfunction subjectKeySummary(subjectKeys: string[]) {\n if (subjectKeys && subjectKeys.length > 0) {\n return Summary.summary(subjectKeyChipList(subjectKeys));\n }\n else {\n return Summary.summary(\"Using default subject keys\");\n }\n}\nfunction customExpandableFormSections(modelState: GenericOidcPlatformHubModel, setOidcAuth: (newState: Pick) => void, getFieldError: (field: string) => string): React.ReactElement[] {\n const baseElements: React.ReactElement[] = [];\n baseElements.push();\n baseElements.push(
    \n \n The OpenID Connect feature is still in development. We'd love to hear your feedback.\n \n\n \n \n setOidcAuth({ deploymentSubjectKeys })} value={modelState.authentication.deploymentSubjectKeys} subjectKeys={AvailableExecutionSubjectKeys} accessibleName=\"Deployment Subject Keys\"/>\n \n Subject claim formats:\n
    \n Deployment:\n {generateSampleSubject(modelState.authentication.deploymentSubjectKeys, DefaultDeploymentSubjectKeys, \"deployment\", AvailableDeploymentSubjectKeys)}\n
    \n Runbook:\n {generateSampleSubject(modelState.authentication.deploymentSubjectKeys, DefaultDeploymentSubjectKeys, \"runbook\", AvailableRunbookSubjectKeys)}\n
    \n If no keys are specified, the subject claim will default to: {DefaultDeploymentSubjectKeys.join(\", \")}. Any keys not selected will not be included in the subject claim.\n
    \n
    \n \n \n setOidcAuth({ audience })} label=\"Audience\" error={getFieldError(\"Audience\")}/>\n \n
    );\n return baseElements;\n}\nfunction generateSampleSubject(requestedKeys: string[], defaultKeys: string[], type: string, possibleItems: ReferenceDataItem[]): string {\n const possibleKeys = possibleItems.map((k) => k.Id);\n const keys: string[] = requestedKeys && requestedKeys.length > 0 ? requestedKeys : defaultKeys;\n return keys\n .filter((k) => possibleKeys.indexOf(k) > -1)\n .sort((a, b) => SubjectKeyOrder.indexOf(a) - SubjectKeyOrder.indexOf(b))\n .map((k) => (k === \"type\" ? `type:${type}` : `${k}:[${k}-slug]`))\n .join(\":\");\n}\nexport default GenericOidcPlatformHubAccountEdit;\n","import type { PageAction } from \"@octopusdeploy/design-system-components\";\nimport type { GoogleCloudPlatformHubAccountResource, SensitiveValue } from \"@octopusdeploy/octopus-server-client\";\nimport { AccountType } from \"@octopusdeploy/octopus-server-client\";\nimport React from \"react\";\nimport type { PlatformHubAccountEditModel } from \"~/areas/blueprints/accounts/PlatformHubAccountEditBase\";\nimport PlatformHubAccountEditBase from \"~/areas/blueprints/accounts/PlatformHubAccountEditBase\";\nimport type { SaveAndTestAccountProps } from \"~/areas/infrastructure/components/AccountEdit/SaveAndTestAccountDialog\";\nimport SaveAndTestAccountDialog from \"~/areas/infrastructure/components/AccountEdit/SaveAndTestAccountDialog\";\nimport { repository } from \"~/clientInstance\";\nimport Dialog from \"~/components/Dialog/Dialog\";\nimport ExternalLink from \"~/components/Navigation/ExternalLink/index\";\nimport { ObfuscatedPlaceholder } from \"~/components/form/Sensitive/Sensitive\";\nimport { ExpandableFormSection, FormSectionHeading, SensitiveFileUpload, Summary } from \"~/components/form/index\";\nimport Note from \"~/primitiveComponents/form/Note/Note\";\ninterface GoogleCloudPlatformHubAccountModel extends PlatformHubAccountEditModel {\n jsonKey: SensitiveValue;\n}\nclass GoogleCloudPlatformHubAccountEdit extends PlatformHubAccountEditBase {\n getPartialModel(account?: GoogleCloudPlatformHubAccountResource) {\n return getPartialModel(account);\n }\n getPartialResource() {\n return getPartialResource(this.state.model);\n }\n getPageActions() {\n return getPageActions((performTest: boolean) => this.saveAccount(performTest, this.state.accountData === undefined));\n }\n getTestDialog() {\n return getTestDialog(this.state.accountData?.account?.Id, this.state.showTestDialog, (success: boolean) => this.onTestDone(success));\n }\n customExpandableFormSections() {\n return customExpandableFormSections(this.state.model, (jsonKey) => this.setModelState({ jsonKey }), this.getFieldError);\n }\n}\nfunction getPartialModel(account?: GoogleCloudPlatformHubAccountResource): Partial {\n if (!account) {\n return {\n jsonKey: {\n HasValue: false,\n },\n };\n }\n return {\n jsonKey: account.JsonKey,\n };\n}\nfunction getPartialResource(modelState: GoogleCloudPlatformHubAccountModel): (Partial & {\n AccountType: AccountType;\n}) | undefined {\n return {\n AccountType: AccountType.GoogleCloudAccount,\n JsonKey: modelState.jsonKey,\n };\n}\nfunction jsonKeySummary(modelState: GoogleCloudPlatformHubAccountModel) {\n return modelState.jsonKey && modelState.jsonKey.HasValue ? Summary.summary(ObfuscatedPlaceholder) : Summary.placeholder(\"No key file provided\");\n}\nfunction getPageActions(handleSaveClick: (performTest: boolean) => void): PageAction[] {\n return [{ type: \"button\", buttonType: \"secondary\", onClick: () => handleSaveClick(true), label: \"Save and test\" }];\n}\nfunction getTestDialog(accountId: string | undefined, showTestDialog: boolean, onOkClick: (success: boolean) => void): React.ReactNode {\n return (accountId && (\n \n ));\n}\nfunction customExpandableFormSections(modelState: GoogleCloudPlatformHubAccountModel, onJsonKeyChange: (newValue: SensitiveValue) => void, getFieldError: (field: string) => string): React.ReactElement[] {\n const baseElements: React.ReactElement[] = [];\n baseElements.push(, \n \n \n Refer to the Google cloud documentation for information on generating json key for service accounts.\n \n );\n return baseElements;\n}\nconst SaveAndTestGoogleCloudPlatformHubAccountDialog: React.SFC = ({ accountId, onOkClick }) => {\n return repository.Tasks.createTestGoogleCloudPlatformHubAccountTask(accId)}/>;\n};\nSaveAndTestGoogleCloudPlatformHubAccountDialog.displayName = \"SaveAndTestGoogleCloudPlatformHubAccountDialog\"\nexport default GoogleCloudPlatformHubAccountEdit;\n","import type { SensitiveValue, SshKeyPairPlatformHubAccountResource } from \"@octopusdeploy/octopus-server-client\";\nimport { AccountType } from \"@octopusdeploy/octopus-server-client\";\nimport React from \"react\";\nimport type { PlatformHubAccountEditModel } from \"~/areas/blueprints/accounts/PlatformHubAccountEditBase\";\nimport PlatformHubAccountEditBase from \"~/areas/blueprints/accounts/PlatformHubAccountEditBase\";\nimport Sensitive, { ObfuscatedPlaceholder } from \"~/components/form/Sensitive/Sensitive\";\nimport SensitiveFileUpload from \"~/components/form/SensitiveFileUpload/SensitiveFileUpload\";\nimport type { SummaryNode } from \"~/components/form/index\";\nimport { ExpandableFormSection, FormSectionHeading, required, Summary } from \"~/components/form/index\";\nimport Text from \"~/primitiveComponents/form/Text/Text\";\ninterface SshKeyPairPlatformHubModel extends PlatformHubAccountEditModel {\n username: string;\n passphrase: SensitiveValue;\n privateKeyFile: SensitiveValue;\n}\nclass SshKeyPairPlatformHubAccountEdit extends PlatformHubAccountEditBase {\n getPartialModel(account?: SshKeyPairPlatformHubAccountResource) {\n return getPartialModel(account);\n }\n getPartialResource() {\n return getPartialResource(this.state.model);\n }\n getPageActions() {\n return [];\n }\n getTestDialog() {\n return null;\n }\n customExpandableFormSections() {\n return customExpandableFormSections(this.state.model, (username) => this.setModelState({ username }), (privateKeyFile) => this.setModelState({ privateKeyFile }), (passphrase) => this.setModelState({ passphrase }), this.getFieldError);\n }\n}\nfunction getPartialResource(modelState: SshKeyPairPlatformHubModel): Partial & {\n AccountType: AccountType;\n} {\n return {\n AccountType: AccountType.SshKeyPair,\n Username: modelState.username,\n PrivateKeyPassphrase: modelState.passphrase,\n PrivateKeyFile: modelState.privateKeyFile,\n };\n}\nfunction getPartialModel(account?: SshKeyPairPlatformHubAccountResource): Partial {\n if (!account) {\n return {\n username: \"\",\n passphrase: {\n HasValue: false,\n },\n privateKeyFile: {\n HasValue: false,\n },\n };\n }\n return {\n username: account.Username,\n passphrase: account.PrivateKeyPassphrase,\n privateKeyFile: account.PrivateKeyFile,\n };\n}\nfunction usernameSummary(modelState: SshKeyPairPlatformHubModel): SummaryNode {\n return modelState.username ? Summary.summary(modelState.username) : Summary.placeholder(\"No username provided\");\n}\nfunction passphraseSummary(modelState: SshKeyPairPlatformHubModel): SummaryNode {\n return modelState.passphrase && modelState.passphrase.HasValue ? Summary.summary(ObfuscatedPlaceholder) : Summary.placeholder(\"No passphrase provided\");\n}\nfunction privateKeySummary(modelState: SshKeyPairPlatformHubModel): SummaryNode {\n if (modelState.privateKeyFile && modelState.privateKeyFile.HasValue) {\n return Summary.summary(\"A private key has been provided\");\n }\n return Summary.placeholder(\"No private key provided\");\n}\nfunction customExpandableFormSections(modelState: SshKeyPairPlatformHubModel, onUsernameChange: (newValue: string) => void, onPrivateKeyFileChange: (newValue: SensitiveValue) => void, onPassphraseChange: (newValue: SensitiveValue) => void, getFieldError: (field: string) => string): React.ReactElement[] {\n const baseElements: React.ReactElement[] = [];\n baseElements.push(, \n \n , \n \n , \n \n );\n return baseElements;\n}\nexport default SshKeyPairPlatformHubAccountEdit;\n","import type { SensitiveValue, TokenPlatformHubAccountResource } from \"@octopusdeploy/octopus-server-client\";\nimport { AccountType } from \"@octopusdeploy/octopus-server-client\";\nimport React from \"react\";\nimport type { PlatformHubAccountEditModel } from \"~/areas/blueprints/accounts/PlatformHubAccountEditBase\";\nimport PlatformHubAccountEditBase from \"~/areas/blueprints/accounts/PlatformHubAccountEditBase\";\nimport Sensitive, { ObfuscatedPlaceholder } from \"~/components/form/Sensitive/Sensitive\";\nimport { ExpandableFormSection, FormSectionHeading, Summary } from \"~/components/form/index\";\ninterface TokenPlatformHubModel extends PlatformHubAccountEditModel {\n token: SensitiveValue;\n}\nclass TokenAccountPlatformHubEdit extends PlatformHubAccountEditBase {\n getPartialModel(account?: TokenPlatformHubAccountResource) {\n return getPartialModel(account);\n }\n getPartialResource() {\n return getPartialResource(this.state.model);\n }\n getPageActions() {\n return [];\n }\n getTestDialog() {\n return null;\n }\n customExpandableFormSections() {\n return customExpandableFormSections(this.state.model, (token) => this.setModelState({ token }));\n }\n}\nfunction getPartialModel(account?: TokenPlatformHubAccountResource): Partial {\n if (!account) {\n return {\n token: {\n HasValue: false,\n },\n };\n }\n return {\n token: account.Token,\n };\n}\nfunction getPartialResource(modelState: TokenPlatformHubModel): Partial & {\n AccountType: AccountType;\n} {\n return {\n AccountType: AccountType.Token,\n Token: modelState.token,\n };\n}\nfunction tokenSummary(modelState: TokenPlatformHubModel) {\n return modelState.token && modelState.token.HasValue ? Summary.summary(ObfuscatedPlaceholder) : Summary.placeholder(\"No token yet provided\");\n}\nfunction customExpandableFormSections(modelState: TokenPlatformHubModel, onTokenChange: (token: SensitiveValue) => void): JSX.Element[] {\n const baseElements: JSX.Element[] = [];\n baseElements.push(, \n \n );\n return baseElements;\n}\nexport default TokenAccountPlatformHubEdit;\n","import type { PageAction } from \"@octopusdeploy/design-system-components\";\nimport { Callout, RadioButton, RadioButtonGroup } from \"@octopusdeploy/design-system-components\";\nimport type { AmazonWebServicesAccessKeyPlatformHubAccountResource, AmazonWebServicesOidcPlatformHubAccountResource, ReferenceDataItem, SensitiveValue } from \"@octopusdeploy/octopus-server-client\";\nimport { AccountType } from \"@octopusdeploy/octopus-server-client\";\nimport { cloneDeep } from \"lodash\";\nimport React from \"react\";\nimport PlatformHubAccountEditBase, { type PlatformHubAccountEditModel } from \"~/areas/blueprints/accounts/PlatformHubAccountEditBase\";\nimport type { SaveAndTestAccountProps } from \"~/areas/infrastructure/components/AccountEdit/SaveAndTestAccountDialog\";\nimport SaveAndTestAccountDialog from \"~/areas/infrastructure/components/AccountEdit/SaveAndTestAccountDialog\";\nimport styles from \"~/areas/infrastructure/components/AccountEdit/style.module.less\";\nimport { repository } from \"~/clientInstance\";\nimport { subjectKeyChipList } from \"~/components/Chips/index\";\nimport Dialog from \"~/components/Dialog/Dialog\";\nimport { AvailableAccountTestSubjectKeys, AvailableDeploymentSubjectKeys, AvailableExecutionSubjectKeys, AvailableHealthCheckSubjectKeys, AvailableRunbookSubjectKeys, DefaultAccountTestSubjectKeys, DefaultDeploymentSubjectKeys, DefaultHealthCheckSubjectKeys, OpenIdSubjectMultiSelect, SubjectKeyOrder, } from \"~/components/MultiSelect/OpenIdSubjectMultiSelect\";\nimport ExternalLink from \"~/components/Navigation/ExternalLink/index\";\nimport Sensitive, { ObfuscatedPlaceholder } from \"~/components/form/Sensitive/Sensitive\";\nimport { ExpandableFormSection, FormSectionHeading, Summary } from \"~/components/form/index\";\nimport Note from \"~/primitiveComponents/form/Note/Note\";\nimport Text from \"~/primitiveComponents/form/Text/Text\";\ntype AWSPlatformHubAccountResources = AmazonWebServicesAccessKeyPlatformHubAccountResource | AmazonWebServicesOidcPlatformHubAccountResource;\ntype AmazonWebServicesPlatformHubAccountTypes = AccountType.AmazonWebServicesAccount | AccountType.AmazonWebServicesOidcAccount;\ninterface AWSAccessKeyAuth {\n accessKey: string;\n secretKey: SensitiveValue;\n}\ninterface AWSOidcAuth {\n roleArn: string;\n sessionDuration: string;\n deploymentSubjectKeys: string[];\n healthSubjectKeys: string[];\n accountTestSubjectKeys: string[];\n}\ninterface AmazonWebServicesPlatformHubAccountModel extends PlatformHubAccountEditModel {\n accountType: AmazonWebServicesPlatformHubAccountTypes;\n authentication: AWSAccessKeyAuth | AWSOidcAuth;\n}\nconst defaultAmazonWebServicesAuth: AWSAccessKeyAuth = {\n accessKey: \"\",\n secretKey: {\n HasValue: false,\n },\n};\nconst defaultAmazonWebServicesOidcAuth: AWSOidcAuth = {\n roleArn: \"\",\n sessionDuration: \"3600\",\n deploymentSubjectKeys: [],\n healthSubjectKeys: [],\n accountTestSubjectKeys: [],\n};\nclass AmazonWebServicesPlatformHubAccountEdit extends PlatformHubAccountEditBase {\n getPartialModel(account?: AWSPlatformHubAccountResources) {\n return getPartialModel(account);\n }\n getPartialResource() {\n return getPartialResource(this.state.model);\n }\n getPageActions() {\n return getPageActions((performTest: boolean) => this.saveAccount(performTest, this.state.accountData === undefined));\n }\n getTestDialog() {\n return getTestDialog(this.state.accountData?.account?.Id, this.state.showTestDialog, (success: boolean) => this.onTestDone(success));\n }\n customExpandableFormSections() {\n return customExpandableFormSections(this.state.accountData === undefined, this.state.model, (state, accountType, model) => this.setState({\n model: {\n ...state,\n accountType: accountType,\n authentication: {\n ...model,\n },\n },\n }), (auth) => this.setState((prev) => ({\n model: {\n ...prev.model,\n authentication: {\n ...prev.model.authentication,\n ...auth,\n },\n },\n })), this.getFieldError);\n }\n}\nfunction getPartialModel(account?: AWSPlatformHubAccountResources): Partial | undefined {\n if (!account) {\n return {\n accountType: AccountType.AmazonWebServicesAccount,\n authentication: cloneDeep(defaultAmazonWebServicesAuth),\n };\n }\n const model = {\n // eslint-disable-next-line @typescript-eslint/consistent-type-assertions\n accountType: account.AccountType as AmazonWebServicesPlatformHubAccountTypes,\n };\n if (account.AccountType === AccountType.AmazonWebServicesAccount) {\n // eslint-disable-next-line @typescript-eslint/consistent-type-assertions\n const awsAccount = account as AmazonWebServicesAccessKeyPlatformHubAccountResource;\n return {\n ...model,\n authentication: {\n accessKey: awsAccount.AccessKey,\n secretKey: awsAccount.SecretKey,\n },\n };\n }\n else if (account.AccountType === AccountType.AmazonWebServicesOidcAccount) {\n // eslint-disable-next-line @typescript-eslint/consistent-type-assertions\n const awsOidcAccount = account as AmazonWebServicesOidcPlatformHubAccountResource;\n return {\n ...model,\n authentication: {\n roleArn: awsOidcAccount.RoleArn,\n sessionDuration: awsOidcAccount.SessionDuration,\n deploymentSubjectKeys: awsOidcAccount.DeploymentSubjectKeys,\n healthSubjectKeys: awsOidcAccount.HealthCheckSubjectKeys,\n accountTestSubjectKeys: awsOidcAccount.AccountTestSubjectKeys,\n },\n };\n }\n}\nfunction isAccessKeyAccount(variable: object): variable is AWSAccessKeyAuth {\n // eslint-disable-next-line @typescript-eslint/consistent-type-assertions\n return (variable as AWSAccessKeyAuth).accessKey !== undefined;\n}\nfunction isOidcAccount(variable: object): variable is AWSOidcAuth {\n // eslint-disable-next-line @typescript-eslint/consistent-type-assertions\n return (variable as AWSOidcAuth).roleArn !== undefined;\n}\nfunction getPartialResource(modelState: AmazonWebServicesPlatformHubAccountModel): (Partial & {\n AccountType: AccountType;\n}) | undefined {\n const resource = {\n AccountType: modelState.accountType,\n };\n if (isAccessKeyAccount(modelState.authentication)) {\n return {\n ...resource,\n AccessKey: modelState.authentication.accessKey,\n SecretKey: modelState.authentication.secretKey,\n };\n }\n return {\n ...resource,\n RoleArn: modelState.authentication.roleArn,\n SessionDuration: modelState.authentication.sessionDuration,\n DeploymentSubjectKeys: modelState.authentication.deploymentSubjectKeys,\n HealthCheckSubjectKeys: modelState.authentication.healthSubjectKeys,\n AccountTestSubjectKeys: modelState.authentication.accountTestSubjectKeys,\n };\n}\nfunction accessKeySummary(accessKey: string) {\n return accessKey ? Summary.summary(accessKey) : Summary.placeholder(\"No access key provided\");\n}\nfunction secretKeySummary(secretKey: SensitiveValue) {\n return secretKey && secretKey.HasValue ? Summary.summary(ObfuscatedPlaceholder) : Summary.placeholder(\"No secret key provided\");\n}\nfunction roleArnSummary(roleArn: string) {\n return roleArn ? Summary.summary(roleArn) : Summary.placeholder(\"No RoleArn provided\");\n}\nfunction sessionDurationSummary(sessionDuration: string) {\n return sessionDuration ? Summary.summary(sessionDuration) : Summary.placeholder(\"The default session duration is not being overridden\");\n}\nfunction authenticationMethodSummary(accountType?: AmazonWebServicesPlatformHubAccountTypes) {\n return accountType === null\n ? Summary.placeholder(\"Select the Amazon Web Services authentication method\")\n : accountType === AccountType.AmazonWebServicesAccount\n ? Summary.summary(Use an Access Key)\n : Summary.summary(Use OpenID Connect);\n}\nfunction getPageActions(handleSaveClick: (performTest: boolean) => void): PageAction[] {\n return [{ type: \"button\", buttonType: \"secondary\", onClick: () => handleSaveClick(true), label: \"Save and test\" }];\n}\nfunction getTestDialog(accountId: string | undefined, showTestDialog: boolean, onOkClick: (success: boolean) => void): React.ReactNode {\n return (accountId !== undefined && (\n \n ));\n}\nfunction customExpandableFormSections(isNew: boolean, modelState: AmazonWebServicesPlatformHubAccountModel, onAuthenticationMethodChange: (state: AmazonWebServicesPlatformHubAccountModel, accType: AmazonWebServicesPlatformHubAccountTypes, auth: AWSAccessKeyAuth | AWSOidcAuth) => void, onAuthenticationChange: (newState: Pick) => void, getFieldError: (field: string) => string): React.ReactElement[] {\n const baseElements: React.ReactElement[] = [];\n const sectionHeading = isNew ? \"Amazon Web Services Details\" : modelState.accountType === AccountType.AmazonWebServicesAccount ? \"Access Key Details\" : \"OIDC Details\";\n baseElements.push();\n if (isNew) {\n baseElements.push(\n {\n const model = x === AccountType.AmazonWebServicesAccount ? cloneDeep(defaultAmazonWebServicesAuth) : cloneDeep(defaultAmazonWebServicesOidcAuth);\n // eslint-disable-next-line @typescript-eslint/consistent-type-assertions\n onAuthenticationMethodChange(modelState, x as AmazonWebServicesPlatformHubAccountTypes, model);\n }}>\n \n \n \n );\n }\n if (isAccessKeyAccount(modelState.authentication)) {\n baseElements.push(accessKeyExpandableFormSection(modelState.authentication, onAuthenticationChange, getFieldError));\n }\n if (isOidcAccount(modelState.authentication)) {\n baseElements.push(oidcExpandableFormSection(modelState.authentication, onAuthenticationChange, getFieldError));\n }\n return baseElements;\n}\nfunction accessKeyExpandableFormSection(model: AWSAccessKeyAuth, setAccessKeyAuth: (newState: Pick) => void, getFieldError: (field: string) => string): React.ReactElement {\n return (
    \n \n setAccessKeyAuth({ accessKey })} label=\"Access Key\" error={getFieldError(\"AccessKey\")}/>\n \n Refer to the AWS documentation for information on generating access and secret keys.\n \n \n \n setAccessKeyAuth({ secretKey })} label=\"Secret Key\" error={getFieldError(\"SecretKey\")}/>\n \n
    );\n}\nfunction oidcExpandableFormSection(model: AWSOidcAuth, setOidcAuth: (newState: Pick) => void, getFieldError: (field: string) => string): React.ReactElement {\n return (
    \n \n The OpenID Connect feature is still in development. We'd love to hear your feedback.\n \n \n setOidcAuth({ roleArn })} label=\"Role ARN\" error={getFieldError(\"RoleArn\")}/>\n \n \n setOidcAuth({ sessionDuration })} label=\"Session Duration\" error={getFieldError(\"SessionDuration\")}/>\n \n The value can range from 900 seconds (15 minutes) up to the maximum session duration setting for the role. This setting can have a value from 1 hour to 12 hours. If you specify a value higher than this setting, the operation\n fails.\n \n \n \n \n setOidcAuth({ deploymentSubjectKeys: v })} value={model.deploymentSubjectKeys} subjectKeys={AvailableExecutionSubjectKeys}/>\n \n Subject claim formats:\n
    \n Deployment: {generateSampleSubject(model.deploymentSubjectKeys, DefaultDeploymentSubjectKeys, \"deployment\", AvailableDeploymentSubjectKeys)}\n
    \n Runbook: {generateSampleSubject(model.deploymentSubjectKeys, DefaultDeploymentSubjectKeys, \"runbook\", AvailableRunbookSubjectKeys)}\n
    \n If no keys are specified, the subject claim will default to: {DefaultDeploymentSubjectKeys.join(\", \")}. Any keys not selected will not be included in the subject claim.\n
    \n
    \n \n setOidcAuth({ healthSubjectKeys: v })} value={model.healthSubjectKeys} subjectKeys={AvailableHealthCheckSubjectKeys}/>\n \n Subject claim format: \n {generateSampleSubject(model.healthSubjectKeys, DefaultHealthCheckSubjectKeys, \"health\", AvailableHealthCheckSubjectKeys)}\n
    \n If no keys are specified, the subject claim will default to: {DefaultHealthCheckSubjectKeys.join(\", \")}. Any keys not selected will not be included in the subject claim.\n
    \n
    \n \n setOidcAuth({ accountTestSubjectKeys: v })} value={model.accountTestSubjectKeys} subjectKeys={AvailableAccountTestSubjectKeys}/>\n \n Subject claim format: \n {generateSampleSubject(model.accountTestSubjectKeys, DefaultAccountTestSubjectKeys, \"test\", AvailableAccountTestSubjectKeys)}\n
    \n If no keys are specified, the subject claim will default to: {DefaultAccountTestSubjectKeys.join(\", \")}. Any keys not selected will not be included in the subject claim.\n
    \n
    \n
    );\n}\nconst SaveAndTestAmazonWebServicesPlatformHubAccountDialog: React.SFC = ({ accountId, onOkClick }) => {\n return repository.Tasks.createTestAwsPlatformHubAccountTask(accId)}/>;\n};\nSaveAndTestAmazonWebServicesPlatformHubAccountDialog.displayName = \"SaveAndTestAmazonWebServicesPlatformHubAccountDialog\"\nfunction subjectKeySummary(subjectKeys: string[]) {\n if (subjectKeys && subjectKeys.length > 0) {\n return Summary.summary(subjectKeyChipList(subjectKeys));\n }\n else {\n return Summary.summary(\"Using default subject keys\");\n }\n}\nfunction generateSampleSubject(requestedKeys: string[], defaultKeys: string[], type: string, possibleItems: ReferenceDataItem[]): string {\n const possibleKeys = possibleItems.map((k) => k.Id);\n const keys: string[] = requestedKeys && requestedKeys.length > 0 ? requestedKeys : defaultKeys;\n return keys\n .filter((k) => possibleKeys.indexOf(k) > -1)\n .sort((a, b) => SubjectKeyOrder.indexOf(a) - SubjectKeyOrder.indexOf(b))\n .map((k) => (k === \"type\" ? `type:${type}` : `${k}:[${k}-slug]`))\n .join(\":\");\n}\nexport default AmazonWebServicesPlatformHubAccountEdit;\n","/* eslint-disable @typescript-eslint/consistent-type-assertions */\nimport type { PageAction } from \"@octopusdeploy/design-system-components\";\nimport { Callout, Checkbox, RadioButton, RadioButtonGroup } from \"@octopusdeploy/design-system-components\";\nimport type { AzureEnvironment, AzureServicePrincipalPlatformHubAccountResource, AzureSubscriptionPlatformHubAccountResource, AzureOidcAccountPlatformHubResource, SensitiveValue, ReferenceDataItem } from \"@octopusdeploy/octopus-server-client\";\nimport { AccountType } from \"@octopusdeploy/octopus-server-client\";\nimport { cloneDeep } from \"lodash\";\nimport React from \"react\";\nimport type { PlatformHubAccountEditModel } from \"~/areas/blueprints/accounts/PlatformHubAccountEditBase\";\nimport PlatformHubAccountEditBase from \"~/areas/blueprints/accounts/PlatformHubAccountEditBase\";\nimport type { SaveAndTestAccountProps } from \"~/areas/infrastructure/components/AccountEdit/SaveAndTestAccountDialog\";\nimport SaveAndTestAccountDialog from \"~/areas/infrastructure/components/AccountEdit/SaveAndTestAccountDialog\";\nimport styles from \"~/areas/infrastructure/components/AccountEdit/style.module.less\";\nimport { client, repository } from \"~/clientInstance\";\nimport { subjectKeyChipList } from \"~/components/Chips/index\";\nimport Dialog from \"~/components/Dialog/Dialog\";\nimport { AvailableAccountTestSubjectKeys, AvailableDeploymentSubjectKeys, AvailableExecutionSubjectKeys, AvailableHealthCheckSubjectKeys, AvailableRunbookSubjectKeys, DefaultAccountTestSubjectKeys, DefaultDeploymentSubjectKeys, DefaultHealthCheckSubjectKeys, OpenIdSubjectMultiSelect, SubjectKeyOrder, } from \"~/components/MultiSelect/OpenIdSubjectMultiSelect\";\nimport ExternalLink from \"~/components/Navigation/ExternalLink/index\";\nimport Sensitive, { ObfuscatedPlaceholder } from \"~/components/form/Sensitive/Sensitive\";\nimport SensitiveFileUpload from \"~/components/form/SensitiveFileUpload/SensitiveFileUpload\";\nimport { ExpandableFormSection, FormSectionHeading, Note, Select, Summary } from \"~/components/form/index\";\nimport type { Item } from \"~/primitiveComponents/form/Select/Select\";\nimport Text from \"~/primitiveComponents/form/Text/Text\";\ninterface PlatformHubServicePrincipalAuth {\n clientId: string;\n tenantId: string;\n password: SensitiveValue;\n resourceManagementBaseUri: string;\n activeDirectoryBaseUri: string;\n}\ninterface PlatformHubManagementCertAuth {\n certificateBytes: SensitiveValue; // optional cannot send null to API\n certificateThumbprint: string;\n serviceManagementBaseUri: string;\n serviceManagementEndpointSuffix: string;\n}\ninterface PlatformHubAzureOidcAuth {\n clientId: string;\n tenantId: string;\n resourceManagementBaseUri: string;\n activeDirectoryBaseUri: string;\n deploymentSubjectKeys: string[];\n healthSubjectKeys: string[];\n accountTestSubjectKeys: string[];\n audience: string;\n}\ninterface AzurePlatformHubModel extends PlatformHubAccountEditModel {\n subscriptionNumber: string;\n azureEnvironment: string;\n usingAzureEnvironment: boolean;\n accountType: AzurePlatformHubAccountTypes;\n authentication: PlatformHubServicePrincipalAuth | PlatformHubManagementCertAuth | PlatformHubAzureOidcAuth;\n}\ninterface PlatformHubExpandableFormSectionChanges {\n subscriptionId: (value: string) => void;\n accountType: (value: string) => void;\n azureEnvironmentCheckbox: (value: boolean) => void;\n azureEnvironmentFields: (value: string | undefined) => void;\n}\ninterface SPAndOidcExpandableFormSectionChanges {\n tenantId: (value: string) => void;\n clientId: (value: string) => void;\n deploymentSubjectKeys: (value: string[]) => void;\n healthSubjectKeys: (value: string[]) => void;\n accountTestSubjectKeys: (value: string[]) => void;\n audience: (value: string) => void;\n password: (value: SensitiveValue) => void;\n}\ninterface CertExpandableEnvFormSectionsOnChange {\n serviceManagementBaseUri: (value: string) => void;\n serviceManagementEndpointSuffix: (value: string) => void;\n}\ninterface AAdAndRMExpandableEnvFormSecOnChange {\n activeDirectoryBaseUri: (value: string) => void;\n resourceManagementBaseUri: (value: string) => void;\n}\ninterface CertExpandableFormSectionsOnChange {\n certificateBytes: (value: SensitiveValue) => void;\n}\nconst defaultServicePrincipal: PlatformHubServicePrincipalAuth = {\n password: {\n HasValue: false,\n },\n clientId: \"\",\n tenantId: \"\",\n activeDirectoryBaseUri: \"\",\n resourceManagementBaseUri: \"\",\n};\nconst defaultAzureOidc: PlatformHubAzureOidcAuth = {\n clientId: \"\",\n tenantId: \"\",\n activeDirectoryBaseUri: \"\",\n resourceManagementBaseUri: \"\",\n deploymentSubjectKeys: [],\n healthSubjectKeys: [],\n accountTestSubjectKeys: [],\n audience: \"api://AzureADTokenExchange\",\n};\nconst defaultManagementCertificate: PlatformHubManagementCertAuth = {\n certificateBytes: {\n HasValue: false,\n },\n certificateThumbprint: \"\",\n serviceManagementBaseUri: \"\",\n serviceManagementEndpointSuffix: \"\",\n};\ntype AzurePlatformHubAccountTypes = AccountType.AzureSubscription | AccountType.AzureServicePrincipal | AccountType.AzureOidc;\ntype AzurePlatformHubAccountResources = AzureServicePrincipalPlatformHubAccountResource | AzureSubscriptionPlatformHubAccountResource | AzureOidcAccountPlatformHubResource;\nclass AzurePlatformHubAccountEdit extends PlatformHubAccountEditBase {\n getPartialModel(account?: AzurePlatformHubAccountResources) {\n return getPartialModel(account);\n }\n getPartialResource() {\n return getPartialResource(this.state.model);\n }\n getPageActions() {\n return getPageActions(() => this.saveAccount(true, this.state.accountData === undefined));\n }\n getTestDialog() {\n return getTestDialog(this.state.accountData?.account?.Id, this.state.showTestDialog, (success: boolean) => this.onTestDone(success));\n }\n customExpandableFormSections() {\n return customExpandableFormSections(this.state.model, this.state.accountData === undefined, this.props.azureEnvironments, undefined, // TODO: There is no GetAccountCertificateController for platform hub accounts\n new AzurePlatformHubAccountChangeHandlers(this.props.azureEnvironments, this.state.model, (state, callback) => this.setModelState(state, callback)).getOnChangeHandlers(), this.getFieldError);\n }\n}\ntype FormOnChange = PlatformHubExpandableFormSectionChanges & SPAndOidcExpandableFormSectionChanges & CertExpandableEnvFormSectionsOnChange & AAdAndRMExpandableEnvFormSecOnChange & CertExpandableFormSectionsOnChange;\nclass AzurePlatformHubAccountChangeHandlers {\n constructor(private readonly azureEnvironments: AzureEnvironment[], private readonly modelState: AzurePlatformHubModel, private readonly setModelState: (state: Pick, callback?: () => void) => void) { }\n setManagementCertAuth(state: Pick) {\n this.setModelState({\n ...this.modelState,\n authentication: {\n ...this.modelState.authentication,\n ...state,\n },\n });\n }\n setServicePrincipalAuth(state: Pick) {\n this.setModelState({\n ...this.modelState,\n authentication: {\n ...this.modelState.authentication,\n ...state,\n },\n });\n }\n setOidcAuth(state: Pick) {\n this.setModelState({\n ...this.modelState,\n authentication: {\n ...this.modelState.authentication,\n ...state,\n },\n });\n }\n setAzureEnvironmentCheckbox(v: boolean) {\n const updatedModelState = { ...this.modelState, usingAzureEnvironment: v };\n if (v === false) {\n updatedModelState.azureEnvironment = \"\";\n updatedModelState.authentication = {\n ...updatedModelState.authentication,\n serviceManagementEndpointSuffix: \"\",\n serviceManagementBaseUri: \"\",\n activeDirectoryBaseUri: \"\",\n resourceManagementBaseUri: \"\",\n };\n }\n this.setModelState(updatedModelState);\n }\n clearAzureEnvironmentFields() {\n const updatedModelState = { ...this.modelState, azureEnvironment: \"\" };\n if (isManagementCertificateAccount(updatedModelState.authentication)) {\n updatedModelState.authentication = {\n ...updatedModelState.authentication,\n serviceManagementEndpointSuffix: \"\",\n serviceManagementBaseUri: \"\",\n };\n }\n if (isServicePrincipalAccount(updatedModelState.authentication) || isOidcAccount(updatedModelState.authentication)) {\n updatedModelState.authentication = {\n ...updatedModelState.authentication,\n activeDirectoryBaseUri: \"\",\n resourceManagementBaseUri: \"\",\n };\n }\n this.setModelState(updatedModelState);\n }\n setAzureEnvironmentFields(environmentName: string | undefined) {\n if (!environmentName) {\n this.clearAzureEnvironmentFields();\n }\n else {\n const environment = this.azureEnvironments.find((x) => x.Name === environmentName);\n const updatedModelState = { ...this.modelState, azureEnvironment: environmentName };\n if (!environment) {\n return;\n }\n if (isServicePrincipalAccount(this.modelState.authentication) || isOidcAccount(this.modelState.authentication)) {\n updatedModelState.authentication = {\n ...updatedModelState.authentication,\n activeDirectoryBaseUri: environment.AuthenticationEndpoint,\n resourceManagementBaseUri: environment.ResourceManagerEndpoint,\n };\n }\n if (isManagementCertificateAccount(this.modelState.authentication)) {\n updatedModelState.authentication = {\n ...updatedModelState.authentication,\n serviceManagementEndpointSuffix: environment.StorageEndpointSuffix,\n serviceManagementBaseUri: environment.ManagementEndpoint,\n };\n }\n this.setModelState({ ...updatedModelState });\n }\n }\n getOnChangeHandlers(): FormOnChange {\n return {\n subscriptionId: (subscriptionNumber) => this.setModelState({ ...this.modelState, subscriptionNumber }),\n accountType: (x) => {\n const model = x === AccountType.AzureServicePrincipal ? cloneDeep(defaultServicePrincipal) : x === AccountType.AzureOidc ? cloneDeep(defaultAzureOidc) : cloneDeep(defaultManagementCertificate);\n this.setModelState({\n ...this.modelState,\n accountType: x as AzurePlatformHubAccountTypes,\n authentication: {\n ...model,\n },\n });\n },\n azureEnvironmentCheckbox: (v) => this.setAzureEnvironmentCheckbox(v),\n azureEnvironmentFields: (v) => this.setAzureEnvironmentFields(v),\n tenantId: (value) => (isServicePrincipalAccount(this.modelState.authentication) ? this.setServicePrincipalAuth({ tenantId: value }) : this.setOidcAuth({ tenantId: value })),\n clientId: (value) => (isServicePrincipalAccount(this.modelState.authentication) ? this.setServicePrincipalAuth({ clientId: value }) : this.setOidcAuth({ clientId: value })),\n deploymentSubjectKeys: (v: string[]) => this.setOidcAuth({ deploymentSubjectKeys: v }),\n healthSubjectKeys: (v: string[]) => this.setOidcAuth({ healthSubjectKeys: v }),\n accountTestSubjectKeys: (v: string[]) => this.setOidcAuth({ accountTestSubjectKeys: v }),\n audience: (value) => this.setOidcAuth({ audience: value }),\n password: (value) => this.setServicePrincipalAuth({ password: value }),\n certificateBytes: (value) => this.setManagementCertAuth({ certificateBytes: value }),\n activeDirectoryBaseUri: (value) => this.setServicePrincipalAuth({ activeDirectoryBaseUri: value }),\n serviceManagementBaseUri: (value) => this.setManagementCertAuth({ serviceManagementBaseUri: value }),\n resourceManagementBaseUri: (value) => this.setServicePrincipalAuth({ resourceManagementBaseUri: value }),\n serviceManagementEndpointSuffix: (value) => this.setManagementCertAuth({ serviceManagementEndpointSuffix: value }),\n };\n }\n}\nfunction getPartialModel(account?: AzurePlatformHubAccountResources): Partial | undefined {\n if (!account) {\n return {\n accountType: AccountType.AzureServicePrincipal,\n authentication: cloneDeep(defaultServicePrincipal),\n azureEnvironment: \"\",\n };\n }\n const model = {\n accountType: account.AccountType as AzurePlatformHubAccountTypes,\n subscriptionNumber: account.SubscriptionNumber,\n azureEnvironment: account.AzureEnvironment,\n };\n if (account.AccountType === AccountType.AzureServicePrincipal) {\n const spAccount = account as AzureServicePrincipalPlatformHubAccountResource;\n const usingAzureEnvironment = !!account.AzureEnvironment || !!spAccount.ActiveDirectoryEndpointBaseUri || !!spAccount.ResourceManagementEndpointBaseUri;\n return {\n ...model,\n usingAzureEnvironment,\n authentication: {\n password: spAccount.Password,\n tenantId: spAccount.TenantId,\n clientId: spAccount.ClientId,\n activeDirectoryBaseUri: spAccount.ActiveDirectoryEndpointBaseUri,\n resourceManagementBaseUri: spAccount.ResourceManagementEndpointBaseUri,\n },\n };\n }\n else if (account.AccountType === AccountType.AzureOidc) {\n const oidcAccount = account as AzureOidcAccountPlatformHubResource;\n const usingAzureEnvironment = !!account.AzureEnvironment || !!oidcAccount.ActiveDirectoryEndpointBaseUri || !!oidcAccount.ResourceManagementEndpointBaseUri;\n return {\n ...model,\n usingAzureEnvironment,\n authentication: {\n tenantId: oidcAccount.TenantId,\n clientId: oidcAccount.ClientId,\n activeDirectoryBaseUri: oidcAccount.ActiveDirectoryEndpointBaseUri,\n resourceManagementBaseUri: oidcAccount.ResourceManagementEndpointBaseUri,\n deploymentSubjectKeys: oidcAccount.DeploymentSubjectKeys,\n healthSubjectKeys: oidcAccount.HealthCheckSubjectKeys,\n accountTestSubjectKeys: oidcAccount.AccountTestSubjectKeys,\n audience: oidcAccount.Audience,\n },\n };\n }\n else if (account.AccountType === AccountType.AzureSubscription) {\n const mgtCertAccount = account as AzureSubscriptionPlatformHubAccountResource;\n const usingAzureEnvironment = !!account.AzureEnvironment || !!mgtCertAccount.ServiceManagementEndpointBaseUri || !!mgtCertAccount.ServiceManagementEndpointSuffix;\n return {\n ...model,\n usingAzureEnvironment,\n authentication: {\n certificateBytes: mgtCertAccount.CertificateBytes,\n certificateThumbprint: mgtCertAccount.CertificateThumbprint,\n serviceManagementBaseUri: mgtCertAccount.ServiceManagementEndpointBaseUri,\n serviceManagementEndpointSuffix: mgtCertAccount.ServiceManagementEndpointSuffix,\n },\n };\n }\n}\nfunction isManagementCertificateAccount(variable: object): variable is PlatformHubManagementCertAuth {\n return (variable as PlatformHubManagementCertAuth).certificateThumbprint !== undefined;\n}\nfunction isServicePrincipalAccount(variable: object): variable is PlatformHubServicePrincipalAuth {\n return (variable as PlatformHubServicePrincipalAuth).password !== undefined;\n}\nfunction isOidcAccount(variable: object): variable is PlatformHubAzureOidcAuth {\n return (variable as PlatformHubAzureOidcAuth).clientId !== undefined && \"password\" in variable === false;\n}\nfunction getPartialResource(modelState: AzurePlatformHubModel): (Partial & {\n AccountType: AccountType;\n}) | undefined {\n const resource = {\n AccountType: modelState.accountType,\n AzureEnvironment: modelState.azureEnvironment,\n SubscriptionNumber: modelState.subscriptionNumber,\n };\n if (isManagementCertificateAccount(modelState.authentication)) {\n return {\n ...resource,\n CertificateBytes: modelState.authentication.certificateBytes,\n ServiceManagementEndpointBaseUri: modelState.authentication.serviceManagementBaseUri,\n ServiceManagementEndpointSuffix: modelState.authentication.serviceManagementEndpointSuffix,\n };\n }\n else if (isServicePrincipalAccount(modelState.authentication)) {\n return {\n ...resource,\n Password: modelState.authentication.password,\n TenantId: modelState.authentication.tenantId,\n ClientId: modelState.authentication.clientId,\n ActiveDirectoryEndpointBaseUri: modelState.authentication.activeDirectoryBaseUri,\n ResourceManagementEndpointBaseUri: modelState.authentication.resourceManagementBaseUri,\n };\n }\n else {\n return {\n ...resource,\n TenantId: modelState.authentication.tenantId,\n ClientId: modelState.authentication.clientId,\n Audience: modelState.authentication.audience,\n ActiveDirectoryEndpointBaseUri: modelState.authentication.activeDirectoryBaseUri,\n ResourceManagementEndpointBaseUri: modelState.authentication.resourceManagementBaseUri,\n DeploymentSubjectKeys: modelState.authentication.deploymentSubjectKeys,\n HealthCheckSubjectKeys: modelState.authentication.healthSubjectKeys,\n AccountTestSubjectKeys: modelState.authentication.accountTestSubjectKeys,\n };\n }\n}\nfunction subscriptionSummary(modelState: AzurePlatformHubModel) {\n return modelState.subscriptionNumber ? Summary.summary(modelState.subscriptionNumber) : Summary.placeholder(\"No subscription provided\");\n}\nfunction clientIdSummary(model: PlatformHubServicePrincipalAuth | PlatformHubAzureOidcAuth) {\n return model.clientId ? Summary.summary(model.clientId) : Summary.placeholder(\"No client\\\\application ID provided\");\n}\nfunction tenantIdSummary(model: PlatformHubServicePrincipalAuth | PlatformHubAzureOidcAuth) {\n return model.tenantId ? Summary.summary(model.tenantId) : Summary.placeholder(\"No tenant ID provided\");\n}\nfunction audienceSummary(model: PlatformHubAzureOidcAuth) {\n return model.audience ? Summary.summary(model.audience) : Summary.placeholder(\"Federated Identity audience\");\n}\nfunction passwordSummary(model: PlatformHubServicePrincipalAuth) {\n return model.password && model.password.HasValue ? Summary.summary(ObfuscatedPlaceholder) : Summary.placeholder(\"No password provided\");\n}\nfunction resourceManagementUriSummary(model: PlatformHubServicePrincipalAuth | PlatformHubAzureOidcAuth) {\n return model.resourceManagementBaseUri ? Summary.summary(model.resourceManagementBaseUri) : Summary.placeholder(\"The default endpoint is not being overridden\");\n}\nfunction activeDirectoryUriSummary(model: PlatformHubServicePrincipalAuth | PlatformHubAzureOidcAuth) {\n return model.activeDirectoryBaseUri ? Summary.summary(model.activeDirectoryBaseUri) : Summary.placeholder(\"The default endpoint is not being overridden\");\n}\nfunction serviceManagementUriSummary(model: PlatformHubManagementCertAuth) {\n return model.serviceManagementBaseUri ? Summary.summary(model.serviceManagementBaseUri) : Summary.placeholder(\"The default base URI is not being overridden\");\n}\nfunction serviceManagementEndpointSuffixSummary(model: PlatformHubManagementCertAuth) {\n return model.serviceManagementEndpointSuffix ? Summary.summary(model.serviceManagementEndpointSuffix) : Summary.placeholder(\"The default endpoint suffix is not being overridden\");\n}\nfunction managementCertificateSummary(model: PlatformHubManagementCertAuth) {\n if (!model.certificateBytes) {\n return Summary.placeholder(\"No certificate provided\");\n }\n if (!model.certificateBytes.HasValue) {\n return Summary.placeholder(\"No certificate provided\");\n }\n if (!model.certificateBytes.NewValue) {\n return Summary.summary(model.certificateThumbprint);\n }\n return Summary.summary(\"New certificate selected to be uploaded\");\n}\nfunction subjectKeySummary(subjectKeys: string[]) {\n if (subjectKeys && subjectKeys.length > 0) {\n return Summary.summary(subjectKeyChipList(subjectKeys));\n }\n else {\n return Summary.summary(\"Using default subject keys\");\n }\n}\nfunction azureEnvironmentCheckboxSummary(modelState: AzurePlatformHubModel) {\n return modelState.azureEnvironment !== \"\"\n ? Summary.summary(\n Selected the {modelState.azureEnvironment} Azure Environment\n )\n : Summary.placeholder(\n Using the default AzureCloud Environment\n );\n}\nfunction resourceManagementUriLabel(modelState: AzurePlatformHubModel) {\n return modelState.azureEnvironment === \"\" ? \"Select an Azure Environment to be able to edit this field\" : \"Resource Management Endpoint Base Uri\";\n}\nfunction authenticationMethodSummary(modelState: AzurePlatformHubModel) {\n return modelState.accountType === null\n ? Summary.placeholder(\"Select the Azure authentication method\")\n : modelState.accountType === AccountType.AzureServicePrincipal\n ? Summary.summary(Use a Service Principal)\n : isOidcAccount(modelState.authentication)\n ? Summary.summary(Use OpenID Connect)\n : Summary.summary(Use a Management Certificate);\n}\nfunction activeDirectoryURILabel(modelState: AzurePlatformHubModel) {\n return modelState.azureEnvironment === \"\" ? \"Select an Azure Environment to be able to edit this field\" : \"Active Directory Endpoint Base Uri\";\n}\nfunction serviceManagementBaseUriLabel(modelState: AzurePlatformHubModel) {\n return modelState.azureEnvironment === \"\" ? \"Select an Azure Environment to be able to edit this field\" : \"Service Management Endpoint Base Uri\";\n}\nfunction serviceManagementEndpointSuffixLabel(modelState: AzurePlatformHubModel) {\n return modelState.azureEnvironment === \"\" ? \"Select an Azure Environment to be able to edit this field\" : \"Service Management Endpoint Suffix\";\n}\nfunction getPageActions(onClick: () => void): PageAction[] {\n return [{ type: \"button\", buttonType: \"secondary\", onClick, label: \"Save and test\" }];\n}\nfunction getTestDialog(accountId: string | undefined, showTestDialog: boolean, onOkClick: (success: boolean) => void): React.ReactNode {\n return (accountId && (\n \n ));\n}\nfunction customExpandableFormSections(modelState: AzurePlatformHubModel, isNew: boolean, azureEnvironments: AzureEnvironment[], publicKey: string | undefined, onChange: FormOnChange, getFieldError: (field: string) => string): React.ReactElement[] {\n const baseElements: React.ReactElement[] = [];\n const sectionHeading = isNew ? \"Azure Details\" : getAccountDescription(modelState);\n baseElements.push(, \n \n );\n if (isNew) {\n baseElements.push(\n \n \n \n \n \n );\n }\n if (isServicePrincipalAccount(modelState.authentication) || isOidcAccount(modelState.authentication)) {\n baseElements.push(servicePrincipalAndOidcExpandableFormSections(modelState.authentication, modelState, onChange, getFieldError));\n }\n if (isManagementCertificateAccount(modelState.authentication)) {\n baseElements.push(managementCertificateExpandableFormSections(modelState.authentication, publicKey, onChange));\n }\n baseElements.push(, \n Check this box only if you are using an isolated Azure Environment. Learn more about them here.\n } containerKey=\"AccountEdit\">\n \n {modelState.usingAzureEnvironment && (
    \n this.setState({ openTelemetryProtocol: openTelemetryProtocol as OtlpProtocol })} items={[\n { text: \"HTTP/protobuf\", value: OtlpProtocol.HttpProtobuf },\n { text: \"gRPC\", value: OtlpProtocol.Grpc },\n ]} label=\"OTLP Protocol\"/>\n this.setState({ openTelemetrySecret })} label={\"Secret\"} helperText={<>\n Authentication token to be replaced using the #{Secret} placeholder token in the endpoint url or header values.\n }/>\n keys(this.state.openTelemetryHeaders).map((key) => ({ key, value: this.state.openTelemetryHeaders[key] }))} separator=\"=\" name=\"Header\" onChange={(kvps) => {\n this.setState({\n openTelemetryHeaders: mapValues(keyBy(kvps, (kvp) => kvp.key), (v) => v.value),\n });\n }} keyLabel=\"Header\" valueLabel=\"Value\" hideBindOnKey={true} hideBindOnValue={true}/>\n this.setState({ description })}/>\n
    )}\n {this.state.activeCategory === AuditStreamType.Splunk && (
    \n \n Your Splunk HTTP Collector Endpoint. E.g. https://mysplunkserver.example.com\n } label={\"Splunk Endpoint URL\"} value={this.state.splunkEndpoint} onChange={(splunkEndpoint) => this.setState({ splunkEndpoint })}/>\n this.setState({ splunkToken })} label={\"Token\"} helperText={\"Authentication token to send data to the event collector.\"}/>\n this.setState({ description })}/>\n
    )}\n {this.state.activeCategory === AuditStreamType.SumoLogic && (
    \n \n Your Sumo Logic HTTP Collector Endpoint. E.g. https://collectors.sumologic.com/receiver/...\n } label={\"Sumo Logic Endpoint URL\"} value={this.state.sumoLogicEndpoint} onChange={(sumoLogicEndpointUrl) => this.setState({ sumoLogicEndpoint: sumoLogicEndpointUrl })}/>\n this.setState({ description })}/>\n
    )}\n );\n }\n selectCategory(category: AuditStreamType) {\n this.clearErrors();\n // If the already selected category has been selected again, we should de-select it instead\n const newCategory = this.state.activeCategory === category ? null : category;\n this.setState({\n activeCategory: newCategory,\n description: \"\",\n splunkEndpoint: \"\",\n splunkToken: null!,\n sumoLogicEndpoint: null!,\n });\n }\n static displayName = \"EditAuditStreamDialogLayoutInternal\";\n}\nconst EditAuditStreamDialogLayout: React.FC = (props) => {\n const trackAction = useAnalyticTrackedActionDispatch();\n return ;\n};\nEditAuditStreamDialogLayout.displayName = \"EditAuditStreamDialogLayout\"\nexport default EditAuditStreamDialogLayout;\n","import type { AuditStreamConfigurationResource } from \"@octopusdeploy/octopus-server-client\";\nimport * as React from \"react\";\nimport EditAuditStreamDialogLayout from \"~/areas/configuration/components/AuditLayout/AuditStream/EditAuditStreamDialogLayout\";\nimport newStreamImage from \"~/areas/configuration/components/AuditLayout/assets/img-newstream.svg\";\nimport ExternalLink from \"~/components/Navigation/ExternalLink/index\";\nimport OnboardingDialog from \"~/components/OnboardingDialog/OnboardingDialog\";\nexport interface EditAuditStreamDialogProps {\n open: boolean;\n close: () => void;\n auditStreamConfiguration: AuditStreamConfigurationResource;\n onUpdate: (value: AuditStreamConfigurationResource, message: string) => void;\n}\nexport function EditAuditStreamDialog({ open, close, auditStreamConfiguration, onUpdate }: EditAuditStreamDialogProps) {\n const helpPanelContent = (<>\n

    \n Audit streaming lets you stream audit and Octopus events data from Octopus to an external management system\n

    \n

    \n See the Audit Stream documentation for more configuration details.\n

    \n );\n return (\n \n );\n}\n","/* eslint-disable @typescript-eslint/no-non-null-assertion */\nimport { Callout } from \"@octopusdeploy/design-system-components\";\nimport type { AuditStreamConfigurationResource } from \"@octopusdeploy/octopus-server-client\";\nimport { capitalize } from \"lodash\";\nimport * as React from \"react\";\nimport type { ActionEvent, AnalyticTrackedActionDispatcher } from \"~/analytics/Analytics\";\nimport { Action, useAnalyticTrackedActionDispatch } from \"~/analytics/Analytics\";\nimport { GreenTickIcon } from \"~/areas/configuration/components/AuditLayout/AuditStream/GreenTickIcon\";\nimport { PauseIcon } from \"~/areas/configuration/components/AuditLayout/AuditStream/PauseIcon\";\nimport { getAuditStreamType, createNewAuditStreamConfiguration } from \"~/areas/configuration/components/AuditLayout/AuditStream/utils\";\nimport { repository } from \"~/clientInstance\";\nimport { DataBaseComponent } from \"~/components/DataBaseComponent/index\";\nimport Dialog from \"~/components/Dialog/Dialog\";\nimport SaveDialogLayout from \"~/components/DialogLayout/SaveDialogLayout\";\nimport type { OctopusTheme } from \"~/components/Theme/index\";\nimport { useOctopusTheme } from \"~/components/Theme/index\";\ninterface PauseAuditStreamDialogInternalProps {\n open: boolean;\n close: () => void;\n auditStreamConfiguration: AuditStreamConfigurationResource;\n onUpdate: (value: AuditStreamConfigurationResource, message: string) => void;\n theme: OctopusTheme;\n trackAction: AnalyticTrackedActionDispatcher;\n}\nclass PauseAuditStreamDialogInternal extends DataBaseComponent {\n constructor(props: PauseAuditStreamDialogInternalProps) {\n super(props);\n this.state = {};\n }\n async handlePauseOrResume() {\n const { onUpdate, trackAction, close } = this.props;\n const action = this.pauseOrResume();\n const auditStreamType = getAuditStreamType(this.props.auditStreamConfiguration.StreamConfigurationResource!);\n const auditStreamConfiguration = this.props.auditStreamConfiguration;\n const newAuditStreamConfiguration = createNewAuditStreamConfiguration(auditStreamConfiguration.Id, !auditStreamConfiguration.Active, auditStreamConfiguration.Description, auditStreamConfiguration.StreamConfigurationResource, auditStreamConfiguration.Links);\n await this.doBusyTask(async () => {\n const ev: ActionEvent = {\n action: action === \"pause\" ? Action.Pause : Action.Resume,\n resource: \"Audit Stream\",\n };\n const actionName = action ? \"Pause Audit Stream\" : \"Resume Audit Stream\";\n await trackAction(actionName, ev, async () => {\n await repository.AuditStreamConfiguration.modify(newAuditStreamConfiguration);\n onUpdate({ ...newAuditStreamConfiguration }, `${auditStreamType} streaming is ${action}d`);\n close();\n return true;\n });\n });\n return false;\n }\n pauseOrResume() {\n return this.props.auditStreamConfiguration.Active ? \"pause\" : \"resume\";\n }\n cancel() {\n this.props.close();\n return true;\n }\n render() {\n const { auditStreamConfiguration, open, theme } = this.props;\n const action = this.pauseOrResume();\n const auditStreamType = getAuditStreamType(auditStreamConfiguration.StreamConfigurationResource!);\n return (\n this.handlePauseOrResume()} saveButtonLabel={`${capitalize(action)} Stream`} onCancelClick={() => this.cancel()} busyButtonLabel={action === \"pause\" ? \"Pausing...\" : \"Resuming...\"}>\n

    \n Status:{\" \"}\n {auditStreamConfiguration.Active ? (<>\n {\" \"}\n \n Streaming to {auditStreamType}\n \n ) : (<>\n {\" \"}\n \n {auditStreamType} streaming is paused\n \n )}\n

    \n {auditStreamConfiguration.Description && (

    \n Description: {auditStreamConfiguration.Description}\n

    )}\n \n You can {action} streaming at any time.\n \n
    \n
    );\n }\n static displayName = \"PauseAuditStreamDialogInternal\";\n}\nexport interface PauseAuditStreamDialogProps {\n open: boolean;\n close: () => void;\n auditStreamConfiguration: AuditStreamConfigurationResource;\n onUpdate: (value: AuditStreamConfigurationResource, message: string) => void;\n}\nexport function PauseAuditStreamDialog(props: PauseAuditStreamDialogProps) {\n const theme = useOctopusTheme();\n const trackAction = useAnalyticTrackedActionDispatch();\n return ;\n}\n","import { CustomMenu, useMenuState, MenuItemButton, ActionButton, ActionButtonType } from \"@octopusdeploy/design-system-components\";\nimport type { AuditStreamConfigurationResource } from \"@octopusdeploy/octopus-server-client\";\nimport { useState } from \"react\";\nimport * as React from \"react\";\nimport { AuditActionWithStatus } from \"~/areas/configuration/components/AuditLayout/AuditStream/AuditActionWithStatus\";\nimport { DeleteAuditStreamDialog } from \"~/areas/configuration/components/AuditLayout/AuditStream/DeleteAuditStreamDialog\";\nimport { EditAuditStreamDialog } from \"~/areas/configuration/components/AuditLayout/AuditStream/EditAuditStreamDialog\";\nimport { PauseAuditStreamDialog } from \"~/areas/configuration/components/AuditLayout/AuditStream/PauseAuditStreamDialog\";\nimport { DropDownIcon } from \"~/components/Button/DropDownIcon/DropDownIcon\";\ninterface AuditStreamConfiguredButtonProps {\n auditStreamConfiguration: AuditStreamConfigurationResource;\n onUpdate: (value: AuditStreamConfigurationResource, message: string) => void;\n}\nexport function AuditStreamConfiguredButton({ auditStreamConfiguration, onUpdate }: AuditStreamConfiguredButtonProps) {\n const [openMenu, menuState, buttonAriaAttributes] = useMenuState();\n const [openEdit, setOpenEdit] = useState(false);\n const [openPause, setOpenPause] = useState(false);\n const [openDelete, setOpenDelete] = useState(false);\n const pauseOrResume = auditStreamConfiguration.Active ? \"Pause\" : \"Resume\";\n const onEditClick = () => {\n setOpenEdit(true);\n menuState.onClose();\n };\n const onPauseClick = () => {\n setOpenPause(true);\n menuState.onClose();\n };\n const onDeleteClick = () => {\n setOpenDelete(true);\n menuState.onClose();\n };\n return (\n } iconPosition=\"right\" label=\"Stream audit log\" onClick={openMenu} menuButtonAttributes={buttonAriaAttributes}/>\n \n \n
    Edit
    \n
    \n \n
    {pauseOrResume}
    \n
    \n \n
    Delete
    \n
    \n
    \n setOpenEdit(false)}/>\n setOpenPause(false)}/>\n setOpenDelete(false)}/>\n
    );\n}\n","import { ActionButtonType } from \"@octopusdeploy/design-system-components\";\nimport type { AuditStreamConfigurationResource } from \"@octopusdeploy/octopus-server-client\";\nimport * as React from \"react\";\nimport { Action, Plan, useAnalyticActionDispatch } from \"~/analytics/Analytics\";\nimport { AuditActionWithStatus } from \"~/areas/configuration/components/AuditLayout/AuditStream/AuditActionWithStatus\";\nimport { EditAuditStreamDialog } from \"~/areas/configuration/components/AuditLayout/AuditStream/EditAuditStreamDialog\";\nimport OpenDialogButton from \"~/components/Dialog/OpenDialogButton\";\ninterface AuditStreamNotConfiguredButtonProps {\n auditStreamConfiguration: AuditStreamConfigurationResource;\n onUpdate: (value: AuditStreamConfigurationResource, message: string) => void;\n}\nexport function AuditStreamNotConfiguredButton({ auditStreamConfiguration, onUpdate }: AuditStreamNotConfiguredButtonProps) {\n const dispatchAction = useAnalyticActionDispatch();\n const handleClick = () => {\n dispatchAction(\"Stream Audit Log\", { resource: \"Audit Stream\", action: Action.Add, plan: Plan.Enterprise });\n };\n return (\n renderProps.closeDialog()}/>}/>\n );\n}\n","import { ActionButton, ActionButtonType, Callout } from \"@octopusdeploy/design-system-components\";\nimport { useDispatchLinkClicked } from \"@octopusdeploy/portal-routes\";\nimport { useCallback } from \"react\";\nimport * as React from \"react\";\nimport type { LinkEvent, AnalyticActionDispatcher } from \"~/analytics/Analytics\";\nimport { Action, useAnalyticActionDispatch } from \"~/analytics/Analytics\";\nimport { repository } from \"~/clientInstance\";\nimport { DataBaseComponent } from \"~/components/DataBaseComponent/index\";\nimport { DialogLayout } from \"~/components/DialogLayout/DialogLayout\";\nimport { formatUrl } from \"~/components/Navigation/ExternalLink/ExternalLink\";\nimport ExternalLink from \"~/components/Navigation/ExternalLink/index\";\nimport styles from \"./style.module.less\";\nconst href = \"PricingOverview\";\nconst linkLabel = \"Enterprise tier\";\ninterface AuditStreamUpsellDialogLayoutInternalState {\n trialRequested: boolean;\n}\ninterface AuditStreamUpsellDialogLayoutInternalProps extends AuditStreamUpsellDialogLayoutProps {\n dispatchAction: AnalyticActionDispatcher;\n onUpsellLinkClicked: () => void;\n}\nclass AuditStreamUpsellDialogLayoutInternal extends DataBaseComponent {\n constructor(props: AuditStreamUpsellDialogLayoutInternalProps) {\n super(props);\n this.state = {\n trialRequested: false,\n };\n }\n requestTrial = async () => {\n await this.doBusyTask(async () => {\n await repository.AuditStreamConfiguration.requestTrial();\n this.props.dispatchAction(\"Request Trial\", { resource: \"Audit Stream\", action: Action.RequestTrial });\n this.setState({ trialRequested: true });\n });\n };\n cancelRequestingTrial = () => {\n this.props.dispatchAction(\"Cancel Requesting Trial\", { resource: \"Audit Stream\", action: Action.Cancel });\n this.props.onClose();\n };\n render() {\n const { trialRequested } = this.state;\n const requestTrialBtn = ;\n const cancelBtn = ;\n const closeBtn = ;\n return (\n

    Streaming copies of your audit log data can help protect your intellectual property and maintain compliance for your organization.

    \n
      \n
    • Access to your organization or repository settings
    • \n
    • Changes in permissions
    • \n
    • Git events
    • \n
    • and more
    • \n
    \n

    \n Audit Streaming is a part of the{\" \"}\n \n {linkLabel}\n \n .\n

    \n {trialRequested && (\n

    The Customer Success team will reach out to you with details of the trial.

    \n
    )}\n {!trialRequested &&

    Request a trial of this feature from our Customer Success Team, who will contact you with the details of the trial.

    }\n
    );\n }\n static displayName = \"AuditStreamUpsellDialogLayoutInternal\";\n}\nexport interface AuditStreamUpsellDialogLayoutProps {\n onClose: () => void;\n}\nconst AuditStreamUpsellDialogLayout: React.FC = ({ onClose }) => {\n const dispatchAction = useAnalyticActionDispatch();\n const linkDispatchAction = useDispatchLinkClicked();\n const onUpsellLinkClicked = useCallback(() => {\n const ev: LinkEvent = {\n documentUrl: formatUrl(href),\n linkLabel,\n };\n linkDispatchAction(\"Visit Upsell Page\", ev);\n }, [linkDispatchAction]);\n return ;\n};\nAuditStreamUpsellDialogLayout.displayName = \"AuditStreamUpsellDialogLayout\"\nexport default AuditStreamUpsellDialogLayout;\n","import { AnalyticLinkLocationProvider } from \"@octopusdeploy/portal-analytics\";\nimport * as React from \"react\";\nimport AuditStreamUpsellDialogLayout from \"~/areas/configuration/components/AuditLayout/AuditStream/AuditStreamUpsellDialogLayout\";\nimport upsellImageDark from \"~/areas/configuration/components/AuditLayout/assets/img-upsell-dark.svg\";\nimport upsellImageLight from \"~/areas/configuration/components/AuditLayout/assets/img-upsell-light.svg\";\nimport OnboardingDialog from \"~/components/OnboardingDialog/OnboardingDialog\";\nimport { useThemePaletteType } from \"~/components/Theme/useThemePaletteType\";\nexport interface AuditStreamUpsellDialogProps {\n open: boolean;\n close: () => void;\n}\nexport function AuditStreamUpsellDialog({ open, close }: AuditStreamUpsellDialogProps) {\n const isDarkMode = useThemePaletteType() === \"dark\";\n return (\n \n \n \n );\n}\n","import { ActionButtonType } from \"@octopusdeploy/design-system-components\";\nimport * as React from \"react\";\nimport { Action, Plan, useAnalyticActionDispatch } from \"~/analytics/Analytics\";\nimport { AuditActionWithStatus } from \"~/areas/configuration/components/AuditLayout/AuditStream/AuditActionWithStatus\";\nimport { AuditStreamUpsellDialog } from \"~/areas/configuration/components/AuditLayout/AuditStream/AuditStreamUpsellDialog\";\nimport OpenDialogButton from \"~/components/Dialog/OpenDialogButton\";\nexport function AuditStreamUpsellButton() {\n const dispatchAction = useAnalyticActionDispatch();\n const handleClick = () => {\n dispatchAction(\"Stream Audit Log\", { resource: \"Audit Stream\", action: Action.Add, plan: Plan.NonEnterprise });\n };\n return (\n renderProps.closeDialog()}/>}/>\n );\n}\n","import type { AuditStreamConfigurationResource } from \"@octopusdeploy/octopus-server-client\";\nimport * as React from \"react\";\nimport { AuditStreamConfiguredButton } from \"~/areas/configuration/components/AuditLayout/AuditStream/AuditStreamConfiguredButton\";\nimport { AuditStreamNotConfiguredButton } from \"~/areas/configuration/components/AuditLayout/AuditStream/AuditStreamNotConfiguredButton\";\nimport { AuditStreamUpsellButton } from \"~/areas/configuration/components/AuditLayout/AuditStream/AuditStreamUpsellButton\";\ninterface AuditStreamButtonProps {\n auditStreamConfiguration: AuditStreamConfigurationResource | null;\n onUpdate: (auditStreamConfiguration: AuditStreamConfigurationResource, message: string) => void;\n}\nexport function AuditStreamButton({ auditStreamConfiguration, onUpdate }: AuditStreamButtonProps) {\n if (!auditStreamConfiguration) {\n return ;\n }\n if (!auditStreamConfiguration.StreamConfigurationResource) {\n return ;\n }\n return ;\n}\n","import * as React from \"react\";\nimport { SetLabelStrategy } from \"~/components/LabelStrategy/LabelStrategy\";\ninterface AdvancedFiltersProps {\n children: React.ReactNode;\n}\nconst labelStrategy = (fieldName: string) => `By ${fieldName}`;\nexport function AdvancedFilters({ children }: AdvancedFiltersProps) {\n return {children};\n}\n","/* eslint-disable @typescript-eslint/no-explicit-any */\n/* eslint-disable @typescript-eslint/consistent-type-assertions */\nimport { LinearProgress } from \"@octopusdeploy/design-system-components\";\nimport { apply as JsonPatch } from \"json-patch\";\nimport { cloneDeep } from \"lodash\";\nimport * as React from \"react\";\nimport { repository } from \"~/clientInstance\";\nimport DataLoader from \"~/components/DataLoader\";\nimport DisplayDiff from \"~/components/DisplayDiff\";\nimport StringHelper from \"~/utils/StringHelper/StringHelper\";\nimport styles from \"./style.module.less\";\ninterface EventDetailData {\n details: string | null;\n jsonBefore: string | null;\n jsonAfter: string | null;\n}\ninterface ElementCoordinates {\n top: number;\n height: number;\n}\nconst EventDetailsDataLoader = DataLoader();\ninterface EventDetailsProps extends React.HTMLProps {\n eventId: string;\n spaceId?: string;\n}\ninterface EventDetailsState {\n highlightCoordinates: ElementCoordinates[];\n}\nclass EventDetails extends React.Component {\n private boundingDiv: HTMLElement | null = null;\n private shouldUpdateOverlay: boolean = true;\n constructor(props: EventDetailsProps) {\n super(props);\n this.state = {\n highlightCoordinates: [],\n };\n }\n componentDidMount() {\n window.addEventListener(\"resize\", this.calculateHeight);\n }\n componentWillUnmount() {\n window.removeEventListener(\"resize\", this.calculateHeight);\n }\n calculateOverlayDivHeights() {\n const insertHighlighCoords = this.getTagLocations(this.boundingDiv?.getElementsByTagName(\"ins\"));\n const deleteHighlightCoords = this.getTagLocations(this.boundingDiv?.getElementsByTagName(\"del\"));\n const uniqueHighlightCoords = insertHighlighCoords.concat(deleteHighlightCoords).sort((a, b) => a.top - b.top);\n this.setState({ highlightCoordinates: uniqueHighlightCoords });\n }\n calculateHeight = () => {\n // Hack to get the heights to refresh on window resize.\n this.setState({ highlightCoordinates: [] }, () => {\n this.calculateOverlayDivHeights();\n });\n };\n getTagLocations(tags: HTMLCollectionOf | null | undefined): ElementCoordinates[] {\n const tops: ElementCoordinates[] = [];\n if (tags) {\n for (let i = 0; i < tags.length; i++) {\n const tag = tags[i];\n tops.push({ top: tag.offsetTop, height: tag.offsetHeight });\n }\n }\n return tops;\n }\n render() {\n return this.loadExtraDetails()} renderWhenLoaded={(data) => this.renderDetails(data)} renderAlternate={({ busy }) => this.renderAlternate(busy)}/>;\n }\n private async loadExtraDetails() {\n const repo = !!this.props.spaceId ? await repository.forSpace(this.props.spaceId) : repository.forSystem();\n const event = await repo.Events.get(this.props.eventId, { excludeDifference: false });\n const before = event?.ChangeDetails?.DocumentContext;\n const patches = event?.ChangeDetails?.Differences;\n const after = before && cloneDeep(before);\n if (after && patches) {\n JsonPatch(after, patches);\n }\n return {\n details: event.Details,\n jsonBefore: before && JSON.stringify(before, null, 4),\n jsonAfter: after && JSON.stringify(after, null, 4),\n };\n }\n private renderDetails(data: EventDetailData) {\n if (!(data.details || data.jsonAfter)) {\n return null;\n }\n const { eventId, spaceId, ...rest } = this.props;\n const diffView = data.jsonAfter ? () : (
    \n                
    \n {this.state.highlightCoordinates.map((x, index) => {\n return
    ;\n })}\n
    \n
    (this.boundingDiv = div)} className={styles.changeSet} dangerouslySetInnerHTML={{ __html: StringHelper.formatDiff(data.details || \"\") }}/>\n
    );\n // Schedule the highlight overlay to be re-calculated once rendering is finished\n if (data.details && this.shouldUpdateOverlay) {\n this.shouldUpdateOverlay = false;\n window.requestAnimationFrame(this.calculateHeight);\n }\n return
    {diffView}
    ;\n }\n private renderAlternate(busy: boolean) {\n return (
    \n \n
    );\n }\n static displayName = \"EventDetails\";\n}\nexport default EventDetails;\n","import EventFormatter from \"./EventFormatter\";\nexport default EventFormatter;\n","import { logger } from \"@octopusdeploy/logging\";\nimport * as React from \"react\";\nimport { withTheme } from \"~/components/Theme\";\nimport avatarPlaceHolder from \"./img/avatar-placeholder.svg\";\nimport octopusServiceImage from \"./img/octopus-service-440.svg\";\nimport userDefaultImage from \"./img/user-placeholder.svg\";\nimport styles from \"./style.module.less\";\ninterface AvatarProps {\n size?: number;\n isService: boolean;\n avatarLink: string;\n}\nexport const Avatar: React.StatelessComponent = (props) => {\n const [avatarImage, setAvatarImage] = React.useState(\"\");\n const [hasLoadImageError, setHasLoadImageError] = React.useState(false);\n const size = props.size || 25;\n React.useEffect(() => {\n let avatarSource = props.isService ? octopusServiceImage : avatarPlaceHolder;\n if (props.avatarLink && !props.isService) {\n try {\n const url = new URL(props.avatarLink);\n url.searchParams.set(\"d\", \"404\");\n url.searchParams.set(\"s\", size.toString());\n avatarSource = url.toString();\n }\n catch (error) {\n logger.error(error, \"Invalid URL for Avatar\");\n setHasLoadImageError(true);\n return;\n }\n }\n const loadAvatarImage = (imageSource: string) => {\n const img = new Image();\n img.onload = () => {\n setAvatarImage(imageSource);\n setHasLoadImageError(false);\n };\n img.onerror = () => setHasLoadImageError(true);\n img.src = imageSource;\n };\n loadAvatarImage(avatarSource);\n }, [props.isService, props.avatarLink, props.size, size]);\n return withTheme((theme) => (\n // Note: Do NOT use Material-UI's Avatar component to render avatars, as we need a fallback background image and\n // if you try to do this with the tag, it'll then show broken external images on closed networks (I.e. networks\n // that can't access gravatar).\n
    ));\n};\nAvatar.displayName = \"Avatar\"\nexport default Avatar;\n","import Avatar from \"./Avatar\";\nexport default Avatar;\n","import { Tooltip } from \"@octopusdeploy/design-system-components\";\nimport type { EventResource } from \"@octopusdeploy/octopus-server-client\";\nimport * as React from \"react\";\nimport EventDetails from \"~/components/EventDetails\";\nimport EventFormatter from \"~/components/EventFormatter\";\nimport SimpleExpander from \"~/components/SimpleExpander/SimpleExpander\";\nimport Avatar from \"~/primitiveComponents/dataDisplay/Avatar\";\nimport DateFormatter from \"~/utils/DateFormatter/index\";\nimport styles from \"./AuditListRow.module.less\";\ninterface AuditListRowProps {\n event: EventResource;\n categoryName: string;\n}\nexport default class AuditListRow extends React.PureComponent {\n render() {\n const { event, categoryName } = this.props;\n const usernameTooltipContent = (
    \n
    Established with: {this.identityEstablishedWithTextForEvent(event)}
    \n
    User agent: {this.userAgentTextForEvent(event)}
    \n
    );\n const categoryTooltipContent = (
    \n
    Category: {categoryName}
    \n
    );\n const title = (
    \n
    \n \n \n \n
    \n
    \n {DateFormatter.dateToLongFormatWithSeconds(event.Occurred)}\n
    \n
    \n \n \n
    {event.Username}
    \n
    \n
    \n
    );\n return (\n
    \n
    \n
    \n
    Established with:
    \n
    {this.identityEstablishedWithTextForEvent(event)}
    \n
    \n
    \n
    User agent:
    \n
    {this.userAgentTextForEvent(event)}
    \n
    \n
    \n
    Category:
    \n
    {categoryName}
    \n
    \n
    \n \n
    \n
    );\n }\n private identityEstablishedWithTextForEvent(event: EventResource) {\n if (!event.IdentityEstablishedWith) {\n return \"Unknown\";\n }\n return event.IdentityEstablishedWith;\n }\n private userAgentTextForEvent(event: EventResource) {\n if (!event.UserAgent) {\n return \"Unknown\";\n }\n if (event.UserAgent.startsWith(\"OctopusClient-js\")) {\n return \"Portal\";\n }\n return event.UserAgent;\n }\n static displayName = \"AuditListRow\";\n}\n","import { css } from \"@emotion/css\";\nimport { DatePicker } from \"@octopusdeploy/design-system-components\";\nimport { space } from \"@octopusdeploy/design-system-tokens\";\nimport moment from \"moment\";\nimport * as React from \"react\";\nimport type { DataBaseComponentState } from \"~/components/DataBaseComponent/DataBaseComponent\";\nimport { DataBaseComponent } from \"~/components/DataBaseComponent/DataBaseComponent\";\nimport Dialog from \"~/components/Dialog/Dialog\";\nimport SaveDialogLayout from \"~/components/DialogLayout/SaveDialogLayout\";\nexport interface DateRange {\n startDate: moment.Moment;\n endDate: moment.Moment;\n}\ninterface DatePickerDialogProps {\n dialogOpen: boolean;\n startDate: moment.Moment;\n endDate: moment.Moment;\n onSaveClick(range: {\n startDate: moment.Moment;\n endDate: moment.Moment;\n }): Promise;\n onCancelClick?(): void;\n}\ninterface DatePickerDialogState extends DataBaseComponentState {\n dialogOpen: boolean;\n startDate: moment.Moment;\n endDate: moment.Moment;\n}\nconst datePickerFormat = \"MMM dd, yyyy\";\nexport default class DatePickerDialog extends DataBaseComponent {\n constructor(props: DatePickerDialogProps) {\n super(props);\n this.state = {\n dialogOpen: this.props.dialogOpen,\n startDate: this.props.startDate.clone(),\n endDate: this.props.endDate.clone(),\n };\n }\n closeDialog = () => {\n this.setState({ dialogOpen: false });\n };\n executeCallback = async () => {\n const startDate = this.state.startDate;\n const endDate = this.state.endDate;\n if (this.props.onSaveClick) {\n if (startDate <= endDate) {\n await this.props.onSaveClick({\n startDate: moment(startDate),\n endDate: moment(endDate),\n });\n this.closeDialog();\n return true;\n }\n else {\n this.setValidationErrors(\"\\\"From Date\\\" must start before \\\"To Date\\\".\");\n return false;\n }\n }\n return false;\n };\n notifyCancel = () => {\n if (this.props.onCancelClick) {\n this.props.onCancelClick();\n }\n // Return false, as we don't want the dialog to auto-close\n return false;\n };\n render() {\n return (\n \n \n {\n this.setState({ startDate: moment(value) });\n }} format={datePickerFormat}/>\n {\n this.setState({ endDate: moment(value) });\n }} format={datePickerFormat}/>\n \n \n );\n }\n static displayName = \"DatePickerDialog\";\n}\nfunction DatePickersLayout(props: React.PropsWithChildren<{}>) {\n return (
    \n {React.Children.map(props.children, (child) => ({child}))}\n
    );\n}\nconst datePickerLayoutStyles = css({\n display: \"flex\",\n flexDirection: \"row\",\n gap: space[16],\n \"@media(max-width:768px)\": {\n flexDirection: \"column\",\n },\n});\nfunction DatePickerContainer(props: React.PropsWithChildren<{}>) {\n return
    {props.children}
    ;\n}\nconst datePickerContainerStyles = css({\n flex: 1,\n});\n","import { flatten } from \"lodash\";\nimport * as React from \"react\";\nfunction buildValueList(elements: JSX.Element[], separator?: string, finalElementSeparator?: string) {\n if (elements && elements.length > 0) {\n return (\n {flatten(elements.map((element, index) => {\n const nodes = [element];\n if (index === elements.length - 1) {\n return nodes;\n }\n if (index === elements.length - 2 && finalElementSeparator) {\n nodes.push({finalElementSeparator});\n }\n if (index !== elements.length - 2 && separator) {\n nodes.push({separator});\n }\n return nodes;\n }))}\n );\n }\n return null;\n}\nexport default buildValueList;\n","import type { NamedResource, DocumentTypeResource } from \"@octopusdeploy/octopus-server-client\";\nimport * as React from \"react\";\nimport { DocumentTypeChip, MissingChip, ChipIcon } from \"~/components/Chips\";\nimport { MultiSelect } from \"~/components/MultiSelect/MultiSelect\";\nimport type { SelectItem } from \"~/components/VirtualListWithKeyboard/SelectItem\";\nimport type { FormFieldProps } from \"~/components/form\";\nimport Lookup from \"../Lookup\";\ninterface DocumentTypeMultiSelectProps extends FormFieldProps {\n items: DocumentTypeResource[];\n label?: string | JSX.Element;\n error?: string;\n}\nconst DocumentTypeTypedMultiSelect = MultiSelect();\nexport const DocumentTypeMultiSelect: React.FC = (props) => {\n const chipRenderer = (r: DocumentTypeResource | SelectItem, onRequestDelete: () => void) => {\n return ( element.Id} render={(item) => } renderFallback={}/>);\n };\n return ;\n};\nDocumentTypeMultiSelect.displayName = \"DocumentTypeMultiSelect\"\n","import type { EventAgentResource } from \"@octopusdeploy/octopus-server-client\";\nimport * as React from \"react\";\nimport { EventAgentChip, MissingChip, ChipIcon } from \"~/components/Chips\";\nimport { MultiSelect } from \"~/components/MultiSelect/MultiSelect\";\nimport type { FormFieldProps } from \"~/components/form\";\nimport Lookup from \"../Lookup\";\nimport type { SelectItem } from \"../VirtualListWithKeyboard/SelectItem\";\ninterface EventAgentMultiSelectProps extends FormFieldProps {\n items: EventAgentResource[];\n label?: string | JSX.Element;\n error?: string;\n}\nconst EventAgentTypedMultiSelect = MultiSelect();\nconst EventAgentMultiSelect: React.FC = (props) => {\n const chipRenderer = (r: EventAgentResource | SelectItem, onRequestDelete: () => void) => {\n return ( element.Id} render={(item) => } renderFallback={}/>);\n };\n return ;\n};\nEventAgentMultiSelect.displayName = \"EventAgentMultiSelect\"\nexport default EventAgentMultiSelect;\n","import type { EventCategoryResource } from \"@octopusdeploy/octopus-server-client\";\nimport * as React from \"react\";\nimport { EventCategoryChip, MissingChip, ChipIcon } from \"~/components/Chips\";\nimport { MultiSelect } from \"~/components/MultiSelect/MultiSelect\";\nimport type { FormFieldProps } from \"~/components/form\";\nimport type { ComponentProps } from \"../../utils/types\";\nimport Lookup from \"../Lookup\";\ninterface EventCategoryMultiSelectProps extends FormFieldProps {\n items: EventCategoryResource[];\n label?: string | JSX.Element;\n error?: string;\n}\nconst EventCategoryTypedMultiSelect = MultiSelect();\ntype RenderChip = ComponentProps[\"renderChip\"];\nexport const EventCategoryMultiSelect: React.FC = (props) => {\n const chipRenderer: RenderChip = (r, onRequestDelete: () => void) => {\n return ( element.Id} render={(item) => } renderFallback={}/>);\n };\n return ;\n};\nEventCategoryMultiSelect.displayName = \"EventCategoryMultiSelect\"\n","import type { EventGroupResource } from \"@octopusdeploy/octopus-server-client\";\nimport * as React from \"react\";\nimport { ChipIcon, EventGroupChip, MissingChip } from \"~/components/Chips\";\nimport { MultiSelect } from \"~/components/MultiSelect/MultiSelect\";\nimport type { SelectItem } from \"~/components/VirtualListWithKeyboard/SelectItem\";\nimport type { FormFieldProps } from \"~/components/form\";\nimport Lookup from \"../Lookup\";\ninterface EventGroupMultiSelectProps extends FormFieldProps {\n items: EventGroupResource[];\n label?: string | JSX.Element;\n error?: string;\n}\nconst EventGroupTypedMultiSelect = MultiSelect();\nexport const EventGroupMultiSelect: React.FC = (props) => {\n const chipRenderer = (r: EventGroupResource | SelectItem, onRequestDelete: () => void) => {\n return ( element.Id} render={(item) => } renderFallback={}/>);\n };\n return ;\n};\nEventGroupMultiSelect.displayName = \"EventGroupMultiSelect\"\n","import type { ProjectGroupResource } from \"@octopusdeploy/octopus-server-client\";\nimport * as React from \"react\";\nimport { ChipIcon, MissingChip, ProjectGroupChip } from \"~/components/Chips\";\nimport { MultiSelect } from \"~/components/MultiSelect/MultiSelect\";\nimport type { SelectItem } from \"~/components/VirtualListWithKeyboard/SelectItem\";\nimport type { FormFieldProps } from \"~/components/form\";\nimport Lookup from \"../Lookup\";\ninterface ProjectGroupMultiSelectProps extends FormFieldProps {\n items: ProjectGroupResource[];\n label?: string | JSX.Element;\n error?: string;\n}\nconst ProjectGroupTypedMultiSelect = MultiSelect();\nexport const ProjectGroupMultiSelect: React.FC = (props) => {\n const chipRenderer = (r: ProjectGroupResource | SelectItem, onRequestDelete: () => void) => {\n return ( element.Id} render={(item) => } renderFallback={}/>);\n };\n return ;\n};\nProjectGroupMultiSelect.displayName = \"ProjectGroupMultiSelect\"\n","import * as React from \"react\";\nimport { ChipIcon } from \"~/components/Chips\";\nimport { MissingChip, ProjectChip } from \"~/components/Chips/index\";\nimport { MultiSelect } from \"~/components/MultiSelect/MultiSelect\";\nimport type { FormFieldProps } from \"~/components/form\";\nimport type { ComponentProps } from \"~/utils/types\";\nimport Lookup from \"../Lookup\";\ninterface ProjectMultiSelectProps extends FormFieldProps {\n items: {\n Id: string;\n Name: string;\n }[];\n autoFocus?: boolean;\n label?: string | JSX.Element;\n error?: string;\n accessibleName?: string;\n}\nconst ProjectTypedMultiSelect = MultiSelect<{\n Id: string;\n Name: string;\n}>();\ntype RenderChip = ComponentProps[\"renderChip\"];\nexport const ProjectMultiSelect: React.FC = (props) => {\n const chipRenderer: RenderChip = (r, onRequestDelete: () => void) => {\n return ( element.Id} render={(item) => } renderFallback={}/>);\n };\n return ;\n};\nProjectMultiSelect.displayName = \"ProjectMultiSelect\"\n","import type { UserResource } from \"@octopusdeploy/octopus-server-client\";\nimport * as React from \"react\";\nimport type { CommonOrDeletableChipProps } from \"~/components/Chips/index\";\nimport { isDeletableChip, matchesToChips } from \"~/components/Chips/index\";\nimport Chip from \"./Chip\";\nimport DeletableChip from \"./DeletableChip\";\nconst UserChip: React.FC<{\n user: UserResource;\n} & CommonOrDeletableChipProps> = (props) => {\n const { user, ...rest } = props;\n const name = userDisplayName(user);\n const description = \"User: \" + name;\n if (isDeletableChip(props)) {\n const { onRequestDelete, deleteButtonAccessibleName } = props;\n return (\n {name}\n );\n }\n return (\n {name}\n );\n};\nUserChip.displayName = \"UserChip\"\nfunction userDisplayName(resource: UserResource) {\n return resource.DisplayName !== resource.Username ? `${resource.DisplayName} (${resource.Username})` : resource.DisplayName;\n}\nfunction userList(set: UserResource[], selectedIds: string[]) {\n return matchesToChips(set, selectedIds, (x) => );\n}\nexport { UserChip, userDisplayName, userList };\n","import type { UserResource } from \"@octopusdeploy/octopus-server-client\";\nimport * as React from \"react\";\nimport { ChipIcon, MissingChip } from \"~/components/Chips\";\nimport { UserChip, userDisplayName } from \"~/components/Chips/UserChip\";\nimport { MultiSelect } from \"~/components/MultiSelect/MultiSelect\";\nimport type { SelectItem } from \"~/components/VirtualListWithKeyboard/SelectItem\";\nimport type { FormFieldProps } from \"~/components/form\";\nimport Lookup from \"../Lookup\";\ninterface UserMultiSelectProps extends FormFieldProps {\n items: UserResource[];\n label?: string | JSX.Element;\n error?: string;\n}\ninterface UserResourceWithName extends UserResource {\n Name: string;\n}\nconst UserTypedMultiSelect = MultiSelect();\nexport const UserMultiSelect: React.FC = (props) => {\n const chipRenderer = (r: UserResourceWithName | SelectItem, onRequestDelete: () => void) => {\n const usersWithName = props.items.map((u) => ({ ...u, Name: u.DisplayName }));\n return ( element.Id} render={(item) => } renderFallback={}/>);\n };\n const { items, ...rest } = props;\n return ( {\n const user = { ...i, ...{ Name: `${userDisplayName(i)} ${i.EmailAddress || \"\"}` } };\n return user;\n })} fieldName=\"users\" renderChip={chipRenderer} renderItem={(i) => ({ primaryText: userDisplayName(i), secondaryText: i.EmailAddress })} {...rest}/>);\n};\nUserMultiSelect.displayName = \"UserMultiSelect\"\n","/* eslint-disable @typescript-eslint/no-non-null-assertion */\nimport { Callout, Checkbox } from \"@octopusdeploy/design-system-components\";\nimport { space } from \"@octopusdeploy/design-system-tokens\";\nimport { Permission } from \"@octopusdeploy/octopus-server-client\";\nimport type { EventCategoryResource, EventGroupResource, DocumentTypeResource, EnvironmentResource, TenantResource, UserResource, EventAgentResource, SpaceResource, ProjectGroupResource, ProjectSummaryResource, } from \"@octopusdeploy/octopus-server-client\";\nimport { noOp } from \"@octopusdeploy/utilities\";\nimport { filter, flatten, map, uniq, isEmpty } from \"lodash\";\nimport * as React from \"react\";\nimport { client, session } from \"~/clientInstance\";\nimport BaseComponent from \"~/components/BaseComponent\";\nimport { EventCategoryPreviewChip } from \"~/components/Chips/index\";\nimport type { DoBusyTask } from \"~/components/DataBaseComponent/DataBaseComponent\";\nimport buildValueList from \"~/components/EventFilter/buildValueList\";\nimport { FeatureToggle, Feature } from \"~/components/FeatureToggle\";\nimport { DocumentTypeMultiSelect } from \"~/components/MultiSelect/DocumentTypeMultiSelect\";\nimport { EnvironmentMultiSelect } from \"~/components/MultiSelect/EnvironmentMultiSelect\";\nimport EventAgentMultiSelect from \"~/components/MultiSelect/EventAgentMultiSelect\";\nimport { EventCategoryMultiSelect } from \"~/components/MultiSelect/EventCategoryMultiSelect\";\nimport { EventGroupMultiSelect } from \"~/components/MultiSelect/EventGroupMultiSelect\";\nimport { ProjectGroupMultiSelect } from \"~/components/MultiSelect/ProjectGroupMultiSelect\";\nimport { ProjectMultiSelect } from \"~/components/MultiSelect/ProjectMultiSelect\";\nimport { SpaceMultiSelect } from \"~/components/MultiSelect/SpaceMultiSelect\";\nimport { TargetTagMultiSelect } from \"~/components/MultiSelect/TargetTagMultiSelect\";\nimport { TenantMultiSelect } from \"~/components/MultiSelect/TenantMultiSelect\";\nimport { TenantTagMultiSelect } from \"~/components/MultiSelect/TenantTagMultiSelect\";\nimport { UserMultiSelect } from \"~/components/MultiSelect/UserMultiSelect\";\nimport { PermissionCheck } from \"~/components/PermissionCheck\";\nexport interface EventFilterSelections {\n Environments: string[];\n Users: string[];\n Projects: string[];\n ProjectGroups: string[];\n EventCategories: string[];\n EventGroups: string[];\n EventAgents: string[];\n DocumentTypes: string[];\n Tenants: string[];\n Tags: string[];\n}\nexport interface EventFilterProps {\n doBusyTask: DoBusyTask;\n // Supply the collections of resources for each filter you wish to support\n eventCategories: EventCategoryResource[];\n eventGroups: EventGroupResource[];\n eventAgents?: EventAgentResource[];\n environments: EnvironmentResource[];\n spaces?: SpaceResource[];\n // (leave it undefined and it will be hidden).\n documentTypes?: DocumentTypeResource[];\n projects?: ProjectSummaryResource[];\n projectGroups?: ProjectGroupResource[];\n roles?: string[];\n tenants?: TenantResource[];\n users?: UserResource[];\n includeSystem?: boolean;\n // Supply the selected values for each filter.\n selectedEventCategories: string[];\n selectedEventGroups: string[];\n selectedEventAgents?: string[];\n selectedEnvironments: string[];\n selectedSpaces?: string[];\n selectedDocumentTypes?: string[];\n selectedProjects?: string[];\n selectedProjectGroups?: string[];\n selectedRoles?: string[];\n canAddRoles?: boolean;\n selectedTenants?: string[];\n selectedTenantTags?: string[];\n selectedUsers?: string[];\n // Supply an onChange event for each filter.\n onChangeEventCategories(newValue: string[]): void;\n onChangeEventGroups(newValue: string[]): void;\n onChangeEventAgents?(newValue: string[]): void;\n onChangeEnvironments(newValue: string[]): void;\n onChangeSpaces?(newValue: string[]): void;\n onChangeDocumentTypes?(newValue: string[]): void;\n onChangeProjects?(newValue: string[]): void;\n onChangeProjectGroups?(newValue: string[]): void;\n onChangeRoles?(newValue: string[]): void;\n onChangeTenants?(newValue: string[]): void;\n onChangeTenantTags?(newValue: string[]): void;\n onChangeUsers?(newValue: string[]): void;\n onIncludeSystemChange?(newValue: boolean): void;\n}\nexport class EventFilter extends BaseComponent {\n render() {\n const hasSystemEventView = session.currentPermissions!.scopeToSystem().hasPermissionInAnyScope(Permission.EventView);\n return (
    \n {hasSystemEventView && this.props.includeSystem !== undefined && }\n {this.spaceSelector()}\n
    \n \n {!isEmpty(this.props.selectedEventGroups) && Events included:}\n {buildValueList(this.createEventGroupCategories(this.props.selectedEventGroups))}\n
    \n\n \n\n {this.props.documentTypes && this.props.onChangeDocumentTypes && this.props.selectedDocumentTypes && ()}\n\n {this.props.users && this.props.users.length > 0 && this.props.onChangeUsers && this.props.selectedUsers && }\n\n {this.props.eventAgents && this.props.onChangeEventAgents && this.props.selectedEventAgents && }\n\n {this.renderSpaceSpecificSelectors()}\n
    );\n }\n private renderSpaceSpecificSelectors = () => {\n // These are linked to access in the current space, because that's where the data will come from\n // we need to revisit how these will work going forward to make the filtering easier to do cross-space\n const isWithinASpace = client.spaceId;\n return (isWithinASpace && (<>\n {this.props.projects && this.props.onChangeProjects && this.props.selectedProjects && }\n\n {this.props.projectGroups && this.props.onChangeProjectGroups && this.props.selectedProjectGroups && ()}\n\n \n\n {this.props.roles && this.props.onChangeRoles && this.props.selectedRoles && ()}\n\n \n \n {this.props.tenants && this.props.onChangeTenants && this.props.selectedTenants && }\n {this.props.onChangeTenantTags && this.props.selectedTenantTags && }\n \n \n ));\n };\n private spaceSelector() {\n const hasEventViewInAnySpace = session.currentPermissions!.hasPermissionInAnyScope(Permission.EventView);\n if (!hasEventViewInAnySpace) {\n return (
    \n \n You do not have {Permission.EventView} permission in any given Space.\n \n
    );\n }\n const ready = this.props.spaces && this.props.spaces.length > 0;\n return ready && ;\n }\n private createEventGroupCategories(selectedEventGroups: string[]) {\n const selectedGroups = filter(this.props.eventGroups, (eventGroup: EventGroupResource) => {\n return selectedEventGroups.includes(eventGroup.Id);\n });\n const selectedEventCategoryIds = uniq(flatten(map(selectedGroups, (selectedGroup: EventGroupResource) => {\n return selectedGroup.EventCategories;\n })));\n return this.props.eventCategories.filter((ec) => selectedEventCategoryIds.includes(ec.Id)).map((ec) => );\n }\n static displayName = \"EventFilter\";\n}\n","/* eslint-disable @typescript-eslint/no-explicit-any */\nimport type { EventCategoryResource, EventGroupResource, DocumentTypeResource, EnvironmentResource, TenantResource, UserResource, EventAgentResource, ProjectGroupResource, ProjectSummaryResource } from \"@octopusdeploy/octopus-server-client\";\nimport * as React from \"react\";\nimport { connect } from \"react-redux\";\nimport BaseComponent from \"~/components/BaseComponent\";\nimport { userList } from \"~/components/Chips/UserChip\";\nimport { documentChipList, environmentChipList, eventCategoryList, eventGroupList, projectChipList, tenantChipList, eventAgentList, projectGroupChipList } from \"~/components/Chips/index\";\nimport buildValueList from \"~/components/EventFilter/buildValueList\";\nimport Tag from \"~/components/Tag/Tag\";\nimport type { TagIndex } from \"~/components/tenantTagsets\";\ninterface GlobalConnectedProps {\n isMultiTenancyEnabled: boolean;\n}\ninterface EventFilterSummaryProps {\n // Supply the collections of resources for each filter you wish to support (leave it null and it will be hidden).\n documentTypes: DocumentTypeResource[];\n eventCategories: EventCategoryResource[];\n eventGroups: EventGroupResource[];\n eventAgents: EventAgentResource[];\n environments: EnvironmentResource[];\n projects: ProjectSummaryResource[];\n projectGroups: ProjectGroupResource[];\n tenants: TenantResource[];\n users: UserResource[];\n tagIndex: TagIndex;\n // Supply the selected values for each filter.\n selectedDocumentTypes: string[];\n selectedEventCategories: string[];\n selectedEventGroups: string[];\n selectedEventAgents: string[];\n selectedEnvironments: string[];\n selectedProjects: string[];\n selectedProjectGroups: string[];\n selectedTenants: string[];\n selectedTenantTags: string[];\n selectedUsers: string[];\n}\nexport class EventFilterSummary extends BaseComponent {\n render() {\n const documentTypes = documentChipList(this.props.documentTypes, this.props.selectedDocumentTypes);\n const environments = environmentChipList(this.props.environments, this.props.selectedEnvironments);\n const eventCategories = eventCategoryList(this.props.eventCategories, this.props.selectedEventCategories);\n const eventGroups = eventGroupList(this.props.eventGroups, this.props.selectedEventGroups);\n const eventAgents = eventAgentList(this.props.eventAgents, this.props.selectedEventAgents);\n const projects = projectChipList(this.props.projects, this.props.selectedProjects);\n const projectGroups = projectGroupChipList(this.props.projectGroups, this.props.selectedProjectGroups);\n const users = userList(this.props.users, this.props.selectedUsers);\n let tenants: JSX.Element[] = [];\n let tenantTags: JSX.Element[] = [];\n if (this.props.isMultiTenancyEnabled) {\n tenants = tenantChipList(this.props.tenants, this.props.selectedTenants);\n tenantTags = this.props.selectedTenantTags\n .map((t) => this.props.tagIndex[t])\n .filter((t) => !!t)\n .map((t) => );\n }\n const notificationSummary = this.getEventFilterSummary(eventGroups, eventCategories, eventAgents, documentTypes, users, projects, projectGroups, environments, tenants, tenantTags);\n return {notificationSummary};\n }\n getEventFilterSummary(eventGroups: JSX.Element[], eventCategories: JSX.Element[], eventAgents: JSX.Element[], documentTypes: JSX.Element[], users: JSX.Element[], projects: JSX.Element[], projectGroups: JSX.Element[], environments: JSX.Element[], tenants: JSX.Element[], tenantTags: JSX.Element[]): JSX.Element {\n const eventGroupsElement = this.selectedEventGroupsElement(eventGroups);\n const eventCategoriesElement = this.selectedEventCategoriesElement(eventCategories);\n const eventAgentsElement = this.selectedEventAgentsElement(eventAgents);\n const documentTypesElement = this.selectedDocumentTypesElement(documentTypes);\n const usersElement = this.selectedUsersElement(users);\n const projectsElement = this.selectedProjectsElement(projects);\n const projectGroupsElement = this.selectedProjectGroupsElement(projectGroups);\n const environmentsElement = this.selectedEnvironmentElement(environments);\n const tenantsElement = this.selectedTenantsElement(tenants);\n const tenantTagElement = this.selectedTenantTagElement(tenantTags);\n const eventSelectionElements: JSX.Element[] = [];\n if (eventGroupsElement) {\n eventSelectionElements.push(eventGroupsElement); //for\n } //or\n if (eventCategoriesElement) {\n eventSelectionElements.push(eventCategoriesElement); //for\n } //or\n if (eventAgentsElement) {\n eventSelectionElements.push(eventAgentsElement); //for\n } //or\n if (documentTypesElement) {\n eventSelectionElements.push(documentTypesElement); //for\n }\n const notificationSummary: JSX.Element[] = eventSelectionElements.reduce((accu: any, elem) => {\n return accu === null ? [elem] : [...accu, \" and \", elem];\n }, null) || [];\n if (notificationSummary && notificationSummary.length > 0) {\n notificationSummary.push( are raised);\n }\n else {\n notificationSummary.push(any events are raised);\n }\n const filteringElements = [];\n if (projectsElement) {\n filteringElements.push(projectsElement);\n }\n if (projectGroupsElement) {\n filteringElements.push(projectGroupsElement);\n }\n if (environmentsElement) {\n filteringElements.push(environmentsElement);\n }\n if (tenantsElement) {\n filteringElements.push(tenantsElement);\n }\n if (tenantTagElement) {\n filteringElements.push(tenantTagElement);\n }\n const filteringElementsSummary: JSX.Element[] = filteringElements.reduce((accu: any, elem) => {\n return accu === null ? [elem] : [...accu, \" \", elem];\n }, null) || [];\n if (filteringElementsSummary && filteringElementsSummary.length > 0) {\n notificationSummary.push( {filteringElementsSummary});\n }\n if (usersElement) {\n notificationSummary.push( triggered by {usersElement}); //triggered by\n }\n if (notificationSummary.length === 0) {\n return Notified whenever any events are raised.;\n }\n return Notified whenever {notificationSummary}.;\n }\n private selectedEventGroupsElement(selectedEventGroups: JSX.Element[]) {\n return selectedEventGroups.length > 0 && {buildValueList(selectedEventGroups, \" \", \" or \")};\n }\n private selectedEventCategoriesElement(selectedEventCategories: JSX.Element[]) {\n return selectedEventCategories.length > 0 && {buildValueList(selectedEventCategories, \" \", \" or \")} events;\n }\n private selectedEventAgentsElement(selectedEventAgents: JSX.Element[]) {\n return selectedEventAgents.length > 0 && {buildValueList(selectedEventAgents, \" \", \" or \")} events;\n }\n private selectedDocumentTypesElement(selectedDocumentTypes: JSX.Element[]) {\n return selectedDocumentTypes.length > 0 && {buildValueList(selectedDocumentTypes, \" \", \" or \")} document type events;\n }\n private selectedUsersElement(selectedUsers: JSX.Element[]) {\n return selectedUsers.length > 0 && {buildValueList(selectedUsers, \" \", \" or \")};\n }\n private selectedProjectsElement(selectedProjects: JSX.Element[]) {\n return (selectedProjects.length > 0 && (\n for project{selectedProjects.length === 1 ? \"\" : \"s\"} {buildValueList(selectedProjects, \" \", \" or \")}\n ));\n }\n private selectedProjectGroupsElement(selectedProjectGroups: JSX.Element[]) {\n return (selectedProjectGroups.length > 0 && (\n for project group{selectedProjectGroups.length === 1 ? \"\" : \"s\"} {buildValueList(selectedProjectGroups, \" \", \" or \")}\n ));\n }\n private selectedEnvironmentElement(selectedEnvironments: JSX.Element[]) {\n return (selectedEnvironments.length > 0 && (\n for environment{selectedEnvironments.length === 1 ? \"\" : \"s\"} {buildValueList(selectedEnvironments, \" \", \" or \")}\n ));\n }\n private selectedTenantsElement(selectedTenants: JSX.Element[]) {\n return (selectedTenants.length > 0 && (\n for tenant{selectedTenants.length === 1 ? \"\" : \"s\"} {buildValueList(selectedTenants, \" \", \" or \")}\n ));\n }\n private selectedTenantTagElement(selectedTenantTags: JSX.Element[]) {\n return selectedTenantTags.length > 0 && for tenants tagged with {buildValueList(selectedTenantTags, \" \", \" or \")};\n }\n static displayName = \"EventFilterSummary\";\n}\nconst mapGlobalStateToProps = (state: GlobalState): GlobalConnectedProps => {\n return {\n isMultiTenancyEnabled: state.configurationArea.currentSpace.isMultiTenancyEnabled,\n };\n};\nexport default connect(mapGlobalStateToProps)(EventFilterSummary);\n","import type { EventFilterSelections } from \"./EventFilter\";\nimport { EventFilter } from \"./EventFilter\";\nimport { EventFilterSummary } from \"./EventFilterSummary\";\nexport default EventFilter;\nexport { EventFilter, EventFilterSummary };\nexport type { EventFilterSelections };\n","import SystemUserFactory from \"./SystemUserFactory\";\nexport default SystemUserFactory;\n","/* eslint-disable @typescript-eslint/no-non-null-assertion */\nimport type { UserResource } from \"@octopusdeploy/octopus-server-client\";\nexport default class SystemUserFactory {\n public static systemUser(): UserResource {\n const systemUser: UserResource = {\n Id: \"users-system\",\n DisplayName: \"System\",\n Username: \"system\",\n EmailAddress: \"\",\n IsActive: true,\n IsService: false,\n Links: null!,\n Identities: [],\n };\n return systemUser;\n }\n}\n","/* eslint-disable @typescript-eslint/no-non-null-assertion */\nimport type { PageAction, PrimaryPageAction, SimpleMenuItem } from \"@octopusdeploy/design-system-components\";\nimport { List, ListItem, Pagination, Snackbar } from \"@octopusdeploy/design-system-components\";\nimport { useQuery } from \"@octopusdeploy/octopus-react-client\";\nimport type { AuditStreamConfigurationResource, AuditStreamLicenseCheckResource, DocumentTypeResource, EnvironmentResource, EventAgentResource, EventCategoryResource, EventGroupResource, ProjectGroupResource, ProjectSummaryResource, Repository, SpaceResource, TenantResource, UserResource, } from \"@octopusdeploy/octopus-server-client\";\nimport { Permission } from \"@octopusdeploy/octopus-server-client\";\nimport { links } from \"@octopusdeploy/portal-routes\";\nimport { isEqual } from \"lodash\";\nimport type { Moment } from \"moment\";\nimport moment from \"moment\";\nimport * as React from \"react\";\nimport { useEffect, useMemo, useState } from \"react\";\nimport { AuditStreamButton } from \"~/areas/configuration/components/AuditLayout/AuditStream/AuditStreamButton\";\nimport { isAuditStreamAccessible } from \"~/areas/configuration/components/AuditLayout/AuditStream/utils\";\nimport { client, session } from \"~/clientInstance\";\nimport { AdvancedFilters } from \"~/components/AdvancedFilterLayout/AdvancedFilters\";\nimport { RegardingDocuments } from \"~/components/AdvancedFilterLayout/RegardingDocuments\";\nimport AuditListRow from \"~/components/AuditListRow/AuditListRow\";\nimport { useLegacyDoBusyTask } from \"~/components/DataBaseComponent/useLegacyDoBusyTask\";\nimport DatePickerDialog from \"~/components/Dialog/DatePickerDialog\";\nimport type { EventFilterSelections } from \"~/components/EventFilter\";\nimport { EventFilter } from \"~/components/EventFilter\";\nimport { isFeatureToggleEnabled } from \"~/components/FeatureToggle/New/FeatureToggleContext\";\nimport ExternalLink from \"~/components/Navigation/ExternalLink/ExternalLink\";\nimport type { PageContentProps } from \"~/components/PageContent/PageContent\";\nimport { PageContent } from \"~/components/PageContent/PageContent\";\nimport { isAllowed } from \"~/components/PermissionCheck/PermissionCheck\";\nimport type { IQuery } from \"~/components/QueryStringFilters/QueryStringFilters\";\nimport { QueryStringFilters } from \"~/components/QueryStringFilters/QueryStringFilters\";\nimport Section from \"~/components/Section\";\nimport { Select } from \"~/components/form\";\nimport { defaultContainerKey, expanderActions } from \"~/components/form/Sections/reducers/expanders\";\nimport useLocalStorage from \"~/hooks/useLocalStorage\";\nimport Note from \"~/primitiveComponents/form/Note/Note\";\nimport DateFormatter from \"~/utils/DateFormatter\";\nimport { arrayValueFromQueryString } from \"~/utils/ParseHelper/ParseHelper\";\nimport SystemUserFactory from \"~/utils/SystemUserFactory\";\nimport store from \"../../../../store\";\nimport styles from \"./style.module.less\";\ninterface BaseAuditQuery {\n environments: string[];\n users: string[];\n projects: string[];\n projectGroups: string[];\n eventCategories: string[];\n eventGroups: string[];\n eventAgents: string[];\n documentTypes: string[];\n tenants: string[];\n tags: string[];\n from?: string;\n to?: string;\n regardingAny: string[];\n spaces: string[];\n}\ninterface EventListOptions {\n environments?: string[];\n users?: string[];\n projects?: string[];\n projectGroups?: string[];\n eventCategories?: string[];\n eventGroups?: string[];\n eventAgents?: string[];\n documentTypes?: string[];\n tenants?: string[];\n tags?: string[];\n from?: string;\n to?: string;\n regardingAny?: string[];\n spaces?: string[];\n includeSystem?: string;\n asCsv?: boolean;\n excludeDifference?: boolean;\n}\ninterface AuditQuery extends BaseAuditQuery {\n includeSystem?: boolean;\n}\n// Using the QueryStringFilters requires a type with all values as strings\n// This can be removed when switching to managing query params through the routing infrastructure\ninterface LegacyAuditQuery extends BaseAuditQuery, IQuery {\n includeSystem?: string;\n}\ninterface AuditPageLoaderData {\n environments: EnvironmentResource[];\n users: UserResource[];\n projects: ProjectSummaryResource[];\n projectGroups: ProjectGroupResource[];\n eventCategories: EventCategoryResource[];\n eventGroups: EventGroupResource[];\n eventAgents: EventAgentResource[];\n documentTypes: DocumentTypeResource[];\n tenants: TenantResource[];\n spaces: SpaceResource[];\n auditStreamConfiguration: AuditStreamConfigurationResource | null;\n}\ninterface AuditFilter extends EventFilterSelections {\n DateOption: DateOption;\n DateRange: DateRange;\n RegardingAny: string[];\n Spaces: string[];\n IncludeSystem: boolean;\n}\nexport enum DateOption {\n Today = \"Today\",\n Last7Days = \"Last 7 Days\",\n Last30Days = \"Last 30 Days\",\n Last60Days = \"Last 60 Days\",\n Custom = \"Custom\"\n}\ninterface DateRange {\n startDate: Moment;\n endDate: Moment;\n}\nconst AUDIT_PAGE_SIZE = 30;\nconst AuditQueryStringFilters = QueryStringFilters.For();\nconst dateFormatForApi = \"YYYY-MM-DDTHH:mm:ss.Z\"; // This matches the server-side date format for subscription notification deep links, play carefully!\nconst dateFormatForHumans = \"D MMMM YYYY\";\nexport const auditPageTitle = \"Audit\";\nexport async function auditPageLoader(repository: Repository): Promise {\n const environments = isAllowed({ permission: Permission.EnvironmentView, environment: \"*\" }) ? repository.Environments.all() : Promise.resolve([]);\n const usersPromise = isAllowed({ permission: Permission.UserView }) ? repository.Users.all() : Promise.resolve([]);\n const projects = isAllowed({ permission: Permission.ProjectView, wildcard: true }) ? repository.Projects.summaries() : Promise.resolve([]);\n const projectGroups = isAllowed({ permission: Permission.ProjectGroupView, projectGroup: \"*\" }) ? repository.ProjectGroups.all() : Promise.resolve([]);\n const eventCategories = repository.Events.categories({});\n const eventGroups = repository.Events.groups({});\n const eventAgents = repository.Events.eventAgents();\n const documentTypes = repository.Events.documentTypes({});\n const tenants = isAllowed({ permission: Permission.TenantView, tenant: \"*\" }) ? repository.Tenants.all() : Promise.resolve([]);\n const spaces = repository.Users.getSpaces(session.currentUser!);\n const auditStreamLicenseCheckPromise = isAuditStreamAccessible() ? repository.AuditStreamConfiguration.getAuditStreamLicenseCheck() : Promise.resolve({ HasAuditStreamLicenseFeature: false });\n const auditStreamLicenseCheck = await auditStreamLicenseCheckPromise;\n const users = await usersPromise;\n users.unshift(SystemUserFactory.systemUser());\n const auditStreamConfiguration = auditStreamLicenseCheck.HasAuditStreamLicenseFeature ? await repository.AuditStreamConfiguration.get() : null;\n return {\n environments: await environments,\n users,\n projects: await projects,\n projectGroups: await projectGroups,\n eventCategories: await eventCategories,\n eventGroups: await eventGroups,\n eventAgents: await eventAgents,\n documentTypes: await documentTypes,\n tenants: await tenants,\n spaces: await spaces,\n auditStreamConfiguration,\n };\n}\ninterface AuditPageProps {\n loaderData: AuditPageLoaderData;\n queryParams: AuditQuery;\n}\nfunction useDismissablePerformanceCallout(): PageContentProps[\"callout\"] {\n const [dismissed, setDismissed] = useLocalStorage(\"Octopus.Callout.AuditPerformance.Dismissed\", false);\n const onCloseCallout = () => {\n setDismissed(true);\n };\n return !dismissed\n ? {\n type: \"information\",\n title: \"Better performance\",\n content: (<>\n To improve performance, archived audit logs older than 90 days will only be available as downloadable files. These audit log files can be accessed through the overflow menu (three dots) on this page or through the API. You will\n need the EventRetentionView permission. Learn more about this change here.\n ),\n onClose: onCloseCallout,\n }\n : undefined;\n}\nexport function AuditPage({ loaderData, queryParams }: AuditPageProps) {\n const dismissablePerformanceCallout = useDismissablePerformanceCallout();\n const { doBusyTask, status: legacyDoBusyTaskStatus } = useLegacyDoBusyTask();\n const [pageIndex, setPageIndex] = useState(1);\n const [filterSelections, setFilterSelections] = useState(getInitialFilter(queryParams));\n const [datePickerDialogOpen, setDatePickerDialogOpen] = useState(false);\n const [dateOptions, setDateOptions] = useState(Object.values(DateOption));\n const [showSnackbar, setShowSnackbar] = useState(false);\n const [snackbarMessage, setSnackbarMessage] = useState(\"\");\n const [auditStreamConfiguration, setAuditStreamConfiguration] = useState(loaderData.auditStreamConfiguration);\n const eventListOptions = useMemo(() => getEventListOptions(filterSelections), [filterSelections]);\n const eventQuery = useQuery(async (repository) => {\n if (!isAllowed({ permission: Permission.EventView, wildcard: true })) {\n return null;\n }\n const paginationRequestParams = { skip: (pageIndex - 1) * AUDIT_PAGE_SIZE, take: AUDIT_PAGE_SIZE + 1 };\n if (isFeatureToggleEnabled(\"PermissionCheckOptimizationFeatureToggle\")) {\n const response = await repository.Events.getUnpaginatedEvents(eventListOptions);\n return { Events: response.Items, PageSize: response.TotalResults };\n }\n else {\n const response = await repository.Events.search({ ...eventListOptions, ...paginationRequestParams });\n return { Events: response.Events, PageSize: AUDIT_PAGE_SIZE };\n }\n }, [eventListOptions, pageIndex], \"Audit events\");\n useEffect(() => {\n return () => {\n store.dispatch(expanderActions.onExpanderContainerDestroyed({ containerKey: defaultContainerKey }));\n };\n }, []);\n const overflowActions = [createSubscriptionAction(), manageArchivesAction()].filter((item) => item !== null);\n const auditStreamPageAction: PageAction = {\n type: \"custom\",\n key: \"Audit Stream\",\n content: onAuditStreamUpdate(auditStreamConfiguration, message)} auditStreamConfiguration={auditStreamConfiguration}/>,\n hasPermissions: isAllowed({\n permission: Permission.ConfigureServer,\n wildcard: true,\n }),\n };\n const refreshPageAction: PageAction = {\n type: \"button\",\n buttonType: \"secondary\",\n label: \"Refresh\",\n onClick: () => eventQuery.refetch(),\n hasPermissions: isAllowed({\n permission: Permission.EventView,\n wildcard: true,\n }),\n };\n const exportPageAction: PrimaryPageAction = {\n type: \"button\",\n label: \"Export\",\n onClick: () => onExportClicked(),\n hasPermissions: isAllowed({\n permission: Permission.EventView,\n wildcard: true,\n }),\n };\n const pageActions = [auditStreamPageAction, refreshPageAction];\n if (!isAllowed({ permission: Permission.EventView, wildcard: true })) {\n return (\n {null}\n );\n }\n return ( onFiltersChanged(getDefaultFilter()),\n hasUserSelectedValues: !isEqual(getDefaultFilter(), filterSelections),\n },\n filtersSummary: dateFilterNote(),\n }} callout={dismissablePerformanceCallout} pagination={isFeatureToggleEnabled(\"PermissionCheckOptimizationFeatureToggle\")\n ? undefined\n : {\n ui: ( setPageIndex(p)} selectedItemsPerPage={AUDIT_PAGE_SIZE} onPageSizeChange={(_) => { }} totalResults=\"unknown\" hasMoreResults={(eventQuery.result?.Events.length ?? 0) > AUDIT_PAGE_SIZE}/>),\n placement: \"top\",\n }}>\n legacyQueryFromFilters(filter, true)} getFilter={getFilterFromQuery} onFilterChange={(filters) => {\n onFiltersChanged(filters);\n }}/>\n {renderContent()}\n setShowSnackbar(false)} content={snackbarMessage} textAlign={\"center\"}/>\n );\n function onAuditStreamUpdate(auditStreamConfiguration: AuditStreamConfigurationResource, message: string) {\n setShowSnackbar(true);\n setSnackbarMessage(message);\n setAuditStreamConfiguration(auditStreamConfiguration);\n }\n function renderContent() {\n if (!eventQuery.result)\n return null;\n const { Events: items, PageSize: pageSize } = eventQuery.result;\n return (<>\n \n {renderNoResults()}\n
    } rowKey={(item) => item.Id} items={items.slice(0, pageSize)} renderRow={({ item }) => {\n const category = loaderData.eventCategories.find((x) => x.Id === item.Category);\n return (\n \n );\n }}/>\n );\n }\n function renderNoResults() {\n const startDate = DateFormatter.dateToCustomFormat(filterSelections.DateRange.startDate.clone(), dateFormatForHumans);\n const endDate = DateFormatter.dateToCustomFormat(filterSelections.DateRange.endDate.clone(), dateFormatForHumans);\n return (\n Looks like we don't have any results between the dates{\" \"}\n \n {startDate} - {endDate}.\n \n
    \n Try expanding this range.\n
    );\n }\n function advancedFilters(): React.ReactNode {\n return (\n {filterSelections.RegardingAny && filterSelections.RegardingAny.length > 0 && ( {\n onFiltersChanged({ ...filterSelections, RegardingAny: [] });\n }}>\n Regarding documents:\n
      \n {filterSelections.RegardingAny.map((documentId) => (
    • \n {documentId}\n
    • ))}\n
    \n
    )}\n onFiltersChanged({ ...filterSelections, DocumentTypes })} onChangeEnvironments={(Environments) => onFiltersChanged({ ...filterSelections, Environments })} onChangeEventCategories={(EventCategories) => onFiltersChanged({ ...filterSelections, EventCategories })} onChangeEventGroups={(EventGroups) => onFiltersChanged({ ...filterSelections, EventGroups })} onChangeEventAgents={(EventAgents) => onFiltersChanged({ ...filterSelections, EventAgents })} onChangeProjects={(Projects) => onFiltersChanged({ ...filterSelections, Projects })} onChangeProjectGroups={(ProjectGroups) => onFiltersChanged({ ...filterSelections, ProjectGroups })} onChangeTenants={(Tenants) => onFiltersChanged({ ...filterSelections, Tenants })} onChangeTenantTags={(Tags) => onFiltersChanged({ ...filterSelections, Tags })} onChangeUsers={(Users) => onFiltersChanged({ ...filterSelections, Users })} onChangeSpaces={(Spaces) => onFiltersChanged({ ...filterSelections, Spaces })} onIncludeSystemChange={(IncludeSystem) => onFiltersChanged({ ...filterSelections, IncludeSystem })}/>\n
    );\n }\n function dateFilterHeader(dateOptionEnum: DateOption[]) {\n const onDateChange = async (value: string) => {\n const dateOption = dateOptionEnum.find((option) => option.toString() === value);\n if (dateOption) {\n if (dateOption === DateOption.Custom) {\n openDialog();\n }\n else {\n await onDatePickerChange(dateOption, convertDateOptionToDateRange(dateOption));\n }\n }\n };\n const dateOptions = dateOptionEnum.map((value) => {\n return {\n text: value,\n value,\n };\n });\n return (
    \n {datePickerDialogOpen && ( onDatePickerChange(DateOption.Custom, range)} onCancelClick={() => clearDialogState()}/>)}\n this.setVerbose(verbose === \"true\")} items={[\n { text: \"Info\", value: \"false\" },\n { text: \"Verbose\", value: \"true\" },\n ]} label=\"Log level\"/>\n
    \n
    \n this.setEventNotificationSubscription({ EmailShowDatesInTimeZoneId: x! })} items={this.props.lookupData.timezones.map((pg) => ({ value: pg.Id, text: pg.Name }))} label=\"Select timezone\"/>\n Any date/times in emails will be shown using this timezone.\n \n\n \n this.setEventNotificationSubscription({ EmailPriority: x })}>\n \n \n \n \n \n\n \n {this.props.lookupData.serverUri ? (\n Emails will include a deep-link to your Octopus audit screen (with filters matching the selected events). The base url that will be used is:{\" \"}\n {this.props.lookupData.serverUri}.\n ) : (\n This email can include a deep-link to your Octopus audit screen (with filters matching the selected events). To enable this feature, simply set a url in your{\" \"}\n Octopus Server's configuration settings.\n )}\n \n\n \n\n \n this.setEventNotificationSubscription({ WebhookURI: x })} label=\"Payload url\" error={this.getFieldError(\"EventNotificationSubscription.WebhookURI\")}/>\n \n The payload will be delivered in the body of a POST request using an application/json content type, contained in a parameter called \"Payload\". Each payload will contain a single event.\n \n \n\n \n this.setEventNotificationSubscription({ WebhookHeaderKey: x })} label=\"Header Key\" error={this.getFieldError(\"WebhookHeaderKey\")}/>\n this.setEventNotificationSubscription({ WebhookHeaderValue: x })} label=\"Header Value\" error={this.getFieldError(\"WebhookHeaderValue\")}/>\n \n\n \n this.setEventNotificationSubscription({ WebhookTeams: x })} value={this.state.model.EventNotificationSubscription.WebhookTeams}/>\n \n By default, webhook requests will be sent with a global scope (all events will be sent). You may narrow the security scope to one or more teams. The subscription will then be limited to the events that the\n given team(s) can view. The team(s) must have at least EventView permissions.\n \n \n\n \n this.setEventNotificationSubscription({ WebhookTimeout: x })} granularity={TimeSpanSelector.SecondGranularity}/>\n The request to send the payload will time out after the time specified.\n \n
    \n \n )}\n );\n }\n private createNewSubscription() {\n const filterSelections = this.props.filterSelections;\n // See the note in the EventFilter's \"save\" method for the reasoning behind this \"hack\".\n let selectedDocumentTypes: string[] = [];\n if (filterSelections.DocumentTypes) {\n selectedDocumentTypes = filterSelections.DocumentTypes.map((x) => {\n return decodeURIComponent(x);\n });\n }\n const newSubscription: NewSubscriptionResource = {\n Name: \"\",\n SpaceId: client.spaceId,\n Type: SubscriptionType.Event,\n IsDisabled: false,\n EventNotificationSubscription: {\n Filter: {\n Users: filterSelections.Users,\n Projects: filterSelections.Projects,\n ProjectGroups: filterSelections.ProjectGroups,\n Environments: filterSelections.Environments,\n EventGroups: filterSelections.EventGroups,\n EventCategories: filterSelections.EventCategories,\n EventAgents: filterSelections.EventAgents,\n Tenants: filterSelections.Tenants,\n Tags: filterSelections.Tags,\n DocumentTypes: selectedDocumentTypes,\n },\n EmailTeams: [],\n EmailFrequencyPeriod: TimeSpanString.OneHour,\n EmailShowDatesInTimeZoneId: getEmailShowDatesInTimeZoneId(this.props.lookupData.timezones),\n EmailPriority: EmailPriority.Normal,\n WebhookURI: \"\",\n WebhookTeams: [],\n WebhookTimeout: TimeSpanString.TenSeconds,\n WebhookHeaderKey: null!,\n WebhookHeaderValue: null!,\n },\n };\n return newSubscription;\n function getEmailShowDatesInTimeZoneId(timezones: ServerTimezoneResource[]) {\n const serverLocalTimezones = timezones.filter((tz: ServerTimezoneResource) => {\n return tz.IsLocal === true;\n });\n return serverLocalTimezones.length > 0 ? serverLocalTimezones[0].Id : \"\";\n }\n }\n private handleSaveClick = async () => {\n await this.doBusyTask(async () => {\n const isNew = !isExistingSubscriptionResource(this.state.model);\n const result = await repository.Subscriptions.save(this.state.model);\n this.setState({\n model: result,\n cleanModel: cloneDeep(result),\n newId: isNew ? result.Id : null!,\n });\n });\n };\n private handleDeleteConfirm = async (model: SubscriptionResource) => {\n await repository.Subscriptions.del(model);\n this.setState({ deleted: true });\n return true;\n };\n private handleEnabledToggle = async (model: SubscriptionResource) => {\n const isDisabled = !model.IsDisabled; // Toggle the current value.\n model.IsDisabled = isDisabled;\n await this.doBusyTask(async () => {\n const isNew = model.Id == null;\n const result = await repository.Subscriptions.save(model);\n this.setState({\n model: result,\n cleanModel: cloneDeep(result),\n newId: isNew ? result.Id : null!,\n });\n });\n };\n private eventFilterSummary() {\n return Summary.summary();\n }\n private setEventNotificationSubscription(state: Pick) {\n this.setChildState2(\"model\", \"EventNotificationSubscription\", state);\n }\n private setEventNotificationSubscriptionFilter(state: Pick) {\n this.setChildState3(\"model\", \"EventNotificationSubscription\", \"Filter\", state);\n }\n private emailTeamsSummary() {\n return this.teamsSummary(this.state.model.EventNotificationSubscription.EmailTeams);\n }\n private emailFrequencySummary() {\n return Summary.summary(TimeSpanHelper.timeSpanTextToHumanReadableString(this.state.model.EventNotificationSubscription.EmailFrequencyPeriod));\n }\n private emailPrioritySummary() {\n const val = this.state.model.EventNotificationSubscription.EmailPriority || EmailPriority.Normal;\n return val === EmailPriority.Normal ? Summary.default(\"Normal\") : Summary.summary(val);\n }\n private webhookPayloadUrlSummary() {\n return this.state.model.EventNotificationSubscription.WebhookURI ? Summary.summary(this.state.model.EventNotificationSubscription.WebhookURI) : Summary.placeholder(\"No payload url assigned\");\n }\n private webhookTeamsSummary() {\n return this.teamsSummary(this.state.model.EventNotificationSubscription.WebhookTeams);\n }\n private webhookTimeoutSummary() {\n return Summary.summary(TimeSpanHelper.timeSpanTextToHumanReadableString(this.state.model.EventNotificationSubscription.WebhookTimeout));\n }\n private teamsSummary(selectedTeamIds: string[]) {\n if (selectedTeamIds.length > 0) {\n const teamChips = this.props.lookupData.teams.filter((t) => selectedTeamIds.includes(t.Id)).map((t) => );\n return Summary.summary(
    Limited to teams {buildValueList(teamChips)}
    );\n }\n else {\n return Summary.placeholder(\"No teams selected\");\n }\n }\n static displayName = \"SubscriptionForm\";\n}\nfunction isCreateSubscriptionProps(props: SubscriptionPageProps): props is CreateSubscriptionProps {\n return \"create\" in props;\n}\nexport function SubscriptionPage(props: SubscriptionPageProps) {\n const location = useLocation();\n return ;\n}\n","import * as React from \"react\";\nimport { OverflowMenu } from \"~/components/OverflowMenu/OverflowMenu\";\nimport type { MenuItem } from \"~/components/OverflowMenu/OverflowMenu\";\nimport styles from \"./style.module.less\";\ninterface ListItemProps {\n secondaryAction?: React.ReactElement;\n overflowMenuItems?: Array;\n}\nconst ListItem: React.StatelessComponent> = (props) => {\n return (\n {props.children}\n {props.secondaryAction && {props.secondaryAction}}\n {props.overflowMenuItems && (\n \n )}\n );\n};\nListItem.displayName = \"ListItem\"\nListItem.displayName = \"ListItem\";\nexport default ListItem;\n","/* eslint-disable @typescript-eslint/no-non-null-assertion */\nimport type { PrimaryPageAction } from \"@octopusdeploy/design-system-components\";\nimport type { SubscriptionResource, ResourceCollection, GetTeamsLookupBffResponseTeam } from \"@octopusdeploy/octopus-server-client\";\nimport { Permission } from \"@octopusdeploy/octopus-server-client\";\nimport { links } from \"@octopusdeploy/portal-routes\";\nimport type { Dictionary } from \"lodash\";\nimport { keyBy } from \"lodash\";\nimport * as React from \"react\";\nimport { repository } from \"~/clientInstance\";\nimport { TeamChip, DisabledChip } from \"~/components/Chips/index\";\nimport { DataBaseComponent } from \"~/components/DataBaseComponent\";\nimport type { DataBaseComponentState } from \"~/components/DataBaseComponent\";\nimport { OverflowMenuItems } from \"~/components/OverflowMenu/OverflowMenu\";\nimport { PageContent } from \"~/components/PageContent/PageContent\";\nimport List from \"~/components/PagingList\";\nimport { isAllowed } from \"~/components/PermissionCheck/PermissionCheck\";\nimport ListItem from \"~/primitiveComponents/dataDisplay/ListItem/ListItem\";\nimport ListTitle from \"~/primitiveComponents/dataDisplay/ListTitle/ListTitle\";\nimport { timeOperationOptions } from \"~/utils/OperationTimer/timeOperation\";\nimport TimeSpanHelper from \"~/utils/TimeSpanHelper\";\nimport styles from \"./style.module.less\";\nclass SubscriptionList extends List {\n}\ninterface SubscriptionPageState extends DataBaseComponentState {\n subscriptionsResponse: ResourceCollection;\n teamIndex: Dictionary;\n}\nexport class SubscriptionsPage extends DataBaseComponent<{}, SubscriptionPageState> {\n constructor(props: {}) {\n super(props);\n this.state = {\n subscriptionsResponse: null!,\n teamIndex: null!,\n };\n }\n async componentDidMount() {\n await this.doBusyTask(async () => {\n const subscriptionsResponse = await repository.Subscriptions.list();\n const teams = await repository.Teams.lookupBff();\n const teamIndex = keyBy(teams, (t) => t.Id);\n this.setState({ subscriptionsResponse, teamIndex });\n }, { timeOperationOptions: timeOperationOptions.forInitialLoad() });\n }\n render() {\n const addSubscriptionPageAction: PrimaryPageAction = {\n type: \"navigate\",\n hasPermissions: isAllowed({ permission: Permission.SubscriptionCreate }),\n label: \"Add Subscription\",\n path: links.createSubscriptionPage.generateUrl(),\n };\n return (\n {this.state.subscriptionsResponse && ( this.buildSubscriptionRow(item)} onFilter={this.filter} filterSearchEnabled={true} apiSearchParams={[\"partialName\"]} onRowRedirectUrl={(item: SubscriptionResource) => links.editSubscriptionPage.generateUrl({ subscriptionId: item.Id })} filterHintText=\"Filter by name...\"/>)}\n );\n }\n private filter(filter: string, resource: SubscriptionResource) {\n return !filter || filter.length === 0 || !resource || resource.Name.toLowerCase().includes(filter.toLowerCase());\n }\n private handleEnabledToggle = async (model: SubscriptionResource) => {\n model.IsDisabled = !model.IsDisabled; // Toggle the current value.\n await this.doBusyTask(async () => {\n const result = await repository.Subscriptions.save(model);\n const response: ResourceCollection = this.state.subscriptionsResponse;\n response.Items.forEach((item: SubscriptionResource, i: number) => {\n if (item.Id === result.Id) {\n response.Items[i] = result;\n }\n });\n this.setState({\n subscriptionsResponse: response,\n });\n });\n };\n private buildSubscriptionRow(subscription: SubscriptionResource) {\n const emailTeams = subscription.EventNotificationSubscription.EmailTeams.map((id) => this.state.teamIndex[id]).filter((t) => !!t);\n const emailFrequencyPeriodText = TimeSpanHelper.timeSpanTextToHumanReadableString(subscription.EventNotificationSubscription.EmailFrequencyPeriod);\n const webhookTeams = subscription.EventNotificationSubscription.WebhookTeams.map((id) => this.state.teamIndex[id]).filter((t) => !!t);\n return (
    \n this.handleEnabledToggle(subscription), { permission: Permission.SubscriptionEdit })]}>\n \n {subscription.Name}\n {subscription.IsDisabled && (\n {\" \"}\n \n )}\n \n\n {emailTeams.length > 0 && (\n Email the teams{\" \"}\n {emailTeams.map((t) => ())}{\" \"}\n every {emailFrequencyPeriodText}\n )}\n {emailTeams.length > 0 && subscription.EventNotificationSubscription.WebhookURI &&
    }\n {subscription.EventNotificationSubscription.WebhookURI && (\n Send a POST to webhook {subscription.EventNotificationSubscription.WebhookURI}\n {webhookTeams.length > 0 && (\n {\" \"}\n with events scoped to those viewable by teams:{\" \"}\n {webhookTeams.map((t) => ())}\n )}\n )}\n
    \n
    );\n }\n static displayName = \"SubscriptionsPage\";\n}\n","/* eslint-disable @typescript-eslint/no-non-null-assertion */\nimport { ActionButton, Checkbox } from \"@octopusdeploy/design-system-components\";\nimport type { ExternalSecurityGroupProviderResource, NamedReferenceItem } from \"@octopusdeploy/octopus-server-client\";\nimport * as React from \"react\";\nimport OkDialogLayout from \"~/components/DialogLayout/OkDialogLayout\";\nimport { SimplePagingList } from \"~/components/PagingList/SimplePagingList\";\nimport { Text } from \"~/components/form\";\nimport { repository } from \"../../../../clientInstance\";\nimport type { DataBaseComponentState } from \"../../../../components/DataBaseComponent/DataBaseComponent\";\nimport { DataBaseComponent } from \"../../../../components/DataBaseComponent/DataBaseComponent\";\nclass NamedReferenceList extends SimplePagingList {\n}\ntype GroupSelectionState = {\n [key: string]: boolean;\n};\ninterface AddExternalGroupDialogContentProps {\n lookupUri: string;\n onChange(selected: NamedReferenceItem[]): void;\n doBusyTask(action: () => Promise): Promise;\n}\ninterface AddExternalGroupDialogContentState {\n selected: GroupSelectionState;\n searchText?: string;\n foundGroups?: NamedReferenceItem[];\n}\nclass AddExternalGroupDialogContent extends React.Component {\n constructor(props: AddExternalGroupDialogContentProps) {\n super(props);\n this.state = {\n searchText: null!,\n selected: {},\n foundGroups: null!,\n };\n }\n handleSearch = async () => {\n await this.props.doBusyTask(async () => {\n const results = await repository.ExternalSecurityGroups.search(this.props.lookupUri, this.state.searchText!);\n this.setState({ foundGroups: results, selected: {} });\n });\n };\n renderRow = (group: NamedReferenceItem) => {\n const label = group.DisplayIdAndName ? `${group.DisplayName} (${group.Id})` : group.DisplayName;\n return ;\n };\n handleSelected = (groupId: string) => {\n return (e: {}) => {\n const newState = { selected: { ...this.state.selected, [groupId]: !this.state.selected[groupId] } };\n this.setState(newState);\n this.props.onChange(this.state.foundGroups!.filter((g) => !!newState.selected[g.Id]));\n };\n };\n render() {\n return (
    \n
    \n this.setState({ searchText: val })}/>\n \n
    \n {this.state.foundGroups ? : Search for and select an external group}\n
    );\n }\n static displayName = \"AddExternalGroupDialogContent\";\n}\ninterface AddExternalGroupDialogButtonProps {\n securityGroupProvider: ExternalSecurityGroupProviderResource;\n onSelected(items: NamedReferenceItem[]): void;\n}\ninterface AddExternalGroupDialogButtonState extends DataBaseComponentState {\n selected: NamedReferenceItem[];\n}\nclass AddExternalGroup extends DataBaseComponent {\n constructor(props: AddExternalGroupDialogButtonProps) {\n super(props);\n this.state = {\n selected: [],\n };\n }\n handleOkClick = () => {\n this.props.onSelected(this.state.selected);\n return true;\n };\n render() {\n const provider = this.props.securityGroupProvider;\n return (\n this.setState({ selected })} doBusyTask={this.doBusyTask} lookupUri={provider.LookupUri}/>\n );\n }\n static displayName = \"AddExternalGroup\";\n}\nexport default AddExternalGroup;\n","/* eslint-disable @typescript-eslint/no-non-null-assertion */\nimport * as React from \"react\";\nimport type { DataBaseComponentState } from \"~/components/DataBaseComponent/DataBaseComponent\";\nimport { DataBaseComponent } from \"~/components/DataBaseComponent/DataBaseComponent\";\nimport OkDialogLayout from \"~/components/DialogLayout/OkDialogLayout\";\nimport { Text } from \"~/components/form\";\ninterface AddExternalRoleState extends DataBaseComponentState {\n roleId: string;\n displayName: string;\n}\ninterface AddExternalRoleProps {\n onSelected(roleId: string, displayName: string): boolean;\n}\nclass AddExternalRole extends DataBaseComponent {\n constructor(props: AddExternalRoleProps) {\n super(props);\n this.state = {\n roleId: null!,\n displayName: null!,\n };\n }\n render() {\n return ( this.props.onSelected(this.state.roleId, this.state.displayName)}>\n this.setState({ roleId })}/>\n this.setState({ displayName })}/>\n );\n }\n static displayName = \"AddExternalRole\";\n}\nexport default AddExternalRole;\n","import type { UserResource } from \"@octopusdeploy/octopus-server-client\";\nimport * as React from \"react\";\nimport type { DataBaseComponentState } from \"~/components/DataBaseComponent/DataBaseComponent\";\nimport { DataBaseComponent } from \"~/components/DataBaseComponent/DataBaseComponent\";\nimport OkDialogLayout from \"~/components/DialogLayout/OkDialogLayout\";\nimport { UserMultiSelect } from \"~/components/MultiSelect/UserMultiSelect\";\ninterface AddMemberDialogButtonState extends DataBaseComponentState {\n userIds: string[];\n}\ninterface AddMemberDialogButtonProps {\n users: UserResource[];\n onSelected(users: string[]): void;\n}\nclass AddMember extends DataBaseComponent {\n constructor(props: AddMemberDialogButtonProps) {\n super(props);\n this.state = {\n userIds: [],\n };\n }\n render() {\n return ( 1 ? \"Add members\" : \"Add member\"} okButtonLabel=\"Add\" busy={this.state.busy} errors={this.errors} onOkClick={() => this.props.onSelected(this.state.userIds)}>\n this.setState({ userIds })} value={this.state.userIds ? this.state.userIds : []}/>\n );\n }\n static displayName = \"AddMember\";\n}\nexport default AddMember;\n","/* eslint-disable @typescript-eslint/no-non-null-assertion */\nimport type { TeamResource, InvitationResource } from \"@octopusdeploy/octopus-server-client\";\nimport * as React from \"react\";\nimport { client, repository } from \"~/clientInstance\";\nimport CopyToClipboard from \"~/components/CopyToClipboardButton/CopyToClipboardButton\";\nimport type { DataBaseComponentState } from \"~/components/DataBaseComponent/DataBaseComponent\";\nimport { DataBaseComponent } from \"~/components/DataBaseComponent/DataBaseComponent\";\nimport OkDialogLayout from \"~/components/DialogLayout/OkDialogLayout\";\nimport { Section } from \"~/components/Section/Section\";\nimport styles from \"./style.module.less\";\ninterface UserInviteDialogProps {\n team: TeamResource;\n}\ninterface UserInviteDialogState extends DataBaseComponentState {\n invite?: InvitationResource;\n}\nexport class UserInviteDialog extends DataBaseComponent {\n constructor(props: UserInviteDialogProps) {\n super(props);\n this.state = {};\n }\n async componentDidMount() {\n return this.doBusyTask(async () => {\n const invite = await repository.Invitations.invite([this.props.team.Id], this.props.team.SpaceId!);\n this.setState({ invite });\n });\n }\n render() {\n const resolveLink = (invite: InvitationResource) => `${client.resolve(invite.Links.Register)}`;\n const anchor = (link: string) => ( e.stopPropagation()}>\n {link}\n );\n const body = this.state.invite && (
    \n
    \n Invitation codes allow users to register their own accounts on the Octopus Deploy server. Each code can be used at most once, and all codes will expire 48 hours after creation.
    \n
    \n
    Please provide the link below to the invited user:
    \n
    \n
    \n
    \n \n
    \n
    {anchor(resolveLink(this.state.invite))}
    \n
    \n
    \n
    );\n return ( true}>\n {body}\n );\n }\n static displayName = \"UserInviteDialog\";\n}\n","import { UserGroupIcon } from \"@octopusdeploy/design-system-icons\";\nimport type { ProjectedTeamReferenceDataItem, NamedReferenceItem, TeamMembership, SpaceResource } from \"@octopusdeploy/octopus-server-client\";\nimport * as React from \"react\";\nimport { ExternalSecurityGroupChip, SpaceChip } from \"~/components/Chips\";\nimport { SimplePagingList } from \"~/components/PagingList\";\nimport ListTitle from \"~/primitiveComponents/dataDisplay/ListTitle/ListTitle\";\nimport styles from \"./ProjectedTeamsList.module.less\";\ntype TeamMembershipTypes = ProjectedTeamReferenceDataItem | TeamMembership;\nclass ProjectedTeamsList extends SimplePagingList {\n}\ninterface ProjectedTeamsListItemProps {\n projectedTeam: TMembership;\n spaceResource?: SpaceResource;\n}\ntype Nullable = T | null | undefined;\nconst ExternalGroupChips: React.FC<{\n externalGroups: Nullable;\n}> = ({ externalGroups }) => {\n if (!externalGroups) {\n return null;\n }\n return (<>\n {externalGroups.map((group) => ())}\n );\n};\nExternalGroupChips.displayName = \"ExternalGroupChips\"\ninterface ProjectedTeamDescriptionProps {\n isDirectAssignment: boolean;\n externalGroups?: NamedReferenceItem[];\n}\nconst ProjectedTeamDescription: React.FC = ({ isDirectAssignment, externalGroups }) => {\n if (!externalGroups) {\n return null;\n }\n return (<>\n {externalGroups && externalGroups.length > 0 && \"Mapped from external source \"}\n \n {isDirectAssignment && externalGroups && externalGroups.length > 0 && (\n {\" \"}\n and also directly assigned to team.\n )}\n );\n};\nProjectedTeamDescription.displayName = \"ProjectedTeamDescription\"\nconst ProjectedTeamListItem: React.FC> = ({ projectedTeam, spaceResource }) => (\n
    \n \n
    \n
    \n {\"TeamName\" in projectedTeam ? projectedTeam.TeamName : projectedTeam.Name}\n {spaceResource && }\n
    \n
    \n \n
    \n
    \n
    \n
    );\nProjectedTeamListItem.displayName = \"ProjectedTeamListItem\"\nexport { ProjectedTeamsList, ProjectedTeamListItem, ProjectedTeamsListItemProps, ProjectedTeamDescription, ProjectedTeamDescriptionProps, ExternalGroupChips };\nexport default ProjectedTeamsList;\n","/* eslint-disable @typescript-eslint/consistent-type-assertions */\nimport type { UserResource, NamedReferenceItem } from \"@octopusdeploy/octopus-server-client\";\nimport { links } from \"@octopusdeploy/portal-routes\";\nimport * as React from \"react\";\nimport InternalLink from \"~/components/Navigation/InternalLink/InternalLink\";\nimport { Avatar } from \"~/primitiveComponents/dataDisplay/Avatar/Avatar\";\nimport workTeamImage from \"../../../../primitiveComponents/dataDisplay/Avatar/img/work_team.svg\";\nimport styles from \"./MemberRow.module.less\";\ntype MemberTypes = UserResource | NamedReferenceItem;\nfunction isUser(item: MemberTypes): item is UserResource {\n return !!(item as UserResource).Username;\n}\nfunction nameWithUsername(u: UserResource) {\n return !!u && u.DisplayName !== u.Username ? `${u.DisplayName} (${u.Username})` : u.DisplayName;\n}\nfunction namedGroup(u: NamedReferenceItem) {\n return u.DisplayIdAndName ? `${u.DisplayName} (${u.Id})` : u.DisplayName;\n}\ninterface MemberRowProps {\n member: MemberTypes;\n}\nexport const MemberRow: React.StatelessComponent = (props) => {\n const member = props.member;\n const image = isUser(member) ? () : ({member.DisplayIdAndName);\n const name = isUser(member) ? nameWithUsername(member) : namedGroup(member);\n const nameLink = member && member.Id && member.Id.toLowerCase().startsWith(\"users-\") ? ( // only internal link to Octopus controlled user accounts\n {name}) : (name);\n return (
    \n {image}\n {nameLink}\n
    );\n};\nMemberRow.displayName = \"MemberRow\"\n","/* eslint-disable @typescript-eslint/no-non-null-assertion */\nimport type { TeamResource, TeamMembership, UserResource } from \"@octopusdeploy/octopus-server-client\";\nimport * as React from \"react\";\nimport { repository } from \"~/clientInstance\";\nimport type { DataBaseComponentState } from \"~/components/DataBaseComponent\";\nimport DataBaseComponent from \"~/components/DataBaseComponent\";\nimport InfoDialogLayout from \"~/components/DialogLayout/InfoDialogLayout\";\nimport { SimplePagingList } from \"~/components/PagingList\";\nimport ListTitle from \"~/primitiveComponents/dataDisplay/ListTitle\";\nimport { ProjectedTeamDescription } from \"../ProjectedTeamsList/ProjectedTeamsList\";\nimport projectedTeamStyles from \"../ProjectedTeamsList/ProjectedTeamsList.module.less\";\nimport { MemberRow } from \"./MemberRow\";\ninterface UserMember {\n user: UserResource;\n membership: TeamMembership;\n}\ninterface AllMembersProps {\n team: TeamResource;\n}\ninterface AllMembersState extends DataBaseComponentState {\n userMembers: UserMember[];\n}\nclass AllMembers extends DataBaseComponent {\n constructor(props: AllMembersProps) {\n super(props);\n this.state = { userMembers: [] };\n }\n async componentDidMount() {\n await this.doBusyTask(async () => {\n const memberships = await repository.TeamMembership.previewTeam(this.props.team);\n const users = await repository.Users.all({ ids: memberships.map((m) => m.UserId) });\n const userMembers = memberships.map((membership) => ({ user: users.find((u) => u.Id === membership.UserId)!, membership }));\n this.setState({\n userMembers,\n });\n });\n }\n render() {\n return (\n `${member.membership.TeamId}-${member.user.Id}`} onRow={(userMember) => (\n \n
    \n \n
    \n
    )} onFilter={(filter, userMember) => !filter || filter === \"\" || !userMember || userMember.user.DisplayName.toLowerCase().includes(filter.toLowerCase())} filterHintText=\"Filter by name...\"/>\n
    );\n }\n static displayName = \"AllMembers\";\n}\nexport default AllMembers;\n","/* eslint-disable @typescript-eslint/no-non-null-assertion */\n/* eslint-disable no-eq-null */\nimport { ActionButton, ActionButtonType, Callout } from \"@octopusdeploy/design-system-components\";\nimport type { SpaceResource, UserRoleResource } from \"@octopusdeploy/octopus-server-client\";\nimport { UserRoleConstants } from \"@octopusdeploy/octopus-server-client\";\nimport * as React from \"react\";\nimport { client } from \"~/clientInstance\";\nimport type { DataBaseComponentState } from \"~/components/DataBaseComponent/DataBaseComponent\";\nimport { DataBaseComponent } from \"~/components/DataBaseComponent/DataBaseComponent\";\nimport { DialogLayoutConnect } from \"~/components/Dialog/DialogLayoutConnect\";\nimport { DialogLayout } from \"~/components/DialogLayout/DialogLayout\";\nimport type { DialogLayoutDispatchProps } from \"~/components/DialogLayout/DialogLayout\";\nimport DisplayProperties from \"~/components/DisplayProperties/DisplayProperties\";\nimport { Feature, FeatureToggle } from \"~/components/FeatureToggle\";\nimport { EnvironmentMultiSelect } from \"~/components/MultiSelect/EnvironmentMultiSelect\";\nimport { ProjectGroupMultiSelect } from \"~/components/MultiSelect/ProjectGroupMultiSelect\";\nimport { ProjectMultiSelect } from \"~/components/MultiSelect/ProjectMultiSelect\";\nimport { TenantMultiSelect } from \"~/components/MultiSelect/TenantMultiSelect\";\nimport TransitionAnimation from \"~/components/TransitionAnimation/TransitionAnimation\";\nimport Note from \"../../../../primitiveComponents/form/Note/Note\";\nimport Select from \"../../../../primitiveComponents/form/Select/Select\";\nimport type { AvailableRoleScopes, ScopedUserRoleModel } from \"./EditTeamPage\";\nimport styles from \"./style.module.less\";\ninterface IncludeRoleDialogProps {\n roles: UserRoleResource[];\n isTeamConstrainedToASpace: boolean;\n spaces: SpaceResource[];\n loadScopedUserRoles: (spaceId: string) => Promise;\n scopedUserRole: ScopedUserRoleModel | null;\n isOnlySpaceManagerRoleOnSpaceManagerTeam: boolean;\n restrictToSpaceId?: string | null;\n onSave: (value: IncludeRoleDialogResult) => Promise;\n}\nexport interface IncludeRoleDialogResult {\n userRoleId: string;\n spaceId: string | null;\n projectGroupIds: string[];\n projectIds: string[];\n environmentIds: string[];\n tenantIds: string[];\n}\ninterface IncludeRoleDialogModel {\n userRoleId: string | null;\n spaceId: string | null;\n projectGroupIds: string[];\n projectIds: string[];\n environmentIds: string[];\n tenantIds: string[];\n}\ninterface IncludeRoleDialogState extends DataBaseComponentState {\n model: IncludeRoleDialogModel;\n page: IncludeRoleDialogPage;\n showPermissionDescriptions: boolean;\n availableScopes: AvailableRoleScopes | null;\n}\nenum IncludeRoleDialogPage {\n Value,\n Scope\n}\nclass IncludeRoleDialogInternal extends DataBaseComponent {\n constructor(props: IncludeRoleDialogProps & DialogLayoutDispatchProps) {\n super(props);\n const model = this.createScopedUserRoleViewModel(this.props.scopedUserRole);\n this.state = {\n model,\n page: this.props.scopedUserRole && this.canSetScopes(this.props.scopedUserRole.UserRoleId) ? IncludeRoleDialogPage.Scope : IncludeRoleDialogPage.Value,\n showPermissionDescriptions: false,\n availableScopes: null,\n };\n }\n async componentDidMount() {\n if (this.state.page === IncludeRoleDialogPage.Scope) {\n await this.doBusyTask(async () => {\n const availableScopes = await this.props.loadScopedUserRoles(this.state.model.spaceId!);\n this.setState({ availableScopes, page: IncludeRoleDialogPage.Scope });\n });\n }\n }\n render() {\n const selectedRole = (this.state.model && this.state.model.userRoleId ? this.props.roles.find((x) => x.Id === this.state.model.userRoleId) : undefined)!;\n const selectedRoleName = selectedRole && selectedRole.Name;\n const selectedSpace = (this.state.model && this.state.model.spaceId ? this.props.spaces.find((x) => x.Id === this.state.model.spaceId) : undefined)!;\n return ( (
    \n
    \n {}\n {selectedRole && selectedRole.Description &&
    {selectedRole.Description}
    }\n
    \n
    )\n : undefined}>\n
    \n {this.state.page === IncludeRoleDialogPage.Value && this.renderValuePage()}\n {this.state.page === IncludeRoleDialogPage.Scope && this.renderScopePage()}\n
    \n
    );\n }\n renderValuePage() {\n const rolesMustBeSpaceScoped = !!this.props.restrictToSpaceId;\n const roleMustBeSystemScoped = this.props.restrictToSpaceId === null;\n const roles = rolesMustBeSpaceScoped ? this.props.roles.filter(roleCanApplyToSpace) : roleMustBeSystemScoped ? this.props.roles.filter(roleCanApplyToSystem) : this.props.roles;\n const selectedRole = this.props.roles.find((r) => r.Id === this.state.model.userRoleId);\n return (\n ({ value: t.Id, text: t.Name }))} onChange={this.handleSpaceChange} allowFilter={true} value={this.state.model.spaceId!} disabled={this.props.restrictToSpaceId !== undefined} // They can't modify this is they've been sent a specific space.\n />\n This team will be able to perform the selected user role actions within this space.\n )}\n {this.renderRoleInfo()}\n );\n }\n renderScopePage() {\n if (this.state.availableScopes == null) {\n return null;\n }\n const selectedRole = this.props.roles.find((x) => x.Id === this.state.model.userRoleId);\n return selectedRole ? (\n

    Restrict this user role to one or more project groups, projects, environments or tenants.

    \n Leave empty to grant permissions across all project groups, projects, environments and tenants.\n this.handleProjectGroupScopeChange(x)} value={this.state.model.projectGroupIds}/>\n this.handleProjectScopeChange(x)} value={this.state.model.projectIds}/>\n this.handleEnvironmentScopeChange(x)} value={this.state.model.environmentIds}/>\n \n this.handleTenantScopeChange(x)} value={this.state.model.tenantIds}/>\n \n
    ) : null;\n }\n renderRoleInfo() {\n const roleId = this.state.model.userRoleId;\n if (!roleId) {\n return null;\n }\n const role = this.props.roles.find((r) => r.Id === roleId);\n if (!role) {\n return null;\n }\n return (
    \n {role.Description && (\n {role.Description}\n
    \n {\n await this.doBusyTask(async () => {\n // #dialogResizeHack\n this.setState({ showPermissionDescriptions: !this.state.showPermissionDescriptions });\n });\n }}/>\n
    \n {this.state.showPermissionDescriptions && role.SystemPermissionDescriptions.length > 0 && (\n \n
    \n
    \n System permissions granted:\n
    \n
      \n {role.SystemPermissionDescriptions.map((pd, i) => (
    • {pd}
    • ))}\n
    \n
    \n
    \n
    )}\n {this.state.showPermissionDescriptions && role.SpacePermissionDescriptions.length > 0 && (\n \n
    \n
    \n Space permissions granted:\n
    \n
      \n {role.SpacePermissionDescriptions.map((pd, i) => (
    • {pd}
    • ))}\n
    \n
    \n
    \n
    )}\n
    )}\n
    );\n }\n private createScopedUserRoleViewModel(scopedUserRole: ScopedUserRoleModel | null): IncludeRoleDialogModel {\n if (!scopedUserRole) {\n return {\n spaceId: getDefaultSpaceId(this.props.restrictToSpaceId, this.props.spaces),\n environmentIds: [],\n projectGroupIds: [],\n projectIds: [],\n tenantIds: [],\n userRoleId: null,\n };\n }\n const scopes = this.canSetScopes(scopedUserRole.UserRoleId)\n ? {\n environmentIds: scopedUserRole.EnvironmentIds,\n projectGroupIds: scopedUserRole.ProjectGroupIds,\n projectIds: scopedUserRole.ProjectIds,\n tenantIds: scopedUserRole.TenantIds,\n }\n : {\n environmentIds: [],\n projectGroupIds: [],\n projectIds: [],\n tenantIds: [],\n };\n return {\n ...scopes,\n spaceId: scopedUserRole.SpaceId!,\n userRoleId: scopedUserRole.UserRoleId,\n };\n function getDefaultSpaceId(restrictToSpaceId: string | null | undefined, spaces: SpaceResource[]) {\n return restrictToSpaceId !== undefined ? restrictToSpaceId : getDefaultSpaceIdIfAvailable();\n function getDefaultSpaceIdIfAvailable(): string | null {\n const defaultSpaceToSelect = spaces.find((s) => s.Id === client.spaceId);\n if (defaultSpaceToSelect) {\n return defaultSpaceToSelect.Id;\n }\n return null;\n }\n }\n }\n private canSetScopes(userRoleId: string) {\n // Space Manager role AND System scoped user roles can't have scopes, so we can't go to the scope page\n const selectedRole = this.props.roles.find((r) => r.Id === userRoleId);\n return selectedRole && !isSpaceManagerRole(userRoleId) && roleCanApplyToSpace(selectedRole);\n function isSpaceManagerRole(roleId: string): boolean {\n return roleId === UserRoleConstants.SpaceManagerRole;\n }\n }\n private handleRoleChange = async (userRoleId: string | undefined) => {\n await this.doBusyTask(async () => {\n // #dialogResizeHack\n this.setState((prev) => ({ model: { ...prev.model, userRoleId } }));\n });\n };\n private handleSpaceChange = async (spaceId: string | undefined) => {\n await this.doBusyTask(async () => {\n // #dialogResizeHack\n this.setState((prev) => ({ model: { ...prev.model, spaceId } }));\n });\n };\n private handleProjectScopeChange = async (projectIds: string[]) => {\n await this.doBusyTask(async () => {\n // #dialogResizeHack\n this.setState((prev) => ({ model: { ...prev.model, projectIds } }));\n });\n };\n private handleProjectGroupScopeChange = async (projectGroupIds: string[]) => {\n await this.doBusyTask(async () => {\n // #dialogResizeHack\n this.setState((prev) => ({ model: { ...prev.model, projectGroupIds } }));\n });\n };\n private handleEnvironmentScopeChange = async (environmentIds: string[]) => {\n await this.doBusyTask(async () => {\n // #dialogResizeHack\n this.setState((prev) => ({ model: { ...prev.model, environmentIds } }));\n });\n };\n private handleTenantScopeChange = async (tenantIds: string[]) => {\n await this.doBusyTask(async () => {\n // #dialogResizeHack\n this.setState((prev) => ({ model: { ...prev.model, tenantIds } }));\n });\n };\n private getLeftSideActions() {\n const actions = [];\n if (this.state.page === IncludeRoleDialogPage.Value) {\n const canProgressToDefineScopePage = this.canSetScopes(this.state.model.userRoleId!);\n if (canProgressToDefineScopePage || !!this.props.restrictToSpaceId) {\n const defineScope = ( {\n await this.doBusyTask(async () => {\n const availableScopes = await this.props.loadScopedUserRoles(this.state.model.spaceId!);\n this.setState({ availableScopes, page: IncludeRoleDialogPage.Scope });\n });\n }}/>);\n actions.push(defineScope);\n }\n }\n else {\n const previous = ( {\n // #dialogResizeHack\n await this.doBusyTask(async () => this.setState({ page: IncludeRoleDialogPage.Value }));\n }}/>);\n actions.push(previous);\n }\n return actions;\n }\n private getRightSideActions() {\n const cancel = ;\n return [cancel, this.createDoneAction()];\n }\n private createDoneAction() {\n return ( {\n await this.props.onSave(this.convertToResult(this.state.model));\n this.props.close();\n }}/>);\n }\n private convertToResult = (model: IncludeRoleDialogModel): IncludeRoleDialogResult => {\n const selectedRole = this.props.roles.find((r) => r.Id === model.userRoleId)!;\n const spaceId = roleCanApplyToSpace(selectedRole) ? model.spaceId : null!;\n const scopes = this.canSetScopes(model.userRoleId!)\n ? {\n environmentIds: model.environmentIds,\n projectGroupIds: model.projectGroupIds,\n projectIds: model.projectIds,\n tenantIds: model.tenantIds,\n }\n : {\n environmentIds: [],\n projectGroupIds: [],\n projectIds: [],\n tenantIds: [],\n };\n return {\n spaceId,\n userRoleId: model.userRoleId!,\n ...scopes,\n };\n };\n static displayName = \"IncludeRoleDialogInternal\";\n}\nfunction roleCanApplyToSpace(role: UserRoleResource) {\n return !!role.GrantedSpacePermissions.length;\n}\nfunction roleCanApplyToSystem(role: UserRoleResource) {\n // A role is either applicable at the space level, or the system level\n return !roleCanApplyToSpace(role);\n}\nconst IncludeRoleDialog = DialogLayoutConnect.to(IncludeRoleDialogInternal);\nexport default IncludeRoleDialog;\n","import WindowHelper from \"./WindowHelper\";\nexport default WindowHelper;\n","export default class WindowHelper {\n public static isElementInViewport(el: Element) {\n const rect = el.getBoundingClientRect();\n const vWidth = window.innerWidth || document.documentElement.clientWidth;\n const vHeight = window.innerHeight || document.documentElement.clientHeight;\n return rect.bottom > 0 && rect.right > 0 && rect.left < vWidth && rect.top < vHeight;\n }\n public static isElementCenterTouchable(el: Element) {\n const rect = el.getBoundingClientRect();\n return el.contains(document.elementFromPoint(rect.right - rect.width / 2, rect.bottom - rect.height / 2));\n }\n}\n","/* eslint-disable @typescript-eslint/no-explicit-any */\n/* eslint-disable @octopusdeploy/custom-portal-rules/no-restricted-imports */\nimport * as React from \"react\";\nimport type { ExpandableProps } from \"~/components/Expandable/Expandable\";\nimport Expandable from \"~/components/Expandable/Expandable\";\nimport type { MenuItem } from \"~/components/OverflowMenu/OverflowMenu\";\nimport { OverflowMenu } from \"~/components/OverflowMenu/OverflowMenu\";\nimport { CardTitle } from \"~/components/form/Sections\";\nimport styles from \"./style.module.less\";\ninterface ScopedUserRoleGroupExpanderProps {\n error?: string;\n title: React.ReactNode;\n overflowMenuItems?: Array;\n}\ntype Props = ScopedUserRoleGroupExpanderProps & ExpandableProps;\nexport class ScopedUserRoleGroupExpanderInternal extends React.Component {\n renderChild = (child: any): any => {\n if (!child) {\n return child;\n }\n const children = child.props && child.props.children ? { children: this.renderChildren(child.props.children) } : null;\n const props = children ? { ...child.props, ...children } : child.props;\n return React.isValidElement(child) ? React.cloneElement(child, props) : child;\n };\n renderChildren = (children: any) => {\n return React.Children.map(children, this.renderChild);\n };\n render() {\n const title = (
    \n {this.props.title}\n {this.props.overflowMenuItems && (
    \n \n
    )}\n
    );\n return (
    \n \n
    {this.renderChildren(this.props.children)}
    \n
    );\n }\n static displayName = \"ScopedUserRoleGroupExpanderInternal\";\n}\nconst ScopedUserRoleGroupExpander = Expandable(ScopedUserRoleGroupExpanderInternal);\nexport default ScopedUserRoleGroupExpander;\n","import type { SpaceResource } from \"@octopusdeploy/octopus-server-client\";\nimport { throttle } from \"lodash\";\nimport React, { useRef, useCallback, useEffect, useState, useLayoutEffect } from \"react\";\nimport ActionList from \"~/components/ActionList\";\nimport type { MenuItem } from \"~/components/OverflowMenu/OverflowMenu\";\nimport { Note, UnstructuredFormSection } from \"~/components/form\";\nimport WindowHelper from \"~/utils/WindowHelper/index\";\nimport type { ScopedUserRoleModel } from \"../EditTeamPage\";\nimport ScopedUserRoleGroupExpander from \"../ScopedUserRoleGroupExpander/ScopedUserRoleGroupExpander\";\nimport styles from \"./style.module.less\";\ninterface ScopedUserRoleExpandersListProps {\n helpElement: JSX.Element;\n listActions: JSX.Element[];\n scopedUserRoles: ScopedUserRoleModel[];\n spaces: SpaceResource[];\n onRow(item: ScopedUserRoleModel, index: number): React.ReactNode;\n onRowOverflowMenuItems(spaceId: string | null): Array;\n}\nexport function ScopedUserRolesExpandersList({ helpElement, listActions, scopedUserRoles, spaces, onRow, onRowOverflowMenuItems }: ScopedUserRoleExpandersListProps) {\n const { topActionsMenuRef, bottomActionsMenuRef, bottomActionsVisibility } = useBottomActionsVisibility();\n return (<>\n \n
    \n {helpElement}\n
    \n \n
    \n
    \n
    \n
    \n \n {spaces\n .sort((a, b) => a.Name.localeCompare(b.Name))\n .map((item) => ())}\n
    \n \n {/* We include a bottom section that is ALWAYS visible and toggle visibility of the actions for this component.\n Do not change to hide/show or things get janky. */}\n
    \n \n
    \n
    \n );\n}\ntype ButtonVisibility = \"hidden\" | \"visible\";\nfunction useBottomActionsVisibility() {\n const topActionsMenuRef = useRef(null);\n const bottomActionsMenuRef = useRef(null);\n const [bottomActionsVisibility, setBottomActionsVisibility] = useState(\"visible\");\n const updateBottomActionsVisibility = useCallback(() => {\n if (topActionsMenuRef.current !== null && bottomActionsMenuRef.current !== null) {\n let result: ButtonVisibility = \"visible\";\n if (WindowHelper.isElementInViewport(topActionsMenuRef.current) && WindowHelper.isElementCenterTouchable(topActionsMenuRef.current)) {\n result = \"hidden\";\n }\n else if (!WindowHelper.isElementInViewport(bottomActionsMenuRef.current)) {\n // If neither are visible, it might be that we're in a tab that isn't showing\n // so hide the bottom one so we don't show both when we come back.\n result = \"hidden\";\n }\n setBottomActionsVisibility(result);\n }\n }, []);\n useEffect(() => {\n const callback = throttle(updateBottomActionsVisibility, 100);\n window.addEventListener(\"resize\", callback);\n return () => window.removeEventListener(\"resize\", callback);\n }, [updateBottomActionsVisibility]);\n useEffect(() => {\n const callback = throttle(updateBottomActionsVisibility, 50);\n window.addEventListener(\"scroll\", callback, { passive: true, capture: false });\n return () => window.removeEventListener(\"scroll\", callback);\n }, [updateBottomActionsVisibility]);\n useLayoutEffect(() => {\n updateBottomActionsVisibility();\n }, [updateBottomActionsVisibility]);\n return {\n topActionsMenuRef,\n bottomActionsMenuRef,\n bottomActionsVisibility,\n };\n}\ninterface SystemItemProps {\n scopedUserRoles: ScopedUserRoleModel[];\n onRow(item: ScopedUserRoleModel, index: number): React.ReactNode;\n onRowOverflowMenuItems(spaceId: string | null): Array;\n}\nfunction SystemItem({ scopedUserRoles, onRow, onRowOverflowMenuItems }: SystemItemProps) {\n const systemScopedUserRoles = scopedUserRoles.filter((x) => !x.SpaceId);\n if (!systemScopedUserRoles.length) {\n return null;\n }\n return (\n {systemScopedUserRoles.map((x, i) => onRow(x, i))}\n );\n}\ninterface SpaceItemProps extends SystemItemProps {\n space: SpaceResource;\n}\nfunction SpaceItem({ scopedUserRoles, space, onRow, onRowOverflowMenuItems }: SpaceItemProps) {\n const scopedUserRolesForSpace = scopedUserRoles.filter((x) => x.SpaceId === space.Id);\n if (scopedUserRolesForSpace.length === 0) {\n return null;\n }\n return (\n {scopedUserRolesForSpace.map((x, i) => onRow(x, i))}\n );\n}\n","/* eslint-disable @typescript-eslint/no-non-null-assertion */\n/* eslint-disable @typescript-eslint/consistent-type-assertions */\n/* eslint-disable @octopusdeploy/custom-portal-rules/no-restricted-imports */\nimport { css } from \"@emotion/css\";\nimport { space } from \"@octopusdeploy/design-system-tokens\";\nimport { logger } from \"@octopusdeploy/logging\";\nimport type { OctopusSpaceRepository, EnvironmentResource, ExternalSecurityGroupProviderResource, NewScopedUserRoleResource, ProjectGroupResource, ScopedUserRoleResource, SpaceResource, TeamResource, TenantResource, ProjectSummaryResource, NamedReferenceItem, UserResource, UserRoleResource, OctopusCommonRepository, Repository, } from \"@octopusdeploy/octopus-server-client\";\nimport { TeamConstants, Permission, UserRoleConstants } from \"@octopusdeploy/octopus-server-client\";\nimport type { QueryParamValuesSetter } from \"@octopusdeploy/portal-routes\";\nimport { links } from \"@octopusdeploy/portal-routes\";\nimport cn from \"classnames\";\nimport { fromPairs, sortBy, uniq, isEqual } from \"lodash\";\nimport * as React from \"react\";\nimport { useSelector } from \"react-redux\";\nimport AddExternalGroup from \"~/areas/configuration/components/Teams/AddExternalGroup\";\nimport AddExternalRole from \"~/areas/configuration/components/Teams/AddExternalRole\";\nimport AddMember from \"~/areas/configuration/components/Teams/AddMember\";\nimport { UserInviteDialog } from \"~/areas/configuration/components/Users/UserInviteDialog\";\nimport { client, repository, session } from \"~/clientInstance\";\nimport { environmentChipList, projectChipList, projectGroupChipList, SpaceChip, tenantChipList } from \"~/components/Chips\";\nimport Chip from \"~/components/Chips/Chip\";\nimport OpenDialogButton from \"~/components/Dialog/OpenDialogButton\";\nimport buildValueList from \"~/components/EventFilter/buildValueList\";\nimport type { OptionalFormBaseComponentState } from \"~/components/FormBaseComponent/FormBaseComponent\";\nimport FormBaseComponent from \"~/components/FormBaseComponent/FormBaseComponent\";\nimport { LegacyForm } from \"~/components/FormPaperLayout/LegacyForm\";\nimport Markdown from \"~/components/Markdown\";\nimport ExternalLink from \"~/components/Navigation/ExternalLink\";\nimport InternalLink from \"~/components/Navigation/InternalLink/InternalLink\";\nimport type { OverflowMenuDisabledItem, OverflowMenuGenericItem, OverflowMenuNavLink, OverflowMenuDialogItem, MenuItem } from \"~/components/OverflowMenu/OverflowMenu\";\nimport { OverflowMenu, OverflowMenuItems } from \"~/components/OverflowMenu/OverflowMenu\";\nimport { OverflowMenuConverterVNext } from \"~/components/OverflowMenu/OverflowMenuConverterVNext\";\nimport { PageContent } from \"~/components/PageContent/PageContent\";\nimport { isAllowed } from \"~/components/PermissionCheck/PermissionCheck\";\nimport { RemoveItemsList } from \"~/components/RemoveItemsList/RemoveItemsList\";\nimport { Text, Note, FormSection, UnstructuredFormSection, MarkdownEditor } from \"~/components/form\";\nimport { CardTitle } from \"~/components/form/Sections\";\nimport { required } from \"~/components/form/Validators\";\nimport SlugEditor from \"~/primitiveComponents/form/Slugs/SlugEditor\";\nimport StringHelper from \"~/utils/StringHelper\";\nimport InternalRedirect from \"../../../../components/Navigation/InternalRedirect/InternalRedirect\";\nimport AllMembers from \"./AllMembers\";\nimport teamEditStyles from \"./EditTeamPageStyle.module.less\";\nimport type { IncludeRoleDialogResult } from \"./IncludeRoleDialog\";\nimport IncludeRoleDialog from \"./IncludeRoleDialog\";\nimport { MemberRow } from \"./MemberRow\";\nimport { ScopedUserRolesExpandersList } from \"./ScopedUserRolesExpandersList/ScopedUserRolesExpandersList\";\nexport type ScopedUserRoleModel = ScopedUserRoleResource | NewScopedUserRoleResource;\ninterface TeamEditModel {\n name: string;\n slug: string;\n description: string;\n memberUserIds: string[];\n externalSecurityGroups: NamedReferenceItem[];\n scopedUserRoles: ScopedUserRoleModel[];\n}\ntype EditTeamPageTab = \"members\" | \"user roles\" | \"settings\";\ninterface QueryParams {\n activeTab: EditTeamPageTab;\n}\ninterface EditTeamPageProps {\n teamId: string;\n loaderData: EditTeamPageLoaderData;\n queryParams: QueryParams;\n setQueryParams: QueryParamValuesSetter;\n}\ninterface EditTeamPageInternalProps extends EditTeamPageProps {\n isMultiTenancyEnabled: boolean;\n}\ntype MemberTypes = UserResource | NamedReferenceItem;\nclass UserList extends RemoveItemsList {\n}\nfunction isUser(item: MemberTypes): item is UserResource {\n return !!(item as UserResource).Username;\n}\nexport interface AvailableRoleScopes {\n projects: ProjectSummaryResource[];\n projectGroups: ProjectGroupResource[];\n environments: EnvironmentResource[];\n tenants: TenantResource[];\n}\ninterface EditTeamPageState extends OptionalFormBaseComponentState {\n team: TeamResource;\n isSystem: boolean;\n availableScopes: Record;\n deleted: boolean;\n}\ntype OverflowMenuItem = OverflowMenuDialogItem | OverflowMenuDisabledItem | OverflowMenuGenericItem | OverflowMenuNavLink;\nasync function loadAvailableScopesForSpace(spaceId: string) {\n return load(await repository.forSpace(spaceId));\n async function load(scopedRepository: OctopusSpaceRepository): Promise {\n const projectsAsync = scopedRepository.Projects.summaries();\n const projectGroupAsync = scopedRepository.ProjectGroups.all();\n const environmentsAsync = scopedRepository.Environments.all();\n const tenantsAsync = isAllowed({ permission: Permission.TenantView, tenant: \"*\" }, { spaceId }) ? scopedRepository.Tenants.all() : Promise.resolve([]);\n return {\n projects: await projectsAsync,\n projectGroups: await projectGroupAsync,\n environments: await environmentsAsync,\n tenants: await tenantsAsync,\n };\n }\n}\nexport async function editTeamPageLoader(repository: Repository, teamId: string): Promise {\n // The team we need to load may not belong to the current space, so we need to set the space partition to \"all\" when querying for the team.\n const team = await repository.Teams.get(teamId, { spaces: [\"all\"] });\n const teamScopedRepository = team.SpaceId ? await repository.forSpace(team.SpaceId) : repository.forSystem();\n const scopedUserRolesAsync = loadScopedUserRoles(team);\n const availableScopesAsync = loadAvailableScopes(scopedUserRolesAsync);\n const userRolesAsync = repository.UserRoles.all();\n const usersAsync = repository.Users.all();\n const spacesAsync = loadSpaces(team);\n const externalSecurityGroupProvidersAsync = isAllowed({ permission: Permission.TeamEdit }, team.SpaceId ? { spaceId: team.SpaceId } : \"system\") ? repository.ExternalSecurityGroupProviders.all() : ([] as ExternalSecurityGroupProviderResource[]);\n const teamSpaceAsync = team.SpaceId ? repository.Spaces.get(team.SpaceId) : undefined;\n return {\n team,\n teamScopedRepository,\n scopedUserRoles: await scopedUserRolesAsync,\n availableScopes: await availableScopesAsync,\n userRoles: await userRolesAsync,\n users: await usersAsync,\n externalSecurityGroupProviders: await externalSecurityGroupProvidersAsync,\n spaces: await spacesAsync,\n teamSpace: await teamSpaceAsync,\n };\n async function loadSpaces(team: TeamResource) {\n // We don't want to give users the option of creating scoped user roles within spaces\n // that they can't operate within (they don't currently have any permissions within that space)\n // AND they can see they space itself (because they have system level SpaceView permission)\n // So here we *only* load the spaces that the user can access\n const userSpaces = await repository.Users.getSpaces(session.currentUser!);\n // If they could load the team, then they have access *within* that team's space\n return team.SpaceId ? userSpaces.filter((s) => s.Id === team.SpaceId) : userSpaces;\n }\n async function loadScopedUserRoles(team: TeamResource): Promise {\n // Taking the easy route until we want to do proper pagination with searching.\n return (await teamScopedRepository.Teams.listScopedUserRoles(team, { take: 1000 })).Items;\n }\n async function loadAvailableScopes(scopedUserRolesPromise: Promise): Promise> {\n const scopedUserRoles = await scopedUserRolesPromise;\n const uniqueSpaceIds = uniq(scopedUserRoles.map((r) => r.SpaceId).filter((s) => !!s));\n const availableScopes = await Promise.all(uniqueSpaceIds.map(async (id) => {\n return {\n spaceId: id,\n availableScopes: await loadAvailableScopesForSpace(id!),\n };\n }));\n return fromPairs(availableScopes.map<[\n string,\n AvailableRoleScopes\n ]>((a) => [a.spaceId!, a.availableScopes]));\n }\n}\nexport interface EditTeamPageLoaderData {\n team: TeamResource;\n teamScopedRepository: OctopusCommonRepository;\n scopedUserRoles: ScopedUserRoleResource[];\n availableScopes: Record;\n userRoles: UserRoleResource[];\n users: UserResource[];\n spaces: SpaceResource[];\n teamSpace: SpaceResource | undefined;\n externalSecurityGroupProviders: ExternalSecurityGroupProviderResource[];\n}\nclass EditTeamPageInternal extends FormBaseComponent {\n constructor(props: EditTeamPageInternalProps) {\n super(props);\n const { team, scopedUserRoles, availableScopes } = this.props.loaderData;\n const model = this.buildModel(team, scopedUserRoles);\n this.state = {\n isSystem: false,\n team,\n availableScopes,\n model,\n cleanModel: model,\n deleted: false,\n };\n }\n render() {\n const title = this.state.model?.name ?? StringHelper.ellipsis;\n const titleComplementaryText = this.state.model && this.props.loaderData.teamSpace ? \"is exclusive to\" : undefined;\n const titleChip = this.state.model ? this.addTeamClassificationChip() : undefined;\n const description = this.state.model ? this.state.model.description : \"\";\n const legacyOverflowActions: Array = [];\n const spaceScope = this.state.team?.SpaceId ? { spaceId: this.state.team?.SpaceId } : \"system\";\n if (this.canBeDeleted()) {\n legacyOverflowActions.push(OverflowMenuItems.deleteItemDefault(\"team\", this.handleDeleteConfirm, { permission: Permission.TeamDelete, spaceScope }));\n }\n if (this.state.model) {\n if (this.state.model.name) {\n legacyOverflowActions.push(OverflowMenuItems.downloadItem(\"Download Team as JSON\", this.state.model.name + \"-team.json\", client.resolveLinkTemplate(\"Teams\", { id: this.props.teamId })));\n }\n legacyOverflowActions.push([\n OverflowMenuItems.navItem(\"Audit Trail\", links.auditPage.generateUrl({ regardingAny: [this.state.team.Id], includeSystem: !this.state.team?.SpaceId }), {\n permission: Permission.EventView,\n wildcard: true,\n spaceScope,\n }),\n ]);\n const hasTeamEditAndUserInvite = isAllowed({ permission: Permission.TeamEdit }, spaceScope) && isAllowed({ permission: Permission.TeamCreate }, spaceScope) && isAllowed({ permission: Permission.UserInvite }, spaceScope);\n if (hasTeamEditAndUserInvite && !!this.state.team) {\n legacyOverflowActions.push([OverflowMenuItems.dialogItem(\"Invite User\", )]);\n }\n }\n const overflowMenu = OverflowMenuConverterVNext.convertAll(legacyOverflowActions);\n const actions = this.state.team\n ? [\n \n this.handleScopedUserRoleAdded(value)}/>\n ,\n ]\n : [];\n if (this.state.deleted) {\n return ;\n }\n return (\n {({ FormContent, createSaveAction }) => (<>\n {overflowMenu.dialogs}\n {this.state.model && (} errors={this.errors} tabs={[\n {\n value: \"members\",\n label: \"Members\",\n content: (\n \n Add users and groups to this team. A user can belong to more than one team.\n {this.renderMembers()}\n \n ),\n },\n {\n value: \"user roles\",\n label: \"User Roles\",\n content: (\n \n User roles grant teams permissions. Learn more.\n } spaces={this.props.loaderData.spaces} scopedUserRoles={this.state.model.scopedUserRoles} listActions={actions} onRow={(item: ScopedUserRoleModel, index: number) => {\n const userRole = this.props.loaderData.userRoles.find((x) => x.Id === item.UserRoleId);\n if (!userRole) {\n logger.warn(\"Failed to find role for {item}\", { item });\n return;\n }\n const spaceOverflowMenuItems: OverflowMenuItem[] = [];\n spaceOverflowMenuItems.push(OverflowMenuItems.dialogItem(\"Edit\", this.handleScopedUserRoleChanged(item, value)}/>));\n spaceOverflowMenuItems.push(this.addDeleteScopedUserRoleMenuItem(item));\n spaceOverflowMenuItems.push(this.addAuditScopedUserRoleMenuItem(item));\n const spaceSubtitle = {this.summaryForScopedUserRole(item)};\n const spaceTitle = (
    \n \n {userRole.Name}\n \n {spaceSubtitle}\n
    \n \n
    \n
    );\n return (
    \n \n
    );\n }} onRowOverflowMenuItems={(spaceId: string | null) => {\n const spaceOverflowActions: OverflowMenuItem[] = [];\n spaceOverflowActions.push(OverflowMenuItems.dialogItem(\"Include User Role\", this.handleScopedUserRoleAdded(value)}/>));\n return spaceOverflowActions;\n }}/>\n
    ),\n },\n {\n value: \"settings\",\n label: \"Settings\",\n content: (\n \n this.setModelState({ name })} label=\"Name\" validate={required(\"Please enter a team name\")} error={this.getFieldError(\"name\")} autoFocus={true}/>\n A short, memorable, unique name for this team. eg. ACME Project Contributors.\n this.setModelState({ slug })} label=\"Slug\" validate={required(\"Please enter a team slug\")} error={this.getFieldError(\"slug\")}/>\n \n \n \n A description of the team.\n \n ),\n },\n ]} currentTab={this.props.queryParams.activeTab} onTabChanged={(value) => {\n this.props.setQueryParams({ activeTab: value });\n }}/>)}\n )}\n
    );\n }\n addTeamClassificationChip() {\n if (this.state.isSystem) {\n return (\n System Team\n );\n }\n if (this.props.loaderData.teamSpace) {\n return ;\n }\n }\n addDeleteScopedUserRoleMenuItem(item: ScopedUserRoleModel): OverflowMenuGenericItem | OverflowMenuDisabledItem {\n return this.isOnlySpaceManagerRoleOnSpaceManagerTeam(item)\n ? OverflowMenuItems.disabledItem(\"Delete\", \"You cannot delete the last Space Manager configuration\")\n : OverflowMenuItems.item(\"Delete\", () => {\n this.setState((state) => {\n return {\n model: {\n ...state.model,\n scopedUserRoles: state.model!.scopedUserRoles.filter((sur) => sur !== item),\n },\n };\n });\n });\n }\n addAuditScopedUserRoleMenuItem(item: ScopedUserRoleModel): OverflowMenuNavLink {\n return isExistingScopedUserRole(item)\n ? OverflowMenuItems.navItem(\"Audit Trail\", links.auditPage.generateUrl({ regardingAny: [item.Id], includeSystem: !item.SpaceId }), {\n permission: Permission.EventView,\n wildcard: true,\n spaceScope: this.state.team?.SpaceId ? { spaceId: this.state.team.SpaceId } : \"system\",\n })\n : null!;\n }\n summaryForScopedUserRole(item: ScopedUserRoleModel): React.ReactElement {\n const scopes = item.SpaceId ? this.state.availableScopes[item.SpaceId] : null;\n if (!scopes) {\n if (item.SpaceId) {\n throw new Error(`Available scopes for space ${item.SpaceId} have not been loaded`);\n }\n return null!;\n }\n const projectGroups = projectGroupChipList(scopes.projectGroups, item.ProjectGroupIds);\n const projects = projectChipList(scopes.projects, item.ProjectIds);\n const environments = environmentChipList(scopes.environments, item.EnvironmentIds);\n let tenants: React.ReactElement[] = [];\n if (this.props.isMultiTenancyEnabled) {\n tenants = tenantChipList(scopes.tenants, item.TenantIds);\n }\n const projectGroupsElement = this.selectedProjectGroupsElement(projectGroups);\n const projectsElement = this.selectedProjectsElement(projects);\n const environmentsElement = this.selectedEnvironmentElement(environments);\n const tenantsElement = this.selectedTenantsElement(tenants);\n const notificationElements: React.ReactElement[] = [];\n if (projectGroupsElement) {\n notificationElements.push(projectGroupsElement);\n }\n if (projectsElement) {\n notificationElements.push(projectsElement);\n }\n if (environmentsElement) {\n notificationElements.push(environmentsElement);\n }\n if (tenantsElement) {\n notificationElements.push(tenantsElement);\n }\n const notificationSummary = notificationElements.reduce((accu: React.ReactElement[] | null, elem) => {\n return accu === null ? [elem] : ([...accu, \" and \", elem] as React.ReactElement[]);\n }, null);\n return Team has permissions for {notificationSummary}.;\n }\n selectedProjectGroupsElement(selectedProjectGroups: JSX.Element[]) {\n return selectedProjectGroups.length > 0 ? ({buildValueList(selectedProjectGroups)} project groups) : (\n all project groups\n );\n }\n selectedProjectsElement(selectedProjects: JSX.Element[]) {\n return selectedProjects.length > 0 ? ({buildValueList(selectedProjects)} projects) : (\n all projects\n );\n }\n selectedEnvironmentElement(selectedEnvironments: JSX.Element[]) {\n return selectedEnvironments.length > 0 ? ({buildValueList(selectedEnvironments)} environments) : (\n all environments\n );\n }\n selectedTenantsElement(selectedTenants: JSX.Element[]) {\n return selectedTenants.length > 0 ? ({buildValueList(selectedTenants)} tenants) : (\n all tenants\n );\n }\n buildModel(team: TeamResource, scopedUserRoles: ScopedUserRoleResource[]): TeamEditModel {\n if (team) {\n return {\n name: team.Name,\n slug: team.Slug ?? \"\",\n description: team.Description,\n memberUserIds: team.MemberUserIds,\n externalSecurityGroups: team.ExternalSecurityGroups,\n scopedUserRoles,\n };\n }\n return {\n name: \"\",\n slug: \"\",\n description: \"\",\n memberUserIds: [],\n scopedUserRoles: [],\n externalSecurityGroups: [],\n };\n }\n handleDeleteConfirm = async () => {\n await this.props.loaderData.teamScopedRepository.Teams.del(this.state.team);\n this.setState((state) => {\n return {\n model: null,\n cleanModel: null, //reset model so that dirty state doesn't prevent navigation\n deleted: true,\n };\n });\n return true;\n };\n handleSaveClick = async () => {\n await this.doBusyTask(async () => {\n let team: TeamResource = this.buildTeamResource();\n team = await this.props.loaderData.teamScopedRepository.Teams.save(team);\n const scopedUserRoles = await Promise.all(this.state.model!.scopedUserRoles.map((sur) => (isExistingScopedUserRole(sur) ? this.updateModified(sur) : this.props.loaderData.teamScopedRepository.ScopedUserRoles.create(sur))));\n const scopedUserRolesToRemove = this.state.cleanModel!.scopedUserRoles.filter(isExistingScopedUserRole).filter((x) => !this.state.model!.scopedUserRoles.some((y) => isExistingScopedUserRole(y) && y.Id === x.Id));\n await Promise.all(scopedUserRolesToRemove.map((sur) => this.props.loaderData.teamScopedRepository.ScopedUserRoles.del(sur)));\n this.setState({\n team,\n model: this.buildModel(team, scopedUserRoles),\n cleanModel: this.buildModel(team, scopedUserRoles),\n });\n });\n };\n canBeDeleted() {\n return this.state.team && this.state.team.CanBeDeleted;\n }\n canChangeMembers() {\n return this.state.team ? this.state.team.CanChangeMembers : true;\n }\n handleMemberRemoved = (member: MemberTypes) => {\n if (isUser(member)) {\n this.setState((state) => ({\n model: {\n ...state.model,\n memberUserIds: state.model!.memberUserIds.filter((m) => m !== member.Id),\n },\n }));\n }\n else {\n this.setState((state) => ({\n model: {\n ...state.model,\n externalSecurityGroups: state.model!.externalSecurityGroups.filter((g) => g.Id !== member.Id),\n },\n }));\n }\n };\n handleMemberAdded = (userIds: string[]) => {\n this.setState((state) => ({\n model: {\n ...state.model,\n memberUserIds: uniq([...state.model!.memberUserIds, ...userIds]),\n },\n }));\n return true;\n };\n handleExternalRoleAdded = (roleId: string, displayName: string) => {\n const newGroup = { Id: roleId, DisplayName: displayName, DisplayIdAndName: true };\n this.setState((state) => ({\n model: {\n ...state.model,\n externalSecurityGroups: [newGroup].concat(state.model!.externalSecurityGroups),\n },\n }));\n return true;\n };\n handleExternalGroupsAdded = (groups: NamedReferenceItem[]) => {\n this.setState((state) => ({\n model: {\n ...state.model,\n externalSecurityGroups: state.model!.externalSecurityGroups.filter((existingGroup) => !groups.find((newGroup) => newGroup.Id === existingGroup.Id)).concat(groups),\n },\n }));\n return true;\n };\n renderMembers = () => {\n const members = sortBy(this.props.loaderData.users.filter((ur) => this.state.model!.memberUserIds.indexOf(ur.Id) !== -1), (t) => t.DisplayName);\n const groups = sortBy(this.state.model!.externalSecurityGroups, (g) => g.DisplayName);\n const actions: React.ReactElement[] = [];\n if (this.canChangeMembers()) {\n actions.push(\n \n );\n this.props.loaderData\n .externalSecurityGroupProviders!.filter((group) => !group.IsRoleBased && group.SupportsGroupLookup)\n .forEach((group) => actions.push(\n \n ));\n const hasRoleBasedGroupProviders = !!this.props.loaderData.externalSecurityGroupProviders!.find((p) => p.IsRoleBased);\n if (this.canChangeMembers() && hasRoleBasedGroupProviders) {\n actions.push(\n \n );\n }\n if (groups.length || members.length) {\n actions.push(\n \n );\n }\n }\n return } onRemoveRow={this.canChangeMembers() ? (member) => this.handleMemberRemoved(member) : null!}/>;\n };\n private buildTeamResource(): TeamResource {\n return {\n ...this.state.team,\n Name: this.state.model!.name,\n Slug: this.state.model!.slug,\n Description: this.state.model!.description,\n MemberUserIds: this.state.model!.memberUserIds,\n ExternalSecurityGroups: this.state.model!.externalSecurityGroups,\n };\n }\n private handleScopedUserRoleChanged = async (scopedUserRole: ScopedUserRoleModel, scopedUserRoleChanges: IncludeRoleDialogResult) => {\n const additionalAvailableScopes = await this.getAdditionalAvailableScopes(scopedUserRoleChanges.spaceId);\n this.setState((prev) => {\n const newScopedUserRoles = prev.model!.scopedUserRoles.map((r) => {\n if (r !== scopedUserRole) {\n return r;\n }\n const updatedScopedUserRole: ScopedUserRoleModel = {\n ...r,\n ...this.convertScopesUserRoleChangesToNewResource(scopedUserRoleChanges),\n };\n return updatedScopedUserRole;\n });\n return {\n model: {\n ...prev.model,\n scopedUserRoles: newScopedUserRoles,\n availableScopes: this.addAdditionalAvailableScopes(prev.availableScopes, additionalAvailableScopes),\n },\n };\n });\n };\n private isOnlySpaceManagerRoleOnSpaceManagerTeam(scopedUserRole: ScopedUserRoleModel): boolean {\n const isOnlySpaceManagerRole = this.state.model!.scopedUserRoles.filter((sur) => isSpaceManagerRole(sur)).length === 1;\n return this.state.team.Id.startsWith(TeamConstants.SpaceManagersTeamIdPrefix) && isSpaceManagerRole(scopedUserRole) && isOnlySpaceManagerRole;\n function isSpaceManagerRole(s: ScopedUserRoleModel): boolean {\n return s.UserRoleId === UserRoleConstants.SpaceManagerRole;\n }\n }\n private handleScopedUserRoleAdded = async (newScopedUserRoleDefinition: IncludeRoleDialogResult) => {\n const additionalAvailableScopes = await this.getAdditionalAvailableScopes(newScopedUserRoleDefinition.spaceId);\n this.setState((prev) => {\n const newResource = this.convertScopesUserRoleChangesToNewResource(newScopedUserRoleDefinition);\n return {\n model: {\n ...prev.model,\n scopedUserRoles: [...prev.model!.scopedUserRoles, newResource],\n availableScopes: this.addAdditionalAvailableScopes(prev.availableScopes, additionalAvailableScopes),\n },\n };\n });\n };\n private convertScopesUserRoleChangesToNewResource(scopedUserRoleChanges: IncludeRoleDialogResult): NewScopedUserRoleResource {\n return {\n SpaceId: scopedUserRoleChanges.spaceId,\n UserRoleId: scopedUserRoleChanges.userRoleId,\n ProjectGroupIds: scopedUserRoleChanges.projectGroupIds,\n TenantIds: scopedUserRoleChanges.tenantIds,\n ProjectIds: scopedUserRoleChanges.projectIds,\n EnvironmentIds: scopedUserRoleChanges.environmentIds,\n TeamId: this.state.team.Id,\n };\n }\n private addAdditionalAvailableScopes(existingScopes: Record, newScopes: {\n scopes: AvailableRoleScopes;\n spaceId: string;\n } | null): Record {\n if (!newScopes) {\n return existingScopes;\n }\n return { ...existingScopes, [newScopes.spaceId]: newScopes.scopes };\n }\n private async getAdditionalAvailableScopes(spaceId: string | null): Promise<{\n scopes: AvailableRoleScopes;\n spaceId: string;\n } | null> {\n if (!spaceId) {\n return null;\n }\n return { scopes: await this.fetchAvailableScopesForSpace(spaceId), spaceId };\n }\n private fetchAvailableScopesForSpace = async (spaceId: string): Promise => {\n const loadedAvailableScopes = this.state.availableScopes[spaceId];\n if (loadedAvailableScopes) {\n return loadedAvailableScopes;\n }\n const scopes = await loadAvailableScopesForSpace(spaceId);\n this.setState((prev) => ({ availableScopes: { ...prev.availableScopes, [spaceId]: scopes } }));\n return scopes;\n };\n private updateModified(scopedUserRole: ScopedUserRoleResource): Promise {\n const original = this.state!.cleanModel!.scopedUserRoles.find((s) => isExistingScopedUserRole(s) && s.Id === scopedUserRole.Id);\n return isEqual(original, scopedUserRole) ? Promise.resolve(scopedUserRole) : this.props.loaderData.teamScopedRepository.ScopedUserRoles.modify(scopedUserRole);\n }\n private handleDescriptionChanged = async (description: string) => {\n this.setModelState({ description });\n };\n static displayName = \"EditTeamPageInternal\";\n}\nfunction isExistingScopedUserRole(scopedUserRole: ScopedUserRoleModel): scopedUserRole is ScopedUserRoleResource {\n return !!(scopedUserRole as ScopedUserRoleResource).Links;\n}\nexport function EditTeamPage({ teamId, loaderData, queryParams, setQueryParams }: EditTeamPageProps) {\n const isMultiTenancyEnabled = useSelector((state: GlobalState) => (state.configurationArea.currentSpace ? state.configurationArea.currentSpace.isMultiTenancyEnabled : false));\n return ;\n}\nfunction Description({ description }: {\n description: string | undefined;\n}) {\n if (!description) {\n return null;\n }\n return (
    \n \n
    );\n}\nconst descriptionStyles = css({\n padding: space[16],\n});\n","/* eslint-disable @typescript-eslint/no-non-null-assertion,@typescript-eslint/consistent-type-assertions */\nimport { RadioButtonGroup, RadioButton } from \"@octopusdeploy/design-system-components\";\nimport type { SpaceResource } from \"@octopusdeploy/octopus-server-client\";\nimport * as React from \"react\";\nimport { repository, client } from \"~/clientInstance\";\nimport { SpaceChip } from \"~/components/Chips\";\nimport type { DataBaseComponentState } from \"~/components/DataBaseComponent/DataBaseComponent\";\nimport { DataBaseComponent } from \"~/components/DataBaseComponent/DataBaseComponent\";\nimport SaveDialogLayout from \"~/components/DialogLayout/SaveDialogLayout\";\nimport { required, Text, MarkdownEditor, Note } from \"~/components/form\";\ninterface AddTeamProps {\n currentSpace: SpaceResource;\n onTeamCreated(id: string): void;\n}\ninterface AddTeamState extends DataBaseComponentState {\n name: string;\n spaceAccessibility: TeamSpaceAccessibility;\n description: string;\n}\nenum TeamSpaceAccessibility {\n CurrentSpace = \"CurrentSpace\",\n AllSpaces = \"AllSpaces\"\n}\nexport default class AddTeam extends DataBaseComponent {\n constructor(props: AddTeamProps) {\n super(props);\n this.state = {\n name: \"\",\n spaceAccessibility: TeamSpaceAccessibility.CurrentSpace,\n description: \"\",\n };\n }\n save() {\n return this.doBusyTask(async () => {\n const result = await repository.Teams.create({\n Id: null!,\n Name: this.state.name,\n SpaceId: this.state.spaceAccessibility === TeamSpaceAccessibility.CurrentSpace ? this.props.currentSpace.Id : null,\n ExternalSecurityGroups: [],\n MemberUserIds: [],\n CanBeDeleted: true,\n CanBeRenamed: true,\n CanChangeMembers: true,\n CanChangeRoles: true,\n Links: null!,\n Description: this.state.description,\n }, {});\n this.props.onTeamCreated(result.Id);\n });\n }\n render() {\n const canSeeSpace = !!client.spaceId;\n return ( this.save()}>\n this.setState({ name })} validate={required(\"Please enter a team name\")} autoFocus={true}/>\n \n {canSeeSpace ? (
    \n

    Make this team accessible in this space or all spaces.

    \n this.setState({ spaceAccessibility: x })}>\n Accessible in the {} space only}/>\n \n \n
    ) : (This team will be accessible in all Spaces)}\n
    );\n }\n private handleDescriptionChanged = async (description: string) => {\n // in dobusy so the dialog resizes if the markdowneditor grows\n await this.doBusyTask(async () => {\n this.setState({ description });\n });\n };\n static displayName = \"AddTeam\";\n}\n","/* eslint-disable @typescript-eslint/no-non-null-assertion */\nimport type { TeamResource, ResourceCollection, ScopedUserRoleResource, SpaceResource } from \"@octopusdeploy/octopus-server-client\";\nimport { links } from \"@octopusdeploy/portal-routes\";\nimport * as React from \"react\";\nimport { SpaceChip, spaceChipList } from \"~/components/Chips\";\nimport buildValueList from \"~/components/EventFilter/buildValueList\";\nimport { PagingList as BaseList } from \"~/components/PagingList/PagingList\";\nimport ListTitle from \"~/primitiveComponents/dataDisplay/ListTitle/ListTitle\";\nimport styles from \"./style.module.less\";\nclass List extends BaseList {\n}\ninterface TeamListProps {\n initialTeams: ResourceCollection;\n initialScopedUserRolesLookup: Record;\n spaces: SpaceResource[];\n additionalRequestParams?: Map;\n loadScopedUserRolesForTeams(teams: TeamResource[]): Promise>;\n}\nclass TeamListState {\n initialTeams: ResourceCollection = undefined!;\n scopedUserRolesLookup: Record = undefined!;\n}\nclass TeamList extends React.Component {\n constructor(props: TeamListProps) {\n super(props);\n this.state = {\n initialTeams: props.initialTeams,\n scopedUserRolesLookup: props.initialScopedUserRolesLookup,\n };\n }\n render() {\n return (
    \n buildRow(team, this.state.scopedUserRolesLookup, this.props.spaces)} filterSearchEnabled={false} additionalRequestParams={this.props.additionalRequestParams} onRowRedirectUrl={this.redirectUrl} onFilter={() => true} showPagingInNumberedStyle={true} onNewItems={async (teams: TeamResource[]) => {\n await this.loadMoreScopedUserRoles(teams);\n return teams;\n }}/>\n
    );\n }\n private redirectUrl = (team: TeamResource) => {\n return links.editTeamPage.generateUrl({ teamId: team.Id });\n };\n private async loadMoreScopedUserRoles(team: TeamResource[]) {\n const scopedUserRolesForNewTeams = await this.props.loadScopedUserRolesForTeams(team);\n this.setState((prev) => ({\n scopedUserRolesLookup: { ...prev.scopedUserRolesLookup, ...scopedUserRolesForNewTeams },\n }));\n }\n static displayName = \"TeamList\";\n}\nconst buildRow = (team: TeamResource, scopedUserRoleLookup: Record, spaces: SpaceResource[]) => {\n const membersLength = team.MemberUserIds.length;\n const externalGroupLength = team.ExternalSecurityGroups.length;\n const scopedUserRoles = scopedUserRoleLookup[team.Id];\n return (
    \n {buildTeamTitle(team, spaces)}\n
    \n This team has{\" \"}\n \n {membersLength} member{membersLength === 1 ? \"\" : \"s\"}\n \n {buildExternalGroupsSpan(externalGroupLength)}\n {buildPermissionsSpan(scopedUserRoles, team, spaces)}\n
    \n
    );\n};\nconst buildTeamTitle = (team: TeamResource, spaces: SpaceResource[]) => {\n const teamSpace: SpaceResource = spaces.find((s) => team.SpaceId === s.Id) || null!;\n return (\n {team.Name}\n {teamSpace && }\n );\n};\nconst buildPermissionsSpan = (scopedUserRoles: ScopedUserRoleResource[], team: TeamResource, spaces: SpaceResource[]) => {\n if (scopedUserRoles && scopedUserRoles.length > 0) {\n const elements: JSX.Element[] = [];\n const hasUnspacedPermissions = scopedUserRoles.filter((x) => x.SpaceId === null).length > 0;\n const hasSpacedPermissions = scopedUserRoles.filter((x) => x.SpaceId !== null).length > 0;\n if (hasUnspacedPermissions) {\n elements.push(\n  and system permissions\n );\n }\n if (hasSpacedPermissions) {\n const validSpaceIds = scopedUserRoles.filter((x) => x.SpaceId !== null).map((x) => x.SpaceId!);\n const spaceChips = spaceChipList(spaces, validSpaceIds);\n const spaceChipsElement = {buildValueList(spaceChips)};\n elements.push(\n  and permissions for the {spaceChipsElement} space{spaceChips.length > 1 ? \"s\" : \"\"}\n );\n }\n return elements;\n }\n return null;\n};\nconst buildExternalGroupsSpan = (externalGroupLength: number) => {\n if (externalGroupLength > 0) {\n return (\n  and{\" \"}\n \n {externalGroupLength} external group{externalGroupLength === 1 ? \"\" : \"s\"}\n \n );\n }\n return null;\n};\nexport default TeamList;\n","/* eslint-disable @typescript-eslint/no-non-null-assertion */\nimport { Callout } from \"@octopusdeploy/design-system-components\";\nimport type { PrimaryPageAction } from \"@octopusdeploy/design-system-components\";\nimport { space } from \"@octopusdeploy/design-system-tokens\";\nimport type { LicenseStatusResource, ResourceCollection, ScopedUserRoleResource, SpaceResource, TeamResource } from \"@octopusdeploy/octopus-server-client\";\nimport { Permission, PermissionsMode } from \"@octopusdeploy/octopus-server-client\";\nimport { links } from \"@octopusdeploy/portal-routes\";\nimport type { QueryParamValuesSetter, SpacePartitionQueryParams } from \"@octopusdeploy/portal-routes\";\nimport type { NonEmptyArray } from \"@octopusdeploy/type-utils\";\nimport { isArrayLengthAtLeast } from \"@octopusdeploy/type-utils\";\nimport { fromPairs, isEqual } from \"lodash\";\nimport MobileDetect from \"mobile-detect\";\nimport * as React from \"react\";\nimport { useEffect, useMemo, useState } from \"react\";\nimport { repository, session } from \"~/clientInstance\";\nimport { AdvancedFilterCheckbox } from \"~/components/AdvancedFilterLayout\";\nimport { AdvancedFilters } from \"~/components/AdvancedFilterLayout/AdvancedFilters\";\nimport { SpaceChip } from \"~/components/Chips\";\nimport type { Errors } from \"~/components/DataBaseComponent\";\nimport { DataBaseComponent, useDoBusyTaskEffect } from \"~/components/DataBaseComponent\";\nimport type { DoBusyTask } from \"~/components/DataBaseComponent/DataBaseComponent\";\nimport Dialog from \"~/components/Dialog/Dialog\";\nimport { useDialogTrigger } from \"~/components/Dialog/DialogTrigger\";\nimport FilterSearchBox from \"~/components/FilterSearchBox\";\nimport { SpaceMultiSelect } from \"~/components/MultiSelect/SpaceMultiSelect\";\nimport { useSpaceAwareNavigation } from \"~/components/Navigation/SpaceAwareNavigation/useSpaceAwareNavigation\";\nimport { PageContent } from \"~/components/PageContent/PageContent\";\nimport { isAllowed } from \"~/components/PermissionCheck/PermissionCheck\";\nimport { restrictedPermissionsCalloutConfig } from \"~/components/RestrictedPermissionsCallout\";\nimport { useDeepCompareMemo } from \"~/hooks/useDeepCompareMemo\";\nimport { timeOperationOptions } from \"~/utils/OperationTimer/timeOperation\";\nimport AddTeam from \"./AddTeam\";\nimport TeamList from \"./TeamList\";\nimport styles from \"./style.module.less\";\ninterface QueryParams extends SpacePartitionQueryParams {\n name: string;\n}\ninterface Filter extends QueryParams {\n spaces: NonEmptyArray | \"all\";\n includeSystem: boolean;\n}\ninterface TeamsPageProps {\n queryParams: QueryParams;\n setQueryParams: QueryParamValuesSetter;\n}\nexport class TeamsPage extends DataBaseComponent {\n constructor(props: TeamsPageProps) {\n super(props);\n this.state = {};\n }\n render() {\n return ;\n }\n static displayName = \"TeamsPage\";\n}\ninterface TeamsPageInternalProps {\n queryParams: QueryParams;\n setQueryParams: QueryParamValuesSetter;\n doBusyTask: DoBusyTask;\n busy: Promise | undefined;\n errors: Errors | undefined;\n}\nexport function TeamsPageInternal({ doBusyTask, busy, errors, queryParams, setQueryParams }: TeamsPageInternalProps) {\n const initialData = useInitialData(doBusyTask);\n const defaultFilter = useDefaultFilter();\n const filter = useFilter(defaultFilter, queryParams, setQueryParams);\n const teamsAndScopedUserRoles = useTeamsAndScopedUserRoles(doBusyTask, filter);\n const { isOpen: isAddTeamDialogOpen, openDialog: openAddTeamDialog } = useDialogTrigger();\n const primaryPageAction: PrimaryPageAction | undefined = initialData?.spaces && {\n type: \"button\",\n hasPermissions: isAllowed({ permission: Permission.TeamCreate }),\n label: \"Add Team\",\n onClick: openAddTeamDialog,\n };\n const currentSpace = getCurrentSpace(initialData?.spaces);\n const isFiltered = !isEqual(filter, defaultFilter);\n const showRestrictedPermissionsCallout = initialData !== null && initialData.licenseStatus.PermissionsMode === PermissionsMode.Restricted;\n return (<>\n setQueryParams((prev) => ({ ...prev, name }))}/>,\n ],\n advancedFilters: {\n content: (\n {session.currentPermissions!.scopeToSystem().isAuthorized({ permission: Permission.TeamView }) && ( setQueryParams((prev) => ({ ...prev, includeSystem }))}/>)}\n setQueryParams((prev) => ({ ...prev, spaces: isArrayLengthAtLeast(spaces, 1) ? spaces : \"all\" }))} selectedSpaces={filter.spaces === \"all\" ? [] : filter.spaces}/>\n ),\n hasUserSelectedValues: isFiltered,\n onResetFilter: () => setQueryParams(defaultFilter),\n },\n filtersSummary: ,\n }\n : undefined}>\n {teamsAndScopedUserRoles !== null ? (
    \n {initialData !== null && teamsAndScopedUserRoles !== null && ()}\n
    ) : null}\n
    \n {currentSpace && }\n );\n}\nfunction useFilter(defaultFilter: Filter, queryParams: QueryParams, setQueryParams: QueryParamValuesSetter): Filter {\n // If there's anything that needs to be adjusted to match the default values, we do it here...\n const filter: Filter = useMemo(() => {\n return {\n ...queryParams,\n // Explicitly set up these two properties. They are a bit special because they have unique default values.\n spaces: queryParams.spaces === \"unspecified\" ? defaultFilter.spaces : queryParams.spaces,\n includeSystem: queryParams.includeSystem === undefined ? defaultFilter.includeSystem : queryParams.includeSystem,\n };\n }, [defaultFilter, queryParams]);\n // ...If anything has changed after we adjust the filter, we set it back on the URL\n // This causes the URL to unambiguously reflect the current state of the filter\n useEffect(() => {\n if (!isEqual(filter, queryParams))\n setQueryParams(filter);\n }, [queryParams, filter, setQueryParams]);\n // If this component is rendered when the query params have \"unspecified\" values for spaces/includeSystem,\n // then a subsequent render will be fired using a new queryParams object due to the above useEffect.\n // This translates to a new filter object too.\n // If any downstream code relies on this filter object in a dependency array (e.g. to load data), then that hook would\n // be refired (e.g. another api query) without this call to useDeepCompareMemo.\n return useDeepCompareMemo(filter);\n}\nfunction useDefaultFilter(): Filter {\n return useMemo(() => {\n const hasTeamViewInCurrentSpace = session.currentPermissions!.scopeToSpace(repository.spaceId).isAuthorized({ permission: Permission.TeamView });\n const shouldFilterToCurrentSpace = repository.spaceId && hasTeamViewInCurrentSpace;\n return {\n includeSystem: true,\n name: \"\",\n spaces: shouldFilterToCurrentSpace ? [repository.spaceId!] : \"all\",\n };\n }, []);\n}\nfunction useInitialData(doBusyTask: DoBusyTask) {\n const [initialData, setInitialData] = useState<{\n spaces: SpaceResource[];\n licenseStatus: LicenseStatusResource;\n } | null>(null);\n useDoBusyTaskEffect(doBusyTask, async () => {\n // Spaces here are used as a lookup for scoped user roles\n // You will only be able to see a scoped user role if you have access *within* the space\n // for which the scoped user role applies\n // Therefore only need to load spaces that you have access *within*\n // rather than any space you can see (i.e. if you had SpaceView permission)\n const spacesAsync = repository.Users.getSpaces(session.currentUser!);\n const currentStatus = repository.Licenses.getCurrentStatus();\n setInitialData({ spaces: await spacesAsync, licenseStatus: await currentStatus });\n }, [], { timeOperationOptions: timeOperationOptions.forInitialLoad() });\n return initialData;\n}\nfunction useTeamsAndScopedUserRoles(doBusyTask: DoBusyTask, filter: Filter) {\n const [teamsAndScopedUserRoles, setTeamsAndScopedUserRoles] = useState<{\n teams: ResourceCollection;\n initialTeamsScopedUserRoles: Record;\n } | null>(null);\n useDoBusyTaskEffect(doBusyTask, async () => {\n const result = await loadTeamsAndScopedUserRoles(filter);\n setTeamsAndScopedUserRoles(result);\n }, [filter]);\n return teamsAndScopedUserRoles;\n}\nfunction getCurrentSpace(spaces: SpaceResource[] | undefined) {\n if (!spaces)\n return null;\n return spaces.find((s) => s.Id === repository.spaceId);\n}\nasync function loadTeamsAndScopedUserRoles(filter: Filter) {\n const teams = await repository.Teams.list({\n includeSystem: filter.includeSystem,\n partialName: filter.name,\n spaces: getSpacesFilter(filter),\n });\n const initialTeamsScopedUserRoles = await loadScopedUserRolesForTeams(teams.Items);\n return {\n teams,\n initialTeamsScopedUserRoles,\n };\n}\n//eslint-disable-next-line @typescript-eslint/no-explicit-any\nfunction getAdditionalRequestParams(filter: Filter): Map {\n //eslint-disable-next-line @typescript-eslint/no-explicit-any\n const additionalRequestParams = new Map();\n additionalRequestParams.set(\"includeSystem\", filter.includeSystem);\n additionalRequestParams.set(\"spaces\", getSpacesFilter(filter));\n additionalRequestParams.set(\"partialName\", filter.name);\n return additionalRequestParams;\n}\nfunction getSpacesFilter(filter: Filter): string[] {\n const hasTeamViewInAnySpace = session.currentPermissions!.isAuthorizedInAnySpace({ permission: Permission.TeamView });\n if (filter.spaces === \"all\") {\n return hasTeamViewInAnySpace ? [\"all\"] : [];\n }\n return filter.spaces;\n}\nasync function loadScopedUserRolesForTeams(team: TeamResource[]): Promise> {\n const teamsAndScopedUserRoles = await Promise.all(team.map(async (t) => {\n const scopedUserRoles = await repository.Teams.listScopedUserRoles(t);\n return { team: t, scopedUserRoles };\n }));\n return fromPairs(teamsAndScopedUserRoles.map<[\n string,\n ScopedUserRoleResource[]\n ]>((a) => [a.team.Id, a.scopedUserRoles.Items]));\n}\nfunction FilterSummary({ spaces, selectedSpaces, includeSystem }: {\n spaces: SpaceResource[] | undefined;\n selectedSpaces: NonEmptyArray | \"all\";\n includeSystem: boolean;\n}) {\n const selectedSpaceChips = spaces && selectedSpaces !== \"all\"\n ? selectedSpaces\n .map((spaceId) => {\n const space = spaces.find((s) => s.Id === spaceId);\n return space ? : null;\n })\n .filter((s) => s !== undefined)\n : [];\n const spacesText = selectedSpaceChips.length === 1 ? \"space\" : \"spaces\";\n const spacesFilter = selectedSpaceChips.length > 0 ? (<>\n {selectedSpaceChips} {spacesText} and\n ) : null;\n return (\n Filtering by:{\" \"}\n \n {spacesFilter} {includeSystem ? \"includes\" : \"excludes\"} system teams\n \n );\n}\nfunction SpaceSelector({ spaces, onChange, selectedSpaces }: {\n spaces: SpaceResource[];\n selectedSpaces: string[];\n onChange: (spaces: string[]) => void;\n}) {\n const hasTeamViewInAnySpace = session.currentPermissions!.isAuthorizedInAnySpace({ permission: Permission.TeamView });\n if (!hasTeamViewInAnySpace) {\n return (
    \n \n You do not have {Permission.TeamView} permission in any given Space.\n \n
    );\n }\n return ;\n}\ninterface TeamsPageDialogsProps {\n currentSpace: SpaceResource;\n isAddTeamDialogOpen: boolean;\n}\nfunction TeamsPageDialogs({ currentSpace, isAddTeamDialogOpen }: TeamsPageDialogsProps) {\n const { navigate } = useSpaceAwareNavigation();\n return (\n navigate(links.editTeamPage.generateUrl({ teamId: id }))}/>\n );\n}\n","import { isEqual } from \"lodash\";\nimport { useMemo, useRef } from \"react\";\n/**\n * Memoize a value using deep comparison.\n * This hook should be used very sparingly - usually there is a better way to memoize\n * using primitive values or object references instead.\n * @param value\n */\nexport function useDeepCompareMemo(value: T) {\n const ref = useRef(value);\n const signalRef = useRef(0);\n if (!isEqual(value, ref.current)) {\n ref.current = value;\n signalRef.current += 1;\n }\n // eslint-disable-next-line react-hooks/exhaustive-deps\n return useMemo(() => ref.current, [signalRef.current]);\n}\n","import { TaskState } from \"@octopusdeploy/octopus-server-client\";\nimport cn from \"classnames\";\nimport styles from \"./style.module.less\";\ninterface IconStyleProps {\n State: TaskState;\n IsCompleted: boolean;\n HasPendingInterruptions: boolean;\n HasWarningsOrErrors: boolean;\n IsPrevious?: boolean;\n IsCurrent?: boolean;\n}\nexport default (item: IconStyleProps, className?: string) => {\n let stateClass: string = item.State;\n if (item.HasPendingInterruptions && !item.IsCompleted) {\n stateClass = \"Paused\";\n }\n else if (item.State === TaskState.Success && item.HasWarningsOrErrors) {\n stateClass = \"SuccessWithWarnings\";\n }\n let iconStyles = cn(styles.status, styles[stateClass], className);\n if (item.IsPrevious) {\n iconStyles = cn(iconStyles, \"status-previous\");\n }\n else if (item.IsCurrent === false && item.IsPrevious === false) {\n iconStyles = cn(iconStyles, \"status-archive\");\n }\n return iconStyles;\n};\nexport { IconStyleProps };\n","/* eslint-disable @typescript-eslint/no-explicit-any */\nimport { css, cx } from \"@emotion/css\";\nimport { Tooltip } from \"@octopusdeploy/design-system-components\";\nimport { TaskState } from \"@octopusdeploy/octopus-server-client\";\nimport moment from \"moment\";\nimport * as React from \"react\";\nimport type { OctopusTheme } from \"~/components/Theme\";\nimport { useOctopusTheme } from \"~/components/Theme\";\nimport iconStyle from \"./iconStyle\";\ntype TaskStatusIconSize = 20 | 28 | 32 | 48;\ninterface TaskStatusIconProps {\n item: TaskStatusIconPropsItem;\n size?: TaskStatusIconSize;\n iconOnly?: boolean;\n iconClassName?: string;\n}\ninterface TaskStatusIconPropsItem {\n HasPendingInterruptions: boolean;\n HasWarningsOrErrors: boolean;\n IsCompleted: boolean;\n LastUpdatedTime?: string;\n StartTime?: string | null;\n QueueTime?: string;\n QueueTimeExpiry?: string;\n Duration?: string;\n ErrorMessage?: string;\n State: TaskState;\n}\nfunction momentFromFilter(fromDate: any, toDate: any) {\n if (!fromDate) {\n return null;\n }\n const fromMoment = moment(fromDate);\n const toMoment = toDate ? moment(toDate) : moment();\n const diff = fromMoment.diff(toMoment);\n const duration = moment.duration(diff);\n const mins = duration.minutes();\n const hours = duration.hours();\n const days = Math.floor(duration.asDays());\n let result = mins === 1 ? \"1 minute\" : mins + \" minutes\";\n result = (hours !== 0 ? (hours === 1 ? \"1 hour\" : hours + \" hours\") + \" and \" : \"\") + result;\n result = (days !== 0 ? (days === 1 ? \"1 day\" : days + \" days\") + \", \" : \"\") + result;\n return result;\n}\nfunction inspector(task: TaskStatusIconPropsItem, theme: OctopusTheme) {\n const pendingInterruptions = task.HasPendingInterruptions;\n const warningsOrErrors = task.HasWarningsOrErrors;\n const optionalDuration = task.Duration ? ` Duration: ${task.Duration}` : \"\";\n const errorMessage = task.ErrorMessage;\n let description: string = task.State;\n let tip = \"\";\n let html = ;\n if (pendingInterruptions && !task.IsCompleted) {\n html = ;\n description = \"Waiting...\";\n tip = \"This task is waiting for manual intervention.\" + optionalDuration;\n }\n else if (task.State === TaskState.Cancelling) {\n html = (\n \n \n \n \n );\n description = \"Cancelling\";\n tip = \"Cancellation has been requested, attempting to stop the task.\";\n }\n else if (task.State === TaskState.Queued) {\n html = ;\n description = \"Queued...\";\n const timeQueued = moment(task.QueueTime).calendar();\n tip = \"This task was queued to run \" + timeQueued;\n }\n else if (task.State === TaskState.Executing) {\n html = ;\n tip = \"This task is being executed by the Octopus Server.\" + optionalDuration;\n }\n else if (task.State === TaskState.Failed) {\n html = ;\n tip = \"An error occurred while processing this task\";\n tip = errorMessage && errorMessage.length > 0 ? tip + \": \" + errorMessage : tip + \". See the task details for more information.\";\n }\n else if (task.State === TaskState.Canceled) {\n html = ;\n tip = \"This task was canceled.\";\n tip = errorMessage && errorMessage.length > 0 ? tip + \" \" + errorMessage : tip;\n }\n else if (task.State === TaskState.TimedOut) {\n html = ;\n description = \"Timed out\";\n const queueTime = moment(task.QueueTime).calendar();\n const expiryTime = momentFromFilter(task.QueueTimeExpiry, task.QueueTime);\n const lastUpdated = moment(task.LastUpdatedTime).calendar();\n tip = \"The task was scheduled to run \" + queueTime + \" within \" + expiryTime + \" but the Octopus Server \" + \"attempted to run the task \" + lastUpdated + \". This can happen when the Octopus Server is too busy to process the task.\";\n }\n else if (task.State === TaskState.Success) {\n if (warningsOrErrors) {\n html = (\n \n \n \n \n );\n tip = \"This task completed successfully, but warnings or errors were reported in the log.\" + optionalDuration;\n }\n else {\n html = ;\n tip = \"This task completed without any problems.\" + optionalDuration;\n }\n }\n return {\n tip,\n html,\n description,\n };\n}\nconst TaskStatusIcon: React.FC = ({ item, iconOnly, iconClassName, size = 32 }) => {\n const theme = useOctopusTheme();\n const { tip, html, description } = inspector(item, theme);\n const icon = {html};\n if (iconOnly) {\n return icon;\n }\n return {icon};\n};\nTaskStatusIcon.displayName = \"TaskStatusIcon\"\nconst taskStatusIconSizeStyles: Record = {\n 20: css({\n width: \"1.25rem\",\n height: \"1.25rem\",\n fontSize: \"0.875rem\",\n }),\n 28: css({\n width: \"1.75rem\",\n height: \"1.75rem\",\n fontSize: \"1rem\",\n }),\n 32: css({\n width: \"2rem\",\n height: \"2rem\",\n fontSize: \"1.25rem\",\n }),\n 48: css({\n width: \"3rem\",\n height: \"3rem\",\n fontSize: \"1.75rem\",\n }),\n};\nTaskStatusIcon.displayName = \"TaskStatusIcon\";\nexport { TaskStatusIcon, iconStyle, TaskStatusIconPropsItem };\n","/* eslint-disable @typescript-eslint/no-non-null-assertion */\nimport { getTaskStartTime } from \"@octopusdeploy/octopus-server-client\";\nimport type { TaskResource, TaskSummaryResource } from \"@octopusdeploy/octopus-server-client\";\nimport cn from \"classnames\";\nimport * as React from \"react\";\nimport { TaskStatusIcon } from \"~/areas/projects/components/TaskStatusIcon/TaskStatusIcon\";\nimport DateFormatter from \"~/utils/DateFormatter\";\nimport styles from \"./style.module.less\";\ninterface TaskDetailsProps {\n task: TaskResource | TaskSummaryResource;\n stripTopBottomPadding?: boolean;\n stripAllPadding?: boolean;\n hideStatusIcon?: boolean;\n}\nconst TaskDetails: React.StatelessComponent = (props: TaskDetailsProps) => {\n const task = props.task;\n return (
    \n {!props.hideStatusIcon && }\n
    \n {task.Description}\n \n {DateFormatter.dateToCustomFormat(getTaskStartTime(task), \"MMMM Do YYYY\")}\n \n
    \n
    );\n};\nTaskDetails.displayName = \"TaskDetails\"\nTaskDetails.displayName = \"TaskDetails\";\nexport default TaskDetails;\n","import TaskDetails from \"./TaskDetails\";\nexport default TaskDetails;\n","/* eslint-disable @typescript-eslint/no-non-null-assertion */\nimport { ActionButton, ActionButtonType, BooleanRadioButtonGroup, BooleanRadioButton, Callout } from \"@octopusdeploy/design-system-components\";\nimport type { StatsResourceCollection, TaskResource, TelemetryConfigurationResource } from \"@octopusdeploy/octopus-server-client\";\nimport { TaskName } from \"@octopusdeploy/octopus-server-client\";\nimport { links } from \"@octopusdeploy/portal-routes\";\nimport { cloneDeep } from \"lodash\";\nimport moment from \"moment\";\nimport React from \"react\";\nimport { client, repository } from \"~/clientInstance\";\nimport type { Refresh } from \"~/components/DataBaseComponent/DataBaseComponent\";\nimport FormBaseComponent from \"~/components/FormBaseComponent\";\nimport type { OptionalFormBaseComponentState } from \"~/components/FormBaseComponent\";\nimport { LegacyForm } from \"~/components/FormPaperLayout/LegacyForm\";\nimport ExternalLink from \"~/components/Navigation/ExternalLink\";\nimport InternalLink from \"~/components/Navigation/InternalLink\";\nimport { PageContent } from \"~/components/PageContent/PageContent\";\nimport { PagingList } from \"~/components/PagingList/PagingList\";\nimport Section from \"~/components/Section\";\nimport TaskDetails from \"~/components/TaskDetails\";\nimport { withTheme } from \"~/components/Theme\";\nimport TransitionAnimation from \"~/components/TransitionAnimation/TransitionAnimation\";\nimport { ExpandableFormSection, Note, Summary } from \"~/components/form\";\nimport DateFormatter from \"~/utils/DateFormatter\";\nimport { timeOperationOptions } from \"~/utils/OperationTimer/timeOperation\";\nimport styles from \"./style.module.less\";\ninterface TelemetryPageState extends OptionalFormBaseComponentState {\n lastRunTask?: TaskResource;\n taskHistory?: StatsResourceCollection;\n}\nclass TelemetryTasksList extends PagingList> {\n}\nconst buildTaskRow = (task: TaskResource<{}>) => ;\nexport class TelemetryPage extends FormBaseComponent<{}, TelemetryPageState, TelemetryConfigurationResource> {\n constructor(props: {}) {\n super(props);\n this.state = {};\n }\n async componentDidMount() {\n localStorage.setItem(TelemetryHasBeenIntroducedLocalStorageKey, \"true\");\n await this.doBusyTask(async () => {\n const configuration = await repository.TelemetryConfiguration.get();\n const task = await repository.Telemetry.getLatestTelemetryTask();\n const taskHistory = await repository.Tasks.list({ name: TaskName.SendTelemetry, skip: 0, take: 10 });\n this.doRefresh = await this.startRefreshLoop(() => this.refreshLatestTask(), 5000);\n this.setState({\n model: configuration,\n cleanModel: cloneDeep(configuration),\n lastRunTask: task,\n taskHistory,\n });\n }, { timeOperationOptions: timeOperationOptions.forInitialLoad() });\n }\n async loadTaskHistory(skip: number = 0) {\n const taskHistory = await repository.Tasks.list({ taskName: TaskName.SendTelemetry, skip: skip, take: 10 });\n this.setState({ taskHistory });\n }\n async refreshLatestTask() {\n const lastRunTask = await repository.Telemetry.getLatestTelemetryTask();\n const taskHistory = await repository.Tasks.list({ name: TaskName.SendTelemetry, skip: 0, take: 10 });\n return {\n ...this.state,\n lastRunTask,\n taskHistory,\n };\n }\n handleSaveClick = async () => {\n await this.doBusyTask(async () => {\n const result = await repository.TelemetryConfiguration.modify(this.state.model!);\n this.setState({\n model: result,\n cleanModel: cloneDeep(result),\n });\n });\n };\n sendTelemetry = async () => {\n const task = await repository.Tasks.createSendTelemetryTask();\n this.setState({ lastRunTask: task });\n };\n renderLastTelemetryTaskDetails = () => {\n const { lastRunTask } = this.state;\n if (!lastRunTask)\n return Telemetry task has not run;\n if (lastRunTask.StartTime)\n return (\n Telemetry task last ran{` `}\n \n {DateFormatter.momentAgo(lastRunTask.StartTime!)}\n \n );\n return Telemetry task is in the task queue;\n };\n renderActions = () => {\n const { model } = this.state;\n return (<>\n {!model?.Enabled && (
    \n

    Send your telemetry to Octopus one-time

    \n \n
    )}\n
    \n

    Preview the telemetry data that has been collected by your instance.

    \n \n \n \n
    \n );\n };\n renderTelemetryDetails = () => {\n return (\n this.setModelState({ Enabled })}>\n \n \n \n\n {!this.state.model?.Enabled && (\n

    When telemetry reporting is disabled, some data is still collected locally, but it is not sent automatically to Octopus.

    \n
    )}\n {this.state.model?.IsTelemetryEnforced && (\n

    Telemetry reporting cannot be disabled due to the conditions of your current license. For license upgrade options, please contact sales@octopus.com.

    \n
    )}\n {this.renderActions()}\n
    );\n };\n renderTaskHistory = () => {\n return (\n ) => buildTaskRow(item)} onRowRedirectUrl={(task: TaskResource<{}>) => links.taskPage.generateUrl({ taskId: task.Id })} showPagingInNumberedStyle={true} currentPageIndex={0} onPageSelected={async (skip: number) => {\n await this.loadTaskHistory(skip);\n }}/>\n );\n };\n renderNotification = () => {\n const now = moment();\n const ShowAsNewUntil = moment(this.state.model?.ShowAsNewUntil);\n return (ShowAsNewUntil.isAfter(now) && (\n

    We've changed the way Octopus Deploy collects and sends telemetry{\";\"} for better transparency and visibility.

    \n

    This now occurs via a system task. You can enable or disable telemetry reporting, view the status, and preview your data on this page.

    \n

    Telemetry reporting is enabled by default. Data will be sent from {ShowAsNewUntil.locale(\"en\").format(\"dddd[,] DD MMMM YYYY[,] HH:mm:ss [GMT]ZZ\")} unless you disable it before then.

    \n
    ));\n };\n render() {\n return withTheme(() => (\n {({ FormContent, createSaveAction }) => (\n \n {this.state.model && (\n {this.renderNotification()}\n
    \n

    Octopus collects telemetry data on user actions, feature usage and performance to improve the user experience and make roadmap decisions.

    \n

    We do not collect personal data or sensitive information, such as your source code, configuration files, variables or user PII (personally identifiable information).

    \n

    \n You can preview your telemety data below or learn more in our documentation.\n

    \n
    \n
    {this.renderTelemetryDetails()}
    \n
    {this.renderTaskHistory()}
    \n
    )}\n
    \n
    )}\n
    ));\n }\n private doRefresh: Refresh = () => Promise.resolve();\n static displayName = \"TelemetryPage\";\n}\nexport const TelemetryHasBeenIntroducedLocalStorageKey = \"TelemetryHasBeenIntroduced\";\n","/* eslint-disable @typescript-eslint/no-non-null-assertion */\nimport type { EnvironmentResource, TenantResource, ProjectGroupResource, UserPermissionRestriction, PermissionDescriptions, PermissionDescription, ProjectSummaryResource } from \"@octopusdeploy/octopus-server-client\";\nimport { isAllProjectGroups, isAllProjects, isAllEnvironments, isAllTenants } from \"@octopusdeploy/octopus-server-client\";\nimport type { LinkHref } from \"@octopusdeploy/portal-routes\";\nimport { links } from \"@octopusdeploy/portal-routes\";\nimport { sortBy } from \"lodash\";\nimport * as React from \"react\";\nimport InternalLink from \"~/components/Navigation/InternalLink/InternalLink\";\nimport { DataTable } from \"~/primitiveComponents/dataDisplay/DataTable/DataTable\";\nimport { DataTableBody } from \"~/primitiveComponents/dataDisplay/DataTable/DataTableBody\";\nimport { DataTableHeader } from \"~/primitiveComponents/dataDisplay/DataTable/DataTableHeader\";\nimport { DataTableHeaderColumn } from \"~/primitiveComponents/dataDisplay/DataTable/DataTableHeaderColumn\";\nimport { DataTableRow } from \"~/primitiveComponents/dataDisplay/DataTable/DataTableRow\";\nimport { DataTableRowColumn } from \"~/primitiveComponents/dataDisplay/DataTable/DataTableRowColumn\";\ninterface Props {\n permissions: Record;\n permissionDescriptions: PermissionDescriptions;\n projectSummaries: Record;\n environments: Record;\n tenants: Record;\n projectGroups: Record;\n showRestrictions: boolean;\n}\ninterface PermissionDetails {\n name: string;\n description: PermissionDescription;\n restrictions: UserPermissionRestriction[];\n}\ntype restrictionType = \"projects\" | \"projectgroups\" | \"tenants\" | \"environments\";\nconst PermissionTable = (props: Props) => {\n const supportsRestriction = (p: PermissionDetails, category: restrictionType) => p.restrictions && p.description.SupportedRestrictions.indexOf(category) >= 0;\n const buildLink = (collection: Record, id: string, getlink: (spaceId: string) => LinkHref) => {\n if (!collection.hasOwnProperty(id)) {\n return id;\n }\n const name = collection[id].Name;\n const spaceId = collection[id].SpaceId;\n const path = getlink(spaceId!);\n return (\n {name}\n );\n };\n const commaDelimitList = (list: React.ReactNode[]) => {\n const result: React.ReactNode[] = [];\n list.forEach((l, i) => {\n result.push(l);\n if (i !== list.length - 1) {\n result.push(\", \");\n }\n });\n return result;\n };\n const permissionsDetails: PermissionDetails[] = Object.keys(props.permissionDescriptions)\n .filter((p) => props.permissions[p])\n .map((p) => ({ name: p, description: props.permissionDescriptions[p], restrictions: props.permissions[p] }));\n const sortedPermissionDetails: PermissionDetails[] = sortBy(permissionsDetails, \"name\");\n return (\n {sortedPermissionDetails.length > 0 && (\n \n \n Permission\n {props.showRestrictions && Project Groups}\n {props.showRestrictions && Projects}\n {props.showRestrictions && Environments}\n {props.showRestrictions && Tenants}\n \n \n \n {sortedPermissionDetails.map((permissionDetail) => permissionDetail.restrictions.map((restriction, index) => (\n {index === 0 ? {permissionDetail.name} : }\n\n {props.showRestrictions && (\n {supportsRestriction(permissionDetail, \"projects\") && (\n {!isAllProjectGroups(restriction.RestrictedToProjectGroupIds)\n ? commaDelimitList(restriction.RestrictedToProjectGroupIds.map((id: string) => buildLink(props.projectGroups, id, (spaceId: string) => links.editProjectGroupPage.generateUrl({ spaceId, projectGroupId: id }))))\n : \"All project groups\"}\n )}\n )}\n {props.showRestrictions && (\n {supportsRestriction(permissionDetail, \"projects\") && (\n {!isAllProjects(restriction.RestrictedToProjectIds)\n ? commaDelimitList(restriction.RestrictedToProjectIds.map((id: string) => buildLink(props.projectSummaries, id, (spaceId: string) => links.projectRootRedirect.generateUrl({ spaceId, projectSlug: id }))))\n : \"All projects\"}\n )}\n )}\n {props.showRestrictions && (\n {supportsRestriction(permissionDetail, \"environments\") && (\n {!isAllEnvironments(restriction.RestrictedToEnvironmentIds)\n ? commaDelimitList(restriction.RestrictedToEnvironmentIds.map((id: string) => buildLink(props.environments, id, (spaceId: string) => links.infrastructureEnvironmentPage.generateUrl({ spaceId, environmentId: id }))))\n : \"All environments\"}\n )}\n )}\n {props.showRestrictions && (\n {supportsRestriction(permissionDetail, \"tenants\") && (\n {!isAllTenants(restriction.RestrictedToTenantIds)\n ? commaDelimitList(restriction.RestrictedToTenantIds.map((id: string) => buildLink(props.tenants, id, (spaceId: string) => links.tenantOverviewPage.generateUrl({ spaceId, tenantId: id }))))\n : \"All tenants\"}\n )}\n )}\n )))}\n \n )}\n );\n};\nexport { PermissionTable };\n","/* eslint-disable @typescript-eslint/no-non-null-assertion,@typescript-eslint/consistent-type-assertions */\nimport { RadioButtonGroup, RadioButton, Callout } from \"@octopusdeploy/design-system-components\";\nimport type { PrimaryPageAction } from \"@octopusdeploy/design-system-components\";\nimport type { EnvironmentResource, ProjectSummaryResource, PermissionDescriptions, Permissions, ProjectedTeamReferenceDataItem, ProjectGroupResource, SpaceResource, TenantResource, UserResource } from \"@octopusdeploy/octopus-server-client\";\nimport { Permission } from \"@octopusdeploy/octopus-server-client\";\nimport type { LinkHref } from \"@octopusdeploy/portal-routes\";\nimport { links } from \"@octopusdeploy/portal-routes\";\nimport { keyBy } from \"lodash\";\nimport * as React from \"react\";\nimport { repository } from \"~/clientInstance\";\nimport type { DataBaseComponentState } from \"~/components/DataBaseComponent/DataBaseComponent\";\nimport { DataBaseComponent } from \"~/components/DataBaseComponent/DataBaseComponent\";\nimport InternalLink from \"~/components/Navigation/InternalLink/InternalLink\";\nimport { PageContent } from \"~/components/PageContent/PageContent\";\nimport { SimplePagingList } from \"~/components/PagingList\";\nimport { isAllowed } from \"~/components/PermissionCheck/PermissionCheck\";\nimport { Section } from \"~/components/Section/Section\";\nimport Select from \"~/primitiveComponents/form/Select/Select\";\nimport { timeOperation, timeOperationOptions } from \"~/utils/OperationTimer/timeOperation\";\nimport InternalRedirect from \"../../../../components/Navigation/InternalRedirect/InternalRedirect\";\nimport ProjectedTeamsList, { ProjectedTeamListItem } from \"../ProjectedTeamsList/ProjectedTeamsList\";\nimport { PermissionTable } from \"./PermissionTable\";\ninterface TestPermissionPageState extends DataBaseComponentState {\n selectedUserId?: string;\n selectedUser?: UserResource;\n spacesAccessibleBySelectedUser?: SpaceResource[];\n projectedTeamReferenceDataItems?: ProjectedTeamReferenceDataItem[];\n spacePermissions?: Permissions;\n systemPermissions?: PermissionListItem[];\n isTeamsComplete?: boolean;\n isPermissionsComplete?: boolean;\n exportUrl?: string;\n redirectTo?: LinkHref;\n users?: UserResource[];\n projectSummaries?: {\n [ID: string]: ProjectSummaryResource;\n };\n environments?: {\n [ID: string]: EnvironmentResource;\n };\n tenants?: {\n [ID: string]: TenantResource;\n };\n permissionDescriptions?: PermissionDescriptions;\n projectGroups?: {\n [ID: string]: ProjectGroupResource;\n };\n permissionContext: PermissionContext;\n selectedSpaceId?: string;\n}\nexport interface TestPermissionsPageProps {\n userId: string | undefined;\n}\ninterface PermissionListItem {\n Id: string;\n Name: string;\n}\nenum PermissionContext {\n System = \"System\",\n Space = \"Space\"\n}\nclass SystemPermissionList extends SimplePagingList {\n}\nexport class TestPermissionsPage extends DataBaseComponent {\n constructor(props: TestPermissionsPageProps) {\n super(props);\n this.state = {\n permissionContext: PermissionContext.Space,\n };\n }\n async componentDidMount() {\n return this.doBusyTask(async () => {\n const selectedUserId = this.props.userId;\n const users = repository.Users.all();\n this.setState({\n users: await users,\n selectedUserId,\n permissionDescriptions: await repository.PermissionDescriptions.all(),\n ...(selectedUserId ? await this.loadUserContext(selectedUserId, await users) : {}),\n });\n }, { timeOperationOptions: timeOperationOptions.forInitialLoad() });\n }\n async loadUserContext(selectedUserId: string, users: UserResource[]) {\n const selectedUserViaIdOrUserName = users.find((u) => u.Id === selectedUserId || u.Username === selectedUserId);\n if (!selectedUserViaIdOrUserName) {\n return {};\n }\n const selectedUser = await repository.Users.get(selectedUserViaIdOrUserName.Id);\n if (!selectedUser) {\n return {};\n }\n const spacesAccessibleBySelectedUser = await repository.Users.getSpaces(selectedUser);\n const systemLevelRepository = repository.forSystem();\n const userPermissions = await systemLevelRepository.UserPermissions.getPermissionsConfigurationForAllParitions(selectedUser, true);\n const selectedSpaceId = spacesAccessibleBySelectedUser.length === 1 ? spacesAccessibleBySelectedUser[0].Id : null;\n const newState = selectedSpaceId ? await this.selectedSpaceChanged(selectedSpaceId, selectedUser) : {};\n return {\n ...newState,\n selectedUser,\n selectedUserId,\n spacesAccessibleBySelectedUser,\n exportUrl: repository.resolve(userPermissions.Links[\"Export\"]),\n selectedSpaceId,\n };\n }\n render() {\n if (this.state.redirectTo) {\n return ;\n }\n const exportPageAction: PrimaryPageAction | undefined = this.state.exportUrl\n ? {\n type: \"navigate\",\n label: \"Export user permissions\",\n external: true,\n path: this.state.exportUrl,\n }\n : undefined;\n return (\n {this.state.users && (
    \n ({ value: s.Id, text: `${s.Name} Space` }))} onChange={(spaceId) => this.doBusyTask(async () => this.setState(await this.selectedSpaceChanged(spaceId!, this.state.selectedUser!)))} value={this.state.selectedSpaceId}/>)}\n
    )}\n {this.state.projectedTeamReferenceDataItems && (
    \n The user {this.state.selectedUser!.Username} \n is a member of the following teams:\n {this.renderIncompleteTeamsInfo()}\n links.editTeamPage.generateUrl({ teamId: teamReference.Id })} onRow={(team) => team.SpaceId && x.Id === team.SpaceId)}/>}/>\n
    )}\n {this.state.spacePermissions && this.state.permissionContext === PermissionContext.Space && (
    \n {this.renderIncompletePermissionsInfo()}\n

    \n {this.state.selectedUser!.Username || this.state.selectedUser!.DisplayName}'s \n permissions are restricted to:\n

    \n \n
    )}\n {this.state.systemPermissions && this.state.permissionContext === PermissionContext.System && (
    \n {this.renderIncompletePermissionsInfo()}\n {this.state.systemPermissions.length > 0 &&
    {p.Name}
    }/>}\n
    )}\n
    );\n }\n renderIncompleteTeamsInfo() {\n return (!this.state.isTeamsComplete && (\n Your permissions do not allow you to see all of the teams that '{this.state.selectedUser!.DisplayName}' is a member of\n ));\n }\n renderIncompletePermissionsInfo() {\n return (!this.state.isPermissionsComplete && (\n Your permissions do not allow you to see all of the permissions granted to '{this.state.selectedUser!.DisplayName}'\n ));\n }\n private userChanged = async (userId: string | undefined) => {\n this.setState({ redirectTo: userId ? links.testPermissionsForUserPage.generateUrl({ userId }) : links.testPermissionsPage.generateUrl() });\n };\n private permissionContextChanged = async (permissionContext: PermissionContext) => {\n if (permissionContext === PermissionContext.System) {\n await this.doBusyTask(async () => {\n const systemLevelRepository = repository.forSystem();\n const userPermissions = await systemLevelRepository.UserPermissions.getPermissionsConfigurationForCurrentSpaceContext(this.state.selectedUser!, true);\n this.setState({\n permissionContext,\n projectedTeamReferenceDataItems: userPermissions.Teams,\n spacePermissions: userPermissions.SpacePermissions,\n systemPermissions: userPermissions.SystemPermissions.map((p: Permission) => ({ Id: p, Name: p })),\n isTeamsComplete: userPermissions.IsTeamsComplete,\n isPermissionsComplete: userPermissions.IsPermissionsComplete,\n projectSummaries: {},\n environments: {},\n projectGroups: {},\n tenants: {},\n selectedSpaceId: null!,\n });\n }, { timeOperationOptions: timeOperationOptions.for(\"PermissionContextChanged\") });\n return;\n }\n this.setState(() => ({ permissionContext, spacePermissions: null, systemPermissions: null, projectedTeamReferenceDataItems: null, exportUrl: null }));\n };\n private selectedSpaceChanged = async (spaceId: string, selectedUser: UserResource) => {\n return await timeOperation(timeOperationOptions.for(\"SelectedSpaceChanged\"), async () => {\n const spaceLevelRepository = await repository.forSpace(spaceId);\n const userPermissions = await spaceLevelRepository.UserPermissions.getPermissionsConfigurationForCurrentSpaceContext(selectedUser, false);\n const tenants = isAllowed({ permission: Permission.TenantView }, { spaceId }) && isAllowed({ permission: Permission.TenantView, tenant: \"*\" }) ? spaceLevelRepository.Tenants.all() : Promise.resolve([]);\n const projectSummaries = isAllowed({ permission: Permission.ProjectView }, { spaceId }) ? spaceLevelRepository.Projects.summaries() : Promise.resolve([]);\n const environments = isAllowed({ permission: Permission.EnvironmentView }, { spaceId }) ? spaceLevelRepository.Environments.all() : Promise.resolve([]);\n const projectGroups = isAllowed({ permission: Permission.ProjectGroupView }, { spaceId }) ? spaceLevelRepository.ProjectGroups.all() : Promise.resolve([]);\n return {\n selectedSpaceId: spaceId,\n projectedTeamReferenceDataItems: userPermissions.Teams,\n spacePermissions: userPermissions.SpacePermissions,\n systemPermissions: userPermissions.SystemPermissions.map((p) => ({ Id: p, Name: p })),\n isTeamsComplete: userPermissions.IsTeamsComplete,\n isPermissionsComplete: userPermissions.IsPermissionsComplete,\n projectSummaries: keyBy(await projectSummaries, \"Id\"),\n environments: keyBy(await environments, \"Id\"),\n tenants: keyBy(await tenants, \"Id\"),\n projectGroups: keyBy(await projectGroups, \"Id\"),\n exportUrl: repository.resolve(userPermissions.Links[\"Export\"], { spaces: spaceId }),\n };\n });\n };\n static displayName = \"TestPermissionsPage\";\n}\n","/* eslint-disable @typescript-eslint/no-non-null-assertion */\nimport { NavigationButton } from \"@octopusdeploy/design-system-components\";\nimport type { CertificateConfigurationResource } from \"@octopusdeploy/octopus-server-client\";\nimport { Permission } from \"@octopusdeploy/octopus-server-client\";\nimport { links } from \"@octopusdeploy/portal-routes\";\nimport * as React from \"react\";\nimport { repository } from \"~/clientInstance\";\nimport type { DataBaseComponentState } from \"~/components/DataBaseComponent/DataBaseComponent\";\nimport { DataBaseComponent } from \"~/components/DataBaseComponent/DataBaseComponent\";\nimport InternalLink from \"~/components/Navigation/InternalLink/InternalLink\";\nimport { PageContent } from \"~/components/PageContent/PageContent\";\nimport PermissionCheck, { isAllowed } from \"~/components/PermissionCheck/PermissionCheck\";\nimport Section from \"~/components/Section\";\nimport { Note } from \"~/components/form\";\nimport ServerThumbprint from \"../../../../components/ServerThumbprint/ServerThumbprint\";\ninterface ThumbprintPageState extends DataBaseComponentState {\n certificate?: CertificateConfigurationResource;\n}\nexport class ThumbprintPage extends DataBaseComponent<{}, ThumbprintPageState> {\n constructor(props: {}) {\n super(props);\n this.state = {};\n }\n async componentDidMount() {\n return this.doBusyTask(async () => {\n const certificate = await repository.CertificateConfiguration.global();\n this.setState({ certificate });\n });\n }\n render() {\n const sidebar = (
    \n

    Octopus → Windows Azure

    \n

    \n Octopus authenticates with Windows Azure using Management Certificates. Grant this Octopus Server rights to your Azure Subscriptions by creating an{\" \"}\n {isAllowed({ permission: Permission.AccountEdit, wildcard: true }) ? Account : Account} for each one.\n

    \n \n \n \n
    );\n const cert = this.state.certificate;\n const body = cert && (
    \n The server thumbprint below is used to identify this Octopus Server to any Tentacles when executing a deployment. You'll need the thumbprint when manually adding new Tentacle deployment targets to an environment.\n

    \n The server certificate uses the {cert.SignatureAlgorithm} algorithm.\n

    \n \n
    );\n return (\n {body}\n );\n }\n static displayName = \"ThumbprintPage\";\n}\n","/* eslint-disable @typescript-eslint/no-non-null-assertion */\nimport { Callout } from \"@octopusdeploy/design-system-components\";\nimport type { PrimaryPageAction } from \"@octopusdeploy/design-system-components\";\nimport type { InvitationResource, GetTeamsLookupBffResponseTeam } from \"@octopusdeploy/octopus-server-client\";\nimport { Permission } from \"@octopusdeploy/octopus-server-client\";\nimport { range } from \"lodash\";\nimport * as React from \"react\";\nimport { client, repository } from \"~/clientInstance\";\nimport ComponentRow from \"~/components/ComponentRow/ComponentRow\";\nimport CopyToClipboard from \"~/components/CopyToClipboardButton/CopyToClipboardButton\";\nimport type { DataBaseComponentState } from \"~/components/DataBaseComponent/DataBaseComponent\";\nimport { DataBaseComponent } from \"~/components/DataBaseComponent/DataBaseComponent\";\nimport { TeamMultiSelect } from \"~/components/MultiSelect/TeamMultiSelect\";\nimport { PageContent } from \"~/components/PageContent/PageContent\";\nimport { SimplePagingList } from \"~/components/PagingList\";\nimport PermissionCheck, { isAllowed } from \"~/components/PermissionCheck/PermissionCheck\";\nimport { Section } from \"~/components/Section/Section\";\nimport SectionNote from \"~/components/SectionNote/SectionNote\";\nimport { Text } from \"~/components/form\";\nimport styles from \"./style.module.less\";\ninterface UserInviteState extends DataBaseComponentState {\n availableTeams: GetTeamsLookupBffResponseTeam[];\n teams: string[];\n quantity: number;\n invites?: InvitationResource[];\n anyAuthenticationProvidersSupportPasswordManagement?: boolean;\n}\nclass InviteList extends SimplePagingList {\n}\nexport class UserInvitePage extends DataBaseComponent<{}, UserInviteState> {\n tenantId: string = null!;\n constructor(props: {}) {\n super(props);\n this.state = {\n availableTeams: [],\n teams: [],\n quantity: 1,\n };\n }\n async componentDidMount() {\n await this.doBusyTask(async () => {\n const [availableTeams, document] = await Promise.all([repository.Teams.lookupBff(), repository.Authentication.get()]);\n this.setState({\n availableTeams,\n anyAuthenticationProvidersSupportPasswordManagement: document.AnyAuthenticationProvidersSupportPasswordManagement,\n });\n });\n }\n createInvites = async () => {\n await this.doBusyTask(async () => {\n // TODO: Need to add a bulk API (comment from old portal, yes we do, but not now)\n const hasSpaceTeam = this.state.teams.map((t) => this.state.availableTeams.find((x) => x.Id === t)).some((t) => t!.SpaceId !== null);\n const invites = await Promise.all(range(0, this.state.quantity)\n //implied rule: any selected teams must all be in the same space or system\n .map((_) => repository.Invitations.invite(this.state.teams, hasSpaceTeam ? repository.spaceId : null)));\n this.setState({\n invites,\n });\n });\n };\n inviteMore = async () => {\n this.setState({\n invites: null!,\n teams: [],\n quantity: 1,\n });\n };\n render() {\n const createInvitesPageAction: PrimaryPageAction | undefined = this.state.anyAuthenticationProvidersSupportPasswordManagement\n ? {\n type: \"button\",\n label: \"Create\",\n busyLabel: \"Creating...\",\n disabled: this.state.busy,\n onClick: () => this.createInvites(),\n }\n : undefined;\n const inviteMorePageAction: PrimaryPageAction = {\n type: \"button\",\n label: \"Invite more users\",\n busyLabel: \"Setting up...\",\n disabled: this.state.busy,\n onClick: () => this.inviteMore(),\n };\n const invitePageAction: PrimaryPageAction | undefined = this.state.invites && this.state.invites.length > 0 ? inviteMorePageAction : createInvitesPageAction;\n const createInvites = (
    \n Create invitation codes to allow users to register their own accounts on the Octopus Deploy server. Each code can be used at most once, and all codes will expire 48 hours after creation.\n
    \n \n this.setState({ teams })} value={this.state.teams}/>\n this.setState({ quantity: parseInt(quantity, 10) })} min={1} max={1000} type=\"number\"/>\n \n
    \n
    );\n const inviteRequestWithPermissionChecks = !this.state.invites && (
    \n {/* Yes you need a lot of permissions */}\n \n \n The {Permission.TeamCreate} permission is required to invite users\n \n }>\n \n \n The {Permission.TeamEdit} permission is required to invite users\n \n }>\n \n \n The {Permission.UserInvite} permission is required to invite users\n \n }>\n {createInvites}\n \n \n \n
    );\n const resolveLink = (invite: InvitationResource) => `${client.resolve(invite.Links.Register)}`;\n const anchor = (link: string) => ( e.stopPropagation()}>\n {link}\n );\n const createLink = (invite: InvitationResource) => (
    \n
    \n \n
    \n {anchor(resolveLink(invite))}\n
    );\n const inviteListing = this.state.invites && this.state.invites.length > 0 && (
    \n
    {this.state.invites.length > 1 ? \"Please provide the links below to the invited users.\" : \"Please provide the link below to the invited user.\"}
    \n \n
    );\n const body = this.state.availableTeams.length > 0 &&\n (this.state.anyAuthenticationProvidersSupportPasswordManagement ? (
    \n {inviteRequestWithPermissionChecks}\n {inviteListing}\n
    ) : (
    \n \n There are no Authentication Providers that support password management.\n \n
    ));\n const hasTeamEditAndUserInvite = isAllowed({ permission: Permission.TeamEdit }) && isAllowed({ permission: Permission.TeamCreate }) && isAllowed({ permission: Permission.UserInvite });\n return (\n {body}\n );\n }\n static displayName = \"UserInvitePage\";\n}\n","import type { GitHubActionsSubjectParseResult, GitHubActionsFilterType } from \"./ConfigureGitHubActionsOidcIdentity\";\nexport function parseGitHubActionsSubject(subject: string): GitHubActionsSubjectParseResult | undefined {\n const regex = \"^repo:(?.+)/(?.+):(pull_request|ref:refs/heads/(?.+)|ref:refs/tags/(?.+)|environment:(?.+))$\";\n const match = subject.match(regex);\n if (match === null || match.groups === undefined)\n return undefined;\n let scope: GitHubActionsFilterType = \"pull_request\";\n let value: string | undefined = undefined;\n if (match.groups[\"branch\"]) {\n scope = \"branch\";\n value = match.groups[\"branch\"];\n }\n else if (match.groups[\"tag\"]) {\n scope = \"tag\";\n value = match.groups[\"tag\"];\n }\n else if (match.groups[\"environment\"]) {\n scope = \"environment\";\n value = match.groups[\"environment\"];\n }\n return {\n organization: match.groups[\"organization\"],\n repository: match.groups[\"repository\"],\n filterType: scope,\n filterValue: value,\n };\n}\n","import type { ServiceAccountOidcIdentityResource } from \"@octopusdeploy/octopus-server-client\";\nimport { parseGitHubActionsSubject } from \"./parseGitHubActionsSubject\";\nexport type IssuerType = \"GitHubActions\" | \"Other\";\nexport const GitHubActionsIssuer = \"https://token.actions.githubusercontent.com\";\nexport function getIssuerType(oidcIdentity: ServiceAccountOidcIdentityResource): IssuerType | undefined {\n if (oidcIdentity.Id === \"\")\n return undefined;\n if (oidcIdentity.Issuer === GitHubActionsIssuer || parseGitHubActionsSubject(oidcIdentity.Subject)) {\n return \"GitHubActions\";\n }\n return \"Other\";\n}\n","import { css } from \"@emotion/css\";\nimport { IconButton } from \"@octopusdeploy/design-system-components\";\nimport { space } from \"@octopusdeploy/design-system-tokens\";\nimport type { ServiceAccountOidcIdentityResource } from \"@octopusdeploy/octopus-server-client\";\nimport * as React from \"react\";\nimport { useEffect, useState } from \"react\";\nimport { useGetFieldError } from \"~/components/ErrorContext/ErrorContext\";\nimport ExternalLink from \"~/components/Navigation/ExternalLink\";\nimport { Note, Select, Text, and, required, startsWith, url } from \"~/components/form\";\nimport type { DropdownMenuOption } from \"~/primitiveComponents/form/Select/DropDownMenu\";\nimport { GitHubActionsIssuer } from \"./getIssuerType\";\nimport { parseGitHubActionsSubject } from \"./parseGitHubActionsSubject\";\ntype ConfigureGitHubActionsIssuerTypeOidcIdentityProps = {\n oidcIdentity: ServiceAccountOidcIdentityResource;\n setOidcIdentity: (oidcIdentity: ServiceAccountOidcIdentityResource) => void;\n};\nexport type GitHubActionsFilterType = \"environment\" | \"pull_request\" | \"branch\" | \"tag\";\nconst gitHubActionsFilterTypes: GitHubActionsFilterType[] = [\"branch\", \"environment\", \"pull_request\", \"tag\"];\nexport type GitHubActionsSubjectParseResult = {\n organization: string;\n repository: string;\n filterType: GitHubActionsFilterType;\n filterValue?: string;\n};\nexport function ConfigureGitHubActionsOidcIdentity({ oidcIdentity, setOidcIdentity }: ConfigureGitHubActionsIssuerTypeOidcIdentityProps) {\n const parsedSubject = parseGitHubActionsSubject(oidcIdentity.Subject);\n const [organization, setOrganization] = useState(parsedSubject?.organization ?? \"\");\n const [repository, setRepository] = useState(parsedSubject?.repository ?? \"\");\n const [filterType, setFilterType] = useState(parsedSubject?.filterType ?? undefined);\n const [filterValue, setFilterValue] = useState(parsedSubject?.filterValue ?? \"\");\n const [useCustomIssuer, setUseCustomIssuer] = useState(oidcIdentity.Issuer !== undefined && oidcIdentity.Issuer !== \"\" && oidcIdentity.Issuer !== GitHubActionsIssuer);\n const [useCustomSubject, setUseCustomSubject] = useState(oidcIdentity.Subject !== undefined && oidcIdentity.Subject !== \"\" && parseGitHubActionsSubject(oidcIdentity.Subject) === undefined);\n const getFieldError = useGetFieldError();\n useEffect(() => {\n if (!oidcIdentity.Issuer || (!useCustomIssuer && oidcIdentity.Issuer !== GitHubActionsIssuer)) {\n setOidcIdentity({\n ...oidcIdentity,\n Issuer: GitHubActionsIssuer,\n });\n }\n }, [oidcIdentity, setOidcIdentity, useCustomIssuer]);\n useEffect(() => {\n if (useCustomSubject)\n return;\n let subject = \"\";\n if (filterType !== undefined) {\n let filter = \"\";\n if (filterType === \"branch\") {\n if (filterValue)\n filter = `ref:refs/heads/${filterValue}`;\n }\n else if (filterType === \"environment\") {\n if (filterValue)\n filter = `environment:${filterValue}`;\n }\n else if (filterType === \"pull_request\")\n filter = `pull_request`;\n else if (filterType === \"tag\") {\n if (filterValue)\n filter = `ref:refs/tags/${filterValue}`;\n }\n if (organization && repository && filter)\n subject = `repo:${organization}/${repository}:${filter}`;\n }\n if (oidcIdentity.Subject !== subject) {\n setOidcIdentity({\n ...oidcIdentity,\n Subject: subject,\n });\n }\n }, [organization, repository, filterType, filterValue, oidcIdentity, setOidcIdentity, useCustomSubject]);\n function onFilterTypeChange(newValue: string | undefined) {\n setFilterValue(\"\");\n if (newValue === undefined || newValue === \"\")\n setFilterType(undefined);\n else if (newValue === \"environment\")\n setFilterType(\"environment\");\n else if (newValue === \"pull_request\")\n setFilterType(\"pull_request\");\n else if (newValue === \"branch\")\n setFilterType(\"branch\");\n else if (newValue === \"tag\")\n setFilterType(\"tag\");\n else\n throw new Error(\"Unknown filter type\");\n }\n function getFilterTypeDescription(filterType?: GitHubActionsFilterType): string {\n if (filterType === undefined)\n return \"Select a filter\";\n else if (filterType === \"branch\")\n return \"Branch\";\n else if (filterType === \"environment\")\n return \"Environment\";\n else if (filterType === \"pull_request\")\n return \"Pull Requests\";\n else if (filterType === \"tag\")\n return \"Tag\";\n else\n throw new Error(\"Unknown filter type\");\n }\n function getFilterTypeHelpText(filterType?: GitHubActionsFilterType): string {\n if (filterType === undefined)\n return \"Select a filter\";\n else if (filterType === \"branch\")\n return \"Only GitHub Actions workflow runs for this branch will be able to connect using this OIDC identity.\";\n else if (filterType === \"environment\")\n return \"Only GitHub Actions workflow runs using this environment will be able to connect using this OIDC identity.\";\n else if (filterType === \"pull_request\")\n return \"Only GitHub Actions workflow runs triggered from pull requests will be able to connect using this OIDC identity.\";\n else if (filterType === \"tag\")\n return \"Only GitHub Actions workflow runs for this tag will be able to connect using this OIDC identity.\";\n else\n throw new Error(\"Unknown filter type\");\n }\n function getSubjectDescription() {\n if (useCustomSubject)\n return (<>\n The subject of the OIDC identity. This must match the subject provided in the GitHub Actions OIDC token and can use '*' or '?' wildcard characters. Click the cancel icon to generate the subject from the GitHub repository details\n instead.\n );\n if (filterType === \"pull_request\") {\n return (<>\n GitHub Actions workflow runs triggered from pull requests in the{\" \"}\n {\n {organization}/{repository}\n }{\" \"}\n repository will be able to connect using this OIDC identity. Click the edit icon to change this if you are customizing the subject claims for your Organization or Repository.\n );\n }\n else if (filterType === \"environment\" && filterValue) {\n {\n return (<>\n GitHub Actions workflow runs for the {{filterValue}} environment in the{\" \"}\n {\n {organization}/{repository}\n }{\" \"}\n repository will be able to connect using this OIDC identity. Click the edit icon to change this if you are customizing the subject claims for your Organization or Repository.\n );\n }\n }\n else if (filterValue) {\n return (<>\n GitHub Actions workflow runs for the {{filterValue}} {filterType} in the{\" \"}\n {\n {organization}/{repository}\n }{\" \"}\n repository will be able to connect using this OIDC identity. Click the edit icon to change this if you are customizing the subject claims for your Organization or Repository.\n );\n }\n else {\n return (<>\n Configure the organization, repository and filter for the GitHub Actions connection to generate the subject. Wildcard characters '*' and '?' can be used. Click the edit icon to change this if you are customizing the subject claims\n for your Organization or Repository.\n );\n }\n }\n function filterTypeRequiresValue(filterType?: GitHubActionsFilterType): boolean {\n if (filterType === undefined || filterType === \"pull_request\")\n return false;\n return true;\n }\n function selectionRenderer(_: string, menuItem: DropdownMenuOption) {\n return
    {menuItem.text}
    ;\n }\n const styles = {\n container: css({\n display: \"flex\",\n flexDirection: \"column\",\n gap: space[8],\n }),\n generatedProperties: css({\n display: \"flex\",\n flexDirection: \"column\",\n gap: space[16],\n }),\n generatedProperty: css({\n display: \"flex\",\n gap: space[8],\n }),\n generatedPropertyIcon: css({\n marginTop: space[16],\n }),\n };\n return (
    \n
    \n setOidcIdentity({\n ...oidcIdentity,\n Name: name,\n })} validate={required(\"Name is required\")} error={getFieldError(\"Name\")} autoFocus helperText=\"A unique name for the OIDC identity within this service account.\"/>\n
    \n {\n setOidcIdentity({\n ...oidcIdentity,\n Issuer: issuer,\n });\n }} disabled={!useCustomIssuer} autoFocus={useCustomIssuer} validate={and([required(\"Issuer is required\"), url(\"Issuer must be a valid url\"), startsWith(\"Issuer must be a valid url using HTTPS\", \"https\")])} error={getFieldError(\"Issuer\")} helperText={useCustomIssuer\n ? \"The URL where GitHub Action tokens are issued from. Click the cancel icon to use the issuer URL for GitHub Actions in GitHub Cloud.\"\n : \"The URL where GitHub Action tokens are issued from. Click the edit icon to set the URL if you are using GitHub Actions in GitHub Enterprise.\"}/>\n
    \n setUseCustomIssuer(!useCustomIssuer)}/>\n
    \n
    \n {\n setOrganization(organization);\n }} disabled={useCustomSubject} validate={required(\"Organization is required\")} error={getFieldError(\"Organization\")} helperText=\"The GitHub organization of the repository to connect from.\"/>\n {\n setRepository(repository);\n }} disabled={useCustomSubject} validate={required(\"Repository is required\")} error={getFieldError(\"Repository\")} helperText=\"The GitHub repository to connect from.\"/>\n \n {/* eslint-disable-next-line @typescript-eslint/no-non-null-assertion */}\n {showCustomExpiry && }\n
    );\n }\n static displayName = \"AddApiKeyDialogLayout\";\n}\nexport default AddApiKeyDialogLayout;\n","/* eslint-disable @typescript-eslint/no-explicit-any */\nimport * as React from \"react\";\nimport type { DataBaseComponentState } from \"~/components/DataBaseComponent/DataBaseComponent\";\nimport { DataBaseComponent } from \"~/components/DataBaseComponent/DataBaseComponent\";\nimport DeleteDialog from \"~/components/DialogLayout/DeleteDialog\";\nimport { Section } from \"~/components/Section/Section\";\ninterface DeleteApiKeyProps {\n apiKeyPurpose: string;\n open: boolean;\n onConfirm(): Promise;\n onClose(): void;\n}\nclass DeleteApiKeyDialog extends DataBaseComponent {\n constructor(props: DeleteApiKeyProps) {\n super(props);\n this.state = {};\n }\n render() {\n return ( this.doBusyTask(this.props.onConfirm)} onClose={this.props.onClose} open={this.props.open}>\n
    \n Are you sure you want to delete the API Key {this.props.apiKeyPurpose}?\n
    \n
    );\n }\n static displayName = \"DeleteApiKeyDialog\";\n}\nexport default DeleteApiKeyDialog;\n","/* eslint-disable @typescript-eslint/no-non-null-assertion */\n/* eslint-disable @typescript-eslint/no-explicit-any */\nimport type { UserResource, ResourceCollection, ApiKeyResource } from \"@octopusdeploy/octopus-server-client\";\nimport * as React from \"react\";\nimport { repository } from \"~/clientInstance\";\nimport BaseComponent from \"~/components/BaseComponent/index\";\nimport { ApiKeyExpiryChip } from \"~/components/Chips\";\nimport type { DataBaseComponentState, DoBusyTask } from \"~/components/DataBaseComponent/DataBaseComponent\";\nimport CustomDialog from \"~/components/Dialog/CustomDialog\";\nimport OpenDialogButton from \"~/components/Dialog/OpenDialogButton\";\nimport { NothingToSeeHere } from \"~/components/NothingToSeeHere\";\nimport { RemoveItemsList } from \"~/components/RemoveItemsList/RemoveItemsList\";\nimport { Section } from \"~/components/Section/Section\";\nimport TimeFromNowLabel from \"~/components/TimeLabels/TimeFromNowLabel\";\nimport AddApiKeyDialogLayout from \"./AddApiKeyDialogLayout\";\nimport DeleteApiKeyDialog from \"./DeleteApiKeyDialog\";\nimport styles from \"./style.module.less\";\ninterface UserApiKeysListProps {\n user: UserResource;\n doBusyTask: DoBusyTask;\n userApiKeysEnabled: boolean;\n}\ninterface UserApiKeysState extends DataBaseComponentState {\n apiKeyCollection: ResourceCollection;\n purpose: string;\n lastApiKey: string;\n apiKeyToDelete: ApiKeyResource;\n}\nclass ApiKeyList extends RemoveItemsList {\n}\nexport default class UserApiKeysList extends BaseComponent {\n constructor(props: UserApiKeysListProps) {\n super(props);\n this.state = {\n apiKeyCollection: null!,\n purpose: null!,\n lastApiKey: null!,\n apiKeyToDelete: null!,\n };\n }\n async componentDidMount() {\n await this.props.doBusyTask(async () => {\n const apiKeyCollection = await repository.Users.listApiKeys(this.props.user);\n this.setState({\n apiKeyCollection,\n });\n });\n }\n render() {\n return (
    \n {this.state.apiKeyCollection && this.renderApiKeys()}\n {this.state.apiKeyCollection && this.state.apiKeyCollection.Items.length === 0 && }\n
    );\n }\n renderApiKeyDeleteDialog = () => {\n return this.handleKeyRemoved()} onClose={() => this.setState({ apiKeyToDelete: null! })} apiKeyPurpose={this.state.apiKeyToDelete.Purpose}/>;\n };\n getTitle(isEnabled: boolean) {\n if (isEnabled) {\n return \"New API key\";\n }\n if (!this.props.userApiKeysEnabled) {\n return \"API Keys can only be created for a Service Account\";\n }\n return \"API Keys can only be created for yourself or a Service Account\";\n }\n renderApiKeys = () => {\n const isEnabled = (this.props.userApiKeysEnabled && this.props.user.IsRequestor) || this.props.user.IsService;\n const actions = [\n ( ( this.handleKeyAdded(purpose, expires)} onClose={() => {\n renderProps.closeDialog();\n this.setState({ lastApiKey: null! });\n }}/>)}/>)}/>,\n ];\n return (<>\n (
    \n
    \n

    {`${apiKey.Purpose?.trim() || \"General-purpose API key\"} ${this.maskKey(apiKey)}`.trim()}

    \n
    \n \n
    \n
    \n
    \n Created \n
    \n
    )} onRemoveRow={(apiKey) => this.setState({ apiKeyToDelete: apiKey })}/>\n {this.state.apiKeyToDelete && this.renderApiKeyDeleteDialog()}\n );\n };\n async handleKeyAdded(purpose: string, expires: Date | null): Promise {\n const newKey = await repository.Users.createApiKey(this.props.user, purpose, expires);\n const apiKeyCollection = await repository.Users.listApiKeys(this.props.user);\n this.setState((state) => ({\n apiKeyCollection,\n lastApiKey: newKey.ApiKey,\n }));\n }\n async handleKeyRemoved() {\n const result = await repository.Users.revokeApiKey(this.state.apiKeyToDelete);\n this.setState((state) => ({\n apiKeyCollection: {\n ...state!.apiKeyCollection,\n Items: [...state!.apiKeyCollection.Items.filter((i) => i.Id !== this.state.apiKeyToDelete.Id)],\n },\n apiKeyToDelete: null,\n }));\n }\n static mask = \"\\u2022\".repeat(8); // Unicode of '•' char\n maskKey(apiKey: ApiKeyResource) {\n return apiKey.ApiKey.Hint?.trim() ? `(${apiKey.ApiKey.Hint}${UserApiKeysList.mask})` : \"\";\n }\n static displayName = \"UserApiKeysList\";\n}\n","/* eslint-disable @typescript-eslint/no-non-null-assertion */\n/* eslint-disable @typescript-eslint/no-explicit-any */\n/* eslint-disable @typescript-eslint/consistent-type-assertions */\nimport { BooleanRadioButtonGroup, BooleanRadioButton, ActionButton, Callout } from \"@octopusdeploy/design-system-components\";\nimport type { IdentityMetadataResource, ClaimsBasedIdentity } from \"@octopusdeploy/octopus-server-client\";\nimport { noOp } from \"@octopusdeploy/utilities\";\nimport { some, find } from \"lodash\";\nimport * as React from \"react\";\nimport { repository } from \"~/clientInstance\";\nimport type { DataBaseComponentState } from \"~/components/DataBaseComponent/DataBaseComponent\";\nimport { DataBaseComponent } from \"~/components/DataBaseComponent/DataBaseComponent\";\nimport OkDialogLayout from \"~/components/DialogLayout/OkDialogLayout\";\nimport { SimplePagingList } from \"~/components/PagingList\";\nimport { required } from \"~/components/form/Validators\";\nimport ListTitle from \"~/primitiveComponents/dataDisplay/ListTitle/ListTitle\";\nimport IdHelper from \"~/utils/IdHelper\";\nimport { Text } from \"../form\";\nimport styles from \"./style.module.less\";\ninterface AddIdentityState extends DataBaseComponentState {\n identity: ClaimsBasedIdentity;\n query?: string;\n searchResults: ClaimsBasedIdentity[] | null;\n supportsSearch: boolean;\n selectedSearchResultKey?: string;\n}\ninterface AddIdentityProps {\n selectedProvider: IdentityMetadataResource;\n onAddIdentity: (identity: any) => boolean;\n}\nclass IdentityResults extends SimplePagingList {\n}\nclass AddIdentityDialog extends DataBaseComponent {\n constructor(props: AddIdentityProps) {\n super(props);\n this.state = {\n identity: this.createIdentity()!,\n supportsSearch: this.supportsSearch(),\n searchResults: null, //when it's an empty list we can show message showing no results\n };\n }\n render() {\n return (\n

    External Login Details

    \n\n {this.state.identity ? this.state.supportsSearch ? this.renderSearch() : this.renderControlsForClaim() :
    There seems to be a problem with the properties on this identity provider
    }\n
    );\n }\n addIdentity = () => {\n if (this.state.selectedSearchResultKey) {\n const identityToAdd = this.state.searchResults?.find((i) => i.Id === this.state.selectedSearchResultKey);\n if (identityToAdd) {\n return this.props.onAddIdentity(identityToAdd);\n }\n }\n return this.props.onAddIdentity(this.state.identity);\n };\n disableAddIdentity() {\n if (this.state.supportsSearch) {\n return !this.state.selectedSearchResultKey;\n }\n const claims = this.state.identity.Claims;\n const claimsValues = Object.keys(claims).map((key, i) => ({\n identifying: claims[key].IsIdentifyingClaim,\n value: claims[key].Value,\n }));\n return !claimsValues.some((c) => c.identifying && !!c.value);\n }\n renderControlsForClaim() {\n const claims = this.state.identity.Claims;\n return Object.keys(claims).map((key, i) => (
    \n this.setClaim(key, v)} label={this.claimLabel(key)} validate={claims[key].IsIdentifyingClaim ? required(`Please enter ${this.claimDescription(key)}`) : undefined}/>\n
    ));\n }\n setClaim = (key: string, value: string) => {\n this.setState((state) => {\n const Claims = {\n ...state!.identity.Claims,\n [key]: {\n ...state!.identity.Claims[key],\n Value: value,\n },\n };\n return { identity: { ...state!.identity, Claims } };\n });\n };\n renderSearch() {\n return (
    \n

    Search

    \n
    \n this.setState({ query })} label={\"Search\"}/>\n\n this.search()} label=\"Search\" busyLabel=\"Searching...\" disabled={this.state.busy}/>\n
    \n\n {this.state.searchResults !== null &&\n (this.state.searchResults.length === 0 ? (\n Enter the start of a group name. For example, to find \"Domain Users\", type \"Domain\".\n ) : ( null}/>))}\n
    );\n }\n buildSearchResultRow = (identity: ClaimsBasedIdentity) => {\n const claims = identity.Claims;\n const entries = Object.keys(claims).map((key, i) => {\n const keyAndValue = `${this.claimLabel(key)}: ${claims[key].Value}`;\n return (\n // only show the ones with values\n claims[key].Value &&
    {claims[key].IsIdentifyingClaim ? {keyAndValue} : {keyAndValue}}
    );\n });\n return (
    this.setState({ selectedSearchResultKey: identity.Id })}>\n
    \n \n \n \n
    \n
    {entries}
    \n
    );\n };\n createIdentity() {\n if (!this.props.selectedProvider) {\n return null;\n }\n const identity = {\n // Id just to help in UI\n Id: IdHelper.newId(),\n // this structure to support saving\n IdentityProviderName: this.props.selectedProvider.IdentityProviderName,\n Claims: {} as any,\n };\n this.props.selectedProvider.ClaimDescriptors.forEach((d: any) => (identity.Claims[d.Type] = {\n Value: \"\",\n IsIdentifyingClaim: d.IsIdentifyingClaim,\n }));\n return identity;\n }\n supportsSearch() {\n return this.props.selectedProvider && this.props.selectedProvider.Links && some(this.props.selectedProvider.Links, (v, key) => key === \"UserSearch\");\n }\n async search() {\n await this.doBusyTask(async () => {\n if (!this.props.selectedProvider.Links) {\n this.setState({ searchResults: [] });\n return;\n }\n const uri = find(this.props.selectedProvider.Links, (v, key) => key === \"UserSearch\");\n const partialName = this.state.query;\n const result = await repository.ExternalUsers.searchProvider(uri, partialName!);\n this.setState({\n // add some Ids to help with selecting it for return from this popup\n searchResults: result.Identities.map((x: any) => ({ ...x, Id: IdHelper.newId() })) || [],\n });\n });\n }\n // if the claim object can just be built with these properties via createIdentity then they won't be needed\n claimLabel(key: string) {\n return this.findProviderByKey(key).Label;\n }\n claimDescription(key: string) {\n return this.findProviderByKey(key).Description;\n }\n findProviderByKey(key: string) {\n return this.props.selectedProvider && this.props.selectedProvider.ClaimDescriptors && this.props.selectedProvider.ClaimDescriptors.find((d: any) => d.Type === key);\n }\n static displayName = \"AddIdentityDialog\";\n}\nexport { AddIdentityDialog };\n","/* eslint-disable @typescript-eslint/no-non-null-assertion */\nimport { Tooltip } from \"@octopusdeploy/design-system-components\";\nimport type { IdentityMetadataResource, ClaimsBasedIdentity, IdentityType } from \"@octopusdeploy/octopus-server-client\";\nimport * as React from \"react\";\nimport { AddIdentityDialog } from \"~/components/AddIdentityDialog/AddIdentityDialog\";\nimport { DataBaseComponent } from \"~/components/DataBaseComponent/DataBaseComponent\";\nimport OpenDialogButton from \"~/components/Dialog/OpenDialogButton\";\nimport { RemoveItemsList } from \"~/components/RemoveItemsList/RemoveItemsList\";\nimport { Summary, ExpandableFormSection } from \"~/components/form\";\nimport ListTitle from \"~/primitiveComponents/dataDisplay/ListTitle/ListTitle\";\nclass IdentityList extends RemoveItemsList {\n}\nexport interface ProviderWithUserSettings {\n providerName: string;\n providerDetails: IdentityMetadataResource;\n identities: ClaimsBasedIdentity[];\n identityType: IdentityType;\n}\ninterface ProviderIdentitiesProps {\n provider: ProviderWithUserSettings;\n enabledToSupportAdding: boolean;\n canCurrentUserEditIdentitiesForUser: boolean;\n onChange(providerGroup: ProviderWithUserSettings): void;\n}\nexport class ProviderIdentities extends DataBaseComponent {\n constructor(props: ProviderIdentitiesProps) {\n super(props);\n }\n render() {\n const addAction = (\n \n );\n return (\n
    \n
    {this.renderIdentityDetails(this.props.provider.providerDetails, identity)}
    } onRemoveRow={this.props.canCurrentUserEditIdentitiesForUser ? (identity) => this.removeIdentity(identity) : null!}/>\n
    \n
    );\n }\n providerIdentitiesSummary = () => {\n const qty = this.props.provider.identities.length;\n const msg = qty > 0 ? this.identityClaims() : \"No logins are associated\";\n return Summary.placeholder(`${msg}`);\n };\n identityClaims = () => {\n const claims = this.props.provider.identities[0].Claims;\n const claimKey = Object.keys(claims).filter((key) => claims[key].IsIdentifyingClaim && claims[key].Value)[0] || Object.keys(claims).filter((key) => claims[key].IsIdentifyingClaim)[0];\n return `${this.claimLabel(claimKey, this.props.provider.providerDetails)}: ${claims[claimKey].Value}`;\n };\n renderIdentityDetails = (provider: IdentityMetadataResource, identity: ClaimsBasedIdentity) => {\n const claims = identity.Claims;\n const keys = Object.keys(claims);\n return (
    \n {\" \"}\n {Object.keys(claims).map((key, i) => (
    \n {\" \"}\n {claims[key].Value && (\n {claims[key].IsIdentifyingClaim ? (\n {this.claimLabel(key, provider)}: {claims[key].Value}\n ) : (
    \n {this.claimLabel(key, provider)}: {claims[key].Value}\n
    )}\n
    )}\n
    ))}\n
    );\n };\n addIdentity = (identity: ClaimsBasedIdentity) => {\n this.props.onChange({\n ...this.props.provider,\n identities: [identity, ...this.props.provider.identities],\n });\n return true;\n };\n removeIdentity = async (identity: ClaimsBasedIdentity) => {\n this.props.onChange({\n ...this.props.provider,\n identities: [...this.props.provider.identities.filter((i) => i !== identity)],\n });\n return true;\n };\n claimLabel(key: string, provider: IdentityMetadataResource) {\n return this.findProviderByKey(key, provider)?.Label || key;\n }\n claimDescription(key: string, provider: IdentityMetadataResource) {\n return this.findProviderByKey(key, provider)?.Description || \"No description provided\";\n }\n findProviderByKey(key: string, provider: IdentityMetadataResource) {\n return provider.ClaimDescriptors.find((d: Record) => d.Type === key);\n }\n static displayName = \"ProviderIdentities\";\n}\n","/* eslint-disable @typescript-eslint/no-non-null-assertion */\nimport type { AuthenticationProviderElement, IdentityMetadataResource, ClaimsBasedIdentity } from \"@octopusdeploy/octopus-server-client\";\nimport { IdentityType } from \"@octopusdeploy/octopus-server-client\";\nimport { flatten } from \"lodash\";\nimport * as React from \"react\";\nimport BaseComponent from \"../../../../components/BaseComponent\";\nimport type { ProviderWithUserSettings } from \"./ProviderIdentities\";\nimport { ProviderIdentities } from \"./ProviderIdentities\";\ninterface ProviderIdentitiesProps {\n userIdentities: ClaimsBasedIdentity[];\n enabledAuthenticationProviders: AuthenticationProviderElement[];\n enabledProvidersMetadata?: IdentityMetadataResource[];\n canCurrentUserEditIdentitiesForUser: boolean;\n isServiceAccount: boolean;\n onChange(changedIdentities: ClaimsBasedIdentity[]): void;\n}\nexport class ProviderGroups extends BaseComponent {\n constructor(props: ProviderIdentitiesProps) {\n super(props);\n this.state = {};\n }\n render() {\n return (
    \n {\" \"}\n {this.props.enabledAuthenticationProviders &&\n this.buildIdentitiesByProvider().map((p) => ( ep.IdentityProviderName === p.providerName))!} canCurrentUserEditIdentitiesForUser={this.props.canCurrentUserEditIdentitiesForUser} onChange={(changed) => this.providerGroupChanged(changed)}/>))}\n
    );\n }\n private buildIdentitiesByProvider() {\n const userIdentities = this.props.userIdentities || [];\n return this.props.enabledAuthenticationProviders\n .filter((ap) => IdentityType[ap.IdentityType] === IdentityType.ActiveDirectory || IdentityType[ap.IdentityType] === IdentityType.OAuth)\n .filter((filterOutForServiceAccounts) => (this.props.isServiceAccount ? this.isActiveDirectory(filterOutForServiceAccounts.Name) : true))\n .map((p) => {\n return {\n providerName: p.Name,\n providerDetails: this.props.enabledProvidersMetadata!.find((ep) => ep.IdentityProviderName === p.Name)!,\n identityType: this.determineType(p.Name),\n identities: userIdentities ? userIdentities.filter((i) => i.IdentityProviderName === p.Name) : [],\n };\n })\n .sort((a, b) => a.providerName.localeCompare(b.providerName));\n }\n private providerGroupChanged(update: ProviderWithUserSettings) {\n const identityByProvider = [...this.buildIdentitiesByProvider().filter((p) => p.providerName !== update.providerName), update].sort((a, b) => a.providerName.localeCompare(b.providerName));\n this.props.onChange(flatten(identityByProvider.map((ibp) => ibp.identities)));\n }\n private determineType = (name: string): IdentityType => {\n /*\n Octopus.Node.Extensibility.Authentication.Extensions.IAuthenticationProvider\n doesn't make use of enum Octopus.Core.Resources.IdentityType\n so just hacking it here till can be solved properly\n */\n if (name.indexOf(\"Azure\") !== -1 || name.indexOf(\"Google\") !== -1) {\n return IdentityType.OAuth;\n }\n else if (this.isActiveDirectory(name)) {\n return IdentityType.ActiveDirectory;\n }\n else if (name.indexOf(\"Guest\") !== -1) {\n return IdentityType.Guest;\n }\n else {\n return IdentityType.UsernamePassword;\n }\n };\n private isActiveDirectory(name: string) {\n return name.indexOf(\"Directory\") !== -1;\n }\n static displayName = \"ProviderGroups\";\n}\n","/* eslint-disable @typescript-eslint/no-non-null-assertion */\nimport type { UserResource } from \"@octopusdeploy/octopus-server-client\";\nimport * as React from \"react\";\nimport { session, repository } from \"~/clientInstance\";\nimport SaveDialogLayout from \"~/components/DialogLayout/SaveDialogLayout\";\nimport type { OptionalFormBaseComponentState } from \"~/components/FormBaseComponent/FormBaseComponent\";\nimport FormBaseComponent from \"~/components/FormBaseComponent/FormBaseComponent\";\nimport { Section } from \"~/components/Section/Section\";\nimport { Text } from \"~/components/form\";\nimport { required } from \"~/components/form/Validators\";\ninterface UserEditModel {\n original: UserResource;\n password?: string;\n confirmPassword?: string;\n}\ninterface ChangePasswordProps {\n userId: string;\n}\ninterface UserEditState extends OptionalFormBaseComponentState {\n user: UserResource;\n dontMatch: string | null;\n}\nexport class UserChangePasswordDialogLayout extends FormBaseComponent {\n constructor(props: ChangePasswordProps) {\n super(props);\n this.state = {\n user: null!,\n model: null!,\n cleanModel: null!,\n dontMatch: null,\n };\n }\n async componentDidMount() {\n await this.doBusyTask(async () => {\n const user = this.props.userId ? await repository.Users.get(this.props.userId) : null!;\n this.setState({\n user,\n model: this.buildModel(user),\n cleanModel: this.buildModel(user),\n });\n });\n }\n buildModel(user: UserResource): UserEditModel {\n return user\n ? {\n original: user,\n }\n : {\n original: null!,\n };\n }\n handleSaveClick = async () => {\n const user: UserResource = {\n ...this.state.user,\n Password: this.state.model!.password,\n };\n if (!this.isConfirmPasswordCorrect()) {\n this.setState({\n dontMatch: \"The passwords do not match\",\n });\n return false;\n }\n return this.doBusyTask(async () => {\n const result = await repository.Users.save(user);\n this.setState({\n cleanModel: this.buildModel(user),\n model: this.buildModel(user),\n });\n });\n };\n render() {\n return (this.state.model && ( this.handleSaveClick()} busy={this.state.busy} errors={this.errors} title={this.isSelf() ? \"Change Your Password\" : \"Change Password for This User\"}>\n
    \n this.setModelState({ password })} label=\"New password\" autoFocus autoComplete=\"new-password\"/>\n
    \n
    \n this.setModelState({ confirmPassword })} label=\"Confirm new password\" error={this.state.dontMatch!} validate={this.isConfirmRequired()!} autoComplete=\"new-password\"/>\n
    \n
    ));\n }\n private isConfirmPasswordCorrect() {\n if (!this.state.model!.password) {\n return true;\n }\n return this.state.model!.password && this.state.model!.password.localeCompare(this.state.model!.confirmPassword!) === 0;\n }\n private isConfirmRequired() {\n return this.isConfirmPasswordCorrect() ? null : required(\"Passwords don't match\");\n }\n private isSelf() {\n return session.currentUser!.Id === this.props.userId;\n }\n static displayName = \"UserChangePasswordDialogLayout\";\n}\n","/* eslint-disable @typescript-eslint/no-non-null-assertion */\nimport { repository, session } from \"~/clientInstance\";\nexport const isOctopusIdEnabled = async (): Promise => {\n const currentUserId = session && session.currentUser ? session.currentUser.Id : null;\n const configDoc = await repository.UserIdentityMetadata.authenticationConfiguration(currentUserId!);\n return !!configDoc.AuthenticationProviders && !!configDoc.AuthenticationProviders.find((p) => p.Name === \"Octopus ID\");\n};\n","/* eslint-disable @typescript-eslint/no-non-null-assertion */\nimport { Checkbox, Callout } from \"@octopusdeploy/design-system-components\";\nimport type { PageAction } from \"@octopusdeploy/design-system-components\";\nimport type { AuthenticationProviderElement, IdentityMetadataResource, TeamMembership, LicenseStatusResource, ClaimsBasedIdentity, UserResource } from \"@octopusdeploy/octopus-server-client\";\nimport { PermissionsMode, Permission, builtInEveryoneTeamId } from \"@octopusdeploy/octopus-server-client\";\nimport { optionalBooleanQueryParam, links, useQueryStringParam } from \"@octopusdeploy/portal-routes\";\nimport * as React from \"react\";\nimport ServiceAccountOidcIdentities from \"~/areas/configuration/components/Users/ServiceAccountOidcIdentities/ServiceAccountOidcIdentities\";\nimport UserApiKeysList from \"~/areas/users/UserApiKeys/UserApiKeysList\";\nimport { client, repository, session } from \"~/clientInstance\";\nimport { TeamChip } from \"~/components/Chips\";\nimport Dialog from \"~/components/Dialog/Dialog\";\nimport type { DialogControls } from \"~/components/Dialog/DialogTrigger\";\nimport { useDialogTrigger } from \"~/components/Dialog/DialogTrigger\";\nimport buildValueList from \"~/components/EventFilter/buildValueList\";\nimport type { OptionalFormBaseComponentState } from \"~/components/FormBaseComponent/FormBaseComponent\";\nimport FormBaseComponent from \"~/components/FormBaseComponent/FormBaseComponent\";\nimport { LegacyForm } from \"~/components/FormPaperLayout/LegacyForm\";\nimport ExternalLink from \"~/components/Navigation/ExternalLink/ExternalLink\";\nimport InternalLink from \"~/components/Navigation/InternalLink\";\nimport { OverflowMenuItems } from \"~/components/OverflowMenu/OverflowMenu\";\nimport { OverflowMenuConverterVNext } from \"~/components/OverflowMenu/OverflowMenuConverterVNext\";\nimport { PageContent } from \"~/components/PageContent/PageContent\";\nimport PermissionCheck, { isAllowed } from \"~/components/PermissionCheck/PermissionCheck\";\nimport { RestrictedPermissionsCallout } from \"~/components/RestrictedPermissionsCallout\";\nimport { Section } from \"~/components/Section/Section\";\nimport TransitionAnimation from \"~/components/TransitionAnimation/TransitionAnimation\";\nimport { Text, FormSectionHeading, Summary, ExpandableFormSection, Note } from \"~/components/form\";\nimport { CardFill } from \"~/components/form/Sections/ExpandableFormSection\";\nimport { required } from \"~/components/form/Validators\";\nimport { Avatar } from \"~/primitiveComponents/dataDisplay/Avatar/Avatar\";\nimport { timeOperationOptions } from \"~/utils/OperationTimer/timeOperation\";\nimport InternalRedirect from \"../../../../components/Navigation/InternalRedirect/InternalRedirect\";\nimport ProjectedTeamsList, { ProjectedTeamListItem } from \"../ProjectedTeamsList/ProjectedTeamsList\";\nimport { ProviderGroups } from \"./ProviderGroups\";\nimport { UserChangePasswordDialogLayout } from \"./UserChangePasswordDialogLayout\";\nimport { isOctopusIdEnabled } from \"./identityProviders\";\nexport function CreateUserPage() {\n return ;\n}\nconst isNewParameter = optionalBooleanQueryParam(\"isNew\");\nexport function EditUserPage({ userId }: {\n userId: string;\n}) {\n const [isNew] = useQueryStringParam(isNewParameter);\n const changePasswordDialogControls = useDialogTrigger();\n return ;\n}\ninterface UserPageInternalProps {\n userId: string | null;\n isNew: boolean | undefined;\n changePasswordDialogControls: DialogControls | undefined;\n}\ninterface UserEditModel {\n displayName: string;\n username: string;\n emailAddress: string;\n isActive: boolean;\n isService: boolean;\n original: UserResource;\n identities: ClaimsBasedIdentity[];\n password?: string;\n confirmPassword?: string;\n}\ninterface UserPageState extends OptionalFormBaseComponentState {\n user: UserResource;\n deleted: boolean;\n newId?: string;\n enabledAuthenticationProviders: AuthenticationProviderElement[] | null;\n enabledProvidersMetadata?: IdentityMetadataResource[] | null;\n canCurrentUserEditIdentitiesForUser?: boolean;\n userTeams: TeamMembership[];\n licenseStatus?: LicenseStatusResource;\n isServiceAccountOnly: boolean;\n isOctoIdEnabled: boolean;\n userApiKeysEnabled: boolean;\n}\nclass UserPageInternal extends FormBaseComponent {\n private isViewingAuthenticatedUser = this.currentAuthenticatedUserId() === this.currentUserId();\n constructor(props: UserPageInternalProps) {\n super(props);\n this.state = {\n user: null!,\n model: null!,\n deleted: false,\n cleanModel: null!,\n canCurrentUserEditIdentitiesForUser: true,\n enabledAuthenticationProviders: null, // Start as null so we can only show no providers once it loads.\n enabledProvidersMetadata: null,\n userTeams: [],\n isServiceAccountOnly: false,\n isOctoIdEnabled: false,\n userApiKeysEnabled: true,\n };\n }\n currentUserId(): string | null {\n return this.props.userId;\n }\n currentAuthenticatedUserId(): string {\n return session && session.currentUser ? session.currentUser.Id : null!;\n }\n async componentDidMount() {\n await this.doBusyTask(async () => {\n const userId = this.currentUserId();\n const user = userId ? await repository.Users.get(userId) : null!;\n const configDoc = await repository.UserIdentityMetadata.authenticationConfiguration(userId);\n const metadataDoc = await repository.UserIdentityMetadata.all();\n const isOctoIdEnabled = await isOctopusIdEnabled();\n const isServiceAccountOnly = isOctoIdEnabled && user === null;\n // Instead of the team.MemberUserIds, we use the .getTeams endpoint so we include external security groups.\n const userTeams = user ? await repository.TeamMembership.getForUser(user, true) : [];\n const licenseStatus = await repository.Licenses.getCurrentStatus();\n const authenticationSettings = await repository.Authentication.get();\n const isCreateUser = !userId;\n this.setState({\n user,\n model: this.buildModel(user!, isServiceAccountOnly),\n cleanModel: this.buildModel(user!, isServiceAccountOnly),\n enabledAuthenticationProviders: configDoc.AuthenticationProviders || [],\n canCurrentUserEditIdentitiesForUser: isCreateUser || configDoc.CanCurrentUserEditIdentitiesForUser,\n enabledProvidersMetadata: metadataDoc.Providers,\n userTeams,\n licenseStatus,\n isServiceAccountOnly,\n isOctoIdEnabled,\n userApiKeysEnabled: authenticationSettings.UserApiKeysEnabled,\n });\n }, { timeOperationOptions: timeOperationOptions.forInitialLoad() });\n }\n buildModel(user: UserResource, isServiceAccount: boolean = false): UserEditModel {\n return user\n ? {\n displayName: user.DisplayName,\n username: user.Username,\n emailAddress: user.EmailAddress!,\n isActive: user.IsActive,\n isService: user.IsService,\n original: user,\n identities: user.Identities,\n }\n : {\n displayName: null!,\n username: null!,\n emailAddress: null!,\n isActive: true,\n isService: isServiceAccount,\n original: null!,\n identities: [],\n };\n }\n handleSaveClick = async () => {\n const user: UserResource = {\n ...this.state.user,\n DisplayName: this.state.model!.displayName,\n EmailAddress: this.state.model!.emailAddress,\n Username: this.state.model!.username,\n IsService: this.state.model!.isService,\n IsActive: this.state.model!.isActive,\n // Password cannot be supplied for service accounts, better UX to just drop it here\n // in case their password manager populated a field\n Password: this.state.model!.isService ? null! : this.state.model!.password,\n Identities: this.state.model!.identities,\n };\n if (!this.state.model!.isService && !this.isConfirmPasswordCorrect()) {\n this.setValidationErrors(\"The password do not match\", { setPassword: \"Please retype the password\" });\n return false;\n }\n if (this.state.model!.username === null || this.state.model!.username.trim().length === 0) {\n this.setValidationErrors(\"There was no username given\", { username: \"Please provide a username\" });\n return false;\n }\n await this.doBusyTask(async () => {\n const result = await repository.Users.save(user);\n this.setState({\n cleanModel: this.buildModel(result),\n model: this.buildModel(result),\n newId: this.currentUserId() ? null! : result.Id,\n });\n });\n };\n render() {\n const legacyOverflowActions = this.createOverflowMenuItems();\n const overflowMenu = OverflowMenuConverterVNext.convertAll(legacyOverflowActions);\n return (\n {({ FormContent, createSaveAction }) => (,\n breadcrumbs: [{ label: \"Users\", pageUrl: links.usersPage.generateUrl() }],\n overflowActions: overflowMenu.menuItems,\n pageActions: this.getPageActions(),\n }} busy={this.state.busy} errors={this.errors}>\n {this.renderPageActionDialogs()}\n {overflowMenu.dialogs}\n \n {this.showCloudInviteHelp() && (\n You can do that from your Octopus account. Learn more about user invites for Octopus Cloud.\n )}\n {this.state.deleted && }\n {this.state.newId && }\n\n {this.state.model && (\n {this.userOnlyBelongsToTheEveryoneTeam() && (\n \n To manage permissions for this user, assign them to one or more teams.\n {this.userIsANewActiveDirectoryUser() && (<> Collating user groups from Active Directory can take up to a few minutes. Teams linked to an Active Directory group the user is in may be missing until this process is finished.)}\n \n )}\n\n \n\n {this.renderUserNameAndDisplayName()}\n\n {this.renderServiceAccountOption()}\n\n {this.renderEmail()}\n\n {this.renderIsActive()}\n\n {/* Passwords, then API keys, then external logins */}\n \n\n {this.renderPasswordSection()}\n\n {this.renderApiSection()}\n\n {this.renderOidcIdentitiesSection()}\n\n {this.renderLoginOptions()}\n\n {this.state.user && this.state.userTeams.length > 0 && (<>\n \n {this.renderTeamsSection()}\n )}\n )}\n \n )}\n );\n }\n determineTitle() {\n return this.isCreateUser() ? \"New User\" : (this.state.model && this.state.model.displayName) || \"User Details\";\n }\n renderUserNameAndDisplayName() {\n return [\n // Note there's a bug in the old portal that let you create a user without a username, some of the extra checks/messages here are to show that's the case\n \n {this.state.model!.original === null ? ( this.setModelState({ username })} label=\"Username\" validate={required(\"Please enter a username\")} autoFocus={true}/>) : (this.state.model!.username || \"no user name\")}\n ,\n \n this.setModelState({ displayName })} label=\"Display name\" validate={required(\"Please enter a display name\")}/>\n ,\n ];\n }\n renderPasswordSection() {\n return (this.isCreateUser() &&\n !this.state.model!.isService && (\n
    \n this.setModelState({ password })} label=\"Password\" autoComplete=\"new-password\"/>\n
    \n
    \n this.setModelState({ confirmPassword })} label=\"Confirm password\" validate={this.isConfirmRequired()!} autoComplete=\"new-password\"/>\n
    \n
    ));\n }\n getPageActions(): PageAction[] {\n const pageActions: PageAction[] = [];\n const usernamePasswordProviderExists = this.state.enabledAuthenticationProviders && this.state.enabledAuthenticationProviders.find((p) => p.Name === \"Octopus\") !== null;\n const originalUser = this.state.model?.original;\n if (originalUser &&\n originalUser.CanPasswordBeEdited &&\n usernamePasswordProviderExists &&\n (this.isViewingAuthenticatedUser || isAllowed({ permission: [Permission.AdministerSystem, Permission.UserEdit] })) &&\n this.props.changePasswordDialogControls) {\n pageActions.push({\n type: \"button\",\n label: \"Change password\",\n buttonType: \"secondary\",\n hasPermissions: isAllowed({ permission: [Permission.AdministerSystem, Permission.UserEdit] }),\n onClick: this.props.changePasswordDialogControls.openDialog,\n });\n }\n return pageActions;\n }\n renderPageActionDialogs() {\n const originalUser = this.state.model?.original;\n if (!originalUser || !this.props.changePasswordDialogControls)\n return <>;\n return (\n \n );\n }\n handleDeleteConfirm = async () => {\n const result = await repository.Users.del(this.state.model!.original);\n this.setState((state) => {\n return {\n model: null,\n cleanModel: null, //reset model so that dirty state doesn't prevent navigation\n deleted: true,\n };\n });\n return true;\n };\n renderServiceAccountOption() {\n return (this.isCreateUser() && (\n this.setModelState({ isService })} label=\"The user is a service account\"/>\n ));\n }\n renderEmail() {\n return (!this.state.model!.isService && (\n this.setModelState({ emailAddress })} label=\"Email address\"/>\n ));\n }\n renderLoginOptions() {\n return ( this.setModelState({ identities })}/>);\n }\n renderApiSection() {\n return (this.state.model!.original && (\n \n ));\n }\n renderOidcIdentitiesSection() {\n return (this.state.model!.original &&\n this.state.model!.isService && (\n \n ));\n }\n renderIsActive() {\n return (!this.isCreateUser() && (\n this.setModelState({ isActive })} label=\"Is active\"/>\n ));\n }\n renderTeamsSection() {\n if (!this.state.userTeams || !this.state.user) {\n return null;\n }\n return (\n \n User permissions are governed by team membership.\n \n {\n return ;\n }} onRowRedirectUrl={(x) => {\n return links.editTeamPage.generateUrl({ teamId: x.TeamId });\n }}/>\n );\n }\n private showCloudInviteHelp() {\n return this.isCreateUser() && this.state.isOctoIdEnabled;\n }\n private teamsSummary(selectedTeams: TeamMembership[]) {\n if (selectedTeams && selectedTeams.length > 0) {\n const knownTeamChips = selectedTeams.map((t) => );\n return Summary.summary(
    Assigned to teams {buildValueList(knownTeamChips)}
    );\n }\n else {\n return Summary.placeholder(\"No teams assigned\");\n }\n }\n private userOnlyBelongsToTheEveryoneTeam(): boolean {\n const userTeams = this.state.userTeams;\n return this.state.user && userTeams.length === 1 && userTeams[0].TeamId === builtInEveryoneTeamId;\n }\n private userIsANewActiveDirectoryUser(): boolean {\n const isNew = this.props.isNew ?? false;\n const isActiveDirectory = this.state.user && this.state.user.Identities.findIndex((i) => i.IdentityProviderName === \"Active Directory\") !== -1;\n return isNew && isActiveDirectory;\n }\n private createOverflowMenuItems() {\n const items = [];\n if (!this.isCreateUser() && this.state.model) {\n items.push(OverflowMenuItems.deleteItemDefault(\"user\", this.handleDeleteConfirm, null!, null!,
    \n Have a look at the Octopus Privacy Policy for the full details of categories of data that will remain.\n
    ));\n items.push(OverflowMenuItems.navItem(\"Audit Trail\", links.auditPage.generateUrl({ users: [this.currentUserId()!] }), {\n permission: Permission.EventView,\n wildcard: true,\n }));\n }\n if (this.state.model && this.state.user && this.state.user.Id) {\n items.push(OverflowMenuItems.navItem(\"Test Permissions\", links.testPermissionsForUserPage.generateUrl({ userId: this.state.user.Id }), {\n permission: [Permission.TeamEdit, Permission.UserView],\n }));\n items.push(OverflowMenuItems.downloadItem(\"Download user data\", this.state.model.username + \"-user.json\", client.resolveLinkTemplate(\"Users\", { id: this.state.user.Id })));\n }\n if (this.isViewingAuthenticatedUser || isAllowed({ permission: [Permission.AdministerSystem, Permission.UserEdit] })) {\n items.push(OverflowMenuItems.confirmActionItem(\"Revoke Sessions\", \"Do you wish to revoke all active sessions of this user?\", async () => {\n await repository.Users.revokeSessions(this.state.user);\n }));\n }\n return items;\n }\n private isCreateUser() {\n return this.state.model && this.state.model.original === null;\n }\n private isConfirmPasswordCorrect() {\n if (!this.state.model!.password) {\n return true;\n }\n return this.isCreateUser() && this.state.model!.password && this.state.model!.password.localeCompare(this.state.model!.confirmPassword!) === 0;\n }\n private isConfirmRequired() {\n return this.isConfirmPasswordCorrect() ? null : required(\"Passwords don't match\");\n }\n static displayName = \"UserPageInternal\";\n}\n","import { ActionButton, ActionButtonType } from \"@octopusdeploy/design-system-components\";\nimport { useTrackEvent } from \"@octopusdeploy/portal-analytics\";\nimport { OctoLink } from \"@octopusdeploy/utilities\";\nimport React, { useState } from \"react\";\nimport CustomDialog from \"~/components/Dialog/CustomDialog\";\nimport { CustomExternalLinkDialogLayout, SmallDialogFrame } from \"~/components/DialogLayout/Custom\";\nimport Section from \"~/components/Section\";\ninterface Props {\n label: string;\n}\nexport function InviteOctoIdUserDialogLink({ label }: Props) {\n const [showDialog, setShowDialog] = useState(false);\n const trackEvent = useTrackEvent();\n const showDialogHandler = (e: React.MouseEvent) => {\n e.preventDefault();\n setShowDialog(true);\n };\n const closeDialogHandler = () => {\n setShowDialog(false);\n };\n return (<>\n ( trackEvent({\n eventName: \"Invite User: Go To Control Center Button Clicked\",\n })}>\n
    Send email invites and access to your instance via Octopus.com
    \n
    )}/>\n \n );\n}\n","/* eslint-disable no-eq-null */\nimport type { PageAction, PrimaryPageAction } from \"@octopusdeploy/design-system-components\";\nimport type { ResourceCollection, UserResource } from \"@octopusdeploy/octopus-server-client\";\nimport { Permission } from \"@octopusdeploy/octopus-server-client\";\nimport { links } from \"@octopusdeploy/portal-routes\";\nimport * as React from \"react\";\nimport type { ReactNode } from \"react\";\nimport { repository } from \"~/clientInstance\";\nimport type { DataBaseComponentState } from \"~/components/DataBaseComponent/DataBaseComponent\";\nimport { DataBaseComponent } from \"~/components/DataBaseComponent/DataBaseComponent\";\nimport { PageContent } from \"~/components/PageContent/PageContent\";\nimport List from \"~/components/PagingList\";\nimport { isAllowed } from \"~/components/PermissionCheck/PermissionCheck\";\nimport Avatar from \"~/primitiveComponents/dataDisplay/Avatar\";\nimport ListTitle from \"~/primitiveComponents/dataDisplay/ListTitle/ListTitle\";\nimport { timeOperationOptions } from \"~/utils/OperationTimer/timeOperation\";\nimport { InviteOctoIdUserDialogLink } from \"./InviteOctoIdUserDialogLink\";\nimport { isOctopusIdEnabled } from \"./identityProviders\";\nimport styles from \"./style.module.less\";\ninterface UsersPageState extends DataBaseComponentState {\n usersResponse?: ResourceCollection;\n isOctoIdEnabled?: boolean;\n}\nclass UserList extends List {\n}\nexport class UsersPage extends DataBaseComponent<{}, UsersPageState> {\n constructor(props: {}) {\n super(props);\n this.state = {};\n }\n async componentDidMount() {\n return this.doBusyTask(async () => {\n const usersResponse = await repository.Users.list();\n this.setState({ usersResponse, isOctoIdEnabled: await isOctopusIdEnabled() });\n }, { timeOperationOptions: timeOperationOptions.forInitialLoad() });\n }\n render() {\n const [primaryPageAction, pageActions] = this.createUserPageActions();\n return (\n {this.state.usersResponse && ( this.buildUserRow(item)} onRowRedirectUrl={(item: UserResource) => links.editUserPage.generateUrl({ userId: item.Id })} onFilter={this.filter} filterSearchEnabled={true} apiSearchParams={[\"filter\"]} filterHintText=\"Filter by user...\"/>)}\n );\n }\n private createUserPageActions(): [\n PrimaryPageAction | undefined,\n PageAction[]\n ] {\n const isOctoIdEnabled = this.state.isOctoIdEnabled;\n if (isOctoIdEnabled === undefined) {\n return [undefined, []];\n }\n const addUserPrimaryPageAction: PrimaryPageAction = {\n type: \"navigate\",\n hasPermissions: isAllowed({ permission: Permission.UserEdit }),\n label: \"Add Users\",\n path: links.createUserPage.generateUrl(),\n };\n const createServiceAccountPageAction: PageAction = {\n type: \"navigate\",\n buttonType: \"secondary\",\n hasPermissions: isAllowed({ permission: Permission.UserEdit }),\n label: \"Create Service Account\",\n path: links.createUserPage.generateUrl(),\n };\n const inviteUserPrimaryPageAction: PrimaryPageAction = {\n type: \"custom\",\n hasPermissions: isAllowed({ permission: Permission.UserEdit }),\n key: \"Invite User\",\n content: ,\n };\n return isOctoIdEnabled ? [inviteUserPrimaryPageAction, [createServiceAccountPageAction]] : [addUserPrimaryPageAction, []];\n }\n private buildUserRow(user: UserResource): ReactNode {\n return (
    \n
    \n \n
    \n
    \n {user.DisplayName}\n
    {user.EmailAddress || user.Username}
    \n
    \n
    );\n }\n private filter(filter: string, resource: UserResource) {\n return (!filter ||\n filter.length === 0 ||\n !resource ||\n resource.Username.toLowerCase().includes(filter.toLowerCase()) ||\n (resource.EmailAddress && resource.EmailAddress.toLowerCase().includes(filter.toLowerCase())) ||\n resource.DisplayName.toLowerCase().includes(filter.toLowerCase()));\n }\n static displayName = \"UsersPage\";\n}\n","/* eslint-disable @typescript-eslint/no-non-null-assertion */\nimport { BooleanRadioButtonGroup, BooleanRadioButton } from \"@octopusdeploy/design-system-components\";\nimport type { DashboardConfigurationResource, ProjectGroupResource, EnvironmentResource, TenantResource, ProjectSummaryResource } from \"@octopusdeploy/octopus-server-client\";\nimport { Permission } from \"@octopusdeploy/octopus-server-client\";\nimport { links } from \"@octopusdeploy/portal-routes\";\nimport * as React from \"react\";\nimport { repository } from \"~/clientInstance\";\nimport { environmentChipList, tenantChipList, projectChipList, projectGroupChipList } from \"~/components/Chips\";\nimport { FeatureToggle, Feature } from \"~/components/FeatureToggle\";\nimport { LegacyForm } from \"~/components/FormPaperLayout/LegacyForm\";\nimport { EnvironmentMultiSelect } from \"~/components/MultiSelect/EnvironmentMultiSelect\";\nimport { ProjectMultiSelect } from \"~/components/MultiSelect/ProjectMultiSelect\";\nimport { TenantMultiSelect } from \"~/components/MultiSelect/TenantMultiSelect\";\nimport { TenantTagMultiSelect } from \"~/components/MultiSelect/TenantTagMultiSelect\";\nimport { PageContent } from \"~/components/PageContent/PageContent\";\nimport { PermissionCheck } from \"~/components/PermissionCheck\";\nimport { isAllowed } from \"~/components/PermissionCheck/PermissionCheck\";\nimport TenantTagsList from \"~/components/TenantTagsList/TenantTagsList\";\nimport TransitionAnimation from \"~/components/TransitionAnimation/TransitionAnimation\";\nimport type { SummaryNode } from \"~/components/form\";\nimport { ExpandableFormSection, Summary } from \"~/components/form\";\nimport Text from \"~/primitiveComponents/form/Text/Text\";\nimport type { OptionalFormBaseComponentState } from \"../../../components/FormBaseComponent/FormBaseComponent\";\nimport FormBaseComponent from \"../../../components/FormBaseComponent/FormBaseComponent\";\nimport { ProjectGroupMultiSelect } from \"../../../components/MultiSelect/ProjectGroupMultiSelect\";\ninterface DashboardConfigurationState extends OptionalFormBaseComponentState {\n projectGroups: ProjectGroupResource[];\n projects: ProjectSummaryResource[];\n environments: EnvironmentResource[];\n tenants: TenantResource[];\n}\ninterface DashboardConfigurationModel extends DashboardConfigurationResource {\n includeAllProjectGroups: boolean;\n includeAllProjects: boolean;\n includeAllEnvironments: boolean;\n includeAllTenants: boolean;\n}\ninterface DashboardConfigurationProps {\n spaceId: string;\n}\ninterface DashboardConfigurationInternalProps extends DashboardConfigurationProps {\n}\nexport const DefaultProjectLimit = \"200\";\nclass DashboardConfigurationInternal extends FormBaseComponent {\n constructor(props: DashboardConfigurationInternalProps) {\n super(props);\n this.state = {\n projectGroups: [],\n projects: [],\n environments: [],\n tenants: [],\n };\n }\n async componentDidMount() {\n await this.doBusyTask(async () => {\n const tenantsPromise = isAllowed({ permission: Permission.TenantView, tenant: \"*\" }) ? repository.Tenants.all() : Promise.resolve([]);\n const [projectGroups, projects, environments, tenants, dashboardConfiguration] = await Promise.all([\n repository.ProjectGroups.all(),\n repository.Projects.summaries(),\n repository.Environments.all(),\n tenantsPromise,\n repository.DashboardConfiguration.get(),\n ]);\n this.setState({\n model: this.buildModel(dashboardConfiguration),\n cleanModel: this.buildModel(dashboardConfiguration),\n projectGroups,\n projects,\n environments,\n tenants,\n });\n });\n }\n buildModel(resource: DashboardConfigurationResource): DashboardConfigurationModel {\n return {\n ...resource,\n includeAllProjectGroups: !resource.IncludedProjectGroupIds.length,\n includeAllProjects: !resource.IncludedProjectIds.length,\n includeAllEnvironments: !resource.IncludedEnvironmentIds.length,\n includeAllTenants: !resource.IncludedTenantIds.length && !resource.IncludedTenantTags.length,\n };\n }\n handleSaveClick = async () => {\n const { includeAllEnvironments, includeAllProjectGroups, includeAllProjects, includeAllTenants, ...dashboardConfig } = this.state.model!;\n if (includeAllProjectGroups) {\n dashboardConfig.IncludedProjectGroupIds.length = 0;\n }\n if (includeAllProjects) {\n dashboardConfig.IncludedProjectIds.length = 0;\n }\n if (includeAllEnvironments) {\n dashboardConfig.IncludedEnvironmentIds.length = 0;\n }\n if (includeAllTenants) {\n dashboardConfig.IncludedTenantTags.length = 0;\n dashboardConfig.IncludedTenantIds.length = 0;\n }\n await this.doBusyTask(async () => {\n const resource = await repository.DashboardConfiguration.modify(dashboardConfig);\n this.setState(() => {\n return {\n submitted: true,\n model: this.buildModel(resource),\n cleanModel: this.buildModel(resource),\n };\n });\n });\n };\n environmentsSummary(): SummaryNode {\n return this.state.model!.IncludedEnvironmentIds && this.state.model!.IncludedEnvironmentIds.length\n ? Summary.summary(
    Only show {environmentChipList(this.state.environments, this.state.model!.IncludedEnvironmentIds)}
    )\n : Summary.default(\"All environments are shown\");\n }\n projectGroupsSummary(): SummaryNode {\n return this.state.model!.IncludedProjectGroupIds && this.state.model!.IncludedProjectGroupIds.length\n ? Summary.summary(
    Only show {projectGroupChipList(this.state.projectGroups, this.state.model!.IncludedProjectGroupIds)}
    )\n : Summary.default(\"All project groups are shown\");\n }\n projectsSummary(): SummaryNode {\n return this.state.model!.IncludedProjectIds && this.state.model!.IncludedProjectIds.length\n ? Summary.summary(
    Only show {projectChipList(this.state.projects, this.state.model!.IncludedProjectIds)}
    )\n : Summary.default(\"All projects are shown\");\n }\n maximumProjectSummary(): SummaryNode {\n const limit = this.state.model!.ProjectLimit || DefaultProjectLimit;\n const wrapper = this.state.model!.ProjectLimit ? Summary.summary : Summary.default;\n return wrapper(`Only ${limit} project${limit === 1 ? \"\" : \"s\"} will be shown.`);\n }\n tenantSummary(): SummaryNode {\n const tenants = this.state.model!.IncludedTenantIds || [];\n const tags = this.state.model!.IncludedTenantTags || [];\n if (tenants.length === 0 && tags.length === 0) {\n return Summary.default(\"All tenants are included\");\n }\n if (tenants.length === 0) {\n return Summary.summary(\n Only show deployments for tenants with tags\n );\n }\n return Summary.summary(\n Only show deployments for {tenantChipList(this.state.tenants, tenants)}\n {tags.length === 0 || (\n {\" \"}\n or any tenants with tags\n )}\n );\n }\n render() {\n return (
    \n \n {({ FormContent, createSaveAction }) => (\n {this.state.model && (\n \n \n this.setModelState({ includeAllProjectGroups })} value={this.state.model.includeAllProjectGroups}>\n \n \n \n {this.state.model.includeAllProjectGroups || ( this.setModelState({ IncludedProjectGroupIds })} value={this.state.model.IncludedProjectGroupIds} items={this.state.projectGroups}/>)}\n \n\n \n this.setModelState({ includeAllProjects })} value={this.state.model.includeAllProjects}>\n \n \n \n {this.state.model.includeAllProjects || ( this.setModelState({ IncludedProjectIds })} value={this.state.model.IncludedProjectIds} items={this.state.projects}/>)}\n \n\n \n this.setModelState({ includeAllEnvironments })} value={this.state.model.includeAllEnvironments}>\n \n \n \n {this.state.model.includeAllEnvironments || ( this.setModelState({ IncludedEnvironmentIds })} value={this.state.model.IncludedEnvironmentIds}/>)}\n \n\n \n \n \n this.setModelState({ includeAllTenants })} value={this.state.model.includeAllTenants}>\n \n \n \n {this.state.model.includeAllTenants || (
    \n this.setModelState({ IncludedTenantIds })}/>\n this.setModelState({ IncludedTenantTags })}/>\n
    )}\n
    \n
    \n
    \n\n \n this.setModelState({ ProjectLimit: this.parseToInt(projectLimit) })} autoFocus={true}/>\n \n
    \n
    )}\n
    )}\n
    \n
    );\n }\n private convertToString(value?: number) {\n return value ? value.toString() : \"\";\n }\n private parseToInt(value?: string) {\n return value ? parseInt(value, 10) : undefined;\n }\n static displayName = \"DashboardConfigurationInternal\";\n}\nexport function DashboardConfigurationPage({ spaceId }: DashboardConfigurationProps) {\n return ;\n}\n","import { EmptyStateOnboarding } from \"@octopusdeploy/design-system-components\";\nimport { AnalyticLinkLocationProvider } from \"@octopusdeploy/portal-analytics\";\nimport * as React from \"react\";\nimport type { ComponentProps } from \"react\";\ntype PortalEmptyStateOnboardingProps = ComponentProps;\nexport function PortalEmptyStateOnboarding(props: PortalEmptyStateOnboardingProps) {\n return (\n \n );\n}\n","import { css } from \"@emotion/css\";\nimport type { SimpleMenuItem, PrimaryPageAction } from \"@octopusdeploy/design-system-components\";\nimport { useMenuState, SimpleMenu, ActionButtonType, ActionButton, ListItemLink, List, ListItemContent } from \"@octopusdeploy/design-system-components\";\nimport { borderRadius, themeTokens } from \"@octopusdeploy/design-system-tokens\";\nimport { Permission } from \"@octopusdeploy/octopus-server-client\";\nimport type { AccountResource, AccountType, EnvironmentResource, TenantResource, Repository } from \"@octopusdeploy/octopus-server-client\";\nimport { useTrackEvent } from \"@octopusdeploy/portal-analytics\";\nimport { links } from \"@octopusdeploy/portal-routes\";\nimport { sortBy, uniq } from \"lodash\";\nimport * as React from \"react\";\nimport { createAddAccountAnalyticsEvent } from \"~/areas/infrastructure/components/AccountEdit/amplitudeAnalytics\";\nimport { DropDownIcon } from \"~/components/Button/DropDownIcon/DropDownIcon\";\nimport { isFeatureToggleEnabled } from \"~/components/FeatureToggle/New/FeatureToggleContext\";\nimport { PortalEmptyStateOnboarding } from \"~/components/GettingStarted/PortalEmptyStateOnboarding\";\nimport MarkdownDescription from \"~/components/MarkdownDescription\";\nimport ExternalLink from \"~/components/Navigation/ExternalLink\";\nimport { PageContent } from \"~/components/PageContent/PageContent\";\nimport { isAllowed } from \"~/components/PermissionCheck/PermissionCheck\";\nimport ListTitle from \"~/primitiveComponents/dataDisplay/ListTitle/ListTitle\";\nimport SectionHeading from \"~/primitiveComponents/dataDisplay/Section/SectionHeading\";\nimport { environmentChipListIncludingMissing, tenantChipListIncludingMissing } from \"../../../../components/Chips/index\";\nimport { RawAccountTypeDetailsMap } from \"../../InfrastructureDetails\";\nimport styles from \"./style.module.less\";\ninterface AccountsPageProps {\n spaceId: string;\n loaderData: AccountsPageLoaderData;\n}\ninterface AccountsPageLoaderData {\n accounts: AccountResource[];\n environments: EnvironmentResource[];\n tenants: TenantResource[];\n}\nexport async function accountsPageLoader(repository: Repository): Promise {\n const accounts = await repository.Accounts.all();\n const environmentIds = uniq(accounts.reduce((list, acc) => list.concat(acc.EnvironmentIds), []));\n const tenantIds = uniq(accounts.reduce((list, acc) => list.concat(acc.TenantIds), []));\n const tenantsPromise = isAllowed({ permission: Permission.TenantView, tenant: \"*\" }) ? repository.Tenants.all({ ids: tenantIds }) : Promise.resolve([]);\n const environments = await repository.Environments.all({ ids: environmentIds });\n return { accounts: accounts, environments: environments, tenants: await tenantsPromise };\n}\nexport function AccountsPage({ spaceId, loaderData }: AccountsPageProps) {\n const Title = \"Accounts\";\n const { accounts, environments, tenants } = loaderData;\n const addAccountPageAction: PrimaryPageAction = {\n type: \"custom\",\n key: \"Add Account\",\n content: ,\n hasPermissions: isAllowed({\n permission: Permission.AccountCreate,\n wildcard: true,\n }),\n };\n if (accounts.length === 0) {\n return (Learn more}/>);\n }\n return (\n \n {RawAccountTypeDetailsMap.map((accountTypeDetail) => ())}\n \n );\n}\ninterface AccountGroupProps {\n spaceId: string;\n accounts: AccountResource[];\n environments: EnvironmentResource[];\n tenants: TenantResource[];\n accountTypes: AccountType[];\n groupName: string;\n}\nfunction AccountGroup({ spaceId, accounts, environments, tenants, accountTypes, groupName }: AccountGroupProps) {\n const filteredAccounts = accounts.filter((account) => accountTypes.indexOf(account.AccountType) !== -1);\n if (!filteredAccounts || filteredAccounts.length === 0) {\n return null;\n }\n const sortedAccounts = sortBy(filteredAccounts, (account) => account.Name);\n const title = (
    \n
    {groupName}
    \n
    );\n return (<>\n \n items={sortedAccounts} renderRow={({ item: account }) => }/>\n );\n}\nfunction AccountsListItem({ spaceId, account, environments, tenants }: {\n spaceId: string;\n account: AccountResource;\n environments: EnvironmentResource[];\n tenants: TenantResource[];\n}) {\n return (\n \n {account.Name}\n {environmentChipListIncludingMissing(environments, account.EnvironmentIds)}\n {tenantChipListIncludingMissing(tenants, account.TenantIds)}\n \n \n );\n}\nfunction AddAccountButton({ spaceId }: {\n spaceId: string;\n}) {\n const [openMenu, menuState, buttonArriaAttributes] = useMenuState();\n const trackEvent = useTrackEvent();\n let rawAccountTypeDetailsMap = RawAccountTypeDetailsMap;\n if (!isFeatureToggleEnabled(\"GenericOidcAccountsFeatureToggle\")) {\n rawAccountTypeDetailsMap = rawAccountTypeDetailsMap.filter((detail) => detail.name != \"Generic OIDC\");\n }\n const addAccountItems: SimpleMenuItem[] = rawAccountTypeDetailsMap.map((accountTypeDetails) => ({\n type: \"internal-link\",\n label: accountTypeDetails.name,\n path: links.createInfrastructureAccountPage.generateUrl({ spaceId }, { accountType: accountTypeDetails.types[0] }),\n onClick: () => {\n trackEvent(createAddAccountAnalyticsEvent({ \"Account Type\": accountTypeDetails.types[0], Location: \"Page\" }));\n },\n }));\n return (<>\n } iconPosition=\"right\" label=\"Add Account\" onClick={openMenu} menuButtonAttributes={buttonArriaAttributes}/>\n \n );\n}\n// Custom bordered content so that we dont get double borders with the form headers at the top\nexport function BorderedContent({ children }: {\n children: React.ReactNode;\n}) {\n return
    {children}
    ;\n}\nconst borderedContentStyles = css({\n border: `1px solid ${themeTokens.color.border.primary}`,\n borderTop: \"none\",\n borderRadius: borderRadius.medium,\n overflow: \"clip\",\n});\n","import type { NewEndpointResource, StepPackageEndpointResource } from \"@octopusdeploy/octopus-server-client\";\nexport function IsStepPackageEndpoint(endpoint: NewEndpointResource): endpoint is StepPackageEndpointResource {\n // eslint-disable-next-line @typescript-eslint/consistent-type-assertions\n return (endpoint as StepPackageEndpointResource).DeploymentTargetTypeId !== undefined;\n}\n","import { Callout } from \"@octopusdeploy/design-system-components\";\nimport type { NewEndpointResource, CloudConnectionType } from \"@octopusdeploy/octopus-server-client\";\nimport { EndpointsHelper } from \"@octopusdeploy/octopus-server-client\";\nimport * as React from \"react\";\nimport { useState } from \"react\";\nimport { IsStepPackageEndpoint } from \"~/areas/infrastructure/components/BaseMachineSettings/IsStepPackageEndpoint\";\nimport endpointRegistry, { getEndpointRegistrationKey } from \"~/areas/infrastructure/components/MachineSettings/Endpoints/endpointRegistry\";\nimport { useDoBusyTaskEffect } from \"~/components/DataBaseComponent/index\";\nimport type { DoBusyTask } from \"~/components/DataBaseComponent/index\";\nimport ExternalLink from \"~/components/Navigation/ExternalLink/index\";\nimport useLocalStorage from \"~/hooks/useLocalStorage\";\ntype TargetDiscoveryCalloutProps = {\n endpoint: NewEndpointResource;\n doBusyTask: DoBusyTask;\n isNew: boolean;\n};\nexport const TargetDiscoveryCallout: React.FC = ({ endpoint, doBusyTask, isNew }) => {\n const storageKey = IsStepPackageEndpoint(endpoint) ? endpoint.DeploymentTargetTypeId : endpoint.CommunicationStyle;\n const [dismissed, setDismissed] = useLocalStorage(`Octopus.Callout.TargetDiscovery.${storageKey}.Dismissed`, false);\n const [cloudConnectionTypes, setCloudConnectionTypes] = useState>([]);\n const [label, setLabel] = useState(\"\");\n const onCloseCallout = () => {\n setDismissed(true);\n };\n useDoBusyTaskEffect(doBusyTask, async () => {\n if (IsStepPackageEndpoint(endpoint)) {\n const stepPackage = await endpointRegistry.getStepPackageDeploymentTarget(endpoint.DeploymentTargetTypeId, endpoint.StepPackageVersion);\n setCloudConnectionTypes(stepPackage.targetDiscoveryCloudConnectionTypes);\n setLabel(stepPackage.name);\n }\n else {\n const key = getEndpointRegistrationKey(endpoint.CommunicationStyle);\n const registration = endpointRegistry.getEndpoint(key);\n if (endpointRegistry.isBuiltInEndpoint(registration) && registration.targetDiscoveryCloudConnectionTypes) {\n setCloudConnectionTypes(registration.targetDiscoveryCloudConnectionTypes());\n setLabel(registration.customTargetDiscoveryLabel ?? EndpointsHelper.getFriendlyNameFromCommStyle(endpoint.CommunicationStyle));\n }\n }\n }, [doBusyTask, endpoint]);\n if (isNew && !dismissed && cloudConnectionTypes.length > 0) {\n return (\n Octopus can discover {label} targets during deployments using tags added to your cloud resources.\n
    \n Learn more about cloud target discovery\n
    );\n }\n return null;\n};\nTargetDiscoveryCallout.displayName = \"TargetDiscoveryCallout\"\n","import { Callout } from \"@octopusdeploy/design-system-components\";\nimport type { VariableSetType, VariablesScopedToDocumentResource } from \"@octopusdeploy/octopus-server-client\";\nimport * as React from \"react\";\nimport styles from \"~/areas/configuration/components/AuditLayout/AuditStream/style.module.less\";\nimport { ScopeType } from \"~/areas/variables/VariableSorting/sortVariables\";\ninterface SinglyScopedVariableWarningsProps {\n variablesScopedToThisDocument: VariablesScopedToDocumentResource;\n documentType: ScopeType;\n}\nexport const SinglyScopedVariableWarnings = ({ variablesScopedToThisDocument, documentType }: SinglyScopedVariableWarningsProps) => {\n if (variablesScopedToThisDocument) {\n const projectWarnings = createListOfWarningsFromVariableMap(variablesScopedToThisDocument.VariableMap, \"Project\");\n if (variablesScopedToThisDocument.HasUnauthorizedProjectVariables) {\n const otherVariablesInWarnings = projectWarnings.length > 0 ? \"Other variables\" : \"Variables\";\n projectWarnings.push(
  • {otherVariablesInWarnings} exist in projects for which you do not have edit permissions
  • );\n }\n const libraryWarnings = createListOfWarningsFromVariableMap(variablesScopedToThisDocument.VariableMap, \"Library Variable Set\");\n if (variablesScopedToThisDocument.HasUnauthorizedLibraryVariableSetVariables) {\n const otherVariablesInWarnings = libraryWarnings.length > 0 ? \"Other variables\" : \"Variables\";\n libraryWarnings.push(
  • {otherVariablesInWarnings} exist in variable sets for which you do not have edit permissions
  • );\n }\n const documentTypeName = ScopeType[documentType].toLowerCase();\n const warningMessage = projectWarnings.length > 0 || libraryWarnings.length > 0 ? (\n

    \n Deleting this {documentTypeName} will also delete all the variables that are scoped only to this {documentTypeName} in the following locations:\n

    \n {projectWarnings.length > 0 && (
    \n
    Projects
    \n
      {projectWarnings}
    \n
    )}\n {libraryWarnings.length > 0 && (
    \n
    Variable Sets
    \n
      {libraryWarnings}
    \n
    )}\n
    ) : null;\n return
    {warningMessage}
    ;\n }\n else {\n return <>;\n }\n};\nconst createListOfWarningsFromVariableMap = (variableMap: Record>, variableSetType: VariableSetType) => {\n const warnings: JSX.Element[] = [];\n if (variableMap[variableSetType]) {\n Object.keys(variableMap[variableSetType]).forEach((key) => {\n const value = variableMap[variableSetType][key];\n const variableSuffix = value > 1 ? \"s\" : \"\";\n warnings.push(
  • \n {value} variable{variableSuffix} in {key}\n
  • );\n });\n }\n return warnings;\n};\n","import { css } from \"@emotion/css\";\nimport { space, text } from \"@octopusdeploy/design-system-tokens\";\nimport type { BasicRepository, MachineResource, NewMachineResource, VariablesScopedToDocumentResource } from \"@octopusdeploy/octopus-server-client\";\nimport { isWorkerMachine, isDeploymentTarget, EndpointsHelper } from \"@octopusdeploy/octopus-server-client\";\nimport * as React from \"react\";\nimport { useState } from \"react\";\nimport { generateAgentAsTargetNamespace, generateAgentAsWorkerNamespace, generateReleaseName } from \"~/areas/infrastructure/components/MachineSettings/Endpoints/KubernetesAgent/KubernetesAgentHelperMethods\";\nimport { SinglyScopedVariableWarnings } from \"~/areas/variables/SinglyScopedVariableWarnings/SinglyScopedVariableWarnings\";\nimport { ScopeType } from \"~/areas/variables/VariableSorting/sortVariables\";\nimport { repository } from \"~/clientInstance\";\nimport CopyValueToClipboard from \"~/components/CopyToClipboardButton/CopyValueToClipboard\";\nimport DeleteDialogLayout from \"~/components/Dialog/DeleteDialogLayout\";\ntype DeleteMachineDialogLayoutProps = React.PropsWithChildren<{\n machine: TResource;\n machineTypeFriendlyName: string;\n repository: BasicRepository;\n onDelete(): void;\n}>;\nconst styles = {\n container: css({\n marginTop: space[24],\n }),\n boldText: css({\n font: text.body.bold.medium,\n }),\n listStyle: css({\n listStyleType: \"decimal\",\n paddingLeft: space[16],\n }),\n};\nfunction getAgentNamespace(machine: MachineResource) {\n return isWorkerMachine(machine) ? generateAgentAsWorkerNamespace(machine.Name) : generateAgentAsTargetNamespace(machine.Name);\n}\nfunction customMachineSpecificContent(machine: TResource): React.ReactNode | null {\n if (EndpointsHelper.isKubernetesTentacle(machine.Endpoint)) {\n const namespace = machine.Endpoint.KubernetesAgentDetails?.KubernetesNamespace ?? getAgentNamespace(machine);\n const helmReleaseName = machine.Endpoint.KubernetesAgentDetails?.HelmReleaseName ?? generateReleaseName(machine.Name);\n const helmUninstallCommand = `helm uninstall --namespace ${namespace} ${helmReleaseName}`;\n const deleteNamespaceCommand = `kubectl delete namespace ${namespace}`;\n return (
    \n

    Additional steps required:

    \n

    To fully remove the Kubernetes {isWorkerMachine(machine) ? \"worker\" : \"agent\"} from your cluster, execute the following commands:

    \n
      \n
    1. \n \n {helmUninstallCommand}\n \n
    2. \n
    3. \n \n {deleteNamespaceCommand}\n \n
    4. \n
    \n
    );\n }\n return null;\n}\nexport const DeleteMachineDialogLayout = (props: DeleteMachineDialogLayoutProps) => {\n const [variablesScopedToThisMachine, setVariablesScopedToThisMachine] = useState();\n const [isLoading, setIsLoading] = useState(true);\n const onLoad = async () => {\n setVariablesScopedToThisMachine(variablesScopedToThisMachine);\n if (isDeploymentTarget(props.machine)) {\n const variablesScopedToThisMachine = (await repository.Machines.variablesScopedOnlyToThisDeploymentTarget(props.machine)).Resource;\n setVariablesScopedToThisMachine(variablesScopedToThisMachine);\n }\n setIsLoading(false);\n };\n const onDeleteClick = async () => {\n await props.repository.del(props.machine);\n props.onDelete();\n return true;\n };\n const machineType = isDeploymentTarget(props.machine) ? \"deployment target\" : \"worker\";\n const subject = EndpointsHelper.isKubernetesTentacle(props.machine.Endpoint) ? `Kubernetes ${machineType}` : `${props.machineTypeFriendlyName} ${machineType}`;\n return ( (<>\n {variablesScopedToThisMachine && }\n {!isLoading && (<>\n

    You're about to permanently delete this {machineType} in Octopus. This action can't be undone.

    \n {customMachineSpecificContent(props.machine)}\n )}\n )}>
    );\n};\n","import { toString } from \"cronstrue\";\nexport type CronExpression = string;\nexport const getCronExpressionDescription = (expression: CronExpression) => {\n return toString(expression);\n};\n","import { ActionButton, ActionButtonType } from \"@octopusdeploy/design-system-components\";\nimport type { MachinePolicyResource } from \"@octopusdeploy/octopus-server-client\";\nimport { MachineScriptPolicyRunType, MachineConnectivityBehavior, CalamariUpdateBehavior, TentacleUpdateBehavior, DeleteMachinesBehavior, HealthCheckType, KubernetesAgentUpdateBehavior } from \"@octopusdeploy/octopus-server-client\";\nimport { lowerFirst } from \"lodash\";\nimport * as React from \"react\";\nimport BaseComponent from \"~/components/BaseComponent\";\nimport MarkdownDescription from \"~/components/MarkdownDescription\";\nimport { DataTable, DataTableBody, DataTableRow, DataTableRowColumn } from \"~/primitiveComponents/dataDisplay/DataTable\";\nimport { getCronExpressionDescription } from \"~/utils/CronExpressions/getCronExpressionDescription\";\nimport styles from \"./style.module.less\";\ninterface MachinePolicySummaryProps {\n machinePolicy: MachinePolicyResource;\n hideDescription: boolean;\n conciseView: boolean;\n}\ninterface MachinePolicySummaryState {\n conciseView: boolean;\n}\nclass MachinePolicySummary extends BaseComponent {\n constructor(props: MachinePolicySummaryProps) {\n super(props);\n this.state = {\n conciseView: props.conciseView,\n };\n }\n render() {\n const details = (\n \n \n Health check interval\n {this.builtHealthCheckIntervalHtml()}\n \n \n Health check type\n {this.buildHealthCheckTypeHtml()}\n \n {this.props.machinePolicy.MachineHealthCheckPolicy.HealthCheckType === HealthCheckType.RunScript && (\n PowerShell health check script\n {this.buildPowerShellHealthCheckHtml()}\n )}\n {this.props.machinePolicy.MachineHealthCheckPolicy.HealthCheckType === HealthCheckType.RunScript && (\n Bash health check script\n {this.buildSshEndpointHealthCheckHtml()}\n )}\n \n Machine connectivity\n {this.buildMachineConnectivityHtml()}\n \n \n Calamari Machine updates\n {this.buildMachineCalamariUpdatesHtml()}\n \n \n Tentacle Machine updates\n {this.buildMachineTentacleUpdatesHtml()}\n \n \n Kubernetes Agent updates\n {this.buildKubernetesAgentUpdatesHtml()}\n \n \n Clean up\n {this.buildCleanUpOfflineHtml()}\n \n \n Recover from Communication Errors with Tentacle\n {this.buildTransientNetworkErrorRecoveryHtml()}\n \n \n );\n const showDetailsButton = this.setState({ conciseView: false })}/>;\n return (
    \n {!this.props.hideDescription && this.buildMachinePolicyDescriptionHtml()}\n {this.state.conciseView ? showDetailsButton : details}\n
    );\n }\n private parseTimeSpan(timeSpan: string) {\n const timeSpanParts = timeSpan.split(\":\");\n let days = 0;\n let hours = 0;\n let mins = 0;\n const tsPart1 = timeSpanParts[0];\n if (tsPart1.indexOf(\".\") !== -1) {\n // days included\n const daysAndHours = tsPart1.split(\".\");\n days = parseInt(daysAndHours[0], 10);\n hours = parseInt(daysAndHours[1], 10);\n mins = parseInt(timeSpanParts[1], 10);\n }\n else {\n // no days\n hours = parseInt(timeSpanParts[0], 10);\n mins = parseInt(timeSpanParts[1], 10);\n }\n return {\n Days: days,\n Hours: hours,\n Minutes: mins,\n };\n }\n private buildMachinePolicyDescriptionHtml() {\n const policy = this.props.machinePolicy;\n return (
    \n \n
    );\n }\n private builtHealthCheckIntervalHtml() {\n const policy = this.props.machinePolicy;\n try {\n if (policy.MachineHealthCheckPolicy.HealthCheckCron) {\n return \"Automatically performs health checks \" + lowerFirst(getCronExpressionDescription(policy.MachineHealthCheckPolicy.HealthCheckCron));\n }\n else if (policy.MachineHealthCheckPolicy.HealthCheckInterval) {\n let healthCheckIntervalHtml = \"Automatically performs health checks every\";\n const healthCheckInterval = this.parseTimeSpan(policy.MachineHealthCheckPolicy.HealthCheckInterval);\n if (healthCheckInterval.Days > 0) {\n healthCheckIntervalHtml += \" \" + healthCheckInterval.Days + \" day\" + (healthCheckInterval.Days === 1 ? \"\" : \"s\");\n }\n if (healthCheckInterval.Hours > 0) {\n healthCheckIntervalHtml += \" \" + healthCheckInterval.Hours + \" hour\" + (healthCheckInterval.Hours === 1 ? \"\" : \"s\");\n }\n if (healthCheckInterval.Minutes > 0 || healthCheckInterval.Hours === 0) {\n healthCheckIntervalHtml += \" \" + healthCheckInterval.Minutes + \" minute\" + (healthCheckInterval.Minutes === 1 ? \"\" : \"s\");\n }\n return healthCheckIntervalHtml;\n }\n else {\n return \"Never automatically performs health checks\";\n }\n }\n catch {\n return \"\";\n }\n }\n private buildHealthCheckTypeHtml() {\n const policy = this.props.machinePolicy;\n let healthCheckTypeHtml = \"\";\n if (policy.MachineHealthCheckPolicy.HealthCheckType === HealthCheckType.RunScript) {\n healthCheckTypeHtml = \"Run health check scripts\";\n }\n else if (policy.MachineHealthCheckPolicy.HealthCheckType === HealthCheckType.OnlyConnectivity) {\n healthCheckTypeHtml = \"Only perform connection test\";\n }\n return healthCheckTypeHtml;\n }\n private buildPowerShellHealthCheckHtml() {\n const policy = this.props.machinePolicy;\n let tentacleEndpointHealthCheckHtml = \"\";\n if (policy.MachineHealthCheckPolicy.PowerShellHealthCheckPolicy.RunType === MachineScriptPolicyRunType.InheritFromDefault) {\n tentacleEndpointHealthCheckHtml = \"Inherits from the default machine policy\";\n }\n else if (policy.MachineHealthCheckPolicy.PowerShellHealthCheckPolicy.RunType === MachineScriptPolicyRunType.Inline) {\n tentacleEndpointHealthCheckHtml = \"Uses custom script\";\n }\n return tentacleEndpointHealthCheckHtml;\n }\n private buildSshEndpointHealthCheckHtml() {\n const policy = this.props.machinePolicy;\n let sshEndpointHealthCheckHtml = \"\";\n if (policy.MachineHealthCheckPolicy.BashHealthCheckPolicy.RunType === MachineScriptPolicyRunType.InheritFromDefault) {\n sshEndpointHealthCheckHtml = \"Inherits from the default machine policy\";\n }\n else if (policy.MachineHealthCheckPolicy.BashHealthCheckPolicy.RunType === MachineScriptPolicyRunType.Inline) {\n sshEndpointHealthCheckHtml = \"Uses custom script\";\n }\n return sshEndpointHealthCheckHtml;\n }\n private buildMachineConnectivityHtml() {\n const policy = this.props.machinePolicy;\n let machineConnectivityHtml = \"\";\n if (policy.MachineConnectivityPolicy.MachineConnectivityBehavior === MachineConnectivityBehavior.ExpectedToBeOnline) {\n machineConnectivityHtml = \"Fails when a deployment target is unavailable\";\n }\n else if (policy.MachineConnectivityPolicy.MachineConnectivityBehavior === MachineConnectivityBehavior.MayBeOfflineAndCanBeSkipped) {\n machineConnectivityHtml = \"Ignore unavailable deployment targets\";\n }\n return machineConnectivityHtml;\n }\n private buildMachineCalamariUpdatesHtml() {\n const policy = this.props.machinePolicy;\n let machineCalamariUpdatesHtml = \"\";\n if (policy.MachineUpdatePolicy.CalamariUpdateBehavior === CalamariUpdateBehavior.UpdateOnDeployment) {\n machineCalamariUpdatesHtml = \"Automatically update when a deployment target is involved in a deployment\";\n }\n else if (policy.MachineUpdatePolicy.CalamariUpdateBehavior === CalamariUpdateBehavior.UpdateOnNewMachine) {\n machineCalamariUpdatesHtml = \"Automatically update the first time a deployment target comes online and then when it is involved in a deployment\";\n }\n else if (policy.MachineUpdatePolicy.CalamariUpdateBehavior === CalamariUpdateBehavior.UpdateAlways) {\n machineCalamariUpdatesHtml = \"Always keep up to date\";\n }\n return machineCalamariUpdatesHtml;\n }\n private buildMachineTentacleUpdatesHtml() {\n const policy = this.props.machinePolicy;\n let machineTentacleUpdatesHtml = \"\";\n if (policy.MachineUpdatePolicy.TentacleUpdateBehavior === TentacleUpdateBehavior.NeverUpdate) {\n machineTentacleUpdatesHtml = \"Manually - from Deployment Targets\";\n }\n else if (policy.MachineUpdatePolicy.TentacleUpdateBehavior === TentacleUpdateBehavior.Update) {\n machineTentacleUpdatesHtml = \"Automatically\";\n }\n return machineTentacleUpdatesHtml;\n }\n private buildKubernetesAgentUpdatesHtml() {\n const policy = this.props.machinePolicy;\n let machineTentacleUpdatesHtml = \"\";\n if (policy.MachineUpdatePolicy.KubernetesAgentUpdateBehavior === KubernetesAgentUpdateBehavior.NeverUpdate) {\n machineTentacleUpdatesHtml = \"Manually - from Deployment Targets\";\n }\n else if (policy.MachineUpdatePolicy.KubernetesAgentUpdateBehavior === KubernetesAgentUpdateBehavior.Update) {\n machineTentacleUpdatesHtml = \"Automatically\";\n }\n return machineTentacleUpdatesHtml;\n }\n private buildCleanUpOfflineHtml() {\n const policy = this.props.machinePolicy;\n let cleaningUpOfflineHtml = \"\";\n if (policy.MachineCleanupPolicy.DeleteMachinesBehavior === DeleteMachinesBehavior.DoNotDelete) {\n cleaningUpOfflineHtml = \"Does not delete deployment targets automatically\";\n }\n else if (policy.MachineCleanupPolicy.DeleteMachinesBehavior === DeleteMachinesBehavior.DeleteUnavailableMachines) {\n const deleteMachinesElapsedTimeSpan = this.parseTimeSpan(policy.MachineCleanupPolicy.DeleteMachinesElapsedTimeSpan);\n let deleteMachinesElapsedTimeSpanHtml = \"Automatically delete unavailable deployment targets after\";\n if (deleteMachinesElapsedTimeSpan.Days > 0) {\n deleteMachinesElapsedTimeSpanHtml += \" \" + deleteMachinesElapsedTimeSpan.Days + \" day\" + (deleteMachinesElapsedTimeSpan.Days === 1 ? \"\" : \"s\");\n }\n if (deleteMachinesElapsedTimeSpan.Hours > 0) {\n deleteMachinesElapsedTimeSpanHtml += \" \" + deleteMachinesElapsedTimeSpan.Hours + \" hour\" + (deleteMachinesElapsedTimeSpan.Hours === 1 ? \"\" : \"s\");\n }\n if (deleteMachinesElapsedTimeSpan.Minutes > 0 || deleteMachinesElapsedTimeSpan.Hours === 0) {\n deleteMachinesElapsedTimeSpanHtml += \" \" + deleteMachinesElapsedTimeSpan.Minutes + \" minute\" + (deleteMachinesElapsedTimeSpan.Minutes === 1 ? \"\" : \"s\");\n }\n cleaningUpOfflineHtml = deleteMachinesElapsedTimeSpanHtml;\n }\n return cleaningUpOfflineHtml;\n }\n private buildTransientNetworkErrorRecoveryHtml() {\n const policy = this.props.machinePolicy;\n let machineTentacleUpdatesHtml = \"\";\n if (policy.MachineRpcCallRetryPolicy.Enabled) {\n machineTentacleUpdatesHtml = \"Enabled\";\n }\n else {\n machineTentacleUpdatesHtml = \"Disabled\";\n }\n return machineTentacleUpdatesHtml;\n }\n static displayName = \"MachinePolicySummary\";\n}\nexport default MachinePolicySummary;\n","import MachinePolicySummary from \"./MachinePolicySummary\";\nexport default MachinePolicySummary;\n","import { Callout } from \"@octopusdeploy/design-system-components\";\nimport * as React from \"react\";\nimport { Section } from \"~/components/Section/Section\";\nconst DeprecatedEndpoint: React.SFC = () => {\n return (
    \n \n This endpoint has been deprecated and is no longer supported by the Octopus UI.\n \n
    );\n};\nDeprecatedEndpoint.displayName = \"DeprecatedEndpoint\"\nexport default DeprecatedEndpoint;\n","import { Checkbox } from \"@octopusdeploy/design-system-components\";\nimport { createInputValueAccessorForDeploymentTarget, getPathToInput } from \"@octopusdeploy/step-runtime-inputs\";\nimport type { ObjectRuntimeInputs, PathToInput } from \"@octopusdeploy/step-runtime-inputs\";\nimport type { CheckboxComponent } from \"@octopusdeploy/step-ui\";\nimport React from \"react\";\nimport { Note } from \"~/components/StepPackageEditor/Inputs/Note/Note\";\nimport type { InputSummary } from \"~/components/StepPackageEditor/Summary/InputSummary\";\nexport function getDeploymentTargetCheckboxContentSummary(component: CheckboxComponent, inputs: ObjectRuntimeInputs): InputSummary {\n const inputAccessor = createInputValueAccessorForDeploymentTarget(component.input);\n const inputValue = inputAccessor.getInputValue(inputs);\n return {\n isDefaultValue: false,\n value: inputValue ? \"Yes\" : \"No\",\n };\n}\nexport interface DeploymentTargetCheckboxProps {\n configuredStepUIProps: CheckboxComponent;\n inputs: ObjectRuntimeInputs;\n setInputs(inputs: ObjectRuntimeInputs): void;\n getFieldError: (name: PathToInput) => string;\n}\nexport function DeploymentTargetCheckbox(props: DeploymentTargetCheckboxProps) {\n const inputAccessor = createInputValueAccessorForDeploymentTarget(props.configuredStepUIProps.input);\n const inputValue = inputAccessor.getInputValue(props.inputs);\n const inputPath = getPathToInput(props.configuredStepUIProps.input);\n return (<>\n {\n const updatedInputs = inputAccessor.changeInputValue(props.inputs, newValue);\n props.setInputs(updatedInputs);\n }} label={props.configuredStepUIProps.label} error={props.getFieldError(inputPath)}/>\n \n );\n}\n","import type { PathToInput, ObjectRuntimeInputs } from \"@octopusdeploy/step-runtime-inputs\";\nimport { createInputValueAccessorForDeploymentTarget, getPathToInput } from \"@octopusdeploy/step-runtime-inputs\";\nimport type { MultilineTextComponent } from \"@octopusdeploy/step-ui\";\nimport React from \"react\";\nimport { Note } from \"~/components/StepPackageEditor/Inputs/Note/Note\";\nimport { DebounceText } from \"~/primitiveComponents/form/Text/Text\";\ninterface DeploymentTargetMultilineTextProps {\n configuredStepUIProps: MultilineTextComponent;\n inputs: ObjectRuntimeInputs;\n setInputs(inputs: ObjectRuntimeInputs): void;\n getFieldError: (path: PathToInput) => string;\n}\nexport function DeploymentTargetMultilineText(props: DeploymentTargetMultilineTextProps) {\n const { input, label, note, rows } = props.configuredStepUIProps;\n const inputAccessor = createInputValueAccessorForDeploymentTarget(input);\n const inputPath = getPathToInput(input);\n const inputValue = inputAccessor.getInputValue(props.inputs);\n return (<>\n {\n const updatedInputs = inputAccessor.changeInputValue(props.inputs, newValue);\n props.setInputs(updatedInputs);\n }} label={label} minRows={rows} error={props.getFieldError(inputPath)}/>\n \n );\n}\n","import type { SensitiveValue } from \"@octopusdeploy/step-inputs\";\nimport type { PathToInput, ObjectRuntimeInputs } from \"@octopusdeploy/step-runtime-inputs\";\nimport { createInputValueAccessorForDeploymentTarget, getPathToInput, toResourceSensitiveValue, toRuntimeSensitiveValue } from \"@octopusdeploy/step-runtime-inputs\";\nimport type { SensitiveTextComponent } from \"@octopusdeploy/step-ui\";\nimport React from \"react\";\nimport { Note } from \"~/components/StepPackageEditor/Inputs/Note/Note\";\nimport { Sensitive } from \"~/components/form\";\ninterface SensitiveProps {\n configuredStepUIProps: SensitiveTextComponent;\n inputs: ObjectRuntimeInputs;\n setInputs(inputs: ObjectRuntimeInputs): void;\n getFieldError: (path: PathToInput) => string;\n}\nexport function DeploymentTargetSensitive(props: SensitiveProps) {\n const { input, label, note } = props.configuredStepUIProps;\n const inputAccessor = createInputValueAccessorForDeploymentTarget(input);\n const inputPath = getPathToInput(input);\n const inputValue = inputAccessor.getInputValue(props.inputs);\n const value = toResourceSensitiveValue(inputValue);\n return (<>\n {\n const newInputValue = toRuntimeSensitiveValue(newValue);\n const updatedInputs = inputAccessor.changeInputValue(props.inputs, newInputValue);\n props.setInputs(updatedInputs);\n }} label={label} error={props.getFieldError(inputPath)}/>\n \n );\n}\n","import type { PathToInput, ObjectRuntimeInputs } from \"@octopusdeploy/step-runtime-inputs\";\nimport { createInputValueAccessorForDeploymentTarget, getPathToInput } from \"@octopusdeploy/step-runtime-inputs\";\nimport type { TextComponent } from \"@octopusdeploy/step-ui\";\nimport React from \"react\";\nimport { Note } from \"~/components/StepPackageEditor/Inputs/Note/Note\";\nimport { DebounceText } from \"~/primitiveComponents/form/Text/Text\";\ninterface DeploymentTargetTextProps {\n configuredStepUIProps: TextComponent;\n inputs: ObjectRuntimeInputs;\n setInputs(inputs: ObjectRuntimeInputs): void;\n getFieldError: (path: PathToInput) => string;\n}\nexport function DeploymentTargetText(props: DeploymentTargetTextProps) {\n const { input, label, note } = props.configuredStepUIProps;\n const inputAccessor = createInputValueAccessorForDeploymentTarget(input);\n const inputPath = getPathToInput(input);\n const inputValue = inputAccessor.getInputValue(props.inputs);\n return (<>\n {\n const updatedInputs = inputAccessor.changeInputValue(props.inputs, newValue);\n props.setInputs(updatedInputs);\n }} label={label} error={props.getFieldError(inputPath)}/>\n \n );\n}\n","import type { AccountResource } from \"@octopusdeploy/octopus-server-client\";\nimport { AccountType } from \"@octopusdeploy/octopus-server-client\";\nimport type { AccountReference, EmptyInitialValue } from \"@octopusdeploy/step-inputs\";\nimport type { AccountTypeDefinition, ObjectRuntimeInputs, PathToInput, PlainObjectTypeDefinition } from \"@octopusdeploy/step-runtime-inputs\";\nimport { createInputValueAccessor, getPathToInput, isNotBoundValue } from \"@octopusdeploy/step-runtime-inputs\";\nimport type { AccountSelectorComponent } from \"@octopusdeploy/step-ui\";\nimport { exhaustiveCheck } from \"@octopusdeploy/type-utils\";\nimport React from \"react\";\nimport type { DeploymentTargetInputDependencies } from \"~/components/StepPackageDeploymentTargetEditor/DeploymentTargetInputDependencies\";\nimport { convertFromRuntimeAccountSelection, convertToRuntimeAccountSelection } from \"~/components/StepPackageEditor/Inputs/Components/AccountSelector/AccountSelectionConverters\";\nimport type { InputSummary } from \"~/components/StepPackageEditor/Summary/InputSummary\";\nimport AccountSelect from \"~/components/form/AccountSelect/AccountSelect\";\nimport { Note } from \"../../Note/Note\";\nimport { getSchemaForInputAtPath } from \"../../schemaTraversal\";\nexport function getAccountSelectorSummary(content: AccountSelectorComponent, inputs: ObjectRuntimeInputs, accounts: AccountResource[]): InputSummary {\n const inputAccessor = createInputValueAccessor(content.input);\n const inputValue = inputAccessor.getInputValue(inputs);\n if (isNotBoundValue(inputValue)) {\n const accountId = convertToRuntimeAccountSelection(inputValue);\n const account = accounts.find((acc) => acc.Id === accountId);\n return { isDefaultValue: false, value: account?.Name ?? accountId };\n }\n // todo-step-ui: Can we improve the typing so that we don't have to handle this case?\n throw new Error(\"Account selection cannot be bound\");\n}\ninterface AccountSelectorProps {\n configuredStepUIProps: AccountSelectorComponent;\n inputs: ObjectRuntimeInputs;\n getInputSchema: (inputs: ObjectRuntimeInputs) => PlainObjectTypeDefinition;\n setInputs(inputs: ObjectRuntimeInputs): void;\n dependencies: DeploymentTargetInputDependencies;\n getFieldError: (path: PathToInput) => string;\n}\nexport function getErrorPathForAccountReference(component: AccountSelectorComponent): PathToInput[] {\n return [getPathToInput(component.input)];\n}\nfunction getSchemaForAccountInputAtPath(pathToInput: PathToInput, inputSchema: PlainObjectTypeDefinition): AccountTypeDefinition[] {\n const inputSchemaAtPath = getSchemaForInputAtPath(pathToInput, inputSchema);\n if (inputSchemaAtPath.type === \"account\")\n return [inputSchemaAtPath];\n else\n throw Error(\"The provided input to the schema is not an account type\");\n}\nexport function AccountSelector(props: AccountSelectorProps) {\n const inputAccessor = createInputValueAccessor(props.configuredStepUIProps.input);\n const inputValue = inputAccessor.getInputValue(props.inputs);\n const inputPath = getPathToInput(props.configuredStepUIProps.input);\n const inputAccountSchemas = getSchemaForAccountInputAtPath(inputPath, props.getInputSchema(props.inputs));\n const accountTypes = inputAccountSchemas.map((schema) => {\n switch (schema.accountType) {\n case \"AmazonWebServicesAccount\":\n return AccountType.AmazonWebServicesAccount;\n case \"AmazonWebServicesOidcAccount\":\n return AccountType.AmazonWebServicesOidcAccount;\n case \"AzureServicePrincipal\":\n return AccountType.AzureServicePrincipal;\n case \"AzureOidc\":\n return AccountType.AzureOidc;\n case \"GoogleCloudAccount\":\n return AccountType.GoogleCloudAccount;\n case \"SshKeyPair\":\n return AccountType.SshKeyPair;\n case \"Token\":\n return AccountType.Token;\n case \"UsernamePassword\":\n return AccountType.UsernamePassword;\n default:\n exhaustiveCheck(schema.accountType, \"Unsupported account type\");\n }\n });\n if (isNotBoundValue(inputValue)) {\n return (<>\n {\n const updatedInputs = inputAccessor.changeInputValue(props.inputs, convertFromRuntimeAccountSelection(newValue));\n props.setInputs(updatedInputs);\n }} items={props.dependencies.accounts} error={props.getFieldError(inputPath)}/>\n \n );\n }\n else {\n // todo-step-ui: Can we improve the typing so that we don't have to handle this case?\n throw new Error(\"Account selection can't be bound\");\n }\n}\n","import type { ObjectRuntimeInputs, PathToInput } from \"@octopusdeploy/step-runtime-inputs\";\nimport { createInputValueAccessorForDeploymentTarget, getPathToInput } from \"@octopusdeploy/step-runtime-inputs\";\nimport type { NumberComponent } from \"@octopusdeploy/step-ui\";\nimport React from \"react\";\nimport { Note } from \"~/components/StepPackageEditor/Inputs/Note/Note\";\nimport type { InputSummary } from \"~/components/StepPackageEditor/Summary/InputSummary\";\nimport Number from \"~/primitiveComponents/form/Number/Number\";\nexport function getDeploymentTargetNumberSummary(component: NumberComponent, inputs: ObjectRuntimeInputs): InputSummary {\n const inputAccessor = createInputValueAccessorForDeploymentTarget(component.input);\n const inputValue = inputAccessor.getInputValue(inputs);\n if (inputValue === undefined)\n return \"empty\";\n return {\n isDefaultValue: false,\n value: inputValue.toString(),\n };\n}\ninterface DeploymentTargetNumberProps {\n configuredStepUIProps: NumberComponent;\n inputs: ObjectRuntimeInputs;\n setInputs(inputs: ObjectRuntimeInputs): void;\n getFieldError: (name: PathToInput) => string;\n}\nexport function DeploymentTargetNumber(props: DeploymentTargetNumberProps) {\n const inputAccessor = createInputValueAccessorForDeploymentTarget(props.configuredStepUIProps.input);\n const inputValue = inputAccessor.getInputValue(props.inputs);\n const inputPath = getPathToInput(props.configuredStepUIProps.input);\n return (<>\n {\n const updatedInputs = inputAccessor.changeInputValue(props.inputs, newValue);\n props.setInputs(updatedInputs);\n }} label={props.configuredStepUIProps.label} error={props.getFieldError(inputPath)}/>\n \n );\n}\n","import type { ObjectRuntimeInputs, PathToInput, PlainObjectTypeDefinition, RootInputSchema } from \"@octopusdeploy/step-runtime-inputs\";\nimport { createObjectInputPaths } from \"@octopusdeploy/step-runtime-inputs\";\nimport type { DeploymentTargetInputComponent } from \"@octopusdeploy/step-ui\";\nimport * as React from \"react\";\nimport { useCallback } from \"react\";\nimport type { DeploymentTargetInputDependencies } from \"~/components/StepPackageDeploymentTargetEditor/DeploymentTargetInputDependencies\";\nimport type { StepPackageDeploymentTarget } from \"~/components/StepPackageDeploymentTargetEditor/StepPackageDeploymentTarget\";\nimport { EditStepPackageInputs } from \"~/components/StepPackageEditor/EditStepPackageInputs\";\nimport { createGetRenderedComponentAndSummaryForDeploymentTargetFactory } from \"./Inputs/createGetRenderedComponentAndSummaryForDeploymentTargetFactory\";\nexport interface TypedStepPackageDeploymentTargetEditorProps {\n inputs: ObjectRuntimeInputs;\n getRootInputSchema: (inputs: ObjectRuntimeInputs) => RootInputSchema;\n stepPackage: StepPackageDeploymentTarget;\n setInputs(inputs: ObjectRuntimeInputs): void;\n getFieldError: (name: PathToInput) => string;\n isExpandedByDefault: boolean;\n inputDependencies: DeploymentTargetInputDependencies;\n}\nexport function TypedStepPackageDeploymentTargetEditor(props: TypedStepPackageDeploymentTargetEditorProps) {\n const { inputs, getRootInputSchema, setInputs, stepPackage, getFieldError, inputDependencies, isExpandedByDefault } = props;\n const { ui } = stepPackage;\n const getInputSchema = useCallback<(inputs: ObjectRuntimeInputs) => PlainObjectTypeDefinition>((inputs) => {\n const rootInputSchema = getRootInputSchema(inputs);\n return { type: \"object\", nonDiscriminatorProperties: rootInputSchema.properties, discriminatorProperties: [] };\n }, [getRootInputSchema]);\n const inputPaths = createObjectInputPaths(getInputSchema(inputs));\n const formContent = ui.editInputsForm(inputPaths);\n const getRenderedComponentAndSummary = createGetRenderedComponentAndSummaryForDeploymentTargetFactory(inputs, setInputs, getInputSchema, inputPaths, getFieldError, inputDependencies);\n return isExpandedByDefault={isExpandedByDefault} formContent={formContent} getRenderedComponentAndSummary={getRenderedComponentAndSummary}/>;\n}\n","import type { ObjectInputPaths } from \"@octopusdeploy/step-inputs\";\nimport type { ObjectRuntimeInputs, PathToInput, PlainObjectTypeDefinition } from \"@octopusdeploy/step-runtime-inputs\";\nimport type { DeploymentTargetInputComponent } from \"@octopusdeploy/step-ui\";\nimport { exhaustiveCheck } from \"@octopusdeploy/type-utils\";\nimport * as React from \"react\";\nimport type { DeploymentTargetInputDependencies } from \"~/components/StepPackageDeploymentTargetEditor/DeploymentTargetInputDependencies\";\nimport { DeploymentTargetCheckbox, getDeploymentTargetCheckboxContentSummary } from \"~/components/StepPackageDeploymentTargetEditor/Inputs/Checkbox/Checkbox\";\nimport { DeploymentTargetMultilineText } from \"~/components/StepPackageDeploymentTargetEditor/Inputs/MultilineText/MultilineText\";\nimport { DeploymentTargetSensitive } from \"~/components/StepPackageDeploymentTargetEditor/Inputs/Sensitive/Sensitive\";\nimport { DeploymentTargetText } from \"~/components/StepPackageDeploymentTargetEditor/Inputs/Text/Text\";\nimport type { RenderedComponentAndSummary } from \"~/components/StepPackageEditor/EditStepPackageInputs\";\nimport { AccountSelector, getAccountSelectorSummary } from \"~/components/StepPackageEditor/Inputs/Components/AccountSelector/AccountSelector\";\nimport { getRadioButtonsSummary, RadioButtons } from \"~/components/StepPackageEditor/Inputs/Components/DiscriminatorComponents/RadioButtons/RadioButtons\";\nimport { getSelectSummary, StepPackageSelect } from \"~/components/StepPackageEditor/Inputs/Components/DiscriminatorComponents/Select/Select\";\nimport { getMultilineTextContentSummary } from \"~/components/StepPackageEditor/Inputs/Components/MultilineText/MultilineText\";\nimport { getSensitiveContentSummary } from \"~/components/StepPackageEditor/Inputs/Components/Sensitive/Sensitive\";\nimport { getTextContentSummary } from \"~/components/StepPackageEditor/Inputs/Components/Text/Text\";\nimport { DeploymentTargetNumber, getDeploymentTargetNumberSummary } from \"./Number/Number\";\nexport function createGetRenderedComponentAndSummaryForDeploymentTargetFactory(inputs: ObjectRuntimeInputs, setInputs: (inputs: ObjectRuntimeInputs) => void, getInputSchema: (inputs: ObjectRuntimeInputs) => PlainObjectTypeDefinition, inputPaths: ObjectInputPaths, getFieldError: (name: PathToInput) => string, inputDependencies: DeploymentTargetInputDependencies) {\n return (component: DeploymentTargetInputComponent): RenderedComponentAndSummary => {\n switch (component.type) {\n case \"sensitive\":\n return {\n summary: getSensitiveContentSummary(component, inputs),\n renderedComponent: configuredStepUIProps={component} inputs={inputs} setInputs={setInputs} getFieldError={getFieldError}/>,\n };\n case \"text\":\n return {\n summary: getTextContentSummary(component, inputs),\n renderedComponent: configuredStepUIProps={component} inputs={inputs} setInputs={setInputs} getFieldError={getFieldError}/>,\n };\n case \"multiline-text\":\n return {\n summary: getMultilineTextContentSummary(component, inputs),\n renderedComponent: configuredStepUIProps={component} inputs={inputs} setInputs={setInputs} getFieldError={getFieldError}/>,\n };\n case \"radio-buttons\":\n return {\n summary: getRadioButtonsSummary(inputs, component, getInputSchema),\n renderedComponent: configuredStepUIProps={component} inputs={inputs} setInputs={setInputs} getInputSchema={getInputSchema} getFieldError={getFieldError}/>,\n };\n case \"account\":\n return {\n summary: getAccountSelectorSummary(component, inputs, inputDependencies.accounts),\n renderedComponent: ,\n };\n case \"checkbox\":\n return {\n summary: getDeploymentTargetCheckboxContentSummary(component, inputs),\n renderedComponent: configuredStepUIProps={component} inputs={inputs} setInputs={setInputs} getFieldError={getFieldError}/>,\n };\n case \"select\":\n return {\n summary: getSelectSummary(inputs, component, getInputSchema),\n renderedComponent: ( input={component.input} label={component.label} options={component.options} inputs={inputs} setInputs={setInputs} getInputSchema={getInputSchema} getFieldError={getFieldError} note={component.note}/>),\n };\n case \"number\":\n return {\n summary: getDeploymentTargetNumberSummary(component, inputs),\n renderedComponent: configuredStepUIProps={component} inputs={inputs} setInputs={setInputs} getFieldError={getFieldError}/>,\n };\n default:\n return exhaustiveCheck(component, `Step package component type not supported for deployment targets`);\n }\n };\n}\n","import type { ObjectResourceInputs, ObjectRuntimeInputs, PathToInput, RootInputSchema } from \"@octopusdeploy/step-runtime-inputs\";\nimport { asResourceInputs, asRuntimeInputs, convertFromJsonSchemaToInputSchema } from \"@octopusdeploy/step-runtime-inputs\";\nimport * as React from \"react\";\nimport { useCallback } from \"react\";\nimport type { DeploymentTargetInputDependencies } from \"~/components/StepPackageDeploymentTargetEditor/DeploymentTargetInputDependencies\";\nimport { getPathAsString } from \"~/components/StepPackageEditor/Inputs/getPathAsString\";\nimport type { UnknownStepPackageDeploymentTarget } from \"./StepPackageDeploymentTarget\";\nimport { TypedStepPackageDeploymentTargetEditor } from \"./TypedStepPackageDeploymentTargetEditor\";\nexport interface StepPackageDeploymentTargetEditorProps {\n inputs: ObjectResourceInputs;\n stepPackage: UnknownStepPackageDeploymentTarget;\n setInputs(inputs: ObjectResourceInputs): void;\n getFieldError(field: string): string;\n isExpandedByDefault: boolean;\n inputDependencies: DeploymentTargetInputDependencies;\n}\nexport function StepPackageDeploymentTargetEditor(props: StepPackageDeploymentTargetEditorProps) {\n const { inputs, getFieldError, stepPackage, inputDependencies, isExpandedByDefault } = props;\n const { inputJsonSchema } = stepPackage;\n const getFieldErrorFromInputPath = React.useCallback((pathToInput: PathToInput) => {\n return getFieldError(`inputs.${getPathAsString(pathToInput)}`);\n }, [getFieldError]);\n const getRootInputSchema = useCallback((inputs: ObjectResourceInputs | ObjectRuntimeInputs): RootInputSchema => {\n return convertFromJsonSchemaToInputSchema(inputJsonSchema, inputs);\n }, [inputJsonSchema]);\n const setInputs = (inputs: ObjectResourceInputs) => {\n const inputSchema = getRootInputSchema(inputs);\n const resourceInputs = asResourceInputs(inputSchema.properties, inputs);\n props.setInputs(resourceInputs);\n };\n const stepResourceInputs: ObjectResourceInputs = inputs ?? {};\n const runtimeSchema = getRootInputSchema(stepResourceInputs);\n const runtimeInputs = asRuntimeInputs(runtimeSchema.properties, stepResourceInputs);\n return (
    \n stepPackage={props.stepPackage} setInputs={setInputs} inputs={runtimeInputs} getRootInputSchema={getRootInputSchema} getFieldError={getFieldErrorFromInputPath} inputDependencies={inputDependencies} isExpandedByDefault={isExpandedByDefault}/>\n
    );\n}\nexport default StepPackageDeploymentTargetEditor;\n","import type { StepPackageEndpointResource, AccountResource, WorkerPoolResource } from \"@octopusdeploy/octopus-server-client\";\nimport type { ObjectResourceInputs } from \"@octopusdeploy/step-runtime-inputs\";\nimport * as React from \"react\";\nimport type { UnknownStepPackageDeploymentTarget } from \"~/components/StepPackageDeploymentTargetEditor/StepPackageDeploymentTarget\";\nimport StepPackageDeploymentTargetEditor from \"~/components/StepPackageDeploymentTargetEditor/StepPackageDeploymentTargetEditor\";\nimport { ExpandableFormSection, Summary, Select, FormSectionHeading } from \"~/components/form\";\nimport CommonSummaryHelper from \"~/utils/CommonSummaryHelper\";\ninterface StepPackageEndpointProps {\n endpoint: StepPackageEndpointResource;\n workerPools: WorkerPoolResource[];\n accounts: AccountResource[];\n refreshAccounts: () => Promise<{}>;\n stepPackage: UnknownStepPackageDeploymentTarget | undefined;\n onChange(newValue: StepPackageEndpointResource): void;\n getFieldError(field: string): string;\n isNew: boolean;\n}\nconst StepPackageEndpoint = (props: StepPackageEndpointProps) => {\n if (props.stepPackage === undefined || props.endpoint === undefined)\n return null;\n return (\n } stepPackage={props.stepPackage} setInputs={(newInputs) => {\n if (props.onChange)\n props.onChange({ ...props.endpoint, Inputs: newInputs });\n }} getFieldError={props.getFieldError} isExpandedByDefault={props.isNew}/>\n {props.workerPools.length > 1 && (\n \n \n {\n const policy = x ? x : this.state.defaultMachinePolicy.Id;\n this.setModelState({ MachinePolicyId: policy });\n this.refreshMachinePolicy(policy);\n }} value={this.state.model.MachinePolicyId} items={this.props.initialData.machinePolicies.map((x) => ({ value: x.Id, text: x.Name }))}/>\n {this.state.machinePolicy && }\n )}\n\n {this.renderCommunicationSectionHeader()}\n\n {this.renderEndpointSpecificComponent(isNew)}\n\n {this.renderTenantComponent()}\n )}\n \n )}\n );\n }\n private renderCommunicationSectionHeader() {\n /* Communication section only shown for cloud regions when there are more than one worker pool. icky.*/\n if (this.isCommunicationStyleNoneAndMoreThanOneWorker() || this.isNotCommunicationStyleNoneOrStepPackageOrKubernetesTentacle()) {\n return (
    \n \n
    );\n }\n }\n private isCommunicationStyleNoneAndMoreThanOneWorker() {\n return this.props.initialData.communicationStyle === CommunicationStyleValues.None && this.props.initialData.workerPools.length > 1;\n }\n private isNotCommunicationStyleNoneOrStepPackageOrKubernetesTentacle() {\n return (this.props.initialData.communicationStyle !== CommunicationStyleValues.None &&\n this.props.initialData.communicationStyle !== CommunicationStyleValues.StepPackage &&\n this.props.initialData.communicationStyle !== CommunicationStyleValues.KubernetesTentacle);\n }\n protected abstract getModel(location: URI, defaultMachinePolicyId: string): TModel;\n protected abstract mapToModel(model: TResource): TModel;\n protected abstract enableDisablePermission(): Permission;\n protected abstract createPermission(): Permission;\n protected abstract editPermission(): Permission;\n protected abstract deletePermission(): Permission;\n protected abstract machineLink(spaceId: string, machineId: string): LinkHref;\n protected abstract renderTypeSpecificComponents(): JSX.Element;\n protected abstract getSecondaryPageActions(): PageAction[];\n protected abstract renderTenantComponent(): JSX.Element | null;\n private renderSlugEditor() {\n const isNew = this.state.machine === undefined;\n return (<>\n {!isNew && ( this.setModelState({ Slug })} label=\"Slug\" validate={required(\"Please enter a slug\")} error={this.getFieldError(\"Slug\")}/>)}\n );\n }\n private renderEndpointSpecificComponent(isNew: boolean) {\n switch (this.props.initialData.communicationStyle) {\n case CommunicationStyleValues.None:\n return this.setModelState({ Endpoint })}/>;\n case CommunicationStyleValues.TentacleActive:\n return ( this.setModelState({ Endpoint: Endpoint as PollingTentacleEndpointResource })}/>);\n case CommunicationStyleValues.TentaclePassive:\n return ( this.setModelState({ Endpoint: Endpoint as ListeningTentacleEndpointResource })}/>);\n case CommunicationStyleValues.KubernetesTentacle:\n const kubernetesTentacleEndpoint = this.state.model.Endpoint as KubernetesTentacleEndpointResource;\n return (<>\n \n {this.renderKubernetesTentacleEndpointConfiguration(kubernetesTentacleEndpoint)}\n );\n case CommunicationStyleValues.Ssh:\n return ( this.setModelState({ Endpoint })}/>);\n case CommunicationStyleValues.OfflineDrop:\n return this.setModelState({ Endpoint })}/>;\n case CommunicationStyleValues.AzureWebApp:\n return ( this.setModelState({ Endpoint })} getFieldError={this.getFieldError}/>);\n case CommunicationStyleValues.AzureCloudService:\n return ( this.setModelState({ Endpoint })} getFieldError={this.getFieldError}/>);\n case CommunicationStyleValues.AzureServiceFabricCluster:\n return ( this.setModelState({ Endpoint })} getFieldError={this.getFieldError}/>);\n case CommunicationStyleValues.Kubernetes:\n return ( this.setModelState({ Endpoint })} getFieldError={this.getFieldError} proxies={this.props.initialData.proxies}/>);\n case CommunicationStyleValues.StepPackage:\n return ( this.setModelState({ Endpoint: endpoint })} refreshAccounts={this.refreshAccounts} stepPackage={this.state.deploymentTargetFromAStepPackage} workerPools={this.props.initialData.workerPools}/>);\n default: {\n return ;\n }\n }\n }\n private renderKubernetesTentacleEndpointConfiguration(endpoint: KubernetesTentacleEndpointResource) {\n const endpointConfiguration = endpoint.TentacleEndpointConfiguration.CommunicationMode === AgentCommunicationMode.Polling ? ( this.setModelState({ Endpoint: { TentacleEndpointConfiguration, ...this.state.model.Endpoint } as KubernetesTentacleEndpointResource })}/>) : ( this.setModelState({ Endpoint: { TentacleEndpointConfiguration, ...this.state.model.Endpoint } as KubernetesTentacleEndpointResource })}/>);\n return (<>\n {endpointConfiguration}\n {!this.props.isWorkerMachine && (<>\n \n {this.defaultNamespaceComponent(endpoint, (e) => this.setModelState({ Endpoint: e }))}\n )}\n );\n }\n private defaultNamespaceComponent(endpoint: KubernetesTentacleEndpointResource, onChange: (newValue: KubernetesTentacleEndpointResource) => void) {\n return (\n {\n endpoint.DefaultNamespace = n;\n onChange(endpoint);\n }} getFieldError={this.getFieldError}/>\n );\n }\n private refreshAccounts = () => {\n return this.doBusyTask(async () => {\n this.setState({ accounts: await repository.Accounts.all() });\n });\n };\n private getCertificates = async () => {\n let certificates: CertificateResource[] | undefined = this.state.certificates;\n if (!certificates) {\n certificates = await repository.Certificates.all();\n this.setState({ certificates });\n }\n return certificates;\n };\n private refreshCertificates = () => {\n return this.doBusyTask(async () => {\n this.setState({ certificates: await repository.Certificates.all() });\n });\n };\n private refreshFeeds = async () => {\n await this.doBusyTask(async () => {\n this.setState({ feeds: await repository.Feeds.all() });\n });\n };\n private loadStepPackage = async () => {\n await this.doBusyTask(async () => {\n if (!IsStepPackageEndpoint(this.state.model.Endpoint))\n return;\n const stepPackage = await endpointRegistry.getStepPackageDeploymentTarget(this.state.model.Endpoint.DeploymentTargetTypeId, this.state.model.Endpoint.StepPackageVersion);\n const initialInputs = stepPackage.ui.createInitialInputs();\n const inputSchema = convertFromJsonSchemaToInputSchema(stepPackage.inputJsonSchema, initialInputs);\n const mappedInputs = mapRootInitialInputs(inputSchema, initialInputs);\n const initialResourceInputs = asResourceInputs(inputSchema.properties, mappedInputs);\n this.setState((previous) => ({\n deploymentTargetFromAStepPackage: stepPackage,\n model: {\n ...previous.model,\n Endpoint: {\n ...previous.model.Endpoint,\n StepPackageVersion: stepPackage.version,\n ...(IsStepPackageEndpoint(previous.model.Endpoint) && this.props.initialData.machine === \"IsNew\" ? { Inputs: initialResourceInputs } : {}),\n },\n },\n cleanModel: cloneDeep({\n ...previous.cleanModel,\n Endpoint: {\n ...previous.cleanModel.Endpoint,\n StepPackageVersion: stepPackage.version,\n ...(IsStepPackageEndpoint(previous.cleanModel.Endpoint) && this.props.initialData.machine === \"IsNew\" ? { Inputs: initialResourceInputs } : {}),\n },\n }),\n }));\n });\n };\n private refreshMachinePolicy(machinePolicyId: string) {\n const machinePolicy = find(this.props.initialData.machinePolicies, (x) => {\n return x.Id === machinePolicyId;\n });\n if (!machinePolicy) {\n throw Error(\"Machine policy not found\");\n }\n this.setState({ machinePolicy });\n }\n private machinePolicySummary() {\n const machinePolicy = this.props.initialData.machinePolicies.find((x) => x.Id === this.state.model.MachinePolicyId);\n if (machinePolicy) {\n return Summary.summary(machinePolicy.Name);\n }\n return Summary.placeholder(\"Unknown machine policy\");\n }\n protected async handleSaveClick(onError?: (errors: Errors) => void, onSuccess?: () => void): Promise {\n return await this.doBusyTask(async () => {\n let toSave = this.state.model;\n if (this.state.machine !== undefined) {\n toSave = {\n ...toSave,\n Id: this.state.machine.Id,\n Links: this.state.machine.Links,\n };\n }\n const machine = await this.props.repository.save(toSave);\n this.props.onMachineSaved(machine);\n this.setState({\n saved: true,\n machine,\n model: this.mapToModel(machine),\n cleanModel: cloneDeep(this.mapToModel(machine)),\n });\n }, { onError, onSuccess });\n }\n private handleDeleteConfirm = () => {\n this.setState({ deleted: true });\n };\n private handleEnabledToggle = async () => {\n this.state.model.IsDisabled = !this.state.model.IsDisabled;\n await this.handleSaveClick();\n };\n static displayName = \"BaseMachineSettingsLayout\";\n}\n","import type { MachineResource } from \"@octopusdeploy/octopus-server-client\";\nimport { EndpointsHelper, isStepPackageEndpointResource } from \"@octopusdeploy/octopus-server-client\";\nimport * as React from \"react\";\nimport { useDispatch } from \"react-redux\";\nimport { machineActions } from \"~/areas/infrastructure/reducers/machines\";\nimport { getMachineIconUrl } from \"~/utils/MachineIconUrlFetchers/machineIconUrlFetchers\";\nexport function useOnMachineSavedDispatch() {\n const dispatch = useDispatch();\n return React.useCallback((machine: MachineResource) => {\n const machineIconUrl = getMachineIconUrl(machine);\n dispatch(machineActions.machineSaved({\n id: machine.Id,\n name: machine.Name,\n machineType: EndpointsHelper.getFriendlyName(machine),\n machineIconUrl,\n isDisabled: machine.IsDisabled,\n isStepPackage: isStepPackageEndpointResource(machine.Endpoint),\n healthStatus: machine.HealthStatus,\n }));\n }, [dispatch]);\n}\n","/* eslint-disable @typescript-eslint/consistent-type-assertions */\nimport type { NewMachineResource, NewEndpointResource, ListeningTentacleEndpointResource, SshEndpointResource, AzureCloudServiceEndpointResource, AzureServiceFabricClusterEndpointResource, KubernetesEndpointResource, OfflineDropEndpointResource, StepPackageEndpointResource, CommunicationStyle, } from \"@octopusdeploy/octopus-server-client\";\nimport { CommunicationStyleValues, AzureCloudServiceEndpointDeploymentSlot, AzureServiceFabricSecurityMode, AADCredentialType, OfflineDropDestinationType, MachineModelHealthStatusValues } from \"@octopusdeploy/octopus-server-client\";\nimport SshEndpoint from \"../MachineSettings/Endpoints/SshEndpoint\";\nexport default function CreateNewMachineResource(location: URI, defaultMachinePolicyId: string): NewMachineResource {\n const query = location.search(true);\n const resourceName = (query.name as string) ?? \"\";\n let endpoint: NewEndpointResource = {\n CommunicationStyle: query.type as CommunicationStyle,\n Name: resourceName,\n };\n switch (endpoint.CommunicationStyle) {\n case CommunicationStyleValues.TentaclePassive: {\n const tentacleEndpoint = endpoint as ListeningTentacleEndpointResource;\n tentacleEndpoint.Uri = query.uri;\n tentacleEndpoint.Thumbprint = query.thumbprint;\n tentacleEndpoint.ProxyId = query.proxyId;\n endpoint = tentacleEndpoint;\n break;\n }\n case CommunicationStyleValues.Ssh: {\n const sshEndpoint = endpoint as SshEndpointResource;\n sshEndpoint.Uri = query.uri;\n sshEndpoint.Host = query.host;\n sshEndpoint.Port = query.port ? query.port : 22;\n sshEndpoint.Fingerprint = query.fingerprint;\n sshEndpoint.ProxyId = query.proxyId;\n sshEndpoint.DotNetCorePlatform = SshEndpoint.dotnetCorePlatforms[0];\n sshEndpoint.HostKeyAlgorithm = query.hostKeyAlgorithm;\n endpoint = sshEndpoint;\n break;\n }\n case CommunicationStyleValues.AzureCloudService: {\n const csEndpoint = endpoint as AzureCloudServiceEndpointResource;\n csEndpoint.Slot = AzureCloudServiceEndpointDeploymentSlot.Staging;\n csEndpoint.SwapIfPossible = true;\n csEndpoint.UseCurrentInstanceCount = true;\n endpoint = csEndpoint;\n break;\n }\n case CommunicationStyleValues.AzureServiceFabricCluster: {\n const fabricEndpoint = endpoint as AzureServiceFabricClusterEndpointResource;\n fabricEndpoint.SecurityMode = AzureServiceFabricSecurityMode.Unsecure;\n fabricEndpoint.AadCredentialType = AADCredentialType.UserCredential;\n endpoint = fabricEndpoint;\n break;\n }\n case CommunicationStyleValues.Kubernetes: {\n const kubernetesEndpoint = endpoint as KubernetesEndpointResource;\n endpoint = kubernetesEndpoint;\n break;\n }\n case CommunicationStyleValues.OfflineDrop: {\n const offlineDropEndpoint = endpoint as OfflineDropEndpointResource;\n offlineDropEndpoint.Destination = {\n DestinationType: OfflineDropDestinationType.Artifact,\n };\n break;\n }\n case CommunicationStyleValues.StepPackage: {\n const stepPackageEndpoint = endpoint as StepPackageEndpointResource;\n stepPackageEndpoint.DeploymentTargetTypeId = query.deploymentTargetTypeId;\n break;\n }\n default: {\n break;\n }\n }\n const machine: NewMachineResource = {\n MachinePolicyId: defaultMachinePolicyId,\n Name: resourceName ? resourceName : query.host,\n IsDisabled: false,\n HealthStatus: MachineModelHealthStatusValues.Unknown,\n HasLatestCalamari: true,\n IsInProcess: true,\n Endpoint: endpoint,\n ShellName: \"\",\n };\n return machine;\n}\n","/* eslint-disable @typescript-eslint/consistent-type-assertions */\nimport { css } from \"@emotion/css\";\nimport type { BreadcrumbItem, PageAction } from \"@octopusdeploy/design-system-components\";\nimport { text } from \"@octopusdeploy/design-system-tokens\";\nimport type { CommunicationStyle, DeploymentTargetResource, NewDeploymentTargetResource } from \"@octopusdeploy/octopus-server-client\";\nimport { Permission, TenantedDeploymentMode, EndpointsHelper } from \"@octopusdeploy/octopus-server-client\";\nimport type { LinkHref } from \"@octopusdeploy/portal-routes\";\nimport { links } from \"@octopusdeploy/portal-routes\";\nimport * as React from \"react\";\nimport { useSelector } from \"react-redux\";\nimport { useLocation } from \"react-router\";\nimport URI from \"urijs\";\nimport type { AnalyticErrorCallback, AnalyticTrackedActionDispatcher } from \"~/analytics/Analytics\";\nimport { Action as AnalyticAction, AnalyticView, useAnalyticTrackedActionDispatch } from \"~/analytics/Analytics\";\nimport type { BaseMachineSettingsProps, MachineSettingsInitialData } from \"~/areas/infrastructure/components/BaseMachineSettings/BaseMachineSettings\";\nimport { BaseMachineSettingsLayout, LoadMachineSettingsData } from \"~/areas/infrastructure/components/BaseMachineSettings/BaseMachineSettings\";\nimport { useOnMachineSavedDispatch } from \"~/areas/infrastructure/hooks/useOnMachineSavedDispatch\";\nimport { repository } from \"~/clientInstance\";\nimport { AdvancedTenantsAndTenantTagsSelector } from \"~/components/AdvancedTenantSelector\";\nimport { environmentChipList, RoleChip } from \"~/components/Chips\";\nimport { TargetTagsNewDeploymentTargetContextualHelp } from \"~/components/ContextualHelp/ContextualHelpSnippets\";\nimport type { Errors } from \"~/components/DataBaseComponent\";\nimport FormPage from \"~/components/FormPage/FormPage\";\nimport { EnvironmentMultiSelect } from \"~/components/MultiSelect/EnvironmentMultiSelect\";\nimport { TargetTagMultiSelect } from \"~/components/MultiSelect/TargetTagMultiSelect\";\nimport PermissionCheck, { isAllowed } from \"~/components/PermissionCheck/PermissionCheck\";\nimport TenantedDeploymentParticipationSelector from \"~/components/TenantedDeploymentParticipationSelector\";\nimport { ExpandableFormSection, FormSectionHeading, Note } from \"~/components/form\";\nimport Summary from \"~/components/form/Sections/Summary\";\nimport type { SummaryNode } from \"~/components/form/Sections/Summary\";\nimport CommonSummaryHelper from \"~/utils/CommonSummaryHelper/CommonSummaryHelper\";\nimport { TenantsOrTenantTagsSelectedOnUntenantedDeploymentMode } from \"~/utils/TenantedDeploymentParticipationHelper/TenantsOrTenantTagsSelectedOnUntenantedDeploymentMode\";\nimport CreateNewMachineResource from \"../BaseMachineSettings/NewMachineResourceFactory\";\ninterface DeploymentTargetSettingsInternalProps extends BaseMachineSettingsProps {\n trackAction: AnalyticTrackedActionDispatcher;\n spaceId: string;\n}\nexport interface DeploymentTargetSettingsProps {\n spaceId: string;\n machineId?: string;\n}\nconst IsNew = \"IsNew\";\nconst MachineSettingsFormPage = FormPage();\nexport function DeploymentTargetSettingsPage({ spaceId, machineId }: DeploymentTargetSettingsProps) {\n const location = useLocation();\n const query = URI(location.search);\n const trackAction = useAnalyticTrackedActionDispatch();\n const isMultiTenancyEnabled = useSelector((state: GlobalState) => state.configurationArea.currentSpace.isMultiTenancyEnabled);\n const isBuiltInWorkerEnabled = useSelector((state: GlobalState) => state.configurationArea.features.isBuiltInWorkerEnabled);\n const onMachineSaved = useOnMachineSavedDispatch();\n const environmentId = query.search(true).environment;\n const breadcrumbItems: BreadcrumbItem[] = machineId\n ? []\n : [\n {\n pageUrl: environmentId ? links.newDeploymentTargetWithEnvironmentPage.generateUrl({ spaceId, environmentId }) : links.newDeploymentTargetPage.generateUrl({ spaceId }),\n label: \"New Deployment Target\",\n },\n ];\n const rootLink = links.deploymentTargetsPage.generateUrl({ spaceId });\n return ( {\n const machine = machineId ? await repository.Machines.get(machineId) : IsNew;\n const communicationStyle = machine !== IsNew ? machine.Endpoint.CommunicationStyle : (query.search(true).type as CommunicationStyle);\n const machineSettingsData = await LoadMachineSettingsData(machine, communicationStyle);\n return {\n ...machineSettingsData,\n workerPools: await repository.WorkerPools.all(),\n };\n }} renderWhenLoaded={(initialData) => ()}/>);\n}\nclass DeploymentTargetSettingsPageInternal extends BaseMachineSettingsLayout {\n constructor(props: DeploymentTargetSettingsInternalProps) {\n super(props);\n }\n protected enableDisablePermission(): Permission {\n return Permission.MachineEdit;\n }\n protected createPermission(): Permission {\n return Permission.MachineCreate;\n }\n protected editPermission(): Permission {\n return Permission.MachineEdit;\n }\n protected deletePermission(): Permission {\n return Permission.MachineDelete;\n }\n protected machineLink(spaceId: string, machineId: string): LinkHref {\n return links.deploymentTargetSettingsPage.generateUrl({ spaceId, machineId });\n }\n protected getModel(location: URI, defaultMachinePolicyId: string): NewDeploymentTargetResource {\n const query = location.search(true);\n const environmentId = query.environment;\n return {\n ...CreateNewMachineResource(location, defaultMachinePolicyId),\n TenantedDeploymentParticipation: TenantedDeploymentMode.Untenanted,\n Roles: [],\n EnvironmentIds: environmentId ? [environmentId] : [],\n TenantIds: [],\n TenantTags: [],\n };\n }\n protected mapToModel(model: DeploymentTargetResource): NewDeploymentTargetResource {\n return {\n ...model,\n };\n }\n protected renderTypeSpecificComponents(): JSX.Element {\n return (
    \n \n\n {!this.state.saved && this.state.machine && }\n\n \n this.setModelState({ EnvironmentIds })} value={this.state.model.EnvironmentIds}/>\n \n\n }>\n this.setModelState({ Roles })} value={this.state.model.Roles} canAdd={true} label=\"Target tags\" items={this.props.initialData.machineRoles} analyticsArea=\"Deployment Target Settings\" empty={this.props.initialData.machineRoles.length == 0 &&\n this.state.model.Roles.length == 0 && (
    \n Create your first target tag, for example acme-web-server\n
    )}/>\n You are required to add at least one target tag.\n
    \n
    );\n }\n protected override getSecondaryPageActions(): PageAction[] {\n return [\n {\n type: \"navigate\",\n buttonType: \"secondary\",\n path: links.newDeploymentTargetPage.generateUrl({ spaceId: this.props.spaceId }),\n label: \"Add another\",\n hasPermissions: isAllowed({ permission: Permission.MachineCreate, environment: \"*\", tenant: \"*\" }),\n },\n ];\n }\n protected renderTenantComponent(): JSX.Element | null {\n if (!(this.props.isMultiTenancyEnabled || this.state.cleanModel.TenantedDeploymentParticipation !== TenantedDeploymentMode.Untenanted)) {\n return null;\n }\n return (\n \n \n this.setModelState({ TenantedDeploymentParticipation: x as TenantedDeploymentMode })}/>\n \n {this.state.model.TenantedDeploymentParticipation !== TenantedDeploymentMode.Untenanted && (\n this.setModelState({ TenantIds, TenantTags })} showPreviewButton={true}/>\n )}\n );\n }\n protected async handleSaveClick(): Promise {\n if (TenantsOrTenantTagsSelectedOnUntenantedDeploymentMode(this.state.model)) {\n this.setValidationErrors(\"Tenanted deployment mode\", { TenantedDeploymentParticipation: \"Please remove any associated tenants or tenant tags to use Untenanted deployment mode.\" });\n return false;\n }\n const machineType = this.state.model.Endpoint.CommunicationStyle;\n const target = machineType ? EndpointsHelper.getFriendlyNameFromCommStyle(machineType) : undefined;\n // const label = this.state.machine ? \"Edit\" : \"Add\";\n return await this.props.trackAction(\"Save Deployment Target\", { resource: \"Deployment Target\", action: AnalyticAction.Save, data: { target } }, async (cb: AnalyticErrorCallback) => {\n const res = await super.handleSaveClick((e: Errors) => {\n cb(e);\n });\n return res;\n });\n }\n private tenantDeploymentModeSummary(): SummaryNode {\n return CommonSummaryHelper.tenantDeploymentModeSummary(this.state.model.TenantedDeploymentParticipation, this.state.model.TenantIds, this.state.model.TenantTags);\n }\n private tenantSummary() {\n return CommonSummaryHelper.tenantSummary(this.state.model.TenantIds, this.state.model.TenantTags, this.props.initialData.tenants);\n }\n private environmentsSummary() {\n return this.state.model.EnvironmentIds && this.state.model.EnvironmentIds.length > 0 ? Summary.summary(environmentChipList(this.props.initialData.environments, this.state.model.EnvironmentIds)) : Summary.placeholder(\"No environments\");\n }\n private rolesSummary() {\n return this.state.model.Roles && this.state.model.Roles.length > 0 ? Summary.summary(this.state.model.Roles.map((role) => )) : Summary.placeholder(\"No tags\");\n }\n}\nconst targetRolesEmptyStyles = css({\n font: text.body.regular.medium,\n});\n","import { Callout } from \"@octopusdeploy/design-system-components\";\nimport type { VariablesScopedToDocumentResource, EnvironmentResource } from \"@octopusdeploy/octopus-server-client\";\nimport { useState } from \"react\";\nimport * as React from \"react\";\nimport { SinglyScopedVariableWarnings } from \"~/areas/variables/SinglyScopedVariableWarnings/SinglyScopedVariableWarnings\";\nimport { ScopeType } from \"~/areas/variables/VariableSorting/sortVariables\";\nimport { repository } from \"~/clientInstance\";\nimport DeleteDialogLayout from \"~/components/Dialog/DeleteDialogLayout\";\ninterface DeleteEnvironmentDialogLayoutProps {\n environment: EnvironmentResource;\n onDelete(): void;\n}\nexport const DeleteEnvironmentDialogLayout: React.FC = (props) => {\n const [variablesScopedToThisEnvironment, setVariablesScopedToThisEnvironment] = useState();\n const [isLoading, setIsLoading] = useState(true);\n const onLoad = async () => {\n const variablesScopedToThisEnvironment = await repository.Environments.variablesScopedOnlyToThisEnvironment(props.environment);\n setVariablesScopedToThisEnvironment(variablesScopedToThisEnvironment);\n setIsLoading(false);\n };\n const onDeleteClick = async () => {\n await repository.Environments.del(props.environment);\n props.onDelete();\n return true;\n };\n return ( (\n {variablesScopedToThisEnvironment && }\n {!isLoading && (\n

    Deleting this environment is permanent. There is no going back.

    \n

    Do you wish to continue?

    \n {`If you are using Config as Code, please check the 'environments' fields of your deployment and runbook OCL files for references to '${props.environment.Slug}' before deleting this environment.`}\n
    )}\n
    )}/>);\n};\nDeleteEnvironmentDialogLayout.displayName = \"DeleteEnvironmentDialogLayout\"\n","/* eslint-disable @typescript-eslint/init-declarations */\n/* eslint-disable @typescript-eslint/consistent-type-assertions */\nimport { Checkbox } from \"@octopusdeploy/design-system-components\";\nimport type { PageAction } from \"@octopusdeploy/design-system-components\";\nimport type { EnvironmentResource, EnvironmentSettingsMetadata, ExtensionSettingsValues } from \"@octopusdeploy/octopus-server-client\";\nimport { Permission } from \"@octopusdeploy/octopus-server-client\";\nimport { links } from \"@octopusdeploy/portal-routes\";\nimport { cloneDeep } from \"lodash\";\nimport * as React from \"react\";\nimport type { ActionEvent, AnalyticTrackedActionDispatcher } from \"~/analytics/Analytics\";\nimport { Action, AnalyticView, useAnalyticTrackedActionDispatch } from \"~/analytics/Analytics\";\nimport { DeleteEnvironmentDialogLayout } from \"~/areas/infrastructure/components/EnvironmentLayout/DeleteEnvironmentDialogLayout\";\nimport { repository } from \"~/clientInstance\";\nimport DynamicForm from \"~/components/DynamicForm/DynamicForm\";\nimport type { FormBaseComponentState } from \"~/components/FormBaseComponent/FormBaseComponent\";\nimport { FormBaseComponent } from \"~/components/FormBaseComponent/FormBaseComponent\";\nimport FormPage from \"~/components/FormPage/FormPage\";\nimport { LegacyForm } from \"~/components/FormPaperLayout/LegacyForm\";\nimport Markdown from \"~/components/Markdown\";\nimport ExternalLink from \"~/components/Navigation/ExternalLink/index\";\nimport { OverflowMenuItems } from \"~/components/OverflowMenu/OverflowMenu\";\nimport { OverflowMenuConverterVNext } from \"~/components/OverflowMenu/OverflowMenuConverterVNext\";\nimport { PageContent } from \"~/components/PageContent/PageContent\";\nimport { PageLoading } from \"~/components/PageContent/PageLoading\";\nimport { isAllowed } from \"~/components/PermissionCheck/PermissionCheck\";\nimport TransitionAnimation from \"~/components/TransitionAnimation/TransitionAnimation\";\nimport { ExpandableFormSection, FormSectionHeading, required, Summary, Text } from \"~/components/form\";\nimport MarkdownEditor from \"~/components/form/MarkdownEditor/MarkdownEditor\";\nimport NameSummaryWithSlug from \"~/primitiveComponents/form/Slugs/NameSummaryWithSlug\";\nimport SlugEditor from \"~/primitiveComponents/form/Slugs/SlugEditor\";\nimport InternalRedirect from \"../../../../components/Navigation/InternalRedirect/InternalRedirect\";\ninterface EnvironmentModel {\n name: string;\n slug: string;\n description: string;\n useGuidedFailure: boolean;\n allowDynamicInfrastructure: boolean;\n sortOrder: number;\n extensionSettings: ExtensionSettingsValues[];\n}\nconst defaultModel: EnvironmentModel = {\n name: \"\",\n slug: \"\",\n description: \"\",\n useGuidedFailure: false,\n allowDynamicInfrastructure: false,\n sortOrder: -1,\n extensionSettings: [],\n};\ninterface EnvironmentPageProps {\n environmentId: string;\n}\ninterface StaticEnvironmentData {\n environment: EnvironmentResource;\n}\ninterface EnvironmentLayoutPageData extends StaticEnvironmentData {\n metadata: EnvironmentSettingsMetadata[];\n}\nconst EnvironmentLayoutFormPage = FormPage();\nconst Title = \"Environments\";\ntype EnvironmentPageInternalProps = {\n initialData: EnvironmentLayoutPageData;\n trackAction: AnalyticTrackedActionDispatcher;\n};\ninterface EnvironmentPageInternalState extends FormBaseComponentState {\n deleted: boolean;\n environment: EnvironmentResource;\n metadata: EnvironmentSettingsMetadata[];\n}\nexport function EnvironmentPage({ environmentId }: EnvironmentPageProps) {\n const trackAction = useAnalyticTrackedActionDispatch();\n return ( {\n const environmentData = await loadEnvironment(environmentId);\n const metadata = repository.Environments.getMetadata(environmentData.environment);\n return {\n metadata: await metadata,\n ...environmentData,\n };\n }} renderWhenLoaded={(data) => } renderAlternate={() => }/>);\n}\nconst loadEnvironment = async (environmentId: string): Promise => {\n const environment = await repository.Environments.get(environmentId);\n return {\n environment,\n };\n};\nclass EnvironmentPageInternal extends FormBaseComponent {\n constructor(props: EnvironmentPageInternalProps) {\n super(props);\n const data = props.initialData;\n this.state = {\n environment: data.environment,\n model: this.buildModel(data.environment),\n cleanModel: cloneDeep(this.buildModel(data.environment)),\n deleted: false,\n metadata: data.metadata,\n };\n }\n descriptionSummary() {\n return this.state.model.description ? Summary.summary() : Summary.placeholder(\"No description provided\");\n }\n renderOverflowActions() {\n return [\n OverflowMenuItems.dialogItem(\"Delete\", , {\n permission: Permission.EnvironmentDelete,\n environment: \"*\",\n }),\n [\n OverflowMenuItems.navItem(\"Audit Trail\", links.auditPage.generateUrl({ environments: [this.state.environment.Id] }), {\n permission: Permission.EventView,\n wildcard: true,\n }),\n ],\n ];\n }\n renderExtensionSettings() {\n return this.state.metadata.map((m) => {\n let valuesForExtension = this.state.environment.ExtensionSettings.find((e) => e.ExtensionId === m.ExtensionId);\n if (!valuesForExtension || !valuesForExtension.Values) {\n valuesForExtension = {\n ExtensionId: m.ExtensionId,\n Values: {},\n };\n this.state.model.extensionSettings.push(valuesForExtension);\n }\n return (
    \n \n {\n this.setState({\n model: this.state.model,\n });\n }}/>\n
    );\n });\n }\n render() {\n const legacyOverflowActions = this.renderOverflowActions();\n const overflowMenu = OverflowMenuConverterVNext.convertAll(legacyOverflowActions);\n return (<>\n \n \n {({ FormContent, createSaveAction }) => (\n {overflowMenu.dialogs}\n {this.state.deleted && }\n \n \n ) : Summary.placeholder(\"Please enter a name for your environment\")} help=\"A short, memorable, unique name for this environment. Example: Development.\">\n this.setModelState({ name })} label=\"Name\" validate={required(\"Please enter a environment name\")} autoFocus={true}/>\n this.setModelState({ slug })} label=\"Slug\" validate={required(\"Please enter an environment slug\")} error={this.getFieldError(\"slug\")}/>\n \n\n \n this.setModelState({ description })}/>\n \n\n \n
    \n this.setModelState({ useGuidedFailure })} note={If guided failure is enabled for an environment, Octopus Deploy will prompt for user intervention if a deployment fails in the environment.}/>\n
    \n
    \n \n
    \n this.setModelState({ allowDynamicInfrastructure })} note={\n In many deployment scenarios, infrastructure is created dynamically as part of the deployment. If dynamic infrastructure is enabled for\n an environment, deployments to this environment are allowed to create infrastructure, such as targets and accounts.\n }/>\n
    \n
    \n {this.renderExtensionSettings()}\n
    \n
    \n
    )}\n
    \n );\n }\n private handleSaveClick = async () => {\n const model = this.state.model;\n const environment: EnvironmentResource = {\n Id: this.props.initialData.environment.Id,\n Name: model.name,\n Slug: model.slug,\n Description: model.description,\n UseGuidedFailure: model.useGuidedFailure,\n AllowDynamicInfrastructure: model.allowDynamicInfrastructure,\n SortOrder: model.sortOrder,\n ExtensionSettings: model.extensionSettings,\n SpaceId: this.props.initialData.environment.SpaceId,\n Links: this.props.initialData.environment.Links,\n };\n await this.doBusyTask(async () => {\n const ev: ActionEvent = {\n action: Action.Save,\n resource: \"Environment\",\n };\n await this.props.trackAction(\"Save Environment\", ev, async () => {\n const result = await repository.Environments.save(environment);\n this.setState({\n environment: result,\n model: this.buildModel(result),\n cleanModel: this.buildModel(result),\n deleted: false,\n });\n });\n });\n };\n private buildModel(environment: EnvironmentResource): EnvironmentModel {\n const model: EnvironmentModel = {\n name: environment.Name,\n slug: environment.Slug ?? \"\",\n description: environment.Description,\n useGuidedFailure: environment.UseGuidedFailure,\n allowDynamicInfrastructure: environment.AllowDynamicInfrastructure,\n sortOrder: environment.SortOrder,\n extensionSettings: environment.ExtensionSettings,\n };\n return model;\n }\n private handleDeleteConfirm = () => {\n this.setState({\n model: cloneDeep(defaultModel),\n cleanModel: cloneDeep(defaultModel), //reset model so that dirty state doesn't prevent navigation\n deleted: true,\n });\n return true;\n };\n private getPageActions(): PageAction[] {\n return [\n {\n type: \"navigate\",\n path: links.newDeploymentTargetWithEnvironmentPage.generateUrl({ spaceId: this.state.environment.SpaceId, environmentId: this.state.environment.Id }),\n label: \"Add Deployment Target\",\n buttonType: \"secondary\",\n hasPermissions: isAllowed({ permission: Permission.MachineCreate, environment: \"*\", tenant: \"*\" }),\n },\n ];\n }\n static displayName = \"EnvironmentPageInternal\";\n}\n","import { css } from \"@emotion/css\";\nimport { borderRadius, themeTokens } from \"@octopusdeploy/design-system-tokens\";\nimport * as React from \"react\";\nexport function BorderedContent({ children }: {\n children: React.ReactNode;\n}) {\n return
    {children}
    ;\n}\nconst borderedContentStyles = css({\n border: `1px solid ${themeTokens.color.border.primary}`,\n borderRadius: borderRadius.medium,\n overflow: \"clip\",\n});\n","import * as React from \"react\";\nimport type { EndpointRegistration } from \"~/areas/infrastructure/components/MachineSettings/Endpoints/endpointRegistry\";\nimport { ChipIcon, DeploymentTargetTypeChip, MissingChip } from \"~/components/Chips\";\nimport Lookup from \"~/components/Lookup\";\nimport { MultiSelect } from \"~/components/MultiSelect/MultiSelect\";\nimport type { SelectItem } from \"~/components/VirtualListWithKeyboard/SelectItem\";\nimport type { FormFieldProps } from \"~/components/form\";\ninterface DeploymentTargetTypeMultiSelectProps extends FormFieldProps {\n items: EndpointRegistration[];\n label?: string | JSX.Element;\n error?: string;\n accessibleName?: string;\n}\nconst DeploymentTargetTypeTypedMultiSelect = MultiSelect();\nconst DeploymentTargetTypeMultiSelect: React.FC = (props) => {\n const { onChange, items, ...otherProps } = props;\n const selectItems = items.map((registration) => ({\n Id: registration.key,\n Name: registration.name,\n }));\n const chipRenderer = (r: SelectItem, onRequestDelete: () => void) => {\n return ( element.Id} render={(item: SelectItem) => {\n return ;\n }} renderFallback={}/>);\n };\n return onChange(value)} {...otherProps}/>;\n};\nDeploymentTargetTypeMultiSelect.displayName = \"DeploymentTargetTypeMultiSelect\"\nexport default DeploymentTargetTypeMultiSelect;\n","/* eslint-disable @typescript-eslint/consistent-type-assertions */\nimport type { MachineModelHealthStatusResource, MachineModelHealthStatus } from \"@octopusdeploy/octopus-server-client\";\nimport * as React from \"react\";\nimport { MachineModelHealthStatusChip, MissingChip, ChipIcon } from \"~/components/Chips\";\nimport { MultiSelect } from \"~/components/MultiSelect/MultiSelect\";\nimport type { SelectItem } from \"~/components/VirtualListWithKeyboard/SelectItem\";\nimport type { FormFieldProps } from \"~/components/form\";\nimport Lookup from \"../Lookup\";\ninterface MachineModelHealthStatusMultiSelectProps extends FormFieldProps {\n items: MachineModelHealthStatusResource[];\n label?: string | JSX.Element;\n error?: string;\n accessibleName?: string;\n}\nconst MachineModelHealthStatusTypedMultiSelect = MultiSelect();\nexport const MachineModelHealthStatusMultiSelect: React.FC = (props) => {\n const { onChange, ...otherProps } = props;\n const chipRenderer = (r: MachineModelHealthStatusResource | SelectItem, onRequestDelete: () => void) => {\n return ( element.Id} render={(item) => } renderFallback={}/>);\n };\n return onChange(value as MachineModelHealthStatus[])} {...otherProps}/>;\n};\nMachineModelHealthStatusMultiSelect.displayName = \"MachineModelHealthStatusMultiSelect\"\n","import * as React from \"react\";\nimport { ShellNameChip } from \"~/components/Chips\";\nimport { MultiSelect } from \"~/components/MultiSelect/MultiSelect\";\nimport type { SelectItem } from \"~/components/VirtualListWithKeyboard/SelectItem\";\nimport type { FormFieldProps } from \"~/components/form\";\ninterface ShellNameMultiSelectProps extends FormFieldProps {\n items: string[];\n openOnFocus?: boolean;\n autoFocus?: boolean;\n label?: string | JSX.Element;\n accessibleName?: string;\n error?: string;\n hideFloatingLabel?: boolean;\n validate?(value: string[]): string;\n}\nconst ShellNameTypedMultiSelect = MultiSelect();\nexport const ShellNameMultiSelect: React.FC = (props) => {\n const chipRenderer = (r: SelectItem, onRequestDelete: () => void) => {\n return ;\n };\n return ( ({ Id: i, Name: i }))} fieldName=\"CLI/shell\" label={props.label} renderChip={chipRenderer} value={props.value} onChange={props.onChange} error={props.error} openOnFocus={props.openOnFocus} autoFocus={props.autoFocus} hideFloatingLabel={props.hideFloatingLabel} accessibleName={props.accessibleName}/>);\n};\nShellNameMultiSelect.displayName = \"ShellNameMultiSelect\"\n","import { useDebouncedCallback } from \"@octopusdeploy/design-system-components\";\nimport * as React from \"react\";\nimport { useEffect, useState } from \"react\";\nexport function useDebouncedExternalState(externalValue: T, changeExternalValue: (value: T) => void, delay: number): [\n T,\n (val: T) => void\n] {\n const [internalValue, setInternalValue] = useState(externalValue);\n const debouncedValueChange = useDebouncedCallback(() => changeExternalValue(internalValue), delay);\n useEffect(() => {\n setInternalValue(externalValue);\n }, [externalValue]);\n const handleChange = React.useCallback((newValue: T) => {\n setInternalValue(newValue);\n debouncedValueChange();\n }, [debouncedValueChange]);\n return [internalValue, handleChange];\n}\n","/* eslint-disable @typescript-eslint/consistent-type-assertions */\nimport type { MachineModelHealthStatus, MachineModelHealthStatusResource } from \"@octopusdeploy/octopus-server-client\";\nimport { MachineModelHealthStatusValues } from \"@octopusdeploy/octopus-server-client\";\nimport { each } from \"lodash\";\nexport default class MachineHealthStatusHelper {\n public static getFriendlyName(status: MachineModelHealthStatus) {\n if (status === MachineModelHealthStatusValues.Healthy) {\n return \"Healthy\";\n }\n else if (status === MachineModelHealthStatusValues.Unavailable) {\n return \"Unavailable\";\n }\n else if (status === MachineModelHealthStatusValues.Unknown) {\n return \"Unknown\";\n }\n else if (status === MachineModelHealthStatusValues.HasWarnings) {\n return \"Healthy with warnings\";\n }\n else if (status === MachineModelHealthStatusValues.Unhealthy) {\n return \"Unhealthy\";\n }\n return status;\n }\n public static getMachineModelHealthStatusResources(): MachineModelHealthStatusResource[] {\n // Could hardcode this, but if we add other enums, this future proofs it.\n const statuses: MachineModelHealthStatusResource[] = [];\n const objValues = Object.keys(MachineModelHealthStatusValues).map((k) => MachineModelHealthStatusValues[k as MachineModelHealthStatus]);\n const names = objValues.filter((v) => typeof v === \"string\") as string[];\n each(names, (statusText) => {\n const statusEnum = statusText as MachineModelHealthStatus;\n const name = MachineHealthStatusHelper.getFriendlyName(statusEnum);\n const status: MachineModelHealthStatusResource = {\n Id: statusEnum,\n Name: name,\n };\n statuses.push(status);\n });\n return statuses;\n }\n}\n","import MachineHealthStatusHelper from \"./MachineHealthStatusHelper\";\nexport default MachineHealthStatusHelper;\n","import { ActionButton, ActionButtonType, Callout } from \"@octopusdeploy/design-system-components\";\nimport React from \"react\";\nimport { repository } from \"~/clientInstance\";\nimport ActionList from \"~/components/ActionList\";\nimport type { DoBusyTask } from \"~/components/DataBaseComponent/DataBaseComponent\";\nimport ConfirmationDialog from \"~/components/Dialog/ConfirmationDialog\";\nimport Section from \"~/components/Section\";\ninterface ConfirmTentacleUpgradePanelState {\n showUpgradeAllTentaclesConfirmation: boolean;\n showUpgrade: boolean;\n}\ninterface ConfirmTentacleUpgradePanelProps {\n doBusyTask: DoBusyTask;\n onTentacleUpgradeComplete(): void;\n}\nexport class ConfirmTentacleUpgradePanel extends React.Component {\n private titleForUpgradeTentacles = \"Upgrade all Tentacles\";\n private localStorageKeyForIgnoreUpgradeVersion = \"ignoreUpgradeVersiona\";\n constructor(props: ConfirmTentacleUpgradePanelProps) {\n super(props);\n const octopusVersion = repository.getServerInformation().version;\n this.state = {\n showUpgradeAllTentaclesConfirmation: false,\n showUpgrade: localStorage.getItem(this.localStorageKeyForIgnoreUpgradeVersion) !== octopusVersion,\n };\n }\n render() {\n return (this.state.showUpgrade && (\n
    \n \n

    One or more Tentacles are running old versions of the Tentacle agent and can be upgraded. Proceeding will upgrade all targets and workers.

    \n this.setState({ showUpgradeAllTentaclesConfirmation: true })}/>,\n this.dismissTentacleUpgrade()}/>,\n ]}/>\n
    \n
    \n this.setState({ showUpgradeAllTentaclesConfirmation: false })} onContinueClick={() => this.performTentacleUpgrade()}>\n
    \n Please note: This is a blocking task and will prevent deployments during the upgrade.\n
    \n
    \n Are you sure?\n
    \n
    \n
    ));\n }\n private async performTentacleUpgrade() {\n return this.props.doBusyTask(async () => {\n await repository.Machines.upgradeAllTentacles();\n this.props.onTentacleUpgradeComplete();\n });\n }\n private dismissTentacleUpgrade() {\n const octopusVersion = repository.getServerInformation().version;\n localStorage.setItem(this.localStorageKeyForIgnoreUpgradeVersion, octopusVersion);\n this.setState({ showUpgrade: false });\n }\n static displayName = \"ConfirmTentacleUpgradePanel\";\n}\nexport default ConfirmTentacleUpgradePanel;\n","import type { EnvironmentResource } from \"@octopusdeploy/octopus-server-client\";\nimport { Permission } from \"@octopusdeploy/octopus-server-client\";\nimport * as React from \"react\";\nimport type { ActionEvent, AnalyticActionDispatcher, AnalyticTrackedActionDispatcher } from \"~/analytics/Analytics\";\nimport { Action, useAnalyticActionDispatch, useAnalyticTrackedActionDispatch } from \"~/analytics/Analytics\";\nimport { repository } from \"~/clientInstance\";\nimport type { DataBaseComponentState } from \"~/components/DataBaseComponent\";\nimport { DataBaseComponent } from \"~/components/DataBaseComponent/DataBaseComponent\";\nimport SaveDialogLayout from \"~/components/DialogLayout/SaveDialogLayout\";\nimport { required, Text, Note } from \"~/components/form\";\ninterface AddEnvironmentsDialogContentProps {\n saveDone: (environment: EnvironmentResource) => Promise;\n}\ninterface AddEnvironmentsDialogContentPropsInternal extends AddEnvironmentsDialogContentProps {\n dispatchAction: AnalyticActionDispatcher;\n trackAction: AnalyticTrackedActionDispatcher;\n}\ninterface AddEnvironmentsDialogContentState extends DataBaseComponentState {\n name: string;\n description: string;\n useGuidedFailure: boolean;\n newEnvironmentId: string;\n}\nclass AddEnvironmentsDialogContent extends DataBaseComponent {\n constructor(props: AddEnvironmentsDialogContentPropsInternal) {\n super(props);\n this.state = {\n name: \"\",\n description: \"\",\n useGuidedFailure: false,\n newEnvironmentId: \"\",\n };\n }\n async save() {\n return this.doBusyTask(async () => {\n const ev: ActionEvent = {\n action: Action.Save,\n resource: \"Environment\",\n };\n await this.props.trackAction(\"Save Environment\", ev, async () => {\n const result = await repository.Environments.create({\n Name: this.state.name,\n Description: this.state.description,\n UseGuidedFailure: this.state.useGuidedFailure,\n AllowDynamicInfrastructure: true,\n SortOrder: -1, // API automatically assigns this value if <= 0.\n ExtensionSettings: [],\n }, {});\n this.setState({\n newEnvironmentId: result.Id,\n });\n await this.props.saveDone(result);\n });\n });\n }\n render() {\n return ( this.save()} onCancelClick={() => {\n this.props.dispatchAction(\"Cancel Adding Environment\", { resource: \"Environment\", action: Action.Cancel });\n return true; // Return true so the dialog will auto-close still.\n }}>\n \n \n Examples include:{\" \"}\n this.setEnvironmentName(e, \"Development\")}>\n Development\n \n ,\n this.setEnvironmentName(e, \"Test\")}>\n {\" \"}\n Test\n {\" \"}\n and\n this.setEnvironmentName(e, \"Production\")}>\n {\" \"}\n Production\n \n \n );\n }\n private setEnvironmentName(e: React.MouseEvent, name: string) {\n e.preventDefault();\n this.setState({ name });\n }\n private handleNameChange = (value: string) => {\n this.setState({ name: value });\n };\n static displayName = \"AddEnvironmentsDialogContent\";\n}\nexport function AddEnvironmentsDialog(props: AddEnvironmentsDialogContentProps) {\n const dispatchAction = useAnalyticActionDispatch();\n const trackAction = useAnalyticTrackedActionDispatch();\n return ;\n}\n","/* eslint-disable @typescript-eslint/consistent-type-assertions */\nimport { Repository, MachineModelHealthStatusValues } from \"@octopusdeploy/octopus-server-client\";\nimport type { ListMachinesArgs, ResourceCollection, MachineResource, PagingCollection, MachineModelHealthStatus } from \"@octopusdeploy/octopus-server-client\";\nimport { each } from \"lodash\";\nimport type { EnvironmentSummaryFilter } from \"../EnvironmentsLayout/EnvironmentSummaryFilter\";\nimport type { HealthStatusRecord } from \"./BaseAllMachinesSummary\";\nexport interface BaseInfrastructureFilter {\n isDisabled: boolean | undefined;\n healthStatuses: MachineModelHealthStatus[];\n partialName: string | undefined;\n}\nexport const defaultBaseInfrastructureFilter: BaseInfrastructureFilter = {\n isDisabled: undefined,\n healthStatuses: [],\n partialName: undefined,\n};\nexport const createMachineHealthMap = (machinesResponse: ResourceCollection, takeSize: number, fastLookupObject: {\n [key: string]: PagingCollection;\n} = {}) => {\n const objValues = Object.keys(MachineModelHealthStatusValues).map((k: string) => MachineModelHealthStatusValues[k as keyof typeof MachineModelHealthStatusValues]);\n const names = objValues.filter((v) => typeof v === \"string\") as string[];\n each(names, (statusText) => {\n const status = statusText as MachineModelHealthStatus;\n const machines = machinesResponse.Items.filter((x) => x.HealthStatus === status);\n const machinesForHealthStatus = toPagingCollection(machines, takeSize);\n fastLookupObject[status] = machinesForHealthStatus;\n });\n // Insert \"Disabled\" separately.\n const disabledMachines = machinesResponse.Items.filter((x) => x.IsDisabled);\n const disabledMachinesResourceCollection = toPagingCollection(disabledMachines, takeSize);\n fastLookupObject[\"Disabled\"] = disabledMachinesResourceCollection;\n return fastLookupObject as HealthStatusRecord;\n};\nexport const toPagingCollection = (machines: T[], takeSize: number): PagingCollection => {\n // Emulate a paging response so this will work with our List easily.\n const totalResults = machines.length;\n const itemsPerPage = takeSize;\n const pageItems = machines.slice(0, itemsPerPage);\n return {\n TotalResults: totalResults,\n ItemsPerPage: itemsPerPage,\n Items: pageItems,\n };\n};\nexport const createMachinesListRequestArgs = (filter: EnvironmentSummaryFilter, healthStatusFilter: string | null, isDisabledFilter: boolean | undefined): ListMachinesArgs => {\n const skip = 0; // Don't skip, just increase the take size.\n const take = Repository.takeAll; // No paging, just take all, because we need to group our response data by health status.\n // Here we take the machinePartialName from the filter, as this is where we bind the worker name from the UI.\n // We map this to partialName on the returned args, as this is where the API expects the worker name for the query.\n const partialName = filter.machinePartialName;\n const shellNames = filter.shellNames ? filter.shellNames.join(\",\") : undefined;\n const applicableHealthStatusFilters = filter.healthStatuses.length > 0 ? filter.healthStatuses : healthStatusFilter ? [healthStatusFilter] : undefined;\n const healthStatuses = applicableHealthStatusFilters ? applicableHealthStatusFilters.join(\",\") : undefined;\n const isDisabled = filter.isDisabled ? filter.isDisabled : isDisabledFilter;\n const roles = filter.roles ? filter.roles.join(\",\") : undefined;\n const tenantIds = filter.tenantIds.length > 0 ? filter.tenantIds.join(\",\") : undefined;\n const tenantTags = filter.tenantTags.length > 0 ? filter.tenantTags.join(\",\") : undefined;\n const environmentIds = filter.environmentIds.length > 0 ? filter.environmentIds.join(\",\") : undefined;\n const deploymentTargetTypes = filter.deploymentTargetTypes.length > 0 ? filter.deploymentTargetTypes.join(\",\") : undefined;\n return { skip, take, partialName, shellNames, healthStatuses, isDisabled, roles, tenantIds, tenantTags, environmentIds, deploymentTargetTypes };\n};\n","/* eslint-disable @typescript-eslint/consistent-type-assertions */\nimport { Repository } from \"@octopusdeploy/octopus-server-client\";\nimport type { EnvironmentMachinesArgs, EnvironmentSummaryArgs, MachineModelHealthStatus } from \"@octopusdeploy/octopus-server-client\";\nimport type { TagIndex } from \"~/components/tenantTagsets\";\nimport type { BaseInfrastructureFilter } from \"../MachinesLayout/MachineFilter\";\nimport { defaultBaseInfrastructureFilter } from \"../MachinesLayout/MachineFilter\";\nexport interface EnvironmentSummaryFilter extends BaseInfrastructureFilter {\n environmentIds: string[];\n roles: string[];\n tenantIds: string[];\n tenantTags: string[];\n shellNames: string[];\n deploymentTargetTypes: string[];\n hideEmptyEnvironments: boolean;\n machinePartialName: string | undefined;\n}\nexport const defaultEnvironmentSummaryFilter: EnvironmentSummaryFilter = {\n ...defaultBaseInfrastructureFilter,\n environmentIds: [],\n roles: [],\n tenantIds: [],\n tenantTags: [],\n shellNames: [],\n deploymentTargetTypes: [],\n hideEmptyEnvironments: false,\n machinePartialName: undefined,\n};\nexport const createEnvironmentMachinesArgs = (filter: EnvironmentSummaryFilter, isDisabled: boolean | undefined, applicableHealthStatusFilters: MachineModelHealthStatus[]): EnvironmentMachinesArgs => {\n const skip = 0; // Don't skip, just increase the take size.\n const take = Repository.takeAll; // No paging, just take all, because we need to group our response data by health status.\n // Here we take the machinePartialName from the filter, as this is where we bind the worker name from the UI.\n // We map this to partialName on the returned args, as this is where the API expects the worker name for the query.\n const partialName = filter.machinePartialName;\n const roles = filter.roles ? filter.roles.join(\",\") : null;\n const healthStatuses = applicableHealthStatusFilters ? applicableHealthStatusFilters.join(\",\") : null;\n const tenantIds = filter.tenantIds.length > 0 ? filter.tenantIds.join(\",\") : null;\n const tenantTags = filter.tenantTags.length > 0 ? filter.tenantTags.join(\",\") : null;\n const shellNames = filter.shellNames ? filter.shellNames.join(\",\") : null;\n const deploymentTargetTypes = filter.deploymentTargetTypes ? filter.deploymentTargetTypes.join(\",\") : null;\n return { skip, take, partialName, roles, isDisabled, healthStatuses, tenantIds, tenantTags, shellNames, deploymentTargetTypes };\n};\nexport const createEnvironmentSummaryArgs = (filter: EnvironmentSummaryFilter, tagIndex?: TagIndex): Partial => {\n const args: Partial = {};\n if (filter.partialName && filter.partialName !== \"\") {\n args.partialName = filter.partialName;\n }\n if (filter.machinePartialName && filter.machinePartialName !== \"\") {\n args.machinePartialName = filter.machinePartialName;\n }\n if (filter.roles && filter.roles.length) {\n args.roles = filter.roles.join(\",\");\n }\n if (filter.shellNames && filter.shellNames.length) {\n args.shellNames = filter.shellNames.join(\",\");\n }\n if (filter.deploymentTargetTypes && filter.deploymentTargetTypes.length) {\n args.deploymentTargetTypes = filter.deploymentTargetTypes.join(\",\");\n }\n if (filter.isDisabled) {\n args.isDisabled = true;\n }\n if (filter.environmentIds && filter.environmentIds.length) {\n args.ids = filter.environmentIds.join(\",\");\n }\n if (filter.healthStatuses && filter.healthStatuses.length) {\n args.healthStatuses = filter.healthStatuses.join(\",\");\n }\n if (filter.tenantIds && filter.tenantIds.length) {\n args.tenantIds = filter.tenantIds.join(\",\");\n }\n if (filter.tenantTags && filter.tenantTags.length && tagIndex) {\n args.tenantTags = filter.tenantTags.map((name) => tagIndex[name].Id).join(\",\");\n }\n if (filter.hideEmptyEnvironments) {\n args.hideEmptyEnvironments = true;\n }\n return args;\n};\n","import type { SVGProps } from \"react\";\nimport type { IconSize } from \"./IconSize\";\nexport function getIconSize(size: IconSize = \"small\"): Pick, \"height\" | \"width\"> {\n switch (size) {\n case \"small\":\n return { width: \"1rem\", height: \"1rem\" };\n case \"medium\":\n return { width: \"1.5rem\", height: \"1.5rem\" };\n case \"large\":\n return { width: \"2rem\", height: \"2rem\" };\n }\n}\n","import React from \"react\";\nimport { getIconSize } from \"~/areas/infrastructure/components/MachineHealthStatusIcons/getIconSize\";\nimport type { IconSize } from \"./IconSize\";\nimport styles from \"./styles.module.less\";\nexport interface DisabledMachineIconProps {\n iconSize?: IconSize;\n title?: string;\n}\nexport function DisabledMachineIcon({ title = \"Disabled\", iconSize }: DisabledMachineIconProps) {\n return (\n {title}\n \n \n \n \n );\n}\n","import React from \"react\";\nimport type { IconSize } from \"~/areas/infrastructure/components/MachineHealthStatusIcons/IconSize\";\nimport { getIconSize } from \"~/areas/infrastructure/components/MachineHealthStatusIcons/getIconSize\";\nimport styles from \"./styles.module.less\";\nexport interface HasWarningsMachineIconProps {\n iconSize?: IconSize;\n title?: string;\n}\nexport function HasWarningsMachineIcon({ title = \"Has Warnings\", iconSize }: HasWarningsMachineIconProps) {\n return (\n {title}\n \n \n \n \n \n );\n}\n","import React from \"react\";\nimport type { IconSize } from \"./IconSize\";\nimport { getIconSize } from \"./getIconSize\";\nimport styles from \"./styles.module.less\";\nexport interface HealthyMachineIconProps {\n iconSize?: IconSize;\n title?: string;\n}\nexport function HealthyMachineIcon({ title = \"Healthy\", iconSize }: HealthyMachineIconProps) {\n return (\n {title}\n \n \n \n \n );\n}\n","import React from \"react\";\nimport type { IconSize } from \"./IconSize\";\nimport { getIconSize } from \"./getIconSize\";\nimport styles from \"./styles.module.less\";\nexport interface UnavailableMachineIconProps {\n iconSize?: IconSize;\n title?: string;\n}\nexport function UnavailableMachineIcon({ title = \"Unavailable\", iconSize }: UnavailableMachineIconProps) {\n return (\n {title}\n \n \n \n \n );\n}\n","import React from \"react\";\nimport type { IconSize } from \"./IconSize\";\nimport { getIconSize } from \"./getIconSize\";\nimport styles from \"./styles.module.less\";\nexport interface UnhealthyMachineIconProps {\n iconSize?: IconSize;\n title?: string;\n}\nexport function UnhealthyMachineIcon({ title = \"Unhealthy\", iconSize }: UnhealthyMachineIconProps) {\n return (\n {title}\n \n \n \n \n );\n}\n","import React from \"react\";\nimport type { IconSize } from \"./IconSize\";\nimport { getIconSize } from \"./getIconSize\";\nimport styles from \"./styles.module.less\";\nexport interface UnknownMachineIconProps {\n iconSize?: IconSize;\n title?: string;\n}\nexport function UnknownMachineIcon({ title = \"Unknown\", iconSize }: UnknownMachineIconProps) {\n return (\n {title}\n \n \n \n \n );\n}\n","import type { MachineModelHealthStatus } from \"@octopusdeploy/octopus-server-client\";\nimport { MachineModelHealthStatusValues } from \"@octopusdeploy/octopus-server-client\";\nimport * as React from \"react\";\nimport { HasWarningsMachineIcon } from \"./HasWarningsMachineIcon\";\nimport { HealthyMachineIcon } from \"./HealthyMachineIcon\";\nimport type { IconSize } from \"./IconSize\";\nimport { UnavailableMachineIcon } from \"./UnavailableMachineIcon\";\nimport { UnhealthyMachineIcon } from \"./UnhealthyMachineIcon\";\nimport { UnknownMachineIcon } from \"./UnknownMachineIcon\";\ninterface MachineHealthStatusIconProps {\n healthStatus: MachineModelHealthStatus;\n title?: string;\n iconSize?: IconSize;\n}\nexport function MachineHealthStatusIcon({ healthStatus, title, iconSize }: MachineHealthStatusIconProps) {\n switch (healthStatus) {\n case MachineModelHealthStatusValues.Healthy:\n return ;\n case MachineModelHealthStatusValues.HasWarnings:\n return ;\n case MachineModelHealthStatusValues.Unhealthy:\n return ;\n case MachineModelHealthStatusValues.Unavailable:\n return ;\n }\n return ;\n}\n","/* eslint-disable @typescript-eslint/consistent-type-assertions */\nimport { css, cx } from \"@emotion/css\";\nimport { Badge, EmptyStateNoResults, IconButton, tableStyles } from \"@octopusdeploy/design-system-components\";\nimport { borderRadius, space, text, themeTokens } from \"@octopusdeploy/design-system-tokens\";\nimport type { MachineModelHealthStatus, MachineResource, PagingCollection, ResourceCollection, TaskRestrictedTo } from \"@octopusdeploy/octopus-server-client\";\nimport { isWorkerMachine, MachineModelHealthStatusValues, Repository } from \"@octopusdeploy/octopus-server-client\";\nimport { links } from \"@octopusdeploy/portal-routes\";\nimport type { ReactNode } from \"react\";\nimport * as React from \"react\";\nimport { orderedHealthStatuses } from \"~/areas/infrastructure/InfrastructureDetails\";\nimport { DisabledMachineIcon } from \"~/areas/infrastructure/components/MachineHealthStatusIcons/DisabledMachineIcon\";\nimport { MachineHealthStatusIcon } from \"~/areas/infrastructure/components/MachineHealthStatusIcons/MachineHealthStatusIcon\";\nimport { DisabledMachineHealthSummaryLink, MachineHealthSummaryLink } from \"~/areas/infrastructure/components/MachineHealthSummaryLink/MachineHealthSummaryLink\";\nimport type { EndpointRegistration } from \"~/areas/infrastructure/components/MachineSettings/Endpoints/endpointRegistry\";\nimport { repository } from \"~/clientInstance\";\nimport type { DataBaseComponentState } from \"~/components/DataBaseComponent/DataBaseComponent\";\nimport { DataBaseComponent } from \"~/components/DataBaseComponent/DataBaseComponent\";\nimport List from \"~/components/PagingList\";\nimport { Section } from \"~/components/Section/Section\";\nimport { FormSectionHeading } from \"~/components/form\";\nimport MachineHealthStatusHelper from \"~/utils/MachineHealthStatusHelper\";\nimport type { BaseInfrastructureFilter } from \"../MachinesLayout/MachineFilter\";\nimport { createMachineHealthMap, toPagingCollection } from \"../MachinesLayout/MachineFilter\";\nimport styles from \"./style.module.less\";\ninterface SmallCloseButtonProps {\n onClose?: (event: React.MouseEvent) => void;\n}\nexport const SmallCloseButton: React.SFC = (props) => {\n //TODO: consider using a small icon size here when it's supported\n return ;\n};\nSmallCloseButton.displayName = \"SmallCloseButton\"\nclass MachinesList extends List {\n}\nexport interface BaseAllMachinesSummaryProps {\n showV2Page: boolean;\n filter: Filter;\n}\nexport type HealthStatusRecord = Record>;\nexport interface BaseAllMachinesSummaryState extends DataBaseComponentState {\n machinesResponse: PagingCollection;\n machineHealthStatusFastLookup: HealthStatusRecord;\n currentPageIndex: number; // This has a custom endpoint, so we manage our own paging implementation in List/onLoadMore.\n expanded: boolean; // Need to know if we're currently expanded so we can choose to reload when the filter changes or not.\n healthStatusFilter: string;\n isDisabledFilter: boolean | undefined;\n redirectToTaskId?: string;\n redirectToTasks: boolean;\n endpointRegistrations: EndpointRegistration[];\n}\nabstract class BaseAllMachinesSummary, Filter extends BaseInfrastructureFilter, State extends BaseAllMachinesSummaryState> extends DataBaseComponent {\n protected machineListTakeSize = Repository.takeDefaultPageSize;\n protected commonInitialState = {\n currentPageIndex: 0,\n expanded: true,\n healthStatusFilter: \"\",\n isDisabledFilter: undefined,\n };\n constructor(props: Props) {\n super(props);\n }\n protected abstract loadData(): Promise;\n protected abstract renderMachine(machine: TResourceType, needsUpgrading?: boolean): ReactNode;\n protected abstract renderTableHeader(): ReactNode;\n protected reloadDataAndCurrentPageIndex() {\n this.setState({ currentPageIndex: 0 }, async () => {\n await this.doBusyTask(async () => {\n await this.loadData();\n });\n });\n }\n protected async performHealthCheck(taskRestrictedTo: TaskRestrictedTo, machineIds: Set) {\n return this.doBusyTask(async () => {\n const task = await repository.Tasks.createHealthCheckTaskRestrictedTo(taskRestrictedTo, Array.from(machineIds.values()));\n this.setState({ redirectToTaskId: task.Id });\n });\n }\n protected async performWorkerUpgrade() {\n return this.doBusyTask(async () => {\n await repository.Machines.upgradeAllWorkers();\n this.setState({ redirectToTasks: true });\n });\n }\n protected async performTargetUpgrade() {\n return this.doBusyTask(async () => {\n await repository.Machines.upgradeAllTargets();\n this.setState({ redirectToTasks: true });\n });\n }\n protected async performCalamariUpgradeOnTargets(machineIds: string[]) {\n return this.doBusyTask(async () => {\n const task = await repository.Tasks.createUpdateCalamariOnTargetsTask(machineIds);\n this.setState({ redirectToTaskId: task.Id });\n });\n }\n protected async performCalamariUpgradeOnWorkers(machineIds: string[]) {\n return this.doBusyTask(async () => {\n const task = await repository.Tasks.createUpdateCalamariOnWorkersTask(machineIds);\n this.setState({ redirectToTaskId: task.Id });\n });\n }\n protected renderMachinesList(allMachines: TResourceType[], machineIdsForTentacleUpgrade: string[], machineIdsForCalamariUpgrade: string[]) {\n const componentKey = \"allMachines\";\n return
    {this.state.expanded && this.state.machinesResponse &&
    {this.renderMachinesListGroupedByHealthStatus(allMachines, machineIdsForTentacleUpgrade, machineIdsForCalamariUpgrade)}
    }
    ;\n }\n protected renderMachinesListGroupedByHealthStatus(allMachines: TResourceType[], machineIdsForTentacleUpgrade: string[], machineIdsForCalamariUpgrade: string[]) {\n if (allMachines.length === 0) {\n return (
    \n \n
    );\n }\n let machinesNeedUpgrading: string[] = [];\n if (machineIdsForCalamariUpgrade) {\n machinesNeedUpgrading = machinesNeedUpgrading.concat(machineIdsForCalamariUpgrade);\n }\n if (machineIdsForTentacleUpgrade) {\n machinesNeedUpgrading = machinesNeedUpgrading.concat(machineIdsForTentacleUpgrade);\n }\n if (this.props.showV2Page) {\n return this.renderV2Page(allMachines, machinesNeedUpgrading);\n }\n return (
    \n {orderedHealthStatuses.map((status) => this.renderHealthStatusSectionHeading(status, allMachines, machinesNeedUpgrading))}\n {this.renderDisabledSectionHeading(allMachines)}\n
    );\n }\n protected renderV2Page(allMachines: TResourceType[], machinesNeedUpgrading: string[]) {\n return (
    \n \n {this.renderTableHeader()}\n \n {orderedHealthStatuses.map((status) => this.renderV2SectionByStatus(status, machinesNeedUpgrading))}\n {this.renderDisabledMachinesV2(allMachines.filter((m) => m.IsDisabled), machinesNeedUpgrading)}\n \n
    \n
    );\n }\n protected renderV2SectionByStatus(status: MachineModelHealthStatus, machinesNeedUpgrading: string[]) {\n const machinesForThisStatus = this.state.machineHealthStatusFastLookup[status].Items.filter((m) => !m.IsDisabled);\n const machineCount = machinesForThisStatus.length;\n return (<>\n {machineCount > 0 && (\n \n
    \n {MachineHealthStatusHelper.getFriendlyName(status)}\n \n
    {\" \"}\n \n )}\n {machinesForThisStatus.map((item) => this.renderMachine(item, machinesNeedUpgrading.includes(item.Id)))}\n );\n }\n protected renderDisabledMachinesV2(disabledMachines: TResourceType[], machinesNeedUpgrading: string[]) {\n const machineCount = disabledMachines.length;\n return (<>\n {machineCount > 0 && (\n \n
    \n Disabled \n
    {\" \"}\n \n )}\n {disabledMachines.map((item) => this.renderMachine(item, machinesNeedUpgrading.includes(item.Id)))}\n );\n }\n protected renderHealthStatusSectionHeading(status: MachineModelHealthStatus, allMachines: TResourceType[], machineIdsTobeUpgraded: string[]): React.ReactElement | null {\n let machinesByHealthStatus = allMachines.filter((x) => x.HealthStatus === status);\n if (status === MachineModelHealthStatusValues.Unknown) {\n machinesByHealthStatus = machinesByHealthStatus.filter((x) => !x.IsDisabled);\n }\n const machinesTitle = (
    \n
    \n \n
    \n
    {MachineHealthStatusHelper.getFriendlyName(status)}
    \n
    ({machinesByHealthStatus.length})
    \n
    );\n const componentKey = status;\n return machinesByHealthStatus.length > 0 ? (
    \n \n this.renderMachine(item, machineIdsTobeUpgraded.includes(item.Id))} onRowRedirectUrl={(machine: TResourceType) => isWorkerMachine(machine)\n ? links.workerMachineSettingsPage.generateUrl({ spaceId: machine.SpaceId, machineId: machine.Id })\n : links.deploymentTargetSettingsPage.generateUrl({\n spaceId: machine.SpaceId,\n machineId: machine.Id,\n })} onLoadMore={async () => {\n const newTakeSize = this.getBaseState((state) => state.machineHealthStatusFastLookup[componentKey].ItemsPerPage + this.machineListTakeSize);\n const machineHealthStatusFastLookup = this.getBaseState((state) => state.machineHealthStatusFastLookup);\n const response = this.getBaseState((state) => state.machinesResponse);\n const filteredMachines = response.Items.filter((x) => x.HealthStatus === status);\n const machinesForHealthStatus = toPagingCollection(filteredMachines, newTakeSize);\n machineHealthStatusFastLookup[componentKey] = machinesForHealthStatus;\n this.setState({\n machineHealthStatusFastLookup,\n });\n }}/>\n
    ) : null;\n }\n protected renderDisabledSectionHeading(allMachines: TResourceType[]): React.ReactElement | null {\n const disabledMachines = allMachines.filter((x) => x.IsDisabled);\n const disabledMachinesTitle = (
    \n
    \n \n
    \n
    Disabled
    \n
    ({disabledMachines.length})
    \n
    );\n const componentKey = \"Disabled\";\n return disabledMachines.length > 0 ? (
    \n \n key={componentKey} initialData={this.state.machineHealthStatusFastLookup[componentKey]} onRow={(item: TResourceType) => this.renderMachine(item)} onRowRedirectUrl={(machine: TResourceType) => isWorkerMachine(machine) ? links.workerMachineSettingsPage.generateUrl({ spaceId: machine.SpaceId, machineId: machine.Id }) : links.deploymentTargetSettingsPage.generateUrl({ spaceId: machine.SpaceId, machineId: machine.Id })} onLoadMore={async () => {\n const newTakeSize = this.getBaseState((state) => state.machineHealthStatusFastLookup[componentKey].ItemsPerPage + this.machineListTakeSize);\n const machineHealthStatusFastLookup = this.getBaseState((state) => state.machineHealthStatusFastLookup);\n const response = this.getBaseState((state) => state.machinesResponse);\n const filteredMachines = response.Items.filter((x) => x.IsDisabled);\n const machinesForHealthStatus = toPagingCollection(filteredMachines, newTakeSize);\n machineHealthStatusFastLookup[componentKey] = machinesForHealthStatus;\n this.setState({\n machineHealthStatusFastLookup,\n });\n }}/>\n
    ) : null;\n }\n handleHealthSummaryLinkSelect = (e: React.MouseEvent, healthStatus: MachineModelHealthStatus) => {\n if (this.state.expanded) {\n e.preventDefault();\n e.stopPropagation(); //prevent clicking the link toggling the panel/expander.\n }\n // Clear any disabled filters when a healthStatus filter is clicked. You can't chain inline disabled and healthStatus\n // filters together because they use different and/or logic at the API and it causes UI confusion.\n this.setState({\n healthStatusFilter: healthStatus,\n isDisabledFilter: undefined,\n }, () => {\n if (this.state.expanded) {\n this.reloadDataAndCurrentPageIndex();\n }\n });\n };\n handleClearHealthSummaryFilter = () => {\n this.setState({ healthStatusFilter: \"\" }, () => {\n if (this.state.expanded) {\n this.reloadDataAndCurrentPageIndex();\n }\n });\n };\n protected renderMachineSummaryLinks(machines: TResourceType[], healthStatus: MachineModelHealthStatus) {\n return ( `${count.toLocaleString()} ${friendlyName}`} count={machines.filter((machine) => !machine.IsDisabled && machine.HealthStatus === healthStatus).length} allowSelection={!(this.props.filter.healthStatuses && this.props.filter.healthStatuses.length > 0)} isSelected={this.state.healthStatusFilter === healthStatus}/>);\n }\n protected handleDisabledSummaryLinkSelect = (e: React.MouseEvent) => {\n // The user may click a disabled link to open an expander (but it shouldn't ever close it).\n if (this.state.expanded) {\n e.preventDefault();\n e.stopPropagation(); //prevent clicking the link toggling the panel/expander.\n }\n // Clear any healthStatus filters when disabled is clicked. You can't chain inline disabled and healthStatus\n // filters together because they use different and/or logic at the API and it causes UI confusion.\n this.setState({\n isDisabledFilter: true,\n healthStatusFilter: \"\",\n }, () => {\n if (this.state.expanded) {\n this.reloadDataAndCurrentPageIndex();\n }\n });\n };\n protected handleClearDisabledSummaryFilter = () => {\n this.setState({ isDisabledFilter: undefined }, () => {\n if (this.state.expanded) {\n this.reloadDataAndCurrentPageIndex();\n }\n });\n };\n protected renderMachineDisabledSummaryLinks(machines: TResourceType[]) {\n return ( machine.IsDisabled).length} allowSelection={!this.props.filter.isDisabled} isSelected={this.state.isDisabledFilter === true}/>);\n }\n protected setMachineResponseState(machinesResponse: ResourceCollection) {\n const machineHealthStatusFastLookup = this.assembleHealthStatusFastLookup(machinesResponse);\n this.setState({ machinesResponse, machineHealthStatusFastLookup });\n }\n protected assembleHealthStatusFastLookup(machinesResponse: ResourceCollection) {\n return createMachineHealthMap(machinesResponse, this.machineListTakeSize, this.state.machineHealthStatusFastLookup);\n }\n private getBaseState(accessor: (state: Readonly>) => T) {\n return accessor(this.state as BaseAllMachinesSummaryState);\n }\n static displayName = \"BaseAllMachinesSummary\";\n}\nexport default BaseAllMachinesSummary;\nconst statusRowHeadingStyles = css({\n backgroundColor: themeTokens.color.background.secondary.default,\n color: themeTokens.color.text.secondary,\n \"& td\": {\n font: text.body.bold.small,\n textTransform: \"uppercase\",\n verticalAlign: \"middle\",\n },\n});\nconst statusRowHeadingContainerStyles = css({\n display: \"flex\",\n alignItems: \"center\",\n gap: space[8],\n});\nconst chipStyles = css({\n \".MuiChip-label\": {\n paddingRight: space[8],\n paddingLeft: space[8],\n },\n});\nconst chipTextStyles = css({\n fontWeight: 600,\n});\nconst extraTableStyles = css({\n borderRadius: borderRadius.medium,\n});\n","import { ActionButton, ActionButtonType } from \"@octopusdeploy/design-system-components\";\nimport type { MachineModelHealthStatus } from \"@octopusdeploy/octopus-server-client\";\nimport * as React from \"react\";\nimport { DisabledMachineIcon } from \"~/areas/infrastructure/components/MachineHealthStatusIcons/DisabledMachineIcon\";\nimport { MachineHealthStatusIcon } from \"~/areas/infrastructure/components/MachineHealthStatusIcons/MachineHealthStatusIcon\";\nimport { SmallCloseButton } from \"~/areas/infrastructure/components/MachinesLayout/BaseAllMachinesSummary\";\nimport MachineHealthStatusHelper from \"~/utils/MachineHealthStatusHelper\";\nimport styles from \"./styles.module.less\";\nexport interface MachineHealthSummaryLinkProps {\n count?: number;\n healthStatus: MachineModelHealthStatus;\n getLinkText: (status: MachineModelHealthStatus, count: number, friendlyName: string) => string;\n allowSelection: boolean;\n isSelected: boolean;\n onSelect: (e: React.MouseEvent, healthStatus: MachineModelHealthStatus) => void;\n onClearSelect?: (e: React.MouseEvent) => void;\n}\nexport function MachineHealthSummaryLink({ count, healthStatus, getLinkText, allowSelection, isSelected, onSelect, onClearSelect }: MachineHealthSummaryLinkProps) {\n if (!count || count === 0) {\n // Don't show links if there's nothing to report.\n return null;\n }\n const text = getLinkText(healthStatus, count, MachineHealthStatusHelper.getFriendlyName(healthStatus).toLowerCase());\n // If filtering health statuses from the sidebar, just show the health statuses that they've chosen to filter (and don't show them as links).\n if (!allowSelection) {\n return } text={text}/>;\n }\n return ;\n}\nexport interface DisabledMachineHealthSummaryLinkProps {\n count?: number;\n allowSelection: boolean;\n isSelected: boolean;\n onSelect: (e: React.MouseEvent) => void;\n onClearSelect?: (e: React.MouseEvent) => void;\n}\nexport function DisabledMachineHealthSummaryLink({ count, isSelected, onSelect, onClearSelect, allowSelection }: DisabledMachineHealthSummaryLinkProps) {\n if (!count || count === 0) {\n // Don't show links if there's nothing to report.\n return null;\n }\n const text = `${count.toLocaleString()} disabled`;\n if (!allowSelection) {\n return } text={text} onClearSelect={onClearSelect}/>;\n }\n return ;\n}\ninterface MachineHealthSummaryTextProps {\n icon: React.ReactNode;\n text: string;\n onClearSelect?: (e: React.MouseEvent) => void;\n}\nfunction MachineHealthSummary({ children }: React.PropsWithChildren<{}>) {\n return
    {children}
    ;\n}\nfunction MachineHealthSummaryText({ icon, text, onClearSelect }: MachineHealthSummaryTextProps) {\n return (\n {icon}\n {text}\n {onClearSelect && }\n );\n}\ninterface MachineHealthSummaryButtonProps {\n healthStatus: MachineModelHealthStatus;\n label: string;\n onSelect: (e: React.MouseEvent, healthStatus: MachineModelHealthStatus) => void;\n}\nfunction MachineHealthSummaryButton({ healthStatus, onSelect, label }: MachineHealthSummaryButtonProps) {\n const handleSelect = React.useCallback((ev: React.MouseEvent) => {\n onSelect(ev, healthStatus);\n }, [onSelect, healthStatus]);\n return } type={ActionButtonType.Ternary} label={label} onClick={handleSelect}/>;\n}\ninterface SelectableMachineHealthSummaryButtonProps {\n healthStatus: MachineModelHealthStatus;\n linkText: string;\n isSelected: boolean;\n onClearSelect?: (e: React.MouseEvent) => void;\n onSelect: (e: React.MouseEvent, status: MachineModelHealthStatus) => void;\n}\nfunction SelectableMachineHealthSummaryButton({ healthStatus, isSelected, linkText, onClearSelect, onSelect }: SelectableMachineHealthSummaryButtonProps) {\n return isSelected ? (} onClearSelect={onClearSelect}/>) : ();\n}\nfunction DisabledMachineHealthSummaryButton({ label, onSelect }: {\n label: string;\n onSelect: React.MouseEventHandler;\n}) {\n return } type={ActionButtonType.Ternary} label={label} onClick={onSelect}/>;\n}\ninterface DisabledSelectableMachineHealthSummaryButtonProps {\n linkText: string;\n isSelected: boolean;\n onClearSelect?: (e: React.MouseEvent) => void;\n onSelect: (e: React.MouseEvent) => void;\n}\nfunction DisabledSelectableMachineHealthSummaryButton({ isSelected, linkText, onClearSelect, onSelect }: DisabledSelectableMachineHealthSummaryButtonProps) {\n return isSelected ? } onClearSelect={onClearSelect}/> : ;\n}\n","/* eslint-disable @typescript-eslint/init-declarations */\n/* eslint-disable @typescript-eslint/consistent-type-assertions */\nimport { css } from \"@emotion/css\";\nimport { ActionButton, ActionButtonType } from \"@octopusdeploy/design-system-components\";\nimport { ArrowRefreshIcon, UnavailableIcon } from \"@octopusdeploy/design-system-icons\";\nimport { space, text, themeTokens, borderRadius } from \"@octopusdeploy/design-system-tokens\";\nimport type { AzureCloudServiceEndpointResource, AzureWebAppEndpointResource, CommunicationStyle, DeploymentTargetResource, EndpointResource, EnvironmentResource, KubernetesTentacleEndpointResource, KubernetesEndpointResource, ListeningTentacleEndpointResource, MachineResource, OfflineDropEndpointResource, PollingTentacleEndpointResource, SshEndpointResource, TenantResource, WorkerMachineResource, WorkerPoolResource, } from \"@octopusdeploy/octopus-server-client\";\nimport { EndpointsHelper, isDeploymentTarget, isStepPackageEndpointResource, isWorkerMachine, OfflineDropDestinationType, WorkerPoolType } from \"@octopusdeploy/octopus-server-client\";\nimport { links } from \"@octopusdeploy/portal-routes\";\nimport pluralize from \"pluralize\";\nimport * as React from \"react\";\nimport { DisabledMachineIcon } from \"~/areas/infrastructure/components/MachineHealthStatusIcons/DisabledMachineIcon\";\nimport { MachineHealthStatusIcon } from \"~/areas/infrastructure/components/MachineHealthStatusIcons/MachineHealthStatusIcon\";\nimport type { EndpointLogoProps, EndpointRegistration } from \"~/areas/infrastructure/components/MachineSettings/Endpoints/endpointRegistry\";\nimport { BuiltInEndpointLogo, createStepPackageEndpointLogo } from \"~/areas/infrastructure/components/MachineSettings/Endpoints/endpointRegistry\";\nimport { BaseComponent } from \"~/components/BaseComponent/BaseComponent\";\nimport Chip from \"~/components/Chips/Chip\";\nimport { EnvironmentChip, environmentChipList, RoleChip, TenantChip, tenantChipList, WorkerPoolChip, workerPoolChipList } from \"~/components/Chips/index\";\nimport { useSpaceAwareNavigation } from \"~/components/Navigation/SpaceAwareNavigation/useSpaceAwareNavigation\";\nimport Tag from \"~/components/Tag\";\nimport { withTheme } from \"~/components/Theme\";\nimport type { TagIndex } from \"~/components/tenantTagsets\";\nimport styles from \"./style.module.less\";\ninterface MachineRowProps {\n machine: MachineResource;\n tenants?: TenantResource[];\n tagIndex?: TagIndex;\n environments?: EnvironmentResource[];\n workerPools?: WorkerPoolResource[];\n needsUpgrading?: boolean;\n registrations: EndpointRegistration[];\n showV2Page?: boolean;\n}\ntype MachineRowInternalProps = MachineRowProps & {\n navigate: (to: string) => void;\n};\ninterface MachineRowState {\n showAllChips: boolean;\n tenants: TenantResource[];\n tagIndex: TagIndex;\n environments: EnvironmentResource[];\n workerPools: WorkerPoolResource[];\n}\nconst noEndpointSummary = (): React.ReactNode => null;\nconst endpointSummaries: {\n [index in CommunicationStyle]: (resource: EndpointResource) => React.ReactNode;\n} = {\n TentaclePassive: ((endpoint: ListeningTentacleEndpointResource) => endpoint.Uri) as (endpoint: EndpointResource) => React.ReactNode,\n TentacleActive: ((endpoint: PollingTentacleEndpointResource) => endpoint.Uri) as (endpoint: EndpointResource) => React.ReactNode,\n AzureWebApp: ((endpoint: AzureWebAppEndpointResource) => {\n const slotName = endpoint.WebAppSlotName ? \"/\" + endpoint.WebAppSlotName : \"\";\n return endpoint.WebAppName + slotName;\n }) as (endpoint: EndpointResource) => React.ReactNode,\n None: noEndpointSummary,\n AzureCloudService: ((endpoint: AzureCloudServiceEndpointResource) => endpoint.CloudServiceName) as (endpoint: EndpointResource) => React.ReactNode,\n OfflineDrop: ((endpoint: OfflineDropEndpointResource) => {\n return endpoint.Destination.DestinationType === OfflineDropDestinationType.FileSystem ? endpoint.Destination.DropFolderPath : \"Octopus Artifact\";\n }) as (endpoint: EndpointResource) => React.ReactNode,\n Ssh: ((endpoint: SshEndpointResource) => endpoint.Uri) as (endpoint: EndpointResource) => React.ReactNode,\n Kubernetes: ((endpoint: KubernetesEndpointResource) => endpoint.ClusterUrl) as (endpoint: EndpointResource) => React.ReactNode,\n KubernetesTentacle: ((endpoint: KubernetesTentacleEndpointResource) => endpoint.TentacleEndpointConfiguration.Uri) as (endpoint: EndpointResource) => React.ReactNode,\n AzureServiceFabricCluster: noEndpointSummary,\n StepPackage: noEndpointSummary,\n};\nclass MachineRowInternal extends BaseComponent {\n private machineChipsDisplayThreshold = 3; //Show 3 chips max, then \"show all\" link.\n constructor(props: MachineRowInternalProps) {\n super(props);\n this.state = {\n showAllChips: false,\n tenants: props.tenants || [],\n tagIndex: props.tagIndex || {},\n environments: props.environments || [],\n workerPools: props.workerPools || [],\n };\n }\n render() {\n const machine = this.props.machine;\n const RegistrationLogo = isStepPackageEndpointResource(machine.Endpoint) ? createStepPackageEndpointLogo(machine.Endpoint) : BuiltInEndpointLogo;\n if (this.props.showV2Page) {\n if (isWorkerMachine(machine)) {\n return this.renderWorkerRow(machine, RegistrationLogo);\n }\n else if (isDeploymentTarget(machine)) {\n return this.renderDeploymentTargetRow(machine, RegistrationLogo);\n }\n }\n return (
    \n \n
    \n
    {machine.Name}
    \n
    {EndpointsHelper.getFriendlyName(machine)}
    \n
    {this.getSummaryForEndpoint(machine.Endpoint)}
    \n
    \n
    {machine.IsDisabled ? : }
    \n
    {this.renderMachineChips(machine)}
    \n {this.props.needsUpgrading ? (
    \n Upgrade available\n \n
    ) : (\"\")}\n
    );\n }\n private renderWorkerRow(worker: WorkerMachineResource, RegistrationLogo: React.ComponentClass | React.FunctionComponent) {\n const redirectToPage = (target: WorkerMachineResource) => () => {\n const link = links.workerMachineSettingsPage.generateUrl({\n spaceId: target.SpaceId,\n machineId: target.Id,\n });\n this.props.navigate(link.resolveWithSpaceId(target.SpaceId));\n };\n return (\n \n
    \n \n
    \n
    {worker.Name}
    \n
    {EndpointsHelper.getFriendlyName(worker)}
    \n
    {this.getSummaryForEndpoint(worker.Endpoint)}
    \n {this.props.needsUpgrading && (
    \n \n Upgrade available\n
    )}\n
    \n
    \n \n {worker.IsDisabled ? : }\n {this.renderWorkerPoolListV2(worker.WorkerPoolIds)}\n );\n }\n private renderDeploymentTargetRow(target: DeploymentTargetResource, RegistrationLogo: React.ComponentClass | React.FunctionComponent) {\n const redirectToPage = (target: DeploymentTargetResource) => () => {\n const link = links.deploymentTargetSettingsPage.generateUrl({\n spaceId: target.SpaceId,\n machineId: target.Id,\n });\n this.props.navigate(link.resolveWithSpaceId(target.SpaceId));\n };\n return (\n \n
    \n \n
    \n
    {target.Name}
    \n
    {EndpointsHelper.getFriendlyName(target)}
    \n
    {this.getSummaryForEndpoint(target.Endpoint)}
    \n {this.props.needsUpgrading && (
    \n \n Upgrade available\n
    )}\n
    \n
    \n \n {target.IsDisabled ? : }\n {this.renderEnvironmentsListV2(target.EnvironmentIds)}\n {this.renderRolesListV2(target.Roles)}\n {target.TenantIds.length > 0 ? this.renderTenantsListV2(target.TenantIds) : }\n {target.TenantTags.length > 0 ? this.renderTenantTagsListV2(target.TenantTags) : }\n );\n }\n private renderWorkerPoolListV2(workerPoolIds: string[]) {\n if (this.state.showAllChips) {\n return this.renderWorkerPoolsList(workerPoolIds);\n }\n const workerPools = workerPoolIds.map((id) => this.state.workerPools.find((wp) => wp.Id === id));\n if (workerPools.length === 0) {\n return ;\n }\n return (<>\n {this.renderWorkerPoolsList([workerPoolIds[0]])}\n {workerPoolIds.length > 1 && ( this.setState({ showAllChips: !this.state.showAllChips })}>\n +{workerPoolIds.length - 1} {pluralize(\"worker pool\", workerPoolIds.length - 1)}\n )}\n );\n }\n private renderEnvironmentsListV2(environmentIds: string[]) {\n if (this.state.showAllChips) {\n return this.renderEnvironmentsList(environmentIds);\n }\n const environments = environmentIds.map((id) => this.state.environments.find((e) => e.Id === id));\n if (environments.length === 0) {\n return ;\n }\n return (<>\n {this.renderEnvironmentsList([environmentIds[0]])}\n {environmentIds.length > 1 && ( this.setState({ showAllChips: !this.state.showAllChips })}>\n +{environmentIds.length - 1} {pluralize(\"environment\", environmentIds.length - 1)}\n )}\n );\n }\n private renderRolesListV2(roles: string[]) {\n if (this.state.showAllChips) {\n return this.renderRolesList(roles);\n }\n if (roles.length === 0) {\n return ;\n }\n return (<>\n {this.renderRolesList(roles, 1)}\n {roles.length > 1 && ( this.setState({ showAllChips: !this.state.showAllChips })}>\n +{roles.length - 1} {pluralize(\"tag\", roles.length - 1)}\n )}\n );\n }\n private renderTenantsListV2(tenantIds: string[]) {\n if (this.state.showAllChips) {\n return tenantChipList(this.state.tenants, tenantIds);\n }\n const tenant = this.state.tenants.find((t) => t.Id === tenantIds[0]);\n if (tenant === undefined) {\n return ;\n }\n return (<>\n \n {tenantIds.length > 1 && ( this.setState({ showAllChips: !this.state.showAllChips })}>\n +{tenantIds.length - 1} {pluralize(\"tenant\", tenantIds.length - 1)}\n )}\n );\n }\n private renderTenantTagsListV2(tenantTags: string[]) {\n if (this.state.showAllChips) {\n return this.renderTenantTagsList(tenantTags);\n }\n const tags = tenantTags.map((name) => this.state.tagIndex[name]);\n if (tags.length === 0) {\n return ;\n }\n return (<>\n \n {tags.length > 1 && ( this.setState({ showAllChips: !this.state.showAllChips })}>\n +{tags.length - 1} tenant {pluralize(\"tag\", tags.length - 1)}\n )}\n );\n }\n private renderMachineChips(machine: MachineResource) {\n if (isWorkerMachine(machine)) {\n return this.renderWorkerChips(machine);\n }\n else if (isDeploymentTarget(machine)) {\n return this.renderDeploymentTargetResourceChips(machine);\n }\n }\n private renderWorkerChips(worker: WorkerMachineResource) {\n const chipThreshold = this.machineChipsDisplayThreshold;\n const includeShowHideControl = this.state.workerPools && worker.WorkerPoolIds.length >= chipThreshold;\n const chipsToDisplay = [];\n if (this.state.workerPools) {\n let environmentsChipsList: React.ReactElement | React.ReactElement[];\n if (worker.WorkerPoolIds.length >= chipThreshold && !this.state.showAllChips) {\n environmentsChipsList = ;\n }\n else {\n environmentsChipsList = this.renderWorkerPoolsList(worker.WorkerPoolIds);\n }\n chipsToDisplay.push(environmentsChipsList);\n }\n if (includeShowHideControl) {\n return (
    \n {chipsToDisplay}\n ) => this.setState({ showAllChips: !this.state.showAllChips })}/>\n
    );\n }\n return chipsToDisplay;\n }\n private renderDeploymentTargetResourceChips(deploymentTarget: DeploymentTargetResource) {\n const chipThreshold = this.machineChipsDisplayThreshold;\n const tags = deploymentTarget.TenantTags.map((name) => this.state.tagIndex[name]);\n const tagCount = tags.length;\n const includeShowHideControl = (this.state.environments && deploymentTarget.EnvironmentIds.length >= chipThreshold) || deploymentTarget.Roles.length >= chipThreshold || deploymentTarget.TenantIds.length >= chipThreshold || tagCount >= chipThreshold;\n const chipsToDisplay = [];\n if (this.state.environments) {\n let environmentsChipsList: React.ReactElement | React.ReactElement[];\n if (deploymentTarget.EnvironmentIds.length >= chipThreshold && !this.state.showAllChips) {\n environmentsChipsList = ;\n }\n else {\n environmentsChipsList = this.renderEnvironmentsList(deploymentTarget.EnvironmentIds);\n }\n chipsToDisplay.push(environmentsChipsList);\n }\n let roleChipsList: React.ReactElement | React.ReactElement[];\n // eslint-disable-next-line:prefer-conditional-expression\n if (deploymentTarget.Roles.length >= chipThreshold && !this.state.showAllChips) {\n roleChipsList = ;\n }\n else {\n roleChipsList = this.renderRolesList(deploymentTarget.Roles);\n }\n chipsToDisplay.push(roleChipsList);\n let tenantChipsList: React.ReactElement | React.ReactElement[];\n if (deploymentTarget.TenantIds.length >= chipThreshold && !this.state.showAllChips) {\n tenantChipsList = ;\n }\n else {\n tenantChipsList = this.renderTenantsList(deploymentTarget.TenantIds);\n }\n chipsToDisplay.push(tenantChipsList);\n let tenantTagChipsList: React.ReactElement | React.ReactElement[];\n if (tagCount >= chipThreshold && !this.state.showAllChips) {\n const tagsList = deploymentTarget.TenantTags.map((tt) => {\n const tagResource = this.state.tagIndex[tt];\n return ;\n });\n tenantTagChipsList = withTheme((theme) => (\n {`${tagCount.toLocaleString()} tags`} {tagsList}\n ));\n }\n else {\n tenantTagChipsList = this.renderTenantTagsList(deploymentTarget.TenantTags);\n }\n chipsToDisplay.push(tenantTagChipsList);\n if (includeShowHideControl) {\n return (
    \n {chipsToDisplay}\n ) => this.setState({ showAllChips: !this.state.showAllChips })}/>\n
    );\n }\n return chipsToDisplay;\n }\n private renderEnvironmentsList(environmentIds: string[]) {\n return environmentChipList(this.state.environments, environmentIds);\n }\n private renderWorkerPoolsList(workerPoolIds: string[]) {\n return workerPoolChipList(this.state.workerPools, workerPoolIds);\n }\n private renderRolesList(roles: string[], maxRolesToShow?: number) {\n if (maxRolesToShow) {\n return roles.slice(0, maxRolesToShow).map((r) => );\n }\n return roles.map((r) => );\n }\n private renderTenantsList(tenantIds: string[]) {\n return tenantChipList(this.state.tenants, tenantIds);\n }\n private renderTenantTagsList(tenantTags: string[]) {\n const tags = tenantTags.map((name) => this.state.tagIndex[name]);\n return tags.map((tag) => );\n }\n private getSummaryForEndpoint(endpoint: EndpointResource) {\n const summary = endpointSummaries[endpoint.CommunicationStyle];\n if (summary) {\n return summary(endpoint);\n }\n return null;\n }\n static displayName = \"MachineRowInternal\";\n}\nfunction MachineRow(props: MachineRowProps) {\n const { navigate } = useSpaceAwareNavigation();\n return ;\n}\nexport default MachineRow;\nconst deploymentTargetRowTitleStyles = css({\n display: \"flex\",\n flexDirection: \"row\",\n alignItems: \"center\",\n gap: space[12],\n padding: space[8],\n cursor: \"pointer\",\n borderRadius: borderRadius.small,\n border: `1px solid transparent`,\n \"&:hover\": {\n border: `1px solid ${themeTokens.color.border.selected}`,\n background: themeTokens.color.background.secondary.default,\n color: themeTokens.color.text.link.default,\n },\n});\nconst deploymentTargetRowTitleInnerStyles = css({\n display: \"flex\",\n flexDirection: \"column\",\n});\nconst deploymentTargetNameStyles = css({\n font: text.body.bold.medium,\n lineHeight: \"1rem\",\n overflow: \"hidden\",\n textOverflow: \"ellipsis\",\n wordBreak: \"break-word\",\n display: \"-webkit-box\",\n WebkitLineClamp: \"2\",\n WebkitBoxOrient: \"vertical\",\n});\nconst deploymentTargetSubTitleStyles = css({\n font: text.body.bold.xSmall,\n color: themeTokens.color.text.secondary,\n});\nconst deploymentTargetSummaryStyles = css({\n font: text.body.regular.xSmall,\n color: themeTokens.color.text.secondary,\n});\nconst noDataStyles = css({\n display: \"flex\",\n columnGap: space[6],\n font: text.body.bold.medium,\n color: themeTokens.color.text.disabled,\n alignItems: \"center\",\n padding: space[6],\n});\nconst expandStyles = css({\n cursor: \"pointer\",\n color: themeTokens.color.text.link.default,\n marginLeft: space[8],\n font: text.body.bold.xSmall,\n fontWeight: 700,\n});\ninterface NoDataProps {\n label: string;\n}\nconst machineNameColumnStyles = css({\n width: \"33%\",\n});\nconst machineStatusColumnStyles = css({\n width: \"3%\",\n minWidth: \"40px\",\n});\nconst environmentListColumnStyles = css({\n width: \"16%\",\n});\nconst tagsColumnStyles = css({\n width: \"16%\",\n});\nconst tenantsColumnStyles = css({\n width: \"16%\",\n});\nconst tenantTagsColumnStyles = css({\n width: \"16%\",\n});\nconst upgradeAvailableStyles = css({\n display: \"flex\",\n alignItems: \"center\",\n gap: space[4],\n font: text.body.bold.small,\n color: themeTokens.color.text.info,\n});\nfunction NoData({ label }: NoDataProps) {\n return (
    \n \n {label}\n
    );\n}\n","/* eslint-disable @typescript-eslint/consistent-type-assertions */\nimport { css } from \"@emotion/css\";\nimport { ExternalLink } from \"@octopusdeploy/design-system-components\";\nimport { borderRadius, space, text, themeTokens } from \"@octopusdeploy/design-system-tokens\";\nimport { Repository, MachineModelHealthStatusValues, isWorkerMachine } from \"@octopusdeploy/octopus-server-client\";\nimport type { TenantResource, MachineResource, EnvironmentSummaryResource, WorkerPoolSummaryResource, ResourceCollection, WorkerMachineResource, PagingCollection, MachineModelHealthStatus } from \"@octopusdeploy/octopus-server-client\";\nimport { links } from \"@octopusdeploy/portal-routes\";\nimport type { Dictionary } from \"lodash\";\nimport * as React from \"react\";\nimport type { ReactNode } from \"react\";\nimport { orderedHealthStatuses } from \"~/areas/infrastructure/InfrastructureDetails\";\nimport { DisabledMachineIcon } from \"~/areas/infrastructure/components/MachineHealthStatusIcons/DisabledMachineIcon\";\nimport { MachineHealthStatusIcon } from \"~/areas/infrastructure/components/MachineHealthStatusIcons/MachineHealthStatusIcon\";\nimport type { EndpointRegistration } from \"~/areas/infrastructure/components/MachineSettings/Endpoints/endpointRegistry\";\nimport type { DataBaseComponentState } from \"~/components/DataBaseComponent/DataBaseComponent\";\nimport { DataBaseComponent } from \"~/components/DataBaseComponent/DataBaseComponent\";\nimport List from \"~/components/PagingList\";\nimport { Section } from \"~/components/Section/Section\";\nimport { FormSectionHeading } from \"~/components/form\";\nimport type { TagIndex } from \"~/components/tenantTagsets\";\nimport MachineHealthStatusHelper from \"~/utils/MachineHealthStatusHelper\";\nimport MachineRow from \"../MachineRow/MachineRow\";\nimport { createMachineHealthMap, toPagingCollection } from \"../MachinesLayout/MachineFilter\";\nimport styles from \"./style.module.less\";\ninterface SmallCloseButtonProps {\n onClose: (e: React.MouseEvent) => void;\n}\nclass MachinesList extends List {\n}\nexport interface BaseMachinesSummaryProps {\n isFiltering: boolean;\n tenants: TenantResource[];\n tagIndex: TagIndex;\n}\n// TODO: Deal with the state where we have no MachinesResponse - do we even do anything here?\nexport interface BaseMachinesSummaryState extends DataBaseComponentState {\n machinesResponse: PagingCollection | null;\n machineHealthStatusFastLookup: Dictionary>;\n currentPageIndex: number; // This has a custom endpoint, so we manage our own paging implementation in List/onLoadMore.\n expanded: boolean; // Need to know if we're currently expanded so we can choose to reload when the filter changes or not.\n healthStatusFilter: string;\n isDisabledFilter: boolean | undefined;\n redirectToTaskId?: string;\n redirectToTasks: boolean;\n endpointRegistrations: EndpointRegistration[];\n}\nabstract class BaseMachinesSummary extends DataBaseComponent {\n protected machineListTakeSize = Repository.takeDefaultPageSize;\n protected abstract loadData(): Promise | void>;\n protected reloadDataAndCurrentPageIndex() {\n this.setState({ currentPageIndex: 0 }, async () => {\n await this.doBusyTask(async () => {\n await this.loadData();\n });\n });\n }\n protected renderMachinesList(summary: EnvironmentSummaryResource | WorkerPoolSummaryResource) {\n const machinesResponse: PagingCollection | null = this.state.machinesResponse;\n return
    {this.state.expanded && machinesResponse &&
    {this.renderMachinesListGroupedByHealthStatus(summary, machinesResponse)}
    }
    ;\n }\n protected assembleHealthStatusFastLookup(machinesResponse: ResourceCollection) {\n return createMachineHealthMap(machinesResponse, this.machineListTakeSize, this.state.machineHealthStatusFastLookup);\n }\n protected setMachineResponseState(machinesResponse: ResourceCollection) {\n const machineHealthStatusFastLookup = this.assembleHealthStatusFastLookup(machinesResponse);\n this.setState({ machinesResponse, machineHealthStatusFastLookup });\n }\n private renderMachine = (machine: MachineResource, needsUpgrading: boolean = false): ReactNode => {\n return ;\n };\n private renderMachinesListGroupedByHealthStatus(summary: EnvironmentSummaryResource | WorkerPoolSummaryResource, machinesResponse: PagingCollection) {\n const allMachines = machinesResponse.Items;\n if (allMachines.length === 0) {\n return
    {isEnvironmentSummary(summary) ? : }
    ;\n }\n let machinesNeedUpgrading: string[] = [];\n if (summary.MachineIdsForCalamariUpgrade) {\n machinesNeedUpgrading = machinesNeedUpgrading.concat(summary.MachineIdsForCalamariUpgrade);\n }\n if (summary.MachineIdsForTentacleUpgrade) {\n machinesNeedUpgrading = machinesNeedUpgrading.concat(summary.MachineIdsForTentacleUpgrade);\n }\n return (
    \n {orderedHealthStatuses.map((status) => this.renderHealthStatusSectionHeading(status, allMachines, machinesNeedUpgrading))}\n {this.renderDisabledSectionHeading(allMachines)}\n
    );\n }\n private renderHealthStatusSectionTitle(status: MachineModelHealthStatus, machines: MachineResource[], allMachines: MachineResource[]) {\n const title = (
    \n
    \n \n
    \n
    {MachineHealthStatusHelper.getFriendlyName(status)}
    \n
    {`(${machines.length}/${allMachines.length})`}
    \n
    );\n return ;\n }\n private renderHealthStatusSectionHeading(status: MachineModelHealthStatus, allMachines: MachineResource[], machineIdsTobeUpgraded: string[]): JSX.Element | null {\n let machines = allMachines.filter((x) => x.HealthStatus === status);\n if (status === MachineModelHealthStatusValues.Unknown) {\n machines = machines.filter((x) => !x.IsDisabled);\n }\n const componentKey = status.toString();\n return machines.length > 0 ? (
    \n {this.renderHealthStatusSectionTitle(status, machines, allMachines)}\n this.renderMachine(machine, machineIdsTobeUpgraded.includes(machine.Id))} onRowRedirectUrl={(machine: MachineResource) => {\n if (machineIdsTobeUpgraded.includes(machine.Id)) {\n return isWorkerMachine(machine)\n ? links.workerMachineConnectionPage.generateUrl({ spaceId: machine.SpaceId, machineId: machine.Id })\n : links.deploymentTargetConnectionPage.generateUrl({ spaceId: machine.SpaceId, machineId: machine.Id });\n }\n return isWorkerMachine(machine)\n ? links.workerMachineSettingsPage.generateUrl({ spaceId: machine.SpaceId, machineId: machine.Id })\n : links.deploymentTargetSettingsPage.generateUrl({ spaceId: machine.SpaceId, machineId: machine.Id });\n }} onLoadMore={async () => {\n const newTakeSize = this.getBaseState((state) => state.machineHealthStatusFastLookup[componentKey].ItemsPerPage + this.machineListTakeSize);\n const machineHealthStatusFastLookup = this.getBaseState((state) => state.machineHealthStatusFastLookup);\n const filteredMachines = allMachines.filter((x) => x.HealthStatus === status);\n const machinesForHealthStatus = toPagingCollection(filteredMachines, newTakeSize);\n machineHealthStatusFastLookup[componentKey] = machinesForHealthStatus;\n this.setState({\n machineHealthStatusFastLookup,\n });\n }}/>\n
    ) : null;\n }\n private renderDisabledSectionTitle(machines: MachineResource[]) {\n const title = (
    \n
    \n \n
    \n
    Disabled
    \n
    ({machines.length})
    \n
    );\n return ;\n }\n private renderDisabledSectionHeading(allMachines: MachineResource[]): JSX.Element | null {\n const machines = allMachines.filter((x) => x.IsDisabled);\n const componentKey = \"Disabled\";\n return machines.length > 0 ? (
    \n {this.renderDisabledSectionTitle(machines)}\n this.renderMachine(machine)} onRowRedirectUrl={(machine: MachineResource) => isWorkerMachine(machine) ? links.workerMachineSettingsPage.generateUrl({ spaceId: machine.SpaceId, machineId: machine.Id }) : links.deploymentTargetSettingsPage.generateUrl({ spaceId: machine.SpaceId, machineId: machine.Id })} onLoadMore={async () => {\n const newTakeSize = this.getBaseState((state) => state.machineHealthStatusFastLookup[componentKey].ItemsPerPage + this.machineListTakeSize);\n const machineHealthStatusFastLookup = this.getBaseState((state) => state.machineHealthStatusFastLookup);\n const filteredMachines = allMachines.filter((x) => x.IsDisabled);\n const machinesForHealthStatus = toPagingCollection(filteredMachines, newTakeSize);\n machineHealthStatusFastLookup[componentKey] = machinesForHealthStatus;\n this.setState({\n machineHealthStatusFastLookup,\n });\n }}/>\n
    ) : null;\n }\n private getBaseState = (accessor: (state: Readonly) => TResult) => {\n return accessor(this.state as BaseMachinesSummaryState);\n };\n static displayName = \"BaseMachinesSummary\";\n}\nfunction isEnvironmentSummary(summary: EnvironmentSummaryResource | WorkerPoolSummaryResource): summary is EnvironmentSummaryResource {\n return \"Environment\" in summary;\n}\ntype HelpLinkType = {\n label: string;\n path: string;\n};\ninterface EmptyStateNoMachineProps {\n title?: string;\n description?: string;\n helpLink?: HelpLinkType;\n}\nexport function EmptyStateNoMachine({ title, description, helpLink }: EmptyStateNoMachineProps) {\n return (
    \n {title &&

    {title}

    }\n {description &&

    {description}

    }\n {helpLink && }\n
    );\n}\nconst emptyStateNoMachineStyles = {\n root: css({\n backgroundColor: themeTokens.color.background.secondary.default,\n borderRadius: borderRadius.large,\n padding: space[\"32\"],\n display: \"flex\",\n flexDirection: \"column\",\n alignItems: \"center\",\n gap: space[16],\n }),\n title: css({\n font: text.body.bold.medium,\n margin: 0,\n }),\n description: css({\n font: text.body.regular.medium,\n color: themeTokens.color.text.secondary,\n margin: 0,\n }),\n};\nexport default BaseMachinesSummary;\n","/* eslint-disable @typescript-eslint/consistent-type-assertions */\nimport type { MachineModelHealthStatus } from \"@octopusdeploy/octopus-server-client\";\nimport { MachineModelHealthStatusValues } from \"@octopusdeploy/octopus-server-client\";\nimport type { EnvironmentSummaryFilter } from \"../EnvironmentsLayout/EnvironmentSummaryFilter\";\nimport type { WorkerPoolsSummaryFilter } from \"../WorkerPools/WorkerPoolsLayout/WorkerPoolsSummaryFilter\";\nexport const getHealthStatusFiltersAsPerPrecedence = (filter: WorkerPoolsSummaryFilter | EnvironmentSummaryFilter, isFiltering: boolean, healthStatusFilter: string | null): MachineModelHealthStatus[] => {\n if (isFiltering) {\n if (filter.healthStatuses && filter.healthStatuses.length > 0) {\n return filter.healthStatuses;\n }\n return [];\n }\n if (healthStatusFilter) {\n return [MachineModelHealthStatusValues[healthStatusFilter as keyof typeof MachineModelHealthStatusValues]];\n }\n return [];\n};\nexport const getIsDisabledFilterAsPerPrecedence = (isFiltering: boolean, filter: WorkerPoolsSummaryFilter | EnvironmentSummaryFilter, isDisabledFilter: boolean | undefined): boolean | undefined => {\n if (isFiltering) {\n return filter.isDisabled;\n }\n return isDisabledFilter;\n};\n","import type { EnvironmentResource, EnvironmentSummaryResource, MachineModelHealthStatus } from \"@octopusdeploy/octopus-server-client\";\nimport { Permission } from \"@octopusdeploy/octopus-server-client\";\nimport { links } from \"@octopusdeploy/portal-routes\";\nimport { isEqual } from \"lodash\";\nimport * as React from \"react\";\nimport { orderedHealthStatuses } from \"~/areas/infrastructure/InfrastructureDetails\";\nimport { DisabledMachineHealthSummaryLink, MachineHealthSummaryLink } from \"~/areas/infrastructure/components/MachineHealthSummaryLink/MachineHealthSummaryLink\";\nimport type { EndpointRegistration } from \"~/areas/infrastructure/components/MachineSettings/Endpoints/endpointRegistry\";\nimport endpointRegistry from \"~/areas/infrastructure/components/MachineSettings/Endpoints/endpointRegistry\";\nimport { repository } from \"~/clientInstance\";\nimport { Loading } from \"~/components/Loading/Loading\";\nimport MarkdownDescription from \"~/components/MarkdownDescription\";\nimport InternalRedirect from \"~/components/Navigation/InternalRedirect/InternalRedirect\";\nimport type { OverflowMenuGenericItem, OverflowMenuNavLink } from \"~/components/OverflowMenu/OverflowMenu\";\nimport { OverflowMenu, OverflowMenuItems } from \"~/components/OverflowMenu/OverflowMenu\";\nimport { Section } from \"~/components/Section/Section\";\nimport SimpleExpander from \"~/components/SimpleExpander\";\nimport { withTheme } from \"~/components/Theme\";\nimport { OctopusIcon, OctopusIconType } from \"~/primitiveComponents/dataDisplay/Icon\";\nimport RequestRaceConditioner from \"~/utils/RequestRaceConditioner\";\nimport type { BaseMachinesSummaryProps, BaseMachinesSummaryState } from \"../BaseMachinesSummary/BaseMachinesSummary\";\nimport BaseMachinesSummary from \"../BaseMachinesSummary/BaseMachinesSummary\";\nimport { getHealthStatusFiltersAsPerPrecedence, getIsDisabledFilterAsPerPrecedence } from \"../BaseMachinesSummary/BaseMachinesSummaryFilter\";\nimport type { EnvironmentSummaryFilter } from \"./EnvironmentSummaryFilter\";\nimport { createEnvironmentMachinesArgs } from \"./EnvironmentSummaryFilter\";\nimport styles from \"./style.module.less\";\ninterface EnvironmentSummarySectionInternalProps extends BaseMachinesSummaryProps {\n environmentSummary: EnvironmentSummaryResource;\n filter: EnvironmentSummaryFilter;\n endpointRegistrations: EndpointRegistration[];\n}\nclass EnvironmentSummarySectionInternal extends BaseMachinesSummary {\n private requestRaceConditioner = new RequestRaceConditioner();\n constructor(props: EnvironmentSummarySectionInternalProps) {\n super(props);\n this.state = {\n machinesResponse: null,\n machineHealthStatusFastLookup: {},\n currentPageIndex: 0,\n expanded: false,\n healthStatusFilter: \"\",\n isDisabledFilter: undefined,\n redirectToTasks: false,\n endpointRegistrations: props.endpointRegistrations,\n };\n }\n componentDidUpdate(prevProps: Readonly) {\n if (this.state.expanded && !isEqual(prevProps.filter, this.props.filter)) {\n this.reloadDataAndCurrentPageIndex();\n }\n }\n render() {\n if (this.state.redirectToTasks) {\n return ;\n }\n if (this.state.redirectToTaskId) {\n return ;\n }\n const environmentSummary = this.props.environmentSummary;\n const machineHealthLinks = orderedHealthStatuses.map((status) => this.renderMachineSummaryLinks(environmentSummary, status));\n const machinesDisabledLinks = this.renderMachineDisabledSummaryLinks(environmentSummary);\n const summaryComponents = [...machineHealthLinks, machinesDisabledLinks];\n const environment = environmentSummary.Environment;\n const overflowMenuItems: Array = [\n [\n OverflowMenuItems.navItem(\"Add Deployment Target\", links.newDeploymentTargetWithEnvironmentPage.generateUrl({ spaceId: environment.SpaceId, environmentId: environment.Id }), {\n permission: Permission.MachineCreate,\n environment: environment.Id,\n tenant: \"*\",\n }),\n OverflowMenuItems.navItem(\"Edit\", links.infrastructureEnvironmentPage.generateUrl({ spaceId: environment.SpaceId, environmentId: environment.Id }), {\n permission: Permission.EnvironmentEdit,\n environment: environment.Id,\n }),\n ],\n ];\n // Only show machine-related actions if they actually have some machines in this environment.\n if (environmentSummary.TotalMachines > 0) {\n if (this.state.machinesResponse) {\n const machineIds = this.state.machinesResponse.Items.map((x) => x.Id);\n overflowMenuItems.push(OverflowMenuItems.item(`Check Health for ${environmentSummary.TotalMachines} Deployment Target${environmentSummary.TotalMachines === 1 ? \"\" : \"s\"}`, () => this.performHealthCheck(environment, machineIds), {\n permission: Permission.MachineEdit,\n environment: environment.Id,\n tenant: \"*\",\n }));\n }\n const tentacleIds = environmentSummary.MachineIdsForTentacleUpgrade;\n if (tentacleIds && tentacleIds.length > 0) {\n overflowMenuItems.push(OverflowMenuItems.confirmUpgrade(`Upgrade ${tentacleIds.length} Tentacle${tentacleIds.length === 1 ? \"\" : \"s\"} in this Environment`, () => this.performTentacleUpgrade(environment), {\n permission: Permission.MachineEdit,\n environment: environment.Id,\n tenant: \"*\",\n }));\n }\n const calamariIds = environmentSummary.MachineIdsForCalamariUpgrade;\n if (calamariIds && calamariIds.length > 0) {\n overflowMenuItems.push(OverflowMenuItems.confirmUpgrade(`Upgrade Calamari on ${calamariIds.length} Deployment Target${calamariIds.length === 1 ? \"\" : \"s\"}`, () => this.performCalamariUpgrade(calamariIds), {\n permission: Permission.MachineEdit,\n environment: environment.Id,\n tenant: \"*\",\n }));\n }\n }\n const titleContainer = withTheme((theme) => (
    \n
    \n \n
    \n
    {environment.Name}
    \n
    {`(${environmentSummary.TotalMachines && environmentSummary.TotalMachines.toLocaleString()} deployment target${environmentSummary.TotalMachines === 1 ? \"\" : \"s\"})`}
    \n
    {summaryComponents}
    \n
    \n \n
    \n
    ));\n return (\n {\n this.setState({ expanded });\n if (expanded) {\n this.reloadDataAndCurrentPageIndex();\n }\n else {\n this.setState({\n machinesResponse: null,\n currentPageIndex: 0,\n });\n }\n }}>\n {environment.Description && (
    \n \n
    )}\n {this.renderMachinesList(this.props.environmentSummary)}\n
    \n
    );\n }\n protected async loadData() {\n const isDisabled = getIsDisabledFilterAsPerPrecedence(this.props.isFiltering, this.props.filter, this.state.isDisabledFilter);\n const applicableHealthStatusFilters = getHealthStatusFiltersAsPerPrecedence(this.props.filter, this.props.isFiltering, this.state.healthStatusFilter);\n const args = createEnvironmentMachinesArgs(this.props.filter, isDisabled, applicableHealthStatusFilters);\n const promises = Promise.all([repository.Environments.machines(this.props.environmentSummary.Environment, args), endpointRegistry.getAllRegistrations()]);\n await this.requestRaceConditioner.avoidStaleResponsesForRequest(promises, ([machinesResponse, endpointRegistrations]) => {\n this.setMachineResponseState(machinesResponse);\n this.setState({ endpointRegistrations });\n });\n }\n private renderMachineSummaryLinks(environmentSummary: EnvironmentSummaryResource, healthStatus: MachineModelHealthStatus) {\n return ( `${count.toLocaleString()} ${friendlyName}`} count={environmentSummary.MachineHealthStatusSummaries[healthStatus]} allowSelection={!(this.props.filter.healthStatuses && this.props.filter.healthStatuses.length > 0)} isSelected={this.state.healthStatusFilter === healthStatus}/>);\n }\n private handleHealthSummaryLinkSelect = (e: React.MouseEvent, healthStatus: MachineModelHealthStatus) => {\n // The user may click a health status link to open an expander (but it shouldn't ever close it).\n if (this.state.expanded) {\n e.preventDefault();\n e.stopPropagation(); //prevent clicking the link toggling the panel/expander.\n }\n // Clear any disabled filters when a healthStatus filter is clicked. You can't chain inline disabled and healthStatus\n // filters together because they use different and/or logic at the API and it causes UI confusion.\n this.setState({\n healthStatusFilter: healthStatus,\n isDisabledFilter: undefined,\n }, () => {\n if (this.state.expanded) {\n this.reloadDataAndCurrentPageIndex();\n }\n });\n };\n private handleClearHealthSummaryFilter = (e: React.MouseEvent) => {\n // The user may click a health status link to open an expander (but it shouldn't ever close it).\n if (this.state.expanded) {\n e.preventDefault();\n e.stopPropagation(); //prevent clicking the link toggling the panel/expander.\n }\n this.setState({ healthStatusFilter: \"\" }, () => {\n if (this.state.expanded) {\n this.reloadDataAndCurrentPageIndex();\n }\n });\n };\n private renderMachineDisabledSummaryLinks(environmentSummary: EnvironmentSummaryResource) {\n return ();\n }\n private handleClearDisabledSummaryFilter(e: React.MouseEvent) {\n // The user may click a health status link to open an expander (but it shouldn't ever close it).\n if (this.state.expanded) {\n e.preventDefault();\n e.stopPropagation(); //prevent clicking the link toggling the panel/expander.\n }\n this.setState({ isDisabledFilter: undefined }, () => {\n if (this.state.expanded) {\n this.reloadDataAndCurrentPageIndex();\n }\n });\n }\n private handleDisabledSummaryLinkSelect = (e: React.MouseEvent) => {\n // The user may click a health status link to open an expander (but it shouldn't ever close it).\n if (this.state.expanded) {\n e.preventDefault();\n e.stopPropagation(); //prevent clicking the link toggling the panel/expander.\n }\n // Clear any healthStatus filters when disabled is clicked. You can't chain inline disabled and healthStatus\n // filters together because they use different and/or logic at the API and it causes UI confusion.\n this.setState({\n isDisabledFilter: true,\n healthStatusFilter: \"\",\n }, () => {\n if (this.state.expanded) {\n this.reloadDataAndCurrentPageIndex();\n }\n });\n };\n private async performHealthCheck(environment: EnvironmentResource, machineIds: string[]) {\n return this.doBusyTask(async () => {\n const task = await repository.Tasks.createPerformHealthCheckTaskForEnvironment(environment, machineIds);\n this.setState({ redirectToTaskId: task.Id });\n });\n }\n private async performTentacleUpgrade(environment: EnvironmentResource): Promise {\n return this.doBusyTask(async () => {\n await repository.Machines.upgradeAllTargetsInEnvironment(environment.Id);\n this.setState({ redirectToTasks: true });\n });\n }\n private async performCalamariUpgrade(machineIds: string[]) {\n return this.doBusyTask(async () => {\n const task = await repository.Tasks.createUpdateCalamariOnTargetsTask(machineIds);\n this.setState({ redirectToTaskId: task.Id });\n });\n }\n}\ntype EnvironmentSummarySectionProps = EnvironmentSummarySectionInternalProps;\nfunction EnvironmentSummarySection(props: EnvironmentSummarySectionProps) {\n return ;\n}\nexport default EnvironmentSummarySection;\n","import type { EnvironmentResource } from \"@octopusdeploy/octopus-server-client\";\nimport * as React from \"react\";\nimport { repository } from \"~/clientInstance\";\nimport type { DataBaseComponentState } from \"~/components/DataBaseComponent/DataBaseComponent\";\nimport { DataBaseComponent } from \"~/components/DataBaseComponent/DataBaseComponent\";\nimport SaveDialogLayout from \"~/components/DialogLayout/SaveDialogLayout\";\nimport SortableList from \"~/primitiveComponents/dataDisplay/SortableList/SortableList\";\ninterface EnvironmentSorterFormProps {\n saveDone(): void;\n}\ninterface EnvironmentSorterFormState extends DataBaseComponentState {\n environments: EnvironmentResource[];\n}\nclass EnvironmentsSorter extends DataBaseComponent {\n constructor(props: EnvironmentSorterFormProps) {\n super(props);\n this.state = {\n environments: [],\n };\n }\n async componentDidMount() {\n return this.doBusyTask(async () => {\n const environments = await repository.Environments.all();\n this.setState({ environments });\n });\n }\n async save() {\n const environmentIdsSorted = this.state.environments.map((environment) => {\n return environment.Id;\n });\n return this.doBusyTask(async () => {\n await repository.Environments.sort(environmentIdsSorted);\n this.props.saveDone();\n });\n }\n render() {\n return ( this.save()}>\n this.setState({ environments: x })}/>\n );\n }\n static displayName = \"EnvironmentsSorter\";\n}\nexport default EnvironmentsSorter;\n","import { css } from \"@emotion/css\";\nimport type { PageAction, PrimaryPageAction } from \"@octopusdeploy/design-system-components\";\nimport { EmptyStateNoResults, SearchInput, Pagination, Divider } from \"@octopusdeploy/design-system-components\";\nimport { space } from \"@octopusdeploy/design-system-tokens\";\nimport { useQuery } from \"@octopusdeploy/octopus-react-client\";\nimport type { EnvironmentResource, EnvironmentsSummaryResource, Repository, TenantResource } from \"@octopusdeploy/octopus-server-client\";\nimport { Permission } from \"@octopusdeploy/octopus-server-client\";\nimport type { MachineHealthStatus, QueryParamValuesSetter } from \"@octopusdeploy/portal-routes\";\nimport { links } from \"@octopusdeploy/portal-routes\";\nimport { isEqual } from \"lodash\";\nimport { useEffect, useState } from \"react\";\nimport * as React from \"react\";\nimport { Action as AnalyticAction, useAnalyticActionDispatch } from \"~/analytics/Analytics\";\nimport type { EndpointRegistration } from \"~/areas/infrastructure/components/MachineSettings/Endpoints/endpointRegistry\";\nimport endpointRegistry from \"~/areas/infrastructure/components/MachineSettings/Endpoints/endpointRegistry\";\nimport { AdvancedFilterCheckbox } from \"~/components/AdvancedFilterLayout\";\nimport { AdvancedFilters } from \"~/components/AdvancedFilterLayout/AdvancedFilters\";\nimport { AdvancedFilterTextInput } from \"~/components/AdvancedFilterLayout/Text/AdvancedFilterTextInput\";\nimport { BorderedContent } from \"~/components/BorderedContent/BorderedContent\";\nimport { useLegacyDoBusyTask } from \"~/components/DataBaseComponent/useLegacyDoBusyTask\";\nimport Dialog from \"~/components/Dialog/Dialog\";\nimport { useDialogTrigger } from \"~/components/Dialog/DialogTrigger\";\nimport { Feature, FeatureToggle } from \"~/components/FeatureToggle\";\nimport { PortalEmptyStateOnboarding } from \"~/components/GettingStarted/PortalEmptyStateOnboarding\";\nimport DeploymentTargetTypeMultiSelect from \"~/components/MultiSelect/DeploymentTargetTypeMultiselect\";\nimport { EnvironmentMultiSelect } from \"~/components/MultiSelect/EnvironmentMultiSelect\";\nimport { MachineModelHealthStatusMultiSelect } from \"~/components/MultiSelect/MachineModelHealthStatusMultiSelect\";\nimport { ShellNameMultiSelect } from \"~/components/MultiSelect/ShellNameMultiSelect\";\nimport { TargetTagMultiSelect } from \"~/components/MultiSelect/TargetTagMultiSelect\";\nimport { TenantMultiSelect } from \"~/components/MultiSelect/TenantMultiSelect\";\nimport { TenantTagMultiSelect } from \"~/components/MultiSelect/TenantTagMultiSelect\";\nimport ExternalVideoLink from \"~/components/Navigation/ExternalLink/ExternalVideoLink\";\nimport ExternalLink from \"~/components/Navigation/ExternalLink/index\";\nimport { useSpaceAwareNavigation } from \"~/components/Navigation/SpaceAwareNavigation/useSpaceAwareNavigation\";\nimport { OverflowMenuItems } from \"~/components/OverflowMenu/OverflowMenu\";\nimport { OverflowMenuConverterVNext } from \"~/components/OverflowMenu/OverflowMenuConverterVNext\";\nimport { PageContent } from \"~/components/PageContent/PageContent\";\nimport ExpansionButtons from \"~/components/form/Sections/ExpansionButtons\";\nimport type { TagIndex } from \"~/components/tenantTagsets\";\nimport * as tenantTagsets from \"~/components/tenantTagsets\";\nimport { useDebouncedExternalState } from \"~/hooks/useDebouncedExternalState\";\nimport MachineHealthStatusHelper from \"~/utils/MachineHealthStatusHelper\";\nimport PermissionCheck, { isAllowed } from \"../../../../components/PermissionCheck/PermissionCheck\";\nimport ConfirmTentacleUpgradePanel from \"../MachinesLayout/ConfirmTentacleUpgradePanel\";\nimport { AddEnvironmentsDialog } from \"./AddEnvironmentsDialog\";\nimport { createEnvironmentSummaryArgs, defaultEnvironmentSummaryFilter } from \"./EnvironmentSummaryFilter\";\nimport EnvironmentSummarySection from \"./EnvironmentSummarySection\";\nimport EnvironmentsSorter from \"./EnvironmentsSorter\";\nexport interface EnvironmentsPageQueryParams {\n environmentIds: string[];\n roles: string[];\n tenantIds: string[];\n tenantTags: string[];\n shellNames: string[];\n deploymentTargetTypes: string[];\n hideEmptyEnvironments: boolean;\n machinePartialName: string | undefined;\n isDisabled: boolean | undefined;\n healthStatuses: MachineHealthStatus[];\n partialName: string | undefined;\n}\ninterface EnvironmentsPageProps {\n spaceId: string;\n loaderData: EnvironmentsPageLoaderData;\n queryParams: EnvironmentsPageQueryParams;\n setQueryParams: QueryParamValuesSetter;\n}\ninterface EnvironmentsPageLoaderData {\n environmentsSummary: EnvironmentsSummaryResource;\n environments: EnvironmentResource[];\n machineRoles: string[];\n tenants: TenantResource[];\n tagIndex: TagIndex;\n machineShellNames: string[];\n endpointRegistrations: EndpointRegistration[];\n}\nconst defaultPageSize = 30;\nconst pageSizeOptions = [defaultPageSize, 50, 100];\nconst Title = \"Environments\";\nexport async function environmentsPageLoader(repository: Repository, queryParams: EnvironmentsPageQueryParams): Promise {\n const tagIndex = await tenantTagsets.getTagIndex();\n const args = createEnvironmentSummaryArgs(queryParams, tagIndex);\n const environmentsSummaryPromise = repository.Environments.summary(args);\n const environmentsPromise = repository.Environments.all();\n const machineRolesPromise = repository.MachineRoles.all();\n const tenantsPromise = isAllowed({ permission: Permission.TenantView, tenant: \"*\" }) ? repository.Tenants.all() : Promise.resolve([]);\n const machineShellNamesPromise = repository.MachineShells.all();\n return {\n environmentsSummary: await environmentsSummaryPromise,\n environments: await environmentsPromise,\n machineRoles: await machineRolesPromise,\n tenants: await tenantsPromise,\n tagIndex,\n machineShellNames: await machineShellNamesPromise,\n endpointRegistrations: await endpointRegistry.getAllRegistrations(),\n };\n}\nexport function EnvironmentsPage({ queryParams, setQueryParams, spaceId, loaderData }: EnvironmentsPageProps) {\n const dispatchAction = useAnalyticActionDispatch();\n const addEnvironmentDialogControls = useDialogTrigger();\n const [pageSize, setPageSize] = useState(defaultPageSize);\n const [currentPageIndex, setCurrentPageIndex] = React.useState(0);\n const { doBusyTask, status } = useLegacyDoBusyTask();\n const [debouncedPartialName, setDebouncedPartialName] = useDebouncedExternalState(queryParams.partialName, (value) => setQueryParams((prev) => ({ ...prev, partialName: value })), 200);\n const machineHealthStatuses = React.useMemo(() => MachineHealthStatusHelper.getMachineModelHealthStatusResources(), []);\n const navigate = useSpaceAwareNavigation();\n const { result: environmentsSummary, refetch: reloadEnvironmentSummaries } = useQuery((repository) => {\n const args = createEnvironmentSummaryArgs(queryParams, loaderData.tagIndex);\n return repository.Environments.summary(args);\n }, [queryParams, loaderData.tagIndex], \"Load Environment Summaries\", { initialResult: loaderData.environmentsSummary });\n useEffect(() => {\n setCurrentPageIndex(0);\n }, [environmentsSummary]);\n const addDeploymentTargetPageAction: PageAction = {\n type: \"navigate\",\n label: \"Add Deployment Target\",\n path: links.newDeploymentTargetPage.generateUrl({ spaceId }),\n buttonType: \"secondary\",\n hasPermissions: isAllowed({\n permission: Permission.MachineCreate,\n environment: \"*\",\n tenant: \"*\",\n }),\n };\n const addEnvironmentClicked = () => {\n dispatchAction(\"Add Environment\", { resource: \"Environment\", action: AnalyticAction.Add });\n addEnvironmentDialogControls.openDialog();\n };\n const hasEnvironmentCreatePermission = isAllowed({\n permission: Permission.EnvironmentCreate,\n environment: \"*\",\n });\n const addEnvironmentPageAction: PrimaryPageAction = {\n type: \"button\",\n label: \"Add Environment\",\n hasPermissions: hasEnvironmentCreatePermission,\n onClick: addEnvironmentClicked,\n };\n const legacyOverflowMenuReorderItem = OverflowMenuItems.dialogItem(\"Reorder\", , { permission: Permission.EnvironmentEdit, environment: \"*\" });\n const overflowMenu = OverflowMenuConverterVNext.convertAll([legacyOverflowMenuReorderItem]);\n const environmentSummaries = environmentsSummary.EnvironmentSummaries;\n const hasAvailableEnvironments = loaderData.environments && loaderData.environments.length > 0;\n const start = currentPageIndex * pageSize;\n const end = start + pageSize;\n const currentPageEnvironmentSummaries = environmentSummaries.slice(start, end);\n const pagination = ( setCurrentPageIndex(page - 1)} selectedItemsPerPage={pageSize} onPageSizeChange={(newPageSize) => setPageSize(newPageSize)} totalResults={environmentsSummary.EnvironmentSummaries.length}/>);\n const environmentExpanders = currentPageEnvironmentSummaries.map((environmentsSummary) => (\n \n \n ));\n const advancedFilters = (\n setQueryParams((prev) => ({ ...prev, isDisabled: x ? x : undefined }))}/>\n setQueryParams((prev) => ({ ...prev, hideEmptyEnvironments: x }))}/>\n setQueryParams((prev) => ({ ...prev, machinePartialName: x }))}/>\n setQueryParams((prev) => ({ ...prev, environmentIds: x }))}/>\n setQueryParams((prev) => ({ ...prev, roles: x }))}/>\n setQueryParams((prev) => ({ ...prev, healthStatuses: x }))}/>\n setQueryParams((prev) => ({ ...prev, deploymentTargetTypes: x }))}/>\n \n \n setQueryParams((prev) => ({ ...prev, tenantIds: x }))}/>\n setQueryParams((prev) => ({ ...prev, tenantTags: x }))}/>\n \n \n setQueryParams((prev) => ({ ...prev, shellNames: x }))}/>\n );\n const tentacleUpgradesRequiredWarning = environmentSummaries.some((x) => x.TentacleUpgradesRequired) && navigate.navigate(links.tasksPage.generateUrl())}/>;\n const filters = {\n inputs: [],\n advancedFilters: {\n content: advancedFilters,\n onResetFilter: () => {\n setQueryParams(defaultEnvironmentSummaryFilter);\n },\n hasUserSelectedValues: isFiltering(queryParams),\n },\n };\n const dialogs = (<>\n \n {\n addEnvironmentDialogControls.closeDialog();\n navigate.navigate(links.infrastructureEnvironmentPage.generateUrl({ spaceId, environmentId: env.Id }));\n }}/>\n \n );\n if (!hasAvailableEnvironments) {\n return (<>\n \n Learn more\n \n Video (2 mins)\n \n } primaryAction={addEnvironmentPageAction}/>\n {dialogs}\n );\n }\n return ( 20 ? \"topAndBottom\" : \"top\",\n }} callout={{ type: \"custom\", content: <>{tentacleUpgradesRequiredWarning} }}>\n \n {overflowMenu.dialogs}\n {dialogs}\n {environmentExpanders.length > 0 && (
    \n \n
    )}\n {environmentExpanders.length > 0 ? environmentExpanders : }\n
    \n
    );\n}\nfunction isFiltering(queryParams: EnvironmentsPageQueryParams): boolean {\n return !isEqual(queryParams, defaultEnvironmentSummaryFilter);\n}\nconst expansionButtonsContainerStyles = css({\n paddingTop: space[16],\n paddingBottom: space[4],\n paddingLeft: space[16],\n});\n","/* eslint-disable @typescript-eslint/consistent-type-assertions */\nimport type { CommunicationStyle } from \"@octopusdeploy/octopus-server-client\";\nimport { CommunicationStyleValues, EndpointsHelper } from \"@octopusdeploy/octopus-server-client\";\nimport type { LinkHref } from \"@octopusdeploy/portal-routes\";\nimport { EndpointRegistrationKeyValues } from \"@octopusdeploy/portal-routes\";\nimport * as React from \"react\";\nimport InternalLink from \"~/components/Navigation/InternalLink\";\nimport { getCommunicationStyleIconUrl } from \"~/utils/MachineIconUrlFetchers/machineIconUrlFetchers\";\nimport styles from \"../style.module.less\";\ninterface MachinesContentRowProps {\n deploymentTargetType: string;\n summaries: Record;\n link: (commStyle: string) => LinkHref;\n}\nexport const MachinesContentRow = ({ deploymentTargetType, summaries, link }: MachinesContentRowProps) => {\n const machinesCount = summaries[deploymentTargetType] || 0;\n if (!machinesCount || machinesCount === 0) {\n return null;\n }\n let commStyle = deploymentTargetType as CommunicationStyle;\n if (!Object.values(CommunicationStyleValues).includes(commStyle) || commStyle === CommunicationStyleValues.StepPackage) {\n commStyle = CommunicationStyleValues.None;\n }\n const endpointName = EndpointsHelper.getFriendlyNameFromCommStyle(commStyle);\n const endpointIcon = getCommunicationStyleIconUrl(commStyle);\n const endpointIconImage = endpointIcon && \"Health;\n const linkFriendlyCommStyle = getLinkFriendlyCommStyle(commStyle);\n return (
    \n
    {endpointIconImage}
    \n
    \n {endpointName}\n
    \n
    {machinesCount.toLocaleString()}
    \n
    );\n};\nfunction getLinkFriendlyCommStyle(commStyle: CommunicationStyle): string {\n if (commStyle === CommunicationStyleValues.None) {\n return EndpointRegistrationKeyValues.CloudRegion;\n }\n return commStyle;\n}\n","import type { SummaryResource, CommunicationStyle } from \"@octopusdeploy/octopus-server-client\";\nimport { CommunicationStyleValues } from \"@octopusdeploy/octopus-server-client\";\nimport type { LinkHref } from \"@octopusdeploy/portal-routes\";\nimport * as React from \"react\";\nimport { useEffect, useState } from \"react\";\nimport { MachinesContentRow } from \"~/areas/infrastructure/components/InfrastructureDashboard/MachinesCard/MachinesContentRow\";\nimport type { EndpointRegistration } from \"~/areas/infrastructure/components/MachineSettings/Endpoints/endpointRegistry\";\nimport endpointRegistry from \"~/areas/infrastructure/components/MachineSettings/Endpoints/endpointRegistry\";\nimport type { DoBusyTask } from \"~/components/DataBaseComponent\";\nimport styles from \"../style.module.less\";\ninterface WorkerContentProps {\n summaryResource: SummaryResource;\n link: (obj: WorkerContentFilter) => LinkHref;\n doBusyTask: DoBusyTask;\n}\nexport interface WorkerContentFilter {\n commStyles?: CommunicationStyle[];\n}\nexport const WorkerContent = ({ summaryResource, link, doBusyTask }: WorkerContentProps) => {\n const [registrations, setRegistrations] = useState([]);\n useEffect(() => {\n (async () => {\n await doBusyTask(async () => {\n const loadedRegistrations = await endpointRegistry.getAllRegistrations();\n setRegistrations(loadedRegistrations);\n });\n })();\n }, [doBusyTask]);\n return (<>\n {registrations?.length > 0 && (
    \n {Object.keys(summaryResource.MachineEndpointSummaries).map((keyString) => {\n const registration = registrations.find((r) => r.key === keyString);\n if (registration?.communicationStyle !== CommunicationStyleValues.StepPackage)\n // eslint-disable-next-line @typescript-eslint/consistent-type-assertions\n return link({ commStyles: [commStyle as CommunicationStyle] })} summaries={summaryResource.MachineEndpointSummaries}/>;\n })}\n
    )}\n );\n};\n","import { css } from \"@emotion/css\";\nimport { space } from \"@octopusdeploy/design-system-tokens\";\nimport type { LinkHref } from \"@octopusdeploy/portal-routes\";\nimport React from \"react\";\nimport InternalLink from \"~/components/Navigation/InternalLink\";\nexport interface ResultsLinkProps {\n totalCount: number;\n renderedCount: number;\n link: LinkHref;\n}\nexport const ResultsLink = ({ totalCount, renderedCount, link }: ResultsLinkProps) => {\n return renderedCount <= totalCount ? {`${totalCount.toString()} Result${totalCount <= 1 ? \"\" : \"s\"}`} : null;\n};\nconst cardContentContainerResults = css({\n padding: `${space[8]} 0 ${space[16]} 0`,\n textAlign: \"center\",\n display: \"block\",\n});\n","import type { EnvironmentSummaryResource } from \"@octopusdeploy/octopus-server-client\";\nimport { links } from \"@octopusdeploy/portal-routes\";\nimport React from \"react\";\nimport InternalLink from \"~/components/Navigation/InternalLink\";\nimport type { OctopusTheme } from \"~/components/Theme\";\nimport { useOctopusTheme } from \"~/components/Theme\";\nimport { OctopusIcon, OctopusIconType } from \"~/primitiveComponents/dataDisplay/Icon\";\nimport styles from \"../style.module.less\";\ninterface EnvironmentOverviewRowWithThemeProps {\n environmentSummary: EnvironmentSummaryResource;\n theme: OctopusTheme;\n}\nconst EnvironmentsSummaryContentRowWithTheme = ({ environmentSummary, theme }: EnvironmentOverviewRowWithThemeProps) => {\n const totalMachines = environmentSummary.TotalMachines || 0;\n return (
    \n
    \n \n
    \n
    \n {environmentSummary.Environment.Name}\n
    \n
    {totalMachines.toLocaleString()}
    \n
    );\n};\ninterface EnvironmentOverviewRowProps {\n environmentSummary: EnvironmentSummaryResource;\n}\nexport const EnvironmentSummaryContentRow = (props: EnvironmentOverviewRowProps) => {\n const theme = useOctopusTheme();\n return ;\n};\n","import type { EnvironmentsSummaryResource, EnvironmentSummaryResource } from \"@octopusdeploy/octopus-server-client\";\nimport { links } from \"@octopusdeploy/portal-routes\";\nimport React, { useState } from \"react\";\nimport FilterSearchBox from \"~/components/FilterSearchBox\";\nimport type { OctopusTheme } from \"~/components/Theme\";\nimport { useOctopusTheme } from \"~/components/Theme\";\nimport { ResultsLink } from \"../ResultsLink\";\nimport styles from \"../style.module.less\";\nimport { EnvironmentSummaryContentRow } from \"./EnvironmentsContentRows\";\ninterface EnvironmentsContentWithThemeProps {\n summaryResource: EnvironmentsSummaryResource;\n numberOfEnvironmentsToRender: number;\n theme: OctopusTheme;\n spaceId: string;\n}\nconst onFilter = (filter: string, resource: EnvironmentSummaryResource) => {\n return !filter || filter.length === 0 || !resource || resource.Environment.Name.toLowerCase().includes(filter.toLowerCase());\n};\nconst EnvironmentsContentWithTheme = ({ summaryResource, numberOfEnvironmentsToRender, theme, spaceId }: EnvironmentsContentWithThemeProps) => {\n const [filterText, setFilterText] = useState(\"\");\n const filteredEnvironmentSummaries = summaryResource.EnvironmentSummaries.filter((item: EnvironmentSummaryResource) => onFilter(filterText, item)).slice(0, numberOfEnvironmentsToRender);\n return (<>\n {(filteredEnvironmentSummaries.length > 1 || filterText) && ( setFilterText(value.toLowerCase())} containerClassName={styles.cardContentContainerFilter} inputClassName={styles.dashboardFilterInputClassName} iconColor={theme.secondaryText}/>)}\n
    \n {filteredEnvironmentSummaries.map((environmentSummary: EnvironmentSummaryResource) => {\n return ;\n })}\n {}\n
    \n );\n};\ninterface EnvironmentsContentProps {\n summaryResource: EnvironmentsSummaryResource;\n numberOfEnvironmentsToRender: number;\n spaceId: string;\n}\nexport const EnvironmentsContent = (props: EnvironmentsContentProps) => {\n const theme = useOctopusTheme();\n return ;\n};\n","import React from \"react\";\nimport styles from \"~/areas/infrastructure/components/InfrastructureDashboard/HealthStatusCard/HealthStatusContentIconContainer.module.less\";\nexport function HealthStatusContentIconContainer({ children }: React.PropsWithChildren<{}>) {\n return
    {children}
    ;\n}\n","/* eslint-disable @typescript-eslint/consistent-type-assertions */\nimport type { MachineModelHealthStatus, SummaryResource } from \"@octopusdeploy/octopus-server-client\";\nimport type { LinkHref } from \"@octopusdeploy/portal-routes\";\nimport React from \"react\";\nimport { MachineHealthStatusIcon } from \"~/areas/infrastructure/components/MachineHealthStatusIcons/MachineHealthStatusIcon\";\nimport InternalLink from \"~/components/Navigation/InternalLink\";\nimport MachineHealthStatusHelper from \"~/utils/MachineHealthStatusHelper\";\nimport styles from \"../style.module.less\";\nimport type { HealthStatusContentFilter } from \"./HealthStatusContent\";\nimport { HealthStatusContentIconContainer } from \"./HealthStatusContentIconContainer\";\ninterface HealthStatusContentRowProps {\n summaryResource: SummaryResource;\n link: (obj: HealthStatusContentFilter) => LinkHref;\n status: MachineModelHealthStatus;\n}\nexport const HealthStatusContentRow = ({ summaryResource, link, status }: HealthStatusContentRowProps) => {\n const totalMachines = summaryResource.MachineHealthStatusSummaries[status] || 0;\n if (!totalMachines || totalMachines === 0) {\n return null;\n }\n const healthStatus = status as MachineModelHealthStatus;\n const healthStatusName = MachineHealthStatusHelper.getFriendlyName(healthStatus);\n return (
    \n \n \n \n
    \n {healthStatusName}\n
    \n
    {totalMachines.toLocaleString()}
    \n
    );\n};\n","/* eslint-disable @typescript-eslint/consistent-type-assertions */\nimport type { MachineModelHealthStatus, SummaryResource } from \"@octopusdeploy/octopus-server-client\";\nimport type { LinkHref } from \"@octopusdeploy/portal-routes\";\nimport * as React from \"react\";\nimport { DisabledMachineIcon } from \"~/areas/infrastructure/components/MachineHealthStatusIcons/DisabledMachineIcon\";\nimport InternalLink from \"~/components/Navigation/InternalLink\";\nimport styles from \"../style.module.less\";\nimport { HealthStatusContentIconContainer } from \"./HealthStatusContentIconContainer\";\nimport { HealthStatusContentRow } from \"./HealthStatusContentRow\";\nconst disabledComponentKey = \"Disabled\";\ninterface HealthStatusContentProps {\n summaryResource: SummaryResource;\n link: (obj: HealthStatusContentFilter) => LinkHref;\n}\nexport interface HealthStatusContentFilter {\n isDisabled?: boolean;\n healthStatuses?: MachineModelHealthStatus[];\n}\nexport const HealthStatusContent = ({ summaryResource, link }: HealthStatusContentProps) => {\n return (
    \n {Object.keys(summaryResource.MachineHealthStatusSummaries).map((k: string) => {\n const status = k as MachineModelHealthStatus;\n return ;\n })}\n
    \n \n \n \n\n
    \n Disabled\n
    \n
    {summaryResource.TotalDisabledMachines.toLocaleString()}
    \n
    \n
    );\n};\n","import { css } from \"@emotion/css\";\nimport { text } from \"@octopusdeploy/design-system-tokens\";\nimport type { LinkHref } from \"@octopusdeploy/portal-routes\";\nimport React from \"react\";\nimport InternalLink from \"~/components/Navigation/InternalLink\";\nimport type { OctopusTheme } from \"~/components/Theme\";\ninterface OverviewCardTitleProps {\n link: LinkHref | undefined;\n theme: OctopusTheme;\n count: number | null;\n title: string;\n}\nexport const OverviewCardTitle = ({ link, theme, count, title }: OverviewCardTitleProps) => {\n const titleContent = (<>\n {title} {count !== null && ({count.toLocaleString()})}\n );\n return link ? (\n {titleContent}\n ) : (titleContent);\n};\nconst cardCountStyles = css({\n font: text.body.regular.medium,\n});\n","import { css } from \"@emotion/css\";\nimport { CircularProgress } from \"@octopusdeploy/design-system-components\";\nimport { borderRadius, colorScales, space, text, themeTokens } from \"@octopusdeploy/design-system-tokens\";\nimport type { LinkHref } from \"@octopusdeploy/portal-routes\";\nimport React from \"react\";\nimport BusyFromPromise from \"~/components/BusyFromPromise\";\nimport DataBaseComponent from \"~/components/DataBaseComponent\";\nimport type { OctopusTheme } from \"~/components/Theme\";\nimport { useOctopusTheme } from \"~/components/Theme\";\nimport { ErrorPanel } from \"~/components/form\";\nimport { OverviewCardTitle } from \"./CardTitle\";\nimport styles from \"./style.module.less\";\nexport interface InfraOverviewCardProps {\n dataPromise: Promise;\n title: string;\n link: LinkHref | undefined;\n hasContent(resource: TResource): boolean;\n getCount(resource: TResource): number;\n renderContent: (summaryResource: TResource) => React.ReactElement;\n}\ntype InfraOverviewCardPropsWithTheme = InfraOverviewCardProps & {\n theme: OctopusTheme;\n};\ninterface InfraOverviewCardState {\n summaryResource: TResource | null;\n}\nclass InfraOverviewCardWithTheme extends DataBaseComponent, InfraOverviewCardState> {\n constructor(props: InfraOverviewCardPropsWithTheme) {\n super(props);\n this.state = {\n summaryResource: null,\n };\n }\n async componentDidMount() {\n return this.doBusyTask(async () => {\n const resource = await this.props.dataPromise;\n this.setState({\n summaryResource: resource,\n });\n });\n }\n render() {\n const count = this.state.summaryResource !== null ? this.props.getCount(this.state.summaryResource) : null;\n const shouldRenderCardContent = this.state.summaryResource !== null ? this.props.hasContent(this.state.summaryResource) : true;\n return (
    \n
    \n
    \n \n
    \n
    \n
    \n {shouldRenderCardContent && (<>\n {this.errors && }\n {(busy: boolean) => busy && }\n {this.state.summaryResource !== null && this.props.renderContent(this.state.summaryResource)}\n )}\n
    \n
    );\n }\n static displayName = \"InfraOverviewCardWithTheme\";\n}\nexport function InfraOverviewCard(props: InfraOverviewCardProps) {\n const theme = useOctopusTheme();\n return {...props} theme={theme}/>;\n}\nconst card = css({\n boxShadow: themeTokens.shadow.small,\n borderRadius: borderRadius.small,\n overflow: \"hidden\",\n color: themeTokens.color.text.primary,\n textDecoration: \"none\",\n transition: \"background-color 0.1s ease-in\",\n display: \"flex\",\n flexDirection: \"column\",\n width: \"17.13rem\",\n height: \"21.875rem\",\n minHeight: \"21.875rem\",\n position: \"relative\",\n background: \"var(--paper2)\",\n});\nconst cardTitleContainer = css({\n color: colorScales.white,\n backgroundColor: \"var(--mainBackground)\",\n font: text.heading.small,\n height: \"3rem\",\n minHeight: \"3rem\",\n display: \"flex\",\n justifyContent: \"space-between\",\n alignItems: \"center\",\n padding: `0 ${space[16]}`,\n});\nconst cardContentContainer = css({\n minHeight: \"2rem\",\n display: \"flex\",\n flexDirection: \"column\",\n color: themeTokens.color.text.secondary,\n font: text.body.regular.small,\n // No bottom padding allows for overflow to be visible\n // No right padding ensures scrollbar does not overflow the content\n padding: `${space[16]} 0 0 ${space[16]}`,\n});\n","/* eslint-disable @typescript-eslint/consistent-type-assertions */\nimport type { LinkHref } from \"@octopusdeploy/portal-routes\";\nimport * as React from \"react\";\nimport type { StepPackageDeploymentTargetRegistration } from \"~/areas/infrastructure/components/MachineSettings/Endpoints/endpointRegistry\";\nimport { client } from \"~/clientInstance\";\nimport InternalLink from \"~/components/Navigation/InternalLink\";\nimport styles from \"../style.module.less\";\nimport type { MachinesContentFilter } from \"./MachinesContent\";\ninterface StepPackageDeploymentTargetRowProps {\n deploymentTargetRegistration: StepPackageDeploymentTargetRegistration;\n summaries: Record;\n link: (filter: MachinesContentFilter) => LinkHref;\n}\nexport const StepPackageDeploymentTargetRow = ({ deploymentTargetRegistration, summaries, link }: StepPackageDeploymentTargetRowProps) => {\n const machinesCount = summaries[deploymentTargetRegistration.key] || 0;\n if (!machinesCount || machinesCount === 0) {\n return null;\n }\n const endpointName = deploymentTargetRegistration.name;\n const endpointLogo = deploymentTargetRegistration.links.Logo && {endpointName}/;\n return (
    \n
    {endpointLogo}
    \n
    \n {endpointName}\n
    \n
    {machinesCount.toLocaleString()}
    \n
    );\n};\n","import type { SummaryResource } from \"@octopusdeploy/octopus-server-client\";\nimport { CommunicationStyleValues } from \"@octopusdeploy/octopus-server-client\";\nimport type { LinkHref } from \"@octopusdeploy/portal-routes\";\nimport * as React from \"react\";\nimport { useEffect, useState } from \"react\";\nimport { StepPackageDeploymentTargetRow } from \"~/areas/infrastructure/components/InfrastructureDashboard/MachinesCard/StepPackageDeploymentTargetRow\";\nimport type { EndpointRegistration, StepPackageDeploymentTargetRegistration } from \"~/areas/infrastructure/components/MachineSettings/Endpoints/endpointRegistry\";\nimport endpointRegistry from \"~/areas/infrastructure/components/MachineSettings/Endpoints/endpointRegistry\";\nimport type { DoBusyTask } from \"~/components/DataBaseComponent\";\nimport styles from \"../style.module.less\";\nimport { MachinesContentRow } from \"./MachinesContentRow\";\ninterface MachinesContentProps {\n summaryResource: SummaryResource;\n link: (obj: MachinesContentFilter) => LinkHref;\n doBusyTask: DoBusyTask;\n}\nexport interface MachinesContentFilter {\n deploymentTargetTypes: string[];\n}\nexport const MachinesContent = ({ summaryResource, link, doBusyTask }: MachinesContentProps) => {\n const [registrations, setRegistrations] = useState([]);\n useEffect(() => {\n (async () => {\n await doBusyTask(async () => {\n const loadedRegistrations = await endpointRegistry.getAllRegistrations();\n setRegistrations(loadedRegistrations);\n });\n })();\n }, [doBusyTask]);\n return (<>\n {registrations?.length > 0 && (
    \n {Object.keys(summaryResource.DeploymentTargetSummaries).map((keyString) => {\n const registration = registrations.find((r) => r.key === keyString);\n if (registration?.communicationStyle !== CommunicationStyleValues.StepPackage)\n return link({ deploymentTargetTypes: [commStyle] })} summaries={summaryResource.DeploymentTargetSummaries}/>;\n else {\n // eslint-disable-next-line @typescript-eslint/consistent-type-assertions\n const stepPackageEndpointRegistration = registration as StepPackageDeploymentTargetRegistration;\n return ;\n }\n })}\n
    )}\n );\n};\n","import type { LinkHref } from \"@octopusdeploy/portal-routes\";\nimport * as React from \"react\";\nimport { RoleChip } from \"~/components/Chips/index\";\nimport type { RolesContentFilter } from \"./RolesContent\";\ninterface RolesContentChipProps {\n role: string;\n link: (filter: RolesContentFilter) => LinkHref;\n}\nexport const RolesContentChip = ({ role, link }: RolesContentChipProps) => {\n return ;\n};\n","import type { LinkHref } from \"@octopusdeploy/portal-routes\";\nimport type { Dispatch, SetStateAction } from \"react\";\nimport * as React from \"react\";\nimport { useState } from \"react\";\nimport FilterSearchBox from \"~/components/FilterSearchBox/FilterSearchBox\";\nimport type { OctopusTheme } from \"~/components/Theme\";\nimport { useOctopusTheme } from \"~/components/Theme\";\nimport { ResultsLink } from \"../ResultsLink\";\nimport styles from \"../style.module.less\";\nimport { RolesContentChip } from \"./RolesContentChip\";\ninterface RolesContentWithThemeProps extends RolesContentProps {\n filterText: string;\n setFilterText: Dispatch>;\n theme: OctopusTheme;\n}\nconst onFilter = (filter: string, role: string) => {\n return !filter || filter.length === 0 || !role || role.toLowerCase().includes(filter.toLowerCase());\n};\nexport const RolesContentWithTheme = ({ machineRoles, numberOfItemsToRender, link, filterText, setFilterText, theme }: RolesContentWithThemeProps) => {\n const filteredRoles = machineRoles.filter((item: string) => onFilter(filterText, item)).slice(0, numberOfItemsToRender);\n return (<>\n {(filteredRoles.length > 1 || filterText) && ( setFilterText(value.toLowerCase())} containerClassName={styles.cardContentContainerFilter} inputClassName={styles.dashboardFilterInputClassName} iconColor={theme.secondaryText}/>)}\n
    \n {filteredRoles.map((role: string) => {\n return ;\n })}\n \n
    \n );\n};\ninterface RolesContentProps {\n machineRoles: string[];\n numberOfItemsToRender: number;\n link: (filter?: RolesContentFilter) => LinkHref;\n}\nexport interface RolesContentFilter {\n roles?: string[];\n}\nexport const RolesContent = (props: RolesContentProps) => {\n const theme = useOctopusTheme();\n const [filterText, setFilterText] = useState(\"\");\n return ;\n};\n","import type * as React from \"react\";\nimport type { SpaceAwareNavigation } from \"./SpaceAwareNavigation/SpaceAwareNavigation\";\nimport { useSpaceAwareNavigation } from \"./SpaceAwareNavigation/useSpaceAwareNavigation\";\ninterface NavigateProps {\n render: (navigation: SpaceAwareNavigation) => React.ReactElement | null;\n}\nexport const Navigate: React.FC = ({ render }) => {\n const navigation = useSpaceAwareNavigation();\n return render(navigation);\n};\nNavigate.displayName = \"Navigate\"\nexport default Navigate;\n","import type { TagResource, MachineTenantTagSummaryResource } from \"@octopusdeploy/octopus-server-client\";\nimport { links } from \"@octopusdeploy/portal-routes\";\nimport * as React from \"react\";\nimport { Navigate } from \"~/components/Navigation/Navigate\";\nimport Tag from \"~/components/Tag\";\nimport styles from \"../style.module.less\";\ninterface TagSetContentRowProps {\n spaceId: string;\n tag: TagResource;\n tenantTagSummaries: MachineTenantTagSummaryResource;\n}\nexport const TagSetContentRow = ({ spaceId, tag, tenantTagSummaries }: TagSetContentRowProps) => {\n const totalMachines = (tenantTagSummaries && tenantTagSummaries[tag.Id]) || 0;\n return (<>\n
    \n
    \n ( history.navigate(links.deploymentTargetsPage.generateUrl({ spaceId }, { tenantTags: [tag.CanonicalTagName] }))}/>)}/>\n
    \n
    {totalMachines.toLocaleString()}
    \n
    \n );\n};\n","import type { MachineTenantTagSummaryResource, TagResource, TagSetResource } from \"@octopusdeploy/octopus-server-client\";\nimport * as React from \"react\";\nimport styles from \"../style.module.less\";\nimport { TagSetContentRow } from \"./TagSetContentRow\";\ninterface TagSetContentProps {\n spaceId: string;\n tagSet: TagSetResource;\n tags: TagResource[];\n tenantTagSummaries: MachineTenantTagSummaryResource;\n}\nexport const TagSetContent = ({ spaceId, tagSet, tags, tenantTagSummaries }: TagSetContentProps) => {\n if (tags.length === 0)\n return null;\n return (<>\n
    \n
    {tagSet.Name}
    \n {tags.map((tag) => {\n return ;\n })}\n
    \n );\n};\n","import type { TagResource, TagSetResource, MachineTenantTagSummaryResource } from \"@octopusdeploy/octopus-server-client\";\nimport { links } from \"@octopusdeploy/portal-routes\";\nimport { sortBy } from \"lodash\";\nimport * as React from \"react\";\nimport { useState } from \"react\";\nimport FilterSearchBox from \"~/components/FilterSearchBox/FilterSearchBox\";\nimport type { OctopusTheme } from \"~/components/Theme\";\nimport { useOctopusTheme } from \"~/components/Theme\";\nimport { ResultsLink } from \"../ResultsLink\";\nimport styles from \"../style.module.less\";\nimport { TagSetContent } from \"./TagSetContent\";\ninterface TagSetsContentWithThemeProps {\n spaceId: string;\n tagSummaries: MachineTenantTagSummaryResource;\n tagSets: TagSetResource[];\n numberOfItemsToRender: number;\n theme: OctopusTheme;\n}\nconst onFilter = (filter: string, resource: TagResource) => {\n return !filter || filter.length === 0 || !resource || resource.Name.toLowerCase().includes(filter.toLowerCase());\n};\nconst createTags = (tagSet: TagSetResource, filterText: string, maxTagsToReturn: number) => {\n return sortBy(tagSet.Tags.filter((item) => onFilter(filterText, item)), (t) => t.SortOrder).slice(0, maxTagsToReturn);\n};\nconst TagSetsContentWithTheme = ({ spaceId, tagSummaries, tagSets, numberOfItemsToRender, theme }: TagSetsContentWithThemeProps) => {\n const [filterText, setFilterText] = useState(\"\");\n const totalTagSetTags = tagSets.reduce((a, b) => a + b.Tags.length, 0);\n // limit tags to numberOfItemsToRender, not tag sets.\n let tagCount = 0;\n return (<>\n {(totalTagSetTags > 1 || filterText) && ( setFilterText(value.toLowerCase())} containerClassName={styles.cardContentContainerFilter} inputClassName={styles.dashboardFilterInputClassName} iconColor={theme.secondaryText}/>)}\n
    \n {tagSets.map((ts) => {\n const countRemaining = numberOfItemsToRender - tagCount;\n const maxTagsToReturn = Math.min(countRemaining, ts.Tags.length);\n if (countRemaining === 0 || maxTagsToReturn === 0)\n return;\n const tags = createTags(ts, filterText, maxTagsToReturn);\n tagCount += maxTagsToReturn;\n return ;\n })}\n {}\n
    \n );\n};\ninterface TagSetsContentProps {\n spaceId: string;\n tagSummaries: MachineTenantTagSummaryResource | undefined;\n summaryResource: TagSetResource[];\n numberOfItemsToRender: number;\n}\nexport const TagSetsContent = ({ spaceId, tagSummaries, summaryResource, numberOfItemsToRender }: TagSetsContentProps) => {\n const theme = useOctopusTheme();\n return tagSummaries !== undefined ? : null;\n};\n","import { css } from \"@emotion/css\";\nimport { UserCircleIcon } from \"@octopusdeploy/design-system-icons\";\nimport { themeTokens } from \"@octopusdeploy/design-system-tokens\";\nimport type { MachineTenantSummaryResource, TenantResource } from \"@octopusdeploy/octopus-server-client\";\nimport { links } from \"@octopusdeploy/portal-routes\";\nimport cn from \"classnames\";\nimport * as React from \"react\";\nimport InternalLink from \"~/components/Navigation/InternalLink\";\nimport styles from \"../style.module.less\";\ninterface TenantContentRowProps {\n tenant: TenantResource;\n tenantSummaries: MachineTenantSummaryResource;\n}\nexport const TenantContentRow = ({ tenant, tenantSummaries }: TenantContentRowProps) => {\n const totalMachines = (tenantSummaries && tenantSummaries[tenant.Id]) || 0;\n const ariaLabel = `Tenant ${tenant.Name} has ${totalMachines.toLocaleString()} deployment target${totalMachines === 1 ? \"\" : \"s\"}`;\n return (
    \n
    \n \n
    \n
    \n {tenant.Name}\n
    \n
    {totalMachines.toLocaleString()}
    \n
    );\n};\nconst disabledStyles = css({\n opacity: 0.4,\n});\n","import type { MachineTenantSummaryResource, TenantResource } from \"@octopusdeploy/octopus-server-client\";\nimport { links } from \"@octopusdeploy/portal-routes\";\nimport * as React from \"react\";\nimport { useState } from \"react\";\nimport FilterSearchBox from \"~/components/FilterSearchBox/FilterSearchBox\";\nimport type { OctopusTheme } from \"~/components/Theme\";\nimport { useOctopusTheme } from \"~/components/Theme\";\nimport { ResultsLink } from \"../ResultsLink\";\nimport styles from \"../style.module.less\";\nimport { TenantContentRow } from \"./TenantsContentRow\";\ninterface TenantsContentWithThemeProps {\n spaceId: string;\n tenantSummaries: MachineTenantSummaryResource;\n tenantsResource: TenantResource[];\n numberOfItemsToRender: number;\n theme: OctopusTheme;\n}\nconst onFilter = (filter: string, resource: TenantResource) => {\n return !filter || filter.length === 0 || !resource || resource.Name.toLowerCase().includes(filter.toLowerCase());\n};\nconst TenantsContentWithTheme = ({ spaceId, tenantsResource, tenantSummaries, theme, numberOfItemsToRender }: TenantsContentWithThemeProps) => {\n const [filterText, setFilterText] = useState(\"\");\n const filteredTenants = tenantsResource.filter((item) => onFilter(filterText, item)).slice(0, numberOfItemsToRender);\n // Show enabled tenants first\n filteredTenants.sort((a, b) => Number(!!a.IsDisabled) - Number(!!b.IsDisabled));\n return (<>\n {(tenantsResource.length > 1 || filterText) && ( setFilterText(value.toLowerCase())} containerClassName={styles.cardContentContainerFilter} inputClassName={styles.dashboardFilterInputClassName} iconColor={theme.secondaryText}/>)}\n
    \n {filteredTenants.map((tenant: TenantResource) => {\n return ;\n })}\n {}\n
    \n );\n};\ninterface TenantsContentProps {\n spaceId: string;\n tenantSummaries: MachineTenantSummaryResource | undefined;\n tenantsResource: TenantResource[];\n numberOfItemsToRender: number;\n}\nexport const TenantsContent = ({ spaceId, tenantSummaries, tenantsResource, numberOfItemsToRender }: TenantsContentProps) => {\n const theme = useOctopusTheme();\n return tenantSummaries !== undefined ? : null;\n};\n","import type { WorkerPoolSummaryResource } from \"@octopusdeploy/octopus-server-client\";\nimport { links } from \"@octopusdeploy/portal-routes\";\nimport * as React from \"react\";\nimport InternalLink from \"~/components/Navigation/InternalLink\";\nimport type { OctopusTheme } from \"~/components/Theme\";\nimport { useOctopusTheme } from \"~/components/Theme\";\nimport { OctopusIcon, OctopusIconType } from \"~/primitiveComponents/dataDisplay/Icon\";\nimport styles from \"../style.module.less\";\ninterface WorkerPoolsContentRowWithThemeProps {\n spaceId: string;\n workerSummary: WorkerPoolSummaryResource;\n theme: OctopusTheme;\n}\nconst WorkerPoolsContentRowWithTheme = ({ spaceId, workerSummary, theme }: WorkerPoolsContentRowWithThemeProps) => {\n const totalMachines = workerSummary.TotalMachines || 0;\n return (
    \n
    \n \n
    \n
    \n {workerSummary.WorkerPool.Name}\n
    \n
    {totalMachines.toLocaleString()}
    \n
    );\n};\ninterface WorkerPoolsContentRowProps {\n spaceId: string;\n workerSummary: WorkerPoolSummaryResource;\n}\nexport const WorkerPoolsContentRow = (props: WorkerPoolsContentRowProps) => {\n const theme = useOctopusTheme();\n return ;\n};\n","import type { WorkerPoolSummaryResource, WorkerPoolsSummaryResource } from \"@octopusdeploy/octopus-server-client\";\nimport { links } from \"@octopusdeploy/portal-routes\";\nimport * as React from \"react\";\nimport { useState } from \"react\";\nimport FilterSearchBox from \"~/components/FilterSearchBox/FilterSearchBox\";\nimport type { OctopusTheme } from \"~/components/Theme\";\nimport { useOctopusTheme } from \"~/components/Theme\";\nimport { ResultsLink } from \"../ResultsLink\";\nimport styles from \"../style.module.less\";\nimport { WorkerPoolsContentRow } from \"./WorkerPoolContentRow\";\ninterface WorkerPoolsContentWithThemeProps extends WorkerPoolsContentProps {\n theme: OctopusTheme;\n}\nconst onFilter = (filter: string, resource: WorkerPoolSummaryResource) => {\n return !filter || filter.length === 0 || !resource || resource.WorkerPool.Name.toLowerCase().includes(filter.toLowerCase());\n};\nconst WorkerPoolsContentWithTheme = ({ summaryResource, numberOfItemsToRender, theme, spaceId }: WorkerPoolsContentWithThemeProps) => {\n const [filterText, setFilterText] = useState(\"\");\n const workerSummaries = summaryResource.WorkerPoolSummaries.filter((item) => onFilter(filterText, item)).slice(0, numberOfItemsToRender);\n return (<>\n {(summaryResource.WorkerPoolSummaries.length > 1 || filterText) && ( setFilterText(value.toLowerCase())} containerClassName={styles.cardContentContainerFilter} inputClassName={styles.dashboardFilterInputClassName} iconColor={theme.secondaryText}/>)}\n
    \n {workerSummaries.map((workerSummary: WorkerPoolSummaryResource, index: number) => {\n return ;\n })}\n {}\n
    \n );\n};\ninterface WorkerPoolsContentProps {\n spaceId: string;\n summaryResource: WorkerPoolsSummaryResource;\n numberOfItemsToRender: number;\n}\nexport const WorkerPoolsContent = (props: WorkerPoolsContentProps) => {\n const theme = useOctopusTheme();\n return ;\n};\n","import { css } from \"@emotion/css\";\nimport type { PageAction } from \"@octopusdeploy/design-system-components\";\nimport { accessibilityStyles, EmptyStateOnboarding, ExternalLink } from \"@octopusdeploy/design-system-components\";\nimport { space } from \"@octopusdeploy/design-system-tokens\";\nimport type { EnvironmentsSummaryResource, TagSetResource, TenantResource, WorkerPoolsSummaryResource } from \"@octopusdeploy/octopus-server-client\";\nimport { Permission } from \"@octopusdeploy/octopus-server-client\";\nimport { AnalyticLinkLocationProvider } from \"@octopusdeploy/portal-analytics\";\nimport { links } from \"@octopusdeploy/portal-routes\";\nimport { sum } from \"lodash\";\nimport * as React from \"react\";\nimport { connect } from \"react-redux\";\nimport { WorkerContent } from \"~/areas/infrastructure/components/InfrastructureDashboard/WorkersCard/WorkerContent\";\nimport { repository } from \"~/clientInstance\";\nimport type { DataBaseComponentState } from \"~/components/DataBaseComponent/DataBaseComponent\";\nimport { DataBaseComponent } from \"~/components/DataBaseComponent/DataBaseComponent\";\nimport FormPage from \"~/components/FormPage/FormPage\";\nimport { PageContent } from \"~/components/PageContent/PageContent\";\nimport { PageLoading } from \"~/components/PageContent/PageLoading\";\nimport { isAllowed } from \"~/components/PermissionCheck/PermissionCheck\";\nimport * as tenantTagsets from \"~/components/tenantTagsets\";\nimport { EnvironmentsContent } from \"./EnvironmentsCard/EnvironmentsContent\";\nimport { HealthStatusContent } from \"./HealthStatusCard/HealthStatusContent\";\nimport { InfraOverviewCard } from \"./InfraOverviewCard\";\nimport { MachinesContent } from \"./MachinesCard/MachinesContent\";\nimport { RolesContent } from \"./RolesCard/RolesContent\";\nimport { TagSetsContent } from \"./TagSetsCard/TagSetsContent\";\nimport { TenantsContent } from \"./TenantsCard/TenantsContent\";\nimport { WorkerPoolsContent } from \"./WorkerPoolsCard/WorkerPoolsContent\";\ninterface InfrastructureDashboardState extends DataBaseComponentState {\n filterPartialName: string;\n isSearching: boolean;\n environmentsSummaryResource: EnvironmentsSummaryResource | undefined;\n}\ntype TenantResourceGroup = {\n environmentsSummaryResource: EnvironmentsSummaryResource | undefined;\n tenantResources: TenantResource[];\n};\ntype TagSetsResourceGroup = {\n environmentsSummaryResource: EnvironmentsSummaryResource | undefined;\n tagSetsResources: TagSetResource[];\n};\ninterface InitialData {\n environmentsSummaryPromise: Promise | undefined;\n workerpoolsSummaryPromise: Promise | undefined;\n machineRolesPromise: Promise | undefined;\n tenantResourceGroupPromises: Promise;\n tagSetsResourceGroupPromises: Promise;\n showOnboarding: boolean;\n}\ninterface InfrastructureDashboardProps {\n initialData: InitialData;\n spaceId: string;\n}\ninterface GlobalConnectedProps extends InfrastructureDashboardProps {\n isMultiTenancyEnabled: boolean;\n}\nconst InfrastructureDashboardFormPage = FormPage();\nconst Title = \"Overview\";\nconst maxNumberOfItemsToShowInCards = 50;\ninterface InfrastructureDashboardPageProps {\n spaceId: string;\n}\nconst InfrastructureDashboardPage: React.FC = ({ spaceId }) => {\n const showOnboarding = async () => {\n const noEnvironmentsPromise = isAllowed({ permission: Permission.EnvironmentView, wildcard: true }) ? repository.Environments.list({ take: 0 }).then((v) => v.TotalResults === 0) : Promise.resolve(false);\n const noWorkersPromise = isAllowed({ permission: Permission.WorkerView }) ? repository.Workers.list({ take: 0 }).then((v) => v.TotalResults === 0) : Promise.resolve(false);\n const noEnvironments = await noEnvironmentsPromise;\n const noWorkers = await noWorkersPromise;\n return noEnvironments && noWorkers;\n };\n return ( {\n const environmentsSummaryPromise = isAllowed({ permission: Permission.EnvironmentView, wildcard: true }) ? repository.Environments.summary() : undefined;\n const workerpoolsSummaryPromise = isAllowed({ permission: Permission.WorkerView }) ? repository.WorkerPools.summary() : undefined;\n const machineRolesPromise = isAllowed({ permission: Permission.EnvironmentView, wildcard: true }) ? repository.MachineRoles.all() : undefined;\n const tenantsPromise = isAllowed({ permission: Permission.TenantView, tenant: \"*\" }) ? repository.Tenants.all() : Promise.resolve([]);\n const tenantResourceGroupPromises = (async function loadTenantsResources() {\n return {\n tenantResources: await tenantsPromise,\n environmentsSummaryResource: await environmentsSummaryPromise,\n };\n })();\n const tagSetsResourceGroupPromises = (async function loadTagSetsPromise() {\n return {\n tagSetsResources: await tenantTagsets.getAll(),\n environmentsSummaryResource: await environmentsSummaryPromise,\n };\n })();\n return {\n environmentsSummaryPromise,\n workerpoolsSummaryPromise,\n machineRolesPromise,\n tenantResourceGroupPromises,\n tagSetsResourceGroupPromises,\n showOnboarding: await showOnboarding(),\n };\n }} renderWhenLoaded={(data) => } renderAlternate={() => }/>);\n};\nInfrastructureDashboardPage.displayName = \"InfrastructureDashboardPage\"\nclass InfrastructureDashboardInner extends DataBaseComponent {\n constructor(props: GlobalConnectedProps) {\n super(props);\n this.state = {\n isSearching: false,\n filterPartialName: \"\",\n environmentsSummaryResource: undefined,\n };\n }\n async componentDidMount() {\n return this.doBusyTask(async () => {\n const resource = await this.props.initialData.environmentsSummaryPromise;\n if (resource !== undefined) {\n this.setState({\n environmentsSummaryResource: resource,\n });\n }\n });\n }\n render() {\n const pageActions: PageAction[] = [\n {\n type: \"navigate\",\n label: \"Go to Environments\",\n buttonType: \"secondary\",\n path: links.infrastructureEnvironmentsPage.generateUrl({ spaceId: this.props.spaceId }),\n },\n ];\n return (<>\n {this.props.initialData.showOnboarding ? (<>\n

    {Title}

    \n \n } actions={pageActions}/>\n \n ) : (\n
    \n {this.props.initialData.environmentsSummaryPromise && ( key=\"environmentsCard\" title=\"Environments\" getCount={(resource: EnvironmentsSummaryResource) => resource.EnvironmentSummaries.length} link={links.infrastructureEnvironmentsPage.generateUrl({ spaceId: this.props.spaceId })} dataPromise={this.props.initialData.environmentsSummaryPromise} hasContent={(resource: EnvironmentsSummaryResource) => resource.EnvironmentSummaries.length > 0} renderContent={(summaryResource: EnvironmentsSummaryResource) => }/>)}\n {this.props.initialData.environmentsSummaryPromise && ( key=\"machinesCard\" title=\"Deployment Targets\" link={links.deploymentTargetsPage.generateUrl({ spaceId: this.props.spaceId })} getCount={(resource: EnvironmentsSummaryResource) => resource.TotalMachines} dataPromise={this.props.initialData.environmentsSummaryPromise} hasContent={(resource: EnvironmentsSummaryResource) => resource.TotalMachines > 0} renderContent={(summaryResource: EnvironmentsSummaryResource) => ( links.deploymentTargetsPage.generateUrl({ spaceId: this.props.spaceId }, filter)} summaryResource={summaryResource} doBusyTask={this.doBusyTask}/>)}/>)}\n\n {this.props.initialData.environmentsSummaryPromise && ( key=\"targetHealthStatusCard\" title=\"Target Status\" link={links.deploymentTargetsPage.generateUrl({ spaceId: this.props.spaceId })} getCount={(resource: EnvironmentsSummaryResource) => sum(Object.values(resource.MachineHealthStatusSummaries))} dataPromise={this.props.initialData.environmentsSummaryPromise} hasContent={(resource: EnvironmentsSummaryResource) => resource.TotalMachines > 0} renderContent={(summaryResource: EnvironmentsSummaryResource) => ( links.deploymentTargetsPage.generateUrl({ spaceId: this.props.spaceId }, filter)} summaryResource={summaryResource}/>)}/>)}\n {this.props.initialData.machineRolesPromise && ( key=\"rolesCard\" title=\"Target Tags\" link={links.deploymentTargetsPage.generateUrl({ spaceId: this.props.spaceId })} getCount={(resource: string[]) => resource.length} dataPromise={this.props.initialData.machineRolesPromise} hasContent={(resource: string[]) => resource.length > 0} renderContent={(summaryResource: string[]) => ( links.deploymentTargetsPage.generateUrl({ spaceId: this.props.spaceId }, filter)} numberOfItemsToRender={maxNumberOfItemsToShowInCards}/>)}/>)}\n {this.props.initialData.workerpoolsSummaryPromise && ( key=\"workersCard\" title=\"Worker Pools\" link={links.workerPoolsPage.generateUrl({ spaceId: this.props.spaceId })} getCount={(resource: WorkerPoolsSummaryResource) => resource.WorkerPoolSummaries.length} dataPromise={this.props.initialData.workerpoolsSummaryPromise} hasContent={(resource: WorkerPoolsSummaryResource) => resource.WorkerPoolSummaries.length > 0} renderContent={(summaryResource: WorkerPoolsSummaryResource) => }/>)}\n {this.props.initialData.workerpoolsSummaryPromise && ( key=\"workersMachinesCard\" title=\"Workers\" link={links.workerMachinesPage.generateUrl({ spaceId: this.props.spaceId })} getCount={(resource: WorkerPoolsSummaryResource) => sum(Object.values(resource.MachineEndpointSummaries))} dataPromise={this.props.initialData.workerpoolsSummaryPromise} hasContent={(resource: WorkerPoolsSummaryResource) => resource.TotalMachines > 0} renderContent={(summaryResource: WorkerPoolsSummaryResource) => ( links.workerMachinesPage.generateUrl({ spaceId: this.props.spaceId }, filter)} summaryResource={summaryResource} doBusyTask={this.doBusyTask}/>)}/>)}\n {this.props.initialData.workerpoolsSummaryPromise && ( key=\"workerHealthStatusCard\" title=\"Worker Status\" link={links.workerMachinesPage.generateUrl({ spaceId: this.props.spaceId })} getCount={(resource: WorkerPoolsSummaryResource) => sum(Object.values(resource.MachineHealthStatusSummaries))} dataPromise={this.props.initialData.workerpoolsSummaryPromise} hasContent={(resource: WorkerPoolsSummaryResource) => resource.WorkerPoolSummaries.length > 0} renderContent={(summaryResource: WorkerPoolsSummaryResource) => ( links.workerMachinesPage.generateUrl({ spaceId: this.props.spaceId }, filter)} summaryResource={summaryResource}/>)}/>)}\n {this.props.initialData.tagSetsResourceGroupPromises &&\n this.props.isMultiTenancyEnabled &&\n isAllowed({\n permission: Permission.TenantView,\n tenant: \"*\",\n }) && ( key=\"tagSetsCard\" title=\"Tenant Tag Sets\" link={links.tagSetsPage.generateUrl({ spaceId: this.props.spaceId })} getCount={(resource: TagSetsResourceGroup) => resource.tagSetsResources.length} dataPromise={this.props.initialData.tagSetsResourceGroupPromises} hasContent={(resource: TagSetsResourceGroup) => resource.tagSetsResources.length > 0} renderContent={(summaryResource: TagSetsResourceGroup) => ()}/>)}\n {this.props.initialData.tenantResourceGroupPromises &&\n this.props.isMultiTenancyEnabled &&\n isAllowed({\n permission: Permission.TenantView,\n tenant: \"*\",\n }) && ( key=\"tenantsCard\" title=\"Tenants\" link={links.tenantsPage.generateUrl({ spaceId: this.props.spaceId })} getCount={(resource: TenantResourceGroup) => resource.tenantResources?.length} dataPromise={this.props.initialData.tenantResourceGroupPromises} hasContent={(resource: TenantResourceGroup) => resource.tenantResources.length > 0} renderContent={(summaryResource: TenantResourceGroup) => ()}/>)}\n
    \n
    )}\n );\n }\n static displayName = \"InfrastructureDashboardInner\";\n}\nconst mapGlobalStateToProps = (state: GlobalState, props: InfrastructureDashboardProps): GlobalConnectedProps => {\n return {\n isMultiTenancyEnabled: state.configurationArea.currentSpace.isMultiTenancyEnabled,\n initialData: props.initialData,\n spaceId: props.spaceId,\n };\n};\nconst InfrastructureDashboard = connect(mapGlobalStateToProps)(InfrastructureDashboardInner);\nexport default InfrastructureDashboardPage;\nconst cardsContainerStyles = css({\n display: \"flex\",\n gap: space[32],\n flexWrap: \"wrap\",\n});\nconst accessibilityTitle = css({\n ...accessibilityStyles.hidden,\n});\n","import InfrastructureDashboard from \"./InfrastructureDashboard\";\nexport default InfrastructureDashboard;\n","/* eslint-disable @typescript-eslint/consistent-type-assertions */\nimport { ActionButton, ActionButtonType, Callout } from \"@octopusdeploy/design-system-components\";\nimport type { PrimaryPageAction } from \"@octopusdeploy/design-system-components\";\nimport type { BasicRepository, KubernetesTentacleEndpointResource, MachineConnectionStatus, MachineResource, NewMachineResource, TentacleEndpointResource } from \"@octopusdeploy/octopus-server-client\";\nimport { CommunicationStyleValues, EndpointsHelper, MachineModelHealthStatusValues, UpgradeStatus } from \"@octopusdeploy/octopus-server-client\";\nimport { links } from \"@octopusdeploy/portal-routes\";\nimport { noOp } from \"@octopusdeploy/utilities\";\nimport * as React from \"react\";\nimport { repository } from \"~/clientInstance\";\nimport type { DataBaseComponentState } from \"~/components/DataBaseComponent\";\nimport { DataBaseComponent } from \"~/components/DataBaseComponent\";\nimport FormPage from \"~/components/FormPage/FormPage\";\nimport { PageContent } from \"~/components/PageContent/PageContent\";\nimport { Section } from \"~/components/Section/Section\";\nimport TaskLogLines from \"~/components/TaskLogLines/TaskLogLines\";\nimport { Note } from \"~/components/form\";\nimport { DataTable } from \"~/primitiveComponents/dataDisplay/DataTable/DataTable\";\nimport { DataTableBody } from \"~/primitiveComponents/dataDisplay/DataTable/DataTableBody\";\nimport { DataTableRow } from \"~/primitiveComponents/dataDisplay/DataTable/DataTableRow\";\nimport { DataTableRowColumn } from \"~/primitiveComponents/dataDisplay/DataTable/DataTableRowColumn\";\nimport { DataTableRowHeaderColumn } from \"~/primitiveComponents/dataDisplay/DataTable/DataTableRowHeaderColumn\";\nimport DateFormatter from \"~/utils/DateFormatter\";\nimport InternalRedirect from \"../../../../components/Navigation/InternalRedirect/InternalRedirect\";\ninterface MachineConnectionsBaseProps {\n repository: BasicRepository;\n itemDescription: string;\n getConnectionStatus(machine: MachineResource): Promise;\n}\ninterface MachineConnectionsProps {\n machineId: string;\n}\ntype MachineConnectionsPageProps = MachineConnectionsBaseProps & MachineConnectionsProps;\ninterface MachineConnectionsInternalProps extends MachineConnectionsPageProps {\n initialData: InitialData;\n}\ninterface MachineConnectionsState extends DataBaseComponentState {\n redirectToTaskId?: string;\n machine: MachineResource;\n}\ninterface InitialData {\n machine: MachineResource;\n connectionStatus: MachineConnectionStatus;\n}\ninterface CommonVersionDetails {\n Version: string | null;\n UpgradeStatus: UpgradeStatus;\n UpgradeLocked: boolean;\n}\nexport function DeploymentTargetConnectionsPage({ machineId }: MachineConnectionsProps) {\n return repository.Machines.getConnectionStatus(machine)} machineId={machineId}/>;\n}\nexport function WorkerMachineConnectionsPage({ machineId }: MachineConnectionsProps) {\n return repository.Workers.getConnectionStatus(machine)} machineId={machineId}/>;\n}\nconst Title = \"Connectivity\";\nconst MachineConnectionsFormPage = FormPage();\nconst MachineConnectionsPage: React.FC = (props: MachineConnectionsPageProps) => {\n return ( {\n const machineId = props.machineId;\n const machine = await props.repository.get(machineId);\n const connectionStatus = await props.getConnectionStatus(machine);\n return { machineId, machine, connectionStatus };\n }} renderWhenLoaded={(data) => }/>);\n};\nMachineConnectionsPage.displayName = \"MachineConnectionsPage\"\nclass MachineConnectionsLayoutInternal extends DataBaseComponent {\n constructor(props: MachineConnectionsInternalProps) {\n super(props);\n this.state = {\n machine: props.initialData.machine,\n };\n }\n render() {\n if (this.state.redirectToTaskId) {\n return ;\n }\n const checkHealthPageAction: PrimaryPageAction = {\n type: \"button\",\n label: \"Check health\",\n disabled: this.state.busy,\n onClick: () => this.performHealthCheck(),\n };\n const communicationsSection = this.renderCommunicationStyleInfo();\n const calamariUpgradeSection = this.renderCalamariUpgradeInfo();\n const tentacleSection = this.renderTentacleInfo();\n const logsSection = this.renderLogsInfo();\n return (\n {communicationsSection &&
    {communicationsSection}
    }\n\n {calamariUpgradeSection &&
    {calamariUpgradeSection}
    }\n\n {tentacleSection &&
    {tentacleSection}
    }\n\n {logsSection &&
    {logsSection}
    }\n
    );\n }\n private renderLogsInfo() {\n const connectionStatus = this.props.initialData.connectionStatus;\n if (!connectionStatus) {\n return null;\n }\n return ;\n }\n private renderCommunicationStyleInfo() {\n const machine = this.state.machine;\n const connectionStatus = this.props.initialData.connectionStatus;\n if (machine.Endpoint.CommunicationStyle === CommunicationStyleValues.None) {\n return (\n

    Cloud Regions are always healthy. Hooray!

    \n
    );\n }\n else {\n switch (connectionStatus.Status) {\n case MachineModelHealthStatusValues.Healthy:\n return (\n

    The last health check completed successfully

    \n Last health check {DateFormatter.momentAgo(connectionStatus.LastChecked as string)}\n
    );\n case MachineModelHealthStatusValues.Unhealthy:\n return (\n

    The last health check encountered errors

    \n Last health check {DateFormatter.momentAgo(connectionStatus.LastChecked as string)}\n
    );\n case MachineModelHealthStatusValues.HasWarnings:\n return (\n

    The last health check encountered warnings

    \n Last health check {DateFormatter.momentAgo(connectionStatus.LastChecked as string)}\n
    );\n case MachineModelHealthStatusValues.Unavailable:\n return (\n Last health check {DateFormatter.momentAgo(connectionStatus.LastChecked as string)}\n );\n case MachineModelHealthStatusValues.Unknown:\n return (\n

    This {this.props.itemDescription} was just added, and a health check has not been performed.

    \n
    );\n }\n }\n }\n private renderCalamariUpgradeInfo() {\n const machine = this.state.machine;\n if (!machine.HasLatestCalamari) {\n const calamariUpgradeButton = this.performCalamariUpgrade()}/>;\n return calamariUpgradeButton;\n }\n }\n private renderTentacleInfo() {\n const machine = this.state.machine;\n if (EndpointsHelper.isAnyTentacle(machine.Endpoint)) {\n const { Version: version, UpgradeLocked: upgradeLocked, UpgradeStatus: upgradeStatus } = this.GetVersionDetails(machine.Endpoint);\n if (!version) {\n return null;\n }\n return (
    \n {upgradeStatus === UpgradeStatus.UpgradeAvailable && }\n {upgradeStatus === UpgradeStatus.UpgradeSuggested && }\n {upgradeStatus === UpgradeStatus.UpgradeRequired && }\n \n \n \n Current Version\n {version}\n \n {EndpointsHelper.isKubernetesTentacle(machine.Endpoint) && this.GetKubernetesAgentVersionDetails(machine.Endpoint)}\n \n  \n \n {upgradeLocked && this.lockVersion(false)}/>}\n {!upgradeLocked && (
    \n this.lockVersion(true)}/>\n Ensures this Tentacle does not get updated past currently installed version or get prompted when newer versions are available.\n
    )}\n
    \n
    \n \n  \n {upgradeStatus !== UpgradeStatus.NoUpgrades && this.upgradeTentacle()}/>}\n \n
    \n
    \n
    );\n }\n }\n private GetKubernetesAgentVersionDetails(endpoint: KubernetesTentacleEndpointResource) {\n return (<>\n \n Tentacle Version\n {endpoint.KubernetesAgentDetails?.TentacleVersion}\n \n \n Helm Release Name\n {endpoint.KubernetesAgentDetails?.HelmReleaseName}\n \n \n Namespace\n {endpoint.KubernetesAgentDetails?.KubernetesNamespace}\n \n \n Kubernetes Monitor Enabled\n {endpoint.KubernetesAgentDetails?.KubernetesMonitorEnabled ? \"Enabled\" : \"Disabled\"}\n \n {endpoint.KubernetesAgentDetails?.KubernetesMonitorEnabled && (\n Kubernetes Monitor Status\n {endpoint.KubernetesAgentDetails?.KubernetesMonitorStatus}\n )}\n );\n }\n private GetVersionDetails(endpoint: TentacleEndpointResource | KubernetesTentacleEndpointResource): CommonVersionDetails {\n if (EndpointsHelper.isTentacle(endpoint)) {\n const tentacleDetails = endpoint.TentacleVersionDetails;\n let upgradeStatus = UpgradeStatus.NoUpgrades;\n if (tentacleDetails.UpgradeRequired) {\n upgradeStatus = UpgradeStatus.UpgradeRequired;\n }\n else if (tentacleDetails.UpgradeSuggested) {\n upgradeStatus = UpgradeStatus.UpgradeSuggested;\n }\n else if (tentacleDetails.UpgradeAvailable) {\n upgradeStatus = UpgradeStatus.UpgradeAvailable;\n }\n const version = tentacleDetails.Version;\n const upgradeLocked = tentacleDetails.UpgradeLocked;\n return { Version: version, UpgradeLocked: upgradeLocked, UpgradeStatus: upgradeStatus };\n }\n if (EndpointsHelper.isKubernetesTentacle(endpoint)) {\n const kubernetesAgentDetails = endpoint.KubernetesAgentDetails;\n const version = kubernetesAgentDetails?.AgentVersion ?? null;\n const upgradeStatus = kubernetesAgentDetails?.UpgradeStatus ?? UpgradeStatus.NoUpgrades;\n const upgradeLocked = endpoint.UpgradeLocked;\n return { Version: version, UpgradeLocked: upgradeLocked, UpgradeStatus: upgradeStatus };\n }\n throw new Error(`Cannot get Version Details for Unsupported Endpoint ${endpoint}`);\n }\n private async lockVersion(isToBeLocked: boolean) {\n const machine = this.state.machine;\n if (EndpointsHelper.isTentacle(machine.Endpoint)) {\n machine.Endpoint.TentacleVersionDetails.UpgradeLocked = isToBeLocked;\n await this.doBusyTask(async () => {\n await this.props.repository.save(machine);\n this.setState({ machine });\n });\n }\n if (EndpointsHelper.isKubernetesTentacle(machine.Endpoint)) {\n machine.Endpoint.UpgradeLocked = isToBeLocked;\n await this.doBusyTask(async () => {\n await this.props.repository.save(machine);\n this.setState({ machine });\n });\n }\n }\n private async upgradeTentacle() {\n return this.doBusyTask(async () => {\n const res = await repository.Machines.upgradeTentacle(this.state.machine.Id);\n if (res.Tasks.length > 0) {\n this.setState({ redirectToTaskId: res.Tasks[0].Id });\n }\n });\n }\n private async performHealthCheck() {\n return this.doBusyTask(async () => {\n const task = await repository.Tasks.createHealthCheckTaskForMachine(this.state.machine);\n this.setState({ redirectToTaskId: task.Id });\n });\n }\n private async performCalamariUpgrade() {\n return this.doBusyTask(async () => {\n const task = await repository.Tasks.createUpdateCalamariOnTargetTask(this.state.machine);\n this.setState({ redirectToTaskId: task.Id });\n });\n }\n static displayName = \"MachineConnectionsLayoutInternal\";\n}\n","import type { DeploymentTargetResource, ResourceCollection, TaskResource } from \"@octopusdeploy/octopus-server-client\";\nimport { links } from \"@octopusdeploy/portal-routes\";\nimport * as React from \"react\";\nimport { repository } from \"~/clientInstance\";\nimport type { DataBaseComponentState } from \"~/components/DataBaseComponent\";\nimport { DataBaseComponent } from \"~/components/DataBaseComponent\";\nimport FormPage from \"~/components/FormPage/FormPage\";\nimport { PageContent } from \"~/components/PageContent/PageContent\";\nimport List from \"~/components/PagingList\";\nimport TaskDetails from \"~/components/TaskDetails/TaskDetails\";\nclass DeploymentTasksList extends List> {\n}\ninterface MachineDeploymentsPageProps {\n machineId: string;\n}\ninterface MachineDeploymentsInternalProps {\n initialData: InitialData;\n}\ninterface InitialData {\n machine: DeploymentTargetResource;\n tasksResponse: ResourceCollection>;\n}\ninterface MachineDeploymentsState extends DataBaseComponentState {\n tasksResponse: ResourceCollection>;\n}\nconst Title = \"Deployments\";\nconst MachineDeploymentsLayoutFormPage = FormPage();\nexport function MachineDeploymentsPage({ machineId }: MachineDeploymentsPageProps) {\n return ( {\n const machine = await repository.Machines.get(machineId);\n const tasksResponse = await repository.Machines.getDeployments(machine, { skip: 0 });\n return { machine, tasksResponse };\n }} renderWhenLoaded={(data) => }/>);\n}\nclass MachineDeploymentsLayoutInner extends DataBaseComponent {\n constructor(props: MachineDeploymentsInternalProps) {\n super(props);\n this.state = {\n tasksResponse: props.initialData.tasksResponse,\n };\n }\n render() {\n return (\n ) => this.buildDeploymentTaskRow(item)} onRowRedirectUrl={(task: TaskResource<{}>) => links.taskPage.generateUrl({ taskId: task.Id })} showPagingInNumberedStyle={true} onPageSelected={async (skip: number, p: number) => {\n await this.loadDeploymentTasks(skip);\n }}/>\n );\n }\n private async loadDeploymentTasks(skip: number) {\n const tasksResponse = await repository.Machines.getDeployments(this.props.initialData.machine, { skip });\n this.setState({ tasksResponse });\n }\n private buildDeploymentTaskRow(task: TaskResource<{}>) {\n return ;\n }\n static displayName = \"MachineDeploymentsLayoutInner\";\n}\n","/* eslint-disable @typescript-eslint/no-non-null-assertion */\n/* eslint-disable @typescript-eslint/consistent-type-assertions */\nimport { BooleanRadioButtonGroup, BooleanRadioButton } from \"@octopusdeploy/design-system-components\";\nimport type { BreadcrumbItem, PageAction } from \"@octopusdeploy/design-system-components\";\nimport { Permission, EndpointsHelper, CommunicationStyleValues } from \"@octopusdeploy/octopus-server-client\";\nimport type { CertificateConfigurationResource, ListeningTentacleEndpointResource, MachineResource, ProxyResource, SshEndpointResource, EndpointCommunicationStyle, CommunicationStyle } from \"@octopusdeploy/octopus-server-client\";\nimport type { LinkHref, EndpointRegistrationKey } from \"@octopusdeploy/portal-routes\";\nimport { links, EndpointRegistrationKeyValues } from \"@octopusdeploy/portal-routes\";\nimport { cloneDeep } from \"lodash\";\nimport * as React from \"react\";\nimport { useLocation } from \"react-router\";\nimport URI from \"urijs\";\nimport LinuxCategoryDefinition from \"~/areas/infrastructure/components/MachineSettings/Endpoints/LinuxCategoryDefinition\";\nimport WindowsCategoryDefinition from \"~/areas/infrastructure/components/MachineSettings/Endpoints/WindowsCategoryDefinition\";\nimport { LinuxListeningTentacleCallout, WindowsListeningTentacleCallout } from \"~/areas/infrastructure/components/TentacleCallout\";\nimport { repository } from \"~/clientInstance\";\nimport FormBaseComponent from \"~/components/FormBaseComponent\";\nimport type { FormBaseComponentState } from \"~/components/FormBaseComponent/FormBaseComponent\";\nimport FormPage from \"~/components/FormPage/FormPage\";\nimport { LegacyForm } from \"~/components/FormPaperLayout/LegacyForm\";\nimport { PageContent } from \"~/components/PageContent/PageContent\";\nimport ServerThumbprint from \"~/components/ServerThumbprint/ServerThumbprint\";\nimport { ExpandableFormSection, required, Select, Summary, Text } from \"~/components/form\";\nimport CommonSummaryHelper from \"~/utils/CommonSummaryHelper\";\nimport ParseHelper from \"~/utils/ParseHelper\";\nimport InternalRedirect from \"../../../../components/Navigation/InternalRedirect/InternalRedirect\";\nimport endpointRegistry from \"../MachineSettings/Endpoints/endpointRegistry\";\ninterface DiscoveryEndpoint {\n key: EndpointRegistrationKey;\n communicationStyle: CommunicationStyle;\n host: string;\n port: number;\n proxyId: string | undefined;\n}\ninterface DiscoveryPageProps {\n spaceId: string;\n breadcrumbItems?: BreadcrumbItem[];\n title: string;\n machineTypeDescription: string;\n createLink: typeof links.createDeploymentTargetPage | typeof links.createWorkerMachinePage;\n discover(host: string, port: number, type: {}, proxyId: string | undefined): Promise;\n environmentId?: string;\n workerPoolId?: string;\n endpointKey: EndpointRegistrationKey;\n}\ninterface MachineDiscoveryProps extends DiscoveryPageProps {\n initialData: InitialData;\n}\ninterface MachineDiscoveryState extends FormBaseComponentState {\n communicationStyles: EndpointCommunicationStyle[];\n octopusVersion: string;\n shouldUseProxy: boolean;\n redirectTo?: LinkHref;\n open: boolean;\n}\ninterface InitialData {\n proxies: ProxyResource[];\n globalCertificate: CertificateConfigurationResource;\n communicationStyle: CommunicationStyle;\n queryParams: {\n [k: string]: string;\n };\n key: EndpointRegistrationKey;\n category?: string;\n}\ninterface DeploymentTargetDiscoveryPageProps {\n spaceId: string;\n environmentId?: string;\n endpointKey: EndpointRegistrationKey;\n}\ninterface WorkerMachineDiscoveryPageProps {\n spaceId: string;\n workerPoolId?: string;\n endpointKey: EndpointRegistrationKey;\n}\nexport function DeploymentTargetDiscoveryPage({ spaceId, environmentId, endpointKey }: DeploymentTargetDiscoveryPageProps) {\n const registration = endpointRegistry.getMachine(endpointKey);\n const title = `Create ${registration ? registration.name : \"deployment target\"}`;\n const breadcrumbItems: BreadcrumbItem[] = [\n {\n label: \"New Deployment Target\",\n pageUrl: environmentId ? links.newDeploymentTargetWithEnvironmentPage.generateUrl({ spaceId, environmentId }) : links.newDeploymentTargetPage.generateUrl({ spaceId }),\n },\n ];\n const discover = (host: string, port: number, type: {}, proxyId: string | undefined) => repository.Machines.discover(host, port, type, proxyId);\n return ();\n}\nexport function WorkerMachineDiscoveryPage({ spaceId, workerPoolId, endpointKey }: WorkerMachineDiscoveryPageProps) {\n const registration = endpointRegistry.getMachine(endpointKey);\n const title = `Create ${registration ? registration.name : \"worker\"}`;\n const breadcrumbItems: BreadcrumbItem[] = [\n {\n label: \"New Worker\",\n pageUrl: workerPoolId ? links.newWorkerMachineWithWorkerPoolPage.generateUrl({ spaceId, workerPoolId }) : links.newWorkerMachinePage.generateUrl({ spaceId }),\n },\n ];\n const discover = (host: string, port: number, type: {}, proxyId: string | undefined) => repository.Workers.discover(host, port, type, proxyId);\n return ;\n}\nconst DiscoveryLayoutFormPage = FormPage();\nfunction DiscoveryPage(props: DiscoveryPageProps) {\n const location = useLocation();\n return ( {\n const proxies = repository.Proxies.all();\n const globalCertificate = repository.CertificateConfiguration.global();\n const environmentId = props.environmentId;\n const workerPoolId = props.workerPoolId;\n const search = new URI(location.search).search(true);\n const key = props.endpointKey;\n const communicationStyle = endpointRegistry.getEndpoint(key).communicationStyle;\n const queryParams: {\n [k: string]: string | CommunicationStyle;\n } = {\n type: communicationStyle,\n };\n if (environmentId) {\n queryParams.environment = environmentId;\n }\n if (workerPoolId) {\n queryParams.workerPool = workerPoolId;\n }\n return {\n proxies: await proxies,\n globalCertificate: await globalCertificate,\n communicationStyle,\n queryParams,\n key,\n category: search.category,\n };\n }} renderWhenLoaded={(data) => {\n return ;\n }}/>);\n}\nclass MachineDiscoveryLayoutInternal extends FormBaseComponent {\n private environmentId: string | null = undefined!; // if adding deploy target from the environment tab otherwise its null (env is specified via wizard)\n private workerPoolId: string | null = undefined!; // if adding deploy target from workerpool tab\n constructor(props: MachineDiscoveryProps) {\n super(props);\n const port = EndpointsHelper.getDefaultPort(props.initialData.communicationStyle);\n const model = {\n key: props.initialData.key,\n communicationStyle: props.initialData.communicationStyle,\n host: \"\",\n port,\n proxyId: \"\",\n };\n this.state = {\n communicationStyles: EndpointsHelper.communicationStyles,\n octopusVersion: repository.getServerInformation().version,\n shouldUseProxy: false,\n model,\n open: false,\n cleanModel: cloneDeep(model),\n };\n }\n render() {\n if (this.state.redirectTo) {\n return ;\n }\n const pageActions: PageAction[] = [];\n if (EndpointsHelper.canDiscover(this.state.model.communicationStyle)) {\n pageActions.push({ type: \"navigate\", label: \"Enter details manually\", path: this.props.createLink.generateUrl({ spaceId: this.props.spaceId }, this.props.initialData.queryParams), buttonType: \"secondary\" });\n }\n const hideActions = !(EndpointsHelper.canDiscover(this.state.model.communicationStyle) || (this.state.model.communicationStyle && !EndpointsHelper.isPollingTentacle(this.state.model.communicationStyle)));\n return ( this.handleNextAction()}>\n {({ FormContent, createSaveAction }) => (\n \n {this.state.model.key === EndpointRegistrationKeyValues.TentaclePassive && (this.props.initialData.category === WindowsCategoryDefinition.category || this.props.initialData.category === undefined) && (}/>)}\n {this.state.model.key === EndpointRegistrationKeyValues.TentaclePassive && this.props.initialData.category === LinuxCategoryDefinition.category && (}/>)}\n\n {EndpointsHelper.canDiscover(this.state.model.communicationStyle) && (
    \n \n Enter the DNS name or IP of the {this.props.machineTypeDescription} to discover, eg example.com, 10.0.1.23.\n }>\n this.setModelState({ host })} validate={required(\"Please enter a hostname\")} error={this.getFieldError(\"host\")} type=\"url\" autoFocus={EndpointsHelper.canDiscover(this.state.model.communicationStyle)}/>\n \n \n {\n const portAsNumber: number = ParseHelper.safeParseInt(x, undefined);\n if (portAsNumber) {\n this.setModelState({ port: portAsNumber });\n }\n }} type=\"number\"/>\n \n \n {\n const discoveryEndpoint = this.state.model;\n discoveryEndpoint.proxyId = undefined;\n this.setState({\n shouldUseProxy,\n model: discoveryEndpoint,\n });\n }} value={this.state.shouldUseProxy}>\n \n \n \n {this.state.shouldUseProxy && ( {\n if (HealthCheckCronTimezone) {\n this.setChildState2(\"model\", \"MachineHealthCheckPolicy\", { HealthCheckCronTimezone });\n }\n }} items={this.props.initialData.timezones.map((pg) => ({ value: pg.Id, text: pg.Name }))} label=\"Select timezone\"/>\n Schedule run times will be calculated using this timezone.\n )}\n\n \n this.setChildState2(\"model\", \"MachineHealthCheckPolicy\", { HealthCheckType: x })}>\n \n \n \n \n SSH health checks will also check for the presence of required dependencies unless only perform connection test is selected.\n \n \n\n {this.state.model.MachineHealthCheckPolicy.HealthCheckType === HealthCheckType.RunScript && (\n {!this.state.model.IsDefault && ( this.setChildState3(\"model\", \"MachineHealthCheckPolicy\", \"PowerShellHealthCheckPolicy\", { RunType: x })}>\n \n \n )}\n {this.state.model.MachineHealthCheckPolicy.PowerShellHealthCheckPolicy && this.state.model.MachineHealthCheckPolicy.PowerShellHealthCheckPolicy.RunType === MachineScriptPolicyRunType.Inline && (
    \n this.setChildState3(\"model\", \"MachineHealthCheckPolicy\", \"PowerShellHealthCheckPolicy\", { ScriptBody: x })} showToolbar={true} showCopyButton={true} scriptingLanguageSelectorOptions={{\n supportedLanguages: [ScriptingLanguage.PowerShell],\n onScriptingLanguageChanged: noOp,\n }}/>\n \n Please see the documentation on machine policy scripting\n \n
    )}\n
    )}\n {this.state.model.MachineHealthCheckPolicy.HealthCheckType === HealthCheckType.RunScript && (\n {!this.state.model.IsDefault && ( this.setChildState3(\"model\", \"MachineHealthCheckPolicy\", \"BashHealthCheckPolicy\", { RunType: x })}>\n \n \n )}\n {this.state.model.MachineHealthCheckPolicy.BashHealthCheckPolicy && this.state.model.MachineHealthCheckPolicy.BashHealthCheckPolicy.RunType === MachineScriptPolicyRunType.Inline && (
    \n this.setChildState3(\"model\", \"MachineHealthCheckPolicy\", \"BashHealthCheckPolicy\", { ScriptBody: x })} showToolbar={true} showCopyButton={true} scriptingLanguageSelectorOptions={{\n supportedLanguages: [ScriptingLanguage.Bash],\n onScriptingLanguageChanged: noOp,\n }}/>\n \n Please see the documentation on machine policy scripting\n \n
    )}\n
    )}\n\n \n\n \n this.setChildState2(\"model\", \"MachineConnectivityPolicy\", { MachineConnectivityBehavior: x })}>\n \n \n \n {this.state.model.MachineConnectivityPolicy.MachineConnectivityBehavior === MachineConnectivityBehavior.MayBeOfflineAndCanBeSkipped && (\n Health checks will succeed without warning if a deployment target in this policy is unavailable.\n )}\n \n\n \n this.setModelState({ ConnectionConnectTimeout })} error={this.getFieldError(\"ConnectionConnectTimeout\")}/>\n The actual timeout may be shorter due to operating system limits\n {this.getResetLink(\"ConnectionConnectTimeout\", \"timeout\")}\n \n\n \n this.setModelState({ ConnectionRetryCountLimit: parseInt(v, 10) })} label=\"Retry Attempts\" type=\"number\" min={1} validate={required(\"Please enter the number of retries\")} error={this.getFieldError(\"ConnectionRetryCountLimit\")}/>\n {this.getResetLink(\"ConnectionRetryCountLimit\", \"limit\")}\n \n\n \n this.setModelState({ ConnectionRetrySleepInterval })} error={this.getFieldError(\"ConnectionRetrySleepInterval\")}/>\n {this.getResetLink(\"ConnectionRetrySleepInterval\", \"interval\")}\n \n\n \n this.setModelState({ ConnectionRetryTimeLimit })} error={this.getFieldError(\"ConnectionRetryTimeLimit\")}/>\n {this.getResetLink(\"ConnectionRetryTimeLimit\", \"limit\")}\n \n\n \n this.setModelState({ PollingRequestQueueTimeout })} error={this.getFieldError(\"PollingRequestQueueTimeout\")}/>\n {this.getResetLink(\"PollingRequestQueueTimeout\", \"timeout\")}\n \n\n \n\n \n this.setChildState2(\"model\", \"MachineUpdatePolicy\", { CalamariUpdateBehavior: x })}>\n \n \n \n \n \n\n \n this.setChildState2(\"model\", \"MachineUpdatePolicy\", { TentacleUpdateBehavior: x })}>\n \n \n \n \n\n \n Select the{\" \"}\n \n account\n {\" \"}\n to use for Tentacle updates.\n }>\n this.setChildState2(\"model\", \"MachineUpdatePolicy\", { TentacleUpdateAccountId: x })} items={this.state.accounts}/>\n {this.state.model.MachineUpdatePolicy.TentacleUpdateAccountId !== \"\" && (\n The selected account will be used for Tentacle updates instead of the service account running Tentacle. If Tentacle is running as Local System this option will not work. See{\" \"}\n the documentation on Tentacle update account.\n )}\n \n\n \n this.setChildState2(\"model\", \"MachineUpdatePolicy\", { KubernetesAgentUpdateBehavior: x })}>\n \n \n Update Kubernetes agents and{\" \"}\n Kubernetes workers manually via the UI.\n \n \n \n \n\n \n\n \n this.setChildState2(\"model\", \"MachineRpcCallRetryPolicy\", { Enabled: x })} accessibleName={\"RPC retries\"}>\n \n \n \n \n

    By enabling this feature you allow Octopus to re-attempt failed communication with Tentacle for a set duration.

    \n

    \n When disabled\n

    \n

    If a network error occurs while Octopus Deploy is communicating with Tentacle, the deployment, runbook run or health check will fail.

    \n

    \n When enabled\n

    \n

    If a network error occurs while Octopus Deploy is communicating with Tentacle, it will re-attempt communication with Tentacle for the amount of time configured below.

    \n

    However, if communication with Tentacle continues to fail after the lapsed duration, the deployment, runbook run or health check will fail.

    \n
    \n
    \n\n \n this.setChildState2(\"model\", \"MachineRpcCallRetryPolicy\", { RetryDuration })}/>\n {this.getResetLinkRpcRetryPolicy(\"RetryDuration\", \"duration\")}\n \n\n \n this.setChildState2(\"model\", \"MachineRpcCallRetryPolicy\", { HealthCheckRetryDuration })}/>\n {this.getResetLinkRpcRetryPolicy(\"HealthCheckRetryDuration\", \"duration\")}\n \n\n \n\n \n this.setChildState2(\"model\", \"MachineCleanupPolicy\", { DeleteMachinesBehavior: x })}>\n \n \n \n {this.state.model.MachineCleanupPolicy.DeleteMachinesBehavior === DeleteMachinesBehavior.DeleteUnavailableMachines && (
    \n this.setChildState2(\"model\", \"MachineCleanupPolicy\", { DeleteMachinesElapsedTimeSpan: x })}/>\n \n Please be aware this will cause unavailable deployment targets to be deleted during health checks if they do not become available within this time.\n \n
    )}\n
    \n \n {this.state.model.Id && ( this.onUsageTabActive()}>\n \n 0\n ? Summary.summary(
    \n This policy is being used by {numberOfMachines} {numberOfMachines === 1 ? \"deployment target\" : \"deployment targets\"}.\n
    )\n : Summary.summary(
    This policy is not currently used by any machines.
    )} help={numberOfMachines > 0 ? (
    \n This policy is being used by {numberOfMachines} {numberOfMachines === 1 ? \"deployment target\" : \"deployment targets\"}.\n
    ) : (
    This policy is not currently used by any machines.
    )}>\n
    \n {numberOfMachines > 0 && ( this.buildMachineUsingPolicyRow(item)} onRowRedirectUrl={(machine: DeploymentTargetResource) => links.deploymentTargetSettingsPage.generateUrl({ spaceId: machine.SpaceId, machineId: machine.Id })} onFilter={this.filterMachines} filterSearchEnabled={true} autoFocusOnFilterSearch={false} apiSearchParams={[\"partialName\"]} filterHintText=\"Filter by name...\" showPagingInNumberedStyle={true}/>)}\n
    \n
    \n
    \n \n 0\n ? Summary.summary(
    \n This policy is being used by {numberOfWorkers} {numberOfWorkers === 1 ? \"worker\" : \"workers\"}.\n
    )\n : Summary.summary(
    This policy is not currently used by any machines.
    )} help={numberOfWorkers > 0 ? (
    \n This policy is being used by {numberOfWorkers} {numberOfWorkers === 1 ? \"worker\" : \"workers\"}.\n
    ) : (
    This policy is not currently used by any machines.
    )}>\n
    \n {numberOfWorkers > 0 && ( this.buildMachineUsingPolicyRow(item)} onRowRedirectUrl={(worker: WorkerMachineResource) => links.workerMachineSettingsPage.generateUrl({ spaceId: worker.SpaceId, machineId: worker.Id })} onFilter={this.filterMachines} filterSearchEnabled={true} autoFocusOnFilterSearch={false} apiSearchParams={[\"partialName\"]} filterHintText=\"Filter by name...\" showPagingInNumberedStyle={true}/>)}\n
    \n
    \n
    \n
    )}\n \n )}\n \n )}\n );\n }\n private async onUsageTabActive() {\n if (this.state.machinesUsingPolicyList || isCreatePolicyProps(this.props)) {\n return;\n }\n await this.doBusyTask(async () => {\n const [machinesUsingPolicyResponse, workersUsingPolicyResponse] = await Promise.all([repository.MachinePolicies.getMachines(this.state.model), repository.MachinePolicies.getWorkers(this.state.model)]);\n this.setState({\n machinesUsingPolicyList: machinesUsingPolicyResponse,\n workersUsingPolicyList: workersUsingPolicyResponse,\n });\n });\n }\n private refreshAccounts = () => {\n return this.doBusyTask(async () => {\n this.setState({ accounts: await repository.Accounts.all() });\n });\n };\n private handleScheduleTypeChanged = (scheduleTypeString: string) => {\n const scheduleType = scheduleTypeString as ScheduleType;\n this.setState({ scheduleType });\n this.setChildState2(\"model\", \"MachineHealthCheckPolicy\", {\n HealthCheckInterval: scheduleType === ScheduleType.Interval ? this.state.cleanModel.MachineHealthCheckPolicy.HealthCheckInterval || \"1.00:00:00\" : undefined,\n HealthCheckCron: scheduleType === ScheduleType.Cron ? this.state.cleanModel.MachineHealthCheckPolicy.HealthCheckCron : undefined,\n });\n };\n private buildMachineUsingPolicyRow(machine: MachineResource) {\n return (
    \n {machine.Name}\n
    );\n }\n private filterMachines(filter: string, resource: MachineResource) {\n return !filter || filter.length === 0 || !resource || resource.Name.toLowerCase().includes(filter.toLowerCase());\n }\n private descriptionSummary() {\n return this.state.model.Description ? Summary.summary() : Summary.placeholder(\"No description provided\");\n }\n private healthCheckIntervalSummary() {\n if (this.state.model.MachineHealthCheckPolicy.HealthCheckInterval) {\n return Summary.summary(TimeSpanHelper.timeSpanTextToHumanReadableString(this.state.model.MachineHealthCheckPolicy.HealthCheckInterval));\n }\n }\n private getScheduleTypeSummary() {\n let summary = \"\";\n switch (this.state.scheduleType) {\n case ScheduleType.None:\n summary = \"Never\";\n break;\n case ScheduleType.Interval:\n summary = \"Runs at a set interval\";\n break;\n case ScheduleType.Cron:\n summary = \"Runs according to a cron expression\";\n break;\n default:\n return Summary.placeholder(\"Please select a schedule type\");\n }\n return Summary.summary(summary);\n }\n private healthCheckTypeSummary() {\n switch (this.state.model.MachineHealthCheckPolicy.HealthCheckType) {\n case HealthCheckType.RunScript:\n return Summary.default(\"Run health check scripts\");\n case HealthCheckType.OnlyConnectivity:\n return Summary.summary(\"Only perform connection test\");\n }\n }\n private timeSpanHasDefaultValue(key: keyof MachinePolicyResource) {\n return TimeSpanHelper.timeSpanTextValuesAreEqual(this.state.model[key] as string, this.props.initialData.template[key] as string);\n }\n private getTimespanSummaryOrDefaultForRpcRetryPolicy(text: string, key: keyof MachineRpcCallRetryPolicy) {\n return TimeSpanHelper.timeSpanTextValuesAreEqual(this.state.model.MachineRpcCallRetryPolicy[key] as string, this.props.initialData.template.MachineRpcCallRetryPolicy[key] as string) ? Summary.default(text) : Summary.summary(text);\n }\n private getTimespanSummaryOrDefault(text: string, key: keyof MachinePolicyResource) {\n return this.timeSpanHasDefaultValue(key) ? Summary.default(text) : Summary.summary(text);\n }\n private hasDefaultValue(key: keyof MachinePolicyResource) {\n return this.state.model[key] === this.props.initialData.template[key];\n }\n private hasDefaultValueRpcRetryPolicy(key: keyof MachineRpcCallRetryPolicy) {\n return this.state.model.MachineRpcCallRetryPolicy[key] === this.props.initialData.template.MachineRpcCallRetryPolicy[key];\n }\n private getResetLink(key: keyof MachinePolicyResource, valueDescription: string) {\n if (this.hasDefaultValue(key)) {\n return null;\n }\n const onClick = (e: {\n preventDefault: () => void;\n }) => {\n e.preventDefault();\n const newState: Partial = {\n [key]: this.props.initialData.template[key],\n };\n this.setModelState(newState as Pick);\n };\n return (\n \n Reset to the default {valueDescription}\n \n );\n }\n private getResetLinkRpcRetryPolicy(key: keyof MachineRpcCallRetryPolicy, valueDescription: string) {\n if (this.hasDefaultValueRpcRetryPolicy(key)) {\n return null;\n }\n const onClick = (e: {\n preventDefault: () => void;\n }) => {\n e.preventDefault();\n const newState: Partial = {\n [key]: this.props.initialData.template.MachineRpcCallRetryPolicy[key],\n };\n this.setChildState2(\"model\", \"MachineRpcCallRetryPolicy\", newState as Pick);\n };\n return (\n \n Reset to the default {valueDescription}\n \n );\n }\n private machineScriptPolicySummary(value: {\n RunType: MachineScriptPolicyRunType;\n }) {\n if (!value) {\n logger.error(\"Expecting a valid MachineScriptPolicy.\");\n return;\n }\n switch (value.RunType) {\n case MachineScriptPolicyRunType.InheritFromDefault:\n return Summary.default(\"Inherit from default machine policy\");\n case MachineScriptPolicyRunType.Inline:\n return Summary.summary(\"Use custom script\");\n default:\n return Summary.summary(
    Unsupported MachineScriptPolicyRunType \" + {value.RunType}
    );\n }\n }\n private machineConnectivityBehaviorSummary(value: MachineConnectivityBehavior) {\n switch (value) {\n case MachineConnectivityBehavior.ExpectedToBeOnline:\n return Summary.default(\"Unavailable deployment targets cause health checks to fail\");\n case MachineConnectivityBehavior.MayBeOfflineAndCanBeSkipped:\n return Summary.summary(\"Unavailable deployment targets will not cause health checks to fail\");\n default:\n return Summary.summary(\"Unsupported MachineConnectivityBehavior\");\n }\n }\n private calamariUpdateBehaviorSummary(value: CalamariUpdateBehavior) {\n switch (value) {\n case CalamariUpdateBehavior.UpdateOnDeployment:\n return Summary.default(\"Automatically update Calamari when a deployment target is involved in a deployment\");\n case CalamariUpdateBehavior.UpdateOnNewMachine:\n return Summary.summary(\"Automatically update Calamari the first time a deployment target comes online and then when it is involved in a deployment\");\n case CalamariUpdateBehavior.UpdateAlways:\n return Summary.summary(\"Always keep Calamari up to date\");\n default:\n return Summary.summary(\"Unsupported CalamariUpdateBehavior\");\n }\n }\n private tentacleUpdateBehaviorSummary(value: TentacleUpdateBehavior) {\n switch (value) {\n case TentacleUpdateBehavior.NeverUpdate:\n return Summary.default(\"Manually - from Deployment Targets\");\n case TentacleUpdateBehavior.Update:\n return Summary.summary(\"Automatically\");\n default:\n return Summary.summary(\"Unsupported TentacleUpdateBehavior\");\n }\n }\n private kubernetesAgentUpdateBehaviorSummary(value: KubernetesAgentUpdateBehavior) {\n switch (value) {\n case KubernetesAgentUpdateBehavior.NeverUpdate:\n return Summary.summary(\"Manually\");\n case KubernetesAgentUpdateBehavior.Update:\n return Summary.default(\"Automatically\");\n default:\n return Summary.summary(\"Unsupported KubernetesAgentUpdateBehavior\");\n }\n }\n private deleteMachinesBehaviorSummary(value: DeleteMachinesBehavior) {\n switch (value) {\n case DeleteMachinesBehavior.DoNotDelete:\n return Summary.default(\"Do not delete deployment targets automatically\");\n case DeleteMachinesBehavior.DeleteUnavailableMachines:\n return Summary.summary(
    Automatically delete unavailable deployment targets every {TimeSpanHelper.timeSpanTextToHumanReadableString(this.state.model.MachineCleanupPolicy.DeleteMachinesElapsedTimeSpan as string)}
    );\n default:\n return Summary.summary(\"Unsupported DeleteMachinesBehavior\");\n }\n }\n private handleSaveClick = async () => {\n await this.doBusyTask(async () => {\n const isNew = this.state.model.Id == null;\n const result = await repository.MachinePolicies.save(this.state.model);\n this.props.machinePolicyUpdatedDispatcher({ previous: this.state.cleanModel, current: result });\n this.setState({\n model: result,\n cleanModel: cloneDeep(result),\n newId: isNew ? result.Id : null,\n });\n });\n };\n private handleDeleteConfirm = async () => {\n await repository.MachinePolicies.del(this.state.model);\n this.setState((state) => {\n return {\n model: null,\n cleanModel: null, //reset model so that dirty state doesn't prevent navigation\n deleted: true,\n };\n });\n return true;\n };\n static displayName = \"MachinePolicyLayoutInner\";\n}\nfunction isCreatePolicyProps(props: MachinePolicyProps): props is CreateMachinePolicyProps {\n return \"create\" in props;\n}\n","// noinspection FunctionWithMoreThanThreeNegationsJS\nimport type { MachinePolicyResource, MachineRpcCallRetryPolicy } from \"@octopusdeploy/octopus-server-client\";\nimport type { AnalyticFields } from \"@octopusdeploy/portal-analytics\";\nimport { usePageEventDispatcher } from \"@octopusdeploy/portal-routes\";\nimport React from \"react\";\nimport { createBoolField, createOptionalBoolField, createOptionalStringField } from \"~/analytics/fields\";\nexport interface MachinePolicyUpdatedArguments {\n previous: MachinePolicyResource;\n current: MachinePolicyResource;\n}\nexport type MachinePolicyUpdatedDispatcher = (args: MachinePolicyUpdatedArguments) => void;\nexport function useNotifyMachinePolicyUpdate(): MachinePolicyUpdatedDispatcher {\n const dispatcher = usePageEventDispatcher();\n const transientNetworkErrorRecoveryChanges: (original: MachineRpcCallRetryPolicy, updated: MachineRpcCallRetryPolicy) => AnalyticFields = (previous, current) => {\n const behaviorUpdated = previous.Enabled !== current.Enabled;\n const retryDurationUpdated = previous.RetryDuration !== current.RetryDuration;\n const healthCheckRetryDurationUpdated = previous.HealthCheckRetryDuration !== current.HealthCheckRetryDuration;\n return {\n ...createBoolField(\"Recover from Communication Errors with Tentacle updated\", behaviorUpdated || retryDurationUpdated || healthCheckRetryDurationUpdated),\n ...createOptionalBoolField(behaviorUpdated, \"Recover from Communication Errors with Tentacle: Behavior (previous)\", previous.Enabled),\n ...createOptionalBoolField(behaviorUpdated, \"Recover from Communication Errors with Tentacle: Behavior (current)\", current.Enabled),\n ...createOptionalStringField(retryDurationUpdated, \"Recover from Communication Errors with Tentacle: Re-attempt duration for a Deployment/Runbook run (previous)\", previous.RetryDuration),\n ...createOptionalStringField(retryDurationUpdated, \"Recover from Communication Errors with Tentacle: Re-attempt duration for a Deployment/Runbook run (current)\", current.RetryDuration),\n ...createOptionalStringField(healthCheckRetryDurationUpdated, \"Recover from Communication Errors with Tentacle: Re-attempt duration for a Health Check (previous)\", previous.HealthCheckRetryDuration),\n ...createOptionalStringField(healthCheckRetryDurationUpdated, \"Recover from Communication Errors with Tentacle: Re-attempt duration for a Health Check (current)\", current.HealthCheckRetryDuration),\n };\n };\n return React.useCallback((args: MachinePolicyUpdatedArguments) => dispatcher(\"Machine Policy Updated\", {\n ...transientNetworkErrorRecoveryChanges(args.previous.MachineRpcCallRetryPolicy, args.current.MachineRpcCallRetryPolicy),\n }), [dispatcher]);\n}\n","import type { DeploymentTargetResource, ResourceCollection, TaskResource } from \"@octopusdeploy/octopus-server-client\";\nimport { links } from \"@octopusdeploy/portal-routes\";\nimport * as React from \"react\";\nimport { repository } from \"~/clientInstance\";\nimport type { DataBaseComponentState } from \"~/components/DataBaseComponent\";\nimport { DataBaseComponent } from \"~/components/DataBaseComponent\";\nimport FormPage from \"~/components/FormPage/FormPage\";\nimport { PageContent } from \"~/components/PageContent/PageContent\";\nimport List from \"~/components/PagingList\";\nimport TaskDetails from \"~/components/TaskDetails/TaskDetails\";\nclass RunbookRunTasksList extends List> {\n}\ninterface MachineRunbookRunsPageProps {\n machineId: string;\n}\ninterface MachineRunbookRunsInternalProps {\n initialData: InitialData;\n}\ninterface InitialData {\n machine: DeploymentTargetResource;\n tasksResponse: ResourceCollection>;\n}\ninterface MachineRunbookRunsState extends DataBaseComponentState {\n tasksResponse: ResourceCollection>;\n}\nconst Title = \"Runbook Runs\";\nconst MachineRunbookRunsLayoutFormPage = FormPage();\nexport function MachineRunbookRunsPage({ machineId }: MachineRunbookRunsPageProps) {\n return ( {\n const machine = await repository.Machines.get(machineId);\n const tasksResponse = await repository.Machines.getRunbookRuns(machine, { skip: 0 });\n return { machine, tasksResponse };\n }} renderWhenLoaded={(data) => }/>);\n}\nclass MachineRunbookRunsLayoutInner extends DataBaseComponent {\n constructor(props: MachineRunbookRunsInternalProps) {\n super(props);\n this.state = {\n tasksResponse: props.initialData.tasksResponse,\n };\n }\n render() {\n return (\n ) => this.buildRunbookRunTaskRow(item)} onRowRedirectUrl={(task: TaskResource<{}>) => links.taskPage.generateUrl({ taskId: task.Id })} showPagingInNumberedStyle={true} onPageSelected={async (skip: number, p: number) => {\n await this.loadRunbookRunTasks(skip);\n }}/>\n );\n }\n private async loadRunbookRunTasks(skip: number) {\n const tasksResponse = await repository.Machines.getRunbookRuns(this.props.initialData.machine, { skip });\n this.setState({ tasksResponse });\n }\n private buildRunbookRunTaskRow(task: TaskResource<{}>) {\n return ;\n }\n static displayName = \"MachineRunbookRunsLayoutInner\";\n}\n","/* eslint-disable @typescript-eslint/no-explicit-any */\nimport * as React from \"react\";\ninterface PageDividerProps {\n children: any;\n as?: React.ReactType;\n}\nexport const PageDivider = ({ children, as: Component = \"p\" }: PageDividerProps) => {\n return React.createElement(Component, null, children);\n};\nexport default PageDivider;\n","import { PageDivider } from \"./PageDivider\";\nexport default PageDivider;\nexport { PageDivider };\n","import { orderBy as lOrderBy } from \"lodash\";\nexport function orderBy(items: T[], iteratees: Array, orders?: Array<\"asc\" | \"desc\">) {\n return lOrderBy(items, iteratees, orders);\n}\nexport default orderBy;\n","import { ActionButton, ActionButtonType } from \"@octopusdeploy/design-system-components\";\nimport { QueryStateMode, optionalStringQueryParam, useQueryStringParam } from \"@octopusdeploy/portal-routes\";\nimport cn from \"classnames\";\nimport * as React from \"react\";\nimport type { AnalyticActionDispatcher } from \"~/analytics/Analytics\";\nimport { Action, useAnalyticActionDispatch } from \"~/analytics/Analytics\";\nimport FeatureToggleVisibility from \"~/components/FeatureToggle/New/FeatureToggleVisibility\";\nimport PageDivider from \"~/components/PageDivider\";\nimport { Section } from \"~/components/Section/Section\";\nimport { useOctopusTheme } from \"~/components/Theme\";\nimport { orderBy } from \"~/utils/orderBy\";\nimport styles from \"./EndpointSelector.module.less\";\nimport type { CategorizedEndpointRegistration, CategorizedEndpointResult, CategoryDefinition, EndpointRegistration } from \"./endpointRegistry\";\nimport { EndpointSelectionScope } from \"./endpointRegistry\";\ntype EndpointSelectorProps = {\n spaceId: string;\n onSelect: (registration: EndpointRegistration, category: CategoryDefinition) => void;\n scope: EndpointSelectionScope;\n registrations: EndpointRegistration[];\n categories: CategoriesLookup;\n defaultCategory: string;\n heading: React.ReactNode;\n};\nexport const EndpointSelector: React.FC = ({ spaceId, registrations, categories, defaultCategory, heading, scope, ...rest }) => {\n const [selectedCategory, setSelectedCategory] = useSelectedCategoryFromQueryString(categories, defaultCategory);\n const dispatchAction = useAnalyticActionDispatch();\n const categoryButtons: React.ReactNode[] = orderBy(Object.values(categories).map((x) => ({ label: x.category.category, displayOrder: x.category.displayOrder, action: () => setSelectedCategory(x.category) })), [\"displayOrder\", \"label\"]).map((x) => );\n return (\n
    {heading}
    \n {categoryButtons}\n
    \n {selectedCategory && {selectedCategory.title}}\n {selectedCategory && !!selectedCategory.help && {selectedCategory.help}}\n {selectedCategory && ()}\n
    \n
    );\n};\nEndpointSelector.displayName = \"EndpointSelector\"\ninterface EndpointCardGroupProps {\n spaceId: string;\n endpoints: CategorizedEndpointRegistration[];\n className?: string;\n category: CategoryDefinition;\n scope: EndpointSelectionScope;\n onSelect: (registration: CategorizedEndpointRegistration, category: CategoryDefinition) => void;\n dispatchAction: AnalyticActionDispatcher;\n}\nconst EndpointCardGroup: React.FC = ({ spaceId, endpoints = [], className, onSelect, category, scope, dispatchAction }) => {\n const orderedEndpoints = orderBy(endpoints, [\"displayOrder\", \"name\"]);\n return (
    \n {orderedEndpoints.map((endpoint) => ())}\n
    );\n};\nEndpointCardGroup.displayName = \"EndpointCardGroup\"\nexport const EndpointCardGroupTitle: React.FC<{\n className?: string;\n}> = ({ className, children }) => (
    \n {children}\n
    );\nEndpointCardGroupTitle.displayName = \"EndpointCardGroupTitle\"\nexport const EndpointCardGroupHelp: React.FC<{\n className?: string;\n}> = ({ className, children }) =>
    {children}
    ;\nEndpointCardGroupHelp.displayName = \"EndpointCardGroupHelp\"\ninterface EndpointCardProps {\n spaceId: string;\n endpoint: CategorizedEndpointRegistration;\n className?: string;\n category: CategoryDefinition;\n scope: EndpointSelectionScope;\n onSelect: (registration: CategorizedEndpointRegistration, category: CategoryDefinition) => void;\n dispatchAction: AnalyticActionDispatcher;\n}\nconst EndpointCard: React.FC = ({ spaceId, endpoint, onSelect, category, scope, dispatchAction }) => {\n const onClick = () => {\n if (scope === EndpointSelectionScope.DeploymentTarget) {\n dispatchAction(\"Add Deployment Target\", {\n resource: \"Deployment Target\",\n action: Action.Add,\n data: {\n target: endpoint.name,\n },\n });\n }\n };\n const card = endpoint.renderCard({\n spaceId,\n scope,\n registration: endpoint,\n category,\n onNavigate: () => onSelect(endpoint, category),\n onClick,\n });\n const clonedCard = React.cloneElement(card, { key: endpoint.name });\n if (endpoint.visibilityFeatureToggle === undefined) {\n return clonedCard;\n }\n else {\n return (\n {clonedCard}\n );\n }\n};\nEndpointCard.displayName = \"EndpointCard\"\ntype ActiveItemButtonProps = {\n active?: boolean;\n label: string;\n onClick?: () => void;\n icon?: {};\n};\nconst ActiveItemButton: React.FC = ({ onClick, label, active }) => {\n const theme = useOctopusTheme();\n const labelProps = active ? { color: theme.whiteConstant } : undefined;\n return ;\n};\nActiveItemButton.displayName = \"ActiveItemButton\"\nconst CategoryButtons: React.FC<{\n className?: string;\n}> = ({ children, className }) =>
    {children}
    ;\nCategoryButtons.displayName = \"CategoryButtons\"\nexport type CategoriesLookup = Record;\nconst categoryParameter = optionalStringQueryParam(\"category\");\nfunction useSelectedCategoryFromQueryString(categories: CategoriesLookup, defaultCategory: string): [\n CategoryDefinition | undefined,\n (category: CategoryDefinition) => void\n] {\n const defaultCategoryDefinition = categories[defaultCategory].category;\n const [value, setValue] = useQueryStringParam(categoryParameter, QueryStateMode.ReplaceHistory);\n const setCategoryDefinition = React.useCallback((category: CategoryDefinition) => setValue(category.category), [setValue]);\n const categoryFromUrl = categories[value ?? \"\"];\n return [categoryFromUrl?.category ?? defaultCategoryDefinition, setCategoryDefinition];\n}\n","import { links } from \"@octopusdeploy/portal-routes\";\nimport * as React from \"react\";\nimport KubernetesCategoryDefinition from \"~/areas/infrastructure/components/MachineSettings/Endpoints/KubernetesCategoryDefinition\";\nimport type { EndpointRegistration, CategorizedEndpointRegistration, CategoryDefinition, StepPackageDeploymentTargetRegistration } from \"~/areas/infrastructure/components/MachineSettings/Endpoints/endpointRegistry\";\nimport endpointRegistry, { EndpointSelectionScope } from \"~/areas/infrastructure/components/MachineSettings/Endpoints/endpointRegistry\";\nimport DataLoader from \"~/components/DataLoader\";\nimport ExternalLink from \"~/components/Navigation/ExternalLink/ExternalLink\";\nimport { PageContent } from \"~/components/PageContent/PageContent\";\nimport { PageLoading } from \"~/components/PageContent/PageLoading\";\nimport { useSpaceAwareNavigation } from \"../../../../components/Navigation/SpaceAwareNavigation/useSpaceAwareNavigation\";\nimport { EndpointSelector } from \"./Endpoints/EndpointSelector\";\nconst MachineTargetNewDataLoader = DataLoader();\ntype LoadedData = {\n registrations: EndpointRegistration[];\n};\ninterface MachineTargetNewProps {\n environmentId: string | undefined;\n spaceId: string;\n}\nexport function MachineTargetNewPage(props: MachineTargetNewProps) {\n return ( {\n const registrations = await endpointRegistry.getAllRegistrations();\n return { registrations };\n }} renderAlternate={({ errors }) => } renderWhenLoaded={(loadedData) => }/>);\n}\ninterface MachineTargetNewWhenLoadedProps {\n registrations: EndpointRegistration[];\n environmentId: string | undefined;\n spaceId: string;\n}\nfunction MachineTargetNewWhenLoaded({ registrations, environmentId, spaceId }: MachineTargetNewWhenLoadedProps) {\n const navigate = useNavigateToDeploymentTarget(spaceId, environmentId);\n const categories = endpointRegistry.categorizeEndpoints(registrations);\n return (\n } onSelect={navigate} scope={EndpointSelectionScope.DeploymentTarget} registrations={registrations} categories={categories} defaultCategory={KubernetesCategoryDefinition.category}/>\n );\n}\nfunction Heading() {\n return (<>\n What type of Deployment Target do you want to set up? Learn more about Deployment Targets\n );\n}\nfunction isStepPackageDeploymentTarget(obj: EndpointRegistration): obj is StepPackageDeploymentTargetRegistration {\n // eslint-disable-next-line @typescript-eslint/consistent-type-assertions\n return (obj as StepPackageDeploymentTargetRegistration).targetType !== undefined;\n}\nexport function useNavigateToDeploymentTarget(spaceId: string, environmentId: string | undefined) {\n const navigation = useSpaceAwareNavigation();\n return React.useCallback((registration: CategorizedEndpointRegistration, category: CategoryDefinition) => {\n if (endpointRegistry.isMachineRegistration(registration) && registration.discoverable) {\n if (environmentId)\n return navigation.navigate(links.discoverMachineWithEnvironmentPage.generateUrl({ spaceId, endpointKey: registration.key, environmentId }, { category: category.category }));\n else\n return navigation.navigate(links.discoverMachinePage.generateUrl({ spaceId, endpointKey: registration.key }, { category: category.category }));\n }\n else {\n if (isStepPackageDeploymentTarget(registration))\n return navigation.navigate(links.createDeploymentTargetPage.generateUrl({ spaceId }, { type: registration.communicationStyle, deploymentTargetTypeId: registration.key, environment: environmentId }));\n else\n return navigation.navigate(links.createDeploymentTargetPage.generateUrl({ spaceId }, { type: registration.communicationStyle, environment: environmentId }));\n }\n }, [environmentId, navigation, spaceId]);\n}\n","import * as React from \"react\";\nimport { useDispatch } from \"react-redux\";\nimport { machineActions } from \"~/areas/infrastructure/reducers/machines\";\nexport function useOnClearMachineDispatch() {\n const dispatch = useDispatch();\n return React.useCallback(() => {\n dispatch(machineActions.machineCleared());\n }, [dispatch]);\n}\n","import { css, cx } from \"@emotion/css\";\nimport { LinearProgress } from \"@octopusdeploy/design-system-components\";\nimport { borderRadius, themeTokens } from \"@octopusdeploy/design-system-tokens\";\nimport type { DeploymentTargetResource, EnvironmentResource, EnvironmentsSummaryResource, ResourceCollection, TenantResource } from \"@octopusdeploy/octopus-server-client\";\nimport { CommunicationStyleValues, Permission, Repository, TaskRestrictedTo } from \"@octopusdeploy/octopus-server-client\";\nimport { EndpointRegistrationKeyValues, links } from \"@octopusdeploy/portal-routes\";\nimport { isEqual } from \"lodash\";\nimport type { ReactNode } from \"react\";\nimport * as React from \"react\";\nimport { orderedHealthStatuses } from \"~/areas/infrastructure/InfrastructureDetails\";\nimport type { EndpointRegistration } from \"~/areas/infrastructure/components/MachineSettings/Endpoints/endpointRegistry\";\nimport endpointRegistry from \"~/areas/infrastructure/components/MachineSettings/Endpoints/endpointRegistry\";\nimport { repository } from \"~/clientInstance\";\nimport FormPage from \"~/components/FormPage/FormPage\";\nimport { Loading } from \"~/components/Loading/Loading\";\nimport { OverflowMenu, OverflowMenuItems } from \"~/components/OverflowMenu/OverflowMenu\";\nimport { withTheme } from \"~/components/Theme\";\nimport { CardTitle, UnstructuredFormSection } from \"~/components/form/Sections\";\nimport type { TagIndex } from \"~/components/tenantTagsets\";\nimport { OctopusIcon, OctopusIconType } from \"~/primitiveComponents/dataDisplay/Icon\";\nimport RequestRaceConditioner from \"~/utils/RequestRaceConditioner\";\nimport InternalRedirect from \"../../../../components/Navigation/InternalRedirect/InternalRedirect\";\nimport type { EnvironmentSummaryFilter } from \"../EnvironmentsLayout/EnvironmentSummaryFilter\";\nimport { defaultEnvironmentSummaryFilter } from \"../EnvironmentsLayout/EnvironmentSummaryFilter\";\nimport MachineRow from \"../MachineRow/MachineRow\";\nimport type { BaseAllMachinesSummaryProps, BaseAllMachinesSummaryState, HealthStatusRecord } from \"./BaseAllMachinesSummary\";\nimport BaseAllMachinesSummary from \"./BaseAllMachinesSummary\";\nimport { createMachineHealthMap, createMachinesListRequestArgs } from \"./MachineFilter\";\nimport styles from \"./style.module.less\";\ninterface DeploymentTargetsSummarySectionProps extends BaseAllMachinesSummaryProps {\n environmentsSummary: EnvironmentsSummaryResource;\n environments: EnvironmentResource[];\n tenants: TenantResource[];\n tagIndex: TagIndex;\n filter: EnvironmentSummaryFilter;\n}\ninterface DeploymentTargetsSummarySectionInnerProps extends DeploymentTargetsSummarySectionProps {\n initialData: InitialData;\n}\ninterface InitialData {\n machinesResponse: ResourceCollection;\n machineHealthStatusFastLookup: HealthStatusRecord;\n endpointRegistrations: EndpointRegistration[];\n}\nconst DeploymentTargetsSummarySectionFormPage = FormPage();\nconst DeploymentTargetsSummarySection: React.FC = (props: DeploymentTargetsSummarySectionProps) => {\n return (
    \n {\n const machineRequestArgs = createMachinesListRequestArgs(defaultEnvironmentSummaryFilter, null, true);\n const machinesResponsePromise = repository.Machines.list(machineRequestArgs);\n const endpointRegistrationsPromise = endpointRegistry.getAllRegistrations();\n const machinesResponse = await machinesResponsePromise;\n const machineHealthStatusFastLookup = createMachineHealthMap(machinesResponse, Repository.takeDefaultPageSize);\n const endpointRegistrations = await endpointRegistrationsPromise;\n return { machinesResponse, machineHealthStatusFastLookup, endpointRegistrations };\n }} operationName=\"DeploymentTargetsSummary\" renderWhenLoaded={(data) => } renderAlternate={({ busy, errors }) => }/>\n
    );\n};\nDeploymentTargetsSummarySection.displayName = \"DeploymentTargetsSummarySection\"\ninterface DeploymentTargetsSummarySectionInnerState extends BaseAllMachinesSummaryState {\n endpointRegistrations: EndpointRegistration[];\n}\ninterface SetFilters {\n environmentIds: Set;\n roles: Set;\n tenantIds: Set;\n tenantTags: Set;\n shellNames: Set;\n deploymentTargetTypes: Set;\n hideEmptyEnvironments: boolean;\n machinePartialName: string | undefined;\n}\nclass DeploymentTargetsSummarySectionInner extends BaseAllMachinesSummary {\n private requestRaceConditioner = new RequestRaceConditioner();\n constructor(props: DeploymentTargetsSummarySectionInnerProps) {\n super(props);\n this.state = {\n ...this.commonInitialState,\n machinesResponse: this.props.initialData.machinesResponse,\n machineHealthStatusFastLookup: this.props.initialData.machineHealthStatusFastLookup,\n endpointRegistrations: this.props.initialData.endpointRegistrations,\n redirectToTasks: false,\n };\n }\n componentDidMount() {\n this.reloadDataAndCurrentPageIndex();\n }\n componentDidUpdate(prevProps: BaseAllMachinesSummaryProps) {\n if (!isEqual(prevProps.filter, this.props.filter)) {\n this.reloadDataAndCurrentPageIndex();\n }\n }\n protected renderTableHeader(): React.ReactNode {\n return (\n \n Deployment target\n Health\n Environment\n Target tag\n Tenant\n Tenant tag set\n \n );\n }\n filterMachines(machines: DeploymentTargetResource[], filter: EnvironmentSummaryFilter) {\n let filteredMachines = machines;\n if (filter.environmentIds.length > 0) {\n const environmentIdsFilterSet = new Set(filter.environmentIds);\n filteredMachines = filteredMachines.filter((machine) => machine.EnvironmentIds.some((envId) => environmentIdsFilterSet.has(envId)));\n }\n if (filter.isDisabled) {\n filteredMachines = filteredMachines.filter((machine) => machine.IsDisabled);\n }\n if (filter.roles.length > 0) {\n const rolesFilterSet = new Set(filter.roles.map((role) => role.toLowerCase()));\n filteredMachines = filteredMachines.filter((machine) => machine.Roles.some((roleName) => rolesFilterSet.has(roleName.toLowerCase())));\n }\n if (filter.machinePartialName) {\n const partialNameFilter = filter.machinePartialName;\n filteredMachines = filteredMachines.filter((machine) => machine.Name.toLocaleLowerCase().includes(partialNameFilter.toLocaleLowerCase()));\n }\n if (filter.tenantIds.length > 0) {\n const tenantIdsFilterSet = new Set(filter.tenantIds);\n filteredMachines = filteredMachines.filter((machine) => machine.TenantIds.some((tenantId) => tenantIdsFilterSet.has(tenantId)));\n }\n if (filter.tenantTags.length > 0) {\n const tenantTagsFiltersSet = new Set(filter.tenantTags);\n filteredMachines = filteredMachines.filter((machine) => machine.TenantTags.some((tenantTag) => tenantTagsFiltersSet.has(tenantTag)));\n }\n if (filter.shellNames.length > 0) {\n filteredMachines = filteredMachines.filter((machine) => filter.shellNames.includes(machine.ShellName));\n }\n if (filter.healthStatuses.length > 0) {\n filteredMachines = filteredMachines.filter((machine) => filter.healthStatuses.includes(machine.HealthStatus));\n }\n if (filter.deploymentTargetTypes.length > 0) {\n filteredMachines = filteredMachines.filter((machine) => filter.deploymentTargetTypes.includes(machine.Endpoint.CommunicationStyle) ||\n (filter.deploymentTargetTypes.includes(EndpointRegistrationKeyValues.CloudRegion) && machine.Endpoint.CommunicationStyle === CommunicationStyleValues.None));\n }\n return filteredMachines;\n }\n render() {\n if (this.state.redirectToTaskId) {\n return ;\n }\n const environmentsSummary = this.props.environmentsSummary;\n const filteredMachines = this.filterMachines(this.state.machinesResponse.Items, this.props.filter);\n const machineIds = new Set(filteredMachines.map((x) => x.Id));\n const totalFilteredMachines = machineIds.size;\n const machineIdsForTentacleUpgrade = environmentsSummary.MachineIdsForTentacleUpgrade ? environmentsSummary.MachineIdsForTentacleUpgrade.filter((id) => machineIds.has(id)) : [];\n const machineIdsForCalamariUpgrade = environmentsSummary.MachineIdsForCalamariUpgrade.filter((id) => machineIds.has(id));\n const machineStatusesLinks = orderedHealthStatuses.map((status) => this.renderMachineSummaryLinks(filteredMachines, status));\n const machinesDisabledLinks = this.renderMachineDisabledSummaryLinks(filteredMachines);\n const summaryComponents = [...machineStatusesLinks, machinesDisabledLinks];\n const componentKey = \"allMachines\";\n const overflowMenuItems = [];\n // Only show machine-related actions if they actually have some machines in this environment.\n if (totalFilteredMachines > 0) {\n overflowMenuItems.push(OverflowMenuItems.item(`Check Health for ${machineIds && totalFilteredMachines} Deployment Target${machineIds && totalFilteredMachines === 1 ? \"\" : \"s\"}`, () => this.performHealthCheck(TaskRestrictedTo.DeploymentTargets, machineIds), {\n permission: Permission.MachineEdit,\n wildcard: true,\n }));\n if (machineIdsForTentacleUpgrade && machineIdsForTentacleUpgrade.length > 0) {\n overflowMenuItems.push(OverflowMenuItems.confirmUpgrade(`Upgrade ${machineIdsForTentacleUpgrade.length} Tentacle${machineIdsForTentacleUpgrade.length === 1 ? \"\" : \"s\"}`, () => this.performTargetUpgrade(), {\n permission: Permission.MachineEdit,\n wildcard: true,\n }));\n }\n if (machineIdsForCalamariUpgrade && machineIdsForCalamariUpgrade.length > 0) {\n overflowMenuItems.push(OverflowMenuItems.confirmUpgrade(`Upgrade Calamari on ${machineIdsForCalamariUpgrade.length} Deployment Target${machineIdsForCalamariUpgrade.length === 1 ? \"\" : \"s\"}`, () => this.performCalamariUpgradeOnTargets(machineIdsForCalamariUpgrade), {\n permission: Permission.MachineEdit,\n wildcard: true,\n }));\n }\n }\n const titleContainer = (
    \n
    \n {withTheme((theme) => ())}\n
    \n
    Deployment targets
    \n
    ({totalFilteredMachines.toLocaleString()})
    \n
    {summaryComponents}
    \n
    \n \n
    \n
    );\n return (\n \n {this.renderMachinesList(filteredMachines, machineIdsForTentacleUpgrade, machineIdsForCalamariUpgrade)}\n );\n }\n protected async loadData() {\n const machineArgs = createMachinesListRequestArgs(this.props.filter, this.state.healthStatusFilter, this.state.isDisabledFilter);\n const registrations = endpointRegistry.getAllRegistrations();\n const machines = repository.Machines.list(machineArgs);\n const promises = Promise.all([registrations, machines]);\n await this.requestRaceConditioner.avoidStaleResponsesForRequest(promises, ([endpointRegistrations, machinesResponse]) => {\n this.setMachineResponseState(machinesResponse);\n this.setState({ endpointRegistrations });\n });\n }\n protected renderMachine(machine: DeploymentTargetResource, needsUpgrading: boolean = false): ReactNode {\n return ();\n }\n}\nexport default DeploymentTargetsSummarySection;\nconst summarySectionContainerStyles = css({\n border: `1px solid ${themeTokens.color.border.primary}`,\n borderRadius: borderRadius.medium,\n});\n","import { ExternalLink, type PrimaryPageAction, SearchInput } from \"@octopusdeploy/design-system-components\";\nimport { Permission } from \"@octopusdeploy/octopus-server-client\";\nimport type { EnvironmentsSummaryResource, EnvironmentResource, TenantResource, Repository } from \"@octopusdeploy/octopus-server-client\";\nimport type { QueryParamValuesSetter } from \"@octopusdeploy/portal-routes\";\nimport { links } from \"@octopusdeploy/portal-routes\";\nimport { isEqual } from \"lodash\";\nimport { useEffect } from \"react\";\nimport * as React from \"react\";\nimport endpointRegistry from \"~/areas/infrastructure/components/MachineSettings/Endpoints/endpointRegistry\";\nimport type { EndpointRegistration } from \"~/areas/infrastructure/components/MachineSettings/Endpoints/endpointRegistry\";\nimport ConfirmTentacleUpgradePanel from \"~/areas/infrastructure/components/MachinesLayout/ConfirmTentacleUpgradePanel\";\nimport { useOnClearMachineDispatch } from \"~/areas/infrastructure/hooks/useOnClearMachineDispatch\";\nimport { AdvancedFilters } from \"~/components/AdvancedFilterLayout/AdvancedFilters\";\nimport { AdvancedFilterCheckbox } from \"~/components/AdvancedFilterLayout/index\";\nimport { BorderedContent } from \"~/components/BorderedContent/BorderedContent\";\nimport { useLegacyDoBusyTask } from \"~/components/DataBaseComponent/useLegacyDoBusyTask\";\nimport { FeatureToggle, Feature } from \"~/components/FeatureToggle\";\nimport { PortalEmptyStateOnboarding } from \"~/components/GettingStarted/PortalEmptyStateOnboarding\";\nimport DeploymentTargetTypeMultiSelect from \"~/components/MultiSelect/DeploymentTargetTypeMultiselect\";\nimport { EnvironmentMultiSelect } from \"~/components/MultiSelect/EnvironmentMultiSelect\";\nimport { MachineModelHealthStatusMultiSelect } from \"~/components/MultiSelect/MachineModelHealthStatusMultiSelect\";\nimport { ShellNameMultiSelect } from \"~/components/MultiSelect/ShellNameMultiSelect\";\nimport { TargetTagMultiSelect } from \"~/components/MultiSelect/TargetTagMultiSelect\";\nimport { TenantMultiSelect } from \"~/components/MultiSelect/TenantMultiSelect\";\nimport { TenantTagMultiSelect } from \"~/components/MultiSelect/TenantTagMultiSelect\";\nimport { useSpaceAwareNavigation } from \"~/components/Navigation/SpaceAwareNavigation/useSpaceAwareNavigation\";\nimport { PageContent } from \"~/components/PageContent/PageContent\";\nimport { PermissionCheck } from \"~/components/PermissionCheck\";\nimport { isAllowed } from \"~/components/PermissionCheck/PermissionCheck\";\nimport * as tenantTagsets from \"~/components/tenantTagsets\";\nimport type { TagIndex } from \"~/components/tenantTagsets\";\nimport { useDebouncedExternalState } from \"~/hooks/useDebouncedExternalState\";\nimport { useOctopusFeatureToggle } from \"~/hooks/useOctopusFeatureToggle\";\nimport MachineHealthStatusHelper from \"~/utils/MachineHealthStatusHelper/index\";\nimport { defaultEnvironmentSummaryFilter, createEnvironmentSummaryArgs } from \"../EnvironmentsLayout/EnvironmentSummaryFilter\";\nimport type { EnvironmentSummaryFilter } from \"../EnvironmentsLayout/EnvironmentSummaryFilter\";\nimport DeploymentTargetsSummarySection from \"./DeploymentTargetsSummarySection\";\ninterface DeploymentTargetsPageProps {\n spaceId: string;\n loaderData: DeploymentTargetsPageLoaderData;\n queryParams: DeploymentTargetsPageQueryParams;\n setQueryParams: QueryParamValuesSetter;\n}\nexport type DeploymentTargetsPageQueryParams = EnvironmentSummaryFilter;\nexport const deploymentTargetsPageTitle = \"Deployment Targets\";\ninterface DeploymentTargetsPageLoaderData {\n environments: EnvironmentResource[];\n machineRoles: string[];\n tenants: TenantResource[];\n tagIndex: TagIndex;\n hasMachines: boolean;\n machineShellNames: string[];\n environmentsSummary: EnvironmentsSummaryResource;\n deploymentTargetRegistrations: EndpointRegistration[];\n}\nexport async function deploymentTargetsPageLoader(repository: Repository, queryParams: DeploymentTargetsPageQueryParams): Promise {\n const defaultArgs = createEnvironmentSummaryArgs(queryParams);\n const environmentsSummary = repository.Environments.summary(defaultArgs);\n const hasMachines = repository.Machines.list({ take: 0 }).then((result) => result.TotalResults > 0);\n const environments = repository.Environments.all();\n const machineRoles = repository.MachineRoles.all();\n const machineShellNames = repository.MachineShells.all();\n const tagIndex = tenantTagsets.getTagIndex();\n const targetRegistrations = endpointRegistry.getAllRegistrations();\n const tenants = isAllowed({ permission: Permission.TenantView, tenant: \"*\" }) ? await repository.Tenants.all() : [];\n return {\n environments: await environments,\n machineRoles: await machineRoles,\n tenants,\n tagIndex: await tagIndex,\n machineShellNames: await machineShellNames,\n deploymentTargetRegistrations: await targetRegistrations,\n hasMachines: await hasMachines,\n environmentsSummary: await environmentsSummary,\n };\n}\nexport function DeploymentTargetsPage({ spaceId, loaderData, queryParams, setQueryParams }: DeploymentTargetsPageProps) {\n const machineHealthStatuses = MachineHealthStatusHelper.getMachineModelHealthStatusResources();\n const summaries = loaderData.environmentsSummary;\n const onClearMachine = useOnClearMachineDispatch();\n const showV2Page = useOctopusFeatureToggle(\"deployment-targets-page-uplift\", false);\n const { doBusyTask, status } = useLegacyDoBusyTask();\n const navigate = useSpaceAwareNavigation();\n const [debouncedPartialName, setDebouncedPartialName] = useDebouncedExternalState(queryParams.machinePartialName, (value) => setQueryParams((prev) => ({ ...prev, machinePartialName: value })), 200);\n useEffect(() => {\n onClearMachine();\n }, [onClearMachine]);\n const addDeploymentTargetPageAction: PrimaryPageAction = {\n type: \"navigate\",\n label: \"Add Deployment Target\",\n path: links.newDeploymentTargetPage.generateUrl({ spaceId }),\n hasPermissions: isAllowed({\n permission: Permission.MachineCreate,\n environment: \"*\",\n tenant: \"*\",\n }),\n };\n const tentacleUpgradesRequiredWarning = summaries.TentacleUpgradesRequired && ( {\n navigate.navigate(links.tasksPage.generateUrl());\n }}/>);\n if (!loaderData.hasMachines) {\n return (\n \n \n }/>);\n }\n const advancedFilters = (\n setQueryParams((prev) => ({ ...prev, isDisabled: x ? x : undefined }))}/>\n setQueryParams((prev) => ({ ...prev, environmentIds: x }))}/>\n setQueryParams((prev) => ({ ...prev, roles: x }))}/>\n \n \n setQueryParams((prev) => ({ ...prev, tenantIds: x }))}/>\n setQueryParams((prev) => ({ ...prev, tenantTags: x }))}/>\n \n \n setQueryParams((prev) => ({ ...prev, shellNames: x }))}/>\n setQueryParams((prev) => ({ ...prev, deploymentTargetTypes: x }))}/>\n setQueryParams((prev) => ({ ...prev, healthStatuses: x }))}/>\n );\n const filters = {\n inputs: [],\n advancedFilters: {\n content: advancedFilters,\n hasUserSelectedValues: isFiltering(queryParams),\n onResetFilter: () => setQueryParams(defaultEnvironmentSummaryFilter),\n },\n };\n return ({tentacleUpgradesRequiredWarning} }}>\n \n \n \n );\n}\nfunction isFiltering(currentFilter: DeploymentTargetsPageQueryParams) {\n return !isEqual(currentFilter, defaultEnvironmentSummaryFilter);\n}\n","/* eslint-disable @typescript-eslint/consistent-type-assertions */\nimport type { CommunicationStyle, CommunicationStyleResource } from \"@octopusdeploy/octopus-server-client\";\nimport * as React from \"react\";\nimport { EndpointCommunicationStyleChip, MissingChip, ChipIcon } from \"~/components/Chips\";\nimport { MultiSelect } from \"~/components/MultiSelect/MultiSelect\";\nimport type { SelectItem } from \"~/components/VirtualListWithKeyboard/SelectItem\";\nimport type { FormFieldProps } from \"~/components/form\";\nimport Lookup from \"../Lookup\";\ninterface EndpointCommunicationStyleMultiSelectProps extends FormFieldProps {\n items: CommunicationStyleResource[];\n label?: string | JSX.Element;\n error?: string;\n accessibleName?: string;\n}\nconst EndpointCommunicationStyleTypedMultiSelect = MultiSelect();\nexport const EndpointCommunicationStyleMultiSelect: React.FC = (props) => {\n const { onChange, ...otherProps } = props;\n const chipRenderer = (r: CommunicationStyleResource | SelectItem, onRequestDelete: () => void) => {\n return ( element.Id} render={(item: CommunicationStyleResource) => {\n return ;\n }} renderFallback={}/>);\n };\n return onChange(value as CommunicationStyle[])} {...otherProps}/>;\n};\nEndpointCommunicationStyleMultiSelect.displayName = \"EndpointCommunicationStyleMultiSelect\"\n","/* eslint-disable @typescript-eslint/consistent-type-assertions */\nimport { Repository } from \"@octopusdeploy/octopus-server-client\";\nimport type { ListWorkerArgs, WorkerPoolsSummaryArgs, WorkerPoolsMachinesArgs, CommunicationStyle, MachineModelHealthStatus } from \"@octopusdeploy/octopus-server-client\";\nimport type { BaseInfrastructureFilter } from \"../../MachinesLayout/MachineFilter\";\nimport { defaultBaseInfrastructureFilter } from \"../../MachinesLayout/MachineFilter\";\nexport interface WorkerPoolsSummaryFilter extends BaseInfrastructureFilter {\n workerPoolIds: string[];\n shellNames: string[];\n machinePartialName: string | undefined; // not used in workers sidebar filter\n roles: string[]; // not used in workers sidebar filter\n hideEmptyWorkerPools: boolean; // not used in workers sidebar filter\n commStyles: CommunicationStyle[];\n}\nexport const defaultWorkerPoolsSummaryFilter: WorkerPoolsSummaryFilter = {\n ...defaultBaseInfrastructureFilter,\n workerPoolIds: [],\n shellNames: [],\n machinePartialName: undefined, // not used in workers sidebar filter\n roles: [], // not used in workers sidebar filter\n hideEmptyWorkerPools: false, // not used in workers sidebar filter\n commStyles: [],\n};\nexport const createWorkerPoolListWorkerArgs = (filter: WorkerPoolsSummaryFilter, healthStatusFilter: string | null, isDisabledFilter: boolean | undefined): ListWorkerArgs => {\n // used in the WorkerMachinesSummarySection\n const workerPoolIds = filter.workerPoolIds ? filter.workerPoolIds.join(\",\") : undefined;\n const skip = 0; // Don't skip, just increase the take size.\n const take = Repository.takeAll;\n // Here we take the machinePartialName from the filter, as this is where we bind the worker name from the UI.\n // We map this to partialName on the returned args, as this is where the API expects the worker name for the query.\n const partialName = filter.machinePartialName;\n const shellNames = filter.shellNames ? filter.shellNames.join(\",\") : undefined;\n const applicableHealthStatusFilters = filter.healthStatuses.length > 0 ? filter.healthStatuses : healthStatusFilter ? [healthStatusFilter] : undefined;\n const healthStatuses = applicableHealthStatusFilters ? applicableHealthStatusFilters.join(\",\") : undefined;\n const isDisabled = filter.isDisabled ? filter.isDisabled : isDisabledFilter;\n const commStyles = filter.commStyles.length > 0 ? filter.commStyles.join(\",\") : undefined;\n return { skip, take, partialName, shellNames, healthStatuses, isDisabled, commStyles, workerPoolIds };\n};\nexport const createWorkerPoolsMachinesArgs = (filter: WorkerPoolsSummaryFilter, isDisabled: boolean | undefined, applicableHealthStatusFilters: MachineModelHealthStatus[]): WorkerPoolsMachinesArgs => {\n const skip = 0; // Don't skip, just increase the take size.\n const take = Repository.takeAll; // No paging, just take all, because we need to group our response data by health status.\n // Here we take the machinePartialName from the filter, as this is where we bind the worker name from the UI.\n // We map this to partialName on the returned args, as this is where the API expects the worker name for the query.\n const partialName = filter.machinePartialName;\n const healthStatuses = applicableHealthStatusFilters ? applicableHealthStatusFilters.join(\",\") : null;\n const commStyles = filter.commStyles.length > 0 ? filter.commStyles.join(\",\") : null;\n const shellNames = filter.shellNames ? filter.shellNames.join(\",\") : null;\n return { skip, take, partialName, isDisabled, healthStatuses, commStyles, shellNames };\n};\nexport const createWorkerPoolsSummaryArgs = (filter: WorkerPoolsSummaryFilter): Partial => {\n // used in the WorkerMachinesLayout\n const args: Partial = {};\n if (filter.isDisabled) {\n args.isDisabled = true;\n }\n if (filter.shellNames && filter.shellNames.length) {\n args.shellNames = filter.shellNames.join(\",\");\n }\n if (filter.workerPoolIds && filter.workerPoolIds.length) {\n args.ids = filter.workerPoolIds.join(\",\");\n }\n if (filter.healthStatuses && filter.healthStatuses.length) {\n args.healthStatuses = filter.healthStatuses.join(\",\");\n }\n if (filter.commStyles && filter.commStyles.length) {\n args.commStyles = filter.commStyles.join(\",\");\n }\n if (filter.partialName && filter.partialName !== \"\") {\n args.partialName = filter.partialName;\n }\n if (filter.machinePartialName && filter.machinePartialName !== \"\") {\n args.machinePartialName = filter.machinePartialName;\n }\n if (filter.hideEmptyWorkerPools) {\n args.hideEmptyWorkerPools = true;\n }\n return args;\n};\n","/* eslint-disable @octopusdeploy/custom-portal-rules/no-restricted-imports */\nimport { css, cx } from \"@emotion/css\";\nimport { LinearProgress } from \"@octopusdeploy/design-system-components\";\nimport { borderRadius, themeTokens } from \"@octopusdeploy/design-system-tokens\";\nimport { Repository, TaskRestrictedTo, Permission } from \"@octopusdeploy/octopus-server-client\";\nimport type { WorkerPoolsSummaryResource, WorkerPoolResource, WorkerMachineResource, ResourceCollection } from \"@octopusdeploy/octopus-server-client\";\nimport { links } from \"@octopusdeploy/portal-routes\";\nimport { isEqual } from \"lodash\";\nimport * as React from \"react\";\nimport type { ReactNode } from \"react\";\nimport { orderedHealthStatuses } from \"~/areas/infrastructure/InfrastructureDetails\";\nimport type { EndpointRegistration } from \"~/areas/infrastructure/components/MachineSettings/Endpoints/endpointRegistry\";\nimport endpointRegistry from \"~/areas/infrastructure/components/MachineSettings/Endpoints/endpointRegistry\";\nimport { repository } from \"~/clientInstance\";\nimport FormPage from \"~/components/FormPage/FormPage\";\nimport { Loading } from \"~/components/Loading/Loading\";\nimport { OverflowMenu, OverflowMenuItems } from \"~/components/OverflowMenu/OverflowMenu\";\nimport { withTheme } from \"~/components/Theme\";\nimport { CardTitle, UnstructuredFormSection } from \"~/components/form/Sections\";\nimport { OctopusIcon, OctopusIconType } from \"~/primitiveComponents/dataDisplay/Icon\";\nimport RequestRaceConditioner from \"~/utils/RequestRaceConditioner\";\nimport InternalRedirect from \"../../../../components/Navigation/InternalRedirect/InternalRedirect\";\nimport MachineRow from \"../MachineRow/MachineRow\";\nimport type { WorkerPoolsSummaryFilter } from \"../WorkerPools/WorkerPoolsLayout/WorkerPoolsSummaryFilter\";\nimport { defaultWorkerPoolsSummaryFilter, createWorkerPoolListWorkerArgs } from \"../WorkerPools/WorkerPoolsLayout/WorkerPoolsSummaryFilter\";\nimport BaseAllMachinesSummary from \"./BaseAllMachinesSummary\";\nimport type { HealthStatusRecord, BaseAllMachinesSummaryProps, BaseAllMachinesSummaryState } from \"./BaseAllMachinesSummary\";\nimport { createMachineHealthMap } from \"./MachineFilter\";\nimport styles from \"./style.module.less\";\ninterface WorkerMachinesSummarySectionProps extends BaseAllMachinesSummaryProps {\n workerPoolsSummary: WorkerPoolsSummaryResource;\n workerPools: WorkerPoolResource[];\n filter: WorkerPoolsSummaryFilter;\n}\ninterface WorkerMachinesSummarySectionInnerProps extends WorkerMachinesSummarySectionProps {\n initialData: InitialData;\n}\ninterface InitialData {\n machinesResponse: ResourceCollection;\n machineHealthStatusFastLookup: HealthStatusRecord;\n endpointRegistrations: EndpointRegistration[];\n}\nconst WorkerMachinesSummaryFormPage = FormPage();\nconst WorkerMachinesSummarySection: React.FC = (props: WorkerMachinesSummarySectionProps) => {\n return (
    \n {\n const machineRequestArgs = createWorkerPoolListWorkerArgs(defaultWorkerPoolsSummaryFilter, null, true);\n const machinesResponse = await repository.Workers.list(machineRequestArgs);\n const machineHealthStatusFastLookup = createMachineHealthMap(machinesResponse, Repository.takeDefaultPageSize);\n const endpointRegistrations = endpointRegistry.getAllRegistrations();\n return { machinesResponse, machineHealthStatusFastLookup, endpointRegistrations: await endpointRegistrations };\n }} renderWhenLoaded={(data) => } renderAlternate={({ busy, errors }) => }/>\n
    );\n};\nWorkerMachinesSummarySection.displayName = \"WorkerMachinesSummarySection\"\nclass WorkerMachinesSummarySectionInner extends BaseAllMachinesSummary> {\n private requestRaceConditioner = new RequestRaceConditioner();\n constructor(props: WorkerMachinesSummarySectionInnerProps) {\n super(props);\n this.state = {\n ...this.commonInitialState,\n machinesResponse: this.props.initialData.machinesResponse,\n machineHealthStatusFastLookup: this.props.initialData.machineHealthStatusFastLookup,\n endpointRegistrations: this.props.initialData.endpointRegistrations,\n redirectToTasks: false,\n };\n }\n componentDidMount() {\n this.reloadDataAndCurrentPageIndex();\n }\n componentDidUpdate(prevProps: BaseAllMachinesSummaryProps) {\n if (!isEqual(prevProps.filter, this.props.filter)) {\n this.reloadDataAndCurrentPageIndex();\n }\n }\n protected renderTableHeader(): React.ReactNode {\n return (\n \n Worker\n Health\n Worker Pool\n \n );\n }\n filterMachines(machines: WorkerMachineResource[], filter: WorkerPoolsSummaryFilter) {\n let filteredMachines = machines;\n if (filter.isDisabled) {\n filteredMachines = filteredMachines.filter((machine) => machine.IsDisabled);\n }\n if (filter.workerPoolIds.length > 0) {\n const workerPoolIdsFilterSet = new Set(filter.workerPoolIds);\n filteredMachines = filteredMachines.filter((machine) => machine.WorkerPoolIds.some((workerPoolId) => workerPoolIdsFilterSet.has(workerPoolId)));\n }\n if (filter.machinePartialName) {\n const partialNameFilter = filter.machinePartialName;\n filteredMachines = filteredMachines.filter((machine) => machine.Name.toLocaleLowerCase().includes(partialNameFilter.toLocaleLowerCase()));\n }\n if (filter.shellNames.length > 0) {\n filteredMachines = filteredMachines.filter((machine) => filter.shellNames.includes(machine.ShellName));\n }\n if (filter.healthStatuses.length > 0) {\n filteredMachines = filteredMachines.filter((machine) => filter.healthStatuses.includes(machine.HealthStatus));\n }\n if (filter.commStyles.length > 0) {\n filteredMachines = filteredMachines.filter((machine) => filter.commStyles.includes(machine.Endpoint.CommunicationStyle));\n }\n return filteredMachines;\n }\n render() {\n if (this.state.redirectToTasks) {\n return ;\n }\n if (this.state.redirectToTaskId) {\n return ;\n }\n const workerPoolsSummary = this.props.workerPoolsSummary;\n const filteredMachines = this.filterMachines(this.state.machinesResponse.Items, this.props.filter);\n const workerIds = new Set(filteredMachines.map((x) => x.Id));\n const totalFilteredMachines = workerIds.size;\n const workerIdsForTentacleUpgrade = workerPoolsSummary.MachineIdsForTentacleUpgrade ? workerPoolsSummary.MachineIdsForTentacleUpgrade.filter((id) => workerIds.has(id)) : [];\n const workerIdsForCalamariUpgrade = workerPoolsSummary.MachineIdsForCalamariUpgrade.filter((id) => workerIds.has(id));\n const machineStatusesLinks = orderedHealthStatuses.map((status) => this.renderMachineSummaryLinks(filteredMachines, status));\n const machinesDisabledLinks = this.renderMachineDisabledSummaryLinks(filteredMachines);\n const summaryComponents = [...machineStatusesLinks, machinesDisabledLinks];\n const componentKey = \"allMachines\";\n const overflowMenuItems = [];\n // Only show machine-related actions if they actually have some machines in this environment.\n if (totalFilteredMachines > 0) {\n overflowMenuItems.push(OverflowMenuItems.item(`Check Health for ${workerIds && workerIds.size} Worker${workerIds && workerIds.size === 1 ? \"\" : \"s\"}`, () => this.performHealthCheck(TaskRestrictedTo.Workers, workerIds), {\n permission: Permission.WorkerEdit,\n wildcard: true,\n }));\n if (workerIdsForTentacleUpgrade && workerIdsForTentacleUpgrade.length > 0) {\n overflowMenuItems.push(OverflowMenuItems.confirmUpgrade(`Upgrade ${workerIdsForTentacleUpgrade.length} Tentacle${workerIdsForTentacleUpgrade.length === 1 ? \"\" : \"s\"}`, () => this.performWorkerUpgrade(), {\n permission: Permission.WorkerEdit,\n wildcard: true,\n }));\n }\n if (workerIdsForCalamariUpgrade && workerIdsForCalamariUpgrade.length > 0) {\n overflowMenuItems.push(OverflowMenuItems.confirmUpgrade(`Upgrade Calamari on ${workerIdsForCalamariUpgrade.length} Worker${workerIdsForCalamariUpgrade.length === 1 ? \"\" : \"s\"}`, () => this.performCalamariUpgradeOnWorkers(workerIdsForCalamariUpgrade), {\n permission: Permission.WorkerEdit,\n wildcard: true,\n }));\n }\n }\n const titleContainer = (
    \n
    \n {withTheme((theme) => ())}\n
    \n
    Workers
    \n
    ({totalFilteredMachines.toLocaleString()})
    \n
    {summaryComponents}
    \n
    \n \n
    \n
    );\n return (\n \n {this.renderMachinesList(filteredMachines, workerIdsForTentacleUpgrade, workerIdsForCalamariUpgrade)}\n );\n }\n protected async loadData() {\n const machineArgs = createWorkerPoolListWorkerArgs(this.props.filter, this.state.healthStatusFilter, this.state.isDisabledFilter);\n const promises = Promise.all([repository.Workers.list(machineArgs), endpointRegistry.getAllRegistrations()]);\n await this.requestRaceConditioner.avoidStaleResponsesForRequest(promises, ([machinesResponse, endpointRegistrations]) => {\n this.setMachineResponseState(machinesResponse);\n this.setState({ endpointRegistrations });\n });\n }\n protected renderMachine(machine: WorkerMachineResource, needsUpgrading: boolean = false): ReactNode {\n return ;\n }\n}\nexport default WorkerMachinesSummarySection;\nconst summarySectionContainerStyles = css({\n border: `1px solid ${themeTokens.color.border.primary}`,\n borderRadius: borderRadius.medium,\n});\n","import type { PrimaryPageAction } from \"@octopusdeploy/design-system-components\";\nimport { SearchInput } from \"@octopusdeploy/design-system-components\";\nimport type { WorkerPoolsSummaryResource, WorkerPoolResource, Repository } from \"@octopusdeploy/octopus-server-client\";\nimport { EndpointsHelper, Permission } from \"@octopusdeploy/octopus-server-client\";\nimport type { QueryParamValuesSetter } from \"@octopusdeploy/portal-routes\";\nimport { links } from \"@octopusdeploy/portal-routes\";\nimport { isEqual } from \"lodash\";\nimport { useEffect } from \"react\";\nimport * as React from \"react\";\nimport ConfirmTentacleUpgradePanel from \"~/areas/infrastructure/components/MachinesLayout/ConfirmTentacleUpgradePanel\";\nimport { useOnClearMachineDispatch } from \"~/areas/infrastructure/hooks/useOnClearMachineDispatch\";\nimport { AdvancedFilters } from \"~/components/AdvancedFilterLayout/AdvancedFilters\";\nimport { AdvancedFilterCheckbox } from \"~/components/AdvancedFilterLayout/index\";\nimport { BorderedContent } from \"~/components/BorderedContent/BorderedContent\";\nimport { useLegacyDoBusyTask } from \"~/components/DataBaseComponent/useLegacyDoBusyTask\";\nimport { PortalEmptyStateOnboarding } from \"~/components/GettingStarted/PortalEmptyStateOnboarding\";\nimport { EndpointCommunicationStyleMultiSelect } from \"~/components/MultiSelect/EndpointCommunicationStyleMultiSelect\";\nimport { MachineModelHealthStatusMultiSelect } from \"~/components/MultiSelect/MachineModelHealthStatusMultiSelect\";\nimport { ShellNameMultiSelect } from \"~/components/MultiSelect/ShellNameMultiSelect\";\nimport { WorkerPoolMultiSelect } from \"~/components/MultiSelect/WorkerPoolMultiSelect\";\nimport ExternalLink from \"~/components/Navigation/ExternalLink/index\";\nimport { useSpaceAwareNavigation } from \"~/components/Navigation/SpaceAwareNavigation/useSpaceAwareNavigation\";\nimport { PageContent } from \"~/components/PageContent/PageContent\";\nimport { isAllowed } from \"~/components/PermissionCheck/PermissionCheck\";\nimport { useDebouncedExternalState } from \"~/hooks/useDebouncedExternalState\";\nimport { useOctopusFeatureToggle } from \"~/hooks/useOctopusFeatureToggle\";\nimport MachineHealthStatusHelper from \"~/utils/MachineHealthStatusHelper/index\";\nimport type { WorkerPoolsSummaryFilter } from \"../WorkerPools/WorkerPoolsLayout/WorkerPoolsSummaryFilter\";\nimport { createWorkerPoolsSummaryArgs, defaultWorkerPoolsSummaryFilter } from \"../WorkerPools/WorkerPoolsLayout/WorkerPoolsSummaryFilter\";\nimport WorkerMachinesSummarySection from \"./WorkerMachinesSummarySection\";\nexport type WorkerMachinesPageQueryParams = WorkerPoolsSummaryFilter;\ninterface WorkerMachinesPageProps {\n spaceId: string;\n loaderData: WorkerMachinesPageLoaderData;\n queryParams: WorkerMachinesPageQueryParams;\n setQueryParams: QueryParamValuesSetter;\n}\ninterface WorkerMachinesPageLoaderData {\n workerShellNames: string[];\n workerPools: WorkerPoolResource[];\n hasMachines: boolean;\n workerPoolsSummary: WorkerPoolsSummaryResource;\n}\nexport const workerMachinesPageTitle = \"Workers\";\nexport async function workerMachinesPageLoader(repository: Repository, queryParams: WorkerMachinesPageQueryParams): Promise {\n const defaultArgs = createWorkerPoolsSummaryArgs(queryParams);\n const workerPools = repository.WorkerPools.all();\n const workerShellNames = repository.WorkerShells.all();\n const workerPoolsSummary = repository.WorkerPools.summary(defaultArgs);\n const hasMachines = (await repository.Workers.list({ take: 0 })).TotalResults > 0;\n return {\n workerPools: await workerPools,\n workerShellNames: await workerShellNames,\n workerPoolsSummary: await workerPoolsSummary,\n hasMachines,\n };\n}\nexport function WorkerMachinesPage({ spaceId, loaderData, queryParams, setQueryParams }: WorkerMachinesPageProps) {\n const machineHealthStatuses = MachineHealthStatusHelper.getMachineModelHealthStatusResources();\n const communicationStyles = EndpointsHelper.getCommunicationStyleResources();\n const onClearMachine = useOnClearMachineDispatch();\n const showV2Page = useOctopusFeatureToggle(\"deployment-targets-page-uplift\", false);\n const navigate = useSpaceAwareNavigation();\n const { doBusyTask, status } = useLegacyDoBusyTask();\n const [debouncedPartialName, setDebouncedPartialName] = useDebouncedExternalState(queryParams.machinePartialName, (value) => setQueryParams((prev) => ({ ...prev, machinePartialName: value })), 200);\n useEffect(() => {\n onClearMachine();\n }, [onClearMachine]);\n const addWorkerPageAction: PrimaryPageAction = {\n type: \"navigate\",\n label: \"Add Worker\",\n path: links.newWorkerMachinePage.generateUrl({ spaceId }),\n hasPermissions: isAllowed({\n permission: Permission.WorkerEdit,\n }),\n };\n if (!loaderData.hasMachines) {\n return (Learn more
    }/>);\n }\n const tentacleUpgradesRequiredWarning = loaderData.workerPoolsSummary.TentacleUpgradesRequired && navigate.navigate(links.tasksPage.generateUrl())}/>;\n const advancedFilters = (\n setQueryParams((prev) => ({ ...prev, isDisabled: x ? x : undefined }))}/>\n setQueryParams((prev) => ({ ...prev, workerPoolIds: x }))}/>\n setQueryParams((prev) => ({ ...prev, shellNames: x }))}/>\n cs.Name !== \"Step Package\")} value={queryParams.commStyles} onChange={(x) => setQueryParams((prev) => ({ ...prev, commStyles: x }))}/>\n setQueryParams((prev) => ({ ...prev, healthStatuses: x }))}/>\n );\n const filters = {\n inputs: [],\n advancedFilters: {\n content: advancedFilters,\n hasUserSelectedValues: isFiltering(queryParams),\n onResetFilter: () => setQueryParams(defaultWorkerPoolsSummaryFilter),\n },\n };\n return ({tentacleUpgradesRequiredWarning} }}>\n \n \n \n );\n}\nfunction isFiltering(currentFilter: WorkerPoolsSummaryFilter) {\n return !isEqual(currentFilter, defaultWorkerPoolsSummaryFilter);\n}\n","import { EmptyStateNoResults, Pagination, SearchInput, ListItemLink, List, ListItemContent, InlineEmptyStateOnboarding } from \"@octopusdeploy/design-system-components\";\nimport type { PrimaryPageAction, PageAction } from \"@octopusdeploy/design-system-components\";\nimport { useQuery } from \"@octopusdeploy/octopus-react-client\";\nimport type { ResourceCollection, ProxyResource, Repository } from \"@octopusdeploy/octopus-server-client\";\nimport { Permission } from \"@octopusdeploy/octopus-server-client\";\nimport type { QueryParamValuesSetter } from \"@octopusdeploy/portal-routes\";\nimport { links } from \"@octopusdeploy/portal-routes\";\nimport * as React from \"react\";\nimport { useCallback } from \"react\";\nimport { BorderedContent } from \"~/components/BorderedContent/BorderedContent\";\nimport { formatUrl } from \"~/components/Navigation/ExternalLink/ExternalLink\";\nimport { PageContent } from \"~/components/PageContent/PageContent\";\nimport { isAllowed } from \"~/components/PermissionCheck/PermissionCheck\";\nimport { useDebouncedExternalState } from \"~/hooks/useDebouncedExternalState\";\nimport ListTitle from \"~/primitiveComponents/dataDisplay/ListTitle/ListTitle\";\nexport interface MachineProxiesPageProps {\n spaceId: string;\n queryParams: MachineProxiesQueryParams;\n setQueryParams: QueryParamValuesSetter;\n loaderData: MachineProxiesPageLoaderData;\n}\nexport interface MachineProxiesPageLoaderData {\n machineProxies: ResourceCollection;\n}\nexport interface MachineProxiesQueryParams {\n machineProxyName: string;\n page: number | undefined;\n pageSize: number | undefined;\n}\nexport async function machineProxiesPageLoader(repository: Repository, queryParams: MachineProxiesQueryParams): Promise {\n const machineProxies = await getPaginatedMachineProxies(repository, queryParams.page, queryParams.pageSize);\n return { machineProxies };\n}\nconst PageTitle = \"Machine Proxies\";\nconst defaultPageSize = 30;\nconst pageSizeOptions = [defaultPageSize, 50, 100];\nexport function ProxiesPage({ spaceId, loaderData, queryParams, setQueryParams }: MachineProxiesPageProps) {\n const { result: machineProxies } = usePaginatedMachineProxiesQuery(loaderData, queryParams);\n const [debouncedMachineProxyName, setDebouncedMachineProxyName] = useDebouncedExternalState(queryParams.machineProxyName, (value) => setQueryParams({ machineProxyName: value, page: 1 }), 200);\n const addProxyPageAction: PrimaryPageAction = {\n type: \"navigate\",\n label: \"Add Proxy\",\n path: links.createProxyPage.generateUrl({ spaceId: spaceId }),\n hasPermissions: isAllowed({\n permission: Permission.ProxyCreate,\n }),\n };\n const modifyWebProxyPageAction: PageAction = {\n type: \"navigate\",\n label: \"Modify Web Request Proxy\",\n path: links.webRequestProxySettingsPage.generateUrl(),\n buttonType: \"secondary\",\n hasPermissions: isAllowed({\n permission: Permission.ProxyCreate,\n }),\n extraContext: \"Modify the proxy used by the Octopus Server for web requests\",\n };\n const onPageChange = useCallback((page: number) => {\n setQueryParams({ ...queryParams, page });\n }, [queryParams, setQueryParams]);\n const onPageSizeChange = useCallback((pageSize: number) => {\n setQueryParams({ ...queryParams, pageSize: pageSize, page: 1 });\n }, [queryParams, setQueryParams]);\n if (machineProxies.TotalResults === 0 && !queryParams.machineProxyName) {\n return (\n \n \n \n );\n }\n const hideBottomPagination = machineProxies.Items.length < 20;\n return (),\n placement: hideBottomPagination ? \"top\" : \"topAndBottom\",\n }} filters={{ inputs: [] }}>\n \n items={machineProxies.Items} renderRow={({ item: machineProxy }) => } empty={}/>\n \n );\n}\nfunction MachineProxyListItem({ spaceId, machineProxy }: {\n spaceId: string;\n machineProxy: ProxyResource;\n}) {\n return (\n \n {machineProxy.Name}\n \n );\n}\nfunction getPaginatedMachineProxies(repository: Repository, page: number = 1, pageSize: number = defaultPageSize, machineProxyName: string = \"\") {\n return repository.Proxies.list({\n skip: (page - 1) * pageSize,\n take: pageSize,\n partialName: machineProxyName,\n });\n}\nfunction usePaginatedMachineProxiesQuery(initialResult: MachineProxiesPageLoaderData, queryParams: MachineProxiesQueryParams) {\n const { page, pageSize, machineProxyName } = queryParams;\n return useQuery((repository) => getPaginatedMachineProxies(repository, page, pageSize, machineProxyName), [page, pageSize, machineProxyName], \"Get paginated machine proxies\", { initialResult: initialResult.machineProxies });\n}\n","/* eslint-disable @typescript-eslint/init-declarations */\nimport { Callout } from \"@octopusdeploy/design-system-components\";\nimport type { ProxyResource } from \"@octopusdeploy/octopus-server-client\";\nimport { Permission } from \"@octopusdeploy/octopus-server-client\";\nimport { links } from \"@octopusdeploy/portal-routes\";\nimport { cloneDeep } from \"lodash\";\nimport * as React from \"react\";\nimport { repository } from \"~/clientInstance\";\nimport FormBaseComponent from \"~/components/FormBaseComponent\";\nimport type { FormBaseComponentState } from \"~/components/FormBaseComponent/FormBaseComponent\";\nimport FormPage from \"~/components/FormPage/FormPage\";\nimport { LegacyForm } from \"~/components/FormPaperLayout/LegacyForm\";\nimport type { MenuItem } from \"~/components/OverflowMenu/OverflowMenu\";\nimport { OverflowMenuItems } from \"~/components/OverflowMenu/OverflowMenu\";\nimport { OverflowMenuConverterVNext } from \"~/components/OverflowMenu/OverflowMenuConverterVNext\";\nimport { PageContent } from \"~/components/PageContent/PageContent\";\nimport { PageLoading } from \"~/components/PageContent/PageLoading\";\nimport TransitionAnimation from \"~/components/TransitionAnimation/TransitionAnimation\";\nimport { Text, ExpandableFormSection, Summary, required, Sensitive } from \"~/components/form\";\nimport ParseHelper from \"~/utils/ParseHelper\";\nimport StringHelper from \"~/utils/StringHelper\";\nimport InternalRedirect from \"../../../../components/Navigation/InternalRedirect/InternalRedirect\";\ntype ProxyPageProps = SpecificProxyProps | CreateProxyProps;\ninterface SpecificProxyProps {\n proxyId: string;\n}\ninterface CreateProxyProps {\n create: true;\n}\ntype ProxyPropsInner = ProxyPageProps & {\n initialData: InitialData;\n};\ninterface InitialData {\n model: ProxyResource;\n}\ninterface ProxyState extends FormBaseComponentState {\n deleted: boolean;\n newId: string | null;\n}\nconst Title = \"Proxies\";\nconst ProxyLayoutFormPage = FormPage();\nexport function ProxyPage(props: ProxyPageProps) {\n return ( {\n let model: ProxyResource;\n if (isCreateProxyProps(props)) {\n model = {\n Id: \"\",\n SpaceId: \"\",\n Links: { \"\": \"\" },\n ProxyType: \"HTTP\",\n Name: \"\",\n Host: \"\",\n Port: 80,\n Username: \"\",\n Password: {\n HasValue: false,\n NewValue: undefined,\n },\n };\n }\n else {\n model = await repository.Proxies.get(props.proxyId);\n }\n return { model };\n }} renderWhenLoaded={(data) => } renderAlternate={() => }/>);\n}\nclass ProxyLayoutInner extends FormBaseComponent {\n constructor(props: ProxyPropsInner) {\n super(props);\n this.state = {\n model: props.initialData.model,\n cleanModel: cloneDeep(props.initialData.model),\n deleted: false,\n newId: null,\n };\n }\n render() {\n const title = isCreateProxyProps(this.props) ? \"Create Proxy\" : this.state.model ? this.state.model.Name : StringHelper.ellipsis;\n const legacyOverflowActions: Array = [];\n if (!isCreateProxyProps(this.props) && !!this.state.model) {\n legacyOverflowActions.push(OverflowMenuItems.deleteItemDefault(\"proxy\", this.handleDeleteConfirm, { permission: Permission.ProxyDelete }));\n legacyOverflowActions.push([\n OverflowMenuItems.navItem(\"Audit Trail\", links.auditPage.generateUrl({ regardingAny: [this.state.model.Id] }), {\n permission: Permission.EventView,\n wildcard: true,\n }),\n ]);\n }\n const overflowMenu = OverflowMenuConverterVNext.convertAll(legacyOverflowActions);\n const saveText: string = this.state.newId ? \"Proxy created\" : \"Proxy details updated\";\n return (\n {({ FormContent, createSaveAction }) => (\n {overflowMenu.dialogs}\n \n {this.state.deleted && }\n {this.state.newId && }\n {this.state.model && (\n \n this.setModelState({ Name })} label=\"Proxy name\" validate={required(\"Please enter a proxy name\")} error={this.getFieldError(\"Name\")} autoFocus={true}/>\n \n\n \n this.setModelState({ Host })} label=\"Proxy host\" validate={required(\"Please enter a hostname\")} error={this.getFieldError(\"Host\")}/>\n
    \n Examples:\n
      \n
    • \n 10.0.0.1\n
    • \n
    • \n web01.local\n
    • \n
    • \n web01.mynetwork.com\n
    • \n
    \n
    \n \n Octopus only supports the use of HTTP proxies, there is currently no support for SOCKS proxies.\n \n
    \n\n \n this.setModelState({ Port: ParseHelper.safeParseInt(x) })} label=\"Proxy port\" validate={required(\"Please enter a port number\")} error={this.getFieldError(\"Port\")} type=\"number\"/>\n \n\n \n this.setModelState({ Username })} label=\"Proxy login\"/>\n this.setModelState({ Password })} label=\"Proxy password\"/>\n \n
    )}\n
    \n
    )}\n
    );\n }\n private handleSaveClick = async () => {\n await this.doBusyTask(async () => {\n const isNew = !this.state.model.Id;\n const result = await repository.Proxies.save(this.state.model);\n this.setState({\n model: result,\n cleanModel: cloneDeep(result),\n newId: isNew ? result.Id : null,\n });\n });\n };\n private handleDeleteConfirm = async () => {\n const result = await repository.Proxies.del(this.state.model);\n this.setState((state) => {\n return {\n model: null,\n cleanModel: null, //reset model so that dirty state doesn't prevent navigation\n deleted: true,\n };\n });\n return true;\n };\n static displayName = \"ProxyLayoutInner\";\n}\nfunction isCreateProxyProps(props: ProxyPageProps): props is CreateProxyProps {\n return \"create\" in props;\n}\n","import type { LicenseStatusResource } from \"@octopusdeploy/octopus-server-client\";\nimport { links } from \"@octopusdeploy/portal-routes\";\nimport * as React from \"react\";\nimport { useState } from \"react\";\nimport isWithinLicenceLimit from \"~/areas/configuration/components/License/isWithinLicenceLimit\";\nimport kubernetesCategoryDefinition from \"~/areas/infrastructure/components/MachineSettings/Endpoints/KubernetesCategoryDefinition\";\nimport type { CategorizedEndpointRegistration, CategoryDefinition, EndpointRegistration } from \"~/areas/infrastructure/components/MachineSettings/Endpoints/endpointRegistry\";\nimport endpointRegistry, { EndpointSelectionScope } from \"~/areas/infrastructure/components/MachineSettings/Endpoints/endpointRegistry\";\nimport { repository } from \"~/clientInstance\";\nimport DataLoader from \"~/components/DataLoader\";\nimport Dialog from \"~/components/Dialog/Dialog\";\nimport { WorkerLimitReachedDialogLayout } from \"~/components/LicenseLimitReachedDialogLayout\";\nimport ExternalLink from \"~/components/Navigation/ExternalLink/ExternalLink\";\nimport { PageContent } from \"~/components/PageContent/PageContent\";\nimport { PageLoading } from \"~/components/PageContent/PageLoading\";\nimport { useSpaceAwareNavigation } from \"../../../../components/Navigation/SpaceAwareNavigation/useSpaceAwareNavigation\";\nimport { EndpointSelector } from \"../MachineSettings/Endpoints/EndpointSelector\";\nconst WorkerMachineNewDataLoader = DataLoader();\ninterface LoadedData {\n licenseStatus: LicenseStatusResource;\n registrations: EndpointRegistration[];\n defaultCategory: string;\n}\nexport interface WorkerMachineNewProps {\n spaceId: string;\n workerPoolId: string | undefined;\n}\nexport function WorkerMachineNewPage(props: WorkerMachineNewProps) {\n return ( {\n const licenseStatus = repository.Licenses.getCurrentStatus();\n const registrations = endpointRegistry.getAllMachines();\n return {\n registrations,\n licenseStatus: await licenseStatus,\n defaultCategory: kubernetesCategoryDefinition.category,\n };\n }} renderAlternate={({ errors }) => } renderWhenLoaded={(loadedData) => }/>);\n}\ninterface WorkerMachineNewWhenLoadedProps {\n spaceId: string;\n loadedData: LoadedData;\n workerPoolId: string | undefined;\n}\nfunction WorkerMachineNewWhenLoaded({ loadedData, workerPoolId, spaceId }: WorkerMachineNewWhenLoadedProps) {\n const { licenseStatus, registrations, defaultCategory } = loadedData;\n const navigate = useNavigateToWorker(spaceId, workerPoolId);\n const isWithinWorkerLimit = isWithinLicenceLimit(licenseStatus, \"Workers\");\n const [isUpgradeDialogOpen, setUpgradeDialogOpen] = useState(!isWithinWorkerLimit);\n const categories = endpointRegistry.categorizeEndpoints(registrations);\n //we default to the linux category definition as default for the workers\n return (\n } registrations={registrations} categories={categories} defaultCategory={defaultCategory} onSelect={navigate} scope={EndpointSelectionScope.Worker}/>\n\n \n {\n setUpgradeDialogOpen(false);\n window.history.back();\n }}/>\n \n );\n}\nfunction Heading() {\n return (\n What type of Worker do you want to set up? Learn more about Workers\n );\n}\nfunction useNavigateToWorker(spaceId: string, workerPoolId: string | undefined) {\n const navigation = useSpaceAwareNavigation();\n return React.useCallback((registration: CategorizedEndpointRegistration, category: CategoryDefinition) => {\n if (endpointRegistry.isMachineRegistration(registration) && registration.discoverable) {\n return navigation.navigate(workerPoolId\n ? links.discoverWorkerMachineWithWorkerPoolPage.generateUrl({ spaceId, workerPoolId, endpointKey: registration.key }, { category: category.category })\n : links.discoverWorkerMachinePage.generateUrl({ spaceId, endpointKey: registration.key }, { category: category.category }));\n }\n else {\n return navigation.navigate(links.createWorkerMachinePage.generateUrl({ spaceId }, { type: registration.communicationStyle, environment: workerPoolId }));\n }\n }, [workerPoolId, navigation, spaceId]);\n}\n","/* eslint-disable no-eq-null */\n/* eslint-disable @typescript-eslint/consistent-type-assertions */\nimport { Callout } from \"@octopusdeploy/design-system-components\";\nimport type { BreadcrumbItem, PageAction } from \"@octopusdeploy/design-system-components\";\nimport type { CommunicationStyle, NewWorkerMachineResource, WorkerMachineResource } from \"@octopusdeploy/octopus-server-client\";\nimport { Permission } from \"@octopusdeploy/octopus-server-client\";\nimport type { LinkHref } from \"@octopusdeploy/portal-routes\";\nimport { links } from \"@octopusdeploy/portal-routes\";\nimport * as React from \"react\";\nimport { useSelector } from \"react-redux\";\nimport { useLocation } from \"react-router\";\nimport URI from \"urijs\";\nimport { useOnMachineSavedDispatch } from \"~/areas/infrastructure/hooks/useOnMachineSavedDispatch\";\nimport { repository } from \"~/clientInstance\";\nimport { workerPoolChipList } from \"~/components/Chips\";\nimport FormPage from \"~/components/FormPage/FormPage\";\nimport { WorkerPoolMultiSelect } from \"~/components/MultiSelect/WorkerPoolMultiSelect\";\nimport ExternalLink from \"~/components/Navigation/ExternalLink\";\nimport { isAllowed } from \"~/components/PermissionCheck/PermissionCheck\";\nimport { ExpandableFormSection, FormSectionHeading } from \"~/components/form\";\nimport Summary from \"~/components/form/Sections/Summary\";\nimport type { BaseMachineSettingsProps, MachineSettingsInitialData } from \"../BaseMachineSettings/BaseMachineSettings\";\nimport { BaseMachineSettingsLayout, LoadMachineSettingsData } from \"../BaseMachineSettings/BaseMachineSettings\";\nimport CreateNewMachineResource from \"../BaseMachineSettings/NewMachineResourceFactory\";\ninterface WorkerMachineSettingsPageProps {\n spaceId: string;\n machineId?: string;\n}\ninterface WorkerMachineSettingsInternalProps extends BaseMachineSettingsProps {\n spaceId: string;\n}\nconst IsNew = \"IsNew\";\nconst MachineSettingsFormPage = FormPage();\nexport function WorkerMachineSettingsPage({ spaceId, machineId }: WorkerMachineSettingsPageProps) {\n const location = useLocation();\n const query = URI(location.search);\n const querySearch = query.search(true);\n const breadcrumbItems: BreadcrumbItem[] = machineId\n ? []\n : [\n {\n pageUrl: querySearch.workerPoolId ? links.newWorkerMachineWithWorkerPoolPage.generateUrl({ spaceId, workerPoolId: querySearch.workerPoolId }) : links.newWorkerMachinePage.generateUrl({ spaceId }),\n label: \"New Worker\",\n },\n ];\n const isBuiltInWorkerEnabled = useSelector((state: GlobalState) => state.configurationArea.features.isBuiltInWorkerEnabled);\n const onMachineSaved = useOnMachineSavedDispatch();\n return ( {\n const machine = machineId ? await repository.Workers.get(machineId) : IsNew;\n const communicationStyle = machine === IsNew ? (querySearch.type as CommunicationStyle) : machine.Endpoint.CommunicationStyle;\n const machineSettingData = await LoadMachineSettingsData(machine, communicationStyle);\n return {\n ...machineSettingData,\n workerPools: (await repository.WorkerPools.all()).filter((x) => x.CanAddWorkers),\n };\n }} renderWhenLoaded={(initialData) => ()}/>);\n}\nclass WorkerMachineSettingsLayoutInternal extends BaseMachineSettingsLayout {\n constructor(props: WorkerMachineSettingsInternalProps) {\n super(props);\n }\n protected enableDisablePermission(): Permission {\n return Permission.WorkerEdit;\n }\n protected createPermission(): Permission {\n return Permission.WorkerEdit;\n }\n protected editPermission(): Permission {\n return Permission.WorkerEdit;\n }\n protected deletePermission(): Permission {\n return Permission.WorkerEdit;\n }\n protected machineLink(spaceId: string, machineId: string): LinkHref {\n return links.workerMachineSettingsPage.generateUrl({ spaceId, machineId });\n }\n protected getModel(location: URI, defaultMachinePolicyId: string): NewWorkerMachineResource {\n const query = location.search(true);\n const workerPoolIds = query.workerPool;\n return {\n ...CreateNewMachineResource(location, defaultMachinePolicyId),\n WorkerPoolIds: workerPoolIds ? [workerPoolIds] : [],\n };\n }\n protected mapToModel(model: WorkerMachineResource): NewWorkerMachineResource {\n return {\n ...model,\n };\n }\n protected renderTenantComponent(): JSX.Element | null {\n return null;\n }\n protected renderTypeSpecificComponents(): JSX.Element {\n return (
    \n \n\n \n this.setModelState({ WorkerPoolIds })} value={this.state.model.WorkerPoolIds}/>\n\n {this.selectedPoolsChangesBuiltinSetting() && (\n Adding Workers to the default pool turns off the Built-in Worker and changes where some steps are run. Learn about the Built-in Worker.\n )}\n \n
    );\n }\n protected getSecondaryPageActions(): PageAction[] {\n return [\n {\n type: \"navigate\",\n buttonType: \"secondary\",\n path: links.newWorkerMachinePage.generateUrl({ spaceId: this.props.spaceId }),\n label: \"Add another\",\n hasPermissions: isAllowed({ permission: Permission.MachineCreate, environment: \"*\", tenant: \"*\" }),\n },\n ];\n }\n private selectedPoolsChangesBuiltinSetting(): boolean {\n if (this.props.initialData.workerPoolSummaries == null) {\n return false;\n }\n const defaultPoolSummary = this.props.initialData.workerPoolSummaries.WorkerPoolSummaries.filter((wp) => wp.WorkerPool.IsDefault)[0];\n return defaultPoolSummary.TotalMachines === 0 && this.state.model.WorkerPoolIds.includes(defaultPoolSummary.WorkerPool.Id);\n }\n private workerPoolsSummary() {\n return this.state.model.WorkerPoolIds.length > 0 ? Summary.summary(workerPoolChipList(this.props.initialData.workerPools, this.state.model.WorkerPoolIds)) : Summary.placeholder(\"No worker pools\");\n }\n}\n","import { Callout } from \"@octopusdeploy/design-system-components\";\nimport type { DynamicWorkerType } from \"@octopusdeploy/octopus-server-client\";\nimport moment from \"moment\";\nimport React from \"react\";\nimport { WarningChip, DangerChip } from \"~/components/Chips\";\nimport ExternalLink from \"~/components/Navigation/ExternalLink\";\nimport { Note } from \"~/components/form\";\nimport DateFormatter from \"~/utils/DateFormatter\";\nexport const DeprecatedDynamicWorkerTypeChip: React.FC<{\n workerType: DynamicWorkerType | undefined;\n}> = (props) => {\n if (!props.workerType) {\n return null;\n }\n const dateFormatForHumans = \"D MMMM YYYY\";\n if (IsWorkerTypeDecommissioned(props.workerType)) {\n const formattedDate = DateFormatter.dateToCustomFormat(moment(props.workerType.EndOfLifeDateUtc), dateFormatForHumans);\n return ;\n }\n if (IsDeprecated(props.workerType)) {\n if (props.workerType.EndOfLifeDateUtc) {\n const formattedDate = DateFormatter.dateToCustomFormat(moment(props.workerType.EndOfLifeDateUtc), dateFormatForHumans);\n return ;\n }\n else {\n return ;\n }\n }\n return null;\n};\nDeprecatedDynamicWorkerTypeChip.displayName = \"DeprecatedDynamicWorkerTypeChip\"\nexport const DeprecatedDynamicWorkerTypeCallout: React.FC<{\n workerType: DynamicWorkerType | undefined;\n isNew: boolean;\n}> = (props) => {\n if (!props.workerType) {\n return null;\n }\n const dateFormatForHumans = \"D MMMM YYYY\";\n if (IsWorkerTypeDecommissioned(props.workerType)) {\n const formattedDate = DateFormatter.dateToCustomFormat(moment(props.workerType.EndOfLifeDateUtc), dateFormatForHumans);\n return (\n This worker image was decommissioned on {formattedDate}. Deployments to this worker pool will fail. Please move to a new worker image. Learn More\n );\n }\n if (IsDeprecated(props.workerType)) {\n if (props.workerType.EndOfLifeDateUtc) {\n const formattedDate = DateFormatter.dateToCustomFormat(moment(props.workerType.EndOfLifeDateUtc), dateFormatForHumans);\n const message = props.isNew\n ? `This worker image is deprecated, and will be removed on ${formattedDate}. Where possible, please avoid using this worker image as deployments will begin failing after that date.`\n : `This worker image is deprecated, and will be removed on ${formattedDate}. Please move to a new worker image before this date to prevent deployments from failing.`;\n return (\n {message} Learn More\n );\n }\n else {\n const message = props.isNew\n ? `This worker image is deprecated, and will be removed soon. Where possible, please avoid using this worker image as deployments will begin failing when the the end of life date is reached.`\n : `This worker image is deprecated, and will be removed soon. Please move to a new worker image to prevent deployments from failing when the the end of life date is reached.`;\n return (\n {message} Learn More\n );\n }\n }\n if (IsDefaultForOperatingSystem(props.workerType)) {\n return Octopus will choose the most appropriate {props.workerType.Description} version, and use new versions as they are released.;\n }\n return null;\n};\nDeprecatedDynamicWorkerTypeCallout.displayName = \"DeprecatedDynamicWorkerTypeCallout\"\nconst IsDefaultForOperatingSystem = (workerType: DynamicWorkerType): boolean => {\n return workerType.Type === workerType.Description + \"Default\";\n};\nconst IsDeprecated = (workerType: DynamicWorkerType): boolean => {\n if (workerType.DeprecationDateUtc) {\n return moment() > moment(workerType.DeprecationDateUtc);\n }\n return false;\n};\nexport const IsWorkerTypeDecommissioned = (workerType: DynamicWorkerType): boolean => {\n if (workerType.EndOfLifeDateUtc) {\n return moment() > moment(workerType.EndOfLifeDateUtc);\n }\n return false;\n};\nexport const IsWorkerTypeAvailable = (workerType: DynamicWorkerType): boolean => {\n if (workerType.StartDateUtc) {\n if (moment(workerType.StartDateUtc) > moment()) {\n return false;\n }\n }\n return !IsWorkerTypeDecommissioned(workerType);\n};\n","/* eslint-disable @typescript-eslint/consistent-type-assertions */\nimport { Callout, Checkbox } from \"@octopusdeploy/design-system-components\";\nimport type { PageAction } from \"@octopusdeploy/design-system-components\";\nimport type { WorkerPoolResource } from \"@octopusdeploy/octopus-server-client\";\nimport { Permission } from \"@octopusdeploy/octopus-server-client\";\nimport { links } from \"@octopusdeploy/portal-routes\";\nimport { cloneDeep } from \"lodash\";\nimport React from \"react\";\nimport { repository } from \"~/clientInstance\";\nimport type { FormBaseComponentState } from \"~/components/FormBaseComponent/FormBaseComponent\";\nimport { FormBaseComponent } from \"~/components/FormBaseComponent/FormBaseComponent\";\nimport { LegacyForm } from \"~/components/FormPaperLayout/LegacyForm\";\nimport Markdown from \"~/components/Markdown\";\nimport InternalRedirect from \"~/components/Navigation/InternalRedirect\";\nimport { type MenuItem, OverflowMenuItems } from \"~/components/OverflowMenu/OverflowMenu\";\nimport { OverflowMenuConverterVNext } from \"~/components/OverflowMenu/OverflowMenuConverterVNext\";\nimport { PageContent } from \"~/components/PageContent/PageContent\";\nimport { isAllowed } from \"~/components/PermissionCheck/PermissionCheck\";\nimport TransitionAnimation from \"~/components/TransitionAnimation/TransitionAnimation\";\nimport { Text, ExpandableFormSection, Summary, required, MarkdownEditor } from \"~/components/form\";\nimport NameSummaryWithSlug from \"~/primitiveComponents/form/Slugs/NameSummaryWithSlug\";\nimport SlugEditor from \"~/primitiveComponents/form/Slugs/SlugEditor\";\ninterface WorkerPoolEditProps {\n workerPool: TWorkerPoolResource;\n}\ninterface WorkerPoolEditState extends FormBaseComponentState {\n deleted: boolean;\n}\nabstract class WorkerPoolEditBase> extends FormBaseComponent, TState, TWorkerPoolResource> {\n constructor(props: WorkerPoolEditProps) {\n super(props);\n this.state = this.getDefaultState();\n }\n abstract getDefaultState(): TState;\n abstract customExpandableFormSections(): JSX.Element[];\n descriptionSummary() {\n return this.state.model.Description ? Summary.summary() : Summary.placeholder(\"No description provided\");\n }\n render() {\n const legacyOverflowActions: Array = [];\n legacyOverflowActions.push(OverflowMenuItems.deleteItem(\"Delete\", \"Are you sure you want to delete this worker pool?\", this.handleDeleteConfirm,
    \n

    Deleting this worker pool is permanent. There is no going back.

    \n

    Do you wish to continue?

    \n \n {`If you are using Config as Code, please check your deployment and runbook OCL files for steps with 'worker_pool' fields referring to '${this.state.model.Slug}' before deleting.`}\n \n
    , { permission: Permission.WorkerEdit }), [\n OverflowMenuItems.navItem(\"Audit Trail\", links.auditPage.generateUrl({ regardingAny: [this.state.model.Id] }), {\n permission: Permission.EventView,\n wildcard: true,\n }),\n ]);\n const overflowMenu = OverflowMenuConverterVNext.convertAll(legacyOverflowActions);\n const saveText = \"Worker pool details updated\";\n return (\n {({ FormContent, createSaveAction }) => (\n {overflowMenu.dialogs}\n \n {this.state.deleted && }\n {this.state.model && (\n ) : Summary.placeholder(\"Please enter a name for your worker pool\")} help=\"A short, memorable, unique name for this worker pool. Example: Development.\">\n this.setModelState({ Name })} label=\"Name\" validate={required(\"Please enter a worker pool name\")} autoFocus={true}/>\n\n this.setModelState({ Slug })} label=\"Slug\" validate={required(\"Please enter a worker pool slug\")} error={this.getFieldError(\"slug\")}/>\n \n\n \n this.setModelState({ IsDefault })} label=\"Default\"/>\n \n\n \n this.setModelState({ Description })}/>\n \n\n {this.customExpandableFormSections()}\n )}\n \n )}\n );\n }\n private handleSaveClick = async () => {\n await this.doBusyTask(async () => {\n const result = (await repository.WorkerPools.save(this.state.model)) as TWorkerPoolResource;\n this.setState({\n model: result,\n cleanModel: cloneDeep(result),\n });\n });\n };\n private handleDeleteConfirm = async () => {\n const result = await repository.WorkerPools.del(this.state.model);\n this.setState(() => {\n return {\n deleted: true,\n };\n });\n return true;\n };\n private getPageActions(): PageAction[] | undefined {\n return this.state.model && this.state.model.CanAddWorkers\n ? [\n {\n type: \"navigate\",\n buttonType: \"secondary\",\n path: links.newWorkerMachineWithWorkerPoolPage.generateUrl({ spaceId: this.state.model.SpaceId, workerPoolId: this.state.model.Id }),\n label: \"Add Worker\",\n hasPermissions: isAllowed({ permission: Permission.WorkerEdit }),\n },\n ]\n : undefined;\n }\n static displayName = \"WorkerPoolEditBase\";\n}\nexport { WorkerPoolEditProps, WorkerPoolEditState };\nexport default WorkerPoolEditBase;\n","import type { DynamicWorkerPoolResource, DynamicWorkerType } from \"@octopusdeploy/octopus-server-client\";\nimport { cloneDeep, sortBy } from \"lodash\";\nimport React from \"react\";\nimport { repository } from \"~/clientInstance\";\nimport { Summary, Select, ExpandableFormSection } from \"~/components/form\";\nimport { DeprecatedDynamicWorkerTypeChip, DeprecatedDynamicWorkerTypeCallout, IsWorkerTypeAvailable } from \"../DeprecatedWorkerType\";\nimport WorkerPoolEditBase from \"./WorkerPoolEditBase\";\nimport type { WorkerPoolEditState } from \"./WorkerPoolEditBase\";\ninterface DynamicWorkerPoolEditState extends WorkerPoolEditState {\n workerTypes: DynamicWorkerType[];\n}\nclass DynamicWorkerPoolEdit extends WorkerPoolEditBase {\n getDefaultState(): DynamicWorkerPoolEditState {\n return {\n deleted: false,\n model: this.props.workerPool,\n cleanModel: cloneDeep(this.props.workerPool),\n workerTypes: [],\n };\n }\n async componentDidMount() {\n await this.doBusyTask(async () => {\n const dynamicWorkerTypes = await repository.WorkerPools.getDynamicWorkerTypes();\n this.setState({\n workerTypes: dynamicWorkerTypes,\n });\n });\n }\n customExpandableFormSections(): JSX.Element[] {\n const baseElements: JSX.Element[] = [];\n const items = this.state.workerTypes\n ? sortBy(this.state.workerTypes.filter((wt) => IsWorkerTypeAvailable(wt)).map((t) => ({ value: t.Type, text: t.Description + (t.Type.endsWith(\"Default\") ? \" (default)\" : \"\") })), (t) => t.text)\n : [];\n const workerType = this.state.workerTypes.find((x) => x.Type == this.state.model.WorkerType);\n baseElements.push(\n \n \n )}\n
    \n ) : null}\n );\n }\n private handleNameChange = (value: string) => {\n this.setState({ name: value });\n };\n private handleWorkerPoolTypeChange = (value: WorkerPoolType) => {\n this.setState({\n workerPoolType: value,\n });\n };\n private handleWorkerTypeChange = (value: string | undefined) => {\n const workerType = this.state.workerTypes.find((l) => l.Type === value);\n if (!workerType) {\n throw Error(\"Could not locate selected worker image\");\n }\n this.setState({ workerType: workerType.Type });\n };\n private getPoolTypeLabel(t: WorkerPoolType): string {\n switch (t) {\n case WorkerPoolType.Static:\n return \"Static\";\n case WorkerPoolType.Dynamic:\n return \"Dynamic\";\n }\n }\n private getWorkerPoolTypeDescription(t: WorkerPoolType): string {\n switch (t) {\n case WorkerPoolType.Static:\n return \"A static worker pool allows you to add your own workers for executing deployments\";\n case WorkerPoolType.Dynamic:\n return \"The dynamic worker pool will lease a worker from the Worker service to use for a deployment\";\n }\n }\n static displayName = \"AddWorkerPoolsDialog\";\n}\n","/* eslint-disable @typescript-eslint/consistent-type-assertions */\nimport { css } from \"@emotion/css\";\nimport { space } from \"@octopusdeploy/design-system-tokens\";\nimport type { WorkerPoolSummaryResource, WorkerPoolResource, DynamicWorkerPoolResource, DynamicWorkerType, MachineModelHealthStatus } from \"@octopusdeploy/octopus-server-client\";\nimport { Permission, WorkerPoolType } from \"@octopusdeploy/octopus-server-client\";\nimport { links } from \"@octopusdeploy/portal-routes\";\nimport { isEqual } from \"lodash\";\nimport * as React from \"react\";\nimport { orderedHealthStatuses } from \"~/areas/infrastructure/InfrastructureDetails\";\nimport { DisabledMachineHealthSummaryLink, MachineHealthSummaryLink } from \"~/areas/infrastructure/components/MachineHealthSummaryLink/MachineHealthSummaryLink\";\nimport endpointRegistry from \"~/areas/infrastructure/components/MachineSettings/Endpoints/endpointRegistry\";\nimport { repository } from \"~/clientInstance\";\nimport { MissingChip } from \"~/components/Chips\";\nimport { Loading } from \"~/components/Loading/Loading\";\nimport MarkdownDescription from \"~/components/MarkdownDescription\";\nimport { formatUrl } from \"~/components/Navigation/ExternalLink/ExternalLink\";\nimport InternalRedirect from \"~/components/Navigation/InternalRedirect\";\nimport type { OverflowMenuNavLink, OverflowMenuGenericItem } from \"~/components/OverflowMenu/OverflowMenu\";\nimport { OverflowMenu, OverflowMenuItems } from \"~/components/OverflowMenu/OverflowMenu\";\nimport { Section } from \"~/components/Section/Section\";\nimport SimpleExpander from \"~/components/SimpleExpander\";\nimport { withTheme } from \"~/components/Theme\";\nimport { OctopusIcon, OctopusIconType } from \"~/primitiveComponents/dataDisplay/Icon\";\nimport RequestRaceConditioner from \"~/utils/RequestRaceConditioner\";\nimport BaseMachinesSummary, { EmptyStateNoMachine } from \"../../BaseMachinesSummary/BaseMachinesSummary\";\nimport type { BaseMachinesSummaryProps, BaseMachinesSummaryState } from \"../../BaseMachinesSummary/BaseMachinesSummary\";\nimport { getIsDisabledFilterAsPerPrecedence, getHealthStatusFiltersAsPerPrecedence } from \"../../BaseMachinesSummary/BaseMachinesSummaryFilter\";\nimport { DeprecatedDynamicWorkerTypeChip } from \"../DeprecatedWorkerType\";\nimport type { WorkerPoolsSummaryFilter } from \"./WorkerPoolsSummaryFilter\";\nimport { createWorkerPoolsMachinesArgs } from \"./WorkerPoolsSummaryFilter\";\nimport styles from \"./style.module.less\";\ninterface WorkerPoolSummarySectionInternalProps extends BaseMachinesSummaryProps {\n workerPoolSummary: WorkerPoolSummaryResource;\n workerTypes: DynamicWorkerType[];\n filter: WorkerPoolsSummaryFilter;\n}\nclass WorkerPoolSummarySectionInternal extends BaseMachinesSummary {\n private requestRaceConditioner = new RequestRaceConditioner();\n constructor(props: WorkerPoolSummarySectionInternalProps) {\n super(props);\n this.state = {\n machinesResponse: null,\n machineHealthStatusFastLookup: {},\n currentPageIndex: 0,\n expanded: false,\n healthStatusFilter: \"\",\n isDisabledFilter: undefined,\n redirectToTasks: false,\n endpointRegistrations: [],\n };\n }\n componentDidUpdate(prevProps: WorkerPoolSummarySectionInternalProps) {\n if (this.state.expanded && !isEqual(prevProps.filter, this.props.filter)) {\n this.reloadDataAndCurrentPageIndex();\n }\n }\n render() {\n if (this.state.redirectToTasks) {\n return ;\n }\n if (this.state.redirectToTaskId) {\n return ;\n }\n const workerPoolSummary = this.props.workerPoolSummary;\n const machinesHealthLinks = orderedHealthStatuses.map((status) => this.renderMachineSummaryLinks(this.props.workerPoolSummary, status));\n const summaryComponents = [...machinesHealthLinks, this.renderMachineDisabledSummaryLinks(workerPoolSummary)];\n const workerPool = workerPoolSummary.WorkerPool;\n const overflowMenuItems: Array = [\n [\n ...(workerPoolSummary && this.props.workerPoolSummary.WorkerPool.CanAddWorkers\n ? [\n OverflowMenuItems.navItem(\"Add Worker\", links.newWorkerMachineWithWorkerPoolPage.generateUrl({ spaceId: workerPool.SpaceId, workerPoolId: workerPool.Id }), {\n permission: Permission.WorkerEdit,\n }),\n ]\n : []),\n OverflowMenuItems.navItem(\"Edit\", links.editWorkerPoolPage.generateUrl({ spaceId: workerPool.SpaceId, workerPoolId: workerPool.Id }), {\n permission: Permission.WorkerEdit,\n }),\n ],\n ];\n // Only show machine-related actions if they actually have some machines in this workerPool.\n if (workerPoolSummary.TotalMachines > 0) {\n if (this.state.machinesResponse) {\n const machineIds = this.state.machinesResponse.Items.map((x) => x.Id);\n overflowMenuItems.push(OverflowMenuItems.item(`Check Health for ${workerPoolSummary.TotalMachines} Worker${workerPoolSummary.TotalMachines === 1 ? \"\" : \"s\"}`, () => this.performHealthCheck(workerPool, machineIds), {\n permission: Permission.WorkerEdit,\n }));\n }\n const tentacleIds = workerPoolSummary.MachineIdsForTentacleUpgrade;\n if (tentacleIds && tentacleIds.length > 0) {\n overflowMenuItems.push(OverflowMenuItems.confirmUpgrade(`Upgrade ${tentacleIds.length} Tentacle${tentacleIds.length === 1 ? \"\" : \"s\"} in this Worker Pool`, () => this.performTentacleUpgrade(workerPool), {\n permission: Permission.WorkerEdit,\n }));\n }\n const calamariIds = workerPoolSummary.MachineIdsForCalamariUpgrade;\n if (calamariIds && calamariIds.length > 0) {\n overflowMenuItems.push(OverflowMenuItems.confirmUpgrade(`Upgrade Calamari on ${calamariIds.length} Deployment Target${calamariIds.length === 1 ? \"\" : \"s\"}`, () => this.performCalamariUpgrade(calamariIds), {\n permission: Permission.WorkerEdit,\n }));\n }\n }\n const workerTypeId = (this.props.workerPoolSummary.WorkerPool as DynamicWorkerPoolResource).WorkerType;\n const workerType = this.props.workerTypes.find((x) => x.Type === workerTypeId);\n const titleContainer = (
    \n
    {this.getWorkerPoolIcon(workerPool)}
    \n
    {workerPool.Name}
    \n {this.props.workerPoolSummary && this.props.workerPoolSummary.WorkerPool.CanAddWorkers &&
    ({workerPoolSummary.TotalMachines && workerPoolSummary.TotalMachines.toLocaleString()})
    }\n {this.getDynamicWorkerDescription(workerTypeId, workerType)}\n \n
    {summaryComponents}
    \n
    \n \n
    \n
    );\n return (\n {\n this.setState({ expanded });\n if (expanded) {\n this.reloadDataAndCurrentPageIndex();\n }\n else {\n this.setState({\n machinesResponse: null,\n currentPageIndex: 0,\n });\n }\n }}>\n {workerPool.Description && (
    \n \n
    )}\n {workerPool.CanAddWorkers && this.renderMachinesList(workerPoolSummary)}\n {workerPool.WorkerPoolType === WorkerPoolType.Dynamic && (
    \n \n
    )}\n
    \n
    );\n }\n getWorkerPoolIcon(workerPool: WorkerPoolResource): React.ReactNode {\n switch (workerPool.WorkerPoolType) {\n case WorkerPoolType.Static:\n return withTheme((theme) => );\n case WorkerPoolType.Dynamic:\n return withTheme((theme) => );\n }\n }\n protected async loadData() {\n const isDisabled = getIsDisabledFilterAsPerPrecedence(this.props.isFiltering, this.props.filter, this.state.isDisabledFilter);\n const applicableHealthStatusFilters = getHealthStatusFiltersAsPerPrecedence(this.props.filter, this.props.isFiltering, this.state.healthStatusFilter);\n const workerPoolRequestArgs = createWorkerPoolsMachinesArgs(this.props.filter, isDisabled, applicableHealthStatusFilters);\n const promises = Promise.all([repository.WorkerPools.machines(this.props.workerPoolSummary.WorkerPool, workerPoolRequestArgs), endpointRegistry.getAllRegistrations()]);\n await this.requestRaceConditioner.avoidStaleResponsesForRequest(promises, ([machinesResponse, endpointRegistrations]) => {\n this.setMachineResponseState(machinesResponse);\n this.setState({ endpointRegistrations });\n });\n }\n private getDynamicWorkerDescription(workerTypeId: string, workerType: DynamicWorkerType | undefined) {\n if (this.props.workerPoolSummary && this.props.workerPoolSummary.WorkerPool.WorkerPoolType === WorkerPoolType.Dynamic) {\n if (workerType) {\n return (
    \n {workerType.Description}\n {workerType?.Type.endsWith(\"Default\") ? \" (default)\" : \"\"}\n
    );\n }\n return (
    \n \n
    );\n }\n return null;\n }\n private handleHealthSummaryLinkSelect = (e: React.MouseEvent, healthStatus: MachineModelHealthStatus) => {\n // The user may click a health status link to open an expander (but it shouldn't ever close it).\n if (this.state.expanded) {\n e.preventDefault();\n e.stopPropagation(); //prevent clicking the link toggling the panel/expander.\n }\n // Clear any disabled filters when a healthStatus filter is clicked. You can't chain inline disabled and healthStatus\n // filters together because they use different and/or logic at the API and it causes UI confusion.\n this.setState({\n healthStatusFilter: healthStatus,\n isDisabledFilter: undefined,\n }, () => {\n if (this.state.expanded) {\n this.reloadDataAndCurrentPageIndex();\n }\n });\n };\n private handleClearHealthSummaryFilter = (e: React.MouseEvent) => {\n // The user may click a health status link to open an expander (but it shouldn't ever close it).\n if (this.state.expanded) {\n e.preventDefault();\n e.stopPropagation(); //prevent clicking the link toggling the panel/expander.\n }\n this.setState({ healthStatusFilter: \"\" }, () => {\n if (this.state.expanded) {\n this.reloadDataAndCurrentPageIndex();\n }\n });\n };\n private renderMachineSummaryLinks(workerPoolSummary: WorkerPoolSummaryResource, healthStatus: MachineModelHealthStatus) {\n return ( `${count.toLocaleString()} ${friendlyName}`} count={workerPoolSummary.MachineHealthStatusSummaries[healthStatus]} allowSelection={!(this.props.filter.healthStatuses && this.props.filter.healthStatuses.length > 0)} isSelected={this.state.healthStatusFilter === healthStatus}/>);\n }\n private renderMachineDisabledSummaryLinks(workerPoolSummary: WorkerPoolSummaryResource) {\n return ();\n }\n private handleClearDisabledSummaryFilter(e: React.MouseEvent) {\n // The user may click a health status link to open an expander (but it shouldn't ever close it).\n if (this.state.expanded) {\n e.preventDefault();\n e.stopPropagation(); //prevent clicking the link toggling the panel/expander.\n }\n this.setState({ isDisabledFilter: undefined }, () => {\n if (this.state.expanded) {\n this.reloadDataAndCurrentPageIndex();\n }\n });\n }\n private handleDisabledSummaryLinkSelect(e: React.MouseEvent) {\n // The user may click a disabled link to open an expander (but it shouldn't ever close it).\n if (this.state.expanded) {\n e.preventDefault();\n e.stopPropagation(); //prevent clicking the link toggling the panel/expander.\n }\n // Clear any healthStatus filters when disabled is clicked. You can't chain inline disabled and healthStatus\n // filters together because they use different and/or logic at the API and it causes UI confusion.\n this.setState({\n isDisabledFilter: true,\n healthStatusFilter: \"\",\n }, () => {\n if (this.state.expanded) {\n this.reloadDataAndCurrentPageIndex();\n }\n });\n }\n private async performHealthCheck(workerPool: WorkerPoolResource, machineIds: string[]) {\n return this.doBusyTask(async () => {\n const task = await repository.Tasks.createPerformHealthCheckTaskForWorkerPool(workerPool, machineIds);\n this.setState({ redirectToTaskId: task.Id });\n });\n }\n private async performTentacleUpgrade(workerPool: WorkerPoolResource) {\n return this.doBusyTask(async () => {\n await repository.Machines.upgradeAllWorkersInWorkerPool(workerPool.Id);\n this.setState({ redirectToTasks: true });\n });\n }\n private async performCalamariUpgrade(machineIds: string[]) {\n return this.doBusyTask(async () => {\n const task = await repository.Tasks.createUpdateCalamariOnWorkersTask(machineIds);\n this.setState({ redirectToTaskId: task.Id });\n });\n }\n}\nconst dynamicPoolEmptyStateWrapperStyles = css({\n margin: `${space[\"8\"]} ${space[\"16\"]}`,\n});\ntype WorkerPoolSummarySectionProps = WorkerPoolSummarySectionInternalProps;\nfunction WorkerPoolSummarySection(props: WorkerPoolSummarySectionProps) {\n return ;\n}\nexport default WorkerPoolSummarySection;\n","import type { WorkerPoolResource } from \"@octopusdeploy/octopus-server-client\";\nimport * as React from \"react\";\nimport { repository } from \"~/clientInstance\";\nimport type { DataBaseComponentState } from \"~/components/DataBaseComponent/DataBaseComponent\";\nimport { DataBaseComponent } from \"~/components/DataBaseComponent/DataBaseComponent\";\nimport SaveDialogLayout from \"~/components/DialogLayout/SaveDialogLayout\";\nimport SortableList from \"~/primitiveComponents/dataDisplay/SortableList/SortableList\";\ninterface WorkerPoolSorterFormProps {\n saveDone(): void;\n}\ninterface WorkerPoolSorterFormState extends DataBaseComponentState {\n workerPools: WorkerPoolResource[];\n}\nclass WorkerPoolsSorter extends DataBaseComponent {\n constructor(props: WorkerPoolSorterFormProps) {\n super(props);\n this.state = {\n workerPools: [],\n };\n }\n async componentDidMount() {\n return this.doBusyTask(async () => {\n const workerPools = await repository.WorkerPools.all();\n this.setState({ workerPools });\n });\n }\n async save() {\n const workerPoolIdsSorted = this.state.workerPools.map((workerPool) => {\n return workerPool.Id;\n });\n return this.doBusyTask(async () => {\n await repository.WorkerPools.sort(workerPoolIdsSorted);\n this.props.saveDone();\n });\n }\n render() {\n return ( this.save()}>\n {this.state.workerPools.length > 0 && this.setState({ workerPools: x })}/>}\n );\n }\n static displayName = \"WorkerPoolsSorter\";\n}\nexport default WorkerPoolsSorter;\n","/* eslint-disable @typescript-eslint/consistent-type-assertions */\nimport { css } from \"@emotion/css\";\nimport { Divider, EmptyStateNoResults, Pagination, SearchInput } from \"@octopusdeploy/design-system-components\";\nimport type { PrimaryPageAction, PageAction } from \"@octopusdeploy/design-system-components\";\nimport { space } from \"@octopusdeploy/design-system-tokens\";\nimport { useQuery } from \"@octopusdeploy/octopus-react-client\";\nimport type { WorkerPoolResource, WorkerPoolsSummaryResource, TenantResource, DynamicWorkerType, Repository } from \"@octopusdeploy/octopus-server-client\";\nimport { EndpointsHelper, Permission } from \"@octopusdeploy/octopus-server-client\";\nimport { links, type QueryParamValuesSetter } from \"@octopusdeploy/portal-routes\";\nimport { isEqual } from \"lodash\";\nimport { useEffect, useState } from \"react\";\nimport * as React from \"react\";\nimport { useOnClearMachineDispatch } from \"~/areas/infrastructure/hooks/useOnClearMachineDispatch\";\nimport { AdvancedFilterCheckbox } from \"~/components/AdvancedFilterLayout\";\nimport { AdvancedFilters } from \"~/components/AdvancedFilterLayout/AdvancedFilters\";\nimport { AdvancedFilterTextInput } from \"~/components/AdvancedFilterLayout/Text/AdvancedFilterTextInput\";\nimport { BorderedContent } from \"~/components/BorderedContent/BorderedContent\";\nimport { useLegacyDoBusyTask } from \"~/components/DataBaseComponent/useLegacyDoBusyTask\";\nimport Dialog from \"~/components/Dialog/Dialog\";\nimport { useDialogTrigger } from \"~/components/Dialog/DialogTrigger\";\nimport { EndpointCommunicationStyleMultiSelect } from \"~/components/MultiSelect/EndpointCommunicationStyleMultiSelect\";\nimport { MachineModelHealthStatusMultiSelect } from \"~/components/MultiSelect/MachineModelHealthStatusMultiSelect\";\nimport { ShellNameMultiSelect } from \"~/components/MultiSelect/ShellNameMultiSelect\";\nimport { TargetTagMultiSelect } from \"~/components/MultiSelect/TargetTagMultiSelect\";\nimport { WorkerPoolMultiSelect } from \"~/components/MultiSelect/WorkerPoolMultiSelect\";\nimport { useSpaceAwareNavigation } from \"~/components/Navigation/SpaceAwareNavigation/useSpaceAwareNavigation\";\nimport { OverflowMenuItems } from \"~/components/OverflowMenu/OverflowMenu\";\nimport { OverflowMenuConverterVNext } from \"~/components/OverflowMenu/OverflowMenuConverterVNext\";\nimport { PageContent } from \"~/components/PageContent/PageContent\";\nimport ExpansionButtons from \"~/components/form/Sections/ExpansionButtons\";\nimport * as tenantTagsets from \"~/components/tenantTagsets\";\nimport type { TagIndex } from \"~/components/tenantTagsets\";\nimport { useDebouncedExternalState } from \"~/hooks/useDebouncedExternalState\";\nimport MachineHealthStatusHelper from \"~/utils/MachineHealthStatusHelper\";\nimport PermissionCheck, { isAllowed } from \"../../../../../components/PermissionCheck/PermissionCheck\";\nimport ConfirmTentacleUpgradePanel from \"../../MachinesLayout/ConfirmTentacleUpgradePanel\";\nimport AddWorkerPoolsDialog from \"./AddWorkerPoolsDialog\";\nimport WorkerPoolSummarySection from \"./WorkerPoolSummarySection\";\nimport WorkerPoolsSorter from \"./WorkerPoolsSorter\";\nimport type { WorkerPoolsSummaryFilter } from \"./WorkerPoolsSummaryFilter\";\nimport { defaultWorkerPoolsSummaryFilter, createWorkerPoolsSummaryArgs } from \"./WorkerPoolsSummaryFilter\";\nconst defaultPageSize = 30;\nconst pageSizeOptions = [defaultPageSize, 50, 100];\ntype WorkerPoolsPageQueryParams = WorkerPoolsSummaryFilter;\ninterface WorkerPoolsPageProps {\n spaceId: string;\n loaderData: WorkerPoolsPageLoaderData;\n queryParams: WorkerPoolsPageQueryParams;\n setQueryParams: QueryParamValuesSetter;\n}\ninterface WorkerPoolsPageLoaderData {\n workerPools: WorkerPoolResource[];\n machineRoles: string[];\n tagIndex: TagIndex;\n workerShellNames: string[];\n workerPoolsSummary: WorkerPoolsSummaryResource;\n tenants: TenantResource[];\n workerTypes: DynamicWorkerType[];\n}\nexport const workerPoolsPageTitle = \"Worker Pools\";\nexport async function workerPoolsPageLoader(repository: Repository, queryParams: WorkerPoolsPageQueryParams): Promise {\n const workerPoolSummaryArgs = createWorkerPoolsSummaryArgs({ ...defaultWorkerPoolsSummaryFilter, ...queryParams });\n const workerPools = repository.WorkerPools.all();\n const machineRoles = repository.MachineRoles.all();\n const workerShellNames = repository.WorkerShells.all();\n const workerPoolsSummary = repository.WorkerPools.summary(workerPoolSummaryArgs);\n const tagIndex = tenantTagsets.getTagIndex();\n const workerTypes = repository.WorkerPools.getDynamicWorkerTypes();\n const tenants = await (isAllowed({ permission: Permission.TenantView, tenant: \"*\" }) ? repository.Tenants.all() : Promise.resolve([]));\n return {\n workerPools: await workerPools,\n machineRoles: await machineRoles,\n tagIndex: await tagIndex,\n workerShellNames: await workerShellNames,\n workerPoolsSummary: await workerPoolsSummary,\n tenants,\n workerTypes: await workerTypes,\n };\n}\nexport function WorkerPoolsPage({ spaceId, loaderData, queryParams, setQueryParams }: WorkerPoolsPageProps) {\n const machineHealthStatuses = MachineHealthStatusHelper.getMachineModelHealthStatusResources();\n const communicationStyles = EndpointsHelper.getCommunicationStyleResources();\n const onClearMachine = useOnClearMachineDispatch();\n const addWorkerPoolDialogControls = useDialogTrigger();\n const navigate = useSpaceAwareNavigation();\n const { doBusyTask, status } = useLegacyDoBusyTask();\n const [pageSize, setPageSize] = useState(defaultPageSize);\n const [currentPageIndex, setCurrentPageIndex] = useState(0);\n const [debouncedPartialName, setDebouncedPartialName] = useDebouncedExternalState(queryParams.partialName, (value) => setQueryParams((prev) => ({ ...prev, partialName: value })), 200);\n const { result: workerPoolsSummary, refetch: reloadWorkerPoolSummary } = useQuery(async (repository) => {\n const workerPoolSummariesArgs = createWorkerPoolsSummaryArgs(queryParams);\n return repository.WorkerPools.summary(workerPoolSummariesArgs);\n }, [queryParams], \"Get worker pools summary\", { initialResult: loaderData.workerPoolsSummary });\n useEffect(() => {\n onClearMachine();\n }, [onClearMachine]);\n useEffect(() => {\n setCurrentPageIndex(0);\n }, [workerPoolsSummary]);\n const hasWorkerPool = loaderData.workerPools && loaderData.workerPools.length > 0;\n const addWorkerPageAction: PageAction = {\n type: \"navigate\",\n label: \"Add Worker\",\n path: links.newWorkerMachinePage.generateUrl({ spaceId }),\n buttonType: \"secondary\",\n hasPermissions: isAllowed({\n permission: Permission.WorkerEdit,\n }),\n };\n const addWorkerPoolPageAction: PrimaryPageAction = {\n type: \"button\",\n label: \"Add Worker Pool\",\n hasPermissions: isAllowed({\n permission: Permission.WorkerEdit,\n }),\n onClick: addWorkerPoolDialogControls.openDialog,\n };\n const pagination = ( setCurrentPageIndex(page - 1)} selectedItemsPerPage={pageSize} onPageSizeChange={(newPageSize) => setPageSize(newPageSize)} totalResults={workerPoolsSummary.WorkerPoolSummaries.length}/>);\n const legacyOverflowMenuReorderItem = OverflowMenuItems.dialogItem(\"Reorder\", reloadWorkerPoolSummary()}/>, { permission: Permission.WorkerView });\n const overflowMenu = OverflowMenuConverterVNext.convertAll([legacyOverflowMenuReorderItem]);\n const start = currentPageIndex * pageSize;\n const end = start + pageSize;\n const workerPoolSummaries = workerPoolsSummary.WorkerPoolSummaries;\n const currentPageWorkerPoolSummaries = workerPoolSummaries.slice(start, end);\n const workerPoolExpanders = currentPageWorkerPoolSummaries.map((summary) => {\n return (\n \n \n );\n });\n const advancedFilters = (\n setQueryParams((prev) => ({ ...prev, isDisabled: x ? x : undefined }))}/>\n setQueryParams((prev) => ({ ...prev, hideEmptyWorkerPools: x ? x : undefined }))}/>\n setQueryParams((prev) => ({ ...prev, machinePartialName: x }))}/>\n setQueryParams((prev) => ({ ...prev, workerPoolIds: x }))}/>\n setQueryParams((prev) => ({ ...prev, roles: x }))}/>\n setQueryParams((prev) => ({ ...prev, healthStatuses: x }))}/>\n setQueryParams((prev) => ({ ...prev, commStyles: x }))}/>\n setQueryParams((prev) => ({ ...prev, shellNames: x }))}/>\n );\n const filters = {\n inputs: [],\n advancedFilters: {\n content: advancedFilters,\n hasUserSelectedValues: isFiltering(queryParams),\n onResetFilter: () => setQueryParams(defaultWorkerPoolsSummaryFilter),\n },\n };\n const tentacleUpgradesRequiredWarning = workerPoolSummaries.some((x) => x.TentacleUpgradesRequired) && (\n navigate.navigate(links.tasksPage.generateUrl())}/>\n );\n return ( 20 ? \"topAndBottom\" : \"top\",\n }} callout={{ type: \"custom\", content: <>{tentacleUpgradesRequiredWarning} }} legacyStatus={status}>\n \n {overflowMenu.dialogs}\n \n {\n addWorkerPoolDialogControls.closeDialog();\n navigate.navigate(links.editWorkerPoolPage.generateUrl({ spaceId, workerPoolId: workerPool.Id }));\n }}/>\n \n {workerPoolExpanders.length > 0 ? (<>\n
    \n \n
    \n {workerPoolExpanders}\n ) : ()}\n
    \n
    );\n}\nfunction isFiltering(currentFilter: WorkerPoolsSummaryFilter) {\n return !isEqual(currentFilter, defaultWorkerPoolsSummaryFilter);\n}\nconst expansionButtonsContainerStyles = css({\n paddingTop: space[16],\n paddingBottom: space[4],\n paddingLeft: space[16],\n});\n","import type { PageSideNavLink } from \"@octopusdeploy/design-system-components\";\nimport type { LinkEvent, LinkHref } from \"@octopusdeploy/portal-routes\";\nimport { nameForLink, useDispatchLinkClicked } from \"@octopusdeploy/portal-routes\";\nimport type { PermissionCheckProps } from \"~/components/PermissionCheck/PermissionCheck\";\nimport { isAllowed } from \"~/components/PermissionCheck/PermissionCheck\";\nexport interface CreatePageSideNavLink {\n (label: string | JSX.Element, path: LinkHref, exact?: boolean): PageSideNavLink;\n (label: string | JSX.Element, path: LinkHref, exact?: boolean, permission?: PermissionCheckProps): PageSideNavLink | null;\n}\nexport function useCreatePageSideNavLink(): CreatePageSideNavLink {\n const dispatchLinkClicked = useDispatchLinkClicked();\n function createPageSideNavLink(label: string | JSX.Element, path: LinkHref, exact?: boolean): PageSideNavLink;\n function createPageSideNavLink(label: string | JSX.Element, path: LinkHref, exact?: boolean, permission?: PermissionCheckProps): PageSideNavLink | null {\n if (!permission || isAllowed(permission)) {\n return {\n label,\n path,\n exact: !!exact,\n onClick: (label: string, href: string) => {\n const linkEvent: LinkEvent = {\n linkLabel: label,\n documentUrl: href,\n linkLocation: \"Page Side Nav\",\n };\n dispatchLinkClicked(nameForLink(), linkEvent);\n },\n };\n }\n return null;\n }\n return createPageSideNavLink;\n}\n","import { Level2OuterPageLayout, LinearProgress, PageHeaderPrimary } from \"@octopusdeploy/design-system-components\";\nimport type { InsightsReportResource } from \"@octopusdeploy/octopus-server-client\";\nimport { links } from \"@octopusdeploy/portal-routes\";\nimport { compact } from \"lodash\";\nimport * as React from \"react\";\nimport type { ReportFilter } from \"~/areas/insights/components/Reports/ReportMetricsLayout/useReportFilters\";\nimport type { Errors } from \"~/components/DataBaseComponent/index\";\nimport Markdown from \"~/components/Markdown\";\nimport { ErrorPanel } from \"~/components/form/index\";\nimport { useCreatePageSideNavLink } from \"~/hooks/useCreatePageSideNavLink\";\nexport interface InsightsReportLayoutProps {\n report: InsightsReportResource;\n reportFilter?: ReportFilter;\n children: React.ReactNode;\n}\nexport function InsightsReportLayout({ report, children, reportFilter }: InsightsReportLayoutProps) {\n const createPageSideNavLink = useCreatePageSideNavLink();\n const sidebarLinks = [\n createPageSideNavLink(\"Overview\", links.insightsReportOverviewPage.generateUrl({ spaceId: report.SpaceId, reportId: report.Id }, reportFilter)),\n createPageSideNavLink(\"Deployment frequency\", links.insightsReportDeploymentFrequencyPage.generateUrl({ spaceId: report.SpaceId, reportId: report.Id }, reportFilter)),\n createPageSideNavLink(\"Deployment lead time\", links.insightsReportDeploymentLeadTimePage.generateUrl({ spaceId: report.SpaceId, reportId: report.Id }, reportFilter)),\n createPageSideNavLink(\"Deployment failure rate\", links.insightsReportDeploymentFailureRatePage.generateUrl({ spaceId: report.SpaceId, reportId: report.Id }, reportFilter)),\n createPageSideNavLink(\"Mean time to recovery\", links.insightsReportDeploymentMeanTimeToRecoveryPage.generateUrl({ spaceId: report.SpaceId, reportId: report.Id }, reportFilter)),\n createPageSideNavLink(\"Deployment duration\", links.insightsReportDeploymentDurationPage.generateUrl({ spaceId: report.SpaceId, reportId: report.Id }, reportFilter)),\n createPageSideNavLink(\"Settings\", links.insightsReportSettingsPage.generateUrl({ spaceId: report.SpaceId, reportId: report.Id })),\n ];\n const computedSidebarLinks = compact(sidebarLinks);\n return (
    \n } navItems={computedSidebarLinks} header={{\n breadcrumbs: [{ label: \"Insights\", pageUrl: links.insightReportListPage.generateUrl({ spaceId: report.SpaceId }) }],\n title: report.Name,\n logo: { href: report.Links.Logo, accessibleName: `${report.Name} logo` },\n }}>\n {children}\n \n
    );\n}\nexport interface InsightsReportLoadingLayoutProps {\n errors: Errors | undefined;\n busy: boolean;\n}\nexport function InsightsReportLoadingLayout({ busy, errors }: InsightsReportLoadingLayoutProps) {\n return (
    \n \n \n {errors && }\n
    );\n}\n","import { InsightsGranularity, InsightsTimeRange } from \"@octopusdeploy/octopus-server-client\";\nimport type { InsightsCadence } from \"@octopusdeploy/portal-routes\";\nimport { InsightsCadenceValues } from \"@octopusdeploy/portal-routes\";\nexport const insightsCadenceOptions = [\n {\n value: InsightsCadenceValues.LastYearMonthly,\n text: \"Last year, monthly\",\n },\n {\n value: InsightsCadenceValues.LastYearWeekly,\n text: \"Last year, weekly\",\n },\n {\n value: InsightsCadenceValues.LastQuarterWeekly,\n text: \"Last quarter, weekly\",\n },\n {\n value: InsightsCadenceValues.LastQuarterDaily,\n text: \"Last quarter, daily\",\n },\n {\n value: InsightsCadenceValues.LastMonthDaily,\n text: \"Last month, daily\",\n },\n] as const;\ntype InsightsCadenceDefinition = {\n timeRange: InsightsTimeRange;\n granularity: InsightsGranularity;\n};\nexport const insightsCadenceLookup: Record = {\n lastYearMonthly: {\n timeRange: InsightsTimeRange.LastYear,\n granularity: InsightsGranularity.Monthly,\n },\n lastYearWeekly: {\n timeRange: InsightsTimeRange.LastYear,\n granularity: InsightsGranularity.Weekly,\n },\n lastQuarterWeekly: {\n timeRange: InsightsTimeRange.LastQuarter,\n granularity: InsightsGranularity.Weekly,\n },\n lastQuarterDaily: {\n timeRange: InsightsTimeRange.LastQuarter,\n granularity: InsightsGranularity.Daily,\n },\n lastMonthDaily: {\n timeRange: InsightsTimeRange.LastMonth,\n granularity: InsightsGranularity.Daily,\n },\n} as const;\nexport const insightsCadenceXAxisTickInterval: Record = {\n lastYearMonthly: 0,\n lastYearWeekly: 6,\n lastQuarterWeekly: 1,\n lastQuarterDaily: 12,\n lastMonthDaily: 3,\n};\n","import humanizeDuration from \"humanize-duration\";\nimport { upperFirst, lowerCase } from \"lodash\";\nimport moment from \"moment\";\nexport const sentenceCase = (str: string) => upperFirst(lowerCase(str));\nexport function formatDurationInWords(duration: string | null): string {\n return duration ? humanizeDuration(moment.duration(duration).asMilliseconds(), { largest: 2, maxDecimalPoints: 0, round: true }) : \"N/A\";\n}\n","/* eslint-disable @typescript-eslint/consistent-type-assertions */\nimport { Tooltip } from \"@octopusdeploy/design-system-components\";\nimport { ArrowDownIcon, ArrowRightIcon, ArrowUpIcon, MinusIcon } from \"@octopusdeploy/design-system-icons\";\nimport { InsightsTrendDirection } from \"@octopusdeploy/octopus-server-client\";\nimport type { OverallTrend, InsightsTrendKey } from \"@octopusdeploy/octopus-server-client\";\nimport cn from \"classnames\";\nimport React from \"react\";\nimport { formatDurationInWords } from \"~/areas/insights/dataTransformation/stringHelpers\";\nimport styles from \"./styles.module.less\";\ninterface TrendIndicatorProps {\n trend: OverallTrend;\n trendKey: InsightsTrendKey;\n}\nconst trendDirectionIconLookup: Record = {\n None: ,\n Up: ,\n Steady: ,\n Down: ,\n};\nfunction getTrendTooltipContent(direction: InsightsTrendDirection) {\n switch (direction) {\n case InsightsTrendDirection.None:\n return \"Not enough deployments to draw a trend\";\n case InsightsTrendDirection.Steady:\n return \"Trending even in the last 4 weeks compared to the previous 4\";\n case InsightsTrendDirection.Up:\n case InsightsTrendDirection.Down:\n return `Trending ${direction.toLocaleLowerCase()} in the last 4 weeks compared to the previous 4`;\n }\n}\nexport function TrendIndicator({ trend, trendKey }: TrendIndicatorProps) {\n const parseValue = (val: number | string) => {\n switch (trendKey) {\n case \"DeploymentFrequency\":\n // The deployment frequency current value is the sum of the last 4 weeks (instead of an average)\n // Hack to show a weekly average\n const weeklyAvg = Math.ceil((val as number) / 4);\n return weeklyAvg.toLocaleString();\n case \"LeadTime\":\n return formatDurationInWords(val as string);\n case \"ChangeFailureRate\":\n return `${Math.round((val as number) * 100)}%`;\n case \"MeanTimeToRecovery\":\n return formatDurationInWords(val as string);\n default:\n return val;\n }\n };\n // Up should be red for everything other than Frequency\n const containerClassname = cn(styles.container, {\n [styles.positiveTrend]: trendKey === \"DeploymentFrequency\" ? trend.Direction === InsightsTrendDirection.Up : trend.Direction === InsightsTrendDirection.Down,\n [styles.negativeTrend]: trendKey === \"DeploymentFrequency\" ? trend.Direction === InsightsTrendDirection.Down : trend.Direction === InsightsTrendDirection.Up,\n });\n return (
    \n {trend.Current ? (\n {parseValue(trend.Current)}\n ) : (\n {trendDirectionIconLookup[InsightsTrendDirection.None]}\n )}\n \n {trendDirectionIconLookup[trend.Direction]}\n \n
    );\n}\n","import { css } from \"@emotion/css\";\nimport { ActionButton, ActionButtonType } from \"@octopusdeploy/design-system-components\";\nimport type { PageAction } from \"@octopusdeploy/design-system-components\";\nimport type { GetInsightsForReportBffResponse, InsightsReportResource, InsightsTrendKey, TagSetResource } from \"@octopusdeploy/octopus-server-client\";\nimport type { InsightsCadence, InsightsMetricsSplit } from \"@octopusdeploy/portal-routes\";\nimport { links, InsightsMetricsSplitValues } from \"@octopusdeploy/portal-routes\";\nimport type { ReactNode } from \"react\";\nimport React from \"react\";\nimport { useHistory, useLocation } from \"react-router\";\nimport type { AnalyticInsightsDispatcher } from \"~/analytics/Analytics\";\nimport { Action, useAnalyticInsightsDispatch } from \"~/analytics/Analytics\";\nimport type { ReportFilter, SetReportFilter } from \"~/areas/insights/components/Reports/ReportMetricsLayout/useReportFilters\";\nimport { insightsCadenceLookup, insightsCadenceOptions } from \"~/areas/insights/insightsCadence\";\nimport { repository } from \"~/clientInstance\";\nimport type { Errors } from \"~/components/DataBaseComponent\";\nimport DataBaseComponent from \"~/components/DataBaseComponent\";\nimport OnboardingPage from \"~/components/GettingStarted/OnboardingPage\";\nimport { useSpaceAwareNavigation } from \"~/components/Navigation/SpaceAwareNavigation/useSpaceAwareNavigation\";\nimport { PageContent } from \"~/components/PageContent/PageContent\";\nimport { Select } from \"~/components/form\";\nimport type { DropdownMenuOption } from \"~/primitiveComponents/form/Select/DropDownMenu\";\nimport { timeOperationOptions } from \"~/utils/OperationTimer/timeOperation\";\nimport { TrendIndicator } from \"../TrendIndicator/TrendIndicator\";\nfunction getSplitOptions(report: InsightsReportResource, tagSets: TagSetResource[]) {\n const options: DropdownMenuOption[] = [\n {\n value: InsightsMetricsSplitValues.None,\n text: \"None\",\n },\n {\n value: InsightsMetricsSplitValues.Project,\n text: \"Project\",\n },\n {\n value: InsightsMetricsSplitValues.ProjectGroup,\n text: \"Project Group\",\n },\n {\n value: InsightsMetricsSplitValues.Environment,\n text: \"Environment\",\n },\n {\n value: InsightsMetricsSplitValues.EnvironmentGroup,\n text: \"Environment group\",\n },\n ];\n if (report.TenantIds.length > 0 || report.TenantTags.length > 0) {\n options.push({\n value: InsightsMetricsSplitValues.Tenant,\n text: \"Tenant\",\n });\n tagSets.forEach((tagSet) => options.push({\n value: tagSet.Id,\n text: `Tag Set - ${tagSet.Name}`,\n }));\n }\n return options;\n}\nexport interface ReportMetricsPageProps {\n report: InsightsReportResource;\n bffResponse: GetInsightsForReportBffResponse;\n split: InsightsMetricsSplit;\n cadence: InsightsCadence;\n busy: Promise | undefined;\n}\ninterface ReportMetricsLayoutProps {\n title: string;\n report: InsightsReportResource;\n children: (props: ReportMetricsPageProps) => React.ReactNode;\n trendKey?: InsightsTrendKey;\n reportFilter: ReportFilter;\n setReportFilter: SetReportFilter;\n}\ninterface ReportMetricsDataLoaderProps extends ReportMetricsLayoutProps {\n report: InsightsReportResource;\n location: ReturnType;\n history: ReturnType;\n dispatchAction: AnalyticInsightsDispatcher;\n reportFilter: ReportFilterWithDefaults;\n setReportFilter: SetReportFilter;\n}\ninterface ReportFilterWithDefaults {\n cadence: InsightsCadence;\n split: InsightsMetricsSplit;\n tenantTagSetId: string | undefined;\n}\ninterface ReportMetricDataLoaderState {\n bffResponse: GetInsightsForReportBffResponse | null;\n tagSets: TagSetResource[];\n}\ninterface ReportMetricLayoutProps {\n title: string;\n busy: Promise | undefined;\n errors: Errors | undefined;\n children: ReactNode;\n onSplitChange: (split: InsightsMetricsSplit | string) => void;\n onCadenceChange: (cadence: InsightsCadence) => void;\n report: InsightsReportResource;\n bffResponse: GetInsightsForReportBffResponse | null;\n trendKey?: InsightsTrendKey;\n split: InsightsMetricsSplit;\n cadence: InsightsCadence;\n tagSets: TagSetResource[];\n tenantTagSetId: string | undefined;\n}\nclass ReportMetricsDataLoader extends DataBaseComponent {\n constructor(props: ReportMetricsDataLoaderProps) {\n super(props);\n this.state = {\n bffResponse: null,\n tagSets: [],\n };\n }\n async componentDidMount() {\n await this.doBusyTask(async () => {\n const tagSetRequest = repository.TagSets.all();\n const cadenceDefinition = insightsCadenceLookup[this.props.reportFilter.cadence];\n const bffResponseRequest = repository.InsightsReports.bff(this.props.report, this.props.reportFilter.split, cadenceDefinition.timeRange, cadenceDefinition.granularity, this.props.reportFilter.tenantTagSetId);\n this.setState({ bffResponse: await bffResponseRequest, tagSets: await tagSetRequest });\n }, { timeOperationOptions: timeOperationOptions.forInitialLoad() });\n }\n async onSplitChange(split: string) {\n const validatedSplitArgs = this.getValidatedSplitArgs(split);\n this.props.dispatchAction(\"Select Split\", { action: Action.Select, inputField: \"Split\", split: validatedSplitArgs.split });\n this.props.setReportFilter((prev) => ({ ...prev, split: validatedSplitArgs.split, tenantTagSetId: validatedSplitArgs.tenantTagSetId }));\n await this.getReportMetrics(validatedSplitArgs.split, this.props.reportFilter.cadence, validatedSplitArgs.tenantTagSetId);\n }\n getValidatedSplitArgs(selectedOption: string) {\n // The selected option was a valid split\n if (Object.values(InsightsMetricsSplitValues).some((s) => s === selectedOption))\n return {\n // eslint-disable-next-line @typescript-eslint/consistent-type-assertions\n split: selectedOption as InsightsMetricsSplit,\n tenantTagSetId: undefined,\n };\n // The selected option was a tagset\n if (this.state.tagSets.some((tagSet) => tagSet.Id === selectedOption))\n return {\n split: InsightsMetricsSplitValues.TenantTagSet,\n tenantTagSetId: selectedOption,\n };\n // Default case\n return {\n split: InsightsMetricsSplitValues.None,\n tenantTagSetId: undefined,\n };\n }\n async onCadenceChange(cadence: InsightsCadence) {\n this.props.dispatchAction(\"Select Cadence\", { action: Action.Select, inputField: \"Cadence\", cadence });\n this.props.setReportFilter((prev) => ({ ...prev, cadence }));\n await this.getReportMetrics(this.props.reportFilter.split, cadence, this.props.reportFilter.tenantTagSetId);\n }\n async getReportMetrics(split: InsightsMetricsSplit, cadence: InsightsCadence, tenantTagSetId?: string) {\n const { report } = this.props;\n const cadenceDefinition = insightsCadenceLookup[cadence];\n await this.doBusyTask(async () => {\n const bffResponse = await repository.InsightsReports.bff(report, split, cadenceDefinition.timeRange, cadenceDefinition.granularity, tenantTagSetId);\n this.setState({ bffResponse });\n }, { timeOperationOptions: timeOperationOptions.forRefresh() });\n }\n render() {\n const { busy, bffResponse, tagSets } = this.state;\n const { reportFilter, title, report, trendKey } = this.props;\n return ( this.onSplitChange(s)} onCadenceChange={(c) => this.onCadenceChange(c)} report={report} bffResponse={bffResponse} trendKey={trendKey} tagSets={tagSets} tenantTagSetId={reportFilter.tenantTagSetId}>\n {bffResponse !== null && this.props.children({ report, bffResponse, cadence: reportFilter.cadence, busy, split: reportFilter.split })}\n );\n }\n static displayName = \"ReportMetricsDataLoader\";\n}\nconst checkMinimumSettings = (report: InsightsReportResource) => (report.ProjectIds.length > 0 || report.ProjectGroupIds.length > 0 || report.ChannelIds.length > 0) && report.EnvironmentGroups.some((g) => g.Environments.length > 0);\nfunction ReportMetricsLayoutInner({ title, split, cadence, busy, errors, children, onCadenceChange, onSplitChange, report, bffResponse, tagSets, tenantTagSetId, trendKey }: ReportMetricLayoutProps) {\n if (!bffResponse) {\n return (\n {null}\n );\n }\n const hasMinimumSettings = checkMinimumSettings(report);\n if (!hasMinimumSettings) {\n return (\n \n );\n }\n const hasData = bffResponse.Series.length !== 0;\n const splitOptions = getSplitOptions(report, tagSets);\n const splitValue = split === InsightsMetricsSplitValues.TenantTagSet ? tenantTagSetId : split;\n const pageActions: PageAction[] = trendKey\n ? [\n {\n type: \"custom\",\n key: \"Trend Indicator\",\n content: ,\n },\n ]\n : [];\n return (\n o)} sortItems={false} onChange={(val) => {\n // eslint-disable-next-line @typescript-eslint/consistent-type-assertions\n if (val)\n onCadenceChange(val as InsightsCadence);\n }}/>\n
    ,\n ],\n }}>\n {hasData ? children : }\n );\n}\nconst filterWrapperStyles = css({\n width: 250,\n});\ninterface GoToSettingsButtonProps {\n report: InsightsReportResource;\n type: ActionButtonType;\n}\nfunction GoToSettingsButton({ report, type }: GoToSettingsButtonProps) {\n const { navigate } = useSpaceAwareNavigation();\n const onSetupReport = () => {\n navigate(links.insightsReportSettingsPage.generateUrl({ spaceId: report.SpaceId, reportId: report.Id }));\n };\n return ;\n}\nfunction NoDataOnboardingPage() {\n return ;\n}\ninterface SetupReportOnboardingPageProps {\n report: InsightsReportResource;\n}\nfunction SetupReportOnboardingPage({ report }: SetupReportOnboardingPageProps) {\n return }/>;\n}\nexport function ReportMetricsLayout({ title, report, trendKey, children, setReportFilter, reportFilter }: ReportMetricsLayoutProps) {\n const location = useLocation();\n const history = useHistory();\n const dispatchAction = useAnalyticInsightsDispatch();\n const reportFilterWithDefaults: ReportFilterWithDefaults = {\n split: reportFilter.split ?? InsightsMetricsSplitValues.None,\n cadence: reportFilter.cadence ?? \"lastQuarterWeekly\",\n tenantTagSetId: reportFilter.tenantTagSetId,\n };\n return (\n {(props) => children(props)}\n );\n}\n","import type { InsightsCadence, InsightsMetricsSplit, QueryParamValuesSetter } from \"@octopusdeploy/portal-routes\";\nimport { useQueryStringParams, insightsSplitParam, insightsCadenceParam, insightsTenantTagSetIdParam } from \"@octopusdeploy/portal-routes\";\nexport type ReportFilter = {\n split?: InsightsMetricsSplit;\n cadence?: InsightsCadence;\n tenantTagSetId?: string;\n};\nexport type SetReportFilter = QueryParamValuesSetter;\nexport function useReportFilters(): [\n ReportFilter,\n SetReportFilter\n] {\n return useQueryStringParams([insightsSplitParam, insightsCadenceParam, insightsTenantTagSetIdParam]);\n}\n","import { InsightsGranularity } from \"@octopusdeploy/octopus-server-client\";\nimport moment from \"moment\";\nexport const getChartAxisDateFormatter = (granularity: InsightsGranularity = InsightsGranularity.Monthly) => (date: string | number) => {\n switch (granularity) {\n case InsightsGranularity.Weekly:\n case InsightsGranularity.Daily:\n return moment.utc(date).format(\"D MMM\");\n case InsightsGranularity.Monthly:\n default:\n return moment.utc(date).format(\"MMM\");\n }\n};\n","import type { InsightsDurationMetric } from \"@octopusdeploy/octopus-server-client\";\nimport moment from \"moment\";\nexport type InsightsUnitOfTime = \"days\" | \"hours\" | \"minutes\" | \"seconds\";\nexport interface ParsedInsightsDurationMetric {\n duration: string | null;\n days: number | null;\n hours: number | null;\n minutes: number | null;\n seconds: number | null;\n unitOfTime: \"days\" | \"hours\" | \"minutes\" | \"seconds\";\n}\nexport interface ParsedInsightsDurationMetrics {\n mean: ParsedInsightsDurationMetric;\n median: ParsedInsightsDurationMetric;\n min: ParsedInsightsDurationMetric;\n max: ParsedInsightsDurationMetric;\n ninetyFifth: ParsedInsightsDurationMetric;\n}\n// Moment needs its day value to be prefixed by a dot - nodatime returns it with a colon\n// https://momentjs.com/docs/#/durations/\nfunction createMomentDuration(duration: string) {\n return moment.duration(duration);\n}\nfunction getBestUnitOfTimeKeyForChart(duration: moment.Duration) {\n if (duration.asDays() > 1)\n return \"days\";\n if (duration.asHours() > 1)\n return \"hours\";\n if (duration.asMinutes() > 1)\n return \"minutes\";\n return \"seconds\";\n}\nfunction parseDuration(duration: string): ParsedInsightsDurationMetric {\n const momentDuration = createMomentDuration(duration);\n return {\n duration: momentDuration.toISOString(), // We want this to be parsable by moment\n days: momentDuration.asDays(),\n hours: momentDuration.asHours(),\n minutes: momentDuration.asMinutes(),\n seconds: momentDuration.asSeconds(),\n unitOfTime: getBestUnitOfTimeKeyForChart(momentDuration),\n };\n}\nconst emptyAggregateSet: ParsedInsightsDurationMetric = {\n duration: \"\",\n days: 0,\n hours: 0,\n minutes: 0,\n seconds: 0,\n unitOfTime: \"seconds\",\n};\nexport function parseInsightsDurationMetrics(aggregates: InsightsDurationMetric | null) {\n if (aggregates === null)\n return {\n min: emptyAggregateSet,\n max: emptyAggregateSet,\n mean: emptyAggregateSet,\n median: emptyAggregateSet,\n ninetyFifth: emptyAggregateSet,\n };\n return {\n min: parseDuration(aggregates.Min),\n max: parseDuration(aggregates.Max),\n mean: parseDuration(aggregates.Mean),\n median: parseDuration(aggregates.Median),\n ninetyFifth: parseDuration(aggregates.NinetyFifth),\n };\n}\n// Each parsed duration aggregate has a recommended unit of time key - this function loops through the visible keys to find the the most appropriate unit of time to use as the Y axis for a chart.\nexport function getRecommendedUnitOfTimeKey(aggregates: ParsedInsightsDurationMetrics[], visibleKeys: (keyof ParsedInsightsDurationMetrics)[] = [\"mean\"]) {\n if (visibleKeys.some((k) => aggregates.some((a) => a[k].unitOfTime === \"days\")))\n return \"days\";\n if (visibleKeys.some((k) => aggregates.some((a) => a[k].unitOfTime === \"hours\")))\n return \"hours\";\n if (visibleKeys.some((k) => aggregates.some((a) => a[k].unitOfTime === \"minutes\")))\n return \"minutes\";\n return \"seconds\";\n}\n","import type { InsightsDataSeriesResource, InsightsDataSeriesResourceInterval, InsightsFailureRateMetric } from \"@octopusdeploy/octopus-server-client\";\nimport type { MultiSeriesData } from \"~/areas/insights/components/Charts/LineChart\";\nimport type { InsightsUnitOfTime, ParsedInsightsDurationMetrics } from \"~/areas/insights/dataTransformation/parseInsightsDurationMetrics\";\nimport { getRecommendedUnitOfTimeKey, parseInsightsDurationMetrics } from \"~/areas/insights/dataTransformation/parseInsightsDurationMetrics\";\ntype OmittedMetrics = \"LeadTime\" | \"MeanTimeToRecovery\" | \"TimeSincePreviousDeploymentAggregate\" | \"DeploymentQueuedDuration\" | \"SuccessfulDeploymentDuration\";\ninterface ExtendedDeploymentFailureRate extends InsightsFailureRateMetric {\n ComputedFailureRate: number;\n}\nexport interface ParsedInsightsAllMetricsInterval extends Omit {\n LeadTime: ParsedInsightsDurationMetrics;\n MeanTimeToRecovery: ParsedInsightsDurationMetrics;\n TimeSincePreviousDeploymentAggregate: ParsedInsightsDurationMetrics;\n DeploymentFailureRate: ExtendedDeploymentFailureRate;\n DeploymentQueuedDuration: ParsedInsightsDurationMetrics;\n SuccessfulDeploymentDuration: ParsedInsightsDurationMetrics;\n}\ninterface ComputedUnitOfTimes {\n LeadTimeKey: InsightsUnitOfTime;\n MeanTimeToRecoveryKey: InsightsUnitOfTime;\n TimeSincePreviousDeploymentKey: InsightsUnitOfTime;\n DeploymentQueuedDurationKey: InsightsUnitOfTime;\n SuccessfulDeploymentDurationKey: InsightsUnitOfTime;\n}\nexport function getYAxisUnitOfTimeKeys(data: MultiSeriesData[]): ComputedUnitOfTimes {\n const leadTime: ParsedInsightsDurationMetrics[] = [];\n const timeToRecovery: ParsedInsightsDurationMetrics[] = [];\n const timeSincePreviousDeployment: ParsedInsightsDurationMetrics[] = [];\n const deploymentQueued: ParsedInsightsDurationMetrics[] = [];\n const deploymentRun: ParsedInsightsDurationMetrics[] = [];\n data.forEach((s) => {\n s.data.forEach((d) => {\n leadTime.push(d.LeadTime);\n timeToRecovery.push(d.MeanTimeToRecovery);\n timeSincePreviousDeployment.push(d.TimeSincePreviousDeploymentAggregate);\n deploymentQueued.push(d.DeploymentQueuedDuration);\n deploymentRun.push(d.SuccessfulDeploymentDuration);\n });\n });\n return {\n LeadTimeKey: getRecommendedUnitOfTimeKey(leadTime),\n MeanTimeToRecoveryKey: getRecommendedUnitOfTimeKey(timeToRecovery),\n TimeSincePreviousDeploymentKey: getRecommendedUnitOfTimeKey(timeSincePreviousDeployment),\n DeploymentQueuedDurationKey: getRecommendedUnitOfTimeKey(deploymentQueued),\n SuccessfulDeploymentDurationKey: getRecommendedUnitOfTimeKey(deploymentRun),\n };\n}\nfunction parseAllMetricsInterval(interval: InsightsDataSeriesResourceInterval) {\n return {\n ...interval,\n LeadTime: parseInsightsDurationMetrics(interval.LeadTime),\n MeanTimeToRecovery: parseInsightsDurationMetrics(interval.MeanTimeToRecovery),\n TimeSincePreviousDeploymentAggregate: parseInsightsDurationMetrics(interval.TimeSincePreviousDeployment),\n DeploymentQueuedDuration: parseInsightsDurationMetrics(interval.DeploymentQueuedDuration),\n SuccessfulDeploymentDuration: parseInsightsDurationMetrics(interval.SuccessfulDeploymentDuration),\n DeploymentFailureRate: {\n ...interval.DeploymentFailureRate,\n ComputedFailureRate: interval.DeploymentFailureRate.Total > 0 ? Number(((interval.DeploymentFailureRate.Failed / interval.DeploymentFailureRate.Total) * 100).toFixed(1)) : 0,\n },\n };\n}\nexport function getChartReadyInsightsData(series: InsightsDataSeriesResource[]): MultiSeriesData[] {\n return series.map((d, idx) => ({\n name: d.Name ?? \"[Hidden name]\", // Chart labels show dataKey if name is null\n id: d.Name ?? `Series ${idx}`,\n data: d.Intervals.map((i) => parseAllMetricsInterval(i)),\n }));\n}\n","import { get } from \"lodash\";\nimport type { ObjectPropertyPath } from \"~/utils/ObjectPropertyPath/ObjectPropertyPath\";\nimport type { MultiSeriesData } from \"../components/Charts/LineChart\";\n// The supplied key must point to a number\nexport function getYAxisDataMax(data: MultiSeriesData[], key: ObjectPropertyPath) {\n const allValues: number[] = [];\n data.forEach((s) => {\n s.data.forEach((d) => {\n const val = get(d, key);\n if (typeof val !== \"number\") {\n throw Error(\"The supplied key does not point to a number\");\n }\n allValues.push(val);\n });\n });\n const maxValue = Math.max(...allValues);\n return maxValue < 4 ? 4 : Math.ceil(maxValue);\n}\n// Assumes we always want the y axis to start from 0\nexport function getEvenlySpacedTickArray(maxValue: number) {\n return [0, Math.ceil(maxValue / 4), Math.ceil(maxValue / 2), Math.ceil((3 * maxValue) / 4), maxValue];\n}\n","import React from \"react\";\nimport type { TooltipProps } from \"recharts\";\nimport type { NameType, Payload, ValueType } from \"recharts/types/component/DefaultTooltipContent\";\nimport type { ObjectPropertyPath } from \"~/utils/ObjectPropertyPath/ObjectPropertyPath\";\nimport styles from \"./styles.module.less\";\ninterface TypedPayload extends Payload {\n dataKey: ObjectPropertyPath;\n payload: TResource;\n}\ntype PayloadArray = Array>;\nexport type RechartsTooltipProps = TooltipProps;\ninterface RenderProps extends Omit {\n payload: PayloadArray;\n}\ninterface TooltipBaseProps extends RechartsTooltipProps {\n children: (renderProps: RenderProps) => React.ReactElement;\n}\nexport function TooltipBase({ children, ...props }: TooltipBaseProps) {\n if (props.active && props.payload && props.payload.length) {\n const { payload, ...rest } = props;\n const payloadArray: PayloadArray = payload\n .filter((p) => p.payload !== undefined)\n .map((p) => {\n // eslint-disable-next-line @typescript-eslint/consistent-type-assertions\n const path = p.dataKey as ObjectPropertyPath;\n return {\n ...p,\n payload: p.payload,\n dataKey: path,\n };\n });\n // eslint-disable-next-line @typescript-eslint/consistent-type-assertions\n return
    {children({ ...rest, payload: payloadArray })}
    ;\n }\n return null;\n}\n","/* eslint-disable @typescript-eslint/no-explicit-any */\nimport { InsightsGranularity } from \"@octopusdeploy/octopus-server-client\";\nimport type { InsightsCadence } from \"@octopusdeploy/portal-routes\";\nimport cn from \"classnames\";\nimport { get } from \"lodash\";\nimport React from \"react\";\nimport type { ParsedInsightsAllMetricsInterval } from \"~/areas/insights/dataTransformation/getChartReadyInsightsData\";\nimport type { ObjectPropertyPath } from \"~/utils/ObjectPropertyPath/ObjectPropertyPath\";\nimport { getChartAxisDateFormatter } from \"../../../dataTransformation/dateHelpers\";\nimport { insightsCadenceLookup } from \"../../../insightsCadence\";\nimport type { RechartsTooltipProps } from \"../TooltipBase/TooltipBase\";\nimport { TooltipBase } from \"../TooltipBase/TooltipBase\";\nimport styles from \"./styles.module.less\";\ninterface MultiSeriesTooltip extends RechartsTooltipProps {\n dataKey: ObjectPropertyPath;\n cadence: InsightsCadence;\n valueFormatter?: (value: any) => string | number;\n showSeries?: boolean;\n}\nconst defaultValueFormatter = (val: any) => val ?? \"No Deployments\";\nexport function InsightsTooltip({ dataKey, valueFormatter = defaultValueFormatter, cadence, showSeries, ...rest }: MultiSeriesTooltip) {\n const { granularity } = insightsCadenceLookup[cadence];\n const dateFormatter = getChartAxisDateFormatter(granularity);\n const labelFormatter = (label: string) => {\n if (granularity === InsightsGranularity.Weekly)\n return `Week starting ${dateFormatter(label)}`;\n return dateFormatter(label);\n };\n return ( {...rest}>\n {({ payload, label }) => (<>\n {labelFormatter(label)}\n
      \n {payload.map((p, idx) => (
    • \n {showSeries &&
      }\n {showSeries && {p.name}: }\n {valueFormatter(get(p.payload, dataKey))}\n
    • ))}\n
    \n )}\n );\n}\n","import { colorScales } from \"@octopusdeploy/design-system-tokens\";\nimport { useThemePaletteType } from \"~/components/Theme/useThemePaletteType\";\nexport const chartStrokeColorValues = [\"green\", \"cyan\", \"orange\", \"purple\", \"red\", \"greenSecondary\", \"cyanSecondary\", \"orangeSecondary\", \"purpleSecondary\", \"redSecondary\"];\nexport type ChartStrokeColor = (typeof chartStrokeColorValues)[number];\ninterface ThemedChartColors {\n grid: string;\n xAxis: string;\n yAxis: string;\n label: string;\n strokes: Record;\n}\n// eslint-disable-next-line @typescript-eslint/no-explicit-any\nexport function addColorToDataset>(data: T[]) {\n let colorIndex = 0;\n return data.map((d) => {\n const withColor = { ...d, color: chartStrokeColorValues[colorIndex] };\n colorIndex = colorIndex === chartStrokeColorValues.length - 1 ? 0 : (colorIndex += 1);\n return withColor;\n });\n}\nexport const useThemedChartColors = (): ThemedChartColors => {\n const mode = useThemePaletteType();\n const isLight = mode === \"light\";\n const textColor = isLight ? colorScales.grey[\"600\"] : colorScales.grey[\"400\"];\n return {\n grid: textColor,\n xAxis: textColor,\n yAxis: textColor,\n label: textColor,\n strokes: {\n green: \"#00B065\",\n cyan: \"#0D80D8\",\n orange: \"#FC8431\",\n purple: \"#7A41C5\",\n red: \"#FF4848\",\n greenSecondary: \"#76F5A9\",\n cyanSecondary: \"#3CA4F3\",\n orangeSecondary: \"#FFB867\",\n purpleSecondary: \"#C39AF8\",\n redSecondary: \"#FFADA5\",\n },\n };\n};\n","import React from \"react\";\nimport ResizeDetector from \"react-resize-detector\";\ninterface RenderResponsiveChartContainerProps {\n width: number;\n height: number;\n}\ninterface ResponsiveChartContainerProps {\n children: (renderProps: RenderResponsiveChartContainerProps) => React.ReactElement;\n}\n// The recharts 'ResponsiveContainer' component causes a console error on a resize event (it keeps the height and width in state).\n// This component passes the height and width directly from the resize detector to the render function.\nfunction ResponsiveChartContainer({ children }: ResponsiveChartContainerProps) {\n return (\n \n {({ width = 0, height = 0 }) =>
    {children({ width, height })}
    }\n
    \n
    );\n}\nexport default ResponsiveChartContainer;\n","/* eslint-disable @typescript-eslint/no-explicit-any */\nimport { CircularProgress } from \"@octopusdeploy/design-system-components\";\nimport type { ReactNode } from \"react\";\nimport React, { useState } from \"react\";\nimport type { TooltipProps } from \"recharts\";\nimport { Legend, LineChart as RechartsLineChart, Line, XAxis, YAxis, CartesianGrid, Tooltip, Label } from \"recharts\";\nimport type { NameType, ValueType } from \"recharts/types/component/DefaultTooltipContent\";\nimport type { AxisDomain, Margin } from \"recharts/types/util/types\";\nimport { useThemePaletteType } from \"~/components/Theme/useThemePaletteType\";\nimport type { ObjectPropertyPath } from \"~/utils/ObjectPropertyPath/ObjectPropertyPath\";\nimport { addColorToDataset, useThemedChartColors } from \"../chartColors\";\nimport ResponsiveChartContainer from \"./ResponsiveChartContainer\";\nimport styles from \"./style.module.less\";\n// The legend payload seems to include the id of the corresponding series, but this is not part of the typing.\n// We manually assert to this type instead.\ninterface Payload {\n payload?: {\n id?: string;\n };\n}\nexport interface MultiSeriesData {\n name: string;\n id: string;\n data: TResource[];\n}\nexport interface BaseChartProps {\n data: MultiSeriesData[];\n dataKey: ObjectPropertyPath;\n xAxisDataKey: ObjectPropertyPath;\n yAxisDataKey?: ObjectPropertyPath;\n xAxisLabel?: string;\n yAxisLabel?: string;\n xAxisType?: \"number\" | \"category\";\n yAxisType?: \"number\" | \"category\";\n margin?: Margin;\n yTickFormatter?: (value: any, index: number) => string;\n xTickFormatter?: (value: any, index: number) => string;\n xAxisDomain?: AxisDomain;\n yAxisDomain?: AxisDomain;\n loading?: boolean;\n yAxisTickArray?: (string | number)[];\n xAxisTickInterval?: number;\n}\ninterface LineChartProps extends BaseChartProps {\n tooltip?: JSX.Element | ((props: TooltipProps) => ReactNode);\n showLegend?: boolean;\n}\nconst truncateSeriesName = (str: string, len = 50) => {\n if (str.length >= len)\n return `${str.slice(0, len - 3)}...`;\n return str;\n};\nfunction LineChart({ data, dataKey, xAxisDataKey, yAxisDataKey, xAxisLabel, yAxisLabel, xTickFormatter, yTickFormatter, xAxisDomain, yAxisDomain, xAxisType, yAxisType, margin, tooltip, showLegend, loading, yAxisTickArray, xAxisTickInterval, }: LineChartProps) {\n const palette = useThemePaletteType();\n const isLightMode = palette === \"light\";\n const [hiddenSeries, setHiddenSeries] = useState([]);\n const [hoveredSeries, setHoveredSeries] = useState(null);\n const chartColors = useThemedChartColors();\n const { strokes } = chartColors;\n const dataWithColors = addColorToDataset(data);\n const handleLegendClick = (seriesId: string | undefined) => {\n if (!seriesId)\n return;\n if (hiddenSeries.some((s) => s === seriesId))\n setHiddenSeries((p) => p.filter((s) => s !== seriesId));\n else\n setHiddenSeries((p) => [...p, seriesId]);\n };\n const handleLegendMouseEnter = (seriesId: string | undefined) => {\n if (!seriesId)\n return;\n setHoveredSeries(seriesId);\n };\n const handleLegendMouseLeave = () => setHoveredSeries(null);\n const DEFAULT_MARGIN = {\n top: 10,\n right: showLegend ? 10 : 40,\n left: 80,\n bottom: 10,\n };\n if (loading)\n return (
    \n \n
    );\n return (\n {({ width, height }) => (\n \n \n {xAxisLabel && \n \n {yAxisLabel && \n {showLegend && ( handleLegendClick((e as Payload)?.payload?.id)} \n // eslint-disable-next-line @typescript-eslint/consistent-type-assertions\n onMouseOver={(e: any) => handleLegendMouseEnter((e as Payload)?.payload?.id)} onMouseOut={handleLegendMouseLeave} iconType=\"plainline\" layout=\"vertical\" verticalAlign=\"top\" align=\"right\" formatter={(val) => truncateSeriesName(val)} wrapperStyle={{\n paddingLeft: 36,\n maxWidth: 250,\n height: height - 36,\n overflow: \"auto\",\n fontWeight: 500,\n }}/>)}\n {tooltip && }\n {dataWithColors.map((d) => {\n const hoveredIsHidden = hiddenSeries.some((h) => h === hoveredSeries);\n const stroke = strokes[d.color];\n const white = \"#FFFFFF\";\n const activeDot = { stroke: isLightMode ? stroke : white, fill: isLightMode ? white : stroke, strokeWidth: 2, r: 6 };\n return ( s === d.id)} strokeOpacity={hoveredSeries === d.id || !hoveredSeries || hoveredIsHidden ? 1 : 0.1} strokeWidth={3} dot={false} activeDot={activeDot} animationDuration={500}/>);\n })}\n )}\n );\n}\nexport default LineChart;\n","import { NavigationButton, NavigationButtonType } from \"@octopusdeploy/design-system-components\";\nimport type { InsightsReportResource } from \"@octopusdeploy/octopus-server-client\";\nimport React from \"react\";\nimport { useAnalyticSimpleActionDispatch } from \"~/analytics/Analytics\";\ninterface Props {\n report: InsightsReportResource;\n}\nexport function DownloadReportCsvButton({ report }: Props) {\n const dispatchAction = useAnalyticSimpleActionDispatch();\n const onClick = () => dispatchAction(\"Click Insights Report Download CSV\");\n return ;\n}\n","import cn from \"classnames\";\nimport type { PropsWithChildren } from \"react\";\nimport React from \"react\";\nimport { useThemePaletteType } from \"~/components/Theme/useThemePaletteType\";\nimport styles from \"./InsightsChartCard.module.less\";\ninterface InsightsChardCardProps {\n height?: number;\n}\nexport function InsightsChartCard({ children, height = 350 }: PropsWithChildren) {\n const palette = useThemePaletteType();\n const isLight = palette === \"light\";\n const className = cn(styles.chartCard, {\n [styles.chartCardLight]: isLight,\n [styles.chartCardDark]: !isLight,\n });\n return (
    \n {children}\n
    );\n}\n","import { space } from \"@octopusdeploy/design-system-tokens\";\nimport type { InsightsReportResource } from \"@octopusdeploy/octopus-server-client\";\nimport { InsightsMetricsSplitValues } from \"@octopusdeploy/portal-routes\";\nimport React, { useEffect } from \"react\";\nimport { useAnalyticSimpleActionDispatch } from \"~/analytics/Analytics\";\nimport { InsightsReportLayout } from \"~/areas/insights/components/InsightsReportLayout/InsightsReportLayout\";\nimport { ReportMetricsLayout } from \"~/areas/insights/components/Reports/ReportMetricsLayout/ReportMetricsLayout\";\nimport type { ReportMetricsPageProps } from \"~/areas/insights/components/Reports/ReportMetricsLayout/ReportMetricsLayout\";\nimport { useReportFilters } from \"~/areas/insights/components/Reports/ReportMetricsLayout/useReportFilters\";\nimport { getChartAxisDateFormatter } from \"../../dataTransformation/dateHelpers\";\nimport { getChartReadyInsightsData, getYAxisUnitOfTimeKeys } from \"../../dataTransformation/getChartReadyInsightsData\";\nimport { getEvenlySpacedTickArray, getYAxisDataMax } from \"../../dataTransformation/getYAxisDataMax\";\nimport { formatDurationInWords } from \"../../dataTransformation/stringHelpers\";\nimport { insightsCadenceLookup, insightsCadenceXAxisTickInterval } from \"../../insightsCadence\";\nimport { InsightsTooltip } from \"../ChartTooltips/InsightsTooltip/InsightsTooltip\";\nimport LineChart from \"../Charts/LineChart\";\nimport { DownloadReportCsvButton } from \"../DownloadReportCsvButton\";\nimport { InsightsChartCard } from \"../InsightsChartCard\";\ntype Props = ReportMetricsPageProps;\nfunction ReportDeploymentDurationInner({ report, bffResponse, split, cadence, busy }: Props) {\n const dispatchAction = useAnalyticSimpleActionDispatch();\n const chartData = getChartReadyInsightsData(bffResponse.Series);\n const { SuccessfulDeploymentDurationKey, DeploymentQueuedDurationKey } = getYAxisUnitOfTimeKeys(chartData);\n const maxRunDurationYAxisValue = getYAxisDataMax(chartData, `SuccessfulDeploymentDuration.mean.${SuccessfulDeploymentDurationKey}`);\n const maxQueueDurationYAxisValue = getYAxisDataMax(chartData, `DeploymentQueuedDuration.mean.${DeploymentQueuedDurationKey}`);\n const currentGranularity = insightsCadenceLookup[cadence].granularity;\n const dateFormatter = getChartAxisDateFormatter(currentGranularity);\n const showSeries = split !== InsightsMetricsSplitValues.None;\n useEffect(() => {\n dispatchAction(\"View Insights Report Deployment Duration\");\n // eslint-disable-next-line react-hooks/exhaustive-deps\n }, []);\n return (
    \n
    \n
    \n

    Successful deployment duration

    \n \n } showLegend={showSeries}/>\n \n
    \n
    \n

    Deployment queued duration

    \n \n } showLegend={showSeries}/>\n \n
    \n
    \n \n
    \n
    \n
    );\n}\nexport function InsightsReportDeploymentDurationPage({ report }: {\n report: InsightsReportResource;\n}) {\n const [reportFilter, setReportFilter] = useReportFilters();\n return (\n \n {(props) => }\n \n );\n}\n","import React from \"react\";\nimport { AreaChart as RechartsAreaChart, Area } from \"recharts\";\nimport type { ObjectPropertyPath } from \"~/utils/ObjectPropertyPath/ObjectPropertyPath\";\nimport type { ChartStrokeColor } from \"../chartColors\";\nimport { useThemedChartColors } from \"../chartColors\";\nimport ResponsiveChartContainer from \"./ResponsiveChartContainer\";\ninterface SparklineChartProps {\n data: TResource[];\n dataKey: ObjectPropertyPath;\n color: ChartStrokeColor;\n}\nexport function TrendSparklineChart({ data, dataKey, color }: SparklineChartProps) {\n const { strokes } = useThemedChartColors();\n return (
    \n \n {({ width, height }) => (\n \n )}\n \n
    );\n}\n","import { Tooltip } from \"@octopusdeploy/design-system-components\";\nimport type { InsightsTrendDirection, SparklineTrendResource } from \"@octopusdeploy/octopus-server-client\";\nimport moment from \"moment\";\nimport type { ReactNode } from \"react\";\nimport React from \"react\";\nimport { Note } from \"~/components/form\";\nimport { TrendSparklineChart } from \"../../../Charts/TrendSparklineChart\";\nimport type { ChartStrokeColor } from \"../../../chartColors\";\nimport styles from \"./SparklineTrendPair.module.less\";\ninterface Props {\n sectionTitle: string;\n leftData: SparklineTrendResource[];\n rightData?: SparklineTrendResource[];\n leftTitle?: string;\n rightTitle?: string;\n valueFormatter?: (val: T | null) => string | number | null;\n dataPointFormatter?: (val: T | null) => number;\n note: ReactNode;\n directionColorLookup?: Record;\n}\nconst defaultDirectionColorLookup: Record = {\n None: \"cyan\",\n Steady: \"cyan\",\n Up: \"red\",\n Down: \"green\",\n};\nexport const frequencyTrendColors: Record = {\n None: \"cyan\",\n Steady: \"cyan\",\n Up: \"green\",\n Down: \"red\",\n};\n// The only current case where the datapoint is a string is Lead Time (which is a duration)\nconst defaultDataPointFormatter = (val: string | number | null) => {\n if (!val)\n return 0;\n if (typeof val === \"string\")\n return moment.duration(val).asMinutes();\n return val;\n};\nexport function SparklineTrendPair({ sectionTitle, leftData, rightData, valueFormatter = (val) => val, dataPointFormatter = defaultDataPointFormatter, note, leftTitle, rightTitle, directionColorLookup = defaultDirectionColorLookup, }: Props) {\n return (
    \n
    \n

    {sectionTitle}

    \n
    \n
    \n \n {rightData !== undefined && }\n
    \n
    \n {note}\n
    \n
    );\n}\ninterface SparklineTrendListProps {\n title?: string;\n data: SparklineTrendResource[];\n valueFormatter?: (val: T | null) => string | number | null;\n dataPointFormatter?: (val: T | null) => number;\n colorLookup: Record;\n}\nfunction SparklineTrendList({ title, data, valueFormatter = (val) => val, dataPointFormatter = defaultDataPointFormatter, colorLookup }: SparklineTrendListProps) {\n return (
    \n {title && (
    \n {title}\n
    )}\n
      \n {data.length === 0 &&
    • Nothing to show
    • }\n {data.map((row) => {\n const valueJsx = {valueFormatter(row.Current)};\n return (
    • \n {row.Name}\n ({ value: dataPointFormatter(p) }))} dataKey=\"value\" color={colorLookup[row.Direction]}/>\n
      {row.Previous ? {valueJsx} : valueJsx}
      \n
    • );\n })}\n
    \n
    );\n}\n","/* eslint-disable @typescript-eslint/no-explicit-any */\nimport type { InsightsTrendDirection, SparklineTrends } from \"@octopusdeploy/octopus-server-client\";\nimport type { ReactNode } from \"react\";\nimport React from \"react\";\nimport type { ChartStrokeColor } from \"../../chartColors\";\nimport { SparklineTrendPair } from \"./SparklineTrendPair/SparklineTrendPair\";\ninterface Props {\n trends: SparklineTrends;\n metricDescription: ReactNode;\n colorLookup?: Record;\n valueFormatter?: (val: T | null) => string | number;\n dataPointFormatter?: (val: T | null) => number;\n}\nexport function CommonSparklineTrends({ trends, colorLookup, valueFormatter, metricDescription, dataPointFormatter }: Props) {\n return (<>\n {trends.ProjectTrends !== null && (\n The projects that have trended up or down in the last 28 days compared with the previous 28 days. The first 10 in descending order by the percentage difference between the current and previous value are shown. The value\n shown is the {metricDescription} for the last 28 days.\n } directionColorLookup={colorLookup}/>)}\n {trends.EnvironmentTrends !== null && (\n The environments that have trended up or down in the last 28 days compared with the previous 28 days. The first 10 in descending order by the percentage difference between the current and previous value are shown. The\n value shown is the {metricDescription} for the last 28 days.\n } directionColorLookup={colorLookup}/>)}\n {trends.TenantTrends !== null && (\n The tenants that have trended up or down in the last 28 days compared with the previous 28 days. The first 10 in descending order by the percentage difference between the current and previous value are shown. The value\n shown is the {metricDescription} for the last 28 days.\n } directionColorLookup={colorLookup}/>)}\n );\n}\n","import type { ReactNode } from \"react\";\nimport React from \"react\";\nimport { Note } from \"~/components/form\";\nimport { DataTable, DataTableBody, DataTableHeader } from \"~/primitiveComponents/dataDisplay/DataTable\";\nimport styles from \"./styles.module.less\";\ninterface Props {\n title?: string;\n isEmpty: boolean;\n note: ReactNode;\n headerContent: ReactNode;\n bodyContent: React.ReactNode;\n}\nexport function TrendTable({ title, headerContent, bodyContent, isEmpty, note }: Props) {\n return (
    \n
    \n

    {title}

    \n
    \n
    \n {isEmpty ? (Nothing to show) : (\n {headerContent}\n {bodyContent}\n )}\n
    \n
    \n {note}\n
    \n
    );\n}\n","import { Tooltip } from \"@octopusdeploy/design-system-components\";\nimport type { ChangeFailureRateTrends, FailureRateDeployment } from \"@octopusdeploy/octopus-server-client\";\nimport { links } from \"@octopusdeploy/portal-routes\";\nimport React from \"react\";\nimport ExternalLink from \"~/components/Navigation/ExternalLink\";\nimport InternalLink from \"~/components/Navigation/InternalLink\";\nimport { DataTableHeaderColumn, DataTableRow, DataTableRowColumn } from \"~/primitiveComponents/dataDisplay/DataTable\";\nimport DateFormatter from \"~/utils/DateFormatter\";\nimport { CommonSparklineTrends } from \"./CommonSparklineTrends\";\nimport { TrendTable } from \"./TrendTable/TrendTable\";\ninterface FailureRateTrendTables {\n spaceId: string;\n trends: ChangeFailureRateTrends;\n}\nexport function FailureRateTrendTables({ trends, spaceId }: FailureRateTrendTables) {\n return (<>\n (val ? `${val > 0 ? val.toFixed(1) : 0}%` : \"0%\")} metricDescription={<>\n average deployment failure rate\n }/>\n \n );\n}\ninterface RecentFailuresProps {\n spaceId: string;\n data: FailureRateDeployment[];\n}\nfunction RecentFailures({ data, spaceId }: RecentFailuresProps) {\n const hasTenants = data.some((d) => d.TenantName !== null);\n return (\n The most recent failed deployment for each project, environment and tenant combination. The first 10 in descending order by completed time are shown.\n } headerContent={\n Project\n Environment\n {hasTenants && Tenant}\n Release\n State\n Guided failure\n Completed\n } bodyContent={<>\n {data.map((r) => (\n \n {r.ProjectName}\n \n {r.EnvironmentName}\n {hasTenants && {r.TenantName ?? \"Untenanted\"}}\n \n {r.ReleaseVersion}\n \n {r.State}\n {r.HadGuidedFailure ? \"True\" : \"False\"}\n \n \n {DateFormatter.momentAgo(r.CompletedTime)}\n \n \n ))}\n }/>);\n}\n","import { space } from \"@octopusdeploy/design-system-tokens\";\nimport type { InsightsReportResource } from \"@octopusdeploy/octopus-server-client\";\nimport { InsightsMetricsSplitValues } from \"@octopusdeploy/portal-routes\";\nimport React, { useEffect } from \"react\";\nimport { useAnalyticSimpleActionDispatch } from \"~/analytics/Analytics\";\nimport { InsightsReportLayout } from \"~/areas/insights/components/InsightsReportLayout/InsightsReportLayout\";\nimport { ReportMetricsLayout } from \"~/areas/insights/components/Reports/ReportMetricsLayout/ReportMetricsLayout\";\nimport type { ReportMetricsPageProps } from \"~/areas/insights/components/Reports/ReportMetricsLayout/ReportMetricsLayout\";\nimport { useReportFilters } from \"~/areas/insights/components/Reports/ReportMetricsLayout/useReportFilters\";\nimport { getChartAxisDateFormatter } from \"../../dataTransformation/dateHelpers\";\nimport { getChartReadyInsightsData } from \"../../dataTransformation/getChartReadyInsightsData\";\nimport { getEvenlySpacedTickArray } from \"../../dataTransformation/getYAxisDataMax\";\nimport { insightsCadenceLookup, insightsCadenceXAxisTickInterval } from \"../../insightsCadence\";\nimport { InsightsTooltip } from \"../ChartTooltips/InsightsTooltip/InsightsTooltip\";\nimport LineChart from \"../Charts/LineChart\";\nimport { DownloadReportCsvButton } from \"../DownloadReportCsvButton\";\nimport { InsightsChartCard } from \"../InsightsChartCard\";\nimport { FailureRateTrendTables } from \"./TrendTables/FailureRateTrendTables\";\ntype Props = ReportMetricsPageProps;\nexport function ReportDeploymentFailureRateInner({ report, bffResponse, split, cadence, busy }: Props) {\n const dispatchAction = useAnalyticSimpleActionDispatch();\n const chartData = getChartReadyInsightsData(bffResponse.Series);\n const currentGranularity = insightsCadenceLookup[cadence].granularity;\n const dateFormatter = getChartAxisDateFormatter(currentGranularity);\n const showSeries = split !== InsightsMetricsSplitValues.None;\n useEffect(() => {\n dispatchAction(\"View Insights Report Deployment Failure Rate\");\n // eslint-disable-next-line react-hooks/exhaustive-deps\n }, []);\n return (
    \n
    \n \n `${v}%`} cadence={cadence}/>} xAxisTickInterval={insightsCadenceXAxisTickInterval[cadence]} showLegend={showSeries}/>\n \n
    \n \n
    \n
    \n
    \n \n
    \n
    );\n}\nexport function InsightsReportDeploymentFailureRatePage({ report }: {\n report: InsightsReportResource;\n}) {\n const [reportFilter, setReportFilter] = useReportFilters();\n return (\n \n {(props) => }\n \n );\n}\n","import { Tooltip } from \"@octopusdeploy/design-system-components\";\nimport type { DeploymentFrequencyDeployment, DeploymentFrequencyTrends } from \"@octopusdeploy/octopus-server-client\";\nimport { links } from \"@octopusdeploy/portal-routes\";\nimport React from \"react\";\nimport { formatDurationInWords } from \"~/areas/insights/dataTransformation/stringHelpers\";\nimport ExternalLink from \"~/components/Navigation/ExternalLink\";\nimport InternalLink from \"~/components/Navigation/InternalLink\";\nimport { DataTableHeaderColumn, DataTableRow, DataTableRowColumn } from \"~/primitiveComponents/dataDisplay/DataTable\";\nimport DateFormatter from \"~/utils/DateFormatter\";\nimport { CommonSparklineTrends } from \"./CommonSparklineTrends\";\nimport { frequencyTrendColors, SparklineTrendPair } from \"./SparklineTrendPair/SparklineTrendPair\";\nimport { TrendTable } from \"./TrendTable/TrendTable\";\ninterface Props {\n spaceId: string;\n trends: DeploymentFrequencyTrends;\n}\nexport function DeploymentFrequencyTrendTables({ trends, spaceId }: Props) {\n return (<>\n \n weekly average deployment frequency\n }/>\n {trends.ProjectsWithLowestFrequency && ( (val ? val.toLocaleString() : 0)} note={<>\n The projects that had the lowest deployment frequency in the last 28 days. The first 10 in descending order by number of deployments are shown. The value shown is the weekly average{\" \"}\n deployment frequency for the last 28 days.\n }/>)}\n \n \n );\n}\ninterface DeploymentTableProps {\n spaceId: string;\n title: string;\n note: string;\n data: DeploymentFrequencyDeployment[];\n hideTimeSince?: boolean;\n}\nfunction DeploymentsTable({ title, note, data, hideTimeSince, spaceId }: DeploymentTableProps) {\n const hasTenants = data.some((d) => d.TenantName !== null);\n const hasTimeSinceDeployment = data.some((d) => d.TimeSincePreviouslySuccessfulDeployment !== null);\n return (\n Project\n Environment\n {hasTenants && Tenant}\n Release\n Completed\n {hasTimeSinceDeployment && !hideTimeSince && Time since successful deployment}\n } bodyContent={<>\n {data.map((r) => (\n \n {r.ProjectName}\n \n {r.EnvironmentName}\n {hasTenants && {r.TenantName ?? \"Untenanted\"}}\n \n {r.ReleaseVersion}\n \n \n \n {DateFormatter.momentAgo(r.CompletedTime)}\n \n \n {hasTimeSinceDeployment && !hideTimeSince && {formatDurationInWords(r.TimeSincePreviouslySuccessfulDeployment)}}\n ))}\n }/>);\n}\n","import { space } from \"@octopusdeploy/design-system-tokens\";\nimport type { InsightsReportResource } from \"@octopusdeploy/octopus-server-client\";\nimport { InsightsMetricsSplitValues } from \"@octopusdeploy/portal-routes\";\nimport React, { useEffect } from \"react\";\nimport { useAnalyticSimpleActionDispatch } from \"~/analytics/Analytics\";\nimport { InsightsReportLayout } from \"~/areas/insights/components/InsightsReportLayout/InsightsReportLayout\";\nimport { ReportMetricsLayout } from \"~/areas/insights/components/Reports/ReportMetricsLayout/ReportMetricsLayout\";\nimport type { ReportMetricsPageProps } from \"~/areas/insights/components/Reports/ReportMetricsLayout/ReportMetricsLayout\";\nimport { useReportFilters } from \"~/areas/insights/components/Reports/ReportMetricsLayout/useReportFilters\";\nimport { getChartAxisDateFormatter } from \"../../dataTransformation/dateHelpers\";\nimport { getChartReadyInsightsData } from \"../../dataTransformation/getChartReadyInsightsData\";\nimport { getEvenlySpacedTickArray, getYAxisDataMax } from \"../../dataTransformation/getYAxisDataMax\";\nimport { insightsCadenceLookup, insightsCadenceXAxisTickInterval } from \"../../insightsCadence\";\nimport { InsightsTooltip } from \"../ChartTooltips/InsightsTooltip/InsightsTooltip\";\nimport LineChart from \"../Charts/LineChart\";\nimport { DownloadReportCsvButton } from \"../DownloadReportCsvButton\";\nimport { InsightsChartCard } from \"../InsightsChartCard\";\nimport { DeploymentFrequencyTrendTables } from \"./TrendTables/DeploymentFrequencyTrendTables\";\ntype Props = ReportMetricsPageProps;\nfunction ReportDeploymentFrequencyInner({ report, bffResponse, split, cadence, busy }: Props) {\n const dispatchAction = useAnalyticSimpleActionDispatch();\n const chartData = getChartReadyInsightsData(bffResponse.Series);\n const currentGranularity = insightsCadenceLookup[cadence].granularity;\n const maxYAxisValue = getYAxisDataMax(chartData, \"NumberOfSuccessfulDeployments\");\n const dateFormatter = getChartAxisDateFormatter(currentGranularity);\n const showSeries = split !== InsightsMetricsSplitValues.None;\n useEffect(() => {\n dispatchAction(\"View Insights Report Deployment Frequency\");\n // eslint-disable-next-line react-hooks/exhaustive-deps\n }, []);\n return (
    \n
    \n \n `${v.toLocaleString()} deployment${v === 1 ? \"\" : \"s\"}`} cadence={cadence}/>} xAxisTickInterval={insightsCadenceXAxisTickInterval[cadence]} showLegend={showSeries}/>\n \n
    \n \n
    \n
    \n
    \n \n
    \n
    );\n}\nexport function InsightsReportDeploymentFrequencyPage({ report }: {\n report: InsightsReportResource;\n}) {\n const [reportFilter, setReportFilter] = useReportFilters();\n return (\n \n {(props) => }\n \n );\n}\n","import { Tooltip } from \"@octopusdeploy/design-system-components\";\nimport type { InsightsReportResource, LeadTimeDeployment, LeadTimeTrends, TenantDeployedAgo } from \"@octopusdeploy/octopus-server-client\";\nimport { InsightsReportTenantMode } from \"@octopusdeploy/octopus-server-client\";\nimport { links } from \"@octopusdeploy/portal-routes\";\nimport moment from \"moment\";\nimport React from \"react\";\nimport { formatDurationInWords } from \"~/areas/insights/dataTransformation/stringHelpers\";\nimport ExternalLink from \"~/components/Navigation/ExternalLink\";\nimport InternalLink from \"~/components/Navigation/InternalLink\";\nimport { DataTableHeaderColumn, DataTableRow, DataTableRowColumn } from \"~/primitiveComponents/dataDisplay/DataTable\";\nimport DateFormatter from \"~/utils/DateFormatter\";\nimport { CommonSparklineTrends } from \"./CommonSparklineTrends\";\nimport { TrendTable } from \"./TrendTable/TrendTable\";\ninterface TrendTablesProps {\n report: InsightsReportResource;\n trends: LeadTimeTrends;\n}\nexport function LeadTimeTrendTables({ trends, report }: TrendTablesProps) {\n return (
    \n (v ? moment.duration(v).asMinutes() : 0)} metricDescription={<>\n average lead time\n }/>\n \n \n
    );\n}\ninterface LongestLeadTimeTableProps {\n data: LeadTimeDeployment[];\n report: InsightsReportResource;\n}\nfunction LongestLeadTimeTable({ data, report }: LongestLeadTimeTableProps) {\n const showTenantColumn = report.TenantMode !== InsightsReportTenantMode.Untenanted;\n return (\n The releases with the longest lead time for each project, environment and tenant combination. The first 10 in descending order by lead time are shown. Lower lead time\n indicates an increased ability to respond to change and implies less inventory per deployment, which reduces the risk of that response.\n } headerContent={\n Project\n Environment\n {showTenantColumn && Tenant}\n Release\n Completed\n Lead time\n } bodyContent={<>\n {data.map((r) => (\n \n {r.ProjectName}\n \n {r.EnvironmentName}\n {showTenantColumn && {r.TenantName ?? \"Untenanted\"}}\n \n {r.ReleaseVersion}\n \n \n \n \n {DateFormatter.momentAgo(r.CompletedTime)}\n \n \n \n {formatDurationInWords(r.LeadTime)}\n ))}\n }/>);\n}\ninterface TenantsNotRecentlyDeployedToTableProps {\n data: TenantDeployedAgo[];\n report: InsightsReportResource;\n}\nfunction TenantsNotRecentlyDeployedToTable({ data, report }: TenantsNotRecentlyDeployedToTableProps) {\n if (report.TenantMode === InsightsReportTenantMode.Untenanted)\n return null;\n return (\n Tenant\n Release\n Completed\n Time since completion\n } bodyContent={<>\n {data.map((r) => (\n \n {r.TenantName}\n \n \n {r.ReleaseVersion}\n \n \n \n {DateFormatter.momentAgo(r.CompletedTime)}\n \n \n {formatDurationInWords(r.CompletedAgo)}\n ))}\n }/>);\n}\n","import { space } from \"@octopusdeploy/design-system-tokens\";\nimport type { InsightsReportResource } from \"@octopusdeploy/octopus-server-client\";\nimport { InsightsMetricsSplitValues } from \"@octopusdeploy/portal-routes\";\nimport React, { useEffect } from \"react\";\nimport { useAnalyticSimpleActionDispatch } from \"~/analytics/Analytics\";\nimport { InsightsReportLayout } from \"~/areas/insights/components/InsightsReportLayout/InsightsReportLayout\";\nimport { ReportMetricsLayout } from \"~/areas/insights/components/Reports/ReportMetricsLayout/ReportMetricsLayout\";\nimport type { ReportMetricsPageProps } from \"~/areas/insights/components/Reports/ReportMetricsLayout/ReportMetricsLayout\";\nimport { useReportFilters } from \"~/areas/insights/components/Reports/ReportMetricsLayout/useReportFilters\";\nimport { getChartAxisDateFormatter } from \"../../dataTransformation/dateHelpers\";\nimport { getChartReadyInsightsData, getYAxisUnitOfTimeKeys } from \"../../dataTransformation/getChartReadyInsightsData\";\nimport { getEvenlySpacedTickArray, getYAxisDataMax } from \"../../dataTransformation/getYAxisDataMax\";\nimport { formatDurationInWords } from \"../../dataTransformation/stringHelpers\";\nimport { insightsCadenceLookup, insightsCadenceXAxisTickInterval } from \"../../insightsCadence\";\nimport { InsightsTooltip } from \"../ChartTooltips/InsightsTooltip/InsightsTooltip\";\nimport LineChart from \"../Charts/LineChart\";\nimport { DownloadReportCsvButton } from \"../DownloadReportCsvButton\";\nimport { InsightsChartCard } from \"../InsightsChartCard\";\nimport { LeadTimeTrendTables } from \"./TrendTables/LeadTimeTrendTables\";\ntype Props = ReportMetricsPageProps;\nexport function ReportDeploymentLeadTimeInner({ report, bffResponse, split, cadence, busy }: Props) {\n const dispatchAction = useAnalyticSimpleActionDispatch();\n const chartData = getChartReadyInsightsData(bffResponse.Series);\n const { LeadTimeKey } = getYAxisUnitOfTimeKeys(chartData);\n const maxYAxisValue = getYAxisDataMax(chartData, `LeadTime.mean.${LeadTimeKey}`);\n const currentGranularity = insightsCadenceLookup[cadence].granularity;\n const dateFormatter = getChartAxisDateFormatter(currentGranularity);\n const showSeries = split !== InsightsMetricsSplitValues.None;\n useEffect(() => {\n dispatchAction(\"View Insights Report Deployment Lead Time\");\n // eslint-disable-next-line react-hooks/exhaustive-deps\n }, []);\n return (
    \n
    \n \n } showLegend={showSeries}/>\n \n
    \n \n
    \n
    \n
    \n \n
    \n
    );\n}\nexport function InsightsReportDeploymentLeadTimePage({ report }: {\n report: InsightsReportResource;\n}) {\n const [reportFilter, setReportFilter] = useReportFilters();\n return (\n \n {(props) => }\n \n );\n}\n","import { Tooltip } from \"@octopusdeploy/design-system-components\";\nimport type { MeanTimeToRecoveryDeployment, MeanTimeToRecoveryTrends } from \"@octopusdeploy/octopus-server-client\";\nimport { links } from \"@octopusdeploy/portal-routes\";\nimport React from \"react\";\nimport { formatDurationInWords } from \"~/areas/insights/dataTransformation/stringHelpers\";\nimport ExternalLink from \"~/components/Navigation/ExternalLink\";\nimport InternalLink from \"~/components/Navigation/InternalLink\";\nimport { DataTableHeaderColumn, DataTableRow, DataTableRowColumn } from \"~/primitiveComponents/dataDisplay/DataTable\";\nimport DateFormatter from \"~/utils/DateFormatter\";\nimport { TrendTable } from \"./TrendTable/TrendTable\";\nimport styles from \"./TrendTables.module.less\";\ninterface Props {\n spaceId: string;\n trends: MeanTimeToRecoveryTrends;\n}\nexport function TimeToRecoveryTrendTables({ trends, spaceId }: Props) {\n return (<>\n \n \n );\n}\ninterface DeploymentTableProps {\n spaceId: string;\n data: MeanTimeToRecoveryDeployment[];\n}\nfunction LongestTimeToRecovery({ data, spaceId }: DeploymentTableProps) {\n const hasTenants = data.some((d) => d.TenantName !== null);\n return (\n The successful deployment with the longest mean time to recovery following a failure for each project, environment and tenant. The first 10 in descending order by mean\n time to recovery are shown.\n } headerContent={\n Project\n Environment\n {hasTenants && Tenant}\n Release\n Completed\n Time to Recovery\n } bodyContent={<>\n {data.map((r) => (\n \n {r.ProjectName}\n \n {r.EnvironmentName}\n {hasTenants && {r.TenantName ?? \"Untenanted\"}}\n \n {r.ReleaseVersion}\n \n \n \n {DateFormatter.momentAgo(r.CompletedTime)}\n \n \n {formatDurationInWords(r.TimeToRecovery)}\n ))}\n }/>);\n}\nfunction LargestNumberOfDeploymentsUntilRecovery({ data, spaceId }: DeploymentTableProps) {\n const hasTenants = data.some((d) => d.TenantName !== null);\n return (\n The successful deployment with the most deployments until recovery following a failure for each project, environment and tenant. The first 10 in descending order by\n the count are shown.\n } headerContent={\n Project\n Environment\n {hasTenants && Tenant}\n Release\n Completed\n Deployments until Recovery\n } bodyContent={<>\n {data.map((r) => (\n \n {r.ProjectName}\n \n {r.EnvironmentName}\n {hasTenants && {r.TenantName ?? \"Untenanted\"}}\n \n {r.ReleaseVersion}\n \n \n \n {DateFormatter.momentAgo(r.CompletedTime)}\n \n \n {r.DeploymentsUntilRecovery}\n ))}\n }/>);\n}\n","import { space } from \"@octopusdeploy/design-system-tokens\";\nimport type { InsightsReportResource } from \"@octopusdeploy/octopus-server-client\";\nimport { InsightsMetricsSplitValues } from \"@octopusdeploy/portal-routes\";\nimport React, { useEffect } from \"react\";\nimport { useAnalyticSimpleActionDispatch } from \"~/analytics/Analytics\";\nimport { InsightsReportLayout } from \"~/areas/insights/components/InsightsReportLayout/InsightsReportLayout\";\nimport { ReportMetricsLayout } from \"~/areas/insights/components/Reports/ReportMetricsLayout/ReportMetricsLayout\";\nimport type { ReportMetricsPageProps } from \"~/areas/insights/components/Reports/ReportMetricsLayout/ReportMetricsLayout\";\nimport { useReportFilters } from \"~/areas/insights/components/Reports/ReportMetricsLayout/useReportFilters\";\nimport { getChartAxisDateFormatter } from \"../../dataTransformation/dateHelpers\";\nimport { getChartReadyInsightsData, getYAxisUnitOfTimeKeys } from \"../../dataTransformation/getChartReadyInsightsData\";\nimport { getEvenlySpacedTickArray, getYAxisDataMax } from \"../../dataTransformation/getYAxisDataMax\";\nimport { formatDurationInWords } from \"../../dataTransformation/stringHelpers\";\nimport { insightsCadenceLookup, insightsCadenceXAxisTickInterval } from \"../../insightsCadence\";\nimport { InsightsTooltip } from \"../ChartTooltips/InsightsTooltip/InsightsTooltip\";\nimport LineChart from \"../Charts/LineChart\";\nimport { DownloadReportCsvButton } from \"../DownloadReportCsvButton\";\nimport { InsightsChartCard } from \"../InsightsChartCard\";\nimport { TimeToRecoveryTrendTables } from \"./TrendTables/TimeToRecoveryTables\";\ntype Props = ReportMetricsPageProps;\nexport function ReportMeanTimeToRecoveryInner({ report, bffResponse, split, cadence, busy }: Props) {\n const dispatchAction = useAnalyticSimpleActionDispatch();\n const chartData = getChartReadyInsightsData(bffResponse.Series);\n const { MeanTimeToRecoveryKey } = getYAxisUnitOfTimeKeys(chartData);\n const maxYAxisValue = getYAxisDataMax(chartData, `MeanTimeToRecovery.mean.${MeanTimeToRecoveryKey}`);\n const currentGranularity = insightsCadenceLookup[cadence].granularity;\n const dateFormatter = getChartAxisDateFormatter(currentGranularity);\n const showSeries = split !== InsightsMetricsSplitValues.None;\n useEffect(() => {\n dispatchAction(\"View Insights Report Mean Time to Recovery\");\n // eslint-disable-next-line react-hooks/exhaustive-deps\n }, []);\n return (
    \n
    \n \n } xAxisTickInterval={insightsCadenceXAxisTickInterval[cadence]} showLegend={showSeries}/>\n \n
    \n \n
    \n
    \n
    \n \n
    \n
    );\n}\nexport function InsightsReportDeploymentMeanTimeToRecoveryPage({ report }: {\n report: InsightsReportResource;\n}) {\n const [reportFilter, setReportFilter] = useReportFilters();\n return (\n \n {(props) => }\n \n );\n}\n","/* eslint-disable @typescript-eslint/no-non-null-assertion */\nimport type { IId } from \"@octopusdeploy/octopus-server-client\";\nimport cn from \"classnames\";\nimport * as React from \"react\";\nimport { BaseComponent } from \"~/components/BaseComponent/BaseComponent\";\nimport { OverflowMenuItems } from \"~/components/OverflowMenu/OverflowMenu\";\nimport type { SummaryNode } from \"~/components/form\";\nimport { UnstructuredFormSection, ExpandableFormSection } from \"~/components/form\";\nimport ActionList from \"../ActionList\";\nimport styles from \"./style.module.less\";\ninterface RemovableExpandersListProps {\n typeDisplayName: string;\n empty?: React.ReactNode;\n data: R[];\n listActions?: JSX.Element[];\n helpElement?: JSX.Element;\n onRow(item: R, idx: number): React.ReactNode;\n onRowSummary(item: R): SummaryNode;\n onRowHelp(item: R): string;\n onRemoveRowByIndex?(index: number): void;\n}\nexport abstract class RemovableExpandersList extends BaseComponent, {}> {\n private bottomActionVisibilityThreshold = 3;\n constructor(props: RemovableExpandersListProps) {\n super(props);\n }\n render() {\n const actions = (this.props.listActions || []).map((action, index) => React.cloneElement(action, { key: index }));\n return (\n \n
    \n
    {this.props.helpElement}
    \n \n
    \n
    \n {this.props.data.length === 0 && this.props.empty &&
    {this.props.empty}
    }\n {this.props.data.length !== 0 &&
    {this.props.data.map((item, index) => this.buildItem(item, index))}
    }\n \n
    \n \n
    \n
    \n
    );\n }\n private buildItem(item: R, index: number) {\n const removeAction = OverflowMenuItems.item(`Remove ${this.props.typeDisplayName}`, () => this.props.onRemoveRowByIndex!(index));\n const visualIndex = index + 1;\n return (\n {this.props.onRow(item, index)}\n );\n }\n static displayName = \"RemovableExpandersList\";\n}\n","import { RemovableExpandersList } from \"./RemovableExpandersList\";\nexport default RemovableExpandersList;\n","/* eslint-disable @typescript-eslint/no-non-null-assertion */\nimport { ActionButton, ActionButtonType, RadioButtonGroup, RadioButton } from \"@octopusdeploy/design-system-components\";\nimport { space } from \"@octopusdeploy/design-system-tokens\";\nimport type { ChannelResource, EnvironmentResource, IconMetadataResource, IconSvgResource, ProjectGroupResource, ProjectResource, ServerTimezoneResource, TagSetResource, TenantResource, NamedResource, InsightsEnvironmentGroup, InsightsReportResource, } from \"@octopusdeploy/octopus-server-client\";\nimport { Permission, InsightsReportTenantMode } from \"@octopusdeploy/octopus-server-client\";\nimport { links } from \"@octopusdeploy/portal-routes\";\nimport React from \"react\";\nimport type { AnalyticInsightsDispatcher } from \"~/analytics/Analytics\";\nimport { Action, useAnalyticInsightsDispatch } from \"~/analytics/Analytics\";\nimport IconAndLogoEditLayout, { LogoTypeSelection } from \"~/areas/infrastructure/components/IconAndLogoEditLayout/IconAndLogoEditLayout\";\nimport { InsightsReportLayout } from \"~/areas/insights/components/InsightsReportLayout/InsightsReportLayout\";\nimport { repository } from \"~/clientInstance\";\nimport { AdvancedTenantsAndTenantTagsSelector } from \"~/components/AdvancedTenantSelector\";\nimport { environmentChipList, projectChipList, projectGroupChipList, channelChipList } from \"~/components/Chips\";\nimport FormBaseComponent from \"~/components/FormBaseComponent\";\nimport type { FormBaseComponentState } from \"~/components/FormBaseComponent/FormBaseComponent\";\nimport FormPage from \"~/components/FormPage/FormPage\";\nimport { LegacyForm } from \"~/components/FormPaperLayout/LegacyForm\";\nimport { ChannelMultiSelect } from \"~/components/MultiSelect/ChannelMultiSelect\";\nimport { EnvironmentMultiSelect } from \"~/components/MultiSelect/EnvironmentMultiSelect\";\nimport { ProjectGroupMultiSelect } from \"~/components/MultiSelect/ProjectGroupMultiSelect\";\nimport { ProjectMultiSelect } from \"~/components/MultiSelect/ProjectMultiSelect\";\nimport ExternalLink from \"~/components/Navigation/ExternalLink\";\nimport InternalRedirect from \"~/components/Navigation/InternalRedirect\";\nimport { OverflowMenuItems } from \"~/components/OverflowMenu/OverflowMenu\";\nimport { OverflowMenuConverterVNext } from \"~/components/OverflowMenu/OverflowMenuConverterVNext\";\nimport { PageContent } from \"~/components/PageContent/PageContent\";\nimport { PermissionCheck } from \"~/components/PermissionCheck\";\nimport type { PermissionCheckProps } from \"~/components/PermissionCheck/PermissionCheck\";\nimport { isAllowed } from \"~/components/PermissionCheck/PermissionCheck\";\nimport RemovableExpandersList from \"~/components/RemovableExpandersList\";\nimport TransitionAnimation from \"~/components/TransitionAnimation/TransitionAnimation\";\nimport type { LogoEditorSettings, SummaryNode } from \"~/components/form\";\nimport { Select, Note, LogoEditor, UnstructuredFormSection, FormSectionHeading, MarkdownEditor } from \"~/components/form\";\nimport type { IconEditorSettings } from \"~/components/form/IconEditor/IconEditor\";\nimport IconEditor, { IconEditorDefaultColor } from \"~/components/form/IconEditor/IconEditor\";\nimport timezoneSummary from \"~/components/timezoneSummary\";\nimport CommonSummaryHelper from \"~/utils/CommonSummaryHelper\";\nimport Logo from \"../../../../components/Logo/Logo\";\nimport { ExpandableFormSection, Summary } from \"../../../../components/form\";\nimport { required } from \"../../../../components/form/Validators\";\nimport Text from \"../../../../primitiveComponents/form/Text/Text\";\ninterface InsightsReportModel extends InsightsReportResource {\n logo: LogoEditorSettings;\n icon: IconEditorSettings;\n}\ninterface ReportSettingsInnerState extends FormBaseComponentState {\n deleted: boolean;\n logoTypeSelection: LogoTypeSelection;\n}\ninterface InitialData {\n report: InsightsReportResource;\n projects: ProjectResource[];\n channels: ChannelResource[];\n environments: EnvironmentResource[];\n tenants: TenantResource[];\n tagSets: TagSetResource[];\n timezones: ServerTimezoneResource[];\n iconSvgResources: IconSvgResource[];\n iconMetadata: IconMetadataResource;\n projectGroups: ProjectGroupResource[];\n}\ninterface ReportSettingsProps {\n report: InsightsReportResource;\n refreshReport: () => Promise;\n}\ninterface ReportSettingsInnerProps {\n initialData: InitialData;\n refreshReport: () => Promise;\n dispatchAction: AnalyticInsightsDispatcher;\n}\nconst InsightsReportSettingsFormPage = FormPage();\nconst title = \"Settings\";\nexport function InsightsReportSettingsPage({ report, refreshReport }: ReportSettingsProps) {\n const dispatchAction = useAnalyticInsightsDispatch();\n return (\n {\n const projectsRequest = repository.Projects.all();\n const channelsRequest = repository.Channels.all();\n const environmentsRequest = repository.Environments.all();\n const tenantsRequest = isAllowed({ permission: Permission.TenantView, tenant: \"*\" }) ? repository.Tenants.all() : Promise.resolve([]);\n const tagSetsRequest = repository.TagSets.all();\n const timezonesRequest = repository.ServerStatus.getTimezones();\n const projectGroupsRequest = repository.ProjectGroups.all();\n const iconsRequest = repository.Icons.getIcons();\n const iconMetadataRequest = repository.Icons.getIconMetadata();\n return {\n report,\n projects: await projectsRequest,\n channels: await channelsRequest,\n environments: await environmentsRequest,\n tenants: await tenantsRequest,\n tagSets: await tagSetsRequest,\n timezones: await timezonesRequest,\n iconSvgResources: await iconsRequest,\n iconMetadata: await iconMetadataRequest,\n projectGroups: await projectGroupsRequest,\n };\n }} renderWhenLoaded={(initialData) => }/>\n );\n}\nclass ReportSettingsInner extends FormBaseComponent {\n constructor(props: ReportSettingsInnerProps) {\n super(props);\n const model = this.buildModel(this.props.initialData.report);\n this.state = {\n model,\n cleanModel: model,\n deleted: false,\n logoTypeSelection: LogoTypeSelection.NotSet,\n };\n }\n buildModel(report: InsightsReportResource): InsightsReportModel {\n return {\n ...report,\n logo: { file: undefined, reset: false },\n icon: {\n iconId: report.IconId ?? \"\",\n iconColor: report.IconColor ?? IconEditorDefaultColor,\n },\n };\n }\n handleSaveClick = async () => {\n const { model } = this.state;\n const { refreshReport } = this.props;\n await this.doBusyTask(async () => {\n const isUntenanted = this.state.model.TenantMode === InsightsReportTenantMode.Untenanted;\n const newModel = {\n ...model,\n TenantIds: isUntenanted ? [] : model.TenantIds,\n TenantTags: isUntenanted ? [] : model.TenantTags,\n };\n if (this.state.logoTypeSelection === LogoTypeSelection.Icon) {\n await repository.Logos.saveIcon(model, this.state.model!.icon.iconId, this.state.model!.icon.iconColor);\n }\n else if (this.state.logoTypeSelection === LogoTypeSelection.CustomImage) {\n await repository.Logos.saveLogo(model, this.state.model!.logo.file!, this.state.model!.logo.reset);\n }\n const result = await repository.InsightsReports.save(newModel);\n // Send Amplitude event\n this.props.dispatchAction(\"Save Insights Report Settings\", { action: Action.Save });\n // Refresh report at top level\n refreshReport();\n this.setState({\n model: this.buildModel(result),\n cleanModel: this.buildModel(result),\n });\n });\n };\n logoSummary(): SummaryNode {\n if (!this.state.model || this.state.model?.logo.reset) {\n return Summary.placeholder(\"Default logo\");\n }\n if (this.state.model?.logo.file) {\n return Summary.summary(this.state.model.logo.file.name);\n }\n return Summary.summary();\n }\n projectSummary(): SummaryNode {\n const { initialData: { projects }, } = this.props;\n return this.state.model.ProjectIds.length ? Summary.summary(projectChipList(projects, this.state.model.ProjectIds)) : Summary.placeholder(\"No projects selected\");\n }\n projectGroupSummary(): SummaryNode {\n const { initialData: { projectGroups }, } = this.props;\n return this.state.model.ProjectGroupIds.length ? Summary.summary(projectGroupChipList(projectGroups, this.state.model.ProjectGroupIds)) : Summary.placeholder(\"No project groups selected\");\n }\n channelSummary(): SummaryNode {\n const { initialData: { channels, projects }, } = this.props;\n const channelsWithProjectName = this.getChannelsIncludingProjectName(channels, projects);\n return this.state.model.ChannelIds.length ? Summary.summary(channelChipList(channelsWithProjectName, this.state.model.ChannelIds)) : Summary.placeholder(\"No channels selected\");\n }\n getChannelsIncludingProjectName(channels: ChannelResource[], projects: ProjectResource[]): NamedResource[] {\n const getUpdatedName = (channel: ChannelResource) => {\n const projectName = projects.find((p) => p.Id === channel.ProjectId)?.Name;\n return `${projectName} - ${channel.Name}`;\n };\n return channels.map((c) => ({ Id: c.Id, Name: getUpdatedName(c), Links: {} }));\n }\n environmentGroupSummary(group: InsightsEnvironmentGroup): SummaryNode {\n const { initialData: { environments }, } = this.props;\n return group.Environments.length\n ? Summary.summary(<>\n {group.Name}: \n {environmentChipList(environments, group.Environments)}\n )\n : Summary.placeholder(\"No selection\");\n }\n private handleAddEnvironmentClick = () => {\n const environmentGroup: InsightsEnvironmentGroup = {\n Id: \"\",\n Name: \"\",\n Environments: [],\n };\n this.setModelState({ EnvironmentGroups: [...this.state.model!.EnvironmentGroups, environmentGroup] });\n };\n private handleEnvironmentNameChange = (name: string, index: number) => {\n this.setState((state) => {\n const environments = [...state.model!.EnvironmentGroups];\n environments[index] = { ...environments[index], Name: name };\n return {\n model: {\n ...state.model,\n EnvironmentGroups: environments,\n },\n };\n });\n };\n private handleEnvironmentSelectionsChange = (newEnvironments: string[], index: number) => {\n this.setState((state) => {\n const environments = [...state.model.EnvironmentGroups];\n environments[index] = { ...environments[index], Environments: newEnvironments };\n return {\n model: {\n ...state.model,\n EnvironmentGroups: environments,\n },\n };\n });\n };\n private handleEnvironmentDeleteByIndex = (index: number) => {\n this.setState((state) => {\n const environments = state.model!.EnvironmentGroups.filter((_, i) => i !== index);\n return {\n model: {\n ...state.model,\n EnvironmentGroups: environments,\n },\n };\n });\n };\n private handleAddProjectGroup = (projectGroups: string[]) => this.setModelState({ ProjectGroupIds: projectGroups });\n private handleAddProject = (projects: string[]) => this.setModelState({ ProjectIds: projects });\n private handleAddChannel = (channels: string[]) => this.setModelState({ ChannelIds: channels });\n renderEnvironmentGroup = (environmentGroup: InsightsEnvironmentGroup, index: number) => {\n const { initialData: { environments }, } = this.props;\n const selectedEnvironments = this.state.model.EnvironmentGroups.flatMap((g) => g.Environments);\n const remainingEnvironments = this.props.initialData.environments.filter((e) => !selectedEnvironments.includes(e.Id));\n return (
    \n this.handleEnvironmentNameChange(name, index)} label=\"Environment group name\" validate={required(\"Please enter an environment group name\")}/>\n this.handleEnvironmentSelectionsChange(environments, index)}/>\n
    );\n };\n renderEnvironmentHelp = () =>
    Create groups of environments that have a shared purpose. E.g. \"Production\"
    ;\n private handleDeleteConfirm = async () => {\n await repository.InsightsReports.del(this.state.model);\n this.setState(() => {\n return {\n model: undefined,\n cleanModel: undefined,\n deleted: true,\n };\n });\n return true;\n };\n private tenantParticipationSummary(): SummaryNode {\n const { TenantIds, TenantTags, TenantMode } = this.state.model;\n const hasTags = TenantIds.length > 0;\n const hasTenants = TenantTags.length > 0;\n const hasTagOrTenant = hasTags || hasTenants;\n switch (TenantMode) {\n case InsightsReportTenantMode.Untenanted:\n return Summary.default(Only including untenanted deployments);\n case InsightsReportTenantMode.TenantedAndUntenanted:\n return hasTagOrTenant\n ? Summary.summary(Including untenanted deployments, and deployments to the associated tenants)\n : Summary.summary(\n Only including untenanted deployments until you choose some tenants\n );\n case InsightsReportTenantMode.Tenanted:\n return hasTagOrTenant\n ? Summary.summary(Only including deployments to the associated tenants)\n : Summary.summary(\n Not including any deployments until you choose some tenants\n );\n }\n }\n private tenantSummary() {\n return CommonSummaryHelper.tenantSummary(this.state.model.TenantIds, this.state.model.TenantTags, this.props.initialData.tenants);\n }\n render() {\n if (this.state.deleted) {\n return ;\n }\n const { initialData: { projectGroups, projects, channels, tenants }, } = this.props;\n const environmentActions = [];\n const legacyOverflowActions = [OverflowMenuItems.deleteItemDefault(\"report\", this.handleDeleteConfirm, { permission: Permission.InsightsReportDelete })];\n const overflowMenu = OverflowMenuConverterVNext.convertAll(legacyOverflowActions);\n const channelsWithProjectName = this.getChannelsIncludingProjectName(channels, projects);\n return (\n {({ FormContent, createSaveAction }) => (\n {overflowMenu.dialogs}\n \n \n \n {\n this.setState({ logoTypeSelection: LogoTypeSelection.Icon });\n this.setModelState({ icon: { iconId, iconColor: this.state.model?.icon?.iconColor ?? IconEditorDefaultColor }, logo: { file: undefined, reset: false } });\n }} onIconColorChange={(iconColor) => {\n this.setState({ logoTypeSelection: LogoTypeSelection.Icon });\n this.setModelState({ icon: { iconId: this.state.model?.icon?.iconId ?? \"\", iconColor } });\n }}/>} logoEditor={ {\n this.setState({ logoTypeSelection: LogoTypeSelection.CustomImage });\n this.setModelState({ logo, icon: { iconId: \"\", iconColor: IconEditorDefaultColor } });\n }}/>} onTabChange={(logoType) => this.setState({ logoTypeSelection: logoType })}/>\n \n \n this.setModelState({ Name: name })} label=\"Report name\" validate={required(\"Please enter a report name\")} autoFocus/>\n \n \n this.setModelState({ Description: description })}/>\n \n \n await onFilterChanged({ ...filter, project: project ?? \"\" })} items={vcsProjects.map((p) => ({ value: p.Id, text: p.Name }))} allowClear={true} allowFilter={true} fieldName=\"project\" placeholder=\"All projects\"/>),\n },\n ]} defaultFilter={defaultFilter} onFilterReset={() => onFilterChanged(defaultFilter)} renderContent={() => table(props.usages.filter((u) => u.Branch), props, [\"Project\", \"Process\", \"Step\", \"Release\", \"Branch\", \"Version\", null], \"Version-Controlled Projects\")} additionalHeaderFilters={[\n await onFilterChanged({ ...filter, branch })} autoFocus={true} fullWidth={false}/>,\n ]}>\n \n \n \n {filterableDatabaseUsages(filter, props, onFilterChanged)}\n \n );\n }\n return filterableDatabaseUsages(filter, props, onFilterChanged);\n};\nfunction filterableDatabaseUsages(filter: ActionTemplateUsageVersionControlledFilter, props: ActionTemplateUsageTableProps, onFilterChanged: (filter: ActionTemplateUsageVersionControlledFilter) => Promise) {\n const updateAllButton = props.usages.some((u) => !u.Branch && props.templateVersion.toString() !== u.Version) ? props.onUpdateAll()} label=\"Update all...\"/> : null;\n return ( await onFilterChanged({ ...filter, withUpdates })}>
    },\n {\n render: (
    \n await onFilterChanged({ ...filter, project: project ?? \"\" })} items={(props.projects ?? []).filter((p) => !(props.vcsProjects ?? []).some((p2) => p.Id == p2.Id)).map((p) => ({ value: p.Id, text: p.Name }))} allowClear={true} allowFilter={true} fieldName=\"project\" placeholder=\"All projects\"/>\n
    ,\n ]}>);\n}\nfunction table(usages: ActionTemplateUsageResource[], props: ActionTemplateUsageTableProps, headerColumns: unknown[], title: string) {\n return ( compact([\n {u.ProjectName},\n ,\n ,\n u.Release,\n u.Branch && ,\n u.Version,\n getUpdateStatus(props, u),\n ])}/>);\n}\nfunction getUpdateStatus(props: ActionTemplateUsageTableProps, u: ActionTemplateUsageResource): React.ReactNode {\n if (props.templateVersion.toString() === u.Version) {\n return \"Up to date\";\n }\n else if (!u.Branch) {\n return props.onUpdateAction(u)} label=\"Update...\" accessibleName=\"update-usage\"/>;\n }\n else {\n return (
    \n Update available\n
    );\n }\n}\n","/* eslint-disable @typescript-eslint/no-non-null-assertion */\nimport { css } from \"@emotion/css\";\nimport { Callout } from \"@octopusdeploy/design-system-components\";\nimport { space, text, themeTokens } from \"@octopusdeploy/design-system-tokens\";\nimport type { ActionTemplateResource, ActionTemplateUsageResource, ActionUpdateResultResource, ActionProperties, PackageReference, ActionTemplateParameterResource, ActionUpdateRemovedPackageUsage, ActionsUpdateProcessResource, } from \"@octopusdeploy/octopus-server-client\";\nimport { isResourceControlType, ActionUpdateOutcome, ActionUpdatePackageUsedBy, ControlType, ProcessType } from \"@octopusdeploy/octopus-server-client\";\nimport { links } from \"@octopusdeploy/portal-routes\";\nimport { keyBy, uniq, flatMap, reduce, groupBy } from \"lodash\";\nimport pluralize from \"pluralize\";\nimport * as React from \"react\";\nimport { repository } from \"~/clientInstance\";\nimport type { PackageSourceItems } from \"~/components/ActionTemplateParameterInput/ActionTemplateParameterInput\";\nimport type { DataBaseComponentState } from \"~/components/DataBaseComponent/DataBaseComponent\";\nimport { DataBaseComponent } from \"~/components/DataBaseComponent/DataBaseComponent\";\nimport SaveDialogLayout from \"~/components/DialogLayout/SaveDialogLayout\";\nimport ExternalLink from \"~/components/Navigation/ExternalLink/ExternalLink\";\nimport InternalLink from \"~/components/Navigation/InternalLink\";\nimport InternalRedirect from \"~/components/Navigation/InternalRedirect/InternalRedirect\";\nimport SimpleDataTable from \"~/components/SimpleDataTable\";\nimport ExpansionButtons from \"~/components/form/Sections/ExpansionButtons\";\nimport { FormSection } from \"~/components/form/index\";\nimport { ControlledTabsContainer } from \"~/primitiveComponents/navigation/Tabs\";\nimport TabItem from \"~/primitiveComponents/navigation/Tabs/TabItem\";\nimport ActionTemplateParameterInputExpandableFormElement from \"../../../../components/ActionTemplateParameterInput/ActionTemplateParameterInputExpandableFormElement\";\nimport { ActionTemplateUsageProcessLink, ActionTemplateUsageStepLink } from \"./ActionTemplateUsageLinks\";\nimport styles from \"./style.module.less\";\ntype Tab = \"auto\" | \"defaults\" | \"manual\" | \"packages\";\ntype Default = ActionTemplateUsageResource & {\n NamesOfNewParametersMissingDefaultValue: string[];\n};\ntype Manual = ActionTemplateUsageResource & {\n ManualMergeRequiredReasonsByPropertyName: Record;\n};\ntype Packages = ActionTemplateUsageResource & {\n RemovedPackageUsages: ActionUpdateRemovedPackageUsage[];\n};\ninterface MergeConflictResolutionDialogState extends DataBaseComponentState {\n showAutoDetails: boolean;\n showDefaultsDetails: boolean;\n showManualDetails: boolean;\n showPackagesDetails: boolean;\n auto: ActionTemplateUsageResource[];\n defaults: Default[];\n manual: Manual[];\n packages: Packages[];\n defaultPropertyValues: ActionProperties;\n appliesToSingleStep: boolean;\n newParametersMissingDefaultValue: ActionTemplateParameterResource[];\n tab: Tab;\n sourceItems: PackageSourceItems;\n redirectTo: string;\n}\ninterface MergeConflictResolutionDialogProps {\n usages: ActionTemplateUsageResource[];\n mergeResults: ActionUpdateResultResource[];\n actionTemplate: ActionTemplateResource;\n}\nexport default class MergeConflictResolutionDialog extends DataBaseComponent {\n constructor(props: MergeConflictResolutionDialogProps) {\n super(props);\n const mergeResultsByActionId = keyBy(props.mergeResults, \"Id\");\n const auto = props.usages.filter((usage) => mergeResultsByActionId[usage.ActionId].Outcome === ActionUpdateOutcome.Success);\n const defaults = props.usages\n .filter((usage) => mergeResultsByActionId[usage.ActionId].Outcome === ActionUpdateOutcome.DefaultParamterValueMissing)\n .map((usage) => {\n return {\n ...usage,\n NamesOfNewParametersMissingDefaultValue: mergeResultsByActionId[usage.ActionId].NamesOfNewParametersMissingDefaultValue,\n };\n });\n const namesOfNewParameterMissingDefaultValue = uniq(flatMap(defaults.map((d) => d.NamesOfNewParametersMissingDefaultValue)));\n const newParametersMissingDefaultValue = props.actionTemplate.Parameters.filter((p) => namesOfNewParameterMissingDefaultValue.indexOf(p.Name) !== -1);\n const defaultPropertyValues: ActionProperties = newParametersMissingDefaultValue.reduce((acc: Record, p) => {\n const type = p.DisplaySettings[\"Octopus.ControlType\"];\n const name = p.Name;\n if (type === ControlType.Package && props.actionTemplate.Packages[0]) {\n acc[name] = props.actionTemplate.Packages[0].PackageId;\n }\n else {\n acc[name] = null!;\n }\n return acc;\n }, {});\n const manual = props.usages\n .filter((usage) => mergeResultsByActionId[usage.ActionId].Outcome === ActionUpdateOutcome.ManualMergeRequired)\n .map((usage) => {\n return {\n ...usage,\n ManualMergeRequiredReasonsByPropertyName: mergeResultsByActionId[usage.ActionId].ManualMergeRequiredReasonsByPropertyName,\n };\n });\n const packages = props.usages\n .filter((usage) => mergeResultsByActionId[usage.ActionId].Outcome === ActionUpdateOutcome.RemovedPackageInUse)\n .map((usage) => {\n return {\n ...usage,\n RemovedPackageUsages: mergeResultsByActionId[usage.ActionId].RemovedPackageUsages,\n };\n });\n const appliesToSingleStep = auto.length + manual.length + defaults.length + packages.length === 1;\n const tab = auto.length ? \"auto\" : defaults.length ? \"defaults\" : manual.length ? \"manual\" : \"packages\";\n this.state = {\n redirectTo: null!,\n showAutoDetails: false,\n showDefaultsDetails: false,\n showManualDetails: false,\n showPackagesDetails: false,\n auto,\n defaults,\n manual,\n packages,\n defaultPropertyValues,\n appliesToSingleStep,\n newParametersMissingDefaultValue,\n tab,\n sourceItems: {\n items: props.actionTemplate.Packages || [],\n feeds: [],\n onRequestRefresh: this.refreshFeeds,\n setPackages: this.setPackages,\n },\n };\n }\n setPackages = (packages: PackageReference[]) => {\n this.setState({\n sourceItems: {\n ...this.state.sourceItems,\n items: packages,\n },\n });\n };\n refreshFeeds = async () => {\n await this.doBusyTask(async () => {\n const feedsGetter = repository.Feeds.all();\n try {\n const feeds = await feedsGetter;\n this.setState({\n sourceItems: {\n ...this.state.sourceItems,\n feeds,\n },\n });\n }\n catch (error) {\n if (error.StatusCode !== 404) {\n throw error;\n }\n }\n });\n };\n async componentDidMount() {\n await this.doBusyTask(async () => {\n const feedsGetter = repository.Feeds.all();\n try {\n const feeds = await feedsGetter;\n this.setState({\n sourceItems: {\n ...this.state.sourceItems,\n feeds,\n },\n });\n }\n catch (error) {\n if (error.StatusCode !== 404) {\n throw error;\n }\n }\n });\n }\n render() {\n if (this.state.redirectTo) {\n return ;\n }\n return (\n \n See our documentation for more information regarding possible reasons why the update couldn't be done automatically.\n \n {this.isOnlyOneTab() ? this.renderWithoutTabs() : this.renderWithTabs()}\n );\n }\n private renderWithTabs() {\n return (\n // eslint-disable-next-line @typescript-eslint/consistent-type-assertions\n this.setState({ tab: value as Tab })}>\n {this.state.auto.length ? (\n {this.renderAuto()}\n ) : null}\n {this.state.defaults.length ? (\n {this.renderDefaults()}\n ) : null}\n {this.state.manual.length ? (\n {this.renderManual()}\n ) : null}\n {this.state.packages.length ? (\n {this.renderPackages()}\n ) : null}\n );\n }\n private renderWithoutTabs() {\n return (<>\n {this.renderAuto()}\n {this.renderDefaults()}\n {this.renderManual()}\n {this.renderPackages()}\n );\n }\n private renderAuto() {\n if (this.state.auto.length === 0) {\n return null;\n }\n return (
    \n
    The following {this.state.auto.length === 1 ? \"usage doesn't\" : \"usages don't\"} have any changes that require review.
    \n [\n \n {u.ProjectName}\n ,\n ,\n ,\n u.Version,\n ]}/>\n
    );\n }\n private renderDefaults() {\n if (this.state.defaults.length === 0) {\n return null;\n }\n return (
    \n
    \n The following {pluralize(\"usage\", this.state.defaults.length)} will have new parameters after updating. You can optionally provide a default value for any new parameters that support them. If you want to provide different values\n for each step, please update each step manually.\n
    \n
    Parameters
    \n
    \n \n {this.state.newParametersMissingDefaultValue.map((param) => {\n if (isResourceControlType(param.DisplaySettings[\"Octopus.ControlType\"])) {\n return ({param.Name}} help={This parameter type doesn't accept default values}>);\n }\n return ( this.setState((state) => ({ defaultPropertyValues: { ...state.defaultPropertyValues, [param.Name]: x } }))} customHelpText={(label) => `Provide a default value for ${label}`} actionType={this.props.actionTemplate.ActionType}/>);\n })}\n
    \n
    Steps
    \n [\n \n {u.ProjectName}\n ,\n ,\n ,\n
      \n {u.NamesOfNewParametersMissingDefaultValue.map((nameOfNewParameterMissingDefaultValue) => (
    • {nameOfNewParameterMissingDefaultValue}
    • ))}\n
    ,\n u.Version,\n ]}/>\n
    );\n }\n private renderPackages() {\n if (this.state.packages.length === 0) {\n return null;\n }\n return (
    \n
    \n {this.state.packages.length === 1 ? \"This step is\" : \"These steps are\"} in a project that references a package on the step which has been removed in the latest version of the step template. These references must be removed before\n the step can be updated.\n
    \n [\n \n {u.ProjectName}\n ,\n ,\n ,\n
      \n {u.RemovedPackageUsages.map((pkg, index) => (
    • {this.renderRemovedPackageUsageReason(pkg, u.ProjectSlug)}
    • ))}\n
    ,\n u.Version,\n ]}/>\n
    );\n }\n private renderManual() {\n if (this.state.manual.length === 0) {\n return null;\n }\n return (
    \n
    \n {this.state.manual.length === 1 ? \"This step\" : \"These steps\"} must be updated manually because we don't have enough information to update {this.state.manual.length === 1 ? \"it\" : \"them\"} automatically.\n
    \n [\n \n {u.ProjectName}\n ,\n ,\n ,\n
      \n {Object.keys(u.ManualMergeRequiredReasonsByPropertyName).map((property, index) => (
    • \n {property && `${property}: `}\n {u.ManualMergeRequiredReasonsByPropertyName[property].join()}\n
    • ))}\n
    ,\n u.Version,\n \n Update\n ,\n ]}/>\n
    );\n }\n private onSave = async () => {\n return this.doBusyTask(async () => {\n const usages = [...this.state.auto, ...this.state.defaults];\n const usagesByProcessId = groupBy(usages, (x) => x.ProcessId);\n const initialUpdateValue: ActionsUpdateProcessResource = null!; //needed since our ts rules don't allow us to specify the seed value type inline\n const updates = Object.keys(usagesByProcessId).reduce((prev: ActionsUpdateProcessResource[], processId) => {\n return [\n ...prev,\n reduce(usagesByProcessId[processId], (update, usage) => {\n return !update ? { ProcessType: usage.ProcessType, ProcessId: usage.ProcessId, ProjectId: usage.ProjectId, ActionIds: [usage.ActionId] } : { ...update, ActionIds: [...update.ActionIds, usage.ActionId] };\n }, initialUpdateValue),\n ];\n }, []);\n await repository.ActionTemplates.updateActions(this.props.actionTemplate, updates, this.state.defaultPropertyValues);\n });\n };\n private stepCount = () => {\n return this.state.auto.length + this.state.defaults.length + this.state.manual.length + this.state.packages.length;\n };\n private isOnlyOneTab = () => {\n const anyAuto = this.state.auto.length ? 1 : 0;\n const anyDefaults = this.state.defaults.length ? 1 : 0;\n const anyManual = this.state.manual.length ? 1 : 0;\n const anyPackages = this.state.packages.length ? 1 : 0;\n return anyAuto + anyDefaults + anyManual + anyPackages === 1;\n };\n private renderRemovedPackageUsageReason = (pkgUsage: ActionUpdateRemovedPackageUsage, projectSlug: string) => {\n switch (pkgUsage.UsedBy) {\n case ActionUpdatePackageUsedBy.ProjectVersionStrategy:\n return (\n Versioning strategy in project{\" \"}\n \n {pkgUsage.UsedByName}\n \n );\n case ActionUpdatePackageUsedBy.ProjectReleaseCreationStrategy:\n return (\n Release creation strategy in project{\" \"}\n \n {pkgUsage.UsedByName}\n \n );\n case ActionUpdatePackageUsedBy.ChannelRule:\n return (\n Rule in channel{\" \"}\n \n {pkgUsage.UsedByName}\n \n );\n }\n };\n static displayName = \"MergeConflictResolutionDialog\";\n}\nconst newStyles = {\n defaultsHeadings: css({\n font: text.heading.small,\n paddingTop: space[8],\n }),\n tabContainer: css({\n paddingTop: space[12],\n display: \"flex\",\n flexDirection: \"column\",\n gap: space[8],\n }),\n preventedDefaultValueParameter: css({\n color: themeTokens.color.text.disabled,\n }),\n};\n","/* eslint-disable @typescript-eslint/no-non-null-assertion */\nimport { Callout } from \"@octopusdeploy/design-system-components\";\nimport type { ActionsUpdateProcessResource, ActionTemplateResource, ActionTemplateUsageResource, ActionUpdateResultResource, ProjectSummaryResource, Repository } from \"@octopusdeploy/octopus-server-client\";\nimport { ActionUpdateOutcome } from \"@octopusdeploy/octopus-server-client\";\nimport type { LinkHref } from \"@octopusdeploy/portal-routes\";\nimport { links } from \"@octopusdeploy/portal-routes\";\nimport { debounce, groupBy, orderBy, reduce } from \"lodash\";\nimport * as React from \"react\";\nimport { repository } from \"~/clientInstance\";\nimport ConfirmationDialog from \"~/components/Dialog/ConfirmationDialog\";\nimport DialogOpener from \"~/components/Dialog/DialogOpener\";\nimport type { OptionalFormBaseComponentState } from \"~/components/FormBaseComponent\";\nimport FormBaseComponent from \"~/components/FormBaseComponent\";\nimport InternalRedirect from \"~/components/Navigation/InternalRedirect/InternalRedirect\";\nimport { PageContent } from \"~/components/PageContent/PageContent\";\nimport { Section } from \"~/components/Section/Section\";\nimport type { ActionTemplateUsageVersionControlledFilter } from \"./ActionTemplateUsageTable\";\nimport { ActionTemplateUsageTable } from \"./ActionTemplateUsageTable\";\nimport MergeConflictResolutionDialog from \"./MergeConflictResolutionDialog\";\ninterface ActionTemplateUsagePageState extends OptionalFormBaseComponentState {\n redirectTo: LinkHref;\n usages: ActionTemplateUsageResource[];\n pendingUpdates: number;\n showSaveAs: boolean;\n mergeDetails: {\n usages: ActionTemplateUsageResource[];\n mergeResults: ActionUpdateResultResource[];\n };\n showConfirmation: boolean;\n vcsUsagesExist: boolean;\n}\ninterface ActionTemplateUsagePageProps {\n spaceId: string;\n templateId: string;\n loaderData: ActionTemplateUsagePageLoaderData;\n onActionTemplateUpdated: () => void;\n}\nexport async function actionTemplateUsagePageLoader(repository: Repository, templateId: string): Promise {\n const actionTemplate = await repository.ActionTemplates.get(templateId);\n const actionTemplateUsages = orderBy(await repository.ActionTemplates.getUsage(actionTemplate), [(x) => x.ProjectName, (x) => x.StepName]);\n const vcsProjects = repository.Projects.summariesVersionControlled();\n const projects = repository.Projects.summaries();\n return {\n actionTemplate,\n actionTemplateUsages,\n vcsProjects: await vcsProjects,\n projects: await projects,\n };\n}\nexport const actionTemplateUsagePageTitle = \"Usage\";\nexport interface ActionTemplateUsagePageLoaderData {\n actionTemplate: ActionTemplateResource;\n actionTemplateUsages: ActionTemplateUsageResource[];\n vcsProjects: ProjectSummaryResource[];\n projects: ProjectSummaryResource[];\n}\nexport class ActionTemplateUsagePage extends FormBaseComponent {\n constructor(props: ActionTemplateUsagePageProps) {\n super(props);\n const { actionTemplate, actionTemplateUsages } = props.loaderData;\n this.state = {\n redirectTo: null!,\n usages: actionTemplateUsages,\n pendingUpdates: actionTemplateUsages.filter((u) => `${u.Version}` !== `${actionTemplate.Version}`).length,\n showSaveAs: false,\n mergeDetails: null!,\n showConfirmation: false,\n vcsUsagesExist: actionTemplateUsages.some((u) => u.Branch),\n model: actionTemplate,\n };\n }\n private getUsages = async (template: Partial, args?: unknown) => orderBy(await repository.ActionTemplates.getUsage(template, args), [(x) => x.ProjectName, (x) => x.StepName]);\n render() {\n if (this.state.redirectTo) {\n return ;\n }\n const filter = debounce(async (f: ActionTemplateUsageVersionControlledFilter) => {\n if (this.state?.model) {\n const usages = await this.getUsages(this.state?.model, f);\n this.setState({ ...this.state, ...{ usages } });\n }\n }, 800);\n return (\n
    \n this.load()} wideDialog={true}>\n {this.state.mergeDetails && }\n \n
    \n

    \n Current version: {this.state.model!.Version}\n

    \n {this.state.pendingUpdates > 0 && (\n {this.state.pendingUpdates} step{this.state.pendingUpdates === 1 ? \"\" : \"s\"} may be using an old version of this template. Consider updating to get the latest changes.\n )}\n

    \n {this.state.usages.length > 0 ? (This template is in use by the following projects:) : (\n This template is not used by any projects.{\" \"}\n {this.props.loaderData.vcsProjects.length ? \"Note: For version controlled projects, step template usages are only shown for branches that have releases created from them.\" : \"\"}\n )}\n

    \n
    \n this.setState({ showConfirmation: false })} onContinueClick={async () => this.handleUpdateAll(this.state.usages)}>\n

    Are you sure that you want to update all usages of this template?

    \n
    \n \n
    \n
    );\n }\n private async getExistingTemplate(): Promise {\n return repository.ActionTemplates.get(this.props.templateId);\n }\n private handleUpdateAction = async (usage: ActionTemplateUsageResource) => {\n const updates: ActionsUpdateProcessResource[] = [{ ProcessId: usage.ProcessId, ProcessType: usage.ProcessType, ProjectId: usage.ProjectId, ActionIds: [usage.ActionId] }];\n return this.updateActions(this.state.model!, updates, [usage]);\n };\n private confirmUpdateAll = async () => {\n this.setState({ showConfirmation: true });\n };\n private handleUpdateAll = async (usages: ActionTemplateUsageResource[]) => {\n this.setState({ showConfirmation: false });\n const actionTemplateVersion = this.state.model!.Version.toString();\n const usagesToUpdate = usages.filter((usage) => usage.Version !== actionTemplateVersion && !usage.Branch);\n const usagesByProcessId = groupBy(usagesToUpdate, (x) => x.ProcessId);\n const initialUpdateValue: ActionsUpdateProcessResource = null!;\n const updates = Object.keys(usagesByProcessId).reduce((prev: ActionsUpdateProcessResource[], processId) => {\n return [\n ...prev,\n reduce(usagesByProcessId[processId], (update, usage) => {\n return !update ? { ProcessType: usage.ProcessType, ProcessId: usage.ProcessId, ProjectId: usage.ProjectId, ActionIds: [usage.ActionId] } : { ...update, ActionIds: [...update.ActionIds, usage.ActionId] };\n }, initialUpdateValue),\n ];\n }, []);\n return this.bulkUpdateActions(this.state.model!, updates, usagesToUpdate);\n };\n private updateActions = async (actionTemplate: Partial, actionsToUpdate: ActionsUpdateProcessResource[], usagesToUpdate: ActionTemplateUsageResource[]) => {\n await this.doBusyTask(async () => {\n try {\n await repository.ActionTemplates.updateActions(actionTemplate, actionsToUpdate);\n await this.load();\n }\n catch (error) {\n if (error.StatusCode !== 400) {\n throw error;\n }\n this.resolveMergeConflicts(usagesToUpdate, error.Details);\n }\n });\n };\n private bulkUpdateActions = async (actionTemplate: Partial, actionsToUpdate: ActionsUpdateProcessResource[], usagesToUpdate: ActionTemplateUsageResource[]) => {\n await this.doBusyTask(async () => {\n const response = await repository.ActionTemplates.bulkUpdateActions(actionTemplate, actionsToUpdate);\n if (response.Outcome === ActionUpdateOutcome.Success && response.TaskId !== undefined) {\n this.setState({ redirectTo: links.taskPage.generateUrl({ taskId: response.TaskId }) });\n return;\n }\n if (response.Outcome !== ActionUpdateOutcome.Success) {\n this.resolveMergeConflicts(usagesToUpdate, response.Results);\n }\n });\n };\n private resolveMergeConflicts(usagesToUpdate: ActionTemplateUsageResource[], mergeResults: ActionUpdateResultResource[]) {\n this.setState({\n mergeDetails: { usages: usagesToUpdate, mergeResults },\n });\n }\n private load = async () => {\n await this.doBusyTask(async () => {\n const model = this.state.model ?? (await this.getExistingTemplate());\n const usages = await this.getUsages(model, {});\n const pendingUpdates = usages.filter((u) => `${u.Version}` !== `${model.Version}`).length;\n this.props.onActionTemplateUpdated();\n this.setState({ ...this.state, usages, pendingUpdates, model, mergeDetails: null! });\n });\n };\n static displayName = \"ActionTemplateUsagePage\";\n}\n","/* eslint-disable @typescript-eslint/no-non-null-assertion */\nimport type { ActionTemplateResource } from \"@octopusdeploy/octopus-server-client\";\nimport * as React from \"react\";\nimport { repository } from \"~/clientInstance\";\nimport { CodeEditor, TextFormat } from \"~/components/CodeEditor/CodeEditor\";\nimport type { DataBaseComponentState } from \"~/components/DataBaseComponent/DataBaseComponent\";\nimport { DataBaseComponent } from \"~/components/DataBaseComponent/DataBaseComponent\";\nimport SaveDialogLayout from \"~/components/DialogLayout/SaveDialogLayout\";\nimport Note from \"~/primitiveComponents/form/Note/Note\";\nimport styles from \"./style.module.less\";\ninterface ImportActionTemplateDialogProps {\n onSaveDone(template: ActionTemplateResource): void;\n}\ninterface ImportActionTemplateDialogState extends DataBaseComponentState {\n content?: string;\n}\nexport default class ImportActionTemplateDialog extends DataBaseComponent {\n constructor(props: ImportActionTemplateDialogProps) {\n super(props);\n this.state = {\n content: null!,\n };\n }\n async save() {\n try {\n const data = JSON.parse(this.state.content!);\n if (!data || !data.$Meta || data.$Meta.Type !== \"ActionTemplate\") {\n this.setValidationErrors(\"The data is not a valid step template.\");\n return false;\n }\n delete data.Id;\n delete data.$Meta;\n return this.doBusyTask(async () => {\n const template = await repository.ActionTemplates.create(data);\n this.props.onSaveDone(template);\n });\n }\n catch (ex) {\n this.setValidationErrors(ex.message);\n return false;\n }\n }\n render() {\n return ( this.save()}>\n this.setState({ content: value })}/>\n
    \n Paste the entire exported JSON object.\n
    \n
    );\n }\n static displayName = \"ImportActionTemplateDialog\";\n}\n","import { css } from \"@emotion/css\";\nimport type { PageAction, PrimaryPageAction } from \"@octopusdeploy/design-system-components\";\nimport { ActionButtonType, Badge, EmptyStateNoResults, InlineEmptyStateOnboarding, List, ListItemContent, ListItemLink, NavigationButton, NavigationButtonType, Pagination, SearchInput } from \"@octopusdeploy/design-system-components\";\nimport { PlayIcon } from \"@octopusdeploy/design-system-icons\";\nimport { space } from \"@octopusdeploy/design-system-tokens\";\nimport { useQuery } from \"@octopusdeploy/octopus-react-client\";\nimport type { ActionTemplateResource, Repository, ResourceCollection } from \"@octopusdeploy/octopus-server-client\";\nimport type { QueryParamValuesSetter } from \"@octopusdeploy/portal-routes\";\nimport { links } from \"@octopusdeploy/portal-routes\";\nimport * as React from \"react\";\nimport { useCallback } from \"react\";\nimport { BorderedContent } from \"~/components/BorderedContent/BorderedContent\";\nimport OpenDialogButton from \"~/components/Dialog/OpenDialogButton\";\nimport Logo from \"~/components/Logo\";\nimport MarkdownDescription from \"~/components/MarkdownDescription\";\nimport { formatUrl } from \"~/components/Navigation/ExternalLink/ExternalLink\";\nimport { useSpaceAwareNavigation } from \"~/components/Navigation/SpaceAwareNavigation/useSpaceAwareNavigation\";\nimport { PageContent } from \"~/components/PageContent/PageContent\";\nimport { Select } from \"~/components/form\";\nimport { useDebouncedExternalState } from \"~/hooks/useDebouncedExternalState\";\nimport ListTitle from \"~/primitiveComponents/dataDisplay/ListTitle\";\nimport ImportActionTemplateDialog from \"./ImportActionTemplateDialog\";\nexport interface ActionTemplatesQueryParams {\n templateName: string;\n templateType: TemplateType;\n page: number | undefined;\n pageSize: number | undefined;\n}\nexport async function actionTemplatesPageLoader(repository: Repository, queryParams: ActionTemplatesQueryParams): Promise {\n const actionTemplates = getPaginatedActionTemplates(repository, queryParams.page, queryParams.pageSize, queryParams.templateName, queryParams.templateType);\n const unfilteredActionTemplateCount = getUnfilteredActionTemplateCount(repository);\n return {\n actionTemplates: await actionTemplates,\n unfilteredActionTemplateCount: await unfilteredActionTemplateCount,\n };\n}\nexport interface ActionTemplatesPageLoaderData {\n actionTemplates: ResourceCollection;\n unfilteredActionTemplateCount: number;\n}\nexport const actionTemplatesPageTitle = \"Step Templates\";\nconst defaultPageSize = 30;\nconst pageSizeOptions = [defaultPageSize, 50, 100];\ninterface ActionTemplatesPageProps {\n spaceId: string;\n loaderData: ActionTemplatesPageLoaderData;\n queryParams: ActionTemplatesQueryParams;\n setQueryParams: QueryParamValuesSetter;\n}\ntype TemplateType = \"all\" | \"custom\" | \"community\";\nexport function ActionTemplatesPage({ spaceId, loaderData, queryParams, setQueryParams }: ActionTemplatesPageProps) {\n const { result: actionTemplates } = usePaginatedActionTemplatesQuery(loaderData, queryParams);\n const [debouncedActionTemplateName, setDebouncedActionTemplateName] = useDebouncedExternalState(queryParams.templateName, (value) => setQueryParams({ templateName: value, page: 1 }), 200);\n const navigate = useSpaceAwareNavigation();\n const createStepTemplatePageAction: PrimaryPageAction = {\n type: \"navigate\",\n label: \"Create Step Template\",\n path: links.builtInStepTemplatesPage.generateUrl({ spaceId }),\n };\n const browseCommunityStepsPageAction = {\n type: \"navigate\",\n label: \"Browse Community Steps\",\n path: links.communityStepTemplatesPage.generateUrl({ spaceId }),\n buttonType: \"secondary\",\n } satisfies PageAction;\n const pageActions: PageAction[] = [\n {\n type: \"custom\",\n key: \"import\",\n content: (\n navigate.navigate(links.editStepTemplatePage.generateUrl({ spaceId, templateId: template.Id }))}/>\n ),\n },\n browseCommunityStepsPageAction,\n ];\n const onPageChange = useCallback((page: number) => {\n setQueryParams({ ...queryParams, page });\n }, [queryParams, setQueryParams]);\n const onPageSizeChange = useCallback((pageSize: number) => {\n setQueryParams({ ...queryParams, pageSize: pageSize, page: 1 });\n }, [queryParams, setQueryParams]);\n if (loaderData.unfilteredActionTemplateCount === 0) {\n return (\n \n \n \n );\n }\n const hideBottomPagination = actionTemplates.Items.length < 20;\n return (),\n placement: hideBottomPagination ? \"top\" : \"topAndBottom\",\n }} filters={{\n inputs: [\n ,\n
    \n releaseCallback((pol) => (pol.Unit = val as RetentionUnit))} items={[\n { value: RetentionUnit.Days, text: \"Days\" },\n { value: RetentionUnit.Items, text: \"Releases\" },\n ]}/>\n \n )}\n
    \n
    \n tentacleCallback((prevState) => {\n prevState.ShouldKeepForever = val;\n prevState.QuantityToKeep = val ? 0 : 3;\n })} title=\"How long should we keep extracted packages and files on disk on Tentacles?\">\n \n \n \n {!this.props.tentacleRetentionPolicy.ShouldKeepForever && (\n \n tentacleCallback((pol) => (pol.QuantityToKeep = ParseHelper.safeParseInt(x)))}/>\n \n \n setModel((prev) => ({\n ...prev,\n LifecycleId: lifecycleId === inheritFromProjectLifecycleId ? null! : lifecycleId!,\n }))} items={lifecycleOptions.map((pg) => ({ value: pg.Id, text: pg.Name }))} label=\"Lifecycle\" sortItems={false}/>\n \n The lifecycle defines how releases can be promoted between environments. Lifecycles can be defined here. If no lifecycle is\n selected, the default lifecycle for the project will be used.\n \n {ephemeralEnvironmentsEnabledForProject && model.Type === \"EphemeralEnvironment\" && (\n During the alpha for Ephemeral Environments a lifecycle still needs to be selected, however will not be used. Deployments will happen automatically to a new ephemeral environment based on the branch name associated\n with the release.\n )}\n \n \n This channel will be chosen by default when creating releases\n )\n : Summary.summary(\n A different channel will be chosen by default when creating releases\n )} help=\"This channel will be selected by default when creating releases.\">\n setModel((prev) => ({ ...prev, IsDefault }))}/>\n \n {ephemeralEnvironmentsEnabledForProject && model.Type === \"EphemeralEnvironment\" && (<>\n \n \n {\n throw new Error(\"Ephemeral Environment Name Template is not yet implemented\");\n }} disabled/>\n {/* TODO: Change note to example template when enabling this input */}\n \n During the alpha for Ephemeral Environments the name of the environment will always be set to the branch name associated with the release. The environment name template will become editable in future releases.\n \n \n )}\n \n {gitRefValidationError && ()}\n {deploymentActionError && }\n \n Use package version rules to restrict which versions of packages can be used on steps when creating releases in this channel.\n \n Learn about channel version rules.\n \n
    } typeDisplayName=\"Package Version Rule\" data={model.Rules} listActions={[\n setModel((prev) => ({\n ...prev,\n Rules: [\n ...prev.Rules,\n {\n Id: null!,\n Tag: \"\",\n VersionRange: \"\",\n ActionPackages: [],\n Links: null!,\n },\n ],\n }))}/>,\n ]} onRow={(item: ChannelVersionRuleResource, index: number) => {\n return ();\n }} onRowSummary={(item: ChannelVersionRuleResource) => {\n return ruleSummary(item);\n }} onRowHelp={() => {\n return \"Use package version rules to restrict which versions of packages can be used on steps when creating releases in this channel.\";\n }} onRemoveRowByIndex={handleVersionRuleDeleteByIndex}/>\n\n setModel((prev) => ({ ...prev, GitReferenceRules }))} onGitResourceRulesChanged={(GitResourceRules) => setModel((prev) => ({ ...prev, GitResourceRules }))}/>\n\n \n {(project.TenantedDeploymentMode !== TenantedDeploymentMode.Untenanted || model.TenantTags.length > 0) && (\n \n 0\n ? Summary.summary(\n Releases in this channel can only be deployed to certain tenants:\n \n )\n : Summary.default(\"Releases in this channel can be deployed to any tenants\")} help={\"Choose which tenants the releases in this channel apply to.\"}>\n \n Releases in this channel will only be deployed to tenants matching this filter. Clear the filter to make releases in this channel available to all tenants. Learn about{\" \"}\n tenants and channels.\n \n setModel((prev) => ({ ...prev, TenantTags }))} showPreviewButton={true}/>\n \n )}\n \n \n \n
    );\n}\nconst inheritFromProjectLifecycleId = \"-1\";\ninterface VersionRuleProps {\n model: ChannelResource;\n packageActions: DeploymentActionPackageResource[];\n deploymentActions: DeploymentActionResource[] | OctopusError;\n item: ChannelVersionRuleResource;\n versionRuleIndex: number;\n hasLoadedSteps: boolean;\n project: ProjectResource;\n gitRefValidationError: ValidateGitRefV2Response | undefined;\n gitRef: Readonly | undefined;\n updateRuleProperty: (versionRuleIndex: number, propertyName: K, value: ChannelVersionRuleResource[K]) => void;\n updateRule: (index: number, rule: ChannelVersionRuleResource) => void;\n}\nfunction VersionRule({ versionRuleIndex, item, hasLoadedSteps, model, packageActions, deploymentActions, project, gitRefValidationError, gitRef, updateRule, updateRuleProperty }: VersionRuleProps) {\n const allSelectedActionPackages = model.Rules.map((r) => r.ActionPackages).reduce((a, b) => a.concat(b), []); // All of the selected packages across all version rules\n function actionIsEqual(a: DeploymentActionPackageResource, b: DeploymentActionPackageResource) {\n return a.DeploymentAction === b.DeploymentAction && (a.PackageReference || \"\") === (b.PackageReference || \"\");\n }\n // Once a package is selected it shouldn't show for any other version rules. This is the list\n // of all packages that are not currently selected in any version rules for this channel.\n const autoCompleteActionPackages = packageActions\n .filter((a) => !allSelectedActionPackages.some((b) => actionIsEqual(a, b)))\n .map((x) => new DeploymentActionPackageReferenceDataItem(x, String(packageActions.findIndex((y) => actionIsEqual(x, y)))));\n const itemSelectedActionPackages = packageActions.filter((a) => item.ActionPackages.some((b) => actionIsEqual(a, b))).map((x) => new DeploymentActionPackageReferenceDataItem(x, String(packageActions.findIndex((y) => actionIsEqual(x, y)))));\n // All of the packages that are not available in any steps. This will only be populated for\n // version controlled projects where steps might not exist on the current selected branch.\n const selectedActionPackagesNotInTheProcess = item.ActionPackages.filter((a) => !autoCompleteActionPackages.some((b) => actionIsEqual(a, b.ActionPackage)) && !itemSelectedActionPackages.some((b) => actionIsEqual(a, b.ActionPackage))).map((x) => new DeploymentActionPackageReferenceDataItem(x, displayName(x)));\n const allSelectedActionPackagesForRule = [...itemSelectedActionPackages, ...selectedActionPackagesNotInTheProcess];\n const deploymentActionsOrEmpty = deploymentActions instanceof OctopusError ? [] : deploymentActions;\n const deploymentActionError = deploymentActions instanceof OctopusError ? deploymentActions : undefined;\n return (
    \n x.Id)} label=\"Package step(s)\" onChange={(actionPackageIndexes) => {\n return updateRuleProperty(versionRuleIndex, \"ActionPackages\", actionPackageIndexes.map((i) => {\n const actionPackageIndex = Number(i);\n if (Number.isNaN(actionPackageIndex)) {\n // Action packages references for steps that are not in the process will have the action + package\n // name as the identifier (Action Name/PackageName). This will only ever happen for version controlled\n // processes. We need to keep the selection in place, or the save will wipe the rules that were set\n // on a different branch.\n return selectedActionPackagesNotInTheProcess.find((ap) => displayName(ap.ActionPackage) == i)!.ActionPackage;\n }\n else {\n return packageActions[actionPackageIndex];\n }\n }));\n }} openOnFocus={false}/>\n {project.IsVersionControlled && deploymentActionError === undefined && !gitRefValidationError && renderMessage(gitRef)}\n updateRuleProperty(versionRuleIndex, \"VersionRange\", value)} label=\"Version range\"/>\n \n Use the NuGet or Maven versioning syntax (depending on the feed type) to specify the range of versions to include.\n \n updateRuleProperty(versionRuleIndex, \"Tag\", value)} label=\"Pre-release tag\"/>\n \n A regular-expression which will select on the SemVer pre-release tag or the Maven qualifier.\n \n \n Check our documentation for more information on tags along with examples.\n \n
    \n \n updateRule(versionRuleIndex, rule)}/>\n \n
    \n
    );\n}\nfunction ruleSummary(rule: ChannelVersionRuleResource) {\n const summarySpan = (\n Applies to {rule.ActionPackages.map((pkg) => displayName(pkg)).join(\", \")}\n  with a version range matching {rule.VersionRange}\n {!!rule.Tag && (\n {\" \"}\n and a pre-release tag matching {rule.Tag}\n )}\n );\n return Summary.summary(summarySpan);\n}\nfunction lifecycleSummary(channel: ChannelResource, lifecycles: LifecycleResource[]) {\n if (channel.LifecycleId) {\n return Summary.summary(lifecycles.find((l) => l.Id === channel.LifecycleId)!.Name);\n }\n return Summary.default(\"Inherited from project\");\n}\nfunction renderMessage(gitRef: Readonly | undefined) {\n const gitRefCanonical = gitRef?.CanonicalName;\n let gitRefType = \"branch\";\n if (isGitCommit(gitRefCanonical)) {\n gitRefType = \"commit\";\n }\n else if (isGitTag(gitRefCanonical)) {\n gitRefType = \"tag\";\n }\n return (\n Showing steps from the {gitRef?.Name} {gitRefType}. A different {gitRefType} can be selected from the deployment process screen.\n );\n}\nfunction descriptionSummary(channel: ChannelResource) {\n return channel.Description ? Summary.summary() : Summary.placeholder(\"No channel description provided\");\n}\nasync function getDeploymentActionsWithErrorHandlingForGitProjects(project: ProjectResource, repository: DeploymentProcessRepository, gitRefValidationError: ValidateGitRefV2Response | undefined): Promise {\n try {\n if (gitRefValidationError) {\n return [];\n }\n else {\n const process = await repository.get();\n return _.flatMap(process.Steps, (step) => step.Actions);\n }\n }\n catch (exception) {\n if (HasGitPersistenceSettings(project.PersistenceSettings) && OctopusError.isOctopusError(exception)) {\n // We only want to catch the error if it's a Git project and an Octopus exception. Otherwise, error\n // as usual\n return exception;\n }\n else {\n throw exception;\n }\n }\n}\n","import type { AnalyticsEvent, AnalyticsEventPageProperties, ErrorProperties } from \"@octopusdeploy/portal-analytics\";\nimport { getErrorProperties, useAnonymizeEventProperty, useTrackEvent } from \"@octopusdeploy/portal-analytics\";\nimport type { PageDefinition } from \"@octopusdeploy/portal-routes\";\nimport { usePage } from \"@octopusdeploy/portal-routes\";\nimport { useCallback } from \"react\";\ninterface SaveChannelEvent extends AnalyticsEvent<\"Save Channel\">, AnalyticsEventPageProperties, ErrorProperties {\n \"Resource Type\": \"Channel\";\n \"Project Id\": string;\n \"Action Type\": \"Save\";\n Status: \"Success\" | \"Failed\";\n}\ninterface SaveChannelEventArguments {\n projectId: string;\n page: PageDefinition;\n error: Error | undefined;\n}\nexport function createSaveChannelEvent({ projectId, page, error }: SaveChannelEventArguments): SaveChannelEvent {\n const errorProperties = getErrorProperties(error);\n return {\n eventName: \"Save Channel\",\n \"Action Type\": \"Save\",\n \"Resource Type\": \"Channel\",\n \"Project Id\": projectId,\n \"Page Name\": page.Name,\n \"Page Area\": page.Area,\n Status: error === undefined ? \"Success\" : \"Failed\",\n ...errorProperties,\n };\n}\nexport function useTrackSaveChannelEvent() {\n const trackEvent = useTrackEvent();\n const page = usePage();\n const anonymize = useAnonymizeEventProperty();\n return useCallback((projectId: string, error?: Error) => trackEvent(createSaveChannelEvent({\n projectId: anonymize(projectId),\n error,\n page,\n })), [anonymize, page, trackEvent]);\n}\n","import type { GitRefResource, ProjectResource, Repository, ValidateGitRefV2Response } from \"@octopusdeploy/octopus-server-client\";\nimport * as React from \"react\";\nimport type { ChannelLookupData } from \"~/areas/projects/components/Channels/CreateOrEditChannelPageContent\";\nimport { channelLookupDataLoader, CreateOrEditChannelPageContent } from \"~/areas/projects/components/Channels/CreateOrEditChannelPageContent\";\nimport { type ProjectContextProps } from \"~/areas/projects/context/index\";\nexport async function createChannelPageLoader(repository: Repository, projectContext: Promise): Promise {\n const lookupData = channelLookupDataLoader(repository, projectContext);\n return {\n lookupData: await lookupData,\n };\n}\ninterface ChannelPageLoaderData {\n lookupData: ChannelLookupData;\n}\ninterface CreateChannelPageProps {\n loaderData: ChannelPageLoaderData;\n project: ProjectResource;\n gitRefValidationError: ValidateGitRefV2Response | undefined;\n gitRef: Readonly | undefined;\n}\nexport function CreateChannelPage({ loaderData, project, gitRef, gitRefValidationError }: CreateChannelPageProps) {\n return ();\n}\nexport const createChannelPageTitle = \"New Channel\";\n","import { Callout } from \"@octopusdeploy/design-system-components\";\nimport { useMutation } from \"@octopusdeploy/octopus-react-client\";\nimport type { ChannelResource, GitRefResource, ProjectResource, Repository, ValidateGitRefV2Response } from \"@octopusdeploy/octopus-server-client\";\nimport { Permission } from \"@octopusdeploy/octopus-server-client\";\nimport { links } from \"@octopusdeploy/portal-routes\";\nimport * as React from \"react\";\nimport type { ChannelLookupData } from \"~/areas/projects/components/Channels/CreateOrEditChannelPageContent\";\nimport { channelLookupDataLoader, CreateOrEditChannelPageContent } from \"~/areas/projects/components/Channels/CreateOrEditChannelPageContent\";\nimport { type ProjectContextProps } from \"~/areas/projects/context/index\";\nimport { useSpaceAwareNavigation } from \"~/components/Navigation/SpaceAwareNavigation/useSpaceAwareNavigation\";\nimport type { OverflowMenuDeleteItem, OverflowMenuDialogItem, OverflowMenuDisabledItem, OverflowMenuNavLink } from \"~/components/OverflowMenu/OverflowMenu\";\nimport { OverflowMenuItems } from \"~/components/OverflowMenu/OverflowMenu\";\nimport type { ConvertedOverflowMenuItems } from \"~/components/OverflowMenu/OverflowMenuConverterVNext\";\nimport { OverflowMenuConverterVNext } from \"~/components/OverflowMenu/OverflowMenuConverterVNext\";\nexport async function editChannelPageLoader(repository: Repository, channelId: string, projectContext: Promise): Promise {\n const lookupData = channelLookupDataLoader(repository, projectContext);\n const { state: { model: project }, } = await projectContext;\n const channels = await repository.Projects.getChannels(project);\n const channel = channels.Items.filter((c) => c.Id === channelId)[0];\n return {\n lookupData: await lookupData,\n channel,\n };\n}\nexport interface EditChannelPageLoaderData {\n lookupData: ChannelLookupData;\n channel: ChannelResource;\n}\ninterface EditChannelPageProps {\n loaderData: EditChannelPageLoaderData;\n project: ProjectResource;\n gitRefValidationError: ValidateGitRefV2Response | undefined;\n gitRef: Readonly | undefined;\n}\nexport function EditChannelPage({ loaderData, project, gitRef, gitRefValidationError }: EditChannelPageProps) {\n const { navigate } = useSpaceAwareNavigation();\n const { execute: deleteChannel } = useMutation({\n name: \"Delete channel\",\n action: async (repository) => repository.Channels.del(loaderData.channel),\n afterComplete: async () => navigate(links.channelsPage.generateUrl({ spaceId: project.SpaceId, projectSlug: project.Slug })),\n });\n const overflowMenuItems = getOverflowMenuItems(loaderData.channel, project.Id, deleteChannel, project.IsVersionControlled);\n return ;\n}\nfunction getOverflowMenuItems(channel: ChannelResource, projectId: string, deleteChannel: () => Promise, isProjectVersionControlled: boolean): ConvertedOverflowMenuItems {\n const overFlowActions: (OverflowMenuDialogItem | OverflowMenuDeleteItem | OverflowMenuDisabledItem | OverflowMenuNavLink[])[] = [\n OverflowMenuItems.deleteItemDefault(\"channel\", deleteChannel, {\n permission: Permission.ProcessEdit,\n project: projectId,\n tenant: \"*\",\n }, \"The channel and all steps and variables scoped only to this channel will be permanently deleted.\", isProjectVersionControlled ? (\n {`Please check the 'channels' field of your deployment OCL file for references to '${channel.Slug}' before deleting this channel.`}\n ) : undefined),\n [\n OverflowMenuItems.navItem(\"Audit Trail\", links.auditPage.generateUrl({ regardingAny: [channel.Id] }), {\n permission: Permission.EventView,\n wildcard: true,\n }),\n ],\n ];\n return OverflowMenuConverterVNext.convertAll(overFlowActions);\n}\n","import type { Moment } from \"moment\";\nimport moment from \"moment\";\nexport default function rollForward(date: Moment, minutes: number): Moment {\n const forward = moment(date).add(minutes, \"minutes\");\n if (forward.minute() > 45) {\n forward.minute(0);\n forward.hour(forward.hour() + 1);\n }\n else if (forward.minute() > 30) {\n forward.minute(45);\n }\n else if (forward.minute() > 15) {\n forward.minute(30);\n }\n else if (forward.minute() > 0) {\n forward.minute(15);\n }\n return forward;\n}\n","/* eslint-disable @typescript-eslint/no-non-null-assertion */\nimport { ActionButton, ActionButtonType } from \"@octopusdeploy/design-system-components\";\nimport { space } from \"@octopusdeploy/design-system-tokens\";\nimport type { DeploymentFreezeDetailEnvironment, DeploymentFreezeScopeDetail, DeploymentFreezeScopeType, EnvironmentResource, GetDeploymentFreezeByIdResponse } from \"@octopusdeploy/octopus-server-client\";\nimport React from \"react\";\nimport { repository } from \"~/clientInstance\";\nimport { EnvironmentChip } from \"~/components/Chips/index\";\nimport type { DoBusyTask } from \"~/components/DataBaseComponent/index\";\nimport { EnvironmentMultiSelect } from \"~/components/MultiSelect/EnvironmentMultiSelect\";\nimport PopoverWhenFocused from \"~/components/PopoverWhenFocused/index\";\nimport ReadonlyText from \"~/components/ReadonlyText/index\";\nimport styles from \"./style.module.less\";\ninterface DeploymentFreezeScopeCellState {\n showAllChips: boolean;\n environments: EnvironmentResource[];\n isLoadingEnvironments: boolean;\n}\ninterface DeploymentFreezeScopeCellProps {\n scope: DeploymentFreezeScopeDetail;\n scopeType: DeploymentFreezeScopeType;\n tenantId?: string;\n freezeDetail?: GetDeploymentFreezeByIdResponse;\n onEnvironmentUpdate: (item: DeploymentFreezeScopeDetail, selectedEnvironments: DeploymentFreezeDetailEnvironment[], tenantId?: string) => void;\n doBusyTask: DoBusyTask;\n isEditing: boolean;\n onFocusedScopeCell: (id: string) => void;\n onScopeCellLostFocus: () => void;\n}\nexport default class DeploymentFreezeScopeCell extends React.Component {\n private scopeCell: HTMLElement | null = undefined!;\n private tabbingElement: HTMLElement | null = undefined!;\n constructor(props: DeploymentFreezeScopeCellProps, state: DeploymentFreezeScopeCellState) {\n super(props);\n this.state = {\n environments: [],\n showAllChips: false,\n isLoadingEnvironments: false,\n };\n }\n private async loadEnvironments() {\n if (this.state.environments.length > 0) {\n return;\n }\n if (this.state.isLoadingEnvironments) {\n return;\n }\n this.setState({ isLoadingEnvironments: true });\n await this.props.doBusyTask(async () => {\n try {\n if (this.props.scopeType === \"Project\") {\n const response = await repository.Projects.getAvailableEnvironmentsForProjectsAcrossAllSpaces([this.props.scope.Id]);\n this.setState({ environments: response.Environments });\n }\n else if (this.props.scopeType === \"Tenant\") {\n const response = await repository.DeploymentFreezes.searchAvailableEnvironments([{ tenantId: this.props.tenantId!, projectId: this.props.scope.Id }]);\n const tenantProjectEnvironment = response.TenantProjectEnvironments.filter((tpe) => tpe.TenantId == this.props.tenantId! && tpe.ProjectId == this.props.scope.Id!);\n this.setState({ environments: tenantProjectEnvironment.flatMap((t) => t.Environment) });\n }\n }\n finally {\n this.setState({ isLoadingEnvironments: false });\n }\n });\n }\n componentDidUpdate(prevProps: DeploymentFreezeScopeCellProps) {\n if (!prevProps.isEditing && this.props.isEditing) {\n this.loadEnvironments();\n }\n }\n render() {\n const tooManyChips = this.props.scope.Environments.length > 3;\n const environmentsChipsList = tooManyChips && !this.state.showAllChips ? () : (this.props.scope.Environments.map((e) => ));\n return (
    (this.scopeCell = cell)} onClick={() => (this.props.scopeType === \"Project\" ? this.props.onFocusedScopeCell(this.props.scope.Id) : this.props.onFocusedScopeCell(`${this.props.tenantId}-${this.props.scope.Id}`))}>\n {!this.props.isEditing &&
    (this.tabbingElement = tabbingElement)} tabIndex={0}/>}\n {!this.props.isEditing && this.props.scope.Environments.length === 0 && }\n {!this.props.isEditing && (
    \n {environmentsChipsList}\n {tooManyChips && () => {\n e.stopPropagation();\n this.setState({ showAllChips: !this.state.showAllChips });\n }}/>)}\n
    )}\n {this.props.isEditing && ( this.props.onScopeCellLostFocus()}>\n
    \n {this.state.isLoadingEnvironments ? (
    Loading environments...
    ) : ( {\n this.props.onEnvironmentUpdate(this.props.scope, this.state.environments.filter((e) => environmentIds.includes(e.Id)), this.props.tenantId);\n }} value={this.props.scope.Environments.map((e) => e.Id)}/>)}\n
    \n
    )}\n
    );\n }\n static displayName = \"DeploymentFreezeScopeCell\";\n}\n","import { space } from \"@octopusdeploy/design-system-tokens\";\nimport type { DeploymentFreezeDetailEnvironment, DeploymentFreezeScopeDetail, DeploymentFreezeScopeType, GetDeploymentFreezeByIdResponse } from \"@octopusdeploy/octopus-server-client\";\nimport { links } from \"@octopusdeploy/portal-routes\";\nimport React from \"react\";\nimport type { DoBusyTask } from \"~/components/DataBaseComponent/index\";\nimport DeploymentFreezeScopeCell from \"~/components/DeploymentFreezes/EditScopeTable/DeploymentFreezeScopeCell\";\nimport Logo from \"~/components/Logo/index\";\nimport InternalLink from \"~/components/Navigation/InternalLink/index\";\nimport { OverflowMenu, OverflowMenuItems } from \"~/components/OverflowMenu/OverflowMenu\";\nimport { DataTableRow, DataTableRowColumn } from \"~/primitiveComponents/dataDisplay/DataTable/index\";\nimport styles from \"./style.module.less\";\ninterface DeploymentFreezeScopeTableRowProps {\n scopeItem: DeploymentFreezeScopeDetail;\n onRemove: (item: DeploymentFreezeScopeDetail) => void;\n onEnvironmentUpdate: (item: DeploymentFreezeScopeDetail, selectedEnvironments: DeploymentFreezeDetailEnvironment[]) => void;\n scopeType: DeploymentFreezeScopeType;\n doBusyTask: DoBusyTask;\n focussedScopeCellId: string;\n onFocusedScopeCell: (id: string) => void;\n onScopeCellLostFocus: () => void;\n freezeDetail?: GetDeploymentFreezeByIdResponse;\n}\nexport const DeploymentFreezeScopeTableRow = ({ scopeItem, scopeType, onRemove, onEnvironmentUpdate, doBusyTask, focussedScopeCellId, onFocusedScopeCell, onScopeCellLostFocus, freezeDetail }: DeploymentFreezeScopeTableRowProps) => (\n \n \n
    \n
    \n \n
    \n
    {scopeItem.Name}
    \n
    \n
    \n
    \n \n \n \n \n
    \n onRemove(scopeItem),
    \n

    Do you wish to continue?

    \n
    ),\n ]}/>\n
    \n
    \n
    );\n","import { css } from \"@emotion/css\";\nimport { borderWidth, space, text, themeTokens } from \"@octopusdeploy/design-system-tokens\";\nimport type { DeploymentFreezeDetailEnvironment, DeploymentFreezeScopeDetail, DeploymentFreezeScopeType, GetDeploymentFreezeByIdResponse } from \"@octopusdeploy/octopus-server-client\";\nimport React, { useEffect, useState } from \"react\";\nimport { repository } from \"~/clientInstance\";\nimport type { DoBusyTask } from \"~/components/DataBaseComponent/index\";\nimport { DeploymentFreezeScopeTableRow } from \"~/components/DeploymentFreezes/EditScopeTable/DeploymentFreezeScopeTableRow\";\nimport NumberedPagingBar from \"~/components/PagingBaseComponent/NumberedPagingBar\";\nimport { DataTable, DataTableBody, DataTableHeader, DataTableRow, DataTableRowHeaderColumn } from \"~/primitiveComponents/dataDisplay/DataTable/index\";\ninterface DeploymentFreezeScopeTableProps {\n scopeDetails: DeploymentFreezeScopeDetail[];\n onRemove: (item: DeploymentFreezeScopeDetail) => void;\n onEnvironmentUpdate: (item: DeploymentFreezeScopeDetail, selectedEnvironments: DeploymentFreezeDetailEnvironment[]) => void;\n scopeType: DeploymentFreezeScopeType;\n doBusyTask: DoBusyTask;\n focussedScopeCellId: string;\n onFocusedScopeCell: (id: string) => void;\n onScopeCellLostFocus: () => void;\n deploymentFreezeId?: string;\n}\nexport const DeploymentFreezeScopeTable = ({ scopeDetails, scopeType, onRemove, onEnvironmentUpdate, doBusyTask, focussedScopeCellId, onScopeCellLostFocus, onFocusedScopeCell, deploymentFreezeId }: DeploymentFreezeScopeTableProps) => {\n const pageSize = 30;\n const [currentPageIndex, setCurrentPageIndex] = useState(0);\n const [paginatedScopeItems, setPaginatedItems] = useState(scopeDetails);\n const [freezeDetail, setFreezeDetail] = useState();\n useEffect(() => {\n const pagedItems = scopeDetails.slice(pageSize * currentPageIndex, pageSize * (currentPageIndex + 1));\n setPaginatedItems(pagedItems);\n }, [scopeDetails, currentPageIndex]);\n useEffect(() => {\n if (deploymentFreezeId) {\n const fetchFreezeDetail = async () => {\n try {\n const detail = await repository.DeploymentFreezes.get(deploymentFreezeId);\n setFreezeDetail(detail);\n }\n catch (error) {\n console.error(\"Failed to fetch deployment freeze details:\", error);\n }\n };\n fetchFreezeDetail();\n }\n }, [deploymentFreezeId]);\n return (
    \n \n \n \n {scopeType}\n Environments\n \n \n \n \n {paginatedScopeItems.map((item) => ())}\n \n \n setCurrentPageIndex(index)}/>\n
    );\n};\nconst tableBorder = `${borderWidth[1]} solid ${themeTokens.color.border.primary}`;\nconst tableStyles = css({\n width: \"100%\",\n th: {\n padding: `${space[12]} ${space[16]}`,\n paddingRight: 0,\n textAlign: \"left\",\n font: text.body.regular.medium,\n position: \"relative\",\n width: \"auto\",\n \":not(:last-child)\": {\n \":after\": {\n content: \"''\",\n position: \"absolute\",\n height: \"50%\",\n right: 0,\n top: \"25%\",\n borderRight: tableBorder,\n },\n },\n },\n td: {\n padding: `${space[8]} ${space[12]}`,\n borderTop: tableBorder,\n verticalAlign: \"top\",\n },\n});\n","/* eslint-disable @typescript-eslint/no-non-null-assertion */\nimport type { DeploymentFreezeScopeDetail, DeploymentFreezeDetailEnvironment, EnvironmentResource, ProjectResource } from \"@octopusdeploy/octopus-server-client\";\nimport React, { useEffect, useState } from \"react\";\nimport { repository } from \"~/clientInstance\";\nimport { EnvironmentChip } from \"~/components/Chips\";\nimport type { DoBusyTask } from \"~/components/DataBaseComponent\";\nimport type { DeploymentFreezeModel } from \"~/components/DeploymentFreezes/EditDeploymentFreeze\";\nimport { EnvironmentMultiSelect } from \"~/components/MultiSelect/EnvironmentMultiSelect\";\nimport { ExpandableFormSection, Summary } from \"~/components/form\";\ninterface ProjectFreezeEnvironmentSectionProps {\n deploymentFreeze: DeploymentFreezeModel;\n updateFreezeModel: (deploymentFreeze: DeploymentFreezeModel) => void;\n onEnvironmentUpdate: (item: DeploymentFreezeScopeDetail, selectedEnvironments: DeploymentFreezeDetailEnvironment[]) => void;\n doBusyTask: DoBusyTask;\n project?: ProjectResource;\n}\nfunction createEmptyProjectScope(project?: ProjectResource): DeploymentFreezeScopeDetail {\n return {\n Id: project?.Id ?? \"\",\n Name: project?.Name ?? \"\",\n Environments: [],\n LogoLink: \"\",\n SpaceId: project?.SpaceId ?? \"\",\n };\n}\nexport const ProjectFreezeEnvironmentSection: React.FC = ({ deploymentFreeze, onEnvironmentUpdate, doBusyTask, project, updateFreezeModel }) => {\n const [environments, setEnvironments] = useState([]);\n const [selectedEnvironments, setSelectedEnvironments] = useState([]);\n const [projectScope, setProjectScope] = useState();\n const handleEnvironmentChange = (environmentIds: string[]) => {\n setSelectedEnvironments(environmentIds);\n if (projectScope) {\n onEnvironmentUpdate(projectScope, environments.filter((e) => environmentIds.includes(e.Id)));\n }\n };\n useEffect(() => {\n const loadEnvironments = async () => {\n if (project?.Id && selectedEnvironments.length === 0) {\n const response = await repository.Projects.getAvailableEnvironmentsForProject(project.Id);\n setEnvironments(response.Environments);\n }\n };\n loadEnvironments();\n let projectScope = deploymentFreeze.projectScope.find((s) => s.Id === project?.Id);\n if (!projectScope) {\n projectScope = createEmptyProjectScope(project);\n deploymentFreeze.projectScope.push(projectScope);\n updateFreezeModel(deploymentFreeze);\n }\n setProjectScope(projectScope);\n setSelectedEnvironments(projectScope.Environments.map((e) => e.Id));\n }, [project, deploymentFreeze, updateFreezeModel, selectedEnvironments.length]);\n const buildEnvironmentSummary = () => {\n const staticEnvironmentChips = selectedEnvironments.map((envId) => {\n const environment = environments.find((e) => e.Id === envId);\n return ;\n });\n if (staticEnvironmentChips.length > 0) {\n return Summary.summary(
    {staticEnvironmentChips}
    );\n }\n return Summary.placeholder(\"No environments are selected\");\n };\n return (\n \n );\n};\nProjectFreezeEnvironmentSection.displayName = \"ProjectFreezeEnvironmentSection\"\n","import { css } from \"@emotion/css\";\nimport { ActionButton, ActionButtonType } from \"@octopusdeploy/design-system-components\";\nimport { colorScales, text, borderRadius, themeTokens, space } from \"@octopusdeploy/design-system-tokens\";\nimport cn from \"classnames\";\nimport type { PropsWithChildren } from \"react\";\nimport { useState } from \"react\";\nimport * as React from \"react\";\nimport { Action, useAnalyticConnectTenantWizardDialogDispatch } from \"~/analytics/Analytics\";\nimport type { SelectItemType } from \"~/areas/projects/components/ProjectTenants/PanelSelector\";\nimport type { BusyState } from \"~/components/BusyFromPromise/BusyFromPromise\";\nimport type { Errors } from \"~/components/DataBaseComponent/index\";\nimport DialogLayoutConnect from \"~/components/Dialog/DialogLayoutConnect\";\nimport CustomSaveDialogLayout from \"~/components/DialogLayout/Custom/CustomSaveDialogLayout\";\nimport { CustomDialogActions, CustomFlexDialogContent } from \"~/components/DialogLayout/Custom/index\";\nimport type { DialogLayoutDispatchProps } from \"~/components/DialogLayout/DialogLayout\";\nimport KeyboardHandler, { Key } from \"~/components/KeyboardHandler/index\";\nimport type { PermissionCheckProps } from \"~/components/PermissionCheck/PermissionCheck\";\nimport { isAllowed } from \"~/components/PermissionCheck/PermissionCheck\";\nexport interface ConnectionWizardDialogLayoutProps {\n title: string;\n saveButtonDisabled?: boolean;\n savePermission?: PermissionCheckProps;\n saveButtonLabel: string;\n onSaveClick(): Promise;\n wizardStepNames: Array;\n selectItemType: SelectItemType;\n errors?: Errors | null;\n busy?: BusyState | null;\n}\nexport function ConnectionWizardDialogLayoutInternal({ onSaveClick, close, saveButtonDisabled, busy, children, saveButtonLabel, title, wizardStepNames, savePermission, selectItemType, errors, }: PropsWithChildren) {\n const [currentPageIndex, setCurrentPageIndex] = useState(0);\n const [dialogResizeKey] = useState(new Date().getDate().toString());\n const trackAction = useAnalyticConnectTenantWizardDialogDispatch();\n const saveClick = async () => {\n const result = await onSaveClick();\n if (result) {\n close();\n }\n };\n const isSaveButtonDisabled = (): boolean => {\n const disabledDueToPermission = !!savePermission ? !isAllowed(savePermission) : false;\n return !!(saveButtonDisabled || disabledDueToPermission || busy);\n };\n const canPrevious = () => currentPageIndex > 0;\n const previous = () => {\n if (canPrevious()) {\n trackAction(\"Navigate to Previous Step\", { resource: selectItemType, action: Action.View, currentStepName: wizardStepNames[currentPageIndex] });\n setCurrentPageIndex(currentPageIndex - 1);\n }\n };\n const canNext = () => currentPageIndex < React.Children.count(children) - 1;\n const next = () => {\n if (canNext()) {\n setCurrentPageIndex(currentPageIndex + 1);\n }\n };\n const onEscKeyPressed = () => {\n close();\n return true;\n };\n const onCancel = () => {\n trackAction(`Cancel Connecting ${selectItemType}s`, { resource: selectItemType, action: Action.Cancel, currentStepName: wizardStepNames[currentPageIndex] });\n close();\n };\n const showSaveButton = React.Children.toArray(children).length - 1 === currentPageIndex;\n const saveActionButton = showSaveButton ? : <>;\n const cancelActionButton = ;\n let actions: JSX.Element[] = [];\n const previousActionButton = ;\n const nextActionButton = ;\n if (currentPageIndex < React.Children.count(children) - 1) {\n actions = [cancelActionButton, previousActionButton, nextActionButton];\n }\n else {\n actions = [cancelActionButton, previousActionButton, saveActionButton];\n }\n const keyboardRegistrations = [{ key: Key.Esc, onKeyPressed: onEscKeyPressed }];\n const child = React.Children.toArray(children)[currentPageIndex];\n return ( } renderContent={() => (\n \n {child}\n \n )} renderActions={() => } busy={busy ? busy : undefined} errors={errors ? errors : undefined}>);\n}\ninterface ConnectTenantWizardDialogTitleBarProps {\n title: string;\n pageNames: Array;\n currentPageIndex: number;\n}\nconst ConnectionWizardDialogTitleBar = ({ title, pageNames, currentPageIndex }: ConnectTenantWizardDialogTitleBarProps) => (
    \n
    {title}
    \n
    \n
      \n {pageNames.map((pageName, index) => (
    • \n {index + 1}\n {pageName}\n
    • ))}\n
    \n
    \n
    );\nconst styles = {\n currentWizardStepIndicator: css({\n color: themeTokens.color.text.selected,\n display: \"flex\",\n gap: space[4],\n }),\n otherWizardStepIndicator: css({\n color: themeTokens.color.text.tertiary,\n display: \"flex\",\n gap: space[4],\n }),\n wizardStepBar: css({\n fontSize: \"16px\",\n fontWeight: 400,\n lineHeight: \"20px\",\n ul: {\n listStyleType: \"none\",\n display: \"flex\",\n justifyContent: \"space-between\",\n paddingLeft: space[16],\n margin: 0,\n },\n li: {\n paddingRight: space[16],\n whiteSpace: \"nowrap\",\n display: \"flex\",\n alignItems: \"center\",\n \"&:not(:last-child)\": {\n width: \"100%\",\n },\n \"&:not(:last-child):after\": {\n content: \"\\\"\\\"\",\n borderBottom: `1px solid ${themeTokens.color.text.tertiary}`,\n transform: \"translateY(-50%)\",\n width: \"32px\",\n marginLeft: space[16],\n },\n },\n }),\n titleBar: css({\n backgroundColor: themeTokens.color.background.primary.default,\n display: \"flex\",\n justifyContent: \"space-between\",\n alignItems: \"center\",\n flex: \"0 0 auto\",\n padding: \"20px 16px\",\n }),\n title: css({\n flexGrow: 1,\n fontSize: \"16px\",\n fontWeight: 500,\n font: text.heading.medium,\n margin: 0,\n padding: 0,\n }),\n otherWizardStepNumberIcon: css({\n backgroundColor: themeTokens.color.text.tertiary,\n }),\n currentWizardStepNumberIcon: css({\n background: themeTokens.color.text.selected,\n }),\n wizardStepNumberIconBase: css({\n borderRadius: borderRadius.extraLarge,\n margin: \"3px\",\n display: \"flex\",\n width: \"28px\",\n height: \"28px\",\n justifyContent: \"center\",\n alignItems: \"center\",\n color: colorScales.white,\n }),\n};\nconst ConnectionWizardDialogLayout = DialogLayoutConnect.to(ConnectionWizardDialogLayoutInternal);\nConnectionWizardDialogLayout.displayName = \"ConnectTenantWizardDialogLayout\";\nexport default ConnectionWizardDialogLayout;\n","import * as React from \"react\";\nimport styles from \"./style.module.less\";\ninterface PagingButtonProps {\n label?: string;\n icon?: JSX.Element;\n isActive: boolean;\n onPageSelected?(event: React.MouseEvent): void;\n disabled?: boolean;\n}\nfunction PagingButton(props: PagingButtonProps) {\n const activeClass = props.isActive ? styles.pagingButtonActive : \"\";\n return ();\n}\nexport default PagingButton;\n","import * as React from \"react\";\nimport type { PagingEvent } from \"~/analytics/Analytics\";\nimport { Action, useAnalyticPagingDispatch } from \"~/analytics/Analytics\";\nimport styles from \"~/areas/tenants/components/Paging/style.module.less\";\nimport Select from \"~/primitiveComponents/form/Select/Select\";\ninterface PagingSelectionProps {\n pageSize: number;\n onPageSizeChanged: (size: number) => void;\n options: number[];\n}\nfunction PagingSelection({ pageSize, onPageSizeChanged, options }: PagingSelectionProps) {\n const dispatchAction = useAnalyticPagingDispatch();\n async function handlePageSizeChanged(value: number) {\n const ev: PagingEvent = {\n resource: \"Pagination\",\n action: Action.Update,\n itemsPerPage: value,\n };\n await dispatchAction(\"Update Items Per Page\", ev, async () => {\n await onPageSizeChanged(value);\n return true;\n });\n }\n return (
    \n Show\n \n
    );\n}\ninterface OptionSelectProps {\n filter: FilterRow;\n items: DropdownMenuOption[];\n onChange: (value: string | undefined) => void;\n}\nfunction OptionSelect({ filter, items, onChange }: OptionSelectProps) {\n return (
    \n ({ value: i.Id, text: i.Name }))} allowFilter={true} allowClear={allowClear} placeholder={placeholder}/>;\n}\ninterface MultiValueSelectProps {\n value: MultiSelectValue;\n items: FilterResource[];\n onChange: (value: string[] | undefined) => void;\n}\nfunction MultiValueSelect({ value, items, onChange }: MultiValueSelectProps) {\n if (isTagResourceArray(items)) {\n return ( void): JSX.Element => {\n const tag = items.find((t: TagResource) => t.Id === item.Id);\n if (tag) {\n return ;\n }\n else {\n return ;\n }\n }} renderItem={(tag) => ({\n primaryText: (
    \n \n {tag.Name}\n
    ),\n })} fieldName={\"tags\"} disableFilterSelectedItems={true} disableCloseOnSelected={true}/>);\n }\n return null;\n}\ninterface RemoveFilterIconProps {\n onFilterRemoved: () => void;\n}\nfunction RemoveFilterIcon({ onFilterRemoved }: RemoveFilterIconProps) {\n return (
    \n \n
    );\n}\ninterface UnselectedFilterProps {\n availableFilters: FilterRow[];\n onSelectedFilterChange: (previousFilter?: FilterRow | undefined, newFilter?: FilterRow | undefined) => void;\n index: number;\n display: FilterDisplay;\n}\nfunction UnselectedFilter({ availableFilters, onSelectedFilterChange, index, display }: UnselectedFilterProps) {\n if (availableFilters.length === 0) {\n return null;\n }\n const onNameChange = (selectedName: string | undefined) => {\n const firstAvailableFilter = availableFilters.find((f) => f.name === selectedName);\n onSelectedFilterChange(undefined, firstAvailableFilter);\n };\n const availableNames = getAvailableNames(availableFilters);\n const placeholderOption = FilterOption.Is;\n const placeholderValue = \"Select a filter to see values...\";\n return (<>\n
    {display === \"full\" ? : null}
    \n \n \n );\n}\nconst TagMultiSelect = MultiSelect();\nconst styles = {\n filterRowsContainer: css({\n width: \"100%\",\n display: \"grid\",\n gridTemplateColumns: \"min-content minmax(auto, 15rem) minmax(auto, 6rem) minmax(8rem, 30rem) minmax(auto, 1.5rem)\",\n gridColumnGap: space[16],\n gridTemplateRows: \"auto\",\n alignItems: \"end\",\n height: \"min-content\",\n }),\n plainText: css({\n whiteSpace: \"nowrap\",\n marginBottom: space[24],\n }),\n newGridRow: css({\n gridColumnStart: \"1\",\n }),\n iconMargin: css({\n marginBottom: space[16],\n }),\n checkboxRowContainer: css({\n display: \"inline-flex\",\n alignItems: \"center\",\n }),\n};\n","import { css, cx } from \"@emotion/css\";\nimport { Button, Collapse } from \"@octopusdeploy/design-system-components\";\nimport { ChevronDownIcon, ChevronUpIcon } from \"@octopusdeploy/design-system-icons\";\nimport { borderWidth, text, themeTokens, space } from \"@octopusdeploy/design-system-tokens\";\nimport { noOp } from \"@octopusdeploy/utilities\";\nimport pluralize from \"pluralize\";\nimport type { PropsWithChildren } from \"react\";\nimport React, { useState } from \"react\";\nimport { useMediaQuery } from \"react-responsive\";\nimport { Action, useAnalyticActionDispatch } from \"~/analytics/Analytics\";\ninterface CollapsibleFilterProps {\n filteredCount?: number | null;\n totalCount: number;\n secondaryContent?: JSX.Element;\n actions?: JSX.Element;\n entityName?: string;\n ariaLabel?: string;\n withBorder?: boolean;\n}\nexport default function CollapsibleFilter({ filteredCount, totalCount, children, secondaryContent, actions, entityName, ariaLabel, withBorder = false }: PropsWithChildren) {\n const dispatchAction = useAnalyticActionDispatch();\n const isLargerThanIpad = useMediaQuery({ query: `(min-width: 811px)` });\n const [expanded, setExpanded] = useState(false);\n const handleOnExpandCollapse = () => {\n setExpanded(!expanded);\n dispatchAction(\"Toggle Filters\", { resource: \"Filters\", action: Action.View });\n };\n return (
    \n
    \n \n {secondaryContent ? : null}\n {secondaryContent}\n
    \n {actions}\n {actions && children ? : null}\n {children ? : null}\n
    \n
    \n {children ? (\n {children}\n ) : null}\n
    );\n}\ninterface CountProps {\n filteredCount?: number | null;\n totalCount: number;\n entityName?: string;\n}\nfunction ResultCount({ totalCount, entityName = \"result\", filteredCount = null }: CountProps) {\n const isFiltered = filteredCount !== null;\n return isFiltered ? (
    \n {filteredCount.toLocaleString()} of {totalCount.toLocaleString()} {pluralize(entityName.toLowerCase(), totalCount)}\n
    ) : (
    \n {totalCount.toLocaleString()} {pluralize(entityName.toLowerCase(), totalCount)}\n
    );\n}\ninterface ExpandCollapseToggleProps {\n expanded: boolean;\n onExpandCollapse?: () => void;\n}\nfunction ExpandCollapseToggle({ expanded, onExpandCollapse }: ExpandCollapseToggleProps) {\n const icon = expanded ? : ;\n return (
    \n
    );\n}\nexport function VerticalDivider() {\n return
     
    ;\n}\nconst borderColor = `${borderWidth[1]} solid ${themeTokens.color.border.primary}`;\nconst toolbarBorder = css({\n backgroundColor: themeTokens.color.background.primary.default,\n border: borderColor,\n});\nconst toolbarHeaderStyles = css({\n display: \"flex\",\n gap: space[16],\n alignItems: \"center\",\n flexDirection: \"row\",\n padding: `0 ${space[16]}`,\n});\nconst toolbarHeaderMobileStyles = css({\n flexWrap: \"wrap\",\n});\nconst alignRightStyles = css({\n marginLeft: \"auto\",\n display: \"inherit\",\n gap: space[16],\n});\nconst resultStyles = css({\n font: text.heading.medium,\n color: themeTokens.color.text.primary,\n});\nconst filteredResultStyles = css({\n font: text.body.bold.large,\n color: themeTokens.color.text.primary,\n});\nconst dividerStyles = css({\n position: \"relative\",\n paddingTop: \"0.2rem\",\n paddingBottom: \"0.2rem\",\n \":after\": {\n content: \"''\",\n position: \"absolute\",\n right: 0,\n top: \"0\",\n height: \"100%\",\n borderRight: borderColor,\n },\n});\n","import { css } from \"@emotion/css\";\nimport { ActionButton, ActionButtonType, Divider, EmptyStateDefaultIllustration, IconButton, List, ListItem } from \"@octopusdeploy/design-system-components\";\nimport { colorScales, space, text, borderRadius, themeTokens } from \"@octopusdeploy/design-system-tokens\";\nimport type { SpaceResource } from \"@octopusdeploy/octopus-server-client\";\nimport pluralize from \"pluralize\";\nimport * as React from \"react\";\nimport { useState } from \"react\";\nimport { Action, useAnalyticActionDispatch } from \"~/analytics/Analytics\";\nimport { defaultPanelSelectorDialogPageSize, PagingSection } from \"~/areas/projects/components/ProjectTenants/PagingSection\";\nimport { FilterBuilder } from \"~/areas/tenants/components/Filtering/FilterBuilder/FilterBuilder\";\nimport type { Filter, FilterValue } from \"~/areas/tenants/components/Filtering/FilterBuilder/filterBuilderTypes\";\nimport CollapsibleFilter from \"~/areas/tenants/components/HeaderBar/CollapsibleFilter\";\nimport { ListItemContentWithButtons } from \"~/components/BorderedListItem\";\nimport { SpaceChip } from \"~/components/Chips/index\";\nimport FilterSearchBox from \"~/components/FilterSearchBox/FilterSearchBox\";\nimport Logo from \"~/components/Logo/index\";\nexport interface AvailableItems {\n totalCount: number;\n records: NamedItemWithLogo[];\n}\nexport interface NamedItemWithLogo {\n Id: string;\n LogoLink: string;\n Name: string;\n SpaceId?: string;\n Space?: SpaceResource;\n IsDisabled?: boolean;\n}\ninterface ColumnSelectItemsProps {\n items: AvailableItems;\n selectedItems: NamedItemWithLogo[];\n updateSelectedItems: (ids: NamedItemWithLogo[]) => void;\n filters: Filter[];\n onFilterChanged: (filterValues: FilterValue[]) => Promise;\n onNameFilterChanged: (name: string) => Promise;\n isFiltered: boolean;\n filteredName?: string;\n selectItemType: SelectItemType;\n}\nexport enum SelectItemType {\n Tenant = \"Tenant\",\n Project = \"Project\"\n}\nexport default function PanelSelector({ items, selectedItems, updateSelectedItems, filters, onFilterChanged, onNameFilterChanged, selectItemType, isFiltered, filteredName }: ColumnSelectItemsProps) {\n const dispatchAction = useAnalyticActionDispatch();\n const selectedItemIds = selectedItems.reduce((set, item) => set.add(item.Id), new Set());\n const unselectedItems = items.records.filter((t) => !selectedItemIds.has(t.Id));\n const handleSelect = (item: NamedItemWithLogo) => updateSelectedItems([...selectedItems, item]);\n const handleRemove = (item: NamedItemWithLogo) => updateSelectedItems(selectedItems.filter((t) => t.Id !== item.Id));\n const handleSelectAll = () => {\n dispatchAction(`Select All ${pluralize(selectItemType)}`, { resource: selectItemType, action: Action.Add });\n updateSelectedItems([...selectedItems, ...unselectedItems]);\n setUnselectedPageNumber(1);\n };\n const [unselectedPageNumber, setUnselectedPageNumber] = useState(1);\n const [unselectedPageSize, setUnselectedPageSize] = useState(defaultPanelSelectorDialogPageSize);\n const unselectedItemsToDisplay = unselectedItems.slice((unselectedPageNumber - 1) * unselectedPageSize, unselectedPageNumber * unselectedPageSize);\n const [selectedPageNumber, setSelectedPageNumber] = useState(1);\n const [selectedPageSize, setSelectedPageSize] = useState(defaultPanelSelectorDialogPageSize);\n const selectedItemsToDisplay = selectedItems.slice((selectedPageNumber - 1) * selectedPageSize, selectedPageNumber * selectedPageSize);\n const filterChanged = async (filterValues: FilterValue[]) => {\n await onFilterChanged(filterValues);\n setUnselectedPageNumber(1);\n };\n const nameChanged = async (name: string) => {\n await onNameFilterChanged(name);\n setUnselectedPageNumber(1);\n };\n const selectedFilteredCount = () => {\n if (isFiltered) {\n return unselectedItems.length;\n }\n if (selectedItems.length > 0) {\n return unselectedItems.length;\n }\n return null;\n };\n return (
    \n
    \n \n \n
    } ariaLabel={\"current-filter-selection\"}>\n {filters.length > 0 ? : null}\n \n \n \n
    \n x.Id} renderRow={({ item: item }) => } empty={isFiltered && items.records.length === 0 ? : }/>\n
    \n {\n setUnselectedPageNumber(newPageNumber);\n setUnselectedPageSize(newPageSize);\n }}/>\n
    \n
    \n
    {pluralize(selectItemType.toLowerCase(), selectedItems.length, true)} selected
    \n \n
    \n x.Id} renderRow={({ item: tenant }) => } empty={
    \n
    \n \n
    \n Looks like you haven't selected any {pluralize(selectItemType.toLowerCase())} yet.\n
    }/>\n
    \n {\n setSelectedPageNumber(newPageNumber);\n setSelectedPageSize(newPageSize);\n }}/>\n
    \n
    );\n}\nfunction SelectAllButton({ count, handleSelectAll }: {\n count: number;\n handleSelectAll: () => void;\n}) {\n if (count === 0) {\n return null;\n }\n const label = count > 1 ? `Select all ${count} results` : \"Select 1 result\";\n return (<>\n
    \n \n
    \n \n );\n}\nfunction NoAvailableItemsLabel({ count, itemType }: {\n count: number;\n itemType: SelectItemType;\n}) {\n return
    {count > 0 ? `All available ${pluralize(itemType).toLowerCase()} have been selected.` : `All available ${pluralize(itemType).toLowerCase()} have already been connected.`}
    ;\n}\nfunction NoFilteredItemsLabel() {\n return
    No projects match the selected filters
    ;\n}\nfunction UnselectedItemRow({ item, handleSelect }: {\n item: NamedItemWithLogo;\n handleSelect: (item: NamedItemWithLogo) => void;\n}) {\n return (\n \n );\n}\nfunction SelectedItemRow({ item, handleRemove }: {\n item: NamedItemWithLogo;\n handleRemove: (item: NamedItemWithLogo) => void;\n}) {\n return (\n \n \n {/* eslint-disable-next-line @typescript-eslint/no-non-null-assertion */}\n {item.Name} {item.Space !== undefined ? : null}\n
    } buttons={} onClick={() => handleRemove(item)}/>}/>\n );\n}\nfunction RedMinusIcon() {\n return (\n \n );\n}\nfunction BluePlusIcon() {\n return (\n \n );\n}\nconst styles = {\n nameFilter: css({\n flexGrow: \"1\",\n }),\n panelContainer: css({\n display: \"grid\",\n gridTemplateColumns: \"1.5fr 1fr\",\n gap: space[16],\n width: \"100%\",\n height: \"100%\",\n padding: space[16],\n backgroundColor: themeTokens.color.background.secondary.default,\n }),\n emptyUnselectedList: css({\n paddingTop: space[8],\n color: themeTokens.color.text.tertiary,\n font: text.body.regular.medium,\n }),\n emptySelectedList: css({\n color: themeTokens.color.text.tertiary,\n font: text.body.regular.medium,\n height: \"100%\",\n display: \"flex\",\n gap: space[16],\n flexDirection: \"column\",\n alignItems: \"center\",\n justifyContent: \"center\",\n }),\n emptyStateIllustrationWrapper: css({\n width: \"20rem\",\n }),\n listContainer: css({\n display: \"flex\",\n flexDirection: \"column\",\n border: `1px solid ${themeTokens.color.border.primary}`,\n borderRadius: borderRadius.small,\n backgroundColor: themeTokens.color.background.primary.default,\n overflowY: \"hidden\",\n }),\n itemsList: css({\n overflowY: \"auto\",\n padding: `0 ${space[16]} ${space[8]} ${space[16]}`,\n height: \"100%\",\n }),\n listItem: css({\n display: \"inline-flex\",\n alignItems: \"center\",\n gap: space[16],\n height: \"2rem\",\n }),\n listItemButtonRow: css({\n padding: 0,\n border: 0,\n background: themeTokens.color.background.primary.default,\n boxShadow: \"none\",\n width: \"100%\",\n cursor: \"pointer\",\n \"&:hover, &:focus\": {\n backgroundColor: themeTokens.color.background.primary.hovered,\n },\n }),\n listItemButtonRowRoot: css({\n display: \"flex\",\n padding: space[16],\n gap: space[16],\n }),\n listItemButtonRowContent: css({\n flex: 1,\n display: \"flex\",\n flexDirection: \"column\",\n font: text.body.regular.large,\n color: themeTokens.color.text.primary,\n }),\n listItemButtonRowIcons: css({\n display: \"flex\",\n alignItems: \"center\",\n }),\n panelHeading: css({\n font: text.body.bold.large,\n color: themeTokens.color.text.primary,\n padding: space[16],\n }),\n icon: css({\n width: \"24px\",\n height: \"24px\",\n fill: \"currentcolor\",\n display: \"block\",\n }),\n selectAllButton: css({\n padding: `${space[8]} ${space[16]}`,\n }),\n disabledStyle: css({\n opacity: \"0.4\",\n }),\n};\n","import { css } from \"@emotion/css\";\nimport type { SummaryView } from \"@octopusdeploy/octopus-server-client\";\nimport React, { useState } from \"react\";\nimport MissingVariablesIcon from \"~/areas/tenants/MissingVariablesIcon/MissingVariablesIcon\";\nimport { Leftovers } from \"~/areas/tenants/components/DataTable/Cells/Leftovers\";\nimport { EnvironmentChip } from \"~/components/Chips/index\";\ninterface TenantDataTableMultipleProjectsEnvironmentsCellProps {\n hasMissingVariables: boolean;\n environments: string[];\n}\nexport function TenantDataTableMultipleProjectsEnvironmentsCell({ hasMissingVariables, environments }: TenantDataTableMultipleProjectsEnvironmentsCellProps) {\n if (environments.length === 1) {\n return (
    \n \n \n
    );\n }\n return (
    \n \n \n
    );\n}\ninterface TenantDataTableEnvironmentsCellProps {\n environments?: SummaryView;\n allEnvironments?: string[];\n hasMissingVariables: boolean;\n onShowAll?: (category: string) => Promise;\n}\nexport function TenantDataTableEnvironmentsSummaryCell({ environments, allEnvironments, hasMissingVariables, onShowAll }: TenantDataTableEnvironmentsCellProps) {\n const [showAll, setShowAll] = useState(false);\n async function handleOnShowAll() {\n if (onShowAll) {\n await onShowAll(\"Environment\");\n }\n setShowAll(!showAll);\n }\n const environmentsToShow = showAll && allEnvironments ? allEnvironments : environments?.Items ?? [];\n return (
    \n \n \n
    );\n}\ninterface TenantDataTableAllEnvironmentsCellProps {\n environments: string[];\n hasMissingVariables: boolean;\n}\nexport function TenantDataTableAllEnvironmentsCell({ environments, hasMissingVariables }: TenantDataTableAllEnvironmentsCellProps) {\n if (environments.length === 0) {\n return
    No environments
    ;\n }\n const displayEnvironments = environments.map((e) => );\n return (
    \n \n {displayEnvironments}\n
    );\n}\nconst containerStyles = css({\n display: \"flex\",\n alignItems: \"center\",\n flexWrap: \"wrap\",\n});\n","import { css } from \"@emotion/css\";\nimport { Tooltip } from \"@octopusdeploy/design-system-components\";\nimport { UnavailableIcon } from \"@octopusdeploy/design-system-icons\";\nimport { space, themeTokens } from \"@octopusdeploy/design-system-tokens\";\nimport type { SpaceResource } from \"@octopusdeploy/octopus-server-client\";\nimport { links } from \"@octopusdeploy/portal-routes\";\nimport React from \"react\";\nimport { Action, useAnalyticActionDispatch } from \"~/analytics/Analytics\";\nimport { SpaceChip } from \"~/components/Chips/index\";\nimport Logo from \"~/components/Logo/Logo\";\nimport InternalLink from \"~/components/Navigation/InternalLink/index\";\ntype TenantPageLink = \"Overview\" | \"Variables\";\ninterface TenantNameCellWithLinkProps {\n spaceId: string;\n tenantId: string;\n tenantName: string;\n tenantLogoLink: string;\n linkToPage?: TenantPageLink;\n isDisabled: boolean;\n truncate?: boolean;\n}\nexport function TenantNameCellWithLink({ spaceId, tenantId, tenantName, isDisabled, truncate, tenantLogoLink, linkToPage = \"Overview\" }: TenantNameCellWithLinkProps) {\n const dispatchAction = useAnalyticActionDispatch();\n const linkTarget = linkToPage === \"Variables\" ? links.tenantVariablesPage.generateUrl({ tenantId, spaceId }) : links.tenantOverviewPage.generateUrl({ spaceId, tenantId });\n function handleClick() {\n const resource = linkToPage === \"Variables\" ? \"Tenant Variables\" : \"Tenant\";\n dispatchAction(`View ${resource}`, { resource: resource, action: Action.View });\n }\n return (
    \n \n
    \n
    \n
    \n \n
    \n {isDisabled && (
    \n \n \n \n
    )}\n
    \n
    {tenantName}
    \n
    \n
    \n
    );\n}\ninterface TenantNameCellProps {\n tenantName: string;\n tenantLogoLink: string;\n space?: SpaceResource;\n isDisabled?: boolean;\n}\nexport function TenantNameCell({ tenantName, tenantLogoLink, space, isDisabled }: TenantNameCellProps) {\n return (
    \n
    \n \n
    \n
    \n {tenantName} {space !== undefined ? : null}\n
    \n
    );\n}\nconst cellStyles = css({\n display: \"flex\",\n alignItems: \"center\",\n gap: space[8],\n});\nconst truncatedCellStyles = css({\n display: \"-webkit-box\",\n textOverflow: \"ellipsis\",\n wordBreak: \"break-word\",\n WebkitLineClamp: \"2\",\n WebkitBoxOrient: \"vertical\",\n overflow: \"hidden\",\n});\nconst disabledStyle = css({\n opacity: \"0.4\",\n});\nconst logoWrapperStyles = css({\n position: \"relative\",\n alignSelf: \"center\",\n});\nconst unavailableIconContainerStyles = css({\n position: \"absolute\",\n top: \"50%\",\n left: \"50%\",\n transform: \"translate(-50%, -50%)\",\n color: themeTokens.color.icon.primary,\n});\n","import { css } from \"@emotion/css\";\nimport { Button, Divider, SimpleDataTable, Callout } from \"@octopusdeploy/design-system-components\";\nimport { text, themeTokens, borderRadius, space } from \"@octopusdeploy/design-system-tokens\";\nimport { HasRunbooksInGit, type EnvironmentResource, type ReferenceDataItem } from \"@octopusdeploy/octopus-server-client\";\nimport pluralize from \"pluralize\";\nimport * as React from \"react\";\nimport { useState } from \"react\";\nimport { Action, useAnalyticActionDispatch } from \"~/analytics/Analytics\";\nimport { defaultPanelSelectorDialogPageSize, PagingSection } from \"~/areas/projects/components/ProjectTenants/PagingSection\";\nimport type { NamedItemWithLogo } from \"~/areas/projects/components/ProjectTenants/PanelSelector\";\nimport { Leftovers } from \"~/areas/tenants/components/DataTable/Cells/Leftovers\";\nimport { TenantDataTableAllEnvironmentsCell } from \"~/areas/tenants/components/DataTable/Cells/TenantDataTableEnvironmentsCell\";\nimport { TenantNameCell } from \"~/areas/tenants/components/DataTable/Cells/TenantNameCell\";\nimport type { DoBusyTask } from \"~/components/DataBaseComponent/index\";\nimport { useDoBusyTaskEffect } from \"~/components/DataBaseComponent/index\";\nimport { EnvironmentMultiSelect } from \"~/components/MultiSelect/EnvironmentMultiSelect\";\nimport { useOptionalProjectContext } from \"../../context\";\nexport interface NamedItemWithLogoAndEnvironments extends NamedItemWithLogo {\n Environments: ReferenceDataItem[];\n}\ninterface SelectEnvironmentsProps {\n selectedItems: NamedItemWithLogoAndEnvironments[];\n getAvailableEnvironments: () => Promise;\n updateSelectedEnvironments: (environmentIds: string[]) => void;\n selectItemType: SelectItemType;\n doBusyTask: DoBusyTask;\n showUntenantedCallout?: boolean;\n showPreviouslySelectedEnvironments?: boolean;\n}\nexport enum SelectItemType {\n Tenant = \"Tenant\",\n Project = \"Project\"\n}\nexport default function SelectEnvironments({ selectedItems, getAvailableEnvironments, updateSelectedEnvironments, selectItemType, doBusyTask, showUntenantedCallout, showPreviouslySelectedEnvironments }: SelectEnvironmentsProps) {\n const selectedEnvironments = showPreviouslySelectedEnvironments ? [...new Set(selectedItems.flatMap((p) => p.Environments).map((e) => e.Id))] : [];\n const [availableEnvironments, setAvailableEnvironments] = useState(null);\n const [selectedEnvironmentIds, setSelectedEnvironmentIds] = useState(selectedEnvironments);\n useDoBusyTaskEffect(doBusyTask, async () => {\n setAvailableEnvironments(await getAvailableEnvironments());\n updateSelectedEnvironments(showPreviouslySelectedEnvironments ? selectedEnvironmentIds : []);\n }, []);\n const onEnvironmentChange = (environmentIds: string[]) => {\n setSelectedEnvironmentIds(environmentIds);\n updateSelectedEnvironments(environmentIds);\n };\n if (availableEnvironments === null)\n return null;\n return (
    \n
    \n \n \n \n
    \n
    );\n}\ninterface SelectEnvironmentsPanelProps {\n selectedItems: NamedItemWithLogoAndEnvironments[];\n selectedEnvironmentIds: string[];\n onEnvironmentChange: (environmentIds: string[]) => void;\n selectItemType: SelectItemType;\n availableEnvironments: EnvironmentResource[];\n}\nfunction SelectEnvironmentsPanel({ selectedItems, selectedEnvironmentIds, onEnvironmentChange, selectItemType, availableEnvironments }: SelectEnvironmentsPanelProps) {\n const dispatchAction = useAnalyticActionDispatch();\n const onAssignAll = () => {\n dispatchAction(\"Assign All Available Environments\", { resource: selectItemType, action: Action.Autofill });\n onEnvironmentChange(availableEnvironments.map((e) => e.Id));\n };\n return (<>\n
    \n
    Select environments for {pluralize(selectItemType.toLowerCase(), selectedItems.length, true)}
    \n
    \n
    \n
    \n \n
    \n
    \n
    \n
    \n );\n}\ninterface ConnectionPreviewProps {\n items: NamedItemWithLogoAndEnvironments[];\n selectedEnvironmentIds: string[];\n availableEnvironments: EnvironmentResource[];\n showUntenantedCallout?: boolean;\n selectItemType: SelectItemType;\n}\nfunction ConnectionPreview({ items, selectedEnvironmentIds, availableEnvironments, showUntenantedCallout, selectItemType }: ConnectionPreviewProps) {\n const [pageNumber, setPageNumber] = useState(1);\n const [pageSize, setPageSize] = useState(defaultPanelSelectorDialogPageSize);\n const selectedItemsToDisplay = items.slice((pageNumber - 1) * pageSize, pageNumber * pageSize);\n return (<>\n
    Connection preview
    \n {showUntenantedCallout ? : null}\n
    \n ,\n },\n {\n accessibleName: \"Environments\",\n columnSize: \"large\",\n title: \"Environments\",\n render: (item) => e.Name)} summaryCount={3}/>,\n },\n ]} data={selectedItemsToDisplay} getRowKey={(tenant) => tenant.Id} accessibleName={`${selectItemType}s to Connect`}/>\n
    \n {\n setPageNumber(newPageNumber);\n setPageSize(newPageSize);\n }}/>\n );\n}\ninterface LocalEnvironmentsSummaryCellProps {\n summaryCount: number;\n environmentNames: string[];\n}\nfunction LocalEnvironmentsSummaryCell({ summaryCount, environmentNames }: LocalEnvironmentsSummaryCellProps) {\n const [showAll, setShowAll] = useState(false);\n const change = () => {\n setShowAll(!showAll);\n };\n return (
    \n \n {environmentNames.length <= summaryCount ? <> : }\n
    );\n}\ninterface TenantedDeploymentNoticeProps {\n items: NamedItemWithLogo[];\n selectItemType: SelectItemType;\n}\nfunction UntenantedDeploymentCallout({ items, selectItemType }: TenantedDeploymentNoticeProps) {\n const projectContext = useOptionalProjectContext();\n if (items.length <= 0) {\n return null;\n }\n if (selectItemType === SelectItemType.Tenant) {\n const gitRunbooksText = projectContext && HasRunbooksInGit(projectContext.state.model.PersistenceSettings) && \"For version controlled Runbooks, go to the settings tab of an individual Runbook to enable tenanted runs.\";\n return (\n By connecting the selected tenants, Octopus will enable tenanted deployments for this project. {gitRunbooksText}\n );\n }\n if (selectItemType === SelectItemType.Project) {\n return (\n If any projects do not have tenanted deployments enabled these will remain disabled. You will need to enable this manually in order to perform tenanted deployments.\n );\n }\n return null;\n}\nexport interface AvailableEnvironments {\n all: EnvironmentResource[];\n lookup: Map;\n}\nconst styles = {\n container: css({\n width: \"100%\",\n height: \"100%\",\n padding: space[16],\n backgroundColor: themeTokens.color.background.secondary.default,\n }),\n panelContainer: css({\n height: \"100%\",\n display: \"flex\",\n flexDirection: \"column\",\n border: `1px solid ${themeTokens.color.border.primary}`,\n borderRadius: borderRadius.small,\n backgroundColor: themeTokens.color.background.primary.default,\n overflowY: \"hidden\",\n }),\n panelHeadingContainer: css({\n display: \"grid\",\n gridTemplateColumns: \"1fr auto\",\n gap: \"10rem\",\n alignItems: \"center\",\n padding: space[16],\n }),\n panelHeading: css({\n font: text.body.bold.large,\n color: themeTokens.color.text.primary,\n }),\n previewTitle: css({\n padding: space[16],\n font: text.body.bold.large,\n color: themeTokens.color.text.primary,\n }),\n tableContainer: css({\n overflowY: \"auto\",\n }),\n environments: css({\n display: \"flex\",\n alignItems: \"center\",\n }),\n};\n","// eslint-disable-next-line @octopusdeploy/custom-portal-rules/no-restricted-imports\nimport type { DeploymentFreezeScopeDetail, EnvironmentResource, ProjectGroupLookup, ProjectSummaryResource, SpaceResource } from \"@octopusdeploy/octopus-server-client\";\nimport { Permission } from \"@octopusdeploy/octopus-server-client\";\nimport { cloneDeep, intersection } from \"lodash\";\nimport pluralize from \"pluralize\";\nimport * as React from \"react\";\nimport type { ConnectionWizardDialogLayoutProps } from \"~/areas/projects/components/ProjectTenants/ConnectionWizardDialogLayout\";\nimport { ConnectionWizardDialogLayoutInternal } from \"~/areas/projects/components/ProjectTenants/ConnectionWizardDialogLayout\";\nimport type { NamedItemWithLogo } from \"~/areas/projects/components/ProjectTenants/PanelSelector\";\nimport PanelSelector, { SelectItemType } from \"~/areas/projects/components/ProjectTenants/PanelSelector\";\nimport type { NamedItemWithLogoAndEnvironments } from \"~/areas/projects/components/ProjectTenants/SelectEnvironments\";\nimport SelectEnvironments from \"~/areas/projects/components/ProjectTenants/SelectEnvironments\";\nimport type { Filter, FilterValue } from \"~/areas/tenants/components/Filtering/FilterBuilder/filterBuilderTypes\";\nimport { createProjectGroupFilter, createSpaceFilter, FilterMultiplicity, getExcludedProjectGroupValue, getExcludedSpaceValue, getIncludedProjectGroupValue, getIncludedSpaceValue, } from \"~/areas/tenants/components/Filtering/FilterBuilder/filterBuilderTypes\";\nimport { repository } from \"~/clientInstance\";\nimport type { DataBaseComponentState } from \"~/components/DataBaseComponent/index\";\nimport { DataBaseComponent } from \"~/components/DataBaseComponent/index\";\nimport DataLoader from \"~/components/DataLoader/index\";\nimport type { DeploymentFreezeModel } from \"~/components/DeploymentFreezes/EditDeploymentFreeze\";\nimport DialogLayoutConnect from \"~/components/Dialog/DialogLayoutConnect\";\nimport SaveDialogLayout from \"~/components/DialogLayout/SaveDialogLayout\";\nconst AssignProjectsToFreezeWizardDialogLayout = DialogLayoutConnect.to(ConnectionWizardDialogLayoutInternal);\nAssignProjectsToFreezeWizardDialogLayout.displayName = \"AssignProjectsToFreezeWizardDialogLayout\";\ninterface ConnectFreezeProjectsDialogProps {\n alreadyConnectedProjectsIds: string[];\n deploymentFreeze: DeploymentFreezeModel;\n onConnected: (deploymentFreeze: DeploymentFreezeModel) => void;\n}\nexport default function ConnectFreezeProjectsDialog(props: ConnectFreezeProjectsDialogProps) {\n return ( } renderAlternate={({ busy, errors }) => Promise.resolve(true)}/>}/>);\n}\ninterface InitialDataProps {\n spaces: SpaceResource[];\n projects: ProjectSummaryResourceWithSpace[];\n projectGroupLookup: ProjectGroupLookup[];\n}\nconst InitialDataLoader = DataLoader();\nconst loadInitialData = async (): Promise => {\n const projects = await repository.Projects.summariesAcrossAllSpaces();\n const spaces = await repository.Spaces.all();\n const projectGroupLookup = await repository.ProjectGroups.getProjectGroupsLookupAcrossAllSpaces();\n const projectsWithSpaces = projects.map((p) => projectSummaryWithSpaceContext(p, spaces));\n return { projects: projectsWithSpaces, spaces, projectGroupLookup };\n};\nconst projectSummaryWithSpaceContext = (project: ProjectSummaryResource, spaces: SpaceResource[]): ProjectSummaryResourceWithSpace => {\n if (spaces.length === 1)\n return { ...project, Space: undefined };\n const space = spaces.find((s) => s.Id === project.SpaceId);\n return { ...project, Space: space };\n};\nconst freezeDetailWithSpaceContext = (project: DeploymentFreezeScopeDetail, spaces: SpaceResource[]): NamedItemWithLogoAndEnvironments => {\n if (spaces.length === 1)\n return { ...project, Space: undefined };\n const space = spaces.find((s) => s.Id === project.SpaceId);\n return { ...project, Space: space };\n};\ntype ConnectFreezeProjectsProps = ConnectFreezeProjectsDialogProps & InitialDataProps;\nexport interface ProjectSummaryResourceWithSpace extends ProjectSummaryResource {\n Space?: SpaceResource;\n}\ninterface ConnectFreezeProjectsState extends DataBaseComponentState {\n availableProjects: ProjectSummaryResourceWithSpace[];\n selectedProjectEnvironments: NamedItemWithLogoAndEnvironments[];\n availableEnvironmentsPerProject: Map;\n availableEnvironments: Map;\n filter: SelectProjectsFilterParameters;\n totalAvailableProjectCount: number;\n spaces: SpaceResource[];\n projectGroupLookup: ProjectGroupLookup[];\n}\nclass ConnectFreezeProjects extends DataBaseComponent {\n constructor(props: ConnectFreezeProjectsProps) {\n super(props);\n const availableProjects = props.projects.filter((p) => !props.alreadyConnectedProjectsIds.includes(p.Id));\n const alreadyConnected = props.deploymentFreeze.projectScope.map((p) => freezeDetailWithSpaceContext(p, this.props.spaces));\n this.state = {\n availableProjects,\n totalAvailableProjectCount: availableProjects.length,\n selectedProjectEnvironments: alreadyConnected,\n availableEnvironmentsPerProject: new Map(),\n availableEnvironments: new Map(),\n filter: { name: \"\" },\n spaces: this.props.spaces,\n projectGroupLookup: this.props.projectGroupLookup,\n };\n }\n canConnect = () => this.state.selectedProjectEnvironments.length > 0;\n connect = async () => {\n return this.doBusyTask(async () => {\n const freeze = cloneDeep(this.props.deploymentFreeze);\n freeze.projectScope = [\n ...this.state.selectedProjectEnvironments.map((projectEnvironment) => ({\n Id: projectEnvironment.Id,\n Name: projectEnvironment.Name,\n LogoLink: projectEnvironment.LogoLink,\n // eslint-disable-next-line @typescript-eslint/no-non-null-assertion\n SpaceId: projectEnvironment.SpaceId!,\n Space: projectEnvironment.Space,\n Environments: projectEnvironment.Environments,\n })),\n ];\n setTimeout(() => this.props.onConnected(freeze), 0);\n });\n };\n nameFilterChanged = async (name: string): Promise => {\n return await this.reloadProjects({ ...this.state.filter, name });\n };\n getFilters = (): Filter[] => {\n const projectGroupsWithSpaceId = this.state.projectGroupLookup.map((pg) => {\n const space = this.state.spaces.find((s) => s.Id === pg.SpaceId);\n return { ...pg, Name: `${pg.Name} - ${space?.Name}` };\n });\n return [\n createSpaceFilter(this.state.spaces, this.state.filter.filterBySpace, this.state.filter.filterByExcludedSpace, FilterMultiplicity.Always),\n createProjectGroupFilter(projectGroupsWithSpaceId, this.state.filter.filterByProjectGroup, this.state.filter.filterByExcludedProjectGroup, FilterMultiplicity.Always),\n ];\n };\n filtersChanged = async (filterValues: FilterValue[]): Promise => {\n const filterByProjectGroup = getIncludedProjectGroupValue(filterValues);\n const filterByExcludedProjectGroup = getExcludedProjectGroupValue(filterValues);\n const filterBySpace = getIncludedSpaceValue(filterValues);\n const filterByExcludedSpace = getExcludedSpaceValue(filterValues);\n return await this.reloadProjects({ ...this.state.filter, filterByProjectGroup, filterByExcludedProjectGroup, filterBySpace, filterByExcludedSpace });\n };\n reloadProjects = async (filter: SelectProjectsFilterParameters) => this.doBusyTask(async () => {\n const filteredProjects = await repository.Projects.summariesAcrossAllSpaces({\n filterByName: filter.name,\n filterBySpace: filter.filterBySpace,\n filterByExcludedSpace: filter.filterByExcludedSpace,\n filterByProjectGroup: filter.filterByProjectGroup,\n filterByExcludedProjectGroup: filter.filterByExcludedProjectGroup,\n });\n const availableProjects = filteredProjects.filter((p) => !this.props.alreadyConnectedProjectsIds.includes(p.Id)).map((p) => projectSummaryWithSpaceContext(p, this.props.spaces));\n this.setState({ availableProjects, filter });\n });\n getAvailableEnvironments = async (): Promise => {\n const projectIds = this.state.selectedProjectEnvironments.map((p) => p.Id);\n return this.getAvailableEnvironmentsForProjects(projectIds);\n };\n getAvailableEnvironmentsForProjects = async (projectIds: string[]): Promise => {\n const availableEnvironmentsResponse = await repository.Projects.getAvailableEnvironmentsForProjectsAcrossAllSpaces(projectIds);\n const environmentsWithSpace = availableEnvironmentsResponse.Environments.map((e) => {\n if (this.state.spaces.length === 1)\n return e;\n const space = this.state.spaces.find((s) => s.Id === e.SpaceId);\n return { ...e, Name: `${e.Name} (${space?.Name})` };\n });\n const projectEnvironmentsMap = new Map(Object.entries(availableEnvironmentsResponse.ProjectEnvironments));\n this.setState({ availableEnvironments: availableEnvironmentsResponse.Environments.reduce((map, env) => map.set(env.Id, env), new Map()), availableEnvironmentsPerProject: projectEnvironmentsMap });\n return environmentsWithSpace;\n };\n onProjectsSelected = async (projects: NamedItemWithLogo[]) => {\n const selectedProjects = projects.map((p) => p.Id);\n const selectedEnvironments = this.state.selectedProjectEnvironments.flatMap((p) => p.Environments.map((e) => e.Id));\n const availableProjects = this.state.availableProjects.filter((p) => !selectedProjects.includes(p.Id));\n if (selectedEnvironments.length === 0) {\n const selectedProjectEnvironments = projects.map((p) => ({ ...p, Environments: [] }));\n this.setState({ selectedProjectEnvironments, availableProjects });\n return;\n }\n await this.getAvailableEnvironmentsForProjects(selectedProjects);\n const selectedProjectEnvironments = projects.map((p) => this.assignAvailableEnvironmentsToProject(p, selectedEnvironments));\n this.setState({ selectedProjectEnvironments, availableProjects });\n };\n assignAvailableEnvironmentsToProject = (project: NamedItemWithLogo, environmentIds: string[]) => {\n const availableEnvironmentIdsInProject = this.state.availableEnvironmentsPerProject.get(project.Id) ?? [];\n const selectedAvailableEnvironmentIdsInProject = intersection(availableEnvironmentIdsInProject, environmentIds);\n const environments = selectedAvailableEnvironmentIdsInProject.map((id) => {\n const name = this.state.availableEnvironments.get(id)?.Name ?? \"Unknown environment\";\n return { Id: id, Name: name };\n });\n return { ...project, Environments: environments };\n };\n onEnvironmentsSelected = (environmentIds: string[]) => {\n const selectedProjectEnvironments = this.state.selectedProjectEnvironments.map((pe) => this.assignAvailableEnvironmentsToProject(pe, environmentIds));\n this.setState({ selectedProjectEnvironments });\n };\n hasFilteredApplied = () => {\n if (this.state.filter.name !== \"\") {\n return true;\n }\n if (this.state.filter.filterBySpace || this.state.filter.filterByExcludedSpace) {\n return true;\n }\n if (this.state.filter.filterByProjectGroup || this.state.filter.filterByExcludedProjectGroup) {\n return true;\n }\n return false;\n };\n render() {\n const disabled = !this.canConnect();\n const availableProjects = {\n records: this.state.availableProjects.map((item) => ({ Id: item.Id, Name: item.Name, LogoLink: item.Logo, SpaceId: item.SpaceId, Space: item.Space })),\n totalCount: this.state.availableProjects.length,\n };\n return ( 0 ? `Assign Projects to ${this.props.deploymentFreeze.name}` : \"Assign projects\"} onSaveClick={this.connect} saveButtonDisabled={disabled} busy={this.state.busy} errors={this.errors} savePermission={{ permission: Permission.DeploymentFreezeAdminister }} saveButtonLabel={`Assign ${pluralize(\"Project\", this.state.selectedProjectEnvironments.length, true)}`} wizardStepNames={[\"Select projects\", \"Select environments\"]} selectItemType={SelectItemType.Project}>\n \n \n );\n }\n static displayName = \"ConnectFreezeProjects\";\n}\nexport interface SelectProjectsFilterParameters {\n name: string;\n filterBySpace?: string;\n filterByExcludedSpace?: string;\n filterByProjectGroup?: string;\n filterByExcludedProjectGroup?: string;\n}\n","import { css } from \"@emotion/css\";\nimport { Divider } from \"@octopusdeploy/design-system-components\";\nimport { space } from \"@octopusdeploy/design-system-tokens\";\nimport type { DeploymentFreezeDetailEnvironment, DeploymentFreezeScopeDetail, ProjectResource } from \"@octopusdeploy/octopus-server-client\";\nimport pluralize from \"pluralize\";\nimport React from \"react\";\nimport type { DoBusyTask } from \"~/components/DataBaseComponent\";\nimport OpenDialogButton from \"~/components/Dialog/OpenDialogButton\";\nimport { NoResults } from \"~/components/NoResults/NoResults\";\nimport { FormSectionHeading } from \"~/components/form/index\";\nimport { DeploymentFreezeScopeTable } from \"./DeploymentFreezeScopeTable\";\nimport type { DeploymentFreezeModel } from \"./EditDeploymentFreeze\";\nimport { ProjectFreezeEnvironmentSection } from \"./ProjectFreezeEnvironmentSection\";\nimport ConnectFreezeProjectsDialog from \"./ScopeConnectDialog/ConnectFreezeProjectsDialog\";\ninterface FreezeProjectScopeSectionProps {\n model: DeploymentFreezeModel;\n project?: ProjectResource;\n deploymentFreezeId?: string;\n focussedScopeCellId: string;\n onConnected: (freeze: DeploymentFreezeModel) => void;\n onProjectEnvironmentUpdate: (project: DeploymentFreezeScopeDetail, selectedEnvironments: DeploymentFreezeDetailEnvironment[]) => Promise;\n onProjectRemove: (project: DeploymentFreezeScopeDetail) => void;\n onFocusedScopeCell: (id: string) => void;\n onScopeCellLostFocus: () => void;\n doBusyTask: DoBusyTask;\n}\nexport const FreezeProjectScopeSection: React.FC = ({ model, deploymentFreezeId, focussedScopeCellId, onConnected, onProjectEnvironmentUpdate, onProjectRemove, onFocusedScopeCell, onScopeCellLostFocus, doBusyTask, project, }) => {\n const buildProjectScopeSummary = () => (model.projectScope.length > 0 ? `${pluralize(\"project\", model.projectScope.length, true)} assigned` : \"Assign projects to this deployment freeze.\");\n return (<>\n {project ? () : (
    \n \n
    \n
    \n {buildProjectScopeSummary()}\n {model.projectScope.length === 0 && }\n \n s.Id)}/>\n \n
    \n {model.projectScope.length > 0 && (<>\n \n \n )}\n
    \n
    )}\n );\n};\nFreezeProjectScopeSection.displayName = \"FreezeProjectScopeSection\"\nconst styles = {\n connectScopesRow: css({\n display: \"flex\",\n justifyContent: \"space-between\",\n alignItems: \"center\",\n margin: space[16],\n }),\n};\n","import type { Moment } from \"moment\";\nimport moment from \"moment\";\nexport default class DayOfWeekOrdinalHelper {\n getDayOfWeekOrdinal(startDate: Moment): number {\n return Math.ceil(moment(startDate).date() / 7);\n }\n getDayOfWeekOrdinalDescriptor(startDate: Moment): string {\n switch (this.getDayOfWeekOrdinal(startDate)) {\n case 1:\n return \"1\";\n case 2:\n return \"2\";\n case 3:\n return \"3\";\n case 4:\n return \"4\";\n default:\n return \"L\";\n }\n }\n getDayOfWeekOrdinalDescription(startDate: Moment): string {\n switch (this.getDayOfWeekOrdinal(startDate)) {\n case 1:\n return \"first\";\n case 2:\n return \"second\";\n case 3:\n return \"third\";\n case 4:\n return \"fourth\";\n default:\n return \"last\";\n }\n }\n}\n","/* eslint-disable @typescript-eslint/no-explicit-any */\nimport { DatePicker as DatePickerPopover } from \"@octopusdeploy/design-system-components\";\nimport moment from \"moment\";\nimport type { Moment } from \"moment\";\nimport * as React from \"react\";\nimport type { Errors } from \"~/components/DataBaseComponent\";\nimport combineDateTime from \"../combineDateTime\";\nimport styles from \"./style.module.less\";\ninterface DatePickerProps {\n date: Moment;\n onDateChanged(date: Moment): void;\n utcOffset: number;\n minDate?: Date;\n dateFormat?: string;\n}\ninterface DatePickerState {\n datePopupValue: Moment;\n busy?: Promise;\n errors?: Errors;\n}\n//eslint-disable-next-line react/no-unsafe\nexport default class DatePicker extends React.Component {\n constructor(props: DatePickerProps) {\n super(props);\n this.state = {\n datePopupValue: moment(props.date),\n };\n }\n UNSAFE_componentWillReceiveProps(nextProps: DatePickerProps) {\n this.setState({\n datePopupValue: moment(nextProps.date),\n });\n }\n handleDateChanged = (date: string) => {\n const combined = combineDateTime(date, this.props.date, this.props.utcOffset);\n this.props.onDateChanged(combined);\n };\n render() {\n const datePopupValue = moment(this.state.datePopupValue).toDate();\n return (
    \n {\n this.setState({ datePopupValue: moment(value) });\n // Don't change the time component\n const justDate = moment(value).format(\"YYYY-MM-DD\");\n this.handleDateChanged(justDate);\n }} variant=\"dialog\" format={this.props.dateFormat || \"yyyy-MM-dd\"} minDate={this.props.minDate}/>\n
    );\n }\n static displayName = \"DatePicker\";\n}\n","import moment from \"moment\";\nimport type { Moment } from \"moment\";\nexport default function combineDateTime(date: string, time: Moment, utcOffset: number) {\n const combine = moment(date).utcOffset(utcOffset, true);\n if (time) {\n const t = moment(time);\n combine.hour(t.hour());\n combine.minute(t.minute());\n combine.seconds(t.seconds());\n }\n return combine;\n}\n","/* eslint-disable @typescript-eslint/no-non-null-assertion */\n/* eslint-disable @typescript-eslint/consistent-type-assertions */\nimport { ActionButton, ActionButtonType, Checkbox, Dialog, RadioButton, RadioButtonGroup } from \"@octopusdeploy/design-system-components\";\nimport type { AnnuallyRecurringSchedule, MonthlyRecurringSchedule, WeeklyRecurringSchedule, DailyRecurringSchedule, RecurringScheduleResource } from \"@octopusdeploy/octopus-server-client\";\nimport { DayOfWeek, MonthlyScheduleType, RecurringScheduleEndType, RecurringScheduleType } from \"@octopusdeploy/octopus-server-client\";\nimport cn from \"classnames\";\nimport type { Moment } from \"moment\";\nimport moment from \"moment\";\nimport pluralize from \"pluralize\";\nimport React from \"react\";\nimport DatePicker from \"~/areas/projects/components/Releases/Deployments/NowOrLater/DatePicker/DatePicker\";\nimport ComponentRow from \"~/components/ComponentRow\";\nimport { DialogLayout } from \"~/components/DialogLayout/DialogLayout\";\nimport { minimum, Select, Text } from \"~/components/form\";\nimport Number from \"~/primitiveComponents/form/Number/Number\";\nimport DayOfWeekOrdinalHelper from \"~/utils/DeploymentFreezeScheduleHelper/DayOfWeekOrdinalHelper\";\nimport ParseHelper from \"~/utils/ParseHelper\";\nimport styles from \"./style.module.less\";\ninterface DeploymentFreezeScheduleDialogProps {\n show: boolean;\n schedule?: RecurringScheduleResource;\n startDate: Moment;\n userUtcOffset: number;\n onClosed(): void;\n onScheduleChange(recurringSchedule: RecurringScheduleResource | WeeklyRecurringSchedule | MonthlyRecurringSchedule): void;\n}\ninterface ScheduleDays {\n Monday?: boolean;\n Tuesday?: boolean;\n Wednesday?: boolean;\n Thursday?: boolean;\n Friday?: boolean;\n Saturday?: boolean;\n Sunday?: boolean;\n}\ninterface DeploymentFreezeScheduleDialogState {\n unit: number;\n scheduleType: RecurringScheduleType;\n scheduleDays?: ScheduleDays;\n monthlyScheduleType?: MonthlyScheduleType;\n dateOfMonth?: string;\n dayNumberOfMonth?: string;\n dayOfWeek?: DayOfWeek;\n scheduleEndType: RecurringScheduleEndType;\n scheduleEndOn?: Moment;\n scheduleEndAfter?: number;\n}\nconst defaultScheduleDays: ScheduleDays = {\n Monday: false,\n Tuesday: false,\n Wednesday: false,\n Thursday: false,\n Friday: false,\n Saturday: false,\n Sunday: false,\n};\nexport function isDaysPerWeekRecurringSchedule(resource: DailyRecurringSchedule | WeeklyRecurringSchedule | MonthlyRecurringSchedule | AnnuallyRecurringSchedule): resource is WeeklyRecurringSchedule {\n if (resource && (resource as WeeklyRecurringSchedule).DaysOfWeek) {\n return true;\n }\n return false;\n}\nexport function isDaysPerMonthRecurringSchedule(resource: DailyRecurringSchedule | WeeklyRecurringSchedule | MonthlyRecurringSchedule | AnnuallyRecurringSchedule): resource is MonthlyRecurringSchedule {\n if (resource && (resource as MonthlyRecurringSchedule).MonthlyScheduleType) {\n return true;\n }\n return false;\n}\n// eslint-disable-next-line react/no-unsafe\nexport class DeploymentFreezeScheduleDialog extends React.Component {\n constructor(props: DeploymentFreezeScheduleDialogProps) {\n super(props);\n this.state = this.initState(this.props.schedule);\n }\n render() {\n const save = this.raiseChange()}/>;\n const cancel = this.props.onClosed()}/>;\n const monthlyScheduleTypeOptions = [\n { value: MonthlyScheduleType.DateOfMonth, text: `Monthly on day ${this.props.startDate.date()}` },\n { value: MonthlyScheduleType.DayOfMonth, text: `Monthly on the ${new DayOfWeekOrdinalHelper().getDayOfWeekOrdinalDescription(this.props.startDate)} ${this.props.startDate.format(\"dddd\")}` },\n ];\n // TODO @henrik: if fourth day of week in a month with five add option for last\n // eslint-disable-next-line no-constant-condition\n if (false) {\n monthlyScheduleTypeOptions.push({ value: MonthlyScheduleType.LastDayOfMonth, text: `Monthly on the last ${this.props.startDate.format(\"dddd\")}` });\n }\n return (\n \n \n this.setState({ unit: ParseHelper.safeParseInt(val, 1) })} validate={minimum(\"Please provide a valid value\", 1)} label={\"Repeat Every\"}/>\n \n )}\n End Recurrence\n \n \n \n {this.state.scheduleEndType === RecurringScheduleEndType.OnDate && (
    \n this.setState({ scheduleEndOn: val })} utcOffset={moment(moment.now()).utcOffset()}/>\n
    )}\n \n {this.state.scheduleEndType === RecurringScheduleEndType.AfterOccurrences && (
    \n this.setState({ scheduleEndAfter: val })} min={1}/>\n
    )}\n
    \n
    \n
    );\n }\n initState(value?: T) {\n const schedule = value as unknown as DailyRecurringSchedule | WeeklyRecurringSchedule | MonthlyRecurringSchedule | AnnuallyRecurringSchedule;\n return {\n unit: schedule?.Unit || 1,\n scheduleType: schedule?.Type || RecurringScheduleType.Daily,\n scheduleEndType: schedule?.EndType || RecurringScheduleEndType.Never,\n scheduleEndOn: schedule?.EndType === RecurringScheduleEndType.OnDate ? schedule?.EndOnDate : undefined,\n scheduleEndAfter: schedule?.EndType === RecurringScheduleEndType.AfterOccurrences ? schedule?.EndAfterOccurrences : undefined,\n ...(isDaysPerWeekRecurringSchedule(schedule)\n ? {\n scheduleDays: schedule.DaysOfWeek.reduce((scheduleDays: ScheduleDays, day) => {\n scheduleDays[day] = true;\n return scheduleDays;\n }, defaultScheduleDays),\n }\n : {}),\n ...(isDaysPerMonthRecurringSchedule(schedule)\n ? {\n monthlyScheduleType: schedule.MonthlyScheduleType,\n dateOfMonth: schedule.DateOfMonth || schedule.MonthlyScheduleType === MonthlyScheduleType.DateOfMonth ? this.props.startDate.date().toString() : undefined,\n dayNumberOfMonth: schedule.DayNumberOfMonth || schedule.MonthlyScheduleType === MonthlyScheduleType.DayOfMonth ? new DayOfWeekOrdinalHelper().getDayOfWeekOrdinalDescriptor(this.props.startDate) : undefined,\n dayOfWeek: schedule.DayOfWeek || schedule.MonthlyScheduleType === MonthlyScheduleType.DayOfMonth ? (this.props.startDate.format(\"dddd\") as DayOfWeek) : undefined,\n }\n : {}),\n };\n }\n private onScheduleEndTypeChange = (value: RecurringScheduleEndType) => {\n this.setState({\n scheduleEndType: value,\n scheduleEndOn: value === RecurringScheduleEndType.OnDate ? moment() : undefined,\n scheduleEndAfter: value === RecurringScheduleEndType.AfterOccurrences ? 1 : undefined,\n });\n };\n private onScheduleTypeChange = (value: RecurringScheduleType) => {\n let newSchedule: RecurringScheduleResource | WeeklyRecurringSchedule | MonthlyRecurringSchedule = {\n Type: value,\n Unit: 1,\n UserUtcOffsetInMinutes: this.props.userUtcOffset,\n };\n switch (value) {\n case RecurringScheduleType.Weekly:\n newSchedule = {\n ...newSchedule,\n DaysOfWeek: undefined,\n };\n break;\n case RecurringScheduleType.Monthly:\n newSchedule = {\n ...newSchedule,\n MonthlyScheduleType: MonthlyScheduleType.DateOfMonth,\n DateOfMonth: undefined,\n DayNumberOfMonth: undefined,\n DayOfWeek: undefined,\n };\n break;\n }\n this.setState(this.initState(newSchedule));\n };\n private onScheduleDaysChange = (value: ScheduleDays) => {\n this.setState((prev) => ({\n scheduleDays: {\n ...prev.scheduleDays,\n ...value,\n },\n }));\n };\n private onMonthlyScheduleTypeChange = (value: string | undefined) => {\n this.setState({\n monthlyScheduleType: value as MonthlyScheduleType,\n dateOfMonth: value === MonthlyScheduleType.DateOfMonth ? this.props.startDate.date().toString() : undefined,\n dayNumberOfMonth: value === MonthlyScheduleType.DayOfMonth ? new DayOfWeekOrdinalHelper().getDayOfWeekOrdinalDescriptor(this.props.startDate) : undefined,\n dayOfWeek: value === MonthlyScheduleType.DayOfMonth ? (this.props.startDate.format(\"dddd\") as DayOfWeek) : undefined,\n });\n };\n private getDaysScheduledToRunOn(): DayOfWeek[] {\n const daysToRunOn = [];\n if (this.state.scheduleDays?.Monday) {\n daysToRunOn.push(DayOfWeek.Monday);\n }\n if (this.state.scheduleDays?.Tuesday) {\n daysToRunOn.push(DayOfWeek.Tuesday);\n }\n if (this.state.scheduleDays?.Wednesday) {\n daysToRunOn.push(DayOfWeek.Wednesday);\n }\n if (this.state.scheduleDays?.Thursday) {\n daysToRunOn.push(DayOfWeek.Thursday);\n }\n if (this.state.scheduleDays?.Friday) {\n daysToRunOn.push(DayOfWeek.Friday);\n }\n if (this.state.scheduleDays?.Saturday) {\n daysToRunOn.push(DayOfWeek.Saturday);\n }\n if (this.state.scheduleDays?.Sunday) {\n daysToRunOn.push(DayOfWeek.Sunday);\n }\n return daysToRunOn;\n }\n private raiseChange() {\n const scheduleType = this.state.scheduleType;\n let recurringSchedule: RecurringScheduleResource | DailyRecurringSchedule | AnnuallyRecurringSchedule | WeeklyRecurringSchedule | MonthlyRecurringSchedule = {\n Type: scheduleType,\n Unit: this.state.unit,\n UserUtcOffsetInMinutes: this.props.userUtcOffset,\n EndType: this.state.scheduleEndType,\n EndOnDate: this.state.scheduleEndType === RecurringScheduleEndType.OnDate ? this.state.scheduleEndOn : undefined,\n EndAfterOccurrences: this.state.scheduleEndType === RecurringScheduleEndType.AfterOccurrences ? this.state.scheduleEndAfter : undefined,\n };\n switch (scheduleType) {\n case RecurringScheduleType.Weekly:\n recurringSchedule = {\n ...recurringSchedule,\n DaysOfWeek: this.getDaysScheduledToRunOn(),\n };\n break;\n case RecurringScheduleType.Monthly:\n recurringSchedule = {\n ...recurringSchedule,\n MonthlyScheduleType: this.state.monthlyScheduleType,\n DateOfMonth: this.state.dateOfMonth,\n DayNumberOfMonth: this.state.dayNumberOfMonth,\n DayOfWeek: this.state.dayOfWeek!,\n };\n break;\n }\n this.props.onScheduleChange(recurringSchedule);\n }\n static displayName = \"DeploymentFreezeScheduleDialog\";\n}\n","/* eslint-disable @typescript-eslint/no-non-null-assertion */\n/* eslint-disable @typescript-eslint/no-explicit-any */\n/* eslint-disable @typescript-eslint/consistent-type-assertions */\nimport * as React from \"react\";\ninterface Props {\n value?: TValue;\n onChange?(value: TValue): void;\n}\ninterface CancelableProps {\n cancelableValidate(value: TValue): {\n error: string;\n rejectChange: boolean;\n };\n}\ninterface State {\n error: string;\n}\n// A HOC that expands validation so that instead of just returning a string you can\n// return a structure that allows you to block the call to onChange for the update\n// that would fail validation\nexport default function CancelInvalidUpdate, TValue>(Comp: React.ComponentClass) {\n type InternalProps = TProps & CancelableProps;\n return class DebounceValueInternal extends React.Component {\n constructor(props: InternalProps) {\n super(props);\n this.state = {\n error: \"\",\n };\n }\n onChange = (value: TValue) => {\n const result = this.props.cancelableValidate(value);\n this.setError(result.error);\n if (result.rejectChange && this.props.onChange) {\n this.props.onChange(this.props.value!);\n }\n else if (this.props.onChange) {\n this.props.onChange(value);\n }\n };\n setError = (error: string) => {\n // The Text control doesn't show externally provided errors after a change event\n // since in normal Forms external errors are usually from the server and usually\n // about a missing required field, so when you enter something usually we want it\n // cleared. But here we always want to show the error. So rather than add yet\n // another option to Text, just write a different error and then the error we want\n // this will cause the error to persist on change if validation is still failing\n this.setState({ error: \"\\t\\t\" }, () => this.setState({ error }));\n };\n render() {\n const { error, onChange, cancelableValidate, ...otherProps } = this.props as any; // `as any` because object rest not support in generics yet, tracked by https://github.com/Microsoft/TypeScript/issues/10727\n return ;\n }\n };\n}\n","/* eslint-disable @typescript-eslint/no-non-null-assertion */\nimport { ActionButton, ActionButtonType, IconButton } from \"@octopusdeploy/design-system-components\";\nimport type { Moment } from \"moment\";\nimport * as React from \"react\";\nimport CancelInvalidUpdate from \"~/areas/projects/components/Releases/Deployments/NowOrLater/TimePicker/CancelInvalidInput\";\nimport DebounceValue from \"~/components/DebounceValue/DebounceValue\";\nimport { Text } from \"~/components/form\";\nimport ParseHelper from \"~/utils/ParseHelper/ParseHelper\";\nimport styles from \"./style.module.less\";\ninterface TimePickerProps {\n time: Moment;\n onTimeChanged(time: Moment): void;\n}\ninterface TimePickerState {\n hour: string;\n minute: string;\n}\nconst error = \"\\t\"; // this displays error state in controls but no error text is visible\nconst valid = \"\";\nconst CancelInvalidText = CancelInvalidUpdate(Text);\nconst TimeText = DebounceValue(CancelInvalidText);\n//eslint-disable-next-line react/no-unsafe\nexport default class TimePicker extends React.Component {\n constructor(props: TimePickerProps) {\n super(props);\n this.state = {\n hour: props.time.format(\"h\"),\n minute: props.time.format(\"mm\"),\n };\n }\n UNSAFE_componentWillReceiveProps(nextProps: TimePickerProps) {\n this.setState({\n hour: nextProps.time.format(\"h\"),\n minute: nextProps.time.format(\"mm\"),\n });\n }\n render() {\n // Use debouncedText so that if current time is 8 you can type 10 without the intermediate 1 being invalid (too early)\n return (
    \n
    \n \n \n \n
    \n
    \n \n \n \n
    \n
    \n \n
    \n
    );\n }\n private validateHour = (val: string) => {\n if (val.length > 2) {\n // reject the change, show an error based on the current value since we won't update\n return { error: this.validateHourString(this.state.hour), rejectChange: true };\n }\n return { error: this.validateHourString(val), rejectChange: false };\n };\n private validateMinute = (val: string) => {\n if (val.length > 2) {\n // reject the change, show an error based on the current value since we won't update\n return { error: this.validateMinuteString(this.state.minute), rejectChange: true };\n }\n return { error: this.validateMinuteString(val), rejectChange: false };\n };\n // Note that we intentially don't mess with the date portion of the time\n incrementHours = () => {\n this.props.onTimeChanged(this.props.time.clone().add(1, \"hours\"));\n };\n decrementHours = () => {\n this.props.onTimeChanged(this.props.time.clone().add(-1, \"hours\"));\n };\n incrementMinutes = () => {\n this.props.onTimeChanged(this.props.time.clone().add(15, \"minutes\"));\n };\n decrementMinutes = () => {\n this.props.onTimeChanged(this.props.time.clone().add(-15, \"minutes\"));\n };\n private validateHourString = (value: string): string => {\n const hour = ParseHelper.safeParseInt(value, null!);\n return this.isHour(hour) ? valid : error;\n };\n private validateMinuteString = (value: string): string => {\n if (value.length !== 2) {\n return error;\n }\n const minute = ParseHelper.safeParseInt(value, null!);\n return this.isMinute(minute) ? valid : error;\n };\n handleHoursChanged = (value: string) => {\n this.setState({ hour: value });\n let parsed = ParseHelper.safeParseInt(value, null!);\n if (this.isHour(parsed)) {\n if (this.props.time.format(\"A\") === \"PM\" && parsed !== 12) {\n parsed = parsed + 12;\n }\n if (this.props.time.format(\"A\") === \"AM\" && parsed === 12) {\n parsed = 0;\n }\n this.props.onTimeChanged(this.props.time.clone().hours(parsed));\n }\n };\n handleMinutesChanged = (value: string) => {\n this.setState({ minute: value });\n const parsed = ParseHelper.safeParseInt(value, null!);\n if (this.isMinute(parsed)) {\n this.props.onTimeChanged(this.props.time.clone().minutes(parsed));\n }\n };\n private isHour = (hour?: number): boolean => {\n return hour !== null && hour! > 0 && hour! <= 12;\n };\n private isMinute = (minute?: number): boolean => {\n return minute !== null && minute! >= 0 && minute! <= 59;\n };\n handleAmPmToggled = () => {\n const hours = this.props.time.hours();\n const toggled = hours >= 12 ? hours - 12 : hours + 12;\n this.props.onTimeChanged(this.props.time.clone().hours(toggled));\n };\n static displayName = \"TimePicker\";\n}\n","import { css } from \"@emotion/css\";\nimport { space } from \"@octopusdeploy/design-system-tokens\";\nimport type { Moment } from \"moment\";\nimport moment from \"moment\";\nimport React, { useState } from \"react\";\nimport DatePicker from \"~/areas/projects/components/Releases/Deployments/NowOrLater/DatePicker/DatePicker\";\nimport TimePicker from \"~/areas/projects/components/Releases/Deployments/NowOrLater/TimePicker/TimePicker\";\ninterface FreezeDateTimePickerProps {\n updateScheduledDatesOnModel(startDate: Moment, endDate: Moment): void;\n onStartDateChange?(): void;\n initialStartDate: Moment;\n initialEndDate: Moment;\n dateFormat?: string;\n}\nexport const FreezeDateTimePicker = ({ updateScheduledDatesOnModel, onStartDateChange, initialStartDate, initialEndDate, dateFormat }: FreezeDateTimePickerProps) => {\n const currentTime = moment.now();\n const userTimezone = moment(currentTime).format(\"[GMT] Z\");\n const userUtcOffset = moment(currentTime).utcOffset();\n const [startDate, setStartDate] = useState(moment(initialStartDate));\n const [endDate, setEndDate] = useState(moment(initialEndDate));\n const handleStartDateTimeChange = (newStart: Moment) => {\n // adjust end date to keep the diff the same\n const previousDiff = moment.duration(endDate.diff(startDate));\n const adjustedEndTime = moment(newStart).add(previousDiff);\n setStartDate(newStart);\n setEndDate(adjustedEndTime);\n updateScheduledDatesOnModel(newStart, adjustedEndTime);\n onStartDateChange?.();\n };\n const handleEndDateTimeChange = (newEnd: Moment) => {\n setEndDate(newEnd);\n updateScheduledDatesOnModel(startDate, newEnd);\n };\n const calculateDuration = (): string => {\n const duration = moment.duration(endDate.diff(startDate));\n const mins = duration.minutes();\n const hours = duration.hours();\n const days = Math.floor(duration.asDays());\n let result = mins === 1 ? \"1 minute\" : mins + \" minutes\";\n result = (hours !== 0 ? (hours === 1 ? \"1 hour\" : hours + \" hours\") + \" and \" : \"\") + result;\n result = (days !== 0 ? (days === 1 ? \"1 day\" : days + \" days\") + \", \" : \"\") + result;\n return result;\n };\n return (
    \n

    Time

    \n
    \n handleStartDateTimeChange(newStartDate)} utcOffset={userUtcOffset} dateFormat={dateFormat}/>\n handleStartDateTimeChange(newStartTime)}/>\n to\n handleEndDateTimeChange(newEndTime)}/>\n handleEndDateTimeChange(newEndDate)} utcOffset={userUtcOffset} dateFormat={dateFormat}/>\n {userTimezone}\n
    \n\n

    Duration

    \n
    {calculateDuration()}
    \n
    );\n};\nconst rowStyles = css({\n display: \"flex\",\n alignItems: \"center\",\n paddingBottom: space[16],\n columnGap: space[12],\n});\n","import { css } from \"@emotion/css\";\nimport { space, themeTokens, borderRadius } from \"@octopusdeploy/design-system-tokens\";\nimport type { RecurringScheduleResource, FreezeScheduleResource } from \"@octopusdeploy/octopus-server-client\";\nimport type { Moment } from \"moment\";\nimport React, { useCallback, useState, useEffect } from \"react\";\nimport { repository } from \"~/clientInstance\";\nconst DEBOUNCE_DELAY = 500;\nconst DEFAULT_OCCURRENCES = 10;\ninterface RecurringFreezePreviewProps {\n recurringSchedule?: RecurringScheduleResource;\n startDate: Moment;\n endDate: Moment;\n userTimezone: string;\n}\nconst formatDateTime = (dateTimeStr: string): string => {\n const date = new Date(dateTimeStr);\n const dateStr = date.toLocaleDateString(\"en-US\", {\n weekday: \"short\",\n month: \"short\",\n day: \"numeric\",\n year: \"numeric\",\n });\n const hours = date.getHours() % 12 || 12;\n const minutes = date.getMinutes().toString().padStart(2, \"0\");\n const period = date.getHours() >= 12 ? \"PM\" : \"AM\";\n return `${dateStr} ${hours}:${minutes} ${period}`;\n};\nexport const RecurringFreezePreview = ({ recurringSchedule, startDate, endDate, userTimezone }: RecurringFreezePreviewProps) => {\n const [isExpanded, setIsExpanded] = useState(false);\n const [dateRanges, setDateRanges] = useState([]);\n const [isLoading, setIsLoading] = useState(false);\n const fetchDateRanges = useCallback(async (count: number) => {\n try {\n setIsLoading(true);\n const response = await repository.DeploymentFreezes.getRecurringFreezePreview({\n StartDate: startDate.format(),\n EndDate: endDate.format(),\n Occurrences: count,\n RecurringSchedule: recurringSchedule,\n });\n setDateRanges(response.Schedules);\n }\n catch (error) {\n console.error(\"Error generating date ranges:\", error);\n }\n finally {\n setIsLoading(false);\n }\n }, [startDate, endDate, recurringSchedule]);\n useEffect(() => {\n let timeoutId: ReturnType | undefined = undefined;\n if (isExpanded) {\n timeoutId = setTimeout(() => {\n fetchDateRanges(DEFAULT_OCCURRENCES);\n }, DEBOUNCE_DELAY);\n }\n return () => {\n if (timeoutId) {\n clearTimeout(timeoutId);\n }\n };\n }, [isExpanded, fetchDateRanges, recurringSchedule]);\n const handleToggleExpand = () => {\n setIsExpanded((prev) => !prev);\n };\n return (
    \n
    \n \n {isExpanded ? \"Hide\" : \"Show\"} next {dateRanges?.length || DEFAULT_OCCURRENCES} occurrences\n \n
    \n\n {isExpanded && (
    \n
    \n Next {dateRanges?.length} freeze windows: ({userTimezone})\n
    \n\n {isLoading ? (
    Loading...
    ) : (dateRanges?.map((range, index) => (
    \n
    \n
    {formatDateTime(range.ScheduleStart)}
    \n
    to
    \n
    {formatDateTime(range.ScheduleEnd)}
    \n
    \n
    )))}\n
    )}\n
    );\n};\nconst containerStyles = css({\n marginTop: space[16],\n});\nconst toggleStyles = css({\n display: \"flex\",\n alignItems: \"center\",\n cursor: \"pointer\",\n color: themeTokens.color.text.link.default,\n});\nconst occurrencesInputStyles = css({\n width: \"40px\",\n margin: `0 ${space[4]}`,\n});\nconst previewContainerStyles = css({\n marginTop: space[8],\n padding: space[16],\n backgroundColor: themeTokens.color.background.secondary.default,\n borderRadius: borderRadius.small,\n});\nconst headerStyles = css({\n color: themeTokens.color.text.secondary,\n marginBottom: space[12],\n});\nconst freezeWindowStyles = css({\n padding: `${space[8]} ${space[12]}`,\n marginBottom: space[8],\n backgroundColor: themeTokens.color.background.primary.default,\n borderRadius: borderRadius.small,\n cursor: \"pointer\",\n transition: \"background-color 0.2s ease\",\n \":last-child\": {\n marginBottom: 0,\n },\n \":hover\": {\n backgroundColor: themeTokens.color.background.primary.pressed,\n },\n});\nconst dateRangeContainerStyles = css({\n display: \"grid\",\n gridTemplateColumns: \"160px 40px 160px\",\n gap: space[4],\n alignItems: \"center\",\n});\nconst dateTimeStyles = css({\n color: themeTokens.color.text.primary,\n textAlign: \"left\",\n whiteSpace: \"nowrap\",\n});\nconst arrowStyles = css({\n color: themeTokens.color.text.secondary,\n textAlign: \"center\",\n});\n","/* eslint-disable @typescript-eslint/consistent-type-assertions */\n/* eslint-disable @typescript-eslint/no-non-null-assertion */\n/* eslint-disable @typescript-eslint/init-declarations */\nimport type { AnnuallyRecurringSchedule, DailyRecurringSchedule, MonthlyRecurringSchedule, WeeklyRecurringSchedule, RecurringScheduleResource } from \"@octopusdeploy/octopus-server-client\";\nimport { DayOfWeek, RecurringScheduleEndType, RecurringScheduleType, MonthlyScheduleType } from \"@octopusdeploy/octopus-server-client\";\nimport _ from \"lodash\";\nimport type { Moment } from \"moment\";\nimport React from \"react\";\nimport { isFeatureToggleEnabled } from \"~/components/FeatureToggle/New/FeatureToggleContext\";\nimport { CardFill } from \"~/components/form/Sections/ExpandableFormSection\";\nimport { ExpandableFormSection, Select, Summary } from \"~/components/form/index\";\nimport DateFormatter from \"~/utils/DateFormatter/index\";\nimport DayOfWeekOrdinalHelper from \"~/utils/DeploymentFreezeScheduleHelper/DayOfWeekOrdinalHelper\";\nimport DaysDescriptionHelper from \"~/utils/ScheduledTriggerDescriptionHelper/DaysDescriptionHelper\";\nimport { ScheduleFormatter } from \"~/utils/ScheduledTriggerDescriptionHelper/ScheduleFormatter\";\nimport { DeploymentFreezeScheduleDialog } from \"./DeploymentFreezeScheduleDialog\";\nimport { FreezeDateTimePicker } from \"./FreezeDateTimePicker\";\nimport { RecurringFreezePreview } from \"./RecurringFreezePreview\";\nenum DeploymentFreezeRecurrenceOptions {\n None = \"none\",\n Daily = \"daily\",\n Weekly = \"weekly\",\n Weekdays = \"weekdays\",\n Weekends = \"weekends\",\n DateOfMonth = \"dateOfMonth\",\n DayOfMonth = \"dayOfMonth\",\n Annually = \"annually\",\n Custom = \"custom\",\n Configured = \"\"\n}\ninterface FreezeScheduleSectionProps {\n startDate: Moment;\n endDate: Moment;\n recurringSchedule?: RecurringScheduleResource;\n userTimezone: string;\n userUtcOffset: number;\n onScheduleUpdate: (startDate: Moment, endDate: Moment) => void;\n onRecurringScheduleUpdate: (schedule: RecurringScheduleResource | undefined) => void;\n}\nexport const FreezeScheduleSection: React.FC = ({ startDate, endDate, recurringSchedule, userTimezone, userUtcOffset, onScheduleUpdate, onRecurringScheduleUpdate }) => {\n const [showCustomScheduleDialog, setShowCustomScheduleDialog] = React.useState(false);\n const onDeploymentFreezeRecurranceUpdate = (recurrence: string | undefined) => {\n if (recurrence === DeploymentFreezeRecurrenceOptions.Custom) {\n setShowCustomScheduleDialog(true);\n return;\n }\n let newRecurringSchedule: RecurringScheduleResource | undefined;\n switch (recurrence) {\n case DeploymentFreezeRecurrenceOptions.None:\n newRecurringSchedule = undefined;\n break;\n case DeploymentFreezeRecurrenceOptions.Daily:\n newRecurringSchedule = {\n Type: RecurringScheduleType.Daily,\n Unit: 1,\n UserUtcOffsetInMinutes: userUtcOffset,\n } as DailyRecurringSchedule;\n break;\n case DeploymentFreezeRecurrenceOptions.Weekly:\n newRecurringSchedule = {\n Type: RecurringScheduleType.Weekly,\n Unit: 1,\n DaysOfWeek: [startDate.format(\"dddd\") as DayOfWeek],\n UserUtcOffsetInMinutes: userUtcOffset,\n } as WeeklyRecurringSchedule;\n break;\n case DeploymentFreezeRecurrenceOptions.Weekdays:\n newRecurringSchedule = {\n Type: RecurringScheduleType.Weekly,\n Unit: 1,\n DaysOfWeek: [DayOfWeek.Monday, DayOfWeek.Tuesday, DayOfWeek.Wednesday, DayOfWeek.Thursday, DayOfWeek.Friday],\n UserUtcOffsetInMinutes: userUtcOffset,\n } as WeeklyRecurringSchedule;\n break;\n case DeploymentFreezeRecurrenceOptions.Weekends:\n newRecurringSchedule = {\n Type: RecurringScheduleType.Weekly,\n Unit: 1,\n DaysOfWeek: [DayOfWeek.Saturday, DayOfWeek.Sunday],\n UserUtcOffsetInMinutes: userUtcOffset,\n } as WeeklyRecurringSchedule;\n break;\n case DeploymentFreezeRecurrenceOptions.DateOfMonth:\n newRecurringSchedule = {\n Type: RecurringScheduleType.Monthly,\n MonthlyScheduleType: MonthlyScheduleType.DateOfMonth,\n Unit: 1,\n DateOfMonth: startDate.date().toString(),\n UserUtcOffsetInMinutes: userUtcOffset,\n } as MonthlyRecurringSchedule;\n break;\n case DeploymentFreezeRecurrenceOptions.DayOfMonth:\n newRecurringSchedule = {\n Type: RecurringScheduleType.Monthly,\n MonthlyScheduleType: MonthlyScheduleType.DayOfMonth,\n Unit: 1,\n DayNumberOfMonth: new DayOfWeekOrdinalHelper().getDayOfWeekOrdinalDescriptor(startDate),\n DayOfWeek: startDate.format(\"dddd\") as DayOfWeek,\n UserUtcOffsetInMinutes: userUtcOffset,\n } as MonthlyRecurringSchedule;\n break;\n case DeploymentFreezeRecurrenceOptions.Annually:\n newRecurringSchedule = {\n Type: RecurringScheduleType.Annually,\n Unit: 1,\n UserUtcOffsetInMinutes: userUtcOffset,\n } as AnnuallyRecurringSchedule;\n break;\n default:\n newRecurringSchedule = undefined;\n break;\n }\n onRecurringScheduleUpdate(newRecurringSchedule);\n };\n const onCustomScheduleDialogClosed = () => {\n setShowCustomScheduleDialog(false);\n };\n const onRecurringScheduleChange = (schedule: RecurringScheduleResource | WeeklyRecurringSchedule | MonthlyRecurringSchedule) => {\n onRecurringScheduleUpdate(schedule);\n onCustomScheduleDialogClosed();\n };\n const isCustomSchedule = (schedule?: RecurringScheduleResource) => {\n if (!schedule)\n return false;\n if (schedule.Unit !== 1)\n return true;\n if (schedule.EndType && schedule.EndType !== RecurringScheduleEndType.Never)\n return true;\n if (schedule.Type === RecurringScheduleType.Weekly) {\n const weeklySchedule = schedule as WeeklyRecurringSchedule;\n return !(_.isEqual(weeklySchedule.DaysOfWeek, [startDate.format(\"dddd\") as DayOfWeek]) ||\n _.isEqual(weeklySchedule.DaysOfWeek, [DayOfWeek.Monday, DayOfWeek.Tuesday, DayOfWeek.Wednesday, DayOfWeek.Thursday, DayOfWeek.Friday]) ||\n _.isEqual(weeklySchedule.DaysOfWeek, [DayOfWeek.Saturday, DayOfWeek.Sunday]));\n }\n if (schedule.Type === RecurringScheduleType.Monthly) {\n const monthlySchedule = schedule as MonthlyRecurringSchedule;\n switch (monthlySchedule.MonthlyScheduleType) {\n case MonthlyScheduleType.DateOfMonth:\n return monthlySchedule.DateOfMonth !== startDate.date().toString();\n case MonthlyScheduleType.DayOfMonth:\n return monthlySchedule.DayNumberOfMonth !== new DayOfWeekOrdinalHelper().getDayOfWeekOrdinalDescriptor(startDate) && monthlySchedule.DayOfWeek !== (startDate.format(\"dddd\") as DayOfWeek);\n }\n return false;\n }\n return false;\n };\n const getRecurringScheduleOption = (schedule?: RecurringScheduleResource) => {\n if (!schedule)\n return DeploymentFreezeRecurrenceOptions.None;\n if (isCustomSchedule(schedule)) {\n return DeploymentFreezeRecurrenceOptions.Configured;\n }\n if (schedule?.Type === RecurringScheduleType.Daily) {\n return DeploymentFreezeRecurrenceOptions.Daily;\n }\n if (schedule?.Type === RecurringScheduleType.Weekly) {\n const daysPerWeekRecurringSchedule = schedule as WeeklyRecurringSchedule;\n if (new DaysDescriptionHelper(daysPerWeekRecurringSchedule).runsOnWeekdays()) {\n return DeploymentFreezeRecurrenceOptions.Weekdays;\n }\n if (new DaysDescriptionHelper(daysPerWeekRecurringSchedule).runsOnWeekends()) {\n return DeploymentFreezeRecurrenceOptions.Weekends;\n }\n return DeploymentFreezeRecurrenceOptions.Weekly;\n }\n if (schedule?.Type === RecurringScheduleType.Monthly) {\n const daysPerMonthRecurringSchedule = schedule as MonthlyRecurringSchedule;\n if (daysPerMonthRecurringSchedule.MonthlyScheduleType === MonthlyScheduleType.DateOfMonth) {\n return DeploymentFreezeRecurrenceOptions.DateOfMonth;\n }\n else {\n return DeploymentFreezeRecurrenceOptions.DayOfMonth;\n }\n }\n if (schedule?.Type === RecurringScheduleType.Annually) {\n return DeploymentFreezeRecurrenceOptions.Annually;\n }\n return DeploymentFreezeRecurrenceOptions.Custom;\n };\n const getRecurringScheduleOptions = () => {\n const recurringScheduleOptions = [\n { value: DeploymentFreezeRecurrenceOptions.None, text: \"Does not repeat\" },\n { value: DeploymentFreezeRecurrenceOptions.Daily, text: \"Repeats daily\" },\n { value: DeploymentFreezeRecurrenceOptions.Weekly, text: `Repeats weekly on ${startDate.format(\"dddd\")}` },\n { value: DeploymentFreezeRecurrenceOptions.Weekdays, text: \"Repeats on all weekdays\" },\n { value: DeploymentFreezeRecurrenceOptions.Weekends, text: \"Repeats on all weekends\" },\n { value: DeploymentFreezeRecurrenceOptions.DateOfMonth, text: `Repeats monthly on the ${startDate.format(\"Do\")}` },\n { value: DeploymentFreezeRecurrenceOptions.DayOfMonth, text: `Repeats monthly on the ${new DayOfWeekOrdinalHelper().getDayOfWeekOrdinalDescription(startDate)} ${startDate.format(\"dddd\")}` },\n { value: DeploymentFreezeRecurrenceOptions.Annually, text: `Repeats annually on ${startDate.format(\"MMMM D\")}` },\n ];\n if (isCustomSchedule(recurringSchedule)) {\n recurringScheduleOptions.push({ value: DeploymentFreezeRecurrenceOptions.Configured, text: ScheduleFormatter.buildScheduleSummary(recurringSchedule, startDate) });\n }\n recurringScheduleOptions.push({ value: DeploymentFreezeRecurrenceOptions.Custom, text: \"Custom...\" });\n return recurringScheduleOptions;\n };\n const buildPickerSummary = () => Summary.summary(`This deployment freeze is scheduled to start on ${DateFormatter.dateToLongFormat(startDate)}`);\n const helpText = {\n schedule: {\n help: \"Specify the schedule for this deployment freeze.\",\n },\n };\n return (\n onDeploymentFreezeRecurranceUpdate(DeploymentFreezeRecurrenceOptions.None)}/>\n {isFeatureToggleEnabled(\"RecurringDeploymentFreezesFeatureToggle\") && (<>\n

    Recurrence

    \n
    \n {\n return { text: e.Name, value: e.Id };\n })} onChange={(id) => this.onStaticEnvironmentsSelected([id!])} autoFocus={true} sortItems={false}/>) : (this.getStaticEnvironmentMultiSelect())}\n \n {this.isMultiTenancyEnabledForThisProject() &&\n (!this.canDeploymentBeTenanted() ? (this.explainLackOfTenantSelection()) : (\n {!this.canOnlyDeployTenanted() && this.buildTenantedOrUntenantedRadioGroup()}\n {this.state.deploymentMode === DeploymentMode.Tenanted && (
    \n \n {this.state.availableTenants && this.state.availableTenants.length > 0 && (
    \n {!this.state.isShowingAdvancedTenantsOptions && ( this.setState({ isShowingAdvancedTenantsOptions: true })}/>)}\n {this.state.isShowingAdvancedTenantsOptions && (\n \n {this.state.deployToAllAvailableTenants && ( this.deployToAllAvailableTenantsWarningThreshold ? \"warning\" : \"information\"} title={`${this.state.availableTenants.length} connected tenants`}>\n This will run on {this.state.availableTenants.length > 1 ? all {this.state.availableTenants.length} tenants : 1 tenant}. Please make sure you review\n the Preview section below before running.\n )}\n )}\n {!this.state.deployToAllAvailableTenants && ()}\n\n this.setState((prev) => ({\n showTenantsWhoGotThisReleaseAsCurrent: !prev.showTenantsWhoGotThisReleaseAsCurrent,\n }))}/>\n
    )}\n
    )}\n
    ))}\n
    )}\n );\n }\n private getStaticEnvironmentMultiSelect() {\n return ();\n }\n private notifyParentForSelectionChangedFromState(resultantTenantIds?: string[]) {\n const environments: EnvironmentSelection[] = [];\n if (this.state.environmentType === \"Static\") {\n const staticEnvironments = this.state.selectedEnvironmentIds.map((environmentId) => {\n return { type: \"Static\", environmentId: environmentId, name: this.props.allEnvironments.find((e) => e.Id === environmentId)?.Name || \"(unknown environment)\" };\n });\n environments.push(...staticEnvironments);\n }\n this.notifyParentForSelectionChanged(environments, resultantTenantIds ?? this.state.resultantTenants.map((t) => t.Id), this.state.selectedTenantTagIds.length > 0);\n }\n private async setMatchedTenants() {\n await this.props.onDoingBusyTask(async () => {\n await this.tenantTagTestRaceConditioner.avoidStaleResponsesForRequest(this.loadTagMatched(this.state.availableTenants, this.state.selectedTenantIds, this.state.selectedTenantTagIds), (resultantTenants) => {\n const tenantsWhoGotThisReleaseAsCurrent = this.getTenantsWhoHaveThisReleaseAsCurrent(resultantTenants, this.props.currentDashboardItems, this.state.selectedEnvironmentIds, this.props.runbookSnapshot.Id);\n this.setState({ resultantTenants, tenantsWhoGotThisReleaseAsCurrent }, () => {\n const resultTenantIds = this.state.skipTenantsWhoHaveTheReleaseAsCurrent ? this.getTenantIdsWhoDoNotHaveThisRelease(resultantTenants, this.state.tenantsWhoGotThisReleaseAsCurrent) : resultantTenants.map((x) => x.Id);\n this.notifyParentForSelectionChangedFromState(resultTenantIds);\n });\n });\n }, { preserveCurrentErrors: true });\n }\n private determineTagsMatchedTenantIds(testResult: TagTestResult): string[] {\n return Object.keys(testResult).filter((tenantId) => testResult[tenantId].IsMatched);\n }\n private getTenantsWhoCanBePromoted(selectedEnvironmentIds: string[], allTenants: TenantResource[]) {\n if (selectedEnvironmentIds.length !== 1) {\n return [];\n }\n // Check whether the tenants can be promote to the selected environment\n const matchedTenants = this.props.template.TenantPromotions.filter((tenantPromotion: DeploymentPromotionTenant) => tenantPromotion.PromoteTo.some((p) => p.Id === selectedEnvironmentIds[0]));\n return allTenants.filter((t) => matchedTenants.some((dt) => dt.Id === t.Id));\n }\n private loadAvailableEnvironmentsForTenant() {\n // the connected environments for tenant this release can be deployed to\n const availableEnvironmentsForTenantPromotion = _.uniqBy(_.flatten(this.props.template.TenantPromotions.map((tenantPromotion: DeploymentPromotionTenant) => tenantPromotion.PromoteTo)), (promoteTo: DeploymentPromotionTarget) => promoteTo.Id);\n return availableEnvironmentsForTenantPromotion;\n }\n private onStaticEnvironmentsSelected = (environmentIds: string[]) => {\n if (_.isEqual(this.state.selectedEnvironmentIds, environmentIds)) {\n return;\n }\n const tenantsWhoCanDeploy = this.getTenantsWhoCanBePromoted(environmentIds, this.props.allTenants);\n const availableTenants = this.props.allTenants.filter((t) => tenantsWhoCanDeploy.some((dt) => dt.Id === t.Id));\n const deploymentMode = environmentIds.length === 0 || environmentIds.length > 1 ? this.recommendedTenantDeploymentOption() : this.state.deploymentMode;\n const canOnlyDeployTenanted = this.canOnlyDeployTenanted();\n const tenantTagsIds: string[] = [];\n this.setState({\n selectedEnvironmentIds: environmentIds,\n selectedTenantIds: [],\n selectedTenantTagIds: tenantTagsIds,\n resultantTenants: [],\n availableTenants,\n deploymentMode,\n deployToAllAvailableTenants: false,\n }, () => {\n canOnlyDeployTenanted ? this.setMatchedTenants() : this.notifyParentForSelectionChangedFromState();\n });\n };\n private onTenantsOrTenantTagsSelected = (tenantIds: string[], tenantTags: string[]) => {\n const tenantsGotThisRelease = this.getTenantsWhoHaveThisReleaseAsCurrent(this.state.availableTenants, this.props.currentDashboardItems, this.state.selectedEnvironmentIds, this.props.runbookSnapshot.Id);\n const explicitSelectedTenantsHaveGotThisRelease = tenantIds.length > 0 ? tenantsGotThisRelease.some((t) => tenantIds.includes(t.Id)) : false;\n this.setState({\n selectedTenantTagIds: tenantTags,\n selectedTenantIds: tenantIds,\n skipTenantsWhoHaveTheReleaseAsCurrent: !explicitSelectedTenantsHaveGotThisRelease,\n showSkipPanel: !explicitSelectedTenantsHaveGotThisRelease,\n }, this.setMatchedTenants);\n };\n private async loadTagMatched(availableTenants: TenantResource[], selectedTenantIds: string[], selectedTenantTagIds: string[]): Promise {\n if (selectedTenantIds.length === 0 && selectedTenantTagIds.length === 0) {\n return [];\n }\n const matchedTenantIds = selectedTenantTagIds.length === 0 ? selectedTenantIds : this.determineTagsMatchedTenantIds(await repository.Tenants.tagTest(selectedTenantIds || [], selectedTenantTagIds));\n return availableTenants.filter((t) => matchedTenantIds.includes(t.Id));\n }\n private onTenantFilterRuleChange = (value: boolean) => {\n this.setState({ skipTenantsWhoHaveTheReleaseAsCurrent: value }, this.setMatchedTenants);\n };\n private buildTenantedOrUntenantedRadioGroup = () => {\n return (\n \n \n );\n };\n private onDeploymentModeChanged = (deploymentMode: DeploymentMode) => {\n this.setState((prev) => ({\n deploymentMode,\n deployToAllAvailableTenants: deploymentMode === DeploymentMode.Untenanted ? false : prev.deployToAllAvailableTenants,\n }), () => {\n if (deploymentMode === DeploymentMode.Untenanted) {\n this.onTenantsOrTenantTagsSelected([], []);\n }\n else {\n const tagIds = this.state.selectedTenantTagIds;\n this.onTenantsOrTenantTagsSelected(this.state.selectedTenantIds, tagIds);\n }\n });\n };\n private toggleAllApplicableTenants = (selectAll: boolean) => {\n selectAll\n ? this.setState({\n selectedTenantIds: this.state.availableTenants.map((x) => x.Id),\n deployToAllAvailableTenants: selectAll,\n skipTenantsWhoHaveTheReleaseAsCurrent: true,\n showSkipPanel: true,\n }, this.setMatchedTenants)\n : this.setState({\n selectedTenantIds: [],\n selectedTenantTagIds: [],\n deployToAllAvailableTenants: selectAll,\n }, this.setMatchedTenants);\n };\n private getTenantIdsWhoDoNotHaveThisRelease = (tenantsToFilter: TenantResource[], tenantsWhoGotThisReleaseAsCurrent: TenantResource[]) => {\n return tenantsToFilter.filter((t) => !tenantsWhoGotThisReleaseAsCurrent.some((tt) => tt.Id === t.Id)).map((x) => x.Id);\n };\n private getTenantsWhoHaveThisReleaseAsCurrent(tenantsToBeFilter: TenantResource[], currentDashboardItems: RunbooksDashboardItemResource[], selectedEnvironmentIds: string[], runbookSnapshotId: string) {\n return selectedEnvironmentIds.length === 1\n ? tenantsToBeFilter.filter((t) => {\n return currentDashboardItems.some((d) => d.TenantId === t.Id && d.EnvironmentId === selectedEnvironmentIds[0] && d.RunbookSnapshotId === runbookSnapshotId && d.State === TaskState.Success);\n })\n : [];\n }\n private expandTheTenantExpander = () => {\n store.dispatch(expanderActions.onExpanderStateChanged({ containerKey: \"\", key: \"tenants\", expanded: true }));\n };\n private notifyParentForSelectionChanged = (environments: EnvironmentSelection[], tenantIds: string[], tenantTagsUsed: boolean) => {\n if (this.state.deploymentMode === DeploymentMode.Tenanted && tenantIds.length === 0) {\n // Tenanted deployment but no tenants, should not fall back to environment\n this.props.onSelectionUpdated([], [], tenantTagsUsed);\n }\n else {\n this.props.onSelectionUpdated(environments, tenantIds, tenantTagsUsed);\n }\n };\n private canDeploymentBeTenanted = (): boolean => {\n return this.state.selectedEnvironmentIds.length === 1;\n };\n private canOnlyDeployTenanted = (): boolean => {\n const userCanNotPerformUntenantedDeployments = !isAllowed({ permission: Permission.RunbookRunCreate, project: this.props.project.Id, wildcard: true });\n return this.props.tenantedDeploymentMode === TenantedDeploymentMode.Tenanted || userCanNotPerformUntenantedDeployments;\n };\n private recommendedTenantDeploymentOption = (selectedTenantTagIds: string[] = [], selectedTenantIds: string[] = []): DeploymentMode => {\n return selectedTenantTagIds.length > 0 || selectedTenantIds.length > 0 || this.canOnlyDeployTenanted() ? DeploymentMode.Tenanted : DeploymentMode.Untenanted;\n };\n private isMultiTenancyEnabledForThisProject = (): boolean => {\n return this.props.tenantedDeploymentMode === TenantedDeploymentMode.TenantedOrUntenanted || this.props.tenantedDeploymentMode === TenantedDeploymentMode.Tenanted;\n };\n private buildTenantSummary = () => {\n const tagChips = ;\n const onlyTenantsSelected = () => {\n const tenantChips = this.state.resultantTenants && this.state.resultantTenants.length > 0 ? this.state.resultantTenants.map((tenant) => ) : [];\n return Summary.summary(
    {tenantChips}
    );\n };\n const onlyTenantTagsSelected = () => {\n return Summary.summary(
    Tenants tagged with {tagChips}
    );\n };\n const bothTenantsAndTagsSelected = () => {\n const tenantChips = this.state.selectedTenantIds.map((id) => );\n return Summary.summary(
    \n {tenantChips} and tenants tagged with {tagChips}\n
    );\n };\n if (this.state.selectedTenantTagIds.length === 0 && this.state.selectedTenantIds.length > 0) {\n return onlyTenantsSelected();\n }\n if (this.state.selectedTenantTagIds.length > 0 && this.state.selectedTenantIds.length === 0) {\n return onlyTenantTagsSelected();\n }\n if (this.state.selectedTenantTagIds.length > 0 && this.state.selectedTenantIds.length > 0) {\n return bothTenantsAndTagsSelected();\n }\n return Summary.placeholder(\"No tenants are selected\");\n };\n private buildEnvironmentSummary = () => {\n const LookupEnvironmentChip = LookupResourceChipComponent();\n const environmentChips = this.state.selectedEnvironmentIds\n ? this.state.selectedEnvironmentIds.map((envId) => ( }/>))\n : [];\n return environmentChips.length > 0 ? Summary.summary(
    {environmentChips}
    ) : Summary.placeholder(\"No environments are selected\");\n };\n private explainLackOfTenantSelection() {\n const selectedEnvironmentCount = this.state.selectedEnvironmentIds.length;\n return (\n \n {selectedEnvironmentCount > 1 && \"Tenant selection is only available for runs targeting a single environment.\"}\n {selectedEnvironmentCount === 0 && \"Tenant selection requires an environment.\"}\n }/>\n );\n }\n private areTenantsRequiredForThisProject() {\n return this.props.tenantedDeploymentMode === TenantedDeploymentMode.Tenanted;\n }\n static displayName = \"EnvironmentAndTenantSelectorForRunbooks\";\n}\nexport default EnvironmentAndTenantSelectorForRunbooks;\n","/* eslint-disable @typescript-eslint/no-explicit-any */\nimport { Callout } from \"@octopusdeploy/design-system-components\";\nimport type { TaskResource } from \"@octopusdeploy/octopus-server-client\";\nimport { links } from \"@octopusdeploy/portal-routes\";\nimport * as React from \"react\";\nimport InternalLink from \"../../../../../components/Navigation/InternalLink/InternalLink\";\ninterface PendingInterruptionsProps {\n pendingInterruptions: Array>;\n}\nconst PendingInterruptions: React.StatelessComponent = (props) => {\n return (
    \n {props.pendingInterruptions && props.pendingInterruptions.length > 0 && (\n
      \n {props.pendingInterruptions.map((p, index) => (
    • \n {p.Description}\n
    • ))}\n
    \n
    )}\n
    );\n};\nPendingInterruptions.displayName = \"PendingInterruptions\"\nexport default PendingInterruptions;\n","import type { GitBranchResource, GitRef, ResourceCollection, GitDependencyRequestContext } from \"@octopusdeploy/octopus-server-client\";\nimport { isGitBranch, toGitBranch } from \"@octopusdeploy/octopus-server-client\";\nimport type { GitRefOption } from \"~/areas/projects/components/GitRefDropDown/GitRefOption\";\nimport { repository } from \"~/clientInstance\";\nconst getTextValuePairForBranch = (branch: GitBranchResource, defaultBranch: string): GitRefOption => {\n const isDefaultBranch = branch.Name === defaultBranch;\n return {\n value: branch.CanonicalName,\n isDefault: isDefaultBranch,\n canWrite: !branch.IsProtected,\n };\n};\nconst buildBranchNamesList = (branches: GitBranchResource[], defaultBranch: string): GitRefOption[] => branches.map((branch) => getTextValuePairForBranch(branch, defaultBranch));\nconst getFilteredBranchesList = async (requestContext: GitDependencyRequestContext, defaultBranch: string, filterTerm: string): Promise => {\n const filteredBranchResources = await repository.Projects.getBranchesForGitDependency(requestContext, filterTerm);\n let branches = filteredBranchResources.Items;\n // If the default branch is in the list, put it at the top\n const defaultBranchIndex = getDefaultBranchIndex(branches, defaultBranch);\n if (defaultBranchIndex !== -1) {\n const defaultBranch = branches.splice(defaultBranchIndex, 1);\n branches = [...defaultBranch, ...branches];\n }\n return buildBranchNamesList(branches, defaultBranch);\n};\nconst getExternalBranchesList = async (requestContext: GitDependencyRequestContext, selectedRef: GitRef | undefined, defaultBranch: string): Promise<[\n GitRefOption[],\n number\n]> => {\n const branchResources: ResourceCollection = await repository.Projects.getBranchesForGitDependency(requestContext);\n let branches = branchResources.Items;\n // Add the currently selected branch to the list (if necessary)\n if (selectedRef && isGitBranch(selectedRef) && !branches.find((item) => item.CanonicalName === selectedRef)) {\n const selectedBranchResource = await repository.Projects.getBranchForGitDependency(requestContext, selectedRef);\n // It may be that the current branch has been deleted directly in the repo. Therefore, only add it if it was found.\n if (selectedBranchResource !== null) {\n branches = [selectedBranchResource, ...branches];\n }\n }\n // Add the default branch to the list (if necessary)\n const defaultBranchIndex = getDefaultBranchIndex(branches, defaultBranch);\n // If the default branch isn't in the list, add it\n if (defaultBranchIndex === -1) {\n // It may be that the default branch has been deleted directly in the repo. Therefore, only add it if it was found.\n const branchResource = await repository.Projects.getBranchForGitDependency(requestContext, defaultBranch);\n // If we have found the default branch, put it at the top\n if (branchResource !== null) {\n branches = [branchResource, ...branches];\n }\n }\n else {\n // If the default branch is already in the list, move it to the top\n const defaultBranch = branches.splice(defaultBranchIndex, 1);\n branches = [...defaultBranch, ...branches];\n }\n return [buildBranchNamesList(branches, defaultBranch), branchResources.TotalResults];\n};\nconst getDefaultBranchIndex = (branches: GitBranchResource[], defaultBranch: string) => branches.findIndex((item) => item.CanonicalName === defaultBranch || item.CanonicalName === toGitBranch(defaultBranch));\nexport { getExternalBranchesList, getFilteredBranchesList, getTextValuePairForBranch, buildBranchNamesList };\n","import { type GitDependencyRequestContext, type GitRef } from \"@octopusdeploy/octopus-server-client\";\nimport React, { useCallback, useMemo, useState } from \"react\";\nimport { RefTypes } from \"~/areas/projects/components/GitRefDropDown/GitRefDropDown\";\nimport type { GitRefOption } from \"~/areas/projects/components/GitRefDropDown/GitRefOption\";\nimport type { GitRefSelectorProps } from \"~/areas/projects/components/GitRefSelector/GitRefSelector\";\nimport { GitRefSelector } from \"~/areas/projects/components/GitRefSelector/GitRefSelector\";\nimport { useProjectContext } from \"~/areas/projects/context/index\";\nimport { repository } from \"~/clientInstance\";\nimport type { DoBusyTask } from \"~/components/DataBaseComponent/index\";\nimport { DataBaseComponent } from \"~/components/DataBaseComponent/index\";\nimport { getExternalBranchesList, getFilteredBranchesList } from \"~/utils/BranchHelpers/ExternalBranchHelpers\";\ntype ExternalGitRefSelectorProps = Omit & {\n actionName: string;\n channelId: string | undefined;\n releaseId: string | undefined;\n runbookId: string | undefined;\n runbookSnapshotId: string | undefined;\n gitDependencyName: string | undefined;\n};\ntype ExternalGitRefSelectorInternalProps = ExternalGitRefSelectorProps & {\n doBusyTask: DoBusyTask;\n busy: Promise | undefined;\n};\nconst ExternalGitRefSelectorInternal = (props: ExternalGitRefSelectorInternalProps) => {\n const { doBusyTask, actionName, gitDependencyName, defaultBranch, channelId, releaseId, runbookId, runbookSnapshotId, ...rest } = props;\n const [items, setItems] = useState([]);\n const [totalItemCount, setTotalItemCount] = useState(0);\n const { state: { model: project, gitRef: projectGitRef }, } = useProjectContext();\n const requestContext: GitDependencyRequestContext = useMemo(() => ({\n project,\n projectGitRef,\n actionName,\n gitDependencyName,\n channelId,\n releaseId,\n runbookId,\n runbookSnapshotId,\n }), [actionName, channelId, gitDependencyName, project, projectGitRef, releaseId, runbookId, runbookSnapshotId]);\n //we do this inside a callback so the doBusyTask state change doesn't force a re-render\n const loadItems = useCallback((refType: RefTypes, selectedGitRef: GitRef | undefined): void => {\n //We clear these before loading more\n setItems([]);\n setTotalItemCount(0);\n doBusyTask(async () => {\n let items: GitRefOption[] = [];\n let totalCount: number = 0;\n if (refType === RefTypes.Branches) {\n const [branchItems, total] = await getExternalBranchesList(requestContext, selectedGitRef, defaultBranch);\n items = branchItems;\n totalCount = total;\n }\n else if (refType === RefTypes.Tags) {\n const tagResources = await repository.Projects.getTagsForGitDependency(requestContext);\n items = tagResources.Items.map((t) => ({\n value: t.CanonicalName,\n isDefault: false,\n canWrite: false,\n }));\n totalCount = tagResources.TotalResults;\n }\n setItems(items);\n setTotalItemCount(totalCount);\n });\n }, [defaultBranch, doBusyTask, requestContext]);\n const searchItems = useCallback(async (refType: RefTypes, searchTerm: string): Promise => {\n let items: GitRefOption[] = [];\n await doBusyTask(async () => {\n if (refType === RefTypes.Tags) {\n const tagResources = await repository.Projects.getTagsForGitDependency(requestContext, searchTerm);\n items = tagResources.Items.map((t) => ({\n value: t.CanonicalName,\n isDefault: false,\n canWrite: false,\n }));\n }\n else {\n items = await getFilteredBranchesList(requestContext, defaultBranch, searchTerm);\n }\n });\n return items;\n }, [defaultBranch, doBusyTask, requestContext]);\n return ;\n};\n//We wrap this in a DataBaseComponent, so we can take advantage of the existing logic for use of the doBusyTask\nexport class ExternalGitRefSelector extends DataBaseComponent {\n constructor(props: ExternalGitRefSelectorProps) {\n super(props);\n this.state = {};\n }\n render() {\n return ;\n }\n static displayName = \"ExternalGitRefSelector\";\n}\n","/* eslint-disable @typescript-eslint/no-non-null-assertion */\nimport { ActionButton, ActionButtonType } from \"@octopusdeploy/design-system-components\";\nimport { Repository } from \"@octopusdeploy/octopus-server-client\";\nimport type { ReactElement, ReactNode } from \"react\";\nimport React, { Component } from \"react\";\nimport type { BusyState } from \"~/components/BusyFromPromise/BusyFromPromise\";\nimport styles from \"./LoadMoreWrapper.module.less\";\ninterface LoadMoreWrapperProps {\n items: T[];\n initialTakeSize?: number;\n renderLoadMore: (children: ReactNode) => ReactElement;\n renderItem: (item: T, index: number) => ReactElement;\n useAnchorForLoadMore?: boolean;\n showLoadAll?: boolean;\n onLoadMore?: (takeSize: number) => Promise;\n loadMoreDisabled?: BusyState | null;\n alwaysShowLoadMore?: boolean;\n}\ninterface LoadMoreWrapperState {\n itemsTakeSize: number;\n loadedAll: boolean;\n}\nconst LoadLink = (props: {\n onClick: () => void;\n label: string;\n}) => ();\nclass LoadMoreWrapper extends Component, LoadMoreWrapperState> {\n //eslint-disable-next-line @typescript-eslint/no-explicit-any\n public static defaultProps: Partial> = {\n initialTakeSize: Repository.takeDefaultPageSize,\n showLoadAll: true,\n useAnchorForLoadMore: false,\n loadMoreDisabled: false,\n alwaysShowLoadMore: false,\n };\n constructor(props: LoadMoreWrapperProps) {\n super(props);\n this.state = { itemsTakeSize: props.initialTakeSize!, loadedAll: props.items.length < props.initialTakeSize! };\n }\n render() {\n const packagesToShow = this.props.items ? this.props.items.slice(0, this.state.itemsTakeSize) : [];\n return (<>\n {packagesToShow.map(this.props.renderItem)}\n {this.renderLoadMoreAction()}\n );\n }\n renderLoadMoreAction() {\n const numberOfItems = this.props.items && this.props.items.length;\n const showLoadMoreAction = numberOfItems > this.state.itemsTakeSize || (this.props.alwaysShowLoadMore && !this.state.loadedAll);\n const loadMoreLabel = \"Load more\";\n const loadAllLabel = \"Load all\";\n let loadMoreComponent: ReactElement | null = null;\n if (showLoadMoreAction) {\n loadMoreComponent = this.props.renderLoadMore(
    \n {this.props.useAnchorForLoadMore ? () : ( this.onLoadMore()}/>)}\n {this.props.showLoadAll && }\n
    );\n }\n return loadMoreComponent;\n }\n private onLoadMore = async () => {\n const takeSize = this.state.itemsTakeSize + this.props.initialTakeSize!;\n if (this.props.onLoadMore) {\n const numLoaded = await this.props.onLoadMore(takeSize);\n this.setState({ itemsTakeSize: takeSize, loadedAll: numLoaded < takeSize });\n return;\n }\n this.setState({ itemsTakeSize: takeSize });\n };\n private onLoadAll = async () => {\n const takeSize = Repository.takeAll;\n await this.props.onLoadMore?.(takeSize);\n this.setState({ itemsTakeSize: takeSize, loadedAll: true });\n };\n}\nexport default LoadMoreWrapper;\n","import * as React from \"react\";\nimport LoadMoreWrapper from \"~/components/LoadMoreWrapper/LoadMoreWrapper\";\nimport { withTheme } from \"~/components/Theme/index\";\nimport styles from \"./style.module.less\";\nexport const FilesList = (props: {\n filePaths: string[];\n actionName: string;\n}) => withTheme((theme) => (
      \n
    • {children}
    • } renderItem={(file, index) => (
    • \n \n \n \n {file}\n
    • )}/>\n
    ));\n","import type { GitReference } from \"@octopusdeploy/octopus-server-client\";\n/**\n * Used to display the selected git reference for a release.\n */\nexport interface GitReferenceModel {\n ActionName: string;\n RepositoryUri: string;\n FilePathFilters: string[];\n GitResource: GitReference;\n GitResourceReferenceName: string;\n}\n/**\n * Used when creating/editing a release.\n * Maps to ReleaseTemplateGitResource on the server.\n */\nexport interface GitReferenceEditInfo {\n ActionName: string;\n GitCredentialId?: string;\n RepositoryUri: string;\n DefaultBranch: string;\n IsResolvable: boolean;\n FilePathFilters: string[];\n LastGitResource?: GitReference;\n SpecificGitResource: GitReference;\n GitReferenceType: GitReferenceType;\n GitResourceReferenceName?: string;\n}\nexport enum GitReferenceType {\n last = \"last\",\n specific = \"specific\"\n}\n","import { Callout, RadioButton, RadioButtonGroup, Tooltip } from \"@octopusdeploy/design-system-components\";\nimport type { GitRef, ProjectResource } from \"@octopusdeploy/octopus-server-client\";\nimport { toGitBranch } from \"@octopusdeploy/octopus-server-client\";\nimport cn from \"classnames\";\nimport type { PropsWithChildren } from \"react\";\nimport * as React from \"react\";\nimport { ExternalGitRefSelector } from \"~/areas/projects/components/GitRefSelector/ExternalGitRefSelector\";\nimport styles from \"~/areas/projects/components/Releases/Edit/style.module.less\";\nimport { GitRefChip } from \"~/areas/projects/components/Releases/GitRefChip/GitRefChip\";\nimport { FilesList } from \"~/areas/projects/components/Releases/GitResources/FilesList\";\nimport type { GitReferenceEditInfo } from \"~/areas/projects/components/Releases/gitResourceModel\";\nimport { GitReferenceType } from \"~/areas/projects/components/Releases/gitResourceModel\";\nimport { GitResourceReleaseSelectionContextualHelp } from \"~/components/ContextualHelp/ContextualHelpSnippets\";\nimport { withTheme } from \"~/components/Theme/index\";\nimport WarningIcon from \"~/components/WarningIcon/index\";\nimport { CardFill } from \"~/components/form/Sections/ExpandableFormSection\";\nimport { ExpandableFormSection, Summary } from \"~/components/form/index\";\nimport type { DataTableRowProps } from \"~/primitiveComponents/dataDisplay/DataTable/DataTableRow\";\nimport { DataTable, DataTableBody, DataTableHeader, DataTableHeaderColumn, DataTableRow, DataTableRowColumn } from \"~/primitiveComponents/dataDisplay/DataTable/index\";\ntype GitReferenceDataTableRowProps = PropsWithChildren;\nconst GitResourceDataTableRow = (props: GitReferenceDataTableRowProps) => {\n const { accessibleName, ...otherProps } = props;\n const accessibilityProps = {\n role: \"radiogroup\",\n \"aria-label\": accessibleName,\n };\n return (\n {props.children}\n );\n};\ntype GitResourceSectionProps = {\n project: Readonly;\n context: \"Release\" | \"Runbook\";\n gitResources: GitReferenceEditInfo[];\n onUpdateGitRef: (gitRef: GitReferenceEditInfo) => void;\n channelId?: string;\n releaseId?: string;\n runbookId?: string;\n runbookSnapshotId?: string;\n showLastGitResource?: boolean;\n actionsThatViolateGitResourceRules?: Set;\n};\nexport const GitResourcesSection = (props: GitResourceSectionProps) => {\n const showLastGitResource = props.gitResources && props.gitResources.some((gr) => gr.LastGitResource !== null) && props.showLastGitResource;\n const unresolvableResources = props.gitResources && props.gitResources.filter((r) => !r.IsResolvable);\n const buildGitResourceRadioButton = (gitRef: GitReferenceEditInfo, type: GitReferenceType, label: React.ReactNode) => ( {\n if (type === GitReferenceType.specific)\n gitRef.SpecificGitResource = { GitRef: toGitBranch(gitRef.DefaultBranch) };\n gitRef.GitReferenceType = newValue;\n props.onUpdateGitRef(gitRef);\n }}>\n \n );\n const getSummary = () => {\n if (!props.gitResources || props.gitResources.length === 0) {\n return Summary.placeholder(\"No Git references included\");\n }\n if (props.gitResources.length === 1) {\n return Summary.summary(\"1 Git reference included\");\n }\n return Summary.summary(`${props.gitResources.length} Git references included`);\n };\n const onSpecificRefChange = (gitRef: GitReferenceEditInfo, ref: GitRef) => {\n gitRef.GitReferenceType = GitReferenceType.specific;\n gitRef.SpecificGitResource = {\n GitRef: ref,\n };\n props.onUpdateGitRef(gitRef);\n };\n return withTheme((theme) => ( 0} chip={props.actionsThatViolateGitResourceRules && props.actionsThatViolateGitResourceRules.size > 0 ? (\n Channel Git resource rules are not satisfied by: {[...props.actionsThatViolateGitResourceRules].join(\", \")}.\n }>\n \n ) : undefined}>\n
    \n {unresolvableResources.length > 0 && (\n One or more steps with Git resources contain variables which are not resolvable at release creation:\n
      \n {unresolvableResources.map((r) => (
    • {r.ActionName}
    • ))}\n
    \n
    )}\n \n \n \n Step Repository\n {showLastGitResource && Last}\n \n Specific \n \n \n \n \n {props.gitResources &&\n props.gitResources.map((r, ix) => (\n \n
    \n {r.ActionName}\n {!!r.GitResourceReferenceName && /{r.GitResourceReferenceName}}\n
    \n
    {r.RepositoryUri}
    \n {r.FilePathFilters?.length > 0 && }\n
    \n {showLastGitResource && (\n {r.LastGitResource && buildGitResourceRadioButton(r, GitReferenceType.last, )}\n )}\n \n {buildGitResourceRadioButton(r, GitReferenceType.specific, onSpecificRefChange(r, ref)} allowBranchCreation={false}/>)}\n \n
    ))}\n
    \n
    \n
    \n
    ));\n};\n","/* eslint-disable @typescript-eslint/no-non-null-assertion */\nimport cn from \"classnames\";\nimport * as React from \"react\";\nimport { GitRefChip } from \"~/areas/projects/components/Releases/GitRefChip/GitRefChip\";\nimport { FilesList } from \"~/areas/projects/components/Releases/GitResources/FilesList\";\nimport type { GitReferenceModel } from \"~/areas/projects/components/Releases/gitResourceModel\";\nimport { GitResourcePathContextualHelp, GitResourceReleaseGitReferenceContextualHelp } from \"~/components/ContextualHelp/ContextualHelpSnippets\";\nimport type { DataBaseComponentState } from \"~/components/DataBaseComponent/index\";\nimport DataBaseComponent from \"~/components/DataBaseComponent/index\";\nimport Section from \"~/components/Section\";\nimport { withTheme } from \"~/components/Theme/index\";\nimport { DataTable, DataTableBody, DataTableHeader, DataTableHeaderColumn, DataTableRow, DataTableRowColumn } from \"~/primitiveComponents/dataDisplay/DataTable\";\nimport Note from \"~/primitiveComponents/form/Note/Note\";\nimport styles from \"./Edit/style.module.less\";\ninterface GitResourcesListProps {\n gitReferences: GitReferenceModel[];\n}\nexport class GitResourcesList extends DataBaseComponent {\n constructor(props: GitResourcesListProps) {\n super(props);\n this.state = {};\n }\n render() {\n const showFilePaths = this.props.gitReferences.some((g) => g.FilePathFilters.length > 0);\n return withTheme((theme) => (
    \n {this.props.gitReferences && this.props.gitReferences.length > 0 ? (\n \n \n \n
    Step Repository
    \n
    \n {showFilePaths && (\n Paths \n )}\n \n Git Reference \n \n
    \n
    \n \n {this.props.gitReferences.map((r, ix) => (\n \n
    \n {r.ActionName}\n {!!r.GitResourceReferenceName && /{r.GitResourceReferenceName}}\n
    \n {r.RepositoryUri}\n
    \n {showFilePaths && (\n \n )}\n \n {r.GitResource !== null && }\n \n
    ))}\n
    \n
    ) : (
    \n There are no Git resource references associated with any steps.\n
    )}\n
    ));\n }\n static displayName = \"GitResourcesList\";\n}\n","import * as React from \"react\";\nimport { useDispatch } from \"react-redux\";\nimport { expanderActions } from \"../form/Sections/reducers/expanders\";\nexport const useSetExpanderState = () => {\n const dispatch = useDispatch();\n return React.useCallback((key: string, open: boolean) => {\n dispatch(expanderActions.onExpanderStateChanged({ containerKey: null, key, expanded: open }));\n }, [dispatch]);\n};\n","import { LinearProgress } from \"@octopusdeploy/design-system-components\";\nimport React from \"react\";\nimport { CustomDialog } from \"~/components/Dialog/CustomDialog\";\nimport { CustomDialogContent, CustomDialogTitleBar, SmallDialogFrame } from \"~/components/DialogLayout/Custom\";\ninterface ProgressDialogProps {\n status: ProgressDialogStatus;\n title: string;\n content: string | React.ReactNode;\n}\nexport type ProgressDialogStatus = {\n type: \"in progress\";\n percentComplete: number;\n} | {\n type: \"not in progress\";\n};\nconst ProgressDialog: React.FC = ({ status, title, content }) => {\n const computedContent = typeof content === \"string\" ?

    {content}

    : content;\n return ( null} render={() => (\n \n \n {computedContent}\n \n \n )}/>);\n};\nProgressDialog.displayName = \"ProgressDialog\"\nexport default ProgressDialog;\n","/* eslint-disable @typescript-eslint/no-explicit-any */\n/* eslint-disable @typescript-eslint/consistent-type-assertions */\nimport type { OctopusError } from \"@octopusdeploy/octopus-server-client\";\nfunction findKey(val: string, template: T) {\n if (!template) {\n return val;\n }\n const found = Object.keys(template).find((k) => k.toLowerCase() === val.toLowerCase());\n return found ? found : val;\n}\nexport default function matchErrorsToFieldNames(err: OctopusError, template: T) {\n const details = err.Details\n ? Object.keys(err.Details).reduce((acc, val) => {\n (acc as any)[findKey(val, template)] = err.Details ? err.Details[val] : null;\n return acc;\n }, {})\n : {};\n return {\n ...details,\n };\n}\n","import type { GitPersistenceSettings, GitRef, ProjectResource, ValidateGitRefV2Response } from \"@octopusdeploy/octopus-server-client\";\nimport { HasGitPersistenceSettings } from \"@octopusdeploy/octopus-server-client\";\nimport type { GitRefQueryParams, QueryParamValuesSetter } from \"@octopusdeploy/portal-routes\";\nimport { useEffect, useRef, useState } from \"react\";\nimport { repository } from \"~/clientInstance\";\nimport { useProjectContext } from \"../../context\";\nimport { lastAccessedGitRef } from \"../../context/LastAccessedGitRef\";\nexport interface GitRefQueryParamsProps {\n queryParams: GitRefQueryParams;\n setQueryParams: QueryParamValuesSetter;\n}\nexport function useProjectRunbooksGitRef(project: ProjectResource, queryParams: GitRefQueryParams, setQueryParams: QueryParamValuesSetter, initialValidationResult?: ValidateGitRefV2Response) {\n return useProjectGitRef(project, queryParams, setQueryParams, (settings) => settings.ConversionState.RunbooksAreInGit, initialValidationResult);\n}\nexport function useProjectGitRef(project: ProjectResource, queryParams: GitRefQueryParams, setQueryParams: QueryParamValuesSetter, isGitEnabled?: (settings: GitPersistenceSettings) => boolean, initialValidationResult?: ValidateGitRefV2Response): [\n GitRef | undefined,\n (gitRef: string) => void,\n ValidateGitRefV2Response | undefined\n] {\n const projectContext = useProjectContext();\n const validatedGitRef = useValidatedGitRef(project, queryParams.gitRef, initialValidationResult);\n useEffect(() => {\n if (validatedGitRef && validatedGitRef.GitRef) {\n // If we do have a GitRef in the query parameters, but it's different to our validated one, update it.\n const gitRef = validatedGitRef.GitRef.CanonicalName;\n setQueryParams((prev) => ({ ...prev, gitRef }));\n // Keep the last accessed GitRef up to date\n lastAccessedGitRef.save(project, validatedGitRef.GitRef.CanonicalName);\n projectContext.setState((previous) => ({ ...previous, gitRef: validatedGitRef.GitRef }));\n }\n // eslint-disable-next-line react-hooks/exhaustive-deps\n }, [project, validatedGitRef]);\n if (!HasGitPersistenceSettings(project.PersistenceSettings)) {\n return [undefined, () => { }, undefined];\n }\n if (isGitEnabled && !isGitEnabled(project.PersistenceSettings)) {\n // Caller can pass a callback to see if the project is actually Git\n // enabled or not. If they've given us one, evaluate it.\n return [undefined, () => { }, undefined];\n }\n if (!queryParams.gitRef) {\n // If we don't have the GitRef in the query parameter, fill it with the last accessed one.\n setQueryParams((prev) => ({ ...prev, gitRef: lastAccessedGitRef.get(project) }));\n }\n return [\n // Hierarchy of GitRef preference:\n // 1. If we have a validated result, that is the best answer we're going to get\n // 2. If we have a GitRef in the query parameters, they've provided it, so use that\n // 3. If we don't have anything yet, use the last accessed GitRef (because that will be getting put\n // in the query parameter on the next load)\n validatedGitRef?.GitRef?.CanonicalName ?? queryParams.gitRef ?? lastAccessedGitRef.get(project),\n (gitRef: string) => {\n setQueryParams((prev) => ({ ...prev, gitRef }));\n },\n validatedGitRef,\n ];\n}\nexport function useValidatedGitRef(project: ProjectResource, gitRef: string, initialValidationResult: ValidateGitRefV2Response | undefined) {\n const [validationResult, setValidationResult] = useState(initialValidationResult);\n const isInitialLoad = useRef(true);\n useEffect(() => {\n const execEffect = () => {\n const fetch = async () => {\n const validationResult = await repository.Projects.validateGitRef(project, gitRef);\n if (!stale) {\n setValidationResult(validationResult);\n }\n };\n let stale = false;\n fetch();\n return () => {\n stale = true;\n };\n };\n if (!gitRef) {\n return;\n }\n if (isInitialLoad.current) {\n isInitialLoad.current = false;\n if (initialValidationResult) {\n return;\n }\n return execEffect();\n }\n return execEffect();\n }, [project, gitRef, initialValidationResult]);\n return validationResult;\n}\n","import { RadioButton, RadioButtonGroup } from \"@octopusdeploy/design-system-components\";\nimport { DebugMode } from \"@octopusdeploy/octopus-server-client\";\nimport * as React from \"react\";\nimport ExternalLink from \"~/components/Navigation/ExternalLink\";\nimport Note from \"~/primitiveComponents/form/Note/Note\";\nimport ExpandableFormSection from \"../../../../../components/form/Sections/ExpandableFormSection\";\nimport Summary from \"../../../../../components/form/Sections/Summary\";\ninterface DebugOptionsProps {\n debugMode: DebugMode;\n onChange(value: DebugMode): void;\n}\nconst DebugOptions = (props: DebugOptionsProps) => {\n return (\n
    \n \n \n \n {/**/}\n \n
    \n \n Debug logging contributes the OctopusPrintVariables and OctopusPrintEvaluatedVariables variables. See our documentation for more information.\n \n
    );\n function buildSummary(debugMode: DebugMode) {\n return debugMode === DebugMode.Log ? Summary.summary(\"Deploy with variable evaluation logs enabled\") : Summary.default(\"Inactive\");\n }\n};\nexport default DebugOptions;\n","export type StaticEnvironmentSelection = {\n type: \"Static\";\n environmentId: string;\n name: string;\n};\nexport type EnvironmentSelection = StaticEnvironmentSelection;\nexport function getStaticEnvironments(environments: EnvironmentSelection[]) {\n return environments.filter(isEnvironmentSelectionStatic);\n}\nexport function getEnvironmentIds(environments: EnvironmentSelection[]) {\n const staticEnvironments = getStaticEnvironments(environments);\n return staticEnvironments.map((e) => e.environmentId);\n}\nexport function isEnvironmentSelectionStatic(environment: EnvironmentSelection): environment is StaticEnvironmentSelection {\n return environment.type === \"Static\";\n}\n","import moment from \"moment/moment\";\nexport function formatTimeDifference(fromDate: moment.Moment | string | undefined | null, toDate: moment.Moment | string | undefined | null, diffInSeconds?: number) {\n if (!fromDate && !diffInSeconds) {\n return null;\n }\n let diff = 0;\n if (diffInSeconds) {\n diff = diffInSeconds;\n }\n else {\n const fromMoment = moment(fromDate);\n const toMoment = toDate ? moment(toDate) : moment();\n diff = fromMoment.diff(toMoment, \"s\");\n }\n const duration = moment.duration(diff, \"s\");\n const mins = duration.minutes();\n const hours = duration.hours();\n const days = Math.floor(duration.asDays());\n let result = mins === 1 ? \"1 minute\" : `${mins} minutes`;\n result = `${hours === 0 ? \"\" : `${hours === 1 ? \"1 hour\" : `${hours} hours`} and `}${result}`;\n result = `${days === 0 ? \"\" : `${days === 1 ? \"1 day\" : `${days} days`}, `}${result}`;\n return result;\n}\n","/* eslint-disable @typescript-eslint/no-non-null-assertion */\n/* eslint-disable @typescript-eslint/no-explicit-any */\n/* eslint-disable @typescript-eslint/consistent-type-assertions */\nimport { Callout, InlineSnackbar, RadioButton, RadioButtonGroup } from \"@octopusdeploy/design-system-components\";\nimport type { Moment } from \"moment\";\nimport moment from \"moment\";\nimport * as React from \"react\";\nimport { formatTimeDifference } from \"~/areas/projects/components/Releases/Deployments/NowOrLater/formatTimeDifference\";\nimport { DeploymentModelType } from \"~/areas/projects/components/Runbooks/RunbookRunNowLayout\";\nimport type { DataBaseComponentState } from \"~/components/DataBaseComponent/DataBaseComponent\";\nimport { DataBaseComponent } from \"~/components/DataBaseComponent/DataBaseComponent\";\nimport ExpandableFormSection from \"~/components/form/Sections/ExpandableFormSection\";\nimport Summary from \"~/components/form/Sections/Summary\";\nimport DatePicker from \"./DatePicker/DatePicker\";\nimport TimePicker from \"./TimePicker/TimePicker\";\nimport rollForward from \"./rollFoward\";\nimport styles from \"./style.module.less\";\ninterface NowOrLaterProps {\n modelType: DeploymentModelType;\n onScheduleDatesSet(scheduledAt: Moment, expiresAt: Moment): void;\n}\nexport interface NowOrLaterState extends DataBaseComponentState {\n nowOrLater: NowOrLaterEnum;\n scheduledAt: Moment;\n expiresAt: Moment;\n userTimezone: string;\n userUtcOffset: number;\n scheduledDatePopupDate: Moment;\n expiryDatePopupDate: Moment;\n showSnackbar: boolean;\n}\nexport enum NowOrLaterEnum {\n Now = \"Now\",\n Later = \"Later\"\n}\nfunction initialState(currentTime: Date): NowOrLaterState {\n const scheduledTime = rollForward(moment(currentTime), 10);\n const expiryTime = rollForward(scheduledTime, 30);\n return {\n nowOrLater: NowOrLaterEnum.Now,\n scheduledAt: moment(scheduledTime),\n expiresAt: moment(expiryTime),\n userTimezone: moment(currentTime).format(\"[GMT] Z\"),\n userUtcOffset: moment(currentTime).utcOffset(),\n expiryDatePopupDate: null!,\n scheduledDatePopupDate: null!,\n showSnackbar: false,\n };\n}\nexport default class NowOrLater extends DataBaseComponent {\n constructor(props: NowOrLaterProps) {\n super(props);\n this.state = initialState(new Date());\n }\n render() {\n const modelTypeLabel = this.props.modelType === DeploymentModelType.Deployment ? \"deployment\" : \"run\";\n const help = this.props.modelType === DeploymentModelType.Deployment ? \"Choose when to start deployment\" : \"Choose when to run your runbook\";\n return (\n
    \n {\n this.setState({ nowOrLater: val as NowOrLaterEnum }, () => this.updateScheduleDates());\n }}>\n \n \n \n {this.state.nowOrLater === NowOrLaterEnum.Later && (
    \n {this.state.expiresAt && this.state.scheduledAt && this.state.expiresAt <= this.state.scheduledAt && }\n\n

    Scheduled start time

    \n
    \n \n \n {this.state.userTimezone}\n
    \n

    Expiry time

    \n
    \n this.setState({ expiresAt }, () => this.updateScheduleDates())} utcOffset={this.state.userUtcOffset} minDate={new Date()}/>\n {\n this.setState({ expiresAt }, () => this.updateScheduleDates());\n }}/>\n {this.state.userTimezone}\n
    \n {this.state.expiresAt > this.state.scheduledAt && (\n The {modelTypeLabel} will start in approximately {formatTimeDifference(this.state.scheduledAt, moment())} \n and must begin within {formatTimeDifference(this.state.expiresAt, this.state.scheduledAt)} of the scheduled start time or it will time out.\n )}\n
    \n
    \n this.setState({ showSnackbar: false })} autoHideDuration={2500}/>\n
    \n
    )}\n
    \n
    );\n }\n private handleScheduledAtChanged = (scheduledAt: Moment) => {\n this.setState((state) => {\n // adjust the expiry to keep the diff the same\n const previousDiff = moment.duration(state.expiresAt.diff(state.scheduledAt));\n const expiresAt = moment(scheduledAt).add(previousDiff);\n return {\n scheduledAt,\n expiresAt,\n };\n }, () => this.updateScheduleDates(true));\n };\n private updateScheduleDates(displayTimeValidationSnackbar?: boolean) {\n if (this.state.nowOrLater !== NowOrLaterEnum.Later) {\n this.props.onScheduleDatesSet(null!, null!);\n return;\n }\n let scheduledAt = this.state.scheduledAt;\n const now = moment().add(1, \"minute\"); // server will return an error error if you schedule for _now_\n if (scheduledAt.isBefore(now)) {\n if (displayTimeValidationSnackbar) {\n this.setState({ showSnackbar: true });\n }\n scheduledAt = now;\n }\n let expiresAt = this.state.expiresAt;\n const minimum = moment(scheduledAt).add(5, \"minutes\");\n if (expiresAt.isBefore(minimum)) {\n expiresAt = minimum;\n }\n this.setState({\n scheduledAt,\n expiresAt,\n });\n this.props.onScheduleDatesSet(scheduledAt, expiresAt);\n }\n private buildSummary() {\n const modelTypeLabel = this.props.modelType === DeploymentModelType.Deployment ? \"deployment\" : \"run\";\n return this.state.nowOrLater === NowOrLaterEnum.Now\n ? Summary.default(\"Now\")\n : Summary.summary(
    \n The {modelTypeLabel} will start in approximately {formatTimeDifference(this.state.scheduledAt, moment())}\n
    );\n }\n static displayName = \"NowOrLater\";\n}\n","import { BooleanRadioButtonGroup, BooleanRadioButton } from \"@octopusdeploy/design-system-components\";\nimport * as React from \"react\";\nimport ExpandableFormSection from \"../../../../../components/form/Sections/ExpandableFormSection\";\nimport Summary from \"../../../../../components/form/Sections/Summary\";\ninterface PackageDownloadOptionsProps {\n forcePackageDownload: boolean;\n onOptionChanged(value: boolean): void;\n}\nconst PackageDownloadOptions: React.StatelessComponent = (props) => {\n return (\n \n \n \n \n );\n function buildSummary() {\n return props.forcePackageDownload ? Summary.summary(\"Re-download packages from feed\") : Summary.default(\"Use cached packages (if available)\");\n }\n};\nPackageDownloadOptions.displayName = \"PackageDownloadOptions\"\nexport default PackageDownloadOptions;\n","export function buildPartialReleaseNotes(originalReleaseNotes: string, numOfLinesToShow: number): [\n string,\n boolean\n] {\n const lines = originalReleaseNotes ? originalReleaseNotes.split(/\\r\\n|\\r|\\n/, numOfLinesToShow + 1) : [];\n if (lines.length > numOfLinesToShow) {\n const truncated = lines.slice(0, numOfLinesToShow);\n return [truncated.join(\"\\n\"), true];\n }\n return [originalReleaseNotes, false];\n}\n","/* eslint-disable @typescript-eslint/no-non-null-assertion */\nimport { ActionButton, ActionButtonType } from \"@octopusdeploy/design-system-components\";\nimport _ from \"lodash\";\nimport * as React from \"react\";\nimport type { DataBaseComponentState } from \"~/components/DataBaseComponent\";\nimport DataBaseComponent from \"~/components/DataBaseComponent\";\nimport Markdown from \"~/components/Markdown\";\nimport { buildPartialReleaseNotes } from \"../releaseNoteHelper\";\ninterface ReleaseChangesDetailProps {\n changesMarkdown: string;\n maxLines?: number;\n}\ninterface ReleaseChangesDetailState extends DataBaseComponentState {\n expanded: boolean;\n}\nexport default class ReleaseChangesDetail extends DataBaseComponent {\n constructor(props: ReleaseChangesDetailProps) {\n super(props);\n this.state = {\n expanded: false,\n };\n }\n render() {\n const [markdown, showButton] = determineRendering(this.props.changesMarkdown, this.props.maxLines, this.state.expanded);\n const buttonLabel = this.state.expanded ? \"Show less\" : \"Show more\";\n return (
    \n \n {showButton && this.toggleExpanded()} label={buttonLabel}/>}\n
    );\n }\n private toggleExpanded(): void {\n this.setState({ expanded: !this.state.expanded });\n }\n static displayName = \"ReleaseChangesDetail\";\n}\nexport function determineRendering(releaseNotes: string, maxLines: number | undefined, expanded: boolean): [\n string,\n boolean\n] {\n const shouldTruncate = _.isNumber(maxLines) && maxLines > 0;\n if (!shouldTruncate) {\n return [releaseNotes, false];\n }\n const [truncatedMarkdown, wasTruncated] = buildPartialReleaseNotes(releaseNotes, maxLines!);\n const showButton = wasTruncated;\n const markdown = expanded ? releaseNotes : truncatedMarkdown;\n return [markdown, showButton];\n}\n","/* eslint-disable @typescript-eslint/no-explicit-any */\nimport { Callout } from \"@octopusdeploy/design-system-components\";\nimport { MachineModelHealthStatusValues, isRunbookProcessResource, Permission } from \"@octopusdeploy/octopus-server-client\";\nimport type { IProcessResource, CreateDeploymentBaseResource } from \"@octopusdeploy/octopus-server-client\";\nimport * as _ from \"lodash\";\nimport * as React from \"react\";\nimport { MachineChip } from \"~/components/Chips/index\";\nimport { DataBaseComponent } from \"~/components/DataBaseComponent/DataBaseComponent\";\nimport PermissionCheck from \"~/components/PermissionCheck/PermissionCheck\";\nimport { Section } from \"~/components/Section/Section\";\nimport ActionSummary from \"../ActionSummary\";\nimport type { ActionToggleInfo } from \"../deploymentStepsWorker\";\nimport styles from \"../style.module.less\";\ninterface ActionPreviewProps {\n deploymentInfo: CreateDeploymentBaseResource;\n stepActionIdsToSkip: string[];\n actions: ActionToggleInfo[];\n process: IProcessResource;\n}\nexport default class ActionPreview extends DataBaseComponent {\n constructor(props: ActionPreviewProps) {\n super(props);\n }\n /**\n * Prevent rerendering as we click around the UI. This function targets the\n * few properties that the render() function actually uses. If there are no\n * changes in those properties, don't rerender.\n *\n * This low level checking is done in response to\n * https://github.com/OctopusDeploy/Issues/issues/4193\n * @param nextProps\n */\n shouldComponentUpdate(nextProps: ActionPreviewProps) {\n return (this.props.actions !== nextProps.actions ||\n this.props.process !== nextProps.process ||\n !_.isEqual(this.props.stepActionIdsToSkip, nextProps.stepActionIdsToSkip) ||\n !_.isEqual(this.props.deploymentInfo.ExcludedMachineIds, nextProps.deploymentInfo.ExcludedMachineIds) ||\n !_.isEqual(this.props.deploymentInfo.SpecificMachineIds, nextProps.deploymentInfo.SpecificMachineIds));\n }\n render() {\n const isRunbooks = isRunbookProcessResource(this.props.process);\n return (
    \n
    \n {this.props.actions &&\n this.props.actions.length > 0 &&\n this.props.actions.map((s, index) => (
    \n
    \n
    {this.props.process && }
    \n
    \n {this.props.stepActionIdsToSkip && !this.props.stepActionIdsToSkip.some((id) => id === s.details.ActionId) && (
    \n \n
    \n {s.details.Machines &&\n s.details.Machines.map((m: any) => {\n const excludedMachineIds = this.props.deploymentInfo.ExcludedMachineIds ? this.props.deploymentInfo.ExcludedMachineIds : [];\n const includedMachineIds = this.props.deploymentInfo.SpecificMachineIds ? this.props.deploymentInfo.SpecificMachineIds : [];\n let isExcluded = false;\n let isUnhealthy = false;\n if (excludedMachineIds.length > 0 && excludedMachineIds.some((e) => e === m.Id)) {\n isExcluded = true;\n }\n if (includedMachineIds.length > 0 && !includedMachineIds.some((e) => e === m.Id)) {\n isExcluded = true;\n }\n if (m.HealthStatus === MachineModelHealthStatusValues.Unhealthy) {\n isUnhealthy = true;\n }\n return ;\n })}\n
    \n {s.details.HasNoApplicableMachines && (\n There are no enabled deployment targets with the target tags specified by this step, in this environment.\n )}\n
    \n
    )}\n
    ))}\n
    \n
    );\n }\n static displayName = \"ActionPreview\";\n}\n","/* eslint-disable @typescript-eslint/no-non-null-assertion */\n/* eslint-disable @typescript-eslint/no-explicit-any */\n/* eslint-disable @typescript-eslint/consistent-type-assertions */\n/* eslint-disable @octopusdeploy/custom-portal-rules/no-restricted-imports */\nimport { RadioButtonGroup, RadioButton, Tooltip, Callout } from \"@octopusdeploy/design-system-components\";\nimport { UserCircleIcon } from \"@octopusdeploy/design-system-icons\";\nimport type { IProcessResource, DeploymentResource, IExecutionResource, Form, TenantResource } from \"@octopusdeploy/octopus-server-client\";\nimport { MachineModelHealthStatusValues, OctopusError, isTenantWithFrozenInfo } from \"@octopusdeploy/octopus-server-client\";\nimport { links } from \"@octopusdeploy/portal-routes\";\nimport cn from \"classnames\";\nimport * as _ from \"lodash\";\nimport * as React from \"react\";\nimport { HealthyMachineIcon } from \"~/areas/infrastructure/components/MachineHealthStatusIcons/HealthyMachineIcon\";\nimport { UnavailableMachineIcon } from \"~/areas/infrastructure/components/MachineHealthStatusIcons/UnavailableMachineIcon\";\nimport { UnhealthyMachineIcon } from \"~/areas/infrastructure/components/MachineHealthStatusIcons/UnhealthyMachineIcon\";\nimport { DeploymentModelType } from \"~/areas/projects/components/Runbooks/RunbookRunNowLayout\";\nimport { ChipIconWrapper } from \"~/components/Chips/ChipIconWrapper\";\nimport { EnvironmentChip, TenantChip } from \"~/components/Chips/index\";\nimport type { DataBaseComponentState } from \"~/components/DataBaseComponent/DataBaseComponent\";\nimport { DataBaseComponent } from \"~/components/DataBaseComponent/DataBaseComponent\";\nimport { createErrorsFromOctopusError } from \"~/components/DataBaseComponent/Errors\";\nimport FrozenDashboardIcon from \"~/components/DeploymentFreezes/FrozenDashboardIcon\";\nimport { FrozenResourceType } from \"~/components/DeploymentFreezes/FrozenIcon\";\nimport ErrorPanel from \"~/components/ErrorPanel/ErrorPanel\";\nimport { MachineMultiSelect } from \"~/components/MultiSelect/MachineMultiSelect\";\nimport InternalLink from \"~/components/Navigation/InternalLink/InternalLink\";\nimport WarningIcon from \"~/components/WarningIcon/WarningIcon\";\nimport CardExpandable from \"~/components/form/Sections/CardExpandable\";\nimport ExpandableFormSection from \"~/components/form/Sections/ExpandableFormSection\";\nimport Summary from \"~/components/form/Sections/Summary\";\nimport { DataTableBody } from \"~/primitiveComponents/dataDisplay/DataTable/DataTableBody\";\nimport { DataTableRow } from \"~/primitiveComponents/dataDisplay/DataTable/DataTableRow\";\nimport { DataTableRowColumn } from \"~/primitiveComponents/dataDisplay/DataTable/DataTableRowColumn\";\nimport ReleaseChangesDetail from \"../../ReleaseChanges/ReleaseChangesDetail\";\nimport type { DeploymentMachineInfo } from \"../Preview\";\nimport { DeploymentTargetType, DeploymentType } from \"../Preview\";\nimport type { DeploymentRequestModel } from \"../deploymentRequestModel\";\nimport type { ActionToggleInfo, MachineDeploymentPreview } from \"../deploymentStepsWorker\";\nimport ActionPreview from \"./ActionPreview\";\nimport styles from \"./style.module.less\";\ninterface DeploymentResultItemProps {\n deployment: DeploymentRequestModel;\n stepActionIdsToSkip: string[];\n isMissingVariable: boolean;\n tenant?: TenantResource;\n promptVariableForm: Form;\n stepsForSelectedDeployment: ActionToggleInfo[];\n actions: ActionToggleInfo[];\n process: IProcessResource;\n releaseCount: number;\n workItemsCount: number;\n changesMarkdown: string;\n modelType: DeploymentModelType;\n isExpandedByDefault?: boolean;\n onIncludeSpecificMachinesSelected(deployment: DeploymentMachineInfo): void;\n onExcludeSpecificMachinesSelected(deployment: DeploymentMachineInfo): void;\n onAllTargetsSelected(deployment: DeploymentMachineInfo): void;\n}\ninterface DeploymentResultItemState extends DataBaseComponentState {\n deploymentTargetType: DeploymentTargetType;\n expanded: boolean;\n machinesApplicableToThisDeployment: MachineDeploymentPreview[];\n numberOfSteps: number;\n}\nexport default class DeploymentResultItem extends DataBaseComponent {\n constructor(props: DeploymentResultItemProps) {\n super(props);\n this.state = {\n deploymentTargetType: this.determineTargetType(props.deployment),\n expanded: this.props.isExpandedByDefault!,\n machinesApplicableToThisDeployment: [],\n numberOfSteps: 0,\n };\n }\n determineTargetType = (deployment: DeploymentRequestModel) => {\n if (deployment && deployment.request.SpecificMachineIds.length > 0) {\n return DeploymentTargetType.IncludeSpecific;\n }\n if (deployment && deployment.request.ExcludedMachineIds.length > 0) {\n return DeploymentTargetType.ExcludeSpecific;\n }\n return DeploymentTargetType.AllApplicable;\n };\n async componentDidMount() {\n await this.loadData(this.props);\n }\n async UNSAFE_componentWillReceiveProps(nextProps: DeploymentResultItemProps) {\n if (_.isEqual(nextProps.deployment, this.props.deployment) &&\n _.isEqual(nextProps.stepActionIdsToSkip, this.props.stepActionIdsToSkip) &&\n _.isEqual(nextProps.deployment, this.props.deployment) &&\n _.isEqual(nextProps.stepActionIdsToSkip, this.props.stepActionIdsToSkip) &&\n _.isEqual(nextProps.stepsForSelectedDeployment, this.props.stepsForSelectedDeployment)) {\n return;\n }\n await this.loadData(nextProps);\n }\n render() {\n return this.buildDeploymentSummary();\n }\n private async loadData(props: DeploymentResultItemProps) {\n if (props.stepsForSelectedDeployment) {\n const allMachines = _.uniqBy(_.flatMap(props.stepsForSelectedDeployment, (s) => s.details.Machines), (m) => m.Id);\n const numberOfSteps = props.stepsForSelectedDeployment.length - props.stepActionIdsToSkip.length - props.stepsForSelectedDeployment.filter((s) => s.details.IsDisabled).length;\n this.setState({ machinesApplicableToThisDeployment: allMachines, numberOfSteps });\n }\n }\n private makeDeploymentMachinesInfo(machineIds: string[], deploymentType: any) {\n return {\n id: this.props.deployment.tenantId ? this.props.deployment.tenantId : this.props.deployment.request.EnvironmentId,\n machineIds,\n deploymentType,\n };\n }\n private getDeploymentType() {\n let deploymentType = DeploymentType.Environment;\n if (this.props.deployment.tenantId) {\n deploymentType = DeploymentType.Tenant;\n }\n return deploymentType;\n }\n private buildDeploymentSummary() {\n const deployment = this.props.deployment;\n const deploymentType = this.getDeploymentType();\n const variableInfo = this.getDeploymentMissingVariableInfo(deploymentType);\n let chip = undefined;\n if (this.props.tenant) {\n const tenant = this.props.tenant;\n chip = () : (\n \n )}/>);\n }\n else\n chip = ;\n return (\n this.setState((prev) => {\n return { expanded: !prev.expanded };\n })}>\n \n
    \n {this.props.deployment && this.successOrErrorIcon()}\n {deployment.environment &&
    {chip}
    }\n
    \n
    \n \n
    {deployment.currentVersion}
    \n
    \n \n
    \n {this.state.numberOfSteps} {this.state.numberOfSteps === 1 ? \"step\" : \"steps\"}\n
    \n
    \n \n
    {this.getIncludeExcludeTargetsInfo()}
    \n
    \n \n
    \n {this.getTargetsInfo()}\n {variableInfo}\n
    \n
    \n \n
    \n \n
    \n
    \n
    \n {this.state.expanded && this.buildDetailsChildRow(deploymentType)}\n
    );\n }\n private getIncludeExcludeTargetsInfo() {\n let includeExcludeMachinesInfo = \"All included\";\n if (this.props.deployment.request.SpecificMachineIds.length > 0) {\n includeExcludeMachinesInfo = `${this.props.deployment.request.SpecificMachineIds.length} included`;\n }\n if (this.props.deployment.request.ExcludedMachineIds.length > 0) {\n includeExcludeMachinesInfo = `${this.props.deployment.request.ExcludedMachineIds.length} excluded`;\n }\n return includeExcludeMachinesInfo;\n }\n private buildDetailsChildRow(deploymentType: DeploymentType) {\n const deployment = this.props.deployment;\n return (\n \n {this.state.expanded && (
    \n {deployment && (
    \n
    \n {this.successOrErrorDetails(this.props.deployment)}\n {this.getIncludeExcludeTargetsInfo()}
    )} errorKey=\"deploymentTargets\">\n {\n this.setState({ deploymentTargetType: val });\n if (val === DeploymentTargetType.AllApplicable) {\n const deploymentInfo: DeploymentMachineInfo = this.makeDeploymentMachinesInfo([], deploymentType);\n this.props.onAllTargetsSelected(deploymentInfo);\n }\n }}>\n \n \n
    \n {this.state.deploymentTargetType === DeploymentTargetType.IncludeSpecific && (
    \n {\n const deploymentInfo = this.makeDeploymentMachinesInfo(machineIds, deploymentType);\n this.props.onIncludeSpecificMachinesSelected(deploymentInfo);\n }}/>\n
    )}\n
    \n \n
    \n {this.state.deploymentTargetType === DeploymentTargetType.ExcludeSpecific && (
    \n {\n const deploymentInfo = this.makeDeploymentMachinesInfo(machineIds, deploymentType);\n this.props.onExcludeSpecificMachinesSelected(deploymentInfo);\n }}/>\n
    )}\n
    \n
    \n \n {this.props.modelType === DeploymentModelType.Deployment && this.props.changesMarkdown && (\n \n )}\n
    \n \n
    )}\n )}\n
    \n
    );\n }\n private getReleaseChangesSummary() {\n return Summary.summary(
    {this.getReleaseChangesText()}
    );\n }\n private getReleaseChangesText() {\n const releaseCount = this.props.releaseCount;\n const workItemCount = this.props.workItemsCount;\n return releaseCount + \" release(s), containing \" + workItemCount + \" work item(s)\";\n }\n private getTargetsInfo() {\n if (this.state.machinesApplicableToThisDeployment) {\n let healthyTargets = 0;\n let unavailableTargets = 0;\n let unhealthyTargets = 0;\n this.state.machinesApplicableToThisDeployment.forEach((m) => {\n if (m.isUnavailable || m.HealthStatus === MachineModelHealthStatusValues.Unavailable) {\n unavailableTargets++;\n }\n if (m.HealthStatus === MachineModelHealthStatusValues.Unhealthy) {\n unhealthyTargets++;\n }\n if (m.HealthStatus === MachineModelHealthStatusValues.Healthy || m.HealthStatus === MachineModelHealthStatusValues.HasWarnings) {\n healthyTargets++;\n }\n });\n return (
    \n {healthyTargets > 0 && (
    \n
    \n \n
    \n {healthyTargets + \" HEALTHY\"}\n
    )}\n {unavailableTargets > 0 && (
    \n
    \n \n
    \n {unavailableTargets + \" UNAVAILABLE\"}\n
    )}\n {unhealthyTargets > 0 && (
    \n
    \n \n
    \n {unhealthyTargets + \" UNHEALTHY\"}\n
    )}\n
    );\n }\n }\n private getDeploymentMissingVariableInfo(deploymentType: DeploymentType) {\n if (deploymentType === DeploymentType.Tenant) {\n if (this.props.isMissingVariable && this.props.deployment) {\n return (
    \n \n Tenant missing variables\n
    );\n }\n }\n return null;\n }\n private successOrErrorIcon() {\n let deploymentResultMessage = \"\";\n const response = this.props.deployment.response;\n if (response) {\n if (response instanceof OctopusError) {\n // a class of `OctopusError` e.g. 403 errors don't have the 'Errors' array\n if (response.Errors!.length === 0) {\n deploymentResultMessage += response.ErrorMessage;\n }\n else {\n response.Errors!.forEach((err) => (deploymentResultMessage += err));\n }\n return (
    \n \n \n \n \n \n
    );\n }\n return (
    \n \n \n \n \n \n
    );\n }\n }\n private successOrErrorDetails(result: DeploymentRequestModel) {\n if (!result || !result.response) {\n return null;\n }\n if (this.isError(result.response)) {\n const convertedError = createErrorsFromOctopusError(result.response);\n return ();\n }\n const deployment = result.response as DeploymentResource;\n return (\n \n View task\n \n );\n }\n private isError(response: IExecutionResource | OctopusError): response is OctopusError {\n return (response as OctopusError).ErrorMessage !== undefined;\n }\n static displayName = \"DeploymentResultItem\";\n}\n","/* eslint-disable @typescript-eslint/no-non-null-assertion */\nimport type { DeploymentPreviewBaseResource, IProcessResource, Form, TenantResource } from \"@octopusdeploy/octopus-server-client\";\nimport { isDeploymentPreviewBffResource, isRunbookRunPreviewResource } from \"@octopusdeploy/octopus-server-client\";\nimport * as _ from \"lodash\";\nimport * as React from \"react\";\nimport { DeploymentModelType } from \"~/areas/projects/components/Runbooks/RunbookRunNowLayout\";\nimport { DataTable } from \"~/primitiveComponents/dataDisplay/DataTable/DataTable\";\nimport { DataTableHeader } from \"~/primitiveComponents/dataDisplay/DataTable/DataTableHeader\";\nimport { DataTableHeaderColumn } from \"~/primitiveComponents/dataDisplay/DataTable/DataTableHeaderColumn\";\nimport { DataTableRow } from \"~/primitiveComponents/dataDisplay/DataTable/DataTableRow\";\nimport type { DeploymentMachineInfo, DeploymentStepsDetails } from \"../Preview\";\nimport type { DeploymentRequestModel } from \"../deploymentRequestModel\";\nimport DeploymentResultItem from \"./DeploymentResultItem\";\ninterface DeploymentResultListProps {\n deployments: DeploymentRequestModel[];\n stepActionIdsToSkip: string[];\n tenants: TenantResource[];\n promptVariableForm: Form;\n tenantsWithMissingVariables: string[];\n process: IProcessResource;\n deploymentsAndSteps: DeploymentStepsDetails[];\n modelType: DeploymentModelType;\n isExpandedByDefault?: boolean;\n getDeploymentPreview: (environmentId: string, tenantId: string) => DeploymentPreviewBaseResource | undefined;\n onIncludeSpecificMachinesSelected(deployment: DeploymentMachineInfo): void;\n onExcludeSpecificMachinesSelected(deployment: DeploymentMachineInfo): void;\n onAllTargetsSelected(deployment: DeploymentMachineInfo): void;\n}\nconst DeploymentResults = (props: DeploymentResultListProps) => {\n const isTenanted = _.some(props.deployments, (deployment) => deployment.tenantId);\n const renderHeaderRow = () => {\n return (\n {isTenanted ? \"Tenant\" : \"Environment\"}\n Current Version\n {props.modelType === DeploymentModelType.Deployment ? \"Process\" : \"Runbook Process\"}\n Targets\n Target Status\n );\n };\n const renderDeploymentRows = () => {\n if (props.deploymentsAndSteps) {\n return props.deploymentsAndSteps.map((d) => {\n const preview = props.getDeploymentPreview(d.deployment.request.EnvironmentId, d.deployment.tenantId!);\n let releaseCount: number = 0;\n let workItemsCount: number = 0;\n let changesMarkdown = null;\n if (preview && isDeploymentPreviewBffResource(preview)) {\n releaseCount = preview.ReleaseCount;\n workItemsCount = preview.WorkItemsCount;\n changesMarkdown = preview ? preview.ChangesMarkdown : null;\n }\n if (preview && isRunbookRunPreviewResource(preview)) {\n releaseCount = preview.Changes.length;\n workItemsCount = preview.Changes.map((c) => c.WorkItems.length).reduce((total, count) => total + count, 0);\n changesMarkdown = preview ? preview.ChangesMarkdown : null;\n }\n return ( t.Id === d.deployment.tenantId) : null!} stepsForSelectedDeployment={d.stepsForSelectedDeployment} actions={d.actions} releaseCount={releaseCount} workItemsCount={workItemsCount} changesMarkdown={changesMarkdown!} isExpandedByDefault={props.isExpandedByDefault} {...props}/>);\n });\n }\n };\n return (\n {renderHeaderRow()}\n {renderDeploymentRows()}\n );\n};\nDeploymentResults.displayName = \"DeploymentResults\";\nexport default DeploymentResults;\n","/* eslint-disable @typescript-eslint/no-non-null-assertion */\n/* eslint-disable @typescript-eslint/no-explicit-any */\n/* eslint-disable @typescript-eslint/consistent-type-assertions */\nimport type { IProcessResource, IExecutionResource, Form, OctopusError, ISnapshotResource, ReleaseResource, TenantResource, TenantedDeploymentMode, RunbookRunPreviewResource, GetBffDeploymentPreview, ProjectResource, } from \"@octopusdeploy/octopus-server-client\";\nimport { HasRunbooksInGit, isReleaseResource, isRunbookSnapshotResource } from \"@octopusdeploy/octopus-server-client\";\nimport * as _ from \"lodash\";\nimport * as React from \"react\";\nimport type { WithProjectContextInjectedProps } from \"~/areas/projects/context\";\nimport { withProjectContext } from \"~/areas/projects/context\";\nimport { repository } from \"~/clientInstance\";\nimport type { DataBaseComponentState, DoBusyTaskOptions } from \"~/components/DataBaseComponent/DataBaseComponent\";\nimport { DataBaseComponent } from \"~/components/DataBaseComponent/DataBaseComponent\";\nimport FormSectionHeading from \"~/components/form/Sections/FormSectionHeading\";\nimport UnstructuredFormSection from \"~/components/form/Sections/UnstructuredFormSection\";\nimport { timeOperation, timeOperationOptions } from \"~/utils/OperationTimer/timeOperation\";\nimport { DeploymentModelType } from \"../../Runbooks/RunbookRunNowLayout\";\nimport DeploymentResults from \"./DeploymentResults/DeploymentResults\";\nimport type { DeploymentRequestModel } from \"./deploymentRequestModel\";\nimport type { ActionToggleInfo } from \"./deploymentStepsWorker\";\nimport DeploymentStepsWorker from \"./deploymentStepsWorker\";\ninterface DeploymentPreviewProps {\n release: ISnapshotResource;\n tenantedDeploymentMode: TenantedDeploymentMode;\n stepActionIdsToSkip: string[];\n deployments: DeploymentRequestModel[];\n promptVariableForm: Form;\n tenantsWithMissingVariables: string[];\n allTenants: TenantResource[];\n modelType: DeploymentModelType;\n isExpandedByDefault?: boolean;\n getDeploymentPreview: (environmentId: string, tenantId: string) => GetBffDeploymentPreview | RunbookRunPreviewResource | undefined;\n onIncludeSpecificMachinesSelected(deployment: DeploymentMachineInfo): void;\n onExcludeSpecificMachinesSelected(deployment: DeploymentMachineInfo): void;\n onAllTargetsSelected(deployment: DeploymentMachineInfo): void;\n onDoingBusyTask(action: () => Promise, options: DoBusyTaskOptions): Promise;\n}\nexport interface DeploymentStepsDetails {\n deployment: DeploymentRequestModel;\n stepsForSelectedDeployment: ActionToggleInfo[];\n actions: ActionToggleInfo[];\n}\ninterface DeploymentPreviewState extends DataBaseComponentState {\n selectedDeployment: DeploymentRequestModel;\n tenants: TenantResource[];\n isSingleDeployment: boolean;\n deploymentTargetType: DeploymentTargetType;\n process: IProcessResource;\n deploymentsAndSteps: DeploymentStepsDetails[];\n}\nexport interface DeploymentMachineInfo {\n id: string;\n machineIds: string[];\n deploymentType: DeploymentType;\n}\nexport enum DeploymentType {\n Environment,\n Tenant\n}\nexport enum DeploymentTargetType {\n AllApplicable = \"AllApplicable\",\n IncludeSpecific = \"IncludeSpecific\",\n ExcludeSpecific = \"ExcludeSpecific\"\n}\ntype Props = DeploymentPreviewProps & WithProjectContextInjectedProps;\nclass DeploymentPreviewInternal extends DataBaseComponent {\n /**\n * Use memoization to remove unnecessary network calls as the UI is updated.\n * This allows us to regenerate the state by excluding or including machines,\n * and not call back to the server for deployment process info that will not\n * have changed.\n */\n repositoryDeploymentProcessesGet = _.memoize((release: ReleaseResource) => this.props.projectContext.state.projectContextRepository.DeploymentProcesses.getForRelease(release));\n repositoryRunbookProcessGet = _.memoize((project: ProjectResource, runbookId: string, gitRef?: string) => repository.Runbooks.getRunbookProcess(project.Id, project.SpaceId, runbookId, gitRef));\n constructor(props: Props) {\n super(props);\n this.state = {\n selectedDeployment: null!,\n tenants: [],\n isSingleDeployment: false,\n deploymentTargetType: DeploymentTargetType.AllApplicable,\n process: null!,\n deploymentsAndSteps: null!,\n };\n }\n async componentDidMount() {\n await this.doBusyTask(async () => {\n this.loadData(this.props);\n await timeOperation(timeOperationOptions.for(\"DeploymentPreview\"), () => this.loadChildData(this.props));\n });\n }\n async UNSAFE_componentWillReceiveProps(nextProps: DeploymentPreviewProps) {\n if (!(_.isEqual(nextProps.deployments, this.props.deployments) && _.isEqual(nextProps.release, this.props.release))) {\n await timeOperation(timeOperationOptions.for(\"DeploymentPreview\"), () => this.loadChildData(nextProps));\n }\n this.loadData(nextProps);\n }\n render() {\n const numberOfDeployments = this.props.deployments.length;\n const deploymentsLabel = this.props.modelType === DeploymentModelType.Deployment ? \"deployments\" : \"runs\";\n return (
    \n {numberOfDeployments > 0 && (
    \n \n {!this.state.isSingleDeployment && (\n {numberOfDeployments} {deploymentsLabel} will be created. These {deploymentsLabel} can be configured and previewed below.\n )}\n \n
    )}\n
    );\n }\n private loadData(props: DeploymentPreviewProps) {\n const tenantIds = props.deployments.map((dep) => dep.tenantId);\n const tenants = props.allTenants.filter((tenant) => tenantIds.includes(tenant.Id));\n const isSingleDeployment = props.deployments.length === 1;\n const selectedDeployment = props.deployments[0];\n this.setState(() => {\n return {\n tenants,\n isSingleDeployment,\n selectedDeployment,\n };\n });\n }\n /**\n * Retrieve the information that child components like and\n * will event ually use to display the actual steps and machines.\n * We gather this data here, instead of allowing the child elements to generate this\n * data themselves, to prevent unnecessary network calls in child component\n * componentDidMount() functions.\n *\n * See https://github.com/OctopusDeploy/Issues/issues/4193 for why this code\n * lives here.\n * @param props\n */\n private async loadChildData(props: DeploymentPreviewProps) {\n await this.loadProcess(props);\n const deploymentsAndSteps = this.loadInitialDeploymentSteps(props);\n this.updateDeploymentStepsAndActions(deploymentsAndSteps);\n }\n /**\n * process is used by ActionPreview\n * @param props\n */\n private async loadProcess(props: DeploymentPreviewProps) {\n // process is used by ActionPreview\n if (isReleaseResource(props.release)) {\n await this.repositoryDeploymentProcessesGet(props.release).then((process) => {\n this.setState(() => {\n return {\n process: process,\n };\n });\n });\n }\n else if (isRunbookSnapshotResource(props.release)) {\n // Preview was initially built for previewing deployments where the release and shapshot has already been created. To support\n // Runbooks, this was added in here. But there are some hacks going on. The check above is isRunbookSnapshotResource, but it\n // isn't always a _snapshot_. Sometimes we're previewing a Runbook that doesn't yet have a snapshot (becuase we're just running\n // the latest version), so the caller (RunbookRunNowLayout) creates a fake RunbookSnapshotResource, passes it in as release, and\n // sets FrozenRunbookProcessId to the current process ID.\n //\n // With Git Runbooks, this is just set to the slug of the Runbook, so we get a 404. So we need to pass through the GitRef as well.\n // To embrace the hack (and avoid changing much in this component), RunbookRunNowLayout now also fakes up the GitReference.GitRef\n // with the ref that we're runnig the Runbook from. So we have the GitRef, but we can't _just_ check if the GitRef is set, because\n // an existing snapshotted database Runbooks on a Git project will have the GitRef set as well (becuase that points to the GitRef\n // that the variables were snapshot from).\n //\n // So we have to check if the project currently has Git Runbooks then we can use the GitRef there (because we know it's the faked\n // one that's set up in `RunbookRunNowLayout`). We don't need to worry about the case where we're running a past snapshot of a Git\n // Runbook, because we don't support that.\n const project = this.props.projectContext.state.model;\n const gitRef = HasRunbooksInGit(project.PersistenceSettings) ? props.release.GitReference?.GitRef : undefined;\n await this.repositoryRunbookProcessGet(project, props.release.FrozenRunbookProcessId, gitRef).then((process) => {\n this.setState(() => {\n return {\n process: process,\n };\n });\n });\n }\n }\n /**\n * Load the deployments without any steps or actions\n * @param props\n */\n private loadInitialDeploymentSteps(props: DeploymentPreviewProps): DeploymentStepsDetails[] {\n // deploymentsAndSteps is used by DeploymentResultItem\n // the stepsForSelectedDeployment and actions will be null\n // until they are resolved\n const resultMap = _.keyBy(props.deployments, (d) => this.deploymentKey(d));\n const deploymentsAndSteps = props.deployments\n .sort((a, b) => {\n const aIsError = resultMap[this.deploymentKey(a)] && this.isError(resultMap[this.deploymentKey(a)].response!);\n const bIsError = resultMap[this.deploymentKey(b)] && this.isError(resultMap[this.deploymentKey(b)].response!);\n return aIsError === bIsError ? 0 : aIsError ? -1 : 1;\n })\n .map((deployment) => ({ deployment, stepsForSelectedDeployment: null!, actions: null! }));\n // Display the UI with some initial info\n this.setState(() => {\n return {\n deploymentsAndSteps,\n };\n });\n return deploymentsAndSteps;\n }\n private updateDeploymentStepsAndActions(deploymentsAndSteps: DeploymentStepsDetails[]) {\n deploymentsAndSteps.forEach((deploymentDetails) => this.loadDeploymentStepsAndActions(deploymentDetails));\n this.setState((existingState) => {\n return {\n deploymentsAndSteps,\n };\n });\n }\n private loadDeploymentStepsAndActions(deploymentDetails: DeploymentStepsDetails) {\n deploymentDetails.stepsForSelectedDeployment = this.getActionToggleInfos(deploymentDetails.deployment.request.EnvironmentId, deploymentDetails.deployment.tenantId!);\n const deploymentInfo = deploymentDetails.deployment ? deploymentDetails.deployment.request : null;\n if (deploymentInfo) {\n deploymentDetails.actions = this.getActionToggleInfos(deploymentInfo.EnvironmentId, deploymentInfo.TenantId!);\n }\n }\n private getActionToggleInfos(environmentId: string, tenantId: string) {\n const deploymentPreview = this.props.getDeploymentPreview(environmentId, tenantId);\n if (deploymentPreview === undefined) {\n return [];\n }\n return DeploymentStepsWorker.getDeploymentSteps([deploymentPreview]);\n }\n private deploymentKey(deployment: DeploymentRequestModel) {\n return deployment.tenantId ? deployment.tenantId : deployment.request.EnvironmentId;\n }\n private isError(response: IExecutionResource | OctopusError): response is OctopusError {\n return response && (response as OctopusError).ErrorMessage !== undefined;\n }\n static displayName = \"DeploymentPreviewInternal\";\n}\nexport const DeploymentPreview = withProjectContext(DeploymentPreviewInternal);\n","/* eslint-disable @typescript-eslint/consistent-type-assertions,@typescript-eslint/no-non-null-assertion */\nimport { ActionButton, Checkbox } from \"@octopusdeploy/design-system-components\";\nimport { logger } from \"@octopusdeploy/logging\";\nimport type { FormCheckboxControl, FormTextAreaControl, FormVariableValueControl, FormParagraphControl, FormSubmitButtonGroupControl, FormElement, FormControl } from \"@octopusdeploy/octopus-server-client\";\nimport { FormControlType, ControlType } from \"@octopusdeploy/octopus-server-client\";\nimport * as React from \"react\";\nimport { client } from \"~/clientInstance\";\nimport OpenDialogButton from \"~/components/Dialog/OpenDialogButton\";\nimport OkDialogLayout from \"~/components/DialogLayout/OkDialogLayout\";\nimport Markdown from \"~/components/Markdown/index\";\nimport { required } from \"~/components/form/Validators\";\nimport Note from \"~/primitiveComponents/form/Note/Note\";\nimport Text, { DebounceText } from \"~/primitiveComponents/form/Text/Text\";\nimport StringCheckbox from \"../../primitiveComponents/form/Checkbox/StringCheckbox\";\nimport selectOptionsToItems from \"../../primitiveComponents/form/Select/Options\";\nimport Select from \"../../primitiveComponents/form/Select/Select\";\nimport styles from \"./style.module.less\";\ninterface FormElementProps {\n control: TControl;\n disabled?: boolean;\n value: string;\n onChange(value: string): void;\n}\nconst CheckboxFormElement = (props: FormElementProps) => props.onChange(val ? \"True\" : \"False\")}/>;\nconst TextAreaFormElement = (props: FormElementProps) => {\n return ;\n};\nconst VariableValueFormElement = (props: FormElementProps) => {\n return (
    \n
    {getVariableInputControl(props)}
    \n {props.control.Description}\n
    );\n};\nconst getVariableInputControl = (props: FormElementProps) => {\n const controlType = props.control.DisplaySettings && props.control.DisplaySettings[\"Octopus.ControlType\"] ? props.control.DisplaySettings[\"Octopus.ControlType\"] : ControlType.SingleLineText; // Control type defaults to single-line text\n switch (controlType) {\n case ControlType.SingleLineText:\n case ControlType.MultiLineText:\n case ControlType.Sensitive:\n return ();\n case ControlType.Checkbox:\n return ;\n case ControlType.Select:\n return ( props.setModelProp({ versioningStrategyPackage: props.versionPackageActions.find((z) => displayName(z) === packageActionIndex) })} items={props.versionPackageActions.map((packageAction) => ({\n value: displayName(packageAction),\n text: displayName(packageAction),\n disabled: stepIsDisabled(packageAction.DeploymentAction),\n }))} label=\"Versioning package step\"/>);\n};\nReleaseVersionFromPackageSelector.displayName = \"ReleaseVersionFromPackageSelector\"\n","import React from \"react\";\nimport MoreInfo from \"~/components/MoreInfo/MoreInfo\";\nimport { Note, Text } from \"~/components/form\";\nimport type { DeploymentSettingsModel } from \"./DeploymentProcessSettings\";\nimport { defaultReleaseVersioningTemplate } from \"./DeploymentProcessSettings\";\ninterface ReleaseVersionTemplateInputProps {\n setModelProp: (model: Pick) => void;\n versioningStrategyTemplate: string;\n}\nexport const ReleaseVersionTemplateInput: React.FC = (props: ReleaseVersionTemplateInputProps) => {\n const resetVersionTemplate = (e: React.MouseEvent) => {\n e.preventDefault();\n e.stopPropagation();\n props.setModelProp({\n versioningStrategyTemplate: defaultReleaseVersioningTemplate,\n });\n };\n return (<>\n props.setModelProp({ versioningStrategyTemplate })} label=\"Version template\"/>\n {props.versioningStrategyTemplate !== defaultReleaseVersioningTemplate && (\n \n Reset to default template\n \n )}\n \n );\n};\nReleaseVersionTemplateInput.displayName = \"ReleaseVersionTemplateInput\"\nconst TemplateVariableInformation: React.FC = () => {\n return (\n
    \n

    You can use variables from the project (un-scoped or scoped only to a channel). In addition, some special variables are provided - example:

    \n
    \n                    \n                        1.2.#{\"{\"}Octopus.Version.NextPatch{\"}\"}-pre\n                    \n                
    \n

    These special variables take the form:

    \n
    \n                    Octopus.Version.(Last|Next)(Major|Minor|Patch|Build|Revision|Suffix)\n                
    \n

    If you are using channels, channel-specific special variables are also available:

    \n
    \n                    Octopus.Version.Channel.(Last|Next)(Major|Minor|Patch|Build|Revision|Suffix)\n                
    \n

    Version components from other channels in the project can be referenced using the channel name as the index:

    \n
    \n                    Octopus.Version.Channel[ChannelName].(Last|Next)(Major|Minor|Patch|Build|Revision|Suffix)\n                
    \n

    The channel name can also be used (generally as part of the suffix):

    \n
    \n                    Octopus.Release.Channel.Name\n                
    \n

    \n The version can also include Octopus semantic version mask characters\n i and c referring to the incremented and current values of the version, respectively. For example:\n

    \n
    2.1.c.i
    \n

    Finally, date fields can be also be used, for example:

    \n
    \n                    #{\"{\"}Octopus.Date.Year{\"}\"}.#{\"{\"}Octopus.Date.Month{\"}\"}.#{\"{\"}Octopus.Date.Day{\"}\"}\n                
    \n

    These take the form:

    \n
    \n                    Octopus.Date.(Day|Month|Year|DayOfYear)\n                    
    \n Octopus.Time.(Hour|Minute|Second)\n
    \n
    \n
    );\n};\nTemplateVariableInformation.displayName = \"TemplateVariableInformation\"\n","import { BooleanRadioButton, BooleanRadioButtonGroup } from \"@octopusdeploy/design-system-components\";\nimport type { DeploymentProcessResource, ProjectResource, DeploymentActionPackageResource } from \"@octopusdeploy/octopus-server-client\";\nimport React from \"react\";\nimport ExternalLink from \"~/components/Navigation/ExternalLink\";\nimport { Note } from \"~/components/form\";\nimport type { DeploymentSettingsModel } from \"./DeploymentProcessSettings\";\nimport { ReleaseVersionFromPackageSelector } from \"./ReleaseVersionFromPackageSelector\";\nimport { ReleaseVersionTemplateInput } from \"./ReleaseVersionTemplateInput\";\ninterface ReleaseVersioningProps {\n project: ProjectResource;\n setModelProp: (model: Pick) => void;\n versioningStrategyTemplate: string;\n versionFromPackage: boolean;\n versioningStrategyPackage: DeploymentActionPackageResource | undefined;\n versionPackageActions: DeploymentActionPackageResource[];\n deploymentProcess: DeploymentProcessResource | undefined;\n}\nexport const ReleaseVersioning: React.FC = (props: ReleaseVersioningProps) => (<>\n props.setModelProp({ versionFromPackage })}>\n \n \n \n\n \n This setting controls the default version given to new releases.\n
    \n The version can be generated from a template containing variable-expressions, or using the version from a package used by the deployment process.\n
    \n See the documentation for more information.\n
    \n\n {props.versionFromPackage ? () : ()}\n );\nReleaseVersioning.displayName = \"ReleaseVersioning\"\n","import { RadioButtonGroup, RadioButton, BooleanRadioButtonGroup, BooleanRadioButton, Callout } from \"@octopusdeploy/design-system-components\";\nimport type { SimpleMenuItem, PrimaryPageAction } from \"@octopusdeploy/design-system-components\";\nimport { canCommitTo, Permission, deploymentActionPackages, displayName } from \"@octopusdeploy/octopus-server-client\";\nimport type { DeploymentSettingsResource, DeploymentProcessResource, GuidedFailureMode, ProjectResource, ModifyDeploymentSettingsCommand, GitBranchResource, DeploymentActionPackageResource } from \"@octopusdeploy/octopus-server-client\";\nimport { links } from \"@octopusdeploy/portal-routes\";\nimport { chain, flatten } from \"lodash\";\nimport React from \"react\";\nimport { useRouteMatch } from \"react-router-dom\";\nimport type { AnalyticErrorCallback } from \"~/analytics/Analytics\";\nimport { ProjectGitHubAppAuthCheck } from \"~/areas/library/components/GitConnections/GitHubAppAuthCheck\";\nimport { useNotifyCreateBranch } from \"~/areas/projects/components/BranchSelector/Analytics/useNotifyCreateBranch\";\nimport type { CreateBranchDispatcher } from \"~/areas/projects/components/BranchSelector/Analytics/useNotifyCreateBranch\";\nimport type { SaveDeploymentSettingsDispatcher } from \"~/areas/projects/components/DeploymentProcessSettings/Analytics/useNotifySaveDeploymentSettings\";\nimport { useNotifySaveDeploymentSettings } from \"~/areas/projects/components/DeploymentProcessSettings/Analytics/useNotifySaveDeploymentSettings\";\nimport { isVersioningConfigurationValid } from \"~/areas/projects/components/DeploymentProcessSettings/InvalidConfigurationCallout\";\nimport { ProjectPageTitleAccessory } from \"~/areas/projects/components/ProjectPageTitleAccessory\";\nimport FailureMode from \"~/areas/projects/components/Releases/Deployments/FailureMode\";\nimport { DeploymentModelType } from \"~/areas/projects/components/Runbooks/RunbookRunNowLayout\";\nimport { GitCallouts } from \"~/areas/projects/components/VersionControl/GitCallouts\";\nimport type { WithProjectContextInjectedProps } from \"~/areas/projects/context\";\nimport { useProjectContext } from \"~/areas/projects/context\";\nimport { repository } from \"~/clientInstance\";\nimport { RoleChip } from \"~/components/Chips\";\nimport type { OptionalFormBaseComponentState } from \"~/components/FormBaseComponent\";\nimport FormBaseComponent from \"~/components/FormBaseComponent\";\nimport type { FormProps, PrimarySaveActionOptions, PrimarySavePageAction } from \"~/components/FormPaperLayout/LegacyForm\";\nimport { LegacyForm } from \"~/components/FormPaperLayout/LegacyForm\";\nimport { TargetTagMultiSelect } from \"~/components/MultiSelect/TargetTagMultiSelect\";\nimport ExternalLink from \"~/components/Navigation/ExternalLink\";\nimport { PageContent } from \"~/components/PageContent/PageContent\";\nimport type { PermissionCheckProps } from \"~/components/PermissionCheck/PermissionCheck\";\nimport { isAllowed } from \"~/components/PermissionCheck/PermissionCheck\";\nimport { ExpandableFormSection, MarkdownEditor, Note, Summary, UnstructuredFormSection } from \"~/components/form\";\nimport type { SummaryNode } from \"~/components/form\";\nimport { timeOperationOptions } from \"~/utils/OperationTimer/timeOperation\";\nimport type { GetCommitButtonProps } from \"../VersionControl/CommitButton\";\nimport { GetCommitButton } from \"../VersionControl/CommitButton\";\nimport type { CommitMessageWithDetails } from \"../VersionControl/CommitMessageWithDetails\";\nimport { getFormattedCommitMessage } from \"../VersionControl/CommitMessageWithDetails\";\nimport { ReleaseVersioning } from \"./ReleaseVersioning\";\nexport interface DeploymentSettingsModel {\n guidedFailureMode: GuidedFailureMode;\n releaseNotesTemplate: string | undefined;\n skipIfAlreadyInstalled: boolean;\n deploymentChangesTemplate: string | undefined;\n skipMachines: string;\n skipMachinesRoles: string[];\n allowDeploymentsToNoTargets: boolean;\n forcePackageDownload: boolean;\n excludeUnhealthyTargets: boolean;\n versioningStrategyTemplate: string;\n versionFromPackage: boolean;\n versioningStrategyPackage: DeploymentActionPackageResource | undefined;\n}\ninterface DeploymentSettingsState extends OptionalFormBaseComponentState {\n machineRoles: string[];\n versionPackageActions: DeploymentActionPackageResource[];\n deploymentProcess?: DeploymentProcessResource;\n deploymentSettings?: DeploymentSettingsResource;\n project?: ProjectResource;\n commitMessage: CommitMessageWithDetails;\n disableDirtyFormChecking?: boolean;\n}\ninterface DeploymentSettingsAnalyticsProps {\n createBranchDispatcher: CreateBranchDispatcher;\n saveDeploymentSettingsDispatcher: SaveDeploymentSettingsDispatcher;\n}\ntype MatchProps = {\n match: NonNullable> | undefined;\n};\ntype DeploymentSettingsProps = MatchProps & WithProjectContextInjectedProps;\ntype DeploymentSettingsPropsInternal = DeploymentSettingsProps & DeploymentSettingsAnalyticsProps;\nexport const defaultReleaseVersioningTemplate: string = \"#{Octopus.Version.LastMajor}.#{Octopus.Version.LastMinor}.#{Octopus.Version.NextPatch}\";\nconst defaultCommitMessage = \"Update deployment settings\";\nconst pageTitle = \"Deployment Settings\";\nclass DeploymentProcessSettingsInternal extends FormBaseComponent {\n private openCommitDialog?: () => void;\n constructor(props: DeploymentSettingsPropsInternal) {\n super(props);\n const project = this.props.projectContext.state.model;\n this.state = {\n machineRoles: [],\n versionPackageActions: [],\n project,\n commitMessage: { summary: \"\", details: \"\" },\n };\n }\n async componentDidMount() {\n await this.reload();\n }\n async componentDidUpdate(prevProps: DeploymentSettingsProps) {\n if (prevProps.projectContext.state.gitRef !== this.props.projectContext.state.gitRef) {\n await this.reload();\n }\n }\n private reload = async () => await this.doBusyTask(async () => {\n const { model: project, projectContextRepository, gitRef } = this.props.projectContext.state;\n const deploymentSettings = await repository.ProjectDeploymentSettings.get(project.Id, gitRef?.CanonicalName);\n const hasProcessViewPermissions = isAllowed({\n permission: Permission.ProcessView,\n project: project.Id,\n tenant: \"*\",\n });\n const [deploymentProcess, machineRoles] = await Promise.all([hasProcessViewPermissions ? projectContextRepository.DeploymentProcesses.get() : Promise.resolve(undefined), repository.MachineRoles.all()]);\n const versionPackageActions = deploymentActionPackages(chain(deploymentProcess && deploymentProcess.Steps)\n .flatMap((step) => step.Actions)\n .filter((action) => action.CanBeUsedForProjectVersioning)\n .value());\n this.setState({\n versionPackageActions,\n machineRoles,\n deploymentProcess,\n deploymentSettings,\n model: this.buildModel(deploymentSettings),\n cleanModel: this.buildModel(deploymentSettings),\n });\n }, { timeOperationOptions: timeOperationOptions.forInitialLoad(this.props.projectContext.state.model.IsVersionControlled) });\n render() {\n const isVersionControlled = this.state.project?.IsVersionControlled ?? false;\n const innerLayout = this.state.model && this.state.deploymentSettings && this.state.project && (<>\n {displayCalloutIfVersioningConfigurationInvalid(this.state.project, this.state.deploymentSettings, this.state.deploymentProcess)}\n \n\n \n this.setModelState(m)}/>\n \n\n \n this.setChildState1(\"model\", { releaseNotesTemplate })}/>\n \n A release notes template is a convenient way to keep release notes consistent and avoid entering the same text repeatedly. The template generates default release notes, which can be modified on the create release page if\n desired. See the documentation for more information.\n \n \n\n \n this.setModelState({ allowDeploymentsToNoTargets })}>\n \n \n \n \n In many deployment scenarios, infrastructure is created dynamically as part of the deployment. Octopus defaults to allowing deployments to start when there are no\n deployment targets registered for this reason. To make deployment creation fail if no deployment targets are available, select Deployments with no targets are not allowed.\n \n \n\n \n \n \n \n Deployment targets that are unavailable at the start of the deployment or become unavailable during the deployment will be skipped and removed from the deployment.\n \n \n Read more about deploying to elastic and transient environments.\n \n {this.state.model.skipMachines === \"SkipUnavailableMachines\" && (<>\n this.setModelState({ skipMachinesRoles })} value={this.state.model.skipMachinesRoles} label=\"Skip unavailable deployment targets only in selected roles\" accessibleName=\"Roles to skip unavailable deployment targets\" items={this.state.machineRoles}/>\n By default, deployment targets will be skipped if they are unavailable in all roles, to limit to certain roles select them here.\n )}\n this.setModelState({ excludeUnhealthyTargets: skipUnhealthyTargets === \"ExcludeUnhealthy\" })} title=\"Unhealthy Deployment Targets\">\n \n \n Deployment targets that are unhealthy at the start of the deployment will be skipped and removed from the deployment.\n \n \n\n \n this.setChildState1(\"model\", { deploymentChangesTemplate })}/>\n \n\n this.setModelState({ guidedFailureMode })} title=\"Default Failure Mode\" modelType={DeploymentModelType.Deployment}/>\n\n \n this.setModelState({ forcePackageDownload })}>\n \n \n \n Sets a default package download option when deploying a release.\n \n );\n const overflowActions: SimpleMenuItem[] = this.state.deploymentSettings && isAllowed({ permission: Permission.EventView, wildcard: true })\n ? [{ type: \"internal-link\", label: \"Audit Trail\", path: links.auditPage.generateUrl({ projects: [this.state.deploymentSettings.ProjectId], documentTypes: [\"deploymentsettings\"] }) }]\n : [];\n const formProps: Omit = {\n saveText: \"Deployment settings updated\",\n model: this.state.model,\n cleanModel: this.state.cleanModel,\n onSaveClick: this.handleSaveClick,\n savePermission: this.editPermission(),\n };\n const onNewBranchCreating = async (branchName: string) => {\n this.setState({ disableDirtyFormChecking: true });\n // TODO @team-config-as-code: Why does this check for a project?\n // How did the user even get to this page w/o a project? I suspect\n // that this check is nonsense and redundant, but need to confirm.\n if (this.state.project) {\n this.setState({ disableDirtyFormChecking: true });\n const newBranchResource = await this.props.createBranchDispatcher({\n source: \"Commit changes dialog\",\n createBranchAction: (cb: AnalyticErrorCallback) => {\n try {\n return repository.ProjectBranches.createBranch(this.props.projectContext.state.model.Id, branchName, this.props.projectContext.state.gitRef?.CanonicalName ?? \"\");\n }\n catch (ex) {\n cb(ex);\n this.setState({ disableDirtyFormChecking: false });\n throw ex;\n }\n },\n });\n await this.handleSaveClick(false, newBranchResource);\n this.props.projectContext.actions.changeGitRef(branchName);\n }\n this.setState({ disableDirtyFormChecking: false });\n };\n if (isVersionControlled) {\n return (\n {({ FormContent, createSaveAction }) => (, primaryAction: this.getVersionControlledSavePrimaryAction(createSaveAction, onNewBranchCreating) }}>\n \n {innerLayout}\n )}\n );\n }\n return (\n {({ FormContent, createSaveAction }) => (, primaryAction: createSaveAction({ saveButtonLabel: \"Save\", saveButtonBusyLabel: \"Saving\" }) }}>\n {innerLayout}\n )}\n );\n }\n private getVersionControlledSavePrimaryAction = (createDefaultSaveAction: (options: PrimarySaveActionOptions) => PrimarySavePageAction, onNewBranchCreating: (branchName: string) => Promise): PrimaryPageAction => {\n const defaultSaveAction = createDefaultSaveAction({\n saveButtonLabel: \"Commit\",\n saveButtonBusyLabel: \"Committing\",\n });\n return {\n type: \"custom\",\n content: ,\n key: \"Get Commit\",\n };\n };\n private editPermission(): PermissionCheckProps {\n return {\n permission: Permission.ProjectEdit,\n project: this.state.project?.Id,\n tenant: \"*\",\n };\n }\n buildModel(deploymentSettings: DeploymentSettingsResource): DeploymentSettingsModel {\n if (!deploymentSettings.VersioningStrategy) {\n deploymentSettings.VersioningStrategy = { Template: defaultReleaseVersioningTemplate, DonorPackage: undefined };\n }\n if (!deploymentSettings.ConnectivityPolicy) {\n deploymentSettings.ConnectivityPolicy = {\n SkipMachineBehavior: \"None\",\n TargetRoles: [],\n AllowDeploymentsToNoTargets: true,\n ExcludeUnhealthyTargets: false,\n };\n }\n return {\n versionFromPackage: !!deploymentSettings.VersioningStrategy.DonorPackage,\n versioningStrategyTemplate: deploymentSettings.VersioningStrategy.Template,\n versioningStrategyPackage: deploymentSettings.VersioningStrategy.DonorPackage,\n skipIfAlreadyInstalled: deploymentSettings.DefaultToSkipIfAlreadyInstalled,\n allowDeploymentsToNoTargets: deploymentSettings.ConnectivityPolicy.AllowDeploymentsToNoTargets,\n skipMachines: deploymentSettings.ConnectivityPolicy.SkipMachineBehavior,\n skipMachinesRoles: deploymentSettings.ConnectivityPolicy.TargetRoles,\n guidedFailureMode: deploymentSettings.DefaultGuidedFailureMode,\n excludeUnhealthyTargets: deploymentSettings.ConnectivityPolicy.ExcludeUnhealthyTargets,\n releaseNotesTemplate: deploymentSettings.ReleaseNotesTemplate,\n deploymentChangesTemplate: deploymentSettings.DeploymentChangesTemplate,\n forcePackageDownload: deploymentSettings.ForcePackageDownload,\n };\n }\n handleSaveClick = async (isNavigationConfirmation: boolean, newBranch?: GitBranchResource) => {\n if (this.state.model?.versionFromPackage && !this.state.model.versioningStrategyPackage) {\n this.setValidationErrors(\"Please select a package step to use release versioning from an included package\");\n return;\n }\n if (isNavigationConfirmation && this.openCommitDialog && this.state.project?.IsVersionControlled) {\n this.openCommitDialog();\n }\n else {\n const model = this.state.model;\n if (!model || !this.state.deploymentSettings) {\n throw \"no model loaded\";\n }\n const settings = { ...this.state.deploymentSettings, Links: { ...this.state.deploymentSettings.Links, Self: newBranch ? newBranch.Links.DeploymentSettings : this.state.deploymentSettings.Links.Self } };\n const cm = getFormattedCommitMessage(this.state.commitMessage, defaultCommitMessage);\n const deploymentSettings: ModifyDeploymentSettingsCommand = {\n ...settings,\n DefaultToSkipIfAlreadyInstalled: model.skipIfAlreadyInstalled,\n VersioningStrategy: {\n DonorPackage: model.versionFromPackage ? model.versioningStrategyPackage : undefined,\n Template: model.versionFromPackage ? \"\" : model.versioningStrategyTemplate,\n },\n ConnectivityPolicy: {\n AllowDeploymentsToNoTargets: model.allowDeploymentsToNoTargets,\n SkipMachineBehavior: model.skipMachines,\n TargetRoles: model.skipMachinesRoles,\n ExcludeUnhealthyTargets: model.excludeUnhealthyTargets,\n },\n DefaultGuidedFailureMode: model.guidedFailureMode,\n ReleaseNotesTemplate: model.releaseNotesTemplate,\n DeploymentChangesTemplate: model.deploymentChangesTemplate,\n ChangeDescription: cm,\n ForcePackageDownload: model.forcePackageDownload,\n };\n await this.doBusyTask(async () => {\n const gitRef = newBranch ? newBranch : this.props.projectContext.state.gitRef;\n const result = await repository.ProjectDeploymentSettings.modify(deploymentSettings, this.props.projectContext.state.model.Id, gitRef?.CanonicalName);\n this.props.saveDeploymentSettingsDispatcher({\n isDefaultBranch: this.props.projectContext.state.isDefaultBranch ?? false,\n isVersionControlled: this.state.project?.IsVersionControlled ?? false,\n hasCommitMessage: cm.length > 0,\n });\n // The project stored in context contains the deployment setting properties at a top level.\n // This stored model is not updated when the deployment settings are updated, so we need to refresh it to keep things consistent.\n await this.props.projectContext.actions.refreshModel();\n this.setState(() => ({\n model: this.buildModel(result),\n cleanModel: this.buildModel(result),\n deploymentSettings: result,\n disableDirtyFormChecking: false,\n }));\n });\n }\n };\n private getCommitButtonProps(primarySaveAction: PrimarySavePageAction): GetCommitButtonProps {\n return {\n hasPermission: { permission: Permission.ProjectEdit, project: this.props.projectContext.state.model.Id },\n gitRef: this.props.projectContext.state.gitRef?.CanonicalName,\n persistenceSettings: this.props.projectContext.state.model.PersistenceSettings,\n canCommitToGitRef: canCommitTo(this.props.projectContext.state.gitRef),\n defaultCommitMessage,\n commitMessage: this.state.commitMessage,\n updateCommitMessage: (commitMessage: CommitMessageWithDetails) => this.setState({ commitMessage }),\n commitMessageAccessibleName: \"Commit message for saving the deployment settings\",\n commitDetailsAccessibleName: \"Commit details for saving the deployment settings\",\n commitButtonAccessibleName: \"Commit changes to the deployment settings\",\n onNewBranchCreating: async (branchName: string) => {\n this.setState({ disableDirtyFormChecking: true });\n if (this.state.project) {\n const newBranchResource = await repository.ProjectBranches.createBranch(this.props.projectContext.state.model.Id, branchName, this.props.projectContext.state.gitRef?.CanonicalName ?? \"\");\n await this.handleSaveClick(false, newBranchResource);\n this.props.projectContext.actions.changeGitRef(branchName);\n this.setState({ disableDirtyFormChecking: false });\n }\n this.setState({ disableDirtyFormChecking: false });\n },\n onInitializing: (openCommitDialog: () => void) => (this.openCommitDialog = openCommitDialog),\n label: primarySaveAction.label,\n onClick: primarySaveAction.onClick,\n busyLabel: primarySaveAction.busyLabel,\n disabled: primarySaveAction.disabled,\n };\n }\n private handleSkipMachinesChanged = (skipMachines: string) => this.setState((state) => ({\n model: {\n ...state.model,\n skipMachines,\n skipMachinesRoles: skipMachines === \"None\" ? [] : state.model?.skipMachinesRoles,\n },\n }));\n private deploymentTargetsSummary(): SummaryNode {\n return this.state.model?.allowDeploymentsToNoTargets ? Summary.default(\"Deployments may start without a deployment target\") : Summary.summary(\"A deployment target is required before a deployment may start\");\n }\n private skipMachinesSummary(): SummaryNode {\n if (this.state.model?.skipMachines !== \"SkipUnavailableMachines\") {\n return this.state.model?.excludeUnhealthyTargets ? Summary.summary(\"Deployment will exclude unhealthy targets, and fail if there is an unavailable target\") : Summary.default(\"Deployment will fail if a deployment target is unavailable\");\n }\n const roles = this.state.model.skipMachinesRoles;\n const summary = [this.state.model.excludeUnhealthyTargets ? Deployment will exclude unhealthy targets, and skip unavailable targets : Deployment will skip unavailable targets];\n if (roles.length > 0) {\n summary.push(this.state.model.skipMachinesRoles.length > 1 ? in roles : in role);\n roles.forEach((r) => summary.push());\n }\n return Summary.summary(React.Children.toArray(summary));\n }\n private releaseVersioningSummary(): SummaryNode {\n if (this.state.model?.versionFromPackage) {\n const versioningPackage = this.state.model?.versioningStrategyPackage;\n return !!versioningPackage && !!versioningPackage.DeploymentAction\n ? Summary.summary(\n Based on the package step {displayName(versioningPackage)}\n )\n : Summary.summary(\"Based on the package in a step, please select a step\");\n }\n const template = this.state.model?.versioningStrategyTemplate;\n return Summary.default(template ? (Based on template {template}) : (\n Based on template, no template set\n ));\n }\n private forcePackageDownloadSummary(): SummaryNode {\n return this.state.model?.forcePackageDownload ? Summary.summary(\"A package will be re-downloaded from feed\") : Summary.default(\"Use cached packages (if available)\");\n }\n private buildReleaseNotesTemplateHelpInfo(): string {\n return \"Enter a template for the release notes that will be used for new releases.\";\n }\n private buildDeploymentChangesTemplateHelpInfo() {\n return (\n Enter a template for the markdown generated for each deployment's changes. The markdown can be accessed during a deployment using the Octopus.Deployment.ChangesMarkdown variable.{\" \"}\n Learn more\n );\n }\n static displayName = \"DeploymentProcessSettingsInternal\";\n}\nconst DeploymentProcessSettings: React.FC = () => {\n const match = useRouteMatch() ?? undefined;\n const projectContext = useProjectContext();\n const createBranchDispatcher = useNotifyCreateBranch();\n const saveDeploymentSettingsDispatcher = useNotifySaveDeploymentSettings();\n return ;\n};\nDeploymentProcessSettings.displayName = \"DeploymentProcessSettings\"\nfunction displayCalloutIfVersioningConfigurationInvalid(project: ProjectResource, deploymentSettings: DeploymentSettingsResource, deploymentProcess?: DeploymentProcessResource) {\n if (!deploymentProcess)\n return <>;\n const actions = flatten(deploymentProcess.Steps.map((step) => step.Actions));\n const callout = isVersioningConfigurationValid(project, deploymentSettings, actions);\n if (callout) {\n return (\n \n {callout}\n \n );\n }\n}\nexport default DeploymentProcessSettings;\n","import { usePageEventDispatcher } from \"@octopusdeploy/portal-routes\";\nimport React from \"react\";\nimport { Action } from \"~/analytics/Analytics\";\nimport { createActionTypeField, createBoolField, createResourceTypeField } from \"~/analytics/fields\";\nimport { GitEventFieldKeys } from \"~/areas/projects/components/VersionControl/Analytics/GitEventFields\";\nexport interface SaveDeploymentSettingsOptions {\n isVersionControlled: boolean;\n isDefaultBranch: boolean;\n hasCommitMessage: boolean;\n}\nexport type SaveDeploymentSettingsDispatcher = (options: SaveDeploymentSettingsOptions) => void;\nexport function useNotifySaveDeploymentSettings(): SaveDeploymentSettingsDispatcher {\n const dispatcher = usePageEventDispatcher();\n return React.useCallback((options: SaveDeploymentSettingsOptions) => dispatcher(\"Save DeploymentSettings\", {\n ...createResourceTypeField(\"Deployment settings\"),\n ...createActionTypeField(options.isVersionControlled ? Action.Commit : Action.Save),\n ...createBoolField(GitEventFieldKeys.IsDefaultBranch, options.isDefaultBranch),\n ...createBoolField(GitEventFieldKeys.CommitMessage, options.hasCommitMessage),\n }), [dispatcher]);\n}\n","/* eslint-disable @typescript-eslint/no-non-null-assertion */\nimport type { DashboardItemResource, TagSetResource, ChannelProgressionResource, DashboardProjectResource, DashboardTenantResource, DashboardProjectGroupResource, LifecycleResource, OverviewReleaseBff, DashboardEnvironmentResource, ProjectLiveStatusResource, } from \"@octopusdeploy/octopus-server-client\";\nenum DimensionTypes {\n None,\n Release,\n Channel,\n Environment,\n Tenant,\n TagSet,\n Project,\n ProjectGroup,\n ProjectName\n}\ninterface DataCube {\n releaseIndex: {\n [releaseId: string]: OverviewReleaseBff;\n };\n channelIndex: {\n [channelId: string]: ChannelProgressionResource;\n };\n lifecycleIndex: {\n [lifecycleId: string]: LifecycleResource;\n };\n tenantIndex: {\n [tenantId: string]: DashboardTenantResource;\n };\n tenantTagIndex: {\n [tenantId: string]: string[];\n };\n projectIndex: {\n [projectId: string]: DashboardProjectResource;\n };\n projectGroupIndex: {\n [projectGroupId: string]: DashboardProjectGroupResource;\n };\n channelEnvironments: {\n [index: string]: string[];\n };\n environmentIndex: {\n [environmentId: string]: DashboardEnvironmentResource;\n };\n tagSetIndex: {\n [canonicalTagName: string]: TagSetResource;\n };\n nextAvailableDeployments: {\n [releaseId: string]: {\n [environmentId: string]: string[];\n };\n };\n blockedReleases: string[];\n deployments: DashboardItemResource[];\n missingVariableTenantsPromise: Promise;\n liveStatusIndex: {\n [projectId: string]: ProjectLiveStatusResource;\n };\n}\nconst DimensionGetters: {\n [key: number]: (item: DashboardItemResource) => string;\n} = {\n [DimensionTypes.Channel]: (item) => item.ChannelId,\n [DimensionTypes.Release]: (item) => item.ReleaseId,\n [DimensionTypes.Environment]: (item) => item.EnvironmentId,\n [DimensionTypes.Tenant]: (item) => item.TenantId!,\n [DimensionTypes.Project]: (item) => item.ProjectId,\n [DimensionTypes.None]: (item) => null!,\n};\nexport { DimensionTypes, DataCube, DimensionGetters };\n","/* eslint-disable @typescript-eslint/no-non-null-assertion */\n/* eslint-disable @typescript-eslint/consistent-type-assertions */\nimport { TenantedDeploymentMode } from \"@octopusdeploy/octopus-server-client\";\nimport type { ChannelProgressionResource, DashboardResource, TenantResource, DeploymentTemplateResource, TagSetResource, DashboardItemResource, DashboardProjectResource, DashboardProjectGroupResource, DashboardTenantResource, ProjectResource, LifecycleResource, OverviewReleaseBff, DashboardEnvironmentResource, GetDeploymentFreezes, ProjectLiveStatusResource, } from \"@octopusdeploy/octopus-server-client\";\nimport { keyBy, uniq } from \"lodash\";\nimport { isFeatureToggleEnabled } from \"~/components/FeatureToggle/New/FeatureToggleContext\";\nimport type { DataCube } from \"./DataCube\";\nclass DashboardDataCube implements DataCube {\n data: DashboardResource;\n blockedReleases: string[] = [];\n nextAvailableDeployments: {\n [releaseId: string]: {\n [environmentId: string]: string[];\n };\n } = {};\n lifecycleIndex: {\n [lifecycleId: string]: LifecycleResource;\n } = undefined!;\n tagSetIndex: {\n [canonicalTagName: string]: TagSetResource;\n } = {};\n environmentIndex: {\n [environmentId: string]: DashboardEnvironmentResource;\n } = {};\n channelIndex: {\n [channelId: string]: ChannelProgressionResource;\n } = {};\n releaseIndex: {\n [releaseId: string]: OverviewReleaseBff;\n } = {};\n tenantIndex: {\n [tenantId: string]: DashboardTenantResource;\n } = {};\n tenantTagIndex: {\n [tenantId: string]: string[];\n } = {};\n projectIndex: {\n [projectId: string]: DashboardProjectResource;\n } = {};\n projectGroupIndex: {\n [projectGroupId: string]: DashboardProjectGroupResource;\n } = {};\n missingVariableTenantsPromise: Promise;\n deployments: DashboardItemResource[];\n channelEnvironments: {\n [index: string]: string[];\n } = undefined!;\n liveStatusIndex: {\n [projectId: string]: ProjectLiveStatusResource;\n };\n constructor(data: DashboardResource, tenants: TenantResource[] | DashboardTenantResource[], releases: OverviewReleaseBff[], channels: ChannelProgressionResource[], promotions: DeploymentTemplateResource | null, tagSets: TagSetResource[], lifeCycles: LifecycleResource[], missingVariableTenantsPromise: Promise, deploymentFreezes: GetDeploymentFreezes[], liveStatuses: ProjectLiveStatusResource[], project?: ProjectResource, releaseId?: string) {\n this.data = data;\n this.releaseIndex = keyBy(releases, (rel) => rel.Id);\n this.projectIndex = keyBy(data.Projects, (proj) => proj.Id);\n this.channelIndex = keyBy(channels, (ch) => ch.Id);\n this.environmentIndex = keyBy(this.data.Environments, (env) => env.Id);\n this.deployments = data.Items;\n this.missingVariableTenantsPromise = missingVariableTenantsPromise;\n this.liveStatusIndex = keyBy(liveStatuses, (ls) => ls.Id);\n const frozenProjects = uniq(deploymentFreezes.flatMap((df) => Object.keys(df.ProjectEnvironmentScope)));\n if (project) {\n this.projectIndex[project.Id] = {\n Slug: project.Slug,\n Name: project.Name,\n IsDisabled: project.IsDisabled,\n Id: project.Id,\n Links: project.Links,\n EnvironmentIds: null!,\n ProjectGroupId: project.ProjectGroupId,\n TenantedDeploymentMode: project.TenantedDeploymentMode,\n CanPerformUntenantedDeployment: project.TenantedDeploymentMode !== TenantedDeploymentMode.Tenanted,\n IsFrozen: frozenProjects.indexOf(project.Id) > -1,\n };\n this.lifecycleIndex = keyBy(lifeCycles, (ch) => ch.Id);\n // We wont have a project object for main dashboard,\n // but then again we probably wont be grouping by channel or needing lifecycles!\n this.channelEnvironments = channels.reduce((b: {\n [channelId: string]: string[];\n }, ch) => {\n let lifecycle = null;\n if (!ch.LifecycleId) {\n lifecycle = this.lifecycleIndex[project.LifecycleId];\n }\n else {\n lifecycle = this.lifecycleIndex[ch.LifecycleId];\n }\n if (!lifecycle) {\n b[ch.Id] = [];\n }\n else {\n b[ch.Id] = lifecycle.Phases.reduce((a: string[], p) => {\n return a.concat(p.AutomaticDeploymentTargets).concat(p.OptionalDeploymentTargets);\n }, []);\n if (b[ch.Id].length === 0) {\n // No environments selected, by default all environments are then used\n b[ch.Id] = Object.keys(this.environmentIndex);\n }\n }\n return b;\n }, {});\n }\n this.projectGroupIndex = keyBy(data.ProjectGroups, (pj) => pj.Id);\n for (const project of data.Projects) {\n project.IsFrozen = frozenProjects.indexOf(project.Id) > -1;\n }\n if (releaseId && promotions) {\n this.nextAvailableDeployments = {\n [releaseId]: this.processReleasePromotion(promotions),\n };\n }\n const frozenTenantIds = isFeatureToggleEnabled(\"DeploymentFreezeByTenantFeatureToggle\") ? uniq(deploymentFreezes.flatMap((df) => df.TenantProjectEnvironmentScope.flatMap((t) => t.TenantId))) : [];\n this.tenantIndex = {};\n const tagIndex: {\n [tag: string]: boolean;\n } = {};\n this.tenantTagIndex = (tenants as TenantResource[]).reduce((idx: {\n [tenantId: string]: string[];\n }, tenant) => {\n idx[tenant.Id] = tenant.TenantTags;\n this.tenantIndex[tenant.Id] = {\n Id: tenant.Id,\n Name: tenant.Name,\n ProjectEnvironments: tenant.ProjectEnvironments,\n TenantTags: tenant.TenantTags,\n IsDisabled: tenant.IsDisabled ?? false,\n Links: tenant.Links,\n IsFrozen: frozenTenantIds.indexOf(tenant.Id) > -1,\n };\n tenant.TenantTags.forEach((tt: string) => {\n tagIndex[tt] = true;\n });\n return idx as {\n [tenantId: string]: string[];\n };\n }, {});\n tagSets.forEach((ts) => {\n if (ts.Tags.find((t) => tagIndex[t.CanonicalTagName])) {\n this.tagSetIndex[ts.Id] = ts;\n }\n });\n }\n processReleasePromotion(promotions: DeploymentTemplateResource) {\n const releasePromotions = promotions.PromoteTo.reduce<{\n [environmentId: string]: string[];\n }>((promos: {\n [environmentId: string]: string[];\n }, environment) => {\n promos[environment.Id] = [null!];\n return promos;\n }, {});\n promotions.TenantPromotions.forEach((tp) => {\n tp.PromoteTo.forEach((environment) => {\n releasePromotions[environment.Id] = releasePromotions[environment.Id] || [];\n releasePromotions[environment.Id].push(tp.Id);\n });\n });\n return releasePromotions;\n }\n}\nexport default DashboardDataCube;\n","import type { ChannelResource, GetTenantedProjectDashboardBffResponse, LifecycleResource, OverviewReleaseBff, ProjectResource, TenantedProjectDashboardFilter } from \"@octopusdeploy/octopus-server-client\";\nimport { Repository, Permission } from \"@octopusdeploy/octopus-server-client\";\nimport { uniq } from \"lodash\";\nimport type { RenderDashboardProps } from \"~/areas/dashboard/DashboardOverview/DashboardOverviewPage\";\nimport { dashboardRefreshIntervalInMs } from \"~/areas/dashboard/DashboardOverview/DashboardOverviewPage\";\nimport DashboardDataCube from \"~/areas/projects/components/DashboardDataSource/DashboardDataCube\";\nimport type { DataCube } from \"~/areas/projects/components/DashboardDataSource/DataCube\";\nimport { DimensionTypes } from \"~/areas/projects/components/DashboardDataSource/DataCube\";\nimport type { DeploymentOverviewFilters } from \"~/areas/projects/components/DeploymentsOverview/hooks/useDeploymentsOverviewFilters\";\nimport { repository } from \"~/clientInstance\";\nimport type { DoBusyTask } from \"~/components/DataBaseComponent/index\";\nimport { useDoBusyTaskEffect } from \"~/components/DataBaseComponent/index\";\nimport { isFeatureToggleEnabled } from \"~/components/FeatureToggle/New/FeatureToggleContext\";\nimport { isAllowed } from \"~/components/PermissionCheck/PermissionCheck\";\nimport * as tenantTagsets from \"~/components/tenantTagsets\";\nimport { useOctopusFeatureToggle } from \"~/hooks/useOctopusFeatureToggle\";\nimport { useRefreshLoop } from \"~/hooks/useRefreshLoop\";\nimport { timeOperationOptions } from \"~/utils/OperationTimer/timeOperation\";\ninterface TenantedProjectDashboardDataSourceProps {\n project: ProjectResource;\n filters: DeploymentOverviewFilters;\n render: (props: RenderDashboardProps) => JSX.Element;\n doBusyTask: DoBusyTask;\n cube: DataCube | undefined;\n onCubeLoaded: (cube: DataCube, totalItems: number, filters: DeploymentOverviewFilters) => void;\n isPaged: boolean;\n showLiveStatus: boolean;\n}\nexport default function TenantedProjectDashboardDataSource({ doBusyTask, filters, project, render, onCubeLoaded, cube, isPaged, showLiveStatus }: TenantedProjectDashboardDataSourceProps) {\n const kubernetesMonitorFeatureToggleEnabled = useOctopusFeatureToggle(\"kubernetes-monitor\", false) && isFeatureToggleEnabled(\"KubernetesLiveObjectStatusFeatureToggle\");\n const dashboardRequest = useDoBusyTaskEffect(doBusyTask, async () => {\n const pageSize = isPaged ? filters.pageSize : Repository.takeAll;\n const { cube, totalItems } = await tenantedProjectDashboardRefresh(project, filters, (filters.page - 1) * pageSize, pageSize, kubernetesMonitorFeatureToggleEnabled);\n onCubeLoaded(cube, totalItems, filters);\n }, [filters, project], { timeOperationOptions: timeOperationOptions.forRefresh() });\n useRefreshLoop(dashboardRequest, dashboardRefreshIntervalInMs);\n return render({ cube, showLiveStatus });\n}\nasync function tenantedProjectDashboardRefresh(project: ProjectResource, filters: DeploymentOverviewFilters, skip: number, take: number, kubernetesMonitorFeatureToggleEnabled: boolean): Promise<{\n cube: DataCube;\n totalItems: number;\n}> {\n const projectLiveStatusPromise = kubernetesMonitorFeatureToggleEnabled ? repository.KubernetesLiveStatus.getLiveStatusForProject(project.Id) : Promise.resolve({ ProjectLiveStatus: { Id: project.Id, Environments: [] } });\n const releaseId = tryGetDeploymentOverviewFilterValues(filters, DimensionTypes.Release)?.[0];\n const releases = await loadReleases(project, releaseId);\n const channelsLoader = repository.Channels.allFromProject(project);\n const [{ Dashboard: dashboard, TotalItems: totalItems }, channels, promotions, tagSets, lifecycles] = await Promise.all([\n loadTenantedProjectDashboardData(project, filters, skip, take, releaseId),\n channelsLoader,\n releaseId ? repository.Releases.getDeploymentTemplate(releases[0]) : Promise.resolve(null),\n tenantTagsets.getAll(),\n loadLifecycles(channelsLoader),\n ]);\n const deploymentFreezes = await repository.DeploymentFreezes.allActive();\n const frozenEnvironments = uniq(deploymentFreezes.DeploymentFreezes.flatMap((df) => Object.values(df.ProjectEnvironmentScope).flatMap((env) => env)));\n for (const envRefData of dashboard.Environments) {\n envRefData.IsFrozen = frozenEnvironments.indexOf(envRefData.Id) > -1;\n }\n const missingVariableTenantsPromise = listTenantsWithMissingVariables(project);\n const projectLiveStatusResponse = await projectLiveStatusPromise;\n const cube = new DashboardDataCube(dashboard, dashboard.Tenants, releases, channels, promotions, tagSets, lifecycles, missingVariableTenantsPromise, deploymentFreezes.DeploymentFreezes, [projectLiveStatusResponse.ProjectLiveStatus], project, releaseId);\n return { cube, totalItems };\n}\nfunction loadTenantedProjectDashboardData(project: ProjectResource, filters: DeploymentOverviewFilters, skip: number, take: number, releaseId?: string): Promise {\n const selectedTenants = tryGetDeploymentOverviewFilterValues(filters, DimensionTypes.Tenant);\n const selectedTags = tryGetDeploymentOverviewFilterValues(filters, DimensionTypes.TagSet);\n const args: TenantedProjectDashboardFilter = { projectId: project.Id, showAll: true, selectedTenants, selectedTags, releaseId, skip, take };\n return repository.Dashboards.getTenantedProjectDashboard(args);\n}\nasync function loadReleases(project: ProjectResource, releaseId?: string): Promise {\n if (releaseId) {\n return Promise.resolve([await repository.Releases.get(releaseId)]);\n }\n return await repository.Projects.getBffOverviewReleases(project);\n}\nfunction tryGetDeploymentOverviewFilterValues(filters: DeploymentOverviewFilters, dimensionType: DimensionTypes) {\n return filters[dimensionType] ? Object.keys(filters[dimensionType]) : undefined;\n}\nasync function loadLifecycles(channelsAsync: Promise): Promise {\n const channels = await channelsAsync;\n const lifecycleIds = channels.map((channel) => channel.LifecycleId);\n const lifecycles = await repository.Lifecycles.allById(lifecycleIds);\n return Object.keys(lifecycles).map((id) => lifecycles[id]);\n}\nasync function listTenantsWithMissingVariables(project: ProjectResource): Promise {\n const hasLibraryVariableSetView = isAllowed({ permission: Permission.LibraryVariableSetView, environment: \"*\", tenant: \"*\" });\n if (hasLibraryVariableSetView) {\n const missingVariables = await repository.Tenants.missingVariables({ projectId: project.Id }, false);\n return missingVariables.map((mv) => mv.TenantId);\n }\n return Promise.resolve([]);\n}\n","/* eslint-disable @typescript-eslint/no-non-null-assertion */\nimport type { DataCube } from \"~/areas/projects/components/DashboardDataSource/DataCube\";\nimport type { DataBaseComponentState } from \"~/components/DataBaseComponent/index\";\nexport type RenderDashboardProps = DataBaseComponentState & {\n projectLimit?: number;\n cube?: DataCube;\n totalItems?: number;\n isFiltered?: boolean;\n showLiveStatus: boolean;\n};\nexport const dashboardRefreshIntervalInMs = 6000;\n","/* eslint-disable @typescript-eslint/no-non-null-assertion */\nimport { TenantedDeploymentMode } from \"@octopusdeploy/octopus-server-client\";\nimport type { ProgressionResource, ChannelProgressionResource, DashboardItemResource, TagSetResource, DashboardProjectResource, DashboardProjectGroupResource, DashboardTenantResource, LifecycleResource, ProjectResource, ReleaseProgressionResource, ReleaseResource, DashboardEnvironmentResource, GetDeploymentFreezes, ProjectLiveStatusResource, } from \"@octopusdeploy/octopus-server-client\";\nimport { keyBy, uniq } from \"lodash\";\nimport { isFeatureToggleEnabled } from \"~/components/FeatureToggle/New/FeatureToggleContext\";\nimport type { DataCube } from \"./DataCube\";\nclass ProgressionDataCube implements DataCube {\n data: ProgressionResource;\n nextAvailableDeployments: {\n [releaseId: string]: {\n [environmentId: string]: string[];\n };\n } = {};\n blockedReleases: string[] = [];\n tenantTagIndex: {\n [tenantId: string]: string[];\n } = {};\n lifecycleIndex: {\n [lifecycleId: string]: LifecycleResource;\n };\n tagSetIndex: {\n [canonicalTagName: string]: TagSetResource;\n } = {};\n channelIndex: {\n [channelId: string]: ChannelProgressionResource;\n } = {};\n releaseIndex: {\n [releaseId: string]: ReleaseResource;\n } = {};\n projectIndex: {\n [projectId: string]: DashboardProjectResource;\n } = {};\n projectGroupIndex: {\n [projectGroupId: string]: DashboardProjectGroupResource;\n } = {};\n tenantIndex: {\n [tenantId: string]: DashboardTenantResource;\n } = {};\n environmentIndex: {\n [environmentId: string]: DashboardEnvironmentResource;\n } = {};\n channelEnvironments: {\n [index: string]: string[];\n };\n missingVariableTenantsPromise: Promise = Promise.resolve([]);\n deployments: DashboardItemResource[] = [];\n liveStatusIndex: {\n [projectId: string]: ProjectLiveStatusResource;\n };\n constructor(data: ProgressionResource, project: ProjectResource, deploymentFreezes: GetDeploymentFreezes[], liveStatuses: ProjectLiveStatusResource[]) {\n this.data = data;\n this.channelIndex = this.getAllChannelsFromReleases(this.data.Releases);\n this.lifecycleIndex = {};\n this.releaseIndex = {};\n this.nextAvailableDeployments = {};\n this.liveStatusIndex = keyBy(liveStatuses, (ls) => ls.Id);\n this.projectIndex[project.Id] = {\n Slug: project.Slug,\n Name: project.Name,\n IsDisabled: project.IsDisabled,\n Id: project.Id,\n Links: project.Links,\n EnvironmentIds: null!,\n ProjectGroupId: project.ProjectGroupId,\n TenantedDeploymentMode: project.TenantedDeploymentMode,\n CanPerformUntenantedDeployment: project.TenantedDeploymentMode !== TenantedDeploymentMode.Tenanted,\n IsFrozen: false, // don't need to compute frozen as we only care about frozen environments in this case\n };\n this.channelEnvironments = Object.keys(data.ChannelEnvironments).reduce((idx: {\n [channelId: string]: string[];\n }, channelId) => {\n idx[channelId] = data.ChannelEnvironments[channelId].map((k) => k.Id);\n return idx;\n }, {});\n this.deployments =\n !data || !data.Releases\n ? []\n : data.Releases.reduce((a, r) => {\n if (r.HasUnresolvedDefect) {\n this.blockedReleases.push(r.Release.Id);\n }\n this.releaseIndex[r.Release.Id] = r.Release;\n // may not have access to this due to lacking permission\n if (r.NextDeployments) {\n this.nextAvailableDeployments[r.Release.Id] = r.NextDeployments.reduce<{\n [environmentId: string]: string[];\n }>((ax: {\n [environmentId: string]: string[];\n }, e) => {\n ax[e] = [null!]; //The progression dataset is currently only used for non tenant releases\n return ax;\n }, {});\n }\n const g = Object.keys(r.Deployments).map((j) => r.Deployments[j]);\n a = a.concat(...g);\n return a;\n }, []);\n this.environmentIndex = {};\n const frozenEnvironments = uniq(deploymentFreezes.flatMap((df) => Object.values(df.ProjectEnvironmentScope).flatMap((env) => env)));\n for (const envRefData of this.data.Environments) {\n this.environmentIndex[envRefData.Id] = {\n Id: envRefData.Id,\n Name: envRefData.Name,\n IsFrozen: frozenEnvironments.indexOf(envRefData.Id) > -1,\n Links: {},\n };\n }\n const frozenTenantIds = isFeatureToggleEnabled(\"DeploymentFreezeByTenantFeatureToggle\") ? uniq(deploymentFreezes.flatMap((df) => df.TenantProjectEnvironmentScope.flatMap((tenant) => tenant.TenantId))) : [];\n for (const tenantId of Object.keys(this.tenantIndex)) {\n this.tenantIndex[tenantId] = {\n Id: tenantId,\n Name: this.tenantIndex[tenantId].Name,\n TenantTags: this.tenantIndex[tenantId].TenantTags,\n ProjectEnvironments: this.tenantIndex[tenantId].ProjectEnvironments,\n IsDisabled: this.tenantIndex[tenantId].IsDisabled,\n Links: {},\n IsFrozen: frozenTenantIds.indexOf(tenantId) > -1,\n };\n }\n }\n public addAdditionalChannels(additionalChannels: ChannelProgressionResource[]) {\n const keyedAdditionalChannels = keyBy(additionalChannels, (channel) => channel.Id);\n // When adding additional channels, any existing version of the channel should always win\n this.channelIndex = { ...keyedAdditionalChannels, ...this.channelIndex };\n }\n private getAllChannelsFromReleases(releases: ReleaseProgressionResource[]): {\n [channelId: string]: ChannelProgressionResource;\n } {\n const channels = releases.map((release) => release.Channel).filter((c) => c !== null);\n return keyBy(channels, (channel) => channel.Id);\n }\n}\nexport default ProgressionDataCube;\n","import type { ProjectResource } from \"@octopusdeploy/octopus-server-client\";\nimport { dashboardRefreshIntervalInMs } from \"~/areas/dashboard/DashboardOverview/DashboardOverviewPage\";\nimport type { RenderDashboardProps } from \"~/areas/dashboard/DashboardOverview/DashboardOverviewPage\";\nimport type { DataCube } from \"~/areas/projects/components/DashboardDataSource/DataCube\";\nimport ProgressionDataCube from \"~/areas/projects/components/DashboardDataSource/ProgressionDataCube\";\nimport { repository } from \"~/clientInstance\";\nimport type { DoBusyTask } from \"~/components/DataBaseComponent/index\";\nimport { useDoBusyTaskEffect } from \"~/components/DataBaseComponent/index\";\nimport { isFeatureToggleEnabled } from \"~/components/FeatureToggle/New/FeatureToggleContext\";\nimport { useOctopusFeatureToggle } from \"~/hooks/useOctopusFeatureToggle\";\nimport { useRefreshLoop } from \"~/hooks/useRefreshLoop\";\nimport { timeOperationOptions } from \"~/utils/OperationTimer/timeOperation\";\ninterface UntenantedProjectDashboardDataSourceProps {\n project: ProjectResource;\n render: (props: RenderDashboardProps) => JSX.Element;\n doBusyTask: DoBusyTask;\n cube: DataCube | undefined;\n onCubeLoaded: (cube: DataCube, totalItems: number) => void;\n showLiveStatus: boolean;\n}\nexport default function UntenantedProjectDashboardDataSource({ doBusyTask, project, render, cube, onCubeLoaded, showLiveStatus }: UntenantedProjectDashboardDataSourceProps) {\n const kubernetesMonitorFeatureToggleEnabled = useOctopusFeatureToggle(\"kubernetes-monitor\", false) && isFeatureToggleEnabled(\"KubernetesLiveObjectStatusFeatureToggle\");\n const dashboardRequest = useDoBusyTaskEffect(doBusyTask, async () => {\n const cube = await projectDashboardRefresh(project, kubernetesMonitorFeatureToggleEnabled);\n onCubeLoaded(cube, cube.data.Releases.length);\n }, [project], { timeOperationOptions: timeOperationOptions.forRefresh() });\n useRefreshLoop(dashboardRequest, dashboardRefreshIntervalInMs);\n return render({ cube, showLiveStatus });\n}\nasync function projectDashboardRefresh(project: ProjectResource, kubernetesMonitorFeatureToggleEnabled: boolean): Promise {\n const dataPromise = repository.Progression.getProgression(project);\n const allChannelsPromise = repository.Channels.allFromProject(project);\n const deploymentFreezesPromise = repository.DeploymentFreezes.activeByProject(project);\n const projectLiveStatusPromise = kubernetesMonitorFeatureToggleEnabled ? repository.KubernetesLiveStatus.getLiveStatusForProject(project.Id) : Promise.resolve({ ProjectLiveStatus: { Id: project.Id, Environments: [] } });\n const data = await dataPromise;\n const allChannels = await allChannelsPromise;\n const deploymentFreezes = await deploymentFreezesPromise;\n const projectLiveStatusResponse = await projectLiveStatusPromise;\n const progressionData = new ProgressionDataCube(data, project, deploymentFreezes.DeploymentFreezes, [projectLiveStatusResponse.ProjectLiveStatus]);\n progressionData.addAdditionalChannels(allChannels);\n return progressionData;\n}\n","import type { ChannelProgressionResource, OverviewReleaseBff, ProjectResource, ReleaseResource } from \"@octopusdeploy/octopus-server-client\";\nimport * as React from \"react\";\nimport { repository } from \"~/clientInstance\";\nimport AutoComplete from \"~/components/AutoComplete/AutoComplete\";\nimport { ChannelChip } from \"../../../../components/Chips/index\";\nimport styles from \"./releaseFilter.module.less\";\ninterface ReleaseFilterProps {\n releases: ReleaseResource[] | OverviewReleaseBff[];\n channelIndex: {\n [channelId: string]: ChannelProgressionResource;\n };\n project: ProjectResource;\n value: string;\n filterUpdated: (value: string) => void;\n}\ninterface ReleaseFilterState {\n value: string;\n}\nexport default class ReleaseFilter extends React.Component {\n private releases: ReleaseResource[] | OverviewReleaseBff[] = [];\n constructor(props: ReleaseFilterProps) {\n super(props);\n this.state = {\n value: \"\",\n };\n }\n async componentDidMount() {\n this.setState({\n value: await this.getValue(this.props.value),\n });\n }\n async componentDidUpdate(prevProps: ReleaseFilterProps) {\n if (this.props.value !== prevProps.value) {\n this.setState({\n value: await this.getValue(this.props.value),\n });\n }\n }\n render() {\n return (
    \n \n
    );\n }\n private getOptions = async (searchText: string) => {\n const hasMultipleChannels = Object.keys(this.props.channelIndex).length > 1;\n if (!searchText) {\n this.releases = this.props.releases;\n return {\n items: this.props.releases.map((release) => this.getItem(release, hasMultipleChannels)),\n containsAllResults: true,\n };\n }\n const releases = await repository.Projects.getReleases(this.props.project, { searchByVersion: searchText, take: 5 });\n this.releases = releases.Items;\n return {\n items: releases.Items.map((release) => this.getItem(release, hasMultipleChannels)),\n containsAllResults: releases.TotalResults === releases.Items.length,\n };\n };\n private getItem(release: ReleaseResource | OverviewReleaseBff, hasMultipleChannels: boolean) {\n const channel = this.props.channelIndex[release.ChannelId];\n const display = (\n {release.Version}\n {channel && hasMultipleChannels && }\n );\n return {\n Name: release.Version,\n Id: release.Id,\n display,\n };\n }\n private getValue = async (value: string) => {\n if (!value) {\n return Promise.resolve(\"\");\n }\n let result = this.releases.find((release) => release.Id === value);\n if (!result) {\n result = await repository.Releases.get(value);\n }\n return Promise.resolve(result.Version);\n };\n static displayName = \"ReleaseFilter\";\n}\n","import type { ProjectResource, TenantResource } from \"@octopusdeploy/octopus-server-client\";\nimport { TenantedDeploymentMode } from \"@octopusdeploy/octopus-server-client\";\nimport * as React from \"react\";\nimport type { DataCube } from \"~/areas/projects/components/DashboardDataSource/DataCube\";\nimport { DimensionTypes } from \"~/areas/projects/components/DashboardDataSource/DataCube\";\nimport ReleaseFilter from \"~/areas/projects/components/DeploymentsOverview/ReleaseFilter\";\nimport type { DeploymentOverviewFilters } from \"~/areas/projects/components/DeploymentsOverview/hooks/useDeploymentsOverviewFilters\";\nimport styles from \"~/areas/projects/components/DeploymentsOverview/style.module.less\";\nimport { AdvancedTenantsAndTenantTagsSelector } from \"~/components/AdvancedTenantSelector/index\";\nimport type { DoBusyTask } from \"~/components/DataBaseComponent/index\";\nimport { EnvironmentMultiSelect } from \"~/components/MultiSelect/EnvironmentMultiSelect\";\nimport type { DropdownMenuOption } from \"~/primitiveComponents/form/Select/DropDownMenu\";\nimport { SelectField } from \"~/primitiveComponents/form/Select/SelectField\";\ninterface DeploymentsOverviewFilterOptionsProps {\n cube: DataCube;\n filters: DeploymentOverviewFilters;\n onFiltersUpdated: (filters: DeploymentOverviewFilters) => void;\n}\ninterface DeploymentsOverviewFilterOptionsAndProjectProps extends DeploymentsOverviewFilterOptionsProps {\n project: ProjectResource;\n}\ninterface DeploymentsOverviewFilterOptionsAndProjectTenantProps extends DeploymentsOverviewFilterOptionsAndProjectProps {\n tenants: TenantResource[];\n doBusyTask: DoBusyTask;\n}\nexport function DeploymentsOverviewReleasesFilter({ cube, project, filters, onFiltersUpdated }: DeploymentsOverviewFilterOptionsAndProjectProps) {\n const releases = Object.values(cube.releaseIndex);\n const shouldShowReleaseFilter = !(filters.rowDimension === DimensionTypes.Release) && releases.length > 0;\n const onReleaseFilterUpdated = (releaseId: string) => {\n const filt = { ...filters };\n if (!releaseId) {\n delete filt[DimensionTypes.Release];\n }\n else {\n filt[DimensionTypes.Release] = { [releaseId]: true };\n }\n onFiltersUpdated(filt);\n };\n const filteredReleaseVersion = filters[DimensionTypes.Release] ? Object.keys(filters[DimensionTypes.Release])[0] : \"\";\n if (!shouldShowReleaseFilter) {\n return null;\n }\n return ;\n}\nexport function DeploymentsOverviewGroupingOptions({ cube, filters, onFiltersUpdated }: DeploymentsOverviewFilterOptionsProps) {\n const selectedGroup = filters.groupBy === DimensionTypes.None || !filters.groupBy ? undefined : `${filters.groupBy}-${filters.groupByExtra || \"\"}`;\n const menuItems: DropdownMenuOption[] = [{ value: \"\", text: \"No Grouping\", onChange: () => onFiltersUpdated({ ...filters, groupBy: DimensionTypes.None }) }];\n if (Object.keys(cube.channelIndex).length > 1) {\n menuItems.push({ value: `${DimensionTypes.Channel}-`, text: \"Channel\", onChange: () => onFiltersUpdated({ ...filters, groupBy: DimensionTypes.Channel }) });\n }\n if (Object.keys(cube.tagSetIndex).length > 0) {\n Object.keys(cube.tagSetIndex).forEach((tagsetId) => menuItems.push({ value: `${DimensionTypes.TagSet}-${tagsetId}`, text: cube.tagSetIndex[tagsetId].Name, onChange: () => onFiltersUpdated({ ...filters, groupBy: DimensionTypes.TagSet, groupByExtra: tagsetId }) }));\n }\n // If the only option is No Grouping just hide it\n if (menuItems.length === 1) {\n return null;\n }\n return ;\n}\nexport function DeploymentsOverviewEnvironmentFilter({ cube, filters, onFiltersUpdated }: DeploymentsOverviewFilterOptionsProps) {\n const environments = Object.values(cube.environmentIndex);\n const handleEnvironmentFilterUpdated = (environmentIds: string[]) => {\n const filt = { ...filters };\n if (environmentIds.length === 0) {\n delete filt[DimensionTypes.Environment];\n }\n else {\n filt[DimensionTypes.Environment] = environmentIds.reduce((f: {\n [key: string]: boolean;\n }, environmentId) => {\n f[environmentId] = true;\n return f;\n }, {});\n }\n onFiltersUpdated(filt);\n };\n if (environments.length === 0) {\n return null;\n }\n return ;\n}\nexport function DeploymentsOverviewTenantFilter({ cube, doBusyTask, filters, onFiltersUpdated, project, tenants }: DeploymentsOverviewFilterOptionsAndProjectTenantProps) {\n if (!project || project.TenantedDeploymentMode === TenantedDeploymentMode.Untenanted) {\n return null;\n }\n const selectedTags = Object.keys(filters[DimensionTypes.TagSet] || {});\n const selectedTenants = Object.keys(filters[DimensionTypes.Tenant] || {});\n const onTenantsUpdate = (selectedTenants: string[], selectedTags: string[]) => {\n const filt = { ...filters };\n if (selectedTenants.length === 0) {\n delete filt[DimensionTypes.Tenant];\n }\n else {\n filt[DimensionTypes.Tenant] = selectedTenants.reduce((f: {\n [key: string]: boolean;\n }, tenantId) => {\n f[tenantId] = true;\n return f;\n }, {});\n }\n if (selectedTags.length === 0) {\n delete filt[DimensionTypes.TagSet];\n }\n else {\n filt[DimensionTypes.TagSet] = selectedTags.reduce((f: {\n [key: string]: boolean;\n }, tagId) => {\n f[tagId] = true;\n return f;\n }, {});\n }\n onFiltersUpdated(filt);\n };\n return ( onTenantsUpdate(tenantIds, tenantTags)} showPreviewButton={true}/>);\n}\n","import type { ProjectResource } from \"@octopusdeploy/octopus-server-client\";\nimport { TenantedDeploymentMode } from \"@octopusdeploy/octopus-server-client\";\nimport { QueryStateMode, stringArrayQueryParam, optionalStringQueryParam, useQueryStringParams, numberQueryParam } from \"@octopusdeploy/portal-routes\";\nimport { isEqual } from \"lodash\";\nimport { useEffect, useMemo } from \"react\";\nimport { DimensionTypes } from \"~/areas/projects/components/DashboardDataSource/DataCube\";\nimport useLocalStorage from \"~/hooks/useLocalStorage\";\nexport interface DeploymentOverviewFilters {\n [key: number]: {\n [key: string]: boolean;\n };\n groupBy?: DimensionTypes;\n groupByExtra?: string;\n rowDimension?: DimensionTypes;\n columnDimension?: DimensionTypes;\n page: number;\n pageSize: DeploymentOverviewPageSize;\n}\nexport const deploymentOverviewPageSizes = [50, 100, 150] as const;\nexport type DeploymentOverviewPageSize = (typeof deploymentOverviewPageSizes)[number];\nexport const defaultDeploymentOverviewPageSize: DeploymentOverviewPageSize = 50;\nexport function isDeploymentOverviewPageSize(pageSize: number | undefined): pageSize is DeploymentOverviewPageSize {\n if (pageSize === undefined)\n return false;\n // eslint-disable-next-line @typescript-eslint/consistent-type-assertions\n return (deploymentOverviewPageSizes as readonly number[]).includes(pageSize);\n}\ninterface DeploymentsOverviewQueryParams {\n groupBy: string | undefined;\n tags: string[];\n tenants: string[];\n release: string | undefined;\n groupByExtra: string | undefined;\n environments: string[];\n}\nconst tagsParameter = stringArrayQueryParam(\"tags\");\nconst tenantsParameter = stringArrayQueryParam(\"tenants\");\nconst releaseParameter = optionalStringQueryParam(\"release\");\nconst groupByParameter = optionalStringQueryParam(\"groupBy\");\nconst groupByExtraParameter = optionalStringQueryParam(\"groupByExtra\");\nconst environmentsParameter = stringArrayQueryParam(\"environments\");\nconst pageParameter = numberQueryParam(\"page\");\nconst pageSizeParameter = numberQueryParam(\"pageSize\");\nexport default function useDeploymentsOverviewFilters(project: ProjectResource): [\n DeploymentOverviewFilters,\n (newFilters: DeploymentOverviewFilters) => void\n] {\n const [filters, setFilters] = useQueryStringParams([tagsParameter, tenantsParameter, releaseParameter, groupByParameter, groupByExtraParameter, environmentsParameter, pageParameter, pageSizeParameter], QueryStateMode.ReplaceHistory);\n const [userDefaultDeploymentsOverviewPageSize, setUserDefaultDeploymentsOverviewPageSize] = useLocalStorage(`Octopus.DeploymentsOverview.PageSize`, defaultDeploymentOverviewPageSize);\n const isProjectTenanted = project.TenantedDeploymentMode !== TenantedDeploymentMode.Untenanted;\n const deploymentOverviewFiltersState: DeploymentOverviewFilters = useMemo((): DeploymentOverviewFilters => {\n const filtersForProject: DeploymentOverviewFilters = {\n [DimensionTypes.Project]: { [project.Id]: true },\n // eslint-disable-next-line @typescript-eslint/consistent-type-assertions\n groupBy: filters.groupBy ? DimensionTypes[filters.groupBy as keyof typeof DimensionTypes] : undefined,\n groupByExtra: filters.groupByExtra,\n columnDimension: DimensionTypes.Environment,\n rowDimension: isProjectTenanted ? DimensionTypes.Tenant : DimensionTypes.Release,\n page: filters.page ?? 1,\n pageSize: isDeploymentOverviewPageSize(filters.pageSize) ? filters.pageSize : userDefaultDeploymentsOverviewPageSize,\n };\n if (filters.release) {\n filtersForProject[DimensionTypes.Release] = { [filters.release]: true };\n }\n if (filters.tags.length > 0) {\n filtersForProject[DimensionTypes.TagSet] = filters.tags.reduce((acc: {\n [key: string]: boolean;\n }, cur) => {\n acc[cur] = true;\n return acc;\n }, {});\n }\n if (filters.tenants.length > 0) {\n filtersForProject[DimensionTypes.Tenant] = filters.tenants.reduce((acc: {\n [key: string]: boolean;\n }, cur) => {\n acc[cur] = true;\n return acc;\n }, {});\n }\n if (filters.environments.length > 0) {\n filtersForProject[DimensionTypes.Environment] = filters.environments.reduce((acc: {\n [key: string]: boolean;\n }, cur) => {\n acc[cur] = true;\n return acc;\n }, {});\n }\n return filtersForProject;\n }, [filters.environments, filters.groupBy, filters.groupByExtra, filters.page, filters.pageSize, filters.release, filters.tags, filters.tenants, isProjectTenanted, project.Id, userDefaultDeploymentsOverviewPageSize]);\n if (userDefaultDeploymentsOverviewPageSize !== deploymentOverviewFiltersState.pageSize) {\n setUserDefaultDeploymentsOverviewPageSize(deploymentOverviewFiltersState.pageSize);\n }\n const setDeploymentOverviewFiltersState = (newFilter: DeploymentOverviewFilters) => {\n setFilters({\n tags: newFilter[DimensionTypes.TagSet] ? Object.keys(newFilter[DimensionTypes.TagSet]) : undefined,\n tenants: newFilter[DimensionTypes.Tenant] ? Object.keys(newFilter[DimensionTypes.Tenant]) : undefined,\n release: newFilter[DimensionTypes.Release] ? Object.keys(newFilter[DimensionTypes.Release])[0] : undefined,\n groupBy: newFilter.groupBy !== undefined ? DimensionTypes[newFilter.groupBy] : undefined,\n groupByExtra: newFilter.groupByExtra,\n environments: newFilter[DimensionTypes.Environment] ? Object.keys(newFilter[DimensionTypes.Environment]) : undefined,\n page: newFilter.page,\n pageSize: newFilter.pageSize,\n });\n };\n const filtersWithDefault: DeploymentsOverviewQueryParams = useMemo(() => {\n return {\n ...filters,\n groupBy: filters.groupBy === undefined ? (isProjectTenanted ? DimensionTypes[DimensionTypes.None] : DimensionTypes[DimensionTypes.Channel]) : filters.groupBy,\n };\n }, [filters, isProjectTenanted]);\n useEffect(() => {\n if (!isEqual(filtersWithDefault, filters))\n setFilters(filtersWithDefault);\n }, [filtersWithDefault, filters, setFilters]);\n return [deploymentOverviewFiltersState, setDeploymentOverviewFiltersState];\n}\n","import React, { useContext, useEffect } from \"react\";\nimport { SampleProjectTourContext } from \"~/areas/projects/components/ProjectLayout/SampleProjectTour/SampleProjectTour\";\ninterface SampleProjectTourStartTourOnMountProps {\n children?: React.ReactNode;\n}\nfunction SampleProjectTourStartTourOnMount(props: SampleProjectTourStartTourOnMountProps) {\n const sampleProjectContext = useContext(SampleProjectTourContext);\n useEffect(() => {\n setTimeout(() => {\n const isContinuingTour = sampleProjectContext?.tourState === \"Transition\";\n if (isContinuingTour) {\n sampleProjectContext?.continueSampleProjectTour();\n }\n else {\n sampleProjectContext?.startTour();\n }\n }, 500);\n // eslint-disable-next-line react-hooks/exhaustive-deps\n }, []);\n return <>{props.children};\n}\nexport default SampleProjectTourStartTourOnMount;\n","import { ActionButton, ActionButtonType, CustomMenu, useMenuState, MenuItemInternalLink } from \"@octopusdeploy/design-system-components\";\nimport type { ProjectResource } from \"@octopusdeploy/octopus-server-client\";\nimport { Permission } from \"@octopusdeploy/octopus-server-client\";\nimport { links } from \"@octopusdeploy/portal-routes\";\nimport * as React from \"react\";\nimport type { ActionEvent } from \"~/analytics/Analytics\";\nimport { Action, useAnalyticActionDispatch } from \"~/analytics/Analytics\";\nimport { DropDownIcon } from \"~/components/Button/DropDownIcon/DropDownIcon\";\nimport { PermissionCheck } from \"~/components/PermissionCheck/index\";\nfunction SampleProcessButtonWithRedirect({ project }: {\n project: ProjectResource;\n}) {\n const dispatchAction = useAnalyticActionDispatch();\n const [openMenu, menuState, buttonAriaAttributes] = useMenuState();\n const redirectToSampleProcess = () => {\n const ev: ActionEvent = {\n action: Action.Save,\n resource: \"Deployment Process\",\n };\n dispatchAction(\"Load Sample Deployment Process\", ev);\n };\n return (\n } iconPosition=\"right\" label=\"Use sample\" onClick={openMenu} menuButtonAttributes={buttonAriaAttributes}/>\n \n \n \n \n );\n}\nexport default SampleProcessButtonWithRedirect;\n","import { BoltIcon } from \"@octopusdeploy/design-system-icons\";\nimport { themeTokens } from \"@octopusdeploy/design-system-tokens\";\nimport React from \"react\";\nexport function LiveStatusConnectionIcon() {\n return ;\n}\n","import { css } from \"@emotion/css\";\nimport { text, themeTokens, space } from \"@octopusdeploy/design-system-tokens\";\nimport React from \"react\";\nimport { LiveStatusConnectionIcon } from \"~/areas/projects/components/Observability/LiveStatusConnectionIcon\";\nexport type LiveStatusDescriptionProps = {\n status: string;\n};\nconst DescriptionTextStyle = css({\n color: themeTokens.color.text.secondary,\n font: text.body.regular.xSmall,\n lineHeight: \"1.25rem\",\n display: \"flex\",\n flexDirection: \"row\",\n gap: space[2],\n alignItems: \"center\",\n});\nexport const LiveStatusDescription = (props: LiveStatusDescriptionProps) => {\n if (props.status === \"NotSupported\") {\n return <>;\n }\n return (\n \n {props.status}\n );\n};\n","import { colorScales } from \"@octopusdeploy/design-system-tokens\";\nimport React from \"react\";\nimport { iconStyle, type LiveStatusIconSize } from \"../LiveAppIcons\";\nexport function UnavailableIcon(size: LiveStatusIconSize) {\n return (\n \n );\n}\n","import { css } from \"@emotion/css\";\nimport { borderRadius, colorScales } from \"@octopusdeploy/design-system-tokens\";\nexport { DegradedIcon } from \"./LiveAppStatusIcons/DegradedIcon\";\nexport { HealthyIcon } from \"./LiveAppStatusIcons/HealthyIcon\";\nexport { MissingIcon } from \"./LiveAppStatusIcons/MissingIcon\";\nexport { OutOfSyncIcon } from \"./LiveAppStatusIcons/OutOfSyncIcon\";\nexport { ProgressingIcon } from \"./LiveAppStatusIcons/ProgressingIcon\";\nexport { UnavailableIcon } from \"./LiveAppStatusIcons/UnavailableIcon\";\nexport { UnknownIcon } from \"./LiveAppStatusIcons/UnknownIcon\";\nexport { WaitingIcon } from \"./LiveAppStatusIcons/WaitingIcon\";\nexport type LiveStatusIconSize = 20 | 28 | 48;\nexport const iconStyle = (size: LiveStatusIconSize) => css({\n borderRadius: borderRadius.small,\n fontSize: 0.6 * size,\n width: `${size}px`,\n height: `${size}px`,\n display: \"flex\",\n alignItems: \"center\",\n justifyContent: \"center\",\n color: colorScales.white,\n});\n","import { Tooltip } from \"@octopusdeploy/design-system-components\";\nimport type { KubernetesLiveApplicationStatusCode } from \"@octopusdeploy/octopus-server-client\";\nimport React from \"react\";\nimport * as LiveAppStatusIcon from \"./LiveAppIcons\";\ninterface LiveStatusIconProps {\n status: KubernetesLiveApplicationStatusCode;\n size: LiveAppStatusIcon.LiveStatusIconSize;\n}\nconst LiveStatusToVisuals = (status: KubernetesLiveApplicationStatusCode, size: LiveAppStatusIcon.LiveStatusIconSize): JSX.Element => {\n switch (status) {\n case \"OutOfSync\":\n return {LiveAppStatusIcon.OutOfSyncIcon(size)};\n case \"Progressing\":\n return {LiveAppStatusIcon.ProgressingIcon(size)};\n case \"Degraded\":\n return {LiveAppStatusIcon.DegradedIcon(size)};\n case \"Missing\":\n return {LiveAppStatusIcon.MissingIcon(size)};\n case \"Healthy\":\n return {LiveAppStatusIcon.HealthyIcon(size)};\n case \"Unavailable\":\n return {LiveAppStatusIcon.UnavailableIcon(size)};\n case \"Waiting\":\n return {LiveAppStatusIcon.WaitingIcon(size)};\n case \"Unknown\":\n default:\n return {LiveAppStatusIcon.UnknownIcon(size)};\n }\n};\nexport const LiveStatusIcon = (props: LiveStatusIconProps) => {\n if (props.status === \"NotSupported\") {\n return <>;\n }\n return LiveStatusToVisuals(props.status, props.size);\n};\n","import { colorScales } from \"@octopusdeploy/design-system-tokens\";\nimport React from \"react\";\nimport { iconStyle, type LiveStatusIconSize } from \"../LiveAppIcons\";\nexport function OutOfSyncIcon(size: LiveStatusIconSize) {\n return (\n \n );\n}\n","import { colorScales } from \"@octopusdeploy/design-system-tokens\";\nimport React from \"react\";\nimport { iconStyle, type LiveStatusIconSize } from \"../LiveAppIcons\";\nexport function ProgressingIcon(size: LiveStatusIconSize, ariaLabel?: string) {\n return (\n \n );\n}\n","import { colorScales } from \"@octopusdeploy/design-system-tokens\";\nimport React from \"react\";\nimport { iconStyle, type LiveStatusIconSize } from \"../LiveAppIcons\";\nexport function DegradedIcon(size: LiveStatusIconSize) {\n return (\n \n );\n}\n","import { colorScales } from \"@octopusdeploy/design-system-tokens\";\nimport React from \"react\";\nimport { iconStyle, type LiveStatusIconSize } from \"../LiveAppIcons\";\nexport function MissingIcon(size: LiveStatusIconSize) {\n return (\n \n );\n}\n","import { colorScales } from \"@octopusdeploy/design-system-tokens\";\nimport React from \"react\";\nimport { iconStyle, type LiveStatusIconSize } from \"../LiveAppIcons\";\nexport function HealthyIcon(size: LiveStatusIconSize) {\n return (\n \n );\n}\n","import { colorScales } from \"@octopusdeploy/design-system-tokens\";\nimport React from \"react\";\nimport { iconStyle, type LiveStatusIconSize } from \"../LiveAppIcons\";\nexport function WaitingIcon(size: LiveStatusIconSize) {\n return (\n \n );\n}\n","import { colorScales } from \"@octopusdeploy/design-system-tokens\";\nimport React from \"react\";\nimport { iconStyle, type LiveStatusIconSize } from \"../LiveAppIcons\";\nexport function UnknownIcon(size: LiveStatusIconSize) {\n return (\n \n );\n}\n","import { TaskStatusIcon } from \"./TaskStatusIcon\";\nexport default TaskStatusIcon;\n","import { css, cx } from \"@emotion/css\";\nimport { Badge, Tooltip } from \"@octopusdeploy/design-system-components\";\nimport { TenantsIcon } from \"@octopusdeploy/design-system-icons\";\nimport { space, borderRadius, themeTokens, text } from \"@octopusdeploy/design-system-tokens\";\nimport type { DetailedDashboardItemResource, ProjectsPageDeployment, TenantDeploymentProgress, EnvironmentLiveStatusRollupResource } from \"@octopusdeploy/octopus-server-client\";\nimport { links } from \"@octopusdeploy/portal-routes\";\nimport React from \"react\";\nimport { LiveStatusDescription } from \"~/areas/projects/components/Observability/LiveStatusDescription\";\nimport { LiveStatusIcon } from \"~/areas/projects/components/Observability/LiveStatusIcon\";\nimport TaskStatusIcon from \"~/areas/projects/components/TaskStatusIcon\";\nimport { ChannelChip } from \"~/components/Chips\";\nimport InternalLink from \"~/components/Navigation/InternalLink\";\nimport DateFormatter from \"~/utils/DateFormatter\";\ninterface DeploymentTaskStatusProps {\n projectSlug: string;\n deployment: DetailedDashboardItemResource | ProjectsPageDeployment;\n isCollapsed: boolean;\n tenantProgress: TenantDeploymentProgress | \"tenanted\" | \"hidden\";\n spaceId: string;\n channelName?: string;\n liveStatus: EnvironmentLiveStatusRollupResource | undefined;\n}\nexport const DeploymentTaskStatus = ({ projectSlug, deployment, isCollapsed, tenantProgress, spaceId, channelName, liveStatus }: DeploymentTaskStatusProps) => {\n const containerRef = React.useRef(null);\n const relevantTime = deployment.CompletedTime ?? deployment.QueueTime;\n let taskStatusIcon = ;\n let taskDescription = {DateFormatter.dateToShortFormat(relevantTime)};\n let link = links.deploymentDetailsPage.generateUrl({ spaceId, projectSlug, releaseVersion: deployment.ReleaseVersion, deploymentId: deployment.DeploymentId });\n if (liveStatus) {\n taskStatusIcon = ;\n taskDescription = ;\n link = liveStatus.TenantId\n ? links.tenantedLiveStatusPage.generateUrl({ spaceId, projectSlug, environmentId: liveStatus.Id, tenantId: liveStatus.TenantId })\n : links.untenantedLiveStatusPage.generateUrl({ spaceId, projectSlug, environmentId: liveStatus.Id });\n }\n return (\n
    {taskStatusIcon}
    \n {!isCollapsed && (
    \n
    \n \n {deployment.ReleaseVersion}\n \n {}\n
    \n {channelName && (
    \n \n
    )}\n {taskDescription}\n
    )}\n {isCollapsed &&
    {tenantProgress !== \"hidden\" ? : }
    }\n
    );\n};\nconst TenantIcon = ({ tenantProgress }: {\n tenantProgress: TenantDeploymentProgress | \"tenanted\" | \"hidden\";\n}) => {\n if (tenantProgress === \"tenanted\") {\n return ;\n }\n if (tenantProgress === \"hidden\") {\n return ;\n }\n return ;\n};\nfunction additionalTaskStyles(deployment: DetailedDashboardItemResource | ProjectsPageDeployment): string {\n switch (true) {\n case (deployment as DetailedDashboardItemResource).IsPrevious: // eslint-disable-line @typescript-eslint/consistent-type-assertions\n return deploymentTaskStatusStyles.isPrevious;\n case (deployment as DetailedDashboardItemResource).IsCurrent === false: // eslint-disable-line @typescript-eslint/consistent-type-assertions\n return deploymentTaskStatusStyles.isArchived;\n default:\n return \"\";\n }\n}\nconst releaseVersionTextStyles = css({\n textOverflow: \"ellipsis\",\n overflow: \"hidden\",\n whiteSpace: \"nowrap\",\n width: \"8.5rem\", // Needed for ellipsis to work\n font: text.body.bold.medium,\n lineHeight: \"1.25rem\",\n color: themeTokens.color.text.primary,\n flex: 1,\n});\nconst deploymentTaskStatusStyles = {\n root: css({\n display: \"flex\",\n flexDirection: \"row\",\n columnGap: space[8],\n padding: space[6],\n overflow: \"hidden\", // Fallback/safety-net in case dates or anything else overflows here.\n minHeight: \"3.25rem\",\n borderRadius: borderRadius.small,\n \"&:hover\": {\n cursor: \"pointer\",\n outline: `1px solid ${themeTokens.color.border.selected}`,\n backgroundColor: themeTokens.color.background.primary.hovered,\n [`& .${releaseVersionTextStyles}`]: {\n color: themeTokens.color.text.link.default,\n },\n },\n \":focus-visible\": {\n boxShadow: themeTokens.shadow.focused,\n outline: \"none\",\n },\n }),\n taskIcon: css({\n marginTop: space[4],\n }),\n task: css({\n display: \"flex\",\n flexDirection: \"column\",\n flex: 1,\n }),\n releaseVersionContainer: css({\n display: \"flex\",\n alignItems: \"center\",\n }),\n taskTimeText: css({\n color: themeTokens.color.text.secondary,\n font: text.body.regular.xSmall,\n lineHeight: \"1.25rem\",\n }),\n isPrevious: css({\n opacity: 0.65,\n }),\n isArchived: css({\n opacity: 0.2,\n }),\n};\nconst collapsedDeploymentTaskDetailStyles = css({\n display: \"flex\",\n justifyContent: \"flex-end\",\n flex: 1,\n});\nfunction StyledTenantsIcon() {\n return (\n
    \n \n
    \n
    );\n}\nfunction SpacerIcon() {\n return (
    \n \n
    );\n}\nconst tenantIconStyles = css({\n border: \"none\",\n backgroundColor: \"transparent\",\n padding: 0,\n color: themeTokens.color.icon.secondary,\n cursor: \"pointer\",\n display: \"flex\",\n width: \"1.25rem\",\n height: \"1.25rem\",\n});\nconst visuallyHidden = css({\n visibility: \"hidden\",\n});\n","/* eslint-disable @typescript-eslint/no-non-null-assertion */\n/* eslint-disable @typescript-eslint/consistent-type-assertions */\nclass RowAndColumnCount {\n row: number = undefined!;\n column: number = undefined!;\n}\nexport default class DashboardLimiter {\n private static totalCellsThatCanBeDrawn = 50000;\n private rowsAndColumnsPerSection: RowAndColumnCount[];\n private limitedRowsAndColumnsPerSection: RowAndColumnCount[] | null = null;\n constructor(rowsAndColumnsPerSection: RowAndColumnCount[]) {\n this.rowsAndColumnsPerSection = rowsAndColumnsPerSection;\n }\n public getLimit(index: number) {\n if (this.limitedRowsAndColumnsPerSection === null) {\n this.calculateLimits();\n }\n return this.limitedRowsAndColumnsPerSection![index];\n }\n calculateLimits() {\n const cellLimitPerSection = DashboardLimiter.totalCellsThatCanBeDrawn / this.rowsAndColumnsPerSection.length;\n this.limitedRowsAndColumnsPerSection = this.rowsAndColumnsPerSection.map((r) => this.limitRowsAndColumnsForSection(r, cellLimitPerSection));\n }\n limitRowsAndColumnsForSection(rowsAndColumnsForSection: RowAndColumnCount, cellLimitPerSection: number) {\n const aLotOfRows = 20;\n //eslint-disable-next-line @typescript-eslint/no-explicit-any\n const ieVersion = (document as any)[\"documentMode\"];\n const maxColumnsWhenThereAreLotsOfRows = ieVersion // this is to prevent horrible vertical scrolling\n ? 10\n : 30;\n return rowsAndColumnsForSection.row > aLotOfRows ? this.limitColumns(rowsAndColumnsForSection, cellLimitPerSection, maxColumnsWhenThereAreLotsOfRows) : this.limitRows(rowsAndColumnsForSection, cellLimitPerSection);\n }\n limitColumns(rowsAndColumnsForSection: RowAndColumnCount, cellLimitPerSection: number, columnLimit: number) {\n const columnsToDraw = Math.min(rowsAndColumnsForSection.column, columnLimit);\n const cellsToDraw = Math.min(rowsAndColumnsForSection.row * columnsToDraw, cellLimitPerSection);\n const rowsToDraw = Math.ceil(cellsToDraw / columnsToDraw || 0);\n return { row: rowsToDraw, column: columnsToDraw };\n }\n limitRows(rowsAndColumnsForSection: RowAndColumnCount, cellLimitPerSection: number) {\n const rowsToDraw = rowsAndColumnsForSection.row;\n const cellsToDraw = Math.min(rowsAndColumnsForSection.column * rowsToDraw, cellLimitPerSection);\n const columnsToDraw = Math.ceil(cellsToDraw / rowsToDraw || 0);\n return { row: rowsToDraw, column: columnsToDraw };\n }\n}\n","import { CircularProgress } from \"@octopusdeploy/design-system-components\";\nimport { links } from \"@octopusdeploy/portal-routes\";\nimport * as React from \"react\";\nimport { repository } from \"~/clientInstance\";\nimport type { DataBaseComponentState } from \"~/components/DataBaseComponent\";\nimport { DataBaseComponent } from \"~/components/DataBaseComponent\";\nimport InternalLink from \"~/components/Navigation/InternalLink/InternalLink\";\nimport MissingVariablesIcon from \"../../../tenants/MissingVariablesIcon/MissingVariablesIcon\";\nimport styles from \"./style.module.less\";\ninterface TenantsMissingVariablesNotifierProps {\n missingVariableTenantsPromise: Promise;\n rowId: string;\n}\ninterface TenantsMissingVariablesNotifierState extends DataBaseComponentState {\n tenantsMissingVariables: string[];\n}\nclass TenantsMissingVariablesNotifier extends DataBaseComponent {\n constructor(props: TenantsMissingVariablesNotifierProps) {\n super(props);\n this.state = {\n tenantsMissingVariables: [],\n };\n }\n componentDidMount = async () => {\n await this.doBusyTask(async () => {\n const tenantsMissingVariables = await this.props.missingVariableTenantsPromise;\n this.setState({ tenantsMissingVariables });\n });\n };\n render = () => {\n const { rowId } = this.props;\n const { tenantsMissingVariables, busy } = this.state;\n const hasMissingVariable = tenantsMissingVariables.indexOf(rowId) !== -1;\n return busy ? (
    \n \n
    ) : (hasMissingVariable && (
    \n {/* eslint-disable-next-line @typescript-eslint/no-non-null-assertion */}\n \n \n \n
    ));\n };\n reload = async () => {\n await this.doBusyTask(async () => {\n const tenantsMissingVariables = await this.props.missingVariableTenantsPromise;\n this.setState({ tenantsMissingVariables });\n });\n };\n static displayName = \"TenantsMissingVariablesNotifier\";\n}\nexport default TenantsMissingVariablesNotifier;\n","/* eslint-disable @typescript-eslint/no-non-null-assertion */\n/* eslint-disable @typescript-eslint/consistent-type-assertions */\nimport { css, cx } from \"@emotion/css\";\nimport { Tooltip } from \"@octopusdeploy/design-system-components\";\nimport { UnavailableIcon } from \"@octopusdeploy/design-system-icons\";\nimport { borderRadius, space, text, themeTokens } from \"@octopusdeploy/design-system-tokens\";\nimport type { DashboardItemResource, TagSetResource, GitReference } from \"@octopusdeploy/octopus-server-client\";\nimport type { LinkHref } from \"@octopusdeploy/portal-routes\";\nimport { links } from \"@octopusdeploy/portal-routes\";\nimport cn from \"classnames\";\nimport { sortBy } from \"lodash\";\nimport * as React from \"react\";\nimport { forwardRef, useRef } from \"react\";\nimport type { DeploymentOverviewFilters } from \"~/areas/projects/components/DeploymentsOverview/hooks/useDeploymentsOverviewFilters\";\nimport { repository } from \"~/clientInstance\";\nimport FrozenDashboardIcon from \"~/components/DeploymentFreezes/FrozenDashboardIcon\";\nimport { FrozenResourceType } from \"~/components/DeploymentFreezes/FrozenIcon\";\nimport { FormSectionHeading } from \"~/components/form\";\nimport Logo from \"../../../../components/Logo/Logo\";\nimport InternalLink from \"../../../../components/Navigation/InternalLink/InternalLink\";\nimport Tag from \"../../../../components/Tag/Tag\";\nimport { ProjectDashboardLiveStatusGroupId } from \"../ProjectDashboard/ProjectDashboard\";\nimport { GitRefChip } from \"../Releases/GitRefChip/GitRefChip\";\nimport type { DataCube } from \"./DataCube\";\nimport { DimensionGetters, DimensionTypes } from \"./DataCube\";\nimport TenantsMissingVariablesNotifier from \"./TenantsMissingVariablesNotifier\";\nimport styles from \"./style.module.less\";\nimport untenantedDeploymentLogo from \"./un-tenanted-deployment-logo.svg\";\ninterface DataSet {\n matrix: Matrix;\n columnDimension: DimensionTypes;\n groupDimension: DimensionTypes;\n rowDimension: DimensionTypes;\n getGroups(): string[];\n shouldRenderSectionHeader(): boolean;\n groupTitle(groupId: string, liveStatusShown: boolean): JSX.Element | null;\n firstColumnTitle(): string;\n getRowsForGroup(groupId: string, take?: number): string[];\n rowTitle(rowId: string | null): React.ReactNode;\n getColumnsForGroup(groupId: string): string[];\n columnTitle(columnId: string): string;\n rowLabel(): string;\n}\ninterface Matrix {\n [groupId: string]: {\n [rowId: string]: {\n [columnId: string]: DashboardItemResource[];\n };\n };\n}\nexport type Group = {\n groupId: string;\n rowsInGroup: string[];\n};\nfunction getDataSet(filter: Omit, self: DataCube): DataSet {\n const rowDimension = filter.rowDimension || DimensionTypes.None;\n const columnDimension = filter.columnDimension || DimensionTypes.None;\n const groupDimension = filter.groupBy || DimensionTypes.None;\n let deployments = self.deployments;\n if (filter[DimensionTypes.Release]) {\n //To make the rest of the process quicker, filter releases (probably could filter any & all)\n deployments = deployments.filter((i) => {\n return filter[DimensionTypes.Release][DimensionGetters[DimensionTypes.Release](i)];\n });\n }\n const groupedTagSet: TagSetResource = groupDimension === DimensionTypes.TagSet ? self.tagSetIndex[filter.groupByExtra!] : null!;\n const matrix = enterTheMatrix(deployments, getGroupGetter(groupDimension, self), rowDimension, columnDimension);\n return {\n matrix,\n getGroups: () => {\n let groups: Array = [null];\n if (groupDimension === DimensionTypes.TagSet) {\n groups = ([null] as Array).concat(sortBy(groupedTagSet.Tags, (t) => t.SortOrder).map((t) => t.CanonicalTagName));\n }\n else if (groupDimension === DimensionTypes.ProjectGroup) {\n groups = sortBy(self.projectGroupIndex, (g) => g.Name).map((g) => g.Id);\n }\n else if (filter.groupBy === DimensionTypes.Channel) {\n groups = Object.keys(self.channelIndex)\n .map((c) => self.channelIndex[c])\n .sort((channelA, channelB) => {\n return (\n // Sort by default channel first\n // Then sort by name alphabetically\n (channelA.IsDefault === channelB.IsDefault ? 0 : channelA.IsDefault ? -1 : 1) || (channelA.Name.toLowerCase() === channelB.Name.toLowerCase() ? 0 : channelA.Name.toLowerCase() < channelB.Name.toLowerCase() ? -1 : 1));\n })\n .map((channel) => channel.Id);\n }\n if (filter.groupBy === DimensionTypes.TagSet) {\n // If we are filtering by the same tag set that we are grouping by,\n // then all tenants within an excluded group will be filtered out in `getRowsForGroup`\n // But we still want to exclude tenants that don't have any tags from the tag set we are grouping by (i.e. the `null` group)\n return groups.filter((g) => g !== null) as string[];\n }\n else if (filter[filter.groupBy!]) {\n return groups.filter((groupId) => filter[filter.groupBy!][groupId!]) as string[];\n }\n return groups as string[];\n },\n shouldRenderSectionHeader: () => {\n if (groupDimension === DimensionTypes.Channel && Object.keys(self.channelIndex).length < 2) {\n return false;\n }\n return true;\n },\n groupTitle: (groupId, liveStatusShown) => {\n const isTenanted = Object.keys(self.tenantIndex).length > 0;\n const liveStatusRowShown = !isTenanted && liveStatusShown;\n if (groupId === ProjectDashboardLiveStatusGroupId || (isTenanted && liveStatusShown)) {\n return ;\n }\n if (!groupDimension || !groupId) {\n return ;\n }\n const multipleChannels = Object.keys(self.channelIndex).length > 1;\n if (groupDimension === DimensionTypes.Channel || filter.groupBy === DimensionTypes.Channel) {\n if (multipleChannels) {\n return ;\n }\n else {\n return ;\n }\n }\n else if (groupDimension === DimensionTypes.TagSet) {\n const tag = groupedTagSet.Tags.find((t) => t.CanonicalTagName === groupId);\n return (\n {groupedTagSet.Name}: \n } description={liveStatusRowShown ? \"Deployments\" : undefined}/>);\n }\n throw new Error(\"Only Channel Grouping Supported\");\n },\n firstColumnTitle: () => {\n // Show \"tenant\" instead of \"release\" when we are in a project that utilizes tenants\n if (Object.keys(self.tenantIndex).length > 0) {\n return \"Tenant\";\n }\n return \"Release\";\n },\n getRowsForGroup: (groupId: string, take?: number) => {\n let rows: Array = [];\n if (rowDimension === DimensionTypes.Tenant) {\n rows = replaceUntenantedIdWithNull(self, Object.keys(self.tenantIndex));\n if (groupDimension === DimensionTypes.TagSet) {\n rows = rows.filter((tenantId) => {\n const tenant = self.tenantIndex[tenantId!];\n if (groupId === null) {\n return !tenant || !groupedTagSet.Tags.find((t) => tenant.TenantTags.indexOf(t.CanonicalTagName) !== -1);\n }\n else {\n return tenant && tenant.TenantTags.indexOf(groupId) !== -1;\n }\n });\n }\n // Show enabled tenants first\n rows.sort((a, b) => {\n const aDisabled = a === null ? false : self.tenantIndex[a].IsDisabled;\n const bDisabled = b === null ? false : self.tenantIndex[b].IsDisabled;\n return Number(aDisabled) - Number(bDisabled);\n });\n }\n else if (rowDimension === DimensionTypes.Project) {\n rows = Object.keys(self.projectIndex);\n if (groupDimension === DimensionTypes.ProjectGroup) {\n rows = rows.filter((projectId) => self.projectIndex[projectId!].ProjectGroupId === groupId);\n if (filter[DimensionTypes.ProjectName]) {\n const filterName = Object.keys(filter[DimensionTypes.ProjectName])[0];\n rows = rows.filter((projectId) => self.projectIndex[projectId!].Name.toLocaleUpperCase().includes(filterName.toLocaleUpperCase()));\n }\n if (take) {\n rows = limitProjects(rows, take);\n }\n }\n }\n else if (rowDimension === DimensionTypes.Release) {\n rows = filter.groupBy === DimensionTypes.Channel ? Object.keys(self.releaseIndex).filter((r) => self.releaseIndex[r].ChannelId === groupId) : Object.keys(self.releaseIndex);\n }\n return rows as string[];\n },\n rowTitle: (rowId: string | null) => {\n if (rowDimension === DimensionTypes.Tenant) {\n if (rowId === null) {\n return ;\n }\n else {\n const tenant = self.tenantIndex[rowId];\n return (
    \n \n \n {self.tenantIndex[rowId]?.IsFrozen ? : <>}\n
    );\n }\n }\n if (rowId === null) {\n throw Error(\"A project or release has a null ID which should never happen\");\n }\n if (rowDimension === DimensionTypes.Project) {\n const project = self.projectIndex[rowId];\n return ();\n }\n else if (rowDimension === DimensionTypes.Release) {\n const release = self.releaseIndex[rowId];\n return ();\n }\n },\n getColumnsForGroup: (groupId: string) => {\n let colms = Object.keys(self.environmentIndex);\n if (groupDimension === DimensionTypes.Channel) {\n colms = self.channelEnvironments[groupId].filter((environmentId) => colms.includes(environmentId));\n }\n else if (groupDimension === DimensionTypes.ProjectGroup) {\n const projectEnvironments = Object.keys(self.projectIndex)\n .map((p) => self.projectIndex[p])\n .filter((p) => p.ProjectGroupId === groupId)\n .reduce((arr, p) => arr.concat(p.EnvironmentIds), []);\n colms = colms.filter((environmentId) => projectEnvironments.indexOf(environmentId) !== -1);\n }\n if (filter[columnDimension]) {\n return colms.filter((rowId) => filter[columnDimension][rowId]);\n }\n return colms;\n },\n columnTitle: (columnId) => {\n //Currently only supports environments for column\n return self.environmentIndex[columnId].Name;\n },\n rowLabel: () => {\n switch (rowDimension) {\n case DimensionTypes.Tenant:\n return \"Tenant\";\n case DimensionTypes.Release:\n return \"Release\";\n default:\n return \"\";\n }\n },\n groupDimension,\n rowDimension,\n columnDimension,\n };\n}\nfunction getReleaseVcsRef(cube: DataCube, releaseId: string): GitReference | undefined {\n const release = cube.releaseIndex[releaseId];\n if (release) {\n return release.VersionControlReference;\n }\n return undefined;\n}\n// The untenanted dashboard isn't paged on the server, so we need to do some manual paging here.\n// It's a bit ugly because the cube comes in a dictionary form so we need to traverse each group and track the count.\nfunction getDataSetRowsByPage(dataSet: DataSet, page: number, pageSize: number): Group[] {\n const startIndex = (page - 1) * pageSize;\n const endIndex = startIndex + pageSize - 1;\n let allRowsSoFar = 0;\n const groups = dataSet.getGroups().reduce((acc, groupId) => {\n // We've already passed the end of the page.\n if (allRowsSoFar > endIndex) {\n return acc;\n }\n const rowsInGroup = dataSet.getRowsForGroup(groupId);\n const values = [];\n for (const row of rowsInGroup) {\n if (allRowsSoFar >= startIndex && allRowsSoFar <= endIndex) {\n values.push(row);\n }\n allRowsSoFar++;\n }\n // Channels with no releases don't affect the number of items on the page as we page by releases.\n const shouldIncludeEmptyChannel = rowsInGroup.length === 0 && allRowsSoFar >= startIndex && allRowsSoFar <= endIndex;\n if (values.length > 0 || shouldIncludeEmptyChannel) {\n const value = {\n groupId,\n rowsInGroup: values,\n };\n acc.push(value);\n }\n return acc;\n }, []);\n return groups;\n}\n// The tenanted dashboard is server-side paged, so we can always retrieve the entire dataset.\nfunction getDataSetRows(dataSet: DataSet): Group[] {\n return dataSet.getGroups().reduce((acc, groupId) => {\n const value = {\n groupId,\n rowsInGroup: dataSet.getRowsForGroup(groupId),\n };\n acc.push(value);\n return acc;\n }, []);\n}\nfunction getGroupGetter(groupDimension: DimensionTypes, cube: DataCube) {\n if (groupDimension === DimensionTypes.TagSet) {\n // Tag sets need special getter since they aren't stored on the deployment item itself\n return (item: DashboardItemResource) => (item.TenantId ? cube.tenantTagIndex[item.TenantId] || [] : []);\n //groupedTagSet = cube.tagSetIndex[filter.groupByExtra];\n }\n else if (groupDimension === DimensionTypes.ProjectGroup) {\n // Project groups need special getter since they aren't stored on the deployment item itself\n return (item: DashboardItemResource) => {\n const project = cube.projectIndex[item.ProjectId]; //the project won't be here if we've filterd due to project limit\n return project ? project.ProjectGroupId : null;\n };\n }\n return DimensionGetters[groupDimension];\n}\nfunction replaceUntenantedIdWithNull(self: DataCube, rows: (string | null)[]) {\n // The Untenanted tenant starts with an undefined id as null ids are not returned as part of the response, so the expected null value is re-instated here\n return self.tenantIndex[\"undefined\"] ? rows.map((id) => (id === \"undefined\" ? null : id)) : rows;\n}\ninterface RowTitleContainerProps {\n children: React.ReactNode;\n}\nconst RowTitleContainer = forwardRef(({ children }, ref) => {\n return (
    \n {children}\n
    );\n});\nconst rowTitleContainerStyles = css({\n display: \"flex\",\n alignItems: \"center\",\n padding: `10px 0`,\n});\ninterface TenantRowTitleCellProps {\n logoUrl: string;\n name: string;\n toUrl?: LinkHref;\n isDisabled?: boolean;\n}\nfunction TenantRowTitleCell({ logoUrl, name, toUrl, isDisabled }: TenantRowTitleCellProps) {\n return (\n \n
    \n
    \n \n
    \n {isDisabled && (
    \n \n \n \n
    )}\n
    \n \n {name}\n \n
    \n
    );\n}\ninterface ReleaseRowTitleCellProps {\n name: string;\n toUrl?: LinkHref;\n isDisabled?: boolean;\n isBlocked: boolean;\n vcsRef?: GitReference;\n}\nfunction ReleaseRowTitleCell({ name, toUrl, isDisabled, isBlocked, vcsRef }: ReleaseRowTitleCellProps) {\n return (\n \n
    \n
    \n \n {name}\n \n {isBlocked && (
    \n \n \n \n
    )}\n
    \n\n {vcsRef && (
    \n \n
    )}\n
    \n
    \n
    );\n}\ninterface ProjectRowTitleCellProps extends TenantRowTitleCellProps {\n isFrozen?: boolean;\n}\nfunction ProjectRowTitleCell({ logoUrl, name, toUrl, isDisabled, isFrozen }: ProjectRowTitleCellProps) {\n const containerRef = useRef(null);\n return (\n \n \n \n {name}\n \n {isFrozen && }\n \n );\n}\ninterface RowTitleLinkProps {\n toUrl?: LinkHref;\n isDisabled?: boolean;\n children: React.ReactNode;\n}\nfunction RowTitleLink({ toUrl, isDisabled, children }: RowTitleLinkProps) {\n if (toUrl) {\n return (\n {children}\n );\n }\n else {\n return
    {children}
    ;\n }\n}\nconst rowTitleStyles = {\n name: css({\n overflow: \"hidden\",\n textOverflow: \"ellipsis\",\n wordBreak: \"break-word\",\n display: \"-webkit-box\",\n WebkitLineClamp: \"2\",\n WebkitBoxOrient: \"vertical\",\n }),\n verticalStack: css({ display: \"flex\", flexDirection: \"column\", alignItems: \"left\", width: \"100%\" }),\n horizontalStack: css({ display: \"flex\", flexDirection: \"row\", alignItems: \"center\" }),\n titleText: css({\n flex: 1,\n }),\n link: css({\n display: \"flex\",\n gap: space[12],\n alignItems: \"center\",\n font: text.body.bold.medium,\n lineHeight: \"1.25rem\",\n color: `${themeTokens.color.text.primary} !important`,\n flex: 1,\n padding: `${space[6]} ${space[16]} ${space[6]} 0`,\n minHeight: \"3.25rem\",\n width: \"100%\",\n \"&:hover\": {\n span: {\n color: themeTokens.color.text.link.default,\n },\n },\n \":focus-visible\": {\n boxShadow: themeTokens.shadow.focused,\n outline: \"none\",\n borderRadius: borderRadius.small,\n },\n }),\n};\nconst logoWrapperStyles = css({\n position: \"relative\",\n alignSelf: \"center\",\n});\nconst unavailableIconContainerStyles = css({\n position: \"absolute\",\n top: \"50%\",\n left: \"50%\",\n transform: \"translate(-50%, -50%)\",\n color: themeTokens.color.icon.primary,\n});\nconst logoWrapperDisabledStyles = css({\n WebkitFilter: \"grayscale(1)\",\n filter: \"grayscale(1)\",\n opacity: 0.4,\n});\ntype GroupingFunction = ((item: DashboardItemResource) => string[]) | ((item: DashboardItemResource) => string | null);\nfunction enterTheMatrix(deployments: DashboardItemResource[], groupByFunction: GroupingFunction, rowDimension: DimensionTypes, columnDimension: DimensionTypes): Matrix {\n const rowFromTask = DimensionGetters[rowDimension];\n const columnFromTask = DimensionGetters[columnDimension];\n const matrix: Matrix = {};\n deployments.forEach((deploymentTask: DashboardItemResource) => {\n let groupingIds = groupByFunction(deploymentTask);\n if (!Array.isArray(groupingIds)) {\n groupingIds = [groupingIds!];\n }\n if (groupingIds.length === 0) {\n groupingIds = [null!];\n }\n groupingIds.forEach((groupingId) => {\n let group = matrix[groupingId];\n if (!group) {\n group = matrix[groupingId] = {};\n }\n const rowId = rowFromTask(deploymentTask);\n let row = group[rowId];\n if (!row) {\n row = group[rowId] = {};\n }\n const columnId = columnFromTask(deploymentTask);\n if (!row[columnId]) {\n row[columnId] = [];\n }\n row[columnId].push(deploymentTask);\n });\n });\n Object.keys(matrix).forEach((groupId) => Object.keys(matrix[groupId]).forEach((rowId) => Object.keys(matrix[groupId][rowId]).forEach((columnId) => {\n const latestByContext = getLatestDeploymentPerContext(matrix[groupId][rowId][columnId]);\n matrix[groupId][rowId][columnId] = sortBy(latestByContext, [(t: DashboardItemResource) => t.ReleaseVersion, (t: DashboardItemResource) => new Date(t.CompletedTime || t.Created)]);\n })));\n return matrix;\n}\nfunction getLatestDeploymentPerContext(deployments: DashboardItemResource[]) {\n const latestPerDeploymentContext = deployments.reduce<{\n [key: string]: DashboardItemResource;\n }>((idx: {\n [index: string]: DashboardItemResource;\n }, item: DashboardItemResource) => {\n const key = item.EnvironmentId + item.ReleaseId + item.TenantId + item.ProjectId;\n const current = idx[key] || null;\n if (!current || new Date(current.CompletedTime || current.Created) < new Date(item.CompletedTime || current.Created)) {\n idx[key] = item;\n }\n return idx;\n }, {});\n return Object.keys(latestPerDeploymentContext).map((e) => latestPerDeploymentContext[e]);\n}\nfunction limitProjects(data: Array, limit: number): Array {\n if (data.length <= limit) {\n return data;\n }\n return limit > 0 ? data.slice(0, limit) : [];\n}\nexport { DataSet, Matrix, getDataSet, getDataSetRowsByPage, getDataSetRows };\n","/* eslint-disable @typescript-eslint/no-non-null-assertion */\n/* eslint-disable @typescript-eslint/no-explicit-any */\nimport { css } from \"@emotion/css\";\nimport { NavigationButton, NavigationButtonType, Tooltip } from \"@octopusdeploy/design-system-components\";\nimport { UnavailableIcon } from \"@octopusdeploy/design-system-icons\";\nimport type { DashboardItemResource, DashboardProjectResource, ReferenceDataItem, DashboardTenantResource, EnvironmentLiveStatusResource } from \"@octopusdeploy/octopus-server-client\";\nimport { Permission } from \"@octopusdeploy/octopus-server-client\";\nimport { links } from \"@octopusdeploy/portal-routes\";\nimport cn from \"classnames\";\nimport * as React from \"react\";\nimport type { ActionEvent, AnalyticActionDispatcher } from \"~/analytics/Analytics\";\nimport { Action, useProjectScopedAnalyticActionDispatch } from \"~/analytics/Analytics\";\nimport { DeploymentTaskStatus } from \"~/areas/dashboard/Deployments/DeploymentTaskStatus\";\nimport PermissionCheck from \"~/components/PermissionCheck/PermissionCheck\";\nimport type { DeploymentContext } from \"../ProjectDashboard\";\nimport styles from \"./style.module.less\";\ninterface DashboardCellProps {\n spaceId: string;\n deployment: DashboardItemResource | null;\n deployments: DashboardItemResource[];\n deploymentContext: DeploymentContext;\n hasReleases: boolean;\n tenants: DashboardTenantResource[];\n environment: ReferenceDataItem;\n project: DashboardProjectResource;\n nextAvailableDeploymentEnvironments: {\n [environmentId: string]: string[];\n } | undefined;\n allowDeployments: boolean;\n channelName: string;\n releaseVersion: string;\n showChannelChips: boolean;\n projectEnvironmentTenantIds: string[];\n liveStatus: EnvironmentLiveStatusResource | undefined;\n}\ninterface DashboardCellPropsInternal extends DashboardCellProps {\n dispatchAction: AnalyticActionDispatcher;\n}\nclass DashboardCellInternal extends React.PureComponent {\n render() {\n const { deployments, deploymentContext, allowDeployments } = this.props;\n if (deployments && deployments.length) {\n return this.renderTaskStatusCell();\n }\n if (!allowDeployments) {\n return null;\n }\n const { projectId, releaseId, environmentId, tenantId } = deploymentContext;\n // If no tenant or tenant is enabled, we will not disable the cell\n let disabledCell = false;\n // You've got a tenant... but this tenant can't deploy this environment so... nah\n if (!!tenantId) {\n const tenant = this.props.tenants.find((t) => t.Id === tenantId);\n disabledCell = !!tenant && tenant.IsDisabled;\n if (tenant && tenant.ProjectEnvironments[projectId].indexOf(environmentId) === -1) {\n const environment = this.props.environment;\n return
    {this.renderNoDeployCell(`${tenant.Name} is not linked to the ${environment.Name} environment`, projectId, environmentId, tenantId)}
    ;\n }\n }\n // We are looking at an untenanted deployment on a project that can't do untenanted deployments, so... nope.\n if (!tenantId && !this.props.project.CanPerformUntenantedDeployment) {\n return
    {this.renderNoDeployCell(`This project can not perform untenanted deployments`, projectId, environmentId)}
    ;\n }\n // No release\n if (!releaseId) {\n let text = \"Create a release first to deploy project\";\n if (this.props.hasReleases) {\n // has releases\n text = \"Filter the dashboard by releases to perform a deployment\";\n }\n return (
    \n Filter required\n
    );\n }\n // This scenario is likely only available when we add more filters\n if (!environmentId || !projectId) {\n return
    {this.getUnavailableToDeployWarning(projectId, environmentId)}
    ;\n }\n // Ok... so looks like you can deploy to this environment\n const { nextAvailableDeploymentEnvironments } = this.props;\n if (nextAvailableDeploymentEnvironments) {\n const tenantReleases = nextAvailableDeploymentEnvironments[environmentId];\n if (tenantReleases && tenantReleases.indexOf(tenantId) !== -1) {\n // don't worry. when untenanted tenantId=null\n const uri = links.createDeploymentPage.generateUrl({ spaceId: this.props.spaceId, projectSlug: this.props.project.Slug, releaseVersion: this.props.releaseVersion }, { environmentIds: [environmentId], tenantIds: tenantId ? [tenantId] : undefined });\n return (
    \n \n \n {\n const ev: ActionEvent = {\n action: Action.Deploy,\n resource: \"Deploy Release\",\n };\n this.props.dispatchAction(\"Initiate Deployment\", ev);\n }} disabled={disabledCell}/>\n \n \n
    );\n }\n }\n return (
    \n {this.renderNoDeployCell(`Release ${this.props.releaseVersion} can not be deployed to the ${this.props.environment.Name} environment`, projectId, environmentId, tenantId)}\n
    );\n }\n private renderTaskStatusCell() {\n return (
    \n \n
    );\n }\n private renderNoDeployCell(message: string, projectId: string, environmentId: string, tenantId?: string) {\n const tenant = this.props.tenants.find((t) => t.Id === tenantId);\n const disableCell = !!tenant && tenant.IsDisabled;\n return (\n \n
    \n \n
    \n
    \n
    );\n }\n private getUnavailableToDeployWarning = (projectId: string, environmentId: string) => {\n const missing: string[] = [];\n if (!projectId) {\n missing.push(\"project\");\n }\n if (!environmentId) {\n missing.push(\"environment\");\n }\n let missingDescription: string = \"\";\n if (missing.length === 1) {\n missingDescription = missing[0];\n }\n else if (missing.length > 1) {\n missingDescription = missing\n .slice(0, missing.length - 1)\n .join(\", \")\n .concat(\" and \")\n .concat(missing[missing.length - 1]);\n }\n const text = `Filter the dashboard by ${missingDescription} to perform a deployment.`;\n return (\n \n );\n };\n static displayName = \"DashboardCellInternal\";\n}\nconst cellDisabledStyles = css({\n opacity: 0.4,\n});\nexport function DashboardCell(props: DashboardCellProps) {\n const dispatchAction = useProjectScopedAnalyticActionDispatch(props.project.Id);\n return ;\n}\n","/* eslint-disable @typescript-eslint/no-explicit-any */\nimport { css } from \"@emotion/css\";\nimport { Tooltip, Callout } from \"@octopusdeploy/design-system-components\";\nimport { space } from \"@octopusdeploy/design-system-tokens\";\nimport { DashboardRenderMode } from \"@octopusdeploy/octopus-server-client\";\nimport { range } from \"lodash\";\nimport * as React from \"react\";\nimport type { CellMeasurerCache, GridCellRangeProps, Index } from \"react-virtualized\";\nimport { AutoSizer, MultiGrid as VirtualGrid } from \"react-virtualized\";\nimport { SampleProjectTourStep } from \"~/areas/projects/components/ProjectLayout/SampleProjectTour/SampleProjectTourStep\";\nimport type { DataCube } from \"../DashboardDataSource/DataCube\";\nimport styles from \"./style.module.less\";\ninterface DashboardGridProps {\n rowCount: number;\n columnCount: number;\n cellRenderer: ({ columnIndex, rowIndex, key, style }: any) => JSX.Element;\n cellRangeRenderer: (props: GridCellRangeProps) => React.ReactNode[];\n cube: DataCube;\n cellMeasurerCache: CellMeasurerCache;\n availableHeight: number;\n firstRowHeight: number;\n showCapDataCallout?: boolean;\n dashboardRenderMode: DashboardRenderMode;\n headerComponent?: JSX.Element;\n footerComponent?: JSX.Element;\n}\ninterface DashboardGridState {\n height: number;\n}\n//eslint-disable-next-line react/no-unsafe\nclass DashboardGrid extends React.Component {\n private virtualGrid: VirtualGrid | null = null;\n constructor(props: DashboardGridProps) {\n super(props);\n this.state = {\n height: this.calculateGridHeight(this.props.availableHeight, this.props.dashboardRenderMode),\n };\n }\n componentDidMount() {\n if (this.state.height < this.props.availableHeight || this.props.dashboardRenderMode === DashboardRenderMode.VirtualizeColumns) {\n setTimeout(() => this.setState({ height: this.calculateGridHeight(this.props.availableHeight, this.props.dashboardRenderMode) }), 0);\n }\n }\n UNSAFE_componentWillReceiveProps(nextProps: DashboardGridProps) {\n if (nextProps.availableHeight !== this.props.availableHeight || nextProps.dashboardRenderMode !== this.props.dashboardRenderMode) {\n this.setState({ height: this.calculateGridHeight(nextProps.availableHeight, nextProps.dashboardRenderMode) });\n }\n }\n UNSAFE_componentWillUpdate(nextProps: DashboardGridProps) {\n if (nextProps.rowCount !== this.props.rowCount || nextProps.columnCount !== this.props.columnCount) {\n this.props.cellMeasurerCache.clearAll();\n }\n else if (nextProps.cube !== this.props.cube) {\n range(0, nextProps.columnCount).forEach((index) => this.props.cellMeasurerCache.clear(0, index));\n }\n }\n componentDidUpdate(prevProps: DashboardGridProps) {\n if (prevProps.rowCount !== this.props.rowCount) {\n this.setState({ height: this.calculateGridHeight(this.props.availableHeight, this.props.dashboardRenderMode) });\n }\n }\n calculateGridHeight(availableHeight: number, dashboardRenderMode: DashboardRenderMode) {\n const scrollbarControlOffset = 20; //TODO: Find a better approach for this long term, but this solves the problem for now.\n const totalRowHeight = range(0, this.props.rowCount)\n .map((index) => this.getRowHeight({ index }))\n .reduce((prev, cur) => prev + cur, 0);\n if (dashboardRenderMode === DashboardRenderMode.VirtualizeColumns) {\n return totalRowHeight + scrollbarControlOffset;\n }\n const rowsThatCanFitIntoAvailableHeight = Math.round(availableHeight / this.props.cellMeasurerCache.defaultHeight);\n const minRowsToShow = this.props.rowCount > 2 // We always need to show some rows for phones/tablets\n ? 3\n : this.props.rowCount + 1;\n const height = minRowsToShow > rowsThatCanFitIntoAvailableHeight\n ? minRowsToShow * this.props.cellMeasurerCache.defaultHeight\n : Math.min(rowsThatCanFitIntoAvailableHeight * this.props.cellMeasurerCache.defaultHeight, totalRowHeight) + scrollbarControlOffset;\n return height;\n }\n private getRowHeight: ({ index }: Index) => number = ({ index }) => (index == 0 ? this.props.firstRowHeight : this.props.cellMeasurerCache.rowHeight({ index }));\n render() {\n return (
    \n {this.props.showCapDataCallout && (The following group is displaying limited results for better performance}>\n {this.props.headerComponent}\n )}\n \n \n {({ width }) => ( (this.virtualGrid = virtualGrid)} cube={this.props.cube} virtualRows={this.props.dashboardRenderMode}/>)}\n \n \n\n {this.props.footerComponent}\n
    );\n }\n static displayName = \"DashboardGrid\";\n}\nconst containerStyles = css({\n overflow: \"hidden\",\n marginBottom: space[16],\n});\nexport default DashboardGrid;\n","import { cx, css } from \"@emotion/css\";\nimport { themeTokens, letterSpacing, space, text } from \"@octopusdeploy/design-system-tokens\";\nimport React from \"react\";\nimport FrozenDashboardIcon from \"~/components/DeploymentFreezes/FrozenDashboardIcon\";\nimport { FrozenResourceType } from \"~/components/DeploymentFreezes/FrozenIcon\";\n// This component is taken from DashboardProjectGroups, duplicated to support the older style of the ProjectDashboard while it's being upgraded\ninterface ProjectDashboardEnvironmentColumnHeaderProps {\n name: string;\n isFrozen: boolean;\n}\nexport function ProjectDashboardEnvironmentColumnHeader({ name, isFrozen }: ProjectDashboardEnvironmentColumnHeaderProps) {\n return (
    \n
    \n
    \n {name}\n {isFrozen && }\n
    \n
    \n
    );\n}\nconst styles = {\n header: css({\n color: themeTokens.color.text.tertiary,\n font: text.body.bold.xSmall,\n letterSpacing: letterSpacing.wider,\n textTransform: \"uppercase\",\n textAlign: \"start\",\n paddingTop: space[16],\n paddingLeft: space[8],\n paddingRight: space[8],\n display: \"flex\",\n justifyContent: \"end\",\n height: \"2.25rem\",\n minWidth: \"14rem\",\n }),\n name: css({\n flex: 1,\n textOverflow: \"ellipsis\",\n overflow: \"hidden\",\n }),\n cell: css({\n padding: 0,\n }),\n};\n","/* eslint-disable @typescript-eslint/no-non-null-assertion */\nimport { css } from \"@emotion/css\";\nimport { NavigationButton, NavigationButtonType, Tooltip } from \"@octopusdeploy/design-system-components\";\nimport { UnavailableIcon } from \"@octopusdeploy/design-system-icons\";\nimport { text } from \"@octopusdeploy/design-system-tokens\";\nimport type { DashboardItemResource, ProjectResource, EnvironmentLiveStatusResource } from \"@octopusdeploy/octopus-server-client\";\nimport { DashboardRenderMode, Repository, TaskState, TenantedDeploymentMode } from \"@octopusdeploy/octopus-server-client\";\nimport type { Url } from \"@octopusdeploy/portal-routes\";\nimport { links } from \"@octopusdeploy/portal-routes\";\nimport cn from \"classnames\";\nimport type { Dictionary } from \"lodash\";\nimport { isEqual, memoize } from \"lodash\";\nimport * as React from \"react\";\nimport type { GridCellRangeProps } from \"react-virtualized\";\nimport { CellMeasurer, CellMeasurerCache, defaultCellRangeRenderer } from \"react-virtualized\";\nimport { DeploymentTaskStatus } from \"~/areas/dashboard/Deployments/DeploymentTaskStatus\";\nimport { SampleProjectTourAbsoluteFullContainerHighlightStep } from \"~/areas/projects/components/ProjectLayout/SampleProjectTour/SampleProjectTourStep\";\nimport DashboardLimiter from \"~/utils/DashboardLimiter/DashboardLimiter\";\nimport type { DataCube } from \"../DashboardDataSource/DataCube\";\nimport { DimensionTypes } from \"../DashboardDataSource/DataCube\";\nimport type { DataSet, Group } from \"../DashboardDataSource/DataSet\";\nimport { getDataSetRows, getDataSetRowsByPage, getDataSet } from \"../DashboardDataSource/DataSet\";\nimport type { DeploymentOverviewFilters } from \"../DeploymentsOverview/hooks/useDeploymentsOverviewFilters\";\nimport { DashboardCell } from \"./DashboardCell/DashboardCell\";\nimport DashboardGrid from \"./DashboardGrid\";\nimport { ProjectDashboardEnvironmentColumnHeader } from \"./ProjectDashboardEnvironmentColumnHeader\";\nimport styles from \"./style.module.less\";\ninterface ProjectDashboardProps {\n spaceId: string;\n cube: DataCube;\n filters: DeploymentOverviewFilters;\n maximumRows?: number;\n allowDeployments?: boolean;\n dashboardRenderMode: DashboardRenderMode;\n project: ProjectResource;\n showLiveStatus: boolean;\n}\ninterface ProjectDashboardState {\n height: number;\n groupTakeSizeLookup: Record; // to minimise rendering for performance.\n}\nexport type DeploymentContext = {\n environmentId: string;\n releaseId: string;\n tenantId: string;\n projectId: string;\n};\nconst fixedCellWidth = 260;\n// The designed height is 36/72 however due to the position of the scroll bar for this type of grid component we require some additional spacing to prevent the scroll bar blocking environment names\nconst defaultEnvironmentRowHeight = 36 + 16;\nconst environmentRowHeightWithDeployAllLink = 72 + 16;\nexport const ProjectDashboardLiveStatusGroupId = \"live-status-group\";\nconst ProjectDashboardLiveStatusRowIdLiveStatusRowId = \"live-status-row\";\nexport default class ProjectDashboard extends React.Component {\n private boundingDiv: HTMLElement | null = null;\n private cellMeasurerCaches: ((groupId: string, shouldShowChannelChips: boolean) => CellMeasurerCache) | null = null;\n private initialTop: number | null = null;\n private loadMoreTakeSize: number = Repository.takeDefaultPageSize;\n constructor(props: ProjectDashboardProps) {\n super(props);\n this.cellMeasurerCaches = memoize(this.getCellMeasurerCache);\n this.state = {\n height: 0,\n groupTakeSizeLookup: {},\n };\n }\n componentDidMount() {\n this.calculateTop();\n this.calculateHeight();\n window.addEventListener(\"resize\", this.calculateHeight);\n }\n componentWillUnmount() {\n window.removeEventListener(\"resize\", this.calculateHeight);\n }\n calculateTop() {\n if (this.boundingDiv !== null) {\n this.initialTop = this.boundingDiv.getBoundingClientRect().top;\n }\n }\n calculateHeight = () => {\n const approxHeightOfPaddingAndOtherJunk = 90;\n const height = window.innerHeight - this.initialTop! - approxHeightOfPaddingAndOtherJunk;\n this.setState({ height });\n };\n shouldComponentUpdate(nextProps: ProjectDashboardProps, nextState: ProjectDashboardState) {\n return !isEqual(getPropsForComparison(nextProps), getPropsForComparison(this.props)) || nextState.height !== this.state.height || nextState.groupTakeSizeLookup !== this.state.groupTakeSizeLookup;\n function getPropsForComparison(props: ProjectDashboardProps) {\n return props;\n }\n }\n render() {\n if (this.state.height === 0) {\n return
    (this.boundingDiv = div)}/>;\n }\n const dataSet = getDataSet(this.props.filters, this.props.cube);\n const deploymentContext = this.getDeploymentContext(dataSet);\n const groups = this.props.project.TenantedDeploymentMode === TenantedDeploymentMode.Untenanted ? getDataSetRowsByPage(dataSet, this.props.filters.page, this.props.filters.pageSize) : getDataSetRows(dataSet);\n return this.redrawMatrix(dataSet, groups, deploymentContext);\n }\n private getCellMeasurerCache(groupId: string, shouldShowChips: boolean) {\n // Be careful about changing this width or height. Virtual scrolling requires a set width, but we need to accommodate\n // for a lot of customer scenarios. Too big and we annoy users who have small version numbers. Too small and we annoy\n // customers with long version numbers.\n // We need some extra height when chips are involved\n const height = shouldShowChips ? 100 : 70;\n return new CellMeasurerCache({\n defaultWidth: fixedCellWidth,\n minWidth: fixedCellWidth,\n fixedWidth: true,\n defaultHeight: height,\n minHeight: height,\n });\n }\n private getDeploymentContext(dataSet: DataSet): (groupId: string, rowId: string, columnId: string) => DeploymentContext {\n return (groupId: string, rowId: string, columnId: string) => ({\n environmentId: this.tryGetValue(dataSet, DimensionTypes.Environment)(groupId, rowId, columnId),\n releaseId: this.tryGetValue(dataSet, DimensionTypes.Release)(groupId, rowId, columnId),\n tenantId: this.tryGetValue(dataSet, DimensionTypes.Tenant)(groupId, rowId, columnId),\n projectId: this.tryGetValue(dataSet, DimensionTypes.Project)(groupId, rowId, columnId),\n });\n }\n private tryGetValue(dataSet: DataSet, dimensionType: DimensionTypes): (groupId: string, rowId: string, columnId: string) => string {\n const filters = this.props.filters;\n if (dataSet.groupDimension === dimensionType) {\n return (groupId, rowId, columnId) => groupId;\n }\n else if (dataSet.rowDimension === dimensionType) {\n return (groupId, rowId, columnId) => rowId;\n }\n else if (dataSet.columnDimension === dimensionType) {\n return (groupId, rowId, columnId) => columnId;\n }\n else if (filters[dimensionType]) {\n const environmentIds = Object.keys(filters[dimensionType]);\n if (environmentIds.length === 1) {\n return (groupId, rowId, columnId) => environmentIds[0];\n }\n }\n return () => null!;\n }\n private areAnyDeployToAllEnvironmentsLinksDisplayed(cube: DataCube, dataSet: DataSet): boolean {\n return (dataSet\n .getGroups()\n .flatMap((groupId) => dataSet.getColumnsForGroup(groupId).map((columnId) => this.tryGetDeployToAllEnvironmentsUrl(cube, dataSet, groupId, columnId)))\n .filter((url) => url !== null).length > 0);\n }\n private tryGetDeployToAllEnvironmentsUrl(cube: DataCube, dataSet: DataSet, groupId: string, columnId: string): Url | null {\n const environmentId = columnId;\n if (dataSet.columnDimension === DimensionTypes.Environment && dataSet.rowDimension === DimensionTypes.Tenant && this.props.filters[DimensionTypes.Release]) {\n const releaseFilters = Object.keys(this.props.filters[DimensionTypes.Release]);\n if (releaseFilters.length === 1) {\n const releaseId = Object.keys(this.props.filters[DimensionTypes.Release])[0];\n const projectId = Object.keys(this.props.filters[DimensionTypes.Project])[0];\n const groupTenantsWithoutSuccess = dataSet\n .getRowsForGroup(groupId)\n .filter((tenantId) => tenantId !== null &&\n !cube.tenantIndex[tenantId].IsDisabled &&\n cube.tenantIndex[tenantId].ProjectEnvironments[projectId].indexOf(environmentId) !== -1 &&\n (!dataSet.matrix[groupId] || !dataSet.matrix[groupId][tenantId] || !dataSet.matrix[groupId][tenantId][environmentId] || !dataSet.matrix[groupId][tenantId][environmentId].find((item) => item.State === TaskState.Success)));\n const availableDeployments = (cube.nextAvailableDeployments[releaseFilters[0]] || {})[environmentId];\n if (availableDeployments) {\n const canDeployAll = availableDeployments.filter((t) => groupTenantsWithoutSuccess.indexOf(t) !== -1);\n if (canDeployAll.length > 0) {\n const release = cube.releaseIndex[releaseId];\n const uri = links.createDeploymentPage.generateUrl({ spaceId: this.props.spaceId, projectSlug: cube.projectIndex[projectId].Slug, releaseVersion: release?.Version ?? releaseId }, { environmentIds: [environmentId], tenantIds: groupTenantsWithoutSuccess });\n return uri;\n }\n }\n }\n }\n return null;\n }\n private environmentIsFrozen = (cube: DataCube, dataSet: DataSet, columnId: string) => {\n return dataSet.columnDimension === DimensionTypes.Environment && cube.environmentIndex[columnId]?.IsFrozen;\n };\n private redrawMatrix(dataSet: DataSet, groups: Group[], deploymentContext: (groupId: string, rowId: string, columnId: string) => DeploymentContext) {\n if (!dataSet) {\n return null;\n }\n const rowAndColumnCountsPerGroup = groups.map((g) => {\n const groupId = g.groupId;\n return { row: g.rowsInGroup.length, column: dataSet.getColumnsForGroup(groupId).length };\n });\n const dashboardLimit = new DashboardLimiter(rowAndColumnCountsPerGroup);\n const cube = this.props.cube;\n const shouldRenderSectionHeader = dataSet.shouldRenderSectionHeader() || this.props.showLiveStatus;\n const showLiveStatusRow = Object.keys(cube.tenantIndex).length == 0 && this.props.showLiveStatus;\n const tenantsInCube = Object.values(cube.tenantIndex);\n const hasNonDefaultChannels = Object.keys(cube.channelIndex).length > 1;\n const hasReleases = Object.keys(cube.releaseIndex).length > 0;\n const projectEnvironmentTenants: Dictionary> = {};\n // We don't want to clutter cells with channel chips if the UI is grouping things by channel already.\n const shouldShowChannelChips = groups && groups.length === 1 && dataSet.groupDimension !== DimensionTypes.Channel && hasNonDefaultChannels;\n tenantsInCube.forEach((tenant) => {\n Object.keys(tenant.ProjectEnvironments).forEach((projectId) => {\n tenant.ProjectEnvironments[projectId].forEach((environmentId) => {\n if (!projectEnvironmentTenants[projectId]) {\n projectEnvironmentTenants[projectId] = {};\n }\n if (!projectEnvironmentTenants[projectId][environmentId]) {\n projectEnvironmentTenants[projectId][environmentId] = [];\n }\n projectEnvironmentTenants[projectId][environmentId].push(tenant.Id);\n });\n });\n });\n const grids = groups.map((g, index) => {\n const groupId = g.groupId;\n const rowsInGroup = g.rowsInGroup;\n const columnsInGroup = dataSet.getColumnsForGroup(groupId);\n if (rowsInGroup.length === 0) {\n return
    ;\n }\n const group = dataSet.matrix[groupId] || {};\n const firstColumns = rowsInGroup.map((rowId) => dataSet.rowTitle(rowId));\n const isGridHeaderAndIncludedInSampleProjectTour = (cells: CellMeasurer[]): boolean => {\n const headerRowIndex = 0;\n const excludedColumnIndexes = [0];\n return cells?.every((cell) => cell.props.rowIndex === headerRowIndex && !excludedColumnIndexes.includes(cell.props.columnIndex!));\n };\n const cellRangeRenderer = (props: GridCellRangeProps) => {\n const children = defaultCellRangeRenderer(props);\n // eslint-disable-next-line @typescript-eslint/consistent-type-assertions\n const cells = children as CellMeasurer[];\n if (isGridHeaderAndIncludedInSampleProjectTour(cells)) {\n children.push();\n }\n return children;\n };\n // eslint-disable-next-line @typescript-eslint/no-explicit-any\n const cellRenderer = ({ columnIndex, rowIndex, key, style, parent }: any) => {\n const rowId = rowsInGroup[rowIndex - 1];\n //React-virtualized does not apply the fixed dimension styles for us and we need them otherwise the non-fixed dimension (height) may be calculated incorrectly\n const styleWithWidth = { ...style, width: fixedCellWidth };\n // Top left cell\n if (columnIndex === 0 && rowIndex === 0) {\n return (\n
    \n \n
    \n
    );\n }\n // Left most column\n if (columnIndex === 0) {\n return (\n
    0 ? \"\" : styles.highlightColumn)} key={key}>\n {firstColumns[rowIndex - 1]}\n
    \n
    );\n }\n const columnId = columnsInGroup[columnIndex - 1];\n const environmentIsFrozen = this.environmentIsFrozen(this.props.cube, dataSet, columnId);\n // Cannot deploy all if the environment is frozen\n const deployAllUrl = !environmentIsFrozen && this.tryGetDeployToAllEnvironmentsUrl(this.props.cube, dataSet, groupId, columnId);\n // Top row\n if (rowIndex === 0) {\n return (\n
    \n \n {deployAllUrl && (\n \n )}\n
    \n
    );\n }\n const context = deploymentContext(groupId, rowId, columnId);\n const row = group[rowId] || {};\n const deployments = row[columnId];\n const deployment = this.getDeployment(deployments);\n const projectEnvironmentTenantIds = projectEnvironmentTenants[context.projectId] && projectEnvironmentTenants[context.projectId][context.environmentId] ? projectEnvironmentTenants[context.projectId][context.environmentId] : [];\n const liveStatus = this.props.showLiveStatus && !showLiveStatusRow ? this.tryGetLiveStatus(rowId, columnId) : undefined;\n return (\n
    \n \n
    \n
    );\n };\n const rowAndColumnLimit = dashboardLimit.getLimit(index);\n const isLimited = rowAndColumnLimit.row < rowsInGroup.length || rowAndColumnLimit.column < columnsInGroup.length;\n // We currently do not support paging when the dashboard is grouped by tag set\n const isProjectTenantedAndDashboardGrouped = this.props.project.TenantedDeploymentMode !== TenantedDeploymentMode.Untenanted && this.props.filters.groupBy;\n if (isProjectTenantedAndDashboardGrouped) {\n const takeNumberOfRows = this.state.groupTakeSizeLookup[groupId] ? this.state.groupTakeSizeLookup[groupId] : this.loadMoreTakeSize;\n rowAndColumnLimit.row = takeNumberOfRows > rowAndColumnLimit.row ? rowAndColumnLimit.row : takeNumberOfRows;\n }\n const environmentRowHeight = this.areAnyDeployToAllEnvironmentsLinksDisplayed(this.props.cube, dataSet) ? environmentRowHeightWithDeployAllLink : defaultEnvironmentRowHeight;\n return (
    \n {shouldRenderSectionHeader && {dataSet.groupTitle(groupId, this.props.showLiveStatus)}}\n \n
    );\n });\n return (<>\n {showLiveStatusRow && this.liveStatusGrid(dataSet, shouldRenderSectionHeader, shouldShowChannelChips, hasNonDefaultChannels)}\n {grids}\n );\n }\n private liveStatusGrid(dataSet: DataSet, shouldRenderSectionHeader: boolean, shouldShowChannelChips: boolean, hasNonDefaultChannels: boolean) {\n // eslint-disable-next-line @typescript-eslint/no-explicit-any\n const liveStatusCellRenderer = ({ columnIndex, rowIndex, key, style, parent }: any) => {\n //React-virtualized does not apply the fixed dimension styles for us and we need them otherwise the non-fixed dimension (height) may be calculated incorrectly\n const styleWithWidth = { ...style, width: fixedCellWidth };\n // Top left cell\n if (columnIndex === 0 && rowIndex === 0) {\n return (\n
    \n
    );\n }\n // Left most column\n if (columnIndex === 0) {\n return (\n
    \n
    );\n }\n const columnId = Object.keys(this.props.cube.environmentIndex)[columnIndex - 1];\n const environmentIsFrozen = this.environmentIsFrozen(this.props.cube, dataSet, columnId);\n // Top row\n if (rowIndex === 0) {\n return (\n
    \n \n
    \n
    );\n }\n const deployments = this.props.cube.deployments.filter((deployment) => deployment.EnvironmentId == columnId);\n const deployment = deployments.sort((a, b) => (a.StartTime > b.StartTime ? -1 : 1))[0] ?? {};\n const liveStatus = this.tryGetLiveStatus(ProjectDashboardLiveStatusRowIdLiveStatusRowId, columnId);\n return (\n
    \n {liveStatus === undefined ? (\n
    \n \n
    \n
    ) : (
    \n \n
    )}\n
    \n
    );\n };\n return (<>\n {shouldRenderSectionHeader && {dataSet.groupTitle(ProjectDashboardLiveStatusGroupId, true)}}\n \n );\n }\n // rowId may be the releaseId, tenantId, or some other row identifier\n private tryGetLiveStatus(rowId: string, environmentId: string): EnvironmentLiveStatusResource | undefined {\n const liveStatusForProject = this.props.cube.liveStatusIndex[this.props.project.Id];\n const environmentLiveStatuses = liveStatusForProject?.Environments?.filter((x) => x.Id == environmentId);\n // If rowId is a value tenant, then we know that this is for tenants\n const tenantLiveStatus = environmentLiveStatuses.find((x) => x.TenantId == rowId);\n if (tenantLiveStatus)\n return tenantLiveStatus;\n // Otherwise we just take the first environment live status, if it exists\n return environmentLiveStatuses.length > 0 ? environmentLiveStatuses[0] : undefined;\n }\n private getDeployment(deployments: DashboardItemResource[] | null) {\n if (!deployments || !deployments.length) {\n return null;\n }\n return deployments.find((item) => item.State === TaskState.Executing || item.State === TaskState.Failed || (item.State === TaskState.Success && item.HasWarningsOrErrors)) || deployments[0];\n }\n private getChannelName = (channelId: string): string | null => {\n const channel = this.props.cube.channelIndex[channelId];\n if (channel) {\n return channel.Name;\n }\n return null;\n };\n private getReleaseVersion = (releaseId: string): string | null => {\n const release = this.props.cube.releaseIndex[releaseId];\n if (release) {\n return release.Version;\n }\n return null;\n };\n static displayName = \"ProjectDashboard\";\n}\nfunction SectionHeader({ children }: {\n children: React.ReactNode;\n}) {\n return
    {children}
    ;\n}\nconst emotionStyles = {\n sectionHeading: css({ font: text.body.bold.large }),\n environmentHeaderContainer: css({ paddingLeft: 8 }),\n liveStatusContainer: css({\n display: \"flex\",\n padding: \"0 3px\",\n }),\n liveStatusUnavailableContainer: css({\n opacity: 0.2,\n fondSize: \"2.5rem\",\n paddingLeft: 9,\n }),\n};\n","import ProjectDashboard from \"./ProjectDashboard\";\nexport default ProjectDashboard;\n","import { css } from \"@emotion/css\";\nimport { Switch, Popover, IconButton, ExternalLink } from \"@octopusdeploy/design-system-components\";\nimport { InfoCircleIcon } from \"@octopusdeploy/design-system-icons\";\nimport { text, lineHeight, themeTokens, fontSize, space } from \"@octopusdeploy/design-system-tokens\";\nimport type { ProjectsPageLiveStatusRollup, ProjectLiveStatusResource } from \"@octopusdeploy/octopus-server-client\";\nimport { links } from \"@octopusdeploy/portal-routes\";\nimport * as React from \"react\";\nimport { useRef } from \"react\";\nimport { LiveStatusConnectionIcon } from \"~/areas/projects/components/Observability/LiveStatusConnectionIcon\";\nimport { isFeatureToggleEnabled } from \"~/components/FeatureToggle/New/FeatureToggleContext\";\nimport InternalLink from \"~/components/Navigation/InternalLink\";\nimport { useOctopusFeatureToggle } from \"~/hooks/useOctopusFeatureToggle\";\nexport type LiveStatusSwitchProps = {\n value: boolean;\n onValueChange: (newValue: boolean) => void;\n accessibleName: string;\n enabled: boolean | \"hidden\";\n spaceId: string;\n};\nexport function LiveStatusSwitch(props: LiveStatusSwitchProps) {\n const { value, onValueChange, accessibleName, enabled = true, spaceId } = props;\n const isKubernetesLiveStatusEnabled = useOctopusFeatureToggle(\"kubernetes-monitor\", false) && isFeatureToggleEnabled(\"KubernetesLiveObjectStatusFeatureToggle\");\n if (!isKubernetesLiveStatusEnabled || enabled === \"hidden\") {\n return <>;\n }\n return (\n \n \n \n Live status\n \n \n );\n}\nconst styles = {\n container: css({\n color: themeTokens.color.text.secondary,\n font: text.body.regular.xSmall,\n lineHeight: lineHeight.xSmall,\n fontSize: fontSize.medium,\n display: \"flex\",\n flexDirection: \"row\",\n justifyContent: \"center\",\n alignItems: \"center\",\n textAlign: \"center\",\n paddingRight: \"4px\",\n }),\n label: css({\n display: \"flex\",\n flexDirection: \"row\",\n gap: space[4],\n justifyContent: \"center\",\n alignItems: \"center\",\n textAlign: \"center\",\n }),\n};\ntype LiveStatusInfoIconButtonProps = {\n spaceId: string;\n};\nfunction LiveStatusInfoIconButton({ spaceId }: LiveStatusInfoIconButtonProps) {\n const infoRef = useRef(null);\n const [buttonAnchor, setButtonAnchor] = React.useState(null);\n const handleClick = React.useCallback((e: React.MouseEvent) => {\n if (infoRef)\n setButtonAnchor(infoRef.current);\n }, []);\n return (
    \n {/* Should use InfoCircleColourIcon but it's broken */}\n } onClick={handleClick}/>\n\n setButtonAnchor(null)}>\n
    \n
    \n
    Get live status for Kubernetes
    \n

    You have two options to start getting live status for your Kubernetes projects:

    \n
      \n
    1. \n Install the latest version of the Octopus{\" \"}\n \n Kubernetes agent\n \n
    2. \n
    3. \n Upgrade your existing agents via Helm. \n
    4. \n
    \n
    \n
    \n
    \n
    );\n}\nconst infoStyles = {\n container: css({ paddingTop: space[4], paddingBottom: space[4] }),\n popover: css({\n maxWidth: \"328px\",\n padding: space[24],\n display: \"flex\",\n flexDirection: \"column\",\n gap: space[16],\n }),\n title: css({ font: text.body.bold.large }),\n ol: css({ listStyleType: \"decimal\", paddingLeft: space[16] }),\n notLastLi: css({ paddingBottom: lineHeight.xSmall }),\n};\nexport function liveStatusLocalStorageKey(spaceId: string) {\n return `Octopus.Dashboard.ShowLiveStatus[${spaceId}]`;\n}\nexport function anyProjectSupportsLiveStatus(liveStatusRollup: ProjectsPageLiveStatusRollup): boolean {\n return (liveStatusRollup?.ProjectGroups?.flatMap((pg) => pg.Projects)?.length || 0) > 0;\n}\nexport function projectSupportsLiveStatus(projectLiveStatus: ProjectLiveStatusResource): boolean {\n return (projectLiveStatus?.Environments?.length || 0) > 0;\n}\n","import { EmptyStateReleaseIllustration } from \"@octopusdeploy/design-system-components\";\nimport type { ProjectResource } from \"@octopusdeploy/octopus-server-client\";\nimport * as React from \"react\";\nimport ExternalLink from \"~/components/Navigation/ExternalLink/ExternalLink\";\nimport ExternalVideoLink from \"~/components/Navigation/ExternalLink/ExternalVideoLink\";\nimport OnboardingPage from \"../../../../components/GettingStarted/OnboardingPage\";\nconst ReleaseOnboarding = (props: {\n project: ProjectResource;\n actionButtons: React.ReactNode;\n notification?: React.ReactNode;\n}) => {\n return (\n Learn more\n \n Video (3 mins)\n \n } image={} actionButtons={props.actionButtons} notification={props.notification}/>);\n};\nexport default ReleaseOnboarding;\n","import type { ProjectResource } from \"@octopusdeploy/octopus-server-client\";\nimport * as React from \"react\";\nimport ExternalLink from \"~/components/Navigation/ExternalLink/ExternalLink\";\nimport ExternalVideoLink from \"~/components/Navigation/ExternalLink/ExternalVideoLink\";\nimport OnboardingPage from \"../../../../components/GettingStarted/OnboardingPage\";\nconst Onboarding = (props: {\n project: ProjectResource;\n actionButtons: React.ReactNode;\n}) => {\n return (\n Learn more\n \n Video (3 mins)\n \n } actionButtons={props.actionButtons}/>);\n};\nexport default Onboarding;\n","/* eslint-disable @typescript-eslint/no-non-null-assertion */\n/* eslint-disable @typescript-eslint/consistent-type-assertions */\nimport type { PrimaryPageAction, SimpleMenuItem } from \"@octopusdeploy/design-system-components\";\nimport { Callout, NavigationButton, NavigationButtonType, Pagination } from \"@octopusdeploy/design-system-components\";\nimport { logger } from \"@octopusdeploy/logging\";\nimport type { PerformanceConfigurationResource, ProjectResource, TenantResource } from \"@octopusdeploy/octopus-server-client\";\nimport { DashboardRenderMode, Permission, TenantedDeploymentMode } from \"@octopusdeploy/octopus-server-client\";\nimport { links } from \"@octopusdeploy/portal-routes\";\nimport { isEqual, omit } from \"lodash\";\nimport * as React from \"react\";\nimport { useMemo, useState } from \"react\";\nimport type { ActionEvent, AnalyticActionDispatcher } from \"~/analytics/Analytics\";\nimport { Action, ProjectAnalyticView, useProjectScopedAnalyticActionDispatch } from \"~/analytics/Analytics\";\nimport type { RenderDashboardProps } from \"~/areas/dashboard/DashboardOverview/DashboardOverviewPage\";\nimport type { DataCube } from \"~/areas/projects/components/DashboardDataSource/DataCube\";\nimport { DimensionTypes } from \"~/areas/projects/components/DashboardDataSource/DataCube\";\nimport TenantedProjectDashboardDataSource from \"~/areas/projects/components/DashboardDataSource/TenantedProjectDashboardDataSource\";\nimport UntenantedProjectDashboardDataSource from \"~/areas/projects/components/DashboardDataSource/UntenantedProjectDashboardDataSource\";\nimport { DeploymentsOverviewEnvironmentFilter, DeploymentsOverviewGroupingOptions, DeploymentsOverviewReleasesFilter, DeploymentsOverviewTenantFilter } from \"~/areas/projects/components/DeploymentsOverview/DeploymentsOverviewAdvancedFilters\";\nimport type { DeploymentOverviewFilters } from \"~/areas/projects/components/DeploymentsOverview/hooks/useDeploymentsOverviewFilters\";\nimport useDeploymentsOverviewFilters, { defaultDeploymentOverviewPageSize, deploymentOverviewPageSizes, isDeploymentOverviewPageSize } from \"~/areas/projects/components/DeploymentsOverview/hooks/useDeploymentsOverviewFilters\";\nimport type { SampleProjectTourContextProps } from \"~/areas/projects/components/ProjectLayout/SampleProjectTour/SampleProjectTour\";\nimport { SampleProjectTourContext } from \"~/areas/projects/components/ProjectLayout/SampleProjectTour/SampleProjectTour\";\nimport SampleProjectTourStartTourOnMount from \"~/areas/projects/components/ProjectLayout/SampleProjectTour/SampleProjectTourStartTourOnMount\";\nimport { ProjectPageTitleAccessory } from \"~/areas/projects/components/ProjectPageTitleAccessory\";\nimport { useProjectContext } from \"~/areas/projects/context/ProjectContext\";\nimport type { WithProjectContextInjectedProps } from \"~/areas/projects/context/withProjectContext\";\nimport { repository } from \"~/clientInstance\";\nimport ActionList from \"~/components/ActionList\";\nimport { AdvancedFilters } from \"~/components/AdvancedFilterLayout/AdvancedFilters\";\nimport type { Errors } from \"~/components/DataBaseComponent/index\";\nimport { PageContent } from \"~/components/PageContent/PageContent\";\nimport { PageLoading } from \"~/components/PageContent/PageLoading\";\nimport PermissionCheck, { isAllowed } from \"~/components/PermissionCheck/PermissionCheck\";\nimport SampleProcessButtonWithRedirect from \"~/components/ProjectBasedActivation/SampleProcessButtonWithRedirect\";\nimport { useRequiredContext } from \"~/hooks/index\";\nimport useLocalStorage from \"~/hooks/useLocalStorage\";\nimport { RecentProjects } from \"~/utils/RecentProjects/RecentProjects\";\nimport type { DataBaseComponentState, DoBusyTask } from \"../../../../components/DataBaseComponent/DataBaseComponent\";\nimport { DataBaseComponent } from \"../../../../components/DataBaseComponent/DataBaseComponent\";\nimport ProjectDashboard from \"../ProjectDashboard\";\nimport { liveStatusLocalStorageKey, LiveStatusSwitch, projectSupportsLiveStatus } from \"../Projects/LiveStatusSwitch\";\nimport ReleaseOnboarding from \"../Releases/Onboarding\";\nimport Onboarding from \"./Onboarding\";\ninterface OverviewState extends DataBaseComponentState {\n project: ProjectResource;\n tenants: TenantResource[];\n hasSteps: boolean;\n hasReleases: boolean;\n failedChecks: Array<{\n permission: Permission;\n isNotAllowed: boolean;\n }>;\n dashboardRenderMode: DashboardRenderMode;\n isDashboardLoaded: boolean;\n}\ninterface DeploymentsOverviewPropsInternal extends WithProjectContextInjectedProps {\n sampleProjectTourContext: SampleProjectTourContextProps;\n dispatchAction: AnalyticActionDispatcher;\n filters: DeploymentOverviewFilters;\n setFilters: (newFilters: DeploymentOverviewFilters) => void;\n}\nconst pageTitle = \"Project Dashboard\";\nclass DeploymentsOverviewInternal extends DataBaseComponent {\n constructor(props: DeploymentsOverviewPropsInternal) {\n super(props);\n this.state = {\n hasSteps: false,\n hasReleases: false,\n project: null!,\n tenants: [],\n failedChecks: [],\n dashboardRenderMode: null!,\n isDashboardLoaded: false,\n };\n }\n async componentDidMount() {\n await this.doBusyTask(async () => {\n const tenants = isAllowed({ permission: Permission.TenantView, tenant: \"*\" }) ? await repository.Tenants.all() : [];\n const { model: project, projectContextRepository } = this.props.projectContext.state;\n const performanceConfiguration = await repository.PerformanceConfiguration.get();\n RecentProjects.getInstance().UpdateAccessedProjectIntoLocalStorage(project.Id);\n const requiredPermissions = [\n { permission: Permission.ProjectView, project: project.Id, tenant: \"*\", projectGroup: project.ProjectGroupId },\n { permission: Permission.ReleaseView, project: project.Id, tenant: \"*\", projectGroup: project.ProjectGroupId },\n { permission: Permission.EnvironmentView, wildcard: true },\n ];\n const failedChecks = requiredPermissions\n .map((check) => ({\n permission: check.permission,\n isNotAllowed: !isAllowed(check),\n }))\n .filter((check) => check.isNotAllowed);\n if (failedChecks.length > 0) {\n this.setState({\n project,\n failedChecks,\n });\n return;\n }\n let hasSteps = false;\n try {\n const projectStatus = await repository.Projects.getProjectStatus(project.Slug, project.SpaceId);\n hasSteps = projectStatus.HasSteps;\n }\n catch (exception) {\n logger.error(exception, \"Failed to get status for {project}\", { project });\n }\n let hasReleases = false;\n try {\n const releases = await repository.Projects.getReleases(project, { take: 1 });\n hasReleases = releases.TotalResults > 0;\n }\n catch (exception) {\n logger.error(exception, \"Failed to get releases for {project}\", { project });\n }\n this.setState({\n project,\n tenants,\n hasSteps,\n hasReleases,\n dashboardRenderMode: this.getDashboardRenderMode(project, performanceConfiguration),\n });\n });\n }\n render() {\n if (!this.state.project) {\n return ;\n }\n if (this.state.failedChecks.length > 0) {\n return ( }} callout={{ type: \"information\", title: \"Permission required\", content: `The ${this.state.failedChecks[0].permission} permission is required to view project overview details` }}>\n {null}\n );\n }\n if (this.state.project && !this.state.hasSteps && !this.state.hasReleases) {\n return ( }}>\n \n {\n const ev: ActionEvent = {\n action: Action.Add,\n resource: \"Deployment Process\",\n };\n this.props.dispatchAction(\"Define your Deployment Process\", ev);\n }}/>,\n ,\n ]}/>\n }/>\n \n );\n }\n if (this.state.project && !this.state.hasReleases) {\n const createReleaseIsAllowed = this.state.hasSteps || this.state.project?.IsVersionControlled;\n const notification = (\n \n Before you can release and deploy your software, you will need to create a deployment process.\n \n );\n return ( }}>\n \n this.props.dispatchAction(\"Create Release\", { action: Action.Add, resource: \"Create Release\" })}/>\n ) : ()} notification={!createReleaseIsAllowed ? notification : null}/>\n );\n }\n return (<>\n this.setDashboardRenderMode(value)} dashboardLoaded={this.state.isDashboardLoaded} busy={this.state.busy} errors={this.errors} render={this.renderDashboard} doBusyTask={this.doBusyTask} setIsDashboardLoaded={(value) => this.setState({ isDashboardLoaded: value })} filters={this.props.filters} onFiltersUpdated={this.filtersUpdated} tenants={this.state.tenants}/>\n );\n }\n private showLoadingDashboard(dataSource: RenderDashboardProps) {\n return ();\n }\n private localStorageKeyForVirtualDashboard(project: ProjectResource): string {\n return \"virtualDashboard\" + project.Id;\n }\n private getDashboardRenderMode(project: ProjectResource, performanceConfiguration: PerformanceConfigurationResource): DashboardRenderMode {\n const localRenderMode = localStorage.getItem(this.localStorageKeyForVirtualDashboard(project));\n if (localRenderMode !== null) {\n const typedRenderModeString = localRenderMode as keyof typeof DashboardRenderMode;\n return DashboardRenderMode[typedRenderModeString];\n }\n return performanceConfiguration.DefaultDashboardRenderMode;\n }\n private setDashboardRenderMode(value: DashboardRenderMode) {\n localStorage.setItem(this.localStorageKeyForVirtualDashboard(this.state.project), value.toString());\n this.setState({ dashboardRenderMode: value });\n }\n private filtersUpdated = (filters: DeploymentOverviewFilters) => {\n this.setState({ isDashboardLoaded: false });\n this.props.setFilters(filters);\n };\n private renderDashboard = (dataSource: RenderDashboardProps) => {\n if (!dataSource.cube) {\n return <>;\n }\n return {this.showLoadingDashboard(dataSource)};\n };\n static displayName = \"DeploymentsOverviewInternal\";\n}\ninterface DeploymentsOverviewPageContent {\n project: ProjectResource;\n dashboardRenderMode: DashboardRenderMode;\n setDashboardRenderMode: (value: DashboardRenderMode) => void;\n hasSteps: boolean;\n busy: Promise | undefined;\n doBusyTask: DoBusyTask;\n errors: Errors | undefined;\n render: (dataSource: RenderDashboardProps) => JSX.Element;\n dashboardLoaded: boolean;\n setIsDashboardLoaded: (value: boolean) => void;\n filters: DeploymentOverviewFilters;\n onFiltersUpdated: (filters: DeploymentOverviewFilters) => void;\n tenants: TenantResource[];\n}\nfunction DeploymentsOverviewPageContent({ busy, dashboardRenderMode, setDashboardRenderMode, doBusyTask, errors, filters, onFiltersUpdated, hasSteps, dashboardLoaded, setIsDashboardLoaded, project, render, tenants }: DeploymentsOverviewPageContent) {\n const [cube, setCube] = useState(undefined);\n const [totalItems, setTotalItems] = useState(0);\n const dispatchAction = useProjectScopedAnalyticActionDispatch(project.Id);\n const [showLiveStatus, setShowLiveStatus] = useLocalStorage(liveStatusLocalStorageKey(project.SpaceId), false);\n const projectSupportsLiveStatusMemo = useMemo(() => (cube?.liveStatusIndex[project.Id] ? projectSupportsLiveStatus(cube?.liveStatusIndex[project.Id]) : false), [cube?.liveStatusIndex, project.Id]);\n const defaultFilter: DeploymentOverviewFilters = useMemo(() => ({\n [DimensionTypes.Project]: {\n [project.Id]: true,\n },\n columnDimension: DimensionTypes.Environment,\n groupBy: project.TenantedDeploymentMode === TenantedDeploymentMode.Untenanted ? DimensionTypes.Channel : DimensionTypes.None,\n groupByExtra: undefined,\n rowDimension: project.TenantedDeploymentMode === TenantedDeploymentMode.Untenanted ? DimensionTypes.Release : DimensionTypes.Tenant,\n page: 1,\n pageSize: filters.pageSize,\n }), [filters.pageSize, project.Id, project.TenantedDeploymentMode]);\n let primaryAction: PrimaryPageAction | undefined = undefined;\n const createReleaseIsAllowed = hasSteps || project.IsVersionControlled;\n if (createReleaseIsAllowed) {\n const createReleaseButton: PrimaryPageAction = {\n type: \"navigate\",\n label: \"Create Release\",\n path: links.createReleasePage.generateUrl({ spaceId: project.SpaceId, projectSlug: project.Slug }),\n onClick: () => dispatchAction(\"Create a release\", { resource: \"Create Release\", action: Action.Add }),\n hasPermissions: isAllowed({ permission: Permission.ReleaseCreate, project: project.Id, tenant: \"*\" }),\n };\n primaryAction = createReleaseButton;\n }\n const oppositeDashboardSetting = dashboardRenderMode === DashboardRenderMode.VirtualizeColumns ? DashboardRenderMode.VirtualizeRowsAndColumns : DashboardRenderMode.VirtualizeColumns;\n const isAllowedToViewAudit = isAllowed({\n permission: Permission.EventView,\n wildcard: true,\n });\n const overflowActions: SimpleMenuItem[] = [\n {\n type: \"button\",\n label: dashboardRenderMode === DashboardRenderMode.VirtualizeColumns ? \"Switch to fast rendering\" : \"Switch to full rendering\",\n title: \"Full rendering will render all rows, fast rendering will render only visible rows\",\n onClick: () => setDashboardRenderMode(oppositeDashboardSetting),\n },\n ];\n if (isAllowedToViewAudit) {\n overflowActions.push({\n type: \"internal-link\",\n label: \"Audit Trail\",\n path: links.auditPage.generateUrl({ projects: [project.Id] }),\n });\n }\n const isUntenanted = project.TenantedDeploymentMode === TenantedDeploymentMode.Untenanted;\n const onCubeLoaded = (cube: DataCube, totalItems: number) => {\n setCube(cube);\n setTotalItems(totalItems);\n setIsDashboardLoaded(true);\n };\n const onTenantedCubeLoaded = (cube: DataCube, totalItems: number, filtersUsedToLoadCube: DeploymentOverviewFilters) => {\n // Requests with outdated parameters should be ignored, otherwise the loading bar will be hidden even though the latest request is ongoing\n const isQueryParamsUpToDate = isEqual(filtersUsedToLoadCube, filters);\n if (isQueryParamsUpToDate) {\n onCubeLoaded(cube, totalItems);\n }\n };\n const updateFilterAndResetPage = (newFilters: DeploymentOverviewFilters) => {\n onFiltersUpdated({ ...newFilters, page: 1 });\n };\n const onPageChange = (page: number) => {\n onFiltersUpdated({ ...filters, page });\n };\n const onPageSizeChange = (pageSize: number) => {\n const newPageSize = isDeploymentOverviewPageSize(pageSize) ? pageSize : defaultDeploymentOverviewPageSize;\n onFiltersUpdated({ ...filters, page: 1, pageSize: newPageSize });\n };\n const onShowLiveStatusChanged = (value: boolean) => {\n setShowLiveStatus(value);\n };\n // Tenanted dashboard endpoint doesn't support paging with grouping.\n const isPaged = isUntenanted || !filters.groupBy;\n return ( }} busy={dashboardLoaded ? false : busy} errors={errors} filters={cube\n ? {\n inputs: [\n ,\n ,\n ,\n ],\n advancedFilters: {\n content: (\n \n \n ),\n onResetFilter: () => onFiltersUpdated(defaultFilter),\n hasUserSelectedValues: !isEqual(omit(filters, [\"page\", \"pageSize\"]), omit(defaultFilter, [\"page\", \"pageSize\"])),\n },\n }\n : undefined} pagination={cube && isPaged\n ? {\n ui: (),\n placement: \"topAndBottom\",\n }\n : undefined}>\n {isUntenanted ? () : ()}\n );\n}\nexport function DeploymentsOverview() {\n const projectContext = useProjectContext();\n const sampleProjectTourContext = useRequiredContext(SampleProjectTourContext);\n const dispatchAction = useProjectScopedAnalyticActionDispatch(projectContext.state.model.Id);\n const [filters, setFilters] = useDeploymentsOverviewFilters(projectContext.state.model);\n return ;\n}\n","import { DeploymentsOverview } from \"./DeploymentsOverview\";\nexport { DeploymentsOverview };\nexport default DeploymentsOverview;\n","import { css } from \"@emotion/css\";\nimport { DrawnOctopusIllustration } from \"@octopusdeploy/design-system-components\";\nimport { ChevronLeftIcon } from \"@octopusdeploy/design-system-icons\";\nimport { text } from \"@octopusdeploy/design-system-tokens\";\nimport { logger } from \"@octopusdeploy/logging\";\nimport { links } from \"@octopusdeploy/portal-routes\";\nimport * as React from \"react\";\nimport { Route, useLocation } from \"react-router-dom\";\nimport { repository } from \"~/clientInstance\";\nimport InternalLink from \"~/components/Navigation/InternalLink/InternalLink\";\nimport { EmptyPage } from \"../EmptyPage/EmptyPage\";\nimport InternalRedirect from \"../Navigation/InternalRedirect/InternalRedirect\";\nexport const stateFor404Redirect = Symbol();\nexport const RedirectAs404 = () => }/>;\nexport function NotFound() {\n const { pathname } = useLocation();\n React.useEffect(() => {\n logger.info(`The path \"{pathname}\" did not match any routes`, { pathname });\n }, [pathname]);\n const action = (\n \n Go back home\n );\n return (
    \n } description={\"Our badly drawn octopus suggests retracing your steps.\"} action={action}/>\n
    );\n}\nconst goBackLinkStyles = css({\n display: \"flex\",\n alignItems: \"center\",\n font: text.body.bold.medium,\n});\n","import * as React from \"react\";\nexport function ProjectEphemeralEnvironmentsEmptyStateIllustration() {\n return (\n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n );\n}\n","import { css } from \"@emotion/css\";\nimport { type PrimaryPageAction, EmptyStateOnboarding } from \"@octopusdeploy/design-system-components\";\nimport { space } from \"@octopusdeploy/design-system-tokens\";\nimport type { ChannelResource, ProjectResource } from \"@octopusdeploy/octopus-server-client\";\nimport { links } from \"@octopusdeploy/portal-routes\";\nimport * as React from \"react\";\nimport { ProjectEphemeralEnvironmentsEmptyStateIllustration } from \"./ProjectEphemeralEnvironmentsEmptyStateIllustration\";\ntype ProjectEphemeralEnvironmentsOnboardingProps = {\n project: ProjectResource;\n channels: ChannelResource[];\n};\nexport function ProjectEphemeralEnvironmentsOnboarding({ project, channels }: ProjectEphemeralEnvironmentsOnboardingProps) {\n const ephemeralEnvironmentChannel = channels.find((channel) => channel.Type === \"EphemeralEnvironment\");\n const primaryAction: PrimaryPageAction = {\n label: ephemeralEnvironmentChannel ? \"Create Release\" : \"Configure Channel\",\n path: ephemeralEnvironmentChannel\n ? links.createReleasePage.generateUrl({ spaceId: project.SpaceId, projectSlug: project.Slug }, { channelId: ephemeralEnvironmentChannel.Id })\n : links.channelsPage.generateUrl({ spaceId: project.SpaceId, projectSlug: project.Slug }),\n type: \"navigate\",\n };\n const description = ephemeralEnvironmentChannel ? (
    \n
    Automatically spin up test environments while keeping your infrastructure costs down.
    \n
    Create a release to automatically provision a new environment.
    \n
    ) : (
    \n
    Automatically spin up test environments while keeping your infrastructure costs down.
    \n
    Configure a new channel to enable Ephemeral Environments.
    \n
    );\n return }/>;\n}\nconst styles = {\n description: css({\n display: \"flex\",\n flexDirection: \"column\",\n gap: space[4],\n }),\n};\n","/* eslint-disable @typescript-eslint/no-non-null-assertion */\nimport { css } from \"@emotion/css\";\nimport { fontSize, fontWeight, space, themeTokens } from \"@octopusdeploy/design-system-tokens\";\nimport type { LinkHref } from \"@octopusdeploy/portal-routes\";\nimport * as React from \"react\";\nimport type { TaskStatusIconPropsItem } from \"~/areas/projects/components/TaskStatusIcon/TaskStatusIcon\";\nimport { TaskStatusIcon } from \"~/areas/projects/components/TaskStatusIcon/TaskStatusIcon\";\nimport InternalLink from \"~/components/Navigation/InternalLink\";\ninterface TaskStatusDetailsProps {\n task: TaskStatusIconPropsItem;\n title: string;\n link?: LinkHref;\n subtitle?: string;\n smallIcon?: boolean;\n noPadding?: boolean;\n}\nexport function TaskStatusDetails({ task, title, link, subtitle, smallIcon, noPadding }: TaskStatusDetailsProps) {\n const styles = {\n container: css({\n display: \"inline-flex\",\n flexDirection: \"row\",\n alignItems: \"center\",\n justifyContent: \"left\",\n padding: noPadding ? \"0\" : space[8],\n }),\n details: css({\n display: \"flex\",\n flexDirection: \"column\",\n justifyContent: \"space-between\",\n alignItems: \"flex-start\",\n paddingLeft: space[8],\n width: \"100%\",\n }),\n title: css({\n color: themeTokens.color.text.primary,\n fontWeight: fontWeight[600],\n fontSize: fontSize.medium,\n display: \"flex\",\n alignItems: \"center\",\n width: \"100%\",\n }),\n subtitle: css({\n color: themeTokens.color.text.tertiary,\n fontWeight: fontWeight[400],\n fontSize: fontSize.xSmall,\n }),\n };\n const details = (
    \n \n
    \n {title}\n {subtitle && {subtitle}}\n
    \n
    );\n if (link) {\n return {details};\n }\n return details;\n}\n","/* eslint-disable @typescript-eslint/no-non-null-assertion */\nimport type { RunbooksDashboardItemResource } from \"@octopusdeploy/octopus-server-client\";\nimport type { LinkHref } from \"@octopusdeploy/portal-routes\";\nimport * as React from \"react\";\nimport DateFormatter from \"~/utils/DateFormatter\";\nimport { TaskStatusDetails } from \"./TaskStatusDetails\";\ninterface RunbookRunTaskStatusDetailsProps {\n run: RunbooksDashboardItemResource;\n link: LinkHref;\n noPadding?: boolean;\n}\nexport function RunbookRunTaskStatusDetails({ run, link, noPadding }: RunbookRunTaskStatusDetailsProps) {\n const startTime = run.StartTime || run.QueueTime;\n const date = DateFormatter.dateToCustomFormat(startTime, \"MMMM Do YYYY h:mm A\") ?? undefined;\n return ;\n}\n","import { css } from \"@emotion/css\";\nimport { Callout, Chip } from \"@octopusdeploy/design-system-components\";\nimport { borderRadius, space, themeTokens } from \"@octopusdeploy/design-system-tokens\";\nimport type { EphemeralEnvironmentProjectStatus, ProjectEphemeralEnvironmentDetail, ProjectResource, RunbooksDashboardItemResource } from \"@octopusdeploy/octopus-server-client\";\nimport { links } from \"@octopusdeploy/portal-routes\";\nimport * as React from \"react\";\nimport { DeploymentTaskStatus } from \"~/areas/dashboard/Deployments/DeploymentTaskStatus\";\nimport type { MenuItem } from \"~/components/OverflowMenu/OverflowMenu\";\nimport { OverflowMenu, OverflowMenuItems } from \"~/components/OverflowMenu/OverflowMenu\";\nimport { DataTable, DataTableBody, DataTableHeader, DataTableHeaderColumn, DataTableRow, DataTableRowColumn } from \"~/primitiveComponents/dataDisplay/DataTable\";\nimport { RunbookRunTaskStatusDetails } from \"../Runbooks/NewRunbookRunsListPage/RunbookRunTaskStatusDetails\";\ntype ProjectEphemeralEnvironmentsTableProps = {\n project: ProjectResource;\n environments: ProjectEphemeralEnvironmentDetail[];\n deprovisionEnvironment: (environment: ProjectEphemeralEnvironmentDetail) => Promise;\n};\nexport function ProjectEphemeralEnvironmentsTable({ project, environments, deprovisionEnvironment }: ProjectEphemeralEnvironmentsTableProps) {\n return (\n \n Name\n Status\n \n Provisioning\n \n \n Latest Deployment\n \n \n Deprovisioning\n \n \n \n \n {environments.map((e) => (\n {e.Name}\n \n \n \n {e.ProvisioningRunbookRun && }\n \n {e.LatestDeployment && }\n \n {e.DeprovisioningRunbookRun && }\n \n \n \n ))}\n \n );\n}\ntype EphemeralEnvironmentProjectStatusChipProps = {\n status: EphemeralEnvironmentProjectStatus;\n};\nfunction EphemeralEnvironmentProjectStatusChip({ status }: EphemeralEnvironmentProjectStatusChipProps) {\n const getStatusDisplayName = (status: EphemeralEnvironmentProjectStatus) => {\n switch (status) {\n case \"NotProvisioned\":\n return \"Not Provisioned\";\n case \"Provisioning\":\n return \"Provisioning\";\n case \"ProvisioningFailed\":\n return \"Provisioning Failed\";\n case \"Provisioned\":\n return \"Provisioned\";\n case \"Deprovisioning\":\n return \"Deprovisioning\";\n case \"DeprovisioningFailed\":\n return \"Deprovisioning Failed\";\n case \"Deprovisioned\":\n return \"Deprovisioned\";\n default:\n return status;\n }\n };\n return ;\n}\ntype RunbookRunStatusProps = {\n project: ProjectResource;\n runbookRun: RunbooksDashboardItemResource;\n};\nfunction RunbookRunStatus({ project, runbookRun }: RunbookRunStatusProps) {\n return (
    \n \n
    );\n}\ntype ProjectEphemeralEnvironmentOverflowMenuProps = {\n environment: ProjectEphemeralEnvironmentDetail;\n deprovisionEnvironment: (environment: ProjectEphemeralEnvironmentDetail) => Promise;\n};\nfunction ProjectEphemeralEnvironmentOverflowMenu({ environment, deprovisionEnvironment }: ProjectEphemeralEnvironmentOverflowMenuProps) {\n const overFlowActions: Array = [];\n if (environment.Status === \"Provisioned\") {\n overFlowActions.push(OverflowMenuItems.destructiveItem(\"Deprovision\", \"Are you sure you want to deprovision this environment?\", \"Deprovision\", \"Deprovisioning\", () => deprovisionEnvironment(environment), ));\n }\n return ;\n}\ntype DeprovisionEphemeralEnvironmentDialogContentProps = {\n environment: ProjectEphemeralEnvironmentDetail;\n};\nfunction DeprovisionEphemeralEnvironmentDialogContent({ environment }: DeprovisionEphemeralEnvironmentDialogContentProps) {\n return (\n This action cannot be undone. This will deprovision the resources associated with environment {environment.Name} and delete it.\n );\n}\nconst styles = {\n middle: css({\n verticalAlign: \"middle !important\",\n }),\n taskStatusColumnHeader: css({\n paddingLeft: space[8],\n }),\n taskStatus: css({\n display: \"flex\",\n alignItems: \"center\",\n overflow: \"hidden\", // Fallback/safety-net in case dates or anything else overflows here.\n minHeight: \"3.25rem\",\n borderRadius: borderRadius.small,\n \"&:hover\": {\n cursor: \"pointer\",\n outline: `1px solid ${themeTokens.color.border.selected}`,\n backgroundColor: themeTokens.color.background.primary.hovered,\n },\n }),\n};\n","import { useMutation, useQuery } from \"@octopusdeploy/octopus-react-client\";\nimport type { ChannelResource, ProjectEphemeralEnvironmentDetail, ProjectResource, Repository } from \"@octopusdeploy/octopus-server-client\";\nimport * as React from \"react\";\nimport { ProjectEphemeralEnvironmentsOnboarding } from \"./ProjectEphemeralEnvironmentsOnboarding\";\nimport { ProjectEphemeralEnvironmentsTable } from \"./ProjectEphemeralEnvironmentsTable\";\ntype ProjectEphemeralEnvironmentsPageContentProps = {\n project: ProjectResource;\n};\ntype ProjectEphemeralEnvironmentsPageData = {\n environments: ProjectEphemeralEnvironmentDetail[];\n channels: ChannelResource[];\n};\nexport function ProjectEphemeralEnvironmentsPageContent({ project }: ProjectEphemeralEnvironmentsPageContentProps) {\n const { result, refetch } = useQuery(async (repository) => {\n const channels = await repository.Channels.allFromProject(project);\n const ephemeralEnvironments = await repository.EphemeralEnvironments.getForProject(project);\n return {\n environments: ephemeralEnvironments.Environments,\n channels: channels,\n };\n }, [project], \"Get ephemeral environments for project\", { refetchIntervalInMs: 5000 });\n const { execute: deprovisionEnvironment } = useMutation({\n name: \"Deprovision ephemeral environment\",\n action: async (repository: Repository, environment: ProjectEphemeralEnvironmentDetail) => await repository.EphemeralEnvironments.deprovision(project.SpaceId, environment.Id),\n afterComplete: async () => refetch(),\n });\n if (result === null)\n return null;\n if (result.environments.length === 0) {\n return ;\n }\n return ;\n}\n","import { Chip } from \"@octopusdeploy/design-system-components\";\nimport { themeTokens } from \"@octopusdeploy/design-system-tokens\";\nimport type { ProjectResource } from \"@octopusdeploy/octopus-server-client\";\nimport * as React from \"react\";\nimport { NotFound } from \"~/components/NotFound/NotFound\";\nimport { PageContent } from \"~/components/PageContent/PageContent\";\nimport { ProjectEphemeralEnvironmentsPageContent } from \"./ProjectEphemeralEnvironmentsPageContent\";\nimport { useEphemeralEnvironmentsEnabledForProject } from \"./useEphemeralEnvironmentsEnabled\";\ntype ProjectEphemeralEnvironmentsPageProps = {\n project: ProjectResource;\n};\nexport function ProjectEphemeralEnvironmentsPage({ project }: ProjectEphemeralEnvironmentsPageProps) {\n const ephemeralEnvironmentsEnabledForProject = useEphemeralEnvironmentsEnabledForProject(project);\n if (!ephemeralEnvironmentsEnabledForProject) {\n return ;\n }\n return (,\n }}>\n \n );\n}\n","import type { Segment, TenantResource, FeatureToggleEnvironmentResource } from \"@octopusdeploy/octopus-server-client\";\nimport React from \"react\";\nimport Chip from \"~/components/Chips/Chip\";\nimport { EnvironmentChip, TenantChip, tenantChipList } from \"~/components/Chips/index\";\nimport Tag from \"~/components/Tag/index\";\nimport { useOctopusTheme } from \"~/components/Theme/index\";\ninterface FeatureToggleEnvironmentProps {\n featureToggleEnvironment: FeatureToggleEnvironmentResource;\n environmentName: string;\n tenants: TenantResource[];\n}\ninterface SegmentListProps {\n segments: Segment[];\n}\ninterface ExcludedTenantListProps {\n excludedTenants: TenantResource[];\n}\ntype EditableSegmentListProps = SegmentListProps & {\n onRequestDelete: (segment: Segment) => void;\n deleteButtonAccessibleName: string;\n};\nfunction formatSegment(segment: Segment) {\n return `${segment.Key}/${segment.Value}`;\n}\nexport function SegmentList({ segments }: SegmentListProps) {\n const theme = useOctopusTheme();\n return (<>\n {segments.map((segment) => ())}\n );\n}\nexport function ExcludedTenantList({ excludedTenants }: ExcludedTenantListProps) {\n const theme = useOctopusTheme();\n return (<>\n {excludedTenants.map((tenant) => ())}\n );\n}\nexport function EditableSegmentList({ segments, onRequestDelete, deleteButtonAccessibleName }: EditableSegmentListProps) {\n const theme = useOctopusTheme();\n return (<>\n {segments.map((segment) => ( onRequestDelete(segment)} deleteButtonAccessibleName={deleteButtonAccessibleName}/>))}\n );\n}\nexport default ({ featureToggleEnvironment, environmentName, tenants }: FeatureToggleEnvironmentProps) => {\n const theme = useOctopusTheme();\n return (\n \n {featureToggleEnvironment.TenantTargetingStrategy === \"SpecificTenants\" && (<>\n {tenantChipList(tenants, featureToggleEnvironment.TenantIds)}\n {featureToggleEnvironment.RolloutPercentage === null ? null : {featureToggleEnvironment.RolloutPercentage}% of tenants}\n )}\n {ExcludedTenantList({ excludedTenants: tenants.filter((tenant) => featureToggleEnvironment.ExcludedTenantIds.includes(tenant.Id)) })}\n {SegmentList({ segments: featureToggleEnvironment.Segments })}\n );\n};\n","import { Button, RadioButton, RadioButtonGroup, Switch } from \"@octopusdeploy/design-system-components\";\nimport type { EnvironmentResource, Segment, TenantResource, TenantTargetingStrategy, FeatureToggleEnvironmentResource } from \"@octopusdeploy/octopus-server-client\";\nimport { TenantedDeploymentMode } from \"@octopusdeploy/octopus-server-client\";\nimport React, { useState } from \"react\";\nimport { EditableSegmentList, SegmentList } from \"~/areas/projects/components/FeatureToggles/FeatureToggleEnvironment\";\nimport { useProjectContext } from \"~/areas/projects/context/index\";\nimport { EnvironmentChip } from \"~/components/Chips/index\";\nimport OkDialogLayout from \"~/components/DialogLayout/OkDialogLayout\";\nimport { TenantMultiSelect } from \"~/components/MultiSelect/TenantMultiSelect\";\nimport EnvironmentSelect from \"~/components/form/EnvironmentSelect/EnvironmentSelect\";\nimport ExpandableFormSection from \"~/components/form/Sections/ExpandableFormSection\";\nimport { Summary } from \"~/components/form/index\";\nimport Text from \"~/primitiveComponents/form/Text/Text\";\nimport ParseHelper from \"~/utils/ParseHelper/index\";\ninterface EditFeatureToggleEnvironmentProps {\n environments: EnvironmentResource[];\n tenants: TenantResource[];\n featureToggleEnvironment?: FeatureToggleEnvironmentResource | undefined;\n title: string;\n onSave(toggle: FeatureToggleEnvironmentResource): Promise;\n}\ninterface EditFeatureToggleEnvironmentState {\n environmentId: string | undefined;\n isEnabled: boolean;\n tenantTargetingStrategy: TenantTargetingStrategy;\n tenantIds: string[];\n rolloutPercentage: number | null;\n excludedTenantIds: string[];\n newSegmentKey: string;\n newSegmentValue: string;\n segments: Segment[];\n}\nexport default ({ title, featureToggleEnvironment, environments, tenants, onSave }: EditFeatureToggleEnvironmentProps) => {\n const projectContext = useProjectContext();\n const project = projectContext.state && projectContext.state.model;\n const [state, setState] = useState({\n environmentId: featureToggleEnvironment ? featureToggleEnvironment.DeploymentEnvironmentId : undefined,\n isEnabled: featureToggleEnvironment ? featureToggleEnvironment.IsEnabled : true,\n tenantTargetingStrategy: featureToggleEnvironment ? featureToggleEnvironment.TenantTargetingStrategy : \"AllTenants\",\n tenantIds: featureToggleEnvironment ? featureToggleEnvironment.TenantIds : [],\n rolloutPercentage: featureToggleEnvironment ? featureToggleEnvironment.RolloutPercentage : null,\n excludedTenantIds: featureToggleEnvironment ? featureToggleEnvironment.ExcludedTenantIds : [],\n newSegmentKey: \"\",\n newSegmentValue: \"\",\n segments: featureToggleEnvironment ? featureToggleEnvironment.Segments : [],\n });\n const onSaveClick = async () => {\n if (!state.environmentId) {\n return false;\n }\n const toggleStrategy = state.tenantTargetingStrategy === \"AllTenants\" && Object.keys(state.segments).length === 0 ? \"EntireEnvironment\" : \"Targeted\";\n return onSave({\n DeploymentEnvironmentId: state.environmentId,\n IsEnabled: state.isEnabled,\n ToggleStrategy: toggleStrategy,\n TenantTargetingStrategy: state.tenantTargetingStrategy,\n TenantIds: state.tenantIds,\n RolloutPercentage: state.rolloutPercentage,\n ExcludedTenantIds: state.excludedTenantIds,\n Segments: state.segments,\n });\n };\n const onChangeTenantTargetingStrategy = (strategy: TenantTargetingStrategy) => {\n if (strategy === state.tenantTargetingStrategy)\n return;\n setState((prevState) => ({ ...prevState, tenantTargetingStrategy: strategy, tenantIds: [], rolloutPercentage: null }));\n };\n const environmentSummary = () => {\n if (!state.environmentId)\n return Summary.placeholder(\"Please select an environment\");\n const selectedEnvironment = environments.find((e) => e.Id === state.environmentId);\n if (!selectedEnvironment)\n throw new Error(`Could not find environment matching ID: ${state.environmentId}`);\n return Summary.summary();\n };\n const tenantSummary = () => {\n let summary = \"\";\n switch (state.tenantTargetingStrategy) {\n case \"AllTenants\":\n summary = \"All tenants\";\n break;\n case \"SpecificTenants\":\n summary = \"Some tenants\";\n break;\n }\n if (state.excludedTenantIds.length > 0) {\n summary += \" with some excluded\";\n }\n return state.tenantTargetingStrategy === \"AllTenants\" ? Summary.default(summary) : Summary.summary(summary);\n };\n const segmentSummary = () => {\n if (!state.segments) {\n return Summary.default(\"No segments specified\");\n }\n return Summary.summary();\n };\n const addSegment = () => {\n const key = state.newSegmentKey;\n const value = state.newSegmentValue;\n setState((prevState) => ({ ...prevState, newSegmentKey: \"\", newSegmentValue: \"\", segments: [...prevState.segments, { Key: key, Value: value }] }));\n };\n function deleteSegment(segment: Segment) {\n const segments = state.segments;\n const index = segments.findIndex((s) => s.Key === segment.Key && s.Value === segment.Value);\n if (index >= 0) {\n segments.splice(index, 1);\n }\n setState((prevState) => ({ ...prevState, newSegmentKey: \"\", newSegmentValue: \"\", segments: [...segments] }));\n }\n return (\n \n setState((prevState) => ({\n ...prevState,\n isEnabled: value,\n }))}/>\n \n {\n setState((prevState) => ({ ...prevState, environmentId: selected }));\n }}/>\n \n {\n /* If the project is tenanted, allow targeting specific tenants */\n project.TenantedDeploymentMode !== TenantedDeploymentMode.Untenanted && (\n onChangeTenantTargetingStrategy(x)}>\n \n \n \n {state.tenantTargetingStrategy === \"SpecificTenants\" && (
    \n setState((prevState) => ({ ...prevState, tenantIds: x }))}/>\n setState((prevState) => ({ ...prevState, rolloutPercentage: x === \"\" ? null : ParseHelper.safeParseInt(x) }))}/>\n
    )}\n setState((prevState) => ({ ...prevState, excludedTenantIds: x }))}/>\n
    )}\n \n \n setState((prevState) => ({ ...prevState, newSegmentKey: x }))}/>\n setState((prevState) => ({ ...prevState, newSegmentValue: x }))}/>\n
    );\n }\n const namespaceNames = distinctListOfItems((kss) => kss.KubernetesObjects.map((o) => o.Namespace || clusterScopedNamespaceFilter));\n if (namespaceNames.length > 1) {\n controls.push(
    \n updateFilter({ targetName })} items={targetNames} allowClear={true} placeholder=\"By deployment target\"/>);\n }\n const namespaceNames = distinctFilters((kos) => kos.Namespace || clusterScopedNamespaceFilter, (krms) => krms.KubernetesObjectNamespace || clusterScopedNamespaceFilter);\n if (namespaceNames.length > 1) {\n filters.push( updateFilter({ kind })} items={kinds} allowClear={true} placeholder=\"By object kind\"/>);\n }\n const statusFilterItems = distinctFilters((kos) => kos.Status, (krms) => krms.ResourceStatus || unknownStatusFilter);\n if (statusFilterItems.length > 1) {\n filters.push( ({\n value: t,\n text: t === this.props.currentTaskState ? `${t} (current)` : t,\n }))} onChange={(newState) => this.setState({ newTaskState: newState! })}/>\n this.setState({ reason })}/>\n Provide a reason for changing the state of this task\n \n Changing the state to successful will cause this deployment to be treated as successful on a re-deploy trigger. Changing the state to any other value will not have any knock-on effects for auto-deploys.\n \n );\n }\n static displayName = \"ModifyTaskStateDialog\";\n}\n","import type { ReleaseResource, IHaveSnapshotGitReference, GitReference } from \"@octopusdeploy/octopus-server-client\";\nimport React from \"react\";\nimport { useOptionalProjectContext } from \"~/areas/projects/context\";\nimport Section from \"~/components/Section\";\nimport { FormSectionHeading, Note } from \"~/components/form\";\nimport { GitRefChip } from \"../GitRefChip/GitRefChip\";\nconst ProcessSnapshot: React.FC<{\n vcsRef: GitReference;\n}> = ({ vcsRef }) => {\n return (<>\n When this release was created, a snapshot of the deployment process was taken from \n );\n};\nProcessSnapshot.displayName = \"ProcessSnapshot\"\nexport const ProcessSnapshotSection: React.FC<{\n resource: IHaveSnapshotGitReference;\n}> = ({ resource }) => {\n const projectContext = useOptionalProjectContext();\n return ((projectContext?.state.model?.IsVersionControlled && resource && resource.VersionControlReference && (
    \n

    Process Snapshot

    \n \n
    )) ||\n null);\n};\nProcessSnapshotSection.displayName = \"ProcessSnapshotSection\"\nexport const ProcessSnapshotFormSection: React.FC<{\n release: ReleaseResource;\n}> = ({ release }) => {\n const projectContext = useOptionalProjectContext();\n return ((projectContext?.state.model?.IsVersionControlled && release && release.VersionControlReference && (<>\n \n
    \n \n \n \n
    \n )) ||\n null);\n};\nProcessSnapshotFormSection.displayName = \"ProcessSnapshotFormSection\"\n","/* eslint-disable @typescript-eslint/no-non-null-assertion */\nimport { ActionButton, ActionButtonType, Callout } from \"@octopusdeploy/design-system-components\";\nimport type { TaskResource, SpaceResource } from \"@octopusdeploy/octopus-server-client\";\nimport { links } from \"@octopusdeploy/portal-routes\";\nimport pluralize from \"pluralize\";\nimport * as React from \"react\";\nimport styles from \"~/areas/tasks/components/Task/TaskSummary/style.module.less\";\nimport { session } from \"~/clientInstance\";\nimport ExternalLink from \"~/components/Navigation/ExternalLink/index\";\nimport InternalLink from \"~/components/Navigation/InternalLink/index\";\nimport { SimplePagingList } from \"~/components/PagingList/index\";\nimport TaskDetails from \"~/components/TaskDetails/index\";\ninterface TaskQueueCalloutProps {\n tasksAtLimit: TaskResource[];\n queueLength: number;\n space?: SpaceResource;\n}\ninterface TaskLimitListProps {\n tasks: TaskResource[];\n}\nconst renderRow = (item: TaskResource) => ;\nconst getTaskRoute = (item: TaskResource) => links.taskPage.generateUrl({ taskId: item.Id });\nfunction TaskLimitList({ tasks }: TaskLimitListProps) {\n const [open, setOpen] = React.useState(false);\n if (tasks.length === 0) {\n return null;\n }\n return (
    \n setOpen(!open)} label={(open ? \"Hide\" : \"Show\") + \" tasks on node/cluster\"} type={ActionButtonType.Ternary}/>\n {open && (
    \n items={tasks} onRow={renderRow} onRowRedirectUrl={getTaskRoute}/>\n
    )}\n
    );\n}\nfunction renderCalloutContent(queueLength: number, taskLimitReached: boolean, space?: SpaceResource): React.ReactNode {\n if (!queueLength && !taskLimitReached) {\n return null;\n }\n if (space && space.TaskQueueStopped) {\n return (<>\n Task processor for Space {space.Name} has been stopped. {contactSpaceManagerMessage(space)}\n Learn More\n );\n }\n if (taskLimitReached && queueLength <= 0) {\n return <>This task is next in the queue and should start once the node or cluster can process more tasks.;\n }\n if (taskLimitReached) {\n return <>This task is queued behind {pluralize(\"other task\", queueLength, true)}, and should start once the node or cluster can process more tasks.;\n }\n if (queueLength <= 0) {\n return <>This task is next in the queue and will be executed as soon as possible.;\n }\n return <>This task is queued behind {pluralize(\"other task\", queueLength, true)}.;\n}\nfunction contactSpaceManagerMessage(space: SpaceResource): React.ReactNode {\n const isSpaceManager = session.currentPermissions!.isSpaceManager(space!);\n return isSpaceManager ? (<>\n Re-enable the task processor to continue executing tasks.\n ) : (<>Re-enable the task processor to continue executing tasks. Please contact your Space Manager for more information.);\n}\nfunction getTaskCalloutTitle(taskLimitReached: boolean): string {\n let title = \"Task has not yet started.\";\n if (taskLimitReached) {\n title = `${title} Task limit reached.`;\n }\n return title;\n}\nexport default (props: TaskQueueCalloutProps) => {\n const { space, queueLength, tasksAtLimit } = props;\n const taskLimitReached = tasksAtLimit.length > 0;\n return (\n {renderCalloutContent(queueLength, taskLimitReached, space)}\n \n );\n};\n","import cn from \"classnames\";\nimport moment from \"moment\";\nimport React from \"react\";\nimport type { TaskWithPosition } from \"~/areas/tasks/components/Task/TaskQueueOrderedList\";\nimport styles from \"~/areas/tasks/components/Task/taskqueue.module.less\";\nimport Chip from \"~/components/Chips/Chip\";\nimport TaskDetails from \"~/components/TaskDetails/index\";\nimport { useOctopusTheme } from \"~/components/Theme/index\";\ninterface TaskQueueRowProps {\n task: TaskWithPosition;\n}\nexport default ({ task }: TaskQueueRowProps) => {\n const positionText = moment.localeData().ordinal(task.Position);\n const theme = useOctopusTheme();\n return (
    \n {positionText}\n
    \n \n
    \n {task.Current && (
    \n \n Your Task\n \n
    )}\n
    );\n};\n","/* eslint-disable @octopusdeploy/custom-portal-rules/no-restricted-imports */\nimport { ActionButton, ActionButtonType } from \"@octopusdeploy/design-system-components\";\nimport { XmarkIcon } from \"@octopusdeploy/design-system-icons\";\nimport { space } from \"@octopusdeploy/design-system-tokens\";\nimport type { TaskResource, TaskState } from \"@octopusdeploy/octopus-server-client\";\nimport cn from \"classnames\";\nimport React from \"react\";\nimport TaskStatusIcon from \"~/areas/projects/components/TaskStatusIcon/index\";\nimport styles from \"~/areas/tasks/components/Task/taskqueue.module.less\";\ninterface TaskQueueFilterProps {\n tasks: TaskResource[];\n isSelected: boolean;\n stateToFilter: TaskState | Interruption;\n selectState(state: TaskState | Interruption | null): void;\n}\nexport enum Interruption {\n ManualIntervention = \"Awaiting Manual Intervention\"\n}\nexport type TaskQueueFilterState = TaskState | Interruption | null;\nexport function filterStatePredicate(filterState: TaskState | Interruption | null): (t: TaskResource) => boolean {\n if (!filterState) {\n return (_) => true;\n }\n if (filterState === Interruption.ManualIntervention) {\n return (t) => t.HasPendingInterruptions;\n }\n return (t) => !t.HasPendingInterruptions && t.State === filterState;\n}\nexport default (props: TaskQueueFilterProps) => {\n const { tasks, isSelected, stateToFilter, selectState } = props;\n const filteredTasks = tasks.filter(filterStatePredicate(stateToFilter));\n const count = filteredTasks.length;\n if (count === 0) {\n return null;\n }\n const sampleTask = filteredTasks[0];\n const taskIcon = ;\n const closeIcon = ;\n const toggleState = () => selectState(isSelected ? null : stateToFilter);\n return (\n
    \n {taskIcon}\n \n {count} {stateToFilter}\n \n {isSelected ? {closeIcon} : null}\n
    \n
    );\n};\n","import type { TaskResource } from \"@octopusdeploy/octopus-server-client\";\nimport { TaskState } from \"@octopusdeploy/octopus-server-client\";\nimport { links } from \"@octopusdeploy/portal-routes\";\nimport React from \"react\";\nimport TaskQueueRow from \"~/areas/tasks/components/Task/TaskQueueRow\";\nimport type { TaskQueueFilterState } from \"~/areas/tasks/components/Task/TaskQueueStateFilter\";\nimport TaskQueueStateFilter, { Interruption, filterStatePredicate } from \"~/areas/tasks/components/Task/TaskQueueStateFilter\";\nimport { SimplePagingList } from \"~/components/PagingList/index\";\ninterface TaskQueueOrderedListProps {\n currentTask: TaskResource;\n tasksInQueue: TaskResource[];\n}\nexport interface TaskWithPosition extends TaskResource {\n Position: number;\n Current: boolean;\n}\nclass TasksList extends SimplePagingList {\n}\nfunction handleRowRedirect(item: TaskResource) {\n return links.taskPage.generateUrl({ taskId: item.Id });\n}\nfunction getTasksWithPosition(allTasks: TaskResource[], currentTask: TaskResource, selectedState: TaskQueueFilterState): TaskWithPosition[] {\n return allTasks\n .map((task, index) => ({\n Position: index + 1,\n Current: false,\n ...task,\n }))\n .filter(filterStatePredicate(selectedState))\n .concat({\n Position: allTasks.length + 1,\n Current: true,\n ...currentTask,\n });\n}\nconst TaskQueueOrderedList: React.FC = ({ currentTask, tasksInQueue }: TaskQueueOrderedListProps) => {\n const [selectedState, selectState] = React.useState(null);\n const allTasksWithPosition = getTasksWithPosition(tasksInQueue, currentTask, selectedState);\n return (<>\n
    \n \n \n
    \n } onRowRedirectUrl={handleRowRedirect}/>\n );\n};\nTaskQueueOrderedList.displayName = \"TaskQueueOrderedList\"\nexport default TaskQueueOrderedList;\n","import type { CalloutType } from \"@octopusdeploy/design-system-components\";\nimport { Callout } from \"@octopusdeploy/design-system-components\";\nimport type { TaskStatusMessage, TaskStatusMessages } from \"@octopusdeploy/octopus-server-client\";\nimport { TaskStatusMessageCategory } from \"@octopusdeploy/octopus-server-client\";\nimport * as React from \"react\";\nimport Markdown from \"~/components/Markdown/index\";\ninterface TaskQueueMessagesProps {\n messages?: TaskStatusMessages;\n}\nfunction getCalloutType(message: TaskStatusMessage): CalloutType {\n switch (message.Category) {\n case TaskStatusMessageCategory.Success:\n return \"success\";\n case TaskStatusMessageCategory.Information:\n return \"information\";\n case TaskStatusMessageCategory.Warning:\n return \"warning\";\n case TaskStatusMessageCategory.Error:\n return \"danger\";\n }\n}\nfunction sortMessages(a: TaskStatusMessage, b: TaskStatusMessage) {\n const sortOrder = [TaskStatusMessageCategory.Error, TaskStatusMessageCategory.Warning, TaskStatusMessageCategory.Information, TaskStatusMessageCategory.Success];\n return sortOrder.indexOf(a.Category) - sortOrder.indexOf(b.Category);\n}\nexport default (props: TaskQueueMessagesProps): React.ReactElement | null => {\n const { messages } = props;\n if (!messages) {\n return null;\n }\n return (<>\n {messages.Messages.sort(sortMessages).map((m) => (\n \n ))}\n );\n};\n","/* eslint-disable @typescript-eslint/no-non-null-assertion */\nimport { css } from \"@emotion/css\";\nimport { space } from \"@octopusdeploy/design-system-tokens\";\nimport type { TaskStatusMessages, SpaceResource, TaskDetailsResource, TaskResource, ResourceCollection } from \"@octopusdeploy/octopus-server-client\";\nimport { useState } from \"react\";\nimport * as React from \"react\";\nimport TaskProgress from \"~/areas/tasks/components/Task/TaskProgress\";\nimport TaskQueueCallout from \"~/areas/tasks/components/Task/TaskQueueCallout\";\nimport TaskQueueOrderedList from \"~/areas/tasks/components/Task/TaskQueueOrderedList\";\nimport TaskStatusMessagesCallout from \"~/areas/tasks/components/Task/TaskStatusMessagesCallout\";\nimport { repository } from \"~/clientInstance\";\nimport type { DoBusyTask } from \"~/components/DataBaseComponent/DataBaseComponent\";\nimport { useDoBusyTaskEffect } from \"~/components/DataBaseComponent/index\";\nimport PageDivider from \"~/components/PageDivider/index\";\nimport Section from \"~/components/Section/index\";\nimport { Note } from \"~/components/form/index\";\ninterface QueuedTaskDetailsProps {\n task: TaskResource;\n taskDetails: TaskDetailsResource;\n doBusyTask: DoBusyTask;\n}\nexport default function QueuedTaskDetails({ task, taskDetails, doBusyTask }: QueuedTaskDetailsProps) {\n const [queuedBehind, setQueuedBehind] = useState> | null>(null);\n const [tasksAtLimit, setTasksAtLimit] = useState([]);\n const [tasksInQueue, setTasksInQueue] = useState([]);\n const [space, setSpace] = useState(null);\n const [messages, setMessages] = useState(null);\n useDoBusyTaskEffect(doBusyTask, async () => {\n setSpace(await repository.Spaces.get(task.SpaceId!));\n }, [task.SpaceId]);\n useDoBusyTaskEffect(doBusyTask, async () => {\n const taskScopedRepository = task.SpaceId ? await repository.forSpace(task.SpaceId) : repository.forSystem();\n const queuedBehindPromise = taskScopedRepository.Tasks.getQueuedBehind(task);\n const messagesPromise = taskScopedRepository.Tasks.getTaskStatusMessages(task);\n const blockingTasksPromise = repository.Tasks.getBlockingTasks(task);\n const queuedBehind = await queuedBehindPromise;\n const messages = await messagesPromise;\n const blockingTasks = await blockingTasksPromise;\n setQueuedBehind(queuedBehind);\n setMessages(messages);\n setTasksAtLimit(blockingTasks.TasksAtLimit);\n setTasksInQueue(blockingTasks.TasksInQueue);\n }, [task] // task is updated in the parent refresh loop, so this effect will run every time after the parent refresh loop\n );\n if (messages === null || space === null || queuedBehind === null) {\n return null;\n }\n return (
    \n \n \n \n  \n
    \n Tasks listed below are excluded from running concurrently. This task can run once all previous tasks in the queue have completed.\n \n
    \n
    );\n}\nconst styles = {\n container: css({\n paddingTop: space[8],\n }),\n};\n","/* eslint-disable @typescript-eslint/no-non-null-assertion */\n/* eslint-disable @typescript-eslint/no-explicit-any */\nimport { ActionButton, ActionButtonType, Callout } from \"@octopusdeploy/design-system-components\";\nimport type { FormElement, InterruptionResource } from \"@octopusdeploy/octopus-server-client\";\nimport { FormControlType } from \"@octopusdeploy/octopus-server-client\";\nimport { isEqual } from \"lodash\";\nimport * as React from \"react\";\nimport type { RouteComponentProps } from \"react-router\";\nimport { withRouter } from \"react-router\";\nimport { repository } from \"~/clientInstance\";\nimport ActionList from \"~/components/ActionList/ActionList\";\nimport OpenDialogButton from \"~/components/Dialog/OpenDialogButton\";\nimport SaveDialogLayout from \"~/components/DialogLayout/SaveDialogLayout\";\nimport FormResourceInput from \"~/components/FormResourceInput/FormResourceInput\";\nimport { goToLogElement } from \"../TaskLog/TaskLogUtil\";\nimport styles from \"./style.module.less\";\ninterface InterruptionComponentProps {\n interruption: InterruptionResource;\n takeResponsibility(): Promise;\n submitInterruption(values: {\n [name: string]: any;\n }): Promise;\n}\ntype InterruptionProps = InterruptionComponentProps & RouteComponentProps;\ninterface InterruptionState {\n responsibleUser: string;\n isOpen: boolean;\n values: {\n [name: string]: any;\n };\n isSubmitting: boolean;\n}\n//eslint-disable-next-line react/no-unsafe\nclass Interruption extends React.Component {\n constructor(props: InterruptionProps) {\n super(props);\n this.state = {\n isOpen: false,\n isSubmitting: false,\n values: {},\n responsibleUser: null!,\n };\n }\n async UNSAFE_componentWillReceiveProps(newProps: InterruptionComponentProps) {\n if (this.props.interruption.ResponsibleUserId !== newProps.interruption.ResponsibleUserId && newProps.interruption.HasResponsibility) {\n this.setState({ isOpen: true });\n }\n if (!isEqual(this.props.interruption, newProps.interruption)) {\n this.setState({ values: newProps.interruption.Form.Values });\n }\n if (!!newProps.interruption.ResponsibleUserId && !this.props.interruption.HasResponsibility && this.props.interruption.ResponsibleUserId !== newProps.interruption.ResponsibleUserId) {\n const user = await repository.Users.get(this.props.interruption.ResponsibleUserId);\n this.setState({ responsibleUser: user.DisplayName });\n }\n }\n async componentDidMount() {\n if (this.props.interruption.HasResponsibility) {\n this.setState({ isOpen: true, values: this.props.interruption.Form.Values });\n }\n else if (this.props.interruption.ResponsibleUserId) {\n const user = await repository.Users.get(this.props.interruption.ResponsibleUserId);\n this.setState({ responsibleUser: user.DisplayName });\n }\n }\n updateFormElementValue = (element: FormElement) => {\n return (value: string) => {\n const newValues = { ...this.state.values, [element.Name]: value };\n this.setState({ values: newValues });\n };\n };\n submitInterrupt = (element: FormElement) => {\n return async (value: string) => {\n const values = { ...this.state.values, [element.Name]: value };\n const elementsWithValues = [FormControlType.Checkbox, FormControlType.TextArea, FormControlType.VariableValue];\n this.props.interruption.Form.Elements.forEach((otherElements) => {\n if (elementsWithValues.indexOf(otherElements.Control.Type) !== -1) {\n values[otherElements.Name] = values[otherElements.Name] || \"\";\n }\n });\n this.setState({ isSubmitting: true });\n try {\n await this.props.submitInterruption(values);\n }\n finally {\n this.setState({ isSubmitting: false });\n }\n };\n };\n renderAssignmentButton() {\n const interruption = this.props.interruption;\n if (!interruption.CanTakeResponsibility || interruption.HasResponsibility) {\n return null;\n }\n if (interruption.ResponsibleUserId) {\n return (\n {\n this.setState({ isSubmitting: true });\n try {\n await this.props.takeResponsibility();\n }\n finally {\n this.setState({ isSubmitting: false });\n }\n return true;\n }}>\n
    Someone else is already assigned to this interruption. Are you sure you wish to assign it to yourself?
    \n
    \n
    );\n }\n return this.props.takeResponsibility()}/>;\n }\n render() {\n const interruption = this.props.interruption;\n const isAssignedToMe = interruption.HasResponsibility;\n const isSubmitting = this.state.isSubmitting;\n const who = interruption.ResponsibleUserId ? isAssignedToMe ? you : {this.state.responsibleUser} : no one;\n const styling = (controlType: FormControlType) => {\n if (controlType === FormControlType.TextArea) {\n return styles.notes;\n }\n else if (controlType === FormControlType.SubmitButtonGroup) {\n return styles.actions;\n }\n return null;\n };\n return (\n {!interruption.IsLinkedToOtherInterruption && (
    \n {!interruption.ResponsibleUserId && (
    \n This task is waiting for manual intervention and must be assigned before proceeding.\n
    )}\n {interruption.ResponsibleUserId &&
    This task is waiting for manual intervention.
    }\n
    )}\n
    \n

    \n Assigned to: {who}\n

    \n
    {this.renderAssignmentButton()}
    \n
    \n
    \n this.setState({ isOpen: !this.state.isOpen })}/>,\n interruption.CorrelationId && goToLogElement(this.props, interruption.CorrelationId)}/>,\n ]}/>\n
    \n {(this.state.isOpen || interruption.IsLinkedToOtherInterruption) && (
    \n {interruption.Form.Elements.map((element, idx) => (
    \n \n
    ))}\n
    )}\n
    );\n }\n static displayName = \"Interruption\";\n}\nexport default withRouter(Interruption);\n","/* eslint-disable @typescript-eslint/no-non-null-assertion */\n/* eslint-disable @typescript-eslint/consistent-type-assertions */\n/* eslint-disable @typescript-eslint/no-explicit-any */\nimport { Callout } from \"@octopusdeploy/design-system-components\";\nimport type { ActivityElement, ActivityLogElement, ArtifactResource, GitRefResource } from \"@octopusdeploy/octopus-server-client\";\nimport { ActivityLogEntryCategory } from \"@octopusdeploy/octopus-server-client\";\nimport _, { flatten } from \"lodash\";\nimport * as React from \"react\";\nimport type { RouteComponentProps } from \"react-router\";\nimport { withRouter } from \"react-router\";\nimport ArtifactLink from \"~/areas/tasks/components/Task/Artifacts/ArtifactLink\";\nimport { generateUriForLine, getStatusIcon } from \"~/areas/tasks/components/Task/TaskLog/TaskLogUtil\";\nimport type { UniqueActivityElement } from \"~/components/TaskLogLines/TaskLogBlock\";\nimport TextWithLinks from \"../../../../../components/TextWithLinks/TextWithLinks\";\nimport { RetryCountdown } from \"../RetryCountdown\";\nimport styles from \"./style.module.less\";\ninterface TaskSummaryLineComponentProps {\n element: UniqueActivityElement;\n artifacts: ArtifactResource[];\n showFatalsInline?: boolean;\n onLogNavigation(elementId: string): void;\n stepsCorrelationIds?: {\n [key: string]: string;\n };\n gitRef?: GitRefResource;\n depth?: number;\n}\ntype TaskSummaryLineProps = TaskSummaryLineComponentProps & RouteComponentProps;\nclass TaskSummaryLineInternal extends React.PureComponent {\n render(): false | JSX.Element {\n const element = this.props.element;\n const childrenToShow = ((element.Children as UniqueActivityElement[]) || []).filter((e) => (this.props.depth ?? 0) < 1 ||\n e.Children.length > 1 ||\n ((this.props.depth ?? 0) >= 2 && e.ShowAtSummaryLevel) ||\n this.getLogsWithCategory(e, true, ActivityLogEntryCategory.Highlight).length > 0 ||\n this.getLogsWithCategory(e, true, ActivityLogEntryCategory.Fatal).length > 0);\n const highlights = this.getLogsWithCategory(element, childrenToShow.length === 0, ActivityLogEntryCategory.Highlight).map((h, i) => (
    \n \n
    ));\n const fatals = this.getLogsWithCategory(element, false, ActivityLogEntryCategory.Fatal).map((h, i) => (
    \n {\" \"}\n \n Go to line\n \n
    ));\n const header = this.props.showFatalsInline || childrenToShow.length === 0 ? (
    \n \n {fatals && fatals.length > 0 &&
    {fatals}
    }\n
    ) : fatals && fatals.length > 0 ? (\n {fatals}\n ) : null;\n const childStyle = this.props.showFatalsInline ? styles.taskSummaryChildren : styles.taskSummaryTopLevel;\n const children = childrenToShow.length > 0 && (
    \n {childrenToShow.map((e) => ())}\n
    );\n const lastLogElement = _.last(element.LogElements);\n const showRetryCountdown = lastLogElement && lastLogElement.Category === ActivityLogEntryCategory.Retry;\n return (<>\n {element.Name && (
    \n {header}\n {showRetryCountdown && (
    \n \n
    )}\n {children}\n {highlights && highlights.length > 0 &&
    {highlights}
    }\n {this.getArtifacts(childrenToShow.length === 0)}\n
    )}\n );\n }\n private getLogsWithCategory(element: ActivityElement, recurse: boolean, category: ActivityLogEntryCategory): ActivityLogElement[] {\n const highlights = (element.LogElements || []).filter((e) => e.Category === category);\n return recurse ? highlights.concat(flatten(element.Children.map((c) => this.getLogsWithCategory(c, recurse, category)))) : highlights;\n }\n private getArtifacts(isLeaf: boolean) {\n const element = this.props.element;\n const artifactResources = this.props.artifacts.filter((a) => (a.LogCorrelationId && isLeaf ? a.LogCorrelationId.startsWith(element.Id) : a.LogCorrelationId === element.Id));\n const elements = artifactResources.map((a) => (
    \n \n
    ));\n return elements.length > 0 &&
    {elements}
    ;\n }\n static displayName = \"TaskSummaryLineInternal\";\n}\nconst TaskSummaryLine = withRouter(TaskSummaryLineInternal);\nexport default TaskSummaryLine;\n","/* eslint-disable @typescript-eslint/no-non-null-assertion */\n/* eslint-disable @typescript-eslint/no-explicit-any */\nimport { css } from \"@emotion/css\";\nimport { Callout } from \"@octopusdeploy/design-system-components\";\nimport type { ArtifactResource, GitRefResource, IHaveSnapshotGitReference, InterruptionResource, ResourceCollection, TaskDetailsResource, TaskResource } from \"@octopusdeploy/octopus-server-client\";\nimport { TaskName, Permission } from \"@octopusdeploy/octopus-server-client\";\nimport { links } from \"@octopusdeploy/portal-routes\";\nimport * as React from \"react\";\nimport type { RouteComponentProps } from \"react-router\";\nimport { withRouter } from \"react-router\";\nimport type { AnalyticViewDispatcher } from \"~/analytics/Analytics\";\nimport { useAnalyticViewDispatch } from \"~/analytics/Analytics\";\nimport { ProcessSnapshotSection } from \"~/areas/projects/components/Releases/ProcessSnapshot/ProcessSnapshot\";\nimport QueuedTaskDetails from \"~/areas/tasks/components/Task/QueuedTaskDetails\";\nimport { client, repository } from \"~/clientInstance\";\nimport type { DataBaseComponentState, Refresh } from \"~/components/DataBaseComponent/DataBaseComponent\";\nimport { DataBaseComponent } from \"~/components/DataBaseComponent/DataBaseComponent\";\nimport InternalLink from \"~/components/Navigation/InternalLink/index\";\nimport PermissionCheck from \"~/components/PermissionCheck/PermissionCheck\";\nimport SidebarLayout from \"~/components/SidebarLayout/SidebarLayout\";\nimport DateFormatter from \"~/utils/DateFormatter\";\nimport ExternalLink from \"../../../../../components/Navigation/ExternalLink/ExternalLink\";\nimport { SimplePagingList } from \"../../../../../components/PagingList\";\nimport { Section } from \"../../../../../components/Section/Section\";\nimport type { UniqueActivityElement } from \"../../../../../components/TaskLogLines/TaskLogBlock\";\nimport ArtifactLink from \"../Artifacts/ArtifactLink\";\nimport Interruption from \"../Interruption/Interruption\";\nimport { goToLogElement } from \"../TaskLog/TaskLogUtil\";\nimport TaskSummaryLine from \"../TaskSummary/TaskSummaryLine\";\nimport styles from \"./style.module.less\";\ninterface TaskSummaryComponentProps {\n task: TaskResource;\n projectId?: string;\n environmentId?: string;\n tenantId?: string;\n artifacts?: ArtifactResource[];\n interruptions?: ResourceCollection;\n activityElements?: UniqueActivityElement[];\n taskDetails?: TaskDetailsResource;\n doRefresh: Refresh;\n snapshot: IHaveSnapshotGitReference;\n stepsCorrelationIds?: {\n [key: string]: string;\n };\n gitRef?: GitRefResource;\n}\nclass ArtifactsList extends SimplePagingList {\n}\ntype TaskSummaryProps = TaskSummaryComponentProps & RouteComponentProps;\ntype TaskSummaryInternalProps = TaskSummaryComponentProps & RouteComponentProps & {\n dispatchView: AnalyticViewDispatcher;\n};\nconst RanOnSection: React.FC<{\n task: TaskResource;\n}> = ({ task }) => task!.ServerNode ? (
    \n

    Ran on

    \n {task!.ServerNode}\n
    ) : null;\nRanOnSection.displayName = \"RanOnSection\"\nconst RunDetailsSection: React.FC<{\n task: TaskResource;\n}> = ({ task }) => {\n const startTime = task.StartTime ? DateFormatter.dateToShortFormat(task.StartTime) : \"Not started\";\n const endTime = task.CompletedTime ? DateFormatter.dateToShortFormat(task.CompletedTime) : \"N/A\";\n const renderRow = (label: string, value: string | null) => (
    \n {label}:\n {value}\n
    );\n return (
    \n

    Run Details

    \n
    \n {renderRow(\"Start\", startTime)}\n {task.IsCompleted && renderRow(\"End\", endTime)}\n
    Total Duration: {task.Duration || \"N/A\"}
    \n
    \n
    );\n};\nRunDetailsSection.displayName = \"RunDetailsSection\"\nclass TaskSummaryInternal extends DataBaseComponent {\n componentDidMount() {\n this.props.dispatchView(\"View Task Summary\", { resource: \"Task Summary\" });\n }\n renderInterruptions = () => {\n if (this.props.task!.IsCompleted || !this.props.interruptions || !this.props.interruptions.Items) {\n return null;\n }\n return this.props.interruptions.Items.filter((interruption) => interruption.IsPending).map((interruption) => (
    \n {\n await this.doBusyTask(async () => repository.Interruptions.takeResponsibility(interruption));\n await this.props.doRefresh();\n }} submitInterruption={async (values: {\n [name: string]: any;\n }) => {\n await this.doBusyTask(async () => repository.Interruptions.submit(interruption, values));\n await this.props.doRefresh();\n }}/>\n
    ));\n };\n render() {\n const { task, taskDetails } = this.props;\n const sidebar = (
    \n \n \n \n {task.SpaceId ? (\n The {Permission.ArtifactView} permission is required to view artifacts\n }>\n
    \n

    Artifacts

    \n } empty={\n No artifacts have been added. Learn more about collecting artifacts.\n }/>\n
    \n
    ) : null}\n
    );\n const showFatalsInline = this.props.activityElements!.length !== 1;\n const taskIsWaitingToStart = !(task.HasBeenPickedUpByProcessor || task.HasPendingInterruptions);\n return (\n
    {this.renderInterruptions()}
    \n
    \n {task.Name === TaskName.BulkDeployment && client.spaceId && task.ProjectId ? (\n View all deployments \n created by this task.\n ) : null}\n {this.props.activityElements!.map((e) => ( goToLogElement(this.props, elementId)} showFatalsInline={showFatalsInline} stepsCorrelationIds={this.props.stepsCorrelationIds} gitRef={this.props.gitRef}/>))}\n {taskIsWaitingToStart && taskDetails ? : null}\n
    \n
    );\n }\n static displayName = \"TaskSummaryInternal\";\n}\nconst summaryTopLevel = css({\n paddingTop: \"1rem\",\n});\nfunction TaskSummary(props: TaskSummaryProps) {\n const dispatchView = useAnalyticViewDispatch(props.projectId);\n return ;\n}\nexport default withRouter(TaskSummary);\n","/* eslint-disable @typescript-eslint/no-non-null-assertion */\n/* eslint-disable @typescript-eslint/no-explicit-any */\n/* eslint-disable @typescript-eslint/init-declarations */\n/* eslint-disable @typescript-eslint/consistent-type-assertions */\nimport { Callout, Divider } from \"@octopusdeploy/design-system-components\";\nimport type { BreadcrumbItem, PageAction, PrimaryPageAction } from \"@octopusdeploy/design-system-components\";\nimport { logger } from \"@octopusdeploy/logging\";\nimport type { ActivityElement, ArtifactResource, GitRefResource, InterruptionResource, ISnapshotResource, KubernetesTaskResourceStatusResource, OctopusSpaceRepository, OctopusSystemRepository, ReleaseResource, ResourceCollection, RunbookResource, RunbookSnapshotResource, SpaceResource, TaskDetailsResource, TaskResource, } from \"@octopusdeploy/octopus-server-client\";\nimport { HasGitPersistenceSettings, HasRunbooksInGit, isReleaseResource, isRunbookSnapshotResource, Permission, ProjectContextRepository, Repository, TaskName, TaskState as TaskStateEnum, toGitBranchWhenUnknown, } from \"@octopusdeploy/octopus-server-client\";\nimport type { LinkHref, TaskDateFilterType } from \"@octopusdeploy/portal-routes\";\nimport { links, optionalStringQueryParam, useQueryStringParam } from \"@octopusdeploy/portal-routes\";\nimport { Environment } from \"@octopusdeploy/utilities\";\nimport _, { memoize } from \"lodash\";\nimport moment from \"moment\";\nimport { useLayoutEffect } from \"react\";\nimport * as React from \"react\";\nimport type { RouteComponentProps } from \"react-router\";\nimport { withRouter } from \"react-router\";\nimport type { AnalyticActionDispatcher } from \"~/analytics/Analytics\";\nimport { Action, useAnalyticActionDispatch } from \"~/analytics/Analytics\";\nimport { ContainersFeedbackCallout } from \"~/areas/ContainersFeedbackCallout\";\nimport { GitRefChip } from \"~/areas/projects/components/Releases/GitRefChip/GitRefChip\";\nimport { PublishSnapshotDialogLayout } from \"~/areas/projects/components/Runbooks/PublishSnapshotDialogLayout/PublishSnapshotDialogLayout\";\nimport RetryRunbookRunDialogLayout from \"~/areas/projects/components/Runbooks/RetryRunbookRunDialogLayout/RetryRunbookRunDialogLayout\";\nimport { getPermissionDeniedTooltipText } from \"~/areas/projects/components/Runbooks/RunNowButton\";\nimport { RunbookSnapshotInfo } from \"~/areas/projects/components/Runbooks/RunbookSnapshots/RunbookSnapshotInfo\";\nimport { TaskStatusIcon } from \"~/areas/projects/components/TaskStatusIcon/TaskStatusIcon\";\nimport type { WithOptionalProjectContextInjectedProps } from \"~/areas/projects/context/index\";\nimport { useOptionalProjectContext } from \"~/areas/projects/context/index\";\nimport { AdHocScriptTaskSummary } from \"~/areas/tasks/components/Task/AdHocScriptTaskSummary\";\nimport BuildInformation from \"~/areas/tasks/components/Task/BuildInformation/BuildInformation\";\nimport Changes from \"~/areas/tasks/components/Task/Changes/Changes\";\nimport KubernetesDeploymentStatus from \"~/areas/tasks/components/Task/K8sStatus/KubernetesDeploymentStatus\";\nimport type { StepWithKubernetesAction } from \"~/areas/tasks/components/Task/K8sStatus/StepWithKubernetesAction\";\nimport { retrieveStepsWithKubernetesActions } from \"~/areas/tasks/components/Task/K8sStatus/retrieveStepsWithKubernetesActions\";\nimport type { KubernetesDetailsStepView } from \"~/areas/tasks/components/Task/Kubernetes/KubernetesDetailsLayout\";\nimport { KubernetesDetailsLayout } from \"~/areas/tasks/components/Task/Kubernetes/KubernetesDetailsLayout\";\nimport { useKubernetesObjectManifestInspection } from \"~/areas/tasks/components/Task/Kubernetes/useKubernetesObjectManifestInspection\";\nimport { TaskHistory } from \"~/areas/tasks/components/Task/TaskHistory/TaskHistory\";\nimport TaskLog from \"~/areas/tasks/components/Task/TaskLog/TaskLog\";\nimport { activityElementIdFromUniqueId, activityElementUniqueIdFromId, getSelectedLogLine, isVerbose, toggleVerbose } from \"~/areas/tasks/components/Task/TaskLog/TaskLogUtil\";\nimport { client, repository } from \"~/clientInstance\";\nimport { useKOSForHelm } from \"~/components/Actions/helmChartUpgrade/useKOSForHelm\";\nimport { RunbookSnapshotPublishedChip } from \"~/components/Chips\";\nimport type { DataBaseComponentState, Refresh } from \"~/components/DataBaseComponent/DataBaseComponent\";\nimport { DataBaseComponent } from \"~/components/DataBaseComponent/DataBaseComponent\";\nimport Dialog from \"~/components/Dialog/Dialog\";\nimport type { DialogControls } from \"~/components/Dialog/DialogTrigger\";\nimport { useDialogTrigger } from \"~/components/Dialog/DialogTrigger\";\nimport InternalLink from \"~/components/Navigation/InternalLink\";\nimport InternalRedirect from \"~/components/Navigation/InternalRedirect/InternalRedirect\";\nimport { OverflowMenuItems } from \"~/components/OverflowMenu/OverflowMenu\";\nimport { OverflowMenuConverterVNext } from \"~/components/OverflowMenu/OverflowMenuConverterVNext\";\nimport { LegacyPaperLayout } from \"~/components/PaperLayout/LegacyPaperLayout\";\nimport { isAllowed, isAllowedToRunGitRunbook } from \"~/components/PermissionCheck/PermissionCheck\";\nimport type { UniqueActivityElement } from \"~/components/TaskLogLines/TaskLogBlock\";\nimport { createGlobalRequestContext } from \"~/globalRequestContext\";\nimport { UrlNavigationTabsContainer } from \"~/primitiveComponents/navigation/Tabs\";\nimport TabItem from \"~/primitiveComponents/navigation/Tabs/TabItem\";\nimport { timeOperationOptions } from \"~/utils/OperationTimer/timeOperation\";\nimport ModifyTaskStateDialog from \"./ModifyTaskStateDialog\";\nimport TaskSummary from \"./TaskSummary/TaskSummary\";\nexport enum BuiltInTask {\n Deploy = \"Deploy\",\n RunbookRun = \"RunbookRun\",\n ExportProjects = \"ExportProjects\",\n ImportProjects = \"ImportProjects\",\n BulkDeployment = \"BulkDeployment\"\n}\ninterface TaskState extends DataBaseComponentState {\n task?: TaskResource;\n taskSpace?: SpaceResource;\n taskScopedRepository?: OctopusSpaceRepository | OctopusSystemRepository;\n kubernetesOctopusStatus: KubernetesTaskResourceStatusResource;\n stepsWithKubernetesActions: StepWithKubernetesAction[];\n taskDetails?: TaskDetailsResource;\n artifacts?: ArtifactResource[];\n interruptions?: ResourceCollection;\n activityElements?: UniqueActivityElement[];\n verbose: boolean;\n tail: boolean;\n reloads: number;\n cancelPending: boolean;\n moveToTopPending: boolean;\n redirectTo?: LinkHref;\n breadcrumbTitle?: string;\n breadcrumbPath?: LinkHref;\n breadcrumbsItems?: BreadcrumbItem[];\n hasLoadedOnce?: boolean;\n snapshot: ISnapshotResource;\n changesMarkdown: string;\n runbook?: RunbookResource;\n taskDeploymentActionTypes: string[];\n processId?: string;\n stepsCorrelationIds?: {\n [key: string]: string;\n };\n gitRef?: GitRefResource;\n ranges: ActivityLogOptionsRange[];\n isFetchDisabled: boolean;\n initialTab: string;\n manuallyExpandedIds: string[] | undefined;\n kubernetesDetailsActiveView: KubernetesDetailsStepView;\n}\ninterface ActivityLogOptionsRange {\n id: string;\n start: number;\n end: number;\n}\ninterface TaskComponentProps {\n task?: TaskResource;\n taskId: string;\n projectId?: string;\n tenantId?: string;\n environmentId?: string;\n getPrimaryPageAction?(Task: TaskResource): PrimaryPageAction | undefined;\n getAdditionalPageActions?(Task: TaskResource): PageAction[];\n additionalRefresh?(Task: TaskResource): Promise;\n delayRender(): boolean;\n defaultBreadcrumbItems?: BreadcrumbItem[];\n showBreadcrumbBackIcon?: boolean;\n}\ntype TaskProps = TaskComponentProps & RouteComponentProps & WithOptionalProjectContextInjectedProps;\ntype InternalTaskProps = TaskProps & {\n dispatchAction: AnalyticActionDispatcher;\n publishRunbookDialogControls: DialogControls;\n retryRunbookDialogControls: DialogControls;\n supportKOSForHelm: boolean;\n useNewKubernetesTab: boolean;\n};\nconst statesThatCanBeModified = [TaskStateEnum.Success, TaskStateEnum.Failed, TaskStateEnum.Canceled];\nconst activeTabQueryStringParameterName = \"activeTab\";\nconst kubernetesObjectStatusTabQueryParamValue = \"kubernetesDeploymentStatus\";\nconst kubernetesTabQueryParamValue = \"kubernetes\";\nclass InternalTask extends DataBaseComponent {\n private timeLastRefreshTookInSeconds: number = 0;\n /**\n * Use memoization to remove unnecessary network calls as the UI is updated.\n * This allows us to regenerate the state by excluding or including machines,\n * and not call back to the server for deployment process info that will not\n * have changed.\n */\n repositoryDeploymentProcessesGet = memoize((release: ReleaseResource) => this.props.projectContext!.state.projectContextRepository.DeploymentProcesses.getForRelease(release));\n repositoryRunbookProcessGet = memoize((id: string, taskSpaceScopedRepository: OctopusSpaceRepository) => taskSpaceScopedRepository.RunbookProcess.get(id));\n constructor(props: InternalTaskProps) {\n super(props);\n this.state = {\n reloads: 0,\n verbose: isVerbose(this.props),\n tail: true,\n cancelPending: false,\n moveToTopPending: false,\n snapshot: null!,\n changesMarkdown: null!,\n taskDeploymentActionTypes: [],\n kubernetesOctopusStatus: { KubernetesStepsStatus: [] },\n stepsWithKubernetesActions: [],\n processId: undefined,\n stepsCorrelationIds: undefined,\n ranges: this.getSelectedRanges(),\n isFetchDisabled: false,\n initialTab: \"taskSummary\",\n manuallyExpandedIds: undefined,\n kubernetesDetailsActiveView: \"Manifests\",\n };\n }\n getSelectedRanges(): ActivityLogOptionsRange[] {\n const selection = getSelectedLogLine(this.props);\n if (selection) {\n return [\n {\n start: selection.line < 50 ? 0 : selection.line - 50,\n end: selection.line + 50,\n id: activityElementIdFromUniqueId(selection.elementUniqueId),\n },\n ];\n }\n return [];\n }\n async componentDidMount() {\n await this.doBusyTask(async () => {\n const task = this.props.task ? this.props.task : await repository.Tasks.get(this.props.taskId, { spaces: [\"all\"] });\n const taskScopedRepository = task.SpaceId ? await repository.forSpace(task.SpaceId) : repository.forSystem();\n const taskSpace = task.SpaceId ? await repository.Spaces.get(task.SpaceId) : undefined;\n this.setState({\n task,\n taskSpace,\n taskScopedRepository,\n kubernetesDetailsActiveView: \"Snapshot\" /*task.State === TaskStateEnum.Executing ? \"Snapshot\" : \"Manifests\",*/,\n }, () => this.doBusyTask(async () => {\n this.doRefresh = await this.startRefreshLoop(() => this.refresh(this.state.verbose, this.state.ranges), this.getRefreshInterval, false, timeOperationOptions.forRefresh());\n }));\n }, { timeOperationOptions: timeOperationOptions.forInitialLoad() });\n }\n isDeploymentTask = () => this.state.task?.Name === BuiltInTask.Deploy && this.state.task.Arguments.DeploymentId === this.props.match.params.deploymentId;\n isRunbookTask = () => this.state.task?.Name === BuiltInTask.RunbookRun && this.state.task.Arguments.RunbookRunId === this.props.match.params.runbookRunId;\n isGitRunbookTask = () => isRunbookSnapshotResource(this.state.snapshot) && this.state.snapshot.GitReference?.GitCommit;\n async refresh(verbose: boolean, ranges: ActivityLogOptionsRange[]) {\n const startTime = moment();\n const { task, taskScopedRepository } = this.state;\n if (task === undefined || taskScopedRepository === undefined) {\n throw new Error(\"Refreshing task failed as the initial data for the task was not loaded, this should never happen.\");\n }\n this.setState({ verbose, ranges, reloads: this.state.reloads + 1, isFetchDisabled: true });\n const rangeStrings = ranges.map((r) => [r.id, r.start, r.end].join(\":\"));\n const taskDetailArgs = { verbose, tail: 50, ranges: rangeStrings.join(\"|\") };\n const taskDetailsPromise = taskScopedRepository.Tasks.details(task, taskDetailArgs);\n const interruptionsPromise = this.isTaskSpaceScopedRepository(taskScopedRepository) &&\n isAllowed({\n permission: Permission.InterruptionViewSubmitResponsible,\n project: this.props.projectId,\n environment: this.props.environmentId,\n tenant: this.props.tenantId,\n }, this.state.task?.SpaceId ? { spaceId: this.state.task.SpaceId } : \"system\")\n ? taskScopedRepository.Interruptions.list({ regarding: this.props.taskId })\n : Promise.resolve([] as any as ResourceCollection);\n const taskDetails = await taskDetailsPromise;\n const activityElements = taskDetails.ActivityLogs.map((e: ActivityElement, n: number) => this.setIdPrefix(e, n));\n // Only supply breadcrumbs if this is a deployment task (as it will be redirected to the project area where it needs a breadcrumb).\n let snapshot: ReleaseResource | RunbookSnapshotResource | undefined;\n let breadcrumbTitle: string | undefined;\n let breadcrumbPath: LinkHref | undefined;\n let breadcrumbsItems: BreadcrumbItem[] | undefined;\n let kubernetesStatusUpdatePromise: Promise;\n let stepsWithKubernetesActions: StepWithKubernetesAction[] = [];\n const isDeploymentTask = this.isDeploymentTask();\n let changesMarkdown = null;\n // No point retrieving kubernetes status updates more than once for a completed task\n if (this.props.useNewKubernetesTab) {\n //if we are using the new kubernetes tab, it loads this data itself\n kubernetesStatusUpdatePromise = Promise.resolve({ KubernetesStepsStatus: [] });\n }\n else if (this.state.taskDetails?.Task.IsCompleted) {\n kubernetesStatusUpdatePromise = Promise.resolve(this.state.kubernetesOctopusStatus);\n }\n else {\n kubernetesStatusUpdatePromise = this.state.task!.SpaceId ? taskScopedRepository.Tasks.retrieveKubernetesStatusUpdate(this.state.task!.Id) : Promise.resolve({ KubernetesStepsStatus: [] });\n }\n if (isDeploymentTask && this.isTaskSpaceScopedRepository(taskScopedRepository)) {\n const deployment = await taskScopedRepository.Deployments.getDeploymentSummaryForTask(this.props.match.params.deploymentId);\n changesMarkdown = deployment.ChangesMarkdown;\n snapshot = deployment ? await taskScopedRepository.Releases.get(deployment.ReleaseId) : null!;\n if (isReleaseResource(snapshot)) {\n const project = deployment ? await taskScopedRepository.Projects.get(deployment.ProjectId) : null;\n if (project) {\n try {\n if (taskDetails.Task.IsCompleted) {\n let gitRef: GitRefResource | undefined;\n const snapshotGitRef = toGitBranchWhenUnknown(snapshot.VersionControlReference?.GitRef);\n if (project.IsVersionControlled === true && !!snapshotGitRef) {\n gitRef = await taskScopedRepository.Projects.getGitRef(project, snapshotGitRef);\n this.setState({ gitRef: gitRef });\n }\n const projectContextRepository = new ProjectContextRepository(client, project, gitRef, createGlobalRequestContext(\"ProjectContext\"));\n const deploymentProcess = await projectContextRepository.DeploymentProcesses.get();\n // Filter step correlation ids by those present in the deployment process\n const correlationIds: {\n [key: string]: string;\n } = {};\n deployment.ExecutionPlanLogContext.Steps.forEach((context) => {\n if (deploymentProcess.Steps.some((step) => step.Slug === context.Slug)) {\n correlationIds[context.CorrelationId] = context.Slug;\n }\n });\n if (correlationIds) {\n this.setState({ stepsCorrelationIds: correlationIds });\n }\n }\n }\n catch (e) {\n logger.warn(\"Failed to get deployment process for project\", e);\n }\n }\n breadcrumbTitle = snapshot ? `Release ${snapshot.Version}` : null!;\n breadcrumbPath = snapshot ? links.releasePage.generateUrl({ spaceId: project!.SpaceId, projectSlug: project!.Slug, releaseVersion: snapshot.Version }) : null!;\n breadcrumbsItems = [\n { label: \"Releases\", pageUrl: links.releasesPage.generateUrl({ spaceId: project!.SpaceId, projectSlug: project!.Slug }) },\n { label: snapshot.Version, pageUrl: breadcrumbPath },\n ];\n const process = await this.repositoryDeploymentProcessesGet(snapshot);\n stepsWithKubernetesActions = retrieveStepsWithKubernetesActions(process.Steps, this.props.supportKOSForHelm);\n }\n const actionTypesBffResponse = await taskScopedRepository.Deployments.getDeploymentProcessActionTypes(deployment.DeploymentProcessId);\n this.setState({ taskDeploymentActionTypes: actionTypesBffResponse.ActionTypes });\n }\n const isRunbookTask = !!(taskDetails.Task.Name === BuiltInTask.RunbookRun && taskDetails.Task.Arguments.RunbookRunId === this.props.match.params.runbookRunId && this.isTaskSpaceScopedRepository(taskScopedRepository));\n let runbook: RunbookResource | undefined;\n if (isRunbookTask) {\n const runbookRun = await taskScopedRepository.RunbookRuns.get(this.props.match.params.runbookRunId);\n snapshot = runbookRun ? await taskScopedRepository.RunbookSnapshots.get(runbookRun.RunbookSnapshotId) : null!;\n const project = await taskScopedRepository.Projects.get(runbookRun.ProjectId);\n const defaultGitRef = HasGitPersistenceSettings(project.PersistenceSettings) && HasRunbooksInGit(project.PersistenceSettings) ? project.PersistenceSettings.DefaultBranch : undefined;\n const gitRef = snapshot.GitReference?.GitCommit ? snapshot.GitReference.GitRef : defaultGitRef;\n try {\n runbook = await taskScopedRepository.Runbooks.getRunbook(project, runbookRun.RunbookId, gitRef);\n }\n catch (e) {\n logger.info(\"Failed to load Runbook\", e);\n }\n // We might not be able to get the Runbook if this run was created from a branch that no longer\n // exists or if the Runbook has been deleted. In that case we need to fall back to the RunbookName\n // that was stamped on the RunbookRun when it was created.\n const runbookName = runbook ? runbook.Name : runbookRun.RunbookName;\n if (isRunbookSnapshotResource(snapshot)) {\n const process = await this.repositoryRunbookProcessGet(snapshot.FrozenRunbookProcessId, taskScopedRepository);\n stepsWithKubernetesActions = retrieveStepsWithKubernetesActions(process.Steps, this.props.supportKOSForHelm);\n const project = runbookRun ? await taskScopedRepository.Projects.get(runbookRun.ProjectId) : null;\n breadcrumbTitle = runbookName!;\n breadcrumbPath = snapshot ? links.projectRunbookRunsListPage.generateUrl({ spaceId: project!.SpaceId, projectSlug: project!.Slug, runbookId: runbookRun.RunbookId }) : null!;\n breadcrumbsItems = [\n { label: \"Runbooks\", pageUrl: links.projectRunbooksPage.generateUrl({ spaceId: project!.SpaceId, projectSlug: project!.Slug }) },\n { label: breadcrumbTitle, pageUrl: breadcrumbPath },\n ];\n const correlationIds: {\n [key: string]: string;\n } = {};\n if (runbookRun.ExecutionPlanLogContext) {\n runbookRun.ExecutionPlanLogContext.Steps.forEach((context) => {\n if (process.Steps.some((step) => step.Slug === context.Slug)) {\n correlationIds[context.CorrelationId] = context.Slug;\n }\n });\n }\n if (correlationIds) {\n this.setState({ processId: runbook?.RunbookProcessId, stepsCorrelationIds: correlationIds });\n }\n }\n }\n const artifacts = this.loadArtifactsPromise();\n const result = {\n taskDetails,\n activityElements,\n artifacts: await artifacts,\n interruptions: await interruptionsPromise,\n task: taskDetails.Task,\n breadcrumbTitle: breadcrumbTitle!,\n breadcrumbPath: breadcrumbPath!,\n breadcrumbsItems,\n hasLoadedOnce: true,\n snapshot: snapshot!,\n changesMarkdown: changesMarkdown!,\n runbook: runbook!,\n kubernetesOctopusStatus: await kubernetesStatusUpdatePromise,\n stepsWithKubernetesActions,\n };\n if (this.props.additionalRefresh) {\n await this.props.additionalRefresh(taskDetails.Task);\n }\n this.timeLastRefreshTookInSeconds = moment().diff(startTime, \"seconds\");\n if (task.State == TaskStateEnum.Executing) {\n // Switch to task log when the task starts. But don't switch back\n this.setState({ initialTab: \"taskLog\" });\n }\n this.setState({ isFetchDisabled: false });\n return result;\n }\n getRefreshInterval = (hidden: boolean) => {\n if (!this.state.task) {\n return 2000;\n }\n if (this.timeLastRefreshTookInSeconds >= 5) {\n // Refresh time is terrible, back right off\n return hidden ? 120000 : 20000;\n }\n const refreshIsFast = this.timeLastRefreshTookInSeconds < 2;\n const completedRecently = this.state.task.CompletedTime && moment().diff(moment(this.state.task.CompletedTime), \"seconds\") < 15;\n if (completedRecently && refreshIsFast) {\n // Make sure we get the final logs that get written after the task officially completes\n return hidden ? 10000 : 2000;\n }\n if (this.state.task.IsCompleted) {\n // Keep refreshing after completion in case auto-deploy kicks in or someone else changes that task state\n return hidden ? 60000 : 20000;\n }\n const isQueuedOrStartedRecently = !this.state.task.StartTime || moment().diff(moment(this.state.task.StartTime), \"seconds\") < 15;\n if (isQueuedOrStartedRecently && refreshIsFast) {\n // Refresh often so the user can see it start and see it finish quickly if it's a short deployment\n return hidden ? 5000 : 1000;\n }\n return hidden ? 30000 : 5000;\n };\n // This is a bit hacky since auto-deploys that kick off from same deployment will have the same task prefix\n setIdPrefix(element: ActivityElement, n: number): UniqueActivityElement {\n return {\n ...element,\n uniqueId: activityElementUniqueIdFromId(element.Id, n),\n Children: element.Children ? element.Children.map((c) => this.setIdPrefix(c, n)) : null!,\n };\n }\n setVerbose = (value: boolean) => {\n toggleVerbose(this.props, value);\n this.setState({ verbose: value }, async () => this.doRefresh());\n };\n recurseCountLogs(elements?: ActivityElement[]): number {\n if (!elements) {\n return 0;\n }\n return _.sum(elements.map((a) => a.LogElements.length + this.recurseCountLogs(a.Children)));\n }\n fetchRange = (element: ActivityElement, start: number, end: number) => {\n let ranges = this.state.ranges.slice();\n ranges.push({\n start: start,\n end: end,\n id: element.Id,\n });\n // Around 10,000 logs and the UX starts to freeze up\n // So above that, keep only the most recently selected range\n // But allow them to have at least 2 ranges open even if that pushes us past 10K (so they can compare logs)\n if (this.recurseCountLogs(this.state.taskDetails?.ActivityLogs) > 10000 && ranges.length > 2) {\n ranges = [ranges[ranges.length - 1]];\n }\n this.setState({ ranges }, async () => this.doRefresh());\n };\n isAlreadyPublished = () => {\n const runbook = this.state.runbook;\n const snapshot = this.state.snapshot;\n if (!runbook || !snapshot) {\n return false;\n }\n return runbook.PublishedRunbookSnapshotId === snapshot.Id;\n };\n isTaskSpaceScopedAndCompleted = () => {\n const task = this.state.task;\n const taskScopedRepository = this.state.taskScopedRepository;\n return task && task.IsCompleted && this.isTaskSpaceScopedRepository(taskScopedRepository);\n };\n isRunbookSnapshotExist = () => this.state.runbook && this.state.snapshot;\n hasEditRunbookPermission = () => isAllowed({ permission: Permission.RunbookEdit, project: this.props.projectId, wildcard: true }, this.state.task?.SpaceId ? { spaceId: this.state.task.SpaceId } : \"system\");\n canPublishRunbook = () => this.isRunbookSnapshotExist() && this.hasEditRunbookPermission() && !this.isAlreadyPublished() && !this.state.snapshot.GitReference?.GitCommit;\n renderEditStateButton = () => {\n const task = this.state.task;\n if (!task!.IsCompleted || statesThatCanBeModified.indexOf(task!.State) === -1) {\n return null;\n }\n return OverflowMenuItems.dialogItem(\"Edit state\", , {\n permission: Permission.TaskEdit,\n project: this.props.projectId,\n environment: this.props.environmentId,\n tenant: \"*\",\n spaceScope: task?.SpaceId ? { spaceId: task.SpaceId } : \"system\",\n });\n };\n renderTryAgainButton = () => {\n const task = this.state.task!;\n if (!task.IsCompleted) {\n return null;\n }\n if (this.isGitRunbookTask() && task.IsCompleted && this.state.snapshot) {\n if (isAllowedToRunGitRunbook(this.props.projectContext?.state.model, this.state.snapshot.GitReference?.GitRef)) {\n return OverflowMenuItems.item(\"Re-run\", this.props.retryRunbookDialogControls.openDialog);\n }\n return OverflowMenuItems.disabledItem(\"Re-run\", getPermissionDeniedTooltipText(this.state.snapshot.GitReference?.GitRef)!);\n }\n if (task.Name === TaskName.AdHocScript) {\n if (task.Arguments.ActionTemplateId) {\n const path = links.runStepTemplatePage.generateUrl({ spaceId: task.SpaceId!, templateId: task.Arguments.ActionTemplateId }, { retry: task.Id });\n return OverflowMenuItems.navItem(\"Modify and re-run\", path);\n }\n else {\n return OverflowMenuItems.navItem(\"Modify and re-run\", links.scriptConsolePage.generateUrl({ retry: task.Id }));\n }\n }\n else if (task.Name === TaskName.BulkDeployment) {\n return OverflowMenuItems.item(task.FinishedSuccessfully ? \"Re-run\" : \"Try again\", this.rerun, {\n permission: Permission.DeploymentCreate,\n project: \"*\",\n environment: \"*\",\n tenant: \"*\",\n spaceScope: task?.SpaceId ? { spaceId: task.SpaceId } : \"system\",\n });\n }\n else if (task.CanRerun) {\n return OverflowMenuItems.item(task.FinishedSuccessfully ? \"Re-run\" : \"Try again\", this.rerun, {\n permission: Permission.TaskCreate,\n project: this.props.projectId,\n environment: this.props.environmentId,\n tenant: \"*\",\n spaceScope: task?.SpaceId ? { spaceId: task.SpaceId } : \"system\",\n });\n }\n else {\n return this.renderRedeployButton();\n }\n };\n renderRedeployButton = () => {\n const isRelease = isReleaseResource(this.state.snapshot);\n const deployToLabel = isRelease ? \"Re-deploy...\" : \"Re-run...\";\n const executePermission = isRelease ? Permission.DeploymentCreate : Permission.RunbookRunCreate;\n const routePath = isRelease\n ? links.createDeploymentPage.generateUrl({ spaceId: this.state.snapshot.SpaceId, projectSlug: this.state.snapshot.ProjectId, releaseVersion: this.state.snapshot.Id }, { previousDeploymentId: this.state.taskDetails!.Task.Arguments.DeploymentId })\n : links.createRunbookRunForSnapshotPage.generateUrl({ spaceId: this.state.snapshot.SpaceId, projectSlug: this.state.snapshot.ProjectId, runbookId: this.state.runbook!.Id, runbookSnapshotId: this.state.snapshot.Id }, { previousRunbookRunId: this.state.taskDetails!.Task.Arguments.RunbookRunId });\n return OverflowMenuItems.navItem(deployToLabel, routePath, { permission: executePermission, project: this.state.snapshot.ProjectId, wildcard: true, spaceScope: this.state.task?.SpaceId ? { spaceId: this.state.task.SpaceId } : \"system\" });\n };\n renderDeployToButton = () => {\n const canRenderDeployTo = this.state.snapshot && this.state.taskDetails && !this.state.taskDetails.Task.HasPendingInterruptions && this.state.taskDetails.Task.State !== TaskStateEnum.Executing && !this.isGitRunbookTask();\n if (!canRenderDeployTo) {\n return null;\n }\n const isRelease = isReleaseResource(this.state.snapshot);\n const deployToLabel = isRelease ? \"Deploy to...\" : \"Run on...\";\n const executePermission = isRelease ? Permission.DeploymentCreate : Permission.RunbookRunCreate;\n const routePath = isRelease\n ? links.createDeploymentPage.generateUrl({ spaceId: this.state.snapshot.SpaceId, projectSlug: this.state.snapshot.ProjectId, releaseVersion: this.state.snapshot.Id })\n : links.createRunbookRunForSnapshotPage.generateUrl({ spaceId: this.state.snapshot.SpaceId, projectSlug: this.state.snapshot.ProjectId, runbookId: this.state.runbook!.Id, runbookSnapshotId: this.state.snapshot.Id });\n return OverflowMenuItems.navItem(deployToLabel, routePath, { permission: executePermission, project: this.state.snapshot.ProjectId, wildcard: true, spaceScope: this.state.task?.SpaceId ? { spaceId: this.state.task.SpaceId } : \"system\" });\n };\n renderDeleteExecutionButton = () => {\n const canRenderDeleteDeploymentButton = !!(this.state.snapshot && this.state.taskDetails && this.state.taskDetails.Task.Name === BuiltInTask.Deploy && this.state.taskDetails.Task.Arguments.DeploymentId);\n const canRenderDeleteRunbookRunButton = !!(this.state.snapshot && this.state.taskDetails && this.state.taskDetails.Task.Name === BuiltInTask.RunbookRun && this.state.taskDetails.Task.Arguments.RunbookRunId);\n if (!canRenderDeleteDeploymentButton && !canRenderDeleteRunbookRunButton) {\n return null;\n }\n const isRelease = isReleaseResource(this.state.snapshot);\n const deletePermission = isRelease ? { permission: Permission.DeploymentDelete } : { permission: Permission.RunbookEdit, project: this.props.projectId, wildcard: true, spaceId: this.state.task?.SpaceId };\n return OverflowMenuItems.deleteItem(`Delete ${isRelease ? \"deployment\" : \"run\"}...`, `Are you sure you want to delete this ${isRelease ? \"deployment\" : \"run\"}?`, this.handleDeleteConfirm,
    \n

    Deleting this {isRelease ? \"deployment\" : \"run\"} is permanent. There is no going back.

    \n

    Do you wish to continue?

    \n
    , deletePermission);\n };\n renderViewPreviousDeploymentsButton = () => {\n const task = this.state.task;\n const projectContext = this.props.projectContext;\n if (!projectContext || !task || !task.SpaceId) {\n return null;\n }\n if (!this.isDeploymentTask()) {\n return null;\n }\n let dateFilterParams: {\n dateFilterType?: TaskDateFilterType;\n fromDate?: Date;\n toDate?: Date;\n } = {};\n if (task.StartTime) {\n dateFilterParams = this.createDateFilterParams(task.StartTime, \"Start Time\");\n }\n else if (task.QueueTime) {\n dateFilterParams = this.createDateFilterParams(task.QueueTime, \"Queue Time\");\n }\n return OverflowMenuItems.navItem(\"View previous deployments\", links.projectTasksPage.generateUrl({ spaceId: task.SpaceId, projectSlug: projectContext.state.model.Slug }, { ...dateFilterParams, spaces: [task.SpaceId], environment: this.props.environmentId, name: BuiltInTask.Deploy, tenant: this.props.tenantId }));\n };\n createDateFilterParams = (taskInitialTime: string, type: TaskDateFilterType) => {\n const toDate = new Date(taskInitialTime);\n toDate.setSeconds(toDate.getSeconds() - 1); // Don't include the current task in the filtered tasks list\n const fromDate = new Date(toDate);\n fromDate.setMonth(toDate.getMonth() - 6);\n return { dateFilterType: type, fromDate, toDate };\n };\n handleDeleteConfirm = async () => {\n if (!this.isTaskSpaceScopedRepository(this.state.taskScopedRepository)) {\n return true;\n }\n if (isReleaseResource(this.state.snapshot)) {\n const deployment = await this.state.taskScopedRepository.Deployments.get(this.state.taskDetails!.Task.Arguments.DeploymentId);\n await this.state.taskScopedRepository.Deployments.del(deployment);\n this.setState({ redirectTo: links.releaseRedirect.generateUrl({ spaceId: this.state.snapshot.SpaceId, releaseId: this.state.snapshot.Id }) });\n }\n else if (isRunbookSnapshotResource(this.state.snapshot)) {\n const runbookRun = await this.state.taskScopedRepository.RunbookRuns.get(this.state.taskDetails!.Task.Arguments.RunbookRunId);\n await this.state.taskScopedRepository.RunbookRuns.del(runbookRun);\n this.setState({\n redirectTo: links.projectRunbookSnapshotInfoPage.generateUrl({ spaceId: this.state.snapshot.SpaceId, projectSlug: this.state.snapshot.ProjectId, runbookId: this.state.snapshot.RunbookId, runbookSnapshotId: this.state.snapshot.Id }),\n });\n }\n return true;\n };\n changeTaskState = async (newTaskState: string, reason: string) => {\n await this.doBusyTask(async () => {\n this.setState({ task: await this.state.taskScopedRepository!.Tasks.changeState(this.state.task!, newTaskState, reason) });\n });\n };\n rerun = async () => {\n await this.doBusyTask(async () => {\n const newTask = await this.state.taskScopedRepository!.Tasks.rerun(this.state.task!);\n this.setState({ redirectTo: links.taskPage.generateUrl({ taskId: newTask.Id }) });\n });\n };\n performMoveToTop = async () => {\n await this.doBusyTask(async () => {\n try {\n this.props.dispatchAction(\"Move Task to Top of Queue\", { resource: \"Task\", action: Action.Update });\n this.setState({ moveToTopPending: true });\n await this.state.taskScopedRepository!.Tasks.prioritize(this.state.task!.Id);\n await this.doRefresh();\n }\n finally {\n this.setState({ moveToTopPending: false });\n }\n });\n };\n getMoveToTopPageAction = (): null | PageAction => {\n const task = this.state.task!;\n if (task.State !== TaskStateEnum.Queued) {\n return null;\n }\n return {\n type: \"button\",\n buttonType: \"secondary\",\n label: \"Move to top\",\n disabled: this.state.moveToTopPending,\n busyLabel: \"Updating...\",\n onClick: () => this.performMoveToTop(),\n hasPermissions: isAllowed({ permission: Permission.TaskEdit, project: this.props.projectId, environment: this.props.environmentId, tenant: \"*\" }, task?.SpaceId ? { spaceId: task.SpaceId } : \"system\"),\n };\n };\n performCancel = async () => {\n await this.doBusyTask(async () => {\n try {\n this.props.dispatchAction(\"Cancel task\", { resource: \"Task\", action: Action.Cancel });\n this.setState({ cancelPending: true });\n await this.state.taskScopedRepository!.Tasks.cancel(this.state.task!.Id);\n await this.doRefresh();\n }\n finally {\n this.setState({ cancelPending: false });\n }\n });\n };\n getCancelPageAction = (): null | PageAction => {\n const task = this.state.task!;\n if (task.IsCompleted) {\n return null;\n }\n const isCancelling = this.state.cancelPending || task.State === TaskStateEnum.Cancelling;\n return {\n type: \"button\",\n buttonType: \"destructive\",\n label: \"Cancel\",\n disabled: isCancelling,\n busyLabel: \"Cancelling...\",\n onClick: this.performCancel,\n hasPermissions: isAllowed({ permission: Permission.TaskCancel, project: this.props.projectId, environment: this.props.environmentId, tenant: \"*\" }, task?.SpaceId ? { spaceId: task.SpaceId } : \"system\"),\n };\n };\n renderDevTools() {\n if (Environment.isInDevelopmentMode()) {\n return (
    \n {this.state.taskDetails &&
    Actual log is {(this.state.taskDetails?.PhysicalLogSize / 1024 / 1024).toLocaleString()} MB on disk
    }\n
    Fetched {this.recurseCountLogs(this.state.taskDetails?.ActivityLogs)} logs from server
    \n
    Reloads {this.state.reloads}
    \n
    Last refresh took (s): {this.timeLastRefreshTookInSeconds}
    \n
    \n Ranges:{\" \"}\n {this.state.ranges.map((r, n) => (\n {r.start}:{r.end} \n ))}\n
    \n
    );\n }\n }\n renderPublishSnapshotDialog() {\n const runbook = this.state.runbook;\n const snapshot = this.state.snapshot;\n const taskScopedRepository = this.state.taskScopedRepository;\n const task = this.state.task;\n if (!task?.IsCompleted || !this.isTaskSpaceScopedRepository(taskScopedRepository) || !this.canPublishRunbook())\n return null;\n return (\n {\n await this.doBusyTask(async () => {\n runbook!.PublishedRunbookSnapshotId = snapshot.Id;\n await taskScopedRepository.Runbooks.modify(runbook!);\n const path = links.projectRunbookSnapshotInfoPage.generateUrl({ spaceId: runbook!.SpaceId, projectSlug: runbook!.ProjectId, runbookId: runbook!.Id, runbookSnapshotId: snapshot.Id });\n this.setState({ redirectTo: path });\n });\n }}/>\n );\n }\n renderTitleChip() {\n if (!isRunbookSnapshotResource(this.state.snapshot)) {\n // We only show chips for Runbooks\n return undefined;\n }\n if (this.isAlreadyPublished()) {\n return ;\n }\n if (this.state.snapshot.GitReference?.GitCommit) {\n // This is Git Runbook if GitCommit is not null\n return ;\n }\n return undefined;\n }\n renderRetryRunbookRunDialog() {\n const snapshot = this.state.snapshot;\n if (!snapshot) {\n // The snapshot (for tests at least) can be null. If it is, we can't\n // show the dialog anyway, so bail out early.\n return null;\n }\n const taskScopedRepository = this.state.taskScopedRepository;\n const task = this.state.task;\n const project = this.props.projectContext?.state.model;\n const gitRef = snapshot.GitReference?.GitRef;\n if (!task?.IsCompleted || !this.isTaskSpaceScopedRepository(taskScopedRepository) || !this.isRunbookTask() || !this.isGitRunbookTask() || !gitRef || !project)\n return null;\n return (\n {\n await this.doBusyTask(async () => {\n const run = await taskScopedRepository.Runbooks.retryGitRunbook(project, this.props.match.params.runbookRunId);\n const redirectPath = links.projectRunbookRunDetailPage.generateUrl({\n spaceId: project.SpaceId,\n projectSlug: project.Slug,\n runbookId: run.Resource.RunbookId,\n runbookSnapshotId: run.Resource.RunbookSnapshotId,\n runbookRunId: run.Resource.Id,\n });\n this.setState({ redirectTo: redirectPath });\n });\n }}/>\n );\n }\n render() {\n const redirectTo = this.state.redirectTo;\n if (redirectTo) {\n return ;\n }\n const selectedElement = this.state.manuallyExpandedIds && this.state.manuallyExpandedIds.length > 0 ? undefined : getSelectedLogLine(this.props)?.elementUniqueId;\n const details = this.state.taskDetails;\n const task = this.state.task!;\n const canRender = task && details && !this.props.delayRender();\n const overflowMenu = this.getOverflowMenu(canRender!);\n let pageActions: PageAction[] = [];\n if (canRender) {\n const additionalActions = this.props.getAdditionalPageActions ? this.props.getAdditionalPageActions(task) : [];\n if (this.isTaskSpaceScopedAndCompleted() && this.canPublishRunbook()) {\n additionalActions.push({\n type: \"button\",\n label: \"Publish\",\n extraContext: \"Publishing makes the runbook available to consumers and triggers.\",\n buttonType: \"secondary\",\n onClick: this.props.publishRunbookDialogControls.openDialog,\n });\n }\n const cancelPageAction = this.getCancelPageAction();\n //the cancel button always comes after any additional actions\n if (cancelPageAction) {\n additionalActions.push(cancelPageAction);\n }\n pageActions = [this.getMoveToTopPageAction(), ...additionalActions].filter((x): x is PageAction => !!x);\n }\n let primaryPageAction: PrimaryPageAction | undefined;\n if (canRender) {\n if (this.props.getPrimaryPageAction?.(task)) {\n primaryPageAction = this.props.getPrimaryPageAction?.(task);\n }\n else if (this.isRunbookTask()) {\n const allowedToRunOnCurrentBranch = isAllowedToRunGitRunbook(this.props.projectContext?.state.model, this.state.snapshot.GitReference?.GitRef);\n if (task.IsCompleted && !task.FinishedSuccessfully) {\n if (this.isGitRunbookTask()) {\n primaryPageAction = {\n type: \"button\",\n label: \"Try Again...\",\n onClick: this.props.retryRunbookDialogControls.openDialog,\n hasPermissions: isAllowed({ permission: Permission.RunbookRunCreate, project: task.ProjectId!, environment: this.props.environmentId, wildcard: true }),\n disabled: !allowedToRunOnCurrentBranch,\n extraContext: allowedToRunOnCurrentBranch ? undefined : getPermissionDeniedTooltipText(this.state.snapshot.GitReference?.GitRef),\n };\n }\n else {\n const tryAgainLink = links.createRunbookRunForSnapshotPage.generateUrl({ spaceId: task.SpaceId!, projectSlug: task.ProjectId!, runbookId: this.state.runbook!.Id, runbookSnapshotId: this.state.snapshot.Id }, { previousRunbookRunId: this.props.match.params.runbookRunId });\n primaryPageAction = {\n type: \"navigate\",\n label: \"Try again...\",\n path: tryAgainLink,\n hasPermissions: isAllowed({ permission: Permission.RunbookRunCreate, project: task.ProjectId!, environment: this.props.environmentId, wildcard: true }),\n };\n }\n }\n }\n }\n const interruptionsCount = canRender && !task.IsCompleted && this.state.interruptions && this.state.interruptions.Items ? this.state.interruptions.Items.filter((i) => i.IsPending).length : 0;\n const summaryWarning = interruptionsCount > 0 ? `This task has interruption${interruptionsCount > 1 ? \"s\" : \"\"} preventing it from continuing` : null;\n return ( : undefined} titleChip={this.renderTitleChip()} breadcrumbsItems={this.state.breadcrumbsItems ?? this.props.defaultBreadcrumbItems} showBreadcrumbBackIcon={this.props.showBreadcrumbBackIcon} busy={this.state.busy} errors={this.errors} primaryAction={primaryPageAction} pageActions={pageActions} overflowActions={overflowMenu.menuItems} fullWidth={true}>\n {canRender && (<>\n {this.renderPublishSnapshotDialog()}\n {this.renderRetryRunbookRunDialog()}\n {overflowMenu.dialogs}\n {this.state.taskSpace && this.state.taskSpace.Id != client.spaceId && (\n You are viewing a task from Space: {this.state.taskSpace.Name}. Change to this Space.\n )}\n \n {this.renderDevTools()}\n \n \n \n \n \n \n \n this.fetchRange(element, start, end)} setVerbose={this.setVerbose} isFetchDisabled={this.state.isFetchDisabled} gitRef={this.state.gitRef} onExpandedIdsChanged={(expandedIds) => this.setState({ manuallyExpandedIds: expandedIds })}/>\n \n {!this.props.useNewKubernetesTab && this.state.stepsWithKubernetesActions.length > 0 && (\n \n \n )}\n this.props.dispatchAction(\"View History\", { action: Action.View, resource: \"Task\" })}>\n {task ? (<>\n \n \n ) : null}\n \n {this.state.changesMarkdown === null ? null : ( this.props.dispatchAction(\"View Changes\", { action: Action.View, resource: \"Task\" })}>\n \n \n )}\n {this.isDeploymentTask() ? ( this.props.dispatchAction(\"View Build Information\", { action: Action.View, resource: \"Task\" })}>\n {this.isTaskSpaceScopedRepository(this.state.taskScopedRepository) ? (<>\n \n \n ) : null}\n ) : null}\n {this.isRunbookTask() && this.props.projectContext && isRunbookSnapshotResource(this.state.snapshot) ? ( this.props.dispatchAction(\"View Details\", { action: Action.View, resource: \"Task\" })}>\n \n \n ) : null}\n {task!.Name === TaskName.AdHocScript && (\n \n \n )}\n\n {this.props.useNewKubernetesTab && this.state.stepsWithKubernetesActions.length > 0 && this.state.task && (\n \n this.setState({ kubernetesDetailsActiveView: view })}/>\n )}\n \n )}\n );\n }\n private doRefresh: Refresh = () => Promise.resolve();\n private getOverflowMenu = (canRender: boolean) => {\n return OverflowMenuConverterVNext.convertAll(canRender ? [this.renderEditStateButton(), this.renderTryAgainButton(), this.renderDeployToButton(), this.renderDeleteExecutionButton(), this.renderViewPreviousDeploymentsButton()] : []);\n };\n private loadArtifactsPromise = () => {\n return this.isTaskSpaceScopedRepository(this.state.taskScopedRepository) &&\n isAllowed({\n permission: Permission.ArtifactView,\n project: this.props.projectId,\n environment: this.props.environmentId,\n tenant: this.props.tenantId,\n }, this.state.task?.SpaceId ? { spaceId: this.state.task.SpaceId } : \"system\")\n ? this.state.taskScopedRepository.Artifacts.list({\n regarding: this.props.taskId,\n take: Repository.takeAll,\n order: \"asc\",\n }).then((r) => r.Items)\n : Promise.resolve([] as ArtifactResource[]);\n };\n private isTaskSpaceScopedRepository = (repository: OctopusSpaceRepository | OctopusSystemRepository | undefined): repository is OctopusSpaceRepository => {\n return repository !== undefined && \"Projects\" in repository;\n };\n static displayName = \"InternalTask\";\n}\nfunction Task(props: TaskComponentProps & RouteComponentProps) {\n const projectContext = useOptionalProjectContext();\n const dispatchAction = useAnalyticActionDispatch();\n const publishRunbookDialogControls = useDialogTrigger();\n const retryRunbookDialogControls = useDialogTrigger();\n const supportKOSForHelm = useKOSForHelm();\n const kubernetesManifestInspection = useKubernetesObjectManifestInspection();\n const activeTableQueryParam = optionalStringQueryParam(activeTabQueryStringParameterName);\n const [activeTabQueryParamValue, setActiveTabQueryParamValue] = useQueryStringParam(activeTableQueryParam);\n useLayoutEffect(() => {\n //if kubernetes manifest inspection is enabled, and a legacy URL is used that directs to the Kubernetes Object Status tab, redirect them to the new tab by changing the query param\n if (kubernetesManifestInspection && activeTabQueryParamValue === kubernetesObjectStatusTabQueryParamValue) {\n setActiveTabQueryParamValue(kubernetesTabQueryParamValue);\n }\n }, [kubernetesManifestInspection, activeTabQueryParamValue, setActiveTabQueryParamValue]);\n return ();\n}\nexport default withRouter(Task);\n","import type { SimpleMenuItem } from \"@octopusdeploy/design-system-components\";\nimport { links } from \"@octopusdeploy/portal-routes\";\nexport const getImportExportMenuItems = (spaceId: string): SimpleMenuItem[] => [\n {\n type: \"internal-link\",\n label: \"Import Projects\",\n path: links.importProjectsPage.generateUrl({ spaceId }),\n },\n {\n type: \"internal-link\",\n label: \"Export Projects\",\n path: links.exportProjectsPage.generateUrl({ spaceId }),\n },\n {\n type: \"internal-link\",\n label: \"View Import Export Tasks\",\n path: links.importExportProjectTasksPage.generateUrl({ spaceId }),\n },\n];\n","/* eslint-disable @typescript-eslint/no-non-null-assertion */\nimport type { SpaceResource } from \"@octopusdeploy/octopus-server-client\";\nimport { links } from \"@octopusdeploy/portal-routes\";\nimport * as React from \"react\";\nimport Task from \"~/areas/tasks/components/Task/Task\";\nimport { repository, session } from \"~/clientInstance\";\nimport DataBaseComponent from \"~/components/DataBaseComponent\";\nimport { PageContent } from \"~/components/PageContent/PageContent\";\nimport { getImportExportMenuItems } from \"./ImportExportMenu\";\ninterface ExportProjectTaskPageProps {\n spaceId: string;\n taskId: string;\n}\nexport class ExportProjectTaskPage extends DataBaseComponent {\n taskId: string;\n constructor(props: ExportProjectTaskPageProps) {\n super(props);\n this.taskId = this.props.taskId;\n this.state = {};\n }\n async componentDidMount() {\n await this.doBusyTask(async () => {\n const [space] = await Promise.all([repository.Spaces.get(repository.spaceId!)]);\n this.setState({\n space,\n });\n });\n }\n isSpaceManager(): boolean {\n return this.state.space !== undefined && session.currentPermissions!.isSpaceManager(this.state.space);\n }\n render() {\n return (\n {this.state.space !== undefined && this.isSpaceManager() && false}/>}\n );\n }\n static displayName = \"ExportProjectTaskPage\";\n}\n","import type { PrimaryPageAction } from \"@octopusdeploy/design-system-components\";\nimport type { ProjectSummaryResource, SensitiveValue, SpaceResource } from \"@octopusdeploy/octopus-server-client\";\nimport type { LinkHref } from \"@octopusdeploy/portal-routes\";\nimport { links } from \"@octopusdeploy/portal-routes\";\nimport * as React from \"react\";\nimport { getImportExportMenuItems } from \"~/areas/projects/components/ImportExport/ImportExportMenu\";\nimport { repository, session } from \"~/clientInstance\";\nimport ActionList from \"~/components/ActionList\";\nimport { projectChipList } from \"~/components/Chips/index\";\nimport type { DataBaseComponentState } from \"~/components/DataBaseComponent\";\nimport DataBaseComponent from \"~/components/DataBaseComponent\";\nimport { ProjectMultiSelect } from \"~/components/MultiSelect/ProjectMultiSelect\";\nimport InternalRedirect from \"~/components/Navigation/InternalRedirect\";\nimport { PageContent } from \"~/components/PageContent/PageContent\";\nimport type { SummaryNode } from \"~/components/form\";\nimport { FormSection, Note, Sensitive, Summary } from \"~/components/form\";\ninterface ExportProjectsState extends DataBaseComponentState {\n projects: ProjectSummaryResource[];\n space?: SpaceResource;\n includedProjectIds: string[];\n password: SensitiveValue;\n redirectPath?: LinkHref;\n}\ninterface ExportProjectsPageProps {\n spaceId: string;\n}\nexport class ExportProjectsPage extends DataBaseComponent {\n constructor(props: ExportProjectsPageProps) {\n super(props);\n this.state = {\n projects: [],\n includedProjectIds: [],\n password: { HasValue: false },\n };\n }\n async componentDidMount() {\n await this.doBusyTask(async () => {\n if (!repository.spaceId) {\n throw new Error(\"Attempted to render ImportExportTasks in a system context. This should never happen.\");\n }\n const [projects, space] = await Promise.all([repository.Projects.summaries(), repository.Spaces.get(repository.spaceId)]);\n this.setState({\n projects,\n space,\n });\n });\n }\n isSpaceManager(): boolean {\n if (!session.currentPermissions) {\n throw new Error(\"Attempted to access the current user's permissions, but they weren't found. This should never happen.\");\n }\n return this.state.space !== undefined && session.currentPermissions.isSpaceManager(this.state.space);\n }\n doExport = async () => await this.doBusyTask(async () => {\n const projectExportResource = await repository.ImportExport.export({ IncludedProjectIds: this.state.includedProjectIds, Password: this.state.password });\n this.setState({\n redirectPath: links.taskPage.generateUrl({ taskId: projectExportResource.TaskId }),\n });\n });\n projectsChanged = (includedProjectIds: string[]) => {\n if (!this.state.projects)\n return;\n this.setState({ includedProjectIds });\n };\n render() {\n if (this.state.redirectPath) {\n return ;\n }\n const isSpaceManager = this.isSpaceManager();\n const exportAction: PrimaryPageAction = {\n type: \"button\",\n label: \"Export\",\n onClick: this.doExport,\n disabled: this.state.busy || !this.state.password || !this.state.password.NewValue || this.state.password.NewValue === \"\" || this.state.includedProjectIds.length === 0,\n };\n const selectAllProjects = (event: React.MouseEvent) => {\n event.preventDefault();\n this.setState({ includedProjectIds: this.state.projects.map((x) => x.Id) });\n };\n const selectNoneProjects = (event: React.MouseEvent) => {\n event.preventDefault();\n this.setState({ includedProjectIds: [] });\n };\n return (\n {this.state.space && isSpaceManager && (<>\n \n this.projectsChanged(includedProjectIds)} value={this.state.includedProjectIds} items={this.state.projects} accessibleName=\"Projects\"/>\n \n \n Select all\n ,\n \n Select none\n ,\n ]}/>\n \n \n \n this.setState({ password })} disabled={this.state.includedProjectIds.length === 0 ? true : false}/>\n Keep this password safe. You will need this password when importing this export file.\n \n )}\n );\n }\n projectsSummary(): SummaryNode {\n return this.state.includedProjectIds && this.state.includedProjectIds.length ? Summary.summary(
    Export project(s) {projectChipList(this.state.projects, this.state.includedProjectIds)}
    ) : Summary.default(\"No projects selected\");\n }\n passwordSummary(): SummaryNode {\n return this.state.password && this.state.password.NewValue && this.state.password.NewValue !== \"\" ? Summary.summary(
    Password has been provided
    ) : Summary.default(\"No password has been set\");\n }\n static displayName = \"ExportProjectsPage\";\n}\n","import { Callout } from \"@octopusdeploy/design-system-components\";\nimport type { TaskSummaryResource } from \"@octopusdeploy/octopus-server-client\";\nimport { useState } from \"react\";\nimport * as React from \"react\";\nimport DeleteDialogLayout from \"~/components/Dialog/DeleteDialogLayout\";\ninterface CancelTaskDialogProps {\n task: TaskSummaryResource;\n cancelTask: (t: TaskSummaryResource) => Promise;\n}\nexport default function CancelTaskDialog({ task, cancelTask }: CancelTaskDialogProps) {\n // Keep initially given task in state unchanged to make sure that we are cancelling task user has selected.\n // Because task list is refreshed \"in the background\", it is possible that initially selected task and\n // the task when user clicks \"Yes\" are different.\n const [selectedTask] = useState(task);\n const cancel = async () => {\n await cancelTask(selectedTask);\n return true;\n };\n return ( cancel()} deleteButtonLabel=\"Yes\" deleteButtonBusyLabel=\"Cancelling...\" cancelButtonLabel=\"No\" renderContent={() => (<>\n \n

    Cancelling this task is permanent. There is no going back.

    \n

    Do you wish to continue?

    \n )}/>);\n}\n","import { Snackbar } from \"@octopusdeploy/design-system-components\";\nimport React from \"react\";\nexport default function TaskQueueUpdatedSnackbar({ open, text, onClose }: {\n open: boolean;\n text: string;\n onClose: () => void;\n}) {\n return ;\n}\n","import { css } from \"@emotion/css\";\nimport { ActionButton, ActionButtonType, ScrollArea } from \"@octopusdeploy/design-system-components\";\nimport { space, themeTokens } from \"@octopusdeploy/design-system-tokens\";\nimport type { InterruptionResource, FormParagraphControl, TaskSummaryResource } from \"@octopusdeploy/octopus-server-client\";\nimport { links } from \"@octopusdeploy/portal-routes\";\nimport { useCallback, useEffect } from \"react\";\nimport * as React from \"react\";\nimport TaskStatusIcon from \"~/areas/projects/components/TaskStatusIcon/index\";\nimport { repository } from \"~/clientInstance\";\nimport type { Refresh } from \"~/components/DataBaseComponent/DataBaseComponent\";\nimport type { DoBusyTask } from \"~/components/DataBaseComponent/index\";\nimport { useDoBusyTaskEffect } from \"~/components/DataBaseComponent/index\";\nimport ConfirmationDialog from \"~/components/Dialog/ConfirmationDialog\";\nimport Dialog from \"~/components/Dialog/Dialog\";\nimport OpenDialogButton from \"~/components/Dialog/OpenDialogButton\";\nimport { DialogLayout } from \"~/components/DialogLayout/DialogLayout\";\nimport InternalLink from \"~/components/Navigation/InternalLink/index\";\nimport TaskDetails from \"~/components/TaskDetails/TaskDetails\";\nimport Text from \"~/primitiveComponents/form/Text/Text\";\nimport Markdown from \"../Markdown\";\ninterface AssignTaskCellProps {\n doBusyTask: DoBusyTask;\n doRefresh: Refresh;\n task: TaskSummaryResource;\n}\nconst getInstructions = (interruption: InterruptionResource) => {\n const paragraphElement = interruption.Form.Elements.find((e) => e.Control.Type === \"Paragraph\");\n if (!paragraphElement) {\n return \"\";\n }\n // The following conversion is safe as there's a check for paragraph control type above\n // eslint-disable-next-line @typescript-eslint/consistent-type-assertions\n const paragraphControl = paragraphElement.Control as FormParagraphControl;\n return paragraphControl.Text;\n};\nexport function AssignTaskCell({ task, doBusyTask, doRefresh }: AssignTaskCellProps) {\n const [interruption, setInterruption] = React.useState();\n const [hasResponsibility, setHasResponsibility] = React.useState(false);\n const [note, setNote] = React.useState(\"\");\n const [assignedUser, setAssignedUser] = React.useState(\"\");\n const getAssignedUser = useCallback(() => {\n if (hasResponsibility)\n return \"You\";\n if (task.InterruptionSummaries[0].ResponsibleUser && task.InterruptionSummaries[0].ResponsibleUser.length > 0)\n return task.InterruptionSummaries[0].ResponsibleUser;\n return \"No one\";\n }, [hasResponsibility, task.InterruptionSummaries]);\n useDoBusyTaskEffect(doBusyTask, async () => {\n if (task.InterruptionSummaries.length === 1 && task.InterruptionSummaries[0].InterruptionId && task.InterruptionSummaries[0].InterruptionId.length > 0) {\n const interruption = await repository.Interruptions.get(task.InterruptionSummaries[0].InterruptionId);\n setInterruption(interruption);\n setHasResponsibility(interruption.HasResponsibility);\n }\n }, []);\n useEffect(() => setAssignedUser(getAssignedUser()), [getAssignedUser, hasResponsibility]);\n const instructions = interruption ? getInstructions(interruption) : \"\";\n const interventionDialogHeader = () => (
    \n \n Manual approval required\n
    );\n const handleSubmit = async (result: string, closeDialog: () => void) => {\n const values = { Notes: note, Instructions: null, Result: result };\n interruption && (await repository.Interruptions.submit(interruption, values));\n closeDialog();\n await doRefresh();\n };\n function ApprovalInstructions(instructions: string) {\n const styles = {\n container: css({\n display: \"flex\",\n flexDirection: \"column\",\n maxHeight: \"400px\",\n marginBottom: space[8],\n }),\n title: css({\n fontSize: \"1rem\",\n color: themeTokens.color.text.primary,\n marginBottom: space[8],\n }),\n };\n return (
    \n

    Instructions

    \n \n \n \n
    );\n }\n const interventionDialogActions = (closeDialog: () => void) => {\n const proceedAction = handleSubmit(\"Proceed\", closeDialog)}>;\n const abortAction = ( ( handleSubmit(\"Abort\", closeDialog)} onClose={closeDialog}>\n Are you sure you want to abort?\n )}>);\n const cancelAction = ;\n return [cancelAction, abortAction, proceedAction];\n };\n const handleAssignToMe = async (e: React.MouseEvent) => {\n e.stopPropagation();\n if (interruption && interruption.CanTakeResponsibility && !hasResponsibility) {\n await repository.Interruptions.takeResponsibility(interruption);\n setHasResponsibility(true);\n }\n };\n const renderActionButton = () => {\n const actionButtonLabel = hasResponsibility ? \"REVIEW\" : \"ASSIGN TO ME\";\n return ( handleAssignToMe(e)}>\n (\n \n
    \n \n
    \n {ApprovalInstructions(instructions)}\n \n Open Task\n \n\n \n
    \n
    )}>
    \n
    );\n };\n const renderSingleApprovalCell = () => (
    \n
    \n Assigned to:\n {assignedUser}\n
    \n {interruption?.CanTakeResponsibility ? renderActionButton() : <>}\n
    );\n const renderMultipleApprovalCell = () => (
    \n
    Awaiting {task.InterruptionSummaries.length} approvals
    \n
    );\n const approvalCell = () => {\n if (interruption)\n return renderSingleApprovalCell();\n if (task.InterruptionSummaries.length > 1)\n return renderMultipleApprovalCell();\n return <>;\n };\n return approvalCell();\n}\nconst styles = {\n assignTaskCell: css({\n display: \"flex\",\n justifyContent: \"space-between\",\n }),\n assignTaskCellText: css({\n paddingRight: space[12],\n }),\n interventionDialog: css({\n padding: space[16],\n }),\n interventionDialogHeader: css({\n fontSize: space[24],\n }),\n interventionDialogHeaderIcon: css({\n height: \"2.2rem\",\n width: \"2.2rem\",\n }),\n interventionDialogHeaderText: css({\n paddingLeft: space[12],\n }),\n interventionDialogTaskDetails: css({\n marginBottom: space[16],\n }),\n};\n","/* eslint-disable @typescript-eslint/no-non-null-assertion */\n/* eslint-disable @typescript-eslint/no-explicit-any */\n/* eslint-disable @typescript-eslint/consistent-type-assertions */\nimport { css, cx } from \"@emotion/css\";\nimport type { TooltipProps } from \"@octopusdeploy/design-system-components\";\nimport { Callout, CircularProgress, DatePicker, Tooltip } from \"@octopusdeploy/design-system-components\";\nimport { fontWeight, space, text, themeTokens } from \"@octopusdeploy/design-system-tokens\";\nimport { logger } from \"@octopusdeploy/logging\";\nimport { HasRunbooksInGit, isTaskListTab, Permission, Repository, TaskListTab, TaskState } from \"@octopusdeploy/octopus-server-client\";\nimport type { EnvironmentResource, OctopusServerNodeResource, ProjectResource, ResourceCollection, RunbookResource, SpaceResource, TaskListBffArgs, TaskResource, TaskTypeResource, TenantResource, TaskSummaryResource, TaskSummaryResourceCollection, } from \"@octopusdeploy/octopus-server-client\";\nimport type { TaskDateFilterType, TaskFilterState } from \"@octopusdeploy/portal-routes\";\nimport { links, TaskDateFilterTypeValues, TaskFilterStateValues } from \"@octopusdeploy/portal-routes\";\nimport { orderBy } from \"lodash\";\nimport moment from \"moment\";\nimport pluralize from \"pluralize\";\nimport * as React from \"react\";\nimport type { AnalyticActionDispatcher, AnalyticViewTaskStateTabDispatcher } from \"~/analytics/Analytics\";\nimport { Action, useAnalyticActionDispatch, useAnalyticViewTaskStateTabDispatch } from \"~/analytics/Analytics\";\nimport { formatTimeDifference } from \"~/areas/projects/components/Releases/Deployments/NowOrLater/formatTimeDifference\";\nimport CancelTaskDialog from \"~/areas/tasks/components/Tasks/CancelTaskDialog\";\nimport TaskQueueUpdatedSnackbar from \"~/areas/tasks/components/Tasks/TaskQueueUpdatedSnackbar\";\nimport { client, repository, session } from \"~/clientInstance\";\nimport AdvancedFilterLayout, { AdvancedFilterCheckbox } from \"~/components/AdvancedFilterLayout\";\nimport { RegardingDocuments } from \"~/components/AdvancedFilterLayout/RegardingDocuments\";\nimport type { DataBaseComponentState, DoBusyTask, Refresh } from \"~/components/DataBaseComponent/DataBaseComponent\";\nimport { DataBaseComponent } from \"~/components/DataBaseComponent/DataBaseComponent\";\nimport type { Errors } from \"~/components/DataBaseComponent/Errors\";\nimport { Feature, FeatureToggle } from \"~/components/FeatureToggle\";\nimport { isFeatureToggleEnabled } from \"~/components/FeatureToggle/New/FeatureToggleContext\";\nimport { SpaceMultiSelect } from \"~/components/MultiSelect/SpaceMultiSelect\";\nimport InternalLink from \"~/components/Navigation/InternalLink/InternalLink\";\nimport { OverflowMenu, OverflowMenuItems } from \"~/components/OverflowMenu/OverflowMenu\";\nimport { PagingDataTable } from \"~/components/PagingDataTable/PagingDataTable\";\nimport PermissionCheck, { hasPermission, isAllowed } from \"~/components/PermissionCheck/PermissionCheck\";\nimport type { IQuery } from \"~/components/QueryStringFilters/QueryStringFilters\";\nimport { QueryStringFilters } from \"~/components/QueryStringFilters/QueryStringFilters\";\nimport { AssignTaskCell } from \"~/components/TaskDetails/AssignTaskCell\";\nimport TaskDetails from \"~/components/TaskDetails/TaskDetails\";\nimport EnvironmentSelect from \"~/components/form/EnvironmentSelect/EnvironmentSelect\";\nimport type { Item } from \"~/primitiveComponents/form/Select/Select\";\nimport Select from \"~/primitiveComponents/form/Select/Select\";\nimport { ControlledTabsContainer, TabItem } from \"~/primitiveComponents/navigation/Tabs/index\";\nimport DateFormatter from \"~/utils/DateFormatter\";\nimport { timeOperation, timeOperationOptions } from \"~/utils/OperationTimer/timeOperation\";\nimport { arrayValueFromQueryString } from \"~/utils/ParseHelper/ParseHelper\";\nexport interface Filter {\n ids?: string[];\n state?: TaskFilterState;\n project?: string;\n runbook?: string;\n environment?: string;\n name?: string;\n node?: string;\n tenant?: string;\n spaces: string[];\n includeSystem: boolean;\n hasPendingInterruptions?: boolean | null;\n hasWarningsOrErrors?: boolean;\n dateFilterType?: TaskDateFilterType;\n fromDate?: Date;\n toDate?: Date;\n activeTab?: TaskListTab;\n batch?: string;\n}\nexport interface TasksQuery extends IQuery {\n serverNode?: string;\n state?: TaskFilterState;\n ids?: string[];\n project?: string;\n runbook?: string;\n environment?: string;\n name?: string;\n tenant?: string;\n spaces?: string[];\n hasPendingInterruptions?: string;\n includeSystem?: string;\n hasWarningsOrErrors?: string;\n dateFilterType?: TaskDateFilterType;\n fromDate?: string;\n toDate?: string;\n activeTab?: TaskListTab;\n batch?: string;\n}\ninterface SnackbarState {\n show: boolean;\n text: string;\n}\ninterface TasksState extends DataBaseComponentState {\n tasks?: TaskSummaryResourceCollection;\n projects: {\n Id: string;\n Name: string;\n }[];\n runbooks: {\n Id: string;\n Name: string;\n ProjectId: string;\n }[];\n environments: EnvironmentResource[];\n nodes: OctopusServerNodeResource[];\n tenants: TenantResource[];\n spaces: SpaceResource[];\n taskTypes: TaskTypeResource[];\n currentPageIndex: number; // We manage our own paging due to automatic refresh / timers.\n filter: Filter;\n hasLoadedOnce?: boolean;\n snackbar: SnackbarState;\n running: number | null;\n waiting: number | null;\n needsApproval: number | null;\n totalCountsInOtherSpaces: {\n [state: string]: number;\n };\n}\nclass TaskResourceDataTable extends PagingDataTable {\n}\nclass FilterLayout extends AdvancedFilterLayout {\n}\nfunction getTaskStatesFromFilterState(taskFilterState?: TaskFilterState) {\n switch (taskFilterState) {\n case TaskFilterStateValues.Incomplete:\n return [TaskState.Queued, TaskState.Executing, TaskState.Cancelling].join(\",\");\n case TaskFilterStateValues.Completed:\n return [TaskState.Canceled, TaskState.Success, TaskState.Failed, TaskState.TimedOut].join(\",\");\n case TaskFilterStateValues.Unsuccessful:\n return [TaskState.Canceled, TaskState.Failed, TaskState.TimedOut].join(\",\");\n case TaskFilterStateValues.Queued:\n return TaskState.Queued;\n case TaskFilterStateValues.Executing:\n return TaskState.Executing;\n case TaskFilterStateValues.Cancelling:\n return TaskState.Cancelling;\n case TaskFilterStateValues.Success:\n return TaskState.Success;\n case TaskFilterStateValues.Canceled:\n return TaskState.Canceled;\n case TaskFilterStateValues.TimedOut:\n return TaskState.TimedOut;\n case TaskFilterStateValues.Failed:\n return TaskState.Failed;\n case TaskFilterStateValues.Running:\n return [TaskState.Executing, TaskState.Cancelling].join(\",\");\n default:\n return undefined;\n }\n}\nfunction getTaskFilter(query: TasksQuery): Filter {\n return {\n node: query.serverNode,\n state: query.state,\n ids: arrayValueFromQueryString(query.ids),\n hasPendingInterruptions: query.hasPendingInterruptions === \"true\",\n hasWarningsOrErrors: query.hasWarningsOrErrors === \"true\",\n environment: query.environment,\n project: query.project,\n runbook: query.runbook,\n tenant: query.tenant,\n spaces: arrayValueFromQueryString(query.spaces),\n name: query.name,\n includeSystem: query.includeSystem === \"true\",\n dateFilterType: query.dateFilterType,\n fromDate: query.fromDate ? moment(query.fromDate).toDate() : moment().subtract(1, \"month\").startOf(\"day\").toDate(),\n toDate: query.toDate ? moment(query.toDate).toDate() : moment().endOf(\"day\").toDate(),\n activeTab: query.activeTab,\n batch: query.batch,\n };\n}\nexport function getTaskQuery(filter: Filter): TasksQuery {\n return {\n serverNode: filter.node,\n state: filter.state,\n ids: filter.ids,\n environment: filter.environment,\n hasPendingInterruptions: filter.hasPendingInterruptions ? \"true\" : undefined,\n hasWarningsOrErrors: filter.hasWarningsOrErrors ? \"true\" : undefined,\n name: filter.name,\n project: filter.project,\n runbook: filter.runbook,\n tenant: filter.tenant,\n dateFilterType: filter.dateFilterType,\n fromDate: filter.dateFilterType && filter.fromDate ? moment(filter.fromDate).format() : undefined,\n toDate: filter.dateFilterType && filter.toDate ? moment(filter.toDate).format() : undefined,\n ...(filter.spaces.length !== 0 ? { spaces: filter.spaces } : {}),\n ...(filter.includeSystem ? { includeSystem: \"true\" } : {}),\n activeTab: filter.activeTab,\n batch: filter.batch,\n };\n}\nconst TasksQueryStringFilters = QueryStringFilters.For();\nexport interface TasksLayoutRenderProps {\n busy: Promise;\n doBusyTask: DoBusyTask;\n hasLoadedOnce: boolean;\n errors: Errors;\n children: React.ReactNode;\n}\nexport interface TaskCellRenderProps {\n task: TaskSummaryResource;\n}\nexport interface TasksProps {\n restrictToProjectId?: string;\n restrictToRunbookId?: string;\n restrictToTenantId?: string;\n restrictToTaskTypes?: string[];\n hideAdvancedFilters?: boolean;\n renderLayout: (props: TasksLayoutRenderProps) => React.ReactElement;\n renderCell?: (props: TaskCellRenderProps) => React.ReactElement;\n onNewItems?(items: any[]): Promise;\n disableRunbookFilter?: boolean;\n}\ninterface TasksInnerProps extends TasksProps {\n dispatchAction: AnalyticActionDispatcher;\n dispatchTabSwitchingAction: AnalyticViewTaskStateTabDispatcher;\n}\nclass TasksInner extends DataBaseComponent {\n private isRestrictedView = false;\n private timeLastRefereshTookInMilliseconds = 0;\n constructor(props: TasksInnerProps) {\n super(props);\n this.isRestrictedView = this.isRestrictedDocumentView();\n this.state = {\n currentPageIndex: 0,\n filter: createDefaultTaskFilter(this.props.restrictToTaskTypes),\n environments: [],\n nodes: [],\n projects: [],\n runbooks: [],\n tenants: [],\n taskTypes: [],\n spaces: [],\n snackbar: { show: false, text: \"\" },\n running: null,\n waiting: null,\n needsApproval: null,\n totalCountsInOtherSpaces: {},\n };\n }\n componentDidMount() {\n return this.doBusyTask(async () => {\n let restrictedToProject: ProjectResource | null = null;\n if (this.props.restrictToProjectId && hasPermission(Permission.ProjectView)) {\n restrictedToProject = await repository.Projects.get(this.props.restrictToProjectId);\n }\n let getProjects = Promise.resolve([] as {\n Id: string;\n Name: string;\n }[]);\n if (hasPermission(Permission.ProjectView)) {\n if (this.props.restrictToProjectId) {\n getProjects = Promise.resolve([restrictedToProject!]);\n }\n else {\n getProjects = repository.Projects.summaries();\n }\n }\n const gitRunbooksProject = restrictedToProject?.PersistenceSettings ? HasRunbooksInGit(restrictedToProject.PersistenceSettings) : false;\n let getRunbooks = Promise.resolve([] as RunbookResource[]);\n if (hasPermission(Permission.RunbookView)) {\n if (this.props.restrictToRunbookId) {\n getRunbooks = !gitRunbooksProject ? Promise.resolve([await repository.Runbooks.get(this.props.restrictToRunbookId)]) : Promise.resolve([]);\n }\n else {\n if (!!restrictedToProject) {\n const projectRunbooks = !gitRunbooksProject ? await repository.Runbooks.getRunbooks(restrictedToProject, undefined, { take: Repository.takeAll }) : { Items: [] as RunbookResource[] };\n getRunbooks = Promise.resolve(projectRunbooks.Items);\n }\n else {\n getRunbooks = repository.Runbooks.all();\n }\n }\n }\n const getEnvironments = hasPermission(Permission.EnvironmentView) ? repository.Environments.all() : Promise.resolve([] as EnvironmentResource[]);\n const getNodes = repository.OctopusServerNodes.all();\n const getTenants = !this.props.restrictToTenantId && isAllowed({ permission: Permission.TenantView, tenant: \"*\" }) ? repository.Tenants.all() : Promise.resolve([]);\n const getTaskTypes = repository.Tasks.taskTypes();\n const spaces = await repository.Users.getSpaces(session.currentUser!);\n const runbooks = await getRunbooks;\n const sortedRunbooks = orderBy(runbooks, [(x) => x.ProjectId], \"asc\");\n this.setState({\n projects: await getProjects,\n runbooks: sortedRunbooks,\n environments: await getEnvironments,\n nodes: await getNodes,\n tenants: await getTenants,\n spaces: spaces,\n taskTypes: await getTaskTypes,\n });\n this.doRefresh = await this.startRefreshLoop(() => this.searchInternal(this.state.filter, this.state.currentPageIndex), this.getRefreshInterval, false, timeOperationOptions.forRefresh());\n }, { timeOperationOptions: timeOperationOptions.forInitialLoad() });\n }\n getRefreshInterval = (hidden: boolean) => {\n if (this.timeLastRefereshTookInMilliseconds > 750) {\n // Delay is 5 seconds if it took 0.75s and then linearly up to 60 seconds if it took 90s or more\n const delay = Math.min(this.timeLastRefereshTookInMilliseconds * (20 / 3), 60 * 1000);\n // If hidden, 4 times as long, but no more than 2 minutes\n return hidden ? Math.min(delay * 4, 120 * 1000) : delay;\n }\n return hidden ? 20000 : 5000;\n };\n isRestrictedDocumentView(): boolean {\n return !!this.props.restrictToProjectId || !!this.props.restrictToRunbookId || !!this.props.restrictToTenantId || !!this.props.restrictToTaskTypes;\n }\n search(filter: Filter) {\n this.setState({ filter, hasLoadedOnce: false, currentPageIndex: 0 }, async () => this.doRefresh());\n }\n switchTab(filter: Filter) {\n this.props.dispatchTabSwitchingAction(\"View Task State Tab\", { resource: \"Task\", selectedTab: filter.activeTab, action: Action.View });\n this.setState({ filter, hasLoadedOnce: false, currentPageIndex: 0, tasks: undefined }, async () => this.doRefresh());\n }\n composeDateFilter() {\n const { filter: { dateFilterType, fromDate, toDate }, } = this.state;\n // We add one second to 'toDate' because moment considers the end of day to be 11:59:59.\n // We convert it to UTC because that's how we store dates in the backend.\n switch (dateFilterType) {\n case TaskDateFilterTypeValues.CompletedTime:\n return {\n fromCompletedDate: moment.utc(fromDate).format(),\n toCompletedDate: moment.utc(toDate).add(1, \"second\").format(),\n };\n case TaskDateFilterTypeValues.QueueTime:\n return {\n fromQueueDate: moment.utc(fromDate).format(),\n toQueueDate: moment.utc(toDate).add(1, \"second\").format(),\n };\n case TaskDateFilterTypeValues.StartTime:\n return {\n fromStartDate: moment.utc(fromDate).format(),\n toStartDate: moment.utc(toDate).add(1, \"second\").format(),\n };\n default:\n return {};\n }\n }\n async searchInternal(filter: Filter, currentPageIndex: number) {\n this.setState({ currentPageIndex });\n const startTime = moment();\n const searchFilter: TaskListBffArgs = {\n activeTab: filter.activeTab,\n states: getTaskStatesFromFilterState(filter.state),\n project: this.props.restrictToProjectId ? this.props.restrictToProjectId! : filter.project!,\n runbook: this.props.restrictToRunbookId ? this.props.restrictToRunbookId! : filter.runbook!,\n environment: filter.environment,\n name: filter.name,\n node: filter.node,\n tenant: this.props.restrictToTenantId ? this.props.restrictToTenantId : filter.tenant,\n spaces: getSpacesFilter(),\n skip: this.state.tasks ? currentPageIndex * this.state.tasks.ItemsPerPage : 0,\n ids: filter.ids && filter.ids.length ? filter.ids.join(\",\") : undefined!,\n hasPendingInterruptions: filter.hasPendingInterruptions ? true : undefined!,\n includeSystem: filter.includeSystem,\n hasWarningsOrErrors: filter.hasWarningsOrErrors ? true : undefined!,\n batch: filter.batch,\n ...this.composeDateFilter(),\n };\n const useOptimization = isFeatureToggleEnabled(\"PermissionCheckOptimizationFeatureToggle\");\n const result = await timeOperation(timeOperationOptions.forRefresh(), async () => {\n const statisticsPromise = repository.Tasks.getStatistics({ ...searchFilter });\n const tasksListPromise = useOptimization ? repository.Tasks.getUnpaginatedTasks(searchFilter).then((res) => mapToSummary(res)) : repository.Tasks.getBffList(searchFilter);\n return {\n tasks: await tasksListPromise,\n statistics: await statisticsPromise,\n };\n });\n this.timeLastRefereshTookInMilliseconds = moment().diff(startTime, \"milliseconds\");\n if (this.props.onNewItems) {\n await this.props.onNewItems(result.tasks.Items);\n }\n return {\n tasks: result.tasks,\n hasLoadedOnce: true,\n running: result.statistics.Running,\n waiting: result.statistics.Waiting,\n needsApproval: result.statistics.NeedsApproval,\n totalCountsInOtherSpaces: result.statistics.TotalCountsInOtherSpaces,\n };\n function getSpacesFilter() {\n const hasTaskViewInAnySpace = session!.currentPermissions!.hasPermissionInAnyScope(Permission.TaskView);\n if (filter.spaces.length === 0) {\n if (hasTaskViewInAnySpace) {\n return [\"all\"];\n }\n else {\n return [];\n }\n }\n return filter.spaces;\n }\n }\n restrictedViewMode() {\n return !!this.props.restrictToProjectId || !!this.props.restrictToRunbookId || !!this.props.restrictToTenantId;\n }\n getProjectName() {\n const project = this.state.projects.find(({ Id }) => Id === this.props.restrictToProjectId);\n return project?.Name;\n }\n render() {\n return (<>\n this.search(filter)} getFilter={getTaskFilter} getQuery={getTaskQuery}/>\n {this.renderTable()}\n this.setState({ snackbar: { show: false, text: \"\" } })}/>\n );\n }\n private renderTable() {\n const { tasks, running, waiting, needsApproval, totalCountsInOtherSpaces } = this.state;\n let tableContent: React.ReactNode = <>;\n if (tasks) {\n if (this.state.filter.activeTab === TaskListTab.NeedsApproval) {\n tableContent = ();\n }\n else if (this.state.filter.activeTab === TaskListTab.Waiting) {\n const columns = [\"State\", \"Task\", \"Queued Time\", \"Start Time\"];\n tableContent = ;\n }\n else {\n tableContent = ();\n }\n }\n else {\n tableContent = ;\n }\n const tableWithFilterLayout = this.props.hideAdvancedFilters ? (tableContent) : ( ({ value: t, text: t })))]} onFilterReset={(resetFilter) => {\n this.search(resetFilter);\n }} filterSections={this.filterSections()} renderContent={() => tableContent}/>);\n const runningLabel = running === null ? TaskListTab.Running : `${TaskListTab.Running} (${running})`;\n const waitingLabel = waiting === null ? TaskListTab.Waiting : `${TaskListTab.Waiting} (${waiting})`;\n const needsApprovalLabel = needsApproval === null ? TaskListTab.NeedsApproval : `${TaskListTab.NeedsApproval} (${needsApproval})`;\n return this.renderWithLayout( this.switchTab({ ...this.state.filter, activeTab: isTaskListTab(value) ? value : undefined })} value={this.state.filter.activeTab ?? TaskListTab.All}>\n \n {}\n {tableWithFilterLayout}\n \n \n {}\n {tableWithFilterLayout}\n \n \n {}\n {tableWithFilterLayout}\n \n \n {}\n {tableWithFilterLayout}\n \n \n {}\n {tableWithFilterLayout}\n \n );\n }\n private stateFilter(items: Item[]) {\n return (
    \n this.search({ ...this.state.filter, name })} items={this.state.taskTypes.map((t) => ({ value: t.Id, text: t.Name }))} allowClear={true} fieldName=\"task type\" placeholder=\"All task types\" label=\"By task type\"/>\n {!this.restrictedViewMode() && ( this.search({ ...this.state.filter, dateFilterType: dateFilterType as TaskDateFilterType })} items={Object.values(TaskDateFilterTypeValues).map((v) => ({ value: v, text: v }))} allowClear={true} fieldName=\"date filter type\" placeholder=\"Select a date field\" label=\"By date\"/>\n {this.state.filter.dateFilterType && (<>\n
    \n this.search({ ...this.state.filter, fromDate })} label=\"From\" error={fromError} format={datePickerFormat} variant={\"inline\"}/>\n
    \n
    \n this.search({ ...this.state.filter, toDate: moment(toDate).endOf(\"day\").toDate() })} label=\"To\" error={toError} format={datePickerFormat} variant={\"inline\"}/>\n
    \n )}\n );\n };\n private renderSpaceSpecificSelectors = () => {\n // These are linked to access in the current space, because that's where the data will come from\n // we need to revisit how these will work going forward to make the filtering easier to do cross-space\n const isWithinASpace = client.spaceId;\n return (isWithinASpace && (<>\n {!this.props.restrictToProjectId && (\n this.search({ ...this.state.filter, runbook })} items={this.state.runbooks.map((r) => {\n const defaultSelectItem = {\n value: r.Id,\n text: r.Name,\n };\n if (!!this.props.restrictToProjectId || !!this.props.restrictToRunbookId) {\n return defaultSelectItem;\n }\n const runbookProject = this.state.projects.find((p) => p.Id === r.ProjectId);\n if (!runbookProject) {\n logger.error(\"Failed to find project for runbook. This should not happen.\");\n return defaultSelectItem;\n }\n return {\n value: r.Id,\n text: `${runbookProject.Name} - ${r.Name}`,\n };\n })} allowClear={true} allowFilter={true} fieldName=\"runbook\" placeholder=\"All runbooks\" disabled={this.props.disableRunbookFilter}/>\n \n )}\n \n this.search({ ...this.state.filter, environment })} environments={this.state.environments} allowClear={true} allowFilter={true} fieldName=\"environment\" placeholder=\"All environments\"/>\n \n {!this.props.restrictToTenantId && (\n \n ({ value: f.Id, text: f.Name }))} onChange={(importFromTaskInSpaceId) => this.spaceChanged(importFromTaskInSpaceId)} disabled={this.state.spaces.length === 0 ? true : false}/>\n setFilter({ ...filter, namespace })} items={namespaceSelectOptions} allowClear={true} placeholder=\"By namespace\"/>\n setFilter({ ...filter, showNamespacedResources })}/>\n setFilter({ ...filter, showClusterResources })}/>\n setFilter({ ...filter, status })}/>\n
    );\n}\nexport const defaultFilter: LiveObjectStatusFilter = {\n kind: [],\n status: [],\n namespace: \"\",\n name: \"\",\n showNamespacedResources: true,\n showClusterResources: true,\n};\n","import { css, cx } from \"@emotion/css\";\nimport { IconButton } from \"@octopusdeploy/design-system-components\";\nimport { text, themeTokens, space } from \"@octopusdeploy/design-system-tokens\";\nimport type { NamedResource, KubernetesLiveResourceStatusCode, KubernetesLiveStatusResourceObject, KubernetesMachineLiveStatusResource, KubernetesLiveApplicationStatusCode } from \"@octopusdeploy/octopus-server-client\";\nimport { links } from \"@octopusdeploy/portal-routes\";\nimport { keyBy } from \"lodash\";\nimport * as React from \"react\";\nimport { K8sResourceIcon } from \"~/areas/projects/components/Observability/KubernetesResources\";\nimport { getLiveResourceStatusIcon, getLiveMachineStatusIcon } from \"~/areas/projects/components/Observability/LiveStatusIcons\";\nimport InternalLink from \"~/components/Navigation/InternalLink\";\nimport { DataTable, DataTableBody, DataTableHeader, DataTableRow, DataTableRowColumn } from \"~/primitiveComponents/dataDisplay/DataTable/index\";\ntype OnResourceSelected = (resource: KubernetesLiveStatusResourceObject) => void;\ntype LiveStatusTableProps = {\n spaceId: string;\n deploymentTargets: NamedResource[];\n machineLiveStatusResources: KubernetesMachineLiveStatusResource[];\n resourceSelected: OnResourceSelected;\n};\nexport function LiveStatusTable({ spaceId, deploymentTargets, machineLiveStatusResources, resourceSelected }: LiveStatusTableProps) {\n const machineIndexedKubernetesObjects = keyBy(machineLiveStatusResources, (r) => r.MachineId);\n const machineIndexedDeploymentTargets = keyBy(deploymentTargets, (r) => r.Id);\n return (\n \n \n \n \n \n \n \n \n \n \n {Object.keys(machineIndexedKubernetesObjects).map((machineId) => ())}\n \n );\n}\nfunction HeaderCell(props: {\n text: string;\n}) {\n return (\n

    {props.text}

    \n
    );\n}\ntype MachineAndChildrenProps = {\n spaceId: string;\n target: {\n Name: string;\n Id: string;\n };\n machineResources: KubernetesMachineLiveStatusResource;\n startExpanded: boolean;\n resourceSelected: OnResourceSelected;\n};\nfunction MachineAndChildren({ spaceId, target, machineResources, startExpanded, resourceSelected }: MachineAndChildrenProps) {\n const [open, setOpen] = React.useState(startExpanded);\n const linkToMachine = links.deploymentTargetSettingsPage.generateUrl({ spaceId: spaceId, machineId: target.Id });\n // Hide empty targets\n if (machineResources.Resources.length === 0) {\n return <>;\n }\n return (<>\n \n \n
    \n 0} isOpen={open} onClick={() => setOpen(!open)}/>\n \n {target.Name}\n \n
    \n
    \n \n
    \n \n

    \n {machineResources.Status}\n

    \n
    \n
    \n
    \n {open && machineResources && machineResources.Resources.map((resource, index) => )}\n );\n}\nfunction Row({ indentLevel, rowKey, resource, resourceSelected }: {\n indentLevel: number;\n rowKey: string;\n resource: KubernetesLiveStatusResourceObject;\n resourceSelected: OnResourceSelected;\n}) {\n const [open, setOpen] = React.useState(false);\n return (<>\n \n \n setOpen(!open)} resourceSelected={resourceSelected}/>\n \n \n \n \n \n
    \n \n

    \n {resource.Status}\n

    \n
    \n
    \n
    \n {open && resource.Children.map((resource, index) => )}\n );\n}\nfunction TextCell({ text }: {\n text: string;\n}) {\n return (\n

    {text}

    \n
    );\n}\nfunction NameAndSymbols({ indentLevel, isOpen, onClick, resource, resourceSelected }: {\n resource: KubernetesLiveStatusResourceObject;\n indentLevel: number;\n isOpen: boolean;\n onClick: () => void;\n resourceSelected: OnResourceSelected;\n}) {\n const pixelsPerIndent = 40;\n const indent = pixelsPerIndent * indentLevel;\n const hasChildNodes = resource.Children.length > 0;\n return ();\n}\nfunction CollapseIconOrSpacer({ name, isOpen, onClick, showCollapse }: {\n name: string;\n showCollapse: boolean;\n isOpen: boolean;\n onClick: () => void;\n}) {\n const iconHeight = 24;\n const iconWidth = 48;\n if (showCollapse) {\n return (
    \n \n
    );\n }\n else {\n return
    ;\n }\n}\nfunction ResourceStatusIcon({ status }: {\n status: KubernetesLiveResourceStatusCode;\n}) {\n return getLiveResourceStatusIcon(status);\n}\nfunction MachineStatusIcon({ status }: {\n status: KubernetesLiveApplicationStatusCode;\n}) {\n return getLiveMachineStatusIcon(status);\n}\nconst styles = {\n machineRow: css({\n background: themeTokens.color.background.secondary.default,\n }),\n machineText: css({\n font: text.body.regular.medium,\n margin: 0,\n }),\n multiItemCellFlexContainer: css({\n display: \"flex\",\n flexDirection: \"row\",\n flexWrap: \"nowrap\",\n justifyContent: \"flex-start\",\n alignItems: \"center\",\n gap: \"0\",\n height: \"100%\",\n }),\n tableCellText: css({\n font: text.body.regular.medium,\n display: \"inline-block\",\n margin: 0,\n }),\n leftPad: css({\n paddingLeft: space[8],\n }),\n centredTableContent: css({\n \"&&\": { verticalAlign: \"middle\" },\n }),\n fixedWidthStatus: css({\n width: \"105px\", //this is literally the width of a \"Progressing\" word and icon\n }),\n headerRow: css({\n color: themeTokens.color.text.secondary,\n font: text.heading.xSmall,\n margin: 0,\n textTransform: \"uppercase\",\n }),\n iconPadding: css({\n paddingLeft: space[12],\n paddingRight: space[12],\n }),\n indented(pixels: number) {\n return css({ paddingLeft: pixels });\n },\n iconSpacer(height: number, width: number) {\n return css({\n height: height,\n flexBasis: width,\n flexGrow: 0,\n flexShrink: 0,\n });\n },\n linkStyle: css({\n cursor: \"pointer\",\n }),\n};\n","import type { ErrorInfo } from \"@octopusdeploy/design-system-components\";\nimport type { MonitorErrorResource } from \"@octopusdeploy/octopus-server-client\";\nexport function createErrorInfoFromMonitorError(manifestError: MonitorErrorResource | undefined): ErrorInfo | undefined {\n if (!manifestError) {\n return;\n }\n return {\n message: manifestError.ErrorMessage,\n details: [\n {\n text: `Error code: ${manifestError.ErrorCode}`,\n },\n ],\n };\n}\n","/**\n * Returns a `Promise` that returns after the supplied delay.\n * @param {number} delayInMs The number of milliseconds to delay/wait for.\n * @param {AbortSignal} abortSignal When aborted, the `abortSignal` will cancel the in-progress timeout.\n * @returns {Promise} A `Promise` that can be awaited.\n */\nexport function delay(delayInMs: number, abortSignal?: AbortSignal): Promise {\n return new Promise((resolve) => {\n let timeout: null | ReturnType = null;\n function handleAbort() {\n if (timeout) {\n clearTimeout(timeout);\n }\n }\n timeout = setTimeout(() => {\n if (abortSignal) {\n abortSignal.removeEventListener(\"abort\", handleAbort);\n }\n resolve();\n }, delayInMs);\n if (abortSignal) {\n abortSignal.addEventListener(\"abort\", handleAbort);\n }\n });\n}\n","import { css, cx } from \"@emotion/css\";\nimport { EmptyStateNoResults, ErrorPanel, IconButton, SearchInput, Tooltip } from \"@octopusdeploy/design-system-components\";\nimport { ArrowRefreshIcon, ChevronDownIcon, ChevronRightIcon, ExclamationTriangleIcon, InfoCircleIcon } from \"@octopusdeploy/design-system-icons\";\nimport { borderWidth, fontFamilyGlobal, space, text, themeTokens } from \"@octopusdeploy/design-system-tokens\";\nimport { useInlineStatusQuery } from \"@octopusdeploy/octopus-react-client\";\nimport type { KubernetesEventType } from \"@octopusdeploy/octopus-server-client\";\nimport { AllKubernetesEventTypes } from \"@octopusdeploy/octopus-server-client\";\nimport type { Moment } from \"moment\";\nimport moment from \"moment\";\nimport React, { Fragment, useMemo, useState } from \"react\";\nimport type { LiveStatusObjectDrawerTabProps } from \"~/areas/projects/components/Observability/ObjectDrawer/Tabs/TabProps\";\nimport { createErrorInfoFromMonitorError } from \"~/areas/projects/components/Observability/ObjectDrawer/Tabs/createErrorInfoFromMonitorError\";\nimport { createErrorInfo } from \"~/areas/tasks/components/Task/Kubernetes/createErrorInfo\";\nimport { Skeleton } from \"~/components/Skeleton/Skeleton\";\nimport TimeFromNowLabel from \"~/components/TimeLabels/TimeFromNowLabel\";\nimport Select from \"~/primitiveComponents/form/Select/Select\";\nimport DateFormatter from \"~/utils/DateFormatter/index\";\nimport { delay } from \"~/utils/delay\";\ntype EventsTabProps = LiveStatusObjectDrawerTabProps & {\n projectId: string;\n environmentId: string;\n tenantId: string | undefined;\n};\nconst styles = {\n header: css({\n display: \"flex\",\n flexDirection: \"row\",\n gap: space[16],\n alignItems: \"center\",\n paddingLeft: space[16],\n paddingRight: space[16],\n backgroundColor: themeTokens.color.background.primary.default,\n }),\n filterItemContainer: css({\n width: `calc(15 * ${space[16]})`,\n }),\n headerActions: css({\n marginLeft: \"auto\",\n display: \"flex\",\n flexDirection: \"row\",\n gap: space[16],\n }),\n headerText: css({\n font: text.body.regular.small,\n color: themeTokens.color.text.secondary,\n }),\n eventsTableContainer: css({\n height: \"100%\",\n overflowY: \"auto\",\n }),\n logsTable: css({\n width: \"100%\",\n borderSpacing: 0,\n borderCollapse: \"collapse\",\n tableLayout: \"fixed\",\n }),\n logsTableTh: css({\n //we use content-box here so we can more easily specify fixed column widths (without having to calculate padding in the width)\n boxSizing: \"content-box\",\n textTransform: \"uppercase\",\n font: text.heading.xSmall,\n color: themeTokens.color.text.secondary,\n textAlign: \"left\",\n padding: `${space[8]} ${space[12]}`,\n whiteSpace: \"nowrap\",\n \":first-of-type\": {\n paddingLeft: space[16],\n },\n \":last-of-type\": {\n paddingRight: space[16],\n },\n backgroundColor: themeTokens.color.background.primary.default,\n position: \"sticky\",\n top: 0,\n }),\n //We define fixed widths for all the 's\n typeTh: css({\n width: space[32],\n }),\n lastSeenTh: css({\n width: space[64],\n }),\n reasonTh: css({\n width: `calc(10 * ${space[16]})`,\n }),\n countTh: css({\n width: space[48],\n }),\n chevronTh: css({\n width: space[16],\n }),\n td: css({\n padding: `${space[8]} ${space[12]}`,\n font: text.body.regular.medium,\n color: themeTokens.color.text.primary,\n \":first-of-type\": {\n paddingLeft: space[16],\n },\n \":last-of-type\": {\n paddingRight: space[16],\n },\n }),\n centeredTd: css({\n textAlign: \"center\",\n }),\n eventTr: css({\n \":hover\": {\n backgroundColor: themeTokens.color.background.primary.hovered,\n },\n }),\n eventTd: css({\n fontFamily: fontFamilyGlobal[\"system-ui-monospace\"],\n whiteSpace: \"nowrap\",\n }),\n expandedEventTr: css({\n borderTop: `${borderWidth[1]} solid ${themeTokens.color.border.primary}`,\n backgroundColor: themeTokens.color.background.secondary.default,\n }),\n wrappingTd: css({\n whiteSpace: \"nowrap\",\n overflow: \"hidden\",\n textOverflow: \"ellipsis\",\n }),\n typeIconContainer: css({\n //this is because of a strange interaction with the tooltip and it affecting the row height\n display: \"flex\",\n justifyContent: \"center\",\n }),\n expansionTr: css({\n backgroundColor: themeTokens.color.background.secondary.default,\n borderBottom: `${borderWidth[1]} solid ${themeTokens.color.border.primary}`,\n }),\n expansionTd: css({\n paddingTop: space[4],\n paddingBottom: space[4],\n whiteSpace: \"normal\",\n }),\n expansionDetail: css({\n paddingTop: space[4],\n paddingBottom: space[4],\n display: \"flex\",\n flexDirection: \"row\",\n gap: space[16],\n }),\n expansionLabel: css({\n width: `calc(6 * ${space[16]})`,\n }),\n loadingTd: css({\n height: `calc(20px + (${space[8]} * 2))`,\n }),\n};\ntype Filters = {\n search?: string;\n type?: KubernetesEventType;\n};\nfunction SkeletonTd() {\n return (\n \n );\n}\nexport const EventsTab = (props: EventsTabProps) => {\n const { detailedResource, projectId, environmentId, tenantId } = props;\n const [filters, setFilters] = useState({});\n const [requestCompletedTime, setRequestCompletedTime] = useState(moment());\n const [expandedRows, setExpandedRows] = useState>(new Set());\n const { result, isLoading, error, refetch } = useInlineStatusQuery(async (repo, abortSignal) => {\n if (!detailedResource) {\n return null;\n }\n const id = detailedResource.DesiredResourceId || detailedResource.ResourceId;\n if (!id) {\n return Promise.reject(\"The live resource does not have a DesiredResourceId or ResourceId\");\n }\n const { SessionId } = await repo.KubernetesLiveStatus.beginResourceEventsSession(projectId, environmentId, tenantId, detailedResource.MachineId, id);\n //while this is not aborted, continue attempting to load\n while (!abortSignal.aborted) {\n const result = await repo.KubernetesLiveStatus.getResourceEvents(SessionId);\n if (result.IsSessionCompleted) {\n setRequestCompletedTime(moment());\n return result;\n }\n await delay(100, abortSignal);\n }\n }, [detailedResource, environmentId, projectId, tenantId], \"Load events for live object\");\n const filteredEvents = useMemo(() => {\n if (!filters.search && !filters.type) {\n return result?.Events;\n }\n let events = result?.Events;\n const lowerCaseSearch = filters?.search?.toLocaleLowerCase();\n if (lowerCaseSearch) {\n events = events?.filter((e) => e.Reason.toLocaleLowerCase().includes(lowerCaseSearch) || e.Note.toLocaleLowerCase().includes(lowerCaseSearch));\n }\n if (filters.type) {\n events = events?.filter((e) => e.Type === filters.type);\n }\n return events;\n }, [filters.search, filters.type, result?.Events]);\n const toggleExpandedRow = (id: string) => setExpandedRows((prev) => {\n //clone the set\n const updated = new Set(prev);\n if (updated.has(id)) {\n updated.delete(id);\n }\n else {\n updated.add(id);\n }\n return updated;\n });\n const formatLastSeen = (lastSeen: string): string => {\n const duration = moment.duration(requestCompletedTime.diff(lastSeen));\n const secs = duration.seconds();\n const mins = duration.minutes();\n const hours = duration.hours();\n const days = Math.floor(duration.asDays());\n let result = secs > 0 ? `${secs}s` : \"\";\n result = `${mins > 0 ? `${mins}m` : \"\"}${result}`;\n result = `${hours > 0 ? `${hours}h` : \"\"}${result}`;\n result = `${days > 0 ? `${days}d` : \"\"}${result}`;\n return result;\n };\n const updateFilters = (partial: Partial) => setFilters((prev) => ({ ...prev, ...partial }));\n const errorInfo = useMemo(() => createErrorInfo(error) || createErrorInfoFromMonitorError(result?.Error), [error, result?.Error]);\n return (<>\n
    \n
    \n updateFilters({ search: val })} accessibleName={\"Search pod logs\"} placeholder={\"Search\"}/>\n
    \n
    \n updatePod(val)} items={Object.entries(allPodResources).map(([id, details]) => ({ value: id, text: details.Name }))} allowClear={false}/>\n {\n if (val)\n this.handleChannelChange(val);\n }}/>\n
    )}\n
    \n {\n if (val)\n this.handleTenantChange(val);\n }}/>\n
    )}\n
    \n
    \n {\n props.serviceNowEnvironmentSettings.Values.ServiceNowConnectionId = val ? val : \"\";\n props.refreshModel();\n }}/>\n \n\n {props.serviceNowEnvironmentSettings.Values.StandardChangeTemplateName})} help=\"The name of a standard change template which exists in ServiceNow's Standard Change Catalogue\" errorKey=\"Standard Change Template Name\">\n {\n props.serviceNowEnvironmentSettings.Values.StandardChangeTemplateName = val ? val : \"\";\n props.refreshModel();\n }}/>\n If provided, deployments will create a standard change based on the provided template, otherwise a normal change will be created.\n \n\n {props.serviceNowEnvironmentSettings.Values.AutomaticStateTransitionTarget})} help=\"Standard changes created by Octopus Deploy for this project will be automatically transitioned through to the desired state, a normal change will be created when selecting None\" errorKey=\"Automatic Transition\">\n {\n props.JsmEnvironmentSettings.Values.JsmConnectionId = val ? val : \"\";\n props.refreshModel();\n }} label={\"Jira Service Management Connection\"}/>\n \n\n {props.JsmEnvironmentSettings.Values.ServiceDeskProjectName})} help=\"Jira Service Management Service Desk Project\" errorKey=\"Jira Service Management Service Desk Project\">\n {\n props.JsmEnvironmentSettings.Values.ServiceDeskProjectName = val ? val : \"\";\n props.refreshModel();\n }} label={\"Jira Service Management Service Desk Project\"}/>\n \n )}\n
    );\n};\nJsmSettingsMenu.displayName = \"JsmSettingsMenu\"\n","import { ActionButton, ActionButtonType, Callout } from \"@octopusdeploy/design-system-components\";\nimport { space } from \"@octopusdeploy/design-system-tokens\";\nimport type { ResourcesById, ProjectResource, EnvironmentResource, LifecycleResource, ProjectGroupResource } from \"@octopusdeploy/octopus-server-client\";\nimport { Permission } from \"@octopusdeploy/octopus-server-client\";\nimport * as React from \"react\";\nimport type { AnalyticActionDispatcher, AnalyticTrackedActionDispatcher, ActionEvent, AnalyticErrorCallback } from \"~/analytics/Analytics\";\nimport { Action, useProjectScopedAnalyticTrackedActionDispatch, useProjectScopedAnalyticActionDispatch } from \"~/analytics/Analytics\";\nimport AdvancedProjectSection from \"~/areas/projects/components/Projects/AdvancedProjectSection\";\nimport { session, repository } from \"~/clientInstance\";\nimport type { DataBaseComponentState } from \"~/components/DataBaseComponent\";\nimport { DataBaseComponent } from \"~/components/DataBaseComponent\";\nimport SaveDialogLayout from \"~/components/DialogLayout/SaveDialogLayout\";\nimport PermissionCheck, { isAllowed } from \"~/components/PermissionCheck/PermissionCheck\";\nimport { required, Text } from \"~/components/form\";\ninterface CloneProjectDialogProps {\n clone: ProjectResource;\n projectCreated: (project: ProjectResource) => void;\n}\ntype InternalCloneProjectDialogProps = CloneProjectDialogProps & {\n dispatchAction: AnalyticActionDispatcher;\n trackAction: AnalyticTrackedActionDispatcher;\n};\ninterface CloneProjectDialogState extends DataBaseComponentState {\n name: string;\n description: string;\n projectGroups: ProjectGroupResource[];\n projectGroupId: string | undefined;\n lifecycles: LifecycleResource[];\n selectedLifecycle: LifecycleResource | undefined;\n showLifecycleMap: boolean;\n environmentsById: ResourcesById;\n showAdvanced: boolean;\n}\nclass CloneProjectInternal extends DataBaseComponent {\n constructor(props: InternalCloneProjectDialogProps) {\n super(props);\n this.state = {\n name: \"\",\n description: props.clone.Description,\n projectGroupId: props.clone.ProjectGroupId,\n selectedLifecycle: undefined,\n projectGroups: [],\n lifecycles: [],\n environmentsById: {},\n showLifecycleMap: false,\n showAdvanced: false,\n };\n }\n async componentDidMount() {\n await this.doBusyTask(async () => {\n const [projectGroups, lifecycles, environmentsById] = await Promise.all([\n repository.ProjectGroups.all(),\n isAllowed({ permission: Permission.LifecycleView }) ? repository.Lifecycles.all() : Promise.resolve([]),\n repository.Environments.allById(),\n ]);\n const lifecycle = lifecycles.find((x: LifecycleResource) => x.Id === this.props.clone.LifecycleId);\n const projectGroupId = this.props.clone.ProjectGroupId;\n this.setState({\n lifecycles,\n projectGroups,\n environmentsById,\n selectedLifecycle: lifecycle || lifecycles[0],\n projectGroupId,\n });\n });\n }\n async save() {\n await this.doBusyTask(async () => {\n const ev: ActionEvent = {\n action: Action.Save,\n resource: \"Project\",\n };\n await this.props.trackAction(\"Clone Project\", ev, async (cb: AnalyticErrorCallback) => {\n if (!this.state.projectGroupId) {\n this.setValidationErrors(\"You need to select a project group\");\n cb(\"Missing Project Group\");\n return false;\n }\n if (!this.state.selectedLifecycle) {\n this.setValidationErrors(\"You need to select a lifecycle\");\n cb(\"Missing Lifestyle\");\n return false;\n }\n const deploymentSettings = await repository.Projects.getDeploymentSettings(this.props.clone);\n const result = await repository.Projects.create({\n Name: this.state.name,\n Description: this.state.description,\n ProjectGroupId: this.state.projectGroupId ?? this.props.clone.ProjectGroupId,\n LifecycleId: this.state.selectedLifecycle?.Id ?? this.props.clone.LifecycleId,\n ProjectConnectivityPolicy: deploymentSettings.ConnectivityPolicy,\n }, { clone: this.props.clone.Id });\n // refresh permissions to include the new projects\n if (session.currentUser) {\n const permissionSet = await repository.UserPermissions.getAllPermissions(session.currentUser, true);\n session.refreshPermissions(permissionSet);\n }\n this.props.projectCreated(result);\n return true;\n });\n });\n return false;\n }\n refreshLifecycles() {\n this.doBusyTask(async () => {\n if (isAllowed({ permission: Permission.LifecycleView })) {\n const lifecycles = await repository.Lifecycles.all();\n let selectedLifecycle = this.state.selectedLifecycle;\n if (lifecycles.every((x) => x.Id !== this.state.selectedLifecycle?.Id)) {\n selectedLifecycle = lifecycles.length ? lifecycles[0] : undefined;\n }\n this.setState({ ...this.state, lifecycles, selectedLifecycle });\n }\n });\n }\n render() {\n const showAdvancedButton = this.state.lifecycles.length <= 1;\n return ( this.save()} onCancelClick={() => {\n this.props.dispatchAction(\"Cancel cloning Project\", { resource: \"Project\", action: Action.Cancel });\n return true;\n }}>\n \n The {Permission.LifecycleView} permission is required to clone a project\n }>\n {this.props.clone.IsVersionControlled && (<>\n \n When cloning a version controlled enabled project, we will also clone the version control setting (the repository url and authentication settings). Please review these after cloning.\n \n
    \n )}\n this.setState({ name })} validate={required(\"Please enter a project name\")} autoFocus={true}/>\n\n {showAdvancedButton && ( {\n e.preventDefault();\n this.setState({ showAdvanced: !this.state.showAdvanced });\n }}/>)}\n {(!showAdvancedButton || this.state.showAdvanced) && ( this.setState({ projectGroupId: newValue })} onLifecycleChanged={this.handleLifeCycleChange} onRefreshLifecycles={() => this.refreshLifecycles()}/>)}\n \n );\n }\n private handleLifeCycleChange = (value: string | undefined) => {\n const lifecycles = this.state.lifecycles?.filter((l) => l.Id === value) || [];\n this.setState({ selectedLifecycle: lifecycles.length > 0 ? lifecycles[0] : undefined });\n };\n private handleDescriptionChanged = (description: string) => {\n this.setState({ description });\n };\n static displayName = \"CloneProjectInternal\";\n}\nconst CloneProject: React.FC = (props) => {\n const dispatchAction = useProjectScopedAnalyticActionDispatch(props.clone.ClonedFromProjectId);\n const trackAction = useProjectScopedAnalyticTrackedActionDispatch(props.clone.ClonedFromProjectId);\n return ;\n};\nCloneProject.displayName = \"CloneProject\"\nexport default CloneProject;\n","import InternalNavLink from \"./InternalNavLink\";\nexport default InternalNavLink;\n","/* eslint-disable @typescript-eslint/no-non-null-assertion */\nimport type { ProjectResource, ProjectSummary } from \"@octopusdeploy/octopus-server-client\";\nimport { Permission } from \"@octopusdeploy/octopus-server-client\";\nimport type { LinkHref } from \"@octopusdeploy/portal-routes\";\nimport { links } from \"@octopusdeploy/portal-routes\";\nimport * as React from \"react\";\nimport { useProjectContext } from \"~/areas/projects/context/ProjectContext\";\nimport InternalRedirect from \"~/components/Navigation/InternalRedirect\";\nimport { isAllowed } from \"~/components/PermissionCheck/PermissionCheck\";\nexport type ProjectRedirectOption = {\n vcsRedirect?: boolean;\n};\nexport const ProjectToOverviewRedirect: React.FC = (): React.ReactElement => {\n const projectContext = useProjectContext();\n const redirectOption = {\n vcsRedirect: true,\n };\n const projectOverviewPath = getOverviewRedirectPathForProject(projectContext.state.model, projectContext.state.summary, redirectOption);\n return ;\n};\nProjectToOverviewRedirect.displayName = \"ProjectToOverviewRedirect\"\nconst getRedirectPathBaseForProject = (project: ProjectResource, summary: ProjectSummary | undefined, redirectOption: ProjectRedirectOption | undefined = {}) => {\n if (IsAllowedToSeeOperationsOverview(project.Id) && !IsAllowedToSeeDeploymentsOverview(project.Id)) {\n return links.projectOperationsPage.generateUrl({ spaceId: project.SpaceId, projectSlug: project.Slug });\n }\n if (redirectOption.vcsRedirect && !summary) {\n return links.projectVersionControlSettingsPage.generateUrl({ spaceId: project.SpaceId, projectSlug: project.Slug });\n }\n if (summary) {\n if (!summary.HasDeploymentProcess) {\n return summary.HasRunbooks ? links.projectOperationsPage.generateUrl({ spaceId: project.SpaceId, projectSlug: project.Slug }) : links.deploymentProcessPage.generateUrl({ spaceId: project.SpaceId, projectSlug: project.Slug });\n }\n else if (!summary.HasBeenSuccessfullyDeployed) {\n return summary.HasRunbooks ? links.deploymentsPage.generateUrl({ spaceId: project.SpaceId, projectSlug: project.Slug }) : links.projectOverviewRedirect.generateUrl({ spaceId: project.SpaceId, projectSlug: project.Slug });\n }\n }\n return links.deploymentsPage.generateUrl({ spaceId: project.SpaceId, projectSlug: project.Slug });\n};\nexport const getOverviewRedirectPathForProject = (project: ProjectResource, summary: ProjectSummary | undefined, redirectOption: ProjectRedirectOption | undefined = {}): LinkHref => {\n if (!project) {\n return null!;\n }\n return getRedirectPathBaseForProject(project, summary, redirectOption);\n};\nexport const IsAllowedToSeeDeploymentsOverview = (projectId: string | undefined | null): boolean => {\n if (!projectId) {\n return false;\n }\n const isAllowedToSeeDeploymentsOverview = isAllowed({\n permission: [Permission.ReleaseView, Permission.ProcessView],\n project: projectId,\n tenant: \"*\",\n });\n return isAllowedToSeeDeploymentsOverview;\n};\nexport const IsAllowedToSeeOperationsOverview = (projectId: string): boolean => {\n if (!projectId) {\n return false;\n }\n const isAllowedToSeeDeploymentsOverview = isAllowed({\n permission: Permission.RunbookView,\n project: projectId,\n wildcard: true,\n });\n return isAllowedToSeeDeploymentsOverview;\n};\n","import { Callout } from \"@octopusdeploy/design-system-components\";\nimport * as React from \"react\";\nimport { Text } from \"~/components/form\";\nimport type { DoBusyTask } from \"../../../../components/DataBaseComponent/DataBaseComponent\";\ninterface DeleteProjectProps {\n projectName: string;\n projectId: string;\n doBusyTask: DoBusyTask;\n onChange(canDelete: boolean): void;\n}\ninterface DeleteProjectState {\n confirmationProjectName: string;\n}\nexport default class DeleteProject extends React.Component {\n constructor(props: DeleteProjectProps) {\n super(props);\n this.state = {\n confirmationProjectName: \"\",\n };\n }\n render() {\n return (
    \n \n This action cannot be undone. This will permanently delete the {this.props.projectName} project and all of its contents, including releases and deployment history.\n \n
    \n

    Please type in the name of the project ({this.props.projectName}) to confirm.

    \n \n
    \n
    );\n }\n private onChange = (confirmationProjectName: string) => {\n this.setState({ confirmationProjectName });\n this.props.onChange(confirmationProjectName.replace(/\\s+/g, \" \").toLowerCase() === this.props.projectName.replace(/\\s+/g, \" \").toLowerCase());\n };\n static displayName = \"DeleteProject\";\n}\n","/* eslint-disable @typescript-eslint/no-non-null-assertion */\nimport { BooleanRadioButton, BooleanRadioButtonGroup, Checkbox, RadioButton, RadioButtonGroup, Callout } from \"@octopusdeploy/design-system-components\";\nimport type { ChannelResource, EnvironmentResource, IconMetadataResource, IconSvgResource, LifecycleResource, ProjectGroupResource, ProjectResource, ResourceCollection, ResourcesById, RunbookResource } from \"@octopusdeploy/octopus-server-client\";\nimport { HasRunbooksInGit, Permission, PersistenceSettingsType, TenantedDeploymentMode } from \"@octopusdeploy/octopus-server-client\";\nimport { links } from \"@octopusdeploy/portal-routes\";\nimport type { Url } from \"@octopusdeploy/portal-routes\";\nimport _ from \"lodash\";\nimport * as React from \"react\";\nimport { useRouteMatch } from \"react-router-dom\";\nimport type { AnalyticLogoDispatcher } from \"~/analytics/Analytics\";\nimport { Action, LogoType, useAnalyticLogoDispatch } from \"~/analytics/Analytics\";\nimport IconAndLogoEditLayout, { LogoTypeSelection } from \"~/areas/infrastructure/components/IconAndLogoEditLayout/IconAndLogoEditLayout\";\nimport CloneProject from \"~/areas/projects/components/Projects/CloneProject\";\nimport { repository } from \"~/clientInstance\";\nimport { isFeatureToggleEnabled } from \"~/components/FeatureToggle/New/FeatureToggleContext\";\nimport type { OptionalFormBaseComponentState } from \"~/components/FormBaseComponent\";\nimport FormBaseComponent from \"~/components/FormBaseComponent\";\nimport { LegacyForm } from \"~/components/FormPaperLayout/LegacyForm\";\nimport Logo from \"~/components/Logo/Logo\";\nimport Markdown from \"~/components/Markdown\";\nimport ExternalLink from \"~/components/Navigation/ExternalLink/ExternalLink\";\nimport InternalLink from \"~/components/Navigation/InternalLink\";\nimport InternalNavLink from \"~/components/Navigation/InternalNavLink\";\nimport InternalRedirect from \"~/components/Navigation/InternalRedirect/InternalRedirect\";\nimport type { MenuItem } from \"~/components/OverflowMenu/OverflowMenu\";\nimport { OverflowMenuItems } from \"~/components/OverflowMenu/OverflowMenu\";\nimport { OverflowMenuConverterVNext } from \"~/components/OverflowMenu/OverflowMenuConverterVNext\";\nimport { PageContent } from \"~/components/PageContent/PageContent\";\nimport { PagingList } from \"~/components/PagingList/PagingList\";\nimport type { PermissionCheckProps } from \"~/components/PermissionCheck/PermissionCheck\";\nimport { hasPermission, isAllowed } from \"~/components/PermissionCheck/PermissionCheck\";\nimport Section from \"~/components/Section\";\nimport { ExpandableFormSection, FormSection, FormSectionHeading, LogoEditor, MarkdownEditor, Note, Select, Summary, Text } from \"~/components/form\";\nimport type { LogoEditorSettings, SummaryNode } from \"~/components/form\";\nimport IconEditor, { IconEditorDefaultColor } from \"~/components/form/IconEditor/IconEditor\";\nimport type { IconEditorSettings } from \"~/components/form/IconEditor/IconEditor\";\nimport { required } from \"~/components/form/Validators\";\nimport { useOctopusFeatureToggle } from \"~/hooks/useOctopusFeatureToggle\";\nimport ListTitle from \"~/primitiveComponents/dataDisplay/ListTitle\";\nimport NameSummaryWithSlug from \"~/primitiveComponents/form/Slugs/NameSummaryWithSlug\";\nimport SlugEditor from \"~/primitiveComponents/form/Slugs/SlugEditor\";\nimport { timeOperationOptions } from \"~/utils/OperationTimer/timeOperation\";\nimport useIsMultiTenancyEnabledFeatureFlag from \"../../../configuration/hooks/useIsMultiTenancyEnabledFeatureFlag\";\nimport type { WithProjectContextInjectedProps } from \"../../context\";\nimport { useProjectContext } from \"../../context\";\nimport { useEphemeralEnvironmentsEnabledForProject } from \"../EphemeralEnvironments/useEphemeralEnvironmentsEnabled\";\nimport SelectLifecycle from \"../Lifecycle/SelectLifecycle\";\nimport { IsAllowedToSeeDeploymentsOverview, getOverviewRedirectPathForProject } from \"../ProjectsRoutes/ProjectToOverviewRedirect\";\nimport DeleteProject from \"./DeleteProject\";\nenum CloneVisibility {\n NotCloned = \"NotCloned\",\n Available = \"Available\",\n NotFound = \"NotFound\",\n AccessDenied = \"AccessDenied\"\n}\ninterface ClonedFromProjectDetails {\n clonedFromProject: ProjectResource | null;\n cloneVisibility: CloneVisibility;\n}\ninterface ProjectModel {\n name: string;\n slug: string;\n description: string;\n projectGroupId: string;\n tenantedDeploymentMode: TenantedDeploymentMode;\n discreteChannelRelease: boolean;\n allowIgnoreChannelRules: boolean;\n executeDeploymentsOnResilientPipeline: boolean;\n logo: LogoEditorSettings;\n icon: IconEditorSettings;\n isDisabled: boolean;\n clonedFromProjectId: string;\n lifecycleId: string;\n provisioningRunbookId?: string;\n deprovisioningRunbookId?: string;\n}\ninterface ProjectSettingsState extends OptionalFormBaseComponentState {\n projectGroups: ProjectGroupResource[];\n channels: ChannelResource[];\n lifecycles: LifecycleResource[];\n runbooks: RunbookResource[];\n project: ProjectResource | null;\n redirectTo: string | Url;\n clonedFromProjectDetails: ClonedFromProjectDetails | null;\n clonedProjectsCollection: ResourceCollection | null;\n canDelete: boolean;\n iconSvgResources: IconSvgResource[];\n iconMetadata: IconMetadataResource;\n logoTypeSelection: LogoTypeSelection;\n environmentsById?: ResourcesById;\n defaultBranch?: string;\n}\nclass ClonedProjectsList extends PagingList {\n}\ninterface GlobalConnectedProps {\n isMultiTenancyEnabled: boolean;\n isAllowProjectOptInToResilientExecutionsEnabled: boolean;\n isEphemeralEnvironmentsEnabled: boolean;\n}\ninterface ProjectSettingsAnalyticsProps {\n dispatchAction: AnalyticLogoDispatcher;\n}\ntype MatchProps = {\n match: NonNullable> | undefined;\n};\ntype ProjectSettingsInternalProps = MatchProps & GlobalConnectedProps & WithProjectContextInjectedProps & ProjectSettingsAnalyticsProps;\nclass ProjectSettingsInternal extends FormBaseComponent {\n constructor(props: ProjectSettingsInternalProps) {\n super(props);\n this.state = {\n projectGroups: [],\n channels: [],\n lifecycles: [],\n runbooks: [],\n project: null,\n redirectTo: \"\",\n clonedFromProjectDetails: {\n cloneVisibility: CloneVisibility.NotCloned,\n clonedFromProject: null,\n },\n clonedProjectsCollection: null,\n canDelete: false,\n iconSvgResources: [],\n iconMetadata: {\n categories: {},\n },\n logoTypeSelection: LogoTypeSelection.NotSet,\n defaultBranch: undefined,\n };\n }\n async componentDidMount() {\n await this.doBusyTask(async () => {\n const { model: project } = this.props.projectContext.state;\n // Set the project early. If any of the remaining promises fail, at least our overflow menu will populate.\n this.setState({\n project,\n model: this.buildModel(project),\n cleanModel: this.buildModel(project),\n });\n const hasProcessViewPermissions = isAllowed({\n permission: Permission.ProcessView,\n project: project.Id,\n tenant: \"*\",\n });\n const [projectGroups, clonedProjectsCollection, channels, iconSvgResources, iconMetadata, lifecycles, environmentsForProject] = await Promise.all([\n isAllowed({ permission: Permission.ProjectGroupView, projectGroup: \"*\" }) ? repository.ProjectGroups.all() : Promise.resolve([]),\n repository.Projects.list({ clonedFromProjectId: project.Id }),\n hasProcessViewPermissions ? repository.Projects.getChannels(project) : Promise.resolve(null),\n repository.Icons.getIcons(),\n repository.Icons.getIconMetadata(),\n repository.Lifecycles.all(),\n repository.Projects.getAvailableEnvironmentsForProject(project.Id),\n ]);\n let clonedFromProject: ProjectResource | null = null;\n let cloneVisibility = CloneVisibility.NotCloned;\n if (project.ClonedFromProjectId) {\n const canAccessClone = isAllowed({ permission: Permission.ProjectView, project: project.ClonedFromProjectId, wildcard: true });\n cloneVisibility = canAccessClone ? CloneVisibility.Available : CloneVisibility.AccessDenied;\n if (canAccessClone) {\n try {\n clonedFromProject = await repository.Projects.get(project.ClonedFromProjectId);\n }\n catch (error) {\n // if it's any other error let it go, if we failed to load due to bad data, just move on with 'NotFound'\n if (error.StatusCode !== 404) {\n throw error;\n }\n cloneVisibility = CloneVisibility.NotFound;\n }\n }\n }\n const environmentsById = environmentsForProject.Environments.reduce((obj: {\n [key: string]: EnvironmentResource;\n }, item: EnvironmentResource) => {\n obj[item.Id] = item;\n return obj;\n }, {});\n let defaultBranch = \"\";\n if (this.props.projectContext.state.model.PersistenceSettings.Type === PersistenceSettingsType.VersionControlled) {\n defaultBranch = this.props.projectContext.state.model.PersistenceSettings.DefaultBranch;\n }\n let runbooks: RunbookResource[] = [];\n if (this.props.isEphemeralEnvironmentsEnabled && HasRunbooksInGit(project.PersistenceSettings) && hasPermission(Permission.RunbookView) && defaultBranch) {\n const runbooksResponse = await repository.Runbooks.getRunbooks(project, defaultBranch);\n runbooks = runbooksResponse.Items;\n }\n this.setState({\n projectGroups,\n channels: channels ? channels.Items : [],\n lifecycles,\n clonedFromProjectDetails: {\n clonedFromProject,\n cloneVisibility,\n },\n clonedProjectsCollection,\n iconSvgResources,\n iconMetadata,\n environmentsById,\n runbooks,\n defaultBranch,\n });\n }, { timeOperationOptions: timeOperationOptions.forInitialLoad() });\n }\n buildModel(project: ProjectResource): ProjectModel {\n return {\n name: project.Name,\n slug: project.Slug,\n description: project.Description,\n projectGroupId: project.ProjectGroupId,\n tenantedDeploymentMode: project.TenantedDeploymentMode,\n discreteChannelRelease: project.DiscreteChannelRelease,\n allowIgnoreChannelRules: project.AllowIgnoreChannelRules,\n executeDeploymentsOnResilientPipeline: project.ExecuteDeploymentsOnResilientPipeline,\n lifecycleId: project.LifecycleId,\n logo: { file: undefined, reset: false },\n icon: {\n iconId: project.Icon?.Id ?? \"\",\n iconColor: project.Icon?.Color ?? IconEditorDefaultColor,\n },\n isDisabled: project.IsDisabled,\n clonedFromProjectId: project.ClonedFromProjectId,\n provisioningRunbookId: project.ProvisioningRunbookId,\n deprovisioningRunbookId: project.DeprovisioningRunbookId,\n };\n }\n handleSaveClick = async () => {\n const model = this.state.model;\n if (!model || !this.state.project) {\n throw \"no model loaded\";\n }\n const project: ProjectResource = {\n ...this.state.project,\n Name: model.name,\n Slug: model.slug,\n Description: model.description,\n ProjectGroupId: model.projectGroupId,\n TenantedDeploymentMode: model.tenantedDeploymentMode,\n DiscreteChannelRelease: model.discreteChannelRelease,\n AllowIgnoreChannelRules: model.allowIgnoreChannelRules,\n ExecuteDeploymentsOnResilientPipeline: model.executeDeploymentsOnResilientPipeline,\n IsDisabled: model.isDisabled,\n ClonedFromProjectId: model.clonedFromProjectId,\n Icon: {\n Id: model.icon.iconId,\n Color: model.icon.iconColor,\n },\n LifecycleId: model.lifecycleId,\n ProvisioningRunbookId: model.provisioningRunbookId,\n DeprovisioningRunbookId: model.deprovisioningRunbookId,\n };\n const { dispatchAction } = this.props;\n await this.doBusyTask(async () => {\n if (this.state.logoTypeSelection === LogoTypeSelection.Icon) {\n dispatchAction(\"Save Logo\", { resource: \"Project\", logoType: LogoType.icon, action: Action.Save });\n await repository.Logos.saveIcon(project, model.icon?.iconId, model.icon?.iconColor);\n }\n else if (this.state.logoTypeSelection === LogoTypeSelection.CustomImage) {\n dispatchAction(\"Save Logo\", { resource: \"Project\", logoType: LogoType.customImage, action: Action.Save });\n await repository.Logos.saveLogo(project, model.logo.file, model.logo.reset || false);\n }\n await this.saveProject(project);\n });\n };\n descriptionSummary() {\n return this.state.model?.description ? Summary.summary() : Summary.placeholder(\"No project description provided\");\n }\n renderCloneDetails() {\n const visibility = this.state.clonedFromProjectDetails?.cloneVisibility;\n if (!visibility) {\n return null;\n }\n if (visibility === CloneVisibility.NotFound) {\n const clonedFromId = this.state.project?.ClonedFromProjectId;\n return
    This project was originally cloned from a project ({clonedFromId}) that cannot be found.
    ;\n }\n else if (visibility === CloneVisibility.AccessDenied) {\n return
    This project was originally cloned from a project that you do not have {Permission.ProjectView} for.
    ;\n }\n else if (visibility === CloneVisibility.Available) {\n if (this.state.clonedFromProjectDetails?.clonedFromProject) {\n const { SpaceId: spaceId, Slug: projectSlug, Name: projectName } = this.state.clonedFromProjectDetails.clonedFromProject;\n return (
    \n This project was originally cloned from {projectName}.\n
    );\n }\n }\n return null;\n }\n getOverFlowActions(): MenuItem[] {\n const overFlowActions: MenuItem[] = [];\n if (!this.state.model || !this.state.project) {\n return [];\n }\n overFlowActions.push(OverflowMenuItems.item(this.state.model.isDisabled ? \"Enable\" : \"Disable\", this.handleEnabledToggle, this.editPermission()));\n if (!this.state.project.IsVersionControlled) {\n overFlowActions.push(OverflowMenuItems.dialogItem(\"Clone\", this.setState({ redirectTo: getOverviewRedirectPathForProject(project, undefined) })}/>, this.clonePermission()));\n }\n overFlowActions.push(OverflowMenuItems.deleteItem(\"Delete\", \"Are you sure you want to delete this project?\", this.handleDeleteConfirm, (dialogDoBusyTask) => , this.deletePermission(), !this.state.canDelete));\n overFlowActions.push(OverflowMenuItems.navItem(\"Audit Trail\", links.auditPage.generateUrl({ projects: [this.state.project.Id] }), {\n permission: Permission.EventView,\n wildcard: true,\n }));\n return overFlowActions;\n }\n shouldForceDisableFormSaveButton() {\n return this.state.logoTypeSelection === LogoTypeSelection.Icon && !this.state.model?.icon?.iconId;\n }\n render() {\n if (this.state.redirectTo) {\n return ;\n }\n if (!this.state.model || !this.state.project) {\n return null;\n }\n const isProjectCloned = this.state.clonedFromProjectDetails?.cloneVisibility !== CloneVisibility.NotCloned;\n const includesCloneInformation = (this.state.model && isProjectCloned) || (this.state.clonedProjectsCollection && this.state.clonedProjectsCollection.TotalResults > 0);\n const clonedFromElement = this.state.model && isProjectCloned && this.renderCloneDetails();\n const canViewDeploymentsMenu = IsAllowedToSeeDeploymentsOverview(this.state.project ? this.state.project.Id : null);\n const resilientExecutionsEnabled = isFeatureToggleEnabled(\"ResilientExecutionsFeatureToggle\");\n const legacyOverflowActions = this.getOverFlowActions();\n const overflowMenu = OverflowMenuConverterVNext.convertAll(legacyOverflowActions);\n interface RunbookSummary {\n runbookIsSelected: boolean;\n name: string | null;\n }\n const getSelectedRunbook = (runbookId?: string): RunbookSummary => {\n if (!runbookId)\n return { runbookIsSelected: false, name: null };\n const name = _.find(this.state.runbooks, (r) => r.Id === runbookId)?.Name;\n if (!name)\n return { runbookIsSelected: true, name: null };\n return { runbookIsSelected: true, name };\n };\n const provisioningRunbook = getSelectedRunbook(this.state.model.provisioningRunbookId);\n const deprovisioningRunbook = getSelectedRunbook(this.state.model.deprovisioningRunbookId);\n return (\n {({ FormContent, createSaveAction }) => (<>\n {this.state.model && this.state.project && (\n If you cannot find some settings on this page, please go to the{\" \"}\n Deployment Settings to start\n configuring.\n ),\n }}>\n \n {overflowMenu.dialogs}\n ) : Summary.placeholder(\"Please enter a name for your project\")} help=\"Enter a name for your project.\">\n this.setModelState({ name })} label=\"Project name\" error={this.getFieldError(\"name\")} validate={required(\"Please enter a project name\")}/>\n this.setModelState({ slug })} label={\"Project slug\"} error={this.getFieldError(\"slug\")} validate={required(\"Please enter a project slug\")} additionalWarningMessage={\"Modifying the slug will change the URLs related to this project.\"}/>\n \n \n this.setModelState({ isDisabled: !isDisabled })} label=\"Enabled\"/>\n \n \n {\n this.setState({ logoTypeSelection: LogoTypeSelection.Icon });\n this.setModelState({ icon: { iconId: iconId, iconColor: this.state.model?.icon?.iconColor ?? IconEditorDefaultColor }, logo: { file: undefined, reset: false } });\n }} onIconColorChange={(iconColor) => {\n this.setState({ logoTypeSelection: LogoTypeSelection.Icon });\n this.setModelState({ icon: { iconId: this.state.model?.icon?.iconId ?? \"\", iconColor: iconColor } });\n }}/>} logoEditor={ {\n this.setState({ logoTypeSelection: LogoTypeSelection.CustomImage });\n this.setModelState({ logo, icon: { iconId: \"\", iconColor: IconEditorDefaultColor } });\n }}/>} onTabChange={(logoType) => this.setState({ logoTypeSelection: logoType })}/>\n \n \n this.setModelState({ description })}/>\n \n \n this.setModelState({\n provisioningRunbookId: provisioningRunbook || \"\",\n })} items={this.state.runbooks.map((r) => ({ value: r.Id, text: r.Name }))} label=\"Provisioning Runbook\" sortItems allowClear/>\n \n {deprovisioningRunbook.runbookIsSelected && !deprovisioningRunbook.name && ()}\n \n this.setState({ cloneId: value })} items={this.state.tenants} allowFilter={true} placeholder={\"Select a tenant\"} autoFocus={true}/>\n this.setState({ name: value })} validate={required(\"Please enter a tenant name\")}/>\n this.setState({ description: value })}/>\n \n );\n }\n static displayName = \"CloneTenantDialogInternal\";\n}\ninterface ClonedTenantCalloutProps {\n project: Readonly | null;\n}\nfunction ClonedTenantCallout({ project }: ClonedTenantCalloutProps) {\n if (project && project.TenantedDeploymentMode === TenantedDeploymentMode.Untenanted) {\n return (\n Octopus will enable tenanted deployments for this project.\n );\n }\n return null;\n}\ninterface CloneSpecificTenantDialogInternalProps {\n cloneId: string;\n cloneTenantName: string;\n tenantCreated(tenant: TenantResource): void;\n}\ninterface CloneSpecificTenantDialogInternalState extends DataBaseComponentState {\n name: string;\n description?: string;\n}\nclass CloneSpecificTenantDialogInternal extends DataBaseComponent {\n constructor(props: GlobalConnectedProps & GlobalDispatchProps & CloneSpecificTenantDialogInternalProps) {\n super(props);\n this.state = {\n name: \"\",\n };\n }\n save = async () => {\n return this.doBusyTask(async () => {\n const result = await createTenant(this.state.name, this.state.description, null, this.props.cloneId);\n if (!this.props.isMultiTenancyEnabled) {\n const status = await repository.Tenants.status();\n this.props.onSpaceMultiTenancyStatusFetched(status);\n }\n this.props.tenantCreated(result);\n return true;\n });\n };\n render() {\n return (\n this.setState({ name: value })} validate={required(\"Please enter a tenant name\")} autoFocus={true}/>\n this.setState({ description: value })}/>\n \n Targets, Accounts, Certificates, Permissions and other resources that are scoped to {this.props.cloneTenantName} will not be automatically updated to include this new Tenant.\n \n );\n }\n static displayName = \"CloneSpecificTenantDialogInternal\";\n}\nconst createTenant = async (name: string, description?: string, project?: Readonly | null, cloneId?: string) => {\n const args = { clone: cloneId };\n const createTenant = repository.Tenants.create({\n Name: name,\n Description: description,\n TenantTags: [],\n ProjectEnvironments: project ? { [project.Id]: [] } : {},\n }, args);\n const enableTenantedDeploymentsPromise = project && project.TenantedDeploymentMode === TenantedDeploymentMode.Untenanted ? enableTenantedDeployments(project) : Promise.resolve();\n const [createdTenant, _] = await Promise.all([createTenant, enableTenantedDeploymentsPromise]);\n return createdTenant;\n};\nconst enableTenantedDeployments = async (project: Readonly) => {\n const modifyProject = async () => {\n const projectToModify = await repository.Projects.get(project.Id);\n projectToModify.TenantedDeploymentMode = TenantedDeploymentMode.TenantedOrUntenanted;\n await repository.Projects.modify(projectToModify);\n };\n const modifyRunbooks = async () => {\n // As Tenants are not associated with any GitRef, Git Runbooks cannot be automatically updated\n if (HasRunbooksInGit(project.PersistenceSettings))\n return;\n const runbooks = await repository.Runbooks.getRunbooks(project, undefined, { take: Repository.takeAll });\n return runbooks.Items.map((runbook) => {\n runbook.MultiTenancyMode = TenantedDeploymentMode.TenantedOrUntenanted;\n return repository.Runbooks.modify(runbook);\n });\n };\n await Promise.all([modifyProject(), modifyRunbooks()]);\n};\ninterface GlobalConnectedProps {\n isMultiTenancyEnabled: boolean;\n}\nconst mapGlobalStateToProps = (state: GlobalState): GlobalConnectedProps => {\n return {\n isMultiTenancyEnabled: state.configurationArea.currentSpace.isMultiTenancyEnabled,\n };\n};\ninterface GlobalDispatchProps {\n onSpaceMultiTenancyStatusFetched: (status: MultiTenancyStatusResource) => void;\n}\nconst mapGlobalActionDispatchersToProps = (dispatch: Dispatch): GlobalDispatchProps => bindActionCreators({ onSpaceMultiTenancyStatusFetched: configurationActions.spaceMultiTenancyStatusFetched }, dispatch);\nexport const AddTenantDialog = connect(mapGlobalStateToProps, mapGlobalActionDispatchersToProps)(AddTenantDialogInternal);\nconst CloneTenantDialog = connect(mapGlobalStateToProps, mapGlobalActionDispatchersToProps)(CloneTenantDialogInternal);\nexport const CloneSpecificTenantDialog = connect(mapGlobalStateToProps, mapGlobalActionDispatchersToProps)(CloneSpecificTenantDialogInternal);\n","import { css } from \"@emotion/css\";\nimport { ActionButtonType } from \"@octopusdeploy/design-system-components\";\nimport { space } from \"@octopusdeploy/design-system-tokens\";\nimport type { ProjectResource } from \"@octopusdeploy/octopus-server-client\";\nimport * as React from \"react\";\nimport ConnectTenantsButton from \"~/areas/projects/components/ProjectTenants/ConnectTenantsButton\";\nimport { AddOrCloneTenant } from \"~/areas/tenants/Tenants/AddOrCloneTenant\";\nimport OnboardingPage from \"~/components/GettingStarted/OnboardingPage\";\nimport ExternalLink from \"~/components/Navigation/ExternalLink/ExternalLink\";\nexport interface OnboardingProps {\n project: ProjectResource;\n onConnected: (numberOfTenantsConnected: number) => void;\n}\nexport default function Onboarding(props: OnboardingProps) {\n return (Learn more} actionButtons={
    \n \n
    \n \n
    \n
    }/>);\n}\nconst styles = {\n actionButtonsContainer: css({\n display: \"inline-flex\",\n }),\n addTenantButton: css({\n marginLeft: space[16],\n }),\n};\n","/* eslint-disable @typescript-eslint/consistent-type-assertions */\nimport { Callout } from \"@octopusdeploy/design-system-components\";\nimport { Permission } from \"@octopusdeploy/octopus-server-client\";\nimport type { EnvironmentResource, TenantResource } from \"@octopusdeploy/octopus-server-client\";\nimport * as React from \"react\";\nimport { repository } from \"~/clientInstance\";\nimport type { DataBaseComponentState } from \"~/components/DataBaseComponent\";\nimport { DataBaseComponent } from \"~/components/DataBaseComponent\";\nimport DataLoader from \"~/components/DataLoader/index\";\nimport { EnvironmentMultiSelect } from \"~/components/MultiSelect/EnvironmentMultiSelect\";\nimport SaveDialogLayout from \"../../../components/DialogLayout/SaveDialogLayout\";\ninterface UpdateConnectionForTenantDialogProps {\n existingProjectLink?: {\n projectId: string;\n environmentIds: string[];\n };\n projectId: string;\n projectName: string;\n tenantId: string;\n selectedEnvironmentIds: string[];\n onUpdated(tenant: TenantResource): void;\n}\ninterface UpdateConnectionForTenantDialogState extends DataBaseComponentState {\n environmentIds: string[];\n availableEnvironments: EnvironmentResource[];\n}\ninterface InitialDataProps {\n availableEnvironments: EnvironmentResource[];\n}\nconst InitialDataLoader = DataLoader();\nexport function UpdateConnectionForTenantDialog(props: UpdateConnectionForTenantDialogProps) {\n return ( {\n const availableEnvironments = await repository.Projects.getAvailableEnvironmentsForProject(props.projectId);\n return { availableEnvironments: availableEnvironments.Environments };\n }} operationName=\"UpdateTenantProjectConnection\" renderWhenLoaded={(data) => } renderAlternate={({ busy, errors }) => Promise.resolve(true)}/>}/>);\n}\nclass UpdateConnectionForTenant extends DataBaseComponent {\n constructor(props: UpdateConnectionForTenantDialogProps & InitialDataProps) {\n super(props);\n this.state = {\n environmentIds: props.selectedEnvironmentIds,\n availableEnvironments: props.availableEnvironments,\n };\n }\n handleEnvironmentsSelected = async (environmentIds: string[]) => {\n this.setState({ environmentIds });\n };\n handleSelectAllEnvironments = async () => {\n const allEnvironmentIds = this.state.availableEnvironments ? this.state.availableEnvironments.map((x) => x.Id) : [];\n this.setState({ environmentIds: allEnvironmentIds });\n };\n renderEnvironmentMultiSelect() {\n return (<>\n \n {this.state.environmentIds && this.state.environmentIds.length === 0 ? (\n

    A tenant needs to be linked to an environment of a project before deployments can take place.

    \n

    \n {\n e.preventDefault();\n await this.handleSelectAllEnvironments();\n }}>\n Select all available environments\n \n

    \n
    ) : null}\n {this.tenantHasMissingEnvironments() && }\n );\n }\n tenantHasMissingEnvironments() {\n const { availableEnvironments, environmentIds } = this.state;\n const environmentIdIsMissing = (id: string) => availableEnvironments.findIndex((e) => e.Id === id) === -1;\n return environmentIds.findIndex((id) => environmentIdIsMissing(id)) !== -1;\n }\n save = async () => {\n return this.doBusyTask(async () => {\n const tenant = await repository.Tenants.get(this.props.tenantId);\n tenant.ProjectEnvironments[this.props.projectId] = this.state.environmentIds ? this.state.environmentIds : [];\n const savedTenant = await repository.Tenants.save(tenant);\n setTimeout(() => this.props.onUpdated(savedTenant), 0);\n });\n };\n render() {\n return (\n {this.renderEnvironmentMultiSelect()}\n );\n }\n static displayName = \"UpdateConnectionForTenant\";\n}\n","import { css } from \"@emotion/css\";\nimport { ActionButtonType, CircularProgress, Callout, Badge } from \"@octopusdeploy/design-system-components\";\nimport type { PageAction, PrimaryPageAction } from \"@octopusdeploy/design-system-components\";\nimport { CheckCircleIcon, XmarkCircleIcon } from \"@octopusdeploy/design-system-icons\";\nimport { space, text, themeTokens } from \"@octopusdeploy/design-system-tokens\";\nimport type { ConnectTenantsToProjectTaskResource, ProjectResource, ProjectTenant, TenantResource } from \"@octopusdeploy/octopus-server-client\";\nimport { BusinessProcessState, Permission } from \"@octopusdeploy/octopus-server-client\";\nimport * as React from \"react\";\nimport { useState } from \"react\";\nimport { Action, useAnalyticConnectTenantsDispatch } from \"~/analytics/Analytics\";\nimport ConnectTenantsButton from \"~/areas/projects/components/ProjectTenants/ConnectTenantsButton\";\nimport Onboarding from \"~/areas/projects/components/ProjectTenants/Onboarding\";\nimport { useConnectionTaskLoop } from \"~/areas/projects/components/ProjectTenants/hooks/useConnectionTaskLoop\";\nimport { useProjectTenantsState } from \"~/areas/projects/components/ProjectTenants/hooks/useProjectTenantsState\";\nimport { useProjectContext } from \"~/areas/projects/context/index\";\nimport { UpdateConnectionForTenantDialog } from \"~/areas/tenants/TenantOverview/UpdateConnectionForTenantDialog\";\nimport { AddOrCloneTenant } from \"~/areas/tenants/Tenants/AddOrCloneTenant\";\nimport { Leftovers } from \"~/areas/tenants/components/DataTable/Cells/Leftovers\";\nimport { TenantDataTableAllEnvironmentsCell } from \"~/areas/tenants/components/DataTable/Cells/TenantDataTableEnvironmentsCell\";\nimport { TenantNameCellWithLink } from \"~/areas/tenants/components/DataTable/Cells/TenantNameCell\";\nimport CollapsibleFilter from \"~/areas/tenants/components/HeaderBar/CollapsibleFilter\";\nimport NumberedPagingBar from \"~/areas/tenants/components/Paging/NumberedPagingBar\";\nimport { repository } from \"~/clientInstance\";\nimport type { DoBusyTask } from \"~/components/DataBaseComponent/index\";\nimport { useLegacyDoBusyTask } from \"~/components/DataBaseComponent/useLegacyDoBusyTask\";\nimport FilterSearchBox from \"~/components/FilterSearchBox/FilterSearchBox\";\nimport { GroupedDataTable } from \"~/components/GroupedDataTable/GroupedDataTable\";\nimport ExternalLink from \"~/components/Navigation/ExternalLink/index\";\nimport { OverflowMenu, OverflowMenuItems } from \"~/components/OverflowMenu/OverflowMenu\";\nimport { PageContent } from \"~/components/PageContent/PageContent\";\nimport { isAllowed } from \"~/components/PermissionCheck/PermissionCheck\";\nimport useLocalStorage from \"~/hooks/useLocalStorage\";\ninterface ProjectTenantsPageProps {\n spaceId: string;\n}\nexport function ProjectTenantsPage({ spaceId }: ProjectTenantsPageProps) {\n const { doBusyTask, status } = useLegacyDoBusyTask();\n const projectContext = useProjectContext();\n const project = projectContext.state && projectContext.state.model;\n const dispatchAction = useAnalyticConnectTenantsDispatch();\n const [latestConnectionTask, loop] = useConnectionTaskLoop(doBusyTask, project.Id);\n const [showActionButtons, setShowActionButtons] = useState(false);\n const onTenantConnected = async (numberOfTenantsConnected: number) => {\n dispatchAction(\"Connect Tenants\", { action: Action.Save, resource: \"Tenant\", numTenants: numberOfTenantsConnected });\n await loop.refresh();\n };\n const addOrCloneTenantPageAction: PageAction = {\n type: \"custom\",\n key: \"Add or clone tenant\",\n hasPermissions: isAllowed({ permission: Permission.ProjectEdit, project: project.Id }),\n content: ,\n };\n const isConnectTenantsDisabled = latestConnectionTask === \"NotLoaded\" ? true : latestConnectionTask?.State === BusinessProcessState.InProgress;\n const connectTenantsPageAction: PrimaryPageAction = {\n type: \"custom\",\n key: \"Connect tenants\",\n hasPermissions: isAllowed({ permission: Permission.ProjectEdit, project: project.Id }),\n content: ,\n };\n return (\n {latestConnectionTask === \"NotLoaded\" ? null : ( setShowActionButtons(show)} onTenantConnected={onTenantConnected}/>)}\n );\n}\ninterface ProjectTenantsContentProps {\n spaceId: string;\n doBusyTask: DoBusyTask;\n project: ProjectResource;\n updateShowActionButtons: (show: boolean) => void;\n onTenantConnected: (numberOfTenantsConnected: number) => void;\n latestConnectionTask: ConnectTenantsToProjectTaskResource | undefined;\n}\nfunction ProjectTenantsContent({ spaceId, doBusyTask, project, updateShowActionButtons, onTenantConnected, latestConnectionTask }: ProjectTenantsContentProps) {\n const { searchName, tableState, pageState, actions } = useProjectTenantsState(project.Id, doBusyTask, updateShowActionButtons, latestConnectionTask);\n if (!tableState) {\n return null;\n }\n if (tableState.totalTenantCount === 0) {\n return (\n {latestConnectionTask ? : null}\n \n );\n }\n const handleRemoveConfirm = async (tenantId: string) => {\n await doBusyTask(async () => {\n const tenant = await repository.Tenants.get(tenantId);\n delete tenant.ProjectEnvironments[project.Id];\n await repository.Tenants.save(tenant);\n actions.refreshTable();\n });\n };\n const onTenantUpdated = () => {\n actions.refreshTable();\n };\n return (<>\n {latestConnectionTask ? : null}\n \n\n ,\n },\n {\n title: \"Connected Environments\",\n accessibleName: \"Connected Environments\",\n width: \"50%\",\n render: (data) => ,\n },\n ]} getRowKey={(data) => data.Id} groupBy={[\n {\n key: \"Enabled\",\n selector: (tenant) => (tenant.IsDisabled ? \"Disabled\" : \"Enabled\"),\n header: (\n \n
    \n \n Enabled \n !t.IsDisabled).length} size=\"small\" variant=\"neutral\"/>\n
    \n \n ),\n },\n {\n key: \"Disabled\",\n selector: (tenant) => (tenant.IsDisabled ? \"Disabled\" : \"Enabled\"),\n header: (\n \n
    \n \n Disabled \n t.IsDisabled).length} size=\"small\" variant=\"neutral\"/>\n
    \n \n ),\n },\n ]}/>\n
    \n {\n actions.setPageNumber(newPageNumber);\n actions.setPageSize(newPageSize);\n }} pageSizeOptions={[30, 50, 100]}/>\n
    \n );\n}\ninterface ConnectionTaskCalloutProps {\n latestConnectionTask: ConnectTenantsToProjectTaskResource;\n}\nfunction ConnectionTaskCallout({ latestConnectionTask }: ConnectionTaskCalloutProps) {\n const [taskIdDismissed, setTaskIdDismissed] = useLocalStorage(\"Octopus.Callout.TenantConnection.TaskIdDismissed\", undefined);\n const onCloseCallout = () => {\n setTaskIdDismissed(latestConnectionTask.Id);\n };\n if (latestConnectionTask.State === BusinessProcessState.Completed) {\n if (taskIdDismissed && taskIdDismissed === latestConnectionTask.Id) {\n return null;\n }\n const successfulTenantWording = latestConnectionTask.ConnectionsCompleted === 1 ? \"tenant has\" : \"tenants have\";\n if (latestConnectionTask.ConnectionsFailed === 0) {\n return (\n
    \n {latestConnectionTask.ConnectionsCompleted} {successfulTenantWording} recently been connected\n
    \n
    );\n }\n return (\n
    \n During the last connection request {latestConnectionTask.ConnectionsFailed} out of {latestConnectionTask.ConnectionsRequested} tenants failed to connect to this project.\n
    \n Please review these connection errors in the Octopus Server logs.\n
    \n
    );\n }\n return (\n
    \n Connecting tenant {latestConnectionTask.ConnectionsCompleted + 1} of {latestConnectionTask.ConnectionsRequested}\n \n
    \n
    );\n}\ninterface LocalEnvironmentsSummaryCellProps {\n summaryCount: number;\n tenant: ProjectTenant;\n project: ProjectResource;\n handleRemoveConfirm: (tenantId: string) => void;\n onUpdated: (tenant: TenantResource) => void;\n}\nfunction LocalEnvironmentsSummaryCell({ summaryCount, tenant, project, handleRemoveConfirm, onUpdated }: LocalEnvironmentsSummaryCellProps) {\n const [showAll, setShowAll] = useState(false);\n const environmentNames = tenant.Environments.map((e) => e.Name);\n const hasMissingVariables = tenant.HasMissingVariables;\n const change = () => {\n setShowAll(!showAll);\n };\n return (
    \n
    \n \n {environmentNames.length <= summaryCount ? <> : }\n
    \n e.Id)}/>, {\n permission: Permission.TenantEdit,\n tenant: tenant.Id,\n }),\n OverflowMenuItems.removeItem(\"Remove\", `Unlink Tenant from Project`, async () => handleRemoveConfirm(tenant.Id),
    \n Are you sure you want to unlink {tenant.Name} from {project.Name}?\n
    , {\n permission: Permission.TenantEdit,\n tenant: tenant.Id,\n }),\n ]}/>\n
    );\n}\ninterface TenantFiltersBarProps {\n totalTenantCount: number;\n filteredTenantsCount: number | null;\n searchName: string;\n onSearchNameChanged: (newName: string) => void;\n}\nfunction TenantFiltersBar({ searchName, onSearchNameChanged, totalTenantCount, filteredTenantsCount }: TenantFiltersBarProps) {\n return (}/>);\n}\nconst styles = {\n pagingBar: css({\n padding: `0 ${space[16]}`,\n }),\n environmentsCell: css({\n display: \"grid\",\n gridTemplateColumns: \"1fr auto\",\n alignItems: \"center\",\n }),\n environments: css({\n display: \"flex\",\n alignItems: \"center\",\n }),\n connectionTaskInfo: css({\n display: \"inline-flex\",\n alignItems: \"center\",\n gap: space[8],\n }),\n};\nconst statusRowHeadingStyles = css({\n backgroundColor: themeTokens.color.background.secondary.default,\n color: themeTokens.color.text.secondary,\n \"& td\": {\n font: text.body.bold.small,\n textTransform: \"uppercase\",\n verticalAlign: \"middle\",\n },\n});\nconst statusRowHeadingContainerStyles = css({\n display: \"flex\",\n alignItems: \"center\",\n gap: space[8],\n marginLeft: space[8],\n});\n","import type { ConnectTenantsToProjectTaskResource } from \"@octopusdeploy/octopus-server-client\";\nimport { BusinessProcessState } from \"@octopusdeploy/octopus-server-client\";\nimport { useState } from \"react\";\nimport { repository } from \"~/clientInstance\";\nimport type { DoBusyTask } from \"~/components/DataBaseComponent/index\";\nimport { useDoBusyTaskEffect } from \"~/components/DataBaseComponent/index\";\nimport { useRefreshLoop } from \"~/hooks/useRefreshLoop\";\nimport type { RefreshLoop } from \"~/utils/RefreshLoop/refresh-loop\";\nconst getFirstInProgressTask = (tasks: ConnectTenantsToProjectTaskResource[]) => tasks.find((t) => t.State === BusinessProcessState.InProgress);\nconst getFirstCompletedTask = (tasks: ConnectTenantsToProjectTaskResource[]) => tasks.find((t) => t.State === BusinessProcessState.Completed);\nexport function useConnectionTaskLoop(doBusyTask: DoBusyTask, projectId: string): [\n ConnectTenantsToProjectTaskResource | undefined | \"NotLoaded\",\n RefreshLoop\n] {\n const [latestConnectionTask, setLatestConnectionTask] = useState(\"NotLoaded\");\n const connectingTenantsTaskRequest = useDoBusyTaskEffect(doBusyTask, async () => {\n const tasks = (await repository.Projects.getConnectingTenantsTask(projectId, 24)).Tasks;\n const latestTask = getFirstInProgressTask(tasks) ?? getFirstCompletedTask(tasks);\n setLatestConnectionTask(latestTask);\n if (!latestTask || latestTask.State === BusinessProcessState.Completed) {\n loop.stop();\n }\n }, []);\n const loop = useRefreshLoop(connectingTenantsTaskRequest, 5000);\n return [latestConnectionTask, loop];\n}\n","import type { ConnectTenantsToProjectTaskResource, ProjectTenant } from \"@octopusdeploy/octopus-server-client\";\nimport type React from \"react\";\nimport { useRef, useState } from \"react\";\nimport { repository } from \"~/clientInstance\";\nimport type { DoBusyTask } from \"~/components/DataBaseComponent/index\";\nimport { useDoBusyTaskEffect } from \"~/components/DataBaseComponent/index\";\nimport useLocalStorage from \"~/hooks/useLocalStorage\";\nimport RequestRaceConditioner from \"~/utils/RequestRaceConditioner/index\";\nconst projectTenantsPagingSizeKey = \"octoProjectTenantsPagingSize\";\ninterface ProjectTenantsTableState {\n tenants: ProjectTenant[];\n filteredTenantsCount: number;\n totalTenantCount: number;\n}\ninterface ProjectTenantsStateActions {\n setPageNumber: (newPageNumber: number) => void;\n setPageSize: (newPageSize: number) => void;\n refreshTable: () => void;\n setSearchName: (name: string) => void;\n}\ninterface TenantsPageState {\n pageNumber: number;\n pageSize: number;\n}\ninterface ProjectTenantsState {\n searchName: string;\n tableState: ProjectTenantsTableState | null;\n pageState: TenantsPageState;\n actions: ProjectTenantsStateActions;\n}\ninterface ProjectTenantsFilterParams {\n pageNumber: number;\n name: string;\n}\nexport function useProjectTenantsState(projectId: string, doBusyTask: DoBusyTask, updateShowActionButtons: (show: boolean) => void, latestConnectionTask: ConnectTenantsToProjectTaskResource | undefined): ProjectTenantsState {\n const [pageSize, setPageSize] = useLocalStorage(projectTenantsPagingSizeKey, 30);\n const [tableState, setTableState] = useState(null);\n const [dataVersion, setDataVersion] = useState(1);\n const [filter, setFilter] = useState({ pageNumber: 1, name: \"\" });\n const raceConditionerRef: Readonly> = useRef(new RequestRaceConditioner());\n useDoBusyTaskEffect(doBusyTask, async () => {\n await raceConditionerRef.current.avoidStaleResponsesForRequest(repository.Projects.getTenants(projectId, filter.pageNumber, pageSize, filter.name), (response) => {\n setTableState({ tenants: response.Tenants, totalTenantCount: response.TotalTenantCount, filteredTenantsCount: response.FilteredTenantCount });\n updateShowActionButtons(response.TotalTenantCount !== 0);\n });\n }, [pageSize, latestConnectionTask?.ConnectionsCompleted, latestConnectionTask?.Id, dataVersion, filter]);\n const actions: ProjectTenantsStateActions = {\n setPageNumber: (newPageNumber) => setFilter({ ...filter, pageNumber: newPageNumber }),\n setPageSize: (newPageSize) => setPageSize(newPageSize),\n refreshTable: () => setDataVersion(dataVersion + 1),\n setSearchName: (name: string) => setFilter({ ...filter, name, pageNumber: 1 }), // Reset to first page when filter changed\n };\n return {\n searchName: filter.name,\n tableState,\n pageState: {\n pageNumber: filter.pageNumber,\n pageSize,\n },\n actions,\n };\n}\n","/* eslint-disable @typescript-eslint/no-non-null-assertion */\nimport type { ProjectGroupResource } from \"@octopusdeploy/octopus-server-client\";\nimport * as React from \"react\";\nimport type { ActionEvent, AnalyticActionDispatcher, AnalyticTrackedActionDispatcher } from \"~/analytics/Analytics\";\nimport { Action, useAnalyticActionDispatch, useAnalyticTrackedActionDispatch } from \"~/analytics/Analytics\";\nimport { repository } from \"~/clientInstance\";\nimport type { DataBaseComponentState } from \"~/components/DataBaseComponent/DataBaseComponent\";\nimport { DataBaseComponent } from \"~/components/DataBaseComponent/DataBaseComponent\";\nimport SaveDialogLayout from \"~/components/DialogLayout/SaveDialogLayout\";\nimport { required, Text } from \"~/components/form\";\nimport MarkdownEditor from \"../../../../components/form/MarkdownEditor/MarkdownEditor\";\ninterface AddProjectGroupProps {\n projectGroupCreated(resource: ProjectGroupResource): void;\n}\ninterface AddProjectGroupPropsInternal extends AddProjectGroupProps {\n dispatchAction: AnalyticActionDispatcher;\n trackAction: AnalyticTrackedActionDispatcher;\n}\ninterface AddProjectGroupState extends DataBaseComponentState {\n name?: string;\n description?: string;\n}\nclass AddProjectGroupInternal extends DataBaseComponent {\n constructor(props: AddProjectGroupPropsInternal) {\n super(props);\n this.state = {};\n }\n async save() {\n await this.doBusyTask(async () => {\n const ev: ActionEvent = {\n action: Action.Save,\n resource: \"Project Group\",\n };\n return await this.props.trackAction(\"Save Project Group\", ev, async () => {\n const result = await repository.ProjectGroups.create({\n Id: null!,\n Name: this.state.name!,\n Description: this.state.description,\n EnvironmentIds: [],\n Links: null!,\n RetentionPolicyId: null,\n }, {});\n this.props.projectGroupCreated(result);\n return true;\n });\n });\n return false;\n }\n handleDescriptionChanged = async (description: string) => {\n // in dobusy so the dialog resizes if the markdowneditor grows\n await this.doBusyTask(async () => {\n this.setState({ description });\n });\n };\n render() {\n return ( this.save()} onCancelClick={() => {\n const ev: ActionEvent = {\n action: Action.Cancel,\n resource: \"Project Group\",\n };\n this.props.dispatchAction(\"Cancel adding Project Group\", ev);\n return true;\n }}>\n this.setState({ name })} validate={required(\"Please enter a project group name\")} autoFocus={true}/>\n \n );\n }\n static displayName = \"AddProjectGroupInternal\";\n}\nexport function AddProjectGroup(props: AddProjectGroupProps) {\n const dispatchAction = useAnalyticActionDispatch();\n const trackAction = useAnalyticTrackedActionDispatch();\n return ;\n}\n","import { useMemo } from \"react\";\nimport * as React from \"react\";\nimport useLocalStorage from \"~/hooks/useLocalStorage\";\ninterface CollapsedColumnState {\n [key: string]: boolean;\n}\ntype CollapseColumnCallback = (prev: boolean) => boolean;\nconst getColumnCollapsed = (columns: CollapsedColumnState) => (id: string) => Boolean(columns[id]);\nconst collapsedColumnsStateKey = \"Octopus.Projects.CollapsedColumns\";\nexport function useCollapsableColumns() {\n const [collapsedColumns, setCollapsedColumns] = useLocalStorage(collapsedColumnsStateKey, {});\n const collapseColumn = React.useCallback((columnId: string, getNextCollapsedValue: CollapseColumnCallback) => setCollapsedColumns((prev) => {\n const isCollapsed = getColumnCollapsed(prev)(columnId);\n const nextValue = getNextCollapsedValue(isCollapsed);\n const hasChanged = isCollapsed !== nextValue;\n return hasChanged ? { ...prev, [columnId]: nextValue } : prev;\n }), [setCollapsedColumns]);\n const isColumnCollapsed = useMemo(() => getColumnCollapsed(collapsedColumns), [collapsedColumns]);\n return { isColumnCollapsed, collapseColumn };\n}\n","import { IconButton } from \"@octopusdeploy/design-system-components\";\nimport { StarOffIcon, StarOnIcon } from \"@octopusdeploy/design-system-icons\";\nimport { themeTokens } from \"@octopusdeploy/design-system-tokens\";\nimport React, { useState } from \"react\";\nexport function useOptimisticIsFavourite(isFavourite: boolean, setIsFavourite: (isFavourite: boolean) => Promise) {\n const [isPendingUpdate, setIsPendingUpdate] = useState(false);\n const [optimisticIsFavourite, setOptimisticIsFavourite] = useState(isFavourite);\n const optimisticSetIsFavourite = async (nextIsFavourite: boolean) => {\n setOptimisticIsFavourite(nextIsFavourite);\n setIsPendingUpdate(true);\n let success = false;\n try {\n success = await setIsFavourite(nextIsFavourite);\n }\n finally {\n setIsPendingUpdate(false);\n }\n return success;\n };\n return { optimisticIsFavourite: isPendingUpdate ? optimisticIsFavourite : isFavourite, optimisticSetIsFavourite, isPendingUpdate };\n}\ninterface ProjectFavouriteIconProps {\n isFavourite: boolean;\n setIsFavourite: (isFavourite: boolean) => Promise;\n isDisabled: boolean;\n projectName: string;\n}\nexport function ProjectFavouriteIconButton({ isFavourite, setIsFavourite, isDisabled, projectName }: ProjectFavouriteIconProps) {\n const accessibleName = isFavourite ? `Remove project ${projectName} from favorites` : `Add project ${projectName} to favorites`;\n return ( : } onClick={() => setIsFavourite(!isFavourite)} accessibleName={accessibleName}/>);\n}\ninterface OptimisticProjectFavouriteIconProps {\n isFavourite: boolean;\n setIsFavourite: (isFavourite: boolean) => Promise;\n projectName: string;\n}\nexport function OptimisticProjectFavouriteIconButton({ isFavourite, setIsFavourite, projectName }: OptimisticProjectFavouriteIconProps) {\n const { optimisticIsFavourite, optimisticSetIsFavourite, isPendingUpdate } = useOptimisticIsFavourite(isFavourite, setIsFavourite);\n return ;\n}\n","import { css, cx } from \"@emotion/css\";\nimport { Avatar, Tooltip, useIsHovered, useIsLargerThanIpadResolution, useIsMobile } from \"@octopusdeploy/design-system-components\";\nimport { UnavailableIcon } from \"@octopusdeploy/design-system-icons\";\nimport { space, text, themeTokens, borderRadius } from \"@octopusdeploy/design-system-tokens\";\nimport type { DetailedDashboardProject, InitialDashboardProject } from \"@octopusdeploy/octopus-server-client\";\nimport { links } from \"@octopusdeploy/portal-routes\";\nimport { useRef } from \"react\";\nimport * as React from \"react\";\nimport { ProjectFavouriteIconButton, useOptimisticIsFavourite } from \"~/areas/projects/components/ProjectLayout/ProjectFavouriteIconButton\";\nimport { projectStatusActions } from \"~/areas/projects/components/ProjectStatus/actions\";\nimport type { ProjectStatus } from \"~/areas/projects/components/ProjectStatus/useProjectStatus\";\nimport type { FavouriteProjectsData } from \"~/areas/projects/components/Projects/ProjectsDashboard\";\nimport { repository } from \"~/clientInstance\";\nimport FrozenIcon, { FrozenResourceType } from \"~/components/DeploymentFreezes/FrozenIcon\";\nimport InternalLink from \"~/components/Navigation/InternalLink/InternalLink\";\nimport { Skeleton } from \"~/components/Skeleton/Skeleton\";\ninterface ProjectsDashboardRowHeaderProps {\n favouriteProjectsData: FavouriteProjectsData;\n project: DetailedDashboardProject | InitialDashboardProject;\n projectStatus?: ProjectStatus;\n}\nexport function ProjectsDashboardRowHeaderContent({ favouriteProjectsData, project, projectStatus }: ProjectsDashboardRowHeaderProps) {\n const isLargerThanIpad = useIsLargerThanIpadResolution();\n const isFavourite = favouriteProjectsData.favouriteProjects.find((p) => p.Id === project.Id) !== undefined;\n const setIsFavourite = (isFavourite: boolean) => favouriteProjectsData.onFavouriteProjectChanged(project.Id, isFavourite);\n return (
    \n \n
    );\n}\nexport function ProjectsDashboardRowHeaderSkeleton() {\n const isLargerThanIpad = useIsLargerThanIpadResolution();\n return (\n \n );\n}\nconst tableCellStyles = css({\n padding: 0,\n});\nconst projectRowHeaderStyles = css({\n display: \"flex\",\n flexDirection: \"column\",\n width: \"18.625rem\",\n minWidth: \"18.625rem\",\n textAlign: \"start\",\n});\nconst projectRowHeaderMobileStyles = css({\n width: \"12rem\",\n minWidth: \"12rem\",\n});\ninterface ProjectLinkProps {\n isFavourite: boolean;\n setIsFavourite: (isFavourite: boolean) => Promise;\n project: DetailedDashboardProject | InitialDashboardProject;\n projectStatus?: ProjectStatus;\n}\nfunction ProjectLink({ project, setIsFavourite, isFavourite, projectStatus }: ProjectLinkProps) {\n const containerRef = useRef(null);\n const isHovered = useIsHovered(containerRef);\n const getIsFavouriteButtonVisible = (isFavourite: boolean) => isFavourite || isHovered;\n const { Name, ProjectLogo, Id, IsDisabled, IsFrozen } = project;\n // eslint-disable-next-line @typescript-eslint/no-non-null-assertion\n const projectUrl = links.projectRootRedirect.generateUrl({ spaceId: repository.spaceId!, projectSlug: Id });\n return (
    \n \n {\n projectStatus?.dispatch?.({ type: projectStatusActions.guidedSetupResumed });\n }}>\n
    \n
    \n \n
    \n {IsDisabled && (
    \n \n \n \n
    )}\n
    \n
    \n {Name}\n
    \n {IsFrozen && }\n
    \n
    );\n}\nfunction ProjectLinkSkeleton() {\n const isMobile = useIsMobile();\n return (
    \n
    \n
    \n
    \n
    \n
    \n \n
    \n \n \n \n
    \n
    );\n}\nconst favouriteButtonPlaceholderStyles = css({\n height: \"1.25rem\",\n width: \"1.25rem\",\n});\nconst avatarSkeletonStyles = css({\n height: \"2.25rem\",\n width: \"2.25rem\",\n});\nconst projectNameSkeletonStyles = css({\n height: \"1.25rem\",\n width: \"10.75rem\",\n});\nconst projectNameSkeletonMobileStyles = css({\n width: \"5rem\",\n});\nconst projectLinkRootStyles = css({\n display: \"flex\",\n alignItems: \"center\",\n padding: `${space[12]} 0`,\n});\nconst projectLinkStyles = css({\n display: \"flex\",\n gap: space[12],\n alignItems: \"center\",\n font: text.body.bold.medium,\n lineHeight: \"1.25rem\",\n color: `${themeTokens.color.text.primary} !important`,\n flex: 1,\n padding: `${space[6]} ${space[16]} ${space[6]} 0`,\n minHeight: \"3.25rem\",\n \"&:hover\": {\n span: {\n color: themeTokens.color.text.link.default,\n },\n },\n \":focus-visible\": {\n boxShadow: themeTokens.shadow.focused,\n outline: \"none\",\n borderRadius: borderRadius.small,\n },\n});\nconst projectAvatarWrapperStyles = css({\n position: \"relative\",\n alignSelf: \"center\",\n});\nconst unavailableIconContainerStyles = css({\n position: \"absolute\",\n top: \"50%\",\n left: \"50%\",\n transform: \"translate(-50%, -50%)\",\n color: themeTokens.color.icon.primary,\n});\nconst projectAvatarWrapperDisabledStyles = css({\n WebkitFilter: \"grayscale(1)\",\n filter: \"grayscale(1)\",\n opacity: 0.4,\n});\nconst projectNameStyles = css({\n overflow: \"hidden\",\n textOverflow: \"ellipsis\",\n wordBreak: \"break-word\",\n display: \"-webkit-box\",\n WebkitLineClamp: \"2\",\n WebkitBoxOrient: \"vertical\",\n});\nconst projectNameDisabledStyles = css({\n color: themeTokens.color.text.disabled,\n});\ninterface ProjectLinkFavouriteButtonProps {\n isFavourite: boolean;\n setIsFavourite: (isFavourite: boolean) => Promise;\n getIsVisible: (isFavourite: boolean) => boolean;\n projectName: string;\n}\nfunction ProjectLinkFavouriteButton({ isFavourite, setIsFavourite, projectName, getIsVisible }: ProjectLinkFavouriteButtonProps) {\n const { optimisticIsFavourite, optimisticSetIsFavourite, isPendingUpdate } = useOptimisticIsFavourite(isFavourite, setIsFavourite);\n return (
    \n \n
    );\n}\nconst projectLinkFavouriteButtonStyle = {\n favouriteButtonContainer: {\n root: css({\n display: \"flex\",\n alignItems: \"center\",\n justifyContent: \"flex-start\",\n padding: `${space[8]} ${space[8]} ${space[8]} ${space[16]}`,\n }),\n hidden: css({\n visibility: \"hidden\",\n }),\n visible: css({\n visibility: \"visible\",\n }),\n },\n};\n","import { css, cx } from \"@emotion/css\";\nimport { Badge, Button, scrollbarStyles, useIsHovered, useIsMobile } from \"@octopusdeploy/design-system-components\";\nimport { ArrowLeftFromLineIcon, ArrowRightToLineIcon, PenLineIcon, UnavailableIcon } from \"@octopusdeploy/design-system-icons\";\nimport { borderRadius, letterSpacing, space, text, themeTokens } from \"@octopusdeploy/design-system-tokens\";\nimport type { DetailedDashboardProjectGroup, EnvironmentWithDeployments, InitialDashboardProjectGroup, ProjectsPageEnvironmentDeployment, ProjectsPageProjectGroup, TenantDeploymentProgress, ProjectGroupLiveStatusRollupResource, } from \"@octopusdeploy/octopus-server-client\";\nimport { links } from \"@octopusdeploy/portal-routes\";\nimport * as React from \"react\";\nimport { useCollapsableColumns } from \"~/areas/dashboard/DashboardOverview/useCollapsableColumns\";\nimport { ProjectsDashboardRowHeaderContent, ProjectsDashboardRowHeaderSkeleton } from \"~/areas/dashboard/ProjectsDashboard/ProjectsDashboardRowHeaderContent\";\nimport type { ProjectStatus } from \"~/areas/projects/components/ProjectStatus/useProjectStatus\";\nimport type { FavouriteProjectsData } from \"~/areas/projects/components/Projects/ProjectsDashboard\";\nimport InternalLink from \"~/components/Navigation/InternalLink\";\nimport { Skeleton } from \"~/components/Skeleton/Skeleton\";\nimport { DeploymentTaskStatus } from \"../Deployments/DeploymentTaskStatus\";\ninterface ProjectGroupsProps {\n projectGroups: InitialDashboardProjectGroup[] | DetailedDashboardProjectGroup[] | ProjectsPageProjectGroup[];\n projectGroupsLiveStatus: ProjectGroupLiveStatusRollupResource[];\n showLiveStatus: boolean;\n onAddProjectToGroup: (projectGroupId: string) => void;\n favouriteProjectsData: FavouriteProjectsData;\n spaceId: string;\n projectStatus?: ProjectStatus;\n}\nexport function DashboardProjectGroups({ projectGroups, favouriteProjectsData, spaceId, onAddProjectToGroup, projectStatus, projectGroupsLiveStatus, showLiveStatus }: ProjectGroupsProps) {\n return (
    \n {projectGroups.map((group, index) => ( x.Id === group.Id)}/>))}\n
    );\n}\nexport function ProjectGroupDeploymentsSkeleton() {\n return (
    \n \n
    \n \n \n \n \n \n {[...Array(3)].map((_item, index) => (\n \n \n ))}\n \n
    \n
    \n
    );\n}\nconst projectGroupsStyles = css({\n display: \"flex\",\n flexDirection: \"column\",\n gap: space[24],\n});\ninterface DashboardProjectGroupProps {\n favouriteProjectsData: FavouriteProjectsData;\n projectGroup: InitialDashboardProjectGroup | DetailedDashboardProjectGroup | ProjectsPageProjectGroup;\n onAddProjectToGroup: (projectGroupId: string) => void;\n spaceId: string;\n projectStatus?: ProjectStatus;\n projectGroupLiveStatus?: ProjectGroupLiveStatusRollupResource;\n showLiveStatus: boolean;\n}\nfunction DashboardProjectGroup({ projectGroup, favouriteProjectsData, spaceId, onAddProjectToGroup, projectStatus, showLiveStatus, projectGroupLiveStatus }: DashboardProjectGroupProps) {\n const showingPartialResults = projectGroup.Projects.length !== projectGroup.TotalProjects;\n return (
    \n \n \n {showingPartialResults && (
    \n Showing {projectGroup.Projects.length} of {projectGroup.TotalProjects}\n
    )}\n
    );\n}\nconst continuedOverPageStyles = css({\n display: \"flex\",\n justifyContent: \"end\",\n padding: `${space[6]} ${space[16]} ${space[6]} ${space[16]}`,\n font: text.body.regular.small,\n color: themeTokens.color.text.tertiary,\n backgroundColor: themeTokens.color.background.secondary.default,\n});\nconst projectGroupStyles = css({\n display: \"flex\",\n flexDirection: \"column\",\n border: `1px solid ${themeTokens.color.border.primary}`,\n borderRadius: borderRadius.medium,\n});\ninterface ProjectGroupHeaderProps {\n projectGroupId: string;\n title: string;\n description?: string;\n projectCount: number;\n spaceId: string;\n}\nfunction ProjectGroupHeader({ projectGroupId, title, description, projectCount, spaceId }: ProjectGroupHeaderProps) {\n const groupHeaderSectionRef = React.useRef(null);\n const isHovered = useIsHovered(groupHeaderSectionRef);\n const isMobile = useIsMobile();\n return (
    \n

    \n {title}\n \n
    \n \n \n \n
    \n

    \n {description &&

    {description}

    }\n
    );\n}\nconst hideEditIconContainerStyles = css({\n display: \"none\",\n});\nconst showEditIconContainerStyles = css({\n display: \"block\",\n});\nfunction ProjectGroupHeaderSkeleton() {\n return (
    \n
    \n \n
    \n
    );\n}\nconst projectGroupHeaderStyles = {\n root: css({\n display: \"flex\",\n flexDirection: \"column\",\n padding: `${space[16]} ${space[16]} ${space[12]} ${space[16]}`,\n borderBottom: `1px solid ${themeTokens.color.border.primary}`,\n }),\n groupName: css({\n all: \"unset\",\n font: text.body.bold.large,\n letterSpacing: letterSpacing.wider,\n display: \"flex\",\n gap: space[8],\n alignItems: \"center\",\n }),\n skeleton: css({\n width: \"16.25rem\",\n height: \"1.5rem\",\n }),\n};\ninterface ProjectGroupDeploymentsTableProps {\n favouriteProjectsData: FavouriteProjectsData;\n onAddProjectToGroup: (projectGroupId: string) => void;\n group: InitialDashboardProjectGroup | DetailedDashboardProjectGroup | ProjectsPageProjectGroup;\n projectStatus?: ProjectStatus;\n showLiveStatus: boolean;\n projectGroupLiveStatus?: ProjectGroupLiveStatusRollupResource;\n spaceId: string;\n}\nfunction isDetailedDashboardProjectGroup(group: InitialDashboardProjectGroup | DetailedDashboardProjectGroup | ProjectsPageProjectGroup): group is DetailedDashboardProjectGroup | ProjectsPageProjectGroup {\n return group && \"Environments\" in group && Boolean(group.Environments);\n}\nfunction ProjectGroupDeploymentsTable({ spaceId, group, favouriteProjectsData, onAddProjectToGroup, projectStatus, showLiveStatus, projectGroupLiveStatus }: ProjectGroupDeploymentsTableProps) {\n return isDetailedDashboardProjectGroup(group) ? () : ();\n}\ninterface ProjectGroupDetailedDeploymentsTableProps {\n favouriteProjectsData: FavouriteProjectsData;\n onAddProjectToGroup: (projectGroupId: string) => void;\n group: DetailedDashboardProjectGroup | ProjectsPageProjectGroup;\n projectStatus?: ProjectStatus;\n showLiveStatus: boolean;\n projectGroupLiveStatus?: ProjectGroupLiveStatusRollupResource;\n spaceId: string;\n}\nfunction ProjectGroupDetailedDeploymentsTable({ spaceId, group, favouriteProjectsData, onAddProjectToGroup, projectStatus, showLiveStatus, projectGroupLiveStatus }: ProjectGroupDetailedDeploymentsTableProps) {\n const { isColumnCollapsed, collapseColumn } = useCollapsableColumns();\n const collapseAllEnvironmentHeader = React.useMemo(() => {\n const hasAllCollapsed = group.Environments.every((x) => isColumnCollapsed(`${group.Id}-${x.Id}`) === true);\n const allEnvironmentsKey = \"{{ALL}}\";\n return ( {\n group.Environments.map((x) => {\n collapseColumn(`${group.Id}-${x.Id}`, () => !hasAllCollapsed);\n });\n }}/>);\n }, [collapseColumn, group.Environments, group.Id, isColumnCollapsed]);\n if (group.TotalProjects === 0) {\n return onAddProjectToGroup(group.Id)}/>;\n }\n return (
    \n \n \n \n \n {group.Environments.map((env) => ( collapseColumn(`${group.Id}-${env.Id}`, (prev) => !prev)}/>))}\n \n \n \n {group.Projects.map((project, index, arr) => {\n const projectLiveStatus = projectGroupLiveStatus?.Projects.find((x) => x.Id === project.Id);\n return (\n \n {project.Environments.map((environment) => {\n const latestDeployment = environment.Deployment;\n const isCollapsed = isColumnCollapsed(`${group.Id}-${environment.Id}`);\n const tenantProgress = latestDeployment?.TenantId ? getDeploymentTenantProgress(environment) || \"tenanted\" : \"hidden\";\n if (!latestDeployment) {\n return (\n \n );\n }\n const environmentLiveStatus = showLiveStatus ? projectLiveStatus?.Environments.find((x) => x.Id === environment.Id) : undefined;\n return (\n \n );\n })}\n );\n })}\n \n
    \n {collapseAllEnvironmentHeader}\n
    \n \n
    \n
    );\n}\ninterface EmptyProjectGroupProps {\n onAddProjectToGroup: () => void;\n}\nfunction EmptyProjectGroup({ onAddProjectToGroup }: EmptyProjectGroupProps) {\n return (
    \n
    \n
    \n
    );\n}\nconst emptyProjectGroupStyles = {\n root: css({\n padding: space[24],\n display: \"flex\",\n flexDirection: \"column\",\n alignItems: \"center\",\n }),\n callToAction: css({\n rowGap: space[8],\n padding: space[48],\n alignSelf: \"stretch\",\n justifyContent: \"center\",\n borderRadius: borderRadius.small,\n display: \"flex\",\n flexDirection: \"column\",\n alignItems: \"center\",\n backgroundColor: themeTokens.color.background.secondary.default,\n color: themeTokens.color.text.secondary,\n }),\n};\nconst stickyColumn = css({\n position: \"sticky\",\n left: 0,\n backgroundColor: themeTokens.color.background.primary.default,\n zIndex: 1,\n});\nconst lastRowHeaderStyle = css({\n borderRadius: borderRadius.medium,\n});\nconst tableStyle = css({\n borderSpacing: \"unset\",\n});\nfunction getDeploymentTenantProgress(value: ProjectsPageEnvironmentDeployment | EnvironmentWithDeployments): TenantDeploymentProgress | undefined {\n return \"TenantDeploymentProgress\" in value ? value.TenantDeploymentProgress : undefined;\n}\nconst deploymentsTableContainerStyle = css({\n width: \"100%\",\n overflowX: \"auto\",\n isolation: \"isolate\",\n});\nconst disabledProjectRowStyles = css({\n opacity: 0.4,\n});\nexport const deploymentsTableColumnHeaderStyles = css({\n height: \"2.25rem\",\n});\nconst deploymentStatusCellCollapsedStyles = css({\n minWidth: \"104px\",\n maxWidth: \"104px\",\n});\nconst tableCellStyles = css({\n padding: 0,\n});\nconst tableCellExpandedStyles = css({\n minWidth: \"14rem\",\n});\ninterface DeploymentStatusCellProps {\n children: React.ReactNode;\n isCollapsed: boolean;\n}\nfunction DeploymentStatusCell({ children, isCollapsed }: DeploymentStatusCellProps) {\n return (\n
    {children}
    \n );\n}\nexport const deploymentCellStyles = css({\n display: \"flex\", // Needed to maintain vertically center alignment.\n padding: `${space[12]} ${space[6]}`,\n});\ninterface ProjectGroupInitialDeploymentsTableProps {\n favouriteProjectsData: FavouriteProjectsData;\n group: InitialDashboardProjectGroup;\n onAddProjectToGroup: (projectGroupId: string) => void;\n projectStatus?: ProjectStatus;\n}\nfunction ProjectGroupInitialDeploymentsTable({ favouriteProjectsData, group, onAddProjectToGroup, projectStatus }: ProjectGroupInitialDeploymentsTableProps) {\n if (group.TotalProjects === 0) {\n return onAddProjectToGroup(group.Id)}/>;\n }\n return (
    \n \n \n \n \n \n {group.Projects.map((project, index, arr) => (\n \n \n ))}\n \n
    \n \n
    \n
    );\n}\nconst environmentHeaderPlaceholderStyles = css({\n height: \"2.25rem\",\n});\nfunction ProjectDeploymentRowSkeleton() {\n return (<>\n {[...Array(4)].map((_, index) => (\n
    \n \n
    \n
    ))}\n );\n}\nconst deploymentSkeletonStyles = css({\n height: \"1.25rem\",\n width: \"10.75rem\",\n alignSelf: \"center\",\n});\nconst noDataStyles = css({\n display: \"flex\",\n columnGap: space[6],\n font: text.body.bold.medium,\n color: themeTokens.color.text.disabled,\n alignItems: \"center\",\n padding: space[6],\n});\ninterface NoDataProps {\n isCollapsed: boolean;\n}\nfunction NoData({ isCollapsed }: NoDataProps) {\n return (
    \n \n {!isCollapsed && \"No Data\"}\n
    );\n}\ninterface EnvironmentColumnHeaderProps {\n name: string;\n isCollapsed: boolean;\n toggleCollapse: () => void;\n}\nconst environmentColumnHeaderCollapseContainerStyles = css({\n display: \"flex\",\n alignItems: \"center\",\n});\nfunction EnvironmentColumnHeader({ name, toggleCollapse, isCollapsed }: EnvironmentColumnHeaderProps) {\n const containerRef = React.useRef(null);\n const isHovered = useIsHovered(containerRef);\n return (\n
    \n
    {name}
    \n
    \n \n
    \n
    \n );\n}\nfunction AllEnvironmentsColumnHeader({ name, toggleCollapse, isCollapsed }: EnvironmentColumnHeaderProps) {\n const containerRef = React.useRef(null);\n const isHovered = useIsHovered(containerRef);\n return (
    \n
    \n \n
    \n
    );\n}\nconst environmentColumnHeaderNameStyles = css({\n flex: 1,\n});\nconst collapsedEnvironmentColumnHeaderNameStyles = css({\n textOverflow: \"ellipsis\",\n overflow: \"hidden\",\n});\ninterface ColumnCollapseButtonProps {\n isCollapsed: boolean;\n onToggle: () => void;\n isVisible: boolean;\n columnLabel: string;\n showLabel: boolean;\n}\nconst columnCollapseButtonStyles = css({\n backgroundColor: \"transparent\",\n border: \"none\",\n color: \"inherit\",\n padding: 0,\n cursor: \"pointer\",\n display: \"flex\",\n gap: space[4],\n alignItems: \"center\",\n justifyContent: \"end\",\n font: text.body.bold.xSmall,\n letterSpacing: letterSpacing.wider,\n textTransform: \"uppercase\",\n});\nconst hiddenColumnCollapseButtonStyles = css({\n display: \"none\",\n});\nfunction ColumnCollapseButton({ isCollapsed, onToggle, isVisible, columnLabel, showLabel }: ColumnCollapseButtonProps) {\n return ();\n}\nconst environmentColumnHeaderStyles = css({\n color: themeTokens.color.text.tertiary,\n font: text.body.bold.xSmall,\n letterSpacing: letterSpacing.wider,\n textTransform: \"uppercase\",\n textAlign: \"start\",\n paddingTop: space[16],\n paddingLeft: space[8],\n paddingRight: space[8],\n display: \"flex\",\n justifyContent: \"end\",\n \"&:hover\": {\n color: themeTokens.color.text.primary,\n },\n});\nconst allEnvironmentHeaderColumnHeaderStyles = css({\n textAlign: \"end\",\n});\nconst environmentHeaderColumnHeaderCollapsedStyles = css({\n minWidth: \"6.5rem\",\n maxWidth: \"6.5rem\",\n textOverflow: \"ellipsis\",\n overflow: \"hidden\",\n whiteSpace: \"nowrap\",\n});\n","import { css, cx } from \"@emotion/css\";\nimport { BooleanRadioButton, BooleanRadioButtonGroup, useIsMobile } from \"@octopusdeploy/design-system-components\";\nimport { space, text, themeTokens } from \"@octopusdeploy/design-system-tokens\";\nimport { useAggregateAPIOperationStatus } from \"@octopusdeploy/octopus-react-client\";\nimport type { DashboardConfigurationResource, EnvironmentResource, ProjectGroupResource, ProjectSummaryResource, TenantResource } from \"@octopusdeploy/octopus-server-client\";\nimport { Permission } from \"@octopusdeploy/octopus-server-client\";\nimport { useCallback } from \"react\";\nimport * as React from \"react\";\nimport { repository } from \"~/clientInstance\";\nimport { type DoBusyTask, useDoBusyTaskEffect } from \"~/components/DataBaseComponent/index\";\nimport { useLegacyDoBusyTask } from \"~/components/DataBaseComponent/useLegacyDoBusyTask\";\nimport CustomSaveDialogLayout from \"~/components/DialogLayout/Custom/CustomSaveDialogLayout\";\nimport { ContentSizeBasedDialogFrame, CustomDialogActions, CustomSaveDialogActions } from \"~/components/DialogLayout/Custom/index\";\nimport { Feature, FeatureToggle } from \"~/components/FeatureToggle/index\";\nimport { EnvironmentMultiSelect } from \"~/components/MultiSelect/EnvironmentMultiSelect\";\nimport { ProjectGroupMultiSelect } from \"~/components/MultiSelect/ProjectGroupMultiSelect\";\nimport { ProjectMultiSelect } from \"~/components/MultiSelect/ProjectMultiSelect\";\nimport { TenantMultiSelect } from \"~/components/MultiSelect/TenantMultiSelect\";\nimport { TenantTagMultiSelect } from \"~/components/MultiSelect/TenantTagMultiSelect\";\nimport { isAllowed } from \"~/components/PermissionCheck/PermissionCheck\";\nimport { PermissionCheck } from \"~/components/PermissionCheck/index\";\nimport { useForm } from \"~/components/form/Form/Form\";\ninterface ProjectsDashboardAdvancedFiltersDialogProps {\n dashboardConfiguration: DashboardConfigurationResource;\n onDashboardConfigurationChange: (newValue: DashboardConfigurationResource) => void;\n open: boolean;\n close: () => void;\n}\ninterface DashboardConfigurationModel extends DashboardConfigurationResource {\n includeAllProjectGroups: boolean;\n includeAllProjects: boolean;\n includeAllEnvironments: boolean;\n includeAllTenants: boolean;\n}\nexport function ProjectsDashboardAdvancedFiltersDialogLayout({ onDashboardConfigurationChange, close, open, dashboardConfiguration }: ProjectsDashboardAdvancedFiltersDialogProps) {\n const { doBusyTask, status: doBusyTaskStatus } = useLegacyDoBusyTask();\n const { projects, projectGroups, environments, tenants } = useAdvancedFiltersRelatedData(doBusyTask, open);\n //We aren't using a Form in the dialog yet, however, this should change\n //when FEF works through dialogs.\n const { isDisabled, setModel, model, submit, isSubmitting } = useForm({\n initialModel: getConfigurationModel(dashboardConfiguration),\n formName: \"Change Advanced Dashboard Filters\",\n onSubmit: async (repository, model) => {\n const dashboardConfig = getResourceFromModel(model);\n return getConfigurationModel(await repository.DashboardConfiguration.modify(dashboardConfig));\n },\n afterSubmit: async (_, updatedModel) => {\n const dashboardConfig = getResourceFromModel(updatedModel);\n onDashboardConfigurationChange(dashboardConfig);\n },\n });\n const onModelUpdated = useCallback((partialModel: Partial) => {\n setModel((prev) => (prev ? { ...prev, ...partialModel } : prev));\n }, [setModel]);\n const { isInProgress, errors } = useAggregateAPIOperationStatus(doBusyTaskStatus);\n return ( {\n await submit();\n return true;\n }} busy={isInProgress} errors={errors} renderTitle={() => } renderContent={() => {\n return ;\n }} renderActions={(renderProps) => }/>}/>);\n}\nfunction getResourceFromModel(model: DashboardConfigurationModel): DashboardConfigurationResource {\n const { includeAllEnvironments, includeAllProjectGroups, includeAllProjects, includeAllTenants, ...dashboardConfig } = model;\n if (includeAllProjectGroups) {\n dashboardConfig.IncludedProjectGroupIds.length = 0;\n }\n if (includeAllProjects) {\n dashboardConfig.IncludedProjectIds.length = 0;\n }\n if (includeAllEnvironments) {\n dashboardConfig.IncludedEnvironmentIds.length = 0;\n }\n if (includeAllTenants) {\n dashboardConfig.IncludedTenantTags.length = 0;\n dashboardConfig.IncludedTenantIds.length = 0;\n }\n return dashboardConfig;\n}\nfunction useAdvancedFiltersRelatedData(doBusyTask: DoBusyTask, open: boolean) {\n const [projects, setProjects] = React.useState([]);\n const [projectGroups, setProjectGroups] = React.useState([]);\n const [environments, setEnvironments] = React.useState([]);\n const [tenants, setTenants] = React.useState([]);\n useDoBusyTaskEffect(doBusyTask, async () => {\n if (!open)\n return;\n setProjects(await repository.Projects.summaries());\n setProjectGroups(await repository.ProjectGroups.all());\n setEnvironments(await repository.Environments.all());\n isAllowed({ permission: Permission.TenantView, tenant: \"*\" }) && setTenants(await repository.Tenants.all());\n }, [open]);\n return { projects, projectGroups, environments, tenants };\n}\nfunction getConfigurationModel(configuration: DashboardConfigurationResource): DashboardConfigurationModel {\n return {\n ...configuration,\n includeAllProjectGroups: !configuration.IncludedProjectGroupIds.length,\n includeAllProjects: !configuration.IncludedProjectIds.length,\n includeAllEnvironments: !configuration.IncludedEnvironmentIds.length,\n includeAllTenants: !configuration.IncludedTenantIds.length && !configuration.IncludedTenantTags.length,\n };\n}\nfunction AdvancedFiltersDialogHeader() {\n const isMobile = useIsMobile();\n return (
    \n
    Filters
    \n
    Change and save the default view of the dashboard to display all or only selected projects, environments or releases for a tenant.
    \n
    );\n}\nconst dialogWidthStyles = css({\n width: \"44.5rem\",\n});\nconst dialogWidthMobileStyles = css({\n width: \"100%\",\n});\nconst dialogHeaderStyles = css({\n padding: space[24],\n display: \"flex\",\n flexDirection: \"column\",\n gap: space[8],\n});\nconst dialogTitleStyles = css({\n font: text.heading.medium,\n});\nconst dialogDescriptionStyles = css({\n font: text.body.regular.medium,\n color: themeTokens.color.text.secondary,\n});\ninterface AdvancedFiltersDialogContentProps {\n projects: ProjectSummaryResource[];\n projectGroups: ProjectGroupResource[];\n environments: EnvironmentResource[];\n tenants: TenantResource[];\n filtersModel: DashboardConfigurationModel;\n setFiltersModel: (arg: Partial) => void;\n doBusyTask: DoBusyTask;\n}\nfunction AdvancedFiltersDialogContent({ projects, projectGroups, environments, tenants, filtersModel, setFiltersModel, doBusyTask }: AdvancedFiltersDialogContentProps) {\n const isMobile = useIsMobile();\n return (
    \n \n setFiltersModel({ includeAllProjectGroups })} value={filtersModel.includeAllProjectGroups} noMargin={true}>\n \n \n \n {filtersModel.includeAllProjectGroups || setFiltersModel({ IncludedProjectGroupIds })} value={filtersModel.IncludedProjectGroupIds} items={projectGroups}/>}\n \n \n setFiltersModel({ includeAllProjects })} value={filtersModel.includeAllProjects}>\n \n \n \n {filtersModel.includeAllProjects || setFiltersModel({ IncludedProjectIds })} value={filtersModel.IncludedProjectIds} items={projects}/>}\n \n \n setFiltersModel({ includeAllEnvironments })} value={filtersModel.includeAllEnvironments}>\n \n \n \n {filtersModel.includeAllEnvironments || setFiltersModel({ IncludedEnvironmentIds })} value={filtersModel.IncludedEnvironmentIds}/>}\n \n \n \n \n setFiltersModel({ includeAllTenants })} value={filtersModel.includeAllTenants}>\n \n \n \n {filtersModel.includeAllTenants || (
    \n setFiltersModel({ IncludedTenantIds })}/>\n setFiltersModel({ IncludedTenantTags })}/>\n
    )}\n
    \n
    \n
    \n
    );\n}\nconst dialogContentStyles = css({\n padding: `0 ${space[24]} ${space[24]} ${space[24]}`,\n height: \"31rem\",\n overflowY: \"auto\",\n});\ninterface AdvancedFilterSectionProps {\n sectionTitle: string;\n sectionDescription: string;\n children: React.ReactNode;\n}\nfunction AdvancedFilterSection({ sectionTitle, sectionDescription, children }: AdvancedFilterSectionProps) {\n const isMobile = useIsMobile();\n return (
    \n
    \n
    {sectionTitle}
    \n
    {sectionDescription}
    \n
    \n
    {children}
    \n
    );\n}\nconst advancedFilterStyles = css({\n display: \"flex\",\n justifyContent: \"space-between\",\n gap: space[24],\n borderTop: `1px solid ${themeTokens.color.border.primary}`,\n padding: `${space[16]} 0`,\n});\nconst advancedFilterMobileStyles = css({\n flexDirection: \"column\",\n});\nconst filterInfoStyles = css({\n display: \"flex\",\n flexDirection: \"column\",\n gap: space[4],\n width: \"15rem\",\n});\nconst filterTitleStyles = css({\n font: text.body.bold.medium,\n});\nconst filterDescriptionStyles = css({\n color: themeTokens.color.text.secondary,\n font: text.body.regular.medium,\n});\nconst filterContentStyles = css({\n display: \"flex\",\n flexDirection: \"column\",\n flex: 1,\n});\n","import { css } from \"@emotion/css\";\nimport { ActionButton, ActionButtonType } from \"@octopusdeploy/design-system-components\";\nimport { FilterIcon } from \"@octopusdeploy/design-system-icons\";\nimport type { DashboardConfigurationResource } from \"@octopusdeploy/octopus-server-client\";\nimport { useState } from \"react\";\nimport * as React from \"react\";\nimport { ProjectsDashboardAdvancedFiltersDialogLayout } from \"~/areas/dashboard/DashboardConfiguration/ProjectsDashboardAdvancedFiltersDialogLayout\";\nimport { CustomDialog } from \"~/components/Dialog/CustomDialog\";\nimport { useDialogTrigger } from \"~/components/Dialog/DialogTrigger\";\nimport { Skeleton } from \"~/components/Skeleton/Skeleton\";\ninterface ProjectsDashboardAdvancedFiltersProps {\n onAdvancedFilterChange: () => void;\n initialDashboardConfiguration: DashboardConfigurationResource;\n}\nexport function ProjectsDashboardAdvancedFilters({ onAdvancedFilterChange, initialDashboardConfiguration }: ProjectsDashboardAdvancedFiltersProps) {\n const { isOpen: isAdvancedFiltersDialogOpen, openDialog: openAdvancedFiltersDialog, closeDialog: closeAdvancedFiltersDialog } = useDialogTrigger();\n const [dashboardConfiguration, setDashboardConfiguration] = useState(initialDashboardConfiguration);\n const appliedFilterCount = getAppliedConfigurationFiltersCount(dashboardConfiguration);\n const handleFilterChanged = React.useCallback((dashboardConfiguration: DashboardConfigurationResource) => {\n setDashboardConfiguration(dashboardConfiguration);\n onAdvancedFilterChange();\n }, [onAdvancedFilterChange]);\n return (<>\n } onClick={openAdvancedFiltersDialog}/>\n }/>\n );\n}\nfunction getAppliedConfigurationFiltersCount(configurationData?: DashboardConfigurationResource): number {\n if (!configurationData) {\n return 0;\n }\n const filtersToCount = [configurationData.IncludedProjectIds, configurationData.IncludedProjectGroupIds, configurationData.IncludedEnvironmentIds, [...configurationData.IncludedTenantIds, ...configurationData.IncludedTenantTags]];\n return filtersToCount.reduce((prev, item) => {\n if (item.length === 0) {\n return prev;\n }\n return prev + 1;\n }, 0);\n}\nexport function ProjectsDashboardAdvancedFiltersSkeleton() {\n return (
    \n \n
    );\n}\nconst skeletonStyles = css({\n height: \"2.25rem\",\n width: \"11.125rem\",\n});\n","import { css } from \"@emotion/css\";\nimport { SearchInput, useDebouncedCallback } from \"@octopusdeploy/design-system-components\";\nimport { useEffect } from \"react\";\nimport * as React from \"react\";\nimport { Skeleton } from \"~/components/Skeleton/Skeleton\";\ninterface ProjectDashboardSearchBoxProps {\n searchValue?: string;\n onSearchValueChange: (newValue: string) => void;\n}\nexport function ProjectsDashboardSearchBox({ searchValue, onSearchValueChange }: ProjectDashboardSearchBoxProps) {\n const [internalSearchValue, setInternalSearchValue] = React.useState(searchValue ?? \"\");\n const debouncedOnSearchValueChange = useDebouncedCallback(() => onSearchValueChange(internalSearchValue), 200);\n useEffect(() => {\n if (searchValue) {\n setInternalSearchValue(searchValue);\n }\n }, [searchValue]);\n const internalOnSearchValueChange = (newValue: string) => {\n setInternalSearchValue(newValue);\n if (newValue === \"\") {\n debouncedOnSearchValueChange.cancel();\n onSearchValueChange(\"\");\n }\n else {\n debouncedOnSearchValueChange();\n }\n };\n return ;\n}\nexport function ProjectsDashboardSearchBoxSkeleton() {\n return (
    \n \n
    );\n}\nconst searchInputSkeletonStyles = css({\n width: \"19rem\",\n height: \"2.25rem\",\n});\n","import { css } from \"@emotion/css\";\nimport type { PageAction, PrimaryPageAction } from \"@octopusdeploy/design-system-components\";\nimport { Pagination } from \"@octopusdeploy/design-system-components\";\nimport { space } from \"@octopusdeploy/design-system-tokens\";\nimport type { ApiOperationStatus } from \"@octopusdeploy/octopus-react-client\";\nimport { useInlineStatusQuery } from \"@octopusdeploy/octopus-react-client\";\nimport type { DashboardConfigurationResource, LiveStatusDashboardFilter, ProjectsDashboardFilter, UserFavouriteProjectSummary, Repository } from \"@octopusdeploy/octopus-server-client\";\nimport { Permission } from \"@octopusdeploy/octopus-server-client\";\nimport type { AnalyticsEvent } from \"@octopusdeploy/portal-analytics\";\nimport { useTrackEvent } from \"@octopusdeploy/portal-analytics\";\nimport { useState, useCallback, useMemo } from \"react\";\nimport * as React from \"react\";\nimport { DashboardProjectGroups, ProjectGroupDeploymentsSkeleton } from \"~/areas/dashboard/DashboardOverview/DashboardProjectGroups\";\nimport { anyProjectSupportsLiveStatus, liveStatusLocalStorageKey, LiveStatusSwitch } from \"~/areas/projects/components/Projects/LiveStatusSwitch\";\nimport { repository, session } from \"~/clientInstance\";\nimport { getErrorsFromError } from \"~/components/DataBaseComponent/Errors\";\nimport { useDoBusyTaskEffect } from \"~/components/DataBaseComponent/index\";\nimport { useLegacyDoBusyTask } from \"~/components/DataBaseComponent/useLegacyDoBusyTask\";\nimport ErrorPanel from \"~/components/ErrorPanel/ErrorPanel\";\nimport { isFeatureToggleEnabled } from \"~/components/FeatureToggle/New/FeatureToggleContext\";\nimport { PageContent } from \"~/components/PageContent/PageContent\";\nimport { hasPermission } from \"~/components/PermissionCheck/PermissionCheck\";\nimport { Skeleton } from \"~/components/Skeleton/Skeleton\";\nimport useLocalStorage from \"~/hooks/useLocalStorage\";\nimport { useOctopusFeatureToggle } from \"~/hooks/useOctopusFeatureToggle\";\nimport type { ProjectStatus } from \"../ProjectStatus/useProjectStatus\";\nimport { ProjectsDashboardAdvancedFilters, ProjectsDashboardAdvancedFiltersSkeleton } from \"./ProjectsDashboardAdvancedFilters\";\nimport { ProjectsDashboardSearchBox, ProjectsDashboardSearchBoxSkeleton } from \"./ProjectsDashboardSearchBox\";\nexport interface ProjectsFilter {\n page: number;\n pageSize: ProjectsPageSize;\n searchValue: string;\n}\nexport const projectsPageSizes = [50, 100, 150] as const;\nexport type ProjectsPageSize = (typeof projectsPageSizes)[number];\nexport const defaultProjectsPageSize: ProjectsPageSize = 50;\ninterface ProjectsDashboardPageContentProps {\n spaceId: string;\n pageActions: PageAction[];\n primaryPageAction: PrimaryPageAction;\n doBusyTaskStatus: ApiOperationStatus;\n dashboardConfiguration: DashboardConfigurationResource;\n filter: ProjectsFilter;\n setFilter: (newFilter: ProjectsFilter) => void;\n onAddProjectToGroup: (projectGroupId: string) => void;\n projectStatus?: ProjectStatus;\n}\nexport function ProjectsDashboardPageContent({ spaceId, pageActions, primaryPageAction, doBusyTaskStatus, dashboardConfiguration, filter, setFilter, onAddProjectToGroup, projectStatus }: ProjectsDashboardPageContentProps) {\n const trackEvent = useTrackEvent();\n const isKubernetesLiveStatusEnabled = useOctopusFeatureToggle(\"kubernetes-monitor\", false) && isFeatureToggleEnabled(\"KubernetesLiveObjectStatusFeatureToggle\");\n const [showLiveStatus, setShowLiveStatus] = useLocalStorage(liveStatusLocalStorageKey(spaceId), false);\n const { isLoading: isLoadingInitialDashboard, result: initialDashboardData, refetch: refetchInitialDashboard, error: initialDashboardError } = useInitialDashboardQuery(getDashboardFiltersQueryParams(filter));\n const { isLoading: isLoadingDetailedDashboard, result: detailedDashboardData, refetch: refetchDetailedDashboard, error: detailedDashboardError } = useDetailedDashboardQuery(getDashboardFiltersQueryParams(filter));\n const { result: liveStatusDashboardData, refetch: refetchLiveStatusDashboard, error: liveStatusDashboardError } = useLiveStatusQuery(getLiveStatusDashboardFiltersQueryParams(filter), isKubernetesLiveStatusEnabled && showLiveStatus);\n const favouriteProjectsData = useFavouriteData();\n const dashboardData = (isLoadingDetailedDashboard ? null : detailedDashboardData) ?? initialDashboardData?.dashboardData;\n const anyProjectSupportsLiveStatusMemo = useMemo(() => (initialDashboardData ? anyProjectSupportsLiveStatus(initialDashboardData.liveStatusData) : false), [initialDashboardData]);\n const onSearchValueChanged = (newValue: string) => {\n setFilter({ ...filter, searchValue: newValue, page: 1 });\n };\n const onPageChange = (page: number) => {\n setFilter({ ...filter, page });\n };\n const onPageSizeChange = (pageSize: number) => {\n setFilter({ ...filter, page: 1, pageSize: isProjectsPageSize(pageSize) ? pageSize : defaultProjectsPageSize });\n trackEvent(createPageSizeChangedEvent(pageSize));\n };\n const onShowLiveStatusChanged = (value: boolean) => {\n setShowLiveStatus(value);\n };\n const onAdvancedFiltersChanged = () => {\n setFilter({ ...filter, page: 1 });\n refetchInitialDashboard();\n refetchDetailedDashboard();\n refetchLiveStatusDashboard();\n };\n const loadingErrors = [initialDashboardError, detailedDashboardError, liveStatusDashboardError].filter((error) => error !== null);\n if (!dashboardData) {\n const showInitialLoadingSkeleton = !initialDashboardError && !detailedDashboardError;\n return (, ],\n }\n : undefined} pagination={showInitialLoadingSkeleton\n ? {\n ui: ,\n placement: \"top\",\n }\n : undefined}>\n
    \n {loadingErrors.map((error, index) => ())}\n {showInitialLoadingSkeleton && }\n
    \n
    );\n }\n const { TotalResults, ItemsPerPage, ProjectGroups } = dashboardData;\n const pagination = ;\n //We shouldn't show the skeleton when loading the detailed data, so we only show this when both the initial and\n //detailed data is being reloaded. Currently, this will happen whenever the advanced filter is changed or if changing\n //filters such as the page number / search.\n const showSkeletonLoading = isLoadingDetailedDashboard && isLoadingInitialDashboard;\n return (,\n ,\n ,\n ],\n }} pagination={{\n ui: pagination,\n placement: showSkeletonLoading ? \"top\" : \"topAndBottom\",\n }} legacyStatus={doBusyTaskStatus}>\n {loadingErrors.map((error, index) => ())}\n {showSkeletonLoading ? () : ()}\n );\n}\nfunction DashboardErrorPanel({ error }: {\n error: Error;\n}) {\n const convertedError = getErrorsFromError(error);\n return ;\n}\ninterface PageSizeChangedEvent extends AnalyticsEvent<\"Projects Dashboard Pagination: User Changed PageSize\"> {\n pageSize: number;\n}\nfunction createPageSizeChangedEvent(pageSize: number): PageSizeChangedEvent {\n return {\n eventName: \"Projects Dashboard Pagination: User Changed PageSize\",\n pageSize,\n };\n}\nfunction PaginationSkeleton() {\n return (
    \n \n
    );\n}\nconst paginationSkeletonStyles = css({\n height: \"2.25rem\",\n width: \"17.25rem\",\n});\nconst projectsDashboardStyles = css({\n display: \"flex\",\n flexDirection: \"column\",\n gap: space[24],\n});\nexport interface FavouriteProjectsData {\n favouriteProjects: UserFavouriteProjectSummary[];\n onFavouriteProjectChanged: (projectId: string, isFavourite: boolean) => Promise;\n}\nfunction useFavouriteData(): FavouriteProjectsData {\n const [favouriteProjects, setFavourites] = useState([]);\n // This doBusyTask is intentionally independent of the one created from the ProjectsPage.\n // The status of these data access operations are not shown in the UI.\n // This doBusyTask will go away when the below changes to the data access hooks.\n const { doBusyTask } = useLegacyDoBusyTask();\n useDoBusyTaskEffect(doBusyTask, async () => {\n if (hasPermission(Permission.ProjectView)) {\n const result = await repository.Users.getProjectFavourites();\n setFavourites(result.Projects);\n }\n else {\n setFavourites([]);\n }\n }, []);\n const onFavouriteProjectChanged = useCallback((projectId: string, isFavourite: boolean) => doBusyTask(async () => {\n if (isFavourite) {\n const { Project } = await repository.Users.createProjectFavourite(projectId);\n setFavourites((prev) => [...prev, Project]);\n }\n else {\n await repository.Users.deleteProjectFavourite(projectId);\n setFavourites((prev) => prev.filter((p) => p.Id !== projectId));\n }\n }), [doBusyTask]);\n return { favouriteProjects, onFavouriteProjectChanged };\n}\nfunction useInitialDashboardQuery(dashboardFilters: ProjectsDashboardFilter) {\n const { skip, take, projectOrGroupPartialName } = dashboardFilters;\n const isKubernetesLiveStatusEnabled = useOctopusFeatureToggle(\"kubernetes-monitor\", false);\n return useInlineStatusQuery(async (repository) => {\n const dashboardDataPromise = repository.Dashboards.getInitialProjectsDashboard({ skip, take, projectOrGroupPartialName });\n const liveStatusDataPromise = getProjectLiveStatus(repository, projectOrGroupPartialName, isKubernetesLiveStatusEnabled);\n return { dashboardData: await dashboardDataPromise, liveStatusData: await liveStatusDataPromise };\n }, [skip, take, projectOrGroupPartialName, isKubernetesLiveStatusEnabled], \"Initial Dashboard Data\");\n}\nfunction useDetailedDashboardQuery({ skip, take, projectOrGroupPartialName }: ProjectsDashboardFilter) {\n return useInlineStatusQuery(async (repository) => {\n if (session.features?.IsProjectsPageOptimizationEnabled ?? false) {\n return repository.Dashboards.getProjectsPage({ skip, take, projectOrGroupPartialName });\n }\n return repository.Dashboards.getDetailedProjectsDashboard({ skip, take, projectOrGroupPartialName });\n }, [skip, take, projectOrGroupPartialName], \"Detailed Dashboard Data\", { refetchIntervalInMs: dashboardRefreshIntervalInMs });\n}\nfunction useLiveStatusQuery(dashboardFilters: LiveStatusDashboardFilter, liveStatusEnabled: boolean) {\n const { projectOrGroupPartialName } = dashboardFilters;\n return useInlineStatusQuery(async (repository) => getProjectLiveStatus(repository, projectOrGroupPartialName, liveStatusEnabled), [projectOrGroupPartialName, liveStatusEnabled], \"Live Status Data\", {\n refetchIntervalInMs: liveStatusEnabled ? dashboardRefreshIntervalInMs : undefined,\n });\n}\nfunction getProjectLiveStatus(repository: Repository, projectOrGroupPartialName: string | undefined, liveStatusEnabled: boolean) {\n if (!liveStatusEnabled) {\n return {\n ProjectGroups: [],\n };\n }\n return repository.Dashboards.getProjectsLiveStatus({ projectOrGroupPartialName });\n}\nconst dashboardRefreshIntervalInMs = 6000;\nfunction getDashboardFiltersQueryParams(filters: ProjectsFilter) {\n const skip = (filters.page - 1) * filters.pageSize;\n const take = filters.pageSize;\n const projectOrGroupPartialName = filters.searchValue?.toLowerCase() ?? \"\";\n return { skip, take, projectOrGroupPartialName };\n}\nfunction getLiveStatusDashboardFiltersQueryParams(filters: ProjectsFilter) {\n const projectOrGroupPartialName = filters.searchValue?.toLowerCase() ?? \"\";\n return { projectOrGroupPartialName };\n}\nexport function isProjectsPageSize(pageSize: number | undefined): pageSize is ProjectsPageSize {\n if (pageSize === undefined)\n return false;\n // eslint-disable-next-line @typescript-eslint/consistent-type-assertions\n return (projectsPageSizes as readonly number[]).includes(pageSize);\n}\n","import { css } from \"@emotion/css\";\nimport { KubernetesIcon, RocketIcon, ArrowUpRightFromSquareIcon } from \"@octopusdeploy/design-system-icons\";\nimport { colorScales, fontSize, fontWeight, letterSpacing, lineHeight, space, themeTokens } from \"@octopusdeploy/design-system-tokens\";\nimport React from \"react\";\nimport { nameForDocument, useAnalyticExternalLinkDispatch } from \"~/analytics/Analytics\";\nimport { StepCard } from \"~/areas/projects/components/Process/ActionTemplateSelector/StepCard\";\nexport const ProjectsGettingStartedGuides = () => {\n const dispatchLink = useAnalyticExternalLinkDispatch();\n const dispatchAnalyticsEventAndOpenLink = (linkLabel: string, href: string, name: string) => {\n dispatchLink(linkLabel, href, name);\n window.open(href);\n };\n return (
    \n
    Getting Started Guides
    \n
    \n } primaryButtonLabel=\"Tutorial\" primaryButtonIcon={} onPrimaryButtonClick={() => dispatchAnalyticsEventAndOpenLink(\"First Kubernetes Deployment\", \"https://oc.to/FirstKubernetesGuide\", nameForDocument())}/>\n } primaryButtonLabel=\"Tutorial\" primaryButtonIcon={} onPrimaryButtonClick={() => dispatchAnalyticsEventAndOpenLink(\"First Deployment\", \"https://oc.to/FirstDeploymentGuide\", nameForDocument())}/>\n
    \n
    );\n};\n// We set the minimum step card width to achieve the following:\n// - 2 columns when the container is 531px wide or wider\n// - 1 column when the container is less than 531px wide\nconst smallContainerMaxWidth = 530;\nconst sidePadding = 32;\nconst gap = 24;\nconst stepCardMinWidth = `${(smallContainerMaxWidth - 2 * sidePadding - gap) / 2}px`;\nconst bottomSectionStyles = {\n subtitleStyles: css({\n marginBottom: space[24],\n color: themeTokens.color.text.secondary,\n fontSize: fontSize.base,\n fontWeight: fontWeight[\"700\"],\n lineHeight: lineHeight.small,\n letterSpacing: letterSpacing.wider,\n }),\n stepCardsContainer: css({\n display: \"grid\",\n gridTemplateColumns: `repeat(2, minmax(${stepCardMinWidth}, 1fr))`,\n gap: space[24],\n [`@container Level1EmptyStateLayout (width < ${smallContainerMaxWidth + 1}px)`]: {\n gridTemplateColumns: \"1fr\",\n },\n }),\n};\n","import { css } from \"@emotion/css\";\nimport type { SimpleMenuItem, PrimaryPageAction, PageAction } from \"@octopusdeploy/design-system-components\";\nimport { Button, EmptyStateDashboardIllustration, EmptyStateDashboardNoPermissionIllustration, NavigationButton, NavigationButtonType } from \"@octopusdeploy/design-system-components\";\nimport { borderRadius, colorScales, fontSize, fontWeight, letterSpacing, lineHeight, space, text, themeTokens } from \"@octopusdeploy/design-system-tokens\";\nimport type { ProjectResource } from \"@octopusdeploy/octopus-server-client\";\nimport { Permission } from \"@octopusdeploy/octopus-server-client\";\nimport { links } from \"@octopusdeploy/portal-routes\";\nimport React, { useState } from \"react\";\nimport type { AnalyticActionDispatcher } from \"~/analytics/Analytics\";\nimport { Action, useAnalyticActionDispatch } from \"~/analytics/Analytics\";\nimport { projectStatusActions } from \"~/areas/projects/components/ProjectStatus/actions\";\nimport type { ProjectStatus } from \"~/areas/projects/components/ProjectStatus/useProjectStatus\";\nimport { Level1EmptyStateLayout } from \"~/components/GettingStarted/Level1EmptyStateLayout\";\nimport ExternalVideoLink from \"~/components/Navigation/ExternalLink/ExternalVideoLink\";\nimport { PermissionCheck } from \"~/components/PermissionCheck\";\nimport { useOctopusFeatureToggle } from \"~/hooks/useOctopusFeatureToggle\";\nimport type { DoBusyTask } from \"../DataBaseComponent\";\nimport AddNewProjectDialog from \"./AddNewProjectDialog\";\nimport NewProjectWizard from \"./NewProjectWizard\";\nimport { ProjectsGettingStartedGuides } from \"./ProjectsGettingStartedGuides\";\ninterface OnboardingProject {\n Name: string;\n Slug: string;\n LogoUrl?: string;\n}\ninterface DashboardOnboardingLayoutProps {\n spaceId: string;\n canContinueOnboarding: boolean;\n onboardingProject?: OnboardingProject;\n header?: {\n title: string;\n primaryAction?: PrimaryPageAction;\n actions?: PageAction[];\n overflowActions?: SimpleMenuItem[];\n };\n doBusyTask: DoBusyTask;\n projectStatus?: ProjectStatus;\n}\nfunction DashboardOnboardingLayout({ spaceId, canContinueOnboarding, onboardingProject, header, doBusyTask, projectStatus }: DashboardOnboardingLayoutProps) {\n const [openDialog, setOpenDialog] = useState(false);\n const dispatchAction = useAnalyticActionDispatch();\n const isOnboardingHalfReady = isOnboardingHalfDone(canContinueOnboarding, onboardingProject);\n const onboardingTitle = isOnboardingHalfReady ? \"Project Setup\" : \"Deploy your first application\";\n const onboardingIntro = isOnboardingHalfReady ? (
    \n {onboardingProject?.LogoUrl && (
    \n \"Project\n
    )}\n
    \n {onboardingProject.Name} is almost setup\n
    \n
    ) : (\"We'll guide you along the process of adding your first project through to releasing your first deployment.\");\n const learnMoreLink = (\n Video (3 mins)\n );\n const isKGSFeatureEnabled = useOctopusFeatureToggle(\"kubernetes-guided-setup\", false);\n const isKGSNthProjectFeatureEnabled = useOctopusFeatureToggle(\"kubernetes-guided-setup-nth-project\", false);\n const isKubernetesSmallImprovementsFeatureEnabled = useOctopusFeatureToggle(\"kubernetes-small-improvements\", false);\n const onboardingActions = isOnboardingHalfReady ? [ContinueProjectSetup(isKGSFeatureEnabled, spaceId, onboardingProject, setOpenDialog, projectStatus)] : [GettingStarted(dispatchAction, setOpenDialog), learnMoreLink];\n const closeDialog = (project: ProjectResource | undefined) => {\n if (project) {\n dispatchAction(\"Save First Project\", { action: Action.Save, resource: \"Project\" });\n }\n else {\n dispatchAction(\"Cancel First Project Creation\", { action: Action.Cancel, resource: \"Project\" });\n }\n setOpenDialog(false);\n };\n return (}>\n } analyticLocation={\"Onboarding dashboard\"} header={header} bottomSection={isKubernetesSmallImprovementsFeatureEnabled ? : null}/>\n\n {!isOnboardingHalfReady && !isKGSNthProjectFeatureEnabled ? ( closeDialog(project)}/>) : ( (isOnboardingHalfReady ? setOpenDialog(false) : closeDialog(project))} projectStatus={projectStatus}/>)}\n );\n}\nfunction ContinueProjectSetup(isKGSEnabled: boolean, spaceId: string, project: OnboardingProject, setOpenDialog: (open: boolean) => void, projectStatus?: ProjectStatus) {\n return isKGSEnabled ? (
    );\n}\ninterface ShowAllButtonProps {\n isCollapsed: boolean;\n setIsCollapsed: (isCollapsed: (prev: boolean) => boolean) => void;\n}\nfunction ShowAllButton({ isCollapsed, setIsCollapsed }: ShowAllButtonProps) {\n const label = isCollapsed ? \"Show All\" : \"Show Less\";\n return (
    \n
    );\n}\ninterface TriggerChipsProps {\n triggers: TriggerResource[];\n environments: EnvironmentResource[];\n isCollapsed: boolean;\n projectSlug: string;\n runbooksInProject?: RunbookResource[];\n}\nfunction TriggerChips({ triggers, environments, isCollapsed, projectSlug, runbooksInProject }: TriggerChipsProps) {\n const spaceAwareNavigation = useSpaceAwareNavigation();\n // TODO: Add link to the trigger & add styling for disabled triggers\n const triggersToDisplay = isCollapsed ? triggers.slice(0, MINIMUM_TO_DISPLAY) : triggers;\n const triggerChips = triggersToDisplay.map((trigger) => {\n const runbookId = (trigger.Action as unknown as RunRunbookActionResource).RunbookId;\n const runbook = runbooksInProject?.find((runbook) => runbook.Id === runbookId);\n const triggerUrl = links.projectRunbookEditScheduledTriggerPage.generateUrl({ spaceId: trigger.SpaceId, projectSlug, triggerId: trigger.Id });\n // Handle case if no runbook exists for the trigger. (Only relevant to Operations Page.)\n if (runbooksInProject && !runbook) {\n const icon = (\n {/* Needs to be white for both dark and light themes. */}\n \n );\n return ;\n }\n const icon = (\n \n );\n const disabledIcon = (\n \n );\n return (} icon={trigger.IsDisabled ? disabledIcon : icon} onClick={() => spaceAwareNavigation.navigate(triggerUrl)}>\n {trigger.Name}\n );\n });\n return
    {triggerChips}
    ;\n}\ninterface TriggerChipDescriptionProps {\n trigger: TriggerResource;\n environments: EnvironmentResource[];\n runbookName?: string;\n}\nfunction TriggerChipDescription({ trigger, environments, runbookName }: TriggerChipDescriptionProps) {\n const scheduleDescription = ScheduledTriggerDescriptionHelper.getScheduleDescription(trigger.Filter as TriggerScheduleResource);\n const destinationEnvironmentIds = (trigger.Action as RunRunbookActionResource).EnvironmentIds;\n const destinationEnvsNames = destinationEnvironmentIds.flatMap((id) => {\n const destinationEnvs = _.filter(environments, (env) => {\n if (env.Id === id)\n return true;\n }) as EnvironmentResource[];\n if (destinationEnvs.length === 0) {\n logger.error(\"Missing Environment\", { triggerId: trigger.Id, environmentId: id });\n return [\"Missing Environment\"];\n }\n return destinationEnvs.map((env) => env.Name);\n });\n // Chips to appear on NewRunbookRunsListPage\n if (!runbookName) {\n return (\n {trigger.IsDisabled && \"Disabled: \"} Run {scheduleDescription} on {formatListWithAnd(destinationEnvsNames)}.\n );\n }\n // Chips to appear on OperationsOverviewPage\n return (\n {trigger.IsDisabled && \"Disabled: \"} Run Runbook {runbookName} {scheduleDescription} on {formatListWithAnd(destinationEnvsNames)}.\n );\n}\nfunction formatListWithAnd(list: string[]) {\n if (list.length === 1)\n return list[0];\n const allButLast = _.initial(list).join(\", \");\n const lastItem = _.last(list);\n return `${allButLast} & ${lastItem}`;\n}\n","/* eslint-disable @typescript-eslint/consistent-type-assertions */\nimport type { EnvironmentResource, ProjectResource, ResourceCollection, RunbookResource, TriggerResource } from \"@octopusdeploy/octopus-server-client\";\nimport { HasGitPersistenceSettings, HasRunbooksInGit, Permission, toGitBranch, TriggerActionCategory, TriggerActionType } from \"@octopusdeploy/octopus-server-client\";\nimport * as React from \"react\";\nimport { useState } from \"react\";\nimport { useProjectContext } from \"~/areas/projects/context\";\nimport { repository } from \"~/clientInstance\";\nimport type { DoBusyTask } from \"~/components/DataBaseComponent\";\nimport { useDoBusyTaskEffect } from \"~/components/DataBaseComponent\";\nimport { PermissionCheck } from \"~/components/PermissionCheck\";\nimport { isAllowed } from \"~/components/PermissionCheck/PermissionCheck\";\nimport { ScheduledTriggersBarInternal } from \"./ScheduledTriggersBarInternal\";\ninterface ScheduledTriggersBarProps {\n project: ProjectResource;\n doBusyTask: DoBusyTask;\n runbook?: RunbookResource;\n}\nexport function ScheduledTriggersBar({ project, doBusyTask, runbook }: ScheduledTriggersBarProps) {\n const projectContext = useProjectContext();\n const defaultBranch = HasGitPersistenceSettings(project.PersistenceSettings) && HasRunbooksInGit(project.PersistenceSettings) ? toGitBranch(project.PersistenceSettings.DefaultBranch) : undefined;\n const [environments, setEnvironments] = useState([]);\n const [runbookTriggers, setRunbookRunTriggers] = useState([]);\n const [runbooksInProject, setRunbookInProject] = useState();\n const [hasRunbookProcess, setHasRunbookProcess] = useState(false);\n useDoBusyTaskEffect(doBusyTask, async () => {\n if (!isAllowed({\n permission: Permission.TriggerView,\n project: project.Id,\n })) {\n return;\n }\n const environmentsResponse = repository.Environments.all();\n const runbookTriggersResponse: Promise> = runbook\n ? repository.Projects.getTriggers(project, 0, undefined, TriggerActionType.RunRunbook, TriggerActionCategory.Runbook, [runbook.Id])\n : repository.Projects.getTriggers(project, 0, undefined, TriggerActionType.RunRunbook, TriggerActionCategory.Runbook);\n const runbooksInProjectResponse = !runbook && repository.Runbooks.getRunbooks(project, defaultBranch);\n setEnvironments(await environmentsResponse);\n runbookTriggersResponse && setRunbookRunTriggers((await runbookTriggersResponse)?.Items);\n runbooksInProjectResponse && setRunbookInProject((await runbooksInProjectResponse).Items);\n }, []);\n useDoBusyTaskEffect(doBusyTask, async () => {\n if (runbook) {\n try {\n const runbookProcess = await repository.Runbooks.getRunbookProcess(project.Id, project.SpaceId, runbook.RunbookProcessId, defaultBranch);\n runbookProcess && runbookProcess.Steps.length > 0 && setHasRunbookProcess(true);\n }\n catch (e) {\n // If we get an error of any sort, assume that the runbook\n // process does not exist on the default branch\n //\n // This is most likely because the runbook does not exist\n // on the default branch, so we could just check for a 404\n // here, but we may as well just handle all errors gracefully\n // because this is just to control if we show a button prompting\n // to configure a trigger.\n setHasRunbookProcess(false);\n }\n }\n if (runbooksInProject) {\n // We can't check if any of the Runbooks has a process because\n // we'd have to kick off a request for each Runbook. Instead,\n // just assume that we always have a process when we're showing\n // the triggers for all Runbooks in the project.\n setHasRunbookProcess(true);\n }\n }, [runbook, runbooksInProject]);\n return (\n \n );\n}\n","/* eslint-disable @typescript-eslint/no-non-null-assertion */\n/* eslint-disable @typescript-eslint/no-explicit-any */\n/* eslint-disable @typescript-eslint/init-declarations */\n/* eslint-disable @typescript-eslint/consistent-type-assertions */\nimport { Tooltip } from \"@octopusdeploy/design-system-components\";\nimport { logger } from \"@octopusdeploy/logging\";\nimport type { EnvironmentResource, GetTaskRunDashboardItemsListArgs, ResourceCollection, RunbookResource, RunbooksDashboardItemResource, TenantResource } from \"@octopusdeploy/octopus-server-client\";\nimport { HasGitPersistenceSettings, HasRunbooksInGit, Permission, Repository, TenantedDeploymentMode, toGitBranch, TriggerActionCategory } from \"@octopusdeploy/octopus-server-client\";\nimport { links } from \"@octopusdeploy/portal-routes\";\nimport classNames from \"classnames\";\nimport type * as H from \"history\";\nimport { isEqual } from \"lodash\";\nimport * as React from \"react\";\nimport { useHistory } from \"react-router\";\nimport type { WithProjectContextInjectedProps } from \"~/areas/projects/context\";\nimport { useProjectContext } from \"~/areas/projects/context\";\nimport { repository } from \"~/clientInstance\";\nimport { AdvancedFilters } from \"~/components/AdvancedFilterLayout/AdvancedFilters\";\nimport { EnvironmentChip, TenantChip } from \"~/components/Chips\";\nimport type { DataBaseComponentState } from \"~/components/DataBaseComponent\";\nimport { DataBaseComponent } from \"~/components/DataBaseComponent\";\nimport { Feature, FeatureToggle } from \"~/components/FeatureToggle\";\nimport { EnvironmentMultiSelect } from \"~/components/MultiSelect/EnvironmentMultiSelect\";\nimport RunbookMultiSelect from \"~/components/MultiSelect/RunbookMultiSelect\";\nimport { TenantMultiSelect } from \"~/components/MultiSelect/TenantMultiSelect\";\nimport { TenantTagMultiSelect } from \"~/components/MultiSelect/TenantTagMultiSelect\";\nimport InternalLink from \"~/components/Navigation/InternalLink\";\nimport InternalNavLink from \"~/components/Navigation/InternalNavLink\";\nimport { PageContent } from \"~/components/PageContent/PageContent\";\nimport { PageLoading } from \"~/components/PageContent/PageLoading\";\nimport PagingDataTable from \"~/components/PagingDataTable\";\nimport { PermissionCheck } from \"~/components/PermissionCheck\";\nimport { isAllowed } from \"~/components/PermissionCheck/PermissionCheck\";\nimport type { IQuery } from \"~/components/QueryStringFilters/QueryStringFilters\";\nimport { QueryStringFilters } from \"~/components/QueryStringFilters/QueryStringFilters\";\nimport { Select } from \"~/components/form\";\nimport EnvironmentSelect from \"~/components/form/EnvironmentSelect/EnvironmentSelect\";\nimport type { TagIndex } from \"~/components/tenantTagsets\";\nimport * as tenantTagsets from \"~/components/tenantTagsets\";\nimport { timeOperationOptions } from \"~/utils/OperationTimer/timeOperation\";\nimport { arrayValueFromQueryString } from \"~/utils/ParseHelper/ParseHelper\";\nimport { NextScheduleRunsTitle } from \"./NextScheduledRuns\";\nimport styles from \"./OperationsOverviewPage.module.less\";\nimport RunbookTaskStatusDetails from \"./RunbookTaskStatusDetails/RunbookTaskStatusDetails\";\nimport { RunbooksWelcomeOnboarding } from \"./RunbooksOnboarding\";\nimport { ScheduledTriggersBar } from \"./Triggers/ScheduledTriggersBar\";\nimport { useNewRunbookRunsListPageFeatureToggle } from \"./useNewRunbookRunsListPageFeatureToggle\";\ninterface OperationsOverviewLayoutFilter {\n environmentIds: string[];\n runbookIds: string[];\n tenantIds: string[];\n tenantTags: string[];\n}\ninterface OperationsOverviewLayoutQuery extends IQuery {\n environmentIds: string[];\n runbookIds: string[];\n tenantIds: string[];\n tenantTags: string[];\n}\nconst OperationsOverviewQueryStringFilters = QueryStringFilters.For();\nclass OperationsOverviewTable extends PagingDataTable {\n}\ninterface OperationsOverviewPageState extends DataBaseComponentState {\n hasAtLeastOneRunbook?: boolean;\n runbookRunsDashboardItems: ResourceCollection | null;\n tenants: TenantResource[];\n tagIndex: TagIndex;\n environments: EnvironmentResource[];\n runbooks: RunbookResource[];\n filter: OperationsOverviewLayoutFilter;\n queryFilter?: OperationsOverviewLayoutFilter;\n totalTriggers: number;\n runbookRunsDashboardItemsToTake: number;\n}\ninterface OperationsOverviewPagePropsInternal extends WithProjectContextInjectedProps {\n newRunbookRunsListPageEnabled: boolean;\n history: H.History;\n}\nconst refreshIntervalInMs = 15000;\nconst initialTakeOfDashboardItems = 30;\nclass OperationsOverviewPageInternal extends DataBaseComponent {\n constructor(props: OperationsOverviewPagePropsInternal) {\n super(props);\n this.state = {\n hasAtLeastOneRunbook: null!,\n runbookRunsDashboardItems: null,\n tenants: [],\n tagIndex: null!,\n filter: createEmptyFilter(),\n environments: [],\n runbooks: [],\n totalTriggers: 0,\n runbookRunsDashboardItemsToTake: initialTakeOfDashboardItems,\n };\n }\n async componentDidMount() {\n await this.doBusyTask(async () => {\n await this.startRefreshLoop(() => this.getData(), refreshIntervalInMs, false, timeOperationOptions.forRefresh());\n });\n }\n async reloadRuns() {\n await this.doBusyTask(async () => {\n this.setState(await this.getData());\n }, { timeOperationOptions: timeOperationOptions.for(\"ReloadRuns\") });\n }\n getRunbookRunsDashboardItems = async (itemsToTake: number) => {\n const project = this.props.projectContext.state.model;\n return repository.Progression.getTaskRunDashboardItemsForProject(project, {\n projectIds: [project.Id],\n environmentIds: this.state.filter.environmentIds,\n tenantIds: this.state.filter.tenantIds,\n runbookIds: this.state.filter.runbookIds,\n take: itemsToTake,\n });\n };\n getData = async () => {\n const project = this.props.projectContext.state.model;\n if (!project) {\n return null;\n }\n // We use the list of Runbooks to allow the user to filter by specific Runbooks. The default branch Runbooks feels like a safe bet for this one for\n // now. We may want to add a branch selector here or allow free-form entry of a Runbook slug, but for now this will do.\n const defaultBranch = HasGitPersistenceSettings(project.PersistenceSettings) && HasRunbooksInGit(project.PersistenceSettings) ? toGitBranch(project.PersistenceSettings.DefaultBranch) : undefined;\n const tenantsPromise = isAllowed({ permission: Permission.TenantView, tenant: \"*\" }) ? repository.Tenants.all() : Promise.resolve([]);\n const [tenants, tagIndex, environments, runbooks, runbookRunsDashboardItems, triggersResponse] = await Promise.all([\n tenantsPromise,\n tenantTagsets.getTagIndex(),\n repository.Environments.all(),\n repository.Runbooks.getRunbooks(project, defaultBranch, { skip: 0, take: Repository.takeAll }),\n repository.Progression.getTaskRunDashboardItemsForProject(project, {\n projectIds: [project.Id],\n environmentIds: this.state.filter.environmentIds,\n tenantIds: this.state.filter.tenantIds,\n runbookIds: this.state.filter.runbookIds,\n }),\n repository.Projects.getTriggers(project, 0, 0, undefined, TriggerActionCategory.Runbook),\n ]);\n return {\n runbookRunsDashboardItems,\n runbooks: runbooks.Items,\n hasAtLeastOneRunbook: runbooks.Items.length > 0,\n tenants,\n tagIndex,\n environments,\n totalTriggers: triggersResponse.TotalResults,\n };\n };\n loadMoreDashboardItems = async () => {\n const runbookRunsDashboardItemsToTake = this.state.runbookRunsDashboardItemsToTake + initialTakeOfDashboardItems;\n this.setState({\n runbookRunsDashboardItems: await this.getRunbookRunsDashboardItems(runbookRunsDashboardItemsToTake),\n runbookRunsDashboardItemsToTake,\n });\n };\n render() {\n const pageTitle = \"Operations\";\n const project = this.props.projectContext.state.model;\n if (!project || !this.state.runbookRunsDashboardItems) {\n return ;\n }\n if (!this.state.hasAtLeastOneRunbook) {\n const showOnboarding = this.state.hasAtLeastOneRunbook !== null && !this.state.hasAtLeastOneRunbook;\n return (\n {showOnboarding && }\n );\n }\n const selectedEnvironmentId = this.state.filter.environmentIds && this.state.filter.environmentIds.length > 0 ? this.state.filter.environmentIds[0] : null;\n const selectedRunbookId = this.state.filter.runbookIds && this.state.filter.runbookIds.length > 0 ? this.state.filter.runbookIds[0] : null;\n const nextScheduledElement = this.renderNextScheduled();\n const operationsOverviewProps = {\n initialData: this.state.runbookRunsDashboardItems,\n additionalRequestParams: this.getAdditionalRequestParams(),\n onRow: (item: any) => this.buildRunbookRunRow(item),\n onFilter: this.filter,\n headerColumns: [\"\", \"\", \"\", \"\"], // DO NOT REMOVE, this is needed so the headerColumn classes are correctly populated for our spacing.\n headerColumnClassNames: [styles.headerColumn, styles.headerColumn, styles.headerColumn, styles.headerColumn],\n hideHeader: false,\n onEmpty: this.handleOnEmpty,\n filterSearchEnabled: false, // This component has advanced filtering instead.\n apiSearchParams: [\"partialName\"],\n filterHintText: \"Filter by name...\",\n headerRowClassName: styles.resultsTableHeaderRow,\n onLoadMore: this.loadMoreDashboardItems,\n };\n return (\n {\n this.setFilterState({ runbookIds: x }, async () => {\n await this.onFilterChange();\n });\n }}/>\n {\n this.setFilterState({ environmentIds: x }, async () => {\n await this.onFilterChange();\n });\n }}/>\n \n \n {\n this.setFilterState({ tenantIds: x }, async () => {\n await this.onFilterChange();\n });\n }}/>\n {\n this.setFilterState({ tenantTags: x }, async () => {\n await this.onFilterChange();\n });\n }}/>\n \n \n ),\n hasUserSelectedValues: !isEqual(this.state.filter, createEmptyFilter()),\n onResetFilter: () => {\n this.setState({ filter: createEmptyFilter() }, async () => {\n await this.onFilterChange();\n const location = { ...this.props.history, search: null as any };\n this.props.history.replace(location);\n });\n },\n },\n inputs: [\n \n this.setState({ selectedCloneId: cloneId })} items={runbooks.map((pg) => ({ value: pg.Id, text: pg.Name }))} label=\"Clone from\"/>,\n Select an existing Runbook to clone. The steps in the other Runbook will be copied into the new Runbook when it is created.,\n ];\n }\n static displayName = \"AddRunbookInternal\";\n}\nconst AddRunbook: React.FC = (props) => {\n const projectContext = useProjectContext();\n return ;\n};\nAddRunbook.displayName = \"AddRunbook\"\nexport default AddRunbook;\n","import { Callout } from \"@octopusdeploy/design-system-components\";\nimport React, { useState } from \"react\";\nimport { Text } from \"~/components/form\";\ninterface DeleteRunbookProps {\n runbookName: string;\n onChange(canDelete: boolean): void;\n}\nconst DeleteRunbook: React.FC = ({ runbookName, onChange }) => {\n const [confirmationRunbookName, updateConfirmationRunbookName] = useState(\"\");\n const onRunbookNameConfirmation = (confirmationRunbookName: string) => {\n updateConfirmationRunbookName(confirmationRunbookName);\n onChange(confirmationRunbookName.replace(/\\s+/g, \" \").toLowerCase() === runbookName.replace(/\\s+/g, \" \").toLowerCase());\n };\n return (
    \n \n This action cannot be undone. This will permanently delete the {runbookName} Runbook and all of its contents, including Runbook Snapshots and Runbook Runs history.\n \n
    \n

    Please type in the name of the Runbook ({runbookName}) to confirm.

    \n \n
    \n
    );\n};\nDeleteRunbook.displayName = \"DeleteRunbook\"\nexport default DeleteRunbook;\n","import { RadioButtonGroup, RadioButton, Callout } from \"@octopusdeploy/design-system-components\";\nimport { Permission, RunbookEnvironmentScope } from \"@octopusdeploy/octopus-server-client\";\nimport type { EnvironmentResource } from \"@octopusdeploy/octopus-server-client\";\nimport { difference } from \"lodash\";\nimport * as React from \"react\";\nimport { EnvironmentMultiSelect } from \"~/components/MultiSelect/EnvironmentMultiSelect\";\nimport { Note, Summary } from \"~/components/form\";\nimport { environmentChipList } from \"../../../../components/Chips\";\nimport ExpandableFormSection from \"../../../../components/form/Sections/ExpandableFormSection\";\ninterface RunbookEnvironmentScopeState {\n hasHiddenEnvironments: boolean;\n}\ninterface RunbookEnvironmentScopeProps {\n environmentScope: RunbookEnvironmentScope;\n environments: EnvironmentResource[];\n inclusiveEnvironments: string[];\n onEnvironmentScopeChanged(val: RunbookEnvironmentScope): void;\n onEnvironmentsChanged(environments: string[]): void;\n}\nexport default class RunbookEnvironmentScopeSelector extends React.Component {\n constructor(props: RunbookEnvironmentScopeProps) {\n super(props);\n const unknownEnvironments = difference(props.inclusiveEnvironments || [], props.environments.map((e) => e.Id));\n this.state = {\n hasHiddenEnvironments: props.environmentScope === RunbookEnvironmentScope.Specified && unknownEnvironments.length > 0,\n };\n }\n render() {\n return (\n {\n this.props.onEnvironmentScopeChanged(newValue);\n this.props.onEnvironmentsChanged([]);\n }}>\n \n \n {this.props.environmentScope === RunbookEnvironmentScope.Specified && (
    \n \n Choose the specific environments you want to be able to run this Runbook in\n {this.state.hasHiddenEnvironments && (\n The {Permission.EnvironmentView} permission is preventing the selected environments from being changed because you do not have access to an environment that is specifically marked for inclusion.\n )}\n
    )}\n \n
    \n
    );\n }\n private environmentSummary() {\n if (this.props.environmentScope === RunbookEnvironmentScope.Specified) {\n return Summary.summary(This runbook can only be run in {this.getChipsForEnvironments(this.props.inclusiveEnvironments)});\n }\n if (this.props.environmentScope === RunbookEnvironmentScope.FromProjectLifecycles) {\n return Summary.default(\"This runbook can run in all applicable Lifecycle environments\");\n }\n return Summary.default(\"This runbook can be run in any environment\");\n }\n private getChipsForEnvironments(environments: string[]) {\n if (environments.length === 0) {\n return please select environments;\n }\n return environmentChipList(this.props.environments, environments);\n }\n static displayName = \"RunbookEnvironmentScopeSelector\";\n}\n","/* eslint-disable @typescript-eslint/consistent-type-assertions */\nimport { BooleanRadioButtonGroup, BooleanRadioButton } from \"@octopusdeploy/design-system-components\";\nimport { RetentionUnit, type RunbookRetentionPeriod } from \"@octopusdeploy/octopus-server-client\";\nimport { cloneDeep } from \"lodash\";\nimport React from \"react\";\nimport ComponentRow from \"~/components/ComponentRow\";\nimport ExternalLink from \"~/components/Navigation/ExternalLink\";\nimport { Text, Summary, ExpandableFormSection, minimum, Note, Select } from \"~/components/form\";\nimport { useOctopusFeatureToggle } from \"~/hooks/useOctopusFeatureToggle\";\nimport ParseHelper from \"~/utils/ParseHelper\";\ninterface RunbookRetentionPolicyControlInternalProps {\n retentionPolicy: RunbookRetentionPeriod;\n onRetentionPolicyChange(policy: RunbookRetentionPeriod): void;\n isGitRunbooksMigrationFeatureToggleEnabled: boolean;\n}\nclass RunbookRetentionPolicyControlInternal extends React.Component {\n retentionPolicySummary() {\n let result = \"\";\n if (this.props.retentionPolicy.ShouldKeepForever) {\n result = \"Keep all\";\n }\n else {\n if (this.props.retentionPolicy.Unit === RetentionUnit.Days) {\n result = this.props.retentionPolicy.QuantityToKeep === 1 ? \"Keep 1 day per environment\" : \"Keep \" + this.props.retentionPolicy.QuantityToKeep + \" days per environment\";\n }\n else {\n result = this.props.retentionPolicy.QuantityToKeep === 1 ? \"Keep 1 run per environment\" : \"Keep \" + this.props.retentionPolicy.QuantityToKeep + \" runs per environment\";\n }\n }\n return Summary.summary(result);\n }\n updateRetentionPolicy(updater: (policy: RunbookRetentionPeriod) => void) {\n const policy = cloneDeep(this.props.retentionPolicy);\n updater(policy);\n this.props.onRetentionPolicyChange(policy);\n }\n render() {\n return (\n this.updateRetentionPolicy((pol) => {\n pol.ShouldKeepForever = val;\n pol.QuantityToKeep = val ? 0 : 100;\n })} title=\"How many runs should we keep per environment?\">\n \n \n \n {!this.props.retentionPolicy.ShouldKeepForever && (\n \n this.updateRetentionPolicy((pol) => (pol.QuantityToKeep = ParseHelper.safeParseInt(x)))} validate={minimum(\"Please provide a value greater than zero.\", 1)}/>\n \n {this.props.isGitRunbooksMigrationFeatureToggleEnabled && (\n {\n // eslint-disable-next-line @typescript-eslint/consistent-type-assertions\n const state = value as TaskFilterState | undefined;\n setFilter((prev) => ({ ...prev, state }));\n }} items={items} allowClear={true} fieldName=\"task state\" placeholder=\"All task states\"/>\n
    );\n}\ninterface RunbooksAdvancedFilterSectionProps {\n filter: RunbookTaskFilter;\n setFilter: (callback: (prev: RunbookTaskFilter) => RunbookTaskFilter) => void;\n environments?: EnvironmentResource[];\n tenants?: TenantResource[];\n}\nexport function RunbooksAdvancedFilterSection({ filter, setFilter, environments, tenants }: RunbooksAdvancedFilterSectionProps) {\n const datePickerFormat = \"MMM dd, yyyy\";\n const fromError = filter.fromDate && filter.toDate && filter.fromDate > filter.toDate ? \"Must be before the \\\"To\\\" date\" : undefined;\n const toError = filter.fromDate && filter.toDate && filter.fromDate > filter.toDate ? \"Must be after the \\\"From\\\" date\" : undefined;\n const styles = {\n datepickerWrap: css({\n paddingBottom: space[16],\n }),\n checkboxFiltersContainer: css({\n marginBottom: space[16],\n }),\n };\n return (<>\n
    \n setFilter((prev) => ({ ...prev, hasPendingInterruptions }))}/>\n setFilter((prev) => ({ ...prev, hasWarningsOrErrors }))}/>\n
    \n {environments && (\n setFilter((prev) => ({ ...prev, environment }))} environments={environments} allowClear={true} allowFilter={true} fieldName=\"environment\" placeholder=\"All environments\"/>\n )}\n {tenants && (\n \n setFilter((prev) => ({ ...filter, dateFilterType: dateFilterType as TaskDateFilterType }))} items={Object.values(TaskDateFilterTypeValues).map((v) => ({ value: v, text: v }))} allowClear={true} fieldName=\"date filter type\" placeholder=\"Select a date type\" label=\"By date\"/>\n {filter.dateFilterType && (<>\n
    \n setFilter((prev) => ({ ...prev, fromDate }))} label=\"From\" error={fromError} format={datePickerFormat} variant={\"inline\"}/>\n
    \n
    \n setFilter((prev) => ({ ...prev, toDate: moment(toDate).endOf(\"day\").toDate() }))} label=\"To\" error={toError} format={datePickerFormat} variant={\"inline\"}/>\n
    \n )}\n );\n}\n","import { css, cx } from \"@emotion/css\";\nimport { Button } from \"@octopusdeploy/design-system-components\";\nimport { fontSize, fontWeight, space, themeTokens } from \"@octopusdeploy/design-system-tokens\";\nimport type { TenantResource, EnvironmentResource, RunbooksDashboardItemResource, ProjectResource } from \"@octopusdeploy/octopus-server-client\";\nimport { links } from \"@octopusdeploy/portal-routes\";\nimport React from \"react\";\nimport { EnvironmentChip, TenantChip } from \"~/components/Chips\";\nimport InternalLink from \"~/components/Navigation/InternalLink\";\nimport { useSpaceAwareNavigation } from \"~/components/Navigation/SpaceAwareNavigation/useSpaceAwareNavigation\";\nimport { DataTable, DataTableBody, DataTableFooter, DataTableFooterColumn, DataTableHeader, DataTableHeaderColumn, DataTableRow, DataTableRowColumn, DataTableToolsRow } from \"~/primitiveComponents/dataDisplay/DataTable\";\nimport { GitRefChip } from \"../../Releases/GitRefChip/GitRefChip\";\nimport { RunbookRunTaskStatusDetails } from \"./RunbookRunTaskStatusDetails\";\ninterface RunbookRunListProps {\n project: ProjectResource;\n runs: RunbooksDashboardItemResource[];\n environments: EnvironmentResource[];\n tenants: TenantResource[];\n canLoadMore: boolean;\n onLoadMore: () => void;\n}\nexport function RunbookRunList({ project, runs, environments, tenants, canLoadMore, onLoadMore }: RunbookRunListProps) {\n const hasDatabaseRunbookRuns = runs.some((run) => !run.GitReference);\n const hasGitRunbookRuns = runs.some((run) => run.GitReference);\n const columns = 4 + (hasDatabaseRunbookRuns ? 1 : 0) + (hasGitRunbookRuns ? 1 : 0);\n const styles = {\n loadMoreContainer: css({\n padding: space[16],\n }),\n loadMoreActions: css({\n display: \"flex\",\n justifyContent: \"center\",\n textAlign: \"center\",\n flexDirection: \"column\",\n alignItems: \"center\",\n }),\n loadMoreSubtitle: css({\n color: themeTokens.color.text.secondary,\n fontSize: fontSize[\"xSmall\"],\n }),\n };\n return (
    \n \n \n Run\n {hasDatabaseRunbookRuns && Snapshot}\n {hasGitRunbookRuns && Git}\n Environment\n Duration\n Run by\n \n \n {runs.map((run) => ())}\n \n {canLoadMore ? (\n \n \n
    \n
    \n
    \n
    \n
    \n
    \n
    ) : null}\n
    \n
    );\n}\ninterface RunbookRunProps {\n project: ProjectResource;\n run: RunbooksDashboardItemResource;\n environments: EnvironmentResource[];\n tenants: TenantResource[];\n hasGitRunbookRuns: boolean;\n hasDatabaseRunbookRuns: boolean;\n}\nfunction RunbookRun({ project, run, environments, tenants, hasGitRunbookRuns: hasGitRunbooks, hasDatabaseRunbookRuns: hasDatabaseRunbooks }: RunbookRunProps) {\n const spaceAwareNavigation = useSpaceAwareNavigation();\n const environment = environments.find((x) => x.Id === run.EnvironmentId);\n const environmentChip = environment && ;\n const tenant = tenants.find((x) => x.Id === run.TenantId);\n const tenantChip = tenant && ;\n const styles = {\n middle: css({\n verticalAlign: \"middle !important\",\n }),\n untenanted: css({\n color: themeTokens.color.text.tertiary,\n fontWeight: fontWeight[400],\n fontSize: fontSize.small,\n }),\n full: css({\n display: \"block\",\n width: \"100%\",\n }),\n row: css({\n \"&:hover\": {\n background: themeTokens.color.background.primary.hovered,\n cursor: \"pointer\",\n },\n }),\n };\n const snapshotLink = links.runbookSnapshotRedirect.generateUrl({\n spaceId: project.SpaceId,\n runbookSnapshotId: run.RunbookSnapshotId,\n });\n const runDetailsLink = links.projectRunbookRunDetailPage.generateUrl({\n spaceId: project.SpaceId,\n projectSlug: project.Slug,\n runbookId: run.RunbookId,\n runbookSnapshotId: run.RunbookSnapshotId,\n runbookRunId: run.Id,\n });\n return ( spaceAwareNavigation.navigate(runDetailsLink)}>\n \n \n \n {hasDatabaseRunbooks && {!run.GitReference ? {run.RunbookSnapshotName} : \"\"}}\n {hasGitRunbooks && {run.GitReference ? : \"\"}}\n \n {environmentChip} {tenantChip}\n \n {run.Duration}\n {run.RunBy}\n );\n}\n","import { css } from \"@emotion/css\";\nimport type { SimpleMenuItem, PageAction, PrimaryPageAction } from \"@octopusdeploy/design-system-components\";\nimport { space } from \"@octopusdeploy/design-system-tokens\";\nimport type { ProjectResource, RunbookProcessResource, RunbookResource, EnvironmentResource, ResourceCollection, RunbooksDashboardItemResource, TenantResource, RunbookRunTemplateResource, RunbookSnapshotResource, GitRefResource, TaskListBffArgs, } from \"@octopusdeploy/octopus-server-client\";\nimport { HasRunbooksInGit, Permission, TaskState } from \"@octopusdeploy/octopus-server-client\";\nimport type { TaskFilterState } from \"@octopusdeploy/portal-routes\";\nimport { links, TaskDateFilterTypeValues, TaskFilterStateValues } from \"@octopusdeploy/portal-routes\";\nimport { isEqual } from \"lodash\";\nimport moment from \"moment\";\nimport React, { useState } from \"react\";\nimport RunbooksNavigationTabs from \"~/areas/projects/components/Runbooks/RunbooksNavigationTabs\";\nimport { useProjectContext } from \"~/areas/projects/context\";\nimport { repository } from \"~/clientInstance\";\nimport { AdvancedFilters } from \"~/components/AdvancedFilterLayout/AdvancedFilters\";\nimport type { DoBusyTask } from \"~/components/DataBaseComponent\";\nimport { useDoBusyTaskEffect } from \"~/components/DataBaseComponent\";\nimport { useLegacyDoBusyTask } from \"~/components/DataBaseComponent/useLegacyDoBusyTask\";\nimport { NoResults } from \"~/components/NoResults/NoResults\";\nimport { PageContent } from \"~/components/PageContent/PageContent\";\nimport { isAllowed, isAllowedToRunGitRunbook } from \"~/components/PermissionCheck/PermissionCheck\";\nimport { useRefreshLoop } from \"~/hooks/useRefreshLoop\";\nimport { PageHeaderBranchSelectorVNext } from \"../../BranchSelector/PageHeaderBranchSelector\";\nimport { useProjectRunbooksGitRef, type GitRefQueryParamsProps } from \"../../BranchSelector/useProjectGitRef\";\nimport { LastPublishedChip } from \"../LastPublishedChip\";\nimport PublishButton from \"../PublishButton\";\nimport { getPermissionDeniedTooltipText, RunNowButton } from \"../RunNowButton\";\nimport { useRunbookContext } from \"../RunbookContext\";\nimport RunbookOnboarding from \"../RunbookOnboarding\";\nimport { ScheduledTriggersBar } from \"../Triggers/ScheduledTriggersBar\";\nimport { RunbookRunsStateFilter, RunbooksAdvancedFilterSection } from \"./NewRunbookRunsPageFilters\";\nimport type { RunbookTaskFilter } from \"./NewRunbookRunsPageFilters\";\nimport { RunbookRunList } from \"./RunbookRunList\";\ninterface NewRunbookRunsListPageProps extends GitRefQueryParamsProps {\n spaceId: string;\n}\nconst pageSize = 30;\nexport function NewRunbookRunsListPage(props: NewRunbookRunsListPageProps) {\n const { doBusyTask, status } = useLegacyDoBusyTask();\n const runbookContext = useRunbookContext();\n const projectContext = useProjectContext();\n const [runbookProcess, setRunbookProcess] = useState();\n const [publishedRunbookSnapshot, setPublishedRunbookSnapshot] = useState();\n const [runbookRunTemplate, setRunbookRunTemplate] = useState();\n const [filter, setFilter] = useState(getDefaultFilter);\n const project = projectContext.state && projectContext.state.model;\n const runbook = runbookContext.state && runbookContext.state.runbook;\n const [gitRef, setGitRef] = useProjectRunbooksGitRef(project, props.queryParams, props.setQueryParams);\n const [environments, setEnvironments] = useState([]);\n const [tenants, setTenants] = useState([]);\n const [take, setTake] = useState(pageSize);\n useDoBusyTaskEffect(doBusyTask, async () => {\n const environmentsPromise = repository.Environments.all();\n if (isAllowed({ permission: Permission.TenantView, tenant: \"*\" })) {\n const tenants = await repository.Tenants.all();\n setTenants(tenants);\n }\n setEnvironments(await environmentsPromise);\n }, []);\n function onSetFilter(callback: (prev: RunbookTaskFilter) => RunbookTaskFilter) {\n setTake(pageSize);\n setFilter(callback);\n }\n const hasGitRunbooks = HasRunbooksInGit(project.PersistenceSettings);\n const getData = async () => {\n const publishedRunbookSnapshot = runbook && runbook.PublishedRunbookSnapshotId ? await repository.RunbookSnapshots.get(runbook.PublishedRunbookSnapshotId) : undefined;\n const runbookRunTemplate = publishedRunbookSnapshot ? await repository.RunbookSnapshots.getRunbookRunTemplate(publishedRunbookSnapshot) : undefined;\n return { publishedRunbookSnapshot, runbookRunTemplate };\n };\n useDoBusyTaskEffect(doBusyTask, async () => {\n if (!project || !runbook) {\n return;\n }\n const process = hasGitRunbooks\n ? await repository.Runbooks.getRunbookProcess(project.Id, project.SpaceId, runbook.RunbookProcessId, projectContext.state.gitRef?.CanonicalName)\n : await repository.Runbooks.getRunbookProcess(project.Id, project.SpaceId, runbook.RunbookProcessId);\n setRunbookProcess(process);\n const { publishedRunbookSnapshot, runbookRunTemplate } = await getData();\n setPublishedRunbookSnapshot(publishedRunbookSnapshot);\n setRunbookRunTemplate(runbookRunTemplate);\n }, [project, runbook]);\n const primaryAction = runbook && runbookProcess ? getPrimaryAction(props.spaceId, project, runbook, runbookProcess, gitRef) : undefined;\n const overflowActions = runbook ? getOverflowActions(project, runbook) : undefined;\n const pageActions = runbookProcess ? getPageActions(project, runbookProcess, runbookRunTemplate, publishedRunbookSnapshot) : undefined;\n const titleChip = publishedRunbookSnapshot && ;\n return (,\n }} filters={{\n inputs: [],\n advancedFilters: {\n onResetFilter: () => getDefaultFilter(),\n hasUserSelectedValues: !isEqual(getDefaultFilter(), filter),\n content: (\n \n ),\n },\n }} legacyStatus={status} legacyTabs={}>\n {runbook && }\n {runbook && }\n );\n}\nfunction isRunbookRunTemplateModified(runbookRunTemplate: RunbookRunTemplateResource | undefined) {\n return runbookRunTemplate && (runbookRunTemplate.IsRunbookProcessModified || runbookRunTemplate.IsVariableSetModified || runbookRunTemplate.IsLibraryVariableSetModified);\n}\nfunction getPageActions(project: ProjectResource, runbookProcess: RunbookProcessResource, runbookRunTemplate: RunbookRunTemplateResource | undefined, publishedRunbookSnapshot: RunbookSnapshotResource | undefined): PageAction[] {\n const hasGitRunbooks = HasRunbooksInGit(project.PersistenceSettings);\n if (hasGitRunbooks) {\n return [];\n }\n if (runbookProcess.Steps.length === 0) {\n return [];\n }\n return [\n {\n type: \"custom\",\n key: \"Publish\",\n content: ,\n hasPermissions: isAllowed({\n permission: Permission.RunbookEdit,\n project: project.Id,\n wildcard: true,\n }),\n },\n ];\n}\nfunction getPrimaryAction(spaceId: string, project: ProjectResource, runbook: RunbookResource, runbookProcess: RunbookProcessResource, gitRef: string | undefined): PrimaryPageAction {\n const hasGitRunbooks = HasRunbooksInGit(project.PersistenceSettings);\n if (runbookProcess.Steps.length === 0) {\n return {\n type: \"navigate\",\n label: \"Define your Runbook Process\",\n path: links.projectRunbookProcessListPage.generateUrl({ spaceId: project.SpaceId, projectSlug: project.Slug, runbookId: runbook.Id, processId: runbook.RunbookProcessId }),\n hasPermissions: isAllowed({ permission: Permission.RunbookEdit, project: project.Id, wildcard: true }),\n };\n }\n const allowedToRunOnCurrentBranch = isAllowedToRunGitRunbook(project, gitRef);\n return {\n type: \"custom\",\n key: \"Run now\",\n content: (),\n hasPermissions: isAllowed({\n permission: Permission.RunbookRunCreate,\n project: project.Id,\n wildcard: true,\n }),\n };\n}\nfunction getOverflowActions(project: ProjectResource, runbook: RunbookResource): SimpleMenuItem[] {\n const hasGitRunbooks = HasRunbooksInGit(project.PersistenceSettings);\n const overflowActions: SimpleMenuItem[] = [];\n const isAllowedToViewAudit = isAllowed({\n permission: Permission.EventView,\n wildcard: true,\n });\n if (!hasGitRunbooks) {\n overflowActions.push({\n type: \"internal-link\",\n label: \"View Snapshots\",\n path: links.projectRunbookSnapshotsPage.generateUrl({ spaceId: runbook.SpaceId, projectSlug: project.Slug, runbookId: runbook.Id }),\n });\n }\n if (isAllowedToViewAudit) {\n overflowActions.push({\n type: \"internal-link\",\n label: \"Audit Trail\",\n path: links.auditPage.generateUrl({ projects: [project.Id], documentTypes: [\"Runbooks\"], regardingAny: [runbook.Id] }),\n });\n }\n return overflowActions;\n}\ninterface NewRunbookRunsListPageInternalProps {\n project: ProjectResource;\n runbook: RunbookResource;\n doBusyTask: DoBusyTask;\n gitRef?: GitRefResource;\n environments: EnvironmentResource[];\n tenants: TenantResource[];\n filter: RunbookTaskFilter;\n take: number;\n setTake: (updater: (prev: number) => number) => void;\n}\nfunction getTaskStatesFromFilterState(taskFilterState?: TaskFilterState) {\n switch (taskFilterState) {\n case TaskFilterStateValues.Incomplete:\n return [TaskState.Queued, TaskState.Executing, TaskState.Cancelling].join(\",\");\n case TaskFilterStateValues.Completed:\n return [TaskState.Canceled, TaskState.Success, TaskState.Failed, TaskState.TimedOut].join(\",\");\n case TaskFilterStateValues.Unsuccessful:\n return [TaskState.Canceled, TaskState.Failed, TaskState.TimedOut].join(\",\");\n case TaskFilterStateValues.Queued:\n return TaskState.Queued;\n case TaskFilterStateValues.Executing:\n return TaskState.Executing;\n case TaskFilterStateValues.Cancelling:\n return TaskState.Cancelling;\n case TaskFilterStateValues.Success:\n return TaskState.Success;\n case TaskFilterStateValues.Canceled:\n return TaskState.Canceled;\n case TaskFilterStateValues.TimedOut:\n return TaskState.TimedOut;\n case TaskFilterStateValues.Failed:\n return TaskState.Failed;\n case TaskFilterStateValues.Running:\n return [TaskState.Executing, TaskState.Cancelling].join(\",\");\n default:\n return undefined;\n }\n}\nfunction composeDateFilter(filter: RunbookTaskFilter) {\n // We add one second to 'toDate' because moment considers the end of day to be 11:59:59.\n // We convert it to UTC because that's how we store dates in the backend.\n switch (filter.dateFilterType) {\n case TaskDateFilterTypeValues.CompletedTime:\n return {\n fromCompletedDate: moment.utc(filter.fromDate).format(),\n toCompletedDate: moment.utc(filter.toDate).add(1, \"second\").format(),\n };\n case TaskDateFilterTypeValues.QueueTime:\n return {\n fromQueueDate: moment.utc(filter.fromDate).format(),\n toQueueDate: moment.utc(filter.toDate).add(1, \"second\").format(),\n };\n case TaskDateFilterTypeValues.StartTime:\n return {\n fromStartDate: moment.utc(filter.fromDate).format(),\n toStartDate: moment.utc(filter.toDate).add(1, \"second\").format(),\n };\n default:\n return {};\n }\n}\nfunction getDefaultFilter(): RunbookTaskFilter {\n return {\n hasPendingInterruptions: false,\n hasWarningsOrErrors: false,\n fromDate: moment().subtract(1, \"month\").startOf(\"day\").toDate(),\n toDate: moment().endOf(\"day\").toDate(),\n };\n}\nfunction NewRunbookRunsListPageInternal({ project, runbook, filter, doBusyTask, gitRef, tenants, environments, take, setTake }: NewRunbookRunsListPageInternalProps) {\n const hasGitRunbooks = HasRunbooksInGit(project.PersistenceSettings);\n const [runbookProcess, setRunbookProcess] = useState();\n const [hasMoreTasks, setHasMoreTasks] = useState();\n const [runbookRuns, setRunbookRuns] = useState>();\n const refresh = useDoBusyTaskEffect(doBusyTask, async () => {\n const processPromise = hasGitRunbooks\n ? repository.Runbooks.getRunbookProcess(project.Id, project.SpaceId, runbook.RunbookProcessId, gitRef?.CanonicalName)\n : repository.Runbooks.getRunbookProcess(project.Id, project.SpaceId, runbook.RunbookProcessId);\n const searchFilter: TaskListBffArgs = {\n states: getTaskStatesFromFilterState(filter.state),\n project: runbook.ProjectId,\n runbook: runbook.Id,\n environment: filter.environment,\n tenant: filter.tenant,\n spaces: [runbook.SpaceId],\n hasPendingInterruptions: filter.hasPendingInterruptions ? true : undefined, // There is a bug in the endpoint that will not return any results if this is false, need to not supply it at all.\n hasWarningsOrErrors: filter.hasWarningsOrErrors ? true : undefined,\n includeSystem: false,\n ...composeDateFilter(filter),\n take: take,\n };\n const tasks = await repository.Tasks.getBffList(searchFilter);\n const taskIds = tasks.Items.map((task) => task.Id);\n setHasMoreTasks(tasks.Items.length < tasks.TotalResults);\n const runs = await repository.Runbooks.getTaskList(project, runbook.Id, { take: taskIds.length, taskIds });\n setRunbookRuns(runs);\n setRunbookProcess(await processPromise);\n }, [project, runbook, filter, take]);\n useRefreshLoop(refresh, 6000);\n const styles = {\n noRunsContainer: css({\n marginTop: space[24],\n marginBottom: space[24],\n display: \"flex\",\n flexDirection: \"column\",\n alignItems: \"center\",\n }),\n };\n // If we're still loading, don't render anything\n if (!runbookProcess || !runbookRuns || !environments || !tenants) {\n return null;\n }\n if (runbookProcess.Steps.length === 0 && runbookRuns.Items.length === 0) {\n // Show onboarding if there are no steps and no runs. We don't want to show onboarding if there are\n // runs but they've just deleted the process.\n return ;\n }\n if (runbookRuns.TotalResults === 0) {\n return (
    \n There are no runs for this Runbook yet.\n \n
    );\n }\n return (<>\n {runbookRuns.Items.length > 0 ? ( {\n setTake((currentTake) => currentTake + pageSize);\n }}/>) : (
    \n There are no matching runs.\n \n
    )}\n );\n}\n","/* eslint-disable @typescript-eslint/no-non-null-assertion */\n/* eslint-disable @typescript-eslint/no-explicit-any */\nimport type { PageAction } from \"@octopusdeploy/design-system-components\";\nimport { Permission } from \"@octopusdeploy/octopus-server-client\";\nimport type { RunbookSnapshotResource, RunbooksDashboardItemResource, TaskResource, RunbookRunTemplateResource } from \"@octopusdeploy/octopus-server-client\";\nimport { links } from \"@octopusdeploy/portal-routes\";\nimport { isEqual } from \"lodash\";\nimport * as React from \"react\";\nimport RunbooksNavigationTabs from \"~/areas/projects/components/Runbooks/RunbooksNavigationTabs\";\nimport type { ProjectContextProps } from \"~/areas/projects/context\";\nimport { useProjectContext } from \"~/areas/projects/context\";\nimport Tasks from \"~/areas/tasks/components/Tasks/Tasks\";\nimport { repository } from \"~/clientInstance\";\nimport { DataBaseComponent } from \"~/components/DataBaseComponent/DataBaseComponent\";\nimport type { DataBaseComponentState } from \"~/components/DataBaseComponent/DataBaseComponent\";\nimport InternalLink from \"~/components/Navigation/InternalLink\";\nimport { PageContent } from \"~/components/PageContent/PageContent\";\nimport { isAllowed } from \"~/components/PermissionCheck/PermissionCheck\";\nimport TaskDetails from \"~/components/TaskDetails\";\nimport type { GitRefQueryParamsProps } from \"../BranchSelector/useProjectGitRef\";\nimport { LastPublishedChip } from \"./LastPublishedChip\";\nimport { NewRunbookRunsListPage } from \"./NewRunbookRunsListPage/NewRunbookRunsListPage\";\nimport PublishButton from \"./PublishButton\";\nimport { RunNowButton } from \"./RunNowButton\";\nimport type { RunbookContextProps } from \"./RunbookContext\";\nimport { useRunbookContext } from \"./RunbookContext\";\nimport RunbookTaskStatusDetails from \"./RunbookTaskStatusDetails/RunbookTaskStatusDetails\";\nimport { useNewRunbookRunsListPageFeatureToggle } from \"./useNewRunbookRunsListPageFeatureToggle\";\ninterface RunbookRunsListProps {\n projectContext: ProjectContextProps;\n runbookContext: RunbookContextProps;\n}\ninterface RunbookRunsListState extends DataBaseComponentState {\n hasSteps: boolean;\n publishedRunbookSnapshot: RunbookSnapshotResource;\n runbookRunTemplate: RunbookRunTemplateResource;\n dashboardItems: RunbooksDashboardItemResource[];\n}\nclass RunbookRunsListLayoutInternal extends DataBaseComponent {\n constructor(props: RunbookRunsListProps) {\n super(props);\n this.state = {\n hasSteps: false,\n publishedRunbookSnapshot: null!,\n runbookRunTemplate: null!,\n dashboardItems: [],\n };\n }\n async componentDidMount() {\n // This is an async method, but we don't care about the result, so fire and forget (no await).\n this.props.projectContext.actions.refreshGitVariableErrors();\n await this.reload();\n }\n async componentDidUpdate(prevProps: RunbookRunsListProps) {\n const nextRunbook = this.props.runbookContext.state && this.props.runbookContext.state.runbook;\n const currentRunbook = prevProps.runbookContext.state && prevProps.runbookContext.state.runbook;\n if (!isEqual(currentRunbook, nextRunbook)) {\n await this.reload();\n }\n }\n async reload() {\n await this.doBusyTask(async () => {\n const runbook = this.props.runbookContext.state && this.props.runbookContext.state.runbook;\n if (!runbook) {\n return;\n }\n const runbookProcess = repository.RunbookProcess.get(runbook.RunbookProcessId);\n const publishedRunbookSnapshot = runbook.PublishedRunbookSnapshotId ? await repository.RunbookSnapshots.get(runbook.PublishedRunbookSnapshotId) : null!;\n const runbookRunTemplate = publishedRunbookSnapshot ? await repository.RunbookSnapshots.getRunbookRunTemplate(publishedRunbookSnapshot) : null!;\n this.setState({\n hasSteps: (await runbookProcess).Steps.length > 0,\n publishedRunbookSnapshot,\n runbookRunTemplate,\n });\n });\n }\n render() {\n const project = this.props.projectContext.state && this.props.projectContext.state.model;\n const runbook = this.props.runbookContext.state && this.props.runbookContext.state.runbook;\n if (!project || !runbook || this.errors) {\n return (\n \n );\n }\n const runbookRunTemplate = this.state.runbookRunTemplate;\n const publishedRunbookSnapshot = this.state.publishedRunbookSnapshot;\n const isRunbookRunTemplateModified = runbookRunTemplate && (runbookRunTemplate.IsRunbookProcessModified || runbookRunTemplate.IsVariableSetModified || runbookRunTemplate.IsLibraryVariableSetModified);\n const pageActions: PageAction[] = [];\n if (this.state.hasSteps) {\n pageActions.push({\n type: \"custom\",\n key: \"Publish\",\n content: ,\n hasPermissions: isAllowed({\n permission: Permission.RunbookEdit,\n project: project.Id,\n wildcard: true,\n }),\n });\n }\n pageActions.push({\n type: \"custom\",\n key: \"Run now\",\n content: ,\n hasPermissions: isAllowed({\n permission: Permission.RunbookRunCreate,\n project: project.Id,\n wildcard: true,\n }),\n });\n const titleChip = publishedRunbookSnapshot && ;\n return ( {\n return (\n \n {layoutProps.children}\n );\n }} onNewItems={async (tasks: Array>) => {\n await this.loadRunbookRunsAndSnapshots(tasks);\n return tasks;\n }} renderCell={(cellProps) => {\n const task = cellProps.task;\n const dashboardItem = this.state.dashboardItems.find((x) => x.TaskId === task.Id);\n if (dashboardItem) {\n return ;\n }\n // Permission edge-case: We fall back to the regular task-cell for cases where scopings on the user's permissions\n // stop them from seeing dashboard items related to this task.\n return (\n \n );\n }}/>);\n }\n private async loadRunbookRunsAndSnapshots(task: Array>) {\n const taskIds = task.map((x) => x.Id);\n const runbook = this.props.runbookContext.state && this.props.runbookContext.state.runbook;\n const dashboardItemsCollection = await repository.Progression.getTaskRunDashboardItemsForRunbook(runbook!, { taskIds, take: taskIds.length });\n this.setState({ dashboardItems: dashboardItemsCollection.Items });\n }\n static displayName = \"RunbookRunsListLayoutInternal\";\n}\ninterface RunbookRunsListLayoutProps extends GitRefQueryParamsProps {\n spaceId: string;\n}\nexport function RunbookRunsListPage(props: RunbookRunsListLayoutProps) {\n const runbookContext = useRunbookContext();\n const projectContext = useProjectContext();\n const newRunbookRunsListPageEnabled = useNewRunbookRunsListPageFeatureToggle(projectContext.state.model);\n if (newRunbookRunsListPageEnabled) {\n return ;\n }\n return ;\n}\n","import * as React from \"react\";\nimport type { GitRefQueryParamsProps } from \"../../BranchSelector/useProjectGitRef\";\nimport type { RunGoal } from \"../RunbookRunNowLayout\";\nimport { RunbookRunNowLayout } from \"../RunbookRunNowLayout\";\ninterface CreateRunbookRunPageProps extends GitRefQueryParamsProps {\n goal: RunGoal;\n runbookSnapshotId: string;\n}\nexport function CreateRunbookRunForSnapshotPage({ goal, runbookSnapshotId, queryParams, setQueryParams }: CreateRunbookRunPageProps) {\n return (<>\n \n );\n}\n","/* eslint-disable @typescript-eslint/no-non-null-assertion */\n/* eslint-disable @typescript-eslint/no-explicit-any */\n/* eslint-disable @typescript-eslint/consistent-type-assertions */\nimport { ActionButtonType, RadioButton, RadioButtonGroup, Tooltip } from \"@octopusdeploy/design-system-components\";\nimport type { ResourcesById, FeedResource, FeedType, RunbookProcessResource, RunbookSnapshotResource, RunbookSnapshotTemplateResource, RunbookResource, ProjectResource } from \"@octopusdeploy/octopus-server-client\";\nimport { Permission, toGitBranch } from \"@octopusdeploy/octopus-server-client\";\nimport type { LinkHref } from \"@octopusdeploy/portal-routes\";\nimport { links } from \"@octopusdeploy/portal-routes\";\nimport cn from \"classnames\";\nimport type { Dictionary } from \"lodash\";\nimport * as _ from \"lodash\";\nimport { cloneDeep, flatten, groupBy, isEqual, keys } from \"lodash\";\nimport * as React from \"react\";\nimport { GitResourcesSection } from \"~/areas/projects/components/Releases/Edit/GitResourcesSection\";\nimport type { GitReferenceEditInfo } from \"~/areas/projects/components/Releases/gitResourceModel\";\nimport { GitReferenceType } from \"~/areas/projects/components/Releases/gitResourceModel\";\nimport type { PackageEditInfo } from \"~/areas/projects/components/Releases/packageModel\";\nimport { VersionType } from \"~/areas/projects/components/Releases/packageModel\";\nimport { useProjectContext } from \"~/areas/projects/context\";\nimport { repository } from \"~/clientInstance\";\nimport { useSetExpanderState } from \"~/components/ControlExpanders/useSetExpanderState\";\nimport DebounceValue from \"~/components/DebounceValue/DebounceValue\";\nimport OpenDialogButton from \"~/components/Dialog/OpenDialogButton\";\nimport type { OptionalFormBaseComponentState } from \"~/components/FormBaseComponent/FormBaseComponent\";\nimport { default as FormBaseComponent } from \"~/components/FormBaseComponent/FormBaseComponent\";\nimport { LegacyForm } from \"~/components/FormPaperLayout/LegacyForm\";\nimport LoadMoreWrapper from \"~/components/LoadMoreWrapper/LoadMoreWrapper\";\nimport ExternalLink from \"~/components/Navigation/ExternalLink/ExternalLink\";\nimport InternalRedirect from \"~/components/Navigation/InternalRedirect/InternalRedirect\";\nimport { OverflowMenuItems } from \"~/components/OverflowMenu/OverflowMenu\";\nimport { OverflowMenuConverterVNext } from \"~/components/OverflowMenu/OverflowMenuConverterVNext\";\nimport { PageContent } from \"~/components/PageContent/PageContent\";\nimport { PageLoading } from \"~/components/PageContent/PageLoading\";\nimport TransitionAnimation from \"~/components/TransitionAnimation/TransitionAnimation\";\nimport { ExpandableFormSection, Note, Summary } from \"~/components/form\";\nimport isBound from \"~/components/form/BoundField/isBound\";\nimport MarkdownEditor from \"~/components/form/MarkdownEditor/MarkdownEditor\";\nimport { CardFill } from \"~/components/form/Sections/ExpandableFormSection\";\nimport { required } from \"~/components/form/Validators\";\nimport { useOctopusFeatureToggle } from \"~/hooks/useOctopusFeatureToggle\";\nimport { DataTable, DataTableBody, DataTableHeader, DataTableHeaderColumn, DataTableRow, DataTableRowColumn } from \"~/primitiveComponents/dataDisplay/DataTable\";\nimport Text from \"~/primitiveComponents/form/Text/Text\";\nimport { timeOperationOptions } from \"~/utils/OperationTimer/timeOperation\";\nimport StringHelper from \"~/utils/StringHelper/StringHelper\";\nimport PackageListDialogContent from \"../../Releases/PackageListDialog/PackageListDialogContent\";\nimport { publishingExplainedElement } from \"../PublishButton\";\nimport { useRunbookContext } from \"../RunbookContext\";\nimport styles from \"./RunbookSnapshotEditPage.module.less\";\nconst versionExpanderKey = \"version\";\ninterface RunbookSnapshotModel {\n packages: PackageEditInfo[];\n gitResources: GitReferenceEditInfo[];\n runbookSnapshot: RunbookSnapshotResource;\n}\ninterface RunbookSnapshotEditPageState extends OptionalFormBaseComponentState {\n originalName: string;\n runbookProcess: RunbookProcessResource;\n template: RunbookSnapshotTemplateResource;\n seeVersionExample: boolean;\n isNew: boolean;\n redirect: boolean;\n deleted: boolean;\n defaultCheckModel: RunbookSnapshotModel;\n feeds: ResourcesById;\n hasInitialModelUpdateCompleted: boolean; // To stop the user being able to interact with the runbookSnapshot version input before we've finished loading version rules.\n}\nconst DebounceText = DebounceValue(Text);\ninterface RunbookSnapshotEditInternalPageProps extends RunbookSnapshotEditPageProps {\n runbook: RunbookResource;\n project: ProjectResource;\n setExpanderState(key: string, open: boolean): void;\n refreshRunbook: () => Promise;\n fixedPackageVersionEnabled: boolean;\n}\nclass RunbookSnapshotEditPageInternal extends FormBaseComponent {\n textField: any = null;\n memoizedRepositoryChannelsRuleTest = _.memoize((version: string, versionRange: string, preReleaseTag: string, feedType: FeedType) => repository.Channels.ruleTest({\n version,\n versionRange,\n preReleaseTag,\n feedType,\n }));\n constructor(props: RunbookSnapshotEditInternalPageProps) {\n super(props);\n this.state = {\n originalName: null!,\n runbookProcess: null!,\n template: null!,\n seeVersionExample: false,\n isNew: true,\n redirect: false,\n deleted: false,\n defaultCheckModel: null!,\n feeds: null!,\n hasInitialModelUpdateCompleted: false,\n };\n }\n async componentDidMount() {\n await this.reload();\n }\n async componentDidUpdate(prevProps: RunbookSnapshotEditInternalPageProps) {\n const nextRunbook = this.props.runbook;\n const currentRunbook = prevProps.runbook;\n if (!isEqual(currentRunbook, nextRunbook)) {\n await this.reload();\n }\n }\n async reload() {\n const project = this.props.project;\n const runbook = this.props.runbook;\n await this.doBusyTask(async () => {\n let runbookSnapshot = null;\n let originalName = null;\n let runbookProcessPromise = null;\n let isNew = true;\n let cleanModel: any = null;\n if (this.props.runbookSnapshotId) {\n runbookSnapshot = await repository.RunbookSnapshots.get(this.props.runbookSnapshotId);\n originalName = runbookSnapshot.Name;\n isNew = false;\n runbookProcessPromise = this.loadRunbookProcess(runbookSnapshot.FrozenRunbookProcessId);\n }\n else {\n runbookSnapshot = {\n ProjectId: project.Id,\n RunbookId: runbook.Id,\n };\n runbookProcessPromise = this.loadRunbookProcess(runbook.RunbookProcessId);\n cleanModel = {\n version: null,\n packages: [],\n gitResources: [],\n runbookSnapshotNotes: null,\n runbookSnapshot: null,\n options: null,\n };\n }\n const model = this.buildModel(runbookSnapshot as RunbookSnapshotResource, [], []);\n if (isNew) {\n model.runbookSnapshot.Notes = null!;\n }\n const [feeds, runbookProcess] = await Promise.all([repository.Feeds.allById(), runbookProcessPromise]);\n await this.loadTemplate(model, runbookProcess);\n this.setState({\n originalName: originalName!,\n runbookProcess,\n model,\n cleanModel: cleanModel ? cleanModel : cloneDeep(model),\n defaultCheckModel: cloneDeep(model),\n isNew,\n feeds,\n hasInitialModelUpdateCompleted: true,\n });\n }, { timeOperationOptions: timeOperationOptions.forInitialLoad() });\n }\n render() {\n if (this.state.redirect) {\n return ();\n }\n if (this.state.deleted) {\n return ;\n }\n const { project, runbook } = this.props;\n const legacyOverflowActions = !this.state.isNew && !!this.state.model && !!this.state.model.runbookSnapshot\n ? [\n OverflowMenuItems.deleteItemDefault(\"snapshot\", this.handleDeleteConfirm, {\n permission: Permission.RunbookEdit,\n project: project && project.Id,\n wildcard: true,\n }, \"The snapshot and any of its steps will be permanently deleted and they will disappear from all dashboards.\"),\n [\n OverflowMenuItems.navItem(\"Audit Trail\", links.auditPage.generateUrl({ regardingAny: [this.state.model.runbookSnapshot.Id] }), {\n permission: Permission.EventView,\n wildcard: true,\n }),\n ],\n ]\n : [];\n const convertedOverflowActions = OverflowMenuConverterVNext.convertAll(legacyOverflowActions);\n let title = \"Snapshot\";\n if (project) {\n title = this.state.isNew ? \"Publish new snapshot for \" + project.Name : this.state.model && this.state.model.runbookSnapshot ? \"Edit \" + this.state.model.runbookSnapshot.Name : \"Edit snapshot\";\n }\n if (this.state.runbookProcess && this.state.runbookProcess.Steps.length === 0) {\n return (\n {null}\n );\n }\n const hasLoaded = !!this.state.model;\n let breadcrumbTitle = hasLoaded ? \"Snapshots\" : StringHelper.ellipsis;\n let breadcrumbPath: LinkHref = links.projectRunbookSnapshotsPage.generateUrl({ spaceId: project.SpaceId, projectSlug: project.Slug, runbookId: runbook.Id });\n if (hasLoaded && this.state.isNew) {\n breadcrumbTitle = runbook.Name;\n breadcrumbPath = links.projectRunbookOverviewPage.generateUrl({ spaceId: project.SpaceId, projectSlug: project.Slug, runbookId: runbook.Id });\n }\n return (\n {({ FormContent, createSaveAction }) => (\n {publishingExplainedElement} A snapshot will be taken of the process, variables and packages, allowing changes to be made safely. Learn more\n ),\n }\n : undefined}>\n {this.state.model && this.state.hasInitialModelUpdateCompleted && (\n {convertedOverflowActions.dialogs}\n \n \n this.setChildState2(\"model\", \"runbookSnapshot\", { Name: name })} label=\"Name\" validate={required(\"Please enter a name\")}/>\n \n {this.state.model.packages && this.state.model.packages.length > 0 && (\n
    \n \n \n \n \n
    Step
    \n Package\n
    \n \n \n Latest\n {this.state.model.packages && this.state.model.packages.length > 1 && (\n
    \n \n this.setAllPackageVersionsTo(e, VersionType.latest, null!, false)}>\n Select all\n \n \n
    )}\n
    \n
    \n \n Specific\n {this.state.model.packages && this.state.model.packages.length > 1 && this.state.model.runbookSnapshot && this.state.model.runbookSnapshot.Name && (\n
    \n \n this.setAllPackageVersionsTo(e, VersionType.specific, this.state.model!.runbookSnapshot.Name, true)}>\n Select current snapshot version\n \n \n
    )}\n
    \n
    \n
    \n \n {this.state.model && this.state.model.packages && ( {\n return (\n {children}\n );\n }} renderItem={(pack, index) => (\n \n
    \n {pack.ActionName}\n {!!pack.PackageReferenceName && /{pack.PackageReferenceName}}\n
    \n \n {pack.ProjectName ? pack.ProjectName : pack.PackageId}\n \n
    \n \n {this.buildRadioButton(pack, pack.LatestVersion, VersionType.latest, this.state.model!)}\n \n \n
    \n {this.props.fixedPackageVersionEnabled && pack.FixedVersion ? (\n
    {this.buildRadioButton(pack, pack.FixedVersion, VersionType.specific, this.state.model!)}
    \n
    ) : (<>\n
    {this.buildRadioButton(pack, pack.SpecificVersion, VersionType.specific, this.state.model!)}
    \n
    \n
    \n {\n this.specificVersionSelected(this.state.model!, pack, version);\n }} disabled={this.props.fixedPackageVersionEnabled && !!pack.FixedVersion}/>\n
    \n
    \n
    {this.packageVersionsButton(pack)}
    \n )}\n
    \n
    \n
    )}/>)}\n
    \n
    \n
    \n
    )}\n\n {this.state.model.gitResources && this.state.model.gitResources.length > 0 && ( {\n this.setState((prevState) => {\n const updatedGitRefs = prevState.model?.gitResources.map((gr) => (gr.ActionName === gitRef.ActionName ? gitRef : gr));\n return {\n model: {\n ...prevState.model,\n gitResources: updatedGitRefs,\n },\n };\n });\n }}/>)}\n \n this.setChildState2(\"model\", \"runbookSnapshot\", { Notes: runbookSnapshotNotes })}/>\n \n
    \n
    )}\n
    )}\n
    );\n }\n private setAllPackageVersionsTo = (e: React.MouseEvent, versionType: VersionType, specificVersion: string, includeConfirmation: boolean) => {\n e.preventDefault();\n if (includeConfirmation && !confirm(`This will set all packages to version ${specificVersion}. Are you sure this version exists for all the packages?`)) {\n return;\n }\n const model = this.state.model;\n const runbookSnapshot = model!.runbookSnapshot;\n runbookSnapshot.SelectedPackages = [];\n for (const selection of this.state.model!.packages) {\n selection.VersionType = versionType;\n selection.SpecificVersion = specificVersion;\n runbookSnapshot.SelectedPackages.push({\n ActionName: selection.ActionName,\n Version: specificVersion,\n PackageReferenceName: selection.PackageReferenceName,\n });\n }\n this.setState({ model });\n };\n private handleSaveClick = async () => {\n await this.doBusyTask(async () => {\n const model = this.state.model;\n const runbookSnapshot = model!.runbookSnapshot;\n runbookSnapshot.SelectedPackages = [];\n for (const selection of this.state.model!.packages) {\n let selectedVersion = \"\";\n if (this.props.fixedPackageVersionEnabled && selection.FixedVersion) {\n selectedVersion = selection.FixedVersion;\n }\n else if (selection.VersionType === VersionType.latest) {\n selectedVersion = selection.LatestVersion;\n }\n else if (selection.VersionType === VersionType.last) {\n selectedVersion = selection.LastReleaseVersion;\n }\n else if (selection.VersionType === VersionType.specific) {\n selectedVersion = selection.SpecificVersion;\n }\n runbookSnapshot.SelectedPackages.push({\n ActionName: selection.ActionName,\n Version: selectedVersion,\n PackageReferenceName: selection.PackageReferenceName,\n });\n }\n runbookSnapshot.SelectedGitResources = this.state.model!.gitResources.map((r) => ({\n ActionName: r.ActionName,\n GitReferenceResource: r.GitReferenceType === GitReferenceType.specific ? r.SpecificGitResource : r.LastGitResource!,\n GitResourceReferenceName: r.GitResourceReferenceName ?? \"\",\n }));\n const newRunbookSnapshot = await save(runbookSnapshot);\n const newModel = this.buildModel(newRunbookSnapshot, this.state.model!.packages, this.state.model!.gitResources);\n await this.props.refreshRunbook();\n this.setState({\n model: newModel,\n cleanModel: cloneDeep(newModel),\n redirect: true,\n });\n });\n async function save(runbookSnapshot: RunbookSnapshotResource) {\n if (runbookSnapshot.Id) {\n return repository.RunbookSnapshots.modify(runbookSnapshot);\n }\n // New = publishing.\n return repository.RunbookSnapshots.create(runbookSnapshot, { publish: true });\n }\n };\n private packageVersionsButton = (pkg: PackageEditInfo) => {\n const feed = this.state.feeds ? this.state.feeds[pkg.FeedId] : undefined;\n const openDialog = (disabled: boolean) => {\n if (!feed) {\n throw Error(`The provided feed ${pkg.FeedId} could not be found`);\n }\n return (\n {\n this.specificVersionSelected(this.state.model!, pkg, version);\n }} channelFilters={{}}/>\n );\n };\n if (this.state.feeds && this.state.feeds[pkg.FeedId]) {\n return openDialog(false);\n }\n return {openDialog(true)};\n };\n private packagesSummary = () => {\n if (!this.state.model!.packages || this.state.model!.packages.length === 0) {\n return Summary.placeholder(\"No package is included\");\n }\n const packageVersions = this.state.model!.packages.map((p) => this.getPackageInfoVersion(p));\n if (packageVersions.length === 1) {\n return Summary.summary(packageVersions[0] ? (\"1 package included, at version \" + packageVersions[0]) : (\n 1 package included, no version specified\n ));\n }\n const firstVersion = packageVersions.find((p) => !!p);\n const noneHaveVersion = !firstVersion;\n const allOnSameVersion = firstVersion && packageVersions.every((p) => p === firstVersion);\n const numberWithNoVersion = packageVersions.filter((p) => !p).length;\n const packagesIncluded = packageVersions.length + \" packages included\";\n const noVersionSummary = numberWithNoVersion ? (\n ,{\" \"}\n \n {numberWithNoVersion} {numberWithNoVersion === 1 ? \"has\" : \"have\"} no version selected\n \n ) : ();\n const versionSummary = allOnSameVersion ? \", all at version \" + firstVersion : noneHaveVersion ? \"\" : \", with a mix of versions\";\n return Summary.summary(\n {packagesIncluded}\n {versionSummary}\n {noVersionSummary}\n );\n };\n private getPackageInfoVersion(info: PackageEditInfo): string {\n if (info.FixedVersion && this.props.fixedPackageVersionEnabled) {\n return info.FixedVersion;\n }\n return info.VersionType === VersionType.specific ? info.SpecificVersion : info.LatestVersion;\n }\n private disableDirtyFormCheck = () => {\n // don't want \"dirty\" to be triggered by the version being auto populated or channel from route param\n return this.state.cleanModel && isEqual(this.state.defaultCheckModel, this.state.model);\n };\n private buildRadioButton(pack: PackageEditInfo, version: string, type: VersionType, model: RunbookSnapshotModel) {\n if (!pack.IsResolvable && type === VersionType.latest) {\n return
    ;\n }\n return ( {\n this.packageVersionChanged(model, pack, version, type);\n }}>\n \n );\n }\n private buildRunbookSnapshotNoteHelpInfo = () => {\n const helpInfo = \"Enter a summary of what has changed, such as which features were added and which bugs were fixed. \" + \"These notes will be shown on the snapshot page. You can edit these notes later.\";\n return helpInfo;\n };\n private specificVersionSelected = (model: RunbookSnapshotModel, pack: PackageEditInfo, version: string) => {\n pack.SpecificVersion = version;\n this.packageVersionChanged(model, pack, version, VersionType.specific);\n };\n private handleDeleteConfirm = async (): Promise => {\n if (!this.state.isNew) {\n await repository.RunbookSnapshots.del(this.state.model!.runbookSnapshot);\n this.setState((state) => {\n return {\n model: null,\n cleanModel: null,\n deleted: true,\n };\n });\n return true;\n }\n else {\n return false;\n }\n };\n private loadRunbookProcess = async (processId: string) => {\n const runbookProcess = await repository.RunbookProcess.get(processId);\n return runbookProcess;\n };\n private async loadTemplate(model: RunbookSnapshotModel, runbookProcess: RunbookProcessResource) {\n const template = await repository.RunbookProcess.getRunbookSnapshotTemplate(runbookProcess, null!);\n if (!model.runbookSnapshot.Id) {\n if (template.NextNameIncrement) {\n model.runbookSnapshot.Name = template.NextNameIncrement;\n }\n }\n const selectionByFeed: {\n [feedId: string]: PackageEditInfo[];\n } = {};\n const packageSelections = [];\n for (const p of template.Packages) {\n const existingSelection = model.runbookSnapshot.SelectedPackages ? model.runbookSnapshot.SelectedPackages.filter((sp) => sp.ActionName === p.ActionName && sp.PackageReferenceName === p.PackageReferenceName)[0] : null;\n const specificVersion = existingSelection ? existingSelection.Version : \"\";\n const isResolvable = p.IsResolvable;\n const lastReleaseVersion = p.VersionSelectedLastRelease;\n const selection: PackageEditInfo = {\n ActionName: p.ActionName,\n PackageReferenceName: p.PackageReferenceName,\n PackageId: p.PackageId,\n ProjectName: p.ProjectName,\n FeedId: p.FeedId,\n FeedName: p.FeedName,\n LatestVersion: \"\",\n SpecificVersion: specificVersion,\n IsResolvable: isResolvable,\n LastReleaseVersion: lastReleaseVersion,\n ...(this.props.fixedPackageVersionEnabled ? { FixedVersion: p.FixedVersion } : {}),\n VersionType: specificVersion ? VersionType.specific : isResolvable ? VersionType.latest : lastReleaseVersion ? VersionType.last : VersionType.specific,\n IsLastReleaseVersionValid: !isBound(p.FeedId),\n };\n packageSelections.push(selection);\n if (selection.IsResolvable) {\n if (!selectionByFeed[selection.FeedId]) {\n selectionByFeed[selection.FeedId] = [];\n }\n selectionByFeed[selection.FeedId].push(selection);\n }\n }\n const gitResourceSelections: GitReferenceEditInfo[] = template.GitResources\n ? template.GitResources.map((g) => {\n const existingSelection = model.runbookSnapshot?.SelectedGitResources?.find((sgr) => sgr.ActionName === g.ActionName && sgr.GitResourceReferenceName === g.Name);\n return {\n ActionName: g.ActionName,\n GitCredentialId: g.GitCredentialId,\n RepositoryUri: g.RepositoryUri,\n DefaultBranch: g.DefaultBranch,\n IsResolvable: g.IsResolvable,\n FilePathFilters: g.FilePathFilters,\n LastGitResource: g.GitResourceSelectedLastRelease,\n SpecificGitResource: existingSelection?.GitReferenceResource || { GitRef: toGitBranch(g.DefaultBranch) },\n GitReferenceType: GitReferenceType.specific,\n GitResourceReferenceName: g.Name,\n };\n })\n : [];\n await this.setStateAsync({ ...this.state, template });\n await this.loadVersions(model, selectionByFeed); // This function depends on template being in state.\n model.packages = packageSelections;\n model.gitResources = gitResourceSelections;\n this.setState({ model });\n if (!model.runbookSnapshot.Name) {\n this.props.setExpanderState(versionExpanderKey, true);\n }\n }\n private setVersionSatisfaction = (pkg: PackageEditInfo, versionType: VersionType) => {\n if (versionType) {\n pkg.VersionType = versionType;\n }\n };\n private loadVersions(model: RunbookSnapshotModel, selectionsByFeed: Dictionary): Promise {\n const memoizedRepositoryFeedsGet = _.memoize((id: string) => repository.Feeds.get(id));\n const checkForRuleSatisfaction = async (selection: PackageEditInfo, filters: {\n versionRange?: string;\n preReleaseTag?: string;\n }, feedType: FeedType) => {\n if (selection.LastReleaseVersion) {\n const result = await this.memoizedRepositoryChannelsRuleTest(selection.LastReleaseVersion, filters.versionRange!, filters.preReleaseTag!, feedType!);\n selection.IsLastReleaseVersionValid = result.SatisfiesVersionRange && result.SatisfiesPreReleaseTag;\n }\n else {\n selection.IsLastReleaseVersionValid = false;\n }\n };\n const getPackageVersion = async (feedId: string): Promise => {\n const feed = await memoizedRepositoryFeedsGet(feedId);\n const selections = selectionsByFeed[feedId];\n const packageSearchGroups = groupBy(selections.map((selection) => ({ selection, filter: {} })), ({ selection, filter }) => selection.PackageId + JSON.stringify(filter || {}));\n const t = Object.values(packageSearchGroups).map(async (sameFilteredPackages) => {\n const runbookSnapshots = (await repository.Feeds.searchPackageVersions(feed, sameFilteredPackages[0].selection.PackageId, {\n ...sameFilteredPackages[0].filter,\n take: 1,\n })).Items;\n return sameFilteredPackages.map(async ({ selection, filter }) => {\n await checkForRuleSatisfaction(selection, filter, feed.FeedType);\n if (runbookSnapshots.length === 0) {\n // no latest version found\n selection.IsResolvable = false;\n // Docker feeds may not conform to semver, in which case there will be no valid versions.\n // However you can manually enter a version like \"latest\", and this will be shown as the\n // last version. It is convenient to select that last version rather than default to\n // the specific version field.\n selection.VersionType = VersionType.specific;\n return this.setVersionSatisfaction(selection, null!);\n }\n const pkg = runbookSnapshots[0];\n selection.LatestVersion = pkg.Version;\n if (!model.runbookSnapshot.Id) {\n return this.packageVersionChanged(model, selection, pkg.Version, null!);\n }\n return this.setVersionSatisfaction(selection, null!);\n });\n });\n return Promise.all(flatten(await Promise.all(t)));\n };\n return this.doBusyTask(async () => {\n return Promise.all(keys(selectionsByFeed)\n .filter((f) => !isBound(f))\n .map((f) => getPackageVersion(f)));\n });\n }\n private packageVersionChanged = (m: RunbookSnapshotModel, pkg: PackageEditInfo, version: string, versionType: VersionType) => {\n const model = { ...m };\n if (versionType) {\n pkg.VersionType = versionType;\n if (versionType === VersionType.specific) {\n pkg.SpecificVersion = version;\n }\n }\n if (!isBound(pkg.FeedId) && this.state.feeds) {\n const feed = this.state.feeds[pkg.FeedId];\n if (feed) {\n this.setVersionSatisfaction(pkg, versionType);\n }\n }\n this.setState({ model });\n };\n private buildModel(runbookSnapshot: RunbookSnapshotResource, packageSelections: PackageEditInfo[], gitResourceSelections: GitReferenceEditInfo[]): RunbookSnapshotModel {\n const model: RunbookSnapshotModel = {\n packages: packageSelections,\n gitResources: gitResourceSelections,\n runbookSnapshot,\n };\n return model;\n }\n static displayName = \"RunbookSnapshotEditPageInternal\";\n}\ninterface RunbookSnapshotEditPageProps {\n runbookSnapshotId?: string;\n}\nexport function RunbookSnapshotEditPage(props: RunbookSnapshotEditPageProps) {\n const runbookContext = useRunbookContext();\n const projectContext = useProjectContext();\n const setExpanders = useSetExpanderState();\n const project = projectContext.state.model;\n const runbook = runbookContext.state.runbook;\n const packageVersionOnActionFeatureEnabled = useOctopusFeatureToggle(\"package-version-on-action\", false);\n if (!runbook || !project) {\n return ;\n }\n const refreshRunbook = runbookContext.actions.refreshRunbook;\n return ();\n}\n","/* eslint-disable @typescript-eslint/no-non-null-assertion */\n/* eslint-disable @typescript-eslint/no-explicit-any */\n/* eslint-disable @typescript-eslint/consistent-type-assertions */\nimport { ActionButtonType, Tooltip, Callout } from \"@octopusdeploy/design-system-components\";\nimport type { PageAction } from \"@octopusdeploy/design-system-components\";\nimport type { RunbookSnapshotResource, EventResource, ResourceCollection, ProjectResource, EventCategoryResource, RunbookResource } from \"@octopusdeploy/octopus-server-client\";\nimport { ProcessType, Permission, HasRunbooksInGit } from \"@octopusdeploy/octopus-server-client\";\nimport { links } from \"@octopusdeploy/portal-routes\";\nimport { isEqual } from \"lodash\";\nimport * as React from \"react\";\nimport { PublishSnapshotDialogLayout } from \"~/areas/projects/components/Runbooks/PublishSnapshotDialogLayout/PublishSnapshotDialogLayout\";\nimport { useProjectContext } from \"~/areas/projects/context\";\nimport { repository } from \"~/clientInstance\";\nimport { RunbookSnapshotPublishedChip } from \"~/components/Chips\";\nimport type { DataBaseComponentState } from \"~/components/DataBaseComponent/DataBaseComponent\";\nimport { DataBaseComponent } from \"~/components/DataBaseComponent/DataBaseComponent\";\nimport Dialog from \"~/components/Dialog/Dialog\";\nimport OpenDialogButton from \"~/components/Dialog/OpenDialogButton\";\nimport { NotPermittedToViewEventsCallout } from \"~/components/EventListing/EventListing\";\nimport { ListEventsForReleaseOrRunbookSnapshot } from \"~/components/ListEventsForRelease/ListEventsForReleaseOrRunbookSnapshot\";\nimport InternalRedirect from \"~/components/Navigation/InternalRedirect\";\nimport type { MenuItem } from \"~/components/OverflowMenu/OverflowMenu\";\nimport { OverflowMenuItems } from \"~/components/OverflowMenu/OverflowMenu\";\nimport type { ConvertedOverflowMenuItems } from \"~/components/OverflowMenu/OverflowMenuConverterVNext\";\nimport { OverflowMenuConverterVNext } from \"~/components/OverflowMenu/OverflowMenuConverterVNext\";\nimport { PageContent } from \"~/components/PageContent/PageContent\";\nimport { PageLoading } from \"~/components/PageContent/PageLoading\";\nimport PermissionCheck, { isAllowed } from \"~/components/PermissionCheck/PermissionCheck\";\nimport { FormSectionHeading } from \"~/components/form\";\nimport { useOctopusFeatureToggle } from \"~/hooks/useOctopusFeatureToggle\";\nimport DateFormatter from \"~/utils/DateFormatter/DateFormatter\";\nimport { timeOperationOptions } from \"~/utils/OperationTimer/timeOperation\";\nimport StringHelper from \"~/utils/StringHelper\";\nimport UpdateVariables from \"../../Releases/UpdateVariables/UpdateVariables\";\nimport { publishingExplainedElement } from \"../PublishButton\";\nimport { useRunbookContext } from \"../RunbookContext\";\nimport { isRunbookConsumerTryingToRunAnUnpublishedSnapshot } from \"../isRunbookConsumerTryingToRunAnUnpublishedSnapshot\";\nimport { RunbookSnapshotInfo } from \"./RunbookSnapshotInfo\";\nimport styles from \"./RunbookSnapshotInfoPage.module.less\";\ninterface RunbookSnapshotInfoPageState extends DataBaseComponentState {\n runbookSnapshot: RunbookSnapshotResource;\n events: ResourceCollection;\n eventCategories: EventCategoryResource[];\n variableSnapshotRefreshKey: string;\n deleted: boolean;\n}\ninterface RunbookSnapshotInfoPageInternalProps extends RunbookSnapshotInfoPageProps {\n runbook: RunbookResource;\n project: ProjectResource;\n publishShapshot: (snapshot: RunbookSnapshotResource) => Promise;\n isNewRunbookRunsListPageEnabled: boolean;\n}\nclass RunbookSnapshotInfoPageInternal extends DataBaseComponent {\n constructor(props: RunbookSnapshotInfoPageInternalProps) {\n super(props);\n this.state = {\n runbookSnapshot: null!,\n events: null!,\n eventCategories: null!,\n variableSnapshotRefreshKey: DateFormatter.timestamp(),\n deleted: false,\n };\n }\n async componentDidMount() {\n await this.reload();\n }\n async componentDidUpdate(prevProps: RunbookSnapshotInfoPageInternalProps) {\n const nextRunbook = this.props.runbook;\n const currentRunbook = prevProps.runbook;\n if (!isEqual(currentRunbook, nextRunbook)) {\n await this.reload();\n }\n }\n reload = async () => {\n return this.doBusyTask(async () => {\n const runbookSnapshot = await repository.RunbookSnapshots.get(this.props.runbookSnapshotId);\n this.setState({ runbookSnapshot });\n }, { timeOperationOptions: timeOperationOptions.forInitialLoad() });\n };\n publishSnapshot = () => this.state.runbookSnapshot && this.props.publishShapshot(this.state.runbookSnapshot);\n render() {\n const project = this.props.project;\n const runbook = this.props.runbook;\n if (this.state.deleted) {\n if (HasRunbooksInGit(project.PersistenceSettings)) {\n return ;\n }\n return ;\n }\n const convertedOverflowActions = this.getOverflowActions(project, runbook);\n const pageActions: PageAction[] = [];\n if (this.state.runbookSnapshot) {\n if ((!runbook.PublishedRunbookSnapshotId || (runbook.PublishedRunbookSnapshotId && runbook.PublishedRunbookSnapshotId !== this.state.runbookSnapshot.Id)) && !HasRunbooksInGit(this.props.project.PersistenceSettings)) {\n pageActions.push({\n type: \"custom\",\n key: \"Publish\",\n hasPermissions: isAllowed({\n permission: Permission.RunbookEdit,\n project: project.Id,\n wildcard: true,\n }),\n content: (\n (\n \n )}>\n ),\n });\n }\n }\n if (!isRunbookConsumerTryingToRunAnUnpublishedSnapshot(project, runbook, this.state.runbookSnapshot && this.state.runbookSnapshot.Id) && !HasRunbooksInGit(this.props.project.PersistenceSettings)) {\n pageActions.push({\n type: \"navigate\",\n buttonType: \"secondary\",\n label: \"Run...\",\n hasPermissions: isAllowed({ permission: Permission.RunbookRunCreate, project: project.Id, wildcard: true }),\n path: links.createRunbookRunForSnapshotPage.generateUrl({ spaceId: project.SpaceId, projectSlug: project.Slug, runbookId: runbook.Id, runbookSnapshotId: this.props.runbookSnapshotId }),\n });\n }\n return (\n {convertedOverflowActions.dialogs}\n
    \n {this.state.runbookSnapshot && (
    \n {HasRunbooksInGit(project.PersistenceSettings) ? (\n Snapshot view is not available for projects using Config-as-Code Runbooks, however this information is still available on the Runbook Run page.\n ) : ()}\n \n \n The {Permission.RunbookRunView} permission is required to view the runbook run history\n }>\n }>\n \n \n \n
    )}\n
    \n
    );\n }\n private getOverflowActions(project: ProjectResource, runbook: RunbookResource): ConvertedOverflowMenuItems {\n const overflowActions: MenuItem[] = [];\n if (!HasRunbooksInGit(project.PersistenceSettings)) {\n overflowActions.push(OverflowMenuItems.navItem(\"Edit\", links.projectRunbookSnapshotEditPage.generateUrl({ spaceId: project.SpaceId, projectSlug: project.Slug, runbookId: runbook.Id, runbookSnapshotId: this.props.runbookSnapshotId }), {\n permission: Permission.RunbookEdit,\n project: project.Id,\n wildcard: true,\n }));\n }\n if (this.state.runbookSnapshot) {\n if (!HasRunbooksInGit(project.PersistenceSettings)) {\n overflowActions.push(OverflowMenuItems.dialogItem(\"Update Variables\", {\n const runbookSnapshot = await repository.RunbookSnapshots.snapshotVariables(this.state.runbookSnapshot);\n this.setState({ runbookSnapshot, variableSnapshotRefreshKey: DateFormatter.timestamp() });\n }}/>, {\n permission: Permission.RunbookEdit,\n project: project.Id,\n wildcard: true,\n }));\n }\n // Hide the delete button if the snapshot was made from a runbook in Git.\n // Only Git Runbooks contain the GitCommit property on the GitReference.\n if (!this.state.runbookSnapshot.GitReference?.GitCommit) {\n overflowActions.push(OverflowMenuItems.deleteItemDefault(\"runbook snapshot\", this.handleDeleteConfirm, {\n permission: Permission.RunbookEdit,\n project: project.Id,\n wildcard: true,\n }, \"The runbook snapshot and any of its runs will be permanently deleted and they will disappear from all dashboards.\"));\n }\n overflowActions.push(OverflowMenuItems.navItem(\"Audit Trail\", links.auditPage.generateUrl({ regardingAny: [this.state.runbookSnapshot.Id] }), {\n permission: Permission.EventView,\n wildcard: true,\n }));\n }\n return OverflowMenuConverterVNext.convertAll(overflowActions);\n }\n private runbookSnapshotTitle(): string {\n return this.state.runbookSnapshot?.Name ?? StringHelper.ellipsis;\n }\n private runbookSnapshotTitleChip(): React.ReactElement | undefined {\n return this.state.runbookSnapshot && this.state.runbookSnapshot.Id === this.props.runbook.PublishedRunbookSnapshotId ? : undefined;\n }\n private handleDeleteConfirm = async (): Promise => {\n if (this.state.runbookSnapshot) {\n await repository.RunbookSnapshots.del(this.state.runbookSnapshot);\n this.setState({ deleted: true });\n return true;\n }\n else {\n return false;\n }\n };\n static displayName = \"RunbookSnapshotInfoPageInternal\";\n}\ninterface RunbookSnapshotInfoPageProps {\n runbookSnapshotId: string;\n}\nexport function RunbookSnapshotInfoPage({ runbookSnapshotId }: RunbookSnapshotInfoPageProps) {\n const isNewRunbookRunsListPageEnabled = useOctopusFeatureToggle(\"new-runbook-runs-list-page\", false);\n const runbookContext = useRunbookContext();\n const projectContext = useProjectContext();\n const project = projectContext.state.model;\n const runbook = runbookContext.state.runbook;\n if (!project || !runbook) {\n return ;\n }\n return ;\n}\n","/* eslint-disable @typescript-eslint/no-non-null-assertion */\n/* eslint-disable @typescript-eslint/no-explicit-any */\nimport type { RunbookSnapshotResource, ResourceCollection, RunbookResource } from \"@octopusdeploy/octopus-server-client\";\nimport { links } from \"@octopusdeploy/portal-routes\";\nimport { isEqual } from \"lodash\";\nimport * as React from \"react\";\nimport type { ProjectContextProps } from \"~/areas/projects/context\";\nimport { useProjectContext } from \"~/areas/projects/context\";\nimport { repository } from \"~/clientInstance\";\nimport { RunbookSnapshotPublishedChip } from \"~/components/Chips\";\nimport type { DataBaseComponentState } from \"~/components/DataBaseComponent\";\nimport { DataBaseComponent } from \"~/components/DataBaseComponent\";\nimport { PageContent } from \"~/components/PageContent/PageContent\";\nimport { PageLoading } from \"~/components/PageContent/PageLoading\";\nimport List from \"~/components/PagingList\";\nimport ListTitle from \"~/primitiveComponents/dataDisplay/ListTitle\";\nimport { timeOperationOptions } from \"~/utils/OperationTimer/timeOperation\";\nimport type { RunbookContextProps } from \"../RunbookContext\";\nimport { useRunbookContext } from \"../RunbookContext\";\ninterface RunbookSnapshotsState extends DataBaseComponentState {\n runbookSnapshotsResponse: ResourceCollection;\n}\ninterface RunbookSnapshotsPageInternalProps extends RunbookSnapshotsPageProps {\n runbookContext: RunbookContextProps;\n projectContext: ProjectContextProps;\n}\nclass RunbookSnapshotsPageInternal extends DataBaseComponent {\n constructor(props: RunbookSnapshotsPageInternalProps) {\n super(props);\n this.state = {\n runbookSnapshotsResponse: null!,\n };\n }\n async componentDidMount() {\n await this.reload();\n }\n async componentDidUpdate(prevProps: RunbookSnapshotsPageInternalProps) {\n const nextRunbook = this.props.runbookContext.state && this.props.runbookContext.state.runbook;\n const currentRunbook = prevProps.runbookContext.state && prevProps.runbookContext.state.runbook;\n if (!isEqual(currentRunbook, nextRunbook)) {\n await this.reload();\n }\n }\n async reload() {\n const runbook = this.props.runbookContext.state && this.props.runbookContext.state.runbook;\n if (!runbook) {\n return;\n }\n await this.doBusyTask(async () => {\n const runbookSnapshotsResponse = await repository.Runbooks.getRunbookSnapshots(runbook, { skip: 0, take: 30 });\n this.setState({\n runbookSnapshotsResponse,\n });\n }, { timeOperationOptions: timeOperationOptions.forInitialLoad() });\n }\n render() {\n const project = this.props.projectContext.state && this.props.projectContext.state.model;\n const runbook = this.props.runbookContext.state && this.props.runbookContext.state.runbook;\n if (!project || !runbook) {\n return ;\n }\n return (\n {this.state.runbookSnapshotsResponse && ( initialData={this.state.runbookSnapshotsResponse} onRow={(item: any) => this.buildRow(runbook, item)} onRowRedirectUrl={(runbookSnapshot: RunbookSnapshotResource) => links.projectRunbookSnapshotInfoPage.generateUrl({ spaceId: runbookSnapshot.SpaceId, projectSlug: runbookSnapshot.ProjectId, runbookId: runbookSnapshot.RunbookId, runbookSnapshotId: runbookSnapshot.Id })} onFilter={this.filter} filterSearchEnabled={true} apiSearchParams={[\"partialName\"]} filterHintText=\"Filter by name...\"/>)}\n );\n }\n private filter(filter: string, resource: RunbookSnapshotResource) {\n return !filter || filter.length === 0 || !resource || resource.Name.toLowerCase().includes(filter.toLowerCase());\n }\n private buildRow(runbook: RunbookResource, runbookSnapshot: RunbookSnapshotResource) {\n return (\n {runbookSnapshot.Name}\n {runbook && runbook.PublishedRunbookSnapshotId === runbookSnapshot.Id && (<>\n  \n \n )}\n );\n }\n static displayName = \"RunbookSnapshotsPageInternal\";\n}\ninterface RunbookSnapshotsPageProps {\n projectSlug: string;\n}\nexport function RunbookSnapshotsPage({ projectSlug }: RunbookSnapshotsPageProps) {\n const projectContext = useProjectContext();\n const runbookContext = useRunbookContext();\n return ;\n}\n","import ListItem from \"./ListItem\";\nexport default ListItem;\n","import { css } from \"@emotion/css\";\nimport { ActionButton, ActionButtonType, LinearProgress, List, ListItem } from \"@octopusdeploy/design-system-components\";\nimport { fontSize, space, themeTokens } from \"@octopusdeploy/design-system-tokens\";\nimport type { LinkHref } from \"@octopusdeploy/portal-routes\";\nimport React from \"react\";\nimport { SampleProjectTourStep } from \"~/areas/projects/components/ProjectLayout/SampleProjectTour/SampleProjectTourStep\";\nimport FilterSearchBox from \"~/components/FilterSearchBox\";\nimport { NoResults } from \"~/components/NoResults/NoResults\";\nimport { ListInternalLink } from \"~/components/PagingList/ListInternalLink\";\nimport Section from \"~/components/Section\";\ninterface LoadMoreListProps {\n loadingMore?: boolean;\n items: R[];\n renderRow: (item: R) => React.ReactNode;\n getNavigationUrl: (item: R) => LinkHref;\n getAccessibleName: (item: R) => string;\n showLoadMore: boolean;\n onLoadMore: () => Promise | void;\n onFilterChanged: (value: string) => void;\n}\nexport function LoadMoreList({ loadingMore, items, renderRow, getNavigationUrl, getAccessibleName, showLoadMore, onLoadMore, onFilterChanged }: LoadMoreListProps) {\n const styles = {\n filterContainer: css({\n fontSize: fontSize[\"medium\"],\n }),\n loadMoreContainer: css({\n padding: space[16],\n }),\n loadMoreActions: css({\n display: \"flex\",\n justifyContent: \"center\",\n textAlign: \"center\",\n flexDirection: \"column\",\n alignItems: \"center\",\n }),\n loadMoreSubtitle: css({\n color: themeTokens.color.text.secondary,\n fontSize: fontSize[\"xSmall\"],\n }),\n };\n return (<>\n
    \n
    \n \n
    \n
    \n \n } items={items} rowKey={(item) => item.Id} renderRow={(item) => }/>\n \n {showLoadMore && (
    \n
    \n {loadingMore ? () : (<>\n \n
    Or use filters to narrow the search results
    \n )}\n
    \n
    )}\n );\n}\ninterface LoadMoreListItemProps {\n item: R;\n renderRow: (item: R) => React.ReactNode;\n getNavigationUrl: (item: R) => LinkHref;\n getAccessibleName: (item: R) => string;\n}\nfunction LoadMoreListItem({ item, renderRow, getNavigationUrl, getAccessibleName }: LoadMoreListItemProps) {\n const redirectUrl = getNavigationUrl(item);\n const accessibleName = getAccessibleName(item);\n const styles = {\n listItemContent: css({\n padding: space[16],\n lineHeight: \"16px\",\n fontSize: \"0.875rem\",\n wordBreak: \"break-word\",\n }),\n };\n return (\n \n
    {renderRow(item)}
    \n
    \n
    );\n}\nfunction EmptyListResult() {\n return (
    \n \n
    );\n}\n","import { css } from \"@emotion/css\";\nimport { Callout } from \"@octopusdeploy/design-system-components\";\nimport { HasGitPersistenceSettings, HasRunbooksInGit, isGitBranch } from \"@octopusdeploy/octopus-server-client\";\nimport type { ProjectResource, GetMigratedDraftRunbooksBffResponse } from \"@octopusdeploy/octopus-server-client\";\nimport React, { useEffect, useState } from \"react\";\nimport { repository } from \"~/clientInstance\";\nexport interface UnmigratedDraftsCalloutProps {\n project: ProjectResource;\n gitRef: string | undefined;\n}\nexport function UnmigratedDraftsCallout({ project, gitRef }: UnmigratedDraftsCalloutProps) {\n const [migratedDrafts, setMigratedDrafts] = useState();\n // Only show the callout if the project has Git Runbooks and if we are on a\n // branch. You can't edit commits and tags, so there is no way to get rid of\n // this prompt, so it might just be annoying.\n const enableCallout = HasGitPersistenceSettings(project.PersistenceSettings) && HasRunbooksInGit(project.PersistenceSettings) && isGitBranch(gitRef);\n const styles = {\n list: css({\n paddingLeft: \"2rem\",\n marginBottom: 0,\n listStyleType: \"disc\",\n }),\n };\n useEffect(() => {\n async function getMigratedDrafts() {\n if (!enableCallout) {\n return;\n }\n const migratedDraftResponse = await repository.Runbooks.getMigratedDraftRunbooks(project, gitRef);\n setMigratedDrafts(migratedDraftResponse);\n }\n getMigratedDrafts();\n }, [enableCallout, project, gitRef]);\n if (!enableCallout || !migratedDrafts || migratedDrafts.DraftRunbookNames.length === 0 || !HasGitPersistenceSettings(project.PersistenceSettings)) {\n // We don't really need the HasGitPersistenceSettings in here because we're covered by enableCallout,\n // but the type system doesn't know that, so we need this so that it knows that we have GitPersistenceSettings\n // below.\n return null;\n }\n return (\n

    \n When the Runbooks in this Project were migrated to your Git repository, draft versions of these Runbooks were migrated to the {migratedDrafts.DraftRunbookFolder} folder. The changes in these Runbook files will need to be\n merged into the runbooks folder (or removed if they're not needed):\n

      \n {migratedDrafts.DraftRunbookNames.map((draft) => (
    • \n {draft}\n
    • ))}\n
    \n

    \n
    );\n}\n","import { ActionButton, ActionButtonType, Callout } from \"@octopusdeploy/design-system-components\";\nimport type { ProjectResource } from \"@octopusdeploy/octopus-server-client\";\nimport React, { useState } from \"react\";\nimport type { ActionEvent, AnalyticErrorCallback } from \"~/analytics/Analytics\";\nimport { Action, useProjectScopedAnalyticActionDispatch, useProjectScopedAnalyticTrackedActionDispatch } from \"~/analytics/Analytics\";\nimport { useProjectContext } from \"~/areas/projects/context\";\nimport { repository } from \"~/clientInstance\";\nimport type { DoBusyTask, Errors } from \"~/components/DataBaseComponent\";\nimport DataBaseComponent from \"~/components/DataBaseComponent\";\nimport Dialog from \"~/components/Dialog/Dialog\";\nimport { DialogLayout } from \"~/components/DialogLayout/DialogLayout\";\nimport ExternalLink from \"~/components/Navigation/ExternalLink\";\nimport { ErrorPanel } from \"~/components/form\";\nexport interface EnableProjectRunbooksDialogProps {\n project: ProjectResource;\n open: boolean;\n close: () => void;\n}\nexport class EnableProjectRunbooksDialog extends DataBaseComponent {\n constructor(props: EnableProjectRunbooksDialogProps) {\n super(props);\n this.state = {};\n }\n render() {\n return ;\n }\n static displayName = \"EnableProjectRunbooksDialog\";\n}\ninterface EnableProjectRunbooksDialogPropsInternal extends EnableProjectRunbooksDialogProps {\n doBusyTask: DoBusyTask;\n busy?: Promise;\n errors?: Errors;\n}\nexport function EnableProjectRunbooksDialogInternal({ project, open, close, doBusyTask, busy, errors }: EnableProjectRunbooksDialogPropsInternal) {\n const trackAction = useProjectScopedAnalyticTrackedActionDispatch(project.Id);\n const dispatchAction = useProjectScopedAnalyticActionDispatch(project.Id);\n const projectContext = useProjectContext();\n const [enableClicked, setEnabledClicked] = useState();\n const enable = ;\n const cancel = ;\n function onEnable() {\n const event: ActionEvent = {\n action: Action.Save,\n resource: \"Runbooks\",\n };\n doBusyTask(async () => {\n setEnabledClicked(true);\n return trackAction(\"Move Runbooks to Git\", event, async (analyticErrorCallback: AnalyticErrorCallback) => {\n await doBusyTask(async () => await repository.Projects.migrateRunbooksToGit(project, {}), {\n onError: analyticErrorCallback,\n onSuccess: () => onSuccess(),\n });\n });\n });\n }\n async function onSuccess() {\n await projectContext.actions.refreshModel();\n close();\n }\n async function onCancel() {\n dispatchAction(\"Cancel Moving Runbooks\", { resource: \"Runbooks\", action: Action.Cancel });\n close();\n }\n return (\n \n {errors ? (<>\n \n

    There was an error enabling Config as Code Runbooks for this project.

    \n ) : (<>\n \n There are no Runbooks to migrate.\n \n

    You can enable Config as Code Runbooks on this project now.

    \n

    \n This process cannot be reversed. Read the Config as Code Runbook documentation for more details.\n

    \n )}\n
    \n
    );\n}\n","/* eslint-disable @octopusdeploy/custom-portal-rules/no-restricted-imports */\nimport type { StepIconProps } from \"@material-ui/core\";\nimport { Step, StepLabel, Stepper } from \"@material-ui/core\";\nimport { ActionButton, ActionButtonType, BooleanRadioButtonGroup, BooleanRadioButton, Callout } from \"@octopusdeploy/design-system-components\";\nimport { HasGitPersistenceSettings, isGitBranch, toGitBranch, toGitRefShort } from \"@octopusdeploy/octopus-server-client\";\nimport type { ProjectResource, GitBranch, GitRef, MigrateProjectRunbooksToGitCommand, MigrateProjectRunbooksToGitSummary } from \"@octopusdeploy/octopus-server-client\";\nimport classNames from \"classnames\";\nimport pluralize from \"pluralize\";\nimport * as React from \"react\";\nimport { useCallback, useEffect, useState } from \"react\";\nimport { Action, useProjectScopedAnalyticTrackedActionDispatch, useProjectScopedAnalyticActionDispatch } from \"~/analytics/Analytics\";\nimport type { ActionEvent, AnalyticErrorCallback } from \"~/analytics/Analytics\";\nimport { ProjectGitRefSelector } from \"~/areas/projects/components/GitRefSelector/ProjectGitRefSelector\";\nimport { useProjectContext } from \"~/areas/projects/context\";\nimport { repository } from \"~/clientInstance\";\nimport { ActionListContainer } from \"~/components/ActionList/ActionList\";\nimport BusyFromPromise from \"~/components/BusyFromPromise\";\nimport Chip from \"~/components/Chips/Chip\";\nimport type { DoBusyTask, Errors } from \"~/components/DataBaseComponent\";\nimport DataBaseComponent, { useDoBusyTaskEffect } from \"~/components/DataBaseComponent\";\nimport { CustomWizardDialogLayout, SmallDialogFrame } from \"~/components/DialogLayout/Custom\";\nimport { DialogLayout } from \"~/components/DialogLayout/DialogLayout\";\nimport ExternalLink from \"~/components/Navigation/ExternalLink\";\nimport InternalLink from \"~/components/Navigation/InternalLink\";\nimport { ErrorPanel, Note, Text } from \"~/components/form\";\nimport { DataTable, DataTableBody, DataTableHeader, DataTableHeaderColumn, DataTableRow, DataTableRowColumn } from \"~/primitiveComponents/dataDisplay/DataTable\";\nimport StringHelper from \"~/utils/StringHelper\";\nimport { GitRefDropDownMode } from \"../../GitRefDropDown/GitRefDropDown\";\nimport { getFormattedCommitMessage } from \"../../VersionControl/CommitMessageWithDetails\";\nimport styles from \"./style.module.less\";\nenum ExecutionState {\n NotStarted = \"NotStarted\",\n Executing = \"Executing\",\n Success = \"Success\",\n Error = \"Error\"\n}\ninterface MigrateProjectRunbooksDialogProps {\n open: boolean;\n close: () => void;\n}\nclass MigrateProjectRunbooksWizard extends DataBaseComponent {\n constructor(props: MigrateProjectRunbooksDialogProps) {\n super(props);\n this.state = {};\n }\n render() {\n return ;\n }\n static displayName = \"MigrateProjectRunbooksWizard\";\n}\ninterface MigrateProjectRunbooksDialogInternalProps extends MigrateProjectRunbooksDialogProps {\n doBusyTask: DoBusyTask;\n busy?: Promise;\n errors?: Errors;\n}\nfunction useMigrationSummary(doBusyTask: DoBusyTask, project: ProjectResource) {\n const [migrationSummary, setMigrationSummary] = useState();\n useDoBusyTaskEffect(doBusyTask, async () => {\n const summary = await repository.Projects.getMigrateRunbooksToGitSummary(project);\n setMigrationSummary(summary);\n }, [project]);\n return migrationSummary;\n}\nfunction useMigrationExecutor(doBusyTask: DoBusyTask, project: ProjectResource, setExecutionState: (state: ExecutionState) => void, setServerTaskId: (serverTaskId?: string) => void) {\n const trackAction = useProjectScopedAnalyticTrackedActionDispatch(project.Id);\n const migrator = useCallback((command: MigrateProjectRunbooksToGitCommand) => {\n const ev: ActionEvent = {\n action: Action.Save,\n resource: \"Runbooks\",\n isDefaultBranch: command.AnalyticsInfo.IsDefaultBranch,\n commitMessage: command.AnalyticsInfo.IsDefaultCommitMessage,\n };\n return trackAction(\"Move Runbooks to Git\", ev, async (analyticErrorCallback: AnalyticErrorCallback) => {\n await doBusyTask(async () => {\n const result = await repository.Projects.migrateRunbooksToGit(project, command);\n setServerTaskId(result.ServerTaskId);\n setExecutionState(ExecutionState.Success);\n }, {\n onError: (error) => {\n analyticErrorCallback(error);\n setExecutionState(ExecutionState.Error);\n },\n });\n });\n }, [doBusyTask, project, setExecutionState, setServerTaskId, trackAction]);\n return migrator;\n}\nconst MigrateProjectRunbooksWizardInternal: React.FC = (props: MigrateProjectRunbooksDialogInternalProps) => {\n const defaultCommitSummary = \"Migrate project runbooks to Git\";\n const stepNames = [\"Getting started\", \"Select a branch\", \"Review & migrate\"];\n const projectContext = useProjectContext();\n const project = projectContext.state.model;\n if (!HasGitPersistenceSettings(project.PersistenceSettings)) {\n throw new Error(\"Can not migrate runbooks for Database projects\");\n }\n const defaultBranch: GitBranch = toGitBranch(project.PersistenceSettings.DefaultBranch);\n const [executionState, setExecutionState] = useState(ExecutionState.NotStarted);\n const [serverTaskId, setServerTaskId] = useState(undefined);\n const [createNewBranch, setCreateNewBranch] = useState(false);\n const [existingBranchGitRef, setExistingBranchGitRef] = useState(defaultBranch);\n const [newBranchName, setNewBranchName] = useState(\"\");\n const [isUsingDefaultBranch, setIsUsingDefaultBranch] = useState(true);\n useEffect(() => {\n const usingDefaultBranch = !createNewBranch && isGitBranch(existingBranchGitRef) && existingBranchGitRef === defaultBranch;\n setIsUsingDefaultBranch(usingDefaultBranch);\n }, [createNewBranch, existingBranchGitRef, defaultBranch]);\n const [commitSummary, setCommitSummary] = useState(\"\");\n const [commitDetails, setCommitDetails] = useState(\"\");\n const migrationSummary = useMigrationSummary(props.doBusyTask, project);\n const executeMigration = useMigrationExecutor(props.doBusyTask, project, setExecutionState, setServerTaskId);\n const [canProgress, setCanProgress] = useState({});\n useEffect(() => {\n if (createNewBranch && StringHelper.isNullOrWhiteSpace(newBranchName)) {\n setCanProgress({ 1: false });\n }\n else {\n setCanProgress({ 1: true });\n }\n }, [createNewBranch, newBranchName]);\n const migrate = () => {\n if (!isGitBranch(existingBranchGitRef)) {\n throw new Error(`Selected GitRef is not a branch: ${existingBranchGitRef}`);\n }\n setExecutionState(ExecutionState.Executing);\n const branch = createNewBranch ? newBranchName : existingBranchGitRef;\n const formattedCommitMessage = getFormattedCommitMessage({\n summary: commitSummary,\n details: commitDetails,\n }, defaultCommitSummary);\n const command: MigrateProjectRunbooksToGitCommand = {\n Branch: branch,\n CreateBranch: createNewBranch,\n CommitMessage: formattedCommitMessage,\n AnalyticsInfo: {\n IsDefaultBranch: branch === defaultBranch,\n IsDefaultCommitMessage: !!commitSummary,\n },\n };\n executeMigration(command);\n };\n const dispatchAction = useProjectScopedAnalyticActionDispatch(project.Id);\n const refreshAndClose = () => {\n if (executionState === ExecutionState.NotStarted) {\n dispatchAction(\"Cancel Moving Runbooks\", { resource: \"Runbooks\", action: Action.Cancel });\n }\n else if (executionState === ExecutionState.Error) {\n // The user has tried to migrate, hit an error and then canceled.\n dispatchAction(\"Cancel Moving Runbooks\", { resource: \"Runbooks\", action: Action.Cancel });\n }\n if (executionState === ExecutionState.Success || executionState === ExecutionState.Error) {\n props.doBusyTask(async () => {\n if (executionState === ExecutionState.Success) {\n const branch = createNewBranch ? toGitBranch(newBranchName) : existingBranchGitRef;\n await projectContext.actions.onBranchSelected(project, branch);\n }\n await projectContext.actions.refreshModel();\n props.close();\n });\n }\n props.close();\n };\n const runbooks = GetUniqueCombinedRunbookSummaries(migrationSummary);\n return ( }>\n \n {migrationSummary && (\n This project is ready to migrate Runbooks to Git\n )}\n

    You are about to migrate your project Runbooks to Git. Octopus will convert the following Runbooks:

    \n\n \n\n

    \n This process cannot be reversed. Read the Config as Code Runbook documentation for more details.\n

    \n
    \n \n

    Choose a branch to migrate the Runbooks to:

    \n \n \n {!createNewBranch && (
    \n \n
    )}\n \n {createNewBranch && (
    \n \n \n The new branch will be based on default branch ({toGitRefShort(defaultBranch)}) in your repository\n \n
    )}\n
    \n
    \n \n {(executionState === ExecutionState.NotStarted || executionState === ExecutionState.Executing) && (<>\n

    Review Migration

    \n \n

    Enter a Commit Message

    \n \n \n )}\n {executionState === ExecutionState.Success && (<>\n \n

    Runbooks have been migrated to your Git repository successfully.

    \n {serverTaskId && (

    \n The history for these Runbooks is being migrated in a Task. You may continue to use Runbooks as normal while the Task finishes the\n history migration.\n

    )}\n
    \n

    Next step

    \n

    \n Runbooks have only been migrated to the {createNewBranch ? newBranchName : existingBranchGitRef} branch. You will need to merge this branch with other branches that need these Runbooks.\n

    \n

    \n Need help? See Config as Code Runbooks documentation for more details.\n

    \n )}\n {executionState === ExecutionState.Error && (<>\n

    The migration has failed. Review the configuration and try again.

    \n

    \n Need help? See Config as Code Runbooks documentation for more details.\n

    \n )}\n
    \n
    );\n};\nMigrateProjectRunbooksWizardInternal.displayName = \"MigrateProjectRunbooksWizardInternal\"\ninterface InfoNoteProps {\n children?: React.ReactNode;\n}\nconst InfoNote: React.FC = (props: InfoNoteProps) => {\n return (\n \n {props.children}\n );\n};\nInfoNote.displayName = \"InfoNote\"\ninterface MigrationReviewListProps {\n summary?: MigrateProjectRunbooksToGitSummary;\n createNewBranch: boolean;\n branchName: string | undefined;\n defaultBranch: string;\n}\ninterface CombinedRunbookSummary {\n RunbookId: string;\n RunbookName: string;\n IsPublished: boolean;\n IsDraft: boolean;\n}\nconst GetUniqueCombinedRunbookSummaries = (runbooks?: MigrateProjectRunbooksToGitSummary): CombinedRunbookSummary[] => {\n const result: CombinedRunbookSummary[] = [];\n if (!runbooks) {\n return result;\n }\n for (const publishedRunbook of runbooks.PublishedRunbooks) {\n result.push({\n RunbookId: publishedRunbook.RunbookId,\n RunbookName: publishedRunbook.RunbookName,\n IsPublished: true,\n IsDraft: false,\n });\n }\n for (const draftRunbook of runbooks.DraftRunbooks) {\n const existingRunbook = result.find((x) => x.RunbookId === draftRunbook.RunbookId);\n if (existingRunbook) {\n existingRunbook.IsDraft = true;\n }\n else {\n result.push({\n RunbookId: draftRunbook.RunbookId,\n RunbookName: draftRunbook.RunbookName,\n IsPublished: false,\n IsDraft: true,\n });\n }\n }\n return result;\n};\nconst MigrationReviewList: React.FC = (props: MigrationReviewListProps) => {\n if (!props.summary) {\n return <>;\n }\n const anyPublihsedRunbooks = props.summary.PublishedRunbooks.length > 0;\n const anyDraftRunbooks = props.summary.DraftRunbooks.length > 0;\n const newBranchItem = (
  • \n New branch {props.branchName} will be created from {toGitRefShort(props.defaultBranch)}\n
  • );\n const publihsedRunbooksSummaryItem = (
  • \n {props.summary?.PublishedRunbooks?.length} {pluralize(\"Runbook\", props.summary?.PublishedRunbooks?.length)} will be migrated to {props.summary?.PublishedRunbooks?.length > 1 ? \"individual files\" : \"a file\"} in the runbooks{\" \"}\n directory on the {toGitRefShort(props.branchName)} branch\n
  • );\n const emptyRunbooksSummaryItem = (
  • \n No Runbook files will be created on {toGitRefShort(props.branchName)}. There are no Runbooks to migrate.\n
  • );\n const draftRunbooksSummaryItem = (
  • \n {props.summary?.DraftRunbooks?.length} {pluralize(\"Runbook\", props.summary?.DraftRunbooks?.length)} will be migrated to {props.summary?.DraftRunbooks?.length > 1 ? \"individual files\" : \"a file\"} in the{\" \"}\n runbooks/migrated-drafts directory on the {toGitRefShort(props.branchName)} branch\n
  • );\n return (
      \n {props.createNewBranch && newBranchItem}\n {anyPublihsedRunbooks ? publihsedRunbooksSummaryItem : emptyRunbooksSummaryItem}\n {anyDraftRunbooks && draftRunbooksSummaryItem}\n
    );\n};\nMigrationReviewList.displayName = \"MigrationReviewList\"\nconst RunbooksTable = (props: {\n runbooks: CombinedRunbookSummary[];\n}) => {\n if (props.runbooks.length === 0) {\n return <>;\n }\n return (
    \n \n \n \n \n

    Runbook

    \n
    \n \n

    Type

    \n
    \n
    \n
    \n \n {props.runbooks.map((runbook) => (\n \n
    {runbook.RunbookName}
    \n
    \n \n {runbook.IsPublished && Published}\n {runbook.IsDraft && Draft}\n \n
    ))}\n
    \n
    \n
    );\n};\nconst MigrateProjectRunbooksWizardStep: React.FC<{\n children: React.ReactNode;\n}> = (props: {\n children: React.ReactNode;\n}) => {\n return
    {props.children}
    ;\n};\nMigrateProjectRunbooksWizardStep.displayName = \"MigrateProjectRunbooksWizardStep\"\ninterface MigrateProjectRunbooksWizardLayoutProps extends MigrateProjectRunbooksWizardStepListProps, MigrateProjectRunbooksWizardLayoutButtonsProps {\n busy?: Promise;\n errors?: Errors;\n content: React.ReactNode;\n}\nconst MigrateProjectRunbooksWizardLayout: React.FC = (props: MigrateProjectRunbooksWizardLayoutProps) => {\n return (} busy={props.busy} closeDialog={props.close}>\n \n
    \n {props.errors && ()}\n {props.content}\n
    \n
    );\n};\nMigrateProjectRunbooksWizardLayout.displayName = \"MigrateProjectRunbooksWizardLayout\"\ninterface MigrateProjectRunbooksWizardStepListProps {\n currentPageIndex: number;\n pageCount: number;\n stepNames: string[];\n executionState: ExecutionState;\n}\nconst MigrateProjectRunbooksWizardStepper: React.FC = (props: MigrateProjectRunbooksWizardStepListProps) => {\n return (
    \n \n {props.stepNames.map((name, index) => {\n const isFinalStep = index === props.stepNames.length - 1;\n const error = isFinalStep && props.executionState === ExecutionState.Error;\n const completed = isFinalStep && props.executionState === ExecutionState.Success;\n const stepIconBaseProps = isFinalStep ? { error, completed } : {};\n const stepIconProps: Partial = {\n ...stepIconBaseProps,\n classes: {\n completed: styles.wizardIconStepCompleted,\n },\n };\n return (\n {name}\n );\n })}\n \n
    );\n};\nMigrateProjectRunbooksWizardStepper.displayName = \"MigrateProjectRunbooksWizardStepper\"\ninterface CanProgress {\n [key: number]: boolean;\n}\ninterface MigrateProjectRunbooksWizardLayoutButtonsProps {\n currentPageIndex: number;\n canProgress: CanProgress;\n busy?: Promise;\n hasPreviousPage: boolean;\n hasNextPage: boolean;\n moveNext: () => void;\n movePrevious: () => void;\n close: () => void;\n executionState: ExecutionState;\n execute: () => void | Promise;\n}\nconst MigrateProjectRunbooksWizardButtons: React.FC = (props: MigrateProjectRunbooksWizardLayoutButtonsProps) => {\n const isOnFinalPage = !props.hasNextPage;\n const canProgressCurrentPage = props.canProgress[props.currentPageIndex] === undefined || props.canProgress[props.currentPageIndex];\n return (\n {props.executionState === ExecutionState.NotStarted && }\n {props.executionState === ExecutionState.NotStarted && props.hasPreviousPage && }\n {isOnFinalPage && props.executionState === ExecutionState.NotStarted && }\n {isOnFinalPage && props.executionState === ExecutionState.Executing && }\n {isOnFinalPage && props.executionState === ExecutionState.Success && }\n {isOnFinalPage && props.executionState === ExecutionState.Error && }\n {!isOnFinalPage && {(busy) => }}\n );\n};\nMigrateProjectRunbooksWizardButtons.displayName = \"MigrateProjectRunbooksWizardButtons\"\nexport default MigrateProjectRunbooksWizard;\n","import { ActionButton, ActionButtonType, Callout } from \"@octopusdeploy/design-system-components\";\nimport type { ProjectResource } from \"@octopusdeploy/octopus-server-client\";\nimport { HasGitPersistenceSettings, HasRunbooksInGit, HasVariablesInGit } from \"@octopusdeploy/octopus-server-client\";\nimport * as React from \"react\";\nimport { useState } from \"react\";\nimport { Action, useProjectScopedAnalyticActionDispatch } from \"~/analytics/Analytics\";\nimport { useHiddenFeatures } from \"~/areas/configuration/components/FeaturesLayout/useHiddenFeatures\";\nimport { useProjectContext } from \"~/areas/projects/context\";\nimport CustomDialog from \"~/components/Dialog/CustomDialog\";\nimport { useOctopusFeatureToggle } from \"~/hooks/useOctopusFeatureToggle\";\nimport { EnableProjectRunbooksDialog } from \"./EnableProjectRunbooksDialog\";\nimport MigrateProjectRunbooksWizard from \"./MigrateProjectRunbooksDialog\";\ninterface NewFeatureCalloutTitleProps {\n title: string;\n}\nconst NewFeatureCalloutTitle: React.FC = (props: NewFeatureCalloutTitleProps) => {\n return <>{props.title};\n};\nNewFeatureCalloutTitle.displayName = \"NewFeatureCalloutTitle\"\ninterface MigrageProjectRunbooksToGitProps {\n project?: ProjectResource;\n hasNoRunbooks: boolean;\n}\nconst MigrateProjectRunbooksBanner: React.FC = (props: MigrageProjectRunbooksToGitProps) => {\n const [dialogOpen, setDialogOpen] = useState(false);\n const projectContext = useProjectContext();\n const project = projectContext.state.model;\n const dispatchAction = useProjectScopedAnalyticActionDispatch(projectContext.state.model.Id);\n const hiddenFeaturesEnabled = useHiddenFeatures();\n const migrationToggleEnabled = useOctopusFeatureToggle(\"git-runbooks-migration\", false);\n // If this is a database project, or runbooks are already in Git, don't show the banner\n if (!HasGitPersistenceSettings(project.PersistenceSettings) || !HasVariablesInGit(project.PersistenceSettings) || HasRunbooksInGit(project.PersistenceSettings)) {\n return null;\n }\n // We only want to show the banner if the Git Runbooks toggle\n // is on and one of the following is true:\n //\n // - The migration toggle is enabled\n // - The hidden features are enabled, or\n // - The empty migration toggle is enabled and the project has no runbooks\n const bannerEnabled = migrationToggleEnabled || hiddenFeaturesEnabled;\n if (!bannerEnabled) {\n return null;\n }\n const openDialogWithAnalytics = () => {\n dispatchAction(\"Start Moving Runbooks to Git\", { resource: \"Runbooks\", action: Action.Configure });\n setDialogOpen(true);\n };\n return (}>\n

    You can now store your Runbooks in a Git repository alongside your deployment process and variables.

    \n openDialogWithAnalytics()}/>\n {props.hasNoRunbooks ? ( setDialogOpen(false)} project={project}/>) : ( setDialogOpen(false)} render={(props) => }/>)}\n
    );\n};\nMigrateProjectRunbooksBanner.displayName = \"MigrateProjectRunbooksBanner\"\nexport default MigrateProjectRunbooksBanner;\n","/* eslint-disable @typescript-eslint/no-non-null-assertion */\n// import { NavigationButton, NavigationButtonType, Tooltip } from \"@octopusdeploy/design-system-components\";\nimport { Button, NavigationButtonType, type PrimaryPageAction } from \"@octopusdeploy/design-system-components\";\nimport type { ProjectResource, ResourceCollection, RunbookResource } from \"@octopusdeploy/octopus-server-client\";\nimport { canCommitTo, getGitRefDescription, HasRunbooksInGit, isGitBranchResource, Permission } from \"@octopusdeploy/octopus-server-client\";\nimport { links } from \"@octopusdeploy/portal-routes\";\nimport * as React from \"react\";\nimport { useRef, useState } from \"react\";\nimport { useHiddenFeatures } from \"~/areas/configuration/components/FeaturesLayout/useHiddenFeatures\";\nimport { ProjectGitHubAppAuthCheck } from \"~/areas/library/components/GitConnections/GitHubAppAuthCheck\";\nimport { SampleProjectTourContext } from \"~/areas/projects/components/ProjectLayout/SampleProjectTour/SampleProjectTour\";\nimport { useProjectContext } from \"~/areas/projects/context\";\nimport { repository } from \"~/clientInstance\";\nimport type { DoBusyTask, Errors } from \"~/components/DataBaseComponent\";\nimport { DataBaseComponent, useDoBusyTaskEffect } from \"~/components/DataBaseComponent\";\nimport Dialog from \"~/components/Dialog/Dialog\";\nimport { useDialogTrigger } from \"~/components/Dialog/DialogTrigger\";\nimport MarkdownDescription from \"~/components/MarkdownDescription\";\nimport { useSpaceAwareNavigation } from \"~/components/Navigation/SpaceAwareNavigation/useSpaceAwareNavigation\";\nimport type { MenuItem } from \"~/components/OverflowMenu/OverflowMenu\";\nimport { OverflowMenuItems } from \"~/components/OverflowMenu/OverflowMenu\";\nimport { PageContent } from \"~/components/PageContent/PageContent\";\nimport PermissionCheck, { isAllowed, isAllowedToRunGitRunbook } from \"~/components/PermissionCheck/PermissionCheck\";\nimport { useRequiredContext } from \"~/hooks/index\";\nimport { useOctopusFeatureToggle } from \"~/hooks/useOctopusFeatureToggle\";\nimport ListItem from \"~/primitiveComponents/dataDisplay/ListItem\";\nimport ListTitle from \"~/primitiveComponents/dataDisplay/ListTitle\";\nimport { timeOperationOptions } from \"~/utils/OperationTimer/timeOperation\";\nimport { PageHeaderBranchSelectorVNext } from \"../BranchSelector/PageHeaderBranchSelector\";\nimport { useProjectRunbooksGitRef, type GitRefQueryParamsProps } from \"../BranchSelector/useProjectGitRef\";\nimport AddRunbook from \"./AddRunbook\";\nimport { LoadMoreList } from \"./LoadMoreList\";\nimport { getPermissionDeniedTooltipText, RunNowButton } from \"./RunNowButton\";\nimport RunbooksOnboarding from \"./RunbooksOnboarding\";\nimport { UnmigratedDraftsCallout } from \"./UnmigratedDraftsCallout\";\nimport MigrateProjectRunbooksBanner from \"./migrations/MigrateProjectRunbooksBanner\";\ninterface FilterableRunbookCollection extends ResourceCollection {\n IsFiltered: boolean;\n}\nexport class RunbooksPage extends DataBaseComponent {\n constructor(props: GitRefQueryParamsProps) {\n super(props);\n this.state = {};\n }\n componentDidMount() {\n this.clearErrors();\n }\n render() {\n return ;\n }\n static displayName = \"RunbooksPage\";\n}\ninterface RunbooksPageInternalProps extends GitRefQueryParamsProps {\n doBusyTask: DoBusyTask;\n busy?: Promise;\n errors?: Errors;\n}\nfunction RunbooksPageInternal({ doBusyTask, busy, errors, queryParams, setQueryParams }: RunbooksPageInternalProps) {\n const pageSize = 30;\n const navigation = useSpaceAwareNavigation();\n const projectContext = useProjectContext();\n const onboardingContext = useRequiredContext(SampleProjectTourContext);\n const { isOpen: isAddRunbookDialogOpen, openDialog: openAddRunbookDialog, closeDialog: closeAddRunbookDialog } = useDialogTrigger();\n const firstLoad = useRef(true);\n const [runbooks, setRunbooks] = useState();\n const [take, setTake] = useState(pageSize);\n const [filter, setFilter] = useState();\n const { model: project } = projectContext.state;\n const [gitRef, setGitRef, gitRefValidationResult] = useProjectRunbooksGitRef(project, queryParams, setQueryParams);\n const hasGitRunbooks = HasRunbooksInGit(project.PersistenceSettings);\n const hiddenFeaturesEnabled = useHiddenFeatures();\n const gitRunbooksMigrationsEnabled = useOctopusFeatureToggle(\"git-runbooks-migration\", false) || hiddenFeaturesEnabled;\n const reload = useDoBusyTaskEffect(doBusyTask, async () => {\n // Keep filter locally in case it changes between when the search\n // starts and when we get the results below, so we can work out if\n // there was a filter when we made the request.\n const partialName = filter;\n const hasGitRunbooks = HasRunbooksInGit(project.PersistenceSettings);\n const params = { skip: 0, take, partialName: filter };\n if (hasGitRunbooks) {\n if (gitRef) {\n const runbooks = await repository.Runbooks.getRunbooks(project, gitRef, params);\n setRunbooks({ ...runbooks, IsFiltered: !!partialName });\n }\n }\n else {\n const runbooks = await repository.Runbooks.getRunbooks(project, undefined, params);\n setRunbooks({ ...runbooks, IsFiltered: !!partialName });\n }\n if (firstLoad.current) {\n firstLoad.current = false;\n onboardingContext.continueSampleProjectTour();\n }\n }, [gitRef, take, filter], { timeOperationOptions: timeOperationOptions.forInitialLoad(project.IsVersionControlled) });\n const onFilterChanged = (value: string) => {\n setTake(pageSize); // When resetting the search, reset the take to the default\n setFilter(value);\n };\n const addRunbookPageAction: PrimaryPageAction = {\n type: \"button\",\n label: \"Add Runbook\",\n hasPermissions: isAllowed({ permission: Permission.RunbookEdit, project: project.Id, wildcard: true }),\n onClick: openAddRunbookDialog,\n disabled: hasGitRunbooks && !canCommitTo(gitRefValidationResult?.GitRef),\n extraContext: hasGitRunbooks && gitRefValidationResult?.GitRef && !canCommitTo(gitRefValidationResult?.GitRef)\n ? `Cannot create a Runbook on a ${isGitBranchResource(gitRefValidationResult?.GitRef) ? \"protected branch\" : getGitRefDescription(gitRef)}`\n : undefined,\n };\n return ( : undefined,\n }} callout={{\n type: \"custom\",\n content: (<>\n {runbooks && }\n \n {HasRunbooksInGit(project.PersistenceSettings) && }\n ),\n }}>\n \n {\n navigation.navigate(links.runbookRootRedirect.generateUrl({ spaceId: project.SpaceId, projectSlug: project.Slug, runbookId: id }));\n }}/>\n \n {runbooks && (<>\n {runbooks.Items.length === 0 && !runbooks.IsFiltered ? (\n
    );\n }\n private getDaysPerMonthSummary(schedule: DaysPerMonthScheduleTriggerEditorState) {\n if (schedule.monthlyScheduleType === MonthlyScheduleType.DateOfMonth && schedule.scheduleDateOfMonth) {\n const dateOfMonth = this.getDateOfMonthOptions().find((opt) => {\n return opt.value === schedule.scheduleDateOfMonth;\n });\n return Summary.summary(\n The {dateOfMonth!.text} day of every month\n );\n }\n if (schedule.monthlyScheduleType === MonthlyScheduleType.DayOfMonth && schedule.scheduleDayOfWeekOrdinal && schedule.scheduleMonthSpecifiedDayOfWeek) {\n const dayOfWeekOrdinal = this.getDayOfWeekOrdinalOptions().find((dowo) => {\n return dowo.value === schedule.scheduleDayOfWeekOrdinal;\n });\n const dayOfWeek = this.getMonthSpecifiedDaysOfWeek().find((dow) => {\n return dow.value === schedule.scheduleMonthSpecifiedDayOfWeek;\n });\n return Summary.summary(\n The{\" \"}\n \n {dayOfWeekOrdinal!.text} {dayOfWeek!.text}\n {\" \"}\n of every month\n );\n }\n return Summary.placeholder(\"Select what day of the month the schedule should execute.\");\n }\n private getDateOfMonthOptions() {\n const items: Item[] = [];\n let text: string;\n for (let value = 1; value <= 31; value++) {\n switch (value) {\n case 1:\n case 21:\n case 31:\n text = `${value}st`;\n break;\n case 2:\n case 22:\n text = `${value}nd`;\n break;\n case 3:\n case 23:\n text = `${value}rd`;\n break;\n default:\n text = `${value}th`;\n break;\n }\n items.push({ value: value.toString(), text });\n }\n items.push({ value: \"L\", text: \"Last\" });\n return items;\n }\n private getDayOfWeekOrdinalOptions() {\n return [\n { value: \"1\", text: \"First\" },\n { value: \"2\", text: \"Second\" },\n { value: \"3\", text: \"Third\" },\n { value: \"4\", text: \"Fourth\" },\n { value: \"L\", text: \"Last\" },\n ];\n }\n private getMonthSpecifiedDaysOfWeek() {\n return [\n { value: \"Monday\", text: \"Monday\" },\n { value: \"Tuesday\", text: \"Tuesday\" },\n { value: \"Wednesday\", text: \"Wednesday\" },\n { value: \"Thursday\", text: \"Thursday\" },\n { value: \"Friday\", text: \"Friday\" },\n { value: \"Saturday\", text: \"Saturday\" },\n { value: \"Sunday\", text: \"Sunday\" },\n ];\n }\n private onScheduleStartChange = (startTime: Moment) => {\n this.props.onScheduleChange({\n ...this.props.schedule,\n StartTime: startTime.toDate(),\n });\n };\n private onScheduleTimezoneChange = (timezone: string) => {\n this.props.onScheduleChange({\n ...this.props.schedule,\n Timezone: timezone,\n });\n };\n private onMonthlyScheduleTypeChange = (typeString: string) => {\n const type = typeString as MonthlyScheduleType;\n this.props.onScheduleChange({\n ...this.props.schedule,\n MonthlyScheduleType: type,\n });\n };\n private onDateOfMonthChange = (dateOfMonth: string | undefined) => {\n this.props.onScheduleChange({\n ...this.props.schedule,\n DateOfMonth: dateOfMonth!,\n });\n };\n private onDayOfWeekOrdinalChange = (dayOfWeekOrdinal: string | undefined) => {\n this.props.onScheduleChange({\n ...this.props.schedule,\n DayNumberOfMonth: this.props.schedule.MonthlyScheduleType === MonthlyScheduleType.DayOfMonth ? dayOfWeekOrdinal : null!,\n });\n };\n private onMonthSpecifiedDayOfWeekChange = (monthSpecifiedDayOfWeekString: string | undefined) => {\n const monthSpecifiedDayOfWeek = monthSpecifiedDayOfWeekString as DayOfWeek;\n this.props.onScheduleChange({\n ...this.props.schedule,\n DayOfWeek: this.props.schedule.MonthlyScheduleType === MonthlyScheduleType.DayOfMonth ? monthSpecifiedDayOfWeek : null!,\n });\n };\n static displayName = \"DaysPerMonthScheduledTriggerEditor\";\n}\nconst styles = {\n componentRowSpan: css({\n whiteSpace: \"nowrap\",\n marginBottom: \"1.5rem\",\n }),\n};\n","/* eslint-disable @typescript-eslint/no-non-null-assertion */\n/* eslint-disable @typescript-eslint/no-explicit-any */\n/* eslint-disable @typescript-eslint/init-declarations */\n/* eslint-disable @typescript-eslint/consistent-type-assertions */\nimport { RadioButton, RadioButtonGroup, Callout } from \"@octopusdeploy/design-system-components\";\nimport type { PageAction } from \"@octopusdeploy/design-system-components\";\nimport type { ChannelResource, ContinuousDailyTriggerScheduleResource, CronTriggerScheduleResource, DaysPerMonthTriggerScheduleResource, EnvironmentResource, GitPersistenceSettings, GitRef, LifecycleResource, NewTriggerResourceTyped, ProjectResource, RunbookResource, ScheduleIntervalResource, ScopedDeploymentActionResource, ServerTimezoneResource, TenantResource, TriggerResource, TriggerResourceTyped, TriggerScheduleResource, } from \"@octopusdeploy/octopus-server-client\";\nimport { DayOfWeek, DeployLatestReleaseActionResource, DeployNewReleaseActionResource, HasGitPersistenceSettings, HasRunbooksInGit, isExistingTriggerResource, OnceDailyTriggerScheduleResource, Permission, PersistenceSettingsType, RunRunbookActionResource, TenantedDeploymentMode, toGitBranch, TriggerActionCategory, TriggerActionType, TriggerFilterType, } from \"@octopusdeploy/octopus-server-client\";\nimport type { LinkHref } from \"@octopusdeploy/portal-routes\";\nimport { links } from \"@octopusdeploy/portal-routes\";\nimport { cloneDeep, isEqual } from \"lodash\";\nimport * as React from \"react\";\nimport useIsMultiTenancyEnabledFeatureFlag from \"~/areas/configuration/hooks/useIsMultiTenancyEnabledFeatureFlag\";\nimport { useProjectContext } from \"~/areas/projects/context/index\";\nimport type { WithProjectContextInjectedProps } from \"~/areas/projects/context/withProjectContext\";\nimport { repository } from \"~/clientInstance\";\nimport type { OptionalFormBaseComponentState } from \"~/components/FormBaseComponent\";\nimport { FormBaseComponent } from \"~/components/FormBaseComponent\";\nimport { LegacyForm } from \"~/components/FormPaperLayout/LegacyForm\";\nimport { TenantMultiSelect } from \"~/components/MultiSelect/TenantMultiSelect\";\nimport InternalRedirect from \"~/components/Navigation/InternalRedirect/InternalRedirect\";\nimport { OverflowMenuItems } from \"~/components/OverflowMenu/OverflowMenu\";\nimport { OverflowMenuConverterVNext } from \"~/components/OverflowMenu/OverflowMenuConverterVNext\";\nimport { PageContent } from \"~/components/PageContent/PageContent\";\nimport { PermissionCheck } from \"~/components/PermissionCheck\";\nimport { isAllowed } from \"~/components/PermissionCheck/PermissionCheck\";\nimport TransitionAnimation from \"~/components/TransitionAnimation/TransitionAnimation\";\nimport { ExpandableFormSection, ExpansionButtons, FormSectionHeading, MarkdownEditor, Note, required, Select, Summary, Text, UnstructuredFormSection } from \"~/components/form\";\nimport CommonSummaryHelper from \"~/utils/CommonSummaryHelper\";\nimport { timeOperationOptions } from \"~/utils/OperationTimer/timeOperation\";\nimport StringHelper from \"~/utils/StringHelper/StringHelper\";\nimport GitRefFormSection from \"../../Releases/Edit/GitRefFormSection\";\nimport { loadAllTriggerRunbooks } from \"../loadAllTriggerRunbooks\";\nimport { DeployLatestReleaseActionEditor, DeployNewReleaseActionEditor, RunRunbookActionEditor } from \"./ActionEditors\";\nimport { DeployLatestReleaseWithNoLifecycleActionEditor } from \"./ActionEditors/DeployLatestReleaseWithNoLifecycleActionEditor\";\nimport { CronExpressionScheduledTriggerEditor, DailyScheduledTriggerEditor, DaysPerMonthScheduledTriggerEditor } from \"./ScheduleEditors\";\ntype Model = TriggerResourceTyped | NewTriggerResourceTyped | NewTriggerResourceTyped;\ninterface GlobalConnectedProps {\n isMultiTenancyEnabled: boolean;\n}\nenum OtherTriggerFilterType {\n DailyOnceOrContinuous = \"DailyOnceOrContinuous\"\n}\ntype CombinedTriggerFilterType = TriggerFilterType | OtherTriggerFilterType;\ninterface EditState extends OptionalFormBaseComponentState {\n runbooks: RunbookResource[];\n environments: EnvironmentResource[];\n channels: ChannelResource[];\n tenants: TenantResource[];\n project: ProjectResource;\n channelId?: string;\n redirectTo?: LinkHref;\n interval: ScheduleIntervalResource;\n timezones: ServerTimezoneResource[];\n lifecycle: LifecycleResource | null;\n filterType: CombinedTriggerFilterType;\n}\nexport type EditScheduledTriggerInternalProps = EditScheduledTriggerPageProps & GlobalConnectedProps & WithProjectContextInjectedProps;\nclass EditScheduledTriggerInternalPage extends FormBaseComponent {\n public static defaultProps: Partial = {\n triggerActionCategory: TriggerActionCategory.Deployment,\n };\n channelNameMap: any = {};\n constructor(props: EditScheduledTriggerInternalProps) {\n super(props);\n this.state = {\n model: null!,\n cleanModel: null!,\n runbooks: null!,\n environments: [],\n channels: [],\n tenants: [],\n project: null!,\n interval: null!,\n timezones: [],\n lifecycle: null,\n filterType: null!,\n };\n }\n async componentDidMount() {\n let newTrigger: NewTriggerResourceTyped = null!;\n const { model: project } = this.props.projectContext.state;\n let timezones: ServerTimezoneResource[] = [];\n await this.doBusyTask(async () => {\n timezones = await repository.ServerStatus.getTimezones();\n });\n this.setState({\n timezones,\n }, async () => {\n if (this.props.create) {\n const triggerScheduleResource = this.createDefaultOnceDailyTriggerSchedule();\n const triggerActionResource = new DeployLatestReleaseActionResource();\n if (isCreateRunbookScheduledTriggerProps(this.props)) {\n triggerActionResource.ActionType = TriggerActionType.RunRunbook;\n const runbookId = this.props.runbookId;\n if (runbookId) {\n (triggerActionResource as any as RunRunbookActionResource).RunbookId = runbookId;\n }\n }\n newTrigger = {\n ProjectId: project.Id,\n Name: null!,\n Description: null!,\n IsDisabled: false,\n Filter: triggerScheduleResource,\n Action: triggerActionResource,\n };\n }\n await this.doBusyTask(async () => {\n let channels: ChannelResource[] = [];\n const trigger: any = isEditingExistingScheduledTrigger(this.props) ? await repository.ProjectTriggers.get(this.props.triggerId) : null;\n if (isAllowed({ permission: Permission.ProcessView, project: project.Id, tenant: \"*\" })) {\n channels = await this.loadChannels(project, trigger);\n }\n if (channels) {\n channels.forEach((channel) => {\n this.channelNameMap[channel.Id] = channel;\n });\n }\n // Channel selection is not mandatory so an existing trigger when multiple channel options are available may not have one selected.\n const triggerHasSelectedChannel = !!(trigger && trigger.Action && trigger.Action.ChannelId);\n const selectedChannelOnTrigger = triggerHasSelectedChannel && channels.length > 0 && channels.find((c) => c.Id === trigger.Action.ChannelId);\n // Even tho we have a selectedChannelOnTrigger but it may not have a lifecycle selection.\n const lifecycleId = (selectedChannelOnTrigger && selectedChannelOnTrigger.LifecycleId) || project.LifecycleId;\n const lifecycle = isAllowed({ permission: Permission.LifecycleView, wildcard: true }) ? await repository.Lifecycles.get(lifecycleId) : null!;\n const filterType = this.getFilterType(newTrigger, trigger)!;\n const tenantsPromise = this.props.isMultiTenancyEnabled && isAllowed({ permission: Permission.TenantView, tenant: \"*\" }) ? repository.Tenants.all({ projectId: project.Id }) : Promise.resolve([]);\n this.setState({\n model: newTrigger || trigger,\n runbooks: await loadAllTriggerRunbooks(project),\n environments: await repository.Environments.all(),\n channels,\n tenants: await tenantsPromise,\n project,\n lifecycle: lifecycle ? await repository.Lifecycles.preview(lifecycle) : null!,\n cleanModel: cloneDeep(newTrigger || trigger),\n filterType,\n });\n }, { timeOperationOptions: timeOperationOptions.forInitialLoad(this.props.projectContext.state.model.IsVersionControlled) });\n });\n }\n render() {\n if (this.state.redirectTo) {\n return ;\n }\n const title = this.props.create ? \"New Scheduled Trigger\" : this.state.model ? this.state.model.Name : StringHelper.ellipsis;\n const legacyOverflowActions = [];\n if (this.state.model && isExistingTriggerResource(this.state.model)) {\n const model: TriggerResource = this.state.model;\n legacyOverflowActions.push(OverflowMenuItems.item(this.state.model && this.state.model.IsDisabled ? \"Enable\" : \"Disable\", () => (this.state.model && this.state.model.IsDisabled ? this.enableTrigger() : this.disableTrigger()), {\n permission: Permission.TriggerEdit,\n project: this.state.project && this.state.project.Id,\n }));\n legacyOverflowActions.push(OverflowMenuItems.deleteItemDefault(\"scheduled trigger\", () => this.deleteTrigger(model), { permission: Permission.TriggerDelete, project: this.state.project && this.state.project.Id }));\n legacyOverflowActions.push([\n OverflowMenuItems.navItem(\"Audit Trail\", links.auditPage.generateUrl({ regardingAny: [this.state.model.Id] }), {\n permission: Permission.EventView,\n wildcard: true,\n }),\n ]);\n }\n const overflowMenu = OverflowMenuConverterVNext.convertAll(legacyOverflowActions);\n const saveText: string = this.props.create ? \"Scheduled trigger created\" : \"Scheduled trigger details updated\";\n const hasTenants = this.props.isMultiTenancyEnabled && this.state.project && this.state.project.TenantedDeploymentMode !== TenantedDeploymentMode.Untenanted && this.state.tenants.length > 0;\n const showActionType = this.props.triggerActionCategory === TriggerActionCategory.Deployment;\n const breadcrumbTitle = this.props.triggerActionCategory === TriggerActionCategory.Deployment ? \"Triggers\" : \"Runbook Triggers\";\n const breadcrumbPath = this.props.triggerActionCategory === TriggerActionCategory.Deployment\n ? links.deploymentTriggersPage.generateUrl({ spaceId: this.props.spaceId, projectSlug: this.props.projectSlug })\n : links.projectRunbookTriggersPage.generateUrl({ spaceId: this.props.spaceId, projectSlug: this.props.projectSlug });\n const pageActions: PageAction[] = [];\n if (this.state.model && this.props.triggerActionCategory === TriggerActionCategory.Runbook) {\n const action = this.state.model.Action as any as RunRunbookActionResource;\n if (action.RunbookId) {\n let runbookRoute;\n if (HasGitPersistenceSettings(this.state.project.PersistenceSettings) && HasRunbooksInGit(this.state.project.PersistenceSettings)) {\n runbookRoute = links.projectRunbookRunsListPage.generateUrl({\n spaceId: this.props.spaceId,\n projectSlug: this.props.projectSlug,\n runbookId: action.RunbookId,\n }, {\n gitRef: toGitBranch(this.state.project.PersistenceSettings.DefaultBranch),\n });\n }\n else {\n runbookRoute = links.runbookRootRedirect.generateUrl({\n spaceId: this.props.spaceId,\n projectSlug: this.props.projectSlug,\n runbookId: action.RunbookId,\n });\n }\n pageActions.push({\n type: \"navigate\",\n label: \"Go to Runbook\",\n path: runbookRoute,\n buttonType: \"tertiary\",\n disabled: !isEqual(this.state.model, this.state.cleanModel),\n });\n }\n }\n return ( this.saveTrigger()}>\n {({ FormContent, createSaveAction }) => (\n \n {overflowMenu.dialogs}\n {this.state.model && (\n \n\n {this.state.cleanModel && this.state.cleanModel.IsDisabled && (\n \n )}\n\n \n this.setModelState({ Name })} label=\"Scheduled trigger name\" validate={required(\"Please enter a scheduled trigger name\")} error={this.getFieldError(\"Name\")} autoFocus={true}/>\n \n A short, memorable, unique name for this scheduled trigger. Example: Daily 9am: Dev Latest to Staging\n \n \n \n this.setModelState({ Description })}/>\n \n \n {showActionType && (\n \n \n \n If the same environment is selected for both source and destination the latest successfully deployed release in the source environment will be re-deployed to the destination environment, if\n different environments are selected the latest successfully deployed release in the source environment will be promoted to the destination environment\n \n \n A new release will be created and deployed to the selected environment\n \n )}\n {this.state.project.PersistenceSettings.Type === PersistenceSettingsType.VersionControlled && this.state.model.Action.ActionType === TriggerActionType.DeployNewRelease && (\n {\n if (gitRef)\n await this.onGitRefChange({ VersionControlReference: { GitRef: gitRef } });\n }} canResetToDefaultBranch={false}/>\n )}\n {this.state.channels.length > 1 && this.state.model.Action.ActionType !== TriggerActionType.RunRunbook && (\n this.setFilterState({ runbookId: x }, async () => await this.onFilterChange())} items={this.props.loaderData.runbooksInProject.map((r) => ({ value: r.Id, text: r.Name }))}/>\n
    ,\n ]}/>,\n ],\n }} busy={this.state.busy} errors={this.errors} overrideFullWidth={showAsFullWidth}>\n {content}\n );\n }\n async reloadTriggers() {\n const project = this.props.loaderData.project;\n await this.doBusyTask(async () => this.setState({\n triggersResponse: await repository.Projects.getTriggers(project, 0, 30, undefined, TriggerActionCategory.Runbook, this.state.filter.runbookId ? [this.state.filter.runbookId] : undefined, this.state.filter.searchText),\n }));\n }\n private async onFilterChange() {\n this.setState({ isSearching: true }, async () => {\n await this.reloadTriggers();\n this.setState({ isSearching: false });\n });\n }\n private setFilterState(state: Pick, callback?: () => void) {\n this.setState((prev) => ({\n filter: { ...prev.filter, ...state },\n }), callback);\n }\n private buildTriggerRow(trigger: TriggerResource) {\n const overflowMenuItems = this.getOverflowMenuItems(trigger);\n if (trigger.Filter.FilterType === TriggerFilterType.MachineFilter) {\n return ;\n }\n return ;\n }\n private getOverflowMenuItems(trigger: TriggerResource) {\n const triggerEditPermission = { permission: Permission.TriggerEdit, project: this.props.loaderData.project.Id };\n const menuItems = [!triggerIdIs(trigger, \"built-in-feed\") && OverflowMenuItems.item(trigger.IsDisabled ? \"Enable\" : \"Disable\", () => (trigger.IsDisabled ? this.enable(trigger) : this.disable(trigger)), triggerEditPermission)] as const;\n return menuItems.filter((val): val is NonNullable> => !!val);\n }\n private async enable(trigger: TriggerResource) {\n trigger.IsDisabled = false;\n await this.saveTrigger(trigger);\n }\n private async disable(trigger: TriggerResource) {\n trigger.IsDisabled = true;\n await this.saveTrigger(trigger);\n }\n private async saveTrigger(trigger: TriggerResource) {\n const isSuccess = await this.doBusyTask(async () => {\n await repository.ProjectTriggers.modify(trigger);\n const triggersResponse = await repository.Projects.getTriggers(this.props.loaderData.project, 0, 30, undefined, TriggerActionCategory.Runbook);\n this.setState({\n triggersResponse,\n });\n });\n if (!isSuccess) {\n await this.doBusyTask(async () => this.setState({\n triggersResponse: await repository.Projects.getTriggers(this.props.loaderData.project, 0, 30, undefined, TriggerActionCategory.Runbook),\n }), { preserveCurrentErrors: true, timeOperationOptions: timeOperationOptions.forInitialLoad() });\n }\n }\n private buildDataTableColumnHeaders(screenSize: \"sm\" | \"md\" | \"lg\") {\n const columnHeaders = [\"Name\"];\n if (screenSize !== \"sm\") {\n columnHeaders.push(\"Type\");\n }\n if (screenSize === \"lg\") {\n columnHeaders.push(\"Trigger action\");\n }\n if (screenSize !== \"sm\") {\n columnHeaders.push(\"\");\n }\n return columnHeaders;\n }\n private buildDataTableColumns(trigger: TriggerResource, screenSize: \"sm\" | \"md\" | \"lg\") {\n const columns = [];\n if (screenSize !== \"sm\") {\n columns.push();\n }\n if (screenSize === \"lg\") {\n columns.push(this.buildTriggerDescription(trigger));\n }\n if (screenSize !== \"sm\") {\n columns.push(this.getOverflowMenu(trigger));\n }\n return columns.map((column) => this.wrapWithStyles(column, trigger));\n }\n private wrapWithStyles(children: React.ReactNode, trigger: TriggerResource) {\n let cellStyle = emotionStyles.verticallyCenter;\n if (trigger.IsDisabled) {\n cellStyle = cx(cellStyle, emotionStyles.disabled);\n }\n return
    {children}
    ;\n }\n private buildTriggerDescription(trigger: TriggerResource) {\n if (isMachineFilterResource(trigger.Filter)) {\n const filter = trigger.Filter;\n const description = new TriggerDescription(filter, this.props.loaderData.environments, this.props.loaderData.categories, this.props.loaderData.groups);\n return description.buildDescription();\n }\n const scheduleDescription = isScheduleTriggerResource(trigger.Filter) ? ScheduledTriggerDescriptionHelper.getScheduleDescription(trigger.Filter) : undefined;\n // eslint-disable-next-line @typescript-eslint/consistent-type-assertions\n const actionDescription = ScheduledTriggerDescriptionHelper.getActionDescription(trigger.Action as ScopedDeploymentActionResource, this.props.loaderData.environments, this.props.loaderData.runbooksInProject, []);\n return (\n {actionDescription}\n {scheduleDescription}.\n );\n }\n private getOverflowMenu(trigger: TriggerResource) {\n return ;\n }\n static displayName = \"RunbookTriggersInternal\";\n}\nfunction isMachineFilterResource(triggerFilter: TriggerFilterResource): triggerFilter is MachineFilterResource {\n return triggerFilter.FilterType === TriggerFilterType.MachineFilter;\n}\nfunction isScheduleTriggerResource(triggerFilter: TriggerFilterResource): triggerFilter is TriggerScheduleResource {\n switch (triggerFilter.FilterType) {\n case TriggerFilterType.OnceDailySchedule:\n case TriggerFilterType.ContinuousDailySchedule:\n case TriggerFilterType.DaysPerMonthSchedule:\n case TriggerFilterType.CronExpressionSchedule:\n return true;\n }\n return false;\n}\nfunction createDefaultFilter(): RunbookTriggersFilter {\n return {\n searchText: \"\",\n runbookId: \"\",\n };\n}\ninterface RunbookTriggersPageProps {\n spaceId: string;\n projectSlug: string;\n loaderData: RunbookTriggersPageLoaderData;\n}\nexport const RunbookTriggersPage: React.FC = (props) => {\n const isMultiTenancyEnabled = useSelector(isMultiTenancyEnabledSelector);\n const history = useHistory();\n return ;\n};\nRunbookTriggersPage.displayName = \"RunbookTriggersPage\"\nconst isMultiTenancyEnabledSelector = (state: GlobalState) => state.configurationArea.currentSpace.isMultiTenancyEnabled;\nconst getBreakpoint = (small: boolean, large: boolean) => {\n if (small)\n return \"sm\";\n if (large)\n return \"lg\";\n return \"md\";\n};\nconst emotionStyles = {\n // This is required so we can set the height of a cell to 100% so we can center the content\n tableCellHeightHack: css({ height: \"1px\" }),\n verticallyCenter: css({ height: \"100%\", display: \"flex\", alignItems: \"center\" }),\n disabled: css({ color: themeTokens.color.text.disabled }),\n emptyStateIllustration: css({ height: 300 }),\n filterControl: css({ width: `${240 / 16}rem!important` }),\n};\nexport const runbookTriggersPageTitle = \"Runbook Triggers\";\n","/* eslint-disable @typescript-eslint/no-non-null-assertion */\n/* eslint-disable @typescript-eslint/no-explicit-any */\n/* eslint-disable @typescript-eslint/consistent-type-assertions */\nimport { Checkbox, Callout } from \"@octopusdeploy/design-system-components\";\nimport type { EnvironmentResource, EventCategoryResource, EventGroupResource, NewTriggerResourceTyped, ProjectResource, TriggerResource, TriggerResourceTyped } from \"@octopusdeploy/octopus-server-client\";\nimport { AutoDeployActionResource, isExistingTriggerResource, MachineFilterResource, Permission, TenantedDeploymentMode, TriggerActionType } from \"@octopusdeploy/octopus-server-client\";\nimport type { LinkHref } from \"@octopusdeploy/portal-routes\";\nimport { links } from \"@octopusdeploy/portal-routes\";\nimport { cloneDeep } from \"lodash\";\nimport * as React from \"react\";\nimport type { ProjectRouteParams } from \"~/areas/projects/components/ProjectsRoutes/ProjectRouteParams\";\nimport TriggerDescription from \"~/areas/projects/components/Triggers/TriggerDescription\";\nimport { useProjectContext } from \"~/areas/projects/context/index\";\nimport type { WithProjectContextInjectedProps } from \"~/areas/projects/context/withProjectContext\";\nimport { repository } from \"~/clientInstance\";\nimport EventFilter from \"~/components/EventFilter\";\nimport { Feature } from \"~/components/FeatureToggle\";\nimport FeatureToggle from \"~/components/FeatureToggle/FeatureToggle\";\nimport type { OptionalFormBaseComponentState } from \"~/components/FormBaseComponent\";\nimport FormBaseComponent from \"~/components/FormBaseComponent\";\nimport { LegacyForm } from \"~/components/FormPaperLayout/LegacyForm\";\nimport ExternalLink from \"~/components/Navigation/ExternalLink\";\nimport InternalRedirect from \"~/components/Navigation/InternalRedirect/InternalRedirect\";\nimport { OverflowMenuItems } from \"~/components/OverflowMenu/OverflowMenu\";\nimport { OverflowMenuConverterVNext } from \"~/components/OverflowMenu/OverflowMenuConverterVNext\";\nimport { PageContent } from \"~/components/PageContent/PageContent\";\nimport TransitionAnimation from \"~/components/TransitionAnimation/TransitionAnimation\";\nimport { ExpandableFormSection, ExpansionButtons, MarkdownEditor, Note, Summary, Text, UnstructuredFormSection } from \"~/components/form\";\nimport { required } from \"~/components/form/Validators\";\nimport { timeOperationOptions } from \"~/utils/OperationTimer/timeOperation\";\nimport StringHelper from \"~/utils/StringHelper\";\nimport styles from \"./style.module.less\";\ninterface LookupData {\n eventCategories: EventCategoryResource[];\n eventGroups: EventGroupResource[];\n environments: EnvironmentResource[];\n roles: string[];\n project: ProjectResource;\n}\ntype Model = TriggerResourceTyped | NewTriggerResourceTyped;\ninterface EditState extends OptionalFormBaseComponentState {\n lookupData?: LookupData;\n redirectTo?: LinkHref;\n}\ninterface CreateDeploymentTriggerProps extends ProjectRouteParams {\n create: true;\n}\ninterface SpecificDeploymentTriggerProps extends ProjectRouteParams {\n triggerId: string;\n}\ntype DeploymentTriggerPageProps = CreateDeploymentTriggerProps | SpecificDeploymentTriggerProps;\ntype DeploymentTriggerPageInternalProps = DeploymentTriggerPageProps & WithProjectContextInjectedProps;\nclass DeploymentTriggerPageInternal extends FormBaseComponent {\n constructor(props: any) {\n super(props);\n const machineFilterResource = new MachineFilterResource();\n machineFilterResource.EnvironmentIds = [];\n machineFilterResource.Roles = [];\n machineFilterResource.EventGroups = [];\n machineFilterResource.EventCategories = [];\n this.state = {};\n }\n async componentDidMount() {\n await this.doBusyTask(async () => {\n const project = this.props.projectContext.state.model;\n const eventCategories = repository.Events.categories({ appliesTo: \"Machine\" });\n const eventGroups = repository.Events.groups({ appliesTo: \"Machine\" });\n const environments = repository.Environments.all();\n const roles = repository.MachineRoles.all();\n const trigger = await this.loadTriggerOrCreateNew(project);\n const lookupData: LookupData = {\n eventCategories: await eventCategories,\n eventGroups: await eventGroups,\n environments: await environments,\n roles: await roles,\n project,\n };\n this.setState({\n model: trigger,\n lookupData,\n cleanModel: cloneDeep(trigger),\n });\n }, { timeOperationOptions: timeOperationOptions.forInitialLoad(this.props.projectContext.state.model.IsVersionControlled) });\n }\n render() {\n if (this.state.redirectTo) {\n return ;\n }\n const title = isCreateDeploymentTriggerProps(this.props) ? \"New Trigger\" : this.state.model ? this.state.model.Name : StringHelper.ellipsis;\n const legacyOverflowActions = [];\n if (this.state.model && isExistingTriggerResource(this.state.model) && this.state.lookupData) {\n const model: TriggerResource = this.state.model;\n const lookupData = this.state.lookupData;\n legacyOverflowActions.push(OverflowMenuItems.item(this.state.model && this.state.model.IsDisabled ? \"Enable\" : \"Disable\", () => (this.state.model && this.state.model.IsDisabled ? this.enableTrigger() : this.disableTrigger()), {\n permission: Permission.TriggerEdit,\n project: this.state.lookupData.project && this.state.lookupData.project.Id,\n }));\n legacyOverflowActions.push(OverflowMenuItems.deleteItemDefault(\"trigger\", () => this.deleteTrigger(model, lookupData), {\n permission: Permission.TriggerDelete,\n project: this.state.lookupData.project.Id,\n }));\n legacyOverflowActions.push([\n OverflowMenuItems.navItem(\"Audit Trail\", links.auditPage.generateUrl({ regardingAny: [this.state.model.Id] }), {\n permission: Permission.EventView,\n wildcard: true,\n }),\n ]);\n }\n const overflowMenu = OverflowMenuConverterVNext.convertAll(legacyOverflowActions);\n const saveText: string = isCreateDeploymentTriggerProps(this.props) ? \"Trigger created\" : \"Trigger details updated\";\n return ( this.saveProject()} saveText={saveText}>\n {({ FormContent, createSaveAction }) => (\n This type of trigger helps to automate your project's deployments in response to changes in your deployment targets, ensuring they always have the currently successful releases. Learn more about{\" \"}\n Automatic Deployment Triggers or read our comprehensive guide about deploying to\n elastic and transient environments.\n

    ),\n }}>\n \n {overflowMenu.dialogs}\n {this.state.model && this.state.lookupData && (\n \n\n {this.state.cleanModel && this.state.cleanModel.IsDisabled && (\n \n )}\n\n \n this.setModelState({ Name })} label=\"Trigger name\" validate={required(\"Please enter a trigger name\")} error={this.getFieldError(\"Name\")} autoFocus={true}/>\n \n A short, memorable, unique name for this trigger. Example: Staging Environment Auto-Deploy\n \n \n\n \n this.setModelState({ Description })}/>\n \n\n \n \n If unsure, select only the \"Machine becomes available for deployment\" event group, as it includes all the necessary events required to keep deployment targets up to date.\n \n this.setFilterState({ EventCategories })} onChangeEventGroups={(EventGroups) => this.setFilterState({ EventGroups })} onChangeEnvironments={(EnvironmentIds) => this.setFilterState({ EnvironmentIds })} onChangeRoles={(Roles) => this.setFilterState({ Roles })}/>\n \n \n this.setActionState({ ShouldRedeployWhenMachineHasBeenDeployedTo })}/>\n \n \n
      \n
    • \n \n The most recent successful deployment of this project for each environment\n \n {this.state.lookupData.project && this.state.lookupData.project.TenantedDeploymentMode !== TenantedDeploymentMode.Untenanted && \"/tenant combination\"}\n {\" \"}\n will be requeued to any machines that match the trigger criteria.\n \n
    • \n \n {this.state.lookupData.project && this.state.lookupData.project.TenantedDeploymentMode !== TenantedDeploymentMode.Untenanted && (
    • \n \n If required, a deployment will be triggered for each tenant mapped to the deployment target. Learn more about multi-tenant hosting models in our{\" \"}\n documentation.\n \n
    • )}\n
      \n
    • \n \n The goal of an automatic deployment to a deployment target is to make it the same as its counterparts in the same environment. Octopus does this by running the same steps that would be run for the\n deployment target as part of a manual deployment. Learn about how the deployment process is calculated for automatic deployments.\n \n
    • \n
    \n
    \n
    )}\n
    \n
    )}\n
    );\n }\n private async loadTriggerOrCreateNew(project: ProjectResource): Promise {\n if (isCreateDeploymentTriggerProps(this.props)) {\n const machineFilterResource = new MachineFilterResource();\n machineFilterResource.EnvironmentIds = [];\n machineFilterResource.Roles = [];\n machineFilterResource.EventGroups = [];\n machineFilterResource.EventCategories = [];\n return {\n ProjectId: project.Id,\n Name: \"\",\n Description: \"\",\n IsDisabled: false,\n Filter: machineFilterResource,\n Action: new AutoDeployActionResource(),\n };\n }\n else {\n return (await repository.ProjectTriggers.get(this.props.triggerId)) as Model;\n }\n }\n private setFilterState(filterState: Pick) {\n this.setChildState2(\"model\", \"Filter\", filterState);\n }\n private setActionState(actionState: Pick) {\n this.setChildState2(\"model\", \"Action\", actionState);\n }\n private async enableTrigger() {\n this.setChildState1(\"model\", { IsDisabled: false }, () => this.saveProject());\n }\n private async disableTrigger() {\n this.setChildState1(\"model\", { IsDisabled: true }, () => this.saveProject());\n }\n private async deleteTrigger(model: TriggerResource, lookupData: LookupData) {\n await this.doBusyTask(async () => {\n await repository.ProjectTriggers.del(model);\n this.setState({ redirectTo: links.deploymentTriggersPage.generateUrl({ spaceId: lookupData.project.SpaceId, projectSlug: lookupData.project.Slug }) });\n });\n return true;\n }\n private eventFilterSummary(model: Model, lookupData: LookupData) {\n if (model.Filter.EventCategories.length || model.Filter.EventGroups.length) {\n const description = new TriggerDescription(model.Filter, lookupData.environments, lookupData.eventCategories, lookupData.eventGroups);\n return Summary.summary(description.buildDescription());\n }\n return Summary.placeholder(\"Please select filters to apply\");\n }\n private async saveProject() {\n await this.doBusyTask(async () => {\n if (!this.state.model) {\n return;\n }\n const result = await repository.ProjectTriggers.save(this.state.model);\n if (isCreateDeploymentTriggerProps(this.props)) {\n const redirectTo = result.Action.ActionType === TriggerActionType.AutoDeploy\n ? links.editDeploymentTriggerPage.generateUrl({ spaceId: result.SpaceId, projectSlug: this.props.projectSlug, triggerId: result.Id })\n : links.editDeploymentScheduledTriggerPage.generateUrl({ spaceId: result.SpaceId, projectSlug: this.props.projectSlug, triggerId: result.Id });\n this.setState({ redirectTo });\n }\n else {\n const typedResult = result as Model;\n this.setState({\n model: typedResult,\n cleanModel: cloneDeep(typedResult),\n });\n }\n });\n }\n static displayName = \"DeploymentTriggerPageInternal\";\n}\nfunction isCreateDeploymentTriggerProps(props: DeploymentTriggerPageProps): props is CreateDeploymentTriggerProps {\n return \"create\" in props && props.create;\n}\nexport function DeploymentTriggerPage(props: DeploymentTriggerPageProps) {\n const projectContext = useProjectContext();\n return ;\n}\n","import { ActionButton, ActionButtonType, SimpleMenu, useMenuState } from \"@octopusdeploy/design-system-components\";\nimport { links } from \"@octopusdeploy/portal-routes\";\nimport * as React from \"react\";\nimport { DropDownIcon } from \"~/components/Button/DropDownIcon/DropDownIcon\";\ninterface AddTriggerButtonProps {\n spaceId: string;\n projectSlug: string;\n}\nexport function AddDeploymentTriggerButton({ spaceId, projectSlug }: AddTriggerButtonProps) {\n const [openMenu, menuState, buttonAriaAttributes] = useMenuState();\n return (<>\n } iconPosition=\"right\" label=\"Add Trigger\" onClick={openMenu} menuButtonAttributes={buttonAriaAttributes}/>\n \n );\n}\n","import { css } from \"@emotion/css\";\nimport { Tooltip } from \"@octopusdeploy/design-system-components\";\nimport { space, borderRadius, text, themeTokens } from \"@octopusdeploy/design-system-tokens\";\nimport type { Url } from \"@octopusdeploy/portal-routes\";\nimport type { ReactNode } from \"react\";\nimport React from \"react\";\nimport Card from \"~/components/Card\";\nimport { useUrlResolver } from \"~/components/Navigation/useUrlResolver\";\nexport interface AddProjectTriggerCardProps {\n title: string;\n description: string;\n icon: ReactNode;\n path: Url;\n disabled?: boolean;\n disabledMessage?: string;\n chip?: ReactNode;\n}\nexport function AddProjectTriggerCard({ title, description, icon, path, disabled, disabledMessage, chip }: AddProjectTriggerCardProps) {\n const urlResolver = useUrlResolver();\n const resolvedPath = path ? urlResolver.resolve(path) : \"\";\n const card = (\n Add a {title} trigger\n )} logo={
    {icon}
    } header={
    \n {title}\n {chip}\n
    } content={description} className={styles.card(disabled ?? false)} contentClassName={styles.content} leftAlign={true} isDisabled={disabled} hideDisabledChip={true}/>);\n if (disabled) {\n return {card};\n }\n return card;\n}\nconst styles = {\n // The card component has the link inside the main card, which messes with the `gap` spacing\n // To address this, we ensure there will always be an extra 4px gap and knock if off the card's top padding\n card: (disabled: boolean) => css({\n \"&&\": {\n flex: 1,\n minWidth: \"100%\",\n width: \"auto\",\n gap: space[4],\n margin: 0,\n padding: space[16],\n paddingTop: space[12],\n borderRadius: borderRadius.large,\n \"@media (min-width: 600px)\": {\n minWidth: \"230px\",\n },\n \"@media (min-width: 784px)\": {\n // Magic number lines up with the automatic width when used in a dialog 800px wide\n maxWidth: \"234.67px\",\n },\n \"&:hover\": disabled\n ? {\n boxShadow: themeTokens.shadow.small,\n backgroundColor: themeTokens.color.background.primary.default,\n }\n : {},\n },\n }),\n logo: (cardHasLink: boolean) => css({ marginBottom: space[8], marginTop: cardHasLink ? 0 : space[4], lineHeight: 0 }),\n header: css({\n font: text.body.bold.medium,\n margin: 0,\n marginBottom: space[4],\n // The card component adds padding to only the heading for small screen sizes, this cancels that out\n \"@media (max-width: 600px)\": {\n marginLeft: -8,\n },\n }),\n content: css({\n \"&&\": {\n width: \"auto\",\n font: text.body.regular.small,\n margin: 0,\n // The card component hides the content on small screen sizes by default\n display: \"block\",\n },\n }),\n link: css({ opacity: 0 }),\n};\n","import { css } from \"@emotion/css\";\nimport { ActionButtonType, Button } from \"@octopusdeploy/design-system-components\";\nimport { space, text, themeTokens } from \"@octopusdeploy/design-system-tokens\";\nimport type { ProjectResource } from \"@octopusdeploy/octopus-server-client\";\nimport { links } from \"@octopusdeploy/portal-routes\";\nimport type { ReactElement } from \"react\";\nimport React from \"react\";\nimport { NewFeatureChip } from \"~/components/Chips\";\nimport Dialog from \"~/components/Dialog/Dialog\";\nimport OpenDialogButton from \"~/components/Dialog/OpenDialogButton\";\nimport { DialogLayout } from \"~/components/DialogLayout/DialogLayout\";\nimport ExternalLink from \"~/components/Navigation/ExternalLink\";\nimport { AddProjectTriggerCard } from \"./AddProjectTriggerCard\";\nimport { BuiltInFeedIcon } from \"./Icons/BuiltInFeedIcon\";\nimport { DeploymentIcon } from \"./Icons/DeploymentIcon\";\nimport { ExternalFeedIcon } from \"./Icons/ExternalFeedIcon\";\nimport { GitIcon } from \"./Icons/GitIcon\";\nimport { ScheduledIcon } from \"./Icons/ScheduledIcon\";\nimport { useIsGitTriggersEnabled } from \"./useIsGitTriggersEnabled\";\ninterface AddProjectTriggerDialogLayoutProps {\n closeDialog(): void;\n project: ProjectResource;\n}\nfunction AddProjectTriggerDialogLayout({ closeDialog, project }: AddProjectTriggerDialogLayoutProps) {\n const { SpaceId: spaceId, Slug: projectSlug } = project;\n const canCreateBuiltInFeedTrigger = !project.AutoCreateRelease && !project.IsVersionControlled;\n const builtInFeedTriggerDisabledMessage = project.IsVersionControlled ? \"Built-in package repository triggers are not supported in version controlled projects\" : \"This trigger type only supports one trigger per project\";\n const cancel =
    );\n}\ninterface GitTriggerSourceRepositorySelectorProps {\n item: GitTriggerSourceItem;\n project: ProjectResource;\n channel?: ChannelResource;\n connection?: GitHubAppConnectionSummary;\n repository?: GitHubRepository;\n onChange: (item: GitTriggerSourceItem) => void;\n}\nfunction GitTriggerSourceRepositorySelector({ item, project, channel, connection, repository, onChange }: GitTriggerSourceRepositorySelectorProps) {\n const styles = {\n container: css({\n display: \"flex\",\n flexDirection: \"column\",\n gap: space[12],\n }),\n detail: css({\n display: \"flex\",\n flexDirection: \"column\",\n gap: space[12],\n marginLeft: space[32],\n flexGrow: 1,\n }),\n repository: css({\n display: \"flex\",\n alignItems: \"center\",\n gap: space[8],\n }),\n };\n return (
    \n onChange({ ...item, selected })} noMargin={true} label={
    \n \n \n
    }/>\n
    \n onChange(item)}/>\n \n
    \n
    );\n}\ntype GitTriggerSourceFiltersProps = {\n item: GitTriggerSourceItem;\n onChange: (item: GitTriggerSourceItem) => void;\n};\nfunction GitTriggerSourceFilters({ item, onChange }: GitTriggerSourceFiltersProps) {\n const [editing, setEditing] = useState(false);\n const styles = {\n addFiltersContainer: css({\n display: \"flex\",\n justifyItems: \"flex-start\",\n alignItems: \"center\",\n }),\n filtersContainer: css({\n display: \"flex\",\n flexDirection: \"column\",\n gap: space[8],\n borderRadius: borderRadius.medium,\n boxShadow: themeTokens.shadow.small,\n padding: space[16],\n }),\n header: css({\n display: \"flex\",\n justifyContent: \"space-between\",\n alignItems: \"center\",\n gap: space[8],\n }),\n filePathFilters: css({\n display: \"flex\",\n flexDirection: \"column\",\n gap: space[8],\n }),\n filePathFilter: css({\n display: \"flex\",\n alignItems: \"center\",\n gap: space[4],\n }),\n filePathFilterLabel: css({\n minWidth: space[64],\n }),\n };\n if (!item.selected)\n return null;\n let displayElement = null;\n if (item.includeFilePaths.length === 0 && item.excludeFilePaths.length === 0) {\n displayElement = (
    \n
    );\n }\n else {\n displayElement = (
    \n
    \n File path filters\n \n setEditing(true)} customIcon={}/>\n \n
    \n
    \n {item.includeFilePaths.length > 0 && (
    \n
    Include:
    \n
    {item.includeFilePaths.join(\", \")}
    \n
    )}\n {item.excludeFilePaths.length > 0 && (
    \n
    Exclude:
    \n
    {item.excludeFilePaths.join(\", \")}
    \n
    )}\n
    \n
    );\n }\n return (<>\n {editing && ( {\n onChange(item);\n setEditing(false);\n }} onClose={() => setEditing(false)}/>)}\n {displayElement}\n );\n}\ntype EditGitTriggerSourceFilterDialogProps = {\n item: GitTriggerSourceItem;\n onChange: (item: GitTriggerSourceItem) => void;\n onClose: () => void;\n};\nfunction EditGitTriggerSourceFilterDialog({ item, onChange, onClose }: EditGitTriggerSourceFilterDialogProps) {\n const [includeFilePaths, setIncludeFilePaths] = useState(item.includeFilePaths.join(\", \"));\n const [excludeFilePaths, setExcludeFilePaths] = useState(item.excludeFilePaths.join(\", \"));\n return (\n 0 || item.excludeFilePaths.length > 0 ? \"Edit File Path Filters\" : \"Add File Path Filters\"} busy={false} errors={[]} onSaveClick={async () => {\n const newIncludeFilePaths = includeFilePaths\n .split(\",\")\n .map((f) => f.trim())\n .filter((f) => f.length > 0);\n const newExcludeFilePaths = excludeFilePaths\n .split(\",\")\n .map((f) => f.trim())\n .filter((f) => f.length > 0);\n onChange({ ...item, includeFilePaths: newIncludeFilePaths, excludeFilePaths: newExcludeFilePaths });\n return true;\n }} saveButtonDisabled={false} onCancelClick={onClose}>\n \n Use wildcard syntax to include or exclude multiple files. See our documentation on using glob patterns in Git triggers for more information. Multiple\n patterns can be separated by a comma.\n \n\n setIncludeFilePaths(filePaths)} autoFocus/>\n setExcludeFilePaths(filePaths)}/>\n \n );\n}\ninterface DeploymentActionWithStepNumberProps {\n step: GitTriggerSourceItemStep;\n disabled: boolean;\n disabledMessage: string;\n}\nfunction DeploymentActionWithStepNumber({ step, disabled, disabledMessage }: DeploymentActionWithStepNumberProps) {\n const styles = {\n actionLabel: css({ whiteSpace: \"nowrap\" }),\n darkModeSpacer: css({ width: space[6] }),\n };\n const darkModeSpacer = useThemePaletteType() === \"dark\" ?
    : <>;\n const logoUrl = getActionLogoUrl(step.action);\n return (\n \n {darkModeSpacer}\n \n {step.stepActionNumber} {step.action.Name}\n {step.gitDependencyName ? ` (${step.gitDependencyName})` : \"\"}\n \n );\n}\ninterface CellWrapperProps {\n disabled: boolean;\n disabledMessage: string;\n children: React.ReactElement | React.ReactElement[];\n}\nfunction CellWrapper({ disabled, disabledMessage, children }: CellWrapperProps) {\n const styles = {\n cellWrapper: (disabled: boolean) => css({ display: \"flex\", flexWrap: \"nowrap\", alignItems: \"center\", color: disabled ? themeTokens.color.text.disabled : themeTokens.color.text.primary }),\n };\n const content =
    {children}
    ;\n if (disabled && disabledMessage) {\n return {content};\n }\n else {\n return <>{content};\n }\n}\nexport const getGitTriggerSourceItemSteps = (project: ProjectResource, triggerSources: GitTriggerSourceResource[], deploymentProcess?: DeploymentProcessResource): GitTriggerSourceItemStep[] => {\n return flatMap(deploymentProcess?.Steps.map((step, stepIndex) => step.Actions.flatMap((action, actionIndex) => {\n const selectItems: GitTriggerSourceItemStep[] = [];\n if (action.GitDependencies) {\n selectItems.push(...action.GitDependencies.map((dep) => {\n const triggerSource = triggerSources.find((source) => source.DeploymentActionSlug === action.Slug && source.GitDependencyName === dep.Name);\n return createExternalRepositoryGitTriggerSourceItem(triggerSource, step, stepIndex, action, actionIndex, dep);\n }));\n }\n if (HasGitPersistenceSettings(project.PersistenceSettings)) {\n const isProjectRepository = action.Properties[\"Octopus.Action.GitRepository.Source\"] === \"Project\";\n if (isProjectRepository) {\n const triggerSource = triggerSources.find((source) => source.DeploymentActionSlug === action.Slug && source.GitDependencyName === \"\");\n selectItems.push(createProjectRepositoryGitTriggerSourceItem(triggerSource, project.PersistenceSettings, step, stepIndex, action, actionIndex));\n }\n }\n return selectItems;\n })));\n};\nexport const getGitTriggerSourceItems = (project: ProjectResource, triggerSources: GitTriggerSourceResource[], deploymentProcess?: DeploymentProcessResource): GitTriggerSourceItem[] => {\n const steps = getGitTriggerSourceItemSteps(project, triggerSources, deploymentProcess);\n const stepsByRepositoryAndBranch = groupBy(steps, (step) => `${step.repositoryUrl}-${step.branch}-${(step.triggerSource?.IncludeFilePaths ?? []).join(\",\")}-${(step.triggerSource?.ExcludeFilePaths ?? []).join(\",\")}`);\n return Object.keys(stepsByRepositoryAndBranch).map((key) => {\n const steps = stepsByRepositoryAndBranch[key];\n return {\n id: key,\n selected: steps.some((step) => step.triggerSource !== undefined),\n repositoryUrl: steps[0].repositoryUrl,\n branch: steps[0].branch,\n includeFilePaths: uniq(steps.flatMap((step) => step.triggerSource?.IncludeFilePaths ?? [])),\n excludeFilePaths: uniq(steps.flatMap((step) => step.triggerSource?.ExcludeFilePaths ?? [])),\n steps,\n };\n });\n};\nconst createExternalRepositoryGitTriggerSourceItem = (triggerSource: GitTriggerSourceResource | undefined, step: DeploymentStepResource, stepIndex: number, action: DeploymentActionResource, actionIndex: number, gitDependency: GitDependencyReference): GitTriggerSourceItemStep => {\n return {\n type: \"external\",\n action,\n triggerSource,\n gitDependencyName: gitDependency.Name,\n repositoryUrl: gitDependency.RepositoryUri,\n branch: gitDependency.DefaultBranch.startsWith(\"refs/heads/\") ? gitDependency.DefaultBranch : `refs/heads/${gitDependency.DefaultBranch}`,\n stepActionNumber: stepNumber(step, stepIndex, actionIndex),\n };\n};\nconst createProjectRepositoryGitTriggerSourceItem = (triggerSource: GitTriggerSourceResource | undefined, gitPersistenceSettings: GitPersistenceSettings, step: DeploymentStepResource, stepIndex: number, action: DeploymentActionResource, actionIndex: number): GitTriggerSourceItemStep => {\n return {\n type: \"project\",\n action,\n triggerSource,\n gitDependencyName: \"\",\n repositoryUrl: gitPersistenceSettings.Url,\n branch: gitPersistenceSettings.DefaultBranch.startsWith(\"refs/heads/\") ? gitPersistenceSettings.DefaultBranch : `refs/heads/${gitPersistenceSettings.DefaultBranch}`,\n stepActionNumber: stepNumber(step, stepIndex, actionIndex),\n };\n};\nconst stepNumber = (step: DeploymentStepResource, stepIndex: number, actionIndex: number) => {\n if (step.Actions.length === 1) {\n return `${stepIndex + 1}.`;\n }\n else {\n return `${stepIndex + 1}.${actionIndex + 1}.`;\n }\n};\ntype GitTriggerSourceItemRepositoryDetailProps = {\n item: GitTriggerSourceItem;\n project: ProjectResource;\n connection?: GitHubAppConnectionSummary;\n repository?: GitHubRepository;\n};\nfunction GitTriggerSourceItemRepositoryDetail({ item, project, connection, repository }: GitTriggerSourceItemRepositoryDetailProps) {\n const anyStepIsUsingProjectRepository = item.steps.find((step) => step.type === \"project\");\n if (anyStepIsUsingProjectRepository && HasGitPersistenceSettings(project.PersistenceSettings)) {\n if (IsUsingGitHubAuth(project.PersistenceSettings.Credentials)) {\n return ;\n }\n else if (project.PersistenceSettings.Url.startsWith(\"https://github.com\")) {\n return ;\n }\n }\n else if (item.repositoryUrl.startsWith(\"https://github.com\")) {\n return ;\n }\n return ;\n}\ntype RepositoryDetailHeaderProps = {\n icon: React.ReactNode;\n name: string | React.ReactNode;\n};\nfunction RepositoryDetailHeader({ icon, name }: RepositoryDetailHeaderProps) {\n const styles = {\n container: css({\n display: \"flex\",\n alignItems: \"center\",\n gap: space[8],\n }),\n icon: css({\n width: space[24],\n height: space[24],\n }),\n };\n return (
    \n
    {icon}
    \n {name}\n
    );\n}\ntype GenericRepositoryDetailHeaderProps = {\n url: string;\n};\nfunction GenericRepositoryDetailHeader({ url }: GenericRepositoryDetailHeaderProps) {\n return } name={url}/>;\n}\ntype GitHubAppRepositoryDetailHeaderProps = {\n persistenceSettings: GitPersistenceSettings;\n connection?: GitHubAppConnectionSummary;\n repository?: GitHubRepository;\n};\nfunction GitHubAppRepositoryDetailHeader({ persistenceSettings, connection, repository }: GitHubAppRepositoryDetailHeaderProps) {\n if (connection && connection.Installation && repository) {\n return (} name={<>\n {connection.Installation.AccountLogin} / {repository.RepositoryName}\n }/>);\n }\n else {\n return ;\n }\n}\ntype GitHubRepositoryDetailHeaderProps = {\n url: string;\n};\nfunction GitHubRepositoryDetailHeader({ url }: GitHubRepositoryDetailHeaderProps) {\n const match = url.match(/https:\\/\\/github.com\\/([^/]+)\\/([^/]+)(\\/.*)?/);\n const owner = match && match[1];\n const repo = match && match[2];\n return (} name={<>\n {owner} / {repo?.replace(\".git\", \"\")}\n }/>);\n}\n","import { css } from \"@emotion/css\";\nimport { space } from \"@octopusdeploy/design-system-tokens\";\nimport { type DeploymentProcessResource, type ProjectResource, type TriggerGitFilterResource, type TriggerResource } from \"@octopusdeploy/octopus-server-client\";\nimport React from \"react\";\nimport { DeploymentActionGitDependencyChip } from \"~/components/Chips\";\nimport { getGitTriggerSourceItems } from \"./GitTriggerSources\";\ninterface GitTriggerDescriptionProps {\n trigger: TriggerResource;\n project: ProjectResource;\n deploymentProcess: DeploymentProcessResource;\n}\nexport function GitTriggerDescription({ trigger, project, deploymentProcess }: GitTriggerDescriptionProps) {\n const styles = {\n description: css({ lineHeight: space[24] }),\n };\n // eslint-disable-next-line @typescript-eslint/consistent-type-assertions\n const sources = (trigger.Filter as TriggerGitFilterResource).Sources;\n if (sources.length === 0)\n return <>No repositories monitored;\n const sourceItems = getGitTriggerSourceItems(project, sources, deploymentProcess);\n const deploymentActionChips = sourceItems\n .filter((item) => item.selected)\n .flatMap((item) => {\n return item.steps.flatMap((step) => ());\n });\n if (deploymentActionChips.length > 1) {\n return Create a release when a commit is pushed to the Git repositories connected to {deploymentActionChips.length} steps;\n }\n return Create a release when a commit is pushed to the Git repository connected to {deploymentActionChips};\n}\n","/* eslint-disable @typescript-eslint/no-non-null-assertion */\nimport type { ChannelResource, ProjectResource, DeploymentProcessResource, DeploymentActionPackageResource } from \"@octopusdeploy/octopus-server-client\";\nimport { displayName } from \"@octopusdeploy/octopus-server-client\";\nimport * as _ from \"lodash\";\nimport * as React from \"react\";\nimport { repository } from \"~/clientInstance\";\nimport type { DataBaseComponentState } from \"~/components/DataBaseComponent/DataBaseComponent\";\nimport { DataBaseComponent } from \"~/components/DataBaseComponent/DataBaseComponent\";\nimport SaveDialogLayout from \"~/components/DialogLayout/SaveDialogLayout\";\nimport { Select, Note } from \"~/components/form\";\nimport { required } from \"~/components/form/Validators\";\ninterface EditAutoReleaseCreationProps {\n channels: ChannelResource[];\n actionPackages: DeploymentActionPackageResource[];\n project: ProjectResource;\n deploymentProcess: DeploymentProcessResource;\n onProjectSaved(project: ProjectResource): void;\n}\ninterface EditAutoReleaseCreationState extends DataBaseComponentState {\n channelId: string;\n releaseCreationPackageIndex: number;\n}\nexport default class EditAutoReleaseCreation extends DataBaseComponent {\n constructor(props: EditAutoReleaseCreationProps) {\n super(props);\n const currentReleaseCreationPackage = props.project.ReleaseCreationStrategy.ReleaseCreationPackage;\n this.state = {\n channelId: props.project.ReleaseCreationStrategy.ChannelId!,\n releaseCreationPackageIndex: !currentReleaseCreationPackage\n ? null!\n : _.findIndex(this.props.actionPackages, (pkg) => {\n // With our TinyType implementation, server will convert the release creation package\n // reference from \"\" to null, and breaks this lookup (the package list keeps them as \"\"\n // as this is a meaningful value in the server code). Convert back to empty string so\n // we can do the lookup.\n const nullAsEmptyPackageReferenceIndex = pkg.PackageReference ?? \"\";\n const nullAsEmptyReleaseCreationPackageReference = currentReleaseCreationPackage.PackageReference ?? \"\";\n return pkg.DeploymentAction === currentReleaseCreationPackage.DeploymentAction && nullAsEmptyPackageReferenceIndex === nullAsEmptyReleaseCreationPackageReference;\n }),\n };\n }\n render() {\n return ( this.save()}>\n this.setState({ channelId: channedId! })} items={this.props.channels.map((pg) => ({ value: pg.Id, text: pg.Name }))} label=\"Channel\" validate={required(\"Select a channel\")}/>)}\n {this.props.channels.length > 1 && The release created will use this channel and the pushed package must satisfy the selected channel's versioning rules (if any).}\n );\n }\n private stepIsDisabled(deploymentAction: string) {\n const action = _.chain(this.props.deploymentProcess.Steps)\n .flatMap((step) => step.Actions)\n .find((x) => x.Name === deploymentAction)\n .value();\n return action!.IsDisabled;\n }\n private save() {\n return this.doBusyTask(async () => {\n const project = {\n ...this.props.project,\n AutoCreateRelease: true,\n ReleaseCreationStrategy: {\n ReleaseCreationPackage: this.props.actionPackages[this.state.releaseCreationPackageIndex],\n ChannelId: this.state.channelId || this.props.channels[0].Id,\n },\n };\n const result = await repository.Projects.save(project);\n this.props.onProjectSaved(result);\n return true;\n });\n }\n static displayName = \"EditAutoReleaseCreation\";\n}\n","import { Callout } from \"@octopusdeploy/design-system-components\";\nimport type { PropsWithChildren } from \"react\";\nimport React from \"react\";\nimport { useProjectContext } from \"~/areas/projects/context\";\ninterface FeatureNotSupportedForConfigAsCodeProps {\n callout?: (defaultElement: React.ReactElement) => React.ReactElement;\n}\nconst FeatureNotSupportedCallout = () => (\n

    Some features for version controlled projects are still in development and this feature is not yet supported.

    \n
    );\nconst FeatureNotSupportedForConfigAsCode: React.FC> = ({ children, callout = (el) => el }) => {\n const projectContext = useProjectContext();\n if (projectContext.state.model.IsVersionControlled) {\n return callout();\n }\n return <>{children};\n};\nFeatureNotSupportedForConfigAsCode.displayName = \"FeatureNotSupportedForConfigAsCode\"\nexport default FeatureNotSupportedForConfigAsCode;\n","/* eslint-disable @typescript-eslint/no-non-null-assertion */\nimport { ActionButtonType } from \"@octopusdeploy/design-system-components\";\nimport type { ProjectResource, ChannelResource, DeploymentProcessResource, DeploymentActionPackageResource } from \"@octopusdeploy/octopus-server-client\";\nimport { displayName } from \"@octopusdeploy/octopus-server-client\";\nimport { links } from \"@octopusdeploy/portal-routes\";\nimport * as React from \"react\";\nimport EditAutoReleaseCreation from \"~/areas/projects/components/Triggers/EditAutoReleaseCreation\";\nimport { repository } from \"~/clientInstance\";\nimport ActionList from \"~/components/ActionList\";\nimport BaseComponent from \"~/components/BaseComponent\";\nimport OpenDeleteDialogButton from \"~/components/Button/OpenDeleteDialogButton\";\nimport OpenDialogButton from \"~/components/Dialog/OpenDialogButton\";\nimport FeatureNotSupportedForConfigAsCode from \"~/components/FeatureNotSupported/FeatureNotSupportedForConfigAsCode\";\nimport ExternalLink from \"~/components/Navigation/ExternalLink\";\nimport InternalLink from \"../../../../components/Navigation/InternalLink/InternalLink\";\nimport styles from \"./style.module.less\";\ninterface SideBarProps {\n project: ProjectResource;\n actionPackages: DeploymentActionPackageResource[];\n builtInPackageRepositoryInUse: boolean;\n showAutomaticReleaseCreation: boolean;\n channels: ChannelResource[];\n deploymentProcess: DeploymentProcessResource;\n onProjectUpdated(project: ProjectResource): void;\n}\nexport default class SideBar extends BaseComponent {\n constructor(props: SideBarProps) {\n super(props);\n }\n render() {\n return (
    \n

    Automatic Release Creation

    \n {this.build()}\n
    );\n }\n private build(): React.ReactNode {\n const learnMore = (

    \n Learn about Automatic Release Creation.\n

    );\n const setupButton = (\n this.onProjectSaved(p)}/>\n );\n const disableButton = ( this.disableAutomaticReleaseCreation()}>\n

    Are you sure you want to disable Automatic Release Creation?

    \n
    );\n if (!this.props.builtInPackageRepositoryInUse) {\n return (<>\n

    \n There are no steps using the built-in package repository. At least one step must use a package from the{\" \"}\n built-in package repository for Automatic Release Creation to work.\n

    \n {learnMore}\n );\n }\n const project = this.props.project;\n if (!project.AutoCreateRelease) {\n return (<>\n

    Create a release when a package is pushed to the built-in package repository.

    \n {learnMore}\n {setupButton}\n );\n }\n if (!project.ReleaseCreationStrategy || !project.ReleaseCreationStrategy.ReleaseCreationPackage) {\n return (<>\n

    Create a release when a package is pushed to the built-in package repository.

    \n {learnMore}\n {setupButton}\n {disableButton}\n );\n }\n const step = this.props.actionPackages.find((a) => {\n // With our TinyType implementation, server will convert the release creation package\n // reference from \"\" to null, and breaks this lookup (the package list keeps them as \"\"\n // as this is a meaningful value in the server code). Convert back to empty string so\n // we can do the lookup.\n const nullAsEmptyPackageReferenceIndex = a.PackageReference ?? \"\";\n const nullAsEmptyReleaseCreationPackageReference = this.props.project.ReleaseCreationStrategy.ReleaseCreationPackage.PackageReference ?? \"\";\n return a.DeploymentAction === this.props.project.ReleaseCreationStrategy.ReleaseCreationPackage.DeploymentAction && nullAsEmptyPackageReferenceIndex === nullAsEmptyReleaseCreationPackageReference;\n });\n const stepName = step ? displayName(step) : \"Not found\";\n const channel = this.props.channels.find((c) => c.Id === this.props.project.ReleaseCreationStrategy.ChannelId);\n const channelName = channel ? channel.Name : \"Not found\";\n return (<>\n

    Create a release when a package is pushed to the built-in package repository for:

    \n

    \n Package Step: {stepName}\n

    \n

    \n Channel: {channelName}\n

    \n
    \n \n
    \n );\n }\n private async disableAutomaticReleaseCreation() {\n const project: ProjectResource = {\n ...this.props.project,\n AutoCreateRelease: false,\n ReleaseCreationStrategy: {\n ReleaseCreationPackage: null!,\n ChannelId: null!,\n },\n };\n const result = await repository.Projects.save(project);\n this.onProjectSaved(project);\n return true;\n }\n private onProjectSaved(project: ProjectResource) {\n this.props.onProjectUpdated(project);\n }\n static displayName = \"SideBar\";\n}\n","import * as React from \"react\";\nimport OnboardingPage from \"~/components/GettingStarted/OnboardingPage\";\nimport ExternalLink from \"~/components/Navigation/ExternalLink\";\nexport const RunbooksIntroText = \"Triggers allow you to automate your deployments by responding to events such as changes in your deployment targets or time-based schedules.\";\nconst TriggersOnboarding = (props: {\n actionButtons: React.ReactNode;\n notification?: React.ReactNode;\n}) => {\n return Learn more} actionButtons={props.actionButtons} notification={props.notification}/>;\n};\nexport default TriggersOnboarding;\n","/* eslint-disable @typescript-eslint/no-non-null-assertion */\n/* eslint-disable @typescript-eslint/no-explicit-any */\n/* eslint-disable @typescript-eslint/consistent-type-assertions */\nimport { css, cx } from \"@emotion/css\";\nimport type { PrimaryPageAction } from \"@octopusdeploy/design-system-components\";\nimport { EmptyStateDefaultIllustration } from \"@octopusdeploy/design-system-components\";\nimport { themeTokens } from \"@octopusdeploy/design-system-tokens\";\nimport type { ChannelResource, CreateReleaseActionResource, DeploymentActionPackageResource, DeploymentProcessResource, EnvironmentResource, EventCategoryResource, EventGroupResource, MachineFilterResource, ProjectResource, Repository, ResourceCollection, ScopedDeploymentActionResource, TenantResource, TriggerResource, TriggerScheduleResource, } from \"@octopusdeploy/octopus-server-client\";\nimport { Permission, TenantedDeploymentMode, TriggerActionCategory, TriggerActionType, TriggerFilterType, triggerIdIs } from \"@octopusdeploy/octopus-server-client\";\nimport { links } from \"@octopusdeploy/portal-routes\";\nimport type * as H from \"history\";\nimport * as _ from \"lodash\";\nimport { flatten, isEqual } from \"lodash\";\nimport * as React from \"react\";\nimport MediaQuery from \"react-responsive\";\nimport { useHistory } from \"react-router\";\nimport { GitTriggersFeatureToggleVisibility } from \"~/areas/projects/components/Triggers/useIsGitTriggersEnabled\";\nimport { repository } from \"~/clientInstance\";\nimport { AdvancedFilters } from \"~/components/AdvancedFilterLayout/AdvancedFilters\";\nimport { AdvancedFilterCheckbox } from \"~/components/AdvancedFilterLayout/index\";\nimport { ChannelChip, matchesToChips } from \"~/components/Chips\";\nimport type { DataBaseComponentState } from \"~/components/DataBaseComponent\";\nimport { DataBaseComponent } from \"~/components/DataBaseComponent\";\nimport { EmptyPage } from \"~/components/EmptyPage/EmptyPage\";\nimport { isFeatureToggleEnabled } from \"~/components/FeatureToggle/New/FeatureToggleContext\";\nimport FilterSearchBox from \"~/components/FilterSearchBox/index\";\nimport InternalLink from \"~/components/Navigation/InternalLink/InternalLink\";\nimport { NoResults } from \"~/components/NoResults/NoResults\";\nimport { OverflowMenu, OverflowMenuItems } from \"~/components/OverflowMenu/OverflowMenu\";\nimport type { PageContentProps } from \"~/components/PageContent/PageContent\";\nimport { PageContent } from \"~/components/PageContent/PageContent\";\nimport PagingDataTable from \"~/components/PagingDataTable\";\nimport List from \"~/components/PagingList\";\nimport { isAllowed } from \"~/components/PermissionCheck/PermissionCheck\";\nimport type { ProjectPageLoaderContext } from \"~/routing/pageRegistrations/ProjectPageRegistration\";\nimport { timeOperationOptions } from \"~/utils/OperationTimer/timeOperation\";\nimport ScheduledTriggerDescriptionHelper from \"~/utils/ScheduledTriggerDescriptionHelper\";\nimport { AddDeploymentTriggerButton } from \"./AddDeploymentTriggerButton\";\nimport { AddProjectTriggerDialogButton } from \"./AddProjectTriggerDialog\";\nimport { FeedTriggerDescription, TriggerNameAndLink } from \"./Feed/FeedTriggerDescriptionHelper\";\nimport { GitTriggerDescription } from \"./Git/GitTriggerDescription\";\nimport ScheduledTrigger from \"./Scheduled/ScheduledTrigger\";\nimport SideBar from \"./SideBar\";\nimport Trigger from \"./Trigger\";\nimport TriggerDescription from \"./TriggerDescription\";\nimport { TriggerType } from \"./TriggerType\";\nimport TriggersOnboarding from \"./TriggersOnboarding\";\ninterface DeploymentTriggersState extends DataBaseComponentState {\n triggersResponse: ResourceCollection;\n project: ProjectResource;\n open: boolean;\n anchor?: any;\n filter: DeploymentTriggersFilter;\n isSearching: boolean;\n}\ninterface DeploymentTriggersFilter {\n searchText: string;\n showDeploymentTargetTriggers: boolean;\n showScheduledTriggers: boolean;\n showBuiltInRepositoryTriggers: boolean;\n showExternalFeedTriggers: boolean;\n showGitTriggers: boolean;\n}\ninterface DeploymentTriggersPageLoaderData {\n project: ProjectResource;\n triggersResponse: ResourceCollection;\n environments: EnvironmentResource[];\n categories: EventCategoryResource[];\n groups: EventGroupResource[];\n builtInFeedPackageActions: DeploymentActionPackageResource[];\n deploymentProcess: DeploymentProcessResource;\n channels: ChannelResource[];\n tenants: TenantResource[];\n}\nfunction shouldShowAutomaticReleaseCreation(project: ProjectResource, builtInFeedPackageActions: DeploymentActionPackageResource[]) {\n return builtInFeedPackageActions.length > 0 || project.AutoCreateRelease;\n}\nfunction isBuiltInPackageRepositoryInUse(builtInFeedPackageActions: DeploymentActionPackageResource[]) {\n return builtInFeedPackageActions.length > 0;\n}\nexport async function deploymentTriggersPageLoader(repository: Repository, context: ProjectPageLoaderContext): Promise {\n const projectContext = await context.projectContext;\n const { model: project, projectContextRepository } = projectContext.state;\n const { Enabled: isMultiTenancyEnabled } = await repository.Tenants.status();\n // We grab the deployment process for the default branch only as that is all that external feed\n // and built-in package triggers support right now. This will need to be updated if/when it is extended.\n // prettier-ignore\n const deploymentProcessPromise = isAllowed({ permission: Permission.ProcessView, project: project.Id, tenant: \"*\" })\n ? projectContextRepository.DeploymentProcesses.getForDefaultBranch()\n : Promise.resolve(null!);\n // prettier-ignore\n const channelsPromise = isAllowed({ permission: Permission.ProcessView, project: project.Id, tenant: \"*\" })\n ? repository.Projects.getChannels(project)\n : Promise.resolve(null);\n const builtInFeedPromise = repository.Feeds.getBuiltIn();\n const environmentsPromise = repository.Environments.all();\n const categoriesPromise = repository.Events.categories({ appliesTo: \"Machine\" });\n const groupsPromise = repository.Events.groups({ appliesTo: \"Machine\" });\n const triggersPromise = repository.Projects.getTriggers(project, 0, 30, undefined, TriggerActionCategory.Deployment);\n // prettier-ignore\n const tenantsPromise = isAllowed({ permission: Permission.TenantView, tenant: \"*\" }) && isMultiTenancyEnabled && project.TenantedDeploymentMode !== TenantedDeploymentMode.Untenanted\n ? repository.Tenants.all({ projectId: project.Id })\n : Promise.resolve([]);\n const deploymentProcess = await deploymentProcessPromise;\n const channels = await channelsPromise;\n const builtInFeed = await builtInFeedPromise;\n const actions = deploymentProcess && flatten(deploymentProcess.Steps.map((step) => step.Actions)).filter((a) => !a.IsDisabled);\n const builtInFeedPackageActions = actions &&\n // start with the steps\n _.chain(deploymentProcess.Steps)\n // Get the step actionPackages\n .flatMap((step) => step.Actions)\n // Filter by built-in feed id\n // Convert them to deployment-action-packages\n .flatMap((action) => _.chain(action.Packages)\n .filter((pkg) => pkg.FeedId === builtInFeed.Id)\n .map((pkg) => ({ DeploymentAction: action.Name, PackageReference: pkg.Name! }))\n .value())\n .value();\n return {\n triggersResponse: await triggersPromise,\n environments: await environmentsPromise,\n categories: await categoriesPromise,\n deploymentProcess,\n groups: await groupsPromise,\n project,\n builtInFeedPackageActions,\n channels: channels ? channels.Items : [],\n tenants: await tenantsPromise,\n };\n}\ntype DeploymentTriggersInternalProps = {\n history: H.History;\n} & DeploymentTriggersPageProps;\nclass DeploymentTriggersInternal extends DataBaseComponent {\n constructor(props: DeploymentTriggersInternalProps) {\n super(props);\n this.state = {\n triggersResponse: props.loaderData.triggersResponse,\n open: false,\n filter: createDefaultFilter(),\n isSearching: false,\n project: props.loaderData.project,\n };\n }\n filterTriggers = (_: string, trigger: TriggerResource) => {\n const filter = this.state.filter;\n const deploymentTargetTriggerFilterTypes = [TriggerFilterType.MachineFilter];\n const scheduledTriggerFilterTypes = [TriggerFilterType.OnceDailySchedule, TriggerFilterType.ContinuousDailySchedule, TriggerFilterType.DaysPerMonthSchedule, TriggerFilterType.CronExpressionSchedule];\n return ((filter.searchText === \"\" || (filter.searchText !== \"\" && trigger.Name.toLowerCase().includes(filter.searchText.toLowerCase()))) &&\n (filter.showDeploymentTargetTriggers || (!filter.showDeploymentTargetTriggers && !deploymentTargetTriggerFilterTypes.includes(trigger.Filter.FilterType))) &&\n (filter.showScheduledTriggers || (!filter.showScheduledTriggers && !scheduledTriggerFilterTypes.includes(trigger.Filter.FilterType))) &&\n (filter.showBuiltInRepositoryTriggers || (!filter.showBuiltInRepositoryTriggers && !triggerIdIs(trigger, \"built-in-feed\"))) &&\n (filter.showExternalFeedTriggers || (!filter.showExternalFeedTriggers && trigger.Filter.FilterType !== TriggerFilterType.FeedFilter)) &&\n (filter.showGitTriggers || (!filter.showGitTriggers && trigger.Filter.FilterType !== TriggerFilterType.GitFilter)));\n };\n render() {\n const { builtInFeedPackageActions, channels, deploymentProcess } = this.props.loaderData;\n const content = isFeatureToggleEnabled(\"ExternalReleaseTriggerFeatureToggle\") ? (\n {(small) => (\n {(large) => ( tableClassName={small ? \"\" : emotionStyles.tableCellHeightHack} headerColumns={this.buildDataTableColumnHeaders(getBreakpoint(small, large))} initialData={this.state.triggersResponse} additionalRequestParams={new Map([[\"triggerActionCategory\", [TriggerActionCategory.Deployment]]])} onRow={(item: any) => this.buildDataTableColumns(item, getBreakpoint(small, large))} onFilter={this.filterTriggers} onEmpty={() => (\n \n
    } title={\"You have no triggers available yet\"} description={\"Add a trigger to get started\"}/>)}>)}\n )}\n ) : ( initialData={this.state.triggersResponse} additionalRequestParams={new Map([[\"triggerActionCategory\", [TriggerActionCategory.Deployment]]])} onRow={(item: any) => this.buildTriggerRow(item)} onRowRedirectUrl={(trigger) => getTriggerRedirectUrl(trigger, this.props.projectSlug)} onFilter={this.filterTriggers} empty={}/>);\n const showTriggerOnboarding = this.state.triggersResponse?.TotalResults === 0;\n let primaryAction: PrimaryPageAction | undefined = undefined;\n let primaryButton: React.ReactNode | undefined = undefined;\n const addTriggerButton = ;\n const addTriggerPageAction: PrimaryPageAction = {\n type: \"custom\",\n key: \"Add Trigger\",\n content: addTriggerButton,\n };\n const addReleaseTriggerButton = ;\n const addReleaseTriggerPageAction: PrimaryPageAction = {\n type: \"custom\",\n key: \"Add Trigger\",\n content: addReleaseTriggerButton,\n };\n primaryButton = isFeatureToggleEnabled(\"ExternalReleaseTriggerFeatureToggle\") ? addReleaseTriggerButton : addTriggerButton;\n primaryAction = isFeatureToggleEnabled(\"ExternalReleaseTriggerFeatureToggle\") ? addReleaseTriggerPageAction : addTriggerPageAction;\n const sidebar = isFeatureToggleEnabled(\"ExternalReleaseTriggerFeatureToggle\") || !isAllowed({ permission: Permission.ProcessView, project: this.state.project.Id, tenant: \"*\" }) ? undefined : ( this.onProjectUpdated(p)}/>);\n const shouldUseFullWidth = isFeatureToggleEnabled(\"ExternalReleaseTriggerFeatureToggle\");\n if (showTriggerOnboarding) {\n return (\n \n );\n }\n return ( this.setFilterState({ searchText }, async () => {\n await this.onFilterChange();\n })}/>,\n ],\n advancedFilters: {\n hasUserSelectedValues: !isEqual(createDefaultFilter(), this.state.filter),\n onResetFilter: () => {\n this.setState({ filter: createDefaultFilter() }, async () => {\n await this.onFilterChange();\n const location = { ...this.props.history, search: null! as any };\n this.props.history.replace(location);\n });\n },\n content: (\n

    \n Show trigger types:\n

    \n {isFeatureToggleEnabled(\"ExternalReleaseTriggerFeatureToggle\") && ( this.setFilterState({ showExternalFeedTriggers: x }, async () => {\n await this.onFilterChange();\n })}/>)}\n \n this.setFilterState({ showGitTriggers: x }, async () => {\n await this.onFilterChange();\n })}/>\n \n this.setFilterState({ showScheduledTriggers: x }, async () => {\n await this.onFilterChange();\n })}/>\n {isFeatureToggleEnabled(\"ExternalReleaseTriggerFeatureToggle\") && ( this.setFilterState({ showBuiltInRepositoryTriggers: x }, async () => {\n await this.onFilterChange();\n })}/>)}\n this.setFilterState({ showDeploymentTargetTriggers: x }, async () => {\n await this.onFilterChange();\n })}/>\n
    ),\n },\n }} sidebar={sidebar} callout={this.getInvalidConfigurationCallout()}>\n {content}\n
    );\n }\n async reloadTriggers() {\n await this.doBusyTask(async () => {\n this.setState({\n triggersResponse: await repository.Projects.getTriggers(this.state.project, 0, 30, undefined, TriggerActionCategory.Deployment, undefined, this.state.filter.searchText),\n });\n });\n }\n private getInvalidConfigurationCallout(): PageContentProps[\"callout\"] {\n const { deploymentProcess } = this.props.loaderData;\n if (deploymentProcess && this.state.project.AutoCreateRelease) {\n if (!this.state.project.ReleaseCreationStrategy || !this.state.project.ReleaseCreationStrategy.ReleaseCreationPackage) {\n return {\n type: \"warning\",\n title: \"Invalid Configuration\",\n content: \"This project is configured to use Automatic Release Creation, but the step is missing. Please adjust or disable the Automatic Release Creation configuration.\",\n };\n }\n else {\n const action = flatten(deploymentProcess.Steps.map((step) => step.Actions)).filter((a) => a.Name === this.state.project.ReleaseCreationStrategy.ReleaseCreationPackage.DeploymentAction);\n if (action && action.length > 0 && action[0].IsDisabled) {\n return {\n type: \"warning\",\n title: \"Invalid Configuration\",\n content: (<>\n Step {action[0].Name} is\n currently used for Automatic Release Creation, but it has been disabled.\n
    \n Please re-enable the step, disable Automatic Release Creation, or choose a different step.\n ),\n };\n }\n }\n }\n return undefined;\n }\n private async onFilterChange() {\n this.setState({ isSearching: true }, async () => {\n await this.reloadTriggers();\n this.setState({ isSearching: false });\n });\n }\n private setFilterState(state: Pick, callback?: () => void) {\n this.setState((prev) => ({\n filter: { ...(prev!.filter as object), ...(state as object) },\n }), callback);\n }\n private buildTriggerRow(trigger: TriggerResource) {\n const { environments, categories, groups, channels } = this.props.loaderData;\n const overflowMenuItems: any = this.getOverflowMenuItems(trigger);\n if (trigger.Filter.FilterType === TriggerFilterType.MachineFilter) {\n return ;\n }\n return ;\n }\n private getOverflowMenuItems(trigger: TriggerResource) {\n const menuItems = [];\n const triggerEditPermission = { permission: Permission.TriggerEdit, project: this.state.project.Id };\n // Can't disable ARC, only delete\n if (!triggerIdIs(trigger, \"built-in-feed\")) {\n menuItems.push(OverflowMenuItems.item(trigger.IsDisabled ? \"Enable\" : \"Disable\", () => (trigger.IsDisabled ? this.enable(trigger) : this.disable(trigger)), triggerEditPermission));\n }\n return menuItems;\n }\n private async enable(trigger: TriggerResource) {\n trigger.IsDisabled = false;\n await this.saveTrigger(trigger);\n }\n private async disable(trigger: TriggerResource) {\n trigger.IsDisabled = true;\n await this.saveTrigger(trigger);\n }\n private async saveTrigger(trigger: TriggerResource) {\n const isSuccess = await this.doBusyTask(async () => {\n await repository.ProjectTriggers.modify(trigger);\n const triggersResponse = await repository.Projects.getTriggers(this.state.project, 0, 30, undefined, TriggerActionCategory.Deployment);\n this.setState({\n triggersResponse,\n });\n });\n if (!isSuccess) {\n await this.doBusyTask(async () => {\n this.setState({\n triggersResponse: await repository.Projects.getTriggers(this.state.project, 0, 30, undefined, TriggerActionCategory.Deployment),\n });\n }, { preserveCurrentErrors: true, timeOperationOptions: timeOperationOptions.forInitialLoad() });\n }\n }\n private onProjectUpdated(project: ProjectResource) {\n this.setState({\n project,\n });\n }\n private buildDataTableColumnHeaders(screenSize: \"sm\" | \"md\" | \"lg\") {\n const columnHeaders = [\"Name\"];\n if (screenSize !== \"sm\") {\n columnHeaders.push(\"Type\");\n columnHeaders.push(\"Channel\");\n }\n if (screenSize === \"lg\") {\n columnHeaders.push(\"Trigger action\");\n }\n if (screenSize !== \"sm\") {\n columnHeaders.push(\"\");\n }\n return columnHeaders;\n }\n private buildDataTableColumns(trigger: TriggerResource, screenSize: \"sm\" | \"md\" | \"lg\") {\n const columns = [];\n if (screenSize !== \"sm\") {\n columns.push();\n const channelChip = this.channelChip(trigger);\n if (channelChip) {\n columns.push(channelChip);\n }\n else {\n columns.push(<>);\n }\n }\n if (screenSize === \"lg\") {\n columns.push(this.buildTriggerDescription(trigger));\n }\n if (screenSize !== \"sm\") {\n columns.push(this.getOverflowMenu(trigger));\n }\n return columns.map((column) => this.wrapWithStyles(column, trigger));\n }\n private wrapWithStyles(children: React.ReactNode, trigger: TriggerResource) {\n let cellStyle = emotionStyles.verticallyCenter;\n if (trigger.IsDisabled) {\n cellStyle = cx(cellStyle, emotionStyles.disabled);\n }\n return
    {children}
    ;\n }\n private channelChip(trigger: TriggerResource): React.ReactElement | undefined {\n const { channels } = this.props.loaderData;\n const channelId = (trigger.Action as CreateReleaseActionResource).ChannelId;\n if (!channelId || !channels)\n return;\n return channels.find((c) => c.Id === channelId) ? (matchesToChips(channels, [channelId], (channel) => )[0]) : ();\n }\n private buildTriggerDescription(trigger: TriggerResource) {\n const { builtInFeedPackageActions, deploymentProcess, environments, categories, groups, channels } = this.props.loaderData;\n if (trigger.Filter.FilterType === TriggerFilterType.FeedFilter || trigger.Filter.FilterType === TriggerFilterType.ArcFeedFilter) {\n return ;\n }\n else if (trigger.Filter.FilterType === TriggerFilterType.GitFilter) {\n return ;\n }\n if (trigger.Filter.FilterType === TriggerFilterType.MachineFilter) {\n const filter = trigger.Filter as MachineFilterResource;\n const description = new TriggerDescription(filter, environments, categories, groups);\n return description.buildDescription();\n }\n const scheduleDescription = ScheduledTriggerDescriptionHelper.getScheduleDescription(trigger.Filter as TriggerScheduleResource);\n const actionDescription = ScheduledTriggerDescriptionHelper.getActionDescription(trigger.Action as ScopedDeploymentActionResource, environments, [], channels);\n return (\n {actionDescription}\n {scheduleDescription}.\n );\n }\n private getOverflowMenu(trigger: TriggerResource) {\n return ;\n }\n static displayName = \"DeploymentTriggersInternal\";\n}\nfunction createDefaultFilter(): DeploymentTriggersFilter {\n return {\n searchText: \"\",\n showDeploymentTargetTriggers: true,\n showScheduledTriggers: true,\n showBuiltInRepositoryTriggers: true,\n showExternalFeedTriggers: true,\n showGitTriggers: true,\n };\n}\ntype DeploymentTriggersPageProps = {\n spaceId: string;\n projectSlug: string;\n loaderData: DeploymentTriggersPageLoaderData;\n};\nexport const DeploymentTriggersPage: React.FC = (props) => {\n const history = useHistory();\n return ;\n};\nDeploymentTriggersPage.displayName = \"DeploymentTriggersPage\"\nfunction getTriggerRedirectUrl(trigger: TriggerResource, projectSlug: string) {\n if (trigger.Action.ActionType === TriggerActionType.AutoDeploy) {\n return links.editDeploymentTriggerPage.generateUrl({ spaceId: trigger.SpaceId, projectSlug, triggerId: trigger.Id });\n }\n return links.editDeploymentScheduledTriggerPage.generateUrl({ spaceId: trigger.SpaceId, projectSlug, triggerId: trigger.Id });\n}\nconst getBreakpoint = (small: boolean, large: boolean) => {\n if (small)\n return \"sm\";\n if (large)\n return \"lg\";\n return \"md\";\n};\nexport const deploymentTriggersPageTitle = \"Triggers\";\nconst emotionStyles = {\n // This is required so we can set the height of a cell to 100% so we can center the content\n tableCellHeightHack: css({ height: \"1px\" }),\n verticallyCenter: css({ height: \"100%\", display: \"flex\", alignItems: \"center\" }),\n disabled: css({ color: themeTokens.color.text.disabled }),\n emptyStateIllustration: css({ height: 300 }),\n};\n","/* eslint-disable @typescript-eslint/consistent-type-assertions */\n/* eslint-disable @typescript-eslint/no-non-null-assertion */\nimport type { PageAction } from \"@octopusdeploy/design-system-components\";\nimport { Callout } from \"@octopusdeploy/design-system-components\";\nimport type { ChannelResource, ProjectResource, DeploymentProcessResource, ReferenceDataItem, DeploymentActionPackageResource } from \"@octopusdeploy/octopus-server-client\";\nimport { Permission, displayName } from \"@octopusdeploy/octopus-server-client\";\nimport type { LinkHref } from \"@octopusdeploy/portal-routes\";\nimport { links } from \"@octopusdeploy/portal-routes\";\nimport _, { chain, cloneDeep } from \"lodash\";\nimport * as React from \"react\";\nimport { useProjectContext } from \"~/areas/projects/context/index\";\nimport type { WithProjectContextInjectedProps } from \"~/areas/projects/context/withProjectContext\";\nimport { repository } from \"~/clientInstance\";\nimport { DeploymentActionPackageChip, MissingChip, ChipIcon } from \"~/components/Chips\";\nimport type { OptionalFormBaseComponentState } from \"~/components/FormBaseComponent\";\nimport { FormBaseComponent } from \"~/components/FormBaseComponent\";\nimport { LegacyForm } from \"~/components/FormPaperLayout/LegacyForm\";\nimport Lookup from \"~/components/Lookup\";\nimport { DeploymentActionPackageReferenceDataItem } from \"~/components/MultiSelect/DeploymentActionPackageMultiSelect\";\nimport InternalRedirect from \"~/components/Navigation/InternalRedirect/InternalRedirect\";\nimport { OverflowMenuItems } from \"~/components/OverflowMenu/OverflowMenu\";\nimport { OverflowMenuConverterVNext } from \"~/components/OverflowMenu/OverflowMenuConverterVNext\";\nimport { PageContent } from \"~/components/PageContent/PageContent\";\nimport { isAllowed } from \"~/components/PermissionCheck/PermissionCheck\";\nimport TransitionAnimation from \"~/components/TransitionAnimation/TransitionAnimation\";\nimport type { SelectItem } from \"~/components/VirtualListWithKeyboard/SelectItem\";\nimport { ExpandableFormSection, ExpansionButtons, Note, Select, Summary } from \"~/components/form\";\ntype Model = {\n deploymentActionPackage?: DeploymentActionPackageResource;\n channelId: string;\n};\ninterface EditState extends OptionalFormBaseComponentState {\n channels: ChannelResource[];\n project: ProjectResource;\n deploymentProcess: DeploymentProcessResource;\n channelId: string;\n redirectTo?: LinkHref;\n actionPackages: DeploymentActionPackageResource[];\n}\nexport type EditAutomaticReleaseCreationProps = EditReleaseCreationFeedTriggerProps & WithProjectContextInjectedProps;\nclass EditAutomaticReleaseCreationInternalPage extends FormBaseComponent {\n channelNameMap: {\n [id: string]: ChannelResource;\n } = {};\n constructor(props: EditAutomaticReleaseCreationProps) {\n super(props);\n this.state = {\n model: null!,\n cleanModel: null!,\n channels: [],\n channelId: null!,\n project: null!,\n deploymentProcess: null!,\n actionPackages: null!,\n };\n }\n async componentDidMount() {\n await this.doBusyTask(async () => {\n const { projectContextRepository } = this.props.projectContext.state;\n const { model: project } = this.props.projectContext.state;\n let channels: ChannelResource[] = [];\n let trigger: Model | undefined = project.AutoCreateRelease\n ? {\n channelId: project.ReleaseCreationStrategy.ChannelId!,\n deploymentActionPackage: project.ReleaseCreationStrategy.ReleaseCreationPackage,\n }\n : undefined;\n if (isAllowed({ permission: Permission.ProcessView, project: project.Id, tenant: \"*\" })) {\n channels = await this.loadChannels(project);\n channels.forEach((channel) => {\n this.channelNameMap[channel.Id] = channel;\n });\n if (!trigger) {\n trigger = { channelId: channels.at(0)?.Id ?? \"\" };\n }\n }\n const builtInFeed = await repository.Feeds.getBuiltIn();\n const deploymentProcess = await projectContextRepository.DeploymentProcesses.get();\n const actionPackages = _.chain(deploymentProcess.Steps)\n .flatMap((step) => step.Actions)\n .flatMap((action) => _.chain(action.Packages)\n .filter((pkg) => pkg.FeedId === builtInFeed.Id)\n .map((pkg) => ({ DeploymentAction: action.Name, PackageReference: pkg.Name! }))\n .value())\n .value();\n this.setState({\n model: trigger,\n channels,\n project,\n deploymentProcess,\n cleanModel: cloneDeep(trigger),\n actionPackages,\n });\n });\n }\n render() {\n if (this.state.redirectTo) {\n return ;\n }\n const title = this.props.create ? \"New Built-in Package Repository Trigger\" : \"Edit Built-in Package Repository Trigger\";\n const legacyOverflowActions = [];\n if (this.state.model && !this.props.create) {\n legacyOverflowActions.push(OverflowMenuItems.deleteItemDefault(\"Release trigger\", () => this.delete(), { permission: Permission.TriggerDelete, project: this.state.project && this.state.project.Id }));\n }\n const overflowMenu = OverflowMenuConverterVNext.convertAll(legacyOverflowActions);\n const saveText: string = this.props.create ? \"Built-in package repository trigger created\" : \"Built-in package repository trigger updated\";\n const breadcrumbTitle = \"Triggers\";\n const breadcrumbPath = links.deploymentTriggersPage.generateUrl({ spaceId: this.props.spaceId, projectSlug: this.props.projectSlug });\n const pageActions: PageAction[] = [];\n const packageActionAppliesToChannel = this.state.deploymentProcess &&\n _.chain(this.state.deploymentProcess.Steps)\n .flatMap((step) => step.Actions)\n .filter((action) => action.Name === this.state.model?.deploymentActionPackage?.DeploymentAction)\n .some((action) => action.Channels.length === 0 || action.Channels.some((channelId) => channelId === this.state.model?.channelId))\n .value();\n return ( this.save()}>\n {({ FormContent, createSaveAction }) => (\n \n {overflowMenu.dialogs}\n {this.state.model && (\n \n {this.state.model.channelId && this.state.model.deploymentActionPackage?.DeploymentAction && !packageActionAppliesToChannel && (\n Package action {this.state.model.deploymentActionPackage?.DeploymentAction} does not apply to channel{\" \"}\n {this.state.channels.find((channel) => channel.Id === this.state.model?.channelId)?.Name}, this may cause unexpected results when the trigger runs.\n )}\n {this.state.channels.length > 1 && (\n this.setModelState({ deploymentActionPackage: this.state.actionPackages.find((z) => displayName(z) === packageActionIndex) })} items={this.state.actionPackages.map((packageAction) => ({\n value: displayName(packageAction),\n text: displayName(packageAction),\n disabled: this.stepIsDisabled(packageAction.DeploymentAction),\n }))} label=\"Versioning package step\"/>\n )}\n )}\n \n )}\n );\n }\n stepIsDisabled = (deploymentAction: string) => {\n const action = chain(this.state.deploymentProcess?.Steps)\n .flatMap((step) => step.Actions)\n .find((x) => x.Name === deploymentAction)\n .value();\n return action?.IsDisabled ?? false;\n };\n chipRenderer = (r: DeploymentActionPackageReferenceDataItem | SelectItem, onRequestDelete: () => void) => {\n return ( new DeploymentActionPackageReferenceDataItem(x, displayName(x)))} lookupId={r.Id} getIdFromElement={(element: ReferenceDataItem) => element.Id} render={(item: ReferenceDataItem) => {\n const deploymentActionPackageReferenceItem = item as DeploymentActionPackageReferenceDataItem;\n return ;\n }} renderFallback={}/>);\n };\n private async loadChannels(project: ProjectResource): Promise {\n return await this.loadChannelsFromProject(project);\n }\n private async loadChannelsFromProject(project: ProjectResource): Promise {\n const channelResourceCollection = await repository.Projects.getChannels(project);\n return channelResourceCollection.Items;\n }\n private getChannelNameGivenId = (channelId: string) => {\n const channel = this.channelNameMap[channelId];\n if (channel) {\n return channel.Name;\n }\n return channelId;\n };\n private buildChannelSummary = () => this.state.model?.channelId ? (Summary.summary(\n Latest packages in channel {this.getChannelNameGivenId(this.state.model.channelId)} will be used to create the release\n )) : (<>);\n private buildActionPackageSummary = () => this.state.model?.deploymentActionPackage ? Summary.summary(`${displayName(this.state.model.deploymentActionPackage)} will be watched for updates`) : Summary.summary(\"No packages selected to watch for updates\");\n private async save() {\n await this.doBusyTask(async () => {\n if (!this.state.model?.deploymentActionPackage)\n return;\n const project = {\n ...this.state.project,\n AutoCreateRelease: true,\n ReleaseCreationStrategy: {\n ReleaseCreationPackage: this.state.model.deploymentActionPackage,\n ChannelId: this.state.model?.channelId || this.state.channels[0].Id,\n },\n };\n const result = await repository.Projects.save(project);\n if (this.props.create) {\n const redirectTo = links.editBuiltInFeedTriggerPage.generateUrl({ spaceId: result.SpaceId, projectSlug: this.props.projectSlug });\n this.setState({ redirectTo });\n }\n else {\n const updatedModel = {\n channelId: result.ReleaseCreationStrategy.ChannelId!,\n deploymentActionPackage: result.ReleaseCreationStrategy.ReleaseCreationPackage,\n };\n this.setState({\n model: updatedModel,\n cleanModel: cloneDeep(updatedModel),\n });\n }\n });\n }\n private async delete() {\n return await this.doBusyTask(async () => {\n if (!this.state.model?.deploymentActionPackage)\n return;\n const project = {\n ...this.state.project,\n AutoCreateRelease: false,\n ReleaseCreationStrategy: {\n ReleaseCreationPackage: null!,\n ChannelId: null!,\n },\n };\n const result = await repository.Projects.save(project);\n const redirectTo = links.deploymentTriggersPage.generateUrl({ spaceId: result.SpaceId, projectSlug: this.props.projectSlug });\n this.setState({ redirectTo });\n return true;\n });\n }\n static displayName = \"EditAutomaticReleaseCreationInternalPage\";\n}\ninterface SharedProps {\n spaceId: string;\n projectSlug: string;\n}\ninterface EditProps extends SharedProps {\n create: false;\n}\ninterface CreateProps extends SharedProps {\n create: true;\n}\ntype EditReleaseCreationFeedTriggerProps = EditProps | CreateProps;\nexport function EditAutomaticReleaseCreation(props: EditReleaseCreationFeedTriggerProps) {\n const projectContext = useProjectContext();\n return ;\n}\nexport default EditAutomaticReleaseCreation;\n","import React from \"react\";\nimport EditAutomaticReleaseCreationPage from \"./EditAutomaticReleaseCreationPage\";\ninterface CreateBuiltInFeedTriggerPageProps {\n spaceId: string;\n projectSlug: string;\n}\nexport function CreateBuiltInFeedTriggerPage({ spaceId, projectSlug }: CreateBuiltInFeedTriggerPageProps) {\n return ;\n}\n","import { useOctopusFeatureToggle } from \"~/hooks/useOctopusFeatureToggle\";\nexport function useAllFeedTypesForExternalFeeds() {\n return useOctopusFeatureToggle(\"external-release-trigger-all-feeds\", false);\n}\n","import { Callout } from \"@octopusdeploy/design-system-components\";\nimport React from \"react\";\nimport ExternalLink from \"~/components/Navigation/ExternalLink/index\";\nimport useLocalStorage from \"~/hooks/useLocalStorage\";\nexport const FeedTriggerFeedbackCallout = (): JSX.Element => {\n const [dateDismissed, setDateDismissed] = useLocalStorage(`Octopus.Callout.ExternalFeedTriggersFeedback.DateDismissed`, new Date(\"2000-01-1\"));\n const [numberOfDismissals, setNumberOfDismissals] = useLocalStorage(`Octopus.Callout.ExternalFeedTriggersFeedback.NumberOfDismissals`, 0);\n const feedbackLink = \"https://oc.to/ETFeedback\";\n const onCloseCallout = () => {\n setDateDismissed(new Date());\n setNumberOfDismissals(numberOfDismissals + 1);\n };\n const isOutsideDismissalPeriod = isNowOutsideDismissalPeriod(dateDismissed, numberOfDismissals);\n return isOutsideDismissalPeriod ? (\n We'd love to hear about your experience using external feed triggers.\n ) : (<>);\n};\nconst isNowOutsideDismissalPeriod = (dateOfLastDismissal: Date, numberOfDismissals: number): boolean => {\n const today = new Date();\n const timeBombDate = new Date(\"2030-01-01\");\n const dismissUntil = new Date(dateOfLastDismissal);\n dismissUntil.setDate(dismissUntil.getDate() + numberOfDismissals * 14);\n return today < timeBombDate && today > dismissUntil;\n};\n","/* eslint-disable @typescript-eslint/consistent-type-assertions */\nimport { css } from \"@emotion/css\";\nimport { Checkbox, SimpleDataTable, Tooltip } from \"@octopusdeploy/design-system-components\";\nimport { space, themeTokens } from \"@octopusdeploy/design-system-tokens\";\nimport type { DeploymentActionPackageResource, DeploymentActionResource, DeploymentStepResource, IProcessResource } from \"@octopusdeploy/octopus-server-client\";\nimport { displayName } from \"@octopusdeploy/octopus-server-client\";\nimport { flatMap } from \"lodash\";\nimport * as React from \"react\";\nimport { useEffect, useState } from \"react\";\nimport getActionLogoUrl from \"~/areas/projects/components/getActionLogoUrl\";\nimport WarningIcon from \"~/components/WarningIcon\";\nimport Note from \"~/primitiveComponents/form/Note/Note\";\nimport AdvancedFilterLayout from \"../AdvancedFilterLayout\";\nimport FilterSearchBox from \"../FilterSearchBox\";\nimport Logo from \"../Logo\";\nimport NumberedPagingBar from \"../PagingBaseComponent/NumberedPagingBar\";\nimport { useThemePaletteType } from \"../Theme/useThemePaletteType\";\nimport type { FormFieldProps } from \"../form\";\nclass FilterLayout extends AdvancedFilterLayout {\n}\ninterface DeploymentActionPackageFilter {\n searchText: string;\n}\nexport interface DeploymentActionPackageTableSelectItem {\n id: string;\n deploymentActionName: string;\n deploymentActionResource: DeploymentActionResource;\n packageReference?: string;\n packageFriendlyName: string;\n stepActionNumber: string;\n isFeedAVariable: boolean;\n}\ninterface DeploymentActionPackageTableMultiSelectProps extends FormFieldProps {\n rowDisabled: (item: DeploymentActionPackageTableSelectItem) => boolean;\n disabledMessage?: (item: DeploymentActionPackageTableSelectItem) => string;\n items: DeploymentActionPackageTableSelectItem[];\n triggerFromAllFeeds: boolean;\n}\nexport const createDeploymentActionPackageTableItemId = (deploymentActionPackageResource: DeploymentActionPackageResource): string => displayName(deploymentActionPackageResource);\nexport function DeploymentActionPackageTableMultiSelect({ items, value, onChange, rowDisabled, disabledMessage, triggerFromAllFeeds }: DeploymentActionPackageTableMultiSelectProps) {\n const defaultFilter = { searchText: \"\" };\n const [filter, setFilter] = useState(defaultFilter);\n const [filteredItems, setFilteredItems] = useState(items);\n const [pagedItems, setPagedItems] = useState(items);\n const PAGESIZE = 10;\n const [currentPageIndex, setCurrentPageIndex] = useState(0);\n useEffect(() => {\n const searchedItems = items.filter((item) => search(item.deploymentActionName, filter.searchText) || search(item.packageFriendlyName, filter.searchText));\n setFilteredItems(searchedItems);\n }, [items, filter.searchText]);\n useEffect(() => {\n /* This is a separate useEffect hook because we only want to reset the page index when the filter is changed\n * Selecting a checkbox causes the items prop to update as it is rebuilt by the parent of this component\n */\n setCurrentPageIndex(0);\n }, [filter.searchText]);\n useEffect(() => {\n const pagedItems = filteredItems.slice(PAGESIZE * currentPageIndex, PAGESIZE * (currentPageIndex + 1));\n setPagedItems(pagedItems);\n }, [currentPageIndex, filteredItems]);\n const tableSelect = ( ( {\n if (newValue) {\n onChange(value.concat(item.id));\n }\n else {\n onChange(value.filter((id) => id !== item.id));\n }\n }}/>),\n },\n {\n accessibleName: \"Step\",\n title: \"Step\",\n render: (item) => ,\n },\n ]} data={pagedItems} getRowKey={(item) => item.id}/>);\n const searchBox = setFilter({ ...filter, searchText })} containerClassName={styles.searchBoxContainer} fullWidth={true}/>;\n return (<>\n setFilter(defaultFilter)} additionalHeaderFilters={[searchBox]} renderContent={() => tableSelect}>\n {filteredItems.length > PAGESIZE && setCurrentPageIndex(index)}/>}\n );\n}\ninterface SelectablePackageProps {\n item: DeploymentActionPackageTableSelectItem;\n disabled: boolean;\n selected: boolean;\n disabledMessage?: string;\n onChange: (newValue: boolean) => void;\n}\nfunction SelectablePackage({ item, disabled, disabledMessage, selected, onChange }: SelectablePackageProps) {\n const content = (\n \n );\n if (disabled && disabledMessage) {\n return {content};\n }\n else {\n return content;\n }\n}\ninterface DeploymentActionWithStepNumberProps {\n item: DeploymentActionPackageTableSelectItem;\n disabled: boolean;\n triggerFromAllFeeds: boolean;\n}\nfunction DeploymentActionWithStepNumber({ item, disabled, triggerFromAllFeeds }: DeploymentActionWithStepNumberProps) {\n const darkModeSpacer = useThemePaletteType() === \"dark\" ?
    : <>;\n const logoUrl = getActionLogoUrl(item.deploymentActionResource);\n return (\n \n {darkModeSpacer}\n \n {item.stepActionNumber} {item.deploymentActionName}\n {item.isFeedAVariable && (
    \n \n \n This feed is a variable, the resolved feed {triggerFromAllFeeds ? \"must not be a Maven feed\" : \"must be a helm chart or container image feed.\"}\n \n
    )}\n
    \n
    );\n}\ninterface CellWrapperProps {\n disabled: boolean;\n children: React.ReactElement | React.ReactElement[];\n}\nfunction CellWrapper({ disabled, children }: CellWrapperProps) {\n return
    {children}
    ;\n}\nconst search = (text: string | undefined, term: string) => text?.toLowerCase().includes(term.toLowerCase());\nexport const buildItemList = (deploymentProcess: IProcessResource, supportedFeedIds: string[]): DeploymentActionPackageTableSelectItem[] => {\n const variablePattern = /(#{.*?})/g;\n return flatMap(deploymentProcess.Steps.map((step, stepIndex) => step.Actions.flatMap((action, actionIndex) => action.Packages.filter((pkg) => supportedFeedIds.includes(pkg.FeedId) || variablePattern.test(pkg.FeedId)).map((pkg) => createSelectItem(step, stepIndex, action, actionIndex, { DeploymentAction: action.Name, PackageReference: pkg.Name }, variablePattern.test(pkg.FeedId))))));\n};\nconst createSelectItem = (step: DeploymentStepResource, stepIndex: number, action: DeploymentActionResource, actionIndex: number, pkg: DeploymentActionPackageResource, isFeedAVariable: boolean): DeploymentActionPackageTableSelectItem => {\n const primaryPackage = action.Packages.find((pkg) => pkg.Name === \"\");\n return {\n id: createDeploymentActionPackageTableItemId(pkg),\n deploymentActionName: pkg.DeploymentAction,\n packageReference: pkg.PackageReference,\n deploymentActionResource: action,\n packageFriendlyName: pkg.PackageReference || primaryPackage?.PackageId || \"Nameless package\",\n stepActionNumber: stepNumber(step, stepIndex, actionIndex),\n isFeedAVariable: isFeedAVariable,\n };\n};\nconst stepNumber = (step: DeploymentStepResource, stepIndex: number, actionIndex: number) => {\n if (step.Actions.length === 1) {\n return `${stepIndex + 1}.`;\n }\n else {\n return `${stepIndex + 1}.${actionIndex + 1}.`;\n }\n};\nconst styles = {\n searchBoxContainer: css({ minWidth: 275 }),\n cellWrapper: (disabled: boolean) => css({ display: \"flex\", flexWrap: \"nowrap\", alignItems: \"center\", color: disabled ? themeTokens.color.text.disabled : themeTokens.color.text.primary }),\n actionLabel: css({ whiteSpace: \"nowrap\" }),\n darkModeSpacer: css({ width: space[8] }),\n};\n","import { css } from \"@emotion/css\";\nimport { borderRadius, space, text, themeTokens } from \"@octopusdeploy/design-system-tokens\";\nimport type { EnvironmentResource, LifecycleResource, ResourcesById } from \"@octopusdeploy/octopus-server-client\";\nimport { links } from \"@octopusdeploy/portal-routes\";\nimport * as React from \"react\";\nimport LifecycleMap from \"~/areas/library/components/Lifecycle/LifecycleMap\";\nimport { ExternalLinkIcon } from \"~/components/Navigation/ExternalLink/ExternalLink\";\nimport InternalLink from \"~/components/Navigation/InternalLink\";\ninterface TriggerLifecyclePreviewProps {\n lifecycle: LifecycleResource;\n environmentLookup: ResourcesById;\n spaceId: string;\n}\nexport function TriggerLifecyclePreview({ lifecycle, environmentLookup, spaceId }: TriggerLifecyclePreviewProps) {\n const styles = {\n container: css({ display: \"flex\", flexDirection: \"column\", gap: space[8], marginTop: space[16] }),\n content: css({ display: \"flex\", flexDirection: \"column\", gap: space[8] }),\n box: css({ borderColor: themeTokens.color.border.primary, borderWidth: space[1], borderStyle: \"solid\", borderRadius: borderRadius.small, padding: space[16], paddingBottom: 0 }),\n heading: css({ font: text.body.bold.large }),\n };\n return (
    \n
    \n
    \n
    Lifecycle preview
    \n
    Here’s how releases created by this trigger will be deployed:
    \n
    \n \n
    \n \n Edit lifecycle \n \n
    );\n}\n","import { css } from \"@emotion/css\";\nimport { CheckCircleIcon, XmarkCircleIcon } from \"@octopusdeploy/design-system-icons\";\nimport { space, themeTokens } from \"@octopusdeploy/design-system-tokens\";\nimport { TriggerActionType } from \"@octopusdeploy/octopus-server-client\";\nimport type { TriggerExecutionResource, PackageVersion } from \"@octopusdeploy/octopus-server-client\";\nimport type { ReactElement } from \"react\";\nimport React from \"react\";\nimport { ExpandableFormSection, Summary } from \"~/components/form\";\nimport { BuiltInFeedIcon } from \"../Icons/BuiltInFeedIcon\";\ninterface LastTriggerExecutionSummaryProps {\n lastExecution: TriggerExecutionResource | \"never-run\";\n}\nconst dateOptions: Intl.DateTimeFormatOptions = { weekday: \"long\", year: \"numeric\", month: \"long\", day: \"2-digit\", hour: \"2-digit\", minute: \"2-digit\", second: \"2-digit\", hour12: true };\nexport function LastFeedTriggerExecutionSummary({ lastExecution }: LastTriggerExecutionSummaryProps) {\n if (lastExecution === \"never-run\") {\n return (\n
    This trigger hasn’t executed yet. Octopus will run it every three minutes to check for new versions of the packages you’ve selected.
    \n
    );\n }\n if (lastExecution.Detail.Type !== \"FeedTrigger\")\n return null;\n const { ExecutedAt: executedAt, RanToCompletion: ranToCompletion, ActionInvoked: triggerActionInvoked, Reason: reason } = lastExecution;\n const dateString = new Date(executedAt).toLocaleString(\"en-US\", dateOptions);\n return (\n
    \n \n \n \n \n \n {reason}\n \n {dateString}\n \n \n \n \n
    \n
    );\n}\nfunction LabelGridItem({ text }: {\n text: string;\n}) {\n return
    {text}:
    ;\n}\nfunction ValueGridItem({ children }: {\n children?: ReactElement | string;\n}) {\n return
    {children}
    ;\n}\nfunction Outcome({ ranToCompletion, triggerActionInvoked, actionType }: {\n ranToCompletion: boolean;\n triggerActionInvoked: boolean;\n actionType: string;\n}) {\n const result = (icon: ReactElement, text: string) => (
    \n {icon}\n {text}\n
    );\n if (!ranToCompletion) {\n return result(, \"Execution failed\");\n }\n else {\n if (actionType === TriggerActionType.CreateRelease) {\n if (triggerActionInvoked) {\n return result(, \"Release created\");\n }\n else {\n return result(, \"No release created\");\n }\n }\n if (triggerActionInvoked) {\n return result(, \"Success\");\n }\n else {\n return result(, \"No action taken\");\n }\n }\n}\nfunction DiscoveredPackages({ packageVersions }: {\n packageVersions: PackageVersion[];\n}) {\n return (
    \n {packageVersions.map((packageVersion) => ())}\n
    );\n}\nfunction DiscoveredPackage({ packageVersion }: {\n packageVersion: PackageVersion;\n}) {\n return (
    \n {\" \"}\n \n {packageVersion.PackageId}:{packageVersion.Version}\n \n
    );\n}\n","import { css } from \"@emotion/css\";\nimport { space, themeTokens } from \"@octopusdeploy/design-system-tokens\";\nimport type { ReleaseResource } from \"@octopusdeploy/octopus-server-client\";\nimport { links } from \"@octopusdeploy/portal-routes\";\nimport React from \"react\";\nimport InternalLink from \"~/components/Navigation/InternalLink\";\nimport { ExpandableFormSection, Summary } from \"~/components/form\";\ninterface LastReleaseCreatedSummaryProps {\n spaceId: string;\n projectSlug: string;\n release: ReleaseResource | undefined;\n}\nconst dateOptions: Intl.DateTimeFormatOptions = { weekday: \"long\", year: \"numeric\", month: \"long\", day: \"2-digit\", hour: \"2-digit\", minute: \"2-digit\", second: \"2-digit\", hour12: true };\nexport function LastReleaseCreatedSummary({ spaceId, projectSlug, release }: LastReleaseCreatedSummaryProps) {\n if (!release) {\n return (\n
    This trigger hasn’t created a release yet.
    \n
    );\n }\n const dateString = new Date(release.Assembled).toLocaleString(\"en-US\", dateOptions);\n return (\n
    \n Release {release.Version} on {dateString}\n
    \n
    );\n}\n","/* eslint-disable @typescript-eslint/consistent-type-assertions */\n/* eslint-disable @typescript-eslint/no-non-null-assertion */\nimport { Callout } from \"@octopusdeploy/design-system-components\";\nimport type { PageAction } from \"@octopusdeploy/design-system-components\";\nimport { logger } from \"@octopusdeploy/logging\";\nimport { CreateReleaseActionResource, toDeploymentActionSlugPackage, toDeploymentActionPackage, FeedType, isExistingTriggerResource, Permission, TriggerActionCategory, TriggerActionType, TriggerFeedFilterResource, TriggerFilterType, } from \"@octopusdeploy/octopus-server-client\";\nimport type { ChannelResource, DeploymentActionResource, DeploymentProcessResource, EnvironmentResource, LifecycleResource, NewTriggerResourceTyped, ProjectResource, ReleaseResource, ResourceCollection, ResourcesById, ScopedDeploymentActionResource, TriggerResource, TriggerResourceTyped, TriggerExecutionResource, } from \"@octopusdeploy/octopus-server-client\";\nimport type { LinkHref } from \"@octopusdeploy/portal-routes\";\nimport { links } from \"@octopusdeploy/portal-routes\";\nimport { cloneDeep } from \"lodash\";\nimport pluralize from \"pluralize\";\nimport * as React from \"react\";\nimport { FeedTriggerFeedbackCallout } from \"~/areas/projects/components/Triggers/Feed/FeedTriggerFeedbackCallout\";\nimport { useProjectContext } from \"~/areas/projects/context/index\";\nimport type { WithProjectContextInjectedProps } from \"~/areas/projects/context/withProjectContext\";\nimport { repository } from \"~/clientInstance\";\nimport type { Refresh } from \"~/components/DataBaseComponent/DataBaseComponent\";\nimport type { OptionalFormBaseComponentState } from \"~/components/FormBaseComponent\";\nimport { FormBaseComponent } from \"~/components/FormBaseComponent\";\nimport { LegacyForm } from \"~/components/FormPaperLayout/LegacyForm\";\nimport type { DeploymentActionPackageTableSelectItem } from \"~/components/MultiSelect/DeploymentActionPackageTableMultiSelect\";\nimport { buildItemList, createDeploymentActionPackageTableItemId, DeploymentActionPackageTableMultiSelect } from \"~/components/MultiSelect/DeploymentActionPackageTableMultiSelect\";\nimport InternalRedirect from \"~/components/Navigation/InternalRedirect/InternalRedirect\";\nimport { OverflowMenuItems } from \"~/components/OverflowMenu/OverflowMenu\";\nimport { OverflowMenuConverterVNext } from \"~/components/OverflowMenu/OverflowMenuConverterVNext\";\nimport { PageContent } from \"~/components/PageContent/PageContent\";\nimport { isAllowed } from \"~/components/PermissionCheck/PermissionCheck\";\nimport TransitionAnimation from \"~/components/TransitionAnimation/TransitionAnimation\";\nimport { ExpandableFormSection, ExpansionButtons, FormSectionHeading, MarkdownEditor, Note, required, Select, Summary, Text, UnstructuredFormSection } from \"~/components/form\";\nimport { timeOperationOptions } from \"~/utils/OperationTimer/timeOperation\";\nimport StringHelper from \"~/utils/StringHelper/StringHelper\";\nimport toResourceLookup from \"~/utils/toResourceLookup\";\nimport { TriggerLifecyclePreview } from \"../TriggerLifecyclePreview\";\nimport { LastFeedTriggerExecutionSummary } from \"./LastFeedTriggerExecutionSummary\";\nimport { LastReleaseCreatedSummary } from \"./LastReleaseCreatedSummary\";\n// We currently support only helm chart and container image feeds, but this can be expanded in the future\nconst supportedFeedTypes = [FeedType.AwsElasticContainerRegistry, FeedType.AzureContainerRegistry, FeedType.Docker, FeedType.GoogleContainerRegistry, FeedType.Helm, FeedType.OciRegistry];\n// extended includes _everything_ except Maven, which is known to not be supported at this time.\nconst extendedFeedTypes = [...supportedFeedTypes, FeedType.Nuget, FeedType.GitHub, FeedType.OctopusProject, FeedType.S3, FeedType.GoogleContainerRegistry, FeedType.ArtifactoryGeneric];\ntype Model = TriggerResourceTyped | NewTriggerResourceTyped;\ninterface EditState extends OptionalFormBaseComponentState {\n channels: ChannelResource[];\n project: ProjectResource;\n redirectTo?: LinkHref;\n filterType: TriggerFilterType;\n supportedFeedIds: string[];\n deploymentProcess: DeploymentProcessResource;\n channelLookup: ResourcesById;\n lifecycleLookup: ResourcesById;\n environmentLookup: ResourcesById;\n projectTriggerLastExecution: TriggerExecutionResource | \"never-run\" | undefined;\n lastCreatedRelease: ReleaseResource | undefined;\n disabledChannelIds: string[];\n}\nexport type EditReleaseTriggersInternalProps = EditReleaseCreationFeedTriggerProps & WithProjectContextInjectedProps;\nclass EditReleaseTriggersInternalPage extends FormBaseComponent {\n public static defaultProps: Partial = {\n triggerActionCategory: TriggerActionCategory.Deployment,\n };\n constructor(props: EditReleaseTriggersInternalProps) {\n super(props);\n this.state = {\n model: null!,\n cleanModel: null!,\n channels: [],\n project: null!,\n filterType: null!,\n supportedFeedIds: [],\n deploymentProcess: null!,\n channelLookup: null!,\n lifecycleLookup: null!,\n environmentLookup: null!,\n projectTriggerLastExecution: undefined,\n lastCreatedRelease: undefined,\n disabledChannelIds: [],\n };\n }\n private refreshCount: number = 0;\n private doRefresh: Refresh = () => Promise.resolve();\n async componentDidMount() {\n let newTrigger: NewTriggerResourceTyped = null!;\n const { model: project, gitRef } = this.props.projectContext.state;\n if (this.props.create) {\n const triggerFeedResource = new TriggerFeedFilterResource([]);\n const triggerActionResource = new CreateReleaseActionResource();\n newTrigger = {\n ProjectId: project.Id,\n Name: null!,\n Description: null!,\n IsDisabled: false,\n Filter: triggerFeedResource,\n Action: triggerActionResource,\n };\n }\n await this.doBusyTask(async () => {\n const { projectContextRepository } = this.props.projectContext.state;\n let deploymentProcess: DeploymentProcessResource = null!;\n let channels: ChannelResource[] = [];\n let projectTriggers: ResourceCollection | undefined = undefined;\n let disabledChannelIds: string[] = [];\n let channelLookup: ResourcesById = {};\n let lifecyclePreviewLookup: ResourcesById = {};\n let environmentLookup: ResourcesById = {};\n let projectTriggerLastExecution: TriggerExecutionResource | \"never-run\" | undefined = undefined;\n let lastCreatedRelease: ReleaseResource | undefined = undefined;\n const trigger: TriggerResource | undefined = isEditingExistingReleaseTrigger(this.props) ? await repository.ProjectTriggers.get(this.props.triggerId) : undefined;\n const getChannelIdsThatAreReferencedByOtherTriggers = (triggers: TriggerResource[], thisTrigger?: TriggerResource) => triggers\n .filter((trigger) => trigger.Filter.FilterType === TriggerFilterType.FeedFilter && trigger.Action.ActionType === TriggerActionType.CreateRelease && (!thisTrigger || trigger.Id !== thisTrigger.Id))\n .map((trigger) => (trigger.Action as CreateReleaseActionResource).ChannelId);\n if (isAllowed({ permission: Permission.ProcessView, project: project.Id, tenant: \"*\" })) {\n // We grab the deployment process for the default branch only as that is all that external feed\n // and built-in package triggers support right now. This will need to be updated if/when it is extended.\n const deploymentProcessTask = projectContextRepository.DeploymentProcesses.getForDefaultBranch();\n const requiredTasks = Promise.all([deploymentProcessTask, this.loadChannels(project), this.loadProjectTriggers(project)]);\n [deploymentProcess, channels, projectTriggers] = await requiredTasks;\n if (projectTriggers) {\n disabledChannelIds = getChannelIdsThatAreReferencedByOtherTriggers(projectTriggers.Items, trigger);\n }\n try {\n const optionalTasks = Promise.all([this.loadLifecyclePreviews(channels, project), this.loadEnvironments()]);\n [lifecyclePreviewLookup, environmentLookup] = await optionalTasks;\n }\n catch {\n // Lifecycle previews are not required but we want to know if they fail\n logger.error(\"Failed to load lifecycle previews\");\n }\n if (trigger) {\n const lastExecution = await this.loadLastExecution(trigger);\n projectTriggerLastExecution = lastExecution.projectTriggerLastExecution;\n lastCreatedRelease = lastExecution.lastCreatedRelease;\n }\n channelLookup = toResourceLookup(channels);\n if (!trigger) {\n newTrigger.Action.ChannelId = channels.map((channel) => channel.Id).find((channelId) => !disabledChannelIds.includes(channelId)) ?? \"\";\n }\n }\n const includedFeeds = await repository.Feeds.list({ feedType: this.props.triggerFromAllFeeds ? extendedFeedTypes : supportedFeedTypes });\n this.setState({\n model: newTrigger || trigger,\n channels,\n project,\n cleanModel: cloneDeep(newTrigger || trigger),\n filterType: trigger?.Filter.FilterType ?? TriggerFilterType.FeedFilter,\n deploymentProcess,\n channelLookup,\n lifecycleLookup: lifecyclePreviewLookup,\n environmentLookup,\n supportedFeedIds: includedFeeds.Items.map((feed) => feed.Id),\n projectTriggerLastExecution,\n lastCreatedRelease,\n disabledChannelIds,\n });\n this.doRefresh = await this.startRefreshLoop(async () => {\n const trigger = this.state.model as TriggerResource;\n if (trigger) {\n const lastTriggerExecution = await this.loadLastExecution(trigger);\n projectTriggerLastExecution = lastTriggerExecution.projectTriggerLastExecution;\n lastCreatedRelease = lastTriggerExecution.lastCreatedRelease;\n this.setState({\n projectTriggerLastExecution: lastTriggerExecution.projectTriggerLastExecution,\n lastCreatedRelease: lastTriggerExecution.lastCreatedRelease,\n });\n }\n this.refreshCount++;\n return this.state;\n }, this.getRefreshInterval, false, timeOperationOptions.forRefresh());\n });\n }\n getRefreshInterval = (_: boolean) => {\n // Refresh frequently for 15 minutes and then back off a bit\n if (this.refreshCount < 90) {\n return 10000;\n }\n return 60000;\n };\n render() {\n if (this.state.redirectTo) {\n return ;\n }\n const title = this.props.create ? \"New External Feed Trigger\" : this.state.model ? this.state.model.Name : StringHelper.ellipsis;\n const legacyOverflowActions = [];\n if (this.state.model && isExistingTriggerResource(this.state.model)) {\n const model: TriggerResource = this.state.model;\n legacyOverflowActions.push(OverflowMenuItems.item(this.state.model && this.state.model.IsDisabled ? \"Enable\" : \"Disable\", () => (this.state.model && this.state.model.IsDisabled ? this.enableTrigger() : this.disableTrigger()), {\n permission: Permission.TriggerEdit,\n project: this.state.project && this.state.project.Id,\n }));\n legacyOverflowActions.push(OverflowMenuItems.deleteItemDefault(\"Release trigger\", () => this.deleteTrigger(model), { permission: Permission.TriggerDelete, project: this.state.project && this.state.project.Id }));\n legacyOverflowActions.push([\n OverflowMenuItems.navItem(\"Audit Trail\", links.auditPage.generateUrl({ regardingAny: [this.state.model.Id] }), {\n permission: Permission.EventView,\n wildcard: true,\n }),\n ]);\n }\n const overflowMenu = OverflowMenuConverterVNext.convertAll(legacyOverflowActions);\n const saveText: string = this.props.create ? \"Release trigger created\" : \"Release trigger details updated\";\n const breadcrumbTitle = \"Triggers\";\n const breadcrumbPath = links.deploymentTriggersPage.generateUrl({ spaceId: this.props.spaceId, projectSlug: this.props.projectSlug });\n const pageActions: PageAction[] = [];\n const lifecycle = this.getLifecycleOrDefault(this.selectedChannelId(), this.state.project);\n const packageSelectItems = this.state.deploymentProcess ? buildItemList(this.state.deploymentProcess, this.state.supportedFeedIds) : [];\n const allChannelAlreadyUsed = this.state.channels.length === this.state.disabledChannelIds.length;\n return ( this.saveTrigger()} saveText={saveText}>\n {({ FormContent, createSaveAction }) => (\n \n {overflowMenu.dialogs}\n {this.state.model && (\n \n {this.state.cleanModel && this.state.cleanModel.IsDisabled && (\n \n )}\n \n \n this.setModelState({ Name })} label=\"Release trigger name\" validate={required(\"Please enter a release trigger name\")} error={this.getFieldError(\"Name\")} autoFocus={true}/>\n \n A short, memorable, unique name for this release trigger. Example: Watch for new versions of our docker image\n \n \n \n this.setModelState({ Description })}/>\n \n \n {this.props.projectContext.state.model.IsVersionControlled && (\n External feed triggers create releases on the default branch in version controlled projects.\n )}\n \n ({ text: c.Name, value: c.Id, disabled: channelsAlreadyUsedByOtherGitTriggers.includes(c.Id), getDisabledText: (text) => `${text} - Already in use` }))} value={triggerState.Action.ChannelId} onChange={(channelId) => setTriggerState({ ...triggerState, Action: { ...triggerState.Action, ChannelId: channelId ?? \"\" } })} error={allChannelsAlreadyUsed ? \"No available channels\" : undefined}/>\n Releases will be created in this channel and must satisfy the selected channel's rules.\n {lifecycle && }\n \n \n {\n setTriggerState({\n ...triggerState,\n Filter: {\n ...triggerState.Filter,\n Sources: items,\n },\n });\n }}/>\n New commits pushed to the repositories you select will trigger release creation.\n \n {projectTriggerLastExecution && }\n {projectTriggerLastExecution && }\n {projectTriggerLastExecution && }\n \n \n )}\n );\n}\n","import { logger } from \"@octopusdeploy/logging\";\nimport { TriggerGitFilterResource, CreateReleaseActionResource, isExistingTriggerResource, Permission, TriggerActionType, TriggerFilterType, Repository, HasGitPersistenceSettings, IsUsingGitHubAuth } from \"@octopusdeploy/octopus-server-client\";\nimport type { ChannelResource, DeploymentProcessResource, EnvironmentResource, GitHubAppConnectionSummary, GitHubRepository, LifecycleResource, NewTriggerResourceTyped, ReleaseResource, ResourcesById, TriggerResourceTyped, TriggerExecutionResource, } from \"@octopusdeploy/octopus-server-client\";\nimport { links } from \"@octopusdeploy/portal-routes\";\nimport * as React from \"react\";\nimport { useState } from \"react\";\nimport { useProjectContext } from \"~/areas/projects/context/index\";\nimport { repository } from \"~/clientInstance\";\nimport DataBaseComponent, { useDoBusyTaskEffect } from \"~/components/DataBaseComponent\";\nimport type { DoBusyTask } from \"~/components/DataBaseComponent/DataBaseComponent\";\nimport { useErrors, useGetFieldError } from \"~/components/ErrorContext/ErrorContext\";\nimport { useSpaceAwareNavigation } from \"~/components/Navigation/SpaceAwareNavigation/useSpaceAwareNavigation\";\nimport { PageLoading } from \"~/components/PageContent/PageLoading\";\nimport { isAllowed } from \"~/components/PermissionCheck/PermissionCheck\";\nimport { useRefreshLoop } from \"~/hooks/useRefreshLoop\";\nimport toResourceLookup from \"~/utils/toResourceLookup\";\nimport { CreateOrEditGitTriggerForm } from \"./CreateOrEditGitTriggerForm\";\nexport type GitTrigger = TriggerResourceTyped | NewTriggerResourceTyped;\ntype CreateOrEditGitTriggerInternalProps = {\n triggerId?: string;\n doBusyTask: DoBusyTask;\n busy?: Promise;\n};\nfunction CreateOrEditGitTriggerInternal({ triggerId, doBusyTask, busy }: CreateOrEditGitTriggerInternalProps) {\n const projectContext = useProjectContext();\n const [trigger, setTrigger] = useState(undefined);\n const [existingTriggers, setExistingTriggers] = useState([]);\n const [deploymentProcess, setDeploymentProcess] = useState(undefined);\n const [channels, setChannels] = useState([]);\n const [lifecyclesById, setLifecyclesById] = useState>({});\n const [environmentsById, setEnvironmentsById] = useState>({});\n const [projectTriggerLastExecution, setProjectTriggerLastExecution] = useState(undefined);\n const [lastCreatedRelease, setLastCreatedRelease] = useState(undefined);\n const [connection, setConnection] = useState(undefined);\n const [projectRepository, setProjectRepository] = useState(undefined);\n const errors = useErrors();\n const getFieldError = useGetFieldError();\n const { navigate } = useSpaceAwareNavigation();\n const loadLastExecution = async (trigger?: GitTrigger) => {\n let projectTriggerLastExecution: TriggerExecutionResource | \"never-run\" | undefined = undefined;\n let lastCreatedRelease: ReleaseResource | undefined = undefined;\n if (trigger && isExistingTriggerResource(trigger)) {\n try {\n projectTriggerLastExecution = await repository.ProjectTriggers.getLastExecution(trigger);\n if (projectTriggerLastExecution?.Detail.LastCreatedReleaseId) {\n lastCreatedRelease = await repository.Releases.get(projectTriggerLastExecution?.Detail.LastCreatedReleaseId);\n }\n }\n catch (error) {\n if (error.StatusCode === 404) {\n projectTriggerLastExecution = \"never-run\";\n }\n else {\n logger.error(\"Failed to load trigger history\");\n }\n }\n }\n setProjectTriggerLastExecution(projectTriggerLastExecution);\n setLastCreatedRelease(lastCreatedRelease);\n };\n const loadInitialData = async () => {\n const project = projectContext.state.model;\n const canViewDeploymentProcess = isAllowed({ permission: Permission.ProcessView, project: project.Id, tenant: \"*\" });\n let bestChannelThatIsNotAlreadyInUse: ChannelResource | undefined = undefined;\n if (canViewDeploymentProcess) {\n const existingTriggersPromise = repository.Projects.getTriggers(project, 0, Repository.takeAll, TriggerActionType.CreateRelease);\n const deploymentProcessPromise = projectContext.state.projectContextRepository.DeploymentProcesses.getForDefaultBranch();\n const channelsPromise = repository.Projects.getChannels(project);\n const [existingTriggers, deploymentProcess, channels] = await Promise.all([existingTriggersPromise, deploymentProcessPromise, channelsPromise]);\n const allLifecycleIds = channels.Items.map((channel) => channel.LifecycleId ?? project?.LifecycleId);\n const lifecyclesPromise = repository.Lifecycles.previews([...new Set(allLifecycleIds)]);\n const environmentsPromise = repository.Environments.all();\n const [lifecycles, environments] = await Promise.all([lifecyclesPromise, environmentsPromise]);\n // eslint-disable-next-line @typescript-eslint/consistent-type-assertions\n const existingGitTriggers = existingTriggers.Items.filter((t) => (triggerId === undefined || t.Id !== triggerId) && t.Filter.FilterType === TriggerFilterType.GitFilter) as GitTrigger[];\n const channelsNotAlreadyInUse = channels.Items.filter((c) => !existingGitTriggers.some((t) => t.Action.ChannelId === c.Id));\n bestChannelThatIsNotAlreadyInUse = channelsNotAlreadyInUse.length > 0 ? channelsNotAlreadyInUse.find((c) => c.IsDefault) || channelsNotAlreadyInUse[0] : undefined;\n setExistingTriggers(existingGitTriggers);\n setDeploymentProcess(deploymentProcess);\n setChannels(channels.Items);\n setLifecyclesById(toResourceLookup(lifecycles));\n setEnvironmentsById(toResourceLookup(environments));\n }\n if (HasGitPersistenceSettings(project.PersistenceSettings) && IsUsingGitHubAuth(project.PersistenceSettings.Credentials) && isAllowed({ permission: Permission.GitCredentialView, project: project.Id, tenant: \"*\" })) {\n const gitPersistenceSettings = project.PersistenceSettings;\n const credentials = project.PersistenceSettings.Credentials;\n const connections = await repository.GitHubApp.getConnections(0, Repository.takeAll);\n const connection = connections.Connections.find((c) => c.Id === credentials.Id);\n if (connection) {\n const repositories = await repository.GitHubApp.getRepositoriesForConnection(connection.Id);\n const projectRepository = repositories.Repositories.find((r) => r.GitUrl === gitPersistenceSettings.Url);\n setProjectRepository(projectRepository);\n setConnection(connection);\n }\n }\n if (triggerId) {\n // eslint-disable-next-line @typescript-eslint/consistent-type-assertions\n const trigger = (await repository.ProjectTriggers.get(triggerId)) as GitTrigger;\n setTrigger(trigger);\n await loadLastExecution(trigger);\n }\n else {\n const triggerFeedResource = new TriggerGitFilterResource([]);\n const triggerActionResource = new CreateReleaseActionResource();\n if (bestChannelThatIsNotAlreadyInUse)\n triggerActionResource.ChannelId = bestChannelThatIsNotAlreadyInUse.Id;\n const newTrigger: NewTriggerResourceTyped = {\n ProjectId: projectContext.state.model.Id,\n Name: \"\",\n Description: \"\",\n IsDisabled: false,\n Filter: triggerFeedResource,\n Action: triggerActionResource,\n };\n setTrigger(newTrigger);\n }\n };\n useRefreshLoop(async () => doBusyTask(async () => {\n await loadLastExecution(trigger);\n }), 10000);\n useDoBusyTaskEffect(doBusyTask, loadInitialData, [triggerId]);\n const saveTrigger = async (trigger: GitTrigger) => {\n await doBusyTask(async () => {\n if (isExistingTriggerResource(trigger)) {\n // eslint-disable-next-line @typescript-eslint/consistent-type-assertions\n const updatedTrigger = (await repository.ProjectTriggers.modify(trigger)) as GitTrigger;\n setTrigger(updatedTrigger);\n }\n else {\n const newTrigger = await repository.ProjectTriggers.create(trigger);\n navigate(links.editReleaseCreationGitTriggerPage.generateUrl({ triggerId: newTrigger.Id, spaceId: project.SpaceId, projectSlug: project.Slug }));\n }\n });\n };\n const enableTrigger = async () => {\n await doBusyTask(async () => {\n if (trigger && isExistingTriggerResource(trigger)) {\n // eslint-disable-next-line @typescript-eslint/consistent-type-assertions\n const updatedTrigger = (await repository.ProjectTriggers.modify({\n ...trigger,\n IsDisabled: false,\n })) as GitTrigger;\n setTrigger(updatedTrigger);\n }\n });\n };\n const disableTrigger = async () => {\n await doBusyTask(async () => {\n if (trigger && isExistingTriggerResource(trigger)) {\n // eslint-disable-next-line @typescript-eslint/consistent-type-assertions\n const updatedTrigger = (await repository.ProjectTriggers.modify({\n ...trigger,\n IsDisabled: true,\n })) as GitTrigger;\n setTrigger(updatedTrigger);\n }\n });\n };\n const deleteTrigger = async () => {\n await doBusyTask(async () => {\n if (trigger && isExistingTriggerResource(trigger)) {\n await repository.ProjectTriggers.del(trigger);\n navigate(links.deploymentTriggersPage.generateUrl({ spaceId: project.SpaceId, projectSlug: project.Slug }));\n }\n });\n };\n const project = projectContext.state.model;\n if (!trigger && errors) {\n return ;\n }\n if (!trigger || !existingTriggers || !deploymentProcess || !channels || !lifecyclesById || !environmentsById) {\n return null;\n }\n return ();\n}\ntype CreateOrEditGitTriggerProps = {\n triggerId?: string;\n};\nexport class CreateOrEditGitTrigger extends DataBaseComponent {\n constructor(props: CreateOrEditGitTriggerProps) {\n super(props);\n this.state = {};\n }\n render() {\n return ;\n }\n static displayName = \"CreateOrEditGitTrigger\";\n}\n","import React from \"react\";\nimport { CreateOrEditGitTrigger } from \"./CreateOrEditGitTrigger\";\nexport function CreateReleaseCreationGitTriggersPage() {\n return ;\n}\n","import React from \"react\";\nimport { CreateOrEditGitTrigger } from \"./CreateOrEditGitTrigger\";\ninterface EditReleaseCreationGitTriggersPageProps {\n triggerId: string;\n}\nexport function EditReleaseCreationGitTriggersPage({ triggerId }: EditReleaseCreationGitTriggersPageProps) {\n return ;\n}\n","import { TriggerActionCategory } from \"@octopusdeploy/octopus-server-client\";\nimport React from \"react\";\nimport EditScheduledTriggers from \"./EditScheduledTriggers\";\ninterface CreateDeploymentScheduledTriggerPageProps {\n spaceId: string;\n projectSlug: string;\n}\nexport function CreateDeploymentScheduledTriggerPage({ spaceId, projectSlug }: CreateDeploymentScheduledTriggerPageProps) {\n return ;\n}\n","import { TriggerActionCategory } from \"@octopusdeploy/octopus-server-client\";\nimport React from \"react\";\nimport EditScheduledTriggers from \"./EditScheduledTriggers\";\ninterface EditDeploymentScheduledTriggerPageProps {\n spaceId: string;\n projectSlug: string;\n triggerId: string;\n}\nexport function EditDeploymentScheduledTriggerPage({ spaceId, projectSlug, triggerId }: EditDeploymentScheduledTriggerPageProps) {\n return ;\n}\n","import AllVariables from \"./AllVariables\";\nexport default AllVariables;\n","import * as React from \"react\";\nimport styles from \"./style.module.less\";\nconst CardTitle: React.StatelessComponent<{\n children: React.ReactNode;\n}> = (props) => {\n return

    {props.children}

    ;\n};\nCardTitle.displayName = \"CardTitle\"\nCardTitle.displayName = \"CardTitle\";\nexport default CardTitle;\n","import CardTitle from \"./CardTitle\";\nexport default CardTitle;\n","/* eslint-disable @typescript-eslint/no-non-null-assertion */\nimport { LinearProgress, IconButton } from \"@octopusdeploy/design-system-components\";\nimport { space } from \"@octopusdeploy/design-system-tokens\";\nimport { Permission } from \"@octopusdeploy/octopus-server-client\";\nimport { links } from \"@octopusdeploy/portal-routes\";\nimport cn from \"classnames\";\nimport * as React from \"react\";\nimport { BaseComponent } from \"~/components/BaseComponent/BaseComponent\";\nimport BusyFromPromise from \"~/components/BusyFromPromise/BusyFromPromise\";\nimport CardTitle from \"~/components/CardTitle\";\nimport { OverflowMenu, OverflowMenuItems } from \"~/components/OverflowMenu/OverflowMenu\";\nimport type { OverflowMenuNavLink, OverflowMenuRemoveItem } from \"../../../components/OverflowMenu/OverflowMenu\";\nimport styles from \"./style.module.less\";\ninterface VariableSetSectionHeadingProps {\n spaceId: string;\n variableSetId: string;\n variableSetName: string;\n variableSetTab: \"variables\" | \"variableTemplates\";\n isExpanded: boolean;\n busy?: Promise;\n onRemoveVariableSet?: () => Promise;\n onExpandedChanged: (expanded: boolean) => void;\n}\nclass VariableSetSectionHeading extends BaseComponent {\n render() {\n const linkTarget = links.editVariableSetPage.generateUrl({ spaceId: this.props.spaceId, variableSetId: this.props.variableSetId }, { activeTab: this.props.variableSetTab });\n const overflowMenuItems: Array = [\n OverflowMenuItems.navItem(\"Edit Variable Set\", linkTarget, {\n permission: Permission.ProjectEdit,\n wildcard: true,\n }),\n ];\n if (this.props.onRemoveVariableSet) {\n overflowMenuItems.push(OverflowMenuItems.removeItem(\"Remove\", `Are you sure you want to remove ${this.props.variableSetName} set?`, this.props.onRemoveVariableSet,
    \n

    The values for any variable templates that are removed by this action will be permanently deleted from associated Tenants, there is no going back.

    \n

    Do you wish to continue?

    \n
    , {\n permission: Permission.ProjectEdit,\n wildcard: true,\n }));\n }\n return (
    \n
    this.props.onExpandedChanged(!this.props.isExpanded)}>\n \n {(busy: boolean) => (
    \n \n
    )}\n
    \n
    \n
    \n {this.props.variableSetName}\n
    \n \n \n
    \n
    \n {this.props.isExpanded && this.props.children}\n
    );\n }\n static displayName = \"VariableSetSectionHeading\";\n}\nexport default VariableSetSectionHeading;\n","/* eslint-disable @typescript-eslint/no-non-null-assertion */\nimport { Callout, Checkbox } from \"@octopusdeploy/design-system-components\";\nimport { Permission, VariableSetContentType } from \"@octopusdeploy/octopus-server-client\";\nimport type { LibraryVariableSetResource, ResourceCollection } from \"@octopusdeploy/octopus-server-client\";\nimport { links } from \"@octopusdeploy/portal-routes\";\nimport * as React from \"react\";\nimport { repository } from \"~/clientInstance\";\nimport type { DataBaseComponentState } from \"~/components/DataBaseComponent/DataBaseComponent\";\nimport { DataBaseComponent } from \"~/components/DataBaseComponent/DataBaseComponent\";\nimport SaveDialogLayout from \"~/components/DialogLayout/SaveDialogLayout\";\nimport MarkdownDescription from \"~/components/MarkdownDescription/index\";\nimport InternalLink from \"~/components/Navigation/InternalLink\";\nimport { PagingList } from \"~/components/PagingList/PagingList\";\nimport { PermissionCheck } from \"~/components/PermissionCheck\";\nimport { Note } from \"~/components/form\";\nimport styles from \"./style.module.less\";\ninterface VariableSetSelectorProps {\n spaceId: string;\n selectedVariableSetIds: ReadonlyArray;\n saveVariableSetsSelection(variableSetIds: ReadonlyArray): Promise;\n}\ninterface VariableSetSelectorState extends DataBaseComponentState {\n libraryVariableSets?: ResourceCollection;\n selectedVariableSetIds: ReadonlyArray;\n}\nexport default class VariableSetSelector extends DataBaseComponent {\n constructor(props: VariableSetSelectorProps) {\n super(props);\n this.state = {\n selectedVariableSetIds: [...this.props.selectedVariableSetIds],\n };\n }\n async componentDidMount() {\n await this.doBusyTask(async () => {\n const libraryVariableSets = await repository.LibraryVariableSets.list({ contentType: VariableSetContentType.Variables });\n this.setState({ libraryVariableSets });\n });\n }\n render() {\n return ( this.doBusyTask(() => this.props.saveVariableSetsSelection(this.state.selectedVariableSetIds))}>\n \n \n Manage your variable sets.\n \n \n\n {!this.props.selectedVariableSetIds.every((original) => this.state.selectedVariableSetIds.some((selected) => original === selected)) && (\n The values for any variable templates that are removed by this action will be permanently deleted from associated Tenants. There is no going back.\n )}\n\n {this.state.libraryVariableSets && ( (
    \n this.changeSelection(checked, vs.Id)}/>\n {vs.Description && (

    \n \n

    )}\n
    )}/>)}\n
    );\n }\n private changeSelection(isSelected: boolean, variableSetId: string) {\n if (isSelected) {\n this.setState((prev) => ({ selectedVariableSetIds: [...prev!.selectedVariableSetIds, variableSetId] }));\n }\n else {\n this.setState((prev) => ({ selectedVariableSetIds: prev!.selectedVariableSetIds.filter((id) => id !== variableSetId) }));\n }\n }\n static displayName = \"VariableSetSelector\";\n}\nfunction filter(filterText: string, item: LibraryVariableSetResource) {\n return item.Name.toLowerCase().includes(filterText.toLowerCase()) || item.Description.toLowerCase().includes(filterText.toLowerCase());\n}\nclass LibraryVariableSetsList extends PagingList {\n}\n","/* eslint-disable @typescript-eslint/no-non-null-assertion */\n/* eslint-disable @typescript-eslint/consistent-type-assertions */\nimport type { PrimaryPageAction } from \"@octopusdeploy/design-system-components\";\nimport { Permission, VariableSetContentType } from \"@octopusdeploy/octopus-server-client\";\nimport type { LibraryVariableSetResource, ProjectResource, ScopeValues, VariableSetResource } from \"@octopusdeploy/octopus-server-client\";\nimport { compact, difference } from \"lodash\";\nimport * as React from \"react\";\nimport mergeScopeValues from \"~/areas/variables/MergeScopeValues\";\nimport type { AdditionalFilter, VariableWithSource } from \"~/areas/variables/VariableDisplayer\";\nimport FilterableVariableDisplayer from \"~/areas/variables/VariableDisplayer/FilterableVariableDisplayer\";\nimport VariableSetSectionHeading from \"~/areas/variables/VariableSetSectionHeading/VariableDisplayerSectionHeading\";\nimport VariableSetSelector from \"~/areas/variables/VariableSetSelector/VariableSetSelector\";\nimport { repository } from \"~/clientInstance\";\nimport Dialog from \"~/components/Dialog/Dialog\";\nimport type { DialogControls } from \"~/components/Dialog/DialogTrigger\";\nimport { useDialogTrigger } from \"~/components/Dialog/DialogTrigger\";\nimport FormBaseComponent from \"~/components/FormBaseComponent/FormBaseComponent\";\nimport type { OptionalFormBaseComponentState } from \"~/components/FormBaseComponent/FormBaseComponent\";\nimport type { GroupedExpandableProps } from \"~/components/GroupedExpandable\";\nimport { default as GroupedExpandable } from \"~/components/GroupedExpandable\";\nimport { PageContent } from \"~/components/PageContent/PageContent\";\nimport { isAllowed } from \"~/components/PermissionCheck/PermissionCheck\";\nimport ExpansionButtons from \"~/components/form/Sections/ExpansionButtons\";\nimport { timeOperationOptions } from \"~/utils/OperationTimer/timeOperation\";\nimport { convertVariableResourcesToVariablesWithSource } from \"../../../../variables/convertVariableResourcesToVariablesWithSource\";\nimport styles from \"./style.module.less\";\ntype Loadable = T | \"notloaded\";\nfunction isLoaded(loadable: Loadable): loadable is T {\n return loadable !== \"notloaded\";\n}\ntype VariablesAndScopes = {\n variables: ReadonlyArray;\n scopeValues: ScopeValues;\n};\nconst libraryVariableSetsContainerKey = \"library_variable_sets\";\ninterface LibraryVariableSetWithVariables {\n libraryVariableSet: LibraryVariableSetResource;\n variableAndScopes: Loadable;\n}\ntype Busies = {\n [key: string]: Promise;\n};\ninterface LibraryVariableSetsState extends OptionalFormBaseComponentState> {\n busies: Busies;\n variableSetNameFilter: string;\n filteredModel: ReadonlyArray;\n projectName: string;\n}\ninterface LibraryVariableSetsProps {\n spaceId: string;\n projectSlug: string;\n}\ninterface LibraryVariableSetsInternalProps extends LibraryVariableSetsProps {\n includeLibraryVariableDialogControls: DialogControls;\n}\nconst sectionHeaderRowHeight = 48;\n// Be careful when you change anything related to expanders here. They are implemented the way they are to make sure we\n// can expand/collapse sections that user virtual scrolling. A good test case is to have a variable set with\n// enough variables so the take more than 1 screen.\nclass LibraryVariableSetsInternal extends FormBaseComponent> {\n constructor(props: LibraryVariableSetsInternalProps & GroupedExpandableProps) {\n super(props);\n this.state = {\n busies: {},\n variableSetNameFilter: \"\",\n filteredModel: [],\n projectName: \"\",\n };\n }\n async componentDidMount() {\n await this.doBusyTask(() => this.loadData(), { timeOperationOptions: timeOperationOptions.forInitialLoad() });\n }\n UNSAFE_componentWillReceiveProps(nextProps: GroupedExpandableProps) {\n if (nextProps === this.props) {\n return;\n }\n const changed = Object.keys(nextProps.expanders).filter((key) => nextProps.expanders[key] && !this.props.expanders[key]);\n if (changed.length === 0) {\n return;\n }\n //TODO: @Architecture - Re-write this in a way that we can wrap a DoBusyTask around the busies so the user gets feedback that it's being awaited.\n const promise = this.loadVariableSet(changed);\n const promises: Busies = changed.reduce((acc: Busies, key) => {\n acc[key] = promise;\n return acc;\n }, {});\n this.setState((state) => ({\n busies: {\n ...state!.busies,\n ...promises,\n },\n }));\n }\n render() {\n const additionalFilter: AdditionalFilter = {\n value: this.state.variableSetNameFilter,\n onValueChanged: this.handleFilterChanged,\n fieldName: \"variable set name\",\n };\n const includeLibraryVariableSetsPageAction: PrimaryPageAction | undefined = this.state.model\n ? {\n type: \"button\",\n label: \"Include Variable Sets\",\n hasPermissions: isAllowed({\n permission: Permission.ProjectEdit,\n wildcard: true,\n }),\n onClick: this.props.includeLibraryVariableDialogControls.openDialog,\n }\n : undefined;\n return (\n \n m.libraryVariableSet.Id) : []} saveVariableSetsSelection={async (variableSetIds) => this.save(variableSetIds)}/>\n \n \n {\n const variableSet = this.state.filteredModel[sectionIndex].libraryVariableSet;\n return !this.props.getExpanderValueForKey(variableSet.Id);\n }} additionalFilter={additionalFilter} sectionHeader={{\n sectionHeaderRowHeight,\n renderSectionHeader: (sectionIndex, cellAligner) => {\n const variableSet = this.state.filteredModel[sectionIndex].libraryVariableSet;\n return (
    \n this.props.onExpandedChanged(variableSet.Id, expanded)} onRemoveVariableSet={() => this.removeVariableSet(variableSet.Id)}/>\n
    );\n },\n }}/>\n
    );\n }\n private handleFilterChanged = (val: string) => {\n this.setState((state) => ({\n variableSetNameFilter: val,\n filteredModel: this.filterByName(state!.model!, val),\n }));\n };\n private async removeVariableSet(libraryVariableSetId: string) {\n const selectedVariableSetIds = this.state.model!.map((m) => m.libraryVariableSet.Id).filter((id) => id !== libraryVariableSetId);\n await this.save(selectedVariableSetIds);\n return Promise.resolve(true);\n }\n private async loadVariableSet(libraryVariableSetIds: string[]) {\n const toLoad = compact(libraryVariableSetIds.map((id) => {\n if (!this.state.model) {\n return null;\n }\n const current = this.state.model!.find((m) => m.libraryVariableSet.Id.toLowerCase() === id);\n if (!current) {\n return null;\n }\n return isLoaded(current!.variableAndScopes) ? null : current!.libraryVariableSet.VariableSetId;\n }));\n const variableSets = await repository.Variables.all({ ids: toLoad! });\n this.setState((prevState) => {\n const next = prevState!.model!.map((current) => {\n const variableSet = variableSets.find((vs: VariableSetResource) => vs.Id === current.libraryVariableSet.VariableSetId);\n if (variableSet) {\n return {\n libraryVariableSet: current.libraryVariableSet,\n variableAndScopes: {\n variables: convertVariableResourcesToVariablesWithSource(variableSet.Variables, {\n spaceId: current.libraryVariableSet.SpaceId,\n variableSetName: current.libraryVariableSet.Name,\n variableSetId: current.libraryVariableSet.Id,\n }),\n scopeValues: variableSet.ScopeValues,\n },\n };\n }\n else {\n return current;\n }\n });\n return {\n model: next,\n filteredModel: this.filterByName(next, this.state.variableSetNameFilter),\n };\n });\n }\n private filterByName(list: ReadonlyArray, filter: string): ReadonlyArray {\n return list.filter((set) => !filter || set.libraryVariableSet.Name.includes(filter));\n }\n private getAvailableScopes(): ScopeValues {\n const allScopeValues: ScopeValues[] = this.state.model ? this.state.model.filter((set) => isLoaded(set.variableAndScopes)).map((set) => (set.variableAndScopes as VariablesAndScopes).scopeValues) : [];\n return mergeScopeValues(allScopeValues);\n }\n private async loadData() {\n const project = await repository.Projects.get(this.props.projectSlug);\n const libraryVariableSets = await repository.LibraryVariableSets.all({ ids: project.IncludedLibraryVariableSetIds, contentType: VariableSetContentType.Variables });\n const next = libraryVariableSets.map((libraryVariableSet) => ({\n libraryVariableSet,\n variableAndScopes: \"notloaded\" as Loadable,\n }));\n this.setState({\n model: next,\n filteredModel: this.filterByName(next, this.state.variableSetNameFilter),\n projectName: project.Name,\n }, () => this.props.registerAllExpanders(libraryVariableSets.map((v) => v.Id)));\n }\n private async save(selectedVariableSetIds: ReadonlyArray) {\n // Should we be reloading the project here? or just using whatever was loaded previously\n const [project, allvariablesSet] = await Promise.all([repository.Projects.get(this.props.projectSlug), repository.LibraryVariableSets.all({ contentType: VariableSetContentType.Variables })]);\n const extraSets = difference(project.IncludedLibraryVariableSetIds, allvariablesSet.map((v) => v.Id));\n const updatedProject: ProjectResource = {\n ...project,\n IncludedLibraryVariableSetIds: [...selectedVariableSetIds, ...extraSets],\n };\n await repository.Projects.modify(updatedProject);\n await this.loadData();\n }\n private getVariables() {\n const variableSets = this.state.model ? this.state.filteredModel.map((set) => (isLoaded(set.variableAndScopes) ? [...set.variableAndScopes.variables] : [])) : [];\n return variableSets;\n }\n static displayName = \"LibraryVariableSetsInternal\";\n}\nconst GroupedExpandableLibraryVariableSets = GroupedExpandable(libraryVariableSetsContainerKey, LibraryVariableSetsInternal);\nfunction LibraryVariableSets({ spaceId, projectSlug }: LibraryVariableSetsProps) {\n const includeLibraryVariableDialogControls = useDialogTrigger();\n return ;\n}\nexport default LibraryVariableSets;\n","/* eslint-disable @typescript-eslint/no-explicit-any */\n/* eslint-disable @typescript-eslint/consistent-type-assertions */\nimport * as React from \"react\";\nimport { connect } from \"react-redux\";\nimport type { Action, Dispatch } from \"redux\";\nimport type { ExpanderContainer } from \"~/components/form/Sections/reducers/expanders\";\nimport { defaultExpanderContainer, expanderActions, UseInitialValueOfContainer } from \"~/components/form/Sections/reducers/expanders\";\ntype ExpanderSet = {\n [errorKey: string]: boolean | undefined;\n};\ninterface StateProps {\n expanders: ExpanderSet;\n getExpanderValueForKey(key: string): boolean | undefined;\n}\ninterface GlobalDispatchProps {\n onExpandedChanged(key: string, isExpanded: boolean): void;\n registerAllExpanders(keys: string[]): void;\n}\nexport type GroupedExpandableProps = StateProps & GlobalDispatchProps;\n// HOC that hooks up a component that manages expansion for multiple child components\n// to the redux store\nexport default function Expandable(containerKey: string, Comp: React.ComponentClass) {\n type InternalProps = StateProps & GlobalDispatchProps;\n type ExternalProps = Omit;\n class ExpandableInternal extends React.Component {\n render() {\n return ;\n }\n static displayName = \"ExpandableInternal\";\n }\n function mapGlobalStateToProps(state: GlobalState): StateProps {\n const container: ExpanderContainer = state.expanders?.[containerKey] ?? defaultExpanderContainer();\n const expanders: ExpanderSet = Object.keys(container.expanderValues).reduce((values: {\n [key: string]: boolean;\n }, expanderKey) => {\n values[expanderKey] = getExpanderValueForKey(expanderKey);\n return values;\n }, {});\n function getExpanderValueForKey(expanderKey: string) {\n const lowercaseKey = expanderKey.toLowerCase();\n const storedValue = container.expanderValues[lowercaseKey];\n return storedValue === UseInitialValueOfContainer ? container.initialState : storedValue;\n }\n return { expanders, getExpanderValueForKey };\n }\n function mapGlobalActionDispatchersToProps(dispatch: Dispatch, props: Props): GlobalDispatchProps {\n return {\n registerAllExpanders: (keys: string[]) => {\n dispatch(expanderActions.onAllExpandersCreated({ containerKey, keys: keys.map((x) => x.toLowerCase()), expanded: false }));\n },\n onExpandedChanged: (key: string, state: boolean) => {\n dispatch(expanderActions.onExpanderStateChanged({ containerKey, key: key.toLowerCase(), expanded: state }));\n },\n };\n }\n return connect(mapGlobalStateToProps, mapGlobalActionDispatchersToProps)(ExpandableInternal) as any as React.ComponentType;\n}\n","import { ActionButton, ActionButtonType } from \"@octopusdeploy/design-system-components\";\nimport type { GitRefResource } from \"@octopusdeploy/octopus-server-client\";\nimport * as React from \"react\";\nimport { GitCallouts } from \"~/areas/projects/components/VersionControl/GitCallouts\";\nimport OnboardingPage from \"~/components/GettingStarted/OnboardingPage\";\nimport ExternalLink from \"~/components/Navigation/ExternalLink/ExternalLink\";\ninterface NoProjectVariablesOnboardingPageProps {\n onClick: () => void;\n gitRefResource: GitRefResource | undefined;\n}\nexport default function NoProjectVariablesOnboardingPage({ onClick, gitRefResource }: NoProjectVariablesOnboardingPageProps) {\n return (<>\n \n Variables are a powerful tool that lets you securely store and manage sensitive keys and configuration values across your infrastructure.
    } actionButtons={} learnMore={Learn more}/>\n );\n}\n","/* eslint-disable @octopusdeploy/custom-portal-rules/no-restricted-imports */\nimport type { StepIconProps } from \"@material-ui/core\";\nimport { Step, StepLabel, Stepper } from \"@material-ui/core\";\nimport { ActionButton, ActionButtonType, BooleanRadioButtonGroup, BooleanRadioButton, Callout } from \"@octopusdeploy/design-system-components\";\nimport type { ProjectResource, MigrateProjectVariablesToGitCommand, MigrateProjectVariablesToGitSummary, GitBranch, GitRef } from \"@octopusdeploy/octopus-server-client\";\nimport { HasGitPersistenceSettings, isGitBranch, toGitBranch, toGitRefShort } from \"@octopusdeploy/octopus-server-client\";\nimport classNames from \"classnames\";\nimport pluralize from \"pluralize\";\nimport * as React from \"react\";\nimport { useCallback, useEffect, useState } from \"react\";\nimport { Action, useProjectScopedAnalyticTrackedActionDispatch, useProjectScopedAnalyticActionDispatch } from \"~/analytics/Analytics\";\nimport type { ActionEvent, AnalyticErrorCallback } from \"~/analytics/Analytics\";\nimport { ProjectGitRefSelector } from \"~/areas/projects/components/GitRefSelector/ProjectGitRefSelector\";\nimport { useProjectContext } from \"~/areas/projects/context\";\nimport { repository } from \"~/clientInstance\";\nimport { ActionListContainer } from \"~/components/ActionList/ActionList\";\nimport BusyFromPromise from \"~/components/BusyFromPromise\";\nimport type { DoBusyTask, Errors } from \"~/components/DataBaseComponent\";\nimport DataBaseComponent, { useDoBusyTaskEffect } from \"~/components/DataBaseComponent\";\nimport { CustomWizardDialogLayout, SmallDialogFrame } from \"~/components/DialogLayout/Custom\";\nimport { DialogLayout } from \"~/components/DialogLayout/DialogLayout\";\nimport ExternalLink from \"~/components/Navigation/ExternalLink\";\nimport { ErrorPanel, Note, Text } from \"~/components/form\";\nimport StringHelper from \"~/utils/StringHelper\";\nimport { GitRefDropDownMode } from \"../../../GitRefDropDown/GitRefDropDown\";\nimport { getFormattedCommitMessage } from \"../../../VersionControl/CommitMessageWithDetails\";\nimport styles from \"./style.module.less\";\nenum ExecutionState {\n NotStarted = \"NotStarted\",\n Executing = \"Executing\",\n Success = \"Success\",\n Error = \"Error\"\n}\ninterface MigrateProjectVariablesDialogProps {\n open: boolean;\n close: () => void;\n}\nclass MigrateProjectVariablesWizard extends DataBaseComponent {\n constructor(props: MigrateProjectVariablesDialogProps) {\n super(props);\n this.state = {};\n }\n render() {\n return ;\n }\n static displayName = \"MigrateProjectVariablesWizard\";\n}\ninterface MigrateProjectVariablesDialogInternalProps extends MigrateProjectVariablesDialogProps {\n doBusyTask: DoBusyTask;\n busy?: Promise;\n errors?: Errors;\n}\nfunction useMigrationSummary(doBusyTask: DoBusyTask, project: ProjectResource) {\n const [migrationSummary, setMigrationSummary] = useState();\n useDoBusyTaskEffect(doBusyTask, async () => {\n const summary = await repository.Projects.getMigrateVariablesToGitSummary(project);\n setMigrationSummary(summary);\n }, [project]);\n return migrationSummary;\n}\nfunction useMigrationExecutor(doBusyTask: DoBusyTask, project: ProjectResource, setExecutionState: (state: ExecutionState) => void) {\n const trackAction = useProjectScopedAnalyticTrackedActionDispatch(project.Id);\n const migrator = useCallback((command: MigrateProjectVariablesToGitCommand) => {\n const ev: ActionEvent = {\n action: Action.Save,\n resource: \"Variables\",\n isDefaultBranch: command.AnalyticsInfo.IsDefaultBranch,\n commitMessage: command.AnalyticsInfo.IsDefaultCommitMessage,\n };\n return trackAction(\"Move Variables to Git\", ev, async (analyticErrorCallback: AnalyticErrorCallback) => {\n await doBusyTask(async () => await repository.Projects.migrateVariablesToGit(project, command), {\n onError: (error) => {\n analyticErrorCallback(error);\n setExecutionState(ExecutionState.Error);\n },\n onSuccess: () => setExecutionState(ExecutionState.Success),\n });\n });\n }, [doBusyTask, project, setExecutionState, trackAction]);\n return migrator;\n}\nconst MigrateProjectVariablesWizardInternal: React.FC = (props: MigrateProjectVariablesDialogInternalProps) => {\n const defaultCommitSummary = \"Migrate project variables to Git\";\n const stepNames = [\"Getting started\", \"Select a branch\", \"Review & migrate\"];\n const projectContext = useProjectContext();\n const project = projectContext.state.model;\n if (!HasGitPersistenceSettings(project.PersistenceSettings)) {\n throw new Error(\"Can not migrate variables for Database projects\");\n }\n const defaultBranch: GitBranch = toGitBranch(project.PersistenceSettings.DefaultBranch);\n const [executionState, setExecutionState] = useState(ExecutionState.NotStarted);\n const [createNewBranch, setCreateNewBranch] = useState(false);\n const [existingBranchGitRef, setExistingBranchGitRef] = useState(defaultBranch);\n const [newBranchName, setNewBranchName] = useState(\"\");\n const [isUsingDefaultBranch, setIsUsingDefaultBranch] = useState(true);\n useEffect(() => {\n const usingDefaultBranch = !createNewBranch && isGitBranch(existingBranchGitRef) && existingBranchGitRef === defaultBranch;\n setIsUsingDefaultBranch(usingDefaultBranch);\n }, [createNewBranch, existingBranchGitRef, defaultBranch]);\n const [commitSummary, setCommitSummary] = useState(\"\");\n const [commitDetails, setCommitDetails] = useState(\"\");\n const migrationSummary = useMigrationSummary(props.doBusyTask, project);\n const executeMigration = useMigrationExecutor(props.doBusyTask, project, setExecutionState);\n const [canProgress, setCanProgress] = useState({});\n useEffect(() => {\n if (createNewBranch && StringHelper.isNullOrWhiteSpace(newBranchName)) {\n setCanProgress({ 1: false });\n }\n else {\n setCanProgress({ 1: true });\n }\n }, [createNewBranch, newBranchName]);\n const migrate = () => {\n if (!isGitBranch(existingBranchGitRef)) {\n throw new Error(`Selected GitRef is not a branch: ${existingBranchGitRef}`);\n }\n setExecutionState(ExecutionState.Executing);\n const branch = createNewBranch ? newBranchName : existingBranchGitRef;\n const formattedCommitMessage = getFormattedCommitMessage({\n summary: commitSummary,\n details: commitDetails,\n }, defaultCommitSummary);\n const command: MigrateProjectVariablesToGitCommand = {\n Branch: branch,\n CreateBranch: createNewBranch,\n CommitMessage: formattedCommitMessage,\n AnalyticsInfo: {\n IsDefaultBranch: branch === defaultBranch,\n IsDefaultCommitMessage: !!commitSummary,\n },\n };\n executeMigration(command);\n };\n const dispatchAction = useProjectScopedAnalyticActionDispatch(project.Id);\n const refreshAndClose = () => {\n if (executionState === ExecutionState.NotStarted) {\n // The user has cancelled without trying to complete the migration. Ideally we would like to send which step the user was on, but we can't get that info right now without a major refactor.\n // TODO: Add which step the user was on (e.g. { Step: \"Getting started\" } ).\n dispatchAction(\"Cancel Moving Variables\", { resource: \"Variables\", action: Action.Cancel });\n }\n else if (executionState === ExecutionState.Error) {\n // The user has tried to migrate, hit an error and then canceled.\n dispatchAction(\"Cancel Moving Variables\", { resource: \"Variables\", action: Action.Cancel });\n }\n if (executionState === ExecutionState.Success || executionState === ExecutionState.Error) {\n props.doBusyTask(async () => {\n if (executionState === ExecutionState.Success) {\n const branch = createNewBranch ? toGitBranch(newBranchName) : existingBranchGitRef;\n await projectContext.actions.onBranchSelected(project, branch);\n }\n await projectContext.actions.refreshModel();\n props.close();\n });\n }\n props.close();\n };\n const runbookInfoNote = !isUsingDefaultBranch && Runbooks only use variables from the default branch. After migration, merge this branch to the default before running any Runbooks.;\n return ( }>\n \n {migrationSummary && (\n This project is ready to migrate variables to Git\n )}\n

    You are about to migrate your project variables to Git. Octopus will:

    \n
      \n
    • Convert variables to OCL and move them to your Git repository
    • \n
    • Keep current and future sensitive variables in the Octopus database
    • \n
    • Use variables from the default branch for runbooks
    • \n
    \n

    \n This process cannot be reversed. Read the Git variables documentation for more details.\n

    \n
    \n \n

    Choose a branch to migrate the variables to:

    \n \n \n {!createNewBranch && (
    \n \n {runbookInfoNote}\n
    )}\n \n {createNewBranch && (
    \n \n \n The new branch will be based on default branch ({toGitRefShort(defaultBranch)}) in your repository\n \n {runbookInfoNote}\n
    )}\n
    \n
    \n \n {(executionState === ExecutionState.NotStarted || executionState === ExecutionState.Executing) && (<>\n

    Review Migration

    \n \n {runbookInfoNote}\n

    Enter a Commit Message

    \n \n \n )}\n {executionState === ExecutionState.Success && (<>\n \n Variables have been migrated to your Git repository successfully\n \n

    Next step

    \n

    \n Variables have only been migrated to the {createNewBranch ? newBranchName : existingBranchGitRef} branch. You will need to merge this branch with other branches that need these variables.\n

    \n

    \n Need help? See Git variables documentation for more details.\n

    \n )}\n {executionState === ExecutionState.Error && (<>\n

    The migration has failed. Review the configuration and try again.

    \n

    \n Need help? See Git variables documentation for more details.\n

    \n )}\n
    \n
    );\n};\nMigrateProjectVariablesWizardInternal.displayName = \"MigrateProjectVariablesWizardInternal\"\ninterface InfoNoteProps {\n children?: React.ReactNode;\n}\nconst InfoNote: React.FC = (props: InfoNoteProps) => {\n return (\n \n {props.children}\n );\n};\nInfoNote.displayName = \"InfoNote\"\ninterface MigrationReviewListProps {\n summary?: MigrateProjectVariablesToGitSummary;\n createNewBranch: boolean;\n branchName: string | undefined;\n defaultBranch: string;\n}\nconst MigrationReviewList: React.FC = (props: MigrationReviewListProps) => {\n if (!props.summary) {\n return <>;\n }\n const anyTextVariables = props.summary.TextVariableCount > 0;\n const anySensitiveVariables = props.summary.SensitiveVariableCount > 0;\n const newBranchItem = (
  • \n New branch {props.branchName} will be created from {toGitRefShort(props.defaultBranch)}\n
  • );\n const textVariableSummaryItem = (
  • \n {props.summary.TextVariableCount} {pluralize(\"value\", props.summary.TextVariableCount)} will be migrated to a new variables.ocl file on the {toGitRefShort(props.branchName)} branch\n
  • );\n const emptyTextVariableSummaryItem = (
  • \n An empty variables.ocl file will be created on {toGitRefShort(props.branchName)}. There are no variables to migrate.\n
  • );\n const sensitiveVariablesSummaryItem = (
  • \n {props.summary.SensitiveVariableCount} sensitive {pluralize(\"value\", props.summary.SensitiveVariableCount)} will remain in the Octopus database\n
  • );\n return (
      \n {props.createNewBranch && newBranchItem}\n {anyTextVariables ? textVariableSummaryItem : emptyTextVariableSummaryItem}\n {anySensitiveVariables && sensitiveVariablesSummaryItem}\n
    );\n};\nMigrationReviewList.displayName = \"MigrationReviewList\"\nconst MigrateProjectVariablesWizardStep: React.FC<{\n children: React.ReactNode;\n}> = (props: {\n children: React.ReactNode;\n}) => {\n return
    {props.children}
    ;\n};\nMigrateProjectVariablesWizardStep.displayName = \"MigrateProjectVariablesWizardStep\"\ninterface MigrateProjectVariablesWizardLayoutProps extends MigrateProjectVariablesWizardStepListProps, MigrateProjectVariablesWizardLayoutButtonsProps {\n busy?: Promise;\n errors?: Errors;\n content: React.ReactNode;\n}\nconst MigrateProjectVariablesWizardLayout: React.FC = (props: MigrateProjectVariablesWizardLayoutProps) => {\n return (} busy={props.busy} closeDialog={props.close}>\n \n
    \n {props.errors && ()}\n {props.content}\n
    \n
    );\n};\nMigrateProjectVariablesWizardLayout.displayName = \"MigrateProjectVariablesWizardLayout\"\ninterface MigrateProjectVariablesWizardStepListProps {\n currentPageIndex: number;\n pageCount: number;\n stepNames: string[];\n executionState: ExecutionState;\n}\nconst MigrateProjectVariablesWizardStepper: React.FC = (props: MigrateProjectVariablesWizardStepListProps) => {\n return (
    \n \n {props.stepNames.map((name, index) => {\n const isFinalStep = index === props.stepNames.length - 1;\n const error = isFinalStep && props.executionState === ExecutionState.Error;\n const completed = isFinalStep && props.executionState === ExecutionState.Success;\n const stepIconBaseProps = isFinalStep ? { error, completed } : {};\n const stepIconProps: Partial = {\n ...stepIconBaseProps,\n classes: {\n completed: styles.wizardIconStepCompleted,\n },\n };\n return (\n {name}\n );\n })}\n \n
    );\n};\nMigrateProjectVariablesWizardStepper.displayName = \"MigrateProjectVariablesWizardStepper\"\ninterface CanProgress {\n [key: number]: boolean;\n}\ninterface MigrateProjectVariablesWizardLayoutButtonsProps {\n currentPageIndex: number;\n canProgress: CanProgress;\n busy?: Promise;\n hasPreviousPage: boolean;\n hasNextPage: boolean;\n moveNext: () => void;\n movePrevious: () => void;\n close: () => void;\n executionState: ExecutionState;\n execute: () => void | Promise;\n}\nconst MigrateProjectVariablesWizardButtons: React.FC = (props: MigrateProjectVariablesWizardLayoutButtonsProps) => {\n const isOnFinalPage = !props.hasNextPage;\n const canProgressCurrentPage = props.canProgress[props.currentPageIndex] === undefined || props.canProgress[props.currentPageIndex];\n return (\n {props.executionState === ExecutionState.NotStarted && }\n {props.executionState === ExecutionState.NotStarted && props.hasPreviousPage && }\n {isOnFinalPage && props.executionState === ExecutionState.NotStarted && }\n {isOnFinalPage && props.executionState === ExecutionState.Executing && }\n {isOnFinalPage && props.executionState === ExecutionState.Success && }\n {isOnFinalPage && props.executionState === ExecutionState.Error && }\n {!isOnFinalPage && {(busy) => }}\n );\n};\nMigrateProjectVariablesWizardButtons.displayName = \"MigrateProjectVariablesWizardButtons\"\nexport default MigrateProjectVariablesWizard;\n","import { ActionButton, ActionButtonType, Callout } from \"@octopusdeploy/design-system-components\";\nimport type { ProjectResource } from \"@octopusdeploy/octopus-server-client\";\nimport { HasVariablesInGit, HasGitPersistenceSettings } from \"@octopusdeploy/octopus-server-client\";\nimport cn from \"classnames\";\nimport * as React from \"react\";\nimport { useState } from \"react\";\nimport { Action, useProjectScopedAnalyticActionDispatch } from \"~/analytics/Analytics\";\nimport { useProjectContext } from \"~/areas/projects/context\";\nimport CustomDialog from \"~/components/Dialog/CustomDialog\";\nimport MigrateProjectVariablesWizard from \"./MigrateProjectVariablesDialog\";\nimport styles from \"./style.module.less\";\ninterface NewFeatureCalloutTitleProps {\n title: string;\n}\nconst NewFeatureCalloutTitle: React.FC = (props: NewFeatureCalloutTitleProps) => {\n return (<>\n {props.title}\n );\n};\nNewFeatureCalloutTitle.displayName = \"NewFeatureCalloutTitle\"\nconst NewFeatureChip: React.FC<{}> = () => {\n const iconClassName = `fa-solid fa-star`;\n const iconClass = styles.icon + \" \" + iconClassName;\n return (\n \n New\n );\n};\nNewFeatureChip.displayName = \"NewFeatureChip\"\ninterface MigrageProjectVariablesToGitProps {\n project?: ProjectResource;\n}\nconst MigrateProjectVariablesBanner: React.FC = (props: MigrageProjectVariablesToGitProps) => {\n const [dialogOpen, setDialogOpen] = useState(false);\n const projectContext = useProjectContext();\n const project = projectContext.state.model;\n const dispatchAction = useProjectScopedAnalyticActionDispatch(projectContext.state.model.Id);\n // If this is a database project, or variables are already in Git, don't show the banner\n if (!HasGitPersistenceSettings(project.PersistenceSettings) || HasVariablesInGit(project.PersistenceSettings)) {\n return <>;\n }\n const openDialogWithAnalytics = () => {\n dispatchAction(\"Start Moving Variables to Git\", { resource: \"Variables\", action: Action.Configure });\n setDialogOpen(true);\n };\n return (}>\n

    Variables can now be stored in your Git repository alongside your deployment process.

    \n openDialogWithAnalytics()}/>\n setDialogOpen(false)} render={(props) => }/>\n
    );\n};\nMigrateProjectVariablesBanner.displayName = \"MigrateProjectVariablesBanner\"\nexport default MigrateProjectVariablesBanner;\n","/* eslint-disable @typescript-eslint/no-non-null-assertion */\nimport type { PageAction, PrimaryPageAction, SimpleMenuItem } from \"@octopusdeploy/design-system-components\";\n/* eslint-disable @typescript-eslint/no-explicit-any */\nimport { logger } from \"@octopusdeploy/logging\";\nimport { Permission, canCommitTo, HasVariablesInGit, isGitBranchResource, TenantedDeploymentMode, VariableType } from \"@octopusdeploy/octopus-server-client\";\nimport type { GitBranchResource, GitRefResource, ProjectResource, VariableResource, VariableSetResource } from \"@octopusdeploy/octopus-server-client\";\nimport { links } from \"@octopusdeploy/portal-routes\";\nimport type { Dictionary } from \"lodash\";\nimport * as React from \"react\";\nimport type { ActionEvent, AnalyticActionDispatcher, AnalyticTrackedActionDispatcher } from \"~/analytics/Analytics\";\nimport { Action, useProjectScopedAnalyticActionDispatch, useProjectScopedAnalyticTrackedActionDispatch } from \"~/analytics/Analytics\";\nimport { ProjectGitHubAppAuthCheck } from \"~/areas/library/components/GitConnections/GitHubAppAuthCheck\";\nimport { SampleProjectTourContext } from \"~/areas/projects/components/ProjectLayout/SampleProjectTour/SampleProjectTour\";\nimport type { SampleProjectTourContextProps } from \"~/areas/projects/components/ProjectLayout/SampleProjectTour/SampleProjectTour\";\nimport { ProjectPageTitleAccessory } from \"~/areas/projects/components/ProjectPageTitleAccessory\";\nimport NoProjectVariablesOnboardingPage from \"~/areas/projects/components/Variables/ProjectVariables/NoProjectVariablesOnboardingPage\";\nimport { GitCallouts } from \"~/areas/projects/components/VersionControl/GitCallouts\";\nimport type { ProjectContextProps } from \"~/areas/projects/context\";\nimport { useProjectContext } from \"~/areas/projects/context\";\nimport VariableEditor from \"~/areas/variables/VariableEditor/VariableEditor\";\nimport { default as VariableSaveConfirmationDialog } from \"~/areas/variables/VariableSaveConfirmationDialog/VariableSaveConfirmationDialog\";\nimport { repository } from \"~/clientInstance\";\nimport type { PrimarySavePageAction } from \"~/components/FormPaperLayout/LegacyForm\";\nimport { LegacyForm } from \"~/components/FormPaperLayout/LegacyForm\";\nimport { PageContent } from \"~/components/PageContent/PageContent\";\nimport { isAllowed } from \"~/components/PermissionCheck/PermissionCheck\";\nimport TransitionAnimation from \"~/components/TransitionAnimation/TransitionAnimation\";\nimport { useRequiredContext } from \"~/hooks/index\";\nimport DateFormatter from \"~/utils/DateFormatter/DateFormatter\";\nimport IdHelper from \"~/utils/IdHelper/index\";\nimport { timeOperationOptions } from \"~/utils/OperationTimer/timeOperation\";\nimport FormBaseComponent from \"../../../../../components/FormBaseComponent\";\nimport type { OptionalFormBaseComponentState } from \"../../../../../components/FormBaseComponent/FormBaseComponent\";\nimport type { ReadonlyVariableResource } from \"../../../../variables/ReadonlyVariableResource\";\nimport { createDialogContent, createViewModel, getVariableResources } from \"../../../../variables/VariableEditor/conversions\";\nimport type { VariableSaveConfirmationContent } from \"../../../../variables/VariableSaveConfirmationDialog/VariableSaveConfirmationDialog\";\nimport type { VariableModel } from \"../../../../variables/VariablesModel/VariablesModel\";\nimport groupVariablesByName from \"../../../../variables/groupVariablesByName\";\nimport type { GetCommitButtonProps } from \"../../VersionControl/CommitButton\";\nimport { GetCommitButton } from \"../../VersionControl/CommitButton\";\nimport type { CommitMessageWithDetails } from \"../../VersionControl/CommitMessageWithDetails\";\nimport { getFormattedCommitMessage } from \"../../VersionControl/CommitMessageWithDetails\";\nimport MigrateProjectVariablesBanner from \"./MigrateProjectVariablesToGit/MigrateProjectVariablesBanner\";\ninterface ProjectVariablesState extends OptionalFormBaseComponentState {\n variableSet?: VariableSetResource;\n sensitiveVariableSet?: VariableSetResource;\n project?: ProjectResource;\n model?: ProjectVariablesModel;\n dialogContent?: VariableSaveConfirmationContent;\n newBranch?: GitBranchResource;\n initialVariables?: ReadonlyArray;\n groupedVariableResources?: Dictionary;\n cellFocusResetKey: string;\n disableDirtyFormChecking?: boolean;\n commitMessage: CommitMessageWithDetails;\n hasSteps: boolean;\n showOnboardingPage: boolean;\n}\ninterface ProjectVariablesModel {\n readonly variables: ReadonlyArray;\n}\ntype ProjectVariablesInternalProps = {\n projectContext: ProjectContextProps;\n trackAction: AnalyticTrackedActionDispatcher;\n onboardingContext?: SampleProjectTourContextProps;\n dispatchAction: AnalyticActionDispatcher;\n};\nclass ProjectVariablesInternal extends FormBaseComponent {\n private openCommitDialog?: () => void;\n constructor(props: ProjectVariablesInternalProps) {\n super(props);\n this.state = {\n cellFocusResetKey: DateFormatter.timestamp(),\n commitMessage: { summary: \"\", details: \"\" },\n hasSteps: false,\n showOnboardingPage: true,\n };\n }\n async componentDidMount() {\n await this.reload();\n }\n async componentDidUpdate(prevProps: ProjectVariablesInternalProps) {\n if (prevProps.projectContext.state.gitRef !== this.props.projectContext.state.gitRef) {\n await this.reload();\n }\n }\n private reload = async () => await this.doBusyTask(async () => {\n const { model: project, projectContextRepository } = this.props.projectContext.state;\n const variableSet = await this.props.projectContext.state.projectContextRepository.Variables.get();\n let hasSteps = false;\n try {\n const deploymentProcess = await projectContextRepository.DeploymentProcesses.get();\n hasSteps = deploymentProcess.Steps.length > 0;\n }\n catch (exception) {\n logger.error(exception, \"Failed to get deployment processes for {project}\", { project });\n }\n if (HasVariablesInGit(project.PersistenceSettings)) {\n const sensitiveVariableSet = await this.props.projectContext.state.projectContextRepository.Variables.getSensitive();\n this.resetState(project, hasSteps, variableSet, sensitiveVariableSet);\n }\n else {\n this.resetState(project, hasSteps, variableSet);\n }\n }, { timeOperationOptions: timeOperationOptions.forInitialLoad() });\n private getCommitButtonProps(primarySaveAction: PrimarySavePageAction): GetCommitButtonProps {\n return {\n hasPermission: { permission: Permission.ProjectEdit, project: this.props.projectContext.state.model.Id },\n gitRef: this.props.projectContext.state.gitRef?.CanonicalName,\n persistenceSettings: this.props.projectContext.state.model.PersistenceSettings,\n canCommitToGitRef: canCommitTo(this.props.projectContext.state.gitRef),\n defaultCommitMessage: \"Update variables\",\n commitMessage: this.state.commitMessage,\n updateCommitMessage: (commitMessage: CommitMessageWithDetails) => this.setState({ commitMessage }),\n commitMessageAccessibleName: \"Commit message for saving the variables\",\n commitDetailsAccessibleName: \"Commit details for saving the variables\",\n commitButtonAccessibleName: \"Commit changes to the variables\",\n onNewBranchCreating: (branchName) => this.saveVariablesToNewBranch(branchName),\n onInitializing: (openCommitDialog: () => void) => (this.openCommitDialog = openCommitDialog),\n label: primarySaveAction.label,\n busyLabel: primarySaveAction.busyLabel,\n onClick: primarySaveAction.onClick,\n disabled: primarySaveAction.disabled,\n };\n }\n private getOverflowActions(project?: ProjectResource): SimpleMenuItem[] {\n if (!project) {\n return [];\n }\n if (HasVariablesInGit(project.PersistenceSettings)) {\n return [\n {\n type: \"download-link\",\n label: \"Download Text as JSON\",\n href: this.props.projectContext.state.projectContextRepository.Variables.resolveResourceLink(),\n downloadFileName: `${project.Slug}-text-variables.json`,\n },\n {\n type: \"download-link\",\n label: \"Download Sensitive as JSON\",\n href: this.props.projectContext.state.projectContextRepository.Variables.resolveSensitiveResourceLink(),\n downloadFileName: `${project.Slug}-sensitive-variables.json`,\n },\n ];\n }\n return [\n {\n type: \"download-link\",\n label: \"Download as JSON\",\n href: this.props.projectContext.state.projectContextRepository.Variables.resolveResourceLink(),\n downloadFileName: `${project.Slug}-variables.json`,\n },\n ];\n }\n render() {\n const overflowActions = this.getOverflowActions(this.state.project);\n const gitVariables = this.state.project ? HasVariablesInGit(this.state.project.PersistenceSettings) : false;\n const onSaveClick = async (isNavigationConfirmation?: boolean | undefined, onSavedCallback?: (() => void) | undefined, newBranch?: GitRefResource | undefined, commitMessage?: CommitMessageWithDetails | undefined) => {\n if (newBranch !== undefined && !isGitBranchResource(newBranch)) {\n return;\n }\n const newBranchResource: GitBranchResource | undefined = newBranch;\n if (isNavigationConfirmation && this.openCommitDialog && gitVariables) {\n this.openCommitDialog();\n }\n else {\n const dialogContent = createDialogContent(this.state.model!.variables, this.state.initialVariables!, this.state.variableSet!.Variables);\n if (dialogContent && dialogContent.hasContent) {\n this.setState({ dialogContent, newBranch: newBranchResource });\n }\n else {\n await this.doBusyTask(() => this.saveVariables(newBranchResource));\n if (onSavedCallback) {\n onSavedCallback();\n }\n }\n }\n };\n const pageActions: PageAction[] = [];\n const { dispatchAction } = this.props;\n const createReleaseIsAllowed = this.state.hasSteps || this.state.project?.IsVersionControlled;\n if (this.state.project && createReleaseIsAllowed) {\n const createReleaseButton: PageAction = {\n type: \"navigate\",\n buttonType: \"secondary\",\n label: \"Create Release\",\n path: links.createReleasePage.generateUrl({ spaceId: this.state.project.SpaceId, projectSlug: this.state.project.Slug }),\n onClick: () => dispatchAction(\"Create a release\", { resource: \"Create Release\", action: Action.Add }),\n hasPermissions: isAllowed({ permission: Permission.ReleaseCreate, project: this.state.project.Id, tenant: \"*\" }),\n };\n pageActions.push(createReleaseButton);\n }\n const showOnboarding = this.state.showOnboardingPage && this.state.initialVariables?.length === 0;\n if (showOnboarding) {\n return ( }} errors={this.errors} busy={this.state.busy}>\n {\n this.setState({ showOnboardingPage: false });\n }} gitRefResource={this.props.projectContext.state.gitRef}/>\n );\n }\n return (\n {({ FormContent, createSaveAction }) => (,\n }} callout={{\n type: \"custom\",\n content: (<>\n \n \n \n ),\n }}>\n \n {this.state.model && (\n this.setState({ model: { variables } })} cellFocusResetKey={this.state.cellFocusResetKey} scope=\"Project\" gitVariables={gitVariables}/>\n this.setState({ dialogContent: null! })} onSaveClick={() => this.saveVariables(this.state.newBranch)}/>\n )}\n \n )}\n );\n }\n private getCommitButtonPrimaryAction = (defaultPrimaryAction: PrimarySavePageAction): PrimaryPageAction => {\n return { type: \"custom\", content: , key: \"Get Commit\" };\n };\n private isProjectTenanted() {\n return this.state.project ? this.state.project.TenantedDeploymentMode !== TenantedDeploymentMode.Untenanted : false;\n }\n private resetState(project: ProjectResource, hasSteps: boolean, variableSet: VariableSetResource, sensitiveVariableSet?: VariableSetResource) {\n const allVariables = [...variableSet.Variables];\n if (sensitiveVariableSet) {\n allVariables.push(...sensitiveVariableSet.Variables);\n }\n const groupedVariableResources = groupVariablesByName(allVariables, (v) => v.Name);\n const variables = createViewModel(groupedVariableResources);\n const model: ProjectVariablesModel = { variables };\n this.setState({\n project,\n hasSteps,\n variableSet,\n sensitiveVariableSet,\n groupedVariableResources,\n initialVariables: [...variables],\n model,\n cleanModel: { ...model },\n cellFocusResetKey: DateFormatter.timestamp(),\n showOnboardingPage: variables.length === 0,\n });\n setTimeout(() => {\n if (allVariables.length <= 0) {\n this.props.onboardingContext?.variablePageLoadedWithNoDataLeft();\n return;\n }\n this.props.onboardingContext?.continueSampleProjectTour();\n }, 300);\n }\n async saveVariablesToNewBranch(branchName: string) {\n if (!this.state.project) {\n throw \"Can not save if there is no project configured\";\n }\n this.setState({ disableDirtyFormChecking: true });\n const newBranch = await repository.ProjectBranches.createBranch(this.props.projectContext.state.model.Id, branchName, this.props.projectContext.state.gitRef?.CanonicalName ?? \"\");\n await this.saveVariables(newBranch);\n this.props.projectContext.actions.changeGitRef(newBranch.Name);\n this.setState({ disableDirtyFormChecking: false });\n }\n async saveVariables(newBranch?: GitBranchResource) {\n const oldVariableCount = this.state.variableSet!.Variables.length;\n const variables = getVariableResources(this.state.model!.variables, this.state.groupedVariableResources!);\n const newVariableCount = variables.length;\n const actionMeta = oldVariableCount < newVariableCount ? \"Added variables\" : oldVariableCount === newVariableCount ? \"Modified variables\" : \"Delete variables\";\n const actionEvent: ActionEvent = {\n action: Action.Save,\n resource: \"Variables\",\n actionMeta: actionMeta,\n };\n const project = this.props.projectContext.state.model;\n if (HasVariablesInGit(project.PersistenceSettings)) {\n await this.saveVariablesGit(project, variables, actionEvent, newBranch);\n }\n else {\n await this.saveVariablesDatabase(project, variables, actionEvent);\n }\n }\n private async saveVariablesDatabase(project: ProjectResource, variables: VariableResource[], actionEvent: ActionEvent) {\n actionEvent.action = Action.Save;\n await this.props.trackAction(\"Save Project Variables\", actionEvent, async () => {\n const repository = this.props.projectContext.state.projectContextRepository;\n const variableSet = await repository.Variables.modify({ ...this.state.variableSet!, Variables: variables });\n this.resetState(project, this.state.hasSteps, variableSet);\n });\n }\n private async saveVariablesGit(project: ProjectResource, variables: VariableResource[], actionEvent: ActionEvent, newBranch?: GitBranchResource) {\n actionEvent.action = Action.Commit;\n actionEvent.isDefaultBranch = this.props.projectContext.state.isDefaultBranch;\n actionEvent.commitMessage = this.state.commitMessage.summary.length > 0;\n await this.props.trackAction(\"Save Project Variables\", actionEvent, async () => {\n const textVariables = variables.filter((variable) => variable.Type !== VariableType.Sensitive);\n const sensitiveVariables = variables.filter((variable) => variable.Type === VariableType.Sensitive);\n this.createNewIdForUpdatedToSensitive(sensitiveVariables);\n let variableSet = this.state.variableSet!;\n if (newBranch) {\n variableSet = {\n ...variableSet,\n Links: {\n ...variableSet.Links,\n Self: newBranch.Links.Variables,\n },\n };\n }\n const repository = this.props.projectContext.state.projectContextRepository;\n const formattedCommitMessage = getFormattedCommitMessage(this.state.commitMessage, \"Update variables\");\n variableSet = await repository.Variables.modify({ ...variableSet, Variables: textVariables, ChangeDescription: formattedCommitMessage });\n const sensitiveVariableSet = await repository.Variables.modify({ ...this.state.sensitiveVariableSet!, Variables: sensitiveVariables });\n this.resetState(project, this.state.hasSteps, variableSet, sensitiveVariableSet);\n });\n }\n private createNewIdForUpdatedToSensitive(sensitiveVariables: VariableResource[]) {\n // Create new ID for variables that have been changed to sensitive so that they can be saved to the server without conflicts.\n // See https://app.shortcut.com/octopusdeploy/story/75424/conflicts-with-cac-variables-and-sensitive-variables-requested-by-finnian-dempsey\n // and https://github.com/OctopusDeploy/Issues/issues/8733\n const initialVariableIdsAndType: Record = {};\n this.state?.initialVariables?.forEach((variable) => {\n variable.values.forEach((value) => {\n initialVariableIdsAndType[value.Id] = value.Type;\n });\n });\n sensitiveVariables.forEach((variable) => {\n if (initialVariableIdsAndType[variable.Id] !== undefined && initialVariableIdsAndType[variable.Id] !== VariableType.Sensitive) {\n variable.Id = IdHelper.newId();\n }\n });\n }\n static displayName = \"ProjectVariablesInternal\";\n}\nfunction ProjectVariables() {\n const projectContext = useProjectContext();\n const onboardingContext = useRequiredContext(SampleProjectTourContext);\n const trackAction = useProjectScopedAnalyticTrackedActionDispatch(projectContext.state.model.Id);\n const dispatchAction = useProjectScopedAnalyticActionDispatch(projectContext.state.model.Id);\n return ;\n}\nexport default ProjectVariables;\n","import { css } from \"@emotion/css\";\nimport { Callout } from \"@octopusdeploy/design-system-components\";\nimport { themeTokens } from \"@octopusdeploy/design-system-tokens\";\nimport type { GetProjectsAffectedByChangeBffResponse, IIdName } from \"@octopusdeploy/octopus-server-client\";\nimport pluralize from \"pluralize\";\nimport * as React from \"react\";\nimport { DataBaseComponent, type DataBaseComponentState } from \"~/components/DataBaseComponent/index\";\nimport SaveDialogLayout from \"~/components/DialogLayout/SaveDialogLayout\";\ninterface AffectedProjectsNotificationDialogProps {\n affectedProjects: GetProjectsAffectedByChangeBffResponse | null;\n onSave: () => Promise;\n onCancel: () => void;\n}\nexport default class AffectedProjectsNotificationDialog extends DataBaseComponent {\n constructor(props: AffectedProjectsNotificationDialogProps) {\n super(props);\n this.state = {};\n }\n render() {\n return (\n \n \n \n );\n }\n static displayName = \"AffectedProjectsNotificationDialog\";\n}\ninterface AffectedProjectsNotificationProps {\n affected: GetProjectsAffectedByChangeBffResponse | null;\n}\nfunction AffectedProjectsNotification({ affected }: AffectedProjectsNotificationProps) {\n if (!affected) {\n return null;\n }\n return (<>\n
    \n Saving these variable values will affect {affected.TotalCount} {pluralize(`other project`, affected.TotalCount)}:\n
    \n \n \n );\n}\ninterface DisplayedProjectsProps {\n projects: IIdName[];\n}\nfunction DisplayedProjects({ projects }: DisplayedProjectsProps) {\n return (
      \n {projects.map((p) => (
    • {p.Name}
    • ))}\n
    );\n}\ninterface HiddenProjectsProps {\n count: number;\n}\nfunction HiddenProjects({ count }: HiddenProjectsProps) {\n if (count > 0) {\n return (
    \n + {count} {pluralize(`more project`, count)}{\" \"}\n
    );\n }\n return null;\n}\nconst styles = {\n title: css({\n color: themeTokens.color.text.secondary,\n fontWeight: \"600\",\n }),\n projectNames: css({\n margin: \"0\",\n listStylePosition: \"inside\",\n listStyleType: \"disc\",\n }),\n};\n","import { css } from \"@emotion/css\";\nimport { PenLineIcon } from \"@octopusdeploy/design-system-icons\";\nimport { space, themeTokens } from \"@octopusdeploy/design-system-tokens\";\nimport * as React from \"react\";\nexport default function ChangedValueIndicator({ show }: {\n show: boolean;\n}) {\n if (!show) {\n return null;\n }\n return (
    \n \n
    );\n}\nconst styles = {\n editIcon: css({\n color: themeTokens.color.icon.secondary,\n paddingLeft: space[8],\n }),\n};\n","import type { PropertyValueResource } from \"@octopusdeploy/octopus-server-client\";\nimport { isSensitiveValue } from \"@octopusdeploy/octopus-server-client\";\nimport { isEqual } from \"lodash\";\nimport React from \"react\";\nimport { Note } from \"~/components/form\";\ninterface DefaultValueIndicatorProps {\n value: PropertyValueResource | undefined;\n defaultValue: PropertyValueResource | undefined;\n onChange: (newValue: string | undefined) => void;\n}\nconst ResetValueText = \"Reset to default\";\nconst ValueIsInheritedFromTemplateText = \"Inheriting default value from the variable template.\";\nconst ValueMatchesDefaultText = \"This value matches the default value in the variable template, but overrides it because it has been set here.\";\nclass DefaultValueIndicator extends React.Component {\n render() {\n const { value, defaultValue } = this.props;\n if (defaultValue === undefined || defaultValue === \"\") {\n return null;\n }\n if (value === undefined || value === null) {\n return {ValueIsInheritedFromTemplateText};\n }\n const resetValueButton = ( {\n e.preventDefault();\n if (this.props.onChange) {\n this.props.onChange(undefined);\n }\n }}>\n {ResetValueText}\n );\n // don't attempt to compare sensitive values\n // we don't want any indication that sensitive values match\n if (isSensitiveValue(value) || isSensitiveValue(defaultValue)) {\n return {resetValueButton};\n }\n if (isValueSameAsDefault(value, defaultValue)) {\n return (\n {ValueMatchesDefaultText} {resetValueButton}\n );\n }\n return {resetValueButton};\n }\n static displayName = \"DefaultValueIndicator\";\n}\nfunction isValueSameAsDefault(value: PropertyValueResource | undefined, defaultValue: PropertyValueResource | undefined) {\n // If no default value is entered, its value ends up being \"\"\n // While the typing suggests that the value could also be `undefined` or `null`, I'm not sure this can actually occur in practice\n if (defaultValue === undefined || defaultValue === null || defaultValue === \"\")\n return false;\n return isEqual(value, defaultValue);\n}\nexport default DefaultValueIndicator;\nexport { DefaultValueIndicatorProps, ResetValueText, ValueIsInheritedFromTemplateText, ValueMatchesDefaultText };\n","/* eslint-disable @typescript-eslint/consistent-type-assertions */\nimport { css } from \"@emotion/css\";\nimport type { AccountType, CertificateResource, PropertyValueResource, SensitiveValue, TenantVariableTemplateResource, WorkerPoolResource, AccountResource } from \"@octopusdeploy/octopus-server-client\";\nimport { ControlType, isSensitiveValue } from \"@octopusdeploy/octopus-server-client\";\nimport * as React from \"react\";\nimport AmazonWebServicesAccountInput from \"~/components/ControlInputs/AmazonWebServicesAccountInput\";\nimport AzureAccountInput from \"~/components/ControlInputs/AzureAccountInput\";\nimport CertificateInput from \"~/components/ControlInputs/CertificateInput\";\nimport CheckboxInput from \"~/components/ControlInputs/CheckboxInput\";\nimport GoogleCloudAccountInput from \"~/components/ControlInputs/GoogleCloudAccountInput\";\nimport MultiLineTextInput from \"~/components/ControlInputs/MultiLineTextInput\";\nimport SelectInput from \"~/components/ControlInputs/SelectInput\";\nimport SensitiveInput from \"~/components/ControlInputs/SensitiveInput\";\nimport SingleLineTextInput from \"~/components/ControlInputs/SingleLineTextInput\";\nimport UsernamePasswordAccountInput from \"~/components/ControlInputs/UsernamePasswordAccountInput\";\nimport WorkerPoolInput from \"~/components/ControlInputs/WorkerPoolInput\";\nimport { DebounceText } from \"~/primitiveComponents/form/Text/Text\";\nimport selectOptionsToItems from \"../../primitiveComponents/form/Select/Options\";\nimport type FormFieldProps from \"../form/FormFieldProps\";\nimport DefaultValueIndicator from \"./DefaultValueIndicator\";\nexport interface SourceItems {\n accounts: {\n type: AccountType | AccountType[];\n items: AccountResource[];\n onRequestRefresh(): Promise;\n };\n certificates: {\n items(): Promise;\n onRequestRefresh(): Promise;\n };\n workerPools: {\n items(): Promise;\n onRequestRefresh(): Promise;\n };\n tenantId: string;\n}\ninterface TenantVariableInputProps extends FormFieldProps {\n variableTemplate: TenantVariableTemplateResource;\n localNames?: string[];\n sourceItems: SourceItems;\n disabled?: boolean;\n error?: string;\n warning?: string;\n actionType?: string;\n hideSearch?: boolean; // where applicable, hide search button which opens a new dialog\n validate?: ((value: string) => string) | ((value: string | null) => string);\n onValidate?(value: string): void;\n doBusyTask(action: () => Promise): Promise;\n hideLabel?: boolean;\n autoFocus?: boolean;\n}\nclass TenantVariableInput extends React.Component {\n render() {\n return
    {this.getInputControl()}
    ;\n }\n private getInputControl = () => {\n const { value, localNames, sourceItems, error, warning, actionType, doBusyTask, variableTemplate, hideSearch, hideLabel, ...rest } = this.props;\n const type = variableTemplate.DisplaySettings[\"Octopus.ControlType\"];\n const label = hideLabel ? \"\" : variableTemplate.Label || variableTemplate.Name;\n const formProps = { ...rest, label };\n const defaultValue = variableTemplate.DefaultValue;\n const defaultValueIndicator = ;\n const valueOrDefault = this.getValueOrDefault(value, defaultValue) as string;\n switch (type) {\n case ControlType.SingleLineText:\n return ;\n case ControlType.MultiLineText:\n return ;\n case ControlType.Select: {\n const options = selectOptionsToItems(variableTemplate.DisplaySettings[\"Octopus.SelectOptions\"]);\n const allowClear = variableTemplate.AllowClear !== undefined ? variableTemplate.AllowClear : true;\n return ();\n }\n case ControlType.Checkbox:\n return ;\n case ControlType.Sensitive:\n return ;\n case ControlType.Certificate:\n return ();\n case ControlType.WorkerPool:\n return ();\n case ControlType.AmazonWebServicesAccount:\n return ();\n case ControlType.AzureAccount:\n return ();\n case ControlType.GoogleCloudAccount:\n return ();\n case ControlType.UsernamePasswordAccount:\n return ();\n default:\n return (\n \n {defaultValueIndicator}\n );\n }\n };\n private getValueOrDefault(value: PropertyValueResource | undefined, defaultValue: PropertyValueResource | undefined): PropertyValueResource | undefined {\n if (isSensitiveValue(defaultValue))\n return value;\n return value !== undefined && value !== null ? value : defaultValue;\n }\n static displayName = \"TenantVariableInput\";\n}\nconst styles = {\n container: css({\n width: \"100%\",\n }),\n};\nexport default TenantVariableInput;\nexport { TenantVariableInputProps };\n","import { css } from \"@emotion/css\";\nimport { space } from \"@octopusdeploy/design-system-tokens\";\nimport type { PropertyValueResource, ActionTemplateParameterResource } from \"@octopusdeploy/octopus-server-client\";\nimport * as React from \"react\";\nimport type { CommonTemplatesValueChangeTracker, CommonTemplatesValueKey } from \"~/areas/projects/components/Variables/TenantVariables/useCommonTemplatesValueChangeTracker\";\nimport type { DoBusyTask } from \"~/components/DataBaseComponent/index\";\nimport type { SourceItems } from \"~/components/TenantVariableInput/TenantVariableInput\";\nimport TenantVariableInput from \"~/components/TenantVariableInput/TenantVariableInput\";\ninterface CommonTemplateValueEditProps {\n template: ActionTemplateParameterResource;\n value: PropertyValueResource | undefined;\n sourceItems: SourceItems;\n doBusyTask: DoBusyTask;\n valueTracker: CommonTemplatesValueChangeTracker;\n valueKey: CommonTemplatesValueKey;\n bindableTemplateNames: string[];\n initialValue: PropertyValueResource | undefined;\n}\nexport default function CommonTemplateValueEdit({ template, value, sourceItems, doBusyTask, valueTracker, valueKey, bindableTemplateNames, initialValue }: CommonTemplateValueEditProps) {\n const handleChange = (newValue: PropertyValueResource | undefined) => {\n if (newValue === initialValue) {\n valueTracker.remove(valueKey);\n }\n else {\n valueTracker.set(valueKey, newValue);\n }\n };\n return (
    \n handleChange(newValue)} hideSearch={true} autoFocus={true}/>\n
    );\n}\nconst editStyles = {\n container: css({\n padding: `${space[12]} ${space[12]} ${space[4]} ${space[12]}`,\n }),\n};\n","import { css } from \"@emotion/css\";\nimport { Tooltip } from \"@octopusdeploy/design-system-components\";\nimport { InfoCircleIcon } from \"@octopusdeploy/design-system-icons\";\nimport { themeTokens } from \"@octopusdeploy/design-system-tokens\";\nimport * as React from \"react\";\nexport default function DefaultValueIndicator({ show }: {\n show: boolean;\n}) {\n if (!show) {\n return null;\n }\n return (\n
    \n \n
    \n
    );\n}\nconst styles = {\n editIcon: css({\n color: themeTokens.color.icon.tertiary, // Don't attract attention to this icon\n }),\n};\n","import { css } from \"@emotion/css\";\nimport { space } from \"@octopusdeploy/design-system-tokens\";\nimport type { ActionTemplateParameterResource, PropertyValueResource, VariableType, WorkerPoolResource } from \"@octopusdeploy/octopus-server-client\";\nimport * as React from \"react\";\nimport ChangedValueIndicator from \"~/areas/projects/components/Variables/TenantVariables/ChangedValueIndicator\";\nimport CommonTemplateValueEdit from \"~/areas/projects/components/Variables/TenantVariables/CommonTemplateValueEdit\";\nimport DefaultValueIndicator from \"~/areas/projects/components/Variables/TenantVariables/DefaultValueIndicator\";\nimport ReadonlyInlineVariableValue from \"~/areas/projects/components/Variables/TenantVariables/ReadonlyInlineVariableValue\";\nimport type { CommonTemplatesValueChangeTracker, CommonTemplatesValueKey } from \"~/areas/projects/components/Variables/TenantVariables/useCommonTemplatesValueChangeTracker\";\nimport type { LoadedSourceItems } from \"~/areas/projects/components/Variables/TenantVariables/useTenantVariableResourceOptions\";\nimport type { DoBusyTask } from \"~/components/DataBaseComponent/index\";\nimport type { PopoverPosition } from \"~/components/PopoverWhenFocused/PopoverWhenFocused\";\nimport PopoverWhenFocused from \"~/components/PopoverWhenFocused/index\";\ninterface CommonTemplateValueCellProps {\n template: ActionTemplateParameterResource;\n accounts: {\n [accountId: string]: string;\n };\n certificates: {\n [certificateId: string]: string;\n };\n workerPools: {\n [workerPoolId: string]: WorkerPoolResource;\n };\n value: PropertyValueResource | undefined;\n valueType: VariableType;\n sourceItems: LoadedSourceItems;\n doBusyTask: DoBusyTask;\n valueTracker: CommonTemplatesValueChangeTracker;\n valueKey: CommonTemplatesValueKey;\n focused: boolean;\n onFocus: () => void;\n onBlur: () => void;\n bindableTemplateNames: string[];\n hasEditPermissions: boolean;\n hasValueChanged: boolean;\n initialValue: PropertyValueResource | undefined;\n}\nexport default function CommonTemplateValueInlineCell({ template, value, valueType, accounts, certificates, workerPools, sourceItems, doBusyTask, valueTracker, valueKey, focused, onFocus, onBlur, bindableTemplateNames, hasEditPermissions, hasValueChanged, initialValue, }: CommonTemplateValueCellProps) {\n return hasEditPermissions ? () : ();\n}\ninterface CommonTemplateValueEditableCellProps extends CommonTemplateValueCellProps {\n hasEditPermissions: boolean;\n}\nfunction CommonTemplateValueEditableCell({ template, value, valueType, accounts, certificates, workerPools, sourceItems, doBusyTask, valueTracker, valueKey, focused, onFocus, onBlur, hasEditPermissions, bindableTemplateNames, hasValueChanged, initialValue, }: CommonTemplateValueEditableCellProps) {\n const calculateFocusedPopoverPosition = (): PopoverPosition => {\n // Assumes parent's padding, How to retrieve padding values from the parent\n return {\n top: -12,\n left: 0,\n right: 0,\n };\n };\n return (
    \n \n {focused ? () : ()}\n \n
    );\n}\ninterface CommonTemplateValueReadonlyCellProps {\n template: ActionTemplateParameterResource;\n value: PropertyValueResource | undefined;\n valueType: VariableType;\n accounts: {\n [accountId: string]: string;\n };\n certificates: {\n [certificateId: string]: string;\n };\n workerPools: {\n [workerPoolId: string]: WorkerPoolResource;\n };\n hasEditPermissions: boolean;\n sourceItems: LoadedSourceItems;\n hasValueChanged: boolean;\n}\nfunction CommonTemplateValueReadonlyCell({ template, value, valueType, accounts, certificates, workerPools, hasEditPermissions, sourceItems, hasValueChanged }: CommonTemplateValueReadonlyCellProps) {\n const hasDefaultValue = !!(!value && template.DefaultValue);\n return (
    \n \n \n \n
    );\n}\nconst cellStyles = {\n container: css({\n display: \"flex\",\n alignItems: \"center\",\n width: \"100%\",\n height: \"4rem\",\n }),\n readonlyContainer: css({\n display: \"flex\",\n justifyContent: \"space-between\",\n alignItems: \"center\",\n gap: space[8],\n width: \"100%\",\n height: \"100%\",\n padding: `${space[8]} ${space[12]}`,\n }),\n};\n","import { css } from \"@emotion/css\";\nimport { borderWidth, fontSize, fontWeight, space, text, themeTokens } from \"@octopusdeploy/design-system-tokens\";\nexport const styles = {\n loading: css({\n display: \"flex\",\n justifyContent: \"center\",\n }),\n templateInfo: css({\n display: \"flex\",\n flexDirection: \"column\",\n gap: space[2],\n }),\n templateName: css({\n display: \"flex\",\n gap: space[6],\n alignItems: \"center\",\n }),\n value: css({\n color: themeTokens.color.text.disabled,\n display: \"flex\",\n alignItems: \"center\",\n gap: space[8],\n }),\n missingValue: css({\n display: \"flex\",\n alignItems: \"center\",\n gap: space[8],\n color: themeTokens.color.text.secondary,\n }),\n sidebarContainer: css({\n paddingTop: space[12],\n overflowY: \"auto\",\n }),\n sidebar30Height: css({\n maxHeight: \"137rem\",\n }),\n sidebar50Height: css({\n maxHeight: \"222rem\",\n }),\n sidebar100Height: css({\n maxHeight: \"430rem\",\n }),\n sidebarRow: css({\n display: \"flex\",\n justifyContent: \"space-between\",\n alignItems: \"center\",\n padding: `${space[12]} 0 ${space[12]} ${space[16]}`,\n cursor: \"pointer\",\n \"&:hover\": {\n backgroundColor: themeTokens.color.background.primary.hovered,\n },\n font: text.body.bold.large,\n }),\n sidebarFilter: css({\n display: \"flex\",\n paddingLeft: space[16],\n flexDirection: \"row\",\n alignItems: \"center\",\n }),\n sidebarNameContainer: css({\n display: \"flex\",\n alignItems: \"center\",\n gap: space[8],\n }),\n sidebarName: css({\n wordBreak: \"break-word\",\n }),\n sidebarSelectedName: css({\n color: themeTokens.color.text.selected,\n }),\n sidebarLabel: css({\n font: text.body.regular.small,\n color: themeTokens.color.text.tertiary,\n }),\n filterContainer: css({\n display: \"flex\",\n gap: space[8],\n padding: space[16],\n }),\n actionButtonsContainer: css({\n paddingRight: space[4],\n }),\n filterSidebar: css({\n whiteSpace: \"nowrap\",\n padding: `0 ${space[4]}`,\n }),\n cellLabel: css({\n font: text.body.regular.small,\n color: themeTokens.color.text.tertiary,\n }),\n toolbarIconsContainer: css({\n display: \"inline-flex\",\n alignItems: \"center\",\n gap: \"1rem\",\n }),\n variablesOverflowMenu: css({\n display: \"flex\",\n justifyContent: \"flex-end\",\n }),\n variableSetHeader: css({\n font: text.body.regular.small,\n color: themeTokens.color.text.primary,\n fontWeight: fontWeight[700],\n fontSize: fontSize[\"base\"],\n }),\n};\nconst tableBorder = `${borderWidth[1]} solid ${themeTokens.color.border.primary}`;\nexport const tenantVariablesDataTable = css({\n width: \"100%\",\n backgroundColor: themeTokens.color.background.primary.default,\n borderSpacing: 0,\n th: {\n padding: space[16],\n textAlign: \"left\",\n font: text.body.regular.medium,\n position: \"relative\",\n \":not(:last-child)\": {\n \":after\": {\n content: \"''\",\n position: \"absolute\",\n height: \"50%\",\n right: 0,\n top: \"25%\",\n borderRight: tableBorder,\n },\n },\n },\n td: {\n borderTop: tableBorder,\n font: text.body.regular.medium,\n padding: `0 ${space[16]} 0 ${space[16]}`,\n verticalAlign: \"middle\",\n },\n});\nexport const pagingBarStyles = css({\n padding: \"0 1rem\",\n});\n","import { css, cx } from \"@emotion/css\";\nimport { List } from \"@octopusdeploy/design-system-components\";\nimport { space } from \"@octopusdeploy/design-system-tokens\";\nimport type { LibraryVariableSetInfo } from \"@octopusdeploy/octopus-server-client\";\nimport { Permission } from \"@octopusdeploy/octopus-server-client\";\nimport { links } from \"@octopusdeploy/portal-routes\";\nimport cn from \"classnames\";\nimport * as React from \"react\";\nimport { useState } from \"react\";\nimport type { ProjectTenantVariablesFilterState } from \"~/areas/projects/components/Variables/TenantVariables/FiltersBar\";\nimport { styles } from \"~/areas/projects/components/Variables/TenantVariables/styles\";\nimport MissingVariablesIcon from \"~/areas/tenants/MissingVariablesIcon/MissingVariablesIcon\";\nimport FilterSearchBox from \"~/components/FilterSearchBox/index\";\nimport MarkdownDescription from \"~/components/MarkdownDescription/index\";\nimport { OverflowMenu, OverflowMenuItems } from \"~/components/OverflowMenu/OverflowMenu\";\ninterface CommonTemplatesSidebarContentProps {\n variableSets: LibraryVariableSetInfo[];\n spaceId: string;\n pageSize: number;\n filterState: ProjectTenantVariablesFilterState;\n setFilterState: (filter: ProjectTenantVariablesFilterState) => void;\n missingValueVariableSetIds: Set;\n}\nexport default function CommonTemplatesSidebarContent({ variableSets, spaceId, pageSize, filterState, setFilterState, missingValueVariableSetIds }: CommonTemplatesSidebarContentProps) {\n const [variableSetFilterValue, setVariableSetFilterValue] = useState(\"\");\n const onRowClick = (id: string | undefined) => {\n setFilterState({\n ...filterState,\n filterByLibraryVariableSetId: id,\n pageNumber: 1,\n });\n };\n const sidebarMaxHeight = pageSize === 30 ? styles.sidebar30Height : pageSize === 50 ? styles.sidebar50Height : styles.sidebar100Height;\n return (
    \n
    \n \n
    \n {variableSetFilterValue === \"\" ? (
    onRowClick(undefined)}>\n All variable sets\n
    ) : null}\n t.Name.toLowerCase().includes(variableSetFilterValue.toLowerCase()))} renderRow={({ item: variableSet }) => ()}/>\n
    );\n}\ninterface CommonTemplatesSidebarRowProps {\n spaceId: string;\n variableSet: LibraryVariableSetInfo;\n onRowClick: (id: string | undefined) => void;\n isMissing: boolean;\n isSelected: boolean;\n}\nfunction CommonTemplatesSidebarRow({ spaceId, variableSet, onRowClick, isMissing, isSelected }: CommonTemplatesSidebarRowProps) {\n const menuItems = [\n OverflowMenuItems.navItem(\"Edit in variable sets\", links.editVariableSetPage.generateUrl({ spaceId, variableSetId: variableSet.Id }, { activeTab: \"variableTemplates\" }), {\n permission: Permission.LibraryVariableSetEdit,\n }),\n ];\n return (
    onRowClick(variableSet.Id)}>\n
    \n
    \n {variableSet.Name}\n \n
    \n \n
    \n
    \n \n
    \n
    );\n}\n// Common templates doesn't have an overflow icon next to the search filter, so we need to provide the padding on the right manually\nconst commonTemplatesSidebarFilter = css({\n paddingRight: space[16],\n});\n","import { css } from \"@emotion/css\";\nimport { noOp } from \"@octopusdeploy/utilities\";\nimport * as React from \"react\";\nimport URI from \"urijs\";\nimport CopyToClipboardButton from \"~/components/CopyToClipboardButton/index\";\nimport OpenDialogIconButton from \"~/components/Dialog/OpenDialogIconButton\";\nimport InfoDialogLayout from \"~/components/DialogLayout/InfoDialogLayout\";\nimport { Text } from \"~/components/form/index\";\nexport default function ShareFilterButton() {\n return (\n \n );\n}\nfunction ShareDialogLayout() {\n const currentUri = URI(window.location).valueOf();\n return (\n All users who have view permission to this page can view this filter.\n
    \n \n \n
    \n
    );\n}\nconst style = css({\n display: \"inline-flex\",\n alignItems: \"center\",\n width: \"100%\",\n});\n","import { text } from \"@octopusdeploy/design-system-tokens\";\nimport pluralize from \"pluralize\";\nimport * as React from \"react\";\nimport { styles } from \"~/areas/projects/components/Variables/TenantVariables/styles\";\nimport ShareFilterButton from \"~/components/ShareFilterButton/ShareFilterButton\";\ninterface FilterActionsProps {\n unsavedChanges?: number;\n}\nexport function FilterActions({ unsavedChanges }: FilterActionsProps) {\n return (
    \n \n \n
    );\n}\nfunction UnsavedChangesCount({ count }: {\n count: number | undefined;\n}) {\n if (!count) {\n return null;\n }\n const changes = pluralize(\"unsaved change\", count);\n return (\n {count} {changes}\n );\n}\n","import { Divider, RadioButton, RadioButtonGroup } from \"@octopusdeploy/design-system-components\";\nimport type { EnvironmentResource, FilterValueStatus, GetCommonTemplatesQueryParameters, GetProjectTenantVariablesQueryParameters, TagSetResource, TenantResource } from \"@octopusdeploy/octopus-server-client\";\nimport { FilterValueStatusValues } from \"@octopusdeploy/octopus-server-client\";\nimport * as React from \"react\";\nimport { FilterActions } from \"~/areas/projects/components/Variables/TenantVariables/FilterActions\";\nimport { styles } from \"~/areas/projects/components/Variables/TenantVariables/styles\";\nimport type { TenantVariableFiltersData } from \"~/areas/projects/components/Variables/TenantVariables/useTenantVariableFiltersData\";\nimport { FilterBuilder } from \"~/areas/tenants/components/Filtering/FilterBuilder/FilterBuilder\";\nimport { createEnvironmentFilter, createTagSetFilters, createTenantFilter, getExcludedEnvironmentValue, getExcludedTagSetValues, getExcludedTenantValue, getIncludedEnvironmentValue, getIncludedTagSetValues, getIncludedTenantValue, } from \"~/areas/tenants/components/Filtering/FilterBuilder/filterBuilderTypes\";\nimport type { FilterValue, Filter } from \"~/areas/tenants/components/Filtering/FilterBuilder/filterBuilderTypes\";\nimport CollapsibleFilter from \"~/areas/tenants/components/HeaderBar/CollapsibleFilter\";\nimport FilterSearchBox from \"~/components/FilterSearchBox/FilterSearchBox\";\nexport type ProjectTenantVariablesFilterState = GetProjectTenantVariablesQueryParameters & GetCommonTemplatesQueryParameters & {\n pageNumber: number;\n};\ninterface FiltersBarProps {\n totalVariablesCount: number;\n filteredVariablesCount: number | null;\n filterState: ProjectTenantVariablesFilterState;\n onFilterChange: (newFilterState: ProjectTenantVariablesFilterState) => void;\n filterData: TenantVariableFiltersData;\n unsavedChangesCount?: number;\n}\nexport function ProjectTemplatesFiltersBar({ filterState, onFilterChange, totalVariablesCount, filteredVariablesCount, filterData, unsavedChangesCount }: FiltersBarProps) {\n const data: VariableFiltersData = {\n environments: filterData.environments,\n tenants: filterData.tenants,\n tagSets: filterData.tagSets,\n };\n const filters = buildVariableFilters(filterState, data);\n return ;\n}\nexport function CommonTemplatesFiltersBar({ filterState, onFilterChange, totalVariablesCount, filteredVariablesCount, filterData, unsavedChangesCount }: FiltersBarProps) {\n const data: VariableFiltersData = {\n environments: null,\n tenants: filterData.tenants,\n tagSets: filterData.tagSets,\n };\n const filters = buildVariableFilters(filterState, data);\n return ;\n}\nexport function TemplatesFiltersBar({ filterState, onFilterChange, totalVariablesCount, filteredVariablesCount, filterData, unsavedChangesCount }: FiltersBarProps) {\n const data: VariableFiltersData = {\n environments: filterData.environments,\n tenants: filterData.tenants,\n tagSets: filterData.tagSets,\n };\n const filters = buildVariableFilters(filterState, data);\n return ;\n}\ninterface FiltersBarInternalProps extends Omit {\n filters: Filter[];\n}\nfunction FiltersBar({ filterState, onFilterChange, totalVariablesCount, filteredVariablesCount, unsavedChangesCount, filters }: FiltersBarInternalProps) {\n const handleFilterChange = (newFilters: FilterValue[]) => {\n onFilterChange({\n ...filterState,\n filterByTenant: getIncludedTenantValue(newFilters),\n filterByExcludedTenant: getExcludedTenantValue(newFilters),\n filterByEnvironment: getIncludedEnvironmentValue(newFilters),\n filterByExcludedEnvironment: getExcludedEnvironmentValue(newFilters),\n filterByTags: getIncludedTagSetValues(newFilters),\n filterByExcludedTags: getExcludedTagSetValues(newFilters),\n });\n };\n const handleNameFilterChange = (newName: string) => {\n onFilterChange({\n ...filterState,\n filterByName: newName,\n });\n };\n const handleValueStatusFilterChange = (newValueStatus: FilterValueStatus) => {\n onFilterChange({\n ...filterState,\n filterByValueStatus: newValueStatus,\n });\n };\n return (} secondaryContent={}>\n {filters.length > 0 && (
    \n
    \n \n \n \n \n \n
    \n \n \n
    )}\n
    );\n}\ninterface VariableFiltersData {\n environments: EnvironmentResource[] | null;\n tenants: Map | null;\n tagSets: TagSetResource[] | null;\n}\nfunction buildVariableFilters(currentState: ProjectTenantVariablesFilterState, data: VariableFiltersData): Filter[] {\n const filters = [];\n if (data.environments) {\n filters.push(createEnvironmentFilter(data.environments, currentState.filterByEnvironment, currentState.filterByExcludedEnvironment));\n }\n if (data.tenants) {\n filters.push(createTenantFilter(Array.from(data.tenants.values()), currentState.filterByTenant, currentState.filterByExcludedTenant));\n }\n if (data.tagSets) {\n filters.push(...createTagSetFilters(data.tagSets, currentState.filterByTags, currentState.filterByExcludedTags));\n }\n return filters;\n}\n","import { Callout } from \"@octopusdeploy/design-system-components\";\nimport { FilterValueStatusValues } from \"@octopusdeploy/octopus-server-client\";\nimport * as React from \"react\";\nimport type { ProjectTenantVariablesFilterState } from \"~/areas/projects/components/Variables/TenantVariables/FiltersBar\";\ninterface MissingValuesCalloutProps {\n filterState: ProjectTenantVariablesFilterState;\n setFilterState: (filter: ProjectTenantVariablesFilterState) => void;\n}\nexport function MissingValuesCallout({ filterState, setFilterState }: MissingValuesCalloutProps) {\n const onClick = (event: React.MouseEvent) => {\n event.preventDefault();\n setFilterState({ ...filterState, filterByValueStatus: FilterValueStatusValues.Missing });\n };\n return (\n If required variable values are not set it could cause deployments to fail. \n );\n}\ninterface ShowMissingValuesProps {\n onClick: (event: React.MouseEvent) => void;\n}\nfunction ShowMissingValues({ onClick }: ShowMissingValuesProps) {\n return (\n Show missing values\n );\n}\n","import { NavigationButton } from \"@octopusdeploy/design-system-components\";\nimport type { ProjectResource } from \"@octopusdeploy/octopus-server-client\";\nimport { links } from \"@octopusdeploy/portal-routes\";\nimport * as React from \"react\";\nimport OnboardingPage from \"~/components/GettingStarted/OnboardingPage\";\nimport ExternalLink from \"~/components/Navigation/ExternalLink/ExternalLink\";\nexport interface OnboardingProps {\n project: ProjectResource;\n}\nexport default function NoCommonTemplateValuesOnboarding({ project }: OnboardingProps) {\n return (Common template values from the included variable sets are applied to each tenant connected to this project. To set values, you'll need to connect tenants to at least one environment in this project.} actionButtons={} learnMore={Learn more}/>);\n}\n","import type { FilterValueStatus } from \"@octopusdeploy/octopus-server-client\";\nimport { FilterValueStatusValues } from \"@octopusdeploy/octopus-server-client\";\nimport { createQueryParam, numberQueryParam, optionalStringQueryParam, useQueryStringParams } from \"@octopusdeploy/portal-routes\";\nimport { useMemo } from \"react\";\nimport type { ProjectTenantVariablesFilterState } from \"~/areas/projects/components/Variables/TenantVariables/FiltersBar\";\nexport function useCommonTemplatesFilterState(): [\n ProjectTenantVariablesFilterState,\n (filter: ProjectTenantVariablesFilterState) => void\n] {\n const searchParameter = optionalStringQueryParam(\"search\");\n const tenantParameter = optionalStringQueryParam(\"tenant\");\n const excludedTenantParameter = optionalStringQueryParam(\"excludedTenant\");\n const tagsParameter = optionalStringQueryParam(\"tags\");\n const excludedTagsParameter = optionalStringQueryParam(\"excludedTags\");\n const valueStatusParameter = createQueryParam(\"valueStatus\", validateValueStatus, (v) => v);\n const pageNumberParameter = numberQueryParam(\"pageNumber\");\n const libraryVariableSetIdParameter = optionalStringQueryParam(\"libraryVariableSetId\");\n const [filter, setFilter] = useQueryStringParams([searchParameter, tenantParameter, excludedTenantParameter, tagsParameter, excludedTagsParameter, valueStatusParameter, pageNumberParameter, libraryVariableSetIdParameter]);\n function setProjectTenantVariablesFilterState(filter: ProjectTenantVariablesFilterState) {\n setFilter({\n search: filter.filterByName,\n tenant: filter.filterByTenant,\n excludedTenant: filter.filterByExcludedTenant,\n tags: filter.filterByTags.length > 0 ? filter.filterByTags.join(\",\") : undefined,\n excludedTags: filter.filterByExcludedTags.length > 0 ? filter.filterByExcludedTags.join(\",\") : undefined,\n valueStatus: filter.filterByValueStatus,\n pageNumber: filter.pageNumber,\n libraryVariableSetId: filter.filterByLibraryVariableSetId,\n });\n }\n const projectTenantVariablesFilterState = useMemo((): ProjectTenantVariablesFilterState => ({\n filterByName: filter.search,\n filterByEnvironment: undefined,\n filterByExcludedEnvironment: undefined,\n filterByTenant: filter.tenant,\n filterByExcludedTenant: filter.excludedTenant,\n filterByTags: filter.tags ? filter.tags.split(\",\") : [],\n filterByExcludedTags: filter.excludedTags ? filter.excludedTags.split(\",\") : [],\n filterByValueStatus: filter.valueStatus,\n filterByTemplateId: undefined,\n filterByLibraryVariableSetId: filter.libraryVariableSetId,\n pageNumber: filter.pageNumber ?? 1,\n }), [filter.search, filter.tenant, filter.excludedTenant, filter.tags, filter.excludedTags, filter.valueStatus, filter.pageNumber, filter.libraryVariableSetId]);\n return [projectTenantVariablesFilterState, setProjectTenantVariablesFilterState];\n}\nfunction validateValueStatus(valueStatus: string | undefined): FilterValueStatus | undefined {\n if (valueStatus === undefined)\n return undefined;\n // eslint-disable-next-line @typescript-eslint/consistent-type-assertions\n const possibleStatus = valueStatus as FilterValueStatus;\n return Object.values(FilterValueStatusValues).includes(possibleStatus) ? possibleStatus : undefined;\n}\n","import Default from \"./VariableSetSelector\";\nexport * from \"./VariableSetSelector\";\nexport default Default;\n","import { ActionButtonType } from \"@octopusdeploy/design-system-components\";\nimport type { ProjectResource } from \"@octopusdeploy/octopus-server-client\";\nimport { VariableSetContentType } from \"@octopusdeploy/octopus-server-client\";\nimport * as React from \"react\";\nimport { Action, useAnalyticActionDispatch } from \"~/analytics/Analytics\";\nimport { useCommonTemplatesFilterState } from \"~/areas/projects/components/Variables/TenantVariables/useCommonTemplatesFilterState\";\nimport VariableSetSelector from \"~/areas/variables/VariableSetSelector/index\";\nimport { repository } from \"~/clientInstance\";\nimport type { DoBusyTask } from \"~/components/DataBaseComponent/index\";\nimport OpenDialogButton from \"~/components/Dialog/OpenDialogButton\";\ninterface AddProjectTemplateButtonProps {\n project: ProjectResource;\n doBusyTask: DoBusyTask;\n openSnackbar: (text: string) => void;\n}\nexport function IncludeLibraryVariableSetsButton({ project, doBusyTask, openSnackbar }: AddProjectTemplateButtonProps) {\n const dispatchAction = useAnalyticActionDispatch();\n const [filterState, setFilterState] = useCommonTemplatesFilterState();\n const handleSelection = async (selectedSets: ReadonlyArray) => {\n await doBusyTask(async () => {\n const allSets = await loadAllVariableSetIdentifiers();\n const nonVariableSets = project.IncludedLibraryVariableSetIds.filter((set) => !allSets.has(set));\n await repository.Projects.modify({ ...project, IncludedLibraryVariableSetIds: [...selectedSets, ...nonVariableSets] });\n openSnackbar(\"Included variable sets updated\");\n dispatchAction(\"Include Library Variable Sets\", { resource: \"Variable\", action: Action.Add });\n reloadVariables();\n });\n };\n const reloadVariables = () => {\n setFilterState({\n ...filterState,\n filterByLibraryVariableSetId: undefined,\n pageNumber: 1,\n });\n };\n return (\n \n );\n}\nasync function loadAllVariableSetIdentifiers() {\n const allIdentifiers = await repository.LibraryVariableSets.all({ contentType: VariableSetContentType.Variables });\n return new Set(allIdentifiers.map((set) => set.Id));\n}\n","import type { ProjectResource } from \"@octopusdeploy/octopus-server-client\";\nimport * as React from \"react\";\nimport { IncludeLibraryVariableSetsButton } from \"~/areas/projects/components/Variables/TenantVariables/IncludeLibraryVariableSetsButton\";\nimport type { DoBusyTask } from \"~/components/DataBaseComponent/index\";\nimport OnboardingPage from \"~/components/GettingStarted/OnboardingPage\";\nimport ExternalLink from \"~/components/Navigation/ExternalLink/index\";\ninterface NoVariableSetsOnboardingProps {\n project: ProjectResource;\n doBusyTask: DoBusyTask;\n onIncludeVariableSet: (text: string) => void;\n}\nexport default function NoVariableSetsOnboarding({ project, doBusyTask, onIncludeVariableSet }: NoVariableSetsOnboardingProps) {\n return (Common templates are configured in variable sets and allow you to specify variables that can have different values per tenant. To get started, you'll need to include a variable set that contains a variable template.} actionButtons={} learnMore={Learn more}/>);\n}\n","import * as React from \"react\";\nimport { TemplateHelpText } from \"~/areas/projects/components/Variables/TenantVariables/TemplateHelpText\";\nimport { TemplateName } from \"~/areas/projects/components/Variables/TenantVariables/TemplateName\";\nimport { styles } from \"~/areas/projects/components/Variables/TenantVariables/styles\";\ninterface TemplateNameCellProps {\n template: TemplateInfo | null;\n}\ninterface TemplateInfo {\n Id: string;\n Name: string;\n Label: string;\n HelpText: string;\n}\nexport function TemplateNameCell({ template }: TemplateNameCellProps) {\n if (!template) {\n return null;\n }\n return (
    \n
    \n \n \n
    \n
    {template.Label}
    \n
    );\n}\n","import type { PropertyValueResource } from \"@octopusdeploy/octopus-server-client\";\nimport { useState } from \"react\";\nexport function useCommonTemplatesValueChangeTracker(): CommonTemplatesValueChangeTracker {\n const [changes, setChanges] = useState>(new Map());\n return {\n has: (key: CommonTemplatesValueKey) => changes.has(key),\n get: (key: CommonTemplatesValueKey) => {\n if (changes.has(key)) {\n return changes.get(key)?.value;\n }\n throw new Error(`Key \"${key}\" not found in changed project tenant variables`);\n },\n set: (key: CommonTemplatesValueKey, value: PropertyValueResource | undefined) => {\n const copy = new Map(changes);\n const existingValue = copy.get(key);\n copy.set(key, { value: value, status: existingValue?.status });\n setChanges(copy);\n },\n remove: (key: CommonTemplatesValueKey) => {\n const copy = new Map(changes);\n copy.delete(key);\n setChanges(copy);\n },\n add: (key: CommonTemplatesValueKey, value: PropertyValueResource | undefined) => {\n const copy = new Map(changes);\n copy.set(key, { value, status: \"new\" });\n setChanges(copy);\n },\n delete: (key: CommonTemplatesValueKey) => {\n const templatesValue = changes.get(key);\n const copy = new Map(changes);\n if (templatesValue?.status === \"new\") {\n copy.delete(key);\n }\n else {\n copy.set(key, { value: undefined, status: \"deleted\" });\n }\n setChanges(copy);\n },\n reset: () => setChanges(new Map()),\n values: () => Array.from(changes.entries()).map(([key, value]) => {\n const { setId, templateId, tenantId, guid: id } = extractCommonTemplateValueIds(key);\n return {\n id,\n setId,\n templateId,\n tenantId,\n value: value?.value,\n status: value?.status,\n };\n }),\n hasAny: () => changes.size > 0,\n changedTenants: () => {\n const tenantIds: Set = new Set();\n for (const variableKey of changes.keys()) {\n const { tenantId } = extractCommonTemplateValueIds(variableKey);\n tenantIds.add(tenantId);\n }\n return tenantIds;\n },\n newVariables: (setId: string, templateId: string, tenantId: string) => {\n const filteredMap = new Map();\n for (const [key, templatesValue] of changes.entries()) {\n if (key.startsWith(`${setId};${templateId};${tenantId}`) && templatesValue?.status === \"new\") {\n filteredMap.set(key, templatesValue.value);\n }\n }\n return filteredMap;\n },\n removedVariables: () => {\n const filteredMap = new Map();\n for (const [key, templatesValue] of changes.entries()) {\n if (templatesValue?.status === \"deleted\") {\n filteredMap.set(key, templatesValue.value);\n }\n }\n return filteredMap;\n },\n };\n}\ntype Status = \"new\" | \"deleted\";\ninterface CommonTemplatesValue {\n value: PropertyValueResource | undefined;\n status?: Status;\n}\nexport interface CommonTemplatesValueChangeTracker {\n has: (key: CommonTemplatesValueKey) => boolean;\n get: (key: CommonTemplatesValueKey) => PropertyValueResource | undefined; // To satisfy type check. Notice that PropertyValueResource can be undefined\n add: (key: CommonTemplatesValueKey, value: PropertyValueResource | undefined) => void;\n set: (key: CommonTemplatesValueKey, value: PropertyValueResource | undefined) => void;\n delete: (key: CommonTemplatesValueKey) => void;\n remove: (key: CommonTemplatesValueKey) => void;\n reset: () => void;\n values: () => ChangedCommonTemplatesValue[];\n hasAny: () => boolean;\n changedTenants: () => Set;\n newVariables: (setId: string, templateId: string, tenantId: string) => Map;\n removedVariables: () => Map;\n}\nexport interface ChangedCommonTemplatesValue {\n id: string;\n setId: string;\n templateId: string;\n tenantId: string;\n value: PropertyValueResource | undefined;\n status: Status | undefined;\n}\nexport type CommonTemplatesValueKey = `${string};${string};${string};${string}`;\nexport function createCommonTemplatesValueKey(setId: string, templateId: string, tenantId: string, guid: string): CommonTemplatesValueKey {\n return `${setId};${templateId};${tenantId};${guid}`;\n}\nfunction extractCommonTemplateValueIds(key: CommonTemplatesValueKey): {\n setId: string;\n templateId: string;\n tenantId: string;\n guid: string;\n} {\n const extracted = key.split(`;`);\n return {\n setId: extracted[0],\n templateId: extracted[1],\n tenantId: extracted[2],\n guid: extracted[3],\n };\n}\n","import Default from \"./SidebarLayout\";\nexport * from \"./SidebarLayout\";\nexport default Default;\n","import { themeTokens } from \"@octopusdeploy/design-system-tokens\";\nimport { logger } from \"@octopusdeploy/logging\";\nimport type { GetCommonTemplatesWithValuesBffResponse, LibraryVariableSetInfo, VariableType, ProjectResource, WorkerPoolResource, ActionTemplateParameterResource, CommonTemplateTenantValue, LibraryVariableSetResource, } from \"@octopusdeploy/octopus-server-client\";\nimport { VariableSetContentType, Permission } from \"@octopusdeploy/octopus-server-client\";\nimport * as React from \"react\";\nimport { useState } from \"react\";\nimport CommonTemplateValueInlineCell from \"~/areas/projects/components/Variables/TenantVariables/CommonTemplateValueInlineCell\";\nimport CommonTemplatesSidebarContent from \"~/areas/projects/components/Variables/TenantVariables/CommonTemplatesSidebarContent\";\nimport { CommonTemplatesFiltersBar } from \"~/areas/projects/components/Variables/TenantVariables/FiltersBar\";\nimport type { ProjectTenantVariablesFilterState } from \"~/areas/projects/components/Variables/TenantVariables/FiltersBar\";\nimport { MissingValuesCallout } from \"~/areas/projects/components/Variables/TenantVariables/MissingValuesCallout\";\nimport NoCommonTemplateValuesOnboarding from \"~/areas/projects/components/Variables/TenantVariables/NoCommonTemplateValuesOnboarding\";\nimport NoVariableSetsOnboarding from \"~/areas/projects/components/Variables/TenantVariables/NoVariableSetsOnboarding\";\nimport { TemplateNameCell } from \"~/areas/projects/components/Variables/TenantVariables/TemplateNameCell\";\nimport { getVariableTypeFromDisplaySettings } from \"~/areas/projects/components/Variables/TenantVariables/getVariableTypeFromDisplaySettings\";\nimport { pagingBarStyles } from \"~/areas/projects/components/Variables/TenantVariables/styles\";\nimport type { CommonTemplatesValueChangeTracker, CommonTemplatesValueKey } from \"~/areas/projects/components/Variables/TenantVariables/useCommonTemplatesValueChangeTracker\";\nimport { createCommonTemplatesValueKey } from \"~/areas/projects/components/Variables/TenantVariables/useCommonTemplatesValueChangeTracker\";\nimport type { TenantVariableFiltersData } from \"~/areas/projects/components/Variables/TenantVariables/useTenantVariableFiltersData\";\nimport type { TenantVariableResourceOptions } from \"~/areas/projects/components/Variables/TenantVariables/useTenantVariableResourceOptions\";\nimport { TenantNameCellWithLink } from \"~/areas/tenants/components/DataTable/Cells/TenantNameCell\";\nimport NumberedPagingBar from \"~/areas/tenants/components/Paging/NumberedPagingBar\";\nimport { repository } from \"~/clientInstance\";\nimport { type DoBusyTask, useDoBusyTaskEffect } from \"~/components/DataBaseComponent/index\";\nimport { GroupedDataTable } from \"~/components/GroupedDataTable/GroupedDataTable\";\nimport { isAllowed } from \"~/components/PermissionCheck/PermissionCheck\";\nimport SidebarLayout, { SidebarSide } from \"~/components/SidebarLayout/index\";\ninterface CommonTemplateTabContentProps {\n project: ProjectResource;\n doBusyTask: DoBusyTask;\n filterState: ProjectTenantVariablesFilterState;\n filterData: TenantVariableFiltersData;\n setFilterState: (filter: ProjectTenantVariablesFilterState) => void;\n pageSize: number;\n setPageState: (newPageNumber: number, newPageSize: number) => void;\n commonTemplatesWithValues: GetCommonTemplatesWithValuesBffResponse;\n onAddTemplateFromOnboarding: (text: string) => void;\n resourceOptions: TenantVariableResourceOptions;\n valueChangeTracker: CommonTemplatesValueChangeTracker;\n}\nexport function CommonTemplatesInlineTabContent({ project, doBusyTask, filterState, filterData, setFilterState, pageSize, setPageState, commonTemplatesWithValues, onAddTemplateFromOnboarding, resourceOptions, valueChangeTracker, }: CommonTemplateTabContentProps) {\n const [variableSets, setVariableSets] = useState(null);\n useDoBusyTaskEffect(doBusyTask, async () => {\n const libraryVariableSets = await repository.LibraryVariableSets.all({\n ids: project.IncludedLibraryVariableSetIds,\n contentType: VariableSetContentType.Variables,\n });\n setVariableSets(libraryVariableSets);\n }, [project]);\n if (variableSets === null) {\n return null;\n }\n if (variableSets.length === 0) {\n return ;\n }\n const missingValueVariableSetIds = new Set(commonTemplatesWithValues.MissingValueLibraryVariableSetIds);\n if (commonTemplatesWithValues.TotalValuesCount === 0) {\n return (
    \n } side={SidebarSide.Left} extendSidebarToEdges={true} extendContentToEdges={true} reduceWidthForSmallResolution={true}>\n \n \n
    );\n }\n const [variableValues, bindableTemplateNames] = buildCommonTemplateRowData(commonTemplatesWithValues, variableSets);\n const unsavedChanges = valueChangeTracker.values().length;\n return (} side={SidebarSide.Left} extendSidebarToEdges={true} extendContentToEdges={true} reduceWidthForSmallResolution={true}>\n
    \n {commonTemplatesWithValues.AnyMissingValues && }\n \n \n
    \n \n
    \n
    \n
    );\n}\ninterface CommonTemplatesDataTableProps {\n accounts: {\n [accountId: string]: string;\n };\n certificates: {\n [certificateId: string]: string;\n };\n workerPools: {\n [workerPoolId: string]: WorkerPoolResource;\n };\n project: ProjectResource;\n values: CommonTemplateRowData[];\n resourceOptions: TenantVariableResourceOptions;\n valueChangeTracker: CommonTemplatesValueChangeTracker;\n doBusyTask: DoBusyTask;\n bindableTemplateNames: string[];\n}\nexport function CommonTemplatesDataTable({ values, project, accounts, certificates, workerPools, resourceOptions, valueChangeTracker, doBusyTask, bindableTemplateNames }: CommonTemplatesDataTableProps) {\n const [focusedValueKey, setFocusedValueKey] = useState(null);\n const editingPermissions = {\n permission: Permission.VariableEdit,\n project: project.Id,\n wildcard: true,\n };\n const hasEditPermissions = isAllowed(editingPermissions);\n const renderValueCell = (data: CommonTemplateRowData) => {\n const tenantId = data.Variable.TenantId;\n const sourceItems = resourceOptions.get(tenantId);\n const valueKey = createCommonTemplatesValueKey(data.VariableSetId, data.Variable.TemplateId, data.Variable.TenantId, \"\");\n const hasValueChanged = valueChangeTracker.has(valueKey);\n const value = hasValueChanged ? valueChangeTracker.get(valueKey) : data.Variable.Value;\n const handleOnBlur = () => {\n setFocusedValueKey((previous: CommonTemplatesValueKey | null) => (previous === valueKey ? null : previous));\n };\n return ( setFocusedValueKey(valueKey)} onBlur={handleOnBlur} bindableTemplateNames={bindableTemplateNames} hasEditPermissions={hasEditPermissions} hasValueChanged={hasValueChanged} initialValue={data.Variable.Value}/>);\n };\n return ( (data.IsSetChild ? null : data.VariableSet.Name), width: \"20%\", isChild: (data) => data.IsSetChild },\n { title: \"Name\", render: (data) => (data.IsTemplateChild ? null : ), width: \"25%\", isChild: (data) => data.IsTemplateChild },\n {\n title: \"Tenant\",\n render: (data) => (),\n width: \"20%\",\n },\n {\n title: \"Value\",\n render: renderValueCell,\n width: \"35%\",\n padding: \"0\",\n backgroundColor: (data) => {\n const valueKey = createCommonTemplatesValueKey(data.VariableSetId, data.Template.Id, data.Variable.TenantId, \"\");\n const hasValueChanged = valueChangeTracker.has(valueKey);\n return hasValueChanged ? themeTokens.color.callout.background.attention.default : undefined;\n },\n },\n ]} getRowKey={(data) => data.RowKey}/>);\n}\ninterface CommonTemplateRowData {\n VariableSetId: string;\n VariableSet: LibraryVariableSetInfo;\n Variable: CommonTemplateTenantValue;\n Template: ActionTemplateParameterResource;\n VariableType: VariableType;\n RowKey: string;\n IsSetChild: boolean;\n IsTemplateChild: boolean;\n}\nfunction buildCommonTemplateRowData(commonTemplatesWithValues: GetCommonTemplatesWithValuesBffResponse, variableSets: LibraryVariableSetResource[]): [\n CommonTemplateRowData[],\n string[]\n] {\n const rows: CommonTemplateRowData[] = [];\n const [templatesLookup, bindableNames] = buildTemplatesLookup(variableSets);\n const setsWithChildren = new Set();\n const templatesWithChildren = new Set();\n for (const variableSet of commonTemplatesWithValues.VariableSets) {\n const set = variableSet.LibraryVariableSet;\n for (const templateWithValues of variableSet.Templates) {\n for (const variable of templateWithValues.Values) {\n const templateWithType = templatesLookup.get(variable.TemplateId);\n if (!templateWithType) {\n logger.warn(\"Could not find common template with Id {id}\", { id: variable.TemplateId });\n continue;\n }\n const { template, type } = templateWithType;\n const isSetHasChildren = setsWithChildren.has(set.Id);\n if (!isSetHasChildren) {\n setsWithChildren.add(set.Id);\n }\n const isTemplateHasChildren = templatesWithChildren.has(template.Id);\n if (!isTemplateHasChildren) {\n templatesWithChildren.add(template.Id);\n }\n const row: CommonTemplateRowData = {\n VariableSetId: set.Id,\n VariableSet: set,\n Variable: variable,\n Template: template,\n VariableType: type,\n RowKey: createCommonTemplatesValueKey(set.Id, template.Id, variable.TenantId, \"\"),\n IsSetChild: isSetHasChildren,\n IsTemplateChild: isTemplateHasChildren,\n };\n rows.push(row);\n }\n }\n }\n // Show enabled tenants first\n rows.sort((a, b) => Number(a.Variable.TenantIsDisabled) - Number(b.Variable.TenantIsDisabled));\n return [rows, bindableNames];\n}\ninterface TemplateWithVariableType {\n template: ActionTemplateParameterResource;\n type: VariableType;\n}\nfunction buildTemplatesLookup(variableSets: LibraryVariableSetResource[]): [\n Map,\n string[]\n] {\n const templates = new Map();\n const bindableNames = new Set();\n for (const variableSet of variableSets) {\n for (const template of variableSet.Templates) {\n const type = getVariableTypeFromDisplaySettings(template.DisplaySettings[\"Octopus.ControlType\"]);\n templates.set(template.Id, { template, type });\n bindableNames.add(template.Name);\n }\n }\n return [templates, Array.from(bindableNames)];\n}\n","import { Snackbar } from \"@octopusdeploy/design-system-components\";\nimport type { ProjectResource } from \"@octopusdeploy/octopus-server-client\";\nimport * as React from \"react\";\nimport { useState } from \"react\";\nimport { CommonTemplatesInlineTabContent } from \"~/areas/projects/components/Variables/TenantVariables/CommonTemplatesInlineTabContent\";\nimport type { CommonTemplatesState } from \"~/areas/projects/components/Variables/TenantVariables/useCommonTemplatesState\";\nimport type { CommonTemplatesValueChangeTracker } from \"~/areas/projects/components/Variables/TenantVariables/useCommonTemplatesValueChangeTracker\";\nimport type { TenantVariableFiltersData } from \"~/areas/projects/components/Variables/TenantVariables/useTenantVariableFiltersData\";\nimport type { TenantVariableResourceOptions } from \"~/areas/projects/components/Variables/TenantVariables/useTenantVariableResourceOptions\";\nimport type { DoBusyTask } from \"~/components/DataBaseComponent/index\";\ninterface CommonTemplatesInlineContentProps {\n project: ProjectResource;\n doBusyTask: DoBusyTask;\n contentState: CommonTemplatesState;\n filterData: TenantVariableFiltersData;\n variableResourceOptions: TenantVariableResourceOptions;\n valueChangeTracker: CommonTemplatesValueChangeTracker;\n}\nexport default function CommonTemplatesInlineContent({ project, doBusyTask, contentState, filterData, variableResourceOptions, valueChangeTracker }: CommonTemplatesInlineContentProps) {\n const { data, pageSize, filterState, actions } = contentState;\n const [isSnackbarOpen, setIsSnackbarOpen] = useState(false);\n const [snackbarText, setSnackbarText] = useState(\"\");\n const onIncludeVariableSetFromOnboarding = (text: string) => {\n setIsSnackbarOpen(true);\n setSnackbarText(text);\n };\n return (<>\n {data && ()}\n setIsSnackbarOpen(false)} textAlign={\"center\"}/>\n );\n}\n","import type { FilterValueStatus } from \"@octopusdeploy/octopus-server-client\";\nimport { FilterValueStatusValues } from \"@octopusdeploy/octopus-server-client\";\nimport { createQueryParam, numberQueryParam, optionalStringQueryParam, useQueryStringParams } from \"@octopusdeploy/portal-routes\";\nimport { useMemo } from \"react\";\nimport type { ProjectTenantVariablesFilterState } from \"~/areas/projects/components/Variables/TenantVariables/FiltersBar\";\nexport function useProjectTemplatesFilterState(): [\n ProjectTenantVariablesFilterState,\n (filter: ProjectTenantVariablesFilterState) => void\n] {\n const searchParameter = optionalStringQueryParam(\"search\");\n const environmentParameter = optionalStringQueryParam(\"environment\");\n const excludedEnvironmentParameter = optionalStringQueryParam(\"excludedEnvironment\");\n const tenantParameter = optionalStringQueryParam(\"tenant\");\n const excludedTenantParameter = optionalStringQueryParam(\"excludedTenant\");\n const tagsParameter = optionalStringQueryParam(\"tags\");\n const excludedTagsParameter = optionalStringQueryParam(\"excludedTags\");\n const valueStatusParameter = createQueryParam(\"valueStatus\", validateValueStatus, (v) => v);\n const pageNumberParameter = numberQueryParam(\"pageNumber\");\n const templateIdParameter = optionalStringQueryParam(\"templateId\");\n const [filter, setFilter] = useQueryStringParams([\n searchParameter,\n environmentParameter,\n excludedEnvironmentParameter,\n tenantParameter,\n excludedTenantParameter,\n tagsParameter,\n excludedTagsParameter,\n valueStatusParameter,\n templateIdParameter,\n pageNumberParameter,\n ]);\n function setProjectTenantVariablesFilterState(filter: ProjectTenantVariablesFilterState) {\n setFilter({\n search: filter.filterByName,\n environment: filter.filterByEnvironment,\n excludedEnvironment: filter.filterByExcludedEnvironment,\n tenant: filter.filterByTenant,\n excludedTenant: filter.filterByExcludedTenant,\n tags: filter.filterByTags.length > 0 ? filter.filterByTags.join(\",\") : undefined,\n excludedTags: filter.filterByExcludedTags.length > 0 ? filter.filterByExcludedTags.join(\",\") : undefined,\n valueStatus: filter.filterByValueStatus,\n pageNumber: filter.pageNumber,\n templateId: filter.filterByTemplateId,\n });\n }\n const projectTenantVariablesFilterState = useMemo((): ProjectTenantVariablesFilterState => ({\n filterByName: filter.search,\n filterByEnvironment: filter.environment,\n filterByExcludedEnvironment: filter.excludedEnvironment,\n filterByTenant: filter.tenant,\n filterByExcludedTenant: filter.excludedTenant,\n filterByTags: filter.tags ? filter.tags.split(\",\") : [],\n filterByExcludedTags: filter.excludedTags ? filter.excludedTags.split(\",\") : [],\n filterByValueStatus: filter.valueStatus,\n filterByTemplateId: filter.templateId,\n filterByLibraryVariableSetId: undefined,\n pageNumber: filter.pageNumber ?? 1,\n }), [filter.search, filter.environment, filter.excludedEnvironment, filter.tenant, filter.excludedTenant, filter.tags, filter.excludedTags, filter.valueStatus, filter.pageNumber, filter.templateId]);\n return [projectTenantVariablesFilterState, setProjectTenantVariablesFilterState];\n}\nfunction validateValueStatus(valueStatus: string | undefined): FilterValueStatus | undefined {\n if (valueStatus === undefined)\n return undefined;\n // eslint-disable-next-line @typescript-eslint/consistent-type-assertions\n const possibleStatus = valueStatus as FilterValueStatus;\n return Object.values(FilterValueStatusValues).includes(possibleStatus) ? possibleStatus : undefined;\n}\n","import { ActionButtonType } from \"@octopusdeploy/design-system-components\";\nimport type { ActionTemplateParameterResource, ProjectResource } from \"@octopusdeploy/octopus-server-client\";\nimport { ControlType, Permission } from \"@octopusdeploy/octopus-server-client\";\nimport * as React from \"react\";\nimport { Action, useAnalyticActionDispatch } from \"~/analytics/Analytics\";\nimport { useProjectTemplatesFilterState } from \"~/areas/projects/components/Variables/TenantVariables/useProjectTemplatesFilterState\";\nimport { repository } from \"~/clientInstance\";\nimport ActionTemplateParameterEditorDialog from \"~/components/ActionTemplateParametersList/ActionTemplateParameterEditorDialog\";\nimport type { DoBusyTask } from \"~/components/DataBaseComponent/index\";\nimport OpenDialogButton from \"~/components/Dialog/OpenDialogButton\";\ninterface AddProjectTemplateButtonProps {\n project: ProjectResource;\n doBusyTask: DoBusyTask;\n openSnackbar: (text: string) => void;\n}\nexport function AddProjectTemplateButton({ project, doBusyTask, openSnackbar }: AddProjectTemplateButtonProps) {\n const dispatchAction = useAnalyticActionDispatch();\n const [filterState, setFilterState] = useProjectTemplatesFilterState();\n const handleAddProjectTemplate = async (newProjectTemplate: ActionTemplateParameterResource) => {\n await doBusyTask(async () => {\n const updatedProject = await repository.Projects.modify({ ...project, Templates: [...project.Templates, newProjectTemplate] });\n dispatchAction(\"Add Project Variable Template\", { resource: \"Variable\", action: Action.Add });\n displayCreatedTemplate(updatedProject, newProjectTemplate);\n openSnackbar(\"Project templates updated\");\n });\n };\n const displayCreatedTemplate = (project: ProjectResource, newTemplate: ActionTemplateParameterResource) => {\n const savedTemplate = newTemplate.Name ? project.Templates.find((t) => t.Name === newTemplate.Name) : project.Templates.find((t) => t.Label === newTemplate.Label);\n if (savedTemplate) {\n setFilterState({\n ...filterState,\n filterByTemplateId: savedTemplate.Id,\n pageNumber: 1,\n });\n }\n };\n return (\n \n );\n}\n","/* eslint-disable @octopusdeploy/custom-portal-rules/no-restricted-imports */\nimport { useIsUrlActive } from \"@octopusdeploy/design-system-components\";\nimport type { Url } from \"@octopusdeploy/portal-routes\";\nimport { links } from \"@octopusdeploy/portal-routes\";\nimport * as React from \"react\";\nimport { withRouter } from \"react-router-dom\";\nimport type { RouteComponentProps } from \"react-router-dom\";\nimport { isUrl } from \"~/components/Navigation/InternalLink/isUrl\";\nimport { useSpaceAwareNavigation } from \"~/components/Navigation/SpaceAwareNavigation/useSpaceAwareNavigation\";\nimport { useUrlResolver } from \"~/components/Navigation/useUrlResolver\";\nimport { ControlledTabsContainer, TabItem } from \"~/primitiveComponents/navigation/Tabs/index\";\ninterface TemplateTab {\n text: string;\n link: Url;\n warning: string | undefined;\n}\nfunction warning(yes: boolean): string | undefined {\n return yes ? \"Some of the required variable values have not been set\" : undefined;\n}\nexport interface TemplatesWarnings {\n projectTemplates: boolean;\n commonTemplates: boolean;\n}\ninterface ProjectTenantVariablesTabsProps extends RouteComponentProps<{\n spaceId: string;\n projectSlug: string;\n}> {\n warnings: TemplatesWarnings;\n}\nfunction ProjectTenantVariablesTabsInternal(props: ProjectTenantVariablesTabsProps) {\n const isUrlActive = useIsUrlActive();\n const urlResolver = useUrlResolver();\n const navigation = useSpaceAwareNavigation();\n const spaceId = props.match.params.spaceId;\n const projectSlug = props.match.params.projectSlug;\n const tabs: TemplateTab[] = [\n { text: \"Project Templates\", link: links.projectTenantProjectTemplatesPage.generateUrl({ spaceId, projectSlug }), warning: warning(props.warnings.projectTemplates) },\n { text: \"Common Templates\", link: links.projectTenantCommonTemplatesPage.generateUrl({ spaceId, projectSlug }), warning: warning(props.warnings.commonTemplates) },\n ];\n const activeTabOrDefault = tabs.find((t) => isUrlActive(t.link, \"if path partially matches\")) || tabs[0];\n const activeLink = isUrl(activeTabOrDefault.link) ? urlResolver.resolve(activeTabOrDefault.link) : activeTabOrDefault.link;\n return ( navigation.navigate(link)}>\n {tabs.map((t) => {\n const resolvedLink = isUrl(t.link) ? urlResolver.resolve(t.link) : t.link;\n return ;\n })}\n );\n}\nconst ProjectTenantVariablesTabs = withRouter(ProjectTenantVariablesTabsInternal);\nexport default ProjectTenantVariablesTabs;\n","import { Snackbar } from \"@octopusdeploy/design-system-components\";\nimport type { PageAction } from \"@octopusdeploy/design-system-components\";\nimport type { ApiOperationStatus } from \"@octopusdeploy/octopus-react-client\";\nimport type { ProjectResource } from \"@octopusdeploy/octopus-server-client\";\nimport { Permission } from \"@octopusdeploy/octopus-server-client\";\nimport type { PropsWithChildren } from \"react\";\nimport * as React from \"react\";\nimport { useState } from \"react\";\nimport { AddProjectTemplateButton } from \"~/areas/projects/components/Variables/TenantVariables/AddProjectTemplateButton\";\nimport { IncludeLibraryVariableSetsButton } from \"~/areas/projects/components/Variables/TenantVariables/IncludeLibraryVariableSetsButton\";\nimport type { TemplatesWarnings } from \"~/areas/projects/components/Variables/TenantVariables/ProjectTenantVariablesNavigationTabs\";\nimport ProjectTenantVariablesNavigationTabs from \"~/areas/projects/components/Variables/TenantVariables/ProjectTenantVariablesNavigationTabs\";\nimport type { DoBusyTask } from \"~/components/DataBaseComponent/index\";\nimport { LegacyForm } from \"~/components/FormPaperLayout/LegacyForm\";\nimport { PageContent } from \"~/components/PageContent/PageContent\";\nimport { isAllowed } from \"~/components/PermissionCheck/PermissionCheck\";\ninterface ProjectTenantVariablesInlineLayoutProps {\n project: ProjectResource;\n legacyStatus: ApiOperationStatus;\n doBusyTask: DoBusyTask;\n saveAction: TenantVariablesPageSaveAction | undefined;\n warnings: TemplatesWarnings;\n page: TemplatesPage;\n}\ntype TemplatesPage = \"project\" | \"common\";\nconst noChanges = { hasChanges: false };\nexport default function ProjectTenantVariablesPageContent({ children, project, legacyStatus, doBusyTask, saveAction, warnings, page }: PropsWithChildren) {\n const [isSnackbarOpen, setIsSnackbarOpen] = useState(false);\n const [snackbarText, setSnackbarText] = useState(\"\");\n const openSnackbar = (text: string) => {\n setIsSnackbarOpen(true);\n setSnackbarText(text);\n };\n const createProjectTemplatesActions = (): PageAction[] => {\n const showOnboardingPage = !project.Templates || project.Templates.length === 0;\n if (showOnboardingPage) {\n return [];\n }\n const addProjectTemplate: PageAction = {\n type: \"custom\",\n key: \"Add project template\",\n hasPermissions: isAllowed({ permission: Permission.ProjectEdit, project: project.Id }),\n content: ,\n };\n return [addProjectTemplate];\n };\n const createCommonTemplatesActions = (): PageAction[] => {\n const showOnboardingPage = !project.IncludedLibraryVariableSetIds || project.IncludedLibraryVariableSetIds.length === 0;\n if (showOnboardingPage) {\n return [];\n }\n const includeSetAction: PageAction = {\n type: \"custom\",\n key: \"Include Variable Sets\",\n hasPermissions: isAllowed({ permission: Permission.ProjectEdit, project: project.Id }),\n content: ,\n };\n return [includeSetAction];\n };\n const actions = buildPageActions(page, createProjectTemplatesActions, createCommonTemplatesActions);\n const model = { hasChanges: !!(saveAction && !saveAction.disabled) };\n return ( saveAction?.onClick()} disableDirtyFormChecking={false} disableKeyboardFormSubmission={true}>\n {({ FormContent, createSaveAction }) => (\n \n \n {children}\n setIsSnackbarOpen(false)} textAlign={\"center\"}/>\n \n )}\n );\n}\nfunction buildPageActions(page: TemplatesPage, createForProjectTemplates: () => PageAction[], createForCommonTemplates: () => PageAction[]): PageAction[] {\n if (page === \"project\") {\n return createForProjectTemplates();\n }\n if (page === \"common\") {\n return createForCommonTemplates();\n }\n return [];\n}\nexport interface TenantVariablesPageSaveAction {\n onClick: () => Promise;\n disabled: boolean;\n}\n","import { css } from \"@emotion/css\";\nimport { space } from \"@octopusdeploy/design-system-tokens\";\nimport type { EnvironmentResource } from \"@octopusdeploy/octopus-server-client\";\nimport * as React from \"react\";\nimport { EnvironmentMultiSelect } from \"~/components/MultiSelect/EnvironmentMultiSelect\";\nimport type { ScopedCommonTemplatesScopeChangeTracker, ScopedCommonTemplatesScopeKey } from \"./useScopedCommonTemplatesScopeChangeTracker\";\ninterface ScopedCommonTemplateScopeEditProps {\n environments: EnvironmentResource[];\n scopeChangeTracker: ScopedCommonTemplatesScopeChangeTracker;\n scopeKey: ScopedCommonTemplatesScopeKey;\n initialEnvironmentScope: string[];\n}\nexport default ({ environments, scopeChangeTracker, scopeKey, initialEnvironmentScope }: ScopedCommonTemplateScopeEditProps) => {\n const isScopePropertyValueUnchanged = (initialEnvironmentScope: string[], scope: string[] | undefined): boolean => {\n if (!initialEnvironmentScope || !scope) {\n return initialEnvironmentScope === scope;\n }\n if (initialEnvironmentScope.length !== scope.length) {\n return false;\n }\n return initialEnvironmentScope.every((s, i) => s === scope[i]);\n };\n const handleChange = (newScope: string[]) => {\n if (isScopePropertyValueUnchanged(initialEnvironmentScope, newScope)) {\n if (scopeChangeTracker.has(scopeKey)) {\n scopeChangeTracker.remove(scopeKey);\n }\n }\n else {\n scopeChangeTracker.set(scopeKey, newScope);\n }\n };\n const value = scopeChangeTracker.has(scopeKey) ? scopeChangeTracker.get(scopeKey) || [] : initialEnvironmentScope;\n return (
    \n {\n handleChange(environmentIds);\n }} value={value}/>\n
    );\n};\nconst cellStyles = {\n container: css({\n marginLeft: space[8],\n marginRight: space[8],\n }),\n};\n","import { css } from \"@emotion/css\";\nimport { space } from \"@octopusdeploy/design-system-tokens\";\nimport type { EnvironmentResource } from \"@octopusdeploy/octopus-server-client\";\nimport * as React from \"react\";\nimport ScopedCommonTemplateScopeEdit from \"~/areas/projects/components/Variables/TenantVariables/ScopedTenantVariables/ScopedCommonTemplateScopeEdit\";\nimport type { ScopedCommonTemplatesScopeChangeTracker, ScopedCommonTemplatesScopeKey } from \"~/areas/projects/components/Variables/TenantVariables/ScopedTenantVariables/useScopedCommonTemplatesScopeChangeTracker\";\nimport { EnvironmentChip } from \"~/components/Chips\";\nimport type { PopoverPosition } from \"~/components/PopoverWhenFocused/PopoverWhenFocused\";\nimport PopoverWhenFocused from \"~/components/PopoverWhenFocused/index\";\nimport ChangedValueIndicator from \"../ChangedValueIndicator\";\ninterface ScopedCommonTemplateScopeCellProps {\n environments: EnvironmentResource[];\n scopeTracker: ScopedCommonTemplatesScopeChangeTracker;\n scopeKey: ScopedCommonTemplatesScopeKey;\n focused: boolean;\n onFocus: () => void;\n onBlur: () => void;\n hasEditPermissions: boolean;\n hasScopeChanged: boolean;\n initialEnvironmentScope: string[];\n}\nexport default ({ environments, scopeTracker, scopeKey, focused, onFocus, onBlur, hasEditPermissions, hasScopeChanged, initialEnvironmentScope }: ScopedCommonTemplateScopeCellProps) => ();\ninterface ScopedCommonTemplateScopeEditableCellProps extends ScopedCommonTemplateScopeCellProps {\n hasEditPermissions: boolean;\n}\nfunction ScopedCommonTemplateScopeEditableCell({ environments, scopeTracker, scopeKey, focused, onFocus, onBlur, hasEditPermissions, hasScopeChanged, initialEnvironmentScope }: ScopedCommonTemplateScopeEditableCellProps) {\n const calculateFocusedPopoverPosition = (): PopoverPosition => {\n return {\n top: 0,\n left: 0,\n right: 0,\n };\n };\n return (
    \n \n {focused ? () : (
    \n \n
    \n \n
    \n
    )}\n
    \n
    );\n}\ninterface ScopedCommonTemplateScopeReadonlyCellProps {\n environments: EnvironmentResource[];\n scopeKey: ScopedCommonTemplatesScopeKey;\n scopeChangeTracker: ScopedCommonTemplatesScopeChangeTracker;\n initialEnvironmentScope: string[];\n hasEditPermissions: boolean;\n hasScopeChanged: boolean;\n}\nconst ScopedCommonTemplateReadonlyCell = (props: ScopedCommonTemplateScopeReadonlyCellProps) => {\n const { environments, scopeKey, scopeChangeTracker, initialEnvironmentScope } = props;\n const environmentMap = new Map();\n environments.forEach((e) => environmentMap.set(e.Id, e));\n const scope = scopeChangeTracker.has(scopeKey) ? scopeChangeTracker.get(scopeKey) : initialEnvironmentScope;\n const scopeLength = scope?.length ?? 0;\n const tooManyChips = scopeLength >= 3;\n if (!scope?.length) {\n return null;\n }\n return (
    \n {tooManyChips ? ( environmentMap.get(s)?.Name).join(\", \")}/>) : (<>\n {scope.map((s) => {\n const environment = environmentMap.get(s);\n return environment ? : null;\n })}\n )}\n
    );\n};\nconst cellStyles = {\n container: css({\n display: \"flex\",\n alignItems: \"center\",\n width: \"100%\",\n height: \"4rem\",\n }),\n changedValueIndicator: css({\n marginLeft: \"auto\",\n }),\n readonlyContainer: css({\n display: \"flex\",\n alignItems: \"center\",\n justifyContent: \"space-between\",\n gap: space[8],\n width: \"100%\",\n height: \"100%\",\n padding: `${space[8]} 0`,\n }),\n};\n","import { useState } from \"react\";\nexport function useScopedCommonTemplatesScopeChangeTracker(): ScopedCommonTemplatesScopeChangeTracker {\n const [changes, setChanges] = useState>(new Map());\n return {\n has: (key: ScopedCommonTemplatesScopeKey) => changes.has(key),\n get: (key: ScopedCommonTemplatesScopeKey) => {\n if (changes.has(key)) {\n return changes.get(key)?.environmentIds;\n }\n throw new Error(`Key \"${key}\" not found in changed project tenant variables in scoped common templates value scope tracker.`);\n },\n set: (key: ScopedCommonTemplatesScopeKey, value: string[] | undefined) => {\n const copy = new Map(changes);\n const existingValue = copy.get(key);\n copy.set(key, { environmentIds: value || [], status: existingValue?.status });\n setChanges(copy);\n },\n remove: (key: ScopedCommonTemplatesScopeKey) => {\n const copy = new Map(changes);\n copy.delete(key);\n setChanges(copy);\n },\n add: (key: ScopedCommonTemplatesScopeKey, environmentIds: string[]) => {\n const copy = new Map(changes);\n copy.set(key, { environmentIds, status: \"new\" });\n setChanges(copy);\n },\n delete: (key: ScopedCommonTemplatesScopeKey) => {\n const templatesValue = changes.get(key);\n const copy = new Map(changes);\n if (templatesValue?.status === \"new\") {\n copy.delete(key);\n }\n else {\n copy.set(key, { environmentIds: [], status: \"deleted\" });\n }\n setChanges(copy);\n },\n reset: () => setChanges(new Map()),\n values: () => Array.from(changes.entries()).map(([key, value]) => {\n const { setId, templateId, tenantId, guid } = extractCommonTemplateValueIds(key);\n return {\n setId,\n templateId,\n tenantId,\n guid,\n environmentIds: value?.environmentIds,\n status: value?.status,\n };\n }),\n hasAny: () => changes.size > 0,\n changedTenants: () => {\n const tenantIds: Set = new Set();\n for (const variableKey of changes.keys()) {\n const { tenantId } = extractCommonTemplateValueIds(variableKey);\n tenantIds.add(tenantId);\n }\n return tenantIds;\n },\n newVariables: (setId: string, templateId: string, tenantId: string) => {\n const filteredMap = new Map();\n for (const [key, template] of changes.entries()) {\n if (key.startsWith(`${setId};${templateId};${tenantId}`) && template?.status === \"new\") {\n filteredMap.set(key, template.environmentIds);\n }\n }\n return filteredMap;\n },\n };\n}\ntype Status = \"new\" | \"deleted\";\nexport interface CommonTemplatesScope {\n environmentIds: string[];\n status?: Status;\n}\nexport interface ScopedCommonTemplatesScopeChangeTracker {\n has: (key: ScopedCommonTemplatesScopeKey) => boolean;\n get: (key: ScopedCommonTemplatesScopeKey) => string[] | undefined;\n set: (key: ScopedCommonTemplatesScopeKey, scope: string[] | undefined) => void;\n remove: (key: ScopedCommonTemplatesScopeKey) => void;\n add: (key: ScopedCommonTemplatesScopeKey, scope: string[]) => void;\n delete: (key: ScopedCommonTemplatesScopeKey) => void;\n reset: () => void;\n values: () => ChangedCommonTemplatesScope[];\n hasAny: () => boolean;\n changedTenants: () => Set;\n newVariables: (setId: string, templateId: string, tenantId: string) => Map;\n}\nexport interface ChangedCommonTemplatesScope {\n setId: string;\n templateId: string;\n tenantId: string;\n guid: string;\n environmentIds: string[] | undefined;\n status: Status | undefined;\n}\nexport type ScopedCommonTemplatesScopeKey = `${string};${string};${string};${string}`;\nexport function createScopedCommonTemplatesScopeKey(setId: string, templateId: string, tenantId: string, guid: string): ScopedCommonTemplatesScopeKey {\n return `${setId};${templateId};${tenantId};${guid}`;\n}\nexport function extractCommonTemplateValueIds(key: ScopedCommonTemplatesScopeKey): {\n setId: string;\n templateId: string;\n tenantId: string;\n guid: string;\n} {\n const extracted = key.split(`;`);\n return {\n setId: extracted[0],\n templateId: extracted[1],\n tenantId: extracted[2],\n guid: extracted[3],\n };\n}\n","import { space, themeTokens } from \"@octopusdeploy/design-system-tokens\";\nimport { logger } from \"@octopusdeploy/logging\";\nimport type { LibraryVariableSetInfo, ProjectResource, WorkerPoolResource, ActionTemplateParameterResource, LibraryVariableSetResource, EnvironmentResource, GetScopedCommonTemplatesWithValuesBffResponse, ScopedCommonTemplateTenantValue, VariableType, } from \"@octopusdeploy/octopus-server-client\";\nimport { VariableSetContentType, Permission } from \"@octopusdeploy/octopus-server-client\";\nimport * as React from \"react\";\nimport { useState } from \"react\";\nimport CommonTemplateValueInlineCell from \"~/areas/projects/components/Variables/TenantVariables/CommonTemplateValueInlineCell\";\nimport CommonTemplatesSidebarContent from \"~/areas/projects/components/Variables/TenantVariables/CommonTemplatesSidebarContent\";\nimport { CommonTemplatesFiltersBar } from \"~/areas/projects/components/Variables/TenantVariables/FiltersBar\";\nimport type { ProjectTenantVariablesFilterState } from \"~/areas/projects/components/Variables/TenantVariables/FiltersBar\";\nimport { MissingValuesCallout } from \"~/areas/projects/components/Variables/TenantVariables/MissingValuesCallout\";\nimport NoCommonTemplateValuesOnboarding from \"~/areas/projects/components/Variables/TenantVariables/NoCommonTemplateValuesOnboarding\";\nimport NoVariableSetsOnboarding from \"~/areas/projects/components/Variables/TenantVariables/NoVariableSetsOnboarding\";\nimport ScopedCommonTemplateScopeInlineCell from \"~/areas/projects/components/Variables/TenantVariables/ScopedTenantVariables/ScopedCommonTemplateScopeInlineCell\";\nimport { extractCommonTemplateValueIds, type ScopedCommonTemplatesScopeChangeTracker, type ScopedCommonTemplatesScopeKey } from \"~/areas/projects/components/Variables/TenantVariables/ScopedTenantVariables/useScopedCommonTemplatesScopeChangeTracker\";\nimport { TemplateNameCell } from \"~/areas/projects/components/Variables/TenantVariables/TemplateNameCell\";\nimport { getVariableTypeFromDisplaySettings } from \"~/areas/projects/components/Variables/TenantVariables/getVariableTypeFromDisplaySettings\";\nimport { pagingBarStyles, styles, tenantVariablesDataTable } from \"~/areas/projects/components/Variables/TenantVariables/styles\";\nimport { createCommonTemplatesValueKey } from \"~/areas/projects/components/Variables/TenantVariables/useCommonTemplatesValueChangeTracker\";\nimport type { CommonTemplatesValueChangeTracker, CommonTemplatesValueKey } from \"~/areas/projects/components/Variables/TenantVariables/useCommonTemplatesValueChangeTracker\";\nimport type { TenantVariableFiltersData } from \"~/areas/projects/components/Variables/TenantVariables/useTenantVariableFiltersData\";\nimport type { TenantVariableResourceOptions } from \"~/areas/projects/components/Variables/TenantVariables/useTenantVariableResourceOptions\";\nimport { TenantNameCellWithLink } from \"~/areas/tenants/components/DataTable/Cells/TenantNameCell\";\nimport NumberedPagingBar from \"~/areas/tenants/components/Paging/NumberedPagingBar\";\nimport { repository } from \"~/clientInstance\";\nimport { type DoBusyTask, useDoBusyTaskEffect } from \"~/components/DataBaseComponent/index\";\nimport { GroupedDataTable } from \"~/components/GroupedDataTable/GroupedDataTable\";\nimport { OverflowMenu, OverflowMenuItems } from \"~/components/OverflowMenu/OverflowMenu\";\nimport { isAllowed } from \"~/components/PermissionCheck/PermissionCheck\";\nimport SidebarLayout, { SidebarSide } from \"~/components/SidebarLayout/index\";\nimport { generateGuid } from \"../../../Process/generation\";\ninterface ScopedCommonTemplatesInlineTabContentProps {\n project: ProjectResource;\n connectedEnvironments: Map;\n doBusyTask: DoBusyTask;\n filterState: ProjectTenantVariablesFilterState;\n filterData: TenantVariableFiltersData;\n setFilterState: (filter: ProjectTenantVariablesFilterState) => void;\n pageSize: number;\n setPageState: (newPageNumber: number, newPageSize: number) => void;\n commonTemplatesWithValues: GetScopedCommonTemplatesWithValuesBffResponse;\n onAddTemplateFromOnboarding: (text: string) => void;\n resourceOptions: TenantVariableResourceOptions;\n valueChangeTracker: CommonTemplatesValueChangeTracker;\n scopeChangeTracker: ScopedCommonTemplatesScopeChangeTracker;\n}\nexport function ScopedCommonTemplatesInlineTabContent({ project, connectedEnvironments, doBusyTask, filterState, filterData, setFilterState, pageSize, setPageState, commonTemplatesWithValues, onAddTemplateFromOnboarding, resourceOptions, valueChangeTracker, scopeChangeTracker, }: ScopedCommonTemplatesInlineTabContentProps) {\n const [variableSets, setVariableSets] = useState(null);\n useDoBusyTaskEffect(doBusyTask, async () => {\n const libraryVariableSets = await repository.LibraryVariableSets.all({\n ids: project.IncludedLibraryVariableSetIds,\n contentType: VariableSetContentType.Variables,\n });\n setVariableSets(libraryVariableSets);\n }, [project]);\n if (variableSets === null) {\n return null;\n }\n if (variableSets.length === 0) {\n return ;\n }\n const missingValueVariableSetIds = new Set(commonTemplatesWithValues.MissingValueLibraryVariableSetIds);\n if (commonTemplatesWithValues.TotalValuesCount === 0) {\n return (
    \n } side={SidebarSide.Left} extendSidebarToEdges={true} extendContentToEdges={true} reduceWidthForSmallResolution={true}>\n \n \n
    );\n }\n const [variableValues, bindableTemplateNames] = buildCommonTemplateRowData(commonTemplatesWithValues, variableSets, valueChangeTracker, scopeChangeTracker);\n const unsavedChanges = valueChangeTracker.values().length || scopeChangeTracker.values().length;\n return (} side={SidebarSide.Left} extendSidebarToEdges={true} extendContentToEdges={true} reduceWidthForSmallResolution={true}>\n
    \n {commonTemplatesWithValues.AnyMissingValues && }\n \n \n
    \n \n
    \n
    \n
    );\n}\ninterface ScopedCommonTemplatesDataTableProps {\n accounts: {\n [accountId: string]: string;\n };\n certificates: {\n [certificateId: string]: string;\n };\n workerPools: {\n [workerPoolId: string]: WorkerPoolResource;\n };\n connectedEnvironments: Map;\n project: ProjectResource;\n values: CommonTemplateRowData[];\n resourceOptions: TenantVariableResourceOptions;\n valueChangeTracker: CommonTemplatesValueChangeTracker;\n scopeChangeTracker: ScopedCommonTemplatesScopeChangeTracker;\n doBusyTask: DoBusyTask;\n bindableTemplateNames: string[];\n}\nexport function ScopedCommonTemplatesDataTable({ values, project, accounts, certificates, workerPools, connectedEnvironments, resourceOptions, valueChangeTracker, scopeChangeTracker, doBusyTask, bindableTemplateNames, }: ScopedCommonTemplatesDataTableProps) {\n const [focusedValueKey, setFocusedValueKey] = useState(null);\n const [focusedScopeKey, setFocusedScopeKey] = useState(null);\n const editingPermissions = {\n permission: Permission.VariableEdit,\n project: project.Id,\n wildcard: true,\n };\n const hasEditPermissions = isAllowed(editingPermissions);\n const renderValueCell = (data: CommonTemplateRowData) => {\n const tenantId = data.Variable.TenantId;\n const sourceItems = resourceOptions.get(tenantId);\n const valueKey = data.RowKey;\n const hasValueChanged = valueChangeTracker.has(valueKey);\n const value = hasValueChanged ? valueChangeTracker.get(valueKey) : data.Variable.Value;\n const handleOnBlur = () => {\n setFocusedValueKey((previous: ScopedCommonTemplatesScopeKey | null) => (previous === valueKey ? null : previous));\n };\n return ( setFocusedValueKey(valueKey)} onBlur={handleOnBlur} bindableTemplateNames={bindableTemplateNames} hasEditPermissions={hasEditPermissions} hasValueChanged={hasValueChanged} initialValue={data.Variable.Value}/>);\n };\n const renderScopeCell = (data: CommonTemplateRowData) => {\n const scopeKey = data.RowKey;\n const hasScopeChanged = scopeChangeTracker.has(scopeKey);\n const handleOnBlur = () => {\n setFocusedScopeKey((previous: CommonTemplatesValueKey | null) => (previous === scopeKey ? null : previous));\n };\n return ( setFocusedScopeKey(scopeKey)} onBlur={handleOnBlur} hasEditPermissions={hasEditPermissions} hasScopeChanged={hasScopeChanged} initialEnvironmentScope={data.Scope.EnvironmentIds}/>);\n };\n const groupByVariableSetName = (values: CommonTemplateRowData[]) => values.map((value) => ({\n key: value.VariableSet.Name,\n selector: (data: CommonTemplateRowData) => data.VariableSet.Name,\n header: (\n \n
    {value.VariableSet.Name}
    \n \n ),\n }));\n function onAddRow(data: CommonTemplateRowData) {\n const rowKey = createCommonTemplatesValueKey(data.VariableSetId, data.Template.Id, data.Variable.TenantId, generateGuid());\n valueChangeTracker.add(rowKey, undefined);\n scopeChangeTracker.add(rowKey, []);\n }\n function onDeleteRow(values: CommonTemplateRowData[], data: CommonTemplateRowData) {\n // Only remove values and scopes if it is the only template value for a tenant\n const isLastTenantVariable = values.filter((v) => v.Template.Id === data.Template.Id && v.Variable.TenantId === data.Variable.TenantId).length === 1;\n if (isLastTenantVariable) {\n valueChangeTracker.set(data.RowKey, undefined);\n scopeChangeTracker.set(data.RowKey, []);\n return;\n }\n valueChangeTracker.delete(data.RowKey);\n scopeChangeTracker.delete(data.RowKey);\n }\n return ( (data.IsTemplateChild ? null : ), width: \"15%\", isChild: (data) => data.IsTemplateChild },\n {\n title: \"Tenant\",\n isChild: (data) => data.IsTenantChild,\n render: (data) => data.IsTenantChild ? null : ( 20} linkToPage=\"Variables\"/>),\n width: \"20%\",\n },\n {\n title: \"Value\",\n render: renderValueCell,\n width: \"15%\",\n padding: \"0\",\n backgroundColor: (data) => {\n const hasValueChanged = valueChangeTracker.has(data.RowKey);\n return hasValueChanged ? themeTokens.color.callout.background.attention.default : undefined;\n },\n },\n {\n title: \"Scope\",\n width: \"35%\",\n render: renderScopeCell,\n backgroundColor: (data) => {\n const hasValueChanged = scopeChangeTracker.has(data.RowKey);\n return hasValueChanged ? themeTokens.color.callout.background.attention.default : undefined;\n },\n },\n {\n title: \"\",\n render: (data) => {\n return (
    \n {hasEditPermissions ? ( {\n onAddRow(data);\n }),\n OverflowMenuItems.item(\"Delete\", () => {\n onDeleteRow(values, data);\n }),\n ]}/>) : null}\n
    );\n },\n width: \"5%\",\n },\n ]} getRowKey={(data) => data.RowKey}/>);\n}\ninterface Scope {\n EnvironmentIds: string[];\n}\ninterface CommonTemplateRowData {\n VariableSetId: string;\n VariableSet: LibraryVariableSetInfo;\n Variable: ScopedCommonTemplateTenantValue;\n Template: ActionTemplateParameterResource;\n VariableType: VariableType;\n RowKey: CommonTemplatesValueKey;\n Scope: Scope;\n IsTemplateChild: boolean;\n IsTenantChild: boolean;\n}\nfunction buildCommonTemplateRowData(commonTemplatesWithValues: GetScopedCommonTemplatesWithValuesBffResponse, variableSets: LibraryVariableSetResource[], valueChangeTracker: CommonTemplatesValueChangeTracker, scopeChangeTracker: ScopedCommonTemplatesScopeChangeTracker): [\n CommonTemplateRowData[],\n string[]\n] {\n const rows: CommonTemplateRowData[] = [];\n const [templatesLookup, bindableNames] = buildTemplatesLookup(variableSets);\n const templatesWithChildren = new Set();\n const removedVariables = valueChangeTracker.removedVariables();\n for (const variableSet of commonTemplatesWithValues.VariableSets) {\n const set = variableSet.LibraryVariableSet;\n for (const templateWithValues of variableSet.Templates) {\n const tenantsWithChildren = new Set();\n const tenantVariablesMap = new Map();\n for (let i = 0; i < templateWithValues.Values.length; i++) {\n const variable = templateWithValues.Values[i];\n const tenantId = variable.TenantId;\n const existing = tenantVariablesMap.get(tenantId);\n if (existing) {\n existing.push(variable);\n }\n else {\n tenantVariablesMap.set(tenantId, []);\n tenantVariablesMap.get(tenantId)?.push(variable);\n }\n }\n for (const [tenantId, variables] of tenantVariablesMap) {\n const variable = variables[variables.length - 1];\n const newVariablesMap = valueChangeTracker.newVariables(set.Id, variable.TemplateId, variable.TenantId);\n const newScopesMap = scopeChangeTracker.newVariables(set.Id, variable.TemplateId, variable.TenantId);\n for (const [key, newVar] of newVariablesMap) {\n const { guid } = extractCommonTemplateValueIds(key);\n const newVariable = {\n ...variable,\n Id: guid,\n Value: newVar,\n Scope: { EnvironmentIds: newScopesMap.get(key) || [] },\n };\n tenantVariablesMap.get(tenantId)?.push(newVariable);\n }\n const variablesToKeep = variables.filter((v) => {\n const key = createCommonTemplatesValueKey(set.Id, variable.TemplateId, variable.TenantId, v.Id);\n return !removedVariables.has(key);\n });\n tenantVariablesMap.set(tenantId, variablesToKeep);\n }\n for (const [tenantId, variables] of tenantVariablesMap) {\n for (const variable of variables.values()) {\n const templateWithType = templatesLookup.get(variable.TemplateId);\n if (!templateWithType) {\n logger.warn(\"Could not find common template with Id {id}\", { id: variable.TemplateId });\n continue;\n }\n const { template, type } = templateWithType;\n const isTemplateHasChildren = templatesWithChildren.has(template.Id);\n if (!isTemplateHasChildren) {\n templatesWithChildren.add(template.Id);\n }\n const isTenantHasChildren = tenantsWithChildren.has(variable.TenantId);\n if (!isTenantHasChildren) {\n tenantsWithChildren.add(variable.TenantId);\n }\n const row: CommonTemplateRowData = {\n VariableSetId: set.Id,\n VariableSet: set,\n Variable: variable,\n Template: template,\n VariableType: type,\n RowKey: createCommonTemplatesValueKey(set.Id, template.Id, variable.TenantId, variable.Id),\n Scope: { EnvironmentIds: variable.Scope.EnvironmentIds },\n IsTemplateChild: isTemplateHasChildren,\n IsTenantChild: isTenantHasChildren,\n };\n rows.push(row);\n }\n }\n }\n }\n return [rows, bindableNames];\n}\ninterface TemplateWithVariableType {\n template: ActionTemplateParameterResource;\n type: VariableType;\n}\nfunction buildTemplatesLookup(variableSets: LibraryVariableSetResource[]): [\n Map,\n string[]\n] {\n const templates = new Map();\n const bindableNames = new Set();\n for (const variableSet of variableSets) {\n for (const template of variableSet.Templates) {\n const type = getVariableTypeFromDisplaySettings(template.DisplaySettings[\"Octopus.ControlType\"]);\n templates.set(template.Id, { template, type });\n bindableNames.add(template.Name);\n }\n }\n return [templates, Array.from(bindableNames)];\n}\n","import { Snackbar } from \"@octopusdeploy/design-system-components\";\nimport type { ProjectResource } from \"@octopusdeploy/octopus-server-client\";\nimport * as React from \"react\";\nimport { useState } from \"react\";\nimport { ScopedCommonTemplatesInlineTabContent } from \"~/areas/projects/components/Variables/TenantVariables/ScopedTenantVariables/ScopedCommonTemplatesInlineTabContent\";\nimport type { ScopedCommonTemplatesState } from \"~/areas/projects/components/Variables/TenantVariables/ScopedTenantVariables/useScopedCommonTemplatesState\";\nimport type { TenantVariableFiltersData } from \"~/areas/projects/components/Variables/TenantVariables/useTenantVariableFiltersData\";\nimport type { TenantVariableResourceOptions } from \"~/areas/projects/components/Variables/TenantVariables/useTenantVariableResourceOptions\";\nimport type { DoBusyTask } from \"~/components/DataBaseComponent/index\";\nimport type { CommonTemplatesValueChangeTracker } from \"../useCommonTemplatesValueChangeTracker\";\nimport type { ScopedCommonTemplatesScopeChangeTracker } from \"./useScopedCommonTemplatesScopeChangeTracker\";\ninterface ScopedCommonTemplatesInlineContentProps {\n project: ProjectResource;\n doBusyTask: DoBusyTask;\n contentState: ScopedCommonTemplatesState;\n filterData: TenantVariableFiltersData;\n variableResourceOptions: TenantVariableResourceOptions;\n valueChangeTracker: CommonTemplatesValueChangeTracker;\n scopeChangeTracker: ScopedCommonTemplatesScopeChangeTracker;\n}\nexport default function ScopedCommonTemplatesInlineContent({ project, doBusyTask, contentState, filterData, variableResourceOptions, valueChangeTracker, scopeChangeTracker }: ScopedCommonTemplatesInlineContentProps) {\n const { data, connectedEnvironments, pageSize, filterState, actions } = contentState;\n const [isSnackbarOpen, setIsSnackbarOpen] = useState(false);\n const [snackbarText, setSnackbarText] = useState(\"\");\n const onIncludeVariableSetFromOnboarding = (text: string) => {\n setIsSnackbarOpen(true);\n setSnackbarText(text);\n };\n return (<>\n {data && ()}\n setIsSnackbarOpen(false)} textAlign={\"center\"}/>\n );\n}\n","import { useState } from \"react\";\nimport useLocalStorage from \"~/hooks/useLocalStorage\";\nexport type PageState = {\n pageSize: number;\n pageNumber: number;\n};\nexport function usePageState(localStorageKey: string, defaultPageSize: number = 30): [\n PageState,\n (newPageNumber: number, newPageSize: number) => void\n] {\n const [pageNumber, setPageNumber] = useState(1);\n const [pageSize, setPageSize] = useLocalStorage(localStorageKey, defaultPageSize);\n const setPageState = (newPageNumber: number, newPageSize: number) => {\n setPageNumber(newPageNumber);\n setPageSize(newPageSize);\n };\n return [{ pageSize, pageNumber }, setPageState];\n}\n","import type { EnvironmentResource, GetProjectTemplatesWithValuesBffResponse, ProjectResource, GetScopedCommonTemplatesWithValuesBffResponse, GetConnectedEnvironmentsForTenantedProjectBffResponse } from \"@octopusdeploy/octopus-server-client\";\nimport React, { useState } from \"react\";\nimport type { ProjectTenantVariablesFilterState } from \"~/areas/projects/components/Variables/TenantVariables/FiltersBar\";\nimport type { TemplatesWarnings } from \"~/areas/projects/components/Variables/TenantVariables/ProjectTenantVariablesNavigationTabs\";\nimport { useCommonTemplatesFilterState } from \"~/areas/projects/components/Variables/TenantVariables/useCommonTemplatesFilterState\";\nimport { usePageState } from \"~/areas/tenants/components/Paging/usePageState\";\nimport { repository } from \"~/clientInstance\";\nimport { type DoBusyTask, useDoBusyTaskEffect } from \"~/components/DataBaseComponent/index\";\nimport RequestRaceConditioner from \"~/utils/RequestRaceConditioner/index\";\ninterface Actions {\n setPageState: (newPageNumber: number, newPageSize: number) => void;\n setFilter: (newFilter: ProjectTenantVariablesFilterState) => void;\n resetFilter: (newFilter: Partial) => void;\n onSave: () => Promise;\n}\nexport interface ScopedCommonTemplatesState {\n data: GetScopedCommonTemplatesWithValuesBffResponse | null;\n connectedEnvironments: Map;\n warnings: TemplatesWarnings;\n pageSize: number;\n filterState: ProjectTenantVariablesFilterState;\n actions: Actions;\n}\nconst pagingSelectionKey = \"octoProjectTenantVariablesPagingSelection\";\nexport function useScopedCommonTemplatesState(project: ProjectResource, doBusyTask: DoBusyTask): ScopedCommonTemplatesState {\n const [data, setData] = useState(null);\n const [connectedEnvironments, setConnectedEnvironments] = useState>(new Map());\n const [warnings, setWarnings] = useState({ projectTemplates: false, commonTemplates: false });\n const [pageState, setPageState] = usePageState(pagingSelectionKey);\n const [filterState, setFilterState] = useCommonTemplatesFilterState();\n const [isInitialPageLoad, setIsInitialPageLoad] = useState(true);\n const raceConditionerRef: Readonly> = React.useRef(new RequestRaceConditioner());\n const actions: Actions = {\n setPageState: (newPageNumber, newPageSize) => {\n setFilterState({ ...filterState, pageNumber: newPageNumber });\n setPageState(filterState.pageNumber, newPageSize);\n },\n setFilter: (newFilter) => setFilterState({ ...newFilter, pageNumber: 1 }),\n resetFilter: (newFilter) => setFilterState({ ...defaultFilter, ...newFilter }),\n onSave: async () => {\n await doBusyTask(async () => {\n await raceConditionerRef.current.avoidStaleResponsesForRequest(repository.Projects.getScopedCommonTemplatesWithValues(project.Id, (filterState.pageNumber - 1) * pageState.pageSize, pageState.pageSize, filterState), (response) => {\n setData(response);\n });\n });\n },\n };\n useDoBusyTaskEffect(doBusyTask, async () => {\n const loadCommonTemplates = () => repository.Projects.getScopedCommonTemplatesWithValues(project.Id, (filterState.pageNumber - 1) * pageState.pageSize, pageState.pageSize, filterState);\n const getConnectedEnvironments = () => repository.Projects.getConnectedEnvironments(project.Id);\n const updateDataState = (commonResponse: GetScopedCommonTemplatesWithValuesBffResponse | null, projectResponse: GetProjectTemplatesWithValuesBffResponse | null, connectedEnvironmentsResponse: GetConnectedEnvironmentsForTenantedProjectBffResponse | null) => {\n setData(commonResponse);\n if (connectedEnvironmentsResponse) {\n const environmentsMap = new Map();\n connectedEnvironmentsResponse?.ConnectedEnvironments.forEach((connectedEnvironment) => {\n environmentsMap.set(connectedEnvironment.TenantId, connectedEnvironment.Environments);\n });\n setConnectedEnvironments(environmentsMap);\n }\n setWarnings((previous) => ({ commonTemplates: commonResponse?.AnyMissingValues ?? previous.commonTemplates, projectTemplates: projectResponse?.AnyMissingValues ?? previous.projectTemplates }));\n };\n if (isInitialPageLoad) {\n const [commonResponse, projectResponse, connectedEnvironmentsResponse] = await Promise.all([\n loadCommonTemplates(),\n repository.Projects.getProjectTemplatesWithValues(project.Id, (filterState.pageNumber - 1) * pageState.pageSize, pageState.pageSize, filterState),\n getConnectedEnvironments(),\n ]);\n updateDataState(commonResponse, projectResponse, connectedEnvironmentsResponse);\n setIsInitialPageLoad(false);\n }\n else {\n await raceConditionerRef.current.avoidStaleResponsesForRequest(loadCommonTemplates(), (response) => updateDataState(response, null, null));\n }\n }, [project, filterState, pageState.pageSize]);\n return { data, connectedEnvironments, warnings, pageSize: pageState.pageSize, filterState, actions };\n}\nconst defaultFilter: ProjectTenantVariablesFilterState = {\n filterByName: undefined,\n filterByEnvironment: undefined,\n filterByExcludedEnvironment: undefined,\n filterByTenant: undefined,\n filterByExcludedTenant: undefined,\n filterByTags: [],\n filterByExcludedTags: [],\n filterByValueStatus: undefined,\n filterByTemplateId: undefined,\n filterByLibraryVariableSetId: undefined,\n pageNumber: 1,\n};\n","import type { GetCommonTemplatesWithValuesBffResponse, GetProjectTemplatesWithValuesBffResponse, ProjectResource } from \"@octopusdeploy/octopus-server-client\";\nimport React, { useState } from \"react\";\nimport type { ProjectTenantVariablesFilterState } from \"~/areas/projects/components/Variables/TenantVariables/FiltersBar\";\nimport type { TemplatesWarnings } from \"~/areas/projects/components/Variables/TenantVariables/ProjectTenantVariablesNavigationTabs\";\nimport { useCommonTemplatesFilterState } from \"~/areas/projects/components/Variables/TenantVariables/useCommonTemplatesFilterState\";\nimport { usePageState } from \"~/areas/tenants/components/Paging/usePageState\";\nimport { repository } from \"~/clientInstance\";\nimport { type DoBusyTask, useDoBusyTaskEffect } from \"~/components/DataBaseComponent/index\";\nimport RequestRaceConditioner from \"~/utils/RequestRaceConditioner/index\";\ninterface Actions {\n setPageState: (newPageNumber: number, newPageSize: number) => void;\n setFilter: (newFilter: ProjectTenantVariablesFilterState) => void;\n resetFilter: (newFilter: Partial) => void;\n onSave: () => Promise;\n}\nexport interface CommonTemplatesState {\n data: GetCommonTemplatesWithValuesBffResponse | null;\n warnings: TemplatesWarnings;\n pageSize: number;\n filterState: ProjectTenantVariablesFilterState;\n actions: Actions;\n}\nconst pagingSelectionKey = \"octoProjectTenantVariablesPagingSelection\";\nexport function useCommonTemplatesState(project: ProjectResource, doBusyTask: DoBusyTask): CommonTemplatesState {\n const [data, setData] = useState(null);\n const [warnings, setWarnings] = useState({ projectTemplates: false, commonTemplates: false });\n const [pageState, setPageState] = usePageState(pagingSelectionKey);\n const [filterState, setFilterState] = useCommonTemplatesFilterState();\n const [isInitialPageLoad, setIsInitialPageLoad] = useState(true);\n const raceConditionerRef: Readonly> = React.useRef(new RequestRaceConditioner());\n const actions: Actions = {\n setPageState: (newPageNumber, newPageSize) => {\n setFilterState({ ...filterState, pageNumber: newPageNumber });\n setPageState(filterState.pageNumber, newPageSize);\n },\n setFilter: (newFilter) => setFilterState({ ...newFilter, pageNumber: 1 }),\n resetFilter: (newFilter) => setFilterState({ ...defaultFilter, ...newFilter }),\n onSave: async () => {\n await doBusyTask(async () => {\n await raceConditionerRef.current.avoidStaleResponsesForRequest(repository.Projects.getCommonTemplatesWithValues(project.Id, (filterState.pageNumber - 1) * pageState.pageSize, pageState.pageSize, filterState), (response) => {\n setData(response);\n });\n });\n },\n };\n useDoBusyTaskEffect(doBusyTask, async () => {\n const loadCommonTemplates = () => repository.Projects.getCommonTemplatesWithValues(project.Id, (filterState.pageNumber - 1) * pageState.pageSize, pageState.pageSize, filterState);\n const updateDataState = (commonResponse: GetCommonTemplatesWithValuesBffResponse | null, projectResponse: GetProjectTemplatesWithValuesBffResponse | null) => {\n setData(commonResponse);\n setWarnings((previous) => ({ commonTemplates: commonResponse?.AnyMissingValues ?? previous.commonTemplates, projectTemplates: projectResponse?.AnyMissingValues ?? previous.projectTemplates }));\n };\n if (isInitialPageLoad) {\n const [commonResponse, projectResponse] = await Promise.all([loadCommonTemplates(), repository.Projects.getProjectTemplatesWithValues(project.Id, (filterState.pageNumber - 1) * pageState.pageSize, pageState.pageSize, filterState)]);\n updateDataState(commonResponse, projectResponse);\n setIsInitialPageLoad(false);\n }\n else {\n await raceConditionerRef.current.avoidStaleResponsesForRequest(loadCommonTemplates(), (response) => updateDataState(response, null));\n }\n }, [project, filterState, pageState.pageSize]);\n return { data, warnings, pageSize: pageState.pageSize, filterState, actions };\n}\nconst defaultFilter: ProjectTenantVariablesFilterState = {\n filterByName: undefined,\n filterByEnvironment: undefined,\n filterByExcludedEnvironment: undefined,\n filterByTenant: undefined,\n filterByExcludedTenant: undefined,\n filterByTags: [],\n filterByExcludedTags: [],\n filterByValueStatus: undefined,\n filterByTemplateId: undefined,\n filterByLibraryVariableSetId: undefined,\n pageNumber: 1,\n};\n","import type { EnvironmentResource, TagSetResource, TenantResource } from \"@octopusdeploy/octopus-server-client\";\nimport { Repository, Permission } from \"@octopusdeploy/octopus-server-client\";\nimport { useState } from \"react\";\nimport { repository } from \"~/clientInstance\";\nimport type { DoBusyTask } from \"~/components/DataBaseComponent/index\";\nimport { useDoBusyTaskEffect } from \"~/components/DataBaseComponent/index\";\nimport { hasPermission } from \"~/components/PermissionCheck/PermissionCheck\";\nimport * as tenantTagSets from \"~/components/tenantTagsets\";\nexport interface TenantVariableFiltersData {\n tenants: Map | null;\n environments: EnvironmentResource[] | null;\n tagSets: TagSetResource[] | null;\n}\nexport const useTenantVariableFiltersData = (projectId: string, doBusyTask: DoBusyTask): TenantVariableFiltersData => {\n const [tenants, setTenants] = useState | null>(null);\n const [environments, setEnvironments] = useState(null);\n const [tagSets, setTagSets] = useState(null);\n useDoBusyTaskEffect(doBusyTask, async () => {\n const [tenants, environments, tagSets] = await Promise.all([loadTenants(projectId), loadEnvironments(), tenantTagSets.getAll()]);\n setTenants(tenants);\n setEnvironments(environments);\n setTagSets(tagSets);\n }, []);\n return { tenants, environments, tagSets };\n};\nconst loadEnvironments = async (): Promise => {\n if (!hasPermission(Permission.EnvironmentView)) {\n return null;\n }\n return await repository.Environments.all();\n};\nconst loadTenants = async (projectId: string): Promise | null> => {\n if (!hasPermission(Permission.TenantView)) {\n return null;\n }\n const collection = await repository.Tenants.list({ projectId, take: Repository.takeAll });\n return collection.Items.reduce((lookup, tenant) => lookup.set(tenant.Id, tenant), new Map());\n};\n","import { type AccountResource, AccountType, type CertificateResource, type WorkerPoolResource } from \"@octopusdeploy/octopus-server-client\";\nimport { useState } from \"react\";\nimport { repository } from \"~/clientInstance\";\nimport type { DoBusyTask } from \"~/components/DataBaseComponent/index\";\nimport { useDoBusyTaskEffect } from \"~/components/DataBaseComponent/index\";\nimport type { SourceItems } from \"~/components/TenantVariableInput/TenantVariableInput\";\nexport interface TenantVariableResourceOptions {\n accounts: AccountsOptions;\n certificates: TenantCertificatesLazyOptions;\n workerPools: WorkerPoolsLazyOptions;\n get: (tenantId: string) => LoadedSourceItems;\n}\nexport interface LoadedSourceItems extends SourceItems {\n certificates: {\n items(): Promise;\n onRequestRefresh(): Promise;\n loadedItems: CertificateResource[];\n };\n workerPools: {\n items(): Promise;\n onRequestRefresh(): Promise;\n loadedItems: WorkerPoolResource[];\n };\n}\nexport function useTenantVariableResourceOptions(doBusyTask: DoBusyTask): TenantVariableResourceOptions {\n const accounts = useAccountsOptions(doBusyTask);\n const certificates = useTenantCertificatesLazyOptions(doBusyTask);\n const workerPools = useWorkerPoolsLazyOptions(doBusyTask);\n const getForTenant = (tenantId: string): LoadedSourceItems => ({\n accounts,\n certificates: certificates.get(tenantId),\n workerPools,\n tenantId,\n });\n return { accounts, certificates, workerPools, get: getForTenant };\n}\ninterface AccountsOptions {\n type: AccountType | AccountType[];\n items: AccountResource[];\n onRequestRefresh(): Promise;\n}\nfunction useAccountsOptions(doBusyTask: DoBusyTask): AccountsOptions {\n const [reloadTrigger, setReloadTrigger] = useState(false);\n const [allAccounts, setAllAccounts] = useState([]);\n useDoBusyTaskEffect(doBusyTask, async () => {\n await doBusyTask(async () => {\n const accounts = await repository.Accounts.all();\n setAllAccounts(accounts);\n });\n }, [reloadTrigger]);\n const refresh = async (): Promise => {\n setReloadTrigger((currentTrigger) => !currentTrigger);\n return Promise.resolve();\n };\n return {\n type: [AccountType.AzureServicePrincipal, AccountType.AzureSubscription, AccountType.AzureOidc],\n items: allAccounts,\n onRequestRefresh: refresh,\n };\n}\ninterface TenantCertificatesLazyOptions {\n get: (tenantId: string) => {\n items(): Promise;\n onRequestRefresh(): Promise;\n loadedItems: CertificateResource[];\n };\n}\nfunction useTenantCertificatesLazyOptions(doBusyTask: DoBusyTask): TenantCertificatesLazyOptions {\n const [allCertificates, setAllCertificates] = useState>(new Map());\n const getOrLoad = async (tenantId: string): Promise => {\n if (allCertificates.has(tenantId)) {\n return allCertificates.get(tenantId) || [];\n }\n let loadedCertificates: CertificateResource[] = [];\n await doBusyTask(async () => {\n loadedCertificates = await repository.Certificates.listForTenant(tenantId);\n const updated = new Map(allCertificates);\n updated.set(tenantId, loadedCertificates);\n setAllCertificates(updated);\n });\n return loadedCertificates;\n };\n const refresh = async (tenantId: string): Promise => doBusyTask(async () => {\n const tenantCertificates = await repository.Certificates.listForTenant(tenantId);\n const updated = new Map(allCertificates);\n updated.set(tenantId, tenantCertificates);\n setAllCertificates(updated);\n return true;\n });\n const buildForTenant = (tenantId: string) => {\n return {\n items: () => getOrLoad(tenantId),\n onRequestRefresh: () => refresh(tenantId),\n loadedItems: allCertificates.get(tenantId) ?? [],\n };\n };\n return { get: buildForTenant };\n}\ninterface WorkerPoolsLazyOptions {\n items(): Promise;\n onRequestRefresh(): Promise;\n loadedItems: WorkerPoolResource[];\n}\nfunction useWorkerPoolsLazyOptions(doBusyTask: DoBusyTask): WorkerPoolsLazyOptions {\n const [workerPools, setWorkerPools] = useState([]);\n const getOrLoad = async (): Promise => {\n if (workerPools.length > 0) {\n return workerPools;\n }\n let loadedWorkerPools: WorkerPoolResource[] = [];\n await doBusyTask(async () => {\n loadedWorkerPools = await repository.WorkerPools.all();\n setWorkerPools(loadedWorkerPools);\n });\n return loadedWorkerPools;\n };\n const refresh = async (): Promise => doBusyTask(async () => {\n const loadedWorkerPools = await repository.WorkerPools.all();\n setWorkerPools(loadedWorkerPools);\n return true;\n });\n return { items: getOrLoad, onRequestRefresh: refresh, loadedItems: workerPools };\n}\n","import type { GetProjectsAffectedByChangeBffResponse, ProjectResource, ModifyTenantCommonVariablesCommand, TenantVariableResource, ModifyTenantCommonVariableValue } from \"@octopusdeploy/octopus-server-client\";\nimport * as React from \"react\";\nimport { useState } from \"react\";\nimport AffectedProjectsNotificationDialog from \"~/areas/projects/components/Variables/TenantVariables/AffectedProjectsNotificationDialog\";\nimport CommonTemplatesInlineContent from \"~/areas/projects/components/Variables/TenantVariables/CommonTemplatesInlineContent\";\nimport ProjectTenantVariablesPageContent, { type TenantVariablesPageSaveAction } from \"~/areas/projects/components/Variables/TenantVariables/ProjectTenantVariablesPageContent\";\nimport ScopedCommonTemplatesInlineContent from \"~/areas/projects/components/Variables/TenantVariables/ScopedTenantVariables/ScopedCommonTemplatesInlineContent\";\nimport type { ScopedCommonTemplatesState } from \"~/areas/projects/components/Variables/TenantVariables/ScopedTenantVariables/useScopedCommonTemplatesState\";\nimport { useScopedCommonTemplatesState } from \"~/areas/projects/components/Variables/TenantVariables/ScopedTenantVariables/useScopedCommonTemplatesState\";\nimport type { CommonTemplatesState } from \"~/areas/projects/components/Variables/TenantVariables/useCommonTemplatesState\";\nimport { useCommonTemplatesState } from \"~/areas/projects/components/Variables/TenantVariables/useCommonTemplatesState\";\nimport type { ChangedCommonTemplatesValue, CommonTemplatesValueChangeTracker } from \"~/areas/projects/components/Variables/TenantVariables/useCommonTemplatesValueChangeTracker\";\nimport { useCommonTemplatesValueChangeTracker } from \"~/areas/projects/components/Variables/TenantVariables/useCommonTemplatesValueChangeTracker\";\nimport { useTenantVariableFiltersData } from \"~/areas/projects/components/Variables/TenantVariables/useTenantVariableFiltersData\";\nimport { useTenantVariableResourceOptions } from \"~/areas/projects/components/Variables/TenantVariables/useTenantVariableResourceOptions\";\nimport { repository } from \"~/clientInstance\";\nimport { useLegacyDoBusyTask } from \"~/components/DataBaseComponent/useLegacyDoBusyTask\";\nimport Dialog from \"~/components/Dialog/Dialog\";\nimport { useDialogTrigger } from \"~/components/Dialog/DialogTrigger\";\nimport { isFeatureToggleEnabled } from \"~/components/FeatureToggle/New/FeatureToggleContext\";\nimport type { ChangedCommonTemplatesScope, ScopedCommonTemplatesScopeChangeTracker } from \"./ScopedTenantVariables/useScopedCommonTemplatesScopeChangeTracker\";\nimport { useScopedCommonTemplatesScopeChangeTracker } from \"./ScopedTenantVariables/useScopedCommonTemplatesScopeChangeTracker\";\ninterface CommonTemplatesPageProps {\n project: ProjectResource;\n}\nfunction ScopedCommonTemplatesPage({ project }: CommonTemplatesPageProps) {\n const { status: legacyStatus, doBusyTask } = useLegacyDoBusyTask();\n const scopedContentState = useScopedCommonTemplatesState(project, doBusyTask);\n const filterData = useTenantVariableFiltersData(project.Id, doBusyTask);\n const variableResourceOptions = useTenantVariableResourceOptions(doBusyTask);\n const valueChangeTracker = useCommonTemplatesValueChangeTracker();\n const scopeChangeTracker = useScopedCommonTemplatesScopeChangeTracker();\n const { isOpen, openDialog } = useDialogTrigger();\n const [affectedProjects, setAffectedProjects] = useState(null);\n const saveAction: TenantVariablesPageSaveAction = {\n onClick: async () => {\n await doBusyTask(async () => {\n const response = await getAffectedProjects(project, valueChangeTracker, scopeChangeTracker);\n setAffectedProjects(response);\n if (response && response.TotalCount > 0) {\n openDialog();\n }\n else {\n await saveScoped(valueChangeTracker, scopeChangeTracker, scopedContentState);\n }\n });\n },\n disabled: !valueChangeTracker.hasAny() && !scopeChangeTracker.hasAny(),\n };\n const saveByConfirmation = async () => await doBusyTask(async () => {\n await saveScoped(valueChangeTracker, scopeChangeTracker, scopedContentState);\n setAffectedProjects(null);\n });\n const onConfirmationCancelled = () => setAffectedProjects(null);\n return (\n {project ? () : null}\n \n \n \n );\n}\nfunction UnscopedCommonTemplatesPage({ project }: CommonTemplatesPageProps) {\n const { status: legacyStatus, doBusyTask } = useLegacyDoBusyTask();\n const contentState = useCommonTemplatesState(project, doBusyTask);\n const filterData = useTenantVariableFiltersData(project.Id, doBusyTask);\n const variableResourceOptions = useTenantVariableResourceOptions(doBusyTask);\n const valueChangeTracker = useCommonTemplatesValueChangeTracker();\n const scopeChangeTracker = useScopedCommonTemplatesScopeChangeTracker();\n const { isOpen, openDialog } = useDialogTrigger();\n const [affectedProjects, setAffectedProjects] = useState(null);\n const saveAction: TenantVariablesPageSaveAction = {\n onClick: async () => {\n await doBusyTask(async () => {\n const response = await getAffectedProjects(project, valueChangeTracker, scopeChangeTracker);\n setAffectedProjects(response);\n if (response && response.TotalCount > 0) {\n openDialog();\n }\n else {\n await save(valueChangeTracker, contentState);\n }\n });\n },\n disabled: !valueChangeTracker.hasAny() && !scopeChangeTracker.hasAny(),\n };\n const saveByConfirmation = async () => await doBusyTask(async () => {\n await save(valueChangeTracker, contentState);\n setAffectedProjects(null);\n });\n const onConfirmationCancelled = () => setAffectedProjects(null);\n return (\n {project ? : null}\n \n \n \n );\n}\nexport default function CommonTemplatesPage({ project }: CommonTemplatesPageProps) {\n return isFeatureToggleEnabled(\"CommonVariableScopingFeatureToggle\") ? : ;\n}\nasync function getAffectedProjects(project: ProjectResource, valueTracker: CommonTemplatesValueChangeTracker, scopeTracker: ScopedCommonTemplatesScopeChangeTracker) {\n const changedSetsForValue = valueTracker.values().map((v) => ({ SetId: v.setId, TenantId: v.tenantId }));\n const changedSetsForScope = scopeTracker.values().map((v) => ({ SetId: v.setId, TenantId: v.tenantId }));\n const changedSets = [...changedSetsForValue, ...changedSetsForScope];\n return await repository.Projects.getProjectsAffectedByCommonTemplateChange(project.Id, changedSets);\n}\nasync function save(valueTracker: CommonTemplatesValueChangeTracker, contentState: CommonTemplatesState) {\n await saveChangedValues(valueTracker);\n await contentState.actions.onSave();\n valueTracker.reset();\n}\nasync function saveScoped(valueTracker: CommonTemplatesValueChangeTracker, scopeTracker: ScopedCommonTemplatesScopeChangeTracker, scopedContentState: ScopedCommonTemplatesState) {\n await saveCommonTemplates(valueTracker, scopeTracker);\n await scopedContentState.actions.onSave();\n valueTracker.reset();\n scopeTracker.reset();\n}\nasync function saveCommonTemplates(valueTracker: CommonTemplatesValueChangeTracker, scopeTracker: ScopedCommonTemplatesScopeChangeTracker) {\n const changedTenants = new Set([...valueTracker.changedTenants(), ...scopeTracker.changedTenants()]);\n const tenantCommonVariablesPromises = Array.from(changedTenants).map((id) => repository.Tenants.getCommonVariablesByTenantId(id));\n const tenantCommonVariables = await Promise.all(tenantCommonVariablesPromises);\n const tenantVariablesLookup: {\n [tenantId: string]: ModifyTenantCommonVariablesCommand;\n } = {};\n for (const tenantCommonVariable of tenantCommonVariables) {\n const { TenantId, Variables } = tenantCommonVariable;\n const variables = Variables.map((v) => ({ Id: v.Id, LibraryVariableSetId: v.LibraryVariableSetId, TemplateId: v.TemplateId, Template: v.Template, Value: v.Value, Scope: v.Scope }));\n tenantVariablesLookup[tenantCommonVariable.TenantId] = { TenantId: TenantId, Variables: variables };\n }\n const modifiedTenantVariables = modifyCommonTenantVariables(tenantVariablesLookup, valueTracker.values(), scopeTracker.values());\n const savingPromises = modifiedTenantVariables.map((variables) => repository.Tenants.setCommonVariablesByTenantId(variables.TenantId, variables));\n await Promise.all(savingPromises);\n}\nasync function saveChangedValues(valueTracker: CommonTemplatesValueChangeTracker) {\n const changedTenants = valueTracker.changedTenants();\n const tenantVariablesPromises = Array.from(changedTenants).map((id) => repository.Tenants.getVariablesByTenantId(id));\n const tenantVariables = await Promise.all(tenantVariablesPromises);\n const tenantVariablesLookup: {\n [tenantId: string]: TenantVariableResource;\n } = {};\n for (const tenantVariable of tenantVariables) {\n tenantVariablesLookup[tenantVariable.TenantId] = tenantVariable;\n }\n const modifiedTenantVariables = modifyTenantVariables(tenantVariablesLookup, valueTracker.values());\n const savingPromises = modifiedTenantVariables.map((variables) => repository.Tenants.setVariablesByTenantId(variables.TenantId, variables));\n await Promise.all(savingPromises);\n}\nfunction modifyTenantVariables(tenantVariables: {\n [tenantId: string]: TenantVariableResource;\n}, valueChanges: ChangedCommonTemplatesValue[]): TenantVariableResource[] {\n const modified = new Map();\n for (const { setId, templateId, tenantId, value } of valueChanges) {\n const variables = tenantVariables[tenantId];\n variables.LibraryVariables[setId].Variables[templateId] = value ?? \"\";\n modified.set(tenantId, variables);\n }\n return Array.from(modified.values());\n}\nfunction modifyCommonTenantVariables(tenantVariables: {\n [tenantId: string]: ModifyTenantCommonVariablesCommand;\n}, valueChanges: ChangedCommonTemplatesValue[], scopeChanges: ChangedCommonTemplatesScope[]): ModifyTenantCommonVariablesCommand[] {\n const modified = new Map();\n for (const { id, setId, templateId, tenantId, value, status } of valueChanges) {\n const variables = tenantVariables[tenantId];\n if (status === \"deleted\") {\n variables.Variables = variables.Variables.filter((v) => v.Id !== id);\n modified.set(tenantId, variables);\n continue;\n }\n const variable = variables.Variables.find((v) => (id && v.Id === id) || (!id && matchVariableByTemplate(v, setId, templateId)));\n if (!variable) {\n const scope = scopeChanges.find((s) => (id && s.guid === id) || (!id && matchScopeChangeByTemplate(s, tenantId, setId, templateId)));\n variables.Variables.push({\n Id: id,\n LibraryVariableSetId: setId,\n TemplateId: templateId,\n Value: value ?? null,\n Scope: { EnvironmentIds: scope?.environmentIds ?? [] },\n });\n modified.set(tenantId, variables);\n continue;\n }\n variable.Value = value ?? null;\n variables.Variables = variables.Variables.map((v) => (v.Id === id ? variable : v));\n modified.set(tenantId, variables);\n }\n for (const { guid, setId, templateId, tenantId, environmentIds, status } of scopeChanges) {\n const variables = modified.get(tenantId) ?? tenantVariables[tenantId];\n if (status === \"deleted\") {\n variables.Variables = variables.Variables.filter((v) => v.Id !== guid);\n modified.set(tenantId, variables);\n continue;\n }\n const variable = variables.Variables.find((v) => (guid && v.Id === guid) || (!guid && matchVariableByTemplate(v, setId, templateId)));\n if (!variable) {\n const value = valueChanges.find((s) => (guid && s.id === guid) || (!guid && matchValueChangeByTemplate(s, tenantId, setId, templateId)));\n variables.Variables.push({\n Id: guid,\n LibraryVariableSetId: setId,\n TemplateId: templateId,\n Value: value?.value ?? null,\n Scope: { EnvironmentIds: environmentIds ?? [] },\n });\n modified.set(tenantId, variables);\n continue;\n }\n variable.Scope.EnvironmentIds = environmentIds ?? [];\n modified.set(tenantId, variables);\n }\n return Array.from(modified.values());\n}\nfunction matchVariableByTemplate(variable: ModifyTenantCommonVariableValue, setId: string, templateId: string): boolean {\n return !variable.Id && variable.LibraryVariableSetId === setId && variable.TemplateId === templateId;\n}\nfunction matchScopeChangeByTemplate(changedScope: ChangedCommonTemplatesScope, tenantId: string, setId: string, templateId: string): boolean {\n return !changedScope.guid && changedScope.setId === setId && changedScope.templateId === templateId && changedScope.tenantId === tenantId;\n}\nfunction matchValueChangeByTemplate(changedValue: ChangedCommonTemplatesValue, tenantId: string, setId: string, templateId: string): boolean {\n return !changedValue.id && changedValue.setId === setId && changedValue.templateId === templateId && changedValue.tenantId === tenantId;\n}\n","import type { ProjectResource } from \"@octopusdeploy/octopus-server-client\";\nimport * as React from \"react\";\nimport { AddProjectTemplateButton } from \"~/areas/projects/components/Variables/TenantVariables/AddProjectTemplateButton\";\nimport type { DoBusyTask } from \"~/components/DataBaseComponent/index\";\nimport OnboardingPage from \"~/components/GettingStarted/OnboardingPage\";\nimport ExternalLink from \"~/components/Navigation/ExternalLink/ExternalLink\";\ninterface NoTemplatesOnboardingProps {\n project: ProjectResource;\n doBusyTask: DoBusyTask;\n onAddTemplate: (text: string) => void;\n}\nexport default function NoTemplatesOnboarding({ project, doBusyTask, onAddTemplate }: NoTemplatesOnboardingProps) {\n return (Project templates allow you to specify variables that can have different values per tenant/environment combination.} actionButtons={} learnMore={Learn more}/>);\n}\n","import { NavigationButton } from \"@octopusdeploy/design-system-components\";\nimport type { ProjectResource } from \"@octopusdeploy/octopus-server-client\";\nimport { links } from \"@octopusdeploy/portal-routes\";\nimport * as React from \"react\";\nimport OnboardingPage from \"~/components/GettingStarted/OnboardingPage\";\nimport ExternalLink from \"~/components/Navigation/ExternalLink/ExternalLink\";\nexport interface OnboardingProps {\n project: ProjectResource;\n}\nexport default function NoValuesOnboarding({ project }: OnboardingProps) {\n return (Project template values are applied to each tenant/environment combination connected to this project. To set values, you'll need to connect tenants to at least one environment in this project. } actionButtons={} learnMore={Learn more}/>);\n}\n","import { css } from \"@emotion/css\";\nimport { space } from \"@octopusdeploy/design-system-tokens\";\nimport type { PropertyValueResource, ActionTemplateParameterResource } from \"@octopusdeploy/octopus-server-client\";\nimport * as React from \"react\";\nimport type { ProjectTenantVariableValueChangeTracker, ProjectTenantVariableValueKey } from \"~/areas/projects/components/Variables/TenantVariables/useProjectTenantVariableValueChangeTracker\";\nimport type { DoBusyTask } from \"~/components/DataBaseComponent/index\";\nimport type { SourceItems } from \"~/components/TenantVariableInput/TenantVariableInput\";\nimport TenantVariableInput from \"~/components/TenantVariableInput/TenantVariableInput\";\ninterface ProjectTemplateValueEditProps {\n template: ActionTemplateParameterResource;\n value: PropertyValueResource | undefined;\n sourceItems: SourceItems;\n doBusyTask: DoBusyTask;\n valueTracker: ProjectTenantVariableValueChangeTracker;\n valueKey: ProjectTenantVariableValueKey;\n bindableTemplateNames: string[];\n initialValue: PropertyValueResource | undefined;\n}\nexport default function ProjectTemplateValueEdit({ template, value, sourceItems, doBusyTask, valueTracker, valueKey, bindableTemplateNames, initialValue }: ProjectTemplateValueEditProps) {\n const handleChange = (newValue: PropertyValueResource | undefined) => {\n if (newValue === initialValue) {\n valueTracker.remove(valueKey);\n }\n else {\n valueTracker.set(valueKey, newValue);\n }\n };\n return (
    \n handleChange(newValue)} hideSearch={true} autoFocus={true}/>\n
    );\n}\nconst editStyles = {\n container: css({\n padding: `${space[12]} ${space[12]} ${space[4]} ${space[12]}`,\n }),\n};\n","import { css } from \"@emotion/css\";\nimport { space } from \"@octopusdeploy/design-system-tokens\";\nimport type { ActionTemplateParameterResource, PropertyValueResource, VariableType, WorkerPoolResource } from \"@octopusdeploy/octopus-server-client\";\nimport * as React from \"react\";\nimport ChangedValueIndicator from \"~/areas/projects/components/Variables/TenantVariables/ChangedValueIndicator\";\nimport DefaultValueIndicator from \"~/areas/projects/components/Variables/TenantVariables/DefaultValueIndicator\";\nimport ReadonlyInlineVariableValue from \"~/areas/projects/components/Variables/TenantVariables/ReadonlyInlineVariableValue\";\nimport type { ProjectTenantVariableValueChangeTracker, ProjectTenantVariableValueKey } from \"~/areas/projects/components/Variables/TenantVariables/useProjectTenantVariableValueChangeTracker\";\nimport type { LoadedSourceItems } from \"~/areas/projects/components/Variables/TenantVariables/useTenantVariableResourceOptions\";\nimport type { DoBusyTask } from \"~/components/DataBaseComponent/index\";\nimport type { PopoverPosition } from \"~/components/PopoverWhenFocused/PopoverWhenFocused\";\nimport PopoverWhenFocused from \"~/components/PopoverWhenFocused/index\";\nimport ProjectTemplateValueEdit from \"./ProjectTemplateValueEdit\";\ninterface ProjectTemplateValueCellProps {\n template: ActionTemplateParameterResource;\n accounts: {\n [accountId: string]: string;\n };\n certificates: {\n [certificateId: string]: string;\n };\n workerPools: {\n [workerPoolId: string]: WorkerPoolResource;\n };\n value: PropertyValueResource | undefined;\n valueType: VariableType;\n sourceItems: LoadedSourceItems;\n doBusyTask: DoBusyTask;\n valueTracker: ProjectTenantVariableValueChangeTracker;\n valueKey: ProjectTenantVariableValueKey;\n focused: boolean;\n onFocus: () => void;\n onBlur: () => void;\n bindableTemplateNames: string[];\n hasEditPermissions: boolean;\n hasValueChanged: boolean;\n initialValue: PropertyValueResource | undefined;\n}\nexport default function ProjectTemplateValueInlineCell({ template, value, valueType, accounts, certificates, workerPools, sourceItems, doBusyTask, valueTracker, valueKey, focused, onFocus, onBlur, bindableTemplateNames, hasEditPermissions, hasValueChanged, initialValue, }: ProjectTemplateValueCellProps) {\n return hasEditPermissions ? () : ();\n}\ninterface ProjectTemplateValueEditableCell extends ProjectTemplateValueCellProps {\n hasEditPermissions: boolean;\n}\nfunction ProjectTemplateValueEditableCell({ template, value, valueType, accounts, certificates, workerPools, sourceItems, doBusyTask, valueTracker, valueKey, focused, onFocus, onBlur, hasEditPermissions, bindableTemplateNames, hasValueChanged, initialValue, }: ProjectTemplateValueEditableCell) {\n const calculateFocusedPopoverPosition = (): PopoverPosition => {\n // Move the popover up to account for the height of the template name label. This aligns the popover input with the preview input\n return {\n top: -12,\n left: 0,\n right: 0,\n };\n };\n return (
    \n \n {focused ? () : ()}\n \n
    );\n}\ninterface ProjectTemplateValueReadonlyCellProps {\n template: ActionTemplateParameterResource;\n value: PropertyValueResource | undefined;\n valueType: VariableType;\n accounts: {\n [accountId: string]: string;\n };\n certificates: {\n [certificateId: string]: string;\n };\n workerPools: {\n [workerPoolId: string]: WorkerPoolResource;\n };\n hasEditPermissions: boolean;\n sourceItems: LoadedSourceItems;\n hasValueChanged: boolean;\n}\nfunction ProjectTemplateValueReadonlyCell({ template, value, valueType, accounts, certificates, workerPools, hasEditPermissions, sourceItems, hasValueChanged }: ProjectTemplateValueReadonlyCellProps) {\n const hasDefaultValue = !!(!value && template.DefaultValue);\n return (
    \n \n \n \n
    );\n}\nconst cellStyles = {\n container: css({\n display: \"flex\",\n alignItems: \"center\",\n width: \"100%\",\n height: \"4rem\",\n }),\n readonlyContainer: css({\n display: \"flex\",\n justifyContent: \"space-between\",\n alignItems: \"center\",\n gap: space[8],\n width: \"100%\",\n height: \"100%\",\n padding: `${space[8]} ${space[12]}`,\n }),\n};\n","import { cx } from \"@emotion/css\";\nimport { Callout, List, Snackbar } from \"@octopusdeploy/design-system-components\";\nimport type { ActionTemplateParameterResource, ProjectResource } from \"@octopusdeploy/octopus-server-client\";\nimport { ControlType, Permission } from \"@octopusdeploy/octopus-server-client\";\nimport * as React from \"react\";\nimport { useState } from \"react\";\nimport { Action, useAnalyticActionDispatch } from \"~/analytics/Analytics\";\nimport type { ProjectTenantVariablesFilterState } from \"~/areas/projects/components/Variables/TenantVariables/FiltersBar\";\nimport { TemplateHelpText } from \"~/areas/projects/components/Variables/TenantVariables/TemplateHelpText\";\nimport { styles } from \"~/areas/projects/components/Variables/TenantVariables/styles\";\nimport MissingVariablesIcon from \"~/areas/tenants/MissingVariablesIcon/MissingVariablesIcon\";\nimport { repository } from \"~/clientInstance\";\nimport ActionTemplateParameterEditorDialog from \"~/components/ActionTemplateParametersList/ActionTemplateParameterEditorDialog\";\nimport { ActionTemplateParameterSorter } from \"~/components/ActionTemplateParametersList/ActionTemplateParameterSorter\";\nimport type { DoBusyTask } from \"~/components/DataBaseComponent/index\";\nimport DeleteDialogLayout from \"~/components/Dialog/DeleteDialogLayout\";\nimport Dialog from \"~/components/Dialog/Dialog\";\nimport { useDialogTrigger } from \"~/components/Dialog/DialogTrigger\";\nimport FilterSearchBox from \"~/components/FilterSearchBox/index\";\nimport { OverflowMenu, OverflowMenuItems } from \"~/components/OverflowMenu/OverflowMenu\";\nimport { isAllowed } from \"~/components/PermissionCheck/PermissionCheck\";\ninterface ProjectTemplatesSidebarContentProps {\n project: ProjectResource;\n pageSize: number;\n doBusyTask: DoBusyTask;\n filterState: ProjectTenantVariablesFilterState;\n setFilterState: (filter: ProjectTenantVariablesFilterState) => void;\n missingValueTemplateIds: Set;\n}\nexport default function ProjectTemplatesSidebarContent({ project, pageSize, doBusyTask, filterState, setFilterState, missingValueTemplateIds }: ProjectTemplatesSidebarContentProps) {\n const [activeTemplate, setActiveTemplate] = useState(undefined);\n const [templateFilterValue, setTemplateFilterValue] = useState(\"\");\n const { isOpen: isViewEditTemplateDialogOpen, openDialog: openViewEditTemplateDialog } = useDialogTrigger();\n const { isOpen: isDeleteTemplateDialogOpen, openDialog: openDeleteTemplateDialog } = useDialogTrigger();\n const onRowClick = (id: string | undefined) => {\n setFilterState({\n ...filterState,\n filterByTemplateId: id,\n pageNumber: 1,\n });\n };\n const onDeleteTemplate = () => {\n // Only reset the filter if we're scoped to the deleted template\n if (activeTemplate?.Id === filterState.filterByTemplateId) {\n setFilterState({\n ...filterState,\n filterByTemplateId: undefined,\n });\n }\n };\n const handleOpenViewEditTemplateDialog = (template: ActionTemplateParameterResource) => {\n setActiveTemplate(template);\n openViewEditTemplateDialog();\n };\n const handleOpenDeleteTemplateDialog = (template: ActionTemplateParameterResource) => {\n setActiveTemplate(template);\n openDeleteTemplateDialog();\n };\n const handleReorderTemplates = async (newTemplates: ActionTemplateParameterResource[]) => {\n await doBusyTask(async () => {\n await repository.Projects.modify({ ...project, Templates: newTemplates });\n });\n };\n const sidebarMaxHeight = pageSize === 30 ? styles.sidebar30Height : pageSize === 50 ? styles.sidebar50Height : styles.sidebar100Height;\n return (
    \n
    \n \n , {\n permission: Permission.ProjectEdit,\n project: project.Id,\n wildcard: true,\n }),\n ]}/>\n
    \n {templateFilterValue === \"\" ? (
    onRowClick(undefined)}>\n All project templates\n
    ) : null}\n\n t.Name.toLowerCase().includes(templateFilterValue.toLowerCase()))} renderRow={({ item: template }) => ()}/>\n \n \n
    );\n}\ninterface ProjectTemplatesSidebarRowProps {\n project: ProjectResource;\n template: ActionTemplateParameterResource;\n onRowClick: (id: string | undefined) => void;\n isMissing: boolean;\n isSelected: boolean;\n handleOpenViewEditTemplateDialog: (template: ActionTemplateParameterResource) => void;\n handleOpenDeleteTemplateDialog: (template: ActionTemplateParameterResource) => void;\n}\nfunction ProjectTemplatesSidebarRow({ project, template, onRowClick, isMissing, isSelected, handleOpenViewEditTemplateDialog, handleOpenDeleteTemplateDialog }: ProjectTemplatesSidebarRowProps) {\n const menuItems = [\n OverflowMenuItems.item(isAllowed({\n permission: Permission.ProjectEdit,\n project: project.Id,\n wildcard: true,\n })\n ? \"Edit template\"\n : \"View template\", () => handleOpenViewEditTemplateDialog(template)),\n OverflowMenuItems.item(\"Delete template\", () => handleOpenDeleteTemplateDialog(template), {\n permission: Permission.ProjectEdit,\n project: project.Id,\n wildcard: true,\n }),\n ];\n return (
    onRowClick(template.Id)}>\n
    \n
    \n
    \n {template.Name}\n
    \n \n \n
    \n
    {template.Label}
    \n
    \n
    \n \n
    \n
    );\n}\ninterface OverflowMenuDialogProps {\n open: boolean;\n template: ActionTemplateParameterResource | undefined;\n project: ProjectResource;\n doBusyTask: DoBusyTask;\n}\nfunction UpdateTemplateDialog({ open, template, project, doBusyTask }: OverflowMenuDialogProps) {\n const [isSnackbarOpen, setIsSnackbarOpen] = useState(false);\n const dispatchAction = useAnalyticActionDispatch();\n const handleUpdateTemplate = async (updated: ActionTemplateParameterResource) => {\n const resourceIndex = project.Templates.findIndex((t) => t.Id === updated.Id);\n const templatesBeforeUpdated = project.Templates.slice(0, resourceIndex);\n const templatesAfterUpdated = project.Templates.slice(resourceIndex + 1);\n await doBusyTask(async () => {\n await repository.Projects.modify({ ...project, Templates: [...templatesBeforeUpdated, updated, ...templatesAfterUpdated] });\n dispatchAction(\"Edit Project Variable Template\", { resource: \"Variable\", action: Action.Update });\n setIsSnackbarOpen(true);\n });\n };\n return (<>\n \n \n \n setIsSnackbarOpen(false)} textAlign={\"center\"}/>\n );\n}\ninterface DeleteTemplateDialogProps extends OverflowMenuDialogProps {\n onDelete: () => void;\n}\nfunction DeleteTemplateDialog({ open, template, project, doBusyTask, onDelete }: DeleteTemplateDialogProps) {\n const [isSnackbarOpen, setIsSnackbarOpen] = useState(false);\n const dispatchAction = useAnalyticActionDispatch();\n const handleDeleteTemplate = async () => {\n const templatesWithoutRemovedOne = project.Templates.filter((t) => t.Id !== template?.Id);\n await doBusyTask(async () => {\n await repository.Projects.modify({ ...project, Templates: templatesWithoutRemovedOne });\n dispatchAction(\"Delete Project Variable Template\", { resource: \"Variable\", action: Action.Delete });\n onDelete();\n setIsSnackbarOpen(true);\n });\n return true;\n };\n return (<>\n \n handleDeleteTemplate()} renderContent={() => (
    \n \n This action cannot be undone. This will permanently delete the {template?.Name} template from the project.\n \n

    Do you wish to continue?

    \n
    )}/>\n
    \n setIsSnackbarOpen(false)} textAlign={\"center\"}/>\n );\n}\n","import type { PropertyValueResource } from \"@octopusdeploy/octopus-server-client\";\nimport { useState } from \"react\";\nexport function useProjectTenantVariableValueChangeTracker(): ProjectTenantVariableValueChangeTracker {\n const [changes, setChanges] = useState>(new Map());\n return {\n has: (key: ProjectTenantVariableValueKey) => changes.has(key),\n get: (key: ProjectTenantVariableValueKey) => {\n if (changes.has(key)) {\n return changes.get(key);\n }\n throw new Error(`Key \"${key}\" not found in changed project tenant variables`);\n },\n set: (key: ProjectTenantVariableValueKey, value: PropertyValueResource | undefined) => {\n const copy = new Map(changes);\n copy.set(key, value);\n setChanges(copy);\n },\n remove: (key: ProjectTenantVariableValueKey) => {\n const copy = new Map(changes);\n copy.delete(key);\n setChanges(copy);\n },\n reset: () => setChanges(new Map()),\n values: () => Array.from(changes.entries()).map(([key, value]) => {\n const { projectId, templateId, tenantId, environmentId } = extractProjectTenantVariableIds(key);\n return {\n projectId,\n templateId,\n tenantId,\n environmentId,\n value,\n };\n }),\n hasAny: () => changes.size > 0,\n changedTenants: () => {\n const tenantIds: Set = new Set();\n for (const variableKey of changes.keys()) {\n const { tenantId } = extractProjectTenantVariableIds(variableKey);\n tenantIds.add(tenantId);\n }\n return tenantIds;\n },\n };\n}\nexport interface ProjectTenantVariableValueChangeTracker {\n has: (key: ProjectTenantVariableValueKey) => boolean;\n get: (key: ProjectTenantVariableValueKey) => PropertyValueResource | undefined; // To satisfy type check. Notice that PropertyValueResource can be undefined\n set: (key: ProjectTenantVariableValueKey, value: PropertyValueResource | undefined) => void;\n remove: (key: ProjectTenantVariableValueKey) => void;\n reset: () => void;\n values: () => ChangedProjectTemplateVariableValue[];\n hasAny: () => boolean;\n changedTenants: () => Set;\n}\nexport interface ChangedProjectTemplateVariableValue {\n projectId: string;\n templateId: string;\n tenantId: string;\n environmentId: string;\n value: PropertyValueResource | undefined;\n}\nexport type ProjectTenantVariableValueKey = `${string};${string};${string};${string}`;\nexport function createProjectTenantVariableKey(projectId: string, templateId: string, tenantId: string, environmentId: string): ProjectTenantVariableValueKey {\n return `${projectId};${templateId};${tenantId};${environmentId}`;\n}\nfunction extractProjectTenantVariableIds(key: ProjectTenantVariableValueKey): {\n projectId: string;\n templateId: string;\n tenantId: string;\n environmentId: string;\n} {\n const extracted = key.split(`;`);\n return {\n projectId: extracted[0],\n templateId: extracted[1],\n tenantId: extracted[2],\n environmentId: extracted[3],\n };\n}\n","import { themeTokens } from \"@octopusdeploy/design-system-tokens\";\nimport { logger } from \"@octopusdeploy/logging\";\nimport type { ActionTemplateParameterResource, GetProjectTemplatesWithValuesBffResponse, ProjectResource, ProjectTemplateTenantValue, VariableType, WorkerPoolResource } from \"@octopusdeploy/octopus-server-client\";\nimport { Permission } from \"@octopusdeploy/octopus-server-client\";\nimport type { Dictionary } from \"lodash\";\nimport * as React from \"react\";\nimport { useState } from \"react\";\nimport type { ProjectTenantVariablesFilterState } from \"~/areas/projects/components/Variables/TenantVariables/FiltersBar\";\nimport { ProjectTemplatesFiltersBar } from \"~/areas/projects/components/Variables/TenantVariables/FiltersBar\";\nimport { MissingValuesCallout } from \"~/areas/projects/components/Variables/TenantVariables/MissingValuesCallout\";\nimport NoTemplatesOnboarding from \"~/areas/projects/components/Variables/TenantVariables/NoTemplatesOnboarding\";\nimport NoValuesOnboarding from \"~/areas/projects/components/Variables/TenantVariables/NoValuesOnboarding\";\nimport ProjectTemplateValueInlineCell from \"~/areas/projects/components/Variables/TenantVariables/ProjectTemplateValueInlineCell\";\nimport ProjectTemplatesSidebarContent from \"~/areas/projects/components/Variables/TenantVariables/ProjectTemplatesSidebarContent\";\nimport { TemplateNameCell } from \"~/areas/projects/components/Variables/TenantVariables/TemplateNameCell\";\nimport { getVariableTypeFromDisplaySettings } from \"~/areas/projects/components/Variables/TenantVariables/getVariableTypeFromDisplaySettings\";\nimport { pagingBarStyles } from \"~/areas/projects/components/Variables/TenantVariables/styles\";\nimport type { ProjectTenantVariableValueChangeTracker, ProjectTenantVariableValueKey } from \"~/areas/projects/components/Variables/TenantVariables/useProjectTenantVariableValueChangeTracker\";\nimport { createProjectTenantVariableKey } from \"~/areas/projects/components/Variables/TenantVariables/useProjectTenantVariableValueChangeTracker\";\nimport type { TenantVariableFiltersData } from \"~/areas/projects/components/Variables/TenantVariables/useTenantVariableFiltersData\";\nimport type { TenantVariableResourceOptions } from \"~/areas/projects/components/Variables/TenantVariables/useTenantVariableResourceOptions\";\nimport { TenantNameCellWithLink } from \"~/areas/tenants/components/DataTable/Cells/TenantNameCell\";\nimport NumberedPagingBar from \"~/areas/tenants/components/Paging/NumberedPagingBar\";\nimport { EnvironmentChip } from \"~/components/Chips/index\";\nimport type { DoBusyTask } from \"~/components/DataBaseComponent/index\";\nimport { GroupedDataTable } from \"~/components/GroupedDataTable/GroupedDataTable\";\nimport { isAllowed } from \"~/components/PermissionCheck/PermissionCheck\";\nimport SidebarLayout, { SidebarSide } from \"~/components/SidebarLayout/index\";\ninterface ProjectTemplatesInlineTabContentProps {\n project: ProjectResource;\n doBusyTask: DoBusyTask;\n filterState: ProjectTenantVariablesFilterState;\n setFilterState: (filter: ProjectTenantVariablesFilterState) => void;\n filterData: TenantVariableFiltersData;\n pageSize: number;\n setPageState: (newPageNumber: number, newPageSize: number) => void;\n projectTemplatesWithValues: GetProjectTemplatesWithValuesBffResponse;\n onAddTemplateFromOnboarding: (text: string) => void;\n resourceOptions: TenantVariableResourceOptions;\n variableValueTracker: ProjectTenantVariableValueChangeTracker;\n}\nexport default function ProjectTemplatesInlineTabContent({ project, doBusyTask, filterState, filterData, setFilterState, pageSize, setPageState, projectTemplatesWithValues, onAddTemplateFromOnboarding, resourceOptions, variableValueTracker, }: ProjectTemplatesInlineTabContentProps) {\n if (project.Templates.length === 0) {\n return ;\n }\n const missingValuesTemplateIds = new Set(projectTemplatesWithValues.MissingValueProjectTemplateIds);\n if (projectTemplatesWithValues.TotalValuesCount === 0) {\n return (
    \n } side={SidebarSide.Left} extendSidebarToEdges={true} extendContentToEdges={true} reduceWidthForSmallResolution={true}>\n \n \n
    );\n }\n const variableValues = buildProjectTemplateRowData(project, projectTemplatesWithValues);\n const unsavedChanges = variableValueTracker.values().length;\n return (} side={SidebarSide.Left} extendSidebarToEdges={true} extendContentToEdges={true} reduceWidthForSmallResolution={true}>\n
    \n {projectTemplatesWithValues.AnyMissingValues && }\n \n \n
    \n \n
    \n
    \n
    );\n}\ninterface ProjectTemplatesDataTableProps {\n accounts: {\n [accountId: string]: string;\n };\n certificates: {\n [certificateId: string]: string;\n };\n workerPools: {\n [workerPoolId: string]: WorkerPoolResource;\n };\n project: ProjectResource;\n values: ProjectTemplateRowData[];\n resourceOptions: TenantVariableResourceOptions;\n doBusyTask: DoBusyTask;\n variableValueTracker: ProjectTenantVariableValueChangeTracker;\n}\nfunction ProjectTemplatesDataTable({ values, project, accounts, certificates, workerPools, resourceOptions, doBusyTask, variableValueTracker }: ProjectTemplatesDataTableProps) {\n const [focusedValueKey, setFocusedValueKey] = useState(null);\n const bindableTemplateNames = project.Templates.map((t) => t.Name);\n const editingPermissions = {\n permission: Permission.VariableEdit,\n project: project.Id,\n wildcard: true,\n };\n const hasEditPermissions = isAllowed(editingPermissions);\n const renderValueCell = (data: ProjectTemplateRowData) => {\n const tenantId = data.Variable.TenantId;\n const sourceItems = resourceOptions.get(tenantId);\n const valueKey = createProjectTenantVariableKey(project.Id, data.Variable.TemplateId, data.Variable.TenantId, data.Variable.EnvironmentId);\n const hasValueChanged = variableValueTracker.has(valueKey);\n const value = hasValueChanged ? variableValueTracker.get(valueKey) : data.Variable.Value;\n // Show enabled tenants first\n values.sort((a, b) => Number(a.Variable.TenantIsDisabled) - Number(b.Variable.TenantIsDisabled));\n const handleOnBlur = () => {\n setFocusedValueKey((previous: ProjectTenantVariableValueKey | null) => (previous === valueKey ? null : previous));\n };\n return ( setFocusedValueKey(valueKey)} onBlur={handleOnBlur} bindableTemplateNames={bindableTemplateNames} hasEditPermissions={hasEditPermissions} hasValueChanged={hasValueChanged} initialValue={data.Variable.Value}/>);\n };\n return ( (data.IsChild ? null : ),\n width: \"25%\",\n isChild: (data) => data.IsChild,\n },\n {\n title: \"Tenant\",\n render: (data) => (
    setFocusedValueKey(null)}>\n \n
    ),\n width: \"20%\",\n },\n { title: \"Environment\", render: (data) => , width: \"20%\" },\n {\n title: \"Value\",\n render: renderValueCell,\n width: \"35%\",\n padding: \"0\",\n backgroundColor: (data) => {\n const valueKey = createProjectTenantVariableKey(project.Id, data.Variable.TemplateId, data.Variable.TenantId, data.Variable.EnvironmentId);\n const hasValueChanged = variableValueTracker.has(valueKey);\n return hasValueChanged ? themeTokens.color.callout.background.attention.default : undefined;\n },\n },\n ]} getRowKey={(data) => data.RowKey}/>);\n}\ninterface ProjectTemplateRowData {\n Variable: ProjectTemplateTenantValue;\n Template: ActionTemplateParameterResource;\n VariableType: VariableType;\n RowKey: string;\n IsChild: boolean;\n}\nfunction buildProjectTemplateRowData(project: ProjectResource, projectTemplatesWithValues: GetProjectTemplatesWithValuesBffResponse) {\n const templatesVariableType: Dictionary = {};\n const variableValues: ProjectTemplateRowData[] = [];\n const projectTemplates = new Map(project.Templates.map((pt) => [pt.Id, pt]));\n for (const variable of projectTemplatesWithValues.Variables) {\n const projectTemplate = projectTemplates.get(variable.TemplateId);\n if (!projectTemplate) {\n logger.warn(\"Could not find project template with ID {id}\", { id: variable.TemplateId });\n continue;\n }\n const hasTemplateBeenAdded = templatesVariableType[variable.TemplateId] !== undefined;\n if (!hasTemplateBeenAdded) {\n templatesVariableType[variable.TemplateId] = getVariableTypeFromDisplaySettings(projectTemplate.DisplaySettings[\"Octopus.ControlType\"]);\n }\n variableValues.push({\n Template: projectTemplate,\n VariableType: templatesVariableType[variable.TemplateId],\n Variable: variable,\n RowKey: `${projectTemplate.Id}${variable.TenantId}${variable.EnvironmentId}`,\n IsChild: hasTemplateBeenAdded,\n });\n }\n return variableValues;\n}\n","import { Snackbar } from \"@octopusdeploy/design-system-components\";\nimport type { ProjectResource } from \"@octopusdeploy/octopus-server-client\";\nimport * as React from \"react\";\nimport { useState } from \"react\";\nimport ProjectTemplatesInlineTabContent from \"~/areas/projects/components/Variables/TenantVariables/ProjectTemplatesInlineTabContent\";\nimport type { ProjectTemplatesState } from \"~/areas/projects/components/Variables/TenantVariables/useProjectTemplatesState\";\nimport type { ProjectTenantVariableValueChangeTracker } from \"~/areas/projects/components/Variables/TenantVariables/useProjectTenantVariableValueChangeTracker\";\nimport type { TenantVariableFiltersData } from \"~/areas/projects/components/Variables/TenantVariables/useTenantVariableFiltersData\";\nimport type { TenantVariableResourceOptions } from \"~/areas/projects/components/Variables/TenantVariables/useTenantVariableResourceOptions\";\nimport type { DoBusyTask } from \"~/components/DataBaseComponent/index\";\ninterface ProjectTemplatesInlineContentProps {\n project: ProjectResource;\n doBusyTask: DoBusyTask;\n contentState: ProjectTemplatesState;\n filterData: TenantVariableFiltersData;\n variableResourceOptions: TenantVariableResourceOptions;\n variableValueTracker: ProjectTenantVariableValueChangeTracker;\n}\nexport default function ProjectTemplatesInlineContent({ project, doBusyTask, contentState, filterData, variableResourceOptions, variableValueTracker }: ProjectTemplatesInlineContentProps) {\n const { data, pageSize, filterState, actions } = contentState;\n const [isSnackbarOpen, setIsSnackbarOpen] = useState(false);\n const [snackbarText, setSnackbarText] = useState(\"\");\n const onAddTemplateFromOnboarding = (text: string) => {\n setIsSnackbarOpen(true);\n setSnackbarText(text);\n };\n return (<>\n {data && ()}\n setIsSnackbarOpen(false)} textAlign={\"center\"}/>\n );\n}\n","import type { GetCommonTemplatesWithValuesBffResponse, GetProjectTemplatesWithValuesBffResponse, ProjectResource } from \"@octopusdeploy/octopus-server-client\";\nimport React, { useState } from \"react\";\nimport type { ProjectTenantVariablesFilterState } from \"~/areas/projects/components/Variables/TenantVariables/FiltersBar\";\nimport type { TemplatesWarnings } from \"~/areas/projects/components/Variables/TenantVariables/ProjectTenantVariablesNavigationTabs\";\nimport { useProjectTemplatesFilterState } from \"~/areas/projects/components/Variables/TenantVariables/useProjectTemplatesFilterState\";\nimport { usePageState } from \"~/areas/tenants/components/Paging/usePageState\";\nimport { repository } from \"~/clientInstance\";\nimport { type DoBusyTask, useDoBusyTaskEffect } from \"~/components/DataBaseComponent/index\";\nimport RequestRaceConditioner from \"~/utils/RequestRaceConditioner/index\";\ninterface Actions {\n setPageState: (newPageNumber: number, newPageSize: number) => void;\n setFilter: (newFilter: ProjectTenantVariablesFilterState) => void;\n resetFilter: (newFilter: Partial) => void;\n onSaveProjectTemplates: () => Promise;\n}\nexport interface ProjectTemplatesState {\n data: GetProjectTemplatesWithValuesBffResponse | null;\n warnings: TemplatesWarnings;\n pageSize: number;\n filterState: ProjectTenantVariablesFilterState;\n actions: Actions;\n}\nconst pagingSelectionKey = \"octoProjectTenantVariablesPagingSelection\";\nexport function useProjectTemplatesState(project: ProjectResource, doBusyTask: DoBusyTask): ProjectTemplatesState {\n const [data, setData] = useState(null);\n const [warnings, setWarnings] = useState({ projectTemplates: false, commonTemplates: false });\n const [pageState, setPageState] = usePageState(pagingSelectionKey);\n const [filterState, setFilterState] = useProjectTemplatesFilterState();\n const [isInitialPageLoad, setIsInitialPageLoad] = useState(true);\n const raceConditionerRef: Readonly> = React.useRef(new RequestRaceConditioner());\n const actions: Actions = {\n setPageState: (newPageNumber, newPageSize) => {\n setFilterState({ ...filterState, pageNumber: newPageNumber });\n setPageState(filterState.pageNumber, newPageSize);\n },\n setFilter: (newFilter) => {\n setFilterState({ ...newFilter, pageNumber: 1 });\n },\n resetFilter: (newFilter) => {\n setFilterState({ ...defaultFilter, ...newFilter });\n },\n onSaveProjectTemplates: async () => {\n await doBusyTask(async () => {\n await raceConditionerRef.current.avoidStaleResponsesForRequest(repository.Projects.getProjectTemplatesWithValues(project.Id, (filterState.pageNumber - 1) * pageState.pageSize, pageState.pageSize, filterState), (response) => {\n setData(response);\n });\n });\n },\n };\n useDoBusyTaskEffect(doBusyTask, async () => {\n const loadProjectTemplates = () => repository.Projects.getProjectTemplatesWithValues(project.Id, (filterState.pageNumber - 1) * pageState.pageSize, pageState.pageSize, filterState);\n const updateDataState = (projectResponse: GetProjectTemplatesWithValuesBffResponse | null, commonResponse: GetCommonTemplatesWithValuesBffResponse | null) => {\n setData(projectResponse);\n setWarnings((previous) => ({ projectTemplates: projectResponse?.AnyMissingValues ?? previous.projectTemplates, commonTemplates: commonResponse?.AnyMissingValues ?? previous.commonTemplates }));\n };\n if (isInitialPageLoad) {\n const [projectResponse, commonResponse] = await Promise.all([loadProjectTemplates(), repository.Projects.getCommonTemplatesWithValues(project.Id, (filterState.pageNumber - 1) * pageState.pageSize, pageState.pageSize, filterState)]);\n updateDataState(projectResponse, commonResponse);\n setIsInitialPageLoad(false);\n }\n else {\n await raceConditionerRef.current.avoidStaleResponsesForRequest(loadProjectTemplates(), (response) => updateDataState(response, null));\n }\n }, [project, filterState, pageState.pageSize]);\n return { data, warnings, pageSize: pageState.pageSize, filterState, actions };\n}\nconst defaultFilter: ProjectTenantVariablesFilterState = {\n filterByName: undefined,\n filterByEnvironment: undefined,\n filterByExcludedEnvironment: undefined,\n filterByTenant: undefined,\n filterByExcludedTenant: undefined,\n filterByTags: [],\n filterByExcludedTags: [],\n filterByValueStatus: undefined,\n filterByTemplateId: undefined,\n filterByLibraryVariableSetId: undefined,\n pageNumber: 1,\n};\n","import type { ProjectResource, TenantProjectVariablesResource, TenantVariableResource } from \"@octopusdeploy/octopus-server-client\";\nimport * as React from \"react\";\nimport ProjectTemplatesInlineContent from \"~/areas/projects/components/Variables/TenantVariables/ProjectTemplatesInlineContent\";\nimport type { TenantVariablesPageSaveAction } from \"~/areas/projects/components/Variables/TenantVariables/ProjectTenantVariablesPageContent\";\nimport ProjectTenantVariablesPageContent from \"~/areas/projects/components/Variables/TenantVariables/ProjectTenantVariablesPageContent\";\nimport { useProjectTemplatesState } from \"~/areas/projects/components/Variables/TenantVariables/useProjectTemplatesState\";\nimport type { ChangedProjectTemplateVariableValue, ProjectTenantVariableValueChangeTracker } from \"~/areas/projects/components/Variables/TenantVariables/useProjectTenantVariableValueChangeTracker\";\nimport { useProjectTenantVariableValueChangeTracker } from \"~/areas/projects/components/Variables/TenantVariables/useProjectTenantVariableValueChangeTracker\";\nimport { useTenantVariableFiltersData } from \"~/areas/projects/components/Variables/TenantVariables/useTenantVariableFiltersData\";\nimport { useTenantVariableResourceOptions } from \"~/areas/projects/components/Variables/TenantVariables/useTenantVariableResourceOptions\";\nimport { repository } from \"~/clientInstance\";\nimport { type DoBusyTask } from \"~/components/DataBaseComponent/index\";\nimport { useLegacyDoBusyTask } from \"~/components/DataBaseComponent/useLegacyDoBusyTask\";\nimport { isFeatureToggleEnabled } from \"~/components/FeatureToggle/New/FeatureToggleContext\";\ninterface ProjectTemplatesPageInternalProps {\n project: ProjectResource;\n}\nexport default function ProjectTemplatesPageInternal({ project }: ProjectTemplatesPageInternalProps) {\n const { status: legacyStatus, doBusyTask } = useLegacyDoBusyTask();\n const contentState = useProjectTemplatesState(project, doBusyTask);\n const filterData = useTenantVariableFiltersData(project.Id, doBusyTask);\n const variableResourceOptions = useTenantVariableResourceOptions(doBusyTask);\n const valueChangeTracker = useProjectTenantVariableValueChangeTracker();\n const saveAction = useProjectTenantVariableSaveAction(valueChangeTracker, doBusyTask, contentState.actions.onSaveProjectTemplates);\n return (\n {project ? : null}\n );\n}\nexport function useProjectTenantVariableSaveAction(valueChangeTracker: ProjectTenantVariableValueChangeTracker, doBusyTask: DoBusyTask, onSuccess: () => Promise): TenantVariablesPageSaveAction {\n const action: TenantVariablesPageSaveAction = {\n onClick: async () => {\n if (isFeatureToggleEnabled(\"CommonVariableScopingFeatureToggle\")) {\n await saveScopedProjectTemplateVariableValues(doBusyTask, valueChangeTracker);\n }\n else {\n await saveProjectTemplateVariableValues(doBusyTask, valueChangeTracker);\n }\n await onSuccess();\n valueChangeTracker.reset();\n },\n disabled: !valueChangeTracker.hasAny(),\n };\n return action;\n}\nasync function saveProjectTemplateVariableValues(doBusyTask: DoBusyTask, valueTracker: ProjectTenantVariableValueChangeTracker) {\n return doBusyTask(async () => {\n const changedTenants = valueTracker.changedTenants();\n const tenantVariablesPromises = Array.from(changedTenants).map((id) => repository.Tenants.getVariablesByTenantId(id));\n const tenantVariables = await Promise.all(tenantVariablesPromises);\n const tenantVariablesLookup: {\n [tenantId: string]: TenantVariableResource;\n } = {};\n for (const tenantVariable of tenantVariables) {\n tenantVariablesLookup[tenantVariable.TenantId] = tenantVariable;\n }\n const modifiedTenantVariables = modifyTenantVariables(tenantVariablesLookup, valueTracker.values());\n const savingPromises = modifiedTenantVariables.map((variables) => repository.Tenants.setVariablesByTenantId(variables.TenantId, variables));\n await Promise.all(savingPromises);\n });\n}\nasync function saveScopedProjectTemplateVariableValues(doBusyTask: DoBusyTask, valueTracker: ProjectTenantVariableValueChangeTracker) {\n return doBusyTask(async () => {\n const changedTenants = valueTracker.changedTenants();\n const tenantVariablesPromises = Array.from(changedTenants).map((id) => repository.Tenants.getProjectVariablesByTenantId(id));\n const tenantVariablesResponses = await Promise.all(tenantVariablesPromises);\n const tenantVariablesLookup: {\n [tenantId: string]: TenantProjectVariablesResource;\n } = {};\n for (const response of tenantVariablesResponses) {\n const { TenantId, Variables } = response;\n tenantVariablesLookup[TenantId] = { TenantId, Variables: Variables };\n }\n const modifiedTenantVariables = modifyScopedTenantVariables(tenantVariablesLookup, valueTracker.values());\n const savingPromises = modifiedTenantVariables.map((variables) => repository.Tenants.setProjectVariablesByTenantId(variables.TenantId, variables));\n await Promise.all(savingPromises);\n });\n}\nfunction modifyTenantVariables(tenantVariables: {\n [tenantId: string]: TenantVariableResource;\n}, changes: ChangedProjectTemplateVariableValue[]): TenantVariableResource[] {\n const modified = new Map();\n for (const { projectId, templateId, tenantId, environmentId, value } of changes) {\n const variables = tenantVariables[tenantId];\n variables.ProjectVariables[projectId].Variables[environmentId][templateId] = value ?? \"\";\n modified.set(tenantId, variables);\n }\n return Array.from(modified.values());\n}\nfunction modifyScopedTenantVariables(tenantVariables: {\n [tenantId: string]: TenantProjectVariablesResource;\n}, changes: ChangedProjectTemplateVariableValue[]): TenantProjectVariablesResource[] {\n const modified = new Map();\n for (const { projectId, templateId, tenantId, environmentId, value } of changes) {\n const payload = tenantVariables[tenantId];\n const variable = payload.Variables.find((v) => v.ProjectId === projectId && v.TemplateId === templateId && v.Scope.EnvironmentIds.includes(environmentId));\n if (!variable) {\n payload.Variables.push({\n Id: \"\",\n ProjectId: projectId,\n TemplateId: templateId,\n Value: value ?? \"\",\n Template: undefined,\n Scope: { EnvironmentIds: [environmentId] },\n });\n modified.set(tenantId, payload);\n continue;\n }\n variable.Value = value ?? \"\";\n modified.set(tenantId, payload);\n }\n return Array.from(modified.values());\n}\n","import Default from \"./VariableDisplayer\";\nexport * from \"./VariableDisplayer\";\nexport default Default;\n","/* eslint-disable @typescript-eslint/no-non-null-assertion */\nimport { TenantedDeploymentMode } from \"@octopusdeploy/octopus-server-client\";\nimport * as React from \"react\";\nimport { connect } from \"react-redux\";\nimport BaseComponent from \"~/components/BaseComponent\";\nimport { EnvironmentChip, TenantChip, ChannelChip, DeploymentActionChip, MachineChip } from \"~/components/Chips\";\nimport type { Item } from \"~/primitiveComponents/form/Select/Select\";\ninterface GlobalConnectedProps {\n isMultiTenancyEnabled: boolean;\n}\ninterface VariablePreviewSummaryProps {\n tenantedDeploymentMode: TenantedDeploymentMode;\n environments: Item[];\n tenants: Item[];\n actions: Item[];\n channels: Item[];\n machines: Item[];\n environmentId: string;\n tenantId: string;\n actionId: string;\n channelId: string;\n machineId: string;\n}\nexport class VariablePreviewSummary extends BaseComponent {\n render() {\n const hasData = this.props.environments && this.props.tenants && this.props.actions && this.props.channels && this.props.machines;\n const notificationSummary = hasData &&\n this.getVariablePreviewSummary(this.props.tenantedDeploymentMode, this.props.environments, this.props.tenants, this.props.actions, this.props.channels, this.props.machines, this.props.environmentId, this.props.tenantId, this.props.actionId, this.props.channelId, this.props.machineId);\n return {notificationSummary};\n }\n getVariablePreviewSummary(tenantedDeploymentMode: TenantedDeploymentMode, environments: Item[], tenants: Item[], actions: Item[], channels: Item[], machines: Item[], environmentId: string, tenantId: string, actionId: string, channelId: string, machineId: string): JSX.Element {\n const environmentChip = environments.filter((x) => x.value === environmentId).map((x) => );\n const tenantChip = tenants.filter((x) => x.value === tenantId).map((x) => );\n const channelChip = channels.filter((x) => x.value === channelId).map((x) => );\n const actionChip = actions.filter((x) => x.value === actionId).map((x) => );\n const machineChip = machines.filter((x) => x.value === machineId).map((x) => );\n return this.getVariablePreviewSummary2(tenantedDeploymentMode, channels, tenantId, machineId, environmentChip, tenantChip, channelChip, actionChip, machineChip);\n }\n //todo: rename\n getVariablePreviewSummary2(tenantedDeploymentMode: TenantedDeploymentMode, channels: Item[], tenantId: string, machineId: string, environmentChip: React.ReactNode, tenantChip: React.ReactNode, channelChip: React.ReactNode, actionChip: React.ReactNode, machineChip: React.ReactNode): JSX.Element {\n // environments: Item[]; mandatory\n // tenants: Item[]; mandatory if tenantedmode=tenantedonly\n // optional if tenantedmode=both\n // missing if tenantedmode=both\n // actions: Item[]; mandatory\n // channels: Item[]; mandatory if channel count > 1\n // machines: Item[]; optional\n //todo: move the chips to be params to this function - that'll fix the test (that's why getChipList exists in EventFilterSummary.spec.tsx)\n const channelPart = channels.length > 1 ? <> during deployment using {channelChip} : <>;\n const tenantPart = tenantedDeploymentMode === TenantedDeploymentMode.Tenanted ? (<> for tenant {tenantChip}) : tenantedDeploymentMode === TenantedDeploymentMode.Untenanted ? (<>) : tenantId ? (<> for tenant {tenantChip}) : (<> for untenanted deployments);\n let machinePart = <>;\n if (machineId) {\n machinePart = <> for deployment target {machineChip};\n }\n else {\n machinePart = <>. Variables scoped to deployment targets are not currently shown;\n }\n return (
    \n Showing variables available{channelPart} when running step {actionChip} in environment {environmentChip}\n {tenantPart}\n {machinePart}.\n
    );\n }\n static displayName = \"VariablePreviewSummary\";\n}\nconst mapGlobalStateToProps = (state: GlobalState): GlobalConnectedProps => {\n return {\n isMultiTenancyEnabled: state.configurationArea.currentSpace.isMultiTenancyEnabled,\n };\n};\nexport default connect(mapGlobalStateToProps)(VariablePreviewSummary);\n","/* eslint-disable @typescript-eslint/no-non-null-assertion */\n/* eslint-disable @typescript-eslint/consistent-type-assertions */\nimport { Checkbox } from \"@octopusdeploy/design-system-components\";\nimport type { ChannelResource, DeploymentProcessResource, DeploymentTargetResource, EnvironmentResource, LifecycleResource, ProjectResource, ResourceCollection, TenantResource, VariableResource, VariableSetResource, } from \"@octopusdeploy/octopus-server-client\";\nimport { Permission, TenantedDeploymentMode } from \"@octopusdeploy/octopus-server-client\";\nimport { flatMap } from \"lodash\";\nimport type { SFC } from \"react\";\nimport * as React from \"react\";\nimport type { WithProjectContextInjectedProps } from \"~/areas/projects/context/withProjectContext\";\nimport { withProjectContext } from \"~/areas/projects/context/withProjectContext\";\nimport VariableDisplayer, { mergeAndSortVariables, type FilteredVariable, type ValueWithSource, type VariableWithSource } from \"~/areas/variables/VariableDisplayer\";\nimport { convertVariableResourcesToVariablesWithSource } from \"~/areas/variables/convertVariableResourcesToVariablesWithSource\";\nimport { repository } from \"~/clientInstance\";\nimport type { DataBaseComponentState } from \"~/components/DataBaseComponent\";\nimport { DataBaseComponent } from \"~/components/DataBaseComponent\";\nimport FilterSearchBox from \"~/components/FilterSearchBox\";\nimport { PageContent } from \"~/components/PageContent/PageContent\";\nimport { SimplePagingList } from \"~/components/PagingList\";\nimport PermissionCheck, { isAllowed } from \"~/components/PermissionCheck/PermissionCheck\";\nimport SidebarLayout, { SidebarSide } from \"~/components/SidebarLayout/SidebarLayout\";\nimport { Select } from \"~/components/form\";\nimport type { Item } from \"~/primitiveComponents/form/Select/Select\";\nimport { timeOperationOptions } from \"~/utils/OperationTimer/timeOperation\";\nimport VariablePreviewSummary from \"./VariablePreviewSummary\";\nimport styles from \"./style.module.less\";\ninterface VariableListProps {\n variables: VariableResource[];\n}\nclass VariableList extends SimplePagingList {\n}\nconst Variables: SFC = (props) => {\n const onRow = (variable: VariableResource) => [{variable.Name}, variable.Value];\n return No variables have been added}/>;\n};\nVariables.displayName = \"Variables\";\ninterface VariablePreviewState extends DataBaseComponentState {\n variableNameFilter: string;\n environmentId?: string;\n targetId?: string;\n channelId?: string;\n tenantId?: string;\n actionId?: string;\n machineId?: string;\n project?: ProjectResource;\n environments?: Item[];\n targets?: DeploymentTargetResource[];\n channels?: Item[];\n tenants?: Item[];\n actions?: Item[];\n machines?: Item[];\n variables?: VariableSetResource;\n showOctopus: boolean;\n filterEmptyValues: boolean;\n}\ntype VariablePreviewProps = WithProjectContextInjectedProps;\nclass VariablePreviewInternal extends DataBaseComponent {\n constructor(props: VariablePreviewProps) {\n super(props);\n this.state = {\n showOctopus: false,\n filterEmptyValues: false,\n variableNameFilter: null!,\n };\n }\n async componentDidMount() {\n await this.loadData();\n }\n async componentDidUpdate(prevProps: VariablePreviewProps) {\n if (prevProps.projectContext.state.gitRef !== this.props.projectContext.state.gitRef) {\n await this.loadVariables();\n }\n }\n render() {\n if (!this.state.variables || !this.state.project) {\n return (\n {undefined}\n );\n }\n const summary = ();\n const sidebar = this.state.variables && (
    \n

    Select Deployment Scenario

    \n )}\n \n }\n \n ({ value: op, text: op }))} onChange={(x) => undefined}/>\n Promise.resolve([\n {\n Id: \"ABC\",\n Name: \"Cert One\",\n CertificateData: { HasValue: false, NewValue: \"\" },\n Password: { HasValue: false, NewValue: \"\" },\n TenantIds: [],\n EnvironmentIds: [],\n TenantTags: [],\n Links: {},\n SpaceId: \"Spaces-1\",\n },\n {\n Id: \"ABC2\",\n Name: \"Cert Two\",\n CertificateData: { HasValue: false, NewValue: \"\" },\n Password: { HasValue: false, NewValue: \"\" },\n TenantIds: [],\n EnvironmentIds: [],\n TenantTags: [],\n Links: {},\n SpaceId: \"Spaces-1\",\n },\n ])} onRequestRefresh={() => Promise.resolve(true)} onChange={(certificateId) => this.setModelState({ certificateId })} doBusyTask={this.doBusyTask}/>\n this.setModelState({ workerPoolId })} doBusyTask={this.doBusyTask} items={() => Promise.resolve([])} onRequestRefresh={() => Promise.resolve(true)}/>\n this.setModelState({ accountId })} items={[\n {\n Id: \"ABC\",\n Name: \"An Azure Account\",\n TenantIds: [],\n EnvironmentIds: [],\n TenantTags: [],\n Description: \"Desc\",\n Links: {\n Self: \"\",\n Usages: \"\",\n },\n AccountType: AccountType.AzureSubscription,\n TenantedDeploymentParticipation: TenantedDeploymentMode.Tenanted,\n SpaceId: \"Spaces-1\",\n },\n {\n Id: \"ABC2\",\n Name: \"A Ssh Account\",\n TenantIds: [],\n EnvironmentIds: [],\n TenantTags: [],\n Description: \"Desc\",\n Links: {\n Self: \"\",\n Usages: \"\",\n },\n AccountType: AccountType.SshKeyPair,\n TenantedDeploymentParticipation: TenantedDeploymentMode.Tenanted,\n SpaceId: \"Spaces-1\",\n },\n {\n Id: \"ABC3\",\n Name: \"A Username Account\",\n TenantIds: [],\n EnvironmentIds: [],\n TenantTags: [],\n Description: \"Desc\",\n Links: {\n Self: \"\",\n Usages: \"\",\n },\n AccountType: AccountType.UsernamePassword,\n TenantedDeploymentParticipation: TenantedDeploymentMode.Tenanted,\n SpaceId: \"Spaces-1\",\n },\n ]}/>\n \n \n Sample summary as a sentence with selected value {this.state.model.formError} highlighted.\n )\n : Summary.default(\"Summary text when a non-default value has been selected\")} help=\"RadioButtonGroup\">\n this.setModelState({ formError })}>\n \n Note for None\n \n Note for Error\n \n Note for Warning\n \n \n \n this.setState((prevState) => (prevState!.model.typedRadioButtonGroup = x))}>\n \n \n \n {this.state.model.typedRadioButtonGroup === \"DeleteUnavailableMachines\" ? (
    \n this.setState((prevState) => (prevState!.model.timeSpanText = x))}/>\n
    ) : null}\n
    \n \n this.setState((prevState) => (prevState!.model.colorPicker = color))}/>\n \n \n this.setState((prevState) => (prevState!.model.commaDelimitedList = x))}/>\n \n \n this.setState((prevState) => (prevState!.model.objectHash = x))}/>\n \n \n this.state.model.keyValuePairs} onChange={(x) => this.setState((prevState) => (prevState!.model.keyValuePairs = x))}/>\n \n \n this.setState((prevState) => (prevState!.model.typedRadioButtonGroup = x))}>\n \n \n \n {this.state.model.typedRadioButtonGroup === \"DeleteUnavailableMachines\" ? (
    \n this.setState((prevState) => (prevState!.model.timeSpanText = x))}/>\n
    ) : null}\n
    \n \n this.setModelState({ superSecret: value })}/>\n \n \n {\n this.setModelState({ fileUpload: files[0] });\n }}/>\n this.setModelState({ sensitiveFileUpload })}/>\n \n \n this.setState((prevState) => (prevState!.model.timeSpanText = x))} error=\"with an error\"/>\n \n \n
    It is about the expander
    \n
    \n \n )}\n );\n }\n private createDefaultModel() {\n return {\n isLoaded: false,\n text: null as unknown as string,\n radioButtonGroup: \"Value2\",\n typedRadioButtonGroup: \"DeleteUnavailableMachines\" as DeleteMachinesBehavior,\n timeSpanText: \"1.00:05:00\",\n select: \"Option2\",\n emptyProgression: { NextDeployments: [] as string[] },\n singleEnvironmentProgression: { NextDeployments: [\"Environments-1\"] },\n multipleEnvironmentProgression: { NextDeployments: [\"Environments-1\", \"Environments-2\"] },\n environmentsById: {\n \"Environments-1\": { Id: \"Environments-1\", Name: \"Environment 1\" },\n \"Environments-2\": { Id: \"Environments-2\", Name: \"Environment 2\" },\n },\n commaDelimitedList: \"cat,dog,monkey\",\n objectHash: JSON.stringify({ name: \"bob\", phone: \"555-callme\" }),\n keyValuePairs: [{ key: \"bob\", value: \"555-callme\" }],\n textForExpandableFormSection: null as unknown as string,\n textForFormSection: null as unknown as string,\n };\n }\n private saveWithValidationError = async () => {\n this.setValidationErrors(\"Sample validation error\");\n return false;\n };\n static displayName = \"SampleForm\";\n}\nexport default SampleFormPage;\n","import * as React from \"react\";\nimport styles from \"./style.module.less\";\ninterface ColorGroupProps {\n heading: string;\n}\nclass ColorGroup extends React.Component {\n constructor(props: ColorGroupProps) {\n super(props);\n }\n render() {\n return (
    \n

    {this.props.heading}

    \n {this.props.children}\n
    );\n }\n static displayName = \"ColorGroup\";\n}\nexport default ColorGroup;\n","import * as React from \"react\";\nimport styles from \"./style.module.less\";\ninterface ColorSwatchProps {\n colorName: string;\n colorValue: string;\n}\nclass ColorSwatch extends React.Component {\n constructor(props: ColorSwatchProps) {\n super(props);\n }\n render() {\n return (
    \n
    \n
    {this.props.colorName}
    \n
    {this.props.colorValue}
    \n
    );\n }\n static displayName = \"ColorSwatch\";\n}\nexport default ColorSwatch;\n","import { ActionButton, ActionButtonType } from \"@octopusdeploy/design-system-components\";\nimport * as React from \"react\";\nimport { DialogLayoutConnect } from \"~/components/Dialog/DialogLayoutConnect\";\nimport type { DialogLayoutDispatchProps, DialogLayoutCommonProps } from \"~/components/DialogLayout/DialogLayout\";\nimport { DialogLayout } from \"~/components/DialogLayout/DialogLayout\";\nimport FormComponent from \"../FormComponent/FormComponent\";\nimport type { PermissionCheckProps } from \"../PermissionCheck/PermissionCheck\";\nimport { isAllowed } from \"../PermissionCheck/PermissionCheck\";\nimport styles from \"./style.module.less\";\ninterface WizardDialogLayoutProps extends DialogLayoutCommonProps, DialogLayoutDispatchProps {\n canSaveBeforeLastPage?: boolean;\n saveButtonDisabled?: boolean;\n savePermission?: PermissionCheckProps;\n busyButtonLabel?: string;\n onPageChanged(): void; // Warning: Make sure you mutate something in your component's state, inside a doBusyTask to trigger the dialog re-render (see example in AddProject.tsx). TODO: See if there's a nicer way of dealing with this hack.\n onSaveClick(): Promise;\n}\ninterface WizardDialogState {\n currentPageIndex: number;\n}\nclass WizardDialogLayoutInternal extends React.Component {\n constructor(props: WizardDialogLayoutProps & DialogLayoutDispatchProps) {\n super(props);\n this.state = {\n currentPageIndex: 0,\n };\n }\n saveClick = async () => {\n const result = await this.props.onSaveClick();\n if (result) {\n this.props.close();\n }\n };\n submitForm = async () => {\n if (!this.isSaveButtonDisabled()) {\n await this.saveClick();\n }\n };\n render() {\n const { children, ...other } = this.props;\n const save = ;\n const cancel = this.props.close()}/>;\n let actions = [cancel, save];\n if (React.Children.count(children) > 1) {\n const prev = this.previous()}/>;\n const next = this.next()}/>;\n actions = [cancel, prev, next, save];\n }\n const child = React.Children.toArray(children)[this.state.currentPageIndex];\n return (\n \n {child}\n \n );\n }\n private isSaveButtonDisabled(): boolean {\n const disabledDueToPermission = !!this.props.savePermission ? !isAllowed(this.props.savePermission) : false;\n return !!(this.props.saveButtonDisabled || disabledDueToPermission || this.props.busy || (!this.props.canSaveBeforeLastPage && this.canNext()));\n }\n private canPrevious = () => {\n return this.state.currentPageIndex > 0;\n };\n private previous = () => {\n if (this.canPrevious()) {\n this.setState({\n currentPageIndex: this.state.currentPageIndex - 1,\n }, () => {\n if (this.props.onPageChanged) {\n this.props.onPageChanged();\n }\n });\n }\n };\n private canNext = () => {\n return this.state.currentPageIndex < React.Children.count(this.props.children) - 1;\n };\n private next = () => {\n if (this.canNext()) {\n this.setState({\n currentPageIndex: this.state.currentPageIndex + 1,\n }, () => {\n if (this.props.onPageChanged) {\n this.props.onPageChanged();\n }\n });\n }\n };\n static displayName = \"WizardDialogLayoutInternal\";\n}\nconst WizardDialogLayout = DialogLayoutConnect.to(WizardDialogLayoutInternal);\nWizardDialogLayout.displayName = \"WizardDialogLayout\";\nexport default WizardDialogLayout;\n","/* eslint-disable @typescript-eslint/no-explicit-any */\nimport { BaseComponent } from \"../BaseComponent/BaseComponent\";\nexport default class WizardPage extends BaseComponent {\n render() {\n return this.props.children;\n }\n static displayName = \"WizardPage\";\n}\n","import { space } from \"@octopusdeploy/design-system-tokens\";\nimport * as React from \"react\";\nimport type { DataBaseComponentState } from \"~/components/DataBaseComponent/DataBaseComponent\";\nimport { DataBaseComponent } from \"~/components/DataBaseComponent/DataBaseComponent\";\nimport WizardDialogLayout from \"~/components/DialogLayout/WizardDialogLayout\";\nimport WizardPage from \"~/components/DialogLayout/WizardPage\";\nimport { Text, MarkdownEditor, required } from \"~/components/form\";\ninterface DemoWizardDialogProps {\n title: string;\n}\ninterface DemoWizardDialogState extends DataBaseComponentState {\n name: string;\n description: string;\n dialogResizeKey: string;\n}\nexport class DemoWizard extends DataBaseComponent {\n constructor(props: DemoWizardDialogProps) {\n super(props);\n this.state = {\n name: \"\",\n description: \"\",\n dialogResizeKey: \"\",\n };\n }\n render() {\n return ( new Promise((resolve) => resolve(true))} close={() => {\n return;\n }} onPageChanged={() => {\n this.setState({ dialogResizeKey: new Date().getDate().toString() });\n }}>\n \n this.setState({ name })} validate={required(\"Please enter a document name\")} autoFocus/>\n \n \n
    Name: {this.state.name}
    \n
    \n \n
    \n
    \n \n

    Summary

    \n
    Name: {this.state.name}
    \n
    Description: {this.state.description}
    \n
    \n
    );\n }\n private handleDescriptionChanged = (description: string) => {\n this.setState({ description });\n };\n static displayName = \"DemoWizard\";\n}\n","import * as React from \"react\";\nconst loremText = \"Lorem ipsum dolor sit amet, consectetur adipiscing elit, sed do eiusmod tempor incididunt ut labore et dolore magna aliqua. Ut enim ad minim veniam, quis nostrud exercitation ullamco laboris nisi ut aliquip.\";\nexport const LongLoremText: React.FC = () => (\n {Array.from(Array(80).keys()).map((x) => (

    {loremText}

    ))}\n
    );\nLongLoremText.displayName = \"LongLoremText\"\nexport const ShortLoremText: React.FC = () =>

    {loremText}

    ;\nShortLoremText.displayName = \"ShortLoremText\"\n","export const sleep1s = () => new Promise((resolve) => setTimeout(resolve, 1000));\n","/* eslint-disable @typescript-eslint/no-non-null-assertion */\nimport { ActionButton } from \"@octopusdeploy/design-system-components\";\nimport * as React from \"react\";\nimport type { DataBaseComponentState } from \"~/components/DataBaseComponent/DataBaseComponent\";\nimport { DataBaseComponent } from \"~/components/DataBaseComponent/DataBaseComponent\";\nimport DialogOpener from \"~/components/Dialog/DialogOpener\";\nimport OkDialogLayout from \"~/components/DialogLayout/OkDialogLayout\";\nimport type { SummaryNode } from \"~/components/form\";\nimport { Select, ExpandableFormSection } from \"~/components/form\";\ninterface DialogWithFormProps {\n enabled?: boolean;\n}\ninterface DialogWithFormState extends DataBaseComponentState {\n editContainer: boolean;\n selectValue: string;\n}\nexport default class Summary {\n static summary(node: React.ReactNode): SummaryNode {\n return {\n node,\n type: \"summary\",\n };\n }\n}\nexport class DialogWithForm extends DataBaseComponent {\n constructor(props: DialogWithFormProps) {\n super(props);\n this.state = {\n editContainer: false,\n selectValue: \"\",\n };\n }\n setEditContainer = (e: boolean) => {\n this.setState({ editContainer: e });\n };\n setSelectValue = (e: string) => {\n this.setState({ selectValue: e });\n };\n render() {\n return (
    \n this.setEditContainer(!this.state.editContainer)}/>\n this.setEditContainer(!this.state.editContainer)} wideDialog={true}>\n this.setEditContainer(!this.state.editContainer)} busy={this.state.busy} errors={this.errors} title={\"Add Container\"}>\n \n \n

    Scenario - Select with filter

    \n \n

    Scenario - Select with label

    \n \n

    Scenario - Select with label and hint

    \n \n

    Scenario - Select with disabled items

    \n \n
    \n
    \n \n
    \n
    \n \n
    \n
    \n \n
    \n
    \n \n
    \n
    \n );\n }\n private renderMultiSelectEntry() {\n const items: SelectItem[] = [\n { Id: \"5a0d32aefcc4b90008b93548\", Name: \"Mexico\" },\n { Id: \"5a0d32ae5b962a5dd34f4eaf\", Name: \"Guinea-Bissau\" },\n { Id: \"5a0d32ae17919952c3f2f2bb\", Name: \"Albania\" },\n { Id: \"5a0d32ae68448c26e465f9ee\", Name: \"Anguilla\" },\n { Id: \"5a0d32ae3ad1586494f5a4f1\", Name: \"Oman\" },\n { Id: \"5a0d32ae70ba338c206b9f2e\", Name: \"Haiti\" },\n { Id: \"5a0d32ae4bdde0d1579a5922\", Name: \"Virgin Islands (US)\" },\n { Id: \"5a0d32aeffeebbcce3c8db58\", Name: \"United Kingdom\" },\n { Id: \"5a0d32aeedea7d42bf5f40f3\", Name: \"Sweden\" },\n { Id: \"5a0d32aea8c412b913363fa3\", Name: \"Dominica\" },\n { Id: \"5a0d32ae755ed443228dc67a\", Name: \"Kazakhstan\" },\n { Id: \"5a0d32aee9d5c090117df399\", Name: \"Congo\" },\n { Id: \"5a0d32aed312ec44d432ee8d\", Name: \"Latvia\" },\n { Id: \"5a0d32ae694ff0726e108818\", Name: \"Argentina\" },\n { Id: \"5a0d32ae9b250b69b0a295e7\", Name: \"France, Metropolitan\" },\n { Id: \"5a0d32ae008bec9bfbb9e0e5\", Name: \"Gibraltar\" },\n { Id: \"5a0d32ae51f59e4490dfe795\", Name: \"Yemen\" },\n { Id: \"5a0d32ae6ee1f4e516eb3a3c\", Name: \"Myanmar\" },\n { Id: \"5a0d32aeebb435b7984eabf3\", Name: \"San Marino\" },\n { Id: \"5a0d32ae7fd69cdf2ca0e828\", Name: \"Burundi\" },\n { Id: \"5a0d32ae77db49b092062c02\", Name: \"Honduras\" },\n { Id: \"5a0d32aeedee29b078a03ab4\", Name: \"Luxembourg\" },\n { Id: \"5a0d32ae53a9b38984a69e2c\", Name: \"Vanuatu\" },\n { Id: \"5a0d32ae0796645ebc6ece9a\", Name: \"Reunion\" },\n { Id: \"5a0d32aec4144f6bc98049f1\", Name: \"Liberia\" },\n { Id: \"5a0d32ae4d2db3fd195346be\", Name: \"Ghana\" },\n { Id: \"5a0d32aebc91c4f651d14046\", Name: \"Syria\" },\n { Id: \"5a0d32ae9ea43b1ac382fef4\", Name: \"Sao Tome and Principe\" },\n { Id: \"5a0d32ae1f2e66c9864b77b4\", Name: \"Colombia\" },\n { Id: \"5a0d32ae5512ab650d319801\", Name: \"Uruguay\" },\n { Id: \"5a0d32aeab166f8abc0eae58\", Name: \"Puerto Rico\" },\n { Id: \"5a0d32ae302f402d6110f902\", Name: \"Ethiopia\" },\n { Id: \"5a0d32ae006a7df443408fbb\", Name: \"New Caledonia\" },\n { Id: \"5a0d32ae9326b040d9588164\", Name: \"Nepal\" },\n { Id: \"5a0d32ae9b981846e2ba711a\", Name: \"Viet Nam\" },\n { Id: \"5a0d32ae5274d143100792b0\", Name: \"Fiji\" },\n { Id: \"5a0d32aeff0e78193a996db1\", Name: \"Cayman Islands\" },\n { Id: \"5a0d32ae1e57a56cfd95d1eb\", Name: \"S. Georgia and S. Sandwich Isls.\" },\n { Id: \"5a0d32ae651b92583a1136cd\", Name: \"Martinique\" },\n { Id: \"5a0d32ae3eac88d6dc300d9c\", Name: \"Finland\" },\n { Id: \"5a0d32ae57e7b9f5c44eeb33\", Name: \"Mali\" },\n { Id: \"5a0d32aeb6fffd5f39d494b5\", Name: \"British Indian Ocean Territory\" },\n { Id: \"5a0d32ae8db29da2c1be9b09\", Name: \"Saint Kitts and Nevis\" },\n { Id: \"5a0d32aef8091f25d0ea048a\", Name: \"Wallis and Futuna Islands\" },\n { Id: \"5a0d32aea5978f22d4da2576\", Name: \"Maldives\" },\n { Id: \"5a0d32ae84c7d02f3b48d286\", Name: \"Angola\" },\n { Id: \"5a0d32ae7982e0d822ae88eb\", Name: \"Estonia\" },\n { Id: \"5a0d32aee2c2e8952424660b\", Name: \"Saint Vincent and The Grenadines\" },\n { Id: \"5a0d32ae5838f69e190b9bbd\", Name: \"Qatar\" },\n { Id: \"5a0d32aec9028f7db2cda214\", Name: \"Dominican Republic\" },\n ];\n return (Used when the UI has a field that supports multiple items.}>\n
    \n

    Starts as an empty field

    \n (\n {i.Name}\n )} onChange={(values: string[]) => {\n this.setState({ multiselect_empty_values: values });\n }}/>\n
    \n
    \n

    Field with existing values

    \n (\n {i.Name}\n )} onChange={(values: string[]) => {\n this.setState({ multiselect_existing_values: values });\n }}/>\n
    \n
    \n

    Field with an error

    \n (\n {i.Name}\n )} onChange={(values: string[]) => {\n this.setState({ multiselect_error_values: values });\n }}/>\n Making sure this text still shows\n
    \n
    \n

    Add new items

    \n `Look mum I am adding '${t}' as a country!`} renderChip={(i, d) => (\n {i.Name}\n )} onNew={(t: string) => {\n this.setState({ multiselect_add_values: this.state.multiselect_add_values.concat(t) });\n }} onChange={(values: string[]) => {\n this.setState({ multiselect_add_values: values });\n }}/>\n
    \n
    \n

    Don't open of focus

    \n (\n {i.Name}\n )} openOnFocus={false} onChange={(values: string[]) => {\n this.setState({ multiselect_focus_values: values });\n }}/>\n
    \n
    \n

    Label with tooltip description

    \n (\n {i.Name}\n )} onChange={(values: string[]) => {\n this.setState({ multiselect_description_values: values });\n }}/>\n
    \n
    \n

    Custom item renderer

    \n ({ primaryText: i.Name, secondaryText: i.Id })} renderChip={(i, d) => (\n {i.Name}\n )} onChange={(values: string[]) => {\n this.setState({ multiselect_itemrender_values: values });\n }}/>\n
    \n
    );\n }\n private renderDrawerEntry() {\n return (\n this.setState({ drawerOpen: true })}/>\n this.setState({ drawerOpen: false })} onPrimaryButtonClick={() => this.setState({ drawerOpen: false })} variant=\"default\">\n \n
    \n

    \n NS. compile nameserver pull ops github cc all mysql sideband demultiplexer head launch. uptime deploy get top post API Tika programmer pull Bash. Solr alias Linux Script ps aux downtime cc all preview environment head\n deploy. git git Passpack drush alias Bash Pair Networks WYSIWYG Load balancing Tika programmer. Develop branch symbolic link run cron responsiveness diff Load balancing WYSIWYG server private key merge. multi platform\n functionality preview environment company bad API compile Linux chmod Script push Settings file. WYSIWYG Slackbot HostTracker Solr Load balancing JSON taxonomy Varnish responsiveness cc all. Brew repository rbash get Brew\n cc all Load testing get Master branch push. uptime Bash server taxonomy module updates module updates chown Settings file drush alias ping. host launch cc all Settings file Brew taxonomy more compile htaccess commit. git\n Develop branch clone repo locally backend Chef deploy head drush alias push mysql. post deploy alias Pair Networks log sideband demultiplexer Bash host host curl. Apache chmod cron Apache downtime chmod cache Load testing\n company bad get. HostTracker nameserver run cron uptime push mobile forward clone repo locally ping Bash SQL. backend cc all post ping JSON API Script Master branch multi platform functionality Mandrill. Node github drush\n alias git SQL symbolic link Varnish server side core server side. PHP server downtime module updates ipHouse integration private key ops push sudo. htpasswd cache JSON Master branch cache Solr chmod pub key WYSIWYG App\n Neta. integration head pub key cache backend Mandrill User App Neta Slackbot Apache. rsync server HostTracker htpasswd compile grep backend get WYSIWYG Pair Networks. run cron Chef query programmer nameserver HostTracker\n chown host Terminal chown. top cron SQL ops downtime log A record symbolic link sideband demultiplexer top. chmod head ps aux rsync Load balancing DNS alias User run cron Brew. more Solr company bad module updates curl get\n Varnish ops launch multi platform functionality .\n

    \n \n this.setState({ openDialogButtonLabel })}/>\n \n

    \n WYSIWYG Load testing Load balancing Settings file A record nameserver log cache chown WYSIWYG. company bad server Bash get mobile forward cron Varnish Develop branch query DNS. Pair Networks Slackbot htaccess top drush\n alias module updates rebase rbash rbash taxonomy. compile Chef Bash deploy get top Apache rebase ping rbash. diff Linux chmod query run cron Load testing Solr curl drush alias Varnish. get multi platform functionality push\n A record WYSIWYG DNS WYSIWYG sideband demultiplexer Node htaccess. commit server Tika symbolic link log downtime query Chef deploy rebase. Bash htaccess launch A record symbolic link mobile forward integration Mandrill\n core Settings file. grep chmod Varnish Script WYSIWYG ops A record repository module updates nameserver. query ping Brew post responsiveness pull WYSIWYG preview environment DNS Slackbot. JSON A record Settings file diff\n sudo chown ops Develop branch downtime SQL. curl ipHouse top Load balancing private key post nameserver rebase Mandrill git. push mysql taxonomy Terminal diff sudo head merge launch cc all. pub key ping htpasswd Script\n alias chown Bash rsync Slackbot chown. push chown launch ping pull mysql diff PHP server side uptime. symbolic link Slackbot merge git PHP JSON multi platform functionality Apache Linux downtime. integration pull Solr\n chown programmer clone repo locally SQL Master branch sideband demultiplexer Chef. rbash DNS cc all mobile forward WYSIWYG server side Terminal post get cc all. htpasswd clone repo locally JSON drupal ops chown grep uptime\n get ipHouse. symbolic link integration Brew Load testing Solr log top symbolic link chmod Load balancing. company bad sudo Develop branch Varnish commit push alias Brew compile API. Terminal integration API get htpasswd\n drush alias run cron Load testing clone repo locally private key. backend ipHouse top curl Pair Networks query git Linux Develop branch programmer. server side merge server side github mysql htpasswd cron server\n HostTracker multi platform functionality . server side backend cache Solr A record symbolic link run cron server integration pull. sudo ops head DNS more sudo mysql deploy push log. sideband demultiplexer ipHouse more\n launch mysql push htaccess grep merge chown. Node User host integration merge server side symbolic link backend run cron Load testing. Brew SQL Master branch sideband demultiplexer push uptime pull rebase drush alias cc\n all. drupal sudo rsync PHP integration cache Varnish rebase htaccess Terminal. launch ps aux rbash top Develop branch cc all core Terminal more github. company bad Slackbot htaccess Brew Load balancing module updates\n Slackbot company bad backend curl. Linux repository diff query commit grep htaccess integration ops Terminal. Brew Apache module updates programmer post run cron API alias Tika rebase. core server Script rbash Slackbot\n Solr repository chown launch head.\n

    \n

    \n preview environment head sideband demultiplexer drush alias head Chef diff PHP rbash taxonomy. merge mysql pub key server ping HostTracker Mandrill chown post drupal. downtime Varnish core Load balancing pub key htaccess\n grep PHP github server side. deploy programmer module updates Tika Bash rsync rbash A record backend Linux. Chef ping deploy push ping server alias head launch server. ping Load balancing sideband demultiplexer User query\n deploy sideband demultiplexer Brew API WYSIWYG. preview environment pub key Solr cache Master branch drupal sudo query Varnish get. PHP push curl log Load balancing private key API htaccess SQL host. sudo grep htpasswd\n Bash alias compile alias ping API head. integration Script Tika diff server more curl htpasswd deploy API. launch mysql preview environment programmer git git programmer run cron symbolic link A record. cache ping head A\n record query host Bash mobile forward alias integration. Load testing Settings file query diff github Slackbot grep htaccess downtime pub key. Linux cache cc all SQL Mandrill compile User Varnish mobile forward run cron.\n multi platform functionality htpasswd get rebase responsiveness diff preview environment query Pair Networks Varnish. github drush alias preview environment HostTracker head ops downtime Passpack Master branch ping. Linux\n diff head Passpack core API Apache server side A record Settings file. cache cache core SQL query Load balancing A record Varnish Master branch Apache. responsiveness pub key company bad htpasswd Tika host repository SQL\n rsync nameserver. run cron get HostTracker company bad Script pub key ops cache symbolic link git. API launch get module updates API App Neta launch ipHouse mysql ops. grep programmer Load balancing Passpack Bash sudo curl\n Develop branch Solr Mandrill. Terminal host post htaccess uptime Load testing WYSIWYG Linux rebase rbash. JSON App Neta server App Neta git chown head query more Load testing. drush alias mobile forward Script Chef pub key\n head Script merge rsync rsync. launch Load testing module updates head SQL commit ping server side drupal Apache. company bad ipHouse commit Tika SQL Apache rebase backend PHP mobile forward. DNS merge htaccess launch diff\n backend merge responsiveness PHP taxonomy. ops symbolic link push cc all push Passpack company bad diff sudo Mandrill. cron rsync github pull commit responsiveness ipHouse backend rbash User. Terminal get JSON PHP sudo\n preview environment clone repo locally rsync WYSIWYG commit. programmer downtime rsync taxonomy commit ipHouse backend Passpack chmod sideband demultiplexer. Node push Node User company bad SQL Bash backend multi platform\n functionality responsiveness. server module updates cron run cron sudo git symbolic link company bad commit compile. post responsiveness head head Settings file post backend Linux Load balancing launch. nameserver mobile\n forward company bad post preview environment top commit head Settings file clone repo locally. User User Linux HostTracker JSON private key chown push User launch. alias Develop branch diff Chef App Neta integration log\n core sudo post. compile Develop branch ps aux PHP company bad sideband demultiplexer Tika Solr ps aux Pair Networks. preview environment Solr commit A record rbash drupal merge grep Chef DNS. Load balancing symbolic link\n responsiveness User Passpack top more Terminal more\n

    \n
    \n
    \n
    );\n }\n private renderAdvancedFilterEntry() {\n const WeekendActivityMultiSelect = MultiSelect();\n const chipRenderer = (r: SelectItem, onRequestDelete: () => void) => ;\n interface Person {\n name: string;\n age: number;\n favoriteTvShow: string;\n favoriteWeekendActivities: WeekendActivity[];\n }\n const people: Person[] = [\n { name: \"Bob\", age: 50, favoriteTvShow: \"Survivor\", favoriteWeekendActivities: [WeekendActivity.Camping, WeekendActivity.Hiking, WeekendActivity.Dining] },\n { name: \"Alice\", age: 25, favoriteTvShow: \"Game of Thrones\", favoriteWeekendActivities: [WeekendActivity.Camping, WeekendActivity.Dining] },\n { name: \"Chris\", age: 20, favoriteTvShow: \"Jerry Springer\", favoriteWeekendActivities: [WeekendActivity.Hiking, WeekendActivity.Lounging] },\n { name: \"Sally\", age: 42, favoriteTvShow: \"Today Tonight\", favoriteWeekendActivities: [WeekendActivity.Lounging] },\n { name: \"Christine\", age: 31, favoriteTvShow: \"Game of Thrones\", favoriteWeekendActivities: [WeekendActivity.Hiking] },\n { name: \"Wally\", age: 79, favoriteTvShow: \"Masterchef\", favoriteWeekendActivities: [WeekendActivity.Dining, WeekendActivity.Camping] },\n ];\n const allWeekendActivities = Object.keys(WeekendActivity).reduce((p, c: string) => [...p, WeekendActivity[c as WeekendActivity]], []);\n const filter = this.state.personFilter;\n // TODO: Chips should have an 'X' in the corner, which clears that individual filter\n const filterByChips: React.ReactNode[] = [\n ...(filter.name !== \"\" ? [] : []),\n ...(filter.age !== \"\" ? [] : []),\n ...(filter.likesOutdoors ? [] : []),\n ...(filter.isRetired ? [] : []),\n ...(filter.favoriteTvShow !== \"\" ? [] : []),\n ...filter.favoriteWeekendActivites.map((a, i) => ), // Normally you would use a more specific chip type here\n ];\n return (\n

    Guidelines:

    \n
      \n
    • Use when you have some complex data in the main pane that can be filtered in a bunch of different ways.
    • \n
    • Any filters in the header should not appear in the filter panel.
    • \n
    • Toggles (checkboxes) tend to appear first.
    • \n
    • There are specific Advanced filter components for some controls (text input, checkbox). Other types, like MultiSelect, don't have an advanced filter specific component, so just use them as is.
    • \n
    • When using your own custom controls, be careful to be consistent with the label to make it have the same form as other advanced filter controls.
    • \n
    \n

    The reasons they don't have a specific component is because:

    \n
      \n
    • There is not much need for one as we don't actually need to customise much to get them looking and working nicely in the filter panel
    • \n
    • It would add some unnecessary complexity if we were to add them, for example around custom chip rendering/sharing code/generics in the case of MultiSelect
    • \n
    \n
    }>\n this.setState({ personFilter: { ...this.state.personFilter, name } })}/>]} defaultFilter={this.defaultPersonFilter()} filter={filter} onFilterReset={(personFilter) => this.setState({ personFilter })} filterByChips={filterByChips.length &&
    {filterByChips}
    } filterSections={[\n {\n render: (
    \n {withTheme((theme) => ( this.setState({ personFilter: { ...this.state.personFilter, isRetired } })} icon={/*Icon is optional*/}/>))}\n this.setState({ personFilter: { ...this.state.personFilter, likesOutdoors } })}/>\n this.setState({ personFilter: { ...this.state.personFilter, age } })}/>\n
    ),\n },\n {\n sectionName: \"Interests\",\n render: (
    \n this.setState({ personFilter: { ...this.state.personFilter, favoriteTvShow } })}/>\n ({ Id: i, Name: i }))} value={filter.favoriteWeekendActivites} fieldName=\"weekend activity\" renderChip={chipRenderer} onChange={(favoriteWeekendActivites: string[]) => this.setState({ personFilter: { ...this.state.personFilter, favoriteWeekendActivites: favoriteWeekendActivites as WeekendActivity[] } })}/>\n
    ),\n },\n ]} renderContent={() => {\n return (
    \n
      \n {people.filter(matchesFilter).map((person, index) => {\n return (
    • \n {person.name} ({person.age}) loves {person.favoriteTvShow} and {person.favoriteWeekendActivities.join(\" and \")}\n
    • );\n })}\n
    \n
    );\n }}/>\n );\n function matchesFilter(p: Person) {\n const matchesIsRetired = !filter.isRetired || p.age > 65;\n const matchesLikesOutdoors = !filter.likesOutdoors || p.favoriteWeekendActivities.includes(WeekendActivity.Camping) || p.favoriteWeekendActivities.includes(WeekendActivity.Hiking);\n const matchesFavoriteWeekendActivities = filter.favoriteWeekendActivites.every((a) => p.favoriteWeekendActivities.includes(a));\n return (p.name.toLowerCase().includes(filter.name.toLowerCase()) &&\n p.favoriteTvShow.toLowerCase().includes(filter.favoriteTvShow.toLowerCase()) &&\n p.age.toString().includes(filter.age) &&\n matchesIsRetired &&\n matchesLikesOutdoors &&\n matchesFavoriteWeekendActivities);\n }\n }\n private renderAutoCompleteEntry() {\n const getOptions = async (searchText: string = \"\") => {\n await delay(simulatedNetworkDelayMilliseconds);\n const filteredResults = [\"apple\", \"banana\", \"strawberry\", \"orange\", \"peach\", \"grape\", \"pineapple\", \"cherry\", \"pear\", \"mango\"].filter((f) => f.includes(searchText.toLowerCase())).sort();\n const itemsToTake = 7;\n return {\n items: filteredResults.slice(0, itemsToTake).map((f) => ({ Id: f, Name: f })),\n containsAllResults: filteredResults.length <= itemsToTake,\n };\n };\n return (\n
    \n
    \n

    Auto complete value

    \n A query is executed when you change the text in the input. You are forced to enter something that appears in the available options. Filtering should be case insensitive.\n this.setState({ autoCompleteValue })}/>\n
    \n Current Value: {this.state.autoCompleteValue}\n
    \n
    \n
    \n

    Free Form Auto Complete Value

    \n You can enter in any custom value into this autocomplete\n this.setState({ freeformAutoCompleteValue })}/>\n
    \n Current Value: {this.state.freeformAutoCompleteValue}\n
    \n
    \n
    \n

    Auto Complete with Errors

    \n This is what an autocomplete looks like with an error\n this.setState({ autocompleteWithError })} error={\"This is a sample error\"}/>\n
    \n Current Value: {this.state.autocompleteWithError}\n
    \n
    \n
    \n
    );\n }\n private renderDisplayPropertiesEntry() {\n return (\n \n );\n }\n private defaultPersonFilter(): PersonFilter {\n return {\n name: \"\",\n favoriteTvShow: \"\",\n age: \"\",\n isRetired: false,\n likesOutdoors: false,\n favoriteWeekendActivites: [],\n };\n }\n private filterThings(filter: string, resource: Thing) {\n return !filter || filter.length === 0 || !resource || resource.Name.toLowerCase().includes(filter.toLowerCase());\n }\n private navigateToEntry(e: React.MouseEvent, heading: string) {\n e.preventDefault();\n //# did not work\n document.getElementById(heading)!.scrollIntoView();\n const scrolledY = window.scrollY;\n if (scrolledY) {\n window.scroll(0, scrolledY - 144);\n }\n }\n private startBusyIndicator = async (e: React.FormEvent) => {\n e.preventDefault();\n const busyIndicator = this.sleep1s();\n this.setState({ busyIndicator });\n await busyIndicator;\n };\n private sleep1s = () => {\n return new Promise((resolve) => setTimeout(resolve, 1000));\n };\n private showAlert(message: string) {\n window.alert(message);\n }\n static displayName = \"StyleGuideInner\";\n}\nfunction delay(ms: number) {\n return new Promise((resolve) => setTimeout(resolve, ms));\n}\nexport function DesignSystemComponentLibrary() {\n return \n \n
    \n } label=\"Support\" href=\"https://oc.to/support\"/>\n } label=\"Docs\" href=\"https://oc.to/docs\"/>\n
    \n } label=\"Roadmap\" href=\"https://oc.to/roadmap\"/>\n
    \n
    \n\n
    \n
    \n
    \n } label=\"Roadmap\" href=\"https://oc.to/roadmap\"/>\n
    \n } label=\"Feedback\" href=\"https://oc.to/feedback\"/>\n
    \n } label=\"Octopus Community Slack\" href=\"https://oc.to/community-slack\"/>\n
    \n\n {customHelpSidebarSupportLink && (
    \n } label={customHelpSidebarSupportLinkLabel || \"Your organization's internal support\"} href={customHelpSidebarSupportLink} info/>\n
    )}\n
    \n
    \n );\n}\n","import cn from \"classnames\";\nimport * as React from \"react\";\nimport { TopicsContainer } from \"~/components/ContextualHelpLayout/PageHelpRegistry/Registrations/CommonComponents/CommonViews\";\nimport { DefaultOverview, DefaultTopics } from \"./Registrations/CommonComponents/DefaultViews\";\nimport pageHelpRegistry from \"./Registry/pageHelpRegistry\";\ninterface PageHelpViewProps {\n className?: string;\n pageId: string | undefined;\n}\nexport const PageHelpOverviewView: React.FC = ({ pageId, className }) => {\n const registrations = usePageHelpRegistrationsForPage(pageId);\n if (!registrations || registrations.length === 0) {\n return ;\n }\n return (
    \n {registrations.map((x) => {\n const element = x.renderOverview({\n registration: x,\n });\n return element ? React.cloneElement(element, { key: x.page.Id }) : ;\n })}\n
    );\n};\nPageHelpOverviewView.displayName = \"PageHelpOverviewView\"\nexport const PageHelpTopicsView: React.FC = ({ pageId, className }) => {\n const registrations = usePageHelpRegistrationsForPage(pageId);\n if (!registrations || registrations.length === 0) {\n return (<>\n \n );\n }\n return (
    \n {registrations.map((x, index) => {\n const element = x.renderTopics({\n registration: x,\n });\n if (!element) {\n return ;\n }\n const elementToReturn = element ? React.cloneElement(element, { key: x.page.Id }) : ;\n return
    {elementToReturn}
    ;\n })}\n
    );\n};\nPageHelpTopicsView.displayName = \"PageHelpTopicsView\"\nfunction usePageHelpRegistrationsForPage(pageId: string | undefined) {\n return React.useMemo(() => pageHelpRegistry.getAllRegistrations().filter((x) => pageId === x.page.Id), [pageId]);\n}\n","import { css } from \"@emotion/css\";\nimport { Divider, IconButton, resetStyles } from \"@octopusdeploy/design-system-components\";\nimport { space, text } from \"@octopusdeploy/design-system-tokens\";\nimport { AnalyticLinkLocationProvider } from \"@octopusdeploy/portal-analytics\";\nimport { usePage } from \"@octopusdeploy/portal-routes\";\nimport * as React from \"react\";\nimport { useDispatch, useSelector } from \"react-redux\";\nimport configurationSelectors from \"~/areas/configuration/reducers/selectors\";\nimport drawerActions from \"~/components/ContextualHelpLayout/reducers/actions\";\nimport * as drawerSelectors from \"~/components/ContextualHelpLayout/reducers/selectors\";\nimport { HelpSidebarHandle } from \"./HelpSidebarHandle\";\nimport { HelpSidebarResources } from \"./HelpSidebarResources\";\nimport { PageHelpOverviewView, PageHelpTopicsView } from \"./PageHelpRegistry/PageHelpSelector\";\nexport function useIsContextualHelpPanelExpanded() {\n const isDrawerOpen = useSelector(drawerSelectors.isDrawerOpen);\n const isHelpSidebarEnabled = useSelector(configurationSelectors.createFeatureEnabledSelector((x) => x.isHelpSidebarEnabled));\n return isDrawerOpen && isHelpSidebarEnabled;\n}\nexport function ContextualHelpPanel() {\n return (<>\n
    \n \n
    \n \n );\n}\nconst contextualHelpPanelStyles = {\n helpHandle: css({\n position: \"absolute\",\n left: 0,\n height: \"100%\",\n transform: \"translateX(-50%)\",\n }),\n};\nexport function ContextualHelpSidebarContent() {\n const page = usePage();\n const dispatch = useDispatch();\n const toggleDrawer: () => void = React.useCallback(() => dispatch(drawerActions.toggleDrawer()), [dispatch]);\n return (
    \n
    \n

    Help Sidebar

    \n toggleDrawer()} accessibleName=\"Close help sidebar\"/>\n
    \n \n
    \n \n \n \n \n \n \n
    \n \n \n \n \n
    );\n}\nconst defaultSidebarWidth = 340;\nconst sidebarContentStyles = {\n root: css({\n display: \"flex\",\n flexDirection: \"column\",\n width: `var(--help-sidebar-width, ${defaultSidebarWidth}px)`,\n }),\n header: css({\n display: \"flex\",\n alignItems: \"center\",\n justifyContent: \"space-between\",\n padding: `${space[16]} ${space[24]}`,\n }),\n heading: css({\n ...resetStyles.heading,\n font: text.heading.small,\n }),\n content: css({\n overflowY: \"auto\",\n display: \"flex\",\n flexDirection: \"column\",\n justifyContent: \"flex-start\",\n flexGrow: 1,\n padding: `${space[16]} ${space[24]}`,\n }),\n};\n","import { Tooltip, NavIconButton } from \"@octopusdeploy/design-system-components\";\nimport { QuestionCircleIcon } from \"@octopusdeploy/design-system-icons\";\nimport { useTrackEvent } from \"@octopusdeploy/portal-analytics\";\nimport { usePage } from \"@octopusdeploy/portal-routes\";\nimport * as React from \"react\";\nimport { useCallback } from \"react\";\nimport { useDispatch, useSelector } from \"react-redux\";\nimport configurationSelectors from \"~/areas/configuration/reducers/selectors\";\nimport drawerActions from \"~/components/ContextualHelpLayout/reducers/actions\";\nimport { isDrawerOpen } from \"~/components/ContextualHelpLayout/reducers/index\";\nimport { createHelpPanelAnalyticsEvent } from \"~/components/Navbar/analytics/HelpPanelAnalyticsEvent\";\nexport function HelpNavigationActionButton() {\n const dispatch = useDispatch();\n const trackEvent = useTrackEvent();\n const page = usePage();\n const drawerOpen = useSelector(isDrawerOpen);\n const toggleDrawer = useCallback(() => {\n trackEvent(createHelpPanelAnalyticsEvent(page, drawerOpen));\n dispatch(drawerActions.toggleDrawer());\n }, [dispatch, drawerOpen, page, trackEvent]);\n const isHelpSidebarEnabled = useSelector(configurationSelectors.createFeatureEnabledSelector((x) => x.isHelpSidebarEnabled));\n if (!isHelpSidebarEnabled) {\n return null;\n }\n return (\n }/>\n );\n}\n","import type { AnalyticsEvent, AnalyticsEventPageProperties } from \"@octopusdeploy/portal-analytics\";\nimport type { PageDefinition } from \"@octopusdeploy/portal-routes\";\nexport interface HelpPanelAnalyticsEvent extends AnalyticsEvent<\"Help Panel\">, AnalyticsEventPageProperties {\n Interaction: \"open\" | \"close\";\n InteractedElement: \"HelpNavigationActionButton\";\n}\nexport function createHelpPanelAnalyticsEvent(page: PageDefinition, isCurrentlyOpen: boolean): HelpPanelAnalyticsEvent {\n return {\n eventName: \"Help Panel\",\n \"Page Area\": page.Area,\n \"Page Name\": page.Name,\n Interaction: isCurrentlyOpen ? \"close\" : \"open\",\n InteractedElement: \"HelpNavigationActionButton\",\n };\n}\n","import React, { useEffect } from \"react\";\nimport { useDispatch } from \"react-redux\";\nimport type { NotificationItem } from \"~/components/Navbar/notifications.redux\";\nimport { notificationActions, NotificationType } from \"~/components/Navbar/notifications.redux\";\nimport { getCurrentValue } from \"./notificationLocalState\";\nconst notificationId = \"Notification/TargetTagsNotification\";\nfunction useTargetTagsNotification(): NotificationItem | undefined {\n const notificationWasRead = getCurrentValue(notificationId);\n if (notificationWasRead) {\n return undefined;\n }\n return {\n id: notificationId,\n text: \"Target Roles are now Target Tags\",\n description: \"The functionality remains the same. This is only a name change to make our terminology clearer. No action needed.\",\n type: NotificationType.info,\n };\n}\nexport default function TargetTagsNotifications() {\n const dispatch = useDispatch();\n const notification = useTargetTagsNotification();\n useEffect(() => {\n if (notification !== undefined) {\n dispatch(notificationActions.raiseNotification(notification));\n }\n }, [notification, dispatch]);\n return <>;\n}\n","/* eslint-disable @typescript-eslint/no-non-null-assertion */\nimport { css } from \"@emotion/css\";\nimport { Divider, NavIconButton, Tooltip } from \"@octopusdeploy/design-system-components\";\nimport { BellIcon } from \"@octopusdeploy/design-system-icons\";\nimport { colorScales } from \"@octopusdeploy/design-system-tokens\";\nimport { useTrackEvent } from \"@octopusdeploy/portal-analytics\";\nimport cn from \"classnames\";\nimport { values } from \"lodash\";\nimport * as React from \"react\";\nimport { useSelector } from \"react-redux\";\nimport { BaseComponent } from \"~/components/BaseComponent/BaseComponent\";\nimport { createNotificationCallToActionClickedAnalyticsEvent } from \"~/components/Navbar/analytics/NotificationCallToActionClickedAnalyticsEvent\";\nimport { createNotificationsIconClickedAnalyticsEvent } from \"~/components/Navbar/analytics/NotificationsIconClickedAnalyticsEvent\";\nimport { useOctopusFeatureToggle } from \"~/hooks/useOctopusFeatureToggle\";\nimport { Popover } from \"~/primitiveComponents/dataDisplay/Popover/Popover\";\nimport ExternalLink from \"../Navigation/ExternalLink\";\nimport InternalLink from \"../Navigation/InternalLink\";\nimport * as notificationLocalState from \"./NotificationPoller/notificationLocalState\";\nimport styles from \"./notifications.module.less\";\nimport type { NotificationItem, NotificationItemExternalLink, NotificationItemInternalLink, NotificationItemLink } from \"./notifications.redux\";\nimport { NotificationType } from \"./notifications.redux\";\ninterface NotificationsMenuState {\n isMenuOpen: boolean;\n notifications: NotificationItem[];\n showNewNotificationsAlert: boolean;\n}\ninterface NotificationsMenuInternalProps {\n notifications: NotificationItem[];\n onNotificationOpened: (options: {\n hasActiveAlert: boolean;\n }) => void;\n onNotificationCallToActionClicked: (notification: NotificationItem) => void;\n}\nconst defaultNotification: NotificationItem = {\n id: null!,\n text: \"You have no notifications.\",\n type: NotificationType.happy,\n description: \"Happy deployments!\",\n};\nclass NotificationsMenuInternal extends BaseComponent {\n private menuButton: HTMLElement | null = null;\n constructor(props: NotificationsMenuInternalProps) {\n super(props);\n this.state = {\n isMenuOpen: false,\n notifications: [defaultNotification],\n showNewNotificationsAlert: false,\n };\n }\n async componentDidMount() {\n this.checkNotificationsAlert(this.props);\n }\n UNSAFE_componentWillReceiveProps(newProps: NotificationsMenuInternalProps) {\n if (this.props.notifications !== newProps.notifications) {\n this.checkNotificationsAlert(newProps);\n }\n }\n checkNotificationsAlert = (props: NotificationsMenuInternalProps) => {\n const showNewNotificationsAlert = !!props.notifications.find((n) => {\n const currentValue = notificationLocalState.getCurrentValue(n.id);\n const notificationHasValue = !!n.value;\n return !currentValue || !((notificationHasValue && currentValue === n.value) || !notificationHasValue);\n });\n this.setState({ showNewNotificationsAlert });\n };\n renderNotification = (notification: NotificationItem, index: number) => {\n return (
    \n {index > 0 && }\n
    \n
    \n
    \n {notification.text}\n
    \n
    {notification.description}
    \n {notification.links && (
    \n {notification.links.map((link, i) => (\n {i > 0 && \" | \"}\n {this.renderLink(notification, link)}\n ))}\n
    )}\n
    \n
    {this.displayIcon(notification.type)}
    \n
    \n
    );\n };\n renderLink(notification: NotificationItem, link: NotificationItemLink | NotificationItemInternalLink | NotificationItemExternalLink) {\n switch (link.type) {\n case \"External\": {\n return ( this.props.onNotificationCallToActionClicked(notification)}>\n {link.label}\n );\n }\n case \"Internal\": {\n return ( this.props.onNotificationCallToActionClicked(notification)}>\n {link.label}\n );\n }\n case \"Refresh\": {\n return ( {\n this.props.onNotificationCallToActionClicked(notification);\n window.location.reload();\n }} href=\"#\">\n {link.label}\n );\n }\n default: {\n return {link.label};\n }\n }\n }\n render() {\n const notifications = [...this.props.notifications];\n if (notifications.length === 0) {\n notifications.push(defaultNotification);\n }\n return (
    \n \n \n {notifications.map(this.renderNotification)}\n \n
    );\n }\n private markNotificationsAsRead = () => {\n this.props.notifications.forEach((n) => notificationLocalState.setCurrentValue(n.id, n.value));\n this.setState({\n showNewNotificationsAlert: false,\n });\n };\n private displayIcon = (type: NotificationType) => {\n switch (type) {\n case NotificationType.happy:\n return
    ;\n case NotificationType.info:\n return
    ;\n case NotificationType.warn:\n return
    ;\n case NotificationType.error:\n return
    ;\n }\n };\n private setRef = (el: HTMLElement | null) => {\n this.menuButton = el;\n };\n private handleTouchTap = (event: React.MouseEvent) => {\n event.preventDefault();\n const hasActiveAlert = this.state.showNewNotificationsAlert;\n this.markNotificationsAsRead();\n this.setState({\n isMenuOpen: !this.state.isMenuOpen,\n });\n this.props.onNotificationOpened({ hasActiveAlert });\n };\n private handleRequestClose = () => {\n this.setState({\n isMenuOpen: false,\n });\n };\n static displayName = \"NotificationsMenuInternal\";\n}\ninterface NotificationButtonUpliftProps {\n onClick: React.MouseEventHandler;\n accessibleName: string;\n hasNewNotifications: boolean;\n isOpen: boolean;\n}\nconst NotificationButton = React.forwardRef(({ onClick, accessibleName, hasNewNotifications, isOpen }, ref) => {\n return (\n \n \n {hasNewNotifications &&
    }\n }/>\n );\n});\nconst newNotificationsDotStyles = css({\n position: \"absolute\",\n top: 4,\n right: 4,\n height: 14,\n width: 14,\n borderRadius: 10,\n background: colorScales.red[500],\n});\nexport function NotificationsMenu() {\n const showHeartbeat = useOctopusFeatureToggle(\"heartbeat\", false);\n const notifications = useSelector((state: GlobalState) => values(state.notifications));\n if (showHeartbeat) {\n const heartbeatNotification: NotificationItem = {\n id: \"heartbeat-notification\",\n text: \"Heartbeat\",\n description: \"The heartbeat feature toggle is ON\",\n type: NotificationType.happy,\n };\n notifications.push(heartbeatNotification);\n }\n const trackEvent = useTrackEvent();\n return ( trackEvent(createNotificationsIconClickedAnalyticsEvent(hasActiveAlert))} onNotificationCallToActionClicked={({ id }) => trackEvent(createNotificationCallToActionClickedAnalyticsEvent(id))}/>);\n}\nexport default NotificationsMenu;\n","import type { AnalyticsEvent } from \"@octopusdeploy/portal-analytics\";\nexport interface NotificationsIconClickedAnalyticsEvent extends AnalyticsEvent<\"Notifications Icon Clicked\"> {\n \"Has Active Alert\": boolean;\n}\nexport function createNotificationsIconClickedAnalyticsEvent(hasActiveAlert: boolean): NotificationsIconClickedAnalyticsEvent {\n return {\n eventName: \"Notifications Icon Clicked\",\n \"Has Active Alert\": hasActiveAlert,\n };\n}\n","import type { AnalyticsEvent } from \"@octopusdeploy/portal-analytics\";\nexport interface NotificationCallToActionClickedAnalyticsEvent extends AnalyticsEvent<\"Notification call to action clicked\"> {\n \"Notification Id\": string;\n}\nexport function createNotificationCallToActionClickedAnalyticsEvent(notificationId: string): NotificationCallToActionClickedAnalyticsEvent {\n return {\n eventName: \"Notification call to action clicked\",\n \"Notification Id\": notificationId,\n };\n}\n","import { SpaceSwitcher } from \"@octopusdeploy/main-navigation\";\nimport { AnalyticLinkLocationProvider } from \"@octopusdeploy/portal-analytics\";\nimport { links } from \"@octopusdeploy/portal-routes\";\nimport { useCallback, useState } from \"react\";\nimport * as React from \"react\";\nimport AddSpaceDialogLayout from \"~/areas/configuration/components/Spaces/AddSpaceDialogLayout\";\nimport Dialog from \"~/components/Dialog/Dialog\";\nimport { useDialogTrigger } from \"~/components/Dialog/DialogTrigger\";\nimport { SpaceLimitReachedDialogLayout } from \"~/components/LicenseLimitReachedDialogLayout/index\";\nimport { useSpaceAwareNavigation } from \"~/components/Navigation/SpaceAwareNavigation/useSpaceAwareNavigation\";\nimport { isSpecificSpaceContext } from \"~/components/SpaceLoader/SpaceLoader\";\nimport type { SpaceContext } from \"~/components/SpaceLoader/SpaceLoader\";\ninterface SpaceSwitcherUpliftProps {\n spaceContext: SpaceContext;\n}\nexport function SpaceSwitcherNavigationBarItem({ spaceContext }: SpaceSwitcherUpliftProps) {\n const navigation = useSpaceAwareNavigation();\n const [isUpgradeDialogOpen, setIsUpgradeDialogOpen] = useState(false);\n const { isOpen: isAddSpaceDialogOpen, openDialog: openAddSpaceDialog, closeDialog: closeAddSpaceDialog } = useDialogTrigger();\n const currentSpace = isSpecificSpaceContext(spaceContext) ? spaceContext : undefined;\n const onUpgradeSpacesDialogRequested = useCallback(() => {\n setIsUpgradeDialogOpen(true);\n }, []);\n return (\n \n \n setIsUpgradeDialogOpen(false)}/>\n \n \n {\n closeAddSpaceDialog();\n navigation.navigate(links.editSpacePage.generateUrl({ currentSpaceId: space.Id }));\n }}/>\n \n );\n}\n","import React from \"react\";\nimport { useDispatch, useSelector } from \"react-redux\";\nimport { client } from \"~/clientInstance\";\nimport ErrorPanel from \"~/components/ErrorPanel/index\";\nimport { clearUnhandledErrors, currentUnhandledErrorSelector } from \"~/components/UnhandledError/reducers/index\";\nexport function UnhandledErrorPanel() {\n const { unhandledError, clearErrors } = useUnhandledErrors();\n const serverInfo = client.tryGetServerInformation();\n const version = serverInfo ? serverInfo.version : undefined;\n return <>{unhandledError && };\n}\nfunction useUnhandledErrors() {\n const unhandledError = useSelector(currentUnhandledErrorSelector);\n const dispatch = useDispatch();\n const clearErrors = React.useCallback(() => {\n dispatch(clearUnhandledErrors());\n }, [dispatch]);\n return { unhandledError, clearErrors };\n}\n","/* eslint-disable @octopusdeploy/custom-portal-rules/no-restricted-imports */\nimport { css } from \"@emotion/css\";\nimport type { DesignSystemLinkHref, ExternalLinkMenuItem, InternalLinkMenuItem, MenuTargetAriaAttributes, ShowLinkAsActive, SimpleMenuItem } from \"@octopusdeploy/design-system-components\";\nimport { dividerMenuItem, SideNavBarLinkTab, SimpleMenu, useMenuState } from \"@octopusdeploy/design-system-components\";\nimport { DesktopIcon, MoonIcon, SunIcon } from \"@octopusdeploy/design-system-icons\";\nimport { space } from \"@octopusdeploy/design-system-tokens\";\nimport type { UserResource } from \"@octopusdeploy/octopus-server-client\";\nimport type { LinkEvent } from \"@octopusdeploy/portal-routes\";\nimport { links, nameForLink, useDispatchLinkClicked } from \"@octopusdeploy/portal-routes\";\nimport { OctoLink } from \"@octopusdeploy/utilities\";\nimport type { MouseEventHandler } from \"react\";\nimport { useCallback, useMemo } from \"react\";\nimport * as React from \"react\";\nimport { useSelector } from \"react-redux\";\nimport { useMediaQuery } from \"react-responsive\";\nimport { useHiddenFeatures } from \"~/areas/configuration/components/FeaturesLayout/useHiddenFeatures\";\nimport { repository, session } from \"~/clientInstance\";\nimport { authRoutes } from \"~/components/AuthenticationRoutes/authRoutes\";\nimport { useSetThemeType, useThemeType } from \"~/components/Theme/useThemePaletteType\";\nimport { Avatar } from \"~/primitiveComponents/dataDisplay/Avatar/Avatar\";\nimport type { GlobalState } from \"~/store/reducers\";\ninterface ExposedUserAccountMenuProps {\n currentUser: UserResource;\n}\nexport function UserAccountMenu({ currentUser }: ExposedUserAccountMenuProps) {\n const [openMenu, menuState, buttonAriaAttributes] = useMenuState();\n const dispatchLinkClicked = useDispatchLinkClicked();\n const userAccountMenuItems = useUserAccountMenuItems(currentUser, dispatchLinkClicked);\n return (<>\n {\n e.preventDefault();\n openMenu(e);\n }} ariaAttributes={buttonAriaAttributes} isMenuOpen={menuState.isOpen}/>\n \n );\n}\ninterface OpenUserAccountMenuButtonProps {\n onClick: MouseEventHandler;\n currentUser: UserResource;\n ariaAttributes: MenuTargetAriaAttributes;\n isMenuOpen: boolean;\n}\nfunction OpenUserAccountMenuButton({ onClick, currentUser, ariaAttributes, isMenuOpen }: OpenUserAccountMenuButtonProps) {\n return (} href={links.currentUserRootRedirect.generateUrl()} accessibleName={isMenuOpen ? \"Hide user account menu\" : \"Show user account menu\"} showLinkAsActive={\"if path partially matches\"} onClick={onClick} {...ariaAttributes}/>);\n}\nfunction UserAvatar({ user, size }: {\n user: UserResource;\n size: number;\n}) {\n return ;\n}\nfunction useUserAccountMenuItems(currentUser: UserResource, dispatchLinkClicked: (name: string, event: LinkEvent) => void): SimpleMenuItem[] {\n const userDisplayNameMenuItem = createUserDisplayNameMenuItem(currentUser);\n const themeMenuItem = useThemeMenuItem();\n const featureFlags = useFeatureFlags();\n const downloadLink = createDownloadLinkMenuItem(dispatchLinkClicked);\n const profileLink = createInternalLinkMenuItem(dispatchLinkClicked, \"My profile\", links.currentUserRootRedirect.generateUrl(), \"never\");\n const signOutLink = createInternalLinkMenuItem(dispatchLinkClicked, \"Sign out\", authRoutes.signOut, \"never\");\n const recentChangesMenuItem = useRecentChangesMenuItem(dispatchLinkClicked);\n const helpItems = useHelpLinkItems(dispatchLinkClicked);\n return [userDisplayNameMenuItem, dividerMenuItem, downloadLink, recentChangesMenuItem, dividerMenuItem, ...featureFlags, dividerMenuItem, themeMenuItem, dividerMenuItem, profileLink, dividerMenuItem, signOutLink, ...helpItems];\n}\nfunction createInternalLinkMenuItem(dispatchLinkClicked: (name: string, event: LinkEvent) => void, label: string, path: DesignSystemLinkHref, showAsActive: ShowLinkAsActive): InternalLinkMenuItem {\n return {\n type: \"internal-link\",\n label,\n path,\n showAsActive,\n disableImplicitEventTracking: true,\n onClick: () => {\n dispatchLinkClicked(nameForLink(), {\n linkLabel: label,\n documentUrl: typeof path === \"string\" ? path : path.resolveWithSpaceId(null),\n linkLocation: \"Main Navigation\",\n });\n },\n };\n}\nfunction createExternalLinkMenuItem(dispatchLinkClicked: (name: string, event: LinkEvent) => void, label: string, href: string): ExternalLinkMenuItem {\n return {\n type: \"external-link\",\n label,\n href,\n onClick: () => {\n dispatchLinkClicked(nameForLink(), {\n linkLabel: label,\n documentUrl: href,\n linkLocation: \"Main Navigation\",\n });\n },\n };\n}\nfunction createUserDisplayNameMenuItem(user: UserResource): SimpleMenuItem {\n return {\n type: \"information\",\n content: (
    \n \n {user.DisplayName}\n
    ),\n };\n}\nconst userDisplayNameContainerStyles = css({\n display: \"flex\",\n gap: space[16],\n alignItems: \"center\",\n});\nfunction createDownloadLinkMenuItem(dispatchLinkClicked: (name: string, event: LinkEvent) => void): SimpleMenuItem {\n const version = repository.getServerInformation().version;\n const [major, minor, ...rest] = version.split(\".\");\n const build = rest.join(\".\");\n return createExternalLinkMenuItem(dispatchLinkClicked, `v${major}.${minor} (Build ${build})`, `https://octopus.com/downloads/${version}`);\n}\nfunction useThemeMenuItem(): SimpleMenuItem {\n const themeType = useThemeType();\n const setThemeType = useSetThemeType();\n const setPalette = useCallback((theme) => setThemeType(theme), [setThemeType]);\n const isItemSelected = useCallback((theme) => themeType === theme, [themeType]);\n return useMemo(() => ({\n type: \"nested-menu\",\n label: \"Theme\",\n children: [\n { type: \"icon-button\", label: \"Light\", icon: , autoFocus: false, isSelected: isItemSelected(\"light\"), onClick: () => setPalette(\"light\"), disableClose: true },\n { type: \"icon-button\", label: \"Dark\", icon: , autoFocus: false, isSelected: isItemSelected(\"dark\"), onClick: () => setPalette(\"dark\"), disableClose: true },\n { type: \"icon-button\", label: \"System\", icon: , autoFocus: false, isSelected: isItemSelected(\"unassigned\"), onClick: () => setPalette(\"unassigned\"), disableClose: true },\n ],\n }), [setPalette, isItemSelected]);\n}\nfunction useFeatureFlags(): SimpleMenuItem[] {\n const hiddenFeaturesEnabled = useHiddenFeatures();\n return useMemo(() => {\n if (!hiddenFeaturesEnabled)\n return [];\n const features: SimpleMenuItem[] = [];\n return features;\n }, [hiddenFeaturesEnabled]);\n}\nfunction useRecentChangesMenuItem(dispatchLinkClicked: (name: string, event: LinkEvent) => void): SimpleMenuItem {\n const host = \"http://octopus.com/releasenotes\";\n const installationHistory = session.installationHistory;\n const queryParams = new URLSearchParams();\n const installationsToSend = Math.min(4, installationHistory.length);\n installationHistory.slice(0, installationsToSend).forEach((i) => {\n queryParams.append(\"versions\", i.Version);\n queryParams.append(\"installedAt\", i.InstalledAt);\n });\n return createExternalLinkMenuItem(dispatchLinkClicked, \"Release notes\", `${host}?${queryParams.toString()}`);\n}\nfunction useHelpLinkItems(dispatchLinkClicked: (name: string, event: LinkEvent) => void): SimpleMenuItem[] {\n const isHelpSidebarEnabled = useSelector((state: GlobalState) => state.configurationArea.features.isHelpSidebarEnabled);\n const isNarrowScreen = useMediaQuery({ query: `(max-width: 811px)` });\n const customHelpSidebarSupportLink = useSelector((state: GlobalState) => state.configurationArea.features && state.configurationArea.features.helpSidebarSupportLink);\n const customHelpSidebarSupportLinkLabel = useSelector((state: GlobalState) => state.configurationArea.features && state.configurationArea.features.helpSidebarSupportLinkLabel);\n const helpSupportLink = customHelpSidebarSupportLink || OctoLink.Create(\"HelpGeneral\");\n let helpSupportLinkLabel = \"Octopus support\";\n // customHelpSidebarSupportLinkLabel requires customHelpSidebarSupportLink to exist otherwise it will use the default Octopus support\n if (customHelpSidebarSupportLink) {\n helpSupportLinkLabel = customHelpSidebarSupportLinkLabel || \"Your organization's internal support\";\n }\n if (!isHelpSidebarEnabled || isNarrowScreen) {\n return [dividerMenuItem, createExternalLinkMenuItem(dispatchLinkClicked, helpSupportLinkLabel, helpSupportLink)];\n }\n return [];\n}\n","import type { AreaNavPanelExpandState, BottomSideNavBarItem, DesignSystemLinkHref, ShowLinkAsActive, TopSideNavBarItem } from \"@octopusdeploy/design-system-components\";\nimport { CogIcon, DeployIcon, InsightsIcon, PlatformHubIcon, TasksIcon } from \"@octopusdeploy/design-system-icons\";\nimport type { UserResource } from \"@octopusdeploy/octopus-server-client\";\nimport { Permission } from \"@octopusdeploy/octopus-server-client\";\nimport type { LinkEvent, VerticalNavigationPageArea } from \"@octopusdeploy/portal-routes\";\nimport { nameForLink, links } from \"@octopusdeploy/portal-routes\";\nimport { compact } from \"lodash\";\nimport type { MouseEventHandler, ReactNode } from \"react\";\nimport React from \"react\";\nimport { repository, session } from \"~/clientInstance\";\nimport { isAllowed } from \"~/components/PermissionCheck/PermissionCheck\";\nimport type { SpaceContext } from \"~/components/SpaceLoader/SpaceLoader\";\nimport { isSpaceNotFound, isSpecificSpaceContext } from \"~/components/SpaceLoader/SpaceLoader\";\nimport { UserAccountMenu } from \"../Navbar/UserAccountMenu\";\nimport { hasPermissionsInAnyScope } from \"./hasPermissionInAnyScope\";\nexport function getNavigationSideBarBottomItems(currentUser: UserResource, spaceContext: SpaceContext, showBlueprints: boolean, dispatchLinkClicked: (name: string, event: LinkEvent) => void): BottomSideNavBarItem[] {\n const spaceId = isSpecificSpaceContext(spaceContext) ? spaceContext.Id : null;\n // Temporary workaround\n const blueprints: BottomSideNavBarItem | null = showBlueprints\n ? createBottomSideBarLink(dispatchLinkClicked, spaceId, { accessibleName: \"Platform Hub\", icon: , href: links.processTemplatesPage.generateUrl(), showLinkAsActive: \"if path partially matches\" })\n : null;\n return compact([\n blueprints,\n hasConfigurationPermissions(spaceContext)\n ? createBottomSideBarLink(dispatchLinkClicked, spaceId, {\n icon: ,\n href: links.configurationRootRedirect.generateUrl(),\n accessibleName: \"Configuration\",\n showLinkAsActive: \"if path partially matches\",\n })\n : null,\n { type: \"custom\", key: \"user-menu\", content: },\n ]);\n}\nfunction hasTaskViewPermission(spaceContext: SpaceContext): boolean {\n if (!isSpaceNotFound(spaceContext) || spaceContext.isAlsoInSystemContext) {\n return session.currentPermissions?.hasPermissionInAnyScope(Permission.TaskView) ?? false;\n }\n return false;\n}\nexport function getSideNavigationAreas(spaceContext: SpaceContext, verticalNavigationPageArea: VerticalNavigationPageArea, hasNavItems: boolean, areaNavPanelExpandState: AreaNavPanelExpandState, setAreaNavPanelExpandState: (expandState: AreaNavPanelExpandState) => void, areaNavPanelDisplayMode: \"overlay\" | \"inline\", dispatchLinkClicked: (name: string, event: LinkEvent) => void): TopSideNavBarItem[] {\n return compact([\n ...(isSpecificSpaceContext(spaceContext) ? getSpaceSpecificNavigationAreas(spaceContext.Id, verticalNavigationPageArea, hasNavItems, areaNavPanelExpandState, setAreaNavPanelExpandState, areaNavPanelDisplayMode, dispatchLinkClicked) : []),\n hasTaskViewPermission(spaceContext) ? createTopSideBarLink(dispatchLinkClicked, null, { label: \"Tasks\", icon: , href: links.tasksPage.generateUrl(), showLinkAsActive: \"if path partially matches\" }) : null,\n ]);\n}\nfunction getSpaceSpecificNavigationAreas(spaceId: string, verticalNavigationPageArea: VerticalNavigationPageArea, hasNavItems: boolean, areaNavPanelExpandState: AreaNavPanelExpandState, setAreaNavPanelExpandState: (expandState: AreaNavPanelExpandState) => void, areaNavPanelDisplayMode: \"overlay\" | \"inline\", dispatchLinkClicked: (name: string, event: LinkEvent) => void): TopSideNavBarItem[] {\n return compact([\n createTopSideBarLink(dispatchLinkClicked, spaceId, {\n label: \"Deploy\",\n icon: ,\n href: links.projectsPage.generateUrl({ spaceId }),\n showLinkAsActive: verticalNavigationPageArea === \"Projects\" ? \"always\" : \"never\",\n onClick: (e: React.MouseEvent | undefined) => {\n // Q. How do we know when they're routing to a different top-level area?\n // If they're coming from Tasks or Configuration, and trying to open Projects,\n // we want to redirect them to the Dashboard.\n // We really only want to toggle the AreaNavPanel if they're navigating within\n // the same area.\n // HACK - We can hack this for now by asking if hasNavItems, because currently only\n // Projects has NavItems. This will break if/when we have another top-level area\n // menu with NavItems :(\n if (areaNavPanelDisplayMode === \"inline\" && hasNavItems) {\n // If the user is clicking \"Projects\" because they can't see the AreaNavPanel, toggle\n // the AreaNavPanel to let them peek the menu contents.\n setAreaNavPanelExpandState(areaNavPanelExpandState.isExpanded ? { isExpanded: false } : { isExpanded: true });\n e?.preventDefault();\n }\n // Else let this click bubble through to the regular route/link onClick.\n },\n onIsHoveredChanged: (isHovered: boolean, hoveredElement: HTMLElement) => {\n if (areaNavPanelDisplayMode === \"overlay\" && hasNavItems && isHovered) {\n setAreaNavPanelExpandState({ isExpanded: true, reason: \"hover\", hoveredElement });\n }\n },\n }),\n hasPermissionsInAnyScope(spaceId, Permission.InsightsReportView)\n ? createTopSideBarLink(dispatchLinkClicked, spaceId, { label: \"Insights\", icon: , href: links.insightsRootRedirect.generateUrl({ spaceId }), showLinkAsActive: \"if path partially matches\" })\n : null,\n ]);\n}\nfunction hasConfigurationPermissions(spaceContext: SpaceContext) {\n if (!isSpaceNotFound(spaceContext) || spaceContext.isAlsoInSystemContext) {\n return (session.currentPermissions?.scopeToSpace(repository.spaceId).hasAnyPermissions() ||\n isAllowed({\n permission: [Permission.AdministerSystem, Permission.EventView, Permission.TeamView, Permission.UserView, Permission.UserRoleView, Permission.SpaceView, Permission.SpaceEdit, Permission.SpaceCreate, Permission.SpaceDelete],\n wildcard: true,\n }));\n }\n return false;\n}\nfunction createTopSideBarLink(dispatchLinkClicked: (name: string, event: LinkEvent) => void, spaceId: string | null, linkParams: {\n label: string;\n icon: ReactNode;\n href: DesignSystemLinkHref;\n showLinkAsActive: ShowLinkAsActive;\n accessibleName?: string;\n onClick?: MouseEventHandler;\n onIsHoveredChanged?: (isHovered: boolean, hoveredElement: HTMLElement) => void;\n}): TopSideNavBarItem {\n const { onClick, ...otherLinkParams } = linkParams;\n const instrumentedOnClick = (ev: React.MouseEvent) => {\n dispatchLinkClicked(nameForLink(), {\n linkLabel: linkParams.label,\n documentUrl: typeof linkParams.href === \"string\" ? linkParams.href : linkParams.href.resolveWithSpaceId(spaceId),\n linkLocation: \"Main Navigation\",\n });\n onClick?.(ev);\n };\n return {\n type: \"link\",\n ...otherLinkParams,\n onClick: instrumentedOnClick,\n };\n}\nfunction createBottomSideBarLink(dispatchLinkClicked: (name: string, event: LinkEvent) => void, spaceId: string | null, linkParams: {\n icon: ReactNode;\n href: DesignSystemLinkHref;\n showLinkAsActive: ShowLinkAsActive;\n accessibleName: string;\n}): BottomSideNavBarItem {\n const onClick = (ev: React.MouseEvent) => {\n dispatchLinkClicked(nameForLink(), {\n linkLabel: linkParams.accessibleName,\n documentUrl: typeof linkParams.href === \"string\" ? linkParams.href : linkParams.href.resolveWithSpaceId(spaceId),\n linkLocation: \"Main Navigation\",\n });\n };\n return {\n type: \"link\",\n ...linkParams,\n onClick,\n };\n}\n","import type { AreaNavListItem, GlobalLayoutProps, NavigationBarActionData, AreaNavListGroupItem, AreaNavListGroup, AreaNavPanelExpandState, AreaNavListLinkItem } from \"@octopusdeploy/design-system-components\";\nimport { GlobalLayout, useIsLargerThanIpadResolution, Avatar, InPageNavVisibilityProvider } from \"@octopusdeploy/design-system-components\";\nimport type { UserFavouriteProjectSummary } from \"@octopusdeploy/octopus-server-client\";\nimport { Permission } from \"@octopusdeploy/octopus-server-client\";\nimport { AnalyticLinkLocationProvider } from \"@octopusdeploy/portal-analytics\";\nimport type { LinkEvent } from \"@octopusdeploy/portal-routes\";\nimport { nameForLink, links, useDispatchLinkClicked, useVerticalNavigationPageArea } from \"@octopusdeploy/portal-routes\";\nimport { exhaustiveCheck, isNotNull } from \"@octopusdeploy/type-utils\";\nimport React, { useEffect, useState } from \"react\";\nimport { useLocation } from \"react-router-dom\";\nimport useIsMultiTenancyEnabledFeatureFlag from \"~/areas/configuration/hooks/useIsMultiTenancyEnabledFeatureFlag\";\nimport { WelcomeDialog } from \"~/areas/dashboard/Onboarding/WelcomeDialog/WelcomeDialog\";\nimport type { ProjectStatus } from \"~/areas/projects/components/ProjectStatus/useProjectStatus\";\nimport { client, repository, session } from \"~/clientInstance\";\nimport { isFeatureToggleEnabled } from \"~/components/FeatureToggle/New/FeatureToggleContext\";\nimport { hasPermissionsInAnyScope } from \"~/components/GlobalLayout/hasPermissionInAnyScope\";\nimport DeprecationNotificationsPoller from \"~/components/Navbar/NotificationPoller/DeprecationNotificationsPoller\";\nimport LicenceNotificationPoller from \"~/components/Navbar/NotificationPoller/LicenceNotificationPoller\";\nimport PageLayoutUpliftNotifications from \"~/components/Navbar/NotificationPoller/PageLayoutUpliftNotification\";\nimport UpdateAvailableNotificationPoller from \"~/components/Navbar/NotificationPoller/UpdateAvailableNotificationPoller\";\nimport { hasPermission, isAllowed } from \"~/components/PermissionCheck/PermissionCheck\";\nimport type { SpaceContext } from \"~/components/SpaceLoader/SpaceLoader\";\nimport { isSpaceNotFound, isSpecificSpaceContext } from \"~/components/SpaceLoader/SpaceLoader\";\nimport SystemMessagesBanner from \"~/components/SystemMessagesBanner/SystemMessagesBanner\";\nimport SearchAndOpenPopover from \"~/globalSearch/SearchAndOpenPopover\";\nimport { useOctopusFeatureToggle } from \"~/hooks/useOctopusFeatureToggle\";\nimport { ContextualHelpPanel, useIsContextualHelpPanelExpanded } from \"../ContextualHelpLayout/ContextualHelpLayout\";\nimport type { DoBusyTask } from \"../DataBaseComponent\";\nimport DataBaseComponent, { useDoBusyTaskEffect } from \"../DataBaseComponent\";\nimport { HelpNavigationActionButton } from \"../Navbar/HelpNavigationActionButton\";\nimport { LicenseCountdownBanner } from \"../Navbar/LicenseCountdownBanner\";\nimport TargetTagsNotifications from \"../Navbar/NotificationPoller/TargetTagsNotifications\";\nimport NotificationsMenu from \"../Navbar/NotificationsMenu\";\nimport { SpaceSwitcherNavigationBarItem } from \"../Navbar/SpaceSwitcherNavigationBarItem\";\nimport { UnhandledErrorPanel } from \"./UnhandledErrorPanel\";\nimport { getNavigationSideBarBottomItems, getSideNavigationAreas } from \"./portalNavigationSiderBarItems\";\ninterface PortalGlobalLayoutProps {\n spaceContext: SpaceContext;\n projectStatus?: ProjectStatus;\n children: React.ReactNode;\n scrollAreaRef?: React.RefObject;\n}\nexport class PortalGlobalLayout extends DataBaseComponent {\n render() {\n return ;\n }\n static displayName = \"PortalGlobalLayout\";\n}\ninterface PortalGlobalLayoutInternalProps extends PortalGlobalLayoutProps {\n doBusyTask: DoBusyTask;\n}\nfunction PortalGlobalLayoutInternal({ spaceContext, projectStatus, children, doBusyTask, scrollAreaRef }: React.PropsWithChildren) {\n const isLargerThanIpad = useIsLargerThanIpadResolution();\n const actions: NavigationBarActionData[] = [...getNavigationActions(isLargerThanIpad)];\n const [isInPageNavVisible, setIsInPageNavVisible] = React.useState(false);\n const areaNavPanelDisplayMode = isInPageNavVisible ? \"overlay\" : \"inline\";\n const [areaNavPanelExpandState, setAreaNavPanelExpandState] = React.useState(getDefaultAreaNavPanelExpandState(areaNavPanelDisplayMode));\n const dispatchLinkClicked = useDispatchLinkClicked();\n const areaNavItems = usePortalPageAreaNavItems(spaceContext, doBusyTask);\n const hasAreaNavItems = areaNavItems.length > 0;\n React.useLayoutEffect(() => {\n setAreaNavPanelExpandState(getDefaultAreaNavPanelExpandState(areaNavPanelDisplayMode));\n }, [areaNavPanelDisplayMode]);\n const verticalNavigationPageArea = useVerticalNavigationPageArea();\n const sideBarTopNavigationItems = verticalNavigationPageArea\n ? getSideNavigationAreas(spaceContext, verticalNavigationPageArea, hasAreaNavItems, areaNavPanelExpandState, setAreaNavPanelExpandState, areaNavPanelDisplayMode, dispatchLinkClicked)\n : [];\n const showBlueprints = useOctopusFeatureToggle(\"blueprints\", false);\n // eslint-disable-next-line @typescript-eslint/no-non-null-assertion\n const sideBarBottomNavigationItems = verticalNavigationPageArea ? getNavigationSideBarBottomItems(session.currentUser!, spaceContext, showBlueprints, dispatchLinkClicked) : [];\n const location = useLocation();\n const prevPathnameRef = React.useRef(location.pathname);\n const showLicenseCountdownBanner = useOctopusFeatureToggle(\"trial-expiration-visibility\", false);\n useEffect(() => {\n if (prevPathnameRef.current !== location.pathname && scrollAreaRef?.current && typeof scrollAreaRef.current.scrollTo === \"function\") {\n scrollAreaRef.current.scrollTo({ top: 0 });\n prevPathnameRef.current = location.pathname;\n }\n }, [location, scrollAreaRef]);\n const isHelpExpanded = useIsContextualHelpPanelExpanded();\n return (\n ,\n searchBar: isSpaceNotFound(spaceContext) ? undefined : ,\n banner: !showLicenseCountdownBanner ? undefined : ,\n actions,\n }} sideNavBar={{\n topItems: sideBarTopNavigationItems,\n bottomItems: sideBarBottomNavigationItems,\n }} helpPanel={{\n isExpanded: isHelpExpanded,\n content: ,\n }}>\n \n \n \n \n \n \n \n \n \n \n {children}\n \n );\n}\nfunction getDefaultAreaNavPanelExpandState(displayMode: \"overlay\" | \"inline\"): AreaNavPanelExpandState {\n return displayMode === \"inline\" ? { isExpanded: true } : { isExpanded: false };\n}\nfunction getNavigationActions(isLargerThanIpad: boolean): NavigationBarActionData[] {\n return [{ key: \"notifications\", content: }, isLargerThanIpad ? { key: \"help-menu\", content: } : null].filter(isNotNull);\n}\nexport function usePortalPageAreaNavItems(spaceContext: SpaceContext, doBusyTask: DoBusyTask): GlobalLayoutProps[\"areaNavPanel\"][\"items\"] {\n const verticalNavigationPageArea = useVerticalNavigationPageArea();\n const isMultiTenancyEnabled = useIsMultiTenancyEnabledFeatureFlag();\n const favouriteProjects = useFavouriteProjects(doBusyTask);\n const dispatchLinkClicked = useDispatchLinkClicked();\n if (!verticalNavigationPageArea) {\n return [];\n }\n switch (verticalNavigationPageArea) {\n case \"Projects\":\n return getProjectsAreaNavPanelItems(spaceContext, isMultiTenancyEnabled, favouriteProjects, dispatchLinkClicked);\n case \"Tasks\":\n case \"User Profile\":\n case \"Dev Tools\":\n case \"Configuration\":\n case \"Insights\":\n case \"Blueprints\":\n return [];\n default:\n exhaustiveCheck(verticalNavigationPageArea, \"Not all page areas have been handled\");\n }\n}\nfunction useFavouriteProjects(doBusyTask: DoBusyTask): UserFavouriteProjectSummary[] | \"not-loaded\" {\n const [favouriteProjects, setFavouriteProjects] = useState(\"not-loaded\");\n const refresh = useDoBusyTaskEffect(doBusyTask, async () => {\n if (hasPermission(Permission.ProjectView)) {\n const result = await repository.Users.getProjectFavourites();\n setFavouriteProjects(result.Projects);\n }\n else {\n setFavouriteProjects([]);\n }\n }, []);\n useEffect(() => {\n return client.subscribe((event) => {\n if (event.type === \"UserFavouriteProjectCreated\" || event.type === \"UserFavouriteProjectDeleted\") {\n refresh();\n }\n });\n }, [refresh]);\n return favouriteProjects;\n}\nfunction getProjectsAreaNavPanelItems(spaceContext: SpaceContext, isMultiTenancyEnabled: boolean, favouriteProjects: UserFavouriteProjectSummary[] | \"not-loaded\", dispatchLinkClicked: (name: string, event: LinkEvent) => void): ReadonlyArray {\n if (isSpecificSpaceContext(spaceContext)) {\n const gitHubConnectionsEnabled = isFeatureToggleEnabled(\"GitHubConnectionsFeatureToggle\");\n const favouriteProjectItems: AreaNavListGroupItem[] = favouriteProjects === \"not-loaded\"\n ? [{ placeholderLabel: \"...\" }]\n : favouriteProjects.length === 0\n ? [{ placeholderLabel: \"No favorite projects\" }]\n : favouriteProjects.map((p) => ({\n label: p.Name,\n href: links.projectRootRedirect.generateUrl({ spaceId: spaceContext.Id, projectSlug: p.Slug }),\n icon: ,\n }));\n const instrumentItemOnClick = (item: AreaNavListLinkItem | AreaNavListGroupItem) => {\n if (!isAreaNavListLinkItem(item))\n return item;\n return {\n ...item,\n onClick: (ev: React.MouseEvent) => {\n dispatchLinkClicked(nameForLink(), {\n linkLabel: item.label,\n documentUrl: typeof item.href === \"string\" ? item.href : item.href.resolveWithSpaceId(spaceContext.Id),\n linkLocation: \"Area Nav Panel\",\n });\n item.onClick?.(ev);\n },\n };\n };\n return ([\n { label: \"Projects\", href: links.projectsPage.generateUrl({ spaceId: spaceContext.Id }) },\n \"spacer\",\n ...groupWithTrailingDivider(\"My Favorites\", favouriteProjectItems),\n ...groupWithTrailingDivider(undefined, [\n hasPermissionsInAnyScope(spaceContext.Id, Permission.TenantView) ? { label: \"Tenants\", href: links.tenantsPage.generateUrl({ spaceId: spaceContext.Id }) } : null,\n isMultiTenancyEnabled && isAllowed({ permission: Permission.VariableView, wildcard: true }, { spaceId: spaceContext.Id }) ? { label: \"Tenant Tag Sets\", href: links.tagSetsPage.generateUrl({ spaceId: spaceContext.Id }) } : null,\n isAllowed({ permission: [Permission.VariableView, Permission.LibraryVariableSetView], wildcard: true }, { spaceId: spaceContext.Id })\n ? {\n label: \"Variable Sets\",\n href: links.variableSetsPage.generateUrl({ spaceId: spaceContext.Id }),\n }\n : null,\n ]),\n ...groupWithTrailingDivider(\"Infrastructure\", [\n isAllowed({ permission: [Permission.EnvironmentView, Permission.MachineView, Permission.WorkerView], wildcard: true }, { spaceId: spaceContext.Id })\n ? {\n label: \"Overview\",\n href: links.infrastructureOverviewPage.generateUrl({ spaceId: spaceContext.Id }),\n }\n : null,\n isAllowed({ permission: [Permission.MachineView], wildcard: true }, { spaceId: spaceContext.Id })\n ? {\n label: \"Deployment Targets\",\n href: links.deploymentTargetsPage.generateUrl({ spaceId: spaceContext.Id }),\n }\n : null,\n isAllowed({ permission: [Permission.EnvironmentView, Permission.MachineView] }, { spaceId: spaceContext.Id })\n ? {\n label: \"Environments\",\n href: links.infrastructureEnvironmentsPage.generateUrl({ spaceId: spaceContext.Id }),\n }\n : null,\n isAllowed({ permission: Permission.MachinePolicyView, wildcard: true }, { spaceId: spaceContext.Id })\n ? {\n label: \"Machine Policies\",\n href: links.machinePoliciesPage.generateUrl({ spaceId: spaceContext.Id }),\n }\n : null,\n isAllowed({ permission: Permission.ProxyView, wildcard: true }, { spaceId: spaceContext.Id }) ? { label: \"Machine Proxies\", href: links.proxiesPage.generateUrl({ spaceId: spaceContext.Id }) } : null,\n isAllowed({ permission: [Permission.WorkerView], wildcard: true }, { spaceId: spaceContext.Id }) ? { label: \"Workers\", href: links.workerMachinesPage.generateUrl({ spaceId: spaceContext.Id }) } : null,\n isAllowed({ permission: [Permission.EnvironmentView] }, { spaceId: spaceContext.Id }) ? { label: \"Worker Pools\", href: links.workerPoolsPage.generateUrl({ spaceId: spaceContext.Id }) } : null,\n ]),\n groupWithNullableItems(\"Manage\", [\n isAllowed({ permission: Permission.AccountView, wildcard: true }, { spaceId: spaceContext.Id })\n ? {\n label: \"Accounts\",\n href: links.infrastructureAccountsPage.generateUrl({ spaceId: spaceContext.Id }),\n }\n : null,\n isAllowed({ permission: Permission.FeedView }, { spaceId: spaceContext.Id }) ? { label: \"Build Information\", href: links.buildInformationOverviewPage.generateUrl({ spaceId: spaceContext.Id }) } : null,\n isAllowed({ permission: Permission.CertificateView, wildcard: true }, { spaceId: spaceContext.Id }) ? { label: \"Certificates\", href: links.certificatesPage.generateUrl({ spaceId: spaceContext.Id }) } : null,\n isAllowed({ permission: Permission.FeedView }, { spaceId: spaceContext.Id }) ? { label: \"External Feeds\", href: links.feedsPage.generateUrl({ spaceId: spaceContext.Id }) } : null,\n isAllowed({ permission: [Permission.GitCredentialView], wildcard: true }, { spaceId: spaceContext.Id })\n ? {\n label: \"Git Credentials\",\n href: links.gitCredentialsPage.generateUrl({ spaceId: spaceContext.Id }),\n }\n : null,\n gitHubConnectionsEnabled && isAllowed({ permission: [Permission.GitCredentialView], wildcard: true }, { spaceId: spaceContext.Id })\n ? {\n label: \"GitHub Connections\",\n href: links.gitConnectionsPage.generateUrl({ spaceId: spaceContext.Id }),\n }\n : null,\n isAllowed({ permission: Permission.LifecycleView, wildcard: true }, { spaceId: spaceContext.Id }) ? { label: \"Lifecycles\", href: links.lifecyclesPage.generateUrl({ spaceId: spaceContext.Id }) } : null,\n isAllowed({ permission: Permission.FeedView }, { spaceId: spaceContext.Id }) ? { label: \"Packages\", href: links.builtInRepositoryPage.generateUrl({ spaceId: spaceContext.Id }) } : null,\n isAllowed({ permission: Permission.VariableView, wildcard: true }, { spaceId: spaceContext.Id }) ? { label: \"Script Modules\", href: links.scriptModulesPage.generateUrl({ spaceId: spaceContext.Id }) } : null,\n isAllowed({ permission: Permission.ActionTemplateView }, { spaceId: spaceContext.Id }) ? { label: \"Step Templates\", href: links.stepTemplatesPage.generateUrl({ spaceId: spaceContext.Id }) } : null,\n ]),\n ] as const)\n .filter(isNotNull)\n .map((areaNavListItem) => isAreaNavListLinkItem(areaNavListItem)\n ? instrumentItemOnClick(areaNavListItem)\n : isAreaNavListGroup(areaNavListItem)\n ? {\n ...areaNavListItem,\n items: areaNavListItem.items.map((groupItem) => instrumentItemOnClick(groupItem)),\n }\n : areaNavListItem);\n }\n return [];\n}\nfunction isAreaNavListLinkItem(item: AreaNavListItem): item is AreaNavListLinkItem {\n return typeof item === \"object\" && \"href\" in item;\n}\nfunction isAreaNavListGroup(item: AreaNavListItem): item is AreaNavListGroup {\n return typeof item === \"object\" && \"items\" in item;\n}\nfunction groupWithTrailingDivider(heading: string | undefined, groupItems: (AreaNavListGroupItem | null)[]): AreaNavListItem[] {\n const group = groupWithNullableItems(heading, groupItems);\n if (group === undefined) {\n return [];\n }\n return [group, \"divider\"];\n}\nfunction groupWithNullableItems(heading: string | undefined, groupItems: (AreaNavListGroupItem | null)[]): AreaNavListGroup | undefined {\n const nonNullGroupItems = groupItems.filter(isNotNull);\n if (nonNullGroupItems.length === 0)\n return undefined;\n return {\n heading,\n items: nonNullGroupItems,\n };\n}\n","/* eslint-disable @typescript-eslint/no-non-null-assertion */\nimport { css } from \"@emotion/css\";\nimport { MissingPermissionIllustration } from \"@octopusdeploy/design-system-components\";\nimport { text, space } from \"@octopusdeploy/design-system-tokens\";\nimport * as React from \"react\";\nimport { session } from \"~/clientInstance\";\nimport ExternalLink from \"~/components/Navigation/ExternalLink\";\nimport { EmptyPage } from \"../EmptyPage/EmptyPage\";\nexport function NoPermissionsPage() {\n const title = `Hi there, ${session.currentUser!.DisplayName}. Your current permissions won’t allow you here.`;\n const description = \"If you believe this is incorrect, please contact your Octopus Deploy Administrator to review & update your permissions.\";\n const action = (
    \n
    For more information see our
    \n \n Help Docs\n \n
    );\n return (
    \n } action={action}/>\n
    );\n}\nconst actionStyles = css({\n display: \"flex\",\n flexDirection: \"column\",\n alignItems: \"center\",\n gap: space[4],\n});\nconst actionTextStyles = css({\n font: text.body.regular.xSmall,\n});\nconst actionLinkStyles = css({\n font: text.body.bold.medium,\n});\n","import { Level2OuterPageLayout } from \"@octopusdeploy/design-system-components\";\nimport { Permission } from \"@octopusdeploy/octopus-server-client\";\nimport { links } from \"@octopusdeploy/portal-routes\";\nimport { compact } from \"lodash\";\nimport * as React from \"react\";\nimport { NoPermissionsPage } from \"~/components/NoPermissionsPage/NoPermissionsPage\";\nimport { hasPermission } from \"~/components/PermissionCheck/PermissionCheck\";\nimport { useCreatePageSideNavLink } from \"~/hooks/useCreatePageSideNavLink\";\nexport function PlatformHubLayout({ children }: React.PropsWithChildren<{}>) {\n const createPageSideNavLink = useCreatePageSideNavLink();\n if (!hasPermission(Permission.PlatformHubView)) {\n return ;\n }\n const navItems = compact([\n createPageSideNavLink(\"Templates\", links.processTemplatesPage.generateUrl(), true),\n createPageSideNavLink(\"Version Control Settings\", links.platformHubConnectionPage.generateUrl(), true),\n \"divider\",\n createPageSideNavLink(\"Accounts\", links.platformHubAccountsPage.generateUrl(), false),\n createPageSideNavLink(\"Git Credentials\", links.platformHubGitCredentialsPage.generateUrl(), false),\n ]);\n return (
    \n \n {children}\n \n
    );\n}\n","/* eslint-disable @typescript-eslint/no-non-null-assertion */\nimport { Level2OuterPageLayout } from \"@octopusdeploy/design-system-components\";\nimport type { TelemetryConfigurationResource } from \"@octopusdeploy/octopus-server-client\";\nimport { Permission } from \"@octopusdeploy/octopus-server-client\";\nimport { links } from \"@octopusdeploy/portal-routes\";\nimport { compact } from \"lodash\";\nimport moment from \"moment\";\nimport * as React from \"react\";\nimport { client, repository, session } from \"~/clientInstance\";\nimport { NewFeatureChip } from \"~/components/Chips\";\nimport { DataBaseComponent } from \"~/components/DataBaseComponent\";\nimport { isFeatureToggleEnabled } from \"~/components/FeatureToggle/New/FeatureToggleContext\";\nimport { isAllowed } from \"~/components/PermissionCheck/PermissionCheck\";\nimport { useCreatePageSideNavLink } from \"~/hooks/useCreatePageSideNavLink\";\nimport { TelemetryHasBeenIntroducedLocalStorageKey } from \"../Telemetry/TelemetryPage\";\ninterface ConfigurationLayoutState {\n hideAnyAuthenticationProvidersSupportPasswordManagement: boolean;\n telemetryConfiguration: TelemetryConfigurationResource | undefined;\n}\ninterface ConfigurationLayoutProps {\n children: React.ReactNode;\n}\nexport class ConfigurationLayout extends DataBaseComponent {\n constructor(props: ConfigurationLayoutProps) {\n super(props);\n this.state = {\n // flipped to 'hide' so it'll just disappear in the case where it's not supported\n // instead of showing up after the data fetch, and without delaying display of whole menu for data load\n hideAnyAuthenticationProvidersSupportPasswordManagement: false,\n telemetryConfiguration: undefined,\n };\n }\n componentDidMount() {\n this.doBusyTask(async () => {\n const telemetryConfiguration = isAllowed({ permission: Permission.AdministerSystem }) ? repository.TelemetryConfiguration.get() : Promise.resolve(undefined);\n const document = await repository.Authentication.get();\n this.setState({\n hideAnyAuthenticationProvidersSupportPasswordManagement: !document.AnyAuthenticationProvidersSupportPasswordManagement,\n telemetryConfiguration: await telemetryConfiguration,\n });\n });\n }\n render() {\n //TODO: Busy state and errors aren't currently being observed for the top level layout at the moment.\n return (\n {this.props.children}\n );\n }\n static displayName = \"ConfigurationLayout\";\n}\ninterface ConfigurationLayoutInternalProps {\n children: React.ReactNode;\n hideAnyAuthenticationProvidersSupportPasswordManagement: boolean;\n telemetryConfiguration: TelemetryConfigurationResource | undefined;\n}\nfunction ConfigurationLayoutInternal({ children, telemetryConfiguration, hideAnyAuthenticationProvidersSupportPasswordManagement }: ConfigurationLayoutInternalProps) {\n const navItems = useConfigurationNavLinks(telemetryConfiguration, hideAnyAuthenticationProvidersSupportPasswordManagement);\n return (
    \n \n {children}\n \n
    );\n}\nfunction useConfigurationNavLinks(telemetryConfiguration: TelemetryConfigurationResource | undefined, hideAnyAuthenticationProvidersSupportPasswordManagement: boolean) {\n const createPageSideNavLink = useCreatePageSideNavLink();\n const showAsNew = telemetryConfiguration?.ShowAsNewUntil ? moment(telemetryConfiguration.ShowAsNewUntil).isAfter(moment()) : false;\n const telemetryHasBeenIntroduced = localStorage.getItem(TelemetryHasBeenIntroducedLocalStorageKey) === \"true\";\n const gitMenuPermissions = isFeatureToggleEnabled(\"GitHubConnectionsFeatureToggle\") ? undefined : { permission: [Permission.AdministerSystem, Permission.ConfigureServer] };\n const deploymentFreezeLabel = isFeatureToggleEnabled(\"ProjectDeploymentFreezesFeatureToggle\") ? \"Freezes\" : \"Deployment Freezes\";\n return compact([\n createPageSideNavLink(\"Audit\", links.auditPage.generateUrl(), undefined, { permission: [Permission.AdministerSystem, Permission.EventView], wildcard: true }),\n createPageSideNavLink(\"Backup\", links.backupPage.generateUrl(), undefined, { permission: Permission.AdministerSystem }),\n createPageSideNavLink(deploymentFreezeLabel, links.deploymentFreezesListPage.generateUrl(), undefined, { permission: Permission.DeploymentFreezeAdminister }),\n createPageSideNavLink(\"Diagnostics\", links.diagnosticsPage.generateUrl(), undefined, { permission: Permission.AdministerSystem }),\n createPageSideNavLink(\"Features\", links.featuresPage.generateUrl(), undefined, { permission: [Permission.AdministerSystem, Permission.ConfigureServer] }),\n createPageSideNavLink(\"Git\", links.gitPage.generateUrl(), undefined, gitMenuPermissions),\n client.getSystemLink((link) => link.LetsEncryptConfiguration) ? createPageSideNavLink(\"Let's Encrypt\", links.letsEncryptPage.generateUrl(), undefined, { permission: Permission.AdministerSystem }) : null,\n createPageSideNavLink(\"License\", links.licensePage.generateUrl(), true, { permission: Permission.AdministerSystem }),\n session.currentPermissions!.scopeToSpace(repository.spaceId).hasAnyPermissions() ? createPageSideNavLink(\"License Usage\", links.licenseUsagePage.generateUrl(), true, undefined) : undefined,\n createPageSideNavLink(\"Maintenance\", links.maintenancePage.generateUrl(), undefined, { permission: Permission.AdministerSystem }),\n createPageSideNavLink(\"Nodes\", links.nodesPage.generateUrl(), undefined, { permission: Permission.AdministerSystem }),\n createPageSideNavLink(\"Performance\", links.performancePage.generateUrl(), undefined, { permission: Permission.ConfigureServer }),\n createPageSideNavLink(\"Settings\", links.settingsListPage.generateUrl(), undefined, { permission: [Permission.AdministerSystem, Permission.ConfigureServer] }),\n createPageSideNavLink(\"Signing Keys\", links.signingKeysPage.generateUrl(), undefined, { permission: [Permission.AdministerSystem] }),\n createPageSideNavLink(\"SMTP\", links.smtpPage.generateUrl(), undefined, { permission: [Permission.ConfigureServer, Permission.AdministerSystem] }),\n createPageSideNavLink(\"Subscriptions\", links.subscriptionsPage.generateUrl(), undefined, { permission: [Permission.SubscriptionView] }),\n createPageSideNavLink(<>Telemetry {telemetryHasBeenIntroduced ? \"\" : showAsNew && }, links.telemetryPage.generateUrl(), undefined, { permission: [Permission.AdministerSystem] }),\n createPageSideNavLink(\"Thumbprint\", links.thumbprintPage.generateUrl(), undefined, { permission: [Permission.AdministerSystem, Permission.MachineEdit], wildcard: true }),\n \"divider\",\n session.currentPermissions!.scopeToSpace(repository.spaceId).hasAnyPermissions()\n ? createPageSideNavLink(\"Spaces\", links.spacesPage.generateUrl(), undefined)\n : createPageSideNavLink(\"Spaces\", links.spacesPage.generateUrl(), undefined, { permission: [Permission.SpaceView, Permission.SpaceEdit, Permission.SpaceCreate, Permission.SpaceDelete] }),\n createPageSideNavLink(\"Teams\", links.teamsPage.generateUrl(), undefined, { permission: [Permission.TeamEdit, Permission.TeamView] }),\n createPageSideNavLink(\"Test Permissions\", links.testPermissionsPage.generateUrl(), undefined, { permission: [Permission.TeamEdit, Permission.UserView] }),\n createPageSideNavLink(\"Users\", links.usersPage.generateUrl(), undefined, { permission: [Permission.AdministerSystem, Permission.UserView] }),\n !hideAnyAuthenticationProvidersSupportPasswordManagement && isAllowed({ permission: Permission.UserInvite })\n ? createPageSideNavLink(\"User Invites\", links.userInvitesPage.generateUrl(), undefined, { permission: [Permission.AdministerSystem, Permission.UserInvite] })\n : undefined,\n createPageSideNavLink(\"User Roles\", links.userRolesPage.generateUrl(), undefined, { permission: [Permission.AdministerSystem, Permission.UserRoleView] }),\n ]);\n}\nexport default ConfigurationLayout;\n","/* eslint-disable @typescript-eslint/no-non-null-assertion */\nimport type { LinkHref } from \"@octopusdeploy/portal-routes\";\nimport { links } from \"@octopusdeploy/portal-routes\";\nimport * as React from \"react\";\nimport type { DataBaseComponentState } from \"~/components/DataBaseComponent\";\nimport { DataBaseComponent } from \"~/components/DataBaseComponent\";\nimport { SkeletonLoadingLayout } from \"~/components/SkeletonLoadingLayout/SkeletonLoadingLayout\";\nimport { repository } from \"../../clientInstance\";\nimport InternalRedirect from \"../../components/Navigation/InternalRedirect/InternalRedirect\";\ninterface DeploymentToProjectTaskRedirectProps {\n spaceId: string;\n deploymentId: string;\n}\ninterface DeploymentToProjectTaskRedirectState extends DataBaseComponentState {\n redirectTo: LinkHref;\n}\nexport default class DeploymentToProjectTaskRedirect extends DataBaseComponent {\n constructor(props: DeploymentToProjectTaskRedirectProps) {\n super(props);\n this.state = {\n redirectTo: null!,\n };\n }\n async componentDidMount() {\n await this.doBusyTask(async () => {\n const deploymentId = this.props.deploymentId;\n const deployment = await repository.Deployments.get(deploymentId);\n const release = await repository.Releases.get(deployment.ReleaseId);\n const path = links.deploymentDetailsPage.generateUrl({ spaceId: this.props.spaceId, projectSlug: release.ProjectId, releaseVersion: release.Version, deploymentId: deployment.Id });\n this.setState({\n redirectTo: path,\n });\n });\n }\n render() {\n const redirectTo = this.state.redirectTo;\n if (!redirectTo) {\n return (
    \n \n
    );\n }\n return ;\n }\n static displayName = \"DeploymentToProjectTaskRedirect\";\n}\n","/* eslint-disable @typescript-eslint/no-non-null-assertion */\nimport { Level2OuterPageLayout } from \"@octopusdeploy/design-system-components\";\nimport type { PageSideNavLink } from \"@octopusdeploy/design-system-components\";\nimport { themeTokens } from \"@octopusdeploy/design-system-tokens\";\nimport type { MachineModelHealthStatus, MachineResource } from \"@octopusdeploy/octopus-server-client\";\nimport { isStepPackageEndpointResource, Permission, EndpointsHelper } from \"@octopusdeploy/octopus-server-client\";\nimport { links } from \"@octopusdeploy/portal-routes\";\nimport { compact } from \"lodash\";\nimport * as React from \"react\";\nimport { useDispatch, useSelector } from \"react-redux\";\nimport { useRouteMatch } from \"react-router\";\nimport type { AnyAction } from \"redux\";\nimport type { ThunkDispatch } from \"redux-thunk\";\nimport { MachineHealthStatusIcon } from \"~/areas/infrastructure/components/MachineHealthStatusIcons/MachineHealthStatusIcon\";\nimport endpointRegistry from \"~/areas/infrastructure/components/MachineSettings/Endpoints/endpointRegistry\";\nimport { repository } from \"~/clientInstance\";\nimport Chip from \"~/components/Chips/Chip\";\nimport DataBaseComponent from \"~/components/DataBaseComponent\";\nimport { SkeletonLoadingLayout } from \"~/components/SkeletonLoadingLayout/SkeletonLoadingLayout\";\nimport type { UnknownStepPackageDeploymentTarget } from \"~/components/StepPackageDeploymentTargetEditor/StepPackageDeploymentTarget\";\nimport { useCreatePageSideNavLink } from \"~/hooks/useCreatePageSideNavLink\";\nimport type { CreatePageSideNavLink } from \"~/hooks/useCreatePageSideNavLink\";\nimport { getMachineIconUrl } from \"~/utils/MachineIconUrlFetchers/machineIconUrlFetchers\";\nimport { machineActions } from \"../../reducers/machines\";\nimport { getCurrentMachine } from \"../../reducers/selectors\";\ntype MachineLayoutRouteProps = {\n machineId: string;\n};\ninterface MachineLayoutInternalProps {\n machineId: string;\n machineName?: string;\n machineType?: string;\n machineIconUrl?: string;\n machineIsDisabled?: boolean;\n isStepPackage?: boolean;\n machineHealthStatus?: MachineModelHealthStatus;\n title: string;\n getMachine(id: string): Promise;\n isDeploymentTargetPage: boolean;\n onFetchMachine(machine: MachineResource): void;\n createPageSideNavLink: CreatePageSideNavLink;\n}\ninterface MachineLayoutInternalState {\n stepPackageDeploymentTarget: UnknownStepPackageDeploymentTarget | undefined;\n machine: MachineResource | undefined;\n}\nclass MachineLayoutInternal extends DataBaseComponent {\n constructor(props: MachineLayoutInternalProps) {\n super(props);\n this.state = {\n stepPackageDeploymentTarget: undefined,\n machine: undefined,\n };\n }\n componentDidMount() {\n if (this.props.machineId) {\n this.doBusyTask(async () => {\n const machine = await this.props.getMachine(this.props.machineId);\n const deploymentTarget = isStepPackageEndpointResource(machine.Endpoint) ? await endpointRegistry.getStepPackageDeploymentTarget(machine.Endpoint.DeploymentTargetTypeId, machine.Endpoint.StepPackageVersion) : undefined;\n this.setState((prevState) => ({ ...prevState, machine, stepPackageDeploymentTarget: deploymentTarget }));\n this.props.onFetchMachine(machine);\n });\n }\n }\n render() {\n const machineId = this.props.machineId;\n const navLinks: Array = [];\n if (machineId) {\n const settingsLinkHref = this.props.isDeploymentTargetPage\n ? links.deploymentTargetSettingsPage.generateUrl({ spaceId: this.state.machine?.SpaceId ?? repository.spaceId!, machineId })\n : links.workerMachineSettingsPage.generateUrl({ spaceId: this.state.machine?.SpaceId ?? repository.spaceId!, machineId });\n const connectionLinkHref = this.props.isDeploymentTargetPage\n ? links.deploymentTargetConnectionPage.generateUrl({ spaceId: this.state.machine?.SpaceId ?? repository.spaceId!, machineId })\n : links.workerMachineConnectionPage.generateUrl({ spaceId: this.state.machine?.SpaceId ?? repository.spaceId!, machineId });\n const eventLinksHref = this.props.isDeploymentTargetPage\n ? links.deploymentTargetEventsPage.generateUrl({ spaceId: this.state.machine?.SpaceId ?? repository.spaceId!, machineId })\n : links.workerMachineEventsPage.generateUrl({ spaceId: this.state.machine?.SpaceId ?? repository.spaceId!, machineId });\n navLinks.push(this.props.createPageSideNavLink(\"Settings\", settingsLinkHref));\n navLinks.push(this.props.createPageSideNavLink(Connectivity {this.props.machineHealthStatus && }, connectionLinkHref));\n if (this.props.isDeploymentTargetPage) {\n navLinks.push(this.props.createPageSideNavLink(\"Deployments\", links.deploymentTargetDeploymentsPage.generateUrl({ spaceId: this.state.machine?.SpaceId ?? repository.spaceId!, machineId }), undefined, {\n permission: Permission.TaskView,\n wildcard: true,\n }));\n navLinks.push(this.props.createPageSideNavLink(\"Runbook Runs\", links.deploymentTargetRunbookRunsPage.generateUrl({ spaceId: this.state.machine?.SpaceId ?? repository.spaceId!, machineId }), undefined, {\n permission: Permission.TaskView,\n wildcard: true,\n }));\n }\n navLinks.push(this.props.createPageSideNavLink(\"Events\", eventLinksHref, undefined, { permission: Permission.EventView, wildcard: true }));\n }\n const rootLink = this.props.isDeploymentTargetPage\n ? links.deploymentTargetsPage.generateUrl({ spaceId: this.state.machine?.SpaceId ?? repository.spaceId! })\n : links.workerMachinesPage.generateUrl({ spaceId: this.state.machine?.SpaceId ?? repository.spaceId! });\n let machineType = this.props.machineType;\n if (this.props.isStepPackage) {\n machineType = this.state.stepPackageDeploymentTarget?.name ?? \"\";\n }\n if (!this.props.machineName) {\n return (
    \n \n
    );\n }\n const machineChips = [];\n if (machineType) {\n machineChips.push();\n }\n if (this.props.machineIsDisabled) {\n machineChips.push();\n }\n return (
    \n \n {this.props.children}\n \n
    );\n }\n static displayName = \"MachineLayoutInternal\";\n}\nfunction MachineChip({ label }: {\n label: string;\n}) {\n return (\n {label}\n );\n}\ninterface SharedMachineLayoutProps {\n title: string;\n getMachine(id: string): Promise;\n isDeploymentTargetPage: boolean;\n children: React.ReactNode;\n}\nfunction SharedMachineLayout({ title, getMachine, isDeploymentTargetPage, children }: SharedMachineLayoutProps) {\n const match = useRouteMatch();\n const machineId = match?.params?.machineId;\n const machine = useSelector(getCurrentMachine);\n const dispatchFetchMachine = useDispatchFetchMachine();\n const createPageSideNavLink = useCreatePageSideNavLink();\n if (!machineId) {\n // This should never happen, machineId is a required route parameter.\n // When this page is moved to the vNext routing infrastructure, this can be changed to be a required prop instead, and this null check removed.\n return null;\n }\n return (\n {children}\n );\n}\nexport function WorkerMachineLayout({ children }: {\n children: React.ReactNode;\n}) {\n return ( repository.Workers.get(id)} isDeploymentTargetPage={false}>\n {children}\n );\n}\nexport function MachineLayout({ children }: {\n children: React.ReactNode;\n}) {\n return ( repository.Machines.get(id)} isDeploymentTargetPage={true}>\n {children}\n );\n}\nconst useDispatchFetchMachine = () => {\n const dispatch: ThunkDispatch = useDispatch();\n return React.useCallback((machine: MachineResource) => {\n const machineIconUrl = getMachineIconUrl(machine);\n dispatch(machineActions.machineFetched({\n id: machine.Id,\n name: machine.Name,\n machineIconUrl,\n machineType: EndpointsHelper.getFriendlyName(machine),\n isDisabled: machine.IsDisabled,\n isStepPackage: isStepPackageEndpointResource(machine.Endpoint),\n healthStatus: machine.HealthStatus,\n }));\n }, [dispatch]);\n};\n","import type { InsightsReportResource } from \"@octopusdeploy/octopus-server-client\";\nimport type { ReactNode } from \"react\";\nimport React, { useMemo } from \"react\";\nimport { InsightsReportLoadingLayout } from \"~/areas/insights/components/InsightsReportLayout/InsightsReportLayout\";\nimport { repository } from \"~/clientInstance\";\nimport { DataBaseComponent } from \"~/components/DataBaseComponent\";\nimport type { InsightsReportPageContext } from \"~/routing/pageRegistrations/InsightsPageRegistration\";\nimport type { StandardPageContext } from \"~/routing/pageRegistrations/StandardPageContext\";\nimport { timeOperationOptions } from \"~/utils/OperationTimer/timeOperation\";\ninterface InsightsReportLoaderProps {\n pageContext: StandardPageContext;\n reportId: string;\n children: (insightsReportPageContext: InsightsReportPageContext) => ReactNode;\n}\ninterface State {\n report: InsightsReportResource | null;\n}\nexport class InsightsReportLoader extends DataBaseComponent {\n constructor(props: InsightsReportLoaderProps) {\n super(props);\n this.state = {\n report: null,\n };\n }\n async componentDidMount() {\n await this.doBusyTask(() => this.load(), { timeOperationOptions: timeOperationOptions.forInitialLoad() });\n }\n refreshReport = async () => {\n await this.doBusyTask(() => this.load(), { timeOperationOptions: timeOperationOptions.for(\"RefreshByLayout\") });\n };\n private async load() {\n const report = await repository.InsightsReports.get(this.props.reportId);\n this.setState({ report });\n }\n render() {\n return this.state.report ? (\n {(insightsReportPageContext) => this.props.children(insightsReportPageContext)}\n ) : ();\n }\n static displayName = \"InsightsReportLoader\";\n}\ninterface InsightsReportedLoaded {\n standardPageContext: StandardPageContext;\n report: InsightsReportResource;\n refreshReport: () => Promise;\n children: (insightsReportPageContext: InsightsReportPageContext) => ReactNode;\n}\nfunction InsightsReportLoaded({ report, refreshReport, standardPageContext, children }: InsightsReportedLoaded) {\n const insightsReportPageContext: InsightsReportPageContext = useMemo(() => ({\n ...standardPageContext,\n report,\n refreshReport,\n }), [refreshReport, report, standardPageContext]);\n return <>{children(insightsReportPageContext)};\n}\n","import type { SimpleMenuItem, PrimaryPageAction, PageAction } from \"@octopusdeploy/design-system-components\";\nimport { LinearProgress, PageHeaderPrimary } from \"@octopusdeploy/design-system-components\";\nimport type { PropsWithChildren } from \"react\";\nimport React from \"react\";\nimport BusyFromPromise from \"~/components/BusyFromPromise/index\";\nimport { getErrorsFromError, isErrors } from \"~/components/DataBaseComponent/Errors\";\nimport type { Errors } from \"~/components/DataBaseComponent/index\";\nimport ErrorPanel from \"~/components/ErrorPanel/ErrorPanel\";\nimport styles from \"~/components/FullWidthPageLayout/style.module.less\";\nimport { SkeletonLoadingLayout } from \"~/components/SkeletonLoadingLayout/SkeletonLoadingLayout\";\nimport TransitionAnimation from \"~/components/TransitionAnimation/TransitionAnimation\";\ninterface LoadedFullWidthPageLayoutProps {\n areaTitle?: string;\n primaryAction?: PrimaryPageAction;\n pageActions?: PageAction[];\n overflowActions?: SimpleMenuItem[];\n busy: Promise | boolean | undefined;\n errors: Errors | Error[] | undefined;\n}\ntype LoadingFullWidthPageLayoutProps = {\n isInitialLoad: true;\n errors: Errors | Error[] | undefined;\n};\ntype FullWidthPageLayoutProps = LoadingFullWidthPageLayoutProps | LoadedFullWidthPageLayoutProps;\nfunction isLoadingFullWidthPageLayoutProps(props: FullWidthPageLayoutProps): props is LoadingFullWidthPageLayoutProps {\n return \"isInitialLoad\" in props && props.isInitialLoad;\n}\nexport function FullWidthPageLayout(props: PropsWithChildren) {\n const convertedErrors = props.errors === undefined ? undefined : isErrors(props.errors) ? [props.errors] : props.errors.map(getErrorsFromError);\n return (
    \n {isLoadingFullWidthPageLayoutProps(props) ? () : ()}\n\n
    \n
    \n {!isLoadingFullWidthPageLayoutProps(props) && {(isBusy: boolean) => }}\n {convertedErrors &&\n convertedErrors.map((error, index) => ())}\n {props.children}\n
    \n
    \n
    );\n}\nfunction ConsumerContent({ children }: React.PropsWithChildren<{}>) {\n return (
    \n {children}\n
    );\n}\nfunction AreaHeaderVNext({ areaTitle, primaryAction, pageActions, overflowActions }: Pick) {\n return ;\n}\n","import { links } from \"@octopusdeploy/portal-routes\";\nimport React from \"react\";\nimport { repository } from \"~/clientInstance\";\nimport type { Errors } from \"~/components/DataBaseComponent/index\";\nimport DataBaseComponent from \"~/components/DataBaseComponent/index\";\nimport { FullWidthPageLayout } from \"~/components/FullWidthPageLayout/FullWidthPageLayout\";\nimport InternalRedirect from \"~/components/Navigation/InternalRedirect/InternalRedirect\";\nexport interface LicenseGuardProps {\n spaceId: string;\n children: JSX.Element;\n}\ninterface State {\n licenseChecked: boolean;\n hasInsightsLicenseFeature: boolean;\n}\nfunction LoadingLayout({ errors }: {\n errors: Errors | undefined;\n}) {\n return ;\n}\nclass LicenseChecker extends DataBaseComponent {\n constructor(props: LicenseGuardProps) {\n super(props);\n this.state = {\n licenseChecked: false,\n hasInsightsLicenseFeature: false,\n };\n }\n async componentDidMount() {\n await this.doBusyTask(async () => {\n const licenseCheck = await repository.InsightsReports.getInsightsLicenseCheck();\n this.setState({ licenseChecked: true, hasInsightsLicenseFeature: licenseCheck.HasInsightsLicenseFeature });\n });\n }\n render() {\n const { hasInsightsLicenseFeature } = this.state;\n if (this.state.busy || !this.state.licenseChecked)\n return ;\n if (hasInsightsLicenseFeature)\n return this.props.children;\n return ;\n }\n static displayName = \"LicenseChecker\";\n}\nexport default LicenseChecker;\n","import { css } from \"@emotion/css\";\nimport { Level2OuterPageLayout, Tooltip } from \"@octopusdeploy/design-system-components\";\nimport { ExclamationTriangleIcon } from \"@octopusdeploy/design-system-icons\";\nimport { space, themeTokens } from \"@octopusdeploy/design-system-tokens\";\nimport { useInlineStatusQuery } from \"@octopusdeploy/octopus-react-client\";\nimport { links } from \"@octopusdeploy/portal-routes\";\nimport * as React from \"react\";\nimport { SkeletonLoadingLayout } from \"~/components/SkeletonLoadingLayout/SkeletonLoadingLayout\";\nimport { useCreatePageSideNavLink } from \"~/hooks/useCreatePageSideNavLink\";\ninterface ActionTemplateLayoutProps {\n spaceId: string;\n templateId: string;\n children: (context: {\n onActionTemplateUpdated: () => void;\n }) => React.ReactNode;\n}\nexport default function ActionTemplateLayout({ spaceId, templateId, children }: ActionTemplateLayoutProps) {\n const { result, error, refetch } = useInlineStatusQuery(async (repository) => {\n const actionTemplate = await repository.ActionTemplates.get(templateId);\n const actionTemplateUsages = await repository.ActionTemplates.getUsage(actionTemplate);\n const totalPendingUpdates = actionTemplateUsages.filter((u) => u.Version.toString() !== actionTemplate.Version.toString()).length;\n return { actionTemplate, totalPendingUpdates };\n }, [templateId], \"ActionTemplateLayout resource and usages\");\n const createPageSideNavLink = useCreatePageSideNavLink();\n const context = React.useMemo(() => ({ onActionTemplateUpdated: refetch }), [refetch]);\n if (!result) {\n return (
    \n \n
    );\n }\n const { actionTemplate, totalPendingUpdates } = result;\n const navLinks = [\n createPageSideNavLink(\"Details\", links.editStepTemplatePage.generateUrl({ spaceId, templateId }), true),\n createPageSideNavLink(, links.stepTemplateUsagePage.generateUrl({ spaceId, templateId })),\n ];\n return (
    \n \n {children(context)}\n \n
    );\n}\ninterface UsageWithPendingUpdatesLabelProps {\n totalPendingUpdates: number;\n}\nfunction UsageNavbarItemLabel({ totalPendingUpdates = 0 }: UsageWithPendingUpdatesLabelProps) {\n return (
    \n Usage\n {totalPendingUpdates > 0 && }\n
    );\n}\nfunction PendingUsages({ totalPendingUpdates }: React.PropsWithChildren<{\n totalPendingUpdates: number;\n}>) {\n const tooltipContent = `${totalPendingUpdates} action ${pluralize(totalPendingUpdates, \"template usage has\", \"template usages have\")} pending changes.`;\n return (\n \n );\n}\nfunction pluralize(count: number, singular: string, plural: string) {\n return count > 1 ? plural : singular;\n}\nconst usageWithPendingUpdatesLabelStyles = css({\n display: \"flex\",\n flexDirection: \"row\",\n gap: space[8],\n alignItems: \"center\",\n});\n","import ActionTemplateLayout from \"./ActionTemplateLayout\";\nexport default ActionTemplateLayout;\n","/* eslint-disable @typescript-eslint/no-non-null-assertion */\nimport { FeedType } from \"@octopusdeploy/octopus-server-client\";\nimport type { LinkHref } from \"@octopusdeploy/portal-routes\";\nimport { links } from \"@octopusdeploy/portal-routes\";\nimport * as React from \"react\";\nimport { repository } from \"~/clientInstance\";\nimport type { DataBaseComponentState } from \"~/components/DataBaseComponent\";\nimport { DataBaseComponent } from \"~/components/DataBaseComponent\";\nimport { SkeletonLoadingLayout } from \"~/components/SkeletonLoadingLayout/SkeletonLoadingLayout\";\nimport InternalRedirect from \"../../../../components/Navigation/InternalRedirect/InternalRedirect\";\ninterface OverviewFilterRedirectState extends DataBaseComponentState {\n redirectTo?: LinkHref;\n}\ninterface RedirectFeedBasedOnTypeProps {\n spaceId: string;\n feedId: string;\n}\nexport class RedirectFeedBasedOnType extends DataBaseComponent {\n constructor(props: RedirectFeedBasedOnTypeProps) {\n super(props);\n this.state = {\n redirectTo: null!,\n };\n }\n async componentDidMount() {\n await this.doBusyTask(async () => {\n const id = this.props.feedId;\n const feed = await repository.Feeds.get(id);\n const spaceId = feed.SpaceId ?? this.props.spaceId;\n const redirectTo = feed.FeedType === FeedType.BuiltIn ? links.builtInRepositoryPage.generateUrl({ spaceId }) : links.editFeedPage.generateUrl({ spaceId, feedId: id });\n this.setState({ redirectTo });\n });\n }\n render() {\n const to = this.state.redirectTo;\n if (!to) {\n return (
    \n \n
    );\n }\n return ;\n }\n static displayName = \"RedirectFeedBasedOnType\";\n}\n","import { css } from \"@emotion/css\";\nimport { CodeBranchIcon } from \"@octopusdeploy/design-system-icons\";\nimport { space, themeTokens } from \"@octopusdeploy/design-system-tokens\";\nimport React from \"react\";\nimport { withTheme } from \"~/components/Theme\";\nimport WarningIcon from \"~/components/WarningIcon/index\";\nimport styles from \"./style.module.less\";\nexport function GitProjectLinkWithErrorStatus(props: {\n label: string | JSX.Element;\n hasError: boolean;\n}) {\n return withTheme((theme) => {\n const icon = props.hasError ? : undefined;\n return ;\n });\n}\nexport function GitProjectLink(props: {\n label: string | JSX.Element;\n}) {\n const icon = ;\n return ;\n}\nexport function IndentedProjectLink(props: {\n label: string | JSX.Element;\n}) {\n return ;\n}\nexport function IconProjectLink(props: {\n label: string | JSX.Element;\n icon: JSX.Element | undefined;\n forceIndented?: boolean;\n}) {\n const noIconStyle = props.forceIndented ? styles.noIconIndented : styles.noIcon;\n const icon = props.icon === undefined ? (
    ) : (React.cloneElement(props.icon, {\n fontSize: \"small\",\n className: styles.icon,\n }));\n return (
    \n {icon}\n {props.label}\n
    );\n}\nconst linkContainerStyles = css({\n display: \"flex\",\n alignItems: \"center\",\n gap: space[8],\n});\nconst labelOrder = css({\n order: -1,\n});\n","import type { PageSideNavDivider, PageSideNavLink } from \"@octopusdeploy/design-system-components\";\nimport type { BranchSpecifier, ProjectResource, ProjectSettingsMetadata } from \"@octopusdeploy/octopus-server-client\";\nimport { HasRunbooksInGit, HasVariablesInGit, Permission, ShouldUseDefaultBranch } from \"@octopusdeploy/octopus-server-client\";\nimport type { LinkHref } from \"@octopusdeploy/portal-routes\";\nimport { links } from \"@octopusdeploy/portal-routes\";\nimport { compact } from \"lodash\";\nimport * as React from \"react\";\nimport { isFeatureToggleEnabled } from \"~/components/FeatureToggle/New/FeatureToggleContext\";\nimport { isAllowed } from \"~/components/PermissionCheck/PermissionCheck\";\nimport type { PermissionCheckProps } from \"~/components/PermissionCheck/PermissionCheck\";\nimport type { CreatePageSideNavLink } from \"~/hooks/useCreatePageSideNavLink\";\nimport { areEphemeralEnvironmentsEnabledForProject } from \"../EphemeralEnvironments/useEphemeralEnvironmentsEnabled\";\nimport { IsAllowedToSeeDeploymentsOverview } from \"../ProjectsRoutes/ProjectToOverviewRedirect\";\nimport { GitProjectLink, GitProjectLinkWithErrorStatus, IndentedProjectLink } from \"./GitProjectLink\";\nexport function ProjectLinks(createPageSideNavLink: CreatePageSideNavLink, branch: BranchSpecifier, project: Readonly, hasConnectionError: boolean, projectMetadata: ProjectSettingsMetadata[], isEphemeralEnvironmentsEnabled: boolean) {\n const projectId = project.Id;\n const projectSlug = project.Slug;\n const spaceId = project.SpaceId;\n const navigationLinks: (PageSideNavLink | PageSideNavDivider | null)[] = [];\n const releaseViewPermission = {\n permission: Permission.ReleaseView,\n project: projectId,\n tenant: \"*\",\n };\n const processViewPermission = {\n permission: Permission.ProcessView,\n project: projectId,\n tenant: \"*\",\n };\n const triggerViewPermission = {\n permission: Permission.TriggerView,\n project: projectId,\n };\n const runbookViewPermission = {\n permission: Permission.RunbookView,\n project: projectId,\n wildcard: true,\n };\n const variableViewPermission = {\n permission: Permission.VariableView,\n project: projectId,\n wildcard: true,\n };\n const tenantViewPermission = {\n permission: Permission.TenantView,\n project: projectId,\n projectGroup: \"*\",\n tenant: \"*\",\n };\n const taskViewPermission = {\n permission: Permission.TaskView,\n project: projectId,\n projectGroup: \"*\",\n tenant: \"*\",\n };\n const projectViewPermission = {\n permission: Permission.ProjectView,\n project: projectId,\n projectGroup: \"*\",\n tenant: \"*\",\n };\n // Check if the environment variable based feature toggle is set, enabling the experimental feature toggles Octopus feature.\n // https://docs.google.com/document/d/17_q7hhrunrheVC4dS4HfKfbUi6ik0XySpaIBbdNyKAg/edit?usp=sharing\n const areFeatureTogglesEnabled = isFeatureToggleEnabled(\"FeatureTogglesFeatureToggle\");\n if (IsAllowedToSeeDeploymentsOverview(projectId)) {\n navigationLinks.push(NavigationItem(\"Dashboard\", links.deploymentsPage.generateUrl({ spaceId, projectSlug }), true, releaseViewPermission));\n navigationLinks.push(GitNavigationItem(\"Process\", links.deploymentProcessPage.generateUrl({ spaceId, projectSlug }), ShouldUseDefaultBranch(branch) ? links.deploymentProcessPage.generateUrl({ spaceId, projectSlug }) : links.branchDeploymentProcessPage.generateUrl({ spaceId, projectSlug, branchName: branch }), undefined, processViewPermission));\n navigationLinks.push(NavigationItem(\"Channels\", links.channelsPage.generateUrl({ spaceId, projectSlug }), undefined, processViewPermission));\n navigationLinks.push(NavigationItem(\"Releases\", links.releasesPage.generateUrl({ spaceId, projectSlug }), undefined, releaseViewPermission));\n if (areFeatureTogglesEnabled) {\n navigationLinks.push(NavigationItem(\"Feature Toggles\", links.featureTogglesPage.generateUrl({ spaceId, projectSlug })));\n }\n navigationLinks.push(NavigationItem(\"Triggers\", links.deploymentTriggersPage.generateUrl({ spaceId, projectSlug }), undefined, triggerViewPermission));\n if (isFeatureToggleEnabled(\"ProjectDeploymentFreezesFeatureToggle\")) {\n navigationLinks.push(NavigationItem(\"Freezes\", links.projectDeploymentFreezesPage.generateUrl({ spaceId, projectSlug }), undefined, projectViewPermission));\n }\n navigationLinks.push(GitNavigationItem(\"Settings\", links.deploymentProcessSettingsPage.generateUrl({ spaceId, projectSlug }), ShouldUseDefaultBranch(branch) ? links.deploymentProcessSettingsPage.generateUrl({ spaceId, projectSlug }) : links.branchDeploymentProcessSettingsPage.generateUrl({ spaceId, projectSlug, branchName: branch })));\n navigationLinks.push(\"divider\");\n }\n if (isAllowed(runbookViewPermission)) {\n navigationLinks.push(NavigationItem(\"Operations\", links.projectOperationsPage.generateUrl({ spaceId, projectSlug }), true));\n navigationLinks.push(GitRunbooksNavigationItem(\"Runbooks\", links.projectRunbooksPage.generateUrl({ spaceId, projectSlug })));\n navigationLinks.push(NavigationItem(\"Runbook Triggers\", links.projectRunbookTriggersPage.generateUrl({ spaceId, projectSlug }), undefined, triggerViewPermission));\n navigationLinks.push(\"divider\");\n }\n if (areEphemeralEnvironmentsEnabledForProject(isEphemeralEnvironmentsEnabled, project)) {\n navigationLinks.push(NavigationItem(\"Ephemeral Environments\", links.projectEphemeralEnvironmentsPage.generateUrl({ spaceId, projectSlug })));\n navigationLinks.push(\"divider\");\n }\n if (isAllowed(variableViewPermission)) {\n navigationLinks.push(GitVariablesNavigationItem(\"Project Variables\", links.variablesPage.generateUrl({ spaceId, projectSlug }), ShouldUseDefaultBranch(branch) ? links.variablesPage.generateUrl({ spaceId, projectSlug }) : links.branchVariablesPage.generateUrl({ spaceId, projectSlug, branchName: branch }), true));\n navigationLinks.push(NavigationItem(\"Tenant Variables\", links.projectTenantsRedirect.generateUrl({ spaceId, projectSlug })));\n navigationLinks.push(NavigationItem(\"Variable Sets\", links.libraryVariablesPage.generateUrl({ spaceId, projectSlug })));\n navigationLinks.push(GitVariablesNavigationItem(\"All Variables\", links.allVariablesPage.generateUrl({ spaceId, projectSlug }), ShouldUseDefaultBranch(branch) ? links.allVariablesPage.generateUrl({ spaceId, projectSlug }) : links.branchAllVariablesPage.generateUrl({ spaceId, projectSlug, branchName: branch })));\n navigationLinks.push(GitVariablesNavigationItem(\"Variable Preview\", links.variablesPreviewPage.generateUrl({ spaceId, projectSlug }), ShouldUseDefaultBranch(branch) ? links.variablesPreviewPage.generateUrl({ spaceId, projectSlug }) : links.branchVariablesPreviewPage.generateUrl({ spaceId, projectSlug, branchName: branch })));\n navigationLinks.push(\"divider\");\n }\n if (isAllowed(tenantViewPermission)) {\n navigationLinks.push(createPageSideNavLink(\"Tenants\", links.projectTenantsPage.generateUrl({ spaceId, projectSlug })));\n navigationLinks.push(\"divider\");\n }\n if (isAllowed(taskViewPermission)) {\n navigationLinks.push(createPageSideNavLink(\"Tasks\", links.projectTasksPage.generateUrl({ spaceId, projectSlug })));\n navigationLinks.push(\"divider\");\n }\n if (isAllowed(projectViewPermission)) {\n navigationLinks.push(NavigationItem(\"Insights\", links.projectInsightsOverviewPage.generateUrl({ spaceId, projectSlug })));\n navigationLinks.push(\"divider\");\n navigationLinks.push(NavigationItem(\"Project Settings\", links.projectSettingsPage.generateUrl({ spaceId, projectSlug }), true));\n navigationLinks.push(GitNavigationItemWithErrorStatus(\"Version Control\", links.projectVersionControlSettingsPage.generateUrl({ spaceId, projectSlug }), links.projectVersionControlSettingsPage.generateUrl({ spaceId, projectSlug })));\n if (projectMetadata && projectMetadata.length > 0) {\n navigationLinks.push(NavigationItem(\"ITSM Providers\", links.projectITSMProvidersControlSettingsPage.generateUrl({ spaceId, projectSlug })));\n }\n }\n return compact(navigationLinks);\n // Helpers\n function GitRunbooksNavigationItem(label: string | JSX.Element, link: LinkHref, exact?: boolean, permission?: PermissionCheckProps) {\n const labelElement = HasRunbooksInGit(project.PersistenceSettings) ? : ;\n return createPageSideNavLink(labelElement, link, exact, permission);\n }\n function GitVariablesNavigationItem(label: string | JSX.Element, dbLink: LinkHref, gitLink: LinkHref, exact?: boolean, permission?: PermissionCheckProps) {\n const labelElement = HasVariablesInGit(project.PersistenceSettings) ? : ;\n const link = HasVariablesInGit(project.PersistenceSettings) ? gitLink : dbLink;\n return createPageSideNavLink(labelElement, link, exact, permission);\n }\n function GitNavigationItem(label: string | JSX.Element, dbLink: LinkHref, gitLink: LinkHref, exact?: boolean, permission?: PermissionCheckProps) {\n const labelElement = project.IsVersionControlled ? : ;\n const link = project.IsVersionControlled ? gitLink : dbLink;\n return createPageSideNavLink(labelElement, link, exact, permission);\n }\n function GitNavigationItemWithErrorStatus(label: string | JSX.Element, dbLink: LinkHref, gitLink: LinkHref, exact?: boolean, permission?: PermissionCheckProps) {\n const labelElement = project.IsVersionControlled ? : ;\n const link = project.IsVersionControlled ? gitLink : dbLink;\n return createPageSideNavLink(labelElement, link, exact, permission);\n }\n function NavigationItem(label: string | JSX.Element, dbLink: LinkHref, exact?: boolean, permission?: PermissionCheckProps) {\n return createPageSideNavLink(, dbLink, exact, permission);\n }\n}\n","import { css } from \"@emotion/css\";\nimport { Callout } from \"@octopusdeploy/design-system-components\";\nimport * as React from \"react\";\nimport { useProjectContext } from \"~/areas/projects/context/index\";\nimport { isFeatureToggleEnabled } from \"~/components/FeatureToggle/New/FeatureToggleContext\";\nexport function ResilientPipelineCallouts(props: {\n isVariablesPage?: boolean;\n isRunbooksPage?: boolean;\n}) {\n const projectContext = useProjectContext();\n const resilientExecutionsEnabled = isFeatureToggleEnabled(\"ResilientExecutionsFeatureToggle\");\n if (!resilientExecutionsEnabled)\n return null;\n if (!projectContext.state.model.ExecuteDeploymentsOnResilientPipeline)\n return null;\n return (
    \n \n
    );\n}\nconst calloutsStyles = css({\n paddingLeft: \"2rem\",\n paddingRight: \"2rem\",\n});\n","import { css } from \"@emotion/css\";\nimport { IconButton, Stepper } from \"@octopusdeploy/design-system-components\";\nimport { borderRadius, space, text, themeTokens } from \"@octopusdeploy/design-system-tokens\";\nimport * as React from \"react\";\nimport { useState } from \"react\";\nimport { Action } from \"~/analytics/Analytics\";\nimport { SampleProjectTourContext } from \"~/areas/projects/components/ProjectLayout/SampleProjectTour/SampleProjectTour\";\nimport { useRequiredContext } from \"~/hooks/index\";\nfunction SampleProjectTourResume() {\n const sampleProjectTourContext = useRequiredContext(SampleProjectTourContext);\n const [isHovered, setIsHovered] = useState();\n const onResumeTourClicked = () => {\n sampleProjectTourContext.resumeTour();\n sampleProjectTourContext.dispatchAnalyticsEventForCurrentState(\"Sample Project Tour: Click Resume Tour\", Action.Resume, \"SampleProjectTourResume\");\n };\n const onDismissTourClicked = () => {\n sampleProjectTourContext.dismissTour();\n sampleProjectTourContext.dispatchAnalyticsEventForCurrentState(\"Sample Project Tour: Click 'X' to Dismiss Resume Tour\", Action.Dismiss, \"SampleProjectTourResume\");\n };\n const shouldRender = sampleProjectTourContext.tourState === \"Suspended\";\n if (!shouldRender) {\n return null;\n }\n return (
    setIsHovered(true)} onMouseLeave={() => setIsHovered(false)}>\n \n
    \n
    Resume Tour
    \n {isHovered && }\n
    \n
    );\n}\nexport interface DismissPromptProps {\n onDismissClicked: () => void;\n}\nexport function DismissPrompt(props: DismissPromptProps) {\n const onDismissClicked = (event: React.MouseEvent) => {\n event.stopPropagation();\n props.onDismissClicked();\n };\n return (
    \n \n
    );\n}\nconst styles = {\n container: css({\n display: \"flex\",\n alignItems: \"center\",\n justifyContent: \"space-between\",\n width: \"100%\",\n padding: space[8],\n borderRadius: borderRadius.small,\n border: \"0px\",\n cursor: \"pointer\",\n color: themeTokens.color.callout.text.info,\n backgroundColor: themeTokens.color.callout.background.info.default,\n \"&:hover\": {\n backgroundColor: themeTokens.color.callout.background.info.hover,\n },\n \"&:active\": {\n backgroundColor: themeTokens.color.callout.background.info.pressed,\n },\n }),\n textContainer: css({\n display: \"flex\",\n alignItems: \"center\",\n justifyContent: \"space-between\",\n width: \"100%\",\n }),\n text: css({\n marginLeft: space[8],\n font: text.body.bold.large,\n }),\n};\nexport default SampleProjectTourResume;\n","import React, { useState } from \"react\";\nimport { useAnalyticActionDispatch, useAnalyticTrackedActionDispatch } from \"~/analytics/Analytics\";\nimport { CustomDialog } from \"~/components/Dialog/CustomDialog\";\nimport { CreateEnvironmentsPage } from \"~/components/ProjectBasedActivation/CreateEnvironmentsDialog\";\nexport const NewlyCreatedProjectWizardDialog: React.FC<{\n spaceId: string;\n open: boolean;\n close: () => void;\n showCreateEnvironments: boolean;\n}> = ({ spaceId, open, close, showCreateEnvironments }) => {\n const [page, setPage] = useState(0);\n const trackAction = useAnalyticTrackedActionDispatch();\n const dispatchAction = useAnalyticActionDispatch();\n const nextPage = () => {\n const hasNextPage = page + 1 < pages.length;\n if (hasNextPage) {\n setPage(page + 1);\n }\n else {\n close();\n }\n };\n const pages: JSX.Element[] = [];\n if (showCreateEnvironments)\n pages.push( { }}/>);\n if (!pages.length)\n return null;\n return pages[page]}/>;\n};\nNewlyCreatedProjectWizardDialog.displayName = \"NewlyCreatedProjectWizardDialog\"\n","import type { ProjectStatusResponse } from \"@octopusdeploy/octopus-server-client\";\nimport { repository } from \"~/clientInstance\";\nimport { RefreshLoop } from \"~/utils/RefreshLoop/refresh-loop\";\nclass OnboardingLoader {\n private static subscriberId: number = 0;\n private readonly projectId: string;\n private readonly spaceId: string;\n constructor(projectId: string, spaceId: string) {\n this.projectId = projectId;\n this.spaceId = spaceId;\n }\n private subscribers: {\n [subscriberId: string]: (status: ProjectStatusResponse) => void;\n } = {};\n private readonly loop = new RefreshLoop(async (isLoopStillRunning) => {\n try {\n const status = await this.loadData();\n if (status.SpaceHasSuccessfulDeployments && isLoopStillRunning()) {\n this.loop.stop();\n this.triggerSubscribers(status); // Trigger subscribers one last time so they can refresh if necessary.\n }\n else {\n this.triggerSubscribers(status);\n }\n }\n catch (_) {\n // A failing onboarding api call should not crash the portal.\n }\n }, (hidden) => (hidden ? 60000 : 2000));\n subscribe = (callback: (status: ProjectStatusResponse) => void): (() => void) => {\n const subscriberId = ++OnboardingLoader.subscriberId;\n this.subscribers[subscriberId] = callback;\n if (Object.getOwnPropertyNames(this.subscribers).length === 1) {\n this.loop.start();\n }\n return () => {\n this.unsubscribe(subscriberId);\n };\n };\n private unsubscribe = (subscriberId: number) => {\n delete this.subscribers[subscriberId];\n if (Object.getOwnPropertyNames(this.subscribers).length === 0) {\n this.loop.stop();\n }\n };\n public loadData = async () => {\n const data = await repository.Projects.getProjectStatus(this.projectId, this.spaceId);\n return data;\n };\n private triggerSubscribers = (projectStatus: ProjectStatusResponse) => {\n const subscriberIds = Object.getOwnPropertyNames(this.subscribers);\n subscriberIds.forEach((s, _, subscribers) => {\n try {\n this.subscribers[s](projectStatus);\n }\n catch (ex) {\n //Ignore on purpose\n }\n }, this);\n };\n}\nexport default OnboardingLoader;\n","import { css } from \"@emotion/css\";\nimport { ActionButton, ActionButtonType } from \"@octopusdeploy/design-system-components\";\nimport { borderRadius, fontSize, fontWeight, space, themeTokens } from \"@octopusdeploy/design-system-tokens\";\nimport { useInlineStatusQuery } from \"@octopusdeploy/octopus-react-client\";\nimport cn from \"classnames\";\nimport * as React from \"react\";\nimport { useEffect, useState } from \"react\";\nimport { useAnalyticFirstDeploymentFeedbackDispatch } from \"~/analytics/Analytics\";\nimport { CustomDialog } from \"~/components/Dialog/CustomDialog\";\nimport CustomDialogContent from \"~/components/DialogLayout/Custom/CustomDialogContent\";\nimport { CustomDialogActions, FrameWrapper } from \"~/components/DialogLayout/Custom/index\";\nimport ExternalLink from \"~/components/Navigation/ExternalLink/index\";\nimport { ThumbsDownIcon, ThumbsUpIcon } from \"../../../../../packages/design-system-icons/src\";\nimport { isFeatureToggleEnabled } from \"../FeatureToggle/New/FeatureToggleContext\";\nimport successfulDeploymentImage from \"./assets/img-successfuldeployment.svg\";\nimport styles from \"./styles.module.less\";\ninterface SuccessfulDeploymentDialogProps {\n open: boolean;\n close: () => void;\n}\nconst ExternalLinkIcon: JSX.Element = ;\nconst SuccessfulDeploymentDialog = ({ open, close }: SuccessfulDeploymentDialogProps) => {\n const [showDialog, setShowDialog] = useState(false);\n const [showSurvey, setShowSurvey] = useState(false);\n const [positiveFeedback, setPositiveFeedback] = useState(null);\n const [surveyClicked, setSurveyClicked] = useState(false);\n const isFirstDeploymentFeedbackFeatureEnabled = isFeatureToggleEnabled(\"FirstDeploymentFeedbackFeatureToggle\");\n const dispatchAction = useAnalyticFirstDeploymentFeedbackDispatch();\n const { result: userOnboarding } = useInlineStatusQuery(async (repo) => repo.UserOnboarding.getForCurrentUser(), [], \"Get User Onboarding\");\n useEffect(() => {\n // Always close dialog immediately\n if (!open) {\n setShowDialog(false);\n return;\n }\n // Delay opening dialog,\n // to avoid showing it before the deployment screen indicates success\n setTimeout(() => setShowDialog(true), 3000);\n }, [open]);\n const onFeedbackButtonClicked = (positiveFeedback: boolean) => {\n setShowSurvey(true);\n setPositiveFeedback(positiveFeedback);\n };\n const onSurveyButtonClicked = () => {\n setSurveyClicked(true);\n };\n const onCloseDialog = () => {\n if (isFirstDeploymentFeedbackFeatureEnabled && userOnboarding?.UserOnboardingResource?.IsTrialInstance) {\n dispatchAction(\"First Deployment Experience\", { experience: positiveFeedback ? \"fantastic\" : \"notGreat\", surveyClicked });\n }\n close();\n };\n const showFirstDeploymentSurvey = () => (<>\n

    If you have a minute, tell us about your deployment experience and we'll mail you a pack of laptop stickers as a thank you.

    \n

    Happy deployments!

    \n \n \n \n );\n const showFirstDeploymentFeedback = () => (<>\n {!showSurvey ? (
    \n
    How is Octopus going?
    \n
    \n onFeedbackButtonClicked(true)} icon={} iconPosition=\"left\"/>\n onFeedbackButtonClicked(false)} icon={} iconPosition=\"left\"/>\n
    \n
    ) : (
    \n
    Thanks for your feedback 💙
    \n
    If you have a moment, tell us about your trial experience, and we’ll send you a $25 voucher for the Octopus merch shop.
    \n
    \n \n \n \n
    \n
    )}\n );\n return ( (\n
    \n
    \n

    Congratulations

    \n \n

    You completed your first successful deployment!

    \n {isFirstDeploymentFeedbackFeatureEnabled && userOnboarding?.UserOnboardingResource?.IsTrialInstance ? showFirstDeploymentFeedback() : showFirstDeploymentSurvey()}\n
    \n }/>\n
    \n\n {\"Successful\n
    \n
    )}/>);\n};\nexport default SuccessfulDeploymentDialog;\nconst dialogStyles = {\n feedbackContainer: css({\n backgroundColor: themeTokens.color.callout.background.info.default,\n padding: space[16],\n fontSize: fontSize[\"medium\"],\n borderRadius: borderRadius.small,\n width: \"386px\",\n \"& .title\": {\n fontWeight: fontWeight[\"700\"],\n marginBottom: space[12],\n \"&.center\": {\n textAlign: \"center\",\n },\n },\n \"& .actions\": {\n display: \"flex\",\n gap: space[12],\n marginTop: space[12],\n \"&.center\": {\n justifyContent: \"center\",\n },\n },\n }),\n};\n","import * as React from \"react\";\nimport { useEffect, useMemo, useState } from \"react\";\nimport { useProjectContext } from \"~/areas/projects/context/index\";\nimport OnboardingLoader from \"~/components/GettingStarted/onboardingLoader\";\nimport SuccessfulDeploymentDialog from \"~/components/ProjectBasedActivation/SuccessfulDeploymentDialog\";\nexport function GettingStartedFooter() {\n const { state: projectState } = useProjectContext();\n const loader = useMemo(() => new OnboardingLoader(projectState.model.Id, projectState.model.SpaceId), [projectState.model.Id, projectState.model.SpaceId]);\n const [showDialog, setShowDialog] = useState(false);\n const [hasBeenSuccessfullyDeployed, setHasBeenSuccessfullyDeployed] = useState(undefined);\n const [spaceHasSuccessfulDeployments, setSpaceHasSuccessfulDeployments] = useState(undefined);\n useEffect(() => {\n const unsubscribe = loader.subscribe((status) => {\n if (hasBeenSuccessfullyDeployed === false && spaceHasSuccessfulDeployments === false && status.HasBeenSuccessfullyDeployed === true) {\n setShowDialog(true);\n }\n setHasBeenSuccessfullyDeployed(status.HasBeenSuccessfullyDeployed);\n setSpaceHasSuccessfulDeployments(status.SpaceHasSuccessfulDeployments);\n });\n return unsubscribe;\n }, [loader, hasBeenSuccessfullyDeployed, spaceHasSuccessfulDeployments]);\n const dismissDialog = () => {\n setShowDialog(false);\n };\n return ;\n}\n","import { css } from \"@emotion/css\";\nimport { ActionButton, ActionButtonType } from \"@octopusdeploy/design-system-components\";\nimport { HandWaveIcon } from \"@octopusdeploy/design-system-icons\";\nimport { fontSize, fontWeight, lineHeight, space } from \"@octopusdeploy/design-system-tokens\";\nimport * as React from \"react\";\nimport Dialog from \"~/components/Dialog/Dialog\";\nimport { KubernetesStep } from \"./AddProject\";\ninterface WelcomeToProjectDialogProps {\n isOpen: boolean;\n isVersionControlled: boolean;\n selectedStep: string | null | undefined;\n close(): void;\n}\nexport function WelcomeToProjectDialog(props: WelcomeToProjectDialogProps) {\n const renderContent = () => {\n if (props.isVersionControlled) {\n return (<>\n
    It’s time to configure version control.
    \n These parts of your project can be version-controlled:\n
      \n
    • Deployment process
    • \n
    • Deployment settings
    • \n
    • Non-sensitive variables
    • \n
    • Runbooks
    • \n
    \n );\n }\n if (!props.selectedStep) {\n return
    It’s time to create your deployment process. Define how to deploy your software by adding steps to your deployment process.
    ;\n }\n return (<>\n
    It’s time to create your deployment process – the recipe for deploying your software.
    \n
    To help you get started, we added a step to your deployment process where you will define how to deploy {getStepName(props.selectedStep)}.
    \n );\n };\n const getStepName = (selectedStep: string) => {\n switch (selectedStep) {\n case KubernetesStep.Kustomize:\n return \"with Kustomize\";\n case KubernetesStep.Helm:\n return \"your Helm chart\";\n default:\n return \"your YAML\";\n }\n };\n return (\n
    \n
    \n \n
    Welcome to your project
    \n
    \n
    {renderContent()}
    \n
    \n \n
    \n
    \n
    );\n}\nconst styles = {\n container: css({\n padding: space[32],\n }),\n header: css({\n fontSize: fontSize[\"xLarge\"],\n fontWeight: fontWeight[\"700\"],\n lineHeight: lineHeight[\"large\"],\n display: \"flex\",\n marginBottom: space[16],\n \"& svg\": {\n width: \"32px\",\n height: \"32px\",\n marginRight: space[8],\n },\n }),\n content: css({\n marginBottom: space[24],\n lineHeight: lineHeight[\"small\"],\n \"& div\": {\n marginBottom: space[24],\n },\n \"& ul\": {\n margin: 0,\n paddingLeft: space[24],\n listStyleType: \"disc\",\n lineHeight: lineHeight[\"small\"],\n },\n }),\n};\n","import { css } from \"@emotion/css\";\nimport { CoffeeSpiltIllustration, QuestionIllustration } from \"@octopusdeploy/design-system-components\";\nimport { borderRadius, space, text, themeTokens } from \"@octopusdeploy/design-system-tokens\";\nimport type { ValidateGitRefV2Response } from \"@octopusdeploy/octopus-server-client\";\nimport { ValidateGitRefV2ResponseType } from \"@octopusdeploy/octopus-server-client\";\nimport { links } from \"@octopusdeploy/portal-routes\";\nimport React from \"react\";\nimport InternalLink from \"~/components/Navigation/InternalLink\";\nimport { BranchSelector } from \"../BranchSelector/BranchSelector\";\ninterface VcsErrorPageProps {\n spaceId: string;\n error: ValidateGitRefV2Response;\n projectSlug: string;\n}\nexport function VcsErrorPage({ spaceId, error, projectSlug }: VcsErrorPageProps) {\n const errorIllustration = getErrorIllustration(error);\n const errorTitle = getErrorTitle(error);\n const errorMessage = getErrorMessage(error);\n const errorInfoText = getErrorInfoText(error, projectSlug, spaceId);\n const showBranchSelector = error.Type !== ValidateGitRefV2ResponseType.ConnectionFailed;\n // This component is rendered in ProjectLayout as a section although it is named as a \"page\".\n // We should treat this component as an error page with proper route registration, so that PageLayout can be applied appropriately, and redirect can be used accordingly.\n // Frontend Foundation team is discussing the next step, because the error state here, it is not trivial to use redirect with our current routing infrastructure.\n return (
    \n {errorIllustration}\n

    {errorTitle}

    \n

    \n {errorMessage}\n
    \n {errorInfoText}\n

    \n {showBranchSelector && (
    \n \n
    )}\n
    );\n}\nfunction getErrorIllustration(error: ValidateGitRefV2Response) {\n switch (error.Type) {\n case ValidateGitRefV2ResponseType.ConnectionFailed:\n return ;\n default:\n return ;\n }\n}\nfunction getErrorTitle(error: ValidateGitRefV2Response) {\n switch (error.Type) {\n case ValidateGitRefV2ResponseType.GitRefNotFound:\n return \"Could not load the selected git ref\";\n default:\n return \"Could not access version control\";\n }\n}\nfunction getErrorMessage(error: ValidateGitRefV2Response) {\n switch (error.Type) {\n case ValidateGitRefV2ResponseType.ConnectionFailed:\n return \"We're unable to establish a connection to the git instance.\";\n default:\n return `${error.Message}.`;\n }\n}\nfunction getErrorInfoText(error: ValidateGitRefV2Response, projectSlug: string, spaceId: string) {\n switch (error.Type) {\n case ValidateGitRefV2ResponseType.ConnectionFailed:\n return (<>\n This could be due to an outage or check your Version Control Settings.\n );\n default:\n return (<>\n Try selecting a different branch below.\n );\n }\n}\nconst containerStyles = css({\n display: \"flex\",\n flexDirection: \"column\",\n padding: `${space[32]} ${space[32]} ${space[80]}`,\n gap: space[16],\n alignItems: \"center\",\n border: `1px solid ${themeTokens.color.border.primary}`,\n borderRadius: borderRadius.small,\n});\nconst headerStyles = css({\n margin: 0,\n font: text.heading.large,\n});\nconst paragraphStyles = css({\n margin: 0,\n font: text.body.regular.large,\n textAlign: \"center\",\n});\nconst infoTextStyles = css({\n color: themeTokens.color.text.info,\n});\n","import { Level2OuterPageLayout, useIsLargerThanIpadResolution, useSetInPageNavVisible } from \"@octopusdeploy/design-system-components\";\nimport { CodeBranchIcon } from \"@octopusdeploy/design-system-icons\";\nimport { themeTokens } from \"@octopusdeploy/design-system-tokens\";\nimport type { BranchSpecifier, GetFavouriteProjectsForUserBffResponse, ProjectGroupResource, ProjectIntentsResource, ProjectResource, ValidateGitRefV2Response } from \"@octopusdeploy/octopus-server-client\";\nimport { Permission, UseDefaultBranch, ValidateGitRefV2ResponseType } from \"@octopusdeploy/octopus-server-client\";\nimport { links } from \"@octopusdeploy/portal-routes\";\nimport type { ReactNode } from \"react\";\nimport * as React from \"react\";\nimport { ProjectLinks } from \"~/areas/projects/components/ProjectLayout/ProjectLinks\";\nimport { ResilientPipelineCallouts } from \"~/areas/projects/components/ProjectLayout/ResilientPipelineCallouts\";\nimport SampleProjectTour from \"~/areas/projects/components/ProjectLayout/SampleProjectTour/SampleProjectTour\";\nimport SampleProjectTourResume from \"~/areas/projects/components/ProjectLayout/SampleProjectTour/SampleProjectTourResume\";\nimport { NewlyCreatedProjectWizardDialog } from \"~/areas/projects/components/Projects/OnboardingQuestionnaire/NewlyCreatedProjectWizardDialog\";\nimport { useIsPageVersionControlled } from \"~/areas/projects/context/useIsPageVersionControlled\";\nimport { repository } from \"~/clientInstance\";\nimport Chip from \"~/components/Chips/Chip\";\nimport type { DataBaseComponentState } from \"~/components/DataBaseComponent/DataBaseComponent\";\nimport { DataBaseComponent } from \"~/components/DataBaseComponent/DataBaseComponent\";\nimport ErrorContextProvider from \"~/components/ErrorContext/ErrorContext\";\nimport ErrorPanel from \"~/components/ErrorPanel/ErrorPanel\";\nimport FeatureToggleVisibility from \"~/components/FeatureToggle/New/FeatureToggleVisibility\";\nimport { GettingStartedFooter } from \"~/components/GettingStarted/GettingStartedFooter\";\nimport Markdown from \"~/components/Markdown\";\nimport { hasPermission, isAllowed } from \"~/components/PermissionCheck/PermissionCheck\";\nimport NewProjectWizard from \"~/components/ProjectBasedActivation/NewProjectWizard\";\nimport { SkeletonLoadingLayout } from \"~/components/SkeletonLoadingLayout/SkeletonLoadingLayout\";\nimport { useCreatePageSideNavLink } from \"~/hooks/useCreatePageSideNavLink\";\nimport type { CreatePageSideNavLink } from \"~/hooks/useCreatePageSideNavLink\";\nimport { useOctopusFeatureToggle } from \"~/hooks/useOctopusFeatureToggle\";\nimport type { ProjectContextProps } from \"../../context\";\nimport { ProjectContextProvider } from \"../../context\";\nimport { useEphemeralEnvironmentsEnabled } from \"../EphemeralEnvironments/useEphemeralEnvironmentsEnabled\";\nimport { ProjectStatusBar } from \"../ProjectStatus/ProjectStatusBar\";\nimport { projectStatusActions } from \"../ProjectStatus/actions\";\nimport type { ProjectStatus } from \"../ProjectStatus/useProjectStatus\";\nimport { WelcomeToProjectDialog } from \"../Projects/WelcomeToProjectDialog\";\nimport { VcsErrorPage } from \"../VersionControl/VcsErrorPage\";\nimport { OptimisticProjectFavouriteIconButton } from \"./ProjectFavouriteIconButton\";\nexport interface ProjectLayoutProps {\n spaceId: string;\n projectSlug: string;\n branchName: string | undefined;\n isNewlyCreatedProject?: string | null;\n configureProject?: boolean | null;\n defaultActionType?: string | null | undefined;\n children: (params: {\n projectContext: ProjectContextProps;\n setShowK8sStatusItem: SetRequiresKubernetesTarget;\n projectStatus?: ProjectStatus;\n scrollAreaRef?: React.RefObject;\n }) => ReactNode;\n scrollAreaRef?: React.RefObject;\n projectStatus?: ProjectStatus;\n}\nexport function ProjectLayout({ spaceId, projectSlug, isNewlyCreatedProject, configureProject, branchName, children, defaultActionType, scrollAreaRef, projectStatus }: ProjectLayoutProps) {\n const isPageVersionControlled = useIsPageVersionControlled();\n const isKGSFeatureEnabled = useOctopusFeatureToggle(\"kubernetes-guided-setup\", false);\n const isKGSNthProjectFeatureEnabled = useOctopusFeatureToggle(\"kubernetes-guided-setup-nth-project\", false);\n const isEphemeralEnvironmentsEnabled = useEphemeralEnvironmentsEnabled();\n const createPageSideNavLink = useCreatePageSideNavLink();\n return (\n \n {children}\n \n );\n}\ntype ProjectLayoutInternalProps = {\n spaceId: string;\n projectSlug: string;\n branchName: string | undefined;\n isNewlyCreatedProject: string | null | undefined;\n configureProject: boolean | null | undefined;\n isPageVersionControlled: boolean;\n isKGSEnabled: boolean;\n isKGSNthProjectEnabled: boolean;\n isEphemeralEnvironmentsEnabled: boolean;\n defaultActionType?: string | null | undefined;\n scrollAreaRef?: React.RefObject;\n projectStatus?: ProjectStatus;\n createPageSideNavLink: CreatePageSideNavLink;\n children: (params: {\n projectContext: ProjectContextProps;\n setShowK8sStatusItem: SetRequiresKubernetesTarget;\n projectStatus?: ProjectStatus;\n scrollAreaRef?: React.RefObject;\n }) => ReactNode;\n};\ninterface ProjectLayoutState extends DataBaseComponentState {\n projectGroups: ProjectGroupResource[] | null;\n hasEnvironments: boolean | null;\n newlyCreatedDialogOpen: boolean;\n configureProject: boolean;\n isFavourite: boolean | null;\n projectIntents: ProjectIntentsResource | null;\n defaultActionType: string | null | undefined;\n showTargetStatusItemBeforeProcess: boolean;\n configureProjectWizardOpen: boolean;\n resumingEnvironments: boolean;\n}\nexport type SetRequiresKubernetesTarget = (showTargetStatusItemBeforeProcess: boolean) => void;\nclass ProjectLayoutInternal extends DataBaseComponent {\n constructor(props: ProjectLayoutInternalProps) {\n super(props);\n this.state = {\n projectGroups: null,\n hasEnvironments: null,\n newlyCreatedDialogOpen: props.isNewlyCreatedProject === \"true\",\n configureProject: !!props.configureProject,\n isFavourite: null,\n projectIntents: null,\n defaultActionType: props.defaultActionType,\n showTargetStatusItemBeforeProcess: false,\n configureProjectWizardOpen: false,\n resumingEnvironments: false,\n };\n }\n async componentDidMount() {\n await this.doBusyTask(async () => {\n const projectGroups = repository.ProjectGroups.all();\n const hasEnvironments = await repository.Environments.list({ take: 0 }).then((response) => response.TotalResults !== 0);\n const favouriteProjects = hasPermission(Permission.ProjectView) ? repository.Users.getProjectFavourites() : Promise.resolve({ Projects: [] });\n const projectIntents = await repository.Projects.getProjectIntents(this.props.projectSlug, this.props.spaceId);\n this.setState({\n projectGroups: await projectGroups,\n hasEnvironments: hasEnvironments,\n isFavourite: (await favouriteProjects).Projects.some((p) => p.Slug === this.props.projectSlug),\n projectIntents: await projectIntents,\n configureProjectWizardOpen: !this.props.isNewlyCreatedProject && !hasEnvironments,\n });\n });\n }\n toBranchSpecifier(branch: string | undefined): BranchSpecifier {\n return branch ? branch : UseDefaultBranch;\n }\n render() {\n const projectSlug = this.props.projectSlug;\n const branchName = this.props.branchName;\n const branchSpecifier = this.toBranchSpecifier(branchName);\n const setShowK8sStatusItem: SetRequiresKubernetesTarget = (showTargetStatusItemBeforeProcess: boolean) => {\n this.setState({ showTargetStatusItemBeforeProcess });\n };\n return (\n {(projectContext) => {\n const { state } = projectContext;\n const projectLogo = state.model && state.model.Links.Logo;\n if (!state.model) {\n return (
    \n \n \n
    );\n }\n const navigationSidebarContent = state.model.IsVersionControlled && this.props.isPageVersionControlled && state.gitRefValidationError\n ? this.getGitErrorPanel(state.gitRefValidationError)\n : this.props.children({\n projectContext,\n setShowK8sStatusItem,\n projectStatus: this.props.projectStatus,\n scrollAreaRef: this.props.scrollAreaRef,\n });\n const projectSettingsURL = links.projectSettingsPage.generateUrl({ spaceId: this.props.spaceId, projectSlug: this.props.projectSlug });\n return (
    \n \n {this.shouldShowConfigurationDialog() ? this.renderConfigureProjectDialog(state.model) : this.renderWelcomeToProjectDialog()}\n {this.renderErrors()}\n {\n this.setState({\n configureProjectWizardOpen: true,\n resumingEnvironments: true,\n });\n this.renderConfigureProjectDialog(state.model);\n }}/>),\n titleIcon: (),\n }} callout={} tourProgress={} description={}>\n {navigationSidebarContent}\n \n }>\n <>\n \n \n
    );\n }}\n
    );\n }\n private getGitErrorPanel(error: ValidateGitRefV2Response) {\n return ;\n }\n renderErrors() {\n const errors = this.state && this.errors;\n if (!errors) {\n return null;\n }\n return ;\n }\n private renderConfigureProjectDialog(project: ProjectResource) {\n if (!this.props.isKGSEnabled || !this.props.isKGSNthProjectEnabled) {\n return ( this.setState({ newlyCreatedDialogOpen: false, configureProject: false })} showCreateEnvironments={this.shouldShowCreateEnvironments()} spaceId={this.props.spaceId}/>);\n }\n if (!this.props.projectStatus?.state.guidedSetupResumed && this.state.configureProjectWizardOpen) {\n this.props.projectStatus?.dispatch({ type: projectStatusActions.guidedSetupResumed });\n }\n return ( this.setState({ configureProjectWizardOpen: false })} skipWizardNavigation={true} projectStatus={this.props.projectStatus} resumingPage={this.state.resumingEnvironments ? \"Environments\" : undefined} onResumedPage={() => this.setState({ resumingEnvironments: false })}/>);\n }\n private renderWelcomeToProjectDialog() {\n return ( this.setState({ newlyCreatedDialogOpen: false })}/>);\n }\n private headerBreadcrumbs(project: ProjectResource) {\n const foundProjectGroup = this.state.projectGroups && this.state.projectGroups.find((pg) => pg.Id === project.ProjectGroupId);\n if (foundProjectGroup) {\n return [\n { label: \"Projects\", pageUrl: links.projectsPage.generateUrl({ spaceId: project.SpaceId }) },\n { label: foundProjectGroup.Name, pageUrl: links.projectsPage.generateUrl({ spaceId: project.SpaceId }, { searchValue: foundProjectGroup.Name }) },\n ];\n }\n return [{ label: \"Projects\", pageUrl: links.projectsPage.generateUrl({ spaceId: project.SpaceId }) }];\n }\n private shouldShowCreateEnvironments() {\n const hasEnvironmentCreatePermission = isAllowed({ permission: Permission.EnvironmentCreate });\n return hasEnvironmentCreatePermission && !this.state.hasEnvironments;\n }\n private shouldShowConfigurationDialog() {\n if (!this.props.isKGSEnabled || !this.props.isKGSNthProjectEnabled) {\n return true;\n }\n return !this.state.newlyCreatedDialogOpen && this.shouldShowCreateEnvironments();\n }\n private onIsFavouriteChanged = (projectId: string, isFavourite: boolean) => {\n return this.doBusyTask(async () => {\n if (isFavourite) {\n await repository.Users.createProjectFavourite(projectId);\n }\n else {\n await repository.Users.deleteProjectFavourite(projectId);\n }\n this.setState((state) => ({ ...state, isFavourite }));\n });\n };\n static displayName = \"ProjectLayoutInternal\";\n}\ninterface ProjectPageHeaderTitleIconProps {\n projectId: string;\n projectName: string;\n isDisabled: boolean;\n isVersionControlled: boolean;\n isFavourite: boolean | null;\n onIsFavouriteChanged: (projectId: string, isFavourite: boolean) => Promise;\n}\nfunction ProjectPageHeaderTitleIcon({ projectId, projectName, isDisabled, isVersionControlled, isFavourite, onIsFavouriteChanged }: ProjectPageHeaderTitleIconProps) {\n const isLargerThanIpad = useIsLargerThanIpadResolution();\n const setIsFavourite = (isFavourite: boolean) => onIsFavouriteChanged(projectId, isFavourite);\n return (<>\n {isDisabled && (\n Disabled\n )}\n {isFavourite !== null && }\n {isVersionControlled && isLargerThanIpad ? : undefined}\n );\n}\n/*\nCurrently the routes we have for branch vs non branch based pages co-exist in the same menu.\nThis means that the `ProjectLayout` currently gets unmounted and remounted between these\nroutes. This is especially noticeable for the vertical navigation as we show the area nav\npanel when the in page menu is not visible. This is exactly what happens when we navigate\nbetween a git based page vs a non git based page when vertical navigation is enabled.\nThis workaround provides us with a cheap way to make this transition less jarring until\nwe can find a way to properly refactor the layout to either be mounted higher up in the\ntree OR we consolidate routes in some way (possibly using URL query parameters instead).\n */\nfunction HideAreaNavPanelWorkaround() {\n const setVisible = useSetInPageNavVisible();\n React.useEffect(() => {\n setVisible?.(true);\n return () => setVisible?.(false);\n }, [setVisible]);\n return null;\n}\n","import type { ProjectResource } from \"@octopusdeploy/octopus-server-client\";\nimport { getURISafeGitRef, HasGitPersistenceSettings, toGitBranch } from \"@octopusdeploy/octopus-server-client\";\nimport React from \"react\";\nimport { useLocation, useParams } from \"react-router\";\nimport type { ProjectRouteParams } from \"~/areas/projects/components/ProjectsRoutes/ProjectRouteParams\";\nimport type { WithProjectContextInjectedProps } from \"~/areas/projects/context\";\nimport { useProjectContext } from \"~/areas/projects/context\";\nimport InternalRedirect from \"~/components/Navigation/InternalRedirect\";\nimport type { WithOptionalRunbookContextInjectedProps } from \"../Runbooks/RunbookContext\";\nimport { useOptionalRunbookContext } from \"../Runbooks/RunbookContext\";\ntype BranchAwareRedirectProps = {\n children?: React.ReactNode;\n condition?: (context: ProjectResource) => boolean;\n mustMatch?: string[];\n};\ntype BranchAwareRedirectInternalProps = BranchAwareRedirectProps & WithProjectContextInjectedProps & WithOptionalRunbookContextInjectedProps;\nconst BranchAwareRedirectInternal: React.FC = (props) => {\n const location = useLocation();\n const { projectSlug, branchName } = useParams();\n if (!projectSlug) {\n throw new Error(\"Cannot use a BranchAwareRedirect where a projectslug route parameter does not exist\");\n }\n let redirectTo = undefined;\n if (!branchName) {\n if (HasGitPersistenceSettings(props.projectContext.state.model.PersistenceSettings)) {\n const shouldRedirect = props.condition ? props.condition(props.projectContext.state.model) : true;\n const pageIsIncluded = props.mustMatch ? props.mustMatch.some((s) => location.pathname.match(s)) : true;\n if (shouldRedirect && pageIsIncluded) {\n const gitRef = props.projectContext.state.gitRef?.CanonicalName ?? toGitBranch(props.projectContext.state.model.PersistenceSettings.DefaultBranch);\n if (gitRef === undefined) {\n throw new Error(\"Cannot use BranchAwareRedirect without a GitRef loaded into ProjectContext\");\n }\n const path = location.pathname;\n const projectIdPart = `/projects/${projectSlug}`;\n const insertionIndex = path.indexOf(projectIdPart) + projectIdPart.length;\n const prefix = path.slice(0, insertionIndex);\n const branchPart = `/branches/${getURISafeGitRef(gitRef)}`;\n const suffix = path.slice(insertionIndex);\n const pathWithBranch = [prefix, branchPart, suffix].join(\"\");\n redirectTo = { ...location, pathname: pathWithBranch };\n }\n }\n }\n return redirectTo ? : <>{props.children};\n};\nBranchAwareRedirectInternal.displayName = \"BranchAwareRedirectInternal\"\nexport const BranchAwareRedirect: React.FC = (props) => {\n const projectContext = useProjectContext();\n const runbookContext = useOptionalRunbookContext();\n return ;\n};\nBranchAwareRedirect.displayName = \"BranchAwareRedirect\"\nexport default BranchAwareRedirect;\n","import { links } from \"@octopusdeploy/portal-routes\";\nimport * as React from \"react\";\nimport { useProjectContext } from \"~/areas/projects/context/ProjectContext\";\nimport InternalRedirect from \"~/components/Navigation/InternalRedirect\";\nexport default function ProjectTenantVariablesRedirect() {\n const projectContext = useProjectContext();\n const project = projectContext.state.model;\n return ;\n}\n","import { HasVariablesInGit } from \"@octopusdeploy/octopus-server-client\";\nimport React from \"react\";\nimport { BranchAwareRedirect } from \"./BranchAwareRedirect\";\nexport function VariablesBranchAwareRedirect({ children }: React.PropsWithChildren<{}>) {\n return HasVariablesInGit(project.PersistenceSettings)}>{children};\n}\n","import type { RunbookResource } from \"@octopusdeploy/octopus-server-client\";\nimport { isEqual } from \"lodash\";\nimport * as React from \"react\";\nimport type { DataBaseComponentState } from \"~/components/DataBaseComponent\";\nimport { DataBaseComponent } from \"~/components/DataBaseComponent\";\nimport { SkeletonLoadingLayout } from \"~/components/SkeletonLoadingLayout/SkeletonLoadingLayout\";\nimport type { RunbookContextProps } from \"./RunbookContext\";\nimport { RunbookContextProvider } from \"./RunbookContext\";\n//eslint-disable-next-line @typescript-eslint/no-empty-interface\ninterface RunbookContextLayoutState extends DataBaseComponentState {\n}\ninterface RunbookContextLayoutRouteProps {\n runbookId: string;\n}\ntype RunbookContextPropsWithLoadedRunbook = RunbookContextProps & {\n state: {\n runbook: RunbookResource;\n };\n};\ntype RunbookContextLayoutProps = RunbookContextLayoutRouteProps & {\n children: (context: RunbookContextPropsWithLoadedRunbook) => React.ReactNode;\n};\nclass RunbookContextLayout extends DataBaseComponent {\n shouldComponentUpdate(nextProps: RunbookContextLayoutProps) {\n return !isEqual(nextProps.runbookId, this.props.runbookId);\n }\n render() {\n return (\n {(runbookContext) => {\n if (isRunbookLoadedContext(runbookContext)) {\n return this.props.children(runbookContext);\n }\n return (
    \n \n
    );\n }}\n
    );\n }\n static displayName = \"RunbookContextLayout\";\n}\nfunction isRunbookLoadedContext(props: RunbookContextProps): props is RunbookContextPropsWithLoadedRunbook {\n return !!props.state.runbook;\n}\nexport default RunbookContextLayout;\n","/* eslint-disable @typescript-eslint/no-non-null-assertion */\nimport type { LinkHref } from \"@octopusdeploy/portal-routes\";\nimport { links } from \"@octopusdeploy/portal-routes\";\nimport * as React from \"react\";\nimport type { DataBaseComponentState } from \"~/components/DataBaseComponent\";\nimport { DataBaseComponent } from \"~/components/DataBaseComponent\";\nimport { SkeletonLoadingLayout } from \"~/components/SkeletonLoadingLayout/SkeletonLoadingLayout\";\nimport { repository } from \"../../clientInstance\";\nimport InternalRedirect from \"../../components/Navigation/InternalRedirect/InternalRedirect\";\ninterface RunbookRunToRunbookTaskRedirectProps {\n spaceId: string;\n runbookRunId: string;\n}\ninterface RunbookRunToRunbookTaskRedirectState extends DataBaseComponentState {\n redirectTo: LinkHref;\n}\nexport default class RunbookRunToRunbookTaskRedirect extends DataBaseComponent {\n constructor(props: RunbookRunToRunbookTaskRedirectProps) {\n super(props);\n this.state = {\n redirectTo: null!,\n };\n }\n async componentDidMount() {\n await this.doBusyTask(async () => {\n const runbookRunId = this.props.runbookRunId;\n const runbookRun = await repository.RunbookRuns.get(runbookRunId);\n const runbookSnapshot = await repository.RunbookSnapshots.get(runbookRun.RunbookSnapshotId);\n const path = links.projectRunbookRunDetailPage.generateUrl({\n spaceId: this.props.spaceId,\n projectSlug: runbookSnapshot.ProjectId,\n runbookId: runbookSnapshot.RunbookId,\n runbookRunId: runbookRun.Id,\n runbookSnapshotId: runbookSnapshot.Id,\n });\n this.setState({\n redirectTo: path,\n });\n });\n }\n render() {\n const redirectTo = this.state.redirectTo;\n if (!redirectTo) {\n return (
    \n \n
    );\n }\n return ;\n }\n static displayName = \"RunbookRunToRunbookTaskRedirect\";\n}\n","/* eslint-disable @typescript-eslint/no-non-null-assertion */\nimport { links } from \"@octopusdeploy/portal-routes\";\nimport type { LinkHref } from \"@octopusdeploy/portal-routes\";\nimport * as React from \"react\";\nimport { repository } from \"~/clientInstance\";\nimport type { DataBaseComponentState } from \"~/components/DataBaseComponent\";\nimport { DataBaseComponent } from \"~/components/DataBaseComponent\";\nimport InternalRedirect from \"~/components/Navigation/InternalRedirect\";\nimport { SkeletonLoadingLayout } from \"~/components/SkeletonLoadingLayout/SkeletonLoadingLayout\";\nimport { BuiltInTask } from \"../Task/Task\";\ninterface InterruptionToProjectRedirectState extends DataBaseComponentState {\n redirectTo: LinkHref;\n}\ninterface InterruptionToProjectRedirectProps {\n spaceId?: string;\n interruptionId: string;\n}\nexport class InterruptionToProjectRedirect extends DataBaseComponent {\n constructor(props: InterruptionToProjectRedirectProps) {\n super(props);\n this.state = {\n redirectTo: null!,\n };\n }\n async componentDidMount() {\n await this.doBusyTask(async () => {\n const interruptionId = this.props.interruptionId;\n const interruption = await repository.Interruptions.get(interruptionId);\n const task = await repository.Tasks.get(interruption.TaskId);\n if (task.Name === BuiltInTask.Deploy && task.Arguments.DeploymentId) {\n this.setState({ redirectTo: links.deploymentToProjectTaskRedirect.generateUrl({ spaceId: task.SpaceId!, deploymentId: task.Arguments.DeploymentId }) });\n return;\n }\n if (task.Name === BuiltInTask.RunbookRun && task.Arguments.RunbookRunId) {\n this.setState({ redirectTo: links.runbookRunRedirect.generateUrl({ spaceId: task.SpaceId!, runbookRunId: task.Arguments.RunbookRunId }) });\n return;\n }\n });\n }\n render() {\n const redirectTo = this.state.redirectTo;\n if (!redirectTo) {\n return (
    \n \n
    );\n }\n return ;\n }\n static displayName = \"InterruptionToProjectRedirect\";\n}\n","/* eslint-disable no-eq-null */\nimport { css } from \"@emotion/css\";\nimport { Level2OuterPageLayout } from \"@octopusdeploy/design-system-components\";\nimport { space } from \"@octopusdeploy/design-system-tokens\";\nimport type { TenantMissingVariableResource, TenantResource } from \"@octopusdeploy/octopus-server-client\";\nimport { Permission } from \"@octopusdeploy/octopus-server-client\";\nimport { links } from \"@octopusdeploy/portal-routes\";\nimport { compact } from \"lodash\";\nimport * as React from \"react\";\nimport { useDispatch, useSelector } from \"react-redux\";\nimport { repository } from \"~/clientInstance\";\nimport Markdown from \"~/components/Markdown\";\nimport { SkeletonLoadingLayout } from \"~/components/SkeletonLoadingLayout/SkeletonLoadingLayout\";\nimport type { Errors } from \"../../../components/DataBaseComponent\";\nimport DataLoader from \"../../../components/DataLoader\";\nimport { useCreatePageSideNavLink } from \"../../../hooks/useCreatePageSideNavLink\";\nimport MissingVariablesIcon from \"../MissingVariablesIcon/MissingVariablesIcon\";\nimport { tenantsActions } from \"../tenantsArea\";\nimport type { TenantState } from \"../tenantsArea\";\ninterface TenantLayoutInternalProps {\n spaceId: string;\n tenant: TenantState;\n}\ninterface TenantLayoutLoaderProps {\n tenantId: string;\n spaceId: string;\n}\nconst TenantLoader = DataLoader<{}>();\nconst TenantLayoutLoader: React.FC = (props) => {\n const tenantState = useSelector((s) => s.tenantsArea.currentTenant);\n const dispatch = useDispatch();\n return ( {\n if (tenantState?.id !== props.tenantId) {\n const tenant = await repository.Tenants.get(props.tenantId);\n onTenantFetched(tenant);\n const variables = await repository.Tenants.missingVariables({ tenantId: tenant.Id }, false);\n onTenantVariablesFetched(variables.find((t) => t.TenantId === tenant.Id));\n }\n return {};\n }} operationName=\"TenantLayout\" renderWhenLoaded={(_) => {\n if (tenantState == null || tenantState.id !== props.tenantId) {\n throw new Error(\"Tenant loaded and stored in redux does not exist, or does not match the current route\");\n }\n return (\n {props.children}\n );\n }} renderAlternate={({ errors }) => {\n return ;\n }}/>);\n function onTenantFetched(tenant: TenantResource) {\n dispatch(tenantsActions.tenantFetched(tenant));\n }\n function onTenantVariablesFetched(tenantMissingVariables?: TenantMissingVariableResource) {\n dispatch(tenantsActions.tenantMissingVariablesFetched(tenantMissingVariables));\n }\n};\nTenantLayoutLoader.displayName = \"TenantLayoutLoader\"\ninterface TenantLoadingLayoutProps {\n errors: Errors | undefined;\n}\nconst TenantLoadingLayout: React.FC = ({ errors }) => {\n return (
    \n \n
    );\n};\nTenantLoadingLayout.displayName = \"TenantLoadingLayout\"\nconst TenantLayoutInternal: React.FC = ({ spaceId, tenant, children }) => {\n const createPageSideNavLink = useCreatePageSideNavLink();\n const variableLinkStyles = css({\n display: \"flex\",\n alignItems: \"center\",\n gap: space[4],\n });\n const variableLink = tenant.hasMissingVariables ? (
    \n
    Variables
    \n \n
    ) : (\"Variables\");\n const sidebarLinks = compact([\n createPageSideNavLink(\"Overview\", links.tenantOverviewPage.generateUrl({ spaceId, tenantId: tenant.id })),\n createPageSideNavLink(variableLink, links.tenantVariablesPage.generateUrl({ spaceId, tenantId: tenant.id })),\n createPageSideNavLink(\"Tasks\", links.tenantTasksPage.generateUrl({ spaceId, tenantId: tenant.id }), undefined, {\n permission: Permission.TaskView,\n tenant: tenant.id,\n }),\n createPageSideNavLink(\"Settings\", links.tenantSettingsPage.generateUrl({ spaceId, tenantId: tenant.id })),\n ]);\n const tenantSettingsURL = links.tenantSettingsPage.generateUrl({ spaceId, tenantId: tenant.id });\n return (
    \n : undefined} header={{\n title: tenant.name,\n logoLinkURL: tenantSettingsURL,\n logo: { href: tenant.logoUrl, accessibleName: `${tenant.name} logo}` },\n breadcrumbs: [{ label: \"Tenants\", pageUrl: links.tenantsPage.generateUrl({ spaceId }) }],\n }}>\n {children}\n \n
    );\n};\nTenantLayoutInternal.displayName = \"TenantLayoutInternal\"\nexport default TenantLayoutLoader;\n","import { UserProfileLayout } from \"./UserProfileLayout\";\nexport default UserProfileLayout;\n","/* eslint-disable @typescript-eslint/no-non-null-assertion */\nimport { Level2OuterPageLayout } from \"@octopusdeploy/design-system-components\";\nimport { Permission } from \"@octopusdeploy/octopus-server-client\";\nimport { links } from \"@octopusdeploy/portal-routes\";\nimport { compact } from \"lodash\";\nimport * as React from \"react\";\nimport { useCreatePageSideNavLink } from \"~/hooks/useCreatePageSideNavLink\";\ninterface UserProfileLayoutProps {\n children: React.ReactNode;\n}\nexport function UserProfileLayout({ children }: UserProfileLayoutProps) {\n const createPageSideNavLink = useCreatePageSideNavLink();\n const navLinks = compact([\n createPageSideNavLink(\"My Profile\", links.currentUserDetailsPage.generateUrl()),\n createPageSideNavLink(\"My Logins\", links.currentUserLoginsPage.generateUrl()),\n createPageSideNavLink(\"My API Keys\", links.currentUserApiKeysPage.generateUrl()),\n createPageSideNavLink(\"My Recent Activity\", links.currentUserActivityPage.generateUrl(), null!, { permission: Permission.EventView, wildcard: true }),\n ]);\n return (
    \n \n {children}\n \n
    );\n}\n","import type { IProcessResource, RunbookProcessResource } from \"@octopusdeploy/octopus-server-client\";\nimport { isRunbookProcessResource, ProcessType } from \"@octopusdeploy/octopus-server-client\";\nimport { links } from \"@octopusdeploy/portal-routes\";\nimport * as React from \"react\";\nimport { loadProcess } from \"~/areas/projects/components/Process/Contexts/ProcessContext\";\nimport type { ProcessIdentifier } from \"~/areas/projects/components/Process/types\";\nimport type { ProjectContextState } from \"~/areas/projects/context/index\";\nimport { useProjectContext } from \"~/areas/projects/context/index\";\nimport type { DoBusyTask } from \"~/components/DataBaseComponent/index\";\nimport { DataBaseComponent, useDoBusyTaskEffect } from \"~/components/DataBaseComponent/index\";\nimport InternalRedirect from \"~/components/Navigation/InternalRedirect/index\";\ntype RedirectToProcessEditorViaSlugProps = {\n processType: ProcessType;\n projectSlug: string;\n processId?: string;\n stepSlug?: string;\n};\nconst useLoadProcessEffect = (projectContextState: ProjectContextState, processType: ProcessType, id: string, doBusyTask: DoBusyTask, onLoaded: (process: IProcessResource) => Promise) => {\n return useDoBusyTaskEffect(doBusyTask, async () => {\n const { model, gitRef } = projectContextState;\n if (!id) {\n return;\n }\n const processIdentifier = createProcessIdentifier(processType, model.Id, model.Slug, id, model.SpaceId);\n const result: IProcessResource = await loadProcess(processIdentifier, model.PersistenceSettings, gitRef?.CanonicalName);\n if (onLoaded) {\n await onLoaded(result);\n }\n }, [id, processType, projectContextState.gitRef]);\n};\nconst createProcessIdentifier = (processType: ProcessType, projectId: string, projectSlug: string, id: string, spaceId: string): ProcessIdentifier => {\n switch (processType) {\n case ProcessType.Deployment:\n return { type: ProcessType.Deployment, projectId, projectSlug, id, spaceId };\n case ProcessType.Runbook:\n // Runbook name and ID aren't used to load the process\n return { type: ProcessType.Runbook, projectId, projectSlug, id, spaceId, runbookId: \"\", runbookName: \"\" };\n default:\n throw new Error(\"This redirect only supports deployment and runbook processes\");\n }\n};\nconst RedirectToProcessEditorViaSlug = (props: RedirectToProcessEditorViaSlugProps & {\n doBusyTask: DoBusyTask;\n}) => {\n const projectContext = useProjectContext();\n const [process, setProcess] = React.useState(undefined);\n useLoadProcessEffect(projectContext.state, props.processType, props.processId ?? projectContext.state.model.DeploymentProcessId, props.doBusyTask, async (process) => {\n await setProcess(process);\n });\n if (!process)\n return <>;\n if (props.processType === ProcessType.Deployment) {\n const deploymentProcessLink = links.deploymentProcessPage.generateUrl({ spaceId: projectContext.state.model.SpaceId, projectSlug: props.projectSlug });\n const stepSlug = props.stepSlug;\n if (!stepSlug) {\n return ;\n }\n const step = process.Steps.find((s) => s.Slug === stepSlug);\n const actionId = step?.Actions?.[0].Id;\n if (!actionId) {\n return ;\n }\n return ;\n }\n if (props.processType === ProcessType.Runbook) {\n if (!props.processId || !isRunbookProcessResource(process))\n return <>;\n // eslint-disable-next-line @typescript-eslint/consistent-type-assertions\n const runbookProcess = process as RunbookProcessResource;\n const runbookProcessLink = links.projectRunbookProcessStepsPage.generateUrl({ spaceId: projectContext.state.model.SpaceId, processId: props.processId, projectSlug: props.projectSlug, runbookId: runbookProcess.RunbookId });\n const stepSlug = props.stepSlug;\n if (!stepSlug) {\n return ;\n }\n const step = process.Steps.find((s) => s.Slug === stepSlug);\n const actionId = step?.Actions?.[0].Id;\n if (!actionId) {\n return ;\n }\n const runbookProcessStepLink = links.projectRunbookProcessStepsPage.generateUrl({ spaceId: projectContext.state.model.SpaceId, processId: props.processId, projectSlug: props.projectSlug, runbookId: runbookProcess.RunbookId }, { actionId });\n return ;\n }\n return <>;\n};\nclass RedirectToProcessEditorViaSlugPage extends DataBaseComponent {\n render() {\n return ;\n }\n static displayName = \"RedirectToProcessEditorViaSlugPage\";\n}\nexport default RedirectToProcessEditorViaSlugPage;\n","/* eslint-disable @typescript-eslint/no-non-null-assertion */\n/* eslint-disable @typescript-eslint/no-explicit-any */\nimport { logger } from \"@octopusdeploy/logging\";\nimport * as React from \"react\";\nimport type { ErrorInfo } from \"react\";\nimport * as StackTrace from \"stacktrace-js\";\nimport ErrorPanel from \"~/components/ErrorPanel/ErrorPanel\";\nimport { client } from \"../../clientInstance\";\ntype StackFrame = StackTrace.StackFrame;\ninterface ErrorBoundaryState {\n error?: {\n originalError: Error;\n info: ErrorInfo;\n mappedStackTrace?: string;\n };\n}\ninterface ErrorBoundProps {\n children: any;\n pathname?: string;\n}\nclass ErrorBoundaryInternal extends React.Component {\n constructor(props: ErrorBoundProps) {\n super(props);\n this.state = {};\n }\n async componentDidCatch(error: Error, errorInfo: ErrorInfo) {\n logger.error(error, \"An unexpected error occurred in Octopus Portal\", { errorInfo });\n this.setState({ error: { originalError: error, info: errorInfo } });\n await this.setStackTraceFromOriginalSourceCode(error);\n }\n componentDidUpdate(previousProps: ErrorBoundProps) {\n if (previousProps.pathname !== this.props.pathname) {\n this.setState({ error: undefined });\n }\n }\n render() {\n if (this.state.error) {\n const serverInfo = client.tryGetServerInformation();\n const version = serverInfo ? serverInfo.version : undefined;\n return ;\n }\n return this.props.children;\n }\n private async setStackTraceFromOriginalSourceCode(error: Error) {\n const frames: StackFrame[] = await StackTrace.fromError(error);\n const mappedStackTrace = error.stack?.split(\"\\n\")[0] + \"\\n\\n\" + frames.map(this.stringify).join(\"\\n\");\n this.setState((prevState) => ({\n ...prevState,\n error: { ...prevState.error!, mappedStackTrace },\n }));\n }\n private stringify = (frame: StackFrame) => {\n const normalizedFrame = {\n ...frame,\n fileName: frame.fileName ? this.normalizeFileName(frame.fileName) : undefined,\n };\n return `${normalizedFrame.functionName} (${normalizedFrame.fileName}:${normalizedFrame.lineNumber}:${normalizedFrame.columnNumber})`;\n };\n private normalizeFileName(fileName: string) {\n const index = Math.max(fileName.indexOf(\"/app\"), fileName.indexOf(\"/node_modules\"));\n if (index === -1) {\n return fileName;\n }\n return fileName.substr(index);\n }\n static displayName = \"ErrorBoundaryInternal\";\n}\nexport default ErrorBoundaryInternal;\n","import Default from \"./ErrorBoundary\";\nexport * from \"./ErrorBoundary\";\nexport default Default;\n","import { createContext } from \"react\";\nimport * as React from \"react\";\ninterface ReloadableRouteIgnoreProps {\n doNotReloadWhenTheseKeysChange: string[];\n}\nconst ReloadableRouteIgnoreContext = createContext(null);\nexport const ReloadableRouteConfiguration: React.FC = (props) => {\n return {props.children};\n};\nReloadableRouteConfiguration.displayName = \"ReloadableRouteConfiguration\"\nexport const useReloadableRouteIgnoreKeys = () => {\n const reloadableRouteIgnoreContext = React.useContext(ReloadableRouteIgnoreContext);\n return reloadableRouteIgnoreContext?.doNotReloadWhenTheseKeysChange ?? null;\n};\n","import * as React from \"react\";\nimport type { RouteProps } from \"react-router-dom\";\nimport { Route } from \"react-router-dom\";\nimport ErrorBoundary from \"~/components/ErrorBoundary\";\nimport { ReloadableRouteConfiguration, useReloadableRouteIgnoreKeys } from \"~/components/ReloadableRoute/ReloadableRouteConfiguration\";\nexport type ReloadableRouteProps = RouteProps & {\n computedMatch?: {\n params: Record;\n };\n doNotReloadWhenTheseKeysChange?: string[];\n};\nconst ReloadableRoute: React.FC = ({ doNotReloadWhenTheseKeysChange, ...otherProps }) => {\n // We are tagging the parent route of each component with a key made out of params it depends\n // on so redirects to the same component with different params unmount it and mount it again.\n // This can also be done by responding to changes in props but this is a lot of work to do it\n // correctly and it is very easy to forget about it.\n // Details: https://github.com/ReactTraining/react-router/issues/1982\n const ignoreKeysFromContext = useReloadableRouteIgnoreKeys();\n const ignoreKeys = doNotReloadWhenTheseKeysChange ?? ignoreKeysFromContext ?? [];\n const key = otherProps.computedMatch?.params ? getComponentKey(otherProps.computedMatch.params, ignoreKeys) : \"\";\n return (\n {doNotReloadWhenTheseKeysChange === undefined ? renderRoute() : {renderRoute()}}\n );\n function renderRoute() {\n return ;\n }\n};\nReloadableRoute.displayName = \"ReloadableRoute\"\nexport function getComponentKey(params: Record, ignoreTheseKeys: string[]) {\n const keyValues = Object.keys(params)\n .filter((key) => !ignoreTheseKeys.includes(key))\n .map((key) => params[key]);\n return keyValues.filter((x) => x).join(\"/\");\n}\nexport default ReloadableRoute;\n","/* eslint-disable @typescript-eslint/no-non-null-assertion */\nimport type { Repository } from \"@octopusdeploy/octopus-server-client\";\nimport type { LinkHref } from \"@octopusdeploy/portal-routes\";\nimport { links } from \"@octopusdeploy/portal-routes\";\nimport * as React from \"react\";\nimport type { DataBaseComponentState } from \"~/components/DataBaseComponent/index\";\nimport { DataBaseComponent } from \"~/components/DataBaseComponent/index\";\nimport { repository } from \"../../clientInstance\";\nimport InternalRedirect from \"../Navigation/InternalRedirect/InternalRedirect\";\nimport { SkeletonLoadingLayout } from \"../SkeletonLoadingLayout/SkeletonLoadingLayout\";\ninterface ProjectChildRedirectState extends DataBaseComponentState {\n redirectTo: LinkHref;\n}\ninterface ProjectChildRedirectProps {\n spaceId: string;\n getProjectId: (repository: Repository) => Promise;\n getRedirectPath: (projectId: string) => LinkHref;\n}\nclass ProjectChildRedirect extends DataBaseComponent {\n constructor(props: ProjectChildRedirectProps) {\n super(props);\n this.state = {\n redirectTo: null!,\n };\n }\n async componentDidMount() {\n await this.doBusyTask(async () => {\n const projectId = await this.props.getProjectId(repository);\n const redirectTo = this.props.getRedirectPath(projectId);\n this.setState({\n redirectTo,\n });\n });\n }\n render() {\n const redirectTo = this.state.redirectTo;\n if (!redirectTo) {\n return (
    \n \n
    );\n }\n return ;\n }\n static displayName = \"ProjectChildRedirect\";\n}\nexport const ReleaseRedirect: React.FC<{\n spaceId: string;\n releaseId: string;\n}> = (props) => {\n return ( (await r.Releases.get(props.releaseId)).ProjectId} getRedirectPath={(projectId: string) => links.releasePage.generateUrl({ spaceId: props.spaceId, projectSlug: projectId, releaseVersion: props.releaseId })}/>);\n};\nReleaseRedirect.displayName = \"ReleaseRedirect\"\nexport const ChannelRedirect: React.FC<{\n spaceId: string;\n channelId: string;\n}> = (props) => {\n return ( (await r.Channels.get(props.channelId)).ProjectId} getRedirectPath={(projectId: string) => links.editChannelPage.generateUrl({ spaceId: props.spaceId, projectSlug: projectId, channelId: props.channelId })}/>);\n};\nChannelRedirect.displayName = \"ChannelRedirect\"\nexport const RunbookRedirect: React.FC<{\n spaceId: string;\n runbookId: string;\n}> = (props) => {\n return ( (await r.Runbooks.get(props.runbookId)).ProjectId} getRedirectPath={(projectId: string) => links.runbookRootRedirect.generateUrl({ spaceId: props.spaceId, projectSlug: projectId, runbookId: props.runbookId })}/>);\n};\nRunbookRedirect.displayName = \"RunbookRedirect\"\n","/* eslint-disable @typescript-eslint/no-non-null-assertion */\nimport type { Repository, RunbookSnapshotResource } from \"@octopusdeploy/octopus-server-client\";\nimport type { LinkHref } from \"@octopusdeploy/portal-routes\";\nimport { links } from \"@octopusdeploy/portal-routes\";\nimport * as React from \"react\";\nimport type { DataBaseComponentState } from \"~/components/DataBaseComponent/index\";\nimport { DataBaseComponent } from \"~/components/DataBaseComponent/index\";\nimport { repository } from \"../../clientInstance\";\nimport InternalRedirect from \"../Navigation/InternalRedirect/InternalRedirect\";\nimport { SkeletonLoadingLayout } from \"../SkeletonLoadingLayout/SkeletonLoadingLayout\";\ninterface ProjectRunbookChildRedirectState extends DataBaseComponentState {\n redirectTo: LinkHref;\n}\ninterface ProjectRunbookChildRedirectProps {\n spaceId: string;\n getRunbookSnapshot: (repository: Repository) => Promise;\n getRedirectPath: (projectId: string, runbookId: string) => LinkHref;\n}\nclass ProjectRunbookChildRedirect extends DataBaseComponent {\n constructor(props: ProjectRunbookChildRedirectProps) {\n super(props);\n this.state = {\n redirectTo: null!,\n };\n }\n async componentDidMount() {\n await this.doBusyTask(async () => {\n const runbookSnapshot = await this.props.getRunbookSnapshot(repository);\n const redirectTo = this.props.getRedirectPath(runbookSnapshot.ProjectId, runbookSnapshot.RunbookId);\n this.setState({\n redirectTo,\n });\n });\n }\n render() {\n const redirectTo = this.state.redirectTo;\n if (!redirectTo) {\n return (
    \n \n
    );\n }\n return ;\n }\n static displayName = \"ProjectRunbookChildRedirect\";\n}\nexport const RunbookSnapshotRedirect: React.SFC<{\n spaceId: string;\n runbookSnapshotId: string;\n}> = (props) => {\n return ( r.RunbookSnapshots.get(props.runbookSnapshotId)} getRedirectPath={(projectId: string, runbookId: string) => links.projectRunbookSnapshotInfoPage.generateUrl({ spaceId: props.spaceId, projectSlug: projectId, runbookId, runbookSnapshotId: props.runbookSnapshotId })}/>);\n};\nRunbookSnapshotRedirect.displayName = \"RunbookSnapshotRedirect\"\n","import type { TriggerResource } from \"@octopusdeploy/octopus-server-client\";\nimport { TriggerActionType } from \"@octopusdeploy/octopus-server-client\";\nimport type { LinkHref } from \"@octopusdeploy/portal-routes\";\nimport { links } from \"@octopusdeploy/portal-routes\";\nimport * as React from \"react\";\nimport { repository } from \"~/clientInstance\";\nimport type { DataBaseComponentState } from \"~/components/DataBaseComponent/index\";\nimport { DataBaseComponent } from \"~/components/DataBaseComponent/index\";\nimport InternalRedirect from \"~/components/Navigation/InternalRedirect/InternalRedirect\";\nimport { SkeletonLoadingLayout } from \"../SkeletonLoadingLayout/SkeletonLoadingLayout\";\ninterface ProjectTriggerRedirectState extends DataBaseComponentState {\n redirectTo: LinkHref;\n}\ninterface ProjectTriggerRedirectProps {\n spaceId: string;\n triggerId: string;\n}\nexport class ProjectTriggerRedirect extends DataBaseComponent {\n constructor(props: ProjectTriggerRedirectProps) {\n super(props);\n this.state = {\n redirectTo: \"\",\n };\n }\n async componentDidMount() {\n await this.doBusyTask(async () => {\n const projectTrigger = await repository.ProjectTriggers.get(this.props.triggerId);\n const redirectTo = this.getRedirectTo(projectTrigger);\n this.setState({\n redirectTo,\n });\n });\n }\n getRedirectTo(projectTrigger: TriggerResource) {\n const projectId = projectTrigger.ProjectId;\n switch (projectTrigger.Action.ActionType) {\n case TriggerActionType.AutoDeploy:\n return links.editDeploymentTriggerPage.generateUrl({ spaceId: projectTrigger.SpaceId, projectSlug: projectId, triggerId: projectTrigger.Id });\n case TriggerActionType.DeployLatestRelease:\n case TriggerActionType.DeployNewRelease:\n return links.editDeploymentScheduledTriggerPage.generateUrl({ spaceId: projectTrigger.SpaceId, projectSlug: projectId, triggerId: projectTrigger.Id });\n case TriggerActionType.RunRunbook:\n return links.projectRunbookEditScheduledTriggerPage.generateUrl({ spaceId: projectTrigger.SpaceId, projectSlug: projectId, triggerId: projectTrigger.Id });\n case TriggerActionType.CreateRelease:\n return links.editReleaseCreationFeedTriggerPage.generateUrl({ spaceId: projectTrigger.SpaceId, projectSlug: projectId, triggerId: projectTrigger.Id });\n }\n }\n render() {\n const redirectTo = this.state.redirectTo;\n if (!redirectTo) {\n return (
    \n \n
    );\n }\n return ;\n }\n static displayName = \"ProjectTriggerRedirect\";\n}\n","import { links } from \"@octopusdeploy/portal-routes\";\nimport * as React from \"react\";\nimport InternalRedirect from \"~/components/Navigation/InternalRedirect/InternalRedirect\";\nexport function SpaceRootRedirect({ spaceId }: {\n spaceId: string;\n}) {\n return ;\n}\n","/* eslint-disable @typescript-eslint/no-explicit-any */\nimport { useSetInPageNavVisible } from \"@octopusdeploy/design-system-components\";\nimport type * as H from \"history\";\nimport type { PropsWithChildren, ReactNode } from \"react\";\nimport * as React from \"react\";\nimport type { match as Match, match } from \"react-router\";\nimport { useLocation, useRouteMatch } from \"react-router\";\nimport { generatePath } from \"react-router-dom\";\nimport { repository } from \"~/clientInstance\";\nimport BaseComponent from \"~/components/BaseComponent/index\";\nimport StringHelper from \"~/utils/StringHelper/index\";\nimport InternalRedirect from \"../Navigation/InternalRedirect/InternalRedirect\";\nimport { SkeletonLoadingLayout } from \"../SkeletonLoadingLayout/SkeletonLoadingLayout\";\nexport interface RedirectProjectIfNotSlugProps {\n children: ReactNode;\n}\nexport function RedirectProjectIfNotSlug({ children }: PropsWithChildren) {\n const setVisible = useSetInPageNavVisible();\n React.useEffect(() => {\n setVisible?.(true);\n }, [setVisible]);\n return (}>\n {children}\n );\n}\nfunction ProjectSlugLoading() {\n return (
    \n \n
    );\n}\ninterface ProjectLocationState {\n project?: {\n Slug: string;\n };\n}\nasync function loadSlugFromProjectId(projectId: string, location: H.Location) {\n if (locationHasProjectState(location)) {\n return location.state.project.Slug;\n }\n return (await repository.Projects.get(projectId)).Slug;\n}\nfunction locationHasProjectState(location: H.Location): location is H.Location> {\n if (!location || !location?.state) {\n return false;\n }\n // eslint-disable-next-line @typescript-eslint/consistent-type-assertions\n const casted = location as H.Location;\n if (!casted.state?.project) {\n return false;\n }\n return typeof casted.state.project.Slug === \"string\";\n}\nexport function RedirectReleaseVersion({ children }: React.PropsWithChildren<{}>) {\n return (\n {children}\n );\n}\nasync function loadVersionFromReleaseId(releaseId: string) {\n return (await repository.Releases.get(releaseId)).Version;\n}\nfunction releaseVersionLoading() {\n return
    {StringHelper.ellipsis}
    ;\n}\ntype SlugSafeRedirectProps = {\n parameter: string;\n regexp: RegExp;\n getRealParam(param: string, location?: H.Location, match?: Match): Promise;\n loadingComponent: React.ReactElement;\n};\ntype SlugSafeRedirectState = {\n refreshId: number;\n paramValue?: string;\n};\nexport function SlugSafeRedirect(props: PropsWithChildren) {\n const location = useLocation();\n const match = useRouteMatch();\n // eslint-disable-next-line @typescript-eslint/no-non-null-assertion\n return ;\n}\ntype SlugSafeRedirectInternalProps = {\n parameter: string;\n regexp: RegExp;\n getRealParam(param: string, location?: H.Location, match?: Match): Promise;\n loadingComponent: React.ReactElement;\n location: H.Location;\n match: match;\n};\nclass SlugSafeRedirectInternal extends BaseComponent {\n refreshId: number = 0;\n constructor(props: SlugSafeRedirectInternalProps) {\n super(props);\n this.state = { refreshId: 0 };\n }\n async UNSAFE_componentWillMount() {\n const { parameter, regexp, match } = this.props;\n this.refreshId += 1;\n const param = match.params[parameter];\n if (param && regexp.test(param)) {\n try {\n const paramValue = await this.props.getRealParam(param, this.props.location, this.props.match);\n this.setState({ paramValue, refreshId: this.refreshId });\n }\n catch (ex) {\n this.setState({ paramValue: param, refreshId: this.refreshId });\n }\n }\n else {\n this.setState({ paramValue: param, refreshId: this.refreshId });\n }\n }\n render() {\n if (this.isLoading()) {\n return this.props.loadingComponent;\n }\n if (this.isRedirecting()) {\n return this.redirect();\n }\n return React.Children.only(this.props.children);\n }\n isLoading() {\n return this.state.refreshId !== this.refreshId;\n }\n isRedirecting() {\n const urlParam = this.props.match.params[this.props.parameter];\n return urlParam !== this.state.paramValue;\n }\n redirect() {\n const newPath = this.calculateNewPath(this.props);\n const redirect = {\n ...this.props.location,\n pathname: newPath,\n state: {\n ...(typeof this.props.location.state === \"object\" ? this.props.location.state : {}),\n [this.props.parameter]: this.state.paramValue,\n },\n };\n return ;\n }\n calculateNewPath(props: SlugSafeRedirectInternalProps): string {\n const newUrl = generatePath(props.match.path, {\n ...props.match.params,\n [props.parameter]: this.state.paramValue,\n });\n return newUrl + props.location.pathname.substr(props.match.url.length);\n }\n static displayName = \"SlugSafeRedirectInternal\";\n}\n","/* eslint-disable @typescript-eslint/no-non-null-assertion */\nimport { DrawnOctopusIllustration } from \"@octopusdeploy/design-system-components\";\nimport type { SpaceResource } from \"@octopusdeploy/octopus-server-client\";\nimport { links } from \"@octopusdeploy/portal-routes\";\nimport * as React from \"react\";\nimport type { MapStateToProps } from \"react-redux\";\nimport { connect } from \"react-redux\";\nimport type { SpaceNotFoundContext } from \"~/components/SpaceLoader/SpaceLoader\";\nimport Select from \"../../primitiveComponents/form/Select/Select\";\nimport { EmptyPage } from \"../EmptyPage/EmptyPage\";\nimport { InternalRedirect } from \"../Navigation/InternalRedirect\";\nimport styles from \"./style.module.less\";\ninterface SpaceNotFoundProps {\n spaceNotFoundContext: SpaceNotFoundContext;\n}\ninterface GlobalConnectedProps {\n spaces?: SpaceResource[];\n}\ntype Props = SpaceNotFoundProps & GlobalConnectedProps;\ninterface SpaceNotFoundState {\n selectedSpaceId?: string;\n}\nclass SpaceNotFoundInternal extends React.Component {\n constructor(props: Props) {\n super(props);\n this.state = {};\n }\n render() {\n const spaceItems = (this.props.spaces || []).map((space) => ({\n value: space.Id,\n text: space.Name,\n }));\n const title = `Unable to locate Space (${this.props.spaceNotFoundContext.missingSpaceId})...`;\n return (
    \n } description={\"Our badly drawn octopus suggests trying another space.\"} action={<>\n {this.state.selectedSpaceId && }\n {!this.state.selectedSpaceId && spaceItems.length > 0 && (
    \n