ngx-gem-spaas
Version:
This library contains services, components, images and styles to provide a unified look and way-of-working throughout GEM SPaaS.
19 lines (18 loc) • 1.07 kB
TypeScript
import { BaseComponent, SnackbarService } from 'ngx-gem-spaas';
import { GranularityService } from '../_services/granularity.service';
import { GranularityType } from "../_models/contract.model";
import * as i0 from "@angular/core";
export declare class GranularityPickerComponent extends BaseComponent {
private granularityService;
private snackbarService;
/** Whether to allow selection of half-hourly granularity */
allowHalfHour: boolean;
granularity: GranularityType | null;
hoverGran: GranularityType | null;
constructor(granularityService: GranularityService, snackbarService: SnackbarService);
private getGranularity;
onClickGranularity(gran: GranularityType): void;
onHoverGranularity(gran: GranularityType | null): void;
static ɵfac: i0.ɵɵFactoryDeclaration<GranularityPickerComponent, never>;
static ɵcmp: i0.ɵɵComponentDeclaration<GranularityPickerComponent, "spaas-granularity-picker", never, { "allowHalfHour": { "alias": "allowHalfHour"; "required": false; }; }, {}, never, never, false, never>;
}