@perses-dev/clickhouse-plugin 0.1.0 → 0.3.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 (157) hide show
  1. package/LICENSE +201 -0
  2. package/README.md +1 -1
  3. package/__mf/css/async/1580.d3010b86.css +1 -0
  4. package/__mf/css/async/2341.d3010b86.css +1 -0
  5. package/__mf/js/{ClickHouse.99e35ca2.js → ClickHouse.8f89cb2c.js} +4 -4
  6. package/__mf/js/async/1360.33f7e672.js +10 -0
  7. package/__mf/js/async/2178.16cf2da3.js +2 -0
  8. package/__mf/js/async/2226.1d4436dc.js +1 -0
  9. package/__mf/js/async/2472.9f5fd5cf.js +22 -0
  10. package/__mf/js/async/2652.fd27ec3f.js +101 -0
  11. package/__mf/js/async/2708.7448dd5c.js +1 -0
  12. package/__mf/js/async/282.76b8b044.js +1 -0
  13. package/__mf/js/async/{4075.598f1ee5.js → 4075.b85e5581.js} +1 -1
  14. package/__mf/js/async/{4238.8c8282dc.js → 4238.a8170f41.js} +1 -1
  15. package/__mf/js/async/4421.750852d0.js +1 -0
  16. package/__mf/js/async/6134.a0f2d3c5.js +38 -0
  17. package/__mf/js/async/6620.1d8e42fd.js +2 -0
  18. package/__mf/js/async/7991.64a1aaaf.js +7 -0
  19. package/__mf/js/async/9563.6903fd59.js +2 -0
  20. package/__mf/js/async/{__federation_expose_ClickHouseDatasource.1ef730b1.js → __federation_expose_ClickHouseDatasource.e3722d39.js} +2 -2
  21. package/__mf/js/async/__federation_expose_ClickHouseLogQuery.63888cb7.js +20 -0
  22. package/__mf/js/async/__federation_expose_ClickHouseTimeSeriesQuery.6a30813e.js +20 -0
  23. package/__mf/js/{main.b7c9a660.js → main.3bc5d901.js} +3 -3
  24. package/lib/cjs/index.js +0 -1
  25. package/lib/cjs/queries/click-house-log-query/ClickHouseLogQueryEditor.js +28 -22
  26. package/lib/cjs/queries/click-house-time-series-query/ClickHouseQueryEditor.js +28 -22
  27. package/lib/cjs/queries/query-editor-model.js +53 -0
  28. package/lib/index.d.ts +0 -1
  29. package/lib/index.d.ts.map +1 -1
  30. package/lib/index.js +0 -1
  31. package/lib/index.js.map +1 -1
  32. package/lib/model/click-house-data-types.d.ts +2 -15
  33. package/lib/model/click-house-data-types.d.ts.map +1 -1
  34. package/lib/model/click-house-data-types.js.map +1 -1
  35. package/lib/queries/click-house-log-query/ClickHouseLogQueryEditor.d.ts.map +1 -1
  36. package/lib/queries/click-house-log-query/ClickHouseLogQueryEditor.js +29 -23
  37. package/lib/queries/click-house-log-query/ClickHouseLogQueryEditor.js.map +1 -1
  38. package/lib/queries/click-house-log-query/get-click-house-log-data.js.map +1 -1
  39. package/lib/queries/click-house-log-query/log-query-plugin-interface.d.ts +2 -2
  40. package/lib/queries/click-house-log-query/log-query-plugin-interface.d.ts.map +1 -1
  41. package/lib/queries/click-house-log-query/log-query-plugin-interface.js.map +1 -1
  42. package/lib/queries/click-house-time-series-query/ClickHouseQueryEditor.d.ts.map +1 -1
  43. package/lib/queries/click-house-time-series-query/ClickHouseQueryEditor.js +29 -23
  44. package/lib/queries/click-house-time-series-query/ClickHouseQueryEditor.js.map +1 -1
  45. package/lib/queries/query-editor-model.d.ts +20 -0
  46. package/lib/queries/query-editor-model.d.ts.map +1 -0
  47. package/lib/queries/query-editor-model.js +50 -0
  48. package/lib/queries/query-editor-model.js.map +1 -0
  49. package/mf-manifest.json +48 -108
  50. package/mf-stats.json +48 -110
  51. package/package.json +8 -17
  52. package/__mf/css/async/1580.6b2b0c71.css +0 -1
  53. package/__mf/css/async/2341.6b2b0c71.css +0 -1
  54. package/__mf/css/async/6759.6b2b0c71.css +0 -1
  55. package/__mf/js/async/2417.1f135170.js +0 -2
  56. package/__mf/js/async/2448.e42be954.js +0 -10
  57. package/__mf/js/async/3632.f88c5ced.js +0 -101
  58. package/__mf/js/async/4168.af4fa8b3.js +0 -2
  59. package/__mf/js/async/4368.8468ec0a.js +0 -2
  60. package/__mf/js/async/4421.de18bb66.js +0 -1
  61. package/__mf/js/async/5035.8a983cd3.js +0 -73
  62. package/__mf/js/async/56.9997e6f8.js +0 -1
  63. package/__mf/js/async/5713.92805154.js +0 -1
  64. package/__mf/js/async/6411.3873365b.js +0 -1
  65. package/__mf/js/async/6467.f4e5b898.js +0 -1
  66. package/__mf/js/async/6569.f8ee50db.js +0 -1
  67. package/__mf/js/async/6714.e4b5281a.js +0 -2
  68. package/__mf/js/async/8465.f4c53fef.js +0 -7
  69. package/__mf/js/async/8709.6d909ac5.js +0 -2
  70. package/__mf/js/async/9654.ab803765.js +0 -37
  71. package/__mf/js/async/__federation_expose_ClickHouseLogQuery.3f312752.js +0 -19
  72. package/__mf/js/async/__federation_expose_ClickHouseTimeSeriesQuery.a3f88e6b.js +0 -19
  73. package/__mf/js/async/__federation_expose_Logs.88d56eeb.js +0 -2
  74. package/lib/cjs/panels/index.js +0 -30
  75. package/lib/cjs/panels/logs/Logs.js +0 -37
  76. package/lib/cjs/panels/logs/LogsComponent.js +0 -47
  77. package/lib/cjs/panels/logs/LogsSettingsEditor.js +0 -57
  78. package/lib/cjs/panels/logs/components/EmptyLogsState.js +0 -49
  79. package/lib/cjs/panels/logs/components/LogRow/LogDetailsTable.js +0 -71
  80. package/lib/cjs/panels/logs/components/LogRow/LogRow.js +0 -163
  81. package/lib/cjs/panels/logs/components/LogRow/LogTimestamp.js +0 -45
  82. package/lib/cjs/panels/logs/components/LogRow/LogsStyles.js +0 -77
  83. package/lib/cjs/panels/logs/components/LogRow/index.js +0 -37
  84. package/lib/cjs/panels/logs/components/LogsList.js +0 -44
  85. package/lib/cjs/panels/logs/components/VirtualizedLogsList.js +0 -60
  86. package/lib/cjs/panels/logs/components/hooks/useExpandedRows.js +0 -45
  87. package/lib/cjs/panels/logs/index.js +0 -33
  88. package/lib/cjs/panels/logs/logs-types.js +0 -16
  89. package/lib/panels/index.d.ts +0 -2
  90. package/lib/panels/index.d.ts.map +0 -1
  91. package/lib/panels/index.js +0 -15
  92. package/lib/panels/index.js.map +0 -1
  93. package/lib/panels/logs/Logs.d.ts +0 -4
  94. package/lib/panels/logs/Logs.d.ts.map +0 -1
  95. package/lib/panels/logs/Logs.js +0 -29
  96. package/lib/panels/logs/Logs.js.map +0 -1
  97. package/lib/panels/logs/LogsComponent.d.ts +0 -4
  98. package/lib/panels/logs/LogsComponent.d.ts.map +0 -1
  99. package/lib/panels/logs/LogsComponent.js +0 -34
  100. package/lib/panels/logs/LogsComponent.js.map +0 -1
  101. package/lib/panels/logs/LogsSettingsEditor.d.ts +0 -7
  102. package/lib/panels/logs/LogsSettingsEditor.d.ts.map +0 -1
  103. package/lib/panels/logs/LogsSettingsEditor.js +0 -49
  104. package/lib/panels/logs/LogsSettingsEditor.js.map +0 -1
  105. package/lib/panels/logs/components/EmptyLogsState.d.ts +0 -7
  106. package/lib/panels/logs/components/EmptyLogsState.d.ts.map +0 -1
  107. package/lib/panels/logs/components/EmptyLogsState.js +0 -36
  108. package/lib/panels/logs/components/EmptyLogsState.js.map +0 -1
  109. package/lib/panels/logs/components/LogRow/LogDetailsTable.d.ts +0 -8
  110. package/lib/panels/logs/components/LogRow/LogDetailsTable.d.ts.map +0 -1
  111. package/lib/panels/logs/components/LogRow/LogDetailsTable.js +0 -58
  112. package/lib/panels/logs/components/LogRow/LogDetailsTable.js.map +0 -1
  113. package/lib/panels/logs/components/LogRow/LogRow.d.ts +0 -14
  114. package/lib/panels/logs/components/LogRow/LogRow.d.ts.map +0 -1
  115. package/lib/panels/logs/components/LogRow/LogRow.js +0 -109
  116. package/lib/panels/logs/components/LogRow/LogRow.js.map +0 -1
  117. package/lib/panels/logs/components/LogRow/LogTimestamp.d.ts +0 -7
  118. package/lib/panels/logs/components/LogRow/LogTimestamp.d.ts.map +0 -1
  119. package/lib/panels/logs/components/LogRow/LogTimestamp.js +0 -32
  120. package/lib/panels/logs/components/LogRow/LogTimestamp.js.map +0 -1
  121. package/lib/panels/logs/components/LogRow/LogsStyles.d.ts +0 -22
  122. package/lib/panels/logs/components/LogRow/LogsStyles.d.ts.map +0 -1
  123. package/lib/panels/logs/components/LogRow/LogsStyles.js +0 -55
  124. package/lib/panels/logs/components/LogRow/LogsStyles.js.map +0 -1
  125. package/lib/panels/logs/components/LogRow/index.d.ts +0 -3
  126. package/lib/panels/logs/components/LogRow/index.d.ts.map +0 -1
  127. package/lib/panels/logs/components/LogRow/index.js +0 -16
  128. package/lib/panels/logs/components/LogRow/index.js.map +0 -1
  129. package/lib/panels/logs/components/LogsList.d.ts +0 -8
  130. package/lib/panels/logs/components/LogsList.d.ts.map +0 -1
  131. package/lib/panels/logs/components/LogsList.js +0 -31
  132. package/lib/panels/logs/components/LogsList.js.map +0 -1
  133. package/lib/panels/logs/components/VirtualizedLogsList.d.ts +0 -10
  134. package/lib/panels/logs/components/VirtualizedLogsList.d.ts.map +0 -1
  135. package/lib/panels/logs/components/VirtualizedLogsList.js +0 -47
  136. package/lib/panels/logs/components/VirtualizedLogsList.js.map +0 -1
  137. package/lib/panels/logs/components/hooks/useExpandedRows.d.ts +0 -6
  138. package/lib/panels/logs/components/hooks/useExpandedRows.d.ts.map +0 -1
  139. package/lib/panels/logs/components/hooks/useExpandedRows.js +0 -37
  140. package/lib/panels/logs/components/hooks/useExpandedRows.js.map +0 -1
  141. package/lib/panels/logs/index.d.ts +0 -5
  142. package/lib/panels/logs/index.d.ts.map +0 -1
  143. package/lib/panels/logs/index.js +0 -18
  144. package/lib/panels/logs/index.js.map +0 -1
  145. package/lib/panels/logs/logs-types.d.ts +0 -16
  146. package/lib/panels/logs/logs-types.d.ts.map +0 -1
  147. package/lib/panels/logs/logs-types.js +0 -15
  148. package/lib/panels/logs/logs-types.js.map +0 -1
  149. /package/__mf/js/async/{2448.e42be954.js.LICENSE.txt → 1360.33f7e672.js.LICENSE.txt} +0 -0
  150. /package/__mf/js/async/{4368.8468ec0a.js.LICENSE.txt → 2178.16cf2da3.js.LICENSE.txt} +0 -0
  151. /package/__mf/js/async/{5035.8a983cd3.js.LICENSE.txt → 2472.9f5fd5cf.js.LICENSE.txt} +0 -0
  152. /package/__mf/js/async/{6714.e4b5281a.js.LICENSE.txt → 6620.1d8e42fd.js.LICENSE.txt} +0 -0
  153. /package/__mf/js/async/{8465.f4c53fef.js.LICENSE.txt → 7991.64a1aaaf.js.LICENSE.txt} +0 -0
  154. /package/__mf/js/async/{2417.1f135170.js.LICENSE.txt → 9563.6903fd59.js.LICENSE.txt} +0 -0
  155. /package/__mf/js/async/{8709.6d909ac5.js.LICENSE.txt → __federation_expose_ClickHouseDatasource.e3722d39.js.LICENSE.txt} +0 -0
  156. /package/__mf/js/async/{__federation_expose_ClickHouseDatasource.1ef730b1.js.LICENSE.txt → __federation_expose_ClickHouseLogQuery.63888cb7.js.LICENSE.txt} +0 -0
  157. /package/__mf/js/async/{__federation_expose_Logs.88d56eeb.js.LICENSE.txt → __federation_expose_ClickHouseTimeSeriesQuery.6a30813e.js.LICENSE.txt} +0 -0
@@ -1,47 +0,0 @@
1
- // Copyright 2025 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
- import { jsx as _jsx } from "react/jsx-runtime";
14
- import React from 'react';
15
- import { Box, useTheme } from '@mui/material';
16
- import { Virtuoso } from 'react-virtuoso';
17
- import { LogRow } from './LogRow/LogRow';
18
- export const VirtualizedLogsList = ({ logs, expandedRows, onToggleExpand })=>{
19
- const theme = useTheme();
20
- const renderLogRow = (index)=>{
21
- const log = logs[index];
22
- if (!log) return null;
23
- return /*#__PURE__*/ _jsx(LogRow, {
24
- log: log,
25
- index: index,
26
- isExpanded: expandedRows.has(index),
27
- onToggle: onToggleExpand
28
- });
29
- };
30
- return /*#__PURE__*/ _jsx(Box, {
31
- sx: {
32
- height: '100%',
33
- backgroundColor: theme.palette.background.default,
34
- overflow: 'hidden',
35
- boxShadow: theme.shadows[1]
36
- },
37
- children: /*#__PURE__*/ _jsx(Virtuoso, {
38
- style: {
39
- height: '100%'
40
- },
41
- totalCount: logs.length,
42
- itemContent: renderLogRow
43
- })
44
- });
45
- };
46
-
47
- //# sourceMappingURL=VirtualizedLogsList.js.map
@@ -1 +0,0 @@
1
- {"version":3,"sources":["../../../../../src/panels/logs/components/VirtualizedLogsList.tsx"],"sourcesContent":["// Copyright 2025 The Perses Authors\n// Licensed under the Apache License, Version 2.0 (the \"License\");\n// you may not use this file except in compliance with the License.\n// You may obtain a copy of the License at\n//\n// http://www.apache.org/licenses/LICENSE-2.0\n//\n// Unless required by applicable law or agreed to in writing, software\n// distributed under the License is distributed on an \"AS IS\" BASIS,\n// WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.\n// See the License for the specific language governing permissions and\n// limitations under the License.\n\nimport React from 'react';\nimport { Box, useTheme } from '@mui/material';\nimport { Virtuoso } from 'react-virtuoso';\nimport { LogEntry } from '../../../model/click-house-data-types';\nimport { LogRow } from './LogRow/LogRow';\n\ninterface VirtualizedLogsListProps {\n logs: LogEntry[];\n expandedRows: Set<number>;\n onToggleExpand: (index: number) => void;\n}\n\nexport const VirtualizedLogsList: React.FC<VirtualizedLogsListProps> = ({ logs, expandedRows, onToggleExpand }) => {\n const theme = useTheme();\n\n const renderLogRow = (index: number) => {\n const log = logs[index];\n if (!log) return null;\n\n return <LogRow log={log} index={index} isExpanded={expandedRows.has(index)} onToggle={onToggleExpand} />;\n };\n\n return (\n <Box\n sx={{\n height: '100%',\n backgroundColor: theme.palette.background.default,\n overflow: 'hidden',\n boxShadow: theme.shadows[1],\n }}\n >\n <Virtuoso style={{ height: '100%' }} totalCount={logs.length} itemContent={renderLogRow} />\n </Box>\n );\n};\n"],"names":["React","Box","useTheme","Virtuoso","LogRow","VirtualizedLogsList","logs","expandedRows","onToggleExpand","theme","renderLogRow","index","log","isExpanded","has","onToggle","sx","height","backgroundColor","palette","background","default","overflow","boxShadow","shadows","style","totalCount","length","itemContent"],"mappings":"AAAA,oCAAoC;AACpC,kEAAkE;AAClE,mEAAmE;AACnE,0CAA0C;AAC1C,EAAE;AACF,6CAA6C;AAC7C,EAAE;AACF,sEAAsE;AACtE,oEAAoE;AACpE,2EAA2E;AAC3E,sEAAsE;AACtE,iCAAiC;;AAEjC,OAAOA,WAAW,QAAQ;AAC1B,SAASC,GAAG,EAAEC,QAAQ,QAAQ,gBAAgB;AAC9C,SAASC,QAAQ,QAAQ,iBAAiB;AAE1C,SAASC,MAAM,QAAQ,kBAAkB;AAQzC,OAAO,MAAMC,sBAA0D,CAAC,EAAEC,IAAI,EAAEC,YAAY,EAAEC,cAAc,EAAE;IAC5G,MAAMC,QAAQP;IAEd,MAAMQ,eAAe,CAACC;QACpB,MAAMC,MAAMN,IAAI,CAACK,MAAM;QACvB,IAAI,CAACC,KAAK,OAAO;QAEjB,qBAAO,KAACR;YAAOQ,KAAKA;YAAKD,OAAOA;YAAOE,YAAYN,aAAaO,GAAG,CAACH;YAAQI,UAAUP;;IACxF;IAEA,qBACE,KAACP;QACCe,IAAI;YACFC,QAAQ;YACRC,iBAAiBT,MAAMU,OAAO,CAACC,UAAU,CAACC,OAAO;YACjDC,UAAU;YACVC,WAAWd,MAAMe,OAAO,CAAC,EAAE;QAC7B;kBAEA,cAAA,KAACrB;YAASsB,OAAO;gBAAER,QAAQ;YAAO;YAAGS,YAAYpB,KAAKqB,MAAM;YAAEC,aAAalB;;;AAGjF,EAAE"}
@@ -1,6 +0,0 @@
1
- export declare const useExpandedRows: () => {
2
- expandedRows: Set<number>;
3
- toggleExpand: (index: number) => void;
4
- clearExpanded: () => void;
5
- };
6
- //# sourceMappingURL=useExpandedRows.d.ts.map
@@ -1 +0,0 @@
1
- {"version":3,"file":"useExpandedRows.d.ts","sourceRoot":"","sources":["../../../../../../src/panels/logs/components/hooks/useExpandedRows.ts"],"names":[],"mappings":"AAeA,eAAO,MAAM,eAAe;;0BAGe,MAAM;;CAqBhD,CAAC"}
@@ -1,37 +0,0 @@
1
- // Copyright 2025 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
- import { useState, useCallback } from 'react';
14
- export const useExpandedRows = ()=>{
15
- const [expandedRows, setExpandedRows] = useState(new Set());
16
- const toggleExpand = useCallback((index)=>{
17
- setExpandedRows((prev)=>{
18
- const newSet = new Set(prev);
19
- if (newSet.has(index)) {
20
- newSet.delete(index);
21
- } else {
22
- newSet.add(index);
23
- }
24
- return newSet;
25
- });
26
- }, []);
27
- const clearExpanded = useCallback(()=>{
28
- setExpandedRows(new Set());
29
- }, []);
30
- return {
31
- expandedRows,
32
- toggleExpand,
33
- clearExpanded
34
- };
35
- };
36
-
37
- //# sourceMappingURL=useExpandedRows.js.map
@@ -1 +0,0 @@
1
- {"version":3,"sources":["../../../../../../src/panels/logs/components/hooks/useExpandedRows.ts"],"sourcesContent":["// Copyright 2025 The Perses Authors\n// Licensed under the Apache License, Version 2.0 (the \"License\");\n// you may not use this file except in compliance with the License.\n// You may obtain a copy of the License at\n//\n// http://www.apache.org/licenses/LICENSE-2.0\n//\n// Unless required by applicable law or agreed to in writing, software\n// distributed under the License is distributed on an \"AS IS\" BASIS,\n// WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.\n// See the License for the specific language governing permissions and\n// limitations under the License.\n\nimport { useState, useCallback } from 'react';\n\nexport const useExpandedRows = () => {\n const [expandedRows, setExpandedRows] = useState<Set<number>>(new Set());\n\n const toggleExpand = useCallback((index: number) => {\n setExpandedRows((prev) => {\n const newSet = new Set(prev);\n if (newSet.has(index)) {\n newSet.delete(index);\n } else {\n newSet.add(index);\n }\n return newSet;\n });\n }, []);\n\n const clearExpanded = useCallback(() => {\n setExpandedRows(new Set());\n }, []);\n\n return {\n expandedRows,\n toggleExpand,\n clearExpanded,\n };\n};\n"],"names":["useState","useCallback","useExpandedRows","expandedRows","setExpandedRows","Set","toggleExpand","index","prev","newSet","has","delete","add","clearExpanded"],"mappings":"AAAA,oCAAoC;AACpC,kEAAkE;AAClE,mEAAmE;AACnE,0CAA0C;AAC1C,EAAE;AACF,6CAA6C;AAC7C,EAAE;AACF,sEAAsE;AACtE,oEAAoE;AACpE,2EAA2E;AAC3E,sEAAsE;AACtE,iCAAiC;AAEjC,SAASA,QAAQ,EAAEC,WAAW,QAAQ,QAAQ;AAE9C,OAAO,MAAMC,kBAAkB;IAC7B,MAAM,CAACC,cAAcC,gBAAgB,GAAGJ,SAAsB,IAAIK;IAElE,MAAMC,eAAeL,YAAY,CAACM;QAChCH,gBAAgB,CAACI;YACf,MAAMC,SAAS,IAAIJ,IAAIG;YACvB,IAAIC,OAAOC,GAAG,CAACH,QAAQ;gBACrBE,OAAOE,MAAM,CAACJ;YAChB,OAAO;gBACLE,OAAOG,GAAG,CAACL;YACb;YACA,OAAOE;QACT;IACF,GAAG,EAAE;IAEL,MAAMI,gBAAgBZ,YAAY;QAChCG,gBAAgB,IAAIC;IACtB,GAAG,EAAE;IAEL,OAAO;QACLF;QACAG;QACAO;IACF;AACF,EAAE"}
@@ -1,5 +0,0 @@
1
- export * from './Logs';
2
- export * from './LogsComponent';
3
- export * from './LogsSettingsEditor';
4
- export * from './logs-types';
5
- //# sourceMappingURL=index.d.ts.map
@@ -1 +0,0 @@
1
- {"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../../../../src/panels/logs/index.ts"],"names":[],"mappings":"AAaA,cAAc,QAAQ,CAAC;AACvB,cAAc,iBAAiB,CAAC;AAChC,cAAc,sBAAsB,CAAC;AACrC,cAAc,cAAc,CAAC"}
@@ -1,18 +0,0 @@
1
- // Copyright 2025 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
- export * from './Logs';
14
- export * from './LogsComponent';
15
- export * from './LogsSettingsEditor';
16
- export * from './logs-types';
17
-
18
- //# sourceMappingURL=index.js.map
@@ -1 +0,0 @@
1
- {"version":3,"sources":["../../../../src/panels/logs/index.ts"],"sourcesContent":["// Copyright 2025 The Perses Authors\n// Licensed under the Apache License, Version 2.0 (the \"License\");\n// you may not use this file except in compliance with the License.\n// You may obtain a copy of the License at\n//\n// http://www.apache.org/licenses/LICENSE-2.0\n//\n// Unless required by applicable law or agreed to in writing, software\n// distributed under the License is distributed on an \"AS IS\" BASIS,\n// WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.\n// See the License for the specific language governing permissions and\n// limitations under the License.\n\nexport * from './Logs';\nexport * from './LogsComponent';\nexport * from './LogsSettingsEditor';\nexport * from './logs-types';\n"],"names":[],"mappings":"AAAA,oCAAoC;AACpC,kEAAkE;AAClE,mEAAmE;AACnE,0CAA0C;AAC1C,EAAE;AACF,6CAA6C;AAC7C,EAAE;AACF,sEAAsE;AACtE,oEAAoE;AACpE,2EAA2E;AAC3E,sEAAsE;AACtE,iCAAiC;AAEjC,cAAc,SAAS;AACvB,cAAc,kBAAkB;AAChC,cAAc,uBAAuB;AACrC,cAAc,eAAe"}
@@ -1,16 +0,0 @@
1
- import { ThresholdOptions } from '@perses-dev/core';
2
- import { PanelProps, LegendSpecOptions } from '@perses-dev/plugin-system';
3
- import { ClickHouseTimeSeriesData } from '../../model/click-house-data-types';
4
- export type QueryData = ClickHouseTimeSeriesData;
5
- export type LogsProps = PanelProps<LogsOptions, QueryData>;
6
- export interface QuerySettingsOptions {
7
- queryIndex: number;
8
- colorMode: 'fixed' | 'fixed-single';
9
- colorValue: string;
10
- }
11
- export interface LogsOptions {
12
- legend?: LegendSpecOptions;
13
- thresholds?: ThresholdOptions;
14
- querySettings?: QuerySettingsOptions;
15
- }
16
- //# sourceMappingURL=logs-types.d.ts.map
@@ -1 +0,0 @@
1
- {"version":3,"file":"logs-types.d.ts","sourceRoot":"","sources":["../../../../src/panels/logs/logs-types.ts"],"names":[],"mappings":"AAaA,OAAO,EAAkB,gBAAgB,EAAE,MAAM,kBAAkB,CAAC;AACpE,OAAO,EAAE,UAAU,EAAE,iBAAiB,EAAE,MAAM,2BAA2B,CAAC;AAC1E,OAAO,EAAE,wBAAwB,EAAE,MAAM,oCAAoC,CAAC;AAE9E,MAAM,MAAM,SAAS,GAAG,wBAAwB,CAAC;AAEjD,MAAM,MAAM,SAAS,GAAG,UAAU,CAAC,WAAW,EAAE,SAAS,CAAC,CAAC;AAE3D,MAAM,WAAW,oBAAoB;IACnC,UAAU,EAAE,MAAM,CAAC;IACnB,SAAS,EAAE,OAAO,GAAG,cAAc,CAAC;IACpC,UAAU,EAAE,MAAM,CAAC;CACpB;AAED,MAAM,WAAW,WAAW;IAC1B,MAAM,CAAC,EAAE,iBAAiB,CAAC;IAC3B,UAAU,CAAC,EAAE,gBAAgB,CAAC;IAC9B,aAAa,CAAC,EAAE,oBAAoB,CAAC;CACtC"}
@@ -1,15 +0,0 @@
1
- // Copyright 2025 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
- export { };
14
-
15
- //# sourceMappingURL=logs-types.js.map
@@ -1 +0,0 @@
1
- {"version":3,"sources":["../../../../src/panels/logs/logs-types.ts"],"sourcesContent":["// Copyright 2025 The Perses Authors\n// Licensed under the Apache License, Version 2.0 (the \"License\");\n// you may not use this file except in compliance with the License.\n// You may obtain a copy of the License at\n//\n// http://www.apache.org/licenses/LICENSE-2.0\n//\n// Unless required by applicable law or agreed to in writing, software\n// distributed under the License is distributed on an \"AS IS\" BASIS,\n// WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.\n// See the License for the specific language governing permissions and\n// limitations under the License.\n\nimport { TimeSeriesData, ThresholdOptions } from '@perses-dev/core';\nimport { PanelProps, LegendSpecOptions } from '@perses-dev/plugin-system';\nimport { ClickHouseTimeSeriesData } from '../../model/click-house-data-types';\n\nexport type QueryData = ClickHouseTimeSeriesData; // Type of data returned by a query plugin and supported by this plugin\n\nexport type LogsProps = PanelProps<LogsOptions, QueryData>;\n\nexport interface QuerySettingsOptions {\n queryIndex: number;\n colorMode: 'fixed' | 'fixed-single';\n colorValue: string;\n}\n\nexport interface LogsOptions {\n legend?: LegendSpecOptions;\n thresholds?: ThresholdOptions;\n querySettings?: QuerySettingsOptions;\n}\n"],"names":[],"mappings":"AAAA,oCAAoC;AACpC,kEAAkE;AAClE,mEAAmE;AACnE,0CAA0C;AAC1C,EAAE;AACF,6CAA6C;AAC7C,EAAE;AACF,sEAAsE;AACtE,oEAAoE;AACpE,2EAA2E;AAC3E,sEAAsE;AACtE,iCAAiC;AAgBjC,WAIC"}