import { PivotCallbackEnum, PivotCellStyleTypeEnum, PivotDataFieldDataTypeEnum, PivotDataFieldSortOperatorEnum, PivotDataFieldSortTypeEnum, PivotDataFieldTypeEnum, PivotDateGroupFieldDateTypeEnum, PivotDateGroupingMode, PivotExcelDateGroupUnit, PivotFilterTypeEnum, PivotLayoutTypeEnum, PivotShowAsBaseItemTypeEnum, PivotShowAsTypeEnum, PivotSubtotalPositionEnum, PivotSubtotalTypeEnum, PivotTableChangeTypeEnum, PivotTableFiledAreaEnum, PivotTableValuePositionEnum, PivotViewCellValueTypeEnum, ST_PivotFilterOperatorEnum } from '@univerjs-pro/engine-pivot'; import { PositionType } from '@univerjs-pro/sheets-pivot'; import { DateSystem } from '@univerjs/core'; /** * @ignore */ export interface IFSheetsPivotEnumMixin { /** * 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; /** * Represents the pivot table date grouping mode. {@link PivotDateGroupingMode} */ PivotDateGroupingMode: typeof PivotDateGroupingMode; /** * Represents a calendar unit for Excel-style date grouping. {@link PivotExcelDateGroupUnit} */ PivotExcelDateGroupUnit: typeof PivotExcelDateGroupUnit; /** * Represents the show-as calculation type of a pivot value field. {@link PivotShowAsTypeEnum} */ PivotShowAsTypeEnum: typeof PivotShowAsTypeEnum; /** * Represents how the base item is selected for a Show Values As calculation. {@link PivotShowAsBaseItemTypeEnum} */ PivotShowAsBaseItemTypeEnum: typeof PivotShowAsBaseItemTypeEnum; /** * Represents the layout type of a pivot table. {@link PivotLayoutTypeEnum} */ PivotLayoutTypeEnum: typeof PivotLayoutTypeEnum; /** * Represents where row subtotals are displayed in outline layout. {@link PivotSubtotalPositionEnum} */ PivotSubtotalPositionEnum: typeof PivotSubtotalPositionEnum; /** * Represents the callback execution timing of the pivot engine. {@link PivotCallbackEnum} */ PivotCallbackEnum: typeof PivotCallbackEnum; /** * Represents the source field type, including normal and group fields. {@link PivotDataFieldTypeEnum} */ PivotDataFieldTypeEnum: typeof PivotDataFieldTypeEnum; /** * Represents the date system used by pivot date group fields. {@link DateSystem} */ DateSystem: typeof DateSystem; /** * Represents the pivot cell style type generated by the pivot view. {@link PivotCellStyleTypeEnum} */ PivotCellStyleTypeEnum: typeof PivotCellStyleTypeEnum; /** * Represents the pivot view cell value type generated by the pivot view. {@link PivotViewCellValueTypeEnum} */ PivotViewCellValueTypeEnum: typeof PivotViewCellValueTypeEnum; } /** * @ignore */ declare module '@univerjs/core/facade' { interface FEnum extends IFSheetsPivotEnumMixin { } }