@microsoft/windows-admin-center-sdk
Version:
Microsoft - Windows Admin Center Shell
58 lines (57 loc) • 1.86 kB
TypeScript
import { CoreBaseComponent } from '../common/base.component';
import { LayoutConfig } from '../layout';
import { SummaryItem } from '../summary/summary-item';
import * as i0 from "@angular/core";
/**
*
* @smeDoc {@label Summary Group @id sme-summary-group}
*
* @overview
* @file {@filepath ./examples/summary-group-overview.md}
*
* @example {@label Basic Usage @id basic-usage}
* @file {@filename component.ts @filepath ./examples/summary-group-example.component.ts}
* @file {@filename component.html @filepath ./examples/summary-group-example.component.html}
*
*/
export interface SummaryGroupItems {
/**
* The icon url for the summary control.
*/
iconUrl?: string;
/**
* The title for the summary control.
*/
header: string;
/**
* The sub items for summary control.
*/
items: SummaryItem[];
/**
* Unique identifier for the groupings
*/
group?: string;
}
export declare class SummaryGroupComponent extends CoreBaseComponent {
/**
* The group items for the summary control.
*/
renderedItems: Array<SummaryGroupItems[]>;
/**
* The current layout configuration.
*/
layoutConfig: LayoutConfig;
/**
* Items to be displayed in the summary control.
*/
set groupItems(value: SummaryGroupItems[]);
get groupItems(): SummaryGroupItems[];
/**
* The source name to use for logging
*/
protected get logSourceName(): string;
private groupSummaryItems;
private groupItemsLocal;
static ɵfac: i0.ɵɵFactoryDeclaration<SummaryGroupComponent, never>;
static ɵcmp: i0.ɵɵComponentDeclaration<SummaryGroupComponent, "sme-summary-group", never, { "layoutConfig": "layoutConfig"; "groupItems": "groupItems"; }, {}, never, never, false, never>;
}