@perses-dev/alert-manager-plugin 0.1.0 → 0.2.0-beta.1

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 (325) hide show
  1. package/__mf/js/{AlertManager.f762e62c.js → AlertManager.c78c7631.js} +4 -4
  2. package/__mf/js/async/1299.b3dc5c89.js +1 -0
  3. package/__mf/js/async/1522.c41bc562.js +22 -0
  4. package/__mf/js/async/1616.e680a07f.js +1 -0
  5. package/__mf/js/async/1871.fe54ab4e.js +1 -0
  6. package/__mf/js/async/1969.d946615b.js +1 -0
  7. package/__mf/js/async/2218.51c7742c.js +2 -0
  8. package/__mf/js/async/2377.14dda722.js +1 -0
  9. package/__mf/js/async/2657.0066c1f3.js +1 -0
  10. package/__mf/js/async/3222.20ec9ee4.js +1 -0
  11. package/__mf/js/async/3910.b5d5ed03.js +1 -0
  12. package/__mf/js/async/392.11937443.js +2 -0
  13. package/__mf/js/async/3963.54b09d75.js +1 -0
  14. package/__mf/js/async/4121.cfc092b2.js +2 -0
  15. package/__mf/js/async/4133.2466cfcc.js +28 -0
  16. package/__mf/js/async/4213.9de2ae83.js +1 -0
  17. package/__mf/js/async/{4466.a8145edd.js → 4466.be399be0.js} +3 -3
  18. package/__mf/js/async/4481.a8fabc1a.js +2 -0
  19. package/__mf/js/async/4957.62663311.js +1 -0
  20. package/__mf/js/async/4978.a229b85b.js +1 -0
  21. package/__mf/js/async/5038.9c3ee144.js +2 -0
  22. package/__mf/js/async/5623.8c06770a.js +1 -0
  23. package/__mf/js/async/5968.fb0e7bc9.js +7 -0
  24. package/__mf/js/async/{7790.a75199e6.js.LICENSE.txt → 5968.fb0e7bc9.js.LICENSE.txt} +38 -0
  25. package/__mf/js/async/6274.45d7dcb4.js +2 -0
  26. package/__mf/js/async/6390.d5b9d294.js +2 -0
  27. package/__mf/js/async/6401.d44c37e4.js +1 -0
  28. package/__mf/js/async/6594.430d845a.js +2 -0
  29. package/__mf/js/async/663.8ae70b57.js +1 -0
  30. package/__mf/js/async/6911.1e492669.js +37 -0
  31. package/__mf/js/async/7177.e17b1f66.js +1 -0
  32. package/__mf/js/async/7192.e14724bd.js +1 -0
  33. package/__mf/js/async/7283.8f93ba0a.js +2 -0
  34. package/__mf/js/async/7862.fe1ed3c8.js +2 -0
  35. package/__mf/js/async/8470.9713c0c1.js +2 -0
  36. package/__mf/js/async/8697.9578c83e.js +1 -0
  37. package/__mf/js/async/8711.f5dcfad1.js +2 -0
  38. package/__mf/js/async/8816.6639efe5.js +1 -0
  39. package/__mf/js/async/8907.f08d5712.js +1 -0
  40. package/__mf/js/async/{9040.94717f28.js → 9040.b16cad40.js} +4 -4
  41. package/__mf/js/async/9184.c50ca9d4.js +1 -0
  42. package/__mf/js/async/9235.8d9a31b6.js +1 -0
  43. package/__mf/js/async/941.f680467a.js +2 -0
  44. package/__mf/js/async/9603.b2aeca71.js +1 -0
  45. package/__mf/js/async/9700.e1cf74e6.js +3 -0
  46. package/__mf/js/async/983.7e4d67d6.js +1 -0
  47. package/__mf/js/async/9836.c697c034.js +1 -0
  48. package/__mf/js/async/__federation_expose_AlertManagerAlertsExplorer.702ab2db.js +2 -0
  49. package/__mf/js/async/__federation_expose_AlertManagerAlertsQuery.0e832f57.js +1 -0
  50. package/__mf/js/async/__federation_expose_AlertManagerDatasource.9acf1c1d.js +2 -0
  51. package/__mf/js/async/__federation_expose_AlertManagerSilencesExplorer.537f52dd.js +2 -0
  52. package/__mf/js/async/__federation_expose_AlertManagerSilencesQuery.5c356656.js +2 -0
  53. package/__mf/js/async/__federation_expose_AlertTable.22c6f725.js +1 -0
  54. package/__mf/js/async/__federation_expose_SilenceTable.f7a7955f.js +2 -0
  55. package/__mf/js/async/__federation_expose_SilenceTable.f7a7955f.js.LICENSE.txt +9 -0
  56. package/__mf/js/async/lib-router.07082537.js +2 -0
  57. package/__mf/js/{main.a1362788.js → main.886f07a7.js} +2 -2
  58. package/lib/bootstrap.js +2 -2
  59. package/lib/components/ColumnsEditor.d.ts +1 -1
  60. package/lib/components/ColumnsEditor.d.ts.map +1 -1
  61. package/lib/components/ColumnsEditor.js +7 -7
  62. package/lib/components/ColumnsEditor.js.map +1 -1
  63. package/lib/components/LazyTextField.d.ts +1 -1
  64. package/lib/components/LazyTextField.d.ts.map +1 -1
  65. package/lib/components/LazyTextField.js +2 -2
  66. package/lib/components/LazyTextField.js.map +1 -1
  67. package/lib/components/MatcherEditor.d.ts +1 -1
  68. package/lib/components/MatcherEditor.d.ts.map +1 -1
  69. package/lib/components/MatcherEditor.js +4 -4
  70. package/lib/components/MatcherEditor.js.map +1 -1
  71. package/lib/components/MatchersList.d.ts +2 -2
  72. package/lib/components/MatchersList.d.ts.map +1 -1
  73. package/lib/components/MatchersList.js +1 -1
  74. package/lib/components/MatchersList.js.map +1 -1
  75. package/lib/components/SilenceForm.d.ts +2 -2
  76. package/lib/components/SilenceForm.d.ts.map +1 -1
  77. package/lib/components/SilenceForm.js +4 -4
  78. package/lib/components/SilenceForm.js.map +1 -1
  79. package/lib/components/StatusBadge.d.ts +1 -1
  80. package/lib/components/StatusBadge.d.ts.map +1 -1
  81. package/lib/components/StatusBadge.js +1 -1
  82. package/lib/components/StatusBadge.js.map +1 -1
  83. package/lib/components/index.js +5 -5
  84. package/lib/components/index.js.map +1 -1
  85. package/lib/explore/AlertManagerAlertsExplorer.d.ts +1 -1
  86. package/lib/explore/AlertManagerAlertsExplorer.d.ts.map +1 -1
  87. package/lib/explore/AlertManagerAlertsExplorer.js +5 -5
  88. package/lib/explore/AlertManagerAlertsExplorer.js.map +1 -1
  89. package/lib/explore/AlertManagerSilencesExplorer.d.ts +1 -1
  90. package/lib/explore/AlertManagerSilencesExplorer.d.ts.map +1 -1
  91. package/lib/explore/AlertManagerSilencesExplorer.js +10 -10
  92. package/lib/explore/AlertManagerSilencesExplorer.js.map +1 -1
  93. package/lib/getPluginModule.d.ts +1 -1
  94. package/lib/getPluginModule.d.ts.map +1 -1
  95. package/lib/getPluginModule.js +3 -1
  96. package/lib/getPluginModule.js.map +1 -1
  97. package/lib/index-federation.js +1 -1
  98. package/lib/index.js +4 -4
  99. package/lib/index.js.map +1 -1
  100. package/lib/model/alertmanager-client.d.ts +3 -3
  101. package/lib/model/alertmanager-client.d.ts.map +1 -1
  102. package/lib/model/alertmanager-client.js +4 -2
  103. package/lib/model/alertmanager-client.js.map +1 -1
  104. package/lib/model/alertmanager-selectors.d.ts +2 -2
  105. package/lib/model/alertmanager-selectors.d.ts.map +1 -1
  106. package/lib/model/alertmanager-selectors.js +1 -1
  107. package/lib/model/alertmanager-selectors.js.map +1 -1
  108. package/lib/model/index.js +3 -3
  109. package/lib/model/index.js.map +1 -1
  110. package/lib/plugins/AlertManagerDatasourceEditor.d.ts +2 -2
  111. package/lib/plugins/AlertManagerDatasourceEditor.d.ts.map +1 -1
  112. package/lib/plugins/AlertManagerDatasourceEditor.js +1 -1
  113. package/lib/plugins/AlertManagerDatasourceEditor.js.map +1 -1
  114. package/lib/plugins/alert-table/AlertTable.d.ts +3 -3
  115. package/lib/plugins/alert-table/AlertTable.d.ts.map +1 -1
  116. package/lib/plugins/alert-table/AlertTable.js +5 -5
  117. package/lib/plugins/alert-table/AlertTable.js.map +1 -1
  118. package/lib/plugins/alert-table/AlertTableColumnsEditor.d.ts +3 -3
  119. package/lib/plugins/alert-table/AlertTableColumnsEditor.d.ts.map +1 -1
  120. package/lib/plugins/alert-table/AlertTableColumnsEditor.js +4 -4
  121. package/lib/plugins/alert-table/AlertTableColumnsEditor.js.map +1 -1
  122. package/lib/plugins/alert-table/AlertTableDeduplicationEditor.d.ts +3 -3
  123. package/lib/plugins/alert-table/AlertTableDeduplicationEditor.d.ts.map +1 -1
  124. package/lib/plugins/alert-table/AlertTableDeduplicationEditor.js +4 -4
  125. package/lib/plugins/alert-table/AlertTableDeduplicationEditor.js.map +1 -1
  126. package/lib/plugins/alert-table/AlertTableLabelsEditor.d.ts +3 -3
  127. package/lib/plugins/alert-table/AlertTableLabelsEditor.d.ts.map +1 -1
  128. package/lib/plugins/alert-table/AlertTableLabelsEditor.js +6 -6
  129. package/lib/plugins/alert-table/AlertTableLabelsEditor.js.map +1 -1
  130. package/lib/plugins/alert-table/AlertTableOptionsEditor.d.ts +3 -3
  131. package/lib/plugins/alert-table/AlertTableOptionsEditor.d.ts.map +1 -1
  132. package/lib/plugins/alert-table/AlertTableOptionsEditor.js +5 -5
  133. package/lib/plugins/alert-table/AlertTableOptionsEditor.js.map +1 -1
  134. package/lib/plugins/alert-table/AlertTablePanel.d.ts +4 -4
  135. package/lib/plugins/alert-table/AlertTablePanel.d.ts.map +1 -1
  136. package/lib/plugins/alert-table/AlertTablePanel.js +21 -21
  137. package/lib/plugins/alert-table/AlertTablePanel.js.map +1 -1
  138. package/lib/plugins/alert-table/alert-table-model.d.ts +1 -1
  139. package/lib/plugins/alert-table/alert-table-model.d.ts.map +1 -1
  140. package/lib/plugins/alert-table/alert-table-model.js +2 -2
  141. package/lib/plugins/alert-table/alert-table-model.js.map +1 -1
  142. package/lib/plugins/alert-table/alert-table-sorting.d.ts +2 -2
  143. package/lib/plugins/alert-table/alert-table-sorting.d.ts.map +1 -1
  144. package/lib/plugins/alert-table/alert-table-sorting.js +1 -1
  145. package/lib/plugins/alert-table/alert-table-sorting.js.map +1 -1
  146. package/lib/plugins/alert-table/label-colors.d.ts +1 -1
  147. package/lib/plugins/alert-table/label-colors.d.ts.map +1 -1
  148. package/lib/plugins/alert-table/label-colors.js.map +1 -1
  149. package/lib/plugins/alertmanager-alerts-query/AlertManagerAlertsQuery.d.ts +2 -2
  150. package/lib/plugins/alertmanager-alerts-query/AlertManagerAlertsQuery.d.ts.map +1 -1
  151. package/lib/plugins/alertmanager-alerts-query/AlertManagerAlertsQuery.js +3 -3
  152. package/lib/plugins/alertmanager-alerts-query/AlertManagerAlertsQuery.js.map +1 -1
  153. package/lib/plugins/alertmanager-alerts-query/AlertManagerAlertsQueryEditor.d.ts +2 -2
  154. package/lib/plugins/alertmanager-alerts-query/AlertManagerAlertsQueryEditor.d.ts.map +1 -1
  155. package/lib/plugins/alertmanager-alerts-query/AlertManagerAlertsQueryEditor.js +7 -7
  156. package/lib/plugins/alertmanager-alerts-query/AlertManagerAlertsQueryEditor.js.map +1 -1
  157. package/lib/plugins/alertmanager-alerts-query/get-alerts-data.d.ts +3 -3
  158. package/lib/plugins/alertmanager-alerts-query/get-alerts-data.d.ts.map +1 -1
  159. package/lib/plugins/alertmanager-alerts-query/get-alerts-data.js +2 -2
  160. package/lib/plugins/alertmanager-alerts-query/get-alerts-data.js.map +1 -1
  161. package/lib/plugins/alertmanager-datasource.d.ts +3 -3
  162. package/lib/plugins/alertmanager-datasource.d.ts.map +1 -1
  163. package/lib/plugins/alertmanager-datasource.js +2 -2
  164. package/lib/plugins/alertmanager-datasource.js.map +1 -1
  165. package/lib/plugins/alertmanager-silences-query/AlertManagerSilencesQuery.d.ts +2 -2
  166. package/lib/plugins/alertmanager-silences-query/AlertManagerSilencesQuery.d.ts.map +1 -1
  167. package/lib/plugins/alertmanager-silences-query/AlertManagerSilencesQuery.js +3 -3
  168. package/lib/plugins/alertmanager-silences-query/AlertManagerSilencesQuery.js.map +1 -1
  169. package/lib/plugins/alertmanager-silences-query/AlertManagerSilencesQueryEditor.d.ts +2 -2
  170. package/lib/plugins/alertmanager-silences-query/AlertManagerSilencesQueryEditor.d.ts.map +1 -1
  171. package/lib/plugins/alertmanager-silences-query/AlertManagerSilencesQueryEditor.js +7 -7
  172. package/lib/plugins/alertmanager-silences-query/AlertManagerSilencesQueryEditor.js.map +1 -1
  173. package/lib/plugins/alertmanager-silences-query/get-silences-data.d.ts +3 -3
  174. package/lib/plugins/alertmanager-silences-query/get-silences-data.d.ts.map +1 -1
  175. package/lib/plugins/alertmanager-silences-query/get-silences-data.js +2 -2
  176. package/lib/plugins/alertmanager-silences-query/get-silences-data.js.map +1 -1
  177. package/lib/plugins/index.js +16 -16
  178. package/lib/plugins/index.js.map +1 -1
  179. package/lib/plugins/silence-table/SilenceTable.d.ts +2 -2
  180. package/lib/plugins/silence-table/SilenceTable.d.ts.map +1 -1
  181. package/lib/plugins/silence-table/SilenceTable.js +3 -3
  182. package/lib/plugins/silence-table/SilenceTable.js.map +1 -1
  183. package/lib/plugins/silence-table/SilenceTableColumnsEditor.d.ts +3 -3
  184. package/lib/plugins/silence-table/SilenceTableColumnsEditor.d.ts.map +1 -1
  185. package/lib/plugins/silence-table/SilenceTableColumnsEditor.js +5 -5
  186. package/lib/plugins/silence-table/SilenceTableColumnsEditor.js.map +1 -1
  187. package/lib/plugins/silence-table/SilenceTableOptionsEditor.d.ts +3 -3
  188. package/lib/plugins/silence-table/SilenceTableOptionsEditor.d.ts.map +1 -1
  189. package/lib/plugins/silence-table/SilenceTableOptionsEditor.js +5 -5
  190. package/lib/plugins/silence-table/SilenceTableOptionsEditor.js.map +1 -1
  191. package/lib/plugins/silence-table/SilenceTablePanel.d.ts +4 -4
  192. package/lib/plugins/silence-table/SilenceTablePanel.d.ts.map +1 -1
  193. package/lib/plugins/silence-table/SilenceTablePanel.js +13 -13
  194. package/lib/plugins/silence-table/SilenceTablePanel.js.map +1 -1
  195. package/lib/plugins/silence-table/silence-table-model.d.ts +1 -1
  196. package/lib/plugins/silence-table/silence-table-model.d.ts.map +1 -1
  197. package/lib/plugins/silence-table/silence-table-model.js.map +1 -1
  198. package/lib/plugins/silence-table/silence-table-sorting.d.ts +2 -2
  199. package/lib/plugins/silence-table/silence-table-sorting.d.ts.map +1 -1
  200. package/lib/plugins/silence-table/silence-table-sorting.js +1 -1
  201. package/lib/plugins/silence-table/silence-table-sorting.js.map +1 -1
  202. package/lib/plugins/types.d.ts +3 -3
  203. package/lib/plugins/types.d.ts.map +1 -1
  204. package/lib/plugins/types.js.map +1 -1
  205. package/lib/setup-tests.d.ts +1 -1
  206. package/lib/setup-tests.d.ts.map +1 -1
  207. package/lib/setup-tests.js +2 -2
  208. package/lib/setup-tests.js.map +1 -1
  209. package/mf-manifest.json +283 -276
  210. package/mf-stats.json +289 -282
  211. package/package.json +14 -13
  212. package/__mf/js/async/1616.24f00c9d.js +0 -1
  213. package/__mf/js/async/1728.83bb9a7c.js +0 -1
  214. package/__mf/js/async/1871.23ff54b3.js +0 -1
  215. package/__mf/js/async/1969.a83b1b48.js +0 -1
  216. package/__mf/js/async/2218.7829c9d9.js +0 -2
  217. package/__mf/js/async/2377.f8875a4e.js +0 -1
  218. package/__mf/js/async/2657.fe8dd44f.js +0 -1
  219. package/__mf/js/async/2954.3ac1f636.js +0 -2
  220. package/__mf/js/async/392.7e11dd69.js +0 -2
  221. package/__mf/js/async/3963.fb6246d2.js +0 -1
  222. package/__mf/js/async/4121.ec666be2.js +0 -2
  223. package/__mf/js/async/4133.e94df4f8.js +0 -28
  224. package/__mf/js/async/4213.a0c4f2eb.js +0 -1
  225. package/__mf/js/async/4397.d399eecb.js +0 -2
  226. package/__mf/js/async/4397.d399eecb.js.LICENSE.txt +0 -37
  227. package/__mf/js/async/4732.e866a740.js +0 -1
  228. package/__mf/js/async/4788.49ffeac3.js +0 -1
  229. package/__mf/js/async/5038.269393e3.js +0 -2
  230. package/__mf/js/async/573.214f2003.js +0 -2
  231. package/__mf/js/async/6274.8c77cb1a.js +0 -2
  232. package/__mf/js/async/6390.3f6f279d.js +0 -2
  233. package/__mf/js/async/6401.1a59dbad.js +0 -1
  234. package/__mf/js/async/6593.acc8b704.js +0 -4
  235. package/__mf/js/async/6593.acc8b704.js.LICENSE.txt +0 -24
  236. package/__mf/js/async/6594.b02adfd9.js +0 -2
  237. package/__mf/js/async/663.5445c7e0.js +0 -1
  238. package/__mf/js/async/6854.1d628838.js +0 -1
  239. package/__mf/js/async/7177.27c86137.js +0 -1
  240. package/__mf/js/async/7192.ede9860b.js +0 -1
  241. package/__mf/js/async/733.22ab2a8a.js +0 -1
  242. package/__mf/js/async/7422.33d76364.js +0 -2
  243. package/__mf/js/async/7790.a75199e6.js +0 -7
  244. package/__mf/js/async/7862.556c038f.js +0 -2
  245. package/__mf/js/async/7984.49fa1156.js +0 -22
  246. package/__mf/js/async/804.23da0d30.js +0 -37
  247. package/__mf/js/async/8470.2df0db71.js +0 -2
  248. package/__mf/js/async/8697.c13c6603.js +0 -1
  249. package/__mf/js/async/8907.9e3edf43.js +0 -1
  250. package/__mf/js/async/9184.27a439a4.js +0 -1
  251. package/__mf/js/async/9235.00f9412f.js +0 -1
  252. package/__mf/js/async/941.d3bc6208.js +0 -2
  253. package/__mf/js/async/9634.3a366799.js +0 -1
  254. package/__mf/js/async/9836.cc839227.js +0 -1
  255. package/__mf/js/async/__federation_expose_AlertManagerAlertsExplorer.d4fb76c0.js +0 -2
  256. package/__mf/js/async/__federation_expose_AlertManagerAlertsQuery.9ea3093c.js +0 -1
  257. package/__mf/js/async/__federation_expose_AlertManagerDatasource.2fbf067c.js +0 -2
  258. package/__mf/js/async/__federation_expose_AlertManagerSilencesExplorer.d2527c12.js +0 -2
  259. package/__mf/js/async/__federation_expose_AlertManagerSilencesQuery.7aca31d3.js +0 -2
  260. package/__mf/js/async/__federation_expose_AlertTable.4a636b80.js +0 -1
  261. package/__mf/js/async/__federation_expose_SilenceTable.11259028.js +0 -1
  262. package/__mf/js/async/lib-router.19f64904.js +0 -2
  263. package/lib/cjs/bootstrap.js +0 -26
  264. package/lib/cjs/components/ColumnsEditor.js +0 -271
  265. package/lib/cjs/components/LazyTextField.js +0 -50
  266. package/lib/cjs/components/MatcherEditor.js +0 -153
  267. package/lib/cjs/components/MatchersList.js +0 -46
  268. package/lib/cjs/components/SilenceForm.js +0 -205
  269. package/lib/cjs/components/StatusBadge.js +0 -71
  270. package/lib/cjs/components/index.js +0 -44
  271. package/lib/cjs/explore/AlertManagerAlertsExplorer.js +0 -79
  272. package/lib/cjs/explore/AlertManagerSilencesExplorer.js +0 -153
  273. package/lib/cjs/getPluginModule.js +0 -39
  274. package/lib/cjs/index-federation.js +0 -55
  275. package/lib/cjs/index.js +0 -39
  276. package/lib/cjs/model/alertmanager-client.js +0 -128
  277. package/lib/cjs/model/alertmanager-selectors.js +0 -66
  278. package/lib/cjs/model/api-types.js +0 -22
  279. package/lib/cjs/model/index.js +0 -32
  280. package/lib/cjs/plugins/AlertManagerDatasourceEditor.js +0 -71
  281. package/lib/cjs/plugins/alert-table/AlertTable.js +0 -56
  282. package/lib/cjs/plugins/alert-table/AlertTableColumnsEditor.js +0 -110
  283. package/lib/cjs/plugins/alert-table/AlertTableDeduplicationEditor.js +0 -138
  284. package/lib/cjs/plugins/alert-table/AlertTableLabelsEditor.js +0 -277
  285. package/lib/cjs/plugins/alert-table/AlertTableOptionsEditor.js +0 -128
  286. package/lib/cjs/plugins/alert-table/AlertTablePanel.js +0 -773
  287. package/lib/cjs/plugins/alert-table/alert-table-model.js +0 -142
  288. package/lib/cjs/plugins/alert-table/alert-table-sorting.js +0 -205
  289. package/lib/cjs/plugins/alert-table/label-colors.js +0 -170
  290. package/lib/cjs/plugins/alertmanager-alerts-query/AlertManagerAlertsQuery.js +0 -51
  291. package/lib/cjs/plugins/alertmanager-alerts-query/AlertManagerAlertsQueryEditor.js +0 -138
  292. package/lib/cjs/plugins/alertmanager-alerts-query/get-alerts-data.js +0 -124
  293. package/lib/cjs/plugins/alertmanager-datasource.js +0 -69
  294. package/lib/cjs/plugins/alertmanager-silences-query/AlertManagerSilencesQuery.js +0 -45
  295. package/lib/cjs/plugins/alertmanager-silences-query/AlertManagerSilencesQueryEditor.js +0 -78
  296. package/lib/cjs/plugins/alertmanager-silences-query/get-silences-data.js +0 -64
  297. package/lib/cjs/plugins/index.js +0 -74
  298. package/lib/cjs/plugins/silence-table/SilenceTable.js +0 -42
  299. package/lib/cjs/plugins/silence-table/SilenceTableColumnsEditor.js +0 -137
  300. package/lib/cjs/plugins/silence-table/SilenceTableOptionsEditor.js +0 -63
  301. package/lib/cjs/plugins/silence-table/SilenceTablePanel.js +0 -345
  302. package/lib/cjs/plugins/silence-table/silence-table-model.js +0 -116
  303. package/lib/cjs/plugins/silence-table/silence-table-sorting.js +0 -68
  304. package/lib/cjs/plugins/types.js +0 -16
  305. package/lib/cjs/setup-tests.js +0 -18
  306. /package/__mf/css/async/{7790.85c2cbf6.css → 5968.85c2cbf6.css} +0 -0
  307. /package/__mf/js/async/{7984.49fa1156.js.LICENSE.txt → 1522.c41bc562.js.LICENSE.txt} +0 -0
  308. /package/__mf/js/async/{2218.7829c9d9.js.LICENSE.txt → 2218.51c7742c.js.LICENSE.txt} +0 -0
  309. /package/__mf/js/async/{392.7e11dd69.js.LICENSE.txt → 392.11937443.js.LICENSE.txt} +0 -0
  310. /package/__mf/js/async/{4121.ec666be2.js.LICENSE.txt → 4121.cfc092b2.js.LICENSE.txt} +0 -0
  311. /package/__mf/js/async/{5038.269393e3.js.LICENSE.txt → 5038.9c3ee144.js.LICENSE.txt} +0 -0
  312. /package/__mf/js/async/{6274.8c77cb1a.js.LICENSE.txt → 6274.45d7dcb4.js.LICENSE.txt} +0 -0
  313. /package/__mf/js/async/{573.214f2003.js.LICENSE.txt → 6390.d5b9d294.js.LICENSE.txt} +0 -0
  314. /package/__mf/js/async/{6390.3f6f279d.js.LICENSE.txt → 6594.430d845a.js.LICENSE.txt} +0 -0
  315. /package/__mf/js/async/{6594.b02adfd9.js.LICENSE.txt → 7283.8f93ba0a.js.LICENSE.txt} +0 -0
  316. /package/__mf/js/async/{7862.556c038f.js.LICENSE.txt → 7862.fe1ed3c8.js.LICENSE.txt} +0 -0
  317. /package/__mf/js/async/{8470.2df0db71.js.LICENSE.txt → 8470.9713c0c1.js.LICENSE.txt} +0 -0
  318. /package/__mf/js/async/{7422.33d76364.js.LICENSE.txt → 8711.f5dcfad1.js.LICENSE.txt} +0 -0
  319. /package/__mf/js/async/{9040.94717f28.js.LICENSE.txt → 9040.b16cad40.js.LICENSE.txt} +0 -0
  320. /package/__mf/js/async/{941.d3bc6208.js.LICENSE.txt → 941.f680467a.js.LICENSE.txt} +0 -0
  321. /package/__mf/js/async/{__federation_expose_AlertManagerAlertsExplorer.d4fb76c0.js.LICENSE.txt → __federation_expose_AlertManagerAlertsExplorer.702ab2db.js.LICENSE.txt} +0 -0
  322. /package/__mf/js/async/{__federation_expose_AlertManagerDatasource.2fbf067c.js.LICENSE.txt → __federation_expose_AlertManagerDatasource.9acf1c1d.js.LICENSE.txt} +0 -0
  323. /package/__mf/js/async/{__federation_expose_AlertManagerSilencesExplorer.d2527c12.js.LICENSE.txt → __federation_expose_AlertManagerSilencesExplorer.537f52dd.js.LICENSE.txt} +0 -0
  324. /package/__mf/js/async/{__federation_expose_AlertManagerSilencesQuery.7aca31d3.js.LICENSE.txt → __federation_expose_AlertManagerSilencesQuery.5c356656.js.LICENSE.txt} +0 -0
  325. /package/__mf/js/async/{lib-router.19f64904.js.LICENSE.txt → lib-router.07082537.js.LICENSE.txt} +0 -0
@@ -1,153 +0,0 @@
1
- // Copyright The Perses Authors
2
- // Licensed under the Apache License, Version 2.0 (the "License");
3
- // you may not use this file except in compliance with the License.
4
- // You may obtain a copy of the License at
5
- //
6
- // http://www.apache.org/licenses/LICENSE-2.0
7
- //
8
- // Unless required by applicable law or agreed to in writing, software
9
- // distributed under the License is distributed on an "AS IS" BASIS,
10
- // WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
11
- // See the License for the specific language governing permissions and
12
- // limitations under the License.
13
- "use strict";
14
- Object.defineProperty(exports, "__esModule", {
15
- value: true
16
- });
17
- Object.defineProperty(exports, "MatcherEditor", {
18
- enumerable: true,
19
- get: function() {
20
- return MatcherEditor;
21
- }
22
- });
23
- const _jsxruntime = require("react/jsx-runtime");
24
- const _react = require("react");
25
- const _material = require("@mui/material");
26
- const _Delete = /*#__PURE__*/ _interop_require_default(require("mdi-material-ui/Delete"));
27
- function _interop_require_default(obj) {
28
- return obj && obj.__esModule ? obj : {
29
- default: obj
30
- };
31
- }
32
- function getMatchType(matcher) {
33
- if (matcher.isRegex) {
34
- return matcher.isEqual ? '=~' : '!~';
35
- }
36
- return matcher.isEqual ? '=' : '!=';
37
- }
38
- function parseMatchType(matchType) {
39
- switch(matchType){
40
- case '=':
41
- return {
42
- isEqual: true,
43
- isRegex: false
44
- };
45
- case '!=':
46
- return {
47
- isEqual: false,
48
- isRegex: false
49
- };
50
- case '=~':
51
- return {
52
- isEqual: true,
53
- isRegex: true
54
- };
55
- case '!~':
56
- return {
57
- isEqual: false,
58
- isRegex: true
59
- };
60
- }
61
- }
62
- function MatcherEditor({ matcher, onChange, onRemove }) {
63
- const matchTypeLabelId = (0, _react.useId)();
64
- const handleNameChange = (e)=>{
65
- onChange({
66
- ...matcher,
67
- name: e.target.value
68
- });
69
- };
70
- const handleValueChange = (e)=>{
71
- onChange({
72
- ...matcher,
73
- value: e.target.value
74
- });
75
- };
76
- const handleMatchTypeChange = (e)=>{
77
- const { isEqual, isRegex } = parseMatchType(e.target.value);
78
- onChange({
79
- ...matcher,
80
- isEqual,
81
- isRegex
82
- });
83
- };
84
- return /*#__PURE__*/ (0, _jsxruntime.jsxs)(_material.Stack, {
85
- direction: "row",
86
- spacing: 1,
87
- alignItems: "center",
88
- children: [
89
- /*#__PURE__*/ (0, _jsxruntime.jsx)(_material.TextField, {
90
- label: "Label name",
91
- value: matcher.name,
92
- onChange: handleNameChange,
93
- size: "small",
94
- sx: {
95
- minWidth: 150
96
- }
97
- }),
98
- /*#__PURE__*/ (0, _jsxruntime.jsxs)(_material.FormControl, {
99
- size: "small",
100
- sx: {
101
- minWidth: 80
102
- },
103
- children: [
104
- /*#__PURE__*/ (0, _jsxruntime.jsx)(_material.InputLabel, {
105
- id: matchTypeLabelId,
106
- children: "Match"
107
- }),
108
- /*#__PURE__*/ (0, _jsxruntime.jsxs)(_material.Select, {
109
- labelId: matchTypeLabelId,
110
- value: getMatchType(matcher),
111
- onChange: handleMatchTypeChange,
112
- label: "Match",
113
- children: [
114
- /*#__PURE__*/ (0, _jsxruntime.jsx)(_material.MenuItem, {
115
- value: "=",
116
- children: "="
117
- }),
118
- /*#__PURE__*/ (0, _jsxruntime.jsx)(_material.MenuItem, {
119
- value: "!=",
120
- children: "!="
121
- }),
122
- /*#__PURE__*/ (0, _jsxruntime.jsx)(_material.MenuItem, {
123
- value: "=~",
124
- children: "=~"
125
- }),
126
- /*#__PURE__*/ (0, _jsxruntime.jsx)(_material.MenuItem, {
127
- value: "!~",
128
- children: "!~"
129
- })
130
- ]
131
- })
132
- ]
133
- }),
134
- /*#__PURE__*/ (0, _jsxruntime.jsx)(_material.TextField, {
135
- label: "Value",
136
- value: matcher.value,
137
- onChange: handleValueChange,
138
- size: "small",
139
- sx: {
140
- minWidth: 200
141
- }
142
- }),
143
- /*#__PURE__*/ (0, _jsxruntime.jsx)(_material.IconButton, {
144
- onClick: onRemove,
145
- size: "small",
146
- "aria-label": "Remove matcher",
147
- children: /*#__PURE__*/ (0, _jsxruntime.jsx)(_Delete.default, {
148
- fontSize: "small"
149
- })
150
- })
151
- ]
152
- });
153
- }
@@ -1,46 +0,0 @@
1
- // Copyright The Perses Authors
2
- // Licensed under the Apache License, Version 2.0 (the "License");
3
- // you may not use this file except in compliance with the License.
4
- // You may obtain a copy of the License at
5
- //
6
- // http://www.apache.org/licenses/LICENSE-2.0
7
- //
8
- // Unless required by applicable law or agreed to in writing, software
9
- // distributed under the License is distributed on an "AS IS" BASIS,
10
- // WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
11
- // See the License for the specific language governing permissions and
12
- // limitations under the License.
13
- "use strict";
14
- Object.defineProperty(exports, "__esModule", {
15
- value: true
16
- });
17
- Object.defineProperty(exports, "MatchersList", {
18
- enumerable: true,
19
- get: function() {
20
- return MatchersList;
21
- }
22
- });
23
- const _jsxruntime = require("react/jsx-runtime");
24
- const _material = require("@mui/material");
25
- function formatMatcher(matcher) {
26
- let operator;
27
- if (matcher.isRegex) {
28
- operator = matcher.isEqual ?? true ? '=~' : '!~';
29
- } else {
30
- operator = matcher.isEqual ?? true ? '=' : '!=';
31
- }
32
- return `${matcher.name}${operator}"${matcher.value}"`;
33
- }
34
- function MatchersList({ matchers }) {
35
- return /*#__PURE__*/ (0, _jsxruntime.jsx)(_material.Stack, {
36
- direction: "row",
37
- spacing: 0.5,
38
- flexWrap: "wrap",
39
- useFlexGap: true,
40
- children: matchers.map((matcher, index)=>/*#__PURE__*/ (0, _jsxruntime.jsx)(_material.Chip, {
41
- label: formatMatcher(matcher),
42
- size: "small",
43
- variant: "outlined"
44
- }, index))
45
- });
46
- }
@@ -1,205 +0,0 @@
1
- // Copyright The Perses Authors
2
- // Licensed under the Apache License, Version 2.0 (the "License");
3
- // you may not use this file except in compliance with the License.
4
- // You may obtain a copy of the License at
5
- //
6
- // http://www.apache.org/licenses/LICENSE-2.0
7
- //
8
- // Unless required by applicable law or agreed to in writing, software
9
- // distributed under the License is distributed on an "AS IS" BASIS,
10
- // WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
11
- // See the License for the specific language governing permissions and
12
- // limitations under the License.
13
- "use strict";
14
- Object.defineProperty(exports, "__esModule", {
15
- value: true
16
- });
17
- Object.defineProperty(exports, "SilenceForm", {
18
- enumerable: true,
19
- get: function() {
20
- return SilenceForm;
21
- }
22
- });
23
- const _jsxruntime = require("react/jsx-runtime");
24
- const _material = require("@mui/material");
25
- const _Plus = /*#__PURE__*/ _interop_require_default(require("mdi-material-ui/Plus"));
26
- const _react = require("react");
27
- const _MatcherEditor = require("./MatcherEditor");
28
- function _interop_require_default(obj) {
29
- return obj && obj.__esModule ? obj : {
30
- default: obj
31
- };
32
- }
33
- const DEFAULT_MATCHER = {
34
- name: '',
35
- value: '',
36
- isEqual: true,
37
- isRegex: false
38
- };
39
- function toLocalDatetimeString(date) {
40
- const pad = (n)=>String(n).padStart(2, '0');
41
- return `${date.getFullYear()}-${pad(date.getMonth() + 1)}-${pad(date.getDate())}T${pad(date.getHours())}:${pad(date.getMinutes())}`;
42
- }
43
- function getDefaultEndTime() {
44
- const end = new Date();
45
- end.setMinutes(end.getMinutes() + 30);
46
- return toLocalDatetimeString(end);
47
- }
48
- function getNowLocalISO() {
49
- return toLocalDatetimeString(new Date());
50
- }
51
- function SilenceForm({ open, onClose, onSubmit, initialSilence }) {
52
- const [matchers, setMatchers] = (0, _react.useState)(initialSilence?.matchers?.length ? initialSilence.matchers.map((m)=>({
53
- name: m.name,
54
- value: m.value,
55
- isEqual: m.isEqual,
56
- isRegex: m.isRegex
57
- })) : [
58
- {
59
- ...DEFAULT_MATCHER
60
- }
61
- ]);
62
- const [startsAt, setStartsAt] = (0, _react.useState)(initialSilence?.startsAt?.slice(0, 16) ?? getNowLocalISO());
63
- const [endsAt, setEndsAt] = (0, _react.useState)(initialSilence?.endsAt?.slice(0, 16) ?? getDefaultEndTime());
64
- const [createdBy, setCreatedBy] = (0, _react.useState)(initialSilence?.createdBy ?? '');
65
- const [comment, setComment] = (0, _react.useState)(initialSilence?.comment ?? '');
66
- const handleAddMatcher = ()=>{
67
- setMatchers([
68
- ...matchers,
69
- {
70
- ...DEFAULT_MATCHER
71
- }
72
- ]);
73
- };
74
- const handleMatcherChange = (index, updated)=>{
75
- const next = [
76
- ...matchers
77
- ];
78
- next[index] = updated;
79
- setMatchers(next);
80
- };
81
- const handleRemoveMatcher = (index)=>{
82
- setMatchers(matchers.filter((_, i)=>i !== index));
83
- };
84
- const handleSubmit = ()=>{
85
- const startsAtDate = new Date(startsAt);
86
- const endsAtDate = new Date(endsAt);
87
- if (isNaN(startsAtDate.getTime()) || isNaN(endsAtDate.getTime())) return;
88
- const silence = {
89
- id: initialSilence?.id,
90
- matchers: matchers.map((m)=>({
91
- name: m.name,
92
- value: m.value,
93
- isEqual: m.isEqual,
94
- isRegex: m.isRegex
95
- })),
96
- startsAt: startsAtDate.toISOString(),
97
- endsAt: endsAtDate.toISOString(),
98
- createdBy,
99
- comment
100
- };
101
- onSubmit(silence);
102
- };
103
- const startsAtDate = new Date(startsAt);
104
- const endsAtDate = new Date(endsAt);
105
- const isValidDates = !isNaN(startsAtDate.getTime()) && !isNaN(endsAtDate.getTime()) && endsAtDate.getTime() > startsAtDate.getTime();
106
- const isValid = matchers.length > 0 && matchers.every((m)=>m.name.length > 0) && createdBy.length > 0 && isValidDates;
107
- return /*#__PURE__*/ (0, _jsxruntime.jsxs)(_material.Dialog, {
108
- open: open,
109
- onClose: onClose,
110
- maxWidth: "md",
111
- fullWidth: true,
112
- children: [
113
- /*#__PURE__*/ (0, _jsxruntime.jsx)(_material.DialogTitle, {
114
- children: initialSilence?.id ? 'Edit Silence' : 'Create Silence'
115
- }),
116
- /*#__PURE__*/ (0, _jsxruntime.jsx)(_material.DialogContent, {
117
- children: /*#__PURE__*/ (0, _jsxruntime.jsxs)(_material.Stack, {
118
- spacing: 2,
119
- sx: {
120
- mt: 1
121
- },
122
- children: [
123
- /*#__PURE__*/ (0, _jsxruntime.jsx)(_material.Typography, {
124
- variant: "subtitle2",
125
- children: "Matchers"
126
- }),
127
- matchers.map((matcher, index)=>/*#__PURE__*/ (0, _jsxruntime.jsx)(_MatcherEditor.MatcherEditor, {
128
- matcher: matcher,
129
- onChange: (updated)=>handleMatcherChange(index, updated),
130
- onRemove: ()=>handleRemoveMatcher(index)
131
- }, index)),
132
- /*#__PURE__*/ (0, _jsxruntime.jsx)(_material.Button, {
133
- startIcon: /*#__PURE__*/ (0, _jsxruntime.jsx)(_Plus.default, {}),
134
- onClick: handleAddMatcher,
135
- variant: "outlined",
136
- size: "small",
137
- children: "Add Matcher"
138
- }),
139
- /*#__PURE__*/ (0, _jsxruntime.jsxs)(_material.Stack, {
140
- direction: "row",
141
- spacing: 2,
142
- children: [
143
- /*#__PURE__*/ (0, _jsxruntime.jsx)(_material.TextField, {
144
- label: "Start",
145
- type: "datetime-local",
146
- value: startsAt,
147
- onChange: (e)=>setStartsAt(e.target.value),
148
- size: "small",
149
- InputLabelProps: {
150
- shrink: true
151
- },
152
- sx: {
153
- flex: 1
154
- }
155
- }),
156
- /*#__PURE__*/ (0, _jsxruntime.jsx)(_material.TextField, {
157
- label: "End",
158
- type: "datetime-local",
159
- value: endsAt,
160
- onChange: (e)=>setEndsAt(e.target.value),
161
- size: "small",
162
- InputLabelProps: {
163
- shrink: true
164
- },
165
- sx: {
166
- flex: 1
167
- }
168
- })
169
- ]
170
- }),
171
- /*#__PURE__*/ (0, _jsxruntime.jsx)(_material.TextField, {
172
- label: "Creator",
173
- value: createdBy,
174
- onChange: (e)=>setCreatedBy(e.target.value),
175
- size: "small",
176
- required: true
177
- }),
178
- /*#__PURE__*/ (0, _jsxruntime.jsx)(_material.TextField, {
179
- label: "Comment",
180
- value: comment,
181
- onChange: (e)=>setComment(e.target.value),
182
- size: "small",
183
- multiline: true,
184
- rows: 2
185
- })
186
- ]
187
- })
188
- }),
189
- /*#__PURE__*/ (0, _jsxruntime.jsxs)(_material.DialogActions, {
190
- children: [
191
- /*#__PURE__*/ (0, _jsxruntime.jsx)(_material.Button, {
192
- onClick: onClose,
193
- children: "Cancel"
194
- }),
195
- /*#__PURE__*/ (0, _jsxruntime.jsx)(_material.Button, {
196
- onClick: handleSubmit,
197
- variant: "contained",
198
- disabled: !isValid,
199
- children: initialSilence?.id ? 'Update' : 'Create'
200
- })
201
- ]
202
- })
203
- ]
204
- });
205
- }
@@ -1,71 +0,0 @@
1
- // Copyright The Perses Authors
2
- // Licensed under the Apache License, Version 2.0 (the "License");
3
- // you may not use this file except in compliance with the License.
4
- // You may obtain a copy of the License at
5
- //
6
- // http://www.apache.org/licenses/LICENSE-2.0
7
- //
8
- // Unless required by applicable law or agreed to in writing, software
9
- // distributed under the License is distributed on an "AS IS" BASIS,
10
- // WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
11
- // See the License for the specific language governing permissions and
12
- // limitations under the License.
13
- "use strict";
14
- Object.defineProperty(exports, "__esModule", {
15
- value: true
16
- });
17
- Object.defineProperty(exports, "StatusBadge", {
18
- enumerable: true,
19
- get: function() {
20
- return StatusBadge;
21
- }
22
- });
23
- const _jsxruntime = require("react/jsx-runtime");
24
- const _material = require("@mui/material");
25
- const ALERT_STATUS_MAP = {
26
- firing: {
27
- label: 'Firing',
28
- color: 'error'
29
- },
30
- suppressed: {
31
- label: 'Silenced',
32
- color: 'warning'
33
- },
34
- pending: {
35
- label: 'Pending',
36
- color: 'default'
37
- },
38
- resolved: {
39
- label: 'Resolved',
40
- color: 'success'
41
- },
42
- inactive: {
43
- label: 'Inactive',
44
- color: 'default'
45
- }
46
- };
47
- const SILENCE_STATUS_MAP = {
48
- active: {
49
- label: 'Active',
50
- color: 'success'
51
- },
52
- expired: {
53
- label: 'Expired',
54
- color: 'default'
55
- },
56
- pending: {
57
- label: 'Pending',
58
- color: 'warning'
59
- }
60
- };
61
- function StatusBadge({ status, variant = 'alert' }) {
62
- const statusMap = variant === 'silence' ? SILENCE_STATUS_MAP : ALERT_STATUS_MAP;
63
- const config = statusMap[status];
64
- const label = config?.label ?? status;
65
- const color = config?.color ?? 'default';
66
- return /*#__PURE__*/ (0, _jsxruntime.jsx)(_material.Chip, {
67
- label: label,
68
- color: color,
69
- size: "small"
70
- });
71
- }
@@ -1,44 +0,0 @@
1
- // Copyright The Perses Authors
2
- // Licensed under the Apache License, Version 2.0 (the "License");
3
- // you may not use this file except in compliance with the License.
4
- // You may obtain a copy of the License at
5
- //
6
- // http://www.apache.org/licenses/LICENSE-2.0
7
- //
8
- // Unless required by applicable law or agreed to in writing, software
9
- // distributed under the License is distributed on an "AS IS" BASIS,
10
- // WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
11
- // See the License for the specific language governing permissions and
12
- // limitations under the License.
13
- "use strict";
14
- Object.defineProperty(exports, "__esModule", {
15
- value: true
16
- });
17
- function _export(target, all) {
18
- for(var name in all)Object.defineProperty(target, name, {
19
- enumerable: true,
20
- get: Object.getOwnPropertyDescriptor(all, name).get
21
- });
22
- }
23
- _export(exports, {
24
- get LazyTextField () {
25
- return _LazyTextField.LazyTextField;
26
- },
27
- get MatcherEditor () {
28
- return _MatcherEditor.MatcherEditor;
29
- },
30
- get MatchersList () {
31
- return _MatchersList.MatchersList;
32
- },
33
- get SilenceForm () {
34
- return _SilenceForm.SilenceForm;
35
- },
36
- get StatusBadge () {
37
- return _StatusBadge.StatusBadge;
38
- }
39
- });
40
- const _StatusBadge = require("./StatusBadge");
41
- const _MatchersList = require("./MatchersList");
42
- const _MatcherEditor = require("./MatcherEditor");
43
- const _SilenceForm = require("./SilenceForm");
44
- const _LazyTextField = require("./LazyTextField");
@@ -1,79 +0,0 @@
1
- // Copyright The Perses Authors
2
- // Licensed under the Apache License, Version 2.0 (the "License");
3
- // you may not use this file except in compliance with the License.
4
- // You may obtain a copy of the License at
5
- //
6
- // http://www.apache.org/licenses/LICENSE-2.0
7
- //
8
- // Unless required by applicable law or agreed to in writing, software
9
- // distributed under the License is distributed on an "AS IS" BASIS,
10
- // WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
11
- // See the License for the specific language governing permissions and
12
- // limitations under the License.
13
- "use strict";
14
- Object.defineProperty(exports, "__esModule", {
15
- value: true
16
- });
17
- Object.defineProperty(exports, "AlertManagerAlertsExplorer", {
18
- enumerable: true,
19
- get: function() {
20
- return AlertManagerAlertsExplorer;
21
- }
22
- });
23
- const _jsxruntime = require("react/jsx-runtime");
24
- const _react = require("react");
25
- const _material = require("@mui/material");
26
- const _pluginsystem = require("@perses-dev/plugin-system");
27
- const _dashboards = require("@perses-dev/dashboards");
28
- const _explore = require("@perses-dev/explore");
29
- const PANEL_PREVIEW_HEIGHT = 600;
30
- function AlertManagerAlertsExplorer() {
31
- const { data: { queries = [] }, setData } = (0, _explore.useExplorerManagerContext)();
32
- const [queryDefinitions, setQueryDefinitions] = (0, _react.useState)(queries);
33
- return /*#__PURE__*/ (0, _jsxruntime.jsxs)(_material.Stack, {
34
- gap: 2,
35
- sx: {
36
- width: '100%'
37
- },
38
- children: [
39
- /*#__PURE__*/ (0, _jsxruntime.jsx)(_pluginsystem.MultiQueryEditor, {
40
- queryTypes: [
41
- 'AlertsQuery'
42
- ],
43
- onChange: (state)=>setQueryDefinitions(state),
44
- queries: queryDefinitions,
45
- onQueryRun: ()=>setData({
46
- queries: queryDefinitions
47
- })
48
- }),
49
- /*#__PURE__*/ (0, _jsxruntime.jsx)(_pluginsystem.DataQueriesProvider, {
50
- definitions: queries,
51
- children: /*#__PURE__*/ (0, _jsxruntime.jsx)(_material.Box, {
52
- height: PANEL_PREVIEW_HEIGHT,
53
- children: /*#__PURE__*/ (0, _jsxruntime.jsx)(_dashboards.Panel, {
54
- panelOptions: {
55
- hideHeader: true
56
- },
57
- definition: {
58
- kind: 'Panel',
59
- spec: {
60
- queries,
61
- display: {
62
- name: ''
63
- },
64
- plugin: {
65
- kind: 'AlertTable',
66
- spec: {
67
- defaultGroupBy: [
68
- 'alertname'
69
- ]
70
- }
71
- }
72
- }
73
- }
74
- })
75
- })
76
- })
77
- ]
78
- });
79
- }