@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.
Files changed (430) hide show
  1. package/CHANGELOG.md +67 -0
  2. package/dist/alpha/entity-content.esm.js +1 -1
  3. package/dist/alpha/pages.esm.js +1 -1
  4. package/dist/alpha.d.ts +62 -47
  5. package/dist/api.esm.js +1 -1
  6. package/dist/components/AlertPanel/AlertPanel.esm.js +1 -1
  7. package/dist/components/AreaChart/AreaChart.esm.js +1 -1
  8. package/dist/components/AreaChart/ChartTooltip.esm.js +1 -1
  9. package/dist/components/AreaChart/Legend.esm.js +1 -1
  10. package/dist/components/AreaChart/LegendItem.esm.js +1 -1
  11. package/dist/components/Badges/BaseBadge.esm.js +1 -1
  12. package/dist/components/Badges/CampaignBadge.esm.js +1 -1
  13. package/dist/components/Badges/CertificationBadge.esm.js +1 -1
  14. package/dist/components/Badges/LevelBadge.esm.js +1 -1
  15. package/dist/components/Badges/NoLevelBadge.esm.js +2 -2
  16. package/dist/components/Badges/PlaylistBadge.esm.js +1 -1
  17. package/dist/components/Badges/StatusBadge.esm.js +1 -1
  18. package/dist/components/CacheConfig/CacheConfigComponent.esm.js +1 -1
  19. package/dist/components/CampaignCreatePage/CampaignCreatePage.esm.js +1 -1
  20. package/dist/components/CampaignForm/CampaignForm.esm.js +1 -1
  21. package/dist/components/CampaignForm/Steps/CampaignDetailsStep/CampaignDescriptionField.esm.js +1 -1
  22. package/dist/components/CampaignForm/Steps/CampaignDetailsStep/CampaignDetailsStep.esm.js +1 -1
  23. package/dist/components/CampaignForm/Steps/CampaignDetailsStep/CampaignDraftField.esm.js +2 -0
  24. package/dist/components/CampaignForm/Steps/CampaignDetailsStep/CampaignNameField.esm.js +1 -1
  25. package/dist/components/CampaignForm/Steps/CampaignDetailsStep/CampaignOwnerField.esm.js +1 -1
  26. package/dist/components/CampaignForm/Steps/CampaignDetailsStep/CampaignScheduleField.esm.js +1 -1
  27. package/dist/components/CampaignForm/Steps/CampaignDetailsStep/CampaignSupportChannelField.esm.js +1 -1
  28. package/dist/components/CampaignForm/Steps/CampaignDetailsStep/EndDateChips.esm.js +1 -1
  29. package/dist/components/CampaignForm/Steps/CampaignMilestonesStep.esm.js +1 -1
  30. package/dist/components/CampaignForm/Steps/CampaignTrackStepNew.esm.js +2 -0
  31. package/dist/components/CampaignForm/hooks/useCampaignForm.esm.js +1 -1
  32. package/dist/components/CampaignForm/hooks/utils.esm.js +1 -1
  33. package/dist/components/CampaignForm/utils/campaignFormUtils.esm.js +1 -1
  34. package/dist/components/CampaignForm/utils/validation.esm.js +1 -1
  35. package/dist/components/CampaignInsightsPage/CampaignInsightsPage.esm.js +1 -1
  36. package/dist/components/CampaignInsightsPage/CampaignStatusHistoryTile.esm.js +1 -1
  37. package/dist/components/CampaignInsightsPage/CampaignStatusTile.esm.js +1 -1
  38. package/dist/components/CampaignInsightsPage/DaysRemainingTile.esm.js +1 -1
  39. package/dist/components/CampaignsPage/CampaignEmptyState.esm.js +1 -1
  40. package/dist/components/CampaignsPage/CampaignListPage/CampaignListPage.esm.js +1 -1
  41. package/dist/components/CampaignsPage/CampaignListPage/CampaignMetadata.esm.js +1 -1
  42. package/dist/components/CampaignsPage/CampaignListPage/CampaignSummaryCard.esm.js +1 -1
  43. package/dist/components/CampaignsPage/CampaignListPage/CampaignsOverviewSkeleton.esm.js +1 -1
  44. package/dist/components/CampaignsPage/CampaignListPage/useArchiveConfirmationModal.esm.js +1 -1
  45. package/dist/components/CampaignsPage/CampaignsPage.esm.js +1 -1
  46. package/dist/components/CampaignsPage/EditCampaignView.esm.js +1 -1
  47. package/dist/components/CategoryBar/CategoryBar.esm.js +1 -1
  48. package/dist/components/CertificationAccordion/CertificationAccordion.esm.js +1 -1
  49. package/dist/components/CertificationSidebar/CertificationLevel.esm.js +1 -1
  50. package/dist/components/CertificationSidebar/CertificationSidebar.esm.js +1 -1
  51. package/dist/components/CertificationSidebar/CertificationSummary.esm.js +1 -1
  52. package/dist/components/CertificationSidebar/Check.esm.js +1 -1
  53. package/dist/components/CertificationSidebar/CheckResultInputPopup.esm.js +2 -0
  54. package/dist/components/CertificationSidebar/CheckResultSummaryList.esm.js +1 -1
  55. package/dist/components/CertificationSidebar/ExemptionJustificationDialog.esm.js +2 -0
  56. package/dist/components/CertificationSidebar/LevelSummary.esm.js +1 -1
  57. package/dist/components/CertificationSidebar/StatusDetails.esm.js +1 -1
  58. package/dist/components/CertificationSidebar/skeletons/CertificationSidebarSkeleton.esm.js +1 -1
  59. package/dist/components/CertificationSidebar/skeletons/CertificationSummarySkeleton.esm.js +1 -1
  60. package/dist/components/CertificationSidebar/skeletons/CheckSkeleton.esm.js +1 -1
  61. package/dist/components/CertificationSidebar/skeletons/LevelSummarySkeleton.esm.js +1 -1
  62. package/dist/components/CertificationsPage/CertificationTab.esm.js +1 -1
  63. package/dist/components/CertificationsPage/CertificationTabs.esm.js +1 -1
  64. package/dist/components/CertificationsPage/CertificationsPage.esm.js +1 -1
  65. package/dist/components/CertificationsPage/Playlist/PlaylistComponent.esm.js +1 -1
  66. package/dist/components/CertificationsPage/Playlist/PlaylistContext.esm.js +1 -1
  67. package/dist/components/CertificationsPage/Playlist/PlaylistProgress.esm.js +1 -1
  68. package/dist/components/CertificationsPage/Playlist/PlaylistSummary.esm.js +1 -1
  69. package/dist/components/CertificationsPage/PlaylistCertificationTab.esm.js +1 -1
  70. package/dist/components/CertificationsPage/skeletons/CertificationTabSkeleton.esm.js +1 -1
  71. package/dist/components/CertificationsPage/skeletons/CertificationTabsSkeleton.esm.js +1 -1
  72. package/dist/components/Charts/BarChart/BarChart.esm.js +1 -1
  73. package/dist/components/Charts/BarChart/BarChartPlaceholder.esm.js +1 -1
  74. package/dist/components/Charts/BarChart/GroupPassRateHistoryBarChart.esm.js +1 -1
  75. package/dist/components/Charts/BarChart/TrackSummaryBarChart.esm.js +1 -1
  76. package/dist/components/Charts/ChartWrapper/ChartWrapper.esm.js +1 -1
  77. package/dist/components/Charts/LineChart/EntityPassRateHistoryLineChart.esm.js +1 -1
  78. package/dist/components/Charts/LineChart/LineChart.esm.js +1 -1
  79. package/dist/components/Charts/LineChart/LineChartPlaceholder.esm.js +1 -1
  80. package/dist/components/Charts/LineChart/PassRateHistoryLineChart.esm.js +1 -1
  81. package/dist/components/Charts/LineChart/TableLineChart.esm.js +1 -1
  82. package/dist/components/Charts/LineChart/TrackPassRateHistoryLineChart.esm.js +1 -1
  83. package/dist/components/Charts/LoadingChart.esm.js +2 -0
  84. package/dist/components/Charts/chartUtils.esm.js +1 -1
  85. package/dist/components/CheckCard/CheckCard.esm.js +1 -1
  86. package/dist/components/CheckCard/CheckHistoryChart.esm.js +1 -1
  87. package/dist/components/CheckCreatePage/CheckCreatePage.esm.js +1 -1
  88. package/dist/components/CheckDetails/CheckDetails.esm.js +1 -1
  89. package/dist/components/CheckDetails/CheckResultDetails.esm.js +1 -1
  90. package/dist/components/CheckDetails/CollapseRow.esm.js +1 -1
  91. package/dist/components/CheckDetails/FactTable.esm.js +1 -1
  92. package/dist/components/CheckDetails/FixMeDialog.esm.js +1 -1
  93. package/dist/components/CheckDetails/JustificationDetails.esm.js +2 -0
  94. package/dist/components/CheckDetails/OngoingTaskComponent.esm.js +1 -1
  95. package/dist/components/CheckDetails/ResolvedValueTable.esm.js +1 -1
  96. package/dist/components/CheckDetails/ResultStateBox.esm.js +1 -1
  97. package/dist/components/CheckDetails/ReviewStateComponent.esm.js +1 -1
  98. package/dist/components/CheckDetails/SelectedValueContext.esm.js +1 -1
  99. package/dist/components/CheckDetails/skeletons/CheckDetailsSkeleton.esm.js +1 -1
  100. package/dist/components/CheckDryRun/CheckDryRun.esm.js +1 -1
  101. package/dist/components/CheckDryRun/CheckDryRunContext.esm.js +1 -1
  102. package/dist/components/CheckDryRun/CheckDryRunDetails.esm.js +1 -1
  103. package/dist/components/CheckDryRun/CheckDryRunDialog.esm.js +1 -1
  104. package/dist/components/CheckDryRun/CheckDryRunDialogButton.esm.js +1 -1
  105. package/dist/components/CheckForm/CheckForm.esm.js +1 -1
  106. package/dist/components/CheckForm/FormFields/CheckDescriptionInput/CheckDescriptionInput.esm.js +1 -1
  107. package/dist/components/CheckForm/FormFields/CheckNameInput/CheckNameInput.esm.js +1 -1
  108. package/dist/components/CheckForm/FormFields/CheckPathResolverInput.esm.js +1 -1
  109. package/dist/components/CheckForm/FormFields/CheckScheduleSection/ScheduleSection.esm.js +1 -1
  110. package/dist/components/CheckForm/FormFields/CheckTypeInput/CheckTypeInput.esm.js +2 -0
  111. package/dist/components/CheckForm/FormFields/PassFailMessageInput/PassFailMessageInput.esm.js +1 -1
  112. package/dist/components/CheckForm/FormFields/RuleInput/AddMenuButton.esm.js +1 -1
  113. package/dist/components/CheckForm/FormFields/RuleInput/Conditions/ConditionList.esm.js +1 -1
  114. package/dist/components/CheckForm/FormFields/RuleInput/Conditions/FactValueDisplay.esm.js +1 -1
  115. package/dist/components/CheckForm/FormFields/RuleInput/Conditions/RuleConditionInput.esm.js +1 -1
  116. package/dist/components/CheckForm/FormFields/RuleInput/Conditions/ValueListContext.esm.js +1 -1
  117. package/dist/components/CheckForm/FormFields/RuleInput/Conditions/ValueListInput.esm.js +1 -1
  118. package/dist/components/CheckForm/FormFields/RuleInput/Expressions/ExpressionBox.esm.js +1 -1
  119. package/dist/components/CheckForm/FormFields/RuleInput/Expressions/ExpressionTypeToggle.esm.js +1 -1
  120. package/dist/components/CheckForm/FormFields/RuleInput/RuleInputBox.esm.js +1 -1
  121. package/dist/components/CheckForm/FormFields/TeamDetailsInput/TeamDetailsInput.esm.js +1 -1
  122. package/dist/components/CheckForm/Steps/CheckApplicabilityStep.esm.js +2 -0
  123. package/dist/components/CheckForm/Steps/CheckDetailsStep.esm.js +1 -1
  124. package/dist/components/CheckForm/Steps/CheckReviewStep.esm.js +1 -1
  125. package/dist/components/CheckForm/Steps/CheckRulesStep.esm.js +1 -1
  126. package/dist/components/CheckForm/useCheckForm.esm.js +1 -1
  127. package/dist/components/CheckForm/utils/checkFormUtils.esm.js +2 -2
  128. package/dist/components/CheckForm/utils/validation.esm.js +1 -1
  129. package/dist/components/CheckHistoryChartCard/CheckHistoryChartCard.esm.js +1 -1
  130. package/dist/components/CheckIcon/CheckIcon.esm.js +1 -1
  131. package/dist/components/CheckPage/CheckEditPage.esm.js +1 -1
  132. package/dist/components/CheckPage/CheckEditView.esm.js +1 -1
  133. package/dist/components/CheckPage/CheckEntitiesTable/CheckEntitiesTable.esm.js +1 -1
  134. package/dist/components/CheckPage/CheckEntitiesTable/columns.esm.js +1 -1
  135. package/dist/components/CheckPage/CheckInsightsPage.esm.js +1 -1
  136. package/dist/components/CheckPage/CheckStatusHistoryChart.esm.js +1 -1
  137. package/dist/components/CheckPage/CheckStatusTable.esm.js +1 -1
  138. package/dist/components/CheckSelection/CheckPreview.esm.js +2 -0
  139. package/dist/components/CheckSelection/CheckPreviewContext.esm.js +2 -0
  140. package/dist/components/CheckSelection/CheckSelection.esm.js +2 -0
  141. package/dist/components/CheckStatusBar/CheckStatusBar.esm.js +2 -0
  142. package/dist/components/CheckTemplatesPage/CheckTemplatesPage.esm.js +1 -1
  143. package/dist/components/CheckTemplatesPage/TemplateCategory.esm.js +1 -1
  144. package/dist/components/ChecksPage/CheckListPage/CheckListPage.esm.js +1 -1
  145. package/dist/components/ChecksPage/CheckListPage/CheckMetadata.esm.js +1 -1
  146. package/dist/components/ChecksPage/CheckListPage/CheckSummaryCard.esm.js +1 -1
  147. package/dist/components/ChecksPage/ChecksPage.esm.js +1 -1
  148. package/dist/components/ChecksPage/skeletons/ChecksOverviewSkeleton.esm.js +1 -1
  149. package/dist/components/ChecksTab/ChecksTab.esm.js +1 -1
  150. package/dist/components/CollectorPage/CollectorPage.esm.js +1 -1
  151. package/dist/components/CollectorPage/Configurators/AzureDevOps/AzureDevOpsConfigurator.esm.js +1 -1
  152. package/dist/components/CollectorPage/Configurators/AzureDevOps/NumberOfDaysComponent.esm.js +1 -1
  153. package/dist/components/CollectorPage/Configurators/AzureDevOps/NumberOfWorkItemsComponent.esm.js +1 -1
  154. package/dist/components/CollectorPage/Configurators/AzureDevOps/validation.esm.js +1 -1
  155. package/dist/components/CollectorPage/Configurators/BigQuery/BigQueryConfigurator.esm.js +1 -1
  156. package/dist/components/CollectorPage/Configurators/BigQuery/QueryFactDetailsComponent.esm.js +1 -1
  157. package/dist/components/CollectorPage/Configurators/BigQuery/validation.esm.js +1 -1
  158. package/dist/components/CollectorPage/Configurators/Catalog/CatalogConfigurator.esm.js +1 -1
  159. package/dist/components/CollectorPage/Configurators/Common/CollectorSchedulingOptions.esm.js +1 -1
  160. package/dist/components/CollectorPage/Configurators/Common/FactCollectionConfig.esm.js +1 -1
  161. package/dist/components/CollectorPage/Configurators/Common/utils.esm.js +1 -1
  162. package/dist/components/CollectorPage/Configurators/Configurator.esm.js +1 -1
  163. package/dist/components/CollectorPage/Configurators/DataDog/DataDogConfigurator.esm.js +1 -1
  164. package/dist/components/CollectorPage/Configurators/DataRegistry/DataRegistryConfigurator.esm.js +2 -0
  165. package/dist/components/CollectorPage/Configurators/DataRegistry/utils.esm.js +2 -0
  166. package/dist/components/CollectorPage/Configurators/Github/CodeScanningAlertsFactDetails.esm.js +2 -0
  167. package/dist/components/CollectorPage/Configurators/Github/DependabotAlertsFactDetails.esm.js +2 -0
  168. package/dist/components/CollectorPage/Configurators/Github/GithubConfigurator.esm.js +1 -1
  169. package/dist/components/CollectorPage/Configurators/Github/SecretScanningAlertsFactDetails.esm.js +2 -0
  170. package/dist/components/CollectorPage/Configurators/Github/SecurityAdvisoriesFactDetails.esm.js +2 -0
  171. package/dist/components/CollectorPage/Configurators/Github/types.esm.js +2 -0
  172. package/dist/components/CollectorPage/Configurators/Github/utils.esm.js +1 -1
  173. package/dist/components/CollectorPage/Configurators/Github/validation.esm.js +2 -0
  174. package/dist/components/CollectorPage/Configurators/Gitlab/GitlabConfigurator.esm.js +1 -1
  175. package/dist/components/CollectorPage/Configurators/HTTP/HttpConfigurator.esm.js +1 -1
  176. package/dist/components/CollectorPage/Configurators/HTTP/HttpRequestComponent.esm.js +1 -1
  177. package/dist/components/CollectorPage/Configurators/HTTP/HttpResponseComponent.esm.js +1 -1
  178. package/dist/components/CollectorPage/Configurators/HTTP/HttpRetriesComponent.esm.js +1 -1
  179. package/dist/components/CollectorPage/Configurators/HTTP/HttpStatusesInput.esm.js +1 -1
  180. package/dist/components/CollectorPage/Configurators/HTTP/RequestFactDetailsComponent.esm.js +1 -1
  181. package/dist/components/CollectorPage/Configurators/HTTP/validation.esm.js +1 -1
  182. package/dist/components/CollectorPage/Configurators/Jira/IssuesSearchFactDetailsComponent.esm.js +1 -1
  183. package/dist/components/CollectorPage/Configurators/Jira/JiraConfigurator.esm.js +1 -1
  184. package/dist/components/CollectorPage/Configurators/Jira/validation.esm.js +1 -1
  185. package/dist/components/CollectorPage/Configurators/Kubernetes/KubernetesConfigurator.esm.js +1 -1
  186. package/dist/components/CollectorPage/Configurators/Kubernetes/KubernetesFactDetails.esm.js +1 -1
  187. package/dist/components/CollectorPage/Configurators/Kubernetes/validation.esm.js +1 -1
  188. package/dist/components/CollectorPage/Configurators/NewRelic/NewRelicConfigurator.esm.js +1 -1
  189. package/dist/components/CollectorPage/Configurators/PagerDuty/IncidentsFactDetailsComponent.esm.js +1 -1
  190. package/dist/components/CollectorPage/Configurators/PagerDuty/PagerDutyConfigurator.esm.js +1 -1
  191. package/dist/components/CollectorPage/Configurators/PagerDuty/StatusesComponent.esm.js +1 -1
  192. package/dist/components/CollectorPage/Configurators/PagerDuty/validation.esm.js +1 -1
  193. package/dist/components/CollectorPage/Configurators/SCM/ExistsFactDetailsComponent.esm.js +1 -1
  194. package/dist/components/CollectorPage/Configurators/SCM/FactDetailsComponent.esm.js +1 -1
  195. package/dist/components/CollectorPage/Configurators/SCM/JsonFactDetailsComponent.esm.js +1 -1
  196. package/dist/components/CollectorPage/Configurators/SCM/RegexFactDetailsComponent.esm.js +1 -1
  197. package/dist/components/CollectorPage/Configurators/SCM/ScmConfigurator.esm.js +1 -1
  198. package/dist/components/CollectorPage/Configurators/SCM/utils.esm.js +1 -1
  199. package/dist/components/CollectorPage/Configurators/SCM/validation.esm.js +1 -1
  200. package/dist/components/CollectorPage/Configurators/SonarQube/IssuesFactDetailsInput.esm.js +2 -0
  201. package/dist/components/CollectorPage/Configurators/SonarQube/MeasuresFactDetailsInput.esm.js +1 -1
  202. package/dist/components/CollectorPage/Configurators/SonarQube/MetricsInput.esm.js +1 -1
  203. package/dist/components/CollectorPage/Configurators/SonarQube/SonarQubeConfigurator.esm.js +1 -1
  204. package/dist/components/CollectorPage/Configurators/SonarQube/utils.esm.js +1 -1
  205. package/dist/components/CollectorPage/Configurators/SonarQube/validation.esm.js +1 -1
  206. package/dist/components/CollectorsPage/CollectorListPage/CollectorListPage.esm.js +1 -1
  207. package/dist/components/CollectorsPage/CollectorListPage/CollectorListSkeleton.esm.js +1 -1
  208. package/dist/components/CollectorsPage/CollectorListPage/CollectorLogo.esm.js +1 -1
  209. package/dist/components/CollectorsPage/CollectorListPage/CollectorSummaryCard.esm.js +1 -1
  210. package/dist/components/CollectorsPage/CollectorsPage.esm.js +1 -1
  211. package/dist/components/EmptyState/EmptyState.esm.js +1 -1
  212. package/dist/components/EntitiesAutocompletePicker/EntitiesAutocompletePicker.esm.js +2 -0
  213. package/dist/components/EntityChip/EntityChip.esm.js +1 -1
  214. package/dist/components/EntityContent/EntityContent.esm.js +1 -1
  215. package/dist/components/EntityPassRateCard/EntityPassRateCard.esm.js +1 -1
  216. package/dist/components/EntitySoundcheckCard/Card.esm.js +1 -1
  217. package/dist/components/EntitySoundcheckCard/EntitySoundcheckCard.esm.js +1 -1
  218. package/dist/components/EntitySoundcheckCard/skeletons/CardSkeleton.esm.js +1 -1
  219. package/dist/components/EntitySoundcheckContent.esm.js +1 -1
  220. package/dist/components/Expand/Expand.esm.js +1 -1
  221. package/dist/components/ExpandableSection/ExpandableSection.esm.js +1 -1
  222. package/dist/components/FactExplorer/FactExplorer.esm.js +1 -1
  223. package/dist/components/FactExplorer/FactExplorerContext.esm.js +1 -1
  224. package/dist/components/FactExplorer/FactExplorerDialog.esm.js +1 -1
  225. package/dist/components/FadeIn/FadeIn.esm.js +1 -1
  226. package/dist/components/Filter/EntityAutocompletePicker.esm.js +1 -1
  227. package/dist/components/Filter/FilterComponent.esm.js +1 -1
  228. package/dist/components/Filter/FilterKeyValueInput.esm.js +1 -1
  229. package/dist/components/Filter/FilterPreviewTable/EntityTableColumns.esm.js +1 -1
  230. package/dist/components/Filter/FilterPreviewTable/FilterPreviewTable.esm.js +1 -1
  231. package/dist/components/Filter/KeyValueInputDialog.esm.js +1 -1
  232. package/dist/components/FilterSidebar/FilterSidebar.esm.js +2 -0
  233. package/dist/components/FilterSidebar/StateFilter.esm.js +2 -0
  234. package/dist/components/FooterButtons/FooterButtons.esm.js +1 -1
  235. package/dist/components/FormControlledAutocomplete/ControlledAutocomplete.esm.js +1 -1
  236. package/dist/components/FormControlledAutocomplete/FormControlledAutocomplete.esm.js +1 -1
  237. package/dist/components/FormControlledAutocomplete/FormControlledMultipleAutocomplete.esm.js +2 -0
  238. package/dist/components/FormControlledSelect/FormControlledSelect.esm.js +1 -1
  239. package/dist/components/FormControlledTextField/FormControlledTextField.esm.js +1 -1
  240. package/dist/components/FormFieldLabel/FormFieldLabel.esm.js +1 -1
  241. package/dist/components/FormFilterSection/FormFilterSection.esm.js +1 -1
  242. package/dist/components/FormMarkdownInput/FormMarkdownInput.esm.js +1 -1
  243. package/dist/components/FormStepper/FormStepper.esm.js +1 -1
  244. package/dist/components/FormTextInput/FormTextInput.esm.js +1 -1
  245. package/dist/components/FormattedPreview/FormattedPreview.esm.js +2 -2
  246. package/dist/components/Frequency/FrequencyComponent.esm.js +1 -1
  247. package/dist/components/GroupPassRateCard/GroupPassRateCard.esm.js +1 -1
  248. package/dist/components/GroupSelector/GroupSelector.esm.js +1 -1
  249. package/dist/components/LevelUpParty/LevelUpParty.esm.js +1 -1
  250. package/dist/components/LevelsTable/CheckRowContent.esm.js +2 -0
  251. package/dist/components/LevelsTable/LevelsTable.esm.js +2 -0
  252. package/dist/components/ListboxVirtualized/ListboxVirtualized.esm.js +1 -1
  253. package/dist/components/LoadingIndicator/LoadingIndicator.esm.js +1 -1
  254. package/dist/components/MultiSelectFilter/MultiSelectFilter.esm.js +1 -1
  255. package/dist/components/NoBorderButton/NoBorderButton.esm.js +1 -1
  256. package/dist/components/OrgHealth/OrgHealthPage.esm.js +2 -0
  257. package/dist/components/OverviewChartCard/OverviewChartCard.esm.js +1 -1
  258. package/dist/components/OverviewPage/FixedGroupOverviewPage.esm.js +1 -1
  259. package/dist/components/OverviewPage/OverviewPage.esm.js +1 -1
  260. package/dist/components/OverviewPage/OverviewPageContent.esm.js +1 -1
  261. package/dist/components/OverviewPage/OverviewPageHeader.esm.js +1 -1
  262. package/dist/components/OverviewTable/Cell/CheckCell.esm.js +1 -1
  263. package/dist/components/OverviewTable/Cell/CheckCellTooltip.esm.js +1 -1
  264. package/dist/components/OverviewTable/Cell/CheckLabelCell.esm.js +1 -1
  265. package/dist/components/OverviewTable/Cell/CheckNameCell.esm.js +1 -1
  266. package/dist/components/OverviewTable/Cell/EntityRefCell.esm.js +1 -1
  267. package/dist/components/OverviewTable/Cell/TrackBadgeCell.esm.js +1 -1
  268. package/dist/components/OverviewTable/Cell/TrackCheckIndicator.esm.js +1 -1
  269. package/dist/components/OverviewTable/Cell/TrackLevelHeaderCell.esm.js +1 -1
  270. package/dist/components/OverviewTable/Cell/TrackTitleCell.esm.js +1 -1
  271. package/dist/components/OverviewTable/Cell/cellRenderer.esm.js +1 -1
  272. package/dist/components/OverviewTable/OverviewTable.esm.js +1 -1
  273. package/dist/components/OverviewTable/OverviewTableContent.esm.js +1 -1
  274. package/dist/components/OverviewTable/OverviewTableSkeleton.esm.js +1 -1
  275. package/dist/components/OverviewTable/ResultsTable.esm.js +1 -1
  276. package/dist/components/OverviewTable/ResultsTableHeader.esm.js +1 -1
  277. package/dist/components/OverviewTable/ResultsTableRow.esm.js +1 -1
  278. package/dist/components/PageWarningMessage/PageWarningMessage.esm.js +1 -1
  279. package/dist/components/Pagination/CursorPagination.esm.js +1 -1
  280. package/dist/components/Pagination/Pagination.esm.js +1 -1
  281. package/dist/components/PassRateGrid/PassRateGrid.esm.js +1 -1
  282. package/dist/components/PassRateGrid/PassRateMetadata.esm.js +1 -1
  283. package/dist/components/PassRateTable/NewPassRateTable.esm.js +1 -1
  284. package/dist/components/PassRateTable/PassRateTable.esm.js +2 -2
  285. package/dist/components/QuickstartPage/HowDoIListItem.esm.js +1 -1
  286. package/dist/components/QuickstartPage/QuickStartChecksCard.esm.js +1 -1
  287. package/dist/components/QuickstartPage/QuickstartCardBase.esm.js +1 -1
  288. package/dist/components/QuickstartPage/QuickstartCollectorConfigurationsCard.esm.js +1 -1
  289. package/dist/components/QuickstartPage/QuickstartPage.esm.js +1 -1
  290. package/dist/components/QuickstartPage/QuickstartTracksCard.esm.js +1 -1
  291. package/dist/components/QuickstartPage/WelcomeHelpSection.esm.js +6 -6
  292. package/dist/components/QuickstartPage/WelcomeModal.esm.js +1 -1
  293. package/dist/components/RefetchingIndicator/RefetchingIndicator.esm.js +1 -1
  294. package/dist/components/RelativeTime/RelativeTime.esm.js +1 -1
  295. package/dist/components/RichTooltip/RichTooltip.esm.js +1 -1
  296. package/dist/components/Router.esm.js +1 -1
  297. package/dist/components/RoutingPage/RoutingPage.esm.js +1 -1
  298. package/dist/components/RuleResult/BranchResultComponent.esm.js +1 -1
  299. package/dist/components/RuleResult/ConditionResultComponent.esm.js +1 -1
  300. package/dist/components/RuleResult/RuleResultComponent.esm.js +1 -1
  301. package/dist/components/SearchBar/SearchBar.esm.js +1 -1
  302. package/dist/components/SearchFilters/SearchFilters.esm.js +1 -1
  303. package/dist/components/SoundcheckDialog/SoundcheckDialog.esm.js +1 -1
  304. package/dist/components/SoundcheckHeader/Breadcrumbs.esm.js +1 -1
  305. package/dist/components/SoundcheckHeader/SoundcheckHeader.esm.js +1 -1
  306. package/dist/components/SoundcheckHeader/SoundcheckHeaderContext.esm.js +1 -1
  307. package/dist/components/SoundcheckHeader/headerUtil.esm.js +1 -1
  308. package/dist/components/SoundcheckMarkdownContent/ComponentRenders.esm.js +2 -0
  309. package/dist/components/SoundcheckMarkdownContent/SoundcheckMarkdownContent.esm.js +2 -0
  310. package/dist/components/SoundcheckQueryClientProvider/SoundcheckQueryClientProvider.esm.js +1 -1
  311. package/dist/components/SummaryCard/SummaryCard.esm.js +1 -1
  312. package/dist/components/SummaryCard/SummaryCardActionsMenu.esm.js +1 -1
  313. package/dist/components/TechHealth/Filters/FacetFilter.esm.js +1 -1
  314. package/dist/components/TechHealth/Filters/FilterProvider.esm.js +1 -1
  315. package/dist/components/TechHealth/Filters/Filters.esm.js +1 -1
  316. package/dist/components/TechHealth/Filters/FiltersHeader.esm.js +1 -1
  317. package/dist/components/TechHealth/Filters/FiltersSection.esm.js +1 -1
  318. package/dist/components/TechHealth/Filters/NumberOfDaysFilter.esm.js +1 -1
  319. package/dist/components/TechHealth/Filters/useFacetOptions.esm.js +1 -1
  320. package/dist/components/TechHealth/Loading/Emoji.esm.js +1 -1
  321. package/dist/components/TechHealth/Loading/EmojiFountain.esm.js +1 -1
  322. package/dist/components/TechHealth/Loading/Loading.esm.js +1 -1
  323. package/dist/components/TechHealth/Loading/TechHealthLoading.esm.js +1 -1
  324. package/dist/components/TechHealth/TechHealth.esm.js +1 -1
  325. package/dist/components/TechHealthSummary/SummaryAggregationsProvider.esm.js +1 -1
  326. package/dist/components/TechHealthSummary/TechHealthSummary.esm.js +1 -1
  327. package/dist/components/TechHealthTabs/ActionColumn.esm.js +1 -1
  328. package/dist/components/TechHealthTabs/CampaignResultsTab/CampaignResultsTab.esm.js +1 -1
  329. package/dist/components/TechHealthTabs/CheckResultsTab/CheckResultsTab.esm.js +1 -1
  330. package/dist/components/TechHealthTabs/CheckResultsTab/CheckTrendColumn.esm.js +1 -1
  331. package/dist/components/TechHealthTabs/EntityResultsTab/EntityResultsTab.esm.js +1 -1
  332. package/dist/components/TechHealthTabs/EntityResultsTab/EntityTrendColumn.esm.js +1 -1
  333. package/dist/components/TechHealthTabs/GroupResultsTab/GroupResultsTab.esm.js +1 -1
  334. package/dist/components/TechHealthTabs/GroupResultsTab/GroupTrendColumn.esm.js +1 -1
  335. package/dist/components/TechHealthTabs/MostRecentColumn.esm.js +1 -1
  336. package/dist/components/TechHealthTabs/NameColumn.esm.js +1 -1
  337. package/dist/components/TechHealthTabs/OwnerColumn.esm.js +1 -1
  338. package/dist/components/TechHealthTabs/PassRateTabHeader.esm.js +1 -1
  339. package/dist/components/TechHealthTabs/TrackResultsTab/TrackLevelTrendColumn.esm.js +1 -1
  340. package/dist/components/TechHealthTabs/TrackResultsTab/TrackResultsTab.esm.js +1 -1
  341. package/dist/components/TechHealthTabs/techHealthTabUtils.esm.js +1 -1
  342. package/dist/components/TopFailingChecksTable/TopFailingChecksTable.esm.js +2 -0
  343. package/dist/components/TrackCreatePage/TrackCreatePage.esm.js +1 -1
  344. package/dist/components/TrackEditPage/TrackEditPage.esm.js +1 -1
  345. package/dist/components/TrackEditPage/TrackEditView.esm.js +1 -1
  346. package/dist/components/TrackForm/Steps/LevelsStep/LevelsStepNew.esm.js +2 -0
  347. package/dist/components/TrackForm/Steps/TrackDetailsStep/TrackBadgeTypeSelect/TrackBadgeTypeSelect.esm.js +1 -1
  348. package/dist/components/TrackForm/Steps/TrackDetailsStep/TrackDescriptionInput/TrackDescriptionInput.esm.js +1 -1
  349. package/dist/components/TrackForm/Steps/TrackDetailsStep/TrackDetailsStep.esm.js +1 -1
  350. package/dist/components/TrackForm/Steps/TrackDetailsStep/TrackDocumentationUrlInput/TrackDocumentationUrlInput.esm.js +1 -1
  351. package/dist/components/TrackForm/Steps/TrackDetailsStep/TrackDraftInput/TrackDraftInput.esm.js +2 -0
  352. package/dist/components/TrackForm/Steps/TrackDetailsStep/TrackNameInput/TrackNameInput.esm.js +1 -1
  353. package/dist/components/TrackForm/Steps/TrackDetailsStep/TrackOwnerSelect/TrackOwnerSelect.esm.js +1 -1
  354. package/dist/components/TrackForm/TrackForm.esm.js +1 -1
  355. package/dist/components/TrackForm/utils/useTrackForm.esm.js +1 -1
  356. package/dist/components/TrackHistoryChartCard/TrackHistoryChartCard.esm.js +1 -1
  357. package/dist/components/TrackPage/FilterBar/FilterBar.esm.js +1 -1
  358. package/dist/components/TrackPage/TrackEntitiesTable/TrackEntitiesTable.esm.js +1 -1
  359. package/dist/components/TrackPage/TrackEntitiesTable/TrackStatusChip.esm.js +1 -1
  360. package/dist/components/TrackPage/TrackEntitiesTable/columns.esm.js +1 -1
  361. package/dist/components/TrackPage/TrackEntitiesTable/utils.esm.js +1 -1
  362. package/dist/components/TrackPage/TrackHistoryChart.esm.js +1 -1
  363. package/dist/components/TrackPage/TrackPage.esm.js +1 -1
  364. package/dist/components/TrackPage/TrackProgressCard.esm.js +1 -1
  365. package/dist/components/TrackPage/TrackStatus.esm.js +2 -0
  366. package/dist/components/TrackPage/TrackStatusBar.esm.js +2 -0
  367. package/dist/components/TrackPage/TrackStatusTable.esm.js +2 -0
  368. package/dist/components/TracksPage/TrackListPage/TrackListPage.esm.js +1 -1
  369. package/dist/components/TracksPage/TrackListPage/TrackMetadata.esm.js +1 -1
  370. package/dist/components/TracksPage/TrackListPage/TrackSummaryCard.esm.js +1 -1
  371. package/dist/components/TracksPage/TrackListPage/TracksOverviewSkeleton.esm.js +1 -1
  372. package/dist/components/TracksPage/TracksPage.esm.js +1 -1
  373. package/dist/components/TracksTab/TracksTab.esm.js +1 -1
  374. package/dist/contexts/GenericFormContext.esm.js +1 -1
  375. package/dist/contexts/UserProvider.esm.js +1 -1
  376. package/dist/graphql/generated/index.esm.js +152 -65
  377. package/dist/hooks/aggregations/useCertificationStatus.esm.js +1 -1
  378. package/dist/hooks/aggregations/useCheckStatus.esm.js +1 -1
  379. package/dist/hooks/aggregations/useCheckStatuses.esm.js +1 -1
  380. package/dist/hooks/catalog/useGetEntityFacets.esm.js +1 -1
  381. package/dist/hooks/catalog/useGetEntityRefs.esm.js +1 -1
  382. package/dist/hooks/certifications/useAllCertifications.esm.js +1 -1
  383. package/dist/hooks/certifications/useCertificationDetails.esm.js +1 -1
  384. package/dist/hooks/certifications/useCertificationDetailsForTrack.esm.js +1 -1
  385. package/dist/hooks/checks/useCheck.esm.js +2 -0
  386. package/dist/hooks/checks/useDeleteCheck.esm.js +1 -1
  387. package/dist/hooks/checks/useGetChecks.esm.js +1 -1
  388. package/dist/hooks/checks/useSetManualResult.esm.js +2 -0
  389. package/dist/hooks/checks/useUpdateCheck.esm.js +1 -1
  390. package/dist/hooks/exemptions/useDeleteExemption.esm.js +2 -0
  391. package/dist/hooks/exemptions/useExemptCheckIds.esm.js +2 -0
  392. package/dist/hooks/exemptions/useGetExemption.esm.js +2 -0
  393. package/dist/hooks/exemptions/useSetEntityExempt.esm.js +2 -0
  394. package/dist/hooks/facets/useFacetFilters.esm.js +1 -1
  395. package/dist/hooks/graphqlKeys.esm.js +1 -1
  396. package/dist/hooks/tracks/useGetAllTracks.esm.js +1 -1
  397. package/dist/hooks/tracks/useTrack.esm.js +2 -0
  398. package/dist/hooks/tracks/useUpdateTrack.esm.js +1 -1
  399. package/dist/hooks/useConfirmationModal.esm.js +1 -1
  400. package/dist/hooks/useSoundcheckAlert.esm.js +1 -1
  401. package/dist/images/data-registry-blk.svg +36 -0
  402. package/dist/images/data-registry-wht.svg +36 -0
  403. package/dist/index.d.ts +4 -5
  404. package/dist/index.esm.js +1 -1
  405. package/dist/routes.esm.js +1 -1
  406. package/dist/utils/colors.esm.js +2 -0
  407. package/dist/utils/export.esm.js +3 -3
  408. package/dist/utils/formatters.esm.js +2 -0
  409. package/dist/utils/validation.esm.js +1 -1
  410. package/package.json +30 -26
  411. package/dist/components/Badges/badge.esm.js +0 -2
  412. package/dist/components/CampaignForm/Steps/CampaignTrackStep.esm.js +0 -2
  413. package/dist/components/CheckDetails/ExemptionDetails.esm.js +0 -2
  414. package/dist/components/CheckDryRun/checkDryRunUtils.esm.js +0 -2
  415. package/dist/components/CheckPage/CheckStatusBar.esm.js +0 -2
  416. package/dist/components/CheckPage/FilterBar/FilterBar.esm.js +0 -2
  417. package/dist/components/CheckPage/StatusRow.esm.js +0 -2
  418. package/dist/components/ChecksErrors/ChecksErrors.esm.js +0 -2
  419. package/dist/components/ContextMenu/ContextMenu.esm.js +0 -2
  420. package/dist/components/DraggableChip/DraggableChip.esm.js +0 -2
  421. package/dist/components/DraggableChip/chipStyles.esm.js +0 -2
  422. package/dist/components/DroppableInput/DroppableInput.esm.js +0 -2
  423. package/dist/components/LevelCard/LevelCard.esm.js +0 -2
  424. package/dist/components/LevelCard/LevelTooltip.esm.js +0 -2
  425. package/dist/components/TrackForm/Steps/LevelsStep/ChecksSection/ChecksSection.esm.js +0 -2
  426. package/dist/components/TrackForm/Steps/LevelsStep/LevelsSection/LevelChipsSection.esm.js +0 -2
  427. package/dist/components/TrackForm/Steps/LevelsStep/LevelsSection/LevelsSection.esm.js +0 -2
  428. package/dist/components/TrackForm/Steps/LevelsStep/LevelsStep.esm.js +0 -2
  429. package/dist/components/TrackPage/TrackLevelsChart.esm.js +0 -2
  430. package/dist/hooks/useContextMenu.esm.js +0 -2
@@ -1,2 +1,2 @@
1
- import{useApi as u}from"@backstage/core-plugin-api";import{useQueryClient as l,useMutation as a}from"@tanstack/react-query";import{soundcheckApiRef as y}from"../../api.esm.js";import{MutationKeys as h,QueryKeys as i}from"../graphqlKeys.esm.js";import{useSoundcheckAlert as k}from"../useSoundcheckAlert.esm.js";const m="Error Deleting Check";function d(){const s=u(y),r=l(),{showAlert:c}=k(),n=async e=>{const t=await s.deleteCheck(e);if(!t)throw new Error(`Failed to delete check ${e}`);return t};return a([h.DeleteCheck],n,{onSuccess:()=>Promise.all([r.invalidateQueries({queryKey:[i.GetChecks]}),r.invalidateQueries({queryKey:[i.GetAllTracks]}),r.invalidateQueries({queryKey:[i.GetCheckOwners]}),r.invalidateQueries({queryKey:[i.ExecutableChecks]})]),onError:(e,t)=>{let o=`Failed to delete check ${t}`;e instanceof Error&&(o=e.message),c({severity:"error",title:m,message:o})}})}export{d as useDeleteCheck};
1
+ import{useApi as u}from"@backstage/core-plugin-api";import{useQueryClient as l,useMutation as a}from"@tanstack/react-query";import{soundcheckApiRef as m}from"../../api.esm.js";import{MutationKeys as h,QueryKeys as t}from"../graphqlKeys.esm.js";import{useSoundcheckAlert as k}from"../useSoundcheckAlert.esm.js";const y="Error Deleting Check";function f(){const c=u(m),s=l(),{showAlert:i}=k(),n=async e=>{const r=await c.deleteCheck(e);if(!r)throw new Error(`Failed to delete check ${e}`);return r};return a([h.DeleteCheck],n,{onSuccess:e=>{s.removeQueries({queryKey:[t.Check,e]});const r=[t.GetChecks,t.GetAllTracks,t.GetCheckOwners,t.ExecutableChecks];return Promise.all(r.map(o=>s.invalidateQueries({queryKey:[o]})))},onError:(e,r)=>{let o=`Failed to delete check ${r}`;e instanceof Error&&(o=e.message),i({severity:"error",title:y,message:o})}})}export{f as useDeleteCheck};
2
2
  //# sourceMappingURL=useDeleteCheck.esm.js.map
@@ -1,2 +1,2 @@
1
- import{useApi as o}from"@backstage/core-plugin-api";import{useQuery as s}from"@tanstack/react-query";import{soundcheckApiRef as c}from"../../api.esm.js";import{QueryKeys as n}from"../graphqlKeys.esm.js";function i(e,r=!0){const t=o(c);return s([n.GetChecks,e],async()=>t.getChecks(e),{staleTime:5*60*1e3,refetchInterval:!1,refetchOnWindowFocus:!1,enabled:r})}export{i as useGetChecks};
1
+ import{useApi as n}from"@backstage/core-plugin-api";import{useQueryClient as i,useQuery as u}from"@tanstack/react-query";import{useEffect as a}from"react";import{soundcheckApiRef as m}from"../../api.esm.js";import{QueryKeys as s}from"../graphqlKeys.esm.js";function d(t,c=!0){const f=n(m),o=i(),e=u([s.GetChecks,t],async()=>f.getChecks(t),{staleTime:5*60*1e3,refetchInterval:!1,refetchOnWindowFocus:!1,enabled:c});return a(()=>{if(e.data)for(const r of e.data.edges)o.setQueryData([s.Check,r.node.id],r.node)},[e.data,o]),e}export{d as useGetChecks};
2
2
  //# sourceMappingURL=useGetChecks.esm.js.map
@@ -0,0 +1,2 @@
1
+ import{useApi as c}from"@backstage/core-plugin-api";import{useQueryClient as l,useMutation as y}from"@tanstack/react-query";import{useParams as m}from"react-router-dom";import{soundcheckApiRef as d}from"../../api.esm.js";import{MutationKeys as f,QueryKeys as i}from"../graphqlKeys.esm.js";import{useSoundcheckAlert as h}from"../useSoundcheckAlert.esm.js";function k(){const s=c(d),t=l(),{showAlert:u}=h(),o=async r=>{const e=await s.setManualCheckResult(r);if(!e)throw new Error(`Failed to set manual result for check ${r.checkId} on entity ${r.entityRef}.`);return e},{trackId:n}=m();return y([f.SetResult],o,{onSuccess:(r,{checkId:e,entityRef:a})=>Promise.all([t.invalidateQueries({queryKey:[i.CertificationDetails,a]}),t.invalidateQueries({queryKey:[i.CertificationStatus,a]}),t.invalidateQueries({queryKey:[i.Certifications,a]}),t.invalidateQueries({queryKey:[i.CheckDetails,a,n,e]}),t.invalidateQueries({queryKey:[i.CheckStatus,e,a]}),t.invalidateQueries({queryKey:[i.TrackEntities]}),t.invalidateQueries({queryKey:[i.getExemptCheckIds,a]})]),onError:r=>{let e="Failed to execute check.";r instanceof Error&&(e=r.message),u({severity:"error",title:"Failed to set manual result.",message:e})}})}export{k as useSetManualResult};
2
+ //# sourceMappingURL=useSetManualResult.esm.js.map
@@ -1,2 +1,2 @@
1
- import{useApi as i}from"@backstage/core-plugin-api";import{useQueryClient as a,useMutation as u}from"@tanstack/react-query";import{soundcheckApiRef as m}from"../../api.esm.js";import{MutationKeys as p,QueryKeys as t}from"../graphqlKeys.esm.js";import{useSoundcheckAlert as h}from"../useSoundcheckAlert.esm.js";const k="Error Creating Check";function l(){const o=i(m),s=a(),{showAlert:c}=h(),n=async r=>{const e=await o.updateCheck(r);if(!e)throw new Error("Failed to update check.");return e};return u([p.UpdateCheck],n,{onSuccess:()=>{const r=[t.GetChecks,t.GetCheckOwners,t.ExecutableChecks,t.GetFacetsForOwner,t.GetTrackOverviewForOwner];return Promise.all(r.map(e=>s.invalidateQueries({queryKey:[e]})))},onError:r=>{let e="Failed to update check.";r instanceof Error&&(e=r.message),c({severity:"error",title:k,message:e})}})}export{l as useUpdateCheck};
1
+ import{useApi as i}from"@backstage/core-plugin-api";import{useQueryClient as u,useMutation as h}from"@tanstack/react-query";import{soundcheckApiRef as m}from"../../api.esm.js";import{MutationKeys as p,QueryKeys as t}from"../graphqlKeys.esm.js";import{useSoundcheckAlert as k}from"../useSoundcheckAlert.esm.js";const l="Error Creating Check";function d(){const s=i(m),o=u(),{showAlert:c}=k(),n=async e=>{const r=await s.updateCheck(e);if(!r)throw new Error("Failed to update check.");return r};return h([p.UpdateCheck],n,{onSuccess:e=>{const r=[t.GetChecks,t.GetCheckOwners,t.ExecutableChecks,t.GetFacetsForOwner,t.GetTrackOverviewForOwner];return o.setQueryData([t.Check,e.id],e),Promise.all(r.map(a=>o.invalidateQueries({queryKey:[a]})))},onError:e=>{let r="Failed to update check.";e instanceof Error&&(r=e.message),c({severity:"error",title:l,message:r})}})}export{d as useUpdateCheck};
2
2
  //# sourceMappingURL=useUpdateCheck.esm.js.map
@@ -0,0 +1,2 @@
1
+ import{useApi as l}from"@backstage/core-plugin-api";import{useQueryClient as y,useMutation as c}from"@tanstack/react-query";import{soundcheckApiRef as m}from"../../api.esm.js";import{MutationKeys as d,QueryKeys as r}from"../graphqlKeys.esm.js";import{useSoundcheckAlert as p}from"../useSoundcheckAlert.esm.js";function f(){const s=l(m),t=y(),{showAlert:a}=p(),u=async o=>{const{checkId:i,entityRef:e}=o,n=await s.deleteExemption(i,e);if(!n)throw new Error(`Failed to delete exemption for entity ${e} from check id ${i}.`);return n};return c([d.DeleteExemption],u,{onSuccess:({deleteExemption:o})=>{const{check_id:i,entity_ref:e}=o;return Promise.all([t.invalidateQueries({queryKey:[r.getExemption,e,i]}),t.invalidateQueries({queryKey:[r.GetChecks,i]}),t.invalidateQueries({queryKey:[r.TrackEntities,e]}),t.invalidateQueries({queryKey:[r.CertificationDetails,e]}),t.invalidateQueries({queryKey:[r.CertificationStatus,e]}),t.invalidateQueries({queryKey:[r.Certifications,e]}),t.invalidateQueries({queryKey:[r.CheckDetails,e]}),t.invalidateQueries({queryKey:[r.CheckStatus,i,e]}),t.invalidateQueries({queryKey:[r.getExemptCheckIds,e]})])},onError:o=>{let i="Failed to delete exemption.";o instanceof Error&&(i=o.message),a({severity:"error",title:"Error Deleting Exemption",message:i})}})}export{f as useDeleteExemption};
2
+ //# sourceMappingURL=useDeleteExemption.esm.js.map
@@ -0,0 +1,2 @@
1
+ import{useApi as i}from"@backstage/core-plugin-api";import{useQuery as c}from"@tanstack/react-query";import{soundcheckApiRef as m}from"../../api.esm.js";import{QueryKeys as n}from"../graphqlKeys.esm.js";function s(e,t){const r=i(m);return c([n.getExemptCheckIds,e,t],async()=>{const o=await r.getExemptCheckIds(e,t);if(!o)throw new Error(`Failed to get exempt check ids for entity ${e} and track id ${t}.`);return o},{enabled:!!t&&!!e})}export{s as useExemptCheckIds};
2
+ //# sourceMappingURL=useExemptCheckIds.esm.js.map
@@ -0,0 +1,2 @@
1
+ import{useApi as i}from"@backstage/core-plugin-api";import{useQuery as n}from"@tanstack/react-query";import{soundcheckApiRef as m}from"../../api.esm.js";import{QueryKeys as f}from"../graphqlKeys.esm.js";function p(t,e){const r=i(m);return n([f.getExemption,t,e],async()=>{if(!e)return null;const o=await r.getExemption(e,t);if(!o)throw new Error(`Failed to check for exemption for entity ${t} for check id ${e}.`);return o})}export{p as useGetExemption};
2
+ //# sourceMappingURL=useGetExemption.esm.js.map
@@ -0,0 +1,2 @@
1
+ import{useApi as y}from"@backstage/core-plugin-api";import{useQueryClient as m,useMutation as l}from"@tanstack/react-query";import{soundcheckApiRef as d}from"../../api.esm.js";import{MutationKeys as f,QueryKeys as i}from"../graphqlKeys.esm.js";import{useSoundcheckAlert as p}from"../useSoundcheckAlert.esm.js";const E="Error Setting Exemption";function h(){const o=y(d),t=m(),{showAlert:a}=p(),u=async r=>{const{checkId:e,entityRef:n,justification:c}=r,s=await o.setEntityExempt({checkId:e,entityRef:n,justification:c});if(!s)throw new Error(`Failed to exempt entity ${n} from check id ${e}.`);return s};return l([f.CreateExemption],u,{onSuccess:({check_id:r,entity_ref:e})=>Promise.all([t.invalidateQueries({queryKey:[i.getExemption,e,r]}),t.invalidateQueries({queryKey:[i.GetChecks,r]}),t.invalidateQueries({queryKey:[i.TrackEntities,e]}),t.invalidateQueries({queryKey:[i.CertificationDetails,e]}),t.invalidateQueries({queryKey:[i.CertificationStatus,e]}),t.invalidateQueries({queryKey:[i.Certifications,e]}),t.invalidateQueries({queryKey:[i.CheckDetails,e]}),t.invalidateQueries({queryKey:[i.CheckStatus,r,e]}),t.invalidateQueries({queryKey:[i.getExemptCheckIds,e]})]),onError:r=>{let e="Failed to set exemption";r instanceof Error&&(e=r.message),a({severity:"error",title:E,message:e})}})}export{h as useSetEntityExempt};
2
+ //# sourceMappingURL=useSetEntityExempt.esm.js.map
@@ -1,2 +1,2 @@
1
- import{camelCase as l}from"lodash";import{useCallback as _,useEffect as g,useLayoutEffect as b}from"react";import{useSearchParams as N,useLocation as D,useNavigate as j}from"react-router-dom";import E from"react-use/lib/useLocalStorage";import{Facet as n}from"../../components/TechHealth/Filters/types.esm.js";import"../../components/TechHealth/Filters/FacetFilter.esm.js";import"../../components/TechHealth/Filters/FilterProvider.esm.js";import"../../components/TechHealth/Filters/Filters.esm.js";import"../../components/TechHealth/Filters/FiltersHeader.esm.js";import"../../components/TechHealth/Filters/FiltersSection.esm.js";import"@backstage/catalog-model";import"../../contexts/TrackFormContext.esm.js";import"../../contexts/CheckFormContext.esm.js";import"../../contexts/CampaignFormContext.esm.js";import"../../contexts/UserProvider.esm.js";import"@backstage/core-plugin-api";import"@tanstack/react-query";import"../../api.esm.js";import"../graphqlKeys.esm.js";import"@backstage/plugin-catalog-react";import"@spotify/backstage-plugin-soundcheck-common";import"../useSoundcheckAlert.esm.js";import"../useConfirmationModal.esm.js";import{emptyFacetFilters as h,DEFAULT_NUMBER_OF_DAYS as f,MIN_NUMBER_OF_DAYS as v,MAX_NUMBER_OF_DAYS as A}from"../../components/TechHealth/Filters/utils.esm.js";const M=(S,O)=>{const[e]=N(),s=D(),i=j(),u=O??S[n.EntityOwner][0]?.value,[a=h(u),p]=E("soundcheck.techHealth.facetFilters",h(u));a&&Object.values(n).forEach(t=>{a[t]||(a[t]=[])});const[c=f,F]=E("soundcheck.techHealth.numberOfDays",f),d=t=>!isNaN(t)&&t>=v&&t<=A,y=_((t,r)=>{const o={...a??h()};o[t]=r,p(o)},[a,p]);return g(()=>{const t=e.get("days");if(t&&t!==c.toString()){const r=parseInt(t,10);F(d(r)?r:f)}},[]),g(()=>{const t=e.get("days");(!t||t!==c.toString())&&(e.set("days",c.toString()),i({pathname:s.pathname,search:`?${e.toString()}`}))},[c,e,s,i]),b(()=>{let t=!0;const r=a;Object.values(n).forEach(o=>{const m=e.get(l(o));m?(t=!1,r[o]=m.split(",")):r[o]=[]}),t||p(r)},[]),g(()=>{Object.values(n).forEach(t=>{const r=a[t].join(","),o=l(t);r.length&&e.get(o)!==r&&(e.set(o,r),i({pathname:s.pathname,search:`?${e.toString()}`}))})},[a,e,s,i,u]),{setFacetFilter:(t,r)=>{y(t,r);const o=l(t);if(r.length){const m=r.join(",");e.get(o)!==m&&e.set(o,m)}else e.delete(o);i({pathname:s.pathname,search:`?${e.toString()}`})},getFacetFilter:t=>a?a[t]:[],clearFacetFilters:()=>{F(f),p(h()),e.delete("days"),Object.values(n).forEach(t=>{e.delete(l(t))}),i({pathname:s.pathname,search:`?${e.toString()}`})},facetFilters:a,numberOfDays:c,setNumberOfDays:F}};export{M as useFacetFilters};
1
+ import{camelCase as l}from"lodash";import{useCallback as d,useEffect as g,useLayoutEffect as _}from"react";import{useSearchParams as N,useLocation as D,useNavigate as j}from"react-router-dom";import E from"react-use/lib/useLocalStorage";import{Facet as n}from"../../components/TechHealth/Filters/types.esm.js";import"../../components/TechHealth/Filters/FacetFilter.esm.js";import"../../components/TechHealth/Filters/FilterProvider.esm.js";import"../../components/TechHealth/Filters/Filters.esm.js";import"../../components/TechHealth/Filters/FiltersHeader.esm.js";import"../../components/TechHealth/Filters/FiltersSection.esm.js";import"@backstage/catalog-model";import"../../contexts/TrackFormContext.esm.js";import"../../contexts/CheckFormContext.esm.js";import"../../contexts/CampaignFormContext.esm.js";import"react/jsx-runtime";import"../../contexts/UserProvider.esm.js";import"@backstage/core-plugin-api";import"@tanstack/react-query";import"../../api.esm.js";import"../graphqlKeys.esm.js";import"@backstage/plugin-catalog-react";import"@spotify/backstage-plugin-soundcheck-common";import"../useSoundcheckAlert.esm.js";import"../useConfirmationModal.esm.js";import{emptyFacetFilters as h,DEFAULT_NUMBER_OF_DAYS as f,MIN_NUMBER_OF_DAYS as v,MAX_NUMBER_OF_DAYS as A}from"../../components/TechHealth/Filters/utils.esm.js";const M=(S,O)=>{const[e]=N(),s=D(),i=j(),u=O??S[n.EntityOwner][0]?.value,[a=h(u),p]=E("soundcheck.techHealth.facetFilters",h(u));a&&Object.values(n).forEach(t=>{a[t]||(a[t]=[])});const[c=f,F]=E("soundcheck.techHealth.numberOfDays",f),y=t=>!isNaN(t)&&t>=v&&t<=A,b=d((t,r)=>{const o={...a??h()};o[t]=r,p(o)},[a,p]);return g(()=>{const t=e.get("days");if(t&&t!==c.toString()){const r=parseInt(t,10);F(y(r)?r:f)}},[]),g(()=>{const t=e.get("days");(!t||t!==c.toString())&&(e.set("days",c.toString()),i({pathname:s.pathname,search:`?${e.toString()}`}))},[c,e,s,i]),_(()=>{let t=!0;const r=a;Object.values(n).forEach(o=>{const m=e.get(l(o));m?(t=!1,r[o]=m.split(",")):r[o]=[]}),t||p(r)},[]),g(()=>{Object.values(n).forEach(t=>{const r=a[t].join(","),o=l(t);r.length&&e.get(o)!==r&&(e.set(o,r),i({pathname:s.pathname,search:`?${e.toString()}`}))})},[a,e,s,i,u]),{setFacetFilter:(t,r)=>{b(t,r);const o=l(t);if(r.length){const m=r.join(",");e.get(o)!==m&&e.set(o,m)}else e.delete(o);i({pathname:s.pathname,search:`?${e.toString()}`})},getFacetFilter:t=>a?a[t]:[],clearFacetFilters:()=>{F(f),p(h()),e.delete("days"),Object.values(n).forEach(t=>{e.delete(l(t))}),i({pathname:s.pathname,search:`?${e.toString()}`})},facetFilters:a,numberOfDays:c,setNumberOfDays:F}};export{M as useFacetFilters};
2
2
  //# sourceMappingURL=useFacetFilters.esm.js.map
@@ -1,2 +1,2 @@
1
- var t=(e=>(e.GetAllTracks="soundcheck/tracks",e.GetChecks="soundcheck/checks",e.GetCollectors="soundcheck/collectors",e.GetFactSchema="soundcheck/collectors/schema",e.GetEntityFacets="soundcheck/catalog/facets",e.GetSoftwareEntityRefsForUser="soundcheck/entities/softwareEntityRefsForUser",e.GetEntityRefs="soundcheck/catalog/entityRefs",e.ExecutableChecks="soundcheck/executableChecks",e.GetCampaigns="soundcheck/campaigns",e.GetOverallCheckPassRateTrends="soundcheck/charts/overallCheckPassRateTrends",e.GetIndividualCheckPassRateTrends="soundcheck/charts/getIndividualCheckPassRateTrends",e.GetOverallTrackPassRateTrends="soundcheck/charts/overallTrackPassRateTrends",e.GetIndividualTrackPassRateTrends="soundcheck/charts/individualTrackPassRateTrends",e.GetOverallEntityPassRateTrends="soundcheck/charts/overallEntityPassRateTrends",e.GetIndividualEntityPassRateTrends="soundcheck/charts/individualEntityPassRateTrends",e.GetOverallGroupPassRateTrends="soundcheck/charts/overallGroupPassRateTrends",e.GetIndividualGroupPassRateTrends="soundcheck/charts/individualGroupPassRateTrends",e.EntityByRef="soundcheck/catalog/entityByRef",e.EntitiesByRefs="soundcheck/catalog/entitiesByRef",e.TrackEntities="soundcheck/track/entities",e.CheckEntities="soundcheck/check/entities",e.CertificationStatus="soundcheck/certificationStatus",e.CertificationStatusHistory="soundcheck/certificationStatusHistory",e.CheckStatus="soundcheck/checkStatus",e.CheckStatuses="soundcheck/checkStatuses",e.CheckStatusHistory="soundcheck/checkStatusHistory",e.CheckStatusHistories="soundcheck/checkStatusHistories",e.CheckDetails="soundcheck/checkDetails",e.Certifications="soundcheck/certifications",e.CertificationDetails="soundcheck/certificationDetails",e.GetCheckOwners="soundcheck/checks/getOwners",e.GetTrackOwners="soundcheck/tracks/getOwners",e.GetCampaignOwners="soundcheck/campaigns/getOwners",e.GetTrackRelatedGroups="soundcheck/track/getTrackRelatedGroups",e.CheckTemplates="soundcheck/checkTemplates",e.GetFacetsForOwner="soundcheck/facets-for-owner",e.GetTrackOverviewForOwner="soundcheck/track-overview-for-owner",e))(t||{}),s=(e=>(e.DeleteCheck="soundcheck/deleteCheck",e.CreateCheck="soundcheck/createCheck",e.UpdateCheck="soundcheck/updateCheck",e.ExecuteCheck="soundcheck/executeCheck",e.DeleteTrack="soundcheck/deleteTrack",e.CreateTrack="soundcheck/createTrack",e.UpdateTrack="soundcheck/updateTrack",e.UpdateCollectorConfig="soundcheck/updateCollectorConfig",e.CreateCampaign="soundcheck/createCampaign",e.UpdateCampaign="soundcheck/updateCampaign",e.DeleteCampaign="soundcheck/deleteCampaign",e.ArchiveCampaign="soundcheck/archiveCampaign",e))(s||{});export{s as MutationKeys,t as QueryKeys};
1
+ var t=(e=>(e.GetTrack="soundcheck/track",e.GetAllTracks="soundcheck/tracks",e.GetChecks="soundcheck/checks",e.GetCollectors="soundcheck/collectors",e.GetFactSchema="soundcheck/collectors/schema",e.GetEntityFacets="soundcheck/catalog/facets",e.GetSoftwareEntityRefsForUser="soundcheck/entities/softwareEntityRefsForUser",e.GetEntityRefs="soundcheck/catalog/entityRefs",e.ExecutableChecks="soundcheck/executableChecks",e.GetCampaigns="soundcheck/campaigns",e.GetOverallCheckPassRateTrends="soundcheck/charts/overallCheckPassRateTrends",e.GetIndividualCheckPassRateTrends="soundcheck/charts/getIndividualCheckPassRateTrends",e.GetOverallTrackPassRateTrends="soundcheck/charts/overallTrackPassRateTrends",e.GetIndividualTrackPassRateTrends="soundcheck/charts/individualTrackPassRateTrends",e.GetOverallEntityPassRateTrends="soundcheck/charts/overallEntityPassRateTrends",e.GetIndividualEntityPassRateTrends="soundcheck/charts/individualEntityPassRateTrends",e.GetOverallGroupPassRateTrends="soundcheck/charts/overallGroupPassRateTrends",e.GetIndividualGroupPassRateTrends="soundcheck/charts/individualGroupPassRateTrends",e.EntityByRef="soundcheck/catalog/entityByRef",e.EntitiesByRefs="soundcheck/catalog/entitiesByRef",e.TrackEntities="soundcheck/track/entities",e.CheckEntities="soundcheck/check/entities",e.CertificationStatus="soundcheck/certificationStatus",e.CertificationStatusHistory="soundcheck/certificationStatusHistory",e.CheckStatus="soundcheck/checkStatus",e.CheckStatuses="soundcheck/checkStatuses",e.CheckStatusHistory="soundcheck/checkStatusHistory",e.CheckStatusHistories="soundcheck/checkStatusHistories",e.Check="soundcheck/check",e.CheckDetails="soundcheck/checkDetails",e.Certifications="soundcheck/certifications",e.CertificationDetails="soundcheck/certificationDetails",e.GetCheckOwners="soundcheck/checks/getOwners",e.GetTrackOwners="soundcheck/tracks/getOwners",e.GetCampaignOwners="soundcheck/campaigns/getOwners",e.GetTrackRelatedGroups="soundcheck/track/getTrackRelatedGroups",e.CheckTemplates="soundcheck/checkTemplates",e.GetFacetsForOwner="soundcheck/facets-for-owner",e.GetTrackOverviewForOwner="soundcheck/track-overview-for-owner",e.getExemption="soundcheck/getExemption",e.getExemptCheckIds="soundcheck/getExemptCheckIds",e))(t||{}),c=(e=>(e.DeleteCheck="soundcheck/deleteCheck",e.CreateCheck="soundcheck/createCheck",e.UpdateCheck="soundcheck/updateCheck",e.ExecuteCheck="soundcheck/executeCheck",e.SetResult="soundcheck/setResult",e.CreateExemption="soundcheck/createExemption",e.UpdateExemption="soundcheck/updateExemption",e.DeleteExemption="soundcheck/deleteExemption",e.DeleteTrack="soundcheck/deleteTrack",e.CreateTrack="soundcheck/createTrack",e.UpdateTrack="soundcheck/updateTrack",e.UpdateCollectorConfig="soundcheck/updateCollectorConfig",e.CreateCampaign="soundcheck/createCampaign",e.UpdateCampaign="soundcheck/updateCampaign",e.DeleteCampaign="soundcheck/deleteCampaign",e.ArchiveCampaign="soundcheck/archiveCampaign",e))(c||{});export{c as MutationKeys,t as QueryKeys};
2
2
  //# sourceMappingURL=graphqlKeys.esm.js.map
@@ -1,2 +1,2 @@
1
- import{useApi as o}from"@backstage/core-plugin-api";import{useQuery as s}from"@tanstack/react-query";import{soundcheckApiRef as c}from"../../api.esm.js";import{QueryKeys as n}from"../graphqlKeys.esm.js";function i(e,r){const t=o(c);return s([n.GetAllTracks,e],async()=>t.getTracks(e),{staleTime:5*60*1e3,refetchInterval:!1,refetchOnWindowFocus:!1,enabled:r?.enabled??!0})}export{i as useGetAllTracks};
1
+ import{useApi as n}from"@backstage/core-plugin-api";import{useQueryClient as c,useQuery as f}from"@tanstack/react-query";import{useEffect as i}from"react";import{soundcheckApiRef as u}from"../../api.esm.js";import{QueryKeys as a}from"../graphqlKeys.esm.js";function m(r,d){const s=n(u),t=c(),e=f([a.GetAllTracks,r],async()=>s.getTracks(r),{staleTime:5*60*1e3,refetchInterval:!1,refetchOnWindowFocus:!1,enabled:!0});return i(()=>{if(e.data)for(const o of e.data.edges)t.setQueryData([a.GetTrack,o.node.id],o.node)},[e.data,t]),e}export{m as useGetAllTracks};
2
2
  //# sourceMappingURL=useGetAllTracks.esm.js.map
@@ -0,0 +1,2 @@
1
+ import{useApi as o}from"@backstage/core-plugin-api";import{useQuery as t}from"@tanstack/react-query";import{soundcheckApiRef as c}from"../../api.esm.js";import{QueryKeys as n}from"../graphqlKeys.esm.js";function i(e){const r=o(c);return t([n.GetTrack,e],async()=>r.getTrack(e),{staleTime:5*60*1e3,refetchInterval:!1,refetchOnWindowFocus:!1,enabled:!!e})}export{i as useTrack};
2
+ //# sourceMappingURL=useTrack.esm.js.map
@@ -1,2 +1,2 @@
1
- import{useApi as c}from"@backstage/core-plugin-api";import{useQueryClient as i,useMutation as u}from"@tanstack/react-query";import{soundcheckApiRef as l}from"../../api.esm.js";import{MutationKeys as d,QueryKeys as t}from"../graphqlKeys.esm.js";import{useSoundcheckAlert as p}from"../useSoundcheckAlert.esm.js";const m="Error Updating Track";function k(){const a=c(l),o=i(),{showAlert:s}=p(),n=async r=>{const e=await a.updateTrack(r);if(!e)throw new Error("Failed to update track.");return e};return u([d.UpdateTrack],n,{onSuccess:async()=>{const r=[t.GetAllTracks,t.GetOverallTrackPassRateTrends,t.GetIndividualTrackPassRateTrends,t.GetTrackOwners,t.GetFacetsForOwner,t.GetTrackOverviewForOwner];return Promise.all(r.map(e=>o.invalidateQueries({queryKey:[e]})))},onError:r=>{let e="Failed to update track.";r instanceof Error&&(e=r.message),s({severity:"error",title:m,message:e})}})}export{k as useUpdateTrack};
1
+ import{useApi as c}from"@backstage/core-plugin-api";import{asArray as u}from"@spotify/backstage-plugin-soundcheck-common";import{useQueryClient as d,useMutation as m}from"@tanstack/react-query";import{soundcheckApiRef as p}from"../../api.esm.js";import{MutationKeys as l,QueryKeys as e}from"../graphqlKeys.esm.js";import{useSoundcheckAlert as k}from"../useSoundcheckAlert.esm.js";const T="Error Updating Track";function f(){const a=c(p),o=d(),{showAlert:s}=k(),n=async t=>{const r=await a.updateTrack(t);if(!r)throw new Error("Failed to update track.");return r};return m([l.UpdateTrack],n,{onSuccess:async t=>{const r=[[e.GetTrack,t.id],e.GetAllTracks,e.GetOverallTrackPassRateTrends,e.GetIndividualTrackPassRateTrends,e.GetTrackOwners,e.GetFacetsForOwner,e.GetTrackOverviewForOwner];return Promise.all(r.map(i=>o.invalidateQueries({queryKey:u(i)})))},onError:t=>{let r="Failed to update track.";t instanceof Error&&(r=t.message),s({severity:"error",title:T,message:r})}})}export{f as useUpdateTrack};
2
2
  //# sourceMappingURL=useUpdateTrack.esm.js.map
@@ -1,2 +1,2 @@
1
- import{makeStyles as v,Modal as E,Box as k,Typography as c,Button as m}from"@material-ui/core";import e,{createContext as h,useState as s,useRef as B,useCallback as l,useContext as M}from"react";const N=v(t=>({modalContent:{position:"absolute",top:"50%",left:"50%",transform:"translate(-50%, -50%)",backgroundColor:t.palette.background.paper},modalButtons:{display:"flex",justifyContent:"flex-end","& button":{width:"40%",maxWidth:"185px"},padding:t.spacing(2,3),borderTop:`1px solid ${t.palette.divider}`},modalMessage:{margin:"15px 0 35px"},modalText:{padding:t.spacing(2,3,0,3)},cancelButton:{color:t.palette.text.primary}})),d=h({}),w=t=>{const a=N(),[p,n]=s(!1),[r,u]=s(),o=B(),f=l(({title:C,message:b,error:g})=>(u({title:C,message:b,error:g}),n(!0),new Promise(y=>{o.current=y})),[]),x=l(()=>{o.current&&o.current(!0),n(!1)},[]),i=l(()=>{o.current&&o.current(!1),n(!1)},[]);return e.createElement(d.Provider,{value:{showModal:f}},t.children,r&&e.createElement(E,{open:p,onClose:i,"aria-labelledby":"confirmation-modal-title","aria-describedby":"confirmation-modal-description"},e.createElement(k,{className:a.modalContent},e.createElement("div",{className:a.modalText},e.createElement(c,{id:"confirmation-modal-title",variant:"h6"},r.title),e.createElement(c,{className:a.modalMessage,id:"confirmation-modal-description",variant:"body1"},r.message)),e.createElement("div",{className:a.modalButtons},!r.error&&e.createElement(m,{onClick:i,variant:"text","aria-label":"cancel",className:a.cancelButton},"Cancel"),e.createElement(m,{color:"primary",onClick:x,variant:"contained","aria-label":"confirm"},r.error?"Ok":"Confirm")))))},T=()=>M(d);export{w as default,T as useConfirmationModal};
1
+ import{jsxs as n,jsx as o}from"react/jsx-runtime";import{makeStyles as v,Modal as k,Box as B,Typography as s,Button as c}from"@material-ui/core";import{createContext as N,useState as m,useRef as M,useCallback as l,useContext as w}from"react";const T=v(e=>({modalContent:{position:"absolute",top:"50%",left:"50%",transform:"translate(-50%, -50%)",backgroundColor:e.palette.background.paper},modalButtons:{display:"flex",justifyContent:"flex-end","& button":{width:"40%",maxWidth:"185px"},padding:e.spacing(2,3),borderTop:`1px solid ${e.palette.divider}`},modalMessage:{margin:"15px 0 35px"},modalText:{padding:e.spacing(2,3,0,3)},cancelButton:{color:e.palette.text.primary}})),p=N({}),j=e=>{const a=T(),[u,i]=m(!1),[t,f]=m(),r=M(),x=l(({title:C,message:b,error:g})=>(f({title:C,message:b,error:g}),i(!0),new Promise(y=>{r.current=y})),[]),h=l(()=>{r.current&&r.current(!0),i(!1)},[]),d=l(()=>{r.current&&r.current(!1),i(!1)},[]);return n(p.Provider,{value:{showModal:x},children:[e.children,t&&o(k,{open:u,onClose:d,"aria-labelledby":"confirmation-modal-title","aria-describedby":"confirmation-modal-description",children:n(B,{className:a.modalContent,children:[n("div",{className:a.modalText,children:[o(s,{id:"confirmation-modal-title",variant:"h6",children:t.title}),o(s,{className:a.modalMessage,id:"confirmation-modal-description",variant:"body1",children:t.message})]}),n("div",{className:a.modalButtons,children:[!t.error&&o(c,{onClick:d,variant:"text","aria-label":"cancel",className:a.cancelButton,children:"Cancel"}),o(c,{color:"primary",onClick:h,variant:"contained","aria-label":"confirm",children:t.error?"Ok":"Confirm"})]})]})})]})},S=()=>w(p);export{j as default,S as useConfirmationModal};
2
2
  //# sourceMappingURL=useConfirmationModal.esm.js.map
@@ -1,2 +1,2 @@
1
- import l,{createContext as i,useState as u,useCallback as o,useContext as m}from"react";import{AlertPanel as v}from"../components/AlertPanel/AlertPanel.esm.js";const n=i({}),A=s=>{const[e,t]=u(),c=o(a=>{t(a)},[]),r=o(()=>{t(null)},[]);return l.createElement(n.Provider,{value:{showAlert:c,clearAlert:r}},e&&l.createElement(v,{severity:e.severity,title:e.title,onClose:r},e.message),s.children)},d=()=>m(n);export{A as AlertProvider,d as useSoundcheckAlert};
1
+ import{jsxs as c,jsx as a}from"react/jsx-runtime";import{createContext as u,useState as m,useCallback as l,useContext as d}from"react";import{AlertPanel as h}from"../components/AlertPanel/AlertPanel.esm.js";const o=u({}),v=s=>{const[e,t]=m(),n=l(i=>{t(i)},[]),r=l(()=>{t(null)},[]);return c(o.Provider,{value:{showAlert:n,clearAlert:r},children:[e&&a(h,{severity:e.severity,title:e.title,onClose:r,children:e.message}),s.children]})},x=()=>d(o);export{v as AlertProvider,x as useSoundcheckAlert};
2
2
  //# sourceMappingURL=useSoundcheckAlert.esm.js.map
@@ -0,0 +1,36 @@
1
+ <svg width="203" height="55" viewBox="0 0 203 55" fill="none" xmlns="http://www.w3.org/2000/svg">
2
+ <path d="M6.09222 20.9342H9.22021C12.9262 20.9342 15.9522 18.7922 15.9522 13.9642C15.9522 9.1362 12.9262 6.9602 9.22021 6.9602H6.09222V20.9342ZM9.42422 26.0002H0.720215V1.8942H9.45821C16.7002 1.8942 21.5622 6.5182 21.5622 13.9642C21.5622 21.4102 16.7002 26.0002 9.42422 26.0002Z" fill="black"/>
3
+ <path d="M23.0409 21.3422C23.0409 18.3502 25.2509 16.6502 28.0389 16.2422L32.0169 15.6302C32.9349 15.4942 33.2409 15.0522 33.2409 14.4742C33.2409 13.4882 32.3909 12.6382 30.7589 12.6382C28.9569 12.6382 27.9709 13.8622 27.8689 15.1202L23.3809 14.2022C23.5849 11.7882 25.8289 8.5922 30.7929 8.5922C36.267 8.5922 38.2729 11.6522 38.2729 15.1202V23.3822C38.2729 24.7082 38.4429 25.8302 38.4769 26.0002H33.8189C33.7849 25.8642 33.6489 25.2522 33.6489 24.0962C32.7649 25.5242 31.1329 26.4762 28.8889 26.4762C25.1829 26.4762 23.0409 24.0282 23.0409 21.3422ZM30.1469 22.7362C31.6769 22.7362 33.2409 21.9882 33.2409 19.3702V18.6222L30.0449 19.1322C28.9569 19.3022 28.1409 19.8122 28.1409 21.0022C28.1409 21.8862 28.7189 22.7362 30.1469 22.7362Z" fill="black"/>
4
+ <path d="M48.0623 4.1722V9.1022H51.3603V13.6242H48.0623V19.9482C48.0623 21.3422 48.8103 21.7162 49.9323 21.7162C50.4763 21.7162 50.9863 21.6142 51.2923 21.5462V25.8302C51.0883 25.9322 50.2383 26.3062 48.6063 26.3062C45.1043 26.3062 42.9623 24.2322 42.9623 20.8662V13.6242H39.9703V9.1022H40.8203C42.5883 9.1022 43.4383 7.9122 43.4383 6.3482V4.1722H48.0623Z" fill="black"/>
5
+ <path d="M52.9091 21.3422C52.9091 18.3502 55.1191 16.6502 57.9072 16.2422L61.8852 15.6302C62.8032 15.4942 63.1091 15.0522 63.1091 14.4742C63.1091 13.4882 62.2592 12.6382 60.6272 12.6382C58.8252 12.6382 57.8392 13.8622 57.7372 15.1202L53.2491 14.2022C53.4531 11.7882 55.6972 8.5922 60.6612 8.5922C66.1352 8.5922 68.1412 11.6522 68.1412 15.1202V23.3822C68.1412 24.7082 68.3112 25.8302 68.3452 26.0002H63.6871C63.6531 25.8642 63.5172 25.2522 63.5172 24.0962C62.6332 25.5242 61.0012 26.4762 58.7572 26.4762C55.0512 26.4762 52.9091 24.0282 52.9091 21.3422ZM60.0152 22.7362C61.5452 22.7362 63.1091 21.9882 63.1091 19.3702V18.6222L59.9132 19.1322C58.8252 19.3022 58.0092 19.8122 58.0092 21.0022C58.0092 21.8862 58.5872 22.7362 60.0152 22.7362Z" fill="black"/>
6
+ <path d="M90.3548 26.0002L86.0368 17.0242H84.1328V26.0002H78.7608V1.8942H88.3148C93.0748 1.8942 96.1348 5.1582 96.1348 9.4422C96.1348 12.7062 94.3328 15.1882 91.3748 16.2422L96.2708 26.0002H90.3548ZM84.1328 12.4002H87.2948C89.5048 12.4002 90.6948 11.1762 90.6948 9.4762C90.6948 7.6742 89.5048 6.5522 87.2948 6.5522H84.1328V12.4002Z" fill="black"/>
7
+ <path d="M102.197 15.5282H108.963C108.895 14.2362 108.011 12.6722 105.563 12.6722C103.387 12.6722 102.299 14.2702 102.197 15.5282ZM109.337 19.9142L113.655 21.1382C112.839 24.0622 110.153 26.5102 105.869 26.5102C101.211 26.5102 97.0632 23.1782 97.0632 17.5002C97.0632 12.0602 101.109 8.5922 105.495 8.5922C110.731 8.5922 113.961 11.8222 113.961 17.2622C113.961 17.9762 113.893 18.7582 113.859 18.8602H102.095C102.197 20.7642 103.931 22.1242 105.937 22.1242C107.807 22.1242 108.861 21.2402 109.337 19.9142Z" fill="black"/>
8
+ <path d="M115.434 26.9522L119.99 25.6602C120.33 27.2922 121.69 28.4822 123.628 28.4822C126.212 28.4822 127.81 27.2242 127.81 24.1642V23.3822C127.198 24.3002 125.736 25.2862 123.288 25.2862C118.8 25.2862 115.434 21.7502 115.434 17.0582C115.434 12.6042 118.664 8.7962 123.288 8.7962C126.042 8.7962 127.504 10.0202 127.98 10.9042V9.1022H132.91V23.8922C132.91 28.7542 130.19 32.9702 123.866 32.9702C119.004 32.9702 115.91 29.9782 115.434 26.9522ZM124.24 20.7982C126.348 20.7982 127.844 19.3702 127.844 17.0582C127.844 14.7462 126.178 13.3182 124.24 13.3182C122.302 13.3182 120.602 14.7462 120.602 17.0582C120.602 19.3702 122.166 20.7982 124.24 20.7982Z" fill="black"/>
9
+ <path d="M141.419 26.0002H136.251V9.1022H141.419V26.0002ZM135.809 3.9342C135.809 2.2682 137.169 0.908203 138.801 0.908203C140.501 0.908203 141.861 2.2682 141.861 3.9342C141.861 5.6002 140.501 6.9602 138.801 6.9602C137.169 6.9602 135.809 5.6002 135.809 3.9342Z" fill="black"/>
10
+ <path d="M143.74 21.2062L148.126 20.4242C148.194 21.5802 149.01 22.7022 150.778 22.7022C152.104 22.7022 152.75 21.9882 152.75 21.2402C152.75 20.6282 152.342 20.1182 151.084 19.8462L149.146 19.4042C145.542 18.6222 144.114 16.5822 144.114 14.2022C144.114 11.1082 146.834 8.5922 150.608 8.5922C155.504 8.5922 157.204 11.6522 157.374 13.6242L153.09 14.4062C152.954 13.2842 152.24 12.3322 150.676 12.3322C149.69 12.3322 148.84 12.9102 148.84 13.7942C148.84 14.5082 149.418 14.9162 150.166 15.0522L152.41 15.4942C155.912 16.2082 157.612 18.3162 157.612 20.7982C157.612 23.6882 155.402 26.5102 150.88 26.5102C145.576 26.5102 143.876 23.0762 143.74 21.2062Z" fill="black"/>
11
+ <path d="M166.672 4.1722V9.1022H169.97V13.6242H166.672V19.9482C166.672 21.3422 167.42 21.7162 168.542 21.7162C169.086 21.7162 169.596 21.6142 169.902 21.5462V25.8302C169.698 25.9322 168.848 26.3062 167.216 26.3062C163.714 26.3062 161.572 24.2322 161.572 20.8662V13.6242H158.58V9.1022H159.43C161.198 9.1022 162.048 7.9122 162.048 6.3482V4.1722H166.672Z" fill="black"/>
12
+ <path d="M183.181 9.1022V14.2022C182.603 14.0662 182.059 14.0322 181.549 14.0322C179.475 14.0322 177.605 15.2562 177.605 18.6222V26.0002H172.437V9.1022H177.435V11.3802C178.319 9.4762 180.461 8.9322 181.821 8.9322C182.331 8.9322 182.841 9.0002 183.181 9.1022Z" fill="black"/>
13
+ <path d="M191.897 32.4942H186.457L190.299 23.7222L183.193 9.1022H188.973L193.087 18.1462L196.827 9.1022H202.301L191.897 32.4942Z" fill="black"/>
14
+ <path d="M0.46582 40.0611H4.02982C6.11268 40.0611 7.33153 41.2954 7.33153 43.0234C7.33153 44.196 6.65268 45.0291 5.69611 45.384C6.94582 45.6925 7.67096 46.8034 7.67096 48.0223C7.67096 49.7503 6.29782 51 4.29211 51H0.46582V40.0611ZM1.97782 44.844H3.86011C5.07896 44.844 5.80411 44.1188 5.80411 43.1005C5.80411 42.0668 5.04811 41.388 3.79839 41.388H1.97782V44.844ZM1.97782 49.6731H4.07611C5.29496 49.6731 6.12811 48.9943 6.12811 47.9297C6.12811 46.8805 5.46468 46.14 4.13782 46.14H1.97782V49.6731Z" fill="black"/>
15
+ <path d="M11.6268 54.1011H10.0377L11.8891 50.1823L8.6954 43.5788H10.3617L12.676 48.7011L14.8977 43.5788H16.456L11.6268 54.1011Z" fill="black"/>
16
+ <path d="M53.3315 42.5451L51.9738 43.0234C51.8504 42.2365 51.187 41.1565 49.6595 41.1565C48.4252 41.1565 47.5458 41.9588 47.5458 42.9771C47.5458 43.764 48.0241 44.3657 48.9498 44.5663L50.5853 44.9211C52.4058 45.3223 53.4241 46.464 53.4241 47.9914C53.4241 49.6885 51.9738 51.2314 49.6441 51.2314C47.0058 51.2314 45.7561 49.5343 45.5555 47.976L47.0058 47.5131C47.1138 48.732 47.9778 49.8583 49.6287 49.8583C51.1407 49.8583 51.8812 49.0714 51.8812 48.1148C51.8812 47.328 51.3412 46.6491 50.2458 46.4177L48.6875 46.0783C47.1292 45.7388 46.0184 44.7205 46.0184 43.0851C46.0184 41.3725 47.6075 39.8297 49.6287 39.8297C52.0972 39.8297 53.0847 41.3571 53.3315 42.5451Z" fill="black"/>
17
+ <path d="M56.6477 53.9314H55.2129V43.5788H56.6169V44.736C57.018 43.9954 57.8974 43.4091 59.1009 43.4091C61.3226 43.4091 62.5106 45.1217 62.5106 47.2817C62.5106 49.488 61.23 51.2005 59.0546 51.2005C57.9129 51.2005 57.0489 50.6605 56.6477 49.9971V53.9314ZM61.0294 47.2817C61.0294 45.8005 60.1963 44.6897 58.8386 44.6897C57.5117 44.6897 56.6323 45.8005 56.6323 47.2817C56.6323 48.8091 57.5117 49.9045 58.8386 49.9045C60.1809 49.9045 61.0294 48.8091 61.0294 47.2817Z" fill="black"/>
18
+ <path d="M67.6753 49.9354C68.9096 49.9354 69.9896 49.0097 69.9896 47.2817C69.9896 45.5691 68.9096 44.6434 67.6753 44.6434C66.441 44.6434 65.361 45.5691 65.361 47.2817C65.361 49.0097 66.441 49.9354 67.6753 49.9354ZM67.6753 43.3474C69.897 43.3474 71.4707 45.0291 71.4707 47.2817C71.4707 49.5497 69.897 51.2314 67.6753 51.2314C65.4536 51.2314 63.8799 49.5497 63.8799 47.2817C63.8799 45.0291 65.4536 43.3474 67.6753 43.3474Z" fill="black"/>
19
+ <path d="M75.224 41.2337V43.5788H76.8285V44.8903H75.224V48.7474C75.224 49.4263 75.5017 49.7657 76.2577 49.7657C76.4428 49.7657 76.7051 49.7348 76.8285 49.704V50.9383C76.7051 50.9845 76.3348 51.0771 75.8411 51.0771C74.576 51.0771 73.7737 50.3057 73.7737 48.9634V44.8903H72.3542V43.5788H72.7554C73.5577 43.5788 73.8971 43.0851 73.8971 42.4371V41.2337H75.224Z" fill="black"/>
20
+ <path d="M79.9864 51H78.5516V43.5788H79.9864V51ZM78.2276 40.7708C78.2276 40.1845 78.6904 39.7217 79.2613 39.7217C79.8476 39.7217 80.3104 40.1845 80.3104 40.7708C80.3104 41.3417 79.8476 41.8045 79.2613 41.8045C78.6904 41.8045 78.2276 41.3417 78.2276 40.7708Z" fill="black"/>
21
+ <path d="M89.4614 54.1011H87.8722L89.7237 50.1823L87.1625 44.8903H84.4162V51H82.9197V44.8903H81.5465V43.5788H82.9197V42.3291C82.9197 40.6783 84.0151 39.7834 85.3574 39.7834C85.8511 39.7834 86.1597 39.8914 86.2214 39.9377V41.2337C86.1442 41.2028 85.9591 41.1411 85.5888 41.1411C85.0797 41.1411 84.4162 41.388 84.4162 42.4063V43.5788H88.1963L90.5105 48.7011L92.7322 43.5788H94.2905L89.4614 54.1011Z" fill="black"/>
22
+ <path d="M100.998 45.168H103.189C104.501 45.168 105.303 44.4428 105.303 43.3165C105.303 42.1594 104.501 41.4188 103.189 41.4188H100.998V45.168ZM103.467 46.5257H100.998V51H99.4865V40.0611H103.467C105.488 40.0611 106.846 41.4651 106.846 43.3011C106.846 45.1525 105.488 46.5257 103.467 46.5257Z" fill="black"/>
23
+ <path d="M111.279 49.9354C112.513 49.9354 113.593 49.0097 113.593 47.2817C113.593 45.5691 112.513 44.6434 111.279 44.6434C110.045 44.6434 108.965 45.5691 108.965 47.2817C108.965 49.0097 110.045 49.9354 111.279 49.9354ZM111.279 43.3474C113.501 43.3474 115.075 45.0291 115.075 47.2817C115.075 49.5497 113.501 51.2314 111.279 51.2314C109.057 51.2314 107.484 49.5497 107.484 47.2817C107.484 45.0291 109.057 43.3474 111.279 43.3474Z" fill="black"/>
24
+ <path d="M121.047 43.5017V45.0445C120.831 45.0137 120.615 44.9983 120.414 44.9983C119.195 44.9983 118.377 45.6463 118.377 47.2817V51H116.927V43.5788H118.347V44.8748C118.887 43.7331 119.812 43.4554 120.568 43.4554C120.769 43.4554 120.969 43.4863 121.047 43.5017Z" fill="black"/>
25
+ <path d="M124.553 41.2337V43.5788H126.158V44.8903H124.553V48.7474C124.553 49.4263 124.831 49.7657 125.587 49.7657C125.772 49.7657 126.034 49.7348 126.158 49.704V50.9383C126.034 50.9845 125.664 51.0771 125.17 51.0771C123.905 51.0771 123.103 50.3057 123.103 48.9634V44.8903H121.683V43.5788H122.085C122.887 43.5788 123.226 43.0851 123.226 42.4371V41.2337H124.553Z" fill="black"/>
26
+ <path d="M127.387 49.0097C127.387 47.6828 128.359 46.9423 129.64 46.7571L131.645 46.464C132.093 46.4023 132.216 46.1708 132.216 45.9085C132.216 45.1834 131.738 44.5817 130.612 44.5817C129.593 44.5817 129.023 45.2143 128.93 46.0783L127.541 45.7543C127.696 44.3348 128.976 43.3474 130.581 43.3474C132.803 43.3474 133.667 44.6125 133.667 46.0628V49.7811C133.667 50.4291 133.728 50.8148 133.759 51H132.34C132.309 50.8148 132.263 50.5371 132.263 49.9971C131.939 50.5217 131.198 51.2314 129.871 51.2314C128.359 51.2314 127.387 50.1823 127.387 49.0097ZM130.072 50.0125C131.26 50.0125 132.216 49.4417 132.216 47.8217V47.4823L129.948 47.8217C129.331 47.9143 128.868 48.2691 128.868 48.9325C128.868 49.488 129.331 50.0125 130.072 50.0125Z" fill="black"/>
27
+ <path d="M137.407 51H135.957V39.8297H137.407V51Z" fill="black"/>
28
+ <mask id="mask0_12725_16725" style="mask-type:luminance" maskUnits="userSpaceOnUse" x="22" y="37" width="18" height="18">
29
+ <path d="M40 37H22V55H40V37Z" fill="white"/>
30
+ </mask>
31
+ <g mask="url(#mask0_12725_16725)">
32
+ <path fill-rule="evenodd" clip-rule="evenodd" d="M24.7622 42.3701C22.7852 43.8669 21.7182 46.4056 22.2232 49.0053C22.9304 52.6459 26.4515 55.0217 30.0922 54.3145C31.5319 54.0349 32.7738 53.3151 33.7054 52.322C32.9138 52.9213 31.9763 53.3536 30.9353 53.5558C27.2947 54.263 23.7735 51.8872 23.0663 48.2466C22.6388 46.0456 23.338 43.8884 24.7622 42.3701Z" fill="black"/>
33
+ <path fill-rule="evenodd" clip-rule="evenodd" d="M37.2145 49.6195C38.6391 48.1013 39.3384 45.9438 38.9109 43.7426C38.2037 40.102 34.6826 37.7263 31.0419 38.4334C30.0017 38.6355 29.0647 39.0673 28.2734 39.6659C29.2051 38.673 30.4468 37.9535 31.8863 37.6739C35.5269 36.9667 39.0481 39.3424 39.7552 42.9831C40.2604 45.5835 39.1926 48.1229 37.2145 49.6195Z" fill="black"/>
34
+ <path d="M30.9079 52.0609C27.4726 52.0609 24.6904 49.2788 24.6904 45.8434C24.6904 42.4081 27.4726 39.626 30.9079 39.626C34.3432 39.626 37.1253 42.4081 37.1253 45.8434C37.1253 49.2788 34.3432 52.0609 30.9079 52.0609Z" fill="black"/>
35
+ </g>
36
+ </svg>
@@ -0,0 +1,36 @@
1
+ <svg width="202" height="55" viewBox="0 0 202 55" fill="none" xmlns="http://www.w3.org/2000/svg">
2
+ <path d="M5.62639 20.9342H8.75439C12.4604 20.9342 15.4864 18.7922 15.4864 13.9642C15.4864 9.1362 12.4604 6.9602 8.75439 6.9602H5.62639V20.9342ZM8.9584 26.0002H0.254395V1.8942H8.99239C16.2344 1.8942 21.0964 6.5182 21.0964 13.9642C21.0964 21.4102 16.2344 26.0002 8.9584 26.0002Z" fill="white"/>
3
+ <path d="M22.5751 21.3422C22.5751 18.3502 24.7851 16.6502 27.5731 16.2422L31.5511 15.6302C32.4691 15.4942 32.7751 15.0522 32.7751 14.4742C32.7751 13.4882 31.9251 12.6382 30.2931 12.6382C28.4911 12.6382 27.5051 13.8622 27.4031 15.1202L22.9151 14.2022C23.1191 11.7882 25.3631 8.5922 30.3271 8.5922C35.8011 8.5922 37.8071 11.6522 37.8071 15.1202V23.3822C37.8071 24.7082 37.9771 25.8302 38.0111 26.0002H33.3531C33.3191 25.8642 33.1831 25.2522 33.1831 24.0962C32.2991 25.5242 30.6671 26.4762 28.4231 26.4762C24.7171 26.4762 22.5751 24.0282 22.5751 21.3422ZM29.6811 22.7362C31.2111 22.7362 32.7751 21.9882 32.7751 19.3702V18.6222L29.5791 19.1322C28.4911 19.3022 27.6751 19.8122 27.6751 21.0022C27.6751 21.8862 28.2531 22.7362 29.6811 22.7362Z" fill="white"/>
4
+ <path d="M47.5965 4.1722V9.1022H50.8945V13.6242H47.5965V19.9482C47.5965 21.3422 48.3445 21.7162 49.4665 21.7162C50.0105 21.7162 50.5205 21.6142 50.8265 21.5462V25.8302C50.6225 25.9322 49.7725 26.3062 48.1405 26.3062C44.6385 26.3062 42.4965 24.2322 42.4965 20.8662V13.6242H39.5045V9.1022H40.3545C42.1225 9.1022 42.9725 7.9122 42.9725 6.3482V4.1722H47.5965Z" fill="white"/>
5
+ <path d="M52.4433 21.3422C52.4433 18.3502 54.6533 16.6502 57.4413 16.2422L61.4193 15.6302C62.3373 15.4942 62.6433 15.0522 62.6433 14.4742C62.6433 13.4882 61.7933 12.6382 60.1613 12.6382C58.3593 12.6382 57.3733 13.8622 57.2713 15.1202L52.7833 14.2022C52.9873 11.7882 55.2313 8.5922 60.1953 8.5922C65.6693 8.5922 67.6753 11.6522 67.6753 15.1202V23.3822C67.6753 24.7082 67.8453 25.8302 67.8793 26.0002H63.2213C63.1873 25.8642 63.0513 25.2522 63.0513 24.0962C62.1673 25.5242 60.5353 26.4762 58.2913 26.4762C54.5853 26.4762 52.4433 24.0282 52.4433 21.3422ZM59.5493 22.7362C61.0793 22.7362 62.6433 21.9882 62.6433 19.3702V18.6222L59.4473 19.1322C58.3593 19.3022 57.5433 19.8122 57.5433 21.0022C57.5433 21.8862 58.1213 22.7362 59.5493 22.7362Z" fill="white"/>
6
+ <path d="M89.889 26.0002L85.571 17.0242H83.667V26.0002H78.295V1.8942H87.849C92.609 1.8942 95.669 5.1582 95.669 9.4422C95.669 12.7062 93.867 15.1882 90.909 16.2422L95.805 26.0002H89.889ZM83.667 12.4002H86.829C89.039 12.4002 90.229 11.1762 90.229 9.4762C90.229 7.6742 89.039 6.5522 86.829 6.5522H83.667V12.4002Z" fill="white"/>
7
+ <path d="M101.731 15.5282H108.497C108.429 14.2362 107.545 12.6722 105.097 12.6722C102.921 12.6722 101.833 14.2702 101.731 15.5282ZM108.871 19.9142L113.189 21.1382C112.373 24.0622 109.687 26.5102 105.403 26.5102C100.745 26.5102 96.5974 23.1782 96.5974 17.5002C96.5974 12.0602 100.643 8.5922 105.029 8.5922C110.265 8.5922 113.495 11.8222 113.495 17.2622C113.495 17.9762 113.427 18.7582 113.393 18.8602H101.629C101.731 20.7642 103.465 22.1242 105.471 22.1242C107.341 22.1242 108.395 21.2402 108.871 19.9142Z" fill="white"/>
8
+ <path d="M114.968 26.9522L119.524 25.6602C119.864 27.2922 121.224 28.4822 123.162 28.4822C125.746 28.4822 127.344 27.2242 127.344 24.1642V23.3822C126.732 24.3002 125.27 25.2862 122.822 25.2862C118.334 25.2862 114.968 21.7502 114.968 17.0582C114.968 12.6042 118.198 8.7962 122.822 8.7962C125.576 8.7962 127.038 10.0202 127.514 10.9042V9.1022H132.444V23.8922C132.444 28.7542 129.724 32.9702 123.4 32.9702C118.538 32.9702 115.444 29.9782 114.968 26.9522ZM123.774 20.7982C125.882 20.7982 127.378 19.3702 127.378 17.0582C127.378 14.7462 125.712 13.3182 123.774 13.3182C121.836 13.3182 120.136 14.7462 120.136 17.0582C120.136 19.3702 121.7 20.7982 123.774 20.7982Z" fill="white"/>
9
+ <path d="M140.953 26.0002H135.785V9.1022H140.953V26.0002ZM135.343 3.9342C135.343 2.2682 136.703 0.908203 138.335 0.908203C140.035 0.908203 141.395 2.2682 141.395 3.9342C141.395 5.6002 140.035 6.9602 138.335 6.9602C136.703 6.9602 135.343 5.6002 135.343 3.9342Z" fill="white"/>
10
+ <path d="M143.274 21.2062L147.66 20.4242C147.728 21.5802 148.544 22.7022 150.312 22.7022C151.638 22.7022 152.284 21.9882 152.284 21.2402C152.284 20.6282 151.876 20.1182 150.618 19.8462L148.68 19.4042C145.076 18.6222 143.648 16.5822 143.648 14.2022C143.648 11.1082 146.368 8.5922 150.142 8.5922C155.038 8.5922 156.738 11.6522 156.908 13.6242L152.624 14.4062C152.488 13.2842 151.774 12.3322 150.21 12.3322C149.224 12.3322 148.374 12.9102 148.374 13.7942C148.374 14.5082 148.952 14.9162 149.7 15.0522L151.944 15.4942C155.446 16.2082 157.146 18.3162 157.146 20.7982C157.146 23.6882 154.936 26.5102 150.414 26.5102C145.11 26.5102 143.41 23.0762 143.274 21.2062Z" fill="white"/>
11
+ <path d="M166.206 4.1722V9.1022H169.504V13.6242H166.206V19.9482C166.206 21.3422 166.954 21.7162 168.076 21.7162C168.62 21.7162 169.13 21.6142 169.436 21.5462V25.8302C169.232 25.9322 168.382 26.3062 166.75 26.3062C163.248 26.3062 161.106 24.2322 161.106 20.8662V13.6242H158.114V9.1022H158.964C160.732 9.1022 161.582 7.9122 161.582 6.3482V4.1722H166.206Z" fill="white"/>
12
+ <path d="M182.715 9.1022V14.2022C182.137 14.0662 181.593 14.0322 181.083 14.0322C179.009 14.0322 177.139 15.2562 177.139 18.6222V26.0002H171.971V9.1022H176.969V11.3802C177.853 9.4762 179.995 8.9322 181.355 8.9322C181.865 8.9322 182.375 9.0002 182.715 9.1022Z" fill="white"/>
13
+ <path d="M191.431 32.4942H185.991L189.833 23.7222L182.727 9.1022H188.507L192.621 18.1462L196.361 9.1022H201.835L191.431 32.4942Z" fill="white"/>
14
+ <path d="M0 40.0611H3.564C5.64686 40.0611 6.86571 41.2954 6.86571 43.0234C6.86571 44.196 6.18686 45.0291 5.23029 45.384C6.48 45.6925 7.20514 46.8034 7.20514 48.0223C7.20514 49.7503 5.832 51 3.82629 51H0V40.0611ZM1.512 44.844H3.39429C4.61314 44.844 5.33829 44.1188 5.33829 43.1005C5.33829 42.0668 4.58229 41.388 3.33257 41.388H1.512V44.844ZM1.512 49.6731H3.61029C4.82914 49.6731 5.66229 48.9943 5.66229 47.9297C5.66229 46.8805 4.99886 46.14 3.672 46.14H1.512V49.6731Z" fill="white"/>
15
+ <path d="M11.161 54.1011H9.57186L11.4233 50.1823L8.22958 43.5788H9.89586L12.2101 48.7011L14.4319 43.5788H15.9901L11.161 54.1011Z" fill="white"/>
16
+ <path d="M52.8657 42.5451L51.508 43.0234C51.3846 42.2365 50.7211 41.1565 49.1937 41.1565C47.9594 41.1565 47.08 41.9588 47.08 42.9771C47.08 43.764 47.5583 44.3657 48.484 44.5663L50.1194 44.9211C51.94 45.3223 52.9583 46.464 52.9583 47.9914C52.9583 49.6885 51.508 51.2314 49.1783 51.2314C46.54 51.2314 45.2903 49.5343 45.0897 47.976L46.54 47.5131C46.648 48.732 47.512 49.8583 49.1629 49.8583C50.6749 49.8583 51.4154 49.0714 51.4154 48.1148C51.4154 47.328 50.8754 46.6491 49.78 46.4177L48.2217 46.0783C46.6634 45.7388 45.5526 44.7205 45.5526 43.0851C45.5526 41.3725 47.1417 39.8297 49.1629 39.8297C51.6314 39.8297 52.6189 41.3571 52.8657 42.5451Z" fill="white"/>
17
+ <path d="M56.1819 53.9314H54.747V43.5788H56.151V44.736C56.5522 43.9954 57.4316 43.4091 58.635 43.4091C60.8568 43.4091 62.0448 45.1217 62.0448 47.2817C62.0448 49.488 60.7642 51.2005 58.5887 51.2005C57.447 51.2005 56.583 50.6605 56.1819 49.9971V53.9314ZM60.5636 47.2817C60.5636 45.8005 59.7305 44.6897 58.3727 44.6897C57.0459 44.6897 56.1665 45.8005 56.1665 47.2817C56.1665 48.8091 57.0459 49.9045 58.3727 49.9045C59.715 49.9045 60.5636 48.8091 60.5636 47.2817Z" fill="white"/>
18
+ <path d="M67.2095 49.9354C68.4438 49.9354 69.5238 49.0097 69.5238 47.2817C69.5238 45.5691 68.4438 44.6434 67.2095 44.6434C65.9752 44.6434 64.8952 45.5691 64.8952 47.2817C64.8952 49.0097 65.9752 49.9354 67.2095 49.9354ZM67.2095 43.3474C69.4312 43.3474 71.0049 45.0291 71.0049 47.2817C71.0049 49.5497 69.4312 51.2314 67.2095 51.2314C64.9878 51.2314 63.414 49.5497 63.414 47.2817C63.414 45.0291 64.9878 43.3474 67.2095 43.3474Z" fill="white"/>
19
+ <path d="M74.7581 41.2337V43.5788H76.3627V44.8903H74.7581V48.7474C74.7581 49.4263 75.0358 49.7657 75.7918 49.7657C75.977 49.7657 76.2393 49.7348 76.3627 49.704V50.9383C76.2393 50.9845 75.869 51.0771 75.3753 51.0771C74.1101 51.0771 73.3078 50.3057 73.3078 48.9634V44.8903H71.8884V43.5788H72.2896C73.0918 43.5788 73.4313 43.0851 73.4313 42.4371V41.2337H74.7581Z" fill="white"/>
20
+ <path d="M79.5206 51H78.0858V43.5788H79.5206V51ZM77.7618 40.7708C77.7618 40.1845 78.2246 39.7217 78.7955 39.7217C79.3818 39.7217 79.8446 40.1845 79.8446 40.7708C79.8446 41.3417 79.3818 41.8045 78.7955 41.8045C78.2246 41.8045 77.7618 41.3417 77.7618 40.7708Z" fill="white"/>
21
+ <path d="M88.9956 54.1011H87.4064L89.2579 50.1823L86.6967 44.8903H83.9504V51H82.4539V44.8903H81.0807V43.5788H82.4539V42.3291C82.4539 40.6783 83.5493 39.7834 84.8916 39.7834C85.3853 39.7834 85.6939 39.8914 85.7556 39.9377V41.2337C85.6784 41.2028 85.4933 41.1411 85.123 41.1411C84.6139 41.1411 83.9504 41.388 83.9504 42.4063V43.5788H87.7304L90.0447 48.7011L92.2664 43.5788H93.8247L88.9956 54.1011Z" fill="white"/>
22
+ <path d="M100.533 45.168H102.724C104.035 45.168 104.837 44.4428 104.837 43.3165C104.837 42.1594 104.035 41.4188 102.724 41.4188H100.533V45.168ZM103.001 46.5257H100.533V51H99.0206V40.0611H103.001C105.022 40.0611 106.38 41.4651 106.38 43.3011C106.38 45.1525 105.022 46.5257 103.001 46.5257Z" fill="white"/>
23
+ <path d="M110.813 49.9354C112.048 49.9354 113.128 49.0097 113.128 47.2817C113.128 45.5691 112.048 44.6434 110.813 44.6434C109.579 44.6434 108.499 45.5691 108.499 47.2817C108.499 49.0097 109.579 49.9354 110.813 49.9354ZM110.813 43.3474C113.035 43.3474 114.609 45.0291 114.609 47.2817C114.609 49.5497 113.035 51.2314 110.813 51.2314C108.592 51.2314 107.018 49.5497 107.018 47.2817C107.018 45.0291 108.592 43.3474 110.813 43.3474Z" fill="white"/>
24
+ <path d="M120.581 43.5017V45.0445C120.365 45.0137 120.149 44.9983 119.948 44.9983C118.729 44.9983 117.912 45.6463 117.912 47.2817V51H116.461V43.5788H117.881V44.8748C118.421 43.7331 119.346 43.4554 120.102 43.4554C120.303 43.4554 120.504 43.4863 120.581 43.5017Z" fill="white"/>
25
+ <path d="M124.087 41.2337V43.5788H125.692V44.8903H124.087V48.7474C124.087 49.4263 124.365 49.7657 125.121 49.7657C125.306 49.7657 125.569 49.7348 125.692 49.704V50.9383C125.569 50.9845 125.198 51.0771 124.705 51.0771C123.439 51.0771 122.637 50.3057 122.637 48.9634V44.8903H121.218V43.5788H121.619C122.421 43.5788 122.761 43.0851 122.761 42.4371V41.2337H124.087Z" fill="white"/>
26
+ <path d="M126.921 49.0097C126.921 47.6828 127.893 46.9423 129.174 46.7571L131.18 46.464C131.627 46.4023 131.75 46.1708 131.75 45.9085C131.75 45.1834 131.272 44.5817 130.146 44.5817C129.128 44.5817 128.557 45.2143 128.464 46.0783L127.076 45.7543C127.23 44.3348 128.51 43.3474 130.115 43.3474C132.337 43.3474 133.201 44.6125 133.201 46.0628V49.7811C133.201 50.4291 133.262 50.8148 133.293 51H131.874C131.843 50.8148 131.797 50.5371 131.797 49.9971C131.473 50.5217 130.732 51.2314 129.405 51.2314C127.893 51.2314 126.921 50.1823 126.921 49.0097ZM129.606 50.0125C130.794 50.0125 131.75 49.4417 131.75 47.8217V47.4823L129.482 47.8217C128.865 47.9143 128.402 48.2691 128.402 48.9325C128.402 49.488 128.865 50.0125 129.606 50.0125Z" fill="white"/>
27
+ <path d="M136.941 51H135.491V39.8297H136.941V51Z" fill="white"/>
28
+ <mask id="mask0_12725_16738" style="mask-type:luminance" maskUnits="userSpaceOnUse" x="21" y="37" width="19" height="18">
29
+ <path d="M39.5342 37H21.5342V55H39.5342V37Z" fill="white"/>
30
+ </mask>
31
+ <g mask="url(#mask0_12725_16738)">
32
+ <path fill-rule="evenodd" clip-rule="evenodd" d="M24.2964 42.3701C22.3194 43.8669 21.2524 46.4056 21.7574 49.0053C22.4645 52.6459 25.9857 55.0217 29.6263 54.3145C31.0661 54.0349 32.3079 53.3151 33.2396 52.322C32.448 52.9213 31.5104 53.3536 30.4695 53.5558C26.8288 54.263 23.3077 51.8872 22.6005 48.2466C22.173 46.0456 22.8722 43.8884 24.2964 42.3701Z" fill="white"/>
33
+ <path fill-rule="evenodd" clip-rule="evenodd" d="M36.7487 49.6195C38.1733 48.1013 38.8726 45.9438 38.4451 43.7426C37.7379 40.102 34.2167 37.7263 30.5761 38.4334C29.5358 38.6355 28.5989 39.0673 27.8076 39.6659C28.7392 38.673 29.9809 37.9535 31.4204 37.6739C35.0611 36.9667 38.5822 39.3424 39.2894 42.9831C39.7945 45.5835 38.7268 48.1229 36.7487 49.6195Z" fill="white"/>
34
+ <path d="M30.4421 52.0609C27.0068 52.0609 24.2246 49.2788 24.2246 45.8434C24.2246 42.4081 27.0068 39.626 30.4421 39.626C33.8774 39.626 36.6595 42.4081 36.6595 45.8434C36.6595 49.2788 33.8774 52.0609 30.4421 52.0609Z" fill="white"/>
35
+ </g>
36
+ </svg>
package/dist/index.d.ts CHANGED
@@ -1,5 +1,4 @@
1
- /// <reference types="react" />
2
- import * as react from 'react';
1
+ import * as react_jsx_runtime from 'react/jsx-runtime';
3
2
  import * as _backstage_core_plugin_api from '@backstage/core-plugin-api';
4
3
 
5
4
  /**
@@ -39,21 +38,21 @@ declare const soundcheckPlugin: _backstage_core_plugin_api.BackstagePlugin<{
39
38
  * Provides an EntityPage tab containing Soundcheck content relevant for the
40
39
  * current entity. Expected to be used within {@link @backstage/plugin-catalog#EntityLayout}.
41
40
  */
42
- declare const EntitySoundcheckContent: () => react.JSX.Element;
41
+ declare const EntitySoundcheckContent: () => react_jsx_runtime.JSX.Element;
43
42
  /**
44
43
  * @public
45
44
  *
46
45
  * Provides Card to be used on the EntityPage inside the Catalog Plugin.
47
46
  * Must be used within {@link @backstage/plugin-catalog#EntityLayout}.
48
47
  */
49
- declare const EntitySoundcheckCard: ({ title }: EntitySoundcheckCardProps) => react.JSX.Element;
48
+ declare const EntitySoundcheckCard: ({ title }: EntitySoundcheckCardProps) => react_jsx_runtime.JSX.Element;
50
49
  /**
51
50
  * @public
52
51
  *
53
52
  * Provides an GroupPage tab containing Soundcheck content relevant for the
54
53
  * current group. Expected to be used within {@link @backstage/plugin-catalog#GroupLayout}.
55
54
  */
56
- declare const GroupSoundcheckContent: () => react.JSX.Element;
55
+ declare const GroupSoundcheckContent: () => react_jsx_runtime.JSX.Element;
57
56
  /**
58
57
  * @public
59
58
  *
package/dist/index.esm.js CHANGED
@@ -1,2 +1,2 @@
1
- import{EntitySoundcheckCard as u,EntitySoundcheckContent as i,GroupSoundcheckContent as r,SoundcheckOverviewPage as d,SoundcheckRoutingPage as h,soundcheckPlugin as k}from"./plugin.esm.js";import"react";import"./components/SoundcheckQueryClientProvider/SoundcheckQueryClientProvider.esm.js";import"./components/EntitySoundcheckCard/Card.esm.js";export{u as EntitySoundcheckCard,i as EntitySoundcheckContent,r as GroupSoundcheckContent,d as SoundcheckOverviewPage,h as SoundcheckRoutingPage,k as soundcheckPlugin};
1
+ import{EntitySoundcheckCard as u,EntitySoundcheckContent as i,GroupSoundcheckContent as r,SoundcheckOverviewPage as d,SoundcheckRoutingPage as h,soundcheckPlugin as k}from"./plugin.esm.js";import"react/jsx-runtime";import"./components/SoundcheckQueryClientProvider/SoundcheckQueryClientProvider.esm.js";import"./components/EntitySoundcheckCard/Card.esm.js";export{u as EntitySoundcheckCard,i as EntitySoundcheckContent,r as GroupSoundcheckContent,d as SoundcheckOverviewPage,h as SoundcheckRoutingPage,k as soundcheckPlugin};
2
2
  //# sourceMappingURL=index.esm.js.map
@@ -1,2 +1,2 @@
1
- import{createRouteRef as a,createSubRouteRef as t}from"@backstage/core-plugin-api";const c=a({id:"soundcheck-entity"}),i=a({id:"soundcheck-group"}),r=t({id:"soundcheck-entity-certification-track-redirect",parent:c,path:"/tracks/:trackId"}),n=t({id:"soundcheck-entity-certification",parent:c,path:"/tracks/:trackId/checks/:checkId"}),s=t({id:"soundcheck-entity-playlist-redirect",parent:c,path:"/playlists/:playlistId"}),d=t({id:"soundcheck-entity-playlist-track-redirect",parent:c,path:"/playlists/:playlistId/tracks/:trackId"}),k=t({id:"soundcheck-entity-playlist-track-redirect",parent:c,path:"/playlists/:playlistId/tracks/:trackId/checks/:checkId"}),e=a({id:"soundcheck"}),h=t({id:"soundcheck-quickstart",parent:e,path:"/quickstart"}),o=t({id:"soundcheck-checks",parent:e,path:"/checks"}),p=t({id:"soundcheck-check-details",parent:e,path:"/checks/:checkId"}),u=t({id:"soundcheck-check-edit",parent:e,path:"/checks/:checkId/edit"}),R=t({id:"soundcheck-check-create",parent:e,path:"/checks/create"}),l=t({id:"soundcheck-check-templates",parent:e,path:"/checks/templates"}),f=t({id:"soundcheck-tracks",parent:e,path:"/tracks"}),g=t({id:"soundcheck-track-details",parent:e,path:"/tracks/:trackId"}),m=t({id:"soundcheck-track-edit",parent:e,path:"/tracks/:trackId/edit"}),y=t({id:"soundcheck-track-create",parent:e,path:"/tracks/create"});t({id:"soundcheck-track-check-details",parent:e,path:"/tracks/:trackId/checks/:checkId"});const I=t({id:"soundcheck-campaigns",parent:e,path:"/campaigns"}),P=t({id:"soundcheck-campaign-details",parent:e,path:"/campaigns/:campaignId"}),C=t({id:"soundcheck-campaign-edit",parent:e,path:"/campaigns/:campaignId/edit"}),D=t({id:"soundcheck-campaign-create",parent:e,path:"/campaigns/create"});t({id:"soundcheck-tech-health",parent:e,path:"/tech-health"});const T=t({id:"soundcheck-integrations-page",parent:e,path:"/integrations"}),q=t({id:"soundcheck-integration-details",parent:e,path:"/integrations/:integrationId"});export{D as campaignCreateRouteRef,P as campaignDetailsRouteRef,C as campaignEditRouteRef,I as campaignsPageRouteRef,s as certificationPlaylistRouteRef,k as certificationPlaylistTrackCheckRouteRef,d as certificationPlaylistTrackRouteRef,n as certificationRouteRef,r as certificationTrackRouteRef,R as checkCreateRouteRef,p as checkDetailsRouteRef,u as checkEditRouteRef,l as checkTemplatesRouteRef,o as checksPageRouteRef,c as entityRootRouteRef,i as groupRootRouteRef,q as integrationDetailsRouteRef,T as integrationsPageRouteRef,h as quickstartRouteRef,e as rootRouteRef,y as trackCreateRouteRef,g as trackDetailsRouteRef,m as trackEditRouteRef,f as tracksPageRouteRef};
1
+ import{createRouteRef as a,createSubRouteRef as e}from"@backstage/core-plugin-api";const c=a({id:"soundcheck-entity"}),i=a({id:"soundcheck-group"}),r=e({id:"soundcheck-entity-certification-track-redirect",parent:c,path:"/tracks/:trackId"}),n=e({id:"soundcheck-entity-certification",parent:c,path:"/tracks/:trackId/checks/:checkId"}),s=e({id:"soundcheck-entity-playlist-redirect",parent:c,path:"/playlists/:playlistId"}),d=e({id:"soundcheck-entity-playlist-track-redirect",parent:c,path:"/playlists/:playlistId/tracks/:trackId"}),k=e({id:"soundcheck-entity-playlist-track-redirect",parent:c,path:"/playlists/:playlistId/tracks/:trackId/checks/:checkId"}),t=a({id:"soundcheck"}),h=e({id:"soundcheck-quickstart",parent:t,path:"/quickstart"}),o=e({id:"soundcheck-checks",parent:t,path:"/checks"}),p=e({id:"soundcheck-check-details",parent:t,path:"/checks/:checkId"}),u=e({id:"soundcheck-check-edit",parent:t,path:"/checks/:checkId/edit"}),R=e({id:"soundcheck-check-create",parent:t,path:"/checks/create"}),l=e({id:"soundcheck-check-templates",parent:t,path:"/checks/templates"}),f=e({id:"soundcheck-tracks",parent:t,path:"/tracks"}),g=e({id:"soundcheck-track-details",parent:t,path:"/tracks/:trackId"}),m=e({id:"soundcheck-track-edit",parent:t,path:"/tracks/:trackId/edit"}),y=e({id:"soundcheck-track-create",parent:t,path:"/tracks/create"}),I=e({id:"soundcheck-track-check-details",parent:t,path:"/tracks/:trackId/checks/:checkId"}),P=e({id:"soundcheck-campaigns",parent:t,path:"/campaigns"}),C=e({id:"soundcheck-campaign-details",parent:t,path:"/campaigns/:campaignId"}),D=e({id:"soundcheck-campaign-edit",parent:t,path:"/campaigns/:campaignId/edit"}),T=e({id:"soundcheck-campaign-create",parent:t,path:"/campaigns/create"});e({id:"soundcheck-tech-health",parent:t,path:"/tech-health"});const q=e({id:"soundcheck-integrations-page",parent:t,path:"/integrations"}),E=e({id:"soundcheck-integration-details",parent:t,path:"/integrations/:integrationId"});export{T as campaignCreateRouteRef,C as campaignDetailsRouteRef,D as campaignEditRouteRef,P as campaignsPageRouteRef,s as certificationPlaylistRouteRef,k as certificationPlaylistTrackCheckRouteRef,d as certificationPlaylistTrackRouteRef,n as certificationRouteRef,r as certificationTrackRouteRef,R as checkCreateRouteRef,p as checkDetailsRouteRef,u as checkEditRouteRef,l as checkTemplatesRouteRef,o as checksPageRouteRef,c as entityRootRouteRef,i as groupRootRouteRef,E as integrationDetailsRouteRef,q as integrationsPageRouteRef,h as quickstartRouteRef,t as rootRouteRef,I as trackCheckDetailsRouteRef,y as trackCreateRouteRef,g as trackDetailsRouteRef,m as trackEditRouteRef,f as tracksPageRouteRef};
2
2
  //# sourceMappingURL=routes.esm.js.map
@@ -0,0 +1,2 @@
1
+ import{interpolateRgb as r}from"d3-interpolate";import{scaleLinear as a}from"d3-scale";const n=(e,t)=>a().domain([0,50,100]).range([e.palette.error.main,e.palette.warning.main,e.palette.success.main]).interpolate(r.gamma(2.2))(t),i=(e,t)=>{switch(t){case"passed":return e.palette.success.main;case"failed":return e.palette.error.main;case"warning":return e.palette.warning.main;case"error":return e.palette.error.light;case"exempt":return e.palette.info.main;case"not-applicable":return e.palette.grey[500];case"not-reported":return e.palette.grey[700];default:return"inherit"}};export{i as getCheckStatusColor,n as getPercentageColor};
2
+ //# sourceMappingURL=colors.esm.js.map
@@ -1,6 +1,6 @@
1
- import{dump as a}from"js-yaml";const r=e=>{const t={ordinal:e.ordinal,checks:e.checks};return e.name&&(t.name=e.name),e.description&&(e.description=e.description),t},i=(e,t)=>{const s=new Blob([e],{type:"text/plain"}),n=window.document.createElement("a");n.href=window.URL.createObjectURL(s),n.download=t,n.click(),n.remove()},o=e=>{const t={id:e.id,name:e.name,ownerEntityRef:e.ownerEntityRef,levels:e.levels.map(r)};e.description&&(t.description=e.description),e.documentationURL&&(t.documentationURL=e.documentationURL),e.filter&&(t.filter=e.filter);const s=`# Exported YAML Track. You can rename the track id if needed.
1
+ import{dump as s}from"js-yaml";import{pickBy as i}from"lodash";const o=e=>{const t={...e};return i(t,a=>!!a||a==="")},c=e=>{const t={ordinal:e.ordinal,checks:e.checks.map(o)};return e.name&&(t.name=e.name),e.description&&(e.description=e.description),t},r=(e,t)=>{const a=new Blob([e],{type:"text/plain"}),n=window.document.createElement("a");n.href=window.URL.createObjectURL(a),n.download=t,n.click(),n.remove()},d=e=>{const t={id:e.id,name:e.name,ownerEntityRef:e.ownerEntityRef,levels:e.levels.map(c)};e.description&&(t.description=e.description),e.documentationURL&&(t.documentationURL=e.documentationURL),e.filter&&(t.filter=e.filter),e.exclude&&(t.exclude=e.exclude),e.draft&&(t.draft=e.draft),e.badge&&(t.badge={type:e.badge.variant.toLowerCase()});const a=`# Exported YAML Track. You can rename the track id if needed.
2
2
  # Please ensure you have also exported the associated checks and that the ids match.
3
- `+a(t,{noRefs:!0});return i(s,`track-${e.id}.yaml`),s},c=e=>{const t={id:e.id,rule:e.rule};e.ownerEntityRef&&(t.ownerEntityRef=e.ownerEntityRef),e.name&&(t.name=e.name),e.description&&(t.description=e.description),e.pathResolver&&(t.pathResolver=e.pathResolver),e.filter&&(t.filter=e.filter),e.warning&&(t.warning=e.warning),e.passedMessage&&(t.passedMessage=e.passedMessage),e.failedMessage&&(t.failedMessage=e.failedMessage),e.passedMessage&&(t.passedMessage=e.passedMessage),e.schedule&&(t.schedule=e.schedule);const s=`# Exported YAML Check. You can rename the check id if needed.
3
+ `+s(t,{noRefs:!0});return r(a,`track-${e.id}.yaml`),a},l=e=>{const t={id:e.id};e.ownerEntityRef&&(t.ownerEntityRef=e.ownerEntityRef),e.name&&(t.name=e.name),e.description&&(t.description=e.description),e.pathResolver&&(t.pathResolver=e.pathResolver),e.rule&&(t.rule=e.rule),e.applicable&&(t.applicable=e.applicable),e.filter&&(t.filter=e.filter),e.exclude&&(t.exclude=e.exclude),e.warning&&(t.warning=e.warning),e.passedMessage&&(t.passedMessage=e.passedMessage),e.failedMessage&&(t.failedMessage=e.failedMessage),e.notApplicableMessage&&(t.notApplicableMessage=e.notApplicableMessage),e.schedule&&(t.schedule=e.schedule),e.templateRef&&(t.templateRef=e.templateRef),e.supportChannel&&(t.supportChannel=e.supportChannel),e.type&&(t.type=e.type);const a=`# Exported YAML Check. You can rename the check id if needed.
4
4
  # Please ensure the ids match in the associated tracks.
5
- `+a(t,{noRefs:!0});return i(s,`check-${e.id}.yaml`),s};export{c as exportCheck,o as exportTrack};
5
+ `+s(t,{noRefs:!0});return r(a,`check-${e.id}.yaml`),a};export{l as exportCheck,d as exportTrack};
6
6
  //# sourceMappingURL=export.esm.js.map
@@ -0,0 +1,2 @@
1
+ const o=Intl.NumberFormat("en",{notation:"compact"}),m=t=>o.format(t);export{m as compactNumberFormatter};
2
+ //# sourceMappingURL=formatters.esm.js.map
@@ -1,2 +1,2 @@
1
- import{z as e}from"zod";import{filterPresent as i}from"../components/Filter/utils.esm.js";import"../components/Filter/FilterComponent.esm.js";import{TimeUnit as s}from"../components/Frequency/types.esm.js";import"../components/Frequency/util.esm.js";import"../components/Frequency/FrequencyComponent.esm.js";import{validateCacheConfig as n}from"./collectors.esm.js";import{validateFrequency as l}from"./frequency.esm.js";const c="At least one check is required",u="This field is required",o=e.nativeEnum(s),m=e.strictObject({enabled:e.boolean(),hasDuration:e.boolean(),unit:o.optional(),value:e.number().min(1,"Value must be greater than 0.").optional()}).refine(t=>n(t)===!0,t=>({message:n(t)})),y=e.strictObject({type:e.enum(["HumanDuration","cron"]),unit:o.optional(),value:e.number().min(1,"Value must be greater than 0.").optional(),cron:e.string().optional()}).refine(t=>l(t)===!0,t=>({message:l(t)})),r=e.strictObject({selectedKinds:e.string().array(),selectedTypes:e.string().array(),selectedLifecycles:e.string().array(),selectedOwners:e.string().array(),selectedSystems:e.string().array(),selectedTags:e.string().array()}),a=e.strictObject({selectedLabels:e.object({key:e.string(),value:e.string().array().min(1,"Requires at least 1 value for key.")}).array().optional(),selectedAnnotations:e.object({key:e.string(),value:e.string().array().min(1,"Requires at least 1 value for key.")}).array().optional(),selectedOtherFilters:e.object({key:e.string(),value:e.string().array().min(1,"Requires at least 1 value for key.")}).array().optional()}),p=e.strictObject({filter:r.optional(),keyValueFilter:a.optional(),excludeFilter:r.optional(),excludeKeyValueFilter:a.optional()}).refine(t=>!(!i(t.filter,t.keyValueFilter)&&i(t.excludeFilter,t.excludeKeyValueFilter)),"Cannot have an exclude filter without an include filter.");export{c as CHECK_IS_REQUIRED_MSG,m as CacheConfigSchema,u as FIELD_IS_REQUIRED_MSG,r as FiltersSchema,y as FrequencySchema,a as KeyValueFiltersSchema,p as formFiltersSchema};
1
+ import{z as e}from"zod";import{filterPresent as i}from"../components/Filter/utils.esm.js";import"../components/Filter/FilterComponent.esm.js";import{TimeUnit as u}from"../components/Frequency/types.esm.js";import"../components/Frequency/util.esm.js";import"../components/Frequency/FrequencyComponent.esm.js";import{validateCacheConfig as n}from"./collectors.esm.js";import{validateFrequency as l}from"./frequency.esm.js";const m="At least one check is required",y="This field is required",s=e.nativeEnum(u),p=e.strictObject({enabled:e.boolean(),hasDuration:e.boolean(),unit:s.optional(),value:e.number().min(1,"Value must be greater than 0.").optional()}).refine(t=>n(t)===!0,t=>({message:n(t)})),d=e.strictObject({type:e.enum(["HumanDuration","cron"]),unit:s.optional(),value:e.number().min(1,"Value must be greater than 0.").optional(),cron:e.string().optional()}).refine(t=>l(t)===!0,t=>({message:l(t)})),r=e.strictObject({selectedKinds:e.string().array(),selectedTypes:e.string().array(),selectedLifecycles:e.string().array(),selectedOwners:e.string().array(),selectedSystems:e.string().array(),selectedTags:e.string().array()}),a=e.strictObject({selectedLabels:e.object({key:e.string(),value:e.string().array().min(1,"Requires at least 1 value for key.")}).array().optional(),selectedAnnotations:e.object({key:e.string(),value:e.string().array().min(1,"Requires at least 1 value for key.")}).array().optional(),selectedOtherFilters:e.object({key:e.string(),value:e.string().array().min(1,"Requires at least 1 value for key.")}).array().optional()}),o=e.strictObject({filter:r.optional(),keyValueFilter:a.optional(),excludeFilter:r.optional(),excludeKeyValueFilter:a.optional()}),c=t=>!(!i(t.filter,t.keyValueFilter)&&i(t.excludeFilter,t.excludeKeyValueFilter)),f=o.refine(c,"Cannot have an exclude filter without an include filter.");export{m as CHECK_IS_REQUIRED_MSG,p as CacheConfigSchema,y as FIELD_IS_REQUIRED_MSG,r as FiltersSchema,d as FrequencySchema,a as KeyValueFiltersSchema,o as baseFiltersSchema,f as formFiltersSchema,c as refineFilters};
2
2
  //# sourceMappingURL=validation.esm.js.map
package/package.json CHANGED
@@ -1,7 +1,7 @@
1
1
  {
2
2
  "name": "@spotify/backstage-plugin-soundcheck",
3
3
  "description": "Ensure quality, reliability and alignment of software development with codified checks and guidance.",
4
- "version": "0.16.0",
4
+ "version": "0.16.2",
5
5
  "license": "SEE LICENSE IN LICENSE.md",
6
6
  "homepage": "https://backstage.spotify.com",
7
7
  "main": "./dist/index.esm.js",
@@ -37,18 +37,18 @@
37
37
  },
38
38
  "typesVersions": {
39
39
  "*": {
40
- "index": [
41
- "dist/index.d.ts"
42
- ],
43
40
  "alpha": [
44
41
  "dist/alpha.d.ts"
42
+ ],
43
+ "package.json": [
44
+ "package.json"
45
45
  ]
46
46
  }
47
47
  },
48
48
  "scripts": {
49
49
  "start": "backstage-cli package start",
50
50
  "build": "backstage-cli package build --minify",
51
- "lint": "backstage-cli package lint",
51
+ "lint": "backstage-cli package lint --max-warnings 0",
52
52
  "test": "backstage-cli package test",
53
53
  "diff": "backstage-cli plugin:diff",
54
54
  "clean": "backstage-cli package clean",
@@ -61,24 +61,24 @@
61
61
  "@backstage/catalog-client": "^1.9.1",
62
62
  "@backstage/catalog-model": "^1.7.3",
63
63
  "@backstage/config": "^1.3.2",
64
- "@backstage/core-compat-api": "^0.3.6",
65
- "@backstage/core-components": "^0.16.4",
66
- "@backstage/core-plugin-api": "^1.10.4",
67
- "@backstage/frontend-plugin-api": "^0.9.5",
68
- "@backstage/plugin-catalog-react": "^1.15.2",
69
- "@backstage/plugin-permission-react": "^0.4.31",
70
- "@backstage/plugin-scaffolder-react": "^1.14.5",
64
+ "@backstage/core-compat-api": "^0.4.1",
65
+ "@backstage/core-components": "^0.17.1",
66
+ "@backstage/core-plugin-api": "^1.10.6",
67
+ "@backstage/frontend-plugin-api": "^0.10.1",
68
+ "@backstage/plugin-catalog-react": "^1.17.0",
69
+ "@backstage/plugin-permission-react": "^0.4.33",
70
+ "@backstage/plugin-scaffolder-react": "^1.15.0",
71
71
  "@backstage/types": "^1.2.1",
72
72
  "@date-io/luxon": "^1.0.0",
73
- "@hookform/resolvers": "^3.3.2",
73
+ "@hookform/resolvers": "^4.0.0",
74
74
  "@material-ui/core": "^4.12.2",
75
75
  "@material-ui/icons": "^4.9.1",
76
76
  "@material-ui/lab": "4.0.0-alpha.61",
77
77
  "@material-ui/pickers": "3.3.11",
78
78
  "@mui/icons-material": "^5.11.16",
79
79
  "@mui/styles": "^5.14.7",
80
- "@spotify/backstage-plugin-core": "^0.8.6",
81
- "@spotify/backstage-plugin-soundcheck-common": "^0.16.0",
80
+ "@spotify/backstage-plugin-core": "^0.8.7",
81
+ "@spotify/backstage-plugin-soundcheck-common": "^0.16.2",
82
82
  "@tanstack/react-query": "^4.6.1",
83
83
  "@types/react-csv": "^1.1.6",
84
84
  "@uiw/react-md-editor": "3.20.10",
@@ -86,6 +86,8 @@
86
86
  "copy-to-clipboard": "^3.3.3",
87
87
  "cron-validate": "^1.4.5",
88
88
  "cronstrue": "^2.28.0",
89
+ "d3-interpolate": "^3.0.1",
90
+ "d3-scale": "^4.0.2",
89
91
  "d3-scale-chromatic": "^3.0.0",
90
92
  "framer-motion": "^6.0.0",
91
93
  "git-url-parse": "^16.0.0",
@@ -98,15 +100,15 @@
98
100
  "react-circular-progressbar": "^2.1.0",
99
101
  "react-confetti": "^6.1.0",
100
102
  "react-csv": "^2.2.2",
101
- "react-dnd": "^16.0.1",
102
- "react-dnd-html5-backend": "^16.0.1",
103
103
  "react-hook-form": "^7.51.5",
104
+ "react-markdown": "^10.1.0",
104
105
  "react-simple-code-editor": "^0.14.1",
105
106
  "react-use": "^17.2.4",
106
107
  "react-virtuoso": "^4.0.0",
107
108
  "react-window": "^1.8.8",
108
109
  "recharts": "^2.8.0",
109
- "rehype-sanitize": "^6.0.0",
110
+ "rehype-raw": "^7.0.0",
111
+ "remark-gfm": "^4.0.0",
110
112
  "use-immer": "^0.11.0",
111
113
  "uuid": "^11.0.0",
112
114
  "zod": "^3.20.0"
@@ -117,23 +119,25 @@
117
119
  "react-router-dom": "6.0.0-beta.0 || ^6.3.0"
118
120
  },
119
121
  "devDependencies": {
120
- "@backstage/cli": "^0.30.0",
121
- "@backstage/core-app-api": "^1.15.5",
122
- "@backstage/dev-utils": "^1.1.7",
122
+ "@backstage/cli": "^0.32.0",
123
+ "@backstage/core-app-api": "^1.16.1",
124
+ "@backstage/dev-utils": "^1.1.9",
123
125
  "@backstage/e2e-test-utils": "^0.1.1",
124
- "@backstage/frontend-test-utils": "^0.2.6",
125
- "@backstage/test-utils": "^1.7.5",
126
+ "@backstage/frontend-test-utils": "^0.3.1",
127
+ "@backstage/test-utils": "^1.7.7",
126
128
  "@graphql-codegen/cli": "^5.0.0",
127
129
  "@graphql-codegen/typescript": "^4.0.0",
128
130
  "@graphql-codegen/typescript-graphql-request": "^6.0.0",
129
131
  "@graphql-codegen/typescript-operations": "^4.0.0",
130
132
  "@playwright/test": "^1.32.3",
131
- "@sp4b-dev/test-utils": "^0.0.12",
132
- "@spotify/backstage-plugin-core-common": "^0.6.6",
133
- "@spotify/backstage-plugin-soundcheck-node": "^0.9.2",
133
+ "@sp4b-dev/test-utils": "^0.0.13",
134
+ "@spotify/backstage-plugin-core-common": "^0.6.7",
135
+ "@spotify/backstage-plugin-soundcheck-node": "^0.9.6",
134
136
  "@testing-library/jest-dom": "^6.0.0",
135
137
  "@testing-library/react": "^14.0.0",
136
138
  "@testing-library/user-event": "^14.0.0",
139
+ "@types/d3-interpolate": "^3",
140
+ "@types/d3-scale": "^4",
137
141
  "@types/d3-scale-chromatic": "^3.0.0",
138
142
  "@types/git-url-parse": "^9.0.0",
139
143
  "@types/jest": "^29.4.0",
@@ -1,2 +0,0 @@
1
- import{BadgeVariant as r}from"../../graphql/generated/index.esm.js";const l={WHITE:"#ffffff",BRONZE:"#A36652",SILVER:"#D9D9D9",GOLD:"#FCE54F"},o=[l.BRONZE,l.SILVER,l.GOLD],a={variant:r.Medal,options:{level:0,color:""}},f=(n,t)=>{const e=o.slice(o.length-Math.min(t,o.length));return e.length<t&&e.unshift(...Array(t-e.length).fill(l.WHITE)),e[n-1]},s=(n,t)=>{if(n===0)return a;const e=t.levels.filter(i=>i.ordinal!==0).length;return{variant:r.Medal,options:{level:n,color:f(n,e)}}};export{a as LEVEL_ZERO_BADGE,s as generateBadge};
2
- //# sourceMappingURL=badge.esm.js.map
@@ -1,2 +0,0 @@
1
- import{makeStyles as E,FormControl as x,Typography as d,Grid as a}from"@material-ui/core";import{findIndex as b}from"lodash";import e,{useCallback as y}from"react";import{DndProvider as S}from"react-dnd";import{HTML5Backend as T}from"react-dnd-html5-backend";import{useFieldArray as v,Controller as D}from"react-hook-form";import N from"../../../hooks/useFeatureFlag.esm.js";import{ChecksErrors as L}from"../../ChecksErrors/ChecksErrors.esm.js";import{DroppableInput as M}from"../../DroppableInput/DroppableInput.esm.js";import{ChecksSection as I}from"../../TrackForm/Steps/LevelsStep/ChecksSection/ChecksSection.esm.js";const w=E(t=>({columnHeader:{display:"flex",justifyContent:"space-between",alignItems:"center"},subtitle:{color:t.palette.text.primary,marginLeft:"-16px"},helperText:{fontSize:t.typography.subtitle2.fontSize,color:t.palette.textSubtle,marginBottom:t.spacing(1)},levelsContainer:{marginTop:"0",flexDirection:"column"},errorText:{marginTop:t.spacing(3),marginLeft:t.spacing(-4)},formContainer:{width:"100%"}})),H=({control:t,disabled:i,isLoading:l,errors:c,checkChips:m})=>{const o=w(),{fields:n,remove:s,replace:h}=v({control:t,name:"tracksStep.checks",keyName:"key"});N("debugMode")&&(console.log(m),console.log(n));const g=new Set(n.flatMap(({id:r})=>r)),f=m.filter(r=>!g.has(r.id)),p=r=>{h([...n,r])},k=y(r=>{const u=b(n,C=>C.id===r.id);s(u)},[s,n]);return e.createElement(D,{control:t,name:"tracksStep.checks",render:()=>e.createElement(x,{error:!!c?.checks,disabled:i||l,variant:"outlined",className:o.formContainer},e.createElement(d,{className:o.helperText},"Drag or right-click on a check to add it to the Campaign."),e.createElement(a,{item:!0,xs:12},e.createElement(a,{container:!0,spacing:4},e.createElement(S,{backend:T},e.createElement(a,{item:!0,xs:5},e.createElement(I,{chips:f,isLoading:l,disabled:i,label:"Campaign Checks",onContextMenuAdd:p})),e.createElement(a,{item:!0,xs:7},e.createElement(a,{container:!0},e.createElement(a,{item:!0,xs:12,className:o.columnHeader},e.createElement(d,{variant:"subtitle1",className:o.subtitle},"Included Checks")),e.createElement(a,{container:!0,item:!0,spacing:5,className:o.levelsContainer},e.createElement(M,{chips:n,onDelete:k,onDrop:p,error:!!c?.checks,placeholder:"Drag and drop checks here to include them in this level",disabled:i}))),c?.checks&&e.createElement("div",{className:o.errorText},e.createElement(L,{checksErrors:c.checks})))))))})};export{H as CampaignTrackStep};
2
- //# sourceMappingURL=CampaignTrackStep.esm.js.map
@@ -1,2 +0,0 @@
1
- import{MarkdownContent as i}from"@backstage/core-components";import{useTheme as a,Divider as p,Typography as s}from"@material-ui/core";import{ExemptionDetailsSchema as c}from"@spotify/backstage-plugin-soundcheck-common";import{DateTime as l}from"luxon";import e from"react";import{EntityChip as d}from"../EntityChip/EntityChip.esm.js";const f=({exemption:m})=>{const o=a(),r=c.safeParse(m);if(!r.success)return null;const t=r.data,n=l.fromISO(t.timestamp).toFormat("MM/dd/yyyy");return e.createElement("div",null,e.createElement(i,{content:t.reason}),e.createElement(p,null),e.createElement("div",{style:{paddingTop:o.spacing(1)}},e.createElement(s,{variant:"caption"},e.createElement(d,{entityOrRef:t.submittedBy}),"submitted exemption on ",n,".")))};export{f as ExemptionDetails};
2
- //# sourceMappingURL=ExemptionDetails.esm.js.map
@@ -1,2 +0,0 @@
1
- import{mapToCheckerInput as e,mapCheckerToFormValues as p}from"../CheckForm/utils/checkFormUtils.esm.js";const m=o=>e(p(o),o);export{m as mapCheckToCheckInput};
2
- //# sourceMappingURL=checkDryRunUtils.esm.js.map
@@ -1,2 +0,0 @@
1
- import{useTheme as i}from"@material-ui/core";import l from"@material-ui/lab/Skeleton";import t from"react";import{BarChart as m,XAxis as s,YAxis as o,Bar as a}from"recharts";import{ChartWrapper as c}from"../Charts/ChartWrapper/ChartWrapper.esm.js";import"../Charts/LineChart/LineChart.esm.js";import"../Charts/ChartTypes.esm.js";import"../Charts/chartUtils.esm.js";import"luxon";import"../TechHealthSummary/SummaryAggregationsProvider.esm.js";import"@backstage/catalog-model";import"../Charts/BarChart/BarChart.esm.js";const n=({checkStatus:r})=>{const e=i();return t.createElement(c,{height:24},r?t.createElement(m,{layout:"vertical",data:[r],stackOffset:"expand",margin:{top:0,right:0,left:0,bottom:0}},t.createElement(s,{hide:!0,type:"number"}),t.createElement(o,{hide:!0,type:"category"}),t.createElement(a,{fill:e.palette.success.main,dataKey:"passed",stackId:"status"}),t.createElement(a,{fill:e.palette.error.main,dataKey:"failed",stackId:"status"}),t.createElement(a,{fill:e.palette.warning.main,dataKey:"warning",stackId:"status"}),t.createElement(a,{fill:e.palette.text.disabled,dataKey:"notApplicable",stackId:"status"}),t.createElement(a,{fill:e.palette.info.main,dataKey:"notReported",stackId:"status"}),t.createElement(a,{fill:e.palette.error.light,dataKey:"error",stackId:"status"})):t.createElement(l,{variant:"rect"}))};export{n as CheckStatusBar};
2
- //# sourceMappingURL=CheckStatusBar.esm.js.map
@@ -1,2 +0,0 @@
1
- import{parseEntityRef as x}from"@backstage/catalog-model";import{EntityDisplayName as T}from"@backstage/plugin-catalog-react";import{makeStyles as D,Checkbox as p,Box as P,Typography as B}from"@material-ui/core";import G from"@material-ui/icons/Category";import j from"@material-ui/icons/Class";import W from"@material-ui/icons/Group";import _ from"@material-ui/icons/Loop";import z from"@material-ui/icons/PlaylistAddCheckRounded";import e,{useMemo as f}from"react";import{useGetEntityFacets as o}from"../../../hooks/catalog/useGetEntityFacets.esm.js";import{useGroupOptions as H}from"../../../hooks/groups/useGroupOptions.esm.js";import{CheckIcon as J}from"../../CheckIcon/CheckIcon.esm.js";import l from"../../MultiSelectFilter/MultiSelectFilter.esm.js";function M(t){return t.toLowerCase().split("_").map(r=>r.charAt(0).toUpperCase()+r.slice(1)).join(" ")}const d=(t,{selected:r})=>e.createElement(e.Fragment,null,e.createElement(p,{value:t,checked:r,color:"primary"}),e.createElement(T,{entityRef:t,hideIcon:!0})),Q=(t,{selected:r})=>e.createElement(e.Fragment,null,e.createElement(p,{value:t,checked:r,color:"primary"}),e.createElement(J,{result:t}),e.createElement(P,{mr:1}),e.createElement(B,null,M(t))),U=D(t=>({root:{display:"flex",flexDirection:"row",alignItems:"center",gap:t.spacing(2)}})),$=({filter:t,states:r,setStates:y,owners:E,setOwners:u,lifecycles:g,setLifecycles:L,types:h,setTypes:b,systems:F,setSystems:w})=>{const O=U(),{options:s,isLoading:k}=H(),A=f(()=>s.map(n=>n.ref),[s]),{data:i,isLoading:C}=o("spec.lifecycle",t),{data:a,isLoading:I}=o("spec.type",t),{data:m,isLoading:S}=o("relations.partOf",t),c=f(()=>m?.filter(n=>{try{return x(n).kind.toLowerCase()==="system"}catch{return!1}}),[m]),N=(i||[]).length<=1,R=(a||[]).length<=1,v=(c||[]).length<=1;return e.createElement("div",{className:O.root},e.createElement(l,{name:"state",label:"State",icon:e.createElement(z,null),options:["PASSED","FAILED","WARNING","NOT_APPLICABLE"],filters:r,setFilters:y,customRenderOption:Q}),e.createElement("div",null,e.createElement(l,{name:"system",label:"System",icon:e.createElement(G,null),filters:F,setFilters:w,options:c??[],disabled:S||v,customRenderOption:d}),e.createElement(l,{name:"owner",label:"Owner",icon:e.createElement(W,null),filters:E,setFilters:u,options:A??[],disabled:k,customRenderOption:d}),e.createElement(l,{name:"type",label:"Type",icon:e.createElement(j,null),filters:h,setFilters:b,options:a??[],disabled:I||R}),e.createElement(l,{name:"lifecycle",label:"Lifecycle",icon:e.createElement(_,null),filters:g,setFilters:L,options:i??[],disabled:C||N})))};export{$ as FilterBar};
2
- //# sourceMappingURL=FilterBar.esm.js.map
@@ -1,2 +0,0 @@
1
- import{makeStyles as m,TableRow as o,TableCell as a,Box as c}from"@material-ui/core";import s from"@material-ui/icons/FiberManualRecord";import l from"@material-ui/lab/Skeleton";import e from"react";const g=(t,r)=>{const n=t.numberOfEntities;if(n===0)return 0;const i=t[r]??0;return parseFloat((i/n*100).toFixed(1))},E=t=>{const r=t.replace(/([A-Z])/g," $1");return r.charAt(0).toUpperCase()+r.slice(1)},f=m({skeleton:{marginRight:6}}),p=({statusName:t,color:r,data:n})=>{const i=f();return n?e.createElement(o,null,e.createElement(a,{align:"center"},e.createElement("div",{style:{display:"flex",alignItems:"center",gap:"6px"}},e.createElement(s,{htmlColor:r,fontSize:"small"}),E(t))),e.createElement(a,{align:"right"},`${n[t]?.toLocaleString()??0} of ${n.numberOfEntities.toLocaleString()}`),e.createElement(a,{align:"right"},`${g(n,t).toLocaleString()}%`)):e.createElement(o,null,e.createElement(a,{align:"center"},e.createElement(c,{display:"flex",alignItems:"center"},e.createElement(l,{className:i.skeleton,variant:"circle",width:16,height:16}),e.createElement(l,{variant:"text",width:100}))),e.createElement(a,{align:"right"},e.createElement(c,{display:"flex",justifyContent:"flex-end"},e.createElement(l,{variant:"text",width:175}))),e.createElement(a,{align:"right"},e.createElement(c,{display:"flex",justifyContent:"flex-end"},e.createElement(l,{variant:"text",width:65}))))};export{p as StatusRow};
2
- //# sourceMappingURL=StatusRow.esm.js.map
@@ -1,2 +0,0 @@
1
- import{FormHelperText as s}from"@material-ui/core";import n from"react";const c=e=>{let r,t;return e?.name?(r="Check name",t=e?.name?.message):e?.description?(r="Check description",t=e?.description?.message):e?.id&&(r="Check ID",t=e?.id?.message),`${r}: ${t}`},l=({checksErrors:e})=>{let r=null;return e?.message?r=n.createElement(s,{error:!0},e.message):e?.length&&e.length>0&&(r=n.createElement(n.Fragment,null,e.map?.((t,m)=>{if(t){const o=c(t);return n.createElement(s,{key:m,error:!0},o)}return null}))),r};export{l as ChecksErrors};
2
- //# sourceMappingURL=ChecksErrors.esm.js.map
@@ -1,2 +0,0 @@
1
- import{Menu as i,MenuItem as l}from"@material-ui/core";import t from"react";const p=({x:e,y:n,menuItems:r,onClose:m,onClick:c})=>t.createElement(i,{keepMounted:!0,open:!!e,onClose:m,anchorReference:"anchorPosition",anchorPosition:n&&e?{top:n,left:e}:void 0},r.map(o=>t.createElement(l,{key:o,onClick:()=>c(o)},o)));export{p as ContextMenu};
2
- //# sourceMappingURL=ContextMenu.esm.js.map
@@ -1,2 +0,0 @@
1
- import{Chip as u,Tooltip as C}from"@material-ui/core";import g from"@material-ui/icons/DragIndicator";import x from"@material-ui/icons/Visibility";import e from"react";import{useDrag as f}from"react-dnd";import{useContextMenu as M}from"../../hooks/useContextMenu.esm.js";import{ContextMenu as h}from"../ContextMenu/ContextMenu.esm.js";import{useChipStyles as b}from"./chipStyles.esm.js";const D=({chip:t,disabled:i,onContextMenuAdd:o})=>{const[E,r]=f(()=>({type:"chip",item:t,collect:d=>({isDragging:d.isDragging()})})),m=b(),l=["Add check"],{contextMenu:n,onContextMenu:c,onContextMenuClose:a,onContextMenuClick:s}=M(),p=()=>{s(),o?.(t)};return e.createElement(e.Fragment,null,e.createElement(u,{ref:r,label:t.name,className:m.chip,icon:e.createElement(g,{"data-testid":"drag-indicator-icon"}),disabled:i,onDelete:()=>{},onContextMenu:o?c:void 0,deleteIcon:e.createElement(C,{title:t.description??""},e.createElement(x,{"data-testid":"visibility-icon"}))}),e.createElement(h,{x:n.mouseX,y:n.mouseY,menuItems:l,onClose:a,onClick:p}))};export{D as DraggableChip};
2
- //# sourceMappingURL=DraggableChip.esm.js.map
@@ -1,2 +0,0 @@
1
- import{makeStyles as d}from"@material-ui/core";const i=d(t=>{const r=t.palette.text.primary,e=t.palette.background.default,o=t.palette.divider,a=t.palette.border;return{chip:{width:"100%",height:"36px",color:r,justifyContent:"space-between",background:e,border:`1px solid ${o}`,borderRadius:4,boxShadow:"0px 2px 5px rgba(0, 0, 0, 0.1)",cursor:"move","& *":{fontWeight:700},"&:focus":{background:e,borderColor:a},marginBottom:0},deleteButton:{marginRight:"auto"}}});export{i as useChipStyles};
2
- //# sourceMappingURL=chipStyles.esm.js.map
@@ -1,2 +0,0 @@
1
- import{makeStyles as y,Chip as M}from"@material-ui/core";import D from"@material-ui/icons/DragIndicator";import r,{useState as E}from"react";import{useDrop as S}from"react-dnd";import{useContextMenu as B}from"../../hooks/useContextMenu.esm.js";import{ContextMenu as N}from"../ContextMenu/ContextMenu.esm.js";import{useChipStyles as O}from"../DraggableChip/chipStyles.esm.js";const z=y(e=>({input:{border:`1px solid ${e.palette.divider}`,borderRadius:4,padding:e.spacing(1),minHeight:80},hoverBackground:{background:e.palette.action.hover},normalBackground:{background:e.palette.background.default},error:{border:"1px solid red"},chipContainer:{display:"flex",flexDirection:"column",fontSize:e.typography.body1.fontSize,color:e.palette.text.primary,gap:e.spacing(.75)}})),I=({chips:e,onDelete:a,onDrop:i,error:c=!1,placeholder:m="",disabled:s})=>{const o=z(),d=O(),[{isOver:u},h]=S(()=>({accept:"chip",drop:t=>{i(t)},collect:t=>({isOver:t.isOver()})}),[i]),g=["Remove check"],{contextMenu:l,onContextMenu:x,onContextMenuClose:C,onContextMenuClick:f}=B(),[p,b]=E(null),k=(t,n)=>{x(t),b(n)},v=()=>{f(),p&&a(p)};return r.createElement("div",{ref:h,className:`${o.input} ${c?o.error:""} ${u?o.hoverBackground:o.normalBackground}`,"data-testid":"droppable-input"},r.createElement("div",{className:o.chipContainer},e?.length?e.map(t=>r.createElement(M,{key:t.id,label:t.name,className:d.chip,icon:r.createElement(D,null),style:{cursor:"pointer"},onDelete:()=>a(t),disabled:s,onContextMenu:n=>k(n,t)})):m),r.createElement(N,{x:l.mouseX,y:l.mouseY,menuItems:g,onClose:C,onClick:v}))};export{I as DroppableInput};
2
- //# sourceMappingURL=DroppableInput.esm.js.map