@ohayojp.com/components
Version:
Common business components of ohayojp.
30 lines (29 loc) • 1.2 kB
TypeScript
import { ChangeDetectorRef, EventEmitter, OnChanges, OnDestroy, OnInit } from '@angular/core';
import { OhayoLocaleService, LocaleData } from '@ohayojp.com/theme';
import { BooleanInput, NumberInput } from '@ohayojp.com/util';
import { NoticeIconSelect, NoticeItem } from './notice-icon.types';
export declare class NoticeIconComponent implements OnInit, OnChanges, OnDestroy {
private i18n;
private cdr;
static ngAcceptInputType_count: NumberInput;
static ngAcceptInputType_loading: BooleanInput;
static ngAcceptInputType_popoverVisible: BooleanInput;
private i18n$;
locale: LocaleData;
data: NoticeItem[];
count: number;
loading: boolean;
popoverVisible: boolean;
btnClass: string;
btnIconClass: string;
readonly select: EventEmitter<NoticeIconSelect>;
readonly clear: EventEmitter<string>;
readonly popoverVisibleChange: EventEmitter<boolean>;
constructor(i18n: OhayoLocaleService, cdr: ChangeDetectorRef);
onVisibleChange(result: boolean): void;
onSelect(i: NoticeIconSelect): void;
onClear(title: string): void;
ngOnInit(): void;
ngOnChanges(): void;
ngOnDestroy(): void;
}