@centreon/ui 24.8.6 → 24.8.7

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 +32 -27
  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,581 +1,367 @@
1
1
  {
2
- "global": {
3
- "title": "anomaly-nbr-connect graph on fw-brasilia",
4
- "start": "2023-06-15T06:00:41+02:00",
5
- "end": "2023-06-15T08:58:26+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-15T06:00:41+02:00",
5
+ "end": "2023-06-15T08:58:26+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
+ 11, 18.933333333, 25.76, 15.1, 15.173333333, 21.553333333, 27.76, 24.24,
46
+ 15.86, 17.966666667, 24.553333333, 16.48, 24.313333333, 22.24,
47
+ 22.586666667, 27.76, 18.686666667, 19.966666667, 23.38, 13.686666667,
48
+ 23.693333333, 23.033333333, 25.173333333, 22.826666667, 19.62, 11.86,
49
+ 17.14, 18.206666667, 19.586666667, 26.346666667, 28.793333333,
50
+ 18.686666667, 11.24, 16.346666667, 15.62, 83.226666667
51
+ ],
52
+ "prints": [
53
+ ["Last:83.23"],
54
+ ["Min:11.00"],
55
+ ["Max:83.23"],
56
+ ["Average:21.90"]
57
+ ],
58
+ "last_value": 83.23,
59
+ "minimum_value": 11,
60
+ "maximum_value": 83.23,
61
+ "average_value": 21.9
12
62
  },
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
- 11,
46
- 18.933333333,
47
- 25.76,
48
- 15.1,
49
- 15.173333333,
50
- 21.553333333,
51
- 27.76,
52
- 24.24,
53
- 15.86,
54
- 17.966666667,
55
- 24.553333333,
56
- 16.48,
57
- 24.313333333,
58
- 22.24,
59
- 22.586666667,
60
- 27.76,
61
- 18.686666667,
62
- 19.966666667,
63
- 23.38,
64
- 13.686666667,
65
- 23.693333333,
66
- 23.033333333,
67
- 25.173333333,
68
- 22.826666667,
69
- 19.62,
70
- 11.86,
71
- 17.14,
72
- 18.206666667,
73
- 19.586666667,
74
- 26.346666667,
75
- 28.793333333,
76
- 18.686666667,
77
- 11.24,
78
- 16.346666667,
79
- 15.62,
80
- 83.226666667
81
- ],
82
- "prints": [
83
- [
84
- "Last:83.23"
85
- ],
86
- [
87
- "Min:11.00"
88
- ],
89
- [
90
- "Max:83.23"
91
- ],
92
- [
93
- "Average:21.90"
94
- ]
95
- ],
96
- "last_value": 83.23,
97
- "minimum_value": 11,
98
- "maximum_value": 83.23,
99
- "average_value": 21.9
100
- },
101
- {
102
- "index_id": 152032,
103
- "metric_id": 16196,
104
- "metric": "connection_fit",
105
- "metric_legend": "connection_fit",
106
- "unit": "",
107
- "hidden": 0,
108
- "min": null,
109
- "max": null,
110
- "virtual": 0,
111
- "ds_data": {
112
- "ds_min": "1",
113
- "ds_max": "1",
114
- "ds_minmax_int": "0",
115
- "ds_last": "1",
116
- "ds_average": "1",
117
- "ds_total": "0",
118
- "ds_tickness": 1,
119
- "ds_color_line_mode": "1",
120
- "ds_color_line": "#9933ff"
121
- },
122
- "legend": "connection_fit",
123
- "stack": 0,
124
- "warn": null,
125
- "warn_low": null,
126
- "crit": null,
127
- "crit_low": null,
128
- "ds_color_area_warn": "#ff9a13",
129
- "ds_color_area_crit": "#e00b3d",
130
- "ds_order": 0,
131
- "data": [
132
- 19.97,
133
- 19.97,
134
- 19.97,
135
- 19.977933333,
136
- 19.987933333,
137
- 20.005866667,
138
- 20.065533333,
139
- 20.1276,
140
- 20.179666667,
141
- 20.150333333,
142
- 20.108266667,
143
- 20.0762,
144
- 20.07,
145
- 20.07,
146
- 20.07,
147
- 20.077933333,
148
- 20.087933333,
149
- 20.105866667,
150
- 20.165533333,
151
- 20.2276,
152
- 20.24,
153
- 20.041666667,
154
- 19.783733333,
155
- 19.571333333,
156
- 19.53,
157
- 19.53,
158
- 19.537933333,
159
- 19.547933333,
160
- 19.557933333,
161
- 19.567933333,
162
- 19.5938,
163
- 19.631733333,
164
- 19.8304,
165
- 20.7368,
166
- 21.808866667,
167
- 27.519866667
168
- ],
169
- "prints": [
170
- [
171
- "Last:27.52"
172
- ],
173
- [
174
- "Min:19.53"
175
- ],
176
- [
177
- "Max:27.52"
178
- ],
179
- [
180
- "Average:20.21"
181
- ]
182
- ],
183
- "last_value": 27.52,
184
- "minimum_value": 19.53,
185
- "maximum_value": 27.52,
186
- "average_value": 20.21
187
- },
188
- {
189
- "index_id": 152032,
190
- "metric_id": 16197,
191
- "metric": "connection_lower_margin",
192
- "metric_legend": "connection_lower_margin",
193
- "unit": "",
194
- "hidden": 0,
195
- "min": null,
196
- "max": null,
197
- "virtual": 0,
198
- "ds_data": {
199
- "ds_min": "1",
200
- "ds_max": "1",
201
- "ds_minmax_int": "0",
202
- "ds_last": "1",
203
- "ds_average": "1",
204
- "ds_total": "0",
205
- "ds_tickness": 1,
206
- "ds_color_line_mode": "1",
207
- "ds_color_line": "#00ff99"
208
- },
209
- "legend": "connection_lower_margin",
210
- "stack": 0,
211
- "warn": null,
212
- "warn_low": null,
213
- "crit": null,
214
- "crit_low": null,
215
- "ds_color_area_warn": "#ff9a13",
216
- "ds_color_area_crit": "#e00b3d",
217
- "ds_order": 0,
218
- "data": [
219
- -17.88,
220
- -17.88,
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
- -21.9736
255
- ],
256
- "prints": [
257
- [
258
- "Last:-21.97"
259
- ],
260
- [
261
- "Min:-21.97"
262
- ],
263
- [
264
- "Max:-17.88"
265
- ],
266
- [
267
- "Average:-17.99"
268
- ]
269
- ],
270
- "last_value": null,
271
- "minimum_value": null,
272
- "maximum_value": null,
273
- "average_value": null
274
- },
275
- {
276
- "index_id": 152032,
277
- "metric_id": 16198,
278
- "metric": "connection_upper_margin",
279
- "metric_legend": "connection_upper_margin",
280
- "unit": "",
281
- "hidden": 0,
282
- "min": null,
283
- "max": null,
284
- "virtual": 0,
285
- "ds_data": {
286
- "ds_min": "1",
287
- "ds_max": "1",
288
- "ds_minmax_int": "0",
289
- "ds_last": "1",
290
- "ds_average": "1",
291
- "ds_total": "0",
292
- "ds_tickness": 1,
293
- "ds_color_line_mode": "1",
294
- "ds_color_line": "#9900ff"
295
- },
296
- "legend": "connection_upper_margin",
297
- "stack": 0,
298
- "warn": null,
299
- "warn_low": null,
300
- "crit": null,
301
- "crit_low": null,
302
- "ds_color_area_warn": "#ff9a13",
303
- "ds_color_area_crit": "#e00b3d",
304
- "ds_order": 0,
305
- "data": [
306
- 10.15,
307
- 10.15,
308
- 10.15,
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
- 13.9818
342
- ],
343
- "prints": [
344
- [
345
- "Last:13.98"
346
- ],
347
- [
348
- "Min:10.15"
349
- ],
350
- [
351
- "Max:13.98"
352
- ],
353
- [
354
- "Average:10.26"
355
- ]
356
- ],
357
- "last_value": 13.98,
358
- "minimum_value": 10.15,
359
- "maximum_value": 13.98,
360
- "average_value": 10.26
361
- },
362
- {
363
- "index_id": 152032,
364
- "metric_id": 15177,
365
- "metric": "connection_lower_thresholds",
366
- "metric_legend": "connection_lower_thresholds",
367
- "unit": "",
368
- "hidden": 0,
369
- "min": null,
370
- "max": null,
371
- "virtual": 0,
372
- "ds_data": {
373
- "compo_id": 50,
374
- "host_id": null,
375
- "service_id": null,
376
- "name": "Anomaly Lower Threshold",
377
- "ds_order": 1,
378
- "ds_hidecurve": null,
379
- "ds_name": ".*_lower_thresholds",
380
- "ds_color_line": "#D728C9",
381
- "ds_color_line_mode": "0",
382
- "ds_color_area": "#FFFFFF",
383
- "ds_color_area_warn": "#F8C706",
384
- "ds_color_area_crit": "#F91E05",
385
- "ds_filled": null,
386
- "ds_max": null,
387
- "ds_min": null,
388
- "ds_minmax_int": null,
389
- "ds_average": null,
390
- "ds_last": null,
391
- "ds_total": null,
392
- "ds_tickness": 2,
393
- "ds_transparency": "80",
394
- "ds_invert": null,
395
- "ds_legend": "Lower Threshold",
396
- "ds_jumpline": "0",
397
- "ds_stack": null,
398
- "default_tpl1": null,
399
- "comment": null
400
- },
401
- "legend": "Lower Threshold",
402
- "stack": 0,
403
- "warn": null,
404
- "warn_low": null,
405
- "crit": null,
406
- "crit_low": null,
407
- "ds_order": 1,
408
- "data": [
409
- -33.67,
410
- -33.67,
411
- -33.67,
412
- -33.662066667,
413
- -33.652066667,
414
- -33.6262,
415
- -33.5724,
416
- -33.504466667,
417
- -33.458266667,
418
- -33.481733333,
419
- -33.529666667,
420
- -33.5638,
421
- -33.57,
422
- -33.57,
423
- -33.57,
424
- -33.562066667,
425
- -33.552066667,
426
- -33.5262,
427
- -33.4724,
428
- -33.404466667,
429
- -33.39,
430
- -33.596266667,
431
- -33.848333333,
432
- -34.058666667,
433
- -34.1,
434
- -34.1,
435
- -34.1,
436
- -34.092066667,
437
- -34.082066667,
438
- -34.064133333,
439
- -34.0362,
440
- -34.0062,
441
- -33.801666667,
442
- -32.901133333,
443
- -31.831133333,
444
- -38.408866667
445
- ],
446
- "prints": [],
447
- "last_value": null,
448
- "minimum_value": null,
449
- "maximum_value": null,
450
- "average_value": null
451
- },
452
- {
453
- "index_id": 152032,
454
- "metric_id": 15178,
455
- "metric": "connection_upper_thresholds",
456
- "metric_legend": "connection_upper_thresholds",
457
- "unit": "",
458
- "hidden": 0,
459
- "min": null,
460
- "max": null,
461
- "virtual": 0,
462
- "ds_data": {
463
- "compo_id": 51,
464
- "host_id": null,
465
- "service_id": null,
466
- "name": "Anomaly Upper Threshold",
467
- "ds_order": 1,
468
- "ds_hidecurve": null,
469
- "ds_name": ".*_upper_thresholds",
470
- "ds_color_line": "#D728C9",
471
- "ds_color_line_mode": "0",
472
- "ds_color_area": "#FFFFFF",
473
- "ds_color_area_warn": "#F8C706",
474
- "ds_color_area_crit": "#F91E05",
475
- "ds_filled": null,
476
- "ds_max": null,
477
- "ds_min": null,
478
- "ds_minmax_int": null,
479
- "ds_average": null,
480
- "ds_last": null,
481
- "ds_total": null,
482
- "ds_tickness": 2,
483
- "ds_transparency": "80",
484
- "ds_invert": null,
485
- "ds_legend": "Upper Threshold",
486
- "ds_jumpline": "0",
487
- "ds_stack": null,
488
- "default_tpl1": null,
489
- "comment": null
490
- },
491
- "legend": "Upper Threshold",
492
- "stack": 0,
493
- "warn": null,
494
- "warn_low": null,
495
- "crit": null,
496
- "crit_low": null,
497
- "ds_order": 1,
498
- "data": [
499
- 50.42,
500
- 50.42,
501
- 50.427933333,
502
- 50.437933333,
503
- 50.447933333,
504
- 50.465866667,
505
- 50.525533333,
506
- 50.5876,
507
- 50.631733333,
508
- 50.608266667,
509
- 50.568266667,
510
- 50.528266667,
511
- 50.52,
512
- 50.52,
513
- 50.527933333,
514
- 50.537933333,
515
- 50.547933333,
516
- 50.565866667,
517
- 50.625533333,
518
- 50.6876,
519
- 50.7,
520
- 50.501666667,
521
- 50.243733333,
522
- 50.031333333,
523
- 49.99,
524
- 49.99,
525
- 49.99,
526
- 49.997933333,
527
- 50.007933333,
528
- 50.025866667,
529
- 50.0538,
530
- 50.0838,
531
- 50.288333333,
532
- 51.188866667,
533
- 52.2668,
534
- 69.4594
535
- ],
536
- "prints": [],
537
- "last_value": null,
538
- "minimum_value": null,
539
- "maximum_value": null,
540
- "average_value": null
541
- }
542
- ],
543
- "times": [
544
- "2023-06-15T06:05:00+02:00",
545
- "2023-06-15T06:10:00+02:00",
546
- "2023-06-15T06:15:00+02:00",
547
- "2023-06-15T06:20:00+02:00",
548
- "2023-06-15T06:25:00+02:00",
549
- "2023-06-15T06:30:00+02:00",
550
- "2023-06-15T06:35:00+02:00",
551
- "2023-06-15T06:40:00+02:00",
552
- "2023-06-15T06:45:00+02:00",
553
- "2023-06-15T06:50:00+02:00",
554
- "2023-06-15T06:55:00+02:00",
555
- "2023-06-15T07:00:00+02:00",
556
- "2023-06-15T07:05:00+02:00",
557
- "2023-06-15T07:10:00+02:00",
558
- "2023-06-15T07:15:00+02:00",
559
- "2023-06-15T07:20:00+02:00",
560
- "2023-06-15T07:25:00+02:00",
561
- "2023-06-15T07:30:00+02:00",
562
- "2023-06-15T07:35:00+02:00",
563
- "2023-06-15T07:40:00+02:00",
564
- "2023-06-15T07:45:00+02:00",
565
- "2023-06-15T07:50:00+02:00",
566
- "2023-06-15T07:55:00+02:00",
567
- "2023-06-15T08:00:00+02:00",
568
- "2023-06-15T08:05:00+02:00",
569
- "2023-06-15T08:10:00+02:00",
570
- "2023-06-15T08:15:00+02:00",
571
- "2023-06-15T08:20:00+02:00",
572
- "2023-06-15T08:25:00+02:00",
573
- "2023-06-15T08:30:00+02:00",
574
- "2023-06-15T08:35:00+02:00",
575
- "2023-06-15T08:40:00+02:00",
576
- "2023-06-15T08:45:00+02:00",
577
- "2023-06-15T08:50:00+02:00",
578
- "2023-06-15T08:55:00+02:00",
579
- "2023-06-15T09:00:00+02:00"
580
- ]
581
- }
63
+ {
64
+ "index_id": 152032,
65
+ "metric_id": 16196,
66
+ "metric": "connection_fit",
67
+ "metric_legend": "connection_fit",
68
+ "unit": "",
69
+ "hidden": 0,
70
+ "min": null,
71
+ "max": null,
72
+ "virtual": 0,
73
+ "ds_data": {
74
+ "ds_min": "1",
75
+ "ds_max": "1",
76
+ "ds_minmax_int": "0",
77
+ "ds_last": "1",
78
+ "ds_average": "1",
79
+ "ds_total": "0",
80
+ "ds_tickness": 1,
81
+ "ds_color_line_mode": "1",
82
+ "ds_color_line": "#9933ff"
83
+ },
84
+ "legend": "connection_fit",
85
+ "stack": 0,
86
+ "warn": null,
87
+ "warn_low": null,
88
+ "crit": null,
89
+ "crit_low": null,
90
+ "ds_color_area_warn": "#ff9a13",
91
+ "ds_color_area_crit": "#e00b3d",
92
+ "ds_order": 0,
93
+ "data": [
94
+ 19.97, 19.97, 19.97, 19.977933333, 19.987933333, 20.005866667,
95
+ 20.065533333, 20.1276, 20.179666667, 20.150333333, 20.108266667,
96
+ 20.0762, 20.07, 20.07, 20.07, 20.077933333, 20.087933333, 20.105866667,
97
+ 20.165533333, 20.2276, 20.24, 20.041666667, 19.783733333, 19.571333333,
98
+ 19.53, 19.53, 19.537933333, 19.547933333, 19.557933333, 19.567933333,
99
+ 19.5938, 19.631733333, 19.8304, 20.7368, 21.808866667, 27.519866667
100
+ ],
101
+ "prints": [
102
+ ["Last:27.52"],
103
+ ["Min:19.53"],
104
+ ["Max:27.52"],
105
+ ["Average:20.21"]
106
+ ],
107
+ "last_value": 27.52,
108
+ "minimum_value": 19.53,
109
+ "maximum_value": 27.52,
110
+ "average_value": 20.21
111
+ },
112
+ {
113
+ "index_id": 152032,
114
+ "metric_id": 16197,
115
+ "metric": "connection_lower_margin",
116
+ "metric_legend": "connection_lower_margin",
117
+ "unit": "",
118
+ "hidden": 0,
119
+ "min": null,
120
+ "max": null,
121
+ "virtual": 0,
122
+ "ds_data": {
123
+ "ds_min": "1",
124
+ "ds_max": "1",
125
+ "ds_minmax_int": "0",
126
+ "ds_last": "1",
127
+ "ds_average": "1",
128
+ "ds_total": "0",
129
+ "ds_tickness": 1,
130
+ "ds_color_line_mode": "1",
131
+ "ds_color_line": "#00ff99"
132
+ },
133
+ "legend": "connection_lower_margin",
134
+ "stack": 0,
135
+ "warn": null,
136
+ "warn_low": null,
137
+ "crit": null,
138
+ "crit_low": null,
139
+ "ds_color_area_warn": "#ff9a13",
140
+ "ds_color_area_crit": "#e00b3d",
141
+ "ds_order": 0,
142
+ "data": [
143
+ -17.88, -17.88, -17.88, -17.88, -17.88, -17.88, -17.88, -17.88, -17.88,
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, -21.9736
147
+ ],
148
+ "prints": [
149
+ ["Last:-21.97"],
150
+ ["Min:-21.97"],
151
+ ["Max:-17.88"],
152
+ ["Average:-17.99"]
153
+ ],
154
+ "last_value": null,
155
+ "minimum_value": null,
156
+ "maximum_value": null,
157
+ "average_value": null
158
+ },
159
+ {
160
+ "index_id": 152032,
161
+ "metric_id": 16198,
162
+ "metric": "connection_upper_margin",
163
+ "metric_legend": "connection_upper_margin",
164
+ "unit": "",
165
+ "hidden": 0,
166
+ "min": null,
167
+ "max": null,
168
+ "virtual": 0,
169
+ "ds_data": {
170
+ "ds_min": "1",
171
+ "ds_max": "1",
172
+ "ds_minmax_int": "0",
173
+ "ds_last": "1",
174
+ "ds_average": "1",
175
+ "ds_total": "0",
176
+ "ds_tickness": 1,
177
+ "ds_color_line_mode": "1",
178
+ "ds_color_line": "#9900ff"
179
+ },
180
+ "legend": "connection_upper_margin",
181
+ "stack": 0,
182
+ "warn": null,
183
+ "warn_low": null,
184
+ "crit": null,
185
+ "crit_low": null,
186
+ "ds_color_area_warn": "#ff9a13",
187
+ "ds_color_area_crit": "#e00b3d",
188
+ "ds_order": 0,
189
+ "data": [
190
+ 10.15, 10.15, 10.15, 10.15, 10.15, 10.15, 10.15, 10.15, 10.15, 10.15,
191
+ 10.15, 10.15, 10.15, 10.15, 10.15, 10.15, 10.15, 10.15, 10.15, 10.15,
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, 13.9818
194
+ ],
195
+ "prints": [
196
+ ["Last:13.98"],
197
+ ["Min:10.15"],
198
+ ["Max:13.98"],
199
+ ["Average:10.26"]
200
+ ],
201
+ "last_value": 13.98,
202
+ "minimum_value": 10.15,
203
+ "maximum_value": 13.98,
204
+ "average_value": 10.26
205
+ },
206
+ {
207
+ "index_id": 152032,
208
+ "metric_id": 15177,
209
+ "metric": "connection_lower_thresholds",
210
+ "metric_legend": "connection_lower_thresholds",
211
+ "unit": "",
212
+ "hidden": 0,
213
+ "min": null,
214
+ "max": null,
215
+ "virtual": 0,
216
+ "ds_data": {
217
+ "compo_id": 50,
218
+ "host_id": null,
219
+ "service_id": null,
220
+ "name": "Anomaly Lower Threshold",
221
+ "ds_order": 1,
222
+ "ds_hidecurve": null,
223
+ "ds_name": ".*_lower_thresholds",
224
+ "ds_color_line": "#D728C9",
225
+ "ds_color_line_mode": "0",
226
+ "ds_color_area": "#FFFFFF",
227
+ "ds_color_area_warn": "#F8C706",
228
+ "ds_color_area_crit": "#F91E05",
229
+ "ds_filled": null,
230
+ "ds_max": null,
231
+ "ds_min": null,
232
+ "ds_minmax_int": null,
233
+ "ds_average": null,
234
+ "ds_last": null,
235
+ "ds_total": null,
236
+ "ds_tickness": 2,
237
+ "ds_transparency": "80",
238
+ "ds_invert": null,
239
+ "ds_legend": "Lower Threshold",
240
+ "ds_jumpline": "0",
241
+ "ds_stack": null,
242
+ "default_tpl1": null,
243
+ "comment": null
244
+ },
245
+ "legend": "Lower Threshold",
246
+ "stack": 0,
247
+ "warn": null,
248
+ "warn_low": null,
249
+ "crit": null,
250
+ "crit_low": null,
251
+ "ds_order": 1,
252
+ "data": [
253
+ -33.67, -33.67, -33.67, -33.662066667, -33.652066667, -33.6262,
254
+ -33.5724, -33.504466667, -33.458266667, -33.481733333, -33.529666667,
255
+ -33.5638, -33.57, -33.57, -33.57, -33.562066667, -33.552066667,
256
+ -33.5262, -33.4724, -33.404466667, -33.39, -33.596266667, -33.848333333,
257
+ -34.058666667, -34.1, -34.1, -34.1, -34.092066667, -34.082066667,
258
+ -34.064133333, -34.0362, -34.0062, -33.801666667, -32.901133333,
259
+ -31.831133333, -38.408866667
260
+ ],
261
+ "prints": [],
262
+ "last_value": null,
263
+ "minimum_value": null,
264
+ "maximum_value": null,
265
+ "average_value": null
266
+ },
267
+ {
268
+ "index_id": 152032,
269
+ "metric_id": 15178,
270
+ "metric": "connection_upper_thresholds",
271
+ "metric_legend": "connection_upper_thresholds",
272
+ "unit": "",
273
+ "hidden": 0,
274
+ "min": null,
275
+ "max": null,
276
+ "virtual": 0,
277
+ "ds_data": {
278
+ "compo_id": 51,
279
+ "host_id": null,
280
+ "service_id": null,
281
+ "name": "Anomaly Upper Threshold",
282
+ "ds_order": 1,
283
+ "ds_hidecurve": null,
284
+ "ds_name": ".*_upper_thresholds",
285
+ "ds_color_line": "#D728C9",
286
+ "ds_color_line_mode": "0",
287
+ "ds_color_area": "#FFFFFF",
288
+ "ds_color_area_warn": "#F8C706",
289
+ "ds_color_area_crit": "#F91E05",
290
+ "ds_filled": null,
291
+ "ds_max": null,
292
+ "ds_min": null,
293
+ "ds_minmax_int": null,
294
+ "ds_average": null,
295
+ "ds_last": null,
296
+ "ds_total": null,
297
+ "ds_tickness": 2,
298
+ "ds_transparency": "80",
299
+ "ds_invert": null,
300
+ "ds_legend": "Upper Threshold",
301
+ "ds_jumpline": "0",
302
+ "ds_stack": null,
303
+ "default_tpl1": null,
304
+ "comment": null
305
+ },
306
+ "legend": "Upper Threshold",
307
+ "stack": 0,
308
+ "warn": null,
309
+ "warn_low": null,
310
+ "crit": null,
311
+ "crit_low": null,
312
+ "ds_order": 1,
313
+ "data": [
314
+ 50.42, 50.42, 50.427933333, 50.437933333, 50.447933333, 50.465866667,
315
+ 50.525533333, 50.5876, 50.631733333, 50.608266667, 50.568266667,
316
+ 50.528266667, 50.52, 50.52, 50.527933333, 50.537933333, 50.547933333,
317
+ 50.565866667, 50.625533333, 50.6876, 50.7, 50.501666667, 50.243733333,
318
+ 50.031333333, 49.99, 49.99, 49.99, 49.997933333, 50.007933333,
319
+ 50.025866667, 50.0538, 50.0838, 50.288333333, 51.188866667, 52.2668,
320
+ 69.4594
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-15T06:05:00+02:00",
331
+ "2023-06-15T06:10:00+02:00",
332
+ "2023-06-15T06:15:00+02:00",
333
+ "2023-06-15T06:20:00+02:00",
334
+ "2023-06-15T06:25:00+02:00",
335
+ "2023-06-15T06:30:00+02:00",
336
+ "2023-06-15T06:35:00+02:00",
337
+ "2023-06-15T06:40:00+02:00",
338
+ "2023-06-15T06:45:00+02:00",
339
+ "2023-06-15T06:50:00+02:00",
340
+ "2023-06-15T06:55:00+02:00",
341
+ "2023-06-15T07:00:00+02:00",
342
+ "2023-06-15T07:05:00+02:00",
343
+ "2023-06-15T07:10:00+02:00",
344
+ "2023-06-15T07:15:00+02:00",
345
+ "2023-06-15T07:20:00+02:00",
346
+ "2023-06-15T07:25:00+02:00",
347
+ "2023-06-15T07:30:00+02:00",
348
+ "2023-06-15T07:35:00+02:00",
349
+ "2023-06-15T07:40:00+02:00",
350
+ "2023-06-15T07:45:00+02:00",
351
+ "2023-06-15T07:50:00+02:00",
352
+ "2023-06-15T07:55:00+02:00",
353
+ "2023-06-15T08:00:00+02:00",
354
+ "2023-06-15T08:05:00+02:00",
355
+ "2023-06-15T08:10:00+02:00",
356
+ "2023-06-15T08:15:00+02:00",
357
+ "2023-06-15T08:20:00+02:00",
358
+ "2023-06-15T08:25:00+02:00",
359
+ "2023-06-15T08:30:00+02:00",
360
+ "2023-06-15T08:35:00+02:00",
361
+ "2023-06-15T08:40:00+02:00",
362
+ "2023-06-15T08:45:00+02:00",
363
+ "2023-06-15T08:50:00+02:00",
364
+ "2023-06-15T08:55:00+02:00",
365
+ "2023-06-15T09:00:00+02:00"
366
+ ]
367
+ }