Commit ff7db709 by Ryan McKinley Committed by GitHub

@grafana/ui: avoid imports to @grafana/data/src/... (#24358)

parent 91a83b71
......@@ -7,7 +7,12 @@ export { FilterFieldsByNameTransformerOptions } from './transformers/filterByNam
export { FilterFramesByRefIdTransformerOptions } from './transformers/filterByRefId';
export { SeriesToColumnsOptions } from './transformers/seriesToColumns';
export { ReduceTransformerOptions } from './transformers/reduce';
export { CalculateFieldTransformerOptions } from './transformers/calculateField';
export { LabelsToFieldsOptions } from './transformers/labelsToFields';
export {
CalculateFieldTransformerOptions,
CalculateFieldMode,
getResultFieldNameForCalculateFieldTransformerOptions,
} from './transformers/calculateField';
export { OrganizeFieldsTransformerOptions } from './transformers/organize';
export { createOrderFieldsComparer } from './transformers/order';
export { transformDataFrame } from './transformDataFrame';
......
......@@ -12,16 +12,14 @@ import {
BinaryOperationID,
SelectableValue,
binaryOperators,
CalculateFieldMode,
getResultFieldNameForCalculateFieldTransformerOptions,
} from '@grafana/data';
import { StatsPicker } from '../StatsPicker/StatsPicker';
import { Switch } from '../Forms/Legacy/Switch/Switch';
import { Input } from '../Input/Input';
import { FilterPill } from '../FilterPill/FilterPill';
import { HorizontalGroup } from '../Layout/Layout';
import {
CalculateFieldMode,
getResultFieldNameForCalculateFieldTransformerOptions,
} from '@grafana/data/src/transformations/transformers/calculateField';
import { Select } from '../Select/Select';
import defaults from 'lodash/defaults';
......
import React from 'react';
import { DataTransformerID, standardTransformers, TransformerRegistyItem, TransformerUIProps } from '@grafana/data';
import { LabelsToFieldsOptions } from '@grafana/data/src/transformations/transformers/labelsToFields';
import {
DataTransformerID,
standardTransformers,
TransformerRegistyItem,
TransformerUIProps,
LabelsToFieldsOptions,
} from '@grafana/data';
export const LabelsAsFieldsTransformerEditor: React.FC<TransformerUIProps<LabelsToFieldsOptions>> = ({
input,
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment