@centreon/ui 24.8.6 → 24.9.0

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 (356) hide show
  1. package/package.json +4 -3
  2. package/src/@types/globals.d.ts +4 -4
  3. package/src/ActionsList/ActionsList.styles.ts +1 -1
  4. package/src/ActionsList/index.stories.tsx +1 -1
  5. package/src/ActionsList/index.tsx +6 -6
  6. package/src/Button/Icon/index.stories.tsx +1 -1
  7. package/src/Button/Icon/index.tsx +1 -1
  8. package/src/Button/Save/StartIcon.tsx +1 -1
  9. package/src/Checkbox/Checkbox.tsx +2 -2
  10. package/src/Colors/index.stories.tsx +0 -2
  11. package/src/Colors/index.tsx +7 -3
  12. package/src/ContentWithCircularProgress/index.stories.tsx +1 -1
  13. package/src/Dashboard/Dashboard.styles.ts +111 -111
  14. package/src/Dashboard/Grid.tsx +2 -2
  15. package/src/Dashboard/Item.tsx +3 -3
  16. package/src/Dashboard/Layout.tsx +3 -3
  17. package/src/Dashboard/index.tsx +9 -9
  18. package/src/Dialog/Duplicate/index.test.tsx +1 -1
  19. package/src/Dialog/Duplicate/index.tsx +5 -2
  20. package/src/Dialog/UnsavedChanges/index.tsx +2 -2
  21. package/src/Dialog/index.stories.tsx +1 -1
  22. package/src/Dialog/index.tsx +5 -5
  23. package/src/FallbackPage/FallbackPage.tsx +4 -4
  24. package/src/FileDropZone/index.stories.tsx +1 -1
  25. package/src/FileDropZone/index.tsx +5 -5
  26. package/src/FileDropZone/useDropzone.test.ts +1 -1
  27. package/src/FileDropZone/useDropzone.ts +1 -1
  28. package/src/Form/CollapsibleGroup.tsx +6 -6
  29. package/src/Form/Form.cypress.spec.tsx +1 -1
  30. package/src/Form/Form.stories.tsx +3 -3
  31. package/src/Form/Form.tsx +5 -4
  32. package/src/Form/FormButtons.tsx +2 -2
  33. package/src/Form/Inputs/Autocomplete.tsx +3 -3
  34. package/src/Form/Inputs/Checkbox.tsx +1 -1
  35. package/src/Form/Inputs/CheckboxGroup.tsx +2 -2
  36. package/src/Form/Inputs/ConnectedAutocomplete.tsx +1 -1
  37. package/src/Form/Inputs/FieldsTable/FieldsTable.tsx +15 -15
  38. package/src/Form/Inputs/FieldsTable/Row.tsx +2 -2
  39. package/src/Form/Inputs/List/Content.tsx +1 -1
  40. package/src/Form/Inputs/List/List.tsx +3 -3
  41. package/src/Form/Inputs/PasswordEndAdornment.tsx +1 -1
  42. package/src/Form/Inputs/Radio.tsx +3 -3
  43. package/src/Form/Inputs/Switch.tsx +1 -1
  44. package/src/Form/Inputs/Text.tsx +4 -4
  45. package/src/Form/Inputs/index.tsx +81 -72
  46. package/src/Form/Inputs/models.ts +14 -14
  47. package/src/Form/storiesData.tsx +26 -30
  48. package/src/Form/storiesData.tsx-E +481 -0
  49. package/src/Graph/BarChart/BarChart.stories.tsx +1 -1
  50. package/src/Graph/BarChart/BarChart.tsx +3 -3
  51. package/src/Graph/BarChart/BarGroup.tsx +6 -4
  52. package/src/Graph/BarChart/BarStack.tsx +4 -4
  53. package/src/Graph/BarChart/ResponsiveBarChart.tsx +10 -10
  54. package/src/Graph/BarChart/Tooltip/BarChartTooltip.tsx +5 -5
  55. package/src/Graph/BarChart/useBarStack.ts +2 -2
  56. package/src/Graph/BarStack/BarStack.cypress.spec.tsx +1 -1
  57. package/src/Graph/BarStack/BarStack.stories.tsx +1 -1
  58. package/src/Graph/BarStack/ResponsiveBarStack.tsx +10 -6
  59. package/src/Graph/BarStack/useResponsiveBarStack.ts +4 -4
  60. package/src/Graph/Chart/BasicComponents/Lines/RegularLines/index.tsx +1 -1
  61. package/src/Graph/Chart/BasicComponents/Lines/RegularLines/useRegularLines.ts +1 -1
  62. package/src/Graph/Chart/BasicComponents/Lines/StackedLines/index.tsx +4 -4
  63. package/src/Graph/Chart/BasicComponents/Lines/Threshold/ThresholdWithPatternLines.tsx +1 -1
  64. package/src/Graph/Chart/BasicComponents/Lines/Threshold/index.tsx +1 -1
  65. package/src/Graph/Chart/BasicComponents/Lines/Threshold/models.ts +1 -1
  66. package/src/Graph/Chart/BasicComponents/Lines/Threshold/useScaleThreshold.ts +2 -2
  67. package/src/Graph/Chart/BasicComponents/Lines/index.tsx +7 -7
  68. package/src/Graph/Chart/BasicComponents/Lines/models.ts +1 -1
  69. package/src/Graph/Chart/Chart.cypress.spec.tsx +4 -4
  70. package/src/Graph/Chart/Chart.stories.tsx +6 -6
  71. package/src/Graph/Chart/Chart.tsx +11 -11
  72. package/src/Graph/Chart/InteractiveComponents/AnchorPoint/RegularAnchorPoint.tsx +1 -1
  73. package/src/Graph/Chart/InteractiveComponents/AnchorPoint/useTickGraph.ts +1 -1
  74. package/src/Graph/Chart/InteractiveComponents/Annotations/Annotation/Area.tsx +1 -1
  75. package/src/Graph/Chart/InteractiveComponents/Annotations/Annotation/Line.tsx +1 -1
  76. package/src/Graph/Chart/InteractiveComponents/Annotations/Annotation/index.tsx +3 -3
  77. package/src/Graph/Chart/InteractiveComponents/Annotations/Area/Downtime.tsx +1 -1
  78. package/src/Graph/Chart/InteractiveComponents/Annotations/EventAnnotations.tsx +3 -3
  79. package/src/Graph/Chart/InteractiveComponents/Annotations/Line/Comments.tsx +1 -1
  80. package/src/Graph/Chart/InteractiveComponents/Annotations/annotationsAtoms.ts +4 -4
  81. package/src/Graph/Chart/InteractiveComponents/Bar.tsx +1 -1
  82. package/src/Graph/Chart/InteractiveComponents/GraphValueTooltip/GraphValueTooltip.tsx +1 -1
  83. package/src/Graph/Chart/InteractiveComponents/GraphValueTooltip/GraphValueTooltipContent.tsx +1 -1
  84. package/src/Graph/Chart/InteractiveComponents/GraphValueTooltip/useGraphValueTooltip.ts +3 -3
  85. package/src/Graph/Chart/InteractiveComponents/TimeShiftZones/index.tsx +1 -1
  86. package/src/Graph/Chart/InteractiveComponents/TimeShiftZones/models.ts +2 -2
  87. package/src/Graph/Chart/InteractiveComponents/Tooltip/useGraphTooltip.ts +1 -1
  88. package/src/Graph/Chart/InteractiveComponents/index.tsx +7 -7
  89. package/src/Graph/Chart/Legend/LegendHeader.tsx +2 -2
  90. package/src/Graph/Chart/Legend/index.tsx +3 -3
  91. package/src/Graph/Chart/common/index.ts +5 -5
  92. package/src/Graph/Chart/helpers/index.ts +5 -5
  93. package/src/Graph/Chart/index.tsx +2 -2
  94. package/src/Graph/Chart/models.ts +4 -4
  95. package/src/Graph/Gauge/AnimatedPie.tsx +1 -1
  96. package/src/Graph/Gauge/Gauge.cypress.spec.tsx +2 -2
  97. package/src/Graph/Gauge/PieData.tsx +1 -1
  98. package/src/Graph/Gauge/ResponsiveGauge.tsx +5 -5
  99. package/src/Graph/Gauge/models.ts +3 -3
  100. package/src/Graph/HeatMap/HeatMap.cypress.spec.tsx +3 -3
  101. package/src/Graph/HeatMap/HeatMapData.json +1 -1
  102. package/src/Graph/HeatMap/ResponsiveHeatMap.tsx +1 -1
  103. package/src/Graph/PieChart/PieChart.stories.tsx +1 -1
  104. package/src/Graph/PieChart/ResponsivePie.tsx +7 -3
  105. package/src/Graph/SingleBar/ResponsiveSingleBar.tsx +8 -8
  106. package/src/Graph/SingleBar/SingleBar.cypress.spec.tsx +1 -1
  107. package/src/Graph/SingleBar/SingleBar.tsx +1 -1
  108. package/src/Graph/Text/Text.cypress.spec.tsx +2 -2
  109. package/src/Graph/Tree/DescendantNodes.tsx +1 -1
  110. package/src/Graph/Tree/Links.tsx +5 -5
  111. package/src/Graph/Tree/StandaloneTree.tsx +1 -1
  112. package/src/Graph/Tree/Tree.cypress.spec.tsx +2 -2
  113. package/src/Graph/Tree/Tree.stories.tsx +2 -2
  114. package/src/Graph/Tree/Tree.tsx +3 -3
  115. package/src/Graph/Tree/stories/contents.tsx +2 -2
  116. package/src/Graph/common/Axes/index.tsx +1 -1
  117. package/src/Graph/common/Axes/models.ts +1 -1
  118. package/src/Graph/common/Axes/useAxisY.ts +1 -1
  119. package/src/Graph/common/BaseChart/BaseChart.tsx +1 -1
  120. package/src/Graph/common/BaseChart/Header/index.tsx +1 -1
  121. package/src/Graph/common/Thresholds/Thresholds.tsx +2 -2
  122. package/src/Graph/common/timeSeries/index.test.ts +57 -45
  123. package/src/Graph/common/timeSeries/index.test.ts-E +622 -0
  124. package/src/Graph/common/timeSeries/index.ts +30 -30
  125. package/src/Graph/common/utils.ts +2 -2
  126. package/src/Graph/mockedData/annotationData.json +318 -320
  127. package/src/Graph/mockedData/curvesWithSameColor.json +1 -1
  128. package/src/Graph/mockedData/exclusionPeriodFirstPeriod.json +366 -586
  129. package/src/Graph/mockedData/exclusionPeriodSecondPeriod.json +370 -586
  130. package/src/Graph/mockedData/exclusionPeriodThirdPeriod.json +365 -579
  131. package/src/Graph/mockedData/lastDay.json +1290 -1324
  132. package/src/Graph/mockedData/lastDayAreaStack.json +3048 -3104
  133. package/src/Graph/mockedData/lastDayForward.json +1303 -1336
  134. package/src/Graph/mockedData/lastDayThreshold.json +2318 -2350
  135. package/src/Graph/mockedData/lastDayWithIncompleteValues.json +7 -41
  136. package/src/Graph/mockedData/lastDayWithLotOfUnits.json +1618 -1665
  137. package/src/Graph/mockedData/lastDayWithNullValues.json +7 -41
  138. package/src/Graph/mockedData/lastMonth.json +1639 -1672
  139. package/src/Graph/mockedData/lastWeek.json +2167 -2200
  140. package/src/Graph/mockedData/pingService.json +4 -12
  141. package/src/Graph/mockedData/pingServiceLinesBars.json +242 -250
  142. package/src/Graph/mockedData/pingServiceLinesBarsMixed.json +242 -250
  143. package/src/Graph/mockedData/pingServiceLinesBarsStacked.json +242 -250
  144. package/src/Graph/mockedData/pingServiceMixedStacked.json +4 -12
  145. package/src/Graph/mockedData/pingServiceStacked.json +4 -12
  146. package/src/Graph/mockedData/zoomPreview.json +370 -740
  147. package/src/Icon/IconAttach/index.tsx +1 -6
  148. package/src/Image/Image.tsx +75 -75
  149. package/src/Image/atoms.ts +3 -3
  150. package/src/Image/index.stories.tsx +1 -1
  151. package/src/Image/index.test.tsx +53 -53
  152. package/src/Image/models.ts +3 -3
  153. package/src/Image/useLoadImage.ts +49 -49
  154. package/src/InputField/Number/Number.tsx +2 -2
  155. package/src/InputField/Search/PersistentTooltip.tsx +2 -2
  156. package/src/InputField/Search/RegexpHelpTooltip.tsx +1 -1
  157. package/src/InputField/Search/index.stories.tsx +1 -1
  158. package/src/InputField/Select/Autocomplete/Connected/Multi/index.test.tsx +1 -1
  159. package/src/InputField/Select/Autocomplete/Connected/Multi/index.tsx +1 -1
  160. package/src/InputField/Select/Autocomplete/Connected/index.stories.tsx +4 -4
  161. package/src/InputField/Select/Autocomplete/Connected/index.test.tsx +6 -6
  162. package/src/InputField/Select/Autocomplete/Connected/index.tsx +12 -12
  163. package/src/InputField/Select/Autocomplete/Draggable/MultiConnected.tsx +1 -1
  164. package/src/InputField/Select/Autocomplete/Draggable/SortableList.tsx +1 -1
  165. package/src/InputField/Select/Autocomplete/Draggable/SortableListContent.tsx +5 -6
  166. package/src/InputField/Select/Autocomplete/Draggable/index.stories.tsx +6 -6
  167. package/src/InputField/Select/Autocomplete/Draggable/index.tsx +15 -16
  168. package/src/InputField/Select/Autocomplete/Multi/index.tsx +1 -1
  169. package/src/InputField/Select/Autocomplete/Popover/index.tsx +1 -1
  170. package/src/InputField/Select/Autocomplete/index.stories.tsx +2 -3
  171. package/src/InputField/Select/Autocomplete/index.tsx +10 -11
  172. package/src/InputField/Select/IconPopover/index.tsx +3 -3
  173. package/src/InputField/Select/Option.tsx +1 -1
  174. package/src/InputField/Select/index.tsx +6 -6
  175. package/src/InputField/Text/index.stories.tsx +3 -4
  176. package/src/InputField/Text/index.tsx +3 -3
  177. package/src/InputField/Text/useAutoSize.ts +62 -62
  178. package/src/LicenseMessage/index.tsx +1 -1
  179. package/src/Listing/ActionBar/ColumnMultiSelect.tsx +4 -4
  180. package/src/Listing/ActionBar/PaginationActions.tsx +1 -1
  181. package/src/Listing/ActionBar/index.tsx +6 -6
  182. package/src/Listing/Cell/DataCell.tsx +2 -2
  183. package/src/Listing/Cell/EllipsisTypography.tsx +0 -2
  184. package/src/Listing/Cell/index.tsx +7 -8
  185. package/src/Listing/Checkbox.tsx +1 -1
  186. package/src/Listing/EmptyResult/EmptyResult.tsx +0 -2
  187. package/src/Listing/Header/Cell/ListingHeaderCell.styles.ts +1 -1
  188. package/src/Listing/Header/Cell/ListingHeaderCell.tsx +1 -3
  189. package/src/Listing/Header/Cell/SelectActionListingHeaderCell.tsx +3 -5
  190. package/src/Listing/Header/ListingHeader.tsx +6 -7
  191. package/src/Listing/Header/_internals/DraggableIconButton.tsx +1 -3
  192. package/src/Listing/Header/_internals/Label.tsx +2 -3
  193. package/src/Listing/Listing.cypress.spec.tsx +307 -307
  194. package/src/Listing/Row/Row.tsx +4 -5
  195. package/src/Listing/Row/SkeletonLoaderRows.tsx +7 -9
  196. package/src/Listing/index.stories.tsx +1 -1
  197. package/src/Listing/index.tsx +36 -30
  198. package/src/Listing/useResizeObserver.ts +1 -1
  199. package/src/ListingPage/Filter.tsx +15 -18
  200. package/src/ListingPage/index.tsx +2 -2
  201. package/src/Logo/CentreonLogo.tsx +2 -2
  202. package/src/MenuSkeleton/index.tsx +1 -1
  203. package/src/Module/LicensedModule/LicenseCheck/index.tsx +1 -1
  204. package/src/Module/index.tsx +3 -3
  205. package/src/MultiSelectEntries/index.tsx +1 -1
  206. package/src/MultiSelectEntries/useHover.ts +1 -1
  207. package/src/Panel/Section/ExpandableSection.tsx +6 -6
  208. package/src/Panel/Section/index.test.tsx +1 -1
  209. package/src/Panel/Section/index.tsx +1 -1
  210. package/src/Panel/index.tsx +15 -13
  211. package/src/RichTextEditor/ContentEditable.tsx +195 -195
  212. package/src/RichTextEditor/RichTextEditor.tsx +244 -244
  213. package/src/RichTextEditor/index.ts +2 -2
  214. package/src/RichTextEditor/initialEditorState.json +113 -113
  215. package/src/RichTextEditor/plugins/AutoLinkPlugin/index.tsx +4 -4
  216. package/src/RichTextEditor/plugins/FloatingLinkEditorPlugin.tsx +10 -10
  217. package/src/RichTextEditor/plugins/ToolbarPlugin/AlignPicker.tsx +4 -4
  218. package/src/RichTextEditor/plugins/ToolbarPlugin/BlockButtons.tsx +7 -7
  219. package/src/RichTextEditor/plugins/ToolbarPlugin/FormatButtons.tsx +124 -124
  220. package/src/RichTextEditor/plugins/ToolbarPlugin/LinkButton.tsx +5 -5
  221. package/src/RichTextEditor/plugins/ToolbarPlugin/ListButton.tsx +2 -2
  222. package/src/RichTextEditor/plugins/ToolbarPlugin/MacrosButton.tsx +4 -4
  223. package/src/RichTextEditor/plugins/ToolbarPlugin/UndoRedoButtons.tsx +97 -97
  224. package/src/RichTextEditor/plugins/ToolbarPlugin/index.tsx +62 -62
  225. package/src/RichTextEditor/translatedLabels.ts +8 -8
  226. package/src/Snackbar/SnackbarProvider.tsx +3 -4
  227. package/src/Snackbar/Transition.tsx +5 -6
  228. package/src/Snackbar/index.tsx +7 -8
  229. package/src/SortableItems/Item.tsx +3 -3
  230. package/src/SortableItems/SortableItem.tsx +1 -1
  231. package/src/SortableItems/index.stories.tsx +5 -6
  232. package/src/SortableItems/index.tsx +18 -19
  233. package/src/StatusChip/index.tsx +1 -1
  234. package/src/StoryBookThemeProvider/index.tsx +35 -36
  235. package/src/ThemeProvider/index.tsx +8 -10
  236. package/src/ThemeProvider/palettes.ts +42 -27
  237. package/src/TimePeriods/CustomTimePeriod/PopoverCustomTimePeriod/PickersStartEndDate.tsx +1 -1
  238. package/src/TimePeriods/CustomTimePeriod/PopoverCustomTimePeriod/index.tsx +1 -1
  239. package/src/TimePeriods/SelectedTimePeriod.tsx +1 -1
  240. package/src/TimePeriods/TimePeriods.cypress.spec.tsx +3 -3
  241. package/src/TimePeriods/TimePeriods.tsx +1 -1
  242. package/src/TimePeriods/helpers/index.ts +1 -1
  243. package/src/TimePeriods/index.stories.tsx +1 -1
  244. package/src/TimePeriods/index.tsx +1 -1
  245. package/src/TimePeriods/models.ts +2 -2
  246. package/src/TimePeriods/timePeriodsAtoms.ts +1 -1
  247. package/src/TimePeriods/useTimePeriod.ts +4 -4
  248. package/src/TopCounterElements/ResourceSubMenu.tsx +1 -4
  249. package/src/TopCounterElements/StatusCounter.tsx +2 -2
  250. package/src/Typography/FluidTypography/index.tsx +46 -46
  251. package/src/Typography/Subtitle.tsx +2 -2
  252. package/src/Typography/story.utils.tsx +6 -6
  253. package/src/WallpaperPage/index.tsx +1 -1
  254. package/src/Wizard/ActionsBar.test.tsx +1 -1
  255. package/src/Wizard/ActionsBar.tsx +1 -1
  256. package/src/Wizard/StepIcon.tsx +1 -1
  257. package/src/Wizard/Stepper.tsx +2 -2
  258. package/src/Wizard/WizardContent.tsx +1 -1
  259. package/src/Wizard/index.stories.tsx +2 -2
  260. package/src/Wizard/index.test.tsx +3 -3
  261. package/src/Wizard/index.tsx +2 -2
  262. package/src/Wizard/models.ts +1 -1
  263. package/src/api/TestQueryProvider.tsx +24 -24
  264. package/src/api/buildListingDecoder.ts +1 -1
  265. package/src/api/buildListingEndpoint/getSearchQueryParameterValue.ts +11 -11
  266. package/src/api/buildListingEndpoint/index.ts +1 -1
  267. package/src/api/useFetchQuery/index.test.ts +1 -1
  268. package/src/api/useFetchQuery/index.ts +8 -8
  269. package/src/api/useGraphQuery/index.ts +1 -1
  270. package/src/api/useMutationQuery/index.test.ts +1 -1
  271. package/src/api/useMutationQuery/index.ts +4 -4
  272. package/src/api/useRequest/index.test.ts +1 -1
  273. package/src/api/useRequest/index.ts +3 -3
  274. package/src/base/tokens/source/$metadata.json +2 -4
  275. package/src/base/tokens/source/base.json +1 -1
  276. package/src/base/tokens/themes/base.tokens.json +34 -166
  277. package/src/base/tokens/themes/ui-dark.tokens.json +34 -166
  278. package/src/base/tokens/themes/ui-light.tokens.json +34 -166
  279. package/src/components/Button/Icon/IconButton.tsx +1 -1
  280. package/src/components/CollapsibleItem/CollapsibleItem.tsx +2 -2
  281. package/src/components/DataTable/DataListing.tsx +1 -1
  282. package/src/components/DataTable/DataTable.cypress.spec.tsx +1 -1
  283. package/src/components/DataTable/DataTable.stories.tsx +4 -1
  284. package/src/components/DataTable/EmptyState/DataTableEmptyState.tsx +1 -1
  285. package/src/components/DataTable/index.ts +2 -2
  286. package/src/components/Form/AccessRights/AccessRights.cypress.spec.tsx +11 -11
  287. package/src/components/Form/AccessRights/Actions/Actions.tsx +1 -1
  288. package/src/components/Form/AccessRights/List/Item.tsx +5 -5
  289. package/src/components/Form/AccessRights/List/List.tsx +4 -4
  290. package/src/components/Form/AccessRights/ShareInput/ContactSwitch.tsx +2 -2
  291. package/src/components/Form/AccessRights/ShareInput/ShareInput.styles.ts +1 -1
  292. package/src/components/Form/AccessRights/ShareInput/ShareInput.tsx +3 -3
  293. package/src/components/Form/AccessRights/ShareInput/useShareInput.tsx +2 -2
  294. package/src/components/Form/AccessRights/Stats/Stats.tsx +2 -2
  295. package/src/components/Form/AccessRights/atoms.ts +1 -1
  296. package/src/components/Form/AccessRights/storiesData.ts +1 -1
  297. package/src/components/Form/AccessRights/useAccessRightsChange.ts +1 -1
  298. package/src/components/Form/Dashboard/DashboardDuplicationForm.tsx +3 -3
  299. package/src/components/Form/Dashboard/DashboardForm.tsx +5 -5
  300. package/src/components/Form/Dashboard/GlobalRefreshFieldOption.tsx +4 -4
  301. package/src/components/Header/PageHeader/PageHeader.tsx +1 -1
  302. package/src/components/Header/PageHeader/PageHeaderActions.tsx +1 -1
  303. package/src/components/Header/PageHeader/PageHeaderMain.tsx +1 -1
  304. package/src/components/Header/PageHeader/PageHeaderMenu.tsx +1 -1
  305. package/src/components/Header/PageHeader/PageHeaderTitle.tsx +1 -1
  306. package/src/components/Header/PageHeader/index.ts +2 -2
  307. package/src/components/Inputs/Switch/Switch.tsx +1 -1
  308. package/src/components/ItemComposition/ItemComposition.stories.tsx +6 -4
  309. package/src/components/ItemComposition/index.ts +1 -1
  310. package/src/components/Layout/PageLayout/PageLayout.stories.tsx +1 -1
  311. package/src/components/Layout/PageLayout/PageQuickAccess.tsx +12 -13
  312. package/src/components/Layout/PageLayout/index.ts +2 -2
  313. package/src/components/List/Item/ListItem.tsx +3 -3
  314. package/src/components/List/Item/index.ts +2 -2
  315. package/src/components/List/List.stories.tsx +16 -14
  316. package/src/components/List/List.tsx +2 -2
  317. package/src/components/List/index.ts +1 -1
  318. package/src/components/Menu/Button/MenuButton.tsx +1 -1
  319. package/src/components/Menu/index.ts +2 -2
  320. package/src/components/Menu/useMenu.tsx +3 -3
  321. package/src/components/Modal/ConfirmationModal/ConfirmationModal.cypress.spec.tsx +1 -1
  322. package/src/components/Modal/ConfirmationModal/ConfirmationModal.stories.tsx +1 -1
  323. package/src/components/Modal/ConfirmationModal/ConfirmationModal.tsx +1 -1
  324. package/src/components/Modal/Modal.tsx +1 -1
  325. package/src/components/Modal/ModalBody.tsx +1 -1
  326. package/src/components/Modal/ModalHeader.tsx +1 -1
  327. package/src/components/Modal/index.ts +2 -2
  328. package/src/components/Tooltip/ConfirmationTooltip/ConfirmationTooltip.tsx +2 -2
  329. package/src/components/Tooltip/ConfirmationTooltip/TooltipContent.tsx +1 -1
  330. package/src/components/Tooltip/TextOverflowTooltip/TextOverflowTooltip.tsx +1 -1
  331. package/src/components/Zoom/Minimap.tsx +1 -1
  332. package/src/components/Zoom/Zoom.stories.tsx +1 -1
  333. package/src/components/Zoom/ZoomContent.tsx +3 -3
  334. package/src/components/Zoom/localPoint.ts +4 -4
  335. package/src/components/Zoom/useMinimap.ts +1 -1
  336. package/src/queryParameters/index.ts +1 -1
  337. package/src/styles/tokens/themes/_ui-dark.tokens.json +34 -166
  338. package/src/styles/tokens/themes/_ui-light.tokens.json +34 -166
  339. package/src/utils/index.ts +29 -29
  340. package/src/utils/resourcesStatusURL.ts +2 -2
  341. package/src/utils/sanitizedHTML.ts +1 -1
  342. package/src/utils/useCopyToClipboard.ts +1 -1
  343. package/src/utils/useDebounce.ts +1 -1
  344. package/src/utils/useFullscreen/useFullscreen.ts +2 -2
  345. package/src/utils/useInfiniteScrollListing.ts +129 -129
  346. package/src/utils/useIntersectionObserver.ts +1 -1
  347. package/src/utils/useKeyObserver.tsx +1 -1
  348. package/src/utils/useLicenseExpirationWarning.test.tsx +1 -1
  349. package/src/utils/useLicenseExpirationWarning.ts +1 -1
  350. package/src/utils/useLocaleDateTimeFormat/index.test.tsx +3 -3
  351. package/src/utils/useLocaleDateTimeFormat/index.ts +1 -1
  352. package/src/utils/useLocaleDateTimeFormat/localeFallback.test.tsx +4 -4
  353. package/src/utils/useLocaleTimezoneDate/LocaleTimezoneDate.cypress.spec.tsx +2 -2
  354. package/src/utils/useMemoComponent.ts +1 -1
  355. package/src/utils/usePluralizedTranslation.ts +2 -2
  356. package/src/utils/useViewportIntersection.ts +1 -1
@@ -1,588 +1,368 @@
1
1
  {
2
- "global": {
3
- "title": "anomaly-nbr-connect graph on fw-brasilia",
4
- "start": "2023-06-14T21:02:27+02:00",
5
- "end": "2023-06-15T00:02:58+02:00",
6
- "vertical-label": "Value",
7
- "base": 1000,
8
- "width": 550,
9
- "height": 140,
10
- "scaled": 1,
11
- "multiple_services": false
2
+ "global": {
3
+ "title": "anomaly-nbr-connect graph on fw-brasilia",
4
+ "start": "2023-06-14T21:02:27+02:00",
5
+ "end": "2023-06-15T00:02:58+02:00",
6
+ "vertical-label": "Value",
7
+ "base": 1000,
8
+ "width": 550,
9
+ "height": 140,
10
+ "scaled": 1,
11
+ "multiple_services": false
12
+ },
13
+ "metrics": [
14
+ {
15
+ "index_id": 152032,
16
+ "metric_id": 15165,
17
+ "metric": "connection",
18
+ "metric_legend": "connection",
19
+ "unit": "",
20
+ "hidden": 0,
21
+ "min": null,
22
+ "max": null,
23
+ "virtual": 0,
24
+ "ds_data": {
25
+ "ds_min": "1",
26
+ "ds_max": "1",
27
+ "ds_minmax_int": "0",
28
+ "ds_last": "1",
29
+ "ds_average": "1",
30
+ "ds_total": "0",
31
+ "ds_tickness": 1,
32
+ "ds_color_line_mode": "1",
33
+ "ds_color_line": "#993366"
34
+ },
35
+ "legend": "connection",
36
+ "stack": 0,
37
+ "warn": null,
38
+ "warn_low": null,
39
+ "crit": null,
40
+ "crit_low": null,
41
+ "ds_color_area_warn": "#ff9a13",
42
+ "ds_color_area_crit": "#e00b3d",
43
+ "ds_order": 0,
44
+ "data": [
45
+ 22.203333333, 27.576666667, 27.406666667, 22.22, 25.78, 15.846666667,
46
+ 15.39, 22.373333333, 20.813333333, 23.983333333, 28.186666667, 26.61,
47
+ 26, 22.813333333, 18.016666667, 13.813333333, 16.186666667,
48
+ 17.796666667, 21.983333333, 14.236666667, 23.153333333, 17.236666667,
49
+ 15, 20.576666667, 22.796666667, 27.78, 28.203333333, 27.203333333,
50
+ 14.253333333, 13.39, 21.17, 19.813333333, 22.186666667, 14.236666667,
51
+ 22.356666667, 15.44, 14.593333333
52
+ ],
53
+ "prints": [
54
+ ["Last:14.59"],
55
+ ["Min:13.39"],
56
+ ["Max:28.20"],
57
+ ["Average:20.77"]
58
+ ],
59
+ "last_value": 14.59,
60
+ "minimum_value": 13.39,
61
+ "maximum_value": 28.2,
62
+ "average_value": 20.77
12
63
  },
13
- "metrics": [
14
- {
15
- "index_id": 152032,
16
- "metric_id": 15165,
17
- "metric": "connection",
18
- "metric_legend": "connection",
19
- "unit": "",
20
- "hidden": 0,
21
- "min": null,
22
- "max": null,
23
- "virtual": 0,
24
- "ds_data": {
25
- "ds_min": "1",
26
- "ds_max": "1",
27
- "ds_minmax_int": "0",
28
- "ds_last": "1",
29
- "ds_average": "1",
30
- "ds_total": "0",
31
- "ds_tickness": 1,
32
- "ds_color_line_mode": "1",
33
- "ds_color_line": "#993366"
34
- },
35
- "legend": "connection",
36
- "stack": 0,
37
- "warn": null,
38
- "warn_low": null,
39
- "crit": null,
40
- "crit_low": null,
41
- "ds_color_area_warn": "#ff9a13",
42
- "ds_color_area_crit": "#e00b3d",
43
- "ds_order": 0,
44
- "data": [
45
- 22.203333333,
46
- 27.576666667,
47
- 27.406666667,
48
- 22.22,
49
- 25.78,
50
- 15.846666667,
51
- 15.39,
52
- 22.373333333,
53
- 20.813333333,
54
- 23.983333333,
55
- 28.186666667,
56
- 26.61,
57
- 26,
58
- 22.813333333,
59
- 18.016666667,
60
- 13.813333333,
61
- 16.186666667,
62
- 17.796666667,
63
- 21.983333333,
64
- 14.236666667,
65
- 23.153333333,
66
- 17.236666667,
67
- 15,
68
- 20.576666667,
69
- 22.796666667,
70
- 27.78,
71
- 28.203333333,
72
- 27.203333333,
73
- 14.253333333,
74
- 13.39,
75
- 21.17,
76
- 19.813333333,
77
- 22.186666667,
78
- 14.236666667,
79
- 22.356666667,
80
- 15.44,
81
- 14.593333333
82
- ],
83
- "prints": [
84
- [
85
- "Last:14.59"
86
- ],
87
- [
88
- "Min:13.39"
89
- ],
90
- [
91
- "Max:28.20"
92
- ],
93
- [
94
- "Average:20.77"
95
- ]
96
- ],
97
- "last_value": 14.59,
98
- "minimum_value": 13.39,
99
- "maximum_value": 28.2,
100
- "average_value": 20.77
101
- },
102
- {
103
- "index_id": 152032,
104
- "metric_id": 16196,
105
- "metric": "connection_fit",
106
- "metric_legend": "connection_fit",
107
- "unit": "",
108
- "hidden": 0,
109
- "min": null,
110
- "max": null,
111
- "virtual": 0,
112
- "ds_data": {
113
- "ds_min": "1",
114
- "ds_max": "1",
115
- "ds_minmax_int": "0",
116
- "ds_last": "1",
117
- "ds_average": "1",
118
- "ds_total": "0",
119
- "ds_tickness": 1,
120
- "ds_color_line_mode": "1",
121
- "ds_color_line": "#9933ff"
122
- },
123
- "legend": "connection_fit",
124
- "stack": 0,
125
- "warn": null,
126
- "warn_low": null,
127
- "crit": null,
128
- "crit_low": null,
129
- "ds_color_area_warn": "#ff9a13",
130
- "ds_color_area_crit": "#e00b3d",
131
- "ds_order": 0,
132
- "data": [
133
- 19.3527,
134
- 19.1427,
135
- 18.964566667,
136
- 18.93,
137
- 18.93,
138
- 18.93,
139
- 18.93,
140
- 18.93,
141
- 18.969833333,
142
- 19.139333333,
143
- 19.3473,
144
- 19.493566667,
145
- 19.3527,
146
- 19.1427,
147
- 18.964566667,
148
- 18.93,
149
- 18.93,
150
- 18.93,
151
- 18.93,
152
- 18.93,
153
- 18.969833333,
154
- 19.139333333,
155
- 19.3473,
156
- 19.493566667,
157
- 19.3527,
158
- 19.1427,
159
- 18.964566667,
160
- 18.93,
161
- 18.93,
162
- 18.93,
163
- 18.93,
164
- 18.93,
165
- 18.969833333,
166
- 19.139333333,
167
- 19.3473,
168
- 19.493566667,
169
- 19.3527
170
- ],
171
- "prints": [
172
- [
173
- "Last:19.35"
174
- ],
175
- [
176
- "Min:18.93"
177
- ],
178
- [
179
- "Max:19.49"
180
- ],
181
- [
182
- "Average:19.10"
183
- ]
184
- ],
185
- "last_value": 19.35,
186
- "minimum_value": 18.93,
187
- "maximum_value": 19.49,
188
- "average_value": 19.1
189
- },
190
- {
191
- "index_id": 152032,
192
- "metric_id": 16197,
193
- "metric": "connection_lower_margin",
194
- "metric_legend": "connection_lower_margin",
195
- "unit": "",
196
- "hidden": 0,
197
- "min": null,
198
- "max": null,
199
- "virtual": 0,
200
- "ds_data": {
201
- "ds_min": "1",
202
- "ds_max": "1",
203
- "ds_minmax_int": "0",
204
- "ds_last": "1",
205
- "ds_average": "1",
206
- "ds_total": "0",
207
- "ds_tickness": 1,
208
- "ds_color_line_mode": "1",
209
- "ds_color_line": "#00ff99"
210
- },
211
- "legend": "connection_lower_margin",
212
- "stack": 0,
213
- "warn": null,
214
- "warn_low": null,
215
- "crit": null,
216
- "crit_low": null,
217
- "ds_color_area_warn": "#ff9a13",
218
- "ds_color_area_crit": "#e00b3d",
219
- "ds_order": 0,
220
- "data": [
221
- -17.88,
222
- -17.88,
223
- -17.88,
224
- -17.88,
225
- -17.88,
226
- -17.88,
227
- -17.88,
228
- -17.88,
229
- -17.88,
230
- -17.88,
231
- -17.88,
232
- -17.88,
233
- -17.88,
234
- -17.88,
235
- -17.88,
236
- -17.88,
237
- -17.88,
238
- -17.88,
239
- -17.88,
240
- -17.88,
241
- -17.88,
242
- -17.88,
243
- -17.88,
244
- -17.88,
245
- -17.88,
246
- -17.88,
247
- -17.88,
248
- -17.88,
249
- -17.88,
250
- -17.88,
251
- -17.88,
252
- -17.88,
253
- -17.88,
254
- -17.88,
255
- -17.88,
256
- -17.88,
257
- -17.88
258
- ],
259
- "prints": [
260
- [
261
- "Last:-17.88"
262
- ],
263
- [
264
- "Min:-17.88"
265
- ],
266
- [
267
- "Max:-17.88"
268
- ],
269
- [
270
- "Average:-17.88"
271
- ]
272
- ],
273
- "last_value": null,
274
- "minimum_value": null,
275
- "maximum_value": null,
276
- "average_value": null
277
- },
278
- {
279
- "index_id": 152032,
280
- "metric_id": 16198,
281
- "metric": "connection_upper_margin",
282
- "metric_legend": "connection_upper_margin",
283
- "unit": "",
284
- "hidden": 0,
285
- "min": null,
286
- "max": null,
287
- "virtual": 0,
288
- "ds_data": {
289
- "ds_min": "1",
290
- "ds_max": "1",
291
- "ds_minmax_int": "0",
292
- "ds_last": "1",
293
- "ds_average": "1",
294
- "ds_total": "0",
295
- "ds_tickness": 1,
296
- "ds_color_line_mode": "1",
297
- "ds_color_line": "#9900ff"
298
- },
299
- "legend": "connection_upper_margin",
300
- "stack": 0,
301
- "warn": null,
302
- "warn_low": null,
303
- "crit": null,
304
- "crit_low": null,
305
- "ds_color_area_warn": "#ff9a13",
306
- "ds_color_area_crit": "#e00b3d",
307
- "ds_order": 0,
308
- "data": [
309
- 10.15,
310
- 10.15,
311
- 10.15,
312
- 10.15,
313
- 10.15,
314
- 10.15,
315
- 10.15,
316
- 10.15,
317
- 10.15,
318
- 10.15,
319
- 10.15,
320
- 10.15,
321
- 10.15,
322
- 10.15,
323
- 10.15,
324
- 10.15,
325
- 10.15,
326
- 10.15,
327
- 10.15,
328
- 10.15,
329
- 10.15,
330
- 10.15,
331
- 10.15,
332
- 10.15,
333
- 10.15,
334
- 10.15,
335
- 10.15,
336
- 10.15,
337
- 10.15,
338
- 10.15,
339
- 10.15,
340
- 10.15,
341
- 10.15,
342
- 10.15,
343
- 10.15,
344
- 10.15,
345
- 10.15
346
- ],
347
- "prints": [
348
- [
349
- "Last:10.15"
350
- ],
351
- [
352
- "Min:10.15"
353
- ],
354
- [
355
- "Max:10.15"
356
- ],
357
- [
358
- "Average:10.15"
359
- ]
360
- ],
361
- "last_value": 10.15,
362
- "minimum_value": 10.15,
363
- "maximum_value": 10.15,
364
- "average_value": 10.15
365
- },
366
- {
367
- "index_id": 152032,
368
- "metric_id": 15177,
369
- "metric": "connection_lower_thresholds",
370
- "metric_legend": "connection_lower_thresholds",
371
- "unit": "",
372
- "hidden": 0,
373
- "min": null,
374
- "max": null,
375
- "virtual": 0,
376
- "ds_data": {
377
- "compo_id": 50,
378
- "host_id": null,
379
- "service_id": null,
380
- "name": "Anomaly Lower Threshold",
381
- "ds_order": 1,
382
- "ds_hidecurve": null,
383
- "ds_name": ".*_lower_thresholds",
384
- "ds_color_line": "#D728C9",
385
- "ds_color_line_mode": "0",
386
- "ds_color_area": "#FFFFFF",
387
- "ds_color_area_warn": "#F8C706",
388
- "ds_color_area_crit": "#F91E05",
389
- "ds_filled": null,
390
- "ds_max": null,
391
- "ds_min": null,
392
- "ds_minmax_int": null,
393
- "ds_average": null,
394
- "ds_last": null,
395
- "ds_total": null,
396
- "ds_tickness": 2,
397
- "ds_transparency": "80",
398
- "ds_invert": null,
399
- "ds_legend": "Lower Threshold",
400
- "ds_jumpline": "0",
401
- "ds_stack": null,
402
- "default_tpl1": null,
403
- "comment": null
404
- },
405
- "legend": "Lower Threshold",
406
- "stack": 0,
407
- "warn": null,
408
- "warn_low": null,
409
- "crit": null,
410
- "crit_low": null,
411
- "ds_order": 1,
412
- "data": [
413
- -34.2873,
414
- -34.4973,
415
- -34.667466667,
416
- -34.7,
417
- -34.7,
418
- -34.7,
419
- -34.7,
420
- -34.7,
421
- -34.668133333,
422
- -34.4927,
423
- -34.2827,
424
- -34.1444,
425
- -34.2873,
426
- -34.4973,
427
- -34.667466667,
428
- -34.7,
429
- -34.7,
430
- -34.7,
431
- -34.7,
432
- -34.7,
433
- -34.668133333,
434
- -34.4927,
435
- -34.2827,
436
- -34.1444,
437
- -34.2873,
438
- -34.4973,
439
- -34.667466667,
440
- -34.7,
441
- -34.7,
442
- -34.7,
443
- -34.7,
444
- -34.7,
445
- -34.668133333,
446
- -34.4927,
447
- -34.2827,
448
- -34.1444,
449
- -34.2873
450
- ],
451
- "prints": [],
452
- "last_value": null,
453
- "minimum_value": null,
454
- "maximum_value": null,
455
- "average_value": null
456
- },
457
- {
458
- "index_id": 152032,
459
- "metric_id": 15178,
460
- "metric": "connection_upper_thresholds",
461
- "metric_legend": "connection_upper_thresholds",
462
- "unit": "",
463
- "hidden": 0,
464
- "min": null,
465
- "max": null,
466
- "virtual": 0,
467
- "ds_data": {
468
- "compo_id": 51,
469
- "host_id": null,
470
- "service_id": null,
471
- "name": "Anomaly Upper Threshold",
472
- "ds_order": 1,
473
- "ds_hidecurve": null,
474
- "ds_name": ".*_upper_thresholds",
475
- "ds_color_line": "#D728C9",
476
- "ds_color_line_mode": "0",
477
- "ds_color_area": "#FFFFFF",
478
- "ds_color_area_warn": "#F8C706",
479
- "ds_color_area_crit": "#F91E05",
480
- "ds_filled": null,
481
- "ds_max": null,
482
- "ds_min": null,
483
- "ds_minmax_int": null,
484
- "ds_average": null,
485
- "ds_last": null,
486
- "ds_total": null,
487
- "ds_tickness": 2,
488
- "ds_transparency": "80",
489
- "ds_invert": null,
490
- "ds_legend": "Upper Threshold",
491
- "ds_jumpline": "0",
492
- "ds_stack": null,
493
- "default_tpl1": null,
494
- "comment": null
495
- },
496
- "legend": "Upper Threshold",
497
- "stack": 0,
498
- "warn": null,
499
- "warn_low": null,
500
- "crit": null,
501
- "crit_low": null,
502
- "ds_order": 1,
503
- "data": [
504
- 49.810666667,
505
- 49.6027,
506
- 49.424566667,
507
- 49.39,
508
- 49.39,
509
- 49.39,
510
- 49.39,
511
- 49.39,
512
- 49.421866667,
513
- 49.5973,
514
- 49.8073,
515
- 49.9456,
516
- 49.810666667,
517
- 49.6027,
518
- 49.424566667,
519
- 49.39,
520
- 49.39,
521
- 49.39,
522
- 49.39,
523
- 49.39,
524
- 49.421866667,
525
- 49.5973,
526
- 49.8073,
527
- 49.9456,
528
- 49.810666667,
529
- 49.6027,
530
- 49.424566667,
531
- 49.39,
532
- 49.39,
533
- 49.39,
534
- 49.39,
535
- 49.39,
536
- 49.421866667,
537
- 49.5973,
538
- 49.8073,
539
- 49.9456,
540
- 49.810666667
541
- ],
542
- "prints": [],
543
- "last_value": null,
544
- "minimum_value": null,
545
- "maximum_value": null,
546
- "average_value": null
547
- }
548
- ],
549
- "times": [
550
- "2023-06-14T21:05:00+02:00",
551
- "2023-06-14T21:10:00+02:00",
552
- "2023-06-14T21:15:00+02:00",
553
- "2023-06-14T21:20:00+02:00",
554
- "2023-06-14T21:25:00+02:00",
555
- "2023-06-14T21:30:00+02:00",
556
- "2023-06-14T21:35:00+02:00",
557
- "2023-06-14T21:40:00+02:00",
558
- "2023-06-14T21:45:00+02:00",
559
- "2023-06-14T21:50:00+02:00",
560
- "2023-06-14T21:55:00+02:00",
561
- "2023-06-14T22:00:00+02:00",
562
- "2023-06-14T22:05:00+02:00",
563
- "2023-06-14T22:10:00+02:00",
564
- "2023-06-14T22:15:00+02:00",
565
- "2023-06-14T22:20:00+02:00",
566
- "2023-06-14T22:25:00+02:00",
567
- "2023-06-14T22:30:00+02:00",
568
- "2023-06-14T22:35:00+02:00",
569
- "2023-06-14T22:40:00+02:00",
570
- "2023-06-14T22:45:00+02:00",
571
- "2023-06-14T22:50:00+02:00",
572
- "2023-06-14T22:55:00+02:00",
573
- "2023-06-14T23:00:00+02:00",
574
- "2023-06-14T23:05:00+02:00",
575
- "2023-06-14T23:10:00+02:00",
576
- "2023-06-14T23:15:00+02:00",
577
- "2023-06-14T23:20:00+02:00",
578
- "2023-06-14T23:25:00+02:00",
579
- "2023-06-14T23:30:00+02:00",
580
- "2023-06-14T23:35:00+02:00",
581
- "2023-06-14T23:40:00+02:00",
582
- "2023-06-14T23:45:00+02:00",
583
- "2023-06-14T23:50:00+02:00",
584
- "2023-06-14T23:55:00+02:00",
585
- "2023-06-15T00:00:00+02:00",
586
- "2023-06-15T00:05:00+02:00"
587
- ]
588
- }
64
+ {
65
+ "index_id": 152032,
66
+ "metric_id": 16196,
67
+ "metric": "connection_fit",
68
+ "metric_legend": "connection_fit",
69
+ "unit": "",
70
+ "hidden": 0,
71
+ "min": null,
72
+ "max": null,
73
+ "virtual": 0,
74
+ "ds_data": {
75
+ "ds_min": "1",
76
+ "ds_max": "1",
77
+ "ds_minmax_int": "0",
78
+ "ds_last": "1",
79
+ "ds_average": "1",
80
+ "ds_total": "0",
81
+ "ds_tickness": 1,
82
+ "ds_color_line_mode": "1",
83
+ "ds_color_line": "#9933ff"
84
+ },
85
+ "legend": "connection_fit",
86
+ "stack": 0,
87
+ "warn": null,
88
+ "warn_low": null,
89
+ "crit": null,
90
+ "crit_low": null,
91
+ "ds_color_area_warn": "#ff9a13",
92
+ "ds_color_area_crit": "#e00b3d",
93
+ "ds_order": 0,
94
+ "data": [
95
+ 19.3527, 19.1427, 18.964566667, 18.93, 18.93, 18.93, 18.93, 18.93,
96
+ 18.969833333, 19.139333333, 19.3473, 19.493566667, 19.3527, 19.1427,
97
+ 18.964566667, 18.93, 18.93, 18.93, 18.93, 18.93, 18.969833333,
98
+ 19.139333333, 19.3473, 19.493566667, 19.3527, 19.1427, 18.964566667,
99
+ 18.93, 18.93, 18.93, 18.93, 18.93, 18.969833333, 19.139333333, 19.3473,
100
+ 19.493566667, 19.3527
101
+ ],
102
+ "prints": [
103
+ ["Last:19.35"],
104
+ ["Min:18.93"],
105
+ ["Max:19.49"],
106
+ ["Average:19.10"]
107
+ ],
108
+ "last_value": 19.35,
109
+ "minimum_value": 18.93,
110
+ "maximum_value": 19.49,
111
+ "average_value": 19.1
112
+ },
113
+ {
114
+ "index_id": 152032,
115
+ "metric_id": 16197,
116
+ "metric": "connection_lower_margin",
117
+ "metric_legend": "connection_lower_margin",
118
+ "unit": "",
119
+ "hidden": 0,
120
+ "min": null,
121
+ "max": null,
122
+ "virtual": 0,
123
+ "ds_data": {
124
+ "ds_min": "1",
125
+ "ds_max": "1",
126
+ "ds_minmax_int": "0",
127
+ "ds_last": "1",
128
+ "ds_average": "1",
129
+ "ds_total": "0",
130
+ "ds_tickness": 1,
131
+ "ds_color_line_mode": "1",
132
+ "ds_color_line": "#00ff99"
133
+ },
134
+ "legend": "connection_lower_margin",
135
+ "stack": 0,
136
+ "warn": null,
137
+ "warn_low": null,
138
+ "crit": null,
139
+ "crit_low": null,
140
+ "ds_color_area_warn": "#ff9a13",
141
+ "ds_color_area_crit": "#e00b3d",
142
+ "ds_order": 0,
143
+ "data": [
144
+ -17.88, -17.88, -17.88, -17.88, -17.88, -17.88, -17.88, -17.88, -17.88,
145
+ -17.88, -17.88, -17.88, -17.88, -17.88, -17.88, -17.88, -17.88, -17.88,
146
+ -17.88, -17.88, -17.88, -17.88, -17.88, -17.88, -17.88, -17.88, -17.88,
147
+ -17.88, -17.88, -17.88, -17.88, -17.88, -17.88, -17.88, -17.88, -17.88,
148
+ -17.88
149
+ ],
150
+ "prints": [
151
+ ["Last:-17.88"],
152
+ ["Min:-17.88"],
153
+ ["Max:-17.88"],
154
+ ["Average:-17.88"]
155
+ ],
156
+ "last_value": null,
157
+ "minimum_value": null,
158
+ "maximum_value": null,
159
+ "average_value": null
160
+ },
161
+ {
162
+ "index_id": 152032,
163
+ "metric_id": 16198,
164
+ "metric": "connection_upper_margin",
165
+ "metric_legend": "connection_upper_margin",
166
+ "unit": "",
167
+ "hidden": 0,
168
+ "min": null,
169
+ "max": null,
170
+ "virtual": 0,
171
+ "ds_data": {
172
+ "ds_min": "1",
173
+ "ds_max": "1",
174
+ "ds_minmax_int": "0",
175
+ "ds_last": "1",
176
+ "ds_average": "1",
177
+ "ds_total": "0",
178
+ "ds_tickness": 1,
179
+ "ds_color_line_mode": "1",
180
+ "ds_color_line": "#9900ff"
181
+ },
182
+ "legend": "connection_upper_margin",
183
+ "stack": 0,
184
+ "warn": null,
185
+ "warn_low": null,
186
+ "crit": null,
187
+ "crit_low": null,
188
+ "ds_color_area_warn": "#ff9a13",
189
+ "ds_color_area_crit": "#e00b3d",
190
+ "ds_order": 0,
191
+ "data": [
192
+ 10.15, 10.15, 10.15, 10.15, 10.15, 10.15, 10.15, 10.15, 10.15, 10.15,
193
+ 10.15, 10.15, 10.15, 10.15, 10.15, 10.15, 10.15, 10.15, 10.15, 10.15,
194
+ 10.15, 10.15, 10.15, 10.15, 10.15, 10.15, 10.15, 10.15, 10.15, 10.15,
195
+ 10.15, 10.15, 10.15, 10.15, 10.15, 10.15, 10.15
196
+ ],
197
+ "prints": [
198
+ ["Last:10.15"],
199
+ ["Min:10.15"],
200
+ ["Max:10.15"],
201
+ ["Average:10.15"]
202
+ ],
203
+ "last_value": 10.15,
204
+ "minimum_value": 10.15,
205
+ "maximum_value": 10.15,
206
+ "average_value": 10.15
207
+ },
208
+ {
209
+ "index_id": 152032,
210
+ "metric_id": 15177,
211
+ "metric": "connection_lower_thresholds",
212
+ "metric_legend": "connection_lower_thresholds",
213
+ "unit": "",
214
+ "hidden": 0,
215
+ "min": null,
216
+ "max": null,
217
+ "virtual": 0,
218
+ "ds_data": {
219
+ "compo_id": 50,
220
+ "host_id": null,
221
+ "service_id": null,
222
+ "name": "Anomaly Lower Threshold",
223
+ "ds_order": 1,
224
+ "ds_hidecurve": null,
225
+ "ds_name": ".*_lower_thresholds",
226
+ "ds_color_line": "#D728C9",
227
+ "ds_color_line_mode": "0",
228
+ "ds_color_area": "#FFFFFF",
229
+ "ds_color_area_warn": "#F8C706",
230
+ "ds_color_area_crit": "#F91E05",
231
+ "ds_filled": null,
232
+ "ds_max": null,
233
+ "ds_min": null,
234
+ "ds_minmax_int": null,
235
+ "ds_average": null,
236
+ "ds_last": null,
237
+ "ds_total": null,
238
+ "ds_tickness": 2,
239
+ "ds_transparency": "80",
240
+ "ds_invert": null,
241
+ "ds_legend": "Lower Threshold",
242
+ "ds_jumpline": "0",
243
+ "ds_stack": null,
244
+ "default_tpl1": null,
245
+ "comment": null
246
+ },
247
+ "legend": "Lower Threshold",
248
+ "stack": 0,
249
+ "warn": null,
250
+ "warn_low": null,
251
+ "crit": null,
252
+ "crit_low": null,
253
+ "ds_order": 1,
254
+ "data": [
255
+ -34.2873, -34.4973, -34.667466667, -34.7, -34.7, -34.7, -34.7, -34.7,
256
+ -34.668133333, -34.4927, -34.2827, -34.1444, -34.2873, -34.4973,
257
+ -34.667466667, -34.7, -34.7, -34.7, -34.7, -34.7, -34.668133333,
258
+ -34.4927, -34.2827, -34.1444, -34.2873, -34.4973, -34.667466667, -34.7,
259
+ -34.7, -34.7, -34.7, -34.7, -34.668133333, -34.4927, -34.2827, -34.1444,
260
+ -34.2873
261
+ ],
262
+ "prints": [],
263
+ "last_value": null,
264
+ "minimum_value": null,
265
+ "maximum_value": null,
266
+ "average_value": null
267
+ },
268
+ {
269
+ "index_id": 152032,
270
+ "metric_id": 15178,
271
+ "metric": "connection_upper_thresholds",
272
+ "metric_legend": "connection_upper_thresholds",
273
+ "unit": "",
274
+ "hidden": 0,
275
+ "min": null,
276
+ "max": null,
277
+ "virtual": 0,
278
+ "ds_data": {
279
+ "compo_id": 51,
280
+ "host_id": null,
281
+ "service_id": null,
282
+ "name": "Anomaly Upper Threshold",
283
+ "ds_order": 1,
284
+ "ds_hidecurve": null,
285
+ "ds_name": ".*_upper_thresholds",
286
+ "ds_color_line": "#D728C9",
287
+ "ds_color_line_mode": "0",
288
+ "ds_color_area": "#FFFFFF",
289
+ "ds_color_area_warn": "#F8C706",
290
+ "ds_color_area_crit": "#F91E05",
291
+ "ds_filled": null,
292
+ "ds_max": null,
293
+ "ds_min": null,
294
+ "ds_minmax_int": null,
295
+ "ds_average": null,
296
+ "ds_last": null,
297
+ "ds_total": null,
298
+ "ds_tickness": 2,
299
+ "ds_transparency": "80",
300
+ "ds_invert": null,
301
+ "ds_legend": "Upper Threshold",
302
+ "ds_jumpline": "0",
303
+ "ds_stack": null,
304
+ "default_tpl1": null,
305
+ "comment": null
306
+ },
307
+ "legend": "Upper Threshold",
308
+ "stack": 0,
309
+ "warn": null,
310
+ "warn_low": null,
311
+ "crit": null,
312
+ "crit_low": null,
313
+ "ds_order": 1,
314
+ "data": [
315
+ 49.810666667, 49.6027, 49.424566667, 49.39, 49.39, 49.39, 49.39, 49.39,
316
+ 49.421866667, 49.5973, 49.8073, 49.9456, 49.810666667, 49.6027,
317
+ 49.424566667, 49.39, 49.39, 49.39, 49.39, 49.39, 49.421866667, 49.5973,
318
+ 49.8073, 49.9456, 49.810666667, 49.6027, 49.424566667, 49.39, 49.39,
319
+ 49.39, 49.39, 49.39, 49.421866667, 49.5973, 49.8073, 49.9456,
320
+ 49.810666667
321
+ ],
322
+ "prints": [],
323
+ "last_value": null,
324
+ "minimum_value": null,
325
+ "maximum_value": null,
326
+ "average_value": null
327
+ }
328
+ ],
329
+ "times": [
330
+ "2023-06-14T21:05:00+02:00",
331
+ "2023-06-14T21:10:00+02:00",
332
+ "2023-06-14T21:15:00+02:00",
333
+ "2023-06-14T21:20:00+02:00",
334
+ "2023-06-14T21:25:00+02:00",
335
+ "2023-06-14T21:30:00+02:00",
336
+ "2023-06-14T21:35:00+02:00",
337
+ "2023-06-14T21:40:00+02:00",
338
+ "2023-06-14T21:45:00+02:00",
339
+ "2023-06-14T21:50:00+02:00",
340
+ "2023-06-14T21:55:00+02:00",
341
+ "2023-06-14T22:00:00+02:00",
342
+ "2023-06-14T22:05:00+02:00",
343
+ "2023-06-14T22:10:00+02:00",
344
+ "2023-06-14T22:15:00+02:00",
345
+ "2023-06-14T22:20:00+02:00",
346
+ "2023-06-14T22:25:00+02:00",
347
+ "2023-06-14T22:30:00+02:00",
348
+ "2023-06-14T22:35:00+02:00",
349
+ "2023-06-14T22:40:00+02:00",
350
+ "2023-06-14T22:45:00+02:00",
351
+ "2023-06-14T22:50:00+02:00",
352
+ "2023-06-14T22:55:00+02:00",
353
+ "2023-06-14T23:00:00+02:00",
354
+ "2023-06-14T23:05:00+02:00",
355
+ "2023-06-14T23:10:00+02:00",
356
+ "2023-06-14T23:15:00+02:00",
357
+ "2023-06-14T23:20:00+02:00",
358
+ "2023-06-14T23:25:00+02:00",
359
+ "2023-06-14T23:30:00+02:00",
360
+ "2023-06-14T23:35:00+02:00",
361
+ "2023-06-14T23:40:00+02:00",
362
+ "2023-06-14T23:45:00+02:00",
363
+ "2023-06-14T23:50:00+02:00",
364
+ "2023-06-14T23:55:00+02:00",
365
+ "2023-06-15T00:00:00+02:00",
366
+ "2023-06-15T00:05:00+02:00"
367
+ ]
368
+ }