{"version":3,"file":"common.501a875827ff5c3f.js","sources":["./src/app/components/diff-icon/diff-icon.component.html","./src/app/components/diff-icon/diff-icon.component.ts","./src/app/components/hierarchy-widget/hierarchy-widget.component.html","./src/app/components/hierarchy-widget/hierarchy-widget.component.ts","./src/app/directives/dynamic-component.directive.ts","./src/app/components/label-value-v2/label-value-v2.component.html","./src/app/components/label-value-v2/label-value-v2.component.ts","./src/app/components/page-wrapper-component/page-wrapper.component.ts","./src/app/components/page-wrapper-component/page-wrapper.component.html","./src/app/components/smart-table-hyperlink/smart-table-hyperlink.component.html","./src/app/components/smart-table-hyperlink/smart-table-hyperlink.component.ts","./src/app/constants/cloud-provider.ts","./src/app/constants/regex.ts","./src/app/constants/releaseTypes.ts","./src/app/enums/cluster-state.ts","./src/app/pages/cluster-pages/cluster-releases-new-v2/cluster-releases.service.ts","./src/app/pages/cluster-pages/cluster-releases-new-v2/release-page-actions.util.ts","./src/app/pages/resource-blueprint-history/resource-blueprint-history-routing.module.ts","./src/app/pages/resource-blueprint-history/resource-blueprint-history.module.ts","./src/app/pages/resource-center/components/config-field/config-field.module.ts","./src/app/pages/resource-override-history/resource-override-history-routing.module.ts","./src/app/pages/resource-override-history/resource-override-history.module.ts","./src/app/services/schedule-string.service.ts","./src/app/services/stack-create.service.ts","./src/app/utils/permissions/permissions.utils.ts","../src/registry.ts","../src/hook.ts","../src/node.ts","../src/view.ts"],"sourceRoot":"webpack:///","sourcesContent":["\n\n","import { Component, Input } from '@angular/core';\n\n@Component({\n selector: 'app-diff-icon',\n templateUrl: './diff-icon.component.html',\n styleUrls: ['./diff-icon.component.scss'],\n})\nexport class DiffIconComponent {\n @Input() overrideValue: string;\n\n @Input() value: string;\n\n constructor() {}\n}\n","\n \n \n \n \n
\n
\n \n {{ data?.label }}\n
\n
\n
\n \n {{ prop?.key }}\n \n
\n \n \n \n \n \n \n
\n \n
\n \n
\n
\n \n \n
\n
\n","import { Component, Input, Output, EventEmitter } from '@angular/core';\n\n@Component({\n selector: 'app-hierarchy-widget',\n templateUrl: './hierarchy-widget.component.html',\n styleUrls: ['./hierarchy-widget.component.scss'],\n})\nexport class HierarchyWidgetComponent {\n @Input() hierarchies: [] = [];\n @Output() imageEvent = new EventEmitter();\n @Output() promoteEvent = new EventEmitter();\n @Output() titleClickEvent = new EventEmitter();\n jsonStringify = JSON.stringify;\n\n constructor() {}\n\n addImageEvent(event, data) {\n this.imageEvent.emit(data);\n }\n\n emitPromoteEvent(event, data, nextData) {\n this.promoteEvent.emit({ currentData: data, nextData: nextData });\n }\n\n onTitleClick(data) {\n this.titleClickEvent.emit(data);\n }\n}\n","import {\n Directive,\n Input,\n OnInit,\n ViewContainerRef,\n ComponentFactoryResolver,\n ComponentFactory,\n ComponentRef,\n Output,\n EventEmitter,\n OnDestroy,\n} from '@angular/core';\nimport { BadgeWithIconComponent } from '../components/badge-with-icon/badge-with-icon.component';\nimport { CommitIDsComponent } from '../components/commit-ids/commit-ids.component';\n\n@Directive({\n selector: '[appDynamicComponent]',\n})\nexport class DynamicComponentDirective implements OnInit, OnDestroy {\n @Input() componentName: string;\n @Input() componentInputs: { [key: string]: any };\n @Output() componentOutput = new EventEmitter();\n\n private componentRef: ComponentRef;\n\n constructor(\n private viewContainerRef: ViewContainerRef,\n private resolver: ComponentFactoryResolver,\n ) {}\n\n ngOnInit(): void {\n this.loadComponent();\n }\n\n ngOnDestroy(): void {\n if (this.componentRef) {\n this.componentRef.destroy();\n }\n }\n\n loadComponent() {\n const componentMappings = {\n BadgeWithIconComponent: BadgeWithIconComponent,\n CommitIDsComponent: CommitIDsComponent,\n // Add other components here\n };\n\n const component = componentMappings[this.componentName];\n\n if (!component) {\n return;\n }\n\n const factory: ComponentFactory =\n this.resolver.resolveComponentFactory(component);\n this.componentRef = this.viewContainerRef.createComponent(factory);\n\n if (this.componentInputs) {\n for (const [key, value] of Object.entries(this.componentInputs)) {\n this.componentRef.instance[key] = value;\n }\n }\n\n this.subscribeToOutputs();\n }\n\n private subscribeToOutputs() {\n if (this.componentRef && this.componentRef.instance) {\n const outputs = Object.keys(this.componentRef.instance)\n .filter(\n (key) => this.componentRef.instance[key] instanceof EventEmitter,\n )\n .map((key) => ({\n name: key,\n emitter: this.componentRef.instance[key] as EventEmitter,\n }));\n\n outputs.forEach((output) => {\n output.emitter.subscribe((event) => {\n this.componentOutput.emit({ name: output.name, value: event });\n });\n });\n }\n }\n}\n","\n {{ title }}\n \n \n {{ [null, undefined]?.includes(value) ? '-' : value }}\n \n {{\n value ? (value | timeago) : '-'\n }}\n \n \n \n \n \n \n \n\n","import { Component, EventEmitter, Input, OnInit, Output } from '@angular/core';\n\n@Component({\n selector: 'app-label-value-v2',\n templateUrl: './label-value-v2.component.html',\n styleUrls: ['./label-value-v2.component.scss'],\n})\nexport class LabelValueV2Component {\n @Input() title: string;\n @Input() value: string;\n @Input() displayType: string = 'string';\n @Input() colSize: number = 4;\n @Input() type: string = 'string';\n @Input() customComponent: string;\n @Input() customInputs: { [key: string]: any };\n @Output() componentOutput = new EventEmitter<{ name: string; value: any }>();\n\n constructor() {}\n\n handleComponentOutput(event: { name: string; value: any }) {\n this.componentOutput.emit(event);\n }\n}\n","import { Component } from '@angular/core';\n\n@Component({\n selector: 'app-page-wrapper-component',\n templateUrl: './page-wrapper.component.html',\n styleUrls: ['./page-wrapper.component.scss'],\n})\nexport class PageWrapperComponent {\n constructor() {}\n}\n","\n","\n {{ value || 'N/A' }}\n\n\n

{{ value || 'N/A' }}

\n
\n","import { Component, OnInit } from '@angular/core';\nimport { ViewCell } from 'ng2-smart-table';\n\n@Component({\n selector: 'app-smart-table-hyperlink',\n templateUrl: './smart-table-hyperlink.component.html',\n styleUrls: ['./smart-table-hyperlink.component.scss'],\n})\nexport class SmartTableHyperlinkComponent implements ViewCell, OnInit {\n constructor() {}\n value: any;\n rowData: any;\n showHyperlink: boolean = false;\n showPlainText: boolean = false;\n\n ngOnInit(): void {\n try {\n this.value = JSON.parse(this.value as any);\n this.showPlainText = this.value?.showPlainText;\n this.value = this.value.data;\n if (!this.showPlainText) {\n this.isValidURL(this.value);\n }\n } catch (error) {}\n }\n\n isValidURL(s: any) {\n var regexp =\n /^(?:http(s)?:\\/\\/)?[\\w.-]+(?:\\.[\\w\\.-]+)+[\\w\\-\\._~:/?#[\\]@!\\$&'\\(\\)\\*\\+,;=.]+$/;\n this.showHyperlink = regexp.test(s);\n }\n}\n","export const cloudProviderOptions = [\n {\n value: 'AWS',\n label: 'AWS',\n icon: 'aws',\n iconPack: 'fci',\n checked: false,\n },\n {\n value: 'GCP',\n label: 'GCP',\n icon: 'gcp',\n iconPack: 'fci',\n checked: false,\n },\n {\n value: 'KUBERNETES',\n label: 'KUBERNETES',\n icon: 'kubernetes',\n iconPack: 'fci',\n checked: false,\n },\n {\n value: 'AZURE',\n label: 'AZURE',\n icon: 'azure',\n iconPack: 'fci',\n checked: false,\n },\n];\n","export const EMAIL_REGEX = /^[^\\s@]+@[^\\s@]+\\.[^\\s@]+$/;\nexport const CHANNEL_URL_REGEX =\n /(?:https?):\\/\\/(\\w+:?\\w*)?(\\S+)(:\\d+)?(\\/|\\/([\\w#!:.?+=&%!\\-\\/]))?/;\n\nexport const CONTAINER_REGISTRY_URI_PATTERN = {\n ECR: /^[0-9]+\\.dkr\\.ecr\\.[a-zA-Z0-9-]+\\.amazonaws\\.com\\/?$/,\n AZURE_CONTAINER_REGISTRY: /^https:\\/\\/[a-zA-Z0-9-]+\\.azurecr\\.io\\/?$/,\n GOOGLE_ARTIFACT_REGISTRY:\n /^https:\\/\\/[a-zA-Z0-9-]+\\-docker\\.pkg\\.dev\\/[a-zA-Z0-9-]+\\/[a-zA-Z0-9-]+\\/?$/,\n GOOGLE_CONTAINER_REGISTRY: /^https:\\/\\/[a-zA-Z0-9-]+\\.gcr\\.io\\/?$/,\n NEXUS: /^https:\\/\\/[a-zA-Z0-9-]+(\\.[a-zA-Z0-9-]+)+(:\\d+)?(\\/[^\\s]*)?$/,\n JFROG: /^https:\\/\\/[a-zA-Z0-9-]+\\.jfrog\\.io\\/?$/,\n DOCKER_HUB: /^https:\\/\\/index\\.docker\\.io\\/?.*$/,\n OTHERS: /^(https?):\\/\\/[^\\s$.?#].[^\\s]*$/,\n};\n","export const HOTFIX = 'HOTFIX';\nexport const RELEASE = 'RELEASE';\nexport const LAUNCH = 'LAUNCH';\nexport const DESTROY = 'DESTROY';\nexport const CUSTOM = 'CUSTOM';\nexport const UNLOCK_STATE = 'UNLOCK_STATE';\nexport const PLAN = 'PLAN';\nexport const APPLY_PLAN = 'APPLY_PLAN';\nexport const SCALE_UP = 'SCALE_UP';\nexport const SCALE_DOWN = 'SCALE_DOWN';\n","export enum ClusterState {\n UNKNOWN = 'Unknown',\n LAUNCH_FAILED = 'Launch Failed',\n STOPPED = 'Stopped',\n LAUNCHING = 'Launching',\n DESTROYING = 'Destroying',\n DESTROY_FAILED = 'Destroy Failed',\n}\n","import { Subject } from 'rxjs';\nimport { Injectable } from '@angular/core';\n\n@Injectable({\n providedIn: 'root',\n})\nexport class EnvironmentReleasesService {\n releaseStatusUpdates: Subject = new Subject();\n\n constructor() {}\n\n notifyReleaseStatusUpdates({ clusterInfo }) {\n this.releaseStatusUpdates.next({ clusterInfo });\n }\n}\n","import { isObjectEmpty } from '../../../utils/object-utils';\nimport {\n STOPPED,\n LAUNCH_FAILED,\n DESTROY_FAILED,\n LAUNCHING,\n RUNNING,\n DESTROYING,\n SCALE_DOWN,\n SCALE_UP_FAILED,\n SCALE_DOWN_FAILED,\n SCALING_UP,\n SCALING_DOWN,\n} from '../../../constants/deployments';\n\nconst buttonIdTooltipMap = {\n destroy: 'Destroy the Environment',\n 'scale-up':\n 'Scales up deployments and statefulsets, and enables cronjobs in the cluster.',\n 'scale-down':\n 'Scales down deployments and statefulsets, and disables cronjobs in the cluster',\n};\n\nexport const getReleasePageVisibility = ({ clusterState, clusterDetails }) => {\n const isReleasePaused = clusterDetails?.pauseReleases;\n let showLaunch = [STOPPED, LAUNCH_FAILED]?.includes(clusterState);\n\n let showDestroy = [\n // RUNNING,\n LAUNCH_FAILED,\n DESTROY_FAILED,\n // SCALE_DOWN,\n // SCALE_UP_FAILED,\n // SCALE_DOWN_FAILED,\n ]?.includes(clusterState);\n\n let showRelease = clusterState === RUNNING;\n\n let showPauseRelease = !isObjectEmpty(clusterDetails) && !isReleasePaused;\n\n let showResumeRelease = !isObjectEmpty(clusterDetails) && isReleasePaused;\n\n let showScaleUp = [SCALE_DOWN, SCALE_UP_FAILED, SCALE_DOWN_FAILED].includes(\n clusterState,\n );\n\n let showScaleDown = [RUNNING, SCALE_UP_FAILED, SCALE_DOWN_FAILED].includes(\n clusterState,\n );\n\n let showUpdateTf = true;\n let showReleaseSchedule = true;\n let showUnlockState = true;\n let showValidations = true;\n\n return {\n launch: showLaunch,\n destroy: showDestroy,\n release: showRelease,\n 'scale-up': showScaleUp,\n 'scale-down': showScaleDown,\n 'pause-release': showPauseRelease,\n 'resume-release': !!showResumeRelease,\n 'update-tf': showUpdateTf,\n 'release-schedule': showReleaseSchedule,\n 'unlock-state': showUnlockState,\n validations: showValidations,\n };\n};\n\nexport const getDisableStatusForActions = ({\n clusterState,\n clusterDetails,\n tfVersionMap,\n pendingMigrationsOverview,\n}) => {\n const scaleUpInprogress = clusterState === SCALING_UP;\n const scaleDownInProgress = clusterState === SCALING_DOWN;\n\n const isReleasePaused = clusterDetails?.pauseReleases;\n const isPartiallyRun = pendingMigrationsOverview?.blockReleases;\n\n const disableLaunch =\n isObjectEmpty(clusterDetails) ||\n clusterState === LAUNCHING ||\n isReleasePaused;\n\n const disableDestroy =\n isObjectEmpty(clusterDetails) ||\n clusterState === DESTROYING ||\n isReleasePaused ||\n scaleUpInprogress ||\n scaleDownInProgress;\n\n const disableRelease =\n isObjectEmpty(clusterDetails) ||\n isReleasePaused ||\n scaleUpInprogress ||\n scaleDownInProgress;\n\n const disableScaleUp =\n isObjectEmpty(clusterDetails) ||\n clusterDetails?.baseClusterId?.length > 0 ||\n isReleasePaused ||\n scaleUpInprogress ||\n scaleDownInProgress;\n\n const disableScaleDown =\n isObjectEmpty(clusterDetails) ||\n clusterDetails?.baseClusterId?.length > 0 ||\n isReleasePaused ||\n scaleUpInprogress ||\n scaleDownInProgress ||\n isPartiallyRun;\n\n const disableUpdateTf = !tfVersionMap?.version;\n const disablePauseRelease = false;\n const disableResumeRelease = false;\n const disableReleaseSchedule = false;\n const disableUnlockState = false;\n const validationsState = false;\n\n return {\n launch: disableLaunch,\n destroy: disableDestroy,\n release: disableRelease,\n 'scale-up': disableScaleUp,\n 'scale-down': disableScaleDown,\n 'pause-release': disablePauseRelease,\n 'resume-release': disableResumeRelease,\n 'update-tf': disableUpdateTf,\n 'release-schedule': disableReleaseSchedule,\n 'unlock-state': disableUnlockState,\n validations: validationsState,\n };\n};\n\nexport const getReleasePageActionsStatusMap = ({\n clusterState,\n clusterDetails,\n tfVersionMap,\n pendingMigrationsOverview,\n}) => {\n const actionOverallStatusMap = {};\n const visibilityMap = getReleasePageVisibility({\n clusterState,\n clusterDetails,\n });\n const disableMap = getDisableStatusForActions({\n clusterState,\n clusterDetails,\n tfVersionMap,\n pendingMigrationsOverview,\n });\n Object.entries(visibilityMap)?.forEach(([key, value]) => {\n actionOverallStatusMap[key] = {\n visible: value,\n disable: disableMap[key],\n };\n });\n return actionOverallStatusMap;\n};\n\nexport const getValidationsAndSevereError = (validations) => {\n const validationsList = validations\n .map((validation) => validation?.errors || [])\n .flat();\n\n const severeError = validationsList.find(\n (validation) =>\n validation?.severity === 'ERROR' &&\n ['Syntax Error', 'GuardRails Compliance Issues'].includes(\n validation?.category,\n ),\n );\n\n return { validationsList, severeError };\n};\n","import { NgModule } from '@angular/core';\nimport { Routes, RouterModule } from '@angular/router';\nimport { ResourceBlueprintHistoryComponent } from './resource-blueprint-history.component';\n\n/* App Imports */\n\nconst routes: Routes = [\n {\n path: '',\n component: ResourceBlueprintHistoryComponent,\n pathMatch: 'full',\n },\n];\n\n@NgModule({\n imports: [RouterModule.forChild(routes)],\n exports: [RouterModule],\n})\nexport class ResourceBlueprintHistoryRoutingModule {}\n","import { NgModule } from '@angular/core';\nimport { CommonModule } from '@angular/common';\nimport {\n NbButtonModule,\n NbCardModule,\n NbDialogModule,\n NbIconModule,\n NbSpinnerModule,\n NbTooltipModule,\n} from '@nebular/theme';\nimport { RouterModule } from '@angular/router';\nimport { Ng2SmartTableModule } from 'ng2-smart-table';\nimport { NbEvaIconsModule } from '@nebular/eva-icons';\nimport { ComponentsModule } from 'src/app/components/components.module';\nimport { ResourceBlueprintHistoryRoutingModule } from './resource-blueprint-history-routing.module';\nimport { ResourceBlueprintHistoryComponent } from './resource-blueprint-history.component';\n\n@NgModule({\n declarations: [ResourceBlueprintHistoryComponent],\n imports: [\n CommonModule,\n RouterModule,\n NbCardModule,\n Ng2SmartTableModule,\n NbIconModule,\n NbEvaIconsModule,\n NbDialogModule,\n NbButtonModule,\n NbButtonModule,\n NbTooltipModule,\n NbSpinnerModule,\n ComponentsModule,\n ResourceBlueprintHistoryRoutingModule,\n ],\n exports: [ResourceBlueprintHistoryComponent],\n})\nexport class ResourceBlueprintHistoryModule {}\n","import { NgModule } from '@angular/core';\nimport { CommonModule } from '@angular/common';\nimport { RouterModule } from '@angular/router';\nimport { FormsModule } from '@angular/forms';\nimport { ConfigFieldsComponent } from './config-field.component';\nimport { ComponentsModule } from 'src/app/components/components.module';\n\n@NgModule({\n imports: [CommonModule, RouterModule, FormsModule, ComponentsModule],\n declarations: [ConfigFieldsComponent],\n exports: [ConfigFieldsComponent],\n})\nexport class ConfigFieldModule {}\n","import { NgModule } from '@angular/core';\nimport { Routes, RouterModule } from '@angular/router';\nimport { ResourceOverrideHistoryComponent } from './resource-override-history.component';\n\n/* App Imports */\n\nconst routes: Routes = [\n {\n path: '',\n component: ResourceOverrideHistoryComponent,\n pathMatch: 'full',\n },\n];\n\n@NgModule({\n imports: [RouterModule.forChild(routes)],\n exports: [RouterModule],\n})\nexport class ResourceOverrideHistoryRoutingModule {}\n","import { NgModule } from '@angular/core';\nimport { CommonModule } from '@angular/common';\nimport {\n NbButtonModule,\n NbCardModule,\n NbDialogModule,\n NbIconModule,\n NbSpinnerModule,\n NbTooltipModule,\n} from '@nebular/theme';\nimport { RouterModule } from '@angular/router';\nimport { Ng2SmartTableModule } from 'ng2-smart-table';\nimport { NbEvaIconsModule } from '@nebular/eva-icons';\nimport { ComponentsModule } from 'src/app/components/components.module';\nimport { ResourceOverrideHistoryRoutingModule } from './resource-override-history-routing.module';\nimport { ResourceOverrideHistoryComponent } from './resource-override-history.component';\nimport { MonacoEditorModule } from '@materia-ui/ngx-monaco-editor';\n\n@NgModule({\n declarations: [ResourceOverrideHistoryComponent],\n imports: [\n CommonModule,\n RouterModule,\n NbCardModule,\n Ng2SmartTableModule,\n NbIconModule,\n NbEvaIconsModule,\n NbDialogModule,\n NbButtonModule,\n NbButtonModule,\n NbTooltipModule,\n NbSpinnerModule,\n ComponentsModule,\n ResourceOverrideHistoryRoutingModule,\n MonacoEditorModule,\n ],\n exports: [ResourceOverrideHistoryComponent],\n})\nexport class ResourceOverrideHistoryModule {}\n","import { Injectable } from '@angular/core';\nimport { Router } from '@angular/router';\nimport { AvailabilityTaskSchedule } from '../cc-api/models';\nimport { getWeekDaysNameString } from 'src/app/utils/calendar-utils';\nimport { convertToSentenceCase } from '../utils/string-util';\nimport {\n LAUNCH,\n DESTROY,\n SCALE_UP,\n SCALE_DOWN,\n} from '../constants/releaseTypes';\n\n@Injectable({\n providedIn: 'root',\n})\nexport class ScheduleStringService {\n constructor(private router: Router) {}\n scheduleString: string = '';\n availSchedule: AvailabilityTaskSchedule[];\n releaseOptions = {\n MON: 'Monday',\n TUE: 'Tuesday',\n WED: 'Wednesday',\n THU: 'Thursday',\n FRI: 'Friday',\n SAT: 'Saturday',\n SUN: 'Sunday',\n };\n\n convertTime(timeString) {\n var ts = timeString;\n var hours = +ts.substr(0, 2); //separate hours time from time string\n var h = hours % 12 || 12; //convert 24 hours to 12 hours clock\n var leadingZero = h < 10 ? '0' + h : h; //add leading zero in case of time being less than 10\n var type = hours < 12 ? ' AM' : ' PM'; // add AM or PM\n ts = leadingZero + ts.substr(2, 3) + type; //final time string construction\n return ts;\n }\n\n constructSchedule(schedule) {\n this.availSchedule = schedule;\n let isDaily = false;\n let launchTime = '';\n let destroyTime = '';\n if (\n schedule[0]?.byDay?.length === 1 &&\n schedule[0]?.byDay[0] === schedule[1]?.byDay[0]\n ) {\n schedule.forEach((schedule) => {\n if (this.isAvailabilityStart(schedule.releaseType)) {\n launchTime = schedule.byTime;\n }\n if (this.isAvailabilityStop(schedule.releaseType)) {\n destroyTime = schedule.byTime;\n }\n });\n if (launchTime > destroyTime) {\n isDaily = false;\n } else {\n isDaily = true;\n }\n }\n if (this.availSchedule[0]?.byDay?.length > 1 || isDaily) {\n this.scheduleString = 'Available daily on ';\n if (this.availSchedule[0]?.byDay.length > 1) {\n const readableWeekDayNames = this.availSchedule[0]?.byDay?.map(\n (day) => this.releaseOptions[day],\n );\n const orderedWeekdays = Object.values(this.releaseOptions);\n readableWeekDayNames.sort(\n (a, b) => orderedWeekdays.indexOf(a) - orderedWeekdays.indexOf(b),\n );\n this.scheduleString += `${getWeekDaysNameString(\n readableWeekDayNames,\n )} `;\n } else if (\n this.availSchedule[0]?.byDay === this.availSchedule[0]?.byDay\n ) {\n this.scheduleString +=\n this.releaseOptions[this.availSchedule[0]?.byDay[0]] + ' ';\n }\n this.scheduleString += 'from ';\n this.addDailyTimeFields();\n this.addScheduleRule();\n\n return this.scheduleString;\n } else {\n this.scheduleString = 'Available weekly from ';\n this.addWeeklyTimeFields();\n this.addScheduleRule();\n\n return this.scheduleString;\n }\n }\n\n addDailyTimeFields() {\n const availabilityStateType = this.availSchedule?.find((schedule) =>\n this.isAvailabilityStart(schedule.releaseType),\n );\n const availableStopType = this.availSchedule?.find((schedule) =>\n this.isAvailabilityStop(schedule.releaseType),\n );\n const availableStartTime = this.convertTime(availabilityStateType?.byTime);\n const availableStopTime = this.convertTime(availableStopType?.byTime);\n\n if (availableStartTime && availableStopTime) {\n this.scheduleString += `${availableStartTime} to ${availableStopTime}`;\n }\n }\n\n addWeeklyTimeFields() {\n const launchType = this.availSchedule?.find((schedule) =>\n this.isAvailabilityStart(schedule.releaseType),\n );\n const destroyType = this.availSchedule?.find((schedule) =>\n this.isAvailabilityStop(schedule.releaseType),\n );\n const availableStartDay = this.releaseOptions[launchType?.byDay[0]];\n const availableStartTime = this.convertTime(launchType?.byTime);\n const availableStopDay = this.releaseOptions[destroyType?.byDay[0]];\n const availableStopTime = this.convertTime(destroyType?.byTime);\n\n this.scheduleString += `${availableStartDay}, ${availableStartTime} to `;\n this.scheduleString += `${availableStopDay}, ${availableStopTime}`;\n }\n isAvailabilityStart = (releaseType) =>\n [LAUNCH, SCALE_UP].includes(releaseType);\n isAvailabilityStop = (releaseType) =>\n [DESTROY, SCALE_DOWN].includes(releaseType);\n\n addScheduleRule = () => {\n const releaseTypes = this.getScheduleRuleNames();\n this.scheduleString += ` using ${releaseTypes.join(' and ')}`;\n };\n getScheduleRuleNames = () =>\n this.availSchedule?.map(({ releaseType }) =>\n convertToSentenceCase(releaseType),\n );\n getTimezoneText = (availabilitySchedule) => {\n if (!availabilitySchedule?.length) {\n return '';\n }\n const { releaseType: startReleaseType, timeZone: startTimezone } =\n availabilitySchedule?.[0];\n const { releaseType: stopReleaseType, timeZone: stopTimezone } =\n availabilitySchedule?.[1];\n\n const stopSchedule = availabilitySchedule?.[1];\n if (startTimezone === stopTimezone) {\n return `All times are in ${startTimezone}`;\n }\n\n return `${convertToSentenceCase(\n startReleaseType,\n )} time is in ${startTimezone} and ${convertToSentenceCase(\n stopReleaseType,\n )} time is in ${stopTimezone}`;\n };\n}\n","import { Injectable } from '@angular/core';\nimport { Observable, Subject } from 'rxjs';\n\n@Injectable({\n providedIn: 'root'\n})\nexport class StackCreateService {\n stackCreateSubject: Subject = new Subject();\n\n constructor() { }\n\n sendStackEvent(data) {\n this.stackCreateSubject.next(data);\n }\n}","import cloneDeep from 'lodash/cloneDeep';\n\nexport interface Permission {\n permission: string;\n description: string;\n key: string;\n}\n\nexport const sortPermissionsInPermissionGroups = (permissionGroups) => {\n const permissionGroupsClone = cloneDeep(permissionGroups);\n Array.from(permissionGroupsClone.keys()).forEach((pGroup) => {\n const originalArray = permissionGroupsClone.get(pGroup);\n const permissions = sortPermissionsArray(originalArray);\n permissionGroupsClone.set(pGroup, permissions);\n });\n return permissionGroupsClone;\n};\n\nexport const sortPermissionsArray = (permissionsArray: Permission[]) => {\n const customOrder = ['READ', 'WRITE', 'CONFIGURE', 'DELETE'];\n const permissions = cloneDeep(permissionsArray);\n permissions?.sort((permission1, permission2) => {\n const indexA = customOrder.indexOf(permission1?.key?.split('_')?.pop());\n const indexB = customOrder.indexOf(permission2?.key?.split('_')?.pop());\n if (indexA !== -1 && indexB !== -1) {\n return indexA - indexB;\n } else if (indexA !== -1) {\n return -1;\n } else if (indexB !== -1) {\n return 1;\n }\n });\n return permissions;\n};\n",null,null,null,null],"names":["i0","DiffIconComponent","constructor","static","selectors","HierarchyWidgetComponent","this","EventEmitter","JSON","stringify","addImageEvent","event","data","imageEvent","emit","emitPromoteEvent","nextData","promoteEvent","currentData","onTitleClick","titleClickEvent","DynamicComponentDirective","viewContainerRef","resolver","ngOnInit","loadComponent","ngOnDestroy","componentRef","destroy","component","BadgeWithIconComponent","CommitIDsComponent","componentName","factory","resolveComponentFactory","createComponent","componentInputs","key","value","Object","entries","instance","subscribeToOutputs","keys","filter","map","name","emitter","forEach","output","subscribe","componentOutput","core","LabelValueV2Component","handleComponentOutput","PageWrapperComponent","SmartTableHyperlinkComponent","parse","showPlainText","isValidURL","s","showHyperlink","test","cloudProviderOptions","label","icon","iconPack","checked","EMAIL_REGEX","CHANNEL_URL_REGEX","CONTAINER_REGISTRY_URI_PATTERN","ECR","AZURE_CONTAINER_REGISTRY","GOOGLE_ARTIFACT_REGISTRY","GOOGLE_CONTAINER_REGISTRY","NEXUS","JFROG","DOCKER_HUB","OTHERS","LAUNCH","DESTROY","SCALE_UP","SCALE_DOWN","ClusterState","EnvironmentReleasesService","Subject","notifyReleaseStatusUpdates","clusterInfo","releaseStatusUpdates","next","getReleasePageActionsStatusMap","clusterState","clusterDetails","tfVersionMap","pendingMigrationsOverview","actionOverallStatusMap","visibilityMap","isReleasePaused","pauseReleases","showLaunch","STOPPED","LAUNCH_FAILED","includes","showDestroy","DESTROY_FAILED","showRelease","RUNNING","showPauseRelease","isObjectEmpty","showResumeRelease","launch","release","SCALE_UP_FAILED","SCALE_DOWN_FAILED","validations","getReleasePageVisibility","disableMap","scaleUpInprogress","SCALING_UP","scaleDownInProgress","SCALING_DOWN","isPartiallyRun","blockReleases","disableLaunch","LAUNCHING","disableDestroy","DESTROYING","disableRelease","disableScaleUp","baseClusterId","length","disableScaleDown","version","getDisableStatusForActions","visible","disable","getValidationsAndSevereError","validationsList","validation","errors","flat","severeError","find","severity","category","routes","path","ResourceBlueprintHistoryComponent","pathMatch","ResourceBlueprintHistoryRoutingModule","RouterModule","ResourceBlueprintHistoryModule","CommonModule","NbCardModule","Ng2SmartTableModule","NbIconModule","NbEvaIconsModule","NbDialogModule","NbButtonModule","NbTooltipModule","NbSpinnerModule","ComponentsModule","ConfigFieldModule","FormsModule","ResourceOverrideHistoryComponent","ResourceOverrideHistoryRoutingModule","ResourceOverrideHistoryModule","MonacoEditorModule","ScheduleStringService","router","MON","TUE","WED","THU","FRI","SAT","SUN","releaseType","releaseTypes","getScheduleRuleNames","scheduleString","join","availSchedule","convertToSentenceCase","availabilitySchedule","startReleaseType","timeZone","startTimezone","stopReleaseType","stopTimezone","convertTime","timeString","ts","hours","substr","h","type","constructSchedule","schedule","isDaily","launchTime","destroyTime","byDay","isAvailabilityStart","byTime","isAvailabilityStop","readableWeekDayNames","day","releaseOptions","orderedWeekdays","values","sort","a","b","indexOf","getWeekDaysNameString","addDailyTimeFields","addScheduleRule","addWeeklyTimeFields","availabilityStateType","availableStopType","availableStartTime","availableStopTime","launchType","destroyType","availableStartDay","availableStopDay","_angular_core__WEBPACK_IMPORTED_MODULE_3__","StackCreateService","sendStackEvent","stackCreateSubject","sortPermissionsInPermissionGroups","permissionGroups","permissionGroupsClone","cloneDeep","Array","from","pGroup","originalArray","get","permissions","sortPermissionsArray","set","permissionsArray","customOrder","permission1","permission2","indexA","split","pop","indexB","registry","Registry","Graph","register","unregister","node","getComponentName","Error","content","FunctionExt","graph","AngularShape","Node","store","getMarkup","useForeignObject","primer","markup","tagName","selector","push","Markup","view","attrs","body","fill","stroke","refWidth","refHeight","fo","fontSize","refX","refY","textAnchor","textVerticalAnchor","propHooks","metadata","refCx","refCy","refR","refRx","refRy","ObjectExt","config","AngularShapeView","NodeView","init","super","getContentContainer","foContent","confirmUpdate","flag","ret","handleAction","action","Scheduler","renderAngularContent","unmountAngularContent","root","cell","injector","hook","getAngularContent","applicationRef","ApplicationRef","ViewContainerRef","componentFactoryResolver","ComponentFactoryResolver","domOutlet","DomPortalOutlet","TemplateRef","ngArguments","_a","portal","TemplatePortal","attachTemplatePortal","ComponentPortal","attachComponentPortal","renderComponentInstance","v","changeDetectorRef","detectChanges","on","innerHTML","unmount","bootstrap","actions"],"mappings":";;gKAAAA,sCAEEA,uEAGFA,iBCEO,IAAMC,EAAiB,MAAxB,MAAOA,EAKXC,cAAe,CAACC,kDALLF,EAAiB,sCAAjBA,EAAiBG,sVDP9BJ,uBAKAA,8BAFGA,8BAKAA,kRCDUC,CAAiB,iLCmBlBD,kBAGC,aACqBA,SAAeA,QACnCA,mDAQFA,6CATsBA,mCAElBA,4GAPNA,kBACEA,4CAcFA,wCAZqBA,sGAiBnBA,8BAOEA,kFAAWA,2BAA2B,GACvCA,2CANCA,6EAAsC,qFAAtCA,CAAsC,6FAAtCA,CAAsC,iFAAtCA,CAAsC,wJAOxCA,8BAOEA,iFAAWA,wBAAkB,GAC9BA,2CANCA,6CAA8B,+EAflCA,kBAIEA,oCASAA,oCASFA,wCAjBKA,sDASAA,6FAWLA,8BAUEA,mHACiBA,wD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