@perses-dev/timeseries-chart-plugin 0.13.0-beta.2 → 0.13.0-rc.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.
- package/__mf/js/TimeSeriesChart.3eab0aad.js +7 -0
- package/__mf/js/async/121.c3c0e54f.js +2 -0
- package/__mf/js/async/137.59c998ab.js +38 -0
- package/__mf/js/async/177.2fef2962.js +1 -0
- package/__mf/js/async/187.f5e8932b.js +1 -0
- package/__mf/js/async/192.c3dd56d5.js +1 -0
- package/__mf/js/async/2.60fa4a40.js +1 -0
- package/__mf/js/async/208.b9f374ad.js +7 -0
- package/__mf/js/async/235.d23c8ef0.js +1 -0
- package/__mf/js/async/274.72dfa9c8.js +2 -0
- package/__mf/js/async/356.8170c96d.js +1 -0
- package/__mf/js/async/392.b9ba5bf2.js +2 -0
- package/__mf/js/async/470.e09f33b7.js +2 -0
- package/__mf/js/async/491.85194549.js +1 -0
- package/__mf/js/async/52.0d78de2b.js +1 -0
- package/__mf/js/async/527.f97d1b86.js +110 -0
- package/__mf/js/async/558.8ac6d4e3.js +3 -0
- package/__mf/js/async/568.45da2c30.js +1 -0
- package/__mf/js/async/587.c9460696.js +1 -0
- package/__mf/js/async/588.0a1aa144.js +1 -0
- package/__mf/js/async/603.3b771310.js +2 -0
- package/__mf/js/async/603.3b771310.js.LICENSE.txt +9 -0
- package/__mf/js/async/616.79484ac8.js +1 -0
- package/__mf/js/async/655.dbf8c618.js +1 -0
- package/__mf/js/async/694.0fb9ee5a.js +2 -0
- package/__mf/js/async/702.785cd635.js +2 -0
- package/__mf/js/async/71.8c6cf914.js +1 -0
- package/__mf/js/async/724.c45dcf5b.js +1 -0
- package/__mf/js/async/873.04a201bf.js +1 -0
- package/__mf/js/async/941.b89f8595.js +2 -0
- package/__mf/js/async/955.176fe200.js +1 -0
- package/__mf/js/async/968.2a9fb1a0.js +1 -0
- package/__mf/js/async/978.a9865b23.js +1 -0
- package/__mf/js/async/984.4793f667.js +22 -0
- package/__mf/js/async/{90.16425d5a.js.LICENSE.txt → 984.4793f667.js.LICENSE.txt} +0 -10
- package/__mf/js/async/__federation_expose_TimeSeriesChart.62d8f589.js +1 -0
- package/__mf/js/async/lib-router.319c02cd.js +2 -0
- package/__mf/js/main.23e38819.js +7 -0
- package/lib/QuerySettingsEditor.d.ts.map +1 -1
- package/lib/QuerySettingsEditor.js +93 -14
- package/lib/QuerySettingsEditor.js.map +1 -1
- package/lib/TimeSeriesChartBase.d.ts +2 -0
- package/lib/TimeSeriesChartBase.d.ts.map +1 -1
- package/lib/TimeSeriesChartBase.js +90 -7
- package/lib/TimeSeriesChartBase.js.map +1 -1
- package/lib/TimeSeriesChartPanel.d.ts.map +1 -1
- package/lib/TimeSeriesChartPanel.js +24 -3
- package/lib/TimeSeriesChartPanel.js.map +1 -1
- package/lib/VisualOptionsEditor.js.map +1 -1
- package/lib/annotations/AnnotationTooltip.d.ts +18 -0
- package/lib/annotations/AnnotationTooltip.d.ts.map +1 -0
- package/lib/annotations/AnnotationTooltip.js +352 -0
- package/lib/annotations/AnnotationTooltip.js.map +1 -0
- package/lib/cjs/QuerySettingsEditor.js +91 -12
- package/lib/cjs/TimeSeriesChartBase.js +90 -7
- package/lib/cjs/TimeSeriesChartPanel.js +24 -3
- package/lib/cjs/annotations/AnnotationTooltip.js +370 -0
- package/lib/cjs/utils/annotation.js +37 -0
- package/lib/cjs/utils/data-transform.js +9 -13
- package/lib/time-series-chart-model.d.ts +7 -0
- package/lib/time-series-chart-model.d.ts.map +1 -1
- package/lib/time-series-chart-model.js.map +1 -1
- package/lib/utils/annotation.d.ts +5 -0
- package/lib/utils/annotation.d.ts.map +1 -0
- package/lib/utils/annotation.js +29 -0
- package/lib/utils/annotation.js.map +1 -0
- package/lib/utils/data-transform.d.ts +1 -0
- package/lib/utils/data-transform.d.ts.map +1 -1
- package/lib/utils/data-transform.js +9 -13
- package/lib/utils/data-transform.js.map +1 -1
- package/mf-manifest.json +61 -36
- package/mf-stats.json +68 -36
- package/package.json +5 -4
- package/__mf/js/TimeSeriesChart.e9912623.js +0 -7
- package/__mf/js/async/121.df4898d6.js +0 -2
- package/__mf/js/async/177.56f1be10.js +0 -1
- package/__mf/js/async/192.beef3a1a.js +0 -1
- package/__mf/js/async/2.c3740bb9.js +0 -1
- package/__mf/js/async/235.c24f24f7.js +0 -1
- package/__mf/js/async/274.d112354f.js +0 -2
- package/__mf/js/async/291.5ce0f3cb.js +0 -39
- package/__mf/js/async/356.9f551c8a.js +0 -1
- package/__mf/js/async/392.2350fb02.js +0 -2
- package/__mf/js/async/470.a4fd777e.js +0 -2
- package/__mf/js/async/491.6f81cf51.js +0 -1
- package/__mf/js/async/568.cdcaf97d.js +0 -1
- package/__mf/js/async/587.c12780da.js +0 -1
- package/__mf/js/async/588.6662e16a.js +0 -1
- package/__mf/js/async/616.52acb1b4.js +0 -1
- package/__mf/js/async/681.8d61b348.js +0 -110
- package/__mf/js/async/702.de247ad8.js +0 -2
- package/__mf/js/async/71.84e486c9.js +0 -1
- package/__mf/js/async/724.3439df06.js +0 -1
- package/__mf/js/async/78.91de282a.js +0 -1
- package/__mf/js/async/821.aa2ab3e8.js +0 -7
- package/__mf/js/async/873.9aad328a.js +0 -1
- package/__mf/js/async/90.16425d5a.js +0 -24
- package/__mf/js/async/941.c0e2d25e.js +0 -2
- package/__mf/js/async/968.6de5fa7c.js +0 -1
- package/__mf/js/async/978.5c14e175.js +0 -1
- package/__mf/js/async/__federation_expose_TimeSeriesChart.58a7f341.js +0 -1
- package/__mf/js/async/lib-router.7a3f7bb4.js +0 -2
- package/__mf/js/main.de1f5d2f.js +0 -7
- /package/__mf/css/async/{821.85c2cbf6.css → 208.85c2cbf6.css} +0 -0
- /package/__mf/js/async/{121.df4898d6.js.LICENSE.txt → 121.c3c0e54f.js.LICENSE.txt} +0 -0
- /package/__mf/js/async/{821.aa2ab3e8.js.LICENSE.txt → 208.b9f374ad.js.LICENSE.txt} +0 -0
- /package/__mf/js/async/{274.d112354f.js.LICENSE.txt → 274.72dfa9c8.js.LICENSE.txt} +0 -0
- /package/__mf/js/async/{392.2350fb02.js.LICENSE.txt → 392.b9ba5bf2.js.LICENSE.txt} +0 -0
- /package/__mf/js/async/{470.a4fd777e.js.LICENSE.txt → 470.e09f33b7.js.LICENSE.txt} +0 -0
- /package/__mf/js/async/{681.8d61b348.js.LICENSE.txt → 527.f97d1b86.js.LICENSE.txt} +0 -0
- /package/__mf/js/async/{291.5ce0f3cb.js.LICENSE.txt → 694.0fb9ee5a.js.LICENSE.txt} +0 -0
- /package/__mf/js/async/{702.de247ad8.js.LICENSE.txt → 702.785cd635.js.LICENSE.txt} +0 -0
- /package/__mf/js/async/{941.c0e2d25e.js.LICENSE.txt → 941.b89f8595.js.LICENSE.txt} +0 -0
- /package/__mf/js/async/{lib-router.7a3f7bb4.js.LICENSE.txt → lib-router.319c02cd.js.LICENSE.txt} +0 -0
|
@@ -32,6 +32,7 @@ export const BLUR_FADEOUT_OPACITY = 0.5;
|
|
|
32
32
|
*/ export function getTimeSeries(id, datasetIndex, formattedName, visual, timeScale, paletteColor, querySettings, yAxisIndex) {
|
|
33
33
|
const lineWidth = visual.lineWidth ?? DEFAULT_LINE_WIDTH;
|
|
34
34
|
const pointRadius = visual.pointRadius ?? DEFAULT_POINT_RADIUS;
|
|
35
|
+
const shouldStack = querySettings?.stack !== undefined ? querySettings.stack : visual.stack === 'all';
|
|
35
36
|
// Shows datapoint symbols when selected time range is roughly 15 minutes or less
|
|
36
37
|
const minuteMs = 60000;
|
|
37
38
|
let showPoints = timeScale.rangeMs <= minuteMs * 15;
|
|
@@ -46,7 +47,7 @@ export const BLUR_FADEOUT_OPACITY = 0.5;
|
|
|
46
47
|
datasetIndex,
|
|
47
48
|
name: formattedName,
|
|
48
49
|
color: paletteColor,
|
|
49
|
-
stack:
|
|
50
|
+
stack: shouldStack ? 'all' : undefined,
|
|
50
51
|
yAxisIndex: yAxisIndex,
|
|
51
52
|
label: {
|
|
52
53
|
show: false
|
|
@@ -61,7 +62,7 @@ export const BLUR_FADEOUT_OPACITY = 0.5;
|
|
|
61
62
|
name: formattedName,
|
|
62
63
|
connectNulls: visual.connectNulls ?? DEFAULT_CONNECT_NULLS,
|
|
63
64
|
color: paletteColor,
|
|
64
|
-
stack:
|
|
65
|
+
stack: shouldStack ? 'all' : undefined,
|
|
65
66
|
yAxisIndex: yAxisIndex,
|
|
66
67
|
sampling: 'lttb',
|
|
67
68
|
progressiveThreshold: OPTIMIZED_MODE_SERIES_LIMIT,
|
|
@@ -85,13 +86,6 @@ export const BLUR_FADEOUT_OPACITY = 0.5;
|
|
|
85
86
|
type: visual.lineStyle
|
|
86
87
|
}
|
|
87
88
|
},
|
|
88
|
-
selectedMode: 'single',
|
|
89
|
-
select: {
|
|
90
|
-
itemStyle: {
|
|
91
|
-
borderColor: paletteColor,
|
|
92
|
-
borderWidth: pointRadius + 0.5
|
|
93
|
-
}
|
|
94
|
-
},
|
|
95
89
|
blur: {
|
|
96
90
|
lineStyle: {
|
|
97
91
|
width: lineWidth,
|
|
@@ -151,8 +145,10 @@ function findMax(data) {
|
|
|
151
145
|
series.values.forEach((valueTuple)=>{
|
|
152
146
|
// eslint-disable-next-line @typescript-eslint/no-unused-vars
|
|
153
147
|
const [_, value] = valueTuple;
|
|
154
|
-
|
|
155
|
-
|
|
148
|
+
// Use the absolute value so percent thresholds compute correctly against
|
|
149
|
+
// negated series (e.g. when `querySettings[].negativeY` is enabled).
|
|
150
|
+
if (typeof value === 'number' && Math.abs(value) > max) {
|
|
151
|
+
max = Math.abs(value);
|
|
156
152
|
}
|
|
157
153
|
});
|
|
158
154
|
});
|
|
@@ -160,8 +156,8 @@ function findMax(data) {
|
|
|
160
156
|
data.forEach((series)=>{
|
|
161
157
|
if (series.data !== undefined) {
|
|
162
158
|
series.data.forEach((value)=>{
|
|
163
|
-
if (typeof value === 'number' && value > max) {
|
|
164
|
-
max = value;
|
|
159
|
+
if (typeof value === 'number' && Math.abs(value) > max) {
|
|
160
|
+
max = Math.abs(value);
|
|
165
161
|
}
|
|
166
162
|
});
|
|
167
163
|
}
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"sources":["../../../src/utils/data-transform.ts"],"sourcesContent":["// Copyright 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 type { YAXisComponentOption } from 'echarts';\nimport { LineSeriesOption, BarSeriesOption } from 'echarts/charts';\nimport {\n OPTIMIZED_MODE_SERIES_LIMIT,\n LegacyTimeSeries,\n EChartsDataFormat,\n EChartsValues,\n TimeSeriesOption,\n StepOptions,\n getCommonTimeScale,\n} from '@perses-dev/components';\nimport { useTimeSeriesQueries, PanelData } from '@perses-dev/plugin-system';\nimport { TimeScale, TimeSeries, TimeSeriesData, TimeSeriesValueTuple } from '@perses-dev/spec';\nimport {\n DEFAULT_AREA_OPACITY,\n DEFAULT_CONNECT_NULLS,\n DEFAULT_LINE_WIDTH,\n DEFAULT_POINT_RADIUS,\n DEFAULT_Y_AXIS,\n POSITIVE_MIN_VALUE_MULTIPLIER,\n NEGATIVE_MIN_VALUE_MULTIPLIER,\n TimeSeriesChartVisualOptions,\n TimeSeriesChartYAxisOptions,\n LineStyleType,\n} from '../time-series-chart-model';\n\nexport type RunningQueriesState = ReturnType<typeof useTimeSeriesQueries>;\n\nexport const EMPTY_GRAPH_DATA: EChartsDataFormat = {\n timeSeries: [],\n xAxis: [],\n legendItems: [],\n};\n\nexport const HIDE_DATAPOINTS_LIMIT = 70;\n\nexport const BLUR_FADEOUT_OPACITY = 0.5;\n\n/**\n * Given a list of running queries, calculates a common time scale for use on\n * the x axis (i.e. start/end dates and a step that is divisible into all of\n * the queries' steps).\n */\nexport function getCommonTimeScaleForQueries(queries: Array<PanelData<TimeSeriesData>>): TimeScale | undefined {\n const seriesData = queries.map((query) => query.data);\n return getCommonTimeScale(seriesData);\n}\n\n/**\n * Gets ECharts line series option properties for regular trends\n */\nexport function getTimeSeries(\n id: string,\n datasetIndex: number,\n formattedName: string,\n visual: TimeSeriesChartVisualOptions,\n timeScale: TimeScale,\n paletteColor: string,\n querySettings?: { lineStyle?: LineStyleType; areaOpacity?: number },\n yAxisIndex?: number\n): TimeSeriesOption {\n const lineWidth = visual.lineWidth ?? DEFAULT_LINE_WIDTH;\n const pointRadius = visual.pointRadius ?? DEFAULT_POINT_RADIUS;\n\n // Shows datapoint symbols when selected time range is roughly 15 minutes or less\n const minuteMs = 60000;\n let showPoints = timeScale.rangeMs <= minuteMs * 15;\n // Allows overriding default behavior and opt-in to always show all symbols (can hurt performance)\n if (visual.showPoints === 'always') {\n showPoints = true;\n }\n\n if (visual.display === 'bar') {\n const series: BarSeriesOption = {\n type: 'bar',\n id: id,\n datasetIndex,\n name: formattedName,\n color: paletteColor,\n stack: visual.stack === 'all' ? visual.stack : undefined,\n yAxisIndex: yAxisIndex,\n label: {\n show: false,\n },\n };\n return series;\n }\n\n const series: LineSeriesOption = {\n type: 'line',\n id: id,\n datasetIndex,\n name: formattedName,\n connectNulls: visual.connectNulls ?? DEFAULT_CONNECT_NULLS,\n color: paletteColor,\n stack: visual.stack === 'all' ? visual.stack : undefined,\n yAxisIndex: yAxisIndex,\n sampling: 'lttb',\n progressiveThreshold: OPTIMIZED_MODE_SERIES_LIMIT, // https://echarts.apache.org/en/option.html#series-lines.progressiveThreshold\n showSymbol: showPoints,\n showAllSymbol: true,\n symbolSize: pointRadius,\n lineStyle: {\n width: lineWidth,\n type: (querySettings?.lineStyle ?? visual.lineStyle) as LineStyleType,\n },\n areaStyle: {\n opacity: querySettings?.areaOpacity ?? visual.areaOpacity ?? DEFAULT_AREA_OPACITY,\n },\n // https://echarts.apache.org/en/option.html#series-line.emphasis\n emphasis: {\n focus: 'series',\n disabled: visual.areaOpacity !== undefined && visual.areaOpacity > 0, // prevents flicker when moving cursor between shaded regions\n lineStyle: {\n width: lineWidth + 1,\n opacity: 1,\n type: visual.lineStyle,\n },\n },\n selectedMode: 'single',\n select: {\n itemStyle: {\n borderColor: paletteColor,\n borderWidth: pointRadius + 0.5,\n },\n },\n blur: {\n lineStyle: {\n width: lineWidth,\n opacity: BLUR_FADEOUT_OPACITY,\n type: visual.lineStyle,\n },\n },\n };\n return series;\n}\n\n/**\n * Gets threshold-specific line series styles\n * markLine cannot be used since it does not update yAxis max / min\n * and threshold data needs to show in the tooltip\n */\nexport function getThresholdSeries(name: string, threshold: StepOptions, seriesIndex: number): LineSeriesOption {\n return {\n type: 'line',\n name: name,\n id: name,\n datasetId: name,\n datasetIndex: seriesIndex,\n color: threshold.color,\n label: {\n show: false,\n },\n lineStyle: {\n type: 'dashed',\n width: 2,\n },\n emphasis: {\n focus: 'series',\n lineStyle: {\n width: 2.5,\n },\n },\n blur: {\n lineStyle: {\n opacity: BLUR_FADEOUT_OPACITY,\n },\n },\n };\n}\n\n/**\n * Converts percent threshold into absolute step value\n * If max is undefined, use the max value from time series data as default\n */\nexport function convertPercentThreshold(\n percent: number,\n data: LegacyTimeSeries[] | TimeSeries[],\n max?: number,\n min?: number\n): number {\n const percentDecimal = percent / 100;\n const adjustedMax = max ?? findMax(data);\n const adjustedMin = min ?? 0;\n const total = adjustedMax - adjustedMin;\n return percentDecimal * total + adjustedMin;\n}\n\nfunction findMax(data: LegacyTimeSeries[] | TimeSeries[]): number {\n let max = 0;\n if (data.length && data[0] !== undefined && (data as TimeSeries[])[0]?.values) {\n (data as TimeSeries[]).forEach((series) => {\n series.values.forEach((valueTuple: TimeSeriesValueTuple) => {\n // eslint-disable-next-line @typescript-eslint/no-unused-vars\n const [_, value] = valueTuple;\n if (typeof value === 'number' && value > max) {\n max = value;\n }\n });\n });\n } else {\n (data as LegacyTimeSeries[]).forEach((series) => {\n if (series.data !== undefined) {\n series.data.forEach((value: EChartsValues) => {\n if (typeof value === 'number' && value > max) {\n max = value;\n }\n });\n }\n });\n }\n return max;\n}\n\n/**\n * Converts Perses panel yAxis from dashboard spec to ECharts supported yAxis options.\n * Handles both linear and logarithmic scales with appropriate min/max calculations.\n */\nexport function convertPanelYAxis(inputAxis: TimeSeriesChartYAxisOptions = {}): YAXisComponentOption {\n // Determine the appropriate min value based on scale type and user input\n let minValue: YAXisComponentOption['min'];\n if (inputAxis.logBase !== undefined) {\n // For logarithmic scales without explicit min:\n // Let ECharts auto-calculate the range based on data to avoid issues with\n // function-based calculations which can result in improper ranges (e.g., 1-10)\n minValue = undefined;\n } else if (inputAxis?.min !== undefined) {\n // User explicitly set a min value - use it for both linear and log scales\n minValue = inputAxis.min;\n } else {\n // For linear scales without explicit min:\n // Use dynamic calculation with padding for better visualization\n // https://echarts.apache.org/en/option.html#yAxis.min\n minValue = (value): number => {\n if (value.min >= 0 && value.min <= 1) {\n // Helps with PercentDecimal units, or datasets that return 0 or 1 booleans\n return 0;\n }\n\n // Note: We can tweak the MULTIPLIER constants if we want\n // TODO: Experiment with using a padding that is based on the difference between max value and min value\n if (value.min > 0) {\n return roundDown(value.min * POSITIVE_MIN_VALUE_MULTIPLIER);\n } else {\n return roundDown(value.min * NEGATIVE_MIN_VALUE_MULTIPLIER);\n }\n };\n }\n\n // Build the yAxis configuration\n const yAxis: YAXisComponentOption = {\n show: inputAxis?.show ?? DEFAULT_Y_AXIS.show,\n min: minValue,\n max: inputAxis?.max,\n };\n\n // Apply logarithmic scale settings if requested\n if (inputAxis.logBase !== undefined) {\n return {\n ...yAxis,\n type: 'log',\n logBase: inputAxis.logBase,\n };\n }\n\n return yAxis;\n}\n\n/**\n * Rounds down to nearest number with one significant digit.\n *\n * Examples:\n * 1. 675 --> 600\n * 2. 0.567 --> 0.5\n * 3. -12 --> -20\n */\nexport function roundDown(num: number): number {\n const magnitude = Math.floor(Math.log10(Math.abs(num)));\n const firstDigit = Math.floor(num / Math.pow(10, magnitude));\n return firstDigit * Math.pow(10, magnitude);\n}\n"],"names":["OPTIMIZED_MODE_SERIES_LIMIT","getCommonTimeScale","DEFAULT_AREA_OPACITY","DEFAULT_CONNECT_NULLS","DEFAULT_LINE_WIDTH","DEFAULT_POINT_RADIUS","DEFAULT_Y_AXIS","POSITIVE_MIN_VALUE_MULTIPLIER","NEGATIVE_MIN_VALUE_MULTIPLIER","EMPTY_GRAPH_DATA","timeSeries","xAxis","legendItems","HIDE_DATAPOINTS_LIMIT","BLUR_FADEOUT_OPACITY","getCommonTimeScaleForQueries","queries","seriesData","map","query","data","getTimeSeries","id","datasetIndex","formattedName","visual","timeScale","paletteColor","querySettings","yAxisIndex","lineWidth","pointRadius","minuteMs","showPoints","rangeMs","display","series","type","name","color","stack","undefined","label","show","connectNulls","sampling","progressiveThreshold","showSymbol","showAllSymbol","symbolSize","lineStyle","width","areaStyle","opacity","areaOpacity","emphasis","focus","disabled","selectedMode","select","itemStyle","borderColor","borderWidth","blur","getThresholdSeries","threshold","seriesIndex","datasetId","convertPercentThreshold","percent","max","min","percentDecimal","adjustedMax","findMax","adjustedMin","total","length","values","forEach","valueTuple","_","value","convertPanelYAxis","inputAxis","minValue","logBase","roundDown","yAxis","num","magnitude","Math","floor","log10","abs","firstDigit","pow"],"mappings":"AAAA,+BAA+B;AAC/B,kEAAkE;AAClE,mEAAmE;AACnE,0CAA0C;AAC1C,EAAE;AACF,6CAA6C;AAC7C,EAAE;AACF,sEAAsE;AACtE,oEAAoE;AACpE,2EAA2E;AAC3E,sEAAsE;AACtE,iCAAiC;AAIjC,SACEA,2BAA2B,EAM3BC,kBAAkB,QACb,yBAAyB;AAGhC,SACEC,oBAAoB,EACpBC,qBAAqB,EACrBC,kBAAkB,EAClBC,oBAAoB,EACpBC,cAAc,EACdC,6BAA6B,EAC7BC,6BAA6B,QAIxB,6BAA6B;AAIpC,OAAO,MAAMC,mBAAsC;IACj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C,WAAWzC,QAAQrC,eAAeqC,IAAI;QAC5C4B,KAAKc;QACLf,KAAKc,WAAWd;IAClB;IAEA,gDAAgD;IAChD,IAAIc,UAAUE,OAAO,KAAK7C,WAAW;QACnC,OAAO;YACL,GAAG+C,KAAK;YACRnD,MAAM;YACNiD,SAASF,UAAUE,OAAO;QAC5B;IACF;IAEA,OAAOE;AACT;AAEA;;;;;;;CAOC,GACD,OAAO,SAASD,UAAUE,GAAW;IACnC,MAAMC,YAAYC,KAAKC,KAAK,CAACD,KAAKE,KAAK,CAACF,KAAKG,GAAG,CAACL;IACjD,MAAMM,aAAaJ,KAAKC,KAAK,CAACH,MAAME,KAAKK,GAAG,CAAC,IAAIN;IACjD,OAAOK,aAAaJ,KAAKK,GAAG,CAAC,IAAIN;AACnC"}
|
|
1
|
+
{"version":3,"sources":["../../../src/utils/data-transform.ts"],"sourcesContent":["// Copyright 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 type { YAXisComponentOption } from 'echarts';\nimport { LineSeriesOption, BarSeriesOption } from 'echarts/charts';\nimport {\n OPTIMIZED_MODE_SERIES_LIMIT,\n LegacyTimeSeries,\n EChartsDataFormat,\n EChartsValues,\n TimeSeriesOption,\n StepOptions,\n getCommonTimeScale,\n} from '@perses-dev/components';\nimport { useTimeSeriesQueries, PanelData } from '@perses-dev/plugin-system';\nimport { TimeScale, TimeSeries, TimeSeriesData, TimeSeriesValueTuple } from '@perses-dev/spec';\nimport {\n DEFAULT_AREA_OPACITY,\n DEFAULT_CONNECT_NULLS,\n DEFAULT_LINE_WIDTH,\n DEFAULT_POINT_RADIUS,\n DEFAULT_Y_AXIS,\n POSITIVE_MIN_VALUE_MULTIPLIER,\n NEGATIVE_MIN_VALUE_MULTIPLIER,\n TimeSeriesChartVisualOptions,\n TimeSeriesChartYAxisOptions,\n LineStyleType,\n} from '../time-series-chart-model';\n\nexport type RunningQueriesState = ReturnType<typeof useTimeSeriesQueries>;\n\nexport const EMPTY_GRAPH_DATA: EChartsDataFormat = {\n timeSeries: [],\n xAxis: [],\n legendItems: [],\n};\n\nexport const HIDE_DATAPOINTS_LIMIT = 70;\n\nexport const BLUR_FADEOUT_OPACITY = 0.5;\n\n/**\n * Given a list of running queries, calculates a common time scale for use on\n * the x axis (i.e. start/end dates and a step that is divisible into all of\n * the queries' steps).\n */\nexport function getCommonTimeScaleForQueries(queries: Array<PanelData<TimeSeriesData>>): TimeScale | undefined {\n const seriesData = queries.map((query) => query.data);\n return getCommonTimeScale(seriesData);\n}\n\n/**\n * Gets ECharts line series option properties for regular trends\n */\nexport function getTimeSeries(\n id: string,\n datasetIndex: number,\n formattedName: string,\n visual: TimeSeriesChartVisualOptions,\n timeScale: TimeScale,\n paletteColor: string,\n querySettings?: { lineStyle?: LineStyleType; areaOpacity?: number; stack?: boolean },\n yAxisIndex?: number\n): TimeSeriesOption {\n const lineWidth = visual.lineWidth ?? DEFAULT_LINE_WIDTH;\n const pointRadius = visual.pointRadius ?? DEFAULT_POINT_RADIUS;\n const shouldStack = querySettings?.stack !== undefined ? querySettings.stack : visual.stack === 'all';\n\n // Shows datapoint symbols when selected time range is roughly 15 minutes or less\n const minuteMs = 60000;\n let showPoints = timeScale.rangeMs <= minuteMs * 15;\n // Allows overriding default behavior and opt-in to always show all symbols (can hurt performance)\n if (visual.showPoints === 'always') {\n showPoints = true;\n }\n\n if (visual.display === 'bar') {\n const series: BarSeriesOption = {\n type: 'bar',\n id: id,\n datasetIndex,\n name: formattedName,\n color: paletteColor,\n stack: shouldStack ? 'all' : undefined,\n yAxisIndex: yAxisIndex,\n label: {\n show: false,\n },\n };\n return series;\n }\n\n const series: LineSeriesOption = {\n type: 'line',\n id: id,\n datasetIndex,\n name: formattedName,\n connectNulls: visual.connectNulls ?? DEFAULT_CONNECT_NULLS,\n color: paletteColor,\n stack: shouldStack ? 'all' : undefined,\n yAxisIndex: yAxisIndex,\n sampling: 'lttb',\n progressiveThreshold: OPTIMIZED_MODE_SERIES_LIMIT, // https://echarts.apache.org/en/option.html#series-lines.progressiveThreshold\n showSymbol: showPoints,\n showAllSymbol: true,\n symbolSize: pointRadius,\n lineStyle: {\n width: lineWidth,\n type: (querySettings?.lineStyle ?? visual.lineStyle) as LineStyleType,\n },\n areaStyle: {\n opacity: querySettings?.areaOpacity ?? visual.areaOpacity ?? DEFAULT_AREA_OPACITY,\n },\n // https://echarts.apache.org/en/option.html#series-line.emphasis\n emphasis: {\n focus: 'series',\n disabled: visual.areaOpacity !== undefined && visual.areaOpacity > 0, // prevents flicker when moving cursor between shaded regions\n lineStyle: {\n width: lineWidth + 1,\n opacity: 1,\n type: visual.lineStyle,\n },\n },\n blur: {\n lineStyle: {\n width: lineWidth,\n opacity: BLUR_FADEOUT_OPACITY,\n type: visual.lineStyle,\n },\n },\n };\n return series;\n}\n\n/**\n * Gets threshold-specific line series styles\n * markLine cannot be used since it does not update yAxis max / min\n * and threshold data needs to show in the tooltip\n */\nexport function getThresholdSeries(name: string, threshold: StepOptions, seriesIndex: number): LineSeriesOption {\n return {\n type: 'line',\n name: name,\n id: name,\n datasetId: name,\n datasetIndex: seriesIndex,\n color: threshold.color,\n label: {\n show: false,\n },\n lineStyle: {\n type: 'dashed',\n width: 2,\n },\n emphasis: {\n focus: 'series',\n lineStyle: {\n width: 2.5,\n },\n },\n blur: {\n lineStyle: {\n opacity: BLUR_FADEOUT_OPACITY,\n },\n },\n };\n}\n\n/**\n * Converts percent threshold into absolute step value\n * If max is undefined, use the max value from time series data as default\n */\nexport function convertPercentThreshold(\n percent: number,\n data: LegacyTimeSeries[] | TimeSeries[],\n max?: number,\n min?: number\n): number {\n const percentDecimal = percent / 100;\n const adjustedMax = max ?? findMax(data);\n const adjustedMin = min ?? 0;\n const total = adjustedMax - adjustedMin;\n return percentDecimal * total + adjustedMin;\n}\n\nfunction findMax(data: LegacyTimeSeries[] | TimeSeries[]): number {\n let max = 0;\n if (data.length && data[0] !== undefined && (data as TimeSeries[])[0]?.values) {\n (data as TimeSeries[]).forEach((series) => {\n series.values.forEach((valueTuple: TimeSeriesValueTuple) => {\n // eslint-disable-next-line @typescript-eslint/no-unused-vars\n const [_, value] = valueTuple;\n // Use the absolute value so percent thresholds compute correctly against\n // negated series (e.g. when `querySettings[].negativeY` is enabled).\n if (typeof value === 'number' && Math.abs(value) > max) {\n max = Math.abs(value);\n }\n });\n });\n } else {\n (data as LegacyTimeSeries[]).forEach((series) => {\n if (series.data !== undefined) {\n series.data.forEach((value: EChartsValues) => {\n if (typeof value === 'number' && Math.abs(value) > max) {\n max = Math.abs(value);\n }\n });\n }\n });\n }\n return max;\n}\n\n/**\n * Converts Perses panel yAxis from dashboard spec to ECharts supported yAxis options.\n * Handles both linear and logarithmic scales with appropriate min/max calculations.\n */\nexport function convertPanelYAxis(inputAxis: TimeSeriesChartYAxisOptions = {}): YAXisComponentOption {\n // Determine the appropriate min value based on scale type and user input\n let minValue: YAXisComponentOption['min'];\n if (inputAxis.logBase !== undefined) {\n // For logarithmic scales without explicit min:\n // Let ECharts auto-calculate the range based on data to avoid issues with\n // function-based calculations which can result in improper ranges (e.g., 1-10)\n minValue = undefined;\n } else if (inputAxis?.min !== undefined) {\n // User explicitly set a min value - use it for both linear and log scales\n minValue = inputAxis.min;\n } else {\n // For linear scales without explicit min:\n // Use dynamic calculation with padding for better visualization\n // https://echarts.apache.org/en/option.html#yAxis.min\n minValue = (value): number => {\n if (value.min >= 0 && value.min <= 1) {\n // Helps with PercentDecimal units, or datasets that return 0 or 1 booleans\n return 0;\n }\n\n // Note: We can tweak the MULTIPLIER constants if we want\n // TODO: Experiment with using a padding that is based on the difference between max value and min value\n if (value.min > 0) {\n return roundDown(value.min * POSITIVE_MIN_VALUE_MULTIPLIER);\n } else {\n return roundDown(value.min * NEGATIVE_MIN_VALUE_MULTIPLIER);\n }\n };\n }\n\n // Build the yAxis configuration\n const yAxis: YAXisComponentOption = {\n show: inputAxis?.show ?? DEFAULT_Y_AXIS.show,\n min: minValue,\n max: inputAxis?.max,\n };\n\n // Apply logarithmic scale settings if requested\n if (inputAxis.logBase !== undefined) {\n return {\n ...yAxis,\n type: 'log',\n logBase: inputAxis.logBase,\n };\n }\n\n return yAxis;\n}\n\n/**\n * Rounds down to nearest number with one significant digit.\n *\n * Examples:\n * 1. 675 --> 600\n * 2. 0.567 --> 0.5\n * 3. -12 --> -20\n */\nexport function roundDown(num: number): number {\n const magnitude = Math.floor(Math.log10(Math.abs(num)));\n const firstDigit = Math.floor(num / Math.pow(10, magnitude));\n return firstDigit * Math.pow(10, magnitude);\n}\n"],"names":["OPTIMIZED_MODE_SERIES_LIMIT","getCommonTimeScale","DEFAULT_AREA_OPACITY","DEFAULT_CONNECT_NULLS","DEFAULT_LINE_WIDTH","DEFAULT_POINT_RADIUS","DEFAULT_Y_AXIS","POSITIVE_MIN_VALUE_MULTIPLIER","NEGATIVE_MIN_VALUE_MULTIPLIER","EMPTY_GRAPH_DATA","timeSeries","xAxis","legendItems","HIDE_DATAPOINTS_LIMIT","BLUR_FADEOUT_OPACITY","getCommonTimeScaleForQueries","queries","seriesData","map","query","data","getTimeSeries","id","datasetIndex","formattedName","visual","timeScale","paletteColor","querySettings","yAxisIndex","lineWidth","pointRadius","shouldStack","stack","undefined","minuteMs","showPoints","rangeMs","display","series","type","name","color","label","show","connectNulls","sampling","progressiveThreshold","showSymbol","showAllSymbol","symbolSize","lineStyle","width","areaStyle","opacity","areaOpacity","emphasis","focus","disabled","blur","getThresholdSeries","threshold","seriesIndex","datasetId","convertPercentThreshold","percent","max","min","percentDecimal","adjustedMax","findMax","adjustedMin","total","length","values","forEach","valueTuple","_","value","Math","abs","convertPanelYAxis","inputAxis","minVal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QAAQjC,WAAW;QACvC,0EAA0E;QAC1EiD,WAAWD,UAAUf,GAAG;IAC1B,OAAO;QACL,0CAA0C;QAC1C,gEAAgE;QAChE,sDAAsD;QACtDgB,WAAW,CAACL;YACV,IAAIA,MAAMX,GAAG,IAAI,KAAKW,MAAMX,GAAG,IAAI,GAAG;gBACpC,2EAA2E;gBAC3E,OAAO;YACT;YAEA,yDAAyD;YACzD,wGAAwG;YACxG,IAAIW,MAAMX,GAAG,GAAG,GAAG;gBACjB,OAAOkB,UAAUP,MAAMX,GAAG,GAAG5D;YAC/B,OAAO;gBACL,OAAO8E,UAAUP,MAAMX,GAAG,GAAG3D;YAC/B;QACF;IACF;IAEA,gCAAgC;IAChC,MAAM8E,QAA8B;QAClC1C,MAAMsC,WAAWtC,QAAQtC,eAAesC,IAAI;QAC5CuB,KAAKgB;QACLjB,KAAKgB,WAAWhB;IAClB;IAEA,gDAAgD;IAChD,IAAIgB,UAAUE,OAAO,KAAKlD,WAAW;QACnC,OAAO;YACL,GAAGoD,KAAK;YACR9C,MAAM;YACN4C,SAASF,UAAUE,OAAO;QAC5B;IACF;IAEA,OAAOE;AACT;AAEA;;;;;;;CAOC,GACD,OAAO,SAASD,UAAUE,GAAW;IACnC,MAAMC,YAAYT,KAAKU,KAAK,CAACV,KAAKW,KAAK,CAACX,KAAKC,GAAG,CAACO;IACjD,MAAMI,aAAaZ,KAAKU,KAAK,CAACF,MAAMR,KAAKa,GAAG,CAAC,IAAIJ;IACjD,OAAOG,aAAaZ,KAAKa,GAAG,CAAC,IAAIJ;AACnC"}
|
package/mf-manifest.json
CHANGED
|
@@ -5,11 +5,11 @@
|
|
|
5
5
|
"name": "TimeSeriesChart",
|
|
6
6
|
"type": "app",
|
|
7
7
|
"buildInfo": {
|
|
8
|
-
"buildVersion": "0.13.0-
|
|
8
|
+
"buildVersion": "0.13.0-rc.0",
|
|
9
9
|
"buildName": "@perses-dev/timeseries-chart-plugin"
|
|
10
10
|
},
|
|
11
11
|
"remoteEntry": {
|
|
12
|
-
"name": "__mf/js/TimeSeriesChart.
|
|
12
|
+
"name": "__mf/js/TimeSeriesChart.3eab0aad.js",
|
|
13
13
|
"path": "",
|
|
14
14
|
"type": "global"
|
|
15
15
|
},
|
|
@@ -20,7 +20,7 @@
|
|
|
20
20
|
"api": ""
|
|
21
21
|
},
|
|
22
22
|
"globalName": "TimeSeriesChart",
|
|
23
|
-
"pluginVersion": "2.
|
|
23
|
+
"pluginVersion": "2.6.0",
|
|
24
24
|
"getPublicPath": "function() { const prefix = window.PERSES_PLUGIN_ASSETS_PATH || window.PERSES_APP_CONFIG?.api_prefix || \"\"; return prefix + \"/plugins/TimeSeriesChart/\"; }"
|
|
25
25
|
},
|
|
26
26
|
"shared": [
|
|
@@ -34,7 +34,7 @@
|
|
|
34
34
|
"js": {
|
|
35
35
|
"async": [],
|
|
36
36
|
"sync": [
|
|
37
|
-
"__mf/js/async/274.
|
|
37
|
+
"__mf/js/async/274.72dfa9c8.js"
|
|
38
38
|
]
|
|
39
39
|
},
|
|
40
40
|
"css": {
|
|
@@ -54,8 +54,8 @@
|
|
|
54
54
|
"js": {
|
|
55
55
|
"async": [],
|
|
56
56
|
"sync": [
|
|
57
|
-
"__mf/js/async/235.
|
|
58
|
-
"__mf/js/async/616.
|
|
57
|
+
"__mf/js/async/235.d23c8ef0.js",
|
|
58
|
+
"__mf/js/async/616.79484ac8.js"
|
|
59
59
|
]
|
|
60
60
|
},
|
|
61
61
|
"css": {
|
|
@@ -75,8 +75,8 @@
|
|
|
75
75
|
"js": {
|
|
76
76
|
"async": [],
|
|
77
77
|
"sync": [
|
|
78
|
-
"__mf/js/async/587.
|
|
79
|
-
"__mf/js/async/968.
|
|
78
|
+
"__mf/js/async/587.c9460696.js",
|
|
79
|
+
"__mf/js/async/968.2a9fb1a0.js"
|
|
80
80
|
]
|
|
81
81
|
},
|
|
82
82
|
"css": {
|
|
@@ -89,36 +89,56 @@
|
|
|
89
89
|
{
|
|
90
90
|
"id": "TimeSeriesChart:@perses-dev/components",
|
|
91
91
|
"name": "@perses-dev/components",
|
|
92
|
-
"version": "0.54.0-
|
|
92
|
+
"version": "0.54.0-rc.0",
|
|
93
93
|
"singleton": true,
|
|
94
|
-
"requiredVersion": "^0.54.0-
|
|
94
|
+
"requiredVersion": "^0.54.0-rc.0",
|
|
95
95
|
"assets": {
|
|
96
96
|
"js": {
|
|
97
97
|
"async": [],
|
|
98
98
|
"sync": [
|
|
99
|
-
"__mf/js/async/
|
|
99
|
+
"__mf/js/async/208.b9f374ad.js"
|
|
100
100
|
]
|
|
101
101
|
},
|
|
102
102
|
"css": {
|
|
103
103
|
"async": [],
|
|
104
104
|
"sync": [
|
|
105
|
-
"__mf/css/async/
|
|
105
|
+
"__mf/css/async/208.85c2cbf6.css"
|
|
106
106
|
]
|
|
107
107
|
}
|
|
108
108
|
},
|
|
109
109
|
"fallback": ""
|
|
110
110
|
},
|
|
111
|
+
{
|
|
112
|
+
"id": "TimeSeriesChart:@perses-dev/dashboards",
|
|
113
|
+
"name": "@perses-dev/dashboards",
|
|
114
|
+
"version": "0.54.0-rc.0",
|
|
115
|
+
"singleton": true,
|
|
116
|
+
"requiredVersion": "^0.54.0-rc.0",
|
|
117
|
+
"assets": {
|
|
118
|
+
"js": {
|
|
119
|
+
"async": [],
|
|
120
|
+
"sync": [
|
|
121
|
+
"__mf/js/async/984.4793f667.js"
|
|
122
|
+
]
|
|
123
|
+
},
|
|
124
|
+
"css": {
|
|
125
|
+
"async": [],
|
|
126
|
+
"sync": []
|
|
127
|
+
}
|
|
128
|
+
},
|
|
129
|
+
"fallback": ""
|
|
130
|
+
},
|
|
111
131
|
{
|
|
112
132
|
"id": "TimeSeriesChart:@perses-dev/plugin-system",
|
|
113
133
|
"name": "@perses-dev/plugin-system",
|
|
114
|
-
"version": "0.54.0-
|
|
134
|
+
"version": "0.54.0-rc.0",
|
|
115
135
|
"singleton": true,
|
|
116
|
-
"requiredVersion": "^0.54.0-
|
|
136
|
+
"requiredVersion": "^0.54.0-rc.0",
|
|
117
137
|
"assets": {
|
|
118
138
|
"js": {
|
|
119
139
|
"async": [],
|
|
120
140
|
"sync": [
|
|
121
|
-
"__mf/js/async/
|
|
141
|
+
"__mf/js/async/558.8ac6d4e3.js"
|
|
122
142
|
]
|
|
123
143
|
},
|
|
124
144
|
"css": {
|
|
@@ -131,14 +151,14 @@
|
|
|
131
151
|
{
|
|
132
152
|
"id": "TimeSeriesChart:date-fns",
|
|
133
153
|
"name": "date-fns",
|
|
134
|
-
"version": "4.
|
|
154
|
+
"version": "4.4.0",
|
|
135
155
|
"singleton": true,
|
|
136
|
-
"requiredVersion": "^4.
|
|
156
|
+
"requiredVersion": "^4.4.0",
|
|
137
157
|
"assets": {
|
|
138
158
|
"js": {
|
|
139
159
|
"async": [],
|
|
140
160
|
"sync": [
|
|
141
|
-
"__mf/js/async/192.
|
|
161
|
+
"__mf/js/async/192.c3dd56d5.js"
|
|
142
162
|
]
|
|
143
163
|
},
|
|
144
164
|
"css": {
|
|
@@ -158,7 +178,7 @@
|
|
|
158
178
|
"js": {
|
|
159
179
|
"async": [],
|
|
160
180
|
"sync": [
|
|
161
|
-
"__mf/js/async/873.
|
|
181
|
+
"__mf/js/async/873.04a201bf.js"
|
|
162
182
|
]
|
|
163
183
|
},
|
|
164
184
|
"css": {
|
|
@@ -178,7 +198,7 @@
|
|
|
178
198
|
"js": {
|
|
179
199
|
"async": [],
|
|
180
200
|
"sync": [
|
|
181
|
-
"__mf/js/async/392.
|
|
201
|
+
"__mf/js/async/392.b9ba5bf2.js"
|
|
182
202
|
]
|
|
183
203
|
},
|
|
184
204
|
"css": {
|
|
@@ -198,7 +218,7 @@
|
|
|
198
218
|
"js": {
|
|
199
219
|
"async": [],
|
|
200
220
|
"sync": [
|
|
201
|
-
"__mf/js/async/470.
|
|
221
|
+
"__mf/js/async/470.e09f33b7.js"
|
|
202
222
|
]
|
|
203
223
|
},
|
|
204
224
|
"css": {
|
|
@@ -218,7 +238,7 @@
|
|
|
218
238
|
"js": {
|
|
219
239
|
"async": [],
|
|
220
240
|
"sync": [
|
|
221
|
-
"__mf/js/async/121.
|
|
241
|
+
"__mf/js/async/121.c3c0e54f.js"
|
|
222
242
|
]
|
|
223
243
|
},
|
|
224
244
|
"css": {
|
|
@@ -238,7 +258,7 @@
|
|
|
238
258
|
"js": {
|
|
239
259
|
"async": [],
|
|
240
260
|
"sync": [
|
|
241
|
-
"__mf/js/async/978.
|
|
261
|
+
"__mf/js/async/978.a9865b23.js"
|
|
242
262
|
]
|
|
243
263
|
},
|
|
244
264
|
"css": {
|
|
@@ -257,26 +277,31 @@
|
|
|
257
277
|
"assets": {
|
|
258
278
|
"js": {
|
|
259
279
|
"sync": [
|
|
260
|
-
"__mf/js/async/
|
|
261
|
-
"__mf/js/async/
|
|
262
|
-
"__mf/js/async/
|
|
263
|
-
"__mf/js/async/
|
|
264
|
-
"__mf/js/async/
|
|
280
|
+
"__mf/js/async/955.176fe200.js",
|
|
281
|
+
"__mf/js/async/702.785cd635.js",
|
|
282
|
+
"__mf/js/async/527.f97d1b86.js",
|
|
283
|
+
"__mf/js/async/52.0d78de2b.js",
|
|
284
|
+
"__mf/js/async/724.c45dcf5b.js",
|
|
285
|
+
"__mf/js/async/__federation_expose_TimeSeriesChart.62d8f589.js"
|
|
265
286
|
],
|
|
266
287
|
"async": [
|
|
267
|
-
"__mf/js/async/
|
|
268
|
-
"__mf/js/async/
|
|
269
|
-
"__mf/js/async/
|
|
270
|
-
"__mf/js/async/
|
|
271
|
-
"__mf/js/async/
|
|
272
|
-
"__mf/js/async/
|
|
273
|
-
"__mf/js/async/
|
|
288
|
+
"__mf/js/async/lib-router.319c02cd.js",
|
|
289
|
+
"__mf/js/async/655.dbf8c618.js",
|
|
290
|
+
"__mf/js/async/137.59c998ab.js",
|
|
291
|
+
"__mf/js/async/356.8170c96d.js",
|
|
292
|
+
"__mf/js/async/603.3b771310.js",
|
|
293
|
+
"__mf/js/async/694.0fb9ee5a.js",
|
|
294
|
+
"__mf/js/async/588.0a1aa144.js",
|
|
295
|
+
"__mf/js/async/71.8c6cf914.js",
|
|
296
|
+
"__mf/js/async/491.85194549.js",
|
|
297
|
+
"__mf/js/async/187.f5e8932b.js",
|
|
298
|
+
"__mf/js/async/177.2fef2962.js"
|
|
274
299
|
]
|
|
275
300
|
},
|
|
276
301
|
"css": {
|
|
277
302
|
"sync": [],
|
|
278
303
|
"async": [
|
|
279
|
-
"__mf/css/async/
|
|
304
|
+
"__mf/css/async/208.85c2cbf6.css"
|
|
280
305
|
]
|
|
281
306
|
}
|
|
282
307
|
},
|
package/mf-stats.json
CHANGED
|
@@ -5,11 +5,11 @@
|
|
|
5
5
|
"name": "TimeSeriesChart",
|
|
6
6
|
"type": "app",
|
|
7
7
|
"buildInfo": {
|
|
8
|
-
"buildVersion": "0.13.0-
|
|
8
|
+
"buildVersion": "0.13.0-rc.0",
|
|
9
9
|
"buildName": "@perses-dev/timeseries-chart-plugin"
|
|
10
10
|
},
|
|
11
11
|
"remoteEntry": {
|
|
12
|
-
"name": "__mf/js/TimeSeriesChart.
|
|
12
|
+
"name": "__mf/js/TimeSeriesChart.3eab0aad.js",
|
|
13
13
|
"path": "",
|
|
14
14
|
"type": "global"
|
|
15
15
|
},
|
|
@@ -20,7 +20,7 @@
|
|
|
20
20
|
"api": ""
|
|
21
21
|
},
|
|
22
22
|
"globalName": "TimeSeriesChart",
|
|
23
|
-
"pluginVersion": "2.
|
|
23
|
+
"pluginVersion": "2.6.0",
|
|
24
24
|
"getPublicPath": "function() { const prefix = window.PERSES_PLUGIN_ASSETS_PATH || window.PERSES_APP_CONFIG?.api_prefix || \"\"; return prefix + \"/plugins/TimeSeriesChart/\"; }"
|
|
25
25
|
},
|
|
26
26
|
"shared": [
|
|
@@ -36,7 +36,7 @@
|
|
|
36
36
|
"js": {
|
|
37
37
|
"async": [],
|
|
38
38
|
"sync": [
|
|
39
|
-
"__mf/js/async/274.
|
|
39
|
+
"__mf/js/async/274.72dfa9c8.js"
|
|
40
40
|
]
|
|
41
41
|
},
|
|
42
42
|
"css": {
|
|
@@ -60,8 +60,8 @@
|
|
|
60
60
|
"js": {
|
|
61
61
|
"async": [],
|
|
62
62
|
"sync": [
|
|
63
|
-
"__mf/js/async/235.
|
|
64
|
-
"__mf/js/async/616.
|
|
63
|
+
"__mf/js/async/235.d23c8ef0.js",
|
|
64
|
+
"__mf/js/async/616.79484ac8.js"
|
|
65
65
|
]
|
|
66
66
|
},
|
|
67
67
|
"css": {
|
|
@@ -85,8 +85,8 @@
|
|
|
85
85
|
"js": {
|
|
86
86
|
"async": [],
|
|
87
87
|
"sync": [
|
|
88
|
-
"__mf/js/async/587.
|
|
89
|
-
"__mf/js/async/968.
|
|
88
|
+
"__mf/js/async/587.c9460696.js",
|
|
89
|
+
"__mf/js/async/968.2a9fb1a0.js"
|
|
90
90
|
]
|
|
91
91
|
},
|
|
92
92
|
"css": {
|
|
@@ -100,23 +100,23 @@
|
|
|
100
100
|
},
|
|
101
101
|
{
|
|
102
102
|
"singleton": true,
|
|
103
|
-
"requiredVersion": "^0.54.0-
|
|
103
|
+
"requiredVersion": "^0.54.0-rc.0",
|
|
104
104
|
"shareScope": "default",
|
|
105
105
|
"name": "@perses-dev/components",
|
|
106
|
-
"version": "0.54.0-
|
|
106
|
+
"version": "0.54.0-rc.0",
|
|
107
107
|
"eager": false,
|
|
108
108
|
"id": "TimeSeriesChart:@perses-dev/components",
|
|
109
109
|
"assets": {
|
|
110
110
|
"js": {
|
|
111
111
|
"async": [],
|
|
112
112
|
"sync": [
|
|
113
|
-
"__mf/js/async/
|
|
113
|
+
"__mf/js/async/208.b9f374ad.js"
|
|
114
114
|
]
|
|
115
115
|
},
|
|
116
116
|
"css": {
|
|
117
117
|
"async": [],
|
|
118
118
|
"sync": [
|
|
119
|
-
"__mf/css/async/
|
|
119
|
+
"__mf/css/async/208.85c2cbf6.css"
|
|
120
120
|
]
|
|
121
121
|
}
|
|
122
122
|
},
|
|
@@ -128,17 +128,43 @@
|
|
|
128
128
|
},
|
|
129
129
|
{
|
|
130
130
|
"singleton": true,
|
|
131
|
-
"requiredVersion": "^0.54.0-
|
|
131
|
+
"requiredVersion": "^0.54.0-rc.0",
|
|
132
|
+
"shareScope": "default",
|
|
133
|
+
"name": "@perses-dev/dashboards",
|
|
134
|
+
"version": "0.54.0-rc.0",
|
|
135
|
+
"eager": false,
|
|
136
|
+
"id": "TimeSeriesChart:@perses-dev/dashboards",
|
|
137
|
+
"assets": {
|
|
138
|
+
"js": {
|
|
139
|
+
"async": [],
|
|
140
|
+
"sync": [
|
|
141
|
+
"__mf/js/async/984.4793f667.js"
|
|
142
|
+
]
|
|
143
|
+
},
|
|
144
|
+
"css": {
|
|
145
|
+
"async": [],
|
|
146
|
+
"sync": []
|
|
147
|
+
}
|
|
148
|
+
},
|
|
149
|
+
"usedIn": [
|
|
150
|
+
"./TimeSeriesChart"
|
|
151
|
+
],
|
|
152
|
+
"usedExports": [],
|
|
153
|
+
"fallback": ""
|
|
154
|
+
},
|
|
155
|
+
{
|
|
156
|
+
"singleton": true,
|
|
157
|
+
"requiredVersion": "^0.54.0-rc.0",
|
|
132
158
|
"shareScope": "default",
|
|
133
159
|
"name": "@perses-dev/plugin-system",
|
|
134
|
-
"version": "0.54.0-
|
|
160
|
+
"version": "0.54.0-rc.0",
|
|
135
161
|
"eager": false,
|
|
136
162
|
"id": "TimeSeriesChart:@perses-dev/plugin-system",
|
|
137
163
|
"assets": {
|
|
138
164
|
"js": {
|
|
139
165
|
"async": [],
|
|
140
166
|
"sync": [
|
|
141
|
-
"__mf/js/async/
|
|
167
|
+
"__mf/js/async/558.8ac6d4e3.js"
|
|
142
168
|
]
|
|
143
169
|
},
|
|
144
170
|
"css": {
|
|
@@ -154,17 +180,17 @@
|
|
|
154
180
|
},
|
|
155
181
|
{
|
|
156
182
|
"singleton": true,
|
|
157
|
-
"requiredVersion": "^4.
|
|
183
|
+
"requiredVersion": "^4.4.0",
|
|
158
184
|
"shareScope": "default",
|
|
159
185
|
"name": "date-fns",
|
|
160
|
-
"version": "4.
|
|
186
|
+
"version": "4.4.0",
|
|
161
187
|
"eager": false,
|
|
162
188
|
"id": "TimeSeriesChart:date-fns",
|
|
163
189
|
"assets": {
|
|
164
190
|
"js": {
|
|
165
191
|
"async": [],
|
|
166
192
|
"sync": [
|
|
167
|
-
"__mf/js/async/192.
|
|
193
|
+
"__mf/js/async/192.c3dd56d5.js"
|
|
168
194
|
]
|
|
169
195
|
},
|
|
170
196
|
"css": {
|
|
@@ -188,7 +214,7 @@
|
|
|
188
214
|
"js": {
|
|
189
215
|
"async": [],
|
|
190
216
|
"sync": [
|
|
191
|
-
"__mf/js/async/873.
|
|
217
|
+
"__mf/js/async/873.04a201bf.js"
|
|
192
218
|
]
|
|
193
219
|
},
|
|
194
220
|
"css": {
|
|
@@ -212,7 +238,7 @@
|
|
|
212
238
|
"js": {
|
|
213
239
|
"async": [],
|
|
214
240
|
"sync": [
|
|
215
|
-
"__mf/js/async/392.
|
|
241
|
+
"__mf/js/async/392.b9ba5bf2.js"
|
|
216
242
|
]
|
|
217
243
|
},
|
|
218
244
|
"css": {
|
|
@@ -236,7 +262,7 @@
|
|
|
236
262
|
"js": {
|
|
237
263
|
"async": [],
|
|
238
264
|
"sync": [
|
|
239
|
-
"__mf/js/async/470.
|
|
265
|
+
"__mf/js/async/470.e09f33b7.js"
|
|
240
266
|
]
|
|
241
267
|
},
|
|
242
268
|
"css": {
|
|
@@ -260,7 +286,7 @@
|
|
|
260
286
|
"js": {
|
|
261
287
|
"async": [],
|
|
262
288
|
"sync": [
|
|
263
|
-
"__mf/js/async/121.
|
|
289
|
+
"__mf/js/async/121.c3c0e54f.js"
|
|
264
290
|
]
|
|
265
291
|
},
|
|
266
292
|
"css": {
|
|
@@ -286,7 +312,7 @@
|
|
|
286
312
|
"js": {
|
|
287
313
|
"async": [],
|
|
288
314
|
"sync": [
|
|
289
|
-
"__mf/js/async/978.
|
|
315
|
+
"__mf/js/async/978.a9865b23.js"
|
|
290
316
|
]
|
|
291
317
|
},
|
|
292
318
|
"css": {
|
|
@@ -307,6 +333,7 @@
|
|
|
307
333
|
"name": "TimeSeriesChart",
|
|
308
334
|
"requires": [
|
|
309
335
|
"react",
|
|
336
|
+
"@perses-dev/dashboards",
|
|
310
337
|
"@perses-dev/components",
|
|
311
338
|
"@perses-dev/plugin-system"
|
|
312
339
|
],
|
|
@@ -314,26 +341,31 @@
|
|
|
314
341
|
"assets": {
|
|
315
342
|
"js": {
|
|
316
343
|
"sync": [
|
|
317
|
-
"__mf/js/async/
|
|
318
|
-
"__mf/js/async/
|
|
319
|
-
"__mf/js/async/
|
|
320
|
-
"__mf/js/async/
|
|
321
|
-
"__mf/js/async/
|
|
344
|
+
"__mf/js/async/955.176fe200.js",
|
|
345
|
+
"__mf/js/async/702.785cd635.js",
|
|
346
|
+
"__mf/js/async/527.f97d1b86.js",
|
|
347
|
+
"__mf/js/async/52.0d78de2b.js",
|
|
348
|
+
"__mf/js/async/724.c45dcf5b.js",
|
|
349
|
+
"__mf/js/async/__federation_expose_TimeSeriesChart.62d8f589.js"
|
|
322
350
|
],
|
|
323
351
|
"async": [
|
|
324
|
-
"__mf/js/async/
|
|
325
|
-
"__mf/js/async/
|
|
326
|
-
"__mf/js/async/
|
|
327
|
-
"__mf/js/async/
|
|
328
|
-
"__mf/js/async/
|
|
329
|
-
"__mf/js/async/
|
|
330
|
-
"__mf/js/async/
|
|
352
|
+
"__mf/js/async/lib-router.319c02cd.js",
|
|
353
|
+
"__mf/js/async/655.dbf8c618.js",
|
|
354
|
+
"__mf/js/async/137.59c998ab.js",
|
|
355
|
+
"__mf/js/async/356.8170c96d.js",
|
|
356
|
+
"__mf/js/async/603.3b771310.js",
|
|
357
|
+
"__mf/js/async/694.0fb9ee5a.js",
|
|
358
|
+
"__mf/js/async/588.0a1aa144.js",
|
|
359
|
+
"__mf/js/async/71.8c6cf914.js",
|
|
360
|
+
"__mf/js/async/491.85194549.js",
|
|
361
|
+
"__mf/js/async/187.f5e8932b.js",
|
|
362
|
+
"__mf/js/async/177.2fef2962.js"
|
|
331
363
|
]
|
|
332
364
|
},
|
|
333
365
|
"css": {
|
|
334
366
|
"sync": [],
|
|
335
367
|
"async": [
|
|
336
|
-
"__mf/css/async/
|
|
368
|
+
"__mf/css/async/208.85c2cbf6.css"
|
|
337
369
|
]
|
|
338
370
|
}
|
|
339
371
|
}
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@perses-dev/timeseries-chart-plugin",
|
|
3
|
-
"version": "0.13.0-
|
|
3
|
+
"version": "0.13.0-rc.0",
|
|
4
4
|
"license": "Apache-2.0",
|
|
5
5
|
"homepage": "https://github.com/perses/plugins/blob/main/README.md",
|
|
6
6
|
"repository": {
|
|
@@ -31,9 +31,10 @@
|
|
|
31
31
|
"@emotion/react": "^11.7.1",
|
|
32
32
|
"@emotion/styled": "^11.6.0",
|
|
33
33
|
"@hookform/resolvers": "^3.2.0",
|
|
34
|
-
"@perses-dev/components": "^0.54.0-
|
|
35
|
-
"@perses-dev/
|
|
36
|
-
"@perses-dev/
|
|
34
|
+
"@perses-dev/components": "^0.54.0-rc.0",
|
|
35
|
+
"@perses-dev/dashboards": "^0.54.0-rc.0",
|
|
36
|
+
"@perses-dev/plugin-system": "^0.54.0-rc.0",
|
|
37
|
+
"@perses-dev/spec": "^0.2.0-beta.9",
|
|
37
38
|
"date-fns": "^4.1.0",
|
|
38
39
|
"date-fns-tz": "^3.2.0",
|
|
39
40
|
"echarts": "5.5.0",
|