import * as _angular_core from '@angular/core'; import { MenuItem } from '@siemens/element-ng/common'; import { ContentActionBarMainItem, ViewType } from '@siemens/element-ng/content-action-bar'; import { MenuItem as MenuItem$1 } from '@siemens/element-ng/menu'; import { TranslatableString } from '@siemens/element-translate-ng/translate'; declare abstract class SiCardBaseDirective { /** * Card header text. */ readonly heading: _angular_core.InputSignal; /** * Card secondary header text. */ readonly subHeading: _angular_core.InputSignal; /** * Image source for the card. */ readonly imgSrc: _angular_core.InputSignal; /** * Alt text for a provided image. */ readonly imgAlt: _angular_core.InputSignal; /** * Defines if an image is placed on top or start (left) of the card. * * @defaultValue 'vertical' */ readonly imgDir: _angular_core.InputSignal<"horizontal" | "vertical" | undefined>; /** * Sets the image [object-fit](https://developer.mozilla.org/en-US/docs/Web/CSS/object-fit) CSS property. * * @defaultValue 'scale-down' */ readonly imgObjectFit: _angular_core.InputSignal<"fill" | "contain" | "cover" | "none" | "scale-down" | undefined>; /** * Sets the image [object-position](https://developer.mozilla.org/en-US/docs/Web/CSS/object-position) CSS property. */ readonly imgObjectPosition: _angular_core.InputSignal; /** * In case the card uses an image and horizontal direction is used we set flex row direction. */ protected readonly classCardHorizontal: _angular_core.Signal; static ɵfac: _angular_core.ɵɵFactoryDeclaration; static ɵdir: _angular_core.ɵɵDirectiveDeclaration; } declare class SiCardComponent extends SiCardBaseDirective { /** * Input list of primary action items. Supports up to **4** actions and omits additional ones. * * @defaultValue [] */ readonly primaryActions: _angular_core.InputSignal<(MenuItem | ContentActionBarMainItem)[]>; /** * Input list of secondary action items. * * @defaultValue [] */ readonly secondaryActions: _angular_core.InputSignal<(MenuItem | MenuItem$1)[]>; /** * A param that will be passed to the `action` in the primary/secondary actions. * This allows to re-use the same primary/secondary action arrays across rows * in a table. */ readonly actionParam: _angular_core.InputSignal; /** * The view type of the content action bar of the card. Default is `collapsible` * for dashboards. However, in some cases you might need to change to `expanded` * or `mobile`. * * @defaultValue 'collapsible' */ readonly actionBarViewType: _angular_core.InputSignal; /** * Optional setting of html title attribute for the content action bar. * Helpful for a11y when only one action is configured in expand mode. * * @defaultValue '' */ readonly actionBarTitle: _angular_core.InputSignal; /** * Returns `true` when primary or secondary actions are set. */ readonly displayContentActionBar: _angular_core.Signal; static ɵfac: _angular_core.ɵɵFactoryDeclaration; static ɵcmp: _angular_core.ɵɵComponentDeclaration; } /** * Shared card header used internally by `SiCardComponent`, `SiActionCardComponent`, * and `SiDashboardCardComponent`. Not intended for direct use by consuming applications. * * @internal */ declare class SiCardHeaderComponent { /** The primary title text displayed in the card header. */ readonly heading: _angular_core.InputSignal; /** The secondary title text displayed below the main heading. */ readonly subHeading: _angular_core.InputSignal; /** HTML `id` applied to the heading element, used to associate `aria-labelledby` attributes. */ readonly headingId: _angular_core.InputSignal; /** HTML `id` applied to the sub-heading element, used to associate `aria-labelledby` attributes. */ readonly subHeadingId: _angular_core.InputSignal; /** * Primary action items rendered as buttons in the content action bar. * @defaultValue [] */ readonly primaryActions: _angular_core.InputSignal<(MenuItem | ContentActionBarMainItem)[]>; /** * Secondary action items rendered in the content action bar overflow menu. * @defaultValue [] */ readonly secondaryActions: _angular_core.InputSignal<(MenuItem | MenuItem$1)[]>; /** Optional parameter passed to action item callbacks when an action is triggered. */ readonly actionParam: _angular_core.InputSignal; /** * Controls how the content action bar renders its actions. * @defaultValue 'collapsible' */ readonly actionBarViewType: _angular_core.InputSignal; /** * Accessible title for the content action bar, used as an `aria-label`. * @defaultValue '' */ readonly actionBarTitle: _angular_core.InputSignal; readonly displayContentActionBar: _angular_core.Signal; static ɵfac: _angular_core.ɵɵFactoryDeclaration; static ɵcmp: _angular_core.ɵɵComponentDeclaration; } /** * An action card component that supports actions and selection on native buttons, * and navigation on native anchors. * * **Important:** The `selectable` and `selected` inputs are supported only on button action cards. Do not * use them with an anchor. * * Usage: * as a selectable button card: * `` * * or as an action button card: * `` * * or as a navigation card: * `...` * `...` */ declare class SiActionCardComponent extends SiCardBaseDirective { private static idCounter; private id; /** * Makes a button action card selectable. * * @defaultValue false */ readonly selectable: _angular_core.InputSignalWithTransform; /** * Indicates whether a selectable button action card is selected. * * @defaultValue false */ readonly selected: _angular_core.ModelSignal; protected headingId: string; protected subHeadingId: string; protected contentId: string; static ɵfac: _angular_core.ɵɵFactoryDeclaration; static ɵcmp: _angular_core.ɵɵComponentDeclaration; } declare class SiCardModule { static ɵfac: _angular_core.ɵɵFactoryDeclaration; static ɵmod: _angular_core.ɵɵNgModuleDeclaration; static ɵinj: _angular_core.ɵɵInjectorDeclaration; } export { SiActionCardComponent, SiCardComponent, SiCardHeaderComponent, SiCardModule };