@spotify/backstage-plugin-soundcheck 0.16.0 → 0.16.2
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/CHANGELOG.md +67 -0
- package/dist/alpha/entity-content.esm.js +1 -1
- package/dist/alpha/pages.esm.js +1 -1
- package/dist/alpha.d.ts +62 -47
- package/dist/api.esm.js +1 -1
- package/dist/components/AlertPanel/AlertPanel.esm.js +1 -1
- package/dist/components/AreaChart/AreaChart.esm.js +1 -1
- package/dist/components/AreaChart/ChartTooltip.esm.js +1 -1
- package/dist/components/AreaChart/Legend.esm.js +1 -1
- package/dist/components/AreaChart/LegendItem.esm.js +1 -1
- package/dist/components/Badges/BaseBadge.esm.js +1 -1
- package/dist/components/Badges/CampaignBadge.esm.js +1 -1
- package/dist/components/Badges/CertificationBadge.esm.js +1 -1
- package/dist/components/Badges/LevelBadge.esm.js +1 -1
- package/dist/components/Badges/NoLevelBadge.esm.js +2 -2
- package/dist/components/Badges/PlaylistBadge.esm.js +1 -1
- package/dist/components/Badges/StatusBadge.esm.js +1 -1
- package/dist/components/CacheConfig/CacheConfigComponent.esm.js +1 -1
- package/dist/components/CampaignCreatePage/CampaignCreatePage.esm.js +1 -1
- package/dist/components/CampaignForm/CampaignForm.esm.js +1 -1
- package/dist/components/CampaignForm/Steps/CampaignDetailsStep/CampaignDescriptionField.esm.js +1 -1
- package/dist/components/CampaignForm/Steps/CampaignDetailsStep/CampaignDetailsStep.esm.js +1 -1
- package/dist/components/CampaignForm/Steps/CampaignDetailsStep/CampaignDraftField.esm.js +2 -0
- package/dist/components/CampaignForm/Steps/CampaignDetailsStep/CampaignNameField.esm.js +1 -1
- package/dist/components/CampaignForm/Steps/CampaignDetailsStep/CampaignOwnerField.esm.js +1 -1
- package/dist/components/CampaignForm/Steps/CampaignDetailsStep/CampaignScheduleField.esm.js +1 -1
- package/dist/components/CampaignForm/Steps/CampaignDetailsStep/CampaignSupportChannelField.esm.js +1 -1
- package/dist/components/CampaignForm/Steps/CampaignDetailsStep/EndDateChips.esm.js +1 -1
- package/dist/components/CampaignForm/Steps/CampaignMilestonesStep.esm.js +1 -1
- package/dist/components/CampaignForm/Steps/CampaignTrackStepNew.esm.js +2 -0
- package/dist/components/CampaignForm/hooks/useCampaignForm.esm.js +1 -1
- package/dist/components/CampaignForm/hooks/utils.esm.js +1 -1
- package/dist/components/CampaignForm/utils/campaignFormUtils.esm.js +1 -1
- package/dist/components/CampaignForm/utils/validation.esm.js +1 -1
- package/dist/components/CampaignInsightsPage/CampaignInsightsPage.esm.js +1 -1
- package/dist/components/CampaignInsightsPage/CampaignStatusHistoryTile.esm.js +1 -1
- package/dist/components/CampaignInsightsPage/CampaignStatusTile.esm.js +1 -1
- package/dist/components/CampaignInsightsPage/DaysRemainingTile.esm.js +1 -1
- package/dist/components/CampaignsPage/CampaignEmptyState.esm.js +1 -1
- package/dist/components/CampaignsPage/CampaignListPage/CampaignListPage.esm.js +1 -1
- package/dist/components/CampaignsPage/CampaignListPage/CampaignMetadata.esm.js +1 -1
- package/dist/components/CampaignsPage/CampaignListPage/CampaignSummaryCard.esm.js +1 -1
- package/dist/components/CampaignsPage/CampaignListPage/CampaignsOverviewSkeleton.esm.js +1 -1
- package/dist/components/CampaignsPage/CampaignListPage/useArchiveConfirmationModal.esm.js +1 -1
- package/dist/components/CampaignsPage/CampaignsPage.esm.js +1 -1
- package/dist/components/CampaignsPage/EditCampaignView.esm.js +1 -1
- package/dist/components/CategoryBar/CategoryBar.esm.js +1 -1
- package/dist/components/CertificationAccordion/CertificationAccordion.esm.js +1 -1
- package/dist/components/CertificationSidebar/CertificationLevel.esm.js +1 -1
- package/dist/components/CertificationSidebar/CertificationSidebar.esm.js +1 -1
- package/dist/components/CertificationSidebar/CertificationSummary.esm.js +1 -1
- package/dist/components/CertificationSidebar/Check.esm.js +1 -1
- package/dist/components/CertificationSidebar/CheckResultInputPopup.esm.js +2 -0
- package/dist/components/CertificationSidebar/CheckResultSummaryList.esm.js +1 -1
- package/dist/components/CertificationSidebar/ExemptionJustificationDialog.esm.js +2 -0
- package/dist/components/CertificationSidebar/LevelSummary.esm.js +1 -1
- package/dist/components/CertificationSidebar/StatusDetails.esm.js +1 -1
- package/dist/components/CertificationSidebar/skeletons/CertificationSidebarSkeleton.esm.js +1 -1
- package/dist/components/CertificationSidebar/skeletons/CertificationSummarySkeleton.esm.js +1 -1
- package/dist/components/CertificationSidebar/skeletons/CheckSkeleton.esm.js +1 -1
- package/dist/components/CertificationSidebar/skeletons/LevelSummarySkeleton.esm.js +1 -1
- package/dist/components/CertificationsPage/CertificationTab.esm.js +1 -1
- package/dist/components/CertificationsPage/CertificationTabs.esm.js +1 -1
- package/dist/components/CertificationsPage/CertificationsPage.esm.js +1 -1
- package/dist/components/CertificationsPage/Playlist/PlaylistComponent.esm.js +1 -1
- package/dist/components/CertificationsPage/Playlist/PlaylistContext.esm.js +1 -1
- package/dist/components/CertificationsPage/Playlist/PlaylistProgress.esm.js +1 -1
- package/dist/components/CertificationsPage/Playlist/PlaylistSummary.esm.js +1 -1
- package/dist/components/CertificationsPage/PlaylistCertificationTab.esm.js +1 -1
- package/dist/components/CertificationsPage/skeletons/CertificationTabSkeleton.esm.js +1 -1
- package/dist/components/CertificationsPage/skeletons/CertificationTabsSkeleton.esm.js +1 -1
- package/dist/components/Charts/BarChart/BarChart.esm.js +1 -1
- package/dist/components/Charts/BarChart/BarChartPlaceholder.esm.js +1 -1
- package/dist/components/Charts/BarChart/GroupPassRateHistoryBarChart.esm.js +1 -1
- package/dist/components/Charts/BarChart/TrackSummaryBarChart.esm.js +1 -1
- package/dist/components/Charts/ChartWrapper/ChartWrapper.esm.js +1 -1
- package/dist/components/Charts/LineChart/EntityPassRateHistoryLineChart.esm.js +1 -1
- package/dist/components/Charts/LineChart/LineChart.esm.js +1 -1
- package/dist/components/Charts/LineChart/LineChartPlaceholder.esm.js +1 -1
- package/dist/components/Charts/LineChart/PassRateHistoryLineChart.esm.js +1 -1
- package/dist/components/Charts/LineChart/TableLineChart.esm.js +1 -1
- package/dist/components/Charts/LineChart/TrackPassRateHistoryLineChart.esm.js +1 -1
- package/dist/components/Charts/LoadingChart.esm.js +2 -0
- package/dist/components/Charts/chartUtils.esm.js +1 -1
- package/dist/components/CheckCard/CheckCard.esm.js +1 -1
- package/dist/components/CheckCard/CheckHistoryChart.esm.js +1 -1
- package/dist/components/CheckCreatePage/CheckCreatePage.esm.js +1 -1
- package/dist/components/CheckDetails/CheckDetails.esm.js +1 -1
- package/dist/components/CheckDetails/CheckResultDetails.esm.js +1 -1
- package/dist/components/CheckDetails/CollapseRow.esm.js +1 -1
- package/dist/components/CheckDetails/FactTable.esm.js +1 -1
- package/dist/components/CheckDetails/FixMeDialog.esm.js +1 -1
- package/dist/components/CheckDetails/JustificationDetails.esm.js +2 -0
- package/dist/components/CheckDetails/OngoingTaskComponent.esm.js +1 -1
- package/dist/components/CheckDetails/ResolvedValueTable.esm.js +1 -1
- package/dist/components/CheckDetails/ResultStateBox.esm.js +1 -1
- package/dist/components/CheckDetails/ReviewStateComponent.esm.js +1 -1
- package/dist/components/CheckDetails/SelectedValueContext.esm.js +1 -1
- package/dist/components/CheckDetails/skeletons/CheckDetailsSkeleton.esm.js +1 -1
- package/dist/components/CheckDryRun/CheckDryRun.esm.js +1 -1
- package/dist/components/CheckDryRun/CheckDryRunContext.esm.js +1 -1
- package/dist/components/CheckDryRun/CheckDryRunDetails.esm.js +1 -1
- package/dist/components/CheckDryRun/CheckDryRunDialog.esm.js +1 -1
- package/dist/components/CheckDryRun/CheckDryRunDialogButton.esm.js +1 -1
- package/dist/components/CheckForm/CheckForm.esm.js +1 -1
- package/dist/components/CheckForm/FormFields/CheckDescriptionInput/CheckDescriptionInput.esm.js +1 -1
- package/dist/components/CheckForm/FormFields/CheckNameInput/CheckNameInput.esm.js +1 -1
- package/dist/components/CheckForm/FormFields/CheckPathResolverInput.esm.js +1 -1
- package/dist/components/CheckForm/FormFields/CheckScheduleSection/ScheduleSection.esm.js +1 -1
- package/dist/components/CheckForm/FormFields/CheckTypeInput/CheckTypeInput.esm.js +2 -0
- package/dist/components/CheckForm/FormFields/PassFailMessageInput/PassFailMessageInput.esm.js +1 -1
- package/dist/components/CheckForm/FormFields/RuleInput/AddMenuButton.esm.js +1 -1
- package/dist/components/CheckForm/FormFields/RuleInput/Conditions/ConditionList.esm.js +1 -1
- package/dist/components/CheckForm/FormFields/RuleInput/Conditions/FactValueDisplay.esm.js +1 -1
- package/dist/components/CheckForm/FormFields/RuleInput/Conditions/RuleConditionInput.esm.js +1 -1
- package/dist/components/CheckForm/FormFields/RuleInput/Conditions/ValueListContext.esm.js +1 -1
- package/dist/components/CheckForm/FormFields/RuleInput/Conditions/ValueListInput.esm.js +1 -1
- package/dist/components/CheckForm/FormFields/RuleInput/Expressions/ExpressionBox.esm.js +1 -1
- package/dist/components/CheckForm/FormFields/RuleInput/Expressions/ExpressionTypeToggle.esm.js +1 -1
- package/dist/components/CheckForm/FormFields/RuleInput/RuleInputBox.esm.js +1 -1
- package/dist/components/CheckForm/FormFields/TeamDetailsInput/TeamDetailsInput.esm.js +1 -1
- package/dist/components/CheckForm/Steps/CheckApplicabilityStep.esm.js +2 -0
- package/dist/components/CheckForm/Steps/CheckDetailsStep.esm.js +1 -1
- package/dist/components/CheckForm/Steps/CheckReviewStep.esm.js +1 -1
- package/dist/components/CheckForm/Steps/CheckRulesStep.esm.js +1 -1
- package/dist/components/CheckForm/useCheckForm.esm.js +1 -1
- package/dist/components/CheckForm/utils/checkFormUtils.esm.js +2 -2
- package/dist/components/CheckForm/utils/validation.esm.js +1 -1
- package/dist/components/CheckHistoryChartCard/CheckHistoryChartCard.esm.js +1 -1
- package/dist/components/CheckIcon/CheckIcon.esm.js +1 -1
- package/dist/components/CheckPage/CheckEditPage.esm.js +1 -1
- package/dist/components/CheckPage/CheckEditView.esm.js +1 -1
- package/dist/components/CheckPage/CheckEntitiesTable/CheckEntitiesTable.esm.js +1 -1
- package/dist/components/CheckPage/CheckEntitiesTable/columns.esm.js +1 -1
- package/dist/components/CheckPage/CheckInsightsPage.esm.js +1 -1
- package/dist/components/CheckPage/CheckStatusHistoryChart.esm.js +1 -1
- package/dist/components/CheckPage/CheckStatusTable.esm.js +1 -1
- package/dist/components/CheckSelection/CheckPreview.esm.js +2 -0
- package/dist/components/CheckSelection/CheckPreviewContext.esm.js +2 -0
- package/dist/components/CheckSelection/CheckSelection.esm.js +2 -0
- package/dist/components/CheckStatusBar/CheckStatusBar.esm.js +2 -0
- package/dist/components/CheckTemplatesPage/CheckTemplatesPage.esm.js +1 -1
- package/dist/components/CheckTemplatesPage/TemplateCategory.esm.js +1 -1
- package/dist/components/ChecksPage/CheckListPage/CheckListPage.esm.js +1 -1
- package/dist/components/ChecksPage/CheckListPage/CheckMetadata.esm.js +1 -1
- package/dist/components/ChecksPage/CheckListPage/CheckSummaryCard.esm.js +1 -1
- package/dist/components/ChecksPage/ChecksPage.esm.js +1 -1
- package/dist/components/ChecksPage/skeletons/ChecksOverviewSkeleton.esm.js +1 -1
- package/dist/components/ChecksTab/ChecksTab.esm.js +1 -1
- package/dist/components/CollectorPage/CollectorPage.esm.js +1 -1
- package/dist/components/CollectorPage/Configurators/AzureDevOps/AzureDevOpsConfigurator.esm.js +1 -1
- package/dist/components/CollectorPage/Configurators/AzureDevOps/NumberOfDaysComponent.esm.js +1 -1
- package/dist/components/CollectorPage/Configurators/AzureDevOps/NumberOfWorkItemsComponent.esm.js +1 -1
- package/dist/components/CollectorPage/Configurators/AzureDevOps/validation.esm.js +1 -1
- package/dist/components/CollectorPage/Configurators/BigQuery/BigQueryConfigurator.esm.js +1 -1
- package/dist/components/CollectorPage/Configurators/BigQuery/QueryFactDetailsComponent.esm.js +1 -1
- package/dist/components/CollectorPage/Configurators/BigQuery/validation.esm.js +1 -1
- package/dist/components/CollectorPage/Configurators/Catalog/CatalogConfigurator.esm.js +1 -1
- package/dist/components/CollectorPage/Configurators/Common/CollectorSchedulingOptions.esm.js +1 -1
- package/dist/components/CollectorPage/Configurators/Common/FactCollectionConfig.esm.js +1 -1
- package/dist/components/CollectorPage/Configurators/Common/utils.esm.js +1 -1
- package/dist/components/CollectorPage/Configurators/Configurator.esm.js +1 -1
- package/dist/components/CollectorPage/Configurators/DataDog/DataDogConfigurator.esm.js +1 -1
- package/dist/components/CollectorPage/Configurators/DataRegistry/DataRegistryConfigurator.esm.js +2 -0
- package/dist/components/CollectorPage/Configurators/DataRegistry/utils.esm.js +2 -0
- package/dist/components/CollectorPage/Configurators/Github/CodeScanningAlertsFactDetails.esm.js +2 -0
- package/dist/components/CollectorPage/Configurators/Github/DependabotAlertsFactDetails.esm.js +2 -0
- package/dist/components/CollectorPage/Configurators/Github/GithubConfigurator.esm.js +1 -1
- package/dist/components/CollectorPage/Configurators/Github/SecretScanningAlertsFactDetails.esm.js +2 -0
- package/dist/components/CollectorPage/Configurators/Github/SecurityAdvisoriesFactDetails.esm.js +2 -0
- package/dist/components/CollectorPage/Configurators/Github/types.esm.js +2 -0
- package/dist/components/CollectorPage/Configurators/Github/utils.esm.js +1 -1
- package/dist/components/CollectorPage/Configurators/Github/validation.esm.js +2 -0
- package/dist/components/CollectorPage/Configurators/Gitlab/GitlabConfigurator.esm.js +1 -1
- package/dist/components/CollectorPage/Configurators/HTTP/HttpConfigurator.esm.js +1 -1
- package/dist/components/CollectorPage/Configurators/HTTP/HttpRequestComponent.esm.js +1 -1
- package/dist/components/CollectorPage/Configurators/HTTP/HttpResponseComponent.esm.js +1 -1
- package/dist/components/CollectorPage/Configurators/HTTP/HttpRetriesComponent.esm.js +1 -1
- package/dist/components/CollectorPage/Configurators/HTTP/HttpStatusesInput.esm.js +1 -1
- package/dist/components/CollectorPage/Configurators/HTTP/RequestFactDetailsComponent.esm.js +1 -1
- package/dist/components/CollectorPage/Configurators/HTTP/validation.esm.js +1 -1
- package/dist/components/CollectorPage/Configurators/Jira/IssuesSearchFactDetailsComponent.esm.js +1 -1
- package/dist/components/CollectorPage/Configurators/Jira/JiraConfigurator.esm.js +1 -1
- package/dist/components/CollectorPage/Configurators/Jira/validation.esm.js +1 -1
- package/dist/components/CollectorPage/Configurators/Kubernetes/KubernetesConfigurator.esm.js +1 -1
- package/dist/components/CollectorPage/Configurators/Kubernetes/KubernetesFactDetails.esm.js +1 -1
- package/dist/components/CollectorPage/Configurators/Kubernetes/validation.esm.js +1 -1
- package/dist/components/CollectorPage/Configurators/NewRelic/NewRelicConfigurator.esm.js +1 -1
- package/dist/components/CollectorPage/Configurators/PagerDuty/IncidentsFactDetailsComponent.esm.js +1 -1
- package/dist/components/CollectorPage/Configurators/PagerDuty/PagerDutyConfigurator.esm.js +1 -1
- package/dist/components/CollectorPage/Configurators/PagerDuty/StatusesComponent.esm.js +1 -1
- package/dist/components/CollectorPage/Configurators/PagerDuty/validation.esm.js +1 -1
- package/dist/components/CollectorPage/Configurators/SCM/ExistsFactDetailsComponent.esm.js +1 -1
- package/dist/components/CollectorPage/Configurators/SCM/FactDetailsComponent.esm.js +1 -1
- package/dist/components/CollectorPage/Configurators/SCM/JsonFactDetailsComponent.esm.js +1 -1
- package/dist/components/CollectorPage/Configurators/SCM/RegexFactDetailsComponent.esm.js +1 -1
- package/dist/components/CollectorPage/Configurators/SCM/ScmConfigurator.esm.js +1 -1
- package/dist/components/CollectorPage/Configurators/SCM/utils.esm.js +1 -1
- package/dist/components/CollectorPage/Configurators/SCM/validation.esm.js +1 -1
- package/dist/components/CollectorPage/Configurators/SonarQube/IssuesFactDetailsInput.esm.js +2 -0
- package/dist/components/CollectorPage/Configurators/SonarQube/MeasuresFactDetailsInput.esm.js +1 -1
- package/dist/components/CollectorPage/Configurators/SonarQube/MetricsInput.esm.js +1 -1
- package/dist/components/CollectorPage/Configurators/SonarQube/SonarQubeConfigurator.esm.js +1 -1
- package/dist/components/CollectorPage/Configurators/SonarQube/utils.esm.js +1 -1
- package/dist/components/CollectorPage/Configurators/SonarQube/validation.esm.js +1 -1
- package/dist/components/CollectorsPage/CollectorListPage/CollectorListPage.esm.js +1 -1
- package/dist/components/CollectorsPage/CollectorListPage/CollectorListSkeleton.esm.js +1 -1
- package/dist/components/CollectorsPage/CollectorListPage/CollectorLogo.esm.js +1 -1
- package/dist/components/CollectorsPage/CollectorListPage/CollectorSummaryCard.esm.js +1 -1
- package/dist/components/CollectorsPage/CollectorsPage.esm.js +1 -1
- package/dist/components/EmptyState/EmptyState.esm.js +1 -1
- package/dist/components/EntitiesAutocompletePicker/EntitiesAutocompletePicker.esm.js +2 -0
- package/dist/components/EntityChip/EntityChip.esm.js +1 -1
- package/dist/components/EntityContent/EntityContent.esm.js +1 -1
- package/dist/components/EntityPassRateCard/EntityPassRateCard.esm.js +1 -1
- package/dist/components/EntitySoundcheckCard/Card.esm.js +1 -1
- package/dist/components/EntitySoundcheckCard/EntitySoundcheckCard.esm.js +1 -1
- package/dist/components/EntitySoundcheckCard/skeletons/CardSkeleton.esm.js +1 -1
- package/dist/components/EntitySoundcheckContent.esm.js +1 -1
- package/dist/components/Expand/Expand.esm.js +1 -1
- package/dist/components/ExpandableSection/ExpandableSection.esm.js +1 -1
- package/dist/components/FactExplorer/FactExplorer.esm.js +1 -1
- package/dist/components/FactExplorer/FactExplorerContext.esm.js +1 -1
- package/dist/components/FactExplorer/FactExplorerDialog.esm.js +1 -1
- package/dist/components/FadeIn/FadeIn.esm.js +1 -1
- package/dist/components/Filter/EntityAutocompletePicker.esm.js +1 -1
- package/dist/components/Filter/FilterComponent.esm.js +1 -1
- package/dist/components/Filter/FilterKeyValueInput.esm.js +1 -1
- package/dist/components/Filter/FilterPreviewTable/EntityTableColumns.esm.js +1 -1
- package/dist/components/Filter/FilterPreviewTable/FilterPreviewTable.esm.js +1 -1
- package/dist/components/Filter/KeyValueInputDialog.esm.js +1 -1
- package/dist/components/FilterSidebar/FilterSidebar.esm.js +2 -0
- package/dist/components/FilterSidebar/StateFilter.esm.js +2 -0
- package/dist/components/FooterButtons/FooterButtons.esm.js +1 -1
- package/dist/components/FormControlledAutocomplete/ControlledAutocomplete.esm.js +1 -1
- package/dist/components/FormControlledAutocomplete/FormControlledAutocomplete.esm.js +1 -1
- package/dist/components/FormControlledAutocomplete/FormControlledMultipleAutocomplete.esm.js +2 -0
- package/dist/components/FormControlledSelect/FormControlledSelect.esm.js +1 -1
- package/dist/components/FormControlledTextField/FormControlledTextField.esm.js +1 -1
- package/dist/components/FormFieldLabel/FormFieldLabel.esm.js +1 -1
- package/dist/components/FormFilterSection/FormFilterSection.esm.js +1 -1
- package/dist/components/FormMarkdownInput/FormMarkdownInput.esm.js +1 -1
- package/dist/components/FormStepper/FormStepper.esm.js +1 -1
- package/dist/components/FormTextInput/FormTextInput.esm.js +1 -1
- package/dist/components/FormattedPreview/FormattedPreview.esm.js +2 -2
- package/dist/components/Frequency/FrequencyComponent.esm.js +1 -1
- package/dist/components/GroupPassRateCard/GroupPassRateCard.esm.js +1 -1
- package/dist/components/GroupSelector/GroupSelector.esm.js +1 -1
- package/dist/components/LevelUpParty/LevelUpParty.esm.js +1 -1
- package/dist/components/LevelsTable/CheckRowContent.esm.js +2 -0
- package/dist/components/LevelsTable/LevelsTable.esm.js +2 -0
- package/dist/components/ListboxVirtualized/ListboxVirtualized.esm.js +1 -1
- package/dist/components/LoadingIndicator/LoadingIndicator.esm.js +1 -1
- package/dist/components/MultiSelectFilter/MultiSelectFilter.esm.js +1 -1
- package/dist/components/NoBorderButton/NoBorderButton.esm.js +1 -1
- package/dist/components/OrgHealth/OrgHealthPage.esm.js +2 -0
- package/dist/components/OverviewChartCard/OverviewChartCard.esm.js +1 -1
- package/dist/components/OverviewPage/FixedGroupOverviewPage.esm.js +1 -1
- package/dist/components/OverviewPage/OverviewPage.esm.js +1 -1
- package/dist/components/OverviewPage/OverviewPageContent.esm.js +1 -1
- package/dist/components/OverviewPage/OverviewPageHeader.esm.js +1 -1
- package/dist/components/OverviewTable/Cell/CheckCell.esm.js +1 -1
- package/dist/components/OverviewTable/Cell/CheckCellTooltip.esm.js +1 -1
- package/dist/components/OverviewTable/Cell/CheckLabelCell.esm.js +1 -1
- package/dist/components/OverviewTable/Cell/CheckNameCell.esm.js +1 -1
- package/dist/components/OverviewTable/Cell/EntityRefCell.esm.js +1 -1
- package/dist/components/OverviewTable/Cell/TrackBadgeCell.esm.js +1 -1
- package/dist/components/OverviewTable/Cell/TrackCheckIndicator.esm.js +1 -1
- package/dist/components/OverviewTable/Cell/TrackLevelHeaderCell.esm.js +1 -1
- package/dist/components/OverviewTable/Cell/TrackTitleCell.esm.js +1 -1
- package/dist/components/OverviewTable/Cell/cellRenderer.esm.js +1 -1
- package/dist/components/OverviewTable/OverviewTable.esm.js +1 -1
- package/dist/components/OverviewTable/OverviewTableContent.esm.js +1 -1
- package/dist/components/OverviewTable/OverviewTableSkeleton.esm.js +1 -1
- package/dist/components/OverviewTable/ResultsTable.esm.js +1 -1
- package/dist/components/OverviewTable/ResultsTableHeader.esm.js +1 -1
- package/dist/components/OverviewTable/ResultsTableRow.esm.js +1 -1
- package/dist/components/PageWarningMessage/PageWarningMessage.esm.js +1 -1
- package/dist/components/Pagination/CursorPagination.esm.js +1 -1
- package/dist/components/Pagination/Pagination.esm.js +1 -1
- package/dist/components/PassRateGrid/PassRateGrid.esm.js +1 -1
- package/dist/components/PassRateGrid/PassRateMetadata.esm.js +1 -1
- package/dist/components/PassRateTable/NewPassRateTable.esm.js +1 -1
- package/dist/components/PassRateTable/PassRateTable.esm.js +2 -2
- package/dist/components/QuickstartPage/HowDoIListItem.esm.js +1 -1
- package/dist/components/QuickstartPage/QuickStartChecksCard.esm.js +1 -1
- package/dist/components/QuickstartPage/QuickstartCardBase.esm.js +1 -1
- package/dist/components/QuickstartPage/QuickstartCollectorConfigurationsCard.esm.js +1 -1
- package/dist/components/QuickstartPage/QuickstartPage.esm.js +1 -1
- package/dist/components/QuickstartPage/QuickstartTracksCard.esm.js +1 -1
- package/dist/components/QuickstartPage/WelcomeHelpSection.esm.js +6 -6
- package/dist/components/QuickstartPage/WelcomeModal.esm.js +1 -1
- package/dist/components/RefetchingIndicator/RefetchingIndicator.esm.js +1 -1
- package/dist/components/RelativeTime/RelativeTime.esm.js +1 -1
- package/dist/components/RichTooltip/RichTooltip.esm.js +1 -1
- package/dist/components/Router.esm.js +1 -1
- package/dist/components/RoutingPage/RoutingPage.esm.js +1 -1
- package/dist/components/RuleResult/BranchResultComponent.esm.js +1 -1
- package/dist/components/RuleResult/ConditionResultComponent.esm.js +1 -1
- package/dist/components/RuleResult/RuleResultComponent.esm.js +1 -1
- package/dist/components/SearchBar/SearchBar.esm.js +1 -1
- package/dist/components/SearchFilters/SearchFilters.esm.js +1 -1
- package/dist/components/SoundcheckDialog/SoundcheckDialog.esm.js +1 -1
- package/dist/components/SoundcheckHeader/Breadcrumbs.esm.js +1 -1
- package/dist/components/SoundcheckHeader/SoundcheckHeader.esm.js +1 -1
- package/dist/components/SoundcheckHeader/SoundcheckHeaderContext.esm.js +1 -1
- package/dist/components/SoundcheckHeader/headerUtil.esm.js +1 -1
- package/dist/components/SoundcheckMarkdownContent/ComponentRenders.esm.js +2 -0
- package/dist/components/SoundcheckMarkdownContent/SoundcheckMarkdownContent.esm.js +2 -0
- package/dist/components/SoundcheckQueryClientProvider/SoundcheckQueryClientProvider.esm.js +1 -1
- package/dist/components/SummaryCard/SummaryCard.esm.js +1 -1
- package/dist/components/SummaryCard/SummaryCardActionsMenu.esm.js +1 -1
- package/dist/components/TechHealth/Filters/FacetFilter.esm.js +1 -1
- package/dist/components/TechHealth/Filters/FilterProvider.esm.js +1 -1
- package/dist/components/TechHealth/Filters/Filters.esm.js +1 -1
- package/dist/components/TechHealth/Filters/FiltersHeader.esm.js +1 -1
- package/dist/components/TechHealth/Filters/FiltersSection.esm.js +1 -1
- package/dist/components/TechHealth/Filters/NumberOfDaysFilter.esm.js +1 -1
- package/dist/components/TechHealth/Filters/useFacetOptions.esm.js +1 -1
- package/dist/components/TechHealth/Loading/Emoji.esm.js +1 -1
- package/dist/components/TechHealth/Loading/EmojiFountain.esm.js +1 -1
- package/dist/components/TechHealth/Loading/Loading.esm.js +1 -1
- package/dist/components/TechHealth/Loading/TechHealthLoading.esm.js +1 -1
- package/dist/components/TechHealth/TechHealth.esm.js +1 -1
- package/dist/components/TechHealthSummary/SummaryAggregationsProvider.esm.js +1 -1
- package/dist/components/TechHealthSummary/TechHealthSummary.esm.js +1 -1
- package/dist/components/TechHealthTabs/ActionColumn.esm.js +1 -1
- package/dist/components/TechHealthTabs/CampaignResultsTab/CampaignResultsTab.esm.js +1 -1
- package/dist/components/TechHealthTabs/CheckResultsTab/CheckResultsTab.esm.js +1 -1
- package/dist/components/TechHealthTabs/CheckResultsTab/CheckTrendColumn.esm.js +1 -1
- package/dist/components/TechHealthTabs/EntityResultsTab/EntityResultsTab.esm.js +1 -1
- package/dist/components/TechHealthTabs/EntityResultsTab/EntityTrendColumn.esm.js +1 -1
- package/dist/components/TechHealthTabs/GroupResultsTab/GroupResultsTab.esm.js +1 -1
- package/dist/components/TechHealthTabs/GroupResultsTab/GroupTrendColumn.esm.js +1 -1
- package/dist/components/TechHealthTabs/MostRecentColumn.esm.js +1 -1
- package/dist/components/TechHealthTabs/NameColumn.esm.js +1 -1
- package/dist/components/TechHealthTabs/OwnerColumn.esm.js +1 -1
- package/dist/components/TechHealthTabs/PassRateTabHeader.esm.js +1 -1
- package/dist/components/TechHealthTabs/TrackResultsTab/TrackLevelTrendColumn.esm.js +1 -1
- package/dist/components/TechHealthTabs/TrackResultsTab/TrackResultsTab.esm.js +1 -1
- package/dist/components/TechHealthTabs/techHealthTabUtils.esm.js +1 -1
- package/dist/components/TopFailingChecksTable/TopFailingChecksTable.esm.js +2 -0
- package/dist/components/TrackCreatePage/TrackCreatePage.esm.js +1 -1
- package/dist/components/TrackEditPage/TrackEditPage.esm.js +1 -1
- package/dist/components/TrackEditPage/TrackEditView.esm.js +1 -1
- package/dist/components/TrackForm/Steps/LevelsStep/LevelsStepNew.esm.js +2 -0
- package/dist/components/TrackForm/Steps/TrackDetailsStep/TrackBadgeTypeSelect/TrackBadgeTypeSelect.esm.js +1 -1
- package/dist/components/TrackForm/Steps/TrackDetailsStep/TrackDescriptionInput/TrackDescriptionInput.esm.js +1 -1
- package/dist/components/TrackForm/Steps/TrackDetailsStep/TrackDetailsStep.esm.js +1 -1
- package/dist/components/TrackForm/Steps/TrackDetailsStep/TrackDocumentationUrlInput/TrackDocumentationUrlInput.esm.js +1 -1
- package/dist/components/TrackForm/Steps/TrackDetailsStep/TrackDraftInput/TrackDraftInput.esm.js +2 -0
- package/dist/components/TrackForm/Steps/TrackDetailsStep/TrackNameInput/TrackNameInput.esm.js +1 -1
- package/dist/components/TrackForm/Steps/TrackDetailsStep/TrackOwnerSelect/TrackOwnerSelect.esm.js +1 -1
- package/dist/components/TrackForm/TrackForm.esm.js +1 -1
- package/dist/components/TrackForm/utils/useTrackForm.esm.js +1 -1
- package/dist/components/TrackHistoryChartCard/TrackHistoryChartCard.esm.js +1 -1
- package/dist/components/TrackPage/FilterBar/FilterBar.esm.js +1 -1
- package/dist/components/TrackPage/TrackEntitiesTable/TrackEntitiesTable.esm.js +1 -1
- package/dist/components/TrackPage/TrackEntitiesTable/TrackStatusChip.esm.js +1 -1
- package/dist/components/TrackPage/TrackEntitiesTable/columns.esm.js +1 -1
- package/dist/components/TrackPage/TrackEntitiesTable/utils.esm.js +1 -1
- package/dist/components/TrackPage/TrackHistoryChart.esm.js +1 -1
- package/dist/components/TrackPage/TrackPage.esm.js +1 -1
- package/dist/components/TrackPage/TrackProgressCard.esm.js +1 -1
- package/dist/components/TrackPage/TrackStatus.esm.js +2 -0
- package/dist/components/TrackPage/TrackStatusBar.esm.js +2 -0
- package/dist/components/TrackPage/TrackStatusTable.esm.js +2 -0
- package/dist/components/TracksPage/TrackListPage/TrackListPage.esm.js +1 -1
- package/dist/components/TracksPage/TrackListPage/TrackMetadata.esm.js +1 -1
- package/dist/components/TracksPage/TrackListPage/TrackSummaryCard.esm.js +1 -1
- package/dist/components/TracksPage/TrackListPage/TracksOverviewSkeleton.esm.js +1 -1
- package/dist/components/TracksPage/TracksPage.esm.js +1 -1
- package/dist/components/TracksTab/TracksTab.esm.js +1 -1
- package/dist/contexts/GenericFormContext.esm.js +1 -1
- package/dist/contexts/UserProvider.esm.js +1 -1
- package/dist/graphql/generated/index.esm.js +152 -65
- package/dist/hooks/aggregations/useCertificationStatus.esm.js +1 -1
- package/dist/hooks/aggregations/useCheckStatus.esm.js +1 -1
- package/dist/hooks/aggregations/useCheckStatuses.esm.js +1 -1
- package/dist/hooks/catalog/useGetEntityFacets.esm.js +1 -1
- package/dist/hooks/catalog/useGetEntityRefs.esm.js +1 -1
- package/dist/hooks/certifications/useAllCertifications.esm.js +1 -1
- package/dist/hooks/certifications/useCertificationDetails.esm.js +1 -1
- package/dist/hooks/certifications/useCertificationDetailsForTrack.esm.js +1 -1
- package/dist/hooks/checks/useCheck.esm.js +2 -0
- package/dist/hooks/checks/useDeleteCheck.esm.js +1 -1
- package/dist/hooks/checks/useGetChecks.esm.js +1 -1
- package/dist/hooks/checks/useSetManualResult.esm.js +2 -0
- package/dist/hooks/checks/useUpdateCheck.esm.js +1 -1
- package/dist/hooks/exemptions/useDeleteExemption.esm.js +2 -0
- package/dist/hooks/exemptions/useExemptCheckIds.esm.js +2 -0
- package/dist/hooks/exemptions/useGetExemption.esm.js +2 -0
- package/dist/hooks/exemptions/useSetEntityExempt.esm.js +2 -0
- package/dist/hooks/facets/useFacetFilters.esm.js +1 -1
- package/dist/hooks/graphqlKeys.esm.js +1 -1
- package/dist/hooks/tracks/useGetAllTracks.esm.js +1 -1
- package/dist/hooks/tracks/useTrack.esm.js +2 -0
- package/dist/hooks/tracks/useUpdateTrack.esm.js +1 -1
- package/dist/hooks/useConfirmationModal.esm.js +1 -1
- package/dist/hooks/useSoundcheckAlert.esm.js +1 -1
- package/dist/images/data-registry-blk.svg +36 -0
- package/dist/images/data-registry-wht.svg +36 -0
- package/dist/index.d.ts +4 -5
- package/dist/index.esm.js +1 -1
- package/dist/routes.esm.js +1 -1
- package/dist/utils/colors.esm.js +2 -0
- package/dist/utils/export.esm.js +3 -3
- package/dist/utils/formatters.esm.js +2 -0
- package/dist/utils/validation.esm.js +1 -1
- package/package.json +30 -26
- package/dist/components/Badges/badge.esm.js +0 -2
- package/dist/components/CampaignForm/Steps/CampaignTrackStep.esm.js +0 -2
- package/dist/components/CheckDetails/ExemptionDetails.esm.js +0 -2
- package/dist/components/CheckDryRun/checkDryRunUtils.esm.js +0 -2
- package/dist/components/CheckPage/CheckStatusBar.esm.js +0 -2
- package/dist/components/CheckPage/FilterBar/FilterBar.esm.js +0 -2
- package/dist/components/CheckPage/StatusRow.esm.js +0 -2
- package/dist/components/ChecksErrors/ChecksErrors.esm.js +0 -2
- package/dist/components/ContextMenu/ContextMenu.esm.js +0 -2
- package/dist/components/DraggableChip/DraggableChip.esm.js +0 -2
- package/dist/components/DraggableChip/chipStyles.esm.js +0 -2
- package/dist/components/DroppableInput/DroppableInput.esm.js +0 -2
- package/dist/components/LevelCard/LevelCard.esm.js +0 -2
- package/dist/components/LevelCard/LevelTooltip.esm.js +0 -2
- package/dist/components/TrackForm/Steps/LevelsStep/ChecksSection/ChecksSection.esm.js +0 -2
- package/dist/components/TrackForm/Steps/LevelsStep/LevelsSection/LevelChipsSection.esm.js +0 -2
- package/dist/components/TrackForm/Steps/LevelsStep/LevelsSection/LevelsSection.esm.js +0 -2
- package/dist/components/TrackForm/Steps/LevelsStep/LevelsStep.esm.js +0 -2
- package/dist/components/TrackPage/TrackLevelsChart.esm.js +0 -2
- package/dist/hooks/useContextMenu.esm.js +0 -2
package/CHANGELOG.md
CHANGED
|
@@ -1,5 +1,66 @@
|
|
|
1
1
|
# @spotify/backstage-plugin-soundcheck
|
|
2
2
|
|
|
3
|
+
## 0.16.2
|
|
4
|
+
|
|
5
|
+
### Patch Changes
|
|
6
|
+
|
|
7
|
+
- Minor style updates to the filter UI.
|
|
8
|
+
- Support a limited set of html tags for markdown including <details><summary>. <details> supports nested markdown.
|
|
9
|
+
- Minor performance improvement for pages requiring a single track and/or check.
|
|
10
|
+
- - Added possibility to filter SonarQube `issues` by statuses, severities and types.
|
|
11
|
+
- Added default limit of SonarQube `issues` to be collected (1000) to prevent out of memory issues.
|
|
12
|
+
- Added possibility to configure top-level filter, caching and frequency in YAML for SonarQube integration.
|
|
13
|
+
- Fixed the issue when SonarQube integration always used default metric keys if the fact name `measures` is used.
|
|
14
|
+
- Fixed the issue when `project-tags` fact was collected as an empty array.
|
|
15
|
+
- All errors occurred during SonarQube fact collection are surfaced to Soundcheck users.
|
|
16
|
+
- Breaking change: `projects` fact will contain only the details about the project associated with an entity.
|
|
17
|
+
- Removes an outdated banner.
|
|
18
|
+
- Soundcheck - Minor updates to manual checks and executions UI.
|
|
19
|
+
- Adds tooltips to check icons.
|
|
20
|
+
- Updates how checks are determined to be 'exempt' on entities' Soundcheck pages, making the 'show exempt' toggle more accurate.
|
|
21
|
+
- Adds a configuration card for the Data Registry Fact Collector.
|
|
22
|
+
- Fixed validation of fact names (prohibited spaces).
|
|
23
|
+
- Add new check input for Soundcheck Campaign forms.
|
|
24
|
+
- Redesign Track form levels input.
|
|
25
|
+
- Added support for check applicability rule.
|
|
26
|
+
- Update collector UI to make it more clear that configs are removed.
|
|
27
|
+
- Updated dependencies
|
|
28
|
+
- Updated dependencies
|
|
29
|
+
- Updated dependencies
|
|
30
|
+
- Updated dependencies
|
|
31
|
+
- @spotify/backstage-plugin-soundcheck-common@0.16.2
|
|
32
|
+
|
|
33
|
+
## 0.16.1
|
|
34
|
+
|
|
35
|
+
### Patch Changes
|
|
36
|
+
|
|
37
|
+
- Update to Backstage `v1.37.0`
|
|
38
|
+
- Updated dependency `@hookform/resolvers` to `^4.0.0`.
|
|
39
|
+
- Pass/fail messages now have a maximum height and will show scroll bars when needed.
|
|
40
|
+
- Checks which are not applicable or exempt are no longer shown on an entity's Soundcheck tab. Their visibility can be toggled and this option is persisted.
|
|
41
|
+
- Adds a configuration setting for MCE.
|
|
42
|
+
- Added support for the new GitHub fact types:
|
|
43
|
+
|
|
44
|
+
- Code Scanning Alerts
|
|
45
|
+
- Dependabot Alerts
|
|
46
|
+
- Secret Scanning Alerts
|
|
47
|
+
- Security Advisories
|
|
48
|
+
|
|
49
|
+
- Fix Exporting Checks and Tracks to YAML
|
|
50
|
+
- Soundcheck - Adds support for exempting an entity from a check.
|
|
51
|
+
- Soundcheck - Exporting a check now also exports the check's type when necessary.
|
|
52
|
+
- Ownership filters now only show groups matching the `soundcheck.entityFilters.groupFilter` filter if provided.
|
|
53
|
+
- Soundcheck - Adds the ability to specify a result for manual type checks.
|
|
54
|
+
- Misc UI and UX improvements on certification page.
|
|
55
|
+
- Soundcheck - Adds the ability to create manual-style checks via NCUI.
|
|
56
|
+
- Updated dependencies
|
|
57
|
+
- Updated dependencies
|
|
58
|
+
- Updated dependencies
|
|
59
|
+
- Updated dependencies
|
|
60
|
+
- Updated dependencies
|
|
61
|
+
- @spotify/backstage-plugin-core@0.8.7
|
|
62
|
+
- @spotify/backstage-plugin-soundcheck-common@0.16.1
|
|
63
|
+
|
|
3
64
|
## 0.16.0
|
|
4
65
|
|
|
5
66
|
### Minor Changes
|
|
@@ -48,6 +109,12 @@
|
|
|
48
109
|
- @spotify/backstage-plugin-core@0.8.6
|
|
49
110
|
- @spotify/backstage-plugin-soundcheck-common@0.16.0
|
|
50
111
|
|
|
112
|
+
## 0.15.1
|
|
113
|
+
|
|
114
|
+
### Patch Changes
|
|
115
|
+
|
|
116
|
+
- Enables filtering by system, type, lifecycle, and owner on the Check Insights page.
|
|
117
|
+
|
|
51
118
|
## 0.15.0
|
|
52
119
|
|
|
53
120
|
### Minor Changes
|
|
@@ -1,2 +1,2 @@
|
|
|
1
|
-
import{convertLegacyRouteRef as n,compatWrapper as
|
|
1
|
+
import{jsx as e}from"react/jsx-runtime";import{convertLegacyRouteRef as n,compatWrapper as o}from"@backstage/core-compat-api";import{EntityContentBlueprint as a,EntityCardBlueprint as r}from"@backstage/plugin-catalog-react/alpha";import{entityRootRouteRef as c,groupRootRouteRef as u}from"../routes.esm.js";const i=a.make({name:"entity",params:{defaultPath:"soundcheck",defaultTitle:"Soundcheck",routeRef:n(c),loader:()=>import("../components/EntitySoundcheckContent.esm.js").then(t=>o(e(t.EntitySoundcheckContent,{})))}}),d=r.make({name:"card",params:{loader:()=>import("../components/EntitySoundcheckCard/index.esm.js").then(t=>o(e(t.EntitySoundcheckCard,{})))}}),p=a.make({name:"group",attachTo:{id:"page:catalog/group-details",input:"contents"},params:{defaultPath:"soundcheck",defaultTitle:"Soundcheck",routeRef:n(u),loader:()=>import("../components/OverviewPage/index.esm.js").then(t=>o(e(t.FixedGroupOverviewPage,{})))}});export{d as entitySoundcheckCard,i as entitySoundcheckContent,p as groupSoundcheckContent};
|
|
2
2
|
//# sourceMappingURL=entity-content.esm.js.map
|
package/dist/alpha/pages.esm.js
CHANGED
|
@@ -1,2 +1,2 @@
|
|
|
1
|
-
import{convertLegacyRouteRef as
|
|
1
|
+
import{jsx as o}from"react/jsx-runtime";import{convertLegacyRouteRef as r,compatWrapper as t}from"@backstage/core-compat-api";import{PageBlueprint as a}from"@backstage/frontend-plugin-api";import{rootRouteRef as m}from"../routes.esm.js";const n=a.make({name:"SoundcheckRoutingPage",params:{routeRef:r(m),defaultPath:"/soundcheck",loader:()=>import("../components/RoutingPage/index.esm.js").then(e=>t(o(e.RoutingPage,{})))}}),u=a.make({name:"overview",params:{routeRef:r(m),defaultPath:"/soundcheck",loader:()=>import("../components/OverviewPage/index.esm.js").then(e=>t(o(e.OverviewPage,{})))}});export{u as soundcheckOverviewPage,n as soundcheckRoutingPage};
|
|
2
2
|
//# sourceMappingURL=pages.esm.js.map
|
package/dist/alpha.d.ts
CHANGED
|
@@ -1,8 +1,8 @@
|
|
|
1
|
-
/// <reference types="react" />
|
|
2
1
|
import * as _backstage_catalog_model_index from '@backstage/catalog-model/index';
|
|
3
2
|
import * as react from 'react';
|
|
4
|
-
import * as
|
|
3
|
+
import * as _backstage_plugin_catalog_react_alpha from '@backstage/plugin-catalog-react/alpha';
|
|
5
4
|
import * as _backstage_frontend_plugin_api from '@backstage/frontend-plugin-api';
|
|
5
|
+
import * as _backstage_core_plugin_api from '@backstage/core-plugin-api';
|
|
6
6
|
|
|
7
7
|
/**
|
|
8
8
|
* @public
|
|
@@ -15,27 +15,35 @@ declare const _default: _backstage_frontend_plugin_api.FrontendPlugin<{}, {}, {
|
|
|
15
15
|
name: undefined;
|
|
16
16
|
config: {};
|
|
17
17
|
configInput: {};
|
|
18
|
-
output: _backstage_frontend_plugin_api.ConfigurableExtensionDataRef<
|
|
18
|
+
output: _backstage_frontend_plugin_api.ConfigurableExtensionDataRef<_backstage_core_plugin_api.AnyApiFactory, "core.api.factory", {}>;
|
|
19
19
|
inputs: {};
|
|
20
20
|
params: {
|
|
21
|
-
factory:
|
|
21
|
+
factory: _backstage_core_plugin_api.AnyApiFactory;
|
|
22
22
|
};
|
|
23
23
|
}>;
|
|
24
|
-
"
|
|
25
|
-
kind: "
|
|
26
|
-
name:
|
|
27
|
-
config: {
|
|
28
|
-
|
|
29
|
-
|
|
30
|
-
|
|
31
|
-
|
|
32
|
-
|
|
33
|
-
|
|
24
|
+
"entity-card:soundcheck/card": _backstage_frontend_plugin_api.ExtensionDefinition<{
|
|
25
|
+
kind: "entity-card";
|
|
26
|
+
name: "card";
|
|
27
|
+
config: {
|
|
28
|
+
filter: _backstage_plugin_catalog_react_alpha.EntityPredicate | undefined;
|
|
29
|
+
type: "content" | "summary" | "info" | undefined;
|
|
30
|
+
};
|
|
31
|
+
configInput: {
|
|
32
|
+
filter?: _backstage_plugin_catalog_react_alpha.EntityPredicate | undefined;
|
|
33
|
+
type?: "content" | "summary" | "info" | undefined;
|
|
34
|
+
};
|
|
35
|
+
output: _backstage_frontend_plugin_api.ConfigurableExtensionDataRef<react.JSX.Element, "core.reactElement", {}> | _backstage_frontend_plugin_api.ConfigurableExtensionDataRef<(entity: _backstage_catalog_model_index.Entity) => boolean, "catalog.entity-filter-function", {
|
|
36
|
+
optional: true;
|
|
37
|
+
}> | _backstage_frontend_plugin_api.ConfigurableExtensionDataRef<string, "catalog.entity-filter-expression", {
|
|
38
|
+
optional: true;
|
|
39
|
+
}> | _backstage_frontend_plugin_api.ConfigurableExtensionDataRef<_backstage_plugin_catalog_react_alpha.EntityCardType, "catalog.entity-card-type", {
|
|
40
|
+
optional: true;
|
|
41
|
+
}>;
|
|
34
42
|
inputs: {};
|
|
35
43
|
params: {
|
|
36
|
-
|
|
37
|
-
|
|
38
|
-
|
|
44
|
+
loader: () => Promise<JSX.Element>;
|
|
45
|
+
filter?: string | _backstage_plugin_catalog_react_alpha.EntityPredicate | ((entity: _backstage_catalog_model_index.Entity) => boolean);
|
|
46
|
+
type?: _backstage_plugin_catalog_react_alpha.EntityCardType;
|
|
39
47
|
};
|
|
40
48
|
}>;
|
|
41
49
|
"entity-content:soundcheck/entity": _backstage_frontend_plugin_api.ExtensionDefinition<{
|
|
@@ -44,12 +52,14 @@ declare const _default: _backstage_frontend_plugin_api.FrontendPlugin<{}, {}, {
|
|
|
44
52
|
config: {
|
|
45
53
|
path: string | undefined;
|
|
46
54
|
title: string | undefined;
|
|
47
|
-
filter:
|
|
55
|
+
filter: _backstage_plugin_catalog_react_alpha.EntityPredicate | undefined;
|
|
56
|
+
group: string | false | undefined;
|
|
48
57
|
};
|
|
49
58
|
configInput: {
|
|
50
|
-
filter?:
|
|
59
|
+
filter?: _backstage_plugin_catalog_react_alpha.EntityPredicate | undefined;
|
|
51
60
|
title?: string | undefined;
|
|
52
61
|
path?: string | undefined;
|
|
62
|
+
group?: string | false | undefined;
|
|
53
63
|
};
|
|
54
64
|
output: _backstage_frontend_plugin_api.ConfigurableExtensionDataRef<react.JSX.Element, "core.reactElement", {}> | _backstage_frontend_plugin_api.ConfigurableExtensionDataRef<string, "core.routing.path", {}> | _backstage_frontend_plugin_api.ConfigurableExtensionDataRef<_backstage_frontend_plugin_api.RouteRef<_backstage_frontend_plugin_api.AnyRouteRefParams>, "core.routing.ref", {
|
|
55
65
|
optional: true;
|
|
@@ -57,34 +67,17 @@ declare const _default: _backstage_frontend_plugin_api.FrontendPlugin<{}, {}, {
|
|
|
57
67
|
optional: true;
|
|
58
68
|
}> | _backstage_frontend_plugin_api.ConfigurableExtensionDataRef<string, "catalog.entity-filter-expression", {
|
|
59
69
|
optional: true;
|
|
70
|
+
}> | _backstage_frontend_plugin_api.ConfigurableExtensionDataRef<string, "catalog.entity-content-group", {
|
|
71
|
+
optional: true;
|
|
60
72
|
}>;
|
|
61
73
|
inputs: {};
|
|
62
74
|
params: {
|
|
63
75
|
loader: () => Promise<JSX.Element>;
|
|
64
76
|
defaultPath: string;
|
|
65
77
|
defaultTitle: string;
|
|
66
|
-
|
|
67
|
-
|
|
68
|
-
|
|
69
|
-
}>;
|
|
70
|
-
"entity-card:soundcheck/card": _backstage_frontend_plugin_api.ExtensionDefinition<{
|
|
71
|
-
kind: "entity-card";
|
|
72
|
-
name: "card";
|
|
73
|
-
config: {
|
|
74
|
-
filter: string | undefined;
|
|
75
|
-
};
|
|
76
|
-
configInput: {
|
|
77
|
-
filter?: string | undefined;
|
|
78
|
-
};
|
|
79
|
-
output: _backstage_frontend_plugin_api.ConfigurableExtensionDataRef<react.JSX.Element, "core.reactElement", {}> | _backstage_frontend_plugin_api.ConfigurableExtensionDataRef<(entity: _backstage_catalog_model_index.Entity) => boolean, "catalog.entity-filter-function", {
|
|
80
|
-
optional: true;
|
|
81
|
-
}> | _backstage_frontend_plugin_api.ConfigurableExtensionDataRef<string, "catalog.entity-filter-expression", {
|
|
82
|
-
optional: true;
|
|
83
|
-
}>;
|
|
84
|
-
inputs: {};
|
|
85
|
-
params: {
|
|
86
|
-
loader: () => Promise<JSX.Element>;
|
|
87
|
-
filter?: string | ((entity: _backstage_catalog_model_index.Entity) => boolean) | undefined;
|
|
78
|
+
defaultGroup?: ("operation" | "development" | "documentation" | "deployment" | "overview" | "observability") | (string & {});
|
|
79
|
+
routeRef?: _backstage_frontend_plugin_api.RouteRef;
|
|
80
|
+
filter?: string | _backstage_plugin_catalog_react_alpha.EntityPredicate | ((entity: _backstage_catalog_model_index.Entity) => boolean);
|
|
88
81
|
};
|
|
89
82
|
}>;
|
|
90
83
|
"entity-content:soundcheck/group": _backstage_frontend_plugin_api.ExtensionDefinition<{
|
|
@@ -93,12 +86,14 @@ declare const _default: _backstage_frontend_plugin_api.FrontendPlugin<{}, {}, {
|
|
|
93
86
|
config: {
|
|
94
87
|
path: string | undefined;
|
|
95
88
|
title: string | undefined;
|
|
96
|
-
filter:
|
|
89
|
+
filter: _backstage_plugin_catalog_react_alpha.EntityPredicate | undefined;
|
|
90
|
+
group: string | false | undefined;
|
|
97
91
|
};
|
|
98
92
|
configInput: {
|
|
99
|
-
filter?:
|
|
93
|
+
filter?: _backstage_plugin_catalog_react_alpha.EntityPredicate | undefined;
|
|
100
94
|
title?: string | undefined;
|
|
101
95
|
path?: string | undefined;
|
|
96
|
+
group?: string | false | undefined;
|
|
102
97
|
};
|
|
103
98
|
output: _backstage_frontend_plugin_api.ConfigurableExtensionDataRef<react.JSX.Element, "core.reactElement", {}> | _backstage_frontend_plugin_api.ConfigurableExtensionDataRef<string, "core.routing.path", {}> | _backstage_frontend_plugin_api.ConfigurableExtensionDataRef<_backstage_frontend_plugin_api.RouteRef<_backstage_frontend_plugin_api.AnyRouteRefParams>, "core.routing.ref", {
|
|
104
99
|
optional: true;
|
|
@@ -106,14 +101,34 @@ declare const _default: _backstage_frontend_plugin_api.FrontendPlugin<{}, {}, {
|
|
|
106
101
|
optional: true;
|
|
107
102
|
}> | _backstage_frontend_plugin_api.ConfigurableExtensionDataRef<string, "catalog.entity-filter-expression", {
|
|
108
103
|
optional: true;
|
|
104
|
+
}> | _backstage_frontend_plugin_api.ConfigurableExtensionDataRef<string, "catalog.entity-content-group", {
|
|
105
|
+
optional: true;
|
|
109
106
|
}>;
|
|
110
107
|
inputs: {};
|
|
111
108
|
params: {
|
|
112
109
|
loader: () => Promise<JSX.Element>;
|
|
113
110
|
defaultPath: string;
|
|
114
111
|
defaultTitle: string;
|
|
115
|
-
|
|
116
|
-
|
|
112
|
+
defaultGroup?: ("operation" | "development" | "documentation" | "deployment" | "overview" | "observability") | (string & {});
|
|
113
|
+
routeRef?: _backstage_frontend_plugin_api.RouteRef;
|
|
114
|
+
filter?: string | _backstage_plugin_catalog_react_alpha.EntityPredicate | ((entity: _backstage_catalog_model_index.Entity) => boolean);
|
|
115
|
+
};
|
|
116
|
+
}>;
|
|
117
|
+
"nav-item:soundcheck": _backstage_frontend_plugin_api.ExtensionDefinition<{
|
|
118
|
+
kind: "nav-item";
|
|
119
|
+
name: undefined;
|
|
120
|
+
config: {};
|
|
121
|
+
configInput: {};
|
|
122
|
+
output: _backstage_frontend_plugin_api.ConfigurableExtensionDataRef<{
|
|
123
|
+
title: string;
|
|
124
|
+
icon: _backstage_core_plugin_api.IconComponent;
|
|
125
|
+
routeRef: _backstage_frontend_plugin_api.RouteRef<undefined>;
|
|
126
|
+
}, "core.nav-item.target", {}>;
|
|
127
|
+
inputs: {};
|
|
128
|
+
params: {
|
|
129
|
+
title: string;
|
|
130
|
+
icon: _backstage_core_plugin_api.IconComponent;
|
|
131
|
+
routeRef: _backstage_frontend_plugin_api.RouteRef<undefined>;
|
|
117
132
|
};
|
|
118
133
|
}>;
|
|
119
134
|
"page:soundcheck/SoundcheckRoutingPage": _backstage_frontend_plugin_api.ExtensionDefinition<{
|
|
@@ -132,7 +147,7 @@ declare const _default: _backstage_frontend_plugin_api.FrontendPlugin<{}, {}, {
|
|
|
132
147
|
params: {
|
|
133
148
|
defaultPath: string;
|
|
134
149
|
loader: () => Promise<JSX.Element>;
|
|
135
|
-
routeRef?: _backstage_frontend_plugin_api.RouteRef
|
|
150
|
+
routeRef?: _backstage_frontend_plugin_api.RouteRef;
|
|
136
151
|
};
|
|
137
152
|
}>;
|
|
138
153
|
"page:soundcheck/overview": _backstage_frontend_plugin_api.ExtensionDefinition<{
|
|
@@ -151,7 +166,7 @@ declare const _default: _backstage_frontend_plugin_api.FrontendPlugin<{}, {}, {
|
|
|
151
166
|
params: {
|
|
152
167
|
defaultPath: string;
|
|
153
168
|
loader: () => Promise<JSX.Element>;
|
|
154
|
-
routeRef?: _backstage_frontend_plugin_api.RouteRef
|
|
169
|
+
routeRef?: _backstage_frontend_plugin_api.RouteRef;
|
|
155
170
|
};
|
|
156
171
|
}>;
|
|
157
172
|
}>;
|
package/dist/api.esm.js
CHANGED
|
@@ -1,2 +1,2 @@
|
|
|
1
|
-
import{createApiRef as c}from"@backstage/core-plugin-api";import{GraphQLClient as h}from"graphql-request";import{getSdk as u}from"./graphql/generated/index.esm.js";const y=c({id:"plugin.soundcheck"}),o=
|
|
1
|
+
import{createApiRef as c}from"@backstage/core-plugin-api";import{GraphQLClient as h}from"graphql-request";import{getSdk as u}from"./graphql/generated/index.esm.js";const y=c({id:"plugin.soundcheck"}),o=n=>"response"in n&&"errors"in n.response,g=n=>"response"in n&&"message"in n.response;class l{#s;#a;#t;constructor(t){this.#s=t.fetchApi,this.#a=t.discoveryApi;const e=new h("/graphql",{fetch:async(s,a)=>{const i=`${await this.#a.getBaseUrl("soundcheck")}${s}`;return this.#s.fetch(i,a)}});this.#t=u(e)}#n=t=>o(t)?t.response?.errors?.[0].message??`${t}`:g(t)?t.response.message:`${t}`;#e=async t=>{try{return await t()}catch(e){throw new Error(`Error from Soundcheck backend: ${this.#n(e)}`)}};async getAllCertifications(t,e=!1,s=!1){return this.#e(async()=>{const{certifications:a}=await this.#t.getAllCertifications({entityRef:t,includeFilteredChecks:e,includeDraftTracks:s});return a})}async getCertificationDetails(t,e=!1,s=!1){return this.#e(async()=>{const{certifications:a}=await this.#t.getCertificationDetails({entityRef:t,includeFilteredChecks:e,includeDraftTracks:s});return a})}async getCertificationDetailsForTrack(t,e,s){return this.#e(async()=>{const{trackCertification:a}=await this.#t.getCertificationDetailsForTrack({entityRef:t,trackId:e,includeFilteredChecks:s});return a})}async getCheckResultDetails(t,e,s){return this.#e(async()=>{const{checkResult:a}=await this.#t.getCheckResultDetails({entityRef:t,trackId:e,checkId:s});return a})}async getFacetsForOwner(t){return this.#e(async()=>{const{facetsForOwner:e}=await this.#t.getFacetsForOwner({ownerEntityRef:t});return e})}async getTrackOverviewForOwner(t,e,s,a,i){return this.#e(async()=>{const{trackOverviewForOwner:r}=await this.#t.getTrackOverviewForOwner({ownerEntityRef:t,facet:e,first:s,after:a,entitySearch:i});return r})}async getTracks(t){return this.#e(async()=>{const{tracks:e}=await this.#t.getTracks({filter:t});return e})}async getTrack(t){return this.#e(async()=>{const{track:e}=await this.#t.getTrack({id:t});return e})}async createTrack(t){return this.#e(async()=>{const{track:e}=await this.#t.createTrack({input:t});return e})}async updateTrack(t){return this.#e(async()=>{const{track:e}=await this.#t.updateTrack({input:t});return e})}async deleteTrack(t){return this.#e(async()=>{const{trackDeleted:e}=await this.#t.deleteTrack({trackId:t});return e})}async getPlaylists(t){return this.#e(async()=>{const{playlists:e}=await this.#t.getPlaylists({entityRef:t});return e})}async getOperators(){return this.#e(async()=>{const{operators:t}=await this.#t.getOperators();return t})}async getCheck(t){return this.#e(async()=>(await this.#t.getCheck({id:t})).check)}async getChecks(t){return this.#e(async()=>{const{checkers:e}=await this.#t.getCheckers({filter:t});return e})}async getExecutableChecks(){return this.#e(async()=>{const{executableChecks:t}=await this.#t.getExecutableChecks();return t})}async createCheck(t){return this.#e(async()=>{const{check:e}=await this.#t.createCheck({input:t});return e})}async updateCheck(t){return this.#e(async()=>{const{check:e}=await this.#t.updateCheck({input:t});return e})}async deleteCheck(t){return this.#e(async()=>await this.#t.deleteChecker({checkerId:t}))}async executeCheck(t){return this.#e(async()=>{const{result:e}=await this.#t.executeCheck({input:t});return e})}async setEntityExempt(t){return this.#e(async()=>{const{setEntityExempt:e}=await this.#t.setEntityExempt({input:t});return e})}async setManualCheckResult(t){return this.#e(async()=>await this.#t.setManualCheckResult({input:t}))}async deleteExemption(t,e){return this.#e(async()=>await this.#t.deleteExemption({checkId:t,entityRef:e}))}async getExemption(t,e){return this.#e(async()=>await this.#t.getExemption({checkId:t,entityRef:e}))}async getExemptCheckIds(t,e){return this.#e(async()=>await this.#t.getExemptCheckIds({entityRef:t,trackId:e}))}async getCollectors(t){return this.#e(async()=>{const{collectors:e}=await this.#t.getCollectors({ids:t});return e})}async getFactSchema(t,e){if(!(!t||!e))return this.#e(async()=>{const{factSchema:s}=await this.#t.getFactSchemas({collectorId:t,factName:e});return s})}async updateCollectorConfig(t){return this.#e(async()=>{const{collector:e}=await this.#t.updateCollectorConfig({input:t});return e})}async getOverallCheckPassRates(t){return this.#e(async()=>await this.#t.getOverallCheckPassRates({filter:t}))}async getIndividualCheckPassRates(t){return this.#e(async()=>await this.#t.getIndividualCheckPassRates({filter:t}))}async getOverallTrackPassRate(t){return this.#e(async()=>await this.#t.getOverallTrackPassRate({filter:t}))}async getIndividualTrackPassRate(t){return this.#e(async()=>await this.#t.getIndividualTrackPassRate({filter:t}))}async getOverallEntityPassRates(t){return this.#e(async()=>await this.#t.getOverallEntityPassRates({filter:t}))}async getIndividualEntityPassRates(t){return this.#e(async()=>await this.#t.getIndividualEntityPassRates({input:t}))}async getOverallGroupPassRates(t){return this.#e(async()=>await this.#t.getOverallGroupPassRates({input:t}))}async getIndividualGroupPassRates(t){return this.#e(async()=>await this.#t.getIndividualGroupPassRates({input:t}))}async getEntityRefsForTechHealthFilter(t){return this.#e(async()=>await this.#t.getEntityRefsForTechHealthFilter({ownerEntityRef:t}))}async getTrackEntities(t){return this.#e(async()=>await this.#t.getTrackEntities({input:t}))}async getCampaigns(t){return this.#e(async()=>{const{campaigns:e}=await this.#t.getCampaigns({filter:t});return e})}async createCampaign(t){return this.#e(async()=>{const{campaign:e}=await this.#t.createCampaign({input:t});return e})}async updateCampaign(t){return this.#e(async()=>{const{campaign:e}=await this.#t.updateCampaign({input:t});return e})}async deleteCampaign(t){return this.#e(async()=>{const{campaignDeleted:e}=await this.#t.deleteCampaign({campaignId:t});return e})}async archiveCampaign(t){return this.#e(async()=>{const{campaignArchived:e}=await this.#t.archiveCampaign({campaignId:t});return e})}async getCampaignOwners(){return this.#e(async()=>{const{campaignOwners:t}=await this.#t.getCampaignOwners();return t})}async getCheckOwners(){return this.#e(async()=>{const{checkOwners:t}=await this.#t.getCheckOwners();return t})}async getTrackOwners(){return this.#e(async()=>{const{trackOwners:t}=await this.#t.getTrackOwners();return t})}async getCertificationStatus(t){return this.#e(async()=>this.#t.getCertificationStatus({input:t}))}async getCertificationStatusHistory(t){return this.#e(async()=>this.#t.getCertificationStatusHistory({input:t}))}async getCheckStatus(t){return this.#e(async()=>(await this.#t.getCheckStatus({input:t})).checkStatus)}async getCheckStatuses(t){return this.#e(async()=>(await this.#t.getCheckStatuses({input:t})).checkStatuses)}async getCheckStatusHistory(t){return this.#e(async()=>(await this.#t.getCheckStatusHistory({input:t})).checkStatusHistory)}async getCheckStatusHistories(t){return this.#e(async()=>(await this.#t.getCheckStatusHistories({input:t})).checkStatusHistories)}async getCheckEntities(t){return this.#e(async()=>await this.#t.getCheckEntities({input:t}))}async getPathResolvers(){return this.#e(async()=>{const{pathResolvers:t}=await this.#t.getPathResolvers();return t})}async getCheckTemplates(){return this.#e(async()=>{const{checkerTemplates:t}=await this.#t.getCheckTemplates();return t})}async getFact(t){return this.#e(async()=>{const{fact:e}=await this.#t.getFact(t);return e})}}export{l as SoundcheckApi,y as soundcheckApiRef};
|
|
2
2
|
//# sourceMappingURL=api.esm.js.map
|
|
@@ -1,2 +1,2 @@
|
|
|
1
|
-
import{
|
|
1
|
+
import{jsxs as l,jsx as r}from"react/jsx-runtime";import{makeStyles as i}from"@material-ui/core";import{Alert as o,AlertTitle as s}from"@material-ui/lab";const n=i(t=>({root:{alignItems:"flex-start",padding:t.spacing(2)},alertTitle:{marginBottom:0}})),a=t=>{const e=n();return l(o,{severity:t.severity,elevation:1,classes:{...e},onClose:t.onClose,variant:"filled",children:[r(s,{className:e.alertTitle,children:t.title}),t.children]})};export{a as AlertPanel};
|
|
2
2
|
//# sourceMappingURL=AlertPanel.esm.js.map
|
|
@@ -1,2 +1,2 @@
|
|
|
1
|
-
import{makeStyles as
|
|
1
|
+
import{jsx as t,jsxs as C,Fragment as ce}from"react/jsx-runtime";import{makeStyles as pe,useTheme as ye}from"@material-ui/core/styles";import{schemeCategory10 as me}from"d3-scale-chromatic";import{useState as b,useRef as D,createElement as ue,Fragment as z}from"react";import{ResponsiveContainer as he,AreaChart as xe,CartesianGrid as fe,XAxis as ge,Label as G,YAxis as ve,Tooltip as ke,Legend as Ae,Area as Le,Dot as E,Line as Ce}from"recharts";import{ChartTooltip as be}from"./ChartTooltip.esm.js";import Ke from"./Legend.esm.js";import{yDomain as we,hasUniqueValueForKey as P}from"./utils.esm.js";const Te=pe(o=>({root:{height:"100%",width:"100%"},gridLine:{stroke:o.palette.divider},xAxis:{fontSize:"0.75rem",fill:o.palette.text.secondary},yAxis:{fontSize:"0.75rem",fill:o.palette.text.secondary},tooltip:{borderRadius:o.shape.borderRadius,border:`1px solid ${o.palette.divider}`,backgroundColor:o.palette.background.paper,color:o.palette.text.primary,boxShadow:o.shadows[1]}})),Se=({data:o=[],categories:A=[],index:h,colors:K=me,categoryColors:W={},valueFormatter:w=s=>s.toString(),startEndOnly:T=!1,showXAxis:j=!0,showYAxis:R=!0,showGridLines:q=!0,yAxisWidth:I=56,intervalType:M="equidistantPreserveStart",showTooltip:X=!0,showLegend:Y=!0,autoMinValue:B=!1,minValue:H,maxValue:U,allowDecimals:Z=!0,connectNulls:S=!1,className:J,onValueChange:p,enableLegendSlider:Q=!0,tickGap:_=5,xAxisLabel:L,yAxisLabel:x,type:f="default",legendPosition:Ne="right",fill:ee="gradient",tooltipCallback:N,customTooltip:O,...te})=>{const s=Te(),y=ye(),[ae,ie]=b(60),[l,g]=b(void 0),[d,u]=b(void 0),m=A.reduce((e,a,i)=>(e[a]=W[a]||K[i%K.length],e),{}),oe=we({autoMinValue:B,minValue:H,maxValue:U}),v=!!p,ne=f==="stacked"||f==="percent",F=D(void 0),V=D(void 0),re=({fillType:e,dot:a,legend:i,category:r})=>{const n=a||i&&i!==r?.1:.3,c=m[r]||y.palette.primary.main;switch(e){case"none":return t("stop",{stopColor:c,stopOpacity:0});case"gradient":return C(ce,{children:[t("stop",{offset:"5%",stopColor:c,stopOpacity:n}),t("stop",{offset:"95%",stopColor:c,stopOpacity:0})]});case"solid":default:return t("stop",{stopColor:c,stopOpacity:n})}};function le(e){return`${(e*100).toFixed(0)}%`}function se(e,a){a.stopPropagation(),v&&(e.index===l?.index&&e.dataKey===l?.dataKey||P(o,e.dataKey)&&d&&d===e.dataKey?(u(void 0),g(void 0),p?.(null)):(u(e.dataKey),g({index:e.index,dataKey:e.dataKey}),p?.({eventType:"dot",categoryClicked:e.dataKey,...e.payload})))}function $(e){v&&(e===d&&!l||P(o,e)&&l&&l.dataKey===e?(u(void 0),p?.(null)):(u(e),p?.({eventType:"category",categoryClicked:e})),g(void 0))}return t("div",{className:`${s.root} ${J}`,...te,children:t(he,{children:C(xe,{data:o,onClick:v&&(d||l)?()=>{g(void 0),u(void 0),p?.(null)}:void 0,margin:{bottom:L?30:void 0,left:x?20:void 0,right:x?5:void 0,top:5},stackOffset:f==="percent"?"expand":void 0,children:[q?t(fe,{className:s.gridLine,horizontal:!0,vertical:!1}):null,t(ge,{padding:{left:20,right:20},hide:!j,dataKey:h,interval:T?"preserveStartEnd":M,tick:{transform:"translate(0, 6)"},ticks:T?[o[0][h],o[o.length-1][h]]:void 0,className:s.xAxis,tickLine:!1,axisLine:!1,minTickGap:_,children:L&&t(G,{position:"insideBottom",offset:-20,className:s.xAxis,children:L})}),t(ve,{width:I,hide:!R,axisLine:!1,tickLine:!1,type:"number",domain:oe,tick:{transform:"translate(-3, 0)"},className:s.yAxis,tickFormatter:f==="percent"?le:w,allowDecimals:Z,children:x&&t(G,{position:"insideLeft",style:{textAnchor:"middle"},angle:-90,offset:-15,className:s.yAxis,children:x})}),t(ke,{wrapperStyle:{outline:"none"},isAnimationActive:!0,animationDuration:100,cursor:{stroke:y.palette.divider,strokeWidth:1},offset:20,position:{y:0},content:({active:e,payload:a,label:i})=>{const r=a?a.map(n=>({category:n.dataKey,value:n.value,index:n.payload[h],color:m[n.dataKey]??"#000",type:n.type,payload:n.payload})):[];return N&&(e!==F.current||i!==V.current)&&(N({active:e,payload:r,label:i}),F.current=e,V.current=i),X&&e?O?ue(O,{active:e,payload:r,label:i}):t(be,{active:e,payload:r,label:i,valueFormatter:w}):null}}),Y?t(Ae,{verticalAlign:"top",height:ae,content:({payload:e})=>t(Ke,{categories:e?.map(a=>a.value)??[],colors:e?.map(a=>m[a.value]||y.palette.primary.main)??[],onClickLegendItem:v?$:void 0,activeLegend:d,enableLegendSlider:Q,setLegendHeight:ie})}):null,A.map(e=>{const a=`${e.replace(/[^a-zA-Z0-9]/g,"")}`;return C(z,{children:[t("defs",{children:t("linearGradient",{id:a,x1:"0",y1:"0",x2:"0",y2:"1",children:re({fillType:ee,dot:l,legend:d,category:e})})},e),t(Le,{stroke:m[e]||y.palette.primary.main,strokeOpacity:l||d&&d!==e?.3:1,activeDot:i=>{const{cx:r,cy:n,dataKey:c}=i;return t(E,{cx:r,cy:n,r:5,fill:m[c]||y.palette.primary.main,onClick:(k,de)=>se(i,de)})},dot:i=>{const{cx:r,cy:n,dataKey:c,index:k}=i;return l?.index===k&&l?.dataKey===e?t(E,{cx:r,cy:n,r:5,fill:m[c]||y.palette.primary.main},k):t(z,{},k)},name:e,type:"linear",dataKey:e,strokeWidth:2,strokeLinejoin:"round",strokeLinecap:"round",isAnimationActive:!1,connectNulls:S,stackId:ne?"stack":void 0,fill:`url(#${a})`},e)]},e)}),p?A.map(e=>t(Ce,{strokeOpacity:0,name:e,type:"linear",dataKey:e,stroke:"transparent",fill:"transparent",legendType:"none",tooltipType:"none",strokeWidth:12,connectNulls:S,onClick:(a,i)=>{i.stopPropagation();const{name:r}=a;$(r)}},e)):null]})})})};export{Se as AreaChart};
|
|
2
2
|
//# sourceMappingURL=AreaChart.esm.js.map
|
|
@@ -1,2 +1,2 @@
|
|
|
1
|
-
import{makeStyles as
|
|
1
|
+
import{jsxs as a,jsx as i}from"react/jsx-runtime";import{makeStyles as g,createStyles as m}from"@material-ui/core/styles";const h=g(e=>m({tooltipContainer:{borderRadius:e.shape.borderRadius,border:`1px solid ${e.palette.divider}`,backgroundColor:e.palette.background.paper,color:e.palette.text.primary,boxShadow:e.shadows[1]},header:{borderBottom:`1px solid ${e.palette.divider}`,paddingLeft:e.spacing(1),paddingRight:e.spacing(1)},title:{fontWeight:e.typography.fontWeightMedium,color:e.palette.text.primary},content:{padding:e.spacing(1)},item:{display:"flex",justifyContent:"space-between",alignItems:"center",marginBottom:e.spacing(.5)},legendDash:{width:e.spacing(2),height:e.spacing(.375),borderRadius:e.spacing(.375),marginRight:e.spacing(1)},category:{display:"flex",alignItems:"center",flex:1,fontSize:"0.875rem",color:e.palette.text.secondary,marginRight:e.spacing(2)},value:{fontWeight:e.typography.fontWeightMedium,fontSize:"0.875rem",color:e.palette.text.primary}}));function r({active:e,payload:o,label:l,valueFormatter:n}){const t=h({color:"#000"});return!e||!o||o.length===0?null:a("div",{className:t.tooltipContainer,children:[i("div",{className:t.header,children:i("p",{className:t.title,children:l})}),i("div",{className:t.content,children:o.map(({value:s,category:d,color:c},p)=>a("div",{className:t.item,children:[a("div",{className:t.category,children:[i("span",{className:t.legendDash,style:{backgroundColor:c}}),d]}),i("div",{className:t.value,children:n(s)})]},`id-${p}`))})]})}export{r as ChartTooltip,r as default};
|
|
2
2
|
//# sourceMappingURL=ChartTooltip.esm.js.map
|
|
@@ -1,2 +1,2 @@
|
|
|
1
|
-
import{
|
|
1
|
+
import{jsxs as v,jsx as o}from"react/jsx-runtime";import{makeStyles as b,IconButton as d}from"@material-ui/core";import k from"@material-ui/icons/ArrowBackIos";import S from"@material-ui/icons/ArrowForwardIos";import{useRef as m,useState as z,useCallback as I}from"react";import N from"./LegendItem.esm.js";const W=b(()=>({legendContainer:{display:"flex",alignItems:"center",overflow:"hidden",position:"relative"},legendList:{display:"flex",listStyle:"none",padding:0,margin:0,overflowX:"auto","&::-webkit-scrollbar":{display:"none"}},scrollButton:{position:"absolute",top:"50%",transform:"translateY(-50%)",zIndex:1},scrollButtonLeft:{left:0},scrollButtonRight:{right:0}})),$=({categories:u,colors:g,activeLegend:h,onClickLegendItem:p,enableLegendSlider:a=!1,legendPosition:r="right",yAxisWidth:L=0})=>{const l=W(),s=m(null),x=m(null),[c,y]=z({left:!1,right:!1}),B=I(()=>{const e=s.current;if(!e)return;const t=e.scrollLeft>0,i=e.scrollWidth-e.clientWidth>e.scrollLeft;y({left:t,right:i})},[]),f=e=>{const t=s.current;if(!t)return;const i=t.clientWidth,C=e==="left"?-i:i;t.scrollBy({left:C,behavior:"smooth"}),setTimeout(B,400)};let n;return r==="left"?n="flex-start":r==="center"?n="center":n="flex-end",v("div",{className:l.legendContainer,ref:x,style:{justifyContent:n,paddingLeft:r==="left"?L:0},children:[a&&c.left&&o(d,{className:`${l.scrollButton} ${l.scrollButtonLeft}`,onClick:()=>f("left"),size:"small",children:o(k,{fontSize:"small"})}),o("ul",{className:l.legendList,ref:s,children:u.map((e,t)=>o(N,{name:e,color:g[t],onClick:p,activeLegend:h},t))}),a&&c.right&&o(d,{className:`${l.scrollButton} ${l.scrollButtonRight}`,onClick:()=>f("right"),size:"small",children:o(S,{fontSize:"small"})})]})};export{$ as default};
|
|
2
2
|
//# sourceMappingURL=Legend.esm.js.map
|
|
@@ -1,2 +1,2 @@
|
|
|
1
|
-
import{makeStyles as c}from"@material-ui/core/styles";
|
|
1
|
+
import{jsx as t,jsxs as r}from"react/jsx-runtime";import{makeStyles as c}from"@material-ui/core/styles";const s=c(e=>({legendItem:{display:"flex",alignItems:"center",marginRight:e.spacing(2),opacity:1,"&:hover":{opacity:.8}},legendButton:{display:"flex",alignItems:"center",background:"none",border:"none",cursor:"pointer",padding:0,opacity:1,"&:hover":{opacity:.8}},legendDash:{width:e.spacing(2),height:e.spacing(.375),borderRadius:e.spacing(.375),backgroundColor:n=>n.color,marginRight:e.spacing(1)},legendText:{fontSize:"0.875rem",color:e.palette.text.primary}}));function g({name:e,color:n,onClick:i,activeLegend:a}){const o=s({color:n}),l=()=>{i&&i(e,n)};return t("li",{className:o.legendItem,children:r("button",{className:o.legendButton,onClick:l,"aria-label":`Legend item for ${e}`,children:[t("span",{className:o.legendDash,style:{opacity:a&&a!==e?.4:1}}),t("span",{className:o.legendText,style:{opacity:a&&a!==e?.4:1},children:e})]})})}export{g as default};
|
|
2
2
|
//# sourceMappingURL=LegendItem.esm.js.map
|
|
@@ -1,2 +1,2 @@
|
|
|
1
|
-
import{makeStyles as m,Box as p,Tooltip as
|
|
1
|
+
import{jsx as l}from"react/jsx-runtime";import{makeStyles as m,Box as p,Tooltip as d}from"@material-ui/core";import c from"classnames";const s=24,f=11,t=e=>e==="small"?1:2,h=m({root:{position:"relative",display:"inline-flex",alignItems:"center",justifyContent:"center",borderRadius:"50%",borderWidth:"2px",fontWeight:700,cursor:"default",width:({size:e})=>`${s*t(e)}px`,height:({size:e})=>`${s*t(e)}px`,fontSize:({size:e})=>`${f*t(e)}px`}}),x=({className:e,label:i,tooltip:o,size:a="small"})=>{const n=h({size:a}),r=l(p,{className:c(e,n.root),role:"img","aria-label":`${i} badge`,children:i});return o?l(d,{title:o,children:r}):r};export{x as BaseBadge};
|
|
2
2
|
//# sourceMappingURL=BaseBadge.esm.js.map
|
|
@@ -1,2 +1,2 @@
|
|
|
1
|
-
import{makeStyles as t}from"@material-ui/core";import m from"classnames";import
|
|
1
|
+
import{jsx as s}from"react/jsx-runtime";import{makeStyles as t}from"@material-ui/core";import m from"classnames";import{BaseBadge as a}from"./BaseBadge.esm.js";const l=t({root:{borderColor:"currentColor",borderStyle:"solid"}}),i=({className:o,size:r="small"})=>{const e=l();return s(a,{className:m(o,e.root),size:r,label:"C"})};export{i as CampaignBadge};
|
|
2
2
|
//# sourceMappingURL=CampaignBadge.esm.js.map
|
|
@@ -1,2 +1,2 @@
|
|
|
1
|
-
import
|
|
1
|
+
import{jsx as s}from"react/jsx-runtime";import{CampaignBadge as l}from"./CampaignBadge.esm.js";import{LevelBadge as p}from"./LevelBadge.esm.js";import{NoLevelBadge as c}from"./NoLevelBadge.esm.js";const g=({badge:i,className:m,size:a="small",trackType:t,showTooltip:r})=>{const e=m||"";let o=s(c,{className:e,size:a,showTooltip:r});return t==="campaign"?o=s(l,{className:e,size:a}):i&&(o=s(p,{className:e,size:a,badge:i})),o};export{g as CertificationBadge};
|
|
2
2
|
//# sourceMappingURL=CertificationBadge.esm.js.map
|
|
@@ -1,2 +1,2 @@
|
|
|
1
|
-
import{makeStyles as
|
|
1
|
+
import{jsx as a,Fragment as l}from"react/jsx-runtime";import{makeStyles as p,alpha as m}from"@material-ui/core";import n from"classnames";import{BadgeVariant as i}from"../../graphql/generated/index.esm.js";import{BaseBadge as d}from"./BaseBadge.esm.js";import{StatusBadge as c}from"./StatusBadge.esm.js";const b=p(t=>({root:{background:({color:o})=>o,color:({color:o})=>o?t.palette.getContrastText(o):t.palette.text.primary,border:({size:o})=>t.palette.type==="dark"?void 0:`${o==="small"?"1px":"2px"} solid ${m(t.palette.text.primary,.8)}`,"&::after":{position:"absolute",display:"block",content:'""',top:0,left:0,width:"100%",height:"100%",borderRadius:"50%",boxShadow:["inset 0 -0.10em 0 0 rgba(0, 0, 0, 0.15)","inset 0px 0.10em 0px 0px rgba(255, 255, 255, 0.4)","inset 0px 0.9em 0px -0.4em rgba(255, 255, 255, 0.1)"].join(",")}},borderTheme:{borderColor:t.palette.text.primary,borderStyle:"solid",color:t.palette.text.primary}})),x=({className:t,badge:o,size:r="small"})=>{const s=b({color:"color"in o.options?o.options.color:void 0,size:r});if(o.variant===i.Status){const e=o.options;return a(c,{className:t,size:r,status:e.status})}if(o.variant===i.Medal){const e=o.options;return a(d,{className:n(t,e.color?s.root:s.borderTheme),size:r,label:`L${e.level}`})}return a(l,{})};export{x as LevelBadge};
|
|
2
2
|
//# sourceMappingURL=LevelBadge.esm.js.map
|
|
@@ -1,6 +1,6 @@
|
|
|
1
|
-
import{
|
|
1
|
+
import{jsx as t}from"react/jsx-runtime";import{makeStyles as a}from"@material-ui/core";import i from"classnames";import{SoundcheckMarkdownContent as s}from"../SoundcheckMarkdownContent/SoundcheckMarkdownContent.esm.js";import"@backstage/core-components";import"react";import"react-markdown";import"rehype-raw";import"remark-gfm";import{BaseBadge as m}from"./BaseBadge.esm.js";const d=`
|
|
2
2
|
**No Level / Not Certified**
|
|
3
3
|
|
|
4
4
|
Pass all checks within a level to earn a certification badge.
|
|
5
|
-
`,
|
|
5
|
+
`,p=a(o=>({root:{borderColor:o.palette.text.disabled,borderStyle:"dashed",color:o.palette.text.disabled}})),c=({className:o,showTooltip:e,size:r="small"})=>{const l=p();return t(m,{className:i(o,l.root),size:r,label:"NL",tooltip:e?t(s,{content:d}):null})};export{c as NoLevelBadge};
|
|
6
6
|
//# sourceMappingURL=NoLevelBadge.esm.js.map
|
|
@@ -1,2 +1,2 @@
|
|
|
1
|
-
import{
|
|
1
|
+
import{jsx as t}from"react/jsx-runtime";import{makeStyles as s}from"@material-ui/core";import l from"classnames";import{BaseBadge as m}from"./BaseBadge.esm.js";const a=s({root:{borderColor:"currentColor",borderStyle:"solid"}}),i=({className:o,size:r="small"})=>{const e=a();return t(m,{className:l(o,e.root),size:r,label:"\u25BA"})};export{i as PlaylistBadge};
|
|
2
2
|
//# sourceMappingURL=PlaylistBadge.esm.js.map
|
|
@@ -1,2 +1,2 @@
|
|
|
1
|
-
import{makeStyles as
|
|
1
|
+
import{jsx as e,Fragment as k,jsxs as d}from"react/jsx-runtime";import{makeStyles as C,useTheme as b,Box as y,Tooltip as $}from"@material-ui/core";import z from"@material-ui/icons/Check";import N from"@material-ui/icons/Close";import v from"@material-ui/icons/PriorityHigh";import x from"@mui/icons-material/QuestionMark";import W from"classnames";import{CircularProgressbarWithChildren as p,buildStyles as c}from"react-circular-progressbar";import"react-circular-progressbar/dist/styles.css";const u=24,w=15,h=s=>s==="small"?1:2,L=C(s=>({root:{position:"relative",display:"inline-block",alignItems:"center",justifyContent:"center",cursor:"default",lineHeight:0,width:({size:t})=>`${u*h(t)}px`,height:({size:t})=>`${u*h(t)}px`},icon:{color:s.palette.background.default,fontSize:({size:t})=>w*h(t)}})),S=({className:s,status:t,size:f="small"})=>{const l=L({size:f}),n=b();if(!t)return e(k,{});const o=t.passed+t.failed+t.warning+t.error+t.notReported,r=o?t.passed/o*100:0,a=o?t.warning/o*100:0,i=o?(t.failed+t.error)/o*100:0,m=100-r-a-i,g=e(y,{className:W(s,l.root),role:"img","aria-label":`${r} badge`,children:d(p,{value:r,strokeWidth:r<100?15:50,styles:c({pathColor:n.palette.success.main,trailColor:"transparent",strokeLinecap:"butt",rotation:0}),children:[r===100&&e(z,{className:l.icon}),r<100&&d(p,{value:a,strokeWidth:a<100?15:50,styles:c({pathColor:n.palette.warning.main,trailColor:"transparent",strokeLinecap:"butt",rotation:r/100}),children:[a===100&&e(v,{className:l.icon}),a<100&&d(p,{value:i,strokeWidth:i<100?15:50,styles:c({pathColor:n.palette.error.main,trailColor:"transparent",strokeLinecap:"butt",rotation:(r+a)/100}),children:[i===100&&e(N,{className:l.icon}),i<100&&e(p,{value:m,strokeWidth:m<100?15:50,styles:c({pathColor:n.palette.divider,trailColor:"transparent",strokeLinecap:"butt",rotation:(r+a+i)/100}),children:m===100&&e(x,{className:l.icon})})]})]})]})});return e($,{title:`${t.passed}/${o} checks passed (${Math.round(r)}%)`,children:g})};export{S as StatusBadge};
|
|
2
2
|
//# sourceMappingURL=StatusBadge.esm.js.map
|
|
@@ -1,2 +1,2 @@
|
|
|
1
|
-
import{makeStyles as
|
|
1
|
+
import{jsxs as o,jsx as a}from"react/jsx-runtime";import{makeStyles as N,Grid as n,Checkbox as h,Typography as m,TextField as x,FormControl as T,InputLabel as v,Select as L,MenuItem as y}from"@material-ui/core";import{useState as p,useEffect as k}from"react";import{MIN_TIME_UNIT_VALUE as M,MAX_TIME_UNIT_VALUE as U}from"../../utils/time.esm.js";import{TimeUnit as S}from"../Frequency/types.esm.js";import{VALID_TIME_UNITS as _,toTimeUnit as E}from"../Frequency/util.esm.js";import"../Frequency/FrequencyComponent.esm.js";const F=N(l=>({duration:{display:"flex",gap:l.spacing(2),alignItems:"flex-start",marginTop:l.spacing(1)},durationInput:{paddingLeft:0},label:{cursor:"pointer"},font:{fontSize:l.typography.body1.fontSize},inputLabel:{color:`${l.palette.text.primary} !important`},inputLabelDisabled:{color:l.palette.action.disabled},unitInput:{minWidth:100},unitMenu:{backgroundColor:l.palette.background.paper}})),A=({value:l,onChange:s,disabled:r,errors:c})=>{const i=F(),[e,d]=p(l),[b,g]=p(`${l.value}`);k(()=>{s&&s(e)},[e,s]);const f=t=>{d({...e,enabled:t.target.checked,hasDuration:t.target.checked&&e.hasDuration})},I=t=>{d({...e,hasDuration:t.target.checked})},D=t=>{g(t.target.value);const u=parseInt(t.target.value,10);d({...e,value:isNaN(u)?0:u})},C=t=>{d({...e,unit:E(t.target.value)??S.Hours})};return o(n,{container:!0,direction:"column",className:i.font,children:[a(n,{item:!0,children:o(n,{container:!0,alignItems:"center",children:[a(n,{item:!0,children:a(h,{id:"enableCaching",disabled:r,checked:e.enabled,onChange:f,"data-testid":"enableCaching"})}),a(n,{item:!0,children:a("label",{htmlFor:"enableCaching",className:i.label,children:"Enable caching"})})]})}),a(n,{item:!0,children:o(n,{container:!0,alignItems:"flex-start",children:[a(n,{item:!0,children:a(h,{id:"hasDuration",disabled:r||!e.enabled,checked:e.enabled&&e.hasDuration,onChange:I,"data-testid":"hasDuration"})}),o(n,{item:!0,className:i.durationInput,children:[a(m,{variant:"body1",children:a("label",{htmlFor:"hasDuration",className:e.enabled?i.label:"",children:"Duration"})}),a(m,{variant:"caption",children:"Set the maximum length that fact data is cached for"}),o(n,{className:i.duration,children:[a(n,{item:!0,children:a(x,{id:"every",type:"number",label:"For",name:"for",disabled:r||!e.hasDuration,value:b,onChange:D,error:!!c?.message,helperText:c?.message,inputProps:{min:M,max:U},"data-testid":"forTextField",InputLabelProps:{className:r||!e.hasDuration?i.inputLabelDisabled:i.inputLabel}})}),a(n,{item:!0,children:o(T,{children:[a(v,{className:r||!e.hasDuration?i.inputLabelDisabled:i.inputLabel,id:"duration-unit",children:"Unit"}),a(L,{labelId:"duration-unit",disabled:r||!e.hasDuration,value:e.unit,onChange:C,"data-testid":"unitSelect",inputProps:{className:i.unitInput},MenuProps:{classes:{list:i.unitMenu}},children:_.map(t=>a(y,{value:t,children:t},t))})]})})]})]})]})})]})};export{A as CacheConfigComponent};
|
|
2
2
|
//# sourceMappingURL=CacheConfigComponent.esm.js.map
|
|
@@ -1,2 +1,2 @@
|
|
|
1
|
-
import
|
|
1
|
+
import{jsx as o}from"react/jsx-runtime";import{useEffect as s}from"react";import"../../contexts/TrackFormContext.esm.js";import"../../contexts/CheckFormContext.esm.js";import{CampaignFormProvider as i,useCampaignFormContext as c}from"../../contexts/CampaignFormContext.esm.js";import"../../contexts/UserProvider.esm.js";import"@backstage/catalog-model";import"@backstage/core-plugin-api";import"@tanstack/react-query";import"../../api.esm.js";import"../../hooks/graphqlKeys.esm.js";import"@backstage/plugin-catalog-react";import"@spotify/backstage-plugin-soundcheck-common";import{useCreateCampaign as g}from"../../hooks/campaigns/useCreateCampaign.esm.js";import"../../hooks/useSoundcheckAlert.esm.js";import"../../hooks/useConfirmationModal.esm.js";import{useNavigateBack as f}from"../../hooks/useNavigateBack.esm.js";import{campaignsPageRouteRef as d}from"../../routes.esm.js";import{CampaignForm as u}from"../CampaignForm/CampaignForm.esm.js";import"../SoundcheckHeader/SoundcheckHeader.esm.js";import"../SoundcheckHeader/SoundcheckHeaderContext.esm.js";import{useHeader as C}from"../SoundcheckHeader/useHeader.esm.js";const l=()=>{const{setIsLoading:t}=c(),{mutateAsync:m,isLoading:r}=g();s(()=>{t(r)},[t,r]);const[a,e]=f(d),p=async n=>{await m(n,{onSuccess:e})};return C({title:"Create a Campaign",description:"Create, monitor, and manage software updates or system transitions.",docLink:"https://backstage.spotify.com/docs/plugins/soundcheck/core-concepts/campaigns"}),o(i,{children:o(u,{onSave:p,onCancel:a})})},h=()=>o(i,{children:o(l,{})});export{h as CampaignCreatePage};
|
|
2
2
|
//# sourceMappingURL=CampaignCreatePage.esm.js.map
|
|
@@ -1,2 +1,2 @@
|
|
|
1
|
-
import{
|
|
1
|
+
import{jsx as e,Fragment as d}from"react/jsx-runtime";import{Content as b}from"@backstage/core-components";import{FormProvider as y}from"react-hook-form";import"../../contexts/TrackFormContext.esm.js";import"../../contexts/CheckFormContext.esm.js";import{useCampaignFormContext as x}from"../../contexts/CampaignFormContext.esm.js";import"react";import"../../contexts/UserProvider.esm.js";import N from"../../hooks/useFeatureFlag.esm.js";import{formStyles as k}from"../../utils/formStyles.esm.js";import{FormFilterSection as M}from"../FormFilterSection/FormFilterSection.esm.js";import{FormStepper as L}from"../FormStepper/FormStepper.esm.js";import{useCampaignForm as V}from"./hooks/useCampaignForm.esm.js";import{CampaignDetailsStep as v}from"./Steps/CampaignDetailsStep/CampaignDetailsStep.esm.js";import{CampaignTrackStepNew as A}from"./Steps/CampaignTrackStepNew.esm.js";import{CampaignMilestonesStep as D}from"./Steps/CampaignMilestonesStep.esm.js";import{StepNameMapping as E}from"./types/CampaignFormTypes.esm.js";import{CAMPAIGN_FIELDS as O}from"./utils/campaignFormUtils.esm.js";var c=(t=>(t.Details="Enter campaign details",t.Checks="Add checks",t.Entities="Choose the affected entities (Optional)",t.Milestones="Set campaign milestones",t))(c||{});const I=({onSave:t,onCancel:f,selectedCampaign:r})=>{const g=k(),{isLoading:i,isReadOnly:S}=x(),{formMethods:o,onSubmit:a}=V(t,r),{getValues:u,control:n,formState:{errors:m},handleSubmit:l,trigger:C}=o,s=u(),h=s.detailsStep.startDate;N("debugMode")&&console.log(s);const p=[{label:"Enter campaign details",content:()=>e(v,{control:n,isLoading:i,disabled:!1,errors:m.detailsStep,startDate:h})},{label:"Add checks",content:()=>e(d,{children:e(A,{})})},{label:"Choose the affected entities (Optional)",content:()=>e(M,{name:"filtersStep.filter",keyValueFilterName:"filtersStep.keyValueFilter",description:O.filter.description,excludeFilterName:"filtersStep.excludeFilter",excludeKeyValueFilterName:"filtersStep.excludeKeyValueFilter"})},{label:"Set campaign milestones",content:()=>e(D,{control:n,isLoading:i,disabled:!1,errors:m.milestonesStep})}],F=r?[...Array(p.length).keys()]:[0];return e(d,{children:e(b,{className:g.formWrapper,children:e(y,{...o,children:e("form",{onSubmit:l(a),children:e(L,{onClose:f,handleSubmit:l,trigger:C,onSubmit:a,initialVisited:F,stepNameMap:E,steps:p,isLoading:i,isReadOnly:S,saveButtonText:"Save Campaign"})})})})})};export{I as CampaignForm,c as CampaignStepLabel};
|
|
2
2
|
//# sourceMappingURL=CampaignForm.esm.js.map
|
package/dist/components/CampaignForm/Steps/CampaignDetailsStep/CampaignDescriptionField.esm.js
CHANGED
|
@@ -1,2 +1,2 @@
|
|
|
1
|
-
import{makeStyles as
|
|
1
|
+
import{jsxs as s,jsx as r}from"react/jsx-runtime";import{makeStyles as d,Typography as p,TextField as m}from"@material-ui/core";import{Controller as c}from"react-hook-form";import{CAMPAIGN_FIELDS as g}from"../../utils/campaignFormUtils.esm.js";const h=d(e=>({helperText:{marginLeft:0},container:{marginBottom:e.spacing(2)}})),x=({control:e,errors:t,isLoading:n,disabled:l})=>{const i=h(),{description:o}=g.details;return s("div",{className:i.container,children:[r(p,{variant:"subtitle2",children:o.name}),r(c,{name:"detailsStep.description",control:e,defaultValue:"",render:({field:a})=>r(m,{...a,FormHelperTextProps:{className:i.helperText},variant:"outlined",multiline:!0,minRows:4,fullWidth:!0,placeholder:o.placeholder,disabled:n||l,type:"text",margin:"dense",error:!!t?.description,helperText:t?.description?.message})})]})};export{x as CampaignDescriptionField};
|
|
2
2
|
//# sourceMappingURL=CampaignDescriptionField.esm.js.map
|
|
@@ -1,2 +1,2 @@
|
|
|
1
|
-
import e from"react";import{CampaignDescriptionField as
|
|
1
|
+
import{jsxs as s,Fragment as e,jsx as a}from"react/jsx-runtime";import{CampaignDescriptionField as l}from"./CampaignDescriptionField.esm.js";import{CampaignDraftField as t}from"./CampaignDraftField.esm.js";import{CampaignNameField as m}from"./CampaignNameField.esm.js";import{CampaignOwnerField as p}from"./CampaignOwnerField.esm.js";import{CampaignScheduleField as g}from"./CampaignScheduleField.esm.js";import{CampaignSupportChannelField as c}from"./CampaignSupportChannelField.esm.js";const f=({control:r,errors:d,isLoading:o,disabled:i,startDate:n})=>s(e,{children:[a(m,{control:r,errors:d,isLoading:o,disabled:i}),a(l,{control:r,errors:d,isLoading:o,disabled:i}),a(p,{control:r,errors:d,isLoading:o,disabled:i}),a(c,{control:r,errors:d,isLoading:o,disabled:i}),a(g,{control:r,errors:d,isLoading:o,disabled:i,startDate:n}),a(t,{control:r,isLoading:o,disabled:i})]});export{f as CampaignDetailsStep};
|
|
2
2
|
//# sourceMappingURL=CampaignDetailsStep.esm.js.map
|
|
@@ -0,0 +1,2 @@
|
|
|
1
|
+
import{jsxs as t,jsx as e}from"react/jsx-runtime";import{Typography as l,FormControlLabel as d,Checkbox as c}from"@material-ui/core";import{makeStyles as s}from"@material-ui/core/styles";import{Controller as m}from"react-hook-form";import{FormFieldLabel as f}from"../../../FormFieldLabel/FormFieldLabel.esm.js";const p=s(r=>({container:{display:"flex",flexDirection:"column"},draftInput:{display:"flex",flexDirection:"row",gap:r.spacing(1)}})),h=({control:r,isLoading:i,disabled:n})=>{const o=p();return t("div",{className:o.container,children:[t("div",{children:[e(f,{title:"Mark as draft"}),e(l,{variant:"caption",children:"Enable to hide this campaign from Soundcheck entity views."})]}),e("div",{className:o.draftInput,children:e(m,{name:"detailsStep.draft",control:r,render:({field:a})=>e(d,{label:"Draft",disabled:i||n,control:e(c,{checked:a.value,onChange:a.onChange})})})})]})};export{h as CampaignDraftField};
|
|
2
|
+
//# sourceMappingURL=CampaignDraftField.esm.js.map
|
|
@@ -1,2 +1,2 @@
|
|
|
1
|
-
import{makeStyles as
|
|
1
|
+
import{jsxs as m,jsx as t}from"react/jsx-runtime";import{makeStyles as s,Typography as d,TextField as p}from"@material-ui/core";import{Controller as c}from"react-hook-form";import{CAMPAIGN_FIELDS as h}from"../../utils/campaignFormUtils.esm.js";const x=s(e=>({helperText:{marginLeft:0},container:{marginBottom:e.spacing(2)}})),g=({control:e,errors:a,isLoading:l,disabled:n})=>{const o=x(),{name:r}=h.details;return m("div",{className:o.container,children:[t(d,{variant:"subtitle2",children:r.name}),t(c,{name:"detailsStep.name",control:e,defaultValue:"",render:({field:i})=>t(p,{...i,FormHelperTextProps:{className:o.helperText},variant:"outlined",fullWidth:!0,placeholder:r.placeholder,disabled:l||n,type:"text",margin:"dense",error:!!a?.name,helperText:a?.name?.message??r.helperText})})]})};export{g as CampaignNameField};
|
|
2
2
|
//# sourceMappingURL=CampaignNameField.esm.js.map
|