UNPKG

@grafana/ui

Version:
1 lines 828 B
{"version":3,"file":"types.mjs","sources":["../../../../src/components/PanelChrome/types.ts"],"sourcesContent":["/**\n * Mode to describe if a legend is isolated/selected or being appended to an existing\n * series selection.\n * @alpha\n */\n\nexport enum SeriesVisibilityChangeMode {\n ToggleSelection = 'select',\n AppendToSelection = 'append',\n}\n\nexport type OnSelectRangeCallback = (selections: RangeSelection2D[]) => void;\n\nexport interface RangeSelection1D {\n from: number;\n to: number;\n}\n\nexport interface RangeSelection2D {\n x?: RangeSelection1D;\n y?: RangeSelection1D;\n}\n"],"names":["SeriesVisibilityChangeMode"],"mappings":"AAMY,IAAA,0BAAA,qBAAAA,2BAAL,KAAA;AACL,EAAAA,4BAAA,iBAAkB,CAAA,GAAA,QAAA;AAClB,EAAAA,4BAAA,mBAAoB,CAAA,GAAA,QAAA;AAFV,EAAAA,OAAAA,2BAAAA;AAAA,CAAA,EAAA,0BAAA,IAAA,EAAA;;;;"}