@perses-dev/clickhouse-plugin 0.3.0 → 0.5.0-beta.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 (128) hide show
  1. package/__mf/js/ClickHouse.f04664bb.js +6 -0
  2. package/__mf/js/async/1238.c73d9688.js +1 -0
  3. package/__mf/js/async/1490.e6f33090.js +22 -0
  4. package/__mf/js/async/1616.d273c2a4.js +1 -0
  5. package/__mf/js/async/1728.6e27cee7.js +1 -0
  6. package/__mf/js/async/1811.e34f9555.js +101 -0
  7. package/__mf/js/async/1825.3b06cbc6.js +1 -0
  8. package/__mf/js/async/1969.41d665ea.js +1 -0
  9. package/__mf/js/async/2043.827fc525.js +2 -0
  10. package/__mf/js/async/2386.9589aa86.js +2 -0
  11. package/__mf/js/async/3059.33197202.js +1 -0
  12. package/__mf/js/async/3181.b9a8c5ee.js +2 -0
  13. package/__mf/js/async/3664.16a2c8f0.js +2 -0
  14. package/__mf/js/async/392.f8d81681.js +2 -0
  15. package/__mf/js/async/{1964.dccce52b.js → 4121.437b34db.js} +2 -2
  16. package/__mf/js/async/{2651.3bdd6b21.js → 5002.5959f718.js} +1 -1
  17. package/__mf/js/async/5071.c665fc3d.js +1 -0
  18. package/__mf/js/async/5440.0e8e1dab.js +2 -0
  19. package/__mf/js/async/5501.1aae6bcc.js +2 -0
  20. package/__mf/js/async/{5214.d1943ccc.js → 5587.caa53d74.js} +1 -1
  21. package/__mf/js/async/6045.424732f1.js +1 -0
  22. package/__mf/js/async/6274.0299ceca.js +2 -0
  23. package/__mf/js/async/6283.18a07ff0.js +2 -0
  24. package/__mf/js/async/{8488.16a69ea5.js → 7177.661c72fd.js} +1 -1
  25. package/__mf/js/async/7192.738bb7d0.js +1 -0
  26. package/__mf/js/async/7370.aa412eb8.js +2 -0
  27. package/__mf/js/async/7968.d7870d30.js +1 -0
  28. package/__mf/js/async/7978.a9ba54ff.js +1 -0
  29. package/__mf/js/async/8035.9a47693a.js +38 -0
  30. package/__mf/js/async/8356.1990f800.js +1 -0
  31. package/__mf/js/async/8470.12101f38.js +2 -0
  32. package/__mf/js/async/8482.f99a0f22.js +1 -0
  33. package/__mf/js/async/8643.a67671b8.js +7 -0
  34. package/__mf/js/async/873.0b522a3c.js +1 -0
  35. package/__mf/js/async/9071.8c641d07.js +2 -0
  36. package/__mf/js/async/9235.239f5888.js +1 -0
  37. package/__mf/js/async/941.62a2fd61.js +2 -0
  38. package/__mf/js/async/9588.643512c3.js +1 -0
  39. package/__mf/js/async/9754.9efd83f1.js +10 -0
  40. package/__mf/js/async/9836.4cd749fe.js +1 -0
  41. package/__mf/js/async/__federation_expose_ClickHouseDatasource.07019854.js +2 -0
  42. package/__mf/js/async/__federation_expose_ClickHouseLogQuery.f492a83a.js +20 -0
  43. package/__mf/js/async/__federation_expose_ClickHouseTimeSeriesQuery.f384ac43.js +20 -0
  44. package/__mf/js/main.5ab8afc7.js +6 -0
  45. package/lib/bootstrap.js +1 -1
  46. package/lib/bootstrap.js.map +1 -1
  47. package/lib/cjs/index-federation.js +12 -12
  48. package/lib/cjs/queries/click-house-log-query/ClickHouseLogQueryEditor.js +4 -15
  49. package/lib/cjs/queries/click-house-time-series-query/ClickHouseQueryEditor.js +4 -15
  50. package/lib/cjs/queries/constants.js +3 -3
  51. package/lib/components/ClickQLEditor.js +1 -1
  52. package/lib/components/ClickQLEditor.js.map +1 -1
  53. package/lib/datasources/click-house-datasource/ClickHouseDatasourceEditor.js +1 -1
  54. package/lib/datasources/click-house-datasource/ClickHouseDatasourceEditor.js.map +1 -1
  55. package/lib/queries/click-house-log-query/ClickHouseLogQueryEditor.d.ts.map +1 -1
  56. package/lib/queries/click-house-log-query/ClickHouseLogQueryEditor.js +5 -16
  57. package/lib/queries/click-house-log-query/ClickHouseLogQueryEditor.js.map +1 -1
  58. package/lib/queries/click-house-log-query/log-query-plugin-interface.d.ts +1 -3
  59. package/lib/queries/click-house-log-query/log-query-plugin-interface.d.ts.map +1 -1
  60. package/lib/queries/click-house-log-query/log-query-plugin-interface.js.map +1 -1
  61. package/lib/queries/click-house-time-series-query/ClickHouseQueryEditor.d.ts.map +1 -1
  62. package/lib/queries/click-house-time-series-query/ClickHouseQueryEditor.js +5 -16
  63. package/lib/queries/click-house-time-series-query/ClickHouseQueryEditor.js.map +1 -1
  64. package/mf-manifest.json +82 -82
  65. package/mf-stats.json +82 -82
  66. package/package.json +6 -6
  67. package/__mf/js/ClickHouse.8f89cb2c.js +0 -5
  68. package/__mf/js/async/1360.33f7e672.js +0 -10
  69. package/__mf/js/async/1580.5bd6ed40.js +0 -2
  70. package/__mf/js/async/2114.27f707a0.js +0 -1
  71. package/__mf/js/async/2178.16cf2da3.js +0 -2
  72. package/__mf/js/async/2226.1d4436dc.js +0 -1
  73. package/__mf/js/async/2292.248bd1ea.js +0 -2
  74. package/__mf/js/async/2472.9f5fd5cf.js +0 -22
  75. package/__mf/js/async/2652.fd27ec3f.js +0 -101
  76. package/__mf/js/async/2708.7448dd5c.js +0 -1
  77. package/__mf/js/async/282.76b8b044.js +0 -1
  78. package/__mf/js/async/3224.5735a223.js +0 -1
  79. package/__mf/js/async/3431.54fb88df.js +0 -1
  80. package/__mf/js/async/3863.70d46fa8.js +0 -2
  81. package/__mf/js/async/3960.e0eb27f3.js +0 -2
  82. package/__mf/js/async/3980.2a6bea70.js +0 -2
  83. package/__mf/js/async/4075.b85e5581.js +0 -1
  84. package/__mf/js/async/4238.a8170f41.js +0 -1
  85. package/__mf/js/async/4269.a389e8c6.js +0 -2
  86. package/__mf/js/async/4421.750852d0.js +0 -1
  87. package/__mf/js/async/5409.c4876520.js +0 -1
  88. package/__mf/js/async/5981.f3abf3c8.js +0 -2
  89. package/__mf/js/async/6134.a0f2d3c5.js +0 -38
  90. package/__mf/js/async/6292.4311054b.js +0 -1
  91. package/__mf/js/async/6333.dfeaf029.js +0 -2
  92. package/__mf/js/async/6377.6c8c4e15.js +0 -2
  93. package/__mf/js/async/6620.1d8e42fd.js +0 -2
  94. package/__mf/js/async/6770.e50c0d08.js +0 -1
  95. package/__mf/js/async/694.c93f9cdf.js +0 -1
  96. package/__mf/js/async/7376.c01a7f82.js +0 -1
  97. package/__mf/js/async/738.0cdf47b4.js +0 -1
  98. package/__mf/js/async/7740.b3df297f.js +0 -1
  99. package/__mf/js/async/7991.64a1aaaf.js +0 -7
  100. package/__mf/js/async/8216.44c6334e.js +0 -1
  101. package/__mf/js/async/9173.90ba4f20.js +0 -2
  102. package/__mf/js/async/9563.6903fd59.js +0 -2
  103. package/__mf/js/async/__federation_expose_ClickHouseDatasource.e3722d39.js +0 -2
  104. package/__mf/js/async/__federation_expose_ClickHouseLogQuery.63888cb7.js +0 -20
  105. package/__mf/js/async/__federation_expose_ClickHouseTimeSeriesQuery.6a30813e.js +0 -20
  106. package/__mf/js/main.3bc5d901.js +0 -5
  107. /package/__mf/css/async/{1580.d3010b86.css → 3061.d3010b86.css} +0 -0
  108. /package/__mf/css/async/{2341.d3010b86.css → 7370.d3010b86.css} +0 -0
  109. /package/__mf/js/async/{2472.9f5fd5cf.js.LICENSE.txt → 1490.e6f33090.js.LICENSE.txt} +0 -0
  110. /package/__mf/js/async/{2292.248bd1ea.js.LICENSE.txt → 2043.827fc525.js.LICENSE.txt} +0 -0
  111. /package/__mf/js/async/{1580.5bd6ed40.js.LICENSE.txt → 2386.9589aa86.js.LICENSE.txt} +0 -0
  112. /package/__mf/js/async/{3863.70d46fa8.js.LICENSE.txt → 3181.b9a8c5ee.js.LICENSE.txt} +0 -0
  113. /package/__mf/js/async/{6620.1d8e42fd.js.LICENSE.txt → 3664.16a2c8f0.js.LICENSE.txt} +0 -0
  114. /package/__mf/js/async/{5981.f3abf3c8.js.LICENSE.txt → 392.f8d81681.js.LICENSE.txt} +0 -0
  115. /package/__mf/js/async/{1964.dccce52b.js.LICENSE.txt → 4121.437b34db.js.LICENSE.txt} +0 -0
  116. /package/__mf/js/async/{6377.6c8c4e15.js.LICENSE.txt → 5440.0e8e1dab.js.LICENSE.txt} +0 -0
  117. /package/__mf/js/async/{2178.16cf2da3.js.LICENSE.txt → 5501.1aae6bcc.js.LICENSE.txt} +0 -0
  118. /package/__mf/js/async/{3960.e0eb27f3.js.LICENSE.txt → 6274.0299ceca.js.LICENSE.txt} +0 -0
  119. /package/__mf/js/async/{3980.2a6bea70.js.LICENSE.txt → 6283.18a07ff0.js.LICENSE.txt} +0 -0
  120. /package/__mf/js/async/{4269.a389e8c6.js.LICENSE.txt → 7370.aa412eb8.js.LICENSE.txt} +0 -0
  121. /package/__mf/js/async/{9173.90ba4f20.js.LICENSE.txt → 8470.12101f38.js.LICENSE.txt} +0 -0
  122. /package/__mf/js/async/{7991.64a1aaaf.js.LICENSE.txt → 8643.a67671b8.js.LICENSE.txt} +0 -0
  123. /package/__mf/js/async/{6333.dfeaf029.js.LICENSE.txt → 9071.8c641d07.js.LICENSE.txt} +0 -0
  124. /package/__mf/js/async/{9563.6903fd59.js.LICENSE.txt → 941.62a2fd61.js.LICENSE.txt} +0 -0
  125. /package/__mf/js/async/{1360.33f7e672.js.LICENSE.txt → 9754.9efd83f1.js.LICENSE.txt} +0 -0
  126. /package/__mf/js/async/{__federation_expose_ClickHouseDatasource.e3722d39.js.LICENSE.txt → __federation_expose_ClickHouseDatasource.07019854.js.LICENSE.txt} +0 -0
  127. /package/__mf/js/async/{__federation_expose_ClickHouseLogQuery.63888cb7.js.LICENSE.txt → __federation_expose_ClickHouseLogQuery.f492a83a.js.LICENSE.txt} +0 -0
  128. /package/__mf/js/async/{__federation_expose_ClickHouseTimeSeriesQuery.6a30813e.js.LICENSE.txt → __federation_expose_ClickHouseTimeSeriesQuery.f384ac43.js.LICENSE.txt} +0 -0
@@ -1 +1 @@
1
- {"version":3,"sources":["../../../../src/queries/click-house-log-query/ClickHouseLogQueryEditor.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 {\n DatasourceSelect,\n DatasourceSelectProps,\n isVariableDatasource,\n OptionsEditorProps,\n} from '@perses-dev/plugin-system';\nimport { ReactElement, useCallback } from 'react';\nimport { produce } from 'immer';\nimport { DATASOURCE_KIND, DEFAULT_DATASOURCE } from '../constants';\nimport { ClickQLEditor } from '../../components';\nimport { Stack } from '@mui/material';\nimport { queryExample } from '../../components/constants';\nimport { ClickHouseLogQuerySpec } from './click-house-log-query-types';\nimport { useQueryState } from '../query-editor-model';\n\ntype ClickHouseQueryEditorProps = OptionsEditorProps<ClickHouseLogQuerySpec>;\n\nexport function ClickHouseLogQueryEditor(props: ClickHouseQueryEditorProps): ReactElement {\n const { onChange, value, queryHandlerSettings } = props;\n const { datasource } = value;\n const selectedDatasource = datasource ?? DEFAULT_DATASOURCE;\n const { query, handleQueryChange, handleQueryBlur } = useQueryState(props);\n\n const handleDatasourceChange: DatasourceSelectProps['onChange'] = (newDatasourceSelection) => {\n if (!isVariableDatasource(newDatasourceSelection) && newDatasourceSelection.kind === DATASOURCE_KIND) {\n onChange(\n produce(value, (draft) => {\n draft.datasource = newDatasourceSelection;\n })\n );\n\n if (queryHandlerSettings?.setWatchOtherSpecs)\n queryHandlerSettings.setWatchOtherSpecs({ ...value, datasource: newDatasourceSelection });\n return;\n }\n throw new Error('Got unexpected non ClickHouse datasource selection');\n };\n\n // Immediate query execution on Enter or blur\n const handleQueryExecute = (query: string) => {\n if (queryHandlerSettings?.watchQueryChanges) {\n queryHandlerSettings.watchQueryChanges(query);\n }\n onChange(\n produce(value, (draft) => {\n draft.query = query;\n })\n );\n };\n\n const handleClickHouseQueryChange = useCallback(\n (e: string) => {\n handleQueryChange(e);\n if (queryHandlerSettings?.watchQueryChanges) {\n queryHandlerSettings.watchQueryChanges(e);\n }\n },\n [handleQueryChange, queryHandlerSettings]\n );\n\n const examplesStyle: React.CSSProperties = {\n fontSize: '11px',\n color: '#777',\n backgroundColor: '#f5f5f5',\n padding: '8px',\n borderRadius: '4px',\n fontFamily: 'Monaco, Menlo, \"Ubuntu Mono\", monospace',\n whiteSpace: 'pre-wrap',\n lineHeight: '1.3',\n };\n\n return (\n <Stack spacing={1.5}>\n <DatasourceSelect\n datasourcePluginKind={DATASOURCE_KIND}\n value={selectedDatasource}\n onChange={handleDatasourceChange}\n label=\"ClickHouse Datasource\"\n notched\n />\n <ClickQLEditor\n value={query}\n onChange={handleClickHouseQueryChange}\n onBlur={queryHandlerSettings?.runWithOnBlur ? handleQueryBlur : undefined}\n onKeyDown={(event) => {\n if (event.key === 'Enter' && (event.ctrlKey || event.metaKey)) {\n event.preventDefault();\n handleQueryExecute(query);\n }\n }}\n placeholder=\"Enter ClickHouse SQL query\"\n />\n\n <details>\n <summary style={{ cursor: 'pointer', fontSize: '12px', color: '#666', marginBottom: '8px' }}>\n Query Examples\n </summary>\n <div style={examplesStyle}>{queryExample}</div>\n </details>\n </Stack>\n );\n}\n"],"names":["DatasourceSelect","isVariableDatasource","useCallback","produce","DATASOURCE_KIND","DEFAULT_DATASOURCE","ClickQLEditor","Stack","queryExample","useQueryState","ClickHouseLogQueryEditor","props","onChange","value","queryHandlerSettings","datasource","selectedDatasource","query","handleQueryChange","handleQueryBlur","handleDatasourceChange","newDatasourceSelection","kind","draft","setWatchOtherSpecs","Error","handleQueryExecute","watchQueryChanges","handleClickHouseQueryChange","e","examplesStyle","fontSize","color","backgroundColor","padding","borderRadius","fontFamily","whiteSpace","lineHeight","spacing","datasourcePluginKind","label","notched","onBlur","runWithOnBlur","undefined","onKeyDown","event","key","ctrlKey","metaKey","preventDefault","placeholder","details","summary","style","cursor","marginBottom","div"],"mappings":"AAAA,oCAAoC;AACpC,kEAAkE;AAClE,mEAAmE;AACnE,0C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sBa,mBAAmB;YAC3Cb,qBAAqBa,iBAAiB,CAACE;QACzC;IACF,GACA;QAACX;QAAmBJ;KAAqB;IAG3C,MAAMgB,gBAAqC;QACzCC,UAAU;QACVC,OAAO;QACPC,iBAAiB;QACjBC,SAAS;QACTC,cAAc;QACdC,YAAY;QACZC,YAAY;QACZC,YAAY;IACd;IAEA,qBACE,MAAC/B;QAAMgC,SAAS;;0BACd,KAACvC;gBACCwC,sBAAsBpC;gBACtBS,OAAOG;gBACPJ,UAAUQ;gBACVqB,OAAM;gBACNC,OAAO;;0BAET,KAACpC;gBACCO,OAAOI;gBACPL,UAAUgB;gBACVe,QAAQ7B,sBAAsB8B,gBAAgBzB,kBAAkB0B;gBAChEC,WAAW,CAACC;oBACV,IAAIA,MAAMC,GAAG,KAAK,WAAYD,CAAAA,MAAME,OAAO,IAAIF,MAAMG,OAAO,AAAD,GAAI;wBAC7DH,MAAMI,cAAc;wBACpBzB,mBAAmBT;oBACrB;gBACF;gBACAmC,aAAY;;0BAGd,MAACC;;kCACC,KAACC;wBAAQC,OAAO;4BAAEC,QAAQ;4BAAWzB,UAAU;4BAAQC,OAAO;4BAAQyB,cAAc;wBAAM;kCAAG;;kCAG7F,KAACC;wBAAIH,OAAOzB;kCAAgBtB;;;;;;AAIpC"}
1
+ {"version":3,"sources":["../../../../src/queries/click-house-log-query/ClickHouseLogQueryEditor.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 {\n DatasourceSelect,\n DatasourceSelectProps,\n isVariableDatasource,\n OptionsEditorProps,\n} from '@perses-dev/plugin-system';\nimport { ReactElement, useCallback } from 'react';\nimport { produce } from 'immer';\nimport { Stack } from '@mui/material';\nimport { DATASOURCE_KIND, DEFAULT_DATASOURCE } from '../constants';\nimport { ClickQLEditor } from '../../components';\nimport { queryExample } from '../../components/constants';\nimport { useQueryState } from '../query-editor-model';\nimport { ClickHouseLogQuerySpec } from './click-house-log-query-types';\n\ntype ClickHouseQueryEditorProps = OptionsEditorProps<ClickHouseLogQuerySpec>;\n\nexport function ClickHouseLogQueryEditor(props: ClickHouseQueryEditorProps): ReactElement {\n const { onChange, value } = props;\n const { datasource } = value;\n const selectedDatasource = datasource ?? DEFAULT_DATASOURCE;\n const { query, handleQueryChange, handleQueryBlur } = useQueryState(props);\n\n const handleDatasourceChange: DatasourceSelectProps['onChange'] = (newDatasourceSelection) => {\n if (!isVariableDatasource(newDatasourceSelection) && newDatasourceSelection.kind === DATASOURCE_KIND) {\n onChange(\n produce(value, (draft) => {\n draft.datasource = newDatasourceSelection;\n })\n );\n return;\n }\n throw new Error('Got unexpected non ClickHouse datasource selection');\n };\n\n // Immediate query execution on Enter or blur\n const handleQueryExecute = (query: string) => {\n onChange(\n produce(value, (draft) => {\n draft.query = query;\n })\n );\n };\n\n const handleClickHouseQueryChange = useCallback(\n (e: string) => {\n handleQueryChange(e);\n },\n [handleQueryChange]\n );\n\n const examplesStyle: React.CSSProperties = {\n fontSize: '11px',\n color: '#777',\n backgroundColor: '#f5f5f5',\n padding: '8px',\n borderRadius: '4px',\n fontFamily: 'Monaco, Menlo, \"Ubuntu Mono\", monospace',\n whiteSpace: 'pre-wrap',\n lineHeight: '1.3',\n };\n\n return (\n <Stack spacing={1.5}>\n <DatasourceSelect\n datasourcePluginKind={DATASOURCE_KIND}\n value={selectedDatasource}\n onChange={handleDatasourceChange}\n label=\"ClickHouse Datasource\"\n notched\n />\n <ClickQLEditor\n value={query}\n onChange={handleClickHouseQueryChange}\n onBlur={handleQueryBlur}\n onKeyDown={(event) => {\n if (event.key === 'Enter' && (event.ctrlKey || event.metaKey)) {\n event.preventDefault();\n handleQueryExecute(query);\n }\n }}\n placeholder=\"Enter ClickHouse SQL query\"\n />\n\n <details>\n <summary style={{ cursor: 'pointer', fontSize: '12px', color: '#666', marginBottom: '8px' }}>\n Query Examples\n </summary>\n <div style={examplesStyle}>{queryExample}</div>\n </details>\n </Stack>\n );\n}\n"],"names":["DatasourceSelect","isVariableDatasource","useCallback","produce","Stack","DATASOURCE_KIND","DEFAULT_DATASOURCE","ClickQLEditor","queryExample","useQueryState","ClickHouseLogQueryEditor","props","onChange","value","datasource","selectedDatasource","query","handleQueryChange","handleQueryBlur","handleDatasourceChange","newDatasourceSelection","kind","draft","Error","handleQueryExecute","handleClickHouseQueryChange","e","examplesStyle","fontSize","color","backgroundColor","padding","borderRadius","fontFamily","whiteSpace","lineHeight","spacing","datasourcePluginKind","label","notched","onBlur","onKeyDown","event","key","ctrlKey","metaKey","preventDefault","placeholder","details","summary","style","cursor","marginBottom","div"],"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,SACEA,gBAAgB,EAEhBC,oBAAoB,QAEf,4BAA4B;AACnC,SAAuBC,WAAW,QAAQ,QAAQ;AAClD,SAASC,OAAO,QAAQ,QAAQ;AAChC,SAASC,KAAK,QAAQ,gBAAgB;AACtC,SAASC,eAAe,EAAEC,kBAAkB,QAAQ,eAAe;AACnE,SAASC,aAAa,QAAQ,mBAAmB;AACjD,SAASC,YAAY,QAAQ,6BAA6B;AAC1D,SAASC,aAAa,QAAQ,wBAAwB;AAKtD,OAAO,SAASC,yBAAyBC,KAAiC;IACxE,MAAM,EAAEC,QAAQ,EAAEC,KAAK,EAAE,GAAGF;IAC5B,MAAM,EAAEG,UAAU,EAAE,GAAGD;IACvB,MAAME,qBAAqBD,cAAcR;IACz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, UnknownSpec, LogData } from '@perses-dev/core';
2
2
  import { DatasourceStore, Plugin, VariableStateMap } from '@perses-dev/plugin-system';
3
- import { LogData } from '@perses-dev/core';
4
3
  export interface LogQueryResult {
5
4
  logs: LogData;
6
5
  timeRange: AbsoluteTimeRange;
@@ -12,7 +11,6 @@ export interface ClickHouseQueryContext {
12
11
  timeRange: AbsoluteTimeRange;
13
12
  variableState: VariableStateMap;
14
13
  datasourceStore: DatasourceStore;
15
- refreshKey: string;
16
14
  }
17
15
  type LogQueryPluginDependencies = {
18
16
  variables?: string[];
@@ -1 +1 @@
1
- {"version":3,"file":"log-query-plugin-interface.d.ts","sourceRoot":"","sources":["../../../../src/queries/click-house-log-query/log-query-plugin-interface.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,iBAAiB,EAAE,WAAW,EAAE,MAAM,kBAAkB,CAAC;AAClE,OAAO,EAAE,eAAe,EAAE,MAAM,EAAE,gBAAgB,EAAE,MAAM,2BAA2B,CAAC;AACtF,OAAO,EAAE,OAAO,EAAE,MAAM,kBAAkB,CAAC;AAE3C,MAAM,WAAW,cAAc;IAC7B,IAAI,EAAE,OAAO,CAAC;IACd,SAAS,EAAE,iBAAiB,CAAC;IAC7B,QAAQ,CAAC,EAAE;QACT,mBAAmB,EAAE,MAAM,CAAC;KAC7B,CAAC;CACH;AAED,MAAM,WAAW,sBAAsB;IACrC,SAAS,EAAE,iBAAiB,CAAC;IAC7B,aAAa,EAAE,gBAAgB,CAAC;IAChC,eAAe,EAAE,eAAe,CAAC;IACjC,UAAU,EAAE,MAAM,CAAC;CACpB;AAED,KAAK,0BAA0B,GAAG;IAChC,SAAS,CAAC,EAAE,MAAM,EAAE,CAAC;CACtB,CAAC;AAEF,MAAM,WAAW,cAAc,CAAC,IAAI,GAAG,WAAW,CAAE,SAAQ,MAAM,CAAC,IAAI,CAAC;IACtE,UAAU,EAAE,CAAC,IAAI,EAAE,IAAI,EAAE,GAAG,EAAE,sBAAsB,KAAK,OAAO,CAAC,cAAc,CAAC,CAAC;IACjF,SAAS,CAAC,EAAE,CAAC,IAAI,EAAE,IAAI,EAAE,GAAG,EAAE,sBAAsB,KAAK,0BAA0B,CAAC;CACrF"}
1
+ {"version":3,"file":"log-query-plugin-interface.d.ts","sourceRoot":"","sources":["../../../../src/queries/click-house-log-query/log-query-plugin-interface.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,iBAAiB,EAAE,WAAW,EAAE,OAAO,EAAE,MAAM,kBAAkB,CAAC;AAC3E,OAAO,EAAE,eAAe,EAAE,MAAM,EAAE,gBAAgB,EAAE,MAAM,2BAA2B,CAAC;AAEtF,MAAM,WAAW,cAAc;IAC7B,IAAI,EAAE,OAAO,CAAC;IACd,SAAS,EAAE,iBAAiB,CAAC;IAC7B,QAAQ,CAAC,EAAE;QACT,mBAAmB,EAAE,MAAM,CAAC;KAC7B,CAAC;CACH;AAED,MAAM,WAAW,sBAAsB;IACrC,SAAS,EAAE,iBAAiB,CAAC;IAC7B,aAAa,EAAE,gBAAgB,CAAC;IAChC,eAAe,EAAE,eAAe,CAAC;CAClC;AAED,KAAK,0BAA0B,GAAG;IAChC,SAAS,CAAC,EAAE,MAAM,EAAE,CAAC;CACtB,CAAC;AAEF,MAAM,WAAW,cAAc,CAAC,IAAI,GAAG,WAAW,CAAE,SAAQ,MAAM,CAAC,IAAI,CAAC;IACtE,UAAU,EAAE,CAAC,IAAI,EAAE,IAAI,EAAE,GAAG,EAAE,sBAAsB,KAAK,OAAO,CAAC,cAAc,CAAC,CAAC;IACjF,SAAS,CAAC,EAAE,CAAC,IAAI,EAAE,IAAI,EAAE,GAAG,EAAE,sBAAsB,KAAK,0BAA0B,CAAC;CACrF"}
@@ -1 +1 @@
1
- {"version":3,"sources":["../../../../src/queries/click-house-log-query/log-query-plugin-interface.ts"],"sourcesContent":["import { AbsoluteTimeRange, UnknownSpec } from '@perses-dev/core';\nimport { DatasourceStore, Plugin, VariableStateMap } from '@perses-dev/plugin-system';\nimport { LogData } from '@perses-dev/core';\n\nexport interface LogQueryResult {\n logs: LogData;\n timeRange: AbsoluteTimeRange;\n metadata?: {\n executedQueryString: string;\n };\n}\n\nexport interface ClickHouseQueryContext {\n timeRange: AbsoluteTimeRange;\n variableState: VariableStateMap;\n datasourceStore: DatasourceStore;\n refreshKey: string;\n}\n\ntype LogQueryPluginDependencies = {\n variables?: string[];\n};\n\nexport interface LogQueryPlugin<Spec = UnknownSpec> extends Plugin<Spec> {\n getLogData: (spec: Spec, ctx: ClickHouseQueryContext) => Promise<LogQueryResult>;\n dependsOn?: (spec: Spec, ctx: ClickHouseQueryContext) => LogQueryPluginDependencies;\n}\n"],"names":[],"mappings":"AAuBA,WAGC"}
1
+ {"version":3,"sources":["../../../../src/queries/click-house-log-query/log-query-plugin-interface.ts"],"sourcesContent":["import { AbsoluteTimeRange, UnknownSpec, LogData } from '@perses-dev/core';\nimport { DatasourceStore, Plugin, VariableStateMap } from '@perses-dev/plugin-system';\n\nexport interface LogQueryResult {\n logs: LogData;\n timeRange: AbsoluteTimeRange;\n metadata?: {\n executedQueryString: string;\n };\n}\n\nexport interface ClickHouseQueryContext {\n timeRange: AbsoluteTimeRange;\n variableState: VariableStateMap;\n datasourceStore: DatasourceStore;\n}\n\ntype LogQueryPluginDependencies = {\n variables?: string[];\n};\n\nexport interface LogQueryPlugin<Spec = UnknownSpec> extends Plugin<Spec> {\n getLogData: (spec: Spec, ctx: ClickHouseQueryContext) => Promise<LogQueryResult>;\n dependsOn?: (spec: Spec, ctx: ClickHouseQueryContext) => LogQueryPluginDependencies;\n}\n"],"names":[],"mappings":"AAqBA,WAGC"}
@@ -1 +1 @@
1
- {"version":3,"file":"ClickHouseQueryEditor.d.ts","sourceRoot":"","sources":["../../../../src/queries/click-house-time-series-query/ClickHouseQueryEditor.tsx"],"names":[],"mappings":"AAaA,OAAO,EAIL,kBAAkB,EACnB,MAAM,2BAA2B,CAAC;AACnC,OAAO,EAAE,YAAY,EAAe,MAAM,OAAO,CAAC;AAElD,OAAO,EAAE,6BAA6B,EAAE,MAAM,2BAA2B,CAAC;AAO1E,KAAK,oCAAoC,GAAG,kBAAkB,CAAC,6BAA6B,CAAC,CAAC;AAE9F,wBAAgB,+BAA+B,CAAC,KAAK,EAAE,oCAAoC,GAAG,YAAY,CAoFzG"}
1
+ {"version":3,"file":"ClickHouseQueryEditor.d.ts","sourceRoot":"","sources":["../../../../src/queries/click-house-time-series-query/ClickHouseQueryEditor.tsx"],"names":[],"mappings":"AAaA,OAAO,EAIL,kBAAkB,EACnB,MAAM,2BAA2B,CAAC;AACnC,OAAO,EAAE,YAAY,EAAe,MAAM,OAAO,CAAC;AAOlD,OAAO,EAAE,6BAA6B,EAAE,MAAM,2BAA2B,CAAC;AAE1E,KAAK,oCAAoC,GAAG,kBAAkB,CAAC,6BAA6B,CAAC,CAAC;AAE9F,wBAAgB,+BAA+B,CAAC,KAAK,EAAE,oCAAoC,GAAG,YAAY,CA2EzG"}
@@ -1,3 +1,4 @@
1
+ import { jsx as _jsx, jsxs as _jsxs } from "react/jsx-runtime";
1
2
  // Copyright 2025 The Perses Authors
2
3
  // Licensed under the Apache License, Version 2.0 (the "License");
3
4
  // you may not use this file except in compliance with the License.
@@ -10,17 +11,16 @@
10
11
  // WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
11
12
  // See the License for the specific language governing permissions and
12
13
  // limitations under the License.
13
- import { jsx as _jsx, jsxs as _jsxs } from "react/jsx-runtime";
14
14
  import { DatasourceSelect, isVariableDatasource } from '@perses-dev/plugin-system';
15
15
  import { useCallback } from 'react';
16
16
  import { produce } from 'immer';
17
+ import { Stack } from '@mui/material';
17
18
  import { DATASOURCE_KIND, DEFAULT_DATASOURCE } from '../constants';
18
19
  import { ClickQLEditor } from '../../components';
19
- import { Stack } from '@mui/material';
20
20
  import { queryExample } from '../../components/constants';
21
21
  import { useQueryState } from '../query-editor-model';
22
22
  export function ClickHouseTimeSeriesQueryEditor(props) {
23
- const { onChange, value, queryHandlerSettings } = props;
23
+ const { onChange, value } = props;
24
24
  const { datasource } = value;
25
25
  const selectedDatasource = datasource ?? DEFAULT_DATASOURCE;
26
26
  const { query, handleQueryChange, handleQueryBlur } = useQueryState(props);
@@ -29,31 +29,20 @@ export function ClickHouseTimeSeriesQueryEditor(props) {
29
29
  onChange(produce(value, (draft)=>{
30
30
  draft.datasource = newDatasourceSelection;
31
31
  }));
32
- if (queryHandlerSettings?.setWatchOtherSpecs) queryHandlerSettings.setWatchOtherSpecs({
33
- ...value,
34
- datasource: newDatasourceSelection
35
- });
36
32
  return;
37
33
  }
38
34
  throw new Error('Got unexpected non ClickHouse datasource selection');
39
35
  };
40
36
  // Immediate query execution on Enter or blur
41
37
  const handleQueryExecute = (query)=>{
42
- if (queryHandlerSettings?.watchQueryChanges) {
43
- queryHandlerSettings.watchQueryChanges(query);
44
- }
45
38
  onChange(produce(value, (draft)=>{
46
39
  draft.query = query;
47
40
  }));
48
41
  };
49
42
  const handleClickHouseQueryChange = useCallback((e)=>{
50
43
  handleQueryChange(e);
51
- if (queryHandlerSettings?.watchQueryChanges) {
52
- queryHandlerSettings.watchQueryChanges(e);
53
- }
54
44
  }, [
55
- handleQueryChange,
56
- queryHandlerSettings
45
+ handleQueryChange
57
46
  ]);
58
47
  const examplesStyle = {
59
48
  fontSize: '11px',
@@ -78,7 +67,7 @@ export function ClickHouseTimeSeriesQueryEditor(props) {
78
67
  /*#__PURE__*/ _jsx(ClickQLEditor, {
79
68
  value: query,
80
69
  onChange: handleClickHouseQueryChange,
81
- onBlur: queryHandlerSettings?.runWithOnBlur ? handleQueryBlur : undefined,
70
+ onBlur: handleQueryBlur,
82
71
  onKeyDown: (event)=>{
83
72
  if (event.key === 'Enter' && (event.ctrlKey || event.metaKey)) {
84
73
  event.preventDefault();
@@ -1 +1 @@
1
- {"version":3,"sources":["../../../../src/queries/click-house-time-series-query/ClickHouseQueryEditor.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 {\n DatasourceSelect,\n DatasourceSelectProps,\n isVariableDatasource,\n OptionsEditorProps,\n} from '@perses-dev/plugin-system';\nimport { ReactElement, useCallback } from 'react';\nimport { produce } from 'immer';\nimport { ClickHouseTimeSeriesQuerySpec } from './click-house-query-types';\nimport { DATASOURCE_KIND, DEFAULT_DATASOURCE } from '../constants';\nimport { ClickQLEditor } from '../../components';\nimport { Stack } from '@mui/material';\nimport { queryExample } from '../../components/constants';\nimport { useQueryState } from '../query-editor-model';\n\ntype ClickHouseTimeSeriesQueryEditorProps = OptionsEditorProps<ClickHouseTimeSeriesQuerySpec>;\n\nexport function ClickHouseTimeSeriesQueryEditor(props: ClickHouseTimeSeriesQueryEditorProps): ReactElement {\n const { onChange, value, queryHandlerSettings } = props;\n const { datasource } = value;\n const selectedDatasource = datasource ?? DEFAULT_DATASOURCE;\n const { query, handleQueryChange, handleQueryBlur } = useQueryState(props);\n\n const handleDatasourceChange: DatasourceSelectProps['onChange'] = (newDatasourceSelection) => {\n if (!isVariableDatasource(newDatasourceSelection) && newDatasourceSelection.kind === DATASOURCE_KIND) {\n onChange(\n produce(value, (draft) => {\n draft.datasource = newDatasourceSelection;\n })\n );\n\n if (queryHandlerSettings?.setWatchOtherSpecs)\n queryHandlerSettings.setWatchOtherSpecs({ ...value, datasource: newDatasourceSelection });\n return;\n }\n throw new Error('Got unexpected non ClickHouse datasource selection');\n };\n\n // Immediate query execution on Enter or blur\n const handleQueryExecute = (query: string) => {\n if (queryHandlerSettings?.watchQueryChanges) {\n queryHandlerSettings.watchQueryChanges(query);\n }\n onChange(\n produce(value, (draft) => {\n draft.query = query;\n })\n );\n };\n\n const handleClickHouseQueryChange = useCallback(\n (e: string) => {\n handleQueryChange(e);\n if (queryHandlerSettings?.watchQueryChanges) {\n queryHandlerSettings.watchQueryChanges(e);\n }\n },\n [handleQueryChange, queryHandlerSettings]\n );\n\n const examplesStyle: React.CSSProperties = {\n fontSize: '11px',\n color: '#777',\n backgroundColor: '#f5f5f5',\n padding: '8px',\n borderRadius: '4px',\n fontFamily: 'Monaco, Menlo, \"Ubuntu Mono\", monospace',\n whiteSpace: 'pre-wrap',\n lineHeight: '1.3',\n };\n\n return (\n <Stack spacing={1.5}>\n <DatasourceSelect\n datasourcePluginKind={DATASOURCE_KIND}\n value={selectedDatasource}\n onChange={handleDatasourceChange}\n label=\"ClickHouse Datasource\"\n notched\n />\n <ClickQLEditor\n value={query}\n onChange={handleClickHouseQueryChange}\n onBlur={queryHandlerSettings?.runWithOnBlur ? handleQueryBlur : undefined}\n onKeyDown={(event) => {\n if (event.key === 'Enter' && (event.ctrlKey || event.metaKey)) {\n event.preventDefault();\n handleQueryExecute(query);\n }\n }}\n placeholder=\"Enter ClickHouse SQL query\"\n />\n\n <details>\n <summary style={{ cursor: 'pointer', fontSize: '12px', color: '#666', marginBottom: '8px' }}>\n Query Examples\n </summary>\n <div style={examplesStyle}>{queryExample}</div>\n </details>\n </Stack>\n );\n}\n"],"names":["DatasourceSelect","isVariableDatasource","useCallback","produce","DATASOURCE_KIND","DEFAULT_DATASOURCE","ClickQLEditor","Stack","queryExample","useQueryState","ClickHouseTimeSeriesQueryEditor","props","onChange","value","queryHandlerSettings","datasource","selectedDatasource","query","handleQueryChange","handleQueryBlur","handleDatasourceChange","newDatasourceSelection","kind","draft","setWatchOtherSpecs","Error","handleQueryExecute","watchQueryChanges","handleClickHouseQueryChange","e","examplesStyle","fontSize","color","backgroundColor","padding","borderRadius","fontFamily","whiteSpace","lineHeight","spacing","datasourcePluginKind","label","notched","onBlur","runWithOnBlur","undefined","onKeyDown","event","key","ctrlKey","metaKey","preventDefault","placeholder","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AChB;IAEJ;IAEA,MAAMW,8BAA8B1B,YAClC,CAAC2B;QACCX,kBAAkBW;QAClB,IAAIf,sBAAsBa,mBAAmB;YAC3Cb,qBAAqBa,iBAAiB,CAACE;QACzC;IACF,GACA;QAACX;QAAmBJ;KAAqB;IAG3C,MAAMgB,gBAAqC;QACzCC,UAAU;QACVC,OAAO;QACPC,iBAAiB;QACjBC,SAAS;QACTC,cAAc;QACdC,YAAY;QACZC,YAAY;QACZC,YAAY;IACd;IAEA,qBACE,MAAC/B;QAAMgC,SAAS;;0BACd,KAACvC;gBACCwC,sBAAsBpC;gBACtBS,OAAOG;gBACPJ,UAAUQ;gBACVqB,OAAM;gBACNC,OAAO;;0BAET,KAACpC;gBACCO,OAAOI;gBACPL,UAAUgB;gBACVe,QAAQ7B,sBAAsB8B,gBAAgBzB,kBAAkB0B;gBAChEC,WAAW,CAACC;oBACV,IAAIA,MAAMC,GAAG,KAAK,WAAYD,CAAAA,MAAME,OAAO,IAAIF,MAAMG,OAAO,AAAD,GAAI;wBAC7DH,MAAMI,cAAc;wBACpBzB,mBAAmBT;oBACrB;gBACF;gBACAmC,aAAY;;0BAGd,MAACC;;kCACC,KAACC;wBAAQC,OAAO;4BAAEC,QAAQ;4BAAWzB,UAAU;4BAAQC,OAAO;4BAAQyB,cAAc;wBAAM;kCAAG;;kCAG7F,KAACC;wBAAIH,OAAOzB;kCAAgBtB;;;;;;AAIpC"}
1
+ {"version":3,"sources":["../../../../src/queries/click-house-time-series-query/ClickHouseQueryEditor.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 {\n DatasourceSelect,\n DatasourceSelectProps,\n isVariableDatasource,\n OptionsEditorProps,\n} from '@perses-dev/plugin-system';\nimport { ReactElement, useCallback } from 'react';\nimport { produce } from 'immer';\nimport { Stack } from '@mui/material';\nimport { DATASOURCE_KIND, DEFAULT_DATASOURCE } from '../constants';\nimport { ClickQLEditor } from '../../components';\nimport { queryExample } from '../../components/constants';\nimport { useQueryState } from '../query-editor-model';\nimport { ClickHouseTimeSeriesQuerySpec } from './click-house-query-types';\n\ntype ClickHouseTimeSeriesQueryEditorProps = OptionsEditorProps<ClickHouseTimeSeriesQuerySpec>;\n\nexport function ClickHouseTimeSeriesQueryEditor(props: ClickHouseTimeSeriesQueryEditorProps): ReactElement {\n const { onChange, value } = props;\n const { datasource } = value;\n const selectedDatasource = datasource ?? DEFAULT_DATASOURCE;\n const { query, handleQueryChange, handleQueryBlur } = useQueryState(props);\n\n const handleDatasourceChange: DatasourceSelectProps['onChange'] = (newDatasourceSelection) => {\n if (!isVariableDatasource(newDatasourceSelection) && newDatasourceSelection.kind === DATASOURCE_KIND) {\n onChange(\n produce(value, (draft) => {\n draft.datasource = newDatasourceSelection;\n })\n );\n return;\n }\n throw new Error('Got unexpected non ClickHouse datasource selection');\n };\n\n // Immediate query execution on Enter or blur\n const handleQueryExecute = (query: string) => {\n onChange(\n produce(value, (draft) => {\n draft.query = query;\n })\n );\n };\n\n const handleClickHouseQueryChange = useCallback(\n (e: string) => {\n handleQueryChange(e);\n },\n [handleQueryChange]\n );\n\n const examplesStyle: React.CSSProperties = {\n fontSize: '11px',\n color: '#777',\n backgroundColor: '#f5f5f5',\n padding: '8px',\n borderRadius: '4px',\n fontFamily: 'Monaco, Menlo, \"Ubuntu Mono\", monospace',\n whiteSpace: 'pre-wrap',\n lineHeight: '1.3',\n };\n\n return (\n <Stack spacing={1.5}>\n <DatasourceSelect\n datasourcePluginKind={DATASOURCE_KIND}\n value={selectedDatasource}\n onChange={handleDatasourceChange}\n label=\"ClickHouse Datasource\"\n notched\n />\n <ClickQLEditor\n value={query}\n onChange={handleClickHouseQueryChange}\n onBlur={handleQueryBlur}\n onKeyDown={(event) => {\n if (event.key === 'Enter' && (event.ctrlKey || event.metaKey)) {\n event.preventDefault();\n handleQueryExecute(query);\n }\n }}\n placeholder=\"Enter ClickHouse SQL query\"\n />\n\n <details>\n <summary style={{ cursor: 'pointer', fontSize: '12px', color: '#666', marginBottom: '8px' }}>\n Query Examples\n </summary>\n <div style={examplesStyle}>{queryExample}</div>\n </details>\n </Stack>\n );\n}\n"],"names":["DatasourceSelect","isVariableDatasource","useCallback","produce","Stack","DATASOURCE_KIND","DEFAULT_DATASOURCE","ClickQLEditor","queryExample","useQueryState","ClickHouseTimeSeriesQueryEditor","props","onChange","value","datasource","selectedDatasource","query","handleQueryChange","handleQueryBlur","handleDatasourceChange","newDatasourceSelection","kind","draft","Error","handleQueryExecute","handleClickHouseQueryChange","e","examplesStyle","fontSize","color","backgroundColor","padding","borderRadius","fontFamily","whiteSpace","lineHeight","spacing","datasourcePluginKind","label","notched","onBlur","onKeyDown","event","key","ctrlKey","metaKey","preventDefault","placeholder","details","summary","style","cursor","marginBottom","div"],"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,SACEA,gBAAgB,EAEhBC,oBAAoB,QAEf,4BAA4B;AACnC,SAAuBC,WAAW,QAAQ,QAAQ;AAClD,SAASC,OAAO,QAAQ,QAAQ;AAChC,SAASC,KAAK,QAAQ,gBAAgB;AACtC,SAASC,eAAe,EAAEC,kBAAkB,QAAQ,eAAe;AACnE,SAASC,aAAa,QAAQ,mBAAmB;AACjD,SAASC,YAAY,QAAQ,6BAA6B;AAC1D,SAASC,aAAa,QAAQ,wBAAwB;AAKtD,OAAO,SAASC,gCAAgCC,KAA2C;IAC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IH,OAAOvB;kCAAgBnB;;;;;;AAIpC"}
package/mf-manifest.json CHANGED
@@ -5,11 +5,11 @@
5
5
  "name": "ClickHouse",
6
6
  "type": "app",
7
7
  "buildInfo": {
8
- "buildVersion": "0.3.0",
8
+ "buildVersion": "0.5.0-beta.0",
9
9
  "buildName": "@perses-dev/clickhouse-plugin"
10
10
  },
11
11
  "remoteEntry": {
12
- "name": "__mf/js/ClickHouse.8f89cb2c.js",
12
+ "name": "__mf/js/ClickHouse.f04664bb.js",
13
13
  "path": "",
14
14
  "type": "global"
15
15
  },
@@ -20,7 +20,7 @@
20
20
  "api": ""
21
21
  },
22
22
  "globalName": "ClickHouse",
23
- "pluginVersion": "0.19.1",
23
+ "pluginVersion": "0.21.6",
24
24
  "prefetchInterface": false,
25
25
  "getPublicPath": "function() { const prefix = window.PERSES_PLUGIN_ASSETS_PATH || window.PERSES_APP_CONFIG?.api_prefix || \"\"; return prefix + \"/plugins/ClickHouse/\"; }"
26
26
  },
@@ -35,7 +35,7 @@
35
35
  "js": {
36
36
  "async": [],
37
37
  "sync": [
38
- "__mf/js/async/3960.e0eb27f3.js"
38
+ "__mf/js/async/6274.0299ceca.js"
39
39
  ]
40
40
  },
41
41
  "css": {
@@ -54,8 +54,8 @@
54
54
  "js": {
55
55
  "async": [],
56
56
  "sync": [
57
- "__mf/js/async/6770.e50c0d08.js",
58
- "__mf/js/async/694.c93f9cdf.js"
57
+ "__mf/js/async/1616.d273c2a4.js",
58
+ "__mf/js/async/9235.239f5888.js"
59
59
  ]
60
60
  },
61
61
  "css": {
@@ -74,8 +74,8 @@
74
74
  "js": {
75
75
  "async": [],
76
76
  "sync": [
77
- "__mf/js/async/5214.d1943ccc.js",
78
- "__mf/js/async/738.0cdf47b4.js"
77
+ "__mf/js/async/5587.caa53d74.js",
78
+ "__mf/js/async/7968.d7870d30.js"
79
79
  ]
80
80
  },
81
81
  "css": {
@@ -87,14 +87,14 @@
87
87
  {
88
88
  "id": "ClickHouse:@perses-dev/components",
89
89
  "name": "@perses-dev/components",
90
- "version": "0.53.0-beta.1",
90
+ "version": "0.53.0-beta.4",
91
91
  "singleton": true,
92
- "requiredVersion": "^0.53.0-beta.1",
92
+ "requiredVersion": "^0.53.0-beta.4",
93
93
  "assets": {
94
94
  "js": {
95
95
  "async": [],
96
96
  "sync": [
97
- "__mf/js/async/7991.64a1aaaf.js"
97
+ "__mf/js/async/8643.a67671b8.js"
98
98
  ]
99
99
  },
100
100
  "css": {
@@ -106,14 +106,14 @@
106
106
  {
107
107
  "id": "ClickHouse:@perses-dev/dashboards",
108
108
  "name": "@perses-dev/dashboards",
109
- "version": "0.53.0-beta.1",
109
+ "version": "0.53.0-beta.4",
110
110
  "singleton": true,
111
- "requiredVersion": "^0.53.0-beta.1",
111
+ "requiredVersion": "^0.53.0-beta.4",
112
112
  "assets": {
113
113
  "js": {
114
114
  "async": [],
115
115
  "sync": [
116
- "__mf/js/async/2472.9f5fd5cf.js"
116
+ "__mf/js/async/1490.e6f33090.js"
117
117
  ]
118
118
  },
119
119
  "css": {
@@ -125,14 +125,14 @@
125
125
  {
126
126
  "id": "ClickHouse:@perses-dev/explore",
127
127
  "name": "@perses-dev/explore",
128
- "version": "0.53.0-beta.1",
128
+ "version": "0.53.0-beta.4",
129
129
  "singleton": true,
130
- "requiredVersion": "^0.53.0-beta.1",
130
+ "requiredVersion": "^0.53.0-beta.4",
131
131
  "assets": {
132
132
  "js": {
133
133
  "async": [],
134
134
  "sync": [
135
- "__mf/js/async/4421.750852d0.js"
135
+ "__mf/js/async/1728.6e27cee7.js"
136
136
  ]
137
137
  },
138
138
  "css": {
@@ -144,14 +144,14 @@
144
144
  {
145
145
  "id": "ClickHouse:@perses-dev/plugin-system",
146
146
  "name": "@perses-dev/plugin-system",
147
- "version": "0.53.0-beta.1",
147
+ "version": "0.53.0-beta.4",
148
148
  "singleton": true,
149
- "requiredVersion": "^0.53.0-beta.1",
149
+ "requiredVersion": "^0.53.0-beta.4",
150
150
  "assets": {
151
151
  "js": {
152
152
  "async": [],
153
153
  "sync": [
154
- "__mf/js/async/2178.16cf2da3.js"
154
+ "__mf/js/async/5501.1aae6bcc.js"
155
155
  ]
156
156
  },
157
157
  "css": {
@@ -170,7 +170,7 @@
170
170
  "js": {
171
171
  "async": [],
172
172
  "sync": [
173
- "__mf/js/async/3980.2a6bea70.js"
173
+ "__mf/js/async/6283.18a07ff0.js"
174
174
  ]
175
175
  },
176
176
  "css": {
@@ -189,7 +189,7 @@
189
189
  "js": {
190
190
  "async": [],
191
191
  "sync": [
192
- "__mf/js/async/4075.b85e5581.js"
192
+ "__mf/js/async/7192.738bb7d0.js"
193
193
  ]
194
194
  },
195
195
  "css": {
@@ -208,7 +208,7 @@
208
208
  "js": {
209
209
  "async": [],
210
210
  "sync": [
211
- "__mf/js/async/5409.c4876520.js"
211
+ "__mf/js/async/873.0b522a3c.js"
212
212
  ]
213
213
  },
214
214
  "css": {
@@ -227,7 +227,7 @@
227
227
  "js": {
228
228
  "async": [],
229
229
  "sync": [
230
- "__mf/js/async/5981.f3abf3c8.js"
230
+ "__mf/js/async/392.f8d81681.js"
231
231
  ]
232
232
  },
233
233
  "css": {
@@ -246,7 +246,7 @@
246
246
  "js": {
247
247
  "async": [],
248
248
  "sync": [
249
- "__mf/js/async/9173.90ba4f20.js"
249
+ "__mf/js/async/8470.12101f38.js"
250
250
  ]
251
251
  },
252
252
  "css": {
@@ -265,7 +265,7 @@
265
265
  "js": {
266
266
  "async": [],
267
267
  "sync": [
268
- "__mf/js/async/6292.4311054b.js"
268
+ "__mf/js/async/8356.1990f800.js"
269
269
  ]
270
270
  },
271
271
  "css": {
@@ -284,7 +284,7 @@
284
284
  "js": {
285
285
  "async": [],
286
286
  "sync": [
287
- "__mf/js/async/6377.6c8c4e15.js"
287
+ "__mf/js/async/5440.0e8e1dab.js"
288
288
  ]
289
289
  },
290
290
  "css": {
@@ -303,7 +303,7 @@
303
303
  "js": {
304
304
  "async": [],
305
305
  "sync": [
306
- "__mf/js/async/1964.dccce52b.js"
306
+ "__mf/js/async/4121.437b34db.js"
307
307
  ]
308
308
  },
309
309
  "css": {
@@ -322,7 +322,7 @@
322
322
  "js": {
323
323
  "async": [],
324
324
  "sync": [
325
- "__mf/js/async/7740.b3df297f.js"
325
+ "__mf/js/async/7978.a9ba54ff.js"
326
326
  ]
327
327
  },
328
328
  "css": {
@@ -340,32 +340,32 @@
340
340
  "assets": {
341
341
  "js": {
342
342
  "sync": [
343
- "__mf/js/async/__federation_expose_ClickHouseDatasource.e3722d39.js"
343
+ "__mf/js/async/__federation_expose_ClickHouseDatasource.07019854.js"
344
344
  ],
345
345
  "async": [
346
- "__mf/js/async/282.76b8b044.js",
347
- "__mf/js/async/1360.33f7e672.js",
348
- "__mf/js/async/2114.27f707a0.js",
349
- "__mf/js/async/__federation_expose_ClickHouseTimeSeriesQuery.6a30813e.js",
350
- "__mf/js/async/__federation_expose_ClickHouseLogQuery.63888cb7.js",
351
- "__mf/js/async/2226.1d4436dc.js",
352
- "__mf/js/async/7376.c01a7f82.js",
353
- "__mf/js/async/6620.1d8e42fd.js",
354
- "__mf/js/async/2652.fd27ec3f.js",
355
- "__mf/js/async/3431.54fb88df.js",
356
- "__mf/js/async/6134.a0f2d3c5.js",
357
- "__mf/js/async/4238.a8170f41.js",
358
- "__mf/js/async/3224.5735a223.js",
359
- "__mf/js/async/2292.248bd1ea.js",
360
- "__mf/js/async/8488.16a69ea5.js",
361
- "__mf/js/async/8216.44c6334e.js",
362
- "__mf/js/async/2708.7448dd5c.js"
346
+ "__mf/js/async/1825.3b06cbc6.js",
347
+ "__mf/js/async/9754.9efd83f1.js",
348
+ "__mf/js/async/6045.424732f1.js",
349
+ "__mf/js/async/__federation_expose_ClickHouseTimeSeriesQuery.f384ac43.js",
350
+ "__mf/js/async/__federation_expose_ClickHouseLogQuery.f492a83a.js",
351
+ "__mf/js/async/1238.c73d9688.js",
352
+ "__mf/js/async/9836.4cd749fe.js",
353
+ "__mf/js/async/3664.16a2c8f0.js",
354
+ "__mf/js/async/1811.e34f9555.js",
355
+ "__mf/js/async/3059.33197202.js",
356
+ "__mf/js/async/8035.9a47693a.js",
357
+ "__mf/js/async/9588.643512c3.js",
358
+ "__mf/js/async/5071.c665fc3d.js",
359
+ "__mf/js/async/2043.827fc525.js",
360
+ "__mf/js/async/7177.661c72fd.js",
361
+ "__mf/js/async/1969.41d665ea.js",
362
+ "__mf/js/async/8482.f99a0f22.js"
363
363
  ]
364
364
  },
365
365
  "css": {
366
366
  "sync": [],
367
367
  "async": [
368
- "__mf/css/async/2341.d3010b86.css"
368
+ "__mf/css/async/3061.d3010b86.css"
369
369
  ]
370
370
  }
371
371
  },
@@ -377,30 +377,30 @@
377
377
  "assets": {
378
378
  "js": {
379
379
  "sync": [
380
- "__mf/js/async/282.76b8b044.js",
381
- "__mf/js/async/1360.33f7e672.js",
382
- "__mf/js/async/2114.27f707a0.js",
383
- "__mf/js/async/__federation_expose_ClickHouseTimeSeriesQuery.6a30813e.js"
380
+ "__mf/js/async/1825.3b06cbc6.js",
381
+ "__mf/js/async/9754.9efd83f1.js",
382
+ "__mf/js/async/6045.424732f1.js",
383
+ "__mf/js/async/__federation_expose_ClickHouseTimeSeriesQuery.f384ac43.js"
384
384
  ],
385
385
  "async": [
386
- "__mf/js/async/2226.1d4436dc.js",
387
- "__mf/js/async/7376.c01a7f82.js",
388
- "__mf/js/async/6620.1d8e42fd.js",
389
- "__mf/js/async/2652.fd27ec3f.js",
390
- "__mf/js/async/3431.54fb88df.js",
391
- "__mf/js/async/6134.a0f2d3c5.js",
392
- "__mf/js/async/4238.a8170f41.js",
393
- "__mf/js/async/3224.5735a223.js",
394
- "__mf/js/async/2292.248bd1ea.js",
395
- "__mf/js/async/8488.16a69ea5.js",
396
- "__mf/js/async/8216.44c6334e.js",
397
- "__mf/js/async/2708.7448dd5c.js"
386
+ "__mf/js/async/1238.c73d9688.js",
387
+ "__mf/js/async/9836.4cd749fe.js",
388
+ "__mf/js/async/3664.16a2c8f0.js",
389
+ "__mf/js/async/1811.e34f9555.js",
390
+ "__mf/js/async/3059.33197202.js",
391
+ "__mf/js/async/8035.9a47693a.js",
392
+ "__mf/js/async/9588.643512c3.js",
393
+ "__mf/js/async/5071.c665fc3d.js",
394
+ "__mf/js/async/2043.827fc525.js",
395
+ "__mf/js/async/7177.661c72fd.js",
396
+ "__mf/js/async/1969.41d665ea.js",
397
+ "__mf/js/async/8482.f99a0f22.js"
398
398
  ]
399
399
  },
400
400
  "css": {
401
401
  "sync": [],
402
402
  "async": [
403
- "__mf/css/async/2341.d3010b86.css"
403
+ "__mf/css/async/3061.d3010b86.css"
404
404
  ]
405
405
  }
406
406
  },
@@ -412,30 +412,30 @@
412
412
  "assets": {
413
413
  "js": {
414
414
  "sync": [
415
- "__mf/js/async/282.76b8b044.js",
416
- "__mf/js/async/1360.33f7e672.js",
417
- "__mf/js/async/2114.27f707a0.js",
418
- "__mf/js/async/__federation_expose_ClickHouseLogQuery.63888cb7.js"
415
+ "__mf/js/async/1825.3b06cbc6.js",
416
+ "__mf/js/async/9754.9efd83f1.js",
417
+ "__mf/js/async/6045.424732f1.js",
418
+ "__mf/js/async/__federation_expose_ClickHouseLogQuery.f492a83a.js"
419
419
  ],
420
420
  "async": [
421
- "__mf/js/async/2226.1d4436dc.js",
422
- "__mf/js/async/7376.c01a7f82.js",
423
- "__mf/js/async/6620.1d8e42fd.js",
424
- "__mf/js/async/2652.fd27ec3f.js",
425
- "__mf/js/async/3431.54fb88df.js",
426
- "__mf/js/async/6134.a0f2d3c5.js",
427
- "__mf/js/async/4238.a8170f41.js",
428
- "__mf/js/async/3224.5735a223.js",
429
- "__mf/js/async/2292.248bd1ea.js",
430
- "__mf/js/async/8488.16a69ea5.js",
431
- "__mf/js/async/8216.44c6334e.js",
432
- "__mf/js/async/2708.7448dd5c.js"
421
+ "__mf/js/async/1238.c73d9688.js",
422
+ "__mf/js/async/9836.4cd749fe.js",
423
+ "__mf/js/async/3664.16a2c8f0.js",
424
+ "__mf/js/async/1811.e34f9555.js",
425
+ "__mf/js/async/3059.33197202.js",
426
+ "__mf/js/async/8035.9a47693a.js",
427
+ "__mf/js/async/9588.643512c3.js",
428
+ "__mf/js/async/5071.c665fc3d.js",
429
+ "__mf/js/async/2043.827fc525.js",
430
+ "__mf/js/async/7177.661c72fd.js",
431
+ "__mf/js/async/1969.41d665ea.js",
432
+ "__mf/js/async/8482.f99a0f22.js"
433
433
  ]
434
434
  },
435
435
  "css": {
436
436
  "sync": [],
437
437
  "async": [
438
- "__mf/css/async/2341.d3010b86.css"
438
+ "__mf/css/async/3061.d3010b86.css"
439
439
  ]
440
440
  }
441
441
  },