@rero/ng-core
Version:
RERO angular core library.
27 lines (26 loc) • 1.38 kB
TypeScript
import { Aggregation } from '../../record';
import * as i0 from "@angular/core";
export declare class RecordSearchAggregationComponent {
/** Aggregation data */
aggregation: import("@angular/core").InputSignal<Aggregation>;
/** Current selected values */
aggregationsFilters: import("@angular/core").InputSignal<any[]>;
/** Output event when aggregation is clicked. */
aggregationClicked: import("@angular/core").OutputEmitterRef<{
key: string;
expanded: boolean;
}>;
/**
* Returns aggregations filters corresponding to the aggregation key.
* @return List of aggregation filters
*/
get aggregationFilters(): Array<string>;
/** Is the aggregation content should be displayed. */
get isAggregationDisplayed(): boolean;
/**
* Method called when the title of an aggregation is clicked.
*/
toggleVisibility(): void;
static ɵfac: i0.ɵɵFactoryDeclaration<RecordSearchAggregationComponent, never>;
static ɵcmp: i0.ɵɵComponentDeclaration<RecordSearchAggregationComponent, "ng-core-record-search-aggregation", never, { "aggregation": { "alias": "aggregation"; "required": false; "isSignal": true; }; "aggregationsFilters": { "alias": "aggregationsFilters"; "required": true; "isSignal": true; }; }, { "aggregationClicked": "aggregationClicked"; }, never, never, false, never>;
}