@perses-dev/timeseries-chart-plugin 0.11.0 → 0.11.2

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 (101) hide show
  1. package/__mf/css/async/442.d3010b86.css +1 -0
  2. package/__mf/css/async/61.d3010b86.css +1 -0
  3. package/__mf/css/async/823.d3010b86.css +1 -0
  4. package/__mf/js/TimeSeriesChart.95aa233e.js +6 -0
  5. package/__mf/js/async/109.dc414292.js +110 -0
  6. package/__mf/js/async/{110.8b9c7f4b.js → 121.a742c022.js} +2 -2
  7. package/__mf/js/async/{488.031fc875.js → 177.97e14ed0.js} +1 -1
  8. package/__mf/js/async/192.30450189.js +1 -0
  9. package/__mf/js/async/197.e065f9da.js +1 -0
  10. package/__mf/js/async/2.68ee9e1b.js +1 -0
  11. package/__mf/js/async/235.a53a2591.js +1 -0
  12. package/__mf/js/async/252.85ae7558.js +22 -0
  13. package/__mf/js/async/274.8e8950b6.js +2 -0
  14. package/__mf/js/async/356.dee0f34a.js +1 -0
  15. package/__mf/js/async/392.fa5c2b2f.js +2 -0
  16. package/__mf/js/async/437.aa3568c0.js +2 -0
  17. package/__mf/js/async/440.020f91d3.js +7 -0
  18. package/__mf/js/async/470.4c93905a.js +2 -0
  19. package/__mf/js/async/491.35fc6280.js +1 -0
  20. package/__mf/js/async/{62.f24fce0a.js → 558.5a41ebcc.js} +1 -1
  21. package/__mf/js/async/{214.37696543.js → 587.40becf9b.js} +1 -1
  22. package/__mf/js/async/588.33924c3f.js +1 -0
  23. package/__mf/js/async/591.9d963c5f.js +38 -0
  24. package/__mf/js/async/616.6d37f37b.js +1 -0
  25. package/__mf/js/async/702.5d93a78a.js +2 -0
  26. package/__mf/js/async/71.e481dbdb.js +1 -0
  27. package/__mf/js/async/724.5594af97.js +1 -0
  28. package/__mf/js/async/873.11e0e15e.js +1 -0
  29. package/__mf/js/async/941.5331fb70.js +2 -0
  30. package/__mf/js/async/{738.c37f7bca.js → 968.2ea36b8a.js} +1 -1
  31. package/__mf/js/async/978.844227d5.js +1 -0
  32. package/__mf/js/async/__federation_expose_TimeSeriesChart.340a97c5.js +3 -0
  33. package/__mf/js/async/lib-router.54d80a0a.js +2 -0
  34. package/__mf/js/main.fa8f2974.js +6 -0
  35. package/lib/GeneralSettingsEditor.js +1 -1
  36. package/lib/GeneralSettingsEditor.js.map +1 -1
  37. package/lib/QuerySettingsEditor.js +1 -1
  38. package/lib/QuerySettingsEditor.js.map +1 -1
  39. package/lib/TimeSeriesChartBase.js +1 -1
  40. package/lib/TimeSeriesChartBase.js.map +1 -1
  41. package/lib/TimeSeriesChartPanel.js +2 -3
  42. package/lib/TimeSeriesChartPanel.js.map +1 -1
  43. package/lib/TimeSeriesExportAction.js +1 -1
  44. package/lib/TimeSeriesExportAction.js.map +1 -1
  45. package/lib/VisualOptionsEditor.js +1 -1
  46. package/lib/VisualOptionsEditor.js.map +1 -1
  47. package/lib/YAxisOptionsEditor.js +1 -1
  48. package/lib/YAxisOptionsEditor.js.map +1 -1
  49. package/lib/bootstrap.js +1 -1
  50. package/lib/bootstrap.js.map +1 -1
  51. package/lib/cjs/CSVExportUtils.js +9 -9
  52. package/lib/cjs/TimeSeriesChartPanel.js +1 -2
  53. package/lib/cjs/index-federation.js +12 -12
  54. package/lib/cjs/test/mock-query-results.js +6 -6
  55. package/lib/cjs/time-series-chart-model.js +21 -21
  56. package/lib/cjs/utils/data-transform.js +10 -10
  57. package/lib/cjs/utils/palette-gen.js +5 -5
  58. package/lib/cjs/utils/palette.js +3 -3
  59. package/mf-manifest.json +35 -35
  60. package/mf-stats.json +35 -35
  61. package/package.json +4 -4
  62. package/__mf/css/async/263.9a1fa3dd.css +0 -1
  63. package/__mf/css/async/341.9a1fa3dd.css +0 -1
  64. package/__mf/css/async/759.9a1fa3dd.css +0 -1
  65. package/__mf/js/TimeSeriesChart.3d19c5af.js +0 -5
  66. package/__mf/js/async/109.f05e61af.js +0 -73
  67. package/__mf/js/async/173.58a1dc61.js +0 -2
  68. package/__mf/js/async/186.b17dcce5.js +0 -1
  69. package/__mf/js/async/224.2d3ce51f.js +0 -1
  70. package/__mf/js/async/238.767e5398.js +0 -1
  71. package/__mf/js/async/292.9efc6a73.js +0 -1
  72. package/__mf/js/async/409.97dde548.js +0 -1
  73. package/__mf/js/async/476.23a59a72.js +0 -1
  74. package/__mf/js/async/53.8edfe937.js +0 -2
  75. package/__mf/js/async/547.a80ef962.js +0 -7
  76. package/__mf/js/async/613.20f15bb7.js +0 -1
  77. package/__mf/js/async/651.e0c9e225.js +0 -1
  78. package/__mf/js/async/694.ebf24a00.js +0 -1
  79. package/__mf/js/async/740.f0e8d499.js +0 -1
  80. package/__mf/js/async/75.26ec5bee.js +0 -1
  81. package/__mf/js/async/770.e129dd07.js +0 -1
  82. package/__mf/js/async/797.72ff552e.js +0 -2
  83. package/__mf/js/async/863.f147d2ba.js +0 -2
  84. package/__mf/js/async/960.cd399075.js +0 -2
  85. package/__mf/js/async/964.e89cbd3b.js +0 -110
  86. package/__mf/js/async/971.6fcf317e.js +0 -38
  87. package/__mf/js/async/981.e360e7df.js +0 -2
  88. package/__mf/js/async/__federation_expose_TimeSeriesChart.f017c9e5.js +0 -3
  89. package/__mf/js/async/lib-router.25a1f509.js +0 -2
  90. package/__mf/js/main.c1851095.js +0 -5
  91. /package/__mf/js/async/{964.e89cbd3b.js.LICENSE.txt → 109.dc414292.js.LICENSE.txt} +0 -0
  92. /package/__mf/js/async/{110.8b9c7f4b.js.LICENSE.txt → 121.a742c022.js.LICENSE.txt} +0 -0
  93. /package/__mf/js/async/{109.f05e61af.js.LICENSE.txt → 252.85ae7558.js.LICENSE.txt} +0 -0
  94. /package/__mf/js/async/{960.cd399075.js.LICENSE.txt → 274.8e8950b6.js.LICENSE.txt} +0 -0
  95. /package/__mf/js/async/{981.e360e7df.js.LICENSE.txt → 392.fa5c2b2f.js.LICENSE.txt} +0 -0
  96. /package/__mf/js/async/{53.8edfe937.js.LICENSE.txt → 437.aa3568c0.js.LICENSE.txt} +0 -0
  97. /package/__mf/js/async/{547.a80ef962.js.LICENSE.txt → 440.020f91d3.js.LICENSE.txt} +0 -0
  98. /package/__mf/js/async/{173.58a1dc61.js.LICENSE.txt → 470.4c93905a.js.LICENSE.txt} +0 -0
  99. /package/__mf/js/async/{797.72ff552e.js.LICENSE.txt → 702.5d93a78a.js.LICENSE.txt} +0 -0
  100. /package/__mf/js/async/{863.f147d2ba.js.LICENSE.txt → 941.5331fb70.js.LICENSE.txt} +0 -0
  101. /package/__mf/js/async/{lib-router.25a1f509.js.LICENSE.txt → lib-router.54d80a0a.js.LICENSE.txt} +0 -0
@@ -1 +1 @@
1
- {"version":3,"sources":["../../src/VisualOptionsEditor.tsx"],"sourcesContent":["// Copyright 2023 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 { produce } from 'immer';\nimport { Slider, Switch, ToggleButton, ToggleButtonGroup } from '@mui/material';\nimport { OptionsEditorControl, OptionsEditorGroup, SettingsAutocomplete } from '@perses-dev/components';\nimport { ReactElement } from 'react';\nimport {\n DEFAULT_AREA_OPACITY,\n DEFAULT_CONNECT_NULLS,\n DEFAULT_LINE_WIDTH,\n DEFAULT_LINE_STYLE,\n DEFAULT_POINT_RADIUS,\n POINT_SIZE_OFFSET,\n STACK_CONFIG,\n StackOptions,\n STACK_OPTIONS,\n LINE_STYLE_CONFIG,\n VISUAL_CONFIG,\n TimeSeriesChartVisualOptions,\n DEFAULT_DISPLAY,\n} from './time-series-chart-model';\n\nexport interface VisualOptionsEditorProps {\n value: TimeSeriesChartVisualOptions;\n onChange: (visual: TimeSeriesChartVisualOptions) => void;\n}\n\nexport function VisualOptionsEditor({ value, onChange }: VisualOptionsEditorProps): ReactElement {\n const handleLineWidthChange = (_: Event, sliderValue: number | number[]): void => {\n const newValue = Array.isArray(sliderValue) ? sliderValue[0] : sliderValue;\n const symbolSize = newValue !== undefined ? newValue + POINT_SIZE_OFFSET : DEFAULT_POINT_RADIUS;\n onChange(\n produce(value, (draft) => {\n draft.lineWidth = newValue;\n draft.pointRadius = symbolSize;\n })\n );\n };\n\n const handleAreaOpacityChange = (_: Event, sliderValue: number | number[]): void => {\n const newValue = Array.isArray(sliderValue) ? sliderValue[0] : sliderValue;\n onChange(\n produce(value, (draft) => {\n draft.areaOpacity = newValue;\n })\n );\n };\n\n const currentStack: StackOptions = value.stack ?? 'none';\n const stackConfig = STACK_CONFIG[currentStack];\n\n return (\n <OptionsEditorGroup title=\"Visual\">\n <OptionsEditorControl\n label={VISUAL_CONFIG.stack.label}\n control={\n <SettingsAutocomplete\n value={{\n ...stackConfig,\n id: currentStack,\n }}\n options={STACK_OPTIONS}\n onChange={(__, newValue) => {\n const updatedValue: TimeSeriesChartVisualOptions = {\n ...value,\n stack: newValue.id === 'none' ? undefined : newValue.id, // stack is optional so remove property when 'None' is selected\n };\n // stacked area chart preset to automatically set area under a curve shading\n if (newValue.id === 'all' && !value.areaOpacity) {\n updatedValue.areaOpacity = 0.3;\n }\n onChange(updatedValue);\n }}\n disabled={value === undefined}\n disableClearable\n ></SettingsAutocomplete>\n }\n />\n <OptionsEditorControl\n label=\"Display\"\n control={\n <ToggleButtonGroup\n color=\"primary\"\n exclusive\n value={value.display ?? DEFAULT_DISPLAY}\n onChange={(__, newValue) => {\n onChange({\n ...value,\n display: newValue,\n });\n }}\n >\n <ToggleButton\n value=\"line\"\n selected={value.display === undefined || value.display === 'line'}\n aria-label=\"display line series\"\n >\n Line\n </ToggleButton>\n <ToggleButton value=\"bar\" aria-label=\"display bar series\">\n Bar\n </ToggleButton>\n </ToggleButtonGroup>\n }\n />\n {value.display === 'line' && (\n <>\n <OptionsEditorControl\n label={VISUAL_CONFIG.lineWidth.label}\n control={\n <Slider\n data-testid={VISUAL_CONFIG.lineWidth.testId}\n value={value.lineWidth ?? DEFAULT_LINE_WIDTH}\n valueLabelDisplay=\"auto\"\n step={VISUAL_CONFIG.lineWidth.step}\n marks\n min={VISUAL_CONFIG.lineWidth.min}\n max={VISUAL_CONFIG.lineWidth.max}\n onChange={handleLineWidthChange}\n />\n }\n />\n <OptionsEditorControl\n label={VISUAL_CONFIG.lineStyle.label}\n control={\n <ToggleButtonGroup\n color=\"primary\"\n exclusive\n value={value.lineStyle ?? DEFAULT_LINE_STYLE}\n onChange={(__, newValue) => {\n onChange({\n ...value,\n lineStyle: newValue,\n });\n }}\n >\n {Object.entries(LINE_STYLE_CONFIG).map(([styleValue, config]) => (\n <ToggleButton key={styleValue} value={styleValue} aria-label={`${styleValue} line style`}>\n {config.label}\n </ToggleButton>\n ))}\n </ToggleButtonGroup>\n }\n />\n <OptionsEditorControl\n label={VISUAL_CONFIG.areaOpacity.label}\n control={\n <Slider\n data-testid={VISUAL_CONFIG.areaOpacity.testId}\n value={value.areaOpacity ?? DEFAULT_AREA_OPACITY}\n valueLabelDisplay=\"auto\"\n step={VISUAL_CONFIG.areaOpacity.step}\n marks\n min={VISUAL_CONFIG.areaOpacity.min}\n max={VISUAL_CONFIG.areaOpacity.max}\n onChange={handleAreaOpacityChange}\n />\n }\n />\n <OptionsEditorControl\n label={VISUAL_CONFIG.connectNulls.label}\n control={\n <Switch\n checked={value.connectNulls ?? DEFAULT_CONNECT_NULLS}\n onChange={(e) => {\n onChange({\n ...value,\n connectNulls: e.target.checked,\n });\n }}\n />\n }\n />\n </>\n )}\n </OptionsEditorGroup>\n );\n}\n"],"names":["produce","Slider","Switch","ToggleButton","ToggleButtonGroup","OptionsEditorControl","OptionsEditorGroup","SettingsAutocomplete","DEFAULT_AREA_OPACITY","DEFAULT_CONNECT_NULLS","DEFAULT_LINE_WIDTH","DEFAULT_LINE_STYLE","DEFAULT_POINT_RADIUS","POINT_SIZE_OFFSET","STACK_CONFIG","STACK_OPTIONS","LINE_STYLE_CONFIG","VISUAL_CONFIG","DEFAULT_DISPLAY","VisualOptionsEditor","value","onChange","handleLineWidthChange","_","sliderValue","newValue","Array","isArray","symbolSize","undefined","draft","lineWidth","pointRadius","handleAreaOpacityChange","areaOpacity","currentStack","stack","stackConfig","title","label","control","id","options","__","updatedValue","disabled","disableClearable","color","exclusive","display","selected","aria-label","data-testid","testId","valueLabelDisplay","step","marks","min","max","lineStyle","Object","entries","map","styleValue","config","connectNulls","checked","e","target"],"mappings":"AAAA,oCAAoC;AACpC,kEAAkE;AAClE,mEAAmE;AACnE,0CAA0C;AAC1C,EAAE;AACF,6CAA6C;AAC7C,EAAE;AACF,sEAAsE;AACtE,oEAAoE;AACpE,2EAA2E;AAC3E,sEAAsE;AACtE,iCAAiC;;AAEjC,SAASA,OAAO,QAAQ,QAAQ;AAChC,SAASC,MAAM,EAAEC,MAAM,EAAEC,YAAY,EAAEC,iBAAiB,QAAQ,gBAAgB;AAChF,SAASC,oBAAoB,EAAEC,kBAAkB,EAAEC,oBAAoB,QAAQ,yBAAyB;AAExG,SACEC,oBAAoB,EACpBC,qBAAqB,EACrBC,kBAAkB,EAClBC,kBAAkB,EAClBC,oBAAoB,EACpBC,iBAAiB,EACjBC,YAAY,EAEZC,aAAa,EACbC,iBAAiB,EACjBC,aAAa,EAEbC,eAAe,QACV,4BAA4B;AAOnC,OAAO,SAASC,oBAAoB,EAAEC,KAAK,EAAEC,QAAQ,EAA4B;IAC/E,MAAMC,wBAAwB,CAACC,GAAUC;QACvC,MAAMC,WAAWC,MAAMC,OAAO,CAACH,eAAeA,WAAW,CAAC,EAAE,GAAGA;QAC/D,MAAMI,aAAaH,aAAaI,YAAYJ,WAAWZ,oBAAoBD;QAC3ES,SACErB,QAAQoB,OAAO,CAACU;YACdA,MAAMC,SAAS,GAAGN;YAClBK,MAAME,WAAW,GAAGJ;QACtB;IAEJ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AAU,CAAC8C;gCACT9C,SAAS;oCACP,GAAGD,KAAK;oCACR6C,cAAcE,EAAEC,MAAM,CAACF,OAAO;gCAChC;4BACF;;;;;;;AAQhB"}
1
+ {"version":3,"sources":["../../src/VisualOptionsEditor.tsx"],"sourcesContent":["// Copyright 2023 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 { produce } from 'immer';\nimport { Slider, Switch, ToggleButton, ToggleButtonGroup } from '@mui/material';\nimport { OptionsEditorControl, OptionsEditorGroup, SettingsAutocomplete } from '@perses-dev/components';\nimport { ReactElement } from 'react';\nimport {\n DEFAULT_AREA_OPACITY,\n DEFAULT_CONNECT_NULLS,\n DEFAULT_LINE_WIDTH,\n DEFAULT_LINE_STYLE,\n DEFAULT_POINT_RADIUS,\n POINT_SIZE_OFFSET,\n STACK_CONFIG,\n StackOptions,\n STACK_OPTIONS,\n LINE_STYLE_CONFIG,\n VISUAL_CONFIG,\n TimeSeriesChartVisualOptions,\n DEFAULT_DISPLAY,\n} from './time-series-chart-model';\n\nexport interface VisualOptionsEditorProps {\n value: TimeSeriesChartVisualOptions;\n onChange: (visual: TimeSeriesChartVisualOptions) => void;\n}\n\nexport function VisualOptionsEditor({ value, onChange }: VisualOptionsEditorProps): ReactElement {\n const handleLineWidthChange = (_: Event, sliderValue: number | number[]): void => {\n const newValue = Array.isArray(sliderValue) ? sliderValue[0] : sliderValue;\n const symbolSize = newValue !== undefined ? newValue + POINT_SIZE_OFFSET : DEFAULT_POINT_RADIUS;\n onChange(\n produce(value, (draft) => {\n draft.lineWidth = newValue;\n draft.pointRadius = symbolSize;\n })\n );\n };\n\n const handleAreaOpacityChange = (_: Event, sliderValue: number | number[]): void => {\n const newValue = Array.isArray(sliderValue) ? sliderValue[0] : sliderValue;\n onChange(\n produce(value, (draft) => {\n draft.areaOpacity = newValue;\n })\n );\n };\n\n const currentStack: StackOptions = value.stack ?? 'none';\n const stackConfig = STACK_CONFIG[currentStack];\n\n return (\n <OptionsEditorGroup title=\"Visual\">\n <OptionsEditorControl\n label={VISUAL_CONFIG.stack.label}\n control={\n <SettingsAutocomplete\n value={{\n ...stackConfig,\n id: currentStack,\n }}\n options={STACK_OPTIONS}\n onChange={(__, newValue) => {\n const updatedValue: TimeSeriesChartVisualOptions = {\n ...value,\n stack: newValue.id === 'none' ? undefined : newValue.id, // stack is optional so remove property when 'None' is selected\n };\n // stacked area chart preset to automatically set area under a curve shading\n if (newValue.id === 'all' && !value.areaOpacity) {\n updatedValue.areaOpacity = 0.3;\n }\n onChange(updatedValue);\n }}\n disabled={value === undefined}\n disableClearable\n ></SettingsAutocomplete>\n }\n />\n <OptionsEditorControl\n label=\"Display\"\n control={\n <ToggleButtonGroup\n color=\"primary\"\n exclusive\n value={value.display ?? DEFAULT_DISPLAY}\n onChange={(__, newValue) => {\n onChange({\n ...value,\n display: newValue,\n });\n }}\n >\n <ToggleButton\n value=\"line\"\n selected={value.display === undefined || value.display === 'line'}\n aria-label=\"display line series\"\n >\n Line\n </ToggleButton>\n <ToggleButton value=\"bar\" aria-label=\"display bar series\">\n Bar\n </ToggleButton>\n </ToggleButtonGroup>\n }\n />\n {value.display === 'line' && (\n <>\n <OptionsEditorControl\n label={VISUAL_CONFIG.lineWidth.label}\n control={\n <Slider\n data-testid={VISUAL_CONFIG.lineWidth.testId}\n value={value.lineWidth ?? DEFAULT_LINE_WIDTH}\n valueLabelDisplay=\"auto\"\n step={VISUAL_CONFIG.lineWidth.step}\n marks\n min={VISUAL_CONFIG.lineWidth.min}\n max={VISUAL_CONFIG.lineWidth.max}\n onChange={handleLineWidthChange}\n />\n }\n />\n <OptionsEditorControl\n label={VISUAL_CONFIG.lineStyle.label}\n control={\n <ToggleButtonGroup\n color=\"primary\"\n exclusive\n value={value.lineStyle ?? DEFAULT_LINE_STYLE}\n onChange={(__, newValue) => {\n onChange({\n ...value,\n lineStyle: newValue,\n });\n }}\n >\n {Object.entries(LINE_STYLE_CONFIG).map(([styleValue, config]) => (\n <ToggleButton key={styleValue} value={styleValue} aria-label={`${styleValue} line style`}>\n {config.label}\n </ToggleButton>\n ))}\n </ToggleButtonGroup>\n }\n />\n <OptionsEditorControl\n label={VISUAL_CONFIG.areaOpacity.label}\n control={\n <Slider\n data-testid={VISUAL_CONFIG.areaOpacity.testId}\n value={value.areaOpacity ?? DEFAULT_AREA_OPACITY}\n valueLabelDisplay=\"auto\"\n step={VISUAL_CONFIG.areaOpacity.step}\n marks\n min={VISUAL_CONFIG.areaOpacity.min}\n max={VISUAL_CONFIG.areaOpacity.max}\n onChange={handleAreaOpacityChange}\n />\n }\n />\n <OptionsEditorControl\n label={VISUAL_CONFIG.connectNulls.label}\n control={\n <Switch\n checked={value.connectNulls ?? DEFAULT_CONNECT_NULLS}\n onChange={(e) => {\n onChange({\n ...value,\n connectNulls: e.target.checked,\n });\n }}\n />\n }\n />\n </>\n )}\n </OptionsEditorGroup>\n );\n}\n"],"names":["produce","Slider","Switch","ToggleButton","ToggleButtonGroup","OptionsEditorControl","OptionsEditorGroup","SettingsAutocomplete","DEFAULT_AREA_OPACITY","DEFAULT_CONNECT_NULLS","DEFAULT_LINE_WIDTH","DEFAULT_LINE_STYLE","DEFAULT_POINT_RADIUS","POINT_SIZE_OFFSET","STACK_CONFIG","STACK_OPTIONS","LINE_STYLE_CONFIG","VISUAL_CONFIG","DEFAULT_DISPLAY","VisualOptionsEditor","value","onChange","handleLineWidthChange","_","sliderValue","newValue","Array","isArray","symbolSize","undefined","draft","lineWidth","pointRadius","handleAreaOpacityChange","areaOpacity","currentStack","stack","stackConfig","title","label","control","id","options","__","updatedValue","disabled","disableClearable","color","exclusive","display","selected","aria-label","data-testid","testId","valueLabelDisplay","step","marks","min","max","lineStyle","Object","entries","map","styleValue","config","connectNulls","checked","e","target"],"mappings":";AAAA,oCAAoC;AACpC,kEAAkE;AAClE,mEAAmE;AACnE,0CAA0C;AAC1C,EAAE;AACF,6CAA6C;AAC7C,EAAE;AACF,sEAAsE;AACtE,oEAAoE;AACpE,2EAA2E;AAC3E,sEAAsE;AACtE,iCAAiC;AAEjC,SAASA,OAAO,QAAQ,QAAQ;AAChC,SAASC,MAAM,EAAEC,MAAM,EAAEC,YAAY,EAAEC,iBAAiB,QAAQ,gBAAgB;AAChF,SAASC,oBAAoB,EAAEC,kBAAkB,EAAEC,oBAAoB,QAAQ,yBAAyB;AAExG,SACEC,oBAAoB,EACpBC,qBAAqB,EACrBC,kBAAkB,EAClBC,kBAAkB,EAClBC,oBAAoB,EACpBC,iBAAiB,EACjBC,YAAY,EAEZC,aAAa,EACbC,iBAAiB,EACjBC,aAAa,EAEbC,eAAe,QACV,4BAA4B;AAOnC,OAAO,SAASC,oBAAoB,EAAEC,KAAK,EAAEC,QAAQ,EAA4B;IAC/E,MAAMC,wBAAwB,CAACC,GAAUC;QACvC,MAAMC,WAAWC,MAAMC,OAAO,CAACH,eAAeA,WAAW,CAAC,EAAE,GAAGA;QAC/D,MAAMI,aAAaH,aAAaI,YAAYJ,WAAWZ,oBAAoBD;QAC3ES,SACErB,QAAQoB,OAAO,CAACU;YACdA,MAAMC,SAAS,GAAGN;YAClBK,MAAME,WAAW,GAAGJ;QACtB;IAEJ;IAEA,MAAMK,0BAA0B,CAACV,GAAUC;QACzC,MAAMC,WAAWC,MAAMC,OAAO,CAACH,eAAeA,WAAW,CAAC,EAAE,GAAGA;QAC/DH,SACErB,QAAQoB,OAAO,CAACU;YACdA,MAAMI,WAAW,GAAGT;QACtB;IAEJ;IAEA,MAAMU,eAA6Bf,MAAMgB,KAAK,IAAI;IAClD,MAAMC,cAAcvB,YAAY,CAACqB,aAAa;IAE9C,qBACE,MAAC7B;QAAmB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,GAAG;4BAChCrC,UAAUC;;;kCAIhB,KAACjB;wBACCkC,OAAOtB,cAAc0C,SAAS,CAACpB,KAAK;wBACpCC,uBACE,KAACpC;4BACC2C,OAAM;4BACNC,SAAS;4BACT5B,OAAOA,MAAMuC,SAAS,IAAIhD;4BAC1BU,UAAU,CAACsB,IAAIlB;gCACbJ,SAAS;oCACP,GAAGD,KAAK;oCACRuC,WAAWlC;gCACb;4BACF;sCAECmC,OAAOC,OAAO,CAAC7C,mBAAmB8C,GAAG,CAAC,CAAC,CAACC,YAAYC,OAAO,iBAC1D,KAAC7D;oCAA8BiB,OAAO2C;oCAAYZ,cAAY,GAAGY,WAAW,WAAW,CAAC;8CACrFC,OAAOzB,KAAK;mCADIwB;;;kCAO3B,KAAC1D;wBACCkC,OAAOtB,cAAciB,WAAW,CAACK,KAAK;wBACtCC,uBACE,KAACvC;4BACCmD,eAAanC,cAAciB,WAAW,CAACmB,MAAM;4BAC7CjC,OAAOA,MAAMc,WAAW,IAAI1B;4BAC5B8C,mBAAkB;4BAClBC,MAAMtC,cAAciB,WAAW,CAACqB,IAAI;4BACpCC,KAAK;4BACLC,KAAKxC,cAAciB,WAAW,CAACuB,GAAG;4BAClCC,KAAKzC,cAAciB,WAAW,CAACwB,GAAG;4BAClCrC,UAAUY;;;kCAIhB,KAAC5B;wBACCkC,OAAOtB,cAAcgD,YAAY,CAAC1B,KAAK;wBACvCC,uBACE,KAACtC;4BACCgE,SAAS9C,MAAM6C,YAAY,IAAIxD;4BAC/BY,UAAU,CAAC8C;gCACT9C,SAAS;oCACP,GAAGD,KAAK;oCACR6C,cAAcE,EAAEC,MAAM,CAACF,OAAO;gCAChC;4BACF;;;;;;;AAQhB"}
@@ -1,3 +1,4 @@
1
+ import { jsx as _jsx, jsxs as _jsxs } from "react/jsx-runtime";
1
2
  // Copyright 2023 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,7 +11,6 @@
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 { Switch, TextField } from '@mui/material';
15
15
  import { OptionsEditorControl, OptionsEditorGroup, FormatControls } from '@perses-dev/components';
16
16
  import { DEFAULT_FORMAT, DEFAULT_Y_AXIS, Y_AXIS_CONFIG } from './time-series-chart-model';
@@ -1 +1 @@
1
- {"version":3,"sources":["../../src/YAxisOptionsEditor.tsx"],"sourcesContent":["// Copyright 2023 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 { Switch, TextField } from '@mui/material';\nimport { OptionsEditorControl, OptionsEditorGroup, FormatControls } from '@perses-dev/components';\nimport { ReactElement } from 'react';\nimport { DEFAULT_FORMAT, DEFAULT_Y_AXIS, TimeSeriesChartYAxisOptions, Y_AXIS_CONFIG } from './time-series-chart-model';\n\nexport interface YAxisOptionsEditorProps {\n value: TimeSeriesChartYAxisOptions;\n onChange: (yAxis: TimeSeriesChartYAxisOptions) => void;\n}\n\nexport function YAxisOptionsEditor({ value, onChange }: YAxisOptionsEditorProps): ReactElement {\n return (\n <OptionsEditorGroup title=\"Y Axis\">\n <OptionsEditorControl\n label=\"Show\"\n control={\n <Switch\n checked={value.show ?? DEFAULT_Y_AXIS.show}\n onChange={(e): void => {\n onChange({\n ...value,\n show: e.target.checked,\n });\n }}\n />\n }\n />\n <FormatControls\n value={value.format ?? DEFAULT_FORMAT}\n onChange={(newFormat): void =>\n onChange({\n ...value,\n format: newFormat,\n })\n }\n />\n <OptionsEditorControl\n label={Y_AXIS_CONFIG.label.label}\n control={\n <TextField\n value={value.label ?? ''}\n inputProps={{ 'aria-label': 'enter y axis label' }}\n onChange={(e) =>\n onChange({\n ...value,\n label: e.target.value,\n })\n }\n placeholder=\"Default\"\n />\n }\n />\n <OptionsEditorControl\n label={Y_AXIS_CONFIG.min.label}\n control={\n <TextField\n type=\"number\"\n value={value.min ?? ''}\n onChange={(e) => {\n // ensure empty value resets to undef to allow chart to calculate min\n const newValue = e.target.value ? Number(e.target.value) : undefined;\n onChange({\n ...value,\n min: newValue,\n });\n }}\n placeholder=\"Default\"\n />\n }\n />\n <OptionsEditorControl\n label={Y_AXIS_CONFIG.max.label}\n control={\n <TextField\n type=\"number\"\n value={value.max ?? ''}\n onChange={(e) => {\n // ensure empty value resets to undef to allow chart to calculate max\n const newValue = e.target.value ? Number(e.target.value) : undefined;\n onChange({\n ...value,\n max: newValue,\n });\n }}\n placeholder=\"Default\"\n />\n }\n />\n </OptionsEditorGroup>\n );\n}\n"],"names":["Switch","TextField","OptionsEditorControl","OptionsEditorGroup","FormatControls","DEFAULT_FORMAT","DEFAULT_Y_AXIS","Y_AXIS_CONFIG","YAxisOptionsEditor","value","onChange","title","label","control","checked","show","e","target","format","newFormat","inputProps","placeholder","min","type","newValue","Number","undefined","max"],"mappings":"AAAA,oCAAoC;AACpC,kEAAkE;AAClE,mEAAmE;AACnE,0CAA0C;AAC1C,EAAE;AACF,6CAA6C;AAC7C,EAAE;AACF,sEAAsE;AACtE,oEAAoE;AACpE,2EAA2E;AAC3E,sEAAsE;AACtE,iCAAiC;;AAEjC,SAASA,MAAM,EAAEC,SAAS,QAAQ,gBAAgB;AAClD,SAASC,oBAAoB,EAAEC,kBAAkB,EAAEC,cAAc,QAAQ,yBAAyB;AAElG,SAASC,cAAc,EAAEC,cAAc,EAA+BC,aAAa,QAAQ,4BAA4B;AAOvH,OAAO,SAASC,mBAAmB,EAAEC,KAAK,EAAEC,QAAQ,EAA2B;IAC7E,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;4BACP,GAAGD,KAAK;4BACRkB,KAAKH;wBACP;oBACF;oBACAH,aAAY;;;;;AAMxB"}
1
+ {"version":3,"sources":["../../src/YAxisOptionsEditor.tsx"],"sourcesContent":["// Copyright 2023 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 { Switch, TextField } from '@mui/material';\nimport { OptionsEditorControl, OptionsEditorGroup, FormatControls } from '@perses-dev/components';\nimport { ReactElement } from 'react';\nimport { DEFAULT_FORMAT, DEFAULT_Y_AXIS, TimeSeriesChartYAxisOptions, Y_AXIS_CONFIG } from './time-series-chart-model';\n\nexport interface YAxisOptionsEditorProps {\n value: TimeSeriesChartYAxisOptions;\n onChange: (yAxis: TimeSeriesChartYAxisOptions) => void;\n}\n\nexport function YAxisOptionsEditor({ value, onChange }: YAxisOptionsEditorProps): ReactElement {\n return (\n <OptionsEditorGroup title=\"Y Axis\">\n <OptionsEditorControl\n label=\"Show\"\n control={\n <Switch\n checked={value.show ?? DEFAULT_Y_AXIS.show}\n onChange={(e): void => {\n onChange({\n ...value,\n show: e.target.checked,\n });\n }}\n />\n }\n />\n <FormatControls\n value={value.format ?? DEFAULT_FORMAT}\n onChange={(newFormat): void =>\n onChange({\n ...value,\n format: newFormat,\n })\n }\n />\n <OptionsEditorControl\n label={Y_AXIS_CONFIG.label.label}\n control={\n <TextField\n value={value.label ?? ''}\n inputProps={{ 'aria-label': 'enter y axis label' }}\n onChange={(e) =>\n onChange({\n ...value,\n label: e.target.value,\n })\n }\n placeholder=\"Default\"\n />\n }\n />\n <OptionsEditorControl\n label={Y_AXIS_CONFIG.min.label}\n control={\n <TextField\n type=\"number\"\n value={value.min ?? ''}\n onChange={(e) => {\n // ensure empty value resets to undef to allow chart to calculate min\n const newValue = e.target.value ? Number(e.target.value) : undefined;\n onChange({\n ...value,\n min: newValue,\n });\n }}\n placeholder=\"Default\"\n />\n }\n />\n <OptionsEditorControl\n label={Y_AXIS_CONFIG.max.label}\n control={\n <TextField\n type=\"number\"\n value={value.max ?? ''}\n onChange={(e) => {\n // ensure empty value resets to undef to allow chart to calculate max\n const newValue = e.target.value ? Number(e.target.value) : undefined;\n onChange({\n ...value,\n max: newValue,\n });\n }}\n placeholder=\"Default\"\n />\n }\n />\n </OptionsEditorGroup>\n );\n}\n"],"names":["Switch","TextField","OptionsEditorControl","OptionsEditorGroup","FormatControls","DEFAULT_FORMAT","DEFAULT_Y_AXIS","Y_AXIS_CONFIG","YAxisOptionsEditor","value","onChange","title","label","control","checked","show","e","target","format","newFormat","inputProps","placeholder","min","type","newValue","Number","undefined","max"],"mappings":";AAAA,oCAAoC;AACpC,kEAAkE;AAClE,mEAAmE;AACnE,0CAA0C;AAC1C,EAAE;AACF,6CAA6C;AAC7C,EAAE;AACF,sEAAsE;AACtE,oEAAoE;AACpE,2EAA2E;AAC3E,sEAAsE;AACtE,iCAAiC;AAEjC,SAASA,MAAM,EAAEC,SAAS,QAAQ,gBAAgB;AAClD,SAASC,oBAAoB,EAAEC,kBAAkB,EAAEC,cAAc,QAAQ,yBAAyB;AAElG,SAASC,cAAc,EAAEC,cAAc,EAA+BC,aAAa,QAAQ,4BAA4B;AAOvH,OAAO,SAASC,mBAAmB,EAAEC,KAAK,EAAEC,QAAQ,EAA2B;IAC7E,qBACE,MAACP;QAAmBQ,OAAM;;0BACxB,KAACT;gBACCU,OAAM;gBACNC,uBACE,KAACb;oBACCc,SAASL,MAAMM,IAAI,IAAIT,eAAeS,IAAI;oBAC1CL,UAAU,CAACM;wBACTN,SAAS;4BACP,GAAGD,KAAK;4BACRM,MAAMC,EAAEC,MAAM,CAACH,OAAO;wBACxB;oBACF;;;0BAIN,KAACV;gBACCK,OAAOA,MAAMS,MAAM,IAAIb;gBACvBK,UAAU,CAACS,YACTT,SAAS;wBACP,GAAGD,KAAK;wBACRS,QAAQC;oBACV;;0BAGJ,KAACjB;gBACCU,OAAOL,cAAcK,KAAK,CAACA,KAAK;gBAChCC,uBACE,KAACZ;oBACCQ,OAAOA,MAAMG,KAAK,IAAI;oBACtBQ,YAAY;wBAAE,cAAc;oBAAqB;oBACjDV,UAAU,CAACM,IACTN,SAAS;4BACP,GAAGD,KAAK;4BACRG,OAAOI,EAAEC,MAAM,CAACR,KAAK;wBACvB;oBAEFY,aAAY;;;0BAIlB,KAACnB;gBACCU,OAAOL,cAAce,GAAG,CAACV,KAAK;gBAC9BC,uBACE,KAACZ;oBACCsB,MAAK;oBACLd,OAAOA,MAAMa,GAAG,IAAI;oBACpBZ,UAAU,CAACM;wBACT,qEAAqE;wBACrE,MAAMQ,WAAWR,EAAEC,MAAM,CAACR,KAAK,GAAGgB,OAAOT,EAAEC,MAAM,CAACR,KAAK,IAAIiB;wBAC3DhB,SAAS;4BACP,GAAGD,KAAK;4BACRa,KAAKE;wBACP;oBACF;oBACAH,aAAY;;;0BAIlB,KAACnB;gBACCU,OAAOL,cAAcoB,GAAG,CAACf,KAAK;gBAC9BC,uBACE,KAACZ;oBACCsB,MAAK;oBACLd,OAAOA,MAAMkB,GAAG,IAAI;oBACpBjB,UAAU,CAACM;wBACT,qEAAqE;wBACrE,MAAMQ,WAAWR,EAAEC,MAAM,CAACR,KAAK,GAAGgB,OAAOT,EAAEC,MAAM,CAACR,KAAK,IAAIiB;wBAC3DhB,SAAS;4BACP,GAAGD,KAAK;4BACRkB,KAAKH;wBACP;oBACF;oBACAH,aAAY;;;;;AAMxB"}
package/lib/bootstrap.js CHANGED
@@ -1,3 +1,4 @@
1
+ import { jsx as _jsx } from "react/jsx-runtime";
1
2
  // Copyright 2024 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,7 +11,6 @@
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 } from "react/jsx-runtime";
14
14
  import React from 'react';
15
15
  import ReactDOM from 'react-dom/client';
16
16
  const root = ReactDOM.createRoot(document.getElementById('root'));
@@ -1 +1 @@
1
- {"version":3,"sources":["../../src/bootstrap.tsx"],"sourcesContent":["// Copyright 2024 The Perses Authors\n// Licensed under the Apache License, Version 2.0 (the \"License\");\n// you may not use this file except in compliance with the License.\n// You may obtain a copy of the License at\n//\n// http://www.apache.org/licenses/LICENSE-2.0\n//\n// Unless required by applicable law or agreed to in writing, software\n// distributed under the License is distributed on an \"AS IS\" BASIS,\n// WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.\n// See the License for the specific language governing permissions and\n// limitations under the License.\n\nimport React from 'react';\nimport ReactDOM from 'react-dom/client';\n\nconst root = ReactDOM.createRoot(document.getElementById('root')!);\nroot.render(<React.StrictMode></React.StrictMode>);\n"],"names":["React","ReactDOM","root","createRoot","document","getElementById","render","StrictMode"],"mappings":"AAAA,oCAAoC;AACpC,kEAAkE;AAClE,mEAAmE;AACnE,0CAA0C;AAC1C,EAAE;AACF,6CAA6C;AAC7C,EAAE;AACF,sEAAsE;AACtE,oEAAoE;AACpE,2EAA2E;AAC3E,sEAAsE;AACtE,iCAAiC;;AAEjC,OAAOA,WAAW,QAAQ;AAC1B,OAAOC,cAAc,mBAAmB;AAExC,MAAMC,OAAOD,SAASE,UAAU,CAACC,SAASC,cAAc,CAAC;AACzDH,KAAKI,MAAM,eAAC,KAACN,MAAMO,UAAU"}
1
+ {"version":3,"sources":["../../src/bootstrap.tsx"],"sourcesContent":["// Copyright 2024 The Perses Authors\n// Licensed under the Apache License, Version 2.0 (the \"License\");\n// you may not use this file except in compliance with the License.\n// You may obtain a copy of the License at\n//\n// http://www.apache.org/licenses/LICENSE-2.0\n//\n// Unless required by applicable law or agreed to in writing, software\n// distributed under the License is distributed on an \"AS IS\" BASIS,\n// WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.\n// See the License for the specific language governing permissions and\n// limitations under the License.\n\nimport React from 'react';\nimport ReactDOM from 'react-dom/client';\n\nconst root = ReactDOM.createRoot(document.getElementById('root')!);\nroot.render(<React.StrictMode></React.StrictMode>);\n"],"names":["React","ReactDOM","root","createRoot","document","getElementById","render","StrictMode"],"mappings":";AAAA,oCAAoC;AACpC,kEAAkE;AAClE,mEAAmE;AACnE,0CAA0C;AAC1C,EAAE;AACF,6CAA6C;AAC7C,EAAE;AACF,sEAAsE;AACtE,oEAAoE;AACpE,2EAA2E;AAC3E,sEAAsE;AACtE,iCAAiC;AAEjC,OAAOA,WAAW,QAAQ;AAC1B,OAAOC,cAAc,mBAAmB;AAExC,MAAMC,OAAOD,SAASE,UAAU,CAACC,SAASC,cAAc,CAAC;AACzDH,KAAKI,MAAM,eAAC,KAACN,MAAMO,UAAU"}
@@ -17,32 +17,32 @@ Object.defineProperty(exports, "__esModule", {
17
17
  function _export(target, all) {
18
18
  for(var name in all)Object.defineProperty(target, name, {
19
19
  enumerable: true,
20
- get: all[name]
20
+ get: Object.getOwnPropertyDescriptor(all, name).get
21
21
  });
22
22
  }
23
23
  _export(exports, {
24
- escapeCsvValue: function() {
24
+ get escapeCsvValue () {
25
25
  return escapeCsvValue;
26
26
  },
27
- exportDataAsCSV: function() {
27
+ get exportDataAsCSV () {
28
28
  return exportDataAsCSV;
29
29
  },
30
- extractExportableData: function() {
30
+ get extractExportableData () {
31
31
  return extractExportableData;
32
32
  },
33
- formatLegendName: function() {
33
+ get formatLegendName () {
34
34
  return formatLegendName;
35
35
  },
36
- formatTimestampISO: function() {
36
+ get formatTimestampISO () {
37
37
  return formatTimestampISO;
38
38
  },
39
- isExportableData: function() {
39
+ get isExportableData () {
40
40
  return isExportableData;
41
41
  },
42
- sanitizeColumnName: function() {
42
+ get sanitizeColumnName () {
43
43
  return sanitizeColumnName;
44
44
  },
45
- sanitizeFilename: function() {
45
+ get sanitizeFilename () {
46
46
  return sanitizeFilename;
47
47
  }
48
48
  });
@@ -336,8 +336,7 @@ function TimeSeriesChartPanel(props) {
336
336
  grid: gridOverrides,
337
337
  isStackedBar: isStackedBar,
338
338
  tooltipConfig: tooltipConfig,
339
- syncGroup: "default-panel-group" // TODO: make configurable from dashboard settings and per panel-group overrides
340
- ,
339
+ syncGroup: "default-panel-group",
341
340
  onDataZoom: handleDataZoom,
342
341
  // Show an empty chart when there is no data because the user unselected all items in
343
342
  // the legend. Otherwise, show a "no data" message.
@@ -1,15 +1,3 @@
1
- // Copyright 2024 The Perses Authors
2
- // Licensed under the Apache License, Version 2.0 (the "License");
3
- // you may not use this file except in compliance with the License.
4
- // You may obtain a copy of the License at
5
- //
6
- // http://www.apache.org/licenses/LICENSE-2.0
7
- //
8
- // Unless required by applicable law or agreed to in writing, software
9
- // distributed under the License is distributed on an "AS IS" BASIS,
10
- // WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
11
- // See the License for the specific language governing permissions and
12
- // limitations under the License.
13
1
  "use strict";
14
2
  function _getRequireWildcardCache(nodeInterop) {
15
3
  if (typeof WeakMap !== "function") return null;
@@ -52,4 +40,16 @@ function _interop_require_wildcard(obj, nodeInterop) {
52
40
  }
53
41
  return newObj;
54
42
  }
43
+ // Copyright 2024 The Perses Authors
44
+ // Licensed under the Apache License, Version 2.0 (the "License");
45
+ // you may not use this file except in compliance with the License.
46
+ // You may obtain a copy of the License at
47
+ //
48
+ // http://www.apache.org/licenses/LICENSE-2.0
49
+ //
50
+ // Unless required by applicable law or agreed to in writing, software
51
+ // distributed under the License is distributed on an "AS IS" BASIS,
52
+ // WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
53
+ // See the License for the specific language governing permissions and
54
+ // limitations under the License.
55
55
  Promise.resolve().then(()=>/*#__PURE__*/ _interop_require_wildcard(require("./bootstrap")));
@@ -17,23 +17,23 @@ Object.defineProperty(exports, "__esModule", {
17
17
  function _export(target, all) {
18
18
  for(var name in all)Object.defineProperty(target, name, {
19
19
  enumerable: true,
20
- get: all[name]
20
+ get: Object.getOwnPropertyDescriptor(all, name).get
21
21
  });
22
22
  }
23
23
  _export(exports, {
24
- MOCK_NULL_QUERY_RESULT: function() {
24
+ get MOCK_NULL_QUERY_RESULT () {
25
25
  return MOCK_NULL_QUERY_RESULT;
26
26
  },
27
- MOCK_TIME_SERIES_DATA_MULTIVALUE: function() {
27
+ get MOCK_TIME_SERIES_DATA_MULTIVALUE () {
28
28
  return MOCK_TIME_SERIES_DATA_MULTIVALUE;
29
29
  },
30
- MOCK_TIME_SERIES_DATA_SINGLEVALUE: function() {
30
+ get MOCK_TIME_SERIES_DATA_SINGLEVALUE () {
31
31
  return MOCK_TIME_SERIES_DATA_SINGLEVALUE;
32
32
  },
33
- MOCK_TIME_SERIES_QUERY_RESULT_MULTIVALUE: function() {
33
+ get MOCK_TIME_SERIES_QUERY_RESULT_MULTIVALUE () {
34
34
  return MOCK_TIME_SERIES_QUERY_RESULT_MULTIVALUE;
35
35
  },
36
- MOCK_TIME_SERIES_QUERY_RESULT_SINGLEVALUE: function() {
36
+ get MOCK_TIME_SERIES_QUERY_RESULT_SINGLEVALUE () {
37
37
  return MOCK_TIME_SERIES_QUERY_RESULT_SINGLEVALUE;
38
38
  }
39
39
  });
@@ -17,68 +17,68 @@ Object.defineProperty(exports, "__esModule", {
17
17
  function _export(target, all) {
18
18
  for(var name in all)Object.defineProperty(target, name, {
19
19
  enumerable: true,
20
- get: all[name]
20
+ get: Object.getOwnPropertyDescriptor(all, name).get
21
21
  });
22
22
  }
23
23
  _export(exports, {
24
- DEFAULT_AREA_OPACITY: function() {
24
+ get DEFAULT_AREA_OPACITY () {
25
25
  return DEFAULT_AREA_OPACITY;
26
26
  },
27
- DEFAULT_CONNECT_NULLS: function() {
27
+ get DEFAULT_CONNECT_NULLS () {
28
28
  return DEFAULT_CONNECT_NULLS;
29
29
  },
30
- DEFAULT_DISPLAY: function() {
30
+ get DEFAULT_DISPLAY () {
31
31
  return DEFAULT_DISPLAY;
32
32
  },
33
- DEFAULT_FORMAT: function() {
33
+ get DEFAULT_FORMAT () {
34
34
  return DEFAULT_FORMAT;
35
35
  },
36
- DEFAULT_LINE_STYLE: function() {
36
+ get DEFAULT_LINE_STYLE () {
37
37
  return DEFAULT_LINE_STYLE;
38
38
  },
39
- DEFAULT_LINE_WIDTH: function() {
39
+ get DEFAULT_LINE_WIDTH () {
40
40
  return DEFAULT_LINE_WIDTH;
41
41
  },
42
- DEFAULT_POINT_RADIUS: function() {
42
+ get DEFAULT_POINT_RADIUS () {
43
43
  return DEFAULT_POINT_RADIUS;
44
44
  },
45
- DEFAULT_VISUAL: function() {
45
+ get DEFAULT_VISUAL () {
46
46
  return DEFAULT_VISUAL;
47
47
  },
48
- DEFAULT_Y_AXIS: function() {
48
+ get DEFAULT_Y_AXIS () {
49
49
  return DEFAULT_Y_AXIS;
50
50
  },
51
- LINE_STYLE_CONFIG: function() {
51
+ get LINE_STYLE_CONFIG () {
52
52
  return LINE_STYLE_CONFIG;
53
53
  },
54
- NEGATIVE_MIN_VALUE_MULTIPLIER: function() {
54
+ get NEGATIVE_MIN_VALUE_MULTIPLIER () {
55
55
  return NEGATIVE_MIN_VALUE_MULTIPLIER;
56
56
  },
57
- OPACITY_CONFIG: function() {
57
+ get OPACITY_CONFIG () {
58
58
  return OPACITY_CONFIG;
59
59
  },
60
- POINT_SIZE_OFFSET: function() {
60
+ get POINT_SIZE_OFFSET () {
61
61
  return POINT_SIZE_OFFSET;
62
62
  },
63
- POSITIVE_MIN_VALUE_MULTIPLIER: function() {
63
+ get POSITIVE_MIN_VALUE_MULTIPLIER () {
64
64
  return POSITIVE_MIN_VALUE_MULTIPLIER;
65
65
  },
66
- STACK_CONFIG: function() {
66
+ get STACK_CONFIG () {
67
67
  return STACK_CONFIG;
68
68
  },
69
- STACK_OPTIONS: function() {
69
+ get STACK_OPTIONS () {
70
70
  return STACK_OPTIONS;
71
71
  },
72
- THRESHOLD_PLOT_INTERVAL: function() {
72
+ get THRESHOLD_PLOT_INTERVAL () {
73
73
  return THRESHOLD_PLOT_INTERVAL;
74
74
  },
75
- VISUAL_CONFIG: function() {
75
+ get VISUAL_CONFIG () {
76
76
  return VISUAL_CONFIG;
77
77
  },
78
- Y_AXIS_CONFIG: function() {
78
+ get Y_AXIS_CONFIG () {
79
79
  return Y_AXIS_CONFIG;
80
80
  },
81
- createInitialTimeSeriesChartOptions: function() {
81
+ get createInitialTimeSeriesChartOptions () {
82
82
  return createInitialTimeSeriesChartOptions;
83
83
  }
84
84
  });
@@ -17,35 +17,35 @@ Object.defineProperty(exports, "__esModule", {
17
17
  function _export(target, all) {
18
18
  for(var name in all)Object.defineProperty(target, name, {
19
19
  enumerable: true,
20
- get: all[name]
20
+ get: Object.getOwnPropertyDescriptor(all, name).get
21
21
  });
22
22
  }
23
23
  _export(exports, {
24
- BLUR_FADEOUT_OPACITY: function() {
24
+ get BLUR_FADEOUT_OPACITY () {
25
25
  return BLUR_FADEOUT_OPACITY;
26
26
  },
27
- EMPTY_GRAPH_DATA: function() {
27
+ get EMPTY_GRAPH_DATA () {
28
28
  return EMPTY_GRAPH_DATA;
29
29
  },
30
- HIDE_DATAPOINTS_LIMIT: function() {
30
+ get HIDE_DATAPOINTS_LIMIT () {
31
31
  return HIDE_DATAPOINTS_LIMIT;
32
32
  },
33
- convertPanelYAxis: function() {
33
+ get convertPanelYAxis () {
34
34
  return convertPanelYAxis;
35
35
  },
36
- convertPercentThreshold: function() {
36
+ get convertPercentThreshold () {
37
37
  return convertPercentThreshold;
38
38
  },
39
- getCommonTimeScaleForQueries: function() {
39
+ get getCommonTimeScaleForQueries () {
40
40
  return getCommonTimeScaleForQueries;
41
41
  },
42
- getThresholdSeries: function() {
42
+ get getThresholdSeries () {
43
43
  return getThresholdSeries;
44
44
  },
45
- getTimeSeries: function() {
45
+ get getTimeSeries () {
46
46
  return getTimeSeries;
47
47
  },
48
- roundDown: function() {
48
+ get roundDown () {
49
49
  return roundDown;
50
50
  }
51
51
  });
@@ -17,20 +17,20 @@ Object.defineProperty(exports, "__esModule", {
17
17
  function _export(target, all) {
18
18
  for(var name in all)Object.defineProperty(target, name, {
19
19
  enumerable: true,
20
- get: all[name]
20
+ get: Object.getOwnPropertyDescriptor(all, name).get
21
21
  });
22
22
  }
23
23
  _export(exports, {
24
- getAutoPaletteColor: function() {
24
+ get getAutoPaletteColor () {
25
25
  return getAutoPaletteColor;
26
26
  },
27
- getCategoricalPaletteColor: function() {
27
+ get getCategoricalPaletteColor () {
28
28
  return getCategoricalPaletteColor;
29
29
  },
30
- getConsistentSeriesNameColor: function() {
30
+ get getConsistentSeriesNameColor () {
31
31
  return getConsistentSeriesNameColor;
32
32
  },
33
- getSeriesColor: function() {
33
+ get getSeriesColor () {
34
34
  return getSeriesColor;
35
35
  }
36
36
  });
@@ -17,14 +17,14 @@ Object.defineProperty(exports, "__esModule", {
17
17
  function _export(target, all) {
18
18
  for(var name in all)Object.defineProperty(target, name, {
19
19
  enumerable: true,
20
- get: all[name]
20
+ get: Object.getOwnPropertyDescriptor(all, name).get
21
21
  });
22
22
  }
23
23
  _export(exports, {
24
- getConsistentCategoricalColor: function() {
24
+ get getConsistentCategoricalColor () {
25
25
  return getConsistentCategoricalColor;
26
26
  },
27
- getConsistentColor: function() {
27
+ get getConsistentColor () {
28
28
  return getConsistentColor;
29
29
  }
30
30
  });
package/mf-manifest.json CHANGED
@@ -5,11 +5,11 @@
5
5
  "name": "TimeSeriesChart",
6
6
  "type": "app",
7
7
  "buildInfo": {
8
- "buildVersion": "0.11.0",
8
+ "buildVersion": "0.11.2",
9
9
  "buildName": "@perses-dev/timeseries-chart-plugin"
10
10
  },
11
11
  "remoteEntry": {
12
- "name": "__mf/js/TimeSeriesChart.3d19c5af.js",
12
+ "name": "__mf/js/TimeSeriesChart.95aa233e.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": "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/TimeSeriesChart/\"; }"
26
26
  },
@@ -35,7 +35,7 @@
35
35
  "js": {
36
36
  "async": [],
37
37
  "sync": [
38
- "__mf/js/async/960.cd399075.js"
38
+ "__mf/js/async/274.8e8950b6.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/694.ebf24a00.js",
58
- "__mf/js/async/770.e129dd07.js"
57
+ "__mf/js/async/235.a53a2591.js",
58
+ "__mf/js/async/616.6d37f37b.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/214.37696543.js",
78
- "__mf/js/async/738.c37f7bca.js"
77
+ "__mf/js/async/587.40becf9b.js",
78
+ "__mf/js/async/968.2ea36b8a.js"
79
79
  ]
80
80
  },
81
81
  "css": {
@@ -87,14 +87,14 @@
87
87
  {
88
88
  "id": "TimeSeriesChart:@perses-dev/components",
89
89
  "name": "@perses-dev/components",
90
- "version": "0.52.0",
90
+ "version": "0.53.0-beta.2",
91
91
  "singleton": true,
92
- "requiredVersion": "^0.52.0",
92
+ "requiredVersion": "^0.53.0-beta.2",
93
93
  "assets": {
94
94
  "js": {
95
95
  "async": [],
96
96
  "sync": [
97
- "__mf/js/async/547.a80ef962.js"
97
+ "__mf/js/async/440.020f91d3.js"
98
98
  ]
99
99
  },
100
100
  "css": {
@@ -106,14 +106,14 @@
106
106
  {
107
107
  "id": "TimeSeriesChart:@perses-dev/plugin-system",
108
108
  "name": "@perses-dev/plugin-system",
109
- "version": "0.52.0",
109
+ "version": "0.53.0-beta.2",
110
110
  "singleton": true,
111
- "requiredVersion": "^0.52.0",
111
+ "requiredVersion": "^0.53.0-beta.2",
112
112
  "assets": {
113
113
  "js": {
114
114
  "async": [],
115
115
  "sync": [
116
- "__mf/js/async/109.f05e61af.js"
116
+ "__mf/js/async/252.85ae7558.js"
117
117
  ]
118
118
  },
119
119
  "css": {
@@ -132,7 +132,7 @@
132
132
  "js": {
133
133
  "async": [],
134
134
  "sync": [
135
- "__mf/js/async/75.26ec5bee.js"
135
+ "__mf/js/async/192.30450189.js"
136
136
  ]
137
137
  },
138
138
  "css": {
@@ -151,7 +151,7 @@
151
151
  "js": {
152
152
  "async": [],
153
153
  "sync": [
154
- "__mf/js/async/409.97dde548.js"
154
+ "__mf/js/async/873.11e0e15e.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/981.e360e7df.js"
173
+ "__mf/js/async/392.fa5c2b2f.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/173.58a1dc61.js"
192
+ "__mf/js/async/470.4c93905a.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/110.8b9c7f4b.js"
211
+ "__mf/js/async/121.a742c022.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/740.f0e8d499.js"
230
+ "__mf/js/async/978.844227d5.js"
231
231
  ]
232
232
  },
233
233
  "css": {
@@ -245,28 +245,28 @@
245
245
  "assets": {
246
246
  "js": {
247
247
  "sync": [
248
- "__mf/js/async/797.72ff552e.js",
249
- "__mf/js/async/964.e89cbd3b.js",
250
- "__mf/js/async/186.b17dcce5.js",
251
- "__mf/js/async/53.8edfe937.js",
252
- "__mf/js/async/613.20f15bb7.js",
253
- "__mf/js/async/__federation_expose_TimeSeriesChart.f017c9e5.js"
248
+ "__mf/js/async/702.5d93a78a.js",
249
+ "__mf/js/async/109.dc414292.js",
250
+ "__mf/js/async/197.e065f9da.js",
251
+ "__mf/js/async/437.aa3568c0.js",
252
+ "__mf/js/async/724.5594af97.js",
253
+ "__mf/js/async/__federation_expose_TimeSeriesChart.340a97c5.js"
254
254
  ],
255
255
  "async": [
256
- "__mf/js/async/224.2d3ce51f.js",
257
- "__mf/js/async/238.767e5398.js",
258
- "__mf/js/async/292.9efc6a73.js",
259
- "__mf/js/async/476.23a59a72.js",
260
- "__mf/js/async/971.6fcf317e.js",
261
- "__mf/js/async/lib-router.25a1f509.js",
262
- "__mf/js/async/488.031fc875.js"
256
+ "__mf/js/async/71.e481dbdb.js",
257
+ "__mf/js/async/588.33924c3f.js",
258
+ "__mf/js/async/356.dee0f34a.js",
259
+ "__mf/js/async/491.35fc6280.js",
260
+ "__mf/js/async/591.9d963c5f.js",
261
+ "__mf/js/async/lib-router.54d80a0a.js",
262
+ "__mf/js/async/177.97e14ed0.js"
263
263
  ]
264
264
  },
265
265
  "css": {
266
266
  "sync": [],
267
267
  "async": [
268
- "__mf/css/async/341.9a1fa3dd.css",
269
- "__mf/css/async/263.9a1fa3dd.css"
268
+ "__mf/css/async/61.d3010b86.css",
269
+ "__mf/css/async/823.d3010b86.css"
270
270
  ]
271
271
  }
272
272
  },