novo-elements
Version:
70 lines (66 loc) • 4.32 kB
TypeScript
import * as i0 from '@angular/core';
import { OnChanges, OnInit, EventEmitter, SimpleChanges } from '@angular/core';
import { NovoLabelService } from 'novo-elements/services';
import * as i2 from '@angular/common';
import * as i3 from 'novo-elements/elements/icon';
import * as i4 from 'novo-elements/elements/button';
import * as i5 from 'novo-elements/elements/loading';
import * as i6 from 'novo-elements/elements/tooltip';
declare class CardActionsElement {
static ɵfac: i0.ɵɵFactoryDeclaration<CardActionsElement, never>;
static ɵcmp: i0.ɵɵComponentDeclaration<CardActionsElement, "novo-card-actions", never, {}, {}, never, ["*"], false, never>;
}
/**
* Content of a card, needed as it's used as a selector in the API.
*/
declare class CardContentElement {
condensed: boolean;
static ɵfac: i0.ɵɵFactoryDeclaration<CardContentElement, never>;
static ɵcmp: i0.ɵɵComponentDeclaration<CardContentElement, "novo-card-content, [novo-card-content], [novoCardContent]", never, { "condensed": { "alias": "condensed"; "required": false; }; }, {}, never, ["*"], false, never>;
}
/**
* Content of a card, needed as it's used as a selector in the API.
*/
declare class CardHeaderElement {
static ɵfac: i0.ɵɵFactoryDeclaration<CardHeaderElement, never>;
static ɵcmp: i0.ɵɵComponentDeclaration<CardHeaderElement, "novo-card-header, [novo-card-header], [novoCardHeader]", never, {}, {}, never, ["novo-avatar, [novo-avatar], novo-icon", "novo-title, [novo-title], novo-text, novo-label, novo-caption", "*", "novo-action"], false, never>;
}
declare class CardFooterElement {
static ɵfac: i0.ɵɵFactoryDeclaration<CardFooterElement, never>;
static ɵcmp: i0.ɵɵComponentDeclaration<CardFooterElement, "novo-card-footer, [novo-card-footer], [novoCardFooter]", never, {}, {}, never, ["*"], false, never>;
}
declare class CardElement implements OnChanges, OnInit {
padding: boolean;
config: any;
title: string;
message: string;
messageIcon: string;
icon: string;
iconTooltip: string;
refresh: boolean;
close: boolean;
move: boolean;
loading: boolean;
inline: boolean;
inset: string;
get hbInset(): string;
onClose: EventEmitter<void>;
onRefresh: EventEmitter<void>;
cardAutomationId: string;
labels: NovoLabelService;
iconClass: string | null;
messageIconClass: string;
constructor(labels: NovoLabelService);
ngOnInit(): void;
ngOnChanges(changes?: SimpleChanges): void;
toggleClose(): void;
toggleRefresh(): void;
static ɵfac: i0.ɵɵFactoryDeclaration<CardElement, never>;
static ɵcmp: i0.ɵɵComponentDeclaration<CardElement, "novo-card", never, { "padding": { "alias": "padding"; "required": false; }; "config": { "alias": "config"; "required": false; }; "title": { "alias": "title"; "required": false; }; "message": { "alias": "message"; "required": false; }; "messageIcon": { "alias": "messageIcon"; "required": false; }; "icon": { "alias": "icon"; "required": false; }; "iconTooltip": { "alias": "iconTooltip"; "required": false; }; "refresh": { "alias": "refresh"; "required": false; }; "close": { "alias": "close"; "required": false; }; "move": { "alias": "move"; "required": false; }; "loading": { "alias": "loading"; "required": false; }; "inline": { "alias": "inline"; "required": false; }; "inset": { "alias": "inset"; "required": false; }; }, { "onClose": "onClose"; "onRefresh": "onRefresh"; }, never, ["novo-card-actions", "*", "footer,novo-card-footer,[novo-card-footer],[novoCardFooter]"], false, never>;
}
declare class NovoCardModule {
static ɵfac: i0.ɵɵFactoryDeclaration<NovoCardModule, never>;
static ɵmod: i0.ɵɵNgModuleDeclaration<NovoCardModule, [typeof CardElement, typeof CardActionsElement, typeof CardContentElement, typeof CardHeaderElement, typeof CardFooterElement], [typeof i2.CommonModule, typeof i3.NovoIconModule, typeof i4.NovoButtonModule, typeof i5.NovoLoadingModule, typeof i6.NovoTooltipModule], [typeof CardElement, typeof CardActionsElement, typeof CardContentElement, typeof CardHeaderElement, typeof CardFooterElement]>;
static ɵinj: i0.ɵɵInjectorDeclaration<NovoCardModule>;
}
export { CardActionsElement, CardContentElement, CardElement, CardFooterElement, CardHeaderElement, NovoCardModule };