@univerjs-pro/sheets-pivot
Version:
Univer Sheets Pivot Table
61 lines (60 loc) • 2.67 kB
TypeScript
import { PivotDataFieldDataTypeEnum, PivotDataFieldSortOperatorEnum, PivotDataFieldSortTypeEnum, PivotDateGroupFieldDateTypeEnum, PivotFilterTypeEnum, PivotSubtotalTypeEnum, PivotTableChangeTypeEnum, PivotTableFiledAreaEnum, PivotTableValuePositionEnum, ST_PivotFilterOperatorEnum } from '@univerjs-pro/engine-pivot';
import { PositionType } from '@univerjs-pro/sheets-pivot';
/**
* @ignore
*/
export interface IPivotEnumMixin {
/**
* Represents the subtotal type of the pivot table. {@link PivotSubtotalTypeEnum}
*/
PivotSubtotalTypeEnum: typeof PivotSubtotalTypeEnum;
/**
* Represents the filter type of the pivot table. {@link PivotFilterTypeEnum}
*/
PivotFilterTypeEnum: typeof PivotFilterTypeEnum;
/**
* Represents the field area of the pivot table. {@link PivotTableFiledAreaEnum}
*/
PivotTableFiledAreaEnum: typeof PivotTableFiledAreaEnum;
/**
* Represents the value position of the pivot table. {@link PivotTableValuePositionEnum}
* @description In excel pivot table, the value position can be placed in the row, column area, but only there are more than one value field it will be placed.
*/
PivotTableValuePositionEnum: typeof PivotTableValuePositionEnum;
/**
* Represents the data type of the pivot data field. {@link PivotDataFieldDataTypeEnum}
* @description This is enum is used to specify the data type of the pivot source field.
*/
PivotDataFieldDataTypeEnum: typeof PivotDataFieldDataTypeEnum;
/**
* Represents the sort type of the pivot data field. {@link PivotDataFieldSortTypeEnum}
*/
PivotDataFieldSortTypeEnum: typeof PivotDataFieldSortTypeEnum;
/**
* Represents the sort operator of the pivot data field. {@link PivotDataFieldSortOperatorEnum}
*/
PivotDataFieldSortOperatorEnum: typeof PivotDataFieldSortOperatorEnum;
/**
* Represents the filter operator of the pivot filter. {@link ST_PivotFilterOperatorEnum}
*/
PivotFilterOperatorEnum: typeof ST_PivotFilterOperatorEnum;
/**
* Represents the position type of the pivot table. {@link PositionType}
*/
PositionTypeEnum: typeof PositionType;
/**
* Represents the change type of the pivot table. {@link PivotTableChangeTypeEnum}
*/
PivotTableChangeTypeEnum: typeof PivotTableChangeTypeEnum;
/**
* Represents the date type of the pivot date group field. {@link PivotDateGroupFieldDateTypeEnum}
*/
PivotDateGroupFieldDateTypeEnum: typeof PivotDateGroupFieldDateTypeEnum;
}
/**
* @ignore
*/
declare module '@univerjs/core/facade' {
interface FEnum extends IPivotEnumMixin {
}
}