API reference: @salmonui/pivot-table
PivotDialogStatetype
import type { PivotDialogState } from '@salmonui/pivot-table';type PivotDialogState = {
readonly kind: 'fieldList';
} | {
readonly kind: 'memberEditor';
readonly field: string;
} | {
readonly kind: 'calculatedField';
readonly name: string | null;
} | {
readonly kind: 'numberFormat';
readonly measure: string | null;
} | {
readonly kind: 'conditionalFormat';
} | {
readonly kind: 'grouping';
readonly field: string;
} | {
readonly kind: 'drillThrough';
readonly rowIndex: number;
readonly columnIndex: number;
readonly rowKey: string;
readonly columnKey: string;
};